@charset "UTF-8";

/********** base **********/
/* ========================================
    初期設定
    ======================================== */
/* variables */
:root {
  --color-primary: #f39800;
  --color-secondary: #f5a000;
  --color-text: #402e32;
  --color-bg-cream: #fff0ca;
  --color-brown: #724800;
  --color-gray: #9a9495;
  --color-taupe: #87797c;
  --color-muted: #a8a8a8;
  --color-border: #d9d9d9;
  --color-border-light: #e6dcde;
  --color-bg-pale: #ffeccc;
  --color-bg-faint: #fff6e6;
  --color-tag: #feda9d;
  --color-arrow: #ffcf5c;
  --color-required: #ff5555;
  --color-placeholder: rgba(243, 152, 0, 0.4);
  --color-checkbox: #404040;
  --white: #fff;
  --black: #000;
}

:root {
  --font-primary: "Zen Kaku Gothic New", "Hiragino Kaku Gothic ProN", sans-serif;
  --font-secondary: "Zen Maru Gothic", "Hiragino Maru Gothic ProN", sans-serif;
  /* ホバー用のやわらかいイージング（easeOutCubic）。基本ホバー=0.4s、画像ズーム=0.8s と併用する */
  --ease-soft: cubic-bezier(0.215, 0.61, 0.355, 1);
}



/* 固定ヘッダー（約108px）分、ページ内リンクの着地位置を下げてヘッダーに隠れないようにする */
html {
  scroll-padding-top: 124px;
}

@media (max-width: 600px) {
  html {
    scroll-padding-top: 104px;
  }
}

body {
  -webkit-font-smoothing: antialiased;
  font-family: var(--font-primary);
  color: var(--color-text);
  font-weight: 500;
  line-height: 1.78;
  font-size: 16px;
  letter-spacing: 0.1em;
}

img {
  max-width: 100%;
  height: auto;
}

.section-ttl {
  font-family: var(--font-secondary);
  font-size: clamp(30px, 3.333vw, 48px);
  font-weight: 700;
  line-height: 1;
  color: var(--color-text);
}

.section-ttl span {
  display: block;
  font-family: var(--font-secondary);
  font-size: clamp(20px, 1.667vw, 24px);
  font-weight: 700;
  line-height: 1;
  color: var(--color-primary);
  margin-bottom: 24px;
}

@media (max-width: 600px) {
  .section-ttl span {
    margin-bottom: 16px;
  }
}

.section-ttl--left {
  text-align: left;
}


/* ========================================
    コンテナ幅
    ======================================== */

.container-sm {
  width: 100%;
  padding: 0 16px;
  margin: 0 auto;
  max-width: calc(800px + 32px);
}

@media screen and (max-width: 600px) {
  .container-sm {
    padding: 0 24px;
  }
}

.container-md {
  width: 100%;
  padding: 0 16px;
  margin: 0 auto;
  max-width: calc(940px + 32px);
}

@media screen and (max-width: 600px) {
  .container-md {
    padding: 0 24px;
  }
}

.container {
  width: 100%;
  padding: 0 16px;
  margin: 0 auto;
  max-width: calc(1152px + 32px);
}

@media screen and (max-width: 600px) {
  .container {
    padding: 0 24px;
  }
}

/* 下層ページ標準コンテナ（デザイン基準 866px） */
.container-page {
  width: 100%;
  padding: 0 16px;
  margin: 0 auto;
  max-width: calc(866px + 32px);
}

@media screen and (max-width: 600px) {
  .container-page {
    padding: 0 24px;
  }
}

.container-lg {
  width: 100%;
  padding: 0 16px;
  margin: 0 auto;
  max-width: calc(1200px + 32px);
}

@media screen and (max-width: 600px) {
  .container-lg {
    padding: 0 24px;
  }
}

.container-xl {
  width: 100%;
  padding: 0 16px;
  margin: 0 auto;
  max-width: calc(85vw + 32px);
}

@media screen and (max-width: 1200px) {
  .container-xl {
    max-width: calc(90vw + 32px);
  }
}

@media screen and (max-width: 600px) {
  .container-xl {
    padding: 0 24px;
  }
}

@media screen and (max-width: 600px) {
  .container-xl {
    max-width: calc(100% + 32px);
  }
}


/* ========================================
    共通
    ======================================== */

.m-grid-4-col {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 20px;
}

@media (max-width: 768px) {
  .m-grid-4-col {
    grid-template-columns: repeat(3, 1fr);
  }
}

@media (max-width: 600px) {
  .m-grid-4-col {
    grid-template-columns: repeat(2, 1fr);
  }
}


.m-grid-3-col {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 20px;
}

@media (max-width: 768px) {
  .m-grid-3-col {
    grid-template-columns: repeat(2, 1fr);
  }
}

@media (max-width: 600px) {
  .m-grid-3-col {
    grid-template-columns: repeat(1, 1fr);
  }
}

.m-grid-2-col {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 20px;
}

@media (max-width: 600px) {
  .m-grid-2-col {
    grid-template-columns: repeat(1, 1fr);
  }
}

/* 紙テクスチャ背景（クリーム） */
.m-tex-bg {
  background-image: url(../img/common/tex-bg.webp);
  background-repeat: repeat;
  background-size: 500px auto;
}

/* 角丸アウトラインボタン */
.m-btn a {
  display: inline-flex;
  align-items: center;
  gap: 64px;
  padding: 16px 16px 16px 32px;
  background: var(--white);
  border: 1px solid var(--color-primary);
  border-radius: 40px;
  color: var(--color-primary);
  font-size: 16px;
  font-weight: 700;
  line-height: 1.25;
  transition: 0.4s var(--ease-soft);
}

@media (max-width: 600px) {
  .m-btn a {
    gap: 40px;
    font-size: 14px;
  }
}

.m-btn a:hover {
  background: var(--color-primary);
  color: var(--white);
}

.m-btn a img {
  width: 24px;
  height: 24px;
}

.m-btn a:hover img {
  filter: brightness(0) invert(1);
}

.m-btn--right {
  text-align: right;
}

/* ページ内アンカーリンク（オレンジ丸チェック付き） */
.m-anchor-btn {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-size: 16px;
  font-weight: 700;
  line-height: 1;
  color: var(--color-text);
  transition: 0.4s var(--ease-soft);
}

.m-anchor-btn:hover {
  opacity: 0.7;
}

.m-anchor-btn img {
  width: 14px;
  height: 14px;
}

/* 下層ページFV（クリームテクスチャ＋白曲線） */
.m-page-fv {
  position: relative;
  height: 800px;
  overflow: hidden;
}

@media (max-width: 768px) {
  .m-page-fv {
    display: flex;
    flex-direction: column;
    height: auto;
    padding-top: 136px;
  }
}

.m-page-fv__circle {
  position: absolute;
  top: 535px;
  left: calc(50% + 5px);
  transform: translateX(-50%);
  /* 円を画面幅に比例させ、広い画面でも左右のカーブの丸みを保つ（1440px以下は 4000px 固定を維持） */
  width: max(4000px, 277.8vw);
  height: max(4000px, 277.8vw);
  border-radius: 50%;
  background: var(--white);
  pointer-events: none;
}

@media (max-width: 768px) {
  .m-page-fv__circle {
    top: auto;
    bottom: -3872px;
  }
}

/* SPは4000px固定のままだと375px幅でたわみが約9pxしか出ず、弧がほぼ直線に見える。
   TOP（.top-curve）やお菓子の販売のアーチと同じ直径にして丸みを揃える。
   bottom は「円の上端をFV下端の128px上に置く」= 直径 - 128px（4000px時の3872pxと同じ考え方） */
@media (max-width: 600px) {
  .m-page-fv__circle {
    width: 277.8vw;
    height: 277.8vw;
    bottom: calc(128px - 277.8vw);
  }
}

.m-page-fv__inner {
  position: relative;
  z-index: 2;
  padding-top: 208px;
}

@media (max-width: 768px) {
  .m-page-fv__inner {
    order: 1;
    padding-top: 0;
  }
}

.m-page-fv__anchors {
  display: grid;
  grid-template-columns: repeat(3, auto);
  justify-content: start;
  column-gap: min(2.222vw, 32px);
  row-gap: 24px;
  margin-top: min(4.444vw, 64px);
}

@media (max-width: 600px) {
  .m-page-fv__anchors {
    display: none;
  }
}

/* 下層ページFV：写真背景バリエーション（事業詳細ページ） */
.m-page-fv--photo .m-page-fv__circle {
  top: auto;
  bottom: 0;
  left: 50%;
  width: max(100%, 1440px);
  height: 244px;
  border-radius: 0;
  background: url(../img/common/fv-circle-cream.webp) no-repeat center bottom / 100% 100%;
}

/* SPは画像（1440×244）を高さ100pxへ圧縮すると弧がほぼ直線になる。
   TOP・お菓子の販売・他の下層ページと同じ直径 277.8vw の正円に揃える。
   頂点の位置（FV下端の100px上）は従来どおりのため、bottom は 100px - 直径 で逆算する。
   クリームの紙テクスチャは .m-tex-bg と同じ指定（不透明のため下地の色は不要） */
@media (max-width: 600px) {
  .m-page-fv--photo .m-page-fv__circle {
    width: 277.8vw;
    height: 277.8vw;
    bottom: calc(100px - 277.8vw);
    border-radius: 50%;
    background: url(../img/common/tex-bg.webp) repeat 0 0 / 500px auto;
  }
}

