/* 国際協力NGO ホワイトベース — サイト共通スタイル
   スマホ・タブレット・PCで崩れないよう、余白・文字・画像すべて可変サイズにしています */

:root {
  --sky: #CFE7F0;
  --sky-deep: #8FBFD2;
  --ink: #1B2A3B;
  --ink-soft: #42546A;
  --paper: #F3F7F9;
  --white: #FFFFFF;
  --saffron: #EBA31C;
  --saffron-hover: #F3B846;
  --saffron-deep: #8A5600;
  --link: #14577F;
  --line: #D3E0E7;

  --serif: "Shippori Mincho B1", "Hiragino Mincho ProN", "Yu Mincho", "YuMincho", "Noto Serif JP", serif;
  --sans: "Zen Kaku Gothic New", "Hiragino Kaku Gothic ProN", "Hiragino Sans", "Yu Gothic", "Meiryo", sans-serif;

  --wrap: 1080px;
  --gutter: clamp(16px, 4vw, 40px);
  --header-h: 64px;
  color-scheme: light;
}

*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; text-size-adjust: 100%; }
@media (prefers-reduced-motion: no-preference) { html { scroll-behavior: smooth; } }

body {
  margin: 0;
  font-family: var(--sans);
  font-size: 1.0625rem;
  line-height: 1.9;
  color: var(--ink);
  background: var(--white);
  word-break: auto-phrase;
  overflow-wrap: break-word;
  -webkit-font-smoothing: antialiased;
}

img { max-width: 100%; height: auto; display: block; }
a { color: var(--link); text-underline-offset: .2em; }
a:hover { text-decoration-thickness: 2px; }
:focus-visible { outline: 3px solid var(--ink); outline-offset: 3px; border-radius: 4px; }

h1, h2, h3, h4 {
  font-family: var(--serif);
  font-weight: 700;
  line-height: 1.45;
  margin: 0 0 .6em;
  text-wrap: balance;
}
h1 { font-size: clamp(1.9rem, 5.4vw, 3rem); letter-spacing: .03em; }
h2 { font-size: clamp(1.45rem, 3.4vw, 2.05rem); letter-spacing: .02em; }
h3 { font-size: clamp(1.15rem, 2.2vw, 1.35rem); }
h4 { font-size: 1.05rem; }
p { margin: 0 0 1.1em; text-wrap: pretty; }
ul, ol { padding-left: 1.3em; margin: 0 0 1.2em; }
li { margin-bottom: .35em; }
hr { border: 0; border-top: 1px solid var(--line); margin: 2.5rem 0; }
small, .small { font-size: .9rem; }
.note { font-size: .92rem; color: var(--ink-soft); }
.break-any { overflow-wrap: anywhere; }

.wrap { width: min(calc(100% - 2 * var(--gutter)), var(--wrap)); margin-inline: auto; }
.prose { max-width: 40em; }

.skip-link {
  position: absolute; left: 8px; top: -100px; z-index: 300;
  background: var(--ink); color: #fff; padding: .6em 1em; border-radius: 8px;
}
.skip-link:focus { top: 8px; }

/* ---------- ヘッダー / ナビ ---------- */
.site-header {
  position: sticky; top: 0; z-index: 100;
  background: var(--white); box-shadow: 0 4px 10px rgba(20, 35, 55, .12);
}
.header-inner {
  display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between;
  gap: 8px 16px; min-height: var(--header-h);
}
.brand {
  display: flex; align-items: center; gap: 10px;
  font-family: var(--serif); font-weight: 700; font-size: 1.05rem; line-height: 1.3;
  color: var(--ink); text-decoration: none;
}
.brand img { width: 32px; height: 32px; flex: none; }
.nav-toggle { display: none; }

.site-nav { width: 100%; }
.site-nav ul { list-style: none; margin: 0; padding: 0; }
.site-nav li { margin: 0; }
.site-nav a {
  display: block; padding: .8em .2em; color: var(--ink);
  text-decoration: none; font-weight: 500;
}
.site-nav a:hover { text-decoration: underline; }
.site-nav a[aria-current="page"] { font-weight: 700; box-shadow: inset 0 -3px 0 var(--saffron); }
.site-nav .sub a { padding-left: 1.2em; font-size: .95em; color: var(--ink-soft); }

/* JSが使えるとき: スマホはボタンで開閉 */
.js .nav-toggle {
  display: inline-flex; align-items: center; min-height: 44px;
  appearance: none; border: 2px solid var(--ink); background: var(--white); color: var(--ink);
  font: inherit; font-weight: 700; padding: 0 1.1em; border-radius: 999px; cursor: pointer;
}
.js .site-nav {
  display: none; position: absolute; left: 0; right: 0; top: 100%;
  background: var(--white); border-bottom: 1px solid var(--line);
  max-height: calc(100vh - var(--header-h)); overflow-y: auto; padding-inline: var(--gutter);
}
.js .site-nav.is-open { display: block; }

@media (min-width: 900px) {
  .js .nav-toggle { display: none; }
  .site-nav, .js .site-nav {
    display: block; position: static; width: auto; max-height: none; overflow: visible;
    background: transparent; border: 0; padding: 0;
  }
  .site-nav > ul { display: flex; align-items: center; gap: 2px; }
  .site-nav a { padding: .55em .9em; border-radius: 8px; }
  .site-nav a:hover { background: var(--paper); text-decoration: none; }
  .site-nav a[aria-current="page"] { box-shadow: inset 0 -3px 0 var(--saffron); border-radius: 0; }
  .has-sub { position: relative; }
  .sub {
    display: none; position: absolute; top: 100%; left: 0; min-width: 15em; z-index: 10;
    background: var(--white); border: 1px solid var(--line); border-radius: 12px; padding: 6px;
  }
  .site-nav .sub a { padding: .6em .9em; font-size: 1rem; color: var(--ink); }
  .has-sub:focus-within > .sub { display: block; }
}
@media (min-width: 900px) and (hover: hover) {
  .has-sub:hover > .sub { display: block; }
}

/* ---------- 共通パーツ ---------- */
.section { padding-block: clamp(32px, 5vw, 64px); }
.section--paper { background: var(--paper); }
.section--sky { background: var(--sky); }
.section > .wrap > h2:first-child { margin-bottom: .9em; }

.btn {
  display: inline-block; padding: .8em 1.7em; border-radius: 999px;
  background: var(--saffron); color: var(--ink); border: 2px solid var(--ink);
  font-weight: 700; text-decoration: none; text-align: center; line-height: 1.5;
  font-family: inherit; font-size: 1rem; cursor: pointer;
}
.btn:hover { background: var(--saffron-hover); text-decoration: none; }
.btn--ghost { background: var(--white); }
.btn--ghost:hover { background: var(--paper); }
.btn-row { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 1.4rem; }

.textlink { font-weight: 700; }

