/* Shared colors, fonts and base elements */
:root {
  --green: #3baaa3;
  --pink: #f09cb4;
  --blue: #45b1e6;
  --ink: #5a4146;
  --red: #f55f5f;
  --font-body: "Noto Sans JP","Yu Gothic",Meiryo,sans-serif;
  --font-display: "A P-OTF PuhuPicnic Min2","M PLUS Rounded 1c","Yu Gothic",Meiryo,sans-serif;
  --home-display-font: var(--font-display);
}

*,*::before,*::after {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
  scroll-padding-top: 100px;
}

body {
  margin: 0;
  color: #111;
  background: #fff;
  font: 14px/1.8 var(--font-body);
  overflow-x: clip;
}

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

button,a {
  -webkit-tap-highlight-color: transparent;
}

a {
  color: inherit;
  text-decoration: none;
}

button {
  font: inherit;
  cursor: pointer;
}

button:disabled {
  cursor: default;
}

img {
  max-width: 100%;
  vertical-align: middle;
}

button,a {
  touch-action: manipulation;
}

a:focus-visible,button:focus-visible,[tabindex]:focus-visible {
  outline: 3px solid var(--blue);
  outline-offset: 5px;
}

.sr-only,.skip-link:not(:focus) {
  position: absolute;
  width: 1px;
  height: 1px;
  overflow: hidden;
  clip-path: inset(50%);
  white-space: nowrap;
}

.skip-link:focus {
  position: fixed;
  top: 5px;
  left: 10px;
  z-index: 1000;
  background: white;
  padding: 12px;
}

.container {
  width: min(1000px,calc(100% - 40px));
  margin-inline: auto;
}

/* Header and navigation */
.site-header {
  position: fixed;
  inset: 0 0 auto;
  z-index: 100;
  height: 80px;
  background: #fff;
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 0 20px;
  gap: 20px;
}

.site-brand {
  display: flex;
  align-items: center;
  gap: 20px;
  flex-shrink: 0;
}

.brand-graphic {
  width: 71.15px;
  height: 40px;
  overflow: hidden;
}

.brand-canvas {
  width: 177.872px;
  height: 100px;
  transform: scale(.4);
  transform-origin: top left;
}

.brand-canvas>[data-node-id] {
  position: relative!important;
  inset: auto!important;
  width: 177.872px!important;
  height: 100px!important;
  transform: none!important;
}

.brand-by {
  display: flex;
  align-items: center;
  gap: 10px;
  font-size: 12px;
}

.brand-by img {
  width: 85px;
  height: 20px;
  object-fit: contain;
}

.site-nav {
  display: flex;
  align-items: center;
  gap: 30px;
  color: var(--green);
  font-size: 15px;
  font-weight: 700;
  white-space: nowrap;
}

.site-nav a {
  display: inline-flex;
  align-items: center;
  gap: 5px;
}

.site-nav a:not(.nav-cta)::before {
  content: "";
  width: 14px;
  height: 14px;
  border: 1px solid var(--green);
  border-radius: 3px;
  transform: rotate(-12deg);
}

.site-nav a:hover {
  opacity: .7;
}

.site-nav .nav-cta {
  background: var(--red);
  color: #fff;
  padding: 9px 30px;
  border-radius: 30px;
}

.menu-toggle {
  display: none;
  background: transparent;
  border: 0;
  width: 44px;
  height: 44px;
  color: var(--green);
  position: relative;
}

.menu-toggle span {
  position: absolute;
  left: 8px;
  width: 28px;
  height: 2px;
  background: currentColor;
  transition: transform .2s,top .2s;
}

.menu-toggle span:first-child {
  top: 16px;
}

.menu-toggle span:last-child {
  top: 27px;
}

.menu-toggle[aria-expanded=true] span:first-child {
  top: 21px;
  transform: rotate(45deg);
}

.menu-toggle[aria-expanded=true] span:last-child {
  top: 21px;
  transform: rotate(-45deg);
}

/* Contact cards and actions */
.site-contact {
  padding: 100px 0;
  background: #fff0f4;
}

.contact-heading {
  text-align: center;
}

.color-word {
  font: 900 30px/1.4 var(--font-display);
  letter-spacing: 1px;
}

.title-label {
  display: table;
  margin: 16px auto 26px;
  border: 2px solid var(--pink);
  box-shadow: 4px 4px 0 var(--pink);
  border-radius: 9px;
  background: white;
  color: var(--pink);
  font: 900 30px/1.4 var(--font-display);
  letter-spacing: 3px;
  padding: 10px 22px;
}

.contact-intro {
  margin: 0 auto 50px;
  text-align: center;
}

.contact-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 40px;
}

.contact-card {
  min-width: 0;
  padding: 50px 40px;
  background: white;
  border-radius: 20px;
  display: flex;
  align-items: center;
  flex-direction: column;
  gap: 26px;
}

