/* おやこの止まり木（みっちーの不登校支援のサイト）。色は案B「空とひだまり」（10-10 みっちー「案Bで！」） */
:root {
  --bg: #ffffff;
  --tint: #f0f7fc;
  --card: #ffffff;
  --ink: #1e2b36;
  --sub: #53616c;
  --accent: #1f6fa8;
  --accent-dark: #174f78;
  --accent-soft: #e8f2fa;
  --sky: #cde6f6;
  --warm: #ffd27a;
  --warm-soft: #fff6e3;
  --line: #e2ecf4;
  --radius: 20px;
}
* { box-sizing: border-box; margin: 0; padding: 0; }
body {
  background: var(--bg);
  color: var(--ink);
  font-family: "Noto Sans JP", "Hiragino Kaku Gothic ProN", "Hiragino Sans", sans-serif;
  line-height: 1.8;
  font-size: 16px;
}
a { color: var(--accent); }
a:hover { color: var(--accent-dark); }
.wrap { max-width: 1040px; margin: 0 auto; padding: 0 24px; }
.maru { font-family: "Zen Maru Gothic", "Hiragino Maru Gothic ProN", sans-serif; }

/* 上の帯 */
header { background: var(--card); border-bottom: 1px solid var(--line); }
header .wrap { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 12px 32px; padding-top: 14px; padding-bottom: 14px; }
.logo { display: flex; align-items: center; gap: 12px; color: var(--ink); text-decoration: none; }
.logo:hover { color: var(--ink); }
.logo .mark { width: 40px; height: 40px; border-radius: 50%; background: var(--warm); display: flex; align-items: center; justify-content: center; flex-shrink: 0; }
.logo .name { display: flex; flex-direction: column; line-height: 1.3; }
.logo .name b { font-family: "Zen Maru Gothic", "Hiragino Maru Gothic ProN", sans-serif; font-size: 18px; }
.logo .name small { font-size: 12px; color: var(--sub); }
nav { display: flex; flex-wrap: wrap; gap: 4px 6px; font-size: 14px; }
nav a { text-decoration: none; color: var(--ink); padding: 10px 12px; border-radius: 999px; }
nav a.now { color: var(--accent); font-weight: 700; background: var(--accent-soft); }

