@charset "UTF-8";

/* =========================================================
   CLEAN BEATS - style.css
   1. Base / Tokens
   2. Parts (button / brush / list / utility)
   3. Header & Global nav
   4. Hero (FV)
   5. Event banner
   6. Features (3カラム)
   7. Sub page (page head / breadcrumb / body)
   8. Sub page content (本文パーツ)
   9. Footer
  10. Responsive
========================================================= */

/* =========================================================
   1. Base / Tokens
========================================================= */
:root {
  --navy: #002855;
  --navy-deep: #001a38;
  --blue: #0697d5;
  --blue-deep: #1257a5;
  --blue-pale: #eaf5fc;
  --green: #58a93a;
  --lime: #83bf20;
  --cream: #f7f6f1;
  --cream-2: #f0efe8;
  --text: #17324f;
  --text-sub: #5f7286;
  --white: #ffffff;
  --line: #dde4ea;

  --font-base: "Noto Sans JP", "Hiragino Kaku Gothic ProN", "Yu Gothic", sans-serif;
  --font-round: "Zen Maru Gothic", "Noto Sans JP", sans-serif;

  --inner: 1400px;
  --pad: clamp(16px, 4vw, 42px);
  --radius: 18px;
  --ease: cubic-bezier(.2, .7, .3, 1);
  --header-h: clamp(78px, 8.5vw, 128px); /* トップページのヘッダー占有分 */
}

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

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

body {
  margin: 0;
  font-family: var(--font-base);
  font-size: 16px;
  line-height: 1.9;
  color: var(--text);
  background: var(--white);
  -webkit-font-smoothing: antialiased;
  text-size-adjust: 100%;
  overflow-wrap: break-word;
  word-break: normal;
  line-break: strict;
}

img, svg { max-width: 100%; height: auto; vertical-align: middle; }
a { color: inherit; text-decoration: none; transition: opacity .25s var(--ease), color .25s var(--ease); }
a:hover { opacity: .75; }
ul, ol { margin: 0; padding: 0; list-style: none; }
h1, h2, h3, p, figure { margin: 0; }
button { font: inherit; color: inherit; background: none; border: 0; cursor: pointer; }
:focus-visible { outline: 3px solid var(--blue); outline-offset: 2px; }

/* =========================================================
   2. Parts
========================================================= */
/* --- 筆ストローク（見出し・キャッチコピーの下地） --- */
/* 筆先が細くなる端に文字が乗らないよう、下地は要素より少し大きく敷く */
.brush {
  display: inline-block;
  padding: .28em 1em .4em;
  color: var(--white);
  background-repeat: no-repeat;
  background-position: center;
  background-size: 108% 118%;
}
.brush--lime  { background-image: url(../images/brush-lime.svg); }
.brush--blue  { background-image: url(../images/brush-blue.svg); }
.brush--green { background-image: url(../images/brush-green.svg); }
.brush--white { background-image: url(../images/brush-white.svg); color: var(--navy); }

.is-green { color: var(--green); font-style: normal; }
.is-blue  { color: var(--blue);  font-style: normal; }