.contact-card h3 {
  position: relative;
  width: 300px;
  min-height: 50px;
  max-width: 100%;
  display: grid;
  place-items: center;
  padding: 10px 4px;
  font-size: 18px;
  font-weight: 500;
  text-align: center;
  line-height: 1.5;
  color: var(--pink);
}

.contact-card h3 img {
  position: absolute;
  left: 0;
  top: 0;
  width: 100%;
  height: 100%;
  object-fit: fill;
  z-index: 0;
}

.contact-card h3 span {
  position: relative;
  z-index: 1;
}

.contact-card:nth-child(2) h3 {
  color: var(--blue);
}

.contact-card p {
  width: 100%;
  font-size: 15px;
  line-height: 1.8;
}

.action-button {
  display: flex;
  justify-content: center;
  align-items: center;
  min-height: 60px;
  border: 0;
  background: var(--green);
  color: white;
  border-radius: 40px;
  font-size: 18px;
  font-weight: 700;
  padding: 12px 20px;
  text-align: center;
  width: 340px;
  max-width: 100%;
}

.action-button:hover {
  filter: brightness(.95);
}

.contact-card .contact-support-link {
  background: var(--pink);
  margin-top: auto;
}

.contact-card .contact-media-link {
  background: var(--blue);
  margin-top: auto;
}

/* Footer and shared notices */
.site-footer {
  padding: 100px 0;
  min-height: 355px;
}

.footer-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 50px;
}

.footer-brand {
  width: 177.872px;
  flex-shrink: 0;
  text-align: center;
}

.footer-brand .brand-canvas {
  transform: none;
}

.footer-brand .brand-by {
  margin-top: 30px;
  justify-content: center;
  font-size: 15px;
}

.footer-brand .brand-by img {
  width: 105px;
  height: 25px;
}

.copyright {
  color: #969696;
  text-align: right;
  margin: 0;
  font-size: 12px;
}

.notice-dialog {
  border: 1px solid var(--green);
  border-radius: 20px;
  max-width: min(460px,calc(100% - 40px));
  padding: 35px;
  color: var(--ink);
}

.notice-dialog::backdrop {
  background: #0005;
}

.notice-dialog h2 {
  font-size: 20px;
  margin-bottom: 15px;
}

.notice-dialog p {
  margin-bottom: 25px;
}

.notice-dialog button {
  margin: auto;
}

.unavailable-page {
  padding: 180px 20px 100px;
  text-align: center;
  min-height: 65vh;
}

.unavailable-page h1 {
  font-size: 30px;
  color: var(--green);
  margin-bottom: 25px;
}

.unavailable-page a {
  display: inline-block;
  margin-top: 30px;
  color: var(--green);
  text-decoration: underline;
}

/* Homepage hero and event banner */
.home-hero {
  height: min(59.7222vw,860px);
  max-width: 1440px;
  margin: 0 auto;
  position: relative;
}

.hero-canvas {
  position: absolute;
  left: 0;
  top: 0;
  width: 1440px;
  height: 860px;
  transform-origin: top left;
}

.hero-canvas>[data-node-id] {
  width: 1440px;
  height: 860px;
}

.hero-kv {
  position: absolute;
  top: 0;
  left: 0;
  width: 1440px;
  height: 780px;
  max-width: none;
}

.hero-mobile {
  display: none;
}

.home-cta {
  width: min(1000px, calc(100% - 40px));
  margin: 100px auto;
}

.home-cta a, .home-cta picture, .home-cta img {
  display: block;
}

.home-cta img {
  width: 100%;
  height: auto;
}

.graphic-link {
  position: absolute;
  display: block;
  z-index: 3;
}

.hero-canvas [data-node-id="1349:10800"] {
  right: 74px;
}
.hero-canvas [data-node-id="1349:10803"] {
  min-width: 0;
  flex-shrink: 1;
}
.hero-news-link {
  bottom: 0;
  left: 220px;
  width: 1000px;
  height: 80px;
  border-radius: 50px;
}

.graphic-link:hover {
  box-shadow: 0 0 0 3px #3baaa333;
}

.hero-mobile-logo>[data-node-id] {
  position: relative!important;
  inset: auto!important;
  transform: none!important;
  width: 540px!important;
  height: 360px!important;
}

@media(min-width:1051px) and (max-width:1500px) {
  .site-nav {
    font-size: 14px;
    gap: 20px;
  }
  .site-nav .nav-cta {
    padding: 9px 22px;
  }
  .site-brand {
    gap: 15px;
  }
}

@media(max-width:1050px) {
  .site-brand {
    gap: 10px;
  }
  .menu-toggle {
    display: block;
  }
  .site-nav {
    display: none;
    position: fixed;
    inset: 80px 0 0;
    background: #fff;
    overflow: auto;
    padding: 60px 25px;
    align-items: stretch;
    flex-direction: column;
    justify-content: flex-start;
    gap: 28px;
    font-size: 18px;
  }
  .site-nav.is-open {
    display: flex;
  }
  .site-nav a {
    justify-content: center;
  }
  .site-nav .nav-cta {
    margin: 15px auto;
    width: 300px;
    max-width: 100%;
  }
  .menu-open {
    overflow: hidden;
  }
}

