/* 学童塾KASICO（今の Wix のサイトの見た目をなぞり、スマホでも読めるようにしたもの）
   パソコン：幅 980px の白い台を真ん中に置く（今のサイトと同じ寸法）。
   スマホ（幅 760px 以下）：同じ部品を1列に並べ直す。 */

:root {
  --panel: 980px;
  --yellow: #ffd056;      /* 見学・ご相談の札、フッター */
  --green: #bada55;       /* よくある質問の札 */
  --blue: #3d9be9;        /* 電話 */
  --orange: #ffbe46;      /* メニューの今いるところ・お知らせの見出し */
  --navy: #1141a5;        /* 見出しの青 */
  --ink: #324158;         /* 本文の紺 */
  --gray: #636363;        /* 大きな文の灰 */
  --red: #ff4500;         /* 強調の赤 */
  --red-btn: #e5525b;     /* 赤いボタン */
  --link: #384ad3;        /* 青い字のリンク */
  --text: #282626;
  --muted: #6b6b6b;
  --line: #e8e6e6;
  --bg-soft: #fffbf0;
  --radius: 14px;
  --maru: "Zen Maru Gothic", "Hiragino Maru Gothic ProN", "ヒラギノ丸ゴ ProN", sans-serif;
  --mincho: "Zen Old Mincho", "Hiragino Mincho ProN", "Yu Mincho", serif;
}

*,
*::before,
*::after { box-sizing: border-box; }

html { -webkit-text-size-adjust: 100%; }

body {
  margin: 0;
  color: var(--text);
  /* まわりの地：今のサイトと同じ、うすいクリーム色の格子 */
  background: #fdf3e2 url(/images/top/bg-site.jpg) repeat;
  font-family: "メイリオ", Meiryo, "Hiragino Kaku Gothic ProN", "Hiragino Sans", "Noto Sans JP", sans-serif;
  font-size: 16px;
  line-height: 1.8;
}

