/* ===================================================================
   06_page_support.css
   災害時の対応ページ (support.html) 専用スタイル
   アラートバナー / ステップカード / マイコンメーター復帰
   LPガスの強み / サイドバー
   =================================================================== */


/* --- アラートバナー ----------------------------------------------------- */

/* ===========================================================
   22. アラートバナー  ※ support.html 固有
   =========================================================== */
.alert-banner {
  background: #fef2f2;
  border-bottom: 3px solid var(--danger);
  padding: 16px 24px;
}

.alert-banner-inner {
  max-width: 1200px;
  margin: 0 auto;
  display: flex;
  align-items: center;
  gap: 12px;
}

.alert-icon { font-size: 1.4rem; flex-shrink: 0; }

.alert-banner p {
  font-size: 0.9rem;
  color: #7f1d1d;
  font-weight: 500;
}

/* --- メインレイアウト（2カラム） ---------------------------------------------- */

/* ===========================================================
   23. メインレイアウト（2カラム）  ※ support.html 固有
   =========================================================== */
.main-layout {
  max-width: 1200px;
  margin: 0 auto;
  padding: 56px 24px;
  display: grid;
  grid-template-columns: 1fr 280px;
  gap: 48px;
  align-items: start;
}

/* --- コンテンツ見出し・リード ------------------------------------------------ */

/* ===========================================================
   24. コンテンツ見出し・リード  ※ support.html 固有
   =========================================================== */
.content-title {
  font-family: 'Noto Serif JP', serif;
  font-size: clamp(1.3rem, 2.5vw, 1.8rem);
  font-weight: 700;
  color: var(--text);
  margin-bottom: 16px;
  line-height: 1.4;
}

.content-lead {
  font-size: 0.95rem;
  color: var(--text-muted);
  line-height: 1.85;
  margin-bottom: 40px;
  padding: 20px 24px;
  background: var(--light-bg);
  border-left: 3px solid var(--navy);
  border-radius: 0 var(--radius) var(--radius) 0;
}

/* --- ステップカード（地震対応フロー） -------------------------------------------- */

/* ===========================================================
   25. ステップカード（地震対応）  ※ support.html 固有
   =========================================================== */
.steps-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 24px;
  margin-bottom: 48px;
}

.step-card {
  border-radius: var(--radius);
  overflow: hidden;
  box-shadow: var(--shadow);
  border: 1px solid var(--border);
  background: #fff;
}

.step-card-header {
  padding: 20px 24px 16px;
  display: flex;
  align-items: flex-start;
  gap: 14px;
}

.step-card.earthquake .step-card-header { background: var(--danger); }
.step-card.aftermath  .step-card-header { background: var(--navy); }

.step-num {
  width: 36px;
  height: 36px;
  border-radius: 50%;
  background: rgba(255,255,255,0.2);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.1rem;
  flex-shrink: 0;
}

.step-card-header h3 {
  color: #fff;
  font-size: 1rem;
  font-weight: 700;
  line-height: 1.4;
  margin-top: 6px;
}

.step-card img.step-img {
  width: 100%;
  height: 180px;
  object-fit: cover;
  display: block;
}

.step-card-body { padding: 20px 24px; }

.step-card-body p {
  font-size: 0.88rem;
  color: var(--text-muted);
  line-height: 1.8;
}

/* --- マイコンメーター復帰ステップ ---------------------------------------------- */

/* ===========================================================
   26. マイコンメーター復帰ステップ  ※ support.html 固有
   =========================================================== */
.meter-section {
  background: var(--card-bg);
  border-radius: var(--radius);
  padding: 36px;
  margin-bottom: 40px;
  border: 1px solid var(--border);
  box-shadow: var(--shadow);
}

.meter-section h2 {
  font-family: 'Noto Serif JP', serif;
  font-size: 1.3rem;
  font-weight: 700;
  color: var(--text);
  margin-bottom: 16px;
  display: flex;
  align-items: center;
  gap: 10px;
}

.meter-section .lead {
  font-size: 0.92rem;
  color: var(--text-muted);
  line-height: 1.8;
  margin-bottom: 32px;
}

.meter-steps {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 16px;
  margin-bottom: 28px;
}

.meter-step {
  background: #fff;
  border-radius: 10px;
  padding: 20px 16px;
  text-align: center;
  border: 1px solid var(--border);
  position: relative;
  box-shadow: var(--shadow);
}

.meter-step::after {
  content: '→';
  position: absolute;
  right: -14px;
  top: 50%;
  transform: translateY(-50%);
  color: var(--text-muted);
  font-size: 1.1rem;
  z-index: 1;
}

.meter-step:last-child::after { display: none; }

.meter-step-num {
  width: 32px;
  height: 32px;
  background: var(--navy);
  color: #fff;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 0.85rem;
  font-weight: 700;
  margin: 0 auto 12px;
}

.meter-step-icon {
  font-size: 1.8rem;
  margin-bottom: 10px;
  display: block;
}

.meter-step h4 {
  font-size: 0.82rem;
  font-weight: 700;
  color: var(--text);
  margin-bottom: 6px;
  line-height: 1.4;
}

.meter-step p {
  font-size: 0.75rem;
  color: var(--text-muted);
  line-height: 1.5;
}

.meter-notice {
  background: #fffbeb;
  border: 1px solid #fde68a;
  border-radius: 8px;
  padding: 16px 20px;
  display: flex;
  gap: 12px;
  align-items: flex-start;
}

.meter-notice-icon { font-size: 1.2rem; flex-shrink: 0; margin-top: 2px; }

