/* ===== スマホ・Wi-Fi・回線相談 詳細ページ ===== */

/* ---------- Detail hero ---------- */
.detail-hero {
  position: relative;
  overflow: hidden;
  padding: 22px 0 32px;
}

.detail-hero-inner {
  position: relative;
  z-index: 1;
  display: grid;
  grid-template-columns: 1fr auto;
  grid-template-areas:
    "title figure"
    "subcopy subcopy"
    "ctas ctas";
  column-gap: 14px;
  row-gap: 14px;
  align-items: start;
  text-align: left;
}

.detail-title {
  grid-area: title;
  margin: 0;
  font-size: 17px;
  font-weight: 900;
  line-height: 1.5;
  color: var(--navy);
  letter-spacing: 0;
}

.detail-title .accent {
  color: var(--red);
}

.detail-figure {
  grid-area: figure;
  align-self: center;
  width: 64px;
  margin: 0;
}

.detail-figure img {
  width: 100%;
  height: auto;
  filter: drop-shadow(0 10px 16px rgba(226, 52, 43, 0.18));
}

.detail-subcopy {
  grid-area: subcopy;
  margin: 0;
  font-size: 13.5px;
  line-height: 1.75;
  font-weight: 500;
  color: var(--navy-soft);
}

.detail-hero .hero-ctas {
  grid-area: ctas;
}

/* ---------- こんなお悩みありませんか ---------- */
.detail-worries-section {
  padding: 8px 0 28px;
}

.worry-check-grid {
  margin: 0;
  padding: 0;
  list-style: none;
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 8px;
}

.worry-check-item {
  display: flex;
  align-items: flex-start;
  gap: 8px;
  background: var(--white);
  border: 1px solid rgba(27, 42, 74, 0.08);
  border-radius: 14px;
  padding: 12px 10px;
  box-shadow: 0 6px 14px rgba(27, 42, 74, 0.06);
}

.worry-check-item .check {
  width: 17px;
  height: 17px;
  flex-shrink: 0;
  margin-top: 2px;
  color: var(--red);
}

.worry-check-item span {
  font-size: 12.5px;
  font-weight: 700;
  line-height: 1.5;
  color: var(--navy);
}

/* ---------- 選ばれる理由 ---------- */
.benefits-section {
  padding: 8px 0 28px;
}

.benefits-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 10px;
}

.benefit-card {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 8px;
  min-height: 190px;
  background: var(--white);
  border: 1px solid rgba(27, 42, 74, 0.08);
  border-radius: var(--radius-lg);
  padding: 16px 10px;
  box-shadow: 0 6px 14px rgba(27, 42, 74, 0.06);
  text-align: center;
}

.benefit-icon {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 42px;
  height: 42px;
  border-radius: 50%;
  background: var(--red-light);
  color: var(--red);
  flex-shrink: 0;
}

.benefit-icon svg {
  width: 56%;
  height: 56%;
}

.benefit-card h3 {
  display: flex;
  align-items: center;
  justify-content: center;
  margin: 0;
  min-height: 2.7em;
  font-size: 12.5px;
  font-weight: 800;
  line-height: 1.4;
  color: var(--navy);
}

.benefit-card p {
  margin: 0;
  font-size: 10.5px;
  line-height: 1.6;
  font-weight: 500;
  color: var(--navy-soft);
}

/* ---------- ご案内できる回線・Wi-Fi ---------- */
.detail-lineup-section {
  padding: 0 0 48px;
}

.lineup-note {
  margin: 10px 0 20px;
  text-align: center;
  font-size: 13px;
  line-height: 1.7;
  font-weight: 500;
  color: var(--navy-soft);
}

.lineup-group-title {
  margin: 0 0 10px;
  font-size: 14.5px;
  font-weight: 800;
  color: var(--red-dark);
}

.lineup-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 8px;
  margin: 0 0 24px;
}

.lineup-grid.is-single {
  grid-template-columns: 1fr;
}

