/* ============================================================
   lower.css — 下層ページ共通コンポーネント
   読み込み順: reset.css → common.css → lower.css
   ブロック: breadcrumb / page-hero / text-page /
             service-detail / business-hub / form
   ============================================================ */

/* ------------------------------------------------------------
   パンくずリスト
   ------------------------------------------------------------ */
.breadcrumb {
  font-size: 0.78rem;
  margin-bottom: 1.25rem;
}

.breadcrumb__list {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
}

.breadcrumb__item {
  display: flex;
  align-items: center;
}

.breadcrumb__item + .breadcrumb__item::before {
  content: '›';
  margin: 0 0.625rem;
  opacity: 0.55;
}

.breadcrumb__item[aria-current] {
  font-weight: 700;
}

.breadcrumb__link {
  transition: color 0.2s;
}

/* ------------------------------------------------------------
   下層タイトル部(page-hero)
   写真タイプ: .page-hero(背景写真 + スクリム + 白文字)
   プレーンタイプ: .page-hero--plain(#F5F5F5 + 黒文字 + 赤罫線)
   ------------------------------------------------------------ */
.page-hero {
  --page-hero-title-size: clamp(1.7rem, 3.5vw, 2.75rem); /* title と rule(1文字幅)が共有 */
  position: relative;
  margin-top: var(--header-h);
  min-height: 21.25rem;
  display: flex;
  align-items: center;
  overflow: hidden;
}

.page-hero__bg {
  position: absolute;
  inset: 0;
  background-size: cover;
  background-position: center;
}

.page-hero__scrim {
  position: absolute;
  inset: 0;
  background: rgba(0,0,0,0.55);
}

.page-hero__inner {
  position: relative;
  z-index: 1;
  width: 100%;
  padding-top: 3rem;
  padding-bottom: 3rem;
}

.page-hero__title {
  font-family: var(--font-ja);
  font-size: var(--page-hero-title-size);
  font-weight: 700;
  letter-spacing: 0.04em;
  line-height: 1.4;
  color: var(--white);
}

.page-hero__rule {
  width: 1em; /* タイトル1文字ぶんの幅 */
  height: 0.25rem;
  font-size: var(--page-hero-title-size);
  background: var(--red);
  margin-top: 0.25em; /* タイトルサイズに連動した詰め幅 */
}

/* 写真タイプのパンくず(白文字) */
.page-hero .breadcrumb__item {
  color: rgba(255,255,255,0.85);
}

.page-hero .breadcrumb__link:hover {
  color: var(--white);
}

/* プレーンタイプ */
.page-hero--plain {
  background: var(--gray-lightest);
  min-height: 14.5rem;
}

.page-hero--plain .page-hero__title {
  color: var(--black);
}

.page-hero--plain .breadcrumb__item {
  color: #555;
}

.page-hero--plain .breadcrumb__link:hover {
  color: var(--red);
}

/* ------------------------------------------------------------
   テキストページ(会社概要・個人情報保護方針・Cookie・品質)
   ------------------------------------------------------------ */
.text-page {
  padding: 4.5rem 0 7rem;
}

.text-page__inner {
  max-width: 50rem;
  margin: 0 auto;
}

.text-page__section {
  margin-bottom: 3.5rem;
}

.text-page__section:last-child {
  margin-bottom: 0;
}

.text-page__heading {
  font-family: var(--font-ja);
  font-size: 1.375rem;
  font-weight: 700;
  color: var(--black);
  border-left: 0.25rem solid var(--red);
  padding-left: 0.875rem;
  line-height: 1.5;
  margin-bottom: 1.5rem;
}

.text-page__sub-heading {
  font-family: var(--font-ja);
  font-size: 1.05rem;
  font-weight: 700;
  color: var(--black);
  margin: 2rem 0 0.875rem;
}

.text-page__body {
  font-size: 0.95rem;
  line-height: 2;
  color: #333;
  margin-bottom: 1rem;
}

.text-page__body:last-child {
  margin-bottom: 0;
}

/* 本文中のテキストリンク(利用規約リンク・外部参照など) */
.text-page__body a,
.text-page__list a {
  color: var(--red);
  text-decoration: underline;
}

/* 制定日・連絡先など、元サイトでも小さめ右寄せの注記(個人情報保護方針など) */
.text-page__notice {
  font-size: 0.8rem;
  line-height: 1.8;
  text-align: left;
}

