/*
Theme Name: Riche Idee LP
Theme URI: https://example.local/
Author: Codex
Description: Riche idee landing page theme with editable LP settings.
Version: 1.0.0
Requires at least: 6.0
Tested up to: 6.5
Requires PHP: 8.0
Text Domain: riche-idee
*/

:root {
  --white: #ffffff;
  --paper: #f7fbfb;
  --ink: #172224;
  --muted: #607174;
  --line: #dbe7e7;
  --turquoise: #11bfc3;
  --turquoise-dark: #078a8f;
  --champagne: #c9a86a;
  --champagne-soft: #f2d79b;
  --champagne-deep: #9b7434;
  --graphite: #223034;
  --shadow: 0 24px 80px rgba(10, 44, 50, 0.12);
  --font-serif-en: "Cormorant Garamond", "Georgia", serif;
  --font-serif-ja: "Shippori Mincho B1", "Yu Mincho", "游明朝", serif;
  --font-sans: "Noto Sans JP", "Hiragino Sans", "Yu Gothic", "YuGothic", sans-serif;
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
  overflow-x: hidden;
}

body {
  margin: 0;
  min-width: 320px;
  overflow-x: hidden;
  color: var(--ink);
  background:
    radial-gradient(circle at 10% 12%, rgba(17, 191, 195, 0.1), transparent 26rem),
    radial-gradient(circle at 86% 16%, rgba(201, 168, 106, 0.12), transparent 22rem),
    linear-gradient(180deg, #ffffff 0%, #f8fcfc 62%, #ffffff 100%);
  font-family: var(--font-sans);
  line-height: 1.9;
  letter-spacing: 0;
}

body::before {
  position: fixed;
  inset: 0;
  z-index: -2;
  content: "";
  background-image:
    linear-gradient(rgba(7, 138, 143, 0.07) 1px, transparent 1px),
    linear-gradient(90deg, rgba(7, 138, 143, 0.07) 1px, transparent 1px);
  background-size: 88px 88px;
  mask-image: linear-gradient(180deg, rgba(0, 0, 0, 0.9), transparent 68%);
}

a {
  color: inherit;
}

.site-shell {
  overflow: hidden;
}

.topbar {
  position: fixed;
  top: 18px;
  left: 50%;
  z-index: 20;
  display: flex;
  align-items: center;
  justify-content: space-between;
  width: min(1120px, calc(100% - 32px));
  min-height: 58px;
  padding: 10px 12px 10px 18px;
  color: var(--graphite);
  background: rgba(255, 255, 255, 0.82);
  border: 1px solid rgba(201, 168, 106, 0.32);
  border-radius: 8px;
  box-shadow: 0 16px 44px rgba(23, 34, 36, 0.08), inset 0 1px 0 rgba(242, 215, 155, 0.42);
  backdrop-filter: blur(18px);
  transform: translateX(-50%);
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  font-size: 0.98rem;
  font-weight: 700;
  font-family: var(--font-serif-en);
  text-decoration: none;
  white-space: nowrap;
}

.brand-mark {
  width: 16px;
  height: 16px;
  border: 2px solid var(--turquoise);
  border-radius: 50%;
  box-shadow: inset 0 0 0 4px #ffffff, 0 0 0 1px rgba(201, 168, 106, 0.7);
}

.topbar-cta {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 40px;
  padding: 0 18px;
  color: #ffffff;
  font-size: 0.9rem;
  font-weight: 700;
  text-decoration: none;
  white-space: nowrap;
  background: var(--graphite);
  border: 1px solid rgba(242, 215, 155, 0.5);
  border-radius: 8px;
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.08);
}

.hero {
  position: relative;
  display: grid;
  min-height: 92vh;
  padding: 130px max(24px, calc((100vw - 1180px) / 2)) 72px;
  overflow: hidden;
  isolation: isolate;
}

.hero::after {
  position: absolute;
  right: 0;
  bottom: -160px;
  z-index: -1;
  width: 480px;
  height: 480px;
  content: "";
  background: conic-gradient(from 130deg, rgba(17, 191, 195, 0.3), rgba(201, 168, 106, 0.16), transparent 70%);
  filter: blur(32px);
  opacity: 0.55;
  animation: slowSpin 22s linear infinite;
}

.hero-visual {
  position: absolute;
  inset: 0;
  z-index: -1;
  overflow: hidden;
}

