/*
 * top.css
 * トップページ固有スタイル
 *
 * リニューアル時に旧 top-renewal.css を統合し、
 * 新しいトップで使われなくなった古い指定を取り除いた。
 * お知らせ一覧（archive-news.php）もリスト部分（.top-news）で共用している。
 */

/* =============================================
   左寄せの見出しブロック
   ============================================= */

.top-heading {
  max-width: 720px;
  margin-bottom: var(--space-xl);
}

.top-heading .section-label,
.top-heading .section-title {
  text-align: left;
}

.top-heading .section-title {
  margin-bottom: var(--space-md);
}

/* リード文がない見出し（導入実績・導入企業様） */
.top-heading--compact {
  margin-bottom: var(--space-lg);
}

.top-heading--compact .section-title {
  margin-bottom: 0;
}

.top-heading__lead {
  font-size: var(--text-sm);
  color: var(--color-text-sub);
  line-height: 1.9;
  margin: 0;
}

/* 一覧系セクション下部の「すべて見る」 */
.top-more {
  text-align: center;
  margin-top: var(--space-xl);
}

.top-more__btn {
  border-radius: 999px;
  padding: 16px 32px;
  /* btn-outline-white の枠は半透明の白なので、
     白背景のセクションでも形が見えるよう枠色を付ける */
  border-color: var(--color-border);
}

.top-more__btn:hover {
  border-color: var(--color-dark);
}

/* =============================================
   ヒーロー

   背景写真を重ねて置き、is-active の1枚だけ
   opacity を 1 にしてクロスフェードさせる。
   切り替えのタイミングは javascript.js で制御。
   ============================================= */

.top-hero {
  position: relative;
  overflow: hidden;
  background: var(--color-dark);
  min-height: 560px;
  display: flex;
  align-items: center;
}

.top-hero .pokke-container {
  position: relative;
  z-index: 1;
  width: 100%;
}

.top-hero__actions {
  display: flex;
  gap: var(--space-sm);
  flex-wrap: wrap;
}

.top-hero__btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: var(--space-sm);
  min-width: 220px;
  min-height: 60px;
  padding: 10px 28px;
  border-radius: 999px;
  background: #fff;
  color: var(--color-dark);
  font-size: var(--text-base);
  font-weight: 700;
  line-height: 1.4;
  box-shadow: 0 4px 16px rgba(0,0,0,0.12);
  transition:
    background-color var(--transition),
    color var(--transition);
}

/* 他ページの白ボタン（btn-outline-white）と同じく、ホバーで黒背景に */
.top-hero__btn:hover {
  background: var(--color-dark);
  color: #fff;
  opacity: 1;
}

/* 資料請求はメインの導線なので赤背景で目立たせる */
.top-hero__btn--doc {
  background: var(--color-primary);
  color: #fff;
}

.top-hero__btn--doc:hover {
  background: var(--color-primary-hover);
  color: #fff;
}

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

.top-hero__btn-sub {
  font-size: 11px;
  font-weight: 500;
}

.top-hero__btn-main {
  font-size: var(--text-sm);
}

@media screen and (max-width: 834px) {
  .top-hero {
    min-height: 480px;
  }

  

  

  

  .top-hero__actions {
    flex-direction: column;
  }

  .top-hero__btn {
    width: 100%;
  }
}

/* =============================================
   実績数値（4項目を横1列）
   ============================================= */

/* =============================================
   導入企業ロゴ（オートスクロール）

   トラックに同じリストを2本並べ、
   トラック幅の半分だけ左へ動かしたら頭に戻す。
   ============================================= */

.top-clients {
  padding: var(--space-xl) 0;
  overflow: hidden;
}

.top-clients__marquee {
  overflow: hidden;
}

.top-clients__track {
  display: flex;
  width: max-content;
  animation: top-clients-scroll 50s linear infinite;
}

.top-clients__list {
  display: flex;
  align-items: center;
  gap: var(--space-2xl);
  list-style: none;
  margin: 0;
  /* 2本目との間隔を1本の中の間隔と揃える */
  padding: 0 var(--space-2xl) 0 0;
}

.top-clients__item {
  flex-shrink: 0;
}

/* 高さ64px固定、横幅は画像の比率なり */
.top-clients__item img {
  display: block;
  height: 64px;
  width: auto;
  max-width: none;
}

@keyframes top-clients-scroll {
  from { transform: translateX(0); }
  to   { transform: translateX(-50%); }
}

@media (prefers-reduced-motion: reduce) {
  .top-clients__track {
    animation: none;
  }

  .top-clients__marquee {
    overflow-x: auto;
  }
}

/* =============================================
   あなたの課題から探す（4列）
   ============================================= */

.top-solutions {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: var(--space-sm);
  list-style: none;
  margin: 0;
  padding: 0;
}

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

.top-solution {
  position: relative;
  display: flex;
  align-items: center;
  gap: var(--space-sm);
  width: 100%;
  min-height: 100px;
  /* 右は矢印の分だけ空ける。広すぎると文字の幅が足りなくなる */
  padding: var(--space-md) 44px var(--space-md) var(--space-md);
  background: #fff;
  border: 1px solid var(--color-border);
  border-radius: var(--radius-lg);
  color: inherit;
  transition:
    border-color var(--transition),
    box-shadow var(--transition);
}

.top-solution:hover {
  border-color: var(--color-primary);
  box-shadow: 0 4px 16px rgba(0,0,0,0.06);
  opacity: 1;
}

/* アイコン */
.top-solution__icon {
  flex-shrink: 0;
  width: 48px;
  height: 48px;
  background-size: contain;
  background-position: center;
  background-repeat: no-repeat;
}

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

.top-solution__en {
  font-family: var(--font-en);
  font-size: var(--text-xs);
  font-weight: 700;
  color: var(--color-primary);
  letter-spacing: 0.1em;
  text-transform: uppercase;
  margin-bottom: 2px;
}

.top-solution__name {
  font-size: var(--text-base);
  font-weight: 700;
  color: var(--color-dark);
  line-height: 1.5;
  /* 対応ブラウザでは文節の切れ目で改行させる */
  word-break: auto-phrase;
}

.top-solution__arrow {
  position: absolute;
  right: 18px;
  top: 50%;
  transform: translateY(-50%);
  color: var(--color-text-light);
  transition: color var(--transition);
}

.top-solution:hover .top-solution__arrow {
  color: var(--color-primary);
}

/* 相談カードは点線＋淡い背景で他と区別する */
.top-solution--consult {
  flex-direction: column;
  justify-content: center;
  align-items: center;
  gap: 0;
  text-align: center;
  padding-right: var(--space-md);
  background: #FFF6F5;
  border-style: dashed !important;
  border-color: var(--color-primary);
}

.top-solution--consult .top-solution__name {
  color: var(--color-primary);
}

