/* CSS Variables for unifying colors and animations */
:root {
    /* アセット URL はここで一元管理（HTML のインライン style を避ける） */
    --asset-hero-bg: url('images/hero.png');
    --asset-sdgs-bg: url('images/sdgs.png');
    --asset-site-bg: url('images/background.webp');
    /* サイト共通：画像の上に載せる白（不透明度で質感の見え方を調整） */
    --site-bg-overlay: rgba(255, 255, 255, 0.25);

    --c-primary: #5b9bd5;
    /* お問い合わせボタンに合わせた、明るく透明感のある水色（ウォーターブルー） */
    /* チェックボックスON時：白いレ点とのコントラスト確保用（--c-primary より一段濃い） */
    --c-primary-check: #2f6fad;
    --c-bg: #f7f9fa;
    /* Elegant standard background used in hero */
    --c-bg-light: #ffffff;
    /* Swapped to pure white for alternating sections */
    --c-text: #2c3e50;
    --c-text-light: #7b8b9a;
    --c-border: #e2e8ed;

    /* Emil Kowalski custom easings */
    --ease-out: cubic-bezier(0.23, 1, 0.32, 1);
    --ease-in-out: cubic-bezier(0.77, 0, 0.175, 1);

    /* Fonts */
    --f-sans: 'Noto Sans JP', sans-serif;
    --f-serif: 'Shippori Mincho', serif;

    /*
     * SDGs セクション背景写真（sdgs.png）の表示位置（%）。
     * 横: 左 0 ← 50% 中央 → 100% 右／縦: 上 0 ← 50% → 100% 下
     */
    --sdgs-bg-x-pc: 80%;
    --sdgs-bg-y-pc: 60%;
    --sdgs-bg-x-tablet: 50%;
    --sdgs-bg-y-tablet: 50%;
    --sdgs-bg-x-mobile: 80%;
    --sdgs-bg-y-mobile: 70%;

    /* SDGs 白グラデの不透明度（0〜1）。未定義だと背景全体が無効になるので必須 */
    --sdgs-overlay-top: 0.78;
    --sdgs-overlay-mid: 0.6;
    --sdgs-overlay-bottom: 0.5;
}

/* Base Styles & Reset */
* {
    box-sizing: border-box;
    margin: 0;
    padding: 0;
}

html {
    scroll-behavior: smooth;
    overflow-x: hidden;
}

body {
    font-family: var(--f-sans);
    color: var(--c-text);
    line-height: 1.6;
    min-height: 100vh;
    background-color: var(--c-bg);
    background-image:
        linear-gradient(var(--site-bg-overlay), var(--site-bg-overlay)),
        var(--asset-site-bg);
    background-size: cover, cover;
    background-position: center, center;
    background-repeat: no-repeat, no-repeat;
    overflow-x: hidden;
}

a {
    text-decoration: none;
    color: inherit;
}

img {
    max-width: 100%;
    height: auto;
    vertical-align: middle;
}

/* Typography Classes */
.sec-title {
    font-size: 16px;
    font-weight: 500;
    letter-spacing: 0.15em;
    color: var(--c-primary);
    margin-bottom: 20px;
    text-transform: uppercase;
}

.sec-subtitle {
    font-family: var(--f-serif);
    font-size: 32px;
    font-weight: 500;
    margin-bottom: 32px;
    color: var(--c-text);
}

.sec-text {
    font-size: 15px;
    color: var(--c-text-light);
    line-height: 2.2;
    letter-spacing: 0.05em;
}

.mobile-only-br {
    display: none;
}

.container {
    width: 90%;
    max-width: 1000px;
    /* Narrower container for editorial feel */
    margin: 0 auto;
}

.section {
    padding: 100px 0;
    /* 高さを取りすぎないように160pxから調整 */
    position: relative;
    /* Enforces boundaries for absolute fluid shapes */
}

.bg-light {
    background-color: var(--c-bg-light);
}

/* Buttons (Emil's responsive button pattern) */
.btn,
.btn-contact {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: 16px 36px;
    border-radius: 50px;
    /* Changed to beautiful premium pill shape */
    font-weight: 500;
    letter-spacing: 0.1em;
    font-size: 14px;
    text-align: center;
    cursor: pointer;
    transition: transform 160ms var(--ease-out), background-color 300ms ease, color 300ms ease, opacity 200ms ease, box-shadow 300ms ease;
    will-change: transform;
}

.btn:active,
.btn-contact:active {
    transform: scale(0.97);
}

