/* 年収500万の最適解 — スタイル */
:root {
  --navy: #0b1f44;
  --navy-2: #15326b;
  --navy-3: #22448a;
  --gold: #d4a843;
  --gold-2: #f3dc9a;
  --ink: #18202f;
  --muted: #667085;
  --line-c: #e6e3da;
  --bg: #f6f4ee;
  --card: #ffffff;
  --line-green: #06c755;
  --tier-s: #e5484d;
  --tier-a: #f08c1a;
  --tier-b: #e9b80c;
  --tier-c: #6aa84f;
  --radius: 16px;
  --shadow: 0 1px 2px rgba(11, 31, 68, .06), 0 6px 20px rgba(11, 31, 68, .06);
  --num: "Outfit", "Noto Sans JP", sans-serif;
}
* { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; }
body {
  margin: 0; background: var(--bg); color: var(--ink);
  font-family: "Noto Sans JP", "Hiragino Kaku Gothic ProN", "Hiragino Sans", Meiryo, sans-serif;
  font-size: 15px; line-height: 1.75; letter-spacing: .01em;
  padding-bottom: 88px; /* 固定LINEボタンの分 */
}
img { max-width: 100%; display: block; }
a { color: inherit; }
.wrap { max-width: 1040px; margin: 0 auto; padding: 0 16px; }
.narrow { max-width: 720px; }