@media(max-width:767px) {
  html {
    scroll-padding-top: 80px;
  }
  .site-header {
    height: 60px;
    padding: 0 20px;
  }
  .site-brand {
    gap: 12px;
  }
  .brand-graphic {
    width: 64.04px;
    height: 36px;
  }
  .site-brand .brand-canvas {
    transform: scale(.36);
  }
  .brand-by {
    font-size: 10px;
    gap: 7px;
  }
  .brand-by img {
    width: 68px;
    height: 16px;
  }
  .site-nav {
    top: 60px;
  }
  .container {
    width: calc(100% - 40px);
  }
  .site-contact {
    padding: 70px 20px;
  }
  .site-contact>.container {
    width: 100%;
  }
  .color-word {
    font-size: 26px;
  }
  .title-label {
    font-size: 23px;
    letter-spacing: 2px;
    margin-top: 12px;
  }
  .contact-intro {
    text-align: left;
    margin-bottom: 40px;
  }
  .contact-grid {
    grid-template-columns: minmax(0,1fr);
    gap: 30px;
  }
  .contact-card {
    padding: 35px 20px;
    gap: 24px;
  }
  .contact-card .action-button {
    width: 100%;
    min-width: 0;
  }
  .contact-card h3 span {
    font-size: clamp(12px,3.5vw,15px);
  }
  .contact-card h3 {
    min-width: 0;
    font-size: 15px;
    width: 260px;
    min-height: 44px;
    padding: 10px 4px;
  }
  .contact-card p {
    font-size: 14px;
  }
  .action-button {
    font-size: 15px;
    min-height: 56px;
    padding: 10px 12px;
  }
  .site-footer {
    padding: 60px 20px;
  }
  .footer-inner {
    flex-direction: column;
    gap: 50px;
  }
  .copyright {
    text-align: center;
  }
  .home-hero {
    height: 890px;
    width: 100%;
    max-width: 100%;
    overflow: clip;
  }
  .hero-canvas {
    display: none;
  }
  .hero-mobile {
    display: block;
    position: relative;
    height: 890px;
    max-width: 500px;
    margin: auto;
  }
  .mobile-slogan {
    position: absolute;
    top: 105px;
    left: 35px;
    font: 900 35px/1.4 var(--font-display);
    transform: rotate(-12deg);
    z-index: 3;
  }
  .mobile-slogan span {
    display: block;
    color: var(--green);
  }
  .mobile-slogan span+span {
    color: var(--pink);
    padding-left: 20px;
  }
  .mobile-hero-photo {
    position: absolute;
    top: 260px;
    left: 50%;
    transform: translateX(-50%);
    width: 440px;
    max-width: none;
    height: 320px;
    object-fit: contain;
  }
  .mobile-logo-shell {
    position: absolute;
    top: 465px;
    left: 50%;
    width: 297px;
    height: 198px;
    transform: translateX(-50%);
    z-index: 3;
  }
  .hero-mobile-logo {
    width: 540px;
    height: 360px;
    transform: scale(.55);
    transform-origin: top left;
  }
  .mobile-news {
    position: absolute;
    bottom: 30px;
    left: 20px;
    right: 20px;
    border: 1px solid var(--green);
    border-radius: 20px;
    background: #ebffff;
    padding: 15px 20px;
    font-size: 12px;
  }
  .mobile-news strong {
    color: var(--pink);
    margin-right: 12px;
  }
  .mobile-news-dates {
    color: var(--green);
    white-space: nowrap;
  }
  .mobile-news p {
    margin-top: 8px;
  }
  .mobile-decor {
    position: absolute;
    width: 100px;
    height: 100px;
    object-fit: contain;
  }
  .mobile-decor.one {
    top: 240px;
    right: -25px;
    width: 64px;
    height: 64px;
  }
  .mobile-decor.two {
    top: 650px;
    left: -35px;
  }
  .mobile-decor.three {
    top: 650px;
    right: -20px;
  }
  .home-cta {
    width: min(100%, 375px);
    margin: 80px auto;
  }
  .hero-news-link {
    display: none;
  }
}

@media(prefers-reduced-motion:reduce) {
  html {
    scroll-behavior: auto;
  }
  *,*::before,*::after {
    transition: none!important;
  }
}

#main-content {
  overflow-x: hidden;
}

/* Keep the static navigation available when scripts are disabled. */
html:not(.has-js) .menu-toggle {
  display: none;
}

@media(max-width:1050px) {
  html:not(.has-js) .site-header {
    position: relative;
    height: auto;
    flex-wrap: wrap;
    padding-top: 15px;
  }
  html:not(.has-js) .site-nav {
    display: flex;
    position: static;
    inset: auto;
    width: 100%;
    padding: 20px 0;
    gap: 18px;
    font-size: 15px;
  }
  html:not(.has-js) .site-nav .nav-cta {
    margin: 0 auto;
  }
}
