/* =========================================================
   Aperio common.css (clean / deduped)
   - 重複定義を整理
   - Lightセクション対応
   - Hero(PC: video / SP: poster)
   - アンカーずれ対策
   - 見出し下線：最後に“1つだけ”定義（消えない）
========================================================= */

/* ============ Root / Reset ============ */
:root{
  --bg:#0b1220;
  --surface:rgba(255,255,255,.06);
  --surface-2:rgba(255,255,255,.10);

  --text:rgba(255,255,255,.92);
  --muted:rgba(255,255,255,.80);
  --muted-2:rgba(255,255,255,.65);

  --line:rgba(255,255,255,.14);
  --accent:#7bb7ff;
  --shadow:0 24px 60px rgba(0,0,0,.38);

  --radius:16px;
  --max:1120px;
  --pad:clamp(16px,3.4vw,28px);

  --font:ui-sans-serif,system-ui,-apple-system,"Hiragino Sans","Noto Sans JP","Segoe UI",Roboto,Arial,sans-serif;
}

*{ box-sizing:border-box; }
html{
  scroll-behavior:smooth;
  background:#070b14; /* 白チラ防止 */
}
/* 固定ヘッダー分のアンカー補正（CSS側） */
html{ scroll-padding-top: 92px; }
section[id]{ scroll-margin-top: 92px; }
@media (max-width: 920px){
  html{ scroll-padding-top: 108px; }
  section[id]{ scroll-margin-top: 108px; }
}

