@charset "UTF-8";

/* ==================================================
  Custom Properties
================================================== */

:root {
  --color-main: #683f26;
  --color-sub: #1e6a22;
  --color-accent: #db1226;
  --color-text: #683f26;
  --color-text-light: #666;
  --color-border: #ddd;
  --color-background: #fbf9f3;
  --color-background-light: #eee9db;
  --color-white: #fff;
  --color-black: #000;

  /* 案件追加（本人確認済み 2026-10-09） */
  --color-gold: #b8952c;
  --color-sub-light: #e8f0e8;
  --color-main-light: #c0a77f;

  --content-width-small: 800px;
  --content-width-medium: 1000px;
  --content-width-large: 1200px;

  --radius-small: 4px;
  --radius-medium: 8px;
  --radius-large: 16px;

  --duration-fast: 0.2s;
  --duration-normal: 0.4s;
  --duration-slow: 0.8s;

  --z-index-base: 1;
  --z-index-header: 100;
  --z-index-navigation: 200;
  --z-index-overlay: 300;
  --z-index-modal: 400;
  --z-index-loading: 500;

  --font-family-base: 'Zen Maru Gothic', sans-serif;
  --font-family-english: 'Fredoka', 'Zen Maru Gothic', sans-serif;
  --font-family-number: 'Montserrat', 'Zen Maru Gothic', sans-serif;

  /* ヘッダーの帯の高さと、MV上端の斜めの落差 */
  --header-height: 170px;
  --header-slope: 85px;

  /* MV（下層は page-visual）の高さ。グローバルナビをMVの下端に重ねる位置の計算に使う */
  --visual-height: 360px;
}

@media (max-width: 1024px) {
  :root {
    --header-height: 96px;
    --header-slope: 32px;
  }
}


/* ==================================================
  Base: Cursor（サイト全体のカーソル。本人指示 2026-10-23）
  - 通常：黄色いクレヨンの矢印（支給の右向きの矢印を、ふつうのカーソルと同じ左上向きに回したもの）
  - リンク・ボタンなどクリックできる所：いちご（image/zukan/zukan_grow_red。ヘタが上のまま。とがった先＝左下がクリックの位置）
  - 画像はブラウザのカーソルの大きさの制限に合わせて 32px（高解像度の画面は 64px を image-set で）。PNG
  - 数字はクリックの位置（ホットスポット：32px の画像の中の x y）＝矢印の先端（左上）・いちごのとがった先（左下）
  - 読み込めない・image-set が使えないブラウザでは、前の行（1枚だけの指定）→ 最後の auto／pointer に戻る
  - 文字の入力欄（input の文字・textarea）はブラウザの文字カーソルのまま。紙芝居の grab、読み込み中の progress もそのまま
  - 日付の入力欄はクリックでカレンダーを開くので、いちご（何もしないとブラウザの標準の矢印になる）
  - 素材の作り方：ai-coding/clients/3257612_kato/tools/make_cursor_assets.py
  - タブレット・スマホ（1024px 以下）では画像のカーソルも動くカーソルも出さない（本人指示 2026-10-26）
================================================== */

@media (min-width: 1025px) {
  body {
    cursor: url('/import/tenant_1/162.43.27.181/kato/image/common/cursor_arrow.png') 2 1, auto;
    cursor: -webkit-image-set(url('/import/tenant_1/162.43.27.181/kato/image/common/cursor_arrow.png') 1x, url('/import/tenant_1/162.43.27.181/kato/image/common/cursor_arrow_2x.png') 2x) 2 1, auto;
    cursor: image-set(url('/import/tenant_1/162.43.27.181/kato/image/common/cursor_arrow.png') 1x, url('/import/tenant_1/162.43.27.181/kato/image/common/cursor_arrow_2x.png') 2x) 2 1, auto;
  }

  /* a:hover・button:hover は base.css の cursor: pointer を上書きするため */
  a,
  a:hover,
  button,
  button:hover,
  [role='button'],
  .js-toggle,
  select,
  summary,
  label[for],
  input[type='date'],
  input[type='checkbox'],
  input[type='radio'],
  input[type='submit'],
  input[type='button'],
  input[type='reset'],
  input[type='file'],
  .swiper-button-prev,
  .swiper-button-next,
  .swiper-pagination-clickable .swiper-pagination-bullet {
    cursor: url('/import/tenant_1/162.43.27.181/kato/image/common/cursor_strawberry.png') 4 28, pointer;
    cursor: -webkit-image-set(url('/import/tenant_1/162.43.27.181/kato/image/common/cursor_strawberry.png') 1x, url('/import/tenant_1/162.43.27.181/kato/image/common/cursor_strawberry_2x.png') 2x) 4 28, pointer;
    cursor: image-set(url('/import/tenant_1/162.43.27.181/kato/image/common/cursor_strawberry.png') 1x, url('/import/tenant_1/162.43.27.181/kato/image/common/cursor_strawberry_2x.png') 2x) 4 28, pointer;
  }
}

/*
  ---- 動くカーソル（本人指示 2026-10-23：いちごに変わるとき「ぽよん」と弾ませたい。js/common.js の「カーソル」）
  - JS が動いているとき（1025px 以上・マウスで操作する端末・動きを減らす設定でない・見たまま編集画面でない）だけ html に .is-cursor-animated
    → 本物のカーソルを隠し、矢印といちごの絵（.component-cursor）をマウスに追いかけさせる
    JS が動かないときは、上の画像のカーソルのまま
  - 矢印 → いちご：矢印が縮んで消え、いちごがとがった先（クリックの位置）を中心に、小さい所から少し大きめに弾んで元の大きさに
    いちご → 矢印：その逆（矢印が先端を中心に弾んで出る）
  - 押している間は少し縮む
  - 本物のカーソルに任せる所：文字の入力欄（text）、紙芝居（grab）、読み込み中（progress）。JS が絵を隠す
  - 上の一覧と同じ所（＋body）を none にする（.is-cursor-animated を付けて、上の指定より強くする）
  - 押している間（html に .is-cursor-pressed）は none を外して上の画像のカーソル（同じ矢印・いちごの画像・同じ先端の位置）にする。
    押した瞬間にブラウザが本物のカーソル（白い矢印）を出して絵と重なって見えたため（本人指摘 2026-10-28。サイトの指定は none のままでも出る）。
    絵は隠さない（隠すと、ブラウザがカーソルを描き直すまでの一瞬と、離して絵が戻るときに「ちかっ」と見えた。15faq の質問など、ページを移らない所で目立つ）。
    同じ画像・同じ位置なので、本物のカーソルが出ても絵とぴったり重なって1つに見える
*/
.is-cursor-animated:not(.is-cursor-pressed) body,
.is-cursor-animated:not(.is-cursor-pressed) a,
.is-cursor-animated:not(.is-cursor-pressed) a:hover,
.is-cursor-animated:not(.is-cursor-pressed) button,
.is-cursor-animated:not(.is-cursor-pressed) button:hover,
.is-cursor-animated:not(.is-cursor-pressed) [role='button'],
.is-cursor-animated:not(.is-cursor-pressed) .js-toggle,
.is-cursor-animated:not(.is-cursor-pressed) select,
.is-cursor-animated:not(.is-cursor-pressed) summary,
.is-cursor-animated:not(.is-cursor-pressed) label[for],
.is-cursor-animated:not(.is-cursor-pressed) input[type='date'],
.is-cursor-animated:not(.is-cursor-pressed) input[type='checkbox'],
.is-cursor-animated:not(.is-cursor-pressed) input[type='radio'],
.is-cursor-animated:not(.is-cursor-pressed) input[type='submit'],
.is-cursor-animated:not(.is-cursor-pressed) input[type='button'],
.is-cursor-animated:not(.is-cursor-pressed) input[type='reset'],
.is-cursor-animated:not(.is-cursor-pressed) input[type='file'],
.is-cursor-animated:not(.is-cursor-pressed) .swiper-button-prev,
.is-cursor-animated:not(.is-cursor-pressed) .swiper-button-next,
.is-cursor-animated:not(.is-cursor-pressed) .swiper-pagination-clickable .swiper-pagination-bullet {
  cursor: none;
}

/* 絵の置き場所（左上＝マウスの位置。JS が transform で動かす）。いちばん手前（ローディングより上）に */
.component-cursor {
  position: fixed;
  z-index: calc(var(--z-index-loading) + 1);
  top: 0;
  left: 0;
  width: 0;
  height: 0;
  pointer-events: none;
  transition: opacity var(--duration-fast) ease;
}

.component-cursor.is-hidden {
  opacity: 0;
}

/* リンクでページを移るとき（JS が .is-leaving）：フェードせずにすぐ消す。
   0.15秒かけて消している間に、ブラウザが読み込み中の本物のカーソル（白い矢印）を出して重なって見えたため（2026-10-28） */
.component-cursor.is-leaving {
  opacity: 0;
  transition: none;
}

.component-cursor__arrow,
.component-cursor__berry {
  position: absolute;
  width: 32px;
  height: 32px;
  background-repeat: no-repeat;
  background-size: 100% 100%;
}

/* 矢印：先端（2, 1）をマウスの位置に。戻ってくるときは先端を中心にぽよんと弾む */
.component-cursor__arrow {
  top: -1px;
  left: -2px;
  background-image: url('/import/tenant_1/162.43.27.181/kato/image/common/cursor_arrow_2x.png');
  transform-origin: 2px 1px;
  transition: transform 0.45s cubic-bezier(0.34, 1.9, 0.5, 1), opacity 0.12s ease;
}

/* いちご：とがった先（4, 28）をマウスの位置に。ふだんは小さく消しておく */
.component-cursor__berry {
  top: -28px;
  left: -4px;
  background-image: url('/import/tenant_1/162.43.27.181/kato/image/common/cursor_strawberry_2x.png');
  opacity: 0;
  transform: scale(0.2) rotate(-25deg);
  transform-origin: 4px 28px;
  transition: transform 0.15s ease, opacity 0.12s ease;
}

.component-cursor.is-pointer .component-cursor__arrow {
  opacity: 0;
  transform: scale(0.3);
  transition: transform 0.15s ease, opacity 0.12s ease;
}

/* いちごが出るとき：小さい所から、横に広がる→縦に伸びる→少し広がる…と2回弾んで元の大きさに（ぽよん） */
.component-cursor.is-pointer .component-cursor__berry {
  opacity: 1;
  transform: scale(1) rotate(0deg);
  transition: opacity 0.1s ease;
  animation: cursor-berry-pop 0.55s ease-out;
}

@keyframes cursor-berry-pop {
  0% {
    transform: scale(0.2) rotate(-25deg);
  }

  40% {
    transform: scale(1.28, 1.12) rotate(8deg);
  }

  60% {
    transform: scale(0.9, 1.08) rotate(-4deg);
  }

  80% {
    transform: scale(1.06, 0.96) rotate(2deg);
  }

  100% {
    transform: scale(1) rotate(0deg);
  }
}

/* 押している間に縮める動き（.is-pressed で scale 0.82）はやめた（2026-10-28）。
   押している間は本物のカーソルも同じ画像・同じ先端の位置で出すので、縮めると2つがずれて見えるため */


/* ==================================================
  Base: Page Transition（ページを移るときにふわっと切り替える。本人指示 2026-10-28・参考 https://www.aso-satofarm.com/）
  - サイト内のリンクを押したら、画面全体を背景色の幕（body::after）で 0.6秒かけて覆ってからページを移り（html に .is-page-leaving）、
    次のページは幕を張った状態（.is-page-entering）から 0.6秒かけて幕を消す。クラスの付け外しは common.js「ページを移るときのフェード」
  - 幕はカーソルの絵より下・ほかのすべてより上。押せないように pointer-events: none
  - JS が動かないとき・見たまま編集画面・動きを減らす設定では幕は出ない（今までどおりぱっと切り替わる）
  - ※最初はブラウザのページ切り替えの演出（View Transitions のクロスフェード）を入れたが、参考サイトと同じ動きにするため置き換えた
================================================== */

body::after {
  content: '';
  position: fixed;
  top: 0;
  left: 0;
  z-index: var(--z-index-loading);
  width: 100%;
  height: 100%;
  background-color: var(--color-background);
  opacity: 0;
  pointer-events: none;
  transition: opacity 0.6s ease;
}

.is-page-leaving body::after,
.is-page-entering body::after {
  opacity: 1;
}

/* 次のページの始まりは、幕が最初から張ってある状態（フェードさせない） */
.is-page-entering body::after {
  transition: none;
}


/* ==================================================
  Layout: Wrapper
================================================== */

body {
  background-color: var(--color-background);
}

.wrapper {
  color: var(--color-text);
  font-family: var(--font-family-base);
  font-weight: 500;
  background-color: var(--color-background);
}

@media (max-width: 1024px) {

  /* SP追従ボタンの高さ分、最下部に余白を取る */
  .wrapper {
    padding-bottom: 64px;
  }
}

body.drawer-active {
  overflow: hidden;
  -ms-touch-action: none;
  touch-action: none;
}


/* ==================================================
  Layout: Header
================================================== */

.layout-header-outer {
  position: relative;
  z-index: var(--z-index-header);
}

.layout-header {
  position: relative;
}

.layout-header__inner {
  position: relative;
  height: var(--header-height);
}

.layout-header__title {
  position: absolute;
  top: 12px;
  left: 24px;
  z-index: calc(var(--z-index-base) + 1);
  max-width: calc(50% - 140px);
  font-size: 12px;
  font-weight: 700;
  line-height: 1.5;
}

.layout-header__body {
  position: static;
}

/* h1 のすぐ下（h1 の上端 12px ＋ h1 の高さ ＋ 2px）。h1 が長くて何行になっても重ならないよう、
   h1 の高さは common.js「h1 の高さに合わせて、下の要素の位置を決める」が測って --header-title-height に入れる（無いときは1行分 18px → 32px） */
.layout-header__address {
  position: absolute;
  top: calc(14px + var(--header-title-height, 18px));
  left: 24px;
  z-index: calc(var(--z-index-base) + 1);
  max-width: calc(50% - 140px);
  font-size: 12px;
  line-height: 1.5;
}

.layout-header__logo {
  position: absolute;
  top: 18px;
  left: 50%;
  z-index: calc(var(--z-index-base) + 1);
  width: 182px;
  transform: translateX(-50%);
}

.layout-header__logo a {
  display: block;
}

.layout-header__logo img {
  width: 100%;
  height: auto;
}

/* 山の装飾：MV上端の斜線（両端が低く中央が高い）に沿って切り抜く */
.layout-header__hills {
  position: absolute;
  top: -5px;
  left: 0;
  z-index: var(--z-index-base);
  width: 100%;
  height: calc(var(--header-height) + var(--header-slope));
  overflow: hidden;
  clip-path: polygon(0 0, 100% 0, 100% 100%, 50% var(--header-height), 0 100%);
  pointer-events: none;
}

.layout-header__hills img {
  position: absolute;
  top: 40px;
  left: 0;
  width: 100%;
  height: auto;
}

/* 追従ボタン（商品購入・イベント予約・お問い合わせ） */
.layout-header__site-button-list {
  display: flex;
  position: absolute;
  top: 0;
  right: 32px;
  z-index: calc(var(--z-index-base) + 2);
}

@media (max-width: 1024px) {
  .layout-header__inner {
    height: var(--header-height);
  }

  /*
    h1：タブレット・SP ではハンバーガーメニュー（ドロワー）の一番上に出す（本人指示 2026-10-26）。
    h1 はページごとに違うので .header-common（共通化）の外に置いたまま、見た目だけドロワーの上端の帯（× ボタンの左）に重ねる。
    ドロワーと同じ幅・同じ動き（右から translateX）で、開いたとき（body.drawer-active）だけ出る。
    ドロワーの中身が上へスクロールしても文字の下に潜るよう、ドロワーと同じ背景色を敷く（高さはドロワーの上の余白 88px）。
    × ボタン（右 12px・幅 52px）より手前に来ないよう、z-index はボタンと同じで HTML の前にある h1 が下になる
  */
  .layout-header__title {
    position: fixed;
    top: 0;
    right: 0;
    left: auto;
    z-index: calc(var(--z-index-overlay) + 2);
    width: min(86%, 360px);
    max-width: none;
    min-height: 88px;
    padding: 24px 76px 12px 24px;
    background-color: var(--color-background);
    font-size: 11px;
    transform: translateX(100%);
    transition: transform var(--duration-normal) ease;
  }

  /* ブログ詳細などで h1 が長いとき（省略しない。本人指示 2026-10-26）：
     common.js「ドロワーの上の余白を h1 の高さに合わせる」が h1 の高さを測ってドロワーに --drawer-title-height を入れ、
     ドロワーの中身（電話番号から下）を h1 の下から始める（Layout: Hamburger / Drawer の .layout-drawer__inner） */

  body.drawer-active .layout-header__title {
    transform: translateX(0);
  }

  /* タブレット・SP ではヘッダーの住所は出さず、ドロワーの電話番号の下（.layout-drawer__address）に出す（2026-10-28） */
  .layout-header__address {
    display: none;
  }

  .layout-header__logo {
    top: 7px;
    width: 105px;
  }

  /*
    幅が狭いと山の画像（1440×345）の高さが足りず、山の領域（header-height + header-slope）の左右下端との間に
    白い隙間ができる（375px で 14px）。足りないときだけ領域の下端より 8px 下まで拡大して埋める（上端の位置は 24px のまま）。
    8px 余分に伸ばすのは、画像下端のクレヨンのかすれ（半透明）を clip-path の外へ出して、角に白が残らないようにするため。
    山は .layout-header__hills の clip-path で三角（MV）の斜線の上側だけに切っているので、拡大しても三角には重ならない
  */
  .layout-header__hills img {
    top: 24px;
    min-height: calc(100% - 24px + 8px);
    object-fit: cover;
    object-position: center top;
  }

  /* SP：最下部に横並びで固定 */
  .layout-header__site-button-list {
    position: fixed;
    top: auto;
    right: 0;
    bottom: 0;
    left: 0;
    padding-right: 64px;
  }
}

@media (max-width: 599px){
  .layout-header__hills {
    top:25px;
  }
  .layout-main{
    margin-top: 30px;
  }
}


/* ==================================================
  Component: Site Button（商品購入・イベント予約・お問い合わせ）
  ヘッダーの追従ボタンとフッターの丸型ボタンで共用する。
  ここには色と中身の並びだけを書き、形・大きさは置き場所ごとに分ける
  （ヘッダー：.layout-header__site-button-list 内／フッター：--circle）
================================================== */

.component-site-button a {
  display: block;
}

.component-site-button__inner {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  background-color: var(--color-main);
  color: var(--color-white);
  font-weight: 700;
  line-height: 1.4;
  text-align: center;
}

.component-site-button--shop .component-site-button__inner {
  background-color: var(--color-gold);
}

.component-site-button--event .component-site-button__inner {
  background-color: var(--color-accent);
}

.component-site-button__icon {
  width: 25px;
  margin-bottom: 8px;
}

.component-site-button__icon img {
  width: 100%;
  height: auto;
}


/* ==================================================
  ヘッダーの追従ボタン（形・大きさ）
  A/Bテスト対象。div二重ラップを前提に、幅・余白を自身で持つ
  （子孫セレクタなのでラップが挟まっても効く）
================================================== */

/* position・isolation：B パターンのイラスト（__illust）をボタンの後ろに置く基準（タブレット・SP の商品購入は下で absolute に上書き） */
.layout-header__site-button-list .component-site-button {
  isolation: isolate;
  position: relative;
  width: 140px;
  margin-left: 12px;
}

.layout-header__site-button-list .component-site-button__inner {
  min-height: 104px;
  padding: 12px 8px 16px;
  border: 5px solid var(--color-white);
  border-top: 0;
  border-radius: 0 0 70px 70px;
  font-size: 16px;
  box-shadow: 0 6px 10px rgba(104, 63, 38, 0.15);
}

/* 1025〜1240px：ロゴと重ならないよう縮める */
@media (min-width: 1025px) and (max-width: 1240px) {
  .layout-header__site-button-list .component-site-button {
    width: 108px;
    margin-left: 8px;
  }

  .layout-header__site-button-list .component-site-button__inner {
    min-height: 88px;
    padding: 10px 6px 14px;
    font-size: 13px;
  }

  .layout-header__site-button-list .component-site-button__icon {
    width: 22px;
    margin-bottom: 6px;
  }
}

/* タブレット・SP：画面下端の四角いバー */
@media (max-width: 1024px) {
  .layout-header__site-button-list .component-site-button {
    width: 50%;
    margin-left: 0;
  }

  .layout-header__site-button-list .component-site-button__inner {
    flex-direction: row;
    min-height: 64px;
    padding: 8px;
    border: 0;
    border-radius: 0;
    font-size: 14px;
    box-shadow: none;
  }

  .layout-header__site-button-list .component-site-button__icon {
    width: 20px;
    margin-right: 8px;
    margin-bottom: 0;
  }

  /* SP：商品購入はアイコンのみで右端に置く */
  .layout-header__site-button-list .component-site-button--shop {
    position: absolute;
    top: 0;
    right: 0;
    width: 64px;
  }

  .layout-header__site-button-list .component-site-button--shop .component-site-button__icon {
    width: 26px;
    margin-right: 0;
  }

  .layout-header__site-button-list .component-site-button--shop .component-site-button__text {
    display: none;
  }
}

/*
  A/B テストの B パターン：ボタンの後ろからイラストがぴょこっと出る（本人指示 2026-10-26。参考：fujiseni.com の追従ボタン）
  - 追従ボタンの div（.layout-header__site-button-list）か、その中・外側の要素に class="test-b" が付いたときだけ
    （A/B テストで div が二重に囲まれても効くよう、子孫・:has で見る。A パターンではイラストは出さない）
  - どのボタンから・どのイラストを出すかは js/common.js「追従ボタンのイラスト（A/B テスト B）」がランダムに決める：
    数秒おきに3つのボタンのどれか（前と同じボタンは続けない）の __illust に .is-peek、中の img の1枚に .is-current を付ける
  - イラストはボタンの色の面の後ろに隠しておき、.is-peek でのぞいて2回小さく揺れてから戻る（2.8秒・1回だけ）
  - PC：追従が始まって表示されてから（body.fixed.is-fixed-visible）、ボタンの左からのぞく
    タブレット・SP：画面下のバーは最初から固定なので、いつでも。バーの上からのぞく
  - 隠れているときは透明にもしておく（リンクにマウスを乗せたときの半透明で、後ろのイラストが透けないように）
  - 動きを減らす設定・見たまま編集画面では動かさない（JS も動かさない）
*/
.component-site-button__illust {
  display: none;
  position: absolute;
  z-index: -1;
  pointer-events: none;
}

.component-site-button__illust img {
  display: none;
  width: 100%;
  height: auto;
}

.component-site-button__illust img.is-current {
  display: block;
}

:is(.layout-header__site-button-list.test-b, .layout-header__site-button-list:has(.test-b), .test-b .layout-header__site-button-list) .component-site-button__illust {
  display: block;
  opacity: 0;
}

/* PC：ボタン（幅 84px）の後ろに隠し、左へのぞく。回る中心は右下（ボタンにつかまっているように） */
@media (min-width: 1025px) {
  .layout-header__site-button-list .component-site-button__illust {
    top: 50%;
    left: 8px;
    width: 72px;
    margin-top: -36px;
    transform-origin: 100% 100%;
  }
}

@media (min-width: 1025px) and (prefers-reduced-motion: no-preference) {
  body.fixed.is-fixed-visible :is(.layout-header__site-button-list.test-b, .layout-header__site-button-list:has(.test-b), .test-b .layout-header__site-button-list) .component-site-button__illust.is-peek {
    animation: site-button-peek-side 2.8s ease-in-out;
  }
}

/* PC：フッターのお問い合わせ以下で下スクロール中は追従ボタンが右の画面外へ隠れる（Layout: Header 追従時）。
   イラストは左へのぞくので、そのままだと画面の中に残って見える → 隠れている間はイラストも見せない（本人指示 2026-10-26） */
@media (min-width: 1025px) {
  body.is-footer-reached.drop .layout-header__site-button-list .component-site-button__illust {
    visibility: hidden;
  }
}

/* タブレット・SP：バー（高さ 64px）の後ろに隠し、上へのぞく。商品購入（64px の四角）は中央、ほかは右寄り */
@media (max-width: 1024px) {
  .layout-header__site-button-list .component-site-button__illust {
    right: 16px;
    bottom: 2px;
    width: 60px;
    transform-origin: 50% 100%;
  }

  .layout-header__site-button-list .component-site-button--shop .component-site-button__illust {
    right: auto;
    left: 2px;
  }

  /* B パターンが表示されているときは、右下の FOLLOW US（下から 96px）を、商品購入からのぞくイラストの上まで上げる
     （A/B テストでは A・B の追従ボタンが両方ページに入ることがあるので、表示中かどうかは common.js が判定して body に .is-site-button-b） */
  body.is-site-button-b .layout-header__follow {
    bottom: 160px;
  }
}

@media (max-width: 1024px) and (prefers-reduced-motion: no-preference) {
  :is(.layout-header__site-button-list.test-b, .layout-header__site-button-list:has(.test-b), .test-b .layout-header__site-button-list) .component-site-button__illust.is-peek {
    animation: site-button-peek-up 2.8s ease-in-out;
  }
}

@keyframes site-button-peek-side {
  0%,
  9% {
    opacity: 0;
    transform: translateX(0) rotate(0deg);
  }

  11% {
    opacity: 1;
  }

  /* のぞいたあとの揺れは小さめに（本人指示 2026-10-26：横 3%・傾き 4° ほど） */
  26% {
    transform: translateX(-82%) rotate(-15deg);
  }

  35% {
    transform: translateX(-79%) rotate(-11deg);
  }

  43% {
    transform: translateX(-82%) rotate(-15deg);
  }

  52% {
    transform: translateX(-80%) rotate(-12deg);
  }

  78% {
    transform: translateX(-81%) rotate(-14deg);
  }

  98% {
    opacity: 1;
    transform: translateX(0) rotate(0deg);
  }

  100% {
    opacity: 0;
    transform: translateX(0) rotate(0deg);
  }
}

