@charset "utf-8";
.wrap:has(#atelier){
    width: 100%;
    padding: 0;
}
#atelier img{
    width: 100%;
    display: block;
}
#atelier p{
    line-height: 2;
    font-size: 1.6rem;
}
#atelier .container{
    width: 100%;
    max-width: 1024px;
    padding: 40px;
    margin: 20px auto;
    box-sizing: border-box;
}
#atelier .col2{
    display: grid;
    grid-template-columns: repeat(2,1fr);
    gap: 4rem;
}
#atelier a.btn{
    padding: 1rem 2rem;
    border: 1px solid #000;
    text-decoration: none;
    color: #000;
    border-radius: 50px;
    display: block;
    width: fit-content;
    margin: 0 auto;
}
#atelier a.btn:hover{
    color: #fff;
    background-color: #000;
    transition: all .3s ease-out;
}
#atelier h2.ttl{
    font-size: clamp(24px,4.6vw,64px);
    font-weight: bold;
    line-height: 1.5;
    text-align: center;
    letter-spacing: 1px;
}
#atelier h3.ttl{
    font-size: clamp(18px,2.5vw,32px);
    font-weight: bold;
    line-height: 1.5;
    text-align: center;
    letter-spacing: 1px;
}
#atelier .staggered_wrap{
    display: flex;
    flex-direction: row-reverse;
    position: relative;
    gap: 1.5rem;
}
#atelier .staggered_wrap .box_right{
    width: 66%;
}
#atelier .staggered_wrap .box_left{
    flex: 1;
}
#atelier .block_layout{
    display: grid;
    gap: 4px;
    grid-template-columns: repeat(3,1fr);
}
#atelier .block_layout .box_left{
    display: grid;
    grid-template-columns: repeat(1,1fr);
    gap: 4px;
}
#atelier .block_layout .box_middle{
    display: grid;
    grid-template-columns: repeat(1,1fr);
    gap: 4px;
}
#atelier .block_layout .box_right{
    display: grid;
    grid-template-columns: repeat(1,1fr);
    gap: 4px;
}
#atelier #fv{
    position: relative;
    height: 100vh;
}
#atelier #fv video{
    width: 100%;
    height: 100vh;
    object-fit: cover;
    display: block;
}
#atelier .overRay{
    width: 100%;
    height: 100%;
    background-color: #000;
    opacity: 0.6;
    position: absolute;
    display: block;
    top: 0;
    left: 0;
}
#atelier #fv .container{
    position: absolute;
    top: 0;
    left: 0;
    max-width: 100%;
    width: 100%;
    padding: 0;
    margin: 0;
    height: 100%;
}
#atelier #fv .container .container_in{
    position: absolute;
    top: 50%;
    left: 0;
    transform: translateY(-50%);
    box-sizing: border-box;
}
#atelier #fv .container .container_in_txt{
    padding: 0 8vw;
    box-sizing: border-box;
}
#atelier #fv .container .container_in .logo{
    width: 12rem;
}
#atelier #fv .container .container_in h1,
#atelier #fv .container .container_in p{
    color: #fff;
}
#atelier #fv .container .container_in h1{
    font-size: clamp(32px,8vw,128px);
    line-height: 1.3;
    margin: 1.5rem 0;
    font-weight: normal;
}
#atelier #fv .container .container_in p{
    font-size: clamp(14px,5vw,24px);
    margin: 0;
}
#atelier #intro{
position: relative;
    width: 100%;
    /* 150vh〜200vhにすることで、テキストが止まっている時間を確保します */
    min-height: 200vh; 
    padding: 0 4rem;
    box-sizing: border-box;
}
#atelier .sticky_img {
position: absolute; /* 画面固定ではなく、セクションに張り付く */
    top: 0;
    left: 0;
    width: 100%;
    height: 100%; /* 親の高さ(180vh)いっぱいに広がる */
    z-index: 1;
}
#atelier .sticky_img_imgwrap{
position: relative; /* 固定を解除 */
    width: 100%;
    height: 100%;
}
#atelier .sticky_img_imgwrap img{
position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    object-fit: cover; /* 背景として流れるよう全画面カバー */
}
#atelier #intro .overRay{
    z-index: 2;
}
#atelier .sticky_txt{
max-width: 800px;
    position: sticky; 
    top: 15rem; /* ヘッダーの下の、止めたい位置 */
    z-index: 3;
    color: #fff;
    margin: 0 auto;
    /* 画面中央付近に配置するための設定 */
    height: calc(100vh - 15rem); 
    display: flex;
    align-items: center; /* 垂直中央 */
    justify-content: center;
}
#atelier .sticky_txt .sticky_txt_in{
    line-height: 2;
    font-size: 1.5rem;
    text-align: center;
}
#atelier .sticky_txt .sticky_txt_in p{
    font-size: clamp(14px,5vw,24px);
}
#atelier #section3{
    position: relative;
    height: 100vh;
}
#atelier #section3 video{
    width: 100%;
    height: 100vh;
    object-fit: cover;
    display: block;
}
#atelier #section3 .container{
    position: absolute;
    top: 0;
    left: 0;
    max-width: 100%;
    padding: 0;
    margin: 0;
    height: 100%;
}
#atelier #section3 .container .container_in{
    position: absolute;
    top: 50%;
    left: 50%;
    width: 100%;
    transform: translate(-50%,-50%);
    padding: 0 40px;
    box-sizing: border-box;
}
#atelier #section3 .container .container_in p{
    color: #fff;
    text-align: center;
    margin: 2rem 0;
    font-size: 2.4rem;
}
#atelier .reveal-mask{
    overflow: hidden;    /* はみ出た部分（下の位置にいるテキスト）を隠す */
    line-height: 1.2;    /* 文字が隠れきるように調整 */
    height: auto;
}
#atelier .js-slide-up {
    display: block;      /* transformを効かせるために必要 */
    line-height: 1.5;
}
#atelier #section4 .col2,
#atelier #section10 .col2{
    text-align: center;
}
#atelier #section7{
    padding: 13rem 4rem;
    min-height: 150vh;
    position: relative;
    width: 100%;
    box-sizing: border-box;
}
#atelier #section7 .overRay{
    z-index: 2;
}

@media screen and (max-width:767px) {
    #atelier #fv .container .container_in .logo{
        width: 6rem;
    }
    #atelier .col2{
        grid-template-columns: repeat(1,1fr);
        gap: 3rem;
    }
    #atelier .staggered_wrap{
        display: block;
    }
    #atelier .staggered_wrap .box_right{
        width: 100%;
        margin-bottom: 3rem;
    }
    #atelier .block_layout{
        grid-template-columns: repeat(1,1fr);
    }
    #atelier .block_layout .box_left,
    #atelier .block_layout .box_middle,
    #atelier .block_layout .box_right{
        grid-template-columns: repeat(2,1fr);
    }
}
@media screen and (max-width:480px) {
    #atelier .block_layout .box_left,
    #atelier .block_layout .box_middle,
    #atelier .block_layout .box_right{
        grid-template-columns: repeat(1,1fr);
    }
}