/*
 * /yoshi/（日本語・英語）：現行の構成のまま、/experience/ と記事のページの見た目にそろえる（2026-10-13 指示 1013-06）。
 * 色は /experience/ と同じ（#161513・#1d1b18・生成り #ece8df・金 #c0af8c）。左右の余白は layout.css の --edge。
 * 文字組みは、日本語は ja-type.css（CLAUDE.md 第 7 章）、英語はこのファイルの下の部分（第 8 章、Newsreader）。
 */
html.yoshi body { background: #161513; }
html.yoshi main#content { background: #161513; color: #ece8df; padding-top: 0; }

/* 冒頭：握りを持つ手元の写真を、ヘッダーの下に幅いっぱいで */
html.yoshi .mask-reveal { margin: 64px 0 0; padding: 0; width: 100%; overflow: hidden; }
html.yoshi .mask-reveal img.eyecatch-img { display: block; width: 100%; height: clamp(260px, 38vw, 560px); object-fit: cover; object-position: 50% 50%; max-width: none; }

/* 本文の幅と左右の余白 */
html.yoshi main#content .page-layout .container { max-width: none; width: auto; margin: 0; padding-left: var(--edge); padding-right: var(--edge); }
html.yoshi main#content .main-content-inner { max-width: none; padding: 0; }
html.yoshi main#content .wp-block-spacer:first-child { height: 72px !important; }

/* プロフィール写真は控えめに（PC で 320px） */
html.yoshi main#content .wp-block-media-text { grid-template-columns: 320px minmax(0, 1fr) !important; gap: 56px; align-items: start; }
html.yoshi main#content .wp-block-media-text__media img { width: 100%; height: auto; aspect-ratio: .67; object-fit: cover; }
html.yoshi main#content .wp-block-media-text__content { padding: 0; }

/* 色 */
html.yoshi main#content :where(section) h1, html.yoshi main#content :where(section) h2, html.yoshi main#content :where(section) h3 { color: #ece8df; }
html.yoshi main#content :where(section) p, html.yoshi main#content :where(section) li { color: #bbb5aa; }
html.yoshi main#content :where(section) a { color: #ece8df; }
html.yoshi main#content .wp-block-list a { text-decoration: underline; text-underline-offset: 4px; text-decoration-color: rgba(236, 232, 223, .45); }
html.yoshi main#content .wp-block-list { padding-left: 0; list-style: none; }
html.yoshi main#content .wp-block-list li { padding: 8px 0; border-bottom: 1px solid rgba(235, 232, 220, .16); }
html.yoshi main#content .wp-block-list li:first-child { border-top: 1px solid rgba(235, 232, 220, .16); }
html.yoshi main#content .wp-block-button__link { background: transparent; color: #ece8df; border: 1px solid rgba(236, 232, 223, .5); border-radius: 0; padding: 8px 22px; font-size: 14px; letter-spacing: .08em; }
html.yoshi main#content .wp-block-button__link:hover { border-color: #c0af8c; color: #c0af8c; }
html.yoshi main#content .mz-gallery__caption { color: #fff; }

/* 海外ゲスト向け体験握りの案内（トップと同じ並べ方：文字と写真を左右に） */
html.yoshi #yoshi-hero { background: #1d1b18; padding: 72px 0; margin-top: 72px; }
html.yoshi #yoshi-hero .yx__inner { max-width: none; padding-left: var(--edge); padding-right: var(--edge); }
html.yoshi #yoshi-hero .yx__text { position: static; left: auto; top: auto; width: auto; min-width: 0; margin: 0; padding: 0; background: none; }
html.yoshi #yoshi-hero .yx__media { width: 100%; margin: 0; }
html.yoshi #yoshi-hero .yx__media img { width: 100%; height: 100%; object-fit: cover; }
html.yoshi #yoshi-hero .yx__btn { background: transparent; color: #ece8df; border: 1px solid rgba(236, 232, 223, .5); }
@media (min-width: 768px) {
  html.yoshi #yoshi-hero .yx__inner { display: grid; grid-template-columns: minmax(0, 4fr) minmax(0, 7fr); gap: clamp(32px, 4vw, 64px); align-items: center; }
  html.yoshi #yoshi-hero .yx__media { grid-column: 2; grid-row: 1; aspect-ratio: 3 / 2; }
  html.yoshi #yoshi-hero .yx__text { grid-column: 1; grid-row: 1; }
}
@media (max-width: 767px) {
  html.yoshi #yoshi-hero .yx__inner { display: flex; flex-direction: column; gap: 24px; }
  html.yoshi #yoshi-hero .yx__media { order: 2; aspect-ratio: 3 / 2; }
}
html.yoshi main#content .breadcrumb { padding: 28px var(--edge) 40px; }

@media (max-width: 781px) {
  html.yoshi main#content .wp-block-media-text { grid-template-columns: 1fr !important; gap: 28px; }
  html.yoshi main#content .wp-block-media-text__media { max-width: 220px; }
  html.yoshi main#content .wp-block-spacer:first-child { height: 40px !important; }
}

/* ---- 英語（CLAUDE.md 第 8 章：Newsreader、字間 0、本文の行間 1.65、左揃え） ---- */
html[lang="en"].yoshi main#content { font-family: "Newsreader", Georgia, "Times New Roman", serif; font-variant-numeric: oldstyle-nums proportional-nums; font-optical-sizing: auto; }
html[lang="en"].yoshi main#content :where(section) h1, html[lang="en"].yoshi main#content :where(section) h2, html[lang="en"].yoshi main#content :where(section) h3 {
  font-family: "Newsreader", Georgia, serif; font-weight: 500; letter-spacing: 0; line-height: 1.25; text-wrap: balance;
}
html[lang="en"].yoshi main#content :where(section) h1 { font-size: clamp(34px, 3.4vw, 46px); }
html[lang="en"].yoshi main#content :where(section) h2 { font-size: clamp(26px, 2.4vw, 32px); }
html[lang="en"].yoshi main#content :where(section) h3 { font-size: 26px; }
html[lang="en"].yoshi main#content :where(section) p, html[lang="en"].yoshi main#content :where(section) li {
  font-family: "Newsreader", Georgia, serif; font-weight: 400; font-size: 19px; line-height: 1.65; letter-spacing: 0; text-wrap: pretty; color: #cfc9bd;
}
html[lang="en"].yoshi main#content .wp-block-media-text__content > p, html[lang="en"].yoshi main#content .wp-block-column p { max-width: 29em; }
html[lang="en"].yoshi main#content .wp-block-list li { font-size: 18px; }
html[lang="en"].yoshi main#content .mz-gallery__caption { font-family: "Newsreader", Georgia, serif; letter-spacing: 0; font-size: 15px; }
html[lang="en"].yoshi main#content .wp-block-button__link, html[lang="en"].yoshi #yoshi-hero .yx__btn { font-family: "Newsreader", Georgia, serif; font-weight: 500; letter-spacing: 0; font-size: 16px; }
html[lang="en"].yoshi #yoshi-hero h2 { font-family: "Newsreader", Georgia, serif; font-weight: 500; letter-spacing: 0; }
html[lang="en"].yoshi #yoshi-hero p { font-family: "Newsreader", Georgia, serif; font-size: 18px; line-height: 1.65; letter-spacing: 0; color: #cfc9bd; }
@media (max-width: 600px) {
  html[lang="en"].yoshi main#content :where(section) p, html[lang="en"].yoshi main#content :where(section) li { font-size: 18px; }
  html[lang="en"].yoshi main#content .wp-block-list li { font-size: 17px; }
}