.hero-visual::before {
  position: absolute;
  inset: 0;
  z-index: 2;
  content: "";
  background:
    linear-gradient(90deg, rgba(255, 255, 255, 0.98) 0%, rgba(255, 255, 255, 0.92) 30%, rgba(255, 255, 255, 0.52) 56%, rgba(255, 255, 255, 0.18) 100%),
    linear-gradient(180deg, rgba(255, 255, 255, 0) 72%, #ffffff 100%);
}

.hero-visual img {
  position: absolute;
  top: 0;
  right: 0;
  width: 82%;
  height: 100%;
  object-fit: cover;
  object-position: center right;
  filter: saturate(0.95) contrast(1.03);
  transform: scale(1.02);
  animation: heroDrift 18s ease-in-out infinite alternate;
}

.hero-tech-svg {
  position: absolute;
  top: 4%;
  right: max(-120px, calc((100vw - 1180px) / 2 - 96px));
  z-index: 4;
  width: min(72vw, 1040px);
  height: 92%;
  overflow: visible;
  pointer-events: none;
  opacity: 0.94;
}

.glass-card,
.glass-prism {
  fill: url("#tech-panel");
  stroke: rgba(17, 191, 195, 0.44);
  stroke-width: 1.2;
  filter: drop-shadow(0 16px 32px rgba(7, 138, 143, 0.12));
  transform-box: fill-box;
  transform-origin: center;
  animation: panelFloat 7.5s ease-in-out infinite alternate;
}

.glass-card-b {
  animation-delay: -2s;
}

.glass-prism {
  fill: rgba(17, 191, 195, 0.08);
  stroke: rgba(201, 168, 106, 0.38);
  animation-delay: -3.4s;
}

.route,
.scan-beam {
  fill: none;
  stroke-linecap: round;
}

.route {
  stroke: url("#tech-signal");
  stroke-width: 2.1;
  stroke-dasharray: 180 520;
  filter: drop-shadow(0 0 10px rgba(17, 191, 195, 0.34));
  animation: signalDash 5.8s linear infinite;
}

.route-b {
  stroke-width: 1.8;
  stroke-dasharray: 140 480;
  animation-delay: -2.1s;
}

.route-c {
  stroke-width: 1.45;
  stroke-dasharray: 78 250;
  animation-duration: 4.2s;
  animation-delay: -1.3s;
}

.scan-beam {
  stroke: rgba(17, 191, 195, 0.34);
  stroke-width: 8;
  stroke-dasharray: 60 270;
  filter: blur(0.2px) drop-shadow(0 0 16px rgba(17, 191, 195, 0.34));
  opacity: 0.72;
  animation: scanBeam 3.4s ease-in-out infinite;
}

.hud-ring {
  fill: none;
  stroke: rgba(7, 138, 143, 0.36);
  stroke-width: 1.6;
  stroke-dasharray: 16 18;
  filter: drop-shadow(0 0 12px rgba(17, 191, 195, 0.2));
  transform-box: fill-box;
  transform-origin: center;
  animation: ringSpin 13s linear infinite;
}

.hud-ring-b {
  stroke: rgba(201, 168, 106, 0.42);
  stroke-dasharray: 8 12;
  animation-duration: 9s;
  animation-direction: reverse;
}

.hud-core,
.signal-dot,
.node {
  fill: var(--turquoise);
}

.hud-core {
  opacity: 0.72;
  filter: drop-shadow(0 0 14px rgba(17, 191, 195, 0.65));
  animation: nodePulse 1.9s ease-in-out infinite alternate;
}

.signal-dot {
  opacity: 0.95;
}

.signal-dot-b {
  fill: #f2d79b;
}

.signal-dot-c {
  fill: #ffffff;
}

.node {
  stroke: rgba(255, 255, 255, 0.78);
  stroke-width: 2;
  transform-box: fill-box;
  transform-origin: center;
  animation: nodePulse 2.6s ease-in-out infinite alternate;
}

.node-b {
  animation-delay: -0.7s;
}

.node-c {
  fill: #f2d79b;
  animation-delay: -1.4s;
}

.node-d {
  animation-delay: -2.1s;
}

.orbit {
  position: absolute;
  z-index: 3;
  right: max(16px, calc((100vw - 1180px) / 2));
  width: min(58vw, 760px);
  height: auto;
  fill: none;
  pointer-events: none;
}

.orbit path {
  stroke: rgba(7, 138, 143, 0.34);
  stroke-width: 1.2;
  stroke-dasharray: 8 18;
  animation: dashMove 12s linear infinite;
}

.orbit circle {
  fill: var(--turquoise);
  filter: drop-shadow(0 0 10px rgba(17, 191, 195, 0.55));
  animation: pulse 2.7s ease-in-out infinite alternate;
}

.orbit-a {
  top: 19%;
}

.orbit-b {
  top: 29%;
  opacity: 0.55;
  transform: rotate(-5deg);
}

.hero-content {
  display: flex;
  flex-direction: column;
  justify-content: center;
  width: min(680px, 100%);
  min-height: 680px;
  padding-top: 36px;
}

.eyebrow,
.kicker {
  margin: 0 0 18px;
  color: var(--turquoise-dark) !important;
  font-size: 0.78rem;
  font-weight: 800;
  line-height: 1.4;
  text-transform: uppercase;
}

.eyebrow::after,
.kicker::after {
  display: inline-block;
  width: 36px;
  height: 1px;
  margin-left: 12px;
  vertical-align: 0.28em;
  content: "";
  background: linear-gradient(90deg, var(--champagne), rgba(201, 168, 106, 0));
}

.hero h1 {
  width: min(660px, 100%);
  margin: 0;
  color: var(--graphite);
  font-family: var(--font-serif-ja);
  font-size: 4rem;
  font-weight: 800;
  line-height: 1.14;
}

.hero-lead {
  width: min(640px, 100%);
  margin: 28px 0 0;
  color: #314346;
  font-size: 1.12rem;
  font-weight: 500;
  line-height: 2;
}

.hero-actions {
  display: flex;
  align-items: center;
  flex-wrap: wrap;
  gap: 16px;
  margin-top: 36px;
}

.button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 54px;
  padding: 0 24px;
  border: 1px solid rgba(242, 215, 155, 0.42);
  font-weight: 800;
  line-height: 1.4;
  text-align: center;
  text-decoration: none;
  border-radius: 8px;
  transition: transform 180ms ease, box-shadow 180ms ease, background 180ms ease;
}

