/* Variables */

:root {
    --color-navy: #263743;
    --color-orange: #f0906d;
    --color-white: #fff;
    --color-light-gray: #f2f2f2;
    --color-light-blue: #f8fcfe;
    --color-dark-rgba: rgba(45, 51, 71, 0.9);
    --color-navy-transparent: rgba(38, 55, 67, 0.2);
    --color-coral-bg: #e78c6c;
    --color-dark-pink: #dc4750;
    --service-coral-bg: #e78c6c;
    --service-dark-pink: #dc4750;
    --service-white: #ffffff;
    --company-coral-bg: #e57a61;
    --company-dark-pink: #dc4750;
    --company-white: #ffffff;
    --font-primary: "Architype Renner Demi", serif;
    --font-secondary: "Antro Vectra", sans-serif;
    --font-japanese: "Noto Sans JP", sans-serif;
    --font-archetype: "Archetype", sans-serif;
    --font-jost: "Jost", sans-serif;
    --font-antro-vectra: "Antro Vectra", sans-serif;
    /* Layout */
    --container-width: clamp(20rem, 90vw, 75rem);
    /* 320px - 1200px */
    --common-width: 1280px;
    --border-radius-large: clamp(2rem, 4vw, 3.75rem);
    /* 32px - 60px */
    --border-radius-medium: clamp(1rem, 2vw, 1.5rem);
    /* 16px - 24px */
    --border-radius-small: 0.5rem;
    /* 8px */
    /* Spacing */
    --section-padding: clamp(3rem, 5vw, 5rem) 0;
    /* 48px - 80px */
    --section-padding-large: clamp(6rem, 10vw, 11.25rem) 0;
    /* 96px - 180px */
    /* Transitions */
    --transition-default: 0.3s ease;
}


/* Font Faces */

@font-face {
    font-family: "Archetype";
    src: url("../fonts/ArchitypeRenner-Medium.woff2") format("woff2"), url("../fonts/ArchitypeRenner-Medium.woff") format("woff"), url("../fonts/ArchitypeRenner-Medium.otf") format("opentype");
}

@font-face {
    font-family: "Antro Vectra";
    src: url("../fonts/Antro_Vectra.woff2") format("woff2"), url("../fonts/Antro_Vectra.woff") format("woff"), url("../fonts/Antro_Vectra.otf") format("opentype");
    font-weight: normal;
    font-style: normal;
}

@font-face {
    font-family: "Architype Renner Demi";
    src: url("../fonts/ArchitypeRenner-Demi.woff2") format("woff2"), url("../fonts/ArchitypeRenner-Demi.woff") format("woff"), url("../fonts/ArchitypeRenner-Demi.otf") format("opentype");
}

@font-face {
    font-family: "Jost Bold";
    src: url("../fonts/Jost-Bold.woff2") format("woff2"), url("../fonts/Jost-Bold.woff") format("woff"), url("../fonts/Jost-Bold.ttf") format("opentype");
}

@font-face {
    font-family: "Antro Vectra";
    src: url("../fonts/Antro_Vectra.woff2") format("woff2"), url("../fonts/Antro_Vectra.woff") format("woff"), url("../fonts/Antro_Vectra.otf") format("opentype");
}


/* Reset & Base Styles */

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

body {
    font-family: var(--font-primary);
    background-color: var(--color-light-gray) !important;
    line-height: 1.6;
    letter-spacing: 0.1rem;
    font-size: 1rem;
}


/* Typography Utilities */

.t-white {
    color: var(--color-white) !important;
}

.t-navy {
    color: var(--color-navy) !important;
}

.t-orange {
    color: var(--color-orange) !important;
}


/* Common Elements */

a {
    color: var(--color-navy);
    text-decoration: none;
    transition: opacity var(--transition-default);
}

a:hover {
    opacity: 0.8;
}


/* Layout Components */

.container {
    max-width: 1200px;
    width: 100%;
    height: 50vh;
    display: flex;
    justify-content: center;
    align-items: center;
    margin: 0 auto;
}

.home-hero-title-area {
    color: var(--color-white);
    display: flex;
    flex-direction: column;
    align-content: flex-start;
    justify-content: center;
}

.home-hero-title-area h1 {
    font-family: var(--font-jost);
}

.home-hero-title-area h2 {
    font-family: var(--font-japanese);
}

.lottie-container {
    width: 600px;
    height: 350px;
    padding-top: 10rem;
    overflow: hidden;
    display: flex;
    align-items: center;
    justify-content: center;
    position: relative;
    /* padding-right: 10%; */
}

.lottie-container dotlottie-player {
    position: absolute;
    width: 300px;
    height: 300px;
    transform: scale(5);
    transform-origin: center center;
}

.section {
    position: relative;
}

.header-content {
    display: flex;
    align-items: center;
    justify-content: space-between;
    height: 100%;
    width: 985px;
}

.service-info {
    flex: 1;
    max-width: 500px;
}

.service-header {
    display: flex;
    align-items: baseline;
    gap: 1rem;
    margin-bottom: 3rem;
}

.service-title {
    font-family: var(--font-archetype);
    font-size: 4.5rem;
    font-weight: normal;
    color: var(--service-white);
    line-height: 1.1;
    letter-spacing: 0.05em;
}

.service-subtitle {
    font-family: var(--font-japanese);
    font-size: 1.1rem;
    color: var(--service-white);
    font-weight: 400;
    opacity: 0.95;
}

.button-group {
    font-family: var(--font-japanese);
    display: flex;
    gap: 1.5rem;
    flex-wrap: wrap;
}

.btn {
    padding: 0.875rem 2rem;
    border: none;
    border-radius: 8px;
    font-size: 0.7rem;
    font-weight: 500;
    cursor: pointer;
    transition: all 0.3s ease;
    text-decoration: none;
    display: inline-block;
    font-family: inherit;
}

.btn-primary {
    background-color: var(--service-dark-pink);
    color: var(--service-white);
}

.btn-primary:hover {
    background-color: #c23e46;
    transform: translateY(-2px);
}

.btn-secondary {
    background-color: var(--service-white);
    color: #333;
}

.btn-secondary:hover {
    background-color: #f5f5f5;
    transform: translateY(-2px);
}

.btn-primary,
.btn-secondary {
    width: 180px;
}


/**
* PC用 
**/

