@charset "UTF-8";


html,body,h1,h2,h3,ul,li,dl,dt,dd,p{
    margin: 0;
    padding: 0;
    line-height: 1;
}


body{
    font-family: "Hiragino Kaku Gothic Pro",  Meiryo, sans-serif;
    color: #444;
}

li{
    list-style-type: none;
}

a{
    text-decoration: none;
    color:inherit;
}

img{
    max-width: 100%;
    vertical-align: bottom;
}

/* reset and initial */

header{
    position: relative;
}

header .logo{
    background-color: rgba(255, 255, 255, 0.8);
    position: absolute;
    width: 280px;
    /* height: 60px; */
    top: 100px;
    z-index: 1;
    padding: 20px 20px;
}

header .logo h1{
    /* padding: 0 0 5px 20px; */
    /* font-family: 'Cormorant Garamond', serif; */
    font-family: 'Noto Serif JP', serif;
    /* font-style: italic; */
    font-size: 40px;
    color: #8dbcd2;
    /* width: 120px; */
    margin-bottom: 10px;
    /* text-align: center; */
}

header .logo .digest{
    font-family: 'Cormorant Garamond', serif;
    font-style: italic;
    font-weight: 300;
    font-size: 24px;
}

/*-----------------------------------------
    main_image setting
------------------------------------------*/
.main_image{
    margin-bottom: 40px;
}

.main_image li{
    width: 100%;
    height: 100vh;
}

.main_image img{
    object-fit: cover;
    width: 100%;
    height: 100%;
    /* background-size: cover; */
}


/*-----------------------------------------
    nav.sp setting
------------------------------------------*/
nav.sp{
    font-family: 'Cormorant Garamond', serif;
    position: fixed;
    top: 60px;
    left: 0;
    width: 100%;
    height: 100vh;
    background-color: rgba(119, 119, 119, 0.6);
    margin-bottom: 20px;
    /* display: none; */
    transform: translateX(100%);
    transition: 0.3s;
    z-index: 3;
}

nav li{
    line-height: 50px;
    text-align: center;
    background-color: rgba(63, 62, 62, 0.5);
}

nav a{
    display: block;
    color: #eee;
    letter-spacing: 0.1em;
}

nav.drawer{
    transform: translateX(0);
}

nav.pc{
    display: none;
}


/*-----------------------------------------
    burger menu setting
------------------------------------------*/
#burger {
    width: 40px;
    height: 40px;
    position: fixed;
    /* position: absolute; */
    top: 15px;
    right: 20px;
    cursor: pointer;
    z-index: 2;
  }
  
#burger span {
    display: block;
    position: absolute;
    width: 100%;
    transition: .4s;
    top: 0;
    left: 0;
    border-top: 1px solid #333;
}

#burger span:nth-child(2) {
    top: 25%;
}

#burger span:nth-child(3) {
    top: 50%;
}

#burger span:nth-child(4) {
    text-align: center;
    top: 75%;
    font-size: 11px;
    border: none;
  }
  
#burger.active > span:nth-child(1) {
    top: 25%;
    transform: rotate(-45deg);
  }
  
#burger.active > span:nth-child(2) {
    opacity: 0;

  }
  
#burger.active > span:nth-child(3) {
      top: 25%;
    transform: rotate(45deg);
  }


/*-----------------------------------------
    main setting
------------------------------------------*/
.container{
    max-width: 960px;
    margin: 0 auto;
}

.main{
    padding: 0 10px;

}


/*-----------------------------------------
    box setting
------------------------------------------*/
.box{
    margin-bottom: 100px;
}

.box>h2{
    font-family: 'Cormorant Garamond', serif;
    font-size: 40px;
    text-align: center;
    color: #8dbcd2;
    /* padding: 15px 0 15px 20px; */
    /* border-left: 5px solid #333; */
    /* background-color: #eee; */
    margin-bottom: 30px;
}

.fadeIn {
    transition: 1s;
    opacity: 0;
  }
  
  .fadeIn.animated {
    opacity: 1;
  }

/*-----------------------------------------
    concept setting
------------------------------------------*/
.concept-txt{
    padding: 0 16px;
    line-height: 1.8;
    margin-bottom: 30px;
}

.box .profile-photo{
    text-align: center;
}

.box .profile-photo>img{
    width: 70%;
    margin-bottom: 16px;
}


.box h3.profile{
    font-family: 'Cormorant Garamond', serif;
    font-size: 28px;
    text-align: center;
    color: #8dbcd2;
    margin-bottom: 20px;
}

/* .box .txt{
    padding: 0 16px;
} */

.box .txt dl{
    font-size: 14px;
    padding: 0 16px;
    margin-bottom: 40px;
}

.box .txt dt{
    float: left;
    line-height: 2.0;
    padding-right: 16px;
    margin-bottom: 6px;
}

.box .txt dd{
    overflow: hidden;
    line-height: 2.0;
    margin-bottom: 6px;
}

.box .txt p{
    font-size: 14px;
    /* padding: 0 16px; */
    line-height: 1.8;
    margin-bottom: 16px;
}


/*-----------------------------------------
    contents setting
------------------------------------------*/
.box .item{
    /* display: flex; */
    /* justify-content: space-between; */
    margin-bottom: 50px;
}

.box .item h3{
    font-size: 15px;
    margin-bottom: 8px;
}

