.miura-service-page.gas-page{
  --miura-color-theme:#f57c00;
  --miura-color-theme-light:#fff4e6;
}

.miura-service-page.gas-page .custom-h2,
.miura-service-page.gas-page .custom-h3,
.miura-service-page.gas-page .miura-service-h2{
  border-left-color:var(--miura-color-theme);
}

.miura-service-page.gas-page .custom-h2{
  border-bottom-color:var(--miura-color-theme);
}

.miura-service-page.gas-page > .gas-hero{
  border:1px solid #f7c59d;
  background:#fff4e6;
}

.miura-service-page.gas-page > .gas-hero > .case-summary{
  border-left-color:rgba(255,255,255,0.7);
  background:rgba(255,255,255,0.08);
}

.miura-service-page.gas-page .gas-contact .catch-copy{
  border-color:var(--miura-color-theme);
  color:var(--miura-color-theme);
}

.miura-service-page.gas-page .gas-faq .faq-item .custom-h4{
  margin-top:1.1em;
}

.miura-service-page.gas-page > .gas-price > ul > li{
  font-weight:900;
  line-height:1.35;
}

.miura-service-page.gas-page > .gas-price > ul > li::first-line{
  font-weight:600;
  color:var(--miura-color-text-light);
  font-size:.92em;
}

/* ============================================================
   gas-troubles : Scoped CSS (Added for Gas Page New UI)
   - Safety: all rules are scoped under .gas-troubles
============================================================ */

/* Scope variables (only inside .gas-troubles) */
.gas-troubles {
  --gt-emergency-bg: #fff5f5;
  --gt-emergency-border: rgba(220, 50, 50, 0.4);
  --gt-emergency-bar-text: #b91c1c;

  --gt-card-emergency-border: rgba(241, 75, 75, 0.75);
  --gt-card-standard-border: rgba(30, 170, 160, 0.75);

  --gt-text: rgba(0, 0, 0, 0.86);
  --gt-subtext: rgba(0, 0, 0, 0.62);
  --gt-border: rgba(0, 0, 0, 0.1);
  --gt-surface: #ffffff;
  --gt-action-bg: rgba(0, 0, 0, 0.03);
}

/* Lead */
.gas-troubles .gt-lead {
  margin-bottom: 10px;
  font-size: 0.95rem;
  line-height: 1.6;
}

/* Pre-note */
.gas-troubles .gt-pre-note {
  display: block;
  width: 100%;
  box-sizing: border-box;
  font-size: 0.82rem;
  color: #666;
  margin-bottom: 24px;
  background: #f9f9f9;
  padding: 8px 10px;
  border-radius: 6px;
}

/* Emergency bar */
.gas-troubles .gt-emergency-bar {
  background: var(--gt-emergency-bg);
  border: 1px solid var(--gt-emergency-border);
  color: var(--gt-emergency-bar-text);
  padding: 10px 14px;
  border-radius: 8px;
  font-weight: 700;
  font-size: 0.92rem;
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 24px;
  flex-wrap: wrap;
  gap: 6px 8px;
  text-align: center;
  line-height: 1.4;
}
.gas-troubles .gt-emergency-text {
  overflow-wrap: anywhere;
  word-break: break-word;
}
.gas-troubles .gt-emergency-icon {
  margin-right: 0;
  font-size: 1.1rem;
}
.gas-troubles .gt-emergency-bar a {
  color: var(--gt-emergency-bar-text);
  text-decoration: underline;
  margin-left: 0;
  font-weight: 900;
}

/* Section title */
.gas-troubles .gt-section-title {
  font-size: 1.05rem;
  font-weight: 800;
  color: var(--gt-text);
  margin: 24px 0 12px;
  padding-left: 10px;
  border-left: 4px solid #ddd;
  line-height: 1.3;
}

/* Grid */
.gas-troubles .gt-grid-nav {
  display: grid;
  grid-template-columns: 1fr;
  gap: 12px;
}
@media (min-width: 720px) {
  .gas-troubles .gt-grid-nav {
    grid-template-columns: repeat(2, 1fr);
  }
}

/* Card */
.gas-troubles .gt-nav-card {
  position: relative;
  display: flex;
  align-items: center;
  gap: 14px;
  background: var(--gt-surface);
  border: 1px solid var(--gt-border);
  border-radius: 14px;
  padding: 16px 14px;
  text-decoration: none;
  box-shadow: 0 2px 6px rgba(0, 0, 0, 0.04);
  transition:
    transform 0.1s ease,
    background 0.1s,
    box-shadow 0.1s;
}

