/* ===== 浅川接骨院 デモサイト ===== */

:root {
  /* ─── Primary: ディープネイビー（信頼・専門性） ─── */
  --blue:      #1b3a5c;
  --blue-dk:   #122840;
  --blue-lt:   #eef3f8;
  /* ─── Accent: ライトスカイ（清潔・スポーツ感） ─── */
  --sky:       #3b82c4;
  --sky-lt:    #ddeef8;
  /* ─── Warm: テラコッタオレンジ（アクション・エネルギー） ─── */
  --orange:    #e8622a;
  --orange-dk: #c94e1e;
  /* ─── LINE（固定） ─── */
  --line-green:#06c755;
  --line-dk:   #059447;
  /* ─── Neutral ─── */
  --white:     #ffffff;
  --bg:        #f7f9fb;
  --bg2:       #edf2f7;
  --text:      #1a2535;
  --text2:     #4a5568;
  --text3:     #8896a7;
  --border:    #dce4ed;
  /* ─── Utility ─── */
  --radius:    8px;
  --shadow-sm: 0 2px 10px rgba(27,58,92,0.07);
  --shadow-md: 0 6px 24px rgba(27,58,92,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(--white);
  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(--blue);
  box-shadow: 0 1px 6px rgba(26,111,168,0.08);
}
.header-logo { display: flex; align-items: center; gap: 10px; }
.header-logo .mark {
  width: 34px; height: 34px;
  background: var(--blue);
  border-radius: var(--radius);
  display: flex; align-items: center; justify-content: center;
  flex-shrink: 0;
}
.header-logo .mark span {
  font-size: 0.62rem; font-weight: 700; color: var(--white);
  letter-spacing: -0.02em; text-align: center; line-height: 1.2;
}
.header-logo .name {
  font-size: clamp(0.88rem, 2vw, 1rem);
  font-weight: 700; color: var(--blue); letter-spacing: 0.06em;
}
.header-logo .sub {
  font-size: 0.58rem; color: var(--text3); display: block; 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(--blue); }
.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(--orange); 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(--orange-dk); }

/* hamburger */
.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(--blue); 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(--orange); font-weight: 700; }

/* ===== HERO ===== */
.hero {
  background:
    linear-gradient(160deg, #f7f9fb 0%, #edf2f7 55%, #ddeef8 100%);
  padding: 64px 24px 60px;
  position: relative; overflow: hidden;
  border-bottom: 1px solid var(--border);
}
/* 右上のアクセントブロック */
.hero::before {
  content: '';
  position: absolute; top: 0; right: 0;
  width: 340px; height: 340px;
  background: linear-gradient(135deg, rgba(59,130,196,0.10) 0%, rgba(27,58,92,0.06) 100%);
  border-radius: 0 0 0 60%;
  pointer-events: none;
}
/* 左下の小サークル装飾 */
.hero::after {
  content: '';
  position: absolute; bottom: -40px; left: -40px;
  width: 180px; height: 180px;
  background: radial-gradient(circle, rgba(59,130,196,0.08) 0%, transparent 70%);
  border-radius: 50%;
  pointer-events: none;
}
.hero-inner { max-width: 760px; margin: 0 auto; position: relative; z-index: 1; }

.hero-badge {
  display: inline-flex; align-items: center; gap: 7px;
  background: var(--blue); color: var(--white);
  font-size: 0.68rem; font-weight: 700; letter-spacing: 0.12em;
  padding: 5px 14px; border-radius: 3px;
  margin-bottom: 18px;
  box-shadow: 0 2px 8px rgba(27,58,92,0.18);
}

.hero-title {
  font-size: clamp(1.6rem, 5vw, 2.6rem);
  font-weight: 700; color: var(--text);
  letter-spacing: 0.08em; line-height: 1.45;
  margin-bottom: 6px;
}
/* キーワードをスカイアクセントで強調 */
.hero-title em {
  font-style: normal;
  color: var(--sky);
}
.hero-title span { display: block; }

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

/* 症状タグ */
.hero-tags { display: flex; flex-wrap: wrap; gap: 8px; margin-bottom: 32px; }
.hero-tag {
  background: var(--white);
  border: 1.5px solid var(--border);
  color: var(--text2);
  font-size: 0.75rem; padding: 5px 13px; border-radius: 20px;
  letter-spacing: 0.04em;
  box-shadow: 0 1px 4px rgba(27,58,92,0.06);
}

.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.3);
  transition: background 0.2s, box-shadow 0.2s;
}
.btn-line:hover { background: var(--line-dk); box-shadow: 0 4px 14px rgba(6,199,85,0.35); }

