/* ==========================================
   Base & Reset
   ========================================== */
:root {
    --mizuho-blue: #004098;
    --text-color: #333;
    --content-width: 420px;
    --side-nav-width: 80px;
    --frame-width: 25px;
    --frame-radius: 40px;
}

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

body {
    font-family: 'Noto Sans JP', sans-serif;
    color: var(--text-color);
    background-color: #fff;
    overflow-x: hidden;
    height: 100vh;
    width: 100vw;
}

a { text-decoration: none; color: inherit; }
button { background: none; border: none; cursor: pointer; }
img { max-width: 100%; height: auto; }

/* ==========================================
   Layer 1: Background & Frame
   ========================================== */

.bg-container {
    position: fixed;
    top: var(--frame-width);
    left: var(--frame-width);
    right: var(--frame-width);
    bottom: var(--frame-width);
    border-radius: var(--frame-radius);
    overflow: hidden;
    z-index: 0;
    border: 2px solid var(--mizuho-blue);
    background-color: #fff;
}

.bg-slider {
    width: 100%;
    height: 100%;
    position: relative;
}

.bg-slide {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-size: cover;
    background-position: center;
    opacity: 0;
    transition: opacity 1.2s cubic-bezier(0.4, 0, 0.2, 1), transform 1.2s cubic-bezier(0.4, 0, 0.2, 1);
    transform: scale(1.05);
    z-index: 1;
}

.bg-slide.active {
    opacity: 1;
    transform: scale(1);
    z-index: 2;
}

/* 背景画像の上に少し暗くするオーバーレイ */
.bg-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.25);
    pointer-events: none;
    z-index: 3;
}

.logo-area {
    position: fixed;
    top: var(--frame-width);
    left: var(--frame-width);
    background: #fff;
    padding: 20px 40px 20px 20px;
    z-index: 10;
    border-bottom-right-radius: 40px;
    border-right: 2px solid var(--mizuho-blue);
    border-bottom: 2px solid var(--mizuho-blue);
}

.logo-img { width: 160px; display: block; }

.fixed-bottom-left { display: none; }

/* ===== CAMPAIGN CARD ===== */
.cp-card {
    position: fixed;
    bottom: calc(var(--frame-width) + 32px);
    left: calc(var(--frame-width) + 28px);
    z-index: 10;
    width: 230px;
    background: #fff;
    border: 1px solid #e0e6f0;
    border-top: 3px solid var(--mizuho-blue);
    display: flex;
    align-items: stretch;
    gap: 0;
    box-shadow: 0 12px 40px rgba(0, 40, 100, 0.14);
    /* 初期状態 — GSAPで操作 */
    opacity: 0;
    clip-path: inset(0 100% 0 0);
    overflow: hidden;
}

.cp-inner {
    flex: 1;
    padding: 16px 14px 16px 16px;
    min-width: 0;
}

/* 上段ラベル + 横線 */
.cp-top {
    display: flex;
    align-items: center;
    gap: 8px;
    margin-bottom: 10px;
    overflow: hidden;
}

.cp-eyebrow {
    font-size: 8.5px;
    font-weight: 800;
    letter-spacing: 0.16em;
    color: var(--mizuho-blue);
    white-space: nowrap;
    opacity: 0;
    transform: translateY(6px);
}

.cp-rule {
    flex: 1;
    height: 1px;
    background: #c8d6ea;
    transform-origin: left;
    transform: scaleX(0);
}

/* 価格 */
/* Subsidy headline & list */
.cp-subsidy-headline {
    font-size: 17px;
    font-weight: 900;
    color: #1a2f5e;
    line-height: 1.4;
    margin-bottom: 10px;
    letter-spacing: 0.02em;
    opacity: 0;
}
.cp-subsidy-headline em {
    font-style: normal;
    color: var(--mizuho-blue);
    font-size: 20px;
}
.cp-subsidy-list {
    list-style: none;
    padding: 0;
    margin: 0 0 10px;
    display: flex;
    flex-direction: column;
    gap: 4px;
    opacity: 0;
}
.cp-subsidy-list li {
    font-size: 9.5px;
    font-weight: 700;
    color: var(--mizuho-blue);
    background: #eef4ff;
    border-left: 2px solid var(--mizuho-blue);
    padding: 3px 6px;
    border-radius: 0 4px 4px 0;
    letter-spacing: 0.02em;
}

.cp-price-wrap {
    display: flex;
    align-items: baseline;
    gap: 1px;
    line-height: 1;
    margin-bottom: 2px;
    overflow: hidden;
}

.cp-currency {
    font-size: 15px;
    font-weight: 700;
    color: var(--mizuho-blue);
    opacity: 0;
    transform: translateY(14px);
}

.cp-amount {
    font-size: 38px;
    font-weight: 900;
    color: var(--mizuho-blue);
    letter-spacing: -0.02em;
    line-height: 1;
    opacity: 0;
    transform: translateY(14px);
}

.cp-label {
    font-size: 9px;
    font-weight: 800;
    letter-spacing: 0.22em;
    color: #8a9abf;
    margin-bottom: 10px;
    opacity: 0;
    transform: translateY(8px);
}

.cp-divider {
    height: 1px;
    background: #e8eef8;
    margin-bottom: 10px;
    transform-origin: left;
    transform: scaleX(0);
}

.cp-body {
    font-size: 10.5px;
    font-weight: 500;
    color: #4a5a7a;
    line-height: 1.7;
    letter-spacing: 0.02em;
    opacity: 0;
    transform: translateY(8px);
}

/* 右カラム — 商品画像 */
.cp-img-col {
    width: 56px;
    flex-shrink: 0;
    background: #f0f5fb;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 8px 4px;
    opacity: 0;
}

.cp-img {
    width: 100%;
    object-fit: contain;
}

/* SP非表示 */
@media (max-width: 1000px) {
    .cp-card { display: none; }
}

/* 旧バッジ（非表示） */
.today-badge {
    display: none;
    background: #fff;
    border-radius: 50%;
    width: 110px;
    height: 110px;
    justify-content: center;
    align-items: center;
    box-shadow: 0 4px 10px rgba(0,0,0,0.2);
    border: 4px solid var(--mizuho-blue);
    z-index: 2;
    flex-shrink: 0;
    overflow: hidden;
}

.badge-img { display: none; }
.message-bubble { display: none; }
.message-label { display: none; }
.message-text  { display: none; }

/* ==========================================
   Layer 2: Marquee Text (Endless)
   ========================================== */
.marquee-layer {
    position: fixed;
    bottom: 0;
    left: 0;
    width: 100%;
    z-index: 5;
    pointer-events: none;
    clip-path: inset(var(--frame-width) var(--frame-width) var(--frame-width) var(--frame-width) round var(--frame-radius));
    height: 300px;
    overflow: hidden;
}

.marquee-wrapper {
    display: flex;
    width: max-content;
    animation: marquee 30s linear infinite;
    position: absolute;
    bottom: -1vw;
    left: 0;
}

.marquee-content {
    font-size: 16vw;
    font-weight: 900;
    color: var(--mizuho-blue);
    white-space: nowrap;
    line-height: 0.8;
    padding-right: 0.3em;
    opacity: 1;
}

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

/* ==========================================
   Layer 3: Content (Right Side)
   ========================================== */
.content-layer {
    position: absolute;
    top: 0;
    right: calc(var(--side-nav-width) + 120px);
    width: var(--content-width);
    z-index: 20;
    padding-top: 30px;
    padding-bottom: 50px;
}

.main-content {
    background: #fff;
    border-radius: 20px;
    box-shadow: -10px 0 30px rgba(0,0,0,0.1); 
    overflow: hidden;
    min-height: 85vh;
}

/* MV Area - PC用 */
.content-mv { 
    padding: 0; /* パディングをなくして画像を最大化 */
    text-align: center; 
    position: relative;
    background: linear-gradient(135deg, 
        rgba(230, 240, 250, 0.8) 0%, 
        rgba(255, 255, 255, 0.95) 50%,
        rgba(240, 248, 255, 0.8) 100%);
    overflow: visible; /* CTAボタンが見えるように */
}

.content-mv::before {
    content: '';
    position: absolute;
    top: -50%;
    left: -50%;
    width: 200%;
    height: 200%;
    background: radial-gradient(circle at 30% 50%, rgba(0, 64, 152, 0.05) 0%, transparent 50%);
    animation: gradientShift 15s ease-in-out infinite;
    pointer-events: none;
}

@keyframes gradientShift {
    0%, 100% { transform: translate(0, 0) rotate(0deg); }
    50% { transform: translate(10%, 10%) rotate(180deg); }
}
/* MVビジュアル：PC用 - コンテンツエリアいっぱいに表示 */
.mv-visual {
    margin: 0; /* すべてのマージンをなくす */
    overflow: visible; /* CTAボタンが見えるように */
    position: relative;
    width: 100%;
}

.mv-visual::before {
    content: '';
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    width: 90%;
    height: 90%;
    background: radial-gradient(ellipse at center, rgba(0, 64, 152, 0.1) 0%, transparent 70%);
    filter: blur(30px);
    z-index: -1;
    animation: glowPulse 4s ease-in-out infinite;
}

@keyframes glowPulse {
    0%, 100% { opacity: 0.5; transform: translate(-50%, -50%) scale(1); }
    50% { opacity: 0.8; transform: translate(-50%, -50%) scale(1.1); }
}

.mv-visual-img {
    display: block;
    width: 100%;
    height: auto;
    max-width: 100%;
    transform: scale(1); /* PC用も拡大なし */
    transform-origin: center center;
    filter: drop-shadow(0 10px 30px rgba(0, 64, 152, 0.15));
    /* アニメーションなし - transition削除 */
}

.mv-visual-img:hover {
    filter: drop-shadow(0 15px 40px rgba(0, 64, 152, 0.25));
}

/* PC用：テキストコンテナ（回転なし） */
.mv-text {
    position: absolute;
    top: 60px;
    left: -10px; /* さらに左に */
    padding: 0;
    z-index: 10;
    pointer-events: none;
}

/* PC用：キャッチコピーのみ斜めに + 白背景追加 */
.catch-copy { 
    font-size: 12px; 
    color: var(--mizuho-blue); 
    font-weight: 700; 
    margin-bottom: 10px;
    text-shadow: 0 2px 8px rgba(0, 64, 152, 0.15);
    letter-spacing: 0.08em;
    padding: 4px 6px;
    transform: rotate(-8deg);
    transform-origin: left top;
    background: rgba(255, 255, 255, 0.9);
    border-radius: 5px;
    display: block; /* blockに変更して縦並びに */
    width: fit-content; /* 内容に合わせた幅 */
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.1);
}

.catch-copy .highlight-text {
    font-size: 18px;
    color: var(--mizuho-blue);
    font-weight: 900;
    display: inline-block;
    text-shadow: 0 3px 12px rgba(0, 64, 152, 0.3);
    letter-spacing: 0.05em;
}

