/* =========================================================
   ショックマスター（体外衝撃波治療）説明ページ 専用スタイル
   参考: /ショックマスター/shockmaster.html
   このページ配下は #shockmaster_page 以下にスコープしています
========================================================= */

/* ===== リセット & 基本設定 ===== */
#shockmaster_page *, #shockmaster_page *::before, #shockmaster_page *::after {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

#shockmaster_page {
  --white:    #ffffff;
  --bg:       #f0f6ff;
  --navy:     #1a2a4a;
  --navy-l:   #2d3f6a;
  --blue:     #2563eb;
  --blue-l:   #dbeafe;
  --blue-m:   #93c5fd;
  --teal:     #0d9488;
  --teal-l:   #ccfbf1;
  --teal-m:   #5eead4;
  --orange:   #ea580c;
  --orange-l: #ffedd5;
  --yellow:   #f59e0b;
  --yellow-l: #fef3c7;
  --purple:   #7c3aed;
  --purple-l: #ede9fe;
  --red:      #dc2626;
  --green:    #16a34a;
  --green-l:  #dcfce7;
  --text:     #1e293b;
  --text-s:   #475569;
  --radius:   20px;
  --shadow:   0 6px 32px rgba(37,99,235,0.12);

  font-family: 'Hiragino Maru Gothic ProN', 'BIZ UDPGothic', 'Noto Sans JP', 'Yu Gothic', sans-serif;
  background: var(--bg);
  color: var(--text);
  font-size: 17px;
  line-height: 1.75;
  overflow-x: hidden;
}

html { scroll-behavior: smooth; }

.page-template-page_shockmaster #header {
  margin: 0;
}

/* ===== スクロールフェードイン ===== */
#shockmaster_page .fade-in {
  opacity: 0;
  transform: translateY(32px);
  transition: opacity 0.7s ease, transform 0.7s ease;
}
#shockmaster_page .fade-in.visible {
  opacity: 1;
  transform: translateY(0);
}

/* ===== 共通レイアウト ===== */
#shockmaster_page .section {
  padding: 60px 24px;
  max-width: 820px;
  margin: 0 auto;
}
#shockmaster_page .section-card {
  background: var(--white);
  border-radius: var(--radius);
  padding: 40px 32px;
  box-shadow: var(--shadow);
  margin-bottom: 32px;
}
#shockmaster_page .section-label {
  display: inline-block;
  font-size: 12px;
  font-weight: 700;
  letter-spacing: 0.12em;
  color: var(--white);
  background: var(--blue);
  border-radius: 99px;
  padding: 4px 16px;
  margin-bottom: 12px;
}
#shockmaster_page .section-title {
  font-size: clamp(22px, 4vw, 30px);
  font-weight: 900;
  color: var(--text);
  line-height: 1.4;
  margin-bottom: 10px;
}
#shockmaster_page .section-sub {
  font-size: 15px;
  color: var(--text-s);
  margin-bottom: 24px;
  line-height: 1.85;
}
#shockmaster_page .card-heading {
  font-size: 16px;
  font-weight: 700;
  color: var(--text);
  margin-bottom: 6px;
  text-align: center;
}
#shockmaster_page .card-lead {
  font-size: 13px;
  color: var(--text-s);
  text-align: center;
  margin-bottom: 14px;
  line-height: 1.75;
}

/* ===== タグ ===== */
#shockmaster_page .tag {
  display: inline-block;
  font-size: 12px;
  font-weight: 700;
  border-radius: 99px;
  padding: 3px 14px;
  margin: 3px 4px 3px 0;
}
#shockmaster_page .tag-blue   { background: var(--blue-l);   color: var(--blue); }
#shockmaster_page .tag-teal   { background: var(--teal-l);   color: var(--teal); }
#shockmaster_page .tag-orange { background: var(--orange-l); color: var(--orange); }
#shockmaster_page .tag-green  { background: var(--green-l);  color: var(--green); }
#shockmaster_page .tag-purple { background: var(--purple-l); color: var(--purple); }

/* ===== セクション番号 ===== */
#shockmaster_page .sec-num {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 36px;
  height: 36px;
  border-radius: 50%;
  font-size: 16px;
  font-weight: 900;
  color: #fff;
  flex-shrink: 0;
}
#shockmaster_page .sn-blue   { background: linear-gradient(135deg,#2563eb,#1d4ed8); }
#shockmaster_page .sn-teal   { background: linear-gradient(135deg,var(--teal),#0f766e); }
#shockmaster_page .sn-orange { background: linear-gradient(135deg,var(--orange),#b45309); }
#shockmaster_page .sn-purple { background: linear-gradient(135deg,var(--purple),#6d28d9); }
#shockmaster_page .sn-mix    { background: linear-gradient(135deg,var(--blue),var(--teal)); }

