/* =========================================================
   Petite Neige パン&焼き菓子教室
   50代以上の方にも読みやすい:大きめ文字・高コントラスト・
   迷わないシンプル導線
   ========================================================= */
:root {
  --brown-dark: #5c4633;
  --brown: #8a6d4f;
  --beige: #f6efe4;
  --beige-light: #fbf7ef;
  --cream: #fffdf8;
  --accent: #b98b4e;
  --accent-dark: #9a6f35;
  --red: #a5502e;
  --line: #e3d7c3;
}

* { margin: 0; padding: 0; box-sizing: border-box; }

html { scroll-behavior: smooth; }

body {
  font-family: "Zen Maru Gothic", "Hiragino Maru Gothic ProN", "Yu Gothic", sans-serif;
  color: var(--brown-dark);
  background: var(--cream);
  font-size: 18px;            /* 大きめの基本文字サイズ */
  line-height: 1.9;
  letter-spacing: 0.03em;
}

img { max-width: 100%; display: block; }

a { color: var(--accent-dark); }

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

/* ---------- ヘッダー ---------- */
header {
  background: var(--cream);
  border-bottom: 1px solid var(--line);
  position: sticky; top: 0; z-index: 100;
}
.header-inner {
  max-width: 960px; margin: 0 auto; padding: 14px 20px;
  display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between;
}
.logo { text-decoration: none; color: var(--brown-dark); line-height: 1.3; }
.logo .name { font-size: 26px; font-weight: 700; letter-spacing: 0.06em; }
.logo .sub { font-size: 13px; color: var(--brown); }

nav ul { list-style: none; display: flex; flex-wrap: wrap; gap: 4px 22px; }
nav a {
  text-decoration: none; color: var(--brown-dark);
  font-size: 17px; font-weight: 700; padding: 6px 2px;
}
nav a:hover, nav a.current { color: var(--accent-dark); border-bottom: 3px solid var(--accent); }

/* ヘッダーの申込ボタン(常に見える安心感) */
.header-cta {
  display: inline-block; background: var(--accent); color: #fff;
  font-size: 16px; font-weight: 700; text-decoration: none;
  padding: 11px 24px; border-radius: 999px; white-space: nowrap;
  box-shadow: 0 2px 8px rgba(92,70,51,.18); transition: background .2s;
}
.header-cta:hover { background: var(--accent-dark); }

/* ---------- ヒーロー ---------- */
.hero {
  background: linear-gradient(rgba(92,70,51,.42), rgba(92,70,51,.38)),
              url("images/dainagon.jpg");
  background-size: cover; background-position: center 55%;
  color: #fff; text-align: center; padding: 110px 20px;
}
.hero h1 {
  font-size: 40px; font-weight: 700; letter-spacing: 0.08em;
  text-shadow: 0 2px 10px rgba(0,0,0,.45); margin-bottom: 18px;
}
.hero p { font-size: 20px; text-shadow: 0 1px 8px rgba(0,0,0,.5); }

/* ---------- ボタン ---------- */
.btn {
  display: inline-block; background: var(--accent); color: #fff;
  font-size: 20px; font-weight: 700; text-decoration: none;
  padding: 18px 44px; border-radius: 999px; margin-top: 28px;
  box-shadow: 0 4px 12px rgba(0,0,0,.18); transition: background .2s;
}
.btn:hover { background: var(--accent-dark); }
.btn.small { font-size: 17px; padding: 12px 30px; margin-top: 16px; }

/* ---------- セクション ---------- */
section { padding: 64px 0; }
section.alt { background: var(--beige-light); }

h2 {
  text-align: center; font-size: 30px; letter-spacing: 0.1em;
  margin-bottom: 12px; color: var(--brown-dark);
}
.h2-sub { text-align: center; color: var(--brown); font-size: 15px; margin-bottom: 40px; }

h3 { font-size: 22px; margin-bottom: 12px; color: var(--accent-dark); }

