/* ===============================================================
   Core & Curve LP — Design System
   グラスモーフィズム × 静かなラグジュアリー
=============================================================== */

:root {
    --bg-color: #242122;
    --bg-glass: rgba(255, 255, 255, 0.05);
    --line-glass: rgba(255, 255, 255, 0.12);
    --line-glass-light: rgba(255, 255, 255, 0.28);
    --line-pink: rgba(225, 166, 180, 0.3);
    --line-gold: rgba(219, 192, 158, 0.2);
    --text-main: #ffffff;
    --text-sub: #c9bbc1;
    --accent-pink: #e1a6b4;
    --accent-gold: #dbc09e;
    --glow-pink: rgba(225, 166, 180, 0.25);
    --glow-gold: rgba(219, 192, 158, 0.15);
    --shadow-glass: 0 8px 32px 0 rgba(0, 0, 0, 0.4);
}

/* ===========================
   ベース
=========================== */
body {
    margin: 0;
    padding: 0;
    background: linear-gradient(135deg, #322b2d 0%, #151314 100%);
    background-attachment: fixed;
    color: var(--text-main);
    font-family: 'Shippori Mincho', 'Noto Serif JP', serif;
    font-size: 16px;
    line-height: 2.2;
    letter-spacing: 0.12em;
    text-align: center;
    -webkit-font-smoothing: antialiased;

    /* --- 端末ごとの綺麗な改行設定（意味のまとまりで折り返す） --- */
    /* 基本は単語の途中で改行しない（CJK向け） */
    word-break: keep-all;
    /* ただし、画面幅に収まらない場合に限り折り返す（レイアウト崩れ防止） */
    overflow-wrap: anywhere;
    /* 句読点が行頭に来るのを防ぐ */
    line-break: strict;
    /* 最新ブラウザ(Chrome等)向け：自然な文節での改行を有効化 */
    word-break: auto-phrase;

    /* ブラウザによる自動フォントサイズ調整を無効化（LINE/Safari間差異防止） */
    -webkit-text-size-adjust: 100%;
}

html, body {
    height: 100dvh;
    /* スクロール連動エフェクトのために基本はscrollを許可 */
}

/* 操作ロック用クラス：スクロールとスワイプを無効化（高さ固定は崩れるため不使用） */
body.is-locked {
    overflow: hidden !important;
    touch-action: none;
}

/* 見出しは均等な行長に */
h1, h2, h3 {
    text-wrap: balance;
}

/* 本文は語の意味で折り返し */
p, li {
    text-wrap: pretty;
}

/* 一行固定（スマホでも文字サイズを調整して収める） */
.u-one-line {
    white-space: nowrap;
    display: inline-block;
    max-width: 100%;
    /* 非常に狭い画面では自動的に少し縮小（コンテナに合わせる） */
    font-size: clamp(14px, 5vw, 20px) !important;
}

/* 背景光エフェクト */
.light-effect {
    position: fixed;
    top: 0;
    left: 0;
    width: 100vw;
    height: 100dvh;
    background:
        radial-gradient(circle at 15% 30%, var(--glow-pink) 0%, transparent 50%),
        radial-gradient(circle at 85% 70%, var(--glow-gold) 0%, transparent 50%);
    pointer-events: none;
    z-index: 0;
}

/* 未来を感じさせる輝きのエフェクト */
.future-glow {
    position: relative;
    display: inline-block;
    overflow: hidden;
}

.future-glow .glow-text {
    position: relative;
    z-index: 2;
    color: var(--accent-pink);
    text-shadow: 0 0 15px rgba(255, 255, 255, 0.8), 0 0 30px rgba(225, 166, 180, 0.4);
    animation: futureGlow 3s ease-in-out infinite;
    will-change: text-shadow;
}



@keyframes futureGlow {
    0%, 100% { 
        text-shadow: 0 0 15px rgba(255, 255, 255, 0.6), 0 0 30px rgba(225, 166, 180, 0.3);
    }
    50% { 
        text-shadow: 0 0 25px rgba(255, 255, 255, 1), 0 0 50px rgba(225, 166, 180, 0.8);
    }
}



.container {
    position: relative;
    z-index: 1;
    max-width: 500px;
    margin: 0 auto;
    padding: 0 24px env(safe-area-inset-bottom);
}

section {
    padding: 60px 0;
    position: relative;
}

/* ===========================
   セクションタイトル
=========================== */
h2.section-title {
    font-size: 20px;
    font-weight: 500;
    text-align: center;
    color: var(--accent-gold);
    margin-bottom: 50px;
    line-height: 1.6;
    letter-spacing: 0.15em;
}

h2.section-title span.en {
    display: block;
    font-size: 11px;
    color: var(--accent-pink);
    margin-bottom: 8px;
    letter-spacing: 0.2em;
    text-transform: uppercase;
}

/* ===========================
   FV（ファーストビュー）
=========================== */
.fv {
    padding: 100px 0 60px;
    text-align: center;
    transition: opacity 1.0s ease, filter 1.0s ease;
}

.fv.is-hidden {
    opacity: 0;
    filter: blur(10px);
    pointer-events: none;
}

.fv-logo {
    font-size: 32px;
    font-weight: 600;
    color: var(--accent-gold);
    letter-spacing: 0.1em;
    margin-bottom: 20px;
    font-family: sans-serif;
}

.fv-subtitle {
    font-size: 13px;
    color: var(--accent-pink);
    letter-spacing: 0.2em;
    margin-bottom: 40px;
}

/* FVロゴ画像 */
.fv-logo-img {
    max-width: 200px;
    height: auto;
    margin: 0 auto 30px auto;
    display: block;
    filter: drop-shadow(0 4px 15px rgba(219, 192, 158, 0.4));
}

/* ===========================
   FVスワップアニメーション
   [頑張る〜] → [忙しくても〜] 入れ替え
=========================== */
.fv-swap-wrap {
    position: relative;
    width: 100%;
    height: 280px;
    margin: 20px auto 0;
}

.fv-catch {
    font-size: 26px;
    line-height: 1.8;
    position: absolute;
    width: 100%;
    left: 0;
    top: 0;
    text-align: center;
    margin: 0;
    padding: 0;
}

/* 忙しくても〜：スワップ後のメインコピー */
.fv-main-copy {
    font-size: 26px;
    font-weight: 600;
    line-height: 1.6;
    position: absolute;
    width: 100%;
    left: 0;
    top: 0;
    text-align: center;
    margin: 0;
    color: var(--accent-pink);
}

/* ===========================
   テキストカラー
=========================== */
.t-pink { color: var(--accent-pink); font-weight: 500; }
.t-gold { color: var(--accent-gold); font-weight: 500; }
.t-sub  { color: var(--text-sub); font-size: 0.9em; }

/* ===========================
   ストーリーブロック
=========================== */
.story-block {
    margin-bottom: 60px;
}
.story-block p {
    margin-bottom: 30px;
    font-size: 15px;
}

/* ===========================
   グラスモーフィズム共通
=========================== */
.glass-panel {
    background: var(--bg-glass);
    backdrop-filter: blur(20px);
    -webkit-backdrop-filter: blur(20px);
    border: 1px solid var(--line-glass);
    border-top: 1px solid var(--line-glass-light);
    border-left: 1px solid var(--line-glass-light);
    border-radius: 12px;
    box-shadow: var(--shadow-glass);
}

/* モノローググラスパネル */
.monologue {
    padding: 30px;
    margin: 40px 0;
    font-size: 16px;
    line-height: 2;
    background: var(--bg-glass);
    backdrop-filter: blur(20px);
    -webkit-backdrop-filter: blur(20px);
    border: 1px solid var(--line-glass);
    border-left: 2px solid var(--accent-pink);
    border-radius: 4px 12px 12px 4px;
    box-shadow: var(--shadow-glass);
}

/* ===========================
   診断チェックリスト
=========================== */
.checklist-box {
    background: var(--bg-glass);
    backdrop-filter: blur(20px);
    -webkit-backdrop-filter: blur(20px);
    border: 1px solid var(--line-glass);
    border-top: 1px solid var(--line-glass-light);
    border-left: 1px solid var(--line-glass-light);
    border-radius: 16px;
    padding: 40px 24px;
    margin-bottom: 40px;
    position: relative;
    box-shadow: var(--shadow-glass);
}

/* 四隅の装飾 */
.corner { position: absolute; width: 12px; height: 12px; border: 1px solid rgba(255,255,255,0.4); }
.top-left    { top: -4px; left: -4px;   border-right: none;  border-bottom: none; }
.top-right   { top: -4px; right: -4px;  border-left: none;   border-bottom: none; }
.bottom-left { bottom: -4px; left: -4px;  border-right: none; border-top: none; }
.bottom-right{ bottom: -4px; right: -4px; border-left: none;  border-top: none; }

.check-list {
    list-style: none;
    padding: 0;
    margin: 0;
    text-align: left;
}

.check-list li {
    margin-bottom: 14px;
}

.check-label {
    display: flex;
    align-items: flex-start;
    gap: 12px;
    font-size: 14px;
    line-height: 1.7;
    cursor: pointer;
}

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

.custom-check {
    flex-shrink: 0;
    width: 18px;
    height: 18px;
    border: 1px solid rgba(255,255,255,0.45);
    background: rgba(255,255,255,0.08);
    border-radius: 3px;
    margin-top: 2px;
    position: relative;
    transition: background 0.2s ease, border-color 0.2s ease;
}

.check-label input:checked + .custom-check {
    background: var(--accent-pink);
    border-color: var(--accent-pink);
}

.check-label input:checked + .custom-check::after {
    content: '✓';
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    color: white;
    font-size: 11px;
    font-family: sans-serif;
}

/* 診断ボタン */
.btn-ig {
    display: block;
    width: 100%;
    padding: 24px 20px;
    border: 1px solid rgba(255, 255, 255, 0.4);
    background: rgba(255, 255, 255, 0.08);
    backdrop-filter: blur(16px);
    -webkit-backdrop-filter: blur(16px);
    color: var(--text-main);
    text-align: center;
    text-decoration: none;
    font-size: 16px;
    font-family: 'Shippori Mincho', serif;
    letter-spacing: 0.12em;
    cursor: pointer;
    transition: all 0.3s ease;
    box-sizing: border-box;
    margin-bottom: 16px;
    border-radius: 30px;
    box-shadow: 0 4px 15px rgba(225, 166, 180, 0.15);
}
.btn-ig:hover {
    background: rgba(255, 255, 255, 0.15);
    transform: translateY(-2px);
}

/* 診断結果ボックス（モーダル内用） */
.result-box {
    padding: 24px 0;
    border-bottom: 1px solid var(--line-glass);
}
.result-box:last-child { border-bottom: none; }
.result-count {
    font-size: 13px;
    color: var(--accent-pink);
    margin-bottom: 8px;
}
.result-title {
    font-size: 16px;
    font-weight: 500;
    color: var(--text-main);
    margin-bottom: 8px;
}
.result-desc {
    font-size: 13px;
    color: var(--text-sub);
}

/* ===========================
   メソッド・プログラムリスト
=========================== */
.ul-styled {
    list-style: none;
    padding-left: 0;
    text-align: left;
    max-width: 360px;
    margin: 0 auto;
}
.ul-styled li {
    position: relative;
    padding-left: 1.5em;
    margin-bottom: 12px;
}
.ul-styled li::before {
    content: "✔";
    position: absolute;
    left: 0;
    color: var(--accent-gold);
    font-family: sans-serif;
    font-size: 0.9em;
}

/* ===========================
   料金カード
=========================== */
.price-card {
    background: var(--bg-glass);
    backdrop-filter: blur(24px);
    -webkit-backdrop-filter: blur(24px);
    border: 1px solid var(--line-glass);
    border-top: 1px solid var(--line-glass-light);
    border-left: 1px solid var(--line-glass-light);
    border-radius: 20px;
    padding: 40px 24px;
    margin-bottom: 30px;
    text-align: center;
    box-shadow: var(--shadow-glass);
    scroll-fade: none;
}
.price-badge {
    display: inline-block;
    color: var(--bg-color);
    background: var(--accent-gold);
    padding: 4px 16px;
    font-size: 11px;
    font-family: sans-serif;
    font-weight: bold;
    letter-spacing: 0.1em;
    margin-bottom: 20px;
    border-radius: 4px;
}
.price-title  { font-size: 18px; font-weight: 500; margin-bottom: 12px; }
.price-amount {
    font-size: 24px;
    font-family: sans-serif;
    color: var(--accent-gold);
    margin-bottom: 24px;
}
.price-features {
    text-align: left;
    font-size: 13px;
    color: var(--text-sub);
}

/* ===========================
   レビュー・お客様の声カード
=========================== */
/* さりげない中間CTA用：グラスモーフィズム・ボタン */
.btn-glass-cta {
    display: inline-block;
    padding: 10px 28px;
    background: rgba(255, 255, 255, 0.03);
    border: 1px solid rgba(219, 192, 158, 0.4);
    border-radius: 100px;
    color: var(--accent-gold);
    font-size: 13px;
    letter-spacing: 0.1em;
    text-decoration: none;
    transition: all 0.4s cubic-bezier(0.2, 0.8, 0.2, 1);
    backdrop-filter: blur(8px);
    margin-top: 20px;
}
.btn-glass-cta:hover {
    background: rgba(219, 192, 158, 0.08);
    border-color: var(--accent-pink);
    color: var(--accent-pink);
    transform: translateY(-2px);
    box-shadow: 0 4px 15px rgba(225, 166, 180, 0.15);
}

.review-card {
    background: var(--bg-glass);
    backdrop-filter: blur(20px);
    -webkit-backdrop-filter: blur(20px);
    border: 1px solid var(--line-glass);
    border-top: 1px solid var(--line-glass-light);
    border-radius: 15px;
    padding: 20px;
    margin-bottom: 20px;
    text-align: left;
    position: relative;
    box-shadow: var(--shadow-glass);
}
.review-card .name {
    font-weight: bold;
    font-size: 14px;
    color: var(--accent-pink);
    margin-bottom: 8px;
}
.review-card .stats {
    font-size: 13px;
    color: var(--accent-gold);
    margin-bottom: 15px;
}
.btn-detail {
    display: inline-block;
    padding: 6px 16px;
    font-size: 12px;
    background: rgba(255, 255, 255, 0.1);
    border: 1px solid var(--line-glass-light);
    color: var(--text-main);
    border-radius: 20px;
    cursor: pointer;
    transition: all 0.2s ease;
}
.btn-detail:hover {
    background: rgba(255, 255, 255, 0.2);
}

/* ===========================
   FAQ
=========================== */
.faq-item {
    margin-bottom: 30px;
    background: var(--bg-glass);
    backdrop-filter: blur(20px);
    -webkit-backdrop-filter: blur(20px);
    padding: 20px;
    border-radius: 12px;
    border: 1px solid var(--line-glass);
    border-top: 1px solid var(--line-glass-light);
    text-align: left;
}
.faq-q {
    font-weight: 500;
    color: var(--accent-gold);
    margin-bottom: 8px;
}
.faq-a {
    font-size: 14px;
    color: var(--text-sub);
    line-height: 1.8;
}

/* ===========================
   写真スタイル
=========================== */
.img-fluid {
    width: 100%;
    height: auto;
    border-radius: 12px;
    margin: 30px 0;
    box-shadow: var(--shadow-glass);
    border: 1px solid var(--line-glass);
    border-top: 1px solid var(--line-glass-light);
    object-fit: cover;
    display: block;
}
.profile-image, .project-image, .monitor-image {
    text-align: center;
}
.btn-subtext {
    display: block;
    font-size: 11px;
    color: var(--accent-pink);
    margin-bottom: 4px;
}

/* ===========================
   LINEボタン・SNSリンク
=========================== */
.btn-line-full {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
    width: 100%;
    padding: 18px 24px;
    background: linear-gradient(135deg, #00B900 0%, #00A800 100%);
    color: white;
    text-decoration: none;
    font-size: 16px;
    font-family: sans-serif;
    font-weight: bold;
    letter-spacing: 0.05em;
    border-radius: 30px;
    box-sizing: border-box;
    transition: all 0.3s ease;
    box-shadow: 0 6px 20px rgba(0, 185, 0, 0.35);
}
.btn-line-full:hover {
    transform: translateY(-2px);
    box-shadow: 0 10px 28px rgba(0, 185, 0, 0.5);
}

.sns-circle {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 52px;
    height: 52px;
    border-radius: 50%;
    background: var(--bg-glass);
    backdrop-filter: blur(16px);
    -webkit-backdrop-filter: blur(16px);
    border: 1px solid var(--line-glass-light);
    color: var(--text-main);
    text-decoration: none;
    transition: all 0.3s ease;
    box-shadow: var(--shadow-glass);
}
.sns-circle:hover {
    background: rgba(255, 255, 255, 0.15);
    transform: translateY(-2px);
}

/* ===========================
   フッター
=========================== */
footer {
    text-align: center;
    padding: 60px 0 40px;
    font-size: 11px;
    color: var(--text-sub);
    font-family: sans-serif;
    letter-spacing: 0.1em;
}
.sns-links {
    display: flex;
    justify-content: center;
    gap: 16px;
    margin-bottom: 24px;
}
.sns-links a {
    color: var(--text-sub);
    text-decoration: none;
    font-size: 12px;
    letter-spacing: 0.1em;
    border-bottom: 1px solid transparent;
    transition: all 0.3s ease;
}
.sns-links a:hover {
    color: var(--accent-pink);
    border-color: var(--accent-pink);
}

/* ===========================
   ① FVアニメーション（順次登場）
   ロゴ → Strength → 頑張る〜 → 忙しくても〜
=========================== */

/* ロゴ */
.animate-delay-1 {
    opacity: 0;
    animation: fadeInUp 1.2s cubic-bezier(0.2, 0.8, 0.2, 1) forwards 0.5s;
}

/* "Strength with softness." */
.animate-delay-2 {
    opacity: 0;
    animation: fadeInUp 1.2s cubic-bezier(0.2, 0.8, 0.2, 1) forwards 1.5s;
}

/* "頑張る腹筋〜変わる"：登場後 → スライドダウン退場 */
.animate-delay-3 {
    opacity: 0;
    animation:
        fadeInUp   1.4s cubic-bezier(0.2, 0.8, 0.2, 1) forwards 2.5s,
        slideDownOut 0.8s cubic-bezier(0.4, 0, 0.2, 1) forwards 5.0s;
}

/* "忙しくても〜身体へ。"：上と同時に入れ替わり */
.animate-delay-4 {
    opacity: 0;
    transform: translateY(80px);
    z-index: 10;
    animation: slideUpIn 0.8s cubic-bezier(0.2, 0.8, 0.2, 1) forwards 5.0s;
}

/* スクロール誘導（矢印） */
.animate-delay-5 {
    opacity: 0;
    animation: scrollHintFade 1.2s ease-out forwards 6.0s;
}

/* フェードイン+上昇（共通） */
@keyframes fadeInUp {
    0%   { opacity: 0; transform: translateY(24px); }
    100% { opacity: 1; transform: translateY(0); }
}

/* 下からスライドイン */
@keyframes slideUpIn {
    0%   { opacity: 0; transform: translateY(80px); }
    100% { opacity: 1; transform: translateY(0); }
}

/* 下へスライドしてフェードアウト */
@keyframes slideDownOut {
    0%   { opacity: 1; transform: translateY(0); }
    100% { opacity: 0; transform: translateY(60px); }
}

/* ===========================
   ② スクロールフェードイン
   .scroll-fade → .is-visible で浮き上がる
=========================== */
.scroll-fade {
    opacity: 0;
    transform: translateY(32px);
    transition:
        opacity  0.8s cubic-bezier(0.2, 0.8, 0.2, 1),
        transform 0.8s cubic-bezier(0.2, 0.8, 0.2, 1);
    transition-delay: 0.15s;
}
.scroll-fade.is-visible {
    opacity: 1;
    transform: translateY(0);
}

/* ===========================
   ③ ピンク・ゴールド文字の静かな光
   .glow-reveal → .is-glowing でゆっくり光る
=========================== */
.glow-reveal {
    opacity: 0;
    transition:
        opacity 1.4s ease,
        color   1.4s ease,
        text-shadow 1.4s ease;
}
.glow-reveal.is-glowing {
    opacity: 1;
}

/* ゆっくりとした重みのある出現（ネガティブ・内省用） */
.scroll-fade-slow {
    transition:
        opacity  1.5s cubic-bezier(0.2, 0.8, 0.2, 1),
        transform 1.5s cubic-bezier(0.2, 0.8, 0.2, 1);
}
.scroll-fade-slower {
    transition:
        opacity  2.2s cubic-bezier(0.2, 0.8, 0.2, 1),
        transform 2.2s cubic-bezier(0.2, 0.8, 0.2, 1);
}

/* 希望に満ちた輝きの強調（ポジティブ用） */
.hope-shine {
    display: inline-block;
    font-size: 1.3rem;
    font-weight: 600;
    color: var(--accent-gold);
    opacity: 0;
    transform: scale(0.95);
    transition: all 2s cubic-bezier(0.2, 0.8, 0.2, 1);
}
.hope-shine.is-visible {
    opacity: 1;
    transform: scale(1);
    text-shadow: 0 0 25px rgba(219, 192, 158, 0.9), 0 0 45px rgba(255, 255, 255, 0.4);
}

/* 空白から浮かび上がる演出 */
.emerge-reveal {
    opacity: 0;
    filter: blur(8px);
    transform: scale(0.95);
    transition: 
        opacity 1.5s ease-out,
        filter 1.5s ease-out,
        transform 1.5s ease-out;
}
.emerge-reveal.is-visible {
    opacity: 1;
    filter: blur(0);
    transform: scale(1);
}

/* ピンクの光 */
.t-pink .glow-reveal,
span.glow-reveal.t-pink,
.t-pink.glow-reveal {
    color: transparent;
}
.t-pink .glow-reveal.is-glowing,
span.glow-reveal.t-pink.is-glowing,
.t-pink.glow-reveal.is-glowing {
    color: var(--accent-pink);
    text-shadow: 0 0 20px rgba(225, 166, 180, 0.6);
}

/* ゴールドの光 */
.t-gold .glow-reveal,
span.glow-reveal.t-gold,
.t-gold.glow-reveal {
    color: transparent;
}
.t-gold .glow-reveal.is-glowing,
span.glow-reveal.t-gold.is-glowing,
.t-gold.glow-reveal.is-glowing {
    color: var(--accent-gold);
    text-shadow: 0 0 20px rgba(219, 192, 158, 0.7);
}

/* ===========================
   ④ スクロール誘導のスタイル
=========================== */
.scroll-hint {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 8px;
    /* initial opacity handled by animate-delay-5 */
}

.scroll-text {
    font-size: 10px;
    letter-spacing: 0.3em;
    text-transform: uppercase;
    color: rgba(255, 255, 255, 0.8);
    font-family: sans-serif;
}

/* 細い下矢印 (V型) */
.scroll-arrow {
    width: 10px;
    height: 10px;
    border-right: 1.5px solid rgba(255, 255, 255, 0.8);
    border-bottom: 1.5px solid rgba(255, 255, 255, 0.8);
    transform: rotate(45deg);
    /* animate-delay-5 の表示タイミングと辻褄を合わせる（6.0s + 0.4s） */
    animation: scrollArrowBounce 1.2s ease-in-out 3 6.4s;
    opacity: 0;
    animation-fill-mode: forwards;
}

@keyframes scrollHintFade {
    0% { opacity: 0; transform: translateY(10px); }
    100% { opacity: 1; transform: translateY(0); }
}

@keyframes scrollArrowBounce {
    0%, 100% { transform: rotate(45deg) translate(0, 0); opacity: 0.8; }
    50% { transform: rotate(45deg) translate(8px, 8px); opacity: 1; }
}

/* ===========================
   診断結果モーダル
=========================== */
.modal-overlay {
    display: none;
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100dvh;
    background: rgba(0, 0, 0, 0.65);
    backdrop-filter: blur(8px);
    -webkit-backdrop-filter: blur(8px);
    z-index: 9999;
    align-items: center;
    justify-content: center;
    padding: 20px;
    box-sizing: border-box;
    opacity: 0;
    transition: opacity 0.4s ease;
}
.modal-overlay.is-open {
    opacity: 1;
}
.modal-glass {
    background: rgba(36, 33, 34, 0.97);
    backdrop-filter: blur(30px);
    -webkit-backdrop-filter: blur(30px);
    border: 1px solid rgba(255, 255, 255, 0.15);
    border-top: 1px solid rgba(255, 255, 255, 0.30);
    border-left: 1px solid rgba(255, 255, 255, 0.20);
    border-radius: 24px;
    padding: 48px 28px 36px;
    max-width: 360px;
    width: 100%;
    max-height: 85vh;
    overflow-y: auto;
    position: relative;
    text-align: center;
    box-shadow: 0 24px 64px rgba(0, 0, 0, 0.7);
    transform: translateY(40px) scale(0.95);
    transition: transform 0.45s cubic-bezier(0.2, 0.8, 0.2, 1);
}
.modal-overlay.is-open .modal-glass {
    transform: translateY(0) scale(1);
}
.modal-close {
    position: absolute;
    top: 14px;
    right: 18px;
    background: none;
    border: none;
    color: rgba(255, 255, 255, 0.35);
    font-size: 20px;
    cursor: pointer;
    padding: 6px 10px;
    line-height: 1;
    transition: color 0.2s ease;
    font-family: sans-serif;
}
.modal-close:hover { color: rgba(255, 255, 255, 0.8); }

.modal-count {
    font-size: 12px;
    color: var(--accent-pink);
    letter-spacing: 0.15em;
    margin-bottom: 14px;
    font-family: sans-serif;
}
.modal-type {
    font-size: 22px;
    font-weight: 600;
    margin-bottom: 10px;
    font-family: sans-serif;
    letter-spacing: 0.05em;
}
.modal-label-text {
    font-size: 15px;
    font-weight: 500;
    color: var(--text-main);
    margin-bottom: 16px;
    line-height: 1.7;
}
.modal-desc {
    font-size: 14px;
    color: var(--text-sub);
    line-height: 2.0;
    margin-bottom: 8px;
}
