/* CSS Variables for HEYfold Theme */
:root {
    --primary-color: #2D3142;
    --secondary-color: #4F5D75;
    --accent-color: #c9a832;
    --line-color: #00B900;
    --bg-color: #FFFFFF;
    --bg-light: #F4F5F7;
    --bg-dark: #2D3142;
    --text-main: #333333;
    --text-muted: #666666;
    --font-family: 'Noto Sans JP', sans-serif;
}

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

html,
body {
    position: relative;
    height: 100%;
    /* 全画面必須 */
}

/* --- Fixed Logo --- */
.fixed-logo {
    position: fixed;
    top: 32px;
    left: 32px;
    z-index: 9999;
    width: 80px;
    /* 画面を邪魔しないサイズ */
    height: auto;
    pointer-events: none;
    /* ロゴの後ろの要素がクリックできるようにする */
}

.fixed-logo img {
    width: 100%;
    height: auto;
    /* ロゴが黒や白の場合の視認性確保のために、かすかに影をつけるかブレンドモードを使う */
    filter: drop-shadow(0 2px 4px rgba(255, 255, 255, 0.5));
}

body {
    font-family: var(--font-family);
    color: var(--text-main);
    line-height: 1.6;
    background-color: var(--bg-color);
}

img {
    max-width: 100%;
    height: auto;
    display: block;
}

/* --- Swiper Core Styles --- */
.swiper {
    width: 100%;
    height: 100%;
}

.swiper-wrapper {
    /* 動き出しのショックを和らげ、早めに減速が始まって長く滑らかに止まる設定 */
    transition-timing-function: cubic-bezier(0.2, 0.8, 0.2, 1) !important;
}

.swiper-slide {
    display: flex;
    justify-content: center;
    align-items: center;
    overflow: hidden;
    /* コンテンツがはみ出ないように */
}

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

.slide-bg-dark {
    background-color: var(--bg-dark);
}

/* 全画面内のセクションラッパー */
.section-full {
    width: 100%;
    height: 100%;
    display: flex;
    flex-direction: column;
    justify-content: center;
    padding: 20px 0;
}

.container {
    width: 100%;
    max-width: 1000px;
    margin: 0 auto;
    padding: 0 20px;
}

.section-title {
    text-align: center;
    font-size: 2rem;
    font-weight: 700;
    margin-bottom: 15px;
    color: var(--primary-color);
}

.section-text {
    text-align: center;
    max-width: 700px;
    margin: 0 auto 30px;
    color: var(--text-muted);
}

/* --- Slide 1: Hero Section --- */
.hero {
    position: relative;
    width: 100%;
    height: 100%;
    background: #f7f7f7;
    background-image: none;
    display: flex;
    align-items: center;
    justify-content: center;
    text-align: center;
    color: var(--primary-color);
}

.hero-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(45, 49, 66, 0.7);
    display: none; /* モバイル白背景なので非表示 */
}

.hero-content {
    position: relative;
    z-index: 1;
    display: flex;
    flex-direction: column;
    align-items: center;
    text-align: center;
    width: 100%;
    max-width: 720px;
    padding: 80px 24px 20px;
    gap: 16px;
    transform: none;
}

.badge {
    display: inline-block;
    background-color: var(--accent-color);
    color: white;
    padding: 8px 22px;
    border-radius: 30px;
    font-size: 1rem;
    font-weight: 800;
    margin-bottom: 4px;
    letter-spacing: 0.5px;
    box-shadow: 0 4px 16px rgba(201, 168, 50, 0.35);
}

/* バッジ直上の小テキスト */
.badge-pre {
    font-size: 0.78rem;
    font-weight: 600;
    color: var(--accent-color);
    letter-spacing: 1.5px;
    margin-bottom: -4px;
    opacity: 0.9;
}

.main-title {
    font-size: 2.5rem;
    font-weight: 900;
    line-height: 1.3;
    margin-bottom: 4px;
    color: var(--primary-color);
    text-shadow: none;
}

.main-title .highlight {
    color: var(--accent-color);
}

/* Hero: サブヘッドライン（スマホサイズのHEYfold Mini。） */
.hero-sub-headline {
    font-size: 1.25rem;
    font-weight: 600;
    color: var(--secondary-color);
    letter-spacing: 0.3px;
    margin-bottom: 0;
}

/* Hero: プロダクト画像下のサポートテキスト */
.hero-support-text {
    font-size: 1rem;
    font-weight: 500;
    color: var(--text-muted);
    line-height: 1.8;
    margin-bottom: 0;
}

/* Hero: CTA直下の小さな注記 */
.hero-cta-note {
    font-size: 0.85rem;
    font-weight: 600;
    color: var(--text-muted);
    opacity: 0.9;
    margin-top: -8px;
    letter-spacing: 0.5px;
}

/* Hero: プロダクト画像 — 共通ベース */
.hero-mobile-img-wrap {
    padding: 0 8px;
}

.hero-mobile-img {
    width: 100%;
    height: auto;
    display: block;
    margin: 0 auto;
    border-radius: 18px;
    object-fit: contain;
    box-shadow: 0 10px 32px rgba(0, 0, 0, 0.13);
}

.sub-title {
    font-size: 1.1rem;
    font-weight: 500;
    margin-bottom: 16px;
    color: var(--text-muted);
    text-shadow: none;
}

.btn-primary {
    display: inline-block;
    background-color: var(--line-color);
    color: white;
    padding: 14px 24px;
    border-radius: 50px;
    text-decoration: none;
    font-size: 0.95rem;
    font-weight: 700;
    white-space: nowrap;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    box-shadow: 0 4px 15px rgba(6, 199, 85, 0.4);
}

.btn-primary:hover {
    transform: translateY(-3px);
    box-shadow: 0 6px 20px rgba(6, 199, 85, 0.6);
}

/* Scroll Indicator */
.scroll-indicator {
    position: absolute;
    bottom: 30px;
    left: 50%;
    transform: translateX(-50%);
    z-index: 2;
    color: var(--text-muted);
    font-size: 0.8rem;
    font-weight: bold;
    letter-spacing: 1px;
    display: flex;
    flex-direction: column;
    align-items: center;
    animation: bounce 2s infinite;
}

.scroll-indicator .arrow {
    width: 20px;
    height: 20px;
    border-right: 2px solid var(--text-muted);
    border-bottom: 2px solid var(--text-muted);
    transform: rotate(45deg);
    margin-top: 5px;
}

@keyframes bounce {

    0%,
    20%,
    50%,
    80%,
    100% {
        transform: translateY(0) translateX(-50%);
    }

    40% {
        transform: translateY(-10px) translateX(-50%);
    }

    60% {
        transform: translateY(-5px) translateX(-50%);
    }
}

