@charset "UTF-8";

/* ==========================================================================
   Variables
   ========================================================================== */
:root {
  --color-cream: #FFECBD;
  --color-pink: #F4B1C1;
  --color-pink-dark: #E87C97;
  --color-white: #FFFFFF;
  --color-teal: #BFE1D9;
  --color-gray: #707070;
  --color-brown: #462D26;
  --color-purple: #AA7FB7;
  --color-yellow: #FFC400;
  --color-green: #A6B86E;
  --color-indigo: #33507E;
  --color-indigo-light: #5C7CAE;

  --max-width: 1440px;

  --font-family: "Zen Maru Gothic", "游ゴシック体", "Yu Gothic", YuGothic,
    "ヒラギノ角ゴ Pro", "Hiragino Kaku Gothic Pro", メイリオ, Meiryo,
    "MS Pゴシック", "MS PGothic", sans-serif;
}

/* ==========================================================================
   Reset / Base
   ========================================================================== */
* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

html {
  -webkit-text-size-adjust: 100%;
}

body {
  font-family: var(--font-family);
  font-weight: 500;
  color: var(--color-gray);
  line-height: 1.8;
  background: var(--color-cream);
  overflow-x: hidden;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  text-rendering: optimizeLegibility;
}

img {
  max-width: 100%;
  height: auto;
  vertical-align: bottom;
}

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

/* リンクだと分かりやすいように下線＋外部リンクアイコンを付ける共通クラス */
.link-external {
  text-decoration: underline;
  text-underline-offset: 3px;
  transition: opacity 0.2s ease;
}

.link-external::after {
  content: "\2197";
  display: inline-block;
  margin-left: 4px;
  font-size: 0.85em;
  text-decoration: none;
}

.link-external:hover {
  opacity: 0.7;
}

/* 「参加方法」「1期 スポット」「注意事項」など見出し共通の装飾（リボン風バッジ＋スパークル） */
.heading-badge {
  position: relative;
  display: inline-flex;
  align-items: center;
  padding: 0.55em 1.7em;
  background: linear-gradient(135deg, var(--color-indigo) 0%, var(--color-indigo-light) 100%);
  border: 3px solid #FFFFFF;
  border-radius: 999px;
  box-shadow: 0 4px 10px rgba(51, 80, 126, 0.35), 0 2px 0 rgba(0, 0, 0, 0.06);
  color: var(--color-white);
}

.heading-badge::before,
.heading-badge::after {
  content: "";
  position: absolute;
  top: -0.32em;
  width: 0.62em;
  height: 0.62em;
  background: var(--color-yellow);
  clip-path: polygon(50% 0%, 61% 35%, 98% 35%, 68% 57%, 79% 91%, 50% 70%, 21% 91%, 32% 57%, 2% 35%, 39% 35%);
}

.heading-badge::before {
  left: 0.5em;
  transform: rotate(-15deg);
}

.heading-badge::after {
  right: 0.5em;
  transform: rotate(15deg);
}

ul {
  list-style: none;
}

button {
  font-family: inherit;
  border: none;
  background: none;
  cursor: pointer;
}

/* ==========================================================================
   Marquee (decorative scrolling line)
   ========================================================================== */
.marquee {
  overflow: hidden;
  width: 100%;
  background: var(--color-cream);
  line-height: 0;
}

.marquee__track {
  display: flex;
  width: max-content;
  animation: marquee-scroll 40s linear infinite;
}

.marquee__img {
  height: 50px;
  width: auto;
  flex-shrink: 0;
}

@media (min-width: 781px) {
  .marquee__img {
    height: 96px;
  }
}

@keyframes marquee-scroll {
  from { transform: translateX(0); }
  to   { transform: translateX(-50%); }
}

@media (prefers-reduced-motion: reduce) {
  .marquee__track {
    animation: none;
  }
}

/* ==========================================================================
   Hero
   ========================================================================== */
.hero {
  background: var(--color-cream);
  padding-bottom: 40px;
}

.hero__inner {
  max-width: var(--max-width);
  margin: 0 auto;
}

.hero__visual {
  width: 100%;
  display: block;
}