.btn-contact {
    /* Premium Water uses a gentle light blue for the inquiry button */
    background: linear-gradient(135deg, #6caddf, #5b9bd5);
    color: #fff;
    font-size: 13px;
    padding: 14px 32px;
    box-shadow: 0 4px 15px rgba(91, 155, 213, 0.3);
    border: none;
}

.btn-contact:hover {
    background: linear-gradient(135deg, #7dbcef, #64a5e0);
    /* Slightly lighter on hover */
    box-shadow: 0 6px 20px rgba(91, 155, 213, 0.4);
    transform: translateY(-2px);
}

.btn-outline {
    border: 1px solid var(--c-primary);
    color: var(--c-primary);
    background: transparent;
    margin: 32px auto 0 auto;
    display: flex;
    width: max-content;
}

/* アウトラインボタンは、ホバー時にブランドカラーで塗りつぶされる */
.btn-outline:hover {
    background-color: var(--c-primary);
    color: #fff !important;
    transform: translateY(-4px);
    box-shadow: 0 6px 16px rgba(0, 95, 158, 0.2);
}

.btn-white {
    background-color: #fff;
    color: var(--c-primary);
    margin: 32px auto 0 auto;
    display: flex;
    width: max-content;
    border: 1px solid transparent;
}

/* 白ボタンは、ホバー時に背景が透けて白いアウトラインボタンに変化する */
.btn-white:hover {
    background-color: rgba(255, 255, 255, 0.1);
    color: #fff !important;
    border-color: #fff;
    transform: translateY(-4px);
}

/* Header with Glassmorphism / Pill Layout */
.header {
    position: fixed;
    top: 24px;
    left: 50%;
    transform: translateX(-50%);
    width: 95%;
    max-width: 1400px;
    background-color: rgba(255, 255, 255, 0.95);
    backdrop-filter: blur(16px);
    -webkit-backdrop-filter: blur(16px);
    border-radius: 40px;
    box-shadow: 0 8px 32px rgba(0, 0, 0, 0.08);
    z-index: 1000;
    transition: all 400ms var(--ease-out);
}

.header.scrolled {
    top: 12px;
    box-shadow: 0 12px 40px rgba(0, 0, 0, 0.12);
}

/* Liquid glass 装飾レイヤーはモバイルのみ表示（liquid-glass-effect-macos と同構成） */
.header .liquidGlass-effect,
.header .liquidGlass-tint,
.header .liquidGlass-shine {
    display: none;
}

.header-inner {
    display: flex;
    justify-content: space-between;
    align-items: center;
    height: 80px;
    padding: 0 40px;
}

.logo {
    display: inline-flex;
    align-items: center;
    height: 100%;
}

.logo img {
    height: auto;
    width: 200px;
    /* PCでは幅で指定する方がバランスがとりやすい場合が多いです */
    max-height: 60px;
    /* ヘッダーの80pxに収まるように制限 */
    object-fit: contain;
}

.logo a {
    display: flex;
    align-items: center;
    text-decoration: none;
    color: inherit;
}

.header-right {
    display: flex;
    align-items: center;
    gap: 40px;
}

/* Desktop: nav は header 内で絶対位置センタリング */
.nav {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
}

.nav ul {
    display: flex;
    gap: 40px;
    list-style: none;
}

.nav ul li a {
    text-decoration: none;
    color: var(--c-text);
    font-size: 14px;
    font-weight: 500;
    letter-spacing: 0.1em;
    position: relative;
    transition: color 0.3s var(--ease-out);
}

.nav ul li a:hover {
    color: var(--c-primary);
}

.nav ul li a::after {
    content: '';
    position: absolute;
    bottom: -4px;
    left: 0;
    width: 100%;
    height: 1px;
    background-color: var(--c-primary);
    transform: scaleX(0);
    transform-origin: right;
    transition: transform 300ms var(--ease-out);
}

/* Only enable hover on fine pointers (Emil's CSS rules) */
@media (hover: hover) and (pointer: fine) {
    .nav ul li a:hover::after {
        transform: scaleX(1);
        transform-origin: left;
    }

    .nav ul li a:hover {
        opacity: 0.8;
    }
}

.burger {
    display: none;
    background: none;
    border: none;
    cursor: pointer;
}

.mobile-contact {
    display: none;
}

/* Hero Section Split Layout */
.hero {
    position: relative;
    z-index: 10;
    /* Absolute top layer: overtakes any fluid shapes bleeding from the section below */
    height: 100vh;
    display: flex;
    align-items: center;
    justify-content: flex-start;
    /* Overwrite center for split */
    background-color: transparent;
    /* Allow body bg and underlying fluid shapes to show through the white area */
}

/* Subtle decorative blur blob on white area */
.hero::before {
    content: '';
    position: absolute;
    top: -10%;
    left: -10%;
    width: 80vh;
    height: 80vh;
    background: radial-gradient(circle, rgba(0, 95, 158, 0.05) 0%, rgba(255, 255, 255, 0) 70%);
    z-index: 0;
}

.hero-bg {
    position: absolute;
    top: 0;
    /* Extend to the very top of the page, behind the floating header */
    bottom: 30px;
    /* Leave a gap at the bottom */
    right: 0;
    left: auto;
    width: 82%;
    background-image: var(--asset-hero-bg);
    background-size: cover;
    background-position: center;
    z-index: 0;
    border-top-left-radius: 0;
    /* No cut on the top-left corner, it stays sharp underneath the header */
    border-bottom-left-radius: 120px;
    /* Only the bottom-left corner is heavily rounded */
}

.hero-bg::before {
    content: '';
    position: absolute;
    inset: 0;
    background: linear-gradient(to right, rgba(255, 255, 255, 0.94) 0%, transparent 14%);
    z-index: 1;
    pointer-events: none;
    border-radius: inherit;
}

.hero-content {
    text-align: left;
    /* Split layout aligns left */
    color: var(--c-primary);
    z-index: 2;
    padding: 0 5%;
    max-width: 1400px;
    margin: 0 auto;
    width: 100%;
    display: flex;
    flex-direction: column;
    align-items: flex-start;
}

.hero-eyebrow {
    font-size: 11px;
    font-weight: 500;
    letter-spacing: 0.3em;
    color: var(--c-primary);
    text-transform: uppercase;
    margin-bottom: 24px;
    display: flex;
    align-items: center;
    gap: 12px;
}

.hero-eyebrow::before {
    content: '';
    display: block;
    width: 32px;
    height: 1px;
    background-color: var(--c-primary);
    flex-shrink: 0;
}

.hero-title {
    font-family: var(--f-serif);
    font-size: 64px;
    font-weight: 500;
    line-height: 1.5;
    margin-bottom: 32px;
    letter-spacing: 0.1em;
    text-shadow: none;
    color: #1a3a5c;
}

.hero-desc {
    font-size: 18px;
    font-weight: 400;
    line-height: 2.2;
    letter-spacing: 0.1em;
    text-shadow: none;
    color: var(--c-text);
}

.scroll-down {
    position: absolute;
    bottom: 80px;
    right: 40px;
    left: auto;
    transform: none;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    width: 80px;
    height: 80px;
    background: rgba(255, 255, 255, 0.65);
    backdrop-filter: blur(12px);
    -webkit-backdrop-filter: blur(12px);
    border: 1px solid rgba(255, 255, 255, 0.9);
    border-radius: 50%;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.08);
    color: var(--c-text);
    font-size: 10px;
    font-weight: 500;
    letter-spacing: 0.15em;
    z-index: 10;
    text-decoration: none;
    transition: transform 400ms var(--ease-out), background-color 300ms ease, box-shadow 300ms ease;
    cursor: pointer;
}

@media (hover: hover) and (pointer: fine) {
    .scroll-down:hover {
        background-color: rgba(255, 255, 255, 0.9);
        transform: translateY(6px);
        box-shadow: 0 12px 28px rgba(0, 0, 0, 0.12);
    }
}

/* モバイルは Liquid Glass のためホバーで白ベタにしない */
@media (hover: hover) and (pointer: fine) and (max-width: 768px) {
    .scroll-down:hover {
        background-color: transparent !important;
    }

    .scroll-down:hover .scroll-down-tint {
        background: rgba(255, 255, 255, 0.34);
    }
}

.scroll-down span {
    transition: color 300ms ease;
}

.scroll-arrow {
    width: 1px;
    height: 16px;
    background-color: var(--c-text);
    margin-top: 6px;
    position: relative;
    transition: background-color 300ms ease;
}

.scroll-arrow::after {
    content: '';
    position: absolute;
    bottom: -1px;
    left: 50%;
    transform: translateX(-50%) rotate(45deg);
    width: 5px;
    height: 5px;
    border-right: 1px solid var(--c-text);
    border-bottom: 1px solid var(--c-text);
    transition: border-color 300ms ease;
}

.scroll-down-effect,
.scroll-down-tint,
.scroll-down-shine {
    display: none;
}

.scroll-down-inner {
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    position: relative;
    z-index: 3;
    width: 100%;
    height: 100%;
}

/* Decorative Liquid / Fluid Shapes */
.fluid-shape {
    position: absolute;
    z-index: 0;
    /* Deepest layer: behind the watermark and content */
    opacity: 0.8;
    animation: liquidMorph 18s ease-in-out infinite alternate;
    pointer-events: none;
    will-change: border-radius;
}

/* Beautifully erratic, highly non-elliptical path */
@keyframes liquidMorph {
    0% {
        border-radius: 60% 40% 30% 70% / 60% 30% 70% 40%;
    }

    25% {
        border-radius: 30% 60% 70% 40% / 50% 60% 30% 60%;
    }

    50% {
        border-radius: 70% 30% 40% 60% / 30% 40% 70% 50%;
    }

    75% {
        border-radius: 40% 50% 60% 30% / 70% 60% 40% 30%;
    }

    100% {
        border-radius: 60% 40% 30% 70% / 60% 30% 70% 40%;
    }
}

/* Second organic variant for independence */
@keyframes liquidMorphAlt {
    0% {
        border-radius: 42% 58% 70% 30% / 45% 45% 55% 55%;
    }

    33% {
        border-radius: 73% 27% 26% 74% / 73% 29% 71% 27%;
    }

    66% {
        border-radius: 28% 72% 44% 56% / 49% 76% 24% 51%;
    }

    100% {
        border-radius: 42% 58% 70% 30% / 45% 45% 55% 55%;
    }
}

.shape-top-right {
    top: -60px;
    /* Shifted higher up to act as a bridge between Message and Solution sections */
    right: -50px;
    width: 380px;
    height: 380px;
    background: #e6f1f8;
    opacity: 0.55;
}

.shape-bottom-left {
    bottom: -80px;
    left: -140px;
    width: 480px;
    height: 420px;
    background: #e0eef7;
    opacity: 0.5;
    animation: liquidMorphAlt 22s ease-in-out infinite alternate;
    animation-delay: -5s;
}

.shape-target-bottom-right {
    bottom: -30px;
    right: -80px;
    width: 380px;
    height: 380px;
    background: #e6f1f8;
    opacity: 0.55;
    animation-delay: -11s;
    animation-duration: 24s;
}

.shape-message-top-left {
    top: -240px;
    left: -120px;
    width: 480px;
    height: 380px;
    background: #eaf3fa;
    opacity: 0.5;
    animation: liquidMorphAlt 26s ease-in-out infinite alternate;
    animation-delay: -2s;
}

/* Add extra rotating vertices using identical-color pseudo elements to create complex 8+ point shapes */
.shape-message-top-left::before,
.shape-bottom-left::before,
.shape-target-bottom-right::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    /* Strictly contained within the parent's base coordinates */
    background: inherit;
    /* Copies parent's solid background exactly, perfectly fusing them */
    border-radius: inherit;
    z-index: -1;
}

.shape-message-top-left::before {
    animation: liquidMorph 21s ease-in-out infinite alternate-reverse;
    animation-delay: -8s;
}

.shape-bottom-left::before {
    animation: liquidMorph 17s ease-in-out infinite alternate-reverse;
    animation-delay: -4s;
}

.shape-target-bottom-right::before {
    animation: liquidMorphAlt 23s ease-in-out infinite alternate-reverse;
    animation-delay: -12s;
}

/* Message Section */
.message {
    text-align: center;
    position: relative;
}

.message::before {
    content: 'SILVER SAVE';
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    font-size: 12vw;
    font-family: var(--f-serif);
    color: rgba(10, 61, 98, 0.03);
    /* Faint watermark */
    white-space: nowrap;
    z-index: 1;
    /* Now sits safely above the fluid shapes (z-index: 0) */
    pointer-events: none;
    letter-spacing: 0.1em;
}

.message .container {
    position: relative;
    z-index: 2;
    /* Ensures text floats safely over fluid shapes */
}

/* Section Headers */
.text-center {
    text-align: center;
}

/* Solution Section */
.solution {
    position: relative;
    padding: 100px 0;
    /* Restore normal section padding */
}

.solution-bg-wrapper {
    position: absolute;
    /* ▼ 写真の縦幅（上側）をここで調整できます（数値を大きくすると写真が低くなる） */
    top: 80px;
    bottom: 140px;
    left: 0;
    width: 60%;
    /* 写真の横幅 */
    border-top-right-radius: 100px;
    border-bottom-right-radius: 60px;
    overflow: hidden;
    z-index: 1;
    box-shadow: 0 16px 40px rgba(0, 0, 0, 0.05);
    /* Premium depth */
}

.solution-bg-wrapper img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 1.2s var(--ease-out);
}

@media (hover: hover) and (pointer: fine) {
    .solution:hover .solution-bg-wrapper img {
        transform: scale(1.03);
    }
}

.solution-grid {
    display: flex;
    justify-content: flex-end;
    /* コンテンツ全体を右寄せ */
    width: 100%;
    position: relative;
    z-index: 2;
    /* 写真より上に配置 */
}

.solution-content {
    /* ▼ オーバーレイの幅。65%にすることで右端まで伸び、かつ左側の写真と綺麗に重なります */
    width: 55%;
    /* ▼ パディングを増やした分だけマージンを減らすことで、全体の高さと写真への影響をゼロにしています */
    margin-top: 40px;
    margin-bottom: 0;
}

/* Service カード：PC は従来のフロスト白／モバイルのみ Liquid Glass */
.solution-glass {
    position: relative;
    overflow: hidden;
    isolation: isolate;
    border-radius: 0;
    border-top-left-radius: 80px;
    border-bottom-left-radius: 80px;
    box-shadow: 0 10px 40px rgba(0, 0, 0, 0.08);
    background: rgba(255, 255, 255, 0.7);
}

.solution-glass-effect,
.solution-glass-tint,
.solution-glass-shine {
    display: none;
}

.solution-glass-inner {
    position: relative;
    z-index: 3;
    /* ▼ コンテンツを上下中央寄せにするため、上下の余白を同じ 80px に統一しました */
    padding: 80px 5vw 80px 80px;
}