.m-page-fv--photo .section-ttl,
.m-page-fv--photo .m-anchor-btn {
  color: var(--white);
}

/* 下層ページ セクション見出し（英字＋和文・左揃え） */
.m-page-ttl {
  font-family: var(--font-secondary);
  font-size: clamp(24px, 2.222vw, 32px);
  font-weight: 700;
  line-height: 1.5;
  color: var(--color-text);
}

.m-page-ttl span {
  display: block;
  font-size: 16px;
  font-weight: 900;
  line-height: 1.5;
  color: var(--color-primary);
  margin-bottom: 4px;
}

/* 点線区切り（左190pxオレンジ＋残りグレー） */
.m-dot-divider {
  position: relative;
  height: 2px;
  margin-bottom: 32px;
  background: linear-gradient(to right, var(--color-border-light) 3px, transparent 3px) 0 50% / 10px 2px repeat-x;
}

.m-dot-divider::before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  width: 190px;
  height: 2px;
  background: linear-gradient(to right, var(--color-primary) 3px, transparent 3px) 0 50% / 10px 2px repeat-x;
}

/* クリーム背景上の点線区切り（右側が白） */
.m-dot-divider--white {
  background-image: linear-gradient(to right, var(--white) 3px, transparent 3px);
}

/* オレンジの点線枠（角丸対応・SVGで刻みを正確に再現） */
.m-dashed-frame {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  pointer-events: none;
  overflow: visible;
}

.m-dashed-frame rect {
  x: 1px;
  y: 1px;
  width: calc(100% - 2px);
  height: calc(100% - 2px);
  rx: 31px;
  fill: none;
  stroke: var(--color-primary);
  stroke-width: 2;
  stroke-dasharray: 2 8;
  stroke-linecap: round;
}

/* 法人理念カード（オレンジ × 紙テクスチャ） */
.m-philosophy {
  max-width: 850px;
  margin: 0 auto;
  padding: 48px 40px 32px;
  border-radius: 16px;
  /* iOS Safari で background-blend-mode が効かず不透明なテクスチャがオレンジを覆い隠す事象があるため、
     オレンジを焼き込み済みのテクスチャを使う（見た目は multiply と同一）。
     background-color は画像読み込み失敗時のフォールバック */
  background-color: var(--color-secondary);
  background-image: url(../img/common/tex-paper-orange.webp);
  background-size: 500px auto;
}

@media (max-width: 600px) {
  .m-philosophy {
    padding: 32px 16px 24px;
  }
}

.m-philosophy__ttl {
  font-size: clamp(24px, 2.222vw, 32px);
  font-weight: 700;
  line-height: 1.25;
  text-align: center;
  color: var(--white);
}

@media (max-width: 600px) {
  .m-philosophy__ttl {
    font-size: 22px;
    line-height: 1.5;
  }
}

.m-philosophy__list {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 16px;
  margin-top: 32px;
}

@media (max-width: 600px) {
  .m-philosophy__list {
    grid-template-columns: repeat(1, 1fr);
    margin-top: 24px;
  }
}

.m-philosophy__item {
  display: flex;
  align-items: center;
  gap: 16px;
  padding: 16px 16px 16px 24px;
  background: var(--white);
  border-radius: 8px;
}

@media (max-width: 600px) {
  .m-philosophy__item {
    padding: 16px;
  }
}

.m-philosophy__item img {
  width: 92px;
  height: 92px;
  flex-shrink: 0;
}

@media (max-width: 600px) {
  .m-philosophy__item img {
    width: 72px;
    height: 72px;
  }
}

.m-philosophy__item-body {
  flex: 1;
}

.m-philosophy__item-ttl {
  font-size: clamp(20px, 1.667vw, 24px);
  font-weight: 700;
  line-height: 1.33;
  padding-bottom: 4px;
  border-bottom: 1px solid var(--color-border);
}

.m-philosophy__item-text {
  font-size: 16px;
  font-weight: 400;
  line-height: 2;
  margin-top: 4px;
}

/* 利用までの流れ（各サービス下層ページ共通） */
.m-flow {
  margin: 40px 8px 0;
}

@media (max-width: 768px) {
  .m-flow {
    margin: 24px 0 0;
  }
}

.m-flow__item {
  position: relative;
  display: flex;
  gap: 8px;
}

.m-flow__num {
  position: relative;
  z-index: 1;
  display: flex;
  align-items: center;
  justify-content: center;
  width: 50px;
  height: 50px;
  /* 数字が視覚的に下寄りに見えるため、下パディングで光学的中央に補正 */
  padding-bottom: 4px;
  margin-top: 32px;
  flex-shrink: 0;
  border: 2px solid var(--color-primary);
  border-radius: 50%;
  font-family: var(--font-secondary);
  font-size: clamp(20px, 1.667vw, 24px);
  font-weight: 900;
  line-height: 1;
  color: var(--color-primary);
}

@media (max-width: 600px) {
  .m-flow__num {
    width: 40px;
    height: 40px;
    padding-bottom: 2px;
    margin-top: 24px;
    font-size: 18px;
  }
}

/* ステップをつなぐ縦の点線 */
.m-flow__item:not(:last-child)::after {
  content: "";
  position: absolute;
  top: 82px;
  bottom: -32px;
  left: 24px;
  width: 2px;
  background: linear-gradient(to bottom, var(--color-primary) 4px, transparent 4px) 50% 0 / 2px 10px repeat-y;
}

@media (max-width: 600px) {
  .m-flow__item:not(:last-child)::after {
    top: 64px;
    bottom: -24px;
    left: 19px;
  }
}

.m-flow__body {
  flex: 1;
  display: flex;
  gap: 32px;
  padding: 40px 24px 56px 16px;
  border-top: 1px solid var(--white);
}

@media (max-width: 768px) {
  .m-flow__body {
    flex-direction: column;
    gap: 8px;
    padding: 24px 0 32px 16px;
  }
}

.m-flow__item:last-child .m-flow__body {
  border-bottom: 1px solid var(--white);
}

.m-flow__ttl {
  width: 168px;
  flex-shrink: 0;
  font-size: clamp(18px, 1.528vw, 22px);
  font-weight: 700;
  line-height: 1.45;
  color: var(--color-primary);
}

@media (max-width: 768px) {
  .m-flow__ttl {
    width: auto;
  }

  .m-flow__ttl br {
    display: none;
  }
}

.m-flow__text {
  flex: 1;
  font-size: clamp(16px, 1.25vw, 18px);
  font-weight: 400;
  line-height: 1.78;
}

/* 地図ページへ誘導するピル型リンク（住所の横に置く） */
.m-access-btn {
  display: inline-flex;
  align-items: center;
  gap: 16px;
  padding: 12px 24px;
  background: var(--color-secondary);
  border-radius: 50px;
  color: var(--white);
  font-size: 16px;
  font-weight: 700;
  line-height: 1.25;
  transition: 0.4s var(--ease-soft);
}

@media (max-width: 600px) {
  .m-access-btn {
    gap: 8px;
    padding: 8px 16px;
  }
}

.m-access-btn:hover {
  opacity: 0.85;
}

.m-access-btn img {
  width: 24px;
  height: 24px;
}

@media (max-width: 600px) {
  .m-access-btn img {
    width: 20px;
    height: 20px;
  }
}

/* 絶対配置の装飾イラスト（座標・サイズ・重なり順は各ページCSSで指定） */
.m-deco {
  position: absolute;
  pointer-events: none;
}

.m-deco img {
  width: 100%;
  height: auto;
}

/* 下層ページFV：写真背景（下へ向かって暗くなるグラデーションを重ねる） */
.m-page-fv__bg {
  position: absolute;
  inset: 0;
  z-index: 0;
}

.m-page-fv__bg::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, rgba(170, 170, 170, 0) 0%, rgba(85, 85, 85, 0.5) 30%, rgba(0, 0, 0, 1) 100%);
  opacity: 0.5;
}

.m-page-fv__bg img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

/* SPは人物が寄っている右側を残す（見せたい位置が違うページは個別に上書き） */
@media (max-width: 768px) {
  .m-page-fv__bg img {
    object-position: 70% center;
  }
}

/* 本文リード文 */
.m-lead {
  margin-top: min(2.778vw, 40px);
  font-size: clamp(16px, 1.25vw, 18px);
  font-weight: 400;
  line-height: 1.78;
}

@media (max-width: 768px) {
  .m-lead {
    margin-top: 24px;
  }
}

/* 続けて置かれた導入文・注記は1文のかたまりとして詰める */
.m-lead+.m-lead {
  margin-top: 8px;
}

/* 見出しから距離を取るリード文 */
.m-lead--wide {
  margin-top: min(4.444vw, 64px);
}

@media (max-width: 768px) {
  .m-lead--wide {
    margin-top: 24px;
  }
}

/* 全幅写真バンド */
.m-band {
  position: relative;
  height: 560px;
}

@media (max-width: 768px) {
  .m-band {
    height: 320px;
  }
}

@media (max-width: 600px) {
  .m-band {
    height: 240px;
  }
}

.m-band>img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

/* 定義テーブル（法人概要・募集要項・一日の流れ など） */
.m-def-table {
  width: 100%;
  border-collapse: collapse;
}

.m-def-table tr {
  border-top: 1px solid var(--color-border);
}

.m-def-table tr:last-child {
  border-bottom: 1px solid var(--color-border);
}

