:root {
  --guide-card: #fbf8f0;
  --guide-shadow: 0 1.5rem 4rem -2.5rem rgba(8, 24, 33, 0.55);
}

.guide-links {
  display: flex;
  flex-wrap: wrap;
  gap: 0.75rem;
  margin: 2rem 0 0;
}

.guide-links a {
  display: inline-flex;
  min-height: 2.8rem;
  align-items: center;
  padding: 0.55rem 1rem;
  color: var(--water);
  font-weight: 700;
  text-decoration: none;
  border: 1px solid currentColor;
  border-radius: 999px;
}

.town-guide-section {
  padding: clamp(5rem, 10vw, 8rem) 0;
}

.town-guide-section--deep {
  color: var(--white);
  background:
    radial-gradient(circle at 88% 8%, rgba(70, 110, 132, 0.25), transparent 30rem),
    var(--iron-navy, #182b3a);
}

.town-guide-inner {
  width: var(--content);
  margin-inline: auto;
}

.town-guide-head {
  display: grid;
  grid-template-columns: minmax(0, 0.9fr) minmax(18rem, 1.1fr);
  gap: clamp(2rem, 6vw, 5rem);
  align-items: end;
  margin-bottom: clamp(2.5rem, 5vw, 4rem);
}

.town-guide-head .display-title {
  margin: 0;
}

.town-guide-head__lead {
  margin: 0;
  color: var(--ink-soft);
}

.town-guide-section--deep .eyebrow {
  color: var(--gold);
}

.town-guide-section--deep .town-guide-head__lead {
  color: rgba(255, 255, 255, 0.76);
}

.shop-guide-grid {
  display: grid;
  grid-template-columns: repeat(12, minmax(0, 1fr));
  gap: clamp(1rem, 2vw, 1.4rem);
}

.shop-guide-card {
  grid-column: span 4;
  overflow: hidden;
  color: var(--ink);
  background: var(--guide-card);
  border: 1px solid rgba(255, 255, 255, 0.16);
  box-shadow: var(--guide-shadow);
}

.shop-guide-card:nth-child(-n + 2),
.shop-guide-card:nth-last-child(-n + 2) {
  grid-column: span 6;
}

.shop-guide-card img {
  width: 100%;
  aspect-ratio: 4 / 3;
  object-fit: cover;
}

.shop-guide-card__body {
  padding: 1.2rem 1.25rem 1.4rem;
}

.shop-guide-card__type,
.spot-guide-card__type {
  margin: 0 0 0.35rem;
  color: var(--vermilion);
  font-size: 0.875rem;
  font-weight: 700;
  letter-spacing: 0.15em;
  text-transform: uppercase;
}

.shop-guide-card h3,
.spot-guide-card h3 {
  margin: 0 0 0.55rem;
  font-family: var(--display);
  font-size: clamp(1.35rem, 2.6vw, 1.8rem);
}

.shop-guide-card__description,
.spot-guide-card__copy > p {
  margin: 0;
  color: var(--ink-soft);
  font-size: 0.92rem;
  line-height: 1.8;
}

.shop-guide-card__contacts {
  display: flex;
  flex-wrap: wrap;
  gap: 0.65rem;
  margin-top: 1rem;
  padding-top: 1rem;
  border-top: 1px solid rgba(12, 42, 61, 0.14);
}

.shop-guide-card__contact {
  display: inline-flex;
  min-height: 2.75rem;
  align-items: center;
  justify-content: center;
  padding: 0.55rem 0.85rem;
  color: var(--water);
  background: var(--white);
  border: 1px solid rgba(12, 42, 61, 0.2);
  border-radius: 999px;
  font-size: 0.875rem;
  font-weight: 700;
  line-height: 1.35;
  text-decoration: none;
}

.shop-guide-card__contact--site {
  color: var(--white);
  background: var(--water);
  border-color: var(--water);
}

.shop-guide-card__contact:hover,
.shop-guide-card__contact:focus-visible {
  color: var(--white);
  background: var(--vermilion);
  border-color: var(--vermilion);
}

.shop-guide-card__contact:focus-visible {
  outline: 3px solid var(--gold);
  outline-offset: 3px;
}

.guide-source {
  margin: 1.5rem 0 0;
  color: rgba(255, 255, 255, 0.7);
  font-size: 0.875rem;
}

.kosuga-section {
  background:
    linear-gradient(135deg, rgba(199, 166, 106, 0.12), transparent 42%),
    var(--paper, #f5efdf);
}

.kosuga-feature {
  display: grid;
  grid-template-columns: minmax(18rem, 0.8fr) minmax(0, 1.2fr);
  gap: clamp(2rem, 6vw, 5.5rem);
  align-items: start;
}

.kosuga-feature figure {
  margin: 0;
}

.kosuga-feature__photo {
  position: relative;
  overflow: hidden;
  background: var(--iron-navy, #182b3a);
  box-shadow: var(--guide-shadow);
}

.kosuga-feature__past .kosuga-feature__photo img {
  width: 100%;
  aspect-ratio: 3 / 4;
  object-fit: cover;
}

.kosuga-feature__current {
  margin-top: 2.2rem !important;
}

.kosuga-feature__current .kosuga-feature__photo img {
  width: 100%;
  aspect-ratio: 4 / 3;
  object-fit: cover;
}

.kosuga-feature__label {
  position: absolute;
  top: 1rem;
  left: 1rem;
  padding: 0.45rem 0.75rem;
  color: var(--white);
  background: rgba(8, 30, 43, 0.86);
  font-size: 0.875rem;
  font-weight: 700;
  letter-spacing: 0.12em;
}

.kosuga-feature figcaption {
  margin-top: 0.8rem;
  color: var(--ink-soft);
}

.kosuga-feature__story h3 {
  max-width: 14em;
  margin: 0.35rem 0 1.25rem;
  font-family: var(--display);
  font-size: clamp(2rem, 4.3vw, 4rem);
  line-height: 1.28;
}

.kosuga-feature__story > p {
  max-width: 45rem;
  color: var(--ink-soft);
}

.kosuga-dramas {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 0.75rem;
  margin: 1.5rem 0;
}

.kosuga-dramas span {
  padding: 0.8rem 0.9rem;
  color: var(--water);
  background: rgba(255, 255, 255, 0.62);
  border-top: 2px solid var(--gold);
  font-weight: 700;
  text-align: center;
}

.kosuga-permission {
  margin: 1rem 0 0;
  padding: 1rem 1.1rem;
  color: var(--ink-soft);
  background: rgba(170, 68, 47, 0.08);
  border-left: 3px solid var(--vermilion);
  font-size: 0.875rem;
}

.kosuga-permission a {
  color: var(--water);
  font-weight: 700;
}

.murabayashi-section {
  background:
    linear-gradient(180deg, rgba(24, 43, 58, 0.06), transparent 38%),
    var(--paper-deep, #ebe3d0);
}

.murabayashi-photos {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: clamp(1.25rem, 3vw, 2.5rem);
  margin-top: 0.5rem;
}

.murabayashi-photo {
  margin: 0;
}

.murabayashi-photo__link {
  display: block;
}

.murabayashi-photo__frame {
  position: relative;
  overflow: hidden;
  background: var(--iron-navy, #182b3a);
  box-shadow: var(--guide-shadow);
}

.murabayashi-photo__frame img {
  display: block;
  width: 100%;
  aspect-ratio: 3 / 4;
  object-fit: cover;
  transition: transform 0.35s ease;
}

.murabayashi-photo__frame--wide img {
  aspect-ratio: 4 / 3;
}

.murabayashi-photo__link:hover .murabayashi-photo__frame img,
.murabayashi-photo__link:focus-visible .murabayashi-photo__frame img {
  transform: scale(1.03);
}

.murabayashi-photo figcaption,
.murabayashi-current figcaption {
  margin-top: 0.8rem;
  color: var(--ink-soft);
}

.murabayashi-current {
  margin: clamp(2rem, 4vw, 3rem) 0 0;
  max-width: 48rem;
}

.murabayashi-story {
  margin-top: clamp(2rem, 4vw, 3rem);
  max-width: 48rem;
}

.murabayashi-dramas {
  grid-template-columns: repeat(2, minmax(0, 1fr));
}

.murabayashi-story h3 {
  max-width: 16em;
  margin: 0.35rem 0 1.25rem;
  font-family: var(--display);
  font-size: clamp(2rem, 4.3vw, 3.5rem);
  line-height: 1.28;
}

.murabayashi-story > p {
  color: var(--ink-soft);
}

.chikuma-section {
  background:
    linear-gradient(180deg, rgba(164, 73, 50, 0.06), transparent 36%),
    var(--paper, #f5efdf);
}

.chikuma-body {
  display: grid;
  grid-template-columns: minmax(16rem, 20rem) minmax(0, 1fr);
  gap: clamp(1.4rem, 3.5vw, 2.5rem);
  align-items: start;
}

.chikuma-photo {
  margin: 0;
  max-width: 20rem;
}

.chikuma-photo__frame {
  background: var(--paper-deep, #ebe3d0);
  border: 1px solid rgba(24, 43, 58, 0.12);
  box-shadow: 0 0.8rem 1.8rem -1.2rem rgba(8, 24, 33, 0.45);
}

.chikuma-photo__frame img {
  display: block;
  width: 100%;
  height: auto;
}

.chikuma-photo figcaption {
  margin-top: 0.65rem;
  color: var(--ink-soft);
  font-size: 0.875rem;
}

.chikuma-copy {
  display: grid;
  gap: 1.25rem;
}

.chikuma-story h3 {
  max-width: 15em;
  margin: 0.35rem 0 1.1rem;
  font-family: var(--display);
  font-size: clamp(1.7rem, 3.4vw, 2.8rem);
  line-height: 1.3;
}

.chikuma-story > p {
  margin: 0 0 0.95rem;
  color: var(--ink-soft);
}

.chikuma-aside {
  max-width: 28rem;
  padding: 1rem 1.1rem 1.15rem;
  background: rgba(255, 253, 248, 0.82);
  border-top: 3px solid var(--vermilion);
}

.chikuma-aside__title {
  margin: 0 0 0.75rem;
  color: var(--water);
  font-size: 0.78rem;
  font-weight: 700;
  letter-spacing: 0.14em;
}

.chikuma-timeline {
  margin: 0;
  padding: 0;
  list-style: none;
}

.chikuma-timeline li {
  display: grid;
  grid-template-columns: 3.4rem minmax(0, 1fr);
  gap: 0.65rem;
  padding: 0.55rem 0;
  border-top: 1px solid rgba(24, 43, 58, 0.12);
  color: var(--ink-soft);
  font-size: 0.875rem;
  line-height: 1.5;
}

.chikuma-timeline li:last-child {
  border-bottom: 1px solid rgba(24, 43, 58, 0.12);
}

.chikuma-timeline strong {
  color: var(--vermilion);
  font-family: var(--display);
  font-size: 0.98rem;
  letter-spacing: 0.04em;
}

.chikuma-aside__note {
  margin: 0.85rem 0 0;
  color: var(--ink-soft);
  font-size: 0.8rem;
  line-height: 1.6;
}

.spot-guide-list {
  display: grid;
  gap: clamp(2.5rem, 6vw, 5rem);
}

.spot-guide-card {
  display: grid;
  grid-template-columns: minmax(0, 1.08fr) minmax(18rem, 0.92fr);
  gap: clamp(2rem, 5vw, 4rem);
  align-items: center;
}

.spot-guide-card:nth-child(even) {
  grid-template-columns: minmax(18rem, 0.92fr) minmax(0, 1.08fr);
}

.spot-guide-card:nth-child(even) .spot-guide-card__photo {
  order: 2;
}

.spot-guide-card__photo {
  margin: 0;
}

.spot-guide-card__photo img {
  width: 100%;
  aspect-ratio: 4 / 3;
  object-fit: cover;
  box-shadow: var(--guide-shadow);
}

.spot-guide-card__photo figcaption {
  margin-top: 0.65rem;
}

.spot-guide-card__facts {
  display: grid;
  gap: 0.75rem;
  margin: 1.2rem 0 0;
}

.spot-guide-card__fact {
  padding: 0.85rem 1rem;
  color: var(--ink-soft);
  background: rgba(199, 166, 106, 0.13);
  border-left: 3px solid var(--gold);
  font-size: 0.875rem;
}

.spot-guide-card__fact strong {
  display: block;
  color: var(--water);
}

.guide-caution {
  margin-top: 3rem;
  padding: 1.2rem 1.35rem;
  color: var(--ink-soft);
  background: var(--paper-deep);
  border-left: 4px solid var(--vermilion);
}

@media (max-width: 860px) {
  .town-guide-head,
  .kosuga-feature,
  .murabayashi-photos,
  .chikuma-body,
  .spot-guide-card,
  .spot-guide-card:nth-child(even) {
    grid-template-columns: 1fr;
  }

  .chikuma-photo {
    max-width: 18rem;
  }

  .spot-guide-card:nth-child(even) .spot-guide-card__photo {
    order: 0;
  }

  .shop-guide-card,
  .shop-guide-card:nth-child(-n + 2),
  .shop-guide-card:nth-last-child(-n + 2) {
    grid-column: span 6;
  }
}

@media (max-width: 620px) {
  .shop-guide-card,
  .shop-guide-card:nth-child(-n + 2),
  .shop-guide-card:nth-last-child(-n + 2) {
    grid-column: 1 / -1;
  }

  .guide-links {
    display: grid;
  }

  .guide-links a {
    justify-content: center;
  }

  .kosuga-dramas,
  .murabayashi-dramas {
    grid-template-columns: 1fr;
  }
}
