/* ABOUT ページ：店の物語を、古い絵本を 1 章ずつめくるように。
 * 地の色：見出し（クリーム）→ I 名前（クリーム）→ II 料理（赤）→ III ワイン（ワイン色）→ IV 雰囲気（淡いクリーム）→ 結び（クリーム）→ フッター（赤）
 * TOP・MENU と共通：書体、二重線の帯、波形の縁、点線。ABOUT だけの飾り：切手と消印、絵本の表紙、辞書の見出し語、レシピカード、組み合わせ表、札
 *
 * 動き（about-page.js が付ける印）
 * - .is-in：画面に入ったら 1 回だけ（文字の立ち上がり・写真の登場・飾りの貼り付け）
 * - --p：章が画面を通り過ぎる進み具合（0〜1、0.5 で画面の中央）。スクロールに合わせた動きに使う。
 *        動きを減らす設定・スマホでは付けないので、既定値 0.5（＝動きのない完成の状態）になる
 */

:root { --wine: #4A1216; --peach: #F2DCC6; }

/* 仮ページ用の幅の制限（base.css）を外す。見出しの下からはヘッダーに地の色の帯を付ける（色は about-page.js が下の地に合わせる） */
body:not(.home) main:has(> .ab) { max-width: none; margin: 0; padding: 0; } /* base.css の body:not(.home) main より強く */
body:has(.ab) .site-header__bar { background: var(--header-bg); }
body:has(.ab) .site-header.is-nav-open .site-header__bar { background: transparent; }
.site-header[data-tone="wine"] { --header-bg: var(--wine); }

.ab { overflow-x: clip; }

/* 行ごとに下から立ち上がる見出し */
.ab-line { display: inline-block; overflow: hidden; padding: .04em .03em .14em; margin: -.04em -.03em -.14em; vertical-align: top; }
.ab-line > span { display: inline-block; }
/* 1 文字ずつ動かす巨大な欧文 */
.ab-letters { display: inline-block; white-space: nowrap; }
.ab-l { display: inline-block; }

/* 二重線の帯（TOP の FV・MENU と同じ） */
.ab-rule {
	display: flex;
	justify-content: space-between;
	gap: 16px;
	padding: 9px 0 7px;
	border-top: 4px double currentColor;
	border-bottom: 1px solid currentColor;
	font: 600 10px/1 var(--f-label);
	letter-spacing: .3em;
	text-transform: uppercase;
	white-space: nowrap;
}

/* 切手のミシン目（ふちに丸い穴）。--r：穴の半径、--s：間隔 */
.ab-stamp__paper,
.ab-mini,
.ab-ticket-cta__paper {
	-webkit-mask: linear-gradient(#000 0 0) center / calc(100% - var(--r) * 2) calc(100% - var(--r) * 2) no-repeat, radial-gradient(circle at var(--r) var(--r), #0000 var(--r), #000 calc(var(--r) + .5px)) calc(var(--r) * -1) calc(var(--r) * -1) / var(--s) var(--s) round;
	mask: linear-gradient(#000 0 0) center / calc(100% - var(--r) * 2) calc(100% - var(--r) * 2) no-repeat, radial-gradient(circle at var(--r) var(--r), #0000 var(--r), #000 calc(var(--r) + .5px)) calc(var(--r) * -1) calc(var(--r) * -1) / var(--s) var(--s) round;
}

/* ======================= 見出し（クリーム）：大きな切手と小さな切手、消印 ======================= */

.ab-hero { position: relative; padding: calc(var(--adminbar-h, 0px) + var(--notice-h) + var(--header-h) + clamp(24px, 4vh, 48px)) var(--gutter) clamp(72px, 10vh, 120px); color: var(--red); }
.ab-hero__inner { max-width: 1400px; margin: 0 auto; }
.ab-hero__stage {
	display: grid;
	grid-template-columns: minmax(0, 5fr) minmax(0, 7fr);
	grid-template-rows: auto auto;
	column-gap: clamp(24px, 3vw, 48px);
	margin-top: clamp(28px, 5vh, 56px);
}
.ab-hero__text { grid-area: 1 / 1 / 2 / 3; position: relative; z-index: 3; align-self: start; pointer-events: none; }
.ab-kicker { display: flex; align-items: center; gap: 14px; font: 600 11px/1 var(--f-label); letter-spacing: .3em; text-transform: uppercase; }
.ab-kicker::before { content: ""; width: 40px; height: 1px; background: currentColor; }
/* 巨大な見出し：写真の上にかかる部分は、クリームの縁取りで読めるように */
.ab-hero__title { max-width: 6.2em; margin: .18em 0 0 -.04em; font: 500 clamp(88px, 13.6vw, 236px)/.84 var(--f-display); letter-spacing: -.04em; -webkit-text-stroke: .04em var(--cream); paint-order: stroke fill; text-shadow: 0 .04em .1em rgb(32 6 5 / .18); }
.ab-hero__title .ab-line { display: block; width: max-content; }
/* 「una」は写真の上まで大胆に踏み込む（クリームの縁取りで読める） */
.ab-hero__title .ab-line:nth-child(2) { margin-left: 1.7em; }
.ab-hero__title .ab-line:nth-child(3) { margin-left: .35em; }
.ab-hero__visual { grid-area: 1 / 2 / 3 / 3; position: relative; z-index: 1; min-height: min(90vh, 900px); }
.ab-hero__foot { grid-area: 2 / 1 / 3 / 2; position: relative; z-index: 3; align-self: end; padding-top: 32px; }
.ab-hero__lead { max-width: 25em; color: var(--charcoal); font-size: 17px; line-height: 2.05; letter-spacing: .05em; word-break: keep-all; overflow-wrap: anywhere; }
.ab-hero__lead + .ab-hero__lead { margin-top: .4em; }

/* 章の目次（ローマ数字） */
.ab-toc { display: flex; flex-wrap: wrap; gap: 10px; margin: 32px 0 0; padding: 0; list-style: none; }
.ab-toc a {
	display: inline-flex;
	align-items: baseline;
	gap: 10px;
	padding: 11px 18px 9px;
	border: 1px solid rgb(167 25 22 / .35);
	border-radius: 999px;
	color: var(--red);
	font: 500 19px/1 var(--f-display);
	text-decoration: none;
	transition: background-color .35s var(--ease-out), color .35s var(--ease-out);
}
.ab-toc__no { font: 600 11px/1 var(--f-label); letter-spacing: .14em; }
.ab-toc a:hover { background: var(--red); color: var(--cream); }

/* 切手 */
.ab-stamp { position: absolute; margin: 0; filter: drop-shadow(0 30px 44px rgb(32 6 5 / .24)); }
.ab-stamp__paper { --r: 8px; --s: 24px; position: relative; padding: 20px; background: #FFFAF2; perspective: 1400px; }
.ab-stamp__img { display: block; width: 100%; object-fit: cover; }
.ab-stamp--main { right: -1%; top: -1%; width: min(88%, 700px); rotate: 2.5deg; }
.ab-stamp--main .ab-stamp__img { aspect-ratio: 4 / 5; }
.ab-stamp__value { position: absolute; right: 34px; bottom: 30px; margin: 0; padding: 6px 10px 4px; background: #FFFAF2; color: var(--red); font: 500 22px/1 var(--f-display); }
.ab-stamp--mini { left: 2%; bottom: 4%; width: min(34%, 260px); rotate: -7deg; z-index: 2; }
.ab-stamp--mini .ab-stamp__paper { --r: 6px; --s: 18px; padding: 12px; }
.ab-stamp--mini .ab-stamp__img { aspect-ratio: 1; }
/* 絵本の表紙（開くときにめくれる）。動きのないときは出さない */
.ab-cover { display: none; }
/* 消印：大きな切手の左上にかかる */
.ab-postmark { position: absolute; z-index: 3; right: -2%; bottom: 14%; width: min(42%, 330px); height: auto; overflow: visible; rotate: -12deg; filter: drop-shadow(0 0 1px rgb(255 250 242 / .9)) drop-shadow(0 0 7px rgb(255 250 242 / .6)); }
.ab-postmark circle,
.ab-postmark path { fill: none; stroke: var(--red); stroke-width: 2.6; }
.ab-postmark text { fill: var(--red); text-anchor: middle; }
.ab-postmark__ring { font: 600 11px/1 var(--f-label); letter-spacing: .12em; }
.ab-postmark__date { font: 500 15px/1 var(--f-display); }
/* きらきら（仕上げの飾り） */
/* 手前のシール：赤い丸にクリームの文字。ふちはギザギザ（王冠のような）で陽気に */
.ab-sticker { position: absolute; z-index: 4; left: 8%; top: 52%; width: clamp(118px, 10vw, 156px); aspect-ratio: 1; translate: 0 calc(var(--dy, 0) * 1px); }
.ab-sticker__in {
	display: grid;
	place-content: center;
	width: 100%;
	height: 100%;
	background: var(--red);
	color: var(--cream);
	text-align: center;
	font: 500 clamp(20px, 1.7vw, 26px)/.95 var(--f-display);
	rotate: -14deg;
	clip-path: polygon(50% 0%, 57% 7%, 66% 3%, 71% 11%, 80% 10%, 82% 19%, 91% 21%, 90% 30%, 97% 35%, 93% 43%, 100% 50%, 93% 57%, 97% 65%, 90% 70%, 91% 79%, 82% 81%, 80% 90%, 71% 89%, 66% 97%, 57% 93%, 50% 100%, 43% 93%, 34% 97%, 29% 89%, 20% 90%, 18% 81%, 9% 79%, 10% 70%, 3% 65%, 7% 57%, 0% 50%, 7% 43%, 3% 35%, 10% 30%, 9% 21%, 18% 19%, 20% 10%, 29% 11%, 34% 3%, 43% 7%);
	filter: drop-shadow(0 10px 18px rgb(32 6 5 / .3));
}
.ab-sticker__in span:last-child { font-size: .78em; }
.ab-spark { position: absolute; z-index: 3; color: var(--tomato); font-size: 26px; line-height: 1; }
.ab-spark--1 { right: 2%; top: 46%; }
.ab-spark--2 { left: 30%; bottom: 0; font-size: 18px; color: var(--red); }
.ab-spark--3 { right: 34%; top: -2%; font-size: 20px; }

/* ======================= 章の共通部分 ======================= */

.ab-ch { --p: .5; position: relative; padding: clamp(104px, 14vh, 170px) var(--gutter); overflow: clip; }
.ab-ch__inner { position: relative; z-index: 1; max-width: 1320px; margin: 0 auto; }
/* 背景の大きなローマ数字（絵本の章番号） */
.ab-numeral {
	position: absolute;
	top: clamp(40px, 6vh, 80px);
	right: calc(var(--gutter) - .04em);
	z-index: 0;
	font: 500 clamp(220px, 34vw, 560px)/.8 var(--f-display);
	letter-spacing: -.04em;
	opacity: .07;
	translate: 0 calc(var(--dy, 0) * 1px);
	pointer-events: none;
	user-select: none;
}
.ab-ch__label { display: flex; align-items: center; gap: 14px; font: 600 11px/1.4 var(--f-label); letter-spacing: .3em; text-transform: uppercase; }
.ab-ch__label span { display: inline-flex; align-items: center; gap: 14px; font: 500 16px/1 var(--f-display); letter-spacing: 0; }
.ab-ch__label span::after { content: ""; width: 40px; height: 1px; background: currentColor; }
.ab-ch__grid { display: grid; grid-template-columns: minmax(0, 6fr) minmax(0, 5fr); align-items: center; gap: clamp(40px, 7vw, 120px); }
.ab-ch__title { margin: 0; font: 500 clamp(24px, 2.3vw, 34px)/1.6 var(--f-jp); letter-spacing: .05em; word-break: keep-all; overflow-wrap: anywhere; text-wrap: balance; }
/* 日本語の本文：17px・行間 2、1 行は 28 字前後まで */
.ab-text { max-width: 28em; margin-top: 1.25em; font-size: 17px; line-height: 2.05; letter-spacing: .04em; text-wrap: pretty; }
.ab-ch__title + .ab-text { margin-top: 1.5em; }
.ab-ch__photo { position: relative; margin: 0; }
.ab-photo { display: block; width: 100%; height: 100%; object-fit: cover; }

/* 巨大な欧文（章ごとに置き方が違う）。スクロールで横・縦にゆっくり流れる（--p） */
.ab-big { margin: .1em 0 .2em; font: 500 clamp(96px, 17vw, 300px)/.82 var(--f-display); letter-spacing: -.045em; white-space: nowrap; }
[data-ab-scrub-x] { translate: calc((var(--p, .5) - .5) * var(--sx, 0) * 1%) 0; }
[data-ab-scrub-x="-6"] { --sx: -6; }
[data-ab-scrub-x="-8"] { --sx: -8; }
[data-ab-scrub-y] { translate: 0 calc((var(--p, .5) - .5) * var(--sy, 0) * 1px); }
[data-ab-scrub-y="-70"] { --sy: -70; }

/* 上の縁：手前の地の色の波（TOP・MENU と同じ形） */
.ab-ch--food::before,
.ab-ch--wine::before,
.ab-ch--atmo::before {
	content: "";
	position: absolute;
	left: 0;
	right: 0;
	top: 0;
	z-index: 2;
	height: 22px;
	background: radial-gradient(circle at 50% 0, var(--scallop-top) 15.5px, transparent 16px) 0 0 / 44px 22px repeat-x;
	pointer-events: none;
}

/* ---- I. 名前（クリーム）：辞書の見出し語 ---- */
.ab-ch--intro { color: var(--red); padding-top: clamp(48px, 7vh, 88px); }
.ab-dict { margin: clamp(20px, 3vh, 40px) 0 clamp(48px, 8vh, 96px); padding-bottom: clamp(24px, 3vh, 36px); border-bottom: 1.5px solid var(--red); }
.ab-dict__word { font: 500 clamp(110px, 21vw, 360px)/.8 var(--f-display); letter-spacing: -.05em; }
.ab-dict__entry { display: flex; flex-wrap: wrap; align-items: baseline; gap: 6px 22px; margin-top: 18px; color: var(--charcoal); }
.ab-dict__entry span:nth-child(1) { color: var(--red); font: 500 clamp(26px, 2.6vw, 38px)/1 var(--f-display); }
.ab-dict__entry span:nth-child(2) { font: 500 18px/1 var(--f-display); opacity: .75; }
.ab-dict__entry span:nth-child(3) { font: 600 12px/1 var(--f-label); letter-spacing: .2em; opacity: .75; }
.ab-dict__mean { margin-top: 14px; color: var(--charcoal); font-size: 17px; line-height: 1.9; letter-spacing: .04em; }
.ab-dict__mean span { margin: 0 .5em 0 .2em; color: var(--red); font: 600 13px/1 var(--f-label); }
.ab-dict__mean span:first-child { margin-left: 0; }
.ab-ch--intro .ab-ch__text { color: var(--charcoal); }
.ab-ch--intro .ab-ch__title { color: var(--red); }
/* 絵本の飾り文字 */
.ab-text--drop { margin-top: 1.6em; }
.ab-drop { float: left; margin: .1em .14em 0 0; color: var(--red); font: 500 4.6em/.78 var(--f-jp); }
/* 絵はがき：白いふちを付けて少し傾ける */
.ab-ch__photo--postcard { padding: 14px 14px 46px; background: #FFFAF2; rotate: -3deg; box-shadow: 0 28px 50px rgb(32 32 29 / .18); }
.ab-ch__photo--postcard .ab-photo { aspect-ratio: 4 / 5; }
.ab-ch__photo--postcard::after { content: "Cartolina da Favola"; position: absolute; left: 18px; bottom: 15px; color: var(--red); font: 500 16px/1 var(--f-display); }
.ab-quote { margin: clamp(64px, 10vh, 120px) auto 0; max-width: 900px; padding: 30px 0 26px; border-top: 4px double var(--red); border-bottom: 1px solid var(--red); text-align: center; }
.ab-quote { position: relative; }
.ab-quote::before { content: "“"; position: absolute; left: 50%; top: 0; height: .36em; translate: -50% -50%; padding: 0 .18em; background: var(--cream); color: var(--red); font: 500 clamp(80px, 8vw, 128px)/.72 var(--f-display); } /* 下地のクリームは上の線のまわりだけ（下の見出しの文字を隠さない） */
.ab-quote p { padding-inline: clamp(12px, 3vw, 40px); color: var(--red); font: 500 clamp(20px, 3.2vw, 48px)/1.5 var(--f-jp); letter-spacing: .05em; word-break: keep-all; overflow-wrap: anywhere; text-wrap: balance; } /* 枠の内側に収める。収まらない幅では「、」の後で 2 行に */
.ab-quote p::before,
.ab-quote p::after { font: 500 1.4em/0 var(--f-display); vertical-align: -.28em; opacity: .5; }
.ab-quote p::before,
.ab-quote p::after { content: none; }

/* ---- II. 料理（赤）：赤い面が左右から広がる（--fx）。写真は画面の右端まで、手前にレシピカード ---- */
.ab-ch--food { --scallop-top: var(--cream); color: var(--cream); padding-bottom: clamp(96px, 12vh, 140px); isolation: isolate; }
/* 赤い面は別の層に置き、横幅だけを伸ばす（スクロール中に描き直しが起きない transform で） */
.ab-ch--food::after { content: ""; position: absolute; inset: 0; z-index: -1; background: var(--red); scale: calc(1 - var(--fx, 0) * .02) 1; border-radius: calc(var(--fx, 0) * 6px); }
.ab-ch--food .ab-big { margin-left: -.04em; }
.ab-ch--food .ab-ch__grid { grid-template-columns: minmax(0, 4fr) minmax(0, 7fr); align-items: start; }
.ab-ch--food .ab-ch__text { padding-top: 8px; }
.ab-ch__photo--bleed { margin-right: calc(var(--gutter) * -1 - max(0px, (100vw - 1320px - var(--gutter) * 2) / 2)); margin-top: calc(clamp(96px, 17vw, 300px) * -.5); }
.ab-ch__photo--bleed .ab-photo { aspect-ratio: 4 / 5; border-radius: 999px 0 0 999px / 40% 0 0 40%; translate: calc((var(--p, .5) - .5) * -40px) 0; }
.ab-seal {
	position: absolute;
	left: -42px;
	bottom: 12%;
	display: grid;
	place-content: center;
	width: clamp(104px, 9vw, 140px);
	aspect-ratio: 1;
	margin: 0;
	border-radius: 50%;
	background: var(--cream);
	color: var(--red);
	text-align: center;
	rotate: -12deg;
	box-shadow: 0 16px 34px rgb(32 6 5 / .3);
}
.ab-seal span { font: 500 clamp(28px, 2.6vw, 38px)/.9 var(--f-display); }
.ab-seal small { margin-top: .5em; font: 600 9px/1 var(--f-label); letter-spacing: .18em; text-transform: uppercase; }
/* レシピカード（クリームの紙に点線） */
.ab-recipe {
	margin: 40px 0 0;
	padding: 22px 26px 18px;
	list-style: none;
	background: var(--cream);
	color: var(--charcoal);
	outline: 1px dashed rgb(167 25 22 / .5);
	outline-offset: -8px;
	rotate: -1.5deg;
	box-shadow: 0 22px 40px rgb(32 6 5 / .28);
}
.ab-recipe li { display: flex; align-items: baseline; gap: 12px; padding: 12px 0; border-bottom: 1px dashed rgb(32 32 29 / .25); }
.ab-recipe li:last-child { border-bottom: 0; }
.ab-recipe__head { justify-content: space-between; padding-top: 4px !important; color: var(--red); font: 600 10px/1 var(--f-label); letter-spacing: .26em; text-transform: uppercase; }
.ab-recipe__it { color: var(--red); font: 500 22px/1.2 var(--f-display); }
.ab-recipe__leader { flex: 1; min-width: 20px; border-bottom: 2px dotted rgb(32 32 29 / .35); translate: 0 -5px; }
.ab-recipe__ja { font-size: 15px; line-height: 1.6; text-align: right; }

/* ---- III. ワイン（ワイン色）：アーチの写真が先に、少し遅れて「Salute!」が 1 文字ずつ。組み合わせ表は 1 行ずつ ---- */
.ab-ch--wine { --scallop-top: var(--red); background: var(--wine); color: var(--cream); }
.ab-ch--wine .ab-ch__grid { grid-template-columns: minmax(0, 4fr) minmax(0, 7fr); align-items: start; margin-top: calc(clamp(120px, 23vw, 400px) * -.34); }
.ab-ch__photo--arch { overflow: hidden; border-radius: 999px 999px 0 0; outline: 1px solid rgb(245 232 213 / .5); outline-offset: 12px; }
.ab-ch__photo--arch .ab-photo { aspect-ratio: 4 / 5; }
.ab-big--over { position: relative; z-index: 2; margin: .02em 0 0 -.05em; font-size: clamp(120px, 23vw, 400px); color: var(--cream); text-shadow: 0 8px 30px rgb(20 4 6 / .5); pointer-events: none; }
.ab-ch--wine .ab-ch__photo--arch { width: 88%; margin-top: 2vw; }
.ab-ch--wine .ab-ch__text { padding-top: clamp(140px, 13vw, 230px); }
.ab-ch--wine .ab-text { opacity: .94; }
.ab-pairs { margin: 40px 0 0; padding: 0; border-top: 4px double rgb(245 232 213 / .7); border-bottom: 1px solid rgb(245 232 213 / .5); }
.ab-pairs__head { display: flex; justify-content: space-between; padding: 12px 0 6px; font: 600 10px/1 var(--f-label); letter-spacing: .26em; text-transform: uppercase; opacity: .75; }
.ab-pairs__row { display: flex; align-items: baseline; gap: 14px; padding: 14px 0; border-top: 1px dashed rgb(245 232 213 / .25); }
.ab-pairs__row::after { content: ""; order: 1; flex: 1; min-width: 20px; border-bottom: 2px dotted rgb(245 232 213 / .4); translate: 0 -5px; transform-origin: left; }
.ab-pairs dt { font-size: 16px; }
.ab-pairs dd { order: 2; margin: 0; color: #F2B9A0; font: 500 20px/1.2 var(--f-display); }

/* ---- IV. 雰囲気（淡いクリーム）：「Insieme」は写真の上端に少しだけかかり、スクロールで写真から離れていく ---- */
.ab-ch--atmo { --scallop-top: var(--wine); background: var(--peach); color: var(--red); }
.ab-big--atmo { position: relative; z-index: 2; margin: .05em 0 calc(clamp(96px, 17vw, 300px) * -.2); text-align: right; }
.ab-ch__photo--wide { z-index: 1; }
.ab-photo-wrap { overflow: hidden; border-radius: 6px; box-shadow: 0 34px 60px rgb(167 25 22 / .2); }
/* 雰囲気の章は写真が主役：画面の端から端まで */
.ab-ch--atmo .ab-ch__photo--wide { margin-inline: calc(var(--gutter) * -1 - max(0px, (100vw - 1320px - var(--gutter) * 2) / 2)); }
.ab-ch--atmo .ab-photo-wrap { border-radius: 0; }
.ab-ch__photo--wide .ab-photo { aspect-ratio: 16 / 7; scale: calc(1.06 - (var(--p, .5) - .5) * .12); }
.ab-note { position: absolute; z-index: 2; left: max(4%, calc((100vw - 1320px) / 2)); bottom: -26px; padding: 12px 20px 10px; background: var(--cream); color: var(--red); font: 500 clamp(20px, 2vw, 28px)/1 var(--f-display); rotate: -5deg; box-shadow: 0 14px 28px rgb(32 32 29 / .18); }
.ab-ch__grid--atmo { margin-top: clamp(72px, 10vh, 120px); align-items: start; }
.ab-ch--atmo .ab-ch__text { color: var(--charcoal); }
.ab-ch--atmo .ab-ch__title { color: var(--red); }
/* 札：両端に半円の切り欠き、点線のミシン目 */
.ab-tickets { display: grid; gap: 14px; margin: 0; padding: 0; list-style: none; }
.ab-ticket {
	display: grid;
	grid-template-columns: minmax(96px, auto) 1fr;
	align-items: center;
	gap: 18px;
	padding: 16px 28px;
	background: var(--cream);
	color: var(--charcoal);
	-webkit-mask: radial-gradient(circle 12px at 0 50%, #0000 98%, #000) left / 51% 100% no-repeat, radial-gradient(circle 12px at 100% 50%, #0000 98%, #000) right / 51% 100% no-repeat;
	mask: radial-gradient(circle 12px at 0 50%, #0000 98%, #000) left / 51% 100% no-repeat, radial-gradient(circle 12px at 100% 50%, #0000 98%, #000) right / 51% 100% no-repeat;
	rotate: calc((var(--n) - 1) * 1.2deg);
}
.ab-ticket__no { padding-right: 18px; border-right: 2px dashed rgb(167 25 22 / .35); color: var(--red); font: 500 clamp(34px, 3vw, 46px)/1 var(--f-display); white-space: nowrap; }
.ab-ticket__label { font-size: 15px; line-height: 1.6; }

/* ======================= 結び（クリーム）：本を閉じる。小さな切手が舞い降り、切手の形の予約ボタン ======================= */

.ab-end { position: relative; padding: clamp(120px, 16vh, 190px) var(--gutter) clamp(130px, 17vh, 200px); color: var(--red); text-align: center; overflow: clip; }
.ab-end::before { content: ""; position: absolute; left: 0; right: 0; top: 0; height: 22px; background: radial-gradient(circle at 50% 0, var(--peach) 15.5px, transparent 16px) 0 0 / 44px 22px repeat-x; }
.ab-end__inner { position: relative; z-index: 2; max-width: 1000px; margin: 0 auto; }
.ab-flourish { display: block; width: min(300px, 70%); height: auto; margin: 0 auto; overflow: visible; }
.ab-flourish path { fill: none; stroke: var(--red); stroke-width: 2; stroke-linecap: round; }
.ab-end__fine { margin-top: 10px; font: 500 clamp(28px, 2.6vw, 38px)/1 var(--f-display); letter-spacing: .02em; }
.ab-end__title { margin: .5em 0 0; font: 500 clamp(46px, 6.6vw, 108px)/1.02 var(--f-display); letter-spacing: -.03em; text-wrap: balance; }
.ab-end__lead { margin-top: 1.4em; color: var(--charcoal); font-size: 17px; letter-spacing: .1em; }
.ab-end__actions { display: flex; flex-wrap: wrap; align-items: center; justify-content: center; gap: 28px 56px; margin-top: 52px; }
/* 切手の形の予約ボタン */
.ab-ticket-cta { display: inline-block; text-decoration: none; filter: drop-shadow(0 18px 30px rgb(167 25 22 / .3)); transition: rotate .5s var(--ease-out), scale .5s var(--ease-out); rotate: -3deg; }
.ab-ticket-cta__paper {
	--r: 6px;
	--s: 18px;
	display: grid;
	gap: 8px;
	min-width: 240px;
	padding: 26px 40px 22px;
	background: var(--red);
	color: var(--cream);
	outline: 1.5px dashed rgb(245 232 213 / .55);
	outline-offset: -12px;
}
.ab-ticket-cta__small { font: 600 10px/1 var(--f-label); letter-spacing: .26em; text-transform: uppercase; opacity: .85; }
.ab-ticket-cta__big { font: 500 46px/1 var(--f-display); }
.ab-ticket-cta__ja { font-size: 14px; letter-spacing: .14em; }
.ab-ticket-cta:hover,
.ab-ticket-cta:focus-visible { rotate: 0deg; scale: 1.04; }
/* 舞い降りる小さな切手（料理の写真） */
.ab-end__stamps { position: absolute; inset: 0; z-index: 1; pointer-events: none; }
.ab-mini { --r: 5px; --s: 15px; position: absolute; width: clamp(110px, 11vw, 170px); padding: 9px; background: #FFFAF2; filter: drop-shadow(0 18px 26px rgb(32 32 29 / .2)); }
.ab-mini__img { display: block; width: 100%; aspect-ratio: 4 / 5; object-fit: cover; }
.ab-mini--1 { left: 6%; top: 18%; rotate: -10deg; }
.ab-mini--2 { right: 7%; top: 12%; rotate: 8deg; }
.ab-mini--3 { right: 14%; bottom: 10%; rotate: -5deg; width: clamp(96px, 9vw, 140px); }

/* ======================= タブレット・スマホ ======================= */

@media (max-width: 899px) {
	.ab-hero__stage { grid-template-columns: minmax(0, 1fr); grid-template-rows: auto auto auto; }
	.ab-hero__text { grid-area: 1 / 1 / 2 / 2; }
	.ab-hero__visual { grid-area: 2 / 1 / 3 / 2; min-height: 0; aspect-ratio: 5 / 5.4; margin-top: calc(clamp(84px, 12.4vw, 214px) * -.55); }
	.ab-hero__foot { grid-area: 3 / 1 / 4 / 2; padding-top: 24px; }
	.ab-stamp--main { width: 78%; }
	.ab-stamp--mini { width: 34%; left: 0; bottom: 2%; }
	.ab-postmark { right: 0; bottom: 6%; width: 44%; }
	.ab-sticker { left: 0; top: auto; bottom: 30%; width: 112px; }
	.ab-hero__title .ab-line:nth-child(2) { margin-left: .9em; }
	.ab-stamp--main { width: 80%; }
	.ab-ch--wine .ab-ch__grid { margin-top: 0; }
	.ab-ch--wine .ab-ch__text { padding-top: 0; }
	.ab-ch--wine .ab-ch__photo--arch { width: min(70%, 380px); margin: 0 0 8px auto; }
	.ab-ch__grid,
	.ab-ch--food .ab-ch__grid,
	.ab-ch--wine .ab-ch__grid { grid-template-columns: minmax(0, 1fr); }
	.ab-ch__photo--postcard { width: min(80%, 420px); margin: 8px auto 0; }
	.ab-ch__photo--bleed { order: -1; margin: 0 calc(var(--gutter) * -1) 0 calc(var(--gutter) * 3); }
	.ab-ch--food .ab-ch__text { padding-top: 0; }
	.ab-seal { left: -30px; bottom: 8%; }
	.ab-ch__photo--arch { width: min(76%, 420px); }
	.ab-ch--wine .ab-ch__text { margin-top: -.6em; }
	.ab-big--over { margin: 0 0 .2em; }
	.ab-ch__photo--wide .ab-photo { aspect-ratio: 4 / 3; }
	.ab-ticket { grid-template-columns: minmax(84px, auto) 1fr; }
	.ab-mini--1 { left: -2%; top: 6%; }
	.ab-mini--2 { right: -2%; top: 4%; }
	.ab-mini--3 { display: none; }
}
@media (max-width: 599px) {
	.ab-rule__mid { display: none; }
	.ab-hero__title { font-size: 25vw; max-width: none; }
	.ab-hero__title .ab-line:nth-child(2) { margin-left: .55em; }
	.ab-hero__title .ab-line:nth-child(3) { margin-left: .2em; }
	/* スマホ：文字と写真は重ねない（見出しの下に写真） */
	.ab-hero__visual { aspect-ratio: 1 / 1.1; margin-top: 10px; }
	.ab-hero__title { -webkit-text-stroke: 0; text-shadow: none; }
	.ab-sticker { width: 92px; bottom: 24%; }
	.ab-sticker__in { font-size: 17px; }
	.ab-big--over { font-size: 29vw; }
	.ab-ch--atmo .ab-ch__photo--wide .ab-photo { aspect-ratio: 4 / 3.4; }
	.ab-stamp--main { width: 80%; }
	.ab-stamp--main .ab-stamp__paper { --r: 6px; --s: 18px; padding: 12px; }
	.ab-stamp__value { right: 22px; bottom: 18px; font-size: 17px; }
	.ab-stamp--mini { width: 38%; }
	.ab-stamp--mini .ab-stamp__paper { padding: 8px; }
	.ab-postmark { right: -2%; bottom: 2%; width: 50%; }
	.ab-spark--3 { display: none; }
	.ab-hero__lead,
	.ab-text { font-size: 16px; line-height: 2; }
	.ab-toc a { padding: 10px 14px 8px; font-size: 17px; }
	.ab-numeral { font-size: 62vw; top: 24px; }
	.ab-dict__word { font-size: 28vw; }
	.ab-big { font-size: 27vw; }
	.ab-ch__photo--bleed { margin-left: calc(var(--gutter) * 1.5); }
	.ab-seal { width: 92px; left: -24px; }
	.ab-recipe { padding: 18px 18px 14px; }
	.ab-recipe__it { font-size: 19px; }
	.ab-recipe__ja { font-size: 14px; }
	.ab-ch__photo--arch { width: 82%; }
	.ab-big--atmo { margin-bottom: 6px; font-size: 22vw; } /* スマホは写真に重ねない */
	.ab-note { bottom: -22px; font-size: 18px; }
	.ab-quote p { font-size: 20px; letter-spacing: .04em; }
	.ab-end { padding-top: 150px; }
	.ab-end__title { font-size: 12vw; }
	.ab-mini { width: 92px; padding: 6px; }
	.ab-mini--1 { top: 40px; left: 4%; }
	.ab-mini--2 { top: 28px; right: 4%; }
}

/* ======================= 動き（JS が動いているときだけ。動きを減らす設定では最初から完成の状態） ======================= */

@media (prefers-reduced-motion: no-preference) {
	html:has(.ab) { scroll-behavior: smooth; }

	/* ---- オープニング：絵本を開く（合計 1.8 秒。文字は 0.6 秒で読める） ----
	 * 0.0s 見出しが 1 行ずつ → 0.15s 大きな切手が回りながら置かれる → 0.45s 表紙がめくれる → 0.6s 小さな切手
	 * → 1.15s 消印が押される（円が描かれる）→ 1.35s 波線 → 1.5s きらきら */
	.ab-motion .ab-hero .ab-line > span { transform: translateY(112%) rotate(4deg); transition: transform 1s calc(var(--d, 0) * 110ms) var(--ease-out); }
	.ab-motion .ab-hero.is-in .ab-line > span { transform: none; }
	.ab-motion .ab-kicker,
	.ab-motion .ab-hero__foot { opacity: 0; transform: translateY(18px); transition: opacity .9s .55s var(--ease-out), transform .9s .55s var(--ease-out); }
	.ab-motion .ab-hero.is-in :is(.ab-kicker, .ab-hero__foot) { opacity: 1; transform: none; }
	.ab-motion .ab-stamp--main .ab-stamp__paper { opacity: 0; transform: translate(14%, 40px) rotate(12deg) scale(.92); transition: opacity .3s, transform 1.1s .15s cubic-bezier(.2, 1.15, .4, 1); } /* 写真はすぐ見せる（表示完了を遅らせない）。動きはそのまま */
	.ab-motion .ab-hero.is-in .ab-stamp--main .ab-stamp__paper { opacity: 1; transform: none; }
	.ab-motion .ab-cover {
		position: absolute;
		inset: 20px;
		z-index: 2;
		display: grid;
		place-content: center;
		gap: 10px;
		background: var(--red);
		color: var(--cream);
		text-align: center;
		transform-origin: left center;
		backface-visibility: hidden;
		outline: 1.5px solid rgb(245 232 213 / .5);
		outline-offset: -14px;
		background-image: linear-gradient(90deg, rgb(0 0 0 / .18), transparent 18%), linear-gradient(var(--red), var(--red));
		box-shadow: 0 0 0 0 rgb(0 0 0 / 0);
		transition: transform 1.15s .5s cubic-bezier(.6, 0, .25, 1), opacity .25s 1.45s, filter 1.15s .5s;
	}
	.ab-motion .ab-cover__rule { width: 60px; height: 1px; margin: 0 auto; background: currentColor; opacity: .6; }
	.ab-motion .ab-cover__title { font: 500 clamp(48px, 5vw, 84px)/1 var(--f-display); }
	.ab-motion .ab-cover__sub { font: 600 11px/1 var(--f-label); letter-spacing: .3em; text-transform: uppercase; }
	/* 表紙は左の背を軸に、奥へ大きくめくれる（めくれながら暗くなる） */
	.ab-motion .ab-hero.is-in .ab-cover { transform: rotateY(-158deg); opacity: 0; filter: brightness(.55); }
	.ab-motion .ab-sticker__in { scale: 0; rotate: -60deg; transition: scale .6s 1.55s cubic-bezier(.3, 1.8, .5, 1), rotate .8s 1.55s var(--ease-out); }
	.ab-motion .ab-hero.is-in .ab-sticker__in { scale: 1; rotate: -14deg; }
	.ab-motion .ab-stamp--mini .ab-stamp__paper { opacity: 0; transform: translate(-50px, 30px) rotate(-14deg); transition: opacity .5s .6s, transform 1s .6s cubic-bezier(.2, 1.2, .4, 1); }
	.ab-motion .ab-hero.is-in .ab-stamp--mini .ab-stamp__paper { opacity: 1; transform: none; }
	.ab-motion .ab-postmark { opacity: 0; scale: 1.7; transition: opacity .15s 1.15s, scale .45s 1.15s cubic-bezier(.3, 1.7, .55, 1); }
	.ab-motion .ab-hero.is-in .ab-postmark { opacity: 1; scale: 1; }
	.ab-motion :is(.ab-postmark__ink, .ab-postmark__wave) { stroke-dasharray: 1; stroke-dashoffset: 1; transition: stroke-dashoffset .5s 1.2s var(--ease-out); }
	.ab-motion .ab-postmark__wave { transition-delay: 1.35s; }
	.ab-motion .ab-postmark__wave + .ab-postmark__wave { transition-delay: 1.42s; }
	.ab-motion .ab-postmark__wave + .ab-postmark__wave + .ab-postmark__wave { transition-delay: 1.49s; }
	.ab-motion .ab-hero.is-in :is(.ab-postmark__ink, .ab-postmark__wave) { stroke-dashoffset: 0; }
	.ab-motion .ab-spark { opacity: 0; scale: 0; rotate: -90deg; transition: opacity .3s 1.5s, scale .6s 1.5s cubic-bezier(.3, 1.8, .5, 1), rotate .6s 1.5s; }
	.ab-motion .ab-spark--2 { transition-delay: 1.62s; }
	.ab-motion .ab-spark--3 { transition-delay: 1.72s; }
	.ab-motion .ab-hero.is-in .ab-spark { opacity: 1; scale: 1; rotate: 0deg; }

	/* ---- I. 名前：巨大な「Favola」が 1 文字ずつ、跳ねるように立ち上がる ---- */
	.ab-motion .ab-dict__word { overflow: hidden; padding: .06em 0 .12em; margin: -.06em 0 -.12em; }
	.ab-motion .ab-dict__word .ab-l { transform: translateY(105%); transition: transform .85s calc(var(--i) * 45ms) var(--ease-out); }
	.ab-motion .ab-ch.is-in .ab-dict__word .ab-l { transform: none; }

	/* ---- II. 料理：「Cucina」が 1 文字ずつ下から。写真は右から開き、判とカードが貼られる ---- */
	.ab-motion .ab-ch--food .ab-big { overflow: hidden; padding: .04em 0 .12em; }
	.ab-motion .ab-ch--food .ab-big .ab-l { transform: translateY(110%); transition: transform .8s calc(var(--i) * 40ms) var(--ease-out); }
	.ab-motion .ab-ch--food.is-in .ab-big .ab-l { transform: none; }
	.ab-motion .ab-ch__photo--bleed .ab-photo { clip-path: inset(0 0 0 100%); transition: clip-path 1.4s .2s var(--ease-out); }
	.ab-motion .ab-ch.is-in .ab-ch__photo--bleed .ab-photo { clip-path: inset(0 0 0 0); }

	/* ---- III. ワイン：アーチの写真が先に開き、少し遅れて「Salute!」が乾杯するように 1 文字ずつ跳ねる ---- */
	.ab-motion .ab-ch__photo--arch .ab-photo { clip-path: inset(100% 0 0 0); transition: clip-path 1.4s .1s var(--ease-out); }
	.ab-motion .ab-ch.is-in .ab-ch__photo--arch .ab-photo { clip-path: inset(0 0 0 0); }
	.ab-motion .ab-big--over .ab-l { opacity: 0; transform: translateY(-30%) rotate(-10deg); transition: opacity .35s calc(.1s + var(--i) * 50ms), transform .75s calc(.1s + var(--i) * 50ms) cubic-bezier(.3, 1.5, .5, 1); }
	.ab-motion .ab-ch.is-in .ab-big--over .ab-l { opacity: 1; transform: none; }
	.ab-motion .ab-pairs__row { opacity: 0; transition: opacity .6s calc(1.3s + var(--r, 0) * 120ms); }
	.ab-motion .ab-pairs__row::after { scale: 0 1; transition: scale .8s calc(1.4s + var(--r, 0) * 120ms) var(--ease-out); }
	.ab-motion .ab-pairs__row:nth-child(3) { --r: 1; }
	.ab-motion .ab-pairs__row:nth-child(4) { --r: 2; }
	.ab-motion .ab-pairs__row:nth-child(5) { --r: 3; }
	.ab-motion .ab-ch.is-in .ab-pairs__row { opacity: 1; }
	.ab-motion .ab-ch.is-in .ab-pairs__row::after { scale: 1 1; }

	/* ---- IV. 雰囲気：写真が左右に開き、「Insieme」が 1 文字ずつ ---- */
	.ab-motion .ab-photo-wrap { clip-path: inset(0 50% 0 50% round 6px); transition: clip-path 1.5s .15s var(--ease-out); }
	.ab-motion .ab-ch.is-in .ab-photo-wrap { clip-path: inset(0 0 0 0 round 6px); }
	.ab-motion .ab-big--atmo .ab-l { opacity: 0; transform: translateY(40%); transition: opacity .5s calc(.25s + var(--i) * 40ms), transform .8s calc(.25s + var(--i) * 40ms) var(--ease-out); }
	.ab-motion .ab-ch.is-in .ab-big--atmo .ab-l { opacity: 1; transform: none; }

	/* ---- 飾り：判・メモ・札・レシピカード・絵はがきは、写真のあとに貼られる ---- */
	.ab-motion .ab-ch__photo--postcard { opacity: 0; transform: translateY(50px) rotate(5deg); transition: opacity 1s .2s var(--ease-out), transform 1.3s .2s cubic-bezier(.2, 1.15, .4, 1); }
	.ab-motion .ab-ch.is-in .ab-ch__photo--postcard { opacity: 1; transform: none; }
	.ab-motion :is(.ab-seal, .ab-note, .ab-recipe) { opacity: 0; scale: .7; transition: opacity .4s .9s, scale .7s .9s cubic-bezier(.3, 1.6, .55, 1); }
	.ab-motion .ab-ch.is-in :is(.ab-seal, .ab-note, .ab-recipe) { opacity: 1; scale: 1; }
	.ab-motion .ab-ticket { opacity: 0; translate: 50px 0; transition: opacity .6s calc(.5s + var(--n) * .14s), translate .9s calc(.5s + var(--n) * .14s) cubic-bezier(.2, 1.2, .4, 1); }
	.ab-motion .ab-ch.is-in .ab-ticket { opacity: 1; translate: 0 0; }

	/* ---- 本文・辞書・ひとこと：ふわっと（ワインは写真と「Salute!」のあと） ---- */
	.ab-motion :is(.ab-ch__title, .ab-text, .ab-dict__entry, .ab-dict__mean, .ab-pairs, .ab-quote) { opacity: 0; transform: translateY(22px); transition: opacity 1s .35s var(--ease-out), transform 1s .35s var(--ease-out); }
	.ab-motion .ab-ch.is-in :is(.ab-ch__title, .ab-text, .ab-dict__entry, .ab-dict__mean, .ab-pairs, .ab-quote) { opacity: 1; transform: none; }
	.ab-motion .ab-dict__entry { transition-delay: .55s; }
	.ab-motion .ab-dict__mean { transition-delay: .7s; }
	/* ワインは文字が主役：先に「Salute!」、続いて写真、最後に文章 */
	.ab-motion .ab-ch--wine :is(.ab-ch__title, .ab-text, .ab-pairs) { transition-delay: .9s; }
	.ab-motion .ab-ch--wine .ab-ch__photo--arch .ab-photo { transition-delay: .45s; }

	/* ---- 結び：飾り線が描かれ、Fine と結びの言葉、小さな切手が舞い降りて、予約の切手が押される ---- */
	.ab-motion .ab-flourish path { stroke-dasharray: 1; stroke-dashoffset: 1; transition: stroke-dashoffset 1.4s .1s var(--ease-out); }
	.ab-motion .ab-end.is-in .ab-flourish path { stroke-dashoffset: 0; }
	.ab-motion :is(.ab-end__fine, .ab-end__title, .ab-end__lead) { opacity: 0; transform: translateY(24px); transition: opacity 1s var(--ease-out), transform 1s var(--ease-out); }
	.ab-motion .ab-end__fine { transition-delay: .35s; }
	.ab-motion .ab-end__title { transition-delay: .5s; }
	.ab-motion .ab-end__lead { transition-delay: .7s; }
	.ab-motion .ab-end.is-in :is(.ab-end__fine, .ab-end__title, .ab-end__lead) { opacity: 1; transform: none; }
	.ab-motion .ab-mini { opacity: 0; transform: translateY(-120px) rotate(-30deg); transition: opacity .5s calc(.6s + var(--m, 0) * .15s), transform 1.2s calc(.6s + var(--m, 0) * .15s) cubic-bezier(.2, 1.2, .4, 1); }
	.ab-motion .ab-mini--2 { --m: 1; }
	.ab-motion .ab-mini--3 { --m: 2; }
	.ab-motion .ab-end.is-in .ab-mini { opacity: 1; transform: none; }
	.ab-motion .ab-end__actions { opacity: 0; transition: opacity .6s 1s; }
	.ab-motion .ab-ticket-cta__paper { transform: scale(1.4) rotate(8deg); opacity: 0; transition: transform .5s 1.05s cubic-bezier(.3, 1.7, .55, 1), opacity .2s 1.05s; }
	.ab-motion .ab-end.is-in .ab-end__actions { opacity: 1; }
	.ab-motion .ab-end.is-in .ab-ticket-cta__paper { transform: none; opacity: 1; }

	/* 写真の奥行き（スクロールに合わせて少しずつ違う速さで動く） */
	.ab-motion [data-ab-depth]:not(.ab-numeral) { translate: 0 calc(var(--dy, 0) * 1px); }
}
/* 動きを減らす設定：スクロールに合わせた動き（--p・--fx・--dy）も止める */
@media (prefers-reduced-motion: reduce) {
	.ab-ch { --p: .5 !important; --fx: 0 !important; }
	[data-ab-depth] { --dy: 0 !important; }
}