@media screen and (max-width: 1023px) {
  .top-solutions {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}

@media screen and (max-width: 834px) {
  .top-solutions {
    grid-template-columns: 1fr;
  }

  .top-solution {
    min-height: 0;
  }
}

/* =============================================
   観光DXプロダクト（3列）
   ============================================= */

.top-products {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: var(--space-md);
}

.top-product {
  --product-color: var(--color-dark);
  display: flex;
  flex-direction: column;
  min-width: 0;
  background: #fff;
  border: 1px solid var(--color-border);
  border-radius: var(--radius-lg);
  overflow: hidden;
  color: inherit;
  transition:
    border-color var(--transition),
    box-shadow var(--transition);
}

/* 各サービスのメインカラー。未確定のものは既定色のまま */
.top-product.is-guide { --product-color: #ff4e50; }
.top-product.is-map   { --product-color: #1B1464; }
.top-product.is-rally { --product-color: #2DACC9; }

.top-product:hover {
  border-color: var(--product-color);
  box-shadow: 0 4px 16px rgba(0,0,0,0.06);
  opacity: 1;
}

.top-product__img {
  display: block;
  aspect-ratio: 16 / 10;
  background-color: var(--color-bg-light);
  background-size: cover;
  background-position: center;
}

.top-product__body {
  display: flex;
  flex-direction: column;
  flex: 1;
  padding: var(--space-md);
}

.top-product__sub {
  font-size: var(--text-xs);
  font-weight: 700;
  color: var(--color-text-sub);
  margin-bottom: 4px;
}

.top-product__name {
  font-size: var(--text-lg);
  font-weight: 800;
  color: var(--color-dark);
  margin-bottom: var(--space-sm);
}

.top-product__desc {
  font-size: var(--text-xs);
  color: var(--color-text-sub);
  line-height: 1.9;
  margin-bottom: var(--space-md);
  flex: 1;
}

.top-product__btn {
  align-self: center;
  display: inline-block;
  padding: 10px 32px;
  border-radius: 999px;
  background: var(--product-color);
  color: #fff;
  font-size: var(--text-sm);
  font-weight: 700;
}

/* 準備中プロダクト */
.top-products-sub {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: var(--space-md);
  list-style: none;
  margin: var(--space-md) 0 0;
  padding: 0;
}

.top-product-sub {
  display: flex;
  flex-direction: column;
  padding: var(--space-md);
  background: #fff;
  border: 1px solid var(--color-border);
  border-radius: var(--radius-lg);
}

.top-product-sub__sub {
  font-size: var(--text-xs);
  font-weight: 700;
  color: var(--color-text-sub);
  margin-bottom: 4px;
}

.top-product-sub__name {
  font-size: var(--text-md);
  font-weight: 800;
  color: var(--color-dark);
}

.top-product-sub__soon {
  align-self: flex-start;
  margin-top: var(--space-sm);
  font-family: var(--font-en);
  font-size: 10px;
  font-weight: 700;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--color-text-light);
  border: 1px solid var(--color-border);
  border-radius: 999px;
  padding: 2px 10px;
}

@media screen and (max-width: 1023px) {
  .top-products,
  .top-products-sub {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}

@media screen and (max-width: 834px) {
  .top-products,
  .top-products-sub {
    grid-template-columns: 1fr;
  }
}

/* =============================================
   旅のあらゆる場面を（各ブロック内は4列）
   ============================================= */

.top-scenes-section {
  background: #F3F7FD;
}

.top-scenes {
  display: flex;
  flex-direction: column;
  gap: var(--space-md);
}

.top-scene {
  background: #fff;
  border-radius: var(--radius-lg);
  padding: var(--space-lg);
}

.top-scene__phase {
  font-size: 11px;
  font-weight: 700;
  color: var(--color-primary);
  margin: 0 0 4px;
}

.top-scene__title {
  font-size: var(--text-xl);
  font-weight: 800;
  color: var(--color-dark);
  margin: 0 0 var(--space-xs);
}

.top-scene__lead {
  font-size: var(--text-xs);
  color: var(--color-text-sub);
  line-height: 1.9;
  margin: 0 0 var(--space-md);
}

.top-scene__items {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 0 var(--space-md);
  list-style: none;
  margin: 0;
  padding: 0;
}

.top-scene__item {
  padding: var(--space-sm) 0;
  border-top: 1px solid var(--color-border);
  border-bottom: 1px solid var(--color-border);
  margin-bottom: -1px;
}

.top-scene__item-name {
  font-size: var(--text-sm);
  font-weight: 700;
  color: var(--color-dark);
  margin: 0 0 4px;
}

.top-scene__item-desc {
  font-size: 11px;
  color: var(--color-text-sub);
  line-height: 1.8;
  margin: 0;
}

@media screen and (max-width: 1023px) {
  .top-scene__items {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}

@media screen and (max-width: 834px) {
  .top-scene {
    padding: var(--space-md);
  }

  .top-scene__items {
    grid-template-columns: 1fr;
  }
}

/* =============================================
   選ばれる3つの理由
   ============================================= */

/* =============================================
   私たちの想い（左テキスト・右ビジュアル）
   ============================================= */

/* =============================================
   お役立ち資料・コラム（3列）
   ============================================= */

/* =============================================
   お知らせ（リスト）
   ============================================= */

.top-news {
  list-style: none;
  margin: 0;
  padding: 0;
  border-top: 1px solid var(--color-border);
}

.top-news__item {
  border-bottom: 1px solid var(--color-border);
}

/* 行全体がリンク */
.top-news__link {
  display: grid;
  grid-template-columns: 96px 120px 1fr auto;
  align-items: center;
  gap: var(--space-md);
  padding: var(--space-md) 0;
  color: inherit;
}

.top-news__link:hover {
  opacity: 1;
}

.top-news__date {
  font-family: var(--font-en);
  font-size: var(--text-xs);
  color: var(--color-text-light);
}

.top-news__type {
  justify-self: start;
  font-size: 11px;
  font-weight: 700;
  padding: 2px 10px;
  border-radius: 999px;
  border: 1px solid var(--color-border);
  color: var(--color-text-sub);
  white-space: nowrap;
}

.top-news__type.is-release {
  background: #FEF0EE;
  border-color: #FBCFC9;
  color: var(--color-primary);
}

.top-news__title {
  font-size: var(--text-sm);
  color: var(--color-dark);
  line-height: 1.7;
  min-width: 0;
  transition: color var(--transition);
}

.top-news__link:hover .top-news__title {
  color: var(--color-primary);
}

.top-news__btn {
  font-size: 11px;
  font-weight: 700;
  color: var(--color-dark);
  border: 1px solid var(--color-border);
  border-radius: 999px;
  padding: 6px 14px;
  white-space: nowrap;
  transition:
    background-color var(--transition),
    color var(--transition),
    border-color var(--transition);
}

.top-news__link:hover .top-news__btn {
  background: var(--color-dark);
  border-color: var(--color-dark);
  color: #fff;
}

@media screen and (max-width: 834px) {
  .top-news__link {
    grid-template-columns: auto 1fr;
    gap: var(--space-xs) var(--space-sm);
  }

  .top-news__title {
    grid-column: 1 / -1;
  }

  .top-news__btn {
    display: none;
  }
}
/* =============================================
   フォント（mebuku-site に合わせる）
   Noto Sans JP を Google Fonts から読み込み、英字も同じ書体で統一
   ============================================= */

body.home {
  --font-sans: "Noto Sans JP", "Hiragino Sans", "Yu Gothic", sans-serif;
  --font-en:   "Noto Sans JP", "Hiragino Sans", "Yu Gothic", sans-serif;
  letter-spacing: .05em;
}

body.home button {
  font-family: inherit;
}

/* =============================================
   ヘッダー・CTAボタン（bakuraku.jp に合わせる）
   ============================================= */

body.home {
  --header-height: 80px;
}

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

/* ヘッダー：塗り（資料DL）＋ 枠線（お問合せ）のピル型 */
body.home .site-header__cta {
  gap: 12px;
}

body.home .site-header__cta .btn,
body.home .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.home .site-header .btn-primary:hover {
  opacity: .8;
  background: var(--color-primary);
  border-color: var(--color-primary);
}

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

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

/* ヒーロー：大きいピル型。上に小さい説明、下に太字のタイトル */
body.home .top-hero__actions {
  gap: 16px;
  align-items: center;
}

body.home .top-hero__btn {
  min-width: 0;
  min-height: 0;
  padding: 16px 40px;
  border-radius: 9999px;
  box-shadow: none;
  font-size: 16px;
  font-weight: 700;
  transition: opacity .4s, background-color .4s, color .4s;
}

body.home .top-hero__btn--doc {
  padding: 16px 48px;
}

body.home .top-hero__btn--doc:hover {
  opacity: .85;
  background: var(--color-primary);
}

body.home .top-hero__btn:not(.top-hero__btn--doc) {
  align-self: stretch;
  padding: 16px 40px;
}

body.home .top-hero__btn-text {
  align-items: flex-start;
  text-align: left;
}

body.home .top-hero__btn-sub {
  font-size: 16px;
  font-weight: 400;
  line-height: 1.75;
}

body.home .top-hero__btn-main {
  font-size: 28px;
  font-weight: 700;
  line-height: 1.5;
  letter-spacing: 0;
}

@media screen and (max-width: 834px) {
  body.home .top-hero__actions {
    align-items: stretch;
  }

  body.home .top-hero__btn,
  body.home .top-hero__btn--doc {
    padding: 14px 32px;
  }

  body.home .top-hero__btn-text {
    align-items: center;
    text-align: center;
  }

  body.home .top-hero__btn-sub {
    font-size: 12px;
    font-weight: 700;
  }

  body.home .top-hero__btn-main {
    font-size: 20px;
  }
}

/* =============================================
   セクション見出し：サイズを小さく、赤のアクセントをやめる
   ============================================= */

body.home .section-title {
  font-size: 32px;
}

body.home .section-title__accent {
  color: inherit;
}

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

/* =============================================
   余白・文字サイズ（mebuku-site に合わせる）
   - 横幅は bakuraku.jp に合わせる（下の「横幅」ブロック）
   - セクション間は 160px（タブレット 140px / スマホ 120px）
   - 本文 14px・行間 1.8、太さは 400 / 500 / 700 のみ
   ============================================= */

body.home {
  --section-pad: 80px;
  --heading-gap: 64px;
  font-size: 14px;
  line-height: 1.8;
}

/* 横幅（bakuraku.jp に合わせる）
   本文：最大 1130px の中央寄せ、1079px 以下は左右 24px
   ヘッダー：最大 1440px、左右 40px */
body.home {
  --content-width: 1130px;
  --content-gutter: 24px;
}

body.home .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.home .site-header__inner {
  max-width: 1440px;
  padding-left: 40px;
  padding-right: 40px;
}

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

/* セクションの上下余白（隣り合うセクション間が 160px になる） */
body.home .pokke-section,
body.home .top-stats,
body.home .top-clients {
  padding-top: var(--section-pad);
  padding-bottom: var(--section-pad);
}

/* 見出し → 中身 */
body.home .section-title {
  font-size: 28px;
  font-weight: 700;
  line-height: 1.6;
  letter-spacing: .05em;
  margin-bottom: var(--heading-gap);
}

body.home .top-heading,
body.home .top-heading--compact,
body.home .service-cases__header {
  margin-bottom: var(--heading-gap);
}

body.home .top-heading .section-title,
body.home .top-heading--compact .section-title,
body.home .service-cases__header .section-title {
  margin-bottom: 16px;
}

body.home .top-heading--compact .section-title {
  margin-bottom: 0;
}

/* リード・本文 */
body.home .top-heading__lead,
body.home .service-cases__header-lead,
body.home .top-reason__desc,
body.home .top-about__body,
body.home .top-product__desc,
body.home .top-scene__lead,
body.home .flow-step__desc,
body.home .section-cta__lead {
  font-size: 14px;
  font-weight: 400;
  line-height: 1.8;
}

/* 小さい補足テキスト */
body.home .top-stats__label,
body.home .top-solution__en,
body.home .top-product__sub,
body.home .top-product-sub__sub,
body.home .top-scene__phase,
body.home .top-scene__item-desc,
body.home .case-item__region,
body.home .flow-step__num,
body.home .top-column__date,
body.home .top-news__date,
body.home .top-news__type {
  font-size: 12px;
  line-height: 1.8;
}

body.home .case-item__place,
body.home .case-item__industry,
body.home .case-item__tag,
body.home .top-product-sub__soon,
body.home .top-news__btn {
  font-size: 11px;
}

/* カード・項目の見出し */
body.home .top-product__name,
body.home .top-scene__title,
body.home .top-reason__title {
  font-size: 20px;
  font-weight: 700;
  line-height: 1.8;
}

body.home .top-product-sub__name,
body.home .flow-step__title {
  font-size: 18px;
  font-weight: 700;
  line-height: 1.8;
}

body.home .top-solution__name,
body.home .case-item__title,
body.home .top-column__title {
  font-size: 16px;
  font-weight: 500;
  line-height: 1.8;
}

body.home .top-scene__item-name,
body.home .top-news__title {
  font-size: 14px;
  font-weight: 500;
  line-height: 1.8;
}

body.home .section-cta__title {
  font-size: 28px;
  font-weight: 700;
  line-height: 1.6;
}

@media screen and (max-width: 840px) {
  body.home {
    --section-pad: 70px;
    --heading-gap: 48px;
  }
}

@media screen and (max-width: 540px) {
  body.home {
    --section-pad: 60px;
    --heading-gap: 40px;
  }

  body.home .section-title,
  body.home .section-cta__title {
    font-size: 22px;
  }

  body.home .top-product__name,
  body.home .top-scene__title,
  body.home .top-reason__title {
    font-size: 18px;
  }
}

/* =============================================
   導入事例：地図＋サービス別一覧（mebuku-site/business と同じ構成）
   一覧にホバーすると地図の都道府県が強調され、クリックで詳細ダイアログ
   ============================================= */

.cm {
  --c-text: #1a1a1a;
  --c-sub: #6e6e6e;
  --c-line: #e3e3e3;
  --c-surface: #f5f5f5;
  --c-bg: #fff;
}

.cm {
  grid-template-columns:minmax(0,1fr) minmax(0,1.35fr) minmax(0,1fr);
  grid-template-areas:"left map right";
  align-items:center;
  gap:40px;
  display:grid;
}

.cm__col--left {
  grid-area:left;
}

.cm__col--right {
  grid-area:right;
}

.cm__map {
  grid-area:map;
}

.cm__col {
  align-content:start;
  gap:36px;
  display:grid;
}

.cm__h {
  flex-wrap:wrap;
  align-items:baseline;
  gap:4px 12px;
  margin:0 0 12px;
  display:flex;
}

.cm__en {
  letter-spacing:.04em;
  font-size:20px;
  font-weight:500;
  line-height:1.4;
}

.cm__ja {
  color:var(--c-sub);
  font-size:11px;
}

.cm__list {
  border-top:1px solid var(--c-text);
  margin:0;
  padding:8px 0 0;
  list-style:none;
}

.cm__link {
  text-align:left;
  cursor:pointer;
  width:100%;
  font:inherit;
  letter-spacing:inherit;
  color:var(--c-text);
  background:0 0;
  border:0;
  padding:4px 0;
  font-size:13px;
  line-height:1.6;
  transition:color .15s;
  display:block;
}

.cm__link:hover {
  text-underline-offset:3px;
  text-decoration:underline;
}

.cm__pref {
  font-weight:500;
}

.is-focus .cm__link {
  color:var(--c-sub);
}

.is-focus .cm__link.is-on {
  color:var(--c-text);
}

.cm__map svg {
  width:100%;
  height:auto;
  display:block;
}

.cm__pf {
  fill:#efefef;
  stroke:#fff;
  stroke-width:1.2px;
}

.cm__dot {
  cursor:pointer;
}

.cm__dot circle {
  fill:var(--c-text);
  stroke:#fff;
  stroke-width:3px;
  transition:fill .15s;
}

.cm__dot text {
  fill:#fff;
  text-anchor:middle;
  pointer-events:none;
  font-size:17px;
  font-weight:500;
}

.is-focus .cm__dot circle {
  fill:#c8c8c8;
}

.is-focus .cm__dot.is-on circle {
  fill:var(--c-text);
}

.cm__dialog {
  background:var(--c-bg);
  width:min(640px,100vw - 32px);
  max-height:calc(100vh - 48px);
  color:var(--c-text);
  border:0;
  border-radius:20px;
  padding:0;
}

.cm__dialog::backdrop {
  background:#00000080;
}

.cm__dlg-inner {
  padding:48px 44px 40px;
  position:relative;
}

.cm__close {
  background:var(--c-surface);
  cursor:pointer;
  width:40px;
  height:40px;
  color:var(--c-text);
  border:0;
  border-radius:50%;
  font-size:22px;
  line-height:1;
  position:absolute;
  top:14px;
  right:14px;
}

.cm__dlg-meta {
  color:var(--c-sub);
  margin:0;
  font-size:12px;
}

.cm__dlg-svc {
  background:var(--c-text);
  color:#fff;
  border-radius:999px;
  margin-right:8px;
  padding:1px 10px;
  font-weight:500;
  display:inline-block;
}

.cm__dlg-title {
  margin:14px 0 0;
  font-size:22px;
  font-weight:500;
  line-height:1.6;
}

.cm__dlg-text {
  border-top:1px solid var(--c-line);
  margin-top:20px;
  padding-top:20px;
}

.cm__dlg-text p {
  margin:0 0 12px;
  font-size:14px;
  line-height:1.9;
}

.cm__dlg-foot {
  flex-wrap:wrap;
  align-items:center;
  gap:12px 20px;
  margin-top:28px;
  display:flex;
}

.cm__dlg-back {
  font:inherit;
  cursor:pointer;
  color:var(--c-sub);
  background:0 0;
  border:0;
  padding:0;
  font-size:13px;
  text-decoration:underline;
}

@media (width<=540px) {
  .cm__dlg-inner {
    padding:44px 20px 28px;
  }
  .cm__dlg-title {
    font-size:18px;
  }
}

@media (width<=1100px) {
  .cm {
    grid-template-columns:minmax(0,1fr) minmax(0,1fr);
    grid-template-areas:"map map""left right";
  }
  .cm__map {
    width:100%;
    max-width:520px;
    margin:0 auto;
  }
}

@media (width<=640px) {
  .cm {
    grid-template-columns:minmax(0,1fr);
    grid-template-areas:"map""left""right";
    gap:32px;
  }
}

/* ダイアログは body 直下の .cm 外でも変数が効くように */
.cm__dialog {
  --c-text: #1a1a1a;
  --c-sub: #6e6e6e;
  --c-line: #e3e3e3;
  --c-surface: #f5f5f5;
  --c-bg: #fff;
}

.cm__dlg-foot .btn {
  border-radius: 999px;
  padding: 12px 24px;
}

#cases .top-more {
  margin-top: var(--heading-gap);
}

/* 地図（#efefef）がベージュ背景に埋もれるので、このセクションは白背景にする
   （cocoon-reset.css が .pokke-section--light に !important を付けているため合わせる） */
body.home #cases {
  background: #fff !important;
}

/* テーマのリセットCSSで dialog の中央寄せが消えるので戻す */
.cm__dialog[open] {
  position: fixed;
  inset: 0;
  margin: auto;
  overflow: auto;
}

/* =============================================
   導入事例：事例タイトルを1行に収めるレイアウト
   PC：左に地図（スクロールしても追従）、右に一覧を1列で
   タブレット以下：地図 → 一覧。入りきらない分は「…」で省略（全文はダイアログで読める）
   ============================================= */

#cases .cm {
  grid-template-columns: minmax(0, 400px) minmax(0, 1fr);
  grid-template-areas:
    "map left"
    "map right";
  gap: 48px 64px;
  align-items: start;
}

#cases .cm__map {
  position: sticky;
  top: calc(var(--header-height) + 40px);
  align-self: start;
}

#cases .cm__col {
  gap: 48px;
}

