@charset "utf-8";

html {
    --primary-white: #F8F7F7;
}

/*==========================================================
 common 
 ==========================================================*/

/* header nav btn */
/* footer nav btn*/
.navItem:first-of-type .btn::after,
.footerNavItem:first-of-type::after {
    content: "";
    display: block;
    width: 100%;
    height: 2px;
    background-color: var(--primary-white2);
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    left: 0;
}
.footerNavItem:first-of-type::after {
    background-color: var(--primary-white);
}

.navItem:first-of-type .active::after {
    height: 6px;
    background-color: var(--primary-white);
}
.backColor {
    background: var(--primary-black-gradation);
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
    z-index: -1;
}
  

/* =======================================================
fv
======================================================= */

.mainVisualContents {
    display: flex;
    justify-content: space-between;
    padding: 8.8vw 3.5vw 2.8vw 2.1vw;
    margin-bottom: 0;
    flex-direction: column;
}


.fvPhoto {
    width: 31.2vw;
}
/* .mainTitle img {
    width: 43.1vw;
} */
 .mainTitleK span{
    color: var(--primary-white);
    font-family: "Anton";
    font-size: 21vw;
 }
 .mainTitleK span:nth-of-type(2) {
    letter-spacing: 0.8vw;
 }
 .mainTitleK span:nth-of-type(3) {
    letter-spacing: 1.04vw;
 }

 .mainTitleUnder {
     display: flex;
     justify-content: space-between;
     margin-top: 0.7vw;
 }
 .mainTitleS {
    display: flex;
 }
 .mainTitleS  span{
    color: var(--primary-white);
    font-family: "Anton";
    font-size: 21vw;
    letter-spacing: -0.21vw;
    display: block;
    line-height: 0.9;
 }
 .mainTitleS  span:nth-of-type(2),
 .mainTitleS  span:nth-of-type(3) {
    letter-spacing: 0;
 }
 .mainTitleS  span:nth-of-type(5) {
    letter-spacing: 0.21vw;
 }
 .mainTitleS  span:nth-of-type(6) {
    letter-spacing: 0.42vw;
 }

.mainSubTitle {
    display: flex;
    flex-direction: column;
    justify-content: space-between;
}

.mainTitleP span {
    -webkit-text-stroke-width: 1px;
    -webkit-text-stroke-color: var(--primary-white);
    font-family: "Anton";
    font-size: 9vw;
    letter-spacing: 0.09vw;
    color: transparent;
}

.mainTitleP span:nth-of-type(2) {
    letter-spacing: 0;
}
.mainTitleP span:nth-of-type(3) {
    letter-spacing: 0.27vw;
}
.mainTitleP span:nth-of-type(4) {
    letter-spacing: 0.36vw;
}
.mainTitleP span:nth-of-type(6),
.mainTitleP span:nth-of-type(7) {
    letter-spacing: 0.18vw;
}

.mainSubTitle p {
    font-size: 2.2vw;
    line-height: 1.2;
    letter-spacing: -0.07vw;
    color: var(--primary-white);
}

.mainSubTitle div {
    width: fit-content;
}

.line {
    position: static;
    transform: translateY(0);
}



.titleSp {
    display: none;
}


.sectionWorks::after {
    background-color: var(--primary-white);
}

/* .sectionWorks::before {
    content: '';
    display: block;
    width: calc(100vw - 6.3vw);
    height: 1px;
    background-color: var(--primary-black);
    position: absolute;
    bottom: 0;
    right: 0;
} */




/* スマホの値 */
/* ===============================================================
767px以下
================================================================ */
@media screen and (max-width:767px) {


    .mainVisualContents {
        flex-direction: column;
        padding: 16.5vh 6.9vw 0;
        display: block;
    }

   .mainTitleK,
   .mainTitleS,
   .mainTitleP,
   .mainSubTitle {
    width: fit-content;
   }

   .mainSubTitle p{
    font-size: 4.3vw;
    line-height: 1.2;
    letter-spacing: -0.64px;
   }
    .mainTitleK {
        margin-top: 8vh;
    }
    .mainTitleK span,
    .mainTitleS span {
        font-size: 33.1vw;
    }
    .mainTitleP {
        margin: 0 0 0 auto;
        margin-top: 8vh;
    }
    .mainTitleP span {
        font-size: 14.9vw;
    }


    /* .mainTitle img {
        display: block;
        margin-top: 12px;
    }

    .mainTitle img:first-of-type {
        width: 41.3vw;
    }

    .mainTitle img:nth-of-type(2) {
        width: 53.9vw;
    }

    .mainTitle img:last-of-type {
        width: 79.7vw;
    }

    .fvPhoto {
        width: 58.7vw;
        margin: 8vw auto 0;

    } */
    .line {
        margin-top: 10.7vw;
    }





    .titleSp {
        display: block;
    }
    .titlePc {
        display: none;
    }
}