body{
  margin:0;
  font-family:var(--font);
  color:var(--text);
  line-height:1.8;
  min-height:100vh;
  background:
    radial-gradient(1200px 600px at 20% -10%, rgba(123,183,255,.22), transparent 60%),
    radial-gradient(900px 520px at 85% 0%, rgba(156,209,255,.16), transparent 55%),
    radial-gradient(900px 720px at 35% 110%, rgba(123,183,255,.10), transparent 60%),
    linear-gradient(180deg,#070b14 0%,#0b1220 50%,#070b14 100%);
  background-color:#070b14;
}

a{ color:inherit; text-decoration:none; }
.container{ width:min(var(--max), calc(100% - (var(--pad)*2))); margin:0 auto; }

/* Skip link */
.skip-link{
  position:absolute;left:-9999px;top:auto;width:1px;height:1px;overflow:hidden;
}
.skip-link:focus{
  left:16px;top:16px;width:auto;height:auto;padding:10px 12px;
  background:#111a2d;border:1px solid var(--line);border-radius:10px;z-index:9999;
}

/* Focus */
a:focus,button:focus,input:focus,select:focus,textarea:focus{
  outline: 2px solid #7bb7ff;
  outline-offset: 2px;
}
.nav a:focus{ outline:none; }
.nav a:focus-visible{
  outline: 2px solid rgba(122,167,255,.6);
  outline-offset: 2px;
  border-radius: 8px;
}

/* ============ Header / Nav ============ */
.header{
  position:sticky;top:0;z-index:50;
  backdrop-filter:blur(14px);
  background:rgba(7,11,20,.55);
  border-bottom:1px solid rgba(255,255,255,.10);
}
.nav{
  display:flex;align-items:center;justify-content:space-between;
  gap:18px;padding:14px 0;
}

.brand{
  display:flex;align-items:center;gap:10px;
  min-width:0;overflow:hidden;
}
.logo-img{
  width:35px;height:35px;display:block;object-fit:contain;border-radius:50%;
  background:#ffffff;flex-shrink:0;
}

.brand-name{ font-weight:650; letter-spacing:.02em; }
.brand-sub{ font-size:12px; color:var(--muted-2); margin-top:2px; }

.navlinks{ display:flex; gap:10px; align-items:center; }
.navlinks a{
  color:var(--muted);
  font-size:14px;
  padding:10px 10px;
  border-radius:10px;
}
.navlinks a:hover{ color:var(--text); background:rgba(255,255,255,.06); }

.nav-actions{ display:flex; gap:10px; align-items:center; }

.btn{
  display:inline-flex;align-items:center;justify-content:center;gap:8px;
  padding:10px 14px;min-height:44px;border-radius:12px;
  border:1px solid rgba(255,255,255,.14);
  background:rgba(255,255,255,.06);
  color:var(--text);
  font-size:14px;
  cursor:pointer;
  transition:transform .12s ease, background .12s ease, border-color .12s ease;
}
.btn:hover{ transform:translateY(-1px); background:rgba(255,255,255,.08); border-color:rgba(255,255,255,.22); }
.btn:active{ transform:translateY(0); }

.btn-primary{
  border:1px solid rgba(123,183,255,.55);
  background:linear-gradient(135deg, rgba(123,183,255,.28), rgba(255,255,255,.06));
  box-shadow:0 10px 30px rgba(123,183,255,.25);
}
.btn-ghost{ background:transparent; }

.burger{
  display:none;width:42px;height:42px;border-radius:12px;
}

.mobile{
  display:none;
  border-top:1px solid rgba(255,255,255,.10);
}
.mobile a{
  display:block;padding:14px 0;
  color:var(--muted);
  border-bottom:1px solid rgba(255,255,255,.08);
}
.mobile a:hover{ color:var(--text); }

@media (max-width: 920px){
  .nav{ padding:10px 0; gap:12px; }
  .navlinks{ display:none; }
  .burger{ display:inline-flex; width:40px; height:40px; }
  .mobile{ display:none; }
  .mobile.open{ display:block; }

  .logo-img{ width:28px; height:28px; }
  .brand-name{ font-size:14px; line-height:1.2; }
  .brand-sub{ display:none; }

  .nav-actions .btn-primary{ display:none; }
}

/* ============ Hero ============ */
.hero{
  position:relative;
  overflow:hidden;
  padding:clamp(44px, 6vw, 72px) 0 56px;
  background:linear-gradient(180deg,#070b14 0%,#0b1220 100%);
}

/* 文字の可読性 */
.hero::before{
  content:"";
  position:absolute; inset:0; z-index:1;
  background:linear-gradient(180deg, rgba(7,11,20,.55), rgba(7,11,20,.35));
}

.hero-bg{
  position:absolute; inset:0; z-index:0;
  pointer-events:none;
}
.hero-bg video{
  width:100%; height:100%;
  object-fit:cover;
  object-position:50% 35%;
  opacity:.20;
}

.hero .container{ position:relative; z-index:2; }

.hero-grid{
  display:grid;
  grid-template-columns:1.2fr .8fr;
  gap:clamp(18px,4vw,40px);
  align-items:start;
}
@media (max-width:920px){ .hero-grid{ grid-template-columns:1fr; } }

.kicker{
  display:inline-flex;gap:10px;align-items:center;
  padding:8px 12px;border-radius:999px;
  border:1px solid rgba(255,255,255,.14);
  background:rgba(255,255,255,.06);
  color:var(--muted);
  font-size:13px;
}
.dot{
  width:8px;height:8px;border-radius:999px;background:var(--accent);
  box-shadow:0 0 0 6px rgba(123,183,255,.12);
}

.h1{
  margin:18px 0 14px;
  font-size:clamp(30px,4vw,46px);
  line-height:1.14;
  letter-spacing:.02em;
  font-weight:700;
}
.hero-main{ font-size:1.1em; }

.lead{
  margin:0 0 22px;
  font-size:16px;
  line-height:1.9;
  color:var(--muted);
  max-width:54ch;
}

.hero-actions{
  display:flex;flex-wrap:wrap;gap:10px;
  margin:8px 0 18px;
}
@media (max-width:920px){
  .hero-actions .btn-primary{ font-size:16px; padding:14px 18px; }
}

.meta{
  display:flex;gap:14px;flex-wrap:wrap;
  margin-top:12px;
  color:var(--muted-2);
  font-size:13px;
}

.limited{
  margin-top:14px;
  font-size:14px;
  color:rgba(255,255,255,.68);
  padding-left:12px;
  border-left:2px solid rgba(123,183,255,0.45);
}

.cta-note{
  margin-top:10px;
  font-size:13px;
  color:rgba(255,255,255,0.55);
}

.trust-mini{
  margin-top:14px;
  font-size:13px;
  color:rgba(255,255,255,.72);
  line-height:1.8;
}
@media (max-width:920px){
  .trust-mini{
    display:flex;
    gap:12px;
    flex-wrap:wrap;
    margin-top:12px;
    font-size:12px;
    color:rgba(255,255,255,.78);
  }
  .kicker{
    background: rgba(123,183,255,.10);
    border-color: rgba(123,183,255,.28);
    box-shadow: 0 10px 28px rgba(123,183,255,.14);
  }
}

/* PCで hero → 次セクション間を広げる / SPは詰める */
.hero{ padding-bottom: clamp(56px, 6vw, 96px); }
@media (max-width:920px){ .hero{ padding-bottom:18px; } }

/* SP: poster + 光 */
@media (max-width: 920px){
  .hero-bg{ display:none; }
  .hero{
    padding:34px 0 48px;
    background:
      radial-gradient(520px 280px at 70% 18%, rgba(123,183,255,.18), transparent 60%),
      linear-gradient(180deg, rgba(7,11,20,.78), rgba(7,11,20,.46)),
      url('/img/hero-poster.jpg');
    background-size:cover;
    background-position:50% 35%;
  }
}

/* motion reduce */
@media (prefers-reduced-motion: reduce){
  .hero-bg video{ display:none; }
  .hero{ background-image:url('/img/hero-poster.jpg'); }
}

/* ============ Panel ============ */
.panel{
  border-radius:18px;
  border:1px solid rgba(255,255,255,.12);
  background:linear-gradient(180deg, rgba(255,255,255,.08), rgba(255,255,255,.04));
  box-shadow:var(--shadow);
  overflow:hidden;
}
.panel-head{ padding:16px 16px 12px; border-bottom:1px solid rgba(255,255,255,.10); }
.panel-head h3{ margin:0; font-size:14px; color:rgba(255,255,255,.86); font-weight:650; }
.panel-head p{ margin:6px 0 0; font-size:13px; color:var(--muted); line-height:1.7; }
.panel-body{ padding:14px 16px 16px; display:grid; gap:12px; }

.metric{
  display:flex;justify-content:space-between;align-items:baseline;
  padding:12px 12px;border-radius:14px;
  border:1px solid rgba(255,255,255,.10);
  background:rgba(0,0,0,.16);
}
.metric .k{ color:var(--muted); font-size:13px; }
.metric .v{ font-size:16px; font-weight:650; }

.badge{
  display:inline-flex;align-items:center;gap:8px;
  padding:10px 12px;border-radius:14px;
  border:1px solid rgba(255,255,255,.12);
  background:rgba(255,255,255,.06);
  box-shadow:var(--shadow);
}
.badge strong{ font-weight:650; }
.badge p{ margin:3px 0 0; color:var(--muted); font-size:13px; line-height:1.6; }

/* ============ Sections / Typography ============ */
.section{
  padding: clamp(72px, 9vw, 120px) 0;
}
.section-title{ margin-bottom:18px; }
.section-title h2{ margin:0 0 14px; }
.section-title p{ margin:0; color:var(--muted); line-height:1.8; }

.section p.desc{
  margin:0 0 18px;
  color:var(--muted);
  line-height:1.9;
  max-width:72ch;
}

.section h2{
  font-size: clamp(24px, 2.0vw, 30px);
  line-height: 1.28;
  margin: 0 0 14px;
  font-weight: 650;
  letter-spacing: .02em;
}
.section h3{ font-size:16px; line-height:1.5; }

/* grid/cards */
.grid-3{ display:grid; grid-template-columns:repeat(3,1fr); gap:14px; }
@media (max-width:920px){ .grid-3{ grid-template-columns:1fr; } }

.card{
  border-radius:var(--radius);
  border:1px solid rgba(255,255,255,.12);
  background:rgba(255,255,255,.06);
  padding:16px;
}
.card h3{ margin:0 0 8px; font-size:16px; font-weight:650; }
.card p{ margin:0; color:var(--muted); line-height:1.85; font-size:14px; }

.split{ display:grid; grid-template-columns:1fr 1fr; gap:14px; }
@media (max-width:920px){ .split{ grid-template-columns:1fr; } }

.cta{
  margin:22px 0 0;
  padding:22px;
  border-radius:18px;
  border:1px solid rgba(123,183,255,.28);
  background:linear-gradient(135deg, rgba(123,183,255,.14), rgba(255,255,255,.05));
  display:flex;align-items:center;justify-content:space-between;
  gap:16px;flex-wrap:wrap;
}
.cta h3{ margin:0; font-size:18px; }
.cta p{ margin:6px 0 0; color:var(--muted); line-height:1.8; font-size:14px; max-width:70ch; }

.note{ color:var(--muted-2); font-size:12px; line-height:1.8; margin-top:10px; }

.table{ width:100%; border-collapse:separate; border-spacing:0; }
.table th,.table td{
  text-align:left;vertical-align:top;
  padding:12px 12px;
  border-top:1px solid rgba(255,255,255,.10);
}
.table th{ width:34%; color:rgba(255,255,255,.86); font-weight:650; }
.table td{ color:var(--muted); line-height:1.85; }
.table tr:first-child th,.table tr:first-child td{ border-top:none; }

.pills{ display:flex; flex-wrap:wrap; gap:8px; margin-top:10px; }
.pill{
  display:inline-flex;align-items:center;gap:8px;
  padding:8px 10px;border-radius:999px;
  border:1px solid rgba(255,255,255,.12);
  background:rgba(0,0,0,.12);
  color:var(--muted);
  font-size:13px;
}

.nowrap{ white-space:nowrap; }

/* ============ Pricing Note / Notice ============ */
.pricing-note{
  margin-top: 28px;
  padding: 18px 20px;
  border-radius: 14px;
  border: 1px solid rgba(255,255,255,.10);
  background: rgba(255,255,255,.04);
  color: var(--muted);
  font-size: 14px;
  line-height: 1.9;
}
.pricing-note strong{ color:var(--text); font-weight:600; }

.notice{
  margin-top: 16px;
  padding: 14px 16px;
  border-radius: 14px;
  border: 1px solid rgba(255,255,255,.12);
  background: rgba(255,255,255,.04);
  color: var(--muted);
  line-height: 1.9;
  font-size: 14px;
}

/* ============ News ============ */
#news .section-title{ margin-bottom:8px; }

.news-item{ padding:12px 0; border-top:1px solid rgba(255,255,255,.10); }
.news-item:first-of-type{ border-top:none; padding-top:0; }

.news-date{
  font-size:13px;
  color: rgba(255,255,255,.70);
  display:flex;
  gap:10px;
  align-items:center;
}

.news-text{
  margin: 6px 0 0;
  color: rgba(255,255,255,.78);
  line-height: 1.8;
  font-size: 14px;
}

.news-sub{
  display:block;
  margin-top:6px;
  font-size:13px;
  color:rgba(255,255,255,.70);
  line-height:1.7;
}

.news-item-link{
  display:inline-flex; align-items:center; gap:6px;
  margin-left:8px;
  padding:6px 10px;
  border-radius:999px;
  border:1px solid rgba(255,255,255,.14);
  background:rgba(0,0,0,.10);
  color:rgba(255,255,255,.90);
  text-decoration:none;
  font-size:13px;
  line-height:1;
}
.news-item-link:hover{ background:rgba(255,255,255,.10); border-color:rgba(123,183,255,.40); }

.news-tag{
  display:inline-flex;
  align-items:center;
  padding:4px 10px;
  border-radius:999px;
  border:1px solid rgba(255,255,255,.14);
  background:rgba(0,0,0,.10);
  font-size:12px;
  color:rgba(255,255,255,.82);
}
.tag-biz{ border-color: rgba(123,183,255,.40); background: rgba(123,183,255,.10); }
.tag-subsc{ border-color: rgba(140,220,255,.35); background: rgba(140,220,255,.08); }
.tag-work{ border-color: rgba(255,255,255,.16); background: rgba(255,255,255,.06); }
.tag-consult{ border-color: rgba(200,200,255,.22); background: rgba(200,200,255,.07); }

#news{ padding-bottom: clamp(60px, 7vw, 90px); }

/* Cases -> News 間の区切りだけ消す（必要な場合） */
section#cases + section#news{ border-top:none !important; }
section#cases{ padding-bottom: clamp(56px, 7vw, 96px); }
section#news{ padding-top: clamp(56px, 7vw, 96px); }

/* ============ Intro Logo Screen ============ */
#intro{
  position: fixed; inset: 0;
  background: #ffffff;
  display:flex; align-items:center; justify-content:center;
  z-index: 99999;
  transition: opacity .8s ease, visibility .8s ease;
}
#intro.hide{ opacity:0; visibility:hidden; }
#intro img{
  width: min(420px, 70vw);
  height:auto;
  opacity:0;
  transform:scale(.96);
  animation: fadeScale .8s ease forwards;
}
@keyframes fadeScale{ to{ opacity:1; transform:scale(1); } }

