@charset "UTF-8";

/* ===== 変数 ===== */
:root {
	--blue: #0b5cad;
	--deep: #083b7a;
	--sky: #eaf5ff;
	--pale: #f5faff;
	--orange: #f59a00;
	--orange-dark: #d98200;
	--text: #1b3350;
	--muted: #5a6f85;
	--line: #cfe2f4;
	--pc: 768px;
}

/* ===== 基本 ===== */
* { box-sizing: border-box; }
html { scroll-behavior: smooth; scroll-padding-top: 76px; }
body { margin: 0; color: var(--text); background: #fff; font-family: "Noto Sans JP", "Hiragino Sans", "Yu Gothic", Meiryo, sans-serif; font-size: 16px; line-height: 1.8; }
img { display: block; max-width: 100%; height: auto; }
h1, h2, h3, p, ul, ol { margin: 0; padding: 0; }
ul, ol { list-style: none; }
a { color: inherit; }
:focus-visible { outline: 3px solid var(--orange); outline-offset: 2px; }
main > section { padding: 56px 20px; }
main > section h2 { margin-bottom: 24px; color: var(--deep); font-size: 24px; line-height: 1.5; text-align: center; text-wrap: balance; }
main > section:nth-of-type(even) { background: var(--pale); }
.note { margin-top: 20px; color: var(--muted); font-size: 12px; text-align: center; }

/* ===== CTAボタン ===== */
.cta { display: flex; justify-content: center; align-items: center; width: 100%; max-width: 420px; min-height: 58px; margin: 0 auto; padding: 12px 24px; border: 0; border-radius: 999px; background: linear-gradient(#ffb21f, var(--orange)); color: #fff; font-size: 17px; font-weight: 800; text-decoration: none; box-shadow: 0 5px 0 var(--orange-dark); cursor: pointer; transition: transform .15s, box-shadow .15s; }
.cta::after { content: "›"; margin-left: 14px; font-size: 26px; line-height: 1; }
.cta:hover { transform: translateY(3px); box-shadow: 0 2px 0 var(--orange-dark); }

/* ===== ヘッダー ===== */
#top { position: sticky; top: 0; z-index: 30; display: flex; justify-content: space-between; align-items: center; min-height: 64px; padding: 8px 20px; background: #fff; box-shadow: 0 2px 10px rgba(8, 59, 122, .1); }
#top { @media (min-width: 768px) { padding: 8px max(24px, calc((100% - 1160px) / 2)); min-height: 72px; } }
#brand, #footer-brand { display: flex; align-items: center; gap: 10px; color: var(--blue); text-decoration: none; }
#brand p, #footer-brand p { display: grid; line-height: 1.25; }
#brand small, #footer-brand small { font-size: 11px; font-weight: 700; }
#brand strong, #footer-brand strong { font-size: 22px; letter-spacing: .03em; }
#menu { padding: 8px 14px; border: 1px solid var(--line); border-radius: 8px; background: #fff; color: var(--blue); font: inherit; font-size: 13px; font-weight: 700; }
#menu { @media (min-width: 768px) { display: none; } }
#gnav { display: none; position: absolute; top: 100%; left: 0; right: 0; padding: 8px 20px 20px; background: #fff; box-shadow: 0 8px 16px rgba(8, 59, 122, .12); }
#gnav { @media (min-width: 768px) { display: flex; position: static; align-items: center; gap: 4px; padding: 0; box-shadow: none; } }
#menu[aria-expanded="true"] + #gnav { display: grid; }
#menu[aria-expanded="true"] + #gnav { @media (min-width: 768px) { display: flex; } }
#gnav a { padding: 12px 8px; color: var(--text); font-size: 14px; font-weight: 700; text-decoration: none; }
#gnav a { @media (min-width: 768px) { padding: 8px 12px; font-size: 13px; white-space: nowrap; } }
#gnav a:hover { color: var(--blue); }
#gnav #nav-cta { margin-top: 8px; border-radius: 999px; background: var(--orange); color: #fff; text-align: center; }
#gnav #nav-cta { @media (min-width: 768px) { margin: 0 0 0 8px; padding: 10px 20px; } }

/* ===== ファーストビュー ===== */
#hero { position: relative; display: grid; padding: 0; background: #eef7ff; overflow: hidden; }
#hero { @media (min-width: 768px) { min-height: 600px; align-items: center; background: linear-gradient(100deg, #f4fbff 40%, #cfe6fa); } }
#hero-photo { width: 100%; height: 260px; object-fit: cover; object-position: 75% center; }
#hero-photo { @media (min-width: 768px) { position: absolute; top: 0; right: 0; width: 66%; height: 100%; object-position: 70% center; -webkit-mask-image: linear-gradient(90deg, transparent 0, #000 32%); mask-image: linear-gradient(90deg, transparent 0, #000 32%); } }
#hero-copy { position: relative; padding: 28px 20px 36px; }
#hero-copy { @media (min-width: 768px) { width: 52%; padding: 64px 0 64px max(24px, calc((100vw - 1160px) / 2)); } }
#hero-kicker { color: var(--blue); font-size: 14px; font-weight: 700; font-style: italic; letter-spacing: .04em; }
#hero-kicker { @media (min-width: 768px) { font-size: 17px; } }
#hero-title { margin: 6px 0 14px; color: var(--deep); font-size: 30px; line-height: 1.45; letter-spacing: -.02em; text-wrap: balance; }
#hero-title { @media (min-width: 768px) { font-size: 44px; } }
#hero-title em { color: var(--blue); font-style: normal; background: linear-gradient(transparent 68%, #ffe29a 68%); }
#hero-sub { margin-bottom: 22px; font-size: 14px; font-weight: 600; }
#hero-sub { @media (min-width: 768px) { max-width: 460px; font-size: 15px; } }
#hero-copy .cta { margin: 0; }
#hero-points { display: flex; flex-wrap: wrap; gap: 4px 18px; margin-top: 16px; font-size: 12px; font-weight: 700; }
#hero-points li::before { content: "✓"; display: inline-grid; place-items: center; width: 18px; height: 18px; margin-right: 6px; border-radius: 50%; background: var(--blue); color: #fff; font-size: 11px; }

/* ===== お悩み ===== */
#concerns { background: linear-gradient(#eaf5ff, #fff); }
#concerns { @media (min-width: 768px) { padding-inline: max(24px, calc((100% - 1100px) / 2)); } }
#concerns { @media (min-width: 768px) { display: grid; grid-template-columns: 240px 1fr; gap: 0 32px; align-items: center; } }
#concerns h2, #answer { @media (min-width: 768px) { grid-column: 1 / -1; } }
#worry-person { width: 150px; margin: 0 auto 16px; }
#worry-person { @media (min-width: 768px) { width: 220px; margin: 0; } }
#worries { display: grid; gap: 12px; max-width: 520px; margin: 0 auto 28px; }
#worries { @media (min-width: 768px) { grid-template-columns: repeat(2, 1fr); max-width: none; width: 100%; margin: 0 0 28px; } }
#worries li { position: relative; padding: 14px 20px; border: 1px solid var(--line); border-radius: 28px 28px 28px 6px; background: #fff; color: var(--muted); font-weight: 700; }
#worries li:nth-child(even) { border-radius: 28px 28px 6px 28px; }
#answer { max-width: 520px; margin: 0 auto; padding: 24px 22px; border-radius: 16px; background: #fff; box-shadow: 0 8px 24px rgba(11, 92, 173, .12); }
#answer { @media (min-width: 768px) { max-width: 760px; padding: 32px 40px; } }
#answer h3 { margin-bottom: 12px; color: var(--blue); font-size: 19px; line-height: 1.6; }
#answer li { padding: 4px 0; font-weight: 700; }
#answer li::before { content: "✓"; display: inline-grid; place-items: center; width: 22px; height: 22px; margin-right: 10px; border-radius: 50%; background: var(--blue); color: #fff; font-size: 13px; }

/* ===== 3つの理由 ===== */
#reasons { @media (min-width: 768px) { padding-inline: max(24px, calc((100% - 1100px) / 2)); } }
#reason-list { display: grid; gap: 18px; counter-reset: reason; margin-bottom: 32px; }
#reason-list { @media (min-width: 768px) { grid-template-columns: repeat(3, 1fr); gap: 24px; } }
#reason-list li { position: relative; padding: 36px 22px 24px; border: 1px solid var(--line); border-radius: 16px; background: #fff; }
#reason-list li::before { counter-increment: reason; content: counter(reason); position: absolute; top: -18px; left: 20px; display: grid; place-items: center; width: 40px; height: 40px; border-radius: 50%; background: var(--blue); color: #fff; font-size: 20px; font-weight: 800; }
#reason-list svg { display: block; width: 110px; height: 64px; margin: 0 0 12px; fill: none; stroke: var(--blue); stroke-width: 3; stroke-linecap: round; stroke-linejoin: round; }
#reason-list h3 { margin-bottom: 8px; color: var(--deep); font-size: 18px; line-height: 1.5; }
#reason-list p { color: var(--muted); font-size: 14px; }

/* ===== 授業の流れ ===== */
#flow { @media (min-width: 768px) { padding-inline: max(24px, calc((100% - 1100px) / 2)); } }
#flow { @media (min-width: 768px) { display: grid; grid-template-columns: 1fr 1fr; gap: 0 40px; align-items: start; } }
#flow-lead { margin: -8px 0 20px; color: var(--muted); text-align: center; }
#flow h2, #flow-lead { @media (min-width: 768px) { grid-column: 1 / -1; } }
#flow-photo { width: 100%; aspect-ratio: 16 / 10; margin-bottom: 20px; border-radius: 14px; object-fit: cover; box-shadow: 0 8px 24px rgba(8, 59, 122, .12); }
#flow-photo { @media (min-width: 768px) { margin: 0; } }
#flow-steps { display: grid; gap: 12px; counter-reset: step; }
#flow-steps li { position: relative; padding: 14px 16px 14px 64px; border-left: 4px solid var(--blue); border-radius: 0 12px 12px 0; background: #fff; }
#flow-steps li::before { counter-increment: step; content: counter(step); position: absolute; top: 14px; left: 16px; display: grid; place-items: center; width: 34px; height: 34px; border-radius: 50%; background: var(--sky); color: var(--blue); font-weight: 800; }
#flow-steps h3 { color: var(--deep); font-size: 17px; }
#flow-steps p { color: var(--muted); font-size: 13px; }

/* ===== 無料体験 ===== */
#trial { text-align: center; }
#trial { @media (min-width: 768px) { padding-inline: max(24px, calc((100% - 1100px) / 2)); } }
#trial-lead { margin: -8px 0 24px; color: var(--muted); }
#trial-steps { display: grid; gap: 10px; max-width: 520px; margin: 0 auto 24px; counter-reset: trial; }
#trial-steps { @media (min-width: 768px) { grid-template-columns: repeat(4, 1fr); max-width: none; gap: 16px; } }
#trial-steps li { position: relative; padding: 14px 16px 14px 64px; border: 1px solid var(--line); border-radius: 12px; background: #fff; text-align: left; }
#trial-steps li { @media (min-width: 768px) { padding: 62px 14px 20px; text-align: center; } }
#trial-steps li::before { counter-increment: trial; content: counter(trial); position: absolute; top: 14px; left: 14px; display: grid; place-items: center; width: 38px; height: 38px; border-radius: 50%; background: var(--sky); color: var(--blue); font-size: 18px; font-weight: 800; }
#trial-steps li::before { @media (min-width: 768px) { left: 50%; translate: -50% 0; top: 14px; } }
#trial-steps h3 { color: var(--deep); font-size: 16px; }
#trial-steps p { color: var(--muted); font-size: 12px; }
#no-push { max-width: 720px; margin: 0 auto 28px; padding: 16px 20px; border: 1px dashed #e4b94a; border-radius: 12px; background: #fff8e1; color: #6a4b00; font-size: 14px; text-align: left; }
#no-push strong { display: block; font-size: 16px; }

/* ===== 料金 ===== */
#price-lead { margin: -8px 0 20px; color: var(--muted); text-align: center; }
#price-table { width: 100%; max-width: 640px; margin: 0 auto; border-collapse: collapse; border-radius: 12px; background: #fff; overflow: hidden; }
#price-table caption { padding-bottom: 8px; color: var(--muted); font-size: 12px; text-align: right; }
#price-table th, #price-table td { padding: 14px; border: 1px solid var(--line); text-align: left; font-size: 14px; }
#price-table thead th { background: var(--blue); color: #fff; }
#price-table tbody th { width: 55%; background: var(--sky); }
#price-table td { font-weight: 700; }

/* ===== よくある質問 ===== */
#faq-list { max-width: 820px; margin: 0 auto; }
#faq-list details { margin-bottom: 10px; border: 1px solid var(--line); border-radius: 12px; background: #fff; }
#faq-list summary { position: relative; padding: 16px 48px 16px 48px; color: var(--deep); font-weight: 700; list-style: none; cursor: pointer; }
#faq-list summary::-webkit-details-marker { display: none; }
#faq-list summary::before { content: "Q"; position: absolute; left: 16px; color: var(--orange); font-weight: 800; }
#faq-list summary::after { content: "+"; position: absolute; right: 18px; top: 10px; color: var(--blue); font-size: 24px; }
#faq-list details[open] summary::after { content: "−"; }
#faq-list details p { padding: 0 18px 16px 48px; color: var(--muted); font-size: 14px; }

/* ===== 申し込みフォーム ===== */
#contact { background: linear-gradient(160deg, #dcefff, #fff) !important; }
#contact-lead { margin: -8px 0 24px; text-align: center; font-weight: 700; color: var(--blue); }
#trial-form { display: grid; max-width: 620px; margin: 0 auto; padding: 24px 20px; border-radius: 18px; background: #fff; box-shadow: 0 10px 30px rgba(8, 59, 122, .14); }
#trial-form { @media (min-width: 768px) { padding: 36px 44px; } }
#trial-form label { margin: 16px 0 6px; font-size: 14px; font-weight: 700; }
#trial-form label:first-child { margin-top: 0; }
#trial-form small { margin-left: 8px; padding: 1px 7px; border-radius: 4px; background: #ffeedd; color: #a24b00; font-size: 11px; }
#trial-form small#optional, #trial-form small#optional-2 { background: #eef2f6; color: var(--muted); }
#trial-form input:not([type="checkbox"]), #trial-form select, #trial-form textarea { width: 100%; padding: 12px; border: 1px solid #bcd0e4; border-radius: 8px; background: #fff; color: var(--text); font: inherit; }
#trial-form input[aria-invalid="true"], #trial-form select[aria-invalid="true"] { border-color: #d33; background: #fff5f5; }
#trial-form input:focus, #trial-form select:focus, #trial-form textarea:focus { outline: 3px solid #b9dcff; border-color: var(--blue); }
#agree { display: flex; align-items: center; gap: 8px; margin-top: 18px !important; font-weight: 500 !important; }
#agree input { width: 20px; height: 20px; accent-color: var(--blue); }
#submit { margin-top: 22px; max-width: none; }
#form-status { margin-top: 14px; color: var(--blue); font-weight: 700; }
#form-note { margin-top: 12px; color: var(--muted); font-size: 12px; text-align: center; }

/* ===== フッター ===== */
#footer { padding: 36px 20px 100px; background: var(--deep); color: #fff; text-align: center; }
#footer { @media (min-width: 768px) { padding-bottom: 40px; } }
#footer-brand { justify-content: center; margin-bottom: 14px; color: #fff; }
#footer-note { margin: 10px 0; color: #bcd9f5; font-size: 11px; }
#footer small { color: #bcd9f5; font-size: 11px; }

/* ===== スマホ固定CTA ===== */
#fixed-cta { position: fixed; z-index: 25; left: 12px; right: 12px; bottom: 10px; display: flex; justify-content: center; padding: 14px 20px; border-radius: 999px; background: var(--orange); color: #fff; font-weight: 800; text-decoration: none; box-shadow: 0 4px 16px rgba(0, 40, 80, .35); transition: opacity .2s; }
#fixed-cta { @media (min-width: 768px) { display: none; } }
#fixed-cta[hidden] { display: none; }

@media (prefers-reduced-motion: reduce) {
	html { scroll-behavior: auto; }
	* { transition-duration: .01ms !important; }
}