/* ========================================================
works
========================================================= */


.sectionTitleWrap {
    display: flex;
    justify-content: space-between;
    align-items: flex-end;
    padding-right: 6.9vw;
}

.worksTitle {
    color: var(--primary-white);
}
.worksTitle:nth-child(1),
.worksTitle:nth-child(2) {
    letter-spacing: -2px;
}
.worksTitle:nth-child(3) {
    letter-spacing: 4px;
}
.worksTitle:nth-child(5) {
    letter-spacing: 2px;
}

.worksTitle span {
    transform: translateY(30%);
    opacity: 0;
    transition: 1s;
}

.worksTitle span.active {
    transform: translateY(0);
    opacity: 1;
}


.worksList {
    margin-top: 6.9vw;
}

.worksItem {
    /* display: flex;
    justify-content: space-between;
    align-items: center; */
    height: 31.9vw;
    border-top: 1px solid var(--primary-white);
    border-bottom: 1px solid var(--primary-white);
    opacity: 0.3;
    position: relative;
    transition: 0.8s;
    display: block;
    margin-left: 6.3vw;
    z-index: 50;
}

.worksItemTxt {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    left: 0.6vw;
    z-index: 90;
    transition: 0.8s;
}

.worksItemTitle {
    color: var(--primary-white);
    font-family: "Anton";
    font-size: 5.7vw;
    line-height: 1.1;
    letter-spacing: -0.1vw;
}


.subTxtTop {
    display: flex;
    column-gap: 1vw;
    margin-top: 4.2vw;
}

.subTxtLeft {
    color: var(--primary-white);
    font-size: 1vw;
    font-weight: 500;
}

.subTxtTop span::before {
    content: "";
    display: block;
    width: 1px;
    height: 100%;
    background-color: var(--primary-white);
}

.subTxtRight {
    color: var(--primary-white);
    font-size: 1vw;
    font-weight: 500;
}

.subTxtUnder {
    color: var(--primary-white);
    font-size: 1.4vw;
    font-weight: 500;
    line-height: 1.2;
    margin-top: 0.7vw;
}

.worksPhoto {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    right: 15.3vw;
    transition: 0.8s;
    z-index: 50;
}

/* works hover */
.worksItem.active {
    opacity: 1;
    /* border-top: 1px solid rgba(248, 247, 247, 0.3);
    border-bottom: 1px solid rgba(248, 247, 247, 0.3); */
    transition: 0.8s;
}

.worksPhoto.active {
    /* right: 3.5vw; */
    right: 6.9vw;
    transition: 0.8s;
    /* box-shadow: 3px 3px 30px rgba(248, 247, 247, 0.1); */
}

.worksImg {
    width: 26.7vw;
    transition: 0.8s;
    /* animation: opacity2 3s ease forwards; */
}

.worksImg.active {
    width: 41.7vw;
    transition: 0.8s;
    box-shadow: 0 0 2.1vw rgba(248, 247, 247, 0.1);
    opacity: 1;
}

.hoverItem {
    width: 100%;
    height: 100%;
    position: absolute;
    top: 0;
    left: 0;
    z-index: 200;
    background-color: transparent;
}



/* works 7つ目 */
.photo7 {
    right: 19.2vw;
}

.photo7 .worksImg {
    width: 17.1vw;
    transition: 0.8s;
}

.photo7.active {
    right: 13.9vw;
    transition: 0.8s;
}

.photo7 .worksImg.active {
    width: 27.8vw;
    transition: 0.8s;
}


/* works 9つ目 */
.photo9 {
    right: 19.1vw;
}

.photo9 .worksImg {
    width: 19.8vw;
    transition: 0.8s;
}

.photo9.active {
    right: 13.4vw;
    transition: 0.8s;
}

.photo9 .worksImg.active {
    width: 31.3vw;
    transition: 0.8s;
}