.hero__lead {
  text-align: center;
  font-size: 1.2rem;
  font-weight: 700;
  color: var(--color-gray);
  padding: 0 20px;
  margin-top: 8px;
}

@media (max-width: 780px) {
  .hero__lead {
    font-size: 0.92rem;
    line-height: 2;
    padding: 0 24px;
    margin-top: 4px;
  }
}

/* ==========================================================================
   Achievement band
   ========================================================================== */
.achieve {
  background: var(--color-pink);
  padding: 48px 20px;
}

.achieve__inner {
  max-width: var(--max-width);
  margin: 0 auto;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 60px;
}

.achieve__sticker {
  width: 320px;
  flex-shrink: 0;
}

.achieve__text {
  text-align: center;
}

.achieve__catch {
  font-size: 1.6rem;
  font-weight: 700;
  color: var(--color-white);
  line-height: 1.6;
}

.achieve__note {
  margin-top: 16px;
  font-size: 0.95rem;
  font-weight: 700;
  color: var(--color-white);
  line-height: 1.7;
}

@media (max-width: 780px) {
  .achieve {
    padding: 36px 20px;
  }
  .achieve__inner {
    flex-direction: column;
    gap: 24px;
  }
  .achieve__sticker {
    width: 70%;
    max-width: 300px;
  }
  .achieve__catch {
    font-size: 1.15rem;
  }
  .achieve__note {
    font-size: 0.8rem;
  }
}

/* ==========================================================================
   Period / Map
   ========================================================================== */
.period {
  background: var(--color-white);
  padding: 56px 20px;
}

.period__inner {
  max-width: var(--max-width);
  margin: 0 auto;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 80px;
  flex-wrap: wrap;
}

.period__map-wrap {
  flex-shrink: 0;
}

.period__map {
  width: 440px;
  max-width: 100%;
}

.period__map-link {
  margin-top: 14px;
  text-align: center;
  font-size: 0.95rem;
  font-weight: 700;
  color: var(--color-gray);
}

.period__list {
  display: flex;
  flex-direction: column;
  gap: 28px;
  padding-top: 8px;
}

.period__item {
  display: flex;
  align-items: center;
  gap: 20px;
}

.period__badge {
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
  width: 70px;
  height: 70px;
  border-radius: 50%;
  color: var(--color-white);
  font-weight: 700;
  font-size: 2rem;
  line-height: 1;
}

.period__badge small {
  font-size: 0.9rem;
  line-height: 1;
  margin-left: 2px;
}

.period__badge--1 { background: var(--color-yellow); }
.period__badge--2 { background: var(--color-pink-dark); }
.period__badge--3 { background: var(--color-green); }

.period__info {
  display: flex;
  align-items: center;
  flex-wrap: wrap;
  gap: 10px 16px;
}

.period__date {
  font-size: 1.05rem;
  font-weight: 700;
  color: var(--color-gray);
  line-height: 1.6;
}

.period__area {
  display: inline-block;
  padding: 5px 14px;
  border-radius: 999px;
  border: 2px solid var(--color-gray);
  background: var(--color-white);
  color: var(--color-brown);
  font-size: 0.85rem;
  font-weight: 700;
  white-space: nowrap;
}

.period__area--1 { border-color: var(--color-yellow); }
.period__area--2 { border-color: var(--color-pink-dark); }
.period__area--3 { border-color: var(--color-green); }

@media (max-width: 780px) {
  .period {
    padding: 40px 24px;
  }
  .period__inner {
    flex-direction: column;
    align-items: center;
    gap: 32px;
  }
  .period__map {
    width: 100%;
    max-width: 340px;
  }
  .period__map-link {
    font-size: 0.8rem;
  }
  .period__list {
    width: 100%;
    max-width: 340px;
    gap: 20px;
  }
  .period__badge {
    width: 56px;
    height: 56px;
    font-size: 1.5rem;
  }
  .period__info {
    flex-direction: column;
    align-items: flex-start;
    gap: 8px;
  }
  .period__date {
    font-size: 0.9rem;
  }
  .period__area {
    font-size: 0.75rem;
    padding: 4px 12px;
  }
}

/* ==========================================================================
   Join / How to participate
   ========================================================================== */
.join {
  background: var(--color-white);
  padding: 0 20px 64px;
}

