:root {
  --ink: #142024;
  --muted: #46545a;
  --line: #d9e2e4;
  --paper: #f7faf9;
  --white: #ffffff;
  --teal: #087f8c;
  --teal-dark: #055964;
  --lime: #d6f06b;
  --amber: #ffbf69;
  --shadow: 0 20px 50px rgba(10, 40, 48, 0.16);
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  color: var(--ink);
  background: var(--paper);
  font-family: "BIZ UDPGothic", "Yu Gothic UI", "Yu Gothic", "Hiragino Kaku Gothic ProN", Meiryo, system-ui, sans-serif;
  font-size: 16px;
  line-height: 1.7;
}

a {
  color: inherit;
}

.site-header {
  position: sticky;
  top: 0;
  z-index: 20;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 18px;
  padding: 10px clamp(16px, 4vw, 40px);
  background: rgba(255, 255, 255, 0.92);
  border-bottom: 1px solid rgba(217, 226, 228, 0.85);
  backdrop-filter: blur(14px);
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-size: 15px;
  font-weight: 800;
  text-decoration: none;
  white-space: nowrap;
}

.brand-mark {
  display: grid;
  place-items: center;
  width: 30px;
  height: 30px;
  color: var(--white);
  background: var(--teal);
  border-radius: 8px;
}

.nav {
  display: flex;
  gap: 16px;
  font-size: 13px;
  font-weight: 700;
}

.nav a {
  color: var(--muted);
  text-decoration: none;
  white-space: nowrap;
}

.hero {
  position: relative;
  min-height: 540px;
  display: grid;
  align-items: center;
  overflow: hidden;
}

.hero-image,
.hero-overlay {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
}

.hero-image {
  object-fit: cover;
}

.hero-overlay {
  background: linear-gradient(90deg, rgba(247, 250, 249, 0.96) 0%, rgba(247, 250, 249, 0.78) 38%, rgba(247, 250, 249, 0.18) 72%);
}

.hero-content {
  position: relative;
  z-index: 1;
  width: min(1160px, calc(100% - 48px));
  margin: 0 auto;
  padding: 64px 0;
  display: grid;
  justify-items: start;
}

h1,
h2,
h3,
p {
  margin-top: 0;
}

h1 {
  max-width: 10.5em;
  margin-bottom: 16px;
  font-size: clamp(34px, 5.8vw, 58px);
  line-height: 1.12;
  letter-spacing: 0;
}

.hero-copy {
  max-width: 760px;
  color: #22343a;
  font-size: clamp(14px, 1.6vw, 17px);
  font-weight: 600;
}

.hero-actions,
.controls {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  align-items: center;
}

.controls {
  width: fit-content;
  max-width: 100%;
  padding: 8px;
  background: #eef6f4;
  border: 1px solid var(--line);
  border-radius: 8px;
}

.control-select {
  display: flex;
  align-items: center;
  gap: 8px;
  min-height: 46px;
  padding-left: 8px;
  color: var(--muted);
  font-size: 13px;
  font-weight: 900;
  white-space: nowrap;
}

.control-select select {
  min-width: 170px;
  min-height: 40px;
  background: var(--white);
}

.button,
.filter-button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 40px;
  border: 1px solid var(--line);
  border-radius: 8px;
  padding: 8px 14px;
  font: inherit;
  font-weight: 800;
  line-height: 1.2;
  text-decoration: none;
  white-space: nowrap;
  cursor: pointer;
  transition:
    transform 180ms ease,
    box-shadow 180ms ease,
    border-color 180ms ease,
    background-color 180ms ease,
    color 180ms ease;
}

.button.primary {
  color: var(--white);
  background: var(--accent, var(--teal));
  border-color: var(--accent, var(--teal));
}

.button.secondary,
.filter-button {
  color: var(--ink);
  background: var(--white);
}

.filter-button.active {
  color: var(--white);
  background: var(--accent-dark, var(--teal-dark));
  border-color: var(--accent-dark, var(--teal-dark));
}

