*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }

:root {
  --blue:   #0579F8;
  --blue-d: #0562D4;
  --blue-s: #E8F2FF;
  --bg:     #F0F6FF;
  --bg-s:   #F7FAFF;
  --text:   #0D1B35;
  --sub:    #4B5568;
  --muted:  #8896A8;
  --bdr:    #C8DCF8;
  --white:  #fff;
  --dark:   #1F2937;
}

html { scroll-behavior: smooth; }

body {
  font-family: 'Noto Sans JP', 'Hiragino Sans', sans-serif;
  color: var(--text);
  font-size: 16px;
  line-height: 1.75;
  background: var(--white);
  -webkit-font-smoothing: antialiased;
  font-feature-settings: 'palt' 1;
}

a { color: inherit; text-decoration: none; }
img { display: block; max-width: 100%; }

/* ── HEADER ── */
header {
  position: fixed; top: 0; left: 0; right: 0; z-index: 100;
  background: rgba(255,255,255,0.97);
  -webkit-backdrop-filter: blur(8px);
  backdrop-filter: blur(8px);
  border-bottom: 1px solid var(--bdr);
  height: 68px;
  display: flex; align-items: center;
  transform: translateZ(0);
  will-change: transform;
}
.header-inner {
  width: 100%; max-width: 1080px; margin: 0 auto;
  padding: 0 24px;
  display: flex; align-items: center; justify-content: space-between;
}
.logo { display: flex; align-items: center; }
.logo img { height: 40px; width: auto; display: block; transform: translateZ(0); }

.desktop-nav {
  display: flex; align-items: center; gap: 28px; list-style: none;
}
.desktop-nav a {
  font-size: 13px; font-weight: 500; color: var(--sub);
  transition: color .15s;
}
.desktop-nav a:hover { color: var(--blue); }
.desktop-nav a.active { color: var(--blue); font-weight: 700; }

.header-contact {
  display: inline-flex; align-items: center; gap: 6px;
  background: var(--blue); color: #fff;
  font-size: 12px; font-weight: 700;
  padding: 9px 22px; border-radius: 4px;
  letter-spacing: .04em;
  transition: background .15s;
}
.header-contact:hover { background: var(--blue-d); }
.header-contact svg { width: 13px; height: 13px; }

/* ── HERO ── */
.hero {
  background-image:
    linear-gradient(rgba(255,255,255,0.85), rgba(255,255,255,0.85)),
    url('東京画像.jpg');
  background-size: cover;
  background-position: center;
  min-height: 520px;
  display: flex; align-items: center;
  padding-top: 68px;
}
.hero-inner {
  padding: 80px 40px 80px;
  max-width: 1080px; margin: 0 auto; width: 100%;
}
.hero-tag {
  display: inline-block;
  font-family: 'Inter', sans-serif;
  font-size: 11px; font-weight: 700;
  letter-spacing: .14em; text-transform: uppercase;
  color: var(--blue);
  border: 1px solid var(--bdr);
  padding: 5px 14px; border-radius: 3px;
  margin-bottom: 20px;
  background: rgba(255,255,255,.9);
}
.hero h1 {
  font-size: clamp(28px, 3.6vw, 50px);
  font-weight: 900;
  line-height: 1.2;
  letter-spacing: -.025em;
  color: var(--text);
  white-space: nowrap;
  margin-bottom: 20px;
}
@media (max-width: 600px) {
  .hero-inner { padding: 60px 24px; }
  .hero h1 { white-space: normal; font-size: clamp(26px, 7vw, 40px); }
}
.hero-divider {
  width: 32px; height: 3px;
  background: var(--blue); border-radius: 2px;
  margin-bottom: 20px;
}
.hero-sub {
  font-size: 15px; line-height: 1.9;
  color: var(--sub); max-width: 540px;
  margin-bottom: 36px;
}
.hero-cta-row { display: flex; gap: 12px; flex-wrap: wrap; }

/* ── BUTTONS ── */
.btn-primary {
  display: inline-block;
  background: var(--blue); color: #fff;
  font-size: 13px; font-weight: 700;
  padding: 14px 32px; border-radius: 4px;
  letter-spacing: .04em;
  transition: background .15s;
  white-space: nowrap;
}
.btn-primary:hover { background: var(--blue-d); }

