/* ===== とくだ接骨院・鍼灸院 デモサイト ===== */

:root {
  /* ── Primary: ディープティール（信頼・癒し・自然） ── */
  --teal:      #0c6e70;
  --teal-dk:   #084d4f;
  --teal-lt:   #e6f4f4;
  --teal-mid:  #1a8f91;

  /* ── Accent: ウォームアンバー（温熱・温もり） ── */
  --amber:     #c47c1a;
  --amber-dk:  #a36315;
  --amber-lt:  #fdf3e3;

  /* ── LINE（固定） ── */
  --line-green:#06c755;
  --line-dk:   #059447;

  /* ── Surface: ウォームクリーム ── */
  --white:     #ffffff;
  --cream:     #faf9f6;   /* ページ背景 */
  --cream2:    #f2ede4;   /* セクション交互 */
  --cream3:    #e8e0d2;

  /* ── Text ── */
  --text:      #1e2a2a;
  --text2:     #4a5e5e;
  --text3:     #8ea5a5;

  /* ── Utility ── */
  --border:    #d4e0e0;
  --border2:   #c0d0d0;
  --radius:    6px;
  --shadow-sm: 0 2px 10px rgba(12,110,112,0.07);
  --shadow-md: 0 6px 24px rgba(12,110,112,0.12);
}

*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
html { font-size: 16px; scroll-behavior: smooth; }
body {
  font-family: 'Noto Sans JP', sans-serif;
  color: var(--text);
  background: var(--cream);
  line-height: 1.8;
  -webkit-font-smoothing: antialiased;
}
a { color: inherit; text-decoration: none; }
img { max-width: 100%; display: block; }

/* ===== HEADER ===== */
header {
  position: sticky; top: 0; z-index: 100;
  background: var(--white);
  height: 60px;
  display: flex; align-items: center; justify-content: space-between;
  padding: 0 24px;
  border-bottom: 2px solid var(--teal);
  box-shadow: 0 1px 8px rgba(12,110,112,0.08);
}
.header-logo { display: flex; align-items: center; gap: 10px; }
.header-logo .mark {
  width: 36px; height: 36px;
  background: var(--teal);
  border-radius: 50%;
  display: flex; align-items: center; justify-content: center;
  flex-shrink: 0;
}
.header-logo .mark span {
  font-size: 0.58rem; font-weight: 700; color: var(--white);
  letter-spacing: -0.02em; text-align: center; line-height: 1.25;
}
.header-logo .names { display: flex; flex-direction: column; gap: 0; }
.header-logo .name {
  font-size: clamp(0.86rem, 2vw, 1rem);
  font-weight: 700; color: var(--teal); letter-spacing: 0.06em;
  line-height: 1.3;
}
.header-logo .sub {
  font-size: 0.58rem; color: var(--text3); letter-spacing: 0.04em;
}

.pc-nav { display: flex; align-items: center; gap: 20px; }
.pc-nav a { font-size: 0.8rem; color: var(--text2); letter-spacing: 0.03em; transition: color 0.2s; }
.pc-nav a:hover { color: var(--teal); }
.pc-nav .nav-line {
  background: var(--line-green); color: var(--white);
  padding: 7px 18px; border-radius: var(--radius);
  font-size: 0.78rem; font-weight: 700; transition: background 0.2s;
}
.pc-nav .nav-line:hover { background: var(--line-dk); }
.pc-nav .nav-tel {
  background: var(--teal); color: var(--white);
  padding: 7px 16px; border-radius: var(--radius);
  font-size: 0.78rem; font-weight: 700; transition: background 0.2s;
}
.pc-nav .nav-tel:hover { background: var(--teal-dk); }

.hamburger { display: none; flex-direction: column; gap: 5px; background: none; border: none; cursor: pointer; padding: 4px; }
.hamburger span { display: block; width: 22px; height: 2px; background: var(--teal); transition: all 0.25s; }
.hamburger.open span:nth-child(1) { transform: translateY(7px) rotate(45deg); }
.hamburger.open span:nth-child(2) { opacity: 0; }
.hamburger.open span:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }

