[hidden] { display: none !important; }
/* 試験対策アプリ サポートサイト
   参考: design.minimax.io(白地・Outfit/Inter・黒のピル型ボタン・ヘアライン入りの大きな角丸カード・「/ LABEL」の小見出し・番号付きセクション)
   グラデーション・絵文字は使わない。影はカードの縁のヘアラインだけ */
:root {
  --bg: #ffffff;
  --ink: #17171d;
  --sub: #5d5a6b;
  --muted: rgba(70, 66, 84, 0.62);
  --line: rgba(18, 18, 18, 0.1);
  --panel: #f6f5fe;
  --accent: #6d5df5;
  --black: #070709;
  --ok: #1f9d55;
  --ng: #d92d20;
  --app: var(--accent);
  --display: "Outfit", "Noto Sans JP", "Hiragino Sans", sans-serif;
  --text: "Inter", "Noto Sans JP", "Hiragino Sans", "Yu Gothic UI", sans-serif;
  color-scheme: light;
}
* { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; }
body { margin: 0; background: var(--bg); color: var(--ink); font: 400 16px/1.75 var(--text); font-feature-settings: "palt"; -webkit-font-smoothing: antialiased; }
a { color: inherit; text-decoration: none; }
.wrap { max-width: 1040px; margin: 0 auto; padding: 0 20px; }
.ic { width: 18px; height: 18px; flex: none; stroke-width: 1.8; }

/* 小見出し: / LABEL · SUB */
.label { font: 500 11px/1 var(--display); letter-spacing: 0.14em; color: var(--muted); text-transform: uppercase; display: inline-flex; gap: 8px; align-items: center; }
.label b { font-weight: 500; color: var(--ink); }