/* Same length as the live page (指示 1013-06): a plain list, less space around the guidance. */
html.yoshi main#content .wp-block-list li { padding: 3px 0; border: 0 !important; line-height: 1.8; }
html.yoshi main#content .wp-block-list { margin: 12px 0 0; }
html.yoshi #yoshi-hero { padding: 48px 0; margin-top: 48px; }
html.yoshi main#content .wp-block-spacer { height: 32px !important; }
html.yoshi main#content .wp-block-spacer:first-child { height: 56px !important; }
@media (max-width: 781px) {
  html.yoshi main#content .wp-block-spacer:first-child { height: 32px !important; }
  html.yoshi main#content .wp-block-media-text { gap: 20px; }
  html.yoshi main#content .wp-block-media-text__media { max-width: 180px; }
  html.yoshi main#content .wp-block-columns { gap: 24px; }
  html.yoshi #yoshi-hero { padding: 40px 0; margin-top: 32px; }
  html.yoshi #yoshi-hero .yx__media { aspect-ratio: 16 / 9; }
}

/* 指示 1013-07: on PC the photo fills its frame (the theme's 360px) and is cropped from the centre, as on the live
   site, so the nigiri on the fingers is not cut off. Phones stay as they are. */
@media (min-width: 768px) {
  html.yoshi .mask-reveal img.eyecatch-img { height: 100%; object-position: 50% 50%; }
}

