:root {
  --bg: #FAFAF7;
  --ink: #2F3A32;
  --orange: #D9692E;
  --green: #5E8C4A;
  --mint: #EEF3EC;
  --btn: #B85522; /* ボタンの塗り：白文字との明暗差 4.82:1 */
  --green-ink: #4E7A3C;
}
* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  margin: 0;
  background: var(--bg);
  color: var(--ink);
  font-family: "Hiragino Sans", "Hiragino Kaku Gothic ProN", "Noto Sans JP", "Yu Gothic", sans-serif;
  font-size: 16px;
  line-height: 1.8;
  word-break: keep-all;
  overflow-wrap: anywhere;
}
main { max-width: 560px; margin: 0 auto; background: var(--bg); }
@media (min-width: 768px) {
  body { background: #EEF1EA; }
  main { max-width: min(560px, calc((100vh - 16px) / 1.75)); min-width: 420px; box-shadow: 0 0 40px rgba(47, 58, 50, .08); }
}
.part { position: relative; margin: 0; }
.part img { display: block; width: 100%; height: auto; }
.frame { position: relative; }
.hit {
  position: absolute; display: block; border-radius: 999px;
  color: transparent; font-size: 1px; overflow: hidden; white-space: nowrap;
}
.hit:focus-visible { outline: 3px solid var(--ink); outline-offset: 3px; }
/* 画像のボタンに押した時・乗せた時の反応 */
.hit { transition: background-color .15s ease; }
.hit:hover { background: rgba(47, 58, 50, .08); }
.hit:active { background: rgba(47, 58, 50, .16); }
.sr-only {
  position: absolute; width: 1px; height: 1px; padding: 0; margin: -1px;
  overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; border: 0;
}
.foot { max-width: 560px; margin: 0 auto; padding: 24px 6% 120px; text-align: center; font-size: 14px; }
.foot p { margin: 0; }
.foot .small { font-size: 13px; color: #5a635c; }
.sticky {
  position: fixed; left: 50%; bottom: 16px; transform: translate(-50%, 140%);
  width: min(92vw, 480px); min-height: 52px; display: flex; align-items: center; justify-content: center; gap: 8px;
  background: var(--btn); color: #fff; text-decoration: none; border-radius: 999px;
  font-size: 17px; box-shadow: 0 6px 18px rgba(185, 85, 34, .35);
  transition: transform .35s ease; z-index: 10;
}
.sticky.show { transform: translate(-50%, 0); }
.sticky:focus-visible { outline: 3px solid var(--ink); outline-offset: 3px; }
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  .sticky { transition: none; }
}
@media (min-width: 768px) {
  .foot { max-width: min(560px, calc((100vh - 16px) / 1.75)); min-width: 420px; }
}

/* FV の注記（画像から HTML へ） */
.fv-note { margin: 0; padding: 4px 6% 18px; text-align: center; font-size: 12px; line-height: 1.7; color: #4a544c; }

/* お申し込みの前に */
.precheck { margin: 8px 4% 32px; padding: 18px 18px 14px; border: 1px solid #cfd5cc; border-radius: 12px; background: #fff; }
.precheck h2 { margin: 0 0 6px; font-family: "Hiragino Mincho ProN", "Yu Mincho", serif; font-weight: 400; font-size: 20px; color: var(--ink); }
.precheck dl { margin: 0; }
.precheck dl div { display: flex; gap: 12px; padding: 10px 0; border-top: 1px solid #e3e7e0; font-size: 14px; line-height: 1.7; }
.precheck dt { flex: 0 0 6.5em; color: var(--green-ink); }
.precheck dd { margin: 0; flex: 1; }

/* コース表（画像から HTML へ） */
.ct-wrap { padding: 4px 6% 28px; }
.ct { width: 100%; border-collapse: collapse; font-size: 14px; line-height: 1.5; word-break: keep-all; }
.ct th, .ct td { border-bottom: 1px solid #cfd5cc; padding: 10px 4px; text-align: center; font-weight: 400; }
.ct tbody th { color: var(--green-ink); text-align: left; font-size: 13px; width: 32%; padding-left: 0; white-space: nowrap; }
.ct thead th { font-family: "Hiragino Mincho ProN", "Yu Mincho", serif; font-size: 18px; padding: 18px 2px 10px; position: relative; white-space: nowrap; }
.ct thead small { font-family: "Hiragino Sans", "Noto Sans JP", sans-serif; font-size: 12px; }
.ct .yen { font-size: 13px; margin-left: 1px; }
.ct .pick { border-left: 1.5px solid var(--orange); border-right: 1.5px solid var(--orange); }
.ct .tag {
  position: absolute; top: -10px; left: 50%; transform: translateX(-50%); white-space: nowrap;
  font-family: "Hiragino Sans", "Noto Sans JP", sans-serif; font-size: 11px; color: var(--btn);
  background: var(--bg); border: 1px solid var(--orange); border-radius: 4px; padding: 0 6px;
}
.ct-btn {
  display: flex; align-items: center; justify-content: center; gap: 8px; min-height: 56px; margin: 22px 0 10px;
  border-radius: 999px; background: var(--btn); color: #fff; text-decoration: none; font-size: 17px;
  box-shadow: 0 8px 20px rgba(185, 85, 34, .28); transition: filter .15s ease;
}
.ct-btn:hover { filter: brightness(.94); }
.ct-btn:active { filter: brightness(.86); }
.ct-btn:focus-visible { outline: 3px solid var(--ink); outline-offset: 3px; }
.ct-note { margin: 0; text-align: center; font-size: 12px; color: #5a635c; }
@media (prefers-reduced-motion: reduce) { .hit, .ct-btn { transition: none; } }
.ct tbody td:not([colspan]) { white-space: nowrap; }
