@charset "utf-8";

html{
    overflow-x: hidden;
}

header{
    font-family: "Montserrat", sans-serif;
    font-size: 20px;
    color: #817e7e;
    display: flex;
    align-items: center;
    height: 120px;
    max-width: 80%;
    margin: auto;
    padding: 0 4%;
    justify-content: space-between;
}

.header{
    display: none;
}

header a{
    text-decoration: none;
    color: #817E7E;
}

.gnav ul{
    display: flex;
    gap: 40px;
    align-items: center;
    justify-content: flex-end;
}   

.main{
    display: flex;
    align-items: center;
    position: absolute;
    right: 0;
}

.main-title{
    font-family: "Montserrat", sans-serif;
    color: #817e7e;
    font-size: 40px;
    padding: 100px;
}

.main-title-p{
    display: block;
}

.main-visual{
    width: 1000px;
    height: auto;
    border-top-left-radius: 40px;
    border-bottom-left-radius: 40px;
}

.main-ps{
    display: none;
}

.button{
    background-color: #E0CBCE;
    padding: 15px 75px;
    font-family: "Montserrat", sans-serif;
    font-size: 16px;
    border: 0;
    border-radius: 5px;
    color: #817E7E;
    margin: auto;
    display: inline-block;
    text-decoration: none;
}

.works-button{
    margin: 0 auto;
}

hgroup h2{
    font-family: "Montserrat", sans-serif;
    font-size: 30px;
    color: #817e7e;
    line-height: 160%;
    letter-spacing: 3%;
    font-weight: 400;
}

hgroup p{
    font-family: "Noto Sans JP", sans-serif;
    font-size: 12px;
    color: #D6A7AD;
    line-height: 50%;
    letter-spacing: 3%;
}

hgroup{
    text-align: center;
}

.family-photo{
    width: 20%;
    height: auto;
}

.about-home{
    padding-top: 350px;
    font-family: "Montserrat", sans-serif;
    color: #817E7E;
    
}

.about-title{
    padding-top: 400px;
}

.about-main{
    display: flex;
    align-items: flex-start;
    justify-content: center;
    margin-top: 100px;
    gap: 75px;
}

.about-main p{
    color: #817e7e;
    font-size: 16px;
    line-height: 250%;
    letter-spacing: 3%;
}

.about-button{
    margin-top: 50px;
    margin-right: inherit;
    margin-bottom: 80px;
}

.works{
    text-align: center;
    background-color: #FCF9F9;
    padding: 15px;
    max-width: 80%;
    margin: 0 auto;
    padding-top: 80px;
    padding-bottom: 80px;
    border-radius: 5%;
}

.contact{
    background-image: url(../image/nisa-cokokumus-89aj3qHYUT8-unsplash.jpg);
    background-color: rgb(0,0,0,0.3);
    background-blend-mode: overlay;
    background-repeat: no-repeat;
    background-position: center;
    background-size: cover;
    margin-top: 150px;
    text-align: center;
    padding: 100px 0;
}

.contact-title h2{
    color: #ffffff;
}

.contact-title p{
    color: #ffffff;
    font-family: "Noto Sans JP", sans-serif;
    font-size: 16px;
    line-height: 180%;
    letter-spacing: 3%;
}

.contact-p{
    color: #ffffff;
    text-align: center;
    font-family: "Noto Sans JP", sans-serif;
    font-size: 16px;
    line-height: 160%;
    letter-spacing: 3%;
    padding-top: 30px;
    padding-bottom: 50px;
}

footer{
    display: flex;
    background-color: #BDB9B8;
    color: #ffffff;
    font-family: "Montserrat", sans-serif;
    font-size: 20px;
    height: 150px;
    width: 100%;
    justify-content: center;
    align-items: center;
}

.image-container{
    display: flex;
    max-width: 80%;
    margin: 100px auto 0;
    flex-wrap: wrap;
    justify-content: space-between;
}

