/*
Theme Name: 第弐ヴォヌール
Theme URI: https://daini-vonheur.example
Author: 株式会社第弐ヴォヌール
Description: 第弐ヴォヌール Corporate LP テーマ
Version: 1.0.0
Requires at least: 6.0
Tested up to: 6.7
Requires PHP: 7.4
Text Domain: daini-vonheur
*/

@import url('https://fonts.googleapis.com/css2?family=Montserrat:wght@300;400;500;700;900&family=Noto+Sans+JP:wght@300;400;500;700;900&family=Shippori+Mincho:wght@400;500;600;700;800&display=swap');

:root {
    --bg: #FFFFFF;
    --bg-dark: #1D1A1A;
    --bg-dark-rgb: 29, 26, 26;
    --text-main: #201613;
    --accent: #A69578;
    --accent-light: #BFB5A3;
    --accent-dark: #8A7D68;
    --text-sub: #838383;
    --text-body: #555555;
    --card: #F7F7F7;
    --line: #D5D5D5;
    --card-border: rgba(32, 22, 19, 0.12);
    --bg-pattern: url('./assets/img/bg-pattern.svg');
    --subsidy-bg: #1D1A1A;
    --subsidy-bg-mid: #252019;
    --gradient-en: linear-gradient(135deg, #838383 0%, #A69578 48%, #838383 100%);
    --gradient-en-accent: linear-gradient(135deg, #6B6B6B 0%, #A69578 38%, #8A7D68 68%, #6B6B6B 100%);
    --line-green: #06C755;
    --line-green-dark: #049B44;
    --line-green-light: #1FD071;
    --space-section-y: 3rem;
    --space-section-y-lg: 6rem;
    --space-section-y-xl: 7rem;
}

html {
    scroll-behavior: smooth;
    background-color: #FAF9F7;
}

body {
    font-family: 'Noto Sans JP', sans-serif;
    color: var(--text-main);
    overflow-x: hidden;
    background-color: transparent;
    -webkit-font-smoothing: antialiased;
}

/* LP section spacing (slightly tighter) */
#results {
    padding-top: 4rem !important;
    padding-bottom: 1.25rem !important;
}

#story {
    padding-bottom: 3rem !important;
}

.vision,
#price,
#flow,
.subsidy-section,
#contact {
    padding-top: var(--space-section-y) !important;
    padding-bottom: var(--space-section-y) !important;
}

#service.service-intro {
    padding-top: 4rem !important;
    padding-bottom: 3rem !important;
}

@media (min-width: 768px) {
    :root {
        --space-section-y-lg: 6rem;
        --space-section-y-xl: 7rem;
    }

    #results {
        padding-top: 6rem !important;
        padding-bottom: 2rem !important;
    }

    #story {
        padding-bottom: var(--space-section-y-lg) !important;
    }

    .vision {
        padding-top: var(--space-section-y) !important;
        padding-bottom: var(--space-section-y-xl) !important;
    }

    #price,
    #flow,
    .subsidy-section,
    #contact {
        padding-top: var(--space-section-y-lg) !important;
        padding-bottom: var(--space-section-y-lg) !important;
    }

    #service.service-intro {
        padding-top: 6rem !important;
        padding-bottom: 5rem !important;
    }
}

/* Section header & in-section spacing */
#results > .container > .mb-10 {
    margin-bottom: 2rem !important;
}

#service .text-center.mb-12,
#price .text-center.mb-8,
#flow .text-center.mb-10,
#subsidy .text-center.mb-10 {
    margin-bottom: 2rem !important;
}

.price-section__intro {
    margin-bottom: 2rem !important;
}

.vision__body {
    margin-bottom: 1.75rem !important;
}

#story .container {
    margin-top: 1.25rem !important;
}

.hero__content {
    padding-bottom: 1.25rem !important;
}

@media (min-width: 768px) {
    #results > .container > .mb-10 {
        margin-bottom: 2.75rem !important;
    }

    #service .text-center.mb-12 {
        margin-bottom: 2.75rem !important;
    }

    #price .text-center.mb-8,
    #subsidy .text-center.mb-10 {
        margin-bottom: 2.5rem !important;
    }

    #flow .text-center.mb-10 {
        margin-bottom: 3.25rem !important;
    }

    .price-section__intro {
        margin-bottom: 2.5rem !important;
    }

    .vision__body {
        margin-bottom: 2.25rem !important;
    }

    #story .container {
        margin-top: 3.5rem !important;
    }

    .hero {
        min-height: max(820px, 100svh);
    }

    .hero__content {
        padding-bottom: 2rem !important;
    }
}

body::before {
    content: "";
    position: fixed;
    inset: 0;
    z-index: -2;
    pointer-events: none;
    background-color: #FAF9F7;
    background-image: var(--bg-pattern);
    background-size: 480px 480px;
    background-repeat: repeat;
    background-attachment: fixed;
}

body::after {
    content: "";
    position: fixed;
    inset: 0;
    z-index: -1;
    pointer-events: none;
    background:
        radial-gradient(ellipse 90% 60% at 50% -10%, rgba(166, 149, 120, 0.08), transparent 68%),
        radial-gradient(ellipse 55% 45% at 100% 55%, rgba(166, 149, 120, 0.04), transparent 72%),
        radial-gradient(ellipse 45% 40% at 0% 80%, rgba(32, 22, 19, 0.03), transparent 70%);
}

/* スマホのみ改行（767px以下で改行、PCでは無効） */
@media (min-width: 768px) {
    .sp-br {
        display: none;
    }
}

/* PCのみ改行（768px以上で改行、スマホでは無効） */
.pc-br {
    display: none;
}

br.pc-br {
    display: none;
}

.pc-only {
    display: none;
}

@media (min-width: 768px) {
    .pc-br {
        display: inline;
    }

    br.pc-br {
        display: inline;
    }

    .pc-only {
        display: inline;
    }
}

.font-en {
    font-family: 'Montserrat', sans-serif;
}

.site-logo {
    font-family: 'Shippori Mincho', serif;
}

@media (min-width: 768px) {
    .site-header__nav {
        gap: 2rem;
    }
}

@media (min-width: 1024px) {
    .site-header__nav {
        gap: 2.5rem;
    }
}

.text-en-gradient {
    background: var(--gradient-en);
    -webkit-background-clip: text;
    background-clip: text;
    -webkit-text-fill-color: transparent;
    color: transparent;
}

.text-en-gradient-accent {
    background: var(--gradient-en-accent);
    -webkit-background-clip: text;
    background-clip: text;
    -webkit-text-fill-color: transparent;
    color: transparent;
}

.text-accent {
    color: var(--accent);
}

.text-body {
    color: var(--text-body);
}

.text-gradient-accent,
.text-gradient-gold {
    color: var(--accent);
}

.btn-accent,
.btn-gold {
    background: var(--accent);
    color: #FFFFFF;
    transition: background 0.25s ease, opacity 0.25s ease;
}

.btn-accent:hover,
.btn-gold:hover {
    background: var(--accent-light);
}

.btn-line {
    background: var(--line-green);
    color: #FFFFFF;
    border: 1px solid rgba(6, 199, 85, 0.28);
    box-shadow: 0 10px 24px rgba(6, 199, 85, 0.16);
    transition: background 0.25s ease, box-shadow 0.25s ease, transform 0.25s ease;
}

.btn-line:hover {
    background: var(--line-green-dark);
    box-shadow: 0 14px 28px rgba(6, 199, 85, 0.22);
}

.btn-line__icon {
    display: block;
    width: 1.375rem;
    height: auto;
    flex-shrink: 0;
}

.btn-line__icon--inline {
    width: 1.25rem;
}

.btn-outline {
    background: rgba(255, 255, 255, 0.88);
    border: 1px solid rgba(32, 22, 19, 0.22);
    color: var(--text-main);
    transition: background 0.25s ease, border-color 0.25s ease, color 0.25s ease;
    backdrop-filter: blur(8px);
    -webkit-backdrop-filter: blur(8px);
}

.btn-outline:hover {
    background: rgba(166, 149, 120, 0.14);
    border-color: var(--accent);
    color: var(--accent);
}

.shadow-accent,
.shadow-gold {
    box-shadow: none;
}

.accent-line {
    width: 2rem;
    height: 1px;
    margin-left: auto;
    margin-right: auto;
    margin-top: 1.125rem;
    background: var(--accent);
    opacity: 0.6;
    border-radius: 0;
}