#cases .cm__list {
  padding-top: 4px;
}

#cases .cm__list li {
  border-bottom: 1px solid var(--c-line);
}

#cases .cm__link {
  display: flex;
  align-items: baseline;
  gap: 4px;
  padding: 10px 0;
  font-size: 14px;
  white-space: nowrap;
}

#cases .cm__pref {
  flex-shrink: 0;
  min-width: 5.5em;
}

#cases .cm__title {
  min-width: 0;
  overflow: hidden;
  text-overflow: ellipsis;
}

@media (width <= 1100px) {
  #cases .cm {
    grid-template-columns: minmax(0, 1fr);
    grid-template-areas:
      "map"
      "left"
      "right";
  }

  #cases .cm__map {
    position: static;
    width: 100%;
    max-width: 420px;
    margin: 0 auto;
  }
}

@media (width <= 540px) {
  #cases .cm__link {
    font-size: 13px;
  }

  #cases .cm__pref {
    min-width: 5em;
  }
}

/* =============================================
   FVボタン（bakuraku 経費精算FVのボタンに合わせる）
   ・ピル型、上に「＼〜／」の小さい一言、下に太字のメイン
   ・資料ボタンは左端に資料の束が重なる
   ============================================= */

body.home .top-hero__actions {
  gap: 24px;
  align-items: center;
}

body.home .top-hero__btn,
body.home .top-hero__btn--doc,
body.home .top-hero__btn:not(.top-hero__btn--doc) {
  position: relative;
  align-self: auto;
  min-width: 0;
  min-height: 0;
  width: 300px;
  height: 74px;
  padding: 0 28px;
  border-radius: 9999px;
  box-shadow: none;
  justify-content: center;
}

body.home .top-hero__btn--doc {
  width: 340px;
  margin-left: 40px;
  padding-left: 76px;
}

body.home .top-hero__btn--contact {
  background: #fff;
  color: var(--color-dark);
}

body.home .top-hero__btn--contact:hover {
  opacity: .85;
  background: #fff;
  color: var(--color-dark);
}

body.home .top-hero__btn-text {
  align-items: center;
  text-align: center;
  gap: 2px;
}

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

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

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

  body.home .top-hero__btn,
  body.home .top-hero__btn--doc,
  body.home .top-hero__btn:not(.top-hero__btn--doc) {
    width: 100%;
    height: 68px;
    padding: 0 20px;
  }

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

  

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

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

/* =============================================
   プロダクト：背景色を付け、カードの枠線とホバー時の枠色変化をなくす
   （.is-card は cocoon-reset.css で枠線が !important 指定されているため合わせる）
   ============================================= */

body.home #products {
  background: #F5F5F5;
}

body.home .top-product,
body.home .top-product-sub {
  border: 0 !important;
}

body.home .top-product:hover {
  box-shadow: none;
}

/* =============================================
   FV背景：画像を差し替えるまでの間、一旦真っ黒にする
   （スライド画像のHTMLは残してあるので、このブロックを消せば元に戻る）
   ============================================= */

body.home .top-hero {
  background: #000;
}

/* 導入事例：左に一覧、右に地図（一覧は最長タイトルが1行に収まる 480px、残りを地図に） */
@media (width > 1100px) {
  #cases .cm {
    grid-template-columns: minmax(0, 480px) minmax(0, 1fr);
    grid-template-areas:
      "left map"
      "right map";
  }
}

/* =============================================
   メッセージ（FV直下）— clecom.jp の ABOUT US の構成をもとに
   ・左：キャッチ2行（2行目を赤） → 本文 → 「私たちの大切にしていること」
   ・右：角丸の写真1枚（写真が決まるまでは黒）
   ============================================= */

/* =============================================
   ヘッダー：kintone のように FV の上に浮く白い板
   左端を少し空け、左下だけ角丸。FV はヘッダーの下まで広げる
   （ボタンは bakuraku に合わせたピル型のまま）
   ============================================= */

body.home {
  --header-inset: 10px;
  --header-radius: 32px;
  scroll-padding-top: var(--header-height);
}

body.home .site-header {
  position: fixed;
  top: 0;
  left: var(--header-inset);
  right: 0;
  border-bottom: 0;
  border-radius: 0 0 0 var(--header-radius);
}

/* 固定にした分、FV をページ最上部から始め、文字がヘッダーに隠れないよう上を空ける */
body.home .top-hero {
  padding-top: var(--header-height);
}

/* メガメニューも板の形にそろえる */
body.home .megamenu {
  border-radius: 0 0 0 var(--header-radius);
  overflow: hidden;
}

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

/* 白いセクションの上でも板の形がわかるよう、ごく薄い影を付ける */
body.home .site-header {
  box-shadow: 0 2px 16px rgba(0, 0, 0, .06);
}

/* メガメニューを開いている間は、ヘッダーの角丸をメニュー側に譲る */
body.home .site-header:has(.global-nav__item.is-open) {
  border-bottom-left-radius: 0;
}

/* =============================================
   支援メニュー内の事例（タビマエ：動画1本／タビナカ：事例1件）
   ============================================= */

.top-works {
  margin-top: 40px;
  padding-top: 32px;
  border-top: 1px solid var(--color-border);
}

.top-works__label {
  margin: 0 0 20px;
  font-size: 13px;
  font-weight: 700;
  color: var(--color-dark);
}

/* 動画：左に16:9の動画、右に説明 */
.top-works__video-wrap {
  display: grid;
  grid-template-columns: minmax(0, 7fr) minmax(0, 5fr);
  gap: 32px;
  align-items: center;
}

.top-works__video {
  position: relative;
  aspect-ratio: 16 / 9;
  border-radius: 16px;
  overflow: hidden;
  background: #000;
}

.top-works__video iframe {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  border: 0;
}

.top-works__tag {
  display: inline-block;
  margin: 0 0 8px;
  padding: 2px 10px;
  border-radius: 999px;
  background: var(--color-dark);
  font-size: 11px;
  font-weight: 700;
  line-height: 1.6;
  color: #fff;
}

.top-works__title {
  display: block;
  margin: 0 0 4px;
  font-size: 16px;
  font-weight: 700;
  line-height: 1.6;
  color: var(--color-dark);
}

.top-works__meta {
  display: block;
  margin: 0;
  font-size: 12px;
  color: var(--color-text-sub);
}

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

.top-works__img {
  display: block;
  aspect-ratio: 4 / 3;
  margin-bottom: 12px;
  border-radius: 12px;
  background-color: #eee;
  background-size: cover;
  background-position: center;
  transition: transform .4s;
}

@media screen and (max-width: 1079px) {
  .top-works__video-wrap {
    grid-template-columns: minmax(0, 1fr);
    gap: 20px;
  }

  
}