/* --- Hero: 共通ベーススタイル --- */
.hero-desktop-wrap {
    display: contents;
}

.hero-image-col {
    display: none;
}

.hero-main-copy {
    font-size: 2.2rem;
    font-weight: 900;
    line-height: 1.3;
    margin-bottom: 15px;
    color: var(--primary-color);
    text-shadow: none;
}

.hero-main-copy .highlight {
    color: var(--accent-color);
}

/* ==========================================================================
   Hero Section: デスクトップ + タブレット (769px以上)
   ========================================================================== */
@media (min-width: 769px) {

    /* 白背景・中央揃え1カラム */
    .hero {
        background-image: none;
        background: #f5f5f5;
        color: var(--primary-color);
        text-align: center;
        align-items: center;
        justify-content: center;
        overflow-y: auto;
    }

    /* オーバーレイを非表示 */
    .hero-overlay {
        display: none;
    }

    /* スクロールインジケーター色を暗色に */
    .scroll-indicator {
        color: var(--text-muted);
        display: flex;
    }

    .scroll-indicator .arrow {
        border-color: var(--text-muted);
    }

    /* hero-desktop-wrap: 透過（1カラムなのでcontentsのまま） */
    .hero-desktop-wrap {
        display: contents;
    }

    /* テキストコンテンツ: 縦スタック中央揃え（PC） */
    .hero-content {
        padding: 80px 40px 24px;
        max-width: 720px;
        height: 100%;
        justify-content: center;
        gap: 20px;
    }

    .main-title {
        font-size: 3rem;
        color: var(--primary-color);
        text-shadow: none;
        margin-bottom: 32px;
    }

    .hero-main-copy {
        font-size: 2.2rem;
        color: var(--primary-color);
        text-shadow: none;
        margin-bottom: 28px;
    }

    .hero-main-copy .highlight {
        color: var(--accent-color);
    }

    .sub-title {
        color: var(--text-muted);
        text-shadow: none;
        font-size: 1.1rem;
        margin-bottom: 40px;
    }

    /* プロダクト画像（縦スタック用）をPC/タブレットでも表示 */
    .hero-mobile-img-wrap {
        display: block !important;
        width: 100%;
        max-width: 560px;
        padding: 0 16px;
        margin-bottom: 40px;
    }

    .hero-mobile-img {
        width: 100%;
        height: auto;
        border-radius: 20px;
        display: block;
        object-fit: contain;
        box-shadow: 0 14px 40px rgba(0, 0, 0, 0.12);
    }

    /* 2カラム用の右側画像は非表示 */
    .hero-image-col {
        display: none !important;
    }

    /* CTAボタン: PC/タブレットでも中央・適切な幅 */
    .hero-content .btn-line-large {
        width: auto !important;
        max-width: none !important;
        padding: 13px 40px !important;
        margin: 0 auto;
    }
}

/* タブレット微調整 (769px〜1024px) */
@media (min-width: 769px) and (max-width: 1024px) {
    .main-title {
        font-size: 2.5rem;
    }

    .hero-main-copy {
        font-size: 1.8rem;
    }

    .hero-mobile-img-wrap {
        max-width: 480px;
    }
}

/* --- Slide 2: Track Record Section --- */

.track-record-content {
    background: white;
    border-radius: 16px;
    padding: 40px;
    text-align: center;
    box-shadow: 0 10px 40px rgba(0, 0, 0, 0.05);
    border-top: 5px solid var(--accent-color);
    max-height: 90vh;
    /* 画面に収まるように制限 */
    overflow-y: auto;
}

.badge-success {
    display: inline-block;
    background-color: #FFF0ED;
    color: var(--accent-color);
    padding: 6px 16px;
    border-radius: 30px;
    font-size: 0.85rem;
    font-weight: 700;
    margin-bottom: 15px;
}

.track-title {
    font-size: 1.6rem;
    font-weight: 900;
    color: var(--primary-color);
    margin-bottom: 20px;
    line-height: 1.4;
}

.track-text {
    font-size: 1rem;
    color: var(--text-muted);
    margin-bottom: 30px;
    line-height: 1.6;
}

.track-text strong {
    color: var(--primary-color);
    font-size: 1.05rem;
}

.track-stats {
    display: flex;
    justify-content: center;
    gap: 30px;
    flex-wrap: wrap;
}

.stat-item {
    padding: 0 10px;
}

.stat-number {
    display: block;
    font-size: 2.2rem;
    font-weight: 900;
    color: var(--accent-color);
    line-height: 1;
    margin-bottom: 5px;
}

.stat-unit {
    font-size: 1rem;
    font-weight: 700;
    margin-left: 2px;
}

.stat-label {
    display: block;
    font-size: 0.8rem;
    font-weight: 700;
    color: var(--secondary-color);
}

/* --- Slide 3: Concept Section --- */
.concept-image {
    display: block;
    max-width: 100%;
    max-height: 300px;
    border-radius: 12px;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.08);
    margin: 0 auto;
    object-fit: cover;
}
.concept-image--contain  { object-fit: contain; }
.concept-image--tall     { max-height: 350px; }
.concept-image--pos-top  { object-position: center top; }
.concept-image--pos-mid  { object-position: center 55%; }
.concept-image--pos-low  { object-position: center 65%; }

/* Slide 8 のみ: 使用シーン素材のトーンを軽く統一 */
.mySwiperH2 .concept-image {
    filter: brightness(0.96) saturate(0.92) contrast(1.04);
}

/* === 横スクロールスライド共通レイアウト (Slides 5, 7, 8) === */

/* 外側スライドラッパー */
.hs-outer {
    position: relative;
    overflow: hidden;
}

/* 固定ヘッドラインエリア */
.hs-headline {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    z-index: 10;
    text-align: center;
    padding-top: 17dvh;
    pointer-events: none;
}

/* ヘッドライン内 section-title のデフォルトマージンを0に */
.hs-headline .section-title {
    margin-bottom: 0;
}

/* サブタイトルありの場合（Slide 5）*/
.hs-headline--with-sub .section-title {
    margin-bottom: 14px;
}

/* ヘッドライン直下サブテキスト（Slide 5） */
.hs-headline-sub {
    font-size: 0.85rem;
    color: #888;
    line-height: 1.65;
    letter-spacing: 0.3px;
}

/* カードコンテンツエリア — 標準（Slides 7, 8） */
.hs-card {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: flex-start;
    padding-top: 31dvh;
}

/* カードコンテンツエリア — サブタイトルあり（Slide 5） */
.hs-card--with-sub {
    padding-top: 37dvh;
}

@media (max-width: 768px) {
    .hs-card {
        padding-top: 29dvh;
    }

    .hs-card--with-sub {
        padding-top: 34dvh;
    }
}

