/*
 * 松乃鮨：/experience/ の 1 ページ（2026-10-11 案 2、確認用の写しだけ）。
 * 見本は materials/lp-reference/ と https://matsunozushi.com/lp/ の書体・余白・写真の大きさと並べ方・区切りの見せ方。
 * 色は /lp/ の restaurant-page と同じ温かみのある黒・生成り・控えめな金（緑がかった背景は使わない）。
 * ヘッダーは記事のページと同じ黒い低い帯（article.css、body.article-layout）。
 * テーマの CSS（rem の基準が PC 17.28px・スマートフォン 14px、dl・h2 の決まりなど）に左右されないよう、
 * 大きさは px で書き、すべて main.xp の中だけに効かせる。
 */
html:has(body.xp-page), body.xp-page { overflow-x: clip; }
body.xp-page { background: #161513; }
main#content.xp {
  --ink: #161513; --ink-soft: #1d1b18; --paper: #ece8df; --dark-text: #252320;
  --gold: #c0af8c; --gold-dark: #7d6a45; --muted: #bbb5aa; --line: rgba(235, 232, 220, .16); --line-dark: rgba(37, 35, 32, .18);
  --serif: "Noto Serif JP", "Yu Mincho", "Hiragino Mincho ProN", serif;
  --sans: "Hiragino Kaku Gothic ProN", "Yu Gothic", Meiryo, "Noto Sans JP", sans-serif;
  display: block; background: var(--ink); color: var(--paper); font-family: var(--sans);
  font-size: 16px; line-height: 1.95; letter-spacing: .04em; padding: 64px 0 0; margin: 0; overflow-x: clip;
}
main.xp :where(section) *, main.xp :where(section) *::before, main.xp :where(section) *::after { box-sizing: border-box; }
main.xp :where(section) h1, main.xp :where(section) h2, main.xp :where(section) h3, main.xp :where(section) h4, main.xp :where(section) p, main.xp :where(section) ul, main.xp :where(section) ol, main.xp :where(section) dl, main.xp :where(section) dd, main.xp :where(section) figure { margin: 0; padding: 0; }
main.xp :where(section) h2::before, main.xp :where(section) h2::after, main.xp :where(section) h3::before, main.xp :where(section) h3::after, main.xp :where(section) h4::before, main.xp :where(section) h4::after { content: none; display: none; }
main.xp :where(section) ul, main.xp :where(section) ol { list-style: none; }
main.xp :where(section) a { color: inherit; text-decoration: none; }
main.xp img { display: block; max-width: 100%; height: auto; }
main.xp :where(section) h2 { font-family: var(--serif); font-weight: 400; font-size: clamp(27px, 3vw, 38px); line-height: 1.5; letter-spacing: .1em; color: inherit; border: 0; padding: 0; }
main.xp :where(section) h3 { font-family: var(--serif); font-weight: 400; font-size: 22px; line-height: 1.6; letter-spacing: .08em; color: inherit; border: 0; padding: 0; }
main.xp :where(section) h4 { font-family: var(--serif); font-weight: 400; font-size: 20px; line-height: 1.6; letter-spacing: .06em; color: inherit; border: 0; padding: 0; }
main.xp :where(section) p { font-size: 16px; line-height: 2; }

