* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

html,
body {
    min-width: 320px;
    overflow-x: hidden;
}

html {
    scroll-behavior: smooth;
    scrollbar-gutter: stable;
}

body {
    font-family:
        "Yu Gothic",
        "Yu Gothic UI",
        "Hiragino Sans",
        sans-serif;
    font-size: 15px;
    line-height: 1.9;
    letter-spacing: .03em;
    font-weight: 400;
    color: #1D1D1F;
    background: #fff;
    -webkit-font-smoothing: antialiased;
}

img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
}

a {
    color: inherit;
    text-decoration: none;
    position: relative;
    display: inline-block;
}

a:hover::after {
    transform: scaleX(1);
}

a:not(.no-line)::after {
    content: "";

    position: absolute;
    left: 0;
    bottom: -4px;

    width: 100%;
    height: 1px;

    background: #1D1D1F;

    transform: scaleX(0);
    transform-origin: center;

    transition: transform .35s ease;
}

.logo a:hover::after,
.works a:hover::after {
    display: none;
}

.text {
    text-align: center;
    margin-bottom: 20px;
}

.text_l {
    text-align: left;
    margin-bottom: 20px;
}

.container {
    width: min(92%, 1100px);
    margin: auto;
}

.section {
    padding: 130px 0;
}

.section__title {
    position: relative;
    padding-left: 32px;
    font-size: clamp(18px, 4vw, 20px);
    line-height: 1.2;
    letter-spacing: -.03em;
    font-weight: 500;
    margin-bottom: 40px;
    color: #000000;
}

.section__title::before {
    content: "";
    position: absolute;
    top: 50%;
    left: 0;
    width: 24px;
    height: 1px;
    background: #000000;

    transform: translateY(-50%);

    opacity: .4;
}





/* =========================
HEADER
========================= */

.header {
    position: absolute;
    top: 15px;
    left: 0;
    width: 100%;
    height: 0;
}

.header__inner {
    width: min(92%, 1200px);
    height: 72px;
    margin: auto;
    display: flex;
    align-items: center;
    justify-content: space-between;
}

/* ロゴ（流れる・固定なし） */
.logo {
    top: 16px;
    left: 16px;
    z-index: 2000;
    display: inline-block;
}

.logo img {
    width: 60px;
    height: auto;
}

/* =========================
NAV（オーバーレイ固定）
========================= */

.nav {
    position: fixed;
    inset: 0;

    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;

    gap: 32px;

    background: rgba(255, 255, 255, 0.96);

    opacity: 0;
    visibility: hidden;
    pointer-events: none;

    transition: opacity .4s ease, visibility .4s ease;

    z-index: 1000;
}

.nav.active {
    opacity: 1;
    visibility: visible;
    pointer-events: auto;
}

.nav a {
    font-size: clamp(22px, 5vw, 30px);
    letter-spacing: -.03em;
}

/* =========================
HAMBURGER（固定UI）
========================= */

.hamburger {
    position: fixed;
    top: 24px;
    right: 24px;

    width: 40px;
    height: 40px;

    border: none;
    background: none;

    cursor: pointer;

    z-index: 9999;
}

.hamburger span {
    position: absolute;
    left: 50%;

    width: 18px;
    height: 1px;

    background: #111;

    transition: .4s ease;
}

.hamburger span:nth-child(1) {
    top: 16px;
    transform: translateX(-50%);
}

.hamburger span:nth-child(2) {
    top: 23px;
    transform: translateX(-50%);
}

/* open */
.hamburger.active span:nth-child(1) {
    top: 20px;
    transform: translateX(-50%) rotate(45deg);
}

.hamburger.active span:nth-child(2) {
    top: 20px;
    transform: translateX(-50%) rotate(-45deg);
}

/* =========================
LOGO状態（メニュー時だけ）
========================= */

body.menu-open .logo {
    opacity: 0.08;
}




.hero {
    position: relative;
    min-height: 100svh;
    display: flex;
    align-items: center;
    justify-content: center;
    background: #F0F0F0;
}

.main_imagebox {
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    gap: 25px;
}

.main_image {
    width: 25%;
}

.main_phrase {
    width: 45%;
}

/* =========================
scroll down
========================= */

.scroll-down {
    position: absolute;

    left: 50%;
    bottom: 32px;

    transform: translateX(-50%);

    z-index: 10;
}

.scroll-down a {
    display: flex;
    flex-direction: column;
    align-items: center;

    gap: 12px;
}

.scroll-text {
    font-size: 10px;
    letter-spacing: .25em;

    opacity: .5;
}

.scroll-line {
    width: 1px;
    height: 36px;

    background: #111;

    opacity: .5;

    animation: scrollLine 1.8s ease-in-out infinite;
}

@keyframes scrollLine {

    0% {
        transform: translateY(0);
        opacity: 0;
    }

    30% {
        opacity: .5;
    }

    100% {
        transform: translateY(12px);
        opacity: 0;
    }

}




#about {
    position: relative;
    /* min-height: 100svh; */
    
    display: flex;
    align-items: center;
}

#about .container {
    position: relative;
}

#about .text {
    font-size: 20px;
}

.about-cat {
    position: absolute;
    right: clamp(16px, 4vw, 40px);
    bottom: clamp(16px, 4vw, 40px);
    width: clamp(80px, 13vw, 130px);
    height: auto;
    object-fit: contain;
    pointer-events: none;
    transition: 0.5s;
}





.movie_box {
    position: relative;

    width: 100%;
    /* height: 100svh; */
    height: 50svh;

    overflow: hidden;

    transition: 0.5s;
}