.button:hover,
.button:focus-visible,
.filter-button:hover,
.filter-button:focus-visible,
.table-link:hover,
.table-link:focus-visible,
.guide-link-card:hover,
.guide-link-card:focus-visible,
.review-link-card:hover,
.review-link-card:focus-visible,
.quick-map a:hover,
.quick-map a:focus-visible,
.section-map a:hover,
.section-map a:focus-visible {
  transform: translateY(-2px);
  box-shadow: 0 12px 24px rgba(10, 40, 48, 0.12);
}

.button:focus-visible,
.filter-button:focus-visible,
.table-link:focus-visible,
.guide-link-card:focus-visible,
.review-link-card:focus-visible,
.quick-map a:focus-visible,
.section-map a:focus-visible {
  outline: 2px solid color-mix(in srgb, var(--accent, var(--teal)) 70%, white);
  outline-offset: 2px;
}

.notice {
  display: flex;
  gap: 14px;
  width: min(1240px, calc(100% - 48px));
  margin: -20px auto 38px;
  padding: 12px 14px;
  position: relative;
  z-index: 2;
  background: var(--white);
  border: 1px solid var(--line);
  border-radius: 8px;
  box-shadow: var(--shadow);
  font-size: 13px;
  line-height: 1.6;
}

.quick-map {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 10px;
  width: min(1240px, calc(100% - 48px));
  margin: 0 auto 14px;
  padding: 12px;
  background: #142024;
  border-radius: 8px;
  box-shadow: var(--shadow);
}

.quick-map a,
.section-map a {
  display: grid;
  grid-template-columns: auto 1fr;
  gap: 6px 10px;
  align-items: center;
  padding: 12px;
  color: var(--ink);
  background: var(--white);
  border: 2px solid transparent;
  border-top: 5px solid var(--accent, var(--teal));
  border-radius: 8px;
  text-decoration: none;
}

.quick-map span,
.section-map span {
  display: grid;
  place-items: center;
  width: 28px;
  height: 28px;
  color: var(--white);
  background: var(--accent, var(--teal));
  border-radius: 8px;
  font-size: 12px;
  font-weight: 800;
}

.quick-map strong,
.section-map strong {
  font-size: 16px;
  line-height: 1.3;
  white-space: nowrap;
}

.section,
.finder {
  width: min(1240px, calc(100% - 48px));
  margin: 0 auto;
}

.section {
  padding: 34px 0;
}

.section-head {
  max-width: 720px;
  margin-bottom: 16px;
}

.section-head h2,
.finder h2 {
  margin-bottom: 8px;
  font-size: clamp(23px, 3vw, 34px);
  line-height: 1.22;
  letter-spacing: 0;
}

.section-head p,
.finder p {
  color: var(--muted);
  font-weight: 600;
}

.campaign-note {
  padding-top: 18px;
}

.campaign-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 12px;
}

.campaign-grid article {
  display: grid;
  gap: 8px;
  padding: 16px;
  background: var(--white);
  border: 1px solid var(--line);
  border-top: 5px solid var(--teal);
  border-radius: 8px;
}

.campaign-grid article,
.plan-table-wrap,
.result,
.guide-link-card,
.review-link-card,
.service-summary-card,
.deal-strip,
.service-focus,
.service-layout,
.notice,
.section-head,
.finder-form,
.section-map {
  transition:
    transform 220ms ease,
    box-shadow 220ms ease,
    opacity 220ms ease;
}

.js-motion .motion-reveal {
  opacity: 0;
  transform: translateY(12px);
}

.js-motion .motion-reveal.is-visible {
  opacity: 1;
  transform: translateY(0);
}

.js-motion .motion-reveal {
  will-change: transform, opacity;
}

.campaign-grid strong {
  color: var(--teal-dark);
  font-size: 15px;
}

.campaign-grid p {
  margin: 0;
  color: var(--muted);
  font-size: 13px;
  font-weight: 600;
}

.plan-table-wrap {
  width: 100%;
  margin-top: 16px;
  overflow-x: auto;
  background: var(--white);
  border: 1px solid var(--line);
  border-top: 6px solid var(--teal);
  border-radius: 8px;
}

.plan-table {
  width: 100%;
  min-width: 1020px;
  border-collapse: collapse;
}

.plan-table th,
.plan-table td {
  padding: 10px 12px;
  border-bottom: 1px solid #ecf1f2;
  text-align: left;
  vertical-align: middle;
  white-space: nowrap;
}