/* ---------- カード ---------- */
.cards { display: grid; grid-template-columns: repeat(auto-fit, minmax(260px, 1fr)); gap: 24px; }
.card {
  background: #fff; border: 1px solid var(--line); border-radius: 14px;
  padding: 28px; box-shadow: 0 2px 8px rgba(92,70,51,.06);
}
.card .num {
  display: inline-block; background: var(--beige); color: var(--accent-dark);
  font-weight: 700; border-radius: 50%; width: 44px; height: 44px;
  text-align: center; line-height: 44px; font-size: 20px; margin-bottom: 14px;
}

/* ---------- 写真プレースホルダー ----------
   実際の写真(チラシと同じもの)に差し替えてください */
.photo {
  background: repeating-linear-gradient(45deg, #efe3cd 0 18px, #e7d8bc 18px 36px);
  border-radius: 12px; color: var(--brown);
  display: flex; align-items: center; justify-content: center;
  font-size: 15px; min-height: 200px; text-align: center; padding: 10px;
}
.photo-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(210px, 1fr)); gap: 18px; }

/* 実写真タイル(キャプション付き) */
.photo-tile {
  position: relative; border-radius: 12px; overflow: hidden;
  aspect-ratio: 1 / 1; margin: 0;
}
.photo-tile img { width: 100%; height: 100%; object-fit: cover; }
.photo-tile figcaption {
  position: absolute; left: 0; right: 0; bottom: 0;
  background: linear-gradient(transparent, rgba(92,70,51,.78));
  color: #fff; font-size: 15px; font-weight: 700;
  padding: 26px 12px 12px; text-align: left;
}

/* ---------- 料金表 ---------- */
table {
  width: 100%; border-collapse: collapse; background: #fff;
  border: 1px solid var(--line); font-size: 18px;
}
th, td { padding: 16px 18px; border: 1px solid var(--line); text-align: left; }
th { background: var(--beige); font-size: 17px; white-space: nowrap; }
.price { font-size: 22px; font-weight: 700; color: var(--red); white-space: nowrap; }

.note {
  background: var(--beige); border-radius: 12px; padding: 20px 24px;
  font-size: 16px; margin-top: 24px;
}

/* ---------- 体験レッスン(目立たせる) ---------- */
.trial-box {
  background: #fff; border: 3px solid var(--accent); border-radius: 18px;
  padding: 40px 32px; text-align: center; max-width: 640px; margin: 0 auto;
}
.trial-box .price-big { font-size: 44px; font-weight: 700; color: var(--red); }
.trial-box ul { list-style: none; margin-top: 14px; font-size: 17px; }
.trial-box li::before { content: "✔ "; color: var(--accent-dark); font-weight: 700; }

/* ---------- お客様の声 ---------- */
.voices { display: grid; grid-template-columns: repeat(auto-fit, minmax(260px, 1fr)); gap: 24px; }
.voice {
  background: #fff; border: 1px solid var(--line); border-radius: 14px;
  padding: 32px 28px 28px; font-size: 17px; line-height: 1.9;
  color: var(--brown-dark); position: relative;
  box-shadow: 0 2px 8px rgba(92,70,51,.06);
}
.voice::before {
  content: "\201C"; position: absolute; top: 6px; left: 18px;
  font-size: 52px; line-height: 1; color: var(--accent); opacity: .45;
}

/* ---------- 講師 ---------- */
.teacher { display: flex; flex-wrap: wrap; gap: 32px; align-items: flex-start; }
.teacher .photo { width: 260px; min-height: 260px; flex-shrink: 0; }
.teacher-photo { width: 260px; height: 300px; object-fit: cover; object-position: center top; flex-shrink: 0; border-radius: 0; border: none; box-shadow: none; background: none; }
.teacher .text { flex: 1; min-width: 260px; }