/* タビナカの事例（1件）：動画と同じく左に画像、右に説明。カード全体がリンク */
.top-works__feature {
  border: 0 !important;
  color: inherit;
  text-decoration: none;
}

.top-works__feature .top-works__img {
  aspect-ratio: 16 / 9;
  margin-bottom: 0;
  border-radius: 16px;
}

.top-works__feature .top-works__tag,
.top-works__feature .top-works__desc {
  display: inline-block;
}

.top-works__feature .top-works__desc {
  display: block;
}

.top-works__feature:hover {
  opacity: 1;
}

.top-works__feature:hover .top-works__img {
  transform: scale(1.02);
}

/* =============================================
   見出し下のリード文：少し大きく、濃く
   ============================================= */

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

@media screen and (max-width: 540px) {
  body.home .top-heading__lead,
  body.home .service-cases__header-lead {
    font-size: 15px;
  }
}

/* =============================================
   支援メニューの事例：右下に「他の事例を見る」（ページ内の導入事例へ）
   ============================================= */

.top-works__more {
  display: flex;
  justify-content: flex-end;
  margin-top: 20px;
}

.top-works__more-btn {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  padding: 10px 22px;
  border: 1px solid var(--color-dark);
  border-radius: 999px;
  font-size: 13px;
  font-weight: 700;
  color: var(--color-dark);
  text-decoration: none;
  transition: background-color .3s, color .3s;
}

.top-works__more-btn:hover {
  opacity: 1;
  background: var(--color-dark);
  color: #fff;
}

/* =============================================
   Pokkeが選ばれる理由：画像の左下に番号を重ね、見出し → 説明を左揃えで
   ============================================= */

/* ページ内リンクで移動したとき、固定ヘッダー（80px）の下に止まるように */
html:has(body.home) {
  scroll-padding-top: 80px;
}

/* 1行固定のタイトルが列幅を押し広げないように */
#cases .cm__col {
  grid-template-columns: minmax(0, 1fr);
  min-width: 0;
}

#cases .cm__group,
#cases .cm__list,
#cases .cm__list li {
  min-width: 0;
}

/* プロダクトの「詳しく見る」は、サービスの色によらずすべて黒 */
body.home .top-product__btn {
  background: var(--color-dark);
}

/* ---- 導入企業：2段にして、2段目は逆向きに流す（mebuku.co.jp と同じ形） ---- */
.top-clients__marquee + .top-clients__marquee {
  margin-top: 28px;
}

.top-clients__marquee--reverse .top-clients__track {
  animation-direction: reverse;
}

@media screen and (max-width: 640px) {
  .top-clients__marquee + .top-clients__marquee {
    margin-top: 16px;
  }
}

/* =============================================================
   ここから旧 top-renewal.css（リニューアルで追加したパーツ）
   ============================================================= */

/*
 * top-renewal.css
 * トップページ（/studio/）に追加したパーツ。top.css の後に読み込む。
 *   1. FV直下のバナーウォール（ガイドページと同じ）
 *   2. ソリューションパートナー（Pokkeは「物語」をキーワードに〜）
 *   3. Pokkeとともに、新しい旅の体験をつくりましょう（3つのタブ）
 */

/* =============================================
   1. FV直下：音声ガイドのバナーが2段で流れる（ガイドページと同じ見た目）
   ============================================= */
body.home .guide-wall-section {
  padding: 48px 0;
  background: #fff;
}

body.home .guide-wall {
  display: grid;
  gap: 2px;
  margin: 0;
  overflow: hidden;
}

body.home .guide-wall__row {
  padding: 4px 0 14px;
}

body.home .guide-wall__track {
  display: flex;
  gap: 12px;
  width: max-content;
  animation: top-wall-left 60s linear infinite;
}

body.home .guide-wall__row--2 .guide-wall__track {
  animation-name: top-wall-right;
  animation-duration: 70s;
}

body.home .guide-wall__track img {
  display: block;
  width: 220px;
  height: auto;
  aspect-ratio: 380 / 212;
  object-fit: cover;
  border-radius: 10px;
  box-shadow: 0 0 0 1px rgba(0, 0, 0, .06), 0 4px 12px rgba(0, 0, 0, .10);
}

body.home .guide-wall:hover .guide-wall__track {
  animation-play-state: paused;
}

/* 同じ並びを3回置いているので、1/3 動かすと継ぎ目なく元に戻る */
@keyframes top-wall-left {
  from { transform: translateX(0); }
  to   { transform: translateX(calc(-100% / 3)); }
}

@keyframes top-wall-right {
  from { transform: translateX(calc(-100% / 3)); }
  to   { transform: translateX(0); }
}

@media (prefers-reduced-motion: reduce) {
  body.home .guide-wall__track {
    animation: none;
  }
}

@media screen and (max-width: 1079px) {
  body.home .guide-wall__track img {
    width: 180px;
  }
}

@media screen and (max-width: 540px) {
  body.home .guide-wall-section {
    padding: 32px 0;
  }

  body.home .guide-wall__track {
    gap: 8px;
  }

  body.home .guide-wall__track img {
    width: 140px;
    border-radius: 8px;
  }
}

/* =============================================
   2. ソリューションパートナー
   左：メッセージ／右：事業内容のカード（観光DXプロダクト＋各種支援メニュー）
   ============================================= */
body.home .top-partner {
  position: relative;
  overflow: hidden;
  background: #fff;
}

/* 背景：右下に淡い大きな円 */
body.home .top-partner::before {
  content: "";
  position: absolute;
  right: -12%;
  bottom: -30%;
  width: min(900px, 70vw);
  aspect-ratio: 1;
  border-radius: 50%;
  background: radial-gradient(closest-side, rgba(255, 78, 80, .08), rgba(255, 78, 80, .03) 60%, rgba(255, 78, 80, 0));
  pointer-events: none;
}

body.home .top-partner .pokke-container {
  position: relative;
  z-index: 1;
}

.top-partner__title {
  margin: 0 0 56px;
  font-size: 36px;
  font-weight: 700;
  line-height: 1.6;
  letter-spacing: .02em;
  color: var(--color-dark);
}

/* =============================================
   3. Pokkeとともに、新しい旅の体験をつくりましょう
   淡いグラデーションの背景に、タブ（目的）と白いカード（内容＋進め方の図）
   ============================================= */
