﻿@charset "UTF-8";

/* ============================================================
   Reset (ress.css v1.2.2 subset)
   ============================================================ */
html {
  scroll-behavior: smooth;
  box-sizing: border-box;
  overflow-y: scroll;
  -webkit-text-size-adjust: 100%;
}
*, ::before, ::after {
  background-repeat: no-repeat;
  box-sizing: inherit;
}
* { padding: 0; margin: 0; }
article, aside, details, figcaption, figure,
footer, header, main, menu, nav, section, summary { display: block; }
small { font-size: 80%; }
[hidden], template { display: none; }
a { background-color: transparent; text-decoration: none; color: inherit; }
img { border: 0; vertical-align: middle; max-width: 100%; height: auto; }
button {
  cursor: pointer;
  border: none;
  background: none;
  font: inherit;
  color: inherit;
}
ul, ol { list-style: none; }

/* ============================================================
   CSS Variables
   ============================================================ */
:root {
  /* Colors */
  --color-bg-dark:    #0e1f3a;
  --color-bg-dark2:   #0e1f3a;
  --color-bg-light:   #f4f6fb;
  --color-accent:     #c8a96e;
  --color-accent-sub: #0055bb;
  --color-white:      #ffffff;
  --color-text:       #0e1f3a;
  --color-text-light: #39476a;

  /* Card */
  --card-radius:  16px;
  --card-shadow:  0 2px 24px rgba(14, 31, 58, 0.06);
  --card-bg:      #ffffff;

  /* Spacing */
  --sp-safe:        22px;
  --section-py-pc:  112px;
  --section-py-sp:  72px;

  /* Typography — ゴシック統一 */
  --font-sans:  "Noto Sans JP", "Hiragino Kaku Gothic ProN", "Yu Gothic", "Meiryo", sans-serif;
  --font-serif: "Noto Sans JP", "Hiragino Kaku Gothic ProN", "Yu Gothic", "Meiryo", sans-serif;
  --font-en:    "Roboto", sans-serif;

  /* V5 ブランドパレット */
  --v5-bg:         #f4f6fb;
  --v5-bg-warm:    #e9edf5;
  --v5-paper:      #ffffff;
  --v5-ink:        #0e1f3a;
  --v5-ink-sub:    #39476a;
  --v5-ink-mute:   #7a8397;
  --v5-line:       rgba(14, 31, 58, 0.10);
  --v5-brand:      #0055bb;
  --v5-brand-deep: #003f8a;
  --v5-brand-soft: #cfe0ff;
  --v5-accent:     #d0202d;
}

/* ============================================================
   Base
   ============================================================ */
html { font-size: 16px; }

body {
  font-family: var(--font-sans);
  color: var(--v5-ink);
  background-color: var(--v5-bg);
  line-height: 1.8;
  -webkit-font-smoothing: antialiased;
}

h1, h2, h3, h4, h5, h6 {
  font-family: var(--font-sans);
  font-weight: 700;
  letter-spacing: 0.02em;
  line-height: 1.45;
}

.sr-only {
  position: absolute;
  width: 1px;
  height: 1px;
  overflow: hidden;
  clip: rect(0 0 0 0);
  white-space: nowrap;
}

/* ============================================================
   Layout — l-wrapper / l-unit
   ============================================================ */
.l-wrapper { overflow: hidden; }

.l-unit .l-unit__box {
  display: block;
  margin-left: auto;
  margin-right: auto;
  width: auto;
}
@media (min-width: 768.99px) {
  .l-unit.-solid .l-unit__box { width: 740px; }
}
@media (min-width: 960px) {
  .l-unit.-solid .l-unit__box { width: 920px; }
}
@media (min-width: 1230px) {
  .l-unit.-solid .l-unit__box { width: 1020px; }
}
@media (max-width: 768.98px) {
  .l-unit.-solid.-pad .l-unit__box {
    padding-left: var(--sp-safe);
    padding-right: var(--sp-safe);
  }
}

/* ============================================================
   Scroll reveal — .js-reveal
   ============================================================ */
.js-reveal {
  opacity: 0;
  transform: translateY(40px);
  transition: opacity 0.7s ease, transform 0.7s ease;
}
.js-reveal.is-visible {
  opacity: 1;
  transform: translateY(0);
}

/* ============================================================
   Section backgrounds
   ============================================================ */
