
        /* ===== 全局重置 & 基础 ===== */
        * {
            margin: 0;
            padding: 0;
            box-sizing: border-box;
            font-family: system-ui, -apple-system, 'Segoe UI', Roboto, 'Helvetica Neue', 'Hiragino Sans', 'Noto Sans JP', sans-serif;
        }
        html,
        body {
            width: 100%;
            max-width: 100%;
            overflow-x: hidden;
        }
        body {
            background: linear-gradient(135deg, #fff8eb 0%, #eefbf7 38%, #eef4ff 72%, #f8f0ff 100%);
            color: #172033;
            padding: 12px;
            min-height: 100vh;
            display: flex;
            justify-content: center;
            align-items: flex-start;
        }
        .app {
            max-width: 520px;
            width: 100%;
            background: rgba(255,255,255,0.86);
            border: 1px solid rgba(255,255,255,0.75);
            border-radius: 28px;
            box-shadow: 0 24px 60px rgba(31,41,55,0.16);
            padding: 16px 16px 28px;
            position: relative;
            overflow: hidden;
            backdrop-filter: blur(14px);
        }
        .app::before {
            display: none;
        }
        /* ===== ヘッダー ===== */
        .header {
            display: flex;
            justify-content: space-between;
            align-items: center;
            margin: 4px 0 16px;
            position: relative;
            z-index: 50;
            flex-wrap: wrap;
            gap: 8px;
        }
        .header h1 {
            display: flex;
            align-items: center;
            font-size: 21px;
            font-weight: 800;
            color: #111827;
            letter-spacing: 0;
            flex: 1;
            min-width: 180px;
            line-height: 1.1;
        }
        .header-actions {
            display: flex;
            align-items: center;
            gap: 8px;
            margin-left: auto;
            min-width: 0;
        }
        .header .badge {
            background: rgba(255,255,255,0.74);
            border: 1px solid rgba(99,102,241,0.14);
            color: #334155;
            font-size: 11px;
            font-weight: 600;
            padding: 7px 12px;
            border-radius: 30px;
            white-space: nowrap;
            box-shadow: 0 8px 18px rgba(15,23,42,0.06);
            overflow: hidden;
            text-overflow: ellipsis;
        }
        /* ===== 语言切换 ===== */
        .language-picker {
            position: relative;
            z-index: 60;
        }
        .language-select-wrap {
            position: relative;
        }
        .language-select-wrap i {
            position: absolute;
            left: 10px;
            top: 50%;
            transform: translateY(-50%);
            color: #0f766e;
            font-size: 12px;
            pointer-events: none;
            z-index: 1;
        }
        .language-select {
            background: rgba(255,255,255,0.78);
            border: 1px solid rgba(15,118,110,0.16);
            color: #172033;
            padding: 6px 28px 6px 28px;
            border-radius: 30px;
            font-size: 11px;
            font-weight: 600;
            cursor: pointer;
            transition: 0.2s;
            white-space: nowrap;
            max-width: 150px;
            outline: none;
        }
        .language-select:focus { box-shadow: 0 0 0 3px rgba(20,184,166,0.14); }
        .google-translate-host {
            position: absolute;
            left: -9999px;
            top: -9999px;
            width: 1px;
            height: 1px;
            overflow: hidden;
        }
        .goog-te-banner-frame,
        .goog-te-banner-frame.skiptranslate,
        .goog-te-gadget,
        .goog-logo-link,
        .goog-te-balloon-frame,
        .goog-tooltip,
        .VIpgJd-ZVi9od-ORHb-OEVmcd,
        .VIpgJd-ZVi9od-aZ2wEe-wOHMyf,
        body > .skiptranslate {
            display: none !important;
            visibility: hidden !important;
        }
        html.translated-ltr,
        html.translated-rtl,
        body {
            top: 0 !important;
            margin-top: 0 !important;
        }
        /* ===== 为替サマリーカード ===== */
        .summary-card {
            background: linear-gradient(135deg, #111827 0%, #143f47 45%, #75511d 100%);
            border-radius: 24px;
            padding: 22px 20px 18px;
            color: white;
            margin-bottom: 16px;
            position: relative;
            z-index: 1;
            box-shadow: 0 18px 36px rgba(17,24,39,0.26);
            border: 1px solid rgba(255,255,255,0.12);
            overflow: hidden;
        }
        .summary-card::before {
            content: '';
            position: absolute;
            left: 0;
            right: 0;
            top: 0;
            height: 4px;
            background: linear-gradient(90deg, #14b8a6, #3b82f6, #f59e0b);
        }
        .summary-card .label {
            font-size: 13px;
            color: #c7f9ef;
            opacity: 1;
            font-weight: 700;
            display: flex;
            align-items: center;
            gap: 6px;
        }
        .summary-card .rate-row {
            display: flex;
            justify-content: space-between;
            align-items: flex-end;
            margin-top: 10px;
            gap: 12px;
            flex-wrap: wrap;
        }
        .summary-card .rate-main {
            font-size: 36px;
            font-weight: 850;
            letter-spacing: 0;
            line-height: 1;
            display: inline-flex;
            align-items: flex-end;
            flex-wrap: wrap;
            gap: 2px;
        }
        .summary-card .rate-main small {
            font-size: 18px;
            font-weight: 400;
            opacity: 0.8;
            margin-left: 4px;
            display: inline-flex;
        }
        .btc-logo-set {
            display: inline-flex;
            align-items: center;
            gap: 2px;
            white-space: nowrap;
            vertical-align: -0.24em;
        }
        .btc-logo-set .btc-logo {
            width: 1.08em;
            height: 1.08em;
            object-fit: contain;
            display: block;
            flex: 0 0 auto;
        }
        .btc-logo-set.logo-title {
            margin-right: 6px;
            vertical-align: -0.22em;
        }
        .btc-logo-set.logo-title .btc-logo {
            width: 1em;
            height: 1em;
        }
        .btc-logo-set.logo-unit {
            gap: 1px;
            margin-left: 4px;
        }
        .btc-logo-set.logo-unit .btc-logo {
            width: 0.95em;
            height: 0.95em;
        }
        .btc-logo-set.logo-inline {
            margin: 0 2px;
        }
        .summary-card .change {
            background: rgba(20,184,166,0.18);
            border: 1px solid rgba(187,247,208,0.24);
            padding: 7px 12px;
            border-radius: 40px;
            font-size: 12px;
            font-weight: 700;
            color: #bbf7d0;
            white-space: nowrap;
        }
        .summary-card .meta {
            display: flex;
            justify-content: space-between;
            gap: 10px;
            flex-wrap: wrap;
            margin-top: 16px;
            padding-top: 14px;
            border-top: 1px solid rgba(255,255,255,0.12);
            font-size: 12px;
            color: rgba(255,255,255,0.76);
        }
        /* ===== 計算機 ===== */
        .calculator-card {
            background: linear-gradient(145deg, rgba(255,255,255,0.98), rgba(239,252,247,0.94));
            border-radius: 20px;
            padding: 18px 18px 20px;
            margin-bottom: 16px;
            border: 1px solid rgba(20,184,166,0.14);
            position: relative;
            z-index: 1;
            box-shadow: 0 14px 32px rgba(15,23,42,0.08);
        }
        .calculator-card .calc-title {
            font-weight: 800;
            font-size: 15px;
            color: #112034;
            margin-bottom: 14px;
        }
        .calc-row {
            display: flex;
            gap: 12px;
            align-items: center;
            flex-wrap: wrap;
        }
        .calc-row .field-group {
            flex: 1;
            min-width: 100px;
        }
        .calc-row .field-group label {
            display: block;
            font-size: 11px;
            font-weight: 700;
            color: #64748b;
            margin-bottom: 4px;
            letter-spacing: 0;
        }
        .calc-row .field-group select,
        .calc-row .field-group input {
            width: 100%;
            padding: 13px 14px;
            border-radius: 16px;
            border: 1px solid #dbe7e5;
            background: rgba(255,255,255,0.92);
            font-size: 16px;
            font-weight: 700;
            color: #172033;
            outline: none;
            transition: 0.2s;
            appearance: auto;
        }
        .calc-row .field-group select:focus,
        .calc-row .field-group input:focus {
            border-color: #14b8a6;
            box-shadow: 0 0 0 3px rgba(20,184,166,0.14);
        }
        .calc-result {
            margin-top: 16px;
            background: linear-gradient(135deg, #172033, #0f766e);
            border-radius: 16px;
            padding: 16px 18px;
            border: 1px solid rgba(255,255,255,0.12);
            display: flex;
            justify-content: space-between;
            align-items: center;
            gap: 10px;
            box-shadow: 0 12px 24px rgba(15,118,110,0.18);
        }
        .calc-result .result-label {
            font-size: 13px;
            color: rgba(255,255,255,0.72);
        }
        .calc-result .result-value {
            font-size: 26px;
            font-weight: 850;
            color: #ffffff;
            letter-spacing: 0;
            text-align: right;
        }
        .calc-result .result-value small {
            font-size: 16px;
            font-weight: 400;
            color: #a7f3d0;
            margin-left: 4px;
        }
        .calc-hint {
            font-size: 12px;
            color: #64748b;
            margin-top: 10px;
            text-align: right;
        }
        /* ===== プロモーション・モジュール ===== */
        .promo-card {
            background: linear-gradient(135deg, #fff7ed 0%, #ecfdf5 50%, #eff6ff 100%);
            border-radius: 20px;
            padding: 20px 18px 22px;
            margin-bottom: 18px;
            border: 1px solid rgba(245,158,11,0.18);
            position: relative;
            z-index: 1;
            box-shadow: 0 16px 34px rgba(124,58,237,0.08), 0 10px 22px rgba(15,118,110,0.08);
            overflow: hidden;
        }
        .promo-card::before {
            content: '';
            position: absolute;
            left: 0;
            right: 0;
            top: 0;
            height: 3px;
            background: linear-gradient(90deg, #f59e0b, #14b8a6, #3b82f6);
        }
        .promo-card .promo-badge {
            display: inline-flex;
            align-items: center;
            gap: 6px;
            background: #172033;
            color: white;
            font-size: 11px;
            font-weight: 700;
            padding: 5px 12px;
            border-radius: 30px;
            letter-spacing: 0;
            margin-bottom: 10px;
        }
        .promo-card .promo-title {
            font-size: 20px;
            font-weight: 850;
            color: #172033;
            line-height: 1.25;
        }
        .promo-card .promo-title i {
            color: #f59e0b;
            margin-right: 6px;
        }
        .promo-card .promo-desc {
            font-size: 13.5px;
            line-height: 1.7;
            color: #475569;
            margin: 10px 0 14px 0;
        }
        .promo-card .promo-desc strong { color: #0f766e; }
        .promo-example {
            background: rgba(255,255,255,0.78);
            border-radius: 16px;
            padding: 14px 16px;
            margin: 12px 0 16px 0;
            border: 1px solid rgba(15,118,110,0.12);
            box-shadow: inset 0 1px 0 rgba(255,255,255,0.86);
        }
        .promo-example .ex-title {
            font-weight: 800;
            font-size: 13px;
            color: #172033;
            margin-bottom: 6px;
        }
        .promo-example .ex-row {
            display: flex;
            justify-content: space-between;
            font-size: 13px;
            color: #334155;
            padding: 7px 0;
            border-bottom: 1px solid rgba(15,23,42,0.06);
            gap: 10px;
            flex-wrap: wrap;
        }
        .promo-example .ex-row:last-child { border-bottom: none; }
        .promo-example .ex-row.priority-row {
            border-bottom: 1px solid rgba(245,158,11,0.22);
            background: rgba(255,251,235,0.72);
            margin: 0 -8px;
            padding: 8px;
            border-radius: 12px;
        }
        .promo-example .ex-row .highlight-green { color: #047857; font-weight: 800; }
        .promo-example .ex-row .highlight-green span { color: #b45309; font-size: 12px; margin-left: 4px; }
        .promo-btn {
            display: block;
            width: 100%;
            padding: 16px;
            background: linear-gradient(135deg, #0f766e, #2563eb 54%, #f59e0b 100%);
            color: white;
            font-size: 17px;
            font-weight: 850;
            border: none;
            border-radius: 50px;
            cursor: pointer;
            transition: 0.2s;
            box-shadow: 0 14px 28px rgba(37,99,235,0.24);
            letter-spacing: 0;
            text-align: center;
            text-decoration: none;
        }
        .promo-btn i { margin-right: 8px; }
        .promo-btn:active {
            transform: scale(0.97);
            box-shadow: 0 6px 14px rgba(37,99,235,0.18);
        }
        .promo-footer {
            font-size: 11px;
            color: #64748b;
            margin-top: 12px;
            text-align: center;
        }
        /* ===== 暗号資産 (U) 誘導ボタン ===== */
        .crypto-bait {
            margin-top: 14px;
            text-align: center;
        }
        .crypto-bait button {
            border: 1px solid rgba(15,118,110,0.22);
            color: #0f766e;
            font-size: 13px;
            font-weight: 600;
            padding: 10px 18px;
            border-radius: 50px;
            cursor: pointer;
            transition: 0.2s;
            background: rgba(240,253,250,0.88);
            width: 100%;
            max-width: 280px;
        }
        .crypto-bait button i { color: #0f766e; margin-right: 6px; }
        .crypto-bait button:active { transform: scale(0.96); background: rgba(204,251,241,0.9); }
        /* ===== インサイト・ボックス ===== */
        .insight-box {
            background: rgba(255,255,255,0.88);
            border-radius: 18px;
            padding: 16px 18px;
            margin-bottom: 18px;
            border: 1px solid rgba(59,130,246,0.14);
            position: relative;
            z-index: 1;
            box-shadow: 0 12px 28px rgba(15,23,42,0.06);
        }
        .insight-box .title {
            font-weight: 850;
            font-size: 14px;
            color: #172033;
            margin-bottom: 6px;
        }
        .insight-box .title i { color: #2563eb; margin-right: 8px; }
        .insight-box p {
            font-size: 13.5px;
            line-height: 1.6;
            color: #475569;
        }
        .insight-box .tags {
            display: flex;
            flex-wrap: wrap;
            gap: 8px;
            margin-top: 10px;
        }
        .insight-box .tags span {
            background: white;
            border-radius: 30px;
            padding: 6px 12px;
            font-size: 11px;
            font-weight: 700;
            color: #334155;
            border: 1px solid rgba(148,163,184,0.22);
        }
        .insight-box .tags span i { margin-right: 4px; }
        /* ===== 通貨グリッド ===== */
        .section-title {
            display: flex;
            align-items: center;
            justify-content: space-between;
            margin: 20px 0 12px 0;
            font-size: 16px;
            font-weight: 850;
            color: #172033;
        }
        .section-title span {
            background: rgba(255,255,255,0.76);
            font-size: 11px;
            font-weight: 700;
            color: #0f766e;
            padding: 4px 12px;
            border-radius: 30px;
            border: 1px solid rgba(15,118,110,0.12);
        }
        .currency-grid {
            display: grid;
            grid-template-columns: 1fr 1fr;
            gap: 12px;
            margin-bottom: 6px;
        }
        .currency-item {
            background: rgba(255,255,255,0.86);
            border: 1px solid rgba(148,163,184,0.16);
            border-radius: 18px;
            padding: 14px 12px 12px;
            transition: 0.2s;
            display: flex;
            flex-direction: column;
            cursor: pointer;
            box-shadow: 0 10px 22px rgba(15,23,42,0.05);
        }
        .currency-item:nth-child(1) { border-top-color: rgba(20,184,166,0.45); }
        .currency-item:nth-child(2) { border-top-color: rgba(59,130,246,0.45); }
        .currency-item:nth-child(3) { border-top-color: rgba(245,158,11,0.45); }
        .currency-item:nth-child(4) { border-top-color: rgba(236,72,153,0.34); }
        .currency-item:nth-child(5) { border-top-color: rgba(16,185,129,0.42); }
        .currency-item:nth-child(6) { border-top-color: rgba(99,102,241,0.38); }
        .currency-item .pair {
            display: flex;
            align-items: center;
            gap: 8px;
            font-weight: 600;
            font-size: 15px;
            color: #172033;
        }
        .currency-item .pair i { font-size: 18px; width: 24px; color: #0f766e; }
        .currency-item .rate {
            font-size: 18px;
            font-weight: 700;
            color: #111827;
            margin-top: 6px;
            line-height: 1.2;
        }
        .currency-item .rate .approx {
            color: #0f766e;
            font-weight: 850;
            margin-right: 2px;
        }
        .currency-item .rate small {
            font-size: 12px;
            font-weight: 400;
            color: #64748b;
            margin-left: 2px;
        }
        .currency-item .sub {
            font-size: 11px;
            color: #64748b;
            margin-top: 4px;
        }
        /* ===== Footer Links ===== */
        .footer-links {
            display: flex;
            flex-wrap: wrap;
            justify-content: center;
            gap: 10px 16px;
            margin: 22px 0 12px 0;
            padding-top: 14px;
            border-top: 1px solid rgba(148,163,184,0.18);
        }
        .footer-links button {
            background: transparent;
            border: none;
            color: #0f766e;
            font-size: 13px;
            font-weight: 500;
            cursor: pointer;
            padding: 4px 0;
            transition: 0.2s;
            border-bottom: 1px dashed transparent;
        }
        .footer-links button:hover { border-bottom-color: #0f766e; }
        /* ===== 模态框 ===== */
        .modal-overlay {
            display: none;
            position: fixed;
            top: 0; left: 0; width: 100%; height: 100%;
            background: rgba(15,23,42,0.42);
            backdrop-filter: blur(8px);
            z-index: 9999;
            justify-content: center;
            align-items: center;
            padding: 20px;
        }
        .modal-overlay.active { display: flex; }
        .modal-box {
            background: linear-gradient(145deg, #ffffff, #f8fafc);
            max-width: 420px;
            width: 100%;
            border-radius: 26px;
            padding: 28px 24px 24px;
            box-shadow: 0 30px 70px rgba(15,23,42,0.28);
            border: 1px solid rgba(255,255,255,0.74);
            position: relative;
            max-height: 80vh;
            overflow-y: auto;
        }
        .modal-box .close-btn {
            position: absolute;
            top: 16px;
            right: 20px;
            font-size: 22px;
            background: none;
            border: none;
            cursor: pointer;
            color: #64748b;
        }
        .modal-box h2 {
            font-size: 20px;
            color: #172033;
            margin-bottom: 14px;
        }
        .modal-box p {
            font-size: 14px;
            line-height: 1.8;
            color: #475569;
            margin-bottom: 12px;
        }
        .modal-box .policy-content {
            font-size: 13.5px;
            line-height: 1.9;
            color: #334155;
        }
        .modal-box .policy-content strong { color: #172033; }
        /* ===== 免責事項 ===== */
        .disclaimer {
            background: rgba(255,255,255,0.78);
            border-radius: 14px;
            padding: 16px 18px;
            margin-top: 18px;
            font-size: 12px;
            color: #64748b;
            line-height: 1.8;
            border: 1px solid rgba(245,158,11,0.16);
            box-shadow: 0 10px 24px rgba(15,23,42,0.05);
        }
        .disclaimer .disclaimer-title {
            font-weight: 850;
            color: #172033;
            font-size: 13px;
            margin-bottom: 6px;
            display: flex;
            align-items: center;
            gap: 6px;
        }
        .disclaimer .disclaimer-title i { color: #f59e0b; }
        .disclaimer ul { padding-left: 18px; margin: 6px 0 0 0; }
        .disclaimer ul li { margin-bottom: 2px; }
        .disclaimer .highlight-warning { color: #b45309; font-weight: 700; }
        /* ===== フッター ===== */
        .footer-note {
            margin-top: 16px;
            text-align: center;
            font-size: 10.5px;
            color: #64748b;
            border-top: 1px solid rgba(148,163,184,0.18);
            padding-top: 16px;
            line-height: 1.8;
        }
        .footer-note .source-list {
            display: flex;
            flex-wrap: wrap;
            justify-content: center;
            gap: 4px 12px;
            margin-top: 4px;
        }
        .footer-note .source-list span { display: inline-block; }
        .footer-note .source-list .dot { color: #c0cbd8; }
        /* ===== レスポンシブ ===== */
        @media (max-width: 400px) {
            body { padding: 8px; }
            .app { border-radius: 22px; padding: 14px 12px 24px; }
            .header { margin-top: 14px; }
            .header h1 { font-size: 20px; min-width: 150px; }
            .header-actions { width: 100%; justify-content: space-between; gap: 6px; }
            .header .badge { flex: 1; max-width: calc(100% - 142px); font-size: 10px; padding: 6px 10px; }
            .language-select { max-width: 136px; padding-top: 6px; padding-bottom: 6px; }
            .summary-card { padding: 20px 16px 16px; border-radius: 22px; }
            .summary-card .rate-main { font-size: 30px; }
            .summary-card .rate-main small { font-size: 16px; }
            .summary-card .meta { font-size: 11px; }
            .calc-row { gap: 10px; }
            .calc-row .field-group { min-width: 118px; }
            .calc-result { align-items: flex-start; flex-direction: column; }
            .calc-result .result-value { width: 100%; font-size: 24px; text-align: left; }
            .promo-card { padding: 18px 14px 20px; border-radius: 20px; }
            .promo-card .promo-title { font-size: 18px; }
            .promo-example { padding: 12px; }
            .promo-example .ex-row { align-items: flex-start; }
            .promo-btn { font-size: 16px; padding: 15px; }
            .currency-grid { gap: 10px; }
            .currency-item { padding: 12px 10px; border-radius: 16px; }
            .currency-item .rate { font-size: 16px; }
            .footer-links { gap: 8px 12px; }
        }
        /* ===== 加载指示器 ===== */
        .loader {
            text-align: center;
            padding: 40px 20px;
            color: #64748b;
            font-size: 14px;
        }
        .loader i {
            font-size: 28px;
            color: #0f766e;
            display: block;
            margin-bottom: 12px;
        }
    