*{
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body{
    font-family: "Inter", sans-serif;
    background: #000;
    color: #fff;
}

.hero{
    min-height: 100vh;
    position: relative;
    display: gird;
    align-items: center;
    padding: 120px 0;
    overflow: hidden;
    background:url("hero.jpg") center/cover no-repeat;
}

.hero::before{
    content: "";
    position: absolute;
    inset: 0;
    background: linear-gradient(90deg, rgba(0,0,0,0.85) 0%, rgba(0,0,0,0.4)55%, rgba(0,0,0,0.65)100%), linear-gradient(180deg, rgba(0,0,0,0.3) 0%, rgba(0,0,0,0.8) 100%);
    z-index: 0;
}

.hero::after{
    content: "";
    position: absolute;
    inset: 0;
    background: inherit;
    filter: brightness(0.75) saturate(0.75) contrast(1.1);
    transform: scale(1.02);
    z-index: -1;
}

.hero-inner{
    position: relative;
    z-index: 1;
    max-width: 1100px;
    margin: 0 auto;
    padding: 0 20px;
}

.hero-kicker{
    font-size: 12px;
    letter-spacing: 0.18em;
    text-transform: uppercase;
    opacity: 0.7;
    margin-bottom: 16px;
}

.hero-logo{
    font-family: "Space Grotesk", sans-serif;
    font-size: clamp(70px, 12vw, 160px);
    font-weight: 700;
    letter-spacing: 0.057em;
    line-height: 0.95;
    margin-bottom: 20px;
}

.hero-lead{
    font-size: 18px;
    opacity: 0.95;
    max-width: 520px;
    line-height: 1.5;
    margin-bottom: 40px;
    letter-spacing: 0.07em;
}

.btn{
    display: inline-block;
    padding: 14px 36px;
    border: 1px solid rgba(255,255,255,0.4);
    text-decoration: none;
    color: #fff;
    font-size: 14px;
    letter-spacing: 0.08em;
    text-transform: uppercase;
    position: relative;
    overflow: hidden;
    transition: all .4s ease;
    margin-left: 8px;
}

.btn span{
    position: relative;
    z-index: 2;
}

.btn::before{
    content: "";
    position: absolute;
    inset: 0;
    background: #fff;
    transform: translateX(-100%);
    transition: transform .4s ease;
    z-index: 1;
}

.btn:hover::before{
    transform: translateX(0);
}

.btn:hover{
    color: #000;
}

.header{
    position: fixed;
    width: 100%;
    top: 0;
    left: 0;
    z-index: 10;
    padding: 24px 40px;
}

.header-inner{
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.header-right{
    display: flex;
    align-items: center;
    gap: 32px;
    list-style: none;
    margin-left: auto;
}

.logo-small{
    font-family: "Space Grotesk", sans-serif;
    font-weight: 600;
    letter-spacing: 0.08em;
    font-size: 16px;
}

.nav-list{
    display: flex;
    align-items: center;
    gap: 32px;
    list-style: none;
    margin: 0;
    padding: 0;
}

.nav-list a{
    font-size: 1.4rem;
    text-decoration: none;
    color: #fff;
}


.nav a{
    text-decoration: none;
    color: #fff;
    font-size: 14px;
    letter-spacing: 0.08em;
    position: relative;
    transition: opacity .3s ease;
}

.nav-cta{
    display: inner-flex;
    align-items: center;
    justify-content: center;
    padding: 10px 16px;
    border: 1px solid rgba(255, 255, 255, 0.18);
    border-radius: 3.6px;
    background: transparent;
    text-decoration: none;
    color: #fff;
    font-size: 14px;
    letter-spacing: 0.08em;
    transition: border-color .3s ease, opacity .3s ease;
    opacity: 0.92;
}

.nav-cta:hover{
    border-color: rgba(255, 255, 255, 0.4);
    opacity: 1;
}

nav a::after{
    content: "";
    position: absolute;
    left: 0;
    bottom: 0;
    width: 0%;
    height: 1px;
    background: rgba(255, 255, 255, 0.7);
    transition: width .3s ease;
}

.nav a:hover::after{
    width: 100%;
}

.nav a:hover{
    opacity: 0.6;
}

.philosophy{
    padding: 200px 8vw;
    background: #0a0a0a;
}

.ph-inner{
    max-width: 1400px;
    margin: 0 auto;
}

.section{
    scroll-margin-top: 80px;
}

.section-label{
    font-size: 12px;
    letter-spacing: 0.18em;
    opacity: 0.6;
    margin-bottom: 24px;
}

.section-title{
    font-family: "Space Gotesk", sans-serif;
    font-size: clamp(42px, 5vw, 64px);
    line-height: 1.15;
    margin-bottom: 100px;
    font-weight: 700;
    max-width: 620px;
    letter-spacing: 0.04em;
}

.ph-grid{
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 60px;
}

.ph-item{
    padding-top: 42px;
    position: relative;
    opacity: 0;
    transform: translateY(40px);
    transition: opacity 1.5s ease, transform 1.5s cubic-bezier(0.22, 1, 0.36, 1);
}

.ph-item.is-visible{
    opacity: 1;
    transform: translateY(0);
}

.ph-item::before{
    content: "";
    position: absolute;
    top: 14px;
    left: 0;
    width: 100%;
    height: 1px;
    background: rgba(255, 255, 255, 0.25);
}

.ph-num{
    font-size: 18px;
    font-weight: 700;
    letter-spacing: 0.2em;
    position: absolute;
    top: -15px;
    left: 0;
    color: rgba(255, 255, 255, 0.095);
    opacity: 1.5;
}

.ph-item h3{
    font-size: 29.5px;
    font-weight: 600;
    margin-bottom: 26px;
    margin-top: -4px;
    letter-spacing: 0.025em;
}

.ph-item p{
    font-size: 15px;
    line-height: 1.8;
    opacity: 0.92;
    position: relative;
}

.ph-item:nth-child(1){ transition-delay: 0.2s; }
.ph-item:nth-child(2){ transition-delay: 0.35s; }
.ph-item:nth-child(3){ transition-delay: 0.5s; }

.service{
    background-image: url(service.jpg);
    background-size: cover;
    background-position: center 30%;
    position: relative;
    padding: 200px 0 200px;
}

.service::before{
    content: "";
    position: absolute;
    inset: 0;
    background: rgba(0,0,0,0.9);
}

.service  .container{
    position: relative;
    z-index: 2;
}

.service-grid{
    display: grid;
    grid-template-columns: repeat(3,380px);
    gap: 84px 32px;
    max-width: 1200px;
    margin: 0 auto;
}

.service-card{
    padding: 38px  45px;
    border: 1px solid rgba(255,255,255,0.10);
    background: rgba(0,0,0,0.06);
    backdrop-filter: blur(6px);
    transition: 0.4s ease;
    min-height: 140px;
    transition: border-color 0.35s ease, transform 0.35s ease, box-shadow 0.35s ease;
    border-radius: 4px;
}

.service-card:hover{
    border-color: rgba(255, 255, 255, 0.16);
    transform: translateY(-4.5px);
    box-shadow: 0 14px 30px rgba(0, 0, 0, 0.20);
}

.service-card h3{
    font-size: 25px;
    margin-bottom: 16px;
    font-weight: 600;
}

.service-card p{
    font-size: 15px;
    line-height: 1.8;
    opacity: 0.9;
}

.service-title{
    font-family: "Space Gotesk", sans-serif;
    font-size: clamp(50px, 5vw, 68px);
    line-height: 1.3;
    font-weight: 750;
    letter-spacing: 0.035em;
   
    padding-left: 134px;
    margin-bottom: 94px;
}

.service-label{
    margin-left: 134px;
    font-size: 13px;
    letter-spacing: 0.18em;
    opacity: 0.6;
    margin-bottom: 20px;
}

.plan{
    padding: 180px 0  190px;
    background: #0c0c0c;
}

.plan .container{
    max-width: 1400px;
    margin: 0 auto;
    padding: 0 40px;
}

.plan-layout{
    display: grid;
    grid-template-columns: 360px 1fr;
    column-gap: 190px;
    align-items: start;
}

.plan-heading{
    position: static;
    margin-top: -80px;
}

.plan-title{
    padding-left: 90px;
}

.plan-title-en{
    display: block;
    font-family: "Space Gotesk", sans-serif;
    font-size: 65px;
    font-weight: 600;
    letter-spacing: 0,04em;
    line-height: 1.05;
}

.plan-title-ja{
    display: block;
    margin-top: 12px;
    font-size: 25px;
    opacity: 0.8;
    letter-spacing: 0.06em;
    margin-left: 7px;
}

.plam-item{
    display: grid;
    position: relative;
    grid-template-columns: 80px 1fr;
    column-gap: 20px;
    align-items: start;
    padding: 0 0 24px;
}

.plan-list{
    display: flex;
    flex-direction: column;
    gap: 44px;
    margin-top: 20px;
}

.plan-head{
    display: flex;
    align-items: baseline;
    gap: 18px;
    margin-bottom: 12px;
}

.plan-number{
    font-family: "Space Gotesk", sans-serif;
    font-size: 17px;
    font-weight: 500;
    letter-spacing: 0.08em;
    opacity: 0.45;
    line-height: 1;
    flex-shrink: 0;
}

.plan-head h3{
    font-size: 30px;
    font-weight: 600;
    letter-spacing: 0.02em;
    margin-bottom: 12px;
    line-height: 1.15;
}

.plan-content p{
    font-size: 17px;
    line-height: 1.75;
    opacity: 0.88;
    margin-left: 40px;
    letter-spacing: 0.04em;
}

.plan-content{
    max-width: 620px;
    margin-left: 0;
    position: relative;
    padding-bottom: 24px;
}

.plan-content::after{
    content: "";
    position: absolute;
    left: 0;
    bottom: 0;
    width: 100%;
    height: 1px;
    background: rgba(255, 255, 255, 0.2);
}

.plan-label{
    margin-left: 110px;
    font-size: 13px;
    letter-spacing: 0.15em;
    opacity: 0.66;
    margin-bottom: 100px;
    display: block;
}

.profile{
    padding: 180px 0;
    background:
      linear-gradient(rgba(10, 10, 10, 0.93), rgba(10, 10, 10, 0.93)),
      url("profile-bg.jpg") center center / cover no-repeat;
}

.profile .container{
    max-width: 1400px;
    margin: 0 auto;
    padding: 0 40px;
}

.profile-label{
    margin: 0 0 18px 65px;
    font-size: 13px;
    letter-spacing: 0.15em;
    opacity: 0.66;
}

.profile-title{
    font-family: "Space Grotesk", sans-serif;
    font-size: 80px;
    font-weight: 800;
    letter-spacing: 0.05em;
    line-height: 1.02;
    margin: 0 0 44px 40px;
}

.profile-layout{
    display: grid;
    grid-template-columns: 1fr 420px;
    grid-template-areas: "text image";
    column-gap: 100px;
    align-items: start;
}

.profile-text{
    grid-area: text;
    min-width: 0;
    margin-left: 40px;
    padding-top: 8px;
}

.profile-description{
    max-width: 660px;
    font-size: 19px;
    line-height: 1.45;
    opacity: 0.95;
    margin: 0 0 56px;
    letter-spacing: 0.04em;
}

.profile-career{
    display: grid;
    gap: 14px;
    margin: 0;
    font-size: 15.4px;
    line-height: 1.75;
    opacity: 0.88;
    letter-spacing: 0.0365em;
    font-weight: 400;
    margin-top: 40px;
}

.profile-image{
    grid-area: image;
    justify-self: start;
    margin: 0;
    margin-top: -120px;
    position: relative;
}

.profile-image::after{
    content: "";
    position: absolute;
    inset: 0;
    background: rgba(10, 10, 10, 0.16);
    border-radius: 4px;
    pointer-events: none;
}

.profile-image img{
    width: 350px;
    display: block;
    height: auto;
    border-radius: 4px;
    transform: translateX(20px);
    opacity: 0.92;
    filter: brightness(0.9) saturate(0.9);
}
.cta{
    padding: 140px 0 150px;
    background: #8d8d8d00;
}

.cta .container{
    max-width: 1400px;
    margin: 0 auto;
    padding: 0 40px;
    margin-left: 98px;
}

.cta-inner{
    max-width: 900px;
}

.cta-title{
    font-family: "Space Grotesk", sans-serif;
    font-size: 58px;
    font-weight: 600;
    letter-spacing: 0.045em;
    line-height: 1.05;
    margin-bottom: 41px;
    margin-top: -40px;
}

.cta-text{
    max-width: 750px;
    font-size: 20px;
    line-height: 1.6;
    opacity: 0.96;
    margin-bottom: 67px;
    font-weight: 450;
    letter-spacing: 0.04em;
}

.cta-button{
   display: inline-block;
    padding: 14px 36px;
    border: 1px solid rgba(255,255,255,0.6);
    text-decoration: none;
    color: #fff;
    font-size: 16.5px;
    letter-spacing: 0.08em;
    text-transform: uppercase;
    position: relative;
    overflow: hidden;
    transition: all .4s ease;
    margin-left: 15px;
    height: 51.5px
}    

.cta-button::before{
   content: "";
    position: absolute;
    inset: 0;
    background: #fff;
    transform: translateX(-100%);
    transition: transform .4s ease;
    z-index: 1;
}

.cta-button:hover::before{
    transform: translateX(0);
}

.cta-button:hover{
    color: #000;
}

.cta-button span{
    position: relative;
    z-index: 2;
}
#philosophy{
    scroll-margin-top: -105px;
}
#service{
    scroll-margin-top: -120px;
}
#plan{
    scroll-margin-top: -137px;
}
#profile{
    scroll-margin-top: -117px;
}