.l-section-bg {
  padding-top: var(--section-py-pc);
  padding-bottom: var(--section-py-pc);
}
@media (max-width: 768.98px) {
  .l-section-bg {
    padding-top: var(--section-py-sp);
    padding-bottom: var(--section-py-sp);
  }
}
.l-section-bg.-bg-dark  { background-color: var(--color-bg-dark2); }
.l-section-bg.-bg-light { background-color: #eef2f9; }

/* 固定暗背景（デフォルト）: カードがスクロールで上を滑る */
.l-section-fixed-dark {
  position: relative;
  padding-top: var(--section-py-pc);
  padding-bottom: var(--section-py-pc);
  background-color: var(--v5-bg);
  background-image:
    radial-gradient(ellipse at 15% 20%, rgba(0, 85, 187, 0.05) 0%, transparent 55%),
    radial-gradient(ellipse at 85% 80%, rgba(0, 85, 187, 0.04) 0%, transparent 55%);
  background-attachment: fixed;
  background-size: cover;
}
@media (max-width: 768.98px) {
  .l-section-fixed-dark {
    padding-top: var(--section-py-sp);
    padding-bottom: var(--section-py-sp);
    background-attachment: scroll;
  }
}

/* セクション別の背景色上書き */
.p-lead.l-section-fixed-dark {
  background-color: #ffffff;
  background-image: none;
  padding-top: 56px;
  padding-bottom: 72px;
}
@media (max-width: 768.98px) {
  .p-lead.l-section-fixed-dark {
    padding-top: 40px;
    padding-bottom: 52px;
  }
  .p-lead__card--v2 {
    padding: 32px var(--sp-safe);
  }
  .p-lead__heading {
    margin-bottom: 24px;
  }

  .p-lead__body {
    gap: 16px;
    line-height: 1.7;
  }

  /* SP: PC用改行を非表示 */
  .p-lead-br { display: none; }
}
.p-future.l-section-fixed-dark {
  background-color: var(--v5-ink);
  background-image:
    radial-gradient(ellipse at 15% 20%, rgba(0, 85, 187, 0.35) 0%, transparent 55%),
    radial-gradient(ellipse at 85% 80%, rgba(208, 32, 45, 0.15) 0%, transparent 55%);
}
.p-brands.l-section-fixed-dark {
  background-color: #ffffff;
  background-image: none;
}

/* 薄青グレー背景（ダイジェスト・キャンペーン等） */
.p-digest.l-section-bg.-bg-light  { background-color: #eef2f9; }
.p-campaign.l-section-bg.-bg-light { background-color: #eef2f9; }

/* Parallax section (メッセージ) */
.l-section-parallax {
  position: relative;
  padding-top: var(--section-py-pc);
  padding-bottom: var(--section-py-pc);
  overflow: hidden;
  background-color: #ffffff;
}
@media (max-width: 768.98px) {
  .l-section-parallax {
    padding-top: var(--section-py-sp);
    padding-bottom: var(--section-py-sp);
  }
}
.l-section-parallax__bg {
  position: absolute;
  inset: -20%;
  background: #ffffff;
  z-index: 0;
}
.l-section-parallax > .l-unit {
  position: relative;
  z-index: 1;
}

/* ============================================================
   Card component — c-card
   ============================================================ */
.c-card {
  background: var(--card-bg);
  border-radius: var(--card-radius);
  box-shadow: var(--card-shadow);
  border: 1px solid var(--v5-line);
  overflow: hidden;
  padding: 56px 64px;
}
@media (max-width: 768.98px) {
  .c-card {
    padding: 36px var(--sp-safe);
  }
}

/* ============================================================
   Header — l-header
   ============================================================ */
.l-header {
  position: sticky;
  top: 0;
  z-index: 100;
  background-color: #0e1f3a;
  border-bottom: 1px solid rgba(255, 255, 255, 0.08);
}
.l-header__inner {
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 14px var(--sp-safe);
}
@media (min-width: 768.99px) {
  .l-header__inner { padding: 16px 30px; }
}
.l-header__logo img {
  display: block;
  filter: brightness(0) invert(1);
}

/* ============================================================
   Hero — p-hero
   ============================================================ */
.p-hero {
  position: relative;
  width: 100%;
  height: auto;
  min-height: 0;
  padding: clamp(80px, 14vh, 140px) 0 clamp(60px, 10vh, 110px);
  display: flex;
  align-items: center;
  justify-content: center;
  overflow: hidden;
  background: linear-gradient(175deg, #e4ecf8 0%, var(--v5-bg) 60%, #f4f6fb 100%);
}

.p-hero__overlay {
  position: absolute;
  inset: 0;
  background: radial-gradient(ellipse at 50% 50%, transparent 0%, rgba(244, 246, 251, 0.3) 65%, var(--v5-bg) 100%);
  z-index: 2;
  pointer-events: none;
}

.p-hero__content {
  position: relative;
  z-index: 3;
  text-align: center;
  color: var(--v5-ink);
  padding: 0 var(--sp-safe);
}
.p-hero__logo-wrap {
  display: inline-block;
  margin-bottom: 32px;
  opacity: 0;
  animation: v5-logo-in 1.4s 0.5s ease both, v5-breathe 6s 2s ease-in-out infinite;
}
.p-hero__logo {
  display: block;
  width: clamp(360px, 52vw, 660px);
  height: auto;
  filter: drop-shadow(0 8px 28px rgba(31, 42, 51, 0.18));
}
.p-hero__since {
  font-family: var(--font-en);
  font-weight: 700;
  font-size: clamp(15px, 1.4vw, 20px);
  letter-spacing: 0.4em;
  color: var(--v5-brand);
  margin-bottom: 18px;
  opacity: 0;
  animation: v5-fade-up 1.2s 0.3s ease both;
}
.p-hero__catch {
  font-family: var(--font-sans);
  font-size: clamp(18px, 2.2vw, 26px);
  font-weight: 700;
  line-height: 1.6;
  letter-spacing: 0.12em;
  color: var(--v5-ink);
  opacity: 0;
  animation: v5-fade-up 1.2s 1.2s ease both;
}

@keyframes v5-logo-in {
  from { opacity: 0; transform: translateY(16px) scale(0.96); }
  to   { opacity: 1; transform: translateY(0) scale(1); }
}
@keyframes v5-breathe {
  0%, 100% { transform: scale(1); }
  50%      { transform: scale(1.02); }
}
@keyframes v5-fade-up {
  from { opacity: 0; transform: translateY(12px); }
  to   { opacity: 1; transform: translateY(0); }
}

/* ============================================================
   Scroll bridge（ヒーロー直下）
   ============================================================ */
.p-scroll-bridge {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 10px;
  padding: 20px 0 20px;
  background: #ffffff;
}
.p-scroll-bridge__line {
  display: block;
  width: 1px;
  height: 64px;
  background: rgba(0, 85, 187, 0.18);
  position: relative;
  overflow: hidden;
}
.p-scroll-bridge__line::after {
  content: '';
  position: absolute;
  top: -36px;
  left: 0;
  width: 100%;
  height: 36px;
  background: linear-gradient(180deg, transparent 0%, var(--v5-brand) 45%, var(--v5-brand) 75%, transparent 100%);
  animation: scrollBridgeFlow 1.6s cubic-bezier(0.4, 0, 0.5, 1) infinite;
}
@keyframes scrollBridgeFlow {
  0%   { transform: translateY(0);    opacity: 0; }
  12%  { opacity: 1; }
  88%  { opacity: 1; }
  100% { transform: translateY(100px); opacity: 0; }
}
.p-scroll-bridge__label {
  font-family: var(--font-en);
  font-size: 12px;
  letter-spacing: 0.32em;
  color: var(--v5-brand);
  font-weight: 500;
}

/* ============================================================
   Lead — p-lead
   ============================================================ */
.p-lead__card { text-align: center; }

.p-lead__label {
  font-family: var(--font-en);
  font-size: 12px;
  letter-spacing: 0.25em;
  color: var(--v5-brand);
  font-weight: 700;
  margin-bottom: 16px;
  text-transform: uppercase;
}
.p-lead__heading {
  font-family: var(--font-sans);
  font-size: clamp(26px, 3vw, 40px);
  font-weight: 700;
  line-height: 1.55;
  letter-spacing: 0.03em;
  margin-bottom: 44px;
  color: var(--v5-ink);
}
@media (max-width: 768.98px) {
  .p-lead__heading { font-size: clamp(12px, 6.2vw, 26px); }
  .p-lead-seq__line--lead { white-space: nowrap; }
}
@media (max-width: 768.98px) {
  .p-lead__card { text-align: left; }
}
.p-lead__body {
  font-size: clamp(15px, 1.2vw, 18px);
  color: var(--v5-ink-sub);
  line-height: 2.1;
  display: flex;
  flex-direction: column;
  gap: 28px;
}

/* Lead card v2 — 一行ずつフェードイン */
.p-lead__card--v2 {
  padding: clamp(48px, 6vw, 80px) clamp(32px, 5vw, 80px);
  max-width: 1020px;
  margin-left: auto;
  margin-right: auto;
}
#lead .l-unit__box {
  max-width: 1020px;
  margin-left: auto;
  margin-right: auto;
}
.p-lead-seq { text-align: inherit; }
.p-lead-seq__group { display: block; }
.p-lead-seq__line {
  display: block;
  opacity: 0;
  transform: translateY(14px);
  transition: opacity 0.9s cubic-bezier(.2,.7,.2,1), transform 0.9s cubic-bezier(.2,.7,.2,1);
}
.p-lead-seq__line--lead { font-weight: 700; }
.p-lead-seq__accent {
  font-style: normal;
  font-weight: 900;
  color: var(--v5-brand);
  position: relative;
  padding: 0 0.05em;
}
.p-lead-seq__accent::after {
  content: "";
  position: absolute;
  left: 0;
  right: 0;
  bottom: -4px;
  height: 2px;
  background: var(--v5-brand);
  transform: scaleX(0);
  transform-origin: left;
  transition: transform 1.1s cubic-bezier(.2,.7,.2,1);
}
.p-lead-seq__hi {
  font-style: normal;
  font-weight: 700;
  color: var(--v5-ink);
}

/* 出現アニメーション: .is-visible 付与で連番表示 */
.p-lead__card--v2.is-visible .p-lead-seq__line { opacity: 1; transform: translateY(0); }
.p-lead__card--v2.is-visible .p-lead-seq__accent::after { transform: scaleX(1); transition-delay: 1.8s; }
.p-lead__card--v2 .p-lead-seq__line:nth-child(1)  { transition-delay: 0.10s; }
.p-lead__card--v2 .p-lead-seq__line:nth-child(2)  { transition-delay: 0.35s; }
.p-lead__card--v2 .p-lead-seq__line:nth-child(3)  { transition-delay: 0.60s; }
.p-lead__card--v2 .p-lead-seq__line:nth-child(4)  { transition-delay: 0.85s; }
.p-lead__card--v2 .p-lead-seq__line:nth-child(5)  { transition-delay: 1.10s; }
.p-lead__card--v2 .p-lead-seq__line:nth-child(6)  { transition-delay: 1.35s; }
.p-lead__card--v2 .p-lead-seq__line:nth-child(7)  { transition-delay: 1.60s; }
.p-lead__card--v2 .p-lead-seq__line:nth-child(8)  { transition-delay: 1.85s; }
.p-lead__card--v2 .p-lead-seq__line:nth-child(9)  { transition-delay: 2.10s; }
.p-lead__card--v2 .p-lead-seq__line:nth-child(10) { transition-delay: 2.35s; }

/* ============================================================
   Create — p-create（WHY / CREATE）
   ============================================================ */
.p-create.l-section-bg { padding-bottom: 0; }
.p-create__inner {
  max-width: 1100px;
  margin: 0 auto;
  text-align: center;
}
.p-create__label {
  font-family: var(--font-en);
  font-size: 13px;
  letter-spacing: 0.2em;
  color: var(--v5-brand);
  font-weight: 700;
  text-transform: uppercase;
  margin-bottom: 16px;
}
.p-create__heading {
  font-size: clamp(28px, 3.4vw, 44px);
  font-weight: 700;
  letter-spacing: 0.04em;
  margin-bottom: 28px;
  color: var(--v5-ink);
}
.p-create__lead {
  font-size: clamp(15px, 1.2vw, 18px);
  line-height: 2;
  color: var(--v5-ink-sub);
  margin: 0 auto 48px;
  max-width: 760px;
}
.p-create__lead strong { color: var(--v5-brand); font-weight: 700; }
.p-create__note {
  font-size: 12px;
  color: var(--v5-ink-sub);
  opacity: 0.7;
  margin: -16px auto 48px;
  max-width: 760px;
  text-align: center;
}
.p-create__movie {
  position: relative;
  max-width: 1020px;
  margin: 0 auto 36px;
}
.p-create__movie-frame {
  position: relative;
  aspect-ratio: 16 / 9;
  background: #0a0e1a;
  border-radius: 6px;
  overflow: hidden;
  box-shadow: 0 24px 60px rgba(14, 31, 58, 0.18);
}
.p-create__video {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  display: block;
  object-fit: contain;
  cursor: pointer;
}
.p-create__controls {
  position: absolute;
  bottom: 0;
  left: 0;
  right: 0;
  display: flex;
  align-items: center;
  gap: 8px;
  padding: 36px 12px 12px;
  background: linear-gradient(transparent, rgba(0, 0, 0, 0.65));
  opacity: 0;
  transition: opacity 0.2s;
}
.p-create__movie-frame.is-paused .p-create__controls,
.p-create__movie-frame.is-controls-visible .p-create__controls {
  opacity: 1;
}
.p-create__ctrl-play,
.p-create__ctrl-mute {
  flex-shrink: 0;
  width: 36px;
  height: 36px;
  background: none;
  border: none;
  color: #fff;
  cursor: pointer;
  padding: 6px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: background 0.15s;
}
.p-create__ctrl-play:hover,
.p-create__ctrl-mute:hover { background: rgba(255, 255, 255, 0.18); }
.p-create__ctrl-play svg,
.p-create__ctrl-mute svg { width: 20px; height: 20px; display: block; }
.p-create__icon-pause { display: none; }
.p-create__movie-frame.is-playing .p-create__icon-play  { display: none; }
.p-create__movie-frame.is-playing .p-create__icon-pause { display: block; }
.p-create__icon-unmuted { display: none; }
.p-create__ctrl-mute.is-unmuted .p-create__icon-muted   { display: none; }
.p-create__ctrl-mute.is-unmuted .p-create__icon-unmuted { display: block; }
.p-create__ctrl-seek {
  flex: 1;
  height: 4px;
  -webkit-appearance: none;
  appearance: none;
  background: rgba(255, 255, 255, 0.3);
  border-radius: 2px;
  outline: none;
  cursor: pointer;
  transition: height 0.12s;
}
.p-create__ctrl-seek:hover { height: 6px; }
.p-create__ctrl-seek::-webkit-slider-thumb {
  -webkit-appearance: none;
  width: 14px;
  height: 14px;
  border-radius: 50%;
  background: #fff;
  cursor: pointer;
  box-shadow: 0 1px 3px rgba(0, 0, 0, 0.5);
}
.p-create__ctrl-seek::-moz-range-thumb {
  width: 14px;
  height: 14px;
  border-radius: 50%;
  background: #fff;
  cursor: pointer;
  border: none;
  box-shadow: 0 1px 3px rgba(0, 0, 0, 0.5);
}
.p-create__ctrl-time {
  flex-shrink: 0;
  color: rgba(255, 255, 255, 0.85);
  font-size: 12px;
  font-family: var(--font-en);
  letter-spacing: 0.03em;
  white-space: nowrap;
  min-width: 80px;
  text-align: right;
}
@media (max-width: 768.98px) {
  .p-create__ctrl-time { display: none; }
}
.p-create__close {
  font-size: clamp(16px, 1.6vw, 22px);
  letter-spacing: 0.08em;
  color: var(--v5-brand);
  font-weight: 500;
}
.p-create-br-sp { display: none; }
@media (max-width: 768.98px) {
  .p-create__inner { text-align: left; }
  .p-create__heading { text-align: center; }
  .p-create__lead { line-height: 1.7; }
  .p-create__lead br:not(.p-create-br-sp) { display: none; }
  .p-create-br-sp { display: inline; }
  .p-create__close { text-align: center; }
}

/* ============================================================
   President's Message — p-message
   ============================================================ */
.p-message__header {
  margin-bottom: 40px;
  border-bottom: 1px solid rgba(200, 169, 110, 0.3);
  padding-bottom: 28px;
}
.p-message__label {
  font-family: var(--font-en);
  font-size: 12px;
  letter-spacing: 0.25em;
  color: var(--v5-brand);
  font-weight: 700;
  margin-bottom: 10px;
}
.p-message__heading {
  font-family: var(--font-sans);
  font-size: clamp(22px, 2.6vw, 34px);
  font-weight: 700;
  line-height: 1.5;
  color: var(--v5-ink);
}
@media (max-width: 768.98px) {
  .p-message__heading { text-align: center; }
}

/* 2名縦並びレイアウト */
.p-message__people {
  display: flex;
  flex-direction: column;
  gap: 56px;
}
.p-message__person {
  display: flex;
  gap: 48px;
  align-items: flex-start;
}
.p-message__person:nth-child(2) { flex-direction: row-reverse; }
@media (max-width: 768.98px) {
  .p-message__person,
  .p-message__person:nth-child(2) {
    flex-direction: column;
    gap: 20px;
    align-items: flex-start;
  }
  .p-message__people { gap: 40px; }
}

.p-message__photo-wrap { flex-shrink: 0; }
.p-message__photo {
  display: block;
  width: 200px;
  height: 260px;
  object-fit: cover;
  border-radius: 8px;
}
@media (max-width: 768.98px) {
  .p-message__photo-wrap { text-align: center; align-self: center; }
  .p-message__photo { width: 150px; height: 195px; margin: 0 auto; }
  .p-message__text-wrap { display: flex; flex-direction: column; width: 100%; }
  .p-message__sign { order: -1; margin-bottom: 20px; text-align: center; }
  .p-message__text { margin-bottom: 0; }
}

.p-message__role {
  font-family: var(--font-en);
  font-size: 13px;
  letter-spacing: 0.18em;
  color: var(--v5-brand);
  font-weight: 700;
  margin-bottom: 16px;
}
.p-message__text {
  font-size: clamp(15px, 1.1vw, 17px);
  line-height: 2;
  color: var(--v5-ink-sub);
  margin-bottom: 32px;
}
@media (max-width: 768.98px) {
  .p-message__text { line-height: 1.65; }
}
.p-message__sign {
  font-family: var(--font-sans);
  font-size: 14px;
  color: var(--v5-ink);
  font-weight: 500;
  letter-spacing: 0.02em;
}
.p-message__name {
  display: block;
  font-size: 18px;
  margin-top: 4px;
}

/* ============================================================
   Digest — p-digest
   ============================================================ */
.p-digest__header {
  text-align: center;
  margin-bottom: 56px;
}
.p-digest__label {
  font-family: var(--font-en);
  font-size: 12px;
  letter-spacing: 0.25em;
  color: var(--v5-brand);
  font-weight: 700;
  margin-bottom: 12px;
}
.p-digest__heading {
  font-family: var(--font-sans);
  font-size: clamp(26px, 3.2vw, 40px);
  font-weight: 700;
  color: var(--v5-ink);
  margin-bottom: 12px;
}
.p-digest__sub {
  font-size: 14px;
  color: var(--v5-ink-mute);
}

/* アコーディオンリスト */
.p-digest__list {
  display: flex;
  flex-direction: column;
  gap: 4px;
}
.p-digest__item {
  border-radius: 10px;
  overflow: hidden;
  transition: margin-bottom 0.42s cubic-bezier(0.4, 0, 0.2, 1);
}
.p-digest__item.is-open { margin-bottom: 20px; }

/* バー */
.p-digest__bar {
  width: 100%;
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 22px 28px;
  background: #ffffff;
  border: 1.5px solid rgba(0, 85, 187, 0.45);
  border-radius: 10px;
  color: var(--v5-ink);
  font-family: var(--font-en);
  font-size: 18px;
  font-weight: 700;
  letter-spacing: 0.05em;
  transition: background-color 0.25s ease, border-color 0.25s ease, color 0.25s ease;
}
@media (max-width: 768.98px) {
  .p-digest__bar { padding: 8px var(--sp-safe); font-size: 16px; }
}
.p-digest__bar:hover {
  border-color: var(--v5-brand);
}
.p-digest__bar:hover .p-digest__decade,
.p-digest__bar:hover .p-digest__toggle-icon {
  color: var(--v5-brand);
}
.p-digest__item.is-open .p-digest__bar {
  background: var(--v5-brand);
  border-color: var(--v5-brand);
  border-radius: 10px 10px 0 0;
  color: #ffffff;
}
.p-digest__item.is-open .p-digest__decade,
.p-digest__item.is-open .p-digest__toggle-icon {
  color: #ffffff;
}

.p-digest__decade {
  color: var(--v5-ink);
  display: flex;
  align-items: center;
  gap: 0;
  font-size: 32px;
}
.p-digest__decade-sub {
  font-family: var(--font-sans);
  font-size: 17px;
  font-weight: 300;
  letter-spacing: 0.09em;
  color: var(--v5-ink-sub);
  padding-left: 22px;
  margin-left: 22px;
  position: relative;
}
.p-digest__decade-sub::before {
  content: '';
  position: absolute;
  left: 0;
  top: 50%;
  transform: translateY(-50%);
  width: 1px;
  height: 1.1em;
  background: currentColor;
  opacity: 0.3;
}
.p-digest__item.is-open .p-digest__decade-sub {
  color: rgba(255, 255, 255, 0.78);
}
.p-digest__item.is-open .p-digest__decade-sub::before {
  opacity: 0.4;
}

@media (max-width: 768.98px) {
  .p-digest__decade {
    flex-direction: column;
    align-items: flex-start;
    gap: 5px;
    font-size: 23px;
  }
  .p-digest__decade-sub {
    font-size: 11.2px;
    padding-left: 0;
    margin-left: 0;
    letter-spacing: 0.05em;
    text-align: left;
  }
  .p-digest__decade-sub::before {
    display: none;
  }
}

/* +/- アイコン */
.p-digest__toggle-icon {
  position: relative;
  width: 22px;
  height: 22px;
  flex-shrink: 0;
  border: 2px solid currentColor;
  border-radius: 50%;
  color: var(--v5-ink-sub);
}
.p-digest__toggle-icon::before,
.p-digest__toggle-icon::after {
  content: "";
  position: absolute;
  top: 50%;
  left: 50%;
  background: currentColor;
}
.p-digest__toggle-icon::before {
  width: 10px;
  height: 2px;
  transform: translate(-50%, -50%);
}
.p-digest__toggle-icon::after {
  width: 2px;
  height: 10px;
  transform: translate(-50%, -50%);
  transition: transform 0.25s;
}
.p-digest__item.is-open .p-digest__toggle-icon::after {
  transform: translate(-50%, -50%) rotate(90deg);
}

/* パネル */
.p-digest__panel {
  background-color: #ffffff;
  border: 1.5px solid transparent;
  border-top: none;
  border-radius: 0 0 10px 10px;
  overflow: hidden;
  transition: height 0.42s cubic-bezier(0.4, 0, 0.2, 1), border-color 0.25s ease;
}
.p-digest__item.is-open .p-digest__panel {
  border-color: var(--v5-brand);
}

/* グリッド */
.p-digest__grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(160px, 1fr));
  gap: 40px;
  padding: 36px 28px;
}
@media (max-width: 768.98px) {
  .p-digest__grid {
    grid-template-columns: repeat(2, 1fr);
    gap: 14px;
    padding: 24px var(--sp-safe);
  }
}

.p-digest__topic-card {
  display: flex;
  flex-direction: column;
  gap: 8px;
}
.p-digest__topic-img-wrap {
  position: relative;
  width: 100%;
  aspect-ratio: 4 / 3;
  border-radius: 6px;
  overflow: hidden;
  isolation: isolate;
  background: #ffffff;
  transition: box-shadow 0.4s ease, transform 0.4s ease;
  cursor: zoom-in;
}
.p-digest__topic-img-wrap img {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: cover;
  cursor: pointer;
  transition: transform 0.7s cubic-bezier(.2,.7,.2,1), filter 0.4s ease;
}
/* ホバー: ブルーオーバーレイ */
.p-digest__topic-img-wrap::before {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(135deg, rgba(0, 63, 138, 0) 0%, rgba(0, 63, 138, 0) 100%);
  opacity: 0;
  transition: opacity 0.4s ease, background 0.4s ease;
  z-index: 1;
  pointer-events: none;
}
/* "VIEW" ラベル */
.p-digest__topic-img-wrap::after {
  content: "VIEW";
  position: absolute;
  right: 14px;
  bottom: 14px;
  z-index: 2;
  font-family: var(--font-en);
  font-size: 10px;
  font-weight: 700;
  letter-spacing: 0.25em;
  color: #fff;
  background: rgba(0, 63, 138, 0.92);
  padding: 7px 12px 7px 14px;
  border-radius: 999px;
  opacity: 0;
  transform: translate(6px, 6px) scale(0.96);
  transition: opacity 0.35s cubic-bezier(.2,.7,.2,1), transform 0.35s cubic-bezier(.2,.7,.2,1);
  pointer-events: none;
  backdrop-filter: blur(4px);
  box-shadow: 0 4px 12px rgba(0, 63, 138, 0.25);
}
.p-digest__topic-img-wrap:hover {
  box-shadow: 0 10px 28px rgba(0, 63, 138, 0.18);
  transform: translateY(-3px);
}
.p-digest__topic-img-wrap:hover::before {
  opacity: 1;
  background: linear-gradient(135deg, rgba(0, 63, 138, 0.22) 0%, rgba(0, 63, 138, 0.02) 100%);
}
.p-digest__topic-img-wrap:hover::after {
  opacity: 1;
  transform: translate(0, 0) scale(1);
}
.p-digest__topic-img-wrap:hover img { transform: scale(1.06); }

.p-digest__topic-year {
  font-family: var(--font-en);
  font-size: 12px;
  color: var(--color-accent);
  font-weight: 700;
  letter-spacing: 0.1em;
}
.p-digest__topic-title {
  font-size: 13px;
  color: var(--v5-ink);
  line-height: 1.5;
}
@media (max-width: 768.98px) {
  .p-digest__topic-title { font-size: 12px; }
}

/* ============================================================
   Digest Nav — 「ひとつ前の時代へ」
   ============================================================ */
.p-digest__nav {
  display: flex;
  justify-content: flex-end;
  padding: 20px 28px 28px;
}
.p-digest__nav-btn {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-family: var(--font-sans);
  font-size: 14px;
  font-weight: 500;
  color: var(--v5-brand);
  letter-spacing: 0.05em;
  padding: 10px 22px;
  border: 1.5px solid rgba(0, 85, 187, 0.3);
  border-radius: 999px;
  background: transparent;
  transition: background 0.2s, border-color 0.2s, color 0.2s;
}
.p-digest__nav-btn:hover {
  background: var(--v5-brand);
  border-color: var(--v5-brand);
  color: #ffffff;
}
@media (max-width: 768.98px) {
  .p-digest__nav {
    padding: 16px var(--sp-safe) 20px;
    justify-content: center;
  }
  .p-digest__nav-btn { font-size: 13px; }
}

/* ============================================================
   Campaign — p-campaign
   ============================================================ */
.p-campaign__card {
  text-align: center;
  border-color: var(--v5-line);
}
.p-campaign__label {
  font-family: var(--font-en);
  font-size: 12px;
  letter-spacing: 0.25em;
  color: var(--v5-brand);
  font-weight: 700;
  margin-bottom: 16px;
  text-transform: uppercase;
}
.p-campaign__heading {
  font-family: var(--font-sans);
  font-size: 28px;
  font-weight: 700;
  color: var(--v5-ink);
  margin-bottom: 24px;
}
@media (max-width: 768.98px) {
  .p-campaign__heading { font-size: 22px; text-align: left; }
}
.p-campaign__body {
  font-size: clamp(15px, 1.1vw, 17px);
  color: var(--v5-ink-sub);
  line-height: 2;
}
@media (max-width: 768.98px) {
  .p-campaign__body { text-align: left; line-height: 1.7; }
}
.p-campaign__btn {
  display: inline-block;
  margin-top: 32px;
  padding: 16px 48px;
  background: var(--color-accent);
  color: var(--color-bg-dark);
  font-family: var(--font-sans);
  font-size: 15px;
  font-weight: 700;
  border-radius: 40px;
  transition: opacity 0.2s;
}
.p-campaign__btn:hover { opacity: 0.85; }

/* ============================================================
   Numbers — p-numbers
   ============================================================ */
.p-numbers__header { text-align: center; margin-bottom: 56px; }
.p-numbers__label {
  font-family: var(--font-en);
  font-size: 12px;
  letter-spacing: 0.25em;
  color: var(--v5-brand);
  font-weight: 700;
  margin-bottom: 12px;
}
.p-numbers__heading {
  font-family: var(--font-sans);
  font-size: 32px;
  font-weight: 700;
  color: var(--v5-ink);
}
@media (max-width: 768.98px) { .p-numbers__heading { font-size: 26px; } }
.p-numbers__list {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 2px;
}
@media (max-width: 768.98px) { .p-numbers__list { grid-template-columns: repeat(2, 1fr); } }
.p-numbers__item {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 12px;
  padding: 48px 24px;
  background: rgba(255, 255, 255, 0.04);
  border: 1px solid rgba(255, 255, 255, 0.07);
  text-align: center;
  transition: background 0.2s;
}
.p-numbers__item:hover { background: rgba(200, 169, 110, 0.07); }
@media (max-width: 768.98px) { .p-numbers__item { padding: 36px 16px; } }
.p-numbers__num {
  font-family: var(--font-en);
  font-size: 52px;
  font-weight: 700;
  color: var(--color-accent);
  line-height: 1;
  letter-spacing: -0.02em;
}
@media (max-width: 768.98px) { .p-numbers__num { font-size: 38px; } }
.p-numbers__unit { font-size: 18px; font-weight: 400; margin-left: 4px; }
@media (max-width: 768.98px) { .p-numbers__unit { font-size: 14px; } }
.p-numbers__desc { font-size: 13px; color: rgba(255, 255, 255, 0.55); letter-spacing: 0.05em; }

/* ============================================================
   Brands — p-brands
   ============================================================ */
.p-brands__header { text-align: center; margin-bottom: 56px; }
.p-brands__label {
  font-family: var(--font-en);
  font-size: 12px;
  letter-spacing: 0.25em;
  color: var(--v5-brand);
  font-weight: 700;
  margin-bottom: 12px;
}
.p-brands__heading {
  font-family: var(--font-sans);
  font-size: clamp(26px, 3.2vw, 40px);
  font-weight: 700;
  color: var(--v5-ink);
}
.p-brands__note {
  font-size: 13px;
  color: var(--v5-ink-mute);
  margin-top: 12px;
  letter-spacing: 0.03em;
}

.p-brands__list {
  display: grid;
  grid-template-columns: repeat(5, 1fr);
  gap: 16px;
}
@media (max-width: 960px) {
  .p-brands__list { grid-template-columns: repeat(4, 1fr); }
  .p-brands__item:nth-child(9)  { grid-column: 2; }
  .p-brands__item:nth-child(10) { grid-column: 3; }
}
@media (max-width: 768.98px) {
  .p-brands__list { grid-template-columns: repeat(2, 1fr); gap: 12px; }
  .p-brands__item:nth-child(9),
  .p-brands__item:nth-child(10) { grid-column: auto; }
  .p-brands__divider { display: none; }
}

/* 入場アニメーション */
.p-brands__item {
  opacity: 0;
  transform: translateY(32px);
  transition: opacity 0.55s ease, transform 0.55s ease;
}
.p-brands__item.is-visible { opacity: 1; transform: translateY(0); }

.p-brands__link {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 12px;
  padding: 28px 16px 22px;
  background: #ffffff;
  border-radius: 12px;
  border: 1.5px solid rgba(0, 0, 0, 0.13);
  text-align: center;
  transition: box-shadow 0.3s, transform 0.3s, border-color 0.3s;
  position: relative;
  overflow: hidden;
}
.p-brands__link::before {
  content: "";
  position: absolute;
  inset: 0;
  background: radial-gradient(ellipse at 50% 100%, rgba(200, 169, 110, 0.12) 0%, transparent 70%);
  opacity: 0;
  transition: opacity 0.4s;
}
.p-brands__link:hover::before { opacity: 1; }
.p-brands__link:hover {
  box-shadow: 0 10px 32px rgba(0, 0, 0, 0.13);
  transform: translateY(-4px);
  border-color: rgba(200, 169, 110, 0.35);
}

.p-brands__logo-wrap {
  width: 100%;
  height: 48px;
  display: flex;
  align-items: center;
  justify-content: center;
}
.p-brands__logo-wrap img {
  max-width: 100%;
  max-height: 48px;
  width: auto;
  object-fit: contain;
  transition: transform 0.3s, filter 0.3s;
  filter: grayscale(20%);
}
.p-brands__link:hover .p-brands__logo-wrap img {
  transform: scale(1.07);
  filter: grayscale(0%);
}

.p-brands__divider {
  width: 24px;
  height: 1px;
  background: var(--v5-line);
  transition: background 0.3s, width 0.3s;
}
.p-brands__link:hover .p-brands__divider {
  width: 40px;
  background: var(--color-accent);
}

.p-brands__since {
  display: flex;
  flex-direction: column-reverse;
  align-items: center;
  gap: 3px;
  width: calc(100% + 32px);
  margin-left: -16px;
  margin-right: -16px;
  margin-bottom: -22px;
  padding: 14px 16px 22px;
  background: #eef2f9;
}
.p-brands__since-year {
  font-family: var(--font-en);
  font-size: 30px;
  font-weight: 700;
  color: var(--v5-brand);
  letter-spacing: -0.02em;
  line-height: 1;
  transition: color 0.3s;
}
.p-brands__link:hover .p-brands__since-year { color: var(--color-accent); }
@media (max-width: 768.98px) { .p-brands__since-year { font-size: 24px; } }
.p-brands__since-label {
  font-family: var(--font-en);
  font-size: 9px;
  letter-spacing: 0.22em;
  color: var(--v5-ink-mute);
  text-transform: uppercase;
}

/* ============================================================
   Future — p-future
   ============================================================ */
.p-future__inner {
  text-align: center;
  padding: 16px 0;
}
@media (max-width: 768.98px) {
  .p-future__inner { text-align: left; }
  .p-future__line  { display: none; }
}
.p-future__label {
  font-family: var(--font-en);
  font-size: 12px;
  letter-spacing: 0.25em;
  color: #7aa6ff;
  font-weight: 700;
  margin-bottom: 20px;
  text-transform: uppercase;
}
.p-future__line {
  width: 40px;
  height: 1px;
  background: #7aa6ff;
  opacity: 0.7;
  margin: 0 auto 28px;
}
.p-future__heading {
  font-family: var(--font-sans);
  font-size: clamp(28px, 4vw, 52px);
  font-weight: 700;
  color: #ffffff;
  line-height: 1.4;
  letter-spacing: 0.08em;
  margin-bottom: 28px;
}
.p-future__body {
  font-size: clamp(15px, 1.1vw, 17px);
  color: rgba(255, 255, 255, 0.82);
  line-height: 2;
  max-width: 560px;
  margin: 0 auto 28px;
}
@media (max-width: 768.98px) {
  .p-future__body { line-height: 1.7; margin-left: 0; }
}
.p-future__memo {
  max-width: 560px;
  margin: 0 auto;
  padding: 12px 16px;
  border: 1px dashed rgba(255, 255, 255, 0.12);
  border-radius: 6px;
  font-size: 13px;
  color: rgba(255, 255, 255, 0.55);
  background: rgba(255, 255, 255, 0.06);
  text-align: left;
  line-height: 1.7;
}

/* ============================================================
   Archive Link — p-archive-link
   ============================================================ */
.p-archive-link__inner {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 20px;
  text-align: center;
  padding: 8px 0;
}
.p-archive-link__text {
  font-size: 15px;
  color: rgba(255, 255, 255, 0.7);
}
@media (max-width: 768.98px) { .p-archive-link__text { font-size: 14px; } }
.p-archive-link__btn {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 14px 32px;
  border: 1px solid rgba(200, 169, 110, 0.6);
  border-radius: 40px;
  color: var(--color-accent);
  font-size: 14px;
  font-family: var(--font-en);
  letter-spacing: 0.05em;
  transition: background 0.2s, color 0.2s;
}
.p-archive-link__btn:hover {
  background: var(--color-accent);
  color: var(--color-bg-dark);
  border-color: var(--color-accent);
}

/* ============================================================
   Footer — l-footer
   ============================================================ */
.l-footer {
  background-color: #0e1f3a;
  border-top: 1px solid rgba(255, 255, 255, 0.08);
  color: #ffffff;
  padding: 40px 0 32px;
}
.l-footer__inner {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 20px;
  text-align: center;
}
.l-footer__logo img {
  filter: brightness(0) invert(1);
  opacity: 1;
}

.l-footer__nav-list {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 8px 24px;
}
.l-footer__nav-list a {
  font-size: 12px;
  color: rgba(255, 255, 255, 0.78);
  text-decoration: underline;
  text-underline-offset: 3px;
  transition: color 0.2s;
}
.l-footer__nav-list a:hover { color: #ffffff; }

.l-footer__copy {
  font-size: 11px;
  color: rgba(255, 255, 255, 0.5);
  letter-spacing: 0.05em;
}

/* ページトップ */
.l-pagetop {
  position: fixed;
  right: 24px;
  bottom: 24px;
  z-index: 200;
  display: flex;
  align-items: center;
  justify-content: center;
  width: 48px;
  height: 48px;
  background-color: var(--v5-brand);
  border-radius: 50%;
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.3);
  opacity: 0;
  pointer-events: none;
  transition: background-color 0.2s, transform 0.2s, opacity 0.4s;
}
.l-pagetop.is-visible { opacity: 1; pointer-events: auto; }
.l-pagetop:hover { background-color: var(--v5-brand-deep); transform: translateY(-3px); }
.l-pagetop::before {
  content: "";
  display: block;
  width: 12px;
  height: 12px;
  border-top: 2.5px solid #fff;
  border-right: 2.5px solid #fff;
  transform: translateY(3px) rotate(-45deg);
}

/* ============================================================
   Lightbox — p-lightbox
   ============================================================ */
.p-lightbox {
  display: none;
  position: fixed;
  inset: 0;
  z-index: 600;
  align-items: center;
  justify-content: center;
}
.p-lightbox.is-open { display: flex; }

.p-lightbox__overlay {
  position: absolute;
  inset: 0;
  background: rgba(0, 0, 0, 0.88);
  animation: lbFadeIn 0.25s ease;
}
@keyframes lbFadeIn {
  from { opacity: 0; }
  to   { opacity: 1; }
}

.p-lightbox__figure {
  position: relative;
  z-index: 1;
  display: flex;
  flex-direction: column;
  gap: 24px;
  padding: 48px 40px;
  max-width: min(92vw, 1000px);
  max-height: 90vh;
  overflow-y: auto;
  animation: lbScaleIn 0.25s ease;
}
@keyframes lbScaleIn {
  from { opacity: 0; transform: scale(0.92); }
  to   { opacity: 1; transform: scale(1); }
}
@media (max-width: 768.98px) {
  .p-lightbox__figure {
    gap: 16px;
    padding: 28px 20px;
  }
}

.p-lightbox__header {
  padding-bottom: 20px;
  border-bottom: 1px solid rgba(255, 255, 255, 0.15);
  display: flex;
  flex-direction: column;
  gap: 10px;
}

.p-lightbox__body {
  display: flex;
  flex-direction: row;
  align-items: flex-start;
  gap: 32px;
}
@media (max-width: 768.98px) {
  .p-lightbox__body {
    flex-direction: column;
    align-items: center;
  }
}

.p-lightbox__img-frame {
  flex-shrink: 0;
  width: 460px;
  border-radius: 6px;
  background: #ffffff;
  padding: 10px;
  box-shadow: 0 20px 60px rgba(0, 0, 0, 0.55);
}
.p-lightbox__img {
  display: block;
  width: 100%;
  height: auto;
  object-fit: contain;
  border-radius: 4px;
}
@media (max-width: 768.98px) {
  .p-lightbox__img-frame {
    width: 100%;
    max-width: 360px;
    padding: 8px;
  }
}

.p-lightbox__caption {
  flex: 1;
  display: flex;
  flex-direction: column;
  gap: 12px;
  min-width: 0;
}
.p-lightbox__caption-title {
  font-family: var(--font-en);
  font-size: 18px;
  letter-spacing: 0.12em;
  color: #9fbdff;
  margin-bottom: 6px;
}
@media (max-width: 768.98px) { .p-lightbox__caption-title { font-size: 15px; } }
.p-lightbox__caption-tagline {
  font-family: var(--font-sans);
  font-size: 26px;
  font-weight: 700;
  color: #ffffff;
  line-height: 1.5;
  white-space: pre-line;
}
@media (max-width: 768.98px) { .p-lightbox__caption-tagline { font-size: 19px; } }
.p-lightbox__caption-desc {
  font-size: 16px;
  color: rgba(255, 255, 255, 0.85);
  line-height: 2;
  white-space: pre-line;
}
@media (max-width: 768.98px) { .p-lightbox__caption-desc { font-size: 14px; line-height: 1.7; } }

.p-lightbox__close {
  position: absolute;
  top: 20px;
  right: 24px;
  z-index: 2;
  width: 44px;
  height: 44px;
  display: flex;
  align-items: center;
  justify-content: center;
  border: 1px solid rgba(255, 255, 255, 0.3);
  border-radius: 50%;
  color: #fff;
  transition: background 0.2s, border-color 0.2s;
}
.p-lightbox__close:hover {
  background: rgba(255, 255, 255, 0.1);
  border-color: rgba(255, 255, 255, 0.6);
}
.p-lightbox__close::before,
.p-lightbox__close::after {
  content: "";
  position: absolute;
  width: 16px;
  height: 1.5px;
  background: currentColor;
}
.p-lightbox__close::before { transform: rotate(45deg); }
.p-lightbox__close::after  { transform: rotate(-45deg); }

/* ============================================================
   Hero: ギャラリーモード（data-bg-mode="gallery"）
   ============================================================ */
.p-hero[data-bg-mode="gallery"] {
  background: linear-gradient(175deg, #e7eef9 0%, #f4f6fb 55%, #ecf1f9 100%);
}
.p-hero[data-bg-mode="gallery"] .p-hero__overlay {
  background: radial-gradient(ellipse 50% 45% at 50% 50%, rgba(244, 246, 251, 0.95) 0%, rgba(244, 246, 251, 0) 75%);
  pointer-events: none;
}
.p-hero[data-bg-mode="gallery"] .p-hero__since   { color: var(--v5-brand); text-shadow: none; }
.p-hero[data-bg-mode="gallery"] .p-hero__content { color: var(--v5-ink); position: relative; z-index: 3; }
.p-hero[data-bg-mode="gallery"] .p-hero__content::before {
  content: '';
  position: absolute;
  inset: -30% -24%;
  background: radial-gradient(ellipse 50% 55% at 50% 50%, rgba(244, 246, 251, 0.88) 38%, rgba(244, 246, 251, 0.12) 62%, rgba(244, 246, 251, 0) 75%);
  pointer-events: none;
  z-index: -1;
}
.p-hero[data-bg-mode="gallery"] .p-hero__catch   { color: var(--v5-ink); text-shadow: none; }
.p-hero[data-bg-mode="gallery"] .p-hero__logo    { filter: none; }

/* 幾何学背景レイヤー */
.p-hero__geo {
  position: absolute;
  inset: 0;
  z-index: 0;
  pointer-events: none;
}
.p-hero__geo-svg { width: 100%; height: 100%; display: block; }
.p-hero__geo-shape { transform-origin: center; transform-box: fill-box; }
.p-hero__geo-shape--c1  { animation: geoDrift 22s ease-in-out infinite; }
.p-hero__geo-shape--c2  { animation: geoSpin 60s linear infinite, geoDrift 18s ease-in-out -3s infinite; }
.p-hero__geo-shape--c3  { animation: geoPulse 7s ease-in-out infinite; }
.p-hero__geo-shape--c4  { animation: geoDrift 26s ease-in-out -5s infinite; }
.p-hero__geo-shape--c5  { animation: geoPulse 9s ease-in-out -2s infinite; }
.p-hero__geo-shape--c6  { animation: geoDrift 30s ease-in-out -8s infinite; }
.p-hero__geo-shape--c7  { animation: geoSpin 90s linear infinite, geoDrift 20s ease-in-out -4s infinite; }
.p-hero__geo-shape--c8  { animation: geoPulse 5s ease-in-out -1s infinite; }
.p-hero__geo-shape--c9  { animation: geoDrift 24s ease-in-out -9s infinite; }
.p-hero__geo-shape--c10 { animation: geoSpin 80s linear -12s infinite, geoDrift 28s ease-in-out -3s infinite; }
.p-hero__geo-shape--c11 { animation: geoPulse 11s ease-in-out -4s infinite; }
.p-hero__geo-shape--c12 { animation: geoDrift 16s ease-in-out -2s infinite; }
.p-hero__geo-shape--c13 { animation: geoPulse 13s ease-in-out -6s infinite; }
.p-hero__geo-shape--c14 { animation: geoDrift 19s ease-in-out -7s infinite; }
.p-hero__geo-shape--c15 { animation: geoPulse 6s ease-in-out -3s infinite; }
.p-hero__geo-shape--l1  { animation: geoDash 18s linear infinite; }
@keyframes geoDrift {
  0%, 100% { transform: translate(0, 0); }
  25%      { transform: translate(18px, -12px); }
  50%      { transform: translate(-10px, 14px); }
  75%      { transform: translate(14px, 8px); }
}
@keyframes geoSpin  { to { transform: rotate(360deg); } }
@keyframes geoPulse {
  0%, 100% { opacity: 0.06; transform: scale(1); }
  50%      { opacity: 0.18; transform: scale(1.15); }
}
@keyframes geoDash { to { stroke-dashoffset: -120; } }

/* 製品画像ギャラリーレイヤー */
.p-hero__gallery {
  position: absolute;
  inset: 0;
  z-index: 1;
  pointer-events: none;
}
.p-hero__cell {
  position: absolute;
  border-radius: 50%;
  overflow: hidden;
  background: #e7eef9;
  box-shadow:
    0 18px 40px -18px rgba(20, 40, 90, 0.28),
    0 6px 14px rgba(20, 40, 90, 0.10),
    inset 0 0 0 2px rgba(255, 255, 255, 0.85);
  --float-x: 0px;
  --float-y: -10px;
  --float-r: 0deg;
  will-change: transform;
}
.p-hero__cell-img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center;
  opacity: 0;
  transition: opacity 1.1s ease;
  border-radius: 50%;
}
.p-hero__cell-img.is-on { opacity: 1; }
@keyframes heroCellFloat {
  0%, 100% { transform: translate(0, 0) rotate(0deg); }
  50%      { transform: translate(var(--float-x), var(--float-y)) rotate(var(--float-r)); }
}
.p-hero__content { position: relative; z-index: 3; }
.p-hero__overlay { z-index: 2; }
@media (max-width: 768.98px) {
  .p-hero {
    min-height: 100svh;
    align-items: flex-start;
    overflow: visible;
    padding: clamp(44px, 7vh, 80px) 0 clamp(80px, 14vh, 120px);
  }
  .p-hero[data-bg-mode="gallery"] .p-hero__content::before {
    display: none;
  }
  .p-hero__cell--sm { transform: scale(0.70); }
  .p-hero__cell--md { transform: scale(0.65); }
  .p-hero__cell--lg { transform: scale(0.60); }
  .p-hero__cell--xl { transform: scale(0.55); }
}