/* Slide 4/5 概念セクションのコンテナ: 中央揃え */
.concept .container {
    text-align: center;
    width: 100%;
}

/* Slide 4 カードタイトル */
.concept-card-title {
    font-size: 1.4rem;
    font-weight: 800;
    color: var(--primary-color);
    line-height: 1.4;
    margin-bottom: 10px;
    letter-spacing: 0.3px;
}

/* Slide 5 only: カードタイトルを控えめに・固定見出しとの間を確保 */
.mySwiperH3 .concept-card-title {
    font-size: 1.2rem;
    margin-top: 14px;
}

/* --- Slide 4: Features Grid --- */
.feature-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 20px;
    margin-top: 20px;
}

.feature-card {
    background: white;
    padding: 30px 20px;
    border-radius: 12px;
    text-align: center;
    box-shadow: 0 5px 20px rgba(0, 0, 0, 0.05);
}

.feature-icon {
    font-size: 2.5rem;
    margin-bottom: 15px;
}

.feature-title {
    font-size: 1.2rem;
    margin-bottom: 10px;
    color: var(--primary-color);
}

.feature-text {
    font-size: 0.9rem;
    color: var(--text-muted);
}

/* --- Slide 5: Basic Features List --- */
.basic-list {
    display: flex;
    flex-direction: column;
    gap: 30px;
}

.basic-item {
    display: flex;
    align-items: center;
    gap: 30px;
}

.basic-item.reverse {
    flex-direction: row-reverse;
}

.basic-img {
    flex: 0.8;
    max-height: 20vh;
    /* スライド内に収めるため小さく */
    object-fit: cover;
    border-radius: 12px;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.1);
}

.basic-content {
    flex: 1;
}

.basic-content h3 {
    font-size: 1.3rem;
    margin-bottom: 10px;
    color: var(--primary-color);
}

.basic-content p {
    font-size: 0.95rem;
}

/* --- Slide 6: CTA Section --- */
.cta-section {
    color: white;
    text-align: center;
    position: relative;
    overflow: hidden;
}

.cta-container {
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    height: 100%;
    position: relative;
    z-index: 2;
}

/* ---- CTA 背景ビデオ（全画面） ---- */
.cta-video-wrap {
    position: absolute;
    inset: 0;
    width: 100%;
    height: 100%;
    overflow: hidden;
    z-index: 0;
    pointer-events: none;
}

.cta-video {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
}

.cta-video-overlay {
    position: absolute;
    inset: 0;
    background: rgba(0, 0, 0, 0.65);
}

/* モバイル：表示するがさらに暗く */
@media (max-width: 768px) {
    .cta-video-overlay {
        background: rgba(0, 0, 0, 0.70);
    }
}

.cta-title {
    font-size: 2rem;
    font-weight: 900;
    margin-bottom: 20px;
}

.cta-text {
    font-size: 1.05rem;
    margin-bottom: 30px;
    opacity: 0.9;
}

.btn-line {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    background-color: #00B900;
    color: white;
    padding: 16px 24px;
    border-radius: 50px;
    text-decoration: none;
    font-size: 1.1rem;
    font-weight: 700;
    white-space: nowrap;
    transition: box-shadow 0.3s ease, transform 0.3s ease;
    box-shadow: none;
    margin: 0 auto;
}

.btn-line:hover {
    background-color: #00B900 !important;
    box-shadow:
        0 0 12px rgba(0, 255, 0, 0.9),
        0 0 30px rgba(0, 220, 0, 0.8),
        0 0 60px rgba(0, 185, 0, 0.6),
        0 0 100px rgba(0, 150, 0, 0.3) !important;
    transform: translateY(-2px) scale(1.03);
}

.line-icon, .line-icon-img {
    width: 36px;
    height: 36px;
    margin-right: 10px;
    object-fit: contain;
}

.cta-note {
    margin-top: 15px;
    font-size: 0.85rem;
    opacity: 0.7;
}

/* Slide 9: CTAボタン上の補足テキスト */
.cta-sub-note {
    font-size: 0.88rem;
    color: rgba(255, 255, 255, 0.65);
    margin-bottom: 16px;
    line-height: 1.6;
}

/* Footer inside CTA slide */
.footer-inner {
    margin-top: 50px;
    color: rgba(255, 255, 255, 0.4);
    font-size: 0.85rem;
}

/* --- Custom Swiper Pagination --- */
.swiper-pagination-bullet {
    background: var(--accent-color);
}

.swiper-pagination-h,
.swiper-pagination-h2,
.swiper-pagination-h3 {
    bottom: 10px !important;
}

.swiper-pagination-h .swiper-pagination-bullet,
.swiper-pagination-h2 .swiper-pagination-bullet,
.swiper-pagination-h3 .swiper-pagination-bullet {
    background: var(--primary-color);
    opacity: 0.5;
}

.swiper-pagination-h .swiper-pagination-bullet-active,
.swiper-pagination-h2 .swiper-pagination-bullet-active,
.swiper-pagination-h3 .swiper-pagination-bullet-active {
    background: var(--accent-color);
    opacity: 1;
}

/* --- Horizontal Swipe Navigation Arrows --- */
.custom-swiper-next,
.custom-swiper-prev,
.custom-swiper-next2,
.custom-swiper-prev2,
.custom-swiper-next3,
.custom-swiper-prev3 {
    color: white;
    background-color: var(--accent-color);
    width: 50px;
    height: 50px;
    border-radius: 50%;
    opacity: 0.95;
    box-shadow: 0 4px 15px rgba(201, 168, 50, 0.4);
    transition: opacity 0.3s ease, background-color 0.3s ease;
}

.custom-swiper-next,
.custom-swiper-next2,
.custom-swiper-next3 {
    right: 31% !important;
    left: auto !important;
    top: calc(78dvh + 130px) !important;
    bottom: auto !important;
    transform: none !important;
}

.custom-swiper-prev,
.custom-swiper-prev2,
.custom-swiper-prev3 {
    left: 34% !important;
    right: auto !important;
    top: calc(78dvh + 130px) !important;
    bottom: auto !important;
    transform: none !important;
}

@media (max-width: 768px) {
    .custom-swiper-next,
    .custom-swiper-next2,
    .custom-swiper-next3 {
        right: 5% !important;
        left: auto !important;
        top: calc(70dvh + 100px) !important;
    }

    .custom-swiper-prev,
    .custom-swiper-prev2,
    .custom-swiper-prev3 {
        left: 5% !important;
        right: auto !important;
        top: calc(70dvh + 100px) !important;
    }
}