/* 元サイトで横並びだった注記同士をまとめるラッパー */
.text-page__notice-group {
  display: flex;
  justify-content: flex-end;
  flex-wrap: wrap;
  gap: 0.5rem 2.5rem;
  margin-top: 2em;
}

/* バッジ画像+本文の横並び(品質ページのISO認証など。トップの.iso__rowと同仕様) */
.text-page__figure-row {
  display: flex;
  align-items: flex-start;
  gap: 1.5rem;
}

.text-page__figure {
  width: 8.75rem;
  flex-shrink: 0;
  margin: 0;
}

.text-page__figure img {
  display: block;
  width: 100%;
  height: auto;
}

.text-page__list {
  list-style: disc;
  padding-left: 1.375rem;
  font-size: 0.95rem;
  line-height: 2;
  color: #333;
  margin-bottom: 1rem;
}

/* 会社概要などの定義リスト形式の表 */
.text-page__table {
  border-top: 1px solid var(--gray-light);
}

.text-page__table-row {
  display: flex;
  border-bottom: 1px solid var(--gray-light);
}

.text-page__table-row dt {
  flex: 0 0 12rem;
  padding: 1.125rem 1.25rem;
  background: var(--gray-lightest);
  font-size: 0.9rem;
  font-weight: 700;
  color: var(--black);
}

.text-page__table-row dd {
  flex: 1;
  padding: 1.125rem 1.25rem;
  font-size: 0.9rem;
  line-height: 1.9;
  color: #333;
}

/* 1行のセル内に複数項目を縦に並べる場合(役員一覧など) */
.text-page__table-items {
  display: grid;
  row-gap: 1em;
}

.text-page__table-item {
  display: flex;
  flex-wrap: wrap;
  column-gap: 2em;
}

.text-page__table-item-label {
  flex: 0 0 9em; /* 役職名の列幅を揃えて名前の頭を揃える */
}

/* モバイル幅でのみ改行させる汎用ユーティリティ(40rem以下は@media側でdisplay:inlineに切替) */
.u-break-mobile {
  display: none;
}

/* セル内で「グループ見出し+項目リスト」を左右2列に並べる場合(会社概要の事業内容など)
   列ごとに独立して縦に積む(行の高さを揃えない)ため、列コンテナを挟む */
.text-page__table-groups {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  column-gap: 2rem;
}

.text-page__table-groups-col {
  display: grid;
  row-gap: 1.25rem;
  align-content: start;
  min-width: 0;
}

.text-page__table-group-title {
  font-weight: 700;
  color: var(--black);
  margin-bottom: 0.25rem;
}

.text-page__table-group-list li {
  position: relative;
  padding-left: 1em;
}

.text-page__table-group-list li::before {
  content: '';
  position: absolute;
  left: 0;
  top: 0.8em;
  width: 0.3em;
  height: 0.3em;
  background: var(--red);
}

/* 番号付きリスト(方針の条項・手続の列挙など) */
.text-page__list--ordered {
  list-style: decimal;
}

/* li同士を1行分空けたい場合 */
.text-page__list--spaced li + li {
  margin-top: 1em;
}

/* th/td形式のデータ表(利用目的一覧・SLA基準値など) */
.text-page__data-table {
  width: 100%;
  border-collapse: collapse;
  font-size: 0.9rem;
  line-height: 1.9;
  color: #333;
  margin-bottom: 1rem;
}

.text-page__data-table th,
.text-page__data-table td {
  border: 1px solid var(--gray-light);
  padding: 0.75rem 1.25rem;
  text-align: left;
  vertical-align: top;
}

.text-page__data-table th {
  background: var(--gray-lightest);
  font-weight: 700;
  color: var(--black);
}

/* 地図の埋め込み(会社概要のオフィス所在地など) */
.text-page__map iframe {
  width: 100%;
  height: 18.75rem;
  border: 0;
  margin-top: 1rem;
}

/* ------------------------------------------------------------
   サービス詳細(事業内容配下8ページ)
   ------------------------------------------------------------ */
.service-detail {
  padding: 4.5rem 0 0;
}

.service-detail__section {
  margin-bottom: 5.5rem;
}

.service-detail__lead {
  font-size: 1rem;
  line-height: 2.2;
  color: #333;
}

.service-detail__lead + .service-detail__lead {
  margin-top: 1em;
}

