/*
 * cocoon-reset.css
 * Cocoon親テーマのデフォルトスタイル打ち消し
 *
 * ヘッダー・フッター・各セクションの見た目が
 * Cocoon側のCSSに上書きされるのを防ぐ。
 * サービスページ共通で読み込む。
 */

/* =============================================
   Coccoon デフォルトスタイルの打ち消し
   ============================================= */

/* 見出しのCoccoon装飾を無効化 */
.pokke-section h2,
.pokke-section h3,
.service-hero h1,
.service-hero h2,
.section-cta h2,
.section-cta h3 {
  border: none !important;
  border-left: none !important;
  border-bottom: none !important;
  padding: 0 !important;
  background: none !important;
  margin-top: 0 !important;
  position: static !important;
}

.pokke-section h2::before,
.pokke-section h2::after,
.pokke-section h3::before,
.pokke-section h3::after {
  display: none !important;
}

/* セクション背景色を確実に適用 */
.pokke-section--light {
  background: var(--color-bg-light) !important;
}

.service-hero {
  background: var(--color-bg) !important;
}

/* リストのCoccoonデフォルトを打ち消し */
.service-features__list,
.format-card__tags,
.case-card__tags,
.scrollspy-nav,
.breadcrumb,
.global-nav__list,
.site-footer__nav-list,
.site-footer__sns {
  list-style: none !important;
  padding-left: 0 !important;
  margin: 0 !important;
}

.service-features__list li,
.site-footer__nav-list li {
  list-style: none !important;
  background: none !important;
  padding-left: var(--space-md) !important;
}

.site-footer__nav-list li {
  padding-left: 0 !important;
}

.service-features__list li::marker,
.site-footer__nav-list li::marker {
  content: none !important;
}

/* 制作の流れ：連結線を確実に表示 */
.production-flow__steps {
  position: relative !important;
}

.production-flow__steps::before {
  display: block !important;
  content: '' !important;
}

.flow-step {
  position: relative !important;
  z-index: 1 !important;
  background: transparent !important;
}

/* 制作の流れ：見出しの中央寄せを打ち消し */
.production-flow__header .section-label,
.production-flow__header .section-title {
  text-align: left !important;
  margin-bottom: 0 !important;
}

.production-flow__header .section-label {
  margin-bottom: var(--space-sm) !important;
}

/* KPIボックスのCoccoon余白打ち消し */
.production-flow__kpis p,
.flow-step p {
  margin: 0 !important;
}

.flow-step__num {
  margin-bottom: 8px !important;
}

.flow-step__title {
  margin-bottom: var(--space-sm) !important;
}

.flow-kpi__label {
  margin-bottom: var(--space-xs) !important;
}

/* 導入事例：カードのリンクスタイルを打ち消し */
.case-card {
  text-decoration: none !important;
  color: inherit !important;
  background: #fff !important;
}

.case-card:hover {
  text-decoration: none !important;
  color: inherit !important;
}

.case-card__title {
  color: var(--color-dark) !important;
  margin-bottom: var(--space-xs) !important;
}

/* 導入事例：見出しの中央寄せを打ち消し */
.service-cases__header .section-label,
.service-cases__header .section-title {
  text-align: left !important;
  margin-bottom: 0 !important;
}

.service-cases__header .section-label {
  margin-bottom: var(--space-sm) !important;
}

/* 導入事例：Coccoonのp余白打ち消し */
.case-card__label,
.case-card__meta,
.service-cases__header-lead {
  margin-top: 0 !important;
}

.case-card__label {
  margin-bottom: var(--space-xs) !important;
}

.case-card__meta {
  margin-bottom: var(--space-md) !important;
}

/* Coccoonの記事内リンク装飾を打ち消し
   下線と枠線のみ。背景には触れない
   （.btn の背景色や .case-card の背景画像を消さないため）
   ホバー・フォーカス時も下線が出ないよう状態まで指定する */
.pokke-section a,
.service-hero a,
.section-cta a,
.site-footer a,
.site-header a,
.page-nav a,
.pokke-section a:hover,
.service-hero a:hover,
.section-cta a:hover,
.site-footer a:hover,
.site-header a:hover,
.page-nav a:hover,
.pokke-section a:focus,
.service-hero a:focus,
.section-cta a:focus,
.site-footer a:focus,
.site-header a:focus,
.page-nav a:focus {
  text-decoration: none !important;
}

/* Coccoonがリンクに付ける下線（border-bottom）を打ち消す

   border-bottom: none にすると枠が1px欠けて高さが縮むため、
   色だけを透明にして太さは保つ方式にしている。

   枠を持つカードとボタンは .is-card / .btn で除外する。
   カードを追加したら、そのクラスに .is-card を併記するだけでよい。
   （セレクタに :not() を足していく必要はない） */
.pokke-section a:not(.btn):not(.is-card),
.service-hero a:not(.btn):not(.is-card),
.section-cta a:not(.btn):not(.is-card),
.site-footer a:not(.btn):not(.is-card),
.site-header a:not(.btn):not(.is-card),
.page-nav a:not(.btn):not(.is-card),
.pokke-section a:not(.btn):not(.is-card):hover,
.service-hero a:not(.btn):not(.is-card):hover,
.section-cta a:not(.btn):not(.is-card):hover,
.site-footer a:not(.btn):not(.is-card):hover,
.site-header a:not(.btn):not(.is-card):hover,
.page-nav a:not(.btn):not(.is-card):hover {
  border-bottom-color: transparent !important;
}

/* 枠を持つカード型リンクは四辺の枠を保つ */
.is-card {
  border-width: 1px !important;
  border-style: solid !important;
}

/* 一部テーマは ::after で下線を描くため念のため打ち消す */
.btn::after,
.btn::before {
  display: none !important;
}

/* Coccoonがリンクに付ける背景色を打ち消す

   ボタン（.btn）と、自前で背景や枠を持つリンク（.is-card）は対象外。
   下線の打ち消しと同じく .is-card を付ければ除外されるので、
   カードを追加してもこのセレクタを編集する必要はない。
   （.case-card はサービスページの事例カード、.sns-button はCocoonのシェアボタン） */
.pokke-section a:not(.btn):not(.is-card):not(.case-card):not(.sns-button),
.service-hero a:not(.btn):not(.is-card),
.section-cta a:not(.btn):not(.is-card),
.site-footer a:not(.btn):not(.is-card),
.site-header a:not(.btn):not(.is-card),
.page-nav a:not(.btn):not(.is-card) {
  background-color: transparent !important;
}

/* ボタンは下線を一切出さない
   枠線は四辺とも同じ太さを保つ（下辺が欠けると高さが狂う） */
.btn,
.btn:hover,
.btn:focus,
.btn:active,
.btn:visited {
  text-decoration: none !important;
  border-width: 1.5px !important;
  border-style: solid !important;
}