@media (min-width: 769px) {
    .pc {
        display: block;
    }
    .sp {
        display: none !important;
    }
    body {
        font-family: var(--font-primary);
        line-height: 1.6;
        letter-spacing: 0.1rem;
        font-size: 1rem;
    }
    svg {
        height: 20vh;
        width: 100vw;
        position: relative;
    }
    .content-container {
        max-width: var(--container-width);
        margin: 0 auto;
        padding: 0 clamp(1rem, 3vw, 1.25rem);
        width: 100%;
    }
    .home .content-container {
        padding: 0 clamp(9rem, 3vw, 0rem);
    }
    .home .content-container .lottie-container {
        position: absolute;
        top: 40px;
        right: 10px;
        padding-top: 0;
    }
    .home-hero-title-area h1 {
        font-size: 4rem;
        letter-spacing: 0.1rem;
        line-height: 1.2;
        margin-bottom: 1rem;
    }
    .home-hero-title-area h2 {
        font-size: 1.3rem;
    }
    .sp-only-home {
        display: none;
    }
    /**
* Header Section 
**/
    .custom-header {
        background-color: transparent;
        padding: 10px 20px;
        margin-top: clamp(2rem, 5vh, 3rem);
        position: fixed;
        top: 0;
        left: 0;
        width: 100%;
        z-index: 10;
    }
    .custom-container {
        display: flex;
        justify-content: space-evenly;
        align-items: center;
    }
    .custom-menu-toggle {
        display: none;
    }
    /* ロゴ */
    .custom-header__logo {
        flex-shrink: 0;
    }
    .custom-headLogo__link img {
        display: block;
        max-width: 150px;
        height: auto;
    }
    /* グローバルナビゲーション */
    .custom-header__nav {
        display: flex;
        justify-content: center;
        gap: 30px;
    }
    .custom-nav {
        list-style: none;
        display: flex;
        gap: 30px;
    }
    .custom-nav li {
        text-align: center;
    }
    .custom-nav a {
        font-size: 14px;
        color: #fff;
    }
    .custom-nav a:hover {
        color: #0073e6;
    }
    .custom-smallNavTitle {
        display: block;
        font-size: 10px;
        color: #fff;
    }
    /* Contactボタン */
    .custom-contact-button {
        display: inline-flex;
        align-items: center;
        justify-content: space-between;
        padding: 0.6rem 1.8rem;
        border: 2px solid #ffffff;
        border-radius: 2rem;
        background-color: #ffffff;
        cursor: pointer;
        font-family: Arial, sans-serif;
        font-size: 1rem;
        color: #008080;
        font-weight: bold;
        box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
        transition: background-color 0.5s cubic-bezier(0.26, 0.06, 0, 1), border-color 0.5s cubic-bezier(0.26, 0.06, 0, 1);
    }
    .custom-contact-button:hover {
        background-color: #f5f5f5;
        box-shadow: 0 6px 8px rgba(0, 0, 0, 0.2);
    }
    .custom-button-icon {
        display: flex;
        justify-content: center;
        align-items: center;
        width: 2rem;
        height: 2rem;
        margin-left: 1rem;
        background-color: #f59e85;
        border-radius: 50%;
        transition: transform 0.3s ease;
    }
    .custom-contact-button:hover .custom-button-icon {
        transform: scale(1.1);
    }
    .custom-button-text {
        margin-right: 0.5rem;
        line-height: 1;
    }
    /* 矢印デザイン */
    .custom-arrow {
        position: relative;
        display: inline-block;
        width: 0.8rem;
        height: 1.2rem;
    }
    .custom-arrow::before,
    .custom-arrow::after {
        content: "";
        position: absolute;
        top: calc(50% - 2px);
        right: 0;
        width: 0.9rem;
        height: 0.2rem;
        border-radius: 9999px;
        background-color: #ffffff;
        transform-origin: calc(100% - 2px) 50%;
    }
    .custom-arrow::before {
        transform: rotate(45deg);
    }
    .custom-arrow::after {
        transform: rotate(-45deg);
    }
    .custom-nav .ttl {
        font-family: "ArchitypeRenner-Demi", sans-serif;
    }
    .custom-nav .custom-smallNavTitle {
        font-family: "Noto Sans JP", sans-serif;
        font-weight: 300;
    }
    /* SP用のHomeメニューを非表示 */
    .sp-only-home {
        display: none;
    }
    /**
* Hero Section 
**/
    .hero-section {
        background-color: var(--color-navy);
        /* min-height: clamp(30rem, 70vh, 42.5rem); */
        padding-top: clamp(2rem, 5vh, 3rem);
        display: flex;
        justify-content: center;
        align-items: center;
        position: relative;
    }
    .hero-section .content-container {
        display: flex;
        justify-content: center;
        position: relative;
    }
    .home .hero-section .content-container {
        display: unset;
        position: relative;
    }
    .home .hero-section .content-container dotlottie-player {
        position: absolute;
        width: 600px;
    }
    .hero-section img {
        max-width: 100%;
        width: var(--container-width);
        position: absolute;
        top: 45%;
        left: 57%;
        transform: translate(-50%, -50%);
    }
    /**
* Gallery Section 
**/
    .gallery-section {
        width: 100%;
        padding: 5vw 0;
        background-color: var(--color-light-gray);
        overflow-x: auto;
    }
    .gallery-container {
        display: flex;
        justify-content: center;
        gap: 3vw;
        padding: 0 5vw;
        flex-wrap: nowrap;
    }
    .gallery-item {
        flex: 0 0 auto;
        width: 28vw;
        opacity: 0;
        transform: translateY(20px);
        transition: opacity 0.8s ease, transform 0.8s ease;
    }
    .gallery-item img {
        width: 100%;
        height: auto;
        border-radius: var(--border-radius-small);
        box-shadow: 0 4px 12px rgba(0, 0, 0, 0.1);
    }
    .gallery-section {
        position: relative;
        overflow: hidden;
    }
    .gallery-text {
        position: absolute;
        bottom: 20%;
        left: 45%;
        transform: translateX(-50%);
        text-align: left;
        z-index: 2;
        line-height: 1;
        display: block;
    }
    .gallery-text p {
        display: inline-block;
        white-space: nowrap;
        opacity: 0;
        transform: translateX(-50px);
        transition: opacity 0.6s ease, transform 0.6s ease;
        font-size: 5.6vw;
        font-family: var(--font-japanese);
        background-color: var(--color-navy);
        color: #fff;
        padding: 0.5rem 1rem;
        margin: 0.5rem 0;
        border-radius: 8px;
    }
    .highlight-char {
        display: inline-block;
        transition: color 0.4s ease;
    }
    .anim-box.slidein.is-animated {
        animation: slideIn 1s cubic-bezier(0.25, 1, 0.5, 1) forwards;
    }
    @keyframes slideIn {
        0% {
            transform: translateX(-180px);
            opacity: 0;
        }
        100% {
            transform: translateX(0);
        }
        40%,
        100% {
            opacity: 1;
        }
    }
    /**
* Service Section 
**/
    .service-contents {
        position: relative;
        width: 100%;
        padding: 40px 0 170px;
        z-index: 1;
    }
    .service-block {
        padding: 44px 0;
        color: var(--color-white);
        height: 650px;
        border-radius: var(--border-radius-large) var(--border-radius-large) 0 0;
    }
    .service-container {
        display: flex;
        justify-content: space-between;
        gap: 60px;
        padding: 0 3%;
    }
    .service-left {
        display: flex;
        flex-direction: column;
        gap: 20px;
    }
    .service-subtitle {
        font-size: clamp(1.125rem, 1.25vw, 1.25rem);
        line-height: 40px;
        font-family: var(--font-archetype);
        font-weight: lighter;
    }
    .service-subtitle-big {
        font-size: clamp(1.75rem, 2.5vw, 2.5rem);
        vertical-align: bottom;
    }
    .service-content {
        display: flex;
        gap: 5vw;
        position: relative;
    }
    .service-content h2 {
        /* width: 18rem; */
        font-size: clamp(3rem, 6vw, 5.938rem);
        font-family: var(--font-archetype);
        font-weight: lighter;
        margin: 0;
        letter-spacing: 0.1rem;
        margin-left: 1%;
        white-space: nowrap;
    }
    .service-text {
        font-family: var(--font-japanese);
        flex: 1;
    }
    .service-text h3 {
        font-size: clamp(1.5rem, 1.875vw, 1.875rem);
        margin-bottom: 48px;
        font-weight: 500;
        letter-spacing: 0.1rem;
    }
    .service-text p {
        font-size: clamp(0.875rem, 1vw, 1rem);
        line-height: 1.8;
        margin-bottom: 48px;
        font-weight: 500;
    }
    .service-right picture {
        display: block;
        width: 100%;
    }
    .service-right img {
        width: 26vw;
        max-width: clamp(18.75rem, 40vw, 31.25rem);
        border-radius: var(--border-radius-small);
        margin-top: 3rem;
    }
    /* Service Block Colors */
    #service-01 {
        background-color: var(--color-orange);
        z-index: 1;
    }
    #service-02 {
        background-color: var(--color-white);
        color: var(--color-navy);
        z-index: 2;
    }
    #service-03 {
        background-color: var(--color-navy);
        color: var(--color-orange);
        z-index: 3;
    }
    /* Service Button */
    .service-btn a {
        position: relative;
        display: flex;
        justify-content: space-around;
        align-items: center;
        width: 15rem;
        padding: 1rem 0 1rem 2.5rem;
        font-family: var(--font-primary);
        font-size: clamp(1rem, 1.2vw, 1.5rem);
        line-height: 1.8;
        text-decoration: none;
        transition: 0.3s ease-in-out;
        border-radius: 100px;
        background: transparent;
        border: 1px solid var(--btn-border);
        color: var(--btn-text);
        height: 3.5rem;
    }
    .service-btn a:before {
        content: "";
        position: absolute;
        width: 0.6rem;
        height: 0.6rem;
        left: 1.2rem;
        top: 50%;
        border-top: solid 2px var(--arrow-color);
        border-right: solid 2px var(--arrow-color);
        z-index: 2;
        transform: translateY(-50%) rotate(45deg);
        transition: all 0.3s;
    }
    .service-btn a:after {
        content: "";
        position: absolute;
        left: 0;
        top: 50%;
        background: var(--circle-bg);
        border: 2px solid var(--btn-border);
        z-index: 1;
        width: 3.5rem;
        height: 3.5rem;
        border-radius: 4rem;
        transform: translateY(-50%);
        transition: all 0.5s;
    }
    .service-btn a span {
        position: relative;
        transition: all 0.3s;
        z-index: 3;
    }
    .service-btn a:hover:before {
        left: 1.5rem;
        border-top: solid 2px var(--hover-arrow);
        border-right: solid 2px var(--hover-arrow);
    }
    .service-btn a:hover:after {
        right: 0;
        width: 100%;
    }
    .service-btn a:hover {
        color: var(--hover-text);
    }
    /* カラーテーマ */
    .btn-white {
        --btn-border: var(--color-white);
        --btn-text: var(--color-white);
        --arrow-color: var(--color-navy);
        --circle-bg: var(--color-white);
        --hover-text: var(--color-orange);
        --hover-arrow: var(--color-orange);
    }
    .btn-navy {
        --btn-border: var(--color-navy);
        --btn-text: var(--color-navy);
        --arrow-color: var(--color-white);
        --circle-bg: var(--color-navy);
        --hover-text: var(--color-white);
        --hover-arrow: var(--color-white);
    }
    .btn-orange-white {
        --btn-border: var(--color-orange);
        --btn-text: var(--color-white);
        --arrow-color: var(--color-white);
        --circle-bg: var(--color-orange);
        --hover-text: var(--color-navy);
        --hover-arrow: var(--color-navy);
    }
    #works {
        padding: var(--section-padding-large);
    }
    .works-title {
        text-align: center;
    }
    .works-title h2 {
        font-size: clamp(2.5rem, 4.5vw, 4.375rem);
        margin: 0;
        font-family: var(--font-archetype);
        line-height: 1;
        padding: 0;
    }
    .works-title .subtitle {
        font-family: var(--font-japanese);
        font-size: 19px;
        margin-top: 10px;
        margin-bottom: 140px;
    }
    /* Splide Slider */
    .splide {
        margin: 0 auto;
        max-width: 100%;
    }
    .splide__track {
        overflow: hidden;
    }
    .splide__list {
        display: flex;
    }
    .works-splide-top {
        margin-bottom: 4rem;
    }
    .splide__slide {
        width: calc((100% - 4rem) / 3);
        box-sizing: border-box;
        margin-right: 2rem;
        opacity: 0.6;
        transition: opacity var(--transition-default);
        font-family: var(--font-japanese);
        font-weight: 500;
    }
    .splide__slide.is-active {
        opacity: 1;
    }
    .slide-image {
        width: 100%;
        /* max-width: clamp(20rem, 35vw, 33.125rem); */
        height: auto;
        margin-bottom: 15px;
        margin: 0 auto 15px;
    }
    .splide__slide img {
        display: block;
        /* max-width: clamp(20rem, 35vw, 33.125rem); */
        margin: 0 auto;
    }
    .slide-caption {
        /* text-align: left; */
        margin: 10px 0 0 0;
        font-size: clamp(1.125rem, 1.375vw, 1.375rem);
    }
    .slide-subcaption {
        font-size: clamp(0.75rem, 0.875vw, 0.875rem);
    }
    /* Navigation */
    .navigation-wrapper {
        display: flex;
        justify-content: space-between;
        align-items: center;
        margin-top: 100px;
        padding: 0 240px;
    }
    .navigation-container {
        display: flex;
    }
    .navigation-container .prev-arrow,
    .navigation-container .next-arrow {
        width: 40px;
        height: 40px;
        border-radius: 50%;
        background: var(--color-navy);
        border: none;
        color: var(--color-white);
        cursor: pointer;
        margin: 0 5px;
        display: flex;
        align-items: center;
        justify-content: center;
        font-family: var(--font-japanese);
        font-weight: 900;
    }
    .view-more a {
        background-color: var(--color-navy);
        color: var(--color-white);
        padding: 10px 20px;
        text-decoration: none;
        border-radius: 25px;
        display: inline-block;
        font-family: var(--font-japanese);
    }
    /* Footer */
    .custom-footer {
        background-color: var(--color-navy);
        color: var(--color-white);
        padding: 10.5vw 7vw 0 7vw;
        font-family: Arial, sans-serif;
    }
    .custom-footer-top {
        display: flex;
        justify-content: space-between;
        align-items: flex-start;
        flex-wrap: wrap;
        margin-bottom: 20px;
    }
    .custom-footer-left {
        display: flex;
        flex-direction: column;
        align-items: flex-start;
        margin-bottom: 15vw;
    }
    .custom-contact-us {
        display: flex;
        align-items: center;
        line-height: 1;
    }
    .custom-contact-text {
        position: relative;
        font-size: 6.2vw;
        font-family: var(--font-archetype);
        letter-spacing: 0.8rem;
        line-height: 1;
    }
    .custom-contact-text::after {
        content: "";
        display: block;
        width: 100%;
        height: 1px;
        color: var(--color-white);
        position: absolute;
        bottom: 0;
        left: 0;
    }
    .custom-arrow-image {
        margin-left: 12px;
        width: 7vw;
        height: auto;
    }
    .custom-footer-message {
        text-align: left;
        font-size: 0.94vw;
        color: var(--color-white);
        line-height: 20px;
        margin-top: 16px;
    }
    .custom-footer-right {
        display: flex;
        flex-direction: column;
    }
    .custom-follow-us {
        margin-bottom: 20px;
    }
    .custom-follow-us span {
        font-size: 1.8vw;
        font-family: var(--font-archetype);
        margin-bottom: 8px;
        display: block;
    }
    .custom-sns-icons {
        list-style: none;
        display: flex;
        padding: 0;
        margin: 0;
    }
    .custom-sns-icons li {
        margin-right: 1.9vw;
    }
    .custom-sns-icons li a {
        color: var(--color-white);
        font-size: 1.8vw;
        text-decoration: none;
    }
    .custom-sns-icons li a:hover {
        color: #ffd700;
    }
    .custom-office span {
        font-size: 1.8vw;
        font-family: var(--font-archetype);
        margin-bottom: 8px;
        display: block;
    }
    .custom-office p {
        font-size: 0.94vw;
        line-height: 20px;
        margin: 0;
    }
    .custom-footer-bottom {
        display: flex;
        justify-content: space-between;
        align-items: center;
        border-top: 1px solid #ffffff;
        padding-top: 16px;
        margin-top: 20px;
        height: 8.2vw;
    }
    .custom-footer-bottom .custom-footer-logo img {
        height: 1.7vw;
    }
    .custom-footer-links {
        text-align: right;
        font-size: 1.04vw;
    }
    .custom-footer-links .custom-privacy-policy {
        text-decoration: none;
        color: var(--color-white);
        margin-right: 16px;
    }
    .custom-footer-links span {
        margin-left: 12.6vw;
    }
    .custom-sp-only {
        display: none;
    }
    /**
* Blog Section 
**/
    .blog-container {
        padding: var(--section-padding);
        background-color: var(--color-light-gray);
    }
    .blog-title {
        text-align: center;
        margin-bottom: 40px;
        font-size: clamp(2.5rem, 4.5vw, 4.375rem);
    }
    .service-page .service-card.pc .service-card__content {
        padding-left: 2rem;
    }
}