/* PR bar & header */
.pr-bar { background: var(--navy); color: #c9d3e8; font-size: 11.5px; text-align: center; padding: 6px 12px; }
.pr-bar a { color: var(--gold-2); }
.site-header { background: #fff; border-bottom: 1px solid var(--line-c); position: sticky; top: 0; z-index: 20; }
.site-header .wrap { display: flex; align-items: center; justify-content: space-between; height: 56px; }
.logo { display: flex; align-items: center; gap: 10px; text-decoration: none; }
.logo-mark { width: 32px; height: 32px; border-radius: 9px; background: var(--navy); color: var(--gold); display: grid; place-items: center; font-family: var(--num); font-weight: 800; font-size: 13px; letter-spacing: -.02em; }
.logo-text { line-height: 1.15; }
.logo-text b { display: block; font-size: 15px; font-weight: 800; color: var(--navy); }
.logo-text small { font-size: 10.5px; color: var(--muted); }
.nav { display: flex; gap: 4px; align-items: center; }
.nav a { font-size: 13px; text-decoration: none; padding: 6px 10px; border-radius: 999px; color: var(--navy); font-weight: 600; }
.nav a:hover { background: var(--bg); }
.nav .hide-sp { display: none; }
@media (min-width: 720px) { .nav .hide-sp { display: inline-block; } }

/* Sections */
section { padding: 44px 0; }
.sec-head { margin-bottom: 20px; }
.eyebrow { font-family: var(--num); font-size: 11px; font-weight: 700; letter-spacing: .18em; color: var(--gold); text-transform: uppercase; }
h1, h2, h3 { line-height: 1.4; margin: 0; }
h2 { font-size: 21px; font-weight: 800; color: var(--navy); margin-top: 4px; }
.sec-lead { color: var(--muted); font-size: 14px; margin: 6px 0 0; }

/* Hero */
.hero { background: radial-gradient(120% 90% at 100% 0%, var(--navy-3) 0%, var(--navy) 55%); color: #fff; padding: 40px 0 48px; overflow: hidden; position: relative; }
.hero::after { content: "S"; position: absolute; right: -18px; bottom: -70px; font-family: var(--num); font-weight: 900; font-size: 260px; line-height: 1; color: rgba(212, 168, 67, .08); pointer-events: none; }
.hero .wrap { position: relative; z-index: 1; }
.hero-who { display: flex; align-items: center; gap: 10px; margin-bottom: 18px; }
.avatar { width: 40px; height: 40px; border-radius: 50%; background: var(--gold); color: var(--navy); display: grid; place-items: center; font-weight: 900; flex: none; }
.hero-who span { font-size: 12.5px; color: #c9d3e8; line-height: 1.4; }
.hero h1 { font-size: 27px; font-weight: 900; letter-spacing: .01em; }
.hero h1 em { font-style: normal; color: var(--gold); }
.hero p.sub { color: #d5ddef; font-size: 14px; margin: 14px 0 24px; max-width: 34em; }
.cta-row { display: flex; flex-direction: column; gap: 10px; max-width: 420px; }
@media (min-width: 560px) { .cta-row { flex-direction: row; } .hero h1 { font-size: 36px; } }

/* Buttons */
.btn { display: inline-flex; align-items: center; justify-content: center; gap: 8px; min-height: 52px; padding: 0 22px; border-radius: 999px; font-weight: 800; font-size: 15px; text-decoration: none; border: 0; cursor: pointer; transition: transform .12s ease, box-shadow .12s ease; }
.btn:active { transform: scale(.98); }
.btn-gold { background: var(--gold); color: var(--navy); box-shadow: 0 6px 18px rgba(212, 168, 67, .35); }
.btn-line { background: var(--line-green); color: #fff; box-shadow: 0 6px 18px rgba(6, 199, 85, .3); }
.btn-ghost { background: rgba(255, 255, 255, .08); color: #fff; border: 1px solid rgba(255, 255, 255, .28); }
.btn-navy { background: var(--navy); color: #fff; }
.btn-block { width: 100%; }
.btn[aria-disabled="true"] { background: #e4e7ec; color: #98a2b3; box-shadow: none; pointer-events: none; }

/* Worries */
.worries { display: grid; gap: 10px; }
@media (min-width: 720px) { .worries { grid-template-columns: repeat(3, 1fr); } }
.worry { background: var(--card); border-radius: var(--radius); padding: 16px 18px; display: flex; gap: 12px; align-items: flex-start; box-shadow: var(--shadow); }
.worry .q { font-size: 22px; line-height: 1; margin-top: 2px; }
.worry b { display: block; font-size: 15px; color: var(--navy); }
.worry span { font-size: 13px; color: var(--muted); }
.answer-note { margin-top: 16px; font-size: 14px; font-weight: 700; color: var(--navy); text-align: center; }
.answer-note mark { background: linear-gradient(transparent 60%, var(--gold-2) 60%); color: inherit; }

/* Tier badge */
.tier { display: inline-grid; place-items: center; width: 28px; height: 28px; border-radius: 8px; color: #fff; font-family: var(--num); font-weight: 900; font-size: 15px; flex: none; }
.tier-S { background: var(--tier-s); } .tier-A { background: var(--tier-a); } .tier-B { background: var(--tier-b); } .tier-C { background: var(--tier-c); }

/* Item cards (horizontal scroller) */
.scroller { display: grid; grid-auto-flow: column; grid-auto-columns: 78%; gap: 12px; overflow-x: auto; scroll-snap-type: x mandatory; padding: 4px 16px 12px; margin: 0 -16px; scrollbar-width: none; }
.scroller::-webkit-scrollbar { display: none; }
@media (min-width: 720px) { .scroller { grid-auto-columns: 31%; } }
.icard { scroll-snap-align: start; background: var(--card); border-radius: var(--radius); box-shadow: var(--shadow); text-decoration: none; display: flex; flex-direction: column; overflow: hidden; border: 1px solid transparent; transition: border-color .15s; }
.icard:hover { border-color: var(--gold); }
.thumb { aspect-ratio: 16 / 9; position: relative; display: flex; align-items: flex-end; padding: 12px; color: #fff; overflow: hidden; }
.thumb img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }
.thumb .t-name { position: relative; font-weight: 800; font-size: 14px; text-shadow: 0 1px 6px rgba(0, 0, 0, .25); line-height: 1.35; }
.thumb .tier { position: absolute; top: 10px; left: 10px; }
.thumb .g-ico { position: absolute; right: 10px; top: 6px; font-size: 34px; opacity: .9; }
.icard-body { padding: 12px 14px 14px; display: flex; flex-direction: column; gap: 6px; flex: 1; }
.benefit-label { font-size: 11px; color: var(--muted); }
.benefit { font-family: var(--num); font-size: 24px; font-weight: 800; color: var(--navy); line-height: 1.1; letter-spacing: -.01em; }
.icard .catch { font-size: 12.5px; color: var(--ink); line-height: 1.6; margin: 0; }
.tags { display: flex; flex-wrap: wrap; gap: 5px; margin-top: auto; padding-top: 4px; }
.tag { font-size: 11px; background: #f1efe8; color: #4b5565; padding: 2px 8px; border-radius: 999px; }

/* Genre tiles */
.genre-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 10px; }
@media (min-width: 720px) { .genre-grid { grid-template-columns: repeat(4, 1fr); } }
.gtile { background: var(--card); border-radius: var(--radius); padding: 16px; text-decoration: none; box-shadow: var(--shadow); display: flex; flex-direction: column; gap: 4px; border: 1px solid transparent; }
.gtile:hover { border-color: var(--gold); }
.gtile .ico { font-size: 28px; }
.gtile b { font-size: 15px; color: var(--navy); line-height: 1.4; }
.gtile small { font-size: 12px; color: var(--muted); }

/* Shindan cards */
.shindan-list { display: grid; gap: 12px; }
@media (min-width: 720px) { .shindan-list { grid-template-columns: 1fr 1fr; } }
.scard { background: var(--navy); color: #fff; border-radius: 20px; padding: 20px; text-decoration: none; display: flex; flex-direction: column; gap: 8px; position: relative; overflow: hidden; }
.scard::before { content: ""; position: absolute; right: -40px; top: -40px; width: 140px; height: 140px; border-radius: 50%; background: rgba(212, 168, 67, .14); }
.scard .ico { font-size: 30px; position: relative; }
.scard .kw { font-size: 11.5px; color: var(--gold-2); position: relative; }
.scard h3 { font-size: 18px; font-weight: 800; position: relative; }
.scard p { font-size: 13px; color: #cfd8ea; margin: 0; position: relative; }
.scard .meta { display: flex; flex-wrap: wrap; gap: 6px; position: relative; }
.scard .meta span { font-size: 11px; background: rgba(255, 255, 255, .1); padding: 2px 9px; border-radius: 999px; }
.scard .go { margin-top: 6px; align-self: flex-start; background: var(--gold); color: var(--navy); font-weight: 800; font-size: 14px; padding: 10px 18px; border-radius: 999px; position: relative; }
.badge-new { position: absolute; top: 16px; right: 16px; background: var(--tier-s); color: #fff; font-family: var(--num); font-weight: 800; font-size: 11px; padding: 2px 8px; border-radius: 6px; z-index: 1; }

/* LINE section */
.line-box { background: #fff; border-radius: 24px; padding: 24px 20px; box-shadow: var(--shadow); border: 2px solid var(--line-green); }
.line-box h2 { color: var(--ink); }
.line-box h2 span { color: var(--line-green); }
.benefits { list-style: none; padding: 0; margin: 16px 0 18px; display: grid; gap: 8px; }
.benefits li { display: flex; gap: 10px; font-size: 14px; font-weight: 600; align-items: flex-start; }
.benefits li::before { content: "✓"; flex: none; width: 22px; height: 22px; border-radius: 50%; background: #e7f9ee; color: var(--line-green); display: grid; place-items: center; font-weight: 900; font-size: 12px; margin-top: 2px; }
.how { background: var(--bg); border-radius: 14px; padding: 14px 16px; font-size: 13px; margin-bottom: 16px; }
.how b { color: var(--navy); }
.kw-chip { display: inline-block; font-family: var(--num); font-weight: 800; background: var(--navy); color: var(--gold); padding: 0 8px; border-radius: 6px; margin: 0 2px; }

/* Products */
.plist { display: grid; gap: 12px; }
@media (min-width: 720px) { .plist { grid-template-columns: 1fr 1fr; } }
.pcard { background: var(--card); border-radius: var(--radius); padding: 18px; box-shadow: var(--shadow); text-decoration: none; display: flex; flex-direction: column; gap: 6px; border-left: 4px solid var(--gold); }
.pcard .pb { font-size: 11px; font-weight: 800; color: var(--gold); }
.pcard b { font-size: 16px; color: var(--navy); }
.pcard p { font-size: 13px; color: var(--muted); margin: 0; }
.pcard .price { font-family: var(--num); font-weight: 800; font-size: 18px; color: var(--navy); }

/* Profile */
.profile { background: var(--card); border-radius: 24px; padding: 22px; box-shadow: var(--shadow); display: flex; gap: 16px; align-items: flex-start; }
.profile .avatar { width: 60px; height: 60px; font-size: 22px; }
.profile h3 { font-size: 16px; color: var(--navy); }
.profile p { font-size: 13.5px; color: var(--muted); margin: 6px 0 10px; }
.text-link { color: var(--navy); font-weight: 700; font-size: 14px; }

/* Coming soon */
.soon { display: flex; flex-wrap: wrap; gap: 8px; }
.soon span { font-size: 13px; background: #fff; border: 1px dashed #cfcab9; color: var(--muted); padding: 6px 12px; border-radius: 999px; }

/* Genre page */
.page-hero { background: var(--navy); color: #fff; padding: 28px 0 32px; }
.crumb { font-size: 12px; color: #a9b6d3; margin-bottom: 10px; }
.crumb a { color: #a9b6d3; }
.page-hero .ico { font-size: 40px; line-height: 1; }
.page-hero h1 { font-size: 24px; font-weight: 900; margin-top: 8px; }
.page-hero p { color: #cfd8ea; font-size: 14px; margin: 8px 0 0; }
.page-hero .asof { font-size: 11.5px; color: #8fa0c4; margin-top: 8px; }

.tierlist { background: #fff; border-radius: 20px; overflow: hidden; box-shadow: var(--shadow); }
.tier-row { display: grid; grid-template-columns: 54px 1fr; border-bottom: 1px solid var(--line-c); }
.tier-row:last-child { border-bottom: 0; }
.tier-label { display: grid; place-items: center; color: #fff; font-family: var(--num); font-weight: 900; font-size: 26px; }
.tier-row.S .tier-label { background: var(--tier-s); } .tier-row.A .tier-label { background: var(--tier-a); } .tier-row.B .tier-label { background: var(--tier-b); } .tier-row.C .tier-label { background: var(--tier-c); }
.tier-items { display: grid; grid-template-columns: 1fr 1fr; gap: 8px; padding: 10px; }
@media (min-width: 720px) { .tier-items { grid-template-columns: repeat(4, 1fr); } }
.mini { background: var(--bg); border-radius: 12px; padding: 10px; text-decoration: none; display: flex; flex-direction: column; gap: 2px; border: 1px solid transparent; }
.mini:hover { border-color: var(--gold); }
.mini b { font-size: 13px; color: var(--navy); line-height: 1.4; }
.mini .benefit { font-size: 17px; }
.mini small { font-size: 10.5px; color: var(--muted); }
.ilist { display: grid; gap: 12px; }
@media (min-width: 720px) { .ilist { grid-template-columns: repeat(3, 1fr); } }

/* Item page */
.item-head { background: #fff; border-radius: 0 0 24px 24px; box-shadow: var(--shadow); }
.item-head .thumb { aspect-ratio: auto; min-height: 120px; border-radius: 0; }
.item-head .thumb .t-name { font-size: 12.5px; font-weight: 700; opacity: .9; }
.item-head .inner { padding: 18px 16px 22px; }
.item-head h1 { font-size: 22px; font-weight: 900; color: var(--navy); display: flex; gap: 10px; align-items: center; }
.item-head .catch { font-size: 14px; color: var(--ink); margin: 8px 0 12px; }
.big-benefit { background: var(--bg); border-radius: 14px; padding: 14px 16px; margin: 14px 0; }
.big-benefit .benefit { font-size: 34px; }
.big-benefit small { display: block; font-size: 11.5px; color: var(--muted); margin-top: 4px; }
.pr-note { font-size: 11px; color: var(--muted); text-align: center; margin: 6px 0 0; }
.pr-note b { background: #eef0f4; color: #475467; padding: 0 6px; border-radius: 4px; margin-right: 4px; }
.block { background: #fff; border-radius: var(--radius); padding: 18px; box-shadow: var(--shadow); margin-bottom: 12px; }
.block h2 { font-size: 17px; margin-bottom: 10px; }
.block ul { margin: 0; padding-left: 1.2em; }
.block li { margin: 4px 0; font-size: 14px; }
.fit { display: grid; gap: 12px; }
@media (min-width: 720px) { .fit { grid-template-columns: 1fr 1fr; } }
.fit .ok h2::before { content: "◎ "; color: var(--line-green); }
.fit .ng h2::before { content: "△ "; color: var(--tier-a); }
.caution li { color: #7a4b00; }
.kw-box { background: var(--navy); color: #fff; border-radius: 20px; padding: 20px; text-align: center; }
.kw-box p { margin: 0 0 6px; font-size: 13px; color: #cfd8ea; }
.kw-box .kw-big { font-family: var(--num); font-size: 44px; font-weight: 900; color: var(--gold); line-height: 1.1; letter-spacing: .06em; }
.kw-box .btn { margin-top: 12px; }
.updated { font-size: 12px; color: var(--muted); text-align: right; margin: 8px 0 0; }

/* Article (legal pages) */
.article { background: #fff; border-radius: 20px; padding: 24px 20px; margin: 24px auto; box-shadow: var(--shadow); }
.article h1 { font-size: 22px; color: var(--navy); margin-bottom: 14px; }
.article h2 { font-size: 16px; margin: 22px 0 6px; }
.article p, .article li { font-size: 14px; }
.article dl { margin: 0; }
.article dt { font-weight: 700; color: var(--navy); margin-top: 14px; font-size: 14px; }
.article dd { margin: 2px 0 0; font-size: 14px; }

/* Footer */
.site-footer { background: var(--navy); color: #a9b6d3; padding: 32px 0 24px; font-size: 12.5px; margin-top: 24px; }
.site-footer .disclaimer { font-size: 11.5px; line-height: 1.7; margin: 0 0 16px; }
.site-footer nav { display: flex; flex-wrap: wrap; gap: 4px 16px; margin-bottom: 12px; }
.site-footer a { color: #e4e9f5; text-decoration: none; }
.site-footer .copy { color: #7385ad; font-size: 11px; }

/* Fixed LINE CTA */
.fixed-cta { position: fixed; left: 0; right: 0; bottom: 0; z-index: 30; padding: 10px 16px calc(10px + env(safe-area-inset-bottom)); background: linear-gradient(to top, rgba(246, 244, 238, 1) 60%, rgba(246, 244, 238, 0)); }
.fixed-cta .btn { width: 100%; max-width: 480px; margin: 0 auto; display: flex; }
.fixed-cta small { font-weight: 600; font-size: 11px; opacity: .9; }

.center { text-align: center; }
.mt16 { margin-top: 16px; }
.muted { color: var(--muted); }

/* ---- v2: 実体験・特集・プロフィール ---- */
.you-badge { display: inline-flex; align-items: center; gap: 4px; align-self: flex-start; font-size: 11px; font-weight: 800; color: #0f5132; background: #e3f6ea; border: 1px solid #b7e4c7; padding: 1px 8px; border-radius: 999px; }
.you-badge::before { content: "✓"; font-weight: 900; }
.you-badge.inline { font-size: 10.5px; vertical-align: 1px; }
.item-head .you-badge { margin-top: 8px; }
.avatar.lg { width: 60px; height: 60px; font-size: 22px; }
.avatar.xl { width: 96px; height: 96px; font-size: 36px; margin: 0 auto 12px; border: 3px solid var(--gold); }
img.avatar { object-fit: cover; }

.cta-stack { display: grid; gap: 8px; }
.btn-amazon { background: #ff9900; color: #111; }
.btn-rakuten { background: #bf0000; color: #fff; }

.campaign { background: #fff7e6; border: 1px solid #f3d58a; border-radius: 14px; padding: 12px 14px; margin: 0 0 12px; }
.campaign .c-label { display: inline-block; font-size: 11px; font-weight: 800; color: #fff; background: var(--tier-s); padding: 1px 8px; border-radius: 6px; margin-bottom: 4px; }
.campaign b { display: block; font-size: 15px; color: var(--ink); }
.campaign small { display: block; font-size: 11.5px; color: var(--muted); margin-top: 2px; }

.you-block { border: 2px solid var(--gold); }
.you-block.none { border: 1px dashed #cfcab9; box-shadow: none; background: transparent; }
.you-block.none p { font-size: 13px; color: var(--muted); margin: 0; }
.you-head { display: flex; gap: 10px; align-items: center; margin-bottom: 10px; }
.you-head b { display: block; color: var(--navy); font-size: 15px; }
.you-head small { font-size: 12px; color: var(--muted); }
.you-result { font-weight: 800; color: var(--navy); font-size: 16px; background: linear-gradient(transparent 62%, var(--gold-2) 62%); display: inline; }
.you-result.small { font-size: 13.5px; }
.you-block p { font-size: 14px; }
.photos { display: grid; grid-template-columns: 1fr 1fr; gap: 8px; margin-top: 10px; }
.photos img { border-radius: 10px; aspect-ratio: 1; object-fit: cover; }

.flist { display: grid; gap: 12px; }
@media (min-width: 720px) { .flist { grid-template-columns: 1fr 1fr; } }
.fcard { position: relative; overflow: hidden; background: linear-gradient(135deg, #fff 60%, #fbf3dc); border-radius: 20px; padding: 18px 18px 18px 80px; text-decoration: none; box-shadow: var(--shadow); display: flex; flex-direction: column; gap: 4px; border: 1px solid transparent; min-height: 108px; }
.fcard:hover { border-color: var(--gold); }
.fcard .f-emoji { position: absolute; left: 18px; top: 18px; width: 48px; height: 48px; border-radius: 14px; background: var(--navy); display: grid; place-items: center; font-size: 24px; }
.fcard .f-label { font-size: 11px; font-weight: 800; color: var(--gold); }
.fcard b { font-size: 16px; color: var(--navy); line-height: 1.45; }
.fcard .f-lead { font-size: 12.5px; color: var(--muted); display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; overflow: hidden; }

.frank { list-style: none; padding: 0; margin: 0; display: grid; gap: 12px; }
.frow { background: #fff; border-radius: var(--radius); padding: 16px; box-shadow: var(--shadow); display: flex; flex-direction: column; gap: 8px; }
.frow-head { display: flex; align-items: center; gap: 8px; }
.frow-head .rank { font-family: var(--num); font-weight: 900; font-size: 22px; color: var(--gold); width: 26px; }
.frow-head b { font-size: 16px; color: var(--navy); line-height: 1.4; }
.frow-comment { margin: 0; font-size: 14px; }
.frow-benefit { display: flex; align-items: baseline; gap: 8px; flex-wrap: wrap; }
.frow-benefit .benefit { font-size: 22px; }
.frow .campaign { margin: 0; }
.frow-cta .btn { min-height: 44px; font-size: 14px; }

.profile-hero { background: radial-gradient(120% 90% at 100% 0%, var(--navy-3) 0%, var(--navy) 60%); color: #fff; padding: 24px 0 32px; text-align: center; }
.profile-hero .crumb { text-align: left; }
.profile-hero h1 { font-size: 26px; font-weight: 900; }
.profile-hero h1 small { display: block; font-size: 13px; font-weight: 600; color: #c9d3e8; margin-top: 2px; }
.profile-hero .p-catch { font-size: 17px; font-weight: 800; color: var(--gold); margin: 14px 0 6px; }
.profile-hero .p-intro { font-size: 14px; color: #d5ddef; text-align: left; margin: 0 0 18px; }
.facts { display: grid; grid-template-columns: 1fr 1fr; gap: 8px; margin: 0; }
.facts div { background: var(--bg); border-radius: 12px; padding: 10px 12px; }
.facts dt { font-size: 11px; color: var(--muted); }
.facts dd { margin: 0; font-weight: 700; font-size: 14px; color: var(--navy); }
.block p { font-size: 14px; margin: 0; }
.rules { list-style: none; padding: 0; margin: 0; display: grid; gap: 10px; }
.rules li { display: flex; gap: 12px; background: #fff; border-radius: var(--radius); padding: 14px 16px; box-shadow: var(--shadow); }
.rules .r-num { flex: none; width: 30px; height: 30px; border-radius: 50%; background: var(--navy); color: var(--gold); font-family: var(--num); font-weight: 900; display: grid; place-items: center; }
.rules b { color: var(--navy); font-size: 15px; }
.rules p { margin: 2px 0 0; font-size: 13px; color: var(--muted); }
.timeline { list-style: none; padding: 0 0 0 18px; margin: 0; border-left: 2px solid var(--gold); display: grid; gap: 14px; }
.timeline li { position: relative; }
.timeline li::before { content: ""; position: absolute; left: -25px; top: 6px; width: 12px; height: 12px; border-radius: 50%; background: var(--gold); border: 2px solid var(--bg); }
.timeline .t-when { display: block; font-family: var(--num); font-weight: 800; font-size: 13px; color: var(--gold); }
.timeline .t-what { font-size: 14px; }
.mini .you-badge { font-size: 10px; padding: 0 6px; margin-bottom: 2px; }
.nav a { white-space: nowrap; }
.logo-text b { white-space: nowrap; }
@media (max-width: 400px) {
  .nav a { padding: 6px 7px; font-size: 12px; }
  .logo { gap: 8px; }
  .logo-text b { font-size: 14px; }
  .logo-text small { font-size: 10px; }
}
.frow .you-result { background: none; border-left: 3px solid var(--gold); padding-left: 10px; display: block; }

/* ---- v3: 3ステップ・想い ---- */
.steps { display: grid; gap: 12px; }
@media (min-width: 900px) { .steps { grid-template-columns: repeat(3, 1fr); } }
.step { background: #fff; border-radius: 20px; padding: 18px; box-shadow: var(--shadow); border-top: 4px solid var(--navy); display: flex; flex-direction: column; gap: 6px; }
.step-down { border-top-color: #2f7d5b; }
.step-choose { border-top-color: var(--navy-3); }
.step-use { border-top-color: var(--gold); }
.step-head { display: flex; align-items: center; gap: 8px; }
.step-num { font-family: var(--num); font-weight: 800; font-size: 11px; letter-spacing: .12em; color: var(--muted); }
.step-label { font-weight: 900; font-size: 20px; color: var(--navy); }
.step h3 { font-size: 15px; color: var(--ink); }
.step p { font-size: 13px; color: var(--muted); margin: 0; }
.step-genres { display: grid; gap: 8px; margin-top: 6px; }
.gchip { display: grid; grid-template-columns: 28px 1fr auto; align-items: center; gap: 8px; background: var(--bg); border-radius: 12px; padding: 10px 12px; text-decoration: none; border: 1px solid transparent; }
.gchip:hover { border-color: var(--gold); }
.gchip span { font-size: 20px; }
.gchip b { font-size: 14px; color: var(--navy); }
.gchip small { font-size: 12px; color: var(--muted); }
.soon.small span { font-size: 11.5px; padding: 3px 10px; }
.step-tag { display: inline-block; margin-top: 8px; font-size: 11.5px; font-weight: 800; color: var(--navy); background: var(--gold); padding: 2px 10px; border-radius: 999px; }
.profile-hero .eyebrow { display: block; margin-top: 4px; }
.profile-hero .p-mission { font-size: 22px; line-height: 1.55; margin: 8px 0 14px; }
.profile-hero .p-sign { font-size: 13px; color: #a9b6d3; text-align: right; margin: -8px 0 18px; }
.why { display: grid; gap: 12px; }
.why-item { background: #fff; border-radius: 20px; padding: 20px; box-shadow: var(--shadow); position: relative; }
.why-num { font-family: var(--num); font-weight: 900; font-size: 30px; color: var(--gold-2); line-height: 1; }
.why-item h3 { font-size: 16px; color: var(--navy); margin: 6px 0 8px; }
.why-item p { font-size: 14px; margin: 0; }
.profile h3 { line-height: 1.5; }

/* ---- v5: ポータル（トップ）— InstagramのTIER画像に合わせたデザイン ---- */
body.is-portal {
  --t-S: #e8202a; --t-A: #f5821f; --t-B: #f2bd00; --t-C: #23a944; --t-D: #7a3fc6;
  --ink-navy: #0f2a6e; --red: #e60012; --yellow: #ffd21f;
  background:
    radial-gradient(60% 30% at 15% 0%, rgba(255,255,255,.55), transparent 70%),
    radial-gradient(40% 25% at 90% 18%, rgba(255,255,255,.25), transparent 70%),
    repeating-linear-gradient(115deg, rgba(255,255,255,.07) 0 2px, transparent 2px 26px),
    repeating-linear-gradient(65deg, rgba(255,255,255,.05) 0 2px, transparent 2px 34px),
    linear-gradient(180deg, #5fd6ff 0%, #22aef0 30%, #0d8ad8 65%, #0a6cc0 100%);
}
.visually-hidden { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }
.portal { max-width: 480px; margin: 0 auto; }
.p-col { padding: 0 14px 24px; }

/* 白フチの極太タイトル（投稿のタイトルと同じ見せ方） */
.outline {
  font-family: "Noto Sans JP", sans-serif; font-weight: 900; color: var(--ink-navy);
  -webkit-text-stroke: 8px #fff; paint-order: stroke fill;
  text-shadow: 0 5px 0 rgba(5, 25, 70, .35);
  letter-spacing: .01em; line-height: 1.18; text-align: center; margin: 0;
}
.outline em { font-style: normal; color: var(--yellow); -webkit-text-stroke: 8px var(--ink-navy); }

/* 吹き出し */
.bubble { position: relative; display: inline-block; background: #fff; color: var(--ink-navy); font-weight: 900; font-size: 13px; line-height: 1.45; padding: 9px 14px; border-radius: 18px; box-shadow: 0 3px 0 rgba(5, 25, 70, .25); text-align: center; }
.bubble::after { content: ""; position: absolute; bottom: -8px; left: 50%; transform: translateX(-50%); border: 9px solid transparent; border-top-color: #fff; border-bottom: 0; }
.bubble em { font-style: normal; color: var(--red); }

/* ヒーロー */
.p-hero { position: relative; padding: 18px 12px 22px; color: var(--ink-navy); }
.p-hero.img { padding: 0; }
.p-hero-bg { width: 100%; }
.p-hero-top { display: flex; justify-content: space-between; gap: 10px; margin-bottom: 14px; }
.p-hero-top .b-left { transform: rotate(-4deg); }
.p-hero-top .b-right { transform: rotate(4deg); }
.p-title { font-size: 48px; }
.ribbon { display: table; margin: 10px auto 0; background: var(--ink-navy); color: #fff; font-weight: 900; font-size: 15px; padding: 5px 22px; border-radius: 999px; border: 3px solid var(--yellow); }
.p-floats { position: relative; height: 230px; margin: 18px 0 8px; overflow: hidden; padding: 0 4px; }
.p-floats .fl { position: absolute; width: 36%; border-radius: 10px; border: 3px solid #fff; box-shadow: 0 8px 16px rgba(5, 25, 70, .3); animation: float 6s ease-in-out infinite; }
.fl1 { left: 2%; top: 34px; transform: rotate(-10deg); }
.fl2 { left: 32%; top: 0; transform: rotate(0); z-index: 2; animation-delay: -1.5s !important; }
.fl3 { right: 2%; top: 34px; transform: rotate(10deg); animation-delay: -3s !important; }
.fl4, .fl5 { display: none; }
@keyframes float { 50% { translate: 0 -7px; } }
@media (prefers-reduced-motion: reduce) { .p-floats .fl { animation: none; } }
.p-who { display: flex; gap: 12px; align-items: center; background: #fff; border-radius: 18px; padding: 12px 14px; border: 3px solid var(--ink-navy); box-shadow: 0 5px 0 rgba(5, 25, 70, .3); }
.p-who p { margin: 0; font-size: 13px; font-weight: 700; line-height: 1.6; }
.p-who p em { font-style: normal; color: var(--red); }
.p-who .avatar.lg { flex: none; }

/* メッセージ */
.p-note-wrap { padding: 20px 0 4px; }
.p-note { background: #fff; border-radius: 22px; padding: 22px 20px 16px; border: 3px solid var(--ink-navy); box-shadow: 0 5px 0 rgba(5, 25, 70, .3); text-align: center; }
.p-note p { margin: 0; font-size: 15.5px; font-weight: 800; line-height: 1.9; color: var(--ink-navy); }
.p-note em { font-style: normal; color: var(--red); background: linear-gradient(transparent 60%, #fff0a0 60%); }
.p-note .sign { display: flex; align-items: center; justify-content: flex-end; gap: 8px; margin-top: 10px; font-weight: 800; font-size: 13px; color: var(--muted); }
.p-note .sign .avatar { width: 30px; height: 30px; font-size: 13px; }

/* セクション見出し */
.p-sec { padding-top: 30px; }
.ph { text-align: center; margin: 4px 0 18px; }
.ph .bubble { margin-bottom: 12px; }
.ph h2 { font-size: 38px; }
.ph-lead { display: inline-block; margin: 12px 0 0; background: var(--ink-navy); color: #fff; font-size: 12.5px; font-weight: 700; padding: 5px 16px; border-radius: 999px; }

/* カード（TIERの段と同じ色の太枠） */
.pc { --t: var(--t-S); position: relative; background: #fff; border: 4px solid var(--t); border-radius: 20px; padding: 18px 16px 16px; margin: 0 0 20px; box-shadow: 0 6px 0 rgba(5, 25, 70, .25); }
.pc.t-A { --t: var(--t-A); } .pc.t-B { --t: var(--t-B); } .pc.t-C { --t: var(--t-C); } .pc.t-D { --t: var(--t-D); }
.pc-tier { position: absolute; top: -16px; left: -10px; width: 46px; height: 46px; border-radius: 12px; background: var(--t); font-size: 24px; display: grid; place-items: center; box-shadow: 0 3px 0 rgba(5, 25, 70, .3); border: 3px solid #fff; z-index: 2; transform: rotate(-6deg); }
.pc-main { display: grid; grid-template-columns: 44% 1fr; gap: 12px; align-items: start; }
.pc.wide .pc-main { grid-template-columns: 1fr; }
.pc-thumb { border-radius: 12px; overflow: hidden; border: 2px solid #e6e3da; background: #f1efe8; }
.pc-thumb img { width: 100%; aspect-ratio: 4 / 5; object-fit: cover; object-position: top; }
.pc.wide .pc-thumb img { aspect-ratio: 16 / 9; }
.pc-label { display: inline-block; background: var(--t); color: #fff; font-weight: 900; font-size: 11px; padding: 2px 10px; border-radius: 999px; margin-bottom: 6px; }
.pc-text h3 { font-size: 19px; font-weight: 900; color: var(--ink-navy); line-height: 1.35; }
.pc-text p { font-size: 13px; color: #3b4458; margin: 7px 0 0; line-height: 1.65; font-weight: 600; }
.pc-time { display: inline-block; margin-top: 10px; background: var(--red); color: #fff; font-size: 12px; font-weight: 900; padding: 3px 12px; border-radius: 8px; }
.pc-acc { margin: 14px 0 12px; border-radius: 14px; background: #f4f7fd; overflow: hidden; }
.pc-acc summary { list-style: none; cursor: pointer; display: flex; justify-content: space-between; align-items: center; padding: 11px 14px; background: var(--ink-navy); color: #fff; font-weight: 900; font-size: 14px; }
.pc-acc summary::-webkit-details-marker { display: none; }
.pc-acc .pm { position: relative; width: 22px; height: 22px; border-radius: 50%; background: var(--yellow); }
.pc-acc .pm::before, .pc-acc .pm::after { content: ""; position: absolute; left: 5px; top: 10px; width: 12px; height: 2.5px; border-radius: 2px; background: var(--ink-navy); transition: transform .2s; }
.pc-acc .pm::after { transform: rotate(90deg); }
.pc-acc[open] .pm::after { transform: rotate(0); }
.pc-acc ul { margin: 0; padding: 12px 14px 4px 32px; }
.pc-acc li { font-size: 13.5px; font-weight: 700; margin: 4px 0; color: var(--ink-navy); }
.pc-acc li::marker { color: var(--t); }
.pc-shots { display: grid; grid-template-columns: 1fr 1fr; gap: 8px; padding: 8px 14px 14px; }
.pc-shots img { border-radius: 10px; border: 2px solid #e6e3da; }
.pc:not(:has(.pc-acc)) .pc-line { margin-top: 14px; }
.pc-line { display: grid; grid-template-columns: 44px 1fr 18px; align-items: center; min-height: 58px; padding: 0 14px; border-radius: 16px; background: linear-gradient(180deg, #19d86a, #05b84f); color: #fff; text-decoration: none; border: 3px solid #fff; box-shadow: 0 0 0 2px #058a3c, 0 6px 0 2px #04692e; font-size: 16px; margin: 4px 2px 0; transition: transform .1s; }
.pc-line:active { transform: translateY(3px); box-shadow: 0 0 0 2px #058a3c, 0 3px 0 2px #04692e; }
.pc-line .ic { background: #fff; color: #05b84f; font-family: var(--num); font-weight: 900; font-size: 10px; border-radius: 6px; padding: 3px 0; text-align: center; letter-spacing: .02em; }
.pc-line b { text-align: center; font-weight: 900; }
.pc-line > span:last-child { font-size: 24px; font-weight: 900; text-align: right; }
.pc-kw { text-align: center; font-size: 11.5px; color: var(--muted); margin: 12px 0 0; font-weight: 600; }
.pc-kw b { color: var(--red); font-family: var(--num); font-size: 13px; }
.pc-subs { display: flex; justify-content: center; gap: 18px; margin-top: 8px; }
.pc-subs a { font-size: 13.5px; font-weight: 900; color: var(--ink-navy); text-underline-offset: 3px; }

/* LINE特典 */
.p-gift { position: relative; background: #fff; border: 4px solid var(--red); border-radius: 22px; padding: 26px 16px 18px; text-align: center; box-shadow: 0 6px 0 rgba(5, 25, 70, .25); }
.gift-ico { position: absolute; top: -26px; right: 12px; font-size: 46px; transform: rotate(12deg); filter: drop-shadow(0 3px 0 rgba(0,0,0,.2)); }
.p-gift-badge { display: inline-block; background: var(--yellow); color: var(--ink-navy); font-weight: 900; font-size: 17px; padding: 8px 18px; border-radius: 12px; border: 3px solid var(--ink-navy); }
.p-gift-badge em { font-style: normal; color: var(--red); }
.p-gift-lead { font-size: 13.5px; font-weight: 700; margin: 14px 0 6px; line-height: 1.8; }
.p-collage { position: relative; height: 240px; margin: 10px 0 6px; }
.p-collage img { position: absolute; width: 46%; border-radius: 8px; box-shadow: 0 8px 16px rgba(5, 25, 70, .2); border: 2px solid #fff; }
.p-collage .c1 { left: 2%; top: 26px; transform: rotate(-7deg); }
.p-collage .c2 { left: 27%; top: 0; transform: rotate(2deg); z-index: 2; }
.p-collage .c3 { right: 2%; top: 30px; transform: rotate(8deg); }
.p-gift-list { list-style: none; padding: 12px 14px; margin: 6px 0 16px; text-align: left; display: grid; gap: 6px; background: #f4f7fd; border-radius: 14px; }
.p-gift-list li { font-size: 14px; font-weight: 800; display: flex; gap: 8px; color: var(--ink-navy); }
.p-gift-list li::before { content: "✓"; color: var(--red); font-weight: 900; }

/* 締め */
.p-closing { padding: 34px 0 10px; }
.p-closing-in { background: #fff; border-radius: 22px; padding: 22px 16px; text-align: center; border: 3px solid var(--ink-navy); box-shadow: 0 5px 0 rgba(5, 25, 70, .3); }
.p-closing-in .avatar.lg { margin: 0 auto 10px; }
.p-closing p { font-size: 14px; font-weight: 700; line-height: 2; color: var(--ink-navy); margin: 0 0 16px; }
.p-closing p em { font-style: normal; color: var(--red); }
.p-ig { display: block; background: linear-gradient(90deg, #f9a03f, #e1306c, #833ab4); color: #fff; font-weight: 900; padding: 14px; border-radius: 16px; text-decoration: none; border: 3px solid #fff; box-shadow: 0 0 0 2px #833ab4; }
.p-links { display: flex; flex-wrap: wrap; justify-content: center; gap: 6px 14px; margin-top: 18px; }
.p-links a { font-size: 12.5px; font-weight: 700; color: var(--ink-navy); }
body.is-portal .pr-bar { background: rgba(5, 25, 70, .85); }
body.is-portal .site-footer { margin-top: 0; }
body.is-portal .avatar { background: #fff; color: var(--ink-navy); border: 3px solid var(--ink-navy); }

/* ---- v6: TIER表の一覧・記事 ---- */
.pc-links { display: grid; gap: 8px; padding: 12px 14px 14px; }
.pc-links a { display: flex; justify-content: space-between; align-items: center; background: #fff; border: 2px solid var(--t); border-radius: 12px; padding: 10px 14px; font-weight: 900; font-size: 14px; color: var(--ink-navy); text-decoration: none; }
.pc-links a span { color: var(--t); font-size: 20px; }
.p-more { background: #fff; border-radius: 20px; border: 3px solid var(--ink-navy); padding: 16px 14px; box-shadow: 0 5px 0 rgba(5, 25, 70, .3); }
.p-more h3 { text-align: center; font-size: 17px; font-weight: 900; color: var(--ink-navy); margin-bottom: 12px; }
.p-more-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 8px; }
.p-more-grid a { display: grid; grid-template-columns: 30px 1fr; grid-template-rows: auto auto; column-gap: 6px; align-items: center; background: #f4f7fd; border-radius: 12px; padding: 9px 10px; text-decoration: none; }
.p-more-grid a span { grid-row: 1 / 3; font-size: 22px; text-align: center; }
.p-more-grid a b { font-size: 13px; color: var(--ink-navy); line-height: 1.3; }
.p-more-grid a small { font-size: 10.5px; color: var(--red); font-weight: 800; }
.fx { opacity: 0; transform: translateY(18px); transition: opacity .5s ease, transform .5s ease; }
.fx-in { opacity: 1; transform: none; }
.a-page { margin-top: 20px; }
.a-page h1 { font-size: 24px; line-height: 1.45; margin: 8px 0 6px; }
.a-page h2 { font-size: 18px; color: var(--navy); border-left: 5px solid var(--gold); padding-left: 10px; margin: 26px 0 8px; }
.a-page p, .a-page li { font-size: 15px; line-height: 1.9; }
.a-emoji { font-size: 40px; }
.a-lead { font-weight: 700; color: var(--ink); }
.a-meta { font-size: 12px; color: var(--muted); }
.a-note { font-size: 12.5px !important; color: var(--muted); background: var(--bg); border-radius: 10px; padding: 10px 12px; margin-top: 18px; }
.a-draft { background: #fff3cd; color: #7a4b00; font-weight: 800; font-size: 13px !important; border-radius: 10px; padding: 8px 12px; }
.a-links { display: grid; gap: 8px; margin: 12px 0; }
.a-links a { display: flex; justify-content: space-between; background: var(--navy); color: #fff; font-weight: 800; text-decoration: none; padding: 12px 16px; border-radius: 12px; font-size: 14px; }

/* ---- v7: すでに友だちの人向け（内容を直接ひらく） ---- */
.pc-cta { display: grid; grid-template-columns: 1fr 18px; align-items: center; min-height: 58px; padding: 0 18px 0 36px; margin: 14px 2px 0; border-radius: 16px; background: linear-gradient(180deg, #ff3b3b, #e60012); color: #fff; text-decoration: none; border: 3px solid #fff; box-shadow: 0 0 0 2px #b0000e, 0 6px 0 2px #7d000a; font-size: 16.5px; transition: transform .1s; }
.pc-cta:active { transform: translateY(3px); box-shadow: 0 0 0 2px #b0000e, 0 3px 0 2px #7d000a; }
.pc-cta b { text-align: center; font-weight: 900; }
.pc-cta span { font-size: 24px; font-weight: 900; text-align: right; }
.pc-acc + .pc-cta { margin-top: 4px; }
body.is-portal .fixed-cta { display: none; }
body.is-portal { padding-bottom: 0; }
.p-gift-lead em { font-style: normal; color: var(--red); }