/* ボタンの配色は style.css の定義を優先する */
.btn-primary {
  background-color: var(--color-primary) !important;
  border-color: var(--color-primary) !important;
  color: #fff !important;
}

.btn-primary:hover {
  background-color: var(--color-primary-hover) !important;
  border-color: var(--color-primary-hover) !important;
}

.btn-outline {
  background-color: transparent !important;
  color: var(--color-text) !important;
}

.btn-outline:hover {
  color: var(--color-primary) !important;
  border-color: var(--color-primary) !important;
}

.btn-outline-white {
  background-color: #fff !important;
  color: var(--color-text) !important;
}

.btn-outline-white:hover {
  background-color: var(--color-dark) !important;
  color: #fff !important;
}


/* Coccoonのpタグ余白を打ち消し */
.pokke-section p,
.service-hero p,
.section-cta p {
  margin-top: 0;
}

/* FAQ：Coccoon干渉の完全回避 */
.pokke-faq-body {
  display: grid !important;
  grid-template-rows: 0fr !important;
}

.pokke-faq-item.is-open .pokke-faq-body {
  grid-template-rows: 1fr !important;
}

.pokke-faq-body__inner {
  overflow: hidden !important;
  min-height: 0 !important;
}

.pokke-faq-toggle {
  -webkit-appearance: none !important;
  appearance: none !important;
  background: none !important;
  border: none !important;
  box-shadow: none !important;
}

.pokke-faq-item {
  background: #fff !important;
  border: none !important;
}

.pokke-faq-body__a {
  margin: 0 !important;
}

.pokke-faq-toggle__q {
  margin: 0 !important;
}

/* Problems：Coccoonのカード・余白打ち消し */
.problem-card {
  background: #fff !important;
  border: 1px solid var(--color-border) !important;
}

.problem-card__num,
.problem-card__title,
.problem-card__desc,
.service-problems__summary p {
  margin-top: 0 !important;
}

.problem-card__num {
  margin-bottom: var(--space-md) !important;
}

.problem-card__title {
  margin-bottom: var(--space-sm) !important;
}

.service-problems__summary {
  background: #fff !important;
  border: 1px solid var(--color-border) !important;
}

/* 導入事例：画像レイヤーのCoccoon打ち消し */
.case-card__img,
.case-card__img-bg,
.case-card__img-overlay,
.case-card__img-fg {
  margin: 0 !important;
  padding: 0 !important;
}

/* 料金プラン：Coccoonの余白・背景打ち消し */
.pokke-section--accent {
  background: var(--service-bg-accent) !important;
}

.pricing-card {
  background: #fff !important;
  border: none !important;
}

.pricing-card__label,
.pricing-card__price,
.service-pricing__note {
  margin-top: 0 !important;
}

.pricing-card__label {
  margin-bottom: var(--space-xs) !important;
}

.pricing-card__price {
  margin-bottom: 0 !important;
}

/* 料金プラン：カード・注釈の中央揃え */
.pricing-card {
  text-align: center !important;
}

.service-pricing__note {
  text-align: center !important;
}

/* 料金プラン：ラベルのみ左揃え */
.pricing-card__label {
  text-align: left !important;
}

/* 料金プラン：ラベル下の余白調整 */
.pricing-card__label {
  margin-bottom: var(--space-sm) !important;
}

/* フッター前CTA：Coccoon余白打ち消し */
.section-cta__title,
.section-cta__lead {
  margin-top: 0 !important;
}

.section-cta__title {
  margin-bottom: var(--space-sm) !important;
  color: #fff !important;
}

.section-cta__lead {
  margin-bottom: var(--space-lg) !important;
}

/* Problems：番号の余白調整 */
.problem-card__num {
  margin-bottom: var(--space-sm) !important;
}

/* Problems：まとめブロックの注釈 */
.service-problems__summary-note {
  margin: var(--space-sm) 0 0 !important;
}

/* ユーティリティ：文節折り返し */
.nowrap-phrase {
  display: inline-block !important;
}

/* メガメニュー：Coccoon打ち消し */
.megamenu__list {
  list-style: none !important;
  padding-left: 0 !important;
  margin: 0 !important;
}

.megamenu__list li {
  list-style: none !important;
  padding-left: 0 !important;
  background: none !important;
  display: flex !important;
  min-width: 0 !important;
}

.megamenu__list li::marker {
  content: none !important;
}

.megamenu__card {
  text-decoration: none !important;
  background: #fff !important;
}

.megamenu__heading .section-label {
  text-align: left !important;
  margin-bottom: var(--space-xs) !important;
}

.megamenu__title,
.megamenu__card-desc {
  margin-top: 0 !important;
}

/* メガメニュー：グローバルナビのnowrapを打ち消す */
.megamenu__card,
.megamenu__card-title,
.megamenu__card-desc {
  white-space: normal !important;
}

/* パスワード保護：Coccoon打ち消し */
.password-box {
  background: #fff !important;
  border: 1px solid var(--color-border) !important;
}

.post-password-form p {
  margin-top: 0 !important;
}

/* 入力欄とボタンの伸縮をCoccoonの幅指定から守る */
.post-password-form label {
  flex: 1 1 auto !important;
  min-width: 0 !important;
}

.post-password-form input[type="password"] {
  width: 100% !important;
  max-width: none !important;
}

.post-password-form input[type="submit"] {
  -webkit-appearance: none !important;
  appearance: none !important;
  flex: 0 0 auto !important;
  width: auto !important;
}

@media screen and (max-width: 834px) {
  .post-password-form input[type="submit"] {
    width: 100% !important;
  }
}

/* 導入事例：SPで画像エリアの高さが潰れるのを防ぐ */
@media screen and (max-width: 834px) {
  .case-card__img {
    align-self: start !important;
    width: 100% !important;
    aspect-ratio: 16 / 9 !important;
    min-height: 0 !important;
  }
}


/* #############################################################
   ここから旧 renewal.css（リニューアルの共通土台）

   プロトタイプでは cocoon-reset.css の直後に読み込まれていたため、
   優先順位を変えないよう、このファイルの末尾に統合している。
   フォント・横幅・見出し・ボタン・ヘッダー・フッター・問い合わせ帯など、
   全ページ共通の見た目はここにある。
   ############################################################# */

/*
 * renewal.css
 * リニューアル共通スタイル（全ページで読み込む）
 * トップページで決めたフォント・ヘッダー・横幅・見出し・CTAボタン・フッター前CTAを他ページにも適用する。
 * ページ固有の調整は pages/*.css 側で行う。
 */

/* =============================================
   フォント：Noto Sans JP（英字も同じ書体）
   ============================================= */

