/* マイ単語紹介ページ (my_tango.php) の画面固有スタイル。2026-09-27 案B (codex作成案をベースに調整) */
.mt-preview { padding-bottom: 56px; color: var(--sa-text); }
.mt-preview .sa-h1 { margin: 16px 0; color: #fff; font-size: clamp(30px, 3.1vw, 48px); line-height: 1.35; letter-spacing: .04em; }
.mt-preview .sa-h2 { margin: 0; font-size: clamp(24px, 2.4vw, 34px); }
.mt-preview .sa-lead { max-width: 700px; margin: 12px 0 0; color: var(--sa-muted); line-height: 1.9; }
.mt-hero { position: relative; display: grid; grid-template-columns: 1.25fr .75fr; gap: 32px; min-height: 360px; padding: 48px clamp(28px, 5vw, 72px); overflow: hidden; border-radius: 24px; background: linear-gradient(120deg, var(--sa-purple-dark), var(--sa-purple)); }
.mt-hero-copy { position: relative; z-index: 2; }.mt-eyebrow { margin: 0; background: rgba(255,255,255,.15); color: #fff; border: 1px solid rgba(255,255,255,.25); }.mt-eyebrow .material-symbols-outlined { font-size: 17px; }
.mt-hero-text { max-width: 590px; margin: 0; color: rgba(255,255,255,.88); font-size: 15px; line-height: 1.9; }.mt-hero-actions { display: flex; flex-wrap: wrap; align-items: center; gap: 20px; margin-top: 28px; }.mt-main-action { background: #fff; color: var(--sa-purple); }.mt-main-action:hover { color: var(--sa-purple); }.mt-text-link { display: inline-flex; align-items: center; color: #fff; font-weight: 700; }.mt-text-link .material-symbols-outlined { margin-left: 4px; }
.mt-hero-visual { position: relative; min-height: 260px; }.mt-hero-circle { position: absolute; border-radius: 50%; background: rgba(255,255,255,.1); }.mt-circle-one { width: 300px; height: 300px; top: -70px; right: -30px; }.mt-circle-two { width: 160px; height: 160px; right: 180px; bottom: -85px; background: rgba(242,156,56,.23); }.mt-book { position: absolute; top: 62px; left: 52px; display: flex; flex-direction: column; justify-content: center; align-items: flex-start; gap: 12px; width: 165px; height: 196px; padding: 25px; border-radius: 12px 25px 25px 12px; color: var(--sa-purple); background: #fffaf9; box-shadow: 14px 16px 0 rgba(64,9,26,.19); transform: rotate(-8deg); }.mt-book .material-symbols-outlined { font-size: 43px; }.mt-book b { font-size: 18px; letter-spacing: .08em; line-height: 1.35; white-space: nowrap; }.mt-word-chip { position: absolute; padding: 9px 14px; border-radius: 999px; background: #fff; color: var(--sa-purple-dark); font-size: 13px; font-weight: 800; box-shadow: 0 8px 18px rgba(64,9,26,.2); }.mt-chip-one { top: 25px; right: 14px; }.mt-chip-two { right: 4px; bottom: 80px; }.mt-chip-three { left: 12px; bottom: 5px; background: #f7dbe1; }
.mt-section { padding: 72px 0 0; }.mt-kicker { margin: 0 0 10px; color: var(--sa-purple); font-size: 12px; font-weight: 800; letter-spacing: .14em; }.mt-benefit-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 36px; margin-top: 38px; }.mt-benefit { position: relative; padding-top: 50px; }.mt-benefit-number { position: absolute; top: 0; left: 0; color: #e9cbd2; font-size: 40px; font-weight: 800; line-height: 1; }.mt-benefit-icon { position: absolute; top: 6px; left: 60px; color: var(--sa-purple); font-size: 28px; }.mt-benefit h3, .mt-step h3, .mt-plan-card h3 { margin: 0; font-size: 19px; }.mt-benefit p { margin: 12px 0 0; color: var(--sa-muted); font-size: 14px; line-height: 1.85; }.mt-benefit strong { color: var(--sa-text); }
.mt-how { padding-top: 82px; }.mt-steps { display: grid; grid-template-columns: repeat(3, 1fr); gap: 0; padding: 0; margin: 36px 0 0; list-style: none; counter-reset: none; background: var(--sa-soft); border-radius: var(--sa-radius); overflow: hidden; }.mt-step { position: relative; display: flex; gap: 16px; padding: 30px; }.mt-step + .mt-step::before { position: absolute; top: 30px; bottom: 30px; left: 0; width: 1px; background: #ddd; content: ''; }.mt-step-no { display: grid; flex: 0 0 32px; width: 32px; height: 32px; place-items: center; border-radius: 50%; color: #fff; background: var(--sa-purple); font-weight: 800; }.mt-step p { margin: 10px 0 0; color: var(--sa-muted); font-size: 13px; line-height: 1.85; }.mt-step-links { display: flex; flex-wrap: wrap; gap: 3px 10px; }.mt-step-links a, .mt-step a { color: var(--sa-blue); font-weight: 700; }
.mt-plan { margin-top: 80px; padding: 58px clamp(20px, 4vw, 58px); border-radius: 24px; background: #f5f8f5; }.mt-plan-heading { display: flex; justify-content: space-between; align-items: end; gap: 30px; }.mt-plan-heading > p { max-width: 440px; margin: 0; color: var(--sa-muted); font-size: 14px; line-height: 1.8; }.mt-plan-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 18px; margin-top: 34px; }.mt-plan-card { padding: 30px; border-radius: 16px; background: #fff; }.mt-plan-card .sa-pill { margin: 0 0 15px; }.mt-free .sa-pill { color: var(--sa-green); background: var(--sa-ok-bg); }.mt-premium { background: var(--sa-purple); color: #fff; }.mt-premium .sa-pill { color: var(--sa-purple); background: #fff; }.mt-price { margin: 18px 0 4px; font-size: 32px; font-weight: 800; }.mt-price small { font-size: 14px; }.mt-price-note { min-height: 20px; margin: 0; color: var(--sa-orange); font-size: 13px; font-weight: 800; }.mt-plan-card ul { display: grid; gap: 12px; padding: 22px 0; margin: 18px 0; border-top: 1px solid var(--sa-line); border-bottom: 1px solid var(--sa-line); list-style: none; }.mt-plan-card li { display: flex; align-items: center; gap: 8px; font-size: 14px; }.mt-plan-card li .material-symbols-outlined { color: var(--sa-green); font-size: 20px; }.mt-plan-card .mt-off { color: #aaa; }.mt-premium ul { border-color: rgba(255,255,255,.28); }.mt-premium li .material-symbols-outlined { color: #ffd27e; }.mt-plan-card .sa-btn { width: 100%; }.mt-period { display: flex; align-items: center; justify-content: center; gap: 8px; margin: 23px 0 0; color: var(--sa-muted); font-size: 13px; text-align: center; }.mt-period .material-symbols-outlined { color: var(--sa-purple); }
.mt-details { margin-top: 28px; border-top: 1px solid var(--sa-line); border-bottom: 1px solid var(--sa-line); }.mt-details summary { display: flex; align-items: center; gap: 10px; padding: 22px 6px; cursor: pointer; color: var(--sa-green); font-weight: 800; list-style: none; }.mt-details summary::-webkit-details-marker { display: none; }.mt-details .mt-expand { margin-left: auto; transition: transform .2s; }.mt-details[open] .mt-expand { transform: rotate(180deg); }.mt-details-body { display: grid; grid-template-columns: .8fr 1.2fr; gap: 44px; padding: 0 6px 28px; }.mt-details h3 { margin: 0 0 10px; font-size: 15px; }.mt-details p, .mt-details dd, .mt-details dt { color: var(--sa-muted); font-size: 13px; line-height: 1.85; }.mt-details p { margin: 0 0 14px; }.mt-details dl { display: grid; grid-template-columns: max-content 1fr; gap: 6px 12px; margin: 10px 0; }.mt-details dt { padding: 2px 8px; border-radius: 4px; color: #fff; background: var(--sa-green); font-weight: 700; line-height: 1.6; }.mt-details dt:nth-of-type(3) { background: var(--sa-orange); }.mt-details dd { margin: 0; }
@media (max-width: 900px) { .mt-hero { grid-template-columns: 1fr; }.mt-hero-visual { display: none; }.mt-benefit-grid, .mt-steps { grid-template-columns: 1fr; }.mt-benefit { padding-left: 0; }.mt-step + .mt-step::before { top: 0; right: 30px; bottom: auto; left: 30px; width: auto; height: 1px; }.mt-plan-heading, .mt-details-body { display: block; }.mt-plan-heading > p { margin-top: 14px; }.mt-details-body > div + div { margin-top: 25px; } }
@media (max-width: 560px) { .mt-preview { padding-bottom: 20px; }.mt-hero { min-height: auto; padding: 34px 24px; border-radius: 18px; }.mt-preview .sa-h1 { font-size: 30px; }.mt-hero-text { font-size: 14px; }.mt-hero-actions { align-items: stretch; gap: 14px; }.mt-main-action { width: 100%; }.mt-text-link { justify-content: center; }.mt-section { padding-top: 56px; }.mt-benefit-grid { gap: 30px; margin-top: 30px; }.mt-how { padding-top: 64px; }.mt-step { padding: 24px; }.mt-plan { margin-top: 60px; padding: 35px 18px; border-radius: 18px; }.mt-plan-grid { grid-template-columns: 1fr; }.mt-plan-card { padding: 25px 22px; }.mt-period { align-items: flex-start; font-size: 12px; line-height: 1.7; }.mt-details summary { font-size: 14px; }.mt-details-body { padding-bottom: 22px; }.mt-details dl { grid-template-columns: 1fr; gap: 2px; }.mt-details dd { margin: 0 0 8px; } }

/* 注釈 (有料レッスン受講者の特典・お支払い) は常に表示。2枚の淡い面で区切る */
.mt-notes { margin-top: 56px; }
.mt-notes-title { display: flex; align-items: center; gap: 8px; margin: 0 0 18px; color: var(--sa-text); font-size: 20px; font-weight: 800; }
.mt-notes-title .material-symbols-outlined { color: var(--sa-purple); }
.mt-notes-body { display: grid; grid-template-columns: 1.35fr 1fr; gap: 16px; align-items: start; }
.mt-note-block { padding: 26px 28px; border-radius: 18px; background: var(--sa-soft); }
.mt-note-block h3 { display: flex; align-items: center; gap: 8px; margin: 0 0 14px; font-size: 16px; font-weight: 800; }
.mt-note-block h3 .material-symbols-outlined { font-size: 22px; color: var(--sa-purple); }
.mt-note-block p, .mt-note-block dd { color: #555; font-size: 14px; line-height: 1.85; }
.mt-note-block p { margin: 0 0 10px; }
.mt-note-block p:last-child { margin-bottom: 0; }
.mt-note-block p strong { color: var(--sa-text); }
.mt-note-period {
    display: inline-flex; align-items: center; gap: 6px;
    padding: 4px 12px; border-radius: 999px; background: #fff;
    color: var(--sa-purple) !important; font-size: 13px !important; font-weight: 700;
}
.mt-note-period .material-symbols-outlined { font-size: 18px; }
.mt-note-sub { font-weight: 700; color: var(--sa-text) !important; margin: 14px 0 8px !important; }
.mt-note-rows { display: grid; gap: 8px; margin: 0 0 14px; }
.mt-note-block dl > dt { display: none; }
.mt-note-block dd { margin: 0; }
.mt-note-row { display: flex; align-items: center; gap: 12px; padding: 10px 14px; border-radius: 12px; background: #fff; }
.mt-note-row b { flex: 0 0 150px; padding: 3px 0; border-radius: 6px; text-align: center; color: #fff; background: var(--sa-green); font-size: 12px; }
.mt-note-row b.is-orange { background: var(--sa-orange); }
.mt-note-row span { color: #444; font-size: 14px; }
@media (max-width: 900px) { .mt-notes-body { grid-template-columns: 1fr; } }
@media (max-width: 560px) { .mt-note-block { padding: 20px; } .mt-note-row { flex-direction: column; align-items: flex-start; gap: 6px; } .mt-note-row b { flex: none; padding: 3px 10px; } }

/* 特徴は薄い大きな番号の右にアイコンを並べる (重ねると読めないため) / ステップ1・2はスイッチ操作の画像 */
.mt-step > div { min-width: 0; }
.mt-step-img { display: block; height: 56px; width: auto; max-width: 100%; margin: 0 0 14px; }
.mt-plan-more { display: inline-block; margin-top: 6px; color: var(--sa-blue-dark); font-weight: 700; }

/* プレミアム会員ページ (premium_member.php) 用: ヒーローを金色に、「ご利用中」ボタンは押せない表示 */
.mt-hero.is-gold { background: linear-gradient(120deg, #8a6424, #cc973d); }
.mt-hero.is-gold .mt-main-action { color: #8a6424; }
.mt-hero.is-gold .mt-book { color: #a3772c; box-shadow: 14px 16px 0 rgba(70, 45, 5, .2); }
.mt-hero.is-gold .mt-word-chip { color: #7a5a22; }
.mt-hero.is-gold .mt-chip-three { background: #f6ead3; }
.sa-btn.is-static { cursor: default; pointer-events: none; }
.mt-plan-card .mt-using { width: 100%; background: #fff; color: var(--sa-purple); box-shadow: none; }
.mt-benefit-grid.is-4 { grid-template-columns: repeat(4, 1fr); gap: 28px; }
@media (max-width: 1200px) { .mt-benefit-grid.is-4 { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 900px) { .mt-benefit-grid.is-4 { grid-template-columns: 1fr; } }

/* プレミアムの色はスタディ共通の金色に統一 (マイページのプレミアム会員バッジも同色)。2026-09-27 */
.mt-premium { background: linear-gradient(135deg, #a3772c, #cc973d); }
.mt-premium .sa-pill { color: #8a6424; }
.mt-premium .mt-price-note { color: #fff3d6; }
.mt-premium ul { border-color: rgba(255,255,255,.35); }
.mt-premium li .material-symbols-outlined { color: #fff3d6; }
.mt-premium .sa-btn.is-orange { background: #fff; color: #8a6424; }
.mt-premium .sa-btn.is-orange:hover { color: #8a6424; filter: brightness(.97); }
.mt-plan-card .mt-using { color: #8a6424; }
/* プレミアム会員ページは見出しの小ラベル・番号・アイコンも金色に */
.is-premium-page .mt-kicker,
.is-premium-page .mt-benefit-icon,
.is-premium-page .mt-step-no,
.is-premium-page .mt-notes-title .material-symbols-outlined,
.is-premium-page .mt-note-block h3 .material-symbols-outlined { color: #a3772c; }
.is-premium-page .mt-benefit-number { color: #ecd9b3; }