/* Wave Section */

.waves {
    position: relative;
    width: 100%;
    height: 15vh;
    margin-bottom: -7px;
    /*Fix for safari gap*/
    min-height: 100px;
    max-height: 150px;
    background-color: rgba(38, 55, 67);
}

.content {
    position: relative;
    height: 20vh;
    text-align: center;
    background-color: white;
}

.parallax>use {
    animation: move-forever 25s cubic-bezier(0.55, 0.5, 0.45, 0.5) infinite;
}

.parallax>use:nth-child(1) {
    animation-delay: -2s;
    animation-duration: 7s;
}

.parallax>use:nth-child(2) {
    animation-delay: -3s;
    animation-duration: 10s;
}

.parallax>use:nth-child(3) {
    animation-delay: -4s;
    animation-duration: 13s;
}

.parallax>use:nth-child(4) {
    animation-delay: -5s;
    animation-duration: 20s;
}

@keyframes move-forever {
    0% {
        transform: translate3d(-90px, 0, 0);
    }
    100% {
        transform: translate3d(85px, 0, 0);
    }
}


/* Service Page Specific Wave Styles */

.service-page .waves {
    background-color: var(--color-coral-bg);
}

.service-page .waves .parallax>use:nth-child(1) {
    fill: rgba(229, 122, 97, 0.7);
}

