/* こはぜ はり・きゅう院 — トークン・リセット・共通の部品
   文字の大きさ・余白・角丸は参考の寸法（PC 16px／SP 14px 基準の rem）にそろえる */

@font-face {
  font-family: "Shippori Mincho";
  src: url("../assets/fonts/shippori-600.woff2") format("woff2");
  font-weight: 600;
  font-display: swap;
}
@font-face {
  font-family: "Zen Kaku Gothic New";
  src: url("../assets/fonts/zenkaku-500.woff2") format("woff2");
  font-weight: 500;
  font-display: swap;
}
@font-face {
  font-family: "Zen Kaku Gothic New";
  src: url("../assets/fonts/zenkaku-700.woff2") format("woff2");
  font-weight: 700;
  font-display: swap;
}
@font-face {
  font-family: "Cormorant Garamond";
  src: url("../assets/fonts/cormorant-600.woff2") format("woff2");
  font-weight: 600;
  font-display: swap;
}

:root {
  --ink: #2a2a26;        /* 本文（生成りの上 13.0、緑の面の上 10.0） */
  --deep: #35601f;       /* ロゴ・線のボタン・電話の印（白の上 7.0） */
  --hl: #4f7436;         /* 本文の強調（生成りの上 4.9） */
  --label: #5f7f41;      /* 英字の小見出し（生成りの上 4.1・飾り） */
  --mid: #8faf6c;        /* ● の印・針の飾り・つまみ */
  --green: #e3ebd6;      /* 淡いよもぎ色の面 */
  --green-2: #dde7c9;    /* 格子の明るい色 */
  --green-3: #c3d4a2;    /* 格子の濃い色 */
  --cream: #f5f3ea;      /* 生成りの面 */
  --white: #ffffff;
  --beni: #c24a5a;       /* 予約のボタン（白文字 4.7） */
  --beni-h: #a83d4c;
  --pink: #efa0a8;       /* 質問の開閉の丸・飾り */
  --pink-soft: #f6d3d7;
  --line: #2d2d2d;       /* 絵と吹き出しの線 */
  --rule: #ddd;
  --shadow: 0 0 1rem rgba(53, 96, 31, 0.18);

  --f-jp: "Zen Kaku Gothic New", "Hiragino Sans", sans-serif;
  --f-min: "Shippori Mincho", "Hiragino Mincho ProN", "Yu Mincho", serif;
  --f-en: "Cormorant Garamond", "Shippori Mincho", serif;

  --hd-h: 152px;
  --hd-sm: 80px;
}

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

html {
  overflow-x: hidden;
  font-size: 16px;
  scroll-behavior: smooth;
  scroll-padding-top: 96px;
  -webkit-text-size-adjust: 100%;
}
@media (max-width: 767px) {
  html { font-size: 14px; scroll-padding-top: 72px; }
}

body {
  margin: 0;
  font-family: var(--f-jp);
  font-weight: 500;
  font-size: 1rem;
  line-height: 1.75;
  letter-spacing: 0.02em;
  font-feature-settings: "palt";
  color: var(--ink);
  background: var(--white);
  overflow-x: clip;
}

h1, h2, h3, p, ul, ol, dl, dd, figure, table { margin: 0; }
ul, ol { padding: 0; list-style: none; }
img, svg { display: block; max-width: 100%; }
img { height: auto; }
a { color: inherit; text-decoration: none; }
button { font: inherit; color: inherit; background: none; border: 0; padding: 0; cursor: pointer; }
b { font-weight: 700; color: var(--hl); }
table { border-collapse: collapse; }

.sprite { position: absolute; width: 0; height: 0; overflow: hidden; }

.sr-only {
  position: absolute;
  width: 1px;
  height: 1px;
  margin: -1px;
  padding: 0;
  overflow: hidden;
  clip-path: inset(50%);
  white-space: nowrap;
  border: 0;
}

/* 改行（スマホだけ・PCだけ・幅を限る） */
.sp-br { display: none; }
.tb-br, .md-br { display: none; }
@media (max-width: 767px) {
  .sp-br { display: inline; }
  .pc-br { display: none; }
  .pc-only { display: none; }
}
@media (min-width: 768px) and (max-width: 1023px) { .tb-br { display: inline; } }
.dt-br { display: none; }
@media (min-width: 1024px) { .dt-br { display: inline; } }
@media (min-width: 1024px) and (max-width: 1279px) { .md-br { display: inline; } }

/* 線の絵の印（お灸・鍼）。色は使う場所で変数を変える */
.ic-fill-w, .ic-fill-l, .ic-fill-n, .ic-fill-y, .ic-fill-g {
  stroke: var(--ic-line, var(--line));
  stroke-width: var(--ic-sw, 2);
  stroke-linecap: round;
  stroke-linejoin: round;
}
.ic-fill-w { fill: var(--ic-w, var(--white)); }
.ic-fill-l { fill: var(--ic-l, var(--green)); }
.ic-fill-n { fill: none; }
.ic-fill-y { fill: var(--cream); }
.ic-fill-g { fill: var(--green); }
.ic-smoke { fill: none; stroke: var(--ic-line, var(--line)); stroke-width: 2; stroke-linecap: round; opacity: 0.7; }
.ic-spark { fill: none; stroke: var(--pink); stroke-width: 3; stroke-linecap: round; }