/* 写真は切り取らず、元の縦横比のまま全体を表示します */
.ph { overflow: hidden; border-radius: 12px; background: var(--paper); margin: 0; }
.ph img { width: 100%; height: auto; }
.ph--free { background: transparent; }
figure { margin: 0 0 1.4rem; }
figcaption { font-size: .9rem; color: var(--ink-soft); margin-top: .5em; }

.split { display: grid; gap: clamp(20px, 4vw, 48px); align-items: center; }
@media (min-width: 760px) {
  .split { grid-template-columns: 1fr 1fr; }
  .split--wide-text { grid-template-columns: 5fr 7fr; }
  .split--rev > :first-child { order: 2; }
}
.split--top { align-items: start; }

.grid { display: grid; gap: clamp(20px, 3vw, 36px); grid-template-columns: 1fr; }
@media (min-width: 640px) { .grid--2 { grid-template-columns: repeat(2, 1fr); } }
@media (min-width: 640px) { .grid--3 { grid-template-columns: repeat(2, 1fr); } }
@media (min-width: 900px) { .grid--3 { grid-template-columns: repeat(3, 1fr); } }
.grid h3 { margin-top: .8rem; margin-bottom: .3em; }
.grid p { margin-bottom: .6em; }

/* ---------- ページ見出し(下層) ---------- */
.page-head { background: var(--sky); padding-block: clamp(28px, 4vw, 48px); position: relative; overflow: hidden; }
.page-head h1 { margin: 0; position: relative; }
.page-head p { position: relative; margin: .6em 0 0; max-width: 40em; }
.page-head .clouds { opacity: .8; }

/* ===== 昔ばなしの個別ページ: 見出しの帯を少しスリムにし、Youtubeボタンを右に並べる ===== */
.page-head--tale { padding-block: clamp(24px, 4vw, 40px); }
.page-head__yt { margin: 1rem 0 0; }
@media (min-width: 760px) {
  .page-head__row { display: flex; align-items: center; justify-content: space-between; gap: 32px; flex-wrap: wrap; }
  .page-head__text { flex: 1 1 420px; }
  .page-head__yt { flex: 0 0 auto; margin-top: 0; white-space: nowrap; }
}
.crumbs { font-size: .9rem; margin-bottom: 1em; position: relative; }
.crumbs a { color: var(--ink); }

/* ---------- トップ ---------- */
.hero { position: relative; background: var(--sky); overflow: hidden; padding-block: clamp(40px, 8vw, 88px) clamp(36px, 6vw, 72px); }
.clouds { position: absolute; inset: 0; width: 100%; height: 100%; pointer-events: none; }
.hero .wrap { position: relative; }
.hero h1 { font-size: clamp(1.8rem, 5.5vw, 3.2rem); line-height: 1.3; letter-spacing: .04em; margin-bottom: .45em; }
.hero .lead { font-size: clamp(1rem, 2.2vw, 1.25rem); max-width: 34em; margin-bottom: 1.6rem; }
.hero-photo { margin-top: clamp(24px, 4vw, 44px); border-radius: 14px; overflow: hidden; background: var(--white); }
.hero-photo img { width: 100%; height: auto; }

.notice {
  display: flex; flex-wrap: wrap; align-items: center; gap: 8px 20px;
  background: var(--white); border: 2px solid var(--ink); border-radius: 14px;
  padding: 14px 20px; max-width: 46em;
}
.notice p { margin: 0; font-weight: 700; }

.social { list-style: none; padding: 0; margin: 1.2rem 0 0; display: flex; flex-wrap: wrap; gap: 8px 20px; }
.social li { margin: 0; }
.social a { font-weight: 700; }

.line-box { display: grid; grid-template-columns: 96px 1fr; gap: 20px; align-items: center; }
.line-box .ph { border-radius: 16px; }
@media (max-width: 479px) { .line-box { grid-template-columns: 72px 1fr; gap: 14px; } }