/* --- ボタン --- */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  min-height: 46px;
  padding: 9px clamp(18px, 1.8vw, 28px);
  border-radius: 999px;
  font-family: var(--font-round);
  font-weight: 700;
  font-size: clamp(13.5px, 1.05vw, 15.5px);
  line-height: 1.4;
  text-align: center;
  white-space: nowrap;
  transition: background-color .3s var(--ease), color .3s var(--ease), transform .3s var(--ease), box-shadow .3s var(--ease);
}
.btn:hover { opacity: 1; transform: translateY(-2px); }
.btn--join {
  flex: none;
  background: var(--blue);
  color: var(--white);
  box-shadow: 0 6px 16px rgba(6, 151, 213, .3);
}
.btn--join:hover { background: #0584bc; box-shadow: 0 9px 20px rgba(6, 151, 213, .36); }
.btn--detail {
  background: var(--blue-deep);
  color: var(--white);
  box-shadow: 0 6px 16px rgba(18, 87, 165, .26);
}
.btn--detail:hover { background: #0e4886; }

.ico-arrow { width: 14px; height: 14px; flex: none; transition: transform .3s var(--ease); }
.btn:hover .ico-arrow, a:hover > .ico-arrow { transform: translateX(4px); }

/* --- チェックリスト --- */
.check-list li {
  display: flex;
  align-items: flex-start;
  gap: 9px;
  font-weight: 700;
  font-size: clamp(12.5px, 1vw, 15px);
  line-height: 1.9;
  color: var(--navy);
}
.check-list li + li { margin-top: 2px; }
.check-list li::before {
  content: "";
  flex: none;
  width: 1.15em;
  height: 1.15em;
  margin-top: .38em;
  background: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'%3E%3Ccircle cx='12' cy='12' r='11' fill='%2358A93A'/%3E%3Cpath d='M6.9 12.5l3.4 3.4 6.8-7.2' fill='none' stroke='%23fff' stroke-width='2.6' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E") no-repeat center / contain;
}

/* --- SNSアイコン（丸） --- */
.sns { display: flex; align-items: center; gap: clamp(6px, .7vw, 10px); }
.sns a {
  display: grid;
  place-items: center;
  width: clamp(30px, 2.5vw, 36px);
  aspect-ratio: 1;
  border-radius: 50%;
  background: var(--navy-deep);
  color: var(--white);
  transition: background-color .25s var(--ease), transform .25s var(--ease);
}
.sns a:hover { opacity: 1; background: var(--blue); transform: translateY(-2px); }
.sns svg { width: 58%; height: 58%; }

/* --- ユーティリティ --- */
.pc { display: inline; }
.sp { display: none; }

.sr-only {
  position: absolute;
  width: 1px; height: 1px;
  margin: -1px; padding: 0;
  overflow: hidden;
  clip-path: inset(50%);
  white-space: nowrap;
}
.skip-link {
  position: absolute;
  left: 12px; top: -60px;
  z-index: 999;
  padding: 10px 18px;
  border-radius: 0 0 12px 12px;
  background: var(--navy);
  color: var(--white);
  font-size: 13px;
  transition: top .2s var(--ease);
}
.skip-link:focus { top: 0; }

/* =========================================================
   3. Header & Global nav
========================================================= */
.header {
  position: absolute;
  inset: 0 0 auto;
  z-index: 100;
  padding: clamp(6px, .8vw, 12px) 0;
}
.header__inner {
  width: min(100% - var(--pad) * 2, 1500px);
  margin-inline: auto;
  display: flex;
  align-items: center;
  gap: clamp(10px, 1.4vw, 26px);
}
/* トップページ：ロゴは白帯からはみ出す大きさなので、ヘッダーの高さに含めない。
   min-height は下層ページのロゴ高さと同じにして、
   ナビ・SNS・ボタンが全ページで同じ位置に並ぶようにする */
.header:not(.header--sub) .header__inner {
  position: relative;
  min-height: clamp(106px, 9.75vw, 135px);
}
.header:not(.header--sub) .header__logo {
  position: absolute;
  left: 0;
  top: 0;
}

.header__logo { flex: none; line-height: 0; }
.header__logo img {
  width: clamp(132px, 14vw, 212px);
  /* 白帯からはみ出した下側が写真に重なるため、軽く白い光彩を敷く */
  filter:
    drop-shadow(0 0 3px rgba(255, 255, 255, .95))
    drop-shadow(0 0 9px rgba(255, 255, 255, .8));
}
.header--sub .header__logo img { filter: none; }

.gnav { margin-left: auto; display: flex; align-items: center; gap: clamp(14px, 1.8vw, 34px); }
.gnav__list {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: clamp(12px, 1.7vw, 30px);
}
.gnav__list a {
  position: relative;
  display: inline-block;
  padding-bottom: 4px;
  font-family: var(--font-round);
  font-weight: 500;
  font-size: clamp(12px, .98vw, 15px);
  letter-spacing: .06em;
  color: var(--navy);
}
.gnav__list a::after {
  content: "";
  position: absolute;
  left: 0; bottom: 0;
  width: 100%; height: 2px;
  background: var(--lime);
  transform: scaleX(0);
  transform-origin: right;
  transition: transform .3s var(--ease);
}
.gnav__list a:hover { opacity: 1; }
.gnav__list a:hover::after,
.gnav__list a[aria-current="page"]::after { transform: scaleX(1); transform-origin: left; }
.gnav__ja { display: none; }
.sns--drawer, .gnav__join { display: none; }

/* 下層ページ用ヘッダー（ヒーローが無いため白帯で追従） */
.header--sub {
  position: sticky;
  top: 0;
  background: rgba(255, 255, 255, .96);
  box-shadow: 0 2px 12px rgba(0, 40, 85, .09);
}
.header--sub .header__logo img { width: clamp(120px, 11vw, 152px); }

.hamburger { display: none; }

/* =========================================================
   4. Hero (FV)
========================================================= */
/* 上下の白い波形は背景画像に含まれている。
   画像の白とページの白がつながるよう、FVの地色は白にして
   画像の上端をヘッダー分だけ下げる（＝上の白帯が伸びて見える） */
.hero {
  position: relative;
  display: flex;
  flex-direction: column;
  overflow: hidden;
  background: var(--white);
  padding-bottom: clamp(18px, 1.4vw, 24px);
}
/* 次回イベントのバナーが無いときは、そのぶん写真の下に余白を足して
   大ロゴと白い波が詰まって見えないようにする */
.hero--no-event { padding-bottom: clamp(40px, 4.5vw, 70px); }
/* 画像の白い波形の上に、ヘッダー分の白を足す（メニューが写真に重ならない高さ） */
.hero__bg {
  position: absolute;
  inset: clamp(38px, 4.6vw, 78px) 0 0;
  z-index: 0;
}
/* 写真は横長（1881×836）。FVの方が縦長になるため左右がトリミングされる
   （上下は切れないので波形はそのまま残る）。右側の2人が切れないよう右端を基準にする */
.hero__bg img { width: 100%; height: 100%; object-fit: cover; object-position: 100% center; }

/* 右上のキャッチコピー（筆文字の画像） */
.hero__brush {
  position: absolute;
  z-index: 3;
  right: var(--pad);
  top: clamp(96px, 8.1vw, 124px);
  line-height: 0;
}
.hero__brush img {
  width: clamp(148px, 15.5vw, 224px);
  height: auto;
  filter: drop-shadow(0 1px 6px rgba(255, 255, 255, .85));
}

.hero__inner {
  position: relative;
  z-index: 2;
  width: min(100% - var(--pad) * 2, var(--inner));
  margin-inline: auto;
  padding-top: var(--header-h);
  display: grid;
  /* デザイン案では右カラム（見出し）がFV幅の約36%から始まる */
  grid-template-columns: minmax(0, 33.5%) minmax(0, 1fr);
  gap: clamp(14px, 2vw, 32px);
  align-items: start;
}

/* --- 左：ロゴ --- */
.hero__left { text-align: left; }
.hero__logo { margin-top: clamp(10px, 4.4vw, 67px); }
.hero__logo img {
  width: clamp(280px, 31.3vw, 481px);
  max-width: none;
  /* 外側の白い光彩（drop-shadow を重ねてグローにする） */
  filter:
    drop-shadow(0 0 5px rgba(255, 255, 255, 1))
    drop-shadow(0 0 13px rgba(255, 255, 255, .95))
    drop-shadow(0 0 28px rgba(255, 255, 255, .8))
    drop-shadow(0 0 48px rgba(255, 255, 255, .5));
}

/* --- 右：コピー --- */
.hero__right { padding-top: clamp(0px, 2.4vw, 40px); }
/* メインコピー（画像）。白い筆ストロークは画像に含まれています */
.hero__ttl { line-height: 0; }
.hero__ttl img {
  width: min(100%, clamp(280px, 32vw, 500px));
  height: auto;
}

.hero__lead {
  position: relative;
  z-index: 0;
  display: inline-block;
  margin-top: 0;
  padding: clamp(10px, 1vw, 16px) clamp(12px, 1.2vw, 20px);
  font-size: clamp(12.5px, 1.02vw, 16px);
  font-weight: 500;
  line-height: 2;
  color: var(--navy);
}

/* 写真の上でも読めるように敷いている白。四角い板に見えないよう、
   別レイヤーに描いてから blur でふちをぼかす（文字の下だけ濃く残る） */
.hero__lead::before {
  content: "";
  position: absolute;
  z-index: -1;
  /* ぼかすと縁が内側へ食い込むので、文字にかからないよう外へ広げておく */
  inset: -16px -14px;
  border-radius: 26px;
  background: rgba(255, 255, 255, .82);
  filter: blur(16px);
}

.hero__icons {
  display: flex;
  flex-wrap: wrap;
  gap: clamp(8px, .7vw, 12px);
  /* リード文の1文字目と左端をそろえる（＝リード文の padding-left と同値） */
  padding-left: clamp(12px, 1.55vw, 24px);
  margin-top: clamp(6px, .75vw, 12px);
}
.hero__icons img { width: clamp(72px, 6.6vw, 102px); }

/* =========================================================
   5. Event banner
========================================================= */
.hero__event {
  position: relative;
  z-index: 2;
  width: min(100% - var(--pad) * 2, var(--inner));
  margin: clamp(10px, .85vw, 13px) auto 0;
}
.event-banner {
  display: flex;
  align-items: center;
  gap: clamp(10px, 1.5vw, 24px);
  width: min(100%, 600px);
  padding: clamp(9px, .72vw, 11px) clamp(12px, 1.05vw, 16px);
  border-radius: 999px;
  background: rgba(255, 255, 255, .95);
  box-shadow: 0 12px 32px rgba(0, 40, 85, .14);
}
.event-banner__label {
  flex: none;
  padding: clamp(5px, .6vw, 9px) clamp(9px, .85vw, 13px);
  border-radius: 999px;
  background: var(--lime);
  color: var(--white);
  font-family: var(--font-round);
  font-weight: 700;
  font-size: clamp(10px, .72vw, 11px);
  line-height: 1.4;
  text-align: center;
}
.event-banner__body { min-width: 0; }
/* 見出しが長くても2行に折り返さず、1行のまま末尾を「…」で省略する。
   文字は削らずCSSで隠しているだけなので、読み上げと検索には全文が伝わる */
.event-banner__date,
.event-banner__ttl {
  overflow: hidden;
  white-space: nowrap;
  text-overflow: ellipsis;
}
.event-banner__date {
  font-size: clamp(12.5px, 1.08vw, 17px);
  font-weight: 700;
  line-height: 1.6;
  color: var(--navy);
}
.event-banner__ttl {
  font-family: var(--font-round);
  font-weight: 900;
  font-size: clamp(15px, 1.4vw, 21px);
  line-height: 1.5;
  color: var(--navy);
}
/* バナー内のボタンはデザイン案では小ぶり。見出しが長いときに潰れないよう縮ませない */
.event-banner .btn {
  flex: none;
  margin-left: auto;
  min-height: 38px;
  padding: 7px clamp(14px, 1.15vw, 18px);
  font-size: clamp(12.5px, .95vw, 14.5px);
}

/* =========================================================
   6. Features
========================================================= */
/* FV下端の白い波形からつながるよう、上端は白から始める */
.features {
  position: relative;
  padding: clamp(28px, 3.4vw, 54px) 0 clamp(36px, 4.6vw, 78px);
  background: linear-gradient(180deg, var(--white) 0%, #fbfaf6 14%, var(--cream-2) 100%);
}
.features__inner {
  width: min(100% - var(--pad) * 2, var(--inner));
  margin-inline: auto;
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: clamp(22px, 2.6vw, 46px);
}
.feature__ttl {
  margin-bottom: clamp(10px, 1.2vw, 18px);
  font-family: var(--font-round);
  font-weight: 700;
  font-size: clamp(14.5px, 1.38vw, 21px);
  letter-spacing: .02em;
}
.feature__ttl .brush { padding: .3em 1.25em .46em; }
.feature__row {
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  gap: clamp(6px, .7vw, 12px);
  align-items: center;
}
.feature__txt p {
  font-size: clamp(12.5px, 1.02vw, 15.5px);
  font-weight: 500;
  line-height: 2;
  color: var(--navy);
}
.feature__more {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  margin-top: clamp(8px, 1vw, 14px);
  font-family: var(--font-round);
  font-weight: 700;
  font-size: clamp(11.5px, .92vw, 13.5px);
  letter-spacing: .04em;
  color: var(--blue-deep);
}
.feature__more:hover { opacity: 1; color: var(--blue); }
.feature__photo { flex: none; line-height: 0; }
.feature__photo img { width: clamp(126px, 12.2vw, 182px); }

/* =========================================================
   7. Sub page
========================================================= */
.page-head {
  position: relative;
  overflow: hidden;
  padding: clamp(34px, 4.4vw, 68px) 0 clamp(34px, 4vw, 60px);
  background: linear-gradient(180deg, var(--blue-pale) 0%, #f6fbfd 100%);
  text-align: center;
}
/* ヘッダーの白帯から続く筆のかすれ（トップページのFVと同じ見せ方） */
.page-head::before {
  content: "";
  position: absolute;
  left: -16%; right: -16%; top: calc(clamp(18px, 2.2vw, 32px) * -1);
  height: clamp(34px, 4vw, 60px);
  background: url(../images/brush-white.svg) no-repeat center / 100% 100%;
}
.page-head__inner {
  position: relative;
  z-index: 1;
  width: min(100% - var(--pad) * 2, var(--inner));
  margin-inline: auto;
}
.page-head__en {
  font-size: clamp(10.5px, .85vw, 12.5px);
  font-weight: 700;
  letter-spacing: .3em;
  color: var(--blue);
  margin-bottom: 8px;
}
.page-head__ttl {
  font-family: var(--font-round);
  font-weight: 900;
  font-size: clamp(23px, 2.9vw, 40px);
  line-height: 1.4;
  letter-spacing: .05em;
  color: var(--navy);
}
.page-head__ttl span { position: relative; display: inline-block; padding-bottom: .3em; }
.page-head__ttl span::after {
  content: "";
  position: absolute;
  left: -3%; right: -3%; bottom: 0;
  height: .2em;
  background: url(../images/brush-lime.svg) no-repeat center / 100% 100%;
}
.page-head__lead {
  margin-top: clamp(12px, 1.4vw, 20px);
  font-size: clamp(12.5px, 1vw, 15px);
  line-height: 1.95;
  color: var(--text-sub);
}

.breadcrumb { background: var(--cream); }
.breadcrumb__list {
  width: min(100% - var(--pad) * 2, var(--inner));
  margin-inline: auto;
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 4px 10px;
  padding: 9px 0;
  font-size: 11.5px;
  color: var(--text-sub);
}
.breadcrumb__list li { display: flex; align-items: center; gap: 10px; }
.breadcrumb__list li + li::before { content: "›"; color: var(--line); }
.breadcrumb__list a { color: var(--blue-deep); font-weight: 700; letter-spacing: .08em; }

/* 下層ページ本文の器 */
.page-body {
  background: var(--white);
  padding: clamp(38px, 5vw, 76px) 0 clamp(44px, 5.6vw, 84px);
}
.page-body__inner { width: min(100% - var(--pad) * 2, 980px); margin-inline: auto; }

/* コンテンツ実装までの仮表示 */
.placeholder {
  display: block;
  padding: clamp(34px, 5vw, 64px) 24px;
  border: 1px dashed var(--line);
  border-radius: var(--radius);
  background: var(--cream);
  text-align: center;
  font-size: 14px;
  line-height: 2;
  color: var(--text-sub);
}
.placeholder__ttl {
  display: block;
  margin-bottom: 6px;
  font-family: var(--font-round);
  font-weight: 700;
  font-size: clamp(17px, 1.8vw, 22px);
  color: var(--navy);
}

/* =========================================================
   8. Sub page content（下層ページの本文パーツ）
========================================================= */
.sec { padding: clamp(38px, 4.6vw, 76px) 0; background: var(--white); }
.sec--tint { background: linear-gradient(180deg, #f7fbfd 0%, var(--blue-pale) 100%); }
.sec--cream { background: var(--cream); }
.sec__inner { width: min(100% - var(--pad) * 2, 1080px); margin-inline: auto; }
.sec__inner--narrow { width: min(100% - var(--pad) * 2, 800px); }

.sec__head { margin-bottom: clamp(18px, 2.2vw, 30px); }
.sec__head--center { text-align: center; }
.sec-en { margin-bottom: clamp(10px, 1.2vw, 15px); }
.sec-en .brush {
  padding: .36em 1.5em .48em;
  background-size: 114% 126%;
  font-family: var(--font-round);
  font-weight: 700;
  font-size: clamp(11px, .92vw, 13.5px);
  letter-spacing: .24em;
}
.sec-ttl {
  font-family: var(--font-round);
  font-weight: 900;
  font-size: clamp(19px, 2.2vw, 31px);
  line-height: 1.55;
  letter-spacing: .02em;
  color: var(--navy);
}

.txt {
  font-size: clamp(13.5px, 1.05vw, 16px);
  font-weight: 500;
  line-height: 2.05;
  color: var(--navy);
}
.txt + .txt { margin-top: 1.1em; }
.txt--sm { font-size: clamp(12.5px, .95vw, 14px); color: var(--text-sub); }
.txt--center { text-align: center; }
.txt a, .spec a {
  color: var(--blue-deep);
  text-decoration: underline;
  text-underline-offset: 3px;
}

/* ページ冒頭の大きなリードコピー */
.lead-copy {
  font-family: var(--font-round);
  font-weight: 900;
  font-size: clamp(22px, 2.9vw, 40px);
  line-height: 1.5;
  letter-spacing: .02em;
  color: var(--navy);
  margin-bottom: clamp(16px, 2vw, 26px);
}
.lead-copy span { display: block; }

/* マーカーで強調することば */
.em {
  font-style: normal;
  font-weight: 700;
  padding-inline: .12em;
  background: linear-gradient(transparent 60%, #dff0ad 60%);
}

/* 強調のことば（囲み） */
.pull {
  margin-block: clamp(20px, 2.4vw, 32px);
  padding: clamp(18px, 2.2vw, 30px) clamp(18px, 2.4vw, 34px);
  border-radius: var(--radius);
  background: var(--blue-pale);
}
.pull--lime { background: #f3f9e7; }
.pull--center { text-align: center; }
.pull li, .pull p {
  font-family: var(--font-round);
  font-weight: 700;
  font-size: clamp(15.5px, 1.65vw, 23px);
  line-height: 1.75;
  color: var(--navy);
}
.pull li + li { margin-top: .18em; }

/* 写真つきレイアウト（媒体：本文＋丸写真） */
.media {
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  gap: clamp(18px, 3vw, 52px);
  align-items: center;
}
/* 写真を左に置く並び（列幅も入れ替える） */
.media--rev { grid-template-columns: auto minmax(0, 1fr); }
.media--rev > .media__photo { order: -1; }
.media__photo { line-height: 0; }
.media__photo img { width: clamp(168px, 21vw, 290px); }

/* 関わり方などのタグ */
.tags {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin-top: clamp(14px, 1.8vw, 22px);
}
.tags + .txt { margin-top: clamp(14px, 1.7vw, 22px); }
.tags li {
  padding: 8px 20px;
  border: 1px solid var(--lime);
  border-radius: 999px;
  background: var(--white);
  font-family: var(--font-round);
  font-weight: 700;
  font-size: clamp(12.5px, 1vw, 14.5px);
  color: var(--green);
}

/* ○○ × CLEAN BEATS */
.cross-list {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: clamp(10px, 1.4vw, 18px);
  margin-block: clamp(18px, 2.2vw, 28px);
}
.cross-list li {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: .55em;
  padding: clamp(14px, 1.6vw, 22px) 12px;
  border-radius: var(--radius);
  background: var(--white);
  box-shadow: 0 6px 18px rgba(0, 40, 85, .09);
  font-family: var(--font-round);
  font-weight: 700;
  font-size: clamp(13px, 1.2vw, 18px);
  line-height: 1.5;
  color: var(--navy);
  text-align: center;
}
.cross-list__x { color: var(--lime); font-size: 1.15em; }
.cross-list__b { color: var(--blue); }

/* 活動概要 */
.spec { margin-top: clamp(16px, 2vw, 26px); border-top: 1px solid var(--line); }
.spec__row {
  display: grid;
  grid-template-columns: 190px minmax(0, 1fr);
  gap: 4px 24px;
  padding: 14px 6px;
  border-bottom: 1px solid var(--line);
}
.spec dt {
  font-family: var(--font-round);
  font-weight: 700;
  font-size: clamp(12.5px, 1vw, 14px);
  color: var(--blue-deep);
}
.spec dd {
  margin: 0;
  font-size: clamp(13px, 1.02vw, 15px);
  line-height: 1.9;
  color: var(--navy);
}

/* 連絡先などのボタン列 */
.cta {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  justify-content: center;
  margin-top: clamp(20px, 2.4vw, 32px);
}
.btn--outline {
  background: var(--white);
  border: 2px solid var(--blue);
  color: var(--blue-deep);
}
.btn--outline:hover { background: var(--blue); color: var(--white); }

/* 補足（準備中のお知らせなど） */
.note {
  margin-top: clamp(20px, 2.4vw, 30px);
  padding: clamp(14px, 1.6vw, 20px) clamp(16px, 1.8vw, 24px);
  border: 1px dashed var(--line);
  border-radius: var(--radius);
  background: var(--cream);
  font-size: clamp(12.5px, 1vw, 14px);
  line-height: 1.9;
  color: var(--text-sub);
  text-align: center;
}

/* =========================================================
   9. Footer
========================================================= */
.footer { background: var(--navy); color: var(--white); }

/* 長野の街並み装飾
   画像は透明余白をトリム済み（2206x386）。
   コンテナ比率を画像の実寸比に合わせているため、絵は切れずに全体が表示される。

   画像の空（上部およそ4割）は透明なので、この背景がそのまま空として見える。
   直前のセクションの背景色はページごとに違うため、開始色は --deco-top で受け取り、
   footer.php の $footerDecoTop（既定 #ffffff）が各ページの値を流し込む。
   そこから薄い水色へゆるやかに繋いで、境目が線に見えないようにしている。 */
.footer__deco {
  position: relative;
  aspect-ratio: 2206 / 386;
  overflow: hidden;
  background: linear-gradient(
    180deg,
    var(--deco-top, var(--white)) 0%,
    var(--deco-top, var(--white)) 8%,
    #eaf5fc 46%,
    #dff0fa 100%
  );
}
.footer__deco img {
  position: absolute;
  inset: 0;
  display: block;
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center;
}

.footer__body { padding: clamp(26px, 3.2vw, 46px) 0 clamp(18px, 2.2vw, 32px); }
.footer__inner {
  width: min(100% - var(--pad) * 2, var(--inner));
  margin-inline: auto;
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  gap: clamp(24px, 3vw, 52px);
}
.footer__logo { width: clamp(148px, 15vw, 200px); }
.footer__tagline {
  margin-top: clamp(8px, 1vw, 14px);
  font-family: var(--font-round);
  font-size: clamp(12.5px, 1vw, 14px);
  line-height: 1.9;
  color: rgba(255, 255, 255, .92);
}
.footer__sns { display: flex; flex-wrap: wrap; gap: 10px; margin-top: clamp(14px, 1.6vw, 20px); }
.footer__sns a {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 8px 16px 8px 13px;
  border: 1px solid rgba(255, 255, 255, .34);
  border-radius: 999px;
  font-size: 12px;
  font-weight: 500;
  color: rgba(255, 255, 255, .92);
  transition: background-color .25s var(--ease), border-color .25s var(--ease), color .25s var(--ease);
}
.footer__sns svg { width: 18px; height: 18px; flex: none; }
.footer__sns a:hover {
  opacity: 1;
  background: var(--white);
  border-color: var(--white);
  color: var(--navy);
}

.footer__nav { display: flex; gap: clamp(20px, 3.4vw, 68px); }
.footer__nav a { display: flex; align-items: baseline; gap: 12px; padding: 4px 0; }
.footer__nav-en {
  min-width: 72px;
  font-size: 11px;
  font-weight: 700;
  letter-spacing: .14em;
  color: var(--lime);
}
.footer__nav-ja { font-size: 13px; color: rgba(255, 255, 255, .9); }

.footer__bottom {
  padding: 13px 0;
  border-top: 1px solid rgba(255, 255, 255, .16);
  background: rgba(0, 0, 0, .14);
  text-align: center;
}
.footer__copy {
  font-size: clamp(10px, .8vw, 11.5px);
  letter-spacing: .14em;
  color: rgba(255, 255, 255, .82);
}

/* フッター下部の補助リンク（プライバシーポリシー） */
.footer__sub {
  display: flex;
  justify-content: center;
  flex-wrap: wrap;
  gap: 6px 20px;
  margin-bottom: 8px;
  font-size: clamp(10.5px, .82vw, 12px);
}
.footer__sub a { color: rgba(255, 255, 255, .82); }
.footer__sub a:hover { opacity: 1; color: var(--white); }

/* =========================================================
   10. CMS（お知らせ・イベント・お問い合わせ）
========================================================= */
.page-body__inner--narrow { width: min(100% - var(--pad) * 2, 800px); }

/* --- お知らせ一覧 --- */
.entry-list { border-top: 1px solid var(--line); }
.entry { border-bottom: 1px solid var(--line); }
.entry__link {
  display: grid;
  grid-template-columns: 8.5em minmax(0, 1fr) 1.6em;
  align-items: center;
  gap: clamp(10px, 1.6vw, 22px);
  padding: clamp(16px, 2vw, 24px) clamp(8px, 1.2vw, 16px);
  transition: background-color .3s var(--ease);
}
.entry__link:hover { opacity: 1; background: var(--cream); }
.entry__date {
  font-family: var(--font-round);
  font-weight: 700;
  font-size: clamp(12px, .95vw, 13.5px);
  letter-spacing: .04em;
  color: var(--blue);
}
.entry__body { min-width: 0; }
.entry__ttl {
  display: block;
  font-family: var(--font-round);
  font-weight: 700;
  font-size: clamp(14.5px, 1.2vw, 17.5px);
  line-height: 1.7;
  color: var(--navy);
}
.entry__excerpt {
  display: block;
  margin-top: 4px;
  font-size: clamp(12px, .95vw, 13.5px);
  line-height: 1.9;
  color: var(--text-sub);
}
.entry__arrow { justify-self: end; color: var(--blue-deep); transition: transform .3s var(--ease); }
.entry__arrow .ico-arrow { width: 16px; height: 16px; }
.entry__link:hover .entry__arrow { transform: translateX(5px); }

.entry--thumb .entry__link { grid-template-columns: 8.5em 128px minmax(0, 1fr) 1.6em; }
.entry__thumb {
  display: block;
  width: 128px;
  aspect-ratio: 4 / 3;
  border-radius: 12px;
  overflow: hidden;
  background: var(--cream-2);
}
.entry__thumb img { width: 100%; height: 100%; object-fit: cover; }

/* --- イベント一覧 --- */
.ev-list { display: grid; gap: clamp(14px, 2vw, 22px); }
.ev-card {
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: var(--white);
  overflow: hidden;
  transition: transform .3s var(--ease), box-shadow .3s var(--ease);
}
.ev-card:hover { transform: translateY(-4px); box-shadow: 0 10px 26px rgba(0, 40, 85, .12); }
.ev-card__link { display: block; padding: clamp(20px, 2.6vw, 30px); }
.ev-card__link:hover { opacity: 1; }
.ev-card__head { display: flex; flex-wrap: wrap; align-items: center; gap: 8px 14px; margin-bottom: 10px; }
.ev-card__date {
  display: inline-flex;
  align-items: center;
  gap: 7px;
  padding: 4px 12px;
  border-radius: 999px;
  background: var(--blue-pale);
  font-family: var(--font-round);
  font-weight: 700;
  font-size: clamp(12px, .98vw, 14px);
  color: var(--blue-deep);
}
.ev-card__date svg { width: 15px; height: 15px; flex: none; }
.ev-card__posted { font-size: 11.5px; color: var(--text-sub); }
.ev-card__ttl {
  font-family: var(--font-round);
  font-weight: 700;
  font-size: clamp(16px, 1.5vw, 21px);
  line-height: 1.6;
  color: var(--navy);
}
.ev-card__venue {
  display: flex;
  align-items: center;
  gap: 7px;
  margin-top: 8px;
  font-size: clamp(12.5px, 1vw, 14px);
  color: var(--text-sub);
}
.ev-card__venue svg { width: 15px; height: 15px; flex: none; color: var(--green); }
.ev-card__excerpt { font-size: clamp(12.5px, 1vw, 14px); line-height: 1.9; margin-top: 10px; }
.ev-card__more {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  margin-top: clamp(10px, 1.2vw, 16px);
  font-family: var(--font-round);
  font-weight: 700;
  font-size: clamp(12px, .95vw, 13.5px);
  letter-spacing: .04em;
  color: var(--blue-deep);
}
.ev-card__more .ico-arrow { transition: transform .3s var(--ease); }
.ev-card:hover .ev-card__more .ico-arrow { transform: translateX(5px); }

.ev-card--thumb .ev-card__link { display: grid; grid-template-columns: 260px minmax(0, 1fr); gap: 0; padding: 0; }
.ev-card__thumb { background: var(--cream-2); }
.ev-card__thumb img { width: 100%; height: 100%; min-height: 180px; object-fit: cover; }
.ev-card--thumb .ev-card__inner { padding: clamp(20px, 2.6vw, 30px); }

/* --- 記事本文 --- */
.article__head { padding-bottom: clamp(14px, 1.8vw, 22px); border-bottom: 2px solid var(--lime); }
.article__date {
  display: block;
  font-family: var(--font-round);
  font-weight: 700;
  font-size: clamp(12px, .95vw, 13.5px);
  letter-spacing: .04em;
  color: var(--blue);
}
.article__ttl {
  margin-top: 6px;
  font-family: var(--font-round);
  font-weight: 900;
  font-size: clamp(20px, 2.3vw, 32px);
  line-height: 1.6;
  color: var(--navy);
}
.article__hero { margin: clamp(20px, 2.6vw, 32px) 0 0; line-height: 0; }
.article__hero img { width: 100%; border-radius: var(--radius); }
.spec--event { margin-top: clamp(16px, 2vw, 24px); }
.article__body { margin-top: clamp(20px, 2.6vw, 34px); }

/* エディタで書いた本文 */
.richtext { font-size: clamp(13.5px, 1.05vw, 15.5px); line-height: 2.05; color: var(--text); }
.richtext > * + * { margin-top: 1.1em; }
.richtext h2 {
  margin-top: 1.9em;
  padding-left: .7em;
  border-left: 5px solid var(--lime);
  font-family: var(--font-round);
  font-weight: 700;
  font-size: clamp(17px, 1.7vw, 22px);
  line-height: 1.6;
  color: var(--navy);
}
.richtext h3 {
  margin-top: 1.7em;
  font-family: var(--font-round);
  font-weight: 700;
  font-size: clamp(15.5px, 1.4vw, 19px);
  color: var(--navy);
}
.richtext h4 { margin-top: 1.5em; font-weight: 700; color: var(--navy); }
.richtext ul, .richtext ol { padding-left: 1.4em; }
.richtext ul { list-style: disc; }
.richtext ol { list-style: decimal; }
.richtext li { margin-top: .4em; }
.richtext li::marker { color: var(--green); }
.richtext a { color: var(--blue-deep); font-weight: 700; text-decoration: underline; text-underline-offset: 3px; }
.richtext img { border-radius: 12px; }
.richtext figure { margin: 0; }
.richtext figcaption { margin-top: 8px; font-size: 12.5px; color: var(--text-sub); text-align: center; }
.richtext blockquote {
  margin: 1.4em 0;
  padding: clamp(14px, 1.8vw, 22px) clamp(16px, 2vw, 26px);
  border-radius: 12px;
  background: var(--cream);
  color: var(--text-sub);
}
.richtext hr { margin: 2em 0; border: 0; border-top: 1px solid var(--line); }

/* --- ページ送り --- */
.pager {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 8px;
  margin-top: clamp(28px, 3.4vw, 44px);
}
.pager__item {
  display: grid;
  place-content: center;
  min-width: 40px;
  height: 40px;
  padding: 0 10px;
  border: 1px solid var(--line);
  border-radius: 999px;
  background: var(--white);
  font-family: var(--font-round);
  font-weight: 700;
  font-size: 14px;
  color: var(--navy);
}
.pager__item:hover { opacity: 1; border-color: var(--blue); color: var(--blue-deep); }
.pager__item.is-current { background: var(--blue); border-color: var(--blue); color: var(--white); }

/* --- お問い合わせフォーム --- */
.form__lead {
  font-size: clamp(13px, 1.02vw, 15px);
  line-height: 2;
  text-align: center;
  color: var(--navy);
  margin-bottom: clamp(22px, 3vw, 36px);
}
.form__note { display: inline-block; margin-top: 4px; font-size: 12.5px; color: var(--text-sub); }

.form { border-top: 1px solid var(--line); }
.form__row {
  display: grid;
  grid-template-columns: 13em minmax(0, 1fr);
  gap: clamp(6px, 1.4vw, 24px);
  padding: clamp(16px, 2vw, 22px) 0;
  border-bottom: 1px solid var(--line);
}
.form__label { display: flex; align-items: center; gap: 10px; padding-top: 10px; }
.form__ttl {
  font-family: var(--font-round);
  font-weight: 700;
  font-size: clamp(13px, 1.02vw, 15px);
  color: var(--navy);
}
.badge {
  flex: none;
  padding: 2px 9px;
  border-radius: 999px;
  font-size: 10.5px;
  font-weight: 700;
  letter-spacing: .06em;
}
.badge--req { background: var(--blue); color: var(--white); }
.badge--any { background: var(--cream-2); color: var(--text-sub); }

.form__fieldset { border: 0; margin: 0; padding: 0; min-width: 0; }
.form__legend { position: absolute; width: 1px; height: 1px; overflow: hidden; clip-path: inset(50%); white-space: nowrap; }

.input {
  width: 100%;
  padding: 12px 14px;
  border: 1px solid var(--line);
  border-radius: 10px;
  background: var(--white);
  font-family: inherit;
  font-size: 15px;
  line-height: 1.7;
  color: var(--text);
  transition: border-color .2s var(--ease), box-shadow .2s var(--ease);
}
.input::placeholder { color: #a9b4c0; }
.input:focus {
  outline: none;
  border-color: var(--blue);
  box-shadow: 0 0 0 3px rgba(6, 151, 213, .18);
}
.input--area { resize: vertical; min-height: 170px; }
.has-error .input { border-color: #c0453b; }

.form__radios { display: flex; flex-wrap: wrap; gap: 10px; }
.radio, .check { position: relative; display: inline-flex; align-items: center; cursor: pointer; }
.radio input, .check input { position: absolute; opacity: 0; width: 1px; height: 1px; }
.radio {
  gap: 9px;
  padding: 9px 16px 9px 13px;
  border: 1px solid var(--line);
  border-radius: 999px;
  background: var(--white);
  transition: border-color .2s var(--ease), background-color .2s var(--ease);
}
.radio:hover { border-color: var(--blue); }
.radio__mark {
  flex: none;
  width: 18px; height: 18px;
  border: 2px solid var(--line);
  border-radius: 50%;
  background: var(--white);
  display: grid;
  place-content: center;
}
.radio__mark::after {
  content: "";
  width: 9px; height: 9px;
  border-radius: 50%;
  background: var(--blue);
  transform: scale(0);
  transition: transform .2s var(--ease);
}
.radio__txt { font-family: var(--font-round); font-weight: 500; font-size: 14px; color: var(--navy); line-height: 1.4; }
.radio input:checked ~ .radio__mark { border-color: var(--blue); }
.radio input:checked ~ .radio__mark::after { transform: scale(1); }
.radio:has(input:checked) { background: var(--blue-pale); border-color: var(--blue); }
.radio input:focus-visible ~ .radio__mark { box-shadow: 0 0 0 3px rgba(6, 151, 213, .3); }

.form__agree { text-align: center; padding: clamp(22px, 3vw, 32px) 0 clamp(6px, 1vw, 12px); }
.check { gap: 12px; text-align: left; }
.check__mark {
  flex: none;
  width: 20px; height: 20px;
  border: 2px solid var(--line);
  border-radius: 6px;
  background: var(--white);
  display: grid;
  place-content: center;
}
.check__mark::after {
  content: "";
  width: 10px; height: 5px;
  margin-top: -3px;
  border-left: 2.4px solid var(--white);
  border-bottom: 2.4px solid var(--white);
  transform: rotate(-45deg) scale(0);
  transition: transform .2s var(--ease);
}
.check input:checked ~ .check__mark { background: var(--green); border-color: var(--green); }
.check input:checked ~ .check__mark::after { transform: rotate(-45deg) scale(1); }
.check input:focus-visible ~ .check__mark { box-shadow: 0 0 0 3px rgba(88, 169, 58, .3); }
.check__txt { font-size: 14px; line-height: 1.7; color: var(--navy); }
.check__txt a { color: var(--blue-deep); font-weight: 700; text-decoration: underline; text-underline-offset: 3px; }

.form__alert {
  padding: 14px 18px;
  border-radius: 10px;
  border: 1px solid #f0c4c0;
  background: #fdeceb;
  color: #a43a31;
  font-size: 13.5px;
  line-height: 1.8;
  margin-bottom: clamp(18px, 2.4vw, 26px);
}
.form__error { font-size: 12.5px; color: #c0453b; line-height: 1.7; margin-top: 6px; }
.form__error--center { text-align: center; }

/* 迷惑送信よけ：画面にも読み上げにも出さない */
.form__trap { position: absolute; left: -9999px; width: 1px; height: 1px; overflow: hidden; }

.form__submit { text-align: center; margin-top: clamp(16px, 2.2vw, 26px); }
.form__submit .btn { min-width: 300px; }

.form__tel {
  margin-top: clamp(30px, 4vw, 48px);
  padding: clamp(18px, 2.4vw, 26px);
  border-radius: var(--radius);
  background: var(--white);
  border: 1px solid var(--line);
  text-align: center;
}
.form__tel-lead { font-size: 13px; color: var(--text-sub); margin-bottom: 4px; }
.form__tel-num {
  font-family: var(--font-round);
  font-weight: 900;
  font-size: clamp(24px, 2.6vw, 32px);
  letter-spacing: .04em;
  color: var(--navy);
}
.form__tel-note { font-size: 12.5px; color: var(--text-sub); margin-top: 6px; }
.form__tel-note a { color: var(--blue-deep); font-weight: 700; }

/* --- 送信完了 --- */
.thanks { text-align: center; padding: clamp(10px, 2vw, 26px) 0; }
.thanks__icon {
  display: grid;
  place-content: center;
  width: clamp(64px, 7vw, 84px);
  height: clamp(64px, 7vw, 84px);
  margin: 0 auto clamp(16px, 2vw, 24px);
  border-radius: 50%;
  background: var(--blue-pale);
  color: var(--green);
}
.thanks__icon svg { width: 52%; height: 52%; }
.thanks__ttl {
  font-family: var(--font-round);
  font-weight: 900;
  font-size: clamp(21px, 2.4vw, 30px);
  color: var(--navy);
  margin-bottom: clamp(12px, 1.6vw, 18px);
}
.thanks__txt { font-size: clamp(13.5px, 1.05vw, 15px); line-height: 2; margin-bottom: 1.4em; color: var(--navy); }
.thanks__note { font-size: 13px; line-height: 2; color: var(--text-sub); }
.thanks__tel {
  margin-top: clamp(24px, 3vw, 36px);
  padding: clamp(16px, 2vw, 24px);
  border-radius: var(--radius);
  background: var(--cream);
}
.thanks__tel-lead { display: block; font-size: 12.5px; color: var(--text-sub); margin-bottom: 4px; }
.thanks__tel-note { display: block; font-size: 12.5px; color: var(--text-sub); margin-top: 4px; }
.thanks__tel-note a { color: var(--blue-deep); font-weight: 700; }

/* --- プライバシーポリシー --- */
.policy__lead { font-size: clamp(13px, 1.02vw, 15px); line-height: 2.05; color: var(--navy); }
.policy__sec { margin-top: clamp(26px, 3.2vw, 40px); }
.policy__ttl {
  margin-bottom: .7em;
  padding-left: .7em;
  border-left: 5px solid var(--lime);
  font-family: var(--font-round);
  font-weight: 700;
  font-size: clamp(16px, 1.5vw, 20px);
  line-height: 1.6;
  color: var(--navy);
}
.policy__sec p { font-size: clamp(13px, 1.02vw, 15px); line-height: 2.05; color: var(--text); }
.policy__sec p + p { margin-top: 1em; }
.policy__ul { margin: 1em 0 0; padding-left: 1.4em; list-style: disc; }
.policy__ul li { font-size: clamp(13px, 1.02vw, 15px); line-height: 2; }
.policy__ul li::marker { color: var(--green); }
.policy__box {
  margin-top: 1em;
  padding: clamp(16px, 2vw, 24px);
  border-radius: var(--radius);
  background: var(--cream);
}
.policy__box-ttl { font-family: var(--font-round); font-weight: 700; color: var(--navy); }
.policy__box a { color: var(--blue-deep); font-weight: 700; }
.policy__date { margin-top: clamp(28px, 3.4vw, 44px); text-align: right; font-size: 12.5px; color: var(--text-sub); }

/* =========================================================
   11. Responsive
========================================================= */

/* --- 〜1240px : ヒーローを縦積みに --- */
@media (max-width: 1240px) {
  /* 縦積みでは中央寄せになるため、ヘッダーロゴの高さ分をしっかり空ける */
  :root { --header-h: clamp(120px, 14vw, 178px); }

  /* NOTE: justify-items は既定（stretch）のままにする。
     center にすると各アイテムが max-content 幅になり、
     ロゴやリード文が画面幅を超えてはみ出す。 */
  .hero__inner {
    grid-template-columns: minmax(0, 1fr);
    text-align: center;
  }
  .hero__bg::after {
    content: "";
    position: absolute;
    inset: 0;
    background: linear-gradient(180deg, rgba(255, 255, 255, .5) 0%, rgba(255, 255, 255, .8) 100%);
  }
  /* 縦積みでは横のトリミングが強くなるため、人物が中央に来る位置へ寄せる */
  .hero__bg img { object-position: 68% center; }
  /* 縦積みでは1カラムに順番に並べる */
  .hero { padding-bottom: clamp(44px, 6.2vw, 96px); }
  .hero__left { display: contents; text-align: center; }
  .hero__logo { margin-top: clamp(4px, 1vw, 12px); }
  .hero__logo img { width: min(86vw, 420px); max-width: 100%; }
  .hero__right { padding-top: clamp(10px, 1.6vw, 22px); }
  .hero__ttl img { width: min(88vw, 540px); }
  .hero__lead { display: block; max-width: 640px; margin-inline: auto; margin-top: clamp(12px, 1.8vw, 24px); }
  .hero__icons { justify-content: center; padding-left: 0; margin-top: clamp(14px, 1.6vw, 26px); gap: clamp(8px, 1.1vw, 18px); }
  .hero__icons img { width: clamp(72px, 7.3vw, 112px); }
  .hero__event { margin-top: clamp(18px, 2.6vw, 38px); }

  /* キャッチコピーはアイコンの下へ */
  .hero__brush {
    position: static;
    order: 2;
    text-align: center;
    margin: clamp(16px, 2.4vw, 26px) auto 0;
  }
  .hero__brush img { width: min(64vw, 290px); }
  .hero__event { order: 3; }
  .event-banner { margin-inline: auto; }
}

/* --- 〜1080px : メニューをドロワーへ切替 --- */
@media (max-width: 1080px) {
  :root { --header-h: clamp(18px, 3vw, 34px); }
  html { scroll-padding-top: 68px; }

  .header {
    position: sticky;
    top: 0;
    padding: 7px 0;
    background: rgba(255, 255, 255, .97);
    box-shadow: 0 2px 12px rgba(0, 40, 85, .09);
  }
  /* ドロワー幅ではロゴが小さくなるので通常の並びに戻す */
  .header:not(.header--sub) .header__inner { min-height: 0; }
  .header:not(.header--sub) .header__logo { position: static; }
  .header__inner { justify-content: space-between; }
  .header__logo img,
  .header--sub .header__logo img { width: clamp(104px, 22vw, 128px); }
  .sns--header, .header__join { display: none; }
  .hero__bg { inset: clamp(8px, 2vw, 18px) 0 0; }

  .hamburger {
    display: grid;
    place-content: center;
    gap: 6px;
    width: 46px; height: 46px;
    flex: none;
  }
  .hamburger span {
    display: block;
    width: 24px; height: 2px;
    background: var(--navy);
    border-radius: 2px;
    transition: transform .3s var(--ease), opacity .3s var(--ease);
  }
  .hamburger.is-open span:nth-child(1) { transform: translateY(8px) rotate(45deg); }
  .hamburger.is-open span:nth-child(2) { opacity: 0; }
  .hamburger.is-open span:nth-child(3) { transform: translateY(-8px) rotate(-45deg); }

  /* ドロワーを開いている間もロゴと閉じるボタンが上に来るよう、
     ヘッダー内の重なり順を明示する */
  .header__logo, .hamburger { position: relative; z-index: 2; }

  .gnav {
    position: fixed;
    inset: 0;
    z-index: 1;
    display: block;
    margin: 0;
    padding: 78px 22px 44px;
    background: var(--blue-pale);
    overflow-y: auto;
    opacity: 0;
    visibility: hidden;
    transform: translateY(-12px);
    pointer-events: none;
    /* visibility は補間せず、閉じるときだけフェード後に切り替える */
    transition: opacity .3s var(--ease), transform .3s var(--ease), visibility 0s linear .3s;
  }
  .gnav.is-open {
    opacity: 1;
    visibility: visible;
    transform: none;
    pointer-events: auto;
    transition: opacity .3s var(--ease), transform .3s var(--ease), visibility 0s linear 0s;
  }
  .gnav__list { display: block; }
  .gnav__list a {
    display: flex;
    align-items: baseline;
    gap: 14px;
    padding: 15px 4px;
    border-bottom: 1px solid rgba(0, 40, 85, .12);
    font-size: 15px;
  }
  .gnav__list a::after { display: none; }
  .gnav__list a[aria-current="page"] { color: var(--blue-deep); }
  .gnav__en { min-width: 82px; font-size: 12px; font-weight: 700; letter-spacing: .16em; color: var(--blue); }
  .gnav__ja { display: inline; font-family: var(--font-base); font-weight: 500; }

  .sns--drawer { display: flex; justify-content: center; margin-top: 26px; gap: 14px; }
  .sns--drawer a { width: 44px; }
  .gnav__join { display: inline-flex; width: 100%; margin-top: 18px; }
}

/* --- 〜1100px : 3カラムを1カラムへ --- */
@media (max-width: 1100px) {
  .features__inner { grid-template-columns: 1fr; gap: clamp(24px, 4vw, 38px); }
  .feature { width: 100%; max-width: 760px; margin-inline: auto; }
  .feature__photo img { width: clamp(140px, 26vw, 230px); }
}

/* --- 〜760px : 余白と文字サイズを詰める --- */
@media (max-width: 760px) {
  .hero__lead { width: 100%; }
  .hero__lead br { display: none; }
  .hero__icons img { width: min(28vw, 104px); }

  .event-banner {
    flex-wrap: wrap;
    justify-content: center;
    gap: 10px;
    border-radius: var(--radius);
    text-align: center;
  }
  .event-banner__body { flex: 1 1 100%; order: 2; }
  .event-banner__label { order: 1; }
  .event-banner .btn { order: 3; margin: 2px auto 0; }

  .footer__inner { flex-direction: column; }
  .footer__nav { flex-direction: column; gap: 14px; }
  .footer__nav ul + ul { padding-top: 14px; border-top: 1px solid rgba(255, 255, 255, .16); }

  /* CMS（お知らせ・イベント・フォーム） */
  .entry__link { grid-template-columns: minmax(0, 1fr) 1.4em; gap: 4px 12px; }
  .entry__date { grid-column: 1 / -1; }
  .entry--thumb .entry__link { grid-template-columns: 96px minmax(0, 1fr) 1.4em; }
  .entry__thumb { width: 96px; }
  .ev-card--thumb .ev-card__link { grid-template-columns: minmax(0, 1fr); }
  .ev-card__thumb img { min-height: 0; aspect-ratio: 16 / 9; }
  .form__row { grid-template-columns: minmax(0, 1fr); }
  .form__label { padding-top: 0; }
  .form__submit .btn { min-width: 0; width: 100%; }

  /* 下層ページの本文 */
  .pc { display: none; }
  .sp { display: inline; }
  .media { grid-template-columns: minmax(0, 1fr); justify-items: center; }
  .media--rev > .media__photo { order: 0; }
  .media__photo img { width: min(62vw, 300px); }
  .media__photo { margin-top: 6px; }
  .cross-list { grid-template-columns: minmax(0, 1fr); }
  .spec__row { grid-template-columns: minmax(0, 1fr); gap: 2px; padding: 12px 4px; }
  .spec dt { color: var(--blue); }
  .cta .btn { width: 100%; }
}

/* --- 〜540px : 最小幅の調整 --- */
@media (max-width: 540px) {
  .feature__row { grid-template-columns: 1fr; justify-items: center; text-align: center; }
  .feature__ttl { text-align: center; }
  .feature__txt { text-align: left; }
  .feature__photo img { width: min(62vw, 220px); }
  .feature__more { margin-top: 12px; }
}

/* --- アニメーションを控える設定 --- */
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { transition-duration: .01ms !important; animation-duration: .01ms !important; }
}
