:root {
  --green-900: #005f2f;
  --green-700: #07923f;
  --green-500: #19ad4a;
  --lime: #f1ff34;
  --yellow: #ffe63c;
  --cream: #fffdf0;
  --paper: #f7f9e8;
  --ink: #172014;
  --muted: #50604d;
  --line: rgba(0, 95, 47, 0.18);
  --shadow: 0 24px 70px rgba(0, 73, 30, 0.16);
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  color: var(--ink);
  font-family: "Hiragino Kaku Gothic ProN", "Yu Gothic", Meiryo, sans-serif;
  background:
    radial-gradient(circle at 10% 12%, rgba(241, 255, 52, 0.42), transparent 22rem),
    radial-gradient(circle at 92% 36%, rgba(255, 230, 60, 0.45), transparent 24rem),
    linear-gradient(180deg, var(--cream) 0%, #eef8db 100%);
  line-height: 1.75;
  overflow-x: hidden;
  overflow-wrap: anywhere;
}

a {
  color: inherit;
}

img {
  display: block;
  max-width: 100%;
}

.skip-link {
  position: fixed;
  left: 1rem;
  top: -4rem;
  z-index: 20;
  padding: 0.75rem 1rem;
  color: #fff;
  background: var(--green-900);
  border-radius: 999px;
}

.skip-link:focus {
  top: 1rem;
}

.site-header {
  position: sticky;
  top: 0;
  z-index: 10;
  background: rgba(255, 253, 240, 0.84);
  backdrop-filter: blur(16px);
  border-bottom: 1px solid var(--line);
}

.nav {
  width: min(1120px, calc(100% - 32px));
  min-height: 68px;
  margin: 0 auto;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
}

.brand {
  color: var(--green-900);
  font-weight: 900;
  text-decoration: none;
  letter-spacing: 0;
}

.nav-links {
  display: flex;
  align-items: center;
  gap: 0.35rem;
}

.nav-links a {
  padding: 0.55rem 0.8rem;
  color: var(--muted);
  font-size: 0.92rem;
  font-weight: 700;
  text-decoration: none;
  border-radius: 999px;
}

.nav-links a:hover,
.nav-links a:focus-visible {
  color: var(--green-900);
  background: rgba(25, 173, 74, 0.1);
}

.hero {
  width: min(1180px, calc(100% - 32px));
  margin: 0 auto;
  padding: clamp(1.4rem, 3.8vw, 3.6rem) 0 clamp(2.5rem, 6vw, 5rem);
  display: grid;
  grid-template-columns: minmax(0, 0.94fr) minmax(320px, 0.7fr);
  align-items: center;
  gap: clamp(1.6rem, 5vw, 4rem);
}

.hero-copy {
  position: relative;
  min-width: 0;
}

.eyebrow {
  margin: 0 0 0.75rem;
  color: var(--green-700);
  font-size: 0.86rem;
  font-weight: 900;
  letter-spacing: 0.12em;
  text-transform: uppercase;
}

h1,
h2,
h3,
p {
  margin-top: 0;
}

h1 {
  margin-bottom: 1.35rem;
  color: var(--green-900);
  font-size: clamp(2.35rem, 5.3vw, 4.5rem);
  line-height: 1.02;
  letter-spacing: 0;
  font-weight: 900;
  overflow-wrap: normal;
  word-break: keep-all;
}

h1 span {
  display: block;
  color: var(--green-700);
}

.lead {
  max-width: 42rem;
  margin-bottom: 2rem;
  color: var(--muted);
  font-size: clamp(1rem, 1.5vw, 1.18rem);
  font-weight: 700;
  overflow-wrap: anywhere;
  word-break: break-all;
}

.ended-message {
  font-size: clamp(1.5rem, 2.25vw, 1.77rem);
  line-height: 1.55;
}

.mobile-break {
  display: none;
}

.hero-actions,
.entry-box {
  display: flex;
  align-items: center;
  gap: 0.9rem;
  flex-wrap: wrap;
}

.button {
  display: inline-flex;
  min-height: 52px;
  align-items: center;
  justify-content: center;
  padding: 0.85rem 1.35rem;
  font-weight: 900;
  line-height: 1.2;
  text-decoration: none;
  border-radius: 999px;
  transition: transform 160ms ease, box-shadow 160ms ease, background 160ms ease;
}

.button:hover,
.button:focus-visible {
  transform: translateY(-2px);
}

.button.primary {
  color: #fff;
  background: var(--green-700);
  box-shadow: 0 14px 34px rgba(7, 146, 63, 0.26);
}

.button.primary:hover,
.button.primary:focus-visible {
  background: var(--green-900);
}

.button.secondary {
  color: var(--green-900);
  background: rgba(255, 255, 255, 0.7);
  border: 1px solid var(--line);
}

.button.large {
  min-width: min(100%, 18rem);
}

.flyer-panel {
  margin: 0;
  padding: clamp(0.55rem, 1.5vw, 0.9rem);
  background: #fff;
  border: 1px solid rgba(0, 95, 47, 0.14);
  border-radius: 8px;
  box-shadow: var(--shadow);
  transform: rotate(1deg);
}

.flyer-panel img {
  border-radius: 4px;
}

.details-band {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 1px;
  color: #fff;
  background: var(--green-900);
}

.detail-item {
  min-height: 150px;
  padding: clamp(1.25rem, 3vw, 2rem);
  display: flex;
  flex-direction: column;
  justify-content: center;
  background: linear-gradient(135deg, var(--green-700), var(--green-900));
}

.detail-item span {
  margin-bottom: 0.35rem;
  color: var(--lime);
  font-size: 0.9rem;
  font-weight: 900;
}

.detail-item strong {
  font-size: clamp(1.28rem, 3vw, 2rem);
  line-height: 1.25;
}

.detail-item small {
  margin-top: 0.35rem;
  font-weight: 700;
}

.section {
  width: min(1120px, calc(100% - 32px));
  margin: 0 auto;
  padding: clamp(3.2rem, 7vw, 6.2rem) 0;
}

.section-heading {
  max-width: 760px;
  margin-bottom: clamp(1.6rem, 4vw, 2.8rem);
}

h2 {
  margin-bottom: 0;
  color: var(--green-900);
  font-size: clamp(2rem, 4vw, 3.4rem);
  line-height: 1.15;
  font-weight: 900;
  overflow-wrap: anywhere;
  word-break: break-all;
}

.about-grid {
  display: grid;
  grid-template-columns: minmax(260px, 0.8fr) minmax(0, 1.2fr);
  gap: clamp(1rem, 3vw, 2rem);
}

.profile-card,
.topic,
.schedule-list,
.speaker-box,
.giveaway-box,
.entry-box,
.entry-notes article,
address {
  background: rgba(255, 255, 255, 0.76);
  border: 1px solid var(--line);
  border-radius: 8px;
  box-shadow: 0 14px 42px rgba(0, 73, 30, 0.08);
}

.profile-card {
  padding: clamp(1.25rem, 3vw, 2rem);
}

.label {
  width: fit-content;
  margin-bottom: 1rem;
  padding: 0.2rem 0.75rem;
  color: #fff;
  background: var(--green-700);
  border-radius: 999px;
  font-size: 0.78rem;
  font-weight: 900;
}

.profile-card h3,
.topic h3,
.speaker-box h3,
.entry-notes h3 {
  color: var(--green-900);
  line-height: 1.35;
}

.profile-card h3 {
  margin-bottom: 1rem;
  font-size: clamp(1.5rem, 3vw, 2.15rem);
}

.topics {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 1rem;
}

.topic {
  min-height: 100%;
  padding: 1.35rem;
}

.topic span {
  display: inline-flex;
  width: 2.7rem;
  height: 2.7rem;
  margin-bottom: 1rem;
  align-items: center;
  justify-content: center;
  color: var(--green-900);
  background: var(--yellow);
  border-radius: 50%;
  font-weight: 900;
}

.topic h3 {
  margin-bottom: 0.65rem;
  font-size: 1.15rem;
}

.topic p,
.profile-card p,
.schedule-list p,
.giveaway-box small,
.entry-box p,
.entry-notes p,
address small {
  color: var(--muted);
}

.access-section {
  padding-top: clamp(3rem, 6vw, 5rem);
}

.access-grid {
  display: grid;
  grid-template-columns: minmax(280px, 0.88fr) minmax(320px, 1.12fr);
  gap: clamp(1rem, 3vw, 1.6rem);
  align-items: stretch;
}

.access-info,
.map-panel {
  min-width: 0;
  background: rgba(255, 255, 255, 0.78);
  border: 1px solid var(--line);
  border-radius: 8px;
  box-shadow: 0 14px 42px rgba(0, 73, 30, 0.08);
}

.access-info {
  padding: clamp(1.25rem, 3vw, 1.8rem);
}

.venue-address {
  padding: 0;
  background: transparent;
  border: 0;
  box-shadow: none;
}

.map-link {
  margin: 1.25rem 0 1.1rem;
}

.transit-list {
  display: grid;
  gap: 0.75rem;
}

.transit-list article {
  padding-top: 0.9rem;
  border-top: 1px solid var(--line);
}

.transit-list span {
  display: block;
  margin-bottom: 0.25rem;
  color: var(--green-700);
  font-size: 0.86rem;
  font-weight: 900;
}

.transit-list p {
  margin-bottom: 0;
  color: var(--muted);
  font-size: 0.96rem;
  font-weight: 700;
  overflow-wrap: anywhere;
  word-break: break-all;
}

.map-panel {
  position: relative;
  min-height: 430px;
  overflow: hidden;
}

.map-fallback {
  position: absolute;
  left: 1rem;
  right: 1rem;
  bottom: 1rem;
  z-index: 2;
  padding: 0.85rem 1rem;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 0.35rem;
  color: var(--green-900);
  text-align: center;
  background: rgba(255, 253, 240, 0.92);
  border: 1px solid var(--line);
  border-radius: 8px;
  backdrop-filter: blur(12px);
}

.map-fallback strong,
.map-fallback span {
  max-width: 24rem;
  overflow-wrap: anywhere;
}

.map-fallback span {
  color: var(--muted);
  font-size: 0.94rem;
  font-weight: 700;
}

.map-panel iframe {
  position: relative;
  z-index: 1;
  width: 100%;
  height: 100%;
  min-height: 430px;
  display: block;
  border: 0;
}

.program-grid {
  display: grid;
  grid-template-columns: minmax(0, 1.15fr) minmax(280px, 0.85fr);
  gap: 1rem;
  align-items: stretch;
}

.schedule-list {
  padding: clamp(1.1rem, 3vw, 1.6rem);
  display: grid;
  gap: 0.85rem;
}

.schedule-list article {
  display: grid;
  grid-template-columns: 5.5rem minmax(0, 1fr);
  gap: 0.9rem;
  align-items: start;
}

.schedule-list time {
  display: inline-flex;
  min-height: 2.4rem;
  align-items: center;
  justify-content: center;
  color: #fff;
  background: var(--green-700);
  border-radius: 999px;
  font-size: 1.05rem;
  font-weight: 900;
}

.schedule-list p {
  margin-bottom: 0;
  font-weight: 800;
  overflow-wrap: anywhere;
  word-break: break-all;
}

.speaker-box {
  padding: clamp(1.25rem, 3vw, 1.8rem);
}

.speaker-box h3 {
  margin-bottom: 1rem;
  font-size: 1.3rem;
}

.speaker-box ul {
  margin: 0;
  padding: 0;
  display: grid;
  gap: 0.8rem;
  list-style: none;
}

.speaker-box li {
  padding-top: 0.8rem;
  color: var(--muted);
  font-weight: 800;
  border-top: 1px solid var(--line);
}

.speaker-box li:first-child {
  padding-top: 0;
  border-top: 0;
}

.giveaway-box {
  margin-top: 1rem;
  padding: clamp(1.2rem, 3vw, 1.8rem);
  display: grid;
  gap: 0.35rem;
}

.giveaway-box span {
  color: var(--green-700);
  font-size: 0.86rem;
  font-weight: 900;
}

.giveaway-box strong {
  color: var(--green-900);
  font-size: clamp(1.25rem, 2.8vw, 1.8rem);
  line-height: 1.35;
}

.giveaway-box small {
  font-weight: 700;
}

.entry-section {
  width: 100%;
  padding-inline: max(16px, calc((100% - 1120px) / 2));
  background:
    linear-gradient(90deg, rgba(241, 255, 52, 0.2), transparent 42%),
    var(--green-900);
}

.entry-box {
  padding: clamp(1.4rem, 4vw, 2.4rem);
  justify-content: space-between;
  background: #fffdf0;
}

.entry-box h2 {
  margin-bottom: 0.75rem;
}

.entry-box p {
  max-width: 42rem;
  margin-bottom: 0;
  font-weight: 700;
}

.entry-notes {
  margin-top: 1rem;
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 1rem;
}

.entry-notes article {
  padding: 1.25rem;
}

.entry-notes h3 {
  margin-bottom: 0.45rem;
  font-size: 1.05rem;
}

.entry-notes p {
  margin-bottom: 0;
  font-size: 0.95rem;
}

.contact-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 1rem;
}

