:root {
  color-scheme: light;
  --navy: #172b60;
  --deep: #172b60;
  --yellow: #fff000;
  --teal: #37a9c1;
  --light: #d9effb;
  --ink: #172b60;
  font-family: "Zen Maru Gothic", "Hiragino Sans", "Yu Gothic", Meiryo, sans-serif;
  color: var(--ink);
}

* {
  box-sizing: border-box;
}

body {
  margin: 0;
  background: #fff;
  line-height: 1.7;
  font-weight: 700;
}

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

a {
  color: inherit;
}

a:focus-visible {
  outline: 3px solid #cd5500;
  outline-offset: 5px;
}

[id] {
  scroll-margin-top: 1rem;
}

.wrap {
  width: min(1100px, calc(100% - 48px));
  margin-inline: auto;
}

.site-header {
  background: var(--deep);
  color: white;
}

.header-inner {
  min-height: 64px;
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 16px;
}

.brand {
  color: var(--yellow);
  font-weight: 900;
  text-decoration: none;
}

.brand span {
  color: white;
}

nav {
  display: flex;
  gap: clamp(12px, 3vw, 32px);
  font-size: .9rem;
  font-weight: 700;
}

nav a {
  text-decoration: none;
}

nav a:hover,
.footer a:hover {
  color: var(--yellow);
}

.hero {
  padding: 22px 0 29px;
  text-align: center;
  background: #f9c73e url("assets/pc-background.png") center / cover no-repeat;
  color: white;
  padding-top: 0px;
}