.border-accent,
.border-gold {
    border-color: var(--accent) !important;
}

.border-accent-muted,
.border-gold-alt {
    border-color: var(--accent-dark) !important;
}

.border-line {
    border-color: var(--line) !important;
}

/* カスタムスクロールバー */
::-webkit-scrollbar {
    width: 4px;
}
::-webkit-scrollbar-track {
    background: var(--bg);
}
::-webkit-scrollbar-thumb {
    background: var(--card);
}
::-webkit-scrollbar-thumb:hover {
    background: var(--accent-dark);
}

/* カードパネル */
.glass-panel {
    background: rgba(255, 255, 255, 0.92);
    border: 1px solid var(--card-border);
    backdrop-filter: blur(10px);
    -webkit-backdrop-filter: blur(10px);
}

/* モバイルメニュー */
.mobile-menu-btn__close {
    display: none;
}

.mobile-menu-btn {
    position: relative;
    z-index: 51;
}

.mobile-menu-btn.is-active .mobile-menu-btn__open {
    display: none;
}

.mobile-menu-btn.is-active .mobile-menu-btn__close {
    display: block;
}

.mobile-menu {
    position: fixed;
    top: 4.5rem;
    left: 0;
    right: 0;
    z-index: 49;
    max-height: calc(100svh - 4.5rem);
    overflow-y: auto;
    background: rgba(255, 255, 255, 0.98);
    border-bottom: 1px solid var(--line);
    backdrop-filter: blur(12px);
    -webkit-backdrop-filter: blur(12px);
    opacity: 0;
    visibility: hidden;
    transform: translateY(-0.5rem);
    transition:
        opacity 0.25s ease,
        visibility 0.25s ease,
        transform 0.25s ease;
}

.mobile-menu.is-open {
    opacity: 1;
    visibility: visible;
    transform: translateY(0);
}

.mobile-menu__nav {
    display: flex;
    flex-direction: column;
    gap: 0.25rem;
    padding: 1rem 1.5rem 1.5rem;
}

.mobile-menu__link {
    display: block;
    padding: 0.875rem 0;
    font-family: 'Montserrat', sans-serif;
    font-size: 0.875rem;
    font-weight: 700;
    letter-spacing: 0.25em;
    text-transform: uppercase;
    color: var(--text-main);
    text-decoration: none;
    border-bottom: 1px solid var(--line);
    transition: color 0.2s ease;
}

.mobile-menu__link:hover {
    color: var(--accent);
}

.mobile-menu__cta {
    display: flex;
    align-items: center;
    justify-content: center;
    margin-top: 1rem;
    padding: 0.875rem 1.5rem;
    font-size: 0.75rem;
    font-weight: 700;
    letter-spacing: 0.2em;
    text-decoration: none;
    border-radius: 9999px;
}

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

/* Heroの背景画像 */
.hero {
    isolation: isolate;
    padding-top: 4rem;
}

@media (min-width: 768px) {
    .hero {
        min-height: max(900px, 100svh);
        display: flex;
        flex-direction: column;
        justify-content: flex-end;
        overflow: hidden;
        padding-top: 5rem;
    }
}

.hero-bg {
    overflow: hidden;
}

@media (min-width: 768px) {
    .hero-bg {
        position: absolute;
        inset: 0;
        z-index: 0;
    }
}

.hero-bg__img {
    display: block;
    transform-origin: center center;
}

@media (min-width: 768px) {
    .hero-bg__img {
        width: 100%;
        height: 100%;
        object-fit: cover;
        object-position: center top;
        animation: slowZoomOut 30s linear forwards;
    }
}

.hero-overlay {
    pointer-events: none;
}

@media (min-width: 768px) {
    .hero-overlay {
        position: absolute;
        inset: 0;
        z-index: 1;
        background: linear-gradient(
            180deg,
            rgba(var(--bg-dark-rgb), 0.15) 0%,
            rgba(var(--bg-dark-rgb), 0) 40%,
            rgba(var(--bg-dark-rgb), 0.45) 72%,
            rgba(var(--bg-dark-rgb), 0.88) 100%
        );
    }
}

.hero__content {
    position: relative;
}

@media (min-width: 768px) {
    .hero__content {
        z-index: 10;
        color: #F5F5F2;
    }

    .hero__content h1,
    .hero__content .text-main {
        color: #F5F5F2;
    }

    .hero__content .text-body {
        color: rgba(255, 255, 255, 0.82);
    }

    .hero__content .btn-outline {
        background: rgba(29, 26, 26, 0.55);
        border-color: rgba(255, 255, 255, 0.35);
        color: #F5F5F2;
    }

    .hero__content .btn-outline:hover {
        background: rgba(29, 26, 26, 0.72);
        border-color: var(--accent-light);
        color: var(--accent-light);
    }

    .hero__content::before {
        content: '';
        position: absolute;
        inset: -2rem -1rem -1rem;
        background: linear-gradient(
            to top,
            rgba(var(--bg-dark-rgb), 0.75) 0%,
            rgba(var(--bg-dark-rgb), 0.35) 55%,
            transparent 100%
        );
        pointer-events: none;
        z-index: -1;
    }
}

@media (max-width: 767px) {
    .hero {
        display: flex;
        flex-direction: column;
        justify-content: flex-start;
        min-height: auto;
        padding-top: 4rem;
        background: var(--bg);
        overflow: visible;
    }

    .hero-bg {
        position: relative;
        width: 100%;
        z-index: 1;
    }

    .hero-bg__img {
        width: 100%;
        height: auto;
        object-fit: contain;
        object-position: center top;
        animation: none;
        transform: none;
    }

    .hero-overlay {
        display: none;
    }

    .hero__content {
        z-index: 2;
        margin-top: -2.75rem;
        padding: 2.5rem 1rem 1.5rem;
        background: linear-gradient(
            to bottom,
            rgba(255, 255, 255, 0) 0,
            rgba(255, 255, 255, 0.94) 1.75rem,
            var(--bg) 3rem
        );
    }

    .hero__content::before {
        display: none;
    }

    .hero__content h1,
    .hero__content p {
        text-shadow: none;
    }
}

@keyframes slowZoomOut {
    0% { transform: scale(1.08); }
    100% { transform: scale(1); }
}

/* Hero スクロールインジケーター */
.scroll-indicator {
    position: absolute;
    bottom: 3rem;
    left: 1.5rem;
    z-index: 20;
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 1rem;
    text-decoration: none;
    transition: opacity 0.3s ease;
}

@media (min-width: 1024px) {
    .scroll-indicator {
        left: 5rem;
    }
}

@media (max-width: 767px) {
    .scroll-indicator {
        display: none;
    }

    .story-timeline {
        gap: 1rem;
    }

    .story-entry__title {
        font-size: 1rem;
    }

    .contact-form {
        margin-top: 1rem;
    }

    .results-swiper-pagination {
        margin-top: 1.25rem;
    }

    .contact-form {
        scroll-margin-top: 5rem;
    }

    .vision__body p + p {
        margin-top: 1.25rem;
    }
}

.scroll-indicator:hover {
    opacity: 0.8;
}

.scroll-indicator__label {
    font-size: 10px;
    font-weight: 500;
    letter-spacing: 0.35em;
    text-transform: uppercase;
    writing-mode: vertical-rl;
}

.scroll-indicator__track {
    position: relative;
    width: 1px;
    height: 72px;
    background: var(--line);
    overflow: hidden;
}

.scroll-indicator__bar {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 28px;
    background: linear-gradient(
        to bottom,
        rgba(166, 149, 120, 0) 0%,
        rgba(166, 149, 120, 0.7) 45%,
        rgba(191, 181, 163, 0.5) 65%,
        rgba(166, 149, 120, 0) 100%
    );
    animation: scrollIndicatorMove 2.2s cubic-bezier(0.65, 0, 0.35, 1) infinite;
}

@keyframes scrollIndicatorMove {
    0% { transform: translateY(-120%); opacity: 0; }
    20% { opacity: 1; }
    80% { opacity: 1; }
    100% { transform: translateY(280%); opacity: 0; }
}

/* スクロール連動フェード */
.reveal {
    opacity: 0;
    transform: translateY(30px) scale(0.98);
    filter: blur(10px);
    transition: opacity 1.2s cubic-bezier(0.16, 1, 0.3, 1),
                transform 1.2s cubic-bezier(0.16, 1, 0.3, 1),
                filter 1.2s cubic-bezier(0.16, 1, 0.3, 1);
    will-change: opacity, transform, filter;
}
.reveal.is-visible {
    opacity: 1;
    transform: translateY(0) scale(1);
    filter: blur(0);
}