.custom-swiper-next:after,
.custom-swiper-prev:after,
.custom-swiper-next2:after,
.custom-swiper-prev2:after,
.custom-swiper-next3:after,
.custom-swiper-prev3:after {
    font-size: 1.4rem;
    font-weight: 900;
}

.custom-swiper-next:hover,
.custom-swiper-prev:hover,
.custom-swiper-next2:hover,
.custom-swiper-prev2:hover,
.custom-swiper-next3:hover,
.custom-swiper-prev3:hover {
    opacity: 1;
    background-color: #a8881e;
}

.custom-swiper-next.swiper-button-disabled,
.custom-swiper-prev.swiper-button-disabled,
.custom-swiper-next2.swiper-button-disabled,
.custom-swiper-prev2.swiper-button-disabled,
.custom-swiper-next3.swiper-button-disabled,
.custom-swiper-prev3.swiper-button-disabled {
    opacity: 0;
    pointer-events: none;
}

.custom-swiper-next,
.custom-swiper-next2,
.custom-swiper-next3 {
    animation: bounce-horizontal-right 1.5s infinite;
}

.custom-swiper-prev,
.custom-swiper-prev2,
.custom-swiper-prev3 {
    animation: bounce-horizontal-left 1.5s infinite;
}

@keyframes bounce-horizontal-right {

    0%,
    20%,
    50%,
    80%,
    100% {
        transform: translateX(0);
    }

    40% {
        transform: translateX(20px);
    }

    /* 移動距離を大きく */
    60% {
        transform: translateX(10px);
    }
}

@keyframes bounce-horizontal-left {

    0%,
    20%,
    50%,
    80%,
    100% {
        transform: translateX(0);
    }

    40% {
        transform: translateX(-20px);
    }

    /* 移動距離を大きく */
    60% {
        transform: translateX(-10px);
    }
}

/* --- Responsive Adjustments for 100vh constraints --- */
@media (max-width: 768px) {
    .main-title {
        font-size: 1.8rem;
    }

    .section-title {
        font-size: 1.6rem;
    }

    .feature-grid {
        grid-template-columns: 1fr;
        gap: 15px;
        /* モバイルで溢れる場合はスクロールさせる */
        max-height: 60vh;
        overflow-y: auto;
    }

    .feature-card {
        padding: 20px 15px;
    }

    .basic-item,
    .basic-item.reverse {
        flex-direction: column;
        text-align: center;
        gap: 15px;
    }

    .basic-img {
        max-height: 15vh;
        width: 100%;
    }

    .cta-title {
        font-size: 1.6rem;
    }

    .track-record-content {
        padding: 20px;
    }
}

/* --- Popup Modal --- */
.popup-overlay {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.7);
    z-index: 9999;
    display: flex;
    justify-content: center;
    align-items: center;
    opacity: 0;
    visibility: hidden;
    transition: opacity 0.4s ease, visibility 0.4s ease;
    backdrop-filter: blur(5px);
}

.popup-overlay.show {
    opacity: 1;
    visibility: visible;
}

.popup-content {
    background: white;
    padding: 50px 40px;
    border-radius: 16px;
    text-align: center;
    max-width: 500px;
    width: 90%;
    position: relative;
    transform: translateY(20px);
    transition: transform 0.4s ease;
    box-shadow: 0 15px 40px rgba(0, 0, 0, 0.2);
    border-top: 5px solid var(--accent-color);
}

.popup-overlay.show .popup-content {
    transform: translateY(0);
}

.popup-close {
    position: absolute;
    top: 15px;
    right: 20px;
    background: none;
    border: none;
    font-size: 2rem;
    color: var(--text-muted);
    cursor: pointer;
    transition: color 0.3s ease;
    line-height: 1;
}

.popup-close:hover {
    color: var(--primary-color);
}

.popup-title {
    font-size: 1.6rem;
    font-weight: 900;
    color: var(--primary-color);
    margin-bottom: 15px;
}

.popup-text {
    font-size: 1rem;
    color: var(--text-muted);
    margin-bottom: 30px;
    line-height: 1.6;
}

/* ==========================================================================
   Slide 2 (Quick CTA) Premium Styles
   ========================================================================== */
.cta-quick-slide {
    position: relative;
    overflow: hidden;
}

.cta-quick-bg {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-size: cover;
    background-position: center;
    z-index: 1;
    transform-origin: center center;
    animation: slide2BgZoom 9s ease-in-out infinite;
}

@keyframes slide2BgZoom {
    0%   { transform: scale(1); }
    100% { transform: scale(1.05); }
}

.cta-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: 2;
    background: linear-gradient(to bottom, rgba(0, 0, 0, 0.3) 0%, rgba(0, 0, 0, 0.6) 100%);
}