/* ---------- スタディツアー: サブナビ ---------- */
.subnav { border-bottom: 1px solid var(--line); background: var(--white); }
.subnav ul { list-style: none; display: flex; flex-wrap: wrap; gap: 8px; margin: 0; padding: 14px 0; }
.subnav li { margin: 0; }
.subnav a {
  display: block; padding: .35em 1em; border: 2px solid var(--ink); border-radius: 999px;
  color: var(--ink); text-decoration: none; font-weight: 700; font-size: .95rem; line-height: 1.6;
}
.subnav a:hover { background: var(--paper); }
.subnav a[aria-current="page"] { background: var(--ink); color: #fff; }

/* ツアー: コンテンツ一覧 */
.tc-grid { list-style: none; padding: 0; margin: 0; display: grid; gap: 20px 14px; grid-template-columns: repeat(2, 1fr); }
@media (min-width: 960px) { .tc-grid { grid-template-columns: repeat(5, 1fr); } }
.tc-grid li { margin: 0; }
.tc-grid figcaption { color: var(--ink); font-weight: 700; font-size: .95rem; margin-top: .55em; line-height: 1.5; }
.tc-grid figure { margin: 0; }

.facts { display: grid; gap: 0; margin: 0; }
.facts div { display: grid; gap: 4px 24px; padding: 1.1em 0; border-top: 1px solid var(--line); }
.facts div:last-child { border-bottom: 1px solid var(--line); }
@media (min-width: 640px) { .facts div { grid-template-columns: 9em 1fr; } }
.facts dt { font-family: var(--serif); font-weight: 700; }
.facts dd { margin: 0; }
.facts dd p { margin: 0 0 .3em; }

.callout {
  border-left: 6px solid var(--saffron); background: var(--paper);
  padding: 1em 1.3em; border-radius: 0 12px 12px 0; margin: 1.6rem 0;
}
.callout p:last-child { margin-bottom: 0; }

/* ---------- ツアー日程 ---------- */
.timeline { list-style: none; margin: 0; padding: 0; }
.timeline > li { position: relative; margin: 0; padding: 0 0 clamp(32px, 5vw, 52px) clamp(28px, 6vw, 56px); border-left: 3px solid var(--sky-deep); margin-left: 10px; }
.timeline > li:last-child { border-left-color: transparent; padding-bottom: 0; }
.timeline > li::before {
  content: ""; position: absolute; left: -11px; top: .55em; width: 19px; height: 19px;
  border-radius: 50%; background: var(--saffron); border: 3px solid var(--ink);
}
.day-label {
  display: inline-block; font-family: var(--serif); font-weight: 700; font-size: 1.05rem;
  background: var(--ink); color: #fff; padding: 0 .8em; border-radius: 999px; margin-bottom: .5em; line-height: 1.8;
}
.timeline h3 { margin-bottom: .5em; }
.visit { font-size: .95rem; color: var(--ink-soft); }
.gallery { list-style: none; padding: 0; margin: 1.1rem 0 0; display: grid; gap: 8px; grid-template-columns: repeat(2, 1fr); }
.gallery li { margin: 0; }
.gallery li:first-child { grid-column: 1 / -1; }
.gallery .ph { border-radius: 8px; }
.gallery--one { grid-template-columns: 1fr; max-width: 420px; }
@media (min-width: 720px) {
  .gallery { grid-template-columns: repeat(5, 1fr); }
  .gallery li:first-child { grid-column: auto; }
  .gallery--one { grid-template-columns: 1fr; }
}

/* ---------- 参加費 ---------- */
.plans { display: grid; gap: 16px; margin: 1.4rem 0 2rem; }
@media (min-width: 640px) { .plans { grid-template-columns: repeat(2, 1fr); } }
.plan { border: 2px solid var(--ink); border-radius: 16px; padding: 1.3em 1.5em; background: var(--white); }
.plan h3 { margin: 0 0 .2em; font-size: 1.1rem; }
.plan .price { font-family: var(--serif); font-weight: 700; font-size: clamp(2rem, 6vw, 2.8rem); line-height: 1.2; margin: 0; }
.plan .price small { font-size: .45em; margin-left: .2em; }
.two-col { display: grid; gap: 24px; }
@media (min-width: 760px) { .two-col { grid-template-columns: 1fr 1fr; gap: 40px; } }
.two-col h3 { margin-bottom: .6em; }

/* ---------- FAQ ---------- */
.faq details { border-top: 1px solid var(--line); padding: 0; }
.faq details:last-child { border-bottom: 1px solid var(--line); }
.faq summary {
  cursor: pointer; list-style: none; padding: 1em 2.4em 1em 0; position: relative;
  font-family: var(--serif); font-weight: 700; font-size: 1.1rem; line-height: 1.6;
  color: #1E3F8F;
}
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after {
  content: "＋"; position: absolute; right: .2em; top: 50%; transform: translateY(-50%);
  font-family: var(--sans); font-weight: 400; font-size: 1.2rem;
}
.faq details[open] summary::after { content: "－"; }
.faq .answer { padding: 0 0 1.2em; max-width: 40em; }
.faq .answer p { margin-bottom: .8em; }

/* ---------- 出発までの流れ ---------- */
.flow { list-style: none; margin: 0; padding: 0; counter-reset: flow; }
.flow > li { position: relative; margin: 0; padding: 0 0 2rem 3.4rem; counter-increment: flow; }
.flow > li::before {
  content: counter(flow); position: absolute; left: 0; top: 0; width: 2.4rem; height: 2.4rem;
  display: grid; place-items: center; border-radius: 50%; background: var(--saffron);
  border: 2px solid var(--ink); font-family: var(--serif); font-weight: 700;
}
.flow > li::after { content: ""; position: absolute; left: 1.2rem; top: 2.6rem; bottom: .2rem; width: 2px; background: var(--sky-deep); }
.flow > li:last-child::after { display: none; }
.flow h3 { margin-bottom: .3em; }
.flow .ph { max-width: 340px; margin-top: .8rem; }

/* ---------- 参加者の声 / スタッフ ---------- */
.voice-list { display: grid; gap: clamp(36px, 6vw, 60px); }
.voice { border-top: 2px solid var(--ink); padding-top: 1.4rem; }
.voice-head { display: grid; grid-template-columns: 72px 1fr; gap: 16px; align-items: center; margin-bottom: 1rem; }
.voice-head .avatar { width: 72px; height: 72px; border-radius: 50%; overflow: hidden; background: var(--paper); }
.voice-head .avatar img { width: 100%; height: 100%; object-fit: cover; }
.voice-head h2 { font-size: 1.25rem; margin: 0; }
.voice-head p { margin: 0; font-size: .95rem; color: var(--ink-soft); }
.voice .prose { margin-bottom: 1rem; }
.photos3 { list-style: none; padding: 0; margin: 0; display: grid; grid-template-columns: repeat(3, 1fr); gap: 8px; max-width: 640px; }
.photos3 li { margin: 0; }
.photos3 .ph { border-radius: 8px; }

/* ===== 参加者の声: PC版で写真（丸い写真・四角い写真）を1.5倍くらい大きくする ===== */
@media (min-width: 900px) {
  .voice-head { grid-template-columns: 108px 1fr; gap: 20px; }
  .voice-head .avatar { width: 108px; height: 108px; }
  .photos3 { max-width: 960px; gap: 12px; }
}

.staff-list { display: grid; gap: clamp(32px, 5vw, 52px); }
.staff { display: grid; gap: 16px 32px; align-items: start; border-top: 1px solid var(--line); padding-top: 1.6rem; }
@media (min-width: 640px) { .staff { grid-template-columns: 200px 1fr; } }
.staff .ph { max-width: 220px; }
.staff .role { font-size: .95rem; color: var(--ink-soft); margin: 0 0 .2em; }
.staff h2 { font-size: 1.4rem; margin-bottom: .5em; }
.staff p { margin-bottom: .6em; }

/* ---------- 昔ばなし / 一覧 ---------- */
.folk-grid { list-style: none; padding: 0; margin: 0; display: grid; gap: 22px 16px; grid-template-columns: repeat(2, 1fr); }
@media (min-width: 720px) { .folk-grid { grid-template-columns: repeat(3, 1fr); } }
.folk-grid li { margin: 0; }
.folk-grid figcaption { color: var(--ink); font-weight: 700; margin-top: .5em; line-height: 1.5; }
.folk-grid figure { margin: 0; }

/* ---------- トイレ建設 ---------- */
.steps { display: grid; gap: clamp(28px, 5vw, 44px); }
.step { display: grid; gap: 14px 32px; align-items: start; }
@media (min-width: 720px) { .step { grid-template-columns: 5fr 7fr; } }
.step h3 { margin-bottom: .3em; }
.step p { margin: 0; }

/* ---------- お問合せ ---------- */
.form { max-width: 34em; }
.form label, .form .label { display: block; font-weight: 700; margin: 1.3em 0 .35em; }
.form .hint { font-weight: 400; font-size: .9rem; color: var(--ink-soft); display: block; }
.form input, .form select, .form textarea {
  width: 100%; font: inherit; color: var(--ink); background: var(--white);
  border: 2px solid var(--ink-soft); border-radius: 10px; padding: .65em .85em; min-height: 48px;
}
.form textarea { min-height: 9em; resize: vertical; }
.form input:focus-visible, .form select:focus-visible, .form textarea:focus-visible { outline-offset: 1px; border-color: var(--ink); }
.form .trap { position: absolute; left: -9999px; height: 0; overflow: hidden; }
.form button { margin-top: 1.8rem; }
.form-status { margin-top: 1.2rem; font-weight: 700; }
.form-status:empty { display: none; }
.form-status.is-ok { color: #1D5C3A; }
.form-status.is-error { color: #9B2C1B; }
.req::after { content: "（必須）"; font-weight: 400; font-size: .85rem; color: var(--ink-soft); margin-left: .4em; }

/* ---------- メディア掲載など ---------- */
.media-list { display: grid; gap: 28px; }
@media (min-width: 720px) { .media-list { grid-template-columns: repeat(2, 1fr); } }
.media-list h3 { font-size: 1.05rem; }
.media-list .ph { max-width: 460px; }

.partners { display: grid; gap: 28px; }
.partner { display: grid; gap: 12px 28px; grid-template-columns: 1fr; align-items: start; }
@media (min-width: 640px) { .partner { grid-template-columns: 260px 1fr; } }
.partner .ph { max-width: 260px; }
.partner h3 { font-size: 1.1rem; margin-bottom: .3em; }
.partner p { margin-bottom: .4em; }

/* ---------- フッター ---------- */
.site-footer { background: var(--ink); color: #fff; padding-block: clamp(36px, 6vw, 64px); }
.site-footer a { color: #fff; }
.site-footer :focus-visible { outline-color: #fff; }
.footer-grid { display: grid; gap: 28px 48px; }
@media (min-width: 760px) { .footer-grid { grid-template-columns: 1.4fr 1fr; align-items: start; } }
.footer-brand { display: flex; align-items: center; gap: 16px; margin-bottom: 1rem; }
.footer-brand img { width: 64px; height: 64px; }
.footer-brand p { margin: 0; font-family: var(--serif); font-weight: 700; font-size: 1.2rem; }
.site-footer address { font-style: normal; line-height: 1.8; }
.site-footer .social { margin-top: 0; flex-direction: column; gap: 6px; }
.site-footer .copy { margin: 2rem 0 0; font-size: .85rem; opacity: .8; }

/* 印刷 */
@media print {
  .site-header, .subnav, .skip-link, .btn-row { display: none !important; }
  body { font-size: 11pt; }
}

/* --- 追加 --- */
a.ph { display: block; }
.site-nav a.is-section { box-shadow: inset 0 -3px 0 var(--saffron); }
.hero-grid { display: grid; gap: 20px 40px; align-items: center; }
.hero-ehon { width: clamp(88px, 22vw, 150px); }
@media (min-width: 760px) { .hero-grid { grid-template-columns: 1fr auto; } .hero-ehon { width: 170px; } }
@media (max-width: 759px) { .hero-ehon { display: none; } }

/* グリッド内の長い文がはみ出さないように */
.split > *, .grid > *, .line-box > *, .hero-grid > *, .partner > *, .staff > *, .step > *,
.two-col > *, .voice-head > *, .footer-grid > *, .media-list > * { min-width: 0; }

.js .header-inner { flex-wrap: nowrap; }
.brand { min-width: 0; font-size: clamp(.92rem, 3.8vw, 1.05rem); }
.line-title { font-size: clamp(1.05rem, 4.6vw, 1.35rem); margin-bottom: .4em; text-wrap: balance; }

/* 写真の高さがそろっていなくても、上端を合わせて並べる */
.tc-grid, .folk-grid, .gallery, .photos3, .grid { align-items: start; }

/* ===== トップ: 左にイラスト、右に写真を並べる ===== */
.sr-only {
  position: absolute; width: 1px; height: 1px; padding: 0; margin: -1px;
  overflow: hidden; clip: rect(0, 0, 0, 0); white-space: nowrap; border: 0;
}
.hero--split { background: var(--white); padding-block: clamp(10px, 1.6vw, 20px) clamp(56px, 8vw, 96px); }
.hero-grid2 { display: grid; gap: 36px; }
.hero-illust { display: flex; align-items: center; }
.hero-illust .ph { width: 100%; }
.hero-photo2 { position: relative; }
.ph--hero-photo { aspect-ratio: 4 / 3; border-radius: 16px; }
.ph--hero-photo img { width: 100%; height: 100%; object-fit: cover; }
.hero-card {
  position: relative; margin-top: -40px; margin-inline: 16px; border: 0;
  background: var(--white); border-radius: 14px; box-shadow: 0 8px 24px rgba(20, 35, 55, .18);
  padding: 16px 18px; display: flex; flex-direction: column; align-items: flex-start; gap: 10px;
}
.hero-card p { margin: 0; font-weight: 700; color: var(--ink); line-height: 1.6; }
.hero-card .btn { padding: .55em 1.4em; font-size: .95rem; }

@media (min-width: 760px) {
  .hero-grid2 { grid-template-columns: 1fr 1fr; align-items: stretch; gap: clamp(56px, 6vw, 88px); }  /* イラストと写真の間隔（広め） */
  .hero-photo2 { display: flex; flex-direction: column; }
  .hero-illust { margin-left: calc(var(--gutter) * -0.8); }  /* 「百聞は」のイラストを少し左へ */
  .hero-grid2 { position: relative; left: calc(var(--gutter) * 0.4); }  /* イラスト＋写真のまとまりを画面の中央に */
  .ph--hero-photo { flex: 1 1 auto; min-height: 0; }
  .hero-card { position: relative; margin-top: -40px; margin-inline: 24px; max-width: none; }
  .hero--split { padding-bottom: clamp(12px, 2vw, 24px); }
}
.hero--split + .section { padding-top: clamp(20px, 3vw, 40px); }
@media (min-width: 1080px) {
  .hero-card { margin-inline: 0; margin-left: auto; width: 380px; margin-right: 32px; }
}

/* ===== メニューボタンを三本線（ハンバーガー）にする ===== */
.js .nav-toggle {
  position: relative;
  width: 48px; height: 48px; min-height: 0; padding: 0;
  border: 0; border-radius: 8px;
  font-size: 0; color: var(--ink);
  background-color: transparent;
  background-image:
    linear-gradient(currentColor, currentColor),
    linear-gradient(currentColor, currentColor),
    linear-gradient(currentColor, currentColor);
  background-repeat: no-repeat;
  background-size: 26px 3px;
  background-position: center 14px, center 22.5px, center 31px;
}
.js .nav-toggle[aria-expanded="true"] { background-image: none; }
.js .nav-toggle[aria-expanded="true"]::before,
.js .nav-toggle[aria-expanded="true"]::after {
  content: ""; position: absolute; left: 50%; top: 50%;
  width: 26px; height: 3px; margin: -1.5px 0 0 -13px;
  background: currentColor; transform: rotate(45deg);
}
.js .nav-toggle[aria-expanded="true"]::after { transform: rotate(-45deg); }

/* ===== ヘッダーの団体名を、どの画面幅でも1行で表示する ===== */
.brand { font-size: min(4.4vw, 1.15rem); white-space: nowrap; }

/* ===== 団体名（文字）の下だけに下線を引く ===== */
.brand span { padding-bottom: 3px; border-bottom: 2px solid var(--ink); }

/* ===== PC表示：団体名を大きくする（画面が広いほど大きく、最大 1.4rem） ===== */
@media (min-width: 900px) {
  .brand { font-size: clamp(1.05rem, 1.9vw, 1.4rem); }
  .brand img { width: 38px; height: 38px; }
}

/* ===== トップの「スタディツアーの詳細」ボタンをオレンジ色にする ===== */
.hero .notice .btn { background: var(--saffron); }
.hero .notice .btn:hover { background: var(--saffron-hover); }

/* ===== スタディツアー: コンテンツ一覧・個別ページ ===== */
.tc-grid .ph img { transition: transform .25s ease; }
.tc-grid a.ph:hover img { transform: scale(1.04); }
.tc-grid figcaption a { color: inherit; text-decoration: none; }
.tc-grid figcaption a:hover { text-decoration: underline; }
@media (prefers-reduced-motion: reduce) { .tc-grid .ph img { transition: none; } .tc-grid a.ph:hover img { transform: none; } }
.shots { list-style: none; padding: 0; margin: 0; display: grid; gap: 12px; grid-template-columns: repeat(2, 1fr); align-items: start; }
@media (min-width: 720px) { .shots { grid-template-columns: repeat(3, 1fr); gap: 16px; } }
.shots li { margin: 0; min-width: 0; }
.shots figure { margin: 0; }
.shots figcaption { font-size: .92rem; color: var(--ink-soft); line-height: 1.6; }

/* ===== トップ: 見出し → 写真 → 文章 の順に縦に並べる ===== */
.hero ~ .section .split { display: grid; grid-template-columns: 1fr; gap: 0; align-items: start; }
.hero ~ .section .split > div { display: contents; }
.hero ~ .section .split > div > h2 { order: 1; margin-bottom: .7em; }
.hero ~ .section .split > .ph { order: 2; max-width: 720px; margin-bottom: 1.4rem; }
.hero ~ .section .split > div > *:not(h2) { order: 3; max-width: 40em; }

/* ===== スマホ表示の手直し（画面の幅が759px以下のとき） ===== */
@media (max-width: 759px) {
  /* 1. ヘッダーの団体名を、0.2rem（約3px）小さくする */
  .brand { font-size: min(3.6vw, .95rem); }

  /* 2. 下部の団体名を1行にする ／ 5. 下部の丸いWHITEBASEロゴを消す */
  .footer-brand img { display: none; }
  .footer-brand p { white-space: nowrap; font-size: min(5vw, 1.2rem); }

  /* 3. 郵便番号と住所を2段に分ける（住所の行は途中で折り返さない） */
  .site-footer .zip { display: block; }
  .site-footer .addr { white-space: nowrap; }

}

/* ===== スマホ表示の手直し その2（画面の幅が759px以下のとき） ===== */
@media (max-width: 759px) {
  /* 2. 最下部の濃い紺色の部分を、縦に約6割まで短くする */
  .site-footer { padding-block: 20px; }
  .footer-grid { gap: 12px; }
  .footer-brand { margin-bottom: .4rem; }
  .site-footer address { line-height: 1.55; }
  .site-footer .social { flex-direction: row; flex-wrap: wrap; gap: 2px 18px; }
  .site-footer .social a { line-height: 1.7; }
  .site-footer .copy { margin-top: 12px; }

  /* 3. 「LINEスタンプやってます」: アイコンを左上に置き、その下にタイトルと文言を画面いっぱいに */
  .line-box { grid-template-columns: 1fr; gap: 12px; }
  .line-box .ph { width: 72px; }
  .line-title { white-space: nowrap; font-size: min(5.2vw, 1.35rem); }
}

/* ===== リンクの「X（旧Twitter）」を、PC・スマホ共通で消す ===== */
.social li:nth-child(2) { display: none; }

/* ===== 「スタディツアー」ページ: 見出しの文字の右横にカンボジアの国旗を置く ===== */
.page-head--flag h1::after {
  content: "";
  display: inline-block;
  vertical-align: middle;
  width: 64px;
  height: 41px;
  margin-left: 16px;
  position: relative;
  top: -0.08em;
  box-shadow: 0 1px 3px rgba(0,0,0,.18);
  background: url("data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAARkAAAC0CAMAAACXO6ihAAABMlBMVEUDLqHgACX///8UK5nSBC3iACSpqan7+/vkAB3y8vKzs7OVW2CSkpKurq6XlpbX19e6urqfn5/r6+ulpaXh4eG+vr7d3d2UlJRqamqAgIDXABTs7Oybi4zIyMiKiop4eHhLVVXHAABzc3PQ0NCEhIRkZGTAABfP2NjGz8/lABteXl5+T1KuAACqlZekAADAAABSUlLUAACPfH6IbG+JAACXAADQAB96AABHR0efGynGAiE/AADOAA9cAADYABoAAACMYmWDHylvOT5/LzZQP0FXJSpsAA+HVVmQMjqPQUd7amtzQUWfMTuNAA+JDR2he311Ex6iDyJuTVChABiUT1RMAAByKzJOFh1fbGtIBRBtAAA0RUQ3Gx9aAAOuABoiAACedHcaGhpyHiYPJSSZQ0pjUlN9rCrSAAALVElEQVR4nO2dC3fbthWAk7uRFFACBAiAj8gEGz78YGJZduw8mre7rWnS1WnTZm26ZUvb/P+/MNCOZcmWlO4cU5E9fIntI/JGh/iMe3kByfGVKxaLxWKxWCwWi8VisVgs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VSaTsz0nq8rhsfhhGClUpTiWeShVmY5JGdHpLJSijMuJo4ytf68k/tTJ2aurZzOhI93eviPdXpnssmw0skPgy3IjKkzLMuquRVYZ1kWz60zJsK9hGbatfZcM75Za9O5Ztq19kU24zgbm6cv/nyySc3Kpi42sc7fjPN2b/f96J1DH4gJ4a5boPT0idHbh4qwMl98WcyKcFNZmADG+anj5P3eXgdvtz9/Mxs7AGNblUf7lSabzLfaNfPCm46ZT+1PJguJZ0Zwcw4i5vbPPDvA8/NPqI7MnKajtfaIWxfZjM/5R9baZn04f3WQcF5dQjNtNs01c7TWnmfmKJsupZl52ST/kJmLnE3Os8+msL9/48aN/Rf7084dBbw4ingxP+LF/tSn6OBHK7voZ3qL50L0M5cFa2YW1swsrJlZ2P/Vfxb2N0HMwv72kFl86l/rYrFYLBaLxWKxWCwWi8VisVgsFovFYrFYLBaLxWKxWCwWi8VisVgsFotlefkvq7e1IMooaTEAAAAASUVORK5CYII=") center / contain no-repeat;
}
/* ===== FAQ: 特定の質問だけ、太字・少し大きめ・ネイビー色にする ===== */
.faq summary.faq-highlight { font-weight: 800; font-size: 1.22rem; color: #1E3F8F; }

/* ===== About us: 代表者の挨拶を、別ページでなくその場で全文表示する ===== */
.greeting-reveal summary {
  list-style: none; cursor: pointer; display: inline-block; width: fit-content;
}
.greeting-reveal summary::-webkit-details-marker { display: none; }
.greeting-reveal summary::marker { content: ""; }
.greeting-reveal[open] summary { margin-bottom: .2em; }
.greeting-reveal summary::after { content: "　▼"; font-size: .85em; }
.greeting-reveal[open] summary::after { content: "　▲"; }

/* ===== About us: 「4つの活動の柱」の色分けバー ===== */
.pillar-bars { list-style: none; margin: 0; padding: 0; display: grid; gap: 12px; }
.pillar-bars li {
  margin: 0; padding: 1.1em 1.4em; border-radius: 4px;
  font-family: var(--serif); font-weight: 700; color: #1a1a1a;
  font-size: clamp(1rem, 2.4vw, 1.2rem);
}

/* スマホ: 見出しと国旗を1行に並べ、国旗を少し小さくする */
@media (max-width: 759px) {
  .page-head--flag h1 {
    white-space: nowrap;
    font-size: min(1.9rem, calc((100vw - 40px) / 10));
  }
  .page-head--flag h1::after {
    width: 46px;
    height: 29px;
    margin-left: 10px;
  }
}

/* ===== スタディツアーのページ内ボタン（ツアー概要〜案内するヒト）: レインボー色・同じ大きさにそろえる ===== */
.subnav ul { display: grid; grid-template-columns: repeat(2, 1fr); gap: 10px; }
@media (min-width: 600px)  { .subnav ul { grid-template-columns: repeat(4, 1fr); } }
@media (min-width: 1100px) { .subnav ul { grid-template-columns: repeat(8, 1fr); } }
.subnav a {
  height: 100%; display: flex; align-items: center; justify-content: center;
  text-align: center; white-space: nowrap; padding: .45em .4em;
  border: none; color: #2A2A2A;
}
.subnav li:nth-child(8n+1) a { background: #FFB3B3; }
.subnav li:nth-child(8n+2) a { background: #FFCC99; }
.subnav li:nth-child(8n+3) a { background: #FFE98A; }
.subnav li:nth-child(8n+4) a { background: #C8F0A0; }
.subnav li:nth-child(8n+5) a { background: #9EE6D2; }
.subnav li:nth-child(8n+6) a { background: #A8D8FF; }
.subnav li:nth-child(8n+7) a { background: #B9C2FF; }
.subnav li:nth-child(8n+8) a { background: #DDB8FF; }
.subnav li a:hover { filter: brightness(.94); }
.subnav li a[aria-current="page"] { color: #2A2A2A; outline: 3px solid #1B2A3B; outline-offset: 2px; }

/* ===== トップページのお知らせボックス: レインボーの枠 ===== */
.hero-card {
  border: 4px solid transparent;
  background:
    linear-gradient(#fff, #fff) padding-box,
    linear-gradient(90deg, #FFB3B3, #FFCC99, #FFE98A, #C8F0A0, #9EE6D2, #A8D8FF, #B9C2FF, #DDB8FF) border-box;
}

/* ===== スマホだけ: スタディツアーページの集合写真を見出しのすぐ下に表示 ===== */
.sp-only { display: none; }
@media (max-width: 759px) {
  .sp-only { display: block; }
  .pc-only { display: none !important; }
  .tour-top-sp { padding-top: 16px; padding-bottom: 16px; }
}

/* ===== スマホ: ページ上部の帯（見出しエリア）を低くし、説明文を小さくする ===== */
@media (max-width: 759px) {
  .page-head { padding-block: 16px 18px; }
  .page-head p { font-size: .85rem; line-height: 1.65; margin-top: .4em; }
}

/* ===== スマホ: スタディツアーの見出しと国旗を小さめに ===== */
@media (max-width: 759px) {
  .page-head--flag h1 { font-size: 1.45rem; }
  .page-head--flag h1::after { width: 36px; height: 23px; margin-left: 8px; }
}

/* ===== スマホ: 全ページの見出し（帯の中の大きい文字）をスタディツアーと同じ大きさに ===== */
@media (max-width: 759px) {
  .page-head h1 { font-size: 1.45rem; line-height: 1.4; }
}

/* ===== スマホ: ヘッダーの団体名を少し大きく ===== */
@media (max-width: 759px) {
  .brand { font-size: min(4.5vw, 1.12rem); }
}

/* ===== トップページ（PC・スマホ共通）: 左右レイアウト／4つの活動の柱カード／参加・応援カード ===== */
.h2-kicker{margin:0 0 .3em;font-size:.8rem;letter-spacing:.18em;font-weight:700;color:#12A08A}
.h2-row{display:grid;gap:24px;align-items:center}
.h2-txt h2{margin-top:0}
.h2-ph img{border-radius:14px}
@media (min-width:900px){
 .h2-row{grid-template-columns:1.1fr 1fr;gap:56px}
 .h2-row--rev .h2-ph{order:2}
}
.pill-title{margin:56px 0 18px;font-family:var(--serif)}
.pill-cards{list-style:none;margin:0;padding:0;display:grid;gap:16px;grid-template-columns:1fr}
@media (min-width:600px){.pill-cards{grid-template-columns:repeat(2,1fr)}}
@media (min-width:1000px){.pill-cards{grid-template-columns:repeat(4,1fr)}}
.pill-cards li{margin:0}
.pill-cards a{display:flex;flex-direction:column;gap:8px;height:100%;padding:20px 20px 18px;background:#fff;border-radius:14px;border-top:10px solid var(--c);box-shadow:0 4px 14px rgba(20,35,55,.10);color:var(--ink);text-decoration:none;transition:transform .2s}
.pill-cards a:hover{transform:translateY(-3px)}
.pc-no{font-family:var(--serif);font-size:1.6rem;font-weight:700;line-height:1;color:#1B2A3B;opacity:.25}
.pill-cards strong{font-size:1.08rem}
.pill-cards span:not(.pc-no){font-size:.9rem;color:var(--ink-soft);line-height:1.7}
.pill-cards em{margin-top:auto;font-style:normal;font-weight:700;font-size:.88rem;color:#0B7A68}
.join-cards{list-style:none;margin:28px 0 24px;padding:0;display:grid;gap:18px;grid-template-columns:1fr}
@media (min-width:760px){.join-cards{grid-template-columns:repeat(3,1fr)}}
.join-cards li{margin:0}
.join-cards a{display:flex;flex-direction:column;align-items:center;text-align:center;gap:8px;height:100%;padding:28px 20px;border-radius:16px;text-decoration:none;color:var(--ink);border:4px solid transparent;background:linear-gradient(#fff,#fff) padding-box,linear-gradient(90deg,#FFB3B3,#FFCC99,#FFE98A,#C8F0A0,#9EE6D2,#A8D8FF,#B9C2FF,#DDB8FF) border-box;transition:transform .2s}
.join-cards a:hover{transform:translateY(-3px)}
.jc-ico{width:64px;height:64px;border-radius:50%;display:grid;place-items:center;font-size:1.8rem;background:#E6F6F2;color:#0B7A68}
.jc-img{width:64px;height:64px;object-fit:contain}
.join-cards strong{font-size:1.1rem}
.join-cards span:not(.jc-ico){font-size:.9rem;color:var(--ink-soft)}
.join-cards li:first-child a{background:linear-gradient(#FFF6DF,#FFF6DF) padding-box,linear-gradient(90deg,#FFB3B3,#FFCC99,#FFE98A,#C8F0A0,#9EE6D2,#A8D8FF,#B9C2FF,#DDB8FF) border-box}

/* ===== トップ右上の写真: 3枚が数秒ごとにふわっと切り替わる ===== */
.hero-slides { position: relative; overflow: hidden; }
.hero-slides img { transition: opacity 1.2s ease; }
.hero-slides img + img { position: absolute; inset: 0; }
.js .hero-slides img { opacity: 0; }
.js .hero-slides img.is-active { opacity: 1; }
@media (prefers-reduced-motion: reduce) { .hero-slides img { transition: none; } }

/* アンコールワットの写真: 寺院が枠の真ん中に来るよう位置を調整 */
.hero-slides img.slide-angkor { object-position: 5% 50%; }

/* ===== スマホ: トップページの並びと大きさを整える ===== */
@media (max-width: 899px) {
  /* 見出し → 写真 → 文章 → ボタン の順に */
  .h2-row { display: flex; flex-direction: column; align-items: stretch; gap: 0; }
  .h2-row .h2-txt { display: contents; }
  .h2-row .h2-kicker { order: 1; }
  .h2-row .h2-txt h2 { order: 2; margin-bottom: .6em; }
  .h2-row .h2-ph { order: 3; margin-bottom: 1.2rem; }
  .h2-row .h2-txt > p:not(.h2-kicker), .h2-row .btn-row { order: 4; }
}
@media (max-width: 759px) {
  /* トップのイラストと写真の間を少し詰める */
  .hero-grid2 { gap: 24px; }
  /* ボタン2つを横に同じ幅で並べる */
  .h2-row .btn-row { display: grid; grid-template-columns: 1fr 1fr; gap: 10px; }
  .h2-row .btn-row .btn { width: 100%; display: flex; align-items: center; justify-content: center; text-align: center; white-space: nowrap; padding: .7em .4em; font-size: min(.92rem, 3.8vw); line-height: 1.3; }
  /* 4つの活動の柱: 2列のコンパクトなカードに */
  .pill-title { margin-top: 40px; }
  .pill-cards { grid-template-columns: 1fr 1fr; gap: 12px; }
  .pill-cards a { padding: 14px 12px 12px; gap: 6px; border-top-width: 8px; }
  .pc-no { font-size: 1.2rem; }
  .pill-cards li { min-width: 0; }
  .pill-cards strong { font-size: min(.92rem, 3.5vw); line-height: 1.4; white-space: nowrap; }
  .pill-cards span:not(.pc-no) { font-size: .8rem; line-height: 1.6; }
  .pill-cards em { font-size: .8rem; }
  /* 参加・応援カード: アイコン左・文字右の横長に */
  .join-cards { gap: 12px; margin-top: 20px; }
  .join-cards a { display: grid; grid-template-columns: 52px 1fr; grid-template-rows: auto auto; column-gap: 14px; row-gap: 2px; align-items: center; text-align: left; padding: 14px 16px; }
  .jc-ico, .jc-img { width: 52px; height: 52px; grid-row: 1 / 3; font-size: 1.4rem; }
  .join-cards strong { font-size: 1rem; align-self: end; }
  .join-cards span:not(.jc-ico) { font-size: .82rem; align-self: start; }
  .h2-join h2 { font-size: 1.3rem; }
}

/* ===== スマホ: トップは写真を画面いっぱいに大きく、キャッチコピーを重ねる ===== */
.hero-copy { display: none; }
@media (max-width: 759px) {
  .hero--split { padding-top: 0; padding-bottom: 28px; }
  .hero-grid2 { display: block; }
  .hero-illust { display: none; }
  .hero-photo2 { display: block; margin-inline: calc(-1 * var(--gutter)); }
  .ph--hero-photo { aspect-ratio: 4 / 3; border-radius: 0; }
  .ph--hero-photo::after { content: ""; position: absolute; inset: 0; z-index: 2; pointer-events: none;
    background: linear-gradient(180deg, rgba(0,0,0,0) 55%, rgba(0,0,0,.6) 100%); }
  .hero-copy { display: block; position: absolute; left: 16px; right: 8px; bottom: 30px; z-index: 3; color: #fff; }
  .hero-copy b { display: block; font-family: var(--serif); font-size: min(1.8rem, 7.6vw); line-height: 1.25; text-shadow: 0 2px 8px rgba(0,0,0,.4); }
  .hero-copy span { display: block; margin-top: 2px; white-space: nowrap; font-size: min(.9rem, 3.1vw); font-weight: 700; text-shadow: 0 1px 4px rgba(0,0,0,.4); }
  .hero-card { position: relative; z-index: 4; margin: -16px 16px 0; }
  .hero-slides img.slide-angkor { object-position: 5% 50%; }
}

/* ===== スマホ: お知らせの文を少し小さく、2行（文ごと）に ===== */
@media (max-width: 759px) {
  .hero-card p { font-size: min(.92rem, 3.3vw); white-space: nowrap; }
  .hero-card p .nl { display: block; }
}

/* ===== トップのお知らせ: 「スタディツアー詳細」ボタンを右寄せ ===== */
.hero-card .btn { align-self: flex-end; }

/* ===== スマホ: お知らせボックスの高さを詰める ===== */
@media (max-width: 759px) {
  .hero-card { padding: 12px 20px 14px 18px; gap: 10px; border-radius: 12px; }
  .hero-card p { line-height: 1.55; font-weight: 500; }
  .hero-card .btn { padding: .38em 1.1em; font-size: .85rem; }
}

/* ===== スマホ: トップページの本文を新聞・雑誌のように詰めて流し込む ===== */
@media (max-width: 759px) {
  .h2-sec p, .h2-join p, .pill-cards span {
    word-break: normal; line-break: strict; text-wrap: wrap;
    text-align: justify; text-justify: inter-character; line-height: 1.75;
  }
}

/* ===== PC: フッターの縦を短く ===== */
@media (min-width: 760px) {
  .site-footer { padding-block: 26px 18px; }
  .footer-grid { gap: 12px 48px; align-items: center; }
  .footer-brand { margin-bottom: .4rem; gap: 12px; }
  .footer-brand img { width: 50px; height: 50px; }
  .footer-brand p { font-size: 1.25rem; }
  .site-footer address { line-height: 1.65; font-size: 1.02rem; }
  .site-footer .social { flex-direction: row; gap: 4px 24px; justify-content: flex-end; font-size: 1.08rem; }
  .site-footer .copy { margin-top: 12px; font-size: .86rem; }
  .site-footer .social a { font-size: 1.12rem; }
}
/* ===== スマホ: フッターの文字を小さく ===== */
@media (max-width: 759px) {
  .footer-brand p { font-size: min(4.2vw, 1rem); }
  .site-footer address { font-size: .82rem; }
  .site-footer .social a { font-size: .85rem; }
  .site-footer .copy { font-size: .72rem; }
}

/* ===== SNSリンクをアイコンで表示 ===== */
.social a.sns-ico { display: inline-flex; align-items: center; justify-content: center; width: 44px; height: 44px; border-radius: 50%; text-decoration: none; color: var(--ink); transition: opacity .2s, transform .2s; }
.social a.sns-ico:hover { opacity: .75; transform: translateY(-1px); }
.site-footer .social a.sns-ico { color: #fff; }
.site-footer .social { flex-direction: row; align-items: center; gap: 6px 10px; }
.social a.sns-ico svg { display: block; }
/* ===== フッター: 電話番号の下線を消す ===== */
.site-footer address a[href^="tel:"] { text-decoration: none; }

/* ===== フッターのロゴはPC・スマホとも表示しない ===== */
.site-footer .footer-brand img { display: none; }

/* ===== スマホ: 昔ばなし発掘ページ「Folklore Archive-CAMBODIA」 ロゴと見出しを横並び、本文は全幅 ===== */
@media (max-width: 759px) {
  .fa-box { grid-template-columns: 72px 1fr !important; gap: 4px 14px !important; align-items: center !important; }
  .fa-box .fa-logo { width: 72px !important; grid-row: 1 / 3; }
  .fa-box .fa-text { display: contents; }
  .fa-box .fa-text h2 { grid-column: 2; margin: 0 !important; align-self: end; font-size: min(1.2rem, 5.3vw) !important; line-height: 1.3; overflow-wrap: normal !important; }
  .fa-box .fa-text .fa-sub { grid-column: 2; margin: 0 !important; align-self: start; font-size: .85rem; }
  .fa-box .fa-text > p:not(.fa-sub) { grid-column: 1 / -1; margin: 14px 0 0; word-break: normal; line-break: strict; text-wrap: wrap; text-align: justify; text-justify: inter-character; line-height: 1.8; }
  .fa-box .fa-text > p:not(.fa-sub) + p { margin-top: .6em; }
}

/* ===== スマホ: 全ページの本文を新聞のように詰めて、少し小さく ===== */
@media (max-width: 759px) {
  main p, main .prose li, main dd, main td {
    word-break: normal; line-break: strict; text-wrap: wrap;
    text-align: justify; text-justify: inter-character;
  }
  main p, main .prose li, main dd { font-size: .97rem; line-height: 1.75; }
}

/* ===== スマホ: グリッドの中身が画面からはみ出さないように ===== */
.tc-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
@media (min-width: 960px) { .tc-grid { grid-template-columns: repeat(5, minmax(0, 1fr)); } }
.tc-grid > li, .gallery > li, .voice-list > *, .voice-head > *, .timeline > li { min-width: 0; }
.voice-list { grid-template-columns: minmax(0, 1fr); }
@media (max-width: 759px) {
  .gallery:not(.gallery--one) { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .voice-head { grid-template-columns: 72px minmax(0, 1fr); }
}
.photos3 { grid-template-columns: repeat(3, minmax(0, 1fr)); }
.photos3 > li { min-width: 0; }

/* ===== スマホ: 本文中の見出しを全体のバランスに合わせて小さめに ===== */
@media (max-width: 759px) {
  main h2 { font-size: 1.2rem; line-height: 1.45; letter-spacing: .01em; }
  main h3 { font-size: 1.04rem; line-height: 1.5; }
  .voice-head h2, .staff h2 { font-size: 1.1rem; }
  .pill-title { font-size: 1.04rem; }
}
@media (max-width: 759px) {
  .folk-grid figcaption, .folk-grid figcaption a, .tc-grid figcaption { font-size: .9rem; line-height: 1.5; }
}

/* ===== 日本語 / English 切り替えボタン ===== */
.lang-switch { display: inline-flex; margin: 0 0 12px; padding: 3px; border-radius: 999px; background: rgba(255,255,255,.75); box-shadow: 0 1px 3px rgba(20,35,55,.15); position: relative; z-index: 1; }
.lang-switch a { display: block; padding: .3em 1em; border-radius: 999px; font-size: .85rem; font-weight: 700; line-height: 1.4; color: var(--ink); text-decoration: none; }
.lang-switch a[aria-current="true"] { background: #12A08A; color: #fff; }
.lang-switch a:not([aria-current]):hover { background: #E6F6F2; }
html[lang="en"] main p { text-align: left; word-break: normal; overflow-wrap: break-word; }
/* クメール語ページ: クメール文字のフォント */
html[lang="km"] body { font-family: "Noto Sans Khmer", var(--sans); }
html[lang="km"] h1, html[lang="km"] h2, html[lang="km"] h3 { font-family: "Noto Serif Khmer", "Noto Sans Khmer", var(--serif); line-height: 1.6; letter-spacing: 0; }
html[lang="km"] main p, html[lang="km"] .page-head p { letter-spacing: 0; text-justify: auto; word-break: normal; }
html[lang="km"] main p { text-align: left; line-height: 2; }
.lang-switch a[lang="km"] { font-family: "Noto Sans Khmer", var(--sans); }

/* ===== 昔ばなしページ: 動画ボタンの位置（PCは左の文章の最下段にそろえる／スマホは中央） ===== */
@media (min-width: 760px) {
  .page-head__row { align-items: flex-end; }
}
@media (max-width: 759px) {
  .page-head__yt { text-align: center; }
}

/* ===== スマホ: ボタンの大きさをトップページのボタンにそろえる ===== */
@media (max-width: 759px) {
  main .btn { font-size: min(.92rem, 3.8vw); line-height: 1.3; padding: .7em 1.4em; }
}

/* ===== 昔ばなし一覧: 題名の下線を消す（マウスを乗せたときだけ下線） ===== */
.folk-grid figcaption a { text-decoration: none; color: inherit; }
.folk-grid figcaption a:hover { text-decoration: underline; }

/* ===== スマホ: 昔ばなし一覧の題名を少し小さく ===== */
@media (max-width: 759px) {
  .folk-grid figcaption, .folk-grid figcaption a { font-size: .82rem; }
  .folk-grid figcaption .small { font-size: .74rem; }
}