/* ===============================================================
929px以下
================================================================ */
@media screen and (max-width:929px) {
    /* works */


    .sectionTitle img {
        width: min(522px, 39.7vw);
    }


    .worksList {
        margin-top: 8vw;
    }

    .worksItem {
        height: auto;
        /* border-top: 1px solid rgba(248, 247, 247, 1);
        border-bottom: 1px solid rgba(248, 247, 247, 1); */
        border-top: 1px solid var(--primary-white);
        border-bottom: 1px solid var(--primary-white);
        transition: 1s;
        display: flex;
        flex-direction: column-reverse;
        row-gap: 4.3vw;
        position: static;
        padding: 8.5vw;
        margin-left: 0;
    }

    .worksItem.active {
        opacity: 1;
    }

    .worksItemTxt {
        transform: none;
        z-index: 60;
        position: static;
    }

    .worksItemTitle {
        color: var(--primary-white);
        font-family: "Anton";
        font-size: min(88px, 6.4vw);
        line-height: 1;
        letter-spacing: 0;
        text-shadow: 1px 1px 20px var(--primary-black);
    }

    .worksItemTitle br {
        display: none;
    }

    .subTxtTop {
        column-gap: 2.1vw;
        margin-top: 4.3vw;
    }

    .subTxtLeft {
        font-weight: 400;
        font-size: min(14px, 2.9vw);
    }

    .subTxtRight {
        font-weight: 400;
        font-size: min(2.9vw, 18px);
    }

    .subTxtUnder {
        font-size: min(20px, 3.2vw);
        margin-top: 1.6vw;
        line-height: 1.5;
        /* width: 44vw; */
        width: auto;
    }

    .worksPhoto {
        transform: translateY(0);
        position: static;
        margin: 0 auto;
    }

    .worksImg {
        width: 100%;
        opacity: 1;
    }

    /* works 7つ目 */
    .photo7 .worksImg {
        width: 55.3vw;
    }

    .photo9 .worksImg {
        width: 66.3vw;
    }

}

/* works 929px以下 */






/* works画像の出方の候補 */
/* .worksPhoto.hover {
    overflow: hidden;
}

.worksPhoto.hover::before,
.worksPhoto.hover::after {
    animation: 1s cubic-bezier(0.4, 0, 0.2, 1) forwards;
    background: #1a1a1a;
    content: '';
    pointer-events: none;
    position: absolute;
    z-index: 1;
}

.worksPhoto.hover::before {
    animation-name: worksPhoto-before;
    inset: 0 0 50%;
}

.worksPhoto.hover::after {
    animation-name: worksPhoto-after;
    inset: 50% 0 0;
}

@keyframes worksPhoto-before {
    100% {
        transform: translateX(100%);
        opacity: 1;
    }
}

@keyframes worksPhoto-after {
    100% {
        transform: translateX(-100%);
        opacity: 1;
    }
} */





/* ==============================================================
about
============================================================== */
.sectionAbout {
    /* background: var(--primary-white-gradation); */
    background-color: var(--primary-white3);
    background-size: cover;
    background-position: center;
    background-attachment: fixed;
}
.aboutTitle {
    font-family: "Anton";
    font-size: 200px;
    font-style: normal;
    font-weight: 400;
    line-height: 100%; /* 200px */
    letter-spacing: -2px;
}
.sectionTitle .txtBlack {
    color: var(--primary-black);
}

.aboutTitle span {
    transform: translateY(30%);
    opacity: 0;
    transition: 1s;
}

.aboutTitle span.active {
    transform: translateY(0);
    opacity: 1;
}
.aboutContents {
    display: flex;
    padding: 6.9vw 6.9vw 0 4.1vw;
    margin-left: 6.3vw;
    margin-top: 6.9vw;
    justify-content: space-between;
    align-items: center;
    border-top: 1px solid var(--primary-black);
}

.aboutImg {
    width: 50.4%;
}

.aboutTxt {
    display: flex;
    gap: 1.8vw;
    flex-direction: column;
    width: 41.2%;
    font-size: 1.1vw;
}

.nameJp {
    margin-top: 0.3vw;
    font-size: 2.5vw;
}

.aboutSpan {
    width: 100%;
    height: 1px;
    background-color: var(--primary-black);
}

.aboutMainTxt {
    line-height: 1.5;
}

.aboutMainTxt p:last-of-type {
    line-height: 1.8;
    margin-top: 1.1vw;
}