.m-def-table th {
  width: 184px;
  padding: 32px 40px 32px 24px;
  font-size: clamp(16px, 1.25vw, 18px);
  font-weight: 500;
  line-height: 1.78;
  color: var(--color-primary);
  text-align: left;
  vertical-align: top;
  white-space: nowrap;
}

@media (max-width: 600px) {
  .m-def-table th {
    width: 96px;
    padding: 16px 8px;
  }
}

.m-def-table td {
  padding: 32px 40px;
  font-size: clamp(16px, 1.25vw, 18px);
  font-weight: 500;
  line-height: 1.78;
}

@media (max-width: 600px) {
  .m-def-table td {
    padding: 16px 0 16px 8px;
  }
}

.m-def-table td a {
  color: inherit;
}

.m-def-table td strong {
  font-weight: 700;
}

.m-def-table td p+p {
  margin-top: 16px;
}

/* クリーム背景に置く場合の罫線 */
.m-def-table--white tr {
  border-top-color: var(--white);
}

.m-def-table--white tr:last-child {
  border-bottom-color: var(--white);
}

/* 項目名が長く横並びに収まらない表（募集要項など）はSPで縦積みにする */
@media (max-width: 600px) {
  .m-def-table--stack th {
    display: block;
    width: auto;
    padding: 16px 0 0;
  }

  .m-def-table--stack td {
    display: block;
    padding: 8px 0 16px;
  }
}

/* 見出し・本文とも情報量が少ない表（施設概要など）は行間を詰める */
.m-def-table--compact th {
  width: 110px;
  padding: 24px 16px;
}

@media (max-width: 600px) {
  .m-def-table--compact th {
    width: 88px;
    padding: 16px 8px;
  }
}

.m-def-table--compact td {
  padding: 24px 16px;
  font-weight: 400;
}

@media (max-width: 600px) {
  .m-def-table--compact td {
    padding: 16px 8px;
  }
}

/* ========================================
    ヘッダー
    ======================================== */
.header {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  z-index: 1000;
  padding: 20px 0;
}

.header__inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  width: min(1119px, calc(100% - 40px));
  min-height: 68px;
  margin: 0 auto;
  padding: 10px 12px 10px 40px;
  background: var(--white);
  border-radius: 100px;
  box-shadow: 0 2px 4px 0 rgba(0, 0, 0, 0.08);
}

@media (max-width: 600px) {
  .header__inner {
    padding: 8px 16px 8px 24px;
    min-height: 56px;
  }
}

.header__logo a {
  display: block;
  text-align: center;
  color: var(--color-text);
  transition: 0.4s var(--ease-soft);
}

.header__logo a:hover {
  opacity: 0.7;
}

.header__logo-sub {
  display: block;
  font-size: 12px;
  font-weight: 400;
  line-height: 1.3;
}

@media (max-width: 600px) {
  .header__logo-sub {
    font-size: 10px;
  }
}

.header__logo-main {
  display: block;
  font-size: 24px;
  font-weight: 700;
  line-height: 1.2;
}

@media (max-width: 600px) {
  .header__logo-main {
    font-size: 20px;
  }
}

.pc-nav {
  display: block;
}

@media (max-width: 1080px) {
  .pc-nav {
    display: none;
  }
}

.header__nav-list {
  display: flex;
  align-items: center;
  gap: 32px;
  list-style: none;
}

.header__nav-item a {
  display: flex;
  align-items: center;
  gap: 4px;
  color: var(--color-text);
  font-size: clamp(16px, 1.25vw, 18px);
  font-weight: 700;
  line-height: 1.11;
  transition: 0.4s var(--ease-soft);
}

.header__nav-item a:hover {
  color: var(--color-primary);
}

.header__nav-chevron {
  width: 16px;
  height: 16px;
  background: url(../img/common/icon-chevron-down.svg) no-repeat center / contain;
  transition: 0.4s var(--ease-soft);
}

.header__nav-item--has-child:hover .header__nav-chevron,
.header__nav-item--has-child:focus-within .header__nav-chevron {
  transform: rotate(180deg);
}

/* ========================================
    メガメニュー（私たちについて / 事業内容）
    ======================================== */
.header__nav-item--has-child {
  position: relative;
}

.mega-menu {
  position: absolute;
  top: 100%;
  left: 50%;
  width: max-content;
  padding-top: 24px;
  opacity: 0;
  visibility: hidden;
  transform: translateX(-50%) translateY(8px);
  transition: 0.4s var(--ease-soft);
  z-index: 1001;
}

.header__nav-item--has-child:hover .mega-menu,
.header__nav-item--has-child:focus-within .mega-menu {
  opacity: 1;
  visibility: visible;
  transform: translateX(-50%) translateY(0);
}

.mega-menu__inner {
  padding: 40px 56px;
  background: var(--white);
  border-radius: 32px;
  box-shadow: 0 8px 24px 0 rgba(0, 0, 0, 0.1);
}

.mega-menu__list {
  display: grid;
  gap: 32px 50px;
  list-style: none;
}

.mega-menu__list--service {
  grid-template-columns: 173px 173px;
}

.mega-menu__item {
  border-bottom: 1px dashed var(--color-border-light);
}

.mega-menu__link {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 8px 0;
  color: var(--color-text);
  font-family: var(--font-primary);
  font-size: 18px;
  font-weight: 700;
  line-height: 1;
  white-space: nowrap;
  transition: 0.4s var(--ease-soft);
}

.mega-menu__link:hover {
  color: var(--color-primary);
}

.mega-menu__link:hover::after {
  border-color: var(--color-primary);
}

/* 矢印（CSS border で実装） */
.mega-menu__link::after {
  content: "";
  flex-shrink: 0;
  width: 7px;
  height: 7px;
  border-top: 2px solid var(--color-text);
  border-right: 2px solid var(--color-text);
  transform: rotate(45deg);
  transition: 0.4s var(--ease-soft);
}

/* PCナビ非表示時はハンバーガー側に寄せる */
@media (max-width: 1080px) {
  .header__contact {
    margin-left: auto;
  }
}

.header__contact-btn {
  display: inline-flex;
  align-items: center;
  gap: 16px;
  padding: 12px 24px;
  background: var(--color-secondary);
  border-radius: 50px;
  color: var(--white);
  font-size: 16px;
  font-weight: 700;
  line-height: 1.25;
  transition: 0.4s var(--ease-soft);
}

@media (max-width: 600px) {
  .header__contact-btn {
    gap: 4px;
    padding: 8px 16px;
    font-size: 12px;
  }
}

@media (max-width: 400px) {
  .header__contact-btn {
    font-size: 9px;
  }
}

.header__contact-btn:hover {
  background: #ffc769;
}

.header__contact-btn img {
  width: 24px;
  height: 24px;
}

@media (max-width: 600px) {
  .header__contact-btn img {
    width: 16px;
    height: 16px;
  }
}

/* ========================================
    ナビゲーションドロワー
    ======================================== */
.sp-hamburger {
  display: none;
  flex-direction: column;
  justify-content: space-around;
  width: 30px;
  height: 30px;
  margin-left: 16px;
  background: transparent;
  border: none;
  cursor: pointer;
  padding: 0;
}

@media (max-width: 1080px) {
  .sp-hamburger {
    display: flex;
  }
}

.sp-hamburger__line {
  width: 100%;
  height: 3px;
  border-radius: 3px;
  background: var(--color-primary);
  transition: all 0.4s var(--ease-soft);
}

.sp-hamburger.is-active .sp-hamburger__line:nth-child(1) {
  transform: translateY(10px) rotate(45deg);
}

.sp-hamburger.is-active .sp-hamburger__line:nth-child(2) {
  opacity: 0;
}

.sp-hamburger.is-active .sp-hamburger__line:nth-child(3) {
  transform: translateY(-10px) rotate(-45deg);
}

.sp-nav {
  display: none;
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100vh;
  padding-top: 108px;
  background: var(--color-bg-cream);
  overflow-y: auto;
  transform: translateX(-100%);
  transition: transform 0.4s var(--ease-soft);
  z-index: -1;
}

@media (max-width: 1080px) {
  .sp-nav {
    display: block;
  }
}

.sp-nav.is-open {
  transform: translateX(0);
}

.sp-nav__list {
  list-style: none;
  padding: 24px;
}

.sp-nav__item {
  border-bottom: 1px solid rgba(64, 46, 50, 0.2);
}

.sp-nav__item a {
  display: block;
  padding: 16px 0;
  color: var(--color-text);
  font-size: 16px;
  font-weight: 700;
}

/* 子メニューを持つ項目（PCのメガメニューをSPではアコーディオンで表示） */
.sp-nav__head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
}

.sp-nav__head a {
  flex: 1;
}

/* ＋／− アイコン（CSSで実装） */
.sp-nav__toggle {
  position: relative;
  width: 40px;
  height: 40px;
  flex-shrink: 0;
  padding: 0;
  border: none;
  background: transparent;
  cursor: pointer;
}

.sp-nav__toggle::before,
.sp-nav__toggle::after {
  content: "";
  position: absolute;
  top: 50%;
  left: 50%;
  width: 16px;
  height: 2px;
  border-radius: 2px;
  background: var(--color-primary);
  transform: translate(-50%, -50%);
  transition: 0.3s;
}

/* 縦棒を90度回して＋に、開いたら0度に戻して−にする */
.sp-nav__toggle::after {
  transform: translate(-50%, -50%) rotate(90deg);
}

