/* ===========================
   RICH DESIGN — style_rich.css
   index_rich.html 専用の追加スタイル
   既存 style.css + heroes.css の上にロード
=========================== */

/* ---------- リセット上書き & 変数 ---------- */
:root {
  --rich-green: #00C98D;
  --rich-green-dark: #00A876;
  --rich-teal: #0ECFC3;
  --rich-navy: #0B1B30;
  --rich-navy2: #112038;
  --rich-mid: #1B3356;
  --rich-text: #0e1e30;
  --rich-muted: #5E7A96;
  --rich-border: #e0eaf4;
  --rich-bg: #F3F8FC;
  --rich-white: #ffffff;
  --rich-grad-hero: linear-gradient(135deg, #0B1B30 0%, #1B3356 60%, #0B1B30 100%);
  --rich-font: 'Noto Sans JP', 'Inter', sans-serif;
  --rich-easing: cubic-bezier(0.22, 1, 0.36, 1);
}

/* ====================================
   RICH UTILITY
==================================== */
.rich-tag {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  font-size: 10px;
  font-weight: 800;
  letter-spacing: .22em;
  text-transform: uppercase;
  color: var(--rich-green);
  margin-bottom: 16px;
}
.rich-tag::before {
  content: '';
  display: block;
  width: 20px;
  height: 2px;
  background: var(--rich-green);
  border-radius: 2px;
}
.rich-tag--plain::before { display: none; }

.rich-h2 {
  font-size: clamp(32px, 4.5vw, 52px);
  font-weight: 900;
  color: var(--rich-text);
  line-height: 1.18;
  letter-spacing: -.03em;
}
.rich-h2--light { color: #fff; }

.rich-lead {
  font-size: 16px;
  color: var(--rich-muted);
  line-height: 1.8;
  margin-top: 14px;
}
.rich-lead--light { color: rgba(255,255,255,.65); }

/* ====================================
   RICH NEWS — マガジンレイアウト
==================================== */
.rich-news {
  padding: 120px 0;
  background: var(--rich-white);
}

.rich-news__layout {
  display: grid;
  grid-template-columns: 1fr 380px;
  gap: 40px;
  align-items: start;
}

/* 大きな注目記事 */
.rich-news__featured {
  position: relative;
  border-radius: 24px;
  overflow: hidden;
  background: var(--rich-navy);
  min-height: 520px;
  display: flex;
  flex-direction: column;
  justify-content: flex-end;
  cursor: pointer;
  transition: transform .4s var(--rich-easing), box-shadow .4s ease;
}
.rich-news__featured:hover { transform: translateY(-4px); box-shadow: 0 32px 80px rgba(0,0,0,.18); }

.rich-news__featured-img {
  position: absolute;
  inset: 0;
  object-fit: cover;
  width: 100%; height: 100%;
  transition: transform .8s var(--rich-easing);
}
.rich-news__featured:hover .rich-news__featured-img { transform: scale(1.04); }

.rich-news__featured-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(to top, rgba(11,27,48,.98) 0%, rgba(11,27,48,.5) 55%, transparent 100%);
}

.rich-news__featured-body {
  position: relative;
  z-index: 2;
  padding: 40px;
}
.rich-news__featured-cat {
  display: inline-block;
  font-size: 10px;
  font-weight: 800;
  letter-spacing: .18em;
  color: var(--rich-green);
  background: rgba(0,201,141,.12);
  border: 1px solid rgba(0,201,141,.25);
  padding: 4px 12px;
  border-radius: 99px;
  margin-bottom: 16px;
}
.rich-news__featured-date {
  font-size: 12px;
  color: rgba(255,255,255,.45);
  letter-spacing: .06em;
  margin-bottom: 10px;
}
.rich-news__featured-title {
  font-size: clamp(20px, 2.5vw, 26px);
  font-weight: 900;
  color: #fff;
  line-height: 1.4;
  margin-bottom: 16px;
}
.rich-news__featured-excerpt {
  font-size: 14px;
  color: rgba(255,255,255,.65);
  line-height: 1.8;
  display: -webkit-box;
  -webkit-line-clamp: 3;
  -webkit-box-orient: vertical;
  overflow: hidden;
}

/* サイドニュースリスト */
.rich-news__side {
  display: flex;
  flex-direction: column;
  gap: 0;
}
.rich-news__side-item {
  display: flex;
  gap: 18px;
  align-items: flex-start;
  padding: 20px 0;
  border-bottom: 1px solid var(--rich-border);
  cursor: pointer;
  transition: all .25s ease;
}
.rich-news__side-item:first-child { padding-top: 0; }
.rich-news__side-item:last-child { border-bottom: none; }
.rich-news__side-item:hover { opacity: .75; }

.rich-news__side-img {
  width: 90px;
  height: 70px;
  border-radius: 10px;
  overflow: hidden;
  flex-shrink: 0;
}
.rich-news__side-img img {
  width: 100%; height: 100%;
  object-fit: cover;
  transition: transform .4s ease;
}
.rich-news__side-item:hover .rich-news__side-img img { transform: scale(1.06); }

.rich-news__side-cat {
  font-size: 9px;
  font-weight: 800;
  letter-spacing: .14em;
  color: var(--rich-green);
  margin-bottom: 6px;
}
.rich-news__side-date {
  font-size: 11px;
  color: var(--rich-muted);
  margin-bottom: 4px;
}
.rich-news__side-title {
  font-size: 13px;
  font-weight: 700;
  color: var(--rich-text);
  line-height: 1.55;
}

.rich-news__more-wrap {
  text-align: right;
  margin-top: 32px;
}
.rich-news__more-link {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-size: 13px;
  font-weight: 700;
  color: var(--rich-green);
  letter-spacing: .04em;
  transition: gap .25s ease;
}
.rich-news__more-link:hover { gap: 14px; }


/* ====================================
   RICH LEGAL NEWS — エディトリアルバー
==================================== */
.rich-regulation {
  padding: 100px 0;
  background: var(--rich-navy);
  position: relative;
  overflow: hidden;
}
.rich-regulation::before {
  content: 'LEGAL';
  position: absolute;
  right: -20px;
  top: 50%;
  transform: translateY(-50%);
  font-size: 280px;
  font-weight: 900;
  color: rgba(255,255,255,.02);
  letter-spacing: -.06em;
  pointer-events: none;
  line-height: 1;
}

.rich-regulation .rich-h2 { color: #fff; }
.rich-regulation .rich-tag { color: var(--rich-teal); }
.rich-regulation .rich-tag::before { background: var(--rich-teal); }

.rich-regulation__grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 20px;
  margin-top: 52px;
}

.rich-reg-card {
  background: rgba(255,255,255,.04);
  border: 1px solid rgba(255,255,255,.08);
  border-radius: 20px;
  padding: 32px 28px;
  transition: all .4s var(--rich-easing);
  cursor: pointer;
  position: relative;
  overflow: hidden;
}
.rich-reg-card::after {
  content: '';
  position: absolute;
  bottom: 0; left: 0; right: 0;
  height: 3px;
  background: linear-gradient(90deg, var(--rich-teal), var(--rich-green));
  transform: scaleX(0);
  transform-origin: left;
  transition: transform .4s var(--rich-easing);
}
.rich-reg-card:hover {
  background: rgba(255,255,255,.08);
  border-color: rgba(14,207,195,.2);
  transform: translateY(-4px);
}
.rich-reg-card:hover::after { transform: scaleX(1); }

.rich-reg-card__type {
  display: inline-block;
  font-size: 9px;
  font-weight: 800;
  letter-spacing: .16em;
  padding: 3px 10px;
  border-radius: 99px;
  margin-bottom: 14px;
}
.rich-reg-card__type--law {
  color: var(--rich-teal);
  background: rgba(14,207,195,.1);
  border: 1px solid rgba(14,207,195,.2);
}
.rich-reg-card__type--rule {
  color: #F59E0B;
  background: rgba(245,158,11,.1);
  border: 1px solid rgba(245,158,11,.2);
}

.rich-reg-card__date {
  font-size: 11px;
  color: rgba(255,255,255,.35);
  margin-bottom: 12px;
  letter-spacing: .04em;
}
.rich-reg-card__title {
  font-size: 15px;
  font-weight: 800;
  color: #fff;
  line-height: 1.5;
  margin-bottom: 14px;
}
.rich-reg-card__text {
  font-size: 13px;
  color: rgba(255,255,255,.55);
  line-height: 1.8;
  display: -webkit-box;
  -webkit-line-clamp: 4;
  -webkit-box-orient: vertical;
  overflow: hidden;
}

.rich-regulation__more {
  margin-top: 40px;
  text-align: center;
}
.rich-reg-more-btn {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  font-size: 13px;
  font-weight: 700;
  color: var(--rich-teal);
  border: 1px solid rgba(14,207,195,.3);
  padding: 12px 28px;
  border-radius: 99px;
  transition: all .3s ease;
}
.rich-reg-more-btn:hover {
  background: rgba(14,207,195,.08);
  border-color: var(--rich-teal);
  gap: 16px;
}


/* ====================================
   RICH SERVICES — ベントーグリッド
==================================== */
.rich-service {
  padding: 120px 0;
  background: var(--rich-bg);
  position: relative;
  overflow: hidden;
}
.rich-service__deco {
  position: absolute;
  width: 800px; height: 800px;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(0,201,141,.05) 0%, transparent 60%);
  top: -200px; right: -200px;
  pointer-events: none;
}