/* 大きな見出しの帯 */
.hero { background: var(--tint); position: relative; overflow: hidden; }
.hero::before { content: ""; position: absolute; right: -80px; top: -60px; width: 360px; height: 360px; border-radius: 50%; background: var(--warm); opacity: .45; }
.hero::after { content: ""; position: absolute; right: 180px; bottom: -90px; width: 220px; height: 220px; border-radius: 50%; background: var(--sky); }
.hero .wrap { position: relative; z-index: 1; padding-top: 88px; padding-bottom: 96px; }
.hero.small .wrap { padding-top: 64px; padding-bottom: 64px; }
.pill { display: inline-block; margin-bottom: 16px; font-size: 13px; font-weight: 700; color: var(--accent); background: #fff; border-radius: 999px; padding: 4px 14px; }
.hero h1 { font-family: "Zen Maru Gothic", "Hiragino Maru Gothic ProN", sans-serif; font-weight: 700; font-size: clamp(30px, 5vw, 46px); line-height: 1.45; letter-spacing: .02em; }
.hero.small h1 { font-size: clamp(28px, 4vw, 38px); }
.hero p.lead { margin-top: 20px; max-width: 34em; color: #43525e; }
.buttons { margin-top: 32px; display: flex; flex-wrap: wrap; gap: 12px; }
.btn { display: inline-flex; align-items: center; min-height: 48px; padding: 0 28px; border-radius: 999px; background: var(--accent); color: #fff; font-weight: 700; text-decoration: none; }
.btn:hover { background: var(--accent-dark); color: #fff; }
.btn.sub { background: #fff; color: var(--accent); border: 2px solid #c9dff0; padding: 0 24px; }
.btn.sub:hover { background: var(--accent-soft); color: var(--accent); }

section { padding: 56px 0 24px; }
.eyebrow { font-size: 13px; font-weight: 700; color: var(--accent); letter-spacing: .08em; }
h2 { margin: 4px 0 28px; font-family: "Zen Maru Gothic", "Hiragino Maru Gothic ProN", sans-serif; font-size: 28px; line-height: 1.4; }
.cards { display: grid; grid-template-columns: repeat(auto-fit, minmax(min(220px, 100%), 1fr)); gap: 16px; }
.card { background: var(--card); border: 1px solid var(--line); border-radius: var(--radius); padding: 24px; box-shadow: 0 6px 20px rgba(31,111,168,.06); }
.card h3 { margin: 14px 0 6px; font-size: 17px; }
.card p { font-size: 14px; color: var(--sub); }
.step { display: inline-flex; width: 36px; height: 36px; border-radius: 50%; align-items: center; justify-content: center; background: var(--warm); font-weight: 700; }

/* 大事にしていること（色つきの箱） */
.panels { display: grid; grid-template-columns: repeat(auto-fit, minmax(min(300px, 100%), 1fr)); gap: 20px; }
.panel { background: var(--tint); border-radius: 24px; padding: 28px; }
.panel.warm { background: var(--warm-soft); }
.panel h3 { margin-bottom: 8px; font-family: "Zen Maru Gothic", "Hiragino Maru Gothic ProN", sans-serif; font-size: 20px; }
.panel p { font-size: 15px; color: #43525e; }
.panel.warm p { color: #4f4a3e; }

/* 動画の一覧（空の箱） */
.videos { display: grid; grid-template-columns: repeat(auto-fit, minmax(min(260px, 100%), 1fr)); gap: 20px; }
.video { background: var(--card); border: 1px solid var(--line); border-radius: var(--radius); overflow: hidden; }
.video .thumb { aspect-ratio: 16 / 9; background: var(--accent-soft); display: flex; align-items: center; justify-content: center; color: #1f5f8f; font-size: 14px; }
.video .body { padding: 14px 18px 18px; }
.video .body .tag { font-size: 12px; font-weight: 700; color: var(--accent); }
.video .body p { margin-top: 4px; font-size: 14px; color: var(--sub); }

.note { border: 2px dashed #c9dff0; border-radius: 24px; padding: 24px 28px; font-size: 14px; color: var(--sub); }
.note b { display: block; font-size: 17px; color: var(--ink); }

/* こんな状態ありませんか */
.checks { display: grid; grid-template-columns: repeat(auto-fit, minmax(min(420px, 100%), 1fr)); gap: 12px; list-style: none; }
.checks li { display: flex; gap: 12px; align-items: flex-start; background: var(--tint); border-radius: 16px; padding: 16px 20px; font-size: 15px; }
.checks li::before { content: ""; flex-shrink: 0; width: 22px; height: 22px; margin-top: 3px; border-radius: 50%; background: var(--warm); }
.after { margin-top: 20px; font-size: 15px; color: #43525e; }

/* 一番下の案内の帯 */
.band { margin-top: 32px; background: var(--accent-soft); border-radius: 24px; padding: 32px 28px; display: flex; flex-wrap: wrap; gap: 16px 32px; align-items: center; justify-content: space-between; }
.band h3 { font-family: "Zen Maru Gothic", "Hiragino Maru Gothic ProN", sans-serif; font-size: 22px; }
.band p { font-size: 14px; color: var(--sub); }

footer { background: var(--tint); border-top: 1px solid var(--line); margin-top: 72px; padding: 28px 0 36px; font-size: 13px; color: var(--sub); }

@media (max-width: 640px) {
  .hero .wrap { padding-top: 56px; padding-bottom: 64px; }
  .hero::before { width: 240px; height: 240px; right: -100px; }
  .hero::after { display: none; }
  h2 { font-size: 21px; }
  .hero h1 { font-size: 25px; }
  .hero.small h1 { font-size: 24px; }
}

/* 文章のページ（プライバシーポリシーなど） */
.doc { max-width: 760px; }
.doc h2 { font-size: 22px; margin: 40px 0 12px; }
.doc p, .doc li { font-size: 15px; color: #33414c; }
.doc ul { padding-left: 1.4em; margin: 8px 0; }
.doc li { margin: 4px 0; }
.doc .meta { margin-top: 40px; font-size: 14px; color: var(--sub); }
.profile li { margin-bottom: 8px; }
footer .wrap { display: flex; flex-wrap: wrap; gap: 8px 24px; justify-content: space-between; }
footer a { color: var(--sub); }

/* 自己紹介の写真 */
.person { display: flex; gap: 24px; align-items: flex-start; }
.person .face { width: 180px; height: auto; aspect-ratio: 3 / 4; object-fit: cover; object-position: 50% 15%; border-radius: 20px; flex-shrink: 0; }
.person .profile { flex: 1; }
@media (max-width: 640px) {
  .person { flex-direction: column; }
  .person .face { width: 100%; max-width: 260px; }
}
