/* FRONTIER DIRECT TOPページ専用スタイル（Figma node 425:1682 PC / 425:2823 SP） */

/* ---------- TOPページ用トークン ---------- */
:root {
  /* 色は common.css のトークンを参照。TOP固有の背景色のみここで定義する */
  --top-navy: var(--color-navy);
  --top-navy-dark: var(--color-navy-dark);
  --top-red: var(--color-red);
  --top-yellow: var(--color-yellow);
  --top-text: var(--color-text);
  --top-sub: var(--color-text-sub);
  --top-border: var(--color-border);
  --top-bg-alt: #eef2f8;
  /* 交互に敷く淡い背景 */
  --top-bg-soft: #f6f8fb;
  /* カード内の淡い背景 */
  --top-bg-cream: #f9f6f0;
  /* PACKAGEセクション背景 */
  --top-mark-gray: #aeb8ca;
  --font-head: var(--font-heading);
}

/* ---------- セクション共通 ---------- */
.top-section {
  padding: 80px 0;
}

.top-section>.container {
  display: flex;
  flex-direction: column;
  align-items: center;
}

/* コンテンツ幅のバリエーション（Figmaの内側フレーム幅に対応） */
.top-w1136 {
  max-width: 1200px;
}

/* 内容1136px */
.top-w1008 {
  max-width: 1072px;
}

/* 内容1008px */
.top-w880 {
  max-width: 944px;
}

/* 内容880px */

/* SP専用改行（PC時は非表示） */
.top-sp-br {
  display: none;
}

/* 英字ラベル */
.top-eyebrow {
  font-family: var(--font-en);
  font-weight: 700;
  font-size: 12px;
  line-height: 1;
  letter-spacing: 3px;
  color: var(--top-red);
  text-align: center;
  width: 100%;
}

.top-eyebrow--left {
  text-align: left;
}

.top-eyebrow--white {
  color: #fff;
}

/* セクション見出し */
.top-heading {
  margin-top: 16px;
  font-family: var(--font-head);
  font-weight: 900;
  font-size: 36px;
  line-height: 1.4;
  color: var(--top-navy-dark);
  text-align: center;
}

.top-heading .is-red {
  color: var(--top-red);
}

/* リード文 */
.top-lead {
  margin-top: 12px;
  font-size: 16px;
  line-height: 1.85;
  color: var(--top-sub);
  text-align: center;
}

.is-red {
  color: var(--top-red);
}

.is-yellow {
  color: var(--top-yellow);
}

/* ============================================================
   HERO (425:1684 / 425:1687)
   ============================================================ */
.top-hero {
  position: relative;
  overflow: hidden;
  padding: 80px 0 85px;
}

.top-hero__visual {
  position: absolute;
  top: 0;
  right: 0;
  width: 955px;
  height: 560px;
  pointer-events: none;
}

.top-hero__photo {
  position: absolute;
  right: 0;
  bottom: 0;
  width: 853px;
  height: 640px;
  max-width: none;
  object-fit: cover;
  -webkit-mask-image: url("../img/top/hero-photo-mask.svg");
  mask-image: url("../img/top/hero-photo-mask.svg");
  -webkit-mask-position: 53px 80px;
  mask-position: 53px 80px;
  -webkit-mask-size: 800px 560px;
  mask-size: 800px 560px;
  -webkit-mask-repeat: no-repeat;
  mask-repeat: no-repeat;
}

.top-hero__inner {
  position: relative;
  z-index: 1;
  display: block;
}

/* 帯（右端のみ図形） */
.top-hero__badge {
  position: relative;
  margin-left: calc((100% - 100vw) / 2);
  padding-left: calc((100vw - 100%) / 2);
  padding-right: 36px;
  width: fit-content;
  max-width: 100vw;
  height: 48px;
  display: flex;
  align-items: center;
  gap: 10px;
  color: #FFF;
}

.top-hero__badge::before {
  content: "";
  position: absolute;
  top: 0;
  bottom: 0;
  left: 0;
  right: 33px;
  /* キャップ(33px)の手前で背景を止める */
  background: var(--top-navy);
  z-index: -1;
}

/* 大画面（1280px〜）：1280px基準で左右の端を固定し、大画面でも配置バランスを保持 */
@media (min-width: 1280px) {
  .top-hero__visual {
    right: calc((100% - 1280px) / 2);
  }

  .top-hero__badge {
    margin-left: calc((100% - 1280px) / 2);
    padding-left: calc((1280px - 100%) / 2);
  }

  .top-hero__badge::before {
    border-radius: 6px 0 0 6px;
  }
}

.top-hero__badge-deco {
  position: absolute;
  z-index: 1;
  top: 0;
  right: 0;
  height: 100%;
  width: 34px;
  display: block;
  pointer-events: none;
}

.top-hero__badge-bar {
  flex: none;
  width: 30px;
  height: 4px;
  border-radius: 2px;
  background: var(--top-red);
}

.top-hero__title {
  margin-top: 24px;
  font-family: var(--font-head);
  font-weight: 900;
  font-size: 64px;
  line-height: 1.3;
  color: var(--top-navy-dark);
}

.top-hero__lead {
  margin-top: 32px;
  max-width: 560px;
  font-size: 16px;
  line-height: 1.95;
  color: var(--top-sub);
}

.top-hero__stats {
  margin-top: 32px;
  width: 648px;
  max-width: 100%;
  display: flex;
  gap: 16px;
  align-items: stretch;
}

.top-hero__stat {
  flex: 1 1 0;
  min-width: 0;
  height: 80px;
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 13px 17px;
  border: 1px solid var(--top-border);
  border-radius: 8px;
  background: #fff;
  box-shadow: 0 8px 8px rgba(23, 50, 95, .12);
}

.top-hero__stat-icon {
  flex: none;
  width: 40px;
  height: 40px;
  border-radius: 8px;
  background: rgba(23, 50, 95, .1);
  display: flex;
  align-items: center;
  justify-content: center;
}

.top-hero__stat-icon--red {
  background: rgba(204, 36, 43, .1);
}

.top-hero__stat-icon img {
  width: 20px;
  height: 20px;
}

.top-hero__stat-body {
  display: flex;
  flex-direction: column;
  gap: 4px;
  min-width: 0;
}

.top-hero__stat-label {
  font-size: 12px;
  font-weight: 500;
  line-height: 1.2;
  color: var(--top-sub);
}

.top-hero__stat-value {
  font-size: 16px;
  font-weight: 700;
  line-height: 1.25;
  color: var(--top-navy-dark);
}

.top-hero__stat-value em {
  font-family: var(--font-en);
  font-weight: 800;
  font-style: normal;
}