body {
  --font-sans: "Noto Sans JP", "Hiragino Sans", "Yu Gothic", sans-serif;
  --font-en:   "Noto Sans JP", "Hiragino Sans", "Yu Gothic", sans-serif;
  --header-height: 80px;
  --content-width: 1130px;
  --content-gutter: 24px;
  font-size: 14px;
  line-height: 1.8;
  letter-spacing: .05em;
}

body button {
  font-family: inherit;
}

html {
  scroll-padding-top: 80px;
}

/* =============================================
   横幅（bakuraku.jp に合わせる）
   本文：最大 1130px の中央寄せ、左右 24px
   ============================================= */

body .pokke-container {
  max-width: calc(var(--content-width) + var(--content-gutter) * 2);
  margin-left: auto;
  margin-right: auto;
  padding-left: var(--content-gutter);
  padding-right: var(--content-gutter);
}

/* =============================================
   見出し・リード文
   ============================================= */

body .section-title {
  font-size: 28px;
  font-weight: 700;
  line-height: 1.6;
  letter-spacing: .05em;
}

body .section-title__accent {
  color: inherit;
}

body .section-lead,
body .top-heading__lead,
body .service-cases__header-lead {
  font-size: 16px;
  font-weight: 500;
  line-height: 1.9;
  color: var(--color-text);
}

@media screen and (max-width: 540px) {
  body .section-title {
    font-size: 22px;
  }

  body .section-lead,
  body .top-heading__lead,
  body .service-cases__header-lead {
    font-size: 15px;
  }
}

/* =============================================
   ヘッダー：FV の上に浮く白い板（kintone）＋ピル型ボタン（bakuraku）
   ============================================= */

body {
  --header-inset: 10px;
  --header-radius: 32px;
}

body .site-header {
  position: fixed;
  top: 0;
  left: var(--header-inset);
  right: 0;
  border-bottom: 0;
  border-radius: 0 0 0 var(--header-radius);
  box-shadow: 0 2px 16px rgba(0, 0, 0, .06);
}

body .site-header:has(.global-nav__item.is-open) {
  border-bottom-left-radius: 0;
}

body .megamenu {
  border-radius: 0 0 0 var(--header-radius);
  overflow: hidden;
}

/* ロゴは左端、メニューはボタンの横（右側）に寄せる。画面が広くても中央に寄せない */
body .site-header__inner {
  max-width: none;
  padding-left: 40px;
  padding-right: 40px;
}

body .global-nav {
  justify-content: flex-end;
}

body .global-nav__item > a,
body .global-nav__trigger {
  font-size: 14px;
  font-weight: 600;
  letter-spacing: .02em;
}

body .site-header__cta {
  gap: 12px;
}

body .site-header .btn {
  padding: 9px 18px 10px;
  border-radius: 34px;
  border-width: 1px;
  font-size: 14px;
  font-weight: 700;
  letter-spacing: .02em;
  line-height: 1.5;
  transition: opacity .4s, background-color .4s, border-color .4s, color .4s;
}

body .site-header .btn-primary:hover {
  opacity: .8;
  background: var(--color-primary);
  border-color: var(--color-primary);
}

body .site-header .btn-outline {
  border-color: #c7c7c7;
  color: var(--color-text);
}

body .site-header .btn-outline:hover {
  opacity: 1;
  border-color: var(--color-text);
  color: var(--color-text);
}

/* ヘッダーを固定にした分、サービスページの先頭（パンくず＋ページ内ナビ）を下げる
   （トップは top.css で FV 自体に余白を付けている） */
body .page-nav {
  margin-top: var(--header-height);
}

@media screen and (max-width: 1079px) {
  body .site-header__inner {
    padding-left: var(--content-gutter);
    padding-right: var(--content-gutter);
  }
}

@media screen and (max-width: 834px) {
  body {
    --header-inset: 6px;
    --header-radius: 20px;
  }
}

/* =============================================
   CTAボタン（トップFVと同じ：ピル型、上に「＼〜／」、下に太字）
   使い方：.top-hero__actions の中に .top-hero__btn（資料は --doc、問い合わせは --contact）
   ============================================= */

.top-hero__actions {
  display: flex;
  flex-wrap: wrap;
  gap: 24px;
  align-items: center;
}

.top-hero__btn {
  position: relative;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 300px;
  height: 74px;
  padding: 0 28px;
  border-radius: 9999px;
  background: #fff;
  color: var(--color-dark);
  text-decoration: none;
  transition: opacity .4s, background-color .4s, color .4s;
}

.top-hero__btn:hover {
  opacity: .85;
}

.top-hero__btn--doc {
  width: 340px;
  margin-left: 40px;
  padding-left: 76px;
  background: var(--color-primary);
  color: #fff;
}

.top-hero__btn--doc:hover {
  color: #fff;
}

/* 白い背景の上では、問い合わせボタンに枠線を付ける */
.top-hero__actions--light .top-hero__btn--contact {
  border: 1px solid var(--color-dark);
}

.top-hero__btn-text {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 2px;
  text-align: center;
}

.top-hero__btn-sub {
  font-size: 13px;
  font-weight: 700;
  line-height: 1.4;
  letter-spacing: .02em;
}

.top-hero__btn-main {
  font-size: 20px;
  font-weight: 700;
  line-height: 1.4;
  letter-spacing: .06em;
}

/* 資料の束（3枚を少しずつずらして重ねる） */
.top-hero__docs {
  position: absolute;
  left: -44px;
  top: 50%;
  width: 104px;
  height: 72px;
  transform: translateY(-50%);
  pointer-events: none;
}

.top-hero__doc {
  position: absolute;
  inset: 0;
  border-radius: 4px;
  background: #fff;
  box-shadow: 0 2px 6px rgba(0,0,0,.18);
  overflow: hidden;
}

.top-hero__doc:nth-child(1) {
  transform: translate(-8px, 8px) rotate(-10deg);
}

.top-hero__doc:nth-child(2) {
  transform: translate(-3px, 3px) rotate(-5deg);
}