.movie_box::after {
    content: "";

    position: absolute;
    inset: 0;

    background: rgba(0, 0, 0, .12);
    filter: saturate(.9) contrast(.95);
}

.hero-video {
    width: 100%;
    height: 100%;

    object-fit: cover;
    object-position: center 35%;
    display: block;
}



.works {
    display: grid;
    justify-content: center;
    gap: 15px;
    transition: 0.5s;
}


.works a {
    transition: 0.5s;
}

.works a:hover {
    transform: scale(1.05);
    transition: 0.5s;
}

.work_image_box {
    display: flex;
    justify-content: center;
    align-content: center;
    align-items: center;
    gap: clamp(16px, 3vw, 40px);

    flex-wrap: wrap;
    margin-bottom: 40px;
}

.work_image_box a {
    display: block;
}

.work_image {
    width: clamp(120px, 22vw, 240px);
    aspect-ratio: 1 / 1;

    border-radius: 50%;

    overflow: hidden;

    background: #F0F0F0;

    transition:
        transform .4s ease,
        opacity .4s ease;
}

.work_image img[src$=".svg"] {
    padding: 16%;
    object-fit: contain;
}

.work_image:hover {
    transform: translateY(-6px) scale(1.03);
}

.work_image img {
    width: 100%;
    height: 100%;

    object-fit: cover;

    display: block;
}




.company_infobox {
    display: flex;
    gap: 20px;
    background: #F9F9F9;
    padding: 20px 40px;
}

.company {
    width: 50%;
    display: flex;
    flex-direction: column;
}

.company__item {
    padding: 10px 0;
}

.business-list {
    display: grid;
    gap: 5px;
    padding-left: 1.4em;
    line-height: 1.5;
}

.business-list li::marker {
    color: #888;
    font-size: .9em;
}

.notice {
    display: block;
    font-size: 12px;
}


#company .container {
    position: relative;
}



#contact .text {
    text-align: left;
}

.contact-cat {
    position: absolute;
    right: -10px;
    bottom: clamp(-280px, -42vw, -320px);
    width: clamp(110px, 16vw, 150px);
    height: auto;
    object-fit: contain;
    pointer-events: none;
    transform: scaleX(-1);
    z-index: 10;
    transition: 0.5s;
}


.button {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-width: 220px;
    height: 56px;
    border-radius: 999px;
    border: 1px solid rgba(0, 0, 0, .08);
    transition: .4s ease;
}

.button:hover {
    background: #111;
    color: #fff;
}








.footer {
    padding: 40px 10px 5px;
    text-align: center;
    font-size: 12px;
    background: #F0F0F0;
}

.footer__inner {
    margin: 10px 0 40px;
}

.footer__copy {
    margin: 0;
    padding: 0;
    text-align: right;
}

.footer__image {
    width: 100px;
    margin: 0 auto 25px;
}

.footer__nav {
    display: flex;
    justify-content: center;
    gap: 20px;
}





/* mailform */

.gformbox {
    width: 100%;
    max-width: 900px;
    margin: 0 auto;
    overflow: hidden;
    border-radius: 12px;
}

.gformbox iframe {
    width: 90%;
    margin: 0 auto;
    display: block;
    border: none;
    transform: translateZ(0);
    overflow: hidden;
}

.contact-form {
    max-width: 100%;
    display: flex;
    flex-direction: column;
    align-items: center;
}

.form-group {
    display: grid;
    grid-template-columns: 180px 1fr;
    gap: 32px;
    padding: 0 0 20px;
    width: 100%;
}

.form-group label {
    padding-top: 14px;
    letter-spacing: .08em;
}

.form-group input,
.form-group textarea {
    width: 100%;
    border: none;
    background: transparent;
    border: 1px solid #D9D9D9;
    padding: 12px 0;
    font-family: inherit;
    font-weight: 500;
    outline: none;
    transition: .4s ease;
}

.form-group textarea {
    min-height: 180px;
    resize: vertical;
}

.form-group input:focus,
.form-group textarea:focus {
    border-color: #111;
}

.submit-button {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-width: 220px;
    height: 56px;
    margin-top: 56px;
    border-radius: 999px;
    border: 1px solid #1D1D1F;
    background: #fff;
    letter-spacing: .12em;
    cursor: pointer;
    transition: .4s ease;
}

.submit-button:hover {
    background: #111;
    color: #fff;
}

.require {
    color: #E54D4C;
}




@media (max-width:1080px) {

    .about-cat {

        right: 50%;
        bottom: clamp(-180px, -38vw, -200px);

        width: 120px;

        transform:
            translateX(50%);

    }

}



@media (max-width:768px) {

    .section {
        padding: 96px 0;
    }

    .company__item {
        grid-template-columns: 1fr;
        gap: 8px;
    }

    .form-group {
        grid-template-columns: 1fr;
        gap: 5px;
        padding: 10px 0;
    }

    .form-group label {
        padding-top: 0;
    }

    .company {
        width: 100%;
    }

    .contact-cat {
        bottom: clamp(-222px, -40vw, -280px);
    }

}


@media (max-width:600px) {

    #about .text {
        font-size: 16px;
    }

    .text {
        text-align: left;
    }

    .about-cat {
        width: 88px;
        bottom: clamp(-150px, -35vw, -160px);
    }

    .company_infobox {
        flex-direction: column;
        gap: 0px;
    }

    .company_infobox {
        padding: 20px 20px;
    }


    .movie_box {
        height: 66svh;
    }

    .hero-video {
        object-position: 40% 35%;
    }

    .gformbox {
        margin: 0 auto;
        border-radius: 10px;
    }

}