.service-page .waves .parallax>use:nth-child(2) {
    fill: rgba(229, 122, 97, 1);
}


/* About Section */

.count-section {
    background-color: var(--color-light-gray);
    padding: var(--section-padding);
    width: 100%;
}

.about-wrapper {
    width: 80vw;
    margin: 0 auto;
    text-align: center;
    max-width: 1200px;
    margin: 0 auto;
}

.statistics-container {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 2rem;
    justify-content: center;
    max-width: 100%;
}

.stat-box {
    background-color: var(--color-white);
    border-radius: 12px;
    padding: 30px 11px;
    text-align: center;
    box-shadow: 0 2px 3px rgba(0, 0, 0, 0.1);
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 10px;
    width: 100%;
}

.stat-label {
    width: 100px;
    font-size: 0.7rem;
    font-weight: bold;
    background-color: var(--color-navy);
    color: var(--color-white);
    padding: 0.3px 0.6px;
    border-radius: 20px;
    border: 1px solid var(--color-navy);
    font-family: var(--font-japanese);
}

.stat-value {
    display: inline-flex;
    align-items: baseline;
    justify-content: center;
    gap: 5px;
}

.stat-number {
    line-height: 1;
    display: block;
    font-size: 4rem;
    color: var(--color-navy);
    width: fit-content;
    font-family: var(--font-archetype);
}

.stat-unit {
    font-size: 2rem;
    color: var(--color-navy);
    line-height: 1;
    display: block;
    font-family: var(--font-japanese);
}

.stat-box:nth-child(3) .stat-unit {
    font-size: 4.95vw;
    font-family: var(--font-jost);
}

.stat-box:nth-child(4) .stat-unit {
    font-size: 1.9vw;
}

.update-date {
    font-size: 0.7rem;
    color: var(--color-navy);
    margin-top: 10px;
    width: 100%;
    text-align: right;
    font-family: var(--font-japanese);
}


/* Service Page Specific Count Section */

.service-page .count-section {
    background-color: #e78c6c;
}

.service-page .stat-box {
    background-color: #ffffff;
}

.service-page .stat-label {
    background-color: #253742;
    color: #ffffff;
    border-color: #253742;
}

.service-page .stat-number {
    color: #253742;
}