.btn-tel {
  display: inline-flex; align-items: center; gap: 7px;
  background: var(--orange); 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(245,158,11,0.3);
  transition: background 0.2s;
}
.btn-tel:hover { background: var(--orange-dk); }

.btn-primary {
  display: inline-block;
  background: var(--blue); 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(--blue-dk); }

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

/* ===== TRUST BAND ===== */
.trust-band {
  background: var(--blue-lt);
  border-top: 1px solid #c8dff0;
  border-bottom: 1px solid #c8dff0;
  padding: 14px 24px;
}
.trust-band-inner {
  max-width: 760px; margin: 0 auto;
  display: flex; align-items: center; gap: 20px; flex-wrap: wrap;
}
.trust-item { font-size: 0.8rem; color: var(--blue-dk); letter-spacing: 0.03em; }
.trust-item strong { font-weight: 700; }
.trust-div { width: 1px; height: 14px; background: #b0cfe0; }

/* ===== SECTION COMMON ===== */
.section-inner { max-width: 760px; margin: 0 auto; padding: 60px 24px; }

.section-eyebrow {
  font-size: 0.62rem; letter-spacing: 0.3em;
  color: var(--blue); 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 {
  width: 32px; height: 3px; background: var(--blue);
  margin: 10px 0 28px; border-radius: 2px;
}
.section-desc { font-size: 0.88rem; color: var(--text2); line-height: 2; margin-bottom: 28px; }

/* ===== PAGE HERO (inner pages) ===== */
.page-hero {
  background: var(--blue);
  padding: 44px 24px 40px;
}
.page-hero .section-eyebrow { color: rgba(255,255,255,0.6); }
.page-hero .section-title { color: var(--white); margin-bottom: 8px; }
.page-hero p { font-size: 0.86rem; color: rgba(255,255,255,0.65); line-height: 1.9; }
.page-hero .section-rule { background: var(--orange); }

/* ===== 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(--blue);
  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-num {
  font-size: 0.62rem; font-weight: 700; color: var(--blue);
  letter-spacing: 0.18em; margin-bottom: 8px; display: block;
}
.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(--blue-lt);
  border: 1px solid #c0d8ed;
  border-left: 3px solid var(--blue);
  padding: 12px 14px;
  border-radius: var(--radius);
  font-size: 0.82rem; font-weight: 700;
  color: var(--blue-dk); letter-spacing: 0.04em;
}

/* ===== TREATMENT BLOCK ===== */
.treatment-block {
  background: var(--white);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 26px 24px;
  margin-bottom: 14px;
  box-shadow: var(--shadow-sm);
}
.treatment-block h3 {
  font-size: 1rem; font-weight: 700; color: var(--blue);
  letter-spacing: 0.06em; margin-bottom: 8px;
  padding-bottom: 8px; border-bottom: 1px solid var(--border);
}
.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(--bg2);
  border: 1px solid var(--border);
  color: var(--text2); padding: 3px 10px; border-radius: 12px;
}
.price-badge {
  display: inline-block;
  background: var(--orange); color: var(--white);
  font-size: 0.72rem; font-weight: 700;
  padding: 3px 10px; border-radius: 2px;
  margin-top: 8px; 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(--blue); 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(--bg2);
  color: var(--blue); font-weight: 700; font-size: 0.8rem;
  white-space: nowrap;
}
.info-table td { color: var(--text2); }

/* ===== NOTICE BOX ===== */
.notice-box {
  background: #fff8e1;
  border-left: 4px solid var(--orange);
  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(--blue);
  padding: 56px 24px; text-align: center;
  position: relative; overflow: hidden;
}
.cta-section::before {
  content: '';
  position: absolute; bottom: -50px; right: -50px;
  width: 220px; height: 220px;
  border: 34px solid rgba(255,255,255,0.05);
  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.6); line-height: 2; margin-bottom: 26px; }

/* ===== FOOTER ===== */
footer { background: #0d2a4a; 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.38); }
.footer-note {
  font-size: 0.68rem; color: rgba(255,255,255,0.2);
  line-height: 1.85; margin-top: 18px;
  border-top: 1px solid rgba(255,255,255,0.08);
  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(--orange); 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(--orange-dk);
  transition: background 0.2s;
}
.fixed-tel:hover { background: var(--orange-dk); }

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