@charset "utf-8";

/* ==============================================================
   COMMON
============================================================== */

:root {
    --text: #323232;
    --green: #00B38F;
    --gray: #6B6E71;
    --lightgray: #D9D9D9;
    --white: #FFFFFF;
    --background-beige: #F6F2EA;
    --header-height: clamp(80px, 10vw, 110px);

    /* 500px → 20px / 1920px → 72px */

    --side-padding: clamp(20px, calc(1.408px + 3.662vw), 72px);
}

html {
    scroll-behavior: smooth;
    font-size: 100%;
    touch-action: manipulation;
    /* SPのダブルタップ拡大を抑える */
}

html,
body {
    overflow-x: hidden;
}

body {
    font-family: "Zen Kaku Gothic New", "Noto Sans JP", sans-serif;
    font-optical-sizing: auto;
    font-style: normal;
    color: var(--text);
    letter-spacing: 0.08em;
}

.number {
    font-family: "Akshar", roboto, sans-serif;
}

.background-gradation {
    position: relative;
    background:
        linear-gradient(135deg,
            rgba(0, 228, 168, 0.15) 0%,
            rgba(0, 211, 171, 0.04) 15%,
            rgba(0, 201, 174, 0.02) 30%,
            #FFFDFC 100%);

    @media (max-width: 480px) {
        background:
            linear-gradient(135deg,
                rgba(0, 228, 168, 0.1) 0%,
                rgba(0, 211, 171, 0.04) 10%,
                rgba(0, 201, 174, 0.02) 15%,
                #FFFDFC 100%);
    }
}

.show {
    opacity: 0;
    transform: translateY(30px);
    transition:
        opacity 0.6s ease,
        transform 0.6s ease;

    &.fade-in {
        opacity: 1;
        transform: translateY(0);
    }
}

/* ================ CONTAINER COMMON ================ */

.container {
    width: min(calc(100% - clamp(40px, calc(20.62vw - 63.1px), 240px)),
            1440px);
    margin-inline: auto;
}

.section-title {
    display: flex;
    align-items: stretch;
    gap: 1rem;

    .section-title-slash {
        width: 64px;
        flex-shrink: 0;
        background-image: url("../img/top/slash.svg");
        background-repeat: no-repeat;
        background-position: center;
        background-size: contain;
    }

    .section-title-en {
        font-size: clamp(14px, 1.5vw, 16px);
        font-weight: 500;
        color: var(--gray);
        line-height: 1.4;
    }

    .section-title-ja {
        font-size: clamp(24px, 3vw, 32px);
        font-weight: 700;
        line-height: 1.4;
    }
}


.btn {
    a {
        position: relative;
        overflow: hidden;
        z-index: 0;
        display: flex;
        align-items: center;
        justify-content: space-between;
        width: min(260px, 100%);
        padding: 16px 28px;
        border: 1px solid var(--text);
        border-radius: 50px;
        background-color: var(--text);
        color: var(--white);
        font-size: 1rem;
        letter-spacing: 0.08em;
        transition: color 0.5s ease;
    }

    a::before {
        content: "";
        position: absolute;
        z-index: -1;
        top: 0;
        left: -10%;
        width: 130%;
        height: 100%;
        background-color: var(--white);
        transform: translateX(-100%) skewX(-45deg);
        transition: transform 0.4s cubic-bezier(0.76, 0, 0.24, 1);
    }

    @media (hover: hover) and (pointer: fine) {
        a:hover {
            color: var(--text);
        }

        a:hover::before {
            transform: translateX(0) skewX(-45deg);
        }

        .fa-arrow-right-long {
            font-size: 1.125rem;
            transition: transform 0.3s ease;
        }

        a:hover i {
            transform: translateX(4px);
        }
    }
}

/* ==============================================================
   BODY
============================================================== */

/* ================ HEADER ================ */

header {
    height: var(--header-height);
    font-weight: 500;
    font-size: 0.875rem;
    letter-spacing: 0.08em;

    .header-inner {
        width: 100%;
        height: 100%;
        padding-inline: var(--side-padding);
        display: flex;
        align-items: center;
        justify-content: space-between;
    }

    .header-logo {
        width: clamp(80px, 10vw, 110px);
        flex: 0 0 auto;
        z-index: 100;
    }

    .header-nav {
        display: flex;
        align-items: center;
        gap: clamp(24px, 3vw, 48px);
    }

    .header-list {
        display: flex;
        align-items: center;
        gap: clamp(24px, 3vw, 48px);
    }

    .header-list li a {
        position: relative;
        display: inline-block;
        padding-bottom: 4px;
        transition: color 0.3s ease;
    }

    .header-list li a::after {
        content: "";
        position: absolute;
        left: 0;
        bottom: 0;
        width: 100%;
        height: 1px;
        background-color: var(--green);
        transform: scaleX(0);
        transform-origin: left;
        transition: transform 0.15s ease;
    }

    @media (hover: hover) and (pointer: fine) {
        .header-list li a:hover {
            color: var(--green);
        }

        .header-list li a:hover::after {
            transform: scaleX(1);
        }
    }

    .header-contact {
        position: relative;
        overflow: hidden;
        z-index: 0;
        padding: 12px 40px;
        border: 1px solid var(--green);
        border-radius: 50px;
        color: var(--white);
        background-color: var(--green);
        transition: color 0.5s ease;
    }

    .header-contact::before {
        content: "";
        position: absolute;
        z-index: -1;
        top: 0;
        left: -10%;
        width: 130%;
        height: 100%;
        background-color: var(--white);
        transform: translateX(-100%) skewX(-45deg);
        transition: transform 0.4s cubic-bezier(0.76, 0, 0.24, 1);
    }

    @media (hover: hover) and (pointer: fine) {
        .header-contact:hover {
            color: var(--green);
        }

        .header-contact:hover::before {
            transform: translateX(0) skewX(-45deg);
        }
    }
}

/* ================ FV ================ */

.fv {
    height: calc(100dvh - var(--header-height));
    position: relative;

    .fv-img {
        z-index: 1;
        position: absolute;
        inset: 0 0 0 clamp(60px,
                calc(20vw - 40px),
                340px);
        overflow: hidden;
        border-radius: clamp(100px, 11vw, 170px) 0 0 0;
    }

    .fv-img::after {
        content: "";
        position: absolute;
        inset: 0;
        background: linear-gradient(135deg,
                rgba(204, 255, 241, 0.25) 0%,
                rgba(204, 255, 241, 0.05) 40%,
                rgba(255, 255, 255, 0) 100%);
    }

    .fv-img img {
        width: 100%;
        height: 100%;
        object-fit: cover;
        object-position: center 53%;
    }

    .fv-copy {
        z-index: 2;
        position: absolute;
        left: var(--side-padding);
        bottom: 56px;
        font-size: clamp(44px, 4vw, 48px);
        line-height: 1.35;
        font-weight: 700;
        letter-spacing: 0.05em;
    }

    .fv-copy span {
        display: table;
        margin-top: 7px;
        padding: 0.05em 0.22em 0.12em;
        background: var(--white);
        box-shadow: 0 4px 15px rgba(0, 0, 0, .04);
    }

    .fv-copy-bottom {
        color: var(--green);
    }

    .fv-scroll {
        position: absolute;
        left: var(--side-padding);
        top: 45%;
        transform: translate(-50%, -50%);
        height: 180px;
        display: flex;
        flex-direction: column;
        align-items: center;
        z-index: 3;
    }

    .fv-scroll span:first-child {
        color: var(--green);
        font-size: 11px;
        font-weight: 500;
        letter-spacing: 0.08em;
        writing-mode: vertical-rl;
    }

    .fv-scroll-line {
        position: relative;
        width: 1px;
        flex: 1;
        margin-top: 10px;
        background-color: rgba(0, 179, 143, 0.22);
        overflow: hidden;
    }

    .fv-scroll-line::after {
        content: "";
        position: absolute;
        top: -42px;
        left: 0;
        width: 1px;
        height: 42px;
        background-color: var(--green);
        animation: fv-scroll-line 2.2s cubic-bezier(0.45, 0, 0.25, 1) infinite;
    }
}

@keyframes fv-scroll-line {
    0% {
        transform: translateY(0);
    }

    75% {
        transform: translateY(190px);
    }

    100% {
        transform: translateY(190px);
    }
}

/* ヘッダーロード */

@keyframes header-in {
    100% {
        opacity: 1;
        transform: translateY(0);
    }
}

/* ================ ABOUT ================ */

.about {
    position: relative;
    overflow: hidden;

    &::before {
        content: "";
        position: absolute;
        z-index: 0;
        width: 2000px;
        height: 300px;
        right: -640px;
        bottom: 210px;
        background: linear-gradient(90deg,
                #00AEB4 0%,
                #00E4A8 100%);
        transform: rotate(-45deg);
    }

    .about-inner {
        position: relative;
        z-index: 1;
        min-height: 684px;
        margin: 140px auto;
    }

    .about-content {
        position: relative;
        z-index: 3;
        width: 48%;
        padding-top: 150px;
    }

    .about-text {
        margin-top: 80px;
        font-weight: 500;
        line-height: 2;
        letter-spacing: 0.1em;
    }

    .about-text p {
        margin-top: 26px;
    }

    .about-text p:first-child {
        margin-top: 0;
    }

    .about-images {
        position: absolute;
        z-index: 2;
        top: 50%;
        right: -40px;
        width: clamp(530px, 50vw, 820px);
        aspect-ratio: 820 / 684;
        transform: translateY(-50%);
        pointer-events: none;
    }

    .about-img {
        position: absolute;
        overflow: hidden;
        border-radius: 5px;
    }

    .about-img img {
        display: block;
        width: 100%;
        height: 100%;
        object-fit: cover;
    }

    .about-img01 {
        top: 0;
        right: 8%;
        width: 32%;
        aspect-ratio: 1.4 / 1;
        transition-delay: 0s;
    }

    .about-img02 {
        top: 22%;
        left: 0;
        width: 34%;
        aspect-ratio: 1.4 / 1;
        transition-delay: 0.3s;
    }

    .about-img03 {
        right: 0;
        bottom: 0;
        width: 68%;
        aspect-ratio: 1.58 / 1;
        transition-delay: 0.6s;
    }
}


/* ================ SERVICE ================ */

.service {
    background-image: url(../img/top/service_img.jpg);
    background-repeat: no-repeat;
    background-size: cover;

    .service-inner {
        padding: 100px 0;
        display: flex;
        flex-direction: column;
        gap: 2.5rem;
    }

    .service-lead {
        font-size: 0.875rem;
        line-height: 1.75;
    }

    .service-list {
        display: grid;
        grid-template-columns: 1fr 1fr;
        gap: 0.5rem;
    }

    .service-item {
        background-color: var(--white);
        border-radius: 8px;
        transition: opacity 1s ease, transform 0.3s ease,
            box-shadow 0.3s ease;

        @media (hover: hover) and (pointer: fine) {
            &:hover {
                transform: translateY(-2px);
                box-shadow: 0 10px 28px rgba(50, 50, 50, 0.08);
            }
        }
    }

    .service-link {
        display: flex;
        align-items: stretch;
        gap: 1.75rem;
        padding: 2rem 1.5rem;
    }

    .service-icon {
        width: 4rem;
        flex-shrink: 0;
        display: flex;
        align-items: center;
        justify-content: center;
    }

    .service-icon img {
        max-width: 100%;
        max-height: 100%;
    }

    .service-item-content {
        display: flex;
        flex-direction: column;
        gap: 0.875rem;
    }

    .service-item-title {
        color: var(--green);
        font-size: 1.5rem;
        font-weight: 500;
    }

    .service-item-text {
        font-size: 0.875rem;
        line-height: 1.75;
    }
}

/* ================ RECRUIT ================ */

.recruit {
    .recruit-inner {
        margin: 140px auto;
        display: grid;
        grid-template-columns: 1fr 1fr;
        gap: 5rem;
    }

    .recruit-content {
        display: flex;
        flex-direction: column;
        justify-content: center;
        gap: 2.5rem;
    }

    .recruit-text {
        line-height: 2;
        letter-spacing: 0.1em;
    }

    .recruit-image {
        overflow: hidden;
        border-radius: 8px;
    }

    .recruit-image img {
        width: 100%;
        height: 100%;
        object-fit: cover;
    }
}

/* ================ CONTACT ================ */

.contact {
    position: relative;
    background-image: url("../img/top/contact-bg.jpg");
    background-repeat: no-repeat;
    background-position: center bottom;
    background-size: cover;

    .contact-inner {
        min-height: 460px;
        display: flex;
        align-items: center;
        justify-content: space-between;
    }

    .contact-content {
        width: 50%;
        display: flex;
        flex-direction: column;
        align-items: center;
        gap: 2.25rem;
    }

    .contact-tel {
        display: flex;
        flex-direction: column;
        align-items: center;
    }

    .contact-tel-main {
        display: flex;
        align-items: center;
        gap: 1rem;
    }

    .contact-tel-main .fa-phone {
        color: var(--green);
        font-size: 1.875rem;
    }

    .contact-tel-main a {
        white-space: nowrap;
        font-family: "Akshar", sans-serif;
        font-size: 3rem;
        font-weight: 500;
        line-height: 1;
        letter-spacing: 0.02em;
        transition: color 0.3s ease;
    }

    @media (hover: hover) and (pointer: fine) {
        .contact-tel-main a:hover {
            color: var(--green);
        }
    }

    .contact-btn {
        white-space: nowrap;
        position: relative;
        overflow: hidden;
        z-index: 0;
        border: 1px solid var(--green);
        border-radius: 50px;
        color: var(--white);
        background-color: var(--green);
        transition: color 0.5s ease;
    }

    .contact-btn a {
        display: flex;
        align-items: center;
        justify-content: center;
        gap: 0.75rem;
        padding: 12px clamp(32px, 7vw, 56px);
    }

    .contact-btn::before {
        content: "";
        position: absolute;
        z-index: -1;
        top: 0;
        left: -10%;
        width: 130%;
        height: 100%;
        background-color: var(--white);
        transform: translateX(-100%) skewX(-45deg);
        transition: transform 0.4s cubic-bezier(0.76, 0, 0.24, 1);
    }

    @media (hover: hover) and (pointer: fine) {
        .contact-btn:hover {
            color: var(--green);
        }

        .contact-btn:hover::before {
            transform: translateX(0) skewX(-45deg);
        }
    }
}

/* ================ footer ================ */

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

    .footer-main {
        display: flex;
        justify-content: space-between;
        align-items: center;
        padding: 80px 0 48px;
    }

    .footer-info {
        display: flex;
        justify-content: space-between;
        flex-direction: column;
        gap: 3.5rem;
    }

    .footer-logo {
        width: clamp(100px, 10vw, 130px);
    }

    .footer-address p,
    .footer-address a {
        font-size: 0.875rem;
    }

    .footer-sns {
        display: flex;
        align-items: center;
    }

    .footer-sns p {
        font-size: 0.875rem;
        font-weight: 700;
    }

    .footer-sns a {
        color: var(--green);
        font-size: 1.5rem;
    }

    .footer-list {
        display: flex;
        flex-direction: column;
        align-items: flex-end;
        gap: 1.5rem;
    }

    .footer-list li a {
        font-size: 0.875rem;
        position: relative;
        display: inline-block;
        padding-bottom: 4px;
        transition: color 0.3s ease;
    }

    .footer-list li a::after {
        content: "";
        position: absolute;
        left: 0;
        bottom: 0;
        width: 100%;
        height: 1px;
        background-color: var(--green);
        transform: scaleX(0);
        transform-origin: left;
        transition: transform 0.15s ease;
    }

    @media (hover: hover) and (pointer: fine) {
        .footer-list li a:hover {
            color: var(--green);
        }

        .footer-list li a:hover::after {
            transform: scaleX(1);
        }
    }

    .footer-bottom {
        position: relative;
        padding: 2.5rem 0;
        display: flex;
        justify-content: space-between;
    }

    .footer-bottom::before {
        content: "";
        position: absolute;
        top: 0;
        left: 50%;
        width: 100vw;
        height: 1px;
        background-color: var(--lightgray);
        transform: translateX(-50%);
    }

    .footer-bottom a,
    .footer-bottom p {
        font-size: 0.75rem;
    }
}

/* ==============================================================
   HAMBURGER MENU
============================================================== */

.header-menu-btn,
.sp-menu {
    display: none;
}

/* ==============================================================
   RESPONSIVE
============================================================== */

/* ==============================
   801px〜1100px（Aboutのみ）
============================== */

@media (min-width: 801px) and (max-width: 1100px) {
    .about {
        &::before {
            right: -900px;
            bottom: 130px;
        }

        .about-inner {
            min-height: 600px;
            margin: 80px auto;
        }

        .about-content {
            width: 50%;
            padding-top: 90px;
        }

        .about-text {
            margin-top: 48px;
            font-size: 0.875rem;
            letter-spacing: 0.06em;
        }

        .about-text br {
            display: none;
        }

        .about-images {
            right: -20px;
            width: 48%;
        }
    }
}

/* ==============================
   800px以下
============================== */

@media (max-width: 800px) {

    html.is-menu-open,
    body.is-menu-open {
        overflow: hidden;
    }

    /* PCメニュー非表示 */

    header {
        .header-nav {
            display: none;
        }
    }

    /* ハンバーガーメニュー */

    .header-menu-btn {
        position: relative;
        z-index: 100;
        display: block;
        width: 44px;
        height: 44px;
        border: 0;
        background-color: transparent;

        span {
            position: absolute;
            left: 8px;
            top: 21px;
            width: 28px;
            height: 1px;
            border-radius: 999px;
            background-color: var(--text);
            transition: top 0.3s ease, transform 0.3s ease, opacity 0.3s ease;
        }

        span:nth-child(1) {
            top: 11px;
        }

        span:nth-child(3) {
            top: 31px;
        }

        &.is-open span:nth-child(1) {
            top: 21px;
            transform: rotate(45deg);
        }

        &.is-open span:nth-child(2) {
            opacity: 0;
        }

        &.is-open span:nth-child(3) {
            top: 21px;
            transform: rotate(-45deg);
        }
    }

    /* メニュー表示 */

    .sp-menu {
        position: fixed;
        inset: 0;
        z-index: 10;
        overflow-y: auto;
        padding: calc(var(--header-height) + 36px) var(--side-padding) 40px;
        background-color: var(--white);
        background:
            radial-gradient(circle at 100% 100%,
                rgba(0, 179, 143, 0.16) 0%,
                transparent 42%),
            linear-gradient(140deg,
                var(--white) 0%,
                var(--white) 58%,
                #eef8f5 78%,
                #f6f2ea 100%);
        display: block;
        transform: translateX(100%);
        opacity: 0;
        pointer-events: none;
        transition: transform 0.35s ease, opacity 0.35s ease;

        &.is-open {
            transform: translateX(0);
            opacity: 1;
            pointer-events: auto;
        }

        nav li {
            border-bottom: 1px solid var(--lightgray);
        }

        nav li a {
            display: flex;
            align-items: center;
            justify-content: space-between;
            min-height: 54px;
            font-size: 0.875rem;
            font-weight: 400;
            transition: color 0.25s ease;
        }

        @media (hover: hover) and (pointer: fine) {
            nav li a:hover {
                color: var(--green);
            }

            nav li a:hover::after {
                border-color: var(--green);
                transform: translateX(4px) rotate(45deg);
            }
        }

        nav li a::after {
            content: "";
            width: 7px;
            height: 7px;
            margin-right: 7px;
            border-top: 1px solid var(--text);
            border-right: 1px solid var(--text);
            transform: translateX(0) rotate(45deg);
            transition:
                transform 0.25s ease, border-color 0.25s ease;
        }

        .sp-menu-sns {
            display: flex;
            align-items: center;
            justify-content: space-between;
            width: 100%;
            min-height: 54px;
            font-size: 0.875rem;
            font-weight: 400;
            transition: color 0.25s ease;
        }

        .sp-menu-sns i {
            color: var(--green);
            font-size: 1.5rem;
            transition: transform 0.25s ease;
        }

        @media (hover: hover) and (pointer: fine) {
            .sp-menu-sns:hover {
                color: var(--green);
            }

            .sp-menu-sns:hover i {
                transform: translateX(4px);
            }
        }

        .sp-menu-contact {
            position: relative;
            overflow: hidden;
            z-index: 0;
            display: flex;
            align-items: center;
            justify-content: center;
            min-height: 44px;
            margin-top: 42px;
            border: 1px solid var(--green);
            border-radius: 999px;
            background-color: var(--green);
            color: var(--white);
            font-size: 0.875rem;
            font-weight: 500;
            transition: color 0.5s ease;
        }

        .sp-menu-contact::before {
            content: "";
            position: absolute;
            z-index: -1;
            top: 0;
            left: -10%;
            width: 130%;
            height: 100%;
            background-color: var(--white);
            transform: translateX(-100%) skewX(-45deg);
            transition: transform 0.4s cubic-bezier(0.76, 0, 0.24, 1);
        }

        @media (hover: hover) and (pointer: fine) {
            .sp-menu-contact:hover {
                color: var(--green);
            }

            .sp-menu-contact:hover::before {
                transform: translateX(0) skewX(-45deg);
            }
        }
    }

    .section-title {
        gap: 0.75rem;

        .section-title-slash {
            width: clamp(36px, 6vw, 48px);
        }
    }

    .btn {
        a {
            font-size: 0.875rem;
        }
    }

    .fv {
        height: calc(100svh - var(--header-height));

        .fv-copy {
            font-size: clamp(40px, 7vw, 44px);
        }
    }

    .about {
        background: linear-gradient(135deg,
                #f4fbf8 0%,
                #ffffff 38%);

        /* 右下の斜め線 */
        &::before {
            --stripe-height: clamp(220px, 75vw, 430px);
            --stripe-thickness: clamp(120px, 42vw, 240px);
            width: 100%;
            height: var(--stripe-height);
            right: 0;
            bottom: 0;
            transform: none;
            clip-path: polygon(100% 0,
                    100% var(--stripe-thickness),
                    calc(100% - var(--stripe-height) + var(--stripe-thickness)) 100%,
                    calc(100% - var(--stripe-height)) 100%);
        }

        .about-inner {
            width: 100%;
            min-height: clamp(456px, 154vw, 680px);
            margin: clamp(56px, 18vw, 72px) auto;
        }

        .about-content {
            isolation: isolate;
            width: 100%;
            padding:
                clamp(64px, 21vw, 84px) var(--side-padding) 0;
        }

        .about-content::before {
            content: "";
            position: absolute;
            z-index: -1;
            top: -40px;
            left: -30%;
            width: 160%;
            height: calc(100% + 110px);
            background: radial-gradient(circle clamp(240px, 100vw, 500px) at 42% 57%,
                    rgba(255, 255, 255, 1) 0%,
                    rgba(255, 255, 255, 0.9) 40%,
                    rgba(255, 255, 255, 0.6) 65%,
                    rgba(255, 255, 255, 0.2) 82%,
                    rgba(255, 255, 255, 0) 100%);
            filter: blur(24px);
            pointer-events: none;
        }

        .about-text {
            margin-top: clamp(24px, 7vw, 32px);
            font-size: 0.875rem;
            letter-spacing: 0.06em;
        }

        .about-images {
            inset: 0;
            width: 100%;
            height: 100%;
            aspect-ratio: auto;
            transform: none;
            opacity: 0.65;
        }

        .about-img01 {
            top: 0;
            right: 0;
            bottom: auto;
            left: auto;
            width: clamp(120px, 43vw, 300px);
            aspect-ratio: 4 / 3;
            transition-delay: 0s;
        }

        .about-img02 {
            display: none;
        }

        .about-img03 {
            top: auto;
            right: auto;
            bottom: 0;
            left: 0;
            width: clamp(110px, 35vw, 210px);
            aspect-ratio: 0.85 / 1;
            transition-delay: 0s;
        }

        .about-img03 img {
            object-position: center;
        }
    }

    .service {
        .service-inner {
            gap: 1.5rem;
            padding: clamp(48px, 10vw, 80px) 0;
        }

        .service-list {
            grid-template-columns: 100%;
        }
    }

    .service {
        background-image: none;
        background-color: var(--background-beige);
    }

    .recruit {
        .recruit-inner {
            margin: clamp(56px, 10vw, 80px) auto;
            grid-template-columns: 1fr;
            grid-template-areas:
                "title"
                "image"
                "text"
                "button";
            gap: 1.5rem;
        }

        .recruit-content {
            display: contents;
        }

        .recruit-content .section-title {
            grid-area: title;
        }

        .recruit-text {
            grid-area: text;
            font-size: 0.875rem;
            letter-spacing: 0.06em;
        }

        .recruit-content .btn {
            grid-area: button;
        }

        .recruit-image {
            grid-area: image;
        }
    }

    .contact {
        padding: clamp(48px, 8vw, 64px) 0;

        .contact-inner {
            min-height: auto;
            flex-direction: column;
            gap: 2rem;
        }

        .contact-content {
            gap: 1.75rem;
        }

        .contact-tel-main .fa-phone {
            font-size: clamp(24px, 4vw, 30px);
        }

        .contact-tel-main a {
            font-size: clamp(36px, 10vw, 48px);
        }

        .contact-hours {
            font-size: 0.875rem;
        }

        .contact-btn a {
            font-size: 0.875rem;
        }
    }
}

/* ==============================
   600px以下
============================== */

@media (max-width: 600px) {
    .about {
        .about-inner {
            min-height: clamp(620px, 165vw, 680px);
        }

        .about-text br {
            display: none;
        }

        .about-img03 {
            bottom: clamp(30px, 11vw, 44px);
        }
    }

    .recruit {
        .recruit-text br {
            display: none;
        }
    }

    .contact {
        .contact-inner {
            align-items: center;
            justify-content: center;
        }

        .contact-content {
            width: 100%;
            align-items: center;
        }
    }

    .footer {
        .footer-main {
            flex-direction: column;
            align-items: flex-start;
            padding: 40px 0 24px;
        }

        .footer-info {
            gap: 1rem;
        }

        .footer-nav {
            width: 100%;
            margin-top: 1rem;
        }

        .footer-list {
            align-items: flex-start;
            gap: 0;
        }

        .footer-list li {
            width: 100%;
        }

        .footer-list li:not(:last-child) {
            border-bottom: 1px solid var(--lightgray);
        }

        .footer-list li a {
            padding: 14px 0;
            display: flex;
            align-items: center;
            justify-content: space-between;
            width: 100%;
        }

        .footer-list li a::after {
            position: static;
            content: "";
            display: block;
            width: 7px;
            height: 7px;
            margin-right: 7px;
            border-top: 1px solid var(--text);
            border-right: 1px solid var(--text);
            background: none;
            transform: rotate(45deg);
            transition:
                transform 0.25s ease,
                border-color 0.25s ease;
        }

        @media (hover: hover) and (pointer: fine) {
            .footer-list li a:hover {
                color: var(--green);
            }

            .footer-list li a:hover::after {
                border-color: var(--green);
                transform: translateX(4px) rotate(45deg);
            }
        }

        .footer-bottom {
            padding: 1rem 0;
            gap: 12px;
            row-gap: 8px;
            flex-wrap: wrap;
        }
    }
}

/* ==============================
   480px以下
============================== */

@media (max-width: 480px) {
    .btn {
        a {
            width: min(240px, 100%);
            padding: 14px 24px;
        }
    }

    .fv {
        .fv-scroll {
            left: 30px;
        }

        .fv-copy {
            bottom: 40px;
            font-size: clamp(24px, 8vw, 32px);
        }
    }

    .service {
        .service-lead {
            font-size: 0.8125rem;
            line-height: 1.7;
        }

        .service-link {
            gap: 0.5rem;
            padding: 1rem;
        }

        .service-icon {
            width: 3rem;
        }

        .service-item-content {
            gap: 0.25rem;
        }

        .service-item-title {
            font-size: 1.125rem;
        }

        .service-item-text {
            font-size: 0.8125rem;
            line-height: 1.7;
        }
    }

    .recruit {
        .recruit-text {
            line-height: 1.8;
        }
    }
}

/* ==============================================================
   ERROR
============================================================== */

.error-visual {
    background:
        linear-gradient(90deg,
            rgba(255, 255, 255, 1) 0%,
            rgba(255, 255, 255, 0.98) 28%,
            rgba(235, 253, 249, 0.84) 52%,
            rgba(0, 179, 143, 0.24) 100%);

    background-repeat: no-repeat;
    background-position: center;
    background-size: cover;
}

.error-page-inner {
    display: flex;
    flex-direction: column;
    gap: 2rem;

    .error-page--text-area {
        .error-page-title {
            font-size: clamp(20px, 5vw, 40px);
            font-weight: 500;
            margin-bottom: 1rem;
        }
    }
}


.error-page {
    margin: 120px 0;
}