.number-highlight,
.text-gradient {
    color: var(--text-main);
}

/* 実績スライダー (Swiper) */
.results-swiper-wrap {
    position: relative;
    padding: 0 0 1rem;
}

.results-swiper {
    overflow: hidden;
    padding-top: 0.75rem;
    padding-bottom: 0.5rem;
}

.results-swiper .swiper-slide {
    width: 280px;
    height: auto;
}

@media (min-width: 768px) {
    .results-swiper .swiper-slide {
        width: 320px;
    }
}

.results-swiper-prev,
.results-swiper-next {
    position: absolute;
    top: 42%;
    z-index: 10;
    display: flex;
    align-items: center;
    justify-content: center;
    width: 44px;
    height: 44px;
    border-radius: 50%;
    border: 1px solid var(--accent-dark);
    background: var(--card);
    color: var(--accent);
    cursor: pointer;
    transition: background 0.3s ease, border-color 0.3s ease, transform 0.3s ease;
}

.results-swiper-prev:hover,
.results-swiper-next:hover {
    background: rgba(166, 149, 120, 0.08);
    border-color: var(--accent);
}

.results-swiper-prev { left: -0.5rem; }
.results-swiper-next { right: -0.5rem; }

.results-swiper-prev svg,
.results-swiper-next svg {
    width: 1.25rem;
    height: 1.25rem;
}

.results-swiper-prev.swiper-button-disabled,
.results-swiper-next.swiper-button-disabled {
    opacity: 0.25;
    cursor: not-allowed;
    pointer-events: none;
}

@media (max-width: 767px) {
    .results-swiper-prev { left: 0; }
    .results-swiper-next { right: 0; }
}

.results-swiper-pagination {
    position: relative !important;
    bottom: auto !important;
    margin-top: 2rem;
}

.results-swiper-pagination .swiper-pagination-bullet {
    width: 8px;
    height: 8px;
    background: var(--line);
    opacity: 1;
    transition: width 0.3s ease, background 0.3s ease;
}

.results-swiper-pagination .swiper-pagination-bullet-active {
    width: 24px;
    border-radius: 9999px;
    background: var(--accent);
    opacity: 0.85;
}

/* 成果事例カード — 白パネル感を抑えて背景に馴染ませる */
#results .glass-panel {
    background: rgba(250, 249, 247, 0.45);
    border-color: rgba(166, 149, 120, 0.16);
    backdrop-filter: none;
    -webkit-backdrop-filter: none;
    box-shadow: none;
}

#results .swiper-slide.group:hover .glass-panel {
    background: rgba(250, 249, 247, 0.72);
    border-color: rgba(166, 149, 120, 0.28);
}

#results .glass-panel .aspect-\[9\/16\] {
    border: 1px solid rgba(166, 149, 120, 0.14);
}

#results .glass-panel .bg-gradient-to-t {
    background: linear-gradient(
        to top,
        rgba(32, 22, 19, 0.28) 0%,
        rgba(32, 22, 19, 0.06) 42%,
        transparent 100%
    ) !important;
}

#results .count-up {
    color: #E73828;
}

#results .glass-panel .absolute.-top-3 span {
    background: rgba(250, 249, 247, 0.9);
    border-color: rgba(166, 149, 120, 0.35);
}

.results-swiper-prev,
.results-swiper-next {
    background: rgba(250, 249, 247, 0.85);
    border-color: rgba(166, 149, 120, 0.28);
}

/* ナビホバーライン */
.line-anim {
    position: relative;
    overflow: hidden;
}
.line-anim::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 100%;
    height: 1px;
    background: var(--accent);
    transform: translateX(-100%);
    transition: transform 0.6s ease;
}
.line-anim:hover::after {
    transform: translateX(0);
}

/* OUR STORY */
#story {
    background: linear-gradient(
        180deg,
        rgba(247, 247, 247, 0.55) 0%,
        rgba(255, 255, 255, 0) 28%,
        rgba(250, 249, 247, 0.65) 100%
    );
}

#story .glass-panel {
    background: rgba(255, 255, 255, 0.9);
    border-color: rgba(166, 149, 120, 0.2);
}

.story-wrap {
    display: flex;
    flex-direction: column;
    gap: 1.5rem;
}

@media (min-width: 768px) {
    .story-wrap {
        gap: 2rem;
    }
}

.story-header .accent-line {
    margin-top: 1rem;
}

.story-lead {
    margin: 0;
    color: var(--text-main);
    font-size: 1.375rem;
    line-height: 1.45;
}

@media (min-width: 768px) {
    .story-header .story-lead {
        font-size: 1.75rem;
    }
}

.story-timeline {
    position: relative;
    display: flex;
    flex-direction: column;
    gap: 1rem;
    max-width: 44rem;
    margin: 0 auto;
}

@media (min-width: 768px) {
    .story-timeline {
        gap: 1.125rem;
        padding-left: 2rem;
    }

    .story-timeline::before {
        content: "";
        position: absolute;
        left: 0.5rem;
        top: 1.75rem;
        bottom: 4rem;
        width: 2px;
        background: linear-gradient(
            180deg,
            var(--accent-dark) 0%,
            var(--accent) 45%,
            var(--accent-light) 100%
        );
        border-radius: 1px;
        opacity: 0.3;
    }
}

.story-entry {
    position: relative;
    display: flex;
    flex-direction: column;
    padding: 1rem 1rem 1rem 0.875rem;
    border-radius: 1rem;
    overflow: hidden;
    isolation: isolate;
    border-top: 2px solid rgba(166, 149, 120, 0.5);
    transition: transform 0.4s ease, box-shadow 0.4s ease, border-color 0.4s ease;
}

@media (min-width: 768px) {
    .story-entry {
        padding: 1.125rem 1.375rem 1.125rem 1rem;
    }

    .story-entry::after {
        content: "";
        position: absolute;
        left: -1.75rem;
        top: 1.5rem;
        width: 0.625rem;
        height: 0.625rem;
        border-radius: 50%;
        background: var(--accent);
        border: 2px solid #FAF9F7;
        box-shadow: 0 0 0 2px rgba(166, 149, 120, 0.22);
        z-index: 2;
    }
}

.story-entry:hover {
    transform: translateX(4px);
    box-shadow: 0 14px 36px rgba(32, 22, 19, 0.07);
    border-color: rgba(166, 149, 120, 0.38);
}

.story-entry::before {
    content: "";
    position: absolute;
    top: 0;
    right: 0;
    width: 50%;
    height: 45%;
    pointer-events: none;
    z-index: 0;
    background: radial-gradient(
        ellipse 100% 100% at 100% 0%,
        rgba(166, 149, 120, 0.1) 0%,
        transparent 72%
    );
}

.story-entry--01 {
    border-top-color: rgba(138, 125, 104, 0.55);
}

.story-entry--01::after {
    background: var(--accent-dark);
}

.story-entry--02 {
    border-top-color: rgba(150, 136, 114, 0.55);
}

.story-entry--02::after {
    background: #968872;
}

.story-entry--03 {
    border-top-color: rgba(166, 149, 120, 0.55);
}

.story-entry--04 {
    border-top-color: rgba(191, 181, 163, 0.65);
}

.story-entry--04::after {
    background: var(--accent-light);
}

.story-entry__num {
    position: absolute;
    top: 0.125rem;
    right: 0.375rem;
    z-index: 0;
    font-size: clamp(2.75rem, 7.5vw, 3.75rem);
    font-weight: 900;
    line-height: 0.9;
    letter-spacing: -0.05em;
    pointer-events: none;
    user-select: none;
    background: linear-gradient(
        165deg,
        rgba(138, 125, 104, 0.26) 0%,
        rgba(166, 149, 120, 0.12) 52%,
        rgba(191, 181, 163, 0.05) 100%
    );
    -webkit-background-clip: text;
    background-clip: text;
    -webkit-text-fill-color: transparent;
    color: transparent;
}

.story-entry__inner {
    position: relative;
    z-index: 1;
    padding-left: 0.75rem;
    border-left: 2px solid rgba(166, 149, 120, 0.45);
}

.story-entry--01 .story-entry__inner {
    border-left-color: rgba(138, 125, 104, 0.55);
}