.xp-wrap { width: calc(100% - 11vw); max-width: 1280px; margin-inline: auto; }
.xp-space { padding-block: 120px; }
.xp-heading { display: grid; grid-template-columns: 1fr minmax(0, 460px); gap: 48px; align-items: end; margin-bottom: 64px; }
.xp-lead { color: var(--muted); }
.xp-paper { background: var(--paper); color: var(--dark-text); }
.xp-paper .xp-lead, .xp-paper .xp-examples p:not(.xp-meta), .xp-paper .xp-facts dd, .xp-paper .xp-note { color: #57524a; }
.xp-soft { background: var(--ink-soft); }

/* Link with an arrow (the sample's text-link) */
.xp-link { display: inline-flex; align-items: center; gap: 18px; padding-bottom: 8px; border-bottom: 1px solid currentColor; font-size: 14px; letter-spacing: .08em; min-width: 200px; justify-content: space-between; }
/* The arrow is the site's chevron (src/lib/arrows.ts; until 2026-11-20 a 30px line arrow, 指示 1118-02 の 3). */
.xp-link .mz-arrow, .xp-mail .mz-arrow { margin-left: 0; transition: transform .5s; }
.xp-link:hover svg, .xp-mail:hover svg, a:hover > .xp-link svg { transform: translateX(6px); }

/* 1. Hero */
.xp-hero { position: relative; isolation: isolate; overflow: hidden; }
.xp-hero figure img { width: 100%; height: clamp(520px, 66vw, 780px); object-fit: cover; }
.xp-hero::after { content: ""; position: absolute; inset: 0; background: linear-gradient(180deg, transparent 0, transparent 38%, rgba(16,15,13,.3) 58%, rgba(16,15,13,.92)); pointer-events: none; }
.xp-hero-title { position: absolute; left: 0; right: 0; bottom: 52px; z-index: 1; color: #fff; }
main.xp .xp-hero-logo img { width: clamp(300px, 44vw, 660px); height: auto; }
main.xp .xp-hero-title > p:last-child { margin-top: 20px; font-size: 16px; letter-spacing: .1em; }
.xp-intro { display: grid; grid-template-columns: 1.2fr 1fr; gap: 64px; align-items: end; padding-block: 88px 64px; }
main.xp .xp-opening { font-family: var(--serif); font-size: 24px; line-height: 2.1; letter-spacing: .06em; }
.xp-intro-sub { color: var(--muted); }

/* 2. Two entrances */
.xp-doors { padding-bottom: 40px; }
.xp-doors ul { display: grid; grid-template-columns: 1fr 1fr; gap: 40px; }
.xp-door { display: block; }
.xp-door img { width: 100%; aspect-ratio: 1.45; object-fit: cover; margin-bottom: 22px; transition: opacity .5s; }
.xp-doors li:first-child .xp-door img { object-position: 50% 60%; }
.xp-door:hover img { opacity: .88; }
main.xp .xp-door-title { font-family: var(--serif); font-size: 24px; letter-spacing: .08em; margin-bottom: 8px; }
.xp-door p:not(.xp-door-title) { color: var(--muted); margin-bottom: 20px; }

/* Photo groups: large, many, with the guests' faces */
.xp-photos-label { font-family: var(--serif); font-size: 19px !important; letter-spacing: .12em; margin: 88px 0 22px !important; }
main.xp .mz-gallery.xp-gallery { display: grid; grid-template-columns: repeat(3, 1fr); grid-auto-rows: clamp(150px, 18vw, 270px); gap: 14px; margin: 0; }
main.xp .xp-gallery .mz-gallery__item { width: auto; height: 100%; }
main.xp .xp-gallery .mz-gallery__item:first-child { grid-column: span 2; grid-row: span 2; }
main.xp .xp-gallery .mz-gallery__item:nth-child(7n+5) { grid-row: span 2; }
main.xp .xp-gallery img { width: 100%; height: 100%; object-fit: cover; }
main.xp .mz-gallery.xp-one { display: block; margin: 0; }
main.xp .xp-one .mz-gallery__item { width: 100%; overflow: visible; }
main.xp .xp-one .mz-gallery__link { height: auto; overflow: hidden; }
main.xp .xp-one .mz-gallery__caption { position: static; background: none; color: var(--muted); padding: 12px 0 0; font-size: 13px; letter-spacing: .06em; text-align: left; opacity: 1; transform: none; }

/* 3. Individuals */
.xp-feature { display: grid; grid-template-columns: 1fr 1fr; gap: 7%; align-items: center; }
.xp-feature .xp-one img { width: 100%; aspect-ratio: .97; object-fit: cover; }
.xp-tag { font-size: 14px !important; letter-spacing: .14em; color: var(--gold); }
main.xp .xp-feature h3 { font-size: 28px; margin: 6px 0 18px; }
.xp-feature > div > p:not(.xp-tag) { color: var(--muted); }
.xp-list { margin-top: 26px !important; }
.xp-list li { position: relative; padding: 12px 0 12px 22px; border-top: 1px solid var(--line); font-size: 15px; line-height: 1.85; color: var(--muted); }
.xp-list li::before { content: ""; position: absolute; left: 2px; top: 25px; width: 8px; height: 1px; background: var(--gold); }
.xp-list--cols { display: grid; grid-template-columns: repeat(3, 1fr); column-gap: 40px; margin-top: 40px !important; }

/* Video */
.xp-video { margin-top: 88px; }
main.xp .xp-video h3 { font-size: 18px; margin-bottom: 18px; }
.xp-video-frame { position: relative; aspect-ratio: 16 / 9; background: #0e0d0c; max-width: 960px; }
.xp-video-frame iframe, .xp-video-frame > div { position: absolute; inset: 0; width: 100% !important; height: 100% !important; border: 0; }

/* Mail at the end of a section */
.xp-cta { margin-top: 88px; padding-top: 40px; border-top: 1px solid var(--line); display: flex; justify-content: space-between; align-items: center; gap: 32px; flex-wrap: wrap; }
.xp-cta p { color: var(--muted); }
.xp-mail { display: inline-flex; align-items: center; gap: 22px; padding-bottom: 10px; border-bottom: 1px solid currentColor; font-size: 20px; letter-spacing: .04em; color: var(--paper); }

/* 4. Groups */
main.xp .xp-sub { font-size: 24px; margin: 88px 0 28px; padding-top: 0; }
main.xp .xp-heading + .xp-sub { margin-top: 0; }
.xp-sub-lead { color: var(--muted); max-width: 820px; margin-bottom: 36px !important; }
.xp-plans, .xp-venues { display: grid; grid-template-columns: 1fr 1fr; gap: 0 48px; border-top: 1px solid var(--line); }
.xp-plans li, .xp-venues li { padding: 30px 0; border-bottom: 1px solid var(--line); }
.xp-plans h4 small { display: inline-block; margin-left: 14px; font-family: var(--sans); font-size: 14px; letter-spacing: .1em; color: var(--gold); }
.xp-plans p, .xp-venues p { color: var(--muted); margin-top: 8px !important; }
.xp-note { margin-top: 28px !important; font-size: 15px !important; color: var(--muted); }
.xp-options { display: grid; grid-template-columns: repeat(3, 1fr); gap: 32px; }
.xp-options img { width: 100%; aspect-ratio: 1.35; object-fit: cover; margin-bottom: 18px; }
.xp-options p { color: var(--muted); font-size: 15px !important; margin-top: 6px !important; }

/* 5. Dietary examples */
.xp-examples { display: grid; grid-template-columns: repeat(3, 1fr); gap: 56px 40px; }
.xp-examples li:first-child { grid-column: span 2; }
.xp-example { display: block; }
.xp-example img { width: 100%; aspect-ratio: 1.5; object-fit: cover; margin-bottom: 20px; transition: opacity .5s; }
.xp-examples li:first-child .xp-example img { aspect-ratio: 2; }
a.xp-example:hover img { opacity: .86; }
.xp-meta { font-size: 13px !important; letter-spacing: .1em; color: var(--gold-dark); }
main.xp .xp-example h3 { font-size: 20px; margin: 4px 0 10px; }
.xp-example p:not(.xp-meta) { font-size: 15px !important; line-height: 1.95; }
.xp-example .xp-link { margin-top: 18px; }
.xp-paper .xp-note { margin-top: 56px !important; padding-top: 24px; border-top: 1px solid var(--line-dark); }

/* 6. Major events: one photo and the main events */
.xp-record { display: grid; grid-template-columns: minmax(0, .9fr) minmax(0, 1.1fr); gap: 6%; align-items: start; }
.xp-record .xp-one img { width: 100%; aspect-ratio: 1.3; object-fit: cover; }
.xp-records { border-top: 1px solid var(--line); }
.xp-records li { display: grid; grid-template-columns: 76px minmax(0, 1fr) auto; gap: 24px; align-items: baseline; padding-block: 26px; border-bottom: 1px solid var(--line); }
.xp-year { font-family: var(--serif); font-size: 22px; color: var(--gold); }
main.xp .xp-records h3 { font-size: clamp(19px, 1.7vw, 23px); line-height: 1.55; }
.xp-records p { color: var(--muted); font-size: 15px !important; margin-top: 4px !important; }
.xp-records .xp-link { min-width: 0; }

/* 7. Yoshi */
.xp-yoshi { background: var(--ink-soft); padding-block: 110px; }
.xp-yoshi-inner { display: grid; grid-template-columns: minmax(0, 340px) minmax(0, 1fr); gap: 9%; align-items: center; }
.xp-yoshi-inner img { width: 100%; aspect-ratio: .72; object-fit: cover; }
.xp-yoshi-title { color: var(--gold); font-size: 14px !important; letter-spacing: .1em; margin: 10px 0 26px !important; }
main.xp .xp-motto { font-family: var(--serif); font-size: 21px; line-height: 1.9; }
.xp-yoshi-text { color: var(--muted); margin: 22px 0 34px !important; max-width: 580px; }

/* 8. The venue */
main.xp :where(section) dl.xp-facts { display: grid; grid-template-columns: repeat(5, 1fr); gap: 0 28px; margin: 0 0 56px; }
.xp-facts > div { border-top: 1px solid var(--line-dark); padding-top: 18px; }
main.xp .xp-facts dt, main.xp .xp-facts dd { display: block; width: auto; float: none; border: 0; padding: 0; margin: 0; line-height: 1.85; text-decoration: none; }
main.xp .xp-facts dt { font-family: var(--serif); font-size: 17px; letter-spacing: .1em; margin-bottom: 8px; }
.xp-facts dd { font-size: 15px; }

/* 9. Booking and access */
.xp-booking { text-align: center; border-top: 1px solid var(--line); }
.xp-booking h2 { margin-bottom: 24px !important; }
.xp-booking p { color: var(--muted); }
.xp-booking .xp-mail { margin-top: 34px; font-size: 22px; }
.xp-fine { font-size: 12px !important; margin-top: 12px !important; }
main.xp .xp-access-h { margin: 72px 0 14px; font-size: 20px; }
main.xp .xp-address { margin: 0 0 24px !important; color: var(--paper) !important; line-height: 2.1 !important; font-weight: 400; }
main.xp .breadcrumb { padding: 28px 0 40px; }

@media (max-width: 900px) {
  .xp-space { padding-block: 88px; }
  .xp-heading, .xp-intro { grid-template-columns: 1fr; gap: 20px; margin-bottom: 44px; }
  .xp-intro { padding-block: 64px 48px; }
  .xp-feature, .xp-record, .xp-yoshi-inner { grid-template-columns: 1fr; gap: 40px; }
  .xp-yoshi-inner img { max-width: 300px; }
  .xp-options, .xp-examples { grid-template-columns: 1fr 1fr; }
  .xp-examples li:first-child { grid-column: 1 / -1; }
  main.xp :where(section) dl.xp-facts { grid-template-columns: 1fr 1fr; gap: 24px; }
  .xp-list--cols { grid-template-columns: 1fr; }
}
@media (max-width: 600px) {
  .xp-wrap { width: calc(100% - 40px); }
  .xp-space { padding-block: 72px; }
  .xp-hero figure img { height: 74vh; min-height: 460px; }
  .xp-hero::after { background: linear-gradient(180deg, transparent 0, transparent 40%, rgba(16,15,13,.55) 62%, rgba(16,15,13,.95)); }
  .xp-hero-title { bottom: 30px; }
  main.xp .xp-hero-logo img { width: 86%; }
  main.xp .xp-hero-title > p:last-child { font-size: 14px; letter-spacing: .06em; }
  main.xp .xp-opening { font-size: 19px; }
  main.xp .xp-opening br { display: none; }
  .xp-doors ul { grid-template-columns: 1fr; gap: 44px; }
  .xp-photos-label { margin-top: 64px !important; }
  main.xp .mz-gallery.xp-gallery { grid-template-columns: 1fr 1fr; grid-auto-rows: 42vw; gap: 8px; }
  main.xp .xp-gallery .mz-gallery__item:nth-child(7n+5) { grid-row: span 1; }
  .xp-plans, .xp-venues, .xp-options, .xp-examples, main.xp :where(section) dl.xp-facts { grid-template-columns: 1fr; }
  .xp-plans h4 small { display: block; margin: 4px 0 0; }
  .xp-examples { gap: 48px; }
  .xp-examples li:first-child .xp-example img { aspect-ratio: 1.5; }
  main.xp .xp-sub { margin-top: 64px; }
  .xp-records li { grid-template-columns: 56px minmax(0, 1fr); gap: 4px 14px; }
  .xp-records .xp-link { grid-column: 2; justify-self: start; margin-top: 10px; }
  .xp-year { font-size: 19px; }
  .xp-cta { margin-top: 64px; }
  .xp-mail, .xp-booking .xp-mail { font-size: 17px; }
  .xp-yoshi { padding-block: 72px; }
}

/* Groups: a wide scene under the heading, a photo for each program, captions on the event photos (2026-10-11 (3)). */
main.xp .xp-wide { margin-bottom: 72px; }
main.xp .xp-wide img { width: 100%; aspect-ratio: 2.2; object-fit: cover; object-position: 50% 45%; }
.xp-plans figure { margin-bottom: 20px; overflow: hidden; }
.xp-plans figure img { width: 100%; aspect-ratio: 1.5; object-fit: cover; }
main.xp .xp-gallery--cap .mz-gallery__caption { position: absolute; left: 0; right: 0; bottom: 0; width: auto; max-height: none; margin: 0; padding: 28px 14px 10px; background: linear-gradient(transparent, rgba(16, 15, 13, .82)); color: #fff; font-size: 12px; line-height: 1.6; letter-spacing: .04em; text-align: left; pointer-events: none; }
@media (max-width: 600px) {
  main.xp .xp-wide { margin-bottom: 48px; }
  main.xp .xp-wide img { aspect-ratio: 1.4; }
  main.xp .xp-gallery--cap .mz-gallery__caption { font-size: 11px; padding: 20px 8px 6px; }
}

/* 指示 1011-01: more room between each program's photo and its title; a smaller photo of Yoshi. */
main.xp .xp-plans figure { margin-bottom: 30px; }
.xp-yoshi-inner { grid-template-columns: minmax(0, 240px) minmax(0, 1fr); gap: 7%; }
@media (max-width: 900px) { .xp-yoshi-inner { grid-template-columns: 1fr; } main.xp .xp-yoshi-inner img { max-width: 200px; } }

/* 指示 1011-05: the catch copy in the hero, under the logo (from the former Experience top page). */
main.xp .xp-hero-catch { margin-top: 26px; font-family: var(--serif); font-size: clamp(22px, 2.4vw, 32px); line-height: 1.6; letter-spacing: .08em; color: #fff; }
main.xp .xp-hero-title > p.xp-hero-catch + p { margin-top: 12px; }
@media (max-width: 600px) { main.xp .xp-hero-catch { margin-top: 18px; font-size: 20px; } }

/* ---- /yoshi/ (指示 1013-04): same colours, type and parts as /experience/ ---- */
main.yo .yo-hero { padding-block: 72px 24px; }
.yo-hero-inner { display: grid; grid-template-columns: minmax(0, 420px) minmax(0, 1fr); gap: 7%; align-items: end; }
.yo-portrait img { width: 100%; aspect-ratio: .78; object-fit: cover; object-position: 50% 30%; }
main.xp .yo-name { font-family: var(--serif); font-weight: 400; font-size: clamp(30px, 3.4vw, 46px); line-height: 1.4; letter-spacing: .1em; margin: 0 0 12px; }
main.xp .yo-motto { font-family: var(--serif); font-size: clamp(21px, 2vw, 26px); line-height: 1.9; letter-spacing: .06em; margin-top: 28px; }
main.xp .yo-intro { padding-bottom: 0; }
.yo-no { font-family: var(--serif); color: var(--gold); font-size: 15px !important; letter-spacing: .1em; margin-bottom: 6px !important; }
.xp-paper .yo-no { color: var(--gold-dark); }
main.xp .yo-ch-h { margin-bottom: 48px; }
.yo-pair { display: grid; grid-template-columns: 1fr 1fr; gap: 7%; align-items: start; }
main.xp .yo-belief blockquote { margin: 10px 0 0; padding: 0 0 0 22px; border-left: 1px solid var(--gold); }
main.xp .yo-belief blockquote p { font-family: var(--serif); font-size: 20px; line-height: 2; letter-spacing: .04em; }
.yo-practice > p:not(.xp-tag) { color: var(--muted); margin-top: 10px !important; }
.xp-paper .yo-practice > p:not(.xp-tag) { color: #57524a; }
.yo-fact-label { margin-top: 28px !important; }
main.xp :where(section) dl.yo-fact { margin: 8px 0 18px; border-top: 1px solid var(--line); }
.xp-paper dl.yo-fact, .xp-paper .yo-more li { border-color: var(--line-dark) !important; }
main.xp .yo-fact > div { display: grid; grid-template-columns: 5.5em minmax(0, 1fr); gap: 12px; padding: 10px 0; border-bottom: 1px solid var(--line); }
.xp-paper .yo-fact > div { border-color: var(--line-dark); }
main.xp .yo-fact dt, main.xp .yo-fact dd { display: block; width: auto; float: none; margin: 0; padding: 0; border: 0; font-size: 15px; line-height: 1.85; }
main.xp .yo-fact dt { color: var(--gold); letter-spacing: .1em; font-size: 13px; padding-top: 2px; }
.xp-paper .yo-fact dt { color: var(--gold-dark); }
.yo-evidence { display: grid; grid-template-columns: 1fr 1fr; gap: 7%; align-items: start; margin-top: 56px; }
.yo-evidence .xp-one img { width: 100%; aspect-ratio: 1.45; object-fit: cover; }
.yo-more ul { list-style: none; margin: 0; padding: 0; border-top: 1px solid var(--line); }
.yo-more li { padding: 14px 0; border-bottom: 1px solid var(--line); display: grid; grid-template-columns: 6.5em minmax(0, 1fr); gap: 2px 14px; font-size: 15px; line-height: 1.85; }
.yo-when { grid-row: span 3; font-size: 13px; color: var(--gold); letter-spacing: .06em; padding-top: 2px; }
.xp-paper .yo-when { color: var(--gold-dark); }
.yo-what { font-family: var(--serif); font-size: 16px; }
.yo-role { color: var(--muted); }
.xp-paper .yo-role { color: #57524a; }
.yo-more-link { font-size: 14px; text-decoration: underline !important; text-underline-offset: 4px; }
.yo-more-photo { margin-top: 24px !important; max-width: 360px; }
.yo-more-photo img { aspect-ratio: 1.33 !important; }
.yo-steps { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(3, 1fr); gap: 48px; }
.yo-steps p:not(.yo-no) { color: var(--muted); font-size: 15px !important; line-height: 1.95; }
main.xp .yo-steps h3 { font-size: 21px; margin-bottom: 12px; }
.yo-steps .xp-one { margin-top: 20px !important; }
.yo-steps .xp-one img { width: 100%; aspect-ratio: 1.4; object-fit: cover; }
main.xp :where(section) dl.yo-profile { margin: 0 0 24px; border-top: 1px solid var(--line-dark); }
main.xp .yo-profile > div { display: grid; grid-template-columns: 8em minmax(0, 1fr); gap: 16px; padding: 14px 0; border-bottom: 1px solid var(--line-dark); }
main.xp .yo-profile dt, main.xp .yo-profile dd { display: block; width: auto; float: none; margin: 0; padding: 0; border: 0; font-size: 15px; line-height: 1.9; }
main.xp .yo-profile dt { font-family: var(--serif); letter-spacing: .08em; }
.yo-table-wrap { overflow-x: auto; }
table.yo-timeline { width: 100%; border-collapse: collapse; font-size: 15px; line-height: 1.8; }
.yo-timeline th, .yo-timeline td { text-align: left; vertical-align: top; padding: 12px 16px 12px 0; border: 0 !important; border-bottom: 1px solid var(--line-dark) !important; background: none !important; color: inherit; font-weight: 400; }
.yo-timeline thead th { font-size: 13px; letter-spacing: .1em; color: var(--gold-dark); }
.yo-timeline tbody th { white-space: nowrap; font-family: var(--serif); width: 8.5em; }
.yo-timeline td:last-child { color: #57524a; }
.yo-timeline a { text-decoration: underline !important; text-underline-offset: 4px; }
.yo-guides ul { list-style: none; margin: 32px 0 0; padding: 0; display: grid; grid-template-columns: 1fr 1fr; gap: 24px; }
.yo-guide { display: grid; grid-template-columns: minmax(0, 1fr) auto; gap: 6px 24px; align-items: center; padding: 26px 0; border-top: 1px solid var(--line); border-bottom: 1px solid var(--line); }
.yo-guide svg { grid-row: 1 / span 2; grid-column: 2; width: 30px; height: 12px; fill: none; stroke: currentColor; stroke-width: 1.2; }
.yo-guide-t { font-family: var(--serif); font-size: 21px; }
.yo-guide-d { color: var(--muted); font-size: 15px; }
@media (max-width: 900px) {
  .yo-hero-inner, .yo-pair, .yo-evidence, .yo-steps, .yo-guides ul { grid-template-columns: 1fr; gap: 36px; }
  .yo-portrait { max-width: 320px; }
}
@media (max-width: 600px) {
  main.yo .yo-hero { padding-block: 40px 8px; }
  .yo-portrait { max-width: 240px; }
  main.xp .yo-belief blockquote p { font-size: 18px; }
  main.xp .yo-profile > div { grid-template-columns: 1fr; gap: 2px; }
  .yo-more li { grid-template-columns: 1fr; }
  .yo-when { grid-row: auto; }
  .yo-timeline tbody th { width: auto; white-space: normal; }
  .yo-timeline thead { display: none; }
  .yo-timeline tr { display: grid; grid-template-columns: 1fr; padding: 12px 0; border-bottom: 1px solid var(--line-dark); }
  .yo-timeline th, .yo-timeline td { padding: 0; border: 0 !important; }
  .yo-timeline tbody th { font-size: 13px; color: var(--gold-dark); }
}
.xp-paper .xp-tag { color: var(--gold-dark); }

/* ---- /yoshi/ as a magazine profile (指示 1013-05): scenes with one large photo, prose and the person's own words ---- */
main.yo-mag .yo-hero { padding-block: 64px 96px; }
main.yo-mag .yo-hero-inner { grid-template-columns: minmax(0, 520px) minmax(0, 1fr); align-items: end; }
main.yo-mag .yo-portrait img { aspect-ratio: .75; }
main.yo-mag .yo-title { color: var(--muted); font-size: 15px !important; letter-spacing: .08em; margin-top: 6px !important; }
.yo-scene { padding-block: 0 112px; }
main.xp .yo-scene-photo { margin: 0 auto 56px; width: calc(100% - 11vw); max-width: 1280px; }
main.xp .yo-scene-photo img { width: 100%; aspect-ratio: 16 / 9; object-fit: cover; }
main.xp .yo-scene--alt .yo-scene-photo { width: calc(100% - 22vw); max-width: 1100px; }
main.xp .yo-scene-photo .mz-gallery__caption { padding-top: 10px; }
.yo-scene-text { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1.55fr); gap: 7%; align-items: start; }
main.xp .yo-scene-text h2 { font-size: clamp(24px, 2.4vw, 32px); line-height: 1.6; letter-spacing: .08em; }
.yo-scene-body { max-width: 40em; }
.yo-scene-body > p { color: var(--muted); margin: 0 0 1.2em !important; }
main.xp .yo-quote { margin: 40px 0 8px; padding: 0; }
main.xp .yo-quote blockquote { margin: 0; padding: 0; }
main.xp .yo-quote blockquote p { font-family: var(--serif); font-size: clamp(21px, 2vw, 26px); line-height: 1.9; letter-spacing: .04em; color: var(--paper); }
main.xp .yo-quote figcaption { margin-top: 10px; font-size: 13px; color: var(--gold); letter-spacing: .06em; position: static; background: none; padding: 0; text-align: left; }
.yo-scene-link { margin-top: 20px !important; font-size: 14px !important; }
.yo-scene-link a { text-decoration: underline !important; text-underline-offset: 4px; color: var(--paper); }
.yo-bio { border-top: 1px solid var(--line); padding-block: 88px 40px; }
main.xp .yo-bio h2 { font-size: 22px; letter-spacing: .1em; margin-bottom: 28px; }
main.xp :where(section) dl.yo-bio-profile { margin: 0 0 40px; max-width: 900px; }
main.xp .yo-bio-profile > div { display: grid; grid-template-columns: 7em minmax(0, 1fr); gap: 16px; padding: 8px 0; }
main.xp .yo-bio-profile dt, main.xp .yo-bio-profile dd { display: block; width: auto; float: none; margin: 0; padding: 0; border: 0; font-size: 14px; line-height: 1.85; color: var(--muted); }
main.xp .yo-bio-profile dt { color: var(--gold); letter-spacing: .08em; }
.yo-bio-list { list-style: none; margin: 0; padding: 0; max-width: 900px; border-top: 1px solid var(--line); }
.yo-bio-list li { display: grid; grid-template-columns: 7em minmax(0, 1fr) minmax(0, .8fr); gap: 16px; padding: 8px 0; border-bottom: 1px solid var(--line); font-size: 14px; line-height: 1.8; color: var(--muted); }
.yo-bio-when { color: var(--gold); }
.yo-bio-list a { color: var(--paper); text-decoration: underline !important; text-underline-offset: 3px; }
.yo-end { padding-block: 32px 64px; font-size: 15px !important; color: var(--muted); }
.yo-end a { color: var(--paper); text-decoration: underline !important; text-underline-offset: 4px; }
@media (max-width: 900px) {
  main.yo-mag .yo-hero-inner { grid-template-columns: 1fr; }
  .yo-scene-text { grid-template-columns: 1fr; gap: 20px; }
  main.xp .yo-scene--alt .yo-scene-photo { width: calc(100% - 11vw); }
}
@media (max-width: 600px) {
  main.yo-mag .yo-hero { padding-block: 32px 64px; }
  main.yo-mag .yo-portrait { max-width: 280px; }
  .yo-scene { padding-block: 0 80px; }
  main.xp .yo-scene-photo, main.xp .yo-scene--alt .yo-scene-photo { width: 100%; margin-bottom: 32px; }
  main.xp .yo-scene-photo img { aspect-ratio: 4 / 3; }
  main.xp .yo-scene-photo .mz-gallery__caption { padding: 8px 20px 0; }
  main.xp .yo-bio-profile > div, .yo-bio-list li { grid-template-columns: 1fr; gap: 0; }
}

/* 1013-05 (updated): a quiet opening without a large portrait, one text column, photos within the column. */
.yo-col { width: calc(100% - 40px); max-width: 760px; margin-inline: auto; }
.yo-quiet { padding-block: 120px 104px; }
main.xp .yo-quiet-motto { font-family: var(--serif); font-size: clamp(24px, 2.6vw, 34px); line-height: 1.8; letter-spacing: .08em; margin-bottom: 48px !important; }
.yo-quiet-who { display: flex; align-items: center; gap: 24px; }
.yo-quiet-photo { flex: none; width: 120px; margin: 0; }
.yo-quiet-photo img { width: 100%; aspect-ratio: .78; object-fit: cover; object-position: 50% 25%; }
main.xp .yo-quiet .yo-name { font-size: 24px; letter-spacing: .1em; margin: 0 0 4px; }
main.xp .yo-quiet .yo-title { color: var(--muted); font-size: 14px !important; letter-spacing: .06em; }
.yo-scene { padding-block: 0 104px; }
main.xp .yo-scene h2 { font-size: clamp(22px, 2.2vw, 28px); line-height: 1.6; letter-spacing: .08em; margin-bottom: 28px; }
main.xp .yo-scene .yo-scene-photo, main.xp .yo-scene .yo-scene-photo { width: 100%; max-width: none; margin: 0 0 36px; }
main.xp .yo-scene .yo-scene-photo img { width: 100%; aspect-ratio: 3 / 2; object-fit: cover; }
.yo-scene .yo-scene-body { max-width: none; }
@media (max-width: 600px) {
  .yo-quiet { padding-block: 64px 72px; }
  .yo-quiet-photo { width: 88px; }
  .yo-scene { padding-block: 0 72px; }
  main.xp .yo-scene .yo-scene-photo { width: 100%; }
  main.xp .yo-scene .yo-scene-photo .mz-gallery__caption { padding: 8px 0 0; }
}
main.xp .yo-quiet-motto, main.xp .yo-scene h2, main.xp .yo-quote blockquote p { text-wrap: balance; word-break: auto-phrase; }

/* パンくずの色は今のまま（指示 1013-08：本文の範囲だけに効かせた上の決まりから外れた分）。 */
main.xp .breadcrumb a { color: inherit; text-decoration: none; }

/* 海外での出張握り（/experience/overseas/、指示 1118-02）：/experience/ と同じ部品で組む。ページの題（H1）は区切りの見出しと同じ段。 */
main.xp :where(section) h1 { font-family: var(--serif); font-weight: 400; font-size: clamp(27px, 3vw, 38px); line-height: 1.5; letter-spacing: .1em; color: inherit; margin: 0 0 24px; padding: 0; border: 0; }
main.xp-overseas .xp-overseas-head .xp-feature { align-items: center; }
main.xp-overseas .xp-overseas-more { margin-top: 24px; }
main.xp-overseas .xp-overseas-more a { text-decoration: underline; text-underline-offset: 4px; text-decoration-color: rgba(236, 232, 223, .45); }
main.xp-overseas .xp-overseas-asks { max-width: 28em; margin: 16px auto 40px; text-align: left; }
main.xp .xp-overseas-link { margin: 24px 0 0; }
main.xp .xp-overseas-link a { text-decoration: underline; text-underline-offset: 4px; text-decoration-color: currentColor; }
