:root {
  --green: #00613b;
  --green-light: #58ad28;
  --ink: #18392c;
  --paper: #fffefa;
  --cream: #f8f3e9;
  --line: #eadbbd;
  --pink: #ff8797;
  --yellow: #f6c33f;
  --font: "Zen Maru Gothic", "Hiragino Maru Gothic ProN", "Yu Gothic", Meiryo, sans-serif;
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body { margin: 0; color: var(--ink); background: var(--cream); font-family: var(--font); font-weight: 500; line-height: 1.75; }
img { display: block; max-width: 100%; }
a { color: inherit; }
.skip-link { position: fixed; left: 1rem; top: -4rem; z-index: 100; padding: .7rem 1rem; color: white; background: var(--green); border-radius: 0 0 8px 8px; }
.skip-link:focus { top: 0; }

.experience-page {
  width: min(1180px, calc(100% - 36px));
  margin: 28px auto;
  overflow: hidden;
  background: var(--paper);
  border: 1px solid var(--line);
  border-radius: 22px;
  box-shadow: 0 14px 42px rgba(69,45,14,.1);
}

.experience-header {
  display: flex;
  align-items: center;
  gap: 14px;
  min-height: 76px;
  padding: 12px 28px;
  border-bottom: 1px solid var(--line);
}

.experience-header__icon { display: grid; place-items: center; width: 44px; height: 44px; flex: 0 0 44px; color: white; font-size: 1.15rem; background: var(--green-light); border-radius: 50%; }
.experience-header__title { font-size: 1.35rem; font-weight: 900; letter-spacing: .06em; }
.experience-header__title small { color: var(--green); font-size: .78rem; }
.experience-header__home { margin-left: auto; padding: .48rem .85rem; color: var(--green); font-size: .76rem; font-weight: 900; text-decoration: none; border: 1px solid #78a786; border-radius: 999px; }

.experience-main { position: relative; padding: 30px 46px 0; }
.back-link { display: inline-flex; align-items: center; gap: .5rem; margin-bottom: 22px; padding: .48rem 1rem; color: var(--green); font-size: .82rem; font-weight: 900; text-decoration: none; border: 1.5px solid #49906b; border-radius: 999px; }
.back-link:hover, .back-link:focus-visible, .experience-header__home:hover, .experience-header__home:focus-visible { color: white; background: var(--green); outline: none; }

.detail-hero { position: relative; margin: 0 auto 30px; text-align: center; }
.detail-hero__kicker { margin: 0 0 .25rem; color: #6a8c5f; font-size: .78rem; font-weight: 900; letter-spacing: .16em; }
.detail-hero h1 { margin: 0; color: var(--green); font-size: clamp(2rem, 4.3vw, 3rem); font-weight: 900; line-height: 1.35; letter-spacing: .1em; }
.detail-hero h1::before, .detail-hero h1::after { content: "✿"; margin: 0 .7rem; color: var(--pink); font-size: .56em; vertical-align: middle; }
.detail-hero > p:last-of-type { max-width: 730px; margin: .8rem auto 0; font-size: .92rem; font-weight: 700; }
.detail-hero__logo { width: min(410px, 68%); max-height: 105px; margin: 22px auto 0; object-fit: contain; }
.detail-hero__logo--seika { max-height: 64px; }

.detail-section-title { display: flex; align-items: center; justify-content: center; gap: .8rem; margin: 0 0 20px; color: var(--green); font-size: 1.6rem; font-weight: 900; letter-spacing: .12em; }
.detail-section-title::before, .detail-section-title::after { content: ""; width: min(180px, 17vw); border-top: 2px dotted #83aa8e; }

.activity-list { display: grid; gap: 12px; max-width: 1030px; margin: 0 auto; }
.activity-card { position: relative; display: grid; grid-template-columns: 48px 220px minmax(0, 1fr) 100px; align-items: center; gap: 18px; min-height: 155px; padding: 14px 20px; background: white; border: 1px solid var(--line); border-radius: 13px; }
.activity-card__number { display: grid; place-items: center; align-self: start; width: 38px; height: 38px; margin-top: 4px; color: white; font-size: .88rem; font-weight: 900; background: var(--green); border-radius: 50%; }
.activity-card__photo { width: 100%; height: 126px; object-fit: contain; padding: 6px; background: #fffaf2; border: 1px solid #eadcc4; border-radius: 9px; }
.activity-card__photo--sound { padding: 32px 72px; background: linear-gradient(135deg, #75c93a, #07824d); }
.activity-card__copy h2 { margin: 0 0 .4rem; color: var(--green); font-size: 1.2rem; font-weight: 900; letter-spacing: .06em; }
.activity-card__copy p { margin: 0; font-size: .82rem; font-weight: 700; line-height: 1.75; }
.activity-card__motif { width: 86px; height: 86px; margin: auto; object-fit: contain; }
.activity-card--media-pending { grid-template-columns: 48px 220px minmax(0, 1fr); }
.activity-card__photo--pending {
  display: grid;
  place-content: center;
  gap: 4px;
  color: var(--green);
  text-align: center;
  background:
    radial-gradient(circle at 18% 25%, rgba(246,195,63,.28) 0 4px, transparent 5px),
    radial-gradient(circle at 84% 72%, rgba(88,173,40,.2) 0 5px, transparent 6px),
    #fffdf8;
  border: 1px dashed #dec99e;
}
.activity-card__photo--pending b { font-size: .78rem; line-height: 1.35; letter-spacing: .12em; }
.activity-card__photo--pending small { color: #65776c; font-size: .65rem; font-weight: 800; line-height: 1.4; }
.activity-card__photo--sake,
.activity-card__motif--sake {
  display: grid;
  place-items: center;
  color: white;
  font-weight: 900;
  font-family: var(--font);
  background: linear-gradient(145deg, #e7a32d, #a94722);
  border: 0;
}
.activity-card__photo--sake span { font-size: 2.8rem; line-height: 1; }
.activity-card__motif--sake { width: 72px; height: 72px; border-radius: 50%; font-size: 1.8rem; }

.single-feature { display: grid; grid-template-columns: minmax(280px, 1.05fr) 1fr; gap: 30px; max-width: 980px; margin: 0 auto; padding: 24px; background: white; border: 1px solid var(--line); border-radius: 14px; }
.single-feature > img { width: 100%; height: 300px; object-fit: contain; padding: 10px; background: #fffaf2; border: 1px solid #eadcc4; border-radius: 10px; }
.single-feature__copy { align-self: center; }
.single-feature__copy h2 { margin: 0 0 .6rem; padding-bottom: .45rem; color: var(--green); font-size: 1.45rem; font-weight: 900; border-bottom: 3px dotted #bed49a; }
.single-feature__copy p { font-size: .9rem; font-weight: 700; }

.info-panel { display: grid; grid-template-columns: 1.15fr .85fr; gap: 30px; max-width: 1030px; margin: 22px auto 0; padding: 22px 26px; background: linear-gradient(110deg, #f7fff3, #fffdf8); border: 1.5px solid #6aa47d; border-radius: 13px; }
.info-panel h2 { grid-column: 1 / -1; margin: 0; color: var(--green); font-size: 1.25rem; font-weight: 900; }
.info-panel dl { display: grid; grid-template-columns: 145px 1fr; margin: 0; }
.info-panel dt, .info-panel dd { margin: 0; padding: .5rem .2rem; border-top: 1px dashed #b7cfbb; font-size: .82rem; font-weight: 700; }
.info-panel dt { color: var(--green); }
.info-panel ul { margin: 0; padding-left: 1.25rem; }
.info-panel li { margin-bottom: .35rem; font-size: .82rem; font-weight: 700; }
.info-panel--pending { display: block; max-width: 760px; text-align: center; }
.info-panel--pending p { margin: .4rem 0 0; font-weight: 700; }

/* Kyoto Seika University: long-form program details. */
.program-index {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 10px;
  max-width: 1030px;
  margin: 0 auto 22px;
}
.program-index a {
  display: flex;
  align-items: center;
  gap: 9px;
  min-height: 62px;
  padding: 10px 12px;
  color: var(--green);
  font-size: .76rem;
  font-weight: 900;
  line-height: 1.5;
  text-decoration: none;
  background: #f8fff5;
  border: 1px solid #a9c9a7;
  border-radius: 10px;
}
.program-index a:hover,
.program-index a:focus-visible { color: white; background: var(--green); outline: none; }
.program-index span {
  display: grid;
  place-items: center;
  width: 30px;
  height: 30px;
  flex: 0 0 30px;
  color: white;
  font-size: .68rem;
  background: var(--green);
  border-radius: 50%;
}
.program-index a:hover span,
.program-index a:focus-visible span { color: var(--green); background: white; }
.seika-program-list { display: grid; gap: 22px; max-width: 1030px; margin: 0 auto 32px; }
.seika-program {
  scroll-margin-top: 20px;
  padding: 28px;
  background: white;
  border: 1px solid var(--line);
  border-radius: 16px;
  box-shadow: 0 8px 24px rgba(69,45,14,.06);
}
.seika-program__header { display: flex; align-items: center; gap: 14px; margin-bottom: 14px; }
.seika-program__header > span {
  display: grid;
  place-items: center;
  width: 48px;
  height: 48px;
  flex: 0 0 48px;
  color: white;
  font-size: .9rem;
  font-weight: 900;
  background: var(--green);
  border-radius: 50%;
}
.seika-program__header p { margin: 0 0 .15rem; color: #6a8c5f; font-size: .72rem; font-weight: 900; letter-spacing: .12em; }
.seika-program__header h2 { margin: 0; color: var(--green); font-size: 1.55rem; font-weight: 900; line-height: 1.4; letter-spacing: .06em; }
.seika-program__lead { margin: 0 0 22px; padding: 15px 18px; color: var(--green); font-size: .93rem; font-weight: 900; background: #f3faec; border-left: 5px solid var(--green-light); border-radius: 0 9px 9px 0; }
.seika-program__section { margin-top: 22px; }
.seika-program__section h3,
.program-flow h3 { margin: 0 0 10px; color: var(--green); font-size: 1.08rem; font-weight: 900; }
.seika-program__section h3::before,
.program-flow h3::before { content: "●"; margin-right: .45rem; color: var(--green-light); font-size: .68em; }
.seika-program__section p { margin: .7rem 0 0; font-size: .84rem; font-weight: 700; line-height: 1.9; }
.program-facts { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 1px; margin: 24px 0 0; overflow: hidden; background: #c8dbc5; border: 1px solid #c8dbc5; border-radius: 11px; }
.program-facts > div { display: grid; grid-template-columns: 105px minmax(0, 1fr); background: #fffefa; }
.program-facts__wide { grid-column: 1 / -1; }
.program-facts dt,
.program-facts dd { margin: 0; padding: 12px 13px; font-size: .78rem; line-height: 1.75; }
.program-facts dt { color: var(--green); font-weight: 900; background: #f3faec; }
.program-facts dd { font-weight: 700; }
.program-facts dd strong { color: var(--green); font-weight: 900; }
.program-facts dd small { font-size: .7rem; font-weight: 700; }
.program-flow { margin-top: 22px; padding: 18px 20px; background: #fffaf0; border: 1px solid #edd9ae; border-radius: 11px; }
.program-flow ol,
.program-flow ul { margin: 0; padding-left: 1.5rem; }
.program-flow li { margin: .35rem 0; font-size: .8rem; font-weight: 700; line-height: 1.75; }
.program-flow p { margin: .8rem 0 0; font-size: .78rem; font-weight: 700; }
.program-contact { display: flex; flex-wrap: wrap; align-items: center; gap: 8px 16px; margin-top: 20px; padding: 14px 16px; font-size: .74rem; font-style: normal; background: #f6f6f2; border-radius: 9px; }
.program-contact strong { width: 100%; color: var(--green); font-size: .82rem; }
.program-contact span { font-weight: 900; }
.program-contact a { color: var(--green); font-weight: 800; overflow-wrap: anywhere; }

.detail-landscape { display: flex; align-items: flex-end; justify-content: space-between; gap: 18px; height: 145px; padding: 10px 18px 14px; margin: 18px -46px 0; overflow: visible; }
.detail-landscape img { width: auto; height: auto; max-width: 23%; max-height: 108px; object-fit: contain; object-position: center bottom; }
.activity-card__photo[src$="event-watagashi.png"] { object-fit: contain; object-position: center; padding: 10px; overflow: visible; }

@media (max-width: 800px) {
  html { font-size: 18px; }
  .experience-page { width: min(100% - 18px, 680px); margin: 12px auto; border-radius: 15px; }
  .experience-header { min-height: 64px; padding: 10px 14px; }
  .experience-header__icon { width: 38px; height: 38px; flex-basis: 38px; }
  .experience-header__title { font-size: 1rem; line-height: 1.35; }
  .experience-header__title small { display: block; font-size: .62rem; }
  .experience-header__home { padding: .35rem .58rem; font-size: .65rem; }
  .experience-main { padding: 22px 14px 0; }
  .back-link { margin-bottom: 18px; font-size: .72rem; }
  .detail-hero { margin-bottom: 22px; }
  .detail-hero h1 { font-size: 1.65rem; letter-spacing: .05em; }
  .detail-hero h1::before, .detail-hero h1::after { margin: 0 .35rem; }
  .detail-hero > p:last-of-type { font-size: .84rem; }
  .detail-section-title { gap: .45rem; font-size: 1.25rem; letter-spacing: .08em; }
  .detail-section-title::before, .detail-section-title::after { width: 38px; }
  .activity-card { grid-template-columns: 34px 115px minmax(0,1fr); gap: 10px; min-height: 132px; padding: 10px; }
  .activity-card__number { width: 31px; height: 31px; font-size: .7rem; }
  .activity-card__photo { height: 108px; }
  .activity-card__photo--sound { padding: 26px 38px; }
  .activity-card__copy h2 { font-size: .95rem; line-height: 1.45; }
  .activity-card__copy p { font-size: .76rem; line-height: 1.7; }
  .activity-card__motif { display: none; }
  .single-feature { grid-template-columns: 1fr; gap: 16px; padding: 14px; }
  .single-feature > img { height: 220px; }
  .single-feature__copy h2 { font-size: 1.15rem; }
  .single-feature__copy p { font-size: .84rem; }
  .info-panel { grid-template-columns: 1fr; gap: 14px; padding: 16px; }
  .info-panel h2 { grid-column: auto; font-size: 1.05rem; }
  .info-panel dl { grid-template-columns: 105px 1fr; }
  .info-panel dt, .info-panel dd, .info-panel li { font-size: .76rem; }
  .detail-landscape { height: 98px; gap: 7px; padding: 8px 5px 10px; margin: 14px -14px 0; }
  .detail-landscape img { max-width: 24%; max-height: 68px; }
  .program-index { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 7px; }
  .program-index a { min-height: 56px; padding: 8px; font-size: .67rem; }
  .seika-program-list { gap: 16px; }
  .seika-program { padding: 18px 14px; border-radius: 13px; }
  .seika-program__header { gap: 10px; }
  .seika-program__header > span { width: 40px; height: 40px; flex-basis: 40px; font-size: .76rem; }
  .seika-program__header p { font-size: .62rem; }
  .seika-program__header h2 { font-size: 1.2rem; }
  .seika-program__lead { margin-bottom: 18px; padding: 12px 13px; font-size: .82rem; }
  .seika-program__section h3,
  .program-flow h3 { font-size: .98rem; }
  .seika-program__section p { font-size: .8rem; line-height: 1.85; }
  .program-facts { grid-template-columns: 1fr; }
  .program-facts__wide { grid-column: auto; }
  .program-facts > div { grid-template-columns: 88px minmax(0, 1fr); }
  .program-facts dt,
  .program-facts dd { padding: 10px; font-size: .72rem; }
  .program-flow { padding: 14px; }
  .program-flow li { font-size: .74rem; }
  .program-contact { align-items: flex-start; flex-direction: column; font-size: .69rem; }
}

@media (max-width: 460px) {
  .experience-header__home { width: 38px; height: 38px; padding: 0; display: grid; place-items: center; font-size: 0; border: 0; }
  .experience-header__home::before { content: "☰"; font-size: 1.4rem; }
  .detail-hero__logo { width: 80%; }
  .activity-card { grid-template-columns: 30px 92px minmax(0,1fr); gap: 8px; }
  .activity-card__photo { height: 94px; }
  .activity-card__photo--sound { padding: 22px 30px; }
  .program-index { grid-template-columns: 1fr; }
}

@media (prefers-reduced-motion: reduce) { html { scroll-behavior: auto; } }

/* Match the stronger, highly legible weight used by the main FOOD section. */
body,
body p,
body li,
body dt,
body dd,
body small,
body time,
body figcaption { font-weight: 700; }

body strong,
body b,
body h1,
body h2 { font-weight: 900; }

/* Natural Japanese wrapping keeps headings balanced and paragraphs easy to scan. */
:where(h1, h2, h3, .experience-header__title) {
  text-wrap: balance;
  word-break: auto-phrase;
  line-break: strict;
}

:where(p, li, dt, dd, small) {
  text-wrap: pretty;
  word-break: auto-phrase;
  line-break: strict;
  overflow-wrap: break-word;
}