/* ============ Approach ============ */
.ap-approach-grid{
  display:grid;
  grid-template-columns:repeat(3,1fr);
  gap:14px;
  margin-top:14px;
}
.ap-approach-card{
  border-radius:var(--radius);
  border:1px solid rgba(255,255,255,.12);
  background:rgba(255,255,255,.06);
  padding:16px;
  overflow:hidden;
}
.ap-approach-img{
  border-radius:14px;
  border:1px solid rgba(255,255,255,.10);
  background:linear-gradient(180deg, rgba(123,183,255,.10), rgba(0,0,0,.08));
  padding:12px;
  margin-bottom:12px;
}
.ap-approach-img img{
  width:100%;
  height:auto;
  display:block;
  border-radius:10px;
}
.ap-approach-card h3{ margin:0 0 8px; font-size:16px; font-weight:650; }
.ap-approach-card p{ margin:0; color:var(--muted); line-height:1.85; font-size:14px; }
@media (max-width:920px){ .ap-approach-grid{ grid-template-columns:1fr; } }

/* ============ Cases ============ */
#cases{ padding-top: clamp(88px, 10vw, 140px); }

.cases-grid{
  display:grid;
  grid-template-columns:repeat(3,1fr);
  gap:12px;
}
@media (max-width:980px){ .cases-grid{ grid-template-columns:1fr; } }

