/* ============================================================
   更新用設定：色・幅・文字サイズ・余白は、まずここを変更
============================================================ */
:root {
  --color-navy: #091b63;
  --color-blue: #163ca8;
  --color-red: #df1018;
  --color-yellow: #ffe600;
  --color-green: #15905b;
  --color-paper: #fffdf4;
  --color-white: #ffffff;
  --color-text: #121212;

  --lp-width: 500px;
  --section-padding-x: 22px;
  --section-padding-y: 76px;

  --font-base: 16px;
  --font-family-base: "Noto Sans JP", "Yu Gothic", Meiryo, sans-serif;
  --font-family-display: Impact, "Arial Black", sans-serif;
  --font-section-title: 34px;
  --font-event-title: 44px;

  /* PC右側装飾 */
  --pc-side-max-width: 359px;
  --pc-side-animation-duration: 5.8s;

  --shadow-lp: 0 0 46px rgba(0, 0, 0, 0.68);
  --shadow-card: 8px 8px 0 var(--color-navy);
}

/* 基本設定 */
*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  margin: 0;
  color: var(--color-text);
  background: var(--color-navy);
  font-family: var(--font-family-base);
  font-size: var(--font-base);
  line-height: 1.75;
}
img, video { display: block; max-width: 100%; }
img { height: auto; }
a { color: inherit; text-decoration: none; }
h1, h2, h3, p, dl, dd { margin-top: 0; }