.service-page .stat-unit {
    color: #ffffff;
}

.service-page .update-date {
    color: #ffffff;
}


/* About Section */

.about-section {
    background-color: var(--color-light-gray);
    padding: 4vw 0;
    display: flex;
    justify-content: center;
}

.about-card {
    background: #fff;
    border-radius: 16px;
    padding: 6vw 8vw;
    /* max-width: 1024px; */
    width: 90%;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.05);
}

.about-title {
    font-family: var(--font-archetype);
    color: var(--color-navy);
    font-size: 6rem;
    font-weight: lighter;
    margin-bottom: 3rem;
    display: block;
    line-height: 1;
    letter-spacing: 0.2rem;
}

.about-subheading {
    font-family: var(--font-japanese);
    color: var(--color-navy);
    font-weight: bold;
    margin-bottom: 3rem;
    font-size: 1.6rem;
}

.about-body {
    font-family: var(--font-japanese);
    color: var(--color-navy);
    font-weight: 500;
    font-size: 1.3rem;
    line-height: 1.9;
}


/**
* SP用 
**/

@media (max-width: 768px) {
    .pc {
        display: none !important;
    }
    .sp {
        display: block;
    }
    body {
        font-family: var(--font-primary);
        line-height: 1.6;
        letter-spacing: 0.05rem;
        font-size: 1rem;
    }
    svg {
        height: 80px;
        min-height: 80px;
        width: 100vw;
        position: relative;
    }
    .sp-hidden {
        display: none;
    }
    .header-content {
        gap: 0;
        position: relative;
    }
    .service-info {
        position: relative;
        z-index: 2;
    }
    .service-header {
        display: flex;
        gap: 0rem;
        margin-bottom: 3rem;
        flex-direction: column;
    }
    .service-title {
        font-size: 3rem;
        letter-spacing: 0.2rem;
    }
    .service-subtitle {
        font-size: 0.6rem;
        line-height: 1.2;
        letter-spacing: 0.1rem;
        font-weight: 600;
    }
    .lottie-container {
        width: 200px;
        height: 220px;
        position: absolute;
        top: 45%;
        right: 0;
        transform: translateY(-45%);
        z-index: 1;
        padding-top: 0rem;
    }
    .lottie-container dotlottie-player {
        width: 50%;
        height: 100%;
        transform: scale(3.5);
        top: -4%;
        left: 50%;
    }
    .button-group {
        display: flex;
        gap: 1rem;
        flex-wrap: nowrap;
        flex-direction: row;
        justify-content: space-evenly;
    }
    .btn {
        font-size: 0.7rem;
    }
    .custom-header {
        background-color: transparent;
        padding: 4vw 6vw;
        position: fixed;
        top: 0;
        left: 0;
        width: 100%;
        z-index: 10;
    }
    .custom-container {
        display: flex;
        justify-content: space-between;
        align-items: center;
    }
    .custom-header__logo img {
        max-width: 28.2vw;
        height: auto;
        display: block;
    }
    /* メニューボタン */
    .custom-menu-toggle {
        background: none;
        border: none;
        padding: 0;
        cursor: pointer;
        display: flex;
        align-items: center;
        justify-content: center;
        width: 10vw;
        height: 10vw;
        position: relative;
        z-index: 1001;
    }
    .custom-menu-icon {
        background-color: var(--color-orange);
        border-radius: 50%;
        width: 10vw;
        height: 10vw;
        display: flex;
        align-items: center;
        justify-content: center;
        position: relative;
    }
    .bgc-navy {
        background-color: var(--color-navy);
    }
    .bgc-white {
        background-color: var(--color-white);
    }
    .custom-menu-icon .line {
        position: absolute;
        background-color: var(--color-white);
        width: 4vw;
        height: 0.5vw;
        border-radius: 10px;
        transition: transform 0.3s ease;
    }
    .bgc-white .line {
        background-color: var(--color-orange);
    }
    .custom-menu-icon .line:first-child {
        transform: translateY(-0.7vw);
    }
    .custom-menu-icon .line:last-child {
        transform: translateY(0.7vw);
    }
    /* ハンバーガーメニュークリック後 */
    .custom-menu-icon.active .line:first-child {
        transform: translateY(0) rotate(45deg);
    }
    .custom-menu-icon.active .line:last-child {
        transform: translateY(0) rotate(-45deg);
    }
    /* ナビゲーションメニュー */
    #custom-nav {
        position: fixed;
        top: 0;
        right: -80vw;
        width: 80vw;
        height: 100vh;
        background-color: var(--color-navy);
        z-index: 1000;
        display: flex;
        flex-direction: column;
        padding: 4vw;
        padding-left: 14vw;
        transition: right 0.3s ease-in-out;
        padding-top: 12vw;
    }
    #custom-nav.open {
        right: 0;
        height: 100vh;
    }
    .custom-nav {
        list-style: none;
        padding: 0;
        margin: 4vw 0;
        display: flex;
        flex-direction: column;
    }
    .custom-nav a {
        display: flex;
        flex-direction: column;
        text-decoration: none;
        color: var(--color-white);
        font-size: 3.7vw;
        margin-bottom: 4vw;
    }
    .custom-nav a .ttl {
        order: 2;
        font-weight: bold;
        font-family: var(--font-primary);
    }
    .custom-nav a .custom-smallNavTitle {
        order: 1;
        font-family: var(--font-japanese);
        font-size: 4.65vw;
        margin-top: 5px;
        font-weight: 400;
    }
    .sp-only-home a {
        color: var(--color-orange);
    }
    /* Contactボタン */
    .custom-contact-button {
        background-color: var(--color-orange);
        border: 1px solid var(--color-orange);
        border-radius: 9999px;
        color: var(--color-white);
        font-family: var(--font-primary);
        font-size: 3.2vw;
        height: 2.75rem;
        width: 35vw;
        padding: 0 3.2vw;
        letter-spacing: 0.03em;
        place-items: center;
        pointer-events: auto;
        transition: background-color 0.5s cubic-bezier(0.26, 0.06, 0, 1), border-color 0.5s cubic-bezier(0.26, 0.06, 0, 1);
    }
    /**
* Hero Section 
**/
    .hero-section {
        background-color: var(--color-navy);
        width: 100%;
        height: 100vw;
        display: flex;
        justify-content: center;
        align-items: center;
        position: relative;
    }
    .home .hero-section {
        height: 140vw;
        padding: 0 2.5rem;
        justify-content: flex-start;
    }
    .home-hero-title-area h1 {
        font-size: 2rem;
        letter-spacing: 0.1rem;
        line-height: 1.2;
        margin-bottom: 1rem;
    }
    .home-hero-title-area h2 {
        font-size: 0.65rem;
    }
    .home dotlottie-player {
        width: 500px;
        height: 500px;
        position: absolute;
        top: -120%;
        left: 5%;
    }
    .hero-section .content-container {
        display: flex;
        justify-content: center;
        position: relative;
    }
    .hero-section img {
        max-width: 100%;
        position: relative;
    }
    .waves {
        height: 40px;
        min-height: 40px;
    }
    .content {
        height: 30vh;
    }
    h1 {
        font-size: 24px;
    }
    /**
* Count Section 
**/
    .count-section {
        background-color: var(--color-light-gray);
        padding: var(--section-padding);
        width: 100%;
    }
    .about-wrapper {
        width: 90vw;
        margin: 0 auto;
        text-align: center;
    }
    .statistics-container {
        grid-template-columns: 1fr;
        gap: 4vw;
    }
    .stat-box {
        background-color: var(--color-white);
        border-radius: 5vw;
        padding: 1.1vw;
        text-align: center;
        box-shadow: 0 0.2vw 0.3vw rgba(0, 0, 0, 0.1);
        display: flex;
        flex-direction: column;
        align-items: center;
        justify-content: center;
        gap: 10px;
        width: 100%;
        height: calc(90vw * 0.32);
    }
    .stat-label {
        width: 30vw;
        font-size: 2.5vw;
        font-weight: bold;
        background-color: var(--color-navy);
        color: var(--color-white);
        padding: 0.6vw 1.2vw;
        border-radius: 5vw;
        border: 0.1vw solid var(--color-navy);
        font-family: var(--font-japanese);
    }
    .stat-value {
        display: inline-flex;
        align-items: baseline;
        justify-content: center;
        gap: 5px;
    }
    .stat-number {
        line-height: 1;
        display: block;
        font-size: 15vw;
        color: var(--color-navy);
        width: fit-content;
        font-family: var(--font-archetype);
    }
    .stat-unit {
        font-size: 7vw;
        color: var(--color-navy);
        line-height: 1;
        display: block;
        font-family: var(--font-japanese);
        font-weight: 600;
    }
    .stat-box:nth-child(3) .stat-unit {
        font-size: 9vw;
        font-family: var(--font-jost);
        font-weight: normal;
    }
    .stat-box:nth-child(4) .stat-unit {
        font-size: 4vw;
    }
    .update-date {
        font-size: 3vw;
        color: var(--color-navy);
        margin-top: 10px;
        width: 100%;
        text-align: right;
        font-family: var(--font-japanese);
        font-weight: 600;
    }
    /* Service Page Specific Mobile Styles */
    .service-page .count-section {
        background-color: #e78c6c;
    }
    .service-page .stat-box {
        background-color: #ffffff;
    }
    .service-page .stat-label {
        background-color: #253742;
        color: #ffffff;
        border-color: #253742;
    }
    .service-page .stat-number {
        color: #253742;
    }
    .service-page .stat-unit {
        color: #ffffff;
    }
    .service-page .update-date {
        color: #ffffff;
    }
    .gallery-container {
        display: block;
        padding: 5% 5%;
        margin: 0;
        background-color: var(--color-white);
        position: relative;
    }
    .gallery-item {
        width: 100%;
        max-width: 100%;
        margin: 0 auto;
        opacity: 1;
        transform: none;
        transition: opacity 0.8s ease;
    }
    .gallery-item img {
        width: 100%;
        height: auto;
        display: block;
        border-radius: var(--border-radius-small);
    }
    .gallery-text {
        position: absolute;
        bottom: 10%;
        left: 40%;
        transform: translateX(-50%);
        z-index: 2;
        text-align: left;
        line-height: 1;
        max-width: 90%;
        word-break: break-word;
    }
    .gallery-text p {
        display: inline-block;
        white-space: nowrap;
        font-size: 1.5rem;
        font-family: var(--font-japanese);
        background-color: var(--color-navy);
        color: #fff;
        padding: 0.1em 0.2em;
        /* border-radius: 8px; */
        white-space: nowrap;
        margin: 0.1em 0;
        opacity: 1;
        transform: none;
    }
    .highlight-char {
        display: inline-block;
        transition: color 0.4s ease;
    }
    .anim-box.slidein.is-animated {
        animation: slideIn 1s cubic-bezier(0.25, 1, 0.5, 1) forwards;
    }
    @keyframes slideIn {
        0% {
            transform: translateX(-180px);
            opacity: 0;
        }
        100% {
            transform: translateX(0);
        }
        40%,
        100% {
            opacity: 1;
        }
    }
    /**
* About Section 
**/
    .about-section {
        background-color: var(--color-white);
        padding: 4vw 0;
        display: flex;
        justify-content: center;
    }
    .about-card {
        background: #fff;
        border-radius: 16px;
        padding: 6vw 8vw;
        /* max-width: 1024px; */
        width: 90%;
        box-shadow: 0 4px 20px rgba(0, 0, 0, 0.05);
    }
    .about-title {
        font-family: var(--font-archetype);
        color: var(--color-navy);
        font-size: 2.1rem;
        font-weight: lighter;
        margin-bottom: 3rem;
        display: block;
        line-height: 1;
        letter-spacing: 0.2rem;
    }
    .about-subheading {
        font-family: var(--font-japanese);
        color: var(--color-navy);
        font-weight: 400;
        margin-bottom: 3rem;
        font-size: 1rem;
    }
    .about-body {
        font-family: var(--font-japanese);
        color: var(--color-navy);
        font-weight: 500;
        font-size: 0.9rem;
        line-height: 1.9;
    }
    /**
* Service Section 
**/
    .service-contents {
        position: relative;
        width: 100%;
        z-index: 1;
    }
    .service-block {
        padding: 6vw 0 12vw;
        color: var(--color-white);
        border-radius: var(--border-radius-large) var(--border-radius-large) 0 0;
    }
    .service-container {
        padding: 0 8.6%;
    }
    /* 左コンテンツ */
    .service-left {
        display: flex;
        flex-direction: column;
    }
    /* コンテンツエリア */
    .service-content {
        display: flex;
        flex-direction: column;
        margin-bottom: 6.4vw;
    }
    /* 1. サブタイトル */
    .service-subtitle-big {
        font-size: 4.2vw;
        margin-left: 0.8vw;
    }
    /* 2. Service見出し */
    .service-container h2 {
        font-size: 10vw;
        font-weight: 600;
        letter-spacing: 0.32vw;
    }
    /* 3. 画像エリア */
    .service-right {
        margin-bottom: 6.4vw;
    }
    .service-right img {
        width: 100%;
        height: auto;
        border-radius: var(--border-radius-small);
    }
    /* 4. テキストエリア */
    .service-text {
        font-family: var(--font-japanese);
    }
    .service-text h3 {
        font-size: 4.2vw;
        font-weight: 500;
        line-height: 1.6;
        margin-bottom: 4vw;
    }
    .service-text p {
        font-size: 2vw;
        font-weight: 400;
        line-height: 2;
        margin-bottom: 6.4vw;
    }
    /* ボタン */
    .service-btn {
        text-align: left;
    }
    .service-btn a {
        margin: 0;
    }
    /* カラーバリエーション */
    #service-01 {
        background-color: var(--color-orange);
    }
    #service-02 {
        background-color: var(--color-white);
        color: var(--color-navy);
    }
    #service-03 {
        background-color: var(--color-navy);
        color: var(--color-orange);
    }
    /* SP用の順序制御 */
    @supports (display: grid) {
        .service-container {
            display: grid;
            grid-template-columns: 1fr;
        }
        .service-subtitle {
            grid-row: 1;
        }
        .service-content h2 {
            grid-row: 2;
        }
        .service-right {
            grid-row: 3;
        }
        .service-text {
            grid-row: 4;
        }
    }
    /* Service Button */
    /* ボタンの基本構造 */
    .service-btn a {
        position: relative;
        margin: auto;
        display: flex;
        justify-content: space-around;
        align-items: center;
        max-width: clamp(38.4vw, 20vw, 52.4vw);
        padding: 2vw 0 2vw 5vw;
        font-family: var(--font-primary);
        font-size: clamp(3.2vw, 1.5vw, 4.8vw);
        line-height: 1.8;
        text-decoration: none;
        transition: 0.3s ease-in-out;
        border-radius: 20vw;
        background: transparent;
        border: 0.2vw solid var(--btn-border);
        color: var(--btn-text);
    }
    .service-btn a:before {
        content: "";
        position: absolute;
        width: 1.6vw;
        height: 1.6vw;
        left: 3.84vw;
        top: 50%;
        border-top: solid 0.4vw var(--arrow-color);
        border-right: solid 0.4vw var(--arrow-color);
        z-index: 2;
        transform: translateY(-50%) rotate(45deg);
        transition: all 0.3s;
    }
    .service-btn a:after {
        content: "";
        position: absolute;
        left: 0;
        top: 50%;
        background: var(--circle-bg);
        border: 0.4vw solid var(--btn-border);
        z-index: 1;
        width: 9.5vw;
        height: 9.5vw;
        border-radius: 12.8vw;
        transform: translateY(-50%);
        transition: all 0.5s;
    }
    .service-btn a span {
        position: relative;
        transition: all 0.3s;
        z-index: 3;
    }
    .service-btn a:hover:before {
        left: 4.8vw;
        border-top: solid 0.4vw var(--hover-arrow);
        border-right: solid 0.4vw var(--hover-arrow);
    }
    .service-btn a:hover:after {
        right: 0;
        width: 100%;
    }
    .service-btn a:hover {
        color: var(--hover-text);
    }
    /* カラーテーマ */
    .btn-white {
        --btn-border: var(--color-white);
        --btn-text: var(--color-white);
        --arrow-color: var(--color-navy);
        --circle-bg: var(--color-white);
        --hover-text: var(--color-orange);
        --hover-arrow: var(--color-orange);
    }
    .btn-navy {
        --btn-border: var(--color-navy);
        --btn-text: var(--color-navy);
        --arrow-color: var(--color-white);
        --circle-bg: var(--color-navy);
        --hover-text: var(--color-white);
        --hover-arrow: var(--color-white);
    }
    .btn-orange-white {
        --btn-border: var(--color-orange);
        --btn-text: var(--color-white);
        --arrow-color: var(--color-white);
        --circle-bg: var(--color-orange);
        --hover-text: var(--color-navy);
        --hover-arrow: var(--color-navy);
    }
    /**
* Works Section 
**/
    #works {
        padding: 20vw 0 0;
    }
    .works-title {
        text-align: center;
        margin-bottom: 10vw;
    }
    .works-title h2 {
        font-size: 8vw;
        margin: 0;
        font-family: var(--font-primary);
        line-height: 1;
        padding: 0;
    }
    .works-title .subtitle {
        font-family: var(--font-japanese);
        font-size: 3vw;
        font-weight: 500;
        margin-top: 0.8vw;
        margin-bottom: 6vw;
    }
    /* Splide Slider */
    .works-splide-container {
        width: 80%;
        margin: 0 auto;
    }
    .splide-wrapper {
        padding: 0 11%;
    }
    .blog-splide {
        width: 80%;
        margin: 0 auto;
    }
    .splide {
        margin-bottom: 4vw;
    }
    .splide__slide {
        margin-right: 0 !important;
        opacity: 0.6;
        transition: opacity var(--transition-default);
        font-family: var(--font-japanese);
        font-weight: 500;
        position: relative;
    }
    .splide__slide.is-active {
        opacity: 1;
    }
    .slide-image {
        width: 100%;
        /* max-width: clamp(20rem, 35vw, 33.125rem); */
        height: auto;
        margin-bottom: 3vw;
        margin: 0 auto 3vw;
    }
    .splide__slide img {
        display: block;
        width: 100%;
        margin: 0 0.2vw;
    }
    .slide-caption,
    .blog-caption {
        margin: 2vw 0 0 0;
        font-size: 4.5vw;
        font-weight: 700;
    }
    .slide-subcaption,
    .blog-subcaption {
        font-size: 3vw;
        margin: 0;
    }
    /* Navigation */
    .navigation-wrapper {
        display: flex;
        justify-content: space-between;
        align-items: center;
        width: 80%;
        margin: 10vw auto;
        flex-direction: row;
        flex-wrap: nowrap;
    }
    .navigation-container {
        display: flex;
    }
    .navigation-container .prev-arrow,
    .navigation-container .next-arrow {
        width: 10vw;
        height: 10vw;
        border-radius: 50%;
        background: var(--color-navy);
        border: none;
        color: var(--color-white);
        cursor: pointer;
        margin: 0 1vw;
        display: flex;
        align-items: center;
        justify-content: center;
        font-family: var(--font-japanese);
        font-weight: 900;
    }
    .prev-arrow i,
    .next-arrow i {
        color: white;
        /* アイコンの色を白に設定 */
        font-size: 4.2vw;
        /* アイコンのサイズを24pxに設定 */
    }
    .view-more a {
        background-color: var(--color-navy);
        color: var(--color-white);
        padding: 0 4vw;
        height: 14vw;
        line-height: 14vw;
        width: 43vw;
        text-decoration: none;
        border-radius: 7vw;
        display: flex;
        align-items: center;
        justify-content: center;
        font-family: var(--font-japanese);
        font-size: 2.8vw;
        font-weight: 500;
    }
    /**
* Blog Section 
**/
    .blog-container {
        padding: var(--section-padding);
        background-color: var(--color-light-gray);
    }
    .blog-title {
        text-align: center;
        margin-bottom: 8vw;
        font-size: clamp(5vw, 4.5vw, 8.75vw);
    }
    .custom-footer {
        background-color: #2a3b4c;
        color: #ffffff;
        padding: 10.5vw 7vw 0 7vw;
        font-family: Arial, sans-serif;
    }
    .custom-footer-top {
        display: flex;
        justify-content: space-between;
        align-items: flex-start;
        flex-wrap: wrap;
        margin-bottom: 4vw;
    }
    .custom-footer-left {
        display: flex;
        flex-direction: column;
        align-items: flex-start;
        margin-bottom: 15vw;
    }
    .custom-contact-us {
        display: flex;
        align-items: center;
        line-height: 1;
    }
    .custom-contact-text {
        position: relative;
        font-size: 11vw;
        font-family: var(--font-archetype);
        line-height: 1;
    }
    .custom-contact-text::after {
        content: "";
        display: block;
        width: 100%;
        height: 0.2vw;
        background-color: #ffffff;
        position: absolute;
        bottom: 0;
        left: 0;
    }
    .custom-arrow-image {
        margin-left: 2.4vw;
        width: 11vw;
        height: auto;
    }
    .custom-footer-message {
        text-align: left;
        font-size: 1.55vw;
        color: #ffffff;
        line-height: 4vw;
        margin-top: 3.2vw;
    }
    .custom-footer-right {
        display: flex;
        flex-direction: column;
    }
    .custom-follow-us {
        margin-bottom: 4vw;
    }
    .custom-follow-us span {
        font-size: 4.6vw;
        font-family: var(--font-archetype);
        display: block;
    }
    .custom-sns-icons {
        list-style: none;
        display: flex;
        padding: 0;
        margin: 0;
    }
    .custom-sns-icons li {
        margin-right: 4.6vw;
    }
    .custom-sns-icons li a {
        color: #ffffff;
        font-size: 4.6vw;
        text-decoration: none;
    }
    .custom-sns-icons li a:hover {
        color: #ffd700;
    }
    .custom-office span {
        font-size: 4.6vw;
        font-family: var(--font-archetype);
        display: block;
    }
    .custom-office p {
        font-size: 1.55vw;
        line-height: 4vw;
        margin: 0;
    }
    .custom-footer-bottom {
        display: flex;
        flex-direction: column;
        align-items: center;
        padding: 3.2vw 0;
        border-top: 0.2vw solid #ffffff;
    }
    .custom-footer-bottom .custom-footer-links {
        margin-bottom: 2.4vw;
        width: 100%;
        text-align: right;
    }
    .custom-footer-bottom .custom-footer-links a {
        color: var(--color-white);
        font-family: var(--font-archetype);
        font-size: 3.5vw;
    }
    .custom-footer-bottom .custom-footer-logo {
        margin-bottom: 2.4vw;
    }
    .custom-footer-bottom .custom-footer-logo img {
        height: 6.1vw;
    }
    .custom-footer-bottom .custom-sp-privacy {
        font-size: 1.8vw;
    }
    .custom-pc-only {
        display: none;
    }
}