.aboutBtn {
    display: flex;
    align-items: center;
    gap: 0.7vw;
    width: fit-content;
    color: var(--primary-white);
    padding: 0.8vw 1.4vw;
    background-color: var(--primary-black);
    border-radius: 100vw;
    transition: 0.6s;
}

.aboutBtnTxt {
    font-family: "Anton";
}

.arrowAbout {
    background-color: var(--primary-white);
    margin-bottom: 4px;
    transform: rotate(0);
}
.arrowAbout::before {
    background-color: var(--primary-white);
}

/* ===============================================================
929px以下
================================================================ */
@media screen and (max-width:929px) {

    /* about */
    .sectionTitleAbout img {
        width: min(459px, 35.5vw);
    }

    .aboutTxt {
        font-size: min(16px, 3.5vw);
    }

    .nameJp {
        font-size: min(32px, 5.9vw);
        margin-top: 0.8vw;
    }

    .nameEn {
        font-size: min(16px, 2.9vw);
    }

    .aboutBtn {
        gap: 2.7vw;
        padding: 1.8vw 2.6vw;
    }

    .aboutTxt {
        gap: 3vw;
    }
    .arrowAbout {
        width: 24px;
        height: 1px;
    }

    .arrowAbout::before {
        width: 8px;
        height: 1px;
    }
}



/* スマホの値 */
/* ===============================================================
767px以下
================================================================ */

@media screen and (max-width:767px) {
    .aboutContents {
        flex-direction: column;
        padding: 8vw 8vw 0 8vw;
        margin-top: 8vw;
        margin-left: 0;
    }

    .aboutImg {
        width: 66.7vw;
    }

    .aboutTxt {
        gap: 4.3vw;
        width: 100%;
        margin-top: 8vw;
    }

    .aboutMainTxt {
        line-height: 1.8;
    }

    .aboutMainTxt p:last-of-type {
        margin-top: 3vw;
    }

    .aboutBtn {
        gap: 2.7vw;
        padding: 3.2vw 4.3vw;
    }

    .aboutBtn img {
        width: 3.7vw;
    }
}



/* 色切り替えボタン */

.changeBtn {
    color: var(--primary-white);
    display: flex;
    flex-direction: column;
    gap: 1.4vw;
    font-size: 1.1vw;
    letter-spacing: -0.4px;
    position: absolute;
    top: 24.3vw;
    right: 3.5vw;
    /* opacity: 0; */
    transition: 1s;
}
.changeBtn.active {
    opacity: 1;
    transition: 1s;
}
.light,
.dark {
    padding: 0 0.6vw;
    position: relative;
    overflow: hidden;

}
.light::after,
.dark::after {
    content: "";
    display: block;
    width: 100%;
    height: 2px;
    background-color: var(--primary-black2);
    position: absolute;
    top: 50%;
    transform: translate(-100%, -50%);
    left: 0px;
}

.light.active::after,
.dark.active::after {
    transform: translate(0, -50%);
    transition: 0.6s;


}
.dark::after {
    background-color: var(--primary-white2);
}




input[type=checkbox] {
    height: 0;
    width: 0;
    visibility: hidden;
}

label {
    cursor: pointer;
    text-indent: -9999px;
    width: 45px;
    height: 25px;
    background: var(--primary-white);
    margin: 0 auto;
    display: flex;
    justify-content: center;
    align-items: center;
    -webkit-border-radius: 100px;
    -moz-border-radius: 100px;
    border-radius: 100px;
    position: relative;
}

label:after {
    content: '';
    background: var(--primary-black);
    width: 15px;
    height: 15px;
    -webkit-border-radius: 50%;
    -moz-border-radius: 50%;
    border-radius: 50%;
    position: absolute;
    top: 50%;
    left: 4px;
    transform: translateY(-50%);
    transition: cubic-bezier(0.68, -0.55, 0.27, 01.55) 320ms;
}

input:checked+label {
    background: var(--primary-black);
}

input:checked+label:after {
    left: calc(100% - 5px);
    -webkit-transform: translateX(-100%);
    -moz-transform: translateX(-100%);
    -ms-transform: translateX(-100%);
    -o-transform: translateX(-100%);
    transform: translate(-100%, -50%);
    background: var(--primary-white);
}


label[for] {
    cursor: none;
}



.sp {
    display:  none;
}




@media screen and (max-width:767px) {
    .sp {
        display: block;
    }
    .changeBtn {
        font-size: 3.7vw;
        gap: 2.8vw;
        top: 16.5vh;
        right: 6.9vw;
    }
}