.rich-service__header {
  display: flex;
  align-items: flex-end;
  justify-content: space-between;
  margin-bottom: 56px;
  gap: 32px;
}

/* ベントーグリッド */
.rich-bento {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  grid-template-rows: auto;
  gap: 20px;
}

/* カード共通 */
.rich-bento-card {
  background: var(--rich-white);
  border-radius: 24px;
  border: 1px solid var(--rich-border);
  overflow: hidden;
  transition: transform .4s var(--rich-easing), box-shadow .4s ease, border-color .3s;
}
.rich-bento-card:hover {
  transform: translateY(-6px);
  box-shadow: 0 24px 64px rgba(0,40,80,.1);
  border-color: transparent;
}

/* 横長カード（2列分） */
.rich-bento-card--wide { grid-column: span 2; }
/* 縦長カード（2行分） */
.rich-bento-card--tall { grid-row: span 2; }
/* フル幅 */
.rich-bento-card--full { grid-column: 1 / -1; }

/* カード内レイアウト */
.rich-bc__img {
  height: 200px;
  overflow: hidden;
}
.rich-bc__img img {
  width: 100%; height: 100%;
  object-fit: cover;
  transition: transform .7s var(--rich-easing);
}
.rich-bento-card:hover .rich-bc__img img { transform: scale(1.05); }

