*{
    box-sizing: border-box;
}
html{
    font-size: 62.5%;
}
body{
    color: #272d25;
    background-color: #fffefc;
    font-family: "Zen Kaku Gothic New", sans-serif;
    font-weight: 500;
    font-size: 1.6rem;
    line-height: 1.5;
    -webkit-text-size-adjust: 100%;
    height: 100dvh;
}
body.no-scroll{
    overflow: hidden;
}
img{
    max-width: 100%;
    width: 100%;
    vertical-align: bottom;
}




/* スマホ用css -----------------------------------------*/



/* -----------wrapper------------ */
.wrapper{
    width: 100%;
    margin: 0 auto;
    /* padding: 0 5.681%; */
    position: relative;
    height: 100dvh;
}

/* -----------矢印----------- */
.up_arrow{
    width: 35px;
    position: absolute;
    left: 50%;
    top: 30px;
    transform: translateX(-50%);
    z-index: 3;
}
.down_arrow{
    width: 35px;
    position: absolute;
    left: 50%;
    bottom: 30px;
    transform: translateX(-50%);
    z-index: 3;
}
/* -----------.gray-overlay----------- */
.gray-overlay{
    position: fixed;
    top: 0;
    left: 0;
    width: 1px;
    height: 100%;
    opacity: 0;
    background-color: #ededed;
    z-index: 2;
    transition: 0.3s;
    /* display: none; */
}
.gray-overlay.is-active{
    width: 100%;
    opacity: 0.45;
    display: block;
}


/* -----------------ハンバーガーメニュー---------------- */

/* ハンバーガーメニュークリック前 */
/* クリックエリアと位置を指定 ---------------------- */
.btnHamburger {
    width: 30px; /* クリックエリアの横幅*/
    height: 20px; /* クリックエリアの高さ*/
    z-index: 7;
    position: fixed;
    top: 40px;
    right: 40px;
}
  
/* 3本線の1本ごとに共通するスタイルを指定 ---------------------- */
.btnHamburger .line {
    position: absolute;
    top: 0;
    right: 0;
    display: block;
    width: 20px; /* 横幅 */
    height: 2px; /* 1本辺りの高さ */
    background: #000; /* 線の色 */
  
    /* 適用するプロパティ、変化する時間、変化する速度 */
    transition: 0.3s;
}
  
  /* 3本線の各線の位置を指定 ---------------------- */
    .btnHamburger .line_01 { top: 0; }
    .btnHamburger .line_02 { top: 8px; }
    .btnHamburger .line_03 { top: 16px; }
  
  /* #coverlayer01クリック前 */
    #coverlayer01{
        position: fixed;
        top: 0;
        right: 0;
        bottom: 0;
        width: 1px;
        background: #fffefc;
        opacity: 0;
        transition: 0.5s;
        z-index: 6;
    }
  
  /* navクリック前 */
    nav{
        position: fixed;
        top: 0;
        right: -100%;
        width: 100%;
        opacity: 0;
        transition: 0.5s;
        z-index: 6;
        max-height: 100dvh; /* 画面全体の高さに制限 */
        overflow-y: scroll;
        -webkit-overflow-scrolling: touch;
    }
  
  
  /* ハンバーガーメニュークリック後 */
  
  /* 最上部の線のスタイル ---------------------- */
    .btnHamburger.is-active .line_01 {
        top: 8px; /* 上から2番目の線の位置に変更 */
    /* 線を45度回転 */
    transform: rotate(45deg);
    }
  
  /* 上から2番目の線のスタイル ---------------------- */
    .btnHamburger.is-active .line_02 {
    opacity: 0; /* 不透明度を下げて線を消す */
    }
  
  /* 最下部の線のスタイル ---------------------- */
    .btnHamburger.is-active .line_03 {
        top: 8px; /* 上から2番目の線の位置に変更 */
  
    /* 線を135度回転 */
    transform: rotate(135deg);
    }
  
  /* #coverlayer01クリック後 */
    #coverlayer01.is-active{
        width: 100%;
        opacity: 1;
    }
  
  
  /* navクリック後 */
    nav.is-active{
        right: 0;
        opacity: 1;
    }



    /* ----------ナビゲーション----------- */
    nav .nav_logo{
        width: 50%;
        max-width: 220px;
        margin: 60px auto  60px;
    }
    nav ul{
        text-align: center;
        font-size: 2rem;
        font-weight: 400;
    }
    nav a{
        text-decoration: none;
        display: block;
        color: #272d25;
    }
    nav ul li a{
        border-bottom: 1px solid #d9d9d9;
        padding: 20px 0;
        margin: 0 auto;
        width: 61.363%;
        max-width: 270px;
        
    }
    nav ul li:last-child a{
        margin-bottom: 60px;
    }
    /* -SNS/mailアイコン- */
    .nav_sns_icon{
        display: flex;
        justify-content: space-between;
        align-items: center;
        width: 18.181%;
        min-width: 60px;
        max-width: 80px;
        margin: 0 auto 35px;
    }
    .nav_sns_icon a{
        color: #272d25;
    }
    .insta i{
        font-size: 3rem;
    }
    .mail i{
        font-size: 2.6rem;
    }
    /* --NAV/リンクボタン-- */
    .nav_hp_btn{
        font-size: 2rem;
        text-align: center;
        margin-bottom: 50px;
        line-height: 2rem;
    }
    .nav_hp_btn i{
        font-size: 1.6rem;
        border: 1px solid #272d25;
        border-radius: 50%;
        padding: 3px;
        margin-left: 10px;
    }
    /* --NAV/言語切り替え-- */
    .nav_lang-switcher{
        font-size: 2rem;
        font-weight: 700;
        display: flex;
        justify-content: space-between;
        width: 34.090%;
        min-width: 120px;
        max-width: 150px;
        margin: 0 auto 60px;
    }
    
    html[lang="ja"] .nav_lang-switcher .en_switch a,html[lang="ja"] .nav_lang-switcher .de_switch a,html[lang="ja"] .nav_lang-switcher .fr_switch a{
        color: #959595;
    }
    html[lang="en"] .nav_lang-switcher .ja_switch a,html[lang="en"] .nav_lang-switcher .de_switch a,html[lang="en"] .nav_lang-switcher .fr_switch a{
        color: #959595;
    }
    html[lang="de"] .nav_lang-switcher .ja_switch a,html[lang="de"] .nav_lang-switcher .en_switch a,html[lang="de"] .nav_lang-switcher .fr_switch a{
        color: #959595;
    }
    html[lang="fr"] .nav_lang-switcher .ja_switch a,html[lang="fr"] .nav_lang-switcher .en_switch a,html[lang="fr"] .nav_lang-switcher .de_switch a{
        color: #959595;
    }




