/* ==========================================================================
   Style unification (別バージョン)
   - 3D猫の世界を、線画イラスト＋ティール基調のパレットに統一
   ========================================================================== */

:root {
  --ink: #2e3a38;
  --muted: #5f6a66;
  --aqua: #3d7a82;
  --aqua-dark: #0f4c52;
  --pink: #dd8f7a;
  --paper: #fdfcf9;
  --lavender: #e9f2ec;
  --line: #d9e3dc;
}

.header {
  background: #ffffff;
  border-bottom: 1px solid var(--line);
}

/* --- ヒーロー：白地に線画を溶け込ませる --- */
.hero {
  background: #ffffff;
}
.hero-copy {
  background: none;
}
.hero-visual .hero-main-img {
  position: absolute;
  right: 1%;
  top: 50%;
  transform: translateY(-52%);
  height: 88%;
  width: auto;
  max-width: 64%;
  object-fit: contain;
}
.hero-bottom {
  color: #466158;
}

/* --- 連携ステージ --- */
.approach-stage {
  background: #ffffff;
}
.approach-stage .support-scene-img {
  position: absolute;
  top: 0;
  bottom: 0;
  right: 0;
  height: 100%;
  width: 64%;
  object-fit: contain;
  object-position: center;
  z-index: 0;
}
.approach-shade {
  background: linear-gradient(90deg, rgba(255, 255, 255, 0.95) 0%, rgba(255, 255, 255, 0.55) 30%, transparent 55%);
}

/* --- 入口カード：ミント／ピーチ／スカイのパステルに --- */
.entrance-card {
  background: #e9f4ee;
}
.entrance-card:nth-child(2) {
  background: #fbeee6;
}
.entrance-card:nth-child(3) {
  background: #e8f0f6;
}

/* --- 専門家の役割 --- */
.role-cat-frame {
  background: #ffffff;
  border: 1px solid #dce8e2;
}
.role-symbol.aqua {
  background: #e2f0e9;
  color: #0f4c52;
}
.role-symbol.pink {
  background: #fbe9df;
  color: #b96a4e;
}
.role-symbol.yellow {
  background: #faf0d1;
  color: #856a20;
}

/* --- 連携・相談 --- */
.partnership {
  background: #eef4f0;
}
.partner-card {
  border-top-color: #dd8f7a;
}
.partner-card.company-card {
  border-top-color: #0f4c52;
}
.partner-card li:before {
  color: #0f4c52;
}
.contact {
  background: #e9f2ec;
}
.nav-cta,
.contact-panel,
.patient-guide-cta {
  background: #0f4c52;
}
.nav-cta:hover,
.contact-panel:hover,
.patient-guide-cta:hover {
  background: #0a363b;
}
.contact-mark {
  color: #f2b544;
}
.contact-team span {
  background: #ffffff;
}

@media (max-width: 760px) {
  .hero-visual .hero-main-img {
    right: 0;
    left: 0;
    margin: auto;
    top: 8px;
    transform: none;
    height: 100%;
    width: 100%;
    max-width: 100%;
  }
  .approach-stage .support-scene-img {
    width: 100%;
    object-position: 50% 16%;
  }
}

/* 連携ステージ：2カラム構成に組み直し、縦の余白を締める */
.approach-stage {
  height: auto;
  min-height: 0;
  display: grid;
  grid-template-columns: 1.25fr 1.1fr;
  align-items: center;
  gap: 24px;
  padding: 72px 5.2% 64px;
  overflow: visible;
}
.approach-stage .support-scene-img {
  position: static;
  width: 100%;
  height: auto;
}
.approach-shade {
  display: none;
}
.approach-story {
  position: static;
  pointer-events: auto;
}
@media (max-width: 760px) {
  .approach-stage {
    grid-template-columns: 1fr;
    padding: 48px 6% 40px;
    gap: 8px;
  }
}

/* 役割イラスト：3D猫用の位置ずらし・拡大を解除し、枠の中央に */
.role-cat {
  width: 100%;
  height: 100%;
  max-width: 100%;
  object-fit: contain;
  object-position: 50% 50%;
  transform: none;
}

/* 相談セクションの丸アイコンも猫用のずらしを解除 */
.contact-team img {
  transform: none;
}

/* 連携ステージ：テキスト左・イラスト右に明示配置 */
.approach-story {
  grid-column: 1;
  grid-row: 1;
}
.approach-stage .support-scene-img {
  grid-column: 2;
  grid-row: 1;
}
@media (max-width: 760px) {
  .approach-story,
  .approach-stage .support-scene-img {
    grid-column: 1;
  }
  .approach-stage .support-scene-img {
    grid-row: 2;
  }
}

/* 連携ステージ見出し：列幅に合わせて改行を整える */
.approach-story h2 {
  font-size: clamp(30px, 3.4vw, 44px);
}

/* 患者パネル：アクションが1つだけのときは全幅にする */
.patient-actions > :only-child {
  grid-column: 1 / -1;
}

/* 「あなたは？」見出しを中央寄せ */
#entrance-title {
  text-align: center;
}
.section-intro.compact {
  text-align: center;
}

/* Carbon最終ブラッシュアップ（採用分：余白リズム） */
#companies.patient-guide {
  padding-top: 0;
  padding-bottom: 0;
}
.entrances {
  padding-top: clamp(48px, 6vw, 76px);
  padding-bottom: clamp(56px, 7vw, 88px);
}
.audience-tabs {
  margin-top: 24px;
  gap: 20px;
}
.audience-tab {
  border-width: 2px;
}
#for-you.patient-guide {
  padding-top: clamp(40px, 5vw, 64px);
  padding-bottom: clamp(56px, 7vw, 88px);
}
.steps {
  padding-top: clamp(64px, 8vw, 96px);
  padding-bottom: clamp(64px, 8vw, 96px);
}
.contact {
  padding: clamp(56px, 7vw, 88px) 25px;
}
