/* dentalgenai.com 講座サイト 共通スタイル（ビルド不要の素のCSS） */
:root {
  --ink: #20373b;
  --ink-2: #56676a;
  --teal: #17969a;
  --teal-2: #26b1b5;
  --teal-dark: #117478;
  --mint: #eef7f6;
  --mint-2: #f5faf9;
  --line: #dbeded;
  --font: "Hiragino Sans", "Hiragino Kaku Gothic ProN", "Noto Sans JP", "Yu Gothic", YuGothic, Meiryo, system-ui, sans-serif;
}
*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; }
body { margin: 0; font-family: var(--font); color: var(--ink); background: #fff; line-height: 1.8; font-feature-settings: "palt" 0; overflow-wrap: anywhere; }
img { max-width: 100%; height: auto; display: block; }
a { color: var(--teal-dark); }
p { margin: 0; }
h1, h2, h3 { margin: 0; }
.inner { max-width: 1000px; margin: 0 auto; }
.narrow { max-width: 820px; margin: 0 auto; }

/* ヘッダー・フッター（サイト共通） */
.site-header { background: #fff; border-bottom: 1px solid var(--line); }
.site-header .bar { max-width: 1000px; margin: 0 auto; padding: 12px 24px; display: flex; align-items: center; justify-content: space-between; gap: 12px; }
.brand { text-decoration: none; color: var(--ink); line-height: 1.3; }
.brand b { display: block; font-size: 16px; letter-spacing: .02em; }
.brand small { display: block; font-size: 11px; color: var(--ink-2); }
.site-header nav a { font-size: 14px; font-weight: bold; text-decoration: none; color: var(--teal-dark); white-space: nowrap; }
.crumbs { max-width: 1000px; margin: 0 auto; padding: 10px 24px 0; font-size: 12px; color: var(--ink-2); }
.crumbs a { color: var(--ink-2); }
.crumbs ol { list-style: none; margin: 0; padding: 0; display: flex; flex-wrap: wrap; gap: 4px; }
.crumbs li + li::before { content: "›"; margin-right: 4px; }
.site-footer { background: #2f3a38; color: #fff; text-align: center; padding: 32px 24px 40px; font-size: 13px; line-height: 1.9; }
.site-footer a { color: #fff; }
.site-footer .copy { color: #c9d3d1; margin-top: 10px; font-size: 12px; }

/* ボタン */
.btn { display: inline-block; text-decoration: none; text-align: center; font-weight: bold; color: #fff; padding: 18px 40px; font-size: 19px; line-height: 1.4; border-radius: 14px;
  background: linear-gradient(180deg, var(--teal-2) 0%, var(--teal) 100%); box-shadow: 0 4px 0 var(--teal-dark); transition: transform .08s, box-shadow .08s; }
.btn:hover { filter: brightness(1.04); }
.btn:active { transform: translateY(3px); box-shadow: 0 1px 0 var(--teal-dark); }
.btn:focus-visible, a:focus-visible { outline: 3px solid #f5b544; outline-offset: 3px; }

/* ===== LP（MOSHの要素をそのまま移したもの） ===== */
.lp .sec { padding: var(--pad); background: var(--bg, #fff); }
.lp .el { font-size: var(--fs, inherit); }
.lp .fx { font-size: var(--fs, inherit); }
.lp .txt p { min-height: 1em; }
.lp .flex > * { min-width: 0; }
.lp .btn-wrap { text-align: center; }
.lp .btn-wrap.left { text-align: left; }
.lp .img-c { margin-left: auto; margin-right: auto; }
.lp h1, .lp h2, .lp h3, .top-hero h1, .section h2, .course h3 { font-feature-settings: "palt" 1; letter-spacing: .01em; word-break: auto-phrase; text-wrap: pretty; }
.btn.dark { background: var(--ink); box-shadow: 0 4px 0 #142629; }
.btn.white { background: #fff; color: var(--teal); box-shadow: 0 4px 0 #0e5e61; }
.lp #foot a { color: #fff; }

@media (max-width: 640px) {
  .site-header .bar { padding: 10px 16px; }
  .crumbs { padding: 8px 16px 0; }
  .lp .sec { padding: var(--padm, var(--pad)); }
  .lp .box { padding: var(--padm, var(--pad)) !important; }
  .lp .el { font-size: var(--fsm, var(--fs, inherit)); }
  .lp .fx { font-size: var(--fsm, var(--fs, inherit)); }
  .lp .btn { display: block; width: 100%; padding: 16px 18px; font-size: 17px; }
  .lp .btn-wrap.left { text-align: center; }
  .lp .pain-img { width: 92px !important; }
  .lp h1 br, .lp h2 br { display: none; }
}

/* ===== 講座一覧（トップ） ===== */
.top-hero { background: linear-gradient(180deg, var(--mint) 0%, #fff 100%); padding: 56px 24px 48px; }
.top-hero .grid { max-width: 1000px; margin: 0 auto; display: flex; flex-wrap: wrap; gap: 32px; align-items: center; }
.top-hero .grid > * { flex: 1 1 420px; min-width: 0; }
.kicker { display: inline-block; font-size: 14px; font-weight: bold; background: var(--line); padding: 2px 10px; border-radius: 6px; margin-bottom: 14px; }
.top-hero h1 { font-size: 38px; line-height: 1.4; margin-bottom: 16px; font-feature-settings: "palt" 1; }
.top-hero h1 em { font-style: normal; color: #3d7a79; background: linear-gradient(transparent 60%, #f5e9a8 60%); }
.top-hero .lead { font-size: 17px; color: var(--ink-2); }
.top-hero img { border-radius: 20px; }
.section { padding: 64px 24px; }
.section.alt { background: var(--mint-2); }
.section h2 { text-align: center; font-size: 30px; line-height: 1.45; margin-bottom: 12px; font-feature-settings: "palt" 1; }
.section .sub { text-align: center; color: var(--ink-2); font-size: 16px; margin-bottom: 32px; }
.courses { display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px; max-width: 1000px; margin: 0 auto; }
.course { background: #fff; border-radius: 20px; padding: 26px 22px; box-shadow: 0 6px 20px rgba(32,55,59,.08); display: flex; flex-direction: column; border-top: 6px solid var(--teal-2); }
.course.l2 { border-top-color: #3d7a79; }
.course.l3 { border-top-color: var(--ink); }
.course .lv { font-size: 14px; font-weight: bold; color: var(--teal); letter-spacing: .06em; display: flex; align-items: center; gap: 8px; }
.course .lv span { font-size: 11px; color: #fff; background: var(--teal); border-radius: 999px; padding: 2px 10px; letter-spacing: .08em; }
.course.l2 .lv span { background: #3d7a79; }
.course.l3 .lv span { background: var(--ink); }
.course.l2 .lv { color: #3d7a79; }
.course.l3 .lv { color: var(--ink); }
.course h3 { font-size: 20px; line-height: 1.5; margin: 6px 0 10px; }
.course .catch { font-weight: bold; font-size: 15px; margin-bottom: 8px; }
.course .desc { color: var(--ink-2); font-size: 15px; margin-bottom: 14px; }
.course .facts { margin: 0 0 14px; font-size: 14px; border-top: 1px solid var(--line); }
.course .facts > div { display: flex; gap: 10px; padding: 8px 0; border-bottom: 1px solid var(--line); }
.course .facts dt { flex: 0 0 5.5em; font-weight: bold; color: var(--ink); }
.course .facts dd { margin: 0; color: var(--ink-2); }
.course .free-tag { font-size: 13px; font-weight: bold; color: #9a6a00; background: #fff6d8; border-radius: 8px; padding: 6px 10px; margin-bottom: 16px; }
.course .where { font-size: 12px; color: var(--ink-2); margin-bottom: 10px; }
.course .go { margin-top: auto; }
.course .go .btn { display: block; padding: 14px 16px; font-size: 16px; }
.course.l3 .go .btn { background: var(--ink); box-shadow: 0 4px 0 #142629; }
.course .soon { margin-top: auto; text-align: center; font-weight: bold; color: var(--ink-2); background: #f1f3f3; border-radius: 12px; padding: 14px; font-size: 15px; }
.guide { max-width: 820px; margin: 0 auto; display: grid; gap: 14px; }
.guide div { background: #fff; border-radius: 16px; padding: 18px 20px; }
.guide b { color: var(--ink); }
.guide p { color: var(--ink-2); font-size: 15px; }
.prof { max-width: 820px; margin: 0 auto; display: flex; gap: 28px; align-items: center; flex-wrap: wrap; }
.prof img { width: 160px; border-radius: 9999px; box-shadow: 0 8px 24px rgba(32,55,59,.15); flex: 0 0 auto; }
.prof .t { flex: 1 1 380px; min-width: 0; }
.prof .name { font-size: 22px; font-weight: bold; }
.prof .role { color: #3d7a79; font-weight: bold; font-size: 15px; margin-bottom: 10px; }
.prof p { color: var(--ink-2); font-size: 16px; }

@media (max-width: 860px) {
  .courses { grid-template-columns: 1fr; max-width: 560px; }
}
@media (max-width: 640px) {
  .top-hero { padding: 40px 16px 36px; }
  .top-hero h1 { font-size: 28px; }
  .top-hero .lead { font-size: 16px; }
  .section { padding: 48px 16px; }
  .section h2 { font-size: 24px; }
  .prof { justify-content: center; text-align: left; }
  .prof img { width: 132px; }
}

/* ===== 講座一覧 v0.2 で足したもの ===== */
.topnav { display: flex; gap: 18px; }
.top-hero .checks { list-style: none; padding: 0; margin: 18px 0 22px; font-weight: bold; font-size: 15px; }
.top-hero .checks li { padding-left: 1.7em; position: relative; margin-bottom: 6px; }
.top-hero .checks li::before { content: "✓"; position: absolute; left: 0; top: 0; width: 1.3em; height: 1.3em; line-height: 1.3em; text-align: center; border-radius: 50%; background: var(--teal); color: #fff; font-size: 13px; margin-top: .2em; }
.cta-row { display: flex; flex-wrap: wrap; gap: 12px; }
.top-hero .btn { padding: 15px 28px; font-size: 17px; }
.btn.ghost { background: #fff; color: var(--teal-dark); box-shadow: inset 0 0 0 2px var(--teal), 0 4px 0 var(--line); }
.top-hero .note { font-size: 13px; color: var(--ink-2); margin-top: 12px; }
.steps-bar { list-style: none; display: flex; max-width: 1000px; margin: 0 auto 22px; padding: 0; counter-reset: s; }
.steps-bar li { flex: 1; text-align: center; font-weight: bold; font-size: 14px; color: #fff; padding: 8px 0; background: var(--teal-2); position: relative; counter-increment: s; }
.steps-bar li::before { content: "LEVEL " counter(s) "　"; font-size: 11px; letter-spacing: .06em; }
.steps-bar li:nth-child(2) { background: #3d7a79; }
.steps-bar li:nth-child(3) { background: var(--ink); }
.steps-bar li:first-child { border-radius: 10px 0 0 10px; }
.steps-bar li:last-child { border-radius: 0 10px 10px 0; }
.features { max-width: 1000px; margin: 0 auto; display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px; }
.feature { background: #fff; border-radius: 18px; padding: 24px 22px; }
.feature .num { font-size: 28px; font-weight: bold; color: var(--teal-2); line-height: 1; margin-bottom: 10px; letter-spacing: .04em; }
.feature h3 { font-size: 18px; line-height: 1.5; margin-bottom: 8px; font-feature-settings: "palt" 1; }
.feature p { font-size: 15px; color: var(--ink-2); }
.guide .g { display: block; background: #fff; border-radius: 16px; padding: 18px 20px; text-decoration: none; color: inherit; border-left: 6px solid var(--teal-2); box-shadow: 0 3px 12px rgba(32,55,59,.06); }
.guide .g.l2 { border-left-color: #3d7a79; }
.guide .g.l3 { border-left-color: var(--ink); }
.guide .g .arrow { display: inline-block; margin-top: 6px; font-weight: bold; color: var(--teal-dark); font-size: 14px; }
.guide a.g:hover { box-shadow: 0 6px 18px rgba(32,55,59,.12); }
.free-sec { background: linear-gradient(180deg, #fff 0%, var(--mint) 100%); }
.free-box { max-width: 860px; margin: 0 auto; background: #fff; border-radius: 22px; padding: 32px; display: flex; gap: 28px; align-items: center; box-shadow: 0 8px 24px rgba(32,55,59,.08); border: 2px solid var(--line); }
.free-box img { width: 120px; flex: 0 0 auto; }
.free-box h2 { text-align: left; font-size: 26px; margin: 4px 0 12px; }
.free-list { list-style: none; padding: 0; margin: 0 0 10px; }
.free-list li { font-weight: bold; font-size: 16px; margin-bottom: 6px; display: flex; gap: 8px; align-items: baseline; }
.free-list b { display: inline-block; background: var(--teal); color: #fff; font-size: 13px; border-radius: 6px; padding: 1px 8px; flex: 0 0 auto; }
.free-box p { color: var(--ink-2); margin-bottom: 16px; }
.prof .cred { margin: 14px 0 0; font-size: 13px; }
.prof .cred > div { margin-bottom: 8px; }
.prof .cred dt { font-weight: bold; color: #3d7a79; }
.prof .cred dd { margin: 0; color: var(--ink-2); }
.faq { max-width: 820px; margin: 0 auto; }
.faq details { background: var(--mint-2); border-radius: 14px; margin-bottom: 12px; padding: 0 20px; }
.faq summary { cursor: pointer; font-weight: bold; padding: 16px 0; list-style: none; position: relative; padding-left: 2em; padding-right: 1.5em; }
.faq summary::-webkit-details-marker { display: none; }
.faq summary::before { content: "Q"; position: absolute; left: 0; color: var(--teal); font-size: 18px; top: 13px; }
.faq summary::after { content: "＋"; position: absolute; right: 0; color: var(--teal); }
.faq details[open] summary::after { content: "－"; }
.faq details p { padding: 0 0 16px 2em; color: var(--ink-2); font-size: 15px; }
.final-cta { background: linear-gradient(180deg, var(--teal-2) 0%, var(--teal-dark) 100%); color: #fff; text-align: center; padding: 56px 24px 60px; }
.final-cta h2 { font-size: 28px; line-height: 1.5; margin-bottom: 10px; font-feature-settings: "palt" 1; }
.final-cta p { opacity: .92; margin-bottom: 24px; }
.final-links { display: flex; justify-content: center; gap: 14px; flex-wrap: wrap; max-width: 1000px; margin: 0 auto; }
.final-links .btn { flex: 1 1 260px; max-width: 320px; font-size: 16px; padding: 14px 16px; color: var(--teal-dark); }
.final-links .btn small { display: block; font-size: 11px; letter-spacing: .06em; color: var(--ink-2); }
.final-links .btn.off { background: rgba(255,255,255,.55); box-shadow: none; color: var(--ink-2); cursor: default; }
@media (max-width: 860px) {
  .features { grid-template-columns: 1fr; max-width: 560px; }
  .topnav a:nth-child(n+2) { display: none; }
}
@media (max-width: 640px) {
  .top-hero .btn { flex: 1 1 100%; }
  .free-box { flex-direction: column; text-align: left; padding: 24px 20px; gap: 12px; }
  .free-box img { width: 84px; }
  .free-box h2 { font-size: 22px; }
  .free-list li { font-size: 15px; }
  .free-box .btn { width: 100%; }
  .final-cta h2 { font-size: 23px; }
  .final-links .btn { max-width: none; }
  .steps-bar li { font-size: 13px; }
  .steps-bar li::before { content: none; }
}

/* ===== 講座一覧 v0.3 で足したもの ===== */
.vh { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }
.pains { max-width: 1000px; margin: 0 auto; display: grid; grid-template-columns: repeat(2, 1fr); gap: 16px; }
.pain { background: #fff; border-radius: 16px; padding: 20px 16px 0 22px; display: flex; align-items: flex-end; gap: 12px; }
.pain p { flex: 1; font-weight: bold; font-size: 17px; padding-bottom: 20px; padding-left: 1.6em; position: relative; }
.pain p::before { content: "✓"; position: absolute; left: 0; top: .1em; width: 1.2em; height: 1.2em; line-height: 1.2em; text-align: center; border: 2px solid var(--teal); border-radius: 4px; color: var(--teal); font-size: 13px; }
.pain img { width: 110px; height: auto; flex: 0 0 auto; }
.pain-close { text-align: center; font-weight: bold; color: #3d7a79; margin-top: 28px; font-size: 17px; }
.table-wrap { max-width: 1000px; margin: 0 auto; overflow-x: auto; -webkit-overflow-scrolling: touch; border-radius: 16px; background: #fff; }
.compare { width: 100%; min-width: 720px; border-collapse: collapse; font-size: 14px; }
.compare th, .compare td { padding: 14px 16px; border-bottom: 1px solid var(--line); text-align: left; vertical-align: top; }
.compare thead th { color: #fff; font-size: 15px; line-height: 1.4; background: var(--teal-2); border-bottom: 0; }
.compare thead th small { display: block; font-size: 11px; letter-spacing: .06em; opacity: .9; }
.compare thead th:first-child { background: #fff; position: sticky; left: 0; z-index: 2; }
.compare thead th.c2 { background: #3d7a79; }
.compare thead th.c3 { background: var(--ink); }
.scroll-hint { display: none; }
.compare tbody th { position: sticky; left: 0; z-index: 1; width: 8.5em; color: var(--ink); background: var(--mint-2); white-space: nowrap; }
.compare tbody td { color: var(--ink-2); width: 30%; }
.compare tbody tr:last-child th, .compare tbody tr:last-child td { border-bottom: 0; }
.note-s { max-width: 1000px; margin: 12px auto 0; font-size: 12px; color: var(--ink-2); }
.note-s.center { text-align: center; margin-top: 20px; }
.afters { max-width: 1000px; margin: 0 auto; display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px; }
.after { background: var(--mint-2); border-radius: 18px; padding: 22px 22px 20px; border-top: 6px solid var(--teal-2); }
.after.l2 { border-top-color: #3d7a79; }
.after.l3 { border-top-color: var(--ink); }
.after .lv { font-size: 13px; font-weight: bold; color: var(--teal); display: flex; gap: 8px; align-items: center; margin-bottom: 6px; }
.after .lv span { font-size: 11px; color: #fff; background: var(--teal); border-radius: 999px; padding: 2px 10px; }
.after.l2 .lv span { background: #3d7a79; }
.after.l3 .lv span { background: var(--ink); }
.after h3 { font-size: 17px; margin-bottom: 10px; line-height: 1.5; }
.after ul { list-style: none; padding: 0; margin: 0; }
.after li { position: relative; padding-left: 1.5em; font-size: 15px; margin-bottom: 8px; color: var(--ink); }
.after li::before { content: "✓"; position: absolute; left: 0; color: var(--teal); font-weight: bold; }
.after-note { font-size: 13px; color: var(--ink-2); margin-top: 4px; }
@media (max-width: 860px) {
  .pains, .afters { grid-template-columns: 1fr; max-width: 560px; }
}
@media (max-width: 640px) {
  .pain p { font-size: 16px; padding-bottom: 16px; }
  .pain img { width: 88px; }
  .pain-close { font-size: 15px; text-align: left; }
  .pain-close br { display: none; }
  .compare { font-size: 13px; min-width: 640px; }
  .scroll-hint { display: block; text-align: right; font-size: 12px; color: var(--teal-dark); font-weight: bold; margin: -8px 0 8px; }
  .compare tbody th { width: auto; padding: 12px 10px; font-size: 12px; box-shadow: 2px 0 0 var(--line); }
  .compare th, .compare td { padding: 12px; }
}
/* v0.4 */
.free-course { font-weight: bold; color: var(--teal-dark); margin: 14px 0 6px; font-size: 15px; }
.course .free-tag + .go { margin-top: 12px; }