.mobile-menu {
  display: none; flex-direction: column;
  background: var(--white); padding: 12px 24px;
  border-bottom: 1px solid var(--border);
}
.mobile-menu.open { display: flex; }
.mobile-menu a { padding: 12px 0; color: var(--text2); font-size: 0.9rem; border-bottom: 1px solid var(--border); }
.mobile-menu a:last-child { border-bottom: none; }
.mobile-menu .nav-line { color: var(--line-green); font-weight: 700; }
.mobile-menu .nav-tel { color: var(--teal); font-weight: 700; }

/* ===== HERO ===== */
.hero {
  background:
    linear-gradient(150deg, var(--cream) 0%, var(--teal-lt) 60%, #d0eaea 100%);
  padding: 64px 24px 60px;
  position: relative; overflow: hidden;
  border-bottom: 1px solid var(--border);
}
.hero::before {
  content: '';
  position: absolute; top: -60px; right: -60px;
  width: 320px; height: 320px;
  border: 48px solid rgba(12,110,112,0.07);
  border-radius: 50%;
  pointer-events: none;
}
.hero::after {
  content: '';
  position: absolute; bottom: -30px; left: 40%;
  width: 160px; height: 160px;
  background: radial-gradient(circle, rgba(196,124,26,0.07) 0%, transparent 70%);
  border-radius: 50%;
  pointer-events: none;
}
.hero-inner { max-width: 760px; margin: 0 auto; position: relative; z-index: 1; }

.hero-badges { display: flex; gap: 8px; flex-wrap: wrap; margin-bottom: 18px; }
.hero-badge {
  display: inline-flex; align-items: center; gap: 6px;
  font-size: 0.67rem; font-weight: 700; letter-spacing: 0.1em;
  padding: 4px 13px; border-radius: 3px;
}
.hero-badge.primary { background: var(--teal); color: var(--white); }
.hero-badge.amber  { background: var(--amber); color: var(--white); }

.hero-title {
  font-size: clamp(1.55rem, 4.8vw, 2.5rem);
  font-weight: 700; color: var(--text);
  letter-spacing: 0.08em; line-height: 1.45;
  margin-bottom: 14px;
}
.hero-title span { display: block; }
.hero-title em { font-style: normal; color: var(--teal); }

.hero-sub {
  font-size: clamp(0.82rem, 1.8vw, 0.93rem);
  color: var(--text2); line-height: 2;
  margin-bottom: 28px; max-width: 520px;
}

.hero-tags { display: flex; flex-wrap: wrap; gap: 7px; margin-bottom: 32px; }
.hero-tag {
  background: var(--white);
  border: 1.5px solid var(--border);
  color: var(--text2);
  font-size: 0.74rem; padding: 5px 13px; border-radius: 20px;
  letter-spacing: 0.04em;
  box-shadow: 0 1px 4px rgba(12,110,112,0.05);
}

.hero-btns { display: flex; gap: 12px; flex-wrap: wrap; }

/* ===== BUTTONS ===== */
.btn-line {
  display: inline-flex; align-items: center; gap: 7px;
  background: var(--line-green); color: var(--white);
  padding: 13px 26px; font-size: 0.88rem; font-weight: 700;
  border-radius: var(--radius); letter-spacing: 0.04em;
  box-shadow: 0 2px 8px rgba(6,199,85,0.28);
  transition: background 0.2s;
}
.btn-line:hover { background: var(--line-dk); }

.btn-tel {
  display: inline-flex; align-items: center; gap: 7px;
  background: var(--teal); color: var(--white);
  padding: 13px 26px; font-size: 0.88rem; font-weight: 700;
  border-radius: var(--radius); letter-spacing: 0.04em;
  box-shadow: 0 2px 8px rgba(12,110,112,0.22);
  transition: background 0.2s;
}
.btn-tel:hover { background: var(--teal-dk); }

.btn-primary {
  display: inline-block;
  background: var(--teal); color: var(--white);
  padding: 12px 26px; font-size: 0.88rem; font-weight: 700;
  border-radius: var(--radius); letter-spacing: 0.04em;
  transition: background 0.2s;
}
.btn-primary:hover { background: var(--teal-dk); }

.btn-outline {
  display: inline-block;
  border: 1.5px solid var(--teal); color: var(--teal);
  padding: 11px 26px; font-size: 0.88rem;
  border-radius: var(--radius); background: transparent;
  transition: background 0.2s, color 0.2s;
}
.btn-outline:hover { background: var(--teal); color: var(--white); }

/* ===== TRUST BAND ===== */
.trust-band {
  background: var(--teal);
  padding: 13px 24px;
}
.trust-band-inner {
  max-width: 760px; margin: 0 auto;
  display: flex; align-items: center; gap: 22px; flex-wrap: wrap;
}
.trust-item { font-size: 0.8rem; color: rgba(255,255,255,0.78); letter-spacing: 0.04em; }
.trust-item strong { color: var(--white); font-weight: 700; }
.trust-div { width: 1px; height: 14px; background: rgba(255,255,255,0.22); }

/* ===== 3STEP ===== */
.step-flow {
  display: grid;
  grid-template-columns: 1fr auto 1fr auto 1fr;
  gap: 0; align-items: start;
}
.step-card {
  background: var(--white);
  border: 1px solid var(--border);
  border-top: 3px solid var(--teal);
  border-radius: var(--radius);
  padding: 24px 20px;
  box-shadow: var(--shadow-sm);
  text-align: center;
}
.step-card.accent { border-top-color: var(--amber); }
.step-num {
  display: inline-flex; align-items: center; justify-content: center;
  width: 34px; height: 34px; border-radius: 50%;
  background: var(--teal); color: var(--white);
  font-size: 0.82rem; font-weight: 700;
  margin-bottom: 10px;
}
.step-card.accent .step-num { background: var(--amber); }
.step-card h3 {
  font-size: 0.92rem; font-weight: 700; color: var(--text);
  margin-bottom: 7px; letter-spacing: 0.04em;
}
.step-card p { font-size: 0.8rem; color: var(--text2); line-height: 1.85; }
.step-arrow {
  display: flex; align-items: center; justify-content: center;
  padding: 0 6px; padding-top: 50px;
  color: var(--border2); font-size: 1.2rem;
}

/* ===== SECTION COMMON ===== */
.section-inner { max-width: 760px; margin: 0 auto; padding: 60px 24px; }
.section-eyebrow {
  font-size: 0.61rem; letter-spacing: 0.3em;
  color: var(--teal); text-transform: uppercase;
  display: block; margin-bottom: 8px;
}
.section-title {
  font-size: clamp(1.2rem, 3.2vw, 1.6rem);
  font-weight: 700; color: var(--text);
  letter-spacing: 0.08em; margin-bottom: 6px; line-height: 1.5;
}
.section-rule {
  display: flex; align-items: center; gap: 8px;
  margin: 10px 0 28px;
}
.section-rule .r-bar { width: 28px; height: 3px; background: var(--teal); border-radius: 2px; }
.section-rule .r-dot { width: 5px; height: 5px; background: var(--amber); border-radius: 50%; }
.section-desc { font-size: 0.88rem; color: var(--text2); line-height: 2; margin-bottom: 28px; }

/* ===== PAGE HERO ===== */
.page-hero {
  background: var(--teal);
  padding: 44px 24px 40px;
  position: relative; overflow: hidden;
}
.page-hero::after {
  content: '';
  position: absolute; top: -40px; right: -40px;
  width: 200px; height: 200px;
  border: 32px solid rgba(255,255,255,0.06);
  border-radius: 50%; pointer-events: none;
}
.page-hero .section-eyebrow { color: rgba(255,255,255,0.55); }
.page-hero .section-title { color: var(--white); }
.page-hero p { color: rgba(255,255,255,0.65); font-size: 0.88rem; margin-top: 10px; line-height: 1.9; }
.page-hero .section-rule .r-bar { background: rgba(255,255,255,0.4); }
.page-hero .section-rule .r-dot { background: var(--amber); }

/* ===== POINT CARDS ===== */
.point-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
  gap: 14px;
}
.point-card {
  background: var(--white);
  border: 1px solid var(--border);
  border-top: 3px solid var(--teal);
  padding: 22px 20px;
  border-radius: var(--radius);
  box-shadow: var(--shadow-sm);
  transition: box-shadow 0.2s, transform 0.2s;
}
.point-card:hover { box-shadow: var(--shadow-md); transform: translateY(-2px); }
.point-card.amber-top { border-top-color: var(--amber); }
.point-num {
  font-size: 0.61rem; font-weight: 700; color: var(--teal);
  letter-spacing: 0.18em; margin-bottom: 8px; display: block;
}
.point-card.amber-top .point-num { color: var(--amber); }
.point-card h3 {
  font-size: 0.96rem; font-weight: 700; color: var(--text);
  letter-spacing: 0.04em; margin-bottom: 7px; line-height: 1.45;
}
.point-card p { font-size: 0.82rem; color: var(--text2); line-height: 1.85; }