@keyframes site-button-peek-up {
  0%,
  9% {
    opacity: 0;
    transform: translateY(0) rotate(0deg);
  }

  11% {
    opacity: 1;
  }

  /* のぞいたあとの揺れは小さめに（本人指示 2026-10-26：上下 5%・傾き ±3° ほど） */
  26% {
    transform: translateY(-78%) rotate(-3deg);
  }

  35% {
    transform: translateY(-73%) rotate(2deg);
  }

  43% {
    transform: translateY(-78%) rotate(-3deg);
  }

  52% {
    transform: translateY(-75%) rotate(1deg);
  }

  78% {
    transform: translateY(-77%) rotate(-2deg);
  }

  98% {
    opacity: 1;
    transform: translateY(0) rotate(0deg);
  }

  100% {
    opacity: 0;
    transform: translateY(0) rotate(0deg);
  }
}


/* ==================================================
  Layout: Header Follow（FOLLOW US）
================================================== */

.layout-header__follow {
  display: flex;
  flex-direction: column;
  align-items: center;
  position: fixed;
  /* top: 355px; */
  top: auto;
  bottom: 40%;
  right: 0;
  z-index: var(--z-index-navigation);
  width: 54px;
  padding: 20px 0 16px 4px;
  background-image: url('/import/tenant_1/162.43.27.181/kato/image/common/frame_follow.webp');
  background-repeat: no-repeat;
  background-size: 100% 100%;
  /* 追従開始・解除（body.fixed の着脱）で top が 355px ⇔ 120px に変わるので、0.3秒で滑らかに動かす
     （常に position: fixed。SP は top: auto なのでアニメーションしない）。transform は下の「隠す」動き */
  transition:
    top 0.3s ease,
    transform 0.25s ease-in;
}

/* 全幅共通：下にスクロール中（common.js が body に .drop）は右へ隠し、上にスクロールしたら（.rising）ひょこっと出す
   （本人指示 2026-10-26。最初はタブレット・SP だけ → 同日 PC も同じ動きに）
   出るとき：いったん元の位置まで出てから、右（画面の外側）へ小さく2回弾んで止まる（@keyframes follow-pop）。
   左へは行き過ぎないので、右端（画面の端）にすき間ができない。隠れるときはすっと。ページを開いたときは出ている */
body.rising .layout-header__follow {
  animation: follow-pop 0.6s ease-out;
}

body.drop .layout-header__follow {
  transform: translateX(110%);
}

/* 下層ページ（.component-page-visual があるページ）は、ページの一番上（common.js が body に .scroll-top）にいる間は右へ隠し、
   下へスクロールして（.drop で隠れたまま）上にスクロールしたとき（.rising）に出す。TOP は今までどおり最初から出す
   （本人指示 2026-10-27：下層では最初から出ていると本文の邪魔になる箇所があるため）
   - 開いた時点で common.js は .rising も付けるので、「上にスクロールした」の目印には .scroll-top が無いことを使う
   - 一番上まで戻ったときも、開いたときと同じく隠れる
   - 一番上で出てくるアニメーション（follow-pop）は止める
   - 見たまま編集画面では common.js のスクロール判定が動かず .scroll-top が付かないので、この指定は効かない */
body.scroll-top:has(.component-page-visual) .layout-header__follow {
  transform: translateX(110%);
  animation: none;
}

.layout-header__follow-title {
  color: var(--color-black);
  font-family: var(--font-family-english);
  font-size: 13px;
  font-weight: 600;
  letter-spacing: 0.1em;
  writing-mode: vertical-rl;
}

.layout-header__follow-list {
  margin-top: 12px;
  padding-top: 14px;
  background-image: radial-gradient(circle, var(--color-black) 1px, transparent 1.5px);
  background-repeat: repeat-x;
  background-position: center top;
  background-size: 6px 4px;
}

.layout-header__follow-item {
  width: 29px;
  margin-top: 8px;
}

.layout-header__follow-item a {
  display: block;
}

/* SNS のアイコンは Font Awesome（fa-brands。本人指示 2026-10-26：画像から差し替え・色は --color-main）。大きさは前の画像と同じ幅 */
.layout-header__follow-item .fa-brands {
  display: block;
  color: var(--color-main);
  font-size: 30px;
  line-height: 1;
  text-align: center;
}

@media (max-width: 1024px) {
  .layout-header__follow {
    top: auto;
    bottom: 160px;
    width: 44px;
    padding: 14px 0 12px 4px;
  }

  .layout-header__follow-title {
    font-size: 11px;
  }

  .layout-header__follow-item {
    width: 29px;
  }

  .layout-header__follow-item .fa-brands {
    font-size: 30px;
  }
}

@keyframes follow-pop {
  0% {
    transform: translateX(110%);
  }

  45% {
    transform: translateX(0);
  }

  65% {
    transform: translateX(14%);
  }

  80% {
    transform: translateX(0);
  }

  90% {
    transform: translateX(4%);
  }

  100% {
    transform: translateX(0);
  }
}


/* ==================================================
  Layout: Header Navigation（PC）
================================================== */

.layout-header__navigation {
  display: flex;
  align-items: center;
  position: relative;
  z-index: calc(var(--z-index-base) + 2);
  width: calc(100% - 80px);
  max-width: 1290px;
  min-height: 140px;
  margin-right: auto;
  margin-left: auto;
  padding: 0 24px 0 32px;
  background-image: url('/import/tenant_1/162.43.27.181/kato/image/common/frame_white.webp');
  background-repeat: no-repeat;
  background-size: 100% 100%;
}

.layout-header__navigation-list {
  display: flex;
  flex-grow: 1;
  align-items: center;
  min-width: 0;
}

.layout-header__navigation-item {
  position: relative;
  flex-grow: 1;
  min-width: 0;
}

/* 区切りのドット線 */
.layout-header__navigation-item::after {
  content: '';
  position: absolute;
  top: 50%;
  right: 0;
  width: 4px;
  height: 72px;
  background-image: radial-gradient(circle, var(--color-main) 1.5px, transparent 2px);
  background-repeat: repeat-y;
  background-size: 4px 9px;
  transform: translateY(-50%);
}

.layout-header__navigation-item > a {
  display: block;
}

/* 縦並び（column）：PC の改行は <span class="break-pc"></span>（文字と span を縦に積んで改行にする） */
.layout-header__navigation-link {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  min-height: 88px;
  padding: 8px 20px;
  font-size: 15px;
  font-weight: 700;
  line-height: 1.6;
  text-align: center;
}

.layout-header__dropdown {
  position: absolute;
  top: 100%;
  left: 50%;
  z-index: calc(var(--z-index-base) + 1);
  min-width: 240px;
  padding: 8px 0;
  border-radius: var(--radius-large);
  background-color: var(--color-white);
  box-shadow: 0 6px 16px rgba(104, 63, 38, 0.15);
  opacity: 0;
  visibility: hidden;
  transform: translate(-50%, 8px);
  transition:
    opacity var(--duration-normal) ease,
    visibility var(--duration-normal) ease,
    transform var(--duration-normal) ease;
  /* 閉じていく途中（フェード中）はまだ見えていてマウスに反応するため、カーソルを外してすぐ戻すと
     メニューの上で親の :hover が付き直して再表示されていた（check.csv No.103）。閉じている間は反応させない */
  pointer-events: none;
}

/* PC だけ（タブレット・SP のドロワーの中で効くと、タップした瞬間に translate(-50%) で左へずれるため。2026-10-26） */
@media (min-width: 1025px) and (hover: hover) and (pointer: fine) {
  .layout-header__navigation-item:hover .layout-header__dropdown {
    opacity: 1;
    visibility: visible;
    transform: translate(-50%, 0);
    pointer-events: auto;
  }
}

.layout-header__dropdown-item a {
  display: block;
}

.layout-header__dropdown-link {
  padding: 10px 24px;
  font-size: 14px;
  font-weight: 700;
  line-height: 1.5;
  white-space: nowrap;
}

.layout-header__navigation-cart {
  flex-shrink: 0;
  width: 92px;
  margin-left: 20px;
}

.layout-header__navigation-cart a {
  display: block;
}

.layout-header__navigation-cart img {
  width: 100%;
  height: auto;
}

/* 1025〜1240px：改行（break-pc）以外で折り返さないよう詰める */
@media (min-width: 1025px) and (max-width: 1260px) {
  .layout-header__navigation {
    padding: 0 16px 0 20px;
  }

  .layout-header__navigation-link {
    padding: 8px 6px;
    font-size: 13px;
    white-space: nowrap;
  }

  .layout-header__navigation-cart {
    width: 76px;
    margin-left: 8px;
  }
}

/* MV（下層は page-visual）の下端に 50px 重ねる */
@media (min-width: 1025px) {
  .layout-header__navigation {
    position: absolute;
    top: calc(var(--header-height) + var(--visual-height) - 50px);
    left: 50%;
    transform: translateX(-50%);
  }
}

/*
  タブレット・SP：同じナビをハンバーガーのドロワーの中に縦の一覧で出す（本人指示 2026-10-26：PC とハンバーガーのリンクを1か所に）
  - ドロップダウンの中のページは、親の下に少し字下げして開いたまま並べる
  - PC のナビに無いページ（TOP など）は HTML で up-hide up-show@tb。PC だけのもの（カート・ドロップダウンの「ゆいちごのおはなし」）は up-hide@tb
*/
@media (max-width: 1024px) {
  .layout-header__navigation {
    display: block;
    width: auto;
    max-width: none;
    min-height: 0;
    margin-top: 24px;
    padding: 0;
    background-image: none;
  }

  .layout-header__navigation-list {
    display: block;
  }

  .layout-header__navigation-item {
    border-bottom: 1px dotted var(--color-main);
  }

  .layout-header__navigation-item::after {
    content: none;
  }

  .layout-header__navigation-link {
    display: block;
    min-height: 0;
    padding: 14px 4px;
    font-size: 14px;
    line-height: 1.5;
    text-align: left;
  }

  .layout-header__dropdown {
    position: static;
    min-width: 0;
    margin-top: -6px;
    padding: 0 0 10px 1em;
    border-radius: 0;
    background-color: transparent;
    box-shadow: none;
    opacity: 1;
    visibility: visible;
    transform: none;
    transition: none;
    pointer-events: auto;
  }

  .layout-header__dropdown-link {
    padding: 6px 4px;
    font-size: 13px;
    white-space: normal;
  }

  .layout-header__dropdown-link::before {
    content: '−';
    margin-right: 4px;
  }
}


/* ==================================================
  Layout: Header 追従時（PC・common.js §9 の body.fixed）
  ナビの元の位置の下端までスクロールすると body に fixed が付く（common.js で判定位置を変更済み）。
  ヘッダー本体は固定せず通常の流れのまま（main への余白は不要）。
  ナビと追従ボタン（商品購入・イベント予約・お問い合わせ）を同時に position: fixed にする。
  ナビは下スクロールで隠れ、上スクロール（.rising）で出る。

  表示の切り替え（ふわっと出す・消す）：common.js が body に付ける3つの状態
  - .fixed だけ：「固定・非表示」（ナビは上に、ボタンは右に退避して透明）。transition なしで一瞬で切り替える
  - .fixed.is-fixed-visible：0.3秒で表示位置へ移動＋フェードイン
  - .fixed.is-fixed-hiding：0.3秒でフェードアウト（固定のまま）。消え終わったら common.js が fixed を外して元の位置へ戻す
  transition は「表示」「消える途中」の状態だけに付ける。.fixed 自体に付けると、固定し始めた瞬間に
  「表示 → 非表示」へのアニメーションが始まってしまい、スライドインにならない。
  （position は transition できないため、固定のまま消してから戻す）
================================================== */

@media (min-width: 1025px) {
  body.fixed .layout-header__navigation {
    position: fixed;
    top: 0;
    left: 50%;
    min-height: 100px;
    margin: 0;
    visibility: visible;
    opacity: 0;
    transform: translate(-50%, -110%);
  }

  body.fixed.is-fixed-visible .layout-header__navigation,
  body.fixed.is-fixed-hiding .layout-header__navigation {
    transition:
      transform 0.3s ease,
      opacity 0.3s ease;
  }

  /* 元の位置に戻るとき（固定が外れた直後）：透明・少し上から、0.4秒でふわっと元の位置に出す（本人指示 2026-10-26：ぱっと出ないように）
     common.js が固定を外す瞬間に body へ .is-fixed-returning を付け、次の描画で外す */
  body:not(.fixed) .layout-header__navigation {
    transition:
      transform 0.4s ease,
      opacity 0.4s ease;
  }

  body.is-fixed-returning .layout-header__navigation {
    opacity: 0;
    transform: translate(-50%, -16px);
    transition: none;
  }

  /* 上スクロール中だけ出す（下スクロール中は上へ隠れる） */
  body.fixed.is-fixed-visible.rising .layout-header__navigation {
    opacity: 1;
    transform: translate(-50%, 0);
  }

  body.fixed .layout-header__navigation-link {
    min-height: 72px;
  }

  body.fixed .layout-header__navigation-cart {
    width: 72px;
  }

  body.fixed .layout-header__follow {
    /* top: 120px; */
    visibility: visible;
  }

  /* 追従ボタン：FOLLOW US の下へ縦に並べる */
  body.fixed .layout-header__site-button-list {
    flex-direction: column;
    position: fixed;
    /* top: 368px; */
    top: auto;
    bottom: 5%;
    right: 0;
    visibility: visible;
    opacity: 0;
    transform: translateX(100%);
  }

  /* 右端からスライドイン＋フェードイン */
  body.fixed.is-fixed-visible .layout-header__site-button-list {
    opacity: 1;
    transform: translateX(0);
  }

  body.fixed.is-fixed-visible .layout-header__site-button-list,
  body.fixed.is-fixed-hiding .layout-header__site-button-list {
    transition:
      transform 0.3s ease,
      opacity 0.3s ease;
  }

  /* 追従中の形（ヘッダーの追従ボタンだけ。フッターの丸型ボタンには効かせない） */
  body.fixed .layout-header__site-button-list .component-site-button {
    width: 84px;
    margin-top: 8px;
    margin-left: 0;
  }

  body.fixed .layout-header__site-button-list .component-site-button__inner {
    min-height: 84px;
    padding: 10px 4px;
    border: 3px solid var(--color-white);
    border-right: 0;
    border-radius: var(--radius-large) 0 0 var(--radius-large);
    font-size: 11px;
    letter-spacing: 0;
  }

  body.fixed .layout-header__site-button-list .component-site-button__icon {
    width: 22px;
    margin-bottom: 6px;
  }

  /*
    フッターのお問い合わせ（.layout-footer__contact）が画面に入ったら、追従ボタンも FOLLOW US と同じ動きに：
    下にスクロール中は右へ隠し、上にスクロールしたらひょこっと出す（@keyframes follow-pop）。
    お問い合わせより上では今までどおり出たまま（本人指示 2026-10-26）。
    common.js「フッターに入ったら追従ボタンを隠す」が body に .is-footer-reached を付け外しする。
    上の「表示」の指定（body.fixed.is-fixed-visible）より強くするため、同じクラスを重ねている
  */
  body.fixed.is-fixed-visible.is-footer-reached.rising .layout-header__site-button-list {
    animation: follow-pop 0.6s ease-out;
  }

  body.fixed.is-fixed-visible.is-footer-reached.drop .layout-header__site-button-list {
    transform: translateX(110%);
    transition: transform 0.25s ease-in;
  }
}


/* ==================================================
  Layout: Hamburger / Drawer（タブレット・SP）
  ハンバーガーはスクロールしても右上に残す（追従。本人指示 2026-10-26）
================================================== */

.layout-header__hamburger {
  position: fixed;
  top: 24px;
  right: 12px;
  z-index: calc(var(--z-index-overlay) + 2);
  width: 52px;
  height: 52px;
  border-radius: 50%;
  background-color: var(--color-main);
}

/* 3本線 */
.layout-header__hamburger::before {
  content: '';
  position: absolute;
  top: 13px;
  left: 50%;
  width: 22px;
  height: 12px;
  border-top: 2px solid var(--color-white);
  border-bottom: 2px solid var(--color-white);
  transform: translateX(-50%);
  pointer-events: none;
}

.layout-header__hamburger::after {
  content: '';
  position: absolute;
  top: 18px;
  left: 50%;
  width: 22px;
  height: 2px;
  background-color: var(--color-white);
  transform: translateX(-50%);
  pointer-events: none;
}

/* メニューを開いたら3本線を × に（本人指示 2026-10-26）。
   ::before（上下2本）を上の1本だけにして真ん中の高さへ下げ、::before と ::after（真ん中の1本）を逆向きに 45° 傾ける */
.layout-header__hamburger::before,
.layout-header__hamburger::after {
  transition:
    top var(--duration-normal) ease,
    height var(--duration-normal) ease,
    border-color var(--duration-normal) ease,
    transform var(--duration-normal) ease;
}

body.drawer-active .layout-header__hamburger::before {
  top: 18px;
  height: 2px;
  border-bottom-width: 0;
  border-bottom-color: transparent;
  transform: translateX(-50%) rotate(45deg);
}

body.drawer-active .layout-header__hamburger::after {
  transform: translateX(-50%) rotate(-45deg);
}

.layout-header__hamburger button {
  width: 100%;
  height: 100%;
  padding-top: 24px;
  border: 0;
  background-color: transparent;
  color: var(--color-white);
  font-family: var(--font-family-english);
  font-size: 10px;
  font-weight: 600;
  letter-spacing: 0.05em;
}

.layout-drawer {
  position: fixed;
  top: 0;
  right: 0;
  z-index: calc(var(--z-index-overlay) + 1);
  width: min(86%, 360px);
  height: 100%;
  overflow-y: auto;
  background-color: var(--color-background);
  transform: translateX(100%);
  transition: transform var(--duration-normal) ease;
}

body.drawer-active .layout-drawer {
  transform: translateX(0);
}

/*
  PC：ドロワーは箱を作らない（display: contents）→ 中のグローバルナビ（.layout-header__navigation）だけが、
  今までどおりヘッダーの中の位置に出る（PC とハンバーガーでナビを1つにしたため。本人指示 2026-10-26）。
  ドロワーだけの部分（電話・ボタン・SNS・バナー）は HTML の up-hide up-show@tb で PC では出ない。
  ナビのリンク（.global-nav a）を押すと common.js がドロワー用の幕を作るので、PC では幕を出さない
*/
@media (min-width: 1025px) {
  .layout-drawer,
  .layout-drawer__inner {
    display: contents;
  }

  .overlay {
    display: none;
  }
}

.overlay {
  position: fixed;
  top: 0;
  left: 0;
  z-index: var(--z-index-overlay);
  width: 100%;
  height: 100%;
  background-color: rgba(104, 63, 38, 0.4);
  opacity: 0;
  visibility: hidden;
  transition:
    opacity var(--duration-normal) ease,
    visibility var(--duration-normal) ease;
}

body.drawer-active .overlay {
  opacity: 1;
  visibility: visible;
}

/* 上の余白は × ボタンと h1（タブレット・SP ではドロワーの上端に重ねる）の分。
   h1 が長くて 88px を超えるときは、common.js が測った h1 の高さ（--drawer-title-height）にする */
.layout-drawer__inner {
  padding: max(88px, var(--drawer-title-height, 0px)) 24px 40px;
}

.layout-drawer__tel {
  text-align: center;
}

.layout-drawer__tel a {
  color: inherit;
  text-decoration: none;
}

.layout-drawer__tel-number {
  font-family: var(--font-family-english);
  font-size: 26px;
  font-weight: 500;
  line-height: 1.3;
}

/* 電話番号の下に住所（本人指示 2026-10-28）。ドロワーの中身なので、スクロールすると一緒に動く。
   ヘッダーの住所（.layout-header__address。PC で h1 の下）と同じ文字を入れている＝住所が変わったら両方を直す */
.layout-drawer__address {
  margin-top: 4px;
  font-size: 12px;
  line-height: 1.5;
  text-align: center;
}

.layout-drawer__button-list {
  display: flex;
  justify-content: space-between;
  margin-top: 16px;
}

.layout-drawer__button {
  width: calc(50% - 6px);
}

.layout-drawer__button a {
  display: block;
}

.layout-drawer__button-text {
  padding: 12px 8px;
  border-radius: var(--radius-large);
  background-color: var(--color-main);
  color: var(--color-white);
  font-size: 14px;
  font-weight: 700;
  line-height: 1.4;
  text-align: center;
}

.layout-drawer__button--shop .layout-drawer__button-text {
  background-color: var(--color-gold);
}

.layout-drawer__button--event .layout-drawer__button-text {
  background-color: var(--color-accent);
}

/* ナビの一覧は .layout-header__navigation（Layout: Header Navigation のタブレット・SP） */

.layout-drawer__sns-list {
  display: flex;
  justify-content: center;
  margin-top: 24px;
}

.layout-drawer__sns-item {
  width: 28px;
  margin: 0 10px;
}

.layout-drawer__sns-item a {
  display: block;
}

/* SNS のアイコン（Font Awesome） */
.layout-drawer__sns-item .fa-brands {
  display: block;
  color: var(--color-main);
  font-size: 28px;
  line-height: 1;
  text-align: center;
}

.layout-drawer__banner-list {
  margin-top: 24px;
}

.layout-drawer__banner {
  margin-top: 12px;
}

.layout-drawer__banner a {
  display: block;
}


/* ==================================================
  Layout: Footer
================================================== */

.layout-footer-outer {
  position: relative;
}

/* お問い合わせ */
.layout-footer__contact {
  position: relative;
  padding-top: 310px;
}

.layout-footer__contact-background {
  position: absolute;
  top: 0;
  left: 0;
  height: 500px;
}

.layout-footer__contact-inner {
  position: relative;
  z-index: var(--z-index-base);
}

/* ボックスを前面に（イラストは背面に潜り込ませる） */
.layout-footer__contact-card {
  position: relative;
  z-index: calc(var(--z-index-base) + 1);
  max-width: 1175px;
  margin-right: auto;
  margin-left: auto;
  padding: 72px 64px 80px;
  background-image: url('/import/tenant_1/162.43.27.181/kato/image/common/frame_white.webp');
  background-repeat: no-repeat;
  background-size: 100% 100%;
  filter: drop-shadow(0 12px 10px rgba(104, 63, 38, 0.08));
}

/*
  人物イラスト：ボックスの背面（z-index はボックスより1つ下）。
  ボックスの兄弟要素として置き、マイナスマージンで足元をボックスの裏へ潜らせて隙間をなくす。
  潜らせた分だけ高さを足し、見える大きさは変えない
*/
.layout-footer__contact-illust-list {
  display: flex;
  align-items: flex-end;
  position: absolute;
  bottom: 100%;
  left: 50%;
  z-index: var(--z-index-base);
  margin-bottom: -20px;
  transform: translateX(-50%);
  pointer-events: none;
}

.layout-footer__contact-illust {
  width: 180px;
  height: 148px;
  overflow: hidden;
}

.layout-footer__contact-illust:nth-child(1) {
  margin-right: -90px;
}

.layout-footer__contact-illust img {
  width: 100%;
  height: auto;
}

.layout-footer__contact-title {
  /* values 28px-44px view 375px-1440px */
  font-size: clamp(28px, 1.5vw + 22.4px, 44px);
}

.layout-footer__contact-lead {
  margin-top: 28px;
  font-size: 15px;
  line-height: 2;
}

.layout-footer__contact-list {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-top: 48px;
}

.layout-footer__contact-item {
  width: 300px;
  text-align: center;
}

.layout-footer__contact-item--tel {
  width: 38%;
  padding-right: 24px;
  border-right: 1px solid var(--color-border);
}

.layout-footer__contact-label {
  font-size: 17px;
  font-weight: 900;
  line-height: 1.5;
}

.layout-footer__contact-tel {
  margin-top: 10px;
}

.layout-footer__contact-tel a {
  color: inherit;
  text-decoration: none;
}

.layout-footer__contact-tel-number {
  display: inline-block;
  padding-left: 30px;
  background-image: url('/import/tenant_1/162.43.27.181/kato/image/common/icon_tel.webp');
  background-repeat: no-repeat;
  background-position: left center;
  background-size: 22px auto;
  font-family: var(--font-family-english);
  font-size: 42px;
  font-weight: 500;
  line-height: 1.2;
}

.layout-footer__contact-hours {
  margin-top: 4px;
  font-size: 13px;
  font-weight: 400;
  line-height: 1.5;
}

.layout-footer__contact-button {
  margin-top: 12px;
}

.layout-footer__contact-button a {
  display: block;
}

.layout-footer__contact-button-inner {
  display: flex;
  align-items: center;
  justify-content: center;
  min-height: 76px;
  padding: 8px 16px;
  border-radius: 18px;
  background-color: var(--color-background-light);
  background-image: url('/import/tenant_1/162.43.27.181/kato/image/common/frame_button.webp');
  background-repeat: no-repeat;
  background-size: 100% 100%;
}

.layout-footer__contact-button-icon {
  flex-shrink: 0;
  width: 28px;
  margin-right: 12px;
}

/* LINE のアイコン（Font Awesome） */
.layout-footer__contact-button-icon .fa-brands {
  display: block;
  color: var(--color-main);
  font-size: 28px;
  line-height: 1;
  text-align: center;
}

/* メールのアイコン（白い素材を文字色で塗る） */
.layout-footer__contact-button--mail .layout-footer__contact-button-icon {
  width: 26px;
  height: 22px;
  background-color: var(--color-main);
  -webkit-mask-image: url('/import/tenant_1/162.43.27.181/kato/image/common/icon_mail.webp');
  mask-image: url('/import/tenant_1/162.43.27.181/kato/image/common/icon_mail.webp');
  -webkit-mask-repeat: no-repeat;
  mask-repeat: no-repeat;
  -webkit-mask-size: 100% 100%;
  mask-size: 100% 100%;
}

.layout-footer__contact-button-text {
  font-size: 15px;
  font-weight: 700;
  line-height: 1.5;
}

/* 店舗情報・地図 */
.layout-footer__information {
  padding-top: 96px;
}

.layout-footer__information-inner {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
}