.button:hover {
  transform: translateY(-2px);
}

.button-primary {
  color: #ffffff;
  background: linear-gradient(135deg, #08a9ad, #12c8cb);
  box-shadow: 0 18px 44px rgba(17, 191, 195, 0.28), inset 0 1px 0 rgba(242, 215, 155, 0.48);
}

.button-primary:hover {
  background: linear-gradient(135deg, #078a8f, #11bfc3);
  box-shadow: 0 22px 52px rgba(17, 191, 195, 0.34);
}

.button-large {
  width: min(100%, 420px);
  min-height: 64px;
  margin-top: 22px;
  font-size: 1.08rem;
}

.availability {
  display: inline-flex;
  align-items: center;
  min-height: 44px;
  padding: 0 16px;
  color: var(--graphite);
  font-size: 0.92rem;
  font-weight: 700;
  background: rgba(255, 255, 255, 0.72);
  border: 1px solid rgba(201, 168, 106, 0.28);
  border-radius: 8px;
  box-shadow: 0 12px 36px rgba(23, 34, 36, 0.06);
}

.section {
  position: relative;
  padding: 88px 24px;
  overflow: hidden;
  scroll-margin-top: 96px;
  isolation: isolate;
}

.section::before {
  position: absolute;
  inset: 0;
  z-index: 0;
  pointer-events: none;
  content: "";
  background-image:
    radial-gradient(circle at 86% 18%, rgba(201, 168, 106, 0.11), transparent 22rem),
    url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 1000 360'%3E%3Cpath d='M-50 250 C180 80 300 320 520 150 S820 70 1050 220' fill='none' stroke='%23c9a86a' stroke-opacity='.28' stroke-width='1.2'/%3E%3Cpath d='M-80 130 C150 260 330 40 560 180 S780 330 1080 90' fill='none' stroke='%2311bfc3' stroke-opacity='.16' stroke-width='1'/%3E%3Cpath d='M80 320 C240 210 420 260 590 110 S820 40 980 170' fill='none' stroke='%23c9a86a' stroke-opacity='.16' stroke-width='.9' stroke-dasharray='10 18'/%3E%3C/svg%3E");
  background-repeat: no-repeat, repeat-y;
  background-size: 100% 100%, min(980px, 100vw) auto;
  background-position: center, 50% 18%;
  mask-image: linear-gradient(180deg, transparent 0%, #000 18%, #000 82%, transparent 100%);
  opacity: 0.62;
  animation: sectionFlow 24s ease-in-out infinite alternate;
}

.section-inner {
  position: relative;
  z-index: 1;
  width: min(820px, 100%);
  margin: 0 auto;
}

.metrics {
  background: rgba(255, 255, 255, 0.78);
  border-top: 1px solid rgba(219, 231, 231, 0.7);
  border-bottom: 1px solid rgba(219, 231, 231, 0.7);
}

h2 {
  margin: 0 0 28px;
  color: var(--graphite);
  font-family: var(--font-serif-ja);
  font-size: 2.35rem;
  font-weight: 800;
  line-height: 1.35;
}

h2::after {
  display: block;
  width: 86px;
  height: 2px;
  margin-top: 18px;
  content: "";
  background: linear-gradient(90deg, var(--champagne), rgba(201, 168, 106, 0));
}

h3 {
  margin: 44px 0 10px;
  color: var(--graphite);
  font-family: var(--font-serif-ja);
  font-size: 1.24rem;
  font-weight: 800;
  line-height: 1.55;
}

p {
  margin: 0;
}

.lead,
.text-flow p {
  color: #314346;
  font-size: 1.04rem;
}

.text-flow p + p {
  margin-top: 22px;
}

.text-flow h3 + p {
  margin-top: 0;
}

.example-site-card {
  position: relative;
  margin: 34px 0;
  padding: 30px;
  overflow: hidden;
  background:
    linear-gradient(135deg, rgba(255, 255, 255, 0.96), rgba(244, 251, 251, 0.92)),
    radial-gradient(circle at 88% 10%, rgba(17, 191, 195, 0.14), transparent 18rem);
  border: 1px solid rgba(17, 191, 195, 0.2);
  border-left: 4px solid rgba(201, 168, 106, 0.86);
  border-radius: 8px;
  box-shadow: 0 24px 68px rgba(23, 34, 36, 0.08);
}

.example-site-card::after {
  position: absolute;
  right: 0;
  bottom: -96px;
  width: 220px;
  height: 260px;
  content: "";
  background: conic-gradient(from 120deg, rgba(17, 191, 195, 0.18), rgba(201, 168, 106, 0.18), transparent 68%);
  border-radius: 50%;
  filter: blur(20px);
}

.example-site-card > * {
  position: relative;
  z-index: 1;
}

.example-site-label {
  margin: 0 0 12px !important;
  color: var(--turquoise-dark) !important;
  font-family: var(--font-serif-en);
  font-size: 0.92rem !important;
  font-weight: 700;
  line-height: 1.3 !important;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.example-site-card h3 {
  margin: 0 0 18px;
}

.example-site-link {
  display: inline-flex;
  align-items: center;
  min-height: 46px;
  margin-top: 24px;
  padding: 0 18px;
  color: #ffffff;
  font-weight: 800;
  line-height: 1.4;
  text-decoration: none;
  background: linear-gradient(135deg, #078a8f, #11bfc3);
  border-radius: 8px;
  box-shadow: 0 18px 44px rgba(17, 191, 195, 0.22);
}

.metric-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 12px;
  margin: 34px 0 30px;
}

.metric {
  min-height: 160px;
  padding: 22px 18px;
  background: rgba(255, 255, 255, 0.92);
  border: 1px solid rgba(219, 231, 231, 0.95);
  border-top-color: rgba(201, 168, 106, 0.55);
  border-radius: 8px;
  box-shadow: 0 18px 50px rgba(23, 34, 36, 0.06);
}

.metric strong {
  display: block;
  color: var(--turquoise-dark);
  font-size: 2.3rem;
  font-weight: 900;
  line-height: 1.1;
}

.metric span {
  display: block;
  margin-top: 14px;
  color: #415457;
  font-size: 0.9rem;
  font-weight: 700;
  line-height: 1.65;
}

.support-showcase,
.section-image {
  margin: 34px 0;
}

.support-showcase img,
.section-image {
  display: block;
  width: 100%;
  height: auto;
  border: 1px solid rgba(219, 231, 231, 0.95);
  border-radius: 8px;
  box-shadow: 0 24px 68px rgba(23, 34, 36, 0.08);
}

.support-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 12px;
  margin-top: 18px;
}

.support-card,
.alt-card,
.screening-grid p {
  min-height: 100%;
  padding: 22px;
  background: rgba(255, 255, 255, 0.92);
  border: 1px solid rgba(219, 231, 231, 0.95);
  border-radius: 8px;
  box-shadow: 0 18px 50px rgba(23, 34, 36, 0.06), inset 0 1px 0 rgba(242, 215, 155, 0.24);
}

.support-card-wide {
  grid-column: 1 / -1;
}

.support-card span,
.alt-card span {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-width: 42px;
  height: 28px;
  margin-bottom: 12px;
  color: var(--turquoise-dark);
  font-size: 0.78rem;
  font-weight: 900;
  line-height: 1;
  background: rgba(17, 191, 195, 0.1);
  border: 1px solid rgba(17, 191, 195, 0.22);
  border-radius: 999px;
}

.support-card p,
.alt-card p,
.screening-grid p {
  margin: 0;
  font-size: 0.98rem;
  line-height: 1.85;
}

.support-card b,
.screening-grid b,
.alt-card h3 {
  text-decoration-line: underline;
  text-decoration-color: rgba(201, 168, 106, 0.45);
  text-decoration-thickness: 0.08em;
  text-underline-offset: 0.2em;
}

.alternatives-section h2 {
  position: relative;
}

.alternatives-section h2::after {
  display: block;
  width: 92px;
  height: 4px;
  margin-top: 18px;
  content: "";
  background: linear-gradient(90deg, var(--turquoise), var(--champagne));
  border-radius: 999px;
}

.alt-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 14px;
  margin-top: 34px;
  align-items: stretch;
}

.alt-card:nth-child(3n + 2) {
  transform: none;
}

.alt-card h3 {
  margin: 0 0 8px;
}

.special-case {
  background:
    radial-gradient(circle at 18% 14%, rgba(246, 189, 57, 0.16), transparent 20rem),
    linear-gradient(180deg, rgba(255, 255, 255, 0.78), rgba(247, 251, 251, 0.82));
}

.jerry-card {
  display: grid;
  grid-template-columns: 150px 1fr;
  gap: 22px;
  align-items: start;
  padding: 32px;
  background: rgba(255, 255, 255, 0.92);
  border: 1px solid rgba(201, 168, 106, 0.26);
  border-radius: 8px;
  box-shadow: 0 26px 70px rgba(23, 34, 36, 0.08);
}

.jerry-avatar {
  display: block;
  width: 150px;
  height: 150px;
  object-fit: cover;
  background: #ffffff;
  border: 1px solid rgba(219, 231, 231, 0.95);
  border-radius: 8px;
  box-shadow: 0 18px 48px rgba(23, 34, 36, 0.1);
}

.member-label {
  display: inline-flex;
  align-items: center;
  width: fit-content;
  min-height: 34px;
  padding: 0 14px;
  color: var(--turquoise-dark);
  font-size: 0.78rem;
  font-weight: 900;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  background: rgba(17, 191, 195, 0.09);
  border: 1px solid rgba(17, 191, 195, 0.22);
  border-radius: 999px;
}

.jerry-content .member-label {
  margin-bottom: 18px;
}

.link-row {
  display: flex;
  flex-wrap: wrap;
  gap: 16px;
}

.infographic-note {
  display: flex;
  justify-content: flex-end;
  margin: 32px 0 10px;
}

.infographic-note span {
  display: inline-flex;
  align-items: center;
  min-height: 34px;
  padding: 0 14px;
  color: var(--turquoise-dark);
  font-size: 0.84rem;
  font-weight: 800;
  background: rgba(255, 255, 255, 0.88);
  border: 1px solid rgba(17, 191, 195, 0.24);
  border-radius: 999px;
  box-shadow: 0 12px 32px rgba(23, 34, 36, 0.06);
}

.course-zoom-trigger {
  display: block;
  width: 100%;
  margin: 0 0 34px;
  padding: 0;
  cursor: zoom-in;
  background: transparent;
  border: 0;
}

.course-infographic {
  display: block;
  width: 100%;
  height: auto;
  margin: 0;
  border: 1px solid rgba(201, 168, 106, 0.32);
  border-radius: 8px;
  box-shadow: 0 24px 70px rgba(23, 34, 36, 0.1), 0 0 0 1px rgba(17, 191, 195, 0.08);
}

.course-zoom-trigger:focus-visible {
  outline: 3px solid rgba(17, 191, 195, 0.42);
  outline-offset: 5px;
  border-radius: 8px;
}

.image-lightbox {
  position: fixed;
  inset: 0;
  z-index: 80;
  display: grid;
  place-items: center;
  padding: 76px 24px 30px;
  pointer-events: none;
  background: rgba(13, 27, 30, 0.78);
  opacity: 0;
  backdrop-filter: blur(16px);
  transition: opacity 180ms ease;
}

.image-lightbox.is-open {
  pointer-events: auto;
  opacity: 1;
}

.lightbox-frame {
  max-width: min(1040px, 100%);
  max-height: 100%;
  overflow: auto;
  background: #ffffff;
  border: 1px solid rgba(255, 255, 255, 0.32);
  border-radius: 8px;
  box-shadow: 0 32px 90px rgba(0, 0, 0, 0.34);
}

.lightbox-frame img {
  display: block;
  width: min(941px, calc(100vw - 56px));
  max-width: none;
  height: auto;
}

.lightbox-close {
  position: absolute;
  top: 18px;
  right: 18px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 44px;
  height: 44px;
  color: #ffffff;
  font-size: 2rem;
  line-height: 1;
  cursor: pointer;
  background: rgba(255, 255, 255, 0.12);
  border: 1px solid rgba(255, 255, 255, 0.28);
  border-radius: 50%;
  backdrop-filter: blur(10px);
}

.lightbox-close:focus-visible {
  outline: 3px solid rgba(17, 191, 195, 0.65);
  outline-offset: 3px;
}

body.lightbox-open {
  overflow: hidden;
}

.course-table {
  display: grid;
  gap: 0;
  margin: 34px 0;
  overflow: hidden;
  background: #ffffff;
  border: 1px solid rgba(201, 168, 106, 0.28);
  border-radius: 8px;
  box-shadow: 0 24px 70px rgba(23, 34, 36, 0.08);
}

.course-row {
  display: grid;
  grid-template-columns: 1.1fr 1.35fr 1fr 1.2fr;
  border-top: 1px solid rgba(219, 231, 231, 0.95);
}

.course-row:first-child {
  border-top: 0;
}

.course-row > span {
  padding: 20px 18px;
  color: #314346;
  font-size: 0.94rem;
  line-height: 1.75;
  border-left: 1px solid rgba(219, 231, 231, 0.95);
}

.course-row > span:first-child {
  border-left: 0;
}

.course-row b {
  display: block;
  color: var(--graphite);
  font-size: 1.05rem;
}

.course-row small {
  display: block;
  margin-top: 4px;
  color: var(--muted);
  font-size: 0.8rem;
  line-height: 1.5;
}

.course-logo {
  display: block;
  width: 100%;
  max-width: 240px;
  height: 96px;
  margin: 0 0 16px;
  padding: 10px;
  object-fit: contain;
  object-position: left center;
  background: #ffffff;
  border: 1px solid rgba(219, 231, 231, 0.95);
  border-radius: 6px;
}

.course-logo-liberte {
  background: #ffffff;
}

.course-logo-dominion {
  background: #060d1d;
  border-color: rgba(6, 13, 29, 0.18);
  box-shadow: 0 14px 34px rgba(8, 16, 32, 0.12);
}

.course-head {
  color: #ffffff;
  background: linear-gradient(135deg, #078a8f, #11bfc3);
}

.course-head > span {
  color: #ffffff;
  font-weight: 900;
  border-color: rgba(255, 255, 255, 0.24);
}

.course-rich {
  background: rgba(17, 191, 195, 0.07);
}

.curriculum-panels {
  display: grid;
  gap: 22px;
  margin: 34px 0;
}

.curriculum-panels > div {
  padding: 26px;
  background: rgba(255, 255, 255, 0.9);
  border: 1px solid rgba(201, 168, 106, 0.24);
  border-radius: 8px;
  box-shadow: 0 18px 52px rgba(23, 34, 36, 0.06);
}

.curriculum-panels h3 {
  margin-top: 0;
}

.curriculum-grid {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
}

.curriculum-grid span {
  display: inline-flex;
  align-items: center;
  min-height: 38px;
  padding: 8px 12px;
  color: var(--graphite);
  font-size: 0.9rem;
  font-weight: 800;
  line-height: 1.45;
  background: rgba(17, 191, 195, 0.08);
  border: 1px solid rgba(17, 191, 195, 0.18);
  border-radius: 8px;
}

.dominion-grid span {
  background: rgba(201, 168, 106, 0.1);
  border-color: rgba(201, 168, 106, 0.22);
}

.screening-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 12px;
  margin: 30px 0;
}

.screening-grid p {
  margin: 0 !important;
  border-left: 4px solid rgba(201, 168, 106, 0.78);
}

.value-box {
  display: grid;
  gap: 12px;
  margin: 34px 0;
  padding: 26px;
  background: rgba(255, 255, 255, 0.9);
  border: 1px solid rgba(201, 168, 106, 0.3);
  border-radius: 8px;
  box-shadow: 0 18px 52px rgba(23, 34, 36, 0.06);
}

.value-box p {
  margin: 0;
}

.text-link {
  color: var(--turquoise-dark);
  font-weight: 800;
  text-decoration-thickness: 1px;
  text-underline-offset: 5px;
}

.final-offer {
  padding-bottom: 112px;
  color: #ffffff;
  background:
    linear-gradient(135deg, rgba(17, 191, 195, 0.18), transparent 42%),
    linear-gradient(180deg, #1b292c 0%, #10191b 100%);
}

.final-offer .section-inner {
  width: min(860px, 100%);
}

.final-offer .kicker,
.final-offer h2 {
  color: #ffffff;
}

.final-offer h2::after {
  background: linear-gradient(90deg, var(--champagne-soft), rgba(242, 215, 155, 0));
}

.final-offer .button-primary {
  color: #1d2527;
  background: linear-gradient(135deg, #a97a2e 0%, #f2d79b 46%, #c9a86a 100%);
  border-color: rgba(255, 246, 210, 0.86);
  box-shadow: 0 22px 60px rgba(201, 168, 106, 0.34), inset 0 1px 0 rgba(255, 255, 255, 0.48);
}

.final-offer .button-primary:hover {
  background: linear-gradient(135deg, #936729 0%, #ffe7a8 44%, #c59a50 100%);
  box-shadow: 0 28px 70px rgba(201, 168, 106, 0.42), inset 0 1px 0 rgba(255, 255, 255, 0.56);
}

.offer-body {
  padding: 42px;
  background: rgba(255, 255, 255, 0.06);
  border: 1px solid rgba(242, 215, 155, 0.26);
  border-radius: 8px;
  box-shadow: var(--shadow);
}

.offer-body p {
  color: rgba(255, 255, 255, 0.86);
  font-size: 1.05rem;
}

.offer-list {
  display: grid;
  gap: 0;
  margin: 34px 0 0;
}

.offer-list div {
  display: grid;
  grid-template-columns: 150px 1fr;
  gap: 18px;
  padding: 20px 0;
  border-top: 1px solid rgba(255, 255, 255, 0.14);
}

.offer-list div:last-child {
  border-bottom: 1px solid rgba(255, 255, 255, 0.14);
}

.offer-list dt {
  color: rgba(255, 255, 255, 0.65);
  font-size: 0.92rem;
  font-weight: 800;
}

.offer-list dd {
  margin: 0;
  color: #ffffff;
  font-size: 1rem;
  font-weight: 650;
  line-height: 1.8;
}

.offer-list strong {
  font-size: 1.8rem;
  line-height: 1.2;
}

.note {
  margin-top: 22px;
  color: rgba(255, 255, 255, 0.62) !important;
  font-size: 0.86rem !important;
  line-height: 1.8;
}

.js .reveal {
  opacity: 1;
  transform: translateY(0);
  transition: opacity 700ms ease, transform 700ms ease;
}

.js .reveal.is-visible {
  opacity: 1;
  transform: translateY(0);
}

@keyframes heroDrift {
  from {
    transform: scale(1.02) translate3d(0, 0, 0);
  }

  to {
    transform: scale(1.055) translate3d(18px, -10px, 0);
  }
}

@keyframes signalDash {
  to {
    stroke-dashoffset: -700;
  }
}

@keyframes scanBeam {
  0%,
  100% {
    stroke-dashoffset: 250;
    opacity: 0.08;
  }

  42% {
    opacity: 0.78;
  }

  70% {
    stroke-dashoffset: -180;
    opacity: 0.36;
  }
}

@keyframes ringSpin {
  to {
    transform: rotate(360deg);
  }
}

@keyframes panelFloat {
  from {
    opacity: 0.52;
    transform: translate3d(-8px, 8px, 0) rotate(-0.5deg);
  }

  to {
    opacity: 0.9;
    transform: translate3d(10px, -10px, 0) rotate(0.7deg);
  }
}

@keyframes nodePulse {
  from {
    opacity: 0.52;
    transform: scale(0.72);
  }

  to {
    opacity: 1;
    transform: scale(1.18);
  }
}

@keyframes sectionFlow {
  from {
    transform: translate3d(-18px, -10px, 0) scale(1);
  }

  to {
    transform: translate3d(18px, 14px, 0) scale(1.02);
  }
}

@keyframes dashMove {
  to {
    stroke-dashoffset: -260;
  }
}

@keyframes pulse {
  from {
    opacity: 0.55;
    transform: scale(0.88);
  }

  to {
    opacity: 1;
    transform: scale(1.12);
  }
}

@keyframes slowSpin {
  to {
    transform: rotate(360deg);
  }
}

@media (prefers-reduced-motion: reduce) {
  *,
  *::before,
  *::after {
    scroll-behavior: auto !important;
    animation-duration: 0.01ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.01ms !important;
  }

  .signal-dots {
    display: none;
  }
}

@media (max-width: 980px) {
  .topbar {
    top: 10px;
    width: calc(100% - 20px);
  }

  .hero {
    min-height: auto;
    padding: 118px 22px 70px;
  }

  .hero-visual img {
    width: 100%;
    opacity: 0.58;
  }

  .hero-tech-svg {
    top: 8%;
    right: -28vw;
    width: 124vw;
    height: 82%;
    opacity: 0.76;
  }

  .hero-visual::before {
    background:
      linear-gradient(180deg, rgba(255, 255, 255, 0.95) 0%, rgba(255, 255, 255, 0.88) 54%, rgba(255, 255, 255, 0.98) 100%),
      linear-gradient(90deg, rgba(255, 255, 255, 0.9), rgba(255, 255, 255, 0.38));
  }

  .hero-content {
    min-height: 620px;
  }

  .hero h1 {
    font-size: 3rem;
  }

  .metric-grid {
    grid-template-columns: repeat(2, 1fr);
  }

  .support-grid,
  .alt-grid,
  .screening-grid {
    grid-template-columns: 1fr;
  }

  .alt-card:nth-child(3n + 2) {
    transform: none;
  }

  .course-row {
    grid-template-columns: 1fr 1fr;
  }

  .course-row > span:nth-child(odd) {
    border-left: 0;
  }

  .orbit {
    width: 86vw;
    opacity: 0.45;
  }
}

@media (max-width: 680px) {
  .topbar {
    align-items: stretch;
    gap: 10px;
    min-height: 52px;
    padding: 8px;
  }

  .brand {
    padding-left: 6px;
    font-size: 0.9rem;
  }

  .topbar-cta {
    min-height: 38px;
    padding: 0 12px;
    font-size: 0.78rem;
  }

  .hero {
    min-height: 820px;
    padding: 104px 18px 74px;
    background:
      radial-gradient(circle at 88% 24%, rgba(17, 191, 195, 0.2), transparent 11rem),
      radial-gradient(circle at 74% 72%, rgba(17, 191, 195, 0.22), transparent 15rem),
      radial-gradient(circle at 18% 76%, rgba(201, 168, 106, 0.12), transparent 12rem);
  }

  .hero::after {
    right: -190px;
    bottom: 40px;
    width: 420px;
    height: 420px;
    filter: blur(24px);
    opacity: 0.72;
  }

  .hero-visual img {
    right: -50%;
    width: 160%;
    opacity: 0.92;
    object-position: 78% center;
    filter: saturate(1.12) contrast(1.08);
  }

  .hero-tech-svg {
    top: 10%;
    right: -112vw;
    width: 205vw;
    height: 78%;
    opacity: 0.74;
  }

  .glass-card,
  .glass-prism {
    stroke-width: 1.6;
  }

  .route {
    stroke-width: 2.5;
  }

  .scan-beam {
    stroke-width: 10;
  }

  .hero-visual::before {
    background:
      linear-gradient(180deg, rgba(255, 255, 255, 0.92) 0%, rgba(255, 255, 255, 0.66) 28%, rgba(255, 255, 255, 0.52) 54%, rgba(255, 255, 255, 0.74) 78%, #ffffff 100%),
      linear-gradient(90deg, rgba(255, 255, 255, 0.99) 0%, rgba(255, 255, 255, 0.92) 52%, rgba(255, 255, 255, 0.38) 82%, rgba(255, 255, 255, 0.12) 100%);
  }

  .orbit {
    right: -90vw;
    width: 140vw;
    opacity: 0.48;
  }

  .orbit path {
    stroke: rgba(7, 138, 143, 0.52);
    stroke-width: 1.7;
    stroke-dasharray: 10 16;
  }

  .orbit circle {
    filter: drop-shadow(0 0 14px rgba(17, 191, 195, 0.78));
  }

  .orbit-a {
    top: 16%;
  }

  .orbit-b {
    top: 36%;
    right: -108vw;
    opacity: 0.32;
  }

  .hero-content {
    min-height: 620px;
    padding-top: 26px;
  }

  .hero h1 {
    max-width: 11ch;
    font-size: 2.42rem;
    text-shadow: 0 1px 0 rgba(255, 255, 255, 0.9), 0 16px 36px rgba(23, 34, 36, 0.13);
  }

  .hero-lead {
    max-width: 29em;
    font-size: 1rem;
    line-height: 1.9;
    text-shadow: 0 1px 0 rgba(255, 255, 255, 0.86);
  }

  .hero-actions {
    align-items: stretch;
    flex-direction: column;
  }

  .button,
  .availability {
    width: 100%;
  }

  .infographic-note {
    justify-content: flex-start;
    margin-top: 28px;
  }

  .course-zoom-trigger {
    margin-bottom: 30px;
  }

  .image-lightbox {
    align-items: start;
    padding: 70px 14px 22px;
  }

  .lightbox-frame {
    width: 100%;
    max-height: calc(100vh - 96px);
    -webkit-overflow-scrolling: touch;
  }

  .lightbox-frame img {
    width: 760px;
  }

  .lightbox-close {
    top: 14px;
    right: 14px;
    width: 42px;
    height: 42px;
  }

  .section {
    padding: 64px 18px;
  }

  h2 {
    font-size: 1.85rem;
  }

  h3 {
    font-size: 1.15rem;
  }

  .lead,
  .text-flow p {
    font-size: 1rem;
  }

  .metric-grid {
    grid-template-columns: 1fr;
  }

  .metric {
    min-height: auto;
  }

  .support-card,
  .alt-card,
  .screening-grid p {
    padding: 18px;
  }

  .jerry-card {
    grid-template-columns: 1fr;
    padding: 22px;
  }

  .jerry-avatar {
    width: 112px;
    height: 112px;
  }

  .course-table {
    display: block;
  }

  .course-row,
  .course-head {
    display: block;
  }

  .course-head {
    display: none;
  }

  .course-row {
    padding: 18px;
    border-top: 1px solid rgba(219, 231, 231, 0.95);
  }

  .course-row:first-child {
    border-top: 0;
  }

  .course-row > span {
    display: block;
    padding: 0;
    border-left: 0;
  }

  .course-row > span + span {
    margin-top: 14px;
    padding-top: 14px;
    border-top: 1px solid rgba(219, 231, 231, 0.75);
  }

  .course-row > span:nth-child(2)::before,
  .course-row > span:nth-child(3)::before,
  .course-row > span:nth-child(4)::before {
    display: block;
    margin-bottom: 4px;
    color: var(--turquoise-dark);
    font-size: 0.74rem;
    font-weight: 900;
    line-height: 1.4;
  }

  .course-row > span:nth-child(2)::before {
    content: "対象";
  }

  .course-row > span:nth-child(3)::before {
    content: "価格";
  }

  .course-row > span:nth-child(4)::before {
    content: "Riche idéeでの扱い";
  }

  .curriculum-panels > div,
  .value-box {
    padding: 20px;
  }

  .offer-body {
    padding: 28px 20px;
  }

  .offer-list div {
    grid-template-columns: 1fr;
    gap: 6px;
  }

  .offer-list strong {
    font-size: 1.45rem;
  }
}