/* ===== アクセントライン ===== */
#shockmaster_page .accent-line {
  display: block;
  width: 52px;
  height: 4px;
  border-radius: 2px;
  background: linear-gradient(90deg,var(--blue),var(--teal));
  margin: 10px 0 20px;
}

/* ===== SVGキャンバス共通 ===== */
#shockmaster_page svg text { font-family: inherit; }

/* ===== 3〜4カラム効果カード ===== */
#shockmaster_page .effect-row {
  display: flex;
  gap: 12px;
  margin-top: 18px;
  flex-wrap: wrap;
}
#shockmaster_page .eff-card {
  flex: 1;
  min-width: 110px;
  border-radius: 14px;
  padding: 16px 12px;
  text-align: center;
  font-size: 13px;
  font-weight: 700;
}
#shockmaster_page .eff-card .ec-icon { font-size: 28px; margin-bottom: 8px; }
#shockmaster_page .eff-card .ec-text { font-size: 11px; font-weight: 400; color: #666; margin-top: 5px; line-height: 1.5; }
#shockmaster_page .ec-wave  { background: linear-gradient(135deg,#dbeafe,#bfdbfe);        color: var(--blue); }
#shockmaster_page .ec-heal  { background: linear-gradient(135deg,var(--teal-l),#a7f3d0);  color: var(--teal); }
#shockmaster_page .ec-pain  { background: linear-gradient(135deg,var(--orange-l),#fed7aa); color: var(--orange); }
#shockmaster_page .ec-move  { background: linear-gradient(135deg,var(--green-l),#bbf7d0);  color: var(--green); }
#shockmaster_page .ec-calc  { background: linear-gradient(135deg,var(--yellow-l),#fde68a); color: #b45309; }
#shockmaster_page .ec-nocut { background: linear-gradient(135deg,var(--purple-l),#ddd6fe); color: var(--purple); }

/* ===== 適応カード（写真つき） ===== */
#shockmaster_page .adapt-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 14px;
  margin-top: 16px;
}
#shockmaster_page .adapt-card {
  background: var(--white);
  border-radius: 14px;
  border: 1.5px solid var(--blue-l);
  overflow: hidden;
  text-align: center;
  display: flex;
  flex-direction: column;
}
#shockmaster_page .adapt-photo {
  display: block;
  aspect-ratio: 4 / 3;
  background: #eef4fb;
  overflow: hidden;
}
#shockmaster_page .adapt-photo img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
  transition: transform .5s ease;
}
#shockmaster_page .adapt-card:hover .adapt-photo img { transform: scale(1.05); }
#shockmaster_page .adapt-body { padding: 14px 12px 16px; }
#shockmaster_page .adapt-card .ai { font-size: 26px; line-height: 1; margin-bottom: 6px; }
#shockmaster_page .adapt-card .at { font-size: 14px; font-weight: 700; color: var(--text); margin-bottom: 4px; }
#shockmaster_page .adapt-card .ad { font-size: 12px; color: var(--text-s); line-height: 1.55; }

/* ===== 注意書きボックス ===== */
#shockmaster_page .note-box {
  background: var(--yellow-l);
  border-radius: 12px;
  padding: 14px 16px;
  margin-top: 18px;
  font-size: 13px;
  color: #92400e;
  line-height: 1.75;
}

/* ===== メリットグリッド ===== */
#shockmaster_page .merit-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 16px;
  margin-top: 20px;
}
#shockmaster_page .merit-card {
  background: linear-gradient(135deg, var(--blue-l) 0%, var(--teal-l) 100%);
  border-radius: 16px;
  padding: 22px 16px;
  text-align: center;
}
#shockmaster_page .merit-card .m-icon  { font-size: 34px; margin-bottom: 10px; }
#shockmaster_page .merit-card .m-title { font-size: 15px; font-weight: 700; color: var(--text); margin-bottom: 6px; }
#shockmaster_page .merit-card .m-desc  { font-size: 12px; color: var(--text-s); line-height: 1.6; }

/* ===== 写真フィギュア ===== */
#shockmaster_page .sm-figure {
  margin: 0;
}
#shockmaster_page .sm-figure img {
  width: 100%;
  height: auto;
  display: block;
  border-radius: 14px;
  box-shadow: 0 6px 20px rgba(30,58,95,0.14);
}
#shockmaster_page .sm-figure figcaption {
  font-size: 12px;
  color: var(--text-s);
  text-align: center;
  margin-top: 10px;
  line-height: 1.7;
}
#shockmaster_page .photo-duo {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 16px;
  align-items: start;
}
#shockmaster_page .photo-duo .sm-figure img { aspect-ratio: 4 / 3; object-fit: cover; }