.meter-notice p {
  font-size: 0.85rem;
  color: #78350f;
  line-height: 1.7;
}

/* --- LPガスの強み（統計カード） ---------------------------------------------- */

/* ===========================================================
   27. LPガスの強み（統計）  ※ support.html 固有
   =========================================================== */
.strength-section {
  background: var(--navy);
  border-radius: var(--radius);
  padding: 36px;
  color: #fff;
  margin-bottom: 40px;
}

.strength-section h2 {
  font-family: 'Noto Serif JP', serif;
  font-size: 1.3rem;
  font-weight: 700;
  color: #fff;
  margin-bottom: 8px;
  display: flex;
  align-items: center;
  gap: 10px;
}

.strength-badge {
  display: inline-block;
  background: rgba(255,255,255,0.2);
  color: #fff;
  font-size: 0.75rem;
  font-weight: 700;
  padding: 3px 10px;
  border-radius: 20px;
  letter-spacing: 0.06em;
}

.strength-lead {
  font-size: 0.92rem;
  color: rgba(255,255,255,0.75);
  line-height: 1.85;
  margin-bottom: 28px;
}

.strength-stats {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 16px;
}

.stat-item {
  background: rgba(255,255,255,0.07);
  border-radius: 10px;
  padding: 20px 16px;
  text-align: center;
  border: 1px solid rgba(255,255,255,0.1);
}

.stat-num {
  font-family: 'Noto Serif JP', serif;
  font-size: 2.2rem;
  font-weight: 700;
  color: #fff;
  line-height: 1;
  margin-bottom: 6px;
}

.stat-unit {
  font-size: 0.9rem;
  color: rgba(255,255,255,0.55);
  margin-bottom: 4px;
}

.stat-label {
  font-size: 0.8rem;
  color: rgba(255,255,255,0.5);
  line-height: 1.5;
}

/* --- サイドバー・サイドカード ------------------------------------------------ */

/* ===========================================================
   28. サイドバー・サイドカード  ※ support.html 固有
   =========================================================== */
.sidebar { display: flex; flex-direction: column; gap: 24px; }

.side-card {
  background: var(--card-bg);
  border-radius: var(--radius);
  border: 1px solid var(--border);
  overflow: hidden;
  box-shadow: var(--shadow);
}

.side-card-header {
  padding: 16px 20px;
  font-weight: 700;
  font-size: 0.9rem;
  display: flex;
  align-items: center;
  gap: 8px;
}

.side-card-header.red    { background: #fef2f2; color: #7f1d1d;   border-bottom: 2px solid var(--danger); }
.side-card-header.blue   { background: var(--navy); color: #fff;   border-bottom: none; }
.side-card-header.orange { background: var(--light-bg); color: var(--text); border-bottom: 2px solid var(--border); }

.side-card-body { padding: 20px; }

.emergency-phone { text-align: center; margin-bottom: 16px; }

.emergency-phone .num {
  font-size: 1.8rem;
  font-weight: 700;
  color: var(--danger);
  letter-spacing: 0.04em;
  display: block;
}

.emergency-phone .label {
  font-size: 0.78rem;
  color: var(--text-muted);
  margin-top: 2px;
}

.office-list { display: flex; flex-direction: column; gap: 12px; }

.office-item { font-size: 0.82rem; line-height: 1.6; }

.office-item strong {
  display: block;
  color: var(--text);
  font-weight: 700;
  margin-bottom: 2px;
}

.office-item span { color: var(--text-muted); }

.quick-list { display: flex; flex-direction: column; gap: 8px; }

.quick-item {
  display: flex;
  align-items: flex-start;
  gap: 8px;
  font-size: 0.84rem;
  line-height: 1.6;
  color: var(--text);
  padding: 8px 12px;
  background: var(--light-bg);
  border-radius: 8px;
}

.quick-item-icon { flex-shrink: 0; font-size: 1rem; margin-top: 1px; }

.nav-menu { display: flex; flex-direction: column; }

.nav-menu a {
  padding: 12px 20px;
  font-size: 0.88rem;
  color: var(--text);
  border-bottom: 1px solid var(--border);
  display: flex;
  align-items: center;
  justify-content: space-between;
  transition: background 0.2s;
}

.nav-menu a:last-child  { border-bottom: none; }
.nav-menu a:hover       { background: var(--light-bg); color: var(--navy); }
.nav-menu a.active      { background: var(--navy); color: #fff; font-weight: 600; }
.nav-menu a .arrow      { color: var(--text-muted); font-size: 0.8rem; }

/* --- support.html レスポンシブ ----------------------------------------- */

/* ===========================================================
   31. support.html レスポンシブ
   =========================================================== */
@media (max-width: 1024px) {
  .main-layout    { grid-template-columns: 1fr; }
  .sidebar        { display: grid; grid-template-columns: repeat(2, 1fr); }
  .strength-stats { grid-template-columns: repeat(3, 1fr); }
}

@media (max-width: 768px) {
  .steps-grid        { grid-template-columns: 1fr; }
  .meter-steps       { grid-template-columns: repeat(2, 1fr); }
  .meter-step::after { display: none; }
  .strength-stats    { grid-template-columns: repeat(3, 1fr); }
  .sidebar           { grid-template-columns: 1fr; }
  .main-layout       { padding: 36px 20px; }
}

@media (max-width: 480px) {
  .meter-steps    { grid-template-columns: 1fr 1fr; }
  .strength-stats { grid-template-columns: 1fr; gap: 12px; }
}