/* ============================================================
   ENTRY CARDS (425:1735)
   ============================================================ */
.top-entry {
  padding: 0 0 80px;
}

.top-entry__grid {
  display: flex;
  gap: 32px;
  align-items: stretch;
}

.top-entry__card {
  position: relative;
  overflow: hidden;
  flex: 1 1 0;
  min-width: 0;
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  padding: 32px;
  border-radius: 16px;
  box-shadow: 0 24px 56px -32px rgba(23, 50, 95, .75);
}

.top-entry__card--navy {
  background: var(--top-navy);
}

.top-entry__card--red {
  background: var(--top-red);
}

.top-entry__deco {
  position: absolute;
  top: -16px;
  right: -8px;
  width: 144px;
  height: 144px;
  pointer-events: none;
}

.top-entry__tag {
  position: relative;
  height: 32px;
  padding: 0 16px;
  border-radius: 16px;
  display: inline-flex;
  align-items: center;
  background: rgba(255, 255, 255, .2);
  font-size: 12px;
  font-weight: 500;
  color: #fff;
  line-height: 1;
}

.top-entry__head {
  position: relative;
  margin-top: 16px;
  padding: 0 8px;
  display: flex;
  gap: 8px;
  align-items: flex-start;
  width: 100%;
}

.top-entry__icon {
  flex: none;
  width: 36px;
  height: 36px;
  margin: 3px;
}

.top-entry__title {
  font-family: var(--font-head);
  font-weight: 900;
  font-size: 30px;
  line-height: 1.4;
  color: #fff;
}

.top-entry__desc {
  position: relative;
  margin: 16px 0 24px;
  font-size: 16px;
  line-height: 1.9;
  color: rgba(255, 255, 255, .8);
}

/* ボタン本体（白背景・左に文字、右に矢印） */
.top-entry__btn {
  position: relative;
  margin-top: auto;
  width: 100%;
  background: #fff;
  border-radius: 8px;
  height: 56px;
  padding: 12px 24px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  font-size: 16px;
  font-weight: 700;
  transition: opacity .2s ease;
}

.top-entry__btn>img {
  flex: none;
  width: 24px;
  height: 24px;
}

.top-entry__btn:hover {
  opacity: .88;
}

.top-entry__card--navy .top-entry__btn {
  color: var(--top-navy);
}

.top-entry__card--red .top-entry__btn {
  color: var(--top-red);
}

/* ============================================================
   ISSUE (425:1836)
   ============================================================ */
.top-issue {
  background: #fff;
}

.top-issue__grid {
  margin-top: 48px;
  display: flex;
  gap: 24px;
  width: 100%;
  align-items: stretch;
}

.top-issue__card {
  flex: 1 1 0;
  min-width: 0;
  background: var(--top-bg-soft);
  border: 1px solid var(--top-border);
  border-top-width: 4px;
  border-radius: 16px;
  padding: 33px;
}

.top-issue__card-title {
  font-size: 16px;
  font-weight: 700;
  line-height: 1.5;
}

.top-issue__list {
  margin-top: 20px;
  display: flex;
  flex-direction: column;
  gap: 16px;
}

.top-issue__list li {
  display: flex;
  gap: 12px;
  align-items: flex-start;
  font-size: 14px;
  line-height: 1.7;
  color: var(--top-text);
}

.top-issue__list img {
  flex: none;
  width: 24px;
  height: 24px;
}

.top-issue__closing {
  margin-top: 40px;
  max-width: 760px;
  font-size: 20px;
  font-weight: 700;
  line-height: 1.85;
  color: var(--top-navy-dark);
  text-align: center;
}

/* ============================================================
   ONE-STOP VALUE (425:1883)
   ============================================================ */
.top-onestop {
  background: var(--top-bg-alt);
}

.top-onestop__grid {
  position: relative;
  margin-top: 48px;
  width: 100%;
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 32px 16px;
}

/* カード背面を1〜8までつなぐ蛇行コネクタ（1〜4→折り返し→5〜8） */
.top-onestop__grid::before {
  content: "";
  position: absolute;
  left: 0;
  top: 0;
  width: calc(100% + 34px);
  height: 100%;
  background: url("../img/top/onestop-connector.svg") no-repeat 0 0 / 100% 100%;
  pointer-events: none;
}

.top-onestop__item {
  position: relative;
  z-index: 1;
  min-height: 192px;
  background: #fff;
  border: 1px solid var(--top-border);
  border-radius: 12px;
  padding: 20px;
}