address {
  padding: clamp(1.25rem, 3vw, 1.8rem);
  font-style: normal;
}

address span {
  display: block;
  margin-bottom: 0.75rem;
  color: var(--green-700);
  font-size: 0.86rem;
  font-weight: 900;
}

address strong,
address small {
  display: block;
}

address strong {
  margin-bottom: 0.45rem;
  color: var(--green-900);
  font-size: 1.12rem;
  line-height: 1.55;
  overflow-wrap: anywhere;
  word-break: break-all;
}

address a {
  display: inline-flex;
  margin-top: 1rem;
  color: var(--green-900);
  font-size: 1.55rem;
  font-weight: 900;
  text-decoration-thickness: 0.12em;
  text-underline-offset: 0.18em;
}

.footer {
  padding: 2rem max(16px, calc((100% - 1120px) / 2));
  color: rgba(255, 255, 255, 0.88);
  background: var(--green-900);
}

.footer p {
  margin: 0.2rem 0;
  font-weight: 700;
}

@media (max-width: 900px) {
  .hero,
  .about-grid,
  .access-grid,
  .program-grid,
  .details-band,
  .entry-notes,
  .contact-grid {
    grid-template-columns: 1fr;
  }

  .hero {
    padding-top: 2rem;
  }

  .flyer-panel {
    max-width: 520px;
    margin: 0 auto;
    transform: none;
  }

  .detail-item {
    min-height: 118px;
  }

  .topics {
    grid-template-columns: 1fr;
  }

  .map-panel,
  .map-panel iframe {
    min-height: 340px;
  }
}