.sp-nav__item.is-open .sp-nav__toggle::after {
  transform: translate(-50%, -50%) rotate(0deg);
}

.sp-nav__sub {
  list-style: none;
  max-height: 0;
  overflow: hidden;
  transition: max-height 0.3s var(--ease-soft);
}

.sp-nav__sub-item {
  border-top: 1px solid rgba(64, 46, 50, 0.2);
}

.sp-nav__sub-item a {
  padding: 12px 0 12px 16px;
  font-size: 15px;
  font-weight: 500;
}

/* ========================================
    メインビジュアル
    ======================================== */
.top-fv {
  /* サイドカードをFV写真と同じ倍率で拡縮させるための基準幅（デザイン基準 1440px） */
  --fv-base: clamp(1080px, 100vw, 1920px);
  position: relative;
  overflow: hidden;
}

/* 1080px以下はサイドが静的配置になるためデザイン実寸（1440基準）に固定 */
@media (max-width: 1080px) {
  .top-fv {
    --fv-base: 1440px;
  }
}

.top-fv__photo {
  position: relative;
  width: 81.6%;
  margin-top: 112px;
  border-radius: 0 80px 0 0;
  overflow: hidden;
}

@media (max-width: 1080px) {
  .top-fv__photo {
    width: 100%;
    margin-top: 96px;
    border-radius: 0;
  }
}

.top-fv__slider {
  width: 100%;
}

.top-fv__photo img {
  display: block;
  width: 100%;
  height: auto;
  aspect-ratio: 1175 / 614;
  object-fit: cover;
}

@media (max-width: 600px) {
  .top-fv__photo img {
    aspect-ratio: 3 / 4;
  }
}

/* カンプのにじみ装飾（円錐グラデ＋ぼかし）。PC写真は加工が焼き込み済みのためSPのみ表示 */
.top-fv__glow {
  display: none;
  position: absolute;
  z-index: 1;
  aspect-ratio: 1;
  background: conic-gradient(rgba(178, 249, 250, 1) 0%, rgba(252, 214, 255, 1) 26%, rgba(255, 208, 208, 1) 58%, rgba(252, 255, 199, 1) 100%);
  border-radius: 50%;
  filter: blur(30px);
  mix-blend-mode: lighten;
  pointer-events: none;
}

@media (max-width: 600px) {
  .top-fv__glow {
    display: block;
  }
}

.top-fv__glow--1 {
  top: -4vw;
  left: 76.533vw;
  width: 68.267vw;
  opacity: 0.55;
}

.top-fv__glow--2 {
  top: 39.467vw;
  left: -10.133vw;
  width: 32.533vw;
  opacity: 0.8;
}

.top-fv__glow--3 {
  top: 95.2vw;
  left: 36.267vw;
  width: 24.267vw;
  opacity: 0.55;
}

.top-fv__copy {
  position: absolute;
  z-index: 2;
  top: 53px;
  left: 8.7%;
  display: flex;
  flex-direction: row-reverse;
  align-items: flex-start;
}

@media (max-width: 600px) {
  .top-fv__copy {
    top: 8.533vw;
    left: 5.333vw;
  }
}

.top-fv__copy p {
  writing-mode: vertical-rl;
  position: relative;
  padding: 0 12px;
  margin-left: 8px;
  color: var(--white);
  font-family: var(--font-secondary);
  font-weight: 700;
  text-shadow: 0 0 10px rgba(0, 0, 0, 0.45);
}

@media (max-width: 600px) {
  .top-fv__copy p {
    padding: 0 8px;
    margin-left: 4px;
  }
}

.top-fv__copy p::after {
  content: "";
  position: absolute;
  top: 0;
  right: 0;
  width: 3px;
  height: 100%;
  /* 横3px × 縦4px の楕円ドットを 17px 間隔で縦に繰り返す */
  background: radial-gradient(1.5px 2px at 50% 2px, var(--color-primary) 0 65%, transparent 100%) 0 0 / 3px 17px repeat-y;
}

.top-fv__copy-main {
  font-size: clamp(36px, 4.444vw, 64px);
  line-height: 1.19;
  letter-spacing: 0.3em;
}

/* SPカンプ実寸: 44px / 1文字あたりの送り 52px（= 44 + 8） */
@media (max-width: 600px) {
  .top-fv__copy-main {
    padding: 0 12px;
    font-size: 11.733vw;
    letter-spacing: 0.182em;
  }
}

/* 「支えあう」右側（最右端）の点線は不要 */
.top-fv__copy-main::after {
  display: none;
}

.top-fv__copy-sub {
  font-size: clamp(20px, 1.944vw, 28px);
  line-height: 1.29;
  letter-spacing: 0.3em;
}

/* SPカンプ実寸: 20px / 1文字あたりの送り 24px（= 20 + 4） */
@media (max-width: 600px) {
  .top-fv__copy-sub {
    font-size: 5.333vw;
    letter-spacing: 0.2em;
  }
}

.top-fv__tree {
  position: absolute;
  /* 装飾要素のためサイドカードのクリックを妨げない */
  pointer-events: none;
}

.top-fv__tree--1 {
  left: 3%;
  top: 60px;
  /* 右下の木（--2）と同じく画面幅に応じて可変（1440基準 180px）。
     キャッチコピーは上端固定・左端のみ可変のため、広い画面では 210px で頭打ちにして鳥と文字の重なりを防ぐ */
  width: min(calc(var(--fv-base) * 180 / 1440), 210px);
  z-index: 2;
}

/* 1080px以下は --fv-base が 1440px 固定になるため、木だけは vw 基準で縮小を継続させる
   （1080px 時点で 180px となり PC 側と連続する） */
@media (max-width: 1080px) {
  .top-fv__tree--1 {
    width: 16.667vw;
  }
}

@media (max-width: 600px) {
  .top-fv__tree--1 {
    top: 86px;
    right: 16px;
    left: auto;
    width: 77px;
  }
}

.top-fv__tree--2 {
  left: 67.3%;
  /* 112px はヘッダー分の写真オフセット（固定）。残り 444px を写真と同倍率で拡縮 */
  top: calc(112px + var(--fv-base) * 444 / 1440);
  width: calc(var(--fv-base) * 78 / 1440);
  z-index: 4;
}

@media (max-width: 1080px) {
  .top-fv__tree--2 {
    display: none;
  }
}

/* SPカンプ: 写真（上端96px / 高さ133.333vw）の下寄り左に配置 */
@media (max-width: 600px) {
  .top-fv__tree--2 {
    display: block;
    top: calc(96px + 115.2vw);
    left: 6.933vw;
    width: 9.6vw;
  }
}

.top-fv__side {
  position: absolute;
  /* 112px はヘッダー分の写真オフセット（固定）。残り 89px を写真と同倍率で拡縮 */
  top: calc(112px + var(--fv-base) * 89 / 1440);
  right: 4.5%;
  width: calc(var(--fv-base) * 352 / 1440);
  z-index: 3;
}

@media (max-width: 1080px) {
  .top-fv__side {
    /* 静的配置に戻すが z-index を効かせるため relative（オフセットなし＝staticと同じ位置） */
    position: relative;
    top: auto;
    right: auto;
    width: 100%;
    max-width: 480px;
    margin: 32px auto 0;
    padding: 0 16px;
  }
}

/* SPカンプ: カード上端を写真下端より 21px（5.6vw）上に重ねる */
@media (max-width: 600px) {
  .top-fv__side {
    margin-top: -5.6vw;
    padding: 0 16px;
  }
}

.top-fv__cards {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: calc(var(--fv-base) * 16 / 1440);
  list-style: none;
}

.fv-card__link {
  position: relative;
  display: flex;
  flex-direction: column;
  align-items: center;
  height: 100%;
  padding: calc(var(--fv-base) * 40 / 1440) calc(var(--fv-base) * 8 / 1440) calc(var(--fv-base) * 16 / 1440);
  background: rgba(255, 255, 255, 0.94);
  border-radius: calc(var(--fv-base) * 18 / 1440);
  box-shadow: 0 2px 6px 0 rgba(0, 0, 0, 0.11);
  transition: 0.4s var(--ease-soft);
}

@media (max-width: 600px) {
  .fv-card__link {
    padding: 24px 8px 16px;
  }
}

.fv-card__link:hover {
  opacity: 0.8;
}

.fv-card__circle {
  display: flex;
  align-items: center;
  justify-content: center;
  width: calc(var(--fv-base) * 96 / 1440);
  height: calc(var(--fv-base) * 96 / 1440);
  border-radius: 50%;
}

@media (max-width: 600px) {
  .fv-card__circle {
    width: 96px;
    height: 96px;
  }
}

.fv-card__circle img {
  width: calc(var(--fv-base) * 60 / 1440);
  height: auto;
}

@media (max-width: 600px) {
  .fv-card__circle img {
    width: 60px;
  }
}

.fv-card__circle--care {
  background: #ea999f;
}

.fv-card__circle--work {
  background: #8cc1e6;
}

.fv-card__circle--home {
  background: #cfb0e9;
}

.fv-card__circle--stay {
  background: #c9df8a;
}

.fv-card__ttl {
  display: inline-flex;
  align-items: center;
  gap: calc(var(--fv-base) * 4 / 1440);
  margin-top: calc(var(--fv-base) * 16 / 1440);
  color: var(--color-text);
  font-size: calc(var(--fv-base) * 16 / 1440);
  font-weight: 700;
  line-height: 1.5;
  white-space: nowrap;
}