/* 8番（効果検証）はゴール地点として赤で強調 */
.top-onestop__item--accent {
  background: linear-gradient(180deg, #cc242b 0%, #a01c23 100%);
  border-color: transparent;
  box-shadow: 0 16px 32px -20px rgba(160, 28, 35, .8);
}

.top-onestop__num {
  position: absolute;
  left: 20px;
  top: 20px;
  width: 40px;
  height: 40px;
  border-radius: 10px;
  background: var(--top-navy);
  color: #fff;
  display: flex;
  align-items: center;
  justify-content: center;
  font-family: var(--font-en);
  font-weight: 700;
  font-size: 16px;
  line-height: 1;
}

.top-onestop__item--accent .top-onestop__num {
  background: #fff;
  color: var(--top-red);
}

.top-onestop__badge {
  position: absolute;
  right: 20px;
  top: 20px;
  height: 24px;
  padding: 0 13px;
  border-radius: 5px;
  border: 1px solid var(--top-border);
  display: inline-flex;
  align-items: center;
  background: #e8eaef;
  color: var(--top-sub);
  font-size: 12px;
  font-weight: 500;
  line-height: 1;
  white-space: nowrap;
}

.top-onestop__badge--base {
  background: #fff;
  border: 1px solid var(--top-navy);
  color: var(--top-navy);
}

.top-onestop__title {
  margin-top: 60px;
  font-size: 16px;
  font-weight: 700;
  line-height: 1.5;
  color: var(--top-navy-dark);
}

.top-onestop__desc {
  margin-top: 8px;
  font-size: 13px;
  line-height: 1.55;
  color: var(--top-sub);
}

.top-onestop__item--accent .top-onestop__title {
  color: #fff;
}

.top-onestop__item--accent .top-onestop__desc {
  color: rgba(255, 255, 255, .85);
}

/* 開閉ボタンはSPのみ使用（PCは常時全件表示） */
.top-onestop__toggle {
  display: none;
}

/* ============================================================
   COMPARISON (425:1974)
   ============================================================ */
.top-comparison {
  background: #fff;
}

.top-comparison__wrap {
  position: relative;
  margin-top: 48px;
  width: 100%;
}

.top-comparison__hint {
  display: none;
}

.top-comparison__scroll {
  width: 100%;
  overflow-x: auto;
}

.top-comparison__table {
  width: 100%;
  min-width: 760px;
  border-collapse: separate;
  border-spacing: 0;
  table-layout: fixed;
}

.top-comparison__table th,
.top-comparison__table td {
  height: 56px;
  border-bottom: 1px solid var(--top-border);
  vertical-align: middle;
}

/* ヘッダー行（通常列）: 薄い背景色・文字色・左上角丸 */
.top-comparison__table thead th:not(.top-comparison__th-fd) {
  background: var(--top-bg-soft);
  font-size: 14px;
  font-weight: 700;
  color: var(--top-navy-dark);
  text-align: center;
  line-height: 1.4;
  border-bottom: 1px solid var(--top-border);
}

.top-comparison__th-label {
  width: 38%;
  text-align: left !important;
  padding-left: 20px;
  border-top-left-radius: var(--radius);
}

/* ヘッダー行（FRONTIER DIRECT列）: 濃紺背景・白文字・赤枠線・上部角丸 */
.top-comparison__th-fd {
  background: var(--top-navy-dark) !important;
  color: #fff !important;
  font-size: 14px;
  font-weight: 700;
  text-align: center;
  line-height: 1.3;
  border-top: 2px solid var(--top-red) !important;
  border-left: 2px solid var(--top-red) !important;
  border-right: 2px solid var(--top-red) !important;
  border-bottom: 2px solid var(--top-red) !important;
  border-radius: var(--radius) var(--radius) 0 0;
}

.top-comparison__table tbody th {
  text-align: left;
  padding-left: 20px;
  font-size: 14px;
  font-weight: 500;
  color: var(--top-text);
  border-bottom: 1px solid var(--top-border);
}

.top-comparison__table td {
  text-align: center;
}

/* ボディ（FRONTIER DIRECT列）: 淡い赤背景・左右赤枠線・行間区切り赤線 */
.top-comparison__table td.is-fd {
  background: rgba(204, 36, 43, .04);
  border-left: 2px solid var(--top-red) !important;
  border-right: 2px solid var(--top-red) !important;
  border-bottom: 1px solid rgba(204, 36, 43, .25) !important;
}

/* 最下行（FRONTIER DIRECT列）: 下側赤枠線・下部角丸 */
.top-comparison__table tbody tr:last-child td.is-fd {
  border-bottom: 2px solid var(--top-red) !important;
  border-radius: 0 0 var(--radius) var(--radius);
}

.top-mark {
  width: 24px;
  height: 24px;
  margin: 0 auto;
}

.top-mark--fd {
  width: 32px;
  height: 32px;
}

.top-comparison__noted {
  position: relative;
}

.top-comparison__noted .top-mark {
  margin-top: -7px;
}

.top-comparison__note {
  position: absolute;
  left: 0;
  right: 0;
  bottom: 6px;
  font-size: 10px;
  line-height: 1.4;
  color: var(--top-sub);
  text-align: center;
}

.top-comparison__closing {
  margin-top: 32px;
  width: 100%;
  font-size: 16px;
  line-height: 1.95;
  color: var(--top-sub);
  text-align: center;
}

/* ============================================================
   NETWORK (425:2100)
   ============================================================ */
.top-network {
  background: var(--top-bg-alt);
}

.top-network__grid {
  margin-top: 48px;
  width: 100%;
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 40px 24px;
}

.top-network__item {
  display: flex;
  gap: 16px;
  align-items: flex-start;
}

.top-network__thumb {
  flex: none;
  width: 128px;
  height: 96px;
  border-radius: 8px;
  overflow: hidden;
  background: #dfe6f0;
}

.top-network__thumb img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.top-network__body {
  display: flex;
  flex-direction: column;
  min-width: 0;
}

.top-network__title {
  font-size: 16px;
  font-weight: 700;
  line-height: 1.5;
  color: var(--top-navy-dark);
}

.top-network__desc {
  margin-top: 8px;
  font-size: 13px;
  line-height: 1.55;
  color: var(--top-sub);
}

/* ============================================================
   USE CASE (425:2152)
   ============================================================ */
.top-usecase {
  background: #fff;
}

.top-usecase__grid {
  margin-top: 48px;
  width: 100%;
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
}

.top-usecase__card {
  display: flex;
  flex-direction: column;
  border: 1px solid var(--top-border);
  border-radius: 12px;
  overflow: hidden;
  background: #fff;
}

/* 見出しはSPでアコーディオンのトリガーになるため button で組む */
.top-usecase__head {
  width: 100%;
  min-height: 56px;
  padding: 15px 20px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  background: var(--top-navy);
  color: #fff;
  text-align: left;
  cursor: default;
}

.top-usecase__title {
  font-size: 18px;
  font-weight: 700;
  line-height: 1.45;
}

.top-usecase__chevron {
  display: none;
  flex: none;
  width: 24px;
  height: 24px;
}

.top-usecase__body {
  flex: 1;
  padding: 20px;
  display: flex;
  flex-direction: column;
  background-color: var(--top-bg-soft);
}

.top-usecase__desc {
  font-size: 14px;
  line-height: 1.9;
  color: var(--top-text);
}

.top-usecase__tag {
  align-self: flex-start;
  margin-top: 20px;
  height: 32px;
  padding: 0 17px;
  border-radius: 16px;
  display: inline-flex;
  align-items: center;
  background: #fff;
  border: 1px solid var(--top-border);
  color: var(--top-navy-dark);
  font-size: 12px;
  font-weight: 200;
  line-height: 1;
}

/* ============================================================
   WORKS 実績紹介 (425:2206)
   ============================================================ */
.top-works {
  background: var(--top-bg-alt);
}

.top-works__grid {
  width: 100%;
  display: grid;
  gap: 32px;
}

.top-works__grid--two {
  margin-top: 48px;
  grid-template-columns: repeat(2, 357.33px);
  justify-content: center;
}

.top-works__grid--three {
  margin-top: 32px;
  grid-template-columns: repeat(3, 1fr);
}

.top-works__grid--three .top-works__pill {
  background-color: var(--top-red);
}

.top-works__card {
  background: #fff;
  border-radius: 12px;
  overflow: hidden;
  box-shadow: 0 12px 32px -24px rgba(23, 50, 95, .5);
}

.top-works__thumb {
  position: relative;
  aspect-ratio: 3 / 2;
}

.top-works__thumb img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.top-works__pill {
  position: absolute;
  left: 16px;
  top: 16px;
  height: 24px;
  padding: 0 12px;
  border-radius: 5px;
  display: inline-flex;
  align-items: center;
  gap: 4px;
  background: var(--top-navy);
  color: #fff;
  font-size: 12px;
  font-weight: 700;
  line-height: 1;
  white-space: nowrap;
}

.top-works__pill img {
  width: 20px;
  height: 20px;
}

.top-works__body {
  padding: 24px;
  min-height: 136px;
}

.top-works__title {
  font-size: 18px;
  font-weight: 700;
  line-height: 1.45;
  color: var(--top-navy-dark);
}

.top-works__desc {
  margin-top: 12px;
  font-size: 14px;
  line-height: 1.8;
  color: var(--top-sub);
}

.top-works__note {
  margin-top: 32px;
  font-size: 14px;
  line-height: 1.7;
  color: var(--top-sub);
  text-align: center;
}

/* ============================================================
   SERVICE サービス紹介 (425:2295)
   ============================================================ */
.top-service {
  background: #fff;
}

.top-service__grid {
  margin-top: 49px;
  width: 100%;
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 32px;
  align-items: stretch;
}

.top-service__card {
  display: flex;
  flex-direction: column;
  border: 1px solid var(--top-border);
  border-radius: 16px;
  overflow: hidden;
  background: #fff;
  box-shadow: 0 20px 48px -32px rgba(23, 50, 95, .6);
}

.top-service__head {
  position: relative;
  height: 207px;
  flex: none;
}

.top-service__photo {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.top-service__head::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, rgba(15, 37, 71, .25) 0%, rgba(15, 37, 71, .82) 100%);
}