body.home .top-journey {
  position: relative;
  overflow: hidden;
  padding: 120px 0;
  background:
    radial-gradient(60% 50% at 85% 10%, rgba(255, 180, 140, .28), rgba(255, 180, 140, 0) 70%),
    radial-gradient(50% 45% at 10% 60%, rgba(255, 120, 110, .14), rgba(255, 120, 110, 0) 70%),
    linear-gradient(180deg, #FFF7F3 0%, #FFFFFF 100%);
}

.top-journey__heading {
  margin: 0 0 20px;
  font-size: 44px;
  font-weight: 700;
  line-height: 1.45;
  letter-spacing: .02em;
  text-align: center;
  color: var(--color-dark);
}

.top-journey__lead {
  margin: 0 0 48px;
  font-size: 16px;
  line-height: 1.9;
  text-align: center;
  color: var(--color-text);
}

/* タブ（ピルをまとめた帯） */
.top-journey__tabs {
  display: flex;
  justify-content: center;
  gap: 4px;
  width: fit-content;
  max-width: 100%;
  margin: 0 auto 48px;
  padding: 8px;
  border-radius: 999px;
  background: rgba(255, 78, 80, .08);
}

body.home .top-journey__tab {
  flex-shrink: 0;
  padding: 16px 32px;
  border: 0;
  border-radius: 999px;
  background: transparent;
  font-family: inherit;
  font-size: 16px;
  font-weight: 700;
  line-height: 1.4;
  color: var(--color-dark);
  cursor: pointer;
  transition: background-color .25s, color .25s, box-shadow .25s;
}

body.home .top-journey__tab:hover {
  background: rgba(255, 255, 255, .7);
}

body.home .top-journey__tab.is-active {
  background: var(--color-primary);
  box-shadow: 0 8px 20px rgba(255, 78, 80, .3);
  color: #fff;
}

/* 内容のカード */
.top-journey__panel {
  display: grid;
  grid-template-columns: minmax(0, 1.05fr) minmax(0, 1fr);
  gap: 64px;
  align-items: center;
  padding: 64px 72px;
  border-radius: 32px;
  background: #fff;
  box-shadow: 0 30px 80px rgba(200, 80, 50, .08), 0 2px 8px rgba(0, 0, 0, .03);
  animation: top-journey-in .45s ease;
}

.top-journey__panel[hidden] {
  display: none;
}

@keyframes top-journey-in {
  from { opacity: 0; transform: translateY(12px); }
  to   { opacity: 1; transform: translateY(0); }
}

.top-journey__label {
  margin: 0 0 10px;
  font-size: 15px;
  font-weight: 700;
  letter-spacing: .06em;
  color: var(--color-primary);
}

.top-journey__title {
  margin: 0 0 20px;
  font-size: 34px;
  font-weight: 700;
  line-height: 1.45;
  color: var(--color-dark);
}

.top-journey__sub {
  margin: 0 0 16px;
  font-size: 18px;
  font-weight: 700;
  line-height: 1.7;
  color: var(--color-dark);
}

.top-journey__desc {
  margin: 0 0 36px;
  font-size: 15px;
  line-height: 2;
  color: var(--color-text);
}

.top-journey__out-head {
  margin: 0 0 12px;
  font-size: 15px;
  font-weight: 700;
  color: var(--color-dark);
}

.top-journey__outs {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin: 0 0 36px;
  padding: 0;
  list-style: none;
}

.top-journey__outs li {
  padding: 8px 20px;
  border: 1px solid var(--color-border);
  border-radius: 999px;
  background: #FAFAFA;
  font-size: 14px;
  color: var(--color-dark);
}

body.home .top-journey__btn {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  padding: 18px 40px;
  border-radius: 999px;
  background: var(--color-dark);
  font-size: 15px;
  font-weight: 700;
  text-decoration: none;
  color: #fff;
  transition: opacity .2s, transform .2s;
}

body.home .top-journey__btn::after {
  content: "\002192";
}

body.home .top-journey__btn:hover {
  opacity: .9;
  transform: translateX(2px);
  color: #fff;
}

/* 右：進め方の図（矢羽根の形でつながる3ステップ＋一気通貫で伴走） */
.top-journey__steps {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  margin: 0;
  padding: 0;
  list-style: none;
}

.top-journey__step {
  display: flex;
  flex-direction: column;
  align-items: center;
  padding: 36px 14px 40px 26px;
  background: #FFF4F1;
  text-align: center;
  clip-path: polygon(0 0, calc(100% - 18px) 0, 100% 50%, calc(100% - 18px) 100%, 0 100%, 18px 50%);
}

.top-journey__step:first-child {
  padding-left: 14px;
  border-radius: 16px 0 0 16px;
  clip-path: polygon(0 0, calc(100% - 18px) 0, 100% 50%, calc(100% - 18px) 100%, 0 100%);
}

.top-journey__step:nth-child(2) { background: #FFECE6; }
.top-journey__step:nth-child(3) { background: #FFE2D9; }

.top-journey__step-icon {
  display: grid;
  place-items: center;
  width: 64px;
  height: 64px;
  margin-bottom: 16px;
  border-radius: 50%;
  background: #fff;
  box-shadow: 0 6px 16px rgba(200, 80, 50, .12);
  color: var(--color-primary);
}

.top-journey__step-icon svg {
  width: 30px;
  height: 30px;
}

.top-journey__step-name {
  margin-bottom: 8px;
  font-size: 16px;
  font-weight: 700;
  color: var(--color-dark);
}

.top-journey__step-desc {
  font-size: 12px;
  line-height: 1.7;
  color: var(--color-text);
}

.top-journey__through {
  position: relative;
  display: flex;
  justify-content: center;
  margin: 18px 0 0;
  padding-top: 14px;
}

/* 両端が上を向いた括弧の線 */
.top-journey__through::before {
  content: "";
  position: absolute;
  top: 0;
  left: 4%;
  right: 4%;
  height: 26px;
  border: 1.5px solid var(--color-primary);
  border-top: 0;
  opacity: .6;
}

.top-journey__through span {
  position: relative;
  z-index: 1;
  padding: 0 16px;
  background: #fff;
  font-size: 15px;
  font-weight: 700;
  letter-spacing: .06em;
  color: var(--color-primary);
  transform: translateY(6px);
}

/* =============================================
   タブレット・スマホ
   ============================================= */
@media screen and (max-width: 1079px) {
  

  

  .top-journey__panel {
    grid-template-columns: minmax(0, 1fr);
    gap: 40px;
    padding: 48px 40px;
  }

  .top-journey__heading {
    font-size: 34px;
  }
}

@media screen and (max-width: 834px) {
  body.home .top-journey {
    padding: 80px 0;
  }

  /* タブは横にスクロール */
  .top-journey__tabs {
    justify-content: flex-start;
    width: auto;
    margin-left: calc(var(--content-gutter, 24px) * -1);
    margin-right: calc(var(--content-gutter, 24px) * -1);
    padding: 6px var(--content-gutter, 24px);
    border-radius: 0;
    overflow-x: auto;
    scrollbar-width: none;
  }

  .top-journey__tabs::-webkit-scrollbar {
    display: none;
  }

  body.home .top-journey__tab {
    padding: 12px 20px;
    font-size: 14px;
  }
}

@media screen and (max-width: 540px) {
  .top-partner__title {
    margin-bottom: 36px;
    font-size: 23px;
  }

  

  

  

  

  

  .top-journey__heading {
    font-size: 26px;
  }

  .top-journey__lead {
    font-size: 14px;
    margin-bottom: 32px;
  }

  .top-journey__panel {
    padding: 32px 22px;
    border-radius: 24px;
  }

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

  .top-journey__sub {
    font-size: 16px;
  }

  /* 図は縦に並べ、矢羽根は下向きに */
  .top-journey__steps {
    grid-template-columns: minmax(0, 1fr);
  }

  .top-journey__step,
  .top-journey__step:first-child {
    display: grid;
    grid-template-columns: 52px minmax(0, 1fr);
    grid-template-rows: auto auto;
    column-gap: 14px;
    align-items: center;
    padding: 18px 20px 26px;
    border-radius: 0;
    text-align: left;
    clip-path: polygon(0 0, 100% 0, 100% calc(100% - 12px), 50% 100%, 0 calc(100% - 12px));
  }

  .top-journey__step:first-child {
    border-radius: 16px 16px 0 0;
  }

  .top-journey__step + .top-journey__step {
    margin-top: -6px;
    padding-top: 24px;
  }

  .top-journey__step-icon {
    grid-row: 1 / 3;
    width: 52px;
    height: 52px;
    margin: 0;
  }

  .top-journey__step-icon svg {
    width: 24px;
    height: 24px;
  }

  .top-journey__step-name {
    margin: 0;
  }

  .top-journey__step-desc br {
    display: none;
  }

  body.home .top-journey__btn {
    width: 100%;
    justify-content: center;
  }
}

/* 右の図をもう少し広く。タイトルは1文字だけ次の行に落ちないよう均等に折り返す */
@media screen and (min-width: 1080px) {
  .top-journey__panel {
    grid-template-columns: minmax(0, 1fr) minmax(0, 1.12fr);
    gap: 56px;
    padding: 64px 64px 64px 72px;
  }
}

.top-journey__title,
.top-journey__sub {
  text-wrap: balance;
}

.top-journey__title {
  font-size: 32px;
}

.top-journey__step {
  padding-right: 12px;
}

.top-journey__step-desc {
  word-break: keep-all;
  overflow-wrap: anywhere;
}

/* タイトルは改行位置を指定したので、均等な折り返しは使わない */
.top-journey__title,
.top-journey__sub {
  text-wrap: wrap;
}

/* スマホ：タブの帯は背景なしにして、ピルだけを横に並べる（途中で背景が切れて見えないように） */
@media screen and (max-width: 834px) {
  .top-journey__tabs {
    background: transparent;
  }

  body.home .top-journey__tab:not(.is-active) {
    background: rgba(255, 78, 80, .08);
  }
}

/* =============================================
   パートナー募集：左に文、右にPokkeを中心にした連携の図
   ============================================= */
body.home .top-recruit__card {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(0, 1fr);
  gap: 56px;
  align-items: center;
  padding: 64px;
  border-radius: 24px;
  background: var(--color-bg-light);
}

body.home .top-recruit__eyebrow {
  display: block;
  margin: 0 0 14px;
  font-family: var(--font-en, inherit);
  font-size: 13px;
  font-weight: 700;
  letter-spacing: .12em;
  color: var(--color-primary);
}

body.home .top-recruit__title {
  margin: 0 0 20px;
  font-size: 30px;
  font-weight: 700;
  line-height: 1.6;
  color: var(--color-dark);
}

body.home .top-recruit__lead {
  margin: 0 0 24px;
  font-size: 15px;
  line-height: 2;
  color: var(--color-text);
}

body.home .top-recruit__points {
  display: grid;
  gap: 10px;
  margin: 0 0 32px;
  padding: 0;
  list-style: none;
}

body.home .top-recruit__points li {
  display: flex;
  align-items: center;
  gap: 14px;
  padding: 12px 18px;
  border-radius: 10px;
  background: #fff;
  font-size: 15px;
  font-weight: 600;
  color: var(--color-dark);
}

body.home .top-recruit__points span {
  font-family: var(--font-en, inherit);
  font-size: 13px;
  font-weight: 700;
  color: var(--color-primary);
}

/* 連携の図 */
body.home .top-recruit__visual {
  position: relative;
  width: 100%;
  max-width: 520px;
  aspect-ratio: 1 / 1;
  justify-self: center;
}

body.home .top-recruit__visual::before {
  content: "";
  position: absolute;
  inset: 12% 10%;
  border: 1px dashed rgba(0, 0, 0, .14);
  border-radius: 50%;
}

@keyframes top-recruit-flow {
  to { stroke-dashoffset: -2.4; }
}

/* =============================================
   お役立ち資料：表紙つきのカード（3件）
   ============================================= */
body.home .top-docs {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 28px;
}

body.home .top-doc {
  display: flex;
  flex-direction: column;
  border: 1px solid var(--color-border) !important;
  border-radius: 16px;
  background: #fff !important;
  overflow: hidden;
  text-decoration: none;
  color: var(--color-dark);
  transition: border-color .2s, box-shadow .2s;
}

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

body.home .top-doc__cover {
  display: block;
  aspect-ratio: 16 / 9;
  border-bottom: 1px solid var(--color-border);
  background: #fff center / cover no-repeat;
}

body.home .top-doc__body {
  display: flex;
  flex-direction: column;
  flex: 1;
  padding: 20px 24px 24px;
}

body.home .top-doc__title {
  margin: 0 0 8px;
  font-size: 17px;
  font-weight: 700;
  line-height: 1.6;
}

body.home .top-doc__desc {
  flex: 1;
  margin: 0 0 18px;
  font-size: 13px;
  line-height: 1.8;
  color: var(--color-text);
}

body.home .top-doc__btn {
  align-self: flex-start;
  padding: 8px 20px;
  border-radius: 999px;
  background: var(--color-primary);
  font-size: 13px;
  font-weight: 700;
  color: #fff;
}

@media screen and (max-width: 1079px) {
  body.home .top-recruit__card {
    grid-template-columns: minmax(0, 1fr);
    padding: 40px;
  }

  body.home .top-docs {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}

@media screen and (max-width: 640px) {
  body.home .top-recruit__card {
    gap: 32px;
    padding: 28px 20px;
    border-radius: 16px;
  }

  body.home .top-recruit__title {
    font-size: 22px;
  }

  

  body.home .top-recruit__btn {
    display: flex;
    justify-content: center;
    width: 100%;
  }

  /* 左右の名前がカードからはみ出さないように、図を少し小さく */
  body.home .top-recruit__visual {
    width: 90%;
  }

  body.home .top-docs {
    grid-template-columns: minmax(0, 1fr);
  }
}

/* =============================================
   選ばれる理由：ほかのカードと同じ（白いカード・上に写真・番号は小さく）
   ============================================= */

/* =============================================
   事例の地図：ピンをサイト共通のオレンジ系に
   ============================================= */
body.home #cases .cm__dot circle {
  fill: var(--color-primary);
}

body.home #cases .is-focus .cm__dot circle {
  fill: #FFC7C3;
}

body.home #cases .is-focus .cm__dot.is-on circle {
  fill: var(--color-primary);
}

body.home #cases .cm__pf {
  fill: #F3EEEA;
}

/* =============================================
   パートナー募集：左に文、右にPokkeを中心にした連携の図
   ============================================= */
body.home .top-recruit__card {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(0, 1fr);
  gap: 56px;
  align-items: center;
  padding: 64px;
  border-radius: 24px;
  background: var(--color-bg-light);
}

body.home .top-recruit__eyebrow {
  display: block;
  margin: 0 0 14px;
  font-family: var(--font-en, inherit);
  font-size: 13px;
  font-weight: 700;
  letter-spacing: .12em;
  color: var(--color-primary);
}

body.home .top-recruit__title {
  margin: 0 0 20px;
  font-size: 30px;
  font-weight: 700;
  line-height: 1.6;
  color: var(--color-dark);
}

body.home .top-recruit__lead {
  margin: 0 0 24px;
  font-size: 15px;
  line-height: 2;
  color: var(--color-text);
}

body.home .top-recruit__points {
  display: grid;
  gap: 10px;
  margin: 0 0 32px;
  padding: 0;
  list-style: none;
}

body.home .top-recruit__points li {
  display: flex;
  align-items: center;
  gap: 14px;
  padding: 12px 18px;
  border-radius: 10px;
  background: #fff;
  font-size: 15px;
  font-weight: 600;
  color: var(--color-dark);
}

body.home .top-recruit__points span {
  font-family: var(--font-en, inherit);
  font-size: 13px;
  font-weight: 700;
  color: var(--color-primary);
}

/* 連携の図 */
body.home .top-recruit__visual {
  position: relative;
  width: 100%;
  max-width: 520px;
  aspect-ratio: 1 / 1;
  justify-self: center;
}