.story-entry--02 .story-entry__inner {
    border-left-color: rgba(150, 136, 114, 0.55);
}

.story-entry--03 .story-entry__inner {
    border-left-color: rgba(166, 149, 120, 0.55);
}

.story-entry--04 .story-entry__inner {
    border-left-color: rgba(191, 181, 163, 0.65);
}

.story-entry__title {
    margin: 0 0 0.5rem;
    font-size: 1.0625rem;
    font-weight: 700;
    line-height: 1.45;
    color: var(--text-main);
    letter-spacing: 0.02em;
}

@media (min-width: 768px) {
    .story-entry__num {
        top: 0.25rem;
        right: 0.5rem;
    }

    .story-entry__inner {
        padding-left: 0.875rem;
    }

    .story-entry__title {
        margin-bottom: 0.625rem;
        font-size: 1.1875rem;
    }
}

.story-entry__body {
    display: flex;
    flex-direction: column;
    gap: 0.5rem;
    font-size: 0.875rem;
    font-weight: 500;
    line-height: 1.8;
    color: #3A342F;
}

@media (min-width: 768px) {
    .story-entry__body {
        gap: 0.5625rem;
        font-size: 0.9375rem;
    }
}

.story-entry__body p {
    margin: 0;
}

.story-closing {
    display: flex;
    align-items: flex-start;
    gap: 0.75rem;
    margin: 0.125rem 0 0;
    padding: 1rem 1.125rem;
    border-radius: 0.875rem;
    border-left: 3px solid var(--accent);
    background: linear-gradient(
        135deg,
        rgba(166, 149, 120, 0.1) 0%,
        rgba(255, 255, 255, 0.92) 100%
    );
}

.story-closing__icon {
    flex-shrink: 0;
    margin-top: 0.0625rem;
    font-size: 1.0625rem;
    color: var(--accent);
}

.story-closing__text {
    margin: 0;
    font-size: 0.875rem;
    font-weight: 600;
    line-height: 1.8;
    color: var(--text-main);
}

@media (min-width: 768px) {
    .story-closing {
        padding: 1.125rem 1.375rem;
    }

    .story-closing__text {
        font-size: 0.9375rem;
    }
}

/* OUR STORY 縦線 */
.vertical-line {
    width: 1px;
    height: 0;
    background: linear-gradient(to bottom, transparent, var(--line), transparent);
    margin: 0 auto;
    transition: height 1.5s cubic-bezier(0.16, 1, 0.3, 1);
}
.vertical-line.is-visible {
    height: 100px;
}

/* OUR STORY 背景マルキ（画面幅いっぱい） */
.p-section-typo {
    position: relative;
    width: 100%;
    overflow: hidden;
    margin-bottom: 0.75rem;
    height: clamp(4rem, 12vw, 8rem);
    pointer-events: none;
}

.p-section-typo__marquee {
    display: flex;
    width: max-content;
    animation: marqueeScroll 80s linear infinite;
    will-change: transform;
}

.p-section-typo__track {
    display: flex;
    flex-shrink: 0;
    white-space: nowrap;
}

.p-section-typo__text {
    font-family: 'Montserrat', sans-serif;
    font-size: clamp(4.5rem, 14vw, 9.5rem);
    font-weight: 800;
    line-height: 1;
    padding-right: 4vw;
    background: linear-gradient(135deg, rgba(169, 169, 166, 0.05) 0%, rgba(166, 149, 120, 0.08) 50%, rgba(169, 169, 166, 0.05) 100%);
    -webkit-background-clip: text;
    background-clip: text;
    -webkit-text-fill-color: transparent;
    color: transparent;
    white-space: nowrap;
    text-transform: uppercase;
    letter-spacing: 0.28em;
}

@keyframes marqueeScroll {
    0% { transform: translateX(0); }
    100% { transform: translateX(-50%); }
}

/* VISION セクション */
.vision__body {
    max-width: 50rem;
}

.vision__img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: center;
    display: block;
    opacity: 0.28;
}

.vision__overlay {
    position: absolute;
    inset: 0;
    background: linear-gradient(
        180deg,
        rgba(var(--bg-dark-rgb), 0.82) 0%,
        rgba(var(--bg-dark-rgb), 0.68) 45%,
        rgba(var(--bg-dark-rgb), 0.72) 70%,
        rgba(var(--bg-dark-rgb), 0.95) 100%
    );
}

.vision {
    color: #F5F5F2;
}

.vision h2,
.vision p,
.vision span {
    color: inherit;
}

.vision .font-medium {
    color: #FFFFFF;
}

/* PRICE セクション */
.price-section__label {
    margin: 0;
    font-size: 0.875rem;
    font-weight: 700;
    letter-spacing: 0.28em;
    color: var(--text-sub);
}

.price-section__catch {
    margin-left: auto;
    margin-right: auto;
}

.price-section__intro p {
    margin: 0;
}

.price-table-head__title {
    margin: 0;
    font-size: 1.25rem;
    font-weight: 800;
    letter-spacing: 0.08em;
    color: var(--text-main);
    padding-left: 0.875rem;
    border-left: 3px solid var(--accent);
}

@media (min-width: 768px) {
    .price-table-head__title {
        font-size: 1.5rem;
    }
}

.service-table-wrap {
    border-color: rgba(166, 149, 120, 0.28) !important;
}

/* 料金表 */
.service-table thead th {
    background: rgba(32, 22, 19, 0.04);
    line-height: 1.5;
}

.service-table__market-head {
    color: var(--text-sub);
    font-size: 0.8125rem;
    font-weight: 600;
}

.service-table thead .service-table__brand {
    font-size: 1rem;
    letter-spacing: 0.08em;
    color: var(--text-main);
    background: linear-gradient(180deg, rgba(166, 149, 120, 0.22) 0%, rgba(166, 149, 120, 0.1) 100%);
    border-left: 2px solid var(--accent);
}

.service-table__service-note {
    display: block;
    margin-top: 0.25rem;
    font-size: 0.8125rem;
    font-weight: 400;
    line-height: 1.5;
    color: var(--text-sub);
}

.service-table tbody td {
    line-height: 1.65;
    vertical-align: middle;
}

.service-table__market {
    color: var(--text-sub);
    text-align: center;
}

.service-table__market-text {
    display: inline-block;
    font-size: 0.875rem;
    line-height: 1.5;
    text-decoration: line-through;
    text-decoration-color: rgba(131, 131, 131, 0.65);
    text-decoration-thickness: 1px;
    opacity: 0.85;
}

.service-table__brand {
    min-width: 9rem;
    text-align: center;
    background: rgba(166, 149, 120, 0.08);
    border-left: 2px solid rgba(166, 149, 120, 0.45);
    white-space: nowrap;
}