@media(max-width: 768px){

    html,
    body{
        overflow-x: hidden;
    }

    .img{
        max-width: 100%;
        height: auto;
    }
    
    .header{
        padding: 16px 20px;
    }

    .header-inner{
        flex-direction: row;
        align-items: center;
        justify-content: space-between;
        gap: 12px;
    }

    .header-right{
        width: auto;
        flex-direction: row;
        align-items: center;
        gap: 12px;
        margin-left: auto;
    }

    .nav{
        width: auto;
    }

    .nav-list{
        display: none;
        flex-wrap: wrap;
        gap: 14px 18px;
    }

    .nav a,
    .nav-cta{
        font-size: 12px;
        letter-spacing: 0.04em;
        padding: 8px 12px;
    }

    .hero{
        padding: 110px 20px 32px;
        min-height: 100svh;
    }

    .hero-inner{
       width: 100%;
        min-height: calc(100svh - 142px);
        display: flex;
        flex-direction: column;
        justify-content: flex-start;
        align-items: flex-start;
        padding-top: 60px;
    }

    .hero-kicker{
        font-size: 11px;
        margin-bottom: 14px;
        letter-spacing: 0.15em;
        white-space: nowrap;
        margin-left: 26px;
    }

    .hero-logo{
        font-size: 82px;
        line-height: 0.95;
        letter-spacing: 0.04em;
    }

    .hero-lead{
        font-size: 1.35rem;
        line-height: 1.8;
        max-width: 18em;
        white-space: nowrap;
        margin-top: 18px;
        margin-left: 32px;

    }
    
    .btn{
        width: auto;
        max-width: 240px;
        justify-content: center;
        margin-top: 90px;
        white-space: nowrap;
        align-self: flex-end;
        align-items: center;
        margin-right: 32px;
        text-align: center;
        margin-left: 0;
        padding: 14px 36px;
        display: inline-flex;
        height: 52px;
    }

    .philosophy {
        padding: 72px 0 80px;
    }

    .ph-inner {
        width: calc(100% - 56px);
        margin: 0 auto;
    }

   .section-label {
       margin-bottom: 12px;
        font-size: 0.95rem;
        letter-spacing: 0.18em;
        color: rgba(255, 255, 255, 0.42);
    }

    .section-title {
        margin-bottom: 30px;
        max-width: none;
        font-size: 2.4rem;
        line-height: 1.15;
        letter-spacing: -0.02em;
        font-weight: 500;
        max-width: 9em;
        
    }

    .ph-grid {
        grid-template-columns: 1fr;
        gap: 39px;
        margin-top: 90px;
    }

    .ph-item {
        min-height: auto;
        padding: 30px 30px 35px;
        border: 1px solid rgba(255, 255, 255, 0.5);
        background: rgba(255, 255, 255, 0.018);
        position: relative;
    }

    .ph-item::before {
        opacity: 0.45;
        content: "";
        position: absolute;
        top: 12px;
        left: 18px;
        width: 36px;
        height: 1px;
        background: rgba(255,255,255,0.14)
    }

    .ph-num {
        display: block;
        margin-top: -10px;
        font-size: 1rem;
        letter-spacing: 0.16em;
        color: rgba(255, 255, 255, 0.34);
    }

    .ph-item h3 {
        margin: 0 0 8px;
        font-size: 1.65rem;
        line-height: 1.3;
        letter-spacing: -0.01em;
    }

     .ph-item p {
        margin: 0;
        max-width: none;
        font-size: 1.05rem;
        line-height: 1.8;
        color: rgba(255, 255, 255, 0.7);
    }

    .ph-item::after {
        content: "";
        position: absolute;
        top: 18px;
        right: 18px;
        width: 42px;
        height: 42px;
        border-top: 1px solid rgba(255,255,255,0.08);
        border-right: 1px solid rgba(255,255,255,0.08);
        pointer-events: none;
    }


    .service{
        padding: 72px 0 80px ;
        text-align: left;
    }

    .service .container{
        width: calc(100% - 40px);
        margin: 0 auto;
        padding: 0;
        text-align: left;
    }

    .service-label{
        margin: 0 0 10px;
        font-size: 0.8rem;
        letter-spacing: 0.12em;
        color: rgba(255, 255, 255, 0.52);
        display: block;
        width: 100%;
        padding-left: 0;
        margin-bottom: 10px;
    }

    .service-title{
        margin: 0;
        font-size: 2.4rem;
        line-height: 1.15;
        width: 100%;
        display: block;
        justify-self: start;
        text-align: left;
        padding-left: 0;
        margin-bottom: 50px;
    }

    .service-grid{
       display: grid;
       grid-template-columns: repeat(2, minmax(0, 1fr));
       gap: 20px ;
       margin-top: 40px;
    }

    .service-card{
       min-height: 148px;
       padding: 22px 16px 20px;
       border: 1px solid rgba(255, 255, 255, 0.17);
       background: rgba(255, 255, 255, 0.015);
       display: flex;
       flex-direction: column;
       justify-content: flex-start;
    }

    .service-card h3{
        margin: 0 0 12px;
        font-size: 1.26rem;
        line-height: 1.22;
        letter-spacing: -0.01em;
    }

    .service-card p{
        margin: 0;
        font-size: 0.9rem;
        line-height: 1.32;
        color: rgba(255, 255, 255, 0.66);
    }

    .plan{
        padding: 78px 0 84px;
    }

    .plan .container{
       width: calc(100% - 40px);
       margin: 0 auto;
       padding: 0;
    }

    .plan-layout{
        display: block;
    }

    .plan-heading{
        margin-bottom: 34px;
        margin-top: 0;
    }

    .plan-label{
        margin: 0 0 10px;
        font-size: 0.95rem;
        letter-spacing: 0.14em;
        color: (255, 255, 255, 0.48);
    }

    .plan-title{
       padding-left: 0;
       margin: 0;
    }

    .plan-title-en{
        display: block;
        font-size: 2.4rem;
        line-height: 1.08;
        letter-spacing: 0.01em;
        font-weight: 600;
    }

    .plan-title-ja{
        display: block;
        margin-top: 8px;
        margin-left: 0;
        font-size: 1.15rem;
        line-height: 1.3;
        letter-spacing: 0.04em;
        color: rgba(255, 255, 255, 0.74);
    }

    .plan-list{
       display: flex;
       flex-direction: column;
       gap: 26px;
       margin-top: 0;
    }

    .plan-item{
        display: block;
        padding: 0 0 20px;
        border-bottom: 1px solid rgba(255, 255, 255, 0.08);
    }

    .plan-head{
        display: flex;
        align-items: baseline;
        gap: 12px;
        margin-bottom: 10px;
    }

    .plan-number{
        font-size: 0.95rem;
        letter-spacing: 0.12em;
        color: rgba(255, 255, 255, 0.5);
        min-width: 2.8em;
    }

    .plan-head h3{
        margin: 0;
        font-size: 1.52rem;
        line-height: 1.28;
        letter-spacing: -0.01em;
        font-weight: 600;
    }

    .plan-content{
        max-width: none;
        margin-left: 0;
        padding-bottom: 0;
    }

    .plan-content::after{
        display: none;
    }

    .plan-content p{
        margin-left: 0;
        font-size: 0.995rem;
        line-height: 1.78;
        color: rgba(255, 255, 255, 0.9);
        letter-spacing: 0.035em;
    }
    
    .profile{
        padding: 78px 0 84px;
        background-position: center center;
    }

    .profile .container{
        width: calc(100% - 40px);
        margin: 0 auto;
        padding: 0;
    }

    .profile-layout{
        display: flex;
        flex-direction: column;
        gap: 20px;
        align-items: stretch;
    }

    .profile-text{
        margin-left: 0;
        min-width: 0;
        display: flex;
        flex-direction: column;
    }

    .profile-image{
        margin: 0;
        justify-self: auto;
        align-self: flex-start;
        width: 100%;
        max-width: 260px;
        padding-left: 26px;
        margin-top: 10px;
    }

    .profile-image img{
        width: min(100%, 280px);
        aspect-ratio: 4 / 5;
        height: auto;
        object-fit: cover;
        object-position: center 30%;
        display: block;
        transform: none;
        border-radius: 4px;
        opacity: 0.92;
    }

    .profile-label{
        margin: 0 0 10px;
        font-size: 0.95rem;
        letter-spacing: 0.14em;
        color: rgba(255, 255, 255,0.48);
    }

    .profile-title{
       margin: 0 0 22px;
       font-size: 2.48rem;
       line-height: 1.1;
       letter-spacing: 0.028em;
    }

    .profile-description{
        margin: 0 0 24px;
        max-width: 35.5ch;
        font-size: 1.02rem;
        line-height: 2;
        letter-spacing: 0.018em;
        color: rgba(255, 255, 255, 0.9);
        font-weight: 500;
        margin-top: 10px;
    }

    .profile-career{
        margin-left: 0;
        gap: 14px;
        font-size: 0.95rem;
        line-height: 1.75;
        letter-spacing: 0.02em;
        color: rgba(255, 255, 255, 0.66);
        display: grid;
        margin-top: 20px;
    }

    .profile-career p{
        display: grid;
        grid-template-columns: 52px minmax(0, 1fr);
        column-gap: 13.5px;
        align-items: start;
        width: 100%;
        margin: 0;
        font-size: 0.95rem;
        line-height: 1.7;
        color: rgba(255, 255, 255, 0.78);
        font-weight: 400;
    }

    .profile-career p span:first-child{
        color: rgba(255, 255, 255, 0.64);
        letter-spacing: 0.04em;
        white-space: nowrap;
        font-weight: 350;
    }

    .profile-career p span:last-child{
        min-width: 0;
        line-height: 1.7;
    }

   
   
    .cta{
        padding: 84px 0 88px;
        text-align: center;
    }

    .cta .container{
        width: calc(100% - 40px);
        margin: 0 auto;
        padding: 0;
    }

    .cta-inner{
       max-width: none;
       padding: 0;
       
       text-align: center;
    }

    .cta-title{
       font-size: 2.3rem;
       line-height: 1.08;
       letter-spacing: 0.01em;
       padding-right: 110px;
       padding-top: 20px;
    }

    .cta-text{
        max-width: 35ch;
        font-size: 1.05rem;
        line-height: 1.75;
        color: rgba(255, 255, 255, 0.9);
        letter-spacing: 0.02em;
        text-align: center;
        padding-left: 20px;
        padding-top: -60px;
        font-weight: 400;
        margin-bottom: 25px;
    }

    .cta-button{
       display: inline-flex;
       align-items: center;
       justify-content: center;
       width: auto;
       min-width: 220px;
       height: 48px;
       margin-left: 0;
       font-size: 1.12rem;
       letter-spacing: 0.05em;
       border: 1px solid rgba(255, 255, 255, 0.35);
       padding-top: -80px;
    }
}