/* サービス内容(提供メニューのグループ一覧)。既定は2カラム、グループ数が多いページは--3colで3カラムに */
.service-detail__menu {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 2rem 3rem;
}

.service-detail__menu--3col {
  grid-template-columns: repeat(3, 1fr);
}

.service-detail__menu-group {
  min-width: 0;
}

.service-detail__menu-title {
  font-family: var(--font-ja);
  font-size: 1.05rem;
  font-weight: 700;
  color: var(--black);
  border-bottom: 1px solid var(--gray-light);
  padding-bottom: 0.625rem;
  margin-bottom: 0.875rem;
}

/* グループ見出し直下の補足ラベル(「目的・ジャンル別」など) */
.service-detail__menu-note {
  font-size: 0.85rem;
  color: var(--gray);
  margin-bottom: 0.5rem;
}

.service-detail__menu-list {
  display: grid;
  row-gap: 0.375rem;
  font-size: 0.95rem;
  line-height: 1.9;
  color: #333;
}

.service-detail__menu-list li {
  position: relative;
  padding-left: 1em;
}

.service-detail__menu-list li::before {
  content: '';
  position: absolute;
  left: 0;
  top: 0.8em;
  width: 0.375em;
  height: 0.375em;
  background: var(--red);
}

/* 説明文付きの項目(イベントのサービス内容など) */
.service-detail__menu-item-title {
  display: block;
  font-weight: 700;
  color: var(--black);
}

/* 見出し+本文を縦に積むトピック(サーバ管理・イベントの特長ブロックなど) */
.service-detail__topics {
  display: grid;
  row-gap: 2.75rem;
}

.service-detail__topic-title {
  font-family: var(--font-ja);
  font-size: 1.15rem;
  font-weight: 700;
  color: var(--black);
  border-left: 0.25rem solid var(--red);
  padding-left: 0.875rem;
  line-height: 1.5;
  margin-bottom: 1rem;
}

.service-detail__topic-text {
  font-size: 0.95rem;
  line-height: 2;
  color: #333;
}

.service-detail__topic-text + .service-detail__topic-text {
  margin-top: 1em;
}

.service-detail__topic-sub {
  font-size: 0.95rem;
  font-weight: 700;
  color: var(--black);
  margin: 1.5rem 0 0.625rem;
}

.service-detail__topic-list {
  display: grid;
  row-gap: 0.375rem;
  font-size: 0.95rem;
  line-height: 1.9;
  color: #333;
}

.service-detail__topic-list li {
  position: relative;
  padding-left: 1em;
}

.service-detail__topic-list li::before {
  content: '';
  position: absolute;
  left: 0;
  top: 0.8em;
  width: 0.375em;
  height: 0.375em;
  background: var(--red);
}

/* WAF詳細のクリック開閉(サーバ管理・販売のみ) */
.waf-toggle {
  display: inline-flex;
  align-items: center;
  gap: 0.75rem;
  margin-top: 1.5rem;
  padding: 0.875rem 1.5rem;
  background: var(--white);
  border: 1px solid rgba(0,0,0,0.12);
  cursor: pointer;
  transition: border-color 0.3s, box-shadow 0.3s;
}

.waf-toggle:hover {
  border-color: rgba(0,0,0,0.24);
  box-shadow: 0 0.25rem 1rem rgba(0,0,0,0.08);
}

.waf-toggle__logo {
  height: 1.375rem;
  width: auto;
}

.waf-toggle__label {
  font-family: var(--font-ja);
  font-size: 0.85rem;
  font-weight: 700;
  color: var(--red);
}

.waf-toggle__icon {
  width: 0.5rem;
  height: 0.5rem;
  border-right: 0.1875rem solid var(--red);
  border-bottom: 0.1875rem solid var(--red);
  transform: rotate(45deg);
  transition: transform 0.35s var(--ease);
}

.waf-toggle.is-active .waf-toggle__icon {
  transform: rotate(225deg);
}

.waf-panel {
  height: 0;
  overflow: hidden;
}

.waf-panel__inner {
  max-width: 56rem;
  margin: 0 auto;
  padding-top: 2rem;
}

.waf-panel__header {
  display: block;
  max-width: 100%;
  height: auto;
  margin-bottom: 1.75rem;
}