.service-table__price {
    display: inline-block;
    font-size: 1.25rem;
    font-weight: 900;
    line-height: 1.35;
    letter-spacing: 0.02em;
    color: #D97B0D;
    background: linear-gradient(135deg, #F5B845 0%, #E89218 38%, #D97B0D 72%, #F0A830 100%);
    -webkit-background-clip: text;
    background-clip: text;
    -webkit-text-fill-color: transparent;
}

@media (min-width: 768px) {
    .service-table thead .service-table__brand {
        font-size: 1.125rem;
        padding-top: 1.375rem;
        padding-bottom: 1.375rem;
    }

    .service-table__market-head {
        font-size: 0.875rem;
    }

    .service-table__market-text {
        font-size: 0.9375rem;
    }

    .service-table__brand {
        min-width: 11rem;
    }

    .service-table__price {
        font-size: 1.5rem;
    }
}

.service-table-note {
    background: rgba(32, 22, 19, 0.03);
    line-height: 1.7;
}

.service-table-note__list {
    margin: 0;
    padding: 0;
    list-style: none;
    text-align: left;
}

.service-table-note__list li {
    position: relative;
    padding-left: 0;
    line-height: 1.75;
}

.service-table-note__list li + li {
    margin-top: 0.5rem;
}

.service-table tbody tr:hover {
    background: rgba(166, 149, 120, 0.04);
}

.service-table tbody tr:hover .service-table__brand {
    background: rgba(166, 149, 120, 0.14);
}

@media (max-width: 767px) {
    .service-table-scroll {
        overflow: visible;
    }

    .service-table thead {
        display: none;
    }

    .service-table tbody tr {
        display: block;
        padding: 1rem 1.25rem;
        border-bottom: 1px solid var(--line);
    }

    .service-table tbody tr:last-child {
        border-bottom: none;
    }

    .service-table tbody td {
        display: flex;
        justify-content: space-between;
        align-items: baseline;
        gap: 0.75rem;
        padding: 0.375rem 0;
        white-space: normal;
        vertical-align: top;
    }

    .service-table tbody td:first-child {
        display: block;
        padding: 0 0 0.625rem;
        margin-bottom: 0.5rem;
        border-bottom: 1px solid var(--line);
        font-size: 0.9375rem;
        line-height: 1.5;
    }

    .service-table tbody td:not(:first-child)::before {
        content: attr(data-label);
        flex-shrink: 0;
        font-size: 0.75rem;
        font-weight: 500;
        color: var(--text-sub);
    }

    .service-table tbody td[data-label="第弐ヴォヌール"] {
        margin-top: 0.5rem;
        padding: 0.75rem 0.875rem;
        border-radius: 0.75rem;
        background: rgba(166, 149, 120, 0.14);
        border-left: none;
        justify-content: space-between;
    }

    .service-table tbody td[data-label="第弐ヴォヌール"]::before {
        color: var(--text-main);
        font-weight: 700;
        font-size: 0.8125rem;
    }

    .service-table tbody .service-table__brand {
        min-width: 0;
        text-align: right;
        background: transparent;
    }

    .service-table tbody .service-table__price {
        font-size: 1.125rem;
    }

    .service-table tbody .service-table__market {
        text-align: right;
    }

    .service-table tbody .service-table__market-text {
        font-size: 0.8125rem;
    }
}

@media (min-width: 768px) {
    .service-table-scroll {
        overflow-x: auto;
    }
}

/* SERVICE */
.service-intro::before {
    content: "";
    position: absolute;
    inset: 0;
    background:
        radial-gradient(ellipse 55% 45% at 0% 45%, rgba(166, 149, 120, 0.07), transparent 72%),
        radial-gradient(ellipse 55% 45% at 100% 55%, rgba(166, 149, 120, 0.07), transparent 72%);
    pointer-events: none;
}

.service-split {
    position: relative;
    display: grid;
    grid-template-columns: minmax(0, 1fr);
    isolation: isolate;
}

@media (min-width: 768px) {
    .service-split {
        grid-template-columns: minmax(150px, 1fr) minmax(150px, 1fr);
        column-gap: 3rem;
        row-gap: 1rem;
        align-items: start;
    }
}

.service-split__panel {
    position: relative;
    z-index: 2;
    grid-column: 1;
    padding: 2.25rem 0.5rem 2.75rem;
}

.service-split__panel--01 {
    grid-row: 1;
}

.service-split__panel--02 {
    grid-row: 2;
}

.service-split__panel--03 {
    grid-row: 3;
}

.service-split__panel--04 {
    grid-row: 4;
}

@media (min-width: 768px) {
    .service-split__panel--01 {
        grid-column: 1;
        grid-row: 1;
        padding: 1.75rem 1.5rem 2.5rem 0.5rem;
    }

    .service-split__panel--02 {
        grid-column: 2;
        grid-row: 1;
        padding: 6rem 1rem 1.75rem 1.5rem;
    }

    .service-split__panel--03 {
        grid-column: 1;
        grid-row: 2;
        padding: 2.5rem 1.5rem 2.5rem 0.5rem;
    }

    .service-split__panel--04 {
        grid-column: 2;
        grid-row: 2;
        padding: 6rem 1rem 1.75rem 1.5rem;
    }
}

.service-split__num {
    position: absolute;
    top: 1.25rem;
    left: 0;
    z-index: 0;
    display: block;
    min-width: 150px;
    font-size: clamp(4.5rem, 14vw, 7.5rem);
    font-weight: 900;
    line-height: 0.9;
    letter-spacing: -0.06em;
    pointer-events: none;
    user-select: none;
    color: rgba(32, 22, 19, 0.06);
}

.service-split__panel--02 .service-split__num,
.service-split__panel--04 .service-split__num {
    left: 0;
    right: auto;
}

@media (min-width: 768px) {
    .service-split__panel--01 .service-split__num,
    .service-split__panel--03 .service-split__num {
        left: 0;
        top: 1rem;
    }

    .service-split__panel--02 .service-split__num,
    .service-split__panel--04 .service-split__num {
        left: 0;
        top: 5.75rem;
    }
}

.service-split__inner {
    position: relative;
    z-index: 2;
    padding-top: 3.5rem;
    max-width: 100%;
}

@media (min-width: 768px) {
    .service-split__inner {
        padding-top: clamp(4.5rem, 10vw, 6.25rem);
    }
}

.service-split__panel--02 .service-split__inner,
.service-split__panel--04 .service-split__inner {
    margin-left: 0;
}

.service-split__mark {
    display: block;
    min-width: 150px;
    width: 150px;
    height: 1px;
    margin-bottom: 1.25rem;
    background: var(--accent);
    opacity: 0.85;
}

.service-split__panel--02 .service-split__mark,
.service-split__panel--04 .service-split__mark {
    margin-left: 0;
}

.service-split__title {
    margin: 0 0 1.25rem;
    font-size: 1.375rem;
    font-weight: 700;
    line-height: 1.35;
    letter-spacing: 0.04em;
    color: var(--text-main);
}

@media (min-width: 768px) {
    .service-split__title {
        font-size: 1.625rem;
    }
}

.service-split__lead {
    margin: 0 0 1.375rem;
    font-size: 1.0625rem;
    font-weight: 700;
    line-height: 1.65;
    color: var(--accent);
}

.service-split__accordion {
    margin: -0.5rem 0 0;
}

.service-split__toggle {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 0.625rem;
    margin: 0;
    padding: 0.6875rem 1.25rem;
    font-family: inherit;
    font-size: 0.8125rem;
    font-weight: 700;
    letter-spacing: 0.08em;
    color: var(--accent);
    background: rgba(166, 149, 120, 0.1);
    border: 1px solid rgba(166, 149, 120, 0.42);
    border-radius: 9999px;
    cursor: pointer;
    box-shadow: 0 2px 8px rgba(32, 22, 19, 0.04);
    transition:
        color 0.25s ease,
        background 0.25s ease,
        border-color 0.25s ease,
        box-shadow 0.25s ease,
        transform 0.25s ease;
}

.service-split__toggle:hover,
.service-split__toggle:focus-visible {
    color: var(--text-main);
    background: rgba(166, 149, 120, 0.18);
    border-color: rgba(166, 149, 120, 0.62);
    box-shadow: 0 4px 14px rgba(32, 22, 19, 0.07);
    outline: none;
}

.service-split__toggle.is-open {
    color: #FFFFFF;
    background: var(--accent);
    border-color: var(--accent);
    box-shadow: 0 6px 16px rgba(166, 149, 120, 0.22);
}

.service-split__toggle.is-open:hover,
.service-split__toggle.is-open:focus-visible {
    color: #FFFFFF;
    background: var(--accent-dark);
    border-color: var(--accent-dark);
}

.service-split__toggle-icon {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 1.125rem;
    height: 1.125rem;
    font-size: 0.5625rem;
    border-radius: 50%;
    background: rgba(166, 149, 120, 0.16);
    transition:
        transform 0.35s cubic-bezier(0.16, 1, 0.3, 1),
        background 0.25s ease;
}

.service-split__toggle.is-open .service-split__toggle-icon {
    transform: rotate(180deg);
    background: rgba(255, 255, 255, 0.22);
}

.service-split__detail {
    display: grid;
    grid-template-rows: 0fr;
    transition: grid-template-rows 0.4s cubic-bezier(0.16, 1, 0.3, 1);
}

.service-split__detail.is-open {
    grid-template-rows: 1fr;
}

.service-split__detail-inner {
    overflow: hidden;
}

.service-split__detail .service-split__body {
    padding-top: 1.25rem;
}

@media (min-width: 768px) {
    .service-split__lead {
        font-size: 1.25rem;
    }

    .service-split__toggle {
        padding: 0.75rem 1.375rem;
        font-size: 0.875rem;
    }

    .service-split__detail .service-split__body {
        padding-top: 1.5rem;
    }
}

.service-split__body {
    display: flex;
    flex-direction: column;
    gap: 1.125rem;
    font-size: 1rem;
    line-height: 2;
    color: #3A342F;
    font-weight: 500;
}

.service-split__body p {
    margin: 0;
}

@media (min-width: 768px) {
    .service-split__body {
        font-size: 1.0625rem;
        gap: 1.25rem;
        line-height: 2.05;
    }
}

.service-split__scope {
    margin-top: 1.875rem;
    padding-top: 1.375rem;
    border-top: 1px solid rgba(166, 149, 120, 0.22);
}

.service-split__scope-label {
    margin: 0 0 0.875rem;
    font-size: 0.9375rem;
    font-weight: 700;
    letter-spacing: 0.28em;
    text-transform: uppercase;
    color: var(--accent);
}

.service-split__scope-text {
    margin: 0;
    font-size: 0.8125rem;
    line-height: 1.85;
    color: var(--text-body);
    font-weight: 400;
}

@media (min-width: 768px) {
    .service-split__scope-label {
        font-size: 1.125rem;
        margin-bottom: 1rem;
    }

    .service-split__scope-text {
        font-size: 0.875rem;
    }
}

/* FLOW */
.flow-section {
    position: relative;
}

.flow-section::before {
    content: "";
    position: absolute;
    inset: 0;
    background:
        radial-gradient(ellipse 55% 45% at 0% 45%, rgba(166, 149, 120, 0.08), transparent 72%),
        radial-gradient(ellipse 55% 45% at 100% 55%, rgba(166, 149, 120, 0.08), transparent 72%);
    pointer-events: none;
}

.flow-section > .container {
    max-width: 92rem;
}

.flow-section__lead {
    margin: 0;
}

.flow-section__cta {
    margin: 0 auto;
}

.flow-grid {
    position: relative;
    z-index: 1;
    display: grid;
    grid-template-columns: minmax(0, 1fr);
    gap: 1rem;
}

.flow-step {
    display: flex;
    flex-direction: column;
    align-items: center;
    text-align: center;
    padding: 1.125rem 0.875rem 1.25rem;
    border-radius: 1.125rem;
    border: 1px solid rgba(166, 149, 120, 0.22);
    border-top-width: 2px;
    background: rgba(255, 255, 255, 0.88);
    box-shadow: 0 8px 24px rgba(32, 22, 19, 0.04);
}

.flow-step--01 {
    border-top-color: rgba(138, 125, 104, 0.65);
}

.flow-step--02 {
    border-top-color: rgba(150, 136, 114, 0.65);
}

.flow-step--03 {
    border-top-color: rgba(166, 149, 120, 0.7);
}

.flow-step--04 {
    border-top-color: rgba(166, 149, 120, 0.55);
}

.flow-step--05 {
    border-top-color: rgba(191, 181, 163, 0.75);
}

.flow-step--06 {
    border-top-color: var(--accent-light);
}

.flow-step__icon {
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
    width: 4.5rem;
    height: 4.5rem;
    margin-bottom: 0.75rem;
    padding: 0;
    border-radius: 50%;
    border: 2px solid rgba(166, 149, 120, 0.38);
    background: linear-gradient(
        145deg,
        rgba(166, 149, 120, 0.16) 0%,
        rgba(255, 255, 255, 0.96) 100%
    );
    box-shadow: 0 4px 14px rgba(166, 149, 120, 0.12);
    overflow: hidden;
}

.flow-step--01 .flow-step__icon {
    border-color: rgba(138, 125, 104, 0.45);
    background: linear-gradient(145deg, rgba(138, 125, 104, 0.18) 0%, rgba(255, 255, 255, 0.96) 100%);
}

.flow-step--02 .flow-step__icon {
    border-color: rgba(150, 136, 114, 0.45);
    background: linear-gradient(145deg, rgba(150, 136, 114, 0.16) 0%, rgba(255, 255, 255, 0.96) 100%);
}

.flow-step--03 .flow-step__icon {
    border-color: rgba(166, 149, 120, 0.48);
}

.flow-step--04 .flow-step__icon {
    border-color: rgba(166, 149, 120, 0.42);
}

.flow-step--05 .flow-step__icon {
    border-color: rgba(191, 181, 163, 0.5);
    background: linear-gradient(145deg, rgba(191, 181, 163, 0.18) 0%, rgba(255, 255, 255, 0.96) 100%);
}

.flow-step--06 .flow-step__icon {
    border-color: rgba(191, 181, 163, 0.55);
    background: linear-gradient(145deg, rgba(191, 181, 163, 0.2) 0%, rgba(255, 255, 255, 0.96) 100%);
}

.flow-step__icon img {
    display: block;
    width: 120%;
    height: 120%;
    max-width: none;
    object-fit: cover;
}

.flow-step__title {
    margin: 0 0 0.375rem;
    font-size: 0.8125rem;
    font-weight: 700;
    line-height: 1.45;
    letter-spacing: 0.01em;
    color: var(--text-main);
}

.flow-step__sep {
    margin: 0 0.125em;
}

.flow-step__name {
    font-weight: 700;
}

.flow-step__label {
    letter-spacing: 0.06em;
    font-weight: 700;
}

.flow-step--01 .flow-step__label {
    color: var(--accent-dark);
}

.flow-step--02 .flow-step__label {
    color: #968872;
}

.flow-step--03 .flow-step__label {
    color: var(--accent);
}

.flow-step--04 .flow-step__label {
    color: #9A8870;
}

.flow-step--05 .flow-step__label {
    color: #AFA595;
}

.flow-step--06 .flow-step__label {
    color: var(--accent-light);
}

.flow-step__text {
    margin: 0;
    font-size: 0.75rem;
    line-height: 1.75;
    color: var(--text-body);
    font-weight: 500;
}

@media (max-width: 639px) {
    .flow-grid {
        gap: 0.625rem;
    }

    .flow-step {
        display: grid;
        grid-template-columns: 3.5rem minmax(0, 1fr);
        grid-template-rows: auto auto;
        align-items: center;
        column-gap: 0.75rem;
        row-gap: 0.1875rem;
        padding: 0.6875rem 0.75rem;
        text-align: left;
    }

    .flow-step__icon {
        grid-column: 1;
        grid-row: 1 / 3;
        width: 3.5rem;
        height: 3.5rem;
        margin-bottom: 0;
        align-self: center;
    }

    .flow-step__title {
        grid-column: 2;
        grid-row: 1;
        margin-bottom: 0;
        font-size: 0.8125rem;
        line-height: 1.4;
    }

    .flow-step__text {
        grid-column: 2;
        grid-row: 2;
        font-size: 0.6875rem;
        line-height: 1.65;
    }
}

@media (min-width: 640px) {
    .flow-step {
        display: flex;
        flex-direction: column;
        align-items: center;
        text-align: center;
        padding: 1.125rem 0.875rem 1.25rem;
    }

    .flow-step__icon {
        margin-bottom: 0.75rem;
    }

    .flow-step__title {
        display: flex;
        flex-direction: column;
        align-items: center;
        gap: 0.1875rem;
        margin-bottom: 0.375rem;
    }

    .flow-step__sep {
        display: none;
    }

    .flow-step__label,
    .flow-step__name {
        display: block;
        line-height: 1.35;
    }

    .flow-grid {
        grid-template-columns: repeat(2, minmax(0, 1fr));
        gap: 0.875rem 1rem;
    }

    .flow-step__icon {
        width: 4.75rem;
        height: 4.75rem;
    }
}

@media (min-width: 1024px) {
    .flow-grid {
        grid-template-columns: repeat(6, minmax(0, 1fr));
        gap: 0.625rem;
    }

    .flow-step {
        padding: 1rem 0.5rem 1.125rem;
    }

    .flow-step__icon {
        width: 4.25rem;
        height: 4.25rem;
        margin-bottom: 0.625rem;
    }

    .flow-step__icon img {
        width: 120%;
        height: 120%;
    }

    .flow-step__title {
        font-size: 0.75rem;
        line-height: 1.4;
    }

    .flow-step__text {
        font-size: 0.6875rem;
        line-height: 1.7;
    }
}

@media (min-width: 1280px) {
    .flow-grid {
        gap: 0.875rem;
    }

    .flow-step {
        padding: 1.125rem 0.625rem 1.25rem;
    }

    .flow-step__icon {
        width: 4.75rem;
        height: 4.75rem;
    }

    .flow-step__title {
        font-size: 0.8125rem;
    }

    .flow-step__text {
        font-size: 0.75rem;
    }
}

/* SUBSIDY セクション — 助成金エリア専用トーン */
.subsidy-section {
    position: relative;
    isolation: isolate;
    overflow: hidden;
    color: #EEEEEE;
    background: linear-gradient(
        180deg,
        var(--subsidy-bg) 0%,
        var(--subsidy-bg-mid) 48%,
        var(--subsidy-bg) 100%
    );
    border-top: 1px solid rgba(255, 255, 255, 0.08);
    border-bottom: 1px solid rgba(255, 255, 255, 0.08);
}

.subsidy-section::before {
    content: "";
    position: absolute;
    inset: 0;
    z-index: 0;
    pointer-events: none;
    background:
        radial-gradient(ellipse 70% 55% at 50% 0%, rgba(166, 149, 120, 0.16), transparent 72%),
        radial-gradient(ellipse 50% 40% at 100% 100%, rgba(166, 149, 120, 0.08), transparent 70%);
}

.subsidy-section::after {
    content: "";
    position: absolute;
    inset: 0;
    z-index: 0;
    pointer-events: none;
    opacity: 0.35;
    background-image: var(--bg-pattern);
    background-size: 480px 480px;
    background-repeat: repeat;
    mix-blend-mode: soft-light;
}

.subsidy-section > .container {
    position: relative;
    z-index: 1;
}

.subsidy-section h2,
.subsidy-section h3,
.subsidy-section .text-main,
.subsidy-section .subsidy-card-title {
    color: #F5F5F2;
}

.subsidy-section .text-body {
    color: rgba(255, 255, 255, 0.78);
}

.subsidy-section .text-sub {
    color: rgba(255, 255, 255, 0.55);
}

.subsidy-section .text-main.font-medium,
.subsidy-section .font-medium.text-main {
    color: var(--accent-light);
}

.subsidy-section .accent-line {
    background: var(--accent-light);
    opacity: 0.85;
}

.subsidy-section .glass-panel {
    background: rgba(255, 255, 255, 0.06);
    border-color: rgba(255, 255, 255, 0.14);
    box-shadow: 0 18px 48px rgba(0, 0, 0, 0.22);
}

.subsidy-section .bg-card {
    background: rgba(255, 255, 255, 0.08) !important;
}

.subsidy-section .bg-bg {
    background: rgba(0, 0, 0, 0.22) !important;
}

.subsidy-section .border-line {
    border-color: rgba(255, 255, 255, 0.12) !important;
}

.subsidy-section .inline-block.bg-card {
    background: rgba(166, 149, 120, 0.18) !important;
    color: var(--accent-light) !important;
}

.subsidy-section .opacity-5.text-main {
    color: #FFFFFF !important;
}

.subsidy-section .text-accent {
    color: var(--accent-light);
}

.subsidy-section a.border.border-line {
    color: #F5F5F2;
    border-color: rgba(255, 255, 255, 0.28) !important;
    background: transparent;
}

.subsidy-section a.border.border-line:hover {
    border-color: var(--accent-light) !important;
    color: var(--accent-light);
}

/* SUBSIDY カード内タイトル */
.subsidy-card-title {
    font-size: 0.9375rem;
    font-weight: 700;
    line-height: 1.4;
    letter-spacing: 0.04em;
    color: var(--text-main);
}

@media (min-width: 768px) {
    .subsidy-card-title {
        font-size: 1rem;
    }
}

/* フォーム */
.form-input {
    background: var(--bg);
    border: 1px solid var(--line);
    color: #1A1411;
    font-size: 1rem;
    font-weight: 500;
    line-height: 1.5;
}

.form-input:focus {
    outline: none;
    border-color: var(--accent);
    box-shadow: 0 0 0 3px rgba(166, 149, 120, 0.14);
}

.form-input::placeholder {
    color: rgba(131, 131, 131, 0.85);
}

.contact-form .cf7-field-label,
.wpcf7-wrap .cf7-field-label,
.wpcf7-wrap .cf7-field > label,
.wpcf7-wrap .cf7-field > p > label {
    display: block;
    margin-bottom: 0.875rem;
    font-size: 0.9375rem;
    font-weight: 700;
    color: var(--text-main);
    letter-spacing: 0.02em;
}

.contact-form > form > .space-y-6 > div > label.block {
    display: block;
    margin-bottom: 0.875rem;
    font-size: 0.9375rem;
    font-weight: 700;
    color: var(--text-main);
    letter-spacing: 0.02em;
}

.contact-form .cf7-radio-option,
.contact-form .wpcf7-list-item label {
    display: flex;
    align-items: flex-start;
    gap: 0.75rem;
    width: 100%;
    margin-bottom: 0;
    padding: 0.9375rem 1rem;
    border: 1px solid rgba(166, 149, 120, 0.22);
    border-radius: 0.75rem;
    background: rgba(255, 255, 255, 0.92);
    font-size: 0.9375rem;
    font-weight: 500;
    line-height: 1.65;
    color: #1A1411;
    cursor: pointer;
    transition:
        border-color 0.2s ease,
        background-color 0.2s ease,
        box-shadow 0.2s ease,
        color 0.2s ease;
}

.contact-form .cf7-radio-option:hover,
.contact-form .wpcf7-list-item label:hover {
    border-color: rgba(166, 149, 120, 0.42);
    background: rgba(250, 249, 247, 0.98);
    color: var(--text-main);
}

.contact-form .cf7-radio-option:has(input:checked),
.contact-form .wpcf7-list-item label:has(input:checked) {
    border-color: var(--accent);
    background: rgba(166, 149, 120, 0.1);
    box-shadow: 0 0 0 1px rgba(166, 149, 120, 0.12);
    color: var(--text-main);
}

.contact-form input[type="radio"],
.contact-form .wpcf7-list-item input[type="radio"] {
    flex-shrink: 0;
    width: 1.125rem;
    height: 1.125rem;
    margin-top: 0.2rem;
    accent-color: var(--accent);
    cursor: pointer;
}

.contact-form input[type="radio"]:focus,
.contact-form .wpcf7-list-item input[type="radio"]:focus {
    outline: 2px solid rgba(166, 149, 120, 0.45);
    outline-offset: 2px;
}

.contact-form .cf7-radio-option__text,
.contact-form .wpcf7-list-item-label {
    flex: 1;
    margin-left: 0;
}

.contact-form .cf7-radio-group,
.contact-form .wpcf7-radio {
    display: flex;
    flex-direction: column;
    gap: 0.625rem;
}

.contact-form .cf7-radio-group--inline,
.contact-form .cf7-field--inline .wpcf7-radio {
    flex-direction: row;
    flex-wrap: wrap;
    gap: 0.75rem;
}

.contact-form .cf7-radio-group--inline .cf7-radio-option,
.contact-form .cf7-field--inline .wpcf7-list-item {
    flex: 1 1 calc(50% - 0.375rem);
    min-width: 8.5rem;
}

.contact-form .cf7-radio-group--inline .cf7-radio-option,
.contact-form .cf7-field--inline .wpcf7-list-item label {
    justify-content: flex-start;
    min-height: 3.25rem;
}

@media (min-width: 768px) {
    .form-input {
        font-size: 1rem;
    }

    .contact-form .cf7-radio-option,
    .contact-form .wpcf7-list-item label {
        padding: 1rem 1.125rem;
        font-size: 1rem;
    }
}

/* LINE 追従ボタン */
.line-float {
    position: fixed;
    right: 0;
    top: 50%;
    transform: translateY(-50%);
    z-index: 45;
    opacity: 0;
    visibility: hidden;
    pointer-events: none;
    transition:
        opacity 0.35s ease,
        visibility 0.35s ease,
        transform 0.35s ease;
}

.line-float.is-visible {
    opacity: 1;
    visibility: visible;
    pointer-events: auto;
}

.line-float__link {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 0.5rem;
    min-width: 4.5rem;
    padding: 0.875rem 0.75rem;
    background: var(--line-green);
    border: 1px solid rgba(255, 255, 255, 0.18);
    border-right: none;
    border-radius: 16px 0 0 16px;
    color: #FFFFFF;
    text-decoration: none;
    box-shadow: 0 12px 28px rgba(6, 199, 85, 0.22);
    transition: background 0.25s ease, box-shadow 0.25s ease, transform 0.25s ease;
}

.line-float__link:hover {
    background: var(--line-green-dark);
    color: #FFFFFF;
    box-shadow: 0 16px 32px rgba(6, 199, 85, 0.28);
}

.line-float__icon {
    display: block;
    width: 1.5rem;
    height: auto;
    flex-shrink: 0;
}

.line-float__text {
    font-size: 0.625rem;
    font-weight: 700;
    line-height: 1.35;
    letter-spacing: 0.04em;
    text-align: center;
}

@media (max-width: 767px) {
    .line-float {
        top: auto;
        bottom: 1.25rem;
        transform: none;
    }

    .line-float__link {
        flex-direction: row;
        gap: 0.625rem;
        min-width: auto;
        padding: 0.8125rem 1rem;
        border-right: 1px solid rgba(255, 255, 255, 0.18);
        border-radius: 9999px;
        margin-right: 1rem;
    }

    .line-float__text {
        font-size: 0.6875rem;
        white-space: nowrap;
    }

    .line-float__text br {
        display: none;
    }
}

/* CONTACT CTA */
.contact-trust {
    list-style: none;
    margin: 0;
    padding: 0;
}

.contact-cta__actions {
    display: flex;
    flex-direction: row;
    flex-wrap: wrap;
    align-items: center;
    justify-content: center;
    gap: 0.75rem;
    margin-left: auto;
    margin-right: auto;
}

@media (min-width: 640px) {
    .contact-cta__actions {
        gap: 1rem;
    }
}

.contact-cta__actions a {
    width: auto;
    min-width: 0;
}

.contact-form {
    scroll-margin-top: 6rem;
    margin-top: 2rem;
}

#results,
#story,
#vision,
#service,
#price,
#flow,
#subsidy,
#contact {
    scroll-margin-top: 5rem;
}