.plan-table th {
  color: var(--muted);
  background: #f7faf9;
  font-size: 13px;
  font-weight: 900;
}

.plan-table td:first-child {
  min-width: 210px;
}

.plan-table td strong,
.plan-table td span {
  display: block;
}

.plan-table td strong {
  font-size: 16px;
  line-height: 1.25;
}

.plan-table td.price-cell {
  font-weight: 700;
  white-space: normal;
}

.plan-table td.campaign-cell {
  max-width: 280px;
  white-space: normal;
  overflow-wrap: anywhere;
  word-break: keep-all;
  line-height: 1.45;
}

.plan-table td span {
  margin-top: 4px;
  color: var(--muted);
  font-size: 12px;
  font-weight: 800;
}

.table-link {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 34px;
  padding: 7px 12px;
  color: var(--white);
  background: var(--teal);
  border-radius: 8px;
  font-weight: 900;
  line-height: 1;
  text-decoration: none;
  white-space: nowrap;
}

.empty-table {
  padding: 22px;
  color: var(--muted);
  font-weight: 800;
}

.finder-band {
  margin: 24px 0 30px;
  padding: 36px 0;
  background: #e9f4f2;
  border-top: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
}

.finder {
  display: grid;
  gap: 14px;
  align-items: start;
}

.finder > div:first-child {
  max-width: 760px;
}

.finder-form {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 12px;
  padding: 14px;
  background: var(--white);
  border: 1px solid var(--line);
  border-radius: 8px;
}

label {
  display: grid;
  gap: 6px;
  color: var(--muted);
  font-size: 13px;
  font-weight: 800;
}

select {
  width: 100%;
  min-height: 38px;
  padding: 8px 10px;
  color: var(--ink);
  background: var(--paper);
  border: 1px solid var(--line);
  border-radius: 8px;
  font: inherit;
}

.finder-form .button {
  grid-column: 1 / -1;
}

.result {
  display: grid;
  gap: 12px;
  padding: 16px;
  background: var(--white);
  color: var(--ink);
  border: 1px solid var(--line);
  border-top: 6px solid var(--teal);
  border-radius: 8px;
}

.result strong {
  font-size: clamp(20px, 2.5vw, 26px);
  line-height: 1.2;
}

.result p {
  margin: 0;
  color: var(--muted);
  font-weight: 600;
}

.result small {
  color: var(--muted);
  line-height: 1.65;
}

.result-label {
  width: fit-content;
  padding: 4px 10px;
  color: var(--teal-dark);
  background: #e7f7f5;
  border-radius: 999px;
  font-size: 12px;
  font-weight: 900;
  line-height: 1.3;
  white-space: nowrap;
}

.estimate-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 10px;
}

.estimate-grid span {
  display: grid;
  gap: 6px;
  min-height: 82px;
  align-content: center;
  padding: 12px;
  background: #f7faf9;
  border: 1px solid #ecf1f2;
  border-radius: 8px;
  font-size: clamp(13px, 1.6vw, 16px);
  font-weight: 900;
  line-height: 1.2;
  white-space: nowrap;
}

.estimate-grid b {
  color: var(--muted);
  font-size: 12px;
  line-height: 1;
  white-space: nowrap;
}

.result-button {
  width: fit-content;
}

.guide-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 14px;
}

.guide-link-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 14px;
  margin-bottom: 14px;
}

.guide-link-card {
  display: grid;
  gap: 8px;
  min-height: 136px;
  padding: 18px;
  color: var(--ink);
  background: var(--white);
  border: 1px solid var(--line);
  border-left: 6px solid var(--teal);
  border-radius: 8px;
  text-decoration: none;
}

.guide-link-card span {
  color: var(--teal-dark);
  font-size: 13px;
  font-weight: 800;
}

.guide-link-card strong {
  font-size: 23px;
  line-height: 1.2;
}

.guide-link-card small {
  color: var(--muted);
  font-size: 14px;
  font-weight: 600;
}

.review-link-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 14px;
}