.discount-badge {
    display: inline-block;
    padding: 8px 24px;
    margin: 0 auto 20px auto;
    font-size: 0.95rem;
    font-weight: 700;
    color: #fff;
    background: linear-gradient(135deg, #e0ba46 0%, #c4961b 100%);
    border-radius: 50px;
    box-shadow: 0 4px 14px rgba(196, 150, 27, 0.5), inset 0 2px 2px rgba(255, 255, 255, 0.3);
    letter-spacing: 2px;
    text-align: center;
}

.cta-quick-slide .cta-title {
    display: flex;
    align-items: baseline;
    justify-content: center;
    gap: 8px;
    font-weight: 900;
    margin-bottom: 20px;
    line-height: 1;
    white-space: nowrap;
    text-shadow: none;
}

/* 「最大」 */
.cta-prefix {
    font-size: 2rem;
    font-weight: 900;
    color: rgba(255, 255, 255, 0.88);
    align-self: flex-end;
    padding-bottom: 8px;
}

/* 「30%」 */
.cta-percent {
    font-size: 5.5rem;
    font-weight: 900;
    color: #ffffff;
    text-shadow: 0 2px 20px rgba(0, 0, 0, 0.4);
    line-height: 1;
    letter-spacing: -2px;
}

/* 「OFF」 */
.cta-suffix {
    font-size: 2.5rem;
    font-weight: 900;
    color: rgba(255, 255, 255, 0.82);
    align-self: flex-end;
    padding-bottom: 8px;
    letter-spacing: 0;
}

.btn-line-large {
    font-size: 1.3rem !important;
    padding: 11px 36px !important;
    border-radius: 40px !important;
    white-space: nowrap;
    box-shadow: none !important;
    width: auto;
    margin: 20px auto;
    display: inline-flex;
    align-self: center;
}

.btn-line-large .line-icon, .btn-line-large .line-icon-img {
    width: 48px;
    height: 48px;
}

@media (max-width: 768px) {
    .cta-quick-slide .cta-title {
        white-space: nowrap;
    }
    .cta-percent {
        font-size: 4rem;
        letter-spacing: -1px;
    }
    .cta-prefix,
    .cta-suffix {
        font-size: 1.6rem;
        padding-bottom: 6px;
    }

    .btn-line-large {
        font-size: 1rem !important;
        padding: 9px 20px !important;
        width: auto !important;
        max-width: 90%;
    }

    /* モバイルでLINEアイコンを小さくして縦幅を抑える */
    .btn-line-large .line-icon,
    .btn-line-large .line-icon-img {
        width: 28px;
        height: 28px;
    }

    /* hero テキストサイズをPC比率にそろえる（PC: 3 : 2.2 : 1.1 = 1 : 0.73 : 0.37） */
    .main-title {
        font-size: 2rem;
    }

    .hero-main-copy {
        font-size: 1.45rem;
    }

    .sub-title {
        font-size: 0.9rem;
    }

    /* Slide4/5: 固定ヘッドラインをモバイルで縮小（テキスト重なり解消） */
    .section-title {
        font-size: 1.7rem !important;
        line-height: 1.35 !important;
    }

    /* Slide4: カードタイトルをモバイルで縮小 */
    .concept-card-title {
        font-size: 1rem;
        margin-bottom: 8px;
    }

    /* Slide 5 only: スマホでさらに控えめ・固定見出し下の間隔を確保 */
    .mySwiperH3 .concept-card-title {
        font-size: 0.92rem;
        margin-top: 26px;
    }

    /* Slide4/5: 説明テキストをモバイルで縮小 */
    .concept .section-text {
        font-size: 0.88rem !important;
        margin-bottom: 16px !important;
    }

    /* Slide4/5: 画像高さをモバイルで制限 */
    .concept-image       { max-height: 250px; }
    .concept-image--tall { max-height: 290px; }
}

/* ==========================================================================
   Slide 3 (Trust Section) Premium Styles
   ========================================================================== */

/* 全画面デコラティブ プロダクト画像 */
.slide3-product-bg {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-image: url('../images/slide3_product.jpg');
    background-size: cover;
    background-repeat: no-repeat;
    background-position: center;
    opacity: 0.12;
    filter: blur(2px);
    pointer-events: none;
    z-index: 0;
}

.trust-section {
    display: flex;
    align-items: center;
    justify-content: center;
    color: #fff;
    position: relative;
    z-index: 1;
}

.trust-title {
    font-size: 2.2rem;
    font-weight: 800;
    line-height: 1.4;
    margin-bottom: 20px;
    text-align: center;
    color: #d4af37;
}

.trust-title-br {
    display: none;
}

.trust-title .highlight {
    color: #d4af37;
}

.trust-sub-headline {
    font-size: 1.25rem;
    font-weight: 500;
    line-height: 1.7;
    color: #fff;
    text-align: center;
    margin-bottom: 64px;
    letter-spacing: 0.3px;
}

.trust-images-container {
    position: relative;
    width: 100%;
    max-width: 600px;
    height: 280px;
    margin: 0 auto 52px auto;
}

.trust-img {
    position: absolute;
    width: 62%;
    border-radius: 12px;
    box-shadow: 0 15px 35px rgba(0, 0, 0, 0.6);
    border: 1px solid rgba(255, 255, 255, 0.1);
}

.trust-img.kickstarter {
    top: -30px;
    left: 0;
    z-index: 1;
    transform: rotate(-3deg);
    opacity: 0.9;
}

.trust-img.makuake {
    bottom: -30px;
    right: 0;
    z-index: 2;
    transform: rotate(2deg);
    box-shadow: -10px 20px 45px rgba(0, 0, 0, 0.8);
}

.trust-stats {
    display: flex;
    justify-content: space-between;
    gap: 20px;
    padding: 0;
}

.trust-stat-box {
    background: rgba(255, 255, 255, 0.05);
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: 12px;
    padding: 20px 15px;
    flex: 1;
    text-align: center;
    backdrop-filter: blur(8px);
    box-shadow: 0 10px 20px rgba(0, 0, 0, 0.3);
}

.trust-stat-platform {
    font-size: 1rem;
    color: #d4af37;
    letter-spacing: 1px;
    margin-bottom: 8px;
    font-weight: 800;
    display: block;
}

.trust-stat-value {
    font-size: 1.8rem;
    font-weight: 900;
    color: #fff;
    display: block;
    margin-bottom: 5px;
    line-height: 1.1;
}

.trust-stat-value .unit {
    font-size: 1rem;
    font-weight: normal;
    margin-left: 2px;
}

.trust-stat-sub {
    font-size: 1.2rem;
    font-weight: 700;
    color: #ddd;
    display: block;
}

.trust-stat-sub .unit {
    font-size: 0.9rem;
    font-weight: normal;
    margin-left: 2px;
}

@media (max-width: 768px) {
    .trust-title {
        font-size: 1.9rem;
        margin-bottom: 24px;
        padding: 0 24px;
    }

    .trust-sub-headline {
        font-size: 1.1rem;
        margin-bottom: 48px;
        padding: 0 24px;
    }

    .trust-images-container {
        height: 180px;
        max-width: 100%;
        margin-bottom: 36px;
    }

    .trust-img.kickstarter {
        top: -20px;
        left: -2%;
        width: 64%;
        transform: rotate(-3deg);
    }

    .trust-img.makuake {
        bottom: -20px;
        right: -2%;
        width: 64%;
        transform: rotate(2deg);
    }

    .trust-stats {
        flex-direction: column;
        gap: 15px;
    }

    .trust-stat-box {
        padding: 15px;
    }

    .trust-stat-value {
        font-size: 1.6rem;
    }


    .trust-stat-sub {
        font-size: 1.1rem;
    }
}

/* ==========================================================================
   Slide 5: Lifestyle Section - Premium Redesign
   ========================================================================== */
.lifestyle-slide {
    background: #f7f7f7;
}

.lifestyle-section {
    display: flex;
    flex-direction: column;
    align-items: center;
    width: 100%;
    height: 100%;
    overflow: hidden;
}

/* 固定ヘッドライン */
.lifestyle-header {
    width: 100%;
    text-align: center;
    padding: 48px 24px 16px;
    flex-shrink: 0;
}

.lifestyle-headline {
    font-size: 2.6rem;
    font-weight: 900;
    color: #1a1a2e;
    line-height: 1.3;
    letter-spacing: 0.5px;
}

/* スライダー部分 */
.lifestyle-swiper {
    width: 100%;
    flex: 1;
    min-height: 0;
    padding-bottom: 40px !important;
}

/* 各カード */
.lifestyle-card {
    display: flex;
    flex-direction: column;
    align-items: center;
    padding: 8px 28px 0;
    height: 100%;
    box-sizing: border-box;
}

/* サブコピー */
.lifestyle-sub {
    font-size: 1.5rem;
    font-weight: 800;
    color: #2D3142;
    text-align: center;
    line-height: 1.55;
    margin-bottom: 20px;
    letter-spacing: 0.3px;
}

/* 画像ラッパー */
.lifestyle-img-wrap {
    width: 100%;
    text-align: center;
    flex-shrink: 0;
}

.lifestyle-img {
    max-height: 350px;
    width: auto;
    max-width: 100%;
    border-radius: 12px;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.1);
    object-fit: contain;
    display: inline-block;
}