.cases-grid .item{
  border-radius: var(--radius);
  border: 1px solid rgba(255,255,255,.12);
  background: rgba(255,255,255,.06);
  padding: 16px;
}

.case-shots{ display:grid; grid-template-columns:1fr 1fr; gap:10px; margin-bottom:10px; }
@media (max-width:980px){ .case-shots{ grid-template-columns:1fr; } }

.case-shot{
  width:100%;
  height:auto;
  display:block;
  border-radius:12px;
  border:1px solid rgba(255,255,255,.10);
  background: rgba(7,11,20,.25);
}

.case-meta{ color:var(--muted); font-size:13px; margin:0; }
.case-note{ margin-top:6px; color:var(--muted); font-size:12px; }

/* ============ History ============ */
.history-list p{ margin:0 0 14px 0; line-height:1.8; }
.history-list .history-last{ margin-bottom:0; }
.history-date-inline{
  font-weight:600;
  color:#c7a85a;
  font-size:14px;
  letter-spacing:.5px;
}

/* ============ Form ============ */
.form{ display:grid; gap:12px; margin-top:10px; }
.field{ display:grid; gap:6px; }
label{ font-size:13px; color:var(--muted); }

input,select,textarea{
  width:100%;
  padding:12px 12px;
  border-radius:12px;
  border:1px solid rgba(255,255,255,.14);
  background:rgba(0,0,0,.18);
  color:var(--text);
  outline:none;
}
textarea{ min-height:140px; resize:vertical; }