img { max-width: 100%; height: auto; display: block; }
a { color: #1f6fb8; }

.wrap { max-width: 1080px; margin: 0 auto; padding: 0 20px; }

/* 試作であることの帯（本番では消す） */
.proto-note {
  background: #333; color: #fff; font-size: 12px; text-align: center;
  padding: 4px 8px; line-height: 1.5;
}
/* 試作だけ：見た目の切り替え。スマホでは「パソコンの見た目で見る」、切り替えたあとは「スマホの見た目に戻す」を出す */
.proto-note a { color: #ffd056; margin-left: 1em; white-space: nowrap; }
.proto-note .to-pc, .proto-note .to-sp { display: none; }
.view-pc .proto-note .to-sp { display: inline; }
@media (max-width: 760px) { .proto-note .to-pc { display: inline; } }

/* ---------- ボタン（申し込み・記事のページでも使う） ---------- */
.btn {
  display: inline-flex; align-items: center; justify-content: center;
  gap: 6px; text-decoration: none; font-weight: 700; color: #333;
  border-radius: 999px; padding: 10px 18px; line-height: 1.3;
}
.btn-yellow { background: var(--yellow); }
.btn-green { background: var(--green); }
.btn-blue { background: var(--blue); color: #fff; }
.btn-outline { border: 2px solid #ddd; background: #fff; font-size: 15px; padding: 8px 16px; }
.btn-red {
  display: inline-flex; align-items: center; justify-content: center; gap: 1.2em;
  background: var(--red-btn); color: #fff; text-decoration: none; font-size: 19px;
  border-radius: 999px; padding: 14px 34px; box-shadow: 0 3px 4px rgba(0,0,0,.35);
}
.btn-red:hover { filter: brightness(1.05); }

/* ================= ヘッダー ================= */
.site-header { background: #fff; }
.hd { position: relative; max-width: var(--panel); height: 197px; margin: 0 auto; }
.logo-h1 { margin: 0; font-size: inherit; line-height: 0; }
.logo { position: absolute; left: 0; top: 27px; width: 46.3%; }      /* 454px */
.logo img { width: 100%; }

.hd-tabs { position: absolute; top: 7px; left: 65.1%; display: flex; gap: 8px; }
.hd-tab {
  display: flex; align-items: center; justify-content: center; width: 144px; height: 56px;
  border-radius: 0 0 8px 8px; color: #fff; font-weight: 700; text-decoration: none;
  font-size: 15px; letter-spacing: 3px;
}
.tab-yellow { background: var(--yellow); }
.tab-green { background: var(--green); font-size: 14px; letter-spacing: 2.8px; }

.hd-sns { position: absolute; left: 49.2%; top: 108px; display: flex; gap: 8px; }
.hd-sns img { width: 40px; height: 40px; }

.hd-tel {
  position: absolute; left: 65.2%; top: 81px; width: 295px; height: 71px;
  display: grid; grid-template-columns: 52px 1fr; grid-template-rows: auto auto; align-content: center;
  background: var(--blue); border-radius: 10px; color: #fff; text-decoration: none; padding: 0 12px 0 18px;
}
.tel-icon { grid-row: 1 / 3; width: 30px; height: 30px; align-self: center; }
.tel-num { font-family: Roboto, Arial, sans-serif; font-weight: 700; font-size: 24px; letter-spacing: 2.4px; line-height: 1.3; }
.tel-hours { font-size: 13px; line-height: 1.4; }

/* メニュー（パソコン：今のサイトと同じ、黄色い札が5つ） */
.global-nav { max-width: var(--panel); margin: 0 auto; padding-bottom: 10px; }
.global-nav ul { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(5, 1fr); gap: 4px; }
.global-nav a {
  display: flex; align-items: center; justify-content: center; height: 44px;
  text-decoration: none; font-weight: 700; font-size: 20px; color: #998c49;
  background: rgba(247, 237, 90, .58); border-radius: 8px 8px 0 0;
}
.global-nav a[aria-current="page"] { background: rgba(255, 190, 70, .88); color: #000; }
.global-nav a:hover { background: rgba(255, 190, 70, .6); }

.menu-toggle { display: none; }
.sp-bar { display: none; }

/* 右端に浮かぶ丸い札（パソコン） */
.pc-float { position: fixed; right: 6px; top: 40%; z-index: 40; display: grid; gap: 22px; }
.pc-float img { width: 191px; height: auto; }

/* ================= 中身の台 ================= */
main { display: block; max-width: var(--panel); margin: 0 auto; background: #fff; }
main.top { max-width: none; background: none; }
.panel { max-width: var(--panel); margin: 0 auto; background: #fff; }
.deco { position: absolute; pointer-events: none; }

/* ---------- トップ：上の写真（1枚を真ん中に、両どなりを見せる） ---------- */
.hero { margin-bottom: 40px; }
.slides {
  display: flex; gap: 10px; overflow-x: auto; scroll-snap-type: x mandatory;
  padding: 0 calc(50% - 373px); scrollbar-width: none; background: #fff;
}
.slides::-webkit-scrollbar { display: none; }
.slides a { flex: 0 0 747px; scroll-snap-align: center; }
.slides img { width: 100%; height: 420px; object-fit: cover; }

/* ---------- 見出し：黄色い筆の形 ---------- */
.blob-title { text-align: center; margin: 0 0 44px; }
.blob-title > span {
  display: inline-flex; align-items: center; justify-content: center; min-width: 378px; min-height: 84px;
  padding: 10px 40px; background: url(/images/top/title-blob.webp) center / 100% 100% no-repeat;
  font-family: var(--maru); font-weight: 700; font-size: 26px; color: var(--navy); line-height: 1.3;
}
.blob-long > span { min-width: 560px; min-height: 100px; }
.sugoi-word { display: inline-flex; align-items: flex-start; font-size: 33px; margin: 0 2px; }
.sugoi-word img { width: auto; height: 22px; margin-top: 2px; }

/* ---------- お知らせ ---------- */
.news { background: #fafafa; padding: 31px 0 33px; }
.news-head {
  display: flex; align-items: center; justify-content: center; gap: 6px; margin: 0 0 30px;
  font-family: var(--maru); font-weight: 700; font-size: 23px; color: var(--orange); letter-spacing: .05em;
}
.news-head img { width: 46px; }
.news-box { position: relative; width: 738px; margin: 0 auto; }
.news-tabs { display: grid; grid-template-columns: repeat(3, 1fr); gap: 10px; }
.news-tabs a {
  display: flex; align-items: center; justify-content: center; height: 44px; border-radius: 10px 10px 0 0;
  color: #fff; font-weight: 700; text-decoration: none; letter-spacing: .1em;
}
.news-tabs .t-imp { background: #a3da9a; }
.news-tabs .t-blog { background: #8993a7; }
.news-tabs .t-col { background: #f9beca; }
.news-list { list-style: none; margin: 0; padding: 0; }
.news-list li { background: #fff; border: 1px solid var(--line); margin-bottom: 12px; }
.news-list a {
  display: grid; grid-template-columns: 96px 150px 1fr; gap: 0 20px; align-items: center;
  min-height: 84px; padding: 0 14px; text-decoration: none; color: var(--text);
}
.news-list a:hover .news-title { text-decoration: underline; }
.tag {
  display: inline-flex; align-items: center; justify-content: center; height: 24px;
  color: #fff; font-weight: 700; font-size: 15px; letter-spacing: .3em; text-indent: .3em; background: #aaa;
}
.tag.t-imp { background: #a3da9a; }
.tag.t-blog { background: #8993a7; }
.tag.t-col, .tag.tag-column { background: #f6c1ce; }
.news-date { font-size: 15px; }
.news-title { font-size: 16px; }
.news-mascot { position: absolute; right: -96px; top: 288px; width: 198px; }

/* ---------- 年間1200時間 ---------- */
.hours { position: relative; padding: 14px 0 60px; }
.hours-banner { margin: 0 4px; }
.hours-banner img { width: 100%; }
.hours-body {
  position: relative; text-align: center; padding: 110px 0 0;
  font-family: var(--maru); font-weight: 500; font-size: 28px; color: var(--gray); letter-spacing: .06em; line-height: 2.05;
}
.hours-body p { margin: 0 0 120px; }
.hours em, .voice em, .room-text mark {
  font-style: normal; font-weight: 700; color: var(--red);
}
.hours em {
  padding-bottom: 4px;
  background: radial-gradient(circle, #9fd23d 2px, transparent 2.5px) left bottom / 8px 6px repeat-x;
}
.deco-school { right: 40px; top: 70px; width: 150px; }
.p2 { position: relative; }
.deco-book { left: 124px; top: 92px; width: 141px; }
.hours-last { display: flex; align-items: center; justify-content: space-between; padding: 0 50px 0 90px; }
.hours-last p { margin: 0; white-space: nowrap; }
.photo-nakama { width: 391px; }

.time-row { position: relative; display: flex; align-items: center; gap: 110px; margin: 100px 0 0 109px; }
.time-row.rev { flex-direction: row-reverse; justify-content: flex-end; margin-left: 156px; gap: 130px; }
.time-photo { position: relative; flex: none; }
.time-photo .photo { width: 367px; border-radius: 16px; }
.deco-f1 { width: 205px; left: 211px; bottom: -58px; }
.deco-f2 { width: 164px; left: -80px; bottom: -40px; }
.deco-f3 { width: 230px; left: -92px; bottom: -64px; }
.time-text { margin: 0; font-family: var(--maru); font-weight: 500; font-size: 30px; color: #000; line-height: 1.4; letter-spacing: .05em; }
.time-text b { font-weight: 700; font-size: 48px; color: var(--navy); }

/* ---------- ここがスゴイ ---------- */
.sugoi { padding: 40px 0 70px; }
.features { display: grid; grid-template-columns: 314px 314px; justify-content: center; gap: 36px 109px; }
.feature { position: relative; }
.feature h3 {
  margin: 0 0 8px; font-family: var(--maru); font-weight: 700; font-size: 22px; color: var(--navy); line-height: 1.4;
}
.feature h3 b { font-size: 27px; }
.feature-img { position: relative; }
.feature-img > img:first-child { width: 314px; height: 157px; object-fit: cover; }
.feature-img.contain > img:first-child { object-fit: contain; }
.deco-dots { width: 79px; right: -23px; top: -40px; }
.feature p { margin: 14px 0 0; font-size: 15px; line-height: 1.45; color: var(--ink); }
.btn-right { text-align: right; margin: 40px 65px 0 0; }
.btn-right .btn-red { width: 300px; padding: 16px 30px; gap: 70px; }

/* ---------- 教室情報 ---------- */
.room-sec { padding: 20px 0 80px; }
.room-card {
  position: relative; display: flex; gap: 34px; margin: 0 46px; padding: 31px 30px 30px;
  background: rgba(255,255,255,.73); border: 1px solid var(--line); border-radius: 8px;
  box-shadow: 6.5px 4.5px 0 rgba(199,199,199,.68);
}
.room-photo { position: relative; flex: none; width: 464px; }
.room-photo img:first-child, .room-photo a img { width: 464px; height: 283px; object-fit: cover; }
.room-photo .deco-dots { right: -40px; top: -31px; }
.room-text { color: var(--ink); }
.room-text h3 { white-space: nowrap; letter-spacing: -.02em; margin: 0 0 14px; font-family: var(--maru); font-weight: 700; font-size: 17px; color: #1d3461; line-height: 1.6; }
.room-text h3 b { font-size: 28px; }
.room-addr { display: flex; align-items: center; gap: 4px; font-size: 15px; margin: 0 0 6px; }
.room-addr img { width: 30px; }
.room-text p { font-size: 17px; line-height: 1.8; margin: 0; }
.room-text mark { color: #e7240e; background: linear-gradient(transparent 55%, #fff04d 55%); }
.room-btn { margin-top: 22px !important; }
.room-btn .btn-red { background: #d83e46; font-size: 18px; padding: 16px 26px; box-shadow: 0 1px 4px rgba(0,0,0,.6); }

/* ---------- ご利用者様の声 ---------- */
.voices-sec { padding: 10px 0 40px; }
.voices { display: grid; gap: 64px; }
.voice {
  display: flex; align-items: flex-start; gap: 18px; width: 617px; margin-left: 128px; padding: 40px 30px 36px 22px;
  border-radius: 10px; box-shadow: 5px 4.5px 0 rgba(199,199,199,.29); color: var(--ink);
}
.voice.rev { flex-direction: row-reverse; margin-left: 248px; padding: 36px 23px 36px 28px; }
.v-yellow { background: #f9f28b; }
.v-green { background: #d2f8a5; }
.voice > img { width: 129px; flex: none; }
.voice h3 {
  margin: 0 0 14px; padding-bottom: 8px; font-family: var(--maru); font-weight: 700; font-size: 21px;
  border-bottom: 3px dotted #fff;
}
.voice p { margin: 0; font-size: 14px; line-height: 1.8; }
.voice em { font-family: var(--maru); font-size: 18px; color: #e12700; background: linear-gradient(transparent 55%, #fff04d 55%); }
.more-voice { text-align: right; margin: 40px 120px 0 0; }
.more-voice a { display: inline-flex; align-items: center; gap: 12px; color: var(--text); font-size: 22px; font-weight: 300; }
.more-voice img { width: 46px; }
.more-voice span { font-size: 18px; text-decoration: none; }

/* ---------- KASICOが目指すもの ---------- */
.mission { padding: 60px 30px 40px; text-align: center; font-family: var(--mincho); }
.mission-catch { margin: 0 0 34px; font-size: 32px; font-weight: 700; color: #090d4d; line-height: 1.4; }
.mission p { margin: 0 0 30px; font-size: 20px; line-height: 1.4; color: var(--gray); }
.mission-link { margin-top: 40px !important; font-family: "メイリオ", Meiryo, sans-serif; }
.mission-link a { display: inline-flex; align-items: center; gap: 14px; color: var(--link); font-weight: 700; text-decoration: none; }
.long-arrow { width: 40px; height: 2px; background: var(--link); position: relative; }
.long-arrow::after { content: ""; position: absolute; right: -2px; top: -5px; border: 6px solid transparent; border-left: 9px solid var(--link); border-right: 0; }

/* ---------- 説明会の案内 ---------- */
.cta { padding: 50px 19px 60px; text-align: center; }
.cta-banner img { width: 947px; margin: 0 auto; }
.cta-link { display: inline-block; margin-top: 18px; color: var(--link); font-weight: 700; font-size: 20px; }

/* ================= フッター（黄色の帯） ================= */
.site-footer { background: var(--yellow); color: #fff; }
.ft { max-width: var(--panel); margin: 0 auto; padding: 28px 20px 14px; }
.site-footer a { color: #fff; text-decoration: none; }
.site-footer a:hover { text-decoration: underline; }
.footer-links { display: grid; grid-template-columns: repeat(6, auto); justify-content: center; gap: 0 46px; }
.footer-links h4 { margin: 0 0 6px; font-size: 15px; text-align: center; }
.footer-links ul { list-style: none; margin: 0; padding: 0; text-align: center; }
.footer-links li { font-size: 13px; line-height: 1.75; }
.ft-addr { text-align: center; font-size: 14px; line-height: 1.8; margin: 22px 0 10px; }
.copyright { text-align: right; color: #000; font-size: 14px; margin: 0; }

/* ================= 幅がせまいパソコン・タブレット（761〜999px） ================= */
@media (max-width: 999px) and (min-width: 761px) {
  .hd { height: 180px; padding: 0 12px; }
  .hd-tab { width: 120px; letter-spacing: 1px; }
  .hd-tel { width: 270px; }
  .news-box { width: auto; margin: 0 40px; }
  .news-mascot { display: none; }
  .pc-float img { width: 120px; }
}

/* ================= スマホ（幅 760px 以下） ================= */
@media (max-width: 760px) {
  body { font-size: 16px; }
  .wrap { padding: 0 16px; }

  /* ヘッダー：ロゴとメニューだけ。電話・見学は画面の下の帯へ */
  .hd { height: auto; display: flex; align-items: center; justify-content: space-between; padding: 10px 14px; }
  .logo-h1, .logo { flex: none; }
  .logo { position: static; display: block; width: 190px; }
  .hd-tabs, .hd-sns, .hd-tel { display: none; }
  .menu-toggle {
    display: block; border: 0; background: rgba(247, 237, 90, .58); color: #6f6533; border-radius: 8px;
    font: inherit; font-weight: 700; font-size: 14px; padding: 8px 14px; cursor: pointer; white-space: nowrap; flex: none;
  }
  .global-nav { display: none; padding: 0 14px 12px; }
  .global-nav.open { display: block; }
  .global-nav ul { grid-template-columns: 1fr 1fr; gap: 6px; }
  .global-nav a { font-size: 16px; border-radius: 8px; }

  .sp-bar {
    display: grid; grid-template-columns: 1fr 1fr; gap: 8px;
    position: fixed; left: 0; right: 0; bottom: 0; z-index: 50;
    padding: 8px 10px calc(8px + env(safe-area-inset-bottom));
    background: rgba(255,255,255,.96); box-shadow: 0 -2px 10px rgba(0,0,0,.08);
  }
  .sp-bar .btn { padding: 12px 8px; font-size: 15px; }
  .pc-float { display: none; }

  /* 上の写真 */
  .hero { margin-bottom: 18px; }
  .slides { padding: 0 6%; gap: 8px; }
  .slides a { flex-basis: 88%; }
  .slides img { height: auto; aspect-ratio: 747 / 420; }

  .blob-title { margin-bottom: 26px; }
  .blob-title > span { min-width: 250px; min-height: 60px; font-size: 20px; padding: 8px 28px; }
  .blob-long > span { min-width: 0; width: 94%; font-size: 17px; padding: 14px 18px; }
  .sugoi-word { font-size: 22px; }
  .sugoi-word img { height: 15px; }

  /* お知らせ */
  .news { padding: 24px 0 20px; }
  .news-head { font-size: 21px; margin-bottom: 18px; }
  .news-head img { width: 36px; }
  .news-box { width: auto; margin: 0 12px; }
  .news-tabs { gap: 4px; }
  .news-tabs a { height: 38px; font-size: 14px; }
  .news-list li { margin-bottom: 8px; }
  .news-list a { grid-template-columns: auto 1fr; gap: 4px 10px; min-height: 0; padding: 12px; }
  .news-list .news-title { grid-column: 1 / -1; line-height: 1.6; }
  .tag { width: 76px; font-size: 13px; height: 22px; }
  .news-date { font-size: 13px; }
  .news-mascot { position: static; width: 90px; margin: 4px 0 0 auto; }

  /* 年間1200時間 */
  .hours { padding: 8px 0 40px; }
  .hours-banner { margin: 0; }
  .hours-body { font-size: 15px; padding: 44px 10px 0; letter-spacing: .02em; line-height: 2.2; }
  .hours-body p { margin: 0 0 56px; }
  .deco-school { width: 54px; right: 8px; top: 8px; }
  .deco-book { width: 66px; left: 6px; top: 70px; }
  .hours-last { flex-direction: column; gap: 18px; padding: 0; }
  .hours-last p { white-space: normal; }
  .room-text h3 { white-space: normal; }
  .photo-nakama { width: 82%; }
  .time-row, .time-row.rev { flex-direction: column; gap: 18px; margin: 56px 0 0; }
  .time-photo .photo { width: 72vw; max-width: 300px; }
  .deco-f1 { width: 110px; left: auto; right: -40px; bottom: -34px; }
  .deco-f2 { width: 90px; left: -40px; bottom: -30px; }
  .deco-f3 { width: 120px; left: -48px; bottom: -40px; }
  .time-text { font-size: 20px; text-align: center; }
  .time-text b { font-size: 32px; }

  /* ここがスゴイ */
  .sugoi { padding: 30px 0 46px; }
  .features { grid-template-columns: minmax(0, 340px); gap: 40px; }
  .feature-img > img:first-child { width: 100%; height: auto; aspect-ratio: 2 / 1; }
  .deco-dots { width: 60px; right: -10px; top: -32px; }
  .btn-right { text-align: center; margin: 34px 0 0; }
  .btn-right .btn-red { width: auto; gap: 40px; font-size: 17px; }

  /* 教室情報 */
  .room-sec { padding: 10px 0 50px; }
  .room-card { flex-direction: column; gap: 18px; margin: 0 14px; padding: 18px 16px 22px; }
  .room-photo, .room-photo img:first-child, .room-photo a img { width: 100%; height: auto; }
  .room-photo .deco-dots { right: -14px; top: -26px; }
  .room-text h3 b { font-size: 24px; }
  .room-text p { font-size: 15.5px; }
  .room-btn { text-align: center; }
  .room-btn .btn-red { font-size: 15px; padding: 14px 20px; }

  /* ご利用者様の声 */
  .voices { gap: 24px; }
  .voice, .voice.rev { width: auto; margin: 0 14px; padding: 20px 16px 22px; gap: 12px; }
  .voice > img { width: 68px; }
  .voice h3 { font-size: 17px; }
  .voice em { font-size: 15.5px; }
  .more-voice { text-align: center; margin: 30px 0 0; }
  .more-voice a { font-size: 17px; }
  .more-voice img { width: 32px; }

  /* 目指すもの */
  .mission { padding: 40px 16px 20px; }
  .mission-catch { font-size: 21px; margin-bottom: 24px; }
  .mission p { font-size: 16px; line-height: 1.8; margin-bottom: 20px; }

  .cta { padding: 30px 12px 30px; }
  .cta-link { font-size: 15px; }

  /* フッター */
  .ft { padding: 24px 16px 96px; }
  .footer-links { grid-template-columns: repeat(3, 1fr); gap: 14px 10px; }
  .copyright { text-align: center; font-size: 12px; }
}

/* 申し込みのページの見出し */
.sec-title { font-family: var(--maru); font-size: 26px; line-height: 1.5; text-align: center; margin: 0 0 28px; color: var(--navy); }
.sec-title span { display: inline-block; border-bottom: 4px dotted var(--green); padding-bottom: 2px; }
@media (max-width: 760px) { .sec-title { font-size: 21px; margin-bottom: 20px; } }

/* ================= コラムの記事 ================= */
.article { max-width: 680px; margin: 0 auto; padding: 24px 20px 48px; }
.crumb { font-size: 14px; margin: 0 0 18px; }
.crumb a { text-decoration: none; }
.article-meta { display: flex; gap: 10px; align-items: center; font-size: 14px; color: var(--muted); margin-bottom: 6px; }
.article h1 { font-size: 28px; line-height: 1.5; margin: 0 0 20px; }
.article .eyecatch { width: 100%; max-width: 360px; margin: 0 auto 28px; }
.article-body { font-size: 18px; line-height: 2; }
.article-body p { margin: 0 0 1.4em; }
.article-body .quote {
  background: var(--bg-soft); border-left: 4px solid var(--orange);
  padding: 12px 16px; border-radius: 0 8px 8px 0;
}
.article-body .note { font-size: 16px; color: var(--muted); }
.article-end {
  border-top: 2px dotted var(--line); margin-top: 36px; padding-top: 20px; font-size: 16px;
}
.article-end dl { display: grid; grid-template-columns: 6em 1fr; gap: 4px 10px; margin: 10px 0 0; }
.article-end dt { color: var(--muted); }
.article-end dd { margin: 0; }
.article-nav { display: flex; justify-content: space-between; gap: 10px; flex-wrap: wrap; margin-top: 28px; }

@media (max-width: 760px) {
  .article { padding-top: 16px; }
  .article h1 { font-size: 23px; }
  .article .eyecatch { max-width: 200px; margin-bottom: 20px; }
  .article-body { font-size: 17.5px; line-height: 1.95; }
  .article-end dl { grid-template-columns: 1fr; }
  .article-end dt { margin-top: 6px; }
}

/* ---------- 記事の中の「ことば」（Markdown の > で書いた所） ---------- */
.article-body blockquote {
  margin: 0 0 1.4em; background: var(--bg-soft); border-left: 4px solid var(--orange);
  padding: 12px 16px; border-radius: 0 8px 8px 0;
}
.article-body blockquote p { margin: 0; }

/* ================= 申し込みのページ ================= */
.wrap.narrow { max-width: 760px; }
.apply-head { background: var(--bg-soft); padding: 36px 0 28px; }
.apply-kicker { display: inline-block; background: var(--yellow); font-weight: 700; font-size: 14px; border-radius: 999px; padding: 4px 14px; margin: 0 0 10px; }
.apply-head h1 { font-size: 28px; line-height: 1.5; margin: 0 0 10px; }
.apply-note-top { color: var(--accent); font-weight: 700; font-size: 15px; margin: 0 0 12px; }
.apply-head p { margin: 0 0 10px; }
.apply-info { padding: 28px 0 8px; }
.info-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 18px; }
.info-card { border: 2px solid var(--line); border-radius: var(--radius); padding: 18px 20px; background: #fff; }
.info-card h2 { font-size: 19px; margin: 0 0 10px; }
.flow { margin: 0 0 10px; padding: 0; list-style: none; counter-reset: f; }
.flow li { counter-increment: f; position: relative; padding: 6px 0 6px 40px; font-weight: 700; }
.flow li::before {
  content: counter(f); position: absolute; left: 0; top: 6px; width: 28px; height: 28px; border-radius: 50%;
  background: var(--orange); color: #fff; text-align: center; line-height: 28px; font-size: 15px;
}
.info-dl { display: grid; grid-template-columns: 3.5em 1fr; gap: 6px 8px; margin: 0 0 10px; }
.info-dl dt { color: var(--muted); }
.info-dl dd { margin: 0; font-weight: 700; }
.small { font-size: 14.5px; color: var(--muted); line-height: 1.75; margin: 0; }
.voice-mini { margin-top: 18px; background: #f4f9e6; border-radius: var(--radius); padding: 14px 20px; }
.voice-mini-title { font-weight: 700; color: #4c6410; margin: 0 0 4px; }
.voice-mini p { margin: 0; }

.apply-form-sec { padding: 36px 0 56px; }
.req-legend { text-align: center; font-size: 14px; color: var(--muted); margin: -12px 0 18px; }
.req { display: inline-block; background: var(--accent); color: #fff; font-size: 11px; font-weight: 700; border-radius: 4px; padding: 1px 6px; vertical-align: 2px; margin-left: 4px; }
#apply-form fieldset { border: 0; margin: 0 0 22px; padding: 0; }
#apply-form legend { font-size: 18px; font-weight: 800; padding: 0 0 8px; border-bottom: 3px dotted var(--green); width: 100%; margin-bottom: 14px; }
.field { margin-bottom: 18px; }
.field label, .field .label { display: block; font-weight: 700; margin-bottom: 6px; }
.field input[type=text], .field input[type=tel], .field input[type=email], .field input[type=date], .field select, .field textarea {
  width: 100%; font: inherit; font-size: 17px; padding: 12px 14px; border: 2px solid #ddd6c4; border-radius: 10px; background: #fff; color: var(--text);
}
.field input:focus, .field select:focus, .field textarea:focus { outline: none; border-color: var(--orange); box-shadow: 0 0 0 3px rgba(255,190,70,.3); }
.hint { font-size: 14px; color: var(--muted); margin: 6px 0 0; line-height: 1.7; }
.hint.top { margin: 0 0 12px; }
.choices { display: grid; gap: 8px; }
.choices.inline { grid-template-columns: repeat(2, minmax(0, 160px)); }
.choices label {
  display: flex; gap: 10px; align-items: flex-start; font-weight: 400; margin: 0;
  border: 2px solid #ddd6c4; border-radius: 10px; padding: 12px 14px; cursor: pointer; background: #fff;
}
.choices label:has(input:checked) { border-color: var(--orange); background: #fff8e6; }
.choices input { margin-top: 6px; width: 18px; height: 18px; flex: none; accent-color: #e0912c; }
.when-row { display: grid; grid-template-columns: 1.4fr 1fr; gap: 10px; }
.when-msg { font-size: 14px; color: #4c6410; margin: 6px 0 0; min-height: 1em; }
.when-msg.err { color: #b3361b; font-weight: 700; }
.hp { position: absolute; left: -9999px; width: 1px; height: 1px; overflow: hidden; }
.privacy { font-size: 14px; color: var(--muted); text-align: center; }
.submit-row { text-align: center; margin-top: 10px; }
.btn-submit { font-size: 19px; padding: 16px 48px; border: 0; cursor: pointer; font-family: inherit; }
.form-msg { color: #b3361b; font-weight: 700; text-align: center; margin: 12px 0 0; }
.confirm { border: 2px solid var(--orange); border-radius: var(--radius); padding: 20px; background: #fff; }
.confirm h2 { font-size: 20px; margin: 0 0 12px; text-align: center; }
.confirm dl { display: grid; grid-template-columns: 11em 1fr; gap: 0; margin: 0 0 18px; }
.confirm dt, .confirm dd { margin: 0; padding: 10px 8px; border-bottom: 1px solid var(--line); }
.confirm dt { color: var(--muted); font-size: 14.5px; }
.confirm-btns { display: flex; gap: 12px; justify-content: center; flex-wrap: wrap; }
.confirm-btns .btn { border: 0; cursor: pointer; font-family: inherit; font-size: 17px; padding: 14px 26px; }
.confirm-btns .btn-outline { border: 2px solid #ddd; }
.done { text-align: center; border: 2px solid var(--green); border-radius: var(--radius); padding: 28px 20px; background: #f8fbef; }
.done h2 { margin: 0 0 12px; }

@media (max-width: 760px) {
  .apply-head h1 { font-size: 23px; }
  .info-grid { grid-template-columns: 1fr; }
  .when-row { grid-template-columns: 1fr; }
  .confirm dl { grid-template-columns: 1fr; }
  .confirm dt { border-bottom: 0; padding-bottom: 0; }
  .btn-submit { width: 100%; }
  body:has(.apply) .site-footer { padding-bottom: 36px; }
}