.layout-footer__information-body {
  width: 48%;
  min-width: 0;
  padding-top: 46px;
}

.layout-footer__name {
  display: flex;
  align-items: center;
}

.layout-footer__name-text {
  display: flex;
  flex-wrap: wrap;
  align-items: baseline;
  font-weight: 900;
  line-height: 1.4;
}

.layout-footer__name-sub {
  margin-right: 12px;
  font-size: 16px;
}

.layout-footer__name-main {
  font-size: 32px;
}

.layout-footer__name-logo {
  flex-shrink: 0;
  width: 77px;
  margin-left: 18px;
}

.layout-footer__name-logo img,
.layout-footer__brand-logo img {
  width: 100%;
  height: auto;
}

.layout-footer__address {
  margin-top: 12px;
  font-size: 15px;
  line-height: 1.9;
}

.layout-footer__tel {
  margin-top: 8px;
}

.layout-footer__tel a {
  color: inherit;
  text-decoration: none;
}

.layout-footer__tel-number {
  display: inline-block;
  padding-left: 28px;
  background-image: url('/import/tenant_1/162.43.27.181/kato/image/common/icon_tel.webp');
  background-repeat: no-repeat;
  background-position: left center;
  background-size: 18px auto;
  font-family: var(--font-family-english);
  font-size: 30px;
  font-weight: 500;
  line-height: 1.3;
}

.layout-footer__sns-list {
  display: flex;
  margin-top: 16px;
}

.layout-footer__sns-item {
  width: 26px;
  margin-right: 20px;
}

.layout-footer__sns-item a {
  display: block;
}

/* SNS のアイコン（Font Awesome） */
.layout-footer__sns-item .fa-brands {
  display: block;
  color: var(--color-main);
  font-size: 35px;
  line-height: 1;
  text-align: center;
}

.layout-footer__site-button-list {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  margin-top: 36px;
}

.layout-footer__map {
  flex-shrink: 0;
  width: 46%;
  max-width: 500px;
}

/* 地図（Googleマップの埋め込み）：枠は up-ofi-100、重ね方は base.css の .iframe。.iframe に高さが無いので枠いっぱいにする */
.layout-footer__map-image iframe {
  height: 100%;
}

.layout-footer__banner-list {
  display: flex;
  justify-content: center;
  gap: 18px;
  margin-top: 48px;
}

.layout-footer__banner {
  width: 288px;
  max-width: calc((100% - 36px) / 3);
}

.layout-footer__banner a {
  display: block;
}

/* ナビ・コピーライト */
.layout-footer__bottom {
  position: relative;
  margin-top: 120px;
  padding-top: 110px;
  background-color: var(--color-white);
}

/* 上端のゆるい波 */
.layout-footer__bottom::before {
  content: '';
  position: absolute;
  top: -40px;
  left: 0;
  width: 100%;
  height: 41px;
  background-color: var(--color-white);
  clip-path: polygon(0 50%, 15% 25%, 30% 20%, 45% 40%, 55% 70%, 70% 50%, 85% 20%, 100% 45%, 100% 100%, 0 100%);
  pointer-events: none;
}

/* 右は 7%。狭いタブレット（600px 付近）で右下の FOLLOW US（幅 44px）に重ならないよう、最低 56px */
.component-page-top-button {
  position: absolute;
  top: -17px;
  right: max(6%, 56px);
  z-index: calc(var(--z-index-base) + 1);
  width: 87px;
  height: 87px;
  background-image: url('/import/tenant_1/162.43.27.181/kato/image/common/button_pagetop.webp');
  background-repeat: no-repeat;
  background-size: 100% 100%;
  border-radius: 50%;
  box-shadow: 4px 6px 8px rgba(104, 63, 38, 0.12);
}

/* 文字は読み上げ用に残し、見た目は画像にする */
.component-page-top-button button {
  width: 100%;
  height: 100%;
  overflow: hidden;
  border: 0;
  background-color: transparent;
  color: transparent;
  font-size: 0;
}

.layout-footer__bottom-inner {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  position: relative;
  z-index: 2;
}

.layout-footer__brand {
  flex-shrink: 0;
}

.layout-footer__brand-logo {
  width: 150px;
}

.layout-footer__brand-logo a {
  display: block;
}

.layout-footer__copyright {
  margin-top: 52px;
  font-size: 12px;
  line-height: 1.5;
}

.layout-footer__navigation {
  display: flex;
  gap: 70px;
  min-width: 0;
}

.layout-footer__navigation-item {
  margin-bottom: 12px;
}

.layout-footer__navigation-item a {
  display: block;
}

.layout-footer__navigation-link {
  position: relative;
  padding: 2px 0 2px 30px;
  font-size: 15px;
  line-height: 1.6;
}

/* 赤い丸の矢印 */
.layout-footer__navigation-link::before {
  content: '';
  position: absolute;
  top: 6px;
  left: 0;
  width: 18px;
  height: 18px;
  border-radius: 50%;
  background-color: var(--color-accent);
  background-image: url('/import/tenant_1/162.43.27.181/kato/image/common/icon_arrow_white.webp');
  background-repeat: no-repeat;
  background-position: center;
  background-size: 9px auto;
}

.layout-footer__scenery {
  position: relative;
  margin-top: -20px;
  pointer-events: none;
  z-index: 1;
}

.layout-footer__hills img,
.layout-footer__cloud img {
  width: 100%;
  height: auto;
}

.layout-footer__cloud {
  position: absolute;
}

.layout-footer__cloud--01 {
  top: -40px;
  left: 10%;
  width: 180px;
}

.layout-footer__cloud--02 {
  top: -90px;
  left: 21%;
  width: 80px;
}

.layout-footer__cloud--03 {
  top: 25px;
  left: 25%;
  width: 56px;
}

/* 1025〜1240px：左右の余白が 1% しかなく、ナビの項目が折り返し、コピーライト・雲がナビに重なるので詰める（本人指示 2026-10-26） */
@media (min-width: 1025px) and (max-width: 1240px) {
  .layout-footer__bottom-inner {
    width: calc(100% - 64px);
  }

  .layout-footer__navigation {
    gap: 32px;
  }

  .layout-footer__navigation-link {
    font-size: 14px;
  }

  /* 雲はロゴ・コピーライトの列（左 約 220px）の中、コピーライトの下に収める */
  .layout-footer__cloud--01 {
    top: -25px;
    left: 3%;
    width: 120px;
  }

  .layout-footer__cloud--02 {
    top: -48px;
    left: 15%;
    width: 56px;
  }

  .layout-footer__cloud--03 {
    top: 22px;
    left: 18%;
    width: 40px;
  }
}

@media (max-width: 1024px) {
  .layout-footer__contact {
    padding-top: 200px;
  }

  .layout-footer__contact-background {
    height: 320px;
  }

  .layout-footer__contact-card {
    padding: 48px 24px 48px;
  }

  .layout-footer__contact-illust-list {
    margin-bottom: -15px;
  }

  .layout-footer__contact-list {
    /* flex-direction: column; */
    flex-wrap: wrap;
    gap: 32px;
    margin-top: 32px;
  }

  .layout-footer__contact-illust {
    width: 155px;
    height: 120px;
}

.layout-footer__contact-illust:nth-child(1) {
    margin-right: -70px;
}

  .layout-footer__contact-item {
    width: 100%;
    max-width: 320px;
    padding-right: 0;
    border-right: 0;
    margin: auto;
  }
  
  .layout-footer__contact-item--tel {
    width: 100%;
    max-width: none;
    padding-right: 0;
    border-right: 0;
  }


  .layout-footer__contact-label {
    font-size: 15px;
  }

  .layout-footer__contact-tel-number {
    font-size: 34px;
  }

  .layout-footer__information {
    padding-top: 64px;
  }

  .layout-footer__information-inner {
    flex-direction: column;
  }

  /* 店舗情報も中央に（本人指示 2026-10-26：フッター下部と同じく、1024px 以下で中央寄せ） */
  .layout-footer__information-body {
    width: 100%;
    padding-top: 0;
    text-align: center;
  }

  .layout-footer__name {
    justify-content: center;
  }

  .layout-footer__name-text {
    justify-content: center;
  }

  /* 右だけの余白だと最後のアイコンの右に余りが出て中央からずれるので、左右に半分ずつ */
  .layout-footer__sns-list {
    justify-content: center;
  }

  .layout-footer__sns-item {
    margin-right: 15px;
    margin-left: 15px;
  }

  .layout-footer__site-button-list {
    justify-content: center;
  }

  .layout-footer__map {
    width: 100%;
    max-width: none;
    margin-top: 40px;
  }

  .layout-footer__banner-list {
    /* flex-direction: column; */
    align-items: center;
    gap: 12px;
  }

  .layout-footer__banner {
    width: 100%;
    max-width: 320px;
  }

  .layout-footer__bottom {
    margin-top: 96px;
    padding-top: 72px;
  }

  /* 縦並びにして中央へ（本人指示 2026-10-26：左に寄って見えるので、ロゴ・コピーライト・ナビを中央に） */
  .layout-footer__bottom-inner {
    flex-direction: column;
    align-items: center;
  }

  .layout-footer__brand {
    display: flex;
    flex-direction: column;
    align-items: center;
  }

  .layout-footer__copyright {
    margin-top: 16px;
  }

  /* ナビ：3列が1行に収まる幅（約 800px 以上）は3列のまま。収まらない幅は下の 800px 以下で2列分の箱にする */
  .layout-footer__navigation {
    flex-wrap: wrap;
    gap: 0 24px;
    width: 100%;
    margin-top: 32px;
  }

  .layout-footer__scenery {
    margin-top: 0;
  }

  /* 雲がフッターナビの文字に重ならないよう、景色の範囲内に収める */
  .layout-footer__cloud--01 {
    top: 8px;
    width: 120px;
  }

  .layout-footer__cloud--02 {
    top: 0;
    width: 56px;
  }

  .layout-footer__cloud--03 {
    top: 44px;
    width: 40px;
  }
  .layout-footer__cloud--01 {
    left: 25%;
  }
    .layout-footer__cloud--02 {
    left: 50%;
  }
  .layout-footer__cloud--03{
    left: 45%;
  }
}

/* 600〜800px：3列が1行に収まらず3列目が折り返す幅。ナビを1列目＋2列目の幅（225px＋24px＋285px）の箱にして中央に
   （画面幅いっぱいのままだと左に寄って右が大きく空く。本人指示 2026-10-26） */
@media (max-width: 800px) {
  .layout-footer__navigation {
    max-width: 534px;
  }
}

@media (max-width: 599px) {
  /* フッターナビ：SP は1列。いちばん長い項目の幅の箱にして中央に（項目の頭は左でそろえる） */
  .layout-footer__navigation {
    flex-direction: column;
    width: auto;
    max-width: 100%;
  }

  /* ページトップボタン：SP は右下の FOLLOW US（上スクロールで出てくる）と重ならないよう、波の上の中央に
     （タブレットは PC と同じ右 7%。本人指示 2026-10-26） */
  .component-page-top-button {
    right: auto;
    left: 50%;
    transform: translateX(-50%);
    width: 70px;
    height: 70px;
    top: -45px;
  }

  .layout-footer__name {
    flex-direction: column;
  }

  .layout-footer__name-logo{
    margin-left: 0;
    margin-top: 10px;
  }

  .layout-footer__name-text {
    flex-direction: column;
    align-items: center;
  }

  .layout-footer__name-sub {
    margin-right: 0;
    font-size: 14px;
  }

  .layout-footer__name-main {
    font-size: 26px;
  }
    .layout-footer__cloud--01 {
    left: 10%;
  }
    .layout-footer__banner-list {
    flex-direction: column;
  }

}


/* ==================================================
  Component: Site Button（円形：フッター）
  形・大きさはこの Modifier だけで完結させる（ヘッダーの追従ボタンの指定は入ってこない）
================================================== */

.component-site-button--circle {
  width: 140px;
}

.component-site-button--circle .component-site-button__inner {
  min-height: 140px;
  padding: 12px;
  border: 6px solid var(--color-white);
  border-radius: 50%;
  font-size: 15px;
  box-shadow: 0 10px 12px rgba(104, 63, 38, 0.15);
}

@media (max-width: 1024px) {
  .component-site-button--circle {
    width: 104px;
  }

  .component-site-button--circle .component-site-button__inner {
    min-height: 104px;
    border-width: 4px;
    font-size: 12px;
    box-shadow: 0 6px 10px rgba(104, 63, 38, 0.15);
  }

  .component-site-button--circle .component-site-button__icon {
    width: 22px;
    margin-bottom: 6px;
  }
}


/* ==================================================
  Component: Section Title（セクション見出し）
  既定：下に金色の波線／--sun：上に太陽の飾り
================================================== */

.component-section-title {
  position: relative;
  /* values 28px-50px view 375px-1440px */
  font-size: clamp(28px, 2.07vw + 20.3px, 50px);
  font-weight: 700;
  line-height: 1.4;
  text-align: center;
  letter-spacing: 0.04em;
}

.component-section-title::after {
  content: '';
  display: block;
  width: 78px;
  height: 12px;
  margin: 18px auto 0;
  background-image: url('/import/tenant_1/162.43.27.181/kato/image/common/deco_wave.webp');
  background-repeat: no-repeat;
  background-size: 100% 100%;
}

.component-section-title--sun::before {
  content: '';
  display: block;
  width: 117px;
  height: 50px;
  margin: 0 auto 28px;
  background-image: url('/import/tenant_1/162.43.27.181/kato/image/common/deco_sun.webp');
  background-repeat: no-repeat;
  background-size: 100% 100%;
}

.component-section-title--sun::after {
  content: none;
}

.component-section-title--dots::after {
  width: 69px;
  height: 17px;
  background-image: url('/import/tenant_1/162.43.27.181/kato/image/common/deco_dots.webp');
}

.component-section-lead {
  margin-top: 36px;
  font-size: 16px;
  line-height: 2.5;
}

@media (max-width: 599px) {
  .component-section-title--sun::before {
    width: 82px;
    height: 35px;
    margin-bottom: 16px;
  }

  .component-section-lead {
    margin-top: 24px;
    font-size: 15px;
    line-height: 2;
  }
}


/* ==================================================
  Component: Button（手描き枠のボタン）
================================================== */

/* 文字数が増えたらボタンが横に伸びる（最小300px） */
.component-button {
  width: -moz-fit-content;
  width: fit-content;
  min-width: 300px;
  max-width: 100%;
}

@media (max-width: 599px) {
  .component-button {
    min-width: 0;
    width: 100%;
    max-width: 320px;
  }
}

.component-button a {
  display: block;
}

.component-button__inner {
  display: flex;
  align-items: center;
  position: relative;
  min-height: 76px;
  padding: 12px 38px 12px 28px;
  border-radius: 18px;
  background-color: var(--color-white);
  background-image: url('/import/tenant_1/162.43.27.181/kato/image/common/frame_button.webp');
  background-repeat: no-repeat;
  background-size: 100% 100%;
}

/* 右の矢印 */
.component-button__inner::after {
  content: '';
  position: absolute;
  top: 50%;
  right: 16px;
  width: 29px;
  height: 18px;
  background-image: url('/import/tenant_1/162.43.27.181/kato/image/common/icon_arrow.webp');
  background-repeat: no-repeat;
  background-size: 100% 100%;
  transform: translateY(-50%);
}

.component-button__text {
  font-size: 15px;
  font-weight: 700;
  line-height: 1.5;
}

.component-button--center {
  margin-right: auto;
  margin-left: auto;
}

.component-button--center .component-button__inner {
  /* justify-content: center; */
  padding-left: 56px;
}

@media (max-width: 599px) {
  .component-button__inner {
    min-height: 68px;
    padding: 10px 56px 10px 24px;
  }

  .component-button__inner::after {
    right: 20px;
  }

  .component-button--center .component-button__inner {
    padding-left: 40px;
  }
}


/* ==================================================
  Component: Number Media（番号付きの画像＋テキスト2カラム）
================================================== */

.component-number-media {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
}

.component-number-media--reverse {
  flex-direction: row-reverse;
}

.component-number-media__body {
  position: relative;
  z-index: var(--z-index-base);
  width: 43%;
  min-width: 0;
}

/* 番号は見出しの後ろに重ねる。番号を消しても上に余白が残らないよう、absolute にせず負の margin で重ねる */
.component-number-media__number {
  position: relative;
  z-index: calc(var(--z-index-base) - 2);
  margin-bottom: -68px;
  margin-left: -44px;
  color: var(--color-white);
  font-family: var(--font-family-english);
  font-size: 160px;
  font-weight: 600;
  line-height: 1;
}

/* 地色が白に近いセクションでは番号をベージュにする */
.component-number-media--on-base .component-number-media__number {
  color: var(--color-background-light);
}

.component-number-media__title {
  /* values 24px-36px view 375px-1440px */
  font-size: clamp(24px, 1.13vw + 19.8px, 36px);
  font-weight: 700;
  line-height: 1.65;
  letter-spacing: 0.04em;
}

.component-number-media__title-accent {
  color: var(--color-sub);
}

.component-number-media__text {
  margin-top: 32px;
  font-size: 15px;
  line-height: 2.2;
}

.component-number-media__button {
  margin-top: 48px;
}

.component-number-media__visual {
  position: relative;
  z-index: calc(var(--z-index-base) - 1);
  width: 51%;
}

@media (max-width: 1024px) {
  .component-number-media,
  .component-number-media--reverse {
    flex-direction: column-reverse;
    align-items: stretch;
  }

  .component-number-media__body {
    width: 100%;
    margin-top: 32px;
  }

  .component-number-media__number {
    margin-bottom: -48px;
    margin-left: 0;
    font-size: 110px;
  }

  .component-number-media__text {
    margin-top: 20px;
    line-height: 2;
  }

  .component-number-media__button {
    margin-top: 32px;
    margin-right: auto;
    margin-left: auto;
  }

  .component-number-media__visual {
    width: 100%;
    max-width: 560px;
    margin-right: auto;
    margin-left: auto;
  }
}


/* ==================================================
  Component: Product Card（手描き枠の商品カード）
================================================== */

.component-product-card {
  position: relative;
  padding: 22px 20px 40px;
  background-color: var(--color-white);
  background-image: url('/import/tenant_1/162.43.27.181/kato/image/common/frame_product.webp');
  background-repeat: no-repeat;
  background-size: 100% 100%;
  box-shadow: 0 10px 16px rgba(104, 63, 38, 0.08);
}

.component-product-card__photo {
  position: relative;
}

/* 写真の手描き枠（up-ofi の ::after と競合しないよう親に付ける） */
.component-product-card__photo::after {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background-image: url('/import/tenant_1/162.43.27.181/kato/image/common/frame_product_photo03.png');
  background-repeat: no-repeat;
  background-size: 100% 100%;
  pointer-events: none;
  rotate: 1deg;
}

.component-product-card__title {
  margin-top: 22px;
  font-size: 19px;
  font-weight: 900;
  line-height: 1.5;
  text-align: center;
}

.component-product-card__text {
  margin-top: 12px;
  font-size: 14px;
  font-weight: 400;
  line-height: 1.75;
}

/* 価格（マルシェの商品一覧で使用） */
.component-product-card__price {
  margin-top: 10px;
  color: var(--color-accent);
  font-family: var(--font-family-english);
  font-size: 22px;
  font-weight: 600;
  line-height: 1.4;
  text-align: center;
}

.component-product-card__price-tax {
  margin-left: 2px;
  color: var(--color-text);
  font-family: var(--font-family-base);
  font-size: 12px;
  font-weight: 500;
}

.component-product-card__button {
  width: 162px;
  max-width: 100%;
  margin: 26px auto 0;
}

.component-product-card__button a {
  display: block;
}

.component-product-card__button-inner {
  display: flex;
  align-items: center;
  justify-content: center;
  min-height: 40px;
  padding: 4px 12px;
  border: 2px solid var(--color-main);
  border-radius: 6px;
  background-color: var(--color-background-light);
}

/* かごのアイコン（白い素材を文字色で塗る） */
.component-product-card__button-icon {
  flex-shrink: 0;
  width: 22px;
  height: 20px;
  margin-right: 8px;
  background-color: var(--color-main);
  -webkit-mask-image: url('/import/tenant_1/162.43.27.181/kato/image/common/icon_basket.webp');
  mask-image: url('/import/tenant_1/162.43.27.181/kato/image/common/icon_basket.webp');
  -webkit-mask-repeat: no-repeat;
  mask-repeat: no-repeat;
  -webkit-mask-size: 100% 100%;
  mask-size: 100% 100%;
}

.component-product-card__button-text {
  font-size: 14px;
  font-weight: 700;
  line-height: 1.4;
}

@media (max-width: 599px) {
  /* .component-product-card {
    padding: 14px 12px 24px;
  } */
   .component-product-card {
        padding: 20px 13px 24px;
    }
    
    .project-top-gift__list .component-product-card {
      padding: 26px 17px 24px;
    }

  .component-product-card__title {
    margin-top: 14px;
    font-size: 15px;
  }

  .component-product-card__text {
    font-size: 13px;
  }

  .component-product-card__button {
    margin-top: 16px;
  }

  .component-product-card__button-text {
    font-size: 13px;
  }
}


/* ==================================================
  Component: Icon Link（アイコン付きリンクカード）
================================================== */

.component-icon-link {
  width: 380px;
  max-width: 100%;
}

.component-icon-link a {
  display: block;
}

.component-icon-link__inner {
  display: flex;
  align-items: center;
  padding: 4px;
  border-radius: 20px;
  background-color: var(--color-white);
  box-shadow: 0 10px 16px rgba(104, 63, 38, 0.08);
}

.component-icon-link__icon {
  flex-shrink: 0;
  width: 136px;
}

.component-icon-link__icon img {
  width: 100%;
  height: auto;
}

.component-icon-link__body {
  min-width: 0;
  padding: 8px 16px 8px 32px;
}

.component-icon-link__title {
  font-size: 22px;
  font-weight: 700;
  line-height: 1.4;
}

.component-icon-link__english {
  margin-top: 4px;
  color: rgba(104, 63, 38, 0.3);
  font-family: var(--font-family-english);
  font-size: 14px;
  font-weight: 600;
  line-height: 1.4;
  letter-spacing: 0.06em;
}

@media (max-width: 599px) {
  .component-icon-link__icon {
    width: 96px;
  }

  .component-icon-link__body {
    padding-left: 20px;
  }

  .component-icon-link__title {
    font-size: 18px;
  }
}


/* ==================================================
  Component: FAQ（アコーディオン。common.js の .js-toggle）
================================================== */

.component-faq__item {
  margin-top: 16px;
}

.component-faq__question {
  position: relative;
  border-radius: 6px;
  background-color: var(--color-gold);
}

/* Q の印 */
.component-faq__question::before {
  content: 'Q';
  position: absolute;
  top: 50%;
  left: 26px;
  color: var(--color-main);
  font-family: var(--font-family-english);
  font-size: 26px;
  font-weight: 600;
  line-height: 1;
  transform: translateY(-50%);
  pointer-events: none;
}

/* ＋／− の印 */
.component-faq__question::after {
  content: '';
  position: absolute;
  top: 50%;
  right: 28px;
  width: 16px;
  height: 16px;
  background-image:
    linear-gradient(var(--color-white), var(--color-white)),
    linear-gradient(var(--color-white), var(--color-white));
  background-repeat: no-repeat;
  background-position: center;
  background-size: 16px 2px, 2px 16px;
  transform: translateY(-50%);
  pointer-events: none;
}

.component-faq__question.is-parent::after {
  background-size: 16px 2px, 0 0;
}

.component-faq__question button {
  width: 100%;
  padding: 15px 64px 15px 68px;
  border: 0;
  background-color: transparent;
  color: var(--color-white);
  font-size: 18px;
  font-weight: 700;
  line-height: 1.6;
  text-align: left;
}

.component-faq__answer {
  display: none;
  position: relative;
  padding: 22px 32px 22px 68px;
  border: 1px solid var(--color-gold);
  border-top: 0;
  border-radius: 0 0 6px 6px;
  background-color: var(--color-white);
}

.component-faq__answer.is-active {
  display: block;
}

/* A の印 */
.component-faq__answer::before {
  content: 'A';
  position: absolute;
  top: 18px;
  left: 26px;
  color: var(--color-gold);
  font-family: var(--font-family-english);
  font-size: 26px;
  font-weight: 600;
  line-height: 1;
}

.component-faq__answer-text {
  font-size: 15px;
  line-height: 1.9;
}

@media (max-width: 599px) {
  .component-faq__question::before,
  .component-faq__answer::before {
    left: 16px;
    font-size: 22px;
  }

  .component-faq__question::after {
    right: 16px;
  }

  .component-faq__question button {
    padding: 14px 44px 14px 48px;
    font-size: 15px;
  }

  .component-faq__answer {
    padding: 18px 16px 18px 48px;
  }
}


/* ==================================================
  List: Voice（笑顔のメッセージのカード）
================================================== */

.list-voice__item a {
  display: block;
}

.list-voice__card {
  padding: 52px 70px 52px 76px;
  background-image: url('/import/tenant_1/162.43.27.181/kato/image/common/frame_white.webp');
  background-repeat: no-repeat;
  background-size: 100% 100%;
}

.list-voice__head {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  padding-bottom: 24px;
  background-image: radial-gradient(circle, rgba(104, 63, 38, 0.3) 1.5px, transparent 2px);
  background-repeat: repeat-x;
  background-position: left bottom;
  background-size: 9px 4px;
}

.list-voice__head-body {
  min-width: 0;
  padding-top: 16px;
}

.list-voice__title {
  /* values 20px-28px view 375px-1440px */
  font-size: clamp(20px, 0.75vw + 17.2px, 28px);
  font-weight: 700;
  line-height: 1.65;
  letter-spacing: 0.04em;
}

.list-voice__attribute {
  margin-top: 12px;
}

.list-voice__attribute-text {
  width: -moz-fit-content;
  width: fit-content;
  padding: 2px 14px;
  border-radius: 20px;
  background-color: rgba(184, 149, 44, 0.22);
  font-size: 13px;
  font-weight: 700;
  line-height: 1.6;
}

.list-voice__photo {
  flex-shrink: 0;
  width: 190px;
  margin-left: 24px;
  border: 2px solid var(--color-main);
}

