/* ==========================================================================
   下層ページ共通
   データ販売・検索サービス・個人情報保護方針・会社概要・お問い合わせで使用する。
   ========================================================================== */

/* --------------------------------------------------------------------------
   基本設定・共通パーツ
   -------------------------------------------------------------------------- */
:root {
  --navy: #003461;
  --deep: #00294e;
  --blue: #009bd3;
  --gold: #f4a400;
  --ink: #15395b;
  --muted: #667e92;
  --line: #dbe9f3;
  --max: 1460px;
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  font-family: "Noto Sans JP", "Hiragino Kaku Gothic ProN", "Yu Gothic", Meiryo, sans-serif;
  color: var(--ink);
  background: #f7fbff;
}

a {
  color: inherit;
}

a:focus-visible {
  outline: 3px solid var(--gold);
  outline-offset: 4px;
}

button {
  font: inherit;
}

.wrap {
  max-width: var(--max);
  margin-inline: auto;
  padding-inline: clamp(20px, 4.5vw, 64px);
}

.brand {
  display: flex;
  gap: 24px;
  align-items: center;
  min-width: 0;
}

.brand img {
  display: block;
  width: 220px;
  height: auto;
  max-height: 61px;
}

@media (max-width: 1200px) {
  .brand img {
    width: 190px;
  }
}

@media (max-width: 800px) {
  .brand img {
    width: 173px;
    max-height: 49px;
  }
}

:root {
  font-family: system-ui, "Yu Gothic", sans-serif;
  color: #153955;
  background: #e8f2fa;
}

* {
  box-sizing: border-box;
}

body {
  margin: 0;
}

:root {
  --navy: #003461;
  --gold: #f4a400;
  --muted: #5a7791;
  --line: #d9e9f2;
}

:root {
  --woman-size: 47%;
  --woman-left: 3%;
  --woman-bottom: 14%;
  --laptop-size: 47%;
  --laptop-left: -8%;
  --laptop-bottom: -1%;
}

/* --------------------------------------------------------------------------
   ページ内リンクの着地位置（固定ヘッダーの高さ分を空ける）
   -------------------------------------------------------------------------- */
#contact {
  scroll-margin-top: 105px;
}

@media (max-width: 700px) {
  #contact {
    scroll-margin-top: 150px;
  }
}

/* --------------------------------------------------------------------------
   ページ全体・ヒーロー（基本形）
   -------------------------------------------------------------------------- */
body {
  background: #fff;
  color: #15395b;
}

.product-page {
  overflow: hidden;
  padding-top: 86px;
}