.btn-outline {
  display: inline-block;
  border: 1.5px solid var(--blue); color: var(--blue);
  font-size: 13px; font-weight: 700;
  padding: 13px 28px; border-radius: 4px;
  letter-spacing: .04em;
  transition: all .15s;
  white-space: nowrap;
}
.btn-outline:hover { background: var(--blue); color: #fff; }

.btn-outline-white {
  display: inline-block;
  border: 1.5px solid rgba(255,255,255,.5); color: rgba(255,255,255,.85);
  font-size: 13px; font-weight: 700;
  padding: 13px 28px; border-radius: 4px;
  letter-spacing: .04em;
  transition: all .15s;
  white-space: nowrap;
}
.btn-outline-white:hover { border-color: #fff; color: #fff; }

.btn-text-link {
  display: inline-block; margin-top: 24px;
  font-size: 13px; font-weight: 700;
  color: var(--blue); letter-spacing: .04em;
  transition: opacity .15s;
}
.btn-text-link:hover { opacity: .7; }
.btn-text-link::after { content: ' →'; }

/* ── SECTIONS ── */
.sec { padding: 88px 24px; }
.sec-inner { max-width: 1080px; margin: 0 auto; }
.sec-head { margin-bottom: 52px; }
.sec-head.center { text-align: center; }

.en-label {
  font-family: 'Inter', sans-serif;
  font-size: 14px; font-weight: 700;
  letter-spacing: .18em; text-transform: uppercase;
  display: inline-block; margin-bottom: 8px;
  background: linear-gradient(160deg, #0579F8 0%, #56C8FF 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
  color: transparent;
}
.ja-title {
  font-size: clamp(22px, 3.5vw, 32px);
  font-weight: 900; line-height: 1.3;
  letter-spacing: -.01em; color: var(--text);
}
.ja-desc {
  font-size: 14px; color: var(--sub);
  line-height: 1.9; margin-top: 12px; max-width: 520px;
}
.center .ja-desc { margin-left: auto; margin-right: auto; }

/* ── FOUNDING ── */
.founding { background: var(--blue); }
.founding .en-label {
  background: none;
  -webkit-text-fill-color: rgba(255,255,255,.5);
  color: rgba(255,255,255,.5);
}
.founding .ja-title { color: #fff; }
.founding-body {
  font-size: 15px; line-height: 2.0;
  color: rgba(255,255,255,.8);
}
.founding-body p { margin-bottom: 16px; }
.founding-body p:last-child { margin-bottom: 0; }

/* ── ABOUT ── */
.about { background: var(--bg); }
.about-layout {
  display: grid; grid-template-columns: 1fr 1fr;
  gap: 64px; align-items: start;
}
@media (max-width: 767px) { .about-layout { grid-template-columns: 1fr; gap: 40px; } }

.about-body { font-size: 15px; line-height: 2.0; color: var(--sub); }
.about-body p { margin-bottom: 16px; }
.about-body p:last-child { margin-bottom: 0; }

.about-features { display: flex; flex-direction: column; }
.feature-item {
  display: flex; gap: 20px; align-items: flex-start;
  padding: 22px 0; border-bottom: 1px solid var(--bdr);
}
.feature-item:first-child { border-top: 1px solid var(--bdr); }
.feature-num {
  font-family: 'Inter', sans-serif;
  font-size: 11px; font-weight: 700; color: var(--blue);
  letter-spacing: .1em; flex-shrink: 0; padding-top: 2px; width: 24px;
}
.feature-body h3 { font-size: 14px; font-weight: 700; margin-bottom: 6px; color: var(--text); }
.feature-body p  { font-size: 13px; color: var(--sub); line-height: 1.8; }

/* ── PARTNERS ── */
.partners { background: var(--white); }
.p-cards { display: grid; grid-template-columns: 1fr 1fr; gap: 20px; }
@media (max-width: 560px) { .p-cards { grid-template-columns: 1fr; } }

.p-card {
  background: var(--bg-s);
  border-radius: 6px; padding: 32px 36px;
  border: 1px solid var(--bdr);
}
.p-card-link {
  display: block;
  transition: box-shadow .2s, border-color .2s;
  cursor: pointer;
}
.p-card-link:hover { border-color: var(--blue); box-shadow: 0 4px 20px rgba(5,121,248,.1); }
.p-card-top {
  display: flex; justify-content: space-between; align-items: flex-start;
  margin-bottom: 12px;
}
.p-type {
  font-size: 10px; font-weight: 700; letter-spacing: .16em;
  text-transform: uppercase; color: var(--blue); margin-bottom: 6px;
}
.p-name { font-size: 17px; font-weight: 700; color: var(--text); }
.p-desc { font-size: 13px; color: var(--sub); line-height: 1.85; }
.p-ext-icon { font-size: 16px; color: var(--muted); transition: color .15s; }
.p-card-link:hover .p-ext-icon { color: var(--blue); }
.p-link-label {
  display: inline-block; margin-top: 16px;
  font-size: 12px; font-weight: 700; color: var(--blue);
  letter-spacing: .04em; border-bottom: 1px solid var(--bdr);
  padding-bottom: 2px; transition: border-color .15s;
}
.p-card-link:hover .p-link-label { border-color: var(--blue); }

/* ── NEWS ── */
.news { background: var(--bg); }
.news-list { max-width: 640px; }
.news-item { padding: 20px 0; border-bottom: 1px solid var(--bdr); }
.news-item:first-child { border-top: 1px solid var(--bdr); }
.news-meta { display: flex; align-items: center; gap: 16px; margin-bottom: 6px; }
.news-date { font-family: 'Inter', sans-serif; font-size: 12px; color: var(--muted); letter-spacing: .05em; }
.news-tag { font-size: 10px; font-weight: 700; letter-spacing: .1em; text-transform: uppercase; color: var(--blue); }
.news-t { font-size: 14px; color: var(--text); line-height: 1.65; }
.btn-more {
  display: inline-block; margin-top: 28px;
  border: 1.5px solid var(--blue); color: var(--blue);
  font-size: 12px; font-weight: 700;
  padding: 10px 32px; border-radius: 4px;
  letter-spacing: .06em; transition: all .15s;
}
.btn-more:hover { background: var(--blue); color: #fff; }

/* ── FAQ ── */
.faq { background: var(--white); }
.faq-list { max-width: 720px; }
details.faq-item { border-bottom: 1px solid var(--bdr); }
details.faq-item:first-child { border-top: 1px solid var(--bdr); }
summary.faq-q {
  display: flex; align-items: flex-start; gap: 20px;
  padding: 22px 4px; cursor: pointer;
  list-style: none; font-size: 15px; font-weight: 700; color: var(--text);
  user-select: none;
}
summary.faq-q::-webkit-details-marker { display: none; }
.fq {
  flex-shrink: 0; font-family: 'Inter', sans-serif;
  font-size: 11px; font-weight: 700; color: var(--blue);
  letter-spacing: .06em; margin-top: 3px; width: 20px;
}
.faq-arrow {
  margin-left: auto; flex-shrink: 0;
  width: 16px; height: 16px; margin-top: 4px;
  color: var(--blue); transition: transform .2s;
}
details[open] .faq-arrow { transform: rotate(180deg); }
.faq-a { display: flex; gap: 20px; padding: 0 4px 22px; }
.fa {
  flex-shrink: 0; font-family: 'Inter', sans-serif;
  font-size: 11px; font-weight: 700; color: var(--muted);
  letter-spacing: .06em; margin-top: 3px; width: 20px;
}
.faq-a p { font-size: 14px; color: var(--sub); line-height: 1.9; padding-top: 2px; }

/* ── FLOW ── */
.flow { background: var(--white); }
.flow-list {
  display: flex; flex-direction: column;
  position: relative; padding-left: 52px;
}
.flow-list::before {
  content: ''; position: absolute;
  left: 15px; top: 24px; bottom: 24px;
  width: 1px; background: var(--bdr);
}
.flow-item { padding: 24px 0; position: relative; }
.flow-num {
  position: absolute; left: -51px; top: 24px;
  width: 30px; height: 30px; border-radius: 50%;
  background: var(--white); border: 1px solid var(--bdr);
  display: flex; align-items: center; justify-content: center;
  font-family: 'Inter', sans-serif;
  font-size: 11px; font-weight: 700; color: var(--muted);
}
.flow-item.hl .flow-num { background: var(--blue); border-color: var(--blue); color: #fff; }
.flow-title { font-size: 15px; font-weight: 700; margin-bottom: 4px; color: var(--text); }
.flow-note  { font-size: 13px; color: var(--sub); line-height: 1.8; }
.flow-tags  { display: flex; gap: 8px; margin-top: 8px; flex-wrap: wrap; }
.flow-tag {
  font-size: 11px; font-weight: 600;
  background: var(--blue-s); color: var(--blue);
  padding: 2px 10px; border-radius: 3px;
}
.flow-tag.med { background: rgba(16,106,96,.08); color: #0A6460; }

/* ── SERVICE ── */
.service { background: var(--white); }
.svc-grid {
  display: grid; grid-template-columns: repeat(3, 1fr);
  gap: 1px; background: var(--bdr);
  border: 1px solid var(--bdr); border-radius: 6px; overflow: hidden;
}
@media (max-width: 767px) { .svc-grid { grid-template-columns: 1fr 1fr; } }
@media (max-width: 480px) { .svc-grid { grid-template-columns: 1fr; } }
.svc-card { background: var(--white); padding: 32px 28px; }
.svc-icon { display: none; }
.svc-num {
  display: block; font-family: 'Inter', sans-serif;
  font-size: 11px; font-weight: 700; color: var(--blue);
  letter-spacing: .1em; margin-bottom: 14px;
}
.svc-card h3 { font-size: 14px; font-weight: 700; margin-bottom: 10px; color: var(--text); }
.svc-card p  { font-size: 13px; color: var(--sub); line-height: 1.85; }

/* ── ABOUT PAGE — SERVICE FLOW ── */
.svc-flow { padding: 0; }
.sf-step {
  display: grid; grid-template-columns: 56px 1fr;
  gap: 0; position: relative;
}
.sf-step::after {
  content: ''; position: absolute;
  left: 27px; top: 56px; bottom: 0;
  width: 2px; background: var(--bdr);
  z-index: 0;
}
.sf-step:last-child::after { display: none; }
.sf-num-col {
  display: flex; flex-direction: column; align-items: center;
  padding-top: 4px; z-index: 1;
}
.sf-circle {
  width: 36px; height: 36px; border-radius: 50%;
  background: var(--blue); color: #fff;
  display: flex; align-items: center; justify-content: center;
  font-family: 'Inter', sans-serif; font-size: 13px; font-weight: 800;
  flex-shrink: 0;
}
.sf-body {
  padding: 0 0 48px 16px;
}
.sf-who {
  display: inline-block; font-size: 10px; font-weight: 700;
  letter-spacing: .1em; text-transform: uppercase;
  padding: 3px 10px; border-radius: 3px; margin-bottom: 10px;
}
.who-company { background: var(--blue-s); color: var(--blue); }
.who-wn      { background: var(--blue-s); color: var(--blue); }
.who-med     { background: rgba(16,106,96,.1); color: #0A6460; }
.who-both    { background: rgba(5,121,248,.08); color: var(--sub); }
.sf-title { font-size: 16px; font-weight: 700; margin-bottom: 6px; color: var(--text); }
.sf-desc  { font-size: 13px; color: var(--sub); line-height: 1.85; }

/* 制度説明ブロック */
.scheme-box {
  background: var(--blue-s);
  border: 1px solid var(--bdr);
  border-radius: 6px;
  padding: 36px 40px;
  margin-bottom: 64px;
}
.scheme-box h3 { font-size: 18px; font-weight: 900; margin-bottom: 12px; color: var(--text); }
.scheme-box p  { font-size: 14px; color: var(--sub); line-height: 1.9; }
.scheme-tags { display: flex; gap: 10px; flex-wrap: wrap; margin: 20px 0; }
.scheme-tag {
  font-size: 13px; font-weight: 700;
  background: #fff; color: var(--blue);
  border: 1.5px solid var(--blue);
  padding: 6px 18px; border-radius: 4px;
}

/* ── CTA ── */
.cta {
  background: linear-gradient(135deg, #023BAE 0%, #0579F8 50%, #38c6ff 100%);
  padding: 80px 24px; text-align: center;
  position: relative; overflow: hidden;
}
.cta::before {
  content: '';
  position: absolute; top: -50%; left: -20%;
  width: 60%; height: 200%;
  background: radial-gradient(ellipse, rgba(255,255,255,.08) 0%, transparent 70%);
  pointer-events: none;
}
.cta h2 {
  font-size: clamp(22px, 3vw, 34px);
  font-weight: 900; color: #fff; line-height: 1.3; margin-bottom: 16px; letter-spacing: -.015em;
}
.cta p {
  font-size: 14px; color: rgba(255,255,255,.8);
  line-height: 1.9; margin-bottom: 36px;
  max-width: 420px; margin-left: auto; margin-right: auto;
}
.cta-btn {
  display: inline-block;
  background: #fff; color: var(--blue);
  font-size: 13px; font-weight: 700;
  padding: 16px 48px; border-radius: 4px;
  letter-spacing: .06em; transition: opacity .15s;
}
.cta-btn:hover { opacity: .88; }

/* ── FOOTER ── */
footer {
  background: var(--dark);
  padding: 56px 24px 32px;
  color: rgba(255,255,255,.5);
}
.foot-inner { max-width: 1080px; margin: 0 auto; }
.foot-top {
  display: flex; flex-direction: column; gap: 28px;
  padding-bottom: 40px; border-bottom: 1px solid rgba(255,255,255,.08);
  margin-bottom: 32px;
}
@media (min-width: 768px) {
  .foot-top { flex-direction: row; justify-content: space-between; align-items: flex-start; }
}
.foot-brand .logo-white { height: 36px; opacity: .7; margin-bottom: 18px; }
.foot-info { font-size: 13px; line-height: 1.9; }
.foot-info strong { display: block; font-size: 14px; font-weight: 700; color: rgba(255,255,255,.9); margin-bottom: 4px; }
.foot-social { display: flex; gap: 10px; margin-top: 18px; }
.foot-social a {
  width: 34px; height: 34px;
  border: 1px solid rgba(255,255,255,.15); border-radius: 50%;
  display: flex; align-items: center; justify-content: center;
  color: rgba(255,255,255,.4); transition: all .15s;
}
.foot-social a:hover { border-color: rgba(255,255,255,.5); color: rgba(255,255,255,.9); }
.foot-social svg { width: 15px; height: 15px; }
.foot-nav-list { display: flex; flex-direction: column; gap: 10px; list-style: none; }
.foot-nav-list a { font-size: 13px; color: rgba(255,255,255,.4); transition: color .15s; }
.foot-nav-list a:hover { color: rgba(255,255,255,.9); }
.foot-contact-btn {
  display: inline-block;
  border: 1px solid rgba(255,255,255,.3); color: rgba(255,255,255,.7);
  font-size: 12px; font-weight: 700;
  padding: 10px 28px; border-radius: 4px;
  letter-spacing: .06em; transition: all .15s; margin-top: 16px;
}
.foot-contact-btn:hover { border-color: #fff; color: #fff; }
.foot-bottom { display: flex; align-items: center; justify-content: space-between; flex-wrap: wrap; gap: 12px; }
.foot-copy { font-family: 'Inter', sans-serif; font-size: 11px; color: rgba(255,255,255,.2); }
.foot-legal { display: flex; gap: 20px; flex-wrap: wrap; }
.foot-legal a { font-size: 11px; color: rgba(255,255,255,.3); transition: color .15s; }
.foot-legal a:hover { color: rgba(255,255,255,.6); }

/* ── SWIMLANE FLOW ── */
.swimlane {
  border: 1px solid var(--bdr);
  border-radius: 12px;
  overflow: hidden;
  background: #fff;
  box-shadow: 0 4px 24px rgba(5,121,248,.06);
}

/* フェーズヘッダー行 */
.sl-phase-row {
  display: flex;
  background: linear-gradient(135deg, #f0f6ff 0%, #e8f2ff 100%);
  border-bottom: 1px solid var(--bdr);
}
.sl-label-spacer {
  width: 110px; flex-shrink: 0;
  border-right: 1px solid var(--bdr);
}
.sl-phases {
  flex: 1; display: flex;
}
.sl-phase {
  flex: 1; text-align: center;
  padding: 10px 4px;
  font-family: 'Inter', sans-serif;
  font-size: 10px; font-weight: 700;
  letter-spacing: .14em; text-transform: uppercase;
  color: var(--blue);
  border-right: 1px dashed var(--bdr);
}
.sl-phase:last-child { border-right: none; }

/* 各行 */
.sl-row {
  display: flex; align-items: stretch;
  border-bottom: 1px solid var(--bdr);
}
.sl-row:last-child { border-bottom: none; }
.sl-row-mid {
  background: rgba(5,121,248,.02);
}

/* ラベル列 */
.sl-label-col {
  width: 110px; flex-shrink: 0;
  display: flex; align-items: center; justify-content: center;
  padding: 16px 8px;
  border-right: 1px solid var(--bdr);
}
.sl-actor {
  display: flex; flex-direction: column; align-items: center;
  gap: 6px;
  font-size: 12px; font-weight: 700; text-align: center;
  line-height: 1.3;
}
.sl-actor-dot {
  width: 10px; height: 10px; border-radius: 50%;
  flex-shrink: 0;
}
.sl-actor.corp { color: #C05621; }
.sl-actor.wn   { color: var(--blue); }
.sl-actor.med  { color: #1B7A52; }
.sl-actor-dot.corp { background: #E05C20; }
.sl-actor-dot.wn   { background: var(--blue); }
.sl-actor-dot.med  { background: #1B7A52; }

/* トラック（セルの列） */
.sl-track {
  flex: 1; display: flex; align-items: center;
  padding: 12px 16px; gap: 0; overflow-x: auto;
}

/* 矢印 */
.sl-arrow {
  flex-shrink: 0; font-size: 16px; padding: 0 6px;
  line-height: 1; font-weight: 300;
}
.sl-arrow.corp  { color: #E05C20; }
.sl-arrow.wn    { color: var(--blue); }
.sl-arrow.med   { color: #1B7A52; }
.sl-arrow.muted { color: transparent; width: 28px; }

/* セル */
.sl-cell {
  flex-shrink: 0; min-width: 0;
}
.sl-cell.active { min-width: 130px; }

/* ボックス */
.sl-box {
  display: flex; flex-direction: column; gap: 3px;
  padding: 10px 12px; border-radius: 6px;
  border: 1.5px solid transparent;
}
.sl-box.corp {
  background: #FFF4EE;
  border-color: #FFCCAA;
}
.sl-box.wn {
  background: linear-gradient(135deg, #EBF4FF 0%, #E0EEFF 100%);
  border-color: var(--bdr);
}
.sl-box.wn.tall { gap: 4px; }
.sl-box.med {
  background: #EDFAF3;
  border-color: #AADFC4;
}
.sl-box.empty {
  background: transparent; border: none;
  color: var(--muted);
  font-size: 11px; text-align: center; padding: 10px 4px;
}
.sl-step-n {
  font-family: 'Inter', sans-serif;
  font-size: 10px; font-weight: 800;
  color: var(--blue); letter-spacing: .06em;
  display: block;
}
.sl-step-t {
  font-size: 12px; font-weight: 700; color: var(--text);
  line-height: 1.3; display: block;
}
.sl-step-d {
  font-size: 10px; color: var(--sub); line-height: 1.5;
  display: block; margin-top: 2px;
}
.sl-step-sep {
  display: block; width: 100%; height: 1px;
  background: rgba(5,121,248,.15); margin: 6px 0;
}

@media (max-width: 767px) {
  .sl-label-col { width: 72px; }
  .sl-actor { font-size: 10px; }
  .sl-cell.active { min-width: 100px; }
  .sl-box { padding: 8px 8px; }
  .sl-step-t { font-size: 11px; }
  .sl-step-d { display: none; }
}

/* ── VISUAL FLOW DIAGRAM ── */
.vis-flow {
  display: grid;
  grid-template-columns: repeat(5, 1fr);
  gap: 0;
  position: relative;
  margin-bottom: 40px;
}
/* 横方向の接続線 */
.vis-flow::before {
  content: '';
  position: absolute;
  top: 32px;
  left: calc(10% + 20px);
  right: calc(10% + 20px);
  height: 2px;
  background: var(--bdr);
  z-index: 0;
}

.vf-item {
  display: flex; flex-direction: column; align-items: center;
  padding: 0 8px; gap: 16px; position: relative; z-index: 1;
}

.vf-phase {
  font-family: 'Inter', sans-serif;
  font-size: 9px; font-weight: 700;
  letter-spacing: .16em; text-transform: uppercase;
  color: transparent; /* 非表示 - spaceのため */
  user-select: none;
}

.vf-dot-wrap {
  position: relative;
}
.vf-circle {
  width: 44px; height: 44px; border-radius: 50%;
  display: flex; align-items: center; justify-content: center;
  font-family: 'Inter', sans-serif;
  font-size: 13px; font-weight: 800;
  position: relative; z-index: 1;
  box-shadow: 0 0 0 6px #fff;
  transition: transform .2s;
}
.vf-item:hover .vf-circle { transform: scale(1.1); }
.vf-circle.wn   { background: var(--blue); color: #fff; }
.vf-circle.corp { background: #E05C20; color: #fff; }
.vf-circle.med  { background: #1B7A52; color: #fff; }

.vf-card {
  background: var(--bg-s);
  border: 1px solid var(--bdr);
  border-radius: 8px; padding: 18px 16px;
  text-align: center; width: 100%;
  transition: border-color .2s, box-shadow .2s;
}
.vf-item:hover .vf-card {
  border-color: var(--blue);
  box-shadow: 0 4px 20px rgba(5,121,248,.08);
}
.vf-who {
  font-family: 'Inter', sans-serif;
  font-size: 9px; font-weight: 700; letter-spacing: .12em;
  text-transform: uppercase; margin-bottom: 8px;
}
.vf-who.wn   { color: var(--blue); }
.vf-who.corp { color: #E05C20; }
.vf-who.med  { color: #1B7A52; }
.vf-title {
  font-size: 12px; font-weight: 700; color: var(--text);
  line-height: 1.45; margin-bottom: 8px;
}
.vf-detail {
  font-size: 11px; color: var(--muted); line-height: 1.65;
}

/* 矢印は削除 — 接続線とcircleで表現 */
.vf-arrow { display: none; }

@media (max-width: 860px) {
  .vis-flow {
    grid-template-columns: 1fr 1fr;
    gap: 12px;
  }
  .vis-flow::before { display: none; }
  .vf-circle { box-shadow: none; }
}
@media (max-width: 480px) {
  .vis-flow { grid-template-columns: 1fr; }
}

/* ── FLOW MORE LINK ── */
.flow-more-wrap {
  border-top: 1px solid var(--bdr);
  padding-top: 28px;
  display: flex; align-items: center; justify-content: space-between;
  flex-wrap: wrap; gap: 16px;
}
.flow-more-text {
  font-size: 13px; color: var(--sub); line-height: 1.7;
  max-width: 480px;
}
.btn-flow-detail {
  display: inline-flex; align-items: center; gap: 10px;
  background: #fff;
  border: 1.5px solid var(--bdr);
  color: var(--text);
  font-size: 13px; font-weight: 700;
  padding: 13px 24px; border-radius: 4px;
  cursor: pointer; letter-spacing: .02em;
  transition: border-color .2s, color .2s, box-shadow .2s;
  white-space: nowrap;
}
.btn-flow-detail:hover {
  border-color: var(--blue); color: var(--blue);
  box-shadow: 0 2px 12px rgba(5,121,248,.1);
}
.btn-flow-detail svg {
  width: 16px; height: 16px; flex-shrink: 0;
  transition: transform .2s;
}
.btn-flow-detail:hover svg { transform: translateX(3px); }

/* ── MODAL ── */
.flow-modal {
  display: none;
  position: fixed; inset: 0; z-index: 200;
  align-items: flex-end; justify-content: center;
}
@media (min-width: 600px) {
  .flow-modal { align-items: center; }
}
.flow-modal.active { display: flex; }

.fm-overlay {
  position: absolute; inset: 0;
  background: rgba(0,0,0,.55);
  backdrop-filter: blur(3px);
}
.fm-panel {
  position: relative; z-index: 1;
  background: #fff;
  border-radius: 12px 12px 0 0;
  width: min(920px, 98vw);
  max-height: 94vh;
  display: flex; flex-direction: column;
  box-shadow: 0 -8px 40px rgba(0,0,0,.15);
  overflow: hidden;
  animation: slideUp .3s cubic-bezier(.4,0,.2,1);
}
@media (min-width: 600px) {
  .fm-panel {
    border-radius: 12px;
    max-height: 92vh;
    box-shadow: 0 24px 64px rgba(0,0,0,.2);
    animation: fadeScale .25s cubic-bezier(.4,0,.2,1);
  }
}
@keyframes slideUp {
  from { transform: translateY(40px); opacity: 0; }
  to   { transform: translateY(0);    opacity: 1; }
}
@keyframes fadeScale {
  from { transform: scale(.96); opacity: 0; }
  to   { transform: scale(1);   opacity: 1; }
}

.fm-header {
  display: flex; justify-content: space-between; align-items: flex-start;
  padding: 24px 28px 20px;
  border-bottom: 1px solid var(--bdr);
  flex-shrink: 0; gap: 16px;
}
.fm-header-text { flex: 1; }
.fm-header-eyebrow {
  font-family: 'Inter', sans-serif;
  font-size: 10px; font-weight: 700;
  letter-spacing: .18em; text-transform: uppercase;
  color: var(--blue); display: block; margin-bottom: 6px;
}
.fm-header h2 {
  font-size: 18px; font-weight: 900; color: var(--text);
  line-height: 1.3;
}
.fm-close {
  width: 32px; height: 32px; border-radius: 50%;
  background: var(--bg); border: none; cursor: pointer;
  display: flex; align-items: center; justify-content: center;
  color: var(--muted); font-size: 18px; line-height: 1;
  flex-shrink: 0; transition: background .15s, color .15s;
}
.fm-close:hover { background: var(--bdr); color: var(--text); }

.fm-body { overflow-y: auto; padding: 20px 28px 28px; }

.fm-steps { display: flex; flex-direction: column; }
.fm-step {
  display: grid; grid-template-columns: 40px 1fr;
  gap: 0 16px; position: relative;
}
.fm-step:not(.last)::after {
  content: ''; position: absolute;
  left: 19px; top: 40px; bottom: -4px;
  width: 2px; background: var(--bdr);
}
.fm-num {
  width: 52px; height: 52px; border-radius: 50%;
  display: flex; align-items: center; justify-content: center;
  font-family: 'Inter', sans-serif;
  font-size: 17px; font-weight: 900;
  flex-shrink: 0; position: relative; z-index: 1;
  box-shadow: 0 0 0 4px #fff, 0 4px 12px rgba(0,0,0,.12);
  letter-spacing: -.01em;
}
.fm-num.wn   { background: linear-gradient(135deg, #0579F8, #0349C4); color: #fff; }
.fm-num.corp { background: linear-gradient(135deg, #E05C20, #B84010); color: #fff; }
.fm-num.med  { background: linear-gradient(135deg, #1B7A52, #0F5C3A); color: #fff; }

.fm-content { padding: 8px 0 28px; }
.fm-badge {
  display: inline-block; margin-bottom: 8px;
  font-family: 'Inter', sans-serif;
  font-size: 9px; font-weight: 700;
  letter-spacing: .12em; text-transform: uppercase;
  padding: 3px 10px; border-radius: 3px;
}
.fm-badge.wn   { background: var(--blue-s); color: var(--blue); }
.fm-badge.corp { background: #FFF0E8; color: #E05C20; }
.fm-badge.med  { background: #E8F8F0; color: #1B7A52; }
.fm-title {
  font-size: 15px; font-weight: 700; color: var(--text);
  margin-bottom: 6px; line-height: 1.35;
}
.fm-desc { font-size: 13px; color: var(--sub); line-height: 1.8; }

@media (max-width: 600px) {
  .fm-header { padding: 20px 20px 16px; }
  .fm-body { padding: 16px 20px 24px; }
  .fm-title { font-size: 14px; }
}

/* ── STEP FLOW ── */
.step-flow { display: flex; flex-direction: column; gap: 0; }

.sf-item {
  display: grid;
  grid-template-columns: 48px 1fr;
  gap: 0 20px;
}

.sf-line-wrap {
  display: flex; flex-direction: column; align-items: center;
}

.sf-circle {
  width: 40px; height: 40px; border-radius: 50%;
  display: flex; align-items: center; justify-content: center;
  font-family: 'Inter', sans-serif;
  font-size: 12px; font-weight: 800;
  flex-shrink: 0; z-index: 1;
}
.sf-circle.wn   { background: var(--blue); color: #fff; }
.sf-circle.corp { background: #C05621; color: #fff; }
.sf-circle.med  { background: #276749; color: #fff; }

.sf-connector {
  flex: 1; width: 2px;
  background: var(--bdr);
  margin: 4px 0;
  min-height: 24px;
}

.sf-content {
  padding: 6px 0 40px;
}

.sf-badge {
  display: inline-block; margin-bottom: 10px;
  font-size: 10px; font-weight: 700;
  letter-spacing: .1em; text-transform: uppercase;
  padding: 3px 12px; border-radius: 3px;
}
.sf-badge.wn   { background: var(--blue-s); color: var(--blue); }
.sf-badge.corp { background: #FFF3E8; color: #C05621; }
.sf-badge.med  { background: #E8F8F0; color: #276749; }

.sf-title {
  font-size: 16px; font-weight: 700;
  color: var(--text); margin-bottom: 8px;
  line-height: 1.3;
}
.sf-desc {
  font-size: 13px; color: var(--sub);
  line-height: 1.85;
}

/* ── SUB-PAGE BANNER ── */
.page-banner {
  background: var(--bg);
  padding: 104px 40px 56px;
  border-bottom: 1px solid var(--bdr);
}
.page-banner-inner { max-width: 1080px; margin: 0 auto; }
.page-banner .back-link { display: block; }
.page-banner .en-label {
  display: inline-block;
  width: 100%;
  margin-top: 20px;
  background: linear-gradient(160deg, #0579F8 0%, #56C8FF 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
  color: transparent;
}
.back-link {
  display: inline-flex; align-items: center; gap: 6px;
  font-size: 12px; font-weight: 600; color: var(--blue);
  letter-spacing: .04em; margin-bottom: 24px; transition: opacity .15s;
}
.back-link:hover { opacity: .7; }
.back-link svg { width: 13px; height: 13px; }
.page-title {
  font-size: clamp(28px, 4vw, 44px);
  font-weight: 900; line-height: 1.2;
  letter-spacing: -.02em; color: var(--text);
}
.page-sub {
  font-size: 15px; color: var(--sub);
  line-height: 1.9; margin-top: 12px; max-width: 560px;
}
@media (max-width: 600px) { .page-banner { padding: 100px 24px 48px; } }

/* ═══ SHARED ANIMATIONS (2026-07-02) ═══ */
/* スクロール連動リビール — animations.js とセットで使用 */
.fade-up, .fade-in, .fade-left, .fade-right, .zoom-in {
  opacity: 0;
  transition: opacity .9s cubic-bezier(.22,1,.36,1), transform .9s cubic-bezier(.22,1,.36,1);
  will-change: opacity, transform;
}
.fade-up    { transform: translateY(36px); }
.fade-left  { transform: translateX(-36px); }
.fade-right { transform: translateX(36px); }
.zoom-in    { transform: scale(.78); }
.fade-up.visible, .fade-in.visible, .fade-left.visible,
.fade-right.visible, .zoom-in.visible {
  opacity: 1; transform: none;
}
/* 段階ディレイ */
.fade-up-d1, .d1 { transition-delay: .1s; }
.fade-up-d2, .d2 { transition-delay: .2s; }
.fade-up-d3, .d3 { transition-delay: .3s; }
.fade-up-d4, .d4 { transition-delay: .42s; }
.fade-up-d5, .d5 { transition-delay: .54s; }

/* ヘッダー：スクロール時に影を強調 */
header { transition: box-shadow .35s ease; }
header.scrolled { box-shadow: 0 4px 28px rgba(13,27,53,.1); }

/* CTAグラデーションのゆらぎ */
.cta {
  background-size: 200% 200%;
  animation: ctaShift 14s ease-in-out infinite;
}
@keyframes ctaShift {
  0%, 100% { background-position: 0% 50%; }
  50%      { background-position: 100% 50%; }
}

/* CTAボタン：ホバーで浮き上がり */
.cta-btn {
  transition: opacity .2s, transform .25s cubic-bezier(.22,1,.36,1), box-shadow .25s;
}
.cta-btn:hover {
  transform: translateY(-3px);
  box-shadow: 0 12px 32px rgba(2,30,90,.28);
}

/* btn-primary：ホバーで浮き上がり＋シャドウ */
.btn-primary {
  transition: background .2s, transform .22s cubic-bezier(.22,1,.36,1), box-shadow .22s;
}
.btn-primary:hover {
  transform: translateY(-2px);
  box-shadow: 0 8px 24px rgba(5,121,248,.32);
}

/* パートナーカード：ホバーで浮き上がり */
.p-card-link {
  transition: box-shadow .25s, border-color .25s, transform .25s cubic-bezier(.22,1,.36,1);
}
.p-card-link:hover { transform: translateY(-4px); }

/* ニュース項目：ホバーで下線スライド */
.news-item { position: relative; transition: padding-left .25s ease; }
.news-item::after {
  content: '';
  position: absolute; left: 0; bottom: -1px;
  width: 0; height: 1px; background: var(--blue);
  transition: width .35s cubic-bezier(.22,1,.36,1);
}
.news-item:hover::after { width: 100%; }

/* デスクトップナビ：ホバーで下線がスライド */
.desktop-nav a {
  position: relative; padding-bottom: 3px;
}
.desktop-nav a::after {
  content: '';
  position: absolute; left: 0; bottom: 0;
  width: 0; height: 2px; background: var(--blue);
  border-radius: 1px;
  transition: width .3s cubic-bezier(.22,1,.36,1);
}
.desktop-nav a:hover::after,
.desktop-nav a.active::after { width: 100%; }

/* ── モバイルナビ（animations.jsが生成） ── */
.mobile-menu-btn {
  display: none;
  flex-direction: column; justify-content: center; align-items: center;
  gap: 5px;
  width: 40px; height: 40px;
  flex-shrink: 0; /* 狭い画面で潰れないように */
  background: none; border: none; cursor: pointer;
  padding: 8px; margin-left: 4px;
}
.mobile-menu-btn span {
  display: block; width: 22px; height: 2px;
  background: var(--text); border-radius: 1px;
  transition: transform .3s cubic-bezier(.22,1,.36,1), opacity .2s;
}
.mobile-menu-btn.open span:nth-child(1) { transform: translateY(7px) rotate(45deg); }
.mobile-menu-btn.open span:nth-child(2) { opacity: 0; }
.mobile-menu-btn.open span:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }
@media (max-width: 767px) {
  .mobile-menu-btn { display: flex; }
  /* 狭い画面はロゴ・ボタンをコンパクトに */
  .logo img { height: 32px; }
  .header-contact { padding: 8px 14px; font-size: 11px; flex-shrink: 0; }
}
.mobile-drawer {
  position: fixed; top: 68px; left: 0; right: 0; z-index: 99;
  background: rgba(255,255,255,.98);
  -webkit-backdrop-filter: blur(10px);
  backdrop-filter: blur(10px);
  border-bottom: 1px solid var(--bdr);
  box-shadow: 0 16px 40px rgba(13,27,53,.12);
  transform: translateY(-8px);
  opacity: 0; visibility: hidden; pointer-events: none;
  transition: transform .3s cubic-bezier(.22,1,.36,1), opacity .3s, visibility .3s;
}
.mobile-drawer.open {
  transform: translateY(0);
  opacity: 1; visibility: visible; pointer-events: auto;
}
.mobile-drawer ul { list-style: none; padding: 8px 0; }
.mobile-drawer li a {
  display: block;
  padding: 14px 28px;
  font-size: 14px; font-weight: 600; color: var(--text);
  border-bottom: 1px solid var(--bg);
  transition: color .15s, background .15s;
}
.mobile-drawer li:last-child a { border-bottom: none; }
.mobile-drawer li a:hover { color: var(--blue); background: var(--bg-s); }
@media (min-width: 768px) {
  .mobile-drawer { display: none; }
}

/* ── ページトップへ戻る（animations.jsが生成） ── */
.back-to-top {
  position: fixed; right: 22px; bottom: 22px; z-index: 90;
  width: 44px; height: 44px; border-radius: 50%;
  background: var(--blue); color: #fff;
  border: none; cursor: pointer;
  display: flex; align-items: center; justify-content: center;
  box-shadow: 0 6px 20px rgba(5,121,248,.35);
  opacity: 0; visibility: hidden;
  transform: translateY(12px);
  transition: opacity .3s, visibility .3s, transform .3s cubic-bezier(.22,1,.36,1), background .2s;
}
.back-to-top.show {
  opacity: 1; visibility: visible; transform: translateY(0);
}
.back-to-top:hover { background: var(--blue-d); }

/* ═══ 背景モチーフ（2026-07-03）═══ */
/* 無地セクションの寂しさ対策：ドット・草の枝・街並みシルエット */

/* 1) やわらかい光の円 — ライトブルー背景のセクションの隅にふんわり */
.about-cards, .news-sec, .exam-sec, .strengths-sec, .faq { position: relative; }
.about-cards::before, .news-sec::before, .exam-sec::before,
.strengths-sec::before, .faq::before {
  content: '';
  position: absolute; inset: 0;
  pointer-events: none;
  /* 円はセクションの端に触れさせない（端で切れると境界線に見えるため内側に配置） */
  background:
    radial-gradient(circle 280px at 85% 22%, rgba(5,121,248,.12), transparent 66%),
    radial-gradient(circle 320px at 12% 76%, rgba(86,200,255,.14), transparent 66%);
}

/* サブページバナー：右寄りにふんわり光の玉（端には触れさせない） */
.page-banner { position: relative; overflow: hidden; }
.page-banner::before {
  content: '';
  position: absolute; inset: 0;
  pointer-events: none;
  background: radial-gradient(circle 260px at 86% 45%, rgba(5,121,248,.09), transparent 66%);
}
.page-banner-inner { position: relative; z-index: 1; }

/* 白背景セクションにもごく淡い光（内側配置） */
.partners-sec, .system-sec { position: relative; }
.partners-sec::before, .system-sec::before {
  content: '';
  position: absolute; inset: 0;
  pointer-events: none;
  background: radial-gradient(circle 320px at 86% 72%, rgba(5,121,248,.05), transparent 66%);
}

/* 2) 心電図ライン — セクションの境界線として機能させる（トップページの創業セクションのみ） */
.free-banner, .founding-emotion {
  position: relative; overflow: hidden;
  border-bottom: none !important; /* 通常の境界線は廃止 */
}
/* 心電図モニター（animations.jsがSVGを生成：静止した波形＋波形に沿って走る輝点） */
.ecg-anim {
  position: absolute; left: 0; bottom: 4px;
  height: 48px; width: 100%;
  pointer-events: none;
  overflow: hidden;
}
.ecg-anim svg { display: block; }

/* 3) 検査セクションの足元にも心電図（隣接セクションと同系色なので境界役として自然） */
.exam-sec { overflow: hidden; }

/* 3) 街並みシルエット — CTA帯・会社概要ヒーローの足元に */
.cta { isolation: isolate; }
.cta::after {
  content: '';
  position: absolute; left: 0; right: 0; bottom: 0;
  height: 96px; z-index: -1;
  pointer-events: none;
  opacity: .34;
  background: url("data:image/svg+xml;utf8,<svg xmlns='http://www.w3.org/2000/svg' width='760' height='96' viewBox='0 0 760 96'><path fill='%23ffffff' fill-opacity='0.22' d='M0 96V62h20V48h16v14h12V38h26v58zm82 0V26h7V16h9v10h7v70zm32 0V56h32v40zm42 0V42h13V30h17v12h13v54zm52 0V68h24V58h20v38zm52 0V22h9V12h7v10h9v74zm34 0V50h28v46zm36 0V38h15v-8h13v8h15v58zm50 0V60h22v36zm30 0V32h11V20h9v12h11v64zm38 0V54h26v42zm34 0V44h32v52zm40 0V66h22v30zm30 0V28h9V16h9v12h9v68zm34 0V48h28v48zm36 0V58h20v38zm28 0V36h13v-8h11v8h13v60zm44 0V52h24v44z'/></svg>") repeat-x bottom center / auto 96px;
}
.founding-hero { position: relative; overflow: hidden; isolation: isolate; }
.founding-hero::after {
  content: '';
  position: absolute; left: 0; right: 0; bottom: 0;
  height: 80px; z-index: -1;
  pointer-events: none;
  opacity: .3;
  background: url("data:image/svg+xml;utf8,<svg xmlns='http://www.w3.org/2000/svg' width='760' height='96' viewBox='0 0 760 96'><path fill='%23ffffff' fill-opacity='0.22' d='M0 96V62h20V48h16v14h12V38h26v58zm82 0V26h7V16h9v10h7v70zm32 0V56h32v40zm42 0V42h13V30h17v12h13v54zm52 0V68h24V58h20v38zm52 0V22h9V12h7v10h9v74zm34 0V50h28v46zm36 0V38h15v-8h13v8h15v58zm50 0V60h22v36zm30 0V32h11V20h9v12h11v64zm38 0V54h26v42zm34 0V44h32v52zm40 0V66h22v30zm30 0V28h9V16h9v12h9v68zm34 0V48h28v48zm36 0V58h20v38zm28 0V36h13v-8h11v8h13v60zm44 0V52h24v44z'/></svg>") repeat-x bottom center / auto 80px;
}

/* 視差効果を減らす設定時はすべて無効化 */
@media (prefers-reduced-motion: reduce) {
  .fade-up, .fade-in, .fade-left, .fade-right, .zoom-in {
    opacity: 1; transform: none; transition: none;
  }
  .cta { animation: none; }
  /* 心電図の輝点はJS側でreduced-motion時に生成されない */
  html { scroll-behavior: auto; }
}