.list-voice__text {
  margin-top: 28px;
  font-size: 15px;
  line-height: 2;
}

@media (max-width: 599px) {
  .list-voice__card {
    padding: 32px 24px 32px;
  }

  .list-voice__head {
    flex-direction: column-reverse;
  }

  .list-voice__photo {
    width: 140px;
    margin-left: 0;
  }

  .list-voice__head-body {
    padding-top: 16px;
  }

  .list-voice__text {
    margin-top: 20px;
    font-size: 14px;
  }
}


/* ==================================================
  List: Diary（農園日記のカード）
================================================== */

.list-diary__item a {
  display: block;
}

.list-diary__photo {
  position: relative;
}

/* 写真の手描き枠（up-ofi の ::after と競合しないよう親に付ける） */
.list-diary__photo::after {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background-image: url('/import/tenant_1/162.43.27.181/kato/image/common/frame_diary_small_01.webp');
  background-repeat: no-repeat;
  background-size: 100% 100%;
  pointer-events: none;
}

.list-diary--large .list-diary__photo::after {
  background-image: url('/import/tenant_1/162.43.27.181/kato/image/common/frame_diary_large.webp');
}

.list-diary__meta {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 8px 14px;
  margin-top: 16px;
}

.list-diary__category-text {
  padding: 2px 12px;
  border: 1.5px solid var(--color-accent);
  border-radius: 20px;
  background-color: var(--color-white);
  color: var(--color-accent);
  font-size: 12px;
  font-weight: 700;
  line-height: 1.6;
}

.list-diary__date {
  font-family: var(--font-family-number);
  font-size: 15px;
  font-weight: 400;
  line-height: 1.5;
  width: 100%;
}

.list-diary__title {
  margin-top: 10px;
  font-size: 15px;
  font-weight: 700;
  line-height: 1.75;
}


/* 一覧：PC3列・TB/SP2列 */
.list-diary--grid {
  display: flex;
  flex-wrap: wrap;
  gap: 48px 40px;
}

.list-diary--grid .list-diary__item {
  width: calc((100% - 40px * 2) / 3);
}

/* カテゴリーが複数でも行の高さを揃えるため1行に収める（高さ揃えのJSを使わない） */
.list-diary--grid .list-diary__meta {
  flex-wrap: nowrap;
  overflow: hidden;
}

.list-diary--grid .list-diary__category-text {
  white-space: nowrap;
}

/*
  机に貼ったメモ（--memo。99blog_detail の関連記事）：PC3列・TB2列・SP1列
  - 1件＝白い紙のメモ（少し傾けて、上にマスキングテープ）。写真は白いふち、日付は手描き風、カテゴリーはテープのラベル
  - ホバーで傾きが戻って少し浮く
*/
.list-diary--memo {
  display: flex;
  flex-wrap: wrap;
  gap: 56px 40px;
}

.list-diary--memo .list-diary__item {
  width: calc((100% - 40px * 2) / 3);
}

/* 同じ段のメモは高さをそろえる（カテゴリーが増えて折り返しても、隣のメモも同じ高さに伸びる） */
.list-diary--memo .list-diary__item a {
  height: 100%;
}

.list-diary--memo .list-diary__item a:hover {
  opacity: 1;
}

.list-diary--memo .list-diary__link {
  position: relative;
  height: 100%;
  padding: 18px 18px 22px;
  border-radius: 3px;
  background-color: var(--color-background);
  background-image: radial-gradient(circle at 30% 20%, color-mix(in srgb, var(--color-white) 70%, transparent), transparent 60%);
  box-shadow: 0 2px 0 color-mix(in srgb, var(--color-main-light) 60%, transparent), 0 10px 18px -6px color-mix(in srgb, var(--color-main) 35%, transparent);
  rotate: -1.5deg;
  transition: rotate var(--duration-normal) ease, translate var(--duration-normal) ease, box-shadow var(--duration-normal) ease;
}

.list-diary--memo .list-diary__item:nth-child(3n + 2) .list-diary__link {
  rotate: 1.2deg;
}

.list-diary--memo .list-diary__item:nth-child(3n + 3) .list-diary__link {
  rotate: -0.6deg;
}

.list-diary--memo .list-diary__item a:hover .list-diary__link {
  box-shadow: 0 2px 0 color-mix(in srgb, var(--color-main-light) 60%, transparent), 0 16px 22px -8px color-mix(in srgb, var(--color-main) 40%, transparent);
  rotate: 0deg;
  translate: 0 -4px;
}

/* メモを留めたマスキングテープ（赤・緑の交互） */
.list-diary--memo .list-diary__link::before {
  content: '';
  position: absolute;
  z-index: 1;
  top: -12px;
  left: 50%;
  width: 96px;
  height: 24px;
  background-color: color-mix(in srgb, var(--color-accent) 30%, transparent);
  background-image: repeating-linear-gradient(-45deg, transparent 0 5px, color-mix(in srgb, var(--color-white) 35%, transparent) 5px 9px);
  transform: translateX(-50%) rotate(-3deg);
}

.list-diary--memo .list-diary__item:nth-child(even) .list-diary__link::before {
  background-color: color-mix(in srgb, var(--color-sub) 30%, transparent);
  transform: translateX(-50%) rotate(4deg);
}

.list-diary--memo .list-diary__photo {
  padding: 6px;
  background-color: var(--color-white);
  box-shadow: 0 2px 6px color-mix(in srgb, var(--color-main) 16%, transparent);
}

.list-diary--memo .list-diary__photo::after {
  content: none;
}

/*
  日付の下の行にカテゴリー。カテゴリーの欄は HTML の data-mh（matchHeight・段ごと）で、同じ段のメモと高さをそろえる
  → カテゴリーが増えて折り返しても、題名の位置が横のメモとそろう
*/
.list-diary--memo .list-diary__meta {
  flex-direction: column;
  align-items: flex-start;
  gap: 8px;
  margin-top: 16px;
}

.list-diary--memo .list-diary__category {
  width: 100%;
}

.list-diary--memo .list-diary__date {
  display: flex;
  align-items: center;
  gap: 4px;
  color: var(--color-accent);
  font-family: 'Yomogi', var(--font-family-base);
  font-size: 17px;
  line-height: 1.3;
}

.list-diary--memo .list-diary__date::before {
  content: '';
  flex-shrink: 0;
  width: 0.8em;
  aspect-ratio: 64 / 84;
  background-image: url('/import/tenant_1/162.43.27.181/kato/image/blog/blog_strawberry.webp');
  background-repeat: no-repeat;
  background-size: 100% 100%;
}

/* hover の波線：2行で切っても下半分が切れないよう、下に 0.25em の余白（--book と同じ） */
.list-diary--memo .list-diary__title {
  margin-top: 8px;
  padding-bottom: 0.25em;
  color: var(--color-text);
  text-decoration: underline wavy transparent;
  text-underline-offset: 2px;
  transition: text-decoration-color var(--duration-normal) ease;
}

.list-diary--memo .list-diary__item a:hover .list-diary__title {
  text-decoration-color: var(--color-accent);
}

@media (max-width: 1024px) {
  /* 2列。3件目など1枚だけの段は真ん中に */
  .list-diary--memo {
    justify-content: center;
    gap: 48px 32px;
  }

  .list-diary--memo .list-diary__item {
    width: calc((100% - 32px) / 2);
  }
}

@media (max-width: 599px) {
  .list-diary--memo {
    gap: 40px;
  }

  .list-diary--memo .list-diary__item {
    width: min(320px, 100%);
  }
}

/* サムネイル左・テキスト右の小さい行（人気の記事） */
.list-diary--ranking .list-diary__item {
  margin-top: 16px;
}

.list-diary--ranking .list-diary__link {
  display: flex;
  align-items: center;
}

.list-diary--ranking .list-diary__photo {
  flex-shrink: 0;
  width: 120px;
}

.list-diary--ranking .list-diary__body {
  min-width: 0;
  margin-left: 18px;
}

.list-diary--ranking .list-diary__title {
  margin-top: 0;
}

.list-diary--ranking .list-diary__date {
  margin-top: 6px;
  font-size: 13px;
}

@media (max-width: 1024px) {
  .list-diary--grid {
    gap: 32px 16px;
  }

  .list-diary--grid .list-diary__item {
    width: calc((100% - 16px) / 2);
  }
}

@media (max-width: 599px) {
  .list-diary--grid .list-diary__title {
    font-size: 14px;
  }

  .list-diary--grid .list-diary__date {
    font-size: 13px;
  }

  .list-diary--ranking .list-diary__photo {
    width: 96px;
  }
}


/*
  手帳に書き込んだ記事（農園日記 一覧：14blog の開いた手帳）
  - 手帳のページに直接書いたように：左にマスキングテープで留めた写真（少し傾ける）、右に日付（日記の書き出し風）とカテゴリー（マスキングテープ風のラベル）、タイトル2行
  - 一覧に本文（抜粋）は出さない（本人指示 2026-10-23）
  - 記事の間に線は引かない（めくるときに線が切れて見えるため。本人指示 2026-10-23）
  - 置き場所と大きさは手帳の側（style.css「Page: Blog」）で決める。文字の大きさは手帳の幅に合わせる（手帳を container にして cqw）
  - 日付は js/diary-book.js が「8/11（火）」の形に書き換える（前に小さないちご・曜日を丸で囲む）
*/
.list-diary--book .list-diary__item a {
  display: block;
  height: 100%;
}

.list-diary--book .list-diary__item a:hover {
  opacity: 1;
}

.list-diary--book .list-diary__link {
  position: relative;
  display: flex;
  align-items: center;
  gap: 2.4cqw;
  height: 100%;
  padding: 1cqw 0.8cqw 2cqw 1cqw;
}


/* 写真：白いふち＋マスキングテープ。1件ごとに傾きを変える */
.list-diary--book .list-diary__photo {
  flex-shrink: 0;
  width: 38%;
  padding: 0.5cqw;
  background-color: var(--color-white);
  box-shadow: 1px 2px 4px color-mix(in srgb, var(--color-main) 18%, transparent);
  rotate: -3deg;
  transition: rotate var(--duration-normal) ease;
}

.list-diary--book .list-diary__item:nth-child(even) .list-diary__photo {
  rotate: 2.5deg;
}

.list-diary--book .list-diary__photo::after {
  top: -0.8cqw;
  left: 50%;
  width: 40%;
  height: 1.6cqw;
  background-color: color-mix(in srgb, var(--color-accent) 30%, transparent);
  background-image: repeating-linear-gradient(-45deg, transparent 0 4px, color-mix(in srgb, var(--color-white) 35%, transparent) 4px 7px);
  background-size: auto;
  transform: translateX(-50%) rotate(-4deg);
}

.list-diary--book .list-diary__item:nth-child(even) .list-diary__photo::after {
  background-color: color-mix(in srgb, var(--color-sub) 30%, transparent);
  transform: translateX(-50%) rotate(5deg);
}

.list-diary--book .list-diary__item a:hover .list-diary__photo {
  rotate: 0deg;
}

.list-diary--book .list-diary__body {
  flex: 1 1 auto;
  min-width: 0;
}

/* 日付とカテゴリーを1行に（カテゴリーが多いときは折り返す） */
.list-diary--book .list-diary__meta {
  flex-wrap: wrap;
  gap: 0.6cqw 1cqw;
  margin-top: 0;
}

/* カテゴリー：マスキングテープ風のラベル（js-split-tag で分かれた1つずつ）。リングノートの人気の記事（--note）・関連記事のメモ（--memo）と共通 */
.list-diary--book .list-diary__category-text,
.list-diary--note .list-diary__category-text,
.list-diary--memo .list-diary__category-text {
  display: flex;
  flex-wrap: wrap;
  justify-content: flex-start;
  text-align: left;
  gap: 0.5cqw;
  padding: 0;
  border: 0;
  border-radius: 0;
  background-color: transparent;
  color: var(--color-main);
  font-size: max(11px, 1.05cqw);
  line-height: 1.5;
}

.list-diary--book .list-diary__category-text span,
.list-diary--book .list-diary__category-text:not(:has(span)),
.list-diary--note .list-diary__category-text span,
.list-diary--note .list-diary__category-text:not(:has(span)),
.list-diary--memo .list-diary__category-text span,
.list-diary--memo .list-diary__category-text:not(:has(span)) {
  padding: 0.15cqw 0.9cqw;
  background-color: color-mix(in srgb, var(--color-gold) 28%, transparent);
  background-image: repeating-linear-gradient(-45deg, transparent 0 4px, color-mix(in srgb, var(--color-white) 30%, transparent) 4px 7px);
  clip-path: polygon(2% 0, 98% 6%, 100% 50%, 97% 100%, 1% 94%, 0 50%);
}

.list-diary--book .list-diary__category-text:has(span),
.list-diary--note .list-diary__category-text:has(span),
.list-diary--memo .list-diary__category-text:has(span) {
  background-color: transparent;
  background-image: none;
  clip-path: none;
}

/* 関連記事のメモ（--memo）は手帳の中ではないので、大きさは px で */
.list-diary--memo .list-diary__category-text {
  gap: 6px;
  font-size: 12px;
}

.list-diary--memo .list-diary__category-text span,
.list-diary--memo .list-diary__category-text:not(:has(span)) {
  padding: 1px 10px;
}

/*
  hover の波線：タイトルは2行で切る（up-reader2：overflow: hidden）ので、そのままだと2行目の波線の下半分が切れる（本人指摘 2026-10-23）
  → 下に 0.25em の余白をとり、波線を文字に 2px 近づけて、切る範囲の中に収める（3行目の文字はのぞかない）
*/
.list-diary--book .list-diary__title {
  margin-top: 0.8cqw;
  padding-bottom: 0.25em;
  font-size: max(14px, 1.75cqw);
  line-height: 1.5;
  text-decoration: underline wavy transparent;
  text-underline-offset: 2px;
  transition: text-decoration-color var(--duration-normal) ease;
}

.list-diary--book .list-diary__item a:hover .list-diary__title {
  text-decoration-color: var(--color-accent);
}

/*
  日付：日記の書き出し風（手描き風の Yomogi）。js/diary-book.js が「2026.08.11」を「8/11（月）」の形に書き換える
  （__date-day：月/日、__date-week：曜日を丸で囲む。前に小さないちご）。書き換える前・見たまま編集画面ではそのままの日付
  手帳の記事（--book）とリングノートの人気の記事（--note）で共通
*/
.list-diary--book .list-diary__date,
.list-diary--note .list-diary__date {
  display: flex;
  align-items: center;
  gap: 0.4em;
  color: var(--color-accent);
  font-family: 'Yomogi', var(--font-family-base);
  font-size: max(12px, 1.4cqw);
  line-height: 1.3;
}

.list-diary--book .list-diary__date-day,
.list-diary--note .list-diary__date-day {
  font-size: 1.25em;
  line-height: 1;
}

.list-diary--book .list-diary__date-day::before,
.list-diary--note .list-diary__date-day::before {
  content: '';
  display: inline-block;
  width: 0.8em;
  aspect-ratio: 64 / 84;
  margin-right: 4px;
  background-image: url('/import/tenant_1/162.43.27.181/kato/image/blog/blog_strawberry.webp');
  background-repeat: no-repeat;
  background-size: 100% 100%;
  vertical-align: -0.05em;
}

.list-diary--book .list-diary__date-week,
.list-diary--note .list-diary__date-week {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 1.55em;
  height: 1.55em;
  border: 1.5px solid currentColor;
  border-radius: 50%;
  font-size: 0.8em;
  line-height: 1;
}


/*
  リングノートに書いた人気の記事（農園日記 一覧：14blog）
  - 1件＝写真（マスキングテープ＋左上に順位のスタンプ：CSS のカウンターで 1・2・3）＋日付＋タイトル2行。下にクレヨンの罫線
  - 置き場所と大きさはリングノートの側で決める（ノートを container にして cqw）
*/
.list-diary--note {
  display: flex;
  flex-direction: column;
  counter-reset: diary-rank;
}

/* 置き場所の高さを3件で分ける。中身が高い記事（カテゴリーが多い等）はその分だけ高くなる */
.list-diary--note .list-diary__item {
  flex: 1 1 auto;
  counter-increment: diary-rank;
}

.list-diary--note .list-diary__item a {
  display: block;
  height: 100%;
}

.list-diary--note .list-diary__item a:hover {
  opacity: 1;
}

.list-diary--note .list-diary__link {
  position: relative;
  display: flex;
  align-items: center;
  gap: 5cqw;
  height: 100%;
  padding: 2.4cqw 1cqw 3.6cqw 2.4cqw;
}

.list-diary--note .list-diary__link::after {
  content: '';
  position: absolute;
  right: 0;
  bottom: 0;
  left: 0;
  height: 1.8cqw;
  background-image: url('/import/tenant_1/162.43.27.181/kato/image/blog/blog_diary_line.webp');
  background-repeat: no-repeat;
  background-size: 100% 100%;
  pointer-events: none;
}

.list-diary--note .list-diary__photo {
  position: relative;
  flex-shrink: 0;
  width: 27%;
  padding: 0.7cqw;
  background-color: var(--color-white);
  box-shadow: 1px 2px 4px color-mix(in srgb, var(--color-main) 18%, transparent);
  rotate: -3deg;
  transition: rotate var(--duration-normal) ease;
}

.list-diary--note .list-diary__item:nth-child(even) .list-diary__photo {
  rotate: 2.5deg;
}

.list-diary--note .list-diary__item a:hover .list-diary__photo {
  rotate: 0deg;
}

/* 写真を留めるマスキングテープ */
.list-diary--note .list-diary__photo::after {
  top: -1.2cqw;
  left: 50%;
  width: 50%;
  height: 2.4cqw;
  background-color: color-mix(in srgb, var(--color-gold) 40%, transparent);
  background-image: repeating-linear-gradient(-45deg, transparent 0 4px, color-mix(in srgb, var(--color-white) 35%, transparent) 4px 7px);
  background-size: auto;
  transform: translateX(-50%) rotate(-4deg);
}

/* 順位のスタンプ */
.list-diary--note .list-diary__photo::before {
  content: counter(diary-rank);
  position: absolute;
  z-index: 2;
  top: -2.4cqw;
  left: -2.4cqw;
  display: flex;
  align-items: center;
  justify-content: center;
  width: max(26px, 7.4cqw);
  height: max(26px, 7.4cqw);
  border: 2px solid var(--color-accent);
  border-radius: 50%;
  background-color: var(--color-white);
  box-shadow: inset 0 0 0 2px var(--color-white), inset 0 0 0 3.5px color-mix(in srgb, var(--color-accent) 60%, transparent);
  color: var(--color-accent);
  font-family: var(--font-family-english);
  font-size: max(14px, 4cqw);
  font-weight: 600;
  line-height: 1;
  rotate: -12deg;
}

.list-diary--note .list-diary__body {
  flex: 1 1 auto;
  min-width: 0;
}

.list-diary--note .list-diary__date {
  font-size: max(12px, 2.8cqw);
}

/* 日付とカテゴリー（カテゴリーは全部出す。多いときは折り返し、ノートの紙が下に伸びる） */
.list-diary--note .list-diary__meta {
  gap: 1cqw 2cqw;
  margin-top: 0;
}

.list-diary--note .list-diary__category-text {
  gap: 1cqw;
  font-size: max(11px, 2.2cqw);
}

.list-diary--note .list-diary__category-text span,
.list-diary--note .list-diary__category-text:not(:has(span)) {
  padding: 0.3cqw 1.6cqw;
}

.list-diary--note .list-diary__title {
  margin-top: 1.4cqw;
  padding-bottom: 0.25em;
  font-size: max(13px, 3.1cqw);
  line-height: 1.5;
  text-decoration: underline wavy transparent;
  text-underline-offset: 2px;
  transition: text-decoration-color var(--duration-normal) ease;
}

.list-diary--note .list-diary__item a:hover .list-diary__title {
  text-decoration-color: var(--color-accent);
}

/* 一覧：PC2列・SP1列（笑顔のメッセージ） */
.list-voice--grid {
  display: flex;
  flex-wrap: wrap;
  gap: 32px;
}

.list-voice--grid .list-voice__item {
  width: calc((100% - 32px) / 2);
}

/* 隣どうしのカードの高さをそろえる（本人指示 2026-10-28）。item は同じ段で一番高いものに伸びるので、
   リンク（a）とカードもその高さいっぱいにする（a に高さが無いとカードの height: 100% が効かない） */
.list-voice--grid .list-voice__item a {
  height: 100%;
}

/*
  カテゴリー（本人指示 2026-10-28）：カードのいちばん下に、お便り一覧の共通ラベルと同じ筆の地（bg_category.webp）のラベルを並べる
  - 複数選択可（.js-split-tag でカンマ区切りを1つずつに分ける）。何個あっても折り返して並ぶ
  - カードを縦並びの flex にし、カテゴリーを margin-top: auto で下端に寄せる。見出し・写真・本文は上からそろったまま、
    カテゴリーが増えて高くなったカードに、隣のカードも同じ高さで伸びる（上の height: 100%）
  - ※ js-split-tag が作った span に CSS を当てるのは CSS_SPEC §11.1 の例外（お便り・農園日記と同じ。span が無いとき＝見たまま編集画面などは欄そのものをラベル1枚に）
*/
.list-voice--grid .list-voice__card {
  display: flex;
  flex-direction: column;
}

.list-voice__category {
  margin-top: auto;
  padding-top: 24px;
}

.list-voice__category-text {
  display: flex;
  flex-wrap: wrap;
  gap: 6px 8px;
}

.list-voice__category-text span,
.list-voice__category-text:not(:has(span)) {
  padding: 3px 12px;
  background-image: url('/import/tenant_1/162.43.27.181/kato/image/common/bg_category.webp');
  background-repeat: no-repeat;
  background-size: 100% 100%;
  color: var(--color-white);
  font-size: 12px;
  font-weight: 700;
  line-height: 1.6;
}

.list-voice__category-text:not(:has(span)) {
  display: block;
  width: -moz-fit-content;
  width: fit-content;
}

.list-voice--grid .list-voice__card {
  height: 100%;
  padding: 40px 40px 44px;
}

.list-voice__attribute-list {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin-top: 12px;
}

.list-voice__attribute-list .list-voice__attribute {
  margin-top: 0;
}

/* 1024px 以下の2列では写真の横に見出しを置く幅が足りない（768px で約 70px）ので、写真を見出しの上に置き、
   カードの枠の幅いっぱいに広げる（本人指示 2026-10-28。SP も同じ）。
   TOP のスライダー（.project-top-voice__slider）は --grid ではないので変わらない */
@media (max-width: 1024px) {
  .list-voice--grid .list-voice__head {
    flex-direction: column-reverse;
  }

  .list-voice--grid .list-voice__photo {
    width: 100%;
    margin-left: 0;
  }
}

/* 詳細：笑顔のメッセージ（見出し＋項目の行＋顔写真） */
.list-article__head {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 32px;
}

.list-article__head-body {
  flex-grow: 1;
  min-width: 0;
}

.list-article__info {
  margin-top: 20px;
}

.list-article__face {
  flex-shrink: 0;
  width: 180px;
  border: 2px solid var(--color-main);
}

@media (max-width: 599px) {
  .list-voice--grid .list-voice__item {
    width: 100%;
  }

  .list-voice--grid .list-voice__card {
    padding: 32px 24px 36px;
  }

  .list-article__head {
    flex-direction: column-reverse;
    gap: 20px;
  }

  /* SP は写真を横幅いっぱいに（本人指示 2026-10-28。縦横比は up-ofi-100 のまま） */
  .list-article__face {
    width: 100%;
  }
  .list-diary--note .list-diary__photo {
    width: 35%;
  }
}

/* ==================================================
  List: Article（カスコン詳細の記事）
================================================== */

.list-article__meta {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 8px 14px;
}

.list-article__category-text {
  padding: 2px 14px;
  border: 1.5px solid var(--color-accent);
  border-radius: 20px;
  background-color: var(--color-white);
  color: var(--color-accent);
  font-size: 13px;
  font-weight: 700;
  line-height: 1.6;
}

.list-article__date {
  font-family: var(--font-family-number);
  font-size: 15px;
  line-height: 1.5;
}

.list-article__title {
  margin-top: 14px;
  /* values 22px-30px view 375px-1440px */
  font-size: clamp(22px, 0.75vw + 19.2px, 30px);
  font-weight: 700;
  line-height: 1.6;
  letter-spacing: 0.04em;
}

.list-article__photo {
  margin-top: 32px;
  border: 2px solid var(--color-main);
}

.list-article__body {
  margin-top: 40px;
}

/* CMS本文（A-BiSUのリッチテキストが出力するタグに限定して指定する：CSS §41） */
.list-editor-content {
  font-size: 15px;
  line-height: 2.1;
}

.list-editor-content p {
  margin-top: 1.4em;
}

.list-editor-content h2 {
  margin-top: 56px;
  padding-bottom: 10px;
  border-bottom: 2px dotted var(--color-main);
color: var(--color-gold);
  font-size: 24px;
  font-weight: 700;
  line-height: 1.6;
  margin-bottom: 10px;
}

.list-editor-content h4 {
  margin-top: 40px;
  padding-left: 14px;
  border-left: 4px solid var(--color-gold);
  font-size: 18px;
  font-weight: 700;
  line-height: 1.6;
  margin-bottom: 10px;
}

.list-editor-content h3 {
  margin-top: 40px;
  padding-left: 14px;
  border-bottom: 4px solid var(--color-gold);
  font-size: 20px;
  font-weight: 700;
  line-height: 1.6;
  padding-bottom: 10px;
  margin-bottom: 10px;
}

.list-editor-content ul {
  margin-top: 1.4em;
  padding-left: 1.5em;
  list-style: disc;
}

.list-editor-content ol {
  margin-top: 1.4em;
  padding-left: 1.5em;
  list-style: decimal;
}

.list-editor-content a {
  color: var(--color-accent);
  text-decoration: underline;
}

.list-editor-content img {
  width: auto;
  max-width: 100%;
  height: auto;
  margin-top: 32px;
}