/* ヘッダー */
.top { position: sticky; top: 0; z-index: 10; background: rgba(255, 255, 255, 0.86); backdrop-filter: saturate(180%) blur(16px); -webkit-backdrop-filter: saturate(180%) blur(16px); border-bottom: 1px solid var(--line); }
.top .wrap { height: 60px; display: flex; align-items: center; justify-content: space-between; gap: 16px; }
.brand { font: 500 17px/1.2 var(--display); letter-spacing: -0.02em; display: flex; align-items: center; gap: 10px; min-width: 0; }
.brand > :last-child, .brand { overflow: hidden; }
.brand { white-space: nowrap; text-overflow: ellipsis; }
.brand .dot, .brand .mark { flex: none; }
.brand .mark { width: 26px; height: 26px; border-radius: 8px; background: var(--black); display: inline-flex; align-items: center; justify-content: center; color: #fff; }
.brand .mark .ic { width: 15px; height: 15px; }
.brand em { font-style: normal; color: var(--accent); }
.brand .dot { width: 12px; height: 12px; border-radius: 4px; display: inline-block; }
.top nav { display: flex; gap: 22px; font-size: 14px; color: var(--sub); flex: none; white-space: nowrap; }
.top nav a:hover { color: var(--ink); }

/* ヒーロー */
.hero { padding: 88px 0 56px; }
.hero h1 { font: 400 clamp(40px, 7vw, 76px)/1.08 var(--display); letter-spacing: -0.035em; margin: 22px 0 22px; }
.hero h1 em { font-style: normal; color: var(--accent); }
.hero p { font-size: 17px; color: var(--sub); max-width: 560px; margin: 0; }
.actions { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 32px; }

/* ボタン(黒のピル型 / 白の縁取り) */
.btn { display: inline-flex; align-items: center; justify-content: center; gap: 10px; height: 46px; padding: 0 26px; border-radius: 999px; background: var(--black); color: #fff; font: 500 14px/1 var(--text); border: none; cursor: pointer; transition: transform 0.15s, opacity 0.15s; }
.btn:hover { opacity: 0.88; }
.btn:active { transform: scale(0.97); }
.btn:disabled { opacity: 0.4; cursor: default; }
.btn.ghost { background: transparent; color: var(--ink); box-shadow: inset 0 0 0 1px var(--line); }
.btn.wide { width: 100%; height: 52px; font-size: 15px; }
.more { display: inline-flex; align-items: center; gap: 6px; font: 500 11px/1 var(--display); letter-spacing: 0.12em; text-transform: uppercase; color: var(--ink); }
.more .ic { width: 13px; height: 13px; transition: transform 0.2s; }
a:hover .more .ic, .more:hover .ic { transform: translateX(3px); }

/* セクション */
.sec { padding: 56px 0 8px; border-top: 1px solid var(--line); margin-top: 24px; }
.sec-head { display: flex; justify-content: space-between; align-items: flex-end; gap: 20px; margin-bottom: 28px; }
.sec h2 { font: 500 clamp(28px, 4vw, 42px)/1.15 var(--display); letter-spacing: -0.04em; margin: 14px 0 0; }
.sec .count { font: 400 14px/1 var(--display); color: var(--muted); letter-spacing: 0.08em; }

/* カード: 白・ヘアライン・大きな角丸 */
.card { background: #fff; border-radius: 22px; box-shadow: inset 0 0 0 1px var(--line); padding: 26px; }
.panel { background: var(--panel); border-radius: 14px; padding: 22px; }
.grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(300px, 1fr)); gap: 16px; }

/* アプリのカード */
.app { display: flex; flex-direction: column; gap: 18px; transition: transform 0.2s, box-shadow 0.2s; }
.app:hover { transform: translateY(-3px); box-shadow: inset 0 0 0 1px rgba(18, 18, 18, 0.22); }
.app .head { display: flex; justify-content: space-between; align-items: flex-start; }
.app h3 { font: 500 21px/1.35 var(--display); letter-spacing: -0.02em; margin: 0; }
.app p { margin: 0; color: var(--sub); font-size: 14px; }
.tags { display: flex; flex-wrap: wrap; gap: 6px; }
.tag { font: 500 11px/1 var(--display); letter-spacing: 0.06em; padding: 6px 10px; border-radius: 999px; background: var(--panel); color: var(--sub); }
.tag.on { background: color-mix(in srgb, var(--ok) 12%, #fff); color: var(--ok); }
.appicon { display: inline-flex; align-items: center; justify-content: center; background: var(--c); color: #fff; border-radius: 24%; flex: none; }
.appicon .ic { width: 52%; height: 52%; stroke-width: 2; }
.appicon.img { background: none; overflow: hidden; box-shadow: inset 0 0 0 1px rgba(18,18,18,.08); }
.appicon.img img { width: 100%; height: 100%; object-fit: cover; display: block; }
.screens { display: grid; grid-template-columns: repeat(auto-fill, minmax(170px, 1fr)); gap: 18px; }
.screens figure { margin: 0; }
.screens img { width: 100%; height: auto; display: block; border-radius: 18px; box-shadow: inset 0 0 0 1px rgba(18,18,18,.1); background: var(--panel); }
.screens figcaption { font-size: 13px; color: var(--sub); margin-top: 10px; line-height: 1.5; }
.empty { text-align: center; padding: 56px 24px; color: var(--sub); }
.empty .ic { width: 32px; height: 32px; color: var(--muted); }

/* 共通の約束(番号つき) */
.points { display: grid; grid-template-columns: repeat(auto-fill, minmax(230px, 1fr)); gap: 16px; }
.point .num { font: 400 13px/1 var(--display); letter-spacing: 0.1em; color: var(--muted); }
.point svg { display: block; width: 22px; height: 22px; margin-top: 22px; color: var(--ink); }
.point h3 { font: 500 18px/1.4 var(--display); letter-spacing: -0.02em; margin: 14px 0 6px; }
.point p { margin: 0; font-size: 14px; color: var(--sub); }

/* アプリのページ */
.apphero { display: grid; grid-template-columns: auto minmax(0, 1fr); gap: 28px; align-items: center; padding: 72px 0 40px; }
.apphero > div { min-width: 0; }
.apphero h1 { font: 500 clamp(26px, 4.4vw, 44px)/1.2 var(--display); letter-spacing: -0.02em; margin: 12px 0 8px; overflow-wrap: anywhere; }
.apphero .sub { color: var(--sub); margin: 0; }
.notice { display: flex; gap: 12px; align-items: flex-start; font-size: 14px; color: var(--sub); }
.notice .ic { color: var(--accent); margin-top: 4px; }
.notice p { margin: 0; }
.checks { list-style: none; padding: 0; margin: 0; display: grid; gap: 12px; }
.checks li { display: flex; gap: 12px; align-items: flex-start; }
.checks .ic { color: var(--app); margin-top: 5px; }
.links .card { display: flex; flex-direction: column; gap: 26px; min-height: 150px; justify-content: space-between; }
.links .card .ic.big { width: 26px; height: 26px; color: var(--app); }
.links h3 { font: 500 19px/1.3 var(--display); margin: 0; letter-spacing: -0.02em; }
.faq details { border-top: 1px solid var(--line); padding: 18px 0; }
.faq details:first-of-type { border-top: none; padding-top: 0; }
.faq summary { cursor: pointer; font: 500 16px/1.5 var(--display); list-style: none; display: flex; justify-content: space-between; gap: 16px; }
.faq summary::after { content: "+"; font: 300 22px/1 var(--display); color: var(--muted); }
.faq details[open] summary::after { content: "−"; }
.faq details p { color: var(--sub); margin: 10px 0 0; font-size: 15px; }

/* 文書(プライバシーポリシー・規約) */
.doc { max-width: 760px; margin: 48px auto 0; padding: 40px; }
.doc h1 { font: 500 34px/1.2 var(--display); letter-spacing: -0.03em; margin: 14px 0 22px; }
.doc h2 { font: 500 20px/1.4 var(--display); margin: 36px 0 10px; letter-spacing: -0.01em; }
.doc h3 { font-size: 16px; margin: 22px 0 6px; }
.doc p { margin: 0 0 12px; }
.doc ul, .doc ol { padding-left: 1.4em; margin: 0 0 12px; }
.doc li { margin: 4px 0; }
.doc a { text-decoration: underline; text-underline-offset: 3px; }
.dates { color: var(--muted); font-size: 14px; margin-top: 32px !important; }

/* お問い合わせ */
.pagehead { padding: 64px 0 28px; }
.pagehead h1 { font: 500 clamp(32px, 5vw, 48px)/1.15 var(--display); letter-spacing: -0.035em; margin: 14px 0 10px; }
.pagehead p { color: var(--sub); margin: 0; }
.form { display: grid; gap: 22px; max-width: 720px; padding: 30px; }
.types { border: none; padding: 0; margin: 0; display: grid; grid-template-columns: 1fr 1fr; gap: 10px; }
.types legend { font: 500 15px/1 var(--display); margin-bottom: 12px; padding: 0; }
.types label { position: relative; }
.types input { position: absolute; opacity: 0; pointer-events: none; }
.types span { display: flex; gap: 10px; align-items: center; padding: 14px 16px; border-radius: 14px; background: var(--panel); font-size: 14px; font-weight: 500; cursor: pointer; box-shadow: inset 0 0 0 1px transparent; transition: box-shadow 0.15s, background 0.15s; }
.types span .ic { color: var(--muted); }
.types input:checked + span { background: #fff; box-shadow: inset 0 0 0 1.5px var(--ink); }
.types input:checked + span .ic { color: var(--ink); }
.types input:focus-visible + span { outline: 2px solid var(--accent); outline-offset: 2px; }
.field { display: grid; gap: 8px; }
.field label { font: 500 15px/1.3 var(--display); }
.req, .opt { font: 500 10px/1 var(--display); letter-spacing: 0.08em; padding: 4px 7px; border-radius: 999px; margin-left: 6px; vertical-align: 2px; }
.req { color: #fff; background: var(--black); }
.opt { color: var(--sub); background: var(--panel); }
input[type="text"], input[type="email"], input:not([type]), textarea {
  font: inherit; font-size: 16px; color: var(--ink); background: #fff; border: none; box-shadow: inset 0 0 0 1px var(--line); border-radius: 14px; padding: 13px 15px; width: 100%;
}
input:focus, textarea:focus { outline: none; box-shadow: inset 0 0 0 1.5px var(--ink); }
textarea { resize: vertical; min-height: 160px; }
.hint { color: var(--muted); font-size: 13px; margin: 0; }
.hint a { text-decoration: underline; text-underline-offset: 3px; }
.hp { position: absolute; left: -9999px; width: 1px; height: 1px; opacity: 0; }
.error { color: var(--ng); font-size: 14px; margin: 0; }
.done { max-width: 720px; text-align: center; padding: 56px 24px; animation: pop 0.5s cubic-bezier(.2, 1.3, .4, 1); }
.done .big { width: 44px; height: 44px; color: var(--ok); }
.done h2 { font: 500 26px/1.3 var(--display); margin: 14px 0 8px; }
.done p { color: var(--sub); margin: 0; }
@keyframes pop { from { transform: scale(0.94); opacity: 0; } to { transform: scale(1); opacity: 1; } }

/* 表示時に下からふわっと出す */
.reveal { opacity: 0; transform: translateY(18px); transition: opacity 0.7s ease, transform 0.7s cubic-bezier(.2, .8, .2, 1); }
.reveal.in { opacity: 1; transform: none; }

/* フッター */
.foot { margin-top: 96px; border-top: 1px solid var(--line); padding: 40px 0 56px; font-size: 13px; color: var(--sub); }
.foot .cols { display: flex; flex-wrap: wrap; justify-content: space-between; gap: 24px; }
.foot nav { display: flex; flex-wrap: wrap; gap: 8px 22px; }
.foot nav a:hover { color: var(--ink); }
.foot .copy { font: 400 12px/1 var(--display); letter-spacing: 0.08em; color: var(--muted); }

/* アプリ内のWebView(?embed=1)では、ヘッダー・見出し・フッターを出さない */
body.embed .top, body.embed .foot, body.embed .pagehead h1, body.embed .pagehead .label { display: none; }
body.embed .pagehead { padding: 18px 0 14px; }
body.embed .form { padding: 22px 18px; }

@media (max-width: 640px) {
  .top nav { display: none; }
  .hero { padding: 56px 0 36px; }
  .apphero { grid-template-columns: 1fr; padding: 48px 0 28px; gap: 18px; }
  .doc { padding: 28px 20px; margin-top: 28px; }
  .card { padding: 22px; }
  .form { padding: 22px 18px; }
}
@media (prefers-reduced-motion: reduce) { * { animation: none !important; transition: none !important; } .reveal { opacity: 1; transform: none; } }
