:root {
  --color-bg: #f4f4f4;
  --color-bg-elevated: #ffffff;
  --color-surface: #ffffff;
  --color-border: #e2e4ea;
  --color-text: #2d3548;
  --color-text-muted: #626c83;
  --color-text-subtle: #98a0b3;
  --color-primary: #ff3e6c;
  --color-primary-hover: #e8245a;
  --color-primary-soft: #ffe3ea;
  --color-accent: #ffe33e;

  --color-blue: #3eafff;
  --color-blue-soft: #e3f4ff;
  --color-yellow-soft: #fff9d6;
  --color-navy: #414f6c;
  --color-on-navy: #f4f4f4;
  --color-on-navy-muted: #b6c0d6;

  --gradient-primary: linear-gradient(135deg, #ff3e6c 0%, #ffe33e 50%, #3eafff 100%);
  --gradient-soft: linear-gradient(180deg, #ffffff 0%, #f4f4f4 100%);
  --gradient-navy: linear-gradient(135deg, #4d5d80 0%, #414f6c 55%, #2f3a52 100%);

  --shadow-sm: 0 1px 2px rgba(45, 53, 72, 0.05), 0 1px 3px rgba(45, 53, 72, 0.07);
  --shadow-md: 0 4px 12px rgba(65, 79, 108, 0.14), 0 2px 6px rgba(45, 53, 72, 0.06);
  --shadow-lg: 0 18px 40px rgba(65, 79, 108, 0.24), 0 4px 12px rgba(45, 53, 72, 0.08);

  --radius-sm: 8px;
  --radius-md: 14px;
  --radius-lg: 22px;

  --max-width: 1080px;
  --space-section: clamp(64px, 9vw, 120px);

  --font-sans: "Helvetica Neue", "Hiragino Kaku Gothic ProN", "Hiragino Sans",
    "Yu Gothic", "Meiryo", system-ui, -apple-system, "Segoe UI", sans-serif;
}

* { box-sizing: border-box; }

html { scroll-behavior: smooth; }

body {
  margin: 0;
  font-family: var(--font-sans);
  color: var(--color-text);
  background: var(--color-bg);
  line-height: 1.7;
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
}

img { max-width: 100%; height: auto; display: block; }
a { color: var(--color-primary); text-decoration: none; }
a:hover { color: var(--color-primary-hover); }

/* ----------------- Utilities ----------------- */
/* スマホ表示時のみ改行を表示する <br class="sp_only"> */
br.sp_only { display: none; }
@media (max-width: 768px) {
  br.sp_only { display: inline; }
}

/* ----------------- Header ----------------- */
.site-header {
  position: sticky;
  top: 0;
  z-index: 10;
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 16px clamp(20px, 4vw, 40px);
  background: rgba(255, 255, 255, 0.85);
  backdrop-filter: saturate(180%) blur(12px);
  -webkit-backdrop-filter: saturate(180%) blur(12px);
  border-bottom: 1px solid var(--color-border);
}
.site-header__logo img { width: 180px; }
.site-header__nav {
  display: flex;
  gap: 24px;
  font-weight: 600;
  font-size: 14px;
}
.site-header__nav a {
  color: var(--color-text-muted);
  padding: 6px 4px;
  border-bottom: 2px solid transparent;
  transition: color .2s ease, border-color .2s ease;
}
.site-header__nav a:hover {
  color: var(--color-primary);
  border-bottom-color: var(--color-primary);
}

/* ハンバーガーボタン（デスクトップは非表示） */
.site-header__toggle {
  display: none;
  width: 40px;
  height: 40px;
  padding: 0;
  margin: 0;
  border: 0;
  background: transparent;
  color: var(--color-text);
  cursor: pointer;
  border-radius: 10px;
  transition: background .2s ease;
}
.site-header__toggle:hover { background: var(--color-primary-soft); }
.site-header__toggle:focus-visible {
  outline: 2px solid var(--color-primary);
  outline-offset: 2px;
}
.site-header__toggle-bars {
  position: relative;
  display: block;
  width: 22px;
  height: 16px;
  margin: 0 auto;
}
.site-header__toggle-bars span {
  position: absolute;
  left: 0;
  width: 100%;
  height: 2px;
  background: currentColor;
  border-radius: 2px;
  transition: transform .25s ease, opacity .2s ease, top .25s ease;
}
.site-header__toggle-bars span:nth-child(1) { top: 0; }
.site-header__toggle-bars span:nth-child(2) { top: 7px; }
.site-header__toggle-bars span:nth-child(3) { top: 14px; }
.site-header.is-nav-open .site-header__toggle-bars span:nth-child(1) {
  top: 7px;
  transform: rotate(45deg);
}
.site-header.is-nav-open .site-header__toggle-bars span:nth-child(2) {
  opacity: 0;
}
.site-header.is-nav-open .site-header__toggle-bars span:nth-child(3) {
  top: 7px;
  transform: rotate(-45deg);
}

@media (max-width: 768px) {
  .site-header__toggle { display: inline-flex; align-items: center; justify-content: center; }

  .site-header__nav {
    position: absolute;
    top: 100%;
    left: 0;
    right: 0;
    flex-direction: column;
    align-items: stretch;
    gap: 0;
    padding: 8px clamp(20px, 4vw, 40px) 16px;
    background: rgba(255, 255, 255, 0.96);
    backdrop-filter: saturate(180%) blur(12px);
    -webkit-backdrop-filter: saturate(180%) blur(12px);
    border-bottom: 1px solid var(--color-border);
    box-shadow: var(--shadow-md);
    font-size: 15px;
    transform-origin: top;
    transform: scaleY(0);
    opacity: 0;
    visibility: hidden;
    transition: transform .2s ease, opacity .2s ease, visibility .2s ease;
  }
  .site-header.is-nav-open .site-header__nav {
    transform: scaleY(1);
    opacity: 1;
    visibility: visible;
  }
  .site-header__nav a {
    padding: 14px 4px;
    border-bottom: 1px solid var(--color-border);
  }
  .site-header__nav a:hover {
    border-bottom-color: var(--color-border);
    background: var(--color-primary-soft);
  }
  .site-header__nav a:last-child { border-bottom: 0; }
}

@media (max-width: 520px) {
  .site-header__logo img { width: 140px; }
}

/* ----------------- Hero ----------------- */
.hero {
  position: relative;
  overflow: hidden;
  background: var(--gradient-navy);
  padding: clamp(72px, 12vw, 140px) clamp(20px, 4vw, 40px) clamp(80px, 14vw, 140px);
  /* スクロール時のパララックス量（GSAPがJSで更新） */
  --orb-shift: 0px;
}
.hero::before,
.hero::after {
  content: "";
  position: absolute;
  border-radius: 50%;
  filter: blur(80px);
  opacity: .45;
  pointer-events: none;
}
.hero::before {
  width: 420px; height: 420px;
  background: radial-gradient(circle, var(--color-primary) 0%, transparent 70%);
  top: -120px; left: -120px;
  transform: translate3d(0, var(--orb-shift), 0);
}
.hero::after {
  width: 480px; height: 480px;
  background: radial-gradient(circle, var(--color-blue) 0%, transparent 70%);
  bottom: -160px; right: -160px;
  transform: translate3d(0, calc(var(--orb-shift) * -1), 0);
}

.hero__inner {
  position: relative;
  max-width: var(--max-width);
  margin: 0 auto;
  text-align: center;
}

.hero__bubbles {
  position: relative;
  width: clamp(140px, 18vw, 180px);
  height: auto;
  margin: 0 auto 32px;
}
.hero__bubbles-svg {
  width: 100%;
  height: auto;
  display: block;
  overflow: visible;
  filter: drop-shadow(0 14px 24px rgba(20, 25, 41, 0.45));
}

/* 吹き出しごとに浮遊アニメ — 位相をずらして自然な揺れに */
.bubble {
  transform-origin: center;
  will-change: transform;
}
.bubble--a {
  transform-origin: 40px 48px;
  animation: bubble-float-a 4.6s ease-in-out infinite;
}
.bubble--b {
  transform-origin: 96px 56px;
  animation: bubble-float-b 5.4s ease-in-out infinite 0.4s;
}

@keyframes bubble-float-a {
  0%, 100% { transform: translateY(0) rotate(-2deg); }
  50%      { transform: translateY(-6px) rotate(1deg); }
}
@keyframes bubble-float-b {
  0%, 100% { transform: translateY(0) rotate(3deg); }
  50%      { transform: translateY(-4px) rotate(-1deg); }
}

/* 吹き出し内のタイピングドット */
.bubble__dots circle {
  animation: bubble-dot 1.4s ease-in-out infinite;
}
.bubble__dots circle:nth-child(1) { animation-delay: 0s; }
.bubble__dots circle:nth-child(2) { animation-delay: 0.18s; }
.bubble__dots circle:nth-child(3) { animation-delay: 0.36s; }

@keyframes bubble-dot {
  0%, 60%, 100% { opacity: 0.35; }
  30%           { opacity: 1; }
}

@media (prefers-reduced-motion: reduce) {
  .bubble--a,
  .bubble--b,
  .bubble__dots circle { animation: none; }
}

.hero__title {
  margin: 0 0 24px;
  display: flex;
  flex-direction: column;
  gap: 14px;
  align-items: center;
}
.hero__title-main {
  font-size: clamp(34px, 6.5vw, 64px);
  font-weight: 800;
  letter-spacing: 0.02em;
  line-height: 1.1;
  background: var(--gradient-primary);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
}
.hero__title-dot { color: var(--color-accent); }
.hero__title-sub {
  font-size: clamp(15px, 2.2vw, 20px);
  font-weight: 600;
  color: var(--color-on-navy);
  letter-spacing: 0.08em;
}
.hero__highlight {
  text-shadow: 0 1px 4px rgba(45, 53, 72, 0.45);
}
.hero__highlight--red {
  color: var(--color-primary);
}
.hero__highlight--yellow {
  color: var(--color-accent);
}
.hero__highlight--blue {
  color: var(--color-blue);
}
.hero__lead {
  margin: 0 auto 36px;
  max-width: 580px;
  color: var(--color-on-navy-muted);
  font-size: clamp(14px, 1.7vw, 16px);
}
.hero__cta {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 14px 32px;
  border-radius: 999px;
  background: var(--gradient-primary);
  color: #fff;
  font-weight: 700;
  font-size: 15px;
  letter-spacing: 0.04em;
  text-shadow: 0 1px 4px rgba(45, 53, 72, 0.45);
  box-shadow: var(--shadow-md);
  transition: transform .2s ease, box-shadow .2s ease, color .2s ease;
}
.hero__cta:hover {
  color: #fff;
  transform: translateY(-2px);
  box-shadow: var(--shadow-lg);
}

/* ----------------- Section common ----------------- */
.section-head {
  margin-bottom: 48px;
}
.section-head--center { text-align: center; }
.section-head__eyebrow {
  margin: 0 0 8px;
  font-size: 12px;
  font-weight: 700;
  letter-spacing: 0.24em;
  color: var(--color-primary);
}
.section-head__title {
  margin: 0 0 12px;
  font-size: clamp(22px, 3vw, 30px);
  font-weight: 800;
  letter-spacing: 0.02em;
}
.section-head__desc {
  margin: 0;
  color: var(--color-text-muted);
  font-size: 15px;
}

/* ----------------- Apps ----------------- */
.apps {
  padding: var(--space-section) clamp(20px, 4vw, 40px);
}
.apps__inner {
  max-width: var(--max-width);
  margin: 0 auto;
  position: relative;
}

/* ショーケース本体 */
.apps-showcase {
  display: flex;
  flex-direction: column;
  gap: 28px;
}

.apps-showcase__panel {
  display: none;
}
.apps-showcase__panel.is-active {
  display: grid;
  grid-template-columns: 1fr;
  position: relative;
}

/* スクショ（モバイル: 高さ500px固定、object-fit:containで全体表示・右寄せ） */
.apps-showcase__media {
  grid-area: 1 / 1;
  position: relative;
  height: 500px;
}
.apps-showcase__shot,
.apps-showcase__shot--placeholder {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
}
.apps-showcase__shot {
  display: block;
  object-fit: contain;
  object-position: right center;
}
.apps-showcase__shot--placeholder {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 10px;
  background: var(--gradient-navy);
  color: var(--color-on-navy-muted);
  font-size: 14px;
  font-weight: 600;
  text-align: center;
}
.apps-showcase__shot--placeholder i {
  font-size: 40px;
  color: var(--color-on-navy);
}

/* テキストカード（モバイル: 画像の中腹よりやや下に重ねて表示） */
.apps-showcase__content {
  grid-area: 1 / 1;
  align-self: start;
  z-index: 2;
  margin: 290px 16px 0;
  max-width: 78%;
  padding: 22px;
  background: var(--color-surface);
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow-lg);
}
.apps-showcase__badge {
  display: inline-block;
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 0.1em;
  padding: 3px 10px;
  border-radius: 999px;
  background: var(--color-yellow-soft);
  color: var(--color-navy);
  margin-bottom: 10px;
}
.apps-showcase__title {
  margin: 0 0 10px;
  font-size: clamp(20px, 3vw, 28px);
  font-weight: 800;
  letter-spacing: 0.02em;
}
.apps-showcase__body {
  font-size: 14.5px;
  line-height: 1.85;
  color: var(--color-text-muted);
}
.apps-showcase__body > * + * { margin-top: 0.9em; }
.apps-showcase__body p { margin: 0; }
.apps-showcase__body h3 {
  margin: 0;
  font-size: 16px;
  font-weight: 700;
  color: var(--color-text);
}
.apps-showcase__body ul,
.apps-showcase__body ol {
  margin: 0;
  padding-left: 1.3em;
}
.apps-showcase__body a {
  color: var(--color-primary);
  text-decoration: underline;
  text-underline-offset: 3px;
}
.apps-showcase__link {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  margin-top: 18px;
  padding: 11px 26px;
  border-radius: 999px;
  background: var(--gradient-primary);
  color: #fff;
  font-size: 14px;
  font-weight: 700;
  letter-spacing: 0.06em;
  text-decoration: none;
  box-shadow: var(--shadow-sm);
  transition: transform .2s ease, box-shadow .2s ease;
}
.apps-showcase__link:hover {
  color: #fff;
  transform: translateY(-2px);
  box-shadow: var(--shadow-md);
}
.apps-showcase__link i {
  transition: transform .2s ease;
}
.apps-showcase__link:hover i {
  transform: translateX(3px);
}

/* PC: 左にテキスト／右にスクショ（高さ600px）の並列レイアウト */
@media (min-width: 901px) {
  .apps-showcase__panel.is-active {
    display: flex;
    align-items: stretch;
    min-height: 600px;
    border-radius: var(--radius-lg);
    overflow: hidden;
    background: var(--color-surface);
    box-shadow: var(--shadow-md);
  }
  .apps-showcase__content {
    position: static;
    z-index: auto;
    align-self: stretch;
    flex: 0 0 42%;
    margin: 0;
    max-width: none;
    display: flex;
    flex-direction: column;
    justify-content: center;
    padding: clamp(36px, 5vw, 56px);
    box-shadow: none;
    border-radius: 0;
  }
  .apps-showcase__media {
    position: relative;
    inset: auto;
    height: auto;
    flex: 1 1 58%;
    background: var(--gradient-navy);
  }
  .apps-showcase__shot {
    object-fit: contain;
    object-position: center;
    padding: 40px;
    box-sizing: border-box;
  }
}

/* スマホ: スクショ画像・プレースホルダー自体に角丸（パネル/メディア枠は角丸なし） */
@media (max-width: 900px) {
  .apps-showcase__media {
    display: flex;
    justify-content: flex-end;
  }
  /* 画像本体のボックスを表示サイズ（縦=コンテナ高さ）に合わせ、左右両端が角丸になるようにする */
  .apps-showcase__shot {
    position: static;
    width: auto;
    max-width: 100%;
    height: 100%;
    border-radius: var(--radius-lg);
    overflow: hidden;
  }
  .apps-showcase__shot--placeholder {
    border-radius: var(--radius-lg);
    overflow: hidden;
  }
}

/* スマホ: テキストカードをさらに詰める */
@media (max-width: 480px) {
  .apps-showcase__content {
    margin: 290px 12px 0;
    max-width: 82%;
    padding: 16px;
  }
}

/* 切り替えナビ（アイコン一覧 + 4件以上ならカルーセル矢印） */
.apps-showcase__nav-wrap {
  display: flex;
  align-items: center;
  gap: 8px;
}
.apps-showcase__nav {
  display: flex;
  flex: 1 1 auto;
  gap: 12px;
  list-style: none;
  margin: 0;
  padding: 4px 2px;
  overflow-x: auto;
  scroll-snap-type: x proximity;
  scrollbar-width: none;
}
.apps-showcase__nav::-webkit-scrollbar {
  display: none;
}
.apps-showcase__nav > li {
  flex: 0 0 auto;
  scroll-snap-align: start;
}
.apps-showcase__nav-icon {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 56px;
  height: 56px;
  padding: 8px;
  border: 2px solid var(--color-border);
  border-radius: 16px;
  background: var(--color-surface);
  cursor: pointer;
  transition: border-color .2s ease, background .2s ease, transform .2s ease, box-shadow .2s ease;
}
.apps-showcase__nav-icon img {
  width: 100%;
  height: 100%;
  object-fit: contain;
}
.apps-showcase__nav-icon:hover {
  border-color: #ffc6d4;
  transform: translateY(-2px);
}
.apps-showcase__nav-icon.is-active {
  border-color: var(--color-primary);
  background: var(--color-primary-soft);
  box-shadow: var(--shadow-sm);
}
.apps-showcase__nav-arrow {
  display: flex;
  flex: 0 0 auto;
  align-items: center;
  justify-content: center;
  width: 36px;
  height: 36px;
  border: 0;
  border-radius: 50%;
  background: var(--color-surface);
  color: var(--color-primary);
  font-size: 15px;
  box-shadow: var(--shadow-sm);
  cursor: pointer;
  transition: background .2s ease, color .2s ease, box-shadow .2s ease, transform .15s ease;
}
.apps-showcase__nav-arrow:hover {
  background: var(--color-primary);
  color: #fff;
  box-shadow: var(--shadow-md);
}
.apps-showcase__nav-arrow.is-disabled {
  opacity: 0.35;
  pointer-events: none;
}
.apps-showcase__nav-arrow[hidden] {
  display: none;
}
@media (max-width: 480px) {
  .apps-showcase__nav-icon {
    width: 48px;
    height: 48px;
    border-radius: 12px;
  }
}

/* ----------------- Recreations / Tips ----------------- */
.recreations,
.tips {
  padding: clamp(40px, 6vw, 72px) clamp(20px, 4vw, 40px) var(--space-section);
}
.recreations__inner,
.tips__inner {
  max-width: var(--max-width);
  margin: 0 auto;
}

/* TIPSセクションは暗めのネイビー背景 */
.tips {
  background: var(--color-navy);
}
.tips .section-head__eyebrow {
  color: var(--color-accent);
}
.tips .section-head__title {
  color: var(--color-on-navy);
}
.tips .section-head__desc {
  color: var(--color-on-navy-muted);
}
.tips .card-carousel__nav {
  color: var(--color-on-navy);
}

.recreation-filter,
.tip-filter {
  margin: 0 0 24px;
}
.recreation-filter__list,
.tip-filter__list {
  list-style: none;
  margin: 0;
  padding: 0;
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
}
.recreation-filter__btn,
.tip-filter__btn {
  display: inline-block;
  padding: 8px 18px;
  border-radius: 999px;
  border: 1px solid var(--color-border);
  background: var(--color-surface);
  color: var(--color-text);
  font-size: 13px;
  font-weight: 700;
  letter-spacing: 0.08em;
  line-height: 1.2;
  text-decoration: none;
  transition: background .2s ease, color .2s ease, border-color .2s ease;
}
.recreation-filter__btn:hover,
.tip-filter__btn:hover {
  background: var(--color-primary-soft);
  color: var(--color-primary-hover);
  border-color: #ffc6d4;
}
.recreation-filter__btn.is-active,
.tip-filter__btn.is-active {
  background: var(--color-primary);
  border-color: var(--color-primary);
  color: #fff;
}
.recreation-filter__btn.is-active:hover,
.tip-filter__btn.is-active:hover {
  background: var(--color-primary-hover);
  border-color: var(--color-primary-hover);
  color: #fff;
}

/* お気に入りリンク（フィルターバー末尾） */
.recreation-filter__item--favorites {
  margin-left: auto;
}
.recreation-filter__btn--favorites {
  display: inline-flex;
  align-items: center;
  gap: 6px;
}
.recreation-filter__btn--favorites .recreation-filter__btn-icon {
  font-size: 14px;
  line-height: 1;
  transform: translateY(-1px);
}
.recreation-filter__btn-count {
  font-size: 12px;
  font-weight: 700;
  letter-spacing: 0.04em;
  opacity: 0.8;
}
@media (max-width: 540px) {
  .recreation-filter__item--favorites {
    margin-left: 0;
  }
}

/* お気に入りトグルボタン（個別ページ） */
.recreation-fav-btn-wrap {
  margin: -8px 0 32px;
  display: flex;
  justify-content: flex-end;
}
.recreation-fav-btn-wrap--top {
  margin-top: 4px;
}
.recreation-fav-btn {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 9px 18px;
  border-radius: 999px;
  background: var(--color-surface);
  border: 1px solid var(--color-primary);
  color: var(--color-primary);
  font-size: 14px;
  font-weight: 700;
  letter-spacing: 0.04em;
  cursor: pointer;
  transition: background .2s ease, color .2s ease, border-color .2s ease, transform .15s ease, box-shadow .2s ease;
}
.recreation-fav-btn:hover {
  background: var(--color-primary-soft);
}
.recreation-fav-btn:focus-visible {
  outline: 2px solid var(--color-primary-hover);
  outline-offset: 2px;
}
.recreation-fav-btn.is-faved {
  background: var(--color-primary);
  color: #fff;
  border-color: var(--color-primary);
  box-shadow: var(--shadow-sm);
}
.recreation-fav-btn.is-faved:hover {
  background: var(--color-primary-hover);
  border-color: var(--color-primary-hover);
}
.recreation-fav-btn__icon {
  font-size: 17px;
  line-height: 1;
  transform: translateY(-1px);
}
@media (prefers-reduced-motion: reduce) {
  .recreation-fav-btn { transition: none; }
}

/* お気に入りページの空状態 */
.recreations-favorites__empty {
  margin: 28px 0;
  padding: 36px 20px;
  background: var(--color-surface);
  border: 1px dashed var(--color-border);
  border-radius: var(--radius-lg);
  text-align: center;
  color: var(--color-text-muted);
  font-size: 15px;
  line-height: 1.9;
}
.recreations-favorites__empty p {
  margin: 0 0 16px;
}
.recreations-favorites__cta {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 10px 22px;
  border-radius: 999px;
  background: var(--color-primary);
  color: #fff;
  font-size: 14px;
  font-weight: 700;
  letter-spacing: 0.06em;
  text-decoration: none;
  box-shadow: var(--shadow-sm);
  transition: background .2s ease, transform .15s ease, box-shadow .2s ease;
}
.recreations-favorites__cta:hover {
  background: var(--color-primary-hover);
  color: #fff;
  transform: translateY(-2px);
  box-shadow: var(--shadow-md);
}

.recreations-grid,
.tips-grid {
  list-style: none;
  margin: 0;
  padding: 0;
  display: grid;
  gap: 20px;
  grid-template-columns: repeat(auto-fill, minmax(280px, 1fr));
}

/* ----------------- Card carousel（フロントページ / スマホ表示のみ） ----------------- */
.card-carousel {
  position: relative;
}
.card-carousel__nav {
  display: none;
}

@media (max-width: 768px) {
  .card-carousel .recreations-grid,
  .card-carousel .tips-grid {
    display: flex;
    flex-wrap: nowrap;
    grid-template-columns: none;
    overflow-x: auto;
    scroll-snap-type: x mandatory;
    -webkit-overflow-scrolling: touch;
    scrollbar-width: none;
    padding: 4px 2.5%;
  }
  .card-carousel .recreations-grid::-webkit-scrollbar,
  .card-carousel .tips-grid::-webkit-scrollbar {
    display: none;
  }
  .card-carousel .recreations-grid > li,
  .card-carousel .tips-grid > li {
    flex: 0 0 95%;
    scroll-snap-align: center;
  }

  .card-carousel__nav {
    display: flex;
    align-items: center;
    justify-content: center;
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    z-index: 5;
    padding: 0;
    border: 0;
    background: transparent;
    color: var(--color-primary);
    font-size: 28px;
    font-weight: 800;
    line-height: 1;
    cursor: pointer;
    animation: card-carousel-blink 1.6s ease-in-out infinite;
  }
  .card-carousel__nav--prev { left: 4px; }
  .card-carousel__nav--next { right: 4px; }
  .card-carousel__nav.is-disabled {
    opacity: 0;
    animation: none;
    pointer-events: none;
  }
}

@keyframes card-carousel-blink {
  0%, 100% { opacity: 1; }
  50%      { opacity: .35; }
}
@media (prefers-reduced-motion: reduce) {
  .card-carousel__nav { animation: none; }
}

.recreations-more,
.tips-more {
  margin: 28px 0 0;
  text-align: center;
}
.recreations-more__btn,
.tips-more__btn {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 12px 28px;
  border-radius: 999px;
  background: var(--color-primary);
  color: #fff;
  font-size: 14px;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-decoration: none;
  transition: background .2s ease, transform .2s ease, box-shadow .2s ease;
  box-shadow: var(--shadow-sm);
}
.recreations-more__btn:hover,
.tips-more__btn:hover {
  background: var(--color-primary-hover);
  color: #fff;
  transform: translateY(-2px);
  box-shadow: var(--shadow-md);
}
.recreations-more__arrow,
.tips-more__arrow {
  transition: transform .2s ease;
}
.recreations-more__btn:hover .recreations-more__arrow,
.tips-more__btn:hover .tips-more__arrow {
  transform: translateX(3px);
}

.pagination {
  margin: 48px 0 8px;
  display: flex;
  justify-content: center;
}
.pagination .nav-links {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  flex-wrap: wrap;
  justify-content: center;
}
.pagination .page-numbers {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-width: 40px;
  height: 40px;
  padding: 0 10px;
  border-radius: 999px;
  background: var(--color-surface);
  border: 1px solid var(--color-border);
  color: var(--color-text-muted);
  font-size: 14px;
  font-weight: 700;
  letter-spacing: 0.04em;
  text-decoration: none;
  box-shadow: var(--shadow-sm);
  transition: background .2s ease, color .2s ease, border-color .2s ease, transform .2s ease, box-shadow .2s ease;
}
.pagination a.page-numbers:hover {
  background: var(--color-primary-soft);
  color: var(--color-primary);
  border-color: var(--color-primary-soft);
  transform: translateY(-2px);
  box-shadow: var(--shadow-md);
}
.pagination .page-numbers.current {
  background: var(--color-primary);
  color: #fff;
  border-color: var(--color-primary);
  box-shadow: var(--shadow-md);
}
.pagination .page-numbers.dots {
  background: transparent;
  border-color: transparent;
  box-shadow: none;
  color: var(--color-text-subtle);
}
.pagination .page-numbers.prev,
.pagination .page-numbers.next {
  font-size: 18px;
  font-weight: 600;
}

.recreation-card,
.tip-card {
  position: relative;
  display: flex;
  flex-direction: column;
  background: var(--color-surface);
  border: 1px solid var(--color-border);
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow-sm);
  overflow: hidden;
  transition: transform .2s ease, box-shadow .2s ease, border-color .2s ease;
}
.recreation-card:hover,
.tip-card:hover {
  transform: translateY(-3px);
  box-shadow: var(--shadow-md);
  border-color: #ffc6d4;
}

.recreation-card__thumb,
.tip-card__thumb {
  position: relative;
  aspect-ratio: 16 / 9;
  display: flex;
  align-items: center;
  justify-content: center;
  background: var(--gradient-primary);
  color: #fff;
}
.recreation-card__thumb--game {
  background: var(--gradient-primary);
}
.recreation-card__thumb--draw {
  background: linear-gradient(135deg, #ffe33e 0%, #ff3e6c 100%);
}
.recreation-card__thumb--quiz {
  background: linear-gradient(135deg, #3eafff 0%, #414f6c 100%);
}
.recreation-card__thumb--origami {
  background: linear-gradient(135deg, #ff3e6c 0%, #414f6c 100%);
}
.recreation-card__thumb--coming {
  background: linear-gradient(135deg, #cbd5e1 0%, #94a3b8 100%);
}
.recreation-card__thumb-label,
.tip-card__thumb-label {
  font-size: 22px;
  font-weight: 800;
  letter-spacing: 0.18em;
  text-shadow: 0 1px 4px rgba(45, 53, 72, 0.45);
  opacity: .9;
}

.recreation-card__body,
.tip-card__body {
  flex: 1;
  padding: 18px 22px 20px;
}
.recreation-card__category,
.tip-card__category {
  display: inline-block;
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 0.16em;
  color: var(--color-primary-hover);
  margin-bottom: 8px;
}
.recreation-card__category--muted,
.tip-card__category--muted { color: var(--color-text-subtle); }
.recreation-card__fav-star {
  display: inline-block;
  margin-left: 6px;
  vertical-align: baseline;
  color: var(--color-primary);
  font-size: 13px;
  line-height: 1;
}
.recreation-card__fav-star[hidden] {
  display: none;
}
.recreation-card__title,
.tip-card__title {
  margin: 0 0 6px;
  font-size: 16px;
  font-weight: 700;
  line-height: 1.5;
  letter-spacing: 0.02em;
}
.recreation-card__desc,
.tip-card__desc {
  margin: 0;
  font-size: 14px;
  color: var(--color-text-muted);
  line-height: 1.6;
}
.recreation-card__arrow,
.tip-card__arrow {
  position: absolute;
  right: 18px;
  bottom: 16px;
  color: var(--color-text-subtle);
  font-size: 18px;
  font-weight: 700;
  transition: transform .2s ease, color .2s ease;
}
.recreation-card:hover .recreation-card__arrow,
.tip-card:hover .tip-card__arrow {
  color: var(--color-primary);
  transform: translateX(4px);
}

.recreation-card__link,
.tip-card__link {
  position: absolute;
  inset: 0;
  z-index: 1;
  border-radius: inherit;
  text-indent: -9999px;
  overflow: hidden;
  white-space: nowrap;
}
.recreation-card__link:focus-visible,
.tip-card__link:focus-visible {
  outline: 2px solid var(--color-primary);
  outline-offset: 3px;
}
.recreation-card:has(.recreation-card__link),
.tip-card:has(.tip-card__link) { cursor: pointer; }

/* ----------------- Article (レクリエーション 記事ページ) ----------------- */
.article {
  padding: clamp(40px, 6vw, 72px) clamp(20px, 4vw, 40px) var(--space-section);
  background: var(--gradient-soft);
}
.article__inner {
  max-width: 760px;
  margin: 0 auto;
}

.article__breadcrumb {
  margin: 0 0 24px;
  font-size: 13px;
  color: var(--color-text-subtle);
}
.article__breadcrumb a { color: var(--color-text-muted); }
.article__breadcrumb a:hover { color: var(--color-primary); }
.article__breadcrumb-sep { margin: 0 8px; color: var(--color-text-subtle); }

.article__header {
  margin-bottom: 0;
  padding-bottom: 0;
  border-bottom: 0;
}
.article__category {
  display: inline-block;
  font-size: 12px;
  font-weight: 700;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--color-primary);
  background: var(--color-primary-soft);
  padding: 4px 12px;
  border-radius: 999px;
  margin-bottom: 16px;
  text-decoration: none;
  transition: background .2s ease, color .2s ease, transform .2s ease;
}
a.article__category:hover {
  background: var(--color-primary);
  color: #fff;
  transform: translateY(-1px);
}
.article__title {
  margin: 0 0 16px;
  font-size: clamp(24px, 4vw, 34px);
  font-weight: 800;
  line-height: 1.4;
  letter-spacing: 0.02em;
}
.article__lead {
  margin: 0 0 16px;
  color: var(--color-text-muted);
  font-size: 16px;
  line-height: 1.8;
}
.article__meta {
  display: flex;
  gap: 16px;
  flex-wrap: wrap;
  font-size: 13px;
  color: var(--color-text-subtle);
}

.article__body {
  background: var(--color-surface);
  border: 1px solid var(--color-border);
  border-radius: var(--radius-lg);
  padding: clamp(28px, 5vw, 48px);
  box-shadow: var(--shadow-sm);
}
.article__body > * + * { margin-top: 1em; }
.article__body h2 {
  margin: 2em 0 0.8em;
  padding-left: 14px;
  border-left: 4px solid var(--color-primary);
  font-size: clamp(18px, 2.4vw, 22px);
  font-weight: 800;
  letter-spacing: 0.02em;
  line-height: 1.5;
}
.article__body h2:first-child { margin-top: 0; }
.article__body h3 {
  margin: 1.6em 0 0.6em;
  font-size: clamp(16px, 2vw, 18px);
  font-weight: 700;
  color: var(--color-text);
}
.article__body p {
  color: var(--color-text);
  font-size: 15px;
  line-height: 1.9;
}
.article__body ul,
.article__body ol {
  padding-left: 1.4em;
  color: var(--color-text);
  font-size: 15px;
  line-height: 1.9;
}
.article__body li + li { margin-top: 4px; }
.article__body a {
  color: var(--color-primary);
  text-decoration: underline;
  text-underline-offset: 3px;
}
.article__body img {
  width: 100%;
  border-radius: var(--radius-md);
  border: 1px solid var(--color-border);
  margin: 12px 0;
}
.article__body figure { margin: 16px 0; }
.article__body figcaption {
  margin-top: 8px;
  font-size: 13px;
  color: var(--color-text-subtle);
  text-align: center;
}
.article__body code {
  background: var(--color-primary-soft);
  color: var(--color-primary-hover);
  padding: 2px 6px;
  border-radius: 4px;
  font-size: 0.92em;
}
.article__body blockquote {
  margin: 16px 0;
  padding: 14px 18px;
  background: var(--color-primary-soft);
  border-left: 4px solid var(--color-primary);
  border-radius: 0 var(--radius-sm) var(--radius-sm) 0;
  color: var(--color-text);
  font-size: 14.5px;
  line-height: 1.8;
}
.article__body blockquote p { margin: 0; }

/* 補足ボックス（ヒント／注意） */
.callout {
  margin: 20px 0;
  padding: 16px 20px;
  border-radius: var(--radius-md);
  border: 1px solid var(--color-border);
  background: var(--color-bg-elevated);
  font-size: 14.5px;
  line-height: 1.8;
}
.callout__title {
  margin: 0 0 6px;
  font-size: 13px;
  font-weight: 700;
  letter-spacing: 0.12em;
  color: var(--color-primary-hover);
}
.callout__icon {
  margin-right: 6px;
}
.callout--tip {
  background: var(--color-blue-soft);
  border-color: #bfe6ff;
}
.callout--tip .callout__title {
  color: #1f6fb0;
}
.callout--warn {
  background: #fff7ed;
  border-color: #fed7aa;
}
.callout--warn .callout__title { color: #c2410c; }

/* 手順ステップ */
.steps {
  list-style: none;
  margin: 16px 0;
  padding: 0;
  counter-reset: step;
}
.steps > li {
  position: relative;
  padding: 14px 18px 14px 56px;
  margin: 10px 0;
  background: var(--color-bg-elevated);
  border: 1px solid var(--color-border);
  border-radius: var(--radius-md);
  counter-increment: step;
}
.steps > li::before {
  content: counter(step);
  position: absolute;
  left: 14px;
  top: 50%;
  transform: translateY(-50%);
  width: 30px;
  height: 30px;
  border-radius: 50%;
  background: var(--gradient-primary);
  color: #fff;
  text-shadow: 0 1px 3px rgba(45, 53, 72, 0.45);
  font-weight: 800;
  font-size: 14px;
  display: flex;
  align-items: center;
  justify-content: center;
}

/* 外部リンク（[link]ショートコード）の末尾アイコン */
.ext-link__icon {
  display: inline-block;
  width: 0.85em;
  height: 0.85em;
  margin-left: 0.25em;
  vertical-align: -0.08em;
  flex-shrink: 0;
}

/* 年譜タイムライン */
ol.timeline {
  --timeline-axis: 18px;
  --timeline-dot: 14px;
  --timeline-pad: 56px;
  --timeline-progress: 0;
  list-style: none;
  position: relative;
  margin: 28px 0;
  padding: 4px 0;
  font-size: inherit;
  line-height: inherit;
}
ol.timeline::before,
ol.timeline::after {
  content: "";
  position: absolute;
  left: var(--timeline-axis);
  top: 0;
  bottom: 0;
  width: 2px;
  border-radius: 2px;
}
ol.timeline::before {
  background: var(--color-border);
}
ol.timeline::after {
  background: var(--color-primary);
  transform-origin: top center;
  transform: scaleY(var(--timeline-progress));
  transition: transform .12s linear;
}
.timeline__item {
  position: relative;
  padding: 0 0 28px var(--timeline-pad);
}
.timeline__item:last-child {
  padding-bottom: 4px;
}
.timeline__marker {
  position: absolute;
  left: calc(var(--timeline-axis) + 1px - (var(--timeline-dot) / 2));
  top: 6px;
  width: var(--timeline-dot);
  height: var(--timeline-dot);
  border-radius: 50%;
  background: var(--color-surface);
  border: 2px solid var(--color-border);
  box-shadow: 0 0 0 4px var(--color-surface);
  transition: background .3s ease, border-color .3s ease, box-shadow .3s ease, transform .3s ease;
}
.timeline__item.is-passed .timeline__marker {
  background: var(--color-primary);
  border-color: var(--color-primary);
  box-shadow: 0 0 0 4px var(--color-surface), 0 0 0 8px var(--color-primary-soft);
  transform: scale(1.05);
}
p.timeline__year {
  margin: 0;
  font-size: clamp(28px, 4vw, 36px);
  font-weight: 800;
  letter-spacing: 0.02em;
  line-height: 1.3;
  color: var(--color-text);
}
.timeline__cards {
  margin-top: 10px;
  display: flex;
  flex-direction: column;
  gap: 12px;
}
.timeline__card {
  margin: 0;
  padding: 0;
  background: transparent;
  border: 0;
  border-radius: 0;
  box-shadow: none;
}
.timeline__card > * + * { margin-top: 0.6em; }
p.timeline__date {
  margin: 0;
  font-size: 13px;
  font-weight: 600;
  letter-spacing: 0.04em;
  color: var(--color-text-muted);
}
h3.timeline__title {
  margin: 0;
  padding: 0;
  border: 0;
  font-size: 14px;
  font-weight: 700;
  color: var(--color-primary-hover);
  letter-spacing: 0.02em;
}
.timeline__body { margin: 0; }
.timeline__body > * + * { margin-top: 0.6em; }
.timeline__body p {
  margin: 0;
  font-size: 14.5px;
  line-height: 1.9;
  color: var(--color-text);
}
@media (max-width: 600px) {
  ol.timeline {
    --timeline-axis: 10px;
    --timeline-pad: 36px;
  }
  .timeline__marker {
    top: 4px;
  }
  p.timeline__year {
    font-size: 24px;
  }
}
@media (prefers-reduced-motion: reduce) {
  ol.timeline::after {
    transform: scaleY(1);
    transition: none;
  }
  .timeline__marker {
    background: var(--color-primary);
    border-color: var(--color-primary);
    transition: none;
  }
}

/* 記事フッターのナビ */
.article__nav {
  margin-top: 32px;
  display: flex;
  justify-content: space-between;
  gap: 16px;
  flex-wrap: wrap;
}
.article__nav-link {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 10px 18px;
  border-radius: 999px;
  background: #fff;
  border: 1px solid var(--color-border);
  color: var(--color-text-muted);
  font-size: 14px;
  font-weight: 600;
  transition: border-color .2s ease, color .2s ease;
}
.article__nav-link:hover {
  border-color: var(--color-primary);
  color: var(--color-primary);
}

/* ----------------- Links（リンク集ページ） ----------------- */
/* カテゴリのチップ型ページ内ナビ */
.links-nav {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin: 0 0 36px;
  padding: 16px;
  background: var(--color-blue-soft);
  border-radius: var(--radius-md);
}
.links-nav__chip {
  display: inline-flex;
  align-items: center;
  padding: 8px 16px;
  border-radius: 999px;
  background: #fff;
  border: 1px solid #ffc6d4;
  color: var(--color-primary-hover);
  font-size: 13px;
  font-weight: 700;
  letter-spacing: 0.04em;
  transition: background .2s ease, color .2s ease, transform .2s ease;
}
.links-nav__chip:hover {
  background: var(--gradient-primary);
  color: #fff;
  transform: translateY(-1px);
}

/* カテゴリのセクション */
.links-section {
  margin-top: 48px;
  scroll-margin-top: 80px;
}
.links-section:first-child { margin-top: 0; }
.links-section__title {
  margin: 0 0 6px;
  padding-left: 14px;
  border-left: 4px solid var(--color-primary);
  font-size: clamp(18px, 2.4vw, 22px);
  font-weight: 800;
  letter-spacing: 0.02em;
  line-height: 1.5;
}
.links-section__desc {
  margin: 0 0 20px;
  padding-left: 18px;
  font-size: 14px;
  color: var(--color-text-muted);
}

/* リンクカードのグリッド */
.link-grid {
  list-style: none;
  margin: 0;
  padding: 0;
  display: grid;
  gap: 14px;
  grid-template-columns: repeat(auto-fill, minmax(260px, 1fr));
}
.link-card {
  position: relative;
  display: flex;
  align-items: flex-start;
  gap: 14px;
  padding: 16px;
  background: var(--color-surface);
  border: 1px solid var(--color-border);
  border-radius: var(--radius-md);
  box-shadow: var(--shadow-sm);
  transition: transform .2s ease, box-shadow .2s ease, border-color .2s ease;
}
.link-card:hover {
  transform: translateY(-2px);
  box-shadow: var(--shadow-md);
  border-color: #ffc6d4;
}
.link-card__icon {
  flex: 0 0 44px;
  width: 44px;
  height: 44px;
  border-radius: 10px;
  display: flex;
  align-items: center;
  justify-content: center;
  background: var(--color-primary-soft);
  overflow: hidden;
}
.link-card__icon img {
  width: 28px;
  height: 28px;
  object-fit: contain;
}
.link-card__body { flex: 1; min-width: 0; }
.link-card__title {
  margin: 0 0 4px;
  font-size: 15px;
  font-weight: 700;
  letter-spacing: 0.02em;
}
.link-card__desc {
  margin: 0;
  font-size: 13px;
  color: var(--color-text-muted);
  line-height: 1.6;
}

/* カード全体をクリック可能にするストレッチドリンク */
.link-card__link {
  position: absolute;
  inset: 0;
  z-index: 1;
  border-radius: inherit;
  text-indent: -9999px;
  overflow: hidden;
  white-space: nowrap;
}
.link-card__link:focus-visible {
  outline: 2px solid var(--color-primary);
  outline-offset: 3px;
}
.link-card:has(.link-card__link) { cursor: pointer; }

/* ----------------- About ----------------- */
.about {
  padding: 0 clamp(20px, 4vw, 40px) var(--space-section);
}
.about__inner {
  max-width: 720px;
  margin: 0 auto;
  padding: clamp(40px, 6vw, 64px) clamp(28px, 5vw, 56px);
  background: var(--color-surface);
  border: 1px solid var(--color-border);
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow-sm);
  text-align: center;
}
.about__text {
  margin: 0;
  color: var(--color-text-muted);
  font-size: 15px;
  line-height: 1.9;
}

/* ----------------- 装飾ドゥードル（スクロールアニメ用SVG） ----------------- */
.tips__inner,
.recreations__inner {
  position: relative;
}
.about {
  position: relative;
}
.tips__doodle,
.recreations__doodle,
.about__doodle,
.apps__doodle {
  position: absolute;
  pointer-events: none;
}
.tips__doodle svg,
.recreations__doodle svg,
.about__doodle svg,
.apps__doodle svg {
  display: block;
  width: 100%;
  height: auto;
  overflow: visible;
}
.apps__doodle {
  top: 0;
  right: 0;
  width: 168px;
}
.tips__doodle {
  top: 0;
  right: 0;
  width: 168px;
}
.recreations__doodle {
  top: -8px;
  right: 0;
  width: 200px;
}
.about__doodle {
  top: clamp(8px, 2vw, 28px);
  left: clamp(8px, 3vw, 40px);
  width: 300px;
}
@media (max-width: 900px) {
  .apps__doodle {
    width: 112px;
  }
  .tips__doodle {
    width: 112px;
  }
  .recreations__doodle {
    width: 128px;
    top: -4px;
  }
  .about__doodle {
    width: 200px;
  }
}
@media (max-width: 480px) {
  .apps__doodle {
    width: 88px;
  }
  .tips__doodle {
    width: 88px;
  }
  .recreations__doodle {
    width: 100px;
  }
  .about__doodle {
    width: 152px;
  }
}

/* ----------------- Footer ----------------- */
.site-footer {
  border-top: 1px solid var(--color-border);
  background: #ffffff;
}
.site-footer__inner {
  max-width: var(--max-width);
  margin: 0 auto;
  padding: 28px clamp(20px, 4vw, 40px);
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  flex-wrap: wrap;
}
.site-footer__logo { width: 140px; }
.site-footer__meta {
  display: flex;
  flex-direction: column;
  align-items: flex-end;
  gap: 4px;
  text-align: right;
}
.site-footer__legal {
  margin: 0;
  font-size: 13px;
  letter-spacing: 0.04em;
}
.site-footer__legal a {
  color: var(--color-text-subtle);
  text-decoration: none;
}
.site-footer__legal a:hover {
  text-decoration: underline;
}
.site-footer__copy {
  margin: 0;
  font-size: 13px;
  color: var(--color-text-subtle);
  letter-spacing: 0.04em;
}