/* Focus visibility */
.gas-troubles .gt-nav-card:focus-visible,
.gas-troubles .st-pop-btn:focus-visible,
.gas-troubles .gt-retry-link:focus-visible {
  outline: 2px solid rgba(0, 0, 0, 0.35) !important;
  outline-offset: 2px !important;
}

/* Recommend badge */
.gas-troubles .gt-recommend-badge {
  position: absolute;
  top: 8px;
  right: 8px;
  font-size: 0.65rem;
  font-weight: bold;
  padding: 3px 8px;
  border-radius: 4px;
  line-height: 1;
  white-space: nowrap;
}
.gas-troubles .badge-tel {
  background: #fff3e0;
  color: #e65100;
  border: 1px solid #ffe0b2;
}
.gas-troubles .badge-line {
  background: #e8f5e9;
  color: #2e7d32;
  border: 1px solid #c8e6c9;
}

/* Card borders */
.gas-troubles .gt-nav-card.is-emergency {
  border-left: 5px solid var(--gt-card-emergency-border);
}
.gas-troubles .gt-nav-card.is-standard {
  border-left: 5px solid var(--gt-card-standard-border);
}

/* Press/hover */
.gas-troubles .gt-nav-card:active {
  transform: scale(0.99);
  background: #fafafa;
}
@media (hover: hover) {
  .gas-troubles .gt-nav-card:hover {
    transform: translateY(-2px);
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.08);
  }
}

.gas-troubles .gt-nav-icon {
  font-size: 1.8rem;
  flex-shrink: 0;
}
.gas-troubles .gt-nav-text {
  flex: 1;
  min-width: 0;
}
.gas-troubles .gt-card-title {
  display: block;
  font-weight: 800;
  font-size: 1rem;
  color: var(--gt-text);
  line-height: 1.3;
}
.gas-troubles .gt-card-desc {
  display: block;
  margin-top: 4px;
  font-size: 0.85rem;
  color: var(--gt-subtext);
}
.gas-troubles .gt-nav-arrow {
  font-size: 1.1rem;
  color: rgba(0, 0, 0, 0.35);
  font-weight: 900;
}

/* Divider */
.gas-troubles .gt-hr {
  margin: 30px 0;
  border: none;
  border-top: 1px solid var(--gt-border);
}

/* Anchor scroll margin */
.gas-troubles .gt-symptom-target {
  scroll-margin-top: 100px;
}

/* Target title */
.gas-troubles .gt-target-title {
  font-size: 1.15rem;
  font-weight: 800;
  margin: 0 0 12px;
  color: var(--gt-text);
}

/* Action box */
.gas-troubles .gt-action-box {
  background: var(--gt-action-bg);
  border: 1px solid var(--gt-border);
  border-radius: 14px;
  padding: 20px 16px;
}
.gas-troubles .gt-action-lead {
  margin: 0 0 16px;
  font-size: 0.95rem;
  line-height: 1.6;
  color: var(--gt-text);
}
.gas-troubles .gt-relief-text {
  font-size: 0.85rem;
  color: #555;
  margin-top: 10px;
  margin-bottom: 0;
  font-weight: 500;
}

/* CTA row */
.gas-troubles .gt-cta-row {
  display: grid;
  grid-template-columns: 1fr;
  gap: 10px;
  margin-top: 12px;
}
@media (min-width: 768px) {
  .gas-troubles .gt-cta-row {
    grid-template-columns: 1fr 1fr;
  }
}
.gas-troubles .btn-text {
  overflow-wrap: anywhere;
}

/* Deep link */
.gas-troubles .gt-deep-link {
  margin-top: 14px;
  text-align: center;
}
.gas-troubles .gt-deep-link a {
  color: #0073aa;
  text-decoration: underline;
  font-size: 0.9rem;
  font-weight: 600;
}

/* details */
.gas-troubles .gt-details {
  margin-top: 18px;
  background: #fff;
  border: 1px solid var(--gt-border);
  border-radius: 10px;
  padding: 10px 12px;
}
.gas-troubles .gt-details > summary {
  cursor: pointer;
  font-weight: 700;
  color: var(--gt-text);
  font-size: 0.9rem;
}
.gas-troubles .gt-checklist {
  margin-top: 8px;
  font-size: 0.9rem;
  padding-left: 20px;
}

/* Retry link */
.gas-troubles .gt-retry-link {
  display: block;
  text-align: right;
  font-size: 0.8rem;
  color: #888;
  margin-top: 14px;
  text-decoration: none;
}

.gas-troubles .gt-footer-note {
  margin-top: 20px;
}

.gas-troubles .gt-mt-30 {
  margin-top: 30px;
}
.gas-troubles .gt-mt-40 {
  margin-top: 40px;
}