.success,.error{
  display:none;
  padding:12px;
  border-radius:12px;
  border:1px solid rgba(123,183,255,.28);
  background:rgba(123,183,255,.10);
  color:rgba(255,255,255,.90);
}
.error{ border-color:rgba(255,140,140,.35); background:rgba(255,140,140,.10); }
.show{ display:block; }

/* ============ Footer ============ */
footer{
  padding:24px 0 34px;
  border-top:1px solid var(--line);
  color:var(--muted);
  font-size:12px;
}
.foot{
  display:flex;
  justify-content:space-between;
  gap:12px;
  flex-wrap:wrap;
  align-items:center;
}
.links{ display:flex; gap:8px; flex-wrap:wrap; }
.links a{
  color:var(--muted);
  text-decoration:none;
  padding:6px 8px;
  border-radius:10px;
}
.links a:hover{ background:rgba(255,255,255,.06); color:var(--text); }

/* ============ Back to Top ============ */

.to-top{
  position:fixed;
  right:16px;
  bottom:80px; /* reCAPTCHAバッジの上に逃がす */
  width:48px;height:48px;
  border-radius:999px;
  display:grid;
  place-items:center;
  background:rgba(255,255,255,.08);
  border:1px solid rgba(255,255,255,.16);
  color:rgba(255,255,255,.92);
  box-shadow:0 16px 40px rgba(0,0,0,.35);
  backdrop-filter:blur(12px);
  -webkit-backdrop-filter:blur(12px);
  cursor:pointer;
  opacity:0;
  transform:translateY(8px);
  pointer-events:none;
  transition: opacity .18s ease, transform .18s ease, background .18s ease, border-color .18s ease;
  z-index:9999;
}
.to-top:hover{ background:rgba(255,255,255,.12); border-color:rgba(123,183,255,.40); }
.to-top:active{ transform:translateY(10px); }
.to-top.show{ opacity:1; transform:translateY(0); pointer-events:auto; }
.to-top span{ font-size:18px; font-weight:900; line-height:1; }

