﻿/*===============================

	ホーム
	index.css

================================*/

#DivFirstView {
    height: 95vh;
}
/*　home写真　*/
.firstview-photo {
    position:relative;
    z-index:300;
    padding-right:0;
    display:flex;
    justify-content:end;
}
.index-photo {
    /*margin-left: 7%;*/
    animation: photoAnimation 3s;
    width: 93%;
    height: 83vh;
    overflow: hidden;
}
.index-photo img{
    width:100%;
    height:auto;
    transform: scale(1.05);
    animation: zoomIn 5s ease-in-out;
    object-fit:cover;
}
.overlay {
    position: absolute;
    width: 93%;
    height: auto;
    background: linear-gradient(to bottom, rgba(0,0,0,0), rgba(0,0,0,0.5));
}
@keyframes photoAnimation {
    0% {
        opacity:0;
    }
    100% {
        opacity: 1;
    }
}
@keyframes zoomIn {
    0% {
        transform: scale(1);
    }
    100% {
        transform: scale(1.05);
    }
}
/* 緑背景色 */
.firstview {
    position: absolute;
    z-index: 100;
    left: 0;
    width: 100%;
    transform-origin: right bottom;
    animation: slideinRight 2.5s;
    transform:scaleX(1);
}
.deco1 {
    bottom: 0;
    height: 18rem;
    background-color: #008267;
}
.deco2 {
    bottom: 18rem;
    height: 4.5rem;
    background-color: #0a6250;
}
@keyframes slideinRight {
    0% {
        transform: scaleX(0);
    }

    100% {
        transform: scaleX(1);
    }
}
/* 写真 */
.content-image1 {
	margin-top: 2vw;
	margin-left: 0vw;
	width: 22vw;
	height: 22vw;
	box-shadow: 0 10px 10px 0 rgba(0, 0, 0, .5);
}
.content-image1 img {
	width: 22vw;
}
.content-image2 {
	margin-top: -15vw;
	margin-left: 18vw;
	box-shadow: 0 10px 10px 0 rgba(0, 0, 0, .5);
	width: 15vw;
	height: 15vw;
    margin-bottom:5vw;
}
.right.grid .contents {
    display: grid;
    grid-template-columns: 50% 50%;
    grid-template-rows: 50% 50%;
}
.content-image2 img {
    width: 19vw;
}
.link-image {
    position: relative;
    margin: 0.4vw auto;
    width: 14vw;
    height: 14vw;
    overflow: hidden;
    box-shadow: 0 10px 10px 0 rgba(0, 0, 0, .5);
    transition: 0.5s;
}
.link-image img {
    width: 14vw;
    height: 14vw;
    filter:brightness(50%);
    transition:0.5s;
}
.link-image p{
    position:absolute;
    left:33%;
    top:45%;
    font-size:1.2vw;
    letter-spacing:2px;
    margin:0;
    color:#ffffff;
    mix-blend-mode:lighten;
    transition:0.5s;
    z-index:100;
    cursor:pointer;
}
.link-image:nth-child(3) p{
    left:23%;

}
.link-image:hover{
    box-shadow: 0 10px 25px 0 rgba(0, 0, 0, .1);
}
.link-image:hover img{
    filter:brightness(100%);
    transform: scale(1.2);
}
.link-image:hover p{    
    color:#000000;
    mix-blend-mode:normal;
}
/*　スクロール　*/
.scroll a {
    color: #fff;
}
.scroll a::before {
    background: rgba(255, 255, 255, 0.4);
}
.scroll a::after {
    background: rgba(255, 255, 255, 0.8);
}
/*---------------------------------------*/
/*               スマホ　     　　       */
/*---------------------------------------*/
@media screen and (min-width:320px ) and (max-width:1079px) {

    /* 写真 */
    .content-image1 {
        margin-top: 2vw;
        margin-left: 10vw;
        width: 45vw;
        height: 45vw;
        box-shadow: 0 5px 5px 0 rgba(0, 0, 0, .2);
    }
    .content-image1 img {
        width: 45vw;
    }
    .content-image2 {
        margin-top: -27vw;
        margin-left: 45vw;
        box-shadow: 0 5px 5px 0 rgba(0, 0, 0, .2);
        width: 35vw;
        height: 35vw;
    }
    .content-image2 img {
        width: 35vw;
    }
    .link-image {
        position: relative;
        margin: 0.4vw auto;
        width: 35vw;
        height: 35vw;
        overflow: hidden;
        box-shadow: 0 5px 5px 0 rgba(0, 0, 0, .2);
        transition: 0.5s;
        margin-bottom:5vw;
    }
    .link-image img {
        width: 35vw;
        height: 35vw;
        filter:brightness(50%);
        transition:0.5s;
    }
    .link-image p{
        font-size:3.5vw;
        left:30%;
    }
    .link-image:nth-child(3) p{
        left:18%;
    }
    .link-image:nth-child(4) p{
        left:20%;
    }
    .link-image:hover{
        box-shadow: 0 10px 25px 0 rgba(0, 0, 0, .1);
    }
    .link-image:hover img{
        filter:brightness(100%);
        transform: scale(1.2);
    }
    .link-image:hover p{    
        color:#000000;
        mix-blend-mode:normal;
    }
    .index-photo {
        animation: photoAnimation 3s;
        width: 90%;
        height: 78vh;
        overflow: hidden;
     }
    .index-photo img{
        /*width:auto;*/
        height:100%;
        transform: scale(1.05);
        animation: zoomIn 5s ease-in-out;
        object-fit:cover;
    }
    .overlay {
        position: absolute;
        width: 90%;
        height: 78vh;
        background: linear-gradient(to bottom, rgba(0,0,0,0), rgba(0,0,0,0.5));
    }
}

/*---------------------------------------*/

/*               PC     　　       */

/*---------------------------------------*/

@media screen and (min-width:1080px ) {
}