@charset "UTF-8";

/* ========================================
   デザイントークン
======================================== */

:root {
  --ink: #24304f;
  --muted: #4f5d7d;
  --indigo: #3f408d;
  --navy: #172b56;

  --sky: #57b9e3;
  --sea-deep: #17749f;
  --sea-band: #3aa3dc;
  --pale: #e9f7fc;
  --foam: #f4fbfe;
  --line: #d3ebf5;

  --pink: #f97997;
  --pink-strong: #d9305e;
  --yellow: #fce146;

  --link: #0b6a98;
  --white: #fff;

  --radius-lg: 1.25rem;
  --shadow-card:
    0 22px 40px -26px rgba(20, 50, 120, 0.4),
    0 2px 6px rgba(20, 50, 120, 0.05);

  --wrap: 1120px;

  /* ロゴの泡モチーフ */
  --ring: radial-gradient(
    circle closest-side,
    transparent 0 calc(100% - 3px),
    rgba(87, 185, 227, 0.32) calc(100% - 3px) calc(100% - 0.5px),
    transparent calc(100% - 0.5px)
  );
  --ring-w: radial-gradient(
    circle closest-side,
    transparent 0 calc(100% - 3px),
    rgba(255, 255, 255, 0.45) calc(100% - 3px) calc(100% - 0.5px),
    transparent calc(100% - 0.5px)
  );

  /* ロゴの ✱ モチーフ */
  --spark-w: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23ffffff' stroke-width='2.6' stroke-linecap='round'%3E%3Cpath d='M12 2v20M3.3 7l17.4 10M3.3 17L20.7 7'/%3E%3C/svg%3E");

  --font-body:
    "Noto Sans JP",
    "Hiragino Kaku Gothic ProN",
    "Hiragino Sans",
    "Yu Gothic",
    Meiryo,
    sans-serif;

  --font-heading:
    "Zen Maru Gothic",
    "Hiragino Maru Gothic ProN",
    "Yu Gothic",
    Meiryo,
    sans-serif;

  --font-en:
    "Outfit",
    "Noto Sans JP",
    sans-serif;
}

*,
*::before,
*::after {
  box-sizing: border-box;
}

html {
  -webkit-text-size-adjust: 100%;
  scroll-behavior: smooth;
}

body {
  margin: 0;
  overflow-x: hidden;
  overflow-x: clip;
  color: var(--ink);
  background: var(--white);
  font-family: var(--font-body);
  font-size: 1rem;
  line-height: 1.9;
  overflow-wrap: anywhere;
  word-break: auto-phrase;
  -webkit-font-smoothing: antialiased;
}

img {
  display: block;
  max-width: 100%;
  height: auto;
}

h1,
h2,
h3,
p,
ol,
ul,
dl {
  margin-top: 0;
}

h1,
h2,
h3 {
  line-height: 1.5;
  text-wrap: balance;
}

p {
  text-wrap: pretty;
}

a {
  color: var(--link);
  text-underline-offset: 0.2em;
}

a:hover {
  text-decoration: none;
}

a:focus-visible {
  outline: 3px solid var(--indigo);
  outline-offset: 4px;
}

.skip-link {
  position: absolute;
  z-index: 20;
  top: 0.75rem;
  left: 0.75rem;
  padding: 0.7rem 1rem;
  color: var(--ink);
  background: #fff;
  border: 2px solid var(--ink);
  transform: translateY(-200%);
}

.skip-link:focus {
  transform: translateY(0);
}

/* ========================================
   アニメーション
======================================== */

@keyframes rise {
  from {
    opacity: 0;
    transform: translateY(18px);
  }
  to {
    opacity: 1;
    transform: none;
  }
}

@keyframes heroZoom {
  from { transform: scale(1.07); }
  to   { transform: scale(1); }
}

/* ========================================
   ファーストビュー
======================================== */

.hero {
  position: relative;
  isolation: isolate;
  display: grid;
  min-height: 640px;
  min-height: clamp(640px, 100svh, 860px);
  overflow: hidden;
  padding: 7rem 6% 9rem;
  place-items: center;
  background: #0f6f96;
}

/* 背景写真 */
.hero > img:first-child {
  position: absolute;
  z-index: 0;
  top: 0;
  right: 0;
  bottom: 0;
  left: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: 70% center;
  animation: heroZoom 14s ease-out both;
}

/* 波 */
.hero::after {
  position: absolute;
  z-index: 2;
  right: 0;
  bottom: -1px;
  left: 0;
  height: 4rem;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 1440 100' preserveAspectRatio='none'%3E%3Cpath fill='%23fff' fill-opacity='.45' d='M0 56C200 14 380 26 560 60S900 98 1080 58 1320 16 1440 48V100H0Z'/%3E%3Cpath fill='%23fff' d='M0 76C180 42 340 48 520 76S880 106 1060 78 1310 46 1440 68V100H0Z'/%3E%3C/svg%3E");
  background-repeat: no-repeat;
  background-position: bottom;
  background-size: 100% 100%;
  content: "";
}

.hero > .hero-partner {
  position: absolute;
  z-index: 4;
  top: 1rem;
  right: 1rem;
  width: 150px;
  max-width: 42%;
  height: auto;
  padding: 0.5rem 0.7rem;
  background: rgba(255, 255, 255, 0.96);
  border-radius: 0.6rem;
  box-shadow: 0 6px 18px -6px rgba(0, 30, 60, 0.3);
}

.hero > header {
  position: relative;
  z-index: 3;
  width: 100%;
  max-width: 760px;
  color: #fff;
  text-align: center;
}

.hero h1 {
  width: 190px;
  width: clamp(160px, 44vw, 220px);
  margin: 0 auto 1.75rem;
  padding: 1.1rem;
  background: #fff;
  border-radius: 1.25rem;
  box-shadow:
    0 0 0 8px rgba(255, 255, 255, 0.28),
    0 20px 40px -14px rgba(0, 60, 100, 0.4);
  animation: rise 0.9s cubic-bezier(0.2, 0.7, 0.2, 1) both;
}