body.home .top-recruit__visual::before {
  content: "";
  position: absolute;
  inset: 12% 10%;
  border: 1px dashed rgba(0, 0, 0, .14);
  border-radius: 50%;
}

@keyframes top-recruit-flow {
  to { stroke-dashoffset: -2.4; }
}

/* =============================================
   お役立ち資料：表紙つきのカード（3件）
   ============================================= */
body.home .top-docs {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 28px;
}

body.home .top-doc {
  display: flex;
  flex-direction: column;
  border: 1px solid var(--color-border) !important;
  border-radius: 16px;
  background: #fff !important;
  overflow: hidden;
  text-decoration: none;
  color: var(--color-dark);
  transition: border-color .2s, box-shadow .2s;
}

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

body.home .top-doc__cover {
  display: block;
  aspect-ratio: 16 / 9;
  border-bottom: 1px solid var(--color-border);
  background: #fff center / cover no-repeat;
}

body.home .top-doc__body {
  display: flex;
  flex-direction: column;
  flex: 1;
  padding: 20px 24px 24px;
}

body.home .top-doc__title {
  margin: 0 0 8px;
  font-size: 17px;
  font-weight: 700;
  line-height: 1.6;
}

body.home .top-doc__desc {
  flex: 1;
  margin: 0 0 18px;
  font-size: 13px;
  line-height: 1.8;
  color: var(--color-text);
}

body.home .top-doc__btn {
  align-self: flex-start;
  padding: 8px 20px;
  border-radius: 999px;
  background: var(--color-primary);
  font-size: 13px;
  font-weight: 700;
  color: #fff;
}

@media screen and (max-width: 1079px) {
  body.home .top-recruit__card {
    grid-template-columns: minmax(0, 1fr);
    padding: 40px;
  }

  body.home .top-docs {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}

@media screen and (max-width: 640px) {
  body.home .top-recruit__card {
    gap: 32px;
    padding: 28px 20px;
    border-radius: 16px;
  }

  body.home .top-recruit__title {
    font-size: 22px;
  }

  

  body.home .top-recruit__btn {
    display: flex;
    justify-content: center;
    width: 100%;
  }

  /* 左右の名前がカードからはみ出さないように、図を少し小さく */
  body.home .top-recruit__visual {
    width: 90%;
  }

  body.home .top-docs {
    grid-template-columns: minmax(0, 1fr);
  }
}

/* =============================================
   選ばれる理由：ほかのカードと同じ（白いカード・上に写真・番号は小さく）
   ============================================= */

/* =============================================
   事例の地図：ピンをサイト共通のオレンジ系に
   ============================================= */
body.home #cases .cm__dot circle {
  fill: var(--color-primary);
}

body.home #cases .is-focus .cm__dot circle {
  fill: #FFC7C3;
}

body.home #cases .is-focus .cm__dot.is-on circle {
  fill: var(--color-primary);
}

body.home #cases .cm__pf {
  fill: #F3EEEA;
}

/* =============================================
   私たちの想い：Pokkeの想いページのFVと同じ、写真いっぱいに縦書きの見出し
   ============================================= */
body.home .top-story {
  position: relative;
  height: min(86vh, 760px);
  min-height: 600px;
  overflow: hidden;
  background: #111;
  color: #fff;
}

body.home .top-story__photo {
  position: absolute;
  inset: 0;
  background: #222 center 40% / cover no-repeat;
}

body.home .top-story__photo::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(90deg, rgba(0, 0, 0, .6) 0%, rgba(0, 0, 0, 0) 36%, rgba(0, 0, 0, 0) 62%, rgba(0, 0, 0, .55) 100%);
}

body.home .top-story__inner {
  position: relative;
  display: flex;
  justify-content: space-between;
  height: 100%;
  max-width: 1180px;
  margin: 0 auto;
  padding: 72px 24px 64px;
}

body.home .top-story__title {
  order: 2;
  margin: 0;
  writing-mode: vertical-rl;
  font-size: clamp(48px, 6.4vw, 88px);
  font-weight: 800;
  line-height: 1.35;
  letter-spacing: .12em;
  color: #fff;
}

body.home .top-story__side {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  justify-content: flex-end;
  gap: 40px;
}

body.home .top-story__poem {
  margin: 0;
  writing-mode: vertical-rl;
  font-size: 15px;
  line-height: 2.4;
  letter-spacing: .14em;
  color: rgba(255, 255, 255, .92);
}

body.home .top-story__btn {
  margin: 0;
  border-color: rgba(255, 255, 255, .8) !important;
  background: transparent !important;
  color: #fff !important;
}

body.home .top-story__btn:hover {
  background: #fff !important;
  color: var(--color-dark) !important;
}

@media screen and (max-width: 640px) {
  body.home .top-story {
    height: 640px;
    min-height: 0;
  }

  body.home .top-story__photo::after {
    background: linear-gradient(90deg, rgba(0, 0, 0, .6) 0%, rgba(0, 0, 0, .15) 50%, rgba(0, 0, 0, .55) 100%);
  }

  body.home .top-story__inner {
    padding: 40px 20px;
  }

  body.home .top-story__side {
    gap: 28px;
  }

  body.home .top-story__poem {
    font-size: 13px;
  }
}

/* =============================================
   パートナー募集：左に文、右にPokkeを中心にした連携の図
   ============================================= */
body.home .top-recruit__card {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(0, 1fr);
  gap: 56px;
  align-items: center;
  padding: 64px;
  border-radius: 24px;
  background: var(--color-bg-light);
}

body.home .top-recruit__eyebrow {
  display: block;
  margin: 0 0 14px;
  font-family: var(--font-en, inherit);
  font-size: 13px;
  font-weight: 700;
  letter-spacing: .12em;
  color: var(--color-primary);
}

body.home .top-recruit__title {
  margin: 0 0 20px;
  font-size: 30px;
  font-weight: 700;
  line-height: 1.6;
  color: var(--color-dark);
}

body.home .top-recruit__lead {
  margin: 0 0 24px;
  font-size: 15px;
  line-height: 2;
  color: var(--color-text);
}

body.home .top-recruit__points {
  display: grid;
  gap: 10px;
  margin: 0 0 32px;
  padding: 0;
  list-style: none;
}

body.home .top-recruit__points li {
  display: flex;
  align-items: center;
  gap: 14px;
  padding: 12px 18px;
  border-radius: 10px;
  background: #fff;
  font-size: 15px;
  font-weight: 600;
  color: var(--color-dark);
}

body.home .top-recruit__points span {
  font-family: var(--font-en, inherit);
  font-size: 13px;
  font-weight: 700;
  color: var(--color-primary);
}

/* 連携の図 */
body.home .top-recruit__visual {
  position: relative;
  width: 100%;
  max-width: 520px;
  aspect-ratio: 1 / 1;
  justify-self: center;
}

body.home .top-recruit__visual::before {
  content: "";
  position: absolute;
  inset: 12% 10%;
  border: 1px dashed rgba(0, 0, 0, .14);
  border-radius: 50%;
}

@keyframes top-recruit-flow {
  to { stroke-dashoffset: -2.4; }
}

/* =============================================
   お役立ち資料：表紙つきのカード（3件）
   ============================================= */
body.home .top-docs {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 28px;
}

body.home .top-doc {
  display: flex;
  flex-direction: column;
  border: 1px solid var(--color-border) !important;
  border-radius: 16px;
  background: #fff !important;
  overflow: hidden;
  text-decoration: none;
  color: var(--color-dark);
  transition: border-color .2s, box-shadow .2s;
}

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

body.home .top-doc__cover {
  display: block;
  aspect-ratio: 16 / 9;
  border-bottom: 1px solid var(--color-border);
  background: #fff center / cover no-repeat;
}

body.home .top-doc__body {
  display: flex;
  flex-direction: column;
  flex: 1;
  padding: 20px 24px 24px;
}

body.home .top-doc__title {
  margin: 0 0 8px;
  font-size: 17px;
  font-weight: 700;
  line-height: 1.6;
}

body.home .top-doc__desc {
  flex: 1;
  margin: 0 0 18px;
  font-size: 13px;
  line-height: 1.8;
  color: var(--color-text);
}

body.home .top-doc__btn {
  align-self: flex-start;
  padding: 8px 20px;
  border-radius: 999px;
  background: var(--color-primary);
  font-size: 13px;
  font-weight: 700;
  color: #fff;
}

@media screen and (max-width: 1079px) {
  body.home .top-recruit__card {
    grid-template-columns: minmax(0, 1fr);
    padding: 40px;
  }

  body.home .top-docs {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}

@media screen and (max-width: 640px) {
  body.home .top-recruit__card {
    gap: 32px;
    padding: 28px 20px;
    border-radius: 16px;
  }

  body.home .top-recruit__title {
    font-size: 22px;
  }

  

  body.home .top-recruit__btn {
    display: flex;
    justify-content: center;
    width: 100%;
  }

  /* 左右の名前がカードからはみ出さないように、図を少し小さく */
  body.home .top-recruit__visual {
    width: 90%;
  }

  body.home .top-docs {
    grid-template-columns: minmax(0, 1fr);
  }
}

/* =============================================
   選ばれる理由：ほかのカードと同じ（白いカード・上に写真・番号は小さく）
   ============================================= */

/* =============================================
   事例の地図：ピンをサイト共通のオレンジ系に
   ============================================= */
body.home #cases .cm__dot circle {
  fill: var(--color-primary);
}

body.home #cases .is-focus .cm__dot circle {
  fill: #FFC7C3;
}

body.home #cases .is-focus .cm__dot.is-on circle {
  fill: var(--color-primary);
}

body.home #cases .cm__pf {
  fill: #F3EEEA;
}

/* =============================================
   私たちの想い：写真いっぱいの帯に、大きなコピー
   ============================================= */

@keyframes top-vision-zoom {
  to { transform: scale(1.12); }
}

/* =============================================
   パートナー募集：Pokkeも一つの輪に並ぶ、対等な連携の図
   ============================================= */

/* =============================================
   レポート：レポート一覧と同じカード
   ============================================= */
body.home .top-reports {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 32px;
}

body.home .top-report {
  display: flex;
  flex-direction: column;
  gap: 14px;
  border: 0 !important;
  background: none !important;
  text-decoration: none;
  color: var(--color-dark);
}

body.home .top-report__img {
  display: block;
  aspect-ratio: 16 / 9;
  border-radius: 16px;
  background: var(--color-bg-light) center / cover no-repeat;
}

body.home .top-report__meta {
  display: flex;
  align-items: center;
  gap: 12px;
}

body.home .top-report__cat {
  padding: 2px 10px;
  border-radius: 999px;
  background: #FFECEC;
  font-size: 12px;
  font-weight: 700;
  color: var(--color-primary);
}

body.home .top-report__date {
  font-size: 12px;
  color: var(--color-text-sub);
}

body.home .top-report__title {
  font-size: 18px;
  font-weight: 700;
  line-height: 1.6;
  transition: color .2s;
}

body.home .top-report:hover .top-report__title {
  color: var(--color-primary);
}

body.home .top-report__excerpt {
  display: -webkit-box;
  overflow: hidden;
  font-size: 13px;
  line-height: 1.8;
  color: var(--color-text);
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
}

