/* =========================================================
   かなもり歯科クリニック 予約導線LP
   1スクロール完結のシンプルLP
   既存 consultation-lp のデザイントークン継承
   ========================================================= */

/* ---------- Variables ---------- */
:root {
  --c-main:      #997A45;   /* dark gold / bronze */
  --c-main-dark: #7E6438;
  --c-sub-bg:    #E4D4B8;   /* cream beige */
  --c-line:      #C8A27E;   /* light gold */
  --c-text:      #2D2110;   /* dark brown */
  --c-text-mute: #6E5E45;
  --c-bg:        #F7F5F0;   /* off-white base */
  --c-bg-alt:    #FFFFFF;

  /* LINEブランドカラー */
  --c-line-green:      #06C755;
  --c-line-green-dark: #05A648;

  --ff-serif:  'Noto Serif JP', 'Yu Mincho', 'Hiragino Mincho ProN', serif;
  --ff-sans:   'Kosugi Maru', 'Hiragino Sans', 'Yu Gothic', sans-serif;
  --ff-en:     'Cormorant Garamond', 'Noto Serif JP', serif;

  --max:    1120px;
  --narrow: 720px;

  --gap-s: 12px;
  --gap-m: 24px;
  --gap-l: 48px;
  --gap-xl: 80px;

  --radius: 4px;
  --shadow-soft: 0 8px 32px rgba(45, 33, 16, 0.08);
}

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

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

body {
  margin: 0;
  font-family: var(--ff-sans);
  color: var(--c-text);
  background: var(--c-bg);
  line-height: 1.85;
  font-size: 16px;
  -webkit-font-smoothing: antialiased;
  font-feature-settings: "palt";
}

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

a {
  color: var(--c-main);
  text-decoration: none;
  transition: opacity .2s ease, color .2s ease;
}
a:hover { opacity: .8; }

ul, ol { padding: 0; margin: 0; list-style: none; }

/* ---------- Layout ---------- */
.container {
  width: 100%;
  max-width: var(--max);
  margin: 0 auto;
  padding: 0 24px;
}
.container.narrow { max-width: var(--narrow); }
.center { text-align: center; }

.sp-only { display: none; }
@media (max-width: 767px) {
  .sp-only { display: inline; }
}

/* ---------- Section title parts ---------- */
.section-eyebrow {
  font-family: var(--ff-en);
  font-style: italic;
  font-size: 13px;
  letter-spacing: .2em;
  color: var(--c-main);
  margin: 0 0 10px;
  text-align: center;
}

.section-title {
  font-family: var(--ff-serif);
  font-weight: 600;
  font-size: clamp(22px, 4vw, 28px);
  letter-spacing: .04em;
  color: var(--c-text);
  margin: 0 0 28px;
  line-height: 1.55;
}

/* =========================================================
   1. HERO
   ========================================================= */