.item{
    width: 45%;
    margin-bottom: 60px;
}

.item p{
    text-align: left;
    font-size: 20px;
    color: #817E7E;
    margin-top: 20px;
    font-family: "Noto Sans JP", sans-serif;
}

.contact-button{
    display: inline-block;
    margin: auto;
}

/*ABOUT ページ*/
.about-mainvisual{
    background-image: url(../image/jacalyn-beales-KDg6MX6Wszs-unsplash.jpg);
    background-color: rgb(0,0,0,0.3);
    background-blend-mode: overlay;
    background-repeat: no-repeat;
    background-position: center;
    background-size: 100%;
    height: 250px;
    max-width: 100%;
}

.about-mainvisual h2{
    padding-top: 90px;
    color: #ffffff;
}

.about-mainvisual p{
    padding-bottom: 90px;
    color: #ffffff;
}

.profile h2{
    padding-top: 50px;
}

.profile p{
    padding-bottom: 50px;
}

.about{
    font-family: "Montserrat", sans-serif;
    color: #817E7E;
}

.profile-group{
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 70px;
    max-width: 80%;
    margin: auto;
    padding: 0 4%;
    align-items: flex-start;
    padding-bottom: 100px;
}

.profile-photo{
    width: 25%;
    height: auto;
}

.name{
    font-size: 36px;
    line-height: 1.4;
    letter-spacing: 3%;
}

.name-english{
    font-size: 16px;
    line-height: 1.2;
    letter-spacing: 3%;
    padding-bottom: 15px;
}

.profile-about{
    font-size: 15px;
    line-height: 1.6;
    letter-spacing: 3%;
    padding-bottom: 30px;
}

.designskill-group{
    padding-top: 100px;
    padding-bottom: 50px;
    max-width: 80%;
    margin: auto;
    padding: 0 4%;
    align-items: flex-start;
}

.designskill-level{
    display: flex;
    flex-wrap: wrap;
    font-size: 30px;
    color: #817E7E;
    text-align: center;
    gap: 30px;
    justify-content: flex-start;
    max-width: 800px;
    margin: 35px auto 0;
}

.flex-item{
    padding: 45px 45px;
    background-color: #FCF9F9;
    border-radius: 20px;
    columns: ;
}

/*WORKS ページ*/
.works-mainvisual{
    background-image: url(../image/nature-uninterrupted-photography-v-3NQ3pmWkY-unsplash.jpg);
    background-color: rgb(0,0,0,0.45);
    background-blend-mode: overlay;
    background-repeat: no-repeat;
    background-position: center;
    background-size: 100%;
    height: 250px;
}

.works-mainvisual h2{
    padding-top: 90px;
    color: #ffffff;
}

.works-mainvisual p{
    padding-bottom: 90px;
    color: #ffffff;
}

.list-of-works h2{
    padding-top: 50px;
}

.list-of-works p{
    padding-bottom: 50px;
}

.works-image-container{
    display: flex;
    max-width: 80%;
    margin: 0 auto;
    flex-wrap: wrap;
    justify-content: space-between;
}

.works-item{
    width: 45%;
    margin-bottom: 60px;
}

.works-item p{
    text-align: left;
    font-size: 20px;
    color: #817E7E;
    margin-top: 20px;
    font-family: "Noto Sans JP", sans-serif;
}

/*WORKS詳細ページ*/
.backbutton{
    font-family: "Montserrat", sans-serif;
    font-size: 20px;
    color: #817e7e;
    line-height: 160%;
    letter-spacing: 3%;
    max-width: 80%;
    margin: auto;
    padding: 0 4%;
    padding-top: 50px;
}

.backbutton a{
    text-decoration: none;
}

.works-details h2{
    padding-top: 50px;
}

.works-details p{
    padding-bottom: 50px;
}

.works-details-item{
    max-width: 80%;
    margin: auto;
    padding: 0 4%;
}