.rich-bc__body {
  padding: 28px 28px 32px;
}

.rich-bc__icon {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 48px; height: 48px;
  border-radius: 14px;
  margin-bottom: 16px;
  font-size: 22px;
}
.rich-bc__icon--blue { background: #EFF6FF; color: #2563EB; }
.rich-bc__icon--green { background: #ECFDF5; color: #059669; }
.rich-bc__icon--orange { background: #FFF7ED; color: #EA580C; }
.rich-bc__icon--teal { background: #E6FFFE; color: #0D9488; }

.rich-bc__num {
  font-size: 10px;
  font-weight: 800;
  letter-spacing: .16em;
  color: var(--rich-green);
  margin-bottom: 8px;
}
.rich-bc__title {
  font-size: 18px;
  font-weight: 900;
  color: var(--rich-text);
  line-height: 1.4;
  margin-bottom: 12px;
}
.rich-bc__text {
  font-size: 13.5px;
  color: var(--rich-muted);
  line-height: 1.85;
  margin-bottom: 18px;
}
.rich-bc__list {
  display: flex;
  flex-direction: column;
  gap: 6px;
}
.rich-bc__list li {
  font-size: 13px;
  color: var(--rich-text);
  font-weight: 500;
  padding-left: 18px;
  position: relative;
}
.rich-bc__list li::before {
  content: '';
  position: absolute;
  left: 0; top: 8px;
  width: 6px; height: 6px;
  border-radius: 50%;
  background: var(--rich-green);
}

.rich-bc__link {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  margin-top: 18px;
  font-size: 12px;
  font-weight: 800;
  color: var(--rich-green);
  border-bottom: 1.5px solid rgba(0,201,141,.4);
  padding-bottom: 2px;
  transition: all .2s ease;
}
.rich-bc__link:hover { border-color: var(--rich-green); gap: 10px; }

/* ダーク系ヒーローカード（コンサルタント） */
.rich-bento-card--hero {
  background: var(--rich-navy);
  border-color: transparent;
  position: relative;
}
.rich-bento-card--hero .rich-bc__body { height: 100%; display: flex; flex-direction: column; }
.rich-bento-card--hero .rich-bc__title { color: #fff; font-size: 22px; }
.rich-bento-card--hero .rich-bc__text { color: rgba(255,255,255,.6); flex-grow: 1; }
.rich-bento-card--hero .rich-bc__list li { color: rgba(255,255,255,.8); }
.rich-bento-card--hero .rich-bc__list li::before { background: var(--rich-green); }
.rich-bento-card--hero .rich-bc__num { color: var(--rich-green); }
.rich-bento-card--hero::before {
  content: '';
  position: absolute;
  inset: 0;
  background: radial-gradient(ellipse 80% 60% at 100% 0%, rgba(0,201,141,.12) 0%, transparent 60%);
  pointer-events: none;
}

/* CO2カード */
.rich-co2-card {
  background: linear-gradient(135deg, #0B1B30 0%, #0D3B2F 100%);
  border-color: transparent;
  padding: 36px;
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 32px;
  align-items: center;
}
.rich-co2-card__left {}
.rich-co2-card__tag {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-size: 10px;
  font-weight: 800;
  letter-spacing: .18em;
  color: var(--rich-green);
  margin-bottom: 16px;
}
.rich-co2-card__title {
  font-size: clamp(22px, 2.5vw, 28px);
  font-weight: 900;
  color: #fff;
  line-height: 1.35;
  margin-bottom: 14px;
}
.rich-co2-card__text {
  font-size: 13.5px;
  color: rgba(255,255,255,.6);
  line-height: 1.85;
}
.rich-co2-card__right {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 14px;
}
.rich-co2-mini {
  background: rgba(255,255,255,.05);
  border: 1px solid rgba(255,255,255,.08);
  border-radius: 16px;
  overflow: hidden;
  transition: border-color .3s, transform .3s;
}
.rich-co2-mini:hover { border-color: rgba(0,201,141,.3); transform: translateY(-3px); }
.rich-co2-mini__img {
  height: 90px;
  overflow: hidden;
}
.rich-co2-mini__img img {
  width: 100%; height: 100%;
  object-fit: cover;
  transition: transform .5s ease;
}
.rich-co2-mini:hover .rich-co2-mini__img img { transform: scale(1.08); }
.rich-co2-mini__body { padding: 12px 14px; }
.rich-co2-mini__name {
  font-size: 12px;
  font-weight: 800;
  color: #fff;
  margin-bottom: 4px;
}
.rich-co2-mini__text {
  font-size: 11px;
  color: rgba(255,255,255,.5);
  line-height: 1.55;
}


/* ====================================
   RICH CRITERIA — 大型テキスト + カード
==================================== */
.rich-criteria {
  padding: 120px 0;
  background: var(--rich-white);
  position: relative;
  overflow: hidden;
}

.rich-criteria__lead-wrap {
  text-align: center;
  margin-bottom: 80px;
  position: relative;
}
.rich-criteria__deco-num {
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -54%);
  font-size: 320px;
  font-weight: 900;
  color: rgba(0,201,141,.04);
  letter-spacing: -.1em;
  pointer-events: none;
  line-height: 1;
}
.rich-criteria__lead {
  font-size: clamp(28px, 4vw, 48px);
  font-weight: 900;
  color: var(--rich-text);
  line-height: 1.3;
  letter-spacing: -.03em;
  position: relative;
}
.rich-criteria__lead em {
  font-style: normal;
  color: var(--rich-green);
}

.rich-criteria__grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 2px;
  background: var(--rich-border);
  border-radius: 24px;
  overflow: hidden;
}

.rich-crit-card {
  background: var(--rich-white);
  padding: 48px 40px 44px;
  position: relative;
  transition: background .3s;
}
.rich-crit-card:hover { background: #FAFCFE; }

.rich-crit-card__num {
  font-size: 80px;
  font-weight: 900;
  color: rgba(0,201,141,.08);
  line-height: 1;
  letter-spacing: -.05em;
  margin-bottom: -20px;
  position: relative;
}
.rich-crit-card__label {
  font-size: 10px;
  font-weight: 800;
  letter-spacing: .22em;
  color: var(--rich-green);
  margin-bottom: 12px;
  position: relative;
}
.rich-crit-card__title {
  font-size: 28px;
  font-weight: 900;
  color: var(--rich-text);
  margin-bottom: 18px;
  letter-spacing: -.03em;
  position: relative;
}
.rich-crit-card__text {
  font-size: 14px;
  color: var(--rich-muted);
  line-height: 1.85;
  margin-bottom: 24px;
  position: relative;
}
.rich-crit-card__points {
  display: flex;
  flex-direction: column;
  gap: 0;
  margin-bottom: 28px;
  position: relative;
}
.rich-crit-card__points li {
  font-size: 13px;
  color: var(--rich-text);
  font-weight: 500;
  padding: 10px 0 10px 20px;
  border-bottom: 1px solid var(--rich-border);
  position: relative;
  line-height: 1.5;
}
.rich-crit-card__points li:last-child { border-bottom: none; }
.rich-crit-card__points li::before {
  content: '';
  position: absolute;
  left: 0; top: 18px;
  width: 6px; height: 6px;
  border-radius: 50%;
  background: var(--rich-green);
}

.rich-crit-card__insight {
  background: linear-gradient(135deg, rgba(0,201,141,.06), rgba(14,207,195,.04));
  border-left: 3px solid var(--rich-green);
  border-radius: 0 10px 10px 0;
  padding: 14px 16px;
  position: relative;
}
.rich-crit-card__insight-tag {
  display: inline-block;
  font-size: 9px;
  font-weight: 800;
  letter-spacing: .12em;
  color: var(--rich-green);
  background: rgba(0,201,141,.1);
  padding: 2px 8px;
  border-radius: 99px;
  margin-bottom: 6px;
}
.rich-crit-card__insight p {
  font-size: 12.5px;
  color: var(--rich-muted);
  line-height: 1.75;
}


/* ====================================
   RICH FLOW — タイムライン縦型
==================================== */
.rich-flow {
  padding: 120px 0;
  background: var(--rich-bg);
  position: relative;
}

.rich-flow__wrap {
  display: grid;
  grid-template-columns: 1fr 3px 1fr;
  gap: 0 32px;
  position: relative;
  margin-top: 64px;
}

.rich-flow__spine {
  background: linear-gradient(to bottom, var(--rich-green) 0%, var(--rich-teal) 100%);
  border-radius: 99px;
  position: relative;
}

.rich-flow__steps-left,
.rich-flow__steps-right {
  display: flex;
  flex-direction: column;
  gap: 48px;
}

.rich-flow__step {
  display: flex;
  align-items: flex-start;
  gap: 20px;
}
.rich-flow__steps-right .rich-flow__step {
  flex-direction: row-reverse;
}

.rich-flow__step-img {
  width: 120px;
  height: 90px;
  border-radius: 14px;
  overflow: hidden;
  flex-shrink: 0;
}
.rich-flow__step-img img {
  width: 100%; height: 100%;
  object-fit: cover;
  transition: transform .5s ease;
}
.rich-flow__step:hover .rich-flow__step-img img { transform: scale(1.07); }

.rich-flow__step-body {}
.rich-flow__step-num {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 32px; height: 32px;
  border-radius: 50%;
  background: var(--rich-green);
  color: #fff;
  font-size: 11px;
  font-weight: 900;
  letter-spacing: .02em;
  margin-bottom: 8px;
}
.rich-flow__step-title {
  font-size: 17px;
  font-weight: 900;
  color: var(--rich-text);
  margin-bottom: 6px;
}
.rich-flow__step-text {
  font-size: 13px;
  color: var(--rich-muted);
  line-height: 1.8;
}

/* スパイン上のドット */
.rich-flow__dot {
  position: absolute;
  left: 50%;
  transform: translateX(-50%);
  width: 14px; height: 14px;
  border-radius: 50%;
  background: var(--rich-green);
  border: 3px solid var(--rich-bg);
  box-shadow: 0 0 0 3px rgba(0,201,141,.3);
}


/* ====================================
   RICH STRENGTHS — グラデーションカード
==================================== */
.rich-strengths {
  padding: 120px 0;
  background: var(--rich-navy);
  position: relative;
  overflow: hidden;
}
.rich-strengths::after {
  content: '';
  position: absolute;
  inset: 0;
  background-image: radial-gradient(circle, rgba(0,201,141,.06) 1px, transparent 1px);
  background-size: 36px 36px;
  pointer-events: none;
}

.rich-strengths .rich-h2 { color: #fff; }

.rich-strengths__grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 20px;
  margin-top: 56px;
}

.rich-str-card {
  background: rgba(255,255,255,.04);
  border: 1px solid rgba(255,255,255,.08);
  border-radius: 24px;
  padding: 40px 32px 36px;
  position: relative;
  overflow: hidden;
  transition: all .4s var(--rich-easing);
}
.rich-str-card:hover {
  background: rgba(255,255,255,.08);
  border-color: rgba(0,201,141,.2);
  transform: translateY(-6px);
  box-shadow: 0 40px 80px rgba(0,0,0,.3);
}

.rich-str-card__glow {
  position: absolute;
  width: 200px; height: 200px;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(0,201,141,.15) 0%, transparent 70%);
  top: -80px; right: -80px;
  pointer-events: none;
  opacity: 0;
  transition: opacity .4s;
}
.rich-str-card:hover .rich-str-card__glow { opacity: 1; }

.rich-str-card__icon {
  width: 64px; height: 64px;
  border-radius: 18px;
  background: linear-gradient(135deg, rgba(0,201,141,.18), rgba(14,207,195,.08));
  border: 1px solid rgba(0,201,141,.2);
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 24px;
  color: var(--rich-green);
}
.rich-str-card__icon svg { width: 30px; height: 30px; }

.rich-str-card__num {
  font-size: 11px;
  font-weight: 800;
  letter-spacing: .18em;
  color: var(--rich-green);
  margin-bottom: 12px;
}
.rich-str-card__title {
  font-size: 20px;
  font-weight: 900;
  color: #fff;
  margin-bottom: 16px;
  line-height: 1.35;
}
.rich-str-card__text {
  font-size: 14px;
  color: rgba(255,255,255,.55);
  line-height: 1.85;
  margin-bottom: 24px;
}
.rich-str-card__tag {
  display: inline-block;
  font-size: 10px;
  font-weight: 800;
  letter-spacing: .12em;
  color: var(--rich-green);
  background: rgba(0,201,141,.1);
  border: 1px solid rgba(0,201,141,.2);
  padding: 4px 12px;
  border-radius: 99px;
}


/* ====================================
   RICH VOICE — 大型クォート
==================================== */
.rich-voice {
  padding: 120px 0;
  position: relative;
  overflow: hidden;
}
.rich-voice__bg {
  position: absolute;
  inset: 0;
  background-image: url('../images/photos/1497366216548-37526070297c_1920.jpg');
  background-size: cover;
  background-position: center;
  background-attachment: fixed;
}
.rich-voice__bg::after {
  content: '';
  position: absolute;
  inset: 0;
  background: linear-gradient(135deg, rgba(11,27,48,.95) 0%, rgba(10,40,28,.93) 100%);
}
.rich-voice .container { position: relative; z-index: 1; }

.rich-voice__grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
  margin-top: 56px;
}

.rich-voice-card {
  background: rgba(255,255,255,.05);
  border: 1px solid rgba(255,255,255,.1);
  border-radius: 24px;
  padding: 36px 32px;
  backdrop-filter: blur(20px);
  transition: all .4s var(--rich-easing);
  position: relative;
}
.rich-voice-card:hover {
  background: rgba(255,255,255,.09);
  border-color: rgba(0,201,141,.25);
  transform: translateY(-6px);
  box-shadow: 0 40px 80px rgba(0,0,0,.3);
}

.rich-voice-card__quote {
  font-size: 96px;
  font-family: Georgia, serif;
  line-height: .7;
  color: rgba(0,201,141,.2);
  margin-bottom: 20px;
  display: block;
}

.rich-voice-card__text {
  font-size: 14px;
  color: rgba(255,255,255,.75);
  line-height: 1.9;
  margin-bottom: 28px;
}

.rich-voice-card__kpi {
  background: linear-gradient(135deg, rgba(0,201,141,.12), rgba(14,207,195,.06));
  border: 1px solid rgba(0,201,141,.2);
  border-radius: 12px;
  padding: 18px 20px;
  display: flex;
  align-items: baseline;
  gap: 10px;
  margin-bottom: 28px;
}
.rich-voice-card__kpi-num {
  font-size: 40px;
  font-weight: 900;
  color: #fff;
  line-height: 1;
  letter-spacing: -.05em;
}
.rich-voice-card__kpi-unit { font-size: 22px; font-weight: 700; color: rgba(255,255,255,.6); }
.rich-voice-card__kpi-label {
  font-size: 13px;
  font-weight: 600;
  color: rgba(255,255,255,.6);
}

.rich-voice-card__author {
  display: flex;
  align-items: center;
  gap: 14px;
}
.rich-voice-card__avatar {
  width: 48px; height: 48px;
  border-radius: 50%;
  background: rgba(0,201,141,.12);
  border: 2px solid rgba(0,201,141,.25);
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
  color: var(--rich-green);
}
.rich-voice-card__avatar svg { width: 26px; height: 26px; }
.rich-voice-card__name {
  font-size: 14px;
  font-weight: 700;
  color: #fff;
  margin-bottom: 2px;
}
.rich-voice-card__role { font-size: 12px; color: rgba(255,255,255,.45); }
.rich-voice-card__stars { color: #FBBF24; font-size: 12px; margin-top: 3px; }


/* ====================================
   RICH PURCHASE — スプリットスクリーン
==================================== */
.rich-purchase {
  padding: 120px 0;
  background: var(--rich-white);
}

.rich-purchase__grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 20px;
  margin-top: 56px;
}

.rich-purchase-card {
  border-radius: 24px;
  overflow: hidden;
  position: relative;
  min-height: 420px;
  display: flex;
  flex-direction: column;
  justify-content: flex-end;
  cursor: pointer;
  transition: transform .4s var(--rich-easing), box-shadow .4s ease;
}
.rich-purchase-card:hover { transform: translateY(-6px); box-shadow: 0 32px 80px rgba(0,0,0,.16); }

.rich-purchase-card__img {
  position: absolute;
  inset: 0;
  width: 100%; height: 100%;
  object-fit: cover;
  transition: transform .8s var(--rich-easing);
}
.rich-purchase-card:hover .rich-purchase-card__img { transform: scale(1.05); }

.rich-purchase-card__overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(to top, rgba(11,27,48,.98) 0%, rgba(11,27,48,.4) 55%, transparent 100%);
}

.rich-purchase-card__body {
  position: relative;
  z-index: 2;
  padding: 32px;
}
.rich-purchase-card__badge {
  display: inline-block;
  font-size: 9px;
  font-weight: 800;
  letter-spacing: .16em;
  color: var(--rich-green);
  background: rgba(0,201,141,.12);
  border: 1px solid rgba(0,201,141,.25);
  padding: 4px 12px;
  border-radius: 99px;
  margin-bottom: 12px;
}
.rich-purchase-card__label {
  font-size: 20px;
  font-weight: 900;
  color: #fff;
  line-height: 1.35;
  margin-bottom: 12px;
}
.rich-purchase-card__text {
  font-size: 13px;
  color: rgba(255,255,255,.6);
  line-height: 1.8;
}

.rich-purchase__cta {
  text-align: center;
  margin-top: 48px;
}
.rich-purchase__cta-btn {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  background: var(--rich-green);
  color: #fff;
  font-size: 15px;
  font-weight: 800;
  letter-spacing: .04em;
  padding: 18px 48px;
  border-radius: 99px;
  transition: all .3s var(--rich-easing);
  box-shadow: 0 8px 32px rgba(0,201,141,.35);
}
.rich-purchase__cta-btn:hover {
  background: var(--rich-green-dark);
  box-shadow: 0 12px 40px rgba(0,201,141,.45);
  transform: translateY(-2px);
  gap: 16px;
}


/* ====================================
   RICH NUMBERS — サークルスタッツ
==================================== */
.rich-numbers {
  padding: 120px 0;
  background: var(--rich-navy);
  position: relative;
  overflow: hidden;
}
.rich-numbers::before {
  content: '';
  position: absolute;
  inset: 0;
  background-image: radial-gradient(circle, rgba(0,201,141,.07) 1px, transparent 1px);
  background-size: 40px 40px;
}

.rich-numbers .rich-h2 { color: #fff; }

.rich-numbers__grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 32px;
  margin-top: 64px;
}

.rich-num-card {
  text-align: center;
  position: relative;
}

.rich-num-card__ring-wrap {
  position: relative;
  width: 160px;
  height: 160px;
  margin: 0 auto 24px;
}

.rich-num-card__ring {
  width: 160px;
  height: 160px;
  transform: rotate(-90deg);
}
.rich-num-ring-bg { fill: none; stroke: rgba(255,255,255,.08); stroke-width: 6; }
.rich-num-ring-fg {
  fill: none;
  stroke: var(--rich-green);
  stroke-width: 6;
  stroke-linecap: round;
  stroke-dasharray: 440;
  stroke-dashoffset: 110; /* 75% filled */
  transition: stroke-dashoffset 1.5s var(--rich-easing);
  filter: drop-shadow(0 0 8px rgba(0,201,141,.4));
}

.rich-num-card__inner {
  position: absolute;
  inset: 0;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
}
.rich-num-card__value {
  font-size: 28px;
  font-weight: 900;
  color: #fff;
  line-height: 1;
  letter-spacing: -.04em;
}
.rich-num-card__unit {
  font-size: 14px;
  font-weight: 700;
  color: var(--rich-green);
}

.rich-num-card__label {
  font-size: 14px;
  font-weight: 700;
  color: rgba(255,255,255,.85);
  margin-bottom: 4px;
}
.rich-num-card__note {
  font-size: 11px;
  color: rgba(255,255,255,.4);
}
.rich-numbers__footnote {
  text-align: center;
  font-size: 11px;
  color: rgba(255,255,255,.3);
  margin-top: 32px;
  letter-spacing: .04em;
}


/* ====================================
   RICH OFFICES — リージョングリッド
==================================== */
.rich-offices {
  padding: 120px 0;
  background: var(--rich-bg);
}

.rich-offices__layout {
  display: grid;
  grid-template-columns: 300px 1fr;
  gap: 32px;
  align-items: start;
  margin-top: 56px;
}

.rich-offices__hq {
  background: var(--rich-navy);
  border-radius: 24px;
  padding: 36px;
  color: #fff;
  position: relative;
  overflow: hidden;
}
.rich-offices__hq::before {
  content: '';
  position: absolute;
  inset: 0;
  background: radial-gradient(ellipse 80% 60% at 100% 0%, rgba(0,201,141,.15) 0%, transparent 60%);
  pointer-events: none;
}
.rich-offices__hq-badge {
  display: inline-block;
  font-size: 9px;
  font-weight: 800;
  letter-spacing: .16em;
  color: var(--rich-green);
  background: rgba(0,201,141,.12);
  border: 1px solid rgba(0,201,141,.2);
  padding: 3px 10px;
  border-radius: 99px;
  margin-bottom: 20px;
}
.rich-offices__hq-entry {
  border-bottom: 1px solid rgba(255,255,255,.1);
  padding-bottom: 18px;
  margin-bottom: 18px;
}
.rich-offices__hq-entry:last-child { border-bottom: none; margin-bottom: 0; }
.rich-offices__hq-name {
  font-size: 15px;
  font-weight: 800;
  color: #fff;
  margin-bottom: 6px;
}
.rich-offices__hq-addr {
  font-size: 12.5px;
  color: rgba(255,255,255,.55);
  line-height: 1.6;
  margin-bottom: 6px;
}
.rich-offices__hq-tel {
  font-size: 14px;
  font-weight: 700;
  color: var(--rich-green);
}

.rich-offices__sub {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 0;
  border: 1px solid var(--rich-border);
  border-radius: 20px;
  overflow: hidden;
  background: var(--rich-white);
}

.rich-office-row {
  display: grid;
  grid-template-columns: 1fr auto;
  align-items: center;
  gap: 8px;
  padding: 18px 22px;
  border-bottom: 1px solid var(--rich-border);
  border-right: 1px solid var(--rich-border);
  transition: background .15s;
}
.rich-office-row:nth-child(even) { border-right: none; }
.rich-office-row:nth-last-child(-n+2) { border-bottom: none; }
.rich-office-row:hover { background: var(--rich-bg); }

.rich-office-row__name {
  font-size: 13px;
  font-weight: 700;
  color: var(--rich-text);
  margin-bottom: 3px;
}
.rich-office-row__addr {
  font-size: 11.5px;
  color: var(--rich-muted);
  line-height: 1.5;
}
.rich-office-row__tel {
  font-size: 12px;
  font-weight: 700;
  color: var(--rich-green);
  white-space: nowrap;
}
.rich-office-row--recruit {
  background: rgba(0,201,141,.03);
  border: 1px dashed rgba(0,201,141,.25) !important;
  border-radius: 12px;
  margin: 8px;
  grid-column: span 2;
}
.rich-office-row__recruit-label {
  font-size: 11px;
  font-weight: 800;
  color: var(--rich-green);
  letter-spacing: .08em;
  margin-bottom: 3px;
}
.rich-office-row__recruit-btn {
  font-size: 11px;
  font-weight: 800;
  color: #fff;
  background: var(--rich-green);
  padding: 6px 16px;
  border-radius: 99px;
  white-space: nowrap;
  transition: background .2s;
}
.rich-office-row__recruit-btn:hover { background: var(--rich-green-dark); }


/* ====================================
   RICH COMPANY — フィロソフィバナー
==================================== */
.rich-company {
  padding: 120px 0;
  background: var(--rich-white);
}

.rich-company__inner {
  display: grid;
  grid-template-columns: 3fr 2fr;
  gap: 48px;
  align-items: start;
}

.rich-company__table {
  width: 100%;
  border-collapse: collapse;
}
.rich-company__table tr {
  border-bottom: 1px solid var(--rich-border);
}
.rich-company__table tr:last-child { border-bottom: none; }
.rich-company__table th {
  padding: 16px 24px 16px 0;
  font-size: 13px;
  font-weight: 700;
  color: var(--rich-muted);
  white-space: nowrap;
  vertical-align: top;
  width: 140px;
}
.rich-company__table td {
  padding: 16px 0;
  font-size: 14px;
  color: var(--rich-text);
  line-height: 1.75;
}
.rich-company__table td a { color: var(--rich-green); font-weight: 600; }
.rich-company__table td a:hover { color: var(--rich-green-dark); }

.rich-philosophy {
  background: linear-gradient(135deg, #0B1B30 0%, #0D3B2F 60%, #0B2A20 100%);
  border-radius: 28px;
  padding: 52px 44px;
  position: relative;
  overflow: hidden;
}
.rich-philosophy::before {
  content: '';
  position: absolute;
  top: -80px; right: -80px;
  width: 360px; height: 360px;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(0,201,141,.18) 0%, transparent 70%);
  pointer-events: none;
}
.rich-philosophy::after {
  content: '"';
  position: absolute;
  bottom: -30px; left: 32px;
  font-size: 260px;
  font-weight: 900;
  color: rgba(0,201,141,.06);
  line-height: 1;
  font-family: Georgia, serif;
  pointer-events: none;
}

.rich-philosophy__tag {
  display: inline-block;
  font-size: 10px;
  font-weight: 800;
  letter-spacing: .2em;
  color: var(--rich-green);
  border: 1px solid rgba(0,201,141,.3);
  padding: 4px 14px;
  border-radius: 99px;
  margin-bottom: 24px;
}

.rich-philosophy__catch {
  font-size: clamp(20px, 2.5vw, 26px);
  font-weight: 900;
  color: #fff;
  line-height: 1.6;
  letter-spacing: -.02em;
  margin-bottom: 24px;
  padding-bottom: 24px;
  border-bottom: 1px solid rgba(255,255,255,.12);
  position: relative;
}

.rich-philosophy__body {
  display: flex;
  flex-direction: column;
  gap: 14px;
  position: relative;
}
.rich-philosophy__body p {
  font-size: 14px;
  color: rgba(255,255,255,.65);
  line-height: 1.95;
}


/* ====================================
   RICH CONTACT — ドラマティックCTA
==================================== */
.rich-contact {
  padding: 140px 0;
  background: var(--rich-navy);
  position: relative;
  overflow: hidden;
  text-align: center;
}
.rich-contact::before {
  content: '';
  position: absolute;
  inset: 0;
  background:
    radial-gradient(ellipse 80% 60% at 50% 0%, rgba(0,201,141,.12) 0%, transparent 60%),
    radial-gradient(ellipse 60% 80% at 80% 80%, rgba(14,207,195,.08) 0%, transparent 60%);
  pointer-events: none;
}

.rich-contact__deco {
  position: absolute;
  bottom: -100px;
  left: 50%;
  transform: translateX(-50%);
  width: 800px; height: 400px;
  border-radius: 50%;
  background: radial-gradient(ellipse, rgba(0,201,141,.08) 0%, transparent 70%);
  pointer-events: none;
}

.rich-contact .container { position: relative; z-index: 1; }

.rich-contact__tag {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-size: 10px;
  font-weight: 800;
  letter-spacing: .22em;
  color: var(--rich-green);
  margin-bottom: 24px;
}
.rich-contact__tag::before,
.rich-contact__tag::after {
  content: '';
  display: block;
  width: 32px;
  height: 1px;
  background: rgba(0,201,141,.4);
}

.rich-contact__title {
  font-size: clamp(36px, 6vw, 72px);
  font-weight: 900;
  color: #fff;
  line-height: 1.15;
  letter-spacing: -.04em;
  margin-bottom: 20px;
}

.rich-contact__desc {
  font-size: 17px;
  color: rgba(255,255,255,.6);
  line-height: 1.85;
  max-width: 560px;
  margin: 0 auto 52px;
}

.rich-contact__actions {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 28px;
}

.rich-contact__btn {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  background: var(--rich-green);
  color: #fff;
  font-size: 17px;
  font-weight: 800;
  letter-spacing: .06em;
  padding: 22px 64px;
  border-radius: 99px;
  transition: all .3s var(--rich-easing);
  box-shadow: 0 8px 40px rgba(0,201,141,.4);
}
.rich-contact__btn:hover {
  background: var(--rich-green-dark);
  box-shadow: 0 16px 60px rgba(0,201,141,.5);
  transform: translateY(-3px);
  gap: 18px;
}

.rich-contact__tel-wrap {
  opacity: .6;
  transition: opacity .3s;
}
.rich-contact__tel-wrap:hover { opacity: 1; }
.rich-contact__tel-label {
  font-size: 12px;
  color: rgba(255,255,255,.5);
  letter-spacing: .06em;
  margin-bottom: 6px;
}
.rich-contact__tel-num {
  font-size: 22px;
  font-weight: 800;
  color: #fff;
  letter-spacing: .04em;
}
.rich-contact__tel-hours {
  font-size: 12px;
  color: rgba(255,255,255,.4);
  margin-top: 4px;
}


/* ====================================
   RESPONSIVE
==================================== */
@media (max-width: 1100px) {
  .rich-news__layout { grid-template-columns: 1fr; }
  .rich-news__featured { min-height: 400px; }
  .rich-regulation__grid { grid-template-columns: repeat(2, 1fr); }
  .rich-bento { grid-template-columns: repeat(2, 1fr); }
  .rich-bento-card--wide { grid-column: span 1; }
  .rich-co2-card { grid-template-columns: 1fr; }
  .rich-co2-card__right { grid-template-columns: repeat(4, 1fr); }
  .rich-criteria__grid { grid-template-columns: repeat(2, 1fr); }
  .rich-strengths__grid { grid-template-columns: repeat(2, 1fr); }
  .rich-numbers__grid { grid-template-columns: repeat(2, 1fr); }
  .rich-company__inner { grid-template-columns: 1fr; }
  .rich-offices__layout { grid-template-columns: 1fr; }
}

@media (max-width: 768px) {
  .rich-news__layout { grid-template-columns: 1fr; }
  .rich-regulation__grid { grid-template-columns: 1fr; }
  .rich-bento { grid-template-columns: 1fr; }
  .rich-bento-card--wide,
  .rich-bento-card--tall { grid-column: span 1; grid-row: span 1; }
  .rich-criteria__grid { grid-template-columns: 1fr; gap: 0; }
  .rich-flow__wrap { grid-template-columns: 1fr; }
  .rich-flow__spine { display: none; }
  .rich-flow__steps-right .rich-flow__step { flex-direction: row; }
  .rich-strengths__grid { grid-template-columns: 1fr; }
  .rich-voice__grid { grid-template-columns: 1fr; }
  .rich-purchase__grid { grid-template-columns: 1fr; }
  .rich-numbers__grid { grid-template-columns: repeat(2, 1fr); }
  .rich-offices__sub { grid-template-columns: 1fr; }
  .rich-office-row { border-right: none !important; }
  .rich-service__header { flex-direction: column; align-items: flex-start; }
  .rich-co2-card { padding: 24px; }
  .rich-co2-card__right { grid-template-columns: repeat(2, 1fr); }
}

@media (max-width: 480px) {
  .rich-numbers__grid { grid-template-columns: 1fr; }
  .rich-num-card__ring-wrap { width: 130px; height: 130px; }
  .rich-num-card__ring { width: 130px; height: 130px; }
}