/* ===== 比較表 ===== */
#shockmaster_page .spec-table-wrap { overflow-x: auto; }
#shockmaster_page .spec-table {
  width: 100%;
  border-collapse: collapse;
  font-size: 14px;
}
#shockmaster_page .spec-table th {
  padding: 10px 8px;
  border: 1px solid #e2e8f0;
  font-weight: 700;
}
#shockmaster_page .spec-table thead th:first-child { background: #f8fafc; color: #64748b; text-align: left; }
#shockmaster_page .spec-table thead th:last-child  { background: var(--blue-l); color: var(--blue); text-align: center; }
#shockmaster_page .spec-table td {
  padding: 10px 8px;
  border: 1px solid #f1f5f9;
  color: var(--text);
}
#shockmaster_page .spec-table tbody tr:nth-child(even) { background: #f8fafc; }
#shockmaster_page .spec-table td.val { text-align: center; font-weight: 700; }
#shockmaster_page .spec-note {
  font-size: 11px;
  color: #94a3b8;
  text-align: center;
  margin-top: 14px;
}

/* ========================================
   ヒーローセクション
======================================== */
#shockmaster_page #hero {
  background: linear-gradient(160deg, #0f172a 0%, #1e3a5f 50%, #0f2a3a 100%);
  padding: 60px 24px 56px;
  text-align: center;
  position: relative;
  overflow: hidden;
}
#shockmaster_page #hero::before {
  content: ''; position: absolute;
  width: 700px; height: 700px; border-radius: 50%;
  background: radial-gradient(circle, rgba(37,99,235,.18) 0%, transparent 65%);
  top: -200px; left: 50%; transform: translateX(-50%);
  pointer-events: none;
}
#shockmaster_page #hero::after {
  content: ''; position: absolute;
  width: 400px; height: 400px; border-radius: 50%;
  background: radial-gradient(circle, rgba(13,148,136,.14) 0%, transparent 65%);
  bottom: -80px; right: -60px;
  pointer-events: none;
}
#shockmaster_page #hero > * { position: relative; z-index: 1; }
#shockmaster_page .hero-badge-wrap { margin-bottom: 18px; }
#shockmaster_page .hero-badge {
  display: inline-flex; align-items: center; gap: 6px;
  background: rgba(255,255,255,.1);
  border: 1px solid rgba(255,255,255,.22);
  border-radius: 99px;
  padding: 6px 18px;
  font-size: 12px; font-weight: 700;
  color: #bfdbfe; margin: 4px;
  backdrop-filter: blur(6px);
}
#shockmaster_page .hero-title {
  font-size: clamp(26px,5vw,44px);
  font-weight: 900; color: #fff;
  line-height: 1.3; margin-bottom: 16px;
  text-shadow: 0 2px 24px rgba(0,0,0,.5);
}
#shockmaster_page .hero-title .hl  { color: #7dd3fc; }
#shockmaster_page .hero-title .hl2 { color: #5eead4; }
#shockmaster_page .hero-sub {
  font-size: 16px;
  color: rgba(255,255,255,.78);
  max-width: 580px;
  margin: 0 auto 36px;
  line-height: 1.9;
}
#shockmaster_page .hero-figure {
  max-width: 520px;
  margin: 32px auto 0;
}
#shockmaster_page .hero-figure img {
  width: 100%; height: auto; display: block;
  border-radius: 16px;
  box-shadow: 0 12px 36px rgba(0,0,0,.42);
}
#shockmaster_page .hero-figure figcaption {
  font-size: 12px;
  color: rgba(255,255,255,.6);
  margin-top: 10px;
}

/* ===== ヒーロー ステップ ===== */
#shockmaster_page .step-indicator {
  display: flex;
  align-items: center;
  justify-content: center;
  margin-top: 32px;
}
#shockmaster_page .step-item {
  display: flex; flex-direction: column; align-items: center;
  font-size: 12px; color: rgba(255,255,255,.7);
  width: 76px; text-align: center;
}
#shockmaster_page .step-circle {
  width: 38px; height: 38px; border-radius: 50%;
  display: flex; align-items: center; justify-content: center;
  font-size: 18px; margin-bottom: 4px;
}
#shockmaster_page .step-line {
  width: 36px; height: 2px;
  background: linear-gradient(90deg,rgba(56,189,248,.5),rgba(45,212,191,.5));
  margin-bottom: 16px;
}

/* ===== クロージング ===== */
#shockmaster_page #closing {
  background: linear-gradient(135deg, #1e3a5f 0%, #0d4a42 100%);
  padding: 68px 24px;
  text-align: center;
  color: #fff;
}
#shockmaster_page #closing .c-title { font-size: clamp(20px,3.5vw,28px); font-weight: 900; margin-bottom: 14px; line-height: 1.5; }
#shockmaster_page #closing .c-sub   { font-size: 15px; opacity: .88; margin-bottom: 28px; line-height: 1.88; }

