:root {
  --raysco-primary: #0d5c8f;      /* メインの医療ブルー */
  --raysco-dark: #0a3d5e;
  --raysco-accent: #17a2b8;       /* アクセントティール */
  --raysco-light: #f4f9fc;        /* 淡い背景色 */
  --raysco-gold: #c9a227;         /* ハイライトゴールド */
}

body {
  font-family: "Hiragino Kaku Gothic ProN", "Hiragino Sans", Meiryo,
    "Yu Gothic", sans-serif;
  color: #333;
}

/* ---------- ナビゲーション ---------- */
.navbar-brand .brand-raysco {
  font-weight: 800;
  letter-spacing: 0.12em;
  color: var(--raysco-primary) !important;
}

.navbar { background-color: #fff; box-shadow: 0 2px 10px rgba(13, 92, 143, 0.12); }

/* ---------- ヒーロー（ページ先頭） ---------- */
.hero {
  background: linear-gradient(135deg, var(--raysco-dark) 0%, var(--raysco-primary) 60%, #1a7ab5 100%);
  color: #fff;
  padding: 90px 0 80px;
}

.hero h1 { font-weight: 700; letter-spacing: 0.04em; }
.hero .lead { opacity: 0.92; max-width: 760px; }

.hero-sub {
  background: linear-gradient(135deg, var(--raysco-primary), #1a7ab5);
  color: #fff;
  padding: 64px 0 56px;
}

/* ---------- セクション見出し ---------- */
.section-title {
  font-weight: 700;
  color: var(--raysco-dark);
  position: relative;
  padding-bottom: 14px;
  margin-bottom: 32px;
}

.section-title::after {
  content: "";
  position: absolute;
  left: 0; bottom: 0;
  width: 64px; height: 4px;
  background: var(--raysco-accent);
  border-radius: 2px;
}

.section-alt { background-color: var(--raysco-light); }

/* ---------- ナンバー（主要数値）カード ---------- */
.stat-card {
  border: none;
  border-top: 4px solid var(--raysco-accent);
  text-align: center;
}

.stat-card .stat-value {
  font-size: 2.1rem;
  font-weight: 800;
  color: var(--raysco-primary);
  line-height: 1.2;
}

.stat-card .stat-label { color: #555; }

/* ---------- 製品カード ---------- */
.product-card {
  transition: transform 0.25s ease, box-shadow 0.25s ease;
  border: none;
  overflow: hidden;
}

/*.product-card:hover {
  transform: translateY(-6px);
  box-shadow: 0 12px 28px rgba(13, 92, 143, 0.18);
}*/

/* ---------- タイムライン（企業発展の歩み） ---------- */
.timeline { list-style: none; position: relative; padding-left: 0; }

.timeline::before {
  content: "";
  position: absolute;
  /*left: 50%; top: 0; bottom: 0;*/
  left: 9px;
  top: 0;
  bottom: 0;
  width: 3px;
  background: linear-gradient(var(--raysco-accent), var(--raysco-primary));
  transform: translateX(-50%);
}

.timeline-item {
    position: relative;
    /*width: 50%;*/
    padding: 0 44px 48px 0;
}
/*.timeline-item:nth-child(even) { margin-left: 50%; padding: 0 0 48px 44px; }*/

/*.timeline-item > * {
    margin-left: 2rem;
}*/

.timeline-item::after {
  content: "";
  position: absolute;
  top: 6px;
  /*right: -9px;*/
  width: 18px; height: 18px;
  background: #fff;
  border: 4px solid var(--raysco-accent);
  border-radius: 50%;
  z-index: 1;
}

/*.timeline-item:nth-child(even)::after { right: auto; left: -9px; }*/

.timeline-period {
  display: inline-block;
  background: var(--raysco-primary);
  color: #fff;
  font-weight: 700;
  padding: 4px 14px;
  border-radius: 20px;
  margin-bottom: 10px;
}

@media (max-width: 767.98px) {
  .timeline::before { left: 12px; }
  .timeline-item, .timeline-item:nth-child(even) {
    width: 100%; margin-left: 0; padding: 0 0 40px 44px;
  }
  .timeline-item::after, .timeline-item:nth-child(even)::after { left: 3px; right: auto; }
}

/* ---------- 比較表 ---------- */
.table-compare th {
  background-color: var(--raysco-primary);
  color: #fff;
  font-weight: 600;
}

.table-compare .col-highlight {
  background-color: #e3f2fa;
  font-weight: 700;
  color: var(--raysco-dark);
  border-left: 2px solid var(--raysco-accent);
  border-right: 2px solid var(--raysco-accent);
}

/* ---------- テクノロジーセクション ---------- */
.tech-block { border-left: 4px solid var(--raysco-accent); }

.badge-tech {
  background-color: var(--raysco-light);
  color: var(--raysco-primary);
  font-weight: 600;
  font-size: 0.85rem;
}

/* ---------- 番号付きステップ（特長など） ---------- */
.step-number {
  display: inline-flex;
  align-items: center; justify-content: center;
  width: 44px; height: 44px;
  border-radius: 50%;
  background: var(--raysco-primary);
  color: #fff;
  font-weight: 800;
  font-size: 1.1rem;
  flex-shrink: 0;
}

/* ---------- ダミー画像（holder.js） ---------- */
img[alt*="ダミー"] {
  background-color: #dfe9f0;
}

.img-holder {
  width: 100%;
  object-fit: cover;
  border-radius: 0.5rem;
}

/* ---------- CTA バナー ---------- */
.cta-banner {
  background: linear-gradient(120deg, var(--raysco-dark), var(--raysco-primary));
  /*color: #fff;*/
}

.btn-raysco {
  background-color: var(--raysco-accent);
  border-color: var(--raysco-accent);
  color: #fff;
  font-weight: 600;
}

.btn-raysco:hover { background-color: #12839a; border-color: #12839a; color: #fff; }

/* ---------- フッター ---------- */
footer {
  background-color: var(--raysco-dark);
  color: #cfe3ef;
}

footer a { color: #9fd0e8; text-decoration: none; }
footer a:hover { color: #fff; text-decoration: underline; }
footer .footer-heading {
  color: #fff; font-weight: 700; letter-spacing: 0.06em;
}

/* ---------- 受賞歴リスト ---------- */
.award-list li { margin-bottom: 10px; }

/* ---------- ページ内アンカーの余白 ---------- */
section[id] { scroll-margin-top: 84px; }
/* ---------- ヒーロー内統計 (hero-stat) ---------- */
.hero .stat-value { font-weight: 800; color: #fff; line-height: 1.25; }
.hero .stat-label { font-size: .78rem; opacity: .85; }

/* ---------- CTAバンド (cta-dark) ---------- */
.cta-dark { background: linear-gradient(120deg, var(--raysco-dark), var(--raysco-primary)); color: #fff; }

/* ---------- タイムラインカード (会社沿革) ---------- */
.timeline-card { border-left: 4px solid var(--raysco-accent); }

/* ---------- ビジョン ---------- */
.vision-card {
    /*background: linear-gradient(150deg, #093a68, #1a6cb4);*/
    background: linear-gradient(135deg, var(--raysco-dark) 0%, var(--raysco-primary) 60%, #1a7ab5 100%);

    div{
        font-size: 0.875rem;
    }
 }

 .subsection-title{
     color: var(--raysco-dark);
 }