.lineup-card {
  display: flex;
  align-items: center;
  gap: 10px;
  background: var(--white);
  border: 1.5px solid var(--red-light);
  border-radius: 14px;
  padding: 12px 14px;
  box-shadow: var(--shadow-soft);
}

.lineup-icon {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 34px;
  height: 34px;
  border-radius: 50%;
  background: var(--red-light);
  color: var(--red);
  flex-shrink: 0;
}

.lineup-icon svg {
  width: 58%;
  height: 58%;
}

.lineup-card-text {
  display: flex;
  flex-direction: column;
  gap: 2px;
  min-width: 0;
}

.lineup-card-text strong {
  font-size: 13.5px;
  font-weight: 800;
  color: var(--navy);
  line-height: 1.3;
}

.lineup-card-text em {
  font-style: normal;
  font-size: 11.5px;
  font-weight: 700;
  color: var(--red-dark);
}

/* ---------- Responsive ---------- */
@media (min-width: 720px) {
  .detail-title {
    font-size: 23px;
    word-break: keep-all;
    overflow-wrap: normal;
  }

  .detail-subcopy {
    font-size: 15px;
  }

  .detail-figure {
    width: 96px;
  }

  .detail-hero .hero-ctas {
    flex-direction: row;
  }

  .detail-hero .hero-ctas .btn-cta {
    flex: 1;
  }

  .worry-check-item span {
    font-size: 13.5px;
  }

  .lineup-grid {
    grid-template-columns: repeat(4, 1fr);
  }

  .lineup-grid.is-single {
    grid-template-columns: 1fr;
  }

  .lineup-grid.is-single .lineup-card {
    max-width: 280px;
  }

  .case-grid {
    flex-direction: row;
  }

  .case-card {
    flex: 1;
  }

  .consult-cta-section .hero-ctas {
    max-width: 600px;
  }

  .consult-cta-lead {
    font-size: 17px;
  }
}

@media (min-width: 960px) {
  .detail-hero {
    padding: 48px 0 56px;
  }

  .detail-hero-inner {
    grid-template-columns: minmax(0, 1.3fr) minmax(0, 1fr);
    grid-template-areas:
      "title figure"
      "subcopy figure"
      "ctas figure";
    column-gap: 48px;
    row-gap: 18px;
  }

  .detail-title {
    font-size: 36px;
  }

  .detail-subcopy {
    font-size: 16px;
    max-width: 34em;
  }

  .detail-figure {
    width: 100%;
    max-width: 260px;
    margin: 0 auto;
  }

  .detail-hero .hero-ctas {
    max-width: 480px;
  }

  .detail-worries-section {
    padding: 12px 0 40px;
  }

  .worry-check-grid {
    grid-template-columns: repeat(3, 1fr);
    gap: 12px;
  }

  .worry-check-item {
    padding: 16px 14px;
  }

  .worry-check-item span {
    font-size: 14.5px;
  }

  .benefits-section {
    padding: 12px 0 40px;
  }

  .benefits-grid {
    grid-template-columns: repeat(4, 1fr);
    gap: 16px;
  }

  .benefit-card {
    min-height: 210px;
    padding: 22px 16px;
  }

  .benefit-icon {
    width: 50px;
    height: 50px;
  }

  .benefit-card h3 {
    font-size: 14px;
  }

  .benefit-card p {
    font-size: 12px;
  }

  .detail-lineup-section {
    padding: 0 0 64px;
  }

  .lineup-note {
    font-size: 15px;
  }

  .lineup-group-title {
    font-size: 16px;
  }

  .lineup-card {
    padding: 16px 18px;
  }

  .lineup-icon {
    width: 40px;
    height: 40px;
  }

  .lineup-card-text strong {
    font-size: 15px;
  }

  .case-section {
    padding: 8px 0 40px;
  }

  .case-note {
    font-size: 12.5px;
  }
}