.top-service__card--red .top-service__head::after {
  background: linear-gradient(180deg, rgba(112, 18, 22, .25) 0%, rgba(140, 22, 27, .82) 100%);
}

.top-service__head-inner {
  position: absolute;
  left: 24px;
  right: 24px;
  bottom: 20px;
  z-index: 1;
}

.top-service__tag {
  height: 32px;
  padding: 0 16px;
  border-radius: 16px;
  display: inline-flex;
  align-items: center;
  color: #fff;
  font-size: 12px;
  font-weight: 500;
  line-height: 1;
}

.top-service__card--navy .top-service__tag {
  background: var(--top-navy);
}

.top-service__card--red .top-service__tag {
  background: var(--top-red);
}

.top-service__title {
  margin-top: 8px;
  font-family: var(--font-head);
  font-weight: 900;
  font-size: 28px;
  line-height: 1.45;
  color: #fff;
}

.top-service__body {
  flex: 1;
  padding: 32px;
  display: flex;
  flex-direction: column;
}

.top_service__border {
  border: 1px solid var(--top-border);
  margin-bottom: 20px;
}

.top-service__list {
  display: flex;
  flex-direction: column;
  gap: 12px;
  margin-bottom: 32px;
}

.top-service__list--two {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 12px;
  grid-auto-flow: column;
  grid-template-rows: repeat(3, auto);
}

.top-service__list li {
  display: flex;
  gap: 8px;
  align-items: flex-start;
  font-size: 15px;
  line-height: 1.5;
  color: var(--top-text);
}

.top-service__list img {
  flex: none;
  width: 24px;
  height: 24px;
}

.top-service__list--two {
  margin-bottom: 20px;
}

.top-service__products {
  margin-bottom: 32px;
}

.top-service__products-label {
  font-family: var(--font-en);
  font-weight: 700;
  font-size: 12px;
  letter-spacing: 1px;
  color: var(--top-sub);
}

.top-service__chips {
  margin-top: 12px;
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
}

.top-service__chips li {
  height: 24px;
  padding: 0 13px;
  border-radius: 12px;
  display: inline-flex;
  align-items: center;
  background: var(--top-bg-soft);
  border: 1px solid var(--top-border);
  font-size: 12px;
  font-weight: 500;
  color: var(--top-sub);
  line-height: 1;
}

.top-service__chips li:last-child {
  background-color: #fff;
}

.top-service__btn {
  margin-top: auto;
  padding-top: 0;
  height: 56px;
  flex: none;
  padding: 0 24px;
  border-radius: 8px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  font-size: 16px;
  font-weight: 700;
  color: #fff;
  transition: opacity .2s ease;
}

.top-service__btn:hover {
  opacity: .88;
}

.top-service__btn img {
  width: 24px;
  height: 24px;
  filter: brightness(0) invert(1);
}

.top-service__card--navy .top-service__btn {
  background: var(--top-navy);
}

.top-service__card--red .top-service__btn {
  background: var(--top-red);
}

/* ============================================================
   PACKAGE 無人販売ブース (425:2405)
   ============================================================ */
.top-package {
  background: var(--top-bg-cream);
}

.top-package .top-eyebrow {
  color: var(--top-yellow);
}

.top-package__heading {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 16px;
  flex-wrap: wrap;
}

.top-package__new {
  height: 30px;
  padding: 0 12px;
  border-radius: 5px;
  display: inline-flex;
  align-items: center;
  background: #e1b742;
  color: #fff;
  font-family: var(--font-en);
  font-weight: 700;
  font-size: 13px;
  letter-spacing: 1px;
  line-height: 1;
}

.top-package__flow-head {
  margin-top: 56px;
  text-align: center;
  max-width: 716px;
}

.top-package__flow-title {
  font-size: 20px;
  font-weight: 700;
  line-height: 1.5;
  color: var(--top-navy-dark);
}

.top-package__flow-desc {
  margin-top: 8px;
  font-size: 14px;
  line-height: 1.7;
  color: var(--top-sub);
  text-align: left;
  width: 100%;
}

.top-package__flow {
  margin-top: 32px;
  width: 100%;
  display: flex;
  justify-content: center;
  gap: 10px;
}

.top-package__step {
  flex: 1 1 0;
  min-width: 0;
  max-width: 228px;
  background: #fff;
  border: 2px solid var(--top-yellow);
  border-radius: 12px;
  padding: 20px;
  text-align: center;
  display: flex;
  flex-direction: column;
  justify-content: flex-start;
}

.top-package__step:first-child {
  border-color: var(--top-navy);
}

/* イラスト未入稿時もレイアウトが崩れないよう、枠に淡い下地を敷く */
.top-package__step-icon {
  width: 96px;
  height: 96px;
  margin: 0 auto;
  display: block;
  border-radius: 12px;
  background: rgba(23, 50, 95, .05);
  overflow: hidden;
}

.top-package__step-icon img {
  width: 96px;
  height: 96px;
  object-fit: contain;
}

.top-package__step-title {
  margin-top: 20px;
  font-size: 16px;
  font-weight: 700;
  line-height: 1.5;
  color: var(--top-navy-dark);
}

