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

html {
  scroll-behavior: smooth;
  scroll-padding-top: min(14.2vw, 82px);
  -webkit-text-size-adjust: 100%;
}

body {
  margin: 0;
  color: #184f78;
  font-family: "Hiragino Kaku Gothic ProN", "Yu Gothic", Meiryo, sans-serif;
  background: #f4f4f4;
  -webkit-font-smoothing: antialiased;
}

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

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

a:focus-visible,
button:focus-visible {
  outline: 3px solid #063c75;
  outline-offset: 4px;
}

.page {
  width: min(100%, 576px);
  min-height: 100vh;
  min-height: 100dvh;
  margin-inline: auto;
  background: #2e9bd0;
  box-shadow: 0 0 0 1px rgb(0 0 0 / 8%);
}

.site-header {
  position: fixed;
  inset: 0 auto auto 50%;
  transform: translateX(-50%);
  z-index: 100;
  width: min(100%, 576px);
  background: #fff;
}

.site-header > img {
  width: 100%;
}

.header-spacer {
  /* Website header only; the phone's status bar is omitted. */
  aspect-ratio: 1712 / 243;
}

.home-link {
  position: absolute;
  inset: 0 1% 0 auto;
  width: 11%;
  min-width: 36px;
}

.art-section,
.art-section > img {
  width: 100%;
}

.actions-area {
  background: #349dcb url("../img/bg_actions.webp?v=20260914") center top / 100% 100% no-repeat;
}

.entry-area {
  padding-top: calc(59 / 1712 * 100%);
  padding-left: calc(217 / 1712 * 100%);
  padding-right: calc(216 / 1712 * 100%);
}

.image-button {
  display: block;
  position: relative;
  transition: transform 160ms ease, filter 160ms ease;
}

.image-button img {
  width: 100%;
}

/* Enlarge the touch target without altering the supplied button artwork. */
.image-button::after {
  content: "";
  position: absolute;
  inset: 50% 0 auto;
  min-height: 44px;
  height: 100%;
  transform: translateY(-50%);
}

@media (hover: hover) {
  .image-button:hover {
    transform: translateY(-2px);
    filter: brightness(1.04);
  }
}

.image-button:active {
  transform: translateY(1px);
}

.club-area {
  display: flex;
  flex-direction: column;
  align-items: center;
  padding-top: calc(86 / 1712 * 100%);
  text-align: center;
}

.club-label,
.club-button {
  margin-inline: auto;
}

.club-label--login {
  width: calc(678 / 1712 * 100%);
}

.club-button--login {
  width: calc(686 / 1712 * 100%);
  margin-top: calc(24 / 1712 * 100%);
}

.club-label--entry {
  width: calc(662 / 1712 * 100%);
  margin-top: calc(48 / 1712 * 100%);
}

.club-button--entry {
  width: calc(784 / 1712 * 100%);
  margin-top: calc(15 / 1712 * 100%);
}

.system-area {
  padding-top: calc(97 / 1712 * 100%);
  padding-bottom: calc(82 / 1712 * 100%);
}

.system-area > img {
  width: calc(1152 / 1712 * 100%);
  margin-inline: auto;
}

.notes-area {
  padding: 0 calc(72 / 1712 * 100%) calc(114 / 1712 * 100%);
  color: #111;
  background: #b8cba9 url("../img/bg_notes.webp") center top / 100% 100% no-repeat;
}

.notes-panel {
  padding: 2.8% 2.8% 5.5%;
  border-radius: clamp(20px, 4vw, 27px);
  background: #fff;
  font-family: "小塚ゴシック Pr6N", "Kozuka Gothic Pr6N", "Hiragino Kaku Gothic ProN", "Yu Gothic", Meiryo, sans-serif;
  font-size: clamp(11px, 2.35vw, 13.5px);
  font-weight: 500;
  line-height: 1.35;
  overflow-wrap: anywhere;
}

.notes-panel h2 {
  margin: 0 0 0.8em;
  font-size: 1.35em;
  line-height: 1.3;
  text-align: center;
}

.notes-panel h3 {
  margin: 1em 0 0;
  font-size: 1em;
  line-height: inherit;
}

.notes-panel p {
  margin: 0;
}

.notes-panel ol {
  margin: 0;
  padding-left: 1.3em;
}