@supports (padding: max(0px)){
  .to-top{
    bottom: calc(80px + env(safe-area-inset-bottom));
    right: calc(16px + env(safe-area-inset-right));
  }
}

@media (prefers-reduced-motion: reduce){ .to-top{ transition:none; } }

/* ============ CEO Section ============ */
#ceo-message{ padding: clamp(70px, 8vw, 120px) 0; }

.ceo-wrap{
  display:flex;
  gap:80px;
  align-items:flex-start;
}
.ceo-photo{ flex:0 0 420px; }
.ceo-photo-img{
  width:100%;
  border-radius:18px;
  box-shadow:0 20px 50px rgba(0,0,0,.25);
}

/* CEO テキストは“統一感UP”の最終形だけ残す */
.ceo-text{
  max-width:640px;
  padding:22px 22px;
  border-radius:18px;
  border:1px solid rgba(255,255,255,.10);
  background:rgba(255,255,255,.04);
  box-shadow:0 18px 48px rgba(0,0,0,.25);
}
.ceo-text h2{
  font-size:24px;
  margin:0 0 14px;
}
.ceo-lead{
  font-size:18px;
  font-weight:600;
  margin-bottom:22px;
  color:rgba(255,255,255,.95);
}
.ceo-text p{
  font-size:15px;
  line-height:1.9;
  color:rgba(255,255,255,.80);
}

.ceo-sign{
  margin-top:18px;
  padding-top:16px;
  border-top:1px solid rgba(255,255,255,.10);
}
.ceo-career{ margin-top:18px; }
.ceo-career ul{ margin:10px 0 0; padding-left:18px; }