.works-details-item p{
    font-family: "Montserrat", sans-serif;
    color: #817e7e;
    line-height: 160%;
    letter-spacing: 3%;
}

.works-title{
    font-size: 20px;
    padding-top: 30px;
}

.works-text{
    font-size: 14px;
    padding-top: 20px;
}

/*CONTACTページ*/
.contact-mainvisual{
    background-image: url(../image/tomoko-uji-kxvn1ogpTtE-unsplash.jpg);
    background-color: rgb(0,0,0,0.45);
    background-blend-mode: overlay;
    background-repeat: no-repeat;
    background-position: bottom;
    background-size: cover;
    height: 250px;
}

.contact-mainvisual h2{
    color: #ffffff;
    padding-top: 90px;
}

.contact-mainvisual p{
    padding-bottom: 90px;
    color: #ffffff;
}

.contact-main-text{
    font-family: "Montserrat", sans-serif;
    font-size: 16px;
    color: #817e7e;
    line-height: 160%;
    letter-spacing: 3%;
    max-width: 80%;
    margin: auto;
    padding: 0 4%;
    padding-top: 50px;
    text-align: center;
}

.contact-box{
    color: #817E7E;
    font-size: 16px;
    padding-top: 30px;
}

.contact-box input{
    background-color: #FCF9F9;
    width: 830px;
    border-radius: 5px;
    border: 0.5px solid #817E7E;
    height: 40px;
}

.contact-box p{
    padding-bottom: 10px;
}

.contact-box textarea{
    background-color: #FCF9F9;
    width: 830px;
    border-radius: 5px;
    border: 0.5px solid #817E7E;
}

.send-botton{
    display: block;
    background-color: #E0CBCE;
    width: 240px;
    color: #817E7E;
    padding-top: 10px;
    padding-bottom: 10px;
    border: 0 solid #E0CBCE;
    border-radius: 5px;
    margin: 50px auto 150px;
    text-align: center;
    font-family: "Montserrat", sans-serif;
}

form{
    width: 830px;
    margin: auto;
}

/*タブレット（768px～1279px）*/
@media (max-width: 1279px) {
   header {
    font-size: 18px;
   } 

   .main{
    display: flex;
    align-items: center;
    position: absolute;
    right: 0;
   }

   .main-visual{
    width: 600px;
   }

   .main-title{
    padding: 100px;
   }

   .name{
    padding-top: 50px;
   }

   .designskill-group{
    padding-top: 100px;
   }
  
   
}

   .profile-photo{
    margin: 0 auto;
   }

/*CONTACTのみ 追加（768～900px*/
@media (max-width: 900px){

   .profile-group{
    display: block;
   }

   .profile-photo{
    margin: 0 auto;
    width: 75%;
   }

    .contact-box input{
        width: 600px;
    }

    .contact-box textarea{
        width: 600px;
    }

    form{
        width: 600px;
    }
}