/* ===== SYMPTOM GRID ===== */
.symptom-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(130px, 1fr));
  gap: 10px;
}
.symptom-item {
  background: var(--white);
  border: 1.5px solid var(--border);
  border-left: 3px solid var(--teal);
  padding: 12px 14px;
  border-radius: var(--radius);
  font-size: 0.82rem; font-weight: 700;
  color: var(--teal-dk);
  box-shadow: var(--shadow-sm);
}

/* ===== TREATMENT BLOCK ===== */
.treatment-block {
  background: var(--white);
  border: 1px solid var(--border);
  border-top: 3px solid var(--teal);
  padding: 26px 24px;
  margin-bottom: 14px;
  border-radius: var(--radius);
  box-shadow: var(--shadow-sm);
  transition: box-shadow 0.2s;
}
.treatment-block:hover { box-shadow: var(--shadow-md); }
.treatment-block.amber-top { border-top-color: var(--amber); }
.treatment-block h3 {
  font-size: 1rem; font-weight: 700; color: var(--teal);
  letter-spacing: 0.06em; margin-bottom: 8px;
  padding-bottom: 8px; border-bottom: 1px solid var(--border);
}
.treatment-block.amber-top h3 { color: var(--amber-dk); }
.treatment-block p { font-size: 0.85rem; color: var(--text2); line-height: 2; }
.treatment-tags { display: flex; flex-wrap: wrap; gap: 6px; margin: 10px 0; }
.treatment-tag {
  font-size: 0.67rem; background: var(--teal-lt);
  border: 1px solid #b8d8d8;
  color: var(--teal-dk); padding: 3px 10px; border-radius: 12px;
}
.price-badge {
  display: inline-block;
  background: var(--amber); color: var(--white);
  font-size: 0.72rem; font-weight: 700;
  padding: 3px 12px; border-radius: 3px;
  margin-top: 10px; letter-spacing: 0.06em;
}
.price-free {
  display: inline-block;
  background: var(--teal); color: var(--white);
  font-size: 0.72rem; font-weight: 700;
  padding: 3px 12px; border-radius: 3px;
  margin-top: 10px; letter-spacing: 0.06em;
}