/* --------------スライドコンテンツ------------ */
    /* .slidelayerクリック前 */
    .slidelayer{
        position: fixed;
        top: 0;
        left: 0;
        bottom: 0;
        width: 1px;
        background: #fffefc;
        opacity: 0;
        transition: 0.5s;
        z-index: 5;
    }
    /* #coverlayer01クリック後 */
    .slidelayer.is-active{
        width: 70%;
        opacity: 1;
    }

      /* .slideクリック前 */
      .slide{
        position: fixed;
        top: 0;
        left: -100%;
        width: 70%;
        opacity: 0;
        transition: 0.5s;
        z-index: 5;
        height: 100%;
        overflow-y: auto;
        padding: 40px 5.681% 50px;

        /* スクロールバー非表示（でもスクロールはできる！） */
        scrollbar-width: none; /* Firefox用 */
        -ms-overflow-style: none; /* IE/Edge用 */
    }
    .slide::-webkit-scrollbar {
        display: none; /* Chrome/Safari用 */
      }

    /* .slideクリック後 */
    .slide.is-active{
        left: 0;
        opacity: 1;
        
    }

/* --------------メイン写真------------ */
.img-frame{
    width: 100%;
    height: auto;
    overflow: hidden;
    
}
figure{
    width: 93.181%;
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
}

/* タップズーム */
.zoomable {
    transition: transform 0.5s;
  }
figure .zoomed {
    transform: scale(2.5) ;
}


/* --------------作品タイトル・詳細ボタン------------ */
h1{
    margin: 30px 0 0;
    font-weight: 700;
    width: max-content;
}
.details{
    text-decoration: none;
    color: #272d25;
    font-size: 1.4rem;
    z-index: 4;
    width: max-content;
}
/* --CLOSEボタン-- */
.close_btn{
    display: block;
    text-align: right;
    margin: 0 0 40px auto;
    text-decoration: none;
    color: #272d25;
    width: max-content;
    line-height: 1;
}
/* --スライドタイトル・日付-- */
.flex_title{
    display: flex;
    align-items: flex-end;
    gap: 7.751%;
    margin-bottom: 30px;

}
h2{
    font-size: 2rem;
    font-weight: 700;
}
.date{
    color: #959595;
}

/* --作品コンセプト-- */
.concept{
    font-size: 1.4rem;
    margin-bottom: 50px;
}
.concept_cap{
    margin-bottom: 10px;
}
.concept p{
    margin-bottom: 15px;
}
.concept p:last-of-type{
    margin-bottom: 0;
}


/* --作品詳細情報-- */
.flex_cap{
    display: flex;
    gap: 15px;
    margin-bottom: 20px;
    align-items: baseline;
}
.slide .flex_cap:first-of-type,.slide .flex_cap:last-of-type{
    align-items: baseline !important;
}
.flex_cap p{
    color: #959595;
}
.flex_cap .mail {
    text-decoration: none;
    color: #959595;
}


  
  






  

/* TB用css -----------------------------------------*/

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


/* -----------.slidelayer------------ */
.slidelayer.is-active{
    width: 77%;
}

figure{
    width: 95.203%;
    max-width: 780px;
    /* position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%); */
}

h1{
    font-size: 1.8rem;
}
.details{
    font-size: 1.6rem;
}
.slide{
    width: 77%;
    padding: 40px 7.194% 100px;
}

/* --CLOSEボタン-- */
.close_btn{
    margin: 0 0 80px auto;
}
}
/* --作品情報-- */



    



/* PC用css -----------------------------------------*/
@media screen and (min-width:960px){
    .wrapper{
        padding: 0;
    }
    figure{
        width: 62.5%;
        min-width: 600px;
        max-width: 1100px;
        /* display: flex; */
        align-items: flex-end;
        justify-content: center;
        gap: 2.083%;
        position: absolute;
        top: 50%;
        left: 50%;
        transform: translate(-50%, -50%);
    }
    figure .img-frame{
        width: 100%;
        order: 2;
    }
    .text-box{
        order: 1;
        margin: -51px 0 0 -150px;
    }
    h1{
        /* margin: -50px  0 20px 2.343%; */
        margin-top: 0;
    }

    .slidelayer.is-active{
        width: 40%;
        max-width: 700px;
        /* width: 680px; */
    }
    .slide{
        width: 40%;
        max-width: 700px;
        /* width: 680px; */
        padding: 80px 4.166% 100px;
    }
}





/* PC環境のみhover-----------------------------------------*/
@media (hover: hover) and (pointer: fine) {
    .zoomable{
        transition: transform 0.5s;
    }
    .zoomable:hover{
        margin-bottom: 0;
        transform: scale(2.5);
    }
}