@media (max-width: 640px) {
  .hero,
  .section,
  .nav {
    width: 100%;
    padding-left: 16px;
    padding-right: 16px;
  }

  .hero {
    display: block;
  }

  .nav {
    min-height: 58px;
    gap: 0.5rem;
  }

  .brand {
    font-size: 0.92rem;
    flex-shrink: 0;
  }

  .nav-links {
    min-width: 0;
    justify-content: flex-end;
    gap: 0.15rem;
  }

  .nav-links a {
    padding: 0.45rem 0.34rem;
    font-size: 0.72rem;
  }

  .nav-links a:first-child {
    display: none;
  }

  h1 {
    font-size: 2.15rem;
    line-height: 1.12;
    word-break: keep-all;
  }

  h1 span {
    word-break: keep-all;
  }

  .lead {
    font-size: 0.96rem;
    overflow-wrap: anywhere;
    word-break: break-all;
  }

  .ended-message {
    font-size: 1.44rem;
    line-height: 1.55;
  }

  .mobile-break {
    display: inline;
  }

  .nav-links a:last-child {
    display: none;
  }

  .schedule-list article {
    grid-template-columns: 1fr;
    gap: 0.5rem;
  }

  .schedule-list time {
    width: 5.5rem;
  }

  .hero-actions .button,
  .button.large,
  .map-link {
    width: 100%;
  }

  .flyer-panel {
    width: 100%;
    margin-top: 1.6rem;
  }

}