@media screen and (max-width: 1079px) {
  body.home .top-reports {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  
}

@media screen and (max-width: 640px) {
  body.home .top-partner__title {
    margin-bottom: 32px;
  }

  body.home .top-partner__title {
    font-size: 20px;
  }

  

  

  

  

  

  body.home .top-reports {
    grid-template-columns: minmax(0, 1fr);
  }
}

/* 輪の点線を、名前が並ぶ円（半径40%）に合わせる */
body.home .top-recruit__visual::before {
  inset: 10%;
}

/* 支援メニューの「他の事例を見る」：リンクの下線を消すリセットで下の枠線が透明になっていたので戻す */
body.home .top-works__more-btn {
  border: 1px solid var(--color-dark) !important;
}

/* =============================================
   FV：課題の言葉が打ち変わる（背景は地域の写真、右に課題カード）
   高さはこれまでのFV（PCで約700px）にそろえる
   ============================================= */
body.home .top-fv {
  min-height: 700px;
  background: #0f1219;
  color: #fff;
}

body.home .top-fv__bgs {
  position: absolute;
  inset: 0;
}

body.home .top-fv__bg {
  position: absolute;
  inset: 0;
  background-size: cover;
  background-position: center;
  opacity: 0;
  transform: scale(1.06);
  transition: opacity 1.4s ease, transform 8s ease-out;
}

body.home .top-fv__bg.is-active {
  opacity: 1;
  transform: scale(1);
}

body.home .top-fv__bgs::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(90deg, rgba(10, 12, 18, .78) 0%, rgba(10, 12, 18, .5) 55%, rgba(10, 12, 18, .35) 100%);
}

body.home .top-fv__grid {
  display: grid;
  grid-template-columns: minmax(0, 1.35fr) minmax(0, 1fr);
  gap: 56px;
  align-items: center;
  padding: 48px 0;
}

body.home .top-fv__eyebrow {
  margin: 0 0 20px;
  font-size: 15px;
  font-weight: 700;
  letter-spacing: .06em;
  color: rgba(255, 255, 255, .85);
}

body.home .top-fv__title {
  min-height: 2.9em;
  margin: 0 0 18px;
  font-size: 54px;
  font-weight: 700;
  line-height: 1.45;
  letter-spacing: .03em;
  color: #fff;
}

body.home .top-fv__typed {
  background: linear-gradient(transparent 74%, rgba(255, 78, 80, .55) 74%);
}

body.home .top-fv__caret {
  display: inline-block;
  width: 3px;
  height: .9em;
  margin-left: 6px;
  vertical-align: -.08em;
  background: var(--color-primary);
  animation: top-fv-blink 1s steps(1) infinite;
}

@keyframes top-fv-blink {
  50% { opacity: 0; }
}

body.home .top-fv__answer {
  margin: 0 0 36px;
  font-size: 20px;
  font-weight: 700;
  color: #fff;
}

/* 右：課題カード（すりガラス） */
body.home .top-fv__issues {
  padding: 24px;
  border: 1px solid rgba(255, 255, 255, .2);
  border-radius: 22px;
  background: rgba(255, 255, 255, .1);
  backdrop-filter: blur(14px);
  -webkit-backdrop-filter: blur(14px);
}

body.home .top-fv__issues-head {
  margin: 0 0 12px;
  font-size: 13px;
  font-weight: 700;
  letter-spacing: .06em;
  color: rgba(255, 255, 255, .8);
}

body.home .top-fv__issues ul {
  display: grid;
  gap: 8px;
  margin: 0;
  padding: 0;
  list-style: none;
}

body.home .top-fv__issue {
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 10px 14px;
  border: 2px solid transparent !important;
  border-radius: 12px;
  background: rgba(255, 255, 255, .92);
  font-size: 15px;
  font-weight: 700;
  text-decoration: none;
  color: var(--color-dark);
  transition: border-color .3s, transform .3s, box-shadow .3s, background .3s;
}

body.home .top-fv__issue.is-on,
body.home .top-fv__issue:hover {
  border-color: var(--color-primary) !important;
  background: #fff;
  box-shadow: 0 10px 24px rgba(0, 0, 0, .25);
  transform: translateX(-6px);
  opacity: 1;
}

body.home .top-fv__icon {
  flex-shrink: 0;
  width: 36px;
  height: 36px;
  background: center / contain no-repeat;
}

body.home .top-fv__arrow {
  margin-left: auto;
  color: var(--color-primary);
}

@media screen and (max-width: 1079px) {
  body.home .top-fv__grid {
    grid-template-columns: minmax(0, 1fr);
    gap: 36px;
  }

  body.home .top-fv__title {
    font-size: 44px;
  }
}

@media screen and (max-width: 640px) {
  body.home .top-fv {
    min-height: 0;
  }

  body.home .top-fv__grid {
    padding: 32px 0 40px;
  }

  body.home .top-fv__eyebrow {
    font-size: 12px;
  }

  body.home .top-fv__title {
    font-size: 30px;
  }

  body.home .top-fv__answer {
    margin-bottom: 28px;
    font-size: 15px;
  }

  body.home .top-fv__issues {
    padding: 16px;
  }

  body.home .top-fv__issue {
    padding: 8px 12px;
    font-size: 14px;
  }

  body.home .top-fv__icon {
    width: 30px;
    height: 30px;
  }
}

@media (prefers-reduced-motion: reduce) {
  body.home .top-fv__caret {
    animation: none;
  }
}

/* FV（スマホ）：これまでの高さに近づけるため、課題カードは2列の小さなボタンに */
@media screen and (max-width: 640px) {
  body.home .top-fv__grid {
    gap: 24px;
  }

  body.home .top-fv__issues {
    padding: 12px;
    border-radius: 16px;
  }

  body.home .top-fv__issues-head {
    margin-bottom: 8px;
    font-size: 11px;
  }

  body.home .top-fv__issues ul {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 6px;
  }

  body.home .top-fv__issue {
    gap: 6px;
    padding: 7px 8px;
    border-radius: 10px;
    font-size: 11px;
    line-height: 1.4;
  }

  body.home .top-fv__issue.is-on,
  body.home .top-fv__issue:hover {
    transform: none;
  }

  body.home .top-fv__icon {
    width: 20px;
    height: 20px;
  }

  body.home .top-fv__arrow {
    display: none;
  }
}

/* =============================================
   ソリューションパートナー：いまの課題 → ともにつくる → めざす未来
   左右のリストは同じ行どうしが対応し、真ん中の濃い箱を通って右へ流れる
   ============================================= */
body.home .top-partner__title {
  margin-bottom: 56px;
  text-align: center;
}

body.home .tp-flow {
  position: relative;
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(0, 1.45fr) minmax(0, 1fr);
  gap: 0;
  align-items: stretch;
  margin: 0;
}

/* 左右をつなぐ流れの線（真ん中の箱の後ろを通る） */
body.home .tp-flow::before {
  content: "";
  position: absolute;
  left: 8%;
  right: 8%;
  top: calc(50% + 22px);
  height: 2px;
  background: repeating-linear-gradient(90deg, var(--color-primary) 0 8px, transparent 8px 16px);
  opacity: .5;
  animation: tp-flow-move 1.2s linear infinite;
}

@keyframes tp-flow-move {
  to { background-position: 16px 0; }
}

body.home .tp-flow__col {
  position: relative;
  z-index: 1;
  display: flex;
  flex-direction: column;
}

body.home .tp-flow__head {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 2px;
  margin: 0 0 16px;
  font-size: 17px;
  font-weight: 700;
  color: var(--color-dark);
}

body.home .tp-flow__head span {
  font-family: var(--font-en, inherit);
  font-size: 11px;
  font-weight: 700;
  letter-spacing: .18em;
  color: var(--color-text-sub);
}

body.home .tp-flow__list {
  display: grid;
  flex: 1;
  grid-template-rows: repeat(6, minmax(0, 1fr));
  gap: 10px;
  margin: 0;
  padding: 0;
  list-style: none;
}

body.home .tp-flow__list li {
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 12px 16px;
  border-radius: 12px;
  font-size: 14px;
  font-weight: 600;
  line-height: 1.5;
}

/* 左：いまの課題（控えめなグレー） */
body.home .tp-flow__col--now .tp-flow__list li {
  margin-right: -12px;
  padding-right: 28px;
  background: #F1EEEA;
  color: var(--color-text);
}

body.home .tp-flow__col--now .tp-flow__list li::before {
  content: "";
  flex-shrink: 0;
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: #B9B2AA;
}

/* 右：めざす未来（あざやか） */
body.home .tp-flow__col--future .tp-flow__list li {
  margin-left: -12px;
  padding-left: 28px;
  background: #FFEDEA;
  color: var(--color-dark);
}

body.home .tp-flow__col--future .tp-flow__list li::before {
  content: "";
  flex-shrink: 0;
  width: 16px;
  height: 16px;
  border-radius: 50%;
  background: var(--color-primary) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 16 16'%3E%3Cpath d='M4.5 8.2 7 10.6l4.5-5' fill='none' stroke='%23fff' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E") center / 100% no-repeat;
}

/* 真ん中：ともにつくる（濃い箱） */
body.home .tp-flow__core {
  position: relative;
  z-index: 2;
  display: flex;
  flex-direction: column;
}

body.home .tp-flow__box {
  position: relative;
  display: flex;
  flex: 1;
  flex-direction: column;
  justify-content: center;
  gap: 20px;
  padding: 32px 28px;
  border-radius: 24px;
  background: var(--color-dark);
  box-shadow: 0 24px 50px rgba(0, 0, 0, .18);
  color: #fff;
}

/* 箱のまわりに、ゆっくり光が回る */
body.home .tp-flow__box::before {
  content: "";
  position: absolute;
  inset: -2px;
  z-index: -1;
  border-radius: 26px;
  background: conic-gradient(from var(--tp-angle, 0deg), transparent 0 70%, var(--color-primary) 85%, transparent 100%);
  animation: tp-flow-spin 6s linear infinite;
}

@property --tp-angle {
  syntax: "<angle>";
  initial-value: 0deg;
  inherits: false;
}

@keyframes tp-flow-spin {
  to { --tp-angle: 360deg; }
}

body.home .tp-flow__logo {
  margin: 0;
  font-family: var(--font-en, inherit);
  font-size: 28px;
  font-weight: 700;
  letter-spacing: .04em;
  line-height: 1;
  text-align: center;
  color: #fff;
}

body.home .tp-flow__pair {
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto minmax(0, 1fr);
  gap: 12px;
  align-items: start;
}

body.home .tp-flow__group {
  padding: 16px;
  border-radius: 14px;
  background: rgba(255, 255, 255, .07);
}

body.home .tp-flow__group-name {
  margin: 0 0 10px;
  font-size: 14px;
  font-weight: 700;
  color: #fff;
}

body.home .tp-flow__group ul {
  display: grid;
  gap: 6px;
  margin: 0;
  padding: 0;
  list-style: none;
}

body.home .tp-flow__group li {
  font-size: 12px;
  line-height: 1.5;
  color: rgba(255, 255, 255, .8);
}

body.home .tp-flow__group li::before {
  content: "\0030FB";
  color: var(--color-primary);
}