.waf-panel__lead {
  font-size: 1.05rem;
  font-weight: 700;
  color: var(--black);
  text-align: center;
  margin-bottom: 1.75rem;
}

.waf-panel__figure {
  margin: 1.75rem 0;
}

.waf-panel__figure img {
  max-width: 34rem;
  width: 100%;
  height: auto;
  margin: 0 auto;
}

.waf-panel__highlight {
  margin: 2.5rem 0 2.25rem;
  padding: 2rem 2.25rem;
  background: rgba(255, 215, 0, 0.14);
  text-align: center;
}

.waf-panel__list {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  column-gap: 1.5rem;
  row-gap: 0.5rem;
  font-size: 0.95rem;
  line-height: 1.6;
  color: #333;
  margin: 0 0 2rem;
}

.waf-panel__list:last-of-type {
  margin-bottom: 0;
}

.waf-panel__list--dot li::before {
  content: '●';
  color: var(--red);
  margin-right: 0.4em;
  font-size: 0.7em;
  vertical-align: 0.1em;
}

.waf-panel__list--block li::before {
  content: '⊘';
  color: var(--red);
  margin-right: 0.3em;
}

.waf-panel__cta {
  text-align: center;
  margin-top: 0.5rem;
}

/* 進め方フロー */
.service-detail__flow {
  display: flex;
  gap: 1.5rem;
}

.service-detail__step {
  position: relative;
  flex: 1;
  background: var(--gray-lightest);
  padding: 1.75rem 1.375rem;
}

.service-detail__step:not(:last-child)::after {
  content: '→';
  position: absolute;
  top: 50%;
  right: -1.15rem;
  transform: translateY(-50%);
  font-weight: 700;
  color: var(--red);
}

.service-detail__step-num {
  font-family: var(--font-num);
  font-size: 0.78rem;
  font-weight: 900;
  letter-spacing: 0.14em;
  color: var(--red);
  line-height: 1;
}

.service-detail__step-title {
  font-size: 0.98rem;
  font-weight: 700;
  color: var(--black);
  margin: 0.625rem 0 0.5rem;
}

.service-detail__step-text {
  font-size: 0.82rem;
  line-height: 1.8;
  color: #444;
}

/* お問い合わせCTA帯 */
.service-detail__cta {
  background: var(--black);
  text-align: center;
  padding: 4rem 0;
}

.service-detail__cta-title {
  font-size: 1.4rem;
  font-weight: 700;
  color: var(--white);
  margin-bottom: 0.75rem;
}

.service-detail__cta-text {
  font-size: 0.92rem;
  line-height: 1.9;
  color: rgba(255,255,255,0.8);
  margin-bottom: 1.75rem;
}

/* 社員インタビュー(グレー帯。トップのLINEスタンプセクションと同系色) */
.service-detail__interview {
  background: var(--gray-lightest);
  padding: 4rem 0;
}

.service-detail__interview-list {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(min(26rem, 100%), 1fr));
  gap: 2.5rem 3rem;
}

.service-detail__interview-meta {
  font-size: 0.85rem;
  font-weight: 700;
  color: var(--black);
  line-height: 1.9;
  margin-bottom: 0.875rem;
}

.service-detail__interview-text {
  font-size: 0.92rem;
  line-height: 2;
  color: #333;
}

.service-detail__interview-text + .service-detail__interview-text {
  margin-top: 1em;
}

/* 写真あり・採用サイトへリンクするインタビューカード */
a.service-detail__interview-item {
  display: flex;
  align-items: flex-start;
  gap: 1.75rem;
  padding: 1.5rem;
  text-decoration: none;
  background: var(--white);
  border: 1px solid rgba(0,0,0,0.12);
  transition: background 0.35s, border-color 0.35s;
}

a.service-detail__interview-item:hover {
  background: rgba(255,255,255,0.6);
  border-color: rgba(0,0,0,0.24);
}

.service-detail__interview-photo {
  flex: none;
  width: 7rem;
  height: 7rem;
  background-size: cover;
  background-position: center;
}

.service-detail__interview-body {
  flex: 1;
  min-width: 0;
}

.service-detail__interview-more {
  display: inline-block;
  margin-top: 1.25rem;
  font-size: 0.85rem;
  font-weight: 700;
  color: var(--red);
  transition: transform 0.35s var(--ease);
}

a.service-detail__interview-item:hover .service-detail__interview-more {
  transform: translateX(0.3125rem);
}