.hero h1 img {
  width: 100%;
}

.hero-message,
.hero-description {
  color: #fff;
}

.hero-message {
  margin-bottom: 1rem;
  font-family: var(--font-heading);
  font-size: 1.1rem;
  font-size: clamp(1rem, 4.8vw, 2.5rem);
  font-weight: 700;
  letter-spacing: 0.04em;
  line-height: 1.65;
  text-shadow:
    0 1px 2px rgba(0, 70, 115, 0.7),
    0 2px 8px rgba(0, 85, 135, 0.65),
    0 0 18px rgba(0, 100, 155, 0.6),
    0 0 36px rgba(0, 110, 165, 0.5);
  animation: rise 0.9s 0.15s cubic-bezier(0.2, 0.7, 0.2, 1) both;
}

.hero-message strong {
  color: #ffe96b;
  font-weight: 900;
}

.hero-description {
  margin-bottom: 0;
  font-size: 0.95rem;
  font-size: clamp(0.9rem, 3.4vw, 1.05rem);
  font-weight: 500;
  line-height: 1.95;
  text-shadow:
    0 1px 2px rgba(0, 70, 115, 0.75),
    0 0 8px rgba(0, 85, 135, 0.7),
    0 0 18px rgba(0, 100, 155, 0.6),
    0 0 32px rgba(0, 110, 165, 0.45);
  animation: rise 0.9s 0.3s cubic-bezier(0.2, 0.7, 0.2, 1) both;
}

.desktop-break {
  display: none;
}

/* 募集中ボタン */
.hero-cta {
  display: inline-flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: center;
  gap: 0.4rem 0.75rem;
  margin-top: 1.9rem;
  padding: 0.5rem 0.6rem 0.5rem 0.5rem;
  color: var(--navy);
  background: #fff;
  border-radius: 999px;
  box-shadow: 0 14px 30px -12px rgba(0, 60, 100, 0.5);
  font-size: 0.95rem;
  font-weight: 700;
  line-height: 1.4;
  text-decoration: none;
  transition: transform 0.25s ease, box-shadow 0.25s ease;
  animation: rise 0.9s 0.45s cubic-bezier(0.2, 0.7, 0.2, 1) both;
}

/* 募集中(data-status="open")が1つもなければ自動で非表示 */
body:not(:has(.action-list > li[data-status="open"])) .hero-cta {
  display: none;
}

.hero-cta:hover {
  transform: translateY(-3px);
  box-shadow: 0 18px 34px -12px rgba(0, 60, 100, 0.6);
}

.hero-cta:focus-visible {
  outline-color: #fff;
}

.hero-cta__tag {
  padding: 0.35rem 0.95rem;
  background: var(--yellow);
  border-radius: 999px;
  font-size: 0.85rem;
}

.hero-cta__text {
  letter-spacing: 0.03em;
}

.hero-cta::after {
  width: 1.9rem;
  height: 1.9rem;
  background: var(--pink-strong) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='white' stroke-width='2.4' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M12 5v14M6 13l6 6 6-6'/%3E%3C/svg%3E") center / 1rem no-repeat;
  border-radius: 50%;
  content: "";
}

/* ========================================
   セクション見出し
======================================== */

.section-heading {
  max-width: var(--wrap);
  margin: 0 auto 2.75rem;
  text-align: center;
}

/* 英字ラベル */
.section-heading > p {
  display: inline-flex;
  align-items: center;
  gap: 0.8rem;
  margin-bottom: 0.9rem;
  color: var(--sea-deep);
  font-family: var(--font-en);
  font-size: 0.8rem;
  font-weight: 600;
  letter-spacing: 0.28em;
  line-height: 1.4;
}

.section-heading > p::before,
.section-heading > p::after {
  width: 1.6rem;
  height: 2px;
  background: var(--label, var(--sky));
  border-radius: 2px;
  content: "";
}

.section-heading h2 {
  margin-bottom: 0;
  color: var(--indigo);
  font-family: var(--font-heading);
  font-size: 1.6rem;
  font-size: clamp(1.55rem, 5.4vw, 2.35rem);
  font-weight: 700;
  letter-spacing: 0.04em;
  line-height: 1.55;
}

/* マーカー風ハイライト */
.section-heading h2 span {
  padding: 0 0.2em;
  background: linear-gradient(
    transparent 64%,
    rgba(252, 225, 70, 0.6) 64% 92%,
    transparent 92%
  );
  -webkit-box-decoration-break: clone;
  box-decoration-break: clone;
}

/* ========================================
   ３つの意味
======================================== */

.connections {
  --label: var(--pink);
  position: relative;
  overflow: hidden;
  padding: 4.5rem 6% 8rem;
  background:
    var(--ring) right 6% top 3rem / 52px 52px no-repeat,
    var(--ring) left 4% bottom 9rem / 30px 30px no-repeat,
    #fff;
}

.connections ol {
  display: grid;
  gap: 1.1rem;
  max-width: 720px;
  margin: 0 auto;
  padding: 0;
  list-style: none;
  counter-reset: connect;
}

/* 色は番号とアイコンのリングだけに使う */
.connections li:nth-child(1) { --c: var(--pink); }
.connections li:nth-child(2) { --c: var(--sky); }
.connections li:nth-child(3) { --c: #f2c81c; }

.connections li {
  position: relative;
  display: grid;
  grid-template-columns: 64px minmax(0, 1fr);
  align-items: center;
  gap: 0 1.1rem;
  min-width: 0;
  padding: 1.5rem 1.4rem 1.6rem;
  overflow: hidden;
  background: #fff;
  border: 1px solid var(--line);
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow-card);
  counter-increment: connect;
}

/* 大きな番号 */
.connections li::before {
  position: absolute;
  top: 0.3rem;
  right: 1.1rem;
  color: var(--c);
  font-family: var(--font-en);
  font-size: 3.2rem;
  font-weight: 700;
  line-height: 1;
  opacity: 0.4;
  content: counter(connect, decimal-leading-zero);
}