.join__box {
  max-width: var(--max-width);
  margin: 0 auto;
  background: var(--color-teal);
  border-radius: 40px;
  padding: 48px 60px 64px;
}

.join__heading {
  text-align: center;
  font-size: 1.8rem;
  font-weight: 700;
  color: var(--color-brown);
  margin-bottom: 40px;
}

.join__steps {
  display: flex;
  gap: 80px;
  justify-content: center;
}

.join__step {
  flex: 1;
  max-width: 420px;
  text-align: center;
}

.join__phone {
  width: 150px;
  height: 326px;
  margin: 0 auto;
  background: var(--color-white);
  border: 6px solid var(--color-gray);
  border-radius: 28px;
  overflow: hidden;
}

.join__phone-img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}

.join__number {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 64px;
  height: 64px;
  border-radius: 50%;
  background: var(--color-pink);
  color: var(--color-white);
  font-size: 1.8rem;
  font-weight: 700;
  margin: 20px auto;
}

.join__text {
  text-align: left;
  font-size: 0.95rem;
  font-weight: 700;
  color: var(--color-gray);
  line-height: 1.8;
}

.join__text--catch {
  margin-top: 20px;
}

@media (max-width: 780px) {
  .join {
    padding: 0 16px 48px;
  }
  .join__box {
    border-radius: 24px;
    padding: 36px 24px 40px;
  }
  .join__heading {
    font-size: 1.3rem;
    margin-bottom: 28px;
  }
  .join__steps {
    flex-direction: column;
    gap: 48px;
  }
  .join__step {
    max-width: 100%;
  }
  .join__phone {
    width: 120px;
    height: 260px;
    border-width: 5px;
    border-radius: 22px;
  }
  .join__number {
    width: 52px;
    height: 52px;
    font-size: 1.4rem;
    margin: 16px auto;
  }
  .join__text {
    font-size: 0.85rem;
  }
}

/* ==========================================================================
   Spots (1期 スポット)
   ========================================================================== */
.spots {
  background: var(--color-white);
  padding: 0 20px 64px;
}

.spots__inner {
  max-width: var(--max-width);
  margin: 0 auto;
}

.spots__heading {
  text-align: center;
  font-size: 1.8rem;
  font-weight: 700;
  color: var(--color-brown);
  margin-bottom: 16px;
}

.spots__lead {
  text-align: center;
  font-size: 0.9rem;
  font-weight: 600;
  color: var(--color-gray);
  margin-bottom: 40px;
}

.spots__list {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 40px 32px;
}

.spots__item {
  flex: 0 1 420px;
  max-width: 420px;
}

.spots__figure {
  text-align: center;
}

.spots__figure a {
  display: block;
  transition: opacity 0.2s ease;
}

.spots__figure a:hover {
  opacity: 0.8;
}

.spots__thumb {
  width: 100%;
  aspect-ratio: 4 / 3;
  object-fit: cover;
  border-radius: 16px;
  display: block;
}

.spots__name {
  margin-top: 12px;
  font-size: 0.95rem;
  font-weight: 700;
  color: var(--color-gray);
}

@media (max-width: 780px) {
  .spots {
    padding: 0 20px 48px;
  }
  .spots__heading {
    font-size: 1.3rem;
    margin-bottom: 12px;
  }
  .spots__lead {
    font-size: 0.75rem;
    margin-bottom: 28px;
  }
  .spots__list {
    flex-direction: column;
    align-items: center;
    gap: 28px;
  }
  .spots__item {
    flex: none;
    width: 100%;
    max-width: 480px;
  }
}

/* ==========================================================================
   常時表示CTAボタン（仮設）
   ローンチ時に不要な場合、index.html 側の .fixed-cta ブロックを
   コメントアウト／削除すれば非表示になります（このCSSは残置可）。
   ========================================================================== */
.fixed-cta {
  position: fixed;
  left: 0;
  bottom: 0;
  z-index: 1000;
  width: 100%;
  text-align: center;
  padding: 14px 20px calc(14px + env(safe-area-inset-bottom));
  background: transparent;
}

