@charset "UTF-8";
/* =========================================================
   しあわせの介護プラン — デザイン方針 v3「おうちに伺い、暮らしをつなぐ」
   訪問の記録（連絡帳・週間予定表）の紙 ／ モバイルファースト
   ※ hidamari-line-wide の複製から作り替え
     ・ページ側の線（罫線・下線・点線・枠）は焦げ茶 --line を基調に。ピーチは差し色
     ・紙のモチーフ: 細い罫線（.sheet）、日本語のインデックス付箋（.idx）、週間予定表の升目
     ・ひだまり色（黄）は蛍光ペンの線（.mark）と【要確認】の下敷き程度に
     ・新しい絵の置き場所は .ph（薄い色面の仮置き。画像が読めたら消える）
   ※ CSSで初期状態を隠さない（出現の演出は JS が gsap.set/from で行う）
   ※ グラデーション装飾は使わない（色面は水彩素材かベタ）
   ========================================================= */

/* ---------- tokens ---------- */
:root{
  --paper:#FBF6EE;
  --paper-light:#FFFBF5;
  --paper-shade:#F3EADF;
  --sun:#F9E3B4;
  --sun-pale:#FDF0D2;
  --peach:#F3B79B;
  --peach-pale:#F8D5C4;
  --peach-ink:#B85F42;     /* 大きな文字・ロゴ用 */
  --peach-text:#9E4E36;    /* 小さな文字・リンク用（紙・紙影の上で4.5:1以上） */
  --sage:#A9BFA0;
  --sage-pale:#DDE6D6;
  --sage-ink:#58734F;
  --sage-ink-deep:#4F6847; /* 紙・影の上で使うセージ文字 */
  --ink:#54433A;
  --ink-sub:#77665C;
  --line:#6B5244;          /* 線画の線に近い焦げ茶（ページ側の線の基調） */
  --line-soft:rgba(107,82,68,.55);

  --f-head:"Zen Maru Gothic","Hiragino Maru Gothic ProN","Hiragino Sans",sans-serif;
  --f-body:"Zen Maru Gothic","Hiragino Maru Gothic ProN","Hiragino Sans",sans-serif;
  --f-hand:"Klee One","Hiragino Maru Gothic ProN",cursive;

  --hd-h:64px;
  --bar-h:72px;
  --shadow:0 6px 18px rgba(84,67,58,.08);
  --photo-filter:saturate(.92) sepia(.06) brightness(1.03) contrast(.97);
  --ease:cubic-bezier(.33,0,.2,1);
}
@media (min-width:1024px){ :root{ --hd-h:84px; } }

/* ---------- base ---------- */
*,*::before,*::after{ box-sizing:border-box; }
html{
  background-color:#FBF6EE; /* body が万一透明になっても地が抜けないように */
  -webkit-text-size-adjust:100%;
  overflow-x:clip;
  scroll-padding-top:calc(var(--hd-h) + 16px);
}
@media (prefers-reduced-motion:no-preference){ html{ scroll-behavior:smooth; } }
html.lenis, html.lenis body{ height:auto; }
.lenis.lenis-smooth{ scroll-behavior:auto !important; }
html.is-locked{ overflow:hidden; }

body{
  margin:0;
  overflow-x:clip;
  background-color:#FBF6EE;
  color:var(--ink);
  font-family:var(--f-body);
  font-size:16px;
  font-weight:400;
  line-height:2.05;
  letter-spacing:.04em;
  line-break:strict;
  overflow-wrap:anywhere;
  -webkit-font-smoothing:antialiased;
}
@media (min-width:1024px){ body{ font-size:17px; } }

/* 紙の粒子（feTurbulence を data URI で極薄に重ねる） */
body::before{
  content:"";
  position:fixed; inset:0;
  z-index:300;
  pointer-events:none;
  opacity:.12;
  mix-blend-mode:multiply;
  background-image:url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='220' height='220'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='.78' numOctaves='3' stitchTiles='stitch'/%3E%3CfeColorMatrix values='0 0 0 0 .33 0 0 0 0 .26 0 0 0 0 .2 0 0 0 1.15 0'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23n)'/%3E%3C/svg%3E");
  background-size:220px 220px;
}
/* スマホ・タブレット: 全画面固定要素の blend はスクロールを重くするので使わない
   （ノイズ自体が茶色の半透明なので、normal で少し低めの opacity にして濃さを揃える） */
@media (hover:none), (max-width:1023px){
  body::before{ mix-blend-mode:normal; opacity:.1; }
}

img,svg{ max-width:100%; }
img{ display:block; height:auto; }
a{ color:inherit; }
p{ margin:0; }
ul,ol{ margin:0; padding:0; }
address{ font-style:normal; }
figure{ margin:0; }
button{ font:inherit; color:inherit; }

h1,h2,h3{
  margin:0;
  font-family:var(--f-head);
  font-weight:700;
  line-height:1.7;
  letter-spacing:.08em;
  font-feature-settings:"palt";
  color:var(--ink);
}

:focus-visible{
  outline:3px solid var(--peach-text);
  outline-offset:4px;
  border-radius:6px;
}

.defs{ position:absolute; width:0; height:0; overflow:hidden; }
.wrap{ position:relative; width:100%; max-width:1120px; margin-inline:auto; padding-inline:24px; }
@media (min-width:768px){ .wrap{ padding-inline:40px; } }

.ib{ display:inline-block; }
.hand{
  font-family:var(--f-hand);
  font-weight:600;
  font-size:16px;
  line-height:1.8;
  letter-spacing:.08em;
  color:var(--sage-ink);
}
.sr-only{
  position:absolute !important; width:1px; height:1px; padding:0; margin:-1px;
  overflow:hidden; clip:rect(0,0,0,0); white-space:nowrap; border:0;
}
.skip{
  position:absolute; left:12px; top:-80px; z-index:600;
  background:var(--ink); color:var(--paper);
  padding:10px 18px; border-radius:10px; text-decoration:none;
}
.skip:focus{ top:12px; }

/* 【要確認】の目印（ひだまり色の下敷き） */
.tbc{
  display:inline;
  background:var(--sun-pale);
  color:var(--ink);
  padding:.06em .4em;
  border-radius:4px;
  white-space:nowrap; /* 1文字だけの折り返しを防ぐ（中身は短く保つ） */
  -webkit-box-decoration-break:clone; box-decoration-break:clone;
}
.tbc--wrap{ white-space:normal; } /* 長いマーカーはスマホで折り返す */

/* 蛍光ペンの線（SVGのベタ。グラデーションは使わない）。黄色はこの程度にとどめる */
.mark{
  padding:0 .08em .1em;
  background:url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 200 20' preserveAspectRatio='none'%3E%3Cpath d='M3 11C40 7 90 9.5 140 7.5S190 10 197 8.5L196.5 17C150 18.5 100 15.5 50 17.5S10 17 4 18Z' fill='%23F9E3B4'/%3E%3C/svg%3E") no-repeat 0 92% / 100% .5em;
  -webkit-box-decoration-break:clone; box-decoration-break:clone;
}

