/* product-v5 : 幾何学散らし × 3階層シームレスホバー
   背景は明るい（TOPと同じ）／カードのみダーク／数字はベタ塗りでホバー時にティール */

/* ===== ヒーロー（明るい） ===== */
.v5-hero {
  background:
    radial-gradient(circle at 15% 20%, rgba(0,174,187,.06), transparent 55%),
    radial-gradient(circle at 88% 80%, rgba(200,84,43,.04), transparent 55%),
    #fafbfb;
  color: #1a2326;
  padding: clamp(48px, 7vw, 100px) 0 clamp(40px, 5vw, 60px);
  position: relative;
  overflow: hidden;
}
.v5-hero .container { position: relative; z-index: 1; }
.v5-hero .crumbs,
.v5-hero .crumbs a { color: rgba(26,35,38,.5); }
.v5-hero .crumbs a:hover { color: #00808a; }
.v5-hero .eyebrow {
  color: #00808a;
  letter-spacing: .2em;
  font-size: 11px;
  font-weight: 700;
  font-family: 'Inter', sans-serif;
}
.v5-hero h1 {
  font-family: 'Noto Serif JP', serif;
  color: #1a2326;
  font-size: clamp(32px, 5vw, 56px);
  font-weight: 700;
  margin: 12px 0 18px;
  letter-spacing: .02em;
}
.v5-hero .lead {
  color: rgba(26,35,38,.65);
  font-size: 14px;
  line-height: 1.9;
  max-width: 720px;
}

/* ===== ステージ（明るい背景） ===== */
.v5-stage {
  --accent: #00AEBB;
  position: relative;
  padding: clamp(40px, 5vw, 70px) clamp(20px, 4vw, 60px) clamp(80px, 10vw, 140px);
  background:
    radial-gradient(circle at 10% 20%, rgba(0,174,187,.05), transparent 55%),
    radial-gradient(circle at 90% 80%, rgba(200,84,43,.03), transparent 55%),
    #fafbfb;
  overflow: hidden;
  min-height: 900px;
}

.v5-bg-text {
  position: absolute;
  left: 50%;
  font-family: 'Inter', serif;
  font-weight: 900;
  letter-spacing: -.06em;
  line-height: 0.85;
  pointer-events: none;
  z-index: 0;
  white-space: nowrap;
  color: rgba(0,128,138,.16);
}
.v5-bg-text--terra {
  top: 8%;
  transform: translateX(-50%);
  font-size: clamp(180px, 28vw, 420px);
}
.v5-bg-text--product {
  bottom: 4%;
  transform: translateX(-50%);
  font-size: clamp(160px, 24vw, 380px);
  color: rgba(0,128,138,.10);
}

/* ===== ガイドブロック（明るい背景の上 → ダーク系テキスト） ===== */
.v5-guide {
  position: relative;
  max-width: 760px;
  margin: 0 auto clamp(40px, 6vw, 80px);
  padding: clamp(60px, 8vw, 100px) clamp(20px, 4vw, 40px) clamp(40px, 5vw, 60px);
  text-align: center;
  z-index: 1;
}
.v5-guide-label {
  font-family: 'Inter', sans-serif;
  font-size: 11px;
  font-weight: 700;
  letter-spacing: .3em;
  color: #00808a;
  display: inline-block;
  margin-bottom: 18px;
}
.v5-guide-label::before,
.v5-guide-label::after {
  content: "";
  display: inline-block;
  width: 28px;
  height: 1px;
  background: #00808a;
  vertical-align: middle;
  margin: 0 14px;
  transform: translateY(-2px);
}
.v5-guide-title {
  font-family: 'Noto Serif JP', serif;
  font-weight: 700;
  font-size: clamp(28px, 4vw, 44px);
  color: #1a2326;
  letter-spacing: .04em;
  line-height: 1.4;
  margin: 0 0 18px;
}
.v5-guide-text {
  font-size: clamp(12.5px, 1.2vw, 14px);
  color: rgba(26,35,38,.7);
  line-height: 1.9;
  letter-spacing: .03em;
  margin: 0 0 28px;
}
.v5-guide-arrow {
  display: inline-block;
  font-size: 22px;
  color: #00808a;
  animation: v5GuideBob 1.6s ease-in-out infinite;
}
@keyframes v5GuideBob {
  0%, 100% { transform: translateY(0); opacity: .8; }
  50% { transform: translateY(6px); opacity: 1; }
}

/* ===== 中央：縦リストカード（左右パネルと被らないよう狭め） ===== */
.v5-board {
  position: relative;
  max-width: 760px;
  margin: 0 auto;
  width: 100%;
  display: flex;
  flex-direction: column;
  gap: clamp(16px, 2vw, 24px);
  z-index: 1;
}

.v5-tile {
  --accent: #00AEBB;
  --reveal-i: 0;
  position: relative;
  opacity: 0;
  transform: translateY(18px);
  transition: opacity .35s cubic-bezier(.22,.84,.32,1),
              transform .4s cubic-bezier(.22,.84,.32,1),
              background-color .35s ease,
              border-color .35s ease,
              box-shadow .35s ease,
              padding-left .35s ease;
  transition-delay: calc(var(--reveal-i) * 0.02s);
  display: grid;
  grid-template-columns: clamp(120px, 16vw, 200px) 1fr auto;
  align-items: center;
  gap: clamp(20px, 3vw, 40px);
  padding: clamp(24px, 3vw, 36px) clamp(28px, 3vw, 44px);
  background: linear-gradient(160deg, rgba(26,35,38,.86) 0%, rgba(15,20,23,.90) 100%);
  backdrop-filter: blur(2px);
  -webkit-backdrop-filter: blur(2px);
  border: 1px solid color-mix(in srgb, var(--accent) 35%, transparent);
  border-radius: 4px;
  cursor: pointer;
  color: #fafbfb;
  box-shadow: 0 10px 30px rgba(15,20,23,.15);
}
.v5-tile::before {
  content: "";
  position: absolute;
  left: 0;
  top: 0;
  bottom: 0;
  width: 4px;
  background: var(--accent);
  transform: scaleY(0.4);
  transform-origin: center;
  transition: transform .4s cubic-bezier(.22,.84,.32,1), background-color .35s ease;
}
.v5-tile.is-revealed {
  opacity: 1;
  transform: translateY(0);
}
.v5-tile.is-revealed:hover,
.v5-tile.is-revealed.is-active {
  background: linear-gradient(160deg, rgba(31,41,45,.94) 0%, rgba(19,26,29,.96) 100%);
  border-color: var(--accent);
  transform: translateY(-4px) scale(1.01);
  box-shadow:
    0 24px 60px rgba(15,20,23,.4),
    0 0 0 1px color-mix(in srgb, var(--accent) 70%, transparent);
  padding-left: clamp(32px, 3.5vw, 52px);
}
.v5-tile:hover::before,
.v5-tile.is-active::before {
  transform: scaleY(1);
}
.v5-tile-body {
  min-width: 0;
}
.v5-tile--terra {
  background: linear-gradient(160deg, rgba(42,29,24,.82) 0%, rgba(26,19,16,.86) 100%);
}

.v5-tile--hero { padding-bottom: 60px; }
.v5-tile--mini { padding: 18px 18px 42px; min-height: 110px; }

/* ===== 数字：巨大ベタ塗り（縁取りなし）。ホバーでティール塗り ===== */
.v5-num {
  font-family: 'Inter', serif;
  font-weight: 900;
  font-size: clamp(72px, 10vw, 140px);
  color: color-mix(in srgb, var(--accent) 28%, transparent);
  letter-spacing: -.04em;
  line-height: 0.9;
  display: block;
  transition: color .35s ease, transform .4s cubic-bezier(.22,.84,.32,1);
}
.v5-tile:hover .v5-num,
.v5-tile.is-active .v5-num {
  color: var(--accent);
  transform: translateX(-4px);
}
.v5-tile--mini .v5-num { font-size: clamp(32px, 4vw, 50px); margin-bottom: 10px; }

.v5-tile h3 {
  font-family: 'Noto Serif JP', serif;
  font-weight: 700;
  font-size: clamp(20px, 2.4vw, 28px);
  line-height: 1.35;
  color: #fafbfb;
  margin: 0 0 8px;
  letter-spacing: .02em;
}

.v5-tile p {
  font-size: clamp(12.5px, 1.2vw, 14px);
  color: rgba(255,255,255,.6);
  line-height: 1.65;
  letter-spacing: .03em;
  margin: 0;
}

.v5-tag {
  font-family: 'Inter', sans-serif;
  font-size: 10px;
  font-weight: 700;
  letter-spacing: .15em;
  padding: 4px 10px;
  background: color-mix(in srgb, var(--accent) 20%, transparent);
  color: var(--accent);
  border: 1px solid color-mix(in srgb, var(--accent) 40%, transparent);
  border-radius: 2px;
  white-space: nowrap;
  align-self: center;
}
.v5-tag--orange { color: #c8542b; border-color: rgba(200,84,43,.5); background: rgba(200,84,43,.15); }

/* ===== ×閉じるボタン ===== */
.v5-close {
  position: absolute;
  top: 12px;
  right: 12px;
  width: 32px;
  height: 32px;
  border-radius: 50%;
  background: rgba(0,174,187,.08);
  border: 1px solid rgba(0,174,187,.25);
  color: #00808a;
  font-size: 18px;
  line-height: 1;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: background .25s ease, transform .25s ease;
  z-index: 2;
}
.v5-close:hover {
  background: rgba(0,174,187,.18);
  transform: rotate(90deg);
}

/* ===== 右パネル：商材リスト（明るい色） ===== */
.v5-items-panel {
  position: fixed;
  top: 50%;
  right: clamp(20px, 4vw, 60px);
  transform: translate(120%, -50%) scale(.96);
  width: min(420px, 38vw);
  height: 82vh;
  background: #ffffff;
  border-left: 3px solid var(--accent, #00AEBB);
  border-top: 1px solid rgba(26,35,38,.08);
  border-right: 1px solid rgba(26,35,38,.08);
  border-bottom: 1px solid rgba(26,35,38,.08);
  padding: 36px 32px 28px;
  z-index: 60;
  color: #1a2326;
  overflow-y: auto;
  transition: transform .6s cubic-bezier(.22,.84,.36,1), opacity .4s ease, filter .4s ease;
  opacity: 0;
  pointer-events: none;
  filter: blur(2px);
  box-shadow: -32px 0 60px rgba(15,20,23,.18);
  border-radius: 2px;
  display: flex;
  flex-direction: column;
}
.v5-items-panel.is-open {
  transform: translate(0, -50%) scale(1);
  opacity: 1;
  pointer-events: auto;
  filter: blur(0);
}
.v5-items-panel.is-exiting {
  transform: translate(120%, -50%) scale(.94);
  opacity: 0;
  pointer-events: none;
  filter: blur(3px);
}

.v5-items-num {
  font-family: 'Inter', serif;
  font-weight: 900;
  font-size: 56px;
  color: var(--accent, #00AEBB);
  letter-spacing: -.04em;
  line-height: 1;
  display: block;
  margin-bottom: 10px;
}

.v5-items-title {
  font-family: 'Noto Serif JP', serif;
  font-weight: 700;
  font-size: 24px;
  color: #1a2326;
  margin: 0 0 6px;
  letter-spacing: .02em;
  line-height: 1.3;
}

.v5-items-sub {
  font-size: 12.5px;
  color: rgba(26,35,38,.55);
  line-height: 1.65;
  margin: 0 0 22px;
  padding-bottom: 16px;
  border-bottom: 1px solid rgba(26,35,38,.08);
}

.v5-items-list {
  list-style: none;
  margin: 0;
  padding: 0;
  display: flex;
  flex-direction: column;
  gap: 4px;
}
.v5-items-list li {
  padding: 11px 14px 11px 18px;
  position: relative;
  cursor: pointer;
  border-radius: 2px;
  border-left: 2px solid transparent;
  transition: background .25s ease, border-color .25s ease, padding-left .3s ease;
  opacity: 0;
  transform: translateX(16px);
  animation: v5SlideIn .4s cubic-bezier(.22,.84,.36,1) forwards;
  animation-delay: calc(.1s + var(--i) * .04s);
}
.v5-items-list li:hover,
.v5-items-list li.is-focus {
  background: rgba(0,174,187,.06);
  border-left-color: var(--accent, #00AEBB);
  padding-left: 22px;
}
.v5-items-list li strong {
  display: block;
  font-size: 14px;
  font-weight: 700;
  color: #1a2326;
  line-height: 1.45;
  letter-spacing: .02em;
}
.v5-items-list li small {
  display: block;
  font-size: 11.5px;
  font-weight: 400;
  color: rgba(26,35,38,.55);
  line-height: 1.5;
  margin-top: 2px;
}

.v5-items-hint {
  display: block;
  margin-top: 18px;
  font-family: 'Inter', sans-serif;
  font-size: 10px;
  letter-spacing: .14em;
  color: var(--accent, #00AEBB);
  font-weight: 700;
}

@keyframes v5SlideIn {
  to { opacity: 1; transform: translateX(0); }
}

/* ===== 左パネル：おすすめ情報（明るい色／右と同じ高さ） ===== */
.v5-recommend {
  position: fixed;
  top: 50%;
  left: clamp(20px, 4vw, 60px);
  transform: translate(-120%, -50%) scale(.96);
  width: min(420px, 38vw);
  height: 82vh;
  background: #ffffff;
  border-right: 3px solid var(--accent, #00AEBB);
  border-top: 1px solid rgba(26,35,38,.08);
  border-left: 1px solid rgba(26,35,38,.08);
  border-bottom: 1px solid rgba(26,35,38,.08);
  padding: 36px 28px 28px;
  z-index: 60;
  color: #1a2326;
  overflow-y: auto;
  transition: transform .6s cubic-bezier(.22,.84,.36,1) .08s, opacity .4s ease, filter .4s ease;
  opacity: 0;
  pointer-events: none;
  filter: blur(2px);
  box-shadow: 32px 0 60px rgba(15,20,23,.18);
  border-radius: 2px;
  display: flex;
  flex-direction: column;
}
.v5-recommend.is-open {
  transform: translate(0, -50%) scale(1);
  opacity: 1;
  pointer-events: auto;
  filter: blur(0);
}
.v5-recommend.is-exiting {
  transform: translate(-120%, -50%) scale(.94);
  opacity: 0;
  pointer-events: none;
  filter: blur(3px);
  transition-delay: 0s;
}

.v5-rec-label {
  font-family: 'Inter', 'Noto Sans JP', sans-serif;
  font-size: 10px;
  font-weight: 700;
  letter-spacing: .22em;
  color: var(--accent, #00AEBB);
  text-transform: uppercase;
  display: block;
  margin-bottom: 8px;
}
.v5-rec-label::before {
  content: "FOR ─ ";
  color: rgba(26,35,38,.3);
  margin-right: 4px;
}

.v5-rec-title {
  font-family: 'Noto Serif JP', serif;
  font-weight: 700;
  font-size: 19px;
  color: #1a2326;
  margin: 0 0 22px;
  letter-spacing: .02em;
  line-height: 1.4;
  padding-bottom: 16px;
  border-bottom: 1px solid rgba(26,35,38,.08);
}

.v5-rec-row {
  margin-bottom: 18px;
}
.v5-rec-row:last-child { margin-bottom: 0; }

.v5-rec-key {
  display: inline-block;
  font-family: 'Noto Serif JP', serif;
  font-size: 13px;
  font-weight: 700;
  color: var(--accent, #00AEBB);
  letter-spacing: .08em;
  margin-bottom: 10px;
  padding-bottom: 4px;
  border-bottom: 1.5px solid var(--accent, #00AEBB);
}

.v5-rec-tags {
  list-style: none;
  margin: 0;
  padding: 0;
  display: flex;
  flex-wrap: wrap;
  gap: 5px;
}
.v5-rec-tags li {
  font-size: 11px;
  padding: 3px 9px;
  background: rgba(0,174,187,.08);
  border: 1px solid rgba(0,174,187,.2);
  color: #00808a;
  border-radius: 2px;
  letter-spacing: .04em;
  opacity: 0;
  transform: translateY(4px);
  animation: v5FadeUp .35s cubic-bezier(.22,.84,.36,1) forwards;
  animation-delay: calc(.15s + var(--i) * .03s);
}

.v5-rec-list {
  list-style: none;
  margin: 0;
  padding: 0;
  display: flex;
  flex-direction: column;
  gap: 6px;
}
.v5-rec-list li {
  font-size: 12.5px;
  color: rgba(26,35,38,.85);
  padding-left: 14px;
  position: relative;
  line-height: 1.6;
  letter-spacing: .02em;
  opacity: 0;
  transform: translateX(8px);
  animation: v5FadeRight .4s cubic-bezier(.22,.84,.36,1) forwards;
  animation-delay: calc(.18s + var(--i) * .04s);
}
.v5-rec-list li::before {
  content: "›";
  position: absolute;
  left: 0;
  top: 0;
  color: var(--accent, #00AEBB);
  font-weight: 700;
}
.v5-rec-guide {
  font-size: 13px;
  color: rgba(26,35,38,.78);
  line-height: 1.75;
  letter-spacing: .02em;
  margin: 0 0 14px;
  padding: 14px 16px;
  background: rgba(0,174,187,.05);
  border-left: 2px solid var(--accent, #00AEBB);
  opacity: 0;
  animation: v5FadeUp .4s cubic-bezier(.22,.84,.36,1) .22s forwards;
}
.v5-rec-lead {
  font-size: 12.5px;
  color: rgba(26,35,38,.78);
  line-height: 1.65;
  letter-spacing: .02em;
  margin: 0 0 10px;
  font-style: italic;
  opacity: 0;
  animation: v5FadeUp .4s cubic-bezier(.22,.84,.36,1) .12s forwards;
}

@keyframes v5FadeUp {
  to { opacity: 1; transform: translateY(0); }
}
@keyframes v5FadeRight {
  to { opacity: 1; transform: translateX(0); }
}

/* ===== レスポンシブ ===== */
@media (max-width: 720px) {
  .v5-tile {
    grid-template-columns: 80px 1fr;
    gap: 14px;
    padding: 20px 18px;
  }
  .v5-tag { grid-column: 1 / -1; justify-self: start; }
  .v5-bg-text { font-size: 200px; }
  .v5-bg-logo { width: 80%; opacity: 0.4; }
  .v5-items-panel,
  .v5-recommend {
    position: fixed;
    top: auto;
    bottom: 0;
    left: 0;
    right: 0;
    width: 100%;
    max-width: 100%;
    max-height: 70vh;
    border-radius: 6px 6px 0 0;
    border-left: none;
    border-right: none;
    border-top: 3px solid var(--accent, #00AEBB);
    transform: translateY(100%);
  }
  .v5-items-panel.is-open,
  .v5-recommend.is-open {
    transform: translateY(0);
  }
}