/* カテゴリーは複数選択可（.js-split-tag）。分割後の span には CSS を当てず、親の flex と gap で間隔を取る（CSS §11.1） */
.list-news__category-text,
.list-diary__category-text,
.list-article__category-text {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 0 8px;
}


/* ==================================================
  Component: Card List / Card（手描き枠の白いカード）
================================================== */

.component-card-list {
  display: flex;
  flex-wrap: wrap;
  gap: 32px;
}

.component-card-list .component-card {
  width: calc((100% - 32px * 2) / 3);
}

/* .component-card-list--col2 .component-card {
  width: calc((100% - 32px) / 2);
} */

.component-card-list--col4 .component-card {
  width: calc((100% - 32px * 3) / 4);
}

.component-card {
  display: flex;
  flex-direction: column;
  padding: 32px 28px 36px;
  background-image: url('/import/tenant_1/162.43.27.181/kato/image/common/frame_white.webp');
  background-repeat: no-repeat;
  background-size: 100% 100%;
}

.component-card__image {
  margin-bottom: 20px;
  border: 2px solid var(--color-main);
}

.component-card__label {
  width: -moz-fit-content;
  width: fit-content;
  margin-bottom: 10px;
  padding: 2px 14px;
  border-radius: 20px;
  background-color: var(--color-gold);
  color: var(--color-white);
  font-size: 13px;
  font-weight: 700;
  line-height: 1.6;
}

.component-card__title {
  font-size: 19px;
  font-weight: 700;
  line-height: 1.6;
  letter-spacing: 0.04em;
}

.component-card__text {
  margin-top: 12px;
  font-size: 15px;
  line-height: 2;
}

/* ボタンはカードの下端にそろえる */
.component-card__button-list {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 12px;
  margin-top: auto;
  padding-top: 24px;
}

.component-card__button-list .component-button {
  width: 100%;
  min-width: 0;
}

@media (max-width: 1024px) {
  .component-card-list {
    gap: 20px;
  }

  .component-card-list .component-card,
  .component-card-list--col4 .component-card {
    width: calc((100% - 20px) / 2);
    margin-left: auto;
    margin-right: auto;
  }

  .project-guide-check .component-card-list .component-card {
  margin-left: auto;
  margin-right: auto;
  }
}

@media (max-width: 599px) {
  .component-card-list .component-card,
  .component-card-list--col2 .component-card,
  .component-card-list--col4 .component-card {
    width: 100%;
  }

  .component-card {
    padding: 28px 20px 32px;
  }
}


/* ==================================================
  Component: Balloon（吹き出し）
================================================== */

.component-balloon {
  position: relative;
  width: -moz-fit-content;
  width: fit-content;
  max-width: 100%;
  margin-right: auto;
  margin-left: auto;
  padding: 24px 40px;
  border: 2px solid var(--color-main);
  border-radius: 32px;
  background-color: var(--color-white);
  font-size: 17px;
  font-weight: 700;
  line-height: 1.9;
  text-align: center;
}

.component-balloon::after {
  content: '';
  position: absolute;
  bottom: -14px;
  left: 50%;
  width: 24px;
  height: 24px;
  border-right: 2px solid var(--color-main);
  border-bottom: 2px solid var(--color-main);
  background-color: var(--color-white);
  transform: translateX(-50%) rotate(45deg);
}

@media (max-width: 599px) {
  .component-balloon {
    padding: 20px;
    font-size: 15px;
  }
  .component-balloon{
    text-align: left;
  }
}


/* ==================================================
  Component: Flow（↓でつなぐ手順。構造が固定のため隣接セレクタを使う）
================================================== */

.component-flow {
  margin-top: 16px;
}

.component-flow__item {
  padding: 10px 14px;
  border-radius: var(--radius-medium);
  background-color: var(--color-background-light);
  font-size: 15px;
  font-weight: 700;
  line-height: 1.6;
  text-align: center;
}

.component-flow__item + .component-flow__item {
  position: relative;
  margin-top: 26px;
}

/* 下向きの三角 */
.component-flow__item + .component-flow__item::before {
  content: '';
  position: absolute;
  top: -19px;
  left: 50%;
  width: 0;
  height: 0;
  border-top: 10px solid var(--color-gold);
  border-right: 9px solid transparent;
  border-left: 9px solid transparent;
  transform: translateX(-50%);
}

/* ==================================================
  Component: Table（表。SPは横スクロール可：JS 追加仕様F-1 で表は許可）
================================================== */

.component-table {
  overflow-x: auto;
}

.component-table table {
  width: 100%;
  min-width: 560px;
  background-color: var(--color-white);
}

.component-table--stack table {
  min-width: 0;
}

.component-table th,
.component-table td {
  padding: 16px 20px;
  border: 1px solid var(--color-main-light);
  font-size: 15px;
  line-height: 1.8;
  text-align: left;
  vertical-align: top;
}

.component-table thead th {
  background-color: var(--color-main);
  color: var(--color-white);
  font-weight: 700;
  text-align: center;
}

.component-table tbody th {
  width: 26%;
  background-color: var(--color-background-light);
  font-weight: 700;
}

@media (max-width: 599px) {
  .component-table th,
  .component-table td {
    padding: 12px 14px;
    font-size: 14px;
  }

  /* 縦積みにする表（見出し列＋内容） */
  .component-table--stack th,
  .component-table--stack td {
    display: block;
    width: 100%;
  }

  .component-table--stack tbody th {
    width: 100%;
    border-bottom: 0;
  }
}


/* ==================================================
  Component: Timeline（時期ごとの流れ。順番に意味があるため nth-child で左右に振る）
================================================== */

.component-timeline {
  position: relative;
}

.component-timeline::before {
  content: '';
  position: absolute;
  top: 0;
  bottom: 0;
  left: 50%;
  width: 4px;
  background-image: radial-gradient(circle, var(--color-gold) 1.5px, transparent 2px);
  background-repeat: repeat-y;
  background-size: 4px 10px;
  transform: translateX(-50%);
}

.component-timeline__item {
  position: relative;
  width: calc(50% - 48px);
  padding: 28px 28px 32px;
  background-image: url('/import/tenant_1/162.43.27.181/kato/image/common/frame_white.webp');
  background-repeat: no-repeat;
  background-size: 100% 100%;
}

.component-timeline__item + .component-timeline__item {
  margin-top: -40px;
}

.component-timeline__item:nth-child(even) {
  margin-left: auto;
}

/* 線上の丸 */
.component-timeline__item::before {
  content: '';
  position: absolute;
  top: 36px;
  right: -58px;
  width: 20px;
  height: 20px;
  border: 4px solid var(--color-white);
  border-radius: 50%;
  background-color: var(--color-accent);
  box-shadow: 0 0 0 2px var(--color-accent);
}

.component-timeline__item:nth-child(even)::before {
  right: auto;
  left: -58px;
}

.component-timeline__label {
  width: -moz-fit-content;
  width: fit-content;
  padding: 2px 14px;
  border-radius: 20px;
  background-color: var(--color-gold);
  color: var(--color-white);
  font-size: 13px;
  font-weight: 700;
  line-height: 1.6;
}

.component-timeline__title {
  margin-top: 10px;
  font-size: 19px;
  font-weight: 700;
  line-height: 1.6;
}

.component-timeline__text {
  margin-top: 8px;
  font-size: 15px;
  line-height: 2;
}

@media (max-width: 1024px) {
  .component-timeline::before {
    left: 10px;
  }

  .component-timeline__item,
  .component-timeline__item:nth-child(even) {
    width: calc(100% - 40px);
    margin-left: 40px;
  }

  .component-timeline__item + .component-timeline__item {
    margin-top: 20px;
  }

  .component-timeline__item::before,
  .component-timeline__item:nth-child(even)::before {
    right: auto;
    left: -40px;
  }
}

/*
  Modifier：--growth（線上にイラストを置き、スクロールに合わせて動かすタイムライン）
  使用箇所：06zukan「育ち方を知る」／07rice「田んぼの一年をのぞいてみよう」
  - 線上の小さな丸の代わりに、イラストを丸の中に入れて線の上に置く（.component-timeline__icon）
  - 動き（js/timeline-growth.js・.js-timeline-growth）：JS が動いたときだけ .is-ready で「表示前」の状態にし、画面に入ったステップに .is-shown
    ・カード：左のカードは左から、右のカードは右から 50px スライドしながらフェードイン
    ・イラスト：カードと同じ時間で逆向きに translate して線の上に留まり、少し遅れて拡大しながら現れる
    ・中央の線：スクロール量に合わせて上から伸びる（--timeline-growth-progress：0〜1）
    ・線の先端がイラストの位置まで来たステップに .is-active：そのイラストだけ少しズーム（transform: scale(1.1)）
  - カードとイラストの横移動は独立プロパティ translate を使う（transform を使うと親子の移動が打ち消し合わない）
  - 登場の拡大は scale、アクティブのズームは transform と分けて、2つの動きのトランジションがぶつからないようにする
  - 通常より一回り大きく：カードは線から 64px 離し（通常は 48px）、余白・文字を大きく、ステップ同士を重ねない
*/
.component-timeline--growth .component-timeline__item {
  z-index: 1;
  width: calc(50% - 64px);
  padding: 36px 40px 40px;
}

.component-timeline--growth .component-timeline__item + .component-timeline__item {
  margin-top: 20px;
}

.component-timeline--growth .component-timeline__label {
  padding: 3px 16px;
  font-size: 14px;
}

.component-timeline--growth .component-timeline__title {
  margin-top: 12px;
  font-size: 22px;
}

.component-timeline--growth .component-timeline__text {
  margin-top: 10px;
  font-size: 16px;
}

/* 通常の小さな丸はイラストに置き換える */
.component-timeline--growth .component-timeline__item::before {
  content: none;
}

/* 線の中心はカードの端から 64px。イラストの丸（100px）の中心をそこに合わせる */
.component-timeline__icon {
  position: absolute;
  top: 20px;
  right: -114px;
  width: 100px;
  height: 100px;
  padding: 13px;
  border: 3px solid var(--color-gold);
  border-radius: 50%;
  background-color: var(--color-white);
  box-shadow: 0 6px 12px rgba(104, 63, 38, 0.12);
}

.component-timeline__item:nth-child(even) .component-timeline__icon {
  right: auto;
  left: -114px;
}

.component-timeline__icon img {
  width: 100%;
  height: auto;
}

/* ---- 動き（JS が動いたときだけ） */
.component-timeline--growth.is-ready .component-timeline__item {
  opacity: 0;
  translate: -50px 0;
  transition:
    opacity 0.6s ease,
    translate 0.7s cubic-bezier(0.22, 1, 0.36, 1);
}

.component-timeline--growth.is-ready .component-timeline__item:nth-child(even) {
  translate: 50px 0;
}

.component-timeline--growth.is-ready .component-timeline__icon {
  translate: 50px 0;
  scale: 0;
  transition:
    translate 0.7s cubic-bezier(0.22, 1, 0.36, 1),
    scale 0.5s cubic-bezier(0.34, 1.56, 0.64, 1) 0.1s,
    transform 0.6s cubic-bezier(0.25, 1, 0.5, 1),
    box-shadow 0.6s cubic-bezier(0.25, 1, 0.5, 1);
}

.component-timeline--growth.is-ready .component-timeline__item:nth-child(even) .component-timeline__icon {
  translate: -50px 0;
}

.component-timeline--growth.is-ready .component-timeline__item.is-shown,
.component-timeline--growth.is-ready .component-timeline__item.is-shown .component-timeline__icon {
  opacity: 1;
  translate: 0 0;
  scale: 1;
}

/* 線の先端が来たステップのイラストだけ、ほんの少しズームする */
.component-timeline--growth.is-ready .component-timeline__item.is-active .component-timeline__icon {
  box-shadow: 0 10px 18px rgba(104, 63, 38, 0.16);
  transform: scale(1.1);
}

/* 中央の線：点線の上に、スクロールに合わせて伸びる金色の線を重ねる */
.component-timeline--growth.is-ready::after {
  content: '';
  position: absolute;
  top: 0;
  bottom: 0;
  left: 50%;
  z-index: 0;
  width: 4px;
  border-radius: 2px;
  background-color: var(--color-gold);
  transform: translateX(-50%) scaleY(var(--timeline-growth-progress, 0));
  transform-origin: center top;
}

@media (max-width: 1024px) {
  /* 線を左へ寄せ、イラストが画面からはみ出さない位置に置く（線の中心 32px） */
  .component-timeline--growth::before,
  .component-timeline--growth.is-ready::after {
    left: 32px;
  }

  .component-timeline--growth .component-timeline__item,
  .component-timeline--growth .component-timeline__item:nth-child(even) {
    width: calc(100% - 76px);
    margin-left: 76px;
    padding: 28px 28px 32px;
  }

  .component-timeline--growth .component-timeline__item + .component-timeline__item {
    margin-top: 36px;
  }

  .component-timeline--growth .component-timeline__title {
    font-size: 20px;
  }

  .component-timeline--growth .component-timeline__text {
    font-size: 15px;
  }

  .component-timeline__icon,
  .component-timeline__item:nth-child(even) .component-timeline__icon {
    top: 20px;
    right: auto;
    left: -76px;
    width: 64px;
    height: 64px;
    padding: 8px;
    border-width: 2px;
  }

  /* 1列なので、すべて右からスライドして入る */
  .component-timeline--growth.is-ready .component-timeline__item,
  .component-timeline--growth.is-ready .component-timeline__item:nth-child(even) {
    translate: 40px 0;
  }

  .component-timeline--growth.is-ready .component-timeline__icon,
  .component-timeline--growth.is-ready .component-timeline__item:nth-child(even) .component-timeline__icon {
    translate: -40px 0;
  }

  /* 表示後（上の「表示前」より後ろに置いて優先させる） */
  .component-timeline--growth.is-ready .component-timeline__item.is-shown,
  .component-timeline--growth.is-ready .component-timeline__item.is-shown .component-timeline__icon {
    translate: 0 0;
  }
}


/* ==================================================
  Component: Info List（項目名と内容の行）
================================================== */

/* .component-info-list__row {
  display: flex;
  padding: 10px 0;
  border-bottom: 1px dotted var(--color-main-light);
} */

.component-info-list__row {
    display: flex;
    padding: 20px 0; 
    border-bottom: none;   
    position: relative; 
}