/* 指示 1013-07: one-line links, and the guidance at the end (experience and catering) side by side. */
html.yoshi main#content :where(section) p.yoshi-more { margin: 16px 0 0; font-size: 15px; }
html.yoshi main#content :where(section) p.yoshi-more a { color: #ece8df; text-decoration: underline; text-underline-offset: 4px; text-decoration-color: rgba(236, 232, 223, .45); }
html.yoshi main#content :where(section) p.yoshi-kodomo { margin-top: 20px; }
html.yoshi .yoshi-guides { background: #1d1b18; padding: 56px 0; margin-top: 48px; }
html.yoshi .yoshi-guides .yx__inner { max-width: none; padding-left: var(--edge); padding-right: var(--edge); display: grid; grid-template-columns: 1fr 1fr; gap: clamp(32px, 4vw, 64px); align-items: start; }
html.yoshi .yoshi-guide .yx__media { width: 100%; margin: 0 0 24px; aspect-ratio: 3 / 2; overflow: hidden; }
html.yoshi .yoshi-guide .yx__media img { width: 100%; height: 100%; object-fit: cover; display: block; }
html.yoshi .yoshi-guide .yx__text { position: static; left: auto; top: auto; width: auto; min-width: 0; margin: 0; padding: 0; background: none; }
html.yoshi .yoshi-guide .yx__text h2 { color: #ece8df; margin: 0 0 12px; }
html.yoshi .yoshi-guide .yx__text p { color: #bbb5aa; margin: 0 0 8px; }
html.yoshi .yoshi-guide .yx__actions { margin-top: 20px; }
html.yoshi .yoshi-guides--one .yx__inner { grid-template-columns: 1fr; }
@media (min-width: 768px) {
  html.yoshi .yoshi-guides--one .yoshi-guide { display: grid; grid-template-columns: minmax(0, 4fr) minmax(0, 7fr); gap: clamp(32px, 4vw, 64px); align-items: center; }
  html.yoshi .yoshi-guides--one .yoshi-guide .yx__media { grid-column: 2; grid-row: 1; margin: 0; }
  html.yoshi .yoshi-guides--one .yoshi-guide .yx__text { grid-column: 1; grid-row: 1; }
}
@media (max-width: 767px) {
  html.yoshi .yoshi-guides .yx__inner { grid-template-columns: 1fr; gap: 48px; }
  html.yoshi .yoshi-guides { padding: 40px 0; margin-top: 32px; }
}
html[lang="ja"].yoshi .yoshi-guide .yx__text h2 { font-family: "Noto Serif JP", "Yu Mincho", "Hiragino Mincho ProN", serif; font-weight: 400; font-size: clamp(22px, 2vw, 28px); line-height: 1.6; letter-spacing: .08em; }
html[lang="ja"].yoshi .yoshi-guide .yx__text p { font-family: "Hiragino Kaku Gothic ProN", "Yu Gothic", Meiryo, "Noto Sans JP", sans-serif; font-size: 16px; line-height: 2; letter-spacing: .04em; }
html[lang="en"].yoshi .yoshi-guide .yx__text h2 { font-family: "Newsreader", Georgia, serif; font-weight: 500; letter-spacing: 0; line-height: 1.25; }
html[lang="en"].yoshi .yoshi-guide .yx__text p, html[lang="en"].yoshi main#content :where(section) p.yoshi-more { font-family: "Newsreader", Georgia, serif; font-size: 18px; line-height: 1.65; letter-spacing: 0; color: #cfc9bd; }

/* 講演実績（/yoshi/lecture/。指示 1013-07）：/yoshi/ と同じ見た目。中身（講演の記事の一覧）は変えない。 */
html.yoshi body.page-template-page-yoshi-lecture .page-title { margin-top: 64px; padding: 64px var(--edge) 40px; background: #161513; }
html.yoshi body.page-template-page-yoshi-lecture .page-title h1 { font-family: "Noto Serif JP", "Yu Mincho", "Hiragino Mincho ProN", serif; font-weight: 400; font-size: clamp(27px, 2.8vw, 38px); line-height: 1.5; letter-spacing: .1em; color: #ece8df; }
html.yoshi body.page-template-page-yoshi-lecture .mask-reveal { margin-top: 0; }
html.yoshi body.page-template-page-yoshi-lecture #news { background: #161513; }
html.yoshi body.page-template-page-yoshi-lecture #news .news__inner { max-width: none; padding-left: var(--edge); padding-right: var(--edge); }
html.yoshi body.page-template-page-yoshi-lecture #news .news__title { font-family: "Noto Serif JP", "Yu Mincho", "Hiragino Mincho ProN", serif; font-weight: 400; letter-spacing: .08em; color: #ece8df; }
html.yoshi body.page-template-page-yoshi-lecture #news a { color: #ece8df; }
html.yoshi body.page-template-page-yoshi-lecture #news a * { font-family: "Hiragino Kaku Gothic ProN", "Yu Gothic", Meiryo, "Noto Sans JP", sans-serif; }
@media (max-width: 767px) { html.yoshi body.page-template-page-yoshi-lecture .page-title { padding-top: 40px; } }

/* The button looks as on the live /yoshi/ (the theme's .yx__btn: white, dark text); the theme's minimum height of
   the guidance block (min(52vw, 680px)) is not used here. */
html.yoshi .yoshi-guides .yx__inner, html.yoshi #yoshi-hero .yx__inner { min-height: 0; }
html.yoshi main#content :where(section) a.yx__btn, html.yoshi #yoshi-hero a.yx__btn, html.yoshi .yoshi-guides a.yx__btn { background: #fff; color: #111; border: 1px solid #111; border-radius: 5px; text-decoration: none; }
html.yoshi main#content :where(section) a.yx__btn:hover { background: #ece8df; color: #111; }

/* パンくずの色は今のまま（指示 1013-08：本文の範囲だけに効かせた上の決まりから外れた分）。 */
html.yoshi .breadcrumb #breadcrumbs li, html.yoshi .breadcrumb #breadcrumbs span { color: #bbb5aa; }
html.yoshi .breadcrumb #breadcrumbs a, html.yoshi .breadcrumb #breadcrumbs a span { color: #ece8df; }
