@charset "utf-8";

/* ====================
common
==================== */
:root {
    --black: #1f1f1f;
    --white: #ffffff;
    --blue: #5393B6;
    --darkGray: #666666;
    --lightGray: #eeeeee;
    --gray: #cccccc;
    --bg-main: url(../images/common/bg-main.png);
    --aspectRatio-vertical: 0.6043; 
    --aspectRatio-horizontal: 1.6545; 
    --contentPadding: clamp(30px, 5.5vw, 80px);
    --sectionPadding: clamp(80px, 10.4vw, 150px);
    --main-font: "Zen Kaku Gothic New", sans-serif;
    --sub-font: "Josefin Sans", sans-serif;
    --dropShadow: 5px 5px 15px 0px rgba(0, 0, 0, 0.15);
    --headerShadow: 1px 1px 2px rgba(238, 238, 238, 0.5);
    --max-contentWidth: 1440px;
}

html {
    font-size: 62.5%;
    scroll-behavior: smooth;
}

body {
    margin: 0 auto;
    font-family: var(--main-font);
    color: var(--black);
    font-weight: 400;
    line-height: 1.8;
    letter-spacing: 0.05em;
    background-color: var(--lightGray);
}

img {
    width: 100%;
    height: auto;
}

.cursor {
    opacity: 0;
    border: 1px solid var(--white);
    background-color: rgb(83 147 182 / 0.9);
    width: 60px;
    height: 60px;
    border-radius: 50%;
    top: -40px;
    left: -40px;
    position: fixed;
    z-index: 9999;
    transform: translate(0, 0);
    transition: width 0.1s, height 0.1s, top 0.1s, left 0.1s;
    pointer-events: none;
}

.cursor p {
    color: var(--white);
    font-family: var(--sub-font);
    font-size: 1.6rem;
    font-weight: 400;
    line-height: 1.0;
    letter-spacing: 0.15em;
    text-align: center;
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
}

.container {
    overflow: hidden;
}

/* ====================
section
==================== */
.sectionTop {
    background-color: var(--gray);
    display: flex;
    flex-direction: column;
    gap: 30px;
    padding: calc(var(--sectionPadding) + 60px) 0 var(--sectionPadding);
}

.sectionTop__topic {
    color: var(--white);
    font-size: clamp(1.6rem, 1.38vw, 2.0rem);
    font-weight: 500;
    line-height: 1.0;
    letter-spacing: 0.15em;
    display: flex;
    gap: clamp(15px, 2.08vw, 30px);
}

.sectionTop__topic div{
    width: clamp(50px, 5.55vw, 80px);
    height: 2px;
    background-color: var(--white);
    transform: translate(0, calc(-50% + (clamp(0.8rem, 0.69vw, 1.0rem))));
}

.sectionTop__topic span {
    display: block;
    margin: 10px 0 0;
    font-family: var(--sub-font);
    font-size: clamp(1.2rem, 0.97vw, 1.4rem);
    letter-spacing: 0.15em;
}

.section {
    background-color: var(--lightGray);
    padding: var(--sectionPadding) 0;
    z-index: 100;
}

.section-inner {
    display: flex;
    flex-direction: column;
    gap: clamp(50px, 5.55vw, 80px);
    width: 100%;
    margin: 0 auto;
}


.section__topic {
    white-space: nowrap;
    padding-left: var(--contentPadding);
    font-size: clamp(2.4rem, 2.5vw, 3.6rem);
    font-weight: 700;
    line-height: 1.0;
    letter-spacing: 0.15em;
}

.section__topic span {
    color: var(--lightGray);
    display: block;
    margin-top: 15px;
    font-family: var(--sub-font);
    font-size: clamp(4.8rem, 6.66vw, 9.6rem);
    font-weight: 600;
    line-height: 1.0;
    letter-spacing: 0.05em;
    text-shadow: 0.5px 0 0 var(--darkGray), 0 0.5px 0 var(--darkGray), -0.5px 0 0 var(--darkGray), 0 -0.5px 0 var(--darkGray);
}

/* section pc */
@media screen and (min-width: 769px) {
    .sectionTop {
        padding: calc(var(--sectionPadding) + 80px) 0 var(--sectionPadding);
        position: relative;
    }

    .sectionTop__topic {
        writing-mode: vertical-rl;
        letter-spacing: 0.5em;
        transform: rotate(90deg);
        position: absolute;
        top: 80px;
        left: 6.94vw;
    }

    .sectionTop__topic div {
        width: 2px;
        height: 80px;
        transform: translate(calc(50% - (clamp(0.8rem, 0.69vw, 1.0rem))), 0);
    }

    .sectionTop__topic span {
        margin: 0 15px 0 0;
    }

    .section-inner {
        flex-direction: row;
        gap: 0;
    }

    .section__topic {
        writing-mode: vertical-rl;
        margin-right: clamp(53.9px, 7.01vw, 101px);
        letter-spacing: 0.5em;
    }
    
    .section__topic span {
        margin-top: 0;
        margin-right: 30px;
    }
}/* pc 769px */

/* ====================
header
==================== */
.header {
    background-color: var(--black);
    width: 100vw;
    height: 60px;
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: clamp(15px, 2.08vw, 30px) var(--contentPadding);
    padding: 0 var(--contentPadding);
    position: fixed;
    top: 0;
    left: 0;
    z-index: 1000;
}