/* ===== FLOW ===== */
.flow-list { display: flex; flex-direction: column; }
.flow-item {
  display: flex; gap: 18px; align-items: flex-start;
  padding: 20px 0; border-bottom: 1px solid var(--border);
}
.flow-item:last-child { border-bottom: none; }
.flow-num {
  width: 38px; height: 38px; border-radius: 50%;
  background: var(--teal); color: var(--white);
  display: flex; align-items: center; justify-content: center;
  font-weight: 700; font-size: 0.9rem; flex-shrink: 0; margin-top: 2px;
}
.flow-content h3 { font-size: 0.94rem; font-weight: 700; color: var(--text); margin-bottom: 4px; }
.flow-content p { font-size: 0.83rem; color: var(--text2); line-height: 1.9; }

/* ===== INFO TABLE ===== */
.info-table { width: 100%; border-collapse: collapse; font-size: 0.85rem; }
.info-table th, .info-table td {
  padding: 11px 16px;
  border-bottom: 1px solid var(--border);
  text-align: left; vertical-align: top;
}
.info-table th {
  width: 120px; background: var(--teal-lt);
  color: var(--teal); font-weight: 700; font-size: 0.8rem;
  white-space: nowrap;
}
.info-table td { color: var(--text2); }

/* ===== NOTICE BOX ===== */
.notice-box {
  background: var(--amber-lt);
  border-left: 4px solid var(--amber);
  padding: 14px 18px;
  font-size: 0.85rem; color: var(--text2); line-height: 1.9;
  margin-bottom: 28px; border-radius: 0 var(--radius) var(--radius) 0;
}