/* その他のサービス(カードは .service-card を再利用。全事業を表示) */
.service-detail__related {
  padding: 5rem 0 7rem;
}

.service-detail__related-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 1.25rem;
}

.service-detail__related-grid .service-card__name {
  font-size: 0.78rem;
  padding: 0 0.875rem;
}

/* 表示中の事業はグレーアウトしてリンク無効化 */
.service-detail__related-grid .service-card.is-current {
  pointer-events: none;
  filter: grayscale(1);
  opacity: 0.5;
}

/* ------------------------------------------------------------
   事業内容ハブ(/business/)
   ------------------------------------------------------------ */
.business-hub {
  padding: 4.5rem 0 7rem;
}

.business-hub__intro {
  font-size: 0.95rem;
  line-height: 2.2;
  color: #333;
  margin-bottom: 3.5rem;
}

.business-hub__grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 1.25rem;
}

/* ------------------------------------------------------------
   お問い合わせフォーム・完了ページ
   ------------------------------------------------------------ */
.form {
  max-width: 46rem;
  margin: 0 auto;
  padding: 4.5rem 0 7rem;
}

.form__row {
  margin-bottom: 1.75rem;
}

.form__label {
  display: flex;
  align-items: center;
  gap: 0.625rem;
  font-size: 0.9rem;
  font-weight: 700;
  color: var(--black);
  margin-bottom: 0.625rem;
}

.form__required,
.form__optional {
  font-size: 0.65rem;
  font-weight: 700;
  line-height: 1.4;
  padding: 0.15rem 0.5rem;
  border-radius: 0.1875rem;
}

.form__required {
  background: var(--red);
  color: var(--white);
}

.form__optional {
  background: var(--gray-light);
  color: #555;
}

.form__input,
.form__select,
.form__textarea {
  width: 100%;
  padding: 0.875rem 1rem;
  border: 1px solid var(--gray-light);
  border-radius: 0.25rem;
  background: var(--white);
  font-size: 0.95rem;
  color: var(--black);
  transition: border-color 0.2s, box-shadow 0.2s;
}

.form__input:focus,
.form__select:focus,
.form__textarea:focus {
  outline: none;
  border-color: var(--red);
  box-shadow: 0 0 0 0.1875rem rgba(204,0,0,0.12);
}

.form__input.is-invalid,
.form__select.is-invalid,
.form__textarea.is-invalid {
  border-color: var(--red);
  box-shadow: 0 0 0 0.1875rem rgba(204,0,0,0.12);
}

/* ネイティブの▽を消し、右端に余白をもたせた矢印を描画 */
.form__select {
  appearance: none;
  -webkit-appearance: none;
  padding-right: 3em;
  background-image: url("data:image/svg+xml;charset=utf-8,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 12 8'%3E%3Cpath d='M1 1l5 5 5-5' fill='none' stroke='%23555555' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E");
  background-repeat: no-repeat;
  background-position: right 1.125em center;
  background-size: 0.7em auto;
}

.form__textarea {
  min-height: 10rem;
  resize: vertical;
}

.form__note {
  font-size: 0.8rem;
  color: var(--gray);
  margin-top: 0.5rem;
}

.form__error {
  font-size: 0.8rem;
  font-weight: 700;
  color: var(--red);
  margin-top: 0.5rem;
}

.form__error--center {
  text-align: center;
  margin-bottom: 2rem;
}

/* ハニーポット(botよけ・人には見せない) */
.form__hp {
  position: absolute !important;
  width: 1px;
  height: 1px;
  overflow: hidden;
  clip: rect(0 0 0 0);
  clip-path: inset(50%);
  white-space: nowrap;
}

/* 個人情報の取扱いについて */
.form__privacy {
  margin-top: 2.5rem;
}

.form__privacy-lead {
  font-size: 0.9rem;
  color: var(--black);
  margin-bottom: 0.75rem;
}

.form__privacy-heading {
  font-size: 1rem;
  font-weight: 700;
  color: var(--black);
  margin-bottom: 0.75rem;
}

.form__privacy-box {
  height: 10rem;
  overflow-y: auto;
  padding: 1rem 1.25rem;
  border: 1px solid var(--gray-light);
  background: var(--gray-lightest);
  font-size: 0.8rem;
  line-height: 1.7;
  color: #333;
}