/* ---------- フォーム ---------- */
form { max-width: 640px; margin: 0 auto; }
label { display: block; font-weight: 700; margin: 26px 0 8px; font-size: 18px; }
label .req { color: var(--red); font-size: 14px; margin-left: 8px; }
input, select, textarea {
  width: 100%; padding: 14px; font-size: 18px;
  border: 2px solid var(--line); border-radius: 10px; background: #fff;
  font-family: inherit;
}
input:focus, select:focus, textarea:focus { outline: none; border-color: var(--accent); }
.form-btn {
  width: 100%; background: var(--accent); color: #fff; border: none;
  font-size: 21px; font-weight: 700; padding: 18px; border-radius: 999px;
  margin-top: 34px; cursor: pointer; font-family: inherit;
}
.form-btn:hover { background: var(--accent-dark); }

/* ---------- レッスンページ 写真ヒーロー ---------- */
.lesson-hero {
  background: linear-gradient(rgba(92,70,51,.48), rgba(92,70,51,.42)),
              url("images/lesson.jpg");
  background-size: cover; background-position: center 40%;
  color: #fff; text-align: center;
  padding: 84px 20px;
}
.lesson-hero-inner { max-width: 760px; margin: 0 auto; }
.lesson-hero h1 {
  font-size: 34px; font-weight: 700; letter-spacing: 0.08em;
  text-shadow: 0 2px 10px rgba(0,0,0,.45); margin-bottom: 16px;
}
.lesson-hero p {
  font-size: 18px; line-height: 1.9;
  text-shadow: 0 1px 8px rgba(0,0,0,.5);
}
@media (max-width: 640px) {
  .lesson-hero { padding: 60px 18px; }
  .lesson-hero h1 { font-size: 26px; }
  .lesson-hero p { font-size: 16px; }
}

/* ---------- 地図埋め込み ---------- */
.map-embed {
  border-radius: 12px; overflow: hidden;
  border: 1px solid var(--line); line-height: 0;
}
.map-embed iframe { display: block; }

/* ---------- Instagram埋め込み欄 ---------- */
.ig-embed { max-width: 720px; margin: 0 auto; }
.ig-embed iframe { width: 100% !important; border: none; }

/* 差し替え前のサンプル表示(本物のコードを貼ると消えます) */
.ig-placeholder {
  display: grid; grid-template-columns: repeat(3, 1fr); gap: 6px;
  background: #fff; border: 1px solid var(--line); border-radius: 12px;
  padding: 6px; position: relative;
}
.ig-ph-cell {
  background: repeating-linear-gradient(45deg, #efe3cd 0 16px, #e7d8bc 16px 32px);
  aspect-ratio: 1 / 1; border-radius: 6px;
  display: flex; align-items: center; justify-content: center;
  color: var(--brown); font-size: 14px;
}
.ig-ph-note {
  position: absolute; inset: 0; margin: auto; height: fit-content;
  background: rgba(255,253,248,.92); border-radius: 10px;
  padding: 18px 24px; max-width: 80%; text-align: center;
  font-size: 15px; color: var(--brown-dark); line-height: 1.7;
  box-shadow: 0 2px 10px rgba(92,70,51,.12);
}

/* ---------- 固定CTA(スマホで常に見える申込ボタン) ---------- */
.fixed-cta {
  position: fixed; right: 16px; bottom: 16px; z-index: 200;
  background: var(--red); color: #fff; text-decoration: none;
  font-size: 17px; font-weight: 700; padding: 14px 22px;
  border-radius: 999px; box-shadow: 0 4px 14px rgba(0,0,0,.3);
}

/* ---------- フッター ---------- */
footer {
  background: var(--brown-dark); color: #f3ead9;
  padding: 48px 20px 80px; text-align: center; font-size: 16px; line-height: 2.1;
}
footer a { color: #ffd9a0; }
footer .foot-name { font-size: 22px; font-weight: 700; margin-bottom: 10px; }

/* ---------- スマホ ---------- */
@media (max-width: 640px) {
  .hero h1 { font-size: 28px; }
  .hero p { font-size: 17px; }
  h2 { font-size: 24px; }
  .header-inner { justify-content: center; text-align: center; gap: 8px; }
  nav ul { justify-content: center; gap: 2px 16px; }
  nav a { font-size: 15px; }
  .header-cta { display: none; }
}