.notes-panel a {
  text-decoration: underline;
  text-underline-offset: 0.15em;
}

.phone-link {
  white-space: nowrap;
}

.site-footer img {
  width: 100%;
}

.visually-hidden {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  white-space: nowrap;
  border: 0;
}

.skip-link {
  position: fixed;
  z-index: 300;
  top: 8px;
  padding: 10px 16px;
  transform: translateY(-200%);
  background: #fff;
}

.skip-link:focus {
  transform: none;
}
/*
.modal {
  width: min(92vw, 430px);
  max-width: calc(100% - 32px);
  max-height: calc(100% - 32px);
  padding: 0;
  border: 0;
  background: transparent;
}

.modal::backdrop {
  background: rgb(15 23 42 / 72%);
}

.modal__panel {
  position: relative;
}

.modal__image {
  width: 100%;
}

.modal__close {
  position: absolute;
  left: 50%;
  bottom: 15%;
  width: 28%;
  padding: 0;
  border: 0;
  background: transparent;
  cursor: pointer;
  transform: translateX(-50%);
}
*/
@media (prefers-reduced-motion: reduce) {
  html {
    scroll-behavior: auto;
  }

  .image-button {
    transition: none;
  }
}


/* ---------------- */
    :root {
      --page-bg: #f7f1e8;
      --card-bg: #fffdf8;
      --card-line: #e6d9c7;
      --text-main: #3b3127;
      --text-sub: #6f6156;
      --accent: #d2624e;
      --accent-dark: #a54838;
      --overlay: rgba(27, 23, 19, 0.58);
    }

    .action-button[disabled],
    .action-button.is-loading {
      cursor: wait;
      opacity: 0.68;
      transform: none;
    }

    .action-button.is-requested {
      opacity: 0.8;
      filter: grayscale(50%);
      cursor: default;
      transform: none;
    }

    .action-button.is-requested:hover,
    .action-button.is-requested:focus-visible {
      opacity: 0.8;
      transform: none;
    }

    .modal {
      position: fixed;
      inset: 0;
      display: none;
      align-items: center;
      justify-content: center;
      padding: 20px;
      z-index: 40;
    }

    .modal.is-open {
      display: flex;
    }

    .modal__backdrop {
      position: absolute;
      inset: 0;
      background: var(--overlay);
    }

    .modal__dialog {
      position: relative;
      width: min(100%, 420px);
      padding: 28px 24px 22px;
      border-radius: 24px;
      background: #fff;
      box-shadow: 0 24px 60px rgba(15, 23, 42, 0.22);
      text-align: center;
    }

    .modal__title {
      margin: 0;
        font-size: 1.125rem;
        line-height: 1.75rem;
      font-weight: 700;
      color: var(--accent-dark);
    }

    .modal__message {
      margin: 14px 0 0;
        font-size: 0.9rem;
        line-height: 1.25rem;
      font-weight: 700;
      color: var(--text-main);
      white-space: pre-line;
    }

    .modal__message--subtle {
      font-size: 12px;
      color: var(--text-sub);
    }

    .modal__actions {
      margin-top: 22px;
    }

    .modal__button {
      display: inline-flex;
      align-items: center;
      justify-content: center;
      min-width: 140px;
      padding: 12px 22px;
      border: 0;
      border-radius: 999px;
      background: linear-gradient(180deg, #e37f68 0%, var(--accent) 100%);
      color: #fff;
      font-size: 15px;
      font-weight: 700;
      cursor: pointer;
    }

    .text-nowrap {
      white-space: nowrap;
    }

    .notice-text {
        text-align: center;
        font-size: min(3vw, 120%);
        font-weight: bold;
        line-height: 1.5;
        font-family: sans-serif;
        color: black;

        /* 白い2pxのくっきりとした線を文字の輪郭に描画する */
        -webkit-text-stroke: 0.3em white;
        
        /* 文字の内側が縁取りで細く見えないようにする（一部ブラウザ用） */
        paint-order: stroke fill; 
        
        /* 少しだけ背景から浮かせるために、薄いシャドウを併用するのも効果的です */
        text-shadow: 0 0 0.03em rgba(255, 255, 255, 0.8);
    }

    @media (max-width: 480px) {
      .modal__dialog {
        padding: 24px 18px 18px;
      }
    }