.box .item .photo{
    margin-bottom: 20px;
}

.box .item .txt p{
    line-height: 1.7;
    font-size: 14px;
}

/*-----------------------------------------
    photo_image grid setting
------------------------------------------*/
ul.grid_image{
    display: grid;
    grid-template-columns: repeat(2,1fr);
    /* spの場合の列数を2カラムに設定 */        
    grid-auto-rows: 80px;
    /* spの場合の行の高さを80pxに設定 */        
    gap: 15px;
    /* イメージ間のギャップ7pxに設定（任意のピクセル数で大丈夫） */
    margin-bottom: 20px;
}

ul.grid_image li{
    background-color: #ff0;
    overflow: hidden;
}

.grid_img1{
    grid-row: 1/4;
}

.grid_img4{
    grid-row: 3/5;
}

.grid_img6{
    grid-row: 5/7;
}

ul.grid_image li img{
    width: 100%;
    height: 100%;
    object-fit: cover;
    /* 画像の幅、高さを100%、object-fitで余計のはみ出しをトリミング */
}


footer{
    background-color: #8dbcd2;
}

footer>p{
    text-align: center;
    line-height: 250px;
    color: #fff;
}

#toTop{
    position: fixed;
    right: 5%;
    bottom: 50px;
    width: 60px;
    height: 60px;
    background-color: #e7f0fd;
    color: #333;
    font-family: 'Cormorant Garamond', serif;
    border-radius: 50%;
    text-align: center;
    line-height: 60px;
    font-size: 14px;
    display: none;
    cursor: pointer;
}


/* ----- PC setting 768px以上の時 ------------------------------------------------------------ */


@media screen and (min-width:768px) {
/*-----------------------------------------
    header setting
------------------------------------------*/

    header .logo{
        background-color: rgba(255, 255, 255, 0.8);
        width: 440px;
        height: 200px;
        padding: 30px 0 30px 50px;
        box-sizing: border-box;
        top: 0;
        bottom: 0;
        margin: auto;
    }

    header .logo h1{
        /* padding:0 0 7px 20px; */
        font-size: 72px;
    
    }

    header .logo .digest{
        font-size: 32px;
    }


/*-----------------------------------------
    nav setting
------------------------------------------*/

    nav.sp{
        display: none;
    }

    nav.pc{
        font-family: 'Cormorant Garamond', serif;
        font-size: 22px;
        position: sticky;
        top:0;
        left:0;
        height: auto;
        background-color: #e7f0fd;
        display: block;
        /* display: block !important; */
        margin-bottom: 160px;
        z-index: 1;
    }

    nav ul{
        display: flex ;
        justify-content:end;
    }

    nav li{
        width: 20%;
        line-height: 60px;
        background-color: transparent;
    }
    
    nav a{
        color: #333;
        transition: 0.4s;
    }

    nav a:hover{
        background-color: #8dbcd2;
        color: #fff;
    }


/*-----------------------------------------
    burger setting
------------------------------------------*/

    #burger{
        display: none;
    }


/*-----------------------------------------
    .main_image setting
------------------------------------------*/

    .main_image{
        margin-bottom: 0;
    }

    .box>h2{
        font-family: 'Cormorant Garamond', serif;
        font-size: 60px;
        margin-bottom: 60px;
    }

    .concept-txt{
        text-align: center;
        line-height: 2.2;
        margin-bottom: 100px;
    }

    .box .my-profile{
        display: flex;
    }
    
    .box h3.profile{
        font-size: 40px;
    }

    .box .txt{
        width: 50%;
    }

/*-----------------------------------------
    contents setting
------------------------------------------*/
.box .item{
    /* display: flex; */
    /* justify-content: space-between; */
    position: relative;
    margin-bottom: 50px;
    overflow: hidden;
}

.box .item h3{
    font-size: 18px;
    margin-bottom: 8px;
}

.content ul{
    display: flex;
    flex-wrap: wrap;
    justify-content: space-between;
}

.content li{
    width: 300px;
}

.box .item .photo{
    margin-bottom: 0;
}

.box .item .txt p{
    font-size: 16px;
}

/*-----------------------------------------
    contents hover setting
------------------------------------------*/
.content .item .txt {
    width: 300px;
    height: 140px;
    background-color: #3c748edd;
    color: #fff;
    padding: 16px;
    box-sizing: border-box;
    position: absolute;
    bottom: -140px;
    left: 0;
    transition: 0.5s;
}

.content .item:hover .txt{
    bottom: 0;
}


/*-----------------------------------------
    photo_image grid setting
------------------------------------------*/

    ul.grid_image{
        grid-template-columns: repeat(4,1fr);
        /* pcの場合の列数を4カラムに設定 */
        grid-auto-rows: 150px;
        /* pcの場合の行の高さを150pxに設定 */
    }

    .grid_image li{
        overflow: hidden;/* transform: scale;をするとはみ出てしまうので、liからはみ出ないようにする */
    }

    .grid_image li img{
        transition: .3s;
    }

    .grid_image li img:hover{
        transform: scale(1.2);/* 写真が大きくなる：初期値1 */
    }

    .grid_img3{
        grid-column: 3/5;
    }
    
    .grid_img4{
        grid-row: 2/3;
    }
    
    .grid_img6{
        grid-column: 4/5;
        grid-row: 2/4;
    }
    
}/* media-end */