@media (max-width: 768px) {
    .solution-glass {
        background: transparent;
    }

    .solution-glass-effect,
    .solution-glass-tint,
    .solution-glass-shine {
        display: block;
    }

    .solution-glass-effect {
        position: absolute;
        z-index: 0;
        inset: 0;
        backdrop-filter: blur(3px);
        -webkit-backdrop-filter: blur(3px);
        filter: url(#glass-distortion-header);
        overflow: hidden;
        isolation: isolate;
        pointer-events: none;
    }

    .solution-glass-tint {
        position: absolute;
        z-index: 1;
        inset: 0;
        background: rgba(255, 255, 255, 0.25);
        pointer-events: none;
    }

    .solution-glass-shine {
        position: absolute;
        inset: 0;
        z-index: 2;
        overflow: hidden;
        pointer-events: none;
        box-shadow:
            inset 2px 2px 1px 0 rgba(255, 255, 255, 0.5),
            inset -1px -1px 1px 1px rgba(255, 255, 255, 0.45);
    }
}

/* Nested header positioning */
.solution-content .section-header {
    text-align: left;
    margin-bottom: 32px;
}

.solution-content .sec-title {
    margin-bottom: 12px;
}

.solution-content .btn-outline {
    margin: 32px auto 0 auto;
    /* Center align button inside this card */
}

@media (max-width: 900px) {
    .solution-bg-wrapper {
        width: 70%;
        /* Let image be wider on smaller screens so the overlap looks good */
        top: 40px;
        bottom: 40px;
    }

    .solution-content {
        width: 85%;
        margin-top: 100px;
    }

    .solution-glass {
        border-top-left-radius: 60px;
    }

    .solution-glass-inner {
        padding: 50px 40px;
    }
}

@media (max-width: 600px) {
    .solution-bg-wrapper {
        width: 95%;
        /* Almost full width with cut right edge */
        border-top-right-radius: 70px;
        top: 20px;
        bottom: auto;
        height: 60vh;
        /* Fixed height for mobile background image */
    }

    .solution-content {
        width: 100%;
        margin-top: 20vh;
        /* Drops content to overlap bottom half of image */
    }

    .solution-glass {
        border-radius: 0;
        border-top-left-radius: 50px;
    }

    .solution-glass-inner {
        padding: 40px 24px;
    }

    /* Message Section Mobile Overrides */
    .message .sec-text {
        text-align: left;
        /* Reading a long centered paragraph on mobile is difficult, so left align it */
    }

    .pc-only-br {
        display: none;
        /* Hide explicit br tags so text wraps naturally on small screens */
    }
}

.solution-highlight {
    font-size: 13px;
    font-family: var(--f-sans);
    color: var(--c-primary);
    display: inline-block;
    padding: 6px 16px;
    background: rgba(91, 155, 213, 0.1);
    border-radius: 30px;
    margin-bottom: 24px;
    letter-spacing: 0.1em;
    font-weight: 500;
}

/* Target Section — horizontal photo marquee (right → left) */
.section.results {
    --target-marquee-gap: clamp(12px, 2.2vw, 22px);
    --target-slide-w: clamp(240px, 32vw, 420px);
    --target-slide-radius: 10px;
}

.target-marquee {
    margin-top: clamp(2rem, 5vw, 3.5rem);
    margin-bottom: clamp(1.25rem, 3vw, 2.25rem);
    width: 100vw;
    margin-left: calc(50% - 50vw);
    margin-right: calc(50% - 50vw);
    position: relative;
    z-index: 2;
}

.target-marquee__viewport {
    position: relative;
    overflow: hidden;
}

.target-marquee__edge {
    position: absolute;
    top: 0;
    bottom: 0;
    z-index: 1;
    width: min(12vw, 120px);
    pointer-events: none;
    background: linear-gradient(
        90deg,
        var(--c-bg) 0%,
        color-mix(in srgb, var(--c-bg) 0%, transparent) 100%
    );
}

.target-marquee__edge--left {
    left: 0;
}

.target-marquee__edge--right {
    right: 0;
    transform: scaleX(-1);
}

.target-marquee__content {
    display: flex;
    width: max-content;
    backface-visibility: hidden;
    transform: translate3d(0, 0, 0);
}

.target-marquee__group {
    display: flex;
    flex-shrink: 0;
    align-items: stretch;
    gap: var(--target-marquee-gap);
    padding-inline: calc(var(--target-marquee-gap) * 0.5);
}

.target-marquee__slide {
    position: relative;
    flex: 0 0 var(--target-slide-w);
    width: var(--target-slide-w);
    margin: 0;
    aspect-ratio: 16 / 9;
    border-radius: var(--target-slide-radius);
    overflow: hidden;
    border: 1px solid rgba(226, 232, 237, 0.9);
    box-shadow:
        0 12px 32px rgba(15, 45, 75, 0.08),
        0 2px 8px rgba(15, 45, 75, 0.04);
}

.target-marquee__slide img {
    display: block;
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: center;
}

.target-marquee__caption {
    position: absolute;
    left: 0;
    right: 0;
    bottom: 0;
    padding: 0.65rem 0.85rem 0.75rem;
    font-family: var(--f-serif);
    font-size: clamp(12px, 1.5vw, 14px);
    font-weight: 500;
    letter-spacing: 0.08em;
    color: #fff;
    text-align: center;
    line-height: 1.35;
    background: linear-gradient(
        180deg,
        transparent 0%,
        rgba(20, 45, 65, 0.55) 40%,
        rgba(15, 40, 58, 0.82) 100%
    );
}

@media (prefers-reduced-motion: reduce) {
    .target-marquee__group[aria-hidden='true'] {
        display: none;
    }

    .target-marquee__viewport {
        overflow-x: auto;
        overflow-y: hidden;
        -webkit-overflow-scrolling: touch;
        scroll-snap-type: x mandatory;
    }

    .target-marquee__slide {
        scroll-snap-align: center;
    }
}

/* Tablet: slightly larger slides */
@media (max-width: 1024px) and (min-width: 641px) {
    .section.results {
        --target-slide-w: clamp(260px, 42vw, 380px);
    }
}

/* Mobile */
@media (max-width: 640px) {
    .section.results {
        --target-slide-w: min(78vw, 300px);
        --target-marquee-gap: 10px;
    }

    .target-marquee__caption {
        padding: 0.5rem 0.6rem 0.6rem;
        font-size: 12px;
    }
}

.client-names {
    font-size: 14px;
    color: var(--c-text-light);
    line-height: 2;
    padding: 24px;
    background: #fff;
    border-radius: 8px;
}

/* =====================================================
   Contact CTA（トップページ末尾・フッターと色面を分離）
   ===================================================== */
.contact-cta {
    text-align: center;
    position: relative;
    overflow: hidden;
    /* 上下：水色／中央：白 */
    background: linear-gradient(
        180deg,
        #cfe5f4 0%,
        #e8f3fa 22%,
        #ffffff 50%,
        #e8f3fa 78%,
        #c5dff0 100%
    );
    border-bottom: 1px solid rgba(91, 155, 213, 0.28);
    box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.9);
}

.contact-cta .container {
    position: relative;
    z-index: 1;
}

.contact-cta .sec-text {
    max-width: 36em;
    margin-left: auto;
    margin-right: auto;
    color: var(--c-text);
}

.contact-cta .contact-cta-btn {
    margin-top: 40px;
    padding: 20px 56px;
    font-size: 16px;
    font-weight: 600;
    letter-spacing: 0.14em;
    box-shadow: 0 6px 24px rgba(91, 155, 213, 0.38);
}

@media (max-width: 480px) {
    .contact-cta .contact-cta-btn {
        padding: 18px 40px;
        font-size: 15px;
    }
}

/* =====================================================
   SDGs Section
   構成: [見出し（カード外）] → [カード: ロゴ帯 ＋ アイコン列＋本文]
   ===================================================== */
.sdgs {
    position: relative;
    z-index: 5;
    color: var(--c-text);
    background-color: var(--c-bg);
    background-image:
        linear-gradient(
            180deg,
            rgba(255, 255, 255, var(--sdgs-overlay-top, 0.82)) 0%,
            rgba(247, 250, 252, var(--sdgs-overlay-mid, 0.78)) 50%,
            rgba(240, 248, 252, var(--sdgs-overlay-bottom, 0.75)) 100%
        ),
        var(--asset-sdgs-bg);
    background-size: cover, cover;
    --sdgs-bg-x: var(--sdgs-bg-x-pc);
    --sdgs-bg-y: var(--sdgs-bg-y-pc);
    background-position: center center, var(--sdgs-bg-x) var(--sdgs-bg-y);
    background-repeat: no-repeat, no-repeat;
}

/* タブレット: 641px〜1024px */
@media (max-width: 1024px) and (min-width: 641px) {
    .sdgs {
        --sdgs-bg-x: var(--sdgs-bg-x-tablet);
        --sdgs-bg-y: var(--sdgs-bg-y-tablet);
    }
}

/* モバイル: 640px以下 */
@media (max-width: 640px) {
    .sdgs {
        --sdgs-bg-x: var(--sdgs-bg-x-mobile);
        --sdgs-bg-y: var(--sdgs-bg-y-mobile);
    }
}

.sdgs .container {
    max-width: 800px;
}

/* ── 見出し（カード外） ── */
.sdgs-section-head {
    text-align: center;
    margin-bottom: clamp(1.5rem, 3.5vw, 2.25rem);
}

.sdgs-super {
    display: block;
    font-size: 12px;
    font-weight: 500;
    color: var(--c-text-light);
    letter-spacing: 0.26em;
    text-transform: uppercase;
    margin-bottom: 8px;
}