/* ---------- 主ボタン（電話）: この1種類だけ ---------- */
.btn-tel{
  display:inline-flex; flex-direction:column; align-items:flex-start;
  padding:12px 26px 14px;
  border-radius:14px;
  background:var(--peach);
  color:var(--ink);
  text-decoration:none;
  box-shadow:0 3px 0 rgba(184,95,66,.22), 0 6px 18px rgba(84,67,58,.08);
  transition:transform .25s var(--ease), box-shadow .25s var(--ease), background-color .4s;
}
.btn-tel:hover{ background:#F0AB8B; }
.btn-tel:active{ transform:translateY(2px); box-shadow:0 1px 0 rgba(184,95,66,.22), 0 2px 8px rgba(84,67,58,.06); }
.btn-tel__label{ font-family:var(--f-body); font-weight:500; font-size:16px; line-height:1.6; letter-spacing:.08em; }
.btn-tel__num{ font-family:var(--f-body); font-weight:500; font-size:26px; line-height:1.3; letter-spacing:.06em; white-space:nowrap; }
.btn-tel--large{ padding:16px 30px 18px; }
.btn-tel--large .btn-tel__num{ font-size:clamp(30px, 8.4vw, 42px); }

/* ---------- 副導線: 文字＋手描き下線（ホバーで描き直す） ---------- */
.tlink{
  position:relative;
  display:inline-block;
  padding-bottom:9px;
  color:var(--peach-text);
  font-weight:500;
  letter-spacing:.08em;
  text-decoration:none;
}
.tlink__line{
  position:absolute; left:0; bottom:0;
  width:100%; height:10px;
  overflow:visible;
}
.tlink__line path{
  fill:none;
  stroke:var(--line);
  stroke-width:1.5;
  transition:stroke .4s;
  stroke-linecap:round;
  vector-effect:non-scaling-stroke;
  stroke-dasharray:1;
  stroke-dashoffset:0;
}
.tlink:hover .tlink__line path,
.tlink:focus-visible .tlink__line path{ animation:redraw .9s var(--ease); stroke:var(--peach); stroke-width:2; }
@keyframes redraw{ from{ stroke-dashoffset:1; } to{ stroke-dashoffset:0; } }

/* ---------- プリント写真（白フチ。傾け・テープはやめて、まっすぐ） ---------- */
.print{
  position:relative;
  background:#FFFDF8;
  padding:10px 10px 28px;
  border-radius:3px;
  box-shadow:var(--shadow);
}
.print img{
  width:100%;
  aspect-ratio:4 / 3;
  object-fit:cover;
  filter:var(--photo-filter);
  border-radius:1px;
}

/* ---------- 絵の置き場所（新しい絵が届くまでの仮置き） ----------
   ・--ar で縦横比を確保し、薄い紙・影色の面を見せる。画像が読めたら .is-loaded で面を外す
   ・読めない画像は .is-broken で隠す（壊れた画像アイコンや alt の文字を出さない） */
.ph{
  position:relative;
  aspect-ratio:var(--ar, 3 / 2);
  background-color:#F1E8DC;
  border-radius:4px;
}
.ph.is-loaded{ background-color:transparent; }
.ph > img{
  position:absolute; inset:0;
  width:100%; height:100%;
  object-fit:contain;
}
.ph > img.is-broken{ visibility:hidden; }

/* ---------- 紙: 連絡帳・ケアプランの用紙 ---------- */
.sheet{
  position:relative;
  background:var(--paper-light);
  border:1px solid rgba(107,82,68,.16);
  border-radius:2px;
  box-shadow:0 2px 10px rgba(84,67,58,.05);
}
/* インデックスの付箋（日本語の短い見出しのみ） */
.idx{
  position:absolute; left:24px; bottom:100%;
  margin:0;
  padding:5px 16px 4px;
  background:var(--sage-pale);
  border:1px solid rgba(107,82,68,.16); border-bottom:0;
  border-radius:4px 4px 0 0;
  font-family:var(--f-body); font-weight:500;
  font-size:16px; line-height:1.6; letter-spacing:.12em;
  color:var(--sage-ink-deep);
}

/* =========================================================
   opening（初回のみ。html.is-opening のときだけ表示）
   ========================================================= */
/* 自転車で訪ねて回る相談員（共通部品）
   ・rider-a / rider-b（同じキャンバス寸法・右向き）を重ね、JSが .is-b を付け外しして2コマで漕ぐ
   ・本番の絵が読めるまでは .rider__fb（item-bicycle.webp を左右反転）だけを見せる
   ・高さ --rh と縦横比 --rar（rider-a の実寸からJSが html に設定。仮は 4:3） */
.rider{
  position:absolute; left:0; bottom:0;
  height:var(--rh, 80px);
  aspect-ratio:var(--rar, 1.333);
  width:auto;
  pointer-events:none;
}
.rider__body{ position:absolute; inset:0; }
.rider__body img{
  position:absolute; left:0; bottom:0;
  width:100%; height:100%;
  object-fit:contain; object-position:50% 100%;
}
.rider__fb{ transform:scaleX(-1); }
.rider__body .rider__fb{ height:64%; } /* 人のいない自転車だけなので、乗った絵より低い */
.rider__a, .rider__b{ display:none; }
.has-rider-a .rider__a{ display:block; }
.has-rider-a .rider__fb{ display:none; }
.has-rider-b .rider__b{ display:block; visibility:hidden; }
.has-rider-b .rider.is-b .rider__b{ visibility:visible; }
.has-rider-b .rider.is-b .rider__a{ visibility:hidden; }

/* =========================================================
   opening（初回のみ。html.is-opening のときだけ表示・約3.2秒）
   ・上下2枚の紙色の板。合わせ目（--seam）に道の線。板は道の線を境に上下へ開く
   ・中の部品（線・家・相談員・ロゴ）の出る前の状態はここで隠す
     （オープニング自体が JS 前提で、JSが動かなければ is-opening ごと外れて display:none になる）
   ========================================================= */
.opening{ display:none; }
.is-opening .opening{
  display:block;
  position:fixed; inset:0; z-index:500;
  --seam:62%;
  pointer-events:auto; /* 下のページは触れない（どこを押してもスキップになる） */
  cursor:pointer;
}
.opening__half{ position:absolute; left:0; right:0; background:var(--paper); }
.opening__half--top{ top:0; height:var(--seam); }
.opening__half--bottom{ top:var(--seam); bottom:0; }
.opening__line{
  position:absolute; left:0; right:0; top:var(--seam);
  height:2px; margin-top:-1px;
  background:var(--line);
  transform-origin:0 50%;
  transform:scaleX(0);
}
.opening__brand{
  position:absolute; left:0; right:0; top:31%;
  display:flex; flex-direction:column; align-items:center;
  transform:translateY(-50%);
}
/* ロゴは現行サイトの画像。文字の幅は、元のロゴと同じ比率（絵の幅の約79%） */
.opening__mark{ width:clamp(170px, min(20vw, 32vh), 290px); height:auto; opacity:0; }
.opening__logo{
  margin-top:6px;
  width:clamp(134px, min(15.8vw, 25.3vh), 229px); height:auto;
  opacity:0;
}
.opening__road{ position:absolute; left:0; right:0; bottom:0; height:0; }
.opening__house{
  position:absolute; bottom:0;
  width:clamp(112px, 15vw, 232px);
  overflow:hidden;
}
.opening__house img{ width:100%; transform:translateY(101%); }
.opening__house--1{ left:14%; }
.opening__house--2{ left:33%; width:clamp(88px, 11.5vw, 180px); }
.opening__house--3{ left:72%; }
.opening__rider{ --rh:clamp(150px, 20vw, 300px); bottom:calc(var(--rh) * -.034); visibility:hidden; } /* rider-a/b は 550x600 で上下左右に約20pxの余白（車輪の下端=下から3.4%） */
.opening__skip{
  position:absolute; right:16px; bottom:calc(16px + env(safe-area-inset-bottom));
  padding:8px 14px;
  background:none; border:0;
  font-size:15px; letter-spacing:.1em; color:var(--ink-sub);
  text-decoration:underline; text-underline-offset:5px; text-decoration-color:var(--line-soft);
  cursor:pointer;
}
@media (max-width:767px){
  .is-opening .opening{ --seam:60%; }
  .opening__brand{ top:26%; }
  .opening__house--1{ left:6%; }
  .opening__house--2{ left:30%; }
  .opening__house--3{ left:70%; }
}

/* =========================================================
   header
   ========================================================= */
.hd{
  position:fixed; top:0; left:0; right:0;
  z-index:100;
  height:var(--hd-h);
  display:flex; align-items:center; gap:20px;
  padding:0 8px 0 16px;
  transition:background-color .6s var(--ease), box-shadow .6s var(--ease), height .6s var(--ease);
}
.hd.is-scrolled{
  background:rgba(251,246,238,.95);
  box-shadow:0 1px 0 rgba(84,67,58,.07);
}
.hd__logo{
  display:flex; align-items:center; gap:8px;
  margin-right:auto;
  text-decoration:none;
  color:var(--ink);
}
/* ロゴ（現行サイトの画像）。絵と文字を横に並べる */
.hd__mark{ width:70px; height:auto; flex:none; transition:width .6s var(--ease); }
.hd__name{ width:150px; height:auto; flex:none; }

.hd__nav{ display:none; }
.hd__nav ul{ list-style:none; display:flex; gap:28px; }
.hd__nav a{
  display:inline-block;
  padding:6px 1px 8px;
  font-size:16px; letter-spacing:.08em;
  text-decoration:none;
  background:url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 100 8' preserveAspectRatio='none'%3E%3Cpath d='M1 5C25 2 50 7 75 4S95 5 99 4' fill='none' stroke='%236B5244' stroke-width='1.4' stroke-linecap='round' vector-effect='non-scaling-stroke'/%3E%3C/svg%3E") no-repeat 0 100% / 0 7px;
  transition:background-size .6s var(--ease), color .4s;
}
.hd__nav a:hover{ background-size:100% 7px; color:var(--peach-text); }
.hd__nav a[aria-current="page"]:not(.noren-tab){ background-size:100% 7px; } /* いまいるページ: 手描きの下線を引いたままにする */
.spmenu__list a[aria-current="page"]:not(.noren-tab){ color:var(--peach-text); }
.ft__nav a[aria-current="page"]{ color:var(--peach-text); }
/* フッターメニュー（現行サイトと同じ4項目）: スマホは横に並べて折り返す。項目名は途中で折らない */
.ft .ft__nav ul{ display:flex; flex-wrap:wrap; gap:2px 28px; }
.ft .ft__nav a{ white-space:nowrap; }
@media (min-width:960px){ .ft .ft__nav ul{ flex-direction:column; flex-wrap:nowrap; } }

/* ありがとやへの入口: 藍の小さなのれん（PCナビ・SPメニュー共通。藍はありがとやの入口と区画だけ） */
.noren-tab{
  position:relative;
  display:inline-block;
  padding:5px 16px 13px;
  background-color:#3F5270;
  color:#FFFBF5;
  border-radius:0 0 3px 3px;
  text-decoration:none;
}
.noren-tab::before{ /* 掛けている木の棒 */
  content:"";
  position:absolute; left:-4px; right:-4px; top:-3px;
  height:3px; border-radius:2px;
  background-color:#7A5C45;
}
.noren-tab::after{ /* 真ん中の切れ目 */
  content:"";
  position:absolute; left:50%; bottom:0;
  width:2px; height:9px; margin-left:-1px;
  background-color:var(--paper);
}
.hd__nav a.noren-tab{ padding:5px 14px 12px; background-image:none; background-color:#3F5270; color:#FFFBF5; transition:background-color .4s; }
.hd__nav a.noren-tab:hover{ background-color:#334561; color:#FFFBF5; }
.spmenu__list a.noren-tab{ display:inline-block; margin:8px 0 4px; padding:4px 20px 14px; color:#FFFBF5; }
.spmenu__list a.noren-tab:hover{ color:#FFFBF5; background-color:#334561; }

/* ありがとや（メニューの中の、おむすび付きの小さなのれん）
   ・ほかの項目は文字だけ。ここだけ、藍ののれん＋おむすび＋2段の文字
   ・おむすびは、ときどき小さくうなずく／ふれると、のれんが揺れておむすびが跳ねる */
.noren-tab.ari-nav{
  display:inline-flex; align-items:center; gap:8px;
  padding:5px 16px 12px 12px;
  border-radius:1px 1px 13px 13px;
  line-height:1.2;
  transform-origin:50% 0;
  box-shadow:0 3px 0 rgba(63,82,112,.16);
}
.noren-tab.ari-nav::after{ height:13px; width:2.5px; margin-left:-1.25px; border-radius:2px 2px 0 0; }
.ari-nav__oni{ flex:none; width:auto; height:32px; margin:-4px 0 -6px -24px; transform-origin:50% 90%; animation:ari-nod 4.2s ease-in-out infinite; filter:drop-shadow(0 2px 0 rgba(84,67,58,.14)); }
.ari-nav__txt{ display:flex; flex-direction:column; align-items:flex-start; }
.ari-nav__kicker{ font-family:var(--f-hand); font-size:11px; letter-spacing:.14em; color:#F5E8C7; }
.ari-nav__name{ font-family:var(--f-head); font-weight:700; font-size:16px; letter-spacing:.12em; }
.ari-nav:hover, .ari-nav:focus-visible{ animation:ari-sway 1.1s ease-in-out; }
.ari-nav:hover .ari-nav__oni, .ari-nav:focus-visible .ari-nav__oni{ animation:ari-hop .7s ease-out; }
.hd__nav a.noren-tab.ari-nav{ padding:5px 16px 12px 12px; }
.hd__nav-ari{ margin:0 4px 0 14px; }
.spmenu__list a.noren-tab.ari-nav{ display:inline-flex; margin:14px 0 10px 22px; padding:8px 24px 16px 16px; }
.spmenu__list .ari-nav__oni{ height:44px; margin-left:-34px; }
.spmenu__list .ari-nav__kicker{ font-size:13px; }
.spmenu__list .ari-nav__name{ font-size:22px; }
@keyframes ari-nod{ 0%, 78%, 100%{ transform:rotate(-7deg); } 84%{ transform:rotate(3deg) translateY(-2px); } 90%{ transform:rotate(-10deg); } 95%{ transform:rotate(-5deg); } }
@keyframes ari-hop{ 0%{ transform:rotate(-7deg); } 35%{ transform:rotate(6deg) translateY(-7px); } 70%{ transform:rotate(-10deg) translateY(0); } 100%{ transform:rotate(-7deg); } }
@keyframes ari-sway{ 0%, 100%{ transform:rotate(0); } 25%{ transform:rotate(2.6deg); } 55%{ transform:rotate(-1.8deg); } 80%{ transform:rotate(.8deg); } }

/* メニューをたたんでいる幅（スマホ・タブレット）: ヘッダーに、おむすびと「ありがとや」の小さな入口を出す */
.hd__ari{
  flex:none;
  display:flex; flex-direction:column; align-items:center; justify-content:center; gap:1px;
  width:56px; height:56px;
  text-decoration:none;
}
.hd__ari-oni{ width:auto; height:27px; transform-origin:50% 90%; animation:ari-nod 4.2s ease-in-out infinite; }
.hd__ari-label{ padding:1px 5px 2px; border-radius:1px 1px 6px 6px; background:#3F5270; color:#FFFBF5; font-size:10px; font-weight:700; line-height:1.3; letter-spacing:.02em; white-space:nowrap; }
/* スマホ幅: ロゴ・ありがとや・メニューの3つが1列に収まるよう、すき間を詰め、狭い画面ではロゴを少しだけ小さくする */
@media (max-width:767px){ .hd{ gap:6px; } .hd__menu{ flex:none; } }
@media (max-width:379px){ .hd__mark{ width:66px; } .hd__name{ width:146px; } }
@media (max-width:366px){ .hd__mark{ width:62px; } .hd__name{ width:136px; } }
@media (max-width:339px){ .hd__ari{ display:none; } }
@media (prefers-reduced-motion:reduce){ .ari-nav__oni, .hd__ari-oni{ animation:none; transform:rotate(-7deg); } .ari-nav:hover, .ari-nav:focus-visible, .ari-nav:hover .ari-nav__oni{ animation:none; } }

/* ページの進み具合を示す小さな自転車（ヘッダー下端の線の上。JSで動かすときだけ） */
.hd__prog{ display:none; }
.motion .hd__prog{
  display:block;
  position:absolute; left:0; right:0; bottom:0;
  height:0;
  opacity:0;
  transition:opacity .8s var(--ease);
  pointer-events:none;
}
.motion .hd.is-prog .hd__prog{ opacity:1; }
.hd__rider{ --rh:24px; bottom:-1px; }
@media (min-width:1024px){ .hd__rider{ --rh:30px; } }

.hd__tel{ display:none; }

.hd__menu{
  display:flex; flex-direction:column; align-items:center; justify-content:center; gap:2px;
  width:60px; height:56px;
  background:none; border:0; padding:0;
  cursor:pointer;
}
.hd__menu-lines{ width:28px; height:16px; overflow:visible; }
.hd__menu-lines path{ fill:none; stroke:var(--ink); stroke-width:1.8; stroke-linecap:round; }
.hd__menu-label{ font-size:14px; line-height:1.2; letter-spacing:.06em; }

@media (min-width:768px){
  .hd{ padding-inline:28px 20px; }
  .hd__mark{ width:76px; }
  .hd__name{ width:176px; }
}
@media (min-width:1280px){
  .hd__mark{ width:96px; }
  .hd__name{ width:204px; }
  .hd.is-scrolled .hd__mark{ width:82px; }
}
@media (min-width:1024px){
  .hd.is-scrolled{ height:64px; }
  .hd__tel{
    display:flex; align-items:baseline; gap:10px;
    text-decoration:none; color:var(--ink);
    transition:color .4s;
  }
  .hd__tel:hover{ color:var(--peach-text); }
  .hd__tel-label{ font-weight:500; font-size:16px; color:var(--sage-ink); }
  .hd__tel-num{ font-weight:500; font-size:20px; letter-spacing:.06em; white-space:nowrap; }
}
/* メニューの項目を現行サイトと同じ名前にして長くなったので、横並びのメニューは 1280px から（それ未満はメニューボタン） */
@media (min-width:1280px){
  .hd__nav{ display:block; }
  .hd__menu{ display:none; }
  .hd__ari{ display:none; }
  .hd__nav ul{ align-items:center; }
  .hd__nav a{ white-space:nowrap; }
}
@media (min-width:1280px) and (max-width:1399px){
  .hd__nav ul{ gap:20px; }
  .hd__tel-label{ display:none; } /* 幅が足りないあいだは「お電話」の文字を省き、番号だけにする */
}

/* ---------- SPメニュー（全画面の紙） ---------- */
.spmenu{
  position:fixed; inset:0; z-index:150;
  background:var(--paper);
  overflow-y:auto;
  overscroll-behavior:contain;
}
.spmenu[hidden]{ display:none; }
.spmenu.is-open{ animation:menuIn .5s var(--ease); }
@keyframes menuIn{ from{ opacity:0; } to{ opacity:1; } }
.spmenu__inner{
  position:relative;
  max-width:520px; margin:0 auto;
  padding:84px 32px calc(48px + env(safe-area-inset-bottom));
}
.spmenu__close{
  position:absolute; top:6px; right:8px;
  display:flex; flex-direction:column; align-items:center; gap:2px;
  width:60px; height:56px; padding:0;
  background:none; border:0; cursor:pointer;
  font-size:14px; line-height:1.2;
}
.spmenu__close svg{ width:24px; height:24px; overflow:visible; }
.spmenu__close path{ fill:none; stroke:var(--ink); stroke-width:1.8; stroke-linecap:round; }
.spmenu__list{ list-style:none; }
.spmenu__list a{
  display:block;
  padding:10px 0;
  font-family:var(--f-head); font-weight:500;
  font-size:22px; letter-spacing:.1em; line-height:1.7;
  text-decoration:none;
}
.spmenu__list a:hover{ color:var(--peach-text); }
.spmenu__sub{ list-style:none; display:flex; flex-wrap:wrap; gap:4px 24px; margin-top:20px; }
.spmenu__sub a{ display:inline-block; padding:6px 0; color:var(--ink-sub); text-decoration-color:var(--peach); text-underline-offset:5px; }
.spmenu__tel{ margin-top:32px; }
.spmenu__hours{ margin-top:12px; color:var(--ink-sub); }

/* ベタのやわらかい色面（お問い合わせで使用） */
.blob{ display:block; width:100%; height:100%; overflow:visible; }
.blob--sun{ fill:var(--paper-shade); } /* v3: 黄色の大きな面はやめ、紙・影色に（黄は蛍光ペンの線程度に減らす） */
.blob--peach{ fill:var(--peach-pale); }
.blob--sage{ fill:var(--sage-pale); }

/* =========================================================
   hero ひだまり（ワイド版）
   ・PC: ヘッダーの下に横幅いっぱいの集合写真。下端はゆるい弧（中央がいちばん低い）。右下に紙の短冊のコピー
   ・SP: コピー（紙色の地に直接・中央寄せ）→ 横幅いっぱいの写真 → 電話ボタン
   ・入れ物の入れ子: stage（スクロールで縮む・角丸）＞ slant（斜め）＞ curtain（登場の幕）＞ pan（視差）＞ 写真
   ========================================================= */
.hero{
  --town-w:max(112vw, 680px);
  --ph:66vw;            /* 写真の高さ（SP: 3:2。上の軒とタイルを削り、人を大きく見せる） */
  --slant:calc(var(--ph) * .09); /* 下端の弧の高低差（両端が中央より高い分） */
  --shade:10px;         /* 弧の下にのぞくひだまり色の帯 */
  position:relative;
  isolation:isolate;
  overflow:clip;
  padding-top:var(--hd-h);
}

.hero__top{ position:relative; }

/* ---------- コピー（SP: 紙色の地に直接・中央寄せ2行） ---------- */
.hero__copy{
  position:relative; z-index:3;
  padding:22px 16px 26px;
  text-align:center;
}
.hero__title{
  font-size:min(30px, calc((100vw - 32px) / 12.6));
  font-weight:700;
  line-height:1.6;
  letter-spacing:.04em;
}
.hero__line{ position:relative; display:block; width:fit-content; margin-inline:auto; }
.hero__line--1{ color:var(--peach-ink); }
.hero__line--2{ color:var(--ink); }
.hero__txt{ position:relative; display:inline-block; isolation:isolate; }
.hero__txt .ch{ display:inline-block; }
/* 「断らない介護」に引く蛍光ペンの線（SVGのベタ。JSが左から引く） */
.hero__hl{ position:relative; display:inline-block; }
.hero__hl-line{
  position:absolute; z-index:-1;
  left:-.08em; right:-.04em; bottom:.06em;
  height:.46em;
  background:url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 200 20' preserveAspectRatio='none'%3E%3Cpath d='M3 5C40 2 90 4 140 2.5S190 4 197 3L196.5 16C150 18 100 15 50 17S10 16.5 4 18Z' fill='%23F9E3B4'/%3E%3C/svg%3E") no-repeat 0 0 / 100% 100%;
  transform-origin:0 50%;
}
.hero__band{ display:none; }
.hero__note{
  position:relative;
  width:fit-content; margin:10px auto 0;
  font-family:var(--f-hand); font-weight:600;
  font-size:15px; line-height:1.7; letter-spacing:.08em;
  color:var(--sage-ink);
}

/* ---------- 写真 ---------- */
.hero__figure{ position:relative; z-index:1; }
.hero__stage{
  position:relative;
  height:calc(var(--ph) + var(--shade));
  transform-origin:50% 0;
}
/* ひだまり色の細い帯（写真の斜めの切り口の下に、うすくのぞく） */
.hero__shade{
  position:absolute; inset:0;
  background:var(--sun);
  clip-path:ellipse(120% 100% at 50% 0);
}
.hero__slant{
  position:absolute; left:0; right:0; top:0;
  height:var(--ph);
  clip-path:ellipse(120% 100% at 50% 0);
}
.hero__curtain{ position:absolute; inset:0; overflow:hidden; }
/* 視差で動かしても地が見えないよう、入れ物より上下に少し大きく */
.hero__pan{ position:absolute; left:0; right:0; top:-5%; height:110%; }
.hero__photo{
  width:100%; height:100%;
  object-fit:cover; object-position:50% 88%;
  filter:none; /* 色味は写真そのものを調整済み（group-2026-11-graded.jpg）。共通の淡色フィルターはかけない */
}


/* ---------- 電話・受付時間 ---------- */
.hero__act{
  position:relative; z-index:2;
  display:flex; flex-direction:column; align-items:flex-start; gap:10px;
  padding:4px 24px 0;
  margin-top:calc(var(--shade) * -1 + 2px);
}
.hero__hours{ color:var(--ink-sub); }

.hero__town{ position:relative; z-index:1; margin-top:14px; overflow:clip; }
/* visit-town の置き場所（約2.9:1）。画面より少し広く、スクロールで横にずれる */
.hero__town-img{ width:var(--town-w); max-width:none; border-radius:0; }
/* 町並みの道を走る相談員（絵の下端＝道。高さは町並みの絵の高さの比。
   visit-town の元の相談員は 絵の高さの約55%・車輪の下端が絵の下端すれすれ。rider が届いたら --rh と bottom を合わせて微調整） */
.town-rider{ --rh:58%; bottom:-.6%; left:66%; }
/* 写真の下端の弧を走る相談員（位置と傾きはJSが弧に沿って決める。動きが無効のときは出さない） */
.hero__arc-rider{ display:none; --rh:clamp(68px, 9.2vw, 150px); left:0; top:0; bottom:auto; z-index:2; will-change:transform; }
.motion .hero__arc-rider{ display:block; }
.motion .town-rider{ left:0; }

/* ---------- タブレット・PC: 横幅いっぱいの写真＋右下に紙の短冊 ---------- */
@media (min-width:768px){
  .hero{
    --ph:max(28vw, min(62vw, calc(100vh - var(--hd-h) - 210px)));
    --ph:max(28vw, min(62vw, calc(100svh - var(--hd-h) - 210px)));
    /* 写真の上側を隠す量。いちばん背の高い人の頭のてっぺんは「写真の幅の約25%」の高さにあるので、
       隠すのは幅の20.5%まで（どの画面でも頭の上に余白が残る）。入れ物が低いときは足もと側を切る */
    --y0:max(0px, min(20.5vw, calc(75vw - var(--ph) - 16px))); /* -16px = スクロールバーの幅ぶん写真が小さくなっても、下に地が出ないための余裕 */
    --pan-up:.05;      /* .hero__pan が入れ物より上にはみ出している割合（視差の余白） */
    --shade:12px;
    --town-w:100vw;
    padding-top:calc(var(--hd-h) + 14px);
  }

  .hero__copy{
    position:absolute; z-index:3;
    right:6vw;
    bottom:calc(var(--shade) + var(--slant) * .9);
    padding:0;
    text-align:right;
  }
  .hero__title{
    font-size:clamp(28px, 2.4vw, 44px);
    line-height:1.5;
    letter-spacing:.08em;
  }
  .hero__line{ margin-inline:auto 0; padding:.2em .55em .24em .6em; }
  .hero__line--1{ margin-right:1.6em; }
  .hero__line--2{ margin-top:-.08em; }
  .hero__band{
    display:block;
    position:absolute; inset:0;
    background:var(--paper-light);
    border-radius:2px;
    box-shadow:0 2px 10px rgba(84,67,58,.1);
    transform-origin:0 50%;
  }
  .hero__note{
    margin:10px .4em 0 auto;
    padding:.2em .8em .24em;
    font-size:16px;
  }
  /* 写真は横幅いっぱい・縦横比そのまま（4:3）で置き、上を --y0 だけ隠す。頭は切らない。
     登場時の拡大（1.14→1.0）は、枠の上端を基準にする（拡大中も頭が上に切れない） */
  .hero__photo{
    position:absolute; left:0;
    top:calc(var(--ph) * var(--pan-up) - var(--y0));
    width:100%; height:auto; aspect-ratio:4 / 3;
    transform-origin:50% var(--y0);
  }

  .hero__act{
    flex-direction:row; align-items:center; gap:24px;
    padding:0 5vw;
    margin-top:calc(var(--slant) * -.45 - var(--shade) + 14px);
  }
  .hero__town{ margin-top:-2vw; }
}
@media (min-width:1024px){
  .hero{
    --ph:max(28vw, min(72vh, 56vw, calc(100vh - var(--hd-h) - 130px)));
    --ph:max(28vw, min(72svh, 56vw, calc(100svh - var(--hd-h) - 130px)));
    --pan-up:.08;
  }
  .hero{ --town-w:108vw; } /* スクロールで横にずらす分だけ広く */
  .hero__pan{ top:-8%; height:116%; }
}

/* =========================================================
   greeting ごあいさつ（左寄せ・段差）
   ========================================================= */
.greet{ padding:56px 0 48px; }
.greet__inner{ display:grid; gap:40px; }
.greet__title{ font-size:clamp(26px, 6.4vw, 44px); letter-spacing:.14em; }
.greet__text{ max-width:34em; line-height:2.3; }
.ink{ display:block; }
.greet__cup{ position:relative; width:120px; justify-self:end; margin-top:12px; }
.greet__cupimg{ position:relative; overflow:hidden; aspect-ratio:250 / 222; } /* 線画の湯のみ（250x396）は上部に湯気が描かれているので、椀の部分だけ見せる（湯気はSVGで動かす） */
.greet__cupimg img{ position:absolute; left:0; bottom:0; width:100%; }
.greet__steam{ position:absolute; left:12%; bottom:84%; width:78%; height:auto; overflow:visible; }
.steam{ fill:none; stroke:#C9A083; stroke-width:2.4; stroke-linecap:round; opacity:.85; }
.steam--3{ opacity:.6; }

@media (min-width:960px){
  .greet{ padding:120px 0 72px; }
  .greet__inner{ grid-template-columns:minmax(0,1fr) 200px; column-gap:40px; row-gap:56px; }
  .greet__title{ grid-column:1 / -1; }
  .greet__text{ grid-column:1; padding-left:4.5em; }
  .greet__cup{ grid-column:2; grid-row:2; align-self:end; width:170px; margin:0 0 -10px; }
}

/* =========================================================
   consult こんなときに、ご相談ください（連絡帳の書き込み）
   ========================================================= */
.consult{ padding:32px 0 72px; }
.consult__inner{ display:grid; gap:64px; } /* gap はインデックス付箋の高さを含む */
.consult__title{ font-size:clamp(24px, 6.2vw, 38px); }
.consult__sheet{
  --margin-x:48px; /* 連絡帳の縦の余白線の位置 */
  padding:10px 20px 12px;
}
.consult__sheet::before{
  content:"";
  position:absolute; top:0; bottom:0; left:var(--margin-x);
  width:1px;
  background:var(--peach-pale);
}
.consult__list{ position:relative; list-style:none; }
.consult__item{
  display:flex; align-items:baseline; gap:14px;
  padding:15px 0 14px;
  border-bottom:1px solid rgba(107,82,68,.18);
}
.consult__item:last-child{ border-bottom:0; }
.consult__box{ flex:none; position:relative; top:3px; width:18px; height:18px; overflow:visible; }
.consult__box path{ fill:none; stroke:var(--line); stroke-width:1.4; stroke-linejoin:round; }
.consult__box .consult__check{ stroke:var(--peach-ink); stroke-width:2.2; stroke-linecap:round; stroke-dasharray:1; stroke-dashoffset:0; }
.consult__text{
  font-family:var(--f-hand); font-weight:600;
  font-size:18px; line-height:1.8; letter-spacing:.06em;
  color:var(--ink);
}

@media (min-width:960px){
  .consult{ padding:56px 0 100px; }
  .consult__inner{ grid-template-columns:minmax(0,.75fr) minmax(0,1.25fr); column-gap:64px; align-items:start; }
  .consult__head{ padding-top:56px; }
  .consult__sheet{ --margin-x:76px; padding:14px 48px 16px; }
  .consult__item{ gap:24px; padding:18px 0 17px; }
  .consult__text{ font-size:20px; }
}

/* =========================================================
   news お知らせ（連絡帳の1枚。インデックス付箋＋細い罫線）
   ========================================================= */
.news{ padding:40px 0 72px; }
.news__inner{ display:grid; }
.notice{
  width:100%; max-width:760px;
  justify-self:end;
  padding:6px 24px 26px;
}
.notice__list{ list-style:none; }
.notice__item{ border-bottom:1px solid rgba(107,82,68,.18); }
.notice__link{
  display:grid; gap:2px;
  padding:16px 0 17px;
  text-decoration:none;
}
.notice__date{ font-family:var(--f-hand); font-weight:600; font-size:16px; letter-spacing:.06em; color:var(--sage-ink); }
.notice__text{ font-weight:500; transition:color .4s; }
.notice__link:hover .notice__text{ color:var(--peach-text); text-decoration:underline; text-decoration-color:var(--peach); text-underline-offset:6px; text-decoration-thickness:1.5px; }
.notice__more{ margin-top:18px; text-align:right; }

@media (min-width:768px){
  .notice{ padding:10px 48px 34px; }
  .notice__link{ grid-template-columns:10.5em minmax(0,1fr); align-items:baseline; gap:16px; padding:20px 0; }
}
@media (min-width:960px){
  .news{ padding:48px 0 100px; }
  .notice{ margin-right:4%; }
}

/* ---------- ありがとやへの入口: 藍の細い帯（藍はありがとやの入口と区画だけ） ---------- */
.ari-band-wrap{ position:relative; overflow:clip; }
.ari-band{
  display:flex; align-items:center; justify-content:center; gap:14px;
  min-height:64px;
  padding:10px 20px;
  background-color:#3F5270;
  color:#FFFBF5;
  text-decoration:none;
  border-top:3px solid #7A5C45;
}
.ari-band__onigiri{ flex:none; display:block; height:46px; }
.ari-band__onigiri img{ height:100%; width:auto; }
.ari-band__onigiri.is-none{ display:none; }
.ari-band__text{
  font-family:var(--f-head); font-weight:500;
  font-size:17px; line-height:1.6; letter-spacing:.1em;
  text-align:center;
  text-decoration:underline; text-decoration-color:transparent; text-underline-offset:6px;
  transition:text-decoration-color .4s;
}
.ari-band:hover .ari-band__text{ text-decoration-color:#F5E8C7; }
@media (min-width:960px){
  .ari-band{ min-height:76px; gap:20px; }
  .ari-band__onigiri{ height:56px; }
  .ari-band__text{ font-size:20px; }
}

/* =========================================================
   tsunagu つながりの図（升目の紙の上に、人と線）
   ・PC: だ円の配置（各ノードの位置は left/top の％）
   ・SP/タブレット: ご本人→ケアマネジャー→2列の職種。線は縦の幹から枝分かれ（JSが描く）
   ========================================================= */
.tsunagu{ padding:72px 0 80px; }
.tsunagu__head{ max-width:38em; margin-bottom:48px; }
.tsunagu__kicker{ margin-bottom:8px; }
.tsunagu__title{ font-size:clamp(24px, 6.2vw, 40px); }
.tsunagu__lead{ margin-top:22px; max-width:34em; }

.net{
  position:relative;
  padding:32px 12px 36px;
  background:var(--paper-light) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='28' height='28'%3E%3Cpath d='M27.5 0V28M0 27.5H28' fill='none' stroke='%23EFE4D6' stroke-width='1'/%3E%3C/svg%3E") repeat 0 0 / 28px 28px;
  border:1px solid rgba(107,82,68,.14);
  border-radius:2px;
}
.net__lines{ position:absolute; left:0; top:0; width:100%; height:100%; overflow:visible; pointer-events:none; z-index:0; }
.net__lines path{ fill:none; stroke:var(--line); stroke-width:1.6; stroke-linecap:round; stroke-linejoin:round; opacity:.8; transition:stroke-width .4s var(--ease), opacity .4s, stroke .4s; }
.net__lines path.is-hot{ stroke:var(--ink); stroke-width:3.2; opacity:1; }
/* 線の上を流れる小さな丸（JSが動かす） */
.net__dot{ fill:var(--peach-ink); stroke:var(--paper-light); stroke-width:2; opacity:0; }
.net__node[data-net]{ cursor:default; }
.net__node.is-hot .net__label{ border-color:var(--line); box-shadow:0 0 0 1px var(--line); }
.net__list{ position:relative; z-index:1; list-style:none; display:grid; grid-template-columns:repeat(2, minmax(0,1fr)); gap:36px 28px; }
.net__node{ display:flex; flex-direction:column; align-items:center; text-align:center; }
.net__fig{ width:min(120px, 80%); }
.net__node--honnin{ grid-column:1 / -1; }
.net__node--honnin .net__fig{ width:min(190px, 54%); }
.net__node--caremane{ grid-column:1 / -1; margin-bottom:8px; }
.net__node--caremane .net__fig{ width:min(140px, 40%); }
/* SP: 職種は列の外側へ寄せ、縦の幹からの枝が見えるだけの距離をとる（左列=奇数番目の li） */
@media (max-width:959px){
  .net__node[data-net="role"] .net__fig{ width:min(112px, 70%); }
  .net__node[data-net="role"]:nth-child(odd){ align-items:flex-start; }
  .net__node[data-net="role"]:nth-child(even){ align-items:flex-end; }
  .net__node[data-net="role"] .net__label{ align-self:auto; }
}
.net__label{
  margin-top:8px;
  padding:2px 12px 3px;
  background:var(--paper-light);
  border:1px solid rgba(107,82,68,.22);
  border-radius:3px;
  font-weight:500; font-size:16px; line-height:1.6; letter-spacing:.06em;
  white-space:nowrap;
}
.net__node--honnin .net__label{ background:var(--peach-pale); font-weight:700; }
.net__node--caremane .net__label{ background:var(--sage-pale); font-weight:700; }
.net__sub{ display:block; font-family:var(--f-hand); font-weight:600; font-size:16px; letter-spacing:.08em; color:var(--sage-ink-deep); }

@media (min-width:960px){
  .tsunagu{ padding:120px 0 120px; }
  .tsunagu__head{ margin-bottom:64px; }
  .net{ height:780px; padding:0; }
  .net__list{ position:absolute; inset:0; display:block; }
  .net__node{ position:absolute; left:var(--x); top:var(--y); width:150px; transform:translate(-50%, -50%); }
  .net__fig, .net__node--honnin .net__fig, .net__node--caremane .net__fig{ width:100%; }
  .net__node--honnin{ --x:50%; --y:30%; width:200px; }
  .net__node--caremane{ --x:50%; --y:73%; width:140px; margin:0; }
  .net__node--doctor{ --x:20%; --y:24%; }
  .net__node--nurse{ --x:80%; --y:24%; }
  .net__node--helper{ --x:10%; --y:56%; }
  .net__node--pharmacist{ --x:90%; --y:56%; }
  .net__node--yougu{ --x:24%; --y:80%; }
  .net__node--day{ --x:76%; --y:80%; }
  .net__fig{ max-width:none; }
  .net__node[data-net="role"]{ width:128px; }
}

/* =========================================================
   promise 3つの約束（左右互い違い＋点線の道）
   ========================================================= */
.promise{ padding:80px 0 56px; }
.promise__head{ max-width:38em; margin-bottom:64px; }
.promise__kicker{ margin-bottom:8px; }
.promise__title{ font-size:clamp(26px, 6.4vw, 42px); }
.promise__lead{ margin-top:24px; max-width:34em; }

.promise__road{ position:relative; }
.road{
  position:absolute; left:0; top:0;
  width:100%; height:100%;
  overflow:visible; pointer-events:none;
  z-index:0;
}
.road__dots{ fill:none; stroke:var(--line); stroke-width:2.4; stroke-linecap:round; stroke-dasharray:.1 10; opacity:.75; }
.road__reveal{ fill:none; stroke:#fff; stroke-width:16; stroke-linecap:round; stroke-linejoin:round; }
/* 道を進む自転車（item-bicycle の置き場所）。絵が無い間は小さな丸い色面 */
.road__bike{ position:absolute; left:0; top:0; z-index:3; width:64px; pointer-events:none; }
.road__bike:not(.is-loaded){ width:28px; aspect-ratio:1; border-radius:50%; }
.no-js .road__bike{ display:none; }

.promise__list{ position:relative; z-index:1; list-style:none; display:grid; gap:88px; }
.vow{ display:grid; gap:36px; }
.vow__photo{ width:86%; }
.vow:nth-child(odd) .vow__photo{ margin-right:auto; }
.vow:nth-child(even) .vow__photo{ margin-left:auto; }
.vow:nth-child(odd) .vow__body{ padding-right:15%; }
.vow:nth-child(even) .vow__body{ padding-left:15%; }
.vow--3 .vow__photo img{ aspect-ratio:5 / 4; }
.vow__scene{ padding:0; } /* 絵（scene-*.webp）は白フチなしで紙に直接 */
.vow__num{ margin-bottom:4px; font-size:18px; }
.vow__title{ font-size:clamp(22px, 5.6vw, 30px); line-height:1.7; margin-bottom:16px; }
.vow__text{ max-width:30em; }

.fusen{
  position:relative; z-index:1;
  max-width:440px;
  margin:72px 0 0 auto;
  padding:22px 24px 24px;
  background:var(--paper-light);
  border:1px solid rgba(107,82,68,.16);
  border-left:4px solid var(--sage);
  border-radius:2px;
}
.fusen__label{ margin-bottom:6px; }

@media (min-width:960px){
  .promise{ padding:130px 0 72px; }
  .promise__head{ margin-bottom:96px; }
  .promise__list{ gap:128px; }
  .vow{ grid-template-columns:minmax(0,6fr) minmax(0,5fr); column-gap:96px; align-items:center; }
  .vow--2{ grid-template-columns:minmax(0,5fr) minmax(0,6fr); }
  .vow--2 .vow__photo{ order:2; }
  .vow .vow__photo, .vow:nth-child(odd) .vow__photo, .vow:nth-child(even) .vow__photo{ width:100%; margin:0; }
  .vow:nth-child(odd) .vow__body, .vow:nth-child(even) .vow__body{ padding:0; }
  .vow--1 .vow__body{ margin-top:72px; }
  .vow--2 .vow__body{ margin-top:-48px; }
  .vow--3 .vow__photo{ width:88%; justify-self:end; }
  .vow--3 .vow__body{ margin-top:24px; }
  .fusen{ margin:110px 6% 0 auto; padding:26px 30px 28px; }
}

/* PC: 写真がほんの少し持ち上がって傾きが戻る */
/* （出現の演出が終わって .is-placed が付いてから transition を有効にする＝GSAPと競合させない） */
@media (hover:hover) and (pointer:fine){
  .vow__photo.print.is-placed{ transition:transform .9s var(--ease), box-shadow .9s var(--ease); }
  .vow__photo.print.is-placed:hover{ transform:translateY(-4px); box-shadow:0 8px 20px rgba(84,67,58,.09); }
}

/* =========================================================
   interlude 幕間（町並みと縦書きの一文）
   ========================================================= */
.interlude{ position:relative; isolation:isolate; overflow:clip; padding:64px 0 0; }
.interlude__words{ display:flex; justify-content:center; }
.interlude__text{
  writing-mode:vertical-rl;
  text-orientation:mixed;
  font-family:var(--f-head); font-weight:500;
  font-size:clamp(23px, 5.9vw, 32px);
  line-height:2.5; letter-spacing:.16em;
  color:var(--ink);
}
.interlude__line{ display:block; }
.interlude__line:nth-child(2){ padding-top:1.6em; }
.interlude__town{ position:relative; margin-top:24px; overflow:clip; }
/* visit-evening の置き場所（約3:1）。SPは少し広げて中央を見せる */
.interlude__town-img{ width:max(130%, 520px); max-width:none; margin-left:calc(50% - max(65%, 260px)); }

@media (min-width:960px){
  .interlude{ padding-top:96px; }
  .interlude__text{ font-size:32px; line-height:2.8; }
  .interlude__town{ margin-top:40px; }
  .interlude__town-img{ width:min(1240px, 94vw); margin-left:auto; margin-right:auto; }
}

/* =========================================================
   service わたしたちにできること（見開き・高さをずらす）
   ========================================================= */
.svc{ position:relative; isolation:isolate; overflow:clip; padding:80px 0; }
.svc__head{ position:relative; max-width:36em; margin-bottom:64px; }
.svc__titlewrap{ position:relative; }
.svc__title{ font-size:clamp(26px, 6.4vw, 42px); }
.svc__lead{ margin-top:22px; max-width:34em; }

.svc__list{ list-style:none; display:grid; gap:80px; }
.svc__illust{ position:relative; width:88%; }
.svc__item:nth-child(even) .svc__illust{ margin-left:auto; }
.svc__name{ font-size:22px; letter-spacing:.1em; line-height:1.7; margin:22px 0 10px; }
.svc__sub{ display:block; margin-top:-2px; font-weight:500; font-size:16px; line-height:1.6; letter-spacing:.04em; color:var(--sage-ink); }
.svc__text{ max-width:30em; }
.svc__more{ margin-top:56px; text-align:right; }

@media (min-width:960px){
  .svc{ padding:130px 0 110px; }
  .svc .wrap{ max-width:1360px; }
  .svc__head{ margin-bottom:88px; }
  .svc__titlewrap{ display:inline-block; }
  .svc__list{ grid-template-columns:repeat(3, minmax(0,1fr)); column-gap:48px; align-items:start; }
  .svc__illust, .svc__item:nth-child(even) .svc__illust{ margin:0; }
  /* イラストは幅400〜440px目安（列幅より少し大きく、はみ出させる） */
  .svc__item--1 .svc__illust{ width:110%; margin-left:-6%; }
  .svc__item--2{ margin-top:150px; }
  .svc__item--2 .svc__illust{ width:106%; margin-left:-3%; }
  .svc__item--3{ margin-top:46px; }
  .svc__item--3 .svc__illust{ width:104%; margin-left:-1%; }
  .svc__name{ font-size:21px; }
  .svc__more{ margin-top:64px; }
}

/* =========================================================
   flow ご相談からの流れ（週間予定表の升目に、罫線を左から）
   ・SP: 1段ずつ縦に。各段の上の罫線が左から引かれる
   ・PC: 5列の表。各列の罫線がつながって1本の線に見える
   ========================================================= */
.flow{ padding:72px 0 80px; }
.flow__head{ display:flex; flex-wrap:wrap; align-items:baseline; gap:4px 20px; margin-bottom:64px; }
.flow__title{ font-size:clamp(24px, 6.2vw, 40px); }
.flow__sheet{ padding:8px 20px 8px; }
.flow__list{ list-style:none; }
.flow__step{
  position:relative;
  display:grid; grid-template-columns:76px minmax(0,1fr); column-gap:18px;
  grid-template-areas:"item when" "item text";
  align-items:center;
  padding:18px 0 20px;
}
.flow__item{ grid-area:item; width:76px; }
.flow__line{
  position:absolute; left:0; right:0; top:0;
  height:1.5px;
  background:var(--line);
  opacity:.55;
  transform-origin:0 50%;
}
.flow__step:first-child .flow__line{ opacity:.7; }
.flow__when{ grid-area:when; align-self:end; font-size:16px; line-height:1.6; }
.flow__text{ grid-area:text; align-self:start; font-weight:500; font-size:17px; line-height:1.8; letter-spacing:.06em; }
.flow__note{ margin-top:22px; }
.flow__step{ column-gap:46px; } /* SP: 写真と文のあいだを、自転車が下る縦の線の通り道にする */
/* 段から段へ進む自転車（JSで動かすときだけ表示）。位置はJSが実際の配置から決める */
.flow__track{ display:none; }
.flow.is-riding .flow__track{ display:block; position:absolute; inset:0; z-index:2; pointer-events:none; }
.flow__rail{ position:absolute; left:calc(20px + 76px + 23px); top:0; bottom:0; width:0; border-left:1.5px dashed var(--line-soft); }
.flow__rider{ --rh:34px; left:0; top:0; bottom:auto; }
/* 着いた段に色がのる: 写真に色、「はじめに」などに蛍光ペンの線 */
.flow__when{
  background:url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 200 20' preserveAspectRatio='none'%3E%3Cpath d='M3 6C40 3 90 5 140 3.5S190 5 197 4L196.5 16C150 18 100 15 50 17S10 16.5 4 18Z' fill='%23F9E3B4'/%3E%3C/svg%3E") no-repeat 0 88% / 0 .55em;
  justify-self:start; width:fit-content;
}
.flow.is-riding .flow__when{ transition:background-size .9s var(--ease); }
.flow.is-riding .flow__step.is-on .flow__when{ background-size:100% .55em; }
.flow.is-riding .flow__item img{ transition:filter 1s var(--ease), opacity 1s var(--ease); }
.flow.is-riding .flow__step:not(.is-on) .flow__item img{ filter:saturate(0) brightness(1.06); opacity:.55; }

@media (min-width:960px){
  .flow{ padding:120px 0 120px; }
  .flow__head{ margin-bottom:72px; }
  .flow__sheet{ padding:0; }
  .flow__list{ display:grid; grid-template-columns:repeat(5, minmax(0,1fr)); }
  .flow__step{
    display:flex; flex-direction:column; align-items:flex-start;
    padding:30px 22px 34px;
    border-left:1px solid rgba(107,82,68,.12); /* 週間予定表の升目 */
  }
  .flow__step:first-child{ border-left:0; }
  .flow__item{ width:96px; }
  .flow__when, .flow__text{ align-self:auto; }
  .flow__line{ position:relative; display:block; left:auto; right:auto; top:auto; width:calc(100% + 45px); margin:24px -23px 16px -22px; }
  .flow__step:first-child .flow__line{ opacity:.55; }
  .flow__rail{ display:none; } /* PC は各列の罫線（.flow__line）の上を走る */
  .flow__rider{ --rh:44px; }
  .flow__text{ font-size:17px; }
}

/* =========================================================
   message 便箋
   ========================================================= */
.msg{ background:var(--paper-shade); padding:104px 0 80px; }
.msg .hand{ color:var(--sage-ink-deep); }
.msg__inner{ max-width:820px; }
.letter{
  position:relative;
  padding:78px 22px 44px;
  background:var(--paper-light);
  border-radius:2px 3px 2px 3px;
  box-shadow:var(--shadow);
}
.letter .hand{ color:var(--sage-ink); }
.letter__photo{
  position:absolute; z-index:2;
  top:-84px; right:-4px; /* SPは便箋の上辺の外側へ逃がす */
  width:92px;
  padding:6px 6px 18px;
}
.letter__photo img{ aspect-ratio:4 / 5; object-position:49% 30%; }
.letter__to{ margin-bottom:10px; }
.letter__title{ font-size:clamp(21px, 5.6vw, 34px); margin-bottom:34px; }
.letter__body{
  font-size:16px;
  line-height:34px;
  background:url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='10' height='34'%3E%3Cpath d='M0 33.5H10' stroke='%23EADCCB' stroke-width='1'/%3E%3C/svg%3E") repeat 0 0 / 10px 34px;
}
.letter__body p + p{ margin-top:34px; }
.letter__sign{ display:flex; flex-direction:column; align-items:flex-end; }
.letter__org{ color:var(--ink-sub); }
.letter__name{ font-family:var(--f-hand); font-weight:600; font-size:26px; line-height:68px; letter-spacing:.2em; }
.msg__career{ margin-top:40px; padding-left:6px; max-width:38em; color:var(--ink-sub); }
.msg__career-name{ color:var(--ink); font-weight:700; margin-right:1em; }
.msg__fb{ margin-top:14px; padding-left:6px; }
.msg__teapot{ width:96px; margin:20px 4px 0 auto; }

@media (min-width:768px){
  .letter{ padding:84px 80px 64px; }
  .letter__photo{ width:200px; top:-56px; right:-40px; padding:10px 10px 28px; }
  .letter__to{ padding-right:180px; }
  .letter__title{ padding-right:170px; }
  .msg__career{ padding-right:150px; }
  .msg__teapot{ position:absolute; right:40px; bottom:-18px; width:128px; margin:0; }
  .letter__body{
    font-size:17px;
    line-height:36px;
    background-image:url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='10' height='36'%3E%3Cpath d='M0 35.5H10' stroke='%23EADCCB' stroke-width='1'/%3E%3C/svg%3E");
    background-size:10px 36px;
  }
  .letter__body p + p{ margin-top:36px; }
  .letter__name{ font-size:30px; line-height:72px; }
}
@media (min-width:960px){ .msg{ padding:140px 0 120px; } }

/* =========================================================
   staff アルバム
   ========================================================= */
.staff{ padding:64px 0 72px; }
.staff__head{ max-width:36em; margin-bottom:56px; }
.staff__kicker{ margin-bottom:8px; }
.staff__title{ font-size:clamp(26px, 6.4vw, 40px); }
.staff__lead{ margin-top:22px; }
.staff__count{ margin-top:8px; color:var(--ink-sub); }

.album{
  position:relative;
  padding:40px 14px 52px;
  background:var(--paper-light);
  border:1px solid rgba(107,82,68,.12);
  box-shadow:var(--shadow);
}
.album__hint{ margin-bottom:28px; text-align:right; }
.staff:not(.is-interactive) .album__hint{ display:none; }
/* 7名: SP 2列（最後の1名は中央）／PC 4列＋3列（中央寄せ）。傾け・ずらしはやめて、まっすぐ並べる */
.album__grid{ list-style:none; display:flex; flex-wrap:wrap; justify-content:center; gap:44px 16px; }

.snap{
  position:relative; z-index:1;
  flex:0 0 calc((100% - 16px) / 2);
  min-width:0;
}
.snap.is-open{ z-index:10; }
.snap__photo{ aspect-ratio:4 / 5; overflow:hidden; background:var(--paper-shade); }
.snap__photo img{
  width:100%; height:100%;
  object-fit:cover;
  object-position:var(--fx, 50%) var(--fy, 30%);
  transform:scale(var(--z, 1.4));
  transform-origin:var(--fx, 50%) var(--fy, 30%);
  filter:var(--photo-filter);
  transition:transform 1.2s var(--ease);
}
.snap:hover .snap__photo img{ transform:scale(calc(var(--z, 1.4) * 1.04)); }
/* 名札（白い札＋上辺にピーチの線） */
.snap__name{
  display:inline-block;
  margin-top:14px;
  padding:6px 14px 8px;
  background:var(--paper-light);
  border:1px solid rgba(107,82,68,.24);
  border-top:4px solid var(--peach);
  border-radius:3px;
  font-weight:700;
  font-size:18px; line-height:1.5; letter-spacing:.08em;
}
.snap__role{ display:block; font-family:var(--f-body); font-weight:500; font-size:15px; letter-spacing:.02em; color:var(--ink-sub); }
.snap__btn{
  position:absolute; left:0; top:0;
  width:100%; aspect-ratio:4 / 5;
  padding:0; border:0; background:transparent;
  cursor:pointer;
}
.staff:not(.is-interactive) .snap__btn{ display:none; }
.snap__quote{ margin-top:12px; line-height:1.9; }
.snap__quote-label{ font-weight:500; color:var(--sage-ink); }
.snap__quote-note{ margin-top:4px; color:var(--ink-sub); }

/* 吹き出し（JSが有効で動きを許可しているときだけ） */
.is-interactive .snap{ --ql:0; --qx:0; --qy:8px; --tl:26%; }
.is-interactive .snap:nth-child(even){ --ql:100%; --qx:-100%; --tl:74%; }
.is-interactive .snap:last-child:nth-child(odd){ --ql:50%; --qx:-50%; --tl:50%; }
.is-interactive .snap__quote{
  position:absolute; z-index:5;
  left:var(--ql); bottom:calc(100% - 36px);
  width:min(260px, 74vw);
  margin:0;
  padding:16px 18px 18px;
  background:var(--paper-light);
  border-radius:18px 22px 16px 20px / 20px 16px 22px 18px;
  box-shadow:0 6px 18px rgba(84,67,58,.08);
  opacity:0; visibility:hidden;
  transform:translate(var(--qx), var(--qy));
  transition:opacity .5s var(--ease), transform .6s var(--ease), visibility 0s linear .6s;
}
.is-interactive .snap__quote::after{
  content:"";
  position:absolute; left:var(--tl); bottom:-7px;
  width:14px; height:14px;
  background:var(--paper-light);
  transform:translateX(-50%) rotate(45deg);
  border-radius:2px;
}
.is-interactive .snap.is-open{ --qy:0px; }
.is-interactive .snap.is-open .snap__quote{
  opacity:1; visibility:visible;
  transition:opacity .5s var(--ease), transform .6s var(--ease), visibility 0s;
}
.staff__more{ margin-top:64px; text-align:right; }

@media (min-width:960px){
  .staff{ padding:130px 0 110px; }
  .staff__head{ margin-bottom:72px; }
  .album{ padding:64px 64px 96px; }
  .album__grid{ gap:64px 40px; }
  .snap{ flex-basis:calc((100% - 120px) / 4); }
  .snap__name{ font-size:18px; }
  .is-interactive .snap,
  .is-interactive .snap:nth-child(even),
  .is-interactive .snap:last-child:nth-child(odd){ --ql:50%; --qx:-50%; --tl:50%; }
  .is-interactive .snap:nth-child(4n+1){ --ql:0; --qx:0; --tl:26%; }
  .is-interactive .snap:nth-child(4n){ --ql:100%; --qx:-100%; --tl:74%; }
  .is-interactive .snap__quote{ width:290px; }
  .staff__more{ margin-top:88px; }
}

/* =========================================================
   arigatoya 食事処（色の違う、独立した“お店の区画”）
   ※ このセクションだけの配色。ピーチは使わず、藍・麦わら・木の茶・セージで組む
   ※ 藍 #3F5270 はこのセクション以外で使わない
   ========================================================= */
.ari{
  --ai:#3F5270;      /* 藍（のれん・見出しの帯・罫線）。藍の上の文字は #FFFBF5 */
  --straw:#F5E8C7;   /* 麦わら色（地・ベタ） */
  --wood:#7A5C45;    /* 焦げ茶（木の看板・棒・床） */
  position:relative;
  isolation:isolate;
  overflow:clip;
  background-color:var(--straw); /* 前後とはまっすぐ切る */
  padding:0 0 88px;
}

/* ---- のれん（画面幅いっぱい・藍に白い大きな文字） ---- */
.ari__noren{ position:relative; width:100%; padding-top:0; }
.ari__rod{
  position:relative; z-index:2;
  display:block;
  width:100%; height:18px;
  overflow:visible;
}
.ari__rod path{ fill:none; stroke:var(--wood); stroke-width:9; stroke-linecap:round; vector-effect:non-scaling-stroke; }
.ari__cloths{ display:flex; gap:5px; margin-top:-10px; padding:0 0; } /* gap＝布と布の間の切れ目 */
.ari__cloth{
  flex:1 1 0;
  display:flex; align-items:center; justify-content:center;
  height:clamp(168px, 46vw, 320px);
  padding-top:8px;
  background-color:var(--ai);
  color:#FFFBF5;
  transform-origin:50% 0;
  box-shadow:inset 0 10px 0 rgba(255,251,245,.12); /* 布を折り返して棒に通した部分 */
}
.ari__c{
  font-family:var(--f-head); font-weight:700;
  font-size:clamp(46px, 13vw, 132px); line-height:1;
  letter-spacing:0;
}

/* ---- 見出し・説明（大きく） ---- */
.ari__inner{ display:grid; gap:48px; padding-top:52px; }
.ari__kicker{ margin-bottom:10px; color:var(--ai); }
.ari__title{ line-height:1.3; letter-spacing:.06em; }
.ari__title-sub{ display:block; font-size:clamp(18px, 4.8vw, 26px); font-weight:500; line-height:1.6; letter-spacing:.1em; color:var(--ai); }
.ari__title-main{ display:block; margin-top:6px; font-size:clamp(50px, 14vw, 86px); line-height:1.15; letter-spacing:.08em; white-space:nowrap; color:var(--ink); }
.ari__catch{ margin-top:22px; font-family:var(--f-hand); font-weight:600; font-size:clamp(19px, 5vw, 24px); line-height:1.8; letter-spacing:.08em; color:var(--ink); }
.ari__lead{ margin-top:16px; max-width:30em; }

/* ---- 実写真と線画を重ねる ---- */
.ari__ph{
  position:relative;
  margin:0;
  padding:8px 8px 10px;
  background-color:#FFFDF8;
  border-radius:2px;
  box-shadow:0 6px 18px rgba(84,67,58,.12);
}
.ari__ph-in{ position:relative; overflow:hidden; }
.ari__ph-in img{ width:100%; height:100%; object-fit:cover; }
.ari__cap{
  margin-top:8px;
  font-family:var(--f-hand); font-weight:600;
  font-size:16px; line-height:1.5; letter-spacing:.1em;
  color:var(--ai);
}
.ari__gallery{ position:relative; padding-bottom:34%; }
.ari__ph--main{ width:86%; margin-left:auto; }
.ari__ph--main .ari__ph-in{ aspect-ratio:1448 / 1086; }
.ari__ph--sub{ position:absolute; left:0; bottom:4%; width:46%; padding:6px; z-index:2; }
.ari__ph--sub .ari__ph-in{ aspect-ratio:16 / 10; }
.ari__ph--sub img{ object-position:50% 50%; }
.ari__illust{ position:absolute; z-index:3; right:-4%; bottom:5%; width:56%; pointer-events:none; }
.ari__img{ width:100%; }
/* とん汁の湯気: set-menu-550.jpg の椀（横 33〜62%・縦 49〜95%）の真上 */
.ari__steam{ position:absolute; left:38%; top:20%; width:16%; height:auto; overflow:visible; pointer-events:none; }
.ari-steam{ fill:none; stroke:#FFFBF5; stroke-width:3.4; stroke-linecap:round; opacity:.95; vector-effect:non-scaling-stroke; }
.ari-steam--3{ opacity:.75; }

.ari__seats{ display:grid; grid-template-columns:repeat(2, minmax(0,1fr)); gap:16px; }
.ari__ph--seat{ padding:6px 6px 8px; }
.ari__ph--seat .ari__ph-in{ aspect-ratio:4 / 3; }
.ari__ph--seat:nth-child(1) img{ object-position:50% 60%; }
.ari__ph--seat:nth-child(2) img{ object-position:58% 50%; }
.ari__ph--seat .ari__cap{ font-size:15px; }

/* ---- お品書き（SP: 横書きの品書き表／768px以上: 縦書きの短冊） ---- */
.ari__menu-title{ font-size:24px; letter-spacing:.24em; margin-bottom:18px; }
.tanzaku{
  list-style:none;
  padding:6px 20px;
  background-color:var(--paper-light);
  box-shadow:var(--shadow);
}
.tz{
  display:grid;
  grid-template-columns:minmax(0,1fr) auto;
  column-gap:14px;
  align-items:baseline;
  padding:13px 0 14px;
  border-bottom:1px solid rgba(63,82,112,.32); /* 藍の細罫 */
}
.tz:last-child{ border-bottom:0; }
.tz__body{ display:contents; } /* SPでは中身を表のグリッドに直接並べる */
.tz__name{ grid-column:1; grid-row:1; font-family:var(--f-head); font-weight:500; font-size:18px; letter-spacing:.08em; line-height:1.6; }
.tz__note{ grid-column:1 / -1; grid-row:2; line-height:1.7; }
.tz__price{ grid-column:2; grid-row:1; font-family:var(--f-body); font-weight:500; font-size:16px; letter-spacing:.04em; white-space:nowrap; color:var(--ink); }
.tz__p + .tz__p::before{ content:"・"; }
.tcy{ text-combine-upright:all; -webkit-text-combine:horizontal; } /* 縦書き時だけ縦中横になる */
.ari__menu-note{ margin-top:18px; }

/* ---- お店の情報（木の看板・大きく） ---- */
.ari__board{
  position:relative;
  padding:40px 26px 32px;
  background-color:var(--wood);
  color:#FFFBF5;
  border-radius:6px 4px 7px 5px;
  box-shadow:0 6px 18px rgba(84,67,58,.14);
  transform:rotate(-.4deg);
}
.ari__board::before,
.ari__board::after{
  content:"";
  position:absolute; top:14px;
  width:8px; height:8px; border-radius:50%;
  background-color:rgba(255,251,245,.55);
}
.ari__board::before{ left:14px; }
.ari__board::after{ right:14px; }
.ari__board-title{
  margin-bottom:18px; padding-bottom:12px;
  border-bottom:1px solid rgba(255,251,245,.35);
  font-family:var(--f-head); font-weight:700;
  font-size:clamp(22px, 5.6vw, 28px); letter-spacing:.16em; line-height:1.5;
}
.ari__info{ display:grid; gap:14px; margin:0; }
.ari__info div{ display:grid; grid-template-columns:5em minmax(0,1fr); gap:10px; align-items:baseline; }
.ari__info dt{ font-weight:500; font-size:16px; opacity:.9; }
.ari__info dd{ margin:0; font-weight:700; font-size:clamp(19px, 4.8vw, 24px); line-height:1.6; letter-spacing:.06em; }
.ari__addr{ display:block; font-weight:400; font-size:15px; letter-spacing:.04em; opacity:.92; }
@media (min-width:960px){
  .ari__board{ padding:48px 44px 40px; }
  .ari__info dd{ font-size:26px; }
}

/* ---- リンク（下線は藍） ---- */
.ari__links{ display:flex; flex-wrap:wrap; gap:14px 36px; }
.ari .tlink{ color:var(--ai); }
.ari .tlink__line path{ stroke:var(--ai); }

/* ---- 下端: 藍の細線＋木の床で締める ---- */
.ari__floor{
  position:absolute; left:0; right:0; bottom:0;
  height:12px;
  background-color:var(--wood);
  box-shadow:0 -5px 0 0 var(--straw), 0 -7px 0 0 var(--ai);
}

@media (min-width:768px){
  .tanzaku{
    position:relative;
    display:flex; flex-direction:row-reverse; flex-wrap:wrap;
    justify-content:center; align-items:flex-start;
    gap:40px 22px;
    padding:26px 0 0;
    background:none; box-shadow:none;
  }
  /* 短冊を掛ける木の桟 */
  .tanzaku::before{
    content:"";
    position:absolute; top:0; left:6%; right:6%;
    height:5px; border-radius:3px;
    background-color:var(--wood);
  }
  .tz{
    position:relative;
    display:flex; flex-direction:column; align-items:stretch;
    min-width:100px;
    height:var(--len);
    margin-top:var(--drop);
    padding:32px 12px 16px;
    border:0;
    background-color:var(--paper-light);
    outline:1px solid var(--ai); outline-offset:-6px;
    box-shadow:0 4px 12px rgba(84,67,58,.07);
    transform:rotate(var(--tr));
    transform-origin:50% 0;
  }
  .tz:last-child{ border:0; }
  /* 掛け紐とピン */
  .tz::before{
    content:"";
    position:absolute; left:50%; bottom:100%;
    width:1px; height:calc(26px + var(--drop));
    background-color:var(--wood);
  }
  .tz::after{
    content:"";
    position:absolute; left:50%; top:12px;
    width:7px; height:7px; margin-left:-3.5px; border-radius:50%;
    background-color:var(--ai);
  }
  /* 品名・内容: 縦書き（右から） */
  .tz__body{ flex:1 1 auto; min-height:0; display:flex; flex-direction:row-reverse; justify-content:center; gap:6px; }
  .tz__body > span{ writing-mode:vertical-rl; text-orientation:mixed; }
  .tz__name{ align-self:flex-start; font-size:20px; letter-spacing:.14em; line-height:1.5; }
  .tz__note{ align-self:flex-start; padding-top:1.4em; max-height:calc(var(--len) - 130px); line-height:1.6; }
  /* 価格: 短冊の下部に横書き。上に藍の細い罫で品名と区切る */
  .tz__price{
    flex:none;
    margin-top:10px; padding-top:9px;
    border-top:1px solid var(--ai);
    text-align:center;
    font-size:17px; line-height:1.5; letter-spacing:.04em;
  }
  .tz__p{ display:block; }
  .tz__p + .tz__p::before{ content:none; }
}

@media (min-width:960px){
  .ari{ padding-bottom:132px; }
  .ari__cloth{ height:320px; }
  .ari__inner{
    padding-top:88px;
    grid-template-columns:minmax(0,.92fr) minmax(0,1.08fr);
    grid-template-areas:"head gallery" "board gallery" "seats seats" "menu menu" "links links";
    column-gap:72px; row-gap:56px;
  }
  .ari__head{ grid-area:head; align-self:end; }
  .ari__gallery{ grid-area:gallery; align-self:start; margin-top:8px; }
  .ari__board{ grid-area:board; align-self:start; }
  .ari__seats{ grid-area:seats; width:min(860px, 100%); justify-self:center; gap:32px; margin-top:24px; }
  .ari__ph--seat .ari__ph-in{ aspect-ratio:3 / 2; }
  .ari__menu{ grid-area:menu; margin-top:32px; }
  .ari__menu-title{ text-align:center; margin-bottom:28px; }
  .ari__menu-note{ text-align:center; margin-top:28px; }
  .ari__links{ grid-area:links; justify-content:center; }
}

/* =========================================================
   recruit 静かな帯
   ========================================================= */
.recruit{ background:var(--paper-shade); padding:80px 0; }
.recruit .hand{ color:var(--sage-ink-deep); }
.recruit__inner{ display:grid; gap:40px; align-items:center; }
.recruit__photo{ aspect-ratio:3 / 2; overflow:hidden; }
@media (hover:hover) and (pointer:fine){
  .recruit__photo.is-placed{ transition:transform .9s var(--ease); }
  .recruit__photo.is-placed:hover{ transform:translateY(-4px); }
}
.recruit__photo img{ width:100%; height:100%; object-fit:cover; object-position:50% 30%; filter:var(--photo-filter); }
.recruit__kicker{ margin-bottom:6px; }
.recruit__title{ font-size:clamp(24px, 5.6vw, 36px); margin-bottom:20px; }
.recruit__cond{ margin-top:16px; font-weight:500; }
.recruit__note{ margin:4px 0 24px; color:var(--ink-sub); }

@media (min-width:960px){
  .recruit{ padding:120px 0; }
  .recruit__inner{ grid-template-columns:minmax(0,1fr) minmax(0,1fr); column-gap:80px; }
  .recruit__body{ max-width:28em; }
}

/* =========================================================
   contact
   ========================================================= */
.contact{ position:relative; isolation:isolate; overflow:clip; padding:88px 0 24px; }
.contact__inner{ display:grid; gap:28px; align-items:center; }
.contact__art{ position:relative; isolation:isolate; margin-inline:-10px; }
.contact__wash{ position:absolute; z-index:-1; left:-6%; top:7%; width:100%; height:104%; pointer-events:none; }
.contact__img{ width:100%; }
.contact__heart{ width:64px; margin:36px 0 0; }
.contact__title{ font-size:clamp(26px, 6.4vw, 40px); }
.contact__lead{ margin:20px 0 32px; max-width:30em; }
.contact__hours{ margin-top:16px; color:var(--ink-sub); }
.contact__fax{ color:var(--ink-sub); }
.contact__form{ margin-top:28px; }

@media (min-width:960px){
  .contact{ padding:120px 0 40px; }
  .contact__inner{ grid-template-columns:minmax(0,1.25fr) minmax(0,1fr); column-gap:72px; }
  .contact__art{ margin:0; }
}

/* =========================================================
   footer（紙・影色の地。濃色ベタにしない）
   ========================================================= */
.ft{ position:relative; isolation:isolate; margin-top:0; }
.ft__town{ position:relative; overflow:clip; }
.ft__town::before{
  content:"";
  position:absolute; left:0; right:0; bottom:0; z-index:-1;
  height:2.4%; /* 絵の下端（道の線）から下を紙・影色にする。visit-town が届いたら下端の位置に合わせて調整 */
  background:var(--paper-shade);
}
/* visit-town の置き場所（ヒーロー下と同じ絵。左右反転はしない） */
.ft__town-img{
  width:max(100%, 720px); max-width:none;
  margin-left:calc(50% - max(50%, 360px));
  border-radius:0;
}
.ft__body{
  background:var(--paper-shade);
  padding:48px 0 calc(40px + var(--bar-h) + env(safe-area-inset-bottom));
}
.ft__grid{ display:grid; gap:40px; }
.ft__logo{ display:inline-flex; align-items:center; gap:8px; text-decoration:none; }
.ft__logo .ft__mark{ width:92px; height:auto; }
.ft__logo .ft__word{ width:196px; height:auto; }
.ft__type{ margin-top:6px; color:var(--ink-sub); }
.ft__dl{ margin:20px 0 0; display:grid; gap:10px; }
.ft__dl div{ display:grid; grid-template-columns:5em minmax(0,1fr); gap:8px; }
.ft__dl dt{ color:var(--ink-sub); }
.ft__dl dd{ margin:0; }
.ft__dl a{ font-weight:700; text-decoration-color:var(--peach); text-underline-offset:5px; }
.ft__map{
  position:relative;
  min-height:220px;
  display:flex; align-items:center; justify-content:center;
  padding:28px; text-align:center;
  background:var(--paper);
  color:var(--ink-sub);
}
.ft__map-line{ position:absolute; left:0; top:0; width:100%; height:100%; overflow:visible; pointer-events:none; }
.ft__map-line path{ fill:none; stroke:var(--line-soft); stroke-width:1.3; stroke-dasharray:6 7; stroke-linecap:round; vector-effect:non-scaling-stroke; }
.ft__map p{ position:relative; }
.ft__nav ul{ list-style:none; display:grid; grid-template-columns:repeat(2, minmax(0,1fr)); gap:2px 20px; }
.ft__nav a{ display:inline-block; padding:6px 0; text-decoration:none; transition:color .4s; }
.ft__nav a:hover, .ft__sub a:hover{ color:var(--peach-text); }
.ft__bottom{ margin-top:48px; display:flex; flex-direction:column; gap:10px; }
.ft__sub{ list-style:none; display:flex; flex-wrap:wrap; gap:2px 22px; }
.ft__sub a{ display:inline-block; padding:4px 0; color:var(--ink-sub); text-decoration:none; }
.ft__copy{ color:var(--ink-sub); }
.ft__copy small{ font-size:inherit; }

@media (min-width:960px){
  .ft__grid{ grid-template-columns:minmax(0,1.1fr) minmax(0,1fr) minmax(0,.7fr); column-gap:56px; }
  .ft__nav ul{ grid-template-columns:1fr; }
  .ft__bottom{ flex-direction:row; justify-content:space-between; align-items:center; }
}
@media (min-width:1024px){
  .ft__body{ padding-bottom:48px; }
}

/* =========================================================
   SP下部固定バー
   ========================================================= */
.bar{
  position:fixed; left:0; right:0; bottom:0; z-index:90;
  display:grid; grid-template-columns:1fr 1fr; gap:8px;
  padding:8px 10px calc(8px + env(safe-area-inset-bottom));
  background:rgba(251,246,238,.96);
  box-shadow:0 -1px 0 rgba(84,67,58,.08);
}
.bar a{
  display:flex; flex-direction:column; align-items:center; justify-content:center;
  min-height:56px;
  border-radius:14px;
  text-decoration:none;
  line-height:1.3;
  transition:transform .25s var(--ease);
}
.bar a:active{ transform:translateY(2px); }
.bar__tel{ background:var(--peach); }
.bar__mail{ background:var(--paper-light); box-shadow:inset 0 0 0 1.5px var(--peach); }
.bar__main{ font-weight:700; font-size:16px; letter-spacing:.08em; }
.bar__sub{ font-size:15px; letter-spacing:.04em; }
@media (min-width:1024px){ .bar{ display:none; } }

/* ---------- 動きを減らす設定 ---------- */
@media (prefers-reduced-motion:reduce){
  *,*::before,*::after{ transition:none !important; animation:none !important; }
}

/* Googleマップの埋め込み（2026-11-23。点線の枠はそのまま、内側に地図） */
.ft__map--live{ padding:0; min-height:240px; }
.ft__map--live iframe{ position:absolute; left:8px; top:8px; width:calc(100% - 16px); height:calc(100% - 16px); border:0; }
@media (min-width:960px){ .ft__map--live{ min-height:260px; } }