/*スマホ(～767px)*/
@media (max-width: 767px){
   header{
    font-size: 16px;
   }

   .gnav ul{
    display: none;
   }

   .logo{
    display: none;
   }

   /*.main-title{ 
    display: none;
   }*/

   .header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 0 20px;
    background: #fff;
   }

   .logo {
    font-size: 24px;
   }

 /* ここから下がハンバーガーメニューに関するCSS */
  
 /* チェックボックスを非表示にする */
   .drawer_hidden {
    display: none;
   }

 /* ハンバーガーアイコンの設置スペース */
   .drawer_open {
    display: flex;
    height: 60px;
    width: 60px;
    justify-content: center;
    align-items: center;
    position: relative;
    z-index: 100;/* 重なり順を一番上にする */
    cursor: pointer;
   }

 /* ハンバーガーメニューのアイコン */
   .drawer_open span,
   .drawer_open span:before,
   .drawer_open span:after {
    content: '';
    display: block;
    height: 2.5px;
    width: 25px;
    border-radius: 3px;
    background: #817E7E;
    transition: 0.5s;
    position: absolute;
   }

 /* 三本線の一番上の棒の位置調整 */
   .drawer_open span:before {
    bottom: 8px;
   }

 /* 三本線の一番下の棒の位置調整 */
   .drawer_open span:after {
    top: 8px;
   }

 /* アイコンがクリックされたら真ん中の線を透明にする */
   #drawer_input:checked ~ .drawer_open span {
    background: rgba(255, 255, 255, 0);
   }

 /* アイコンがクリックされたらアイコンが×印になように上下の線を回転 */
   #drawer_input:checked ~ .drawer_open span::before {
    bottom: 0;
    transform: rotate(45deg);
   }

   #drawer_input:checked ~ .drawer_open span::after {
    top: 0;
    transform: rotate(-45deg);
   }
  
 /* メニューのデザイン*/
   .nav_content {
    width: 100%;
    height: 300px;
    position: fixed;
    top: 0;
    left: 100%; /* メニューを画面の外に飛ばす */
    z-index: 99;
    background: #fff;
    color: #817E7E;
    transition: .5s;

   }

 /* メニュー黒ポチを消す */
   .nav_list {
    list-style: none;
    text-align: center;
    margin-top: 100px;
    margin-left: auto;
   }

   a {
    text-decoration: none;
    color: #817E7E;
    font-size: 20px;
    line-height: 3.0;
    text-align: center;
   }

 /* アイコンがクリックされたらメニューを表示 */
   #drawer_input:checked ~ .nav_content {
    left: 0;/* メニューを画面に入れる */
   }

   .main{
    display: none;
   }

   .main-ps{
    display: block;
   }

   .main-title-ps{
    font-family: "Montserrat", sans-serif;
    color: #817e7e;
    font-size: 24px;
    padding-left: 100px;
   }

   .main-visual-ps{
    border-top-left-radius: 40px;
    border-bottom-left-radius: 40px;
    position: absolute;
    top: 170px;
    right: 0;
    width: 450px;
   }

   .about-title{
    padding-top: 350px;
   }

   .about-main{
    display: block;
    text-align: center;
   }

   .family-photo{
    width: 50%;
    height: auto;
    margin: 0 auto;
   }

   .about-p{
    padding-top: 50px;
    margin: 0 auto;
   }

   .works{
    max-width: 100%;
   }

   .image-container{
    display: block;
   }

   .item{
    margin: 50px auto;
    width: 100%;
    height: auto;
   }

   .button{
    padding: 0 75px;
   }

   .profile-group{
    display: block;
    padding-bottom: 0;
   }

   .profile-photo{
    margin: 0 auto;
    width: 100%;
   }

   .name{
    text-align: center;
    font-size: 30px;
    padding-top: 50px;
   }

   .name-english{
    text-align: center;
    font-size: 16px;
    padding-bottom: 30px;
   }

   .profile-about{
    font-size: 12px;
   }

   .designskill-title{
    text-align: center;
    
   }

   .designskill-level{
    justify-content: center;
    font-size: 20px;
   }

   .works-image-container{
    display: block;
   }

   .works-item{
    margin: 0 auto;
    width: 100%;
   }

   .works-item p{
    margin-top: 0;
    margin-bottom: 50px;
   }

   .backbutton{
    position: absolute;
    top: 350px;
    left: 50px;
   }

   .works-details{
    padding-top: 80px;    
   }
   .works-details-item{
    padding-top: 20px;
   }

   .contact-main-text{
    font-size: 14px;
   }

   .contact-box p{
    font-size: 14px;
   }

   .contact-box input{
    width: 350px;
   }

   .contact-box textarea{
    width: 350px;
   }

   form{
    width: 350px;
   }

   .hgroup h2{
    font-size: 25px;
   }

   .about{
    padding-top: 100px;
   }

   .about-home{
    padding-top: 50px;
   }
}   