/* SPカンプ実寸: 16px / 行間32px。狭い端末で「就労継続支援B型」が溢れないよう clamp で縮小 */
@media (max-width: 600px) {
  .fv-card__ttl {
    margin-top: 0;
    font-size: clamp(12px, 4.2vw, 16px);
    line-height: 2;
  }
}

.fv-card__arrow {
  display: inline-flex;
}

.fv-card__arrow img {
  width: calc(var(--fv-base) * 11 / 1440);
  height: calc(var(--fv-base) * 11 / 1440);
}

.top-fv__recruit-btn {
  margin: calc(var(--fv-base) * 24 / 1440) calc(var(--fv-base) * 32 / 1440) 0;
}

.top-fv__recruit-btn a {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: calc(var(--fv-base) * 4 / 1440);
  padding: calc(var(--fv-base) * 16 / 1440) 0;
  background: radial-gradient(88.13% 136.25% at 91.88% -19.96%, #f8bea2 0%, #f07071 100%);
  border-radius: calc(var(--fv-base) * 35 / 1440);
  box-shadow: 0 2px 10px 0 rgba(0, 0, 0, 0.11);
  color: var(--white);
  font-size: calc(var(--fv-base) * 16 / 1440);
  font-weight: 700;
  line-height: 1.25;
  transition: 0.4s var(--ease-soft);
}

.top-fv__recruit-btn a:hover {
  opacity: 0.8;
}

.top-fv__recruit-btn a img {
  width: calc(var(--fv-base) * 11 / 1440);
  height: calc(var(--fv-base) * 11 / 1440);
}

.top-fv__town {
  position: relative;
  z-index: 2;
  width: 100%;
  max-width: none;
  /* イラスト内の緑のライン（原寸 y=188 / 全高 310px）を写真の下端に合わせる: 178px * 188 / 310 = 108px */
  margin-top: -108px;
  overflow: hidden;
  -webkit-mask-image: linear-gradient(to right, transparent 0, #000 96px, #000 calc(100% - 96px), transparent 100%);
  mask-image: linear-gradient(to right, transparent 0, #000 96px, #000 calc(100% - 96px), transparent 100%);
}

@media (max-width: 1080px) {
  .top-fv__town {
    margin-top: 56px;
  }
}

@media (max-width: 600px) {
  .top-fv__town {
    -webkit-mask-image: linear-gradient(to right, transparent 0, #000 40px, #000 calc(100% - 40px), transparent 100%);
    mask-image: linear-gradient(to right, transparent 0, #000 40px, #000 calc(100% - 40px), transparent 100%);
  }
}

/* 3セット並べたトラックを1セット分（1/3）動かして無限ループ */
.top-fv__town-track {
  display: flex;
  width: max-content;
  animation: town-loop 70s linear infinite;
}

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

.top-fv__town-group {
  display: flex;
  flex: none;
}

.top-fv__town img {
  display: block;
  flex: none;
  width: auto;
  height: 178px;
}

@media (max-width: 1080px) {
  .top-fv__town img {
    height: 128px;
  }
}

@keyframes town-loop {
  from {
    transform: translateX(-33.3333%);
  }

  to {
    transform: translateX(0);
  }
}

/* ========================================
    トップページ
    ========================================
*/
/* 私たちについて */
.top-about {
  padding: 160px 0 150px;
}

@media (max-width: 768px) {
  .top-about {
    padding: 80px 0;
  }
}

.top-about__inner {
  display: flex;
  align-items: center;
  gap: 10px;
}

@media (max-width: 768px) {
  .top-about__inner {
    flex-direction: column;
    gap: 40px;
  }
}

.top-about__img {
  flex: none;
  width: 61.3%;
  margin-left: -3.8%;
}

@media (max-width: 768px) {
  .top-about__img {
    width: 100%;
    max-width: 480px;
    margin-left: 0;
  }
}

.top-about__body {
  flex: 1;
}

.top-about__ttl {
  font-family: var(--font-secondary);
  font-size: clamp(20px, 1.806vw, 26px);
  font-weight: 700;
  line-height: 1.31;
}

.top-about__text {
  margin-top: 32px;
  font-size: clamp(16px, 1.25vw, 18px);
  font-weight: 500;
  line-height: 1.78;
}

.top-about__btn {
  margin-top: 64px;
}

@media (max-width: 768px) {
  .top-about__btn {
    margin-top: 40px;
  }
}

/* 白い円弧の切り替え */
.top-curve {
  position: relative;
  height: 9.31vw;
  overflow: hidden;
}

.top-curve::before {
  content: "";
  position: absolute;
  top: 0;
  left: 50%;
  transform: translateX(-50%);
  width: 277.8vw;
  height: 277.8vw;
  border-radius: 50%;
  background: var(--white);
}

/* 事業内容 */
.top-service {
  position: relative;
  background: var(--white);
  padding: 32px 0 184px;
}

@media (max-width: 768px) {
  .top-service {
    padding: 16px 0 120px;
  }
}

/* SPは右下イラストの分だけ下余白を確保 */
@media (max-width: 600px) {
  .top-service {
    padding-bottom: 216px;
  }
}

.top-service__deco {
  position: absolute;
  inset: 0;
  pointer-events: none;
}

.top-service__blob {
  position: absolute;
}

@media (max-width: 1080px) {
  .top-service__blob {
    display: none;
  }
}

.top-service__blob--1 {
  left: calc(50% - 662px);
  top: 170px;
  width: 396px;
}

.top-service__blob--2 {
  left: calc(50% + 332px);
  top: 278px;
  width: 330px;
}

.top-service__blob--3 {
  left: calc(50% - 261px);
  top: 832px;
  width: 271px;
}

.top-service__blob--4 {
  left: calc(50% + 357px);
  top: 1071px;
  width: 308px;
}

.top-service__illust {
  position: absolute;
  left: calc(50% + 134px);
  top: 1588px;
  width: 507px;
}

@media (max-width: 1080px) {
  .top-service__illust {
    display: none;
  }
}

@media (max-width: 600px) {
  .top-service__illust {
    display: block;
    left: auto;
    top: auto;
    right: 16px;
    bottom: 24px;
    width: 180px;
  }
}

.top-service__inner {
  position: relative;
}

.top-service__list {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  column-gap: min(5.556vw, 80px);
  row-gap: min(3.889vw, 56px);
  margin-top: min(8.333vw, 120px);
  list-style: none;
}

@media (max-width: 768px) {
  .top-service__list {
    grid-template-columns: repeat(1, 1fr);
    row-gap: 56px;
    margin-top: 56px;
  }
}

.service-card__media {
  position: relative;
  margin-bottom: 44px;
}

.service-card__media-link {
  display: block;
  width: 97.2%;
  margin-left: 2.8%;
  border-radius: 40px;
  overflow: hidden;
}

@media (max-width: 600px) {
  .service-card__media-link {
    border-radius: 24px;
  }
}

/* クリック範囲をservice-card__media全体に拡張（stretched-link） */
.service-card__media-link::after {
  content: "";
  position: absolute;
  inset: 0;
}

.service-card__media-link>img {
  display: block;
  width: 100%;
  aspect-ratio: 13 / 10;
  object-fit: cover;
  transition: transform 0.8s var(--ease-soft);
}

.service-card__media:hover .service-card__media-link>img {
  transform: scale(1.05);
}

.service-card__corner {
  position: absolute;
  width: 100px;
}

@media (max-width: 600px) {
  .service-card__corner {
    width: 64px;
  }
}

.service-card__corner img {
  display: block;
  width: 100%;
  aspect-ratio: 1;
}

.service-card__corner--tr {
  top: 20px;
  right: 20px;
}

.service-card__corner--bl {
  left: 35px;
  bottom: 20px;
}

.service-card__head {
  position: absolute;
  left: 0;
  bottom: -20px;
  z-index: 2;
}

.service-card__ttl-box {
  display: inline-flex;
  background: var(--white);
  padding: 20px 20px 20px 0;
  border-radius: 0 20px 0 0;
}

.service-card__ttl {
  display: inline-flex;
  align-items: center;
  gap: 20px;
  color: var(--color-primary);
  font-family: var(--font-secondary);
  font-size: clamp(20px, 1.806vw, 26px);
  font-weight: 700;
  line-height: 1;
  transition: 0.4s var(--ease-soft);
}

.service-card__arrow {
  display: inline-flex;
  transition: transform 0.4s var(--ease-soft);
}

.service-card__media:hover .service-card__arrow,
.service-card__head:hover .service-card__arrow {
  transform: translateX(6px);
}

.service-card__arrow img {
  width: 22px;
  height: 22px;
}

.service-card__en {
  margin-top: -8px;
  color: var(--color-muted);
  font-family: var(--font-secondary);
  font-size: 14px;
  font-weight: 700;
  line-height: 1.43;
}

.service-card__text {
  font-size: clamp(16px, 1.25vw, 18px);
  font-weight: 500;
  line-height: 1.78;
}

.service-card--no-photo .service-card__head {
  position: static;
}

/* タイトル＋英字をまとめてリンク化 */
.service-card__head-link {
  display: inline-block;
}

.service-card--no-photo .service-card__text {
  margin-top: 24px;
}

/* 波の区切り */
.top-wave {
  background: var(--white);
}

.top-wave img {
  display: block;
  width: 100%;
  height: auto;
}

/* 5つの約束 */
.top-promise {
  padding: 264px 0 100px;
}

@media (max-width: 768px) {
  .top-promise {
    padding: 96px 0 80px;
  }
}

.top-promise__inner {
  display: flex;
  align-items: flex-start;
  gap: min(5vw, 72px);
}

@media (max-width: 768px) {
  .top-promise__inner {
    flex-direction: column;
    align-items: stretch;
    gap: 40px;
  }
}

.top-promise__intro {
  position: sticky;
  top: 128px;
  align-self: flex-start;
  flex: none;
  width: 29.8%;
}

@media (max-width: 768px) {
  .top-promise__intro {
    position: static;
    width: 100%;
  }
}

.top-promise__ttl {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 8px;
}

.top-promise__ttl-sub {
  display: inline-block;
  font-family: var(--font-secondary);
  font-size: clamp(20px, 1.806vw, 26px);
  font-weight: 700;
  line-height: 1;
  padding-bottom: 9px;
  border-bottom: 2px dashed var(--color-text);
}

.top-promise__ttl-main {
  display: inline-block;
  font-family: var(--font-secondary);
  font-size: clamp(30px, 3.333vw, 48px);
  font-weight: 700;
  line-height: 1.42;
  border-bottom: 2px dashed var(--color-text);
}

.top-promise__text {
  margin-top: 40px;
  font-size: clamp(16px, 1.25vw, 18px);
  font-weight: 500;
  line-height: 1.78;
}

@media (max-width: 768px) {
  .top-promise__text {
    margin-top: 24px;
  }
}

.top-promise__btn {
  margin-top: min(8.333vw, 120px);
}

@media (max-width: 768px) {
  .top-promise__btn {
    margin-top: 40px;
  }
}

.top-promise__cards {
  flex: 1;
  min-width: 0;
  display: flex;
  flex-direction: column;
  gap: 40px;
}

@media (max-width: 600px) {
  .top-promise__cards {
    gap: 24px;
  }
}

/* スクロールに応じてカードが重なっていくスタック式（sticky） */
.top-promise__card {
  position: sticky;
  top: 128px;
  width: 100%;
  background: var(--white);
  border: 1px solid var(--color-bg-pale);
  border-radius: 40px;
  padding: 24px 40px 40px;
}

@media (max-width: 600px) {
  .top-promise__card {
    top: 112px;
    border-radius: 24px;
    padding: 24px 24px 32px;
  }
}

/* カードごとに固定位置を少しずつ下げ、重なった各カードの上端を覗かせる（PC 24px / SP 18px ずつ） */
.top-promise__card:nth-child(2) {
  top: 152px;
}

@media (max-width: 600px) {
  .top-promise__card:nth-child(2) {
    top: 130px;
  }
}

.top-promise__card:nth-child(3) {
  top: 176px;
}

@media (max-width: 600px) {
  .top-promise__card:nth-child(3) {
    top: 148px;
  }
}

.top-promise__card:nth-child(4) {
  top: 200px;
}

@media (max-width: 600px) {
  .top-promise__card:nth-child(4) {
    top: 166px;
  }
}

.top-promise__card:nth-child(5) {
  top: 224px;
}

/* SP は最後のカードのみ1枚目と同じ位置に戻し、ぴったり重ねる */
@media (max-width: 600px) {
  .top-promise__card:nth-child(5) {
    top: 112px;
  }
}

.top-promise__card-head {
  display: flex;
  align-items: center;
  gap: 40px;
}

@media (max-width: 600px) {
  .top-promise__card-head {
    gap: 24px;
  }
}

.top-promise__num {
  color: var(--color-primary);
  font-family: var(--font-secondary);
  font-size: clamp(32px, 3.889vw, 56px);
  font-weight: 700;
  line-height: 1.14;
}

.top-promise__lead {
  font-family: var(--font-secondary);
  font-size: clamp(20px, 1.806vw, 26px);
  font-weight: 700;
  line-height: 1;
}

.top-promise__illust {
  display: block;
  width: 70%;
  max-width: 321px;
  margin: 16px auto 0;
}

.top-promise__msg {
  display: flex;
  justify-content: space-between;
  align-items: baseline;
  flex-wrap: wrap;
  gap: 8px 12px;
  margin-top: 24px;
}

/* SP は文言の行数差でカード高さがずれ、重なった時に下のカードが上下にはみ出すため高さを揃える */
@media (max-width: 600px) {
  .top-promise__msg {
    min-height: 88px;
  }
}

.top-promise__msg-strong {
  font-family: var(--font-secondary);
  font-size: clamp(28px, 2.778vw, 40px);
  font-weight: 700;
  line-height: 1;
}

/* 長い約束文はデザインどおり字サイズを縮小して1行に収める */
.top-promise__msg-strong--md {
  font-size: clamp(24px, 2.5vw, 36px);
}

.top-promise__msg-strong--sm {
  font-size: clamp(22px, 2.083vw, 30px);
}

.top-promise__msg-normal {
  font-family: var(--font-secondary);
  font-size: clamp(20px, 1.667vw, 24px);
  font-weight: 700;
  line-height: 1;
}

/* 手づくり焼き菓子の販売 */
.top-sweets {
  background: var(--white);
  padding-top: 200px;
}

@media (max-width: 768px) {
  .top-sweets {
    padding-top: 64px;
  }
}

.top-sweets__card {
  position: relative;
  display: block;
  border-radius: 40px;
  box-shadow: 0 2px 10px 0 rgba(0, 0, 0, 0.11);
  overflow: hidden;
  transition: 0.4s var(--ease-soft);
}

@media (max-width: 600px) {
  .top-sweets__card {
    border-radius: 0;
  }
}

.top-sweets__card:hover {
  opacity: 0.85;
}

/* PC: 背景写真と文字を同サイズで重ね、ホバーで背景だけ拡大 */
.top-sweets__bg {
  display: block;
}

.top-sweets__bg img {
  display: block;
  width: 100%;
  aspect-ratio: 1152 / 341;
  object-fit: cover;
  transition: transform 0.8s var(--ease-soft);
}

.top-sweets__card:hover .top-sweets__bg img {
  transform: scale(1.05);
}

.top-sweets__text {
  position: absolute;
  z-index: 2;
  inset: 0;
  display: block;
  pointer-events: none;
}

.top-sweets__text img {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: cover;
}

/* SP: 1枚画像（従来どおり） */
.top-sweets__sp {
  display: none;
}

@media (max-width: 600px) {

  .top-sweets__bg,
  .top-sweets__text {
    display: none;
  }

  .top-sweets__sp {
    display: block;
  }

  .top-sweets__sp img {
    display: block;
    width: 100%;
    height: auto;
  }
}

.top-sweets__corner {
  position: absolute;
  z-index: 2;
  width: 100px;
}

@media (max-width: 600px) {
  .top-sweets__corner {
    width: 64px;
  }
}

.top-sweets__corner--tr {
  top: 20px;
  right: 21px;
}

.top-sweets__corner--bl {
  left: 20px;
  bottom: 20px;
}

.top-sweets__balloon {
  position: absolute;
  z-index: 2;
  top: 24.6%;
  left: 50%;
  transform: translateX(-50%);
  padding: 17px 43px;
  background: rgba(255, 255, 255, 0.85);
  border-radius: 48px;
  color: var(--color-secondary);
  font-family: var(--font-secondary);
  font-size: clamp(14px, 1.25vw, 18px);
  font-weight: 500;
  line-height: 1.11;
  white-space: nowrap;
}

@media (max-width: 600px) {
  .top-sweets__balloon {
    top: 16%;
    padding: 12px 24px;
  }
}

.top-sweets__balloon::after {
  content: "";
  position: absolute;
  bottom: -9px;
  left: 50%;
  transform: translateX(-50%);
  border-left: 6px solid transparent;
  border-right: 6px solid transparent;
  border-top: 10px solid rgba(255, 255, 255, 0.85);
}

.top-sweets__ttl {
  position: absolute;
  z-index: 2;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -40%);
  padding-bottom: 13px;
  border-bottom: 2px solid var(--color-text);
  color: var(--color-text);
  font-family: var(--font-secondary);
  font-size: clamp(24px, 3.333vw, 48px);
  font-weight: 700;
  line-height: 1;
  white-space: nowrap;
}

.top-sweets__tree {
  position: absolute;
  z-index: 2;
}

.top-sweets__tree--1 {
  left: 7.7%;
  top: 52.5%;
  width: 4.5%;
}

.top-sweets__tree--2 {
  left: 6%;
  top: 49%;
  width: 3.5%;
}

.top-sweets__tent {
  position: absolute;
  z-index: 2;
  left: 81.9%;
  top: 15.5%;
  width: 12.4%;
}

/* お知らせ */
.top-news {
  background: var(--white);
  padding: 284px 0 224px;
}

@media (max-width: 768px) {
  .top-news {
    padding: 96px 0 120px;
  }
}

.top-news__head {
  position: relative;
}

.top-news__illust {
  position: absolute;
  right: -40px;
  top: -22px;
  width: 463px;
}

@media (max-width: 1080px) {
  .top-news__illust {
    right: 0;
    width: 320px;
  }
}

@media (max-width: 600px) {
  .top-news__illust {
    position: static;
    display: block;
    width: 65%;
    max-width: 280px;
    margin: 24px 0 0 auto;
  }
}

.top-news__bird {
  position: absolute;
}

.top-news__bird--1 {
  left: 45.5%;
  top: -54px;
  width: 58px;
}

.top-news__bird--2 {
  left: 54%;
  top: -79px;
  width: 46px;
}

@media (max-width: 600px) {

  .top-news__bird--1,
  .top-news__bird--2 {
    display: none;
  }
}

.top-news__body {
  max-width: 864px;
  margin: min(8.333vw, 120px) auto 0;
}

@media (max-width: 768px) {
  .top-news__body {
    margin-top: 48px;
  }
}

.news-list {
  list-style: none;
}

.news-list__item {
  border-top: 1px solid var(--color-border);
}

.news-list__item:last-child {
  border-bottom: 1px solid var(--color-border);
}

.news-list__link {
  display: block;
  padding: 40px 24px;
  color: var(--color-text);
  transition: 0.4s var(--ease-soft);
}

@media (max-width: 600px) {
  .news-list__link {
    padding: 24px 8px;
  }
}

.news-list__link:hover .news-list__ttl {
  color: var(--color-primary);
}

.news-list__meta {
  display: flex;
  align-items: center;
  gap: 24px;
}

@media (max-width: 600px) {
  .news-list__meta {
    gap: 16px;
  }
}

.news-list__date {
  font-size: clamp(16px, 1.25vw, 18px);
  font-weight: 500;
  line-height: 1.78;
}

.news-list__cat {
  display: inline-flex;
  align-items: center;
  padding: 5px 16px;
  background: var(--color-tag);
  border-radius: 20px;
  font-family: var(--font-primary);
  font-size: 14px;
  font-weight: 400;
  line-height: 1;
}

@media (max-width: 600px) {
  .news-list__cat {
    font-size: 12px;
  }
}

.news-list__ttl {
  margin-top: 4px;
  font-size: clamp(16px, 1.25vw, 18px);
  font-weight: 700;
  line-height: 1.5;
  transition: 0.4s var(--ease-soft);
}

.news-list__empty {
  padding: 40px 24px;
  border-top: 1px solid var(--color-border);
  border-bottom: 1px solid var(--color-border);
}

.top-news__btn {
  margin-top: min(3.889vw, 56px);
  text-align: right;
}

@media (max-width: 768px) {
  .top-news__btn {
    margin-top: 40px;
  }
}

/* 採用情報 */
.top-recruit {
  position: relative;
  padding: 64px 0 120px;
}

@media (max-width: 768px) {
  .top-recruit {
    padding: 64px 0 96px;
  }
}

.top-recruit__tree {
  position: absolute;
  top: -130px;
  right: 6.4%;
  width: 174px;
}

@media (max-width: 768px) {
  .top-recruit__tree {
    top: -80px;
    width: 104px;
  }
}

.top-recruit__inner {
  display: flex;
  align-items: stretch;
  justify-content: center;
  gap: min(6vw, 96px);
}

@media (max-width: 1080px) {
  .top-recruit__inner {
    flex-direction: column;
    gap: 40px;
  }
}

.top-recruit__photos {
  display: flex;
  align-items: center;
  gap: 24px;
  width: 58.4%;
  flex: none;
}

@media (max-width: 1080px) {
  .top-recruit__photos {
    width: 100%;
  }
}

@media (max-width: 600px) {
  .top-recruit__photos {
    gap: 16px;
  }
}

.top-recruit__photos img {
  width: calc(50% - 12px);
  aspect-ratio: 8 / 7;
  object-fit: cover;
  border-radius: 24px;
}

@media (max-width: 600px) {
  .top-recruit__photos img {
    width: calc(50% - 8px);
    border-radius: 16px;
  }
}

.top-recruit__body {
  display: flex;
  flex-direction: column;
  width: 34.3%;
  flex-shrink: 0;
}

@media (max-width: 1080px) {
  .top-recruit__body {
    display: block;
    width: 100%;
  }
}

.top-recruit__text {
  margin-top: 40px;
  color: var(--black);
  font-size: clamp(16px, 1.25vw, 18px);
  font-weight: 500;
  line-height: 1.78;
}

@media (max-width: 768px) {
  .top-recruit__text {
    margin-top: 24px;
  }
}

/* 狭幅端末では文字を1段落とし、折り返しの端切れを防ぐ */
@media (max-width: 390px) {
  .top-recruit__text {
    font-size: 15px;
  }
}

.top-recruit__btn {
  margin-top: auto;
}

@media (max-width: 1080px) {
  .top-recruit__btn {
    margin-top: 40px;
  }
}

@media (max-width: 768px) {
  .top-recruit__btn {
    margin-top: 32px;
  }
}

/* ========================================
    フッター
    ======================================== */

/* TOPページ以外：本文最終ブロックの下余白を統一し、.footer-contact の上を 220px 空ける
   （.footer-contact は margin-top: -60px で 60px 重なるため、見た目の余白は 160px） */
body:not(.home) main>*:last-child {
  padding-bottom: 220px;
}

@media (max-width: 768px) {
  body:not(.home) main>*:last-child {
    padding-bottom: 120px;
  }
}

@media (max-width: 600px) {
  body:not(.home) main>*:last-child {
    padding-bottom: 104px;
  }
}

.footer {
  /* flow-root: .footer-contact のネガティブマージンが footer 全体と相殺されるのを防ぐ */
  display: flow-root;
  background: var(--white);
}

.footer-contact {
  position: relative;
  z-index: 2;
  width: 90vw;
  margin-top: -60px;
  margin-left: auto;
  padding: 80px 80px 80px 0;
  border-radius: 40px 0 0 40px;
  /* .m-philosophy と同じ理由でオレンジ焼き込み済みテクスチャを使う（iOS対策） */
  background-color: var(--color-secondary);
  background-image: url(../img/common/tex-paper-orange.webp);
  background-size: 500px auto;
  box-shadow: 0 2px 10px 0 rgba(0, 0, 0, 0.11);
}

@media (max-width: 1080px) {
  .footer-contact {
    padding: 64px 40px;
  }
}

@media (max-width: 600px) {
  .footer-contact {
    width: calc(100% - 24px);
    margin-left: 24px;
    padding: 48px 24px 48px 32px;
    border-radius: 24px 0 0 24px;
  }
}

/* .container（1152px）と左端・幅を揃える。親が右寄せの箱のため箱の左端からのオフセットを算出 */
.footer-contact__inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 40px;
  width: 100%;
  max-width: 1152px;
  margin-left: max(80px, calc(90vw - (100vw + 1152px) / 2));
}

@media (max-width: 1080px) {
  .footer-contact__inner {
    flex-direction: column;
    align-items: flex-start;
    max-width: none;
    margin-left: 0;
  }
}

.footer-contact__ttl {
  color: var(--white);
  font-family: var(--font-secondary);
  font-size: clamp(30px, 3.333vw, 48px);
  font-weight: 700;
  line-height: 1;
}

.footer-contact__ttl span {
  display: block;
  margin-bottom: 24px;
  font-size: clamp(20px, 1.667vw, 24px);
  font-weight: 700;
  line-height: 1;
}

@media (max-width: 600px) {
  .footer-contact__ttl span {
    margin-bottom: 16px;
  }
}

.footer-contact__text {
  margin-top: 40px;
  color: var(--white);
  font-size: clamp(16px, 1.25vw, 18px);
  font-weight: 700;
  line-height: 1.78;
}

@media (max-width: 768px) {
  .footer-contact__text {
    margin-top: 24px;
  }
}

@media (max-width: 600px) {
  .footer-contact__text {
    font-size: 15px;
  }
}

.footer-contact__action {
  width: 474px;
  max-width: 100%;
  flex: none;
}

@media (max-width: 1080px) {
  .footer-contact__action {
    width: 100%;
    max-width: 474px;
  }
}

.footer-contact__links {
  display: flex;
  justify-content: center;
  gap: 40px;
  list-style: none;
}

/* SPでも横並びを維持する。2つを等幅にして下線の長さを揃える */
@media (max-width: 600px) {
  .footer-contact__links {
    gap: 16px;
  }
}

@media (max-width: 600px) {
  .footer-contact__link-item {
    flex: 1;
  }
}

.footer-contact__link-item a {
  display: inline-flex;
  align-items: center;
  gap: 16px;
  padding: 0 8px 10px;
  border-bottom: 2px solid var(--white);
  color: var(--white);
  font-size: clamp(16px, 1.25vw, 18px);
  font-weight: 700;
  line-height: 1.78;
  transition: 0.4s var(--ease-soft);
}

@media (max-width: 600px) {
  .footer-contact__link-item a {
    justify-content: center;
    width: 100%;
    gap: 8px;
    padding: 0 4px 8px;
    font-size: clamp(11px, 3.733vw, 15px);
  }
}

.footer-contact__link-item a:hover {
  opacity: 0.7;
}

.footer-contact__link-item a img {
  width: 18px;
  height: 18px;
}

@media (max-width: 600px) {
  .footer-contact__link-item a img {
    width: 14px;
    height: 14px;
  }
}

.footer-contact__btn {
  margin-top: 40px;
}

.footer-contact__btn a {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 28px;
  padding: 22px 44px;
  background: var(--white);
  border: 1px solid var(--color-primary);
  border-radius: 90px;
  color: var(--color-primary);
  font-size: clamp(20px, 1.944vw, 28px);
  font-weight: 700;
  line-height: 1.29;
  transition: 0.4s var(--ease-soft);
}

@media (max-width: 600px) {
  .footer-contact__btn a {
    padding: 16px 24px;
    gap: 13px;
    font-size: 19px;
  }
}

.footer-contact__btn a:hover {
  opacity: 0.8;
}

.footer-contact__btn a img {
  width: 24px;
  height: 24px;
}

.footer-main {
  padding: 80px 0;
}

@media (max-width: 768px) {
  .footer-main {
    padding: 80px 0 48px;
  }
}

.footer-main__inner {
  display: flex;
  gap: min(10.556vw, 152px);
  width: fit-content;
}

@media (max-width: 1080px) {
  .footer-main__inner {
    flex-direction: column;
    gap: 56px;
  }
}

@media (max-width: 768px) {
  .footer-main__inner {
    width: 100%;
  }
}

.footer-main__name-sub {
  display: block;
  font-size: clamp(20px, 1.806vw, 26px);
  font-weight: 500;
  line-height: 1;
}

.footer-main__name-row {
  display: flex;
  align-items: flex-end;
  gap: 24px;
  margin-top: 10px;
}

.footer-main__name-main {
  font-size: clamp(30px, 3.333vw, 48px);
  font-weight: 700;
  line-height: 1;
  color: var(--color-text);
  transition: 0.4s var(--ease-soft);
}

.footer-main__name-main:hover {
  opacity: 0.7;
}

.footer-main__sns {
  display: block;
  width: 40px;
  transition: 0.4s var(--ease-soft);
}

@media (max-width: 600px) {
  .footer-main__sns {
    width: 28px;
  }
}

.footer-main__sns:hover {
  opacity: 0.7;
}

.footer-main__address {
  margin-top: 40px;
}

@media (max-width: 768px) {
  .footer-main__address {
    margin-top: 24px;
  }
}

.footer-main__address p {
  font-size: clamp(16px, 1.25vw, 18px);
  font-weight: 500;
  line-height: 1.5;
}

.footer-main__tel-label {
  margin-top: 20px;
}

.footer-main__tel {
  margin-top: 4px;
}

.footer-main__tel a {
  color: var(--color-primary);
  font-family: var(--font-secondary);
  font-size: clamp(30px, 3.333vw, 48px);
  font-weight: 900;
  line-height: 1;
}

.footer-main__nav {
  display: flex;
  gap: min(5vw, 54px);
  flex: 1;
}

@media (max-width: 600px) {
  .footer-main__nav {
    flex-direction: column;
    gap: 32px;
  }
}

.footer-main__list {
  list-style: none;
}

.footer-main__list li+li {
  margin-top: 22px;
}

@media (max-width: 600px) {
  .footer-main__list li+li {
    margin-top: 10px;
  }
}

.footer-main__list a {
  color: var(--color-text);
  font-size: clamp(16px, 1.25vw, 18px);
  font-weight: 700;
  line-height: 1.11;
  transition: 0.4s var(--ease-soft);
}

@media (max-width: 600px) {
  .footer-main__list a {
    font-size: 15px;
  }
}

.footer-main__list a:hover {
  opacity: 0.7;
}

.footer-main__list--sub {
  margin-top: 24px;
  padding-left: 24px;
  border-left: 1px solid var(--color-text);
}

@media (max-width: 600px) {
  .footer-main__list--sub {
    margin-top: 10px;
  }
}

.footer-main__list--sub a {
  color: var(--color-gray);
}

@media (max-width: 600px) {
  .footer-main__list--sub a {
    font-size: 14px;
  }
}

.footer-bottom {
  background: var(--color-brown);
  padding: 64px 16px;
  color: var(--white);
}

@media (max-width: 768px) {
  .footer-bottom {
    padding: 48px 16px;
  }
}

.footer-bottom__head {
  display: flex;
  justify-content: center;
  gap: 16px;
}

@media (max-width: 768px) {
  .footer-bottom__head {
    flex-direction: column;
    gap: 16px;
    max-width: 400px;
    margin: 0 auto;
  }
}

.footer-bottom__facility {
  font-size: 12px;
  font-weight: 700;
  line-height: 1.5;
}

.footer-bottom__address {
  font-size: 12px;
  font-weight: 500;
  line-height: 1.5;
}

.footer-bottom__homes {
  display: flex;
  justify-content: center;
  gap: 64px;
  margin-top: 40px;
  list-style: none;
}

@media (max-width: 1080px) {
  .footer-bottom__homes {
    flex-wrap: wrap;
    gap: 32px;
  }
}

@media (max-width: 768px) {
  .footer-bottom__homes {
    flex-direction: column;
    gap: 24px;
    max-width: 400px;
    margin: 32px auto 0;
  }
}

.footer-bottom__home .footer-bottom__address {
  margin-top: 16px;
}

@media (max-width: 768px) {
  .footer-bottom__home .footer-bottom__address {
    margin-top: 8px;
  }
}

/* ========================================
    投稿一覧ページ
    ======================================== */
/* ========================================
    投稿詳細ページ
    ======================================== */
.m-post-main img {
  object-fit: contain;
  width: auto;
  height: auto;
  margin-bottom: 20px;
}

.m-post-main p {
  margin-bottom: 16px;
  font-size: clamp(16px, 1.25vw, 18px);
  font-weight: 500;
  line-height: 1.78;
}

/* 本文中に混ざるため inline。inline-block だと折り返し行の行間が広がる */
.m-post-main a {
  color: var(--color-primary);
  text-decoration: underline;
  text-underline-offset: 2px;
  transition: 0.3s;
}

.m-post-main a:hover {
  opacity: 0.7;
}

.m-post-main h1 {
  font-size: 28px;
  font-weight: 500;
  margin-bottom: 20px;
}

@media (max-width: 600px) {
  .m-post-main h1 {
    font-size: 24px;
  }
}

/* h2：左のオレンジ帯＋下罫線 */
.m-post-main h2 {
  position: relative;
  margin: 56px 0 24px;
  padding: 0 0 12px 16px;
  border-bottom: 1px solid var(--color-border-light);
  font-family: var(--font-secondary);
  font-size: clamp(20px, 1.667vw, 24px);
  font-weight: 700;
  line-height: 1.5;
  color: var(--color-text);
}

@media (max-width: 600px) {
  .m-post-main h2 {
    margin: 40px 0 16px;
  }
}

.m-post-main h2::before {
  content: "";
  position: absolute;
  top: 0.24em;
  left: 0;
  width: 4px;
  height: 1.02em;
  border-radius: 2px;
  background: var(--color-primary);
}

/* h3：行頭にオレンジの丸（.hs-lineup__cat と同じあしらい） */
.m-post-main h3 {
  position: relative;
  margin: 40px 0 16px;
  padding-left: 18px;
  font-family: var(--font-secondary);
  font-size: clamp(18px, 1.389vw, 20px);
  font-weight: 700;
  line-height: 1.5;
  color: var(--color-text);
}

@media (max-width: 600px) {
  .m-post-main h3 {
    margin: 32px 0 16px;
  }
}

.m-post-main h3::before {
  content: "";
  position: absolute;
  top: 0.56em;
  left: 0;
  width: 10px;
  height: 10px;
  border-radius: 50%;
  background: var(--color-primary);
}

/* 本文先頭が見出しのときに余計な上余白を作らない */
.m-post-main> :first-child {
  margin-top: 0;
}


/* ========================================
    下層ページ
    ======================================== */
/* ========================================
    プライバシーポリシー
    ======================================== */
.policy {
  padding-top: 100px;
  padding-bottom: 100px;
}

.policy__title {
  font-size: 24px;
  margin-bottom: 40px;
}

.policy__content {
  line-height: 1.75;
}

.policy__content .wp-block-heading {
  font-size: 20px;
  margin-top: 30px;
}

@media screen and (max-width: 768px) {
  .policy__content .wp-block-heading {
    font-size: 18px;
  }
}

.policy__content .wp-block-spacer {
  height: 40px !important;
}

.policy__content .wp-block-list {
  padding: 20px 0;
  list-style: disc;
  margin-left: 1em;
}

.policy__content p,
.policy__content a,
.policy__content li {
  margin-top: 1em;
}

/* お問い合わせフォーム関連は assets/css/contact.css に分離（CF7 ショートコードを含むページのみ読込） */

/* パンくずリスト（シンプル） */
.breadcrumb {
  font-size: 13px;
  line-height: 1.6;
  padding: 16px 0;
}

.breadcrumb__list {
  display: flex;
  flex-wrap: wrap;
  gap: 4px 8px;
  list-style: none;
  margin: 0;
  padding: 0;
}

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

.breadcrumb__item:not(:last-child)::after {
  content: "";
  display: inline-block;
  width: 6px;
  height: 6px;
  margin-left: 8px;
  border-top: 1px solid #999;
  border-right: 1px solid #999;
  transform: rotate(45deg);
}

.breadcrumb__link {
  color: #555;
  text-decoration: none;
  transition: 0.4s var(--ease-soft);
}

.breadcrumb__link:hover {
  color: #000;
}

.breadcrumb__current {
  color: #999;
}

/* ========================================
    ユーティリティ
    ======================================== */
.u-pc-only {
  display: block;
}

@media (max-width: 600px) {
  .u-pc-only {
    display: none;
  }
}

.u-sp-only {
  display: none;
}

@media (max-width: 600px) {
  .u-sp-only {
    display: block;
  }
}

.u-text-center {
  text-align: center;
}

.u-text-left {
  text-align: left;
}

.u-text-right {
  text-align: right;
}