.hero {
  padding: clamp(48px, 8vw, 80px) 0 clamp(28px, 5vw, 48px);
  background:
    radial-gradient(circle at 90% 10%, rgba(228, 212, 184, .55), transparent 55%),
    linear-gradient(180deg, #FBF8F2 0%, var(--c-bg) 100%);
  text-align: center;
}
.brand-line {
  font-family: var(--ff-serif);
  font-weight: 600;
  font-size: 14px;
  letter-spacing: .14em;
  color: var(--c-main);
  margin: 0 0 18px;
}
.hero-title {
  font-family: var(--ff-serif);
  font-weight: 600;
  font-size: clamp(26px, 5.4vw, 38px);
  line-height: 1.55;
  letter-spacing: .04em;
  color: var(--c-text);
  margin: 0 0 18px;
}
.hero-sub {
  font-family: var(--ff-serif);
  font-weight: 400;
  font-size: clamp(14px, 2.2vw, 16px);
  line-height: 1.95;
  color: var(--c-text-mute);
  margin: 0 0 22px;
}
.hero-badge {
  display: inline-block;
  font-size: 12px;
  letter-spacing: .12em;
  color: var(--c-main);
  border: 1px solid var(--c-line);
  border-radius: 999px;
  padding: 6px 16px;
  margin: 0;
  background: rgba(255, 255, 255, .6);
}

/* =========================================================
   2. LINE SECTION
   ========================================================= */
.line-section {
  padding: clamp(48px, 8vw, 72px) 0 clamp(40px, 7vw, 64px);
  background: var(--c-bg-alt);
}

/* ---- LINE登録ボタン（大きめ・緑） ---- */
.line-btn {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 14px;
  width: 100%;
  max-width: 480px;
  margin: 0 auto 28px;
  padding: 18px 24px;
  background: var(--c-line-green);
  color: #fff;
  border-radius: 8px;
  font-family: var(--ff-sans);
  text-decoration: none;
  box-shadow: 0 4px 12px rgba(6, 199, 85, .25);
  transition: background .2s ease, transform .15s ease, box-shadow .2s ease;
  min-height: 64px;
}
.line-btn:hover {
  background: var(--c-line-green-dark);
  color: #fff;
  opacity: 1;
  transform: translateY(-1px);
  box-shadow: 0 6px 18px rgba(6, 199, 85, .35);
}
.line-btn-icon {
  display: inline-flex;
  flex-shrink: 0;
}
.line-btn-icon svg {
  display: block;
  border-radius: 8px;
  background: #fff;
  padding: 2px;
}
.line-btn-text {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  line-height: 1.3;
}
.line-btn-main {
  font-size: 18px;
  font-weight: 700;
  letter-spacing: .04em;
}
.line-btn-sub {
  font-size: 12px;
  opacity: .9;
  margin-top: 2px;
  letter-spacing: .04em;
}

/* ---- QRコードブロック ---- */
.qr-block {
  text-align: center;
  margin: 0 auto 32px;
  max-width: 320px;
}
.qr-lead {
  font-size: 13px;
  color: var(--c-text-mute);
  margin: 0 0 12px;
  letter-spacing: .04em;
}
.qr-frame {
  display: inline-block;
  width: 180px;
  height: 180px;
  padding: 12px;
  background: #fff;
  border: 1px solid var(--c-line);
  border-radius: var(--radius);
  position: relative;
}
.qr-frame img {
  width: 100%;
  height: 100%;
  object-fit: contain;
  display: block;
}
.qr-fallback {
  display: none;
  width: 100%;
  height: 100%;
  align-items: center;
  justify-content: center;
  flex-direction: column;
  gap: 6px;
  background: var(--c-bg);
  border: 1px dashed var(--c-line);
  color: var(--c-text-mute);
  font-size: 14px;
  border-radius: 2px;
}
.qr-fallback small {
  font-size: 11px;
  opacity: .7;
}

/* スマホでは QR 非表示（タップで完結するため） */
@media (max-width: 767px) {
  .qr-block { display: none; }
}

/* ---- メリット 3点 ---- */
.merits {
  display: grid;
  gap: 12px;
  max-width: 520px;
  margin: 0 auto;
}
.merits li {
  display: flex;
  align-items: flex-start;
  gap: 14px;
  padding: 14px 18px;
  background: var(--c-bg);
  border-left: 3px solid var(--c-main);
  border-radius: 0 var(--radius) var(--radius) 0;
}
.merit-num {
  font-family: var(--ff-en);
  font-style: italic;
  font-size: 18px;
  font-weight: 600;
  color: var(--c-main);
  flex-shrink: 0;
  line-height: 1.5;
  letter-spacing: .04em;
}
.merits li p {
  margin: 0;
  font-size: 14.5px;
  line-height: 1.7;
  color: var(--c-text);
}

/* =========================================================
   2.5 INFO SECTION (LINEで送信する情報)
   ========================================================= */
.info-section {
  padding: clamp(40px, 7vw, 64px) 0 clamp(32px, 6vw, 48px);
  background: var(--c-bg-alt);
  text-align: center;
}
.info-lead {
  font-size: 14.5px;
  line-height: 1.8;
  color: var(--c-text-mute);
  margin-bottom: clamp(24px, 4vw, 32px);
}
.info-card {
  background: var(--c-bg);
  border: 1px solid var(--c-sub-bg);
  border-radius: 12px;
  padding: clamp(24px, 5vw, 36px) clamp(20px, 4vw, 32px);
  max-width: 500px;
  margin: 0 auto;
}
.info-list {
  list-style: none;
  padding: 0;
  margin: 0 0 16px;
  text-align: left;
}
.info-list li {
  display: flex;
  align-items: baseline;
  gap: 10px;
  padding: 12px 0;
  border-bottom: 1px dashed var(--c-sub-bg);
  font-family: var(--ff-serif);
  font-size: 16px;
  color: var(--c-text);
}
.info-list li:last-child {
  border-bottom: none;
}
.info-list li.info-optional {
  opacity: 0.7;
}
.info-list .info-label {
  font-weight: 600;
  color: var(--c-main);
  min-width: 5em;
}
.info-list .info-label::before {
  content: "・ ";
}
.info-list .info-detail {
  font-size: 13px;
  color: var(--c-text-mute);
}
.info-note {
  font-size: 12.5px;
  color: var(--c-text-mute);
  line-height: 1.7;
  margin-top: 16px;
  text-align: center;
}

/* =========================================================
   3. RESERVE SECTION
   ========================================================= */
.reserve-section {
  padding: clamp(48px, 8vw, 72px) 0 clamp(40px, 7vw, 64px);
  background: linear-gradient(180deg, var(--c-bg) 0%, #F1ECDF 100%);
  text-align: center;
}
.reserve-lead {
  font-size: 14.5px;
  line-height: 1.95;
  color: var(--c-text-mute);
  margin: 0 0 28px;
}

/* ---- 予約ボタン（メイン） ---- */
.reserve-btn {
  display: inline-flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 4px;
  width: 100%;
  max-width: 420px;
  padding: 18px 28px;
  background: var(--c-main);
  color: #fff;
  border-radius: 8px;
  text-decoration: none;
  font-family: var(--ff-serif);
  box-shadow: 0 4px 12px rgba(153, 122, 69, .22);
  transition: background .2s ease, transform .15s ease, box-shadow .2s ease;
  min-height: 64px;
  margin: 0 0 22px;
}
.reserve-btn:hover {
  background: var(--c-main-dark);
  color: #fff;
  opacity: 1;
  transform: translateY(-1px);
  box-shadow: 0 6px 18px rgba(153, 122, 69, .32);
}
.reserve-btn-main {
  font-size: 18px;
  font-weight: 600;
  letter-spacing: .06em;
}
.reserve-btn-sub {
  font-size: 12px;
  opacity: .9;
  letter-spacing: .08em;
}

/* ---- サブ動線（LINE使わず予約・電話） ---- */
.sub-link {
  margin: 8px 0 0;
  font-size: 13px;
  color: var(--c-text-mute);
  letter-spacing: .04em;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-wrap: wrap;
  gap: 6px 10px;
}
.sub-link a {
  color: var(--c-text-mute);
  text-decoration: underline;
  text-underline-offset: 3px;
}
.sub-link a:hover {
  color: var(--c-main);
}
.sub-link-divider {
  opacity: .5;
}
.sub-link-tel {
  font-family: var(--ff-en);
  font-size: 14px;
  letter-spacing: .04em;
}
@media (max-width: 480px) {
  .sub-link {
    flex-direction: column;
    gap: 8px;
  }
  .sub-link-divider { display: none; }
}

/* =========================================================
   FOOTER
   ========================================================= */
.site-footer {
  background: var(--c-text);
  color: #DCD2BD;
  padding: 40px 0 20px;
  font-size: 13px;
  line-height: 1.85;
}
.footer-inner {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 36px;
  align-items: start;
}
.footer-name {
  font-family: var(--ff-serif);
  font-weight: 600;
  font-size: 16px;
  color: #fff;
  margin: 0 0 10px;
  letter-spacing: .04em;
}
.footer-address {
  font-style: normal;
  margin: 0 0 10px;
  color: #C8B998;
  font-size: 12.5px;
  line-height: 1.85;
}
.footer-tel {
  margin: 0;
  color: #DCD2BD;
}
.footer-tel a {
  color: #fff;
  font-family: var(--ff-en);
  font-size: 16px;
  letter-spacing: .04em;
}
.footer-hours-title {
  font-family: var(--ff-en);
  font-style: italic;
  font-size: 13px;
  letter-spacing: .14em;
  color: var(--c-line);
  margin: 0 0 12px;
}
.footer-hours-table {
  width: 100%;
  border-collapse: collapse;
  font-size: 12.5px;
  color: #C8B998;
}
.footer-hours-table th,
.footer-hours-table td {
  text-align: left;
  vertical-align: top;
  padding: 4px 0;
  font-weight: normal;
}
.footer-hours-table th {
  width: 60px;
  color: #DCD2BD;
}

.footer-copy {
  margin-top: 28px;
  padding-top: 16px;
  border-top: 1px solid rgba(220, 210, 189, .15);
  text-align: center;
  font-size: 11px;
  letter-spacing: .12em;
  color: #8A7C5E;
}

@media (max-width: 600px) {
  .footer-inner {
    grid-template-columns: 1fr;
    gap: 24px;
  }
}

/* =========================================================
   FOCUS / MOTION
   ========================================================= */
:focus-visible {
  outline: 2px solid var(--c-main);
  outline-offset: 3px;
  border-radius: 2px;
}
.line-btn:focus-visible,
.reserve-btn:focus-visible {
  outline-offset: 4px;
}

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  * { animation: none !important; transition: none !important; }
}