/* ===== CTA SECTION ===== */
.cta-section {
  background: var(--teal-dk);
  padding: 56px 24px; text-align: center;
  position: relative; overflow: hidden;
}
.cta-section::before {
  content: '';
  position: absolute; top: -50px; right: -50px;
  width: 220px; height: 220px;
  border: 34px solid rgba(255,255,255,0.05);
  border-radius: 50%; pointer-events: none;
}
.cta-section::after {
  content: '';
  position: absolute; bottom: -40px; left: -40px;
  width: 160px; height: 160px;
  border: 24px solid rgba(196,124,26,0.12);
  border-radius: 50%; pointer-events: none;
}
.cta-section h2 {
  font-size: clamp(1.1rem, 2.8vw, 1.5rem);
  font-weight: 700; color: var(--white);
  letter-spacing: 0.1em; line-height: 1.7; margin-bottom: 8px;
}
.cta-section p { font-size: 0.86rem; color: rgba(255,255,255,0.58); line-height: 2; margin-bottom: 26px; }

/* ===== FOOTER ===== */
footer { background: #061a1a; padding: 36px 24px 70px; }
.footer-inner { max-width: 760px; margin: 0 auto; }
.footer-name { font-size: 1rem; font-weight: 700; color: var(--white); letter-spacing: 0.1em; margin-bottom: 8px; }
.footer-tel { font-size: 0.94rem; color: var(--white); letter-spacing: 0.06em; margin-bottom: 4px; }
.footer-address { font-size: 0.76rem; color: rgba(255,255,255,0.36); }
.footer-note {
  font-size: 0.68rem; color: rgba(255,255,255,0.18);
  line-height: 1.85; margin-top: 18px;
  border-top: 1px solid rgba(255,255,255,0.07);
  padding-top: 14px;
}

/* ===== FIXED CTA ===== */
.fixed-cta { position: fixed; bottom: 0; left: 0; right: 0; z-index: 200; display: flex; }
.fixed-line {
  flex: 1; background: var(--line-green); color: var(--white);
  text-align: center; padding: 14px 8px 18px;
  font-size: clamp(0.78rem, 2vw, 0.9rem); font-weight: 700;
  letter-spacing: 0.04em; display: block;
  border-top: 2px solid var(--line-dk); transition: background 0.2s;
}
.fixed-line:hover { background: var(--line-dk); }
.fixed-tel {
  flex: 1; background: var(--teal); color: var(--white);
  text-align: center; padding: 14px 8px 18px;
  font-size: clamp(0.78rem, 2vw, 0.9rem); font-weight: 700;
  letter-spacing: 0.04em; display: block;
  border-top: 2px solid var(--teal-dk); transition: background 0.2s;
}
.fixed-tel:hover { background: var(--teal-dk); }

/* ===== RESPONSIVE ===== */
@media (max-width: 640px) {
  .pc-nav { display: none; }
  .hamburger { display: flex; }
  .trust-div { display: none; }
  .trust-band-inner { gap: 14px; }
  .hero-btns { flex-direction: column; }
  .btn-line, .btn-tel, .btn-primary, .btn-outline { width: 100%; justify-content: center; text-align: center; }
  .step-flow { grid-template-columns: 1fr; }
  .step-arrow { display: none; }
  .point-grid { grid-template-columns: 1fr; }
  .symptom-grid { grid-template-columns: repeat(2, 1fr); }
  .info-table th { width: 90px; font-size: 0.76rem; }
  .hours-table th, .hours-table td { padding: 8px 6px; font-size: 0.8rem; }
}

/* ===== HOURS TABLE ===== */
.hours-table {
  width: 100%;
  border-collapse: collapse;
  font-size: 0.92rem;
  margin-top: 8px;
}
.hours-table th,
.hours-table td {
  border: 1px solid var(--border);
  padding: 10px 12px;
  text-align: center;
}
.hours-table thead th {
  background: var(--teal);
  color: #fff;
  font-weight: 600;
}
.hours-table thead th.closed {
  background: var(--text3);
  color: #fff;
}
.hours-table td.time-label {
  text-align: left;
  font-weight: 500;
  background: var(--teal-lt);
  white-space: nowrap;
}
.hours-table td.open {
  color: var(--teal);
  font-weight: 700;
  background: #fff;
}
.hours-table td.closed {
  color: #aaa;
  background: #f5f5f5;
}