.header__topic {
    width: 20px;
    height: 20px;
}

.header__nav {
    height: 100vh;
    background-color: var(--darkGray);
    position: fixed;
    top: 0;
    left: 0;
    z-index: 1000;
    transform: translateY(-100%);
    transition: transform 0.4s ease-out;
}

.header__nav.is-active {
    transform: translateY(0%)
}

.nav-wrapper {
    width: 100vw;
    height: clamp(700px, 100vh, 900px);
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    position: relative;
}

.nav-wrapper::before {
    content: url(../images/common/fig-hand-gray.svg);
    display: block;
    width: clamp(552px, 62.5vw, 900px);
    overflow: hidden;
    position: absolute;
    top: clamp(140.5px, 50%, 330px);
    left: 50%;
    transform: translate(-50%, -100%);
}

.nav {
    background-color: var(--blue);
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    padding: clamp(10px, 1.38vw, 20px) 0;
    aspect-ratio: var(--aspectRatio-vertical);
    width: clamp(240px, 27.7vw, 400px);
    box-shadow: var(--dropShadow);
    z-index: 100;
}

.nav-closeBtn {
    width: 40px;
    height: 40px;
    margin: 0 clamp(10px, 1.38vw, 20px) 0 auto;
}

.nav__list {
    display: flex;
    flex-direction: column;
    gap: clamp(30px, 5.5vh, 50px);
}

.nav__item a {
    color: var(--white);
    font-size: clamp(1.6rem, 1.38vw, 2.0rem);
    font-weight: 500;
    line-height: 1.0;
    letter-spacing: 0.15em;
    display: flex;
    gap: clamp(15px, 2.08vw, 30px);
}

.nav__item div{
    width: clamp(50px, 5.55vw, 80px);
    height: 2px;
    background-color: var(--white);
    transform: translateY(calc(-50% + (clamp(0.8rem, 0.69vw, 1.0rem))));
}

.nav__item span {
    display: block;
    margin-top: clamp(10px, 1.04vw, 15px);
    font-family: var(--sub-font);
    font-size: clamp(1.2rem, 0.97vw, 1.4rem);
    letter-spacing: 0.15em;
}

.nav__logo {
    margin: 0 auto;
    width: 30px;
    height: 30px;
}

.nav-openBtn {
    width: 40px;
    height: 40px;
}

/* header pc */
@media screen and (min-width: 769px),(orientation: landscape) {
    .header {
        height: 80px;
    }

    .header__nav {
        height: auto;
        background-color: transparent;
        position: static;
        z-index: auto;
        transform: translateY(0%);
    }
    
    .nav-wrapper {
        width: auto;
        height: auto;
        display: block;
        position: static;
    }
    
    .nav-wrapper::before {
        content: none;
    }
    
    .nav {
        background-color: transparent;
        display: block;
        padding: 0;
        aspect-ratio: auto;
        width: auto;
        box-shadow: none;
        z-index: auto;
    }
    
    .nav-closeBtn {
        display: none;
    }
    
    .nav__list {
        display: flex;
        flex-direction: row;
        gap: 80px
    }

    .nav__item {
        padding-bottom: 10px;
        position: relative;
    }

    .nav__item::after{
        content: '';
        width: 100%;
        height: 1px;
        background-color: var(--white);
        position: absolute;
        left: 0;
        bottom: 0;
        transform-origin: right top;
        transform: scale(0, 1);
        transition: transform 0.2s;
    }

    .nav__item:hover::after {
        transform-origin: left top;
        transform: scale(1, 1);
    }

    .nav__item a {
        color: var(--white);
        font-size: 1.2rem;
        position: static;
    }
    
    .nav__item div {
        display: none;
    }

    .nav__item span {
        display: none;
    }
    
    .nav__logo, .nav-openBtn {
        display: none;
    }
}/* pc 769px */

/* ====================
footer
==================== */
.footer {
    background-color: var(--black);
    padding: 15px var(--contentPadding);
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.copy {
    color: var(--white);
    font-family: var(--sub-font);
    font-size: clamp(1.0rem, 0.97vw, 1.4rem);
    font-weight: 300;
    font-synthesis: 1.5;
}

.pageTop {
    padding: clamp(5px, 0.69vw, 10px) clamp(15px, 2.08vw, 30px);
    color: var(--white);
    font-family: var(--sub-font);
    font-size: clamp(1.2rem, 1.11vw, 1.6rem);
    font-weight: 300;
    font-synthesis: 1.5;
    border: 1px solid var(--white);
    border-radius: 30px;
    transform: all 0.4s;
}

.pageTop.hover {
    color: var(--black);
    background-color: var(--white);
}

/* js */
.js-sv01 {
    opacity: 0;
    transform: translate(-100%, 0);
}

.js-sv02 {
    opacity: 0;
}

.js-sv03{
    opacity: 0;
    transform: translate(0, -100%);
}

.js-wv01 {
    opacity: 0;
    transform: translate((-50px, 0));
}

.js-wv02 {
    opacity: 0;
    transform: translate((0, 50px));
}

.js-wv03 {
    opacity: 0;
}

.js-wv04 {
    opacity: 0;
    transform: translate((0, -100%));
}

.js-fadeIn {
    opacity: 0;
    transform: translate(0, 30px);
}