:root {
  --blue: #13a89e;
  --blue-deep: #0f7f78;
  --yellow: #ff8a3d;
  --orange: #ff8a3d;
  --cream: #fffaf0;
  --ink: #2c3e50;
  --muted: #7a8a9a;
  --font: "Hiragino Sans", "PingFang SC", "Noto Sans JP", "Microsoft YaHei", system-ui, sans-serif;
}
*, *::before, *::after { box-sizing: border-box; }
body {
  margin: 0; font-family: var(--font); color: var(--ink);
  background: var(--cream); line-height: 1.6;
}
a { color: var(--blue-deep); text-decoration: none; }
.topbar {
  position: sticky; top: 0; z-index: 50;
  background: #fff; border-bottom: 1px solid #e8eef5;
  display: flex; align-items: center; justify-content: space-between;
  padding: 10px 16px;
}
.logo {
  display: flex; align-items: center; gap: 8px; font-weight: 900;
  font-size: 18px; color: var(--blue-deep);
}
.logo-mark {
  width: 34px; height: 34px; border-radius: 10px; background: var(--blue);
  color: #fff; display: grid; place-items: center; font-size: 16px;
}
.lang-switch {
  display: inline-flex; gap: 2px; background: #f0f4f8;
  border-radius: 999px; padding: 3px;
}
.lang-switch button {
  border: none; background: transparent; padding: 6px 10px;
  border-radius: 999px; font-size: 12px; font-weight: 800;
  color: var(--muted); cursor: pointer;
}
.lang-switch button.active { background: var(--blue); color: #fff; }

.hero {
  max-width: 720px; margin: 0 auto; padding: 28px 16px 20px; text-align: center;
}
.hero-kicker {
  display: inline-block; background: #fff3d0; color: var(--orange);
  font-weight: 900; font-size: 12px; padding: 5px 12px; border-radius: 999px;
  margin-bottom: 12px;
}
.hero h1 {
  margin: 0 0 10px; font-size: clamp(26px, 7vw, 36px); line-height: 1.3;
}
.hero h1 .accent { color: var(--blue); }
.hero-sub { color: var(--muted); font-size: 14px; margin: 0 auto 18px; max-width: 420px; }
.hero-ctas { display: flex; flex-wrap: wrap; gap: 10px; justify-content: center; margin-bottom: 10px; }
.btn {
  display: inline-flex; align-items: center; justify-content: center;
  border-radius: 999px; padding: 14px 26px; font-weight: 900; font-size: 15px;
}
.btn-primary {
  background: var(--blue); color: #fff; box-shadow: 0 4px 12px rgba(19,168,158,.35);
}
.btn-yellow {
  background: linear-gradient(180deg, #ffe97a, #ffd000);
  color: var(--orange); box-shadow: 0 4px 0 #e6b800;
}
.hero-note { font-size: 12px; color: var(--muted); margin: 0; }

.preview {
  max-width: 360px; margin: 8px auto 28px;
  background: linear-gradient(180deg, #1aa79c, #0f7f78);
  border-radius: 24px; padding: 20px 16px 16px; color: #fff;
  box-shadow: 0 12px 32px rgba(47,122,204,.35);
}
.preview .mini-card {
  background: #fff; border-radius: 18px; padding: 16px; color: var(--ink); text-align: center;
}
.preview .stars { color: #d0d7e0; letter-spacing: 4px; font-size: 18px; }
.preview .stars .on { color: #ff8a3d; }
.preview .coin {
  width: 72px; height: 72px; margin: 8px auto; border-radius: 50%;
  background: linear-gradient(160deg, #e8c078, #8b6914);
  border: 4px solid #f5d76e; display: grid; place-items: center;
  font-size: 28px; font-weight: 900; color: #fff;
}
.preview .cta {
  margin-top: 10px; background: linear-gradient(180deg, #ffe97a, #ffd000);
  color: var(--orange); font-weight: 900; border-radius: 999px; padding: 10px;
  font-size: 14px;
}
.preview .tiles {
  display: grid; grid-template-columns: repeat(3,1fr); gap: 6px; margin-top: 10px;
}
.preview .tiles span {
  background: rgba(255,255,255,.2); border-radius: 10px; padding: 8px 4px;
  font-size: 10px; font-weight: 800; text-align: center;
}

.section { max-width: 720px; margin: 0 auto; padding: 8px 16px 28px; }
.section h2 { font-size: 18px; margin: 0 0 12px; }
.features { display: grid; gap: 10px; }
@media (min-width: 600px) { .features { grid-template-columns: repeat(3,1fr); } }
.feature {
  background: #fff; border-radius: 14px; padding: 16px; border: 1px solid #e8eef5;
}
.feature .num {
  width: 24px; height: 24px; border-radius: 50%; background: var(--blue);
  color: #fff; display: grid; place-items: center; font-size: 12px; font-weight: 900;
  margin-bottom: 8px;
}
.feature h3 { margin: 0 0 4px; font-size: 15px; }
.feature p { margin: 0; font-size: 12px; color: var(--muted); }

.how-steps { list-style: none; padding: 0; margin: 0; display: grid; gap: 8px; counter-reset: s; }
.how-steps li {
  background: #fff; border-radius: 12px; padding: 12px 12px 12px 44px;
  position: relative; font-weight: 700; font-size: 14px; border: 1px solid #e8eef5;
}
.how-steps li::before {
  counter-increment: s; content: counter(s);
  position: absolute; left: 12px; top: 50%; transform: translateY(-50%);
  width: 24px; height: 24px; border-radius: 50%; background: var(--blue);
  color: #fff; display: grid; place-items: center; font-size: 12px;
}
.footer {
  text-align: center; padding: 24px 16px 40px; color: var(--muted); font-size: 12px;
  border-top: 1px solid #e8eef5;
}

.btn-yellow, .preview .cta{ background:#ff8a3d!important; color:#fff!important; border-radius:12px!important; box-shadow:0 5px 0 #d9631a!important; }
.btn-primary{ border-radius:12px; box-shadow:0 5px 0 #0b5f5a; }
.preview .mini-card{ background:#fffaf0; }
.hero-kicker{ background:#ffe3cf; color:#d9631a; }

.btn-ghost {
  background: #fff; color: var(--blue-deep);
  border: 2px solid var(--blue); border-radius: 12px;
  box-shadow: 0 4px 0 #c5ddd9;
}
.feature { display:block; color:inherit; transition: transform .12s; }
.feature:active { transform: scale(0.98); }
.hero-ctas .btn { min-width: 140px; }

/* ---- v2 home ---- */
.hero h1 { font-size: clamp(24px, 6.4vw, 34px); color: var(--ink); }
.hero-sub { max-width: 520px; font-size: 15px; color: #4d5d6d; }
.hero-art { display: flex; flex-wrap: wrap; gap: 8px; justify-content: center; margin: 6px 0 4px; }
.hero-art .tile { background: #fff; border: 2px solid #d7ece9; border-radius: 12px; padding: 6px 12px; font-weight: 900; color: var(--blue-deep); font-size: 15px; }
.hero-art .t2, .hero-art .t4 { border-color: #ffd8bd; color: #d9631a; }
.bygrade { background: #fff; border-radius: 18px; border: 1px solid #e8eef5; padding: 18px 18px 20px; margin-bottom: 18px; max-width: 688px; }
.bygrade h2 { color: var(--blue-deep); margin-bottom: 6px; }
.bygrade .lead { margin: 0; font-size: 14px; color: #4d5d6d; }
.big-cta {
  width: 100%; display: flex; align-items: center; gap: 14px; text-align: left;
  border: none; cursor: pointer; border-radius: 20px; padding: 22px 20px;
  background: linear-gradient(135deg, #ff9a52, #ff7a2a); color: #fff;
  box-shadow: 0 7px 0 #d9631a, 0 12px 24px rgba(255,122,42,.28); font-family: inherit;
}
.big-cta:active { transform: translateY(3px); box-shadow: 0 4px 0 #d9631a; }
.big-ico { font-size: 34px; width: 56px; height: 56px; display: grid; place-items: center; background: rgba(255,255,255,.22); border-radius: 16px; flex: none; }
.big-txt { flex: 1; display: flex; flex-direction: column; }
.big-txt strong { font-size: 26px; font-weight: 900; line-height: 1.2; }
.big-txt small { font-size: 13px; opacity: .92; font-weight: 700; }
.big-arrow { font-size: 34px; font-weight: 900; transition: transform .2s; }
.big-cta.open .big-arrow { transform: rotate(90deg); }
.grade-panel { margin-top: 18px; background: #fff; border-radius: 18px; border: 1px solid #e8eef5; padding: 16px; }
.grade-panel h3 { margin: 0 0 2px; font-size: 17px; }
.muted { color: var(--muted); font-size: 13px; margin: 0 0 12px; }
.grade-rows { list-style: none; margin: 0; padding: 0; display: grid; gap: 10px; }
.grade-row { display: grid; grid-template-columns: 44px 1fr; gap: 10px; align-items: center; padding: 12px; border-radius: 14px; background: #f6fbfa; border: 1px solid #dcefec; }
.g-badge { width: 44px; height: 44px; border-radius: 12px; background: var(--blue); color: #fff; font-weight: 900; font-size: 22px; display: grid; place-items: center; }
.g-info strong { display: block; font-size: 16px; }
.g-info span { display: block; font-size: 12px; color: var(--muted); line-height: 1.45; }
.g-actions { grid-column: 1 / -1; display: grid; grid-template-columns: 1fr 1fr; gap: 8px; }
@media (min-width: 600px) { .grade-row { grid-template-columns: 44px 1fr 240px; } .g-actions { grid-column: auto; } }
.btn-test, .btn-learn { display: flex; align-items: center; justify-content: center; min-height: 44px; border-radius: 12px; font-weight: 900; font-size: 15px; }
.btn-test { background: #fff; color: var(--blue-deep); border: 2px solid var(--blue); }
.btn-learn { background: #ff8a3d; color: #fff; box-shadow: 0 4px 0 #d9631a; }
.hero-note { margin-top: 10px; text-align: center; }
/* ---- v3 ---- */
a.big-cta { text-decoration: none; margin-bottom: 16px; }
.big-cta-teal { background: linear-gradient(135deg, #1fb5a9, #0f7f78); box-shadow: 0 7px 0 #0b5f5a, 0 12px 24px rgba(15,127,120,.28); }
.big-cta-teal:active { box-shadow: 0 4px 0 #0b5f5a; }
.grade-rows li { list-style: none; }
.grade-tap { grid-template-columns: 44px 1fr auto !important; color: inherit; text-decoration: none; cursor: pointer; transition: transform .1s; }
.grade-tap:active { transform: scale(.98); }
.g-go { font-weight: 900; color: #fff; background: #ff8a3d; border-radius: 999px; padding: 6px 12px; font-size: 13px; white-space: nowrap; box-shadow: 0 3px 0 #d9631a; }

/* v4 */
.bygrade-link { text-align: center; margin: 14px 0 0; font-size: 14px; color: #6b7c8c; }
.bygrade-link a { color: #0f7f78; font-weight: 700; text-decoration: underline; text-underline-offset: 3px; }
.legal-nav { display: flex; flex-wrap: wrap; justify-content: center; gap: 6px 16px; margin-bottom: 8px; font-size: 12px; }
.legal-nav a { color: inherit; opacity: .85; }
[hidden] { display: none !important; }
.hero-img { display: block; width: 100%; max-width: 440px; height: auto; margin: 10px auto 0; border-radius: 20px; }
.features { grid-template-columns: 1fr 1fr; gap: 12px; }
@media (min-width: 760px) { .features { grid-template-columns: repeat(4, 1fr); } }
.feature img { display: block; width: 100%; height: auto; aspect-ratio: 4 / 3; object-fit: cover; border-radius: 12px; margin-bottom: 8px; background: #fdf6ea; }
.feature h3 { font-size: 14px; }
.guide-short .lead { line-height: 1.8; }
.guide-more { margin: 10px 0 0; font-weight: 700; color: #0f7f78; }
.guide-more a { color: #0f7f78; }

/* v5 logo */
.logo { line-height: 0; }
.logo-img { display: block; height: 40px; width: auto; }
@media (min-width: 768px) { .logo-img { height: 52px; } .topbar { padding: 12px 28px; } .lang-switch button { font-size: 14px; padding: 8px 14px; } }

/* ===== v5 home promo ===== */
.hero { max-width: 1080px; }
.hero h1 { font-size: clamp(26px, 7.2vw, 44px); line-height: 1.35; letter-spacing: .01em; white-space: pre-line; text-wrap: balance; }
.hero-sub { font-size: clamp(15px, 2.2vw, 18px); line-height: 1.75; max-width: 560px; }
.hero-ctas2 { max-width: 520px; margin: 18px auto 0; }
.hero-ctas2 .big-cta { margin-bottom: 14px; }
.section-wide { max-width: 1080px; }
.sec-t { text-align: center; font-size: clamp(20px, 3vw, 28px) !important; color: var(--blue-deep); margin-bottom: 18px !important; }
.pf { background: #fff; border: 1px solid #e8eef5; border-radius: 18px; }
.pf h3 { margin: 0 0 6px; font-size: 17px; color: var(--ink); line-height: 1.4; }
.pf p { margin: 0; font-size: 14px; line-height: 1.75; color: #4d5d6d; }
.pf .pf-note { margin-top: 6px; font-size: 12px; color: var(--muted); }
.pf-big-grid { display: grid; gap: 14px; }
.pf-big { overflow: hidden; display: grid; grid-template-columns: 38% 1fr; align-items: center; }
.pf-big img { width: 100%; height: 100%; object-fit: cover; aspect-ratio: 4 / 3; background: #fdf6ea; display: block; }
.pf-big .pf-body { padding: 12px 14px; }
.pf-small-grid { display: grid; gap: 10px; margin-top: 14px; }
.pf-small { display: flex; gap: 12px; align-items: flex-start; padding: 14px; }
.pf-ico { flex: none; width: 46px; height: 46px; border-radius: 14px; display: grid; place-items: center; font-size: 24px; background: #ffe3cf; }
.pf-small:nth-child(2n) .pf-ico { background: #d6f2e5; }
.pf-small:nth-child(3n) .pf-ico { background: #e6defd; }
.cta-band { max-width: 560px; padding-top: 4px; }
.cta-band .big-cta { margin-bottom: 14px; }
@media (max-width: 420px) {
  .pf-big { grid-template-columns: 34% 1fr; }
  .pf-big .pf-body { padding: 10px 12px; }
  .pf h3 { font-size: 16px; }
  .big-txt strong { font-size: 22px; }
}
@media (min-width: 700px) {
  .pf-big-grid { grid-template-columns: 1fr 1fr; gap: 18px; }
  .pf-big { grid-template-columns: 1fr; align-items: stretch; }
  .pf-big .pf-body { padding: 16px 18px 18px; }
  .pf-small-grid { grid-template-columns: 1fr 1fr; gap: 14px; }
  .pf h3 { font-size: 19px; }
  .pf p { font-size: 15px; }
  .section { padding-left: 28px; padding-right: 28px; }
  .section h2 { font-size: 22px; }
  .how-steps li { font-size: 16px; padding: 16px 16px 16px 50px; }
  .hero-note, .guide-short .lead { font-size: 15px; }
  .footer, .legal-nav { font-size: 14px; }
}
@media (min-width: 1000px) {
  .hero { display: grid; grid-template-columns: 1.05fr .95fr; gap: 36px; align-items: center; text-align: left; padding-top: 40px; }
  .hero .hero-sub { margin-left: 0; }
  .hero-ctas2 { margin-left: 0; }
  .hero-img { max-width: 100%; margin: 0; }
  .hero .bygrade-link { text-align: left; }
  .pf-big-grid { grid-template-columns: repeat(4, 1fr); }
  .pf-small-grid { grid-template-columns: repeat(3, 1fr); }
}

/* ===== v6: header sign-up / log-in, menu, register CTAs, trial + parent sections ===== */
.topbar { gap: 8px; flex-wrap: nowrap; }
.tb-right { display: flex; align-items: center; gap: 6px; min-width: 0; }
.tb-links { display: none; }
.tb-btn { display: inline-flex; align-items: center; gap: 4px; height: 34px; padding: 0 10px; border-radius: 10px; font-size: 13px; font-weight: 800; white-space: nowrap; text-decoration: none; }
.tb-signup { background: #ff8a3d; color: #fff; box-shadow: 0 3px 0 #d9631a; }
.tb-login { background: #fff; color: var(--blue-deep); border: 2px solid var(--blue); }
.tb-my { background: #e6f7f5; color: var(--blue-deep); border: 2px solid #bfe6e1; max-width: 160px; }
.tb-my-n { overflow: hidden; text-overflow: ellipsis; max-width: 80px; font-weight: 700; }
.tb-my-l { display: none; }
.lang-switch .l-short { display: none; }
.tb-menu { width: 34px; height: 34px; border: none; border-radius: 10px; background: #f0f4f8; display: grid; place-content: center; gap: 4px; cursor: pointer; padding: 0; flex: none; }
.tb-menu span { display: block; width: 16px; height: 2px; border-radius: 2px; background: var(--blue-deep); transition: transform .15s, opacity .15s; }
.tb-menu.open span:nth-child(1) { transform: translateY(6px) rotate(45deg); }
.tb-menu.open span:nth-child(2) { opacity: 0; }
.tb-menu.open span:nth-child(3) { transform: translateY(-6px) rotate(-45deg); }
.tb-drop { position: absolute; top: 100%; right: 10px; min-width: 220px; background: #fff; border: 1px solid #e3ecef; border-radius: 14px; box-shadow: 0 12px 30px rgba(15,60,60,.16); padding: 6px; display: grid; z-index: 60; }
.tb-drop a { padding: 12px 14px; border-radius: 10px; font-weight: 700; font-size: 15px; color: var(--ink); }
.tb-drop a:hover { background: #f1f8f7; }
@media (max-width: 479px) {
  .topbar { padding: 8px 10px; }
  .logo-img { height: 34px; }
  .lang-switch button { padding: 6px 8px; }
  .lang-switch .l-long { display: none; }
  .lang-switch .l-short { display: inline; }
  .tb-btn { padding: 0 8px; font-size: 12px; height: 32px; }
  .tb-menu { width: 32px; height: 32px; }
  .tb-right { gap: 5px; }
}
@media (max-width: 359px) { .tb-login { display: none; } }
@media (min-width: 768px) {
  .tb-right { gap: 10px; }
  .tb-btn { height: 42px; padding: 0 16px; font-size: 15px; border-radius: 12px; }
  .tb-my-l { display: inline; }
  .tb-my-l::after { content: '·'; margin-left: 4px; }
  .tb-menu { width: 42px; height: 42px; }
}
@media (min-width: 1000px) {
  .tb-links { display: flex; gap: 16px; margin-right: 4px; }
  .tb-links a { font-weight: 700; font-size: 15px; color: var(--blue-deep); white-space: nowrap; }
}
/* hero: secondary trial button */
.trial-cta { display: flex; align-items: center; gap: 12px; padding: 14px 16px; border-radius: 16px; background: #fff; border: 2px solid #bfe6e1; color: var(--ink); text-decoration: none; box-shadow: 0 4px 0 #d7ece9; }
.trial-cta .tc-ico { font-size: 24px; width: 44px; height: 44px; border-radius: 12px; background: #e6f7f5; display: grid; place-items: center; flex: none; }
.trial-cta .tc-txt { flex: 1; display: flex; flex-direction: column; text-align: left; }
.trial-cta strong { font-size: 18px; color: var(--blue-deep); line-height: 1.3; }
.trial-cta small { font-size: 13px; color: #5d6d7d; font-weight: 700; }
.trial-cta .tc-arrow { font-size: 26px; font-weight: 900; color: var(--blue-deep); }
.trial-cta:active { transform: translateY(2px); box-shadow: 0 2px 0 #d7ece9; }
/* register CTA under sections */
.reg-row { text-align: center; margin: 18px 0 0; }
.reg-cta { display: inline-flex; flex-direction: column; align-items: center; gap: 2px; min-width: min(100%, 320px); padding: 12px 24px; border-radius: 14px; background: #ff8a3d; color: #fff; text-decoration: none; box-shadow: 0 5px 0 #d9631a; }
.reg-cta strong { font-size: 17px; font-weight: 900; }
.reg-cta small { font-size: 12px; font-weight: 700; opacity: .95; }
.reg-cta:active { transform: translateY(3px); box-shadow: 0 2px 0 #d9631a; }
/* parent section */
.parent-sec { max-width: 720px; }
.parent-card { background: #fff; border: 1px solid #e3ecef; border-radius: 18px; padding: 18px; display: grid; gap: 12px; }
.parent-card .pc-head { display: flex; gap: 12px; align-items: center; }
.parent-card .pc-ico { font-size: 28px; width: 52px; height: 52px; border-radius: 14px; background: #e6defd; display: grid; place-items: center; flex: none; }
.parent-card h2 { margin: 0 !important; color: var(--blue-deep); }
.parent-card p { margin: 0; font-size: 14px; line-height: 1.75; color: #4d5d6d; }
.pc-btns { display: grid; gap: 10px; }
.pc-login { display: flex; align-items: center; justify-content: center; min-height: 50px; border-radius: 12px; background: var(--blue); color: #fff; font-weight: 900; font-size: 16px; box-shadow: 0 5px 0 #0b5f5a; text-decoration: none; }
.pc-login:active { transform: translateY(3px); box-shadow: 0 2px 0 #0b5f5a; }
.pc-demo { text-align: center; font-weight: 700; color: var(--blue-deep); text-decoration: underline; text-underline-offset: 3px; font-size: 14px; }
@media (min-width: 700px) {
  .parent-card { padding: 24px 26px; }
  .parent-card p { font-size: 15px; }
  .pc-btns { grid-template-columns: 1fr auto; align-items: center; }
  .trial-cta strong { font-size: 20px; }
  .reg-cta strong { font-size: 19px; }
}
.legal-nav a + a { position: relative; }
.tb-drop a.tb-logout { border-top: 1px solid #eef3f5; margin-top: 4px; color: #c0392b; }
/* plan CTAs + price (2026-11-03) */
.plan-ctas { display: grid; grid-template-columns: 1fr 1fr; gap: 12px; margin: 16px 0 20px; max-width: 560px; }
.plan-ctas a { display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 2px; min-height: 64px; padding: 10px 12px; border-radius: 16px; text-decoration: none; text-align: center; font-family: inherit; }
.plan-ctas strong { font-size: 18px; font-weight: 900; line-height: 1.25; }
.plan-ctas small { font-size: 12px; font-weight: 700; }
.pc-trial { background: linear-gradient(135deg, #ff9a52, #ff7a2a); color: #fff; box-shadow: 0 5px 0 #d9631a, 0 10px 20px rgba(255,122,42,.25); }
.pc-trial small { opacity: .95; }
.pc-trial:active { transform: translateY(3px); box-shadow: 0 2px 0 #d9631a; }
.pc-sub { background: #fff; color: #0f7f78; border: 2.5px solid #13a89e; box-shadow: 0 5px 0 #cfe9e6; }
.pc-sub small { color: #4d6b69; }
.pc-sub:active { transform: translateY(3px); box-shadow: 0 2px 0 #cfe9e6; }
@media (max-width: 520px) { .plan-ctas { grid-template-columns: 1fr; } }
.price-sec { text-align: center; }
.price-sec .plan-ctas { margin: 18px auto 0; }
.price-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 12px; max-width: 560px; margin: 0 auto; }
@media (max-width: 420px) { .price-grid { grid-template-columns: 1fr; } }
.price-card { background: #fff; border: 1.5px solid #e1ecea; border-radius: 18px; padding: 16px 12px; position: relative; }
.price-card.pr-best { border-color: #13a89e; box-shadow: 0 6px 18px rgba(19,168,158,.12); }
.pr-name { font-weight: 900; color: #0f7f78; font-size: 15px; }
.pr-amt b { font-size: 32px; font-weight: 900; color: #1f2d3a; }
.pr-amt span { font-size: 14px; font-weight: 700; color: #4d5d6d; }
.pr-per { font-size: 12px; color: #6b7c8c; }
.pr-save { display: inline-block; margin-top: 6px; background: #ffe3cf; color: #d9631a; font-weight: 900; font-size: 12px; border-radius: 999px; padding: 3px 10px; }
.price-note { max-width: 560px; margin: 14px auto 0; font-size: 13px; color: #4d5d6d; line-height: 1.7; }

/* 2026-11-03 s2: homepage by plan state — 計算力チェック is a small secondary button next to 体験練習 */
.small-ctas { display: grid; grid-template-columns: 1fr; gap: 12px; }
.small-ctas .trial-cta strong { font-size: 17px; }
.hero .plan-ctas { max-width: 520px; margin-left: auto; margin-right: auto; }
.plan-ctas.one { grid-template-columns: 1fr; max-width: 360px; margin-left: auto; margin-right: auto; }
@media (min-width: 1000px) { .hero .plan-ctas, .hero .plan-ctas.one { margin-left: 0; } }
.plan-ctas[hidden], .plan-pill[hidden], .paid-note[hidden], .big-cta[hidden], .pc-trial[hidden] { display: none !important; }
.plan-pill { display: inline-block; margin: 14px 0 -4px; padding: 6px 14px; border-radius: 999px; background: #fff4e5; border: 1.5px solid #f5c58d; color: #8a4a12; font-size: 13.5px; font-weight: 800; }
.paid-note { margin: 18px auto 0; max-width: 560px; padding: 12px 16px; border-radius: 14px; background: #e9f7f5; border: 1.5px solid #bfe6e1; color: #24524f; font-weight: 700; font-size: 14px; text-align: center; line-height: 1.6; }
.paid-note a { color: #0f7f78; font-weight: 900; white-space: nowrap; }

/* ms3: bigger 満点将軍 logo (phone 44 / tablet 60 / desktop 68 px) */
.topbar > .logo { flex: none; }
.logo-img { height: 44px; }
.topbar { padding: 6px 10px; }
@media (max-width: 479px) {
  .tb-right { gap: 4px; }
  .tb-btn { padding: 0 7px; }
  .lang-switch button { padding: 6px 7px; }
}
@media (max-width: 374px) { .logo-img { height: 36px; } .topbar { padding: 6px 8px; } .tb-right { gap: 3px; } .tb-btn { padding: 0 6px; } .lang-switch button { padding: 6px 6px; } }
@media (max-width: 339px) { .logo-img { height: 34px; } }
@media (min-width: 480px) { .topbar { padding: 8px 16px; } .logo-img { height: 48px; } }
@media (min-width: 768px) { .topbar { padding: 8px 28px; } .logo-img { height: 60px; } }
@media (min-width: 1000px) { .topbar { padding: 6px 28px; } .logo-img { height: 68px; } }
