@import url('./season-layout.css');

:root { --line: #e4e8e7; }
.index-page :focus-visible { outline-color: #007d89; }
.index-page .eyebrow { font-size: 10px; }
.index-page footer { font-size: 10px; }
.season-index { max-width: 1560px; margin: 0 auto; padding: 46px 48px 0; }
.index-intro { display: grid; grid-template-columns: 1fr 1fr; align-items: end; gap: 32px; }
.index-intro h1 { font-size: clamp(32px, 3vw, 48px); line-height: 1.55; margin: 20px 0 0; white-space: normal; }
.index-intro h1 ruby { ruby-position: over; }
.index-intro h1 rt { font-size: .3em; font-weight: 400; letter-spacing: .1em; }
.index-introduction { max-width: 520px; padding-bottom: 4px; }
.index-introduction p { font-size: 12px; line-height: 2.1; letter-spacing: .04em; margin: 14px 0 0; }
.index-introduction .index-location { color: #657487; font-size: 10px; letter-spacing: .08em; }
.index-introduction .index-prompt { display: flex; align-items: center; justify-content: space-between; gap: 20px; margin-top: 22px; color: #52606e; font-size: 10px; }
.index-prompt span { color: var(--cyan); }
.index-map-jump { position: relative; display: inline-flex; align-items: center; gap: 16px; min-height: 44px; margin-top: 4px; font-size: 10px; text-decoration: none; color: #526b51; }
.index-map-jump::after { content: ""; position: absolute; inset-inline: 0; top: calc(50% + .5em + 4px); border-bottom: 1px solid currentColor; }
.season-grid { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 24px; margin: 40px 0 0; }
.season-card { display: block; min-width: 0; text-decoration: none; --card-accent: #536e41; }
.summer-card { --card-accent: #285745; }
.autumn-card { --card-accent: #9b6848; }
.winter-card { --card-accent: #48737d; }
.card-image { overflow: hidden; background: #edf0ed; }
.card-image img { display: block; width: 100%; height: auto; aspect-ratio: 3 / 4; object-fit: cover; object-position: 50% 56%; transition: transform .3s ease; }
.season-card:hover .card-image img { transform: scale(1.025); }
.card-meta { display: flex; align-items: baseline; gap: 12px; margin-top: 16px; }
.season-number { color: var(--card-accent); font: 400 23px Georgia, serif; font-variant-numeric: lining-nums tabular-nums; }
.season-name { font-size: 11px; letter-spacing: .04em; }
.card-arrow { margin-left: auto; color: var(--card-accent); font-size: 18px; }
.card-label { font-size: 11px; letter-spacing: .04em; line-height: 1.7; margin: 10px 0 0; }
.card-title { font-size: clamp(19px, 1.7vw, 25px); line-height: 1.65; margin: 14px 0 10px; letter-spacing: .03em; }
.card-note { font-size: 11px; line-height: 1.8; margin: 0; padding-bottom: 16px; border-bottom: 1px solid var(--line); color: #657487; }
.season-card:hover .card-title { color: var(--card-accent); }
.index-location-map { margin-top: 64px; padding-top: 48px; border-top: 1px solid var(--line); }
.location-heading { display: grid; grid-template-columns: 1fr 1fr; gap: 32px; align-items: end; margin-bottom: 32px; }
.location-heading h2 { font-size: clamp(26px, 2.6vw, 38px); line-height: 1.6; letter-spacing: .04em; margin: 15px 0 0; }
.location-heading > p { font-size: 12px; line-height: 2.2; margin: 0 0 4px; }
.location-heading rt, .map-stop rt { font-size: .5em; letter-spacing: .04em; }
.location-map-grid { display: grid; grid-template-columns: minmax(235px, .75fr) minmax(0, 2fr); background: #f5f6f0; }
.region-locator { padding: 28px 28px 20px; border-right: 1px solid #dce3d6; }
.map-kicker { font-size: 10px; letter-spacing: .1em; line-height: 1.8; color: #667560; margin: 0; }
.region-locator h3 { font-family: "Yu Mincho", "Hiragino Mincho ProN", serif; font-size: 22px; font-weight: 500; margin: 14px 0 6px; }
.region-address { font-size: 10px; color: #667560; margin: 0; line-height: 1.8; }
.region-locator > img { display: block; width: 100%; height: 300px; object-fit: contain; margin: 12px 0 4px; mix-blend-mode: multiply; }
.map-source { font-size: 10px; line-height: 1.9; color: #5f6e64; margin: 0; }
.map-source a { text-underline-offset: 3px; }
.valley-map { min-width: 0; margin: 0; padding: 28px 24px 16px; }
.valley-map figcaption { display: flex; justify-content: space-between; align-items: baseline; gap: 12px; }
.valley-map figcaption > span { font-size: 10px; color: #5f6e64; }
.valley-map-canvas { position: relative; height: 390px; }
.valley-map-art { position: absolute; width: 100%; height: 100%; inset: 0; }
.ninai-map-illustration { position: absolute; width: 35%; height: auto; top: 3%; left: 63%; }
.map-stops { list-style: none; margin: 0; padding: 0; }
.map-stop { position: absolute; left: var(--x); top: var(--y); transform: translateX(-50%); display: flex; flex-direction: column; align-items: center; text-align: center; width: max-content; max-width: 32%; }
.map-stop-dot { display: grid; place-items: center; flex: 0 0 auto; width: 24px; height: 24px; border-radius: 50%; background: #fff; color: #55694f; border: 1px solid #91a486; font: 12px Georgia, serif; }
.map-stop > div { background: rgba(245, 246, 240, .94); padding: 1px 6px 3px; }
.map-stop h3 { font-family: "Yu Mincho", "Hiragino Mincho ProN", serif; font-size: 15px; font-weight: 500; margin: 8px 0 3px; line-height: 1.6; white-space: nowrap; }
.map-stop p { font-size: 10px; line-height: 1.8; color: #667560; margin: 0; }
.map-stop--entrance { --x: 8%; --y: 75%; }
.map-stop--fudo { --x: 24%; --y: 58%; }
.map-stop--senju { --x: 41%; --y: 70%; }
.map-stop--nunobiki { --x: 56%; --y: 46%; }
.map-stop--ninai { --x: 77%; --y: 54%; }
.map-stop--ninai .map-stop-dot { background: #9b6848; color: #fff; border-color: #9b6848; width: 30px; height: 30px; font-size: 15px; }
.map-stop--ninai h3 { font-size: 26px; margin-top: 9px; color: #83563b; }
.map-stop--ninai p { color: #83563b; font-size: 11px; }
.map-stop--ninai .map-scene-label { font-size: 10px; margin: 8px 0 5px; letter-spacing: .08em; }
.map-stop--biwa { --x: 91%; --y: 0%; flex-direction: row; gap: 7px; align-items: center; text-align: left; padding: 5px 8px; background: #f5f6f0; }
.map-stop--biwa h3 { font-size: 12px; margin: 0 0 2px; }
.map-walk-label { position: absolute; top: 3%; left: 3%; color: #5f6e64; font-size: 10px; letter-spacing: .06em; }
.map-walk-label span { color: #9c805d; font-size: 20px; vertical-align: -2px; margin-right: 5px; }
.valley-map-note { font-size: 10px; line-height: 1.9; color: #5f6e64; margin: 16px 0 0; }
.location-map-footer { display: flex; align-items: center; justify-content: space-between; gap: 16px; padding: 12px 0 8px; }
.location-map-footer > p { font-size: 10px; color: #667560; margin: 0; }
.location-map-footer > div { display: flex; gap: 26px; }
.location-map-footer a { display: inline-flex; align-items: center; gap: 15px; min-height: 44px; font-size: 11px; text-decoration: none; border-bottom: 1px solid #b4c1b3; }
.location-map-footer a span { color: #7c957e; }
.map-credits { padding-top: 8px; }
.index-about { display: grid; grid-template-columns: 1fr 2fr; gap: 48px; margin-top: 64px; padding: 48px 0; border-top: 1px solid var(--line); }
.index-about h2 { font-size: 26px; margin: 15px 0 0; }
.index-about p:not(.eyebrow) { max-width: 780px; font-size: 12px; line-height: 2.2; margin: 0 0 14px; }
.index-about p.index-photo-credit { color: #657487; font-size: 11px; }
.index-photo-credit a { display: inline-block; padding-block: 8px; }
@media (min-width: 701px) and (max-width: 1000px) {
  .season-index { padding: 36px 32px 0; }
  .season-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 32px 24px; }
  .location-map-grid { grid-template-columns: 1fr; }
  .region-locator { display: grid; grid-template-columns: 1fr 1fr; column-gap: 24px; align-content: center; border-right: 0; border-bottom: 1px solid #dce3d6; }
  .region-locator > img { grid-column: 2; grid-row: 1 / 5; height: 240px; margin: 0; }
  .region-locator .map-source { grid-column: 1; }
  .valley-map-canvas { height: 400px; }
}
@media (max-width: 700px) {
  .index-page .header-note { font-size: 11px; }
  .index-page footer { flex-wrap: wrap; gap: 8px 16px; }
  .season-index { padding: 30px 24px 0; }
  .index-intro { display: block; }
  .index-intro h1 { margin: 16px 0 20px; font-size: clamp(31px, 8vw, 42px); }
  .index-intro .eyebrow { margin: 0; }
  .index-introduction p { font-size: 11px; }
  .index-introduction .index-prompt { margin-top: 18px; }
  .season-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 28px 16px; margin-top: 26px; }
  .card-meta { gap: 8px; margin-top: 12px; flex-wrap: wrap; }
  .season-number { font-size: 21px; }
  .season-name { font-size: 11px; }
  .card-arrow { display: none; }
  .card-label { letter-spacing: 0; min-height: 3.4em; }
  .card-title { font-size: clamp(16px, 4.2vw, 23px); margin: 10px 0; }
  .card-note { min-height: calc(3.6em + 16px + 1px); }
  .index-location-map { margin-top: 40px; padding-top: 32px; }
  .location-heading { display: block; margin-bottom: 24px; }
  .location-heading h2 { font-size: 27px; margin: 12px 0 20px; }
  .location-heading > p { font-size: 11px; line-height: 2.2; }
  .location-map-grid { grid-template-columns: 1fr; }
  .region-locator { padding: 24px 20px 18px; border-right: 0; border-bottom: 1px solid #dce3d6; }
  .region-locator > img { height: 235px; max-width: 300px; margin: 8px auto 0; }
  .valley-map { padding: 24px 20px 20px; }
  .valley-map figcaption { display: block; }
  .valley-map figcaption > span { display: block; font-size: 10px; margin-top: 6px; }
  .valley-map-canvas { height: auto; }
  .valley-map-art, .map-walk-label { display: none; }
  .ninai-map-illustration { position: static; display: block; width: min(100%, 300px); margin: 10px auto 18px; }
  .map-stops { position: relative; display: grid; gap: 22px; }
  .map-stops::before { content: ""; position: absolute; top: 12px; bottom: 36px; left: 12px; border-left: 1px dashed #b6976e; }
  .map-stop { position: relative; inset: auto; transform: none; width: auto; max-width: none; display: flex; flex-direction: row; text-align: left; gap: 17px; align-items: flex-start; }
  .map-stop-dot { position: relative; width: 25px; height: 25px; }
  .map-stop > div { background: none; padding: 0; }
  .map-stop h3 { font-size: 18px; margin: 0 0 1px; line-height: 1.5; }
  .map-stop p { font-size: 10px; }
  .map-stop--ninai { margin: 5px 0; }
  .map-stop--ninai .map-stop-dot { margin-left: -2px; }
  .map-stop--ninai h3 { font-size: 28px; margin: 7px 0 5px; }
  .map-stop--ninai .map-scene-label { font-size: 10px; margin: 0 0 14px; }
  .map-stop--ninai p { font-size: 11px; }
  .map-stop--biwa { padding: 0; background: none; }
  .map-stop--biwa h3 { font-size: 15px; }
  .valley-map-note { margin-top: 26px; }
  .location-map-footer { display: block; padding-top: 16px; }
  .location-map-footer > div { gap: 20px; margin-top: 8px; flex-wrap: wrap; }
  .map-credits { line-height: 2; }
  .index-about { display: block; margin-top: 40px; padding: 32px 0 20px; }
  .index-about h2 { font-size: 25px; margin-bottom: 22px; }
}
@media (max-width: 360px) {
  .season-index { padding-inline: 16px; }
  .season-grid { column-gap: 12px; }
  .card-title { letter-spacing: 0; }
}
@media (prefers-reduced-motion: reduce) { .card-image img { transition: none; } .season-card:hover .card-image img { transform: none; } }