.top-package__step-desc {
  margin-top: 8px;
  font-size: 13px;
  line-height: 1.55;
  color: var(--top-sub);
}

.top-package__arrow {
  flex: none;
  align-self: center;
}

.top-package__arrow img {
  width: 16px;
  height: 24px;
  filter: brightness(85%) saturate(250%);
}

.top-package__subhead {
  margin-top: 56px;
  width: 100%;
  font-size: 20px;
  font-weight: 700;
  line-height: 1.5;
  color: var(--top-navy-dark);
  text-align: center;
}

.top-package__cards {
  margin-top: 32px;
  width: 100%;
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 32px 24px;
}

.top-package__card {
  position: relative;
  min-height: 205px;
  background-color: #FBFAF6;
  border: 3px dotted var(--top-yellow);
  border-radius: 12px;
  padding: 32px 20px 20px;
}

.top-package__card:has(.top-package__card-badge--base) {
  border: 2px solid var(--top-navy);
  background-color: #fff;
}

.top-package__card:has(.top-package__card-badge--base) .top-package__card-num {
  color: var(--top-navy);
}

.top-package__card:has(.top-package__card-badge--base) .top-package__card-owner {
  background-color: var(--top-bg-soft);
  color: var(--top-navy);
}


.top-package__card-badge {
  position: absolute;
  left: 20px;
  top: -12px;
  height: 24px;
  padding: 0 13px;
  border-radius: 5px;
  display: inline-flex;
  align-items: center;
  background: var(--top-bg-soft);
  color: var(--top-navy-dark);
  font-size: 12px;
  font-weight: 700;
  line-height: 1;
  white-space: nowrap;
  border: 1px solid var(--top-border);
}

.top-package__card-badge--base {
  background: var(--top-navy);
  color: #fff;
  border: none;
}

.top-package__card-num {
  position: absolute;
  right: 16px;
  top: 16px;
  font-family: var(--font-en);
  font-weight: 800;
  font-size: 40px;
  line-height: 1;
  color: var(--top-yellow);
}

.top-package__card-title {
  font-size: 16px;
  font-weight: 700;
  line-height: 1.5;
  color: var(--top-navy-dark);
}

.top-package__card-desc {
  margin-top: 8px;
  font-size: 13px;
  line-height: 1.75;
  color: var(--top-sub);
}

.top-package__card-owner {
  margin-top: 20px;
  height: 32px;
  padding: 0 16px;
  border-radius: 16px;
  display: inline-flex;
  align-items: center;
  gap: 8px;
  background: #fff;
  font-family: var(--font-en);
  font-weight: 700;
  font-size: 12px;
  letter-spacing: .5px;
  color: var(--top-yellow);
  line-height: 1;
}

.top-package__card-owner img {
  width: 20px;
  height: 20px;
}

/* ============================================================
   REASON 強み・特徴 (425:2534)
   ============================================================ */
.top-reason {
  background: var(--top-bg-alt);
}

.top-reason__grid {
  margin-top: 48px;
  width: 100%;
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 32px;
}

.top-reason__card {
  display: flex;
  flex-direction: column;
  background: #fff;
  border: 1px solid var(--top-border);
  border-radius: 16px;
  padding: 25px 33px 33px;
}

.top-reason__num {
  font-family: var(--font-en);
  font-weight: 800;
  font-size: 40px;
  line-height: 1.4;
  color: var(--top-bg-alt);
}

.top-reason__title {
  margin-top: 16px;
  font-size: 18px;
  font-weight: 700;
  line-height: 1.5;
  color: var(--top-navy-dark);
}

.top-reason__desc {
  margin-top: 16px;
  font-size: 14px;
  line-height: 1.93;
  color: var(--top-sub);
}

.top-reason__foot {
  margin-top: auto;
  padding-top: 32px;
  display: flex;
  gap: 8px;
  align-items: center;
  font-size: 14px;
  font-weight: 700;
  line-height: 1.4;
  color: var(--top-navy);
}

.top-reason__foot img {
  flex: none;
  width: 20px;
  height: 20px;
}

/* ============================================================
   FLOW ご利用の流れ (425:2584)
   ============================================================ */
.top-flow {
  background: #fff;
}

.top-flow__grid {
  position: relative;
  margin-top: 40px;
  width: 100%;
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 16px;
}

/* ステップ番号を貫く水平ライン（Figma 425:2594） */
.top-flow__grid::before {
  content: "";
  position: absolute;
  top: 100px;
  left: 120px;
  right: 120px;
  height: 1px;
  background: var(--top-border);
}

.top-flow__step {
  position: relative;
  padding: 20px;
  background: var(--top-bg-soft);
  border: 1px solid var(--top-border);
  border-radius: 12px;
}

.top-flow__num {
  position: relative;
  z-index: 1;
  width: 40px;
  height: 40px;
  border-radius: 5px;
  background: var(--top-navy);
  color: #fff;
  display: flex;
  align-items: center;
  justify-content: center;
  font-family: var(--font-en);
  font-weight: 700;
  font-size: 16px;
  line-height: 1;
}

.top-flow__title {
  margin-top: 20px;
  font-size: 16px;
  font-weight: 700;
  line-height: 1.5;
  color: var(--top-navy-dark);
}

.top-flow__desc {
  margin-top: 8px;
  font-size: 13px;
  line-height: 1.55;
  color: var(--top-sub);
}

/* ============================================================
   COMPANY 会社情報 (425:2627)
   ============================================================ */