/* 一番上の資料：赤い斜めの帯＋ロゴ */
.top-hero__doc:nth-child(3) {
  background:
    linear-gradient(118deg, var(--color-primary) 0 34%, transparent 34.5%),
    repeating-linear-gradient(to bottom, transparent 0 9px, #ececec 9px 11px) 46px 34px / 46px 26px no-repeat,
    #fff;
}

.top-hero__doc-logo {
  position: absolute;
  right: 10px;
  top: 12px;
  font-size: 12px;
  font-weight: 700;
  color: var(--color-primary);
  letter-spacing: 0;
}

.top-hero__btn--doc:hover .top-hero__docs {
  transform: translateY(-54%);
  transition: transform .3s;
}

/* 資料の束が赤いボタンに溶け込まないよう、帯を細くして影を強める */
.top-hero__doc {
  box-shadow: 0 0 0 1px rgba(0,0,0,.06), 0 4px 10px rgba(0,0,0,.22);
}

.top-hero__doc:nth-child(3) {
  background:
    linear-gradient(118deg, var(--color-primary) 0 20%, transparent 20.5%),
    repeating-linear-gradient(to bottom, transparent 0 9px, #ececec 9px 11px) 40px 34px / 52px 26px no-repeat,
    #fff;
}

@media screen and (max-width: 834px) {
  .top-hero__actions {
    flex-direction: column;
    align-items: stretch;
    gap: 16px;
  }

  .top-hero__btn {
    width: 100%;
    height: 68px;
    padding: 0 20px;
  }

  .top-hero__btn--doc {
    width: auto;
    margin-left: 36px;
    padding-left: 64px;
  }

  .top-hero__docs {
    left: -36px;
    width: 88px;
    height: 62px;
  }

  .top-hero__btn-sub {
    font-size: 12px;
  }

  .top-hero__btn-main {
    font-size: 18px;
  }
}

/* =============================================
   フッター前CTA：大きな角丸の箱に、見出し＋2つのボタン＋関連ページへのリンク
   （写真は右側にうっすら重ねる）
   ============================================= */

.inquiry {
  padding: 96px 0;
  background: #fff;
}

.inquiry__box {
  position: relative;
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(0, 1fr);
  grid-template-areas:
    "head actions"
    "links links";
  gap: 48px 64px;
  align-items: center;
  padding: 64px;
  border-radius: 28px;
  background: var(--color-dark);
  overflow: hidden;
  color: #fff;
}

.inquiry__bg {
  position: absolute;
  inset: 0 0 0 40%;
  background-size: cover;
  background-position: center;
  opacity: .45;
}

.inquiry__bg::after {
  content: '';
  position: absolute;
  inset: 0;
  background: linear-gradient(90deg, var(--color-dark) 0%, rgba(26, 26, 26, .4) 60%, rgba(26, 26, 26, .2) 100%);
}

.inquiry__head,
.inquiry__actions,
.inquiry__links {
  position: relative;
}

.inquiry__head {
  grid-area: head;
}

.inquiry__eyebrow {
  display: block;
  margin: 0 0 16px;
  font-family: var(--font-en, inherit);
  font-size: 13px;
  font-weight: 700;
  letter-spacing: .16em;
  color: var(--color-primary);
}

.inquiry__title {
  margin: 0 0 20px;
  font-size: 40px;
  font-weight: 700;
  line-height: 1.45;
  letter-spacing: .06em;
  color: #fff;
}

.inquiry__lead {
  margin: 0;
  font-size: 15px;
  line-height: 1.9;
  color: rgba(255, 255, 255, .8);
}

.inquiry__actions {
  grid-area: actions;
  display: grid;
  gap: 16px;
}

body .inquiry__action {
  display: flex;
  align-items: center;
  gap: 20px;
  padding: 24px 28px;
  border: 0 !important;
  border-radius: 16px;
  background: #fff;
  text-decoration: none;
  color: var(--color-dark);
  transition: transform .25s, box-shadow .25s;
}

body .inquiry__action--doc {
  background: var(--color-primary);
  color: #fff;
}

body .inquiry__action:hover {
  opacity: 1;
  box-shadow: 0 14px 30px rgba(0, 0, 0, .25);
  transform: translateY(-2px);
}

.inquiry__icon {
  display: grid;
  flex-shrink: 0;
  place-items: center;
  width: 52px;
  height: 52px;
  border-radius: 50%;
  background: rgba(255, 255, 255, .18);
}

.inquiry__action--contact .inquiry__icon {
  background: var(--color-bg-light, #f5f3ef);
  color: var(--color-primary);
}

.inquiry__icon svg {
  width: 24px;
  height: 24px;
}

.inquiry__action-body {
  display: flex;
  flex: 1;
  flex-direction: column;
  gap: 2px;
  min-width: 0;
}

.inquiry__action-sub {
  font-size: 13px;
  opacity: .8;
}

.inquiry__action-name {
  font-size: 22px;
  font-weight: 700;
  line-height: 1.4;
}

.inquiry__arrow {
  flex-shrink: 0;
  width: 24px;
  height: 24px;
  transition: transform .25s;
}

.inquiry__action:hover .inquiry__arrow {
  transform: translateX(4px);
}

.inquiry__links {
  grid-area: links;
  display: flex;
  flex-wrap: wrap;
  gap: 8px 32px;
  margin: 0;
  padding: 28px 0 0;
  border-top: 1px solid rgba(255, 255, 255, .15);
  list-style: none;
}

body .inquiry__links a {
  border: 0 !important;
  font-size: 14px;
  font-weight: 600;
  color: rgba(255, 255, 255, .85);
  text-decoration: none;
}

body .inquiry__links a::after {
  content: ' \002192';
}

body .inquiry__links a:hover {
  opacity: 1;
  color: #fff;
}

@media screen and (max-width: 1079px) {
  .inquiry__box {
    grid-template-columns: minmax(0, 1fr);
    grid-template-areas:
      "head"
      "actions"
      "links";
    gap: 36px;
    padding: 48px 40px;
  }

  .inquiry__bg {
    inset: 0;
  }

  .inquiry__bg::after {
    background: linear-gradient(180deg, rgba(26, 26, 26, .55) 0%, var(--color-dark) 70%);
  }

  .inquiry__title {
    font-size: 32px;
  }
}

@media screen and (max-width: 640px) {
  .inquiry {
    padding: 64px 0;
  }

  .inquiry__box {
    padding: 36px 20px 28px;
    border-radius: 20px;
  }

  .inquiry__title {
    font-size: 26px;
  }

  body .inquiry__action {
    gap: 14px;
    padding: 18px;
  }

  .inquiry__icon {
    width: 44px;
    height: 44px;
  }

  .inquiry__action-name {
    font-size: 18px;
  }

  .inquiry__action-sub {
    font-size: 12px;
  }
}

/* cocoon-reset.css がヒーロー内リンクの背景色・下線色を !important で消すため、CTAボタンだけ戻す
   （リセット側と同じ詳細度以上にして後ろで上書き） */
.service-hero .top-hero__actions a.top-hero__btn {
  background-color: #fff !important;
}

.service-hero .top-hero__actions a.top-hero__btn--doc {
  background-color: var(--color-primary) !important;
}

.service-hero .top-hero__actions--light a.top-hero__btn--contact {
  border-bottom-color: var(--color-dark) !important;
}

/* サービスページのFVは文章の列が狭い（約470px）ので、2つのボタンを小さくして横に並べる */
@media screen and (min-width: 835px) {
  .service-hero .top-hero__actions {
    gap: 12px;
  }

  .service-hero .top-hero__btn {
    width: 170px;
    height: 64px;
    padding: 0 16px;
  }

  .service-hero .top-hero__btn--doc {
    width: 250px;
    margin-left: 36px;
    padding-left: 66px;
  }

  .service-hero .top-hero__docs {
    left: -36px;
    width: 88px;
    height: 62px;
  }

  .service-hero .top-hero__btn-sub {
    font-size: 12px;
  }

  .service-hero .top-hero__btn-main {
    font-size: 17px;
  }
}

/* =============================================
   サービスページのページ内ナビ（パンくず＋セクションへのリンク）
   存在感を出すため：バーを高く、左にサービス名を大きく、リンクは太字のピル、
   いま見ているセクションは赤で塗る
   ============================================= */

body {
  --page-nav-height: 68px;
}

body .page-nav {
  height: var(--page-nav-height);
  border-bottom: 0;
  background: rgba(255, 255, 255, .96);
  box-shadow: 0 6px 20px rgba(0, 0, 0, .06);
  backdrop-filter: blur(8px);
}

body .page-nav__inner {
  max-width: calc(var(--content-width) + var(--content-gutter) * 2);
  padding: 0 var(--content-gutter);
  gap: 24px;
}

/* パンくず：上に小さく「トップ /」、下にサービス名を大きく */
body .breadcrumb {
  flex-direction: column;
  align-items: flex-start;
  gap: 0;
}

body .breadcrumb li {
  font-size: 11px;
  line-height: 1.4;
}

body .breadcrumb li::after {
  display: none;
}

body .breadcrumb li:last-child {
  font-size: 18px;
  font-weight: 700;
  line-height: 1.3;
  color: var(--color-dark);
}

/* セクションへのリンク：ピル型 */
body .scrollspy-nav {
  gap: 4px;
}

body .scrollspy-nav__item a {
  display: block;
  padding: 7px 13px;
  border: 0;
  border-radius: 999px;
  font-size: 14px;
  font-weight: 700;
  line-height: 1.4;
  color: var(--color-dark);
  transition: background-color .25s, color .25s;
}

body .scrollspy-nav__item a:hover {
  background: #F2F2F2;
  color: var(--color-dark);
}

body .scrollspy-nav__item.is-active a {
  background: var(--color-primary);
  color: #fff;
}

@media screen and (max-width: 1023px) {
  body {
    --page-nav-height: 56px;
  }

  body .page-nav__inner {
    padding: 0 16px;
  }

  body .scrollspy-nav {
    gap: 4px;
  }

  body .scrollspy-nav__item a {
    padding: 6px 12px;
    font-size: 13px;
  }
}

/* cocoon-reset.css が .page-nav 内リンクの背景を !important で消すため、ピルの塗りを戻す */
body .page-nav .scrollspy-nav__item a:hover {
  background-color: #F2F2F2 !important;
}

body .page-nav .scrollspy-nav__item.is-active a {
  background-color: var(--color-primary) !important;
}

/* ページ内ナビがあるページでは、移動先がヘッダー（80px）＋ナビの下に止まるように */
html:has(.page-nav) {
  scroll-padding-top: 164px;
}

@media screen and (max-width: 1023px) {
  html:has(.page-nav) {
    scroll-padding-top: 152px;
  }
}

/* CTAの見出しを具体的な文に変えたので、文字を少し小さく */
.inquiry__title {
  font-size: 30px;
  line-height: 1.6;
  letter-spacing: .04em;
}

@media screen and (max-width: 1079px) {
  .inquiry__title {
    font-size: 26px;
  }
}

@media screen and (max-width: 640px) {
  .inquiry__title {
    font-size: 19px;
    letter-spacing: .02em;
  }
}

/* =============================================
   ページ送り（レポート一覧・お役立ち資料で共通）
   ============================================= */
.pager {
  display: flex;
  justify-content: center;
  align-items: center;
  gap: 8px;
  margin: 48px 0 0;
}

.pager[hidden] {
  display: none;
}

.pager__list {
  display: flex;
  gap: 6px;
  margin: 0;
  padding: 0;
  list-style: none;
}

body .pager__num,
body .pager__step {
  display: inline-flex;
  justify-content: center;
  align-items: center;
  min-width: 44px;
  height: 44px;
  padding: 0 14px;
  border: 1px solid var(--color-border);
  border-radius: 999px;
  background: #fff;
  font-family: inherit;
  font-size: 14px;
  font-weight: 700;
  color: var(--color-dark);
  cursor: pointer;
  transition: border-color .2s, color .2s, background .2s;
}

body .pager__num:hover,
body .pager__step:hover:not(:disabled) {
  border-color: var(--color-primary);
  color: var(--color-primary);
}

body .pager__num.is-current {
  border-color: var(--color-primary);
  background: var(--color-primary);
  color: #fff;
  cursor: default;
}

body .pager__step:disabled {
  opacity: .35;
  cursor: default;
}

@media screen and (max-width: 640px) {
  .pager {
    gap: 6px;
    margin-top: 36px;
  }

  body .pager__num,
  body .pager__step {
    min-width: 40px;
    height: 40px;
    padding: 0 12px;
    font-size: 13px;
  }
}

/* ページ送り：番号や「前へ」が途中で折り返されないように。
   ページが多いときは番号を「…」で省略する（functions.php の pokke_pager_items） */
.pager__list {
  align-items: center;
}

body .pager__num,
body .pager__step {
  flex-shrink: 0;
  white-space: nowrap;
}

.pager__ellipsis {
  display: inline-flex;
  justify-content: center;
  align-items: center;
  min-width: 20px;
  height: 44px;
  font-size: 14px;
  font-weight: 700;
  color: var(--color-gray, #888);
}

/* スマホ：番号を1段目、「前へ」「次へ」を2段目に並べる */
@media screen and (max-width: 640px) {
  .pager {
    flex-wrap: wrap;
    row-gap: 12px;
  }

  .pager__list {
    order: -1;
    flex-basis: 100%;
    justify-content: center;
    gap: 4px;
  }

  body .pager__num {
    min-width: 36px;
    height: 36px;
    padding: 0 8px;
  }

  .pager__ellipsis {
    min-width: 16px;
    height: 36px;
    font-size: 13px;
  }
}

/* ページを送ったとき、一覧の見出しが固定ヘッダーに隠れないように */
#cl-list-title,
#dl-list-title {
  scroll-margin-top: 120px;
}

/* =============================================
   メガメニュー「課題から探す」：アイコン＋課題名を4列で
   ============================================= */
.megamenu__issues {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 10px;
  margin: 0;
  padding: 0;
  list-style: none;
}

.megamenu__issues > li {
  display: flex;
  min-width: 0;
}

body .megamenu__issue {
  display: flex;
  align-items: center;
  gap: 12px;
  width: 100%;
  padding: 14px 16px;
  border: 1px solid var(--color-border) !important;
  border-radius: 12px;
  background: #fff !important;
  font-size: 14px;
  font-weight: 700;
  line-height: 1.5;
  white-space: normal;
  text-decoration: none;
  color: var(--color-dark);
  transition: border-color .2s, box-shadow .2s;
}

body .megamenu__issue:hover {
  border-color: var(--color-primary) !important;
  box-shadow: 0 6px 18px rgba(0, 0, 0, .06);
  opacity: 1;
}

.megamenu__issue-icon {
  flex-shrink: 0;
  width: 36px;
  height: 36px;
  background: center / contain no-repeat;
}

body .megamenu__issue--consult {
  justify-content: center;
  border-color: var(--color-primary) !important;
  background: var(--color-primary) !important;
  color: #fff;
}

body .megamenu__issue--consult:hover {
  opacity: .85;
}

/* グローバルナビ：プルダウンの印は細い「⌄」（参考：KARTE）。開いているときは上向き */
body .global-nav__trigger {
  display: inline-flex;
  align-items: center;
  gap: 6px;
}

.global-nav__chev {
  flex-shrink: 0;
  width: 10px;
  height: 10px;
  transition: transform .25s;
}

.global-nav__item.is-open .global-nav__chev {
  transform: rotate(180deg);
}

/* =============================================
   グローバルナビ：プルダウンの文字色もほかの項目と同じに
   ============================================= */
body .global-nav__trigger,
body.home .global-nav__trigger {
  color: var(--color-text);
  font-weight: 600;
}

body .global-nav__trigger:hover,
body .global-nav__item.is-open .global-nav__trigger {
  color: var(--color-primary);
  opacity: 1;
}

/* =============================================
   メガメニュー（参考：KARTE）
   ヘッダーの下に、角丸の白い板を少し浮かせて出す。
   左（白）にメインの一覧、右（薄いグレー）に補助の一覧
   ============================================= */
body .megamenu {
  padding: 10px 40px 0;
  border: 0;
  border-radius: 0;
  background: transparent;
  box-shadow: none;
  overflow: visible;
}

body .site-header:has(.global-nav__item.is-open) {
  border-bottom-left-radius: var(--header-radius, 0);
}

.mm {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(0, 1.3fr);
  max-width: 1280px;
  margin: 0 auto;
  border-radius: 18px;
  background: #fff;
  box-shadow: 0 24px 60px rgba(20, 20, 30, .16);
  overflow: hidden;
  animation: mm-in .2s ease-out;
}

@keyframes mm-in {
  from { opacity: 0; transform: translateY(-6px); }
}

.mm__main,
.mm__side {
  padding: 32px 36px 36px;
}

.mm__side {
  background: #F6F5F3;
}

.mm__head {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin: 0 0 22px;
}

.mm__title {
  margin: 0;
  font-size: 16px;
  font-weight: 700;
  line-height: 1.5;
  color: var(--color-dark);
}

body .mm__more {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  border: 0 !important;
  background: none !important;
  font-size: 12px;
  font-weight: 700;
  text-decoration: none;
  color: var(--color-dark);
}

body .mm__more:hover {
  color: var(--color-primary);
  opacity: 1;
}

/* 左：プロダクト（アイコン＋名前＋一行の説明。2列） */
.mm-products,
.mm-issues {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 6px 20px;
  margin: 0;
  padding: 0;
  list-style: none;
}

body .mm-product {
  display: flex;
  align-items: flex-start;
  gap: 12px;
  padding: 12px;
  border: 0 !important;
  border-radius: 12px;
  background: none !important;
  white-space: normal;
  text-decoration: none;
  color: var(--color-dark);
  transition: background .2s;
}

body .mm-product:hover {
  background: #F6F5F3 !important;
  opacity: 1;
}

.mm-product__icon {
  display: grid;
  flex-shrink: 0;
  place-items: center;
  width: 34px;
  height: 34px;
  border-radius: 9px;
  background: var(--mm-color, var(--color-primary));
  color: #fff;
}

.mm-product__icon svg {
  width: 20px;
  height: 20px;
  fill: none;
  stroke: currentColor;
  stroke-width: 1.7;
  stroke-linecap: round;
  stroke-linejoin: round;
}

.mm-product__icon--guide    { --mm-color: #ff4e50; }
.mm-product__icon--map      { --mm-color: #1B1464; }
.mm-product__icon--chat     { --mm-color: #06C755; }
.mm-product__icon--rally    { --mm-color: #2DACC9; }
.mm-product__icon--mobility { --mm-color: #F2A33A; }

.mm-product__body {
  display: flex;
  flex-direction: column;
  gap: 3px;
  min-width: 0;
}

.mm-product__name {
  font-size: 14px;
  font-weight: 700;
  line-height: 1.5;
}

.mm-product__desc {
  font-size: 12px;
  line-height: 1.6;
  color: var(--color-text-sub);
}

/* 右：支援メニュー（時期ごとのグループ。3列） */
.mm-support {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 0 24px;
}

.mm-support__group + .mm-support__group {
  margin-top: 20px;
}

.mm-support__name {
  display: flex;
  flex-direction: column;
  gap: 1px;
  margin: 0 0 8px;
  font-size: 13px;
  font-weight: 700;
  line-height: 1.5;
  color: var(--color-dark);
}

.mm-support__name span {
  font-size: 11px;
  font-weight: 500;
  color: var(--color-text-sub);
}

.mm-support ul {
  display: grid;
  gap: 2px;
  margin: 0;
  padding: 0;
  list-style: none;
}

body .mm-support a {
  display: block;
  padding: 3px 0;
  border: 0 !important;
  background: none !important;
  font-size: 13px;
  line-height: 1.6;
  white-space: normal;
  text-decoration: none;
  color: var(--color-text);
}

body .mm-support a:hover {
  color: var(--color-primary);
  opacity: 1;
}

/* 課題から探す：左に課題（アイコン＋名前。2列）、右に相談の案内 */
body .mm-issue {
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 12px;
  border: 0 !important;
  border-radius: 12px;
  background: none !important;
  font-size: 14px;
  font-weight: 700;
  line-height: 1.5;
  white-space: normal;
  text-decoration: none;
  color: var(--color-dark);
  transition: background .2s;
}

body .mm-issue:hover {
  background: #F6F5F3 !important;
  opacity: 1;
}

.mm-issue__icon {
  flex-shrink: 0;
  width: 34px;
  height: 34px;
  background: center / contain no-repeat;
}

.mm__side--consult {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 14px;
}

.mm-consult__text {
  margin: 0;
  max-width: 420px;
  font-size: 13px;
  line-height: 1.9;
  color: var(--color-text);
}

body .mm-consult__btn {
  display: inline-flex;
  margin-top: 4px;
  padding: 11px 28px;
  border: 0 !important;
  border-radius: 999px;
  background: var(--color-primary) !important;
  font-size: 14px;
  font-weight: 700;
  text-decoration: none;
  color: #fff;
}

body .mm-consult__btn:hover {
  opacity: .85;
}

.global-nav__item--issues .mm {
  grid-template-columns: minmax(0, 1.3fr) minmax(0, 1fr);
}

/* 古いメガメニューの「課題から探す」用の見た目は使わない */
.megamenu__issues {
  display: none;
}

/* フッターの見出しは日本語なので、大文字にしない（「Pokkeについて」が「POKKE」にならないように） */
body .site-footer__nav-group-label,
body .footer-accordion__toggle {
  text-transform: none;
  letter-spacing: .04em;
}

/* =============================================
   メガメニューのプロダクト：トップの「観光DXプロダクト」と同じく、
   サムネイルの下に名前と説明を置くカード（3列）
   ============================================= */
.mm {
  grid-template-columns: minmax(0, 1.1fr) minmax(0, 1fr);
}

.mm-support {
  gap: 0 18px;
}

.mm-products {
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 18px 16px;
}

body .mm-product {
  flex-direction: column;
  gap: 10px;
  padding: 0;
}

body .mm-product:hover {
  background: none !important;
}

.mm-product__img {
  display: block;
  width: 100%;
  aspect-ratio: 16 / 9;
  border-radius: 10px;
  background: #F6F5F3 center / cover no-repeat;
  transition: transform .3s, box-shadow .3s;
}

body .mm-product:hover .mm-product__img {
  box-shadow: 0 8px 20px rgba(20, 20, 30, .14);
  transform: translateY(-2px);
}

body .mm-product:hover .mm-product__name {
  color: var(--color-primary);
}

.mm-product__body {
  gap: 2px;
}

.mm-product__desc {
  font-size: 11.5px;
}

.mm-support__name {
  margin-bottom: 6px;
}

/* =============================================
   パンくずだけのバー（導入事例・パートナー募集・資料ダウンロード・お問い合わせ）
   記事ページと同じく、小さな文字で1行に並べる（トップ › ページ名）
   ============================================= */
/* パンくずだけのバーは低くする（追従するフォームなどの位置もこの高さで計算される） */
body:has(.page-nav--crumb) {
  --page-nav-height: 48px;
}

body .page-nav.page-nav--crumb .breadcrumb {
  display: flex;
  flex-direction: row;
  flex-wrap: nowrap;
  flex-shrink: 1;
  align-items: center;
  gap: 0;
  width: 100%;
  min-width: 0;
  margin: 0;
  padding: 0;
  overflow-x: auto;
  scrollbar-width: none;
  list-style: none;
}

body .page-nav.page-nav--crumb .breadcrumb::-webkit-scrollbar {
  display: none;
}

body .page-nav.page-nav--crumb .breadcrumb li,
body .page-nav.page-nav--crumb .breadcrumb li:last-child {
  display: flex;
  flex-shrink: 0;
  align-items: center;
  font-size: 13px;
  font-weight: 500;
  line-height: 1.5;
  white-space: nowrap;
  color: var(--color-text-sub);
}

body .page-nav.page-nav--crumb .breadcrumb li:last-child {
  color: var(--color-dark);
}

body .page-nav.page-nav--crumb .breadcrumb li + li::before {
  content: '\00203A';
  margin: 0 10px;
  color: #BBB;
}

body .page-nav.page-nav--crumb .breadcrumb a {
  color: inherit;
  text-decoration: none;
}

body .page-nav.page-nav--crumb .breadcrumb a:hover {
  color: var(--color-primary);
}

html:has(.page-nav--crumb) {
  scroll-padding-top: 140px;
}

/* =============================================
   セクションへのリンクだけのバー（課題から探す・サービス個別ページ）
   左のページ名を外したので、リンクを中央に並べる
   ============================================= */
body .page-nav--spy .page-nav__inner {
  justify-content: center;
}

@media screen and (max-width: 1023px) {
  body .page-nav--spy .page-nav__inner {
    justify-content: flex-start;
    padding: 0;
  }

  body .page-nav--spy .scrollspy-nav {
    flex-wrap: nowrap;
    width: 100%;
    min-width: 0;
    /* cocoon-reset.css がリストの左の余白を !important で消すため、ここも !important で戻す */
    padding: 0 16px !important;
    overflow-x: auto;
    scrollbar-width: none;
  }

  body .page-nav--spy .scrollspy-nav::-webkit-scrollbar {
    display: none;
  }

  body .page-nav--spy .scrollspy-nav__item {
    flex-shrink: 0;
  }
}

/* =============================================
   ヘッダー・スマホメニューの文字の基準をトップにそろえる
   トップの body は 14px、他のページは Cocoon の fz-18px で 18px になっていて、
   メニューの行の高さや文字の位置が少しずれていたため、ヘッダー側で固定する
   ============================================= */
body #site-header,
body .mobile-menu {
  font-size: 14px;
  letter-spacing: .05em;
}

/* =============================================
   ヘッダーは、左の余白も角の丸みもない、画面幅いっぱいの普通の帯にする
   （トップの top.css にも同じ変数があるので、html body で上書きする）
   ============================================= */
html body,
html body.home {
  --header-inset: 0px;
  --header-radius: 0px;
}

/* =============================================
   スマホで見やすく（全ページ共通）
   ============================================= */

/* 見出しが「つくりま／せんか？」のように言葉の途中で切れないように。
   行の長さをそろえ（balance）、対応するブラウザでは文節で折り返す（auto-phrase） */
body h1,
body h2,
body h3,
body .section-title,
body .top-heading__title {
  text-wrap: balance;
  word-break: auto-phrase;
}

@media screen and (max-width: 640px) {
  /* フッター前CTAの小さなリンク（導入事例を見る／レポートを読む…）を押しやすく */
  body .inquiry__links a {
    display: inline-block;
    padding: 10px 0;
  }

  /* 記事の目次のリンクを押しやすく */
  body .toc-content a,
  body .side-toc__list a {
    display: inline-block;
    padding: 6px 0;
  }

  /* 小さな文字のリンク・ボタン（一覧へ、すべてクリアなど）を押しやすく */
  body .cs-filter__reset,
  body .cd-related__more,
  body .pp-open__link,
  body .gflow__link,
  body .side-block__more,
  body .cl-box__more,
  body .top-recruit__talk {
    display: inline-block;
    padding-top: 10px;
    padding-bottom: 10px;
  }
}

/* カードのタイトル・項目名など、短い文も言葉の途中で切れないように（対応するブラウザで文節ごとに折り返す） */
body [class*="__title"],
body [class*="__name"],
body [class*="__head"],
body [class*="__heading"],
body .gp-problem__text,
body .gp-group__list li {
  word-break: auto-phrase;
}

@media screen and (max-width: 640px) {
  /* パンくずのリンクを押しやすく（バーの高さいっぱいを押せるように） */
  body .page-nav.page-nav--crumb .breadcrumb a {
    display: inline-block;
    padding: 14px 0;
  }

  /* 絞り込みの「すべてクリア」を押しやすく */
  body .cs-filter .cs-filter__reset {
    padding: 12px 4px;
  }
}

/* ページ最下部のCTAのリード：文節単位の改行（auto-phrase）だと「資料で／ご覧…」のように
   行末が大きく空くので、ふつうの改行に戻す */
body .inquiry__lead {
  word-break: normal;
  line-break: strict;
}

/* =============================================
   フッター：要素を「ロゴ・ひとこと・リンク」だけにし、文字の間隔を詰めて引き締める
   （英語のタグライン・会社名・SNS・コピーライトは外した）
   ============================================= */
body .site-footer__main {
  padding: 72px 0 80px;
}

body .site-footer__inner {
  grid-template-columns: 220px minmax(0, 1fr);
  gap: 56px;
}

body .site-footer__brand-logo {
  margin-bottom: 10px;
  font-size: 22px;
  line-height: 1.2;
}

body .site-footer__brand-tagline {
  margin: 0;
  font-size: 13px;
  line-height: 1.6;
  letter-spacing: .02em;
  color: rgba(255, 255, 255, .6);
}

body .site-footer__nav {
  gap: 32px;
}

body .site-footer__nav-group-label {
  margin-bottom: 18px;
  font-size: 13px;
  font-weight: 700;
  letter-spacing: .02em;
  color: #fff;
}

/* リンクの行の間隔：li 自体の行の高さ（14px×1.8）が足されて広がっていたので、文字に合わせて詰める */
body .site-footer__nav-list {
  gap: 8px;
}

body .site-footer__nav-list li {
  font-size: 13px;
  line-height: 1.6;
}

body .site-footer .site-footer__nav-list a {
  font-size: 13px;
  line-height: 1.5;
  letter-spacing: .02em;
  color: rgba(255, 255, 255, .6);
}

body .site-footer .site-footer__nav-list a:hover {
  color: #fff;
}

@media screen and (max-width: 834px) {
  body .site-footer__main {
    padding: 48px 0 56px;
  }

  body .site-footer__inner {
    grid-template-columns: minmax(0, 1fr);
    gap: 32px;
  }

  body .site-footer__nav {
    gap: 0;
  }

  body .footer-accordion__toggle {
    padding: 18px 0;
    font-size: 14px;
    font-weight: 700;
    letter-spacing: .02em;
    color: #fff;
  }

  body .site-footer__nav-list {
    gap: 10px;
    padding-bottom: 20px;
  }
}

/* フッター左：ロゴの画像（「その旅に、物語を。」入り）。暗い背景なので色を反転して白く見せる。
   Pの丸の内側は白で塗られているため、反転すると黒になる。lighten で背景の色になじませて消す */
body .site-footer__brand-logo {
  display: inline-block;
  margin: 0;
  line-height: 0;
}

body .site-footer__brand-logo img {
  display: block;
  width: 140px;
  height: auto;
  filter: invert(1);
  mix-blend-mode: lighten;
}

/* ヘッダー：右のボタンを「ご相談・お問い合わせ」にして長くなったので、
   画面幅が1440px未満のときは、メニューとボタンの間隔と文字を少しだけ詰めてはみ出さないように */
@media screen and (min-width: 1080px) and (max-width: 1439px) {
  body .site-header__inner {
    gap: 24px;
  }

  body .global-nav > ul {
    gap: 18px;
  }

  body .global-nav > ul > li > a,
  body .global-nav > ul > li > button,
  body .global-nav__trigger {
    font-size: 13px;
  }

  body .site-header__cta {
    gap: 8px;
  }

  body .site-header__cta .btn {
    padding-right: 14px !important;
    padding-left: 14px !important;
    font-size: 13px;
  }
}

/* 画面幅が1280px未満（メニューが横に並ぶ一番狭い幅まで）は、ボタンを「お問い合わせ」に短くし、メニューもさらに詰める */
@media screen and (min-width: 1080px) and (max-width: 1279px) {
  body .site-header__cta .hd-pre {
    display: none;
  }

  body .site-header__inner {
    gap: 16px;
  }

  body .global-nav > ul {
    gap: 12px;
  }

  body .global-nav > ul > li > a,
  body .global-nav > ul > li > button,
  body .global-nav__trigger {
    font-size: 12.5px;
  }
}

/* さらに狭い幅（1080〜1179px）：ヘッダーの左右の余白も少し詰める */
@media screen and (min-width: 1080px) and (max-width: 1179px) {
  body .site-header__inner {
    padding-right: 20px;
    padding-left: 20px;
    gap: 14px;
  }

  body .global-nav > ul {
    gap: 10px;
  }

  body .global-nav > ul > li > a,
  body .global-nav > ul > li > button,
  body .global-nav__trigger {
    font-size: 12px;
  }

  body .site-header__cta .btn {
    padding-right: 12px !important;
    padding-left: 12px !important;
    font-size: 12px;
  }
}

/* ヘッダーの横幅：トップと同じく、どのページも最大1440pxで中央にそろえる
   （トップだけ1440pxで止まり、ほかのページは画面いっぱいに広がっていたのをそろえる） */
body .site-header__inner {
  max-width: 1440px;
  margin-right: auto;
  margin-left: auto;
}

/* =============================================
   プロダクトページのFVのボタン（資料ダウンロード・お問い合わせ）：
   カーソルを合わせた時・押した時に、色や透明度を変えない
   ============================================= */
.service-hero .top-hero__btn:hover,
.service-hero .top-hero__btn:active,
.service-hero .top-hero__btn:focus {
  opacity: 1;
}

body .service-hero .top-hero__actions a.top-hero__btn--doc:hover,
body .service-hero .top-hero__actions a.top-hero__btn--doc:active {
  background-color: #fff !important;
  color: var(--color-primary);
}

body .service-hero .top-hero__actions--light a.top-hero__btn--contact:hover,
body .service-hero .top-hero__actions--light a.top-hero__btn--contact:active {
  background-color: transparent !important;
  color: #fff;
}

/* お問い合わせ（白い枠のボタン）：カーソルを合わせると、リンクの下線を消す共通スタイルで
   下の枠線だけ透明になり、ボタンの下が見切れて見えていたので、四辺とも白のままにする */
body .service-hero .top-hero__actions--light a.top-hero__btn--contact,
body .service-hero .top-hero__actions--light a.top-hero__btn--contact:hover,
body .service-hero .top-hero__actions--light a.top-hero__btn--contact:active,
body .service-hero .top-hero__actions--light a.top-hero__btn--contact:focus {
  border-color: #fff !important;
}