@charset "UTF-8";
/* クッキングスクールひかり舎 — 再構築版
   配色・フォントは現行サイトの実測値（本文 rgb(42,42,42) 20px / 見出し 26px 700 /
   赤系アクセント rgb(226,28,33)・rgb(158,59,27) / 背景 白＋淡赤・淡黄の帯）を基調に、
   フォントだけ Windows依存（MS ゴシック起点）から Noto Sans JP へ統一した。 */

:root {
  --ink:        #2A2A2A;   /* 実測 rgb(42,42,42) */
  --ink-soft:   #4A4A4A;
  --accent:     #E21C21;   /* 実測 rgb(226,28,33) */
  --accent-dk:  #9E3B1B;   /* 実測 rgb(158,59,27) */
  --brand:      #C8500F;
  --line:       #E4DCD2;
  --paper:      #FFFFFF;
  --tint-red:   #FDECEC;
  --tint-yellow:#FFF7DE;
  --tint-warm:  #FBF6EF;

  --font-jp: "Noto Sans JP", "Hiragino Kaku Gothic ProN", "ヒラギノ角ゴ ProN W3",
             "Yu Gothic Medium", YuGothic, Meiryo, sans-serif;
  --wrap: 1080px;
  --radius: 8px;
  --shadow: 0 2px 12px rgba(0,0,0,.08);
}

*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; }
body {
  margin: 0; font-family: var(--font-jp);
  font-size: 1.125rem;           /* 実測の本文20px に近い読みやすさ */
  line-height: 1.9; color: var(--ink); background: var(--paper);
  font-feature-settings: "palt" 1;
}
img, video { max-width: 100%; height: auto; display: block; }
a { color: var(--accent-dk); text-underline-offset: .18em; }
a:hover { color: var(--accent); }
a:focus-visible, button:focus-visible, input:focus-visible, textarea:focus-visible,
select:focus-visible { outline: 3px solid var(--accent-dk); outline-offset: 2px; }
p { margin: 0 0 1.1em; }
h1,h2,h3 { line-height: 1.5; margin: 0 0 .6em; }