.form__privacy-box ol {
  list-style: decimal;
  padding-left: 1.25rem;
}

.form__privacy-box li {
  margin-bottom: 0.9rem;
}

.form__privacy-box li:last-child {
  margin-bottom: 0;
}

.form__consent {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 0.5rem;
  font-size: 0.9rem;
  margin: 2.5rem 0 2rem;
}

.form__consent input[type="checkbox"] {
  width: 1.05rem;
  height: 1.05rem;
  accent-color: var(--red);
}

.form__consent a {
  text-decoration: underline;
  transition: color 0.2s;
}

.form__consent a:hover {
  color: var(--red);
}

.form__actions {
  display: flex;
  justify-content: center;
  gap: 1rem;
}

/* 確認画面 */
.form__confirm {
  margin-bottom: 2.5rem;
}

.form__confirm-row {
  padding: 1.1rem 0;
  border-bottom: 1px solid var(--gray-light);
}

.form__confirm-row dt {
  font-size: 0.8rem;
  font-weight: 700;
  color: var(--gray);
  margin-bottom: 0.4rem;
}

.form__confirm-row dd {
  font-size: 0.95rem;
  color: var(--black);
  line-height: 1.7;
}

/* 送信完了(/contact/thanks/) */
.form__complete {
  text-align: center;
  padding: 1.5rem 0;
}

.form__complete-title {
  font-size: 1.3rem;
  font-weight: 700;
  color: var(--black);
  margin-bottom: 1.25rem;
}

.form__complete-text {
  font-size: 0.95rem;
  line-height: 2;
  color: #333;
  margin-bottom: 2.25rem;
}

/* reCAPTCHAバッジ(画面右下)とback-to-topが重なるため、/contact/だけ位置を上げる */
.contact-page .back-to-top {
  bottom: 6rem;
}

/* ============================================================
   メディアクエリ
   ============================================================ */
@media (max-width: 64rem) {
  .service-detail__menu--3col {
    grid-template-columns: repeat(2, 1fr);
  }

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

@media (max-width: 40rem) {
  .contact-page .back-to-top {
    bottom: 5rem;
  }

  .u-break-mobile {
    display: inline;
  }

  .text-page__notice-group {
    justify-content: flex-start;
  }

  .page-hero {
    min-height: 15rem;
  }

  .page-hero--plain {
    min-height: 11rem;
  }

  .page-hero__inner {
    padding-top: 2rem;
    padding-bottom: 2rem;
  }

  .breadcrumb {
    font-size: 0.72rem;
    margin-bottom: 1rem;
  }

  .text-page {
    padding: 3rem 0 4.5rem;
  }

  .text-page__heading {
    font-size: 1.15rem;
  }

  .text-page__figure-row {
    flex-direction: column;
    gap: 1.25rem;
  }

  .text-page__figure {
    align-self: center;
  }

  .text-page__table-row {
    flex-direction: column;
  }

  .text-page__table-row dt {
    flex: none;
    padding: 0.75rem 1rem;
  }

  .text-page__table-row dd {
    padding: 0.875rem 1rem;
  }

  .text-page__data-table th,
  .text-page__data-table td {
    padding: 0.625rem 0.75rem;
  }

  .text-page__table-groups {
    grid-template-columns: 1fr;
    row-gap: 1.25rem;
  }

  .service-detail {
    padding: 3rem 0 0;
  }

  .service-detail__section {
    margin-bottom: 3.5rem;
  }

  .service-detail__menu {
    grid-template-columns: 1fr;
    gap: 1.75rem;
  }

  a.service-detail__interview-item {
    flex-direction: column;
    align-items: center;
    text-align: center;
  }

  .service-detail__flow {
    flex-direction: column;
    gap: 1.75rem;
  }

  .service-detail__step:not(:last-child)::after {
    content: '↓';
    top: auto;
    right: auto;
    bottom: -1.55rem;
    left: 50%;
    transform: translateX(-50%);
  }

  .service-detail__cta {
    padding: 3rem 0;
  }

  .service-detail__related {
    padding: 3.5rem 0 4.5rem;
  }

  .service-detail__related-grid {
    gap: 0.75rem;
  }

  .business-hub {
    padding: 3rem 0 4.5rem;
  }

  .business-hub__grid {
    gap: 0.75rem;
  }

  .form {
    padding: 3rem 0 4.5rem;
  }
}