.custom-contact-section {
    background: #ffffff;
    padding: 5rem 0 7rem 0;
}

.service-page .custom-contact-section {
    background: #e57a61;
}

.custom-contact-inner {
    border-radius: 1.5rem;
    background: var(--color-navy);
    position: relative;
    overflow: hidden;
    padding: 3rem 1.5rem 6rem 1.5rem;
    box-shadow: 0 4px 24px rgba(0, 0, 0, 0.08);
    height: auto;
    min-height: 0;
    width: 800px;
    margin: 0 auto;
    max-width: 1280px;
}

.custom-contact-content {
    position: relative;
    z-index: 2;
    text-align: center;
}

.custom-contact-title {
    color: #fff;
    font-family: var(--font-japanese);
    font-size: 1.6rem;
    font-weight: 500;
    margin-bottom: 0.7rem;
    letter-spacing: 0.08em;
}

.custom-contact-desc {
    color: #fff;
    font-size: 0.8rem;
    font-family: var(--font-japanese);
    margin-bottom: 3rem;
}

.custom-contact-btn {
    display: inline-block;
    background: var(--color-orange);
    color: #fff;
    border-radius: 2rem;
    padding: 0.9rem 2.5rem;
    font-family: var(--font-japanese);
    font-weight: bold;
    text-decoration: none;
    font-size: 1rem;
    margin-bottom: 2rem;
    transition: background 0.2s, color 0.2s;
}