.actions {
  display: flex;
  justify-content: center;
  flex-wrap: wrap;
  padding: 28px 18px;
  gap: 14px;
  background: var(--deep);
}
.actions { background: var(--navy); }
.actions .button:first-child {
  width: clamp(260px, 25vw, 440px);
  min-height: clamp(60px, 5vw, 86px);
  padding-inline: clamp(24px, 3vw, 48px);
  font-size: clamp(1.1rem, 1.4vw, 1.5rem);
  line-height: 1.3;
  text-align: center;
}
.button { background: linear-gradient(110deg, #78c832, #35c18a); color: white; border: 2px solid white; }
.button-outline { background: #f42d78; color: white; border-color: white; }

.button {
  display: inline-flex;
  min-height: 49px;
  align-items: center;
  justify-content: center;
  padding: 8px 25px;
  border: 2px solid transparent;
  border-radius: 100px;
  color: var(--deep);
  background: var(--yellow);
  font-weight: 800;
  text-decoration: none;
}

.button:hover {
  background: #ffeb8a;
}

.button-outline {
  color: white;
  background: transparent;
  border-color: #bcd8e4;
}

.button-outline:hover {
  color: var(--deep);
  background: white;
}

.section {
  padding-block: clamp(50px, 8vw, 92px);
}

h2 {
  font-size: clamp(1.6rem, 4.6vw, 2.55rem);
  line-height: 1.4;
  font-weight: 700;
  text-align: center;
  margin-bottom: clamp(24px, 4vw, 42px);
}

h2 span {
  background: linear-gradient(transparent 68%, var(--yellow) 68%);
  padding-inline: .16em;
}

.about {
  text-align: center;
}

.about p {
  max-width: 800px;
  margin-inline: auto;
}

.about .lead {
  margin-bottom: 16px;
  font-weight: 700;
  font-size: clamp(1.12rem, 3vw, 1.5rem);
  color: #146a67;
}
.about .lead { color: #f42d78; }
.outline {
  background: var(--light);
}
.outline { background: linear-gradient(180deg,#dff3fc,#9bcdf1); }

.schedule,
.fact,
.venue-card {
  border: 2px solid var(--navy);
  border-radius: 20px;
  overflow: hidden;
  background: #fff;
}

.schedule {
  max-width: 790px;
  margin-inline: auto;
  text-align: center;
}

.schedule-head {
  padding: 18px;
  background: var(--navy);
  color: white;
  font-weight: 750;
}

.schedule-date {
  font-size: clamp(20px, 4vw, 30px);
}

.schedule-date strong {
  font-size: clamp(28px, 5vw, 30px);
  color: var(--yellow);
}

.schedule-date strong .date-number {
  display: inline;
  font-size: clamp(36px, 5.5vw, 64px);
  line-height: 1;
}

.schedule-date strong .date-unit {
  display: inline;
  font-size: clamp(20px, 1.8vw, 30px);
  vertical-align: baseline;
}

.schedule-date span {
  white-space: nowrap;
}

.sessions {
  display: grid;
  grid-template-columns: 1fr 1fr;
}

.sessions article {
  padding: 23px 10px;
}

.sessions article+article {
  border-left: 1px dashed #9eb7bf;
}

.sessions h3 {
  display: inline-block;
  padding: 2px 17px;
  border-radius: 100px;
  background: #c1ebe6;
  font-size: 1rem;
}

.sessions article+article h3 {
  background: #fff0a1;
}

.hours {
  font-size: clamp(1.2rem, 4vw, 2rem);
  font-weight: 900;
  white-space: nowrap;
}

.facts {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 340px));
  justify-content: center;
  gap: clamp(14px, 2vw, 26px);
  margin-top: clamp(28px, 5vw, 54px);
}

.fact {
  --fact-ink: #974008;
  --fact-tint: #fff0d3;
  --fact-border: #eeb853;
  display: grid;
  align-content: center;
  justify-items: center;
  aspect-ratio: 1;
  padding: 12%;
  border-color: var(--fact-border);
  border-radius: 50%;
  background: radial-gradient(circle at 50% 40%, #fff 42%, var(--fact-tint) 100%);
  text-align: center;
  font-weight: 700;
}
.fact { border-color: white; background: white; }
.fact h3 { background: transparent; color: #159bd8; }
.quantity strong { color: #f42d78; }
.fact.audience { border-color: white; background: white; }
.fact:last-child { border-color: white; background: white; }
.venue { background: #39aac1; }
.venue-card { border-color: white; }
.venue-info .button-map { background: linear-gradient(110deg,#78c832,#35c18a); }

.fact.audience {
  --fact-ink: #086762;
  --fact-tint: #d5f5ef;
  --fact-border: #68c6ba;
}

.fact:last-child {
  --fact-ink: #244568;
  --fact-tint: #e0ecfc;
  --fact-border: #94b5dd;
}

.fact h3 {
  padding: .22em .85em;
  border-radius: 999px;
  background: var(--fact-tint);
  color: var(--fact-ink);
  font-size: clamp(1.12rem, 2.1vw, 1.4rem);
  font-weight: 900;
}

.fact p:not(.quantity), .fact ul {
  line-height: 1.2;
}

.quantity {
  font-weight: 700;
}

.quantity strong {
  color: var(--fact-ink);
  font-size: clamp(2.8rem, 6vw, 4.25rem);
  font-weight: 700;
}

.quantity2 strong {
  color: var(--fact-ink);
  font-size: clamp(1.85rem, 5.5vw, 2rem);
  font-weight: 700;
}

.quantity2 {
  margin: 0;
  line-height: 1.15;
}

.fact ul {
  padding: 0;
  margin: 18px 0 0;
  list-style: none;
}

.fact li strong {
  color: var(--fact-ink);
  font-weight: 900;
}

.fact li+li {
  margin-top: 5px;
}

@media (max-width: 960px) {
  .facts {
    grid-template-columns: minmax(0, 330px);
  }
}

.venue {
  background: #FFFACD;
}

.venue-card {
  display: grid;
  grid-template-columns: 1fr 1.45fr;
}

.venue-info {
  align-self: center;
  padding: clamp(20px, 4vw, 42px);
}

.venue-info h3 {
  font-size: clamp(1.35rem, 3vw, 2rem);
}

.venue-info h3 span {
  display: block;
  font-size: 1.6rem;
}

.venue-info p {
  margin: 12px 0 16px;
}

.venue-info .parking-note {
  max-width: 34em;
  margin: -4px 0 30px;
  font-size: clamp(0.7rem, 1.2vw, 0.8rem);
  line-height: 1.6;
}

.venue-card iframe {
  border: 0;
  width: 100%;
  height: 100%;
  min-height: 300px;
  background: #f1f4ed;
}

.application {
  text-align: center;
  background: var(--navy);
  color: #fff;
}

.footer {
  padding-block: 36px 30px;
  background: var(--deep);
  color: white;
}
.footer { background: var(--navy); }

.footer-inner {
  display: grid;
  width: min(1320px, calc(100% - 48px));
  grid-template-columns: minmax(0, 1fr) minmax(320px, 380px);
  align-items: center;
  gap: 24px 42px;
  font-size: .875rem;
}

.footer-parties {
  display: flex;
  align-items: center;
  flex-wrap: wrap;
  gap: 18px 30px;
  font-size: clamp(.85rem, 1.1vw, 1.05rem);
}

.footer-parties p { line-height: 1.8; }
.footer-parties strong { white-space: nowrap; }
.footer-contact h2 {
  margin: 0 0 6px;
  color: white;
  font-size: 1rem;
  text-align: left;
}
.footer-contact a {
  display: flex;
  align-items: center;
  gap: 9px;
  width: fit-content;
  margin-top: 5px;
  text-decoration: none;
}
.footer-contact {
  padding: 14px 14px;
  border: 3px dotted rgb(255 255 255 / 88%);
  border-radius: 15px;
}
.footer-contact svg {
  width: 20px;
  height: 20px;
  flex: none;
  fill: none;
  stroke: currentColor;
  stroke-linecap: round;
  stroke-linejoin: round;
  stroke-width: 1.8;
}
.footer-copyright {
  grid-column: 1 / -1;
  margin-top: 12px;
  color: rgb(255 255 255 / 78%);
  text-align: center;
}
.footer-top {
  position: absolute;
  right: clamp(18px, 2.2vw, 42px);
  bottom: 20px;
  display: grid;
  width: 45px;
  aspect-ratio: 1;
  place-items: center;
  border: 2px solid white;
  border-radius: 50%;
  color: white;
}
.footer-top svg {
  width: 26px;
  height: 26px;
  fill: none;
  stroke: currentColor;
  stroke-width: 2.4;
  stroke-linecap: round;
  stroke-linejoin: round;
}

@media (max-width: 690px) {
  .wrap {
    width: calc(100% - 32px);
  }

  .header-inner {
    padding-block: 10px;
    flex-wrap: wrap;
    justify-content: center;
    gap: 4px 20px;
  }

  .venue-card {
    grid-template-columns: 1fr;
  }

  .venue-card iframe {
    min-height: 250px;
  }

  .footer {
    padding-block: 30px 92px;
  }

  .footer-inner {
    width: calc(100% - 32px);
    grid-template-columns: 1fr;
    gap: 22px;
  }

  .footer-parties {
    align-items: flex-start;
    flex-direction: column;
    gap: 8px;
  }

  .footer-contact { width: min(100%, 380px); }
  .footer-copyright { margin-top: 0; }
  .footer-top { right: 16px; bottom: 16px; width: 54px; }
}

@media (max-width: 455px) {
  .actions .button {
    width: min(340px, 100%);
  }

  .schedule-date span {
    display: block;
  }

  .footer-contact a { width: 100%; }
  .footer-contact span { min-width: 0; overflow-wrap: anywhere; }
}
/* 次のセクションの背景を、手前のセクションへ波形で重ねる。 */
main {
  --wave-height: clamp(28px, 5.5vw, 76px);
  --wave-shape: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 1440 96' preserveAspectRatio='none'%3E%3Cpath fill='black' d='M0 64C187 107 335 93 527 38S850 2 1035 42 1315 90 1440 24V96H0Z'/%3E%3C/svg%3E");
}

.hero, .actions, .about, .outline, .venue {
  padding-bottom: calc(var(--wave-base-padding) + var(--wave-height));
}

.hero { --wave-base-padding: 0px; }
.actions { --wave-base-padding: 28px; --wave-color: var(--deep); }
.about, .outline, .venue { --wave-base-padding: clamp(50px, 8vw, 92px); }
.about { --wave-color: #fff; }
.outline { --wave-color: var(--light); }
.venue { --wave-color: #FFFACD; }
.application { --wave-color: var(--navy); }

.actions, .about, .outline, .venue, .application {
  position: relative;
}

.actions::before, .about::before, .outline::before, .venue::before, .application::before {
  content: "";
  position: absolute;
  inset: auto 0 calc(100% - 1px);
  height: var(--wave-height);
  pointer-events: none;
  background: var(--wave-color);
  mask: var(--wave-shape) center / 100% 100% no-repeat;
}

.about::before, .venue::before {
  transform: scaleX(-1);
}

.hero + .actions::before {
  height: calc(var(--wave-height) + clamp(48px, 7vw, 68px));
  mask: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 1440 96' preserveAspectRatio='none'%3E%3Cpath fill='black' d='M0 32 C180 52 340 52 520 32 S840 12 1030 30 C1170 44 1300 42 1440 24 V96 H0Z'/%3E%3C/svg%3E") center / 100% 100% no-repeat;
}

/* 斜線とドットは背景の余白に収め、本文の背面に敷く。 */
.hero, .actions, .about, .outline, .venue, .application, .footer {
  position: relative;
  isolation: isolate;
  --decoration-color: #fff;
  --decoration-opacity: .17;
}

.about, .outline {
  --decoration-color: #238b86;
  --decoration-opacity: .12;
}

.hero::after, .actions::after, .about::after, .outline::after,
.venue::after, .application::after, .footer::after {
  content: "";
  position: absolute;
  z-index: -1;
  inset: 0;
  pointer-events: none;
  background: var(--decoration-color);
  opacity: var(--decoration-opacity);
  mask:
    url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 160 145'%3E%3Cpath d='M14 114 115 13M52 128 144 36' stroke='black' stroke-width='12' stroke-linecap='round'/%3E%3C/svg%3E") left 3% top 18% / clamp(48px, 11vw, 160px) auto no-repeat,
    url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 120 120'%3E%3Cdefs%3E%3Cpattern id='d' width='13' height='13' patternUnits='userSpaceOnUse'%3E%3Ccircle cx='6.5' cy='6.5' r='2.4'/%3E%3C/pattern%3E%3C/defs%3E%3Ccircle cx='60' cy='60' r='59' fill='url(%23d)'/%3E%3C/svg%3E") right 4% bottom 14% / clamp(45px, 9vw, 125px) auto no-repeat;
}

.about::after, .venue::after, .footer::after {
  transform: scaleX(-1);
}

@media (max-width: 690px) {
  .hero, .actions, .about, .outline, .venue, .application, .footer {
    --decoration-opacity: .08;
  }
}

.application h2 {
  color: white;
}

.application-note {
  margin-top: 0;
  font-size: 1.1rem;
}

/* FV layout */
.hero-stage {
  position: relative;
  display: grid;
  grid-template-columns: minmax(0, .95fr) minmax(0, 2.1fr) minmax(0, .95fr);
  grid-template-rows: auto auto;
  align-items: center;
  column-gap: clamp(10px, 1.6vw, 30px);
  row-gap: 0px;;
  width: min(1800px, 100%);
  padding: 0px clamp(16px, 2.5vw, 48px) 0px;
  margin: 0 auto;
}

.hero-copy,
.hero-date-picture { display: contents; }

.hero-title-art,
.hero-date-art,
.hero-character,
.hero-facts img {
  display: block;
  max-width: 100%;
  height: auto;
}

.hero-character {
  width: 100%;
  object-fit: contain;
  justify-self: center;
  align-self: center;
}

.hero-character-left {
  position: absolute;
  left: clamp(16px, 2.5vw, 48px);
  bottom: clamp(-64px, -4vw, -30px);
  width: calc((100% - clamp(32px, 5vw, 96px) - clamp(20px, 3.2vw, 60px)) * .257);
}

.hero-title-art {
  position: static;
  grid-column: 2;
  grid-row: 1;
  width: 96%;
  justify-self: center;
  margin-inline: auto;
}

.hero-date-art {
  position: static;
  grid-column: 2;
  grid-row: 2;
  width: 100%;
  transform: translateY(-clamp(180px, 13vw, 190px));
}

.hero-side-right {
  position: absolute;
  top: clamp(24px, 4vw, 64px);
  right: clamp(16px, 2.5vw, 48px);
  bottom: clamp(-64px, -4vw, -30px);
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  align-items: center;
  width: clamp(150px, 23%, 410px);
}

.hero-facts {
  position: relative;
  display: grid;
  justify-items: center;
  align-content: center;
  width: 100%;
  gap: clamp(8px, 1.1vw, 18px);
}

.hero-facts img {
  width: min(100%, clamp(110px, 12vw, 220px));
}

.hero-character-right {
  position: static;
  width: 100%;
}

.hero h1.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;
}

@media (max-width: 560px) {
  .hero {
    padding: 0;
    background-color: #f9c73e;
    background-image: url("assets/sp-background.png");
    background-position: center top;
    background-size: cover;
  }

  .hero-stage {
    grid-template-columns: minmax(0, 1fr) minmax(0, 1fr);
    grid-template-rows: auto auto auto auto;
    column-gap: 10px;
    padding: clamp(24px, 7vw, 42px) 14px 0;
  }

  .hero-title-art {
    grid-column: 1 / -1;
    grid-row: 1;
    width: 88%;
    justify-self: center;
    transform: translateX(clamp(12px, 3.5vw, 20px));
  }

  .hero-date-art {
    grid-column: 1 / -1;
    grid-row: 2;
    width: 60%;
    transform: translateY(-30px);
    justify-self: center;
    position: relative;
    z-index: 2;
  }

  .hero-character {
    position: static;
    width: min(100%, clamp(118px, 36vw, 245px));
    align-self: end;
  }

  .hero-character-left {
    grid-column: 1;
    grid-row: 4;
    justify-self: start;
    margin-left: clamp(0px, 2vw, 16px);
  }

  .hero-side-right {
    display: contents;
  }

  .hero-facts {
    grid-column: 1 / -1;
    grid-row: 3;
    display: flex;
    justify-content: center;
    align-items: center;
    width: 100%;
    gap: clamp(12px, 4vw, 28px);
  }

  .hero-facts img {
    width: clamp(88px, 22vw, 178px);
    max-width: calc((100% - 12px) / 2);
  }

  .hero-character-right {
    grid-column: 2;
    grid-row: 4;
    justify-self: end;
    margin-right: clamp(0px, 2vw, 16px);
  }

  .hero + .actions::before {
    height: clamp(44px, 12vw, 62px);
  }
}

@media (min-width: 561px) and (max-width: 1100px) {
  .hero-title-art {
    transform: translateX(clamp(12px, 2vw, 22px));
  }

  .hero-date-art {
    transform: translateY(-clamp(195px, 24vw, 220px));
  }

}

@media (min-width: 561px) and (max-width: 1100px) {
  .hero {
    padding-bottom: calc(var(--wave-height) + 30px);
  }
}

@media (max-width: 560px) {
  .actions {
    align-items: center;
  }

  .actions .button,
  .actions .button:first-child {
    width: min(340px, calc(100vw - 48px));
    min-height: 60px;
    padding-inline: 12px;
    font-size: 1rem;
    line-height: 1.3;
    text-align: center;
  }

  .actions .button.button-outline {
    font-size: clamp(.9rem, 3.2vw, 1rem);
  }

  .actions .button:first-child {
    font-size: clamp(1.1rem, 4vw, 1.25rem);
  }

  .venue-info {
    text-align: center;
  }

  .venue-info .button-map {
    display: flex;
    width: fit-content;
    margin-inline: auto;
  }
}

.facts {
  --fact-emphasis: #244568;
  --fact-heading-background: #e0ecfc;
}

.facts .fact h3 {
  background: var(--fact-heading-background);
  color: var(--fact-emphasis);
}

.facts .quantity strong,
.facts .quantity2 strong,
.facts li strong {
  color: var(--fact-emphasis);
}

.facts .quantity strong,
.facts .audience li strong,
.facts .audience .audience-emphasis {
  color: #159bd8;
}

.facts .audience li little {
  font-size: small;
}

.outline {
  --wave-color: #dff3fc;
}

@media (min-width: 561px) {
  .actions .button {
    transform: translateY(-30px);
  }
}

@media (min-width: 561px) {
  .actions-bottom .button {
    transform: translateY(15px);
  }
}

.audience li {
  margin-bottom: 18px;
}

.audience li:last-child {
  margin-bottom: 0;
}

.venue-info {
  text-align: center;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
}

.venue-card {
  padding: 20px;
  overflow: hidden;
}

.venue-card iframe {
  border-radius: 0;
  width: 100%;
}

.hero-date-art {
  transform: translateY(-30px);
}

.actions .button[href*="forms.gle"] {
  font-weight: 800;
  font-size: 1.65em;
}

.button-outline[href="#audience"] {
  display: none;
}