.component-info-list__row::after {
    content: "";
    position: absolute;
    bottom: 0;     
    left: 0;
    width: 100%; 
    height: 7px; 
    
    background-image: 
        /* 丸3：薄いベージュ (一番右) */
        radial-gradient(circle, #e6e2d8 3px, transparent 3.5px),
        /* 丸2：黄色 (真ん中) */
        radial-gradient(circle, #e6c268 3px, transparent 3.5px),
        /* 丸1：黄色 (一番左) */
        radial-gradient(circle, #e6c268 3px, transparent 3.5px),
        /* 土台の細い直線 */
        linear-gradient(to right, #e2dacd, #e2dacd);
    
    background-size: 
        7px 7px,           /* 丸3のサイズ（直径7px） */
        7px 7px,           /* 丸2のサイズ（直径7px） */
        7px 7px,           /* 丸1のサイズ（直径7px） */
        100% 1px;          /* 直線のサイズ（高さ1px、横幅100%） */
    
    background-position: 
        12% center,        /* 丸3：左から12%の位置、上下中央 */
        8%  center,        /* 丸2：左から8%の位置、上下中央 */
        5%  center,        /* 丸1：左から5%の位置、上下中央 */
        0   center;        /* 直線：左端から、上下中央（丸のど真ん中を通る） */
        
    background-repeat: no-repeat;
}

.component-info-list__title {
  flex-shrink: 0;
  width: 150px;
  font-size: 14px;
  font-weight: 700;
  line-height: 1.8;
}

.component-info-list__data {
  flex-grow: 1;
  min-width: 0;
  font-size: 14px;
  line-height: 1.8;
}

@media (max-width: 599px) {
  .component-info-list__row {
    flex-direction: column;
  }

  .component-info-list__title {
    width: 100%;
    margin-bottom: 5px;
  }

  .component-info-card__body .component-info-list {
    width: 100%;
  }
  .component-info-list__data{
    margin-left: 5px;
  }
}


/* ==================================================
  Component: Info Board（案内用紙をクリップボード（バインダー）に挟んだ見た目）
  デザイン指示「⑫あつまれ！いちご狩り＆体験イベント　小見出し③.html」を再現（使用箇所：11event ご利用案内）
  - 板：木目調のベージュ（main-light から少し濃く）＋内側の細い線＋大きな影／上中央に金属クリップ（__clip）
  - 用紙：うっすら罫線の入った白い紙＋内側の点線、上の左右に赤い画びょう（__pin）
  - 色はデザイン指示の値ではなく、既存の色変数（＋color-mix で明るさを変えたもの）に置き換えている
  - 絵文字の飾り・アイコンは、サイトのイラスト・アイコン素材に置き換えている
  - 上にクリップが約 50px はみ出すので、置く側で上の余白を 80px 以上とること
================================================== */

.component-info-board {
  position: relative;
  max-width: 960px;   /* 指示は 860px。項目名が折り返さないよう少し広げた */
  margin-right: auto;
  margin-left: auto;
  padding: 54px 34px 34px;
  border-radius: 28px;
  background-image:
    linear-gradient(90deg, rgba(255, 255, 255, 0.08), transparent 16%, rgba(255, 255, 255, 0.08) 50%, transparent 76%),
    linear-gradient(145deg, var(--color-main-light), color-mix(in srgb, var(--color-main-light) 80%, var(--color-main)));
  box-shadow:
    0 30px 60px rgba(104, 63, 38, 0.18),
    inset 0 1px rgba(255, 255, 255, 0.4);
}

/* 板の内側の細い線 */
.component-info-board::before {
  content: '';
  position: absolute;
  inset: 12px;
  border: 1px solid rgba(104, 63, 38, 0.18);
  border-radius: 20px;
  pointer-events: none;
}

/* 金属のクリップ（本体＋上の輪＋下の押さえ） */
.component-info-board__clip {
  position: absolute;
  top: -23px;
  left: 50%;
  z-index: 5;
  width: 220px;
  height: 70px;
  border-radius: 18px 18px 13px 13px;
  background-image: linear-gradient(180deg,
      color-mix(in srgb, var(--color-white) 85%, var(--color-black)),
      color-mix(in srgb, var(--color-white) 66%, var(--color-black)) 55%,
      color-mix(in srgb, var(--color-white) 55%, var(--color-black)));
  box-shadow:
    0 7px 16px rgba(42, 38, 34, 0.25),
    inset 0 2px rgba(255, 255, 255, 0.65);
  transform: translateX(-50%);
}

.component-info-board__clip::before {
  content: '';
  position: absolute;
  top: -25px;
  left: 50%;
  width: 136px;
  height: 32px;
  border: 6px solid color-mix(in srgb, var(--color-white) 49%, var(--color-black));
  border-bottom: 0;
  border-radius: 36px 36px 0 0;
  transform: translateX(-50%);
}

.component-info-board__clip::after {
  content: '';
  position: absolute;
  right: 18px;
  bottom: 10px;
  left: 18px;
  height: 7px;
  border-radius: 99px;
  background-color: color-mix(in srgb, var(--color-white) 45%, var(--color-black));
  box-shadow: inset 0 1px rgba(255, 255, 255, 0.35);
}

/* 板のまわりの飾り（いちご・葉っぱ） */
.component-info-board__decor {
  position: absolute;
  z-index: 3;
  width: 34px;
  filter: drop-shadow(0 5px 4px rgba(83, 53, 40, 0.12));
}

.component-info-board__decor img {
  width: 100%;
  height: auto;
}

.component-info-board__decor--left {
  bottom: 70px;
  left: -18px;
  rotate: -18deg;
}

.component-info-board__decor--right {
  top: 150px;
  right: -14px;
  width: 30px;
  rotate: 16deg;
}

.component-info-board__decor--bottom {
  right: 30px;
  bottom: -20px;
  rotate: -7deg;
}

/* 案内用紙（うっすら罫線＋内側の点線） */
.component-info-board__paper {
  position: relative;
  z-index: 2;
  padding: 50px 30px 40px;
  border-radius: 11px;
  /* 白を 70% だけ重ねて、下の板がうっすら透ける紙の色にする（デザイン指示どおり） */
  background-image:
    linear-gradient(rgba(255, 255, 255, 0.7), rgba(255, 255, 255, 0.7)),
    repeating-linear-gradient(0deg, transparent 0 34px, color-mix(in srgb, var(--color-sub) 6%, transparent) 35px);
  box-shadow: 0 8px 22px rgba(104, 63, 38, 0.18);
}

.component-info-board__paper::before {
  content: '';
  position: absolute;
  inset: 18px;
  border: 1px dashed var(--color-background-light);
  border-radius: 5px;
  pointer-events: none;
}

/* 赤い画びょう */
.component-info-board__pin {
  position: absolute;
  top: 25px;
  width: 18px;
  height: 18px;
  border-radius: 50%;
  background-color: var(--color-accent);
  box-shadow:
    inset -3px -3px rgba(130, 40, 43, 0.13),
    0 3px 5px rgba(65, 42, 33, 0.15);
}

.component-info-board__pin--left {
  left: 18px;
}

.component-info-board__pin--right {
  right: 19px;
}

/* 用紙の見出し（いちご・KATO FARM・タイトル・ひとこと） */
.component-info-board__head {
  position: relative;
  margin-bottom: 28px;
  padding-bottom: 26px;
  border-bottom: 2px solid var(--color-background-light);
  text-align: center;
}

.component-info-board__head-icon {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 46px;
  height: 46px;
  margin: 0 auto 10px;
  border-radius: 50%;
  background-color: color-mix(in srgb, var(--color-accent) 7%, var(--color-white));
}

.component-info-board__head-icon img {
  width: auto;
  height: 28px;
}

.component-info-board__head-en {
  color: var(--color-sub);
  font-family: var(--font-family-english);
  font-size: 13px;
  font-weight: 600;
  line-height: 1.5;
  letter-spacing: 0.15em;
}

.component-info-board__title {
  margin-top: 4px;
  font-size: 34px;
  font-weight: 700;
  line-height: 1.4;
}

.component-info-board__lead {
  margin-top: 8px;
  color: var(--color-text-light);
  font-size: 13px;
  line-height: 1.75;
}

.component-info-board__list {
  display: flex;
  flex-wrap: wrap;
  gap: 17px;
}

.component-info-board__block {
  position: relative;
  width: calc((100% - 17px) / 2);
  padding: 20px 18px 17px;
  border: 1px solid var(--color-background-light);
  border-radius: 17px;
  background-color: rgba(255, 255, 255, 0.78);
}

.component-info-board__block-title {
  display: flex;
  align-items: center;
  gap: 9px;
  margin-bottom: 13px;
  padding-bottom: 10px;
  border-bottom: 1px dashed color-mix(in srgb, var(--color-main-light) 55%, var(--color-white));
  color: var(--color-sub);
  font-size: 16px;
  font-weight: 700;
  line-height: 1.5;
}

/* 見出しの丸いアイコン（白い素材を色で塗る） */
.component-info-board__icon {
  display: flex;
  flex-shrink: 0;
  align-items: center;
  justify-content: center;
  width: 34px;
  height: 34px;
  border-radius: 50%;
  background-color: color-mix(in srgb, var(--color-accent) 7%, var(--color-white));
}

.component-info-board__icon::before {
  content: '';
  width: 18px;
  height: 17px;
  background-color: var(--color-accent);
  -webkit-mask-repeat: no-repeat;
  mask-repeat: no-repeat;
  -webkit-mask-position: center;
  mask-position: center;
  -webkit-mask-size: contain;
  mask-size: contain;
}

.component-info-board__icon--calendar::before {
  -webkit-mask-image: url('/import/tenant_1/162.43.27.181/kato/image/common/icon_calendar.webp');
  mask-image: url('/import/tenant_1/162.43.27.181/kato/image/common/icon_calendar.webp');
}

.component-info-board__icon--basket::before {
  -webkit-mask-image: url('/import/tenant_1/162.43.27.181/kato/image/common/icon_basket.webp');
  mask-image: url('/import/tenant_1/162.43.27.181/kato/image/common/icon_basket.webp');
}

.component-info-board__icon--tel::before {
  -webkit-mask-image: url('/import/tenant_1/162.43.27.181/kato/image/common/icon_tel.webp');
  mask-image: url('/import/tenant_1/162.43.27.181/kato/image/common/icon_tel.webp');
}

.component-info-board__icon--truck::before {
  width: 20px;
  -webkit-mask-image: url('/import/tenant_1/162.43.27.181/kato/image/common/icon_truck.webp');
  mask-image: url('/import/tenant_1/162.43.27.181/kato/image/common/icon_truck.webp');
}

/* 用紙の中の項目の行（共通の component-info-list を、用紙の中だけ記入欄ふうに） */
.component-info-board .component-info-list__row {
  padding: 8px 0;
}

.component-info-board .component-info-list__row::after {
  content: none;
}

.component-info-board .component-info-list__row + .component-info-list__row {
  border-top: 1px solid color-mix(in srgb, var(--color-background-light) 60%, var(--color-white));
}

/* 項目名が長い（最長「食べ放題か、摘み取り量に応じた料金制か」）ので、項目名を広く・内容（「準備中」など短い）を狭く */
.component-info-board .component-info-list__title {
  width: 40%;
  padding-right: 8px;
  font-size: 13px;
  line-height: 1.75;
}

.component-info-board .component-info-list__data {
  min-height: 23px;
  border-bottom: 1px dotted var(--color-main-light);
  color: var(--color-text-light);
  font-size: 13px;
  line-height: 1.75;
}

.component-info-board .component-info-list__row + .component-info-list__row--key,
.component-info-board .component-info-list__row--key + .component-info-list__row {
  border-top: 0;
}

.component-info-board .component-info-list__row--key .component-info-list__data {
  /* color: var(--color-text); */
  font-size: 15px;
  font-weight: 700;
}

@media (max-width: 1024px) {
  .component-info-board__paper {
    padding: 46px 24px 32px;
  }

  .component-info-board__block {
    width: 100%;
  }
}

@media (max-width: 599px) {
  .component-info-board {
    padding: 50px 15px 18px;
  }

  .component-info-board__clip {
    width: 175px;
  }

  .component-info-board__paper {
    padding: 44px 14px 26px;
  }

  .component-info-board__title {
    font-size: 26px;
  }

  .component-info-board__decor {
    display: none;
  }

  .component-info-board .component-info-list__title {
    width: 100%;
    padding-right: 0;
  }

  .component-info-board .component-info-list__data {
    min-height: 25px;
    margin-left: 0;
  }
}


/* ==================================================
  Component: Info Card（画像と項目の行をまとめたカード）
================================================== */

.component-info-card {
  padding: 40px 44px 44px;
  border-radius: 20px;
  background-color: var(--color-white);
}

.component-info-card__label {
  width: -moz-fit-content;
  width: fit-content;
  padding: 8px 24px;
  border-radius: 24px;
  background-color: var(--color-background-light);
  font-size: 16px;
  font-weight: 700;
  line-height: 1.5;
}

.component-info-card__body {
  display: flex;
  align-items: flex-start;
  gap: 48px;
  margin-top: 28px;
}

.component-info-card__image {
  flex-shrink: 0;
  width: 36%;
  border-radius: 16px;
  overflow: hidden;
}

.component-info-card__body .component-info-list {
  flex-grow: 1;
  min-width: 0;
}

.component-info-card__note {
  margin-top: 28px;
  padding: 16px 24px;
  border-radius: 16px;
  background-color: var(--color-background-light);
  font-size: 14px;
  line-height: 1.9;
}

@media (max-width: 599px) {
  .component-info-card {
    padding: 28px 20px 32px;
  }

  .component-info-card__body {
    flex-direction: column;
    gap: 20px;
  }

  .component-info-card__image {
    width: 100%;
  }
}


/* ==================================================
  Component: Number List（番号つきの行）
================================================== */

.component-number-list__item {
  display: flex;
  align-items: baseline;
  gap: 20px;
  padding: 20px 4px;
  border-bottom: 1px dotted var(--color-main);
}

.component-number-list__number {
  flex-shrink: 0;
  color: var(--color-gold);
  font-family: var(--font-family-english);
  font-size: 26px;
  font-weight: 600;
  line-height: 1;
}

.component-number-list__body {
  min-width: 0;
}

.component-number-list__title {
  font-size: 17px;
  font-weight: 700;
  line-height: 1.6;
}

.component-number-list__text {
  margin-top: 4px;
  font-size: 15px;
  line-height: 1.9;
}


/* ==================================================
  Component: Note（補足の囲み）
================================================== */

.component-note {
  margin-top: 32px;
  padding: 18px 24px;
  border: 2px dashed var(--color-gold);
  border-radius: var(--radius-medium);
  font-size: 14px;
  line-height: 1.9;
}

/* ==================================================
  Component: Tab（common.js の .tabWrap。active は common.js が付ける）
================================================== */

.component-tab__button-list {
  display: flex;
}

.component-tab__button {
  width: 50%;
}

.component-tab__button a {
  display: block;
  height: 100%;
}

.component-tab__button-text {
  display: flex;
  align-items: center;
  justify-content: center;
  height: 100%;
  min-height: 64px;
  padding: 12px 16px;
  border: 2px solid var(--color-main);
  border-bottom: 0;
  border-radius: var(--radius-large) var(--radius-large) 0 0;
  background-color: var(--color-white);
  font-size: 17px;
  font-weight: 700;
  line-height: 1.5;
  text-align: center;
}

.component-tab__button.active .component-tab__button-text {
  background-color: var(--color-main);
  color: var(--color-white);
}

.component-tab__panel {
  display: none;
  padding: 48px 56px 56px;
  border: 2px solid var(--color-main);
  background-color: var(--color-white);
}

.component-tab__panel.active {
  display: block;
}

@media (max-width: 599px) {
  .component-tab__button-text {
    min-height: 56px;
    padding: 8px;
    font-size: 14px;
  }

  .component-tab__panel {
    padding: 32px 16px 40px;
  }
}


/* ==================================================
  Component: Form（form タグは A-BiSU が出力する。button は親から指定）
================================================== */

.component-form__group-title {
  margin-top: 40px;
  padding-left: 14px;
  border-left: 4px solid var(--color-gold);
  font-size: 18px;
  font-weight: 700;
  line-height: 1.6;
}

.component-form__group-title:first-child {
  margin-top: 0;
}

.component-form__list {
  margin-top: 8px;
}

.component-form__item {
  display: flex;
  align-items: flex-start;
  padding: 20px 0;
  border-bottom: 1px dotted var(--color-main);
}

.component-form__title {
  display: flex;
  flex-shrink: 0;
  flex-wrap: wrap;
  align-items: center;
  gap: 6px 10px;
  width: 30%;
  padding-top: 12px;
  font-size: 15px;
  font-weight: 700;
  line-height: 1.6;
}

.component-form__required,
.component-form__optional {
  padding: 1px 8px;
  border-radius: var(--radius-small);
  font-size: 12px;
  font-weight: 700;
  line-height: 1.6;
}

.component-form__required {
  background-color: var(--color-accent);
  color: var(--color-white);
}

.component-form__optional {
  border: 1px solid var(--color-main);
}

.component-form__data {
  flex-grow: 1;
  min-width: 0;
  padding-left: 24px;
}

/* A-BiSU のバリデーションで .actual_object_error_wrapper に囲まれても幅が崩れないようにする（CSS §54） */
.component-form__data input[type='text'],
.component-form__data input[type='email'],
.component-form__data input[type='tel'],
.component-form__data input[type='date'],
.component-form__data select,
.component-form__data textarea,
.component-form__data .actual_object_error_wrapper {
  width: 100%;
}

.component-form__data input[type='text'],
.component-form__data input[type='email'],
.component-form__data input[type='tel'],
.component-form__data input[type='date'],
.component-form__data input[type='number'],
.component-form__data select,
.component-form__data textarea {
  min-height: 52px;
  padding: 12px 16px;
  border: 1px solid var(--color-border);
  border-radius: var(--radius-medium);
  background-color: var(--color-background);
  color: var(--color-text);
  font-size: 16px;
  line-height: 1.5;
}

.component-form__data textarea {
  min-height: 200px;
  resize: vertical;
}

.component-form__select {
  position: relative;
}

.component-form__select::after {
  content: '';
  position: absolute;
  top: 50%;
  right: 18px;
  width: 8px;
  height: 8px;
  border-right: 2px solid var(--color-main);
  border-bottom: 2px solid var(--color-main);
  transform: translateY(-70%) rotate(45deg);
  pointer-events: none;
}

.component-form__select select {
  padding-right: 44px;
  -webkit-appearance: none;
  appearance: none;
}

/*
  チェックボックス（本人指示 2026-10-23：A-BiSU の中でも崩れない作りに）
  - A-BiSU が出力する形：<div class="checkboxer"> の中に <input type="checkbox"> と <label> が交互に並ぶだけ（1組ずつの囲みなし）
    ローカルの形：.component-form__checkbox-item の中に input と label
    → どちらも「input のすぐ後ろに label」なので、input:checked + label で見た目を作る（クラスに頼らない）
  - input は見えなくして（キーボード操作・読み上げのため display: none にはしない）、label の ::before に四角、::after にチェック印
  - label は inline-block（ことばの途中で四角と文字が分かれない）。間は label の右の余白でとる
  - A-BiSU がバリデーションで input ひとつずつを .actual_object_error_wrapper で囲むと + がつながらなくなる（参考にした社内の書き方と同じ前提）
*/
.component-form__checkbox-list,
.component-form__data .checkboxer {
  position: relative;
  padding-top: 8px;
}

.component-form__checkbox-list {
  display: flex;
  flex-wrap: wrap;
}

.component-form__data input[type='checkbox'] {
  position: absolute;
  width: 1px;
  height: 1px;
  opacity: 0;
  clip-path: inset(50%);
}

.component-form__data input[type='checkbox'] + label {
  position: relative;
  display: inline-block;
  margin: 4px 24px 4px 0;
  padding-left: 30px;
  font-size: 15px;
  line-height: 1.6;
}

/* 四角 */
.component-form__data input[type='checkbox'] + label::before {
  content: '';
  position: absolute;
  top: 1px;
  left: 0;
  width: 22px;
  height: 22px;
  border: 2px solid var(--color-main);
  border-radius: 4px;
  background-color: var(--color-white);
  transition: background-color var(--duration-normal) ease;
}

/* チェック印（L 字を回して描く） */
.component-form__data input[type='checkbox'] + label::after {
  content: '';
  position: absolute;
  top: 5px;
  left: 8px;
  width: 7px;
  height: 12px;
  border-right: 3px solid var(--color-white);
  border-bottom: 3px solid var(--color-white);
  opacity: 0;
  rotate: 45deg;
}

.component-form__data input[type='checkbox']:checked + label::before {
  background-color: var(--color-main);
}

.component-form__data input[type='checkbox']:checked + label::after {
  opacity: 1;
}

.component-form__data input[type='checkbox']:focus-visible + label::before {
  outline: 2px solid var(--color-accent);
  outline-offset: 2px;
}

.component-form__number-list {
  display: flex;
  flex-wrap: wrap;
  gap: 12px 24px;
}

.component-form__number-item {
  display: flex;
  align-items: center;
  gap: 8px;
  font-size: 15px;
  line-height: 1.6;
}

.component-form__number-item input,
.component-form__number-item .actual_object_error_wrapper {
  width: 96px;
}

.component-form__note {
  margin-top: 32px;
  padding: 18px 24px;
  border: 2px dashed var(--color-gold);
  border-radius: var(--radius-medium);
  font-size: 14px;
  line-height: 1.9;
}

.component-form__note-title {
  font-weight: 700;
}

.component-form__confirm {
  margin-top: 40px;
}

.component-form__button {
  width: 100%;
  max-width: 340px;
  margin-right: auto;
  margin-left: auto;
}

.component-form__button button {
  width: 100%;
  min-height: 64px;
  padding: 12px 24px;
  border: 0;
  border-radius: 32px;
  background-color: var(--color-main);
  color: var(--color-white);
  font-size: 16px;
  font-weight: 700;
  line-height: 1.5;
}

/* 入力内容確認ページ（99*_confirm）：「戻る」と「送信する」を横に並べる。SP は縦（送信するが上） */
.component-form__button-list {
  display: flex;
  justify-content: center;
  gap: 24px;
  margin-top: 40px;
}

.component-form__button-list .component-form__button {
  flex: 1 1 0;
  margin-right: 0;
  margin-left: 0;
}

.component-form__button--back button {
  border: 2px solid var(--color-main);
  background-color: var(--color-white);
  color: var(--color-main);
}

@media (max-width: 599px) {
  .component-form__item {
    flex-direction: column;
    padding: 16px 0;
  }

  .component-form__title {
    width: 100%;
    padding-top: 0;
  }

  .component-form__data {
    width: 100%;
    margin-top: 10px;
    padding-left: 0;
  }

  .component-form__checkbox-list,
  .component-form__data .checkboxer {
    padding-top: 0;
  }

  .component-form__note {
    padding: 14px 16px;
  }

  .component-form__button-list {
    flex-direction: column-reverse;
    align-items: center;
    gap: 16px;
  }

  .component-form__button-list .component-form__button {
    flex: 0 0 auto;
  }
}

/* ==================================================
  Component: Category（カテゴリーの絞り込みボタン）
================================================== */

.component-category {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 12px;
}

.component-category__item a {
  display: block;
}

.component-category__link {
  min-width: 120px;
  padding: 10px 24px;
  border: 2px solid var(--color-main);
  border-radius: 30px;
  background-color: var(--color-white);
  font-size: 15px;
  font-weight: 700;
  line-height: 1.5;
  text-align: center;
}

@media (max-width: 599px) {
  .component-category {
    gap: 8px;
  }

  .component-category__link {
    min-width: 0;
    padding: 8px 16px;
    font-size: 13px;
  }
}

/*
  Category Nav（見出し「カテゴリー」＋カテゴリーボタン。サイドの列に置く）
  使用箇所：08marche 商品ラインナップ／99marche_detail 商品詳細
  - PC：縦に大きめのボタンで並べる／≤1024px：横並び中央／≤599px：2×2
  - 表示中のカテゴリー：項目に .is-current（08marche は common.js「一覧のページネーション・カテゴリーを部分更新にする」が付ける）
*/
.component-category-nav__title {
  padding-bottom: 12px;
  border-bottom: 2px dotted var(--color-main-light);
  font-size: 18px;
  font-weight: 700;
  line-height: 1.5;
}

.component-category-nav .component-category {
  flex-direction: column;
  gap: 12px;
  margin-top: 20px;
}

.component-category-nav .component-category__link {
  padding: 14px 24px;
  font-size: 16px;
}

.component-category-nav .component-category__item.is-current .component-category__link {
  background-color: var(--color-main);
  color: var(--color-white);
}

@media (max-width: 1024px) {
  .component-category-nav__title {
    text-align: center;
  }

  .component-category-nav .component-category {
    flex-direction: row;
    gap: 10px;
    margin-top: 16px;
  }
}

@media (max-width: 599px) {
  .component-category-nav .component-category {
    gap: 8px;
  }

  .component-category-nav .component-category__item {
    width: calc((100% - 8px) / 2);
  }

  .component-category-nav .component-category__link {
    padding: 12px 8px;
    font-size: 14px;
  }
}


/* ==================================================
  Component: Pagination（ページネーション）
================================================== */

.component-pagination {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: center;
  gap: 12px 20px;
}

.component-pagination a {
  display: block;
}

.component-pagination__numbers {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 8px;
}

.component-pagination__link,
.component-pagination__current {
  display: flex;
  align-items: center;
  justify-content: center;
  min-width: 44px;
  height: 44px;
  padding: 0 8px;
  border: 2px solid var(--color-main);
  border-radius: 22px;
  background-color: var(--color-white);
  font-family: var(--font-family-english);
  font-size: 16px;
  font-weight: 600;
  line-height: 1;
}

.component-pagination__current {
  background-color: var(--color-main);
  color: var(--color-white);
}

.component-pagination__prev-link,
.component-pagination__next-link {
  font-size: 14px;
  font-weight: 700;
  line-height: 1.5;
  text-decoration: underline;
}

/* 枠の中に置いた一覧（お便り）でも、前後リンクと番号が1行に収まるよう詰める */
@media (max-width: 599px) {
  .component-pagination {
    gap: 12px 8px;
  }

  .component-pagination__numbers {
    gap: 6px;
  }

  .component-pagination__link,
  .component-pagination__current {
    min-width: 40px;
    height: 40px;
    border-radius: 20px;
  }
}


/* ==================================================
  Component: Archive（月別アーカイブ）
================================================== */

.component-archive {
  margin-top: 24px;
}

.component-archive__item a {
  border-bottom: 1px dotted var(--color-main);
}

.component-archive__item a {
  display: block;
}

.component-archive__link {
  position: relative;
  padding: 14px 32px 14px 4px;
  font-size: 15px;
  font-weight: 700;
  line-height: 1.5;
}

/* 右の「＞」 */
.component-archive__link::after {
  content: '';
  position: absolute;
  top: 50%;
  right: 10px;
  width: 7px;
  height: 7px;
  border-top: 1.5px solid currentColor;
  border-right: 1.5px solid currentColor;
  transform: translateY(-50%) rotate(45deg);
}


/* ==================================================
  Component: Postbox ／ Letter Archive（お便りの郵便ポスト＋封筒の月別アーカイブ）
  使用箇所：13news（お便り一覧）／99news_detail（お便り詳細）の右の列。同じ見た目なので共通パーツにした
  - .component-postbox：郵便ポストの絵を3枚（image/news/news_post_top・body・bottom）に分け、赤い胴体（body）を縦にくり返す。
    中に共通の component-category を入れ、白い文字の行＋白い点線＋「＞」に上書き
  - .component-letter-archive：月別アーカイブ。共通の component-archive を、1か月＝封筒1通の見た目に上書き
  - 素材の作り方：ai-coding/clients/3257612_kato/tools/make_news_assets.py
================================================== */

/* ---- 郵便ポスト（中にカテゴリー） */
.component-postbox::before,
.component-postbox::after {
  content: '';
  display: block;
  background-repeat: no-repeat;
  background-size: 100% 100%;
}

.component-postbox::before {
  aspect-ratio: 560 / 246;
  background-image: url('/import/tenant_1/162.43.27.181/kato/image/news/news_post_top.webp');
}

.component-postbox::after {
  margin-top: -1px;   /* 3枚のつなぎ目に細いすき間（端数のずれ）が出ないよう 1px 重ねる */
  aspect-ratio: 560 / 345;
  background-image: url('/import/tenant_1/162.43.27.181/kato/image/news/news_post_bottom.webp');
}

/* 赤い胴体：中身の高さに合わせて帯を縦にくり返す。文字はポストの枠（左右の黒い線）の内側に収める */
.component-postbox__body {
  position: relative;
  margin-top: -1px;
  padding: 5px 16% 9px;
  background-image: url('/import/tenant_1/162.43.27.181/kato/image/news/news_post_body.webp');
  background-repeat: repeat-y;
  background-size: 100% auto;
  color: var(--color-white);
}

/*
  遊び：カテゴリーにマウスを乗せると、投函口のふたがパカッと開いて、小さな手紙が吸い込まれる（本人の要望 2026-10-22）
  - ふた（__body::before）：ふだんは投函口の黒い穴をふさいでいる灰色の板。乗せると上の辺を軸に奥へ倒れて（rotateX）穴が見える
  - 手紙（__body::after）：投函口の上から穴へすべり込んで消える（乗せるたびに1回）
  - 位置はポストの幅に対する割合（.component-postbox を container にして cqw）。投函口は上の絵（560×246）の x 137〜422・y 177〜219
    → 左 24.46cqw・幅 50.89cqw、上の絵の高さ 43.93cqw の中で上から 31.61cqw（胴体から見ると −12.32cqw）・高さ 7.5cqw
  - 動きを減らす設定では、ふたの開け閉めだけ（動きなし）で、手紙は出さない
*/
.component-postbox {
  container-type: inline-size;
}

.component-postbox__body::before {
  content: '';
  position: absolute;
  top: calc(-12.32cqw - 1px);
  left: 24.46cqw;
  z-index: 1;
  width: 50.89cqw;
  height: 7.5cqw;
  border-radius: 1cqw;
  /* クレヨンの絵に合わせて、灰色に斜めの細い線を重ねる */
  background-color: color-mix(in srgb, var(--color-white) 70%, var(--color-black));
  background-image: repeating-linear-gradient(-55deg, rgba(255, 255, 255, 0.18) 0 2px, transparent 2px 5px);
  box-shadow:
    inset 0 -0.8cqw 0 rgba(0, 0, 0, 0.18),
    inset 0 0.5cqw 0 rgba(255, 255, 255, 0.35);
  transform: perspective(40cqw) rotateX(0deg);
  transform-origin: center top;
  transition: transform 0.35s cubic-bezier(0.34, 1.56, 0.64, 1);
}

.component-postbox:has(.component-category__item:hover) .component-postbox__body::before {
  transform: perspective(40cqw) rotateX(78deg);
}

/* 投函口へすべり込む小さな手紙（白い封筒＋ふたの V 字） */
.component-postbox__body::after {
  content: '';
  position: absolute;
  top: calc(-12.32cqw - 9cqw);
  left: 41cqw;
  z-index: 2;
  width: 18cqw;
  height: 11cqw;
  border: 1.5px solid var(--color-main);
  border-radius: 0.6cqw;
  background-color: var(--color-white);
  background-image:
    linear-gradient(to top right, transparent calc(50% - 0.75px), var(--color-main) calc(50% - 0.75px) calc(50% + 0.75px), transparent calc(50% + 0.75px)),
    linear-gradient(to top left, transparent calc(50% - 0.75px), var(--color-main) calc(50% - 0.75px) calc(50% + 0.75px), transparent calc(50% + 0.75px));
  background-position: left top, right top;
  background-repeat: no-repeat;
  background-size: 50% 60%;
  opacity: 0;
  pointer-events: none;
}

.component-postbox:has(.component-category__item:hover) .component-postbox__body::after {
  animation: componentPostboxLetter 0.9s ease-in 0.1s both;
}

@keyframes componentPostboxLetter {
  0% {
    opacity: 0;
    transform: translateY(-4cqw) rotate(-8deg);
  }

  25% {
    opacity: 1;
    transform: translateY(0) rotate(-3deg);
  }

  75% {
    opacity: 1;
    transform: translateY(8cqw) rotate(0deg) scaleY(0.6);
  }

  100% {
    opacity: 0;
    transform: translateY(10cqw) rotate(0deg) scaleY(0.2);
  }
}

@media (prefers-reduced-motion: reduce) {
  .component-postbox__body::before {
    transition: none;
  }

  .component-postbox:has(.component-category__item:hover) .component-postbox__body::after {
    animation: none;
  }
}

/* 小見出し（component-subheading）の筆の線・幅を打ち消す。共通の subheading より前に書いてあるので、親付きで詳細度を上げる */
.component-postbox .component-postbox__title {
  width: 100%;
  margin-top: 0;
  font-size: 17px;
  text-align: center;
}

.component-postbox .component-postbox__title::after {
  content: none;
}

/*
  ポストの中のカテゴリー：白い文字の行を縦に並べ、行の間に白い点線、右に「＞」
  （お知らせ等と同じ component-category を上書き。丸いボタンの枠・背景は消す。本人指示で以前のアーカイブと同じ見た目に）
*/
.component-postbox .component-category {
  flex-direction: column;
  flex-wrap: nowrap;
  gap: 0;
  margin-top: 8px;
}

.component-postbox .component-category__item {
  border-bottom: 1px dotted rgba(255, 255, 255, 0.7);
}

.component-postbox .component-category__link {
  position: relative;
  min-width: 0;
  padding: 10px 24px 10px 4px;
  border: 0;
  border-radius: 0;
  background-color: transparent;
  color: var(--color-white);
  font-size: 14px;
  text-align: left;
}

.component-postbox .component-category__link::after {
  content: '';
  position: absolute;
  top: 50%;
  right: 10px;
  width: 7px;
  height: 7px;
  border-top: 1.5px solid currentColor;
  border-right: 1.5px solid currentColor;
  transform: translateY(-50%) rotate(45deg);
}

/* ---- 月別アーカイブ：1か月＝封筒1通（左に封筒のアイコン、白い紙に茶色の線） */
.component-letter-archive {
  margin-top: 40px;
}

.component-letter-archive .component-letter-archive__title {
  margin-top: 0;
  margin-right: auto;
  margin-left: auto;
  font-size: 18px;
}

.component-letter-archive .component-archive {
  display: flex;
  flex-direction: column;
  gap: 10px;
  margin-top: 24px;
}

.component-letter-archive .component-archive__item a {
  border: 1.5px solid var(--color-main);
  border-radius: var(--radius-small);
  background-color: var(--color-white);
  box-shadow: 2px 3px 0 color-mix(in srgb, var(--color-main-light) 60%, transparent);
  transition: transform 0.3s ease;
}

.component-letter-archive .component-archive__item a:hover {
  transform: translateY(-2px) rotate(-1deg);
}

.component-letter-archive .component-archive__item a:hover {
  opacity: 1;
}

.component-letter-archive .component-archive__link {
  padding: 12px 32px 12px 52px;
}

/* 封筒のアイコン（四角＋ふたの V 字） */
.component-letter-archive .component-archive__link::before {
  content: '';
  position: absolute;
  top: 50%;
  left: 16px;
  width: 24px;
  height: 17px;
  border: 1.5px solid var(--color-main);
  border-radius: 2px;
  background-image:
    linear-gradient(to top right, transparent calc(50% - 0.75px), var(--color-main) calc(50% - 0.75px) calc(50% + 0.75px), transparent calc(50% + 0.75px)),
    linear-gradient(to top left, transparent calc(50% - 0.75px), var(--color-main) calc(50% - 0.75px) calc(50% + 0.75px), transparent calc(50% + 0.75px));
  background-position: left top, right top;
  background-repeat: no-repeat;
  background-size: 50% 65%;
  transform: translateY(-50%);
}


/* ==================================================
  Component: Sticky Board（付箋のインデックス：カテゴリー＋月別アーカイブ）
  使用箇所：14blog（農園日記 一覧）
  - カテゴリーと月別アーカイブを、それぞれ別の白い手描きの紙（frame_white）に。2枚は同じ幅・同じ高さ（PC は左右、≤1024px は上下）
  - 項目は黄色い付箋。1枚ずつ少し傾ける（並び順で角度を変える。5枚でひと回り）
  - 付箋はふだん平ら（image/blog/blog_sticky_flat：支給の付箋の折れた角を、右上の角の絵で描き直したもの）
  - マウスを乗せると右下の角がペラッと折れ上がる：
      ::before（平らな付箋）の右下を clip-path で斜めに切り落とし、同時に ::after（支給の付箋＝折れた角の絵 blog_sticky）を
      右下の角から clip-path で広げて見せる。どちらもクレヨンの絵そのものなので、線の質感は変わらない。少し浮かせて影を落とす
  - 表示中のカテゴリー・月：項目に .is-current（js/diary-book.js が付ける）→ 上に赤いマスキングテープ
================================================== */

.component-sticky-board {
  display: flex;
  justify-content: space-between;
  gap: 32px;
}

.component-sticky-board__group {
  width: calc((100% - 32px) / 2);
  padding: 40px 48px 48px;
  background-image: url('/import/tenant_1/162.43.27.181/kato/image/common/frame_white.webp');
  background-repeat: no-repeat;
  background-size: 100% 100%;
}

.component-sticky-board__title {
  padding-bottom: 10px;
  border-bottom: 2px dotted var(--color-main-light);
  font-size: 18px;
  font-weight: 700;
  line-height: 1.5;
}

.component-sticky-board .component-category,
.component-sticky-board .component-archive {
  display: flex;
  flex-wrap: wrap;
  justify-content: flex-start;
  gap: 20px 14px;
  margin-top: 26px;
}

/* 項目の数・文字数が変わっても崩れないよう、付箋は内容に合わせて伸び（最大で列の幅）、長い名前は付箋の中で折り返す。
   付箋の絵は 100% 100% で伸び縮みするので、2行になると付箋の高さも自動で伸びる */
.component-sticky-board .component-category__item,
.component-sticky-board .component-archive__item {
  position: relative;
  max-width: 100%;
  border-bottom: 0;
}

/* 付箋の傾き（5枚でひと回り） */
.component-sticky-board .component-category__item:nth-child(5n + 1),
.component-sticky-board .component-archive__item:nth-child(5n + 1) {
  rotate: -2deg;
}

.component-sticky-board .component-category__item:nth-child(5n + 2),
.component-sticky-board .component-archive__item:nth-child(5n + 2) {
  rotate: 3deg;
}

.component-sticky-board .component-category__item:nth-child(5n + 3),
.component-sticky-board .component-archive__item:nth-child(5n + 3) {
  rotate: -1deg;
}

.component-sticky-board .component-category__item:nth-child(5n + 4),
.component-sticky-board .component-archive__item:nth-child(5n + 4) {
  rotate: 2deg;
}

.component-sticky-board .component-category__item:nth-child(5n + 5),
.component-sticky-board .component-archive__item:nth-child(5n + 5) {
  rotate: -3deg;
}

.component-sticky-board .component-category__item a:hover,
.component-sticky-board .component-archive__item a:hover {
  opacity: 1;
}

.component-sticky-board .component-category__link,
.component-sticky-board .component-archive__link {
  isolation: isolate;
  position: relative;
  min-width: 132px;
  padding: 14px 30px 18px 20px;
  border: 0;
  border-radius: 0;
  background-color: transparent;
  color: var(--color-text);
  font-size: 15px;
  font-weight: 700;
  line-height: 1.5;
  text-align: center;
  overflow-wrap: anywhere;
  filter: drop-shadow(1px 2px 1px color-mix(in srgb, var(--color-main) 18%, transparent));
  transition: transform var(--duration-normal) ease, filter var(--duration-normal) ease;
}

/* 平らな付箋。ホバーで右下の角を斜めに切り落とす（切り口＝支給の付箋の折れ目の位置：右端 66%〜下端 85%） */
.component-sticky-board .component-category__link::before,
.component-sticky-board .component-archive__link::before {
  content: '';
  position: absolute;
  z-index: -2;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background-image: url('/import/tenant_1/162.43.27.181/kato/image/blog/blog_sticky_flat.webp');
  background-repeat: no-repeat;
  background-size: 100% 100%;
  clip-path: polygon(0 0, 100% 0, 100% 100%, 100% 100%, 0 100%);
  transition: clip-path var(--duration-normal) cubic-bezier(0.3, 1.4, 0.5, 1);
  pointer-events: none;
}

/* 折れ上がった角：支給の付箋（折れた角の絵）の角の部分だけを、右下から広げて見せる（月別アーカイブの「＞」は付箋では使わない） */
.component-sticky-board .component-category__link::after,
.component-sticky-board .component-archive__link::after {
  content: '';
  position: absolute;
  z-index: -1;
  top: 0;
  right: 0;
  width: 100%;
  height: 100%;
  border: 0;
  background-image: url('/import/tenant_1/162.43.27.181/kato/image/blog/blog_sticky.webp');
  background-repeat: no-repeat;
  background-size: 100% 100%;
  transform: none;
  clip-path: polygon(100% 100%, 100% 100%, 100% 100%, 100% 100%, 100% 100%);
  transition: clip-path var(--duration-normal) cubic-bezier(0.3, 1.4, 0.5, 1);
  pointer-events: none;
}

.component-sticky-board a:hover .component-category__link,
.component-sticky-board a:hover .component-archive__link {
  filter: drop-shadow(3px 6px 4px color-mix(in srgb, var(--color-main) 22%, transparent));
  transform: translateY(-3px);
}

.component-sticky-board a:hover .component-category__link::before,
.component-sticky-board a:hover .component-archive__link::before {
  clip-path: polygon(0 0, 100% 0, 100% 66%, 85% 100%, 0 100%);
}

.component-sticky-board a:hover .component-category__link::after,
.component-sticky-board a:hover .component-archive__link::after {
  clip-path: polygon(100% 65%, 98% 65%, 86% 73.5%, 84.5% 100%, 100% 100%);
}

/* 表示中：上に赤いマスキングテープ */
.component-sticky-board .component-category__item.is-current::before,
.component-sticky-board .component-archive__item.is-current::before {
  content: '';
  position: absolute;
  z-index: 1;
  top: -9px;
  left: 50%;
  width: 52px;
  height: 18px;
  background-color: color-mix(in srgb, var(--color-accent) 55%, transparent);
  background-image: repeating-linear-gradient(45deg, transparent 0 5px, color-mix(in srgb, var(--color-white) 30%, transparent) 5px 8px);
  transform: translateX(-50%) rotate(-4deg);
  pointer-events: none;
}

@media (max-width: 1024px) {
  .component-sticky-board {
    flex-direction: column;
    gap: 24px;
  }

  .component-sticky-board__group {
    width: 100%;
    padding: 36px 36px 44px;
  }

  .component-sticky-board__title {
    text-align: center;
  }

  .component-sticky-board .component-category,
  .component-sticky-board .component-archive {
    justify-content: center;
  }
}

@media (max-width: 599px) {
  .component-sticky-board__group {
    padding: 28px 20px 34px;
  }

  .component-sticky-board__title {
    font-size: 16px;
  }

  .component-sticky-board .component-category,
  .component-sticky-board .component-archive {
    gap: 14px 8px;
    margin-top: 20px;
  }

  .component-sticky-board .component-category__link,
  .component-sticky-board .component-archive__link {
    min-width: 0;
    padding: 11px 22px 14px 14px;
    font-size: 13px;
  }
}


/*
  机に貼った付箋（--desk。14blog の農園の机）
  - 白い紙の台紙は使わず、木の机に直接貼る。見出しは正方形の黄色い付箋（image/blog/blog_sticky_square）に書いて少し傾け、
    その右に項目の付箋を並べる
*/
.component-sticky-board--desk .component-sticky-board__group {
  display: flex;
  align-items: flex-start;
  gap: 20px;
  padding: 0;
  background-image: none;
}

.component-sticky-board--desk .component-sticky-board__title {
  display: flex;
  flex-shrink: 0;
  align-items: center;
  justify-content: center;
  width: 150px;
  aspect-ratio: 520 / 495;
  padding: 0 14px 12px;
  border-bottom: 0;
  background-image: url('/import/tenant_1/162.43.27.181/kato/image/blog/blog_sticky_square.webp');
  background-repeat: no-repeat;
  background-size: 100% 100%;
  filter: drop-shadow(2px 4px 3px color-mix(in srgb, var(--color-main) 25%, transparent));
  font-size: 15px;
  line-height: 1.4;
  text-align: center;
  rotate: -5deg;
}

.component-sticky-board--desk .component-sticky-board__group:nth-child(even) .component-sticky-board__title {
  rotate: 4deg;
}

.component-sticky-board--desk .component-category,
.component-sticky-board--desk .component-archive {
  flex: 1 1 auto;
  min-width: 0;
  margin-top: 8px;
}

.component-sticky-board--desk .component-category__link,
.component-sticky-board--desk .component-archive__link {
  filter: drop-shadow(2px 3px 2px color-mix(in srgb, var(--color-main) 28%, transparent));
}

@media (max-width: 1024px) {
  .component-sticky-board--desk .component-sticky-board__group {
    width: 100%;
    padding: 0;
  }

  .component-sticky-board--desk .component-sticky-board__title {
    text-align: center;
  }

  .component-sticky-board--desk .component-category,
  .component-sticky-board--desk .component-archive {
    justify-content: flex-start;
  }
}

@media (max-width: 599px) {
  .component-sticky-board--desk .component-sticky-board__group {
    gap: 12px;
  }

  .component-sticky-board--desk .component-sticky-board__title {
    width: 104px;
    padding: 0 8px 8px;
    font-size: 12px;
  }

  .component-sticky-board--desk .component-category,
  .component-sticky-board--desk .component-archive {
    margin-top: 4px;
  }
}

/* ==================================================
  Component: Pen Back（一覧へ戻る：いちご柄のペン。99news_detail・99blog_detail）
  - 本人支給の素材 image/news/news_pen.webp（先が左＝戻る向きになるよう横向きにしてある）
  - ペンの絵はボタン全体の背景（比率 700:136）。文字は白い軸（左から 35〜87%）の上に、白い札を敷いて読みやすく
  - ホバーで少し左へ（書き進める向き）
  - 上の余白は置く側（project-）で指定する
================================================== */

.component-pen-back {
  width: 340px;
  max-width: 100%;
  margin-right: auto;
  margin-left: auto;
}

.component-pen-back a {
  display: block;
}

.component-pen-back a:hover {
  opacity: 1;
}

.component-pen-back__link {
  position: relative;
  aspect-ratio: 700 / 136;
  background-image: url('/import/tenant_1/162.43.27.181/kato/image/news/news_pen.webp');
  background-repeat: no-repeat;
  background-size: 100% 100%;
  filter: drop-shadow(2px 4px 4px rgba(104, 63, 38, 0.18));
  transition: transform 0.3s ease;
}

/* 軸の上の札：ペンの白い軸のまん中（左 37%〜右 15%、上下は軸の太さのまん中） */
.component-pen-back__text {
  position: absolute;
  top: 12%;
  right: 15%;
  left: 37%;
  display: flex;
  align-items: center;
  justify-content: center;
  height: 52%;
  padding: 0 8px;
  border-radius: 99px;
  background-color: rgba(255, 255, 255, 68%);
  box-shadow: 0 1px 3px rgba(104, 63, 38, 0.15);
  color: var(--color-main);
  font-size: 13px;
  font-weight: 700;
  line-height: 1.3;
  white-space: nowrap;
}

.component-pen-back a:hover .component-pen-back__link {
  transform: translateX(-6px);
}

/* SP は画面の幅いっぱい近くになり大きすぎるので小さく（本人指示 2026-10-28）。
   札（軸の白い部分）も狭くなるので、長い「農園日記一覧へ戻る」（9文字）が1行に入る文字の大きさに */
@media (max-width: 599px) {
  .component-pen-back {
    width: 270px;
  }

  .component-pen-back__text {
    padding: 0 6px;
    font-size: 12px;
  }
}

/* ==================================================
  Component: Loading（ローディング画面。本人指示 2026-10-28）
  - 全ページ・サイトに来て最初の1回だけ（同じタブで別のページに移ったときは出さない）。出すかどうかは common.js「ローディング」が
    head で決めて html に .is-loading-screen を付ける。付かないとき（2回目以降・見たまま編集画面・JS が動かない）は出さない
    ※クラス名は is-loading にしない（14blog の手帳・08marche の商品一覧のページ送りが、読み込み中の囲みに .is-loading を付けるので、
      ここの overflow: hidden がそこにも効いて手帳の両端が切れた。2026-10-28 に改名）
  - HTML はヘッダーの共通部分（.header-common）の先頭（ページのいちばん最初に読み込まれ、最初の描画から中身を覆う）。
    ヘッダーの外枠（.layout-header-outer）は z-index: header（100）の重なりを作るので、.is-loading-screen の間だけ loading（500）に上げて、
    ほかの手前に出る要素（追従ボタン・下の固定ボタンなど）より前に出す。スクロールは止める
    ※最初はフッターに置き、読み込みまで body を visibility: hidden にしていたが、Chrome が「中身が見えるまで描かない」ため
      ローディングごと描かれず白いまま → 消える瞬間にページが出る、となったのでやめた（本人「見えない」2026-10-28）
  - 3人（左から女性・子ども・かごを持つ男性）が 0.25 秒ずつ順に弾んで出て並び、そろったあとは軽く上下に揺れ続ける。
    下の「loading...」は1文字ずつ波のように跳ねる
  - 読み込みが終わったら（ローディングが描かれてから最低 2.5秒・最大5秒）JS が .is-loading-screen-done を付け、0.5秒でフェードして消える
  - 画像：image/loading/（支給の illust_carry_*.png の余白を切り、3人の大きさの比率を保ったまま縮めた WebP）。表示の高さで大きさを決める
================================================== */

.component-loading {
  display: none;
}

.is-loading-screen {
  overflow: hidden;
}

.is-loading-screen .layout-header-outer {
  z-index: var(--z-index-loading);
}

.is-loading-screen .component-loading {
  position: fixed;
  top: 0;
  left: 0;
  z-index: var(--z-index-loading);
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  width: 100%;
  height: 100%;
  background-color: var(--color-background);
  transition:
    opacity 0.5s ease,
    visibility 0.5s ease;
}

.is-loading-screen.is-loading-screen-done .component-loading {
  opacity: 0;
  visibility: hidden;
}

.component-loading__people {
  display: flex;
  align-items: flex-end;
  gap: 6px;
}

/* 高さで大きさを決める（3人の大きさの比率は画像のまま） */
.component-loading__person {
  opacity: 0;
  transform-origin: center bottom;
  animation:
    loading-pop 0.45s cubic-bezier(0.34, 1.56, 0.64, 1) forwards,
    loading-sway 1.6s ease-in-out 1s infinite;
}

.component-loading__person img {
  display: block;
  width: auto;
  height: 100%;
}

.component-loading__person--woman {
  height: 159px;
}

.component-loading__person--child {
  height: 119px;
  animation-delay: 0.25s, 1.25s;
}

.component-loading__person--basket {
  height: 160px;
  animation-delay: 0.5s, 1.5s;
}

@keyframes loading-pop {
  0% {
    opacity: 0;
    transform: translateY(24px) scale(0.85);
  }

  100% {
    opacity: 1;
    transform: translateY(0) scale(1);
  }
}

@keyframes loading-sway {
  0%,
  100% {
    opacity: 1;
    transform: translateY(0);
  }

  50% {
    opacity: 1;
    transform: translateY(-5px);
  }
}

.component-loading__text {
  display: flex;
  margin-top: 20px;
  color: var(--color-main);
  font-family: var(--font-family-english);
  font-size: 18px;
  font-weight: 500;
  letter-spacing: 0.08em;
}

.component-loading__char {
  animation: loading-wave 1.4s ease-in-out infinite;
}

.component-loading__char:nth-child(2) { animation-delay: 0.08s; }
.component-loading__char:nth-child(3) { animation-delay: 0.16s; }
.component-loading__char:nth-child(4) { animation-delay: 0.24s; }
.component-loading__char:nth-child(5) { animation-delay: 0.32s; }
.component-loading__char:nth-child(6) { animation-delay: 0.4s; }
.component-loading__char:nth-child(7) { animation-delay: 0.48s; }
.component-loading__char:nth-child(8) { animation-delay: 0.56s; }
.component-loading__char:nth-child(9) { animation-delay: 0.64s; }
.component-loading__char:nth-child(10) { animation-delay: 0.72s; }

@keyframes loading-wave {
  0%,
  40%,
  100% {
    transform: translateY(0);
  }

  20% {
    transform: translateY(-6px);
  }
}

@media (max-width: 599px) {
  .component-loading__person--woman {
    height: 127px;
  }

  .component-loading__person--child {
    height: 95px;
  }

  .component-loading__person--basket {
    height: 128px;
  }

  .component-loading__text {
    font-size: 16px;
  }
}

/* 動きを減らす設定：弾ませず、最初から3人を並べる */
@media (prefers-reduced-motion: reduce) {
  .component-loading__person,
  .component-loading__char {
    opacity: 1;
    animation: none;
  }
}

/* ==================================================
  List: News（お便り一覧の行）
================================================== */

/* 最後の行の下線を隠す（カスコンのラッパーが入っても効くよう、隣接セレクタを使わない） */
.list-news {
  clip-path: inset(0 0 1px 0);
}

.list-news__item {
  border-bottom: 1px solid var(--color-border);
}

.list-news__item a {
  display: block;
}

.list-news__link {
  display: flex;
  align-items: center;
  padding: 22px 4px;
}

.list-news__date {
  flex-shrink: 0;
  width: 108px;
  font-family: var(--font-family-number);
  font-size: 15px;
  font-weight: 400;
  line-height: 1.5;
}

.list-news__category {
  flex-shrink: 0;
  margin-right: 24px;
}

.list-news__category-text {
  min-width: 74px;
  padding: 4px 10px;
  background-image: url('/import/tenant_1/162.43.27.181/kato/image/common/bg_category.webp');
  background-repeat: no-repeat;
  background-size: 100% 100%;
  color: var(--color-white);
  font-size: 13px;
  font-weight: 700;
  line-height: 1.6;
  text-align: center;
}

.list-news__title {
  position: relative;
  flex-grow: 1;
  min-width: 0;
  padding-left: 38px;
  font-size: 15px;
  line-height: 1.7;
}

/* 区切りの縦3点 */
.list-news__title::before {
  content: '';
  position: absolute;
  top: 50%;
  left: 0;
  width: 4px;
  height: 30px;
  background-image: radial-gradient(circle, var(--color-main) 1.5px, transparent 2px);
  background-repeat: repeat-y;
  background-size: 4px 10px;
  transform: translateY(-50%);
}

@media (max-width: 599px) {
  .list-news__link {
    flex-wrap: wrap;
    padding: 16px 0;
  }

  .list-news__date {
    width: auto;
    margin-right: 16px;
  }

  .list-news__category {
    margin-right: 0;
  }

  .list-news__title {
    width: 100%;
    margin-top: 8px;
    padding-left: 0;
  }

  .list-news__title::before {
    content: none;
  }
}


/* ==================================================
  Layout: Section（下層の通常セクションの上下余白）
================================================== */

.layout-section {
  padding: 35px 0 10px;
}

.layout-section--intro {
  padding: 96px 0 40px;
}

.layout-section__head + .layout-section__body {
  margin-top: 56px;
}

@media (max-width: 1024px) {
  .layout-section {
    padding: 25px 0 10px;
  }

  .layout-section.project-marche-lineup{
    padding: 0;
  }

  .layout-section--intro {
    padding: 56px 0 24px;
  }

  .layout-section__head + .layout-section__body {
    margin-top: 36px;
  }
}

/* ==================================================
  Component: Page Visual（下層のメインビジュアル）
  上端はTOPのMVと同じ斜め。下端にグローバルナビが重なる
================================================== */

.component-page-visual {
  position: relative;
  height: var(--visual-height);
}

.component-page-visual__frame {
  height: 100%;
  filter: drop-shadow(0 -4px 0 var(--color-white));
}

.component-page-visual__image {
  height: 100%;
  clip-path: polygon(0 var(--header-slope), 50% 0, 100% var(--header-slope), 100% 100%, 0 100%);
}

/* 斜めの部分とナビの重なりを除いた範囲の中央に置く */
.component-page-visual__inner {
  position: absolute;
  top: calc(var(--header-slope) + (100% - var(--header-slope) - 50px) / 2);
  right: 0;
  left: 0;
  z-index: var(--z-index-base);
  transform: translateY(-50%);
}

.component-page-visual__title {
  color: var(--color-white);
  /* values 26px-48px view 375px-1440px */
  font-size: clamp(26px, 2.07vw + 18.3px, 48px);
  font-weight: 900;
  line-height: 1.4;
  text-align: center;
  letter-spacing: 0.06em;
  text-shadow: 0 2px 12px rgba(0, 0, 0, 0.25);
}

@media (max-width: 1024px) {
  .component-page-visual {
    height: 260px;
  }

  .component-page-visual__inner {
    top: calc(var(--header-slope) + (100% - var(--header-slope)) / 2);
  }
}

@media (max-width: 599px) {
  .component-page-visual {
    height: 200px;
  }
}


/* ==================================================
  Component: Breadcrumb（パンくず）
  長いページ名を文字単位で折り返すため inline で組む（CSS §26.1）
================================================== */

.component-breadcrumb {
  padding-top: 112px;
}

.component-breadcrumb__list {
  display: block;
  font-size: 13px;
  line-height: 1.8;
}

.component-breadcrumb__item {
  display: inline;
}

/* 区切りの「＞」（構造が固定のため隣接セレクタを使う） */
.component-breadcrumb__item + .component-breadcrumb__item::before {
  content: '';
  display: inline-block;
  width: 6px;
  height: 6px;
  margin: 0 12px 0 8px;
  border-top: 1.5px solid currentColor;
  border-right: 1.5px solid currentColor;
  vertical-align: middle;
  transform: rotate(45deg);
}

.component-breadcrumb__item a {
  display: inline;
}

.component-breadcrumb__link {
  display: inline;
  text-decoration: underline;
}

@media (max-width: 1024px) {
  .component-breadcrumb {
    padding-top: 16px;
  }
}


/* ==================================================
  Component: Band（ベージュの帯。上下のふちを不規則に）
================================================== */

.component-band {
  position: relative;
  padding: 140px 0 160px;
  background-color: var(--color-background-light);
}

.component-band::before,
.component-band::after {
  content: '';
  position: absolute;
  left: 0;
  width: 100%;
  height: 100px;
  background-image: url('/import/tenant_1/162.43.27.181/kato/image/common/edge_torn.webp');
  background-repeat: no-repeat;
  background-size: 100% 100%;
  pointer-events: none;
}

.component-band::before {
  top: -1px;
  transform: scaleY(-1);
}

.component-band::after {
  bottom: -4px;
}

.component-band__inner {
  position: relative;
  z-index: var(--z-index-base);
}

@media (max-width: 1024px) {
  .component-band {
    padding: 80px 0 96px;
  }

  .component-band::before,
  .component-band::after {
    height: 48px;
  }
}


/* ==================================================
  Component: Subheading（小見出し。金色の筆の下線）
================================================== */

.component-subheading {
  position: relative;
  z-index: calc(var(--z-index-base) - 1);
  width: -moz-fit-content;
  width: fit-content;
  max-width: 100%;
  margin-top: 48px;
  /* values 19px-22px view 375px-1440px */
  font-size: clamp(19px, 0.28vw + 17.9px, 22px);
  font-weight: 700;
  line-height: 1.6;
  letter-spacing: 0.04em;
}

.component-subheading::after {
  content: '';
  position: absolute;
  bottom: -8px;
  left: -14px;
  z-index: calc(var(--z-index-base) - 2);
  width: calc(100% + 28px);
  height: 24px;
  background-image: url('/import/tenant_1/162.43.27.181/kato/image/common/deco_brush_gold.webp');
  background-repeat: no-repeat;
  background-size: 100% 100%;
  opacity: 0.8;
}


/* ==================================================
  Component: Text（本文）
================================================== */

.component-text {
  margin-top: 20px;
  font-size: 15px;
  line-height: 2.1;
}

@media (max-width: 599px) {
  .component-text {
    line-height: 2;
  }
}


/* ==================================================
  Component: Check List（白い紙の箇条書き）
================================================== */

.component-check-list {
  margin-top: 48px;
  padding: 44px 56px 48px;
  background-image: url('/import/tenant_1/162.43.27.181/kato/image/common/frame_white.webp');
  background-repeat: no-repeat;
  background-size: 100% 100%;
}

.component-check-list .component-subheading {
  margin-top: 0;
}

.component-check-list__list {
  display: flex;
  flex-wrap: wrap;
  gap: 16px 40px;
  margin-top: 32px;
}

.component-check-list__item {
  position: relative;
  width: calc((100% - 40px) / 2);
  padding-left: 34px;
  font-size: 15px;
  font-weight: 700;
  line-height: 1.8;
}

/* 緑の丸にチェック */
.component-check-list__item::before {
  content: '';
  position: absolute;
  top: 3px;
  left: 0;
  width: 22px;
  height: 22px;
  border-radius: 50%;
  background-color: var(--color-sub);
}

.component-check-list__item::after {
  content: '';
  position: absolute;
  top: 9px;
  left: 7px;
  width: 8px;
  height: 5px;
  border-bottom: 2px solid var(--color-white);
  border-left: 2px solid var(--color-white);
  transform: rotate(-45deg);
}

@media (max-width: 599px) {
  .component-check-list {
    padding: 32px 20px 36px;
  }

  .component-check-list__item {
    width: 100%;
  }
}


/* ==================================================
  Component: Button List（ボタンを横に並べる）
================================================== */

.component-button-list {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 16px 24px;
  margin-top: 40px;
}

.component-button-list--left {
  justify-content: flex-start;
}


/* ==================================================
  Component: Mask Photo（手描きの多角形に切り抜いた写真）
================================================== */

.component-mask-photo {
  position: relative;
}

/* 手描きの枠線（up-ofi の ::after と競合しないよう親に付ける） */
.component-mask-photo::after {
  content: '';
  position: absolute;
  top: 2%;
  left: 2%;
  width: 96%;
  height: 96%;
  background-image: url('/import/tenant_1/162.43.27.181/kato/image/common/frame_photo_01.webp');
  background-repeat: no-repeat;
  background-size: 100% 100%;
  pointer-events: none;
}

.component-mask-photo__image {
  -webkit-mask-image: url('/import/tenant_1/162.43.27.181/kato/image/common/mask_photo_01.webp');
  mask-image: url('/import/tenant_1/162.43.27.181/kato/image/common/mask_photo_01.webp');
  -webkit-mask-repeat: no-repeat;
  mask-repeat: no-repeat;
  -webkit-mask-size: 100% 100%;
  mask-size: 100% 100%;
}

/* =============================================
　動く雲のアニメーション
================================================ */
.kumo img {
  animation: kumoFuwafuwa 4s ease-in-out infinite;
  animation-delay: 0s;
}

/* 2. タイミングのずらし（.kumo02, .kumo03 の中にある img の遅延を変更） */
.kumo02 img {
  animation-delay: -1.3s;
}

.kumo03 img {
  animation-delay: -2.6s;
}

/* 3. アニメーション定義 */
@keyframes kumoFuwafuwa {
  0%, 100% {
    transform: translateY(0);
  }
  50% {
    transform: translateY(-4px); 
  }
}

/* ==================================================
  fead-text の分割待ち（common.js「fead-text の分割前の文字を見せない」）
  1文字ずつ span に分けるまで .fead-text を隠し、分け終わったら（.is-split）表示に戻す。
  分けたあとの各文字の出方は base.css（.fead-text .str ／ .textin）のまま
  - html に付けるクラスは is-split-text-wait（2026-10-28 に is-fead-text-wait から改名）。
    名前に「fead」を含むと base.css の [class*='fead'] { opacity: 0 } が html に効いてページ全体が透明になり、
    fead系が html にも .mv を付けるまで（読み込み完了＋約0.7秒）真っ白だった。ローディング画面も見えなくなっていた
================================================== */

.is-split-text-wait .fead-text {
  opacity: 0;
}

.is-split-text-wait .fead-text.is-split {
  opacity: 1;
}

/* ==================================================
  iPhone で下の検索バーが大きいとき、ローディング画面・ページ移動の幕の裏でページが透ける・スクロールできる件（2026-10-30）
  - 高さをバーが小さいときの大きさ（100lvh）にしてバーの裏まで覆う
  - 出ている間は触ってもスクロールしないように（touch-action: none）
================================================== */

/* ページを移るときの幕 */
@supports (height: 100lvh) {
  body::after {
    height: 100lvh;
  }
}

.is-page-leaving body::after,
.is-page-entering body::after {
  pointer-events: auto;
  touch-action: none;
}

/* ローディング画面（3人はバーより上の見えている部分の真ん中のまま） */
.is-loading-screen .component-loading {
  touch-action: none;
}

@supports (height: 100lvh) {
  .is-loading-screen .component-loading {
    height: 100lvh;
    padding-bottom: calc(100lvh - 100dvh);
  }
}

/* iPhone の Safari では、下の検索バーが大きいとき、固定したドロワー・幕がバーの手前で止まり、バーの裏でページが透ける（2026-10-30）。
   開いている間は、ドロワー・ドロワーの上に重ねる h1・ハンバーガー（×）・幕と、それを包む外枠以外を透明にする */
@media (max-width: 1024px) {
  body.drawer-active :not(:has(.layout-drawer, .layout-header__title, .layout-header__hamburger, .overlay), .layout-drawer, .layout-drawer *, .layout-header__title, .layout-header__title *, .layout-header__hamburger, .layout-header__hamburger *, .overlay, .component-cursor, .component-cursor *) {
    opacity: 0;
    transition: opacity var(--duration-normal) ease;
  }
}

/* ハンバーガーメニューのリンクでページを移るとき、メニューが閉じるのと同時に幕が出はじめるので、
   幕の間も後ろの中身を透明のままにする（戻すと、幕が濃くなるまでの間バーの裏にページが見える。2026-10-30） */
@media (max-width: 1024px) {
  .is-page-leaving body :not(:has(.layout-drawer, .layout-header__title, .layout-header__hamburger, .overlay), .layout-drawer, .layout-drawer *, .layout-header__title, .layout-header__title *, .layout-header__hamburger, .layout-header__hamburger *, .overlay, .component-cursor, .component-cursor *) {
    opacity: 0;
    transition: opacity var(--duration-normal) ease;
  }
}

/* ページを移るときの幕：幕と同時にページの中身も消す（iPhone で下の検索バーの裏にページが透けるため。2026-10-30） */
.is-page-leaving body > :not(.component-cursor) {
  opacity: 0;
  transition: opacity 0.6s ease;
}

.is-page-entering body > :not(.component-cursor) {
  opacity: 0;
}

/* ローディング中は、ローディングとカーソルの絵以外を見えなくする（iPhone で下の検索バーの裏にページが透けるため。2026-10-30）。
   自分で visibility: visible を指定している要素は、それだけ見えてしまうので個別に隠す */
.is-loading-screen:not(.is-loading-screen-done) body {
  visibility: hidden;
}

.is-loading-screen:not(.is-loading-screen-done) .component-loading,
.is-loading-screen:not(.is-loading-screen-done) .component-cursor {
  visibility: visible;
}

.is-loading-screen:not(.is-loading-screen-done) body :is(.project-top-story__slide, .layout-header__follow, .layout-header__dropdown, .overlay, .filtering-link-text),
.is-loading-screen:not(.is-loading-screen-done) body .scroll-hint-shadow-wrap::before,
.is-loading-screen:not(.is-loading-screen-done) body .scroll-hint-shadow-wrap::after {
  visibility: hidden;
}

/* ローディング中は body を見えなくするので、iPhone ではバーの裏に body の背景色が広がらず、ローディングと違う色になる（2026-10-30）。
   html にも同じ背景色を敷く */
.is-loading-screen:not(.is-loading-screen-done) {
  background-color: var(--color-background);
}

/* 下層ページの FOLLOW US：読み込みが終わるまで（上下スクロールの目印がまだ無い間）も隠す。
   移った直後にちらっと見えないように（2026-10-30） */
body:not(.rising, .drop):has(.component-page-visual) .layout-header__follow {
  transform: translateX(110%);
  animation: none;
}

/* FOLLOW US：弾む動き（follow-pop）はやめ、出す・隠すとも transition だけにする（2026-10-30）。
   follow-pop と transition が同時に走ると「出る → 一瞬引っ込む → また出る」に見え、
   transition を隠す側だけにすると iPhone で隠れるときにぱっと消えたため */
.layout-header__follow {
  transition:
    top 0.3s ease,
    transform 0.3s ease-out;
}

body.rising .layout-header__follow {
  animation: none;
}

body.drop .layout-header__follow,
body.scroll-top:has(.component-page-visual) .layout-header__follow,
body:not(.rising, .drop):has(.component-page-visual) .layout-header__follow {
  transition:
    top 0.3s ease,
    transform 0.25s ease-in;
}

/* 本文の中の回り込み（float）の画像が、本文の下からはみ出して便箋・ノートの下の紙や差出人に重ならないように、本文の終わりで回り込みを解除する */
.list-editor-content::after {
  content: '';
  display: block;
  clear: both;
}

/* お問い合わせの人数の欄：A-BiSU のエラー時に崩れないように（囲みも横並び、エラーの文は下の行） */
.component-form__number-item {
  flex-wrap: wrap;
}

.component-form__number-item .actual_object_error_wrapper {
  display: flex;
  align-items: center;
  gap: 8px;
  width: auto;
}

.component-form__number-item .alert-anotation {
  width: 100%;
}

/* お問い合わせ項目のセレクト：エラーの文が付いても矢印がずれないように（セレクトの高さ 52px の半分） */
.component-form__select::after {
  top: 26px;
}

/* ==================================================
  Edit Screen（見たまま編集画面）
  固定・非表示・スライドの要素をすべて編集できる状態にする
================================================== */

[data-element-id] .layout-header__inner {
  height: auto;
}

[data-element-id] .layout-header__title,
[data-element-id] .layout-header__address,
[data-element-id] .layout-header__logo,
[data-element-id] .layout-header__site-button-list,
[data-element-id] .layout-header__follow,
[data-element-id] .layout-header__hamburger,
[data-element-id] .layout-drawer {
  position: relative;
  top: auto;
  right: auto;
  bottom: auto;
  left: auto;
  transform: none;
}

[data-element-id] .layout-header__follow {
  width: 54px;
  margin-left: auto;
}

[data-element-id] .layout-header__navigation {
  position: relative;
  top: auto;
  left: auto;
  transform: none;
}

[data-element-id] .layout-header__dropdown {
  position: static;
  opacity: 1;
  visibility: visible;
  transform: none;
  box-shadow: none;
  pointer-events: auto;
}

[data-element-id] .layout-drawer {
  width: 100%;
  height: auto;
  overflow: visible;
}

/* ローディング画面（Component: Loading）：ふだんは JS が出すときだけ表示するので、編集画面ではヘッダーのいちばん上に並べて全ページで編集できるようにする（本人指示 2026-10-28）。
   画面全体を覆う固定はやめ、動きを止めて3人・文字を最初から見せる。上に説明の文字を出す */
/* ヘッダーの山の絵（absolute）や h1 の下に潜らないよう、重なりを上げる */
[data-element-id] .component-loading {
  position: relative;
  z-index: var(--z-index-loading);
  display: flex;
  flex-direction: column;
  align-items: center;
  padding: 16px 0 24px;
  border-bottom: 2px dashed var(--color-main);
  background-color: var(--color-background);
}

[data-element-id] .component-loading::before {
  content: 'ローディング画面（サイトに来て最初の1回だけ、ページ全体を覆って表示）';
  margin-bottom: 12px;
  padding: 4px 12px;
  border-radius: 4px;
  background-color: var(--color-main);
  color: var(--color-white);
  font-size: 12px;
  font-weight: 700;
  line-height: 1.5;
}

[data-element-id] .component-loading__person,
[data-element-id] .component-loading__char {
  opacity: 1;
  animation: none;
}

/* PC とハンバーガーでナビを1つにしたため（2026-10-26）、PC の幅でもタブレット・SP だけの項目が並ぶ。
   1行に詰まって読めないので折り返す。ドロワーだけの部分（電話・ボタン／SNS・バナー）はドロワーと同じ幅で中央に */
[data-element-id] .layout-header__navigation-list {
  flex-wrap: wrap;
}

[data-element-id] .layout-header__navigation-item {
  flex: 0 0 auto;
}

[data-element-id] .layout-drawer__head,
[data-element-id] .layout-drawer__foot {
  max-width: 360px;
  margin-right: auto;
  margin-left: auto;
}

/* アコーディオンの回答をすべて表示 */
[data-element-id] .component-faq__answer {
  display: block;
}

/* タブの中身をすべて表示 */
[data-element-id] .component-tab__panel {
  display: block;
  margin-bottom: 24px;
}

/* ----------------------
見たまま編集追加
-------------------------*/
[data-element-id] .layout-header__title{
    width: 90%;
    max-width: 100%;
    margin: 10px auto 10px;
    border: 1px solid red;
}
[data-element-id] .layout-header__title::after {
    content: 'h1を編集する際はこちらを変更してください。';
    display: block;
    font-weight: 700;
    font-size: 12px;
    color: #fff;
    text-align: center;
    background: red;
}
[data-element-id] .layout-header__address{
  margin: auto;
}
[data-element-id] .layout-header__logo{
  margin: auto;
}
/* ==================================================
  見たまま編集画面：追従ボタン（A/B テスト）の確認用（2026-10-30 追加）
  - 公開画面では A/B がランダムに出るので、編集画面で A・B 両方の形と動きを確認できるようにする
  - PC は追従中の形（body.fixed のときと同じ形）で、右寄せに縦に並べる
  - B パターンのイラストは公開画面では JS で出すが、編集画面では JS で HTML を書き換えない（JS_SPEC §4）ので、
    CSS だけで3つのボタンから1つずつ順番に（商品購入 → イベント予約 → お問い合わせ）くり返しのぞかせる（公開画面はランダム）
  - 編集画面では見やすいよう、1回の動きを公開画面（2.8秒）より遅い 3.5秒にしている
  - 1ボタン分＝動き 3.5秒＋間 0.7秒（公開画面の「2.8秒の動きを 3.5秒ごと」と同じ割合）＝ 4.2秒。3ボタンで 12.6秒を1周にし、4.2秒ずつずらす。
    keyframes（-edit）は site-button-peek-side／-up と同じ形を、12.6秒のうち最初の 3.5秒（27.78%）に詰めたもの。残りは隠れて待つ
  - イラストは公開画面と同じく買い物と電話を交互に出す。各ボタンの2枚を重ね、1周（12.6秒）ごとに見える方を入れ替える。
    入れ替えはそのボタンののぞき始め（イラストが透明の瞬間）。順番：1周目＝商品購入（買い物）→ イベント予約（電話）→ お問い合わせ（買い物）、2周目はその逆
================================================== */
@media (min-width: 1025px) {
  [data-element-id] .layout-header__site-button-list {
    flex-direction: column;
    width: fit-content;
    margin-left: auto;
  }

  [data-element-id] .layout-header__site-button-list .component-site-button {
    width: 84px;
    margin-top: 8px;
    margin-left: 0;
  }

  [data-element-id] .layout-header__site-button-list .component-site-button__inner {
    min-height: 84px;
    padding: 10px 4px;
    border: 3px solid var(--color-white);
    border-right: 0;
    border-radius: var(--radius-large) 0 0 var(--radius-large);
    font-size: 11px;
    letter-spacing: 0;
  }

  [data-element-id] .layout-header__site-button-list .component-site-button__icon {
    width: 22px;
    margin-bottom: 6px;
  }
}

/* 2枚目（電話）は1枚目（買い物）に重ねる。PC は上端、タブレット・SP は下端（バーの上へのぞく基準）をそろえる */
[data-element-id] .component-site-button__illust img {
  display: block;
}

[data-element-id] .component-site-button__illust img:last-child {
  position: absolute;
  top: 0;
  left: 0;
}

@media (max-width: 1024px) {
  [data-element-id] .component-site-button__illust img:last-child {
    top: auto;
    bottom: 0;
  }
}

@media (prefers-reduced-motion: no-preference) {
  [data-element-id] .component-site-button__illust img:first-child {
    animation: site-button-illust-first-edit 25.2s step-end infinite;
  }

  [data-element-id] .component-site-button__illust img:last-child {
    animation: site-button-illust-last-edit 25.2s step-end infinite;
  }

  /* 入れ替えの周期（25.2秒＝2周）を、各ボタンののぞき始めに合わせる。イベント予約は電話から始める */
  [data-element-id] .layout-header__site-button-list .component-site-button--event .component-site-button__illust img {
    animation-delay: -8.4s;
  }

  [data-element-id] .layout-header__site-button-list .component-site-button--contact .component-site-button__illust img {
    animation-delay: -16.8s;
  }
}

@media (min-width: 1025px) and (prefers-reduced-motion: no-preference) {
  [data-element-id] :is(.layout-header__site-button-list.test-b, .layout-header__site-button-list:has(.test-b), .test-b .layout-header__site-button-list) .component-site-button__illust {
    animation: site-button-peek-side-edit 12.6s ease-in-out infinite;
  }
}

@media (max-width: 1024px) and (prefers-reduced-motion: no-preference) {
  [data-element-id] :is(.layout-header__site-button-list.test-b, .layout-header__site-button-list:has(.test-b), .test-b .layout-header__site-button-list) .component-site-button__illust {
    animation: site-button-peek-up-edit 12.6s ease-in-out infinite;
  }
}

/* 上の animation（:is の中の :has で詳細度が上がる）に負けないよう、list のクラスを挟んで同じ詳細度にし、あとに書く */
[data-element-id] .layout-header__site-button-list .component-site-button--event .component-site-button__illust {
  animation-delay: 4.2s;
}

[data-element-id] .layout-header__site-button-list .component-site-button--contact .component-site-button__illust {
  animation-delay: 8.4s;
}

@keyframes site-button-peek-side-edit {
  0%,
  2.5% {
    opacity: 0;
    transform: translateX(0) rotate(0deg);
  }

  3.06% {
    opacity: 1;
  }

  7.22% {
    transform: translateX(-82%) rotate(-15deg);
  }

  9.72% {
    transform: translateX(-79%) rotate(-11deg);
  }

  11.94% {
    transform: translateX(-82%) rotate(-15deg);
  }

  14.44% {
    transform: translateX(-80%) rotate(-12deg);
  }

  21.67% {
    transform: translateX(-81%) rotate(-14deg);
  }

  27.22% {
    opacity: 1;
    transform: translateX(0) rotate(0deg);
  }

  27.78%,
  100% {
    opacity: 0;
    transform: translateX(0) rotate(0deg);
  }
}

@keyframes site-button-peek-up-edit {
  0%,
  2.5% {
    opacity: 0;
    transform: translateY(0) rotate(0deg);
  }

  3.06% {
    opacity: 1;
  }

  7.22% {
    transform: translateY(-78%) rotate(-3deg);
  }

  9.72% {
    transform: translateY(-73%) rotate(2deg);
  }

  11.94% {
    transform: translateY(-78%) rotate(-3deg);
  }

  14.44% {
    transform: translateY(-75%) rotate(1deg);
  }

  21.67% {
    transform: translateY(-77%) rotate(-2deg);
  }

  27.22% {
    opacity: 1;
    transform: translateY(0) rotate(0deg);
  }

  27.78%,
  100% {
    opacity: 0;
    transform: translateY(0) rotate(0deg);
  }
}

@keyframes site-button-illust-first-edit {
  0% {
    opacity: 1;
  }

  50%,
  100% {
    opacity: 0;
  }
}

@keyframes site-button-illust-last-edit {
  0% {
    opacity: 0;
  }

  50%,
  100% {
    opacity: 1;
  }
}

/* お問い合わせページ追加 */
/* 希望日時：日付と時間（1時間ずつのプルダウン）を横に並べる。幅が足りないときは時間が下の行へ（2026-11-05） */
.component-form__datetime {
  display: flex;
  flex-wrap: wrap;
  align-items: flex-start;
  gap: 12px 16px;
}

.component-form__datetime-date,
.component-form__datetime-time {
  flex: 1 1 200px;
  min-width: 0;
}

/* 住所：1つの項目の中に、郵便番号（短い欄）と住所の欄を上下に並べる（2026-11-05） */
.component-form__address {
  display: flex;
  flex-direction: column;
  gap: 12px;
}

/* 郵便番号：欄の左に「〒」（2026-11-05。HTML は変えず ::before で出す）
   A-BiSU のエラーの囲み（.actual_object_error_wrapper）は欄だけを囲み、エラーの文（.alert-anotation）は下の行へ */
.component-form__zip {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 8px;
  max-width: 240px;
}

.component-form__zip::before {
  content: '〒';
  flex-shrink: 0;
  font-size: 18px;
  font-weight: 700;
  line-height: 1;
}

.component-form__zip input,
.component-form__zip .actual_object_error_wrapper {
  flex: 1 1 0;
  min-width: 0;
}

.component-form__zip .alert-anotation {
  width: 100%;
}

/* ラジオボタン：チェックボックスと同じ作り（2026-11-05：団体の「バスでのご来園」「貸切について」）
   A-BiSU の形：.component-form__checkbox-item の中に input[type='radio'] と label が交互に並ぶ
   → input:checked + label で作る。::before が丸、::after が中の点 */
.component-form__data input[type='radio'] {
  position: absolute;
  width: 1px;
  height: 1px;
  opacity: 0;
  clip-path: inset(50%);
}

.component-form__data input[type='radio'] + label {
  position: relative;
  display: inline-block;
  margin: 4px 24px 4px 0;
  padding-left: 30px;
  font-size: 15px;
  line-height: 1.6;
}

/* 丸 */
.component-form__data input[type='radio'] + label::before {
  content: '';
  position: absolute;
  top: 1px;
  left: 0;
  width: 22px;
  height: 22px;
  border: 2px solid var(--color-main);
  border-radius: 50%;
  background-color: var(--color-white);
}

/* 中の点（選ぶと茶色の点） */
.component-form__data input[type='radio'] + label::after {
  content: '';
  position: absolute;
  top: 7px;
  left: 6px;
  width: 10px;
  height: 10px;
  border-radius: 50%;
  background-color: var(--color-main);
  opacity: 0;
  transition: opacity var(--duration-normal) ease;
}

.component-form__data input[type='radio']:checked + label::after {
  opacity: 1;
}

.component-form__data input[type='radio']:focus-visible + label::before {
  outline: 2px solid var(--color-accent);
  outline-offset: 2px;
}

/* ==================================================
  お便りの郵便ポスト：カテゴリーにマウスを乗せると白い枠（2026-11-06 本人指示）
  - 赤いポストの上だと、いちごのカーソルが見えにくいため
  - マウスで操作する PC（1025px 以上）だけ。タブレット・スマホでは付けない（タップ後に枠が残らないように）
  - 枠は内側の影で描くので、行の高さ・文字の位置は変わらない
================================================== */
@media (min-width: 1025px) and (hover: hover) and (pointer: fine) {
  .component-postbox .component-category__link {
    border-radius: 6px;
    transition: box-shadow 0.2s ease;
  }

  .component-postbox .component-category__item a:hover .component-category__link {
    box-shadow: inset 0 0 0 2px var(--color-white);
  }
}

/* 日付の欄（contact.js が type='date' に切り替える）：iPhone・iPad の Safari で崩れないようにする（2026-11-06 本人指摘）
   - iOS の Safari は日付の欄をブラウザ独自の見た目で出すため、空のときは低くなり、横幅も 100% にならずに右の時間の欄へぶつかっていた
     → appearance: none で独自の見た目を外し、ほかの欄と同じ高さ・横幅にする
   - iOS の Safari はカレンダーのマークを出さないので、右端に自前のマーク（SVG）を背景で出す
     （SVG は utf8 でクォート付きに。base64 だと A-BiSU の取り込みで /import/… に置き換わり出なくなる。scroll-hint.css と同じ）
   - Chrome・Edge は元のマーク（::-webkit-calendar-picker-indicator）を透明にして自前のマークの上に重ねる（押すとカレンダーが開く）
   - Firefox は元のマークを消せないので、自前のマークは出さない（2つ並ばないように） */
.component-form__data input[type='date'] {
  position: relative;
  display: block;
  min-width: 0;
  padding-right: 48px;
  -webkit-appearance: none;
  appearance: none;
  background-image: url('data:image/svg+xml;utf8,<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 24 24" fill="none" stroke="%23683f26" stroke-width="2" stroke-linecap="round" stroke-linejoin="round"><rect x="3" y="5" width="18" height="16" rx="2"/><path d="M3 10h18M8 3v4M16 3v4"/></svg>');
  background-repeat: no-repeat;
  background-position: right 16px center;
  background-size: 20px 20px;
  text-align: left;
}

/* iOS：空のときも文字1行分の高さを保ち、選んだ日付は左寄せにする */
.component-form__data input[type='date']::-webkit-date-and-time-value {
  min-height: 1.5em;
  text-align: left;
}

.component-form__data input[type='date']::-webkit-calendar-picker-indicator {
  position: absolute;
  top: 0;
  right: 0;
  width: 48px;
  height: 100%;
  margin: 0;
  padding: 0;
  opacity: 0;
  cursor: inherit; /* 欄と同じカーソル（いちご。動くカーソルのときは none）にする */
}

@supports (-moz-appearance: none) {
  .component-form__data input[type='date'] {
    padding-right: 16px;
    background-image: none;
  }
}

/* iPhone・iPad：空の日付の欄に「年/月/日」を重ねて出す（2026-11-06 本人指摘）
   - iOS の Safari は空の日付の欄に何も出さない。空かどうかは CSS では分からないので、contact.js が囲みに .is-empty を付ける
   - パソコンの Chrome などは自分で「年/月/日」を出すので、iOS だけ（-webkit-touch-callout は iOS の Safari・Chrome だけが対応）
   - 位置は欄（高さ 52px・左の余白 16px＋枠 1px）に合わせる。上は欄の高さの半分（エラーの文が下に付いてもずれないように） */
@supports (-webkit-touch-callout: none) {
  .js-date-input.is-empty {
    position: relative;
  }

  .js-date-input.is-empty::before {
    content: '年/月/日';
    position: absolute;
    top: 26px;
    left: 17px;
    z-index: 1;
    color: var(--color-text);
    font-size: 16px;
    line-height: 1.5;
    opacity: 0.5;
    transform: translateY(-50%);
    pointer-events: none;
  }
}


/* 見たまま編集 */
[data-element-id] [data-ab-test-contents]+[data-ab-test-contents] {
  max-width: 378px;
}
[data-ab-test-block]{
  max-width: 378px;
  margin: 20px auto 0;
  position: absolute;
  right: 0;
  top: 950px;
}

[data-element-id] .layout-header__follow {
    width: 90px;
    margin-left: auto;
    position: absolute;
    right: 0;
    border: 1px solid red;
}
[data-element-id] .layout-header__follow::after {
    content: '追従ボタン';
    display: block;
    font-weight: 700;
    font-size: 12px;
    color: #fff;
    text-align: center;
    background: red;
    margin-top: 10px;
}
[data-element-id] .layout-header__navigation-item::after{
  position: relative;
  top: auto;
  right: auto;
  width: 100%;
  height: auto;
}
[data-element-id] .layout-header__navigation-item:hover .layout-header__dropdown{
  transform: none;
}
[data-element-id] .layout-header__dropdown{
  border: 2px solid red;
  border-radius: 0;
  padding: 0;
}
[data-element-id] .layout-header__dropdown::after {
    content: 'ドロップダウンメニュー';
    display: block;
    font-weight: 700;
    font-size: 12px;
    color: #fff;
    text-align: center;
    background: red;
}
[data-element-id] .layout-header__navigation-list {
  justify-content: space-between;
  width: calc(100% - 120px);
}
[data-element-id] .layout-header__navigation-item{
  margin-bottom: 10px;
}
[data-element-id] .layout-drawer__head,
[data-element-id] .layout-header__navigation,
[data-element-id] .layout-drawer__foot{
  margin-bottom: 20px;
}
[data-element-id] .layout-drawer__button-list {
  margin-bottom: 20px;
}
[data-element-id] .layout-drawer__banner-list {
  margin-bottom: 20px;
}
[data-element-id] .layout-header__navigation{
  border: 2px solid #27d25d;
  flex-wrap: wrap;
  position: relative;
}
[data-element-id] .layout-header__navigation::after {
    content: 'ナビゲーション';
    display: block;
    font-weight: 700;
    font-size: 12px;
    color: #fff;
    text-align: center;
    background: #27d25d;
    width: 100%;
    margin-top: 20px;
}
[data-element-id] .layout-header__hills{
  position: relative;
  height: 200px;
  clip-path: polygon(0 0, 100% 0, 100% 100%, 50% calc(100% - 80px), 0 100%);
}
[data-element-id] .layout-header__hills img{
  top: 0;
  height: 100%;
}
[data-element-id] .layout-header__hamburger.site-header__hamburger.up-hide::after{
  content: 'PCで非表示';
    display: block;
    font-weight: 700;
    font-size: 12px;
    color: #fff;
    background-color: transparent;
    text-align: center;
    color: #008000;
    position: absolute;
    width: 100%;
    top: 51px;
}

/* 追従ボタン（タブレット・SP）：商品購入とイベントボタンを復活させたら以下のコードは削除*/
@media (max-width: 1024px) {
  .layout-header__site-button-list {
    padding-right: 0;
  }
  .layout-header__site-button-list .component-site-button{
    width: 100%;
  }
}
/* ここまで削除 */