/* PC用：メインタイトルのみ斜めに + 白背景追加 */
.main-title { 
    font-size: 24px; 
    font-weight: 700; 
    color: var(--mizuho-blue); 
    line-height: 1.4; 
    margin-bottom: 20px;
    text-shadow: 0 2px 12px rgba(0, 64, 152, 0.1);
    position: relative;
    padding: 6px 8px;
    transform: rotate(-8deg);
    transform-origin: left top;
    background: rgba(255, 255, 255, 0.9);
    border-radius: 5px;
    display: block; /* blockに変更して縦並びに */
    width: fit-content; /* 内容に合わせた幅 */
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.1);
}

/* PC用：CTAボタンは斜めにせず、.scroll-downの直前（最下部）に配置 */
.mv-cta { 
    position: absolute;
    bottom: 20px; /* さらに下に */
    left: 50%;
    transform: translateX(-50%) !important; /* 斜めにしない、中央揃えのみ */
    padding: 0;
    pointer-events: auto;
    text-align: center;
    width: auto;
    z-index: 10;
}

.mv-cta .cta-btn { 
    display: inline-block; 
    width: auto; 
    min-width: 260px;
    font-size: 18px;
    font-weight: 700;
    padding: 18px 40px;
    position: relative;
    overflow: hidden;
    transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
}

.mv-cta .cta-primary {
    background: linear-gradient(135deg, var(--mizuho-blue) 0%, #0056cc 100%);
    box-shadow: 0 6px 20px rgba(0, 64, 152, 0.35);
}

.mv-cta .cta-primary::before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg, transparent, rgba(255,255,255,0.3), transparent);
    transition: left 0.6s;
}

.mv-cta .cta-primary:hover::before {
    left: 100%;
}

.mv-cta .cta-primary:hover {
    transform: translateY(-2px);
    box-shadow: 0 8px 30px rgba(0, 64, 152, 0.5);
}

.scroll-down { 
    text-align: center; 
    color: var(--mizuho-blue); 
    padding: 15px 0;
}
.scroll-down span { 
    font-size: 10px; 
    font-weight: 700; 
    display: block;
    text-shadow: 0 1px 4px rgba(0, 64, 152, 0.2);
}
.scroll-down .arrow { 
    width: 8px; 
    height: 8px; 
    border-right: 2px solid var(--mizuho-blue); 
    border-bottom: 2px solid var(--mizuho-blue); 
    transform: rotate(45deg); 
    margin: 0 auto;
    filter: drop-shadow(0 2px 4px rgba(0, 64, 152, 0.3));
}