.review-link-card {
  display: grid;
  gap: 8px;
  min-height: 150px;
  padding: 18px;
  color: var(--ink);
  background: var(--white);
  border: 1px solid var(--line);
  border-top: 6px solid var(--teal);
  border-radius: 8px;
  text-decoration: none;
}

.review-link-card span {
  color: var(--muted);
  font-size: clamp(10px, 2.5vw, 13px);
  font-weight: 800;
  white-space: nowrap;
}

.review-link-card strong {
  font-size: clamp(20px, 4.6vw, 24px);
  line-height: 1.2;
  white-space: nowrap;
}

.review-link-card small {
  color: var(--muted);
  font-size: 14px;
  font-weight: 600;
}

.review-link-card.docomo {
  border-top-color: #c9171e;
}

.review-link-card.au {
  border-top-color: #eb5505;
}

.review-link-card.softbank {
  border-top-color: #6b7cff;
}

.review-link-card.wimax {
  border-top-color: #00a0df;
}

.review-link-card.rakuten {
  border-top-color: #bf0000;
}

.review-link-card.nuro {
  border-top-color: #e4007f;
}

.guide-grid article {
  padding: 18px;
  background: var(--white);
  border: 1px solid var(--line);
  border-radius: 8px;
}

.guide-grid p,
.content-panel p,
.side-panel p,
.service-focus p,
.deal-card small,
.summary-list strong,
.service-table td,
details p,
.footer p {
  font-weight: 600;
}

.icon {
  display: grid;
  place-items: center;
  width: 32px;
  height: 32px;
  margin-bottom: 10px;
  background: var(--lime);
  border-radius: 8px;
  font-weight: 900;
}

.faq {
  padding-bottom: 54px;
}

details {
  background: var(--white);
  border: 1px solid var(--line);
  border-radius: 8px;
}

details + details {
  margin-top: 12px;
}

summary {
  padding: 14px 16px;
  font-weight: 800;
  cursor: pointer;
}

details p {
  padding: 0 16px 16px;
  color: var(--muted);
}

.footer {
  display: flex;
  justify-content: space-between;
  gap: 28px;
  padding: 24px clamp(16px, 4vw, 40px);
  color: var(--white);
  background: #142024;
}

.footer p {
  margin: 8px 0 0;
  color: #c8d3d5;
}

.footer a {
  color: var(--lime);
  font-weight: 800;
}

@media (max-width: 860px) {
  .site-header,
  .footer {
    align-items: flex-start;
    flex-direction: column;
  }

  .nav {
    width: 100%;
    overflow-x: auto;
    padding-bottom: 4px;
  }

  .hero {
    min-height: 500px;
  }

  .hero-overlay {
    background: linear-gradient(180deg, rgba(247, 250, 249, 0.98) 0%, rgba(247, 250, 249, 0.84) 58%, rgba(247, 250, 249, 0.24) 100%);
  }

  .quick-map,
  .campaign-grid,
  .guide-grid,
  .guide-link-grid,
  .review-link-grid,
  .section-map,
  .finder,
  .service-handoff {
    grid-template-columns: 1fr;
  }

  .finder-form {
    grid-template-columns: 1fr;
  }

  .estimate-grid {
    grid-template-columns: 1fr;
  }

  .result {
    grid-column: auto;
  }
}

@media (max-width: 520px) {
  .notice {
    flex-direction: column;
    margin-top: -18px;
  }

  .button,
  .filter-button {
    width: 100%;
    text-align: center;
  }

  .controls {
    width: 100%;
  }

  .control-select {
    width: 100%;
    flex-direction: column;
    align-items: stretch;
    padding-left: 0;
  }

  .hero-content {
    width: min(100% - 28px, 700px);
    margin-left: 14px;
  }
}

.service-hero {
  width: min(1120px, calc(100% - 36px));
  margin: 0 auto;
  padding: 46px 0 26px;
}

.breadcrumb {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin-bottom: 16px;
  color: var(--muted);
  font-size: 13px;
}

.breadcrumb a {
  color: var(--teal-dark);
  font-weight: 800;
  text-decoration: none;
}

.service-hero-grid {
  display: grid;
  grid-template-columns: 1.05fr 0.95fr;
  gap: 18px;
  align-items: stretch;
}