/* ============================================================
   Gas page: Self-check + Guarantee (no conflict / scoped)
   - Scope: .gas-selfcheck, .gas-guarantee, .gt-selfcheck
============================================================ */

.gas-selfcheck .gas-selfcheck-lead,
.gas-guarantee .gas-guarantee-lead,
.gas-guarantee .gas-guarantee-note {
  margin: 0 0 14px;
  line-height: 1.75;
  color: rgba(0, 0, 0, 0.78);
}

.gas-selfcheck .gt-selfcheck {
  display: grid;
  gap: 18px;
  margin-top: 14px;
}

.gas-selfcheck .gt-symptom {
  border: 1px solid rgba(0, 0, 0, 0.1);
  border-radius: 14px !important;
  padding: 14px 14px;
  background: #fff;
}

.gas-selfcheck .gt-lane {
  border-radius: 10px;
  padding: 12px 12px;
  margin: 12px 0 0;
}

.gas-selfcheck .gt-lane-title {
  margin: 0 0 8px;
  font-weight: 800;
  line-height: 1.4;
}

.gas-selfcheck .gt-a {
  background: rgba(0, 0, 0, 0.03);
  border: 1px solid rgba(0, 0, 0, 0.08);
}

.gas-selfcheck details.gt-b {
  border: 1px solid rgba(0, 0, 0, 0.08);
  background: #fff;
}

.gas-selfcheck details.gt-b > summary {
  cursor: pointer;
  list-style: none;
  padding: 12px 12px;
  border-radius: 10px;
  font-weight: 800;
  background: rgba(0, 0, 0, 0.02);
}

.gas-selfcheck details.gt-b > summary::-webkit-details-marker {
  display: none;
}

.gas-selfcheck details.gt-b[open] > summary {
  border-bottom-left-radius: 0;
  border-bottom-right-radius: 0;
  border-bottom: 1px solid rgba(0, 0, 0, 0.08);
}

.gas-selfcheck .gt-b-body {
  padding: 12px 12px;
}

.gas-selfcheck .gt-c {
  background: rgba(255, 120, 0, 0.06);
  border: 1px solid rgba(255, 120, 0, 0.22);
}

.gas-selfcheck .gt-list {
  margin: 0;
  padding-left: 1.15em;
}

.gas-selfcheck .gt-list li {
  margin: 0 0 8px;
  line-height: 1.65;
}

.gas-selfcheck .gt-meta,
.gas-selfcheck .gt-source {
  margin: 10px 0 0;
  font-size: 0.95em;
  color: rgba(0, 0, 0, 0.68);
}

.gas-selfcheck .gt-source {
  font-size: 0.9em;
}

.gas-selfcheck .gt-field {
  margin: 12px 0 0;
  padding: 12px 12px;
  border-left: 4px solid var(--color-main);
  background: rgba(241, 180, 0, 0.08);
  border-radius: 10px;
}

.gas-selfcheck .gt-field-title {
  margin: 0 0 6px;
  font-weight: 800;
}

.gas-selfcheck .gt-field-text {
  margin: 0;
  line-height: 1.7;
  color: rgba(0, 0, 0, 0.8);
}

.gas-selfcheck .gt-case-guide {
  margin: 12px 0 0;
  padding: 12px 12px;
  border: 1px dashed rgba(0, 0, 0, 0.18);
  border-radius: 10px;
  background: rgba(0, 0, 0, 0.02);
}

.gas-selfcheck .gt-case-text {
  margin: 0 0 10px;
  line-height: 1.7;
  color: rgba(0, 0, 0, 0.78);
}

/* Guarantee */
.gas-guarantee {
  border: 1px solid rgba(0, 0, 0, 0.1);
  border-radius: 14px !important;
  padding: 16px 14px;
  background: #fff;
}

.gas-guarantee .gas-guarantee-list {
  margin: 12px 0 14px;
  padding-left: 1.15em;
}

.gas-guarantee .gas-guarantee-list li {
  margin: 0 0 8px;
  line-height: 1.65;
}

/* Mobile tightening */
@media (max-width: 600px) {
  .gas-selfcheck .gt-symptom {
    padding: 12px 12px;
  }
  .gas-selfcheck details.gt-b > summary,
  .gas-selfcheck .gt-b-body {
    padding: 10px 10px;
  }
}

@media (max-width: 600px) {
  .miura-service-page.gas-page .gas-selfcheck .gt-case-guide .hero-quick-link {
    display: block;
    width: 100%;
    max-width: 100%;
    box-sizing: border-box;
    text-align: center;
    white-space: normal;
  }
}