.sdgs-section-title {
    font-family: var(--f-serif);
    font-size: clamp(24px, 3.5vw, 32px);
    font-weight: 500;
    color: var(--c-text);
    letter-spacing: 0.08em;
    margin: 0;
}

/* ── カード本体（liquid glass：セクション背景の sdgs.png が透ける） ── */
.sdgs-panel.liquidGlass-wrapper {
    position: relative;
    overflow: hidden;
    isolation: isolate;
    background: transparent;
    border: 1px solid rgba(255, 255, 255, 0.42);
    border-radius: 16px;
    box-shadow:
        0 8px 32px rgba(44, 62, 80, 0.1),
        0 0 1px rgba(255, 255, 255, 0.6) inset;
    padding: 0;
}

.sdgs-panel .liquidGlass-effect {
    position: absolute;
    z-index: 0;
    inset: 0;
    backdrop-filter: blur(5px) saturate(1.12);
    -webkit-backdrop-filter: blur(10px) saturate(1.12);
    filter: url(#glass-distortion-sdgs);
    overflow: hidden;
    isolation: isolate;
    pointer-events: none;
}

.sdgs-panel .liquidGlass-tint {
    z-index: 1;
    position: absolute;
    inset: 0;
    background: rgba(255, 255, 255, 0.16);
    pointer-events: none;
}

.sdgs-panel .liquidGlass-shine {
    position: absolute;
    inset: 0;
    z-index: 2;
    overflow: hidden;
    pointer-events: none;
    border-radius: inherit;
    box-shadow:
        inset 1px 1px 1px 0 rgba(255, 255, 255, 0.4),
        inset -1px -1px 1px 0 rgba(255, 255, 255, 0.22);
}

.sdgs-panel-inner {
    position: relative;
    z-index: 3;
    width: 100%;
    box-sizing: border-box;
    padding: clamp(1.5rem, 4vw, 2.25rem);
}

/* ── ロゴ（mix-blend-mode で黒背景を白に溶かす） ── */
.sdgs-logo-strip {
    /* パネルの左右上の内側余白をネガティブマージンで打ち消し、
       ロゴをパネル端まで広げて本文エリアと横幅を揃える */
    margin-top: calc(-0.5 * clamp(1.5rem, 4vw, 2.25rem));
    margin-left: calc(-0.5 * clamp(1.5rem, 4vw, 2.25rem));
    margin-right: calc(-0.5 * clamp(1.5rem, 4vw, 2.25rem));
    margin-bottom: clamp(1.25rem, 3vw, 1.75rem);
}

.sdgs-brand-logo {
    display: block;
    width: 100%;
    height: auto;
    mix-blend-mode: multiply;
}

/* ── アイコン＋本文エリア ── */
.sdgs-body {
    display: grid;
    grid-template-columns: auto 1fr;
    gap: clamp(1.25rem, 3.5vw, 2rem);
    align-items: center;
}

.sdgs-icons-col {
    display: flex;
    flex-direction: row;
    gap: 12px;
    flex-shrink: 0;
    align-items: center;
}

/* PC ではモバイルロゴを非表示 */
.sdgs-mobile-logo {
    display: none;
}

.sdgs-tile-img {
    display: block;
    width: clamp(80px, 11vw, 120px);
    height: auto;
    border-radius: 8px;
    box-shadow: 0 4px 14px rgba(0, 0, 0, 0.12);
}

.sdgs-text {
    font-size: 15px;
    line-height: 2;
    letter-spacing: 0.04em;
    margin: 0;
    color: var(--c-text);
}

/* ── モバイル（560px以下）── */
@media (max-width: 560px) {
    /* PCロゴ帯を隠す */
    .sdgs-logo-strip {
        display: none;
    }

    .sdgs-body {
        grid-template-columns: 1fr;
        gap: 1.1rem;
    }

    /* モバイルロゴを表示 */
    .sdgs-mobile-logo {
        display: block;
        height: clamp(90px, 28vw, 130px);
        width: auto;
        mix-blend-mode: multiply;
    }

    /* アイコン列：モバイルロゴ（左）＋SDGアイコン（右）横並び */
    .sdgs-icons-col {
        justify-content: flex-start;
        align-items: center;
        gap: 14px;
    }

    .sdgs-tile-img {
        height: clamp(90px, 28vw, 130px);
        width: auto;
    }

    .sdgs-text {
        font-size: 14px;
        line-height: 1.95;
    }
}

/* Contact page（本文はサイト共通背景を透過表示） */
.contact-page {
    padding-top: 140px;
    padding-bottom: 80px;
    background-color: transparent;
    color: var(--c-text);
}

.contact-intro {
    text-align: center;
    margin-bottom: 48px;
    max-width: 720px;
    margin-left: auto;
    margin-right: auto;
}

.contact-heading {
    margin-bottom: 20px;
}

.contact-lead {
    margin-bottom: 0;
}

.contact-glass {
    max-width: 720px;
    margin: 0 auto;
    padding: clamp(28px, 5vw, 48px) clamp(22px, 4vw, 44px);
    border-radius: 28px;
    background: var(--c-bg-light);
    border: 1px solid var(--c-border);
    box-shadow: 0 8px 40px rgba(0, 0, 0, 0.05);
}

.contact-form-grid {
    display: grid;
    grid-template-columns: 1fr;
    gap: 22px;
}

.contact-field {
    display: flex;
    flex-direction: column;
    gap: 10px;
}

.contact-field label {
    font-size: 13px;
    font-weight: 500;
    letter-spacing: 0.06em;
    color: var(--c-text-light);
}

.contact-required {
    display: inline;
    margin-left: 0.2em;
    color: #d64545;
    font-weight: 600;
    font-size: 1.1em;
    line-height: 1;
    vertical-align: 0.05em;
}

.contact-field input,
.contact-field textarea,
.contact-select-wrap select {
    width: 100%;
    padding: 14px 18px;
    font-family: var(--f-sans);
    font-size: 15px;
    color: var(--c-text);
    line-height: 1.5;
    border-radius: 14px;
    border: 1px solid var(--c-border);
    background: var(--c-bg-light);
    transition:
        border-color 220ms var(--ease-out),
        box-shadow 220ms var(--ease-out);
}

.contact-field input::placeholder,
.contact-field textarea::placeholder {
    color: rgba(44, 62, 80, 0.38);
}

.contact-field textarea {
    resize: vertical;
    min-height: 140px;
}

.contact-field input:hover,
.contact-field textarea:hover,
.contact-select-wrap select:hover {
    border-color: #c5d5e3;
}

.contact-field input:focus,
.contact-field textarea:focus,
.contact-select-wrap select:focus {
    outline: none;
    border-color: var(--c-primary);
    box-shadow: 0 0 0 3px rgba(91, 155, 213, 0.18);
}

.contact-select-wrap {
    position: relative;
}

.contact-select-wrap::after {
    content: '';
    position: absolute;
    right: 18px;
    top: 50%;
    width: 7px;
    height: 7px;
    margin-top: -5px;
    border-right: 2px solid var(--c-text-light);
    border-bottom: 2px solid var(--c-text-light);
    transform: rotate(45deg);
    pointer-events: none;
    opacity: 0.65;
}

.contact-select-wrap select {
    appearance: none;
    padding-right: 44px;
    cursor: pointer;
    color: var(--c-text);
}

.contact-select-wrap select:invalid {
    color: rgba(44, 62, 80, 0.45);
}

.contact-privacy {
    display: flex;
    justify-content: center;
    align-items: flex-start;
    gap: 12px;
    margin-top: 28px;
    padding-top: 8px;
}

.contact-privacy input[type='checkbox'] {
    -webkit-appearance: none;
    appearance: none;
    box-sizing: border-box;
    width: 18px;
    height: 18px;
    margin-top: 3px;
    flex-shrink: 0;
    border: 2px solid #b8c9d6;
    border-radius: 4px;
    background: #fff;
    cursor: pointer;
    position: relative;
    transition:
        border-color 180ms ease,
        background-color 180ms ease,
        box-shadow 180ms ease;
}

.contact-privacy input[type='checkbox']:hover {
    border-color: #8fafc8;
}

.contact-privacy input[type='checkbox']:focus-visible {
    outline: none;
    box-shadow: 0 0 0 3px rgba(91, 155, 213, 0.35);
}

.contact-privacy input[type='checkbox']:checked {
    background: var(--c-primary-check);
    border-color: var(--c-primary-check);
}

.contact-privacy input[type='checkbox']:checked::after {
    content: '';
    position: absolute;
    left: 5px;
    top: 2px;
    width: 4px;
    height: 8px;
    border: solid #fff;
    border-width: 0 2px 2px 0;
    transform: rotate(45deg);
}

.contact-privacy label {
    font-size: 14px;
    line-height: 1.65;
    letter-spacing: 0.04em;
    color: var(--c-text);
    cursor: pointer;
}

.contact-privacy-link {
    color: var(--c-primary);
    text-decoration: underline;
    text-underline-offset: 3px;
    transition: opacity 200ms ease;
}

@media (hover: hover) and (pointer: fine) {
    .contact-privacy-link:hover {
        opacity: 0.8;
    }
}

.contact-actions {
    margin-top: 32px;
    text-align: center;
}

.contact-form-error {
    margin: 20px 0 0;
    padding: 14px 18px;
    font-size: 14px;
    line-height: 1.65;
    letter-spacing: 0.04em;
    color: #a32b2b;
    background: rgba(214, 69, 69, 0.08);
    border: 1px solid rgba(214, 69, 69, 0.28);
    border-radius: 14px;
    text-align: center;
}

.contact-form-error:empty,
.contact-form-error[hidden] {
    display: none;
}

.contact-form.is-sending .contact-submit {
    opacity: 0.72;
    cursor: wait;
    pointer-events: none;
}

.contact-submit {
    min-width: 220px;
    border: none;
}

.contact-form:not(.is-sent) .contact-form-success {
    display: none;
}

.contact-form.is-sent .contact-form-body {
    display: none;
}

/* 送信完了（フォーム非表示時のみ表示） */
.contact-form-success.contact-success {
    margin: 0;
    padding: clamp(4px, 1.5vw, 12px) clamp(12px, 3vw, 24px) clamp(8px, 1.5vw, 14px);
    text-align: center;
    color: var(--c-text);
}

.contact-success__title {
    margin: 0 0 1.125rem;
    font-family: var(--f-serif);
    font-size: clamp(22px, 4vw, 28px);
    font-weight: 500;
    letter-spacing: 0.1em;
    line-height: 1.45;
    color: var(--c-text);
}

.contact-success__text {
    margin: 0 auto 1.5rem;
    max-width: 32em;
    font-size: 15px;
    line-height: 2;
    letter-spacing: 0.05em;
    color: var(--c-text-light);
}

.contact-success__home {
    margin: 0 auto;
}

.contact-form.is-sent .contact-form-success {
    animation: contactSuccessIn 520ms var(--ease-out) both;
}

@keyframes contactSuccessIn {
    from {
        opacity: 0;
        transform: translateY(14px);
    }

    to {
        opacity: 1;
        transform: translateY(0);
    }
}

@media (prefers-reduced-motion: reduce) {
    .contact-form.is-sent .contact-form-success {
        animation: none;
    }
}

/* Footer — コーポレートサイトで多い型：ロゴ → メニュー1段 → 法務・著作権 */
.footer {
    /* Contact CTA の水色帯と差別化：白系の締めの帯 */
    background: #ffffff;
    border-top: 1px solid rgba(59, 80, 98, 0.1);
    color: var(--c-text);
    padding: 56px 0 32px;
}

.footer-inner {
    display: flex;
    flex-direction: column;
    align-items: center;
    max-width: 840px;
    margin: 0 auto;
    padding-bottom: 32px;
    margin-bottom: 28px;
    border-bottom: 1px solid rgba(226, 232, 237, 0.95);
    text-align: center;
}

.footer-logo {
    display: block;
    line-height: 0;
    margin: 0 auto 26px;
    transition: opacity 220ms var(--ease-out);
}

.footer-logo img {
    display: block;
    height: 46px;
    width: auto;
    max-width: min(260px, 100%);
    margin-inline: auto;
}

@media (hover: hover) and (pointer: fine) {
    .footer-logo:hover {
        opacity: 0.82;
    }
}

.footer-nav {
    width: 100%;
}

.footer-menu {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    align-items: center;
    gap: 12px 22px;
    list-style: none;
    margin: 0;
    padding: 0;
}

.footer-menu a {
    font-size: 13px;
    font-weight: 500;
    letter-spacing: 0.06em;
    color: var(--c-text);
    padding: 6px 4px;
    line-height: 1.45;
    transition: color 200ms ease;
}

@media (hover: hover) and (pointer: fine) {
    .footer-menu a:hover {
        color: var(--c-primary);
    }
}

.footer-meta {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 16px;
    text-align: center;
}

.footer-legal {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    align-items: center;
    gap: 6px 0;
}

.footer-legal a {
    font-size: 12px;
    color: var(--c-text-light);
    letter-spacing: 0.04em;
    transition: color 200ms ease;
}

.footer-legal a:not(:last-child)::after {
    content: '·';
    margin: 0 14px;
    color: #c5d5e0;
    pointer-events: none;
}

@media (hover: hover) and (pointer: fine) {
    .footer-legal a:hover {
        color: var(--c-primary);
    }
}

.copyright {
    color: #9aa8b5;
    font-size: 11px;
    letter-spacing: 0.06em;
    margin: 0;
    line-height: 1.6;
}

/* サブページ：本文の下・フッター直前 */
.page-back {
    padding: 8px 0 48px;
}

.page-back .container {
    display: flex;
    justify-content: center;
}

.page-back .btn-outline {
    margin: 0;
}

/* ── Sitemap page ── */
.sitemap-page {
    padding-bottom: 120px;
}

.sitemap-body {
    max-width: 640px;
    margin: 0 auto;
}

.sitemap-group {
    padding: 22px 0;
    border-bottom: 1px solid rgba(226, 232, 237, 0.8);
}

.sitemap-group:first-child {
    border-top: 1px solid rgba(226, 232, 237, 0.8);
}

.sitemap-group-title {
    font-family: var(--f-sans);
    font-size: 15px;
    font-weight: 500;
    margin: 0;
}

.sitemap-group-title a {
    color: var(--c-text);
    transition: color 180ms ease;
}

.sitemap-group-title a:hover {
    color: var(--c-primary);
}

.sitemap-group-title--legal {
    font-size: 13px;
    color: var(--c-text-light);
}

.sitemap-group-title--legal a {
    color: var(--c-text-light);
}

.sitemap-list {
    list-style: none;
    margin: 12px 0 0;
    padding: 0 0 0 20px;
    display: flex;
    flex-direction: column;
    gap: 8px;
    border-left: 2px solid rgba(91, 155, 213, 0.2);
}

.sitemap-list li a {
    font-size: 14px;
    color: var(--c-text-light);
    letter-spacing: 0.04em;
    transition: color 180ms ease;
}

.sitemap-list li a:hover {
    color: var(--c-primary);
}

/* ── Privacy Policy page ── */
.privacy-page {
    padding-bottom: 120px;
}

.privacy-body {
    max-width: 720px;
    margin: 0 auto;
    background: var(--c-bg-light);
    border: 1px solid var(--c-border);
    border-radius: 18px;
    box-shadow:
        0 1px 0 rgba(255, 255, 255, 0.9) inset,
        0 14px 44px rgba(31, 56, 76, 0.07);
    padding: clamp(32px, 5vw, 56px) clamp(24px, 5vw, 52px);
}

.privacy-intro {
    font-size: 14px;
    line-height: 2.1;
    letter-spacing: 0.04em;
    color: var(--c-text-light);
    margin: 0 0 12px;
}

.privacy-updated {
    font-size: 12px;
    letter-spacing: 0.08em;
    color: #a8b5bf;
    margin-bottom: 44px;
    text-align: right;
}

.privacy-section {
    padding: 32px 0;
    border-top: 1px solid rgba(226, 232, 237, 0.8);
}

.privacy-section--last {
    padding-bottom: 0;
}

.privacy-section-title {
    font-family: var(--f-sans);
    font-size: 15px;
    font-weight: 600;
    letter-spacing: 0.08em;
    color: var(--c-text);
    margin: 0 0 16px;
}

.privacy-text {
    font-size: 14px;
    line-height: 2;
    letter-spacing: 0.04em;
    color: var(--c-text-light);
    margin: 0 0 16px;
}

.privacy-text:last-of-type {
    margin-bottom: 0;
}

.privacy-list {
    margin: 0 0 16px;
    padding-left: 1.4em;
    list-style: disc;
}

.privacy-list li {
    font-size: 14px;
    line-height: 2;
    letter-spacing: 0.04em;
    color: var(--c-text-light);
}

.privacy-list li + li {
    margin-top: 2px;
}

.privacy-dl {
    display: flex;
    flex-direction: column;
    gap: 0;
    border: 1px solid var(--c-border);
    border-radius: 10px;
    overflow: hidden;
}

.privacy-dl-row {
    display: flex;
    gap: 0;
    border-bottom: 1px solid rgba(226, 232, 237, 0.8);
}

.privacy-dl-row:last-child {
    border-bottom: none;
}

.privacy-dl-row dt {
    width: 30%;
    min-width: 112px;
    flex-shrink: 0;
    padding: 14px 18px;
    font-size: 13px;
    font-weight: 600;
    letter-spacing: 0.06em;
    color: var(--c-text-light);
    background: #f5f9fb;
    border-right: 1px solid rgba(226, 232, 237, 0.8);
}

.privacy-dl-row dd {
    padding: 14px 18px;
    font-size: 14px;
    line-height: 1.8;
    letter-spacing: 0.04em;
    color: var(--c-text);
    margin: 0;
}

.privacy-contact-cta {
    margin-top: 24px;
    text-align: center;
}

/* Company page */
.company-page {
    padding-top: 140px;
    padding-bottom: 96px;
    min-height: 55vh;
    background-color: transparent;
}

.company-page .section {
    padding-top: 0;
    padding-bottom: 0;
}

.company-header {
    text-align: center;
    max-width: 640px;
    margin: 0 auto clamp(40px, 6vw, 56px);
}

.company-eyebrow {
    margin: 0 0 12px;
    font-family: var(--f-sans);
    font-size: 12px;
    font-weight: 600;
    letter-spacing: 0.28em;
    text-transform: uppercase;
    color: var(--c-primary);
}

.company-title {
    margin: 0 0 18px;
    font-family: var(--f-serif);
    font-size: clamp(26px, 3.6vw, 34px);
    font-weight: 500;
    letter-spacing: 0.12em;
    color: var(--c-text);
    line-height: 1.35;
}

.company-title-line {
    display: none;
}

.company-table-wrapper {
    max-width: 720px;
    margin: 0 auto;
    background: rgba(255, 255, 255, 0.82);
    border-radius: 14px;
    border: 1px solid rgba(255, 255, 255, 0.6);
    box-shadow:
        inset 2px 2px 1px rgba(255, 255, 255, 0.65),
        inset -1px -1px 1px rgba(255, 255, 255, 0.4),
        0 14px 44px rgba(31, 56, 76, 0.1);
    overflow: hidden;
}

.company-table {
    width: 100%;
    border-collapse: collapse;
    text-align: left;
}

.company-table th,
.company-table td {
    padding: 22px 28px;
    font-size: 15px;
    line-height: 1.8;
    vertical-align: top;
    border-bottom: 1px solid var(--c-border);
}

.company-table tr:last-child th,
.company-table tr:last-child td {
    border-bottom: none;
}

.company-table th {
    width: 32%;
    min-width: 148px;
    font-weight: 600;
    font-size: 13px;
    letter-spacing: 0.1em;
    color: var(--c-text-light);
    background: #f0f6fb;
    border-right: 1px solid var(--c-border);
}

.company-table td {
    color: var(--c-text);
    font-weight: 400;
    letter-spacing: 0.04em;
}


/* Flow page — 縦タイムライン・流体シェイプ・サイトカラー */
.flow-page {
    padding-top: 140px;
    padding-bottom: 96px;
    min-height: 55vh;
    background-color: transparent;
}

.flow-page .section {
    padding-top: 0;
    padding-bottom: 0;
}

.flow-page-container {
    position: relative;
}

.flow-lead-block {
    max-width: 720px;
    margin: 0 auto clamp(36px, 6vw, 56px);
    text-align: center;
}

.flow-lead-block .sec-text {
    margin: 0;
}

.flow-visual-wrap {
    position: relative;
    max-width: 880px;
    margin: 0 auto;
    padding: 24px 0 8px;
}

.flow-visual-steps {
    position: relative;
    list-style: none;
    margin: 0;
    padding: 0;
}

.flow-visual-item {
    --flow-step-text-size: 11px;
    --flow-step-stack-gap: 5px;
    --flow-step-num-fs: clamp(26px, 4.2vw, 38px);
    /* STEP行 + 間隔 + 数字行 ≒ 右 h3 行ボックスの高さ */
    --flow-head-row-h: calc(var(--flow-step-text-size) * 1.2 + var(--flow-step-stack-gap) + var(--flow-step-num-fs));

    display: grid;
    grid-template-columns: minmax(3.25rem, 5rem) minmax(0, 1fr);
    gap: 8px 28px;
    align-items: stretch;
    margin-bottom: 32px;
}

.flow-visual-item:last-child {
    margin-bottom: 0;
}

/* 左カラム：STEP・番号・縦線を同じ中心軸に */
.flow-visual-track {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: flex-start;
    width: 100%;
    max-width: 5rem;
    flex-shrink: 0;
    text-align: center;
    gap: 0;
}

.flow-visual-labels {
    display: flex;
    flex-direction: column;
    align-items: center;
    width: 100%;
}

.flow-visual-step-label {
    margin: 0 0 var(--flow-step-stack-gap);
    padding: 0;
    width: 100%;
    font-size: var(--flow-step-text-size);
    font-weight: 600;
    letter-spacing: 0.14em;
    color: rgba(91, 155, 213, 0.72);
    line-height: 1.2;
    text-transform: uppercase;
    text-align: center;
}

.flow-visual-step-num {
    margin: 0;
    padding: 0;
    font-size: var(--flow-step-num-fs);
    font-weight: 700;
    font-variant-numeric: tabular-nums;
    letter-spacing: 0.02em;
    color: var(--c-primary);
    line-height: 1;
    text-align: center;
}

/* 左列の縦点線 */
.flow-visual-track::after {
    content: '';
    flex: 1 1 auto;
    width: 0;
    min-height: 16px;
    margin-top: 10px;
    align-self: center;
    border-left: 1px dashed rgba(91, 155, 213, 0.28);
}

/* 右カラム：h3 を左の STEP+数字と同じ高さ帯に（上端揃え） */
.flow-visual-main {
    min-width: 0;
    padding-top: 0;
    padding-bottom: 4px;
    display: flex;
    flex-direction: column;
    align-items: stretch;
    gap: 14px;
    overflow: visible;
}

.flow-visual-title {
    margin: 0;
    min-height: var(--flow-head-row-h);
    display: flex;
    align-items: center;
    font-family: var(--f-sans);
    font-size: clamp(17px, 2.2vw, 19px);
    font-weight: 500;
    letter-spacing: 0.04em;
    color: var(--c-text);
    line-height: 1.45;
}

/* Flow ステップ本文：liquid glass（枠を左へずらし、padding で本文左を h3 と一致） */
.flow-visual-card.liquidGlass-wrapper {
    --flow-card-pull: 22px;

    position: relative;
    overflow: hidden;
    isolation: isolate;
    flex: 0 1 auto;
    align-self: stretch;
    width: calc(100% + var(--flow-card-pull));
    margin-left: calc(-1 * var(--flow-card-pull));
    background: transparent;
    border: 1px solid rgba(255, 255, 255, 0.42);
    border-radius: 20px;
    box-shadow:
        0 8px 32px rgba(31, 56, 76, 0.09),
        0 0 1px rgba(255, 255, 255, 0.55) inset;
    padding: 0;
}

.flow-visual-card .liquidGlass-effect {
    position: absolute;
    z-index: 0;
    inset: 0;
    border-radius: inherit;
    backdrop-filter: blur(10px) saturate(1.12);
    -webkit-backdrop-filter: blur(10px) saturate(1.12);
    filter: url(#glass-distortion-flow-visual-card);
    overflow: hidden;
    isolation: isolate;
    pointer-events: none;
}

.flow-visual-card .liquidGlass-tint {
    z-index: 1;
    position: absolute;
    inset: 0;
    border-radius: inherit;
    background: rgba(255, 255, 255, 0.18);
    pointer-events: none;
}

.flow-visual-card .liquidGlass-shine {
    position: absolute;
    inset: 0;
    z-index: 2;
    overflow: hidden;
    pointer-events: none;
    border-radius: inherit;
    box-shadow:
        inset 1px 1px 1px 0 rgba(255, 255, 255, 0.4),
        inset -1px -1px 1px 0 rgba(255, 255, 255, 0.22);
}

.flow-visual-card-inner {
    position: relative;
    z-index: 3;
    box-sizing: border-box;
    width: 100%;
    padding-top: clamp(16px, 2.5vw, 22px);
    padding-bottom: clamp(16px, 2.5vw, 22px);
    padding-left: var(--flow-card-pull);
    /* 左へずらした分、右は詰めて本文に近づける */
    padding-right: clamp(12px, 2vw, 16px);
}

.flow-visual-card-inner p {
    margin: 0;
    font-size: 14px;
    line-height: 1.85;
    letter-spacing: 0.04em;
    color: var(--c-text);
}

.flow-visual-card-inner p + p {
    margin-top: 10px;
}

.flow-visual-card-note {
    font-size: 13px !important;
    color: var(--c-text-light) !important;
}

.flow-support-card {
    margin-top: 48px;
}

.flow-support-head {
    text-align: center;
    margin-bottom: 0;
}

.flow-support-head .company-eyebrow {
    text-align: center;
}

.flow-support-heading {
    margin-bottom: 0;
}

.flow-support-body {
    margin: 0;
    text-align: center;
    max-width: 36em;
    margin-left: auto;
    margin-right: auto;
}

.flow-support-glass-inner > .flow-support-body:first-of-type {
    margin-top: 20px;
}

.flow-support-glass-inner > .flow-support-body + .flow-support-body {
    margin-top: 1.15em;
}

/* Flow — アフターサポートカード liquid glass（liquid-glass-effect-macos と同構成） */
.contact-glass.flow-support-card {
    background: rgba(255, 255, 255, 0.72);
    border: 1px solid rgba(255, 255, 255, 0.6);
    box-shadow:
        inset 1px 1px 1px rgba(255, 255, 255, 0.65),
        inset -1px -1px 1px rgba(255, 255, 255, 0.35),
        0 6px 6px rgba(0, 0, 0, 0.08),
        0 0 24px rgba(0, 0, 0, 0.05);
    padding: 0;
}

.flow-support-glass-inner {
    position: relative;
    width: 100%;
    box-sizing: border-box;
    padding: clamp(28px, 5vw, 48px) clamp(22px, 4vw, 44px);
}

/* Keyframes */
@keyframes slowZoom {
    0% {
        transform: scale(1.02);
    }

    100% {
        transform: scale(1.1);
    }
}

@keyframes scrollDrop {
    0% {
        transform: translateY(-100%);
    }

    50% {
        transform: translateY(100%);
    }

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

/* JavaScript Hook Animations (Intersection Observer) */
.fade-up {
    opacity: 0;
    transform: translateY(30px);
    transition: opacity 800ms var(--ease-out), transform 800ms var(--ease-out);
}

.fade-up.is-visible {
    opacity: 1;
    transform: translateY(0);
}

/* Delay modifiers for stagger effect */
.delay-1 {
    transition-delay: 150ms;
}

.delay-2 {
    transition-delay: 300ms;
}

.delay-3 {
    transition-delay: 450ms;
}

.delay-4 {
    transition-delay: 600ms;
}

/* Liquid glass: 祖先の opacity アニメが backdrop の合成を崩すため、opacity は即時・移動のみ transform */
.sdgs .container.fade-up,
.solution .solution-bg-wrapper.fade-up,
.solution .solution-grid.fade-up,
.flow-page .contact-glass.flow-support-card.fade-up {
    transition:
        opacity 0s linear,
        transform 800ms var(--ease-out);
}

.solution .solution-grid.fade-up.delay-1 {
    transition-delay: 0s, 150ms;
}

.flow-page .contact-glass.flow-support-card.fade-up.delay-3 {
    transition-delay: 0s, 450ms;
}

/* ヒーロー見出し: JS / html.loaded に依存せず CSS アニメのみ（初回描画のチラつき対策） */
@keyframes heroRevealClip {
    from {
        clip-path: inset(100% 0 0 0);
    }

    to {
        clip-path: inset(0 0 0 0);
    }
}

.hero .hero-reveal-text {
    clip-path: inset(100% 0 0 0);
    animation: heroRevealClip 1.2s var(--ease-out) forwards;
}

.hero .hero-reveal-text.delay-1 {
    animation-delay: 150ms;
}

@media (prefers-reduced-motion: reduce) {
    .fade-up,
    .fade-up.is-visible {
        opacity: 1;
        transform: none;
        transition: none;
    }

    .hero .hero-reveal-text {
        clip-path: inset(0 0 0 0);
        animation: none;
    }
}

/* Responsive / Mobile Menu overlay */
@media (max-width: 768px) {
    .section {
        padding: 60px 0;
    }

    .header-inner {
        position: relative;
        z-index: 20;
        padding: 0 20px;
        height: 60px;
    }

    .header-right {
        gap: 0;
    }

    /* ヘッダー右上の CTA のみ非表示（フォームの送信ボタンも .btn-contact のため限定する） */
    .header .btn-contact {
        display: none;
    }

    .mobile-contact {
        display: block;
    }

    /* Burger Button */
    .burger {
        display: block;
        width: 26px;
        height: 20px;
        position: relative;
        z-index: 2000;
    }

    .burger span {
        display: block;
        position: absolute;
        width: 100%;
        height: 2px;
        background: var(--c-primary);
        /* Changed to dark blue because it sits on white */
        transition: transform 300ms var(--ease-out), opacity 300ms var(--ease-out), background 300ms var(--ease-out);
    }

    .burger span:nth-child(1) {
        top: 0;
    }

    .burger span:nth-child(2) {
        top: 9px;
    }

    .burger span:nth-child(3) {
        top: 18px;
    }

    /* Body freeze when nav open */
    body.nav-open {
        overflow: hidden;
    }

    /* Dimmed backdrop（header の下、ページコンテンツの上） */
    body.nav-open::before {
        content: '';
        position: fixed;
        inset: 0;
        background: rgba(10, 24, 40, 0.22);
        z-index: 1100;
    }

    /* Burger Open State */
    .nav-open .burger span {
        background: var(--c-text);
    }

    .nav-open .burger span:nth-child(1) {
        transform: translateY(9px) rotate(45deg);
    }

    .nav-open .burger span:nth-child(2) {
        opacity: 0;
    }

    .nav-open .burger span:nth-child(3) {
        transform: translateY(-9px) rotate(-45deg);
    }

    /* ── Mobile nav: header 自体が展開する構造 ── */

    /* header が nav を内包して下方向に広がる */
    .header {
        overflow: hidden;
    }

    /* nav はもう position:fixed ではなく header の子として in-flow */
    .nav {
        position: relative;
        z-index: 10;
        transform: none;
        top: auto;
        left: auto;
        right: auto;
        width: 100%;
        box-sizing: border-box;
        padding: 0 24px;
        /* 折りたたみ状態 */
        max-height: 0;
        opacity: 0;
        overflow: hidden;
        transition:
            max-height 420ms var(--ease-out),
            opacity 280ms ease,
            padding-bottom 420ms var(--ease-out);
        isolation: auto;
        box-shadow: none;
        border: none;
        visibility: visible;
        /* header の pointer-events: none を上書きしてリンクを有効にする */
        pointer-events: auto;
    }

    .nav-open .nav {
        max-height: 480px;
        opacity: 1;
        padding-bottom: 28px;
    }

    /* nav 内の liquidGlass レイヤーは header が担うので不要 */
    .nav .liquidGlass-effect,
    .nav .liquidGlass-tint,
    .nav .liquidGlass-shine {
        display: none;
    }

    .nav ul {
        position: static;
        z-index: auto;
        flex-direction: column;
        gap: 0;
        text-align: left;
        padding: 0;
        width: 100%;
    }

    .nav ul li {
        border-bottom: 1px solid rgba(200, 215, 228, 0.6);
        opacity: 1;
        transform: none;
    }

    .nav ul li:last-child {
        border-bottom: none;
    }

    .nav ul li a {
        display: block;
        padding: 16px 0;
        color: var(--c-text);
        font-size: 15px;
        font-weight: 500;
        letter-spacing: 0.06em;
    }

    /* Contact item */
    .mobile-contact {
        display: block;
        margin-top: 20px;
        border-bottom: none !important;
    }

    .mobile-contact a {
        display: block;
        text-align: center;
        background: linear-gradient(135deg, #6caddf, #5b9bd5);
        color: #fff !important;
        padding: 14px 0;
        border-radius: 50px;
        font-size: 14px !important;
        font-weight: 500;
        letter-spacing: 0.1em;
        box-shadow: 0 4px 16px rgba(91, 155, 213, 0.32);
    }

    /* Typography & Spacing Adjustments */
    .hero {
        justify-content: center;
        text-align: left;
    }

    .hero::after {
        content: '';
        position: absolute;
        inset: 0;
        background: linear-gradient(to right,
                rgba(247, 249, 250, 0.92) 30%,
                rgba(247, 249, 250, 0.55) 58%,
                transparent 78%);
        z-index: 1;
        pointer-events: none;
    }

    /* Mobile header — Liquid Glass（SVG filter + effect / tint / shine） */
    /* 未スクロール時は背景色・ガラス層なし（ヒーロー直上で透過）／スクロール後に表示 */
    /* overflow:hidden は子の position:fixed（.nav オーバーレイ）の包含・クリップを壊すため付けない */
    .header {
        z-index: 1600;
        top: 0;
        width: 100%;
        height: auto;
        min-height: calc(60px + env(safe-area-inset-top, 0px));
        padding-top: env(safe-area-inset-top, 0px);
        box-sizing: border-box;
        border-radius: 0;
        isolation: isolate;
        background: transparent;
        backdrop-filter: none;
        -webkit-backdrop-filter: none;
        border-bottom: none;
        box-shadow: none;
        pointer-events: none;
        overflow: hidden;
    }

    .header .header-inner {
        pointer-events: auto;
    }

    .header .liquidGlass-effect,
    .header .liquidGlass-tint,
    .header .liquidGlass-shine {
        display: none;
    }

    .header .liquidGlass-effect {
        position: absolute;
        z-index: 0;
        inset: 0;
        backdrop-filter: blur(3px);
        -webkit-backdrop-filter: blur(3px);
        overflow: hidden;
        isolation: isolate;
        pointer-events: none;
    }

    .header .liquidGlass-tint {
        position: absolute;
        z-index: 1;
        inset: 0;
        background: rgba(255, 255, 255, 0.28);
        pointer-events: none;
    }

    .header .liquidGlass-shine {
        position: absolute;
        inset: 0;
        z-index: 2;
        overflow: hidden;
        pointer-events: none;
        box-shadow:
            inset 2px 2px 1px 0 rgba(255, 255, 255, 0.45),
            inset -1px -1px 1px 1px rgba(255, 255, 255, 0.4);
    }

    .header.scrolled,
    .nav-open .header {
        top: 0;
        width: 100%;
        border-radius: 0;
        background: rgba(255, 255, 255, 0.06);
        border-bottom: none;
        box-shadow: 0 12px 40px rgba(15, 40, 70, 0.11);
    }

    .header.scrolled .liquidGlass-effect,
    .header.scrolled .liquidGlass-tint,
    .header.scrolled .liquidGlass-shine,
    .nav-open .header .liquidGlass-effect,
    .nav-open .header .liquidGlass-tint,
    .nav-open .header .liquidGlass-shine {
        display: block;
    }

    .header.scrolled .liquidGlass-tint {
        background: rgba(255, 255, 255, 0.42);
    }

    .nav-open .header .liquidGlass-tint {
        background: rgba(255, 255, 255, 0.28);
    }

    .nav-open .header .liquidGlass-effect {
        backdrop-filter: blur(6px) saturate(1.2);
        -webkit-backdrop-filter: blur(6px) saturate(1.2);
    }

    .nav-open .nav ul li a {
        color: var(--c-text);
    }

    .hero-bg {
        top: 0;
        bottom: 20px;
        width: 78%;
        border-top-left-radius: 0;
        border-bottom-left-radius: 80px;
        background-position: 75% center;
    }

    .hero-content {
        align-items: flex-start;
        padding: 0 20px;
        margin-top: 40px;
    }

    .hero-eyebrow {
        font-size: 10px;
        margin-bottom: 16px;
    }

    .hero-title {
        font-size: 36px;
        text-align: left;
        margin-bottom: 16px;
        line-height: 1.4;
        padding-left: 16px;
    }

    .hero-desc {
        font-size: 14px;
        line-height: 2;
    }

    .hero-desc br {
        display: none;
        font-size: 15px;
    }

    .scroll-down {
        right: 20px;
        bottom: 60px;
        /* Lifted up to give breathing room on mobile */
        width: 70px;
        height: 70px;
        background: transparent;
        backdrop-filter: none;
        -webkit-backdrop-filter: none;
        border: 1px solid rgba(255, 255, 255, 0.55);
        box-shadow: 0 4px 18px rgba(0, 0, 0, 0.07);
        overflow: hidden;
        isolation: isolate;
    }

    .scroll-down-effect,
    .scroll-down-tint,
    .scroll-down-shine {
        display: block;
    }

    .scroll-down-effect {
        position: absolute;
        z-index: 0;
        inset: 0;
        border-radius: 50%;
        backdrop-filter: blur(3px);
        -webkit-backdrop-filter: blur(3px);
        filter: url(#glass-distortion-header);
        overflow: hidden;
        isolation: isolate;
        pointer-events: none;
    }

    .scroll-down-tint {
        position: absolute;
        z-index: 1;
        inset: 0;
        border-radius: 50%;
        background: rgba(255, 255, 255, 0.22);
        pointer-events: none;
    }

    .scroll-down-shine {
        position: absolute;
        inset: 0;
        z-index: 2;
        border-radius: 50%;
        overflow: hidden;
        pointer-events: none;
        box-shadow:
            inset 2px 2px 1px 0 rgba(255, 255, 255, 0.45),
            inset -1px -1px 1px 1px rgba(255, 255, 255, 0.35);
    }

    .sec-subtitle {
        font-size: 22px;
        margin-bottom: 24px;
        line-height: 1.4;
        text-align: center;
    }

    /* Fluid Shapes: Hide on mobile for a cleaner layout */
    .fluid-shape {
        display: none;
    }

    .message::before {
        display: none;
    }

    .mobile-only-br {
        display: block;
    }

    #target .container {
        text-align: center;
    }

    #target .sec-text {
        font-size: 16px;
        line-height: 1.85;
        color: var(--c-text);
        letter-spacing: 0.04em;
        text-align: left;
    }

    .solution-grid {
        flex-direction: column;
        gap: 32px;
        margin-top: 32px;
    }

    .solution-content h4 {
        font-size: 22px;
        text-align: left;
    }

    .client-names {
        padding: 16px;
        font-size: 12px;
        line-height: 1.8;
    }

    .sdgs-section-head {
        margin-bottom: 1.25rem;
    }

    .sdgs-section-title {
        font-size: 22px;
    }

    .footer {
        padding: 44px 0 28px;
    }

    .footer-inner {
        max-width: none;
        padding-bottom: 28px;
        margin-bottom: 24px;
    }

    .footer-logo {
        margin-bottom: 22px;
    }

    .footer-logo img {
        height: 42px;
        max-width: 240px;
    }

    .footer-menu {
        gap: 10px 18px;
    }

    .footer-menu a {
        font-size: 12px;
        padding: 5px 2px;
    }

    .footer-meta {
        gap: 14px;
    }

    .page-back {
        padding: 4px 0 36px;
    }

    .page-back .btn-outline {
        width: 100%;
        max-width: 100%;
        min-height: 48px;
    }

    .contact-page {
        padding-top: 120px;
        padding-bottom: 60px;
    }

    /* 90% + 親の余白が重なって窮屈になるのを防ぐ：全幅に近づけ、横余白はコンテナだけに任せる */
    .contact-page .container {
        width: 100%;
        max-width: none;
        padding-left: max(20px, env(safe-area-inset-left));
        padding-right: max(20px, env(safe-area-inset-right));
    }

    .contact-intro {
        margin-bottom: 32px;
        text-align: left;
    }

    .contact-intro .sec-title {
        margin-bottom: 12px;
        text-align: center;
    }

    .contact-heading {
        font-size: 24px;
        line-height: 1.45;
        margin-bottom: 16px;
    }

    .contact-lead {
        font-size: 15px;
        line-height: 1.85;
        letter-spacing: 0.03em;
        text-align: left;
    }

    .contact-page .contact-glass {
        border-radius: 18px;
        padding: 26px 18px;
        box-shadow: 0 4px 24px rgba(0, 0, 0, 0.06);
    }

    .contact-form-grid {
        gap: 24px;
    }

    .contact-field {
        gap: 12px;
    }

    .contact-field label {
        font-size: 14px;
        letter-spacing: 0.04em;
        line-height: 1.5;
    }

    .contact-field input,
    .contact-field textarea,
    .contact-select-wrap select {
        font-size: 16px;
        padding: 15px 16px;
        border-radius: 12px;
    }

    .contact-field input,
    .contact-select-wrap select {
        min-height: 48px;
    }

    .contact-field textarea {
        min-height: 168px;
        line-height: 1.65;
        padding-top: 14px;
        padding-bottom: 14px;
    }

    .contact-field input::placeholder,
    .contact-field textarea::placeholder {
        color: rgba(44, 62, 80, 0.45);
    }

    .contact-select-wrap::after {
        right: 16px;
    }

    .contact-select-wrap select {
        padding-right: 46px;
    }

    .contact-privacy {
        margin-top: 24px;
        padding-top: 4px;
        gap: 14px;
        flex-wrap: wrap;
        justify-content: center;
    }

    .contact-privacy input[type='checkbox'] {
        width: 22px;
        height: 22px;
        margin-top: 2px;
    }

    .contact-privacy input[type='checkbox']:checked::after {
        left: 6px;
        top: 2px;
        width: 5px;
        height: 10px;
    }

    .contact-privacy label {
        font-size: 15px;
        line-height: 1.75;
        letter-spacing: 0.03em;
        max-width: 100%;
    }

    .contact-actions {
        margin-top: 28px;
    }

    .contact-submit {
        width: 100%;
        min-width: 0;
        min-height: 52px;
        padding-top: 16px;
        padding-bottom: 16px;
        font-size: 15px;
    }

    .contact-form-success.contact-success {
        padding: 6px 0 2px;
    }

    .contact-success__title {
        font-size: 16px;
        letter-spacing: 0.04em;
        line-height: 1.35;
        white-space: nowrap;
        margin-bottom: 0.875rem;
    }

    .contact-success__text {
        font-size: 15px;
        line-height: 1.85;
        margin-bottom: 1.375rem;
        text-align: left;
    }

    .contact-success__home {
        width: 100%;
        max-width: 100%;
        min-height: 48px;
    }

    /* Company page */
    .company-page {
        padding-top: 108px;
        padding-bottom: 64px;
    }

    .company-header {
        margin-bottom: 32px;
    }

    .company-eyebrow {
        font-size: 11px;
        letter-spacing: 0.24em;
    }

    .company-title {
        font-size: 24px;
        letter-spacing: 0.1em;
    }

    /* 会社概要：モバイルも2列のまま、表全体をカードで包む */
    .company-table-wrapper {
        border-radius: 12px;
        box-shadow:
            inset 2px 2px 1px rgba(255, 255, 255, 0.65),
            inset -1px -1px 1px rgba(255, 255, 255, 0.4),
            0 4px 22px rgba(31, 56, 76, 0.1);
    }

    .company-table th,
    .company-table td {
        display: table-cell;
        vertical-align: top;
    }

    .company-table th {
        width: 34%;
        min-width: 7.5em;
        padding: 14px 10px 14px 16px;
        font-size: 11px;
        letter-spacing: 0.1em;
        font-weight: 600;
        color: var(--c-text-light);
        background: #f0f6fb;
        border-right: 1px solid var(--c-border);
        border-bottom: 1px solid var(--c-border);
    }

    .company-table td {
        padding: 14px 16px 14px 12px;
        font-size: 14px;
        line-height: 1.75;
        background: var(--c-bg-light);
        border-bottom: 1px solid var(--c-border);
    }

    .company-table tr:last-child th,
    .company-table tr:last-child td {
        border-bottom: none;
    }

    /* Flow page */
    .flow-page {
        padding-top: 108px;
        padding-bottom: 64px;
    }

    /* タイムラインは全幅寄り：横余白は左右対称にしてカードが左に寄って見えないようにする */
    .flow-page .container.flow-page-container {
        width: 100%;
        max-width: none;
        margin-left: 0;
        margin-right: 0;
        padding-left: max(20px, env(safe-area-inset-left));
        padding-right: max(20px, env(safe-area-inset-right));
        box-sizing: border-box;
    }

    .flow-lead-block {
        text-align: left;
        margin-bottom: 28px;
    }

    .flow-visual-wrap {
        padding-top: 8px;
        margin-left: -6px;
        width: calc(100% + 6px);
        max-width: none;
    }

    .flow-visual-item {
        --flow-step-text-size: 10px;
        --flow-step-stack-gap: 4px;
        --flow-step-num-fs: clamp(22px, 7vw, 30px);

        grid-template-columns: minmax(2.75rem, 3.75rem) minmax(0, 1fr);
        gap: 6px 16px;
        margin-bottom: 28px;
    }

    .flow-visual-track {
        max-width: 3.75rem;
    }

    .flow-visual-step-label {
        font-size: 8px;
        letter-spacing: 0.12em;
    }

    .flow-visual-step-num {
        font-size: clamp(22px, 7vw, 30px);
    }

    .flow-visual-track::after {
        min-height: 12px;
    }

    .flow-visual-main {
        gap: 12px;
    }

    .flow-visual-title {
        font-size: 15px;
        line-height: 1.5;
    }

    .flow-visual-card.liquidGlass-wrapper {
        --flow-card-pull: 18px;

        border-radius: 16px;
    }

    .flow-visual-card .liquidGlass-effect {
        filter: none;
    }

    .flow-visual-card-inner {
        padding: 16px 12px 16px var(--flow-card-pull);
    }

    .flow-visual-card-inner p {
        font-size: 14px;
        line-height: 1.75;
    }

    .flow-support-card {
        margin-top: 28px;
    }

    .flow-support-head {
        text-align: center;
    }

    .flow-support-head .company-eyebrow {
        text-align: center;
    }

    .flow-support-heading {
        font-size: 24px;
        line-height: 1.45;
        margin-bottom: 0;
    }

    .flow-support-glass-inner > .flow-support-body:first-of-type {
        margin-top: 16px;
    }

    .flow-support-body {
        text-align: left;
        max-width: none;
        font-size: 15px;
        line-height: 1.85;
        letter-spacing: 0.03em;
    }

    .contact-glass.flow-support-card .flow-support-glass-inner {
        padding: 26px 18px;
    }

    .contact-glass.flow-support-card {
        border-radius: 18px;
        width: 100%;
        max-width: 100%;
        margin-left: auto;
        margin-right: auto;
        box-sizing: border-box;
    }

}