/* PC固定背景 */
.site-wrapper { position: relative; min-height: 100vh; }
.desktop-background { position: fixed; inset: 0; overflow: hidden; background: #071451; }
/* poster指定時、動画が再生できない/読み込めない環境でも object-fit: cover が静止画に適用される */
.desktop-background__video { width: 100%; height: 100%; object-fit: cover; object-position: center; }
.desktop-background__overlay {
  position: absolute;
  inset: 0;
  background:
    linear-gradient(90deg, rgba(4, 12, 55, 0.22), rgba(9, 20, 73, 0.08) 35%, rgba(9, 20, 73, 0.08) 65%, rgba(4, 12, 55, 0.22)),
    linear-gradient(0deg, rgba(0, 0, 0, 0.12), transparent 55%);
  pointer-events: none;
}

/* PC右側装飾
   LP右端から画面右端までの領域内で、自動的に中央配置されます。 */
.pc-side {
  position: fixed;
  top: 0;
  right: 0;
  bottom: 0;
  left: calc(50% + (var(--lp-width) / 2));
  z-index: 1;
  display: grid;
  place-items: center;
  overflow: hidden;
  pointer-events: none;
}

.pc-side__image {
  width: min(75%, var(--pc-side-max-width));
  height: auto;
  filter: drop-shadow(0 12px 18px rgba(9, 27, 99, 0.22));
  transform-origin: 50% 58%;
  animation: pc-side-float var(--pc-side-animation-duration) ease-in-out infinite;
  will-change: transform;
}

@keyframes pc-side-float {
  0%, 100% {
    transform: translateY(0) rotate(-1.5deg);
  }
  50% {
    transform: translateY(-18px) rotate(1.5deg);
  }
}

/* PC左側アンカーメニュー */
.desktop-anchor-nav {
  position: fixed;
  top: 0;
  right: calc(50% + (var(--lp-width) / 2));
  bottom: 0;
  left: 0;
  z-index: 2;
  display: grid;
  place-items: center;
  padding: 24px;
  pointer-events: none;
}

.anchor-menu {
  display: grid;
  gap: 12px;
  width: min(100%, 320px);
  margin: 0;
  padding: 0;
  list-style: none;
}

.anchor-menu__link {
  position: relative;
  display: block;
  padding: 14px 38px 14px 17px;
  overflow: hidden;
  color: var(--color-navy);
  background: rgba(255, 255, 255, 0.9);
  border: 2px solid rgba(255, 255, 255, 0.95);
  border-left: 7px solid var(--color-red);
  box-shadow: 0 8px 22px rgba(9, 27, 99, 0.18);
  font-weight: 900;
  line-height: 1.45;
  pointer-events: auto;
  transition: transform 0.25s ease, background-color 0.25s ease, box-shadow 0.25s ease;
  backdrop-filter: blur(7px);
}

.anchor-menu__link::after {
  position: absolute;
  top: 50%;
  right: 16px;
  width: 9px;
  height: 9px;
  border-right: 2px solid currentColor;
  border-bottom: 2px solid currentColor;
  content: "";
  transform: translateY(-70%) rotate(45deg);
}

.anchor-menu__link:hover,
.anchor-menu__link:focus-visible {
  background: var(--color-white);
  box-shadow: 0 12px 28px rgba(9, 27, 99, 0.28);
  outline: 3px solid var(--color-yellow);
  outline-offset: 3px;
  transform: translateY(-3px);
}

.anchor-menu__link small {
  display: block;
  margin-bottom: 3px;
  color: var(--color-red);
  font-family: var(--font-family-display);
  font-size: 12px;
  letter-spacing: 0.14em;
}

.anchor-menu__link span {
  display: block;
  font-size: clamp(12px, 1vw, 15px);
}

.anchor-menu__link--shops { border-left-color: var(--color-green); }
.anchor-menu__link--shops small { color: var(--color-green); }
.anchor-menu__link--event02 { border-left-color: var(--color-blue); }
.anchor-menu__link--event02 small { color: var(--color-blue); }

/* スマホメニュー：PCでは非表示 */
.mobile-menu-button,
.mobile-anchor-nav {
  display: none;
}

/* LP共通 */
.lp {
  position: relative;
  z-index: 1;
  width: min(100%, var(--lp-width));
  margin: 0 auto;
  overflow: hidden;
  background: var(--color-paper);
  box-shadow: var(--shadow-lp);
}
.section { position: relative; padding: var(--section-padding-y) var(--section-padding-x); }
.section-label {
  margin-bottom: 12px;
  color: var(--color-red);
  font-family: var(--font-family-display);
  font-size: 15px;
  font-weight: 500;
  line-height: 1.3;
  letter-spacing: 0.18em;
}
.section-label--light { color: var(--color-yellow); }
.section-title {
  margin-bottom: 0;
  color: var(--color-navy);
  font-size: var(--font-section-title);
  font-weight: 950;
  line-height: 1.28;
  letter-spacing: -0.04em;
}
.section-title em { color: var(--color-red); font-style: normal; }
.section-title--light { color: var(--color-white); }
.section-title--light em {
  color: var(--color-yellow);
  font-size: var(--font-event-title);
  -webkit-text-stroke: 3px var(--color-navy);
  paint-order: stroke fill;
}

/* ヘッダー */
.header {
  position: relative;
  z-index: 20;
  display: flex;
  align-items: center;
  min-height: 80px;
  padding: 8px 15px;
  background: var(--color-navy);
  border-bottom: 4px solid var(--color-yellow);
}
.header__logo { display: block; width: 100%; }
.header__logo img { width: 100%; object-fit: contain; }

.rally,
.shops,
.medicinal-bath {
  scroll-margin-top: 72px;
}

/* メインビジュアル */
.hero {
  position: relative;
  min-height: 640px;
  overflow: hidden;
  color: var(--color-white);
  background: linear-gradient(150deg, var(--color-blue), var(--color-red));
}
.hero::after {
  position: absolute;
  inset: 0;
  z-index: 1;
  content: "";
  background: linear-gradient(180deg, transparent 42%, rgba(4, 10, 42, 0.95) 100%);
  pointer-events: none;
}
.hero__visual { position: absolute; inset: 0 0 auto; z-index: 1; display: grid; place-items: center; }
.hero__visual img { width: 100%; }
.breaking-news {
  position: absolute;
  top: 16px;
  right: 16px;
  z-index: 3;
  padding: 8px 13px;
  color: var(--color-white);
  background: var(--color-red);
  border: 3px solid var(--color-white);
  box-shadow: 5px 5px 0 var(--color-navy);
  font-size: 16px;
  font-weight: 900;
  line-height: 1.25;
  text-align: center;
}
.breaking-news__date { display: block; font-size: 13px; }
.hero__content { position: absolute; right: 18px; bottom: 38px; left: 18px; z-index: 2; text-align: center; }
.hero__catch {
  display: inline-block;
  margin-bottom: 8px;
  padding: 5px 9px;
  color: var(--color-text);
  background: var(--color-yellow);
  font-size: 15px;
  font-weight: 900;
  line-height: 1.4;
  transform: rotate(-1deg);
}
.hero__title {
  margin-bottom: 0;
  color: var(--color-yellow);
  font-family: var(--font-family-display);
  font-size: 72px;
  line-height: 0.9;
  letter-spacing: -0.05em;
  text-shadow: 5px 6px 0 #0a1454;
  transform: skew(-5deg);
  -webkit-text-stroke: 7px var(--color-red);
  paint-order: stroke fill;
}
.hero__title small { margin-right: 4px; font-size: 0.58em; }
.hero__period {
  display: inline-flex;
  align-items: center;
  gap: 5px;
  margin: 19px 0 0;
  padding: 7px 12px;
  background: rgba(5, 15, 73, 0.9);
  border: 2px solid var(--color-white);
  font-size: 20px;
  font-weight: 900;
  line-height: 1.3;
}
.hero__period span { padding: 3px 5px; color: var(--color-text); background: var(--color-yellow); border-radius: 50%; font-size: 11px; }
.hero__scroll { position: absolute; right: 8px; bottom: 70px; z-index: 3; font-size: 11px; line-height: 1; letter-spacing: 0.22em; writing-mode: vertical-rl; }
.hero__scroll::after { display: block; width: 1px; height: 42px; margin: 8px auto 0; background: var(--color-white); content: ""; }

/* コラボ概要 */
.intro { text-align: center; background: linear-gradient(180deg, var(--color-paper), var(--color-white) 60%, #eaf4ff); }
.intro::before { position: absolute; top: 25px; left: -16px; color: rgba(223, 16, 24, 0.06); content: "号外"; font-size: 160px; font-weight: 900; line-height: 1; transform: rotate(-10deg); }
.intro .section-title { font-size: 32px; }
.intro__text { position: relative; max-width: 400px; margin: 25px auto 0; font-size: 16px; line-height: 2; text-align: left; }
.collaboration-brands { margin-top: 34px; }

/* EVENT 01：スタンプラリー */
.rally { color: var(--color-white); background: var(--color-red); }
.rally h2 { background-color: var(--color-white); }
.rally__image { width: 100%; border: 4px solid var(--color-white); box-shadow: var(--shadow-card); }
.steps { display: grid; gap: 10px; margin: 30px 0 0; padding: 0; list-style: none; }
.step { color: var(--color-text); background: var(--color-white); border: 6px solid var(--color-navy); }
.step.s01 {border-color: #00913a} .step.s02 {border-color: #e95513} .step.s03 {border-color: #c30d23}
.step__number { display: grid; place-items: center; color: var(--color-white); font: 900 21px/1 var(--font-family-display); margin: 16px 0; }
.step__body h3 { padding: 14px; margin-bottom: 5px; color: var(--color-text); font-size: 18px; line-height: 1.5; }
.step__body p { margin-bottom: 0; font-size: 16px; line-height: 1.75; } .step__body p img { width: 100%; }
.note { margin: 15px 0 0; font-size: 12px; line-height: 1.7; }

/* 対象店舗 */
.shops { background: var(--color-white); }
.shops::after { position: absolute; top: 5px; right: -55px; width: 180px; height: 180px; border: 28px solid rgba(22, 60, 168, 0.05); border-radius: 50%; content: ""; }
.store-list { display: grid; gap: 14px; margin-top: 28px; }
.store-list a { text-decoration: underline; }
.store-card { position: relative; padding: 0 15px 14px; background: var(--color-white); border: 3px solid var(--color-navy); }
.store-card h3 { display: inline-block; margin: -14px 0 10px -6px; padding: 7px 17px; color: var(--color-white); background: var(--color-navy); font-size: 20px; line-height: 1.4; transform: skew(-5deg); }
.store-card--kirari h3 { background: var(--color-green); }
.store-card--osama h3 { background: var(--color-red); }
.store-card dl, .store-card dd { margin-bottom: 0; }
.store-list__row { display: flex; align-items: flex-start; padding: 7px 0; border-bottom: 1px dotted #aaa; font-size: 16px; line-height: 1.7; }
.store-list__row:last-child { border-bottom: 0; }
.store-list__row dt { flex: 0 0 96px; font-weight: 900; white-space: nowrap; }
.store-list__row dt::before { content: "【"; }
.store-list__row dt::after { content: "】"; }
.store-list__row dd { flex: 1; }
.store-card .note { margin-top: 5px; }

/* EVENT 02：コラボ替わり湯 */
.medicinal-bath { color: var(--color-white); background: var(--color-navy); }
.medicinal-bath__card { margin-top: 25px; color: var(--color-text); background: var(--color-white); border: 5px solid var(--color-yellow); }
.medicinal-bath__card > img { width: 100%; }
.medicinal-bath__body { padding: 18px; }
.medicinal-bath__dates img { width: 100%; }
.medicinal-bath-pop { margin-top: 24px; }

/* チラシ */
.flyer { text-align: center; background: #f5f0df; }
.flyer__lead { margin: 8px 0 22px; font-size: 16px; }
.flyer__image { width: 82%; margin: 0 auto; border: 7px solid var(--color-white); box-shadow: 0 12px 30px rgba(0, 0, 0, 0.22); }
.flyer .section-title span { margin-inline: -.5em; font-size: 28px; }

/* フッター */
.footer { padding: 45px 25px 28px; color: var(--color-white); background: var(--color-red); border-top: 10px solid var(--color-yellow); text-align: center; }
.footer__logo { width: 80%; margin: 0 auto 24px; filter: brightness(0) invert(1); }
.footer__message { margin-bottom: 25px; color: var(--color-yellow); font-size: 21px; font-weight: 900; line-height: 1.5; }
.footer__note { font-size: 12px; line-height: 1.7; }

/* レスポンシブ */
@media (max-width: 900px) {
  /*.desktop-background { display: none; }*/
  .pc-side { display: none; }
  .desktop-anchor-nav { display: none; }
  /*.lp { width: 100%; box-shadow: none; }*/

  .header {
    position: fixed;
    top: 0;
    justify-content: space-between;
    max-width: 500px;
    width: 100%;
  }

  .header__logo {
    width: calc(100% - 58px);
  }

  .mobile-menu-button {
    position: relative;
    display: grid;
    flex: 0 0 44px;
    place-content: center;
    gap: 6px;
    width: 44px;
    height: 44px;
    padding: 0;
    color: var(--color-white);
    background: transparent;
    border: 1px solid rgba(255, 255, 255, 0.55);
    border-radius: 50%;
    cursor: pointer;
  }

  .mobile-menu-button span {
    display: block;
    width: 21px;
    height: 2px;
    background: currentColor;
    transition: transform 0.25s ease, opacity 0.25s ease;
  }

  .mobile-menu-button.is-open span:nth-child(1) { transform: translateY(8px) rotate(45deg); }
  .mobile-menu-button.is-open span:nth-child(2) { opacity: 0; }
  .mobile-menu-button.is-open span:nth-child(3) { transform: translateY(-8px) rotate(-45deg); }

  .mobile-anchor-nav {
    position: fixed;
    inset: 62px 0 0;
    z-index: 19;
    display: block;
    padding: 18px;
    overflow-y: auto;
    visibility: hidden;
    background: rgba(9, 27, 99, 0.62);
    opacity: 0;
    pointer-events: none;
    transition: opacity 0.25s ease, visibility 0.25s ease;
    backdrop-filter: blur(5px);
  }

  .mobile-anchor-nav.is-open {
    visibility: visible;
    opacity: 1;
    pointer-events: auto;
  }

  .mobile-anchor-nav__panel {
    max-width: 500px;
    margin: 0 auto;
    padding: 24px 18px;
    background: var(--color-navy);
    border: 2px solid var(--color-yellow);
    box-shadow: 0 16px 40px rgba(0, 0, 0, 0.3);
    transform: translateY(-14px);
    transition: transform 0.25s ease;
  }

  .mobile-anchor-nav.is-open .mobile-anchor-nav__panel {
    transform: translateY(0);
  }

  .mobile-anchor-nav__title {
    margin-bottom: 14px;
    color: var(--color-yellow);
    font-family: var(--font-family-display);
    font-size: 15px;
    letter-spacing: 0.2em;
    text-align: center;
  }

  .mobile-anchor-nav .anchor-menu {
    width: 100%;
    max-width: none;
  }

  .mobile-anchor-nav .anchor-menu__link {
    padding: 16px 42px 16px 18px;
    background: var(--color-white);
  }

  .mobile-anchor-nav .anchor-menu__link span {
    font-size: 15px;
  }

  body.is-menu-open {
    overflow: hidden;
  }
}
@media (max-width: 600px) {
  /*header {
    width: 100%;
  }*/
  .hero { min-height: 590px; margin-top: 64px; }
}

@media (min-width: 501px) {
  .sp {
    display: none;
  }
}
@media (max-width: 500px) {
  .pc {
    display: none;
  }
  .header {
    min-height: 58px;
  }
  /* .lp がコンテンツ幅いっぱいになり背景は完全に隠れるため非表示に。
     動画・poster画像の読み込み停止は script.js 側で行う。 */
  .desktop-background {
    display: none;
  }
  .flyer .section-title span { margin-inline: -.5em; font-size: clamp(16px, calc(6.3vw - 3.5px), 28px); }
}

@media (max-width: 420px) {
  .hero__title { font-size: 64px; }
  .section-title { font-size: 32px; }
  .section-title--light em { font-size: 40px; }
}
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  /* 背景動画は reduced-motion でも自動再生を継続（意図的な仕様）。
     読み込み失敗・再生ブロック時のみ poster 静止画にフォールバックする。*/
  .pc-side__image { animation: none; }
  .anchor-menu__link,
  .mobile-menu-button span,
  .mobile-anchor-nav,
  .mobile-anchor-nav__panel { transition: none; }
}
