/* 全ページ共通：基本スタイル・共通モーション・ブランド表示 */

body {
            color: #4A423F;
            background-color: #FAF8F5;
            -webkit-font-smoothing: antialiased;
            -moz-osx-font-smoothing: grayscale;
        }

        /* ドラッグ選択時もサイトの柔らかな色合いに揃える */
        ::selection {
            color: #4A423F;
            background-color: rgba(235, 203, 204, 0.82);
        }

        ::-moz-selection {
            color: #4A423F;
            background-color: rgba(235, 203, 204, 0.82);
        }

        img::selection {
            background-color: rgba(235, 203, 204, 0.58);
        }

        img::-moz-selection {
            background-color: rgba(235, 203, 204, 0.58);
        }

        /* スクロール連動表示用クラス */
        .reveal {
            opacity: 1;
            transform: translateY(0);
        }

        .js-reveal-ready .reveal {
            opacity: 0;
            transform: translateY(30px);
            transition: all 1s cubic-bezier(0.16, 1, 0.3, 1);
        }

        .js-reveal-ready .reveal.active,
        .reveal.active {
            opacity: 1;
            transform: translateY(0);
        }

        /* 画像が読み込めなかった際のフォールバック用背景 */
        img {
            background-color: #EBE5D9;
        }
        
        /* 下部固定CTAの余白確保 */
        .pb-safe-cta {
            padding-bottom: calc(80px + env(safe-area-inset-bottom));
        }

        /* セクションタイトル背景のモーブピンクのにじみ */
        .section-heading {
            position: relative;
            isolation: isolate;
        }

        .section-heading::before,
        .section-heading::after {
            content: '';
            position: absolute;
            left: var(--heading-glow-left, 50%);
            top: var(--heading-glow-top, 50%);
            width: var(--heading-glow-size, 9rem);
            height: var(--heading-glow-size, 9rem);
            border-radius: 9999px;
            pointer-events: none;
            opacity: 0;
            z-index: -1;
            transition:
                opacity 0.9s cubic-bezier(0.16, 1, 0.3, 1),
                transform 1.2s cubic-bezier(0.16, 1, 0.3, 1);
        }

        .section-heading::before {
            transform: translate(-50%, -50%) scale(0.86);
            background: radial-gradient(
                circle at center,
                rgba(235, 203, 204, var(--heading-glow-opacity, 0.5)) 0%,
                rgba(245, 228, 228, calc(var(--heading-glow-opacity, 0.5) * 0.58)) 42%,
                rgba(245, 228, 228, 0) 72%
            );
            filter: blur(var(--heading-glow-blur, 22px));
        }

        .section-heading::after {
            width: calc(var(--heading-glow-size, 9rem) * 0.72);
            height: calc(var(--heading-glow-size, 9rem) * 0.72);
            transform: translate(-50%, -50%) scale(0.8);
            background: radial-gradient(
                circle at center,
                rgba(194, 123, 117, calc(var(--heading-glow-opacity, 0.5) * 0.34)) 0%,
                rgba(235, 203, 204, calc(var(--heading-glow-opacity, 0.5) * 0.26)) 46%,
                rgba(235, 203, 204, 0) 74%
            );
            filter: blur(calc(var(--heading-glow-blur, 22px) * 0.72));
        }

        .section-heading.active::before,
        .section-heading.active::after {
            opacity: 1;
        }

        .section-heading.active::before {
            transform: translate(-50%, -50%) scale(1);
            animation: sectionGlowFloatPrimary 7s ease-in-out infinite;
        }

        .section-heading.active::after {
            transform: translate(-50%, -50%) scale(1);
            animation: sectionGlowFloatSecondary 5.8s ease-in-out infinite;
        }

        .section-heading--center-start {
            --heading-glow-left: 39%;
        }

        .section-heading--left-start {
            --heading-glow-left: 0.7em;
        }

        .section-heading--soft {
            --heading-glow-size: 7.8rem;
            --heading-glow-opacity: 0.36;
            --heading-glow-blur: 24px;
        }

        .section-heading--medium {
            --heading-glow-size: 9rem;
            --heading-glow-opacity: 0.46;
            --heading-glow-blur: 24px;
        }

        .section-heading--strong {
            --heading-glow-size: 10.5rem;
            --heading-glow-opacity: 0.58;
            --heading-glow-blur: 26px;
        }

        .section-heading--compact {
            --heading-glow-size: 6.8rem;
            --heading-glow-opacity: 0.32;
            --heading-glow-blur: 22px;
        }

        @media (min-width: 768px) {
            .section-heading--center-start {
                --heading-glow-left: 43%;
            }

            .section-heading--left-start {
                --heading-glow-left: 1.4em;
            }
        }

        @keyframes sectionGlowFloatPrimary {
            0%, 100% { transform: translate(-50%, -50%) scale(1); opacity: 0.88; }
            50% { transform: translate(-47%, -54%) scale(1.07); opacity: 1; }
        }

        @keyframes sectionGlowFloatSecondary {
            0%, 100% { transform: translate(-50%, -50%) scale(1); opacity: 0.68; }
            50% { transform: translate(-54%, -46%) scale(1.12); opacity: 0.9; }
        }

        /* UI motion: 上品な最新感を足すための微細アニメーション */
        .motion-img {
            overflow: hidden;
        }

        .motion-img img {
            transform: scale(1.035);
            transition: transform 1.4s cubic-bezier(0.16, 1, 0.3, 1);
            will-change: transform;
        }

        .motion-img.active img,
        .motion-img .reveal.active img,
        .motion-img.reveal.active img {
            transform: scale(1);
        }

        .cta-shimmer {
            position: relative;
            overflow: hidden;
            isolation: isolate;
        }

        .cta-shimmer::after {
            content: "";
            position: absolute;
            inset: 0;
            transform: translateX(-120%);
            background: linear-gradient(
                120deg,
                transparent,
                rgba(255, 255, 255, 0.36),
                transparent
            );
            z-index: -1;
            pointer-events: none;
        }

        .cta-shimmer:hover::after,
        .cta-shimmer:focus-visible::after {
            transform: translateX(120%);
            transition: transform 0.9s cubic-bezier(0.16, 1, 0.3, 1);
        }

        .soft-lift {
            transition:
                transform 0.35s ease,
                box-shadow 0.35s ease,
                border-color 0.35s ease,
                background-color 0.35s ease;
        }

        .soft-lift:hover,
        .soft-lift:focus-visible {
            transform: translateY(-3px);
            box-shadow: 0 18px 45px -24px rgba(74, 66, 63, 0.28);
        }

        .section-heading > span {
            display: inline-block;
            opacity: 0;
            transform: translateY(8px);
            transition:
                opacity 0.75s cubic-bezier(0.16, 1, 0.3, 1),
                transform 0.75s cubic-bezier(0.16, 1, 0.3, 1);
        }

        .section-heading.active > span {
            opacity: 1;
            transform: translateY(0);
        }

        .section-heading::before,
        .section-heading::after {
            will-change: transform, opacity;
        }

        .section-heading.active::before {
            animation: sectionGlowFloatPrimary 7s ease-in-out infinite, sectionGlowPulseIn 1.25s cubic-bezier(0.16, 1, 0.3, 1) both;
        }

        .section-heading.active::after {
            animation: sectionGlowFloatSecondary 5.8s ease-in-out infinite, sectionGlowPulseIn 1.35s cubic-bezier(0.16, 1, 0.3, 1) both;
        }

        @keyframes sectionGlowPulseIn {
            0% {
                opacity: 0;
                filter: blur(calc(var(--heading-glow-blur, 22px) * 1.35));
            }
            100% {
                opacity: 1;
                filter: blur(var(--heading-glow-blur, 22px));
            }
        }

        @media (prefers-reduced-motion: reduce) {
            .reveal {
                opacity: 1;
                transform: none;
                transition: none;
            }

            .motion-img img,
            .soft-lift,
            .section-heading > span {
                transition: none;
                transform: none;
                opacity: 1;
            }

            .cta-shimmer::after {
                display: none;
            }

            .section-heading::before,
            .section-heading::after,
            .section-heading.active::before,
            .section-heading.active::after {
                animation: none;
                transition: none;
            }
        }

        /* Brand logo themes: F10 is the default; add a class to body per page. */
        .site-brand,
        .footer-brand {
            display: flex;
            align-items: center;
            gap: 0.75rem;
        }

        .site-logo-mark {
            width: 2.75rem;
            height: 2.75rem;
            flex: 0 0 auto;
            object-fit: contain;
            background: transparent;
        }

        #header-bg {
            pointer-events: none;
        }

        .theme-logo-f2 .site-logo-mark {
            content: url("../img/brand/logo-f2-pastel-pink.png");
        }

        .theme-logo-f9 .site-logo-mark {
            content: url("../img/brand/logo-f9-gray-blue.png");
        }

        .footer-brand img {
            width: 3.25rem;
            height: 3.25rem;
            object-fit: contain;
            background: transparent;
        }

        .footer-layout {
            display: grid;
            grid-template-columns: minmax(13rem, 0.9fr) minmax(13rem, 0.85fr) minmax(17rem, 1.3fr) auto;
            gap: 1.5rem;
            align-items: center;
        }

        .footer-address {
            color: rgba(122, 114, 110, 0.95);
            font-size: 0.76rem;
            font-style: normal;
            line-height: 1.8;
        }

        .footer-address__label {
            margin-bottom: 0.2rem;
            color: #4A423F;
            font-size: 0.7rem;
            font-weight: 600;
            letter-spacing: 0.14em;
        }

        .footer-address__access {
            margin-top: 0.2rem;
        }

        @media (max-width: 1100px) {
            .footer-layout {
                grid-template-columns: repeat(2, minmax(0, 1fr));
            }
        }

        @media (max-width: 767px) {
            .site-brand {
                gap: 0.55rem;
            }

            .site-logo-mark {
                width: 2.35rem;
                height: 2.35rem;
            }

            .footer-layout {
                grid-template-columns: 1fr;
                justify-items: center;
                text-align: center;
            }

            .footer-address {
                text-align: center;
            }
        }

        .site-mobile-menu {
            position: relative;
            z-index: 1;
            margin: 0 1rem 1rem;
            border: 1px solid rgba(235, 203, 204, 0.72);
            border-radius: 0.75rem;
            background: rgba(255, 255, 255, 0.96);
            box-shadow: 0 18px 52px -38px rgba(74, 66, 63, 0.34);
            overflow: hidden;
        }

        .site-mobile-menu a {
            position: relative;
            display: block;
            padding: 0.9rem 2.25rem 0.9rem 1rem;
            border-bottom: 1px solid rgba(235, 203, 204, 0.5);
            color: #4A423F;
            font-size: 0.92rem;
            font-weight: 500;
            transition:
                background 0.22s ease,
                color 0.22s ease,
                transform 0.22s ease;
        }

        .site-mobile-menu a::after {
            content: "";
            position: absolute;
            top: 50%;
            right: 1rem;
            width: 0.42rem;
            height: 0.42rem;
            border-top: 1.5px solid currentColor;
            border-right: 1.5px solid currentColor;
            opacity: 0;
            transform: translate(-0.35rem, -50%) rotate(45deg);
            transition:
                opacity 0.22s ease,
                transform 0.22s ease;
        }

        .site-mobile-menu a:hover,
        .site-mobile-menu a:focus-visible,
        .site-mobile-menu a:active,
        .site-mobile-menu a.is-active {
            background: rgba(245, 228, 228, 0.72);
            color: #A86B65;
            transform: translateX(0.2rem);
        }

        .site-mobile-menu a:hover::after,
        .site-mobile-menu a:focus-visible::after,
        .site-mobile-menu a:active::after,
        .site-mobile-menu a.is-active::after {
            opacity: 1;
            transform: translate(0, -50%) rotate(45deg);
        }

        .site-mobile-menu a:last-child {
            border-bottom: 0;
        }

        .site-mobile-menu__cta {
            background: #F5E4E4;
            color: #4A423F !important;
        }

        .site-menu-open {
            overflow: hidden;
        }

        .site-back-top {
            position: fixed;
            right: clamp(1rem, 3vw, 2rem);
            bottom: clamp(1rem, 3vw, 2rem);
            z-index: 60;
            display: inline-flex;
            align-items: center;
            justify-content: center;
            width: 3rem;
            height: 3rem;
            border: 1px solid rgba(194, 123, 117, 0.72);
            border-radius: 9999px;
            background: #C27B75;
            color: #FFFFFF;
            box-shadow: 0 16px 34px -24px rgba(194, 123, 117, 0.65);
            opacity: 0;
            pointer-events: none;
            transform: translateY(0.75rem);
            transition:
                opacity 0.22s ease,
                transform 0.22s ease,
                background 0.22s ease,
                box-shadow 0.22s ease;
        }

        .site-back-top[hidden] {
            display: none;
        }

        .site-back-top.is-visible {
            opacity: 1;
            pointer-events: auto;
            transform: translateY(0);
        }

        .site-back-top:hover,
        .site-back-top:focus-visible {
            background: #A86B65;
            box-shadow: 0 22px 42px -26px rgba(194, 123, 117, 0.72);
        }

        .site-back-top svg {
            width: 1.25rem;
            height: 1.25rem;
        }

        .subpage {
            background: #FAF8F5;
            color: #4A423F;
        }

        .subpage-hero {
            position: relative;
            min-height: 58svh;
            display: flex;
            align-items: flex-end;
            overflow: hidden;
            isolation: isolate;
        }

        .subpage-hero__media {
            position: absolute;
            inset: 0;
            z-index: -2;
        }

        .subpage-hero__media img {
            width: 100%;
            height: 100%;
            object-fit: cover;
        }

        .subpage-hero::before {
            content: "";
            position: absolute;
            inset: 0;
            z-index: -1;
            background:
                linear-gradient(180deg, rgba(250, 248, 245, 0.42), rgba(250, 248, 245, 0.94)),
                linear-gradient(90deg, rgba(250, 248, 245, 0.9), rgba(250, 248, 245, 0.36));
        }

        .subpage-hero__inner,
        .subpage-container {
            width: min(100%, 72rem);
            margin: 0 auto;
            padding-left: 1.5rem;
            padding-right: 1.5rem;
        }

        .subpage-hero__inner {
            padding-top: 8rem;
            padding-bottom: 4.5rem;
        }

        .subpage-eyebrow {
            display: block;
            margin-bottom: 0.85rem;
            color: #C27B75;
            font-size: 0.76rem;
            font-weight: 500;
            letter-spacing: 0.24em;
            text-transform: uppercase;
        }

        .subpage-hero h1,
        .subpage-heading,
        .subpage-card h2,
        .subpage-card h3,
        .subpage-cta h2 {
            color: #4A423F;
            font-family: "Noto Serif JP", serif;
            letter-spacing: 0.08em;
        }

        .subpage-hero h1 {
            margin-bottom: 1rem;
            font-size: clamp(2.2rem, 6vw, 4.8rem);
            line-height: 1.24;
        }

        .subpage-hero p:not(.subpage-eyebrow) {
            max-width: 43rem;
            color: rgba(74, 66, 63, 0.78);
            font-size: clamp(0.95rem, 2vw, 1.08rem);
            line-height: 2;
        }

        .subpage-section {
            padding: clamp(4rem, 8vw, 7rem) 0;
            background:
                radial-gradient(circle at 8% 8%, rgba(235, 203, 204, 0.38), transparent 30rem),
                radial-gradient(circle at 92% 36%, rgba(216, 226, 223, 0.44), transparent 28rem),
                #FAF8F5;
        }

        .subpage-section--white {
            background: #FFFFFF;
        }

        .subpage-heading {
            margin-bottom: 1rem;
            font-size: clamp(1.65rem, 3.6vw, 2.6rem);
            line-height: 1.55;
        }

        .subpage-lead {
            color: rgba(74, 66, 63, 0.76);
            font-size: 0.96rem;
            line-height: 2;
        }

        .subpage-card {
            border: 1px solid rgba(235, 203, 204, 0.72);
            border-radius: 0.75rem;
            background: rgba(255, 255, 255, 0.94);
            box-shadow: 0 24px 70px -48px rgba(74, 66, 63, 0.38);
        }

        .subpage-card--soft {
            background:
                radial-gradient(circle at 88% 12%, rgba(245, 228, 228, 0.74), transparent 34%),
                rgba(255, 255, 255, 0.94);
        }

        .decoration-wash-card {
            position: relative;
            overflow: hidden;
            isolation: isolate;
        }

        .decoration-wash-card > * {
            position: relative;
            z-index: 1;
        }

        .decoration-wash-card::before,
        .decoration-wash-card::after {
            content: "";
            position: absolute;
            pointer-events: none;
            z-index: 0;
        }

        .decoration-wash-card::before {
            right: clamp(-3.6rem, -6vw, -2.2rem);
            bottom: clamp(-3.6rem, -6vw, -2.2rem);
            width: clamp(7.6rem, 18vw, 12.5rem);
            aspect-ratio: 1;
            border: 1px solid rgba(194, 123, 117, 0.18);
            border-radius: 9999px;
        }

        .decoration-wash-card::after {
            top: clamp(-5.5rem, -8vw, -3.2rem);
            right: clamp(-5.2rem, -7vw, -2.8rem);
            width: clamp(11rem, 30vw, 22rem);
            aspect-ratio: 1;
            border-radius: 9999px;
            background: radial-gradient(circle, rgba(245, 228, 228, 0.82) 0%, rgba(245, 228, 228, 0.38) 44%, rgba(245, 228, 228, 0) 72%);
            opacity: 0.7;
        }

        .decoration-wash-card--circle-left::before {
            right: auto;
            left: clamp(-3.8rem, -6vw, -2.3rem);
        }

        .decoration-wash-card--wash-left::after {
            right: auto;
            left: clamp(-5.2rem, -7vw, -2.8rem);
        }

        .subpage-card p,
        .subpage-card li {
            color: rgba(74, 66, 63, 0.76);
            font-size: 0.92rem;
            line-height: 1.95;
        }

        .subpage-list {
            display: grid;
            gap: 0.7rem;
            margin: 0;
            padding: 0;
            list-style: none;
        }

        .subpage-list li {
            position: relative;
            padding-left: 1.35rem;
        }

        .subpage-list li::before {
            content: "";
            position: absolute;
            left: 0;
            top: 0.76em;
            width: 0.46rem;
            height: 0.46rem;
            border-radius: 9999px;
            background: #D8E2DF;
            box-shadow: 0 0 0 0.24rem rgba(216, 226, 223, 0.28);
        }

        .subpage-button,
        .subpage-button-secondary {
            display: inline-flex;
            align-items: center;
            justify-content: center;
            min-height: 2.85rem;
            padding: 0.75rem 1.25rem;
            border-radius: 9999px;
            font-size: 0.88rem;
            font-weight: 500;
            transition:
                transform 0.25s ease,
                background-color 0.25s ease,
                color 0.25s ease,
                border-color 0.25s ease,
                box-shadow 0.25s ease;
        }

        .subpage-button {
            border: 0;
            background: #C27B75;
            color: #FFFFFF;
            box-shadow: 0 16px 34px -24px rgba(194, 123, 117, 0.65);
        }

        .subpage-button:hover,
        .subpage-button:focus-visible {
            transform: translateY(-2px);
            background: #A86B65;
        }

        .subpage-button-secondary {
            border: 1px solid rgba(216, 226, 223, 0.96);
            background: #FFFFFF;
            color: #4A423F;
        }

        .subpage-button-secondary:hover,
        .subpage-button-secondary:focus-visible {
            background: #F5E4E4;
        }

        .subpage-cta {
            display: grid;
            grid-template-columns: minmax(0, 1fr) auto;
            gap: 1.25rem;
            align-items: center;
            margin-top: clamp(2rem, 5vw, 3rem);
            padding: clamp(1.35rem, 3vw, 2rem);
            border: 1px solid rgba(235, 203, 204, 0.72);
            border-radius: 0.75rem;
            background: rgba(255, 255, 255, 0.94);
            box-shadow: 0 24px 70px -48px rgba(74, 66, 63, 0.38);
        }

        .subpage-cta h2 {
            margin-bottom: 0.5rem;
            font-size: clamp(1.35rem, 2.6vw, 1.85rem);
            line-height: 1.55;
        }

        .subpage-cta p {
            color: rgba(74, 66, 63, 0.76);
            font-size: 0.92rem;
            line-height: 1.9;
        }

        .subpage-actions {
            display: flex;
            flex-wrap: wrap;
            gap: 0.75rem;
        }

        .decoration-crayon-underline {
            --crayon-underline-color: rgba(209, 151, 160, 0.48);
            display: inline;
            padding: 0 0.02em 0.16em;
            background-image: none;
            text-decoration-line: underline;
            text-decoration-style: solid;
            text-decoration-color: var(--crayon-underline-color);
            text-decoration-thickness: 0.13em;
            text-underline-offset: 0.22em;
            text-decoration-skip-ink: none;
            -webkit-box-decoration-break: clone;
            box-decoration-break: clone;
        }

        .decoration-soft-summary {
            display: block;
            margin: 0.75rem 0 0.95rem;
            padding: 0.72rem 0.9rem 0.78rem;
            border-bottom: 2px solid rgba(209, 151, 160, 0.28);
            border-radius: 0.35rem;
            background: rgba(255, 242, 244, 0.72);
            color: #6A5556;
            font-size: 0.86rem;
            font-weight: 500;
            line-height: 1.75;
            -webkit-box-decoration-break: clone;
            box-decoration-break: clone;
        }

        @media (max-width: 1024px) {
            .subpage-cta {
                grid-template-columns: 1fr;
            }
        }

        @media (max-width: 767px) {
            .subpage-hero {
                min-height: 52svh;
            }

            .subpage-hero__inner {
                padding: 7rem 1.25rem 3.5rem;
            }

            .subpage-container {
                padding-left: 1.25rem;
                padding-right: 1.25rem;
            }

            .subpage-actions,
            .subpage-button,
            .subpage-button-secondary {
                width: 100%;
            }

            .site-back-top {
                right: 1rem;
                bottom: calc(4.8rem + env(safe-area-inset-bottom));
                width: 2.75rem;
                height: 2.75rem;
            }
        }