.section-map {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(138px, 1fr));
  gap: 10px;
  margin-top: 14px;
  padding: 12px;
  background: linear-gradient(135deg, var(--accent-dark, #142024), var(--accent, #087f8c));
  border-radius: 8px;
}

.service-title-panel {
  padding: 24px;
  color: var(--white);
  background: linear-gradient(135deg, var(--accent-dark, #142024), var(--accent, #087f8c));
  border-radius: 8px;
}

.service-title-panel h1 {
  max-width: 10em;
  margin-bottom: 12px;
  font-size: clamp(31px, 5vw, 48px);
}

.service-title-panel p {
  color: #d9e4e6;
}

.service-summary-card {
  display: grid;
  gap: 10px;
  padding: 18px;
  background: var(--white);
  border: 1px solid color-mix(in srgb, var(--accent, var(--line)) 35%, var(--line));
  border-top: 6px solid var(--accent, var(--teal));
  border-radius: 8px;
}

.summary-list {
  display: grid;
  gap: 8px;
  padding: 0;
  margin: 0;
  list-style: none;
}

.summary-list li {
  display: grid;
  grid-template-columns: auto minmax(0, 1fr);
  gap: 12px;
  align-items: start;
  padding-bottom: 8px;
  border-bottom: 1px solid #ecf1f2;
}

.summary-list span {
  color: var(--muted);
  white-space: nowrap;
  font-weight: 700;
}

.summary-list strong {
  font-size: clamp(13px, 2vw, 16px);
  text-align: right;
  overflow-wrap: anywhere;
  font-weight: 800;
}

.summary-price {
  display: grid;
  gap: 8px;
  padding: 12px;
  background: color-mix(in srgb, var(--accent, var(--teal)) 6%, #ffffff);
  border: 1px solid color-mix(in srgb, var(--accent, var(--teal)) 16%, var(--line));
  border-radius: 8px;
}

.summary-price .price-row {
  display: grid;
  grid-template-columns: auto minmax(0, 1fr);
  gap: 10px;
  align-items: start;
}

.summary-price .price-row span {
  color: var(--muted);
  font-size: 12px;
  font-weight: 800;
  white-space: nowrap;
}

.summary-price .price-row strong {
  color: var(--accent-dark, var(--teal-dark));
  font-size: 15px;
  line-height: 1.35;
  text-align: right;
  overflow-wrap: anywhere;
}

.summary-price small {
  color: var(--muted);
  font-size: 12px;
  line-height: 1.5;
}

.deal-strip {
  width: min(1120px, calc(100% - 36px));
  margin: 0 auto 20px;
  padding: 18px;
  background: var(--white);
  border: 1px solid color-mix(in srgb, var(--accent, var(--line)) 30%, var(--line));
  border-top: 6px solid var(--accent, var(--teal));
  border-radius: 8px;
}

.deal-header {
  display: grid;
  gap: 8px;
  margin-bottom: 14px;
}

.deal-header h2 {
  font-size: clamp(22px, 3.2vw, 32px);
  line-height: 1.2;
}

.as-of {
  display: inline-flex;
  width: fit-content;
  max-width: 100%;
  padding: 6px 10px;
  color: var(--accent-dark, var(--teal-dark));
  background: color-mix(in srgb, var(--accent, var(--teal)) 10%, #ffffff);
  border: 1px solid color-mix(in srgb, var(--accent, var(--teal)) 25%, #ffffff);
  border-radius: 999px;
  font-size: clamp(11px, 2.4vw, 13px);
  font-weight: 800;
  line-height: 1.35;
  white-space: normal;
}

.deal-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(220px, 1fr));
  gap: 10px;
}

.deal-card {
  display: grid;
  gap: 8px;
  min-height: 126px;
  padding: 14px;
  background: color-mix(in srgb, var(--accent, var(--teal)) 7%, #ffffff);
  border: 1px solid color-mix(in srgb, var(--accent, var(--teal)) 18%, var(--line));
  border-radius: 8px;
}

.deal-card span {
  color: var(--muted);
  font-size: 13px;
  font-weight: 800;
}

.deal-card strong {
  color: var(--accent-dark, var(--teal-dark));
  font-size: clamp(18px, 2vw, 24px);
  line-height: 1.18;
  overflow-wrap: anywhere;
}

.deal-card small {
  color: var(--muted);
  line-height: 1.65;
}

.price-matrix {
  width: 100%;
  border-collapse: collapse;
  font-size: 13px;
  line-height: 1.5;
}

.price-matrix th,
.price-matrix td {
  padding: 8px 0;
  border-bottom: 1px solid color-mix(in srgb, var(--accent, var(--line)) 14%, var(--line));
  vertical-align: top;
}

.price-matrix thead th {
  padding-top: 0;
  color: var(--muted);
  font-size: 12px;
  font-weight: 800;
  white-space: nowrap;
}

.price-matrix thead th:first-child {
  width: 5em;
}

.price-matrix tbody th {
  color: var(--muted);
  font-weight: 800;
  white-space: nowrap;
}

.price-matrix td strong {
  display: block;
  color: var(--accent-dark, var(--teal-dark));
  font-size: 15px;
  line-height: 1.25;
}

.price-matrix td span {
  display: block;
  color: var(--muted);
  font-size: 12px;
  line-height: 1.45;
}

.value-visual {
  display: grid;
  grid-template-columns: 1fr auto 1fr auto 1fr;
  gap: 10px;
  align-items: center;
  margin-top: 12px;
  padding: 14px;
  background: #fbfcfc;
  border: 1px solid var(--line);
  border-radius: 8px;
}

.flow-node {
  display: grid;
  gap: 4px;
  min-height: 78px;
  place-items: center;
  padding: 10px;
  text-align: center;
  background: #ffffff;
  border: 1px solid color-mix(in srgb, var(--accent, var(--teal)) 22%, var(--line));
  border-radius: 8px;
}

.flow-node b {
  color: var(--accent-dark, var(--teal-dark));
  font-size: clamp(14px, 2vw, 16px);
  line-height: 1.2;
  overflow-wrap: anywhere;
}

.flow-node span {
  color: var(--muted);
  font-size: 12px;
  line-height: 1.5;
}

.flow-arrow {
  color: var(--accent, var(--teal));
  font-size: 22px;
  font-weight: 900;
}

.service-handoff {
  display: grid;
  grid-template-columns: 1fr 0.95fr;
  gap: 16px;
  width: min(1240px, calc(100% - 48px));
  margin: 0 auto 20px;
  padding: 18px;
  background: #ffffff;
  border: 1px solid var(--line);
  border-radius: 8px;
}

.handoff-copy h2 {
  margin-bottom: 8px;
  font-size: clamp(21px, 2.5vw, 28px);
  line-height: 1.25;
}

.handoff-copy p {
  color: var(--muted);
}

.handoff-visual {
  display: grid;
  align-items: center;
  padding: 14px;
  background: #fbfcfc;
  border: 1px solid var(--line);
  border-radius: 8px;
}

.handoff-stage {
  display: grid;
  gap: 10px;
}

.handoff-node {
  display: grid;
  gap: 4px;
  padding: 14px 16px;
  text-align: center;
  background: var(--white);
  border: 1px solid color-mix(in srgb, var(--accent, var(--teal)) 18%, var(--line));
  border-radius: 8px;
}

.handoff-node b {
  color: var(--accent-dark, var(--teal-dark));
  font-size: 16px;
}

.handoff-node span {
  color: var(--muted);
  font-size: 13px;
}

.handoff-node.emphasized {
  background: color-mix(in srgb, var(--accent, var(--teal)) 8%, #ffffff);
  border-color: color-mix(in srgb, var(--accent, var(--teal)) 28%, var(--line));
}

.handoff-arrow {
  justify-self: center;
  color: var(--accent, var(--teal));
  font-size: 20px;
  font-weight: 900;
}

.discount-badge {
  display: inline-flex;
  justify-content: center;
  width: fit-content;
  max-width: 100%;
  padding: 8px 12px;
  color: #ffffff;
  background: var(--accent, var(--teal));
  border-radius: 999px;
  font-weight: 900;
  line-height: 1.25;
  white-space: normal;
}

.service-focus {
  display: grid;
  grid-template-columns: 0.78fr 1.22fr;
  gap: 14px;
  width: min(1240px, calc(100% - 48px));
  margin: 0 auto 20px;
  padding: 18px;
  background: #ffffff;
  border: 1px solid var(--line);
  border-radius: 8px;
}

.service-focus h2 {
  margin-bottom: 8px;
  font-size: clamp(21px, 2.5vw, 28px);
  line-height: 1.25;
}

.service-focus p {
  color: var(--muted);
}

.focus-label {
  display: inline-flex;
  width: fit-content;
  margin-bottom: 10px;
  padding: 4px 10px;
  color: var(--accent-dark, var(--teal-dark));
  background: color-mix(in srgb, var(--accent, var(--teal)) 10%, #ffffff);
  border-radius: 999px;
  font-size: 12px;
  font-weight: 900;
}

.focus-list {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 10px;
  padding: 0;
  margin: 0;
  list-style: none;
}

.focus-list li {
  display: grid;
  gap: 6px;
  padding: 12px;
  background: #f7faf9;
  border: 1px solid #ecf1f2;
  border-radius: 8px;
}

.focus-list strong {
  color: var(--accent-dark, var(--teal-dark));
  line-height: 1.35;
}

.focus-list span {
  color: var(--muted);
  font-size: 13px;
  line-height: 1.65;
  font-weight: 600;
}

.source-list {
  display: flex;
  flex-wrap: wrap;
  gap: 8px 16px;
  padding-left: 1.2em;
  margin: 14px 0 0;
  color: var(--muted);
  font-size: 13px;
}

.source-list a {
  color: var(--teal-dark);
  font-weight: 800;
}

.service-layout {
  display: grid;
  grid-template-columns: minmax(0, 1fr) 320px;
  gap: 18px;
  width: min(1240px, calc(100% - 48px));
  margin: 0 auto 48px;
}

.article-stack {
  display: grid;
  gap: 14px;
}

.content-panel,
.side-panel {
  padding: 18px;
  background: var(--white);
  border: 1px solid var(--line);
  border-radius: 8px;
}

.content-panel h2 {
  margin-bottom: 10px;
  font-size: clamp(21px, 2.5vw, 28px);
  line-height: 1.25;
}

.content-panel h3 {
  margin-bottom: 8px;
}

.check-list,
.caution-list {
  display: grid;
  gap: 8px;
  padding-left: 1.2em;
}

.side-panel {
  position: sticky;
  top: 86px;
  align-self: start;
  border-top: 6px solid var(--accent, var(--teal));
}

.side-panel .button {
  display: block;
  width: 100%;
  margin-top: 12px;
  text-align: center;
}

.service-table {
  width: 100%;
  border-collapse: collapse;
  overflow-wrap: anywhere;
}

.service-table th,
.service-table td {
  padding: 9px 10px;
  border-bottom: 1px solid var(--line);
  text-align: left;
  vertical-align: top;
}

.service-table th {
  width: 32%;
  color: var(--muted);
  font-weight: 800;
  white-space: nowrap;
}

.service-table td {
  color: var(--ink);
  font-weight: 600;
}

@media (max-width: 860px) {
  .service-hero-grid,
  .service-layout,
  .section-map,
  .deal-grid,
  .value-visual,
  .service-focus,
  .focus-list {
    grid-template-columns: 1fr;
  }

  .flow-arrow {
    transform: rotate(90deg);
    text-align: center;
  }

  .side-panel {
    position: static;
  }
}

.theme-docomo {
  --accent: #c9171e;
  --accent-dark: #8f1015;
  --paper: #fff8f8;
}

.theme-au {
  --accent: #eb5505;
  --accent-dark: #ad3c00;
  --paper: #fff8f1;
}

.theme-softbank {
  --accent: #3f63ff;
  --accent-dark: #1c328e;
  --paper: #f5f7ff;
}

.theme-wimax {
  --accent: #00a0df;
  --accent-dark: #006f9d;
  --paper: #f1fbff;
}

.theme-rakuten {
  --accent: #bf0000;
  --accent-dark: #850000;
  --paper: #fff7f7;
}

.theme-nuro {
  --accent: #e4007f;
  --accent-dark: #8f0050;
  --paper: #fff5fb;
}