.product-hero {
  position: relative;
  isolation: isolate;
  background: linear-gradient(115deg, #e7f7ff 0%, #fff 45%, #e3f3fd 100%);
  min-height: 385px;
  display: flex;
  align-items: center;
  overflow: hidden;
}

.product-hero .wrap {
  width: 100%;
  padding-top: 60px;
  padding-bottom: 65px;
}

.breadcrumb {
  font-size: 11px;
  color: #597a91;
  margin-bottom: 37px;
}

.breadcrumb a {
  text-decoration: none;
  color: #006ba5;
}

.eyebrow {
  font-size: 12px;
  letter-spacing: .2em;
  font-weight: 800;
  color: #008fc3;
  margin: 0 0 11px;
}

.product-hero h1 {
  font-size: clamp(34px, 3.45vw, 55px);
  font-family: "Yu Mincho", "Hiragino Mincho ProN", serif;
  line-height: 1.45;
  margin: 0 0 20px;
  color: #003461;
  font-weight: 700;
  letter-spacing: .04em;
}

/* --------------------------------------------------------------------------
   商品紹介・本文
   -------------------------------------------------------------------------- */
.p-intro {
  padding: 75px 0 65px;
  background: white;
}

.p-two {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 65px;
  align-items: center;
}

.p-kicker {
  font-size: 11px;
  color: #0092cb;
  letter-spacing: .22em;
  font-weight: 800;
}

.p-title {
  font-family: "Yu Mincho", "Hiragino Mincho ProN", serif;
  color: #003461;
  font-size: clamp(26px, 2.3vw, 35px);
  margin: 10px 0 20px;
  line-height: 1.55;
}

.p-text {
  font-size: 14px;
  line-height: 2.1;
  color: #557186;
  margin: 0 0 16px;
}

.feature-visual {
  min-height: 280px;
  border-radius: 3px;
  position: relative;
  background: url("../assets/telecore_sales_v56.webp") center/cover no-repeat;
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow: 0 26px 42px #0034611a;
  overflow: hidden;
}

.p-section {
  padding: 78px 0;
}

.tinted {
  background: linear-gradient(180deg, #f4faff, #fff);
}

.section-top {
  max-width: 800px;
  margin-bottom: 36px;
}

.section-top .p-title {
  margin-bottom: 9px;
}

/* --------------------------------------------------------------------------
   特徴（番号付きカード）
   -------------------------------------------------------------------------- */
.p-steps {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 18px;
}

.p-step {
  background: #fff;
  border: 1px solid #dcebf5;
  padding: 27px 25px 26px;
  min-height: 185px;
  box-shadow: 0 7px 21px #0034610a;
}

.p-step b {
  display: block;
  font-size: 33px;
  color: #0b9ccc;
  font-weight: 500;
  margin-bottom: 13px;
}

.p-step strong {
  display: block;
  font-size: 16px;
  color: #073a63;
  margin-bottom: 10px;
}

.p-step p {
  font-size: 12px;
  line-height: 1.9;
  color: #56748a;
  margin: 0;
}

/* --------------------------------------------------------------------------
   価格表
   -------------------------------------------------------------------------- */
.price-box {
  background: #fff;
  border: 1px solid #d9e8f2;
  box-shadow: 0 12px 35px #0034610b;
}

.price-scroll {
  overflow-x: auto;
}

.price-table {
  width: 100%;
  border-collapse: collapse;
  min-width: 780px;
  font-size: 13px;
}

.price-table thead {
  background: #003c69;
  color: white;
}

.price-table th,
.price-table td {
  text-align: right;
  padding: 19px 17px;
  border-bottom: 1px solid #e3edf4;
  vertical-align: middle;
}

.price-table thead th {
  font-size: 12px;
  font-weight: 700;
  line-height: 1.5;
}

.price-table th:first-child {
  text-align: left;
  width: 35%;
}

.price-table tbody th {
  color: #123f62;
  font-size: 14px;
}

.price-table tbody th small {
  display: block;
  color: #738a9e;
  font-weight: 400;
  font-size: 11px;
  line-height: 1.75;
  margin-top: 5px;
}

.price-table tbody tr:nth-child(2n) {
  background: #f8fbfe;
}

.price-table tbody td {
  font-weight: 700;
  color: #004c84;
  white-space: nowrap;
}

.price-table tbody tr:hover {
  background: #eaf7fe;
}

.price-note {
  font-size: 12px;
  line-height: 2.1;
  color: #56718a;
  padding: 18px 23px;
  background: #f5fbff;
}

/* --------------------------------------------------------------------------
   補足カード
   -------------------------------------------------------------------------- */
.info-cards {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 19px;
  margin-top: 24px;
}

.info-card {
  padding: 30px 32px;
  background: white;
  border: 1px solid #e1edf4;
  border-top: 3px solid #06a1d9;
}

.info-card h3 {
  color: #003f6b;
  font-size: 16px;
  margin: 0 0 14px;
}

.info-card p {
  font-size: 13px;
  line-height: 1.95;
  color: #506e83;
  margin: 0;
}

/* --------------------------------------------------------------------------
   データ仕様・記録例
   -------------------------------------------------------------------------- */
.data-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 24px;
}

.data-box {
  border: 1px solid #deebf3;
  padding: 28px 30px;
  background: #fff;
}

.data-box h3 {
  font-size: 16px;
  color: #003e69;
  margin: 0 0 11px;
}

.data-box p {
  font-size: 13px;
  line-height: 2;
  color: #526f85;
  margin: 0;
}

.data-box code {
  display: block;
  padding: 16px;
  background: #eef6fa;
  border-radius: 2px;
  white-space: pre-wrap;
  overflow-wrap: anywhere;
  color: #31566e;
  font-size: 11px;
  line-height: 1.75;
  margin-top: 15px;
}

/* --------------------------------------------------------------------------
   ご購入・ご利用の流れ
   -------------------------------------------------------------------------- */
.flow-list {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 16px;
  counter-reset: step;
}

.flow-item {
  padding: 24px 20px;
  background: #fff;
  border: 1px solid #dceaf4;
  position: relative;
}

.flow-item::before {
  counter-increment: step;
  content: "0" counter(step);
  color: #00a1d9;
  font-size: 29px;
  display: block;
  margin-bottom: 15px;
  font-weight: 700;
}

.flow-item h3 {
  font-size: 15px;
  color: #003461;
  margin: 0 0 10px;
}

.flow-item p {
  font-size: 12px;
  line-height: 1.95;
  color: #56758a;
  margin: 0;
}

/* --------------------------------------------------------------------------
   お問い合わせ・関連リンク
   -------------------------------------------------------------------------- */
.cta-strip {
  padding: 60px 0;
  background: linear-gradient(110deg, #00335f, #006eab);
  color: #fff;
}

.cta-strip .wrap {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 25px;
}

.cta-strip h2 {
  font-size: clamp(20px, 2.4vw, 30px);
  margin: 8px 0;
}

.cta-strip p {
  color: #cde4f4;
  font-size: 13px;
  margin: 0;
}

.cta-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
}

.p-micro {
  font-size: 12px;
  line-height: 1.9;
  color: #667e92;
}

.p-links {
  display: flex;
  gap: 15px;
  flex-wrap: wrap;
  margin-top: 20px;
}

/* --------------------------------------------------------------------------
   レスポンシブ（ここまでのレイアウト）
   -------------------------------------------------------------------------- */
@media (max-width: 1050px) {
  .p-two {
    gap: 30px;
  }

  .flow-list {
    grid-template-columns: repeat(2, 1fr);
  }
}

@media (max-width: 800px) {
  .product-page {
    padding-top: 140px;
  }

  .product-hero .wrap {
    padding-top: 35px;
    padding-bottom: 45px;
  }

  .p-intro,
  .p-section {
    padding: 55px 0;
  }

  .p-two {
    grid-template-columns: 1fr;
  }

  .p-steps {
    grid-template-columns: 1fr;
  }

  .info-cards,
  .data-grid {
    grid-template-columns: 1fr;
  }

  .cta-strip .wrap {
    display: block;
  }

  .cta-actions {
    margin-top: 25px;
  }
}

@media (max-width: 520px) {
  .product-page {
    padding-top: 142px;
  }

  .product-hero {
    min-height: 300px;
  }

  .breadcrumb {
    margin-bottom: 23px;
  }

  .feature-visual {
    min-height: 220px;
  }

  .price-note {
    padding: 15px;
  }

  .data-box,
  .info-card {
    padding: 20px;
  }

  .flow-list {
    grid-template-columns: 1fr;
  }
}

/* --------------------------------------------------------------------------
   ページ上部（ヒーロー）
   -------------------------------------------------------------------------- */
.product-hero.hero-editorial {
  display: block;
  min-height: 0;
  overflow: hidden;
  color: #fff;
  background: #073c70;
  isolation: isolate;
  position: relative;
}

.hero-editorial::before {
  content: "";
  position: absolute;
  inset: 0;
  pointer-events: none;
  z-index: -1;
  opacity: .25;
  background-image:
    linear-gradient(#83aace 1px, transparent 1px),
    linear-gradient(90deg, #83aace 1px, transparent 1px);
  background-size: 88px 88px;
  mask-image: linear-gradient(to bottom, transparent 3%, black 70%);
  -webkit-mask-image: linear-gradient(to bottom, transparent 3%, black 70%);
}

.hero-editorial .hero-topline,
.hero-editorial .hero-bottomline {
  position: relative;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  padding: 13px clamp(20px, 4.5vw, 64px);
  font-family: Arial, sans-serif;
  font-size: 10px;
  letter-spacing: .19em;
  font-weight: 700;
}

.hero-editorial .hero-topline {
  border-bottom: 1px solid #ffffff30;
  color: #b9def5;
}

.hero-editorial .hero-bottomline {
  background: #f2bb40;
  color: #082b52;
}

.hero-editorial .hero-editorial-inner {
  padding-top: 23px;
  padding-bottom: 45px;
}

.hero-editorial .breadcrumb {
  color: #b0cfe5;
  margin: 0 0 19px;
}

.hero-editorial .breadcrumb a {
  color: #d3ecff;
}

.hero-editorial .editorial-head {
  display: grid;
  grid-template-columns: minmax(135px, 22%) minmax(0, 1fr);
  align-items: end;
  gap: clamp(12px, 3vw, 48px);
  border-bottom: 1px solid #8baccc6b;
  padding-bottom: 19px;
}

.hero-editorial .eyebrow {
  color: #f4c759;
  font-size: clamp(10px, 1.2vw, 15px);
  letter-spacing: .24em;
  margin: 0 0 21px;
  font-family: Arial, sans-serif;
}

.hero-editorial .eyebrow em {
  font-style: normal;
  color: white;
  opacity: .8;
  padding-inline: 7px;
}

.hero-editorial h1 {
  font-family: "Hiragino Kaku Gothic ProN", "Yu Gothic", Meiryo, sans-serif;
  font-size: clamp(49px, 7.8vw, 116px);
  font-weight: 900;
  letter-spacing: -.065em;
  line-height: 1.17;
  color: #fff;
  margin: 0;
  white-space: nowrap;
}

.hero-editorial h1 span {
  color: #f3c24d;
}

.hero-editorial h1 i {
  font-style: normal;
  color: #f3c24d;
}

.hero-editorial .editorial-baseline {
  display: flex;
  justify-content: space-between;
  align-items: end;
  gap: 24px;
  padding-top: 20px;
}

.hero-editorial .editorial-note {
  display: flex;
  flex-direction: column;
  gap: 7px;
  max-width: 790px;
  line-height: 1.75;
}

.hero-editorial .editorial-note b {
  font-size: clamp(15px, 1.55vw, 21px);
  font-weight: 700;
  letter-spacing: .015em;
}

.hero-editorial .editorial-note span {
  font-size: clamp(12px, 1.05vw, 15px);
  color: #c3dff2;
}

.hero-editorial .editorial-stamp {
  display: flex;
  flex-direction: column;
  align-items: flex-end;
  gap: 2px;
  font-family: Arial, sans-serif;
  white-space: nowrap;
  letter-spacing: .19em;
  color: #d3eafd;
}

.hero-editorial .editorial-stamp span {
  font-size: 10px;
}

.hero-editorial .editorial-stamp strong {
  font-size: clamp(34px, 4.5vw, 64px);
  line-height: 1;
  letter-spacing: -.045em;
  color: #f2bb40;
}

.hero-editorial .editorial-stamp small {
  font-size: 9px;
}

@media (max-width: 800px) {
  .hero-editorial .hero-topline,
  .hero-editorial .hero-bottomline {
    font-size: 8px;
    letter-spacing: .08em;
  }

  .hero-editorial .editorial-head {
    grid-template-columns: 100px minmax(0, 1fr);
  }

  .hero-editorial h1 {
    font-size: clamp(38px, 6.5vw, 62px);
  }

  .hero-editorial .editorial-stamp {
    display: none;
  }
}

@media (max-width: 520px) {
  .hero-editorial .hero-topline span:last-child,
  .hero-editorial .hero-bottomline span:last-child {
    display: none;
  }

  .hero-editorial .hero-editorial-inner {
    padding-top: 20px;
    padding-bottom: 35px;
  }

  .hero-editorial .editorial-head {
    display: block;
    padding-bottom: 26px;
  }

  .hero-editorial .eyebrow {
    font-size: 10px;
    letter-spacing: .12em;
    margin-bottom: 12px;
  }

  .hero-editorial h1 {
    font-size: clamp(39px, 11.8vw, 61px);
  }

  .hero-editorial .editorial-baseline {
    padding-top: 20px;
  }

  .hero-editorial .editorial-note b {
    font-size: 15px;
  }
}

.product-hero.hero-editorial {
  height: 385px;
  min-height: 385px;
  display: flex;
  flex-direction: column;
  background: linear-gradient(135deg, #0b3557 0%, #103f63 60%, #1c4c6c 100%);
}

.hero-editorial::before {
  opacity: .17;
  background-size: 96px 96px;
}

.hero-editorial .hero-topline {
  flex: 0 0 auto;
  color: #bcd3e0;
  padding-block: 10px;
}

.hero-editorial .hero-bottomline {
  flex: 0 0 auto;
  background: #8aaebc;
  color: #082d49;
  padding-block: 10px;
}

.hero-editorial .hero-editorial-inner {
  flex: 1 1 auto;
  display: flex;
  flex-direction: column;
  justify-content: center;
  padding-top: 8px;
  padding-bottom: 12px;
}

.hero-editorial .breadcrumb {
  margin: 0 0 12px;
  color: #b3c9d8;
}

.hero-editorial .editorial-head {
  grid-template-columns: minmax(115px, 17%) minmax(0, 1fr);
  align-items: center;
  gap: clamp(20px, 3vw, 42px);
  padding-bottom: 12px;
}

.hero-editorial .eyebrow {
  color: #a9cbd8;
  margin-bottom: 10px;
  font-size: clamp(10px, 1vw, 13px);
}

.hero-editorial h1 {
  font-size: clamp(39px, 5.2vw, 82px);
  line-height: 1.12;
  letter-spacing: -.055em;
  white-space: nowrap;
}

.hero-editorial h1 span,
.hero-editorial h1 i {
  color: #a9ceda;
}

.hero-editorial .editorial-baseline {
  padding-top: 12px;
  align-items: center;
}

.hero-editorial .editorial-note {
  gap: 4px;
}

.hero-editorial .editorial-note b {
  font-size: clamp(14px, 1.35vw, 18px);
}

.hero-editorial .editorial-note span {
  color: #c4d8e2;
}

.hero-editorial .editorial-stamp strong {
  color: #a9ceda;
  font-size: clamp(30px, 3vw, 48px);
}

@media (max-width: 800px) {
  .hero-editorial .editorial-head {
    grid-template-columns: 90px minmax(0, 1fr);
    gap: 18px;
  }

  .hero-editorial h1 {
    font-size: clamp(35px, 5.3vw, 48px);
  }
}

@media (max-width: 520px) {
  .product-hero.hero-editorial {
    height: auto;
    min-height: 385px;
  }

  .hero-editorial .hero-editorial-inner {
    padding-top: 16px;
    padding-bottom: 22px;
  }

  .hero-editorial .editorial-head {
    display: flex;
    align-items: center;
    gap: 12px;
    padding-bottom: 17px;
  }

  .hero-editorial .editorial-title-group {
    min-width: 0;
  }

  .hero-editorial .eyebrow {
    font-size: 9px;
    margin: 0 0 8px;
    letter-spacing: .06em;
  }

  .hero-editorial h1 {
    font-size: clamp(25px, 7.2vw, 37px);
    white-space: nowrap;
    letter-spacing: -.075em;
  }

  .hero-editorial .editorial-baseline {
    padding-top: 17px;
  }
}

/* --------------------------------------------------------------------------
   ヒーロー：四隅のラベル
   -------------------------------------------------------------------------- */
.product-hero.hero-editorial {
  position: relative;
}

.hero-editorial .hero-topline,
.hero-editorial .hero-bottomline {
  box-sizing: border-box;
  width: 100%;
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(0, 1fr);
  align-items: center;
  column-gap: 18px;
  padding-inline: clamp(20px, 4.5vw, 64px);
  white-space: nowrap;
}

.hero-editorial .hero-topline {
  order: 0;
}

.hero-editorial .hero-editorial-inner {
  order: 1;
}

.hero-editorial .hero-bottomline {
  order: 2;
  margin-top: auto;
}

.hero-editorial .hero-topline span:first-child,
.hero-editorial .hero-bottomline span:first-child {
  text-align: left;
  justify-self: start;
}

.hero-editorial .hero-topline span:last-child,
.hero-editorial .hero-bottomline span:last-child {
  text-align: right;
  justify-self: end;
}

@media (max-width: 520px) {
  .hero-editorial .hero-topline,
  .hero-editorial .hero-bottomline {
    grid-template-columns: minmax(0, 1fr);
  }
}

.product-hero.hero-editorial {
  height: 421px;
  min-height: 421px;
}

.hero-editorial .hero-topline,
.hero-editorial .hero-bottomline {
  display: flex;
  align-items: center;
  column-gap: clamp(18px, 2.8vw, 42px);
  row-gap: 5px;
}

.hero-editorial .hero-topline {
  justify-content: flex-start;
}

.hero-editorial .hero-bottomline {
  justify-content: flex-end;
}

.hero-editorial .hero-topline span,
.hero-editorial .hero-bottomline span {
  flex: 0 0 auto;
  justify-self: auto !important;
}

.hero-editorial .hero-topline span:last-child,
.hero-editorial .hero-bottomline span:last-child {
  text-align: inherit;
}

@media (max-width: 800px) {
  .hero-editorial .hero-topline,
  .hero-editorial .hero-bottomline {
    column-gap: 14px;
    letter-spacing: .055em;
  }
}

@media (max-width: 520px) {
  .product-hero.hero-editorial {
    height: auto;
    min-height: 421px;
  }

  .hero-editorial .hero-topline,
  .hero-editorial .hero-bottomline {
    flex-wrap: wrap;
    gap: 4px 14px;
    white-space: normal;
    font-size: 8px;
  }

  .hero-editorial .hero-topline span:last-child,
  .hero-editorial .hero-bottomline span:last-child {
    display: inline !important;
  }

  .hero-editorial .hero-bottomline {
    justify-content: flex-end;
    text-align: right;
  }
}

/* --------------------------------------------------------------------------
   本文の文字サイズ
   -------------------------------------------------------------------------- */
.product-page .p-text,
.product-page .p-step p,
.product-page .info-card p,
.product-page .data-box p,
.product-page .flow-item p,
.product-page .price-note,
.product-page .cta-strip p {
  font-size: 16px;
}

.product-page .price-table {
  font-size: 16px;
}

.product-page .price-table tbody th {
  font-size: 16px;
}