/* 段の見出し（和文＋小さな英字。中央の見出しは上にお灸と鍼の印） */
.ttl {
  position: relative;
  font-size: 2.5rem;
  font-weight: 700;
  line-height: 1.4;
  letter-spacing: 0.08em;
  margin-bottom: 1.5rem;
}
.ttl__jp { display: block; font-family: var(--f-min); font-weight: 600; }
.ttl__en {
  display: block;
  font-family: var(--f-en);
  font-size: 0.8125rem;
  font-weight: 500;
  line-height: 2.85;
  letter-spacing: 0.1em;
  font-size: 0.9375rem;
  font-weight: 600;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--label);
}
.ttl:not(.ttl--ctr)::after {
  content: "";
  display: block;
  width: 1.5rem;
  height: 2px;
  margin-top: 1rem;
  background: var(--rule);
}
.ttl--ctr { text-align: center; margin-bottom: 2.5rem; }
@media (max-width: 767px) {
  .ttl { font-size: 2rem; }
  .ttl--long { font-size: 1.7143rem; letter-spacing: 0.06em; }
}

/* 線のボタン（丸い帯・濃い緑の線） */
.btn {
  position: relative;
  display: inline-block;
  min-width: min(264px, 100%);
  padding: 1em 2.6667em;
  border: 2px solid var(--deep);
  border-radius: 9999px;
  font-size: 0.9375rem;
  font-weight: 700;
  line-height: 1.75;
  letter-spacing: 0.1em;
  color: var(--deep);
  text-align: center;
  transition: background-color 0.4s ease-out;
}
.btn:hover { background: var(--green); }
.btn:focus-visible { outline: 3px solid var(--deep); outline-offset: 3px; }
@media (max-width: 767px) {
  .btn { display: block; width: 100%; }
}

/* 予約のボタン（紅の面に白文字） */
.btn-cta {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border-radius: 0.5rem;
  background: var(--beni);
  color: var(--white);
  font-weight: 700;
  letter-spacing: 0.08em;
  line-height: 1.75;
  transition: background-color 0.4s ease-out;
}
.btn-cta:hover { background: var(--beni-h); }
.btn-cta:focus-visible { outline: 3px solid var(--deep); outline-offset: 3px; }
.btn-cta--lg {
  min-width: min(316px, 100%);
  padding: 0.6em 1.6em;
  font-size: 1.375rem;
  border-radius: 9999px;
}
@media (max-width: 767px) {
  .btn-cta--lg { display: flex; width: 100%; font-size: 1.25rem; }
}

/* 電話番号（受話器の印＋英字の数字） */
.tel-num {
  display: inline-flex;
  align-items: center;
  gap: 0.35em;
  font-family: var(--f-en);
  font-size: 1.75rem;
  font-weight: 600;
  line-height: 1.2;
  letter-spacing: 0.02em;
  white-space: nowrap;
  color: var(--ink);
}
.tel-num svg { width: 0.8em; height: 0.8em; fill: var(--mid); flex: none; }
.tel-num--lg { font-size: 2.5rem; }
.tel-num--xl { font-size: 2.625rem; }
.tel-num--xl svg { fill: var(--deep); }
@media (max-width: 767px) {
  .tel-num--lg { font-size: 1.75rem; }
  .tel-num--xl { font-size: 2.625rem; }
}

/* 吹き出し（白い丸に黒い線、角の短い線） */

/* 受付時間の表 */
.hours { width: 100%; font-size: 0.9375rem; }
.hours th, .hours td {
  position: relative;
  padding: 0.40625rem 0.5rem;
  text-align: center;
  border-bottom: 1px solid rgba(53, 96, 31, 0.14);
}
.hours tr:last-child td { border-bottom: 0; }
.hours th { font-size: 0.875rem; font-weight: 700; }
.hours td { font-size: 1rem; }
.hours th:first-child, .hours td:first-child { padding-left: 1.125rem; padding-right: 1.125rem; text-align: left; white-space: nowrap; }
.hours td:first-child { font-size: 1rem; }
.hours th:last-child, .hours td:last-child { padding-right: 1.125rem; }
.hours .on { color: var(--mid); }

/* 段（区切りはまっすぐ。面の色の切り替えだけ） */
.sec { position: relative; z-index: 0; padding: 124px 0; overflow-x: clip; }
.sec--cream { background: var(--cream); }
.sec--green { background: var(--green); }
.sec--white { background: var(--white); }
.sec--check { background: #e3ebd6; }

@media (max-width: 767px) {
  .sec { padding: 62px 0; }
}
}

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
}

/* 見出し・大きな文は明朝、数字と英字は Cormorant Garamond（ふつうの高さの数字） */
.about__lead, .menu__name, .policy__ttl, .cta__ttl, .message__ttl, .profile__name, .contact__ttl,
.hero__lead, .logo__name, .footer__name, .schedule__ttl, .bnr__ttl, .bnr__v, .footer__txt {
  font-family: var(--f-min);
  font-weight: 600;
}
.tel-num, .menu__price, .news__item time, .header__num, .footer__num, .policy__en, .hero__copy, .footer__copy, .faq__q::before, .bnr__badge, .gnav__tel {
  font-variant-numeric: lining-nums;
}