.top-company {
  background: linear-gradient(180deg, #17325f 0%, #0f2547 100%);
  color: #fff;
}

.top-company .top-eyebrow {
  text-align: left;
}

.top-company__grid {
  margin-top: 28px;
  width: 100%;
  display: grid;
  grid-template-columns: 544fr 544fr;
  gap: 48px;
  align-items: start;
}

.top-company__heading {
  font-family: var(--font-head);
  font-weight: 900;
  font-size: 36px;
  line-height: 1.4;
  color: #fff;
}

.top-company__desc {
  margin-top: 24px;
  font-size: 14px;
  line-height: 1.95;
  color: rgba(255, 255, 255, .8);
}

.top-company__stats {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 15px 16px;
}

.top-company__stat {
  min-height: 128px;
  padding: 25px;
  background: rgba(255, 255, 255, .08);
  border: 1px solid rgba(255, 255, 255, .14);
  border-radius: 12px;
}

.top-company__bar {
  display: block;
  width: 32px;
  height: 4px;
  border-radius: 2px;
  background: var(--top-red);
}

.top-company__stat-label {
  display: block;
  margin-top: 16px;
  font-size: 14px;
  font-weight: 500;
  line-height: 1;
  color: rgba(255, 255, 255, .8);
}

.top-company__stat-value {
  display: flex;
  align-items: baseline;
  gap: 4px;
  margin-top: 14px;
  color: #fff;
}

.top-company__stat-value em {
  font-family: var(--font-en);
  font-weight: 800;
  font-style: normal;
  font-size: 36px;
  line-height: 1;
  letter-spacing: -.5px;
}

.top-company__stat-value small {
  font-size: 16px;
  font-weight: 700;
  line-height: 1;
}

.top-company__stat-value .is-pre {
  font-size: 20px;
}

/* ============================================================
   CONTACT (425:2675)
   ============================================================ */
.top-contact {
  background: #fff;
}

.top-contact__buttons {
  margin-top: 48px;
  width: 100%;
  max-width: 752px;
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 32px;
}

.top-contact__btn {
  height: 80px;
  border-radius: 8px;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 13px;
  color: #fff;
  transition: opacity .2s ease;
}

.top-contact__btn:hover {
  opacity: .88;
}

.top-contact__btn--navy {
  background: var(--top-navy);
}

.top-contact__btn--red {
  background: var(--top-red);
}

.top-contact__btn-icon {
  flex: none;
  width: 32px;
  height: 32px;
}

.top-contact__btn-text {
  display: flex;
  flex-direction: column;
  gap: 4px;
}

.top-contact__btn-label {
  font-size: 12px;
  font-weight: 500;
  line-height: 1.4;
  opacity: .9;
}

.top-contact__btn-main {
  display: flex;
  align-items: center;
  gap: 8px;
  font-size: 18px;
  font-weight: 700;
  line-height: 1.2;
}

.top-contact__btn-main img {
  width: 24px;
  height: 24px;
  filter: brightness(0) invert(1);
}

.top-contact__sub {
  margin-top: 32px;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 8px;
}

.top-contact__free {
  display: flex;
  align-items: center;
  gap: 4px;
  font-size: 14px;
  font-weight: 700;
  line-height: 1.4;
  color: var(--top-navy);
}

.top-contact__free img {
  width: 20px;
  height: 20px;
}

.top-contact__download {
  font-size: 14px;
  font-weight: 500;
  color: var(--top-sub);
  text-decoration: underline;
  text-underline-offset: 4px;
}

.top-contact__download:hover {
  color: var(--top-navy);
}

.site-footer .site-footer__navlink {
  text-decoration: underline;
}

/* ============================================================
   タブレット（〜1100px）
   ============================================================ */
@media (max-width: 1100px) {
  .top-hero__visual {
    position: absolute;
    top: 0;
    right: 0;
    width: 55vw;
    height: 560px;
    opacity: .35;
    pointer-events: none;
  }

  .top-hero__photo {
    position: absolute;
    right: 0;
    bottom: 0;
    object-fit: cover;
    -webkit-mask-image: url("../img/top/hero-photo-mask.svg");
    mask-image: url("../img/top/hero-photo-mask.svg");
    -webkit-mask-position: 0 0;
    mask-position: 0 0;
    -webkit-mask-size: 100% 100%;
    mask-size: 100% 100%;
    -webkit-mask-repeat: no-repeat;
    mask-repeat: no-repeat;
  }

  .top-works__grid--two {
    grid-template-columns: repeat(2, 1fr);
  }

  .top-company__grid {
    grid-template-columns: 1fr;
    gap: 40px;
  }
}

/* ============================================================
/* ============================================================
   SP（〜768px）— Figma 425:2823「0806_SP」の実数値に準拠
   基準幅440px／左右padding 20px＝コンテンツ400px。375〜440pxで可変
   ============================================================ */
@media (max-width: 768px) {

  /* SP専用改行を有効化 */
  .top-sp-br {
    display: inline;
  }

  /* セクション共通: 上下60px・見出し28px（Figma 428:2994 / 428:2997） */
  .top-section {
    padding: 60px 0;
  }

  .top-heading {
    margin-top: 16px;
    font-size: 28px;
    line-height: 1.4;
    text-align: left;
    width: 100%;
  }


  .top-lead {
    margin-top: 12px;
    font-size: 14px;
    line-height: 1.95;
    text-align: left;
    width: 100%;
  }

  .top-eyebrow {
    font-size: 12px;
    letter-spacing: 2.5px;
    text-align: left;
  }

  /* ---------- HERO (425:2834 / 428:2854) ---------- */
  /* SPは写真が上部280pxの全幅バンド。帯と本文がその下端に重なる */
  .top-hero {
    padding: 0 0 60px;
  }

  .top-hero__visual {
    position: relative;
    top: auto;
    right: auto;
    width: 100%;
    height: 280px;
    opacity: 1;
    overflow: hidden;
    margin-left: 10%;
  }

  .top-hero__photo {
    position: absolute;
    left: 50%;
    top: 0;
    bottom: auto;
    width: 100%;
    height: 100%;
    max-width: none;
    transform: translateX(-50%);
    object-fit: cover;
    -webkit-mask-image: url("../img/top/hero-photo-mask.svg");
    mask-image: url("../img/top/hero-photo-mask.svg");
    -webkit-mask-position: 0 0;
    mask-position: 0 0;
    -webkit-mask-size: 100% 100%;
    mask-size: 100% 100%;
    -webkit-mask-repeat: no-repeat;
    mask-repeat: no-repeat;
  }

  .top-hero__inner {
    margin-top: -84px;
  }

  /* 帯: 高さ64px・左端まで全幅・右端斜めカット（Figma 425:2839 / 428:2846） */
  .top-hero__badge {
    position: relative;
    z-index: 1;
    width: fit-content;
    max-width: calc(100% + 20px);
    height: 64px;
    padding: 8px 24px 8px calc((100vw - 100%) / 2);
    align-items: center;
    gap: 8px;
    font-size: 16px;
    line-height: 1.45;
    letter-spacing: 0;
    white-space: normal;
  }

  .top-hero__badge::before {
    content: "";
    position: absolute;
    top: 0;
    bottom: 0;
    left: 0;
    right: 21px;
    /* キャップ幅22pxから1px重ねる */
    background: var(--top-navy);
    z-index: -1;
  }

  .top-hero__badge-deco {
    position: absolute;
    top: 0;
    right: 0;
    height: 100%;
    /* = 64px、SVGが自動で縦に伸びる */
    width: 22px;
    /* 元の34pxよりやや細め。SPの元clip-pathが16px幅だったのに近づけています */
    display: block;
    pointer-events: none;
    z-index: 1;
  }

  .top-hero__badge-bar {
    align-self: start;
    margin-top: 4%;
    width: 24px;
    height: 4px;
  }

  /* 見出し40px（Figma 428:2849 高さ104＝2行×52） */
  .top-hero__title {
    margin-top: 40px;
    font-size: 40px;
    line-height: 1.3;
  }

  .top-hero__lead {
    margin-top: 24px;
    max-width: none;
    font-size: 14px;
    line-height: 1.95;
  }

  /* 実績は3カラム・アイコン上／テキスト中央（Figma 428:2856） */
  .top-hero__stats {
    width: 100%;
    margin-top: 24px;
    gap: 12px;
  }

  .top-hero__stat {
    height: auto;
    min-height: 116px;
    padding: 13px 8px;
    flex-direction: column;
    gap: 12px;
    text-align: center;
  }

  .top-hero__stat-icon {
    margin: 0 auto;
  }

  .top-hero__stat-body {
    align-items: center;
    gap: 4px;
    width: 100%;
  }

  .top-hero__stat-label {
    font-size: 12px;
  }

  .top-hero__stat-value {
    font-size: 14px;
  }

  /* ---------- ENTRY CARDS (428:2947) ---------- */
  .top-entry {
    padding: 0 0 60px;
  }

  .top-entry__grid {
    flex-direction: column;
    gap: 24px;
  }

  .top-entry__card {
    padding: 32px 24px;
    min-height: 290px;
  }

  .top-entry__deco {
    top: -12px;
    right: -8px;
    width: 108px;
    height: 108px;
  }

  .top-entry__head {
    padding: 0;
  }

  .top-entry__icon {
    width: 28px;
    height: 28px;
    margin: 0;
  }

  .top-entry__title {
    font-size: 20px;
    line-height: 1.4;
  }

  .top-entry__desc {
    margin: 16px 0 24px;
    font-size: 14px;
    line-height: 1.95;
  }

  .top-entry__btn {
    font-size: 15px;
    padding: 0 20px;
    height: 52px;
  }

  /* ---------- ISSUE (428:2993) ---------- */
  .top-issue__grid {
    flex-direction: column;
    gap: 32px;
    margin-top: 32px;
  }

  .top-issue__card {
    padding: 32px 24px;
    min-height: 200px;
  }

  .top-issue__closing {
    margin-top: 24px;
    font-size: 16px;
    line-height: 1.85;
  }


  /* ---------- ONE-STOP (432:3039) ---------- */
  /* 1カラムの縦リスト＋中央の縦コネクタ線（Figma 476:756）。既定は400pxで折りたたむ */
  .top-onestop__grid {
    grid-template-columns: 1fr;
    gap: 24px;
    margin-top: 32px;
    max-height: 400px;
    overflow: hidden;
  }

  .top-onestop__grid.is-open {
    max-height: none;
  }

  .top-onestop__grid::before {
    left: 50%;
    top: 48px;
    transform: translateX(-50%);
    width: 1px;
    height: calc(100% - 96px);
    max-width: none;
    background-image: none;
    background-color: var(--top-border);
  }

  .top-onestop__item {
    min-height: 96px;
    padding: 20px;
    display: grid;
    grid-template-columns: 32px 1fr;
    column-gap: 16px;
    align-content: start;
  }

  .top-onestop__num {
    position: static;
    grid-row: span 2;
    align-self: start;
    width: 32px;
    height: 32px;
    border-radius: 8px;
    font-size: 14px;
  }

  .top-onestop__badge {
    top: 20px;
    right: 20px;
  }

  .top-onestop__title {
    grid-column: 2;
    margin-top: 0;
    align-self: center;
    font-size: 16px;
  }

  .top-onestop__desc {
    grid-column: 2;
    margin-top: 4px;
  }

  /* 開閉ボタン（Figma 449:4386「ひらく」128×32 / 476:845「とじる」） */
  .top-onestop__toggle {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 4px;
    width: 128px;
    height: 32px;
    margin: 16px auto 0;
    border: 1px solid var(--top-border);
    border-radius: 16px;
    background: #fff;
    font-size: 14px;
    font-weight: 500;
    color: var(--top-text);
    line-height: 1;
  }

  .top-onestop__toggle-icon {
    width: 24px;
    height: 24px;
    transition: transform .2s ease;
  }

  .top-onestop__toggle.is-open .top-onestop__toggle-icon {
    transform: rotate(180deg);
  }

  /* ---------- COMPARISON (434:3257) ---------- */
  /* 表は756px固定で横スクロール。初回だけヒントを重ねる（Figma 434:3628） */
  .top-comparison__wrap {
    margin-top: 32px;
  }

  .top-comparison__table {
    min-width: 756px;
  }

  .top-comparison__table th,
  .top-comparison__table td {
    height: 48px;
  }

  .top-comparison__th-label {
    padding-left: 16px;
  }

  .top-comparison__table tbody th {
    padding-left: 16px;
    font-size: 13px;
  }

  .top-comparison__hint {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 8px;
    position: absolute;
    left: 50%;
    top: 145px;
    transform: translateX(-50%);
    width: 120px;
    padding: 12px 0;
    z-index: 2;
    pointer-events: none;
    background: rgba(255, 255, 255, .92);
    border-radius: 12px;
    box-shadow: 0 8px 24px -12px rgba(23, 50, 95, .5);
    font-size: 13px;
    font-weight: 700;
    color: var(--top-navy);
    line-height: 1.4;
    transition: opacity .3s ease;
  }

  .top-comparison__hint img {
    width: 40px;
    height: 40px;
  }

  .top-comparison__hint.is-hidden {
    opacity: 0;
  }

  .top-comparison__closing {
    margin-top: 32px;
    font-size: 14px;
    line-height: 1.95;
    text-align: left;
  }

  /* ---------- NETWORK (434:3632) ---------- */
  /* 1カラム・サムネはPCと同じ128×96（Figma 434:3644） */
  .top-network__grid {
    grid-template-columns: 1fr;
    gap: 24px;
    margin-top: 32px;
  }

  .top-network__thumb {
    width: 128px;
    height: 96px;
  }

  .top-network__desc {
    margin-top: 8px;
  }

  /* ---------- USE CASE (434:3693) ---------- */
  /* SPのみアコーディオン。1件目だけ開いた状態で表示 */
  .top-usecase__grid {
    grid-template-columns: 1fr;
    gap: 16px;
    margin-top: 32px;
  }

  .top-usecase__head {
    min-height: 56px;
    padding: 16px 20px;
    cursor: pointer;
  }

  .top-usecase__title {
    font-size: 16px;
    line-height: 1.45;
  }

  .top-usecase__chevron {
    display: block;
    transition: transform .2s ease;
  }

  .top-usecase__head[aria-expanded="true"] .top-usecase__chevron {
    transform: rotate(180deg);
  }

  .top-usecase__body {
    padding: 20px;
  }

  .top-usecase__head[aria-expanded="false"]+.top-usecase__body {
    display: none;
  }

  .top-usecase__desc {
    font-size: 14px;
    line-height: 1.95;
  }

  .top-usecase__tag {
    margin-top: 20px;
  }

  /* ---------- WORKS (434:3738) ---------- */
  /* 2カラム・gap16（Figma 434:3745 192px×2） */
  .top-works__grid--two,
  .top-works__grid--three {
    grid-template-columns: repeat(2, 1fr);
    gap: 16px;
  }

  .top-works__grid--two {
    margin-top: 32px;
    justify-content: stretch;
  }

  .top-works__grid--three {
    margin-top: 16px;
  }

  .top-works__pill {
    left: 8px;
    top: 12px;
    height: 20px;
    padding: 0 8px;
    font-size: 11px;
  }

  .top-works__pill img {
    width: 16px;
    height: 16px;
  }

  .top-works__body {
    padding: 16px;
    min-height: 0;
  }

  .top-works__title {
    font-size: 16px;
    line-height: 1.45;
  }

  .top-works__desc {
    margin-top: 8px;
    font-size: 13px;
    line-height: 1.6;
  }

  .top-works__note {
    margin-top: 24px;
    font-size: 13px;
    text-align: left;
    width: 100%;
  }

  /* ---------- SERVICE (434:3856) ---------- */
  .top-service__grid {
    grid-template-columns: 1fr;
    gap: 24px;
    margin-top: 32px;
  }

  .top-service__head {
    height: 207px;
  }

  .top-service__title {
    font-size: 24px;
  }

  .top-service__body {
    padding: 24px 20px;
  }

  .top-service__list--two {
    grid-auto-flow: row;
    grid-template-rows: none;
  }

  .top-service__btn {
    font-size: 14px;
    padding: 0 16px;
  }

  /* ---------- PACKAGE (442:4000) ---------- */
  /* ステップは横並び（アイコン80px＋テキスト）、間に下向き矢印（Figma 442:4017 / 442:4025） */
  .top-package__heading {
    display: block;
  }

  .top-package__flow-head {
    margin-top: 36px;
  }

  .top-package__new {
    display: none;
  }

  .top-package__flow-title {
    font-size: 17px;
    text-align: left;
  }

  .top-package__flow {
    flex-direction: column;
    align-items: stretch;
    gap: 0;
    margin-top: 24px;
  }

  .top-package__step {
    max-width: none;
    min-height: 120px;
    padding: 20px;
    display: grid;
    grid-template-columns: 80px 1fr;
    column-gap: 40px;
    align-content: start;
    text-align: left;
  }

  .top-package__step-icon {
    grid-row: span 2;
    width: 80px;
    height: 80px;
  }

  .top-package__step-icon img {
    width: 80px;
    height: 80px;
  }

  .top-package__step-title {
    grid-column: 2;
    margin-top: 0;
  }

  .top-package__step-desc {
    grid-column: 2;
  }

  .top-package__arrow {
    margin: 10px auto;
    transform: rotate(90deg);
  }

  .top-package__arrow img {
    width: 16px;
    height: 24px;
  }

  .top-package__subhead {
    margin-top: 40px;
    font-size: 18px;
    line-height: 1.5;
    text-align: left;
  }

  .top-package__cards {
    grid-template-columns: 1fr;
    gap: 36px 0;
    margin-top: 40px;
  }

  .top-package__card {
    min-height: 182px;
    padding: 32px 20px 20px;
  }

  .top-package__card-num {
    right: 16px;
    top: 16px;
  }

  /* ---------- REASON (442:4129) ---------- */
  .top-reason__grid {
    grid-template-columns: 1fr;
    gap: 24px;
    margin-top: 32px;
  }

  .top-reason__card {
    min-height: 290px;
    padding: 25px 33px 33px;
  }

  .top-reason__foot {
    padding-top: 24px;
  }

  /* ---------- FLOW (446:4179) ---------- */
  /* ONE-STOPと同じ縦リスト＋中央の縦線（Figma 446:4188） */
  .top-flow__grid {
    grid-template-columns: 1fr;
    gap: 24px;
    margin-top: 32px;
  }

  .top-flow__grid::before {
    display: block;
    left: 50%;
    right: auto;
    top: 54px;
    transform: translateX(-50%);
    width: 1px;
    height: calc(100% - 108px);
  }

  .top-flow__step {
    position: relative;
    z-index: 1;
    min-height: 96px;
    padding: 20px;
    display: grid;
    grid-template-columns: 32px 1fr;
    column-gap: 16px;
    align-content: start;
  }

  .top-flow__num {
    grid-row: span 2;
    width: 32px;
    height: 32px;
    border-radius: 8px;
    font-size: 14px;
  }

  .top-flow__title {
    grid-column: 2;
    margin-top: 0;
    align-self: center;
    font-size: 16px;
  }

  .top-flow__desc {
    grid-column: 2;
    margin-top: 4px;
  }

  /* ---------- WORKS ---------- */
  .top-reason__title br {
    display: none;
  }


  /* ---------- COMPANY (446:4328) ---------- */
  .top-company__grid {
    grid-template-columns: 1fr;
    margin-top: 28px;
    gap: 32px;
  }

  .top-company__heading {
    font-size: 28px;
  }

  .top-company__desc {
    margin-top: 16px;
    font-size: 14px;
    line-height: 1.95;
  }

  .top-company__stats {
    gap: 16px;
  }

  .top-company__stat {
    min-height: 104px;
    padding: 20px 16px;
  }

  .top-company__stat-label {
    margin-top: 12px;
    font-size: 13px;
  }

  .top-company__stat-value {
    margin-top: 12px;
  }

  .top-company__stat-value em {
    font-size: 28px;
  }

  .top-company__stat-value small {
    font-size: 13px;
  }

  .top-company__stat-value .is-pre {
    font-size: 16px;
  }

  /* ---------- CONTACT (449:4403) ---------- */
  /* ボタンは360px幅で縦積み（Figma 449:4410 / 449:4422） */
  .top-contact__buttons {
    grid-template-columns: 1fr;
    gap: 24px;
    margin: 32px auto 0;
    max-width: 360px;
  }

  .top-contact__btn {
    height: 80px;
  }

  .top-contact__btn-main {
    font-size: 16px;
  }

  .top-contact__sub {
    margin-top: 24px;
  }

  .site-footer .site-footer__navlink {
    text-decoration: none;
  }
}