/* Sections Common */
.content-section { padding: 50px 25px; border-top: 1px solid #f0f0f0; }
/* ── セクション共通ヘッダー ── */
.section-header { text-align: center; margin-bottom: 28px; }

/* アイキャッチラベル（PRODUCT / REASONS / CONTACT 等） */
.section-sub {
    display: block;
    font-size: 10px;
    font-weight: 800;
    color: #aab;
    letter-spacing: 0.18em;
    text-transform: uppercase;
    margin-bottom: 8px;
}

/* セクション見出し h2 */
.section-head {
    font-size: 26px;
    color: var(--mizuho-blue);
    font-weight: 700;
    line-height: 1.35;
    margin-bottom: 6px;
    letter-spacing: -0.01em;
}

/* 和文サブタイトル */
.section-jp {
    font-size: 12px;
    color: var(--mizuho-blue);
    font-weight: 600;
    opacity: 0.7;
}

/* セクション説明文 */
.section-desc {
    font-size: 13px;
    line-height: 1.85;
    color: #555;
    margin-bottom: 28px;
    text-align: center;
}

/* MV h1 */
.mv-h1 {
    font-size: 13px;
    font-weight: 800;
    color: var(--mizuho-blue);
    text-align: center;
    letter-spacing: 0.08em;
    margin: 10px 0 4px;
    line-height: 1.4;
}
.mv-h1-sub {
    font-size: 11px;
    font-weight: 700;
    opacity: 0.7;
    display: inline-block;
    margin-left: 4px;
}

/* sr-only (アクセシビリティ用) */
.sr-only {
    position: absolute;
    width: 1px;
    height: 1px;
    padding: 0;
    margin: -1px;
    overflow: hidden;
    clip: rect(0,0,0,0);
    white-space: nowrap;
    border: 0;
}

/* FV Scroll Indicator — SP only (hidden on PC) */
.mv-scroll-indicator { display: none; }

/* ===== Product Callout (Award redesign) ===== */
.product-callout {
    position: relative;
    margin: 32px 0 0;
    background: linear-gradient(135deg, #001f5c 0%, var(--mizuho-blue) 60%, #0a6ede 100%);
    border-radius: 20px;
    padding: 30px 28px 32px;
    text-align: center;
    overflow: visible;
    box-shadow: 0 12px 40px rgba(0, 40, 120, 0.38);
}

/* 光沢ライン */
.product-callout::before {
    content: '';
    position: absolute;
    inset: 0;
    border-radius: 20px;
    background: linear-gradient(180deg, rgba(255,255,255,0.12) 0%, transparent 55%);
    pointer-events: none;
}

.product-callout-inner {
    position: relative;
    z-index: 1;
}

.product-callout-eyebrow {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    font-size: 10px;
    font-weight: 800;
    letter-spacing: 0.22em;
    color: rgba(255,255,255,0.55);
    margin-bottom: 14px;
}

.product-callout-eyebrow::before,
.product-callout-eyebrow::after {
    content: '';
    display: block;
    width: 24px;
    height: 1px;
    background: rgba(255,255,255,0.35);
}

.product-callout-text {
    font-size: 17px;
    font-weight: 700;
    color: #fff;
    line-height: 1.9;
    margin: 0;
    letter-spacing: 0.02em;
}

.product-callout-text em {
    font-style: normal;
    color: #7dd3fc;
    font-weight: 800;
}

/* 下向きのしっぽ */
.product-callout-tail {
    position: absolute;
    bottom: -13px;
    left: 50%;
    transform: translateX(-50%);
    width: 0;
    height: 0;
    border-left: 13px solid transparent;
    border-right: 13px solid transparent;
    border-top: 13px solid #0a6ede;
}

/* ===== Diagram Scroll ===== */
.diagram-scroll-hint {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 7px;
    font-size: 11px;
    font-weight: 600;
    color: var(--mizuho-blue);
    letter-spacing: 0.08em;
    margin: 26px 0 10px;
}

.diagram-scroll-hint svg {
    color: var(--mizuho-blue);
    animation: diagramArrowPulse 1.3s ease-in-out infinite alternate;
}

.diagram-scroll-hint svg:first-child {
    animation-direction: alternate-reverse;
}

@keyframes diagramArrowPulse {
    from { opacity: 0.35; transform: translateX(0); }
    to   { opacity: 1;    transform: translateX(3px); }
}

.diagram-outer {
    overflow-x: auto;
    -webkit-overflow-scrolling: touch;
    scrollbar-width: none;
    /* コンテンツパディングを打ち消してフル幅に */
    margin: 0 -25px 10px;
    padding: 0 4px;
    -webkit-mask-image: linear-gradient(to right, transparent 0%, #000 28px, #000 calc(100% - 28px), transparent 100%);
    mask-image: linear-gradient(to right, transparent 0%, #000 28px, #000 calc(100% - 28px), transparent 100%);
}

.diagram-outer::-webkit-scrollbar { display: none; }

.diagram-img {
    display: block;
    height: auto;
    min-width: 900px;
    width: 100%;
    border-radius: 0;
}

.diagram-caption {
    text-align: center;
    margin: 18px 0 28px;
    font-size: 13px;
    color: #666;
}

/* PC Intro */
.feature-list { display: flex; flex-direction: column; gap: 16px; margin-bottom: 30px; }

.feature-item {
    display: flex;
    align-items: center;
    gap: 18px;
    padding: 20px 20px 20px 22px;
    background: linear-gradient(135deg, #f7f9fc 0%, #f0f4f9 100%);
    border-radius: 14px;
    border-left: 4px solid var(--mizuho-blue);
    box-shadow: 0 2px 12px rgba(0, 64, 152, 0.07);
    transition: transform 0.25s ease, box-shadow 0.25s ease;
    position: relative;
    overflow: hidden;
}

.feature-item::after {
    content: '';
    position: absolute;
    top: -40%;
    right: 90px;
    width: 160px;
    height: 160px;
    border-radius: 50%;
    background: radial-gradient(circle, rgba(0, 64, 152, 0.04) 0%, transparent 70%);
    pointer-events: none;
}

.feature-item:hover {
    transform: translateY(-2px);
    box-shadow: 0 6px 20px rgba(0, 64, 152, 0.13);
}

.feature-item-text {
    flex: 1;
    min-width: 0;
}

.feature-num {
    font-size: 34px;
    font-weight: 900;
    color: rgba(0, 64, 152, 0.10);
    display: block;
    line-height: 1;
    margin-bottom: 2px;
    letter-spacing: -0.02em;
}

.feature-item h3 {
    font-size: 14px;
    font-weight: 700;
    margin-bottom: 6px;
    color: var(--mizuho-blue);
    line-height: 1.4;
}

.feature-item p {
    font-size: 11px;
    color: #666;
    line-height: 1.6;
}

.feature-item-img {
    flex-shrink: 0;
    width: 110px;
    height: 110px;
    position: relative;
}

.feature-item-img::before {
    content: '';
    position: absolute;
    inset: -5px;
    border-radius: 50%;
    background: linear-gradient(135deg, rgba(0, 64, 152, 0.2) 0%, rgba(0, 86, 204, 0.08) 100%);
    z-index: 0;
}

.feature-item-img img {
    width: 100%;
    height: 100%;
    border-radius: 50%;
    object-fit: cover;
    border: 3px solid #fff;
    box-shadow:
        0 4px 16px rgba(0, 64, 152, 0.18),
        0 0 0 1px rgba(0, 64, 152, 0.10);
    display: block;
    position: relative;
    z-index: 1;
}

.section-cta-wrap { text-align: center; }
.section-cta-wrap .section-cta-btn { min-width: 260px; font-size: 18px; font-weight: 700; padding: 18px 40px; }

/* Use Cases */
.case-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 8px;
}

.case-card {
    position: relative;
    border-radius: 12px;
    overflow: hidden;
    aspect-ratio: 4 / 3;
    cursor: default;
    background: #111;
}

.case-card-img {
    position: absolute;
    inset: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
    transition: transform 0.5s cubic-bezier(0.4, 0, 0.2, 1);
}

.case-card:hover .case-card-img {
    transform: scale(1.07);
}

.case-card-overlay {
    position: absolute;
    inset: 0;
    background: linear-gradient(
        to top,
        rgba(0, 20, 60, 0.78) 0%,
        rgba(0, 20, 60, 0.25) 55%,
        transparent 100%
    );
    transition: opacity 0.4s ease;
}

.case-card:hover .case-card-overlay {
    opacity: 0.9;
}

.case-card-content {
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    padding: 12px 12px 14px;
    display: flex;
    flex-direction: column;
    gap: 3px;
}

.case-card-title {
    font-size: 13px;
    font-weight: 700;
    color: #fff;
    letter-spacing: 0.04em;
    line-height: 1.2;
    text-shadow: 0 1px 4px rgba(0,0,0,0.4);
}

.case-card-sub {
    font-size: 10px;
    color: rgba(255, 255, 255, 0.80);
    font-weight: 500;
    letter-spacing: 0.02em;
    text-shadow: 0 1px 3px rgba(0,0,0,0.4);
}

/* Featured case cards (house / apartment) */
.case-card--featured {
    outline: 2.5px solid rgba(125, 211, 252, 0.85);
    outline-offset: -2px;
    box-shadow: 0 0 0 0 rgba(125, 211, 252, 0.5);
    animation: featuredCardGlow 2.4s ease-in-out infinite;
}

@keyframes featuredCardGlow {
    0%, 100% { box-shadow: 0 0 0 0 rgba(125, 211, 252, 0); }
    50%       { box-shadow: 0 0 0 6px rgba(125, 211, 252, 0.28); }
}


/* Pain Points */
#target_pain_points { background: var(--mizuho-blue); color: #fff; }
#target_pain_points .section-head,
#target_pain_points .section-jp { color: #fff; }

.pain-list {
    display: flex;
    flex-direction: column;
    gap: 10px;
    margin-bottom: 28px;
}

.pain-item {
    position: relative;
    border-radius: 14px;
    overflow: hidden;
    aspect-ratio: 16 / 7;
    background: #001a3d;
}

.pain-item-img {
    position: absolute;
    inset: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
    transition: transform 0.55s cubic-bezier(0.4, 0, 0.2, 1);
}

.pain-item:hover .pain-item-img {
    transform: scale(1.06);
}

.pain-item-overlay {
    position: absolute;
    inset: 0;
    background: linear-gradient(
        105deg,
        rgba(0, 10, 50, 0.80) 0%,
        rgba(0, 10, 50, 0.45) 55%,
        rgba(0, 10, 50, 0.10) 100%
    );
}

.pain-item-content {
    position: absolute;
    inset: 0;
    display: flex;
    align-items: center;
    padding: 0 22px;
    gap: 14px;
}

.pain-item-num {
    font-size: 48px;
    font-weight: 900;
    color: rgba(255, 255, 255, 0.12);
    line-height: 1;
    flex-shrink: 0;
    letter-spacing: -0.03em;
}

.pain-item-text {
    font-size: 15px;
    font-weight: 700;
    color: #fff;
    line-height: 1.6;
    text-shadow: 0 2px 10px rgba(0, 0, 0, 0.5);
}

/* Pain → Solution bridge */
.pain-solve-wrap {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 0;
    margin-top: 36px;
}

.pain-solve-arrows {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 4px;
    margin-bottom: 20px;
}

.pain-solve-chevron {
    display: block;
    width: 32px;
    height: 32px;
    border-right: 4px solid rgba(255, 255, 255, 0.9);
    border-bottom: 4px solid rgba(255, 255, 255, 0.9);
    transform: rotate(45deg);
    opacity: 0;
    animation: painChevron 1.6s ease-in-out infinite;
}

.pain-solve-chevron:nth-child(1) { animation-delay: 0s; }
.pain-solve-chevron:nth-child(2) { animation-delay: 0.22s; }
.pain-solve-chevron:nth-child(3) { animation-delay: 0.44s; }

@keyframes painChevron {
    0%   { opacity: 0; transform: rotate(45deg) translate(-6px, -6px); }
    40%  { opacity: 1; }
    80%  { opacity: 0; transform: rotate(45deg) translate(6px, 6px); }
    100% { opacity: 0; }
}

.solution-bridge {
    text-align: center;
    background: linear-gradient(135deg, var(--mizuho-blue) 0%, #0057cc 100%);
    color: #fff;
    padding: 28px 32px;
    border-radius: 16px;
    font-size: 18px;
    font-weight: 800;
    line-height: 1.7;
    letter-spacing: 0.04em;
    box-shadow: 0 8px 32px rgba(0, 64, 153, 0.35);
    width: 100%;
    max-width: 460px;
}

.solution-bridge strong {
    font-size: 1.15em;
    color: #7dd3fc;
}

/* Reasons */
.reason-summary-list {
    display: grid;
    grid-template-columns: 1fr;
    gap: 12px;
}

.reason-item {
    position: relative;
    border-radius: 16px;
    overflow: hidden;
    aspect-ratio: 16 / 6;
    background: #001230;
}

.reason-item-img {
    position: absolute;
    inset: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
    transition: transform 0.55s cubic-bezier(0.4, 0, 0.2, 1);
}

.reason-item:hover .reason-item-img {
    transform: scale(1.05);
}

.reason-item-overlay {
    position: absolute;
    inset: 0;
    background: linear-gradient(
        100deg,
        rgba(0, 8, 40, 0.62) 0%,
        rgba(0, 8, 40, 0.28) 60%,
        rgba(0, 8, 40, 0.05) 100%
    );
}

.reason-item-content {
    position: absolute;
    inset: 0;
    display: flex;
    align-items: center;
    gap: 14px;
    padding: 0 26px;
}

.reason-num {
    font-size: 54px;
    font-weight: 900;
    color: #fff;
    line-height: 1;
    flex-shrink: 0;
    letter-spacing: -0.03em;
    text-shadow: 0 2px 12px rgba(0, 0, 0, 0.45);
}

.reason-item h3 {
    font-size: 17px;
    font-weight: 700;
    color: #fff;
    letter-spacing: 0.04em;
    text-shadow: 0 2px 12px rgba(0, 0, 0, 0.45);
    line-height: 1.4;
}

.reason-header { display: flex; align-items: center; gap: 10px; margin-bottom: 20px; }
.reason-badge { background: var(--mizuho-blue); color: #fff; padding: 5px 10px; border-radius: 20px; font-size: 10px; font-weight: 700; white-space: nowrap; }
/* Market Graph */
.market-graph-wrap {
    background: linear-gradient(135deg, #f5f8fd 0%, #eef3fb 100%);
    border-radius: 16px;
    padding: 18px 14px 14px;
    margin-bottom: 25px;
    border: 1px solid rgba(0, 64, 152, 0.08);
}

.mg-header {
    display: flex;
    gap: 18px;
    margin-bottom: 10px;
}

.mg-legend {
    display: flex;
    align-items: center;
    gap: 6px;
    font-size: 10px;
    color: #555;
    font-weight: 500;
}

.mg-legend-bar {
    width: 12px;
    height: 11px;
    background: linear-gradient(180deg, #2a7fff, #004098);
    border-radius: 2px;
    display: inline-block;
    flex-shrink: 0;
}

.mg-legend-line {
    width: 18px;
    height: 2.5px;
    background: #00c9e4;
    border-radius: 2px;
    display: inline-block;
    position: relative;
    flex-shrink: 0;
}

.mg-legend-line::after {
    content: '';
    position: absolute;
    right: -1px;
    top: 50%;
    transform: translateY(-50%);
    width: 7px;
    height: 7px;
    background: #00c9e4;
    border-radius: 50%;
    border: 1.5px solid #fff;
}

.mg-svg-container {
    width: 100%;
    overflow: visible;
}

.mg-svg-container svg {
    width: 100%;
    height: auto;
    display: block;
    overflow: visible;
}

.mg-stats {
    display: flex;
    align-items: center;
    margin-top: 14px;
    background: #fff;
    border-radius: 12px;
    padding: 14px 0;
    border: 1px solid rgba(0, 64, 152, 0.08);
    box-shadow: 0 2px 10px rgba(0, 64, 152, 0.06);
}

.mg-stat {
    flex: 1;
    text-align: center;
}

.mg-stat-value {
    font-size: 22px;
    font-weight: 900;
    color: var(--mizuho-blue);
    line-height: 1.1;
    letter-spacing: -0.02em;
}

.mg-stat-unit {
    font-size: 12px;
    font-weight: 700;
    margin-left: 2px;
    vertical-align: baseline;
}

.mg-stat-detail {
    font-size: 9.5px;
    color: #999;
    margin-top: 3px;
    letter-spacing: 0.02em;
}

.mg-stat-sep {
    width: 1px;
    height: 40px;
    background: rgba(0, 64, 152, 0.10);
}

/* Comparison Table */
.cmp-outer {
    overflow-x: auto;
    margin-bottom: 25px;
    -webkit-overflow-scrolling: touch;
    scrollbar-width: none;
    /* フェードエッジで横スクロールをほのめかす */
    -webkit-mask-image: linear-gradient(to right, transparent 0%, #000 16px, #000 calc(100% - 16px), transparent 100%);
    mask-image: linear-gradient(to right, transparent 0%, #000 16px, #000 calc(100% - 16px), transparent 100%);
}

.cmp-outer::-webkit-scrollbar { display: none; }

.cmp-scroll-hint {
    text-align: center;
    font-size: 11px;
    color: #999;
    margin-bottom: 10px;
    letter-spacing: 0.05em;
}

.cmp-wrap {
    border-radius: 16px;
    overflow: hidden;
    box-shadow: 0 6px 28px rgba(0, 64, 152, 0.12);
    /* 横スクロール前提の固定幅 */
    min-width: 520px;
}

.cmp-table {
    width: 100%;
    border-collapse: collapse;
    table-layout: fixed;
}

.cmp-col-label  { width: 80px; }
.cmp-col-best   { width: 140px; }
.cmp-col-other  { width: 100px; }

/* Header */
.cmp-th-label {
    background: #eef3fb;
    padding: 12px 8px;
    text-align: center;
    vertical-align: bottom;
    border-right: 1px solid rgba(0,64,152,0.08);
}

.cmp-th-label-text {
    font-size: 10px;
    font-weight: 600;
    color: #999;
    line-height: 1.5;
}

.cmp-th-best {
    background: linear-gradient(160deg, #003580 0%, #0056cc 100%);
    padding: 16px 10px 14px;
    text-align: center;
    vertical-align: bottom;
    position: relative;
}

.cmp-th-best::after {
    content: '';
    position: absolute;
    bottom: 0; left: 0; right: 0;
    height: 3px;
    background: linear-gradient(90deg, #4dd0ff, #fff, #4dd0ff);
    opacity: 0.6;
}

.cmp-th-other {
    background: #f7f9fd;
    padding: 14px 8px 12px;
    text-align: center;
    vertical-align: bottom;
    border-left: 1px solid rgba(0,64,152,0.08);
    border-bottom: 2px solid rgba(0,64,152,0.10);
}

.cmp-no1-badge {
    display: inline-block;
    background: linear-gradient(135deg, #FFD700, #FFA500);
    color: #4a2800;
    font-size: 10px;
    font-weight: 900;
    padding: 3px 12px;
    border-radius: 20px;
    margin-bottom: 8px;
    letter-spacing: 0.05em;
    box-shadow: 0 2px 6px rgba(255,180,0,0.4);
}

.cmp-img-wrap {
    width: 72px;
    height: 72px;
    margin: 0 auto 8px;
    background: #fff;
    border-radius: 12px;
    overflow: visible;
    display: flex;
    align-items: center;
    position: relative;
    /* 回転グラデーション枠 */
    padding: 3px;
    background: linear-gradient(white, white) padding-box,
                conic-gradient(from var(--angle, 0deg), #004099, #7dd3fc, #004099) border-box;
    border: 3px solid transparent;
    animation: cmpImgRotate 3s linear infinite;
    justify-content: center;
    box-shadow: 0 2px 8px rgba(0,0,0,0.15);
}

.cmp-product-img {
    width: 100%;
    height: 100%;
    object-fit: contain;
    display: block;
}

@property --angle {
    syntax: '<angle>';
    initial-value: 0deg;
    inherits: false;
}

@keyframes cmpImgRotate {
    to { --angle: 360deg; }
}

/* Competitor icon */
.cmp-other-icon-wrap {
    width: 60px;
    height: 60px;
    margin: 0 auto 8px;
    background: #e8edf5;
    border-radius: 12px;
    display: flex;
    align-items: center;
    justify-content: center;
}

.cmp-nozzle-svg {
    width: 38px;
    height: 38px;
    display: block;
    fill: #a0afc8;
}

.cmp-name-best {
    display: block;
    font-size: 13px;
    font-weight: 700;
    color: #fff;
    letter-spacing: 0.03em;
}

.cmp-name-other {
    display: block;
    font-size: 13px;
    font-weight: 700;
    color: #666;
    line-height: 1.4;
}

/* Body */
.cmp-table tbody tr:nth-child(odd) .cmp-row-label,
.cmp-table tbody tr:nth-child(odd) td {
    background: #fff;
}

.cmp-table tbody tr:nth-child(even) .cmp-row-label,
.cmp-table tbody tr:nth-child(even) td {
    background: #f7f9fd;
}

.cmp-table tbody tr:last-child .cmp-row-label,
.cmp-table tbody tr:last-child td {
    border-bottom: none;
}

.cmp-row-label {
    font-size: 11px;
    font-weight: 700;
    color: var(--mizuho-blue);
    text-align: center;
    padding: 18px 6px;
    line-height: 1.5;
    border-bottom: 1px solid rgba(0,64,152,0.06);
    border-right: 1px solid rgba(0,64,152,0.08);
}

.cmp-table tbody td {
    text-align: center;
    padding: 18px 8px;
    border-bottom: 1px solid rgba(0,64,152,0.06);
    border-left: 1px solid rgba(0,64,152,0.06);
}

.cmp-best-cell {
    background: linear-gradient(160deg, rgba(0,64,152,0.08) 0%, rgba(0,86,204,0.04) 100%) !important;
    border-left: none !important;
    position: relative;
}

.cmp-best-cell::before {
    content: '';
    position: absolute;
    top: 0; bottom: 0; left: 0;
    width: 3px;
    background: linear-gradient(180deg, #0056cc, #004098);
}

/* Icons */
.cmp-icon {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 36px;
    height: 36px;
    border-radius: 50%;
    font-size: 16px;
    font-weight: 900;
    line-height: 1;
}

.cmp-best {
    background: linear-gradient(135deg, #004098, #0056cc);
    color: #fff;
    box-shadow: 0 3px 10px rgba(0,64,152,0.35);
    font-size: 16px;
}

.cmp-good {
    background: rgba(0, 130, 80, 0.10);
    color: #007850;
    border: 1.5px solid rgba(0,130,80,0.25);
}

.cmp-cross {
    background: rgba(200, 30, 30, 0.08);
    color: #cc1a1a;
    border: 1.5px solid rgba(200,30,30,0.2);
}

.cmp-tri {
    background: rgba(195, 120, 0, 0.08);
    color: #b06000;
    border: 1.5px solid rgba(195,120,0,0.2);
    font-size: 14px;
}

/* Year badges */
.cmp-year {
    display: inline-block;
    font-size: 13px;
    font-weight: 700;
    padding: 5px 12px;
    border-radius: 20px;
}

.cmp-year-best {
    background: linear-gradient(135deg, #004098, #0056cc);
    color: #fff;
    box-shadow: 0 3px 10px rgba(0,64,152,0.3);
}

.cmp-year-bad {
    color: #cc1a1a;
    background: rgba(200,30,30,0.07);
    border: 1.5px solid rgba(200,30,30,0.18);
}

.cmp-year-ok {
    color: #555;
    background: rgba(0,64,152,0.06);
    border: 1.5px solid rgba(0,64,152,0.15);
}

/* Stats & Support */
.stats-box { background: #f0f7ff; padding: 20px; border-radius: 10px; text-align: center; margin-bottom: 20px; }
.stats-box p { font-size: 12px; margin-bottom: 5px; }
.stats-box strong { font-size: 18px; color: var(--mizuho-blue); }

/* Support List with Images */
.support-list {
    display: flex;
    flex-direction: column;
    gap: 10px;
    margin-bottom: 22px;
}

.support-item {
    display: flex;
    align-items: center;
    gap: 0;
    background: linear-gradient(135deg, #f7f9fc 0%, #eef3fb 100%);
    border-radius: 12px;
    overflow: hidden;
    border-left: 4px solid var(--mizuho-blue);
    box-shadow: 0 2px 10px rgba(0, 64, 152, 0.07);
    transition: transform 0.25s ease, box-shadow 0.25s ease;
}

.support-item:hover {
    transform: translateY(-2px);
    box-shadow: 0 5px 18px rgba(0, 64, 152, 0.13);
}

.support-item-img-wrap {
    width: 86px;
    height: 86px;
    flex-shrink: 0;
    overflow: hidden;
    background: #eef3fb;
    display: flex;
    align-items: center;
    justify-content: center;
}

.support-item-img {
    width: 100%;
    height: 100%;
    object-fit: contain;
    display: block;
    padding: 6px;
}

.support-item-text {
    flex: 1;
    padding: 0 16px;
}

.support-item-label {
    display: block;
    font-size: 9px;
    font-weight: 700;
    color: rgba(0, 64, 152, 0.45);
    letter-spacing: 0.08em;
    margin-bottom: 4px;
}

.support-item-text h4 {
    font-size: 13px;
    font-weight: 700;
    color: var(--mizuho-blue);
    line-height: 1.4;
}

/* Merit Box */
.merit-box {
    display: flex;
    justify-content: space-around;
    align-items: flex-start;
    gap: 8px;
    padding: 18px 10px 10px;
    background: linear-gradient(135deg, #f0f4fb 0%, #e8eef8 100%);
    border-radius: 14px;
    border: 1px solid rgba(0, 64, 152, 0.10);
}

.merit-item {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 8px;
    flex: 1;
}

.merit-text {
    font-size: 12px;
    font-weight: 700;
    color: var(--mizuho-blue);
    letter-spacing: 0.04em;
    text-align: center;
}

.merit-icon {
    width: 52px;
    height: 52px;
    object-fit: contain;
    display: block;
}

/* merit-icon scroll animation */
.merit-icon--anim {
    opacity: 0;
    transform: translateX(-28px) scale(0.8);
    transition: opacity 0.55s ease, transform 0.55s cubic-bezier(0.34, 1.56, 0.64, 1);
}
.merit-icon--anim.is-visible {
    opacity: 1;
    transform: translateX(0) scale(1);
}

/* Comparison → Lineup anchor */
.cmp-lineup-link-wrap {
    display: flex;
    justify-content: center;
    margin-top: 20px;
}

.cmp-lineup-link {
    display: inline-flex;
    align-items: center;
    gap: 7px;
    font-size: 12px;
    font-weight: 700;
    color: var(--mizuho-blue);
    letter-spacing: 0.05em;
    border: 1.5px solid rgba(0, 64, 153, 0.3);
    border-radius: 50px;
    padding: 10px 20px;
    text-decoration: none;
    transition: all 0.22s ease;
    background: rgba(0, 64, 153, 0.03);
}

.cmp-lineup-link:hover {
    background: var(--mizuho-blue);
    color: #fff;
    border-color: var(--mizuho-blue);
    box-shadow: 0 4px 16px rgba(0, 64, 153, 0.28);
}

.cmp-lineup-link svg {
    transition: transform 0.22s ease;
}

.cmp-lineup-link:hover svg {
    transform: translateX(4px);
}

/* Lineup custom note */
.lineup-custom-note {
    margin-top: 24px;
    border-radius: 16px;
    background: linear-gradient(135deg, #001f5c 0%, #004099 100%);
    padding: 2px;
    box-shadow: 0 8px 32px rgba(0, 40, 120, 0.28);
}

.lineup-custom-note-inner {
    background: #f0f5ff;
    border-radius: 14px;
    padding: 22px 22px 24px;
    position: relative;
}

.lineup-custom-note-label {
    display: inline-flex;
    align-items: center;
    gap: 7px;
    font-size: 9px;
    font-weight: 800;
    letter-spacing: 0.2em;
    color: var(--mizuho-blue);
    opacity: 0.6;
    margin-bottom: 10px;
}

.lineup-custom-note-label::before,
.lineup-custom-note-label::after {
    content: '';
    display: block;
    width: 18px;
    height: 1px;
    background: currentColor;
}

.lineup-custom-note-text {
    font-size: 13px;
    line-height: 1.85;
    color: #1a2f5e;
    font-weight: 500;
    margin: 0;
}

/* Reason 3 Detail */
.r3-lead {
    font-size: 13px;
    font-weight: 700;
    color: var(--mizuho-blue);
    line-height: 1.7;
    text-align: center;
    margin-bottom: 22px;
    padding: 14px 16px;
    background: linear-gradient(135deg, #eef3fb, #e4edf9);
    border-radius: 10px;
    border-left: 4px solid var(--mizuho-blue);
}

.r3-list {
    display: flex;
    flex-direction: column;
    gap: 14px;
}

.r3-card {
    background: #fff;
    border-radius: 14px;
    border: 1px solid rgba(0, 64, 152, 0.10);
    overflow: hidden;
    box-shadow: 0 3px 14px rgba(0, 64, 152, 0.07);
    transition: transform 0.25s ease, box-shadow 0.25s ease;
}

.r3-card:hover {
    transform: translateY(-2px);
    box-shadow: 0 7px 22px rgba(0, 64, 152, 0.13);
}

.r3-card-head {
    display: flex;
    align-items: center;
    gap: 14px;
    padding: 16px 16px 12px;
    background: linear-gradient(135deg, #f5f8fd 0%, #eef3fb 100%);
    border-bottom: 1px solid rgba(0, 64, 152, 0.07);
}

.r3-icon-wrap {
    width: 64px;
    height: 64px;
    flex-shrink: 0;
    background: var(--mizuho-blue);
    border-radius: 14px;
    display: flex;
    align-items: center;
    justify-content: center;
    box-shadow: 0 4px 12px rgba(0, 64, 152, 0.25);
    padding: 10px;
}

.r3-icon {
    width: 100%;
    height: 100%;
    object-fit: contain;
    display: block;
}

.r3-card-title-wrap {
    flex: 1;
    min-width: 0;
}

.r3-tag {
    display: inline-block;
    font-size: 9px;
    font-weight: 700;
    color: rgba(0, 64, 152, 0.6);
    letter-spacing: 0.06em;
    background: rgba(0, 64, 152, 0.07);
    padding: 2px 8px;
    border-radius: 20px;
    margin-bottom: 5px;
}

.r3-title {
    font-size: 14px;
    font-weight: 700;
    color: var(--mizuho-blue);
    line-height: 1.3;
    margin: 0;
}

.r3-desc {
    font-size: 11.5px;
    color: #555;
    line-height: 1.75;
    padding: 12px 16px 14px;
    margin: 0;
}

.support-menu { display: grid; grid-template-columns: 1fr; gap: 15px; }
.menu-item { border: 1px solid #eee; padding: 15px; border-radius: 8px; text-align: center; }
.menu-item h4 { color: var(--mizuho-blue); margin-bottom: 5px; }

/* Testimonials */
.voice-list {
    display: flex;
    flex-direction: column;
    gap: 16px;
}

.voice-card {
    background: #fff;
    border-radius: 16px;
    padding: 26px 20px 18px;
    border: 1px solid rgba(0, 64, 152, 0.09);
    box-shadow: 0 4px 20px rgba(0, 64, 152, 0.07);
    position: relative;
    overflow: hidden;
    transition: transform 0.25s ease, box-shadow 0.25s ease;
}

.voice-card:hover {
    transform: translateY(-2px);
    box-shadow: 0 8px 28px rgba(0, 64, 152, 0.12);
}

.voice-card::before {
    content: '\201C';
    position: absolute;
    top: 6px;
    left: 14px;
    font-size: 64px;
    font-family: Georgia, 'Times New Roman', serif;
    color: rgba(0, 64, 152, 0.10);
    line-height: 1;
    font-weight: 700;
    pointer-events: none;
}

.voice-card::after {
    content: '';
    position: absolute;
    top: 0;
    right: 0;
    width: 80px;
    height: 80px;
    background: radial-gradient(circle at top right, rgba(0, 64, 152, 0.05), transparent 70%);
    pointer-events: none;
}

.voice-text {
    font-size: 13px;
    line-height: 1.85;
    color: #333;
    padding-top: 14px;
    margin-bottom: 18px;
    position: relative;
    z-index: 1;
}

.voice-footer {
    display: flex;
    align-items: center;
    gap: 12px;
    padding-top: 14px;
    border-top: 1px solid rgba(0, 64, 152, 0.08);
}

.voice-icon-wrap {
    width: 42px;
    height: 42px;
    border-radius: 50%;
    overflow: hidden;
    border: 2px solid rgba(0, 64, 152, 0.20);
    flex-shrink: 0;
    background: rgba(0, 64, 152, 0.05);
    display: flex;
    align-items: center;
    justify-content: center;
}

.voice-icon-img {
    width: 72%;
    height: 72%;
    object-fit: contain;
    display: block;
    margin: auto;
}

.voice-meta {
    flex: 1;
}

.voice-name {
    display: block;
    font-size: 12px;
    font-weight: 700;
    color: var(--mizuho-blue);
    letter-spacing: 0.03em;
}

/* Flow */
.flow-tabs {
    display: flex;
    gap: 6px;
    background: #eef3fb;
    border-radius: 14px;
    padding: 5px;
    margin-bottom: 20px;
}

.flow-tab {
    flex: 1;
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 4px;
    padding: 12px 6px;
    border-radius: 10px;
    border: none;
    background: transparent;
    cursor: pointer;
    transition: all 0.28s cubic-bezier(0.4, 0, 0.2, 1);
    color: #888;
}

.flow-tab.active {
    background: var(--mizuho-blue);
    box-shadow: 0 4px 14px rgba(0, 64, 152, 0.28);
    color: #fff;
}

.flow-tab-icon-img {
    width: 26px;
    height: 26px;
    object-fit: contain;
    display: block;
    opacity: 0.45;
    transition: opacity 0.28s ease, filter 0.28s ease;
    filter: invert(28%) sepia(62%) saturate(600%) hue-rotate(195deg) brightness(80%);
}

.flow-tab.active .flow-tab-icon-img {
    opacity: 1;
    filter: brightness(0) invert(1);
}

.flow-tab-label {
    font-size: 11px;
    font-weight: 700;
    line-height: 1.5;
    text-align: center;
}

.flow-panel {
    display: none;
}

.flow-panel.active {
    display: block;
    animation: flowFadeUp 0.35s ease forwards;
}

@keyframes flowFadeUp {
    from { opacity: 0; transform: translateY(8px); }
    to   { opacity: 1; transform: translateY(0); }
}

.flow-panel-subtitle {
    font-size: 10.5px;
    font-weight: 700;
    color: rgba(0, 64, 152, 0.55);
    text-align: center;
    letter-spacing: 0.04em;
    margin-bottom: 18px;
    padding: 8px 12px;
    background: rgba(0, 64, 152, 0.05);
    border-radius: 8px;
}

.flow-steps {
    display: flex;
    flex-direction: column;
}

.flow-step {
    display: flex;
    gap: 16px;
    align-items: flex-start;
}

.flow-step-left {
    display: flex;
    flex-direction: column;
    align-items: center;
    flex-shrink: 0;
    width: 34px;
}

.flow-step-num {
    width: 34px;
    height: 34px;
    border-radius: 50%;
    background: linear-gradient(135deg, #004098, #0056cc);
    color: #fff;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 11px;
    font-weight: 900;
    box-shadow: 0 3px 10px rgba(0, 64, 152, 0.30);
    flex-shrink: 0;
    position: relative;
    z-index: 1;
    letter-spacing: 0.02em;
}

.flow-step-line {
    flex: 1;
    width: 2px;
    min-height: 18px;
    background: linear-gradient(180deg, rgba(0,64,152,0.35) 0%, rgba(0,64,152,0.08) 100%);
    margin: 4px 0;
}

.flow-step:last-child .flow-step-line {
    display: none;
}

.flow-step-body {
    flex: 1;
    padding-bottom: 18px;
    padding-top: 4px;
    background: #fff;
    border-radius: 12px;
    padding: 12px 14px 14px;
    margin-bottom: 6px;
    border: 1px solid rgba(0, 64, 152, 0.08);
    box-shadow: 0 2px 8px rgba(0, 64, 152, 0.05);
    position: relative;
}

.flow-step-body::before {
    content: '';
    position: absolute;
    left: -6px;
    top: 11px;
    width: 10px;
    height: 10px;
    background: #fff;
    border-left: 1px solid rgba(0, 64, 152, 0.08);
    border-bottom: 1px solid rgba(0, 64, 152, 0.08);
    transform: rotate(45deg);
}

.flow-step-body h4 {
    font-size: 13px;
    font-weight: 700;
    color: var(--mizuho-blue);
    margin-bottom: 5px;
    line-height: 1.3;
}

.flow-step-body p {
    font-size: 11.5px;
    color: #666;
    line-height: 1.7;
    margin: 0;
}

/* Lineup */
.lineup-hint {
    text-align: center;
    font-size: 10px;
    font-weight: 600;
    color: rgba(0, 64, 152, 0.45);
    letter-spacing: 0.06em;
    margin-bottom: 14px;
}

.lineup-scroll {
    display: flex;
    gap: 14px;
    overflow-x: auto;
    scroll-snap-type: x mandatory;
    -webkit-overflow-scrolling: touch;
    scrollbar-width: none;
    padding-bottom: 8px;
    margin: 0 -4px;
    padding: 4px 4px 12px;
}

.lineup-scroll::-webkit-scrollbar {
    display: none;
}

.lineup-card {
    min-width: 248px;
    max-width: 248px;
    flex-shrink: 0;
    border-radius: 16px;
    overflow: hidden;
    border: 1px solid rgba(0, 64, 152, 0.10);
    box-shadow: 0 5px 22px rgba(0, 64, 152, 0.09);
    background: #fff;
    scroll-snap-align: start;
    display: flex;
    flex-direction: column;
}

.lineup-img-wrap {
    background: linear-gradient(135deg, #eef4ff 0%, #e4eefb 100%);
    display: flex;
    align-items: center;
    justify-content: center;
    height: 160px;
    padding: 16px;
}

.lineup-img {
    max-height: 128px;
    max-width: 100%;
    object-fit: contain;
    display: block;
    filter: drop-shadow(0 4px 12px rgba(0, 64, 152, 0.12));
}

.lineup-card-head {
    background: linear-gradient(135deg, #003580 0%, #0056cc 100%);
    padding: 12px 16px 13px;
}

.lineup-series {
    display: block;
    font-size: 9px;
    font-weight: 700;
    color: rgba(255, 255, 255, 0.60);
    letter-spacing: 0.10em;
    margin-bottom: 3px;
    text-transform: uppercase;
}

.lineup-name {
    font-size: 16px;
    font-weight: 700;
    color: #fff;
    letter-spacing: 0.02em;
    line-height: 1.2;
}

.lineup-specs {
    padding: 12px 16px 8px;
    display: flex;
    flex-direction: column;
    flex: 1;
}

.lineup-spec-row {
    display: flex;
    align-items: flex-start;
    gap: 8px;
    padding: 7px 0;
    border-bottom: 1px solid rgba(0, 64, 152, 0.06);
}

.lineup-spec-row:last-child {
    border-bottom: none;
}

.lineup-spec-row dt {
    font-size: 9px;
    font-weight: 700;
    color: rgba(0, 64, 152, 0.50);
    letter-spacing: 0.04em;
    flex-shrink: 0;
    width: 54px;
    padding-top: 2px;
    line-height: 1.4;
}

.lineup-spec-row dd {
    font-size: 11px;
    color: #333;
    line-height: 1.55;
    flex: 1;
}

.lineup-price {
    margin: 8px 16px 16px;
    background: linear-gradient(135deg, #004098, #0056cc);
    border-radius: 8px;
    padding: 10px 14px;
    text-align: center;
    font-size: 11px;
    font-weight: 700;
    color: #fff;
    letter-spacing: 0.03em;
    box-shadow: 0 3px 10px rgba(0, 64, 152, 0.22);
}

/* Lineup 40A new badge */
.lineup-card--new {
    outline: 2px solid rgba(125, 211, 252, 0.7);
    outline-offset: -2px;
    position: relative;
    animation: lineupNewGlow 2.6s ease-in-out infinite;
}

@keyframes lineupNewGlow {
    0%, 100% { box-shadow: 0 0 0 0 rgba(125, 211, 252, 0); }
    50%       { box-shadow: 0 0 0 6px rgba(125, 211, 252, 0.25); }
}


/* FAQ */
.faq-tabs {
    display: flex;
    gap: 6px;
    background: #eef3fb;
    border-radius: 14px;
    padding: 5px;
    margin-bottom: 20px;
}

.faq-tab {
    flex: 1;
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 4px;
    padding: 12px 6px;
    border-radius: 10px;
    border: none;
    background: transparent;
    cursor: pointer;
    transition: all 0.28s cubic-bezier(0.4, 0, 0.2, 1);
    color: #888;
}

.faq-tab.active {
    background: var(--mizuho-blue);
    box-shadow: 0 4px 14px rgba(0, 64, 152, 0.28);
    color: #fff;
}

.faq-tab-icon-img {
    width: 26px;
    height: 26px;
    object-fit: contain;
    display: block;
    opacity: 0.45;
    transition: opacity 0.28s ease, filter 0.28s ease;
    filter: invert(28%) sepia(62%) saturate(600%) hue-rotate(195deg) brightness(80%);
}

.faq-tab.active .faq-tab-icon-img {
    opacity: 1;
    filter: brightness(0) invert(1);
}

.faq-tab-label {
    font-size: 11px;
    font-weight: 700;
    line-height: 1.5;
    text-align: center;
}

.faq-panel { display: none; }

.faq-panel.active {
    display: block;
    animation: flowFadeUp 0.35s ease forwards;
}

.faq-panel-desc {
    font-size: 11px;
    color: #888;
    text-align: center;
    letter-spacing: 0.02em;
    margin-bottom: 16px;
    padding: 8px 12px;
    background: rgba(0, 64, 152, 0.04);
    border-radius: 8px;
}

.faq-list {
    display: flex;
    flex-direction: column;
    gap: 10px;
}

.faq-item {
    border-radius: 12px;
    border: 1px solid rgba(0, 64, 152, 0.10);
    overflow: hidden;
    box-shadow: 0 2px 10px rgba(0, 64, 152, 0.05);
    background: #fff;
}

.faq-q {
    width: 100%;
    display: flex;
    align-items: center;
    gap: 12px;
    padding: 15px 16px;
    background: #fff;
    border: none;
    cursor: pointer;
    text-align: left;
    transition: background 0.2s ease;
}

.faq-q:hover { background: #f7f9fd; }

.faq-item.is-open .faq-q { background: #f0f5ff; }

.faq-q-badge {
    width: 26px;
    height: 26px;
    border-radius: 50%;
    background: linear-gradient(135deg, #004098, #0056cc);
    color: #fff;
    font-size: 12px;
    font-weight: 900;
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
    box-shadow: 0 2px 8px rgba(0, 64, 152, 0.28);
}

.faq-q-text {
    flex: 1;
    font-size: 13px;
    font-weight: 700;
    color: var(--mizuho-blue);
    line-height: 1.45;
}

.faq-chevron {
    width: 18px;
    height: 18px;
    border-radius: 50%;
    background: rgba(0, 64, 152, 0.08);
    flex-shrink: 0;
    position: relative;
    transition: transform 0.3s ease, background 0.2s ease;
}

.faq-chevron::before,
.faq-chevron::after {
    content: '';
    position: absolute;
    top: 50%;
    left: 50%;
    width: 6px;
    height: 1.5px;
    background: var(--mizuho-blue);
    border-radius: 2px;
    transition: transform 0.3s ease;
}

.faq-chevron::before { transform: translate(-75%, -50%) rotate(45deg); }
.faq-chevron::after  { transform: translate(-25%, -50%) rotate(-45deg); }

.faq-item.is-open .faq-chevron {
    transform: rotate(180deg);
    background: rgba(0, 64, 152, 0.15);
}

.faq-a {
    max-height: 0;
    overflow: hidden;
    transition: max-height 0.4s cubic-bezier(0.4, 0, 0.2, 1);
}

.faq-item.is-open .faq-a {
    max-height: 300px;
}

.faq-a-inner {
    display: flex;
    gap: 12px;
    padding: 14px 16px 16px;
    border-top: 1px solid rgba(0, 64, 152, 0.08);
    background: linear-gradient(135deg, #f8faff, #f3f7ff);
}

.faq-a-badge {
    width: 26px;
    height: 26px;
    border-radius: 50%;
    background: rgba(0, 64, 152, 0.10);
    color: var(--mizuho-blue);
    font-size: 12px;
    font-weight: 900;
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
    border: 1.5px solid rgba(0, 64, 152, 0.18);
}

.faq-a-inner p {
    font-size: 12.5px;
    color: #444;
    line-height: 1.75;
    flex: 1;
    padding-top: 2px;
}

/* CTA */
/* Closing CTA */
.cta-box {
    position: relative;
    overflow: hidden;
    min-height: 320px;
    display: flex;
    align-items: center;
    justify-content: center;
}

.cta-box-bg {
    position: absolute;
    inset: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: center;
    display: block;
}

.cta-box-overlay {
    position: absolute;
    inset: 0;
    background: linear-gradient(
        160deg,
        rgba(0, 15, 50, 0.82) 0%,
        rgba(0, 40, 120, 0.68) 60%,
        rgba(0, 15, 50, 0.78) 100%
    );
}

.cta-box-content {
    position: relative;
    z-index: 2;
    text-align: center;
    padding: 52px 28px;
    width: 100%;
}

.cta-box-eyebrow {
    display: block;
    font-size: 10px;
    font-weight: 700;
    color: rgba(255, 255, 255, 0.60);
    letter-spacing: 0.20em;
    margin-bottom: 16px;
    text-transform: uppercase;
}

.cta-box-title {
    font-size: 26px;
    font-weight: 900;
    color: #fff;
    line-height: 1.45;
    margin-bottom: 0;
    letter-spacing: 0.03em;
    text-shadow: 0 2px 16px rgba(0, 0, 0, 0.4);
}

.cta-box-divider {
    width: 40px;
    height: 2px;
    background: linear-gradient(90deg, transparent, rgba(255,255,255,0.7), transparent);
    margin: 20px auto;
    border-radius: 2px;
}

.cta-box-sub {
    font-size: 13px;
    font-weight: 600;
    color: rgba(255, 255, 255, 0.80);
    letter-spacing: 0.06em;
    margin-bottom: 28px;
}

.cta-box-arrow {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 5px;
    margin-top: 4px;
}

.cta-arrow-chevron {
    display: block;
    width: 18px;
    height: 18px;
    border-right: 2.5px solid rgba(255, 255, 255, 0.8);
    border-bottom: 2.5px solid rgba(255, 255, 255, 0.8);
    transform: rotate(45deg);
    border-radius: 1px;
}

.cta-arrow-chevron:nth-child(1) {
    animation: chevronWave 1.5s ease-in-out infinite 0s;
}

.cta-arrow-chevron:nth-child(2) {
    animation: chevronWave 1.5s ease-in-out infinite 0.22s;
}

@keyframes chevronWave {
    0%   { opacity: 0.25; transform: rotate(45deg) translate(-3px, -3px); }
    50%  { opacity: 1;    transform: rotate(45deg) translate(2px, 2px); }
    100% { opacity: 0.25; transform: rotate(45deg) translate(-3px, -3px); }
}

/* Forms */
/* ===== CONTACT FORM ===== */
.cform {
    background: #fff;
    border-radius: 20px;
    box-shadow: 0 8px 40px rgba(0, 64, 152, 0.10);
    padding: 36px 28px;
    margin-top: 8px;
}

.cform-row {
    margin-bottom: 24px;
}

.cform-label {
    display: flex;
    align-items: center;
    gap: 8px;
    font-size: 13px;
    font-weight: 700;
    color: #1a2a4a;
    margin-bottom: 8px;
    letter-spacing: 0.02em;
}

.cform-req {
    display: inline-block;
    background: linear-gradient(135deg, #e8000d, #cc0000);
    color: #fff;
    font-size: 9px;
    font-weight: 700;
    padding: 2px 7px;
    border-radius: 4px;
    letter-spacing: 0.05em;
    flex-shrink: 0;
}

.cform-opt {
    display: inline-block;
    background: #e8edf5;
    color: #7a8aaa;
    font-size: 9px;
    font-weight: 700;
    padding: 2px 7px;
    border-radius: 4px;
    letter-spacing: 0.05em;
    flex-shrink: 0;
}

.cform-input {
    width: 100%;
    padding: 13px 16px;
    border: 1.5px solid #dce3ef;
    border-radius: 10px;
    font-size: 14px;
    color: #1a2a4a;
    background: #f8fafd;
    transition: border-color 0.2s, box-shadow 0.2s, background 0.2s;
    outline: none;
    box-sizing: border-box;
    -webkit-appearance: none;
}

.cform-input::placeholder {
    color: #b0bdd0;
    font-size: 13px;
}

.cform-input:focus {
    border-color: var(--mizuho-blue);
    background: #fff;
    box-shadow: 0 0 0 3px rgba(0, 64, 152, 0.10);
}

.cform-input.is-error {
    border-color: #e8000d;
    box-shadow: 0 0 0 3px rgba(232, 0, 13, 0.08);
}

/* Select */
.cform-select-wrap {
    position: relative;
}

.cform-select-wrap::after {
    content: '';
    position: absolute;
    right: 14px;
    top: 50%;
    transform: translateY(-50%) rotate(45deg);
    width: 8px;
    height: 8px;
    border-right: 2px solid #7a8aaa;
    border-bottom: 2px solid #7a8aaa;
    pointer-events: none;
}

.cform-select {
    width: 100%;
    padding: 13px 40px 13px 16px;
    border: 1.5px solid #dce3ef;
    border-radius: 10px;
    font-size: 14px;
    color: #1a2a4a;
    background: #f8fafd;
    transition: border-color 0.2s, box-shadow 0.2s;
    outline: none;
    cursor: pointer;
    -webkit-appearance: none;
    appearance: none;
    box-sizing: border-box;
}

.cform-select:focus {
    border-color: var(--mizuho-blue);
    background: #fff;
    box-shadow: 0 0 0 3px rgba(0, 64, 152, 0.10);
}

.cform-select.is-error {
    border-color: #e8000d;
}

.cform-select option[value=""] { color: #b0bdd0; }

/* Zip */
.cform-zip-wrap {
    display: flex;
    align-items: center;
    gap: 8px;
}

.cform-zip-prefix {
    font-size: 16px;
    color: #7a8aaa;
    flex-shrink: 0;
}

.cform-input-zip {
    max-width: 160px;
    flex-shrink: 0;
}

.cform-zip-btn {
    padding: 13px 16px;
    background: linear-gradient(135deg, #004098, #0056cc);
    color: #fff;
    border: none;
    border-radius: 10px;
    font-size: 12px;
    font-weight: 700;
    cursor: pointer;
    white-space: nowrap;
    transition: opacity 0.2s;
    letter-spacing: 0.03em;
}

.cform-zip-btn:hover { opacity: 0.85; }

/* Hint */
.cform-hint {
    font-size: 11px;
    color: #a0afc8;
    margin-bottom: 8px;
    letter-spacing: 0.02em;
}

/* Error */
.cform-error {
    font-size: 11px;
    color: #e8000d;
    margin-top: 5px;
    display: none;
    letter-spacing: 0.02em;
}

.cform-error.is-visible { display: block; }

/* Checkbox grid — pill tag style */
.cform-check-grid {
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
}

.cform-check {
    cursor: pointer;
    user-select: none;
}

.cform-check input[type="checkbox"] {
    display: none;
}

.cform-check span {
    display: flex;
    align-items: center;
    gap: 6px;
    padding: 11px 20px;
    border: 1.5px solid #dce3ef;
    border-radius: 50px;
    background: #f8fafd;
    font-size: 13px;
    font-weight: 600;
    color: #6a7a9a;
    transition: border-color 0.18s, background 0.18s, color 0.18s, box-shadow 0.18s;
    white-space: nowrap;
    line-height: 1;
}

.cform-check span::before {
    content: '';
    width: 14px;
    height: 14px;
    border: 1.5px solid #c0cce0;
    border-radius: 50%;
    flex-shrink: 0;
    transition: all 0.15s;
    background: #fff;
}

.cform-check:hover span {
    border-color: var(--mizuho-blue);
    background: #f0f5ff;
    color: var(--mizuho-blue);
}

.cform-check input:checked ~ span {
    background: var(--mizuho-blue);
    border-color: var(--mizuho-blue);
    color: #fff;
    box-shadow: 0 4px 12px rgba(0, 64, 152, 0.28);
}

.cform-check input:checked ~ span::before {
    background: rgba(255,255,255,0.3);
    border-color: rgba(255,255,255,0.6);
    box-shadow: inset 0 0 0 3px rgba(255,255,255,0.9);
}

/* 全国チェック */
.cform-check-all-wrap {
    margin-bottom: 10px;
}

.cform-check--all span {
    background: linear-gradient(135deg, #e8f0fc, #dce8fa);
    border-color: var(--mizuho-blue);
    color: var(--mizuho-blue);
    font-weight: 700;
}

.cform-check--all input:checked ~ span {
    background: linear-gradient(135deg, var(--mizuho-blue), #0057cc);
    border-color: var(--mizuho-blue);
    color: #fff;
}

/* Policy */
.cform-row-policy {
    background: #f8fafd;
    border: 1.5px solid #dce3ef;
    border-radius: 12px;
    padding: 18px 20px;
}

.cform-policy-check {
    display: flex;
    align-items: center;
    gap: 12px;
    cursor: pointer;
    user-select: none;
}

.cform-policy-check input[type="checkbox"] {
    display: none;
}

.cform-policy-box {
    width: 22px;
    height: 22px;
    border: 2px solid #c0cce0;
    border-radius: 6px;
    background: #fff;
    flex-shrink: 0;
    position: relative;
    transition: all 0.15s;
}

.cform-policy-check input:checked ~ .cform-policy-box {
    background: var(--mizuho-blue);
    border-color: var(--mizuho-blue);
}

.cform-policy-check input:checked ~ .cform-policy-box::after {
    content: '';
    position: absolute;
    left: 5px; top: 2px;
    width: 6px;
    height: 11px;
    border-right: 2.5px solid #fff;
    border-bottom: 2.5px solid #fff;
    transform: rotate(45deg);
}

.cform-policy-text {
    font-size: 13px;
    color: #4a5a7a;
    line-height: 1.6;
}

.cform-policy-link {
    color: var(--mizuho-blue);
    text-decoration: underline;
    text-underline-offset: 2px;
}

/* Submit */
.cform-submit-wrap {
    margin-top: 32px;
    text-align: center;
}

.cform-submit {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
    width: 100%;
    max-width: 360px;
    padding: 18px 32px;
    background: linear-gradient(135deg, #003580 0%, #0056cc 100%);
    color: #fff;
    border: none;
    border-radius: 50px;
    font-size: 15px;
    font-weight: 700;
    letter-spacing: 0.08em;
    cursor: pointer;
    box-shadow: 0 8px 24px rgba(0, 64, 152, 0.35);
    transition: transform 0.2s, box-shadow 0.2s, opacity 0.2s;
    position: relative;
    overflow: hidden;
}

.cform-submit::before {
    content: '';
    position: absolute;
    top: 0; left: -100%;
    width: 60%;
    height: 100%;
    background: linear-gradient(90deg, transparent, rgba(255,255,255,0.15), transparent);
    transition: left 0.5s ease;
}

.cform-submit:hover::before { left: 150%; }

.cform-submit:hover {
    transform: translateY(-2px);
    box-shadow: 0 12px 32px rgba(0, 64, 152, 0.45);
}

.cform-submit:active { transform: translateY(0); }

/* SP */
@media (max-width: 600px) {
    .cform {
        padding: 24px 16px;
        border-radius: 16px;
    }
    .cform-zip-wrap {
        flex-wrap: wrap;
    }
    .cform-input-zip {
        max-width: 140px;
    }
    .cform-check span {
        padding: 12px 18px;
        font-size: 14px;
    }
}

/* Footer */
/* ===== SP 追従 CTA ===== */
.sp-float-cta {
    display: none; /* PC は非表示、SP メディアクエリで上書き */
}

@media (max-width: 1000px) {
    .sp-float-cta {
        display: flex;
        align-items: center;
        justify-content: center;
        gap: 8px;
        position: fixed;
        bottom: 24px;
        left: 50%;
        transform: translateX(-50%) translateY(80px);
        z-index: 200;
        background: linear-gradient(135deg, #003580 0%, #0056cc 100%);
        color: #fff;
        font-size: 15px;
        font-weight: 700;
        letter-spacing: 0.08em;
        padding: 16px 40px;
        border-radius: 50px;
        box-shadow: 0 8px 28px rgba(0, 64, 152, 0.45);
        text-decoration: none;
        white-space: nowrap;
        opacity: 0;
        pointer-events: none;
        transition: transform 0.4s cubic-bezier(0.34, 1.56, 0.64, 1),
                    opacity 0.3s ease;
    }

    .sp-float-cta.is-visible {
        opacity: 1;
        transform: translateX(-50%) translateY(0);
        pointer-events: auto;
    }

    .sp-float-cta:active {
        transform: translateX(-50%) translateY(2px);
        box-shadow: 0 4px 16px rgba(0, 64, 152, 0.4);
    }
}

/* ===== FOOTER ===== */
.site-footer {
    background: linear-gradient(160deg, #00183d 0%, #002a6b 60%, #001530 100%);
    position: relative;
    overflow: hidden;
}

.site-footer::before {
    content: '';
    position: absolute;
    top: 0; left: 0; right: 0;
    height: 2px;
    background: linear-gradient(90deg, transparent, #4dd0ff, #ffffff55, #4dd0ff, transparent);
}

.footer-inner {
    max-width: 860px;
    margin: 0 auto;
    padding: 52px 24px 36px;
}

.footer-top {
    display: flex;
    justify-content: space-between;
    align-items: flex-start;
    gap: 32px;
    flex-wrap: wrap;
    margin-bottom: 36px;
}

.footer-brand {
    flex-shrink: 0;
}

/* Footer logo: mark(original color) + text(white) */
.footer-logo-wrap {
    position: relative;
    display: inline-block;
    height: 36px;
    /* logo比率 1368:250 → 36px高さで幅≈197px */
    width: 197px;
    margin-bottom: 10px;
}

.footer-logo-img {
    position: absolute;
    top: 0;
    left: 0;
    height: 36px;
    width: auto;
    display: block;
}

/* アイコンマーク部分（左18%）：元の色 */
.footer-logo-mark {
    clip-path: inset(0 82% 0 0);
}

/* テキスト部分（右82%）：白 */
.footer-logo-text {
    clip-path: inset(0 0 0 18%);
    filter: brightness(0) invert(1);
}

/* (旧 .footer-logo は削除済み) */
.footer-logo {
    display: block;
    height: 36px;
    width: auto;
    object-fit: contain;
    margin-bottom: 10px;
    opacity: 0.92;
}

.footer-tagline {
    font-size: 11px;
    color: rgba(255,255,255,0.45);
    letter-spacing: 0.12em;
    font-weight: 500;
}

.footer-nav {
    display: flex;
    flex-wrap: wrap;
    gap: 8px 20px;
    justify-content: flex-end;
    align-items: center;
}

.footer-nav-link {
    font-size: 12px;
    color: rgba(255,255,255,0.55);
    text-decoration: none;
    letter-spacing: 0.04em;
    transition: color 0.2s ease;
    white-space: nowrap;
}

.footer-nav-link:hover {
    color: #fff;
}

.footer-divider {
    height: 1px;
    background: linear-gradient(90deg, transparent, rgba(255,255,255,0.12), transparent);
    margin-bottom: 28px;
}

.footer-bottom {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    justify-content: space-between;
    gap: 14px;
}

.footer-warning {
    display: flex;
    align-items: center;
    gap: 6px;
    font-size: 11px;
    font-weight: 700;
    color: #ffd54f;
    letter-spacing: 0.06em;
}

.footer-warning-icon {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 16px;
    height: 16px;
    border-radius: 50%;
    background: #ffd54f;
    color: #1a1000;
    font-size: 10px;
    font-weight: 900;
    flex-shrink: 0;
    line-height: 1;
}

.footer-policy {
    display: inline-flex;
    align-items: center;
    gap: 5px;
    font-size: 11px;
    color: rgba(255,255,255,0.45);
    text-decoration: none;
    letter-spacing: 0.04em;
    transition: color 0.2s ease;
    border-bottom: 1px solid rgba(255,255,255,0.15);
    padding-bottom: 1px;
}

.footer-policy:hover {
    color: rgba(255,255,255,0.85);
    border-bottom-color: rgba(255,255,255,0.4);
}

.footer-copy {
    font-size: 10px;
    color: rgba(255,255,255,0.25);
    letter-spacing: 0.06em;
    width: 100%;
    text-align: center;
    margin-top: 16px;
    padding-top: 16px;
    border-top: 1px solid rgba(255,255,255,0.06);
}

@media (max-width: 600px) {
    .footer-top {
        flex-direction: column;
        align-items: flex-start;
        gap: 24px;
    }
    .footer-nav {
        justify-content: flex-start;
    }
    .footer-bottom {
        flex-direction: column;
        align-items: flex-start;
    }
}

/* Button Styles */
.cta-btn { padding: 12px 30px; border-radius: 30px; font-weight: 700; font-size: 14px; display: inline-block; transition: all 0.3s; text-align: center; }
.cta-primary { background: var(--mizuho-blue); color: #fff; box-shadow: 0 4px 10px rgba(0,64,152,0.3); }
.cta-secondary { background: #fff; color: var(--mizuho-blue); border: 2px solid var(--mizuho-blue); }

/* ==========================================
   Layer 4: Fixed Nav (Right Edge)
   ========================================== */
.fixed-nav {
    position: fixed;
    top: 0;
    right: 0;
    width: var(--side-nav-width);
    height: 100%;
    z-index: 100;
    background: linear-gradient(180deg, #001d4a 0%, #002a6b 60%, #001530 100%);
    border-left: 1px solid rgba(255,255,255,0.06);
    display: flex;
    flex-direction: column;
}

.menu-btn {
    width: 60px;
    height: 60px;
    background: var(--mizuho-blue);
    border-radius: 10px 0 0 10px;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    gap: 6px;
    margin: 30px 10px 20px auto;
    color: #fff;
}
.menu-btn .bar { width: 24px; height: 2px; background: #fff; }

/* ===== SIDE NAV BUTTONS ===== */
.side-links {
    display: flex;
    flex-direction: column;
    gap: 4px;
    width: 100%;
    margin-top: auto;
    padding: 0 8px 100px;
}

.side-link {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 5px;
    padding: 12px 6px;
    border-radius: 12px;
    text-decoration: none;
    color: rgba(255,255,255,0.65);
    background: rgba(255,255,255,0.06);
    border: 1px solid rgba(255,255,255,0.10);
    transition: background 0.22s, color 0.22s, border-color 0.22s, transform 0.22s, box-shadow 0.22s;
    position: relative;
    overflow: hidden;
}

.side-link::before {
    content: '';
    position: absolute;
    inset: 0;
    background: linear-gradient(160deg, rgba(255,255,255,0.08) 0%, transparent 60%);
    opacity: 0;
    transition: opacity 0.22s;
}

.side-link:hover {
    background: rgba(255,255,255,0.14);
    border-color: rgba(255,255,255,0.28);
    color: #fff;
    transform: translateX(-2px);
    box-shadow: 0 4px 16px rgba(0,0,0,0.2);
}

.side-link:hover::before { opacity: 1; }

.side-link-icon {
    width: 24px;
    height: 24px;
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
}

.side-link-icon svg {
    width: 100%;
    height: 100%;
}

.side-link-label {
    font-size: 9px;
    font-weight: 700;
    letter-spacing: 0.04em;
    line-height: 1;
    white-space: nowrap;
}

/* ENTRY button */
.entry-btn {
    position: absolute;
    bottom: 0;
    left: 0;
    width: 100%;
    background: linear-gradient(160deg, #c0392b 0%, #e74c3c 50%, #c0392b 100%);
    color: #fff;
    padding: 18px 8px;
    text-align: center;
    text-decoration: none;
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 6px;
    transition: opacity 0.22s, box-shadow 0.22s;
    box-shadow: 0 -2px 16px rgba(231,76,60,0.4);
    overflow: hidden;
}

.entry-btn::before {
    content: '';
    position: absolute;
    top: 0; left: -100%;
    width: 60%;
    height: 100%;
    background: linear-gradient(90deg, transparent, rgba(255,255,255,0.18), transparent);
    transition: left 0.5s ease;
}

.entry-btn:hover::before { left: 150%; }
.entry-btn:hover { opacity: 0.92; box-shadow: 0 -4px 24px rgba(231,76,60,0.55); }

.entry-btn-icon {
    width: 22px;
    height: 22px;
    display: flex;
    align-items: center;
    justify-content: center;
    opacity: 0.9;
}

.entry-btn-icon svg {
    width: 100%;
    height: 100%;
}

.entry-btn-text {
    font-size: 10px;
    font-weight: 800;
    letter-spacing: 0.06em;
    line-height: 1.5;
}

/* ==========================================
   Fullscreen Menu
   ========================================== */
.fullscreen-menu {
    position: fixed;
    top: 0;
    right: -100%;
    width: 100%;
    height: 100%;
    z-index: 90;
    transition: right 0.4s ease;
    background: rgba(0, 64, 152, 0.98);
    display: flex;
    align-items: center;
    justify-content: center;
}
.fullscreen-menu.active { right: 0; }
.menu-content { text-align: center; color: #fff; }
.menu-logo-img { width: 200px; filter: brightness(0) invert(1); margin-bottom: 40px; }
.menu-list a { font-size: 24px; font-weight: 700; display: block; margin-bottom: 20px; }

/* ==========================================
   Responsive (SP Mode)
   ========================================== */
@media (max-width: 1000px) {
    :root {
        --frame-width: 10px;
        --content-width: 100%;
        --side-nav-width: 0;
    }
    
    /* ロゴエリア：固定追従・サイズアップ */
    .logo-area {
        position: fixed; /* 追従 */
        top: var(--frame-width);
        left: var(--frame-width);
        padding: 15px 30px 15px 15px; /* 右側を広めにしてなじませる */
        background: #fff;
        border: none;
        border-bottom-right-radius: 30px;
        border-right: 2px solid var(--mizuho-blue);
        border-bottom: 2px solid var(--mizuho-blue);
        z-index: 30; /* コンテンツより上 */
    }
    .logo-img { width: 130px; /* サイズアップ */ }
    
    /* 左下要素：コンテンツの下に隠れるようにz-index調整 */
    .fixed-bottom-left {
        display: flex;
        position: absolute;
        top: 32vh; /* 元の位置に戻す */
        bottom: auto;
        left: 15px;
        z-index: 10;
        /* absoluteなのでスクロールで上に移動して隠れる */
    }
    
    /* ハンバーガーメニュー：PC形状＋追従 */
    .fixed-nav {
        background: transparent;
        border: none;
        width: auto;
        height: auto;
        right: 0; /* 右端に配置 */
        top: 0; /* 上端に配置 */
        z-index: 200;
        position: fixed;
    }
    
    .menu-btn {
        width: 60px;
        height: 60px;
        border-radius: 10px 0 0 10px; /* PCと同じ形状 */
        background: var(--mizuho-blue);
        color: #fff;
        box-shadow: 0 4px 15px rgba(0,0,0,0.2);
        margin: 30px 0 0 auto; /* 位置調整 */
        /* フレームの内側に配置したい場合 */
        margin-right: var(--frame-width);
    }
    
    .side-links, .entry-btn { display: none; }
    
    /* コンテンツエリア */
    .content-layer {
        position: relative;
        width: 100%;
        margin-top: 22vh; /* ファーストビューでMVコンテンツを早く表示 */
        padding: 0;
        right: auto;
        left: 0;
    }
    
    .main-content {
        min-height: auto;
        border-radius: 30px 30px 0 0;
        box-shadow: 0 -10px 30px rgba(0,0,0,0.1);
        padding-bottom: 50px;
        border-left: none;
        position: relative;
        z-index: 20;
    }

    /* SP用：MVエリアのパディング調整 */
    .content-mv {
        padding: 0; /* 上下左右の余白をなくす */
        position: relative; /* テキストのabsolute配置用 */
        overflow: visible; /* CTAボタンが見えるように */
    }

    /* SP用：MV画像を画面幅いっぱいに */
    .mv-visual {
        margin: 0 0 20px 0; /* 下に少しマージン */
        overflow: visible;
        position: relative;
    }

    .mv-visual-img {
        width: 100%;
        height: auto;
        transform: scale(1);
        transform-origin: center center;
        display: block;
    }

    /* ── SP セクション共通タイポグラフィ ── */
    .content-section { padding: 44px 20px; }
    .section-header { margin-bottom: 22px; }
    .section-head { font-size: 22px; }
    .section-desc { font-size: 13px; margin-bottom: 22px; }
    .mv-h1 { font-size: 12px; }

    /* SP用：テキストコンテナ（回転なし） */
    .mv-text {
        position: absolute;
        top: 40px;
        left: -10px; /* さらに左に */
        padding: 0;
        z-index: 10;
        pointer-events: none;
        transform: none;
    }

    /* SP用：キャッチコピーのスタイル調整（個別に斜め） */
    .catch-copy {
        font-size: 13px;
        padding: 4px 6px;
        margin: 0 0 6px 0;
        text-align: left;
        background: rgba(255, 255, 255, 0.9);
        border-radius: 5px;
        display: block; /* blockに変更して縦並びに */
        width: fit-content; /* 内容に合わせた幅 */
        box-shadow: 0 2px 8px rgba(0, 0, 0, 0.1);
        transform: rotate(-8deg);
        transform-origin: left top;
    }

    .catch-copy .highlight-text {
        font-size: 15px;
    }

    /* SP用：メインタイトルのスタイル調整（個別に斜め） */
    .main-title {
        font-size: 18px;
        padding: 6px 8px;
        margin: 0;
        text-align: left;
        background: rgba(255, 255, 255, 0.9);
        border-radius: 5px;
        display: block; /* blockに変更して縦並びに */
        width: fit-content; /* 内容に合わせた幅 */
        box-shadow: 0 2px 8px rgba(0, 0, 0, 0.1);
        line-height: 1.3;
        transform: rotate(-8deg);
        transform-origin: left top;
    }

    /* SP用：CTAボタンを.scroll-downの直前（最下部）に配置 */
    .mv-cta {
        position: absolute;
        bottom: 20px; /* さらに下に */
        left: 50%;
        transform: translateX(-50%) !important; /* 中央揃えのみ、斜めにしない */
        padding: 0;
        pointer-events: auto;
        text-align: center;
        width: 90%;
        z-index: 10;
    }

    /* 流れるテキスト：SP用の位置調整 */
    .marquee-layer {
        height: 50vh; /* 高さ確保 */
        bottom: auto;
        top: 0;
        z-index: 1; /* 背景とバッジの間 */
        clip-path: inset(var(--frame-width) var(--frame-width) 0 var(--frame-width) round var(--frame-radius));
    }

    .marquee-wrapper {
        bottom: 32vh; /* もっと上に表示してMVと干渉しない位置に */
    }

    .marquee-content {
        font-size: 60px; /* SP用のフォントサイズ */
    }

    /* iPhone SE (375px) などの狭い画面向け調整 */
    @media (max-width: 380px) {
        .today-badge {
            width: 85px;
            height: 85px;
            border-width: 3px;
        }
        
        .logo-img { width: 110px; }
        
        /* コンテンツエリアを確実に画面いっぱいにする */
        .content-layer {
            width: 100vw;
            margin-left: 0;
            margin-right: 0;
            left: 0;
        }
        .main-content {
            border-radius: 20px 20px 0 0; /* 角丸を少し小さく */
        }
    }

    /* Diagram SP */
    .product-callout { padding: 24px 20px 28px; }
    .product-callout-text { font-size: 15px; }
    .diagram-outer { margin: 0 -20px 10px; }
    .diagram-img { min-width: 900px; width: 900px; }

    /* SP Scroll Indicator */
    .mv-scroll-indicator {
        display: flex;
        flex-direction: column;
        align-items: center;
        gap: 5px;
        position: absolute;
        bottom: 72px;
        left: 50%;
        transform: translateX(-50%);
        z-index: 5;
        animation: mvScrollFadeOut 0.6s ease forwards;
        animation-delay: 4s;
        pointer-events: none;
        background: rgba(0, 20, 70, 0.45);
        backdrop-filter: blur(6px);
        border: 1px solid rgba(255,255,255,0.25);
        border-radius: 30px;
        padding: 10px 18px 12px;
    }

    .mv-scroll-label {
        font-size: 9px;
        font-weight: 800;
        letter-spacing: 0.22em;
        color: #fff;
        text-shadow: 0 1px 4px rgba(0,0,0,0.4);
    }

    .mv-scroll-chevron {
        display: block;
        width: 14px;
        height: 14px;
        border-right: 2.5px solid #fff;
        border-bottom: 2.5px solid #fff;
        transform: rotate(45deg);
        animation: mvScrollChevron 1.8s ease-in-out 2;
        margin-top: -4px;
    }

    .mv-scroll-chevron:nth-child(2) { animation-delay: 0s; }
    .mv-scroll-chevron:nth-child(3) { animation-delay: 0.2s; }

    @keyframes mvScrollChevron {
        0%   { opacity: 0; transform: rotate(45deg) translate(-5px, -5px); }
        35%  { opacity: 1; }
        75%  { opacity: 0.3; transform: rotate(45deg) translate(5px, 5px); }
        100% { opacity: 0; }
    }

    @keyframes mvScrollFadeOut {
        to { opacity: 0; visibility: hidden; }
    }
}