/* まるっとIT大先生 LP。色はロゴの藍（#2f3783）と空色（#4a9ad8）から取る */
:root {
  --indigo: #2f3783;
  --indigo-d: #1d2360;
  --navy: #141a45;
  --sky: #4a9ad8;
  --sky-l: #e8f2fb;
  --sun: #f5b534;
  --sun-d: #d9951a;
  --ink: #1e2433;
  --muted: #5a6478;
  --line: #dde3ee;
  --bg: #ffffff;
  --bg-alt: #f4f7fc;
  --round: "M PLUS Rounded 1c", "Hiragino Maru Gothic ProN", "Hiragino Sans", "Noto Sans JP", Meiryo, sans-serif;
}
* { box-sizing: border-box; }
html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; }
body {
  margin: 0; background: var(--bg); color: var(--ink);
  font-family: -apple-system, BlinkMacSystemFont, "Hiragino Kaku Gothic ProN", "Hiragino Sans", "Noto Sans JP", Meiryo, sans-serif;
  font-size: 17px; line-height: 1.85; overflow-wrap: anywhere;
}
img { max-width: 100%; height: auto; display: block; }
a { color: var(--indigo); }
h1, h2, h3 { font-family: var(--round); line-height: 1.4; margin: 0; }
p { margin: 0 0 1em; }
.nb { display: inline-block; }
.wrap { max-width: 1080px; margin: 0 auto; padding: 0 16px; }
.narrow { max-width: 820px; }
.skip { position: absolute; left: -999px; }
.skip:focus { left: 8px; top: 8px; background: #fff; padding: 8px; z-index: 10; }
.icon { width: 1.15em; height: 1.15em; flex: 0 0 auto; }

/* ボタン */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: .5em;
  font-family: var(--round); font-weight: 800; text-decoration: none;
  border-radius: 999px; padding: 14px 28px; font-size: 18px; line-height: 1.3;
  transition: transform .12s ease, background .15s ease, box-shadow .15s ease;
}
.btn:focus-visible { outline: 3px solid var(--sky); outline-offset: 3px; }
.btn-primary { background: var(--sun); color: var(--navy); box-shadow: 0 4px 0 var(--sun-d); }
.btn-primary:hover { transform: translateY(-1px); background: #ffc24d; }
.btn-primary:active { transform: translateY(2px); box-shadow: 0 2px 0 var(--sun-d); }
.btn-line { border: 2px solid var(--indigo); color: var(--indigo); background: #fff; }
.btn-line:hover { background: var(--sky-l); }
.btn-ghost { border: 2px solid var(--indigo); color: var(--indigo); background: #fff; }
.btn-sm { padding: 8px 16px; font-size: 15px; }
.btn-lg { font-size: clamp(18px, 4.6vw, 24px); padding: 16px 32px; }

/* ヘッダー */
.topbar { background: #fff; border-bottom: 4px solid var(--indigo); position: sticky; top: 0; z-index: 5; }
.topbar .wrap { display: flex; align-items: center; justify-content: space-between; gap: 12px; padding-top: 10px; padding-bottom: 10px; }
.brand img { width: clamp(170px, 42vw, 300px); }

/* ヒーロー */
.hero {
  background:
    radial-gradient(circle at 85% 20%, rgba(74, 154, 216, .18), transparent 45%),
    linear-gradient(180deg, #f3f7fd 0%, #ffffff 100%);
  padding: 32px 0 40px; overflow: hidden;
}
.hero-grid { display: grid; gap: 24px; }
.catch { width: min(100%, 520px); margin: 0 0 18px; }
.hero h1 { font-size: clamp(28px, 7.4vw, 46px); color: var(--navy); font-weight: 800; margin-bottom: 16px; letter-spacing: .01em; }
.hero .lead { font-size: 17px; color: var(--muted); max-width: 36em; }
.hero .lead strong { color: var(--indigo); font-family: var(--round); }
.pills { list-style: none; padding: 0; margin: 0 0 22px; display: flex; flex-wrap: wrap; gap: 8px; }
.pills li { background: var(--indigo); color: #fff; font-size: 14px; font-weight: 700; padding: 4px 14px; border-radius: 999px; }
.cta-row { display: flex; flex-wrap: wrap; gap: 12px; }
.hero .note { font-size: 14px; color: var(--muted); margin-top: 12px; }
.hero-art { position: relative; height: 300px; }
.hero-art .disc {
  position: absolute; left: 50%; bottom: 0; transform: translateX(-50%);
  width: 300px; height: 300px; border-radius: 50%;
  background: radial-gradient(circle, var(--sky-l) 0 60%, rgba(74, 154, 216, .25) 61% 63%, transparent 64%);
}
.hero-art img { position: absolute; bottom: 0; filter: drop-shadow(0 6px 10px rgba(20, 26, 69, .15)); }
.hero-art .s-bike { height: 250px; width: auto; left: 50%; transform: translateX(-50%); z-index: 1; }
.hero-art .s-laptop { height: 205px; width: auto; left: calc(50% - 168px); }
.hero-art .s-phone { height: 215px; width: auto; left: calc(50% + 48px); }

/* エリア */
.area { background: var(--indigo); color: #fff; padding: 36px 0; }
.area .eyebrow { color: #a9cdf0; }
.area h2 { font-size: clamp(22px, 5.6vw, 30px); margin-bottom: 20px; }
.area-cards { display: grid; gap: 14px; }
.area-card { background: #fff; color: var(--ink); border-radius: 16px; padding: 18px 20px; display: grid; grid-template-columns: auto 1fr; column-gap: 14px; align-items: center; }
.area-card .pin { width: 40px; height: 40px; color: var(--sun-d); grid-row: span 2; }
.area-card .pref { margin: 0; font-size: 14px; color: var(--muted); font-weight: 700; }
.area-card .cities { margin: 0; font-family: var(--round); font-weight: 800; font-size: clamp(20px, 5.4vw, 26px); color: var(--navy); line-height: 1.4; }
.area-note { margin: 16px 0 0; font-size: 15px; color: #dce9f7; }

/* セクション共通 */
.sec { padding: 48px 0; }
.sec-alt { background: var(--bg-alt); }
.eyebrow { font-family: var(--round); font-weight: 800; color: var(--sky); letter-spacing: .2em; font-size: 13px; margin: 0 0 4px; }
.sec h2 { font-size: clamp(24px, 6vw, 34px); color: var(--navy); margin-bottom: 12px; }
.sec-lead { color: var(--muted); max-width: 44em; margin-bottom: 24px; }

/* 課題 */
.worries { list-style: none; padding: 0; margin: 0; display: grid; gap: 10px; }
.worries li {
  background: #fff; border: 1px solid var(--line); border-left: 5px solid var(--sun);
  border-radius: 10px; padding: 12px 16px; font-size: 16px;
}

/* サービス */
.cards { display: grid; gap: 16px; }
.card { background: #fff; border-radius: 18px; padding: 24px 22px; box-shadow: 0 2px 0 var(--line), 0 10px 24px rgba(20, 26, 69, .06); position: relative; }
.card-icon { width: 52px; height: 52px; border-radius: 14px; background: var(--sky-l); color: var(--indigo); display: grid; place-items: center; }
.card-icon svg { width: 28px; height: 28px; }
.card .no { position: absolute; top: 18px; right: 22px; margin: 0; font-family: var(--round); font-weight: 800; font-size: 34px; color: var(--sky-l); line-height: 1; }
.card h3 { font-size: 20px; color: var(--navy); margin: 14px 0 8px; }
.card p { font-size: 16px; color: var(--muted); margin: 0; }
.plus { margin-top: 20px; background: var(--navy); color: #fff; border-radius: 18px; padding: 24px 22px; display: grid; gap: 14px; align-items: center; }
.plus h3 { font-size: 20px; margin-bottom: 6px; color: var(--sun); }
.plus p { margin: 0; color: #d5dcf0; font-size: 16px; }
.plus .btn { justify-self: start; }

/* セキュリティチェック */
.check-grid { display: grid; gap: 24px; align-items: end; }
.checks { list-style: none; padding: 0; margin: 0 0 16px; display: grid; gap: 8px; }
.checks label { display: flex; gap: 12px; align-items: flex-start; background: #fff; border: 1px solid var(--line); border-radius: 10px; padding: 12px 14px; cursor: pointer; font-size: 16px; }
.checks input { width: 22px; height: 22px; margin: 3px 0 0; accent-color: var(--indigo); flex: 0 0 auto; }
.checks label:has(input:checked) { background: var(--sky-l); border-color: var(--sky); }
.check-result { background: #fff7e3; border-radius: 10px; padding: 12px 16px; font-weight: 700; color: var(--navy); }
.check-result.ok { background: #e6f6ec; }
.check-art { display: none; }

/* 理由 */
.sec-navy { background: var(--navy); color: #fff; }
.sec-navy h2 { color: #fff; }
.sec-navy .eyebrow { color: var(--sun); }
.reasons { list-style: none; padding: 0; margin: 20px 0 0; display: grid; gap: 14px; counter-reset: r; }
.reasons li { counter-increment: r; background: rgba(255, 255, 255, .06); border: 1px solid rgba(255, 255, 255, .14); border-radius: 16px; padding: 20px 20px 18px 72px; position: relative; }
.reasons li::before {
  content: counter(r); position: absolute; left: 18px; top: 18px; width: 40px; height: 40px; border-radius: 50%;
  background: var(--sun); color: var(--navy); font-family: var(--round); font-weight: 800; font-size: 20px; display: grid; place-items: center;
}
.reasons h3 { font-size: 19px; margin-bottom: 6px; }
.reasons p { margin: 0; color: #cfd6ec; font-size: 16px; }

/* 料金 */
.prices { display: grid; gap: 16px; }
.price-box { border: 2px solid var(--line); border-radius: 18px; padding: 20px; }
.price-box-accent { border-color: var(--sky); background: var(--sky-l); }
.price-box h3 { font-size: 19px; color: var(--indigo); margin-bottom: 10px; }
.price-box dl { margin: 0; }
.price-box dl > div { display: flex; flex-wrap: wrap; justify-content: space-between; gap: 2px 12px; padding: 10px 0; border-top: 1px dashed var(--line); }
.price-box dl > div:first-child { border-top: 0; }
.price-box dt { font-size: 15px; flex: 1 1 14em; }
.price-box dd { margin: 0; font-family: var(--round); font-weight: 800; color: var(--navy); font-size: 18px; white-space: nowrap; }
.price-box dd.free { color: #1c8a4c; }
.price-notes { color: var(--muted); font-size: 14px; padding-left: 1.2em; margin: 16px 0 0; }

/* FAQ */
.faq details { background: #fff; border: 1px solid var(--line); border-radius: 12px; margin-bottom: 10px; }
.faq summary { cursor: pointer; padding: 14px 44px 14px 16px; font-weight: 700; color: var(--navy); position: relative; list-style: none; }
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after { content: "+"; position: absolute; right: 16px; top: 50%; transform: translateY(-50%); font-size: 24px; color: var(--sky); font-family: var(--round); }
.faq details[open] summary::after { content: "−"; }
.faq details p { padding: 0 16px 14px; margin: 0; color: var(--muted); font-size: 16px; }

/* お問い合わせ */
.contact { background: linear-gradient(135deg, var(--indigo) 0%, var(--navy) 100%); color: #fff; padding: 44px 0; }
.contact-grid { display: grid; gap: 20px; align-items: center; }
.contact h2 { font-size: clamp(24px, 6vw, 34px); margin-bottom: 12px; }
.contact p { color: #dbe2f5; }
.contact-art { width: 150px; justify-self: center; }

footer { background: #0d1130; color: #aab3d0; padding: 28px 0; font-size: 14px; }
footer p { margin: 0 0 8px; }
footer a { color: #fff; }
.disclaimer { font-size: 13px; color: #8b94b3; }

/* タブレット以上 */
@media (min-width: 760px) {
  .hero { padding: 56px 0 64px; }
  .hero-grid { grid-template-columns: 1.1fr .9fr; align-items: center; }
  .hero-art { height: 420px; }
  .hero-art .disc { width: 420px; height: 420px; }
  .hero-art .s-bike { height: 340px; }
  .hero-art .s-laptop { height: 290px; left: calc(50% - 235px); }
  .hero-art .s-phone { height: 300px; left: calc(50% + 80px); }
  .area-cards { grid-template-columns: 1fr 1fr; }
  .worries { grid-template-columns: 1fr 1fr; }
  .cards { grid-template-columns: 1fr 1fr; }
  .plus { grid-template-columns: 1fr auto; padding: 28px 32px; }
  .check-grid { grid-template-columns: 1fr 260px; }
  .check-art { display: block; }
  .reasons { grid-template-columns: 1fr 1fr; }
  .reasons li:last-child { grid-column: span 2; }
  .prices { grid-template-columns: 1fr 1fr; }
  .contact-grid { grid-template-columns: 220px 1fr; }
  .contact-art { width: 200px; }
  .sec { padding: 72px 0; }
}