/* ===== 店舗一覧（クロージング内） ===== */
#shockmaster_page .store-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 20px;
  margin: 8px 0 0;
  text-align: left;
}
#shockmaster_page .store-card {
  background: #fff;
  border-radius: 16px;
  overflow: hidden;
  box-shadow: 0 8px 24px rgba(0,0,0,0.16);
  display: flex;
  flex-direction: column;
  transition: transform .3s ease, box-shadow .3s ease;
}
#shockmaster_page .store-card:hover {
  transform: translateY(-4px);
  box-shadow: 0 14px 32px rgba(0,0,0,0.22);
}
#shockmaster_page .store-thumb {
  display: block;
  aspect-ratio: 4 / 3;
  background: #eef4f8;
  overflow: hidden;
}
#shockmaster_page .store-thumb img {
  width: 100%; height: 100%;
  object-fit: cover;
  display: block;
  transition: transform .5s ease;
}
#shockmaster_page .store-card:hover .store-thumb img { transform: scale(1.06); }
#shockmaster_page .store-noimg {
  display: flex; align-items: center; justify-content: center;
  width: 100%; height: 100%;
  color: #aab4bf; font-size: 13px; font-weight: 700;
}
#shockmaster_page .store-body {
  padding: 16px 16px 20px;
  display: flex;
  flex-direction: column;
  flex: 1;
}
#shockmaster_page .store-name {
  font-size: 17px; font-weight: 900;
  color: var(--text); line-height: 1.4;
  margin-bottom: 10px;
}
#shockmaster_page .store-hours-label {
  display: inline-block;
  font-size: 11px; font-weight: 700;
  color: var(--teal); background: var(--teal-l);
  border-radius: 6px; padding: 2px 8px; margin-bottom: 6px;
}
#shockmaster_page .store-hours {
  font-size: 13px; color: var(--text-s);
  line-height: 1.7; margin-bottom: 16px;
}
#shockmaster_page .store-btn {
  margin-top: auto;
  display: block; text-align: center;
  background: linear-gradient(135deg, var(--blue), var(--teal));
  color: #fff; font-weight: 800; font-size: 14px;
  border-radius: 99px; padding: 11px 16px;
  text-decoration: none;
  transition: opacity .2s ease;
}
#shockmaster_page .store-btn:hover { opacity: .88; color: #fff; }

/* ===== 免責文 ===== */
#shockmaster_page .sm-disclaimer {
  margin-top: 32px;
  font-size: 12px;
  line-height: 1.9;
  color: rgba(255,255,255,0.75);
}

/* ===== アニメーション ===== */
@keyframes smFloatUp {
  0%,100% { transform: translateY(0); }
  50%     { transform: translateY(-8px); }
}
@keyframes smFloatParticle {
  0%   { transform: translateY(0) scale(1); opacity: 0; }
  12%  { opacity: .9; }
  88%  { opacity: .4; }
  100% { transform: translateY(-360px) scale(.3); opacity: 0; }
}

/* ===== プログレスバー ===== */
#shockmaster_page #progress-bar {
  position: fixed; top: 0; left: 0; height: 4px;
  background: linear-gradient(90deg,var(--blue),var(--teal),var(--orange));
  width: 0%; z-index: 1000; transition: width 0.1s;
}

/* ===== ナビドット ===== */
#shockmaster_page #nav-dots {
  position: fixed; right: 16px; top: 50%; transform: translateY(-50%);
  display: flex; flex-direction: column; gap: 10px; z-index: 999;
}
#shockmaster_page .nav-dot {
  width: 10px; height: 10px; border-radius: 50%;
  background: rgba(37,99,235,.3); border: 2px solid var(--blue);
  cursor: pointer; transition: background 0.3s, transform 0.3s;
}
#shockmaster_page .nav-dot.active { background: var(--blue); transform: scale(1.35); }

/* ===== レスポンシブ ===== */
@media (max-width: 820px) {
  #shockmaster_page .store-grid { grid-template-columns: repeat(2, 1fr); gap: 14px; }
}
@media (max-width: 600px) {
  #shockmaster_page .section      { padding: 32px 12px; }
  #shockmaster_page .section-card { padding: 22px 14px; }
  #shockmaster_page .merit-grid,
  #shockmaster_page .adapt-grid   { grid-template-columns: 1fr 1fr; gap: 10px; }
  #shockmaster_page .effect-row   { gap: 8px; }
  #shockmaster_page .hero-title   { font-size: 22px; }
  #shockmaster_page .adapt-body   { padding: 10px 8px 12px; }
  #shockmaster_page .adapt-card .at { font-size: 13px; }
  #shockmaster_page .adapt-card .ad { font-size: 11px; }
}
@media (max-width: 520px) {
  #shockmaster_page .store-grid { grid-template-columns: 1fr; }
  #shockmaster_page .photo-duo  { grid-template-columns: 1fr; gap: 14px; }
}