/* シーンタグ（削除済みの名残ですが一応維持） */
.lifestyle-tag {
    margin-top: 14px;
    display: inline-block;
    padding: 6px 18px;
    background: #1a1a2e;
    color: #fff;
    border-radius: 50px;
    font-size: 0.8rem;
    font-weight: 700;
    letter-spacing: 1.5px;
    opacity: 0.75;
}

/* スワイプヒント（削除済みの名残） */
.lifestyle-swipe-hint {
    font-size: 0.72rem;
    color: #aaa;
    letter-spacing: 3px;
    padding: 10px 0 16px;
    flex-shrink: 0;
}

/* ページネーションドット（Lifestyle専用：濃いめ） */
.lifestyle-swiper .swiper-pagination-h2 {
    bottom: 10px !important;
}

.lifestyle-swiper .swiper-pagination-bullet {
    background: #aaa;
    opacity: 0.6;
    width: 8px;
    height: 8px;
}

.lifestyle-swiper .swiper-pagination-bullet-active {
    background: #1a1a2e;
    opacity: 1;
    width: 24px;
    border-radius: 4px;
    transition: width 0.3s ease;
}

/* レスポンシブ（スマホ） */
@media (max-width: 768px) {
    .lifestyle-headline {
        font-size: 2rem;
    }

    .lifestyle-header {
        padding: 36px 20px 10px;
    }

    .lifestyle-sub {
        font-size: 1.25rem;
        margin-bottom: 16px;
    }
}
/* iPhone SE / narrow screens (≤480px) */
@media (max-width: 480px) {
    .trust-title-br {
        display: block;
    }

    /* インラインの translateY(-35px) をリセット、ロゴ下に最小限の余白 */
    .trust-section .container {
        transform: translateY(0) !important;
        padding-top: 52px;
    }

    .trust-title {
        font-size: 1.8rem;
        line-height: 1.4;
        margin-bottom: 14px;
        padding: 0 28px;
    }

    .trust-sub-headline {
        font-size: 1rem;
        margin-bottom: 28px;
        padding: 0 28px;
    }

    .trust-images-container {
        height: 150px;
        margin-bottom: 20px;
    }
}

/* iPhone SE (375px and below) */
@media (max-width: 375px) {
    .trust-section .container {
        padding-top: 48px;
    }

    .trust-title {
        font-size: 1.7rem;
        margin-bottom: 12px;
        padding: 0 32px;
    }

    .trust-sub-headline {
        font-size: 0.95rem;
        margin-bottom: 24px;
        padding: 0 32px;
    }

    .trust-images-container {
        height: 140px;
        margin-bottom: 16px;
    }
}

/* ==========================================================================
   Slide 4: Review Section
   ========================================================================== */

.review-slide {
    background: #f5f4f1;
}

.review-section {
    justify-content: center;
    align-items: center;
}

.review-container {
    display: flex;
    flex-direction: column;
    align-items: center;
    padding-top: 0;
}

.review-headline {
    font-size: 2rem;
    font-weight: 900;
    line-height: 1.35;
    letter-spacing: 0.5px;
    text-align: center;
    color: #1a1a1a;
    margin-bottom: 10px;
}

.review-subtext {
    font-size: 0.8rem;
    font-weight: 500;
    color: #999;
    text-align: center;
    letter-spacing: 1px;
    margin-bottom: 32px;
}

.review-cards {
    display: flex;
    flex-direction: column;
    gap: 16px;
    width: 100%;
    max-width: 480px;
}

.review-card {
    background: #ffffff;
    border-radius: 16px;
    padding: 22px 24px;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.06);
    text-align: left;
}

.review-stars {
    font-size: 0.9rem;
    color: #d4af37;
    letter-spacing: 2px;
    margin-bottom: 10px;
}

.review-quote {
    font-size: 1rem;
    font-weight: 600;
    line-height: 1.65;
    color: #1a1a1a;
    margin-bottom: 10px;
}

.review-attribution {
    font-size: 0.78rem;
    font-weight: 400;
    color: #aaa;
    letter-spacing: 0.5px;
}

/* Mobile */
@media (max-width: 768px) {
    .review-headline {
        font-size: 1.7rem;
    }

    .review-cards {
        gap: 12px;
    }

    .review-card {
        padding: 18px 20px;
    }

    .review-quote {
        font-size: 0.95rem;
    }
}

@media (max-width: 375px) {
    .review-headline {
        font-size: 1.55rem;
    }

    .review-subtext {
        margin-bottom: 20px;
    }

    .review-cards {
        gap: 10px;
    }

    .review-card {
        padding: 16px 18px;
        border-radius: 14px;
    }

    .review-quote {
        font-size: 0.9rem;
        line-height: 1.6;
    }
}

/* ==========================================================================
   Slide 7: What's New Section
   ========================================================================== */

.whatsnew-slide {
    background: #fbfafa;
    overflow: hidden;
}

.whatsnew-inner {
    width: 100%;
    height: 100%;
    overflow-y: auto;
    -webkit-overflow-scrolling: touch;
}

.whatsnew-section {
    width: 100%;
    min-height: 100%;
}

.whatsnew-container {
    padding-top: 72px;
    padding-bottom: 48px;
    max-width: 640px;
}

/* Badge */
.whatsnew-badge-wrap {
    text-align: center;
    margin-bottom: 14px;
}

.whatsnew-badge {
    display: inline-block;
    border: 1.5px solid #1a1a1a;
    border-radius: 20px;
    font-size: 0.7rem;
    font-weight: 700;
    letter-spacing: 2px;
    padding: 4px 14px;
    color: #1a1a1a;
}

/* Headline */
.whatsnew-headline {
    font-size: 2rem;
    font-weight: 900;
    line-height: 1.3;
    text-align: center;
    color: #1a1a1a;
    margin-bottom: 10px;
    letter-spacing: 0.5px;
}

.whatsnew-subtext {
    font-size: 0.85rem;
    color: #888;
    text-align: center;
    margin-bottom: 32px;
    letter-spacing: 0.3px;
}