@media (max-width:900px){
  .ceo-wrap{ flex-direction:column; gap:28px; align-items:center; }
  .ceo-photo{ flex:unset; width:100%; max-width:340px; margin:0 auto; }
  .ceo-text{ width:100%; max-width:100%; padding:18px 16px; }
}

/* ============ Light Sections ============ */
.section.light{
  position:relative;
  background:#f6f8fb;
  color: rgba(11,18,32,.88);
}
.section.light h2,
.section.light h3,
.section.light strong{ color:#0b1220; }

.section.light .desc,
.section.light p,
.section.light li,
.section.light .note,
.section.light label,
.section.light .case-meta,
.section.light .case-note{
  color: rgba(11,18,32,.76);
}

/* section-title p は dark 前提だったので上書き */
.section.light .section-title p{ color: rgba(11,18,32,.68); }

/* light のカード（白寄り） */
.section.light .card,
.section.light .item{
  background:#fbfcfe;
  border:1px solid rgba(11,18,32,.10);
  box-shadow:0 18px 42px rgba(11,18,32,.06);
}
.section.light .card p,
.section.light .card .desc,
.section.light .card .note,
.section.light .card label{ color:#3a4a5f; }

/* light のフォーム */
.section.light input,
.section.light select,
.section.light textarea{
  background:#ffffff;
  color:#1a2433;
  border:1px solid rgba(11,18,32,.18);
}

/* light のpill */
.section.light .pill{
  color: rgba(11,18,32,.72);
  border-color: rgba(11,18,32,.12);
  background: rgba(11,18,32,.025);
}

/* light news */
.section.light .news-text{ color:#2a3a4f; }
.section.light .news-sub{ color:#5a6a7f; }
.section.light .news-date{ color: rgba(11,18,32,.58); }
.section.light .news-tag{
  color: rgba(11,18,32,.78);
  border-color: rgba(11,18,32,.18);
  background: rgba(11,18,32,.04);
}
.section.light .news-item-link{
  background: rgba(11,18,32,.04);
  border-color: rgba(11,18,32,.12);
  color: rgba(11,18,32,.86);
}
.section.light .news-item-link:hover{ background: rgba(11,18,32,.06); }

/* light notice */
.section.light .notice{
  border-color: rgba(11,18,32,.10);
  background: rgba(11,18,32,.03);
  color: rgba(11,18,32,.78);
}

/* light のbtn-primary 文字色 */
.section.light .btn-primary{ color:#0b1220; }
.section.light .btn-primary:hover{ color:#0b1220; }

/* ============ Heading underline (ONE SOURCE OF TRUTH) ============ */
/* ここより上に “::after 下線” を書かない（衝突防止） */

.h1,
.section h2,
.ceo-text h2{
  position: relative !important;
  padding-bottom: 14px;
}

.h1::after,
.section h2::after,
.ceo-text h2::after{
  content: "" !important;
  display: block !important;
  width: 64px;
  height: 2px;
  margin-top: 10px;
  border-radius: 999px;

  /* Dark */
  background: linear-gradient(90deg, rgba(123,183,255,.65), rgba(123,183,255,0)) !important;

  transform-origin: left center;
  animation: aperioTitleLine 1.8s ease-in-out infinite;

  position: relative;
  z-index: 1;
}

/* Lightは黒寄り */
.section.light h2::after{
  background: linear-gradient(90deg, rgba(11,18,32,.30), rgba(11,18,32,0)) !important;
}

@keyframes aperioTitleLine{
  0%   { transform: scaleX(0.35); opacity: 0.55; }
  50%  { transform: scaleX(1.00); opacity: 1; }
  100% { transform: scaleX(0.35); opacity: 0.55; }
}

@media (prefers-reduced-motion: reduce){
  .h1::after,
  .section h2::after,
  .ceo-text h2::after{
    animation: none;
    transform: scaleX(1);
    opacity: 1;
  }
}