.connections li > img {
  position: relative;
  width: 64px;
  height: 64px;
  object-fit: contain;
  border-radius: 50%;
  box-shadow:
    0 0 0 3px #fff,
    0 0 0 5px var(--c);
}

.connections h3 {
  position: relative;
  margin: 0;
  color: var(--indigo);
  font-family: var(--font-heading);
  font-size: 1.2rem;
  font-weight: 700;
  letter-spacing: 0.04em;
}

.connections li p {
  position: relative;
  grid-column: 1 / -1;
  margin: 1.2rem 0 0;
  font-size: 0.97rem;
  line-height: 1.95;
}

/* ========================================
   クリーンアクション
======================================== */

.actions {
  position: relative;
  padding: 5.5rem 6% 8rem;
  color: #fff;
  background:
    var(--ring-w) right 7% top 7rem / 48px 48px no-repeat,
    var(--ring-w) left 4% bottom 14rem / 30px 30px no-repeat,
    linear-gradient(180deg, var(--sea-band) 0%, #52b4e5 55%, #78c9ee 100%);
}

/* 上側の波 */
.actions::before {
  position: absolute;
  top: -3.9rem;
  right: 0;
  left: 0;
  height: 4rem;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 1440 100' preserveAspectRatio='none'%3E%3Cpath fill='%233aa3dc' d='M0 56C200 12 380 24 560 58S900 96 1080 56 1320 14 1440 46V100H0Z'/%3E%3C/svg%3E");
  background-repeat: no-repeat;
  background-position: bottom;
  background-size: 100% 100%;
  content: "";
}

/* 下側の波 */
.actions::after {
  position: absolute;
  right: 0;
  bottom: -1px;
  left: 0;
  height: 4rem;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 1440 100' preserveAspectRatio='none'%3E%3Cpath fill='%23fff' d='M0 58C180 94 340 90 520 54S820 12 980 48 1280 92 1440 50V100H0Z'/%3E%3C/svg%3E");
  background-repeat: no-repeat;
  background-position: bottom;
  background-size: 100% 100%;
  content: "";
}

.actions .section-heading > p {
  --label: var(--yellow);
  color: #fff;
}

.actions .section-heading h2 {
  color: #fff;
  text-shadow: 0 2px 10px rgba(10, 70, 130, 0.25);
}

.actions .section-heading h2 span {
  padding: 0;
  background: none;
}

/* 見出し下の短いライン */
.actions .section-heading h2::after {
  display: block;
  width: 3rem;
  height: 4px;
  margin: 1.1rem auto 0;
  background: var(--yellow);
  border-radius: 999px;
  content: "";
}

/* ---- 一覧 ---- */

.action-list {
  display: flex;
  flex-wrap: wrap;
  gap: 1.5rem;
  max-width: var(--wrap);
  margin: 0 auto;
  padding: 0;
  list-style: none;
}

.action-list > li {
  display: flex;
  flex: 1 1 100%;
  min-width: 0;
  container-type: inline-size;
  color: var(--ink);
  --tag: #ffe1e9;
  --accent: var(--indigo);
  --panel: var(--foam);
  --panel-line: var(--line);
}

/* Action番号ごとのタグ色 */
.action-list > li:nth-child(4n + 1) { --tag: #ffe1e9; }
.action-list > li:nth-child(4n + 2) { --tag: #fff1a8; }
.action-list > li:nth-child(4n + 3) { --tag: #d6f0fb; }
.action-list > li:nth-child(4n + 4) { --tag: #d8f3e8; }

/* 受付終了・開催終了 */
.action-list > li[data-status="closed"],
.action-list > li[data-status="ended"] {
  --accent: #7d879c;
  --panel: #f3f5f9;
  --panel-line: #d5dbe6;
}

/* ---- カード ---- */

.action-card {
  position: relative;
  display: flex;
  flex: 1;
  flex-direction: column;
  min-width: 0;
  overflow: hidden;
  background: #fff;
  border-radius: var(--radius-lg);
  box-shadow:
    0 26px 44px -26px rgba(8, 50, 110, 0.55),
    0 2px 6px rgba(8, 50, 110, 0.08);
}

.action-photo {
  position: relative;
  flex: none;
  width: 100%;
  aspect-ratio: 16 / 10;
  overflow: hidden;
  background-color: #b9e0eb;
}

.action-photo img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

/* COMING SOON */
li[data-status="soon"] .action-photo::after {
  position: absolute;
  top: 0;
  right: 0;
  bottom: 0;
  left: 0;
  background: linear-gradient(
    180deg,
    rgba(31, 42, 110, 0.25),
    rgba(31, 42, 110, 0.5)
  );
  content: "";
}

/* ---- 状態バッジ ---- */

.action-status {
  position: absolute;
  z-index: 2;
  top: 1.1rem;
  left: 1rem;
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  margin: 0;
  padding: 0.45rem 1.1rem 0.45rem 0.9rem;
  color: #fff;
  background: #5b6478;
  border-radius: 999px;
  box-shadow: 0 10px 22px -10px rgba(0, 30, 70, 0.55);
  font-size: 0.9rem;
  font-weight: 700;
  line-height: 1.4;
}

li:not([data-status]) .action-status {
  display: none;
}

li[data-status="open"] .action-status::after { content: "参加者募集中"; }
li[data-status="closed"] .action-status::after { content: "受付終了"; }
li[data-status="ended"] .action-status::after { content: "開催終了"; }
li[data-status="soon"] .action-status::after { content: "COMING SOON"; }

li[data-status="open"] .action-status {
  color: var(--navy);
  background: var(--yellow);
}

li[data-status="open"] .action-status::before {
  width: 0.55rem;
  height: 0.55rem;
  background: var(--pink-strong);
  border-radius: 50%;
  content: "";
}

li[data-status="soon"] .action-status {
  top: 50%;
  left: 50%;
  width: max-content;
  max-width: 88%;
  padding: 0.45rem 1.6rem;
  background: rgba(255, 255, 255, 0.14);
  border: 1px solid rgba(255, 255, 255, 0.75);
  box-shadow: none;
  -webkit-backdrop-filter: blur(4px);
  backdrop-filter: blur(4px);
  font-family: var(--font-en);
  font-size: 1.1rem;
  font-weight: 600;
  letter-spacing: 0.24em;
  text-align: center;
  transform: translate(-50%, -50%);
}

/* ---- カード内テキスト ---- */

.action-content {
  display: flex;
  flex: 1;
  flex-direction: column;
  padding: 1.75rem 1.5rem 1.9rem;
}

.action-label {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 0.4rem 0.7rem;
  margin-bottom: 1rem;
  color: var(--sea-deep);
  font-size: 0.92rem;
  font-weight: 700;
  letter-spacing: 0.04em;
}

.action-label span {
  padding: 0.2rem 0.9rem;
  color: var(--navy);
  background: var(--tag);
  border-radius: 999px;
  font-family: var(--font-en);
  font-size: 0.82rem;
  font-weight: 600;
  letter-spacing: 0.08em;
  line-height: 1.5;
}

.action-content h3 {
  margin-bottom: 1.5rem;
  color: var(--indigo);
  font-family: var(--font-heading);
  font-size: 1rem;
  font-weight: 700;
  letter-spacing: 0.03em;
  line-height: 1.6;
}

.action-content h3 br {
  display: none;
}

.action-content h3 span {
  display: block;
  margin-top: 0.3rem;
  font-size: 1.35rem;
  font-size: clamp(1.3rem, 5.2vw, 1.5rem);
  line-height: 1.55;
}

/* ---- 日付パネル ---- */

.event-date {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 0.25rem 0.9rem;
  margin: auto 0 0;
  padding: 0.9rem 1.1rem;
  color: var(--indigo);
  background: var(--panel);
  border: 1px solid var(--panel-line);
  border-radius: 1rem;
  font-weight: 700;
}

.event-date::before {
  flex: none;
  width: 2.6rem;
  height: 2.6rem;
  background-color: var(--accent);
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='white' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Crect x='3' y='5' width='18' height='16' rx='3'/%3E%3Cpath d='M3 10h18M8 3v4M16 3v4'/%3E%3C/svg%3E");
  background-position: center;
  background-repeat: no-repeat;
  background-size: 1.3rem;
  border-radius: 50%;
  content: "";
}

.event-date time {
  font-size: 1rem;
}

.event-date strong {
  padding: 0 0.1em;
  background: linear-gradient(transparent 68%, rgba(252, 225, 70, 0.85) 68%);
  font-family: var(--font-heading);
  font-size: 1.7rem;
  font-weight: 700;
  letter-spacing: 0.02em;
}

li[data-status="closed"] .event-date strong,
li[data-status="ended"] .event-date strong {
  background: none;
}

.event-date > span {
  display: inline-flex;
  align-items: center;
  gap: 0.4rem;
  color: var(--muted);
  font-size: 0.97rem;
}

.event-date > span::before {
  width: 1.1rem;
  height: 1.1rem;
  background: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%2317749f' stroke-width='2.2' stroke-linecap='round' stroke-linejoin='round'%3E%3Ccircle cx='12' cy='12' r='9'/%3E%3Cpath d='M12 7v5l3 2'/%3E%3C/svg%3E") center / contain no-repeat;
  content: "";
}

/* ---- ボタン ---- */

.action-buttons {
  display: flex;
  flex-wrap: wrap;
  gap: 0.75rem;
  margin: 1.2rem 0 0;
}

.btn {
  display: inline-flex;
  flex: 1 1 9.5rem;
  align-items: center;
  justify-content: center;
  gap: 0.5rem;
  max-width: 17rem;
  min-height: 3rem;
  padding: 0.65rem 1.4rem;
  border: 2px solid transparent;
  border-radius: 999px;
  font-size: 0.98rem;
  font-weight: 700;
  line-height: 1.3;
  text-decoration: none;
  transition: transform 0.2s ease, background-color 0.2s ease, color 0.2s ease;
}

.btn:hover {
  transform: translateY(-2px);
}

.btn-detail {
  color: var(--indigo);
  background: #fff;
  border-color: var(--indigo);
}

.btn-detail::after {
  font-size: 1.3em;
  line-height: 1;
  content: "›";
}

.btn-detail:hover {
  color: #fff;
  background: var(--indigo);
}

.btn-apply {
  color: #fff;
  background: var(--pink-strong);
  border-color: var(--pink-strong);
  box-shadow: 0 12px 22px -10px rgba(217, 48, 94, 0.8);
}

.btn-apply::after {
  content: "↗";
}

.btn:focus-visible {
  outline-offset: 3px;
}

/* 状態に応じた自動の出し分け */
li[data-status="soon"] .event-date,
li[data-status="soon"] .action-buttons {
  display: none;
}

li:not([data-status="open"]) .btn-apply {
  display: none;
}

li[data-status="closed"] .btn-detail,
li[data-status="ended"] .btn-detail {
  color: #fff;
  background: var(--indigo);
}

li[data-status="closed"] .btn-detail:hover,
li[data-status="ended"] .btn-detail:hover {
  background: var(--navy);
  border-color: var(--navy);
}

li[data-status="closed"] .action-buttons,
li[data-status="ended"] .action-buttons {
  justify-content: center;
}


/* ========================================
   注意事項・お問い合わせ
======================================== */

.information {
  position: relative;
  display: grid;
  gap: 4rem;
  padding: 5rem 6% 8rem;
  background:
    var(--ring) right 4% top 4rem / 40px 40px no-repeat,
    #fff;
}

.information > section {
  width: 100%;
  max-width: var(--wrap);
  margin: 0 auto;
}

.information h2 {
  position: relative;
  isolation: isolate;
  margin-bottom: 1.25rem;
  padding-top: 1.9rem;
  color: var(--indigo);
  font-family: var(--font-heading);
  font-size: 1.5rem;
  font-weight: 700;
  letter-spacing: 0.06em;
}

/* 背景の大きな英字 */
.information h2::before {
  position: absolute;
  z-index: -1;
  top: -0.1em;
  left: -0.04em;
  color: rgba(87, 185, 227, 0.18);
  font-family: var(--font-en);
  font-size: 3.6rem;
  font-size: clamp(3.4rem, 15vw, 5.6rem);
  font-weight: 700;
  letter-spacing: 0.04em;
  line-height: 1;
  white-space: nowrap;
  content: "NOTICE";
}

.information > section:last-child h2::before {
  color: rgba(249, 121, 151, 0.16);
  content: "CONTACT";
}

/* ---- 注意事項：枠なしの番号付きリスト ---- */

.information ul {
  margin: 0;
  padding: 0;
  list-style: none;
  counter-reset: notice;
}

.information li {
  position: relative;
  padding: 1.1rem 0 1.1rem 3rem;
  border-bottom: 1px solid var(--line);
  font-size: 0.95rem;
  line-height: 1.95;
  counter-increment: notice;
}

.information li:first-child {
  border-top: 1px solid var(--line);
}

.information li::before {
  position: absolute;
  top: 1.2rem;
  left: 0;
  display: grid;
  width: 2rem;
  height: 2rem;
  place-items: center;
  color: var(--indigo);
  background: var(--pale);
  border-radius: 50%;
  font-family: var(--font-en);
  font-size: 0.9rem;
  font-weight: 700;
  line-height: 1;
  content: counter(notice);
}

/* ---- お問合せ先 ---- */

.information > section:last-child {
  padding-left: 1.5rem;
  border-left: 4px solid transparent;
  border-image: linear-gradient(180deg, var(--pink), var(--yellow), var(--sky)) 1;
}

.information address {
  font-style: normal;
}

.information address p {
  margin: 0;
}

.information address p + p {
  margin-top: 0.7rem;
}

.information address p:first-child {
  color: var(--navy);
  font-size: 1.05rem;
  font-weight: 700;
}

.information address a {
  color: var(--indigo);
  font-weight: 700;
}

.information address a[href^="tel"] {
  display: inline-block;
  font-family: var(--font-en);
  font-size: 1.65rem;
  letter-spacing: 0.04em;
  line-height: 1.4;
}

/* ========================================
   フッター
======================================== */

.site-footer {
  position: relative;
  padding: 4.5rem 6% 3.5rem;
  color: var(--navy);
  background:
    var(--ring-w) left 8% top 3.5rem / 44px 44px no-repeat,
    var(--spark-w) right 9% top 4rem / 24px 24px no-repeat,
    var(--ring-w) right 16% bottom 2.5rem / 60px 60px no-repeat,
    linear-gradient(180deg, #c7ebf8, #8fd3ee);
}

.site-footer::before {
  position: absolute;
  top: -3rem;
  right: 0;
  left: 0;
  height: 3rem;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 1440 100' preserveAspectRatio='none'%3E%3Cpath fill='%23c7ebf8' d='M0 58C240 100 440 20 720 52S1200 100 1440 42V100H0Z'/%3E%3C/svg%3E");
  background-repeat: no-repeat;
  background-position: bottom;
  background-size: 100% 100%;
  content: "";
}

.site-footer > img {
  position: relative;
  width: min(100%, 260px);
  margin: 0 auto 2.25rem;
  padding: 0.85rem 1.1rem;
  background: #fff;
  border-radius: 0.9rem;
  box-shadow: 0 16px 28px -16px rgba(10, 70, 120, 0.5);
}

.site-footer dl {
  position: relative;
  display: grid;
  grid-template-columns: auto minmax(0, 1fr);
  align-items: baseline;
  gap: 0.8rem 1rem;
  width: fit-content;
  max-width: 100%;
  margin: 0 auto;
  font-size: 0.92rem;
  line-height: 1.8;
}

.site-footer dt {
  justify-self: start;
  padding: 0.05rem 1rem;
  color: var(--navy);
  background: #fff;
  border-radius: 999px;
  font-size: 0.8rem;
  font-weight: 700;
  letter-spacing: 0.2em;
  text-align: center;
}

.site-footer dd {
  margin: 0;
  font-weight: 500;
}

/* ========================================
   タブレット・PC
======================================== */

@media screen and (min-width: 768px) {
  .hero {
    padding-top: 7rem;
    padding-bottom: 10rem;
  }

  .hero > img:first-child {
    object-position: center;
  }

  .hero > .hero-partner {
    top: 1.5rem;
    right: 2rem;
    width: 200px;
    padding: 0.65rem 0.9rem;
  }

  .hero::after {
    height: 6rem;
  }

  .hero h1 {
    width: 230px;
    margin-bottom: 2rem;
    padding: 1.2rem;
  }

  .desktop-break {
    display: inline;
  }

  .hero-cta {
    margin-top: 2.25rem;
    font-size: 1.05rem;
  }

  .connections {
    padding-top: 6.5rem;
    padding-bottom: 10rem;
  }

  .actions {
    padding-top: 6.5rem;
    padding-bottom: 10rem;
  }

  .actions::before,
  .actions::after {
    height: 6rem;
  }

  .actions::before {
    top: -5.9rem;
  }

  .action-list {
    gap: 2rem;
  }


  .action-list > li:not([data-status="open"]) {
    flex: 1 1 calc(50% - 1.05rem);
  }

  .information {
    grid-template-columns: minmax(0, 1.6fr) minmax(0, 1fr);
    align-items: start;
    gap: 5rem;
    padding: 6rem max(6%, calc((100% - var(--wrap)) / 2)) 9rem;
  }

  .information > section {
    max-width: none;
    margin: 0;
  }

  .information > section:last-child {
    padding-left: 2rem;
  }

  .information h2::before {
    font-size: clamp(2.4rem, 4.8vw, 4.4rem);
  }

  .site-footer {
    padding-top: 5rem;
    padding-bottom: 4rem;
  }

  .site-footer::before {
    top: -4.9rem;
    height: 5rem;
  }
}

@media screen and (min-width: 960px) {
  .connections ol {
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 1.5rem;
    max-width: var(--wrap);
  }

  .connections li {
    display: block;
    padding: 2.25rem 2rem 2.5rem;
  }

  .connections li::before {
    top: 0.8rem;
    right: 1.4rem;
    font-size: 4rem;
  }

  .connections li > img {
    width: 80px;
    height: 80px;
    margin-bottom: 1.6rem;
  }

  .connections h3 {
    font-size: 1.3rem;
  }

  .connections li p {
    margin-top: 1rem;
  }
}



@container (min-width: 720px) {
  .action-card {
    flex-direction: row;
  }

  .action-photo {
    flex: 0 0 46%;
    min-height: 320px;
    aspect-ratio: auto;
  }

  .action-content {
    justify-content: center;
    padding: 2.75rem 3.25rem;
  }

  .action-content h3 span {
    font-size: 1.9rem;
    font-size: clamp(1.6rem, 2.6vw, 2.1rem);
  }

  .action-buttons {
    margin-top: 1.4rem;
  }


  li[data-status="soon"] .action-photo {
    min-height: 260px;
  }
}

/* コンテナクエリ非対応の古いブラウザ向け */
@supports not (container-type: inline-size) {
  @media screen and (min-width: 768px) {
    li[data-status="open"] .action-card {
      flex-direction: row;
    }

    li[data-status="open"] .action-photo {
      flex: 0 0 46%;
      min-height: 320px;
      aspect-ratio: auto;
    }

    li[data-status="open"] .action-content {
      justify-content: center;
      padding: 2.75rem 3.25rem;
    }
  }
}

/* ========================================
   動きを減らす設定
======================================== */

@media (prefers-reduced-motion: reduce) {
  html {
    scroll-behavior: auto;
  }

  *,
  *::before,
  *::after {
    animation: none !important;
    transition: none !important;
  }
}

/* ========================================
   詳細ページ
======================================== */

/* ========================================
   ヘッダー
======================================== */

.page-header {
  position: relative;
  isolation: isolate;
  height: 136px;
  overflow: hidden;
  background: #0f6f96;
}

.page-header__bg {
  position: absolute;
  z-index: -1;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: 70% 55%;
}

/* 波 */
.page-header::after {
  position: absolute;
  z-index: 1;
  right: 0;
  bottom: -1px;
  left: 0;
  height: 1.75rem;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 1440 100' preserveAspectRatio='none'%3E%3Cpath fill='%23fff' fill-opacity='.45' d='M0 56C200 14 380 26 560 60S900 98 1080 58 1320 16 1440 48V100H0Z'/%3E%3Cpath fill='%23fff' d='M0 76C180 42 340 48 520 76S880 106 1060 78 1310 46 1440 68V100H0Z'/%3E%3C/svg%3E");
  background-repeat: no-repeat;
  background-position: bottom;
  background-size: 100% 100%;
  content: "";
}

.page-header__inner {
  position: relative;
  z-index: 2;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  width: 88%;
  max-width: var(--wrap);
  height: 100%;
  margin: 0 auto;
  padding-bottom: 0.6rem;
}

.page-header__logo {
  display: block;
  width: 88px;
  padding: 0.4rem 0.45rem;
  background: #fff;
  border-radius: 0.8rem;
  box-shadow: 0 10px 22px -10px rgba(0, 60, 100, 0.5);
  transition: transform 0.2s ease;
}

.page-header__logo:hover {
  transform: translateY(-2px);
}

.page-header__logo:focus-visible,
.page-header__back:focus-visible {
  outline-color: #fff;
}

.page-header__back {
  display: inline-flex;
  align-items: center;
  gap: 0.35rem;
  padding: 0.4rem 1rem 0.4rem 0.8rem;
  color: var(--navy);
  background: rgba(255, 255, 255, 0.94);
  border-radius: 999px;
  box-shadow: 0 8px 18px -10px rgba(0, 60, 100, 0.5);
  font-size: 0.85rem;
  font-weight: 700;
  line-height: 1.4;
  text-decoration: none;
  transition: transform 0.2s ease;
}

.page-header__back::before {
  font-size: 1.2em;
  line-height: 1;
  content: "‹";
}

.page-header__back:hover {
  transform: translateY(-2px);
}

/* ========================================
   共通変数
======================================== */

.event-page {
  --tag: #ffe1e9;
  --accent: var(--indigo);
  --panel: var(--foam);
  --panel-line: var(--line);
}

.event-page[data-status="closed"],
.event-page[data-status="ended"] {
  --accent: #7d879c;
  --panel: #f3f5f9;
  --panel-line: #d5dbe6;
}

.event-page[data-status="closed"] .event-date strong,
.event-page[data-status="ended"] .event-date strong {
  background: none;
}

/* ========================================
   冒頭（タイトル・説明・日付）
======================================== */

.event-intro {
  position: relative;
  isolation: isolate;
  overflow: hidden;
  padding: 2.5rem 6% 6rem;
  background: #fff;
}

.event-intro__bg {
  position: absolute;
  z-index: -1;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center 40%;
}


.event-intro::after {
  position: absolute;
  z-index: -1;
  top: 0;
  right: 0;
  bottom: 0;
  left: 0;
  background:
    linear-gradient(180deg, #fff 0, rgba(255, 255, 255, 0) 3rem),
    linear-gradient(
      180deg,
      rgba(255, 255, 255, 0.9) 0%,
      rgba(255, 255, 255, 0.84) 50%,
      #fff 100%
    );
  content: "";
}

.event-intro__inner {
  max-width: var(--wrap);
  margin: 0 auto;
}

.event-intro__text {
  max-width: 40rem;
  animation: rise 0.8s cubic-bezier(0.2, 0.7, 0.2, 1) both;
}

.event-tags {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 0.5rem 0.9rem;
  margin-bottom: 1.1rem;
}

.event-tags .action-label {
  margin: 0;
}

/* 状態バッジ */
.event-status {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  margin: 0;
  padding: 0.4rem 1rem 0.4rem 0.85rem;
  color: #fff;
  background: #5b6478;
  border-radius: 999px;
  font-size: 0.88rem;
  font-weight: 700;
  line-height: 1.4;
}

.event-page:not([data-status]) .event-status {
  display: none;
}

.event-page[data-status="open"] .event-status {
  color: var(--navy);
  background: var(--yellow);
}

.event-page[data-status="open"] .event-status::before {
  width: 0.55rem;
  height: 0.55rem;
  background: var(--pink-strong);
  border-radius: 50%;
  content: "";
}

.event-page[data-status="open"] .event-status::after   { content: "参加者募集中"; }
.event-page[data-status="closed"] .event-status::after { content: "受付終了"; }
.event-page[data-status="ended"] .event-status::after  { content: "開催終了"; }
.event-page[data-status="soon"] .event-status::after   { content: "COMING SOON"; }

.event-intro h1 {
  margin-bottom: 0.9rem;
  color: var(--indigo);
  font-family: var(--font-heading);
  font-size: 2rem;
  font-size: clamp(1.8rem, 7vw, 2.9rem);
  font-weight: 700;
  letter-spacing: 0.03em;
  line-height: 1.4;
}

.event-lead {
  margin-bottom: 0.9rem;
  color: var(--indigo);
  font-family: var(--font-heading);
  font-size: 1.1rem;
  font-weight: 700;
  line-height: 1.8;
}

.event-desc {
  margin-bottom: 1.6rem;
  line-height: 2;
}

.event-intro .event-date {
  width: fit-content;
  max-width: 100%;
  margin: 0 0 1.25rem;
  background: rgba(255, 255, 255, 0.92);
}

.event-intro .action-buttons {
  margin-top: 0;
  justify-content: center;
}

/* ページ内リンクなので矢印は下向き */
.event-intro .btn-apply::after {
  content: "↓";
}

/* ========================================
   開催概要
======================================== */

.event-outline {
  position: relative;
  padding: 4rem 6% 6.5rem;
  background: var(--foam);
}

/* 上側の波 */
.event-outline::before {
  position: absolute;
  top: -3.4rem;
  right: 0;
  left: 0;
  height: 3.5rem;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 1440 100' preserveAspectRatio='none'%3E%3Cpath fill='%23f4fbfe' d='M0 56C200 12 380 24 560 58S900 96 1080 56 1320 14 1440 46V100H0Z'/%3E%3C/svg%3E");
  background-repeat: no-repeat;
  background-position: bottom;
  background-size: 100% 100%;
  content: "";
}

/* 下側の波 */
.event-outline::after {
  position: absolute;
  right: 0;
  bottom: -1px;
  left: 0;
  height: 4rem;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 1440 100' preserveAspectRatio='none'%3E%3Cpath fill='%23fff' d='M0 58C180 94 340 90 520 54S820 12 980 48 1280 92 1440 50V100H0Z'/%3E%3C/svg%3E");
  background-repeat: no-repeat;
  background-position: bottom;
  background-size: 100% 100%;
  content: "";
}

.event-outline > * {
  position: relative;
  z-index: 1;
}

.event-outline .section-heading {
  margin-bottom: 2rem;
}

.outline {
  max-width: 860px;
  margin: 0 auto;
  padding: 0.4rem 1.3rem;
  background: #fff;
  border: 1px solid var(--line);
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow-card);
}

.outline__row {
  display: grid;
  gap: 0.3rem;
  padding: 1.1rem 0;
  border-top: 1px solid var(--line);
}

.outline__row:first-child {
  border-top: 0;
}

.outline dt {
  display: flex;
  align-items: center;
  gap: 0.6rem;
  color: var(--indigo);
  font-family: var(--font-heading);
  font-weight: 700;
  letter-spacing: 0.04em;
}

.outline dt::before {
  flex: none;
  width: 0.55rem;
  height: 0.55rem;
  background: var(--sky);
  border-radius: 50%;
  content: "";
}

.outline dd {
  margin: 0;
  min-width: 0;
  padding-left: 1.15rem;
}

.outline dd p {
  margin: 0;
}

.outline dd p + p,
.outline dd ul + p {
  margin-top: 0.4rem;
}

/* 補足（※や住所） */
.outline__note {
  color: var(--muted);
  font-size: 0.9rem;
}

/* ---- 持ち物 ---- */

.items {
  display: flex;
  flex-wrap: wrap;
  gap: 0.45rem;
  margin: 0;
  padding: 0;
  list-style: none;
}


.items li {
  padding: 0.2rem 0.95rem;
  color: var(--navy);
  background: var(--pale);
  border-radius: 1.1rem;
  font-size: 0.95rem;
  line-height: 1.7;
}

/* ---- スケジュール ---- */

.program {
  margin: 0;
  padding: 0;
  list-style: none;
}

.program li {
  display: grid;
  grid-template-columns: 4.3rem minmax(0, 1fr);
  padding: 0.5rem 0;
}

.program time {
  color: var(--indigo);
  font-family: var(--font-en);
  font-size: 1.05rem;
  font-weight: 600;
  letter-spacing: 0.03em;
  line-height: 1.9;
}

.program p {
  position: relative;
  padding-left: 1.5rem;
  line-height: 1.9;
}

.program p::before {
  position: absolute;
  z-index: 1;
  top: 0.65rem;
  left: 0;
  width: 0.6rem;
  height: 0.6rem;
  background: var(--sky);
  border-radius: 50%;
  box-shadow: 0 0 0 3px var(--pale);
  content: "";
}

.program li:not(:last-child) p::after {
  position: absolute;
  top: 1.1rem;
  bottom: -1.2rem;
  left: calc(0.3rem - 1px);
  width: 2px;
  background: var(--line);
  content: "";
}

/* ========================================
   参加申込ボタン
======================================== */

.apply {
  max-width: 860px;
  margin: 2.25rem auto 0;
  text-align: center;
  scroll-margin-top: 2rem;
}

.apply .action-buttons {
  justify-content: center;
  margin: 0;
}

.apply .btn {
  flex-basis: 16rem;
  max-width: 22rem;
  min-height: 3.5rem;
  font-size: 1.08rem;
}


.apply-closed {
  display: inline-block;
  margin: 0;
  padding: 0.7rem 1.6rem;
  color: var(--muted);
  background: #fff;
  border: 1px solid var(--panel-line);
  border-radius: 999px;
  font-weight: 700;
}

/* 状態による出し分け */
.event-page:not([data-status="open"]) .apply-open,
.event-page:not([data-status="open"]) .event-intro .action-buttons {
  display: none;
}

.event-page[data-status="open"] .apply-closed {
  display: none;
}

.event-page[data-status="soon"] .event-date,
.event-page[data-status="soon"] .apply {
  display: none;
}

/* ========================================
   イベントの注意事項
======================================== */

.event-notice {
  --label: var(--pink);
  padding: 3rem 6% 3.5rem;
}

.notice-grid {
  display: grid;
  gap: 2.25rem;
  max-width: var(--wrap);
  margin: 0 auto;
}

.notice-group {
  --gc: var(--pink);
  min-width: 0;
  padding-top: 1.1rem;
  border-top: 4px solid var(--gc);
}

.notice-group--safety { --gc: var(--sky); }
.notice-group--photo  { --gc: #f2c81c; }

.notice-group h3 {
  margin: 0 0 0.5rem;
  color: var(--indigo);
  font-family: var(--font-heading);
  font-size: 1.15rem;
  font-weight: 700;
  letter-spacing: 0.04em;
}

.notice-group ul {
  margin: 0;
  padding: 0;
  list-style: none;
}

.notice-group li {
  position: relative;
  padding: 0.5rem 0 0.5rem 1.3rem;
  font-size: 0.95rem;
  line-height: 1.95;
}

.notice-group li::before {
  position: absolute;
  top: 1.2em;
  left: 0.1rem;
  width: 0.5rem;
  height: 0.5rem;
  background: var(--gc);
  border-radius: 50%;
  content: "";
}

/* ========================================
   お問合せ先
======================================== */

.event-contact {
  padding: 1rem 6% 3rem;
  text-align: center;
}

.event-contact::before {
  display: block;
  width: 4rem;
  height: 4px;
  margin: 0 auto 1.8rem;
  background: linear-gradient(90deg, var(--pink) 0 33.3%, var(--yellow) 33.3% 66.6%, var(--sky) 66.6%);
  border-radius: 999px;
  content: "";
}

.event-contact h2 {
  margin-bottom: 1rem;
  color: var(--indigo);
  font-family: var(--font-heading);
  font-size: 1.25rem;
  font-weight: 700;
  letter-spacing: 0.06em;
}

.event-contact address {
  font-style: normal;
}

.event-contact address p {
  margin: 0;
}

.event-contact address p + p {
  margin-top: 0.5rem;
}

.event-contact__name {
  color: var(--navy);
  font-weight: 700;
}

.event-contact a {
  color: var(--indigo);
  font-weight: 700;
}

.event-contact__tel {
  display: inline-block;
  font-family: var(--font-en);
  font-size: 1.8rem;
  letter-spacing: 0.04em;
  line-height: 1.4;
}

/* ========================================
   下部（トップへ戻る）
======================================== */

.back-link {
  padding: 1rem 6% 7rem;
  text-align: center;
}

.btn-back {
  flex: none;
  min-width: 15rem;
}

.btn-back::after {
  content: none;
}

.btn-back::before {
  font-size: 1.3em;
  line-height: 1;
  content: "‹";
}

/* ========================================
   タブレット・PC
======================================== */

@media screen and (min-width: 640px) {
  .outline {
    padding: 0.6rem 2.25rem;
  }

  .outline__row {
    grid-template-columns: 9.5rem minmax(0, 1fr);
    gap: 1.5rem;
  }

  .outline dd {
    padding-left: 0;
  }
}

@media screen and (min-width: 768px) {
  .page-header {
    height: 176px;
  }

  .page-header::after {
    height: 2.5rem;
  }

  .page-header__logo {
    width: 104px;
  }

  .page-header__back {
    font-size: 0.9rem;
  }

  .event-intro {
    padding: 3.5rem 6% 8rem;
  }

  .event-intro::after {
    background:
      linear-gradient(180deg, #fff 0, rgba(255, 255, 255, 0) 4rem), /* ← 追加 */
      linear-gradient(180deg, rgba(255, 255, 255, 0) 60%, #fff 100%),
      linear-gradient(90deg, #fff 0%, rgba(255, 255, 255, 0.93) 36%, rgba(255, 255, 255, 0.4) 100%);
  }

  .event-intro .action-buttons {
    justify-content: flex-start;
  }
	
	
  .event-outline {
    padding: 5rem 6% 8.5rem;
  }

  .event-outline::before {
    top: -4.9rem;
    height: 5rem;
  }

  .event-outline::after {
    height: 5rem;
  }

  .event-outline .section-heading {
    margin-bottom: 2.5rem;
  }

  .apply {
    margin-top: 2.75rem;
  }

  .event-notice {
    padding-top: 3.5rem;
    padding-bottom: 4rem;
  }

  .event-contact {
    padding-bottom: 4rem;
  }

  .back-link {
    padding-bottom: 9rem;
  }
}

@media screen and (min-width: 960px) {
  .notice-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    grid-template-areas:
      "join safety"
      "photo safety";
    align-content: start;
    gap: 2.5rem 4rem;
  }

  .notice-group--join   { grid-area: join; }
  .notice-group--safety { grid-area: safety; }
  .notice-group--photo  { grid-area: photo; }
}