.custom-contact-btn:hover {
    background: #e57a61;
    color: #fff;
}

.custom-contact-bg-text {
    position: absolute;
    left: 29px;
    bottom: -37px;
    font-family: var(--font-archetype);
    font-size: 8.9rem;
    color: #fff;
    font-weight: 500;
    letter-spacing: 0.03em;
    pointer-events: none;
    z-index: 1;
    line-height: 1;
    white-space: nowrap;
    transform: translateX(-38.4px);
}


/**
* SP
**/

@media (max-width: 768px) {
    .custom-contact-inner {
        aspect-ratio: unset;
        padding: 8vw 1.5rem 7rem 1.5rem;
        width: 80%;
    }
    .contact-title-area {
        color: #fff;
        padding: 1rem 0 2rem 0;
    }
    .contact-title-area>.title {
        font-family: var(--font-japanese);
        font-size: 2rem;
    }
    .contact-title-area>.sub-title {
        font-family: var(--font-archetype);
        font-size: 1.6rem;
        letter-spacing: 0.08em;
    }
    .custom-contact-title {
        font-size: 1.8rem;
    }
    .custom-contact-desc {
        font-size: 1rem;
    }
    .custom-contact-bg-text {
        bottom: -10vw;
        font-size: 9.5rem;
    }
}