/* Size Comparison Card */
/* Size Comparison: full single image */
.size-full-img {
    width: 100%;
    max-width: 100%;
    height: auto;
    display: block;
    margin-bottom: 32px;
}

/* Updates Header */
.updates-header {
    font-size: 0.82rem;
    font-weight: 600;
    color: #555;
    text-align: center;
    margin-bottom: 24px;
    letter-spacing: 0.5px;
}

/* Feature Blocks */
.update-blocks {
    display: flex;
    flex-direction: column;
    gap: 32px;
    margin-bottom: 28px;
}

.update-block {
    border-top: 1px solid #eee;
    padding-top: 24px;
}

.update-num-badge {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 28px;
    height: 28px;
    background: #1a1a1a;
    color: #fff;
    border-radius: 50%;
    font-size: 0.72rem;
    font-weight: 800;
    margin-bottom: 10px;
    letter-spacing: 0;
}

.update-title {
    font-size: 1.15rem;
    font-weight: 800;
    color: #1a1a1a;
    margin-bottom: 6px;
    letter-spacing: 0.3px;
}

.update-desc {
    font-size: 0.85rem;
    color: #666;
    line-height: 1.7;
    margin-bottom: 16px;
}

.update-img {
    width: 100%;
    max-width: 100%;
    border-radius: 10px;
    object-fit: cover;
    margin-bottom: 14px;
    display: block;
}

/* Page Types Row */
.page-types-row {
    display: flex;
    justify-content: center;
    gap: 20px;
    margin-top: 8px;
}

.page-type-item {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 5px;
}

.page-type-icon {
    width: 44px;
    height: 56px;
    border: 1.5px solid #ccc;
    border-radius: 4px;
    background: #fff;
}

.lined-icon {
    background-image: repeating-linear-gradient(
        transparent, transparent 8px, #ddd 8px, #ddd 9px
    );
    background-position: 0 14px;
}