@media (min-width: 768px) {
    #results,
    #story,
    #vision,
    #service,
    #price,
    #flow,
    #subsidy,
    #contact {
        scroll-margin-top: 6rem;
    }
}

@media (min-width: 768px) {
    .contact-form {
        margin-top: 2.5rem;
    }
}

/* Contact Form 7 */
.wpcf7-wrap .wpcf7 {
    margin: 0;
}

.wpcf7-wrap form.wpcf7-form {
    margin: 0;
}

.wpcf7-wrap .wpcf7-form-control-wrap {
    display: block;
}

.wpcf7-wrap p {
    margin: 0;
}

.wpcf7-wrap .cf7-field > p {
    margin: 0;
}

.wpcf7-wrap .cf7-field > p br {
    display: none;
}

.wpcf7-wrap #other_inquiry_wrapper p {
    margin: 0;
}

.wpcf7-wrap #other_inquiry_wrapper p br {
    display: none;
}

.wpcf7-wrap .cf7-submit-note p + p {
    margin-top: 1rem;
}

.wpcf7-wrap .cf7-submit-note p:last-child {
    margin-top: 1.25rem;
}

.wpcf7-wrap .cf7-submit-btn {
    margin: 0;
}

.wpcf7-wrap .cf7-submit-btn p {
    margin: 0;
}