/* 下層ページ共通ヒーローセクション（service基準・色以外完コピ） */

.subpage .hero-section {
    padding: 3rem 0 2rem 0;
    display: flex;
    justify-content: center;
    align-items: center;
    position: relative;
}

.subpage .header-content {
    gap: 0;
}

.subpage .header-content .service-info,
.subpage .header-content .lottie-container {
    width: 492px;
}

.subpage .header-content .service-info {
    max-width: none;
    flex: none;
    padding-left: 5%;
}

.subpage .header-content .service-info .service-header {
    display: flex;
    align-items: baseline;
    gap: 0.5rem;
    margin-bottom: 1.5rem;
}

.subpage .header-content .service-info .service-title {
    display: inline;
    margin-bottom: 0;
}

.subpage .header-content .service-info .service-subtitle {
    display: inline;
    font-size: 0.7rem;
    font-family: var(--font-japanese);
    letter-spacing: 0;
    font-weight: 400;
    opacity: 1 !important;
}

@media (max-width: 768px) {
    .subpage .header-content {
        /* flex-direction: column; */
        text-align: center;
    }
    .subpage .hero-section {
        padding: 2rem 1rem;
    }
    .subpage .header-content .service-info {
        padding-left: 0;
    }
    .subpage .header-content .service-info,
    .subpage .header-content .lottie-container {
        width: 100%;
    }
    .subpage .header-content .service-info .service-header {
        margin-bottom: 4rem;
        margin-left: 1rem;
    }
    .btn-primary,
    .btn-secondary {
        width: 160px;
    }
}