.skip-link { position: absolute; left: -9999px; top: 0; z-index: 999;
  background: var(--brand); color: #fff; padding: .8em 1.4em; font-weight: 700; }
.skip-link:focus { left: 0; }

/* ---------- ヘッダー ---------- */
.site-header { background: #fff; border-bottom: 3px solid var(--brand); position: sticky; top: 0; z-index: 100; }
.header-inner { max-width: var(--wrap); margin: 0 auto; padding: .6rem 1.1rem;
  display: flex; align-items: center; justify-content: space-between; gap: 1rem; }
.brand img { width: 188px; height: auto; }
.brand { display: inline-block; }
.btn-apply { display: inline-block; background: var(--accent); color: #fff; font-weight: 700;
  text-decoration: none; padding: .55em 1.1em; border-radius: 999px; white-space: nowrap;
  font-size: 1rem; border: 2px solid var(--accent); }
.btn-apply:hover { background: #B71519; color: #fff; }
.nav-toggle { display: none; background: var(--brand); color: #fff; border: 0; font: inherit;
  font-weight: 700; padding: .55em 1em; border-radius: var(--radius); cursor: pointer; }

.site-nav { background: var(--brand); }
.site-nav ul { max-width: var(--wrap); margin: 0 auto; padding: 0; list-style: none;
  display: flex; flex-wrap: wrap; }
.site-nav a { display: block; color: #fff; text-decoration: none; padding: .85em 1.15em;
  font-size: 1.0625rem; font-weight: 500; border-right: 1px solid rgba(255,255,255,.25); }
.site-nav li:first-child a { border-left: 1px solid rgba(255,255,255,.25); }
.site-nav a:hover { background: #A8420C; }
.site-nav a[aria-current="page"] { background: #8E370A; font-weight: 700; }

/* ---------- ページ見出し ---------- */
.page-head { background: var(--tint-warm); border-bottom: 1px solid var(--line);
  padding: 2.2rem 1.1rem; text-align: center; }
.page-head h1 { font-size: clamp(1.5rem, 4vw, 2.2rem); color: var(--brand); margin: 0; }

/* ---------- 本文 ---------- */
main { display: block; }
.wrap { max-width: var(--wrap); margin: 0 auto; padding: 0 1.1rem; }
.section { padding: 2.4rem 0 3rem; }

/* 現行の「同じ高さに横並び」を再現する行 */
.row { display: flex; flex-wrap: wrap; gap: 1.1rem; align-items: flex-start;
  justify-content: center; margin: 0 0 1.5rem; }
.row--single { display: block; }
.row .cell { flex: 1 1 300px; min-width: 0; }
.row--single .cell { flex: none; }
.cell img { margin: 0 auto; border-radius: 4px; }

.t { margin: 0 0 .7em; }
.t--h1 { font-size: clamp(1.45rem, 3.6vw, 2rem); font-weight: 700; color: var(--brand); text-align: center; }
.t--h2 { font-size: clamp(1.25rem, 3vw, 1.6rem); font-weight: 700; color: var(--accent-dk); }
.t--h3 { font-size: 1.2rem; font-weight: 700; color: var(--ink); }
.t--em { color: var(--accent); font-weight: 700; }
.t--small { font-size: .95rem; color: var(--ink-soft); }

/* ---------- スライダー（POWR の置き換え） ---------- */
.slider { position: relative; max-width: 1000px; margin: 2rem auto; }
.slider-track { position: relative; overflow: hidden; border: 1px solid var(--line);
  border-radius: var(--radius); background: #fff; box-shadow: var(--shadow); }
.slider-track img { width: 100%; display: none; }
.slider-track img.is-active { display: block; }
.slider-nav { display: flex; align-items: center; justify-content: center; gap: .8rem;
  margin-top: .8rem; flex-wrap: wrap; }
.slider-btn { background: var(--brand); color: #fff; border: 0; font: inherit; font-weight: 700;
  padding: .5em 1.1em; border-radius: 999px; cursor: pointer; }
.slider-btn:hover { background: #8E370A; }
.slider-dots { display: flex; gap: .4rem; }
.slider-dots button { width: 12px; height: 12px; border-radius: 50%; border: 2px solid var(--brand);
  background: #fff; padding: 0; cursor: pointer; }
.slider-dots button[aria-current="true"] { background: var(--brand); }
.slider-count { font-size: .95rem; color: var(--ink-soft); min-width: 4.5em; text-align: center; }

/* ---------- 動画 ---------- */
.video-block { max-width: 900px; margin: 2rem auto; }
.video-block video { width: 100%; background: #000; border-radius: var(--radius); }
.video-block .note { font-size: .95rem; color: var(--ink-soft); margin-top: .5em; }

/* ---------- フォーム ---------- */
.form { max-width: 620px; margin: 0 auto; }
.field { margin-bottom: 1.1rem; }
.field label { display: block; font-weight: 700; margin-bottom: .35em; font-size: 1rem; }
.req { color: var(--accent); margin-left: .3em; font-size: .9rem; }
.opt { color: var(--ink-soft); margin-left: .3em; font-size: .9rem; font-weight: 500; }
.field input, .field textarea, .field select {
  width: 100%; font: inherit; font-size: 1.0625rem; padding: .7em .8em;
  border: 2px solid #A99C8C; border-radius: var(--radius); background: #fff; color: var(--ink); }
.field textarea { min-height: 9em; resize: vertical; }
.hp-field { position: absolute !important; left: -9999px !important; width: 1px; height: 1px; overflow: hidden; }
.btn { display: inline-block; background: var(--accent); color: #fff; border: 2px solid var(--accent);
  font: inherit; font-weight: 700; font-size: 1.0625rem; padding: .75em 2.2em;
  border-radius: 999px; cursor: pointer; text-decoration: none; }
.btn:hover { background: #B71519; color: #fff; }
.btn--ghost { background: #fff; color: var(--brand); border-color: var(--brand); }
.form-status { margin-top: 1rem; padding: .9rem 1.1rem; border-radius: var(--radius); font-weight: 700; display: none; }
.form-status.is-ok { display: block; background: #E8F4E8; border: 2px solid #1E6B2E; color: #14501F; }
.form-status.is-err { display: block; background: #FBEAEA; border: 2px solid #8C1B1B; color: #7A1616; }

/* ---------- フッター ---------- */
.site-footer { background: var(--tint-warm); border-top: 3px solid var(--brand); margin-top: 2rem; padding: 2.6rem 1.1rem 1.6rem; }
.footer-inner { max-width: var(--wrap); margin: 0 auto; display: grid; gap: 2rem;
  grid-template-columns: repeat(auto-fit, minmax(260px, 1fr)); }
.site-footer h2 { font-size: 1.1rem; color: var(--brand); margin: 0 0 .7em; }
.site-footer ul { list-style: none; padding: 0; margin: 0; }
.site-footer li { margin-bottom: .45em; font-size: 1rem; }
.footer-copy { max-width: var(--wrap); margin: 2rem auto 0; padding-top: 1.2rem;
  border-top: 1px solid var(--line); text-align: center; font-size: .95rem; color: var(--ink-soft); }

.shop-link { display: inline-block; background: var(--brand); color: #fff; font-weight: 700;
  text-decoration: none; padding: .6em 1.3em; border-radius: 999px; }
.shop-link:hover { background: #8E370A; color: #fff; }

/* ---------- 補助 ---------- */
.breadcrumb { font-size: .95rem; color: var(--ink-soft); padding: .9rem 0 0; }
.breadcrumb ol { list-style: none; display: flex; flex-wrap: wrap; gap: .4em; padding: 0; margin: 0; }
.breadcrumb li:not(:last-child)::after { content: "›"; margin-left: .5em; }
.notice { background: var(--tint-yellow); border: 1px solid #E8D9A0; border-radius: var(--radius);
  padding: 1rem 1.2rem; margin: 1.5rem 0; font-size: 1rem; }
.center { text-align: center; }
.btn-row { display: flex; flex-wrap: wrap; gap: .9rem; justify-content: center; margin: 1.8rem 0; }
.card-list { display: grid; gap: 1rem; grid-template-columns: repeat(auto-fill, minmax(230px, 1fr)); list-style: none; padding: 0; }
.card-list a { display: block; background: #fff; border: 2px solid var(--brand); color: var(--brand);
  border-radius: var(--radius); padding: .9em 1em; text-align: center; font-weight: 700; text-decoration: none; }
.card-list a:hover { background: var(--brand); color: #fff; }

.error-page { text-align: center; padding: 5rem 1.1rem; }
.error-page h1 { font-size: clamp(2.4rem, 7vw, 4rem); color: var(--brand); }

@media (max-width: 860px) {
  .nav-toggle { display: inline-block; }
  .site-nav { display: none; }
  .site-nav.is-open { display: block; }
  .site-nav ul { flex-direction: column; }
  .site-nav a { border-right: 0; border-bottom: 1px solid rgba(255,255,255,.25); }
  .site-nav li:first-child a { border-left: 0; }
  .row { display: block; }
  .row .cell { margin-bottom: 1.1rem; }
}
@media (max-width: 560px) {
  .brand img { width: 150px; }
  .header-inner { padding: .5rem .7rem; gap: .5rem; }
  .btn-apply { font-size: .85rem; padding: .5em .8em; }
  .section { padding: 1.8rem 0 2.2rem; }
}
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  * { animation-duration: .001ms !important; transition-duration: .001ms !important; }
}