.wpcf7-wrap .cf7-fields {
    display: flex;
    flex-direction: column;
    gap: 1.5rem;
}

@media (min-width: 768px) {
    .wpcf7-wrap .cf7-fields {
        gap: 2rem;
    }
}

.wpcf7-wrap .cf7-field-label,
.wpcf7-wrap .cf7-field > label,
.wpcf7-wrap .cf7-field > p > label {
    display: block;
    margin-bottom: 0.875rem;
    font-size: 0.9375rem;
    font-weight: 700;
    color: var(--text-main);
    letter-spacing: 0.02em;
}

.wpcf7-wrap .cf7-field .wpcf7-form-control {
    width: 100%;
    font-weight: 500;
    color: #1A1411;
}

.wpcf7-wrap .wpcf7-radio {
    display: flex;
    flex-direction: column;
    gap: 0.625rem;
}

.wpcf7-wrap .wpcf7-list-item {
    margin: 0;
}

.wpcf7-wrap .cf7-field--inline .wpcf7-radio {
    flex-direction: row;
    flex-wrap: wrap;
    gap: 0.75rem;
}

.wpcf7-wrap .cf7-field--inline .wpcf7-list-item {
    flex: 1 1 calc(50% - 0.375rem);
    min-width: 8.5rem;
}