.dot-icon {
    background-image: radial-gradient(circle, #bbb 1px, transparent 1px);
    background-size: 8px 8px;
    background-position: 7px 7px;
}

.page-type-name {
    font-size: 0.78rem;
    font-weight: 700;
    color: #1a1a1a;
}

.page-type-desc {
    font-size: 0.68rem;
    color: #999;
}

/* Cover Features */
.cover-features-row {
    display: flex;
    gap: 20px;
    justify-content: center;
    margin-top: 8px;
}

.cover-feature-item {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 6px;
    font-size: 0.75rem;
    color: #555;
    text-align: center;
    line-height: 1.5;
}

.cover-feature-icon-img {
    width: 48px;
    height: 48px;
    object-fit: contain;
    border-radius: 50%;
    background: #f4f4f4;
    padding: 6px;
}

/* Weight Info */
.weight-info {
    display: flex;
    align-items: center;
    gap: 14px;
    background: #f7f7f5;
    border-radius: 12px;
    padding: 16px 20px;
    margin-top: 8px;
}

.weight-icon-wrap {
    flex-shrink: 0;
    opacity: 0.75;
}

.weight-text {
    display: flex;
    flex-direction: column;
    gap: 2px;
}

.weight-value {
    font-size: 0.95rem;
    font-weight: 800;
    color: #1a1a1a;
}

.weight-note {
    font-size: 0.75rem;
    color: #888;
    line-height: 1.6;
}

/* Footnote */
.whatsnew-footnote {
    font-size: 0.7rem;
    color: #bbb;
    text-align: center;
    letter-spacing: 0.3px;
}

/* Desktop — Slide 7 のみ */
@media (min-width: 769px) {
    .whatsnew-headline {
        font-size: 2.4rem;
    }

    .size-img-mini { max-height: 204px; }
    .size-img-essential { max-height: 260px; }

    .update-blocks {
        display: grid;
        grid-template-columns: repeat(3, 1fr);
        gap: 24px;
    }

    .update-title {
        font-size: 1.3rem;
    }

    .update-desc {
        font-size: 1rem;
        line-height: 1.75;
    }
}

/* Mobile carousel — Slide 7 の特徴ブロックのみ */
@media (max-width: 767px) {

    /* カルーセル化：水平スクロール + スナップ */
    .update-blocks {
        flex-direction: row;
        overflow-x: auto;
        scroll-snap-type: x mandatory;
        -webkit-overflow-scrolling: touch;
        scrollbar-width: none;
        gap: 12px;
        margin-left: -20px;
        margin-right: -20px;
        padding-left: 20px;
        padding-right: 20px;
        padding-bottom: 20px;
        margin-bottom: 24px;
    }

    .update-blocks::-webkit-scrollbar { display: none; }

    /* 各カード：画面の85%幅で次カードをチラ見せ */
    .update-block {
        flex: 0 0 82%;
        scroll-snap-align: start;
        border-top: none;
        border: 1px solid #e8e8e8;
        border-radius: 16px;
        padding: 18px 16px 16px;
        background: #ffffff;
        box-shadow: 0 2px 12px rgba(0, 0, 0, 0.05);
    }

    .update-title { font-size: 0.95rem; }
    .update-desc  { font-size: 0.78rem; margin-bottom: 12px; }
    .update-img   { border-radius: 8px; margin-bottom: 10px; }
}

/* ============================================================
   Slide 8: Size Comparison Verification  (sc- prefix)
   既存CSSと衝突しない独立したスコープ
   ============================================================ */

.sc-slide {
    background: #fbfafa;
    overflow: hidden;
}

.sc-inner {
    width: 100%;
    height: 100%;
    overflow-y: auto;
    -webkit-overflow-scrolling: touch;
}

.sc-section {
    width: 100%;
    min-height: 100%;
    display: flex;
    align-items: center;
    justify-content: center;
}

.sc-container {
    width: 100%;
    max-width: 680px;
    margin: 0 auto;
    padding: 90px 28px 52px;
    display: flex;
    flex-direction: column;
}

/* ---- つなぎテキスト ---- */
.sc-connect {
    font-size: 0.82rem;
    font-weight: 600;
    color: #aaa;
    text-align: center;
    letter-spacing: 1px;
    margin-bottom: 10px;
}

/* ---- Block 1: 見出しエリア ---- */
.sc-heading-block {
    text-align: center;
    margin-bottom: 28px;
}

.sc-title {
    font-size: 2.3rem;
    font-weight: 900;
    color: #1a1a1a;
    line-height: 1.3;
    letter-spacing: 0.5px;
    margin-bottom: 10px;
}

.sc-subtitle {
    font-size: 0.95rem;
    color: #999;
    letter-spacing: 0.3px;
}

.sc-br {
    display: none;
}

/* ---- Block 2: 比較画像エリア ---- */
.sc-image-block {
    margin-bottom: 32px;
    flex: 0 0 auto;
}

.sc-img {
    width: 100%;
    height: auto;
    display: block;
}

/* ---- Block 3: テキスト情報エリア ---- */
.sc-text-block {
    display: flex;
    gap: 24px;
    border-top: 1px solid #e8e8e6;
    padding-top: 24px;
}

.sc-product-col {
    flex: 1;
    text-align: left;
}

.sc-product-name {
    font-size: 1rem;
    font-weight: 700;
    color: #1a1a1a;
    margin-bottom: 6px;
    line-height: 1.4;
}

.sc-product-note {
    font-size: 0.85rem;
    color: #888;
    line-height: 1.75;
}

/* セパレーター：デスクトップでは非表示 */
.sc-separator {
    display: none;
}

/* ---- Mobile (≤768px): スワイプ競合防止 + 基本コンパクト化 ---- */
@media (max-width: 768px) {
    /* 内部スクロールを止めて親Swiperに縦スワイプを渡す */
    .sc-inner {
        overflow: hidden;
    }

    .sc-container {
        padding: 54px 22px 20px;
    }

    .sc-heading-block {
        margin-bottom: 16px;
    }

    .sc-title {
        font-size: 1.85rem;
    }

    .sc-image-block {
        margin-bottom: 20px;
    }

    /* 比較画像の高さを制限して縦幅を確保 */
    .sc-img {
        max-height: 200px;
        object-fit: contain;
    }

    /* テキストブロックを縦積みに */
    .sc-text-block {
        flex-direction: column;
        gap: 0;
        border-top: none;
        padding-top: 0;
    }

    .sc-product-col {
        padding: 12px 0;
    }

    .sc-product-name {
        font-size: 0.95rem;
        margin-bottom: 6px;
    }

    .sc-product-note {
        font-size: 0.82rem;
        line-height: 1.65;
    }

    .sc-separator {
        display: block;
        width: 100%;
        height: 1px;
        background-color: #e8e8e6;
    }
}

/* ---- Mobile (≤480px): さらにコンパクト化 ---- */
@media (max-width: 480px) {
    .sc-br {
        display: block;
    }

    .sc-container {
        padding: 52px 20px 16px;
    }

    .sc-heading-block {
        margin-bottom: 12px;
    }

    .sc-title {
        font-size: 1.65rem;
    }

    .sc-subtitle {
        font-size: 0.82rem;
    }

    .sc-image-block {
        margin-bottom: 14px;
    }

    .sc-product-col {
        padding: 10px 0;
    }

    .sc-product-name {
        font-size: 0.88rem;
        margin-bottom: 4px;
    }

    .sc-product-note {
        font-size: 0.8rem;
        line-height: 1.6;
    }
}

/* ---- iPhone SE (≤375px) ---- */
@media (max-width: 375px) {
    .sc-container {
        padding: 44px 16px 12px;
    }

    .sc-title {
        font-size: 1.5rem;
    }

    .sc-image-block {
        margin-bottom: 10px;
    }

    .sc-img {
        max-height: 160px;
    }

    .sc-product-col {
        padding: 8px 0;
    }
}

/* ============================================================
   Floating LINE CTA
   ============================================================ */


.floating-line-cta {
    position: fixed;
    bottom: 28px;
    right: 22px;
    min-width: 56px;
    max-width: 56px;
    min-height: 56px;
    background-color: #00B900;
    border-radius: 28px;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 0;
    padding: 0 13px;
    box-shadow: 0 4px 18px rgba(0, 185, 0, 0.45);
    z-index: 9000;
    text-decoration: none;
    opacity: 0;
    transform: scale(0.75);
    transition: opacity 0.3s ease, transform 0.3s ease,
                max-width 0.35s ease, padding 0.3s ease,
                box-shadow 0.3s ease, background-color 0.3s ease;
    pointer-events: none;
    overflow: hidden;
}

.floating-line-cta.is-visible {
    opacity: 1;
    transform: scale(1);
    pointer-events: auto;
}

/* PC（マウスホバー可能なデバイス）のみホバー発動 */
@media (hover: hover) {
    .floating-line-cta:hover {
        max-width: 260px;
        padding: 0 20px;
        background-color: #009900;
        box-shadow: 0 6px 22px rgba(0, 185, 0, 0.6);
    }
}

.floating-line-icon {
    width: 30px;
    height: 30px;
    object-fit: contain;
    flex-shrink: 0;
}

.floating-line-text {
    font-size: 0.72rem;
    font-weight: 700;
    color: rgba(255, 255, 255, 0.95);
    white-space: nowrap;
    letter-spacing: 0.3px;
    text-align: center;
    max-height: 0;
    opacity: 0;
    overflow: hidden;
    transition: max-height 0.25s ease 0.1s, opacity 0.25s ease 0.15s, margin-top 0.25s ease;
    margin-top: 0;
}

@media (hover: hover) {
    .floating-line-cta:hover .floating-line-text {
        max-height: 22px;
        opacity: 1;
        margin-top: 5px;
    }
}

/* モバイル：右下固定・タップでテキスト横展開 */
@media (max-width: 768px) {
    .floating-line-cta {
        bottom: 24px;
        left: auto;
        right: 16px;
        width: auto;
        max-width: 52px;
        height: 52px;
        min-height: unset;
        border-radius: 26px;
        padding: 0 14px;
        flex-direction: row;
        gap: 0;
        background-color: rgba(0, 185, 0, 0.78);
        transform: scale(0.75);
        transform-origin: right bottom;
        overflow: hidden;
        transition: opacity 0.3s ease, transform 0.3s ease,
                    max-width 0.35s ease, background-color 0.3s ease,
                    box-shadow 0.3s ease;
    }

    .floating-line-cta.is-visible {
        transform: scale(1);
    }

    .floating-line-icon {
        width: 24px;
        height: 24px;
        flex-shrink: 0;
    }

    /* テキスト：初期は非表示、is-expanded で横展開 */
    .floating-line-text {
        display: block;
        max-width: 0;
        max-height: unset;
        opacity: 0;
        margin-top: 0;
        margin-left: 0;
        font-size: 0.67rem;
        white-space: nowrap;
        overflow: hidden;
        transition: max-width 0.35s ease, opacity 0.25s ease, margin-left 0.25s ease;
    }

    /* 1タップ目：カプセル型に横展開 */
    .floating-line-cta.is-expanded {
        max-width: 260px;
        background-color: rgba(0, 153, 0, 0.95);
        box-shadow: 0 6px 22px rgba(0, 185, 0, 0.55);
    }

    .floating-line-cta.is-expanded .floating-line-text {
        max-width: 200px;
        opacity: 1;
        margin-left: 8px;
    }
}