/* ---------- 実際の料金診断事例 ---------- */
.case-section {
  padding: 4px 0 28px;
}

.case-note {
  margin: 10px 0 18px;
  text-align: center;
  font-size: 11.5px;
  line-height: 1.6;
  font-weight: 500;
  color: var(--navy-soft);
}

.case-grid {
  display: flex;
  flex-direction: column;
  gap: 16px;
}

.case-card {
  background: var(--white);
  border: 1.5px solid var(--red-light);
  border-radius: var(--radius-lg);
  padding: 16px;
  box-shadow: var(--shadow-soft);
}

.case-photo-placeholder {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 6px;
  aspect-ratio: 4 / 3;
  border-radius: 14px;
  background: var(--cream-deep);
  border: 1.5px dashed rgba(27, 42, 74, 0.22);
  color: var(--navy-soft);
  margin: 0 0 12px;
}

.case-photo-placeholder svg {
  width: 30px;
  height: 30px;
  color: var(--red);
  opacity: 0.7;
}

.case-photo-placeholder span {
  font-size: 11.5px;
  font-weight: 700;
}

.case-photo {
  display: block;
  width: 100%;
  max-height: 360px;
  object-fit: contain;
  border-radius: 14px;
  background: var(--white);
  border: 1px solid rgba(27, 42, 74, 0.12);
  margin: 0 0 12px;
}

.case-profile {
  margin: 0 0 12px;
  font-size: 12px;
  font-weight: 800;
  color: var(--red-dark);
}

.case-stats {
  display: flex;
  align-items: center;
  gap: 8px;
  margin: 0 0 12px;
}

.case-stat {
  flex: 1;
  display: flex;
  flex-direction: column;
  gap: 3px;
  padding: 8px 10px;
  background: var(--cream);
  border-radius: 12px;
  text-align: center;
}

.case-stat-label {
  font-size: 10px;
  font-weight: 700;
  color: var(--navy-soft);
}

.case-stat-value {
  font-family: var(--font-heading);
  font-size: 15px;
  font-weight: 900;
  color: var(--navy);
}

.case-stat-value.is-after {
  color: var(--red-dark);
}

.case-stat-arrow {
  flex-shrink: 0;
  font-size: 15px;
  font-weight: 900;
  color: var(--red);
}

.case-highlight {
  margin: 0 0 14px;
  padding: 10px 12px;
  border-radius: 16px;
  background: var(--red-light);
  color: var(--red-dark);
  font-size: 12.5px;
  font-weight: 700;
  line-height: 1.7;
  text-align: center;
}

.case-highlight strong {
  font-family: var(--font-heading);
  font-size: 16px;
  font-weight: 900;
}

.case-highlight-year {
  display: inline-block;
  margin-top: 4px;
  font-size: 13.5px;
  font-weight: 800;
}

.case-highlight-year strong {
  font-family: var(--font-heading);
  font-size: 19px;
  font-weight: 900;
}

.case-point {
  padding-top: 12px;
  border-top: 1px dashed rgba(27, 42, 74, 0.15);
}

.case-point-label {
  display: inline-block;
  margin: 0 0 4px;
  font-size: 10.5px;
  font-weight: 800;
  color: var(--navy);
}

.case-point p {
  margin: 0;
  font-size: 12px;
  line-height: 1.6;
  font-weight: 500;
  color: var(--navy-soft);
}

@media (min-width: 720px) {
  .case-grid {
    flex-direction: row;
    align-items: stretch;
  }

  .case-card {
    flex: 1;
  }
}

/* ---------- ご相談CTA ---------- */
.consult-cta-section {
  padding: 0 0 40px;
  text-align: center;
}

.consult-cta-lead {
  margin: 0 0 18px;
  font-size: 15px;
  font-weight: 800;
  line-height: 1.5;
  color: var(--navy);
}

.consult-cta-section .hero-ctas {
  max-width: 420px;
  margin: 0 auto;
}