.wpcf7-wrap .cf7-submit-note {
    color: #3A342F;
    font-size: 0.9375rem;
    line-height: 1.85;
}

.wpcf7-wrap .cf7-submit-note .text-body,
.wpcf7-wrap .cf7-submit-note p {
    color: #3A342F;
}

.wpcf7-wrap .cf7-submit-note .text-xs,
.wpcf7-wrap .cf7-submit-note p.text-xs {
    color: var(--text-body);
}

.wpcf7-wrap .cf7-submit-area {
    margin-top: 3rem;
    padding-top: 2rem;
    border-top: 1px solid var(--line);
}

.wpcf7-wrap .wpcf7-submit {
    width: 100%;
    padding: 1.25rem 1.5rem;
    font-weight: 700;
    color: #FFFFFF;
    border: none;
    border-radius: 0.75rem;
    cursor: pointer;
    letter-spacing: 0.1em;
    transition: opacity 0.25s ease;
}

.wpcf7-wrap .wpcf7-submit:hover {
    opacity: 0.9;
}

.wpcf7-wrap .wpcf7-response-output {
    margin: 1rem 0 0;
    padding: 0.875rem 1rem;
    border-radius: 0.75rem;
    font-size: 0.875rem;
    line-height: 1.6;
}

.wpcf7-wrap .wpcf7-not-valid-tip {
    margin-top: 0.375rem;
    font-size: 0.75rem;
    color: #f87171;
}

.wpcf7-wrap .wpcf7-spinner {
    margin: 0.75rem auto 0;
}

/* 404 */
.error-404 {
    position: relative;
    display: flex;
    align-items: center;
    justify-content: center;
    min-height: calc(100svh - 4.5rem);
    padding: 6rem 1rem 4rem;
    overflow: hidden;
    isolation: isolate;
}

.error-404::before {
    content: "";
    position: absolute;
    inset: 0;
    background:
        radial-gradient(ellipse 60% 50% at 50% 35%, rgba(166, 149, 120, 0.09), transparent 72%),
        radial-gradient(ellipse 40% 35% at 20% 80%, rgba(166, 149, 120, 0.05), transparent 70%);
    pointer-events: none;
}

.error-404__inner {
    position: relative;
    z-index: 1;
    width: 100%;
    max-width: 36rem;
    margin: 0 auto;
    text-align: center;
}

.error-404__label {
    margin: 0 0 1rem;
    font-size: 0.75rem;
}

.error-404__code {
    margin: 0 0 1.25rem;
    font-size: clamp(5rem, 22vw, 8.5rem);
    font-weight: 900;
    line-height: 0.9;
    letter-spacing: -0.05em;
    background: linear-gradient(
        165deg,
        rgba(32, 22, 19, 0.82) 0%,
        rgba(166, 149, 120, 0.72) 42%,
        rgba(166, 149, 120, 0.18) 100%
    );
    -webkit-background-clip: text;
    background-clip: text;
    -webkit-text-fill-color: transparent;
    color: transparent;
    pointer-events: none;
    user-select: none;
}

.error-404__title {
    margin: 0 0 1.5rem;
    font-size: 1.5rem;
    font-weight: 700;
    line-height: 1.45;
    letter-spacing: 0.02em;
    color: var(--text-main);
}

@media (min-width: 768px) {
    .error-404__title {
        font-size: 1.875rem;
    }
}

.error-404__text {
    margin: 1.75rem 0 0;
    font-size: 0.9375rem;
    line-height: 1.95;
    color: var(--text-body);
    font-weight: 300;
}

@media (min-width: 768px) {
    .error-404__text {
        font-size: 1rem;
    }
}

.error-404__actions {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 1rem;
    margin-top: 2.5rem;
}

@media (min-width: 640px) {
    .error-404__actions {
        flex-direction: row;
        justify-content: center;
        gap: 1.25rem;
    }
}

.error-404__btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 100%;
    max-width: 16rem;
    padding: 1rem 2.5rem;
    font-size: 0.875rem;
    font-weight: 700;
    letter-spacing: 0.08em;
    border-radius: 9999px;
    text-decoration: none;
    transition: opacity 0.25s ease, background 0.25s ease, border-color 0.25s ease, color 0.25s ease;
}

@media (min-width: 640px) {
    .error-404__btn {
        width: auto;
    }
}

.error404 .line-float.is-visible,
.error404 .line-float {
    opacity: 1;
    visibility: visible;
    pointer-events: auto;
}