.fixed-cta__btn {
  display: block;
  width: 100%;
  max-width: 640px;
  margin: 0 auto;
  padding: 20px 48px;
  border-radius: 50px;
  background: #CC0000;
  color: var(--color-white);
  font-size: 1.2rem;
  font-weight: 700;
  box-shadow: 0 6px 0 rgba(0, 0, 0, 0.2);
  transition: transform 0.15s ease, box-shadow 0.15s ease;
}

.fixed-cta__btn:hover {
  transform: translateY(3px);
  box-shadow: 0 3px 0 rgba(0, 0, 0, 0.2);
}

@media (max-width: 780px) {
  .fixed-cta {
    padding: 10px 16px calc(10px + env(safe-area-inset-bottom));
  }
  .fixed-cta__btn {
    font-size: 1rem;
    padding: 15px 32px;
  }
}

/* ==========================================================================
   Notice (accordion)
   ========================================================================== */
.notice {
  background: var(--color-cream);
  padding: 56px 20px;
}

.notice__inner {
  max-width: 900px;
  margin: 0 auto;
}

.notice__toggle {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 10px;
  width: 100%;
  font-size: 1.4rem;
  font-weight: 700;
  color: var(--color-brown);
  padding: 8px 0 20px;
}

.notice__icon {
  width: 14px;
  height: 14px;
  border-right: 3px solid var(--color-brown);
  border-bottom: 3px solid var(--color-brown);
  transform: rotate(45deg);
  transition: transform 0.25s ease;
}

.notice__toggle[aria-expanded="true"] .notice__icon {
  transform: rotate(-135deg);
}

.notice__body {
  font-size: 0.85rem;
  font-weight: 700;
  line-height: 1.9;
  color: var(--color-gray);
}

.notice__body p {
  margin-bottom: 1.4em;
}

.notice__list li {
  position: relative;
  padding-left: 1.2em;
  margin-bottom: 0.6em;
}

.notice__list li::before {
  content: "・";
  position: absolute;
  left: 0;
}

@media (max-width: 780px) {
  .notice {
    padding: 40px 20px;
  }
  .notice__toggle {
    font-size: 1.1rem;
  }
  .notice__body {
    font-size: 0.75rem;
  }
}

/* ==========================================================================
   Also banner
   ========================================================================== */
.also {
  background: var(--color-cream);
  text-align: center;
  padding: 24px 20px 0;
}

.also__link {
  display: inline-block;
  max-width: 720px;
  width: 100%;
  transition: opacity 0.2s ease;
}

.also__link:hover {
  opacity: 0.8;
}

@media (min-width: 781px) {
  .also__link {
    max-width: 864px; /* 720px x 1.2 */
  }
}

/* ==========================================================================
   5th anniversary badge
   ========================================================================== */
.badge5th {
  background: var(--color-cream);
  text-align: center;
  padding: 32px 20px 0;
}

.badge5th__link {
  display: inline-block;
  max-width: 420px;
  width: 100%;
  transition: opacity 0.2s ease;
}

.badge5th__link img {
  width: 100%;
}

.badge5th__link:hover {
  opacity: 0.8;
}

@media (min-width: 781px) {
  .badge5th__link {
    max-width: 504px; /* 420px x 1.2 */
  }
}

/* ==========================================================================
   Footer
   ========================================================================== */
.l-footer {
  background: var(--color-cream);
  text-align: center;
  /* 下部の余白は常時表示CTA(.fixed-cta)分の逃げ。CTAを外す場合は 40px に戻してください */
  padding: 28px 20px 120px;
}

.l-footer__organizer {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  font-size: 1.05rem;
  font-weight: 700;
  color: var(--color-gray);
}

.l-footer__copyright {
  margin-top: 20px;
}

.l-footer__copyright img {
  width: 260px;
  max-width: 100%;
}

@media (max-width: 780px) {
  .l-footer {
    padding-bottom: 100px;
  }
  .l-footer__organizer {
    font-size: 0.85rem;
  }
  .l-footer__copyright img {
    width: 200px;
  }
}

/* ==========================================================================
   PC / SP visibility switch
   (kept last so it always wins the cascade over component display rules)
   ========================================================================== */
.show-pc { display: none; }
.show-sp { display: block; }

@media (min-width: 781px) {
  .show-pc { display: block; }
  .show-sp { display: none; }
}