body.home .tp-flow__times {
  align-self: center;
  font-size: 22px;
  font-weight: 700;
  color: var(--color-primary);
}

body.home .tp-flow__with {
  margin: 0;
  padding: 12px 16px;
  border-radius: 999px;
  background: var(--color-primary);
  font-size: 13px;
  font-weight: 700;
  text-align: center;
  color: #fff;
}

body.home .tp-flow__partners {
  margin: -8px 0 0;
  font-size: 12px;
  text-align: center;
  color: rgba(255, 255, 255, .7);
}

@media screen and (max-width: 1079px) {
  body.home .tp-flow {
    grid-template-columns: minmax(0, 1fr);
    gap: 40px;
    max-width: 560px;
    margin: 0 auto;
  }

  body.home .tp-flow::before {
    display: none;
  }

  body.home .tp-flow__list {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    grid-template-rows: none;
  }

  body.home .tp-flow__col--now .tp-flow__list li,
  body.home .tp-flow__col--future .tp-flow__list li {
    margin: 0;
    padding: 10px 12px;
  }

  /* 縦に並べたときは、間に下向きの矢印 */
  body.home .tp-flow__core::before,
  body.home .tp-flow__core::after {
    content: "\002193";
    position: absolute;
    left: 50%;
    font-size: 22px;
    font-weight: 700;
    color: var(--color-primary);
    transform: translateX(-50%);
  }

  body.home .tp-flow__core::before { top: -34px; }
  body.home .tp-flow__core::after  { bottom: -34px; }
}

@media screen and (max-width: 640px) {
  body.home .top-partner__title {
    margin-bottom: 32px;
    text-align: left;
  }

  body.home .tp-flow__list li {
    font-size: 12px;
  }

  body.home .tp-flow__box {
    padding: 24px 16px;
  }

  body.home .tp-flow__group {
    padding: 12px;
  }
}

@media (prefers-reduced-motion: reduce) {
  body.home .tp-flow::before,
  body.home .tp-flow__box::before {
    animation: none;
  }
}

/* =============================================
   選ばれる理由：カードをやめ、1行に「大きな番号・見出し・説明・写真」を並べる
   （行の間は細い線。雑誌の目次のような見せ方）
   ============================================= */

/* パートナー募集：決まった形でなくても、まずは声をかけてほしいという呼びかけ */
body.home .top-recruit__points {
  margin-bottom: 24px;
}

body.home .top-recruit__open {
  margin: 0 0 28px;
  padding: 20px 22px;
  border-radius: 14px;
  background: #fff;
}

body.home .top-recruit__open-title {
  margin: 0 0 8px;
  font-size: 16px;
  font-weight: 700;
  line-height: 1.6;
  color: var(--color-dark);
}

body.home .top-recruit__open-text {
  margin: 0;
  font-size: 14px;
  line-height: 1.9;
  color: var(--color-text);
}

body.home .top-recruit__btns {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 12px 28px;
}

@media screen and (max-width: 640px) {
  body.home .top-recruit__open {
    padding: 16px;
  }

  body.home .top-recruit__open-title {
    font-size: 15px;
  }

  body.home .top-recruit__open-text {
    font-size: 13px;
  }
}

/* ソリューションパートナーの図（スマホ）：真ん中の箱の文字を小さくして折り返しを減らす */
@media screen and (max-width: 640px) {
  body.home .tp-flow__pair {
    gap: 6px;
  }

  body.home .tp-flow__group {
    padding: 10px;
  }

  body.home .tp-flow__group-name {
    font-size: 12px;
    letter-spacing: 0;
  }

  body.home .tp-flow__group li {
    font-size: 11px;
  }

  body.home .tp-flow__times {
    font-size: 16px;
  }

  body.home .tp-flow__with {
    border-radius: 14px;
    font-size: 12px;
  }
}

/* FV：コピーの下線（マーカー）は付けない */
body.home .top-fv__typed {
  background: none;
}

/* ソリューションパートナーの図：真ん中の見出しをなくしたので、箱の上端を左右のリストにそろえる */
@media screen and (min-width: 1080px) {
  body.home .tp-flow__core {
    padding-top: 46px;
  }
}

/* FV：資料請求ボタンのスライドのイラストを外したので、左の余白も戻してもう一方と同じ形に */
body.home .top-fv .top-hero__btn--doc {
  width: 300px;
  margin-left: 0;
  padding-left: 28px;
}

@media screen and (max-width: 834px) {
  body.home .top-fv .top-hero__btn--doc {
    width: 100%;
    margin-left: 0;
    padding-left: 20px;
  }
}

/* ソリューションパートナーの図：左右をつなぐ動く点線は出さない */
body.home .tp-flow::before {
  display: none;
}

/* ソリューションパートナーの図：動きは付けない（箱のふちを回る光も出さない） */
body.home .tp-flow__box::before {
  display: none;
  animation: none;
}

/* =============================================
   Pokkeが選ばれる理由：左に見出し（左寄せ）、右に写真つきの3つを線で区切った一覧
   ============================================= */
.rs ol {
  margin: 0;
  padding: 0 !important;
  list-style: none;
}

.rs li {
  margin: 0;
}

.rs li::before {
  display: none;
}

body.home .rs h3 {
  margin: 0 0 12px;
  font-weight: 700;
  line-height: 1.6;
  color: var(--color-dark);
}

body.home .rs p.rs-c__desc {
  margin: 0;
  font-size: 14px;
  line-height: 2;
  color: var(--color-text);
}

/* =============================================
   C：左に見出し、右に線で区切った一覧（お問い合わせ・協業・連携先募集の一覧と同じ形）。左はスクロールで固定しない
   ============================================= */
.rs-c__grid {
  display: grid;
  grid-template-columns: minmax(0, 4fr) minmax(0, 7fr);
  gap: 72px;
  align-items: start;
}

body.home .rs-c__head .section-title {
  margin-bottom: 16px;
}

.rs-c__list {
  border-top: 1px solid var(--color-dark);
}

.rs-c__row {
  display: grid;
  grid-template-columns: 220px minmax(0, 1fr);
  gap: 32px;
  align-items: center;
  padding: 28px 0;
  border-bottom: 1px solid var(--color-border);
}

.rs-c__img {
  display: block;
  aspect-ratio: 4 / 3;
  border-radius: 14px;
  background: #EEE center / cover no-repeat;
}

body.home .rs-c__title {
  font-size: 20px;
}

body.home .rs-c__head .section-title,
body.home .rs-c__head .top-heading__lead {
  text-align: left;
}

@media screen and (max-width: 1079px) {
  .rs-c__grid {
    grid-template-columns: minmax(0, 1fr);
    gap: 24px;
  }
}

@media screen and (max-width: 640px) {
  .rs-c__row {
    grid-template-columns: 112px minmax(0, 1fr);
    gap: 16px;
    padding: 20px 0;
  }

  body.home .rs-c__title {
    font-size: 16px;
  }

  body.home .rs p.rs-c__desc {
    font-size: 13px;
    line-height: 1.8;
  }
}

/* =============================================
   パートナー募集：右の図を、協業・連携先募集ページと同じ写真の丸の図に
   ============================================= */
body.home .top-recruit__visual.is-hub {
  max-width: 600px;
  aspect-ratio: auto;
}

body.home .top-recruit__visual.is-hub::before {
  display: none;
}

body.home .pp-hub {
  position: relative;
  width: 100%;
  aspect-ratio: 1 / .82;
}

body.home .pp-hub::before {
  content: "";
  position: absolute;
  top: 6%;
  left: 10%;
  width: 80%;
  height: 80%;
  border: 1.5px dashed #F0C9C3;
  border-radius: 50%;
}

body.home .pp-hub__nodes {
  position: absolute;
  inset: 0;
  z-index: 1;
  margin: 0;
  padding: 0 !important;
  list-style: none;
}

body.home .pp-hub__node {
  position: absolute;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 6px;
  width: 17%;
  margin: 0;
  transform: translate(-50%, -34%);
}

body.home .pp-hub__node::before {
  display: none;
}

body.home .pp-hub__img {
  display: block;
  width: 100%;
  aspect-ratio: 1;
  border: 4px solid #fff;
  border-radius: 50%;
  background: #EEE center / cover no-repeat;
  box-shadow: 0 10px 24px rgba(20, 20, 30, .14);
}

body.home .pp-hub__name {
  padding: 3px 10px;
  border-radius: 999px;
  background: #fff;
  box-shadow: 0 4px 12px rgba(20, 20, 30, .08);
  font-size: 12px;
  font-weight: 700;
  line-height: 1.5;
  text-align: center;
  white-space: nowrap;
  color: var(--color-dark);
}

body.home .pp-hub__node.is-pokke {
  width: 19%;
}

body.home .pp-hub__node.is-pokke .pp-hub__img {
  border-color: var(--color-primary);
}

body.home .pp-hub__node.is-pokke .pp-hub__name {
  background: var(--color-primary);
  color: #fff;
}

body.home .pp-hub__center {
  position: absolute;
  top: 46%;
  left: 50%;
  z-index: 1;
  display: grid;
  place-items: center;
  width: 30%;
  aspect-ratio: 1;
  margin: 0;
  border: 6px solid #fff;
  border-radius: 50%;
  background: #DDD center / cover no-repeat;
  box-shadow: 0 18px 40px rgba(20, 20, 30, .18);
  font-size: 16px;
  font-weight: 700;
  line-height: 1.6;
  text-align: center;
  white-space: nowrap;
  color: #fff;
  overflow: hidden;
  transform: translate(-50%, -50%);
}

body.home .pp-hub__center span {
  display: grid;
  place-items: center;
  width: 100%;
  height: 100%;
  background: rgba(15, 15, 25, .38);
  text-shadow: 0 1px 8px rgba(0, 0, 0, .35);
}

@media screen and (max-width: 640px) {
  body.home .pp-hub__img {
    border-width: 3px;
  }

  body.home .pp-hub__name {
    padding: 2px 7px;
    font-size: 10px;
  }

  body.home .pp-hub__center {
    top: 50%;
    width: 25%;
    border-width: 3px;
    font-size: 11px;
  }
}

/* =============================================
   トップのFVのボタン：カーソルを合わせると、はっきり色が変わる
     資料ダウンロード（赤）→ 白地に赤い文字／お問い合わせ（白）→ 黒地に白い文字
   ============================================= */
body.home .top-hero__btn {
  transition: background-color .25s, color .25s, border-color .25s;
}

body.home .top-hero__btn--doc:hover {
  opacity: 1;
  background: #fff;
  color: var(--color-primary);
}

body.home .top-hero__btn--contact:hover {
  opacity: 1;
  background: var(--color-dark);
  color: #fff;
}

/* お役立ち資料：カーソルを合わせても赤い枠にしない。「無料でダウンロード」は中央に */
body.home .top-doc:hover {
  border-color: var(--color-border) !important;
}

body.home .top-doc__btn {
  align-self: center;
}

/* お知らせの種類のラベル：プレスリリースだけ色付きにせず、ほかと同じ見た目に */
body.home .top-news__type.is-release {
  background: transparent;
  border-color: var(--color-border);
  color: var(--color-text-sub);
}
