@charset "UTF-8";

/* =========================================================
  Base
========================================================= */
:root{
  --bg: #ffffff;
  --bg-soft: #f6f8fc;
  --text: #0f172a;
  --muted: #475569;
  --muted-2:#64748b;
  --border:#e2e8f0;

  --brand:#0b57d0;
  --brand-2:#111827;

  --radius:18px;
  --shadow: 0 14px 36px rgba(2, 6, 23, .10);
  --shadow-sm: 0 10px 22px rgba(2, 6, 23, .07);

  --container: 1120px;
}

*{ box-sizing:border-box; }
html{ scroll-behavior:smooth; }
body{
  margin:0;
  font-family: system-ui, -apple-system, "Segoe UI", Roboto, "Noto Sans JP", "Hiragino Kaku Gothic ProN", "Yu Gothic", "Meiryo", sans-serif;
  color:var(--text);
  background: var(--bg);
  line-height:1.75;
  letter-spacing:.02em;
}

[id]{ scroll-margin-top: 90px; }

img{ max-width:100%; height:auto; display:block; }
a{ color:inherit; text-decoration:none; }
p{ margin:0 0 1em; }
ul{ margin:0; padding-left:1.25em; }
small{ color:var(--muted-2); }

.container{
  width:min(var(--container), calc(100% - 40px));
  margin-inline:auto;
}

.sr-only{
  position:absolute;
  width:1px;
  height:1px;
  padding:0;
  margin:-1px;
  overflow:hidden;
  clip:rect(0,0,0,0);
  border:0;
}

.skip-link{
  position:absolute;
  left:-9999px;
  top:10px;
  background:#fff;
  border:1px solid var(--border);
  padding:10px 12px;
  border-radius:10px;
  z-index:999;
}
.skip-link:focus{ left:10px; }

/* =========================================================
  Buttons / Tags
========================================================= */
.btn{
  display:inline-flex;
  align-items:center;
  justify-content:center;
  gap:.55em;
  padding:12px 16px;
  border-radius:999px;
  border:1px solid var(--border);
  background:#fff;
  color:var(--text);
  font-weight:800;
  line-height:1;
  box-shadow:none;
  transition: transform .15s ease, box-shadow .15s ease, background .15s ease, border-color .15s ease;
}
.btn:hover{ transform: translateY(-1px); box-shadow: var(--shadow-sm); }
.btn:active{ transform: translateY(0); box-shadow:none; }
.btn:focus-visible{ outline:3px solid rgba(11,87,208,.25); outline-offset:2px; }

.btn--primary{
  background: var(--brand-2);
  border-color: var(--brand-2);
  color:#fff;
}
.btn--primary:hover{ box-shadow: var(--shadow); }

.btn--ghost{ background:#fff; }

.btn--sm{
  padding:10px 14px;
  font-size:.95rem;
}

.tag{
  display:inline-flex;
  align-items:center;
  gap:.5em;
  padding:8px 12px;
  border:1px solid var(--border);
  border-radius:999px;
  background:#fff;
  color:var(--muted);
  font-weight:800;
  font-size:.92rem;
}

.tag--blue{
  border-color: rgba(11,87,208,.18);
  background: rgba(11,87,208,.06);
  color: #0f172a;
}

/* =========================================================
  Header（★修正：ロゴ以外が右に詰まる問題を解消）
========================================================= */
.site-header{
  position:sticky;
  top:0;
  z-index:100;
  background: rgba(255,255,255,.92);
  backdrop-filter: blur(10px);
  border-bottom: 1px solid var(--border);
}

.header__inner{
  display:flex;
  align-items:center;
  justify-content:flex-start;   /* ★ここを space-between から変更 */
  height:72px;
  gap:20px;                    /* ★余白を適正化 */
}

.brand{
  display:flex;
  align-items:center;
  gap:12px;
  flex: 0 0 auto;              /* ★ブランド領域を固定して崩さない */
}
.brand__logo{
  height:44px;
  width:auto;
}
.brand__name{
  font-weight:950;
  letter-spacing:.03em;
}
.brand__sub{
  display:block;
  margin-top:2px;
  font-size:.82rem;            /* 小さく */
  color:var(--muted-2);
  font-weight:800;
}
.brand__subLink{
  color: var(--muted-2);
  text-decoration: underline;
  text-decoration-color: rgba(100,116,139,.45);
  text-underline-offset: 3px;
}
.brand__subLink:hover{
  color: var(--text);
  text-decoration-color: rgba(15,23,42,.45);
}

.nav{
  display:flex;
  align-items:center;
  gap:14px;
  margin-left:auto;            /* ★右側へ寄せる（押し込み解消） */
  flex: 0 0 auto;
}
.nav__toggle{
  display:none;
  border:1px solid var(--border);
  background:#fff;
  width:44px;
  height:44px;
  border-radius:12px;
}
.nav__toggleBars{
  display:block;
  width:18px;
  height:2px;
  background: var(--text);
  position:relative;
  margin-inline:auto;
}
.nav__toggleBars::before,
.nav__toggleBars::after{
  content:"";
  position:absolute;
  left:0;
  width:18px;
  height:2px;
  background: var(--text);
}
.nav__toggleBars::before{ top:-6px; }
.nav__toggleBars::after{ top:6px; }

.nav__menu{
  display:flex;
  align-items:center;
  gap:18px;
}
.nav__link{
  color:var(--muted);
  font-weight:850;
  padding:10px 10px;
  border-radius:12px;
  transition: background .15s ease, color .15s ease;
}
.nav__link:hover{
  background: rgba(11,87,208,.08);
  color: var(--text);
}
.nav__link[aria-current="page"]{
  background: rgba(17,24,39,.06);
  color: var(--text);
}

/* =========================================================
  Hero（視覚要素）
========================================================= */
.hero{
  background:
    radial-gradient(900px 450px at 80% 25%, rgba(11,87,208,.12), transparent 60%),
    radial-gradient(900px 500px at 15% 75%, rgba(17,24,39,.10), transparent 65%),
    linear-gradient(#fff, #fff);
  border-bottom: 1px solid var(--border);
}

.hero__inner{
  display:grid;
  grid-template-columns: 1.05fr .95fr;
  gap:32px;
  padding:56px 0;
  align-items:center;
}

.hero__kicker{
  display:inline-flex;
  align-items:center;
  gap:10px;
  margin-bottom:18px;
}

.hero__title{
  font-size: clamp(2.1rem, 3vw, 3.2rem);
  line-height:1.22;
  letter-spacing:.02em;
  margin:0 0 16px;
  font-weight: 950;
  text-wrap: balance;
}
.hero__keep{ display:inline-block; }
.br-md{ display:none; }

.hero__lead{
  color:var(--muted);
  font-size:1.06rem;
  margin:0 0 18px;
  font-weight:750;
}

.hero__meta{
  display:flex;
  gap:10px;
  flex-wrap:wrap;
  margin:18px 0 22px;
}

.hero__actions{
  display:flex;
  gap:12px;
  flex-wrap:wrap;
  align-items:center;
}
.hero__note{
  margin-top:12px;
  color:var(--muted-2);
  font-weight:850;
  font-size:.95rem;
}

.hero__media{
  background: #fff;
  border:1px solid var(--border);
  border-radius: var(--radius);
  box-shadow: var(--shadow);
  overflow:hidden;
}
.hero__mediaInner{
  padding:18px;
  background: linear-gradient(180deg, #ffffff, #f8fbff);
}
.hero__mediaTitle{
  display:flex;
  align-items:center;
  justify-content:space-between;
  gap:10px;
  margin-bottom:12px;
}
.hero__mediaTitle strong{
  font-weight:950;
  letter-spacing:.02em;
}

.media__frame{
  border:1px solid rgba(226,232,240,.9);
  border-radius: 16px;
  overflow:hidden;
  box-shadow: 0 10px 20px rgba(2,6,23,.06);
}
.media__caption{
  padding:10px 12px;
  font-size:.92rem;
  color: var(--muted-2);
  font-weight:800;
  background: #fff;
  border-top:1px solid var(--border);
}

.hero__check{
  margin-top:14px;
  padding-top:14px;
  border-top:1px dashed var(--border);
}
.hero__check ul{
  list-style:none;
  padding:0;
  margin:0;
}
.hero__check li{
  display:flex;
  gap:10px;
  align-items:flex-start;
  margin:10px 0;
  color: var(--muted);
  font-weight:800;
}
.hero__check li::before{
  content:"✓";
  display:inline-flex;
  width:22px;
  height:22px;
  align-items:center;
  justify-content:center;
  border-radius:999px;
  background: rgba(11,87,208,.12);
  color: var(--brand);
  font-weight:950;
  flex: 0 0 22px;
}

/* =========================================================
  Sections / Cards / Visual cards
========================================================= */
.section{ padding:56px 0; }
.section--soft{ background: var(--bg-soft); border-top:1px solid var(--border); border-bottom:1px solid var(--border); }

.section__head{
  display:flex;
  align-items:flex-end;
  justify-content:space-between;
  gap:18px;
  margin-bottom:22px;
}
.section__title{
  margin:0;
  font-size: clamp(1.5rem, 2vw, 2rem);
  font-weight: 950;
  line-height:1.25;
}
.section__desc{
  margin:8px 0 0;
  color:var(--muted);
  font-weight:800;
}

.grid{
  display:grid;
  grid-template-columns: repeat(12, 1fr);
  gap:16px;
}

.card{
  grid-column: span 4;
  display:flex;
  flex-direction:column;
  background:#fff;
  border:1px solid var(--border);
  border-radius: var(--radius);
  padding:18px;
  box-shadow: var(--shadow-sm);
  transition: transform .15s ease, box-shadow .15s ease, border-color .15s ease;
}
.card:hover{ transform: translateY(-2px); box-shadow: var(--shadow); border-color: rgba(11,87,208,.25); }

.card__top{
  display:flex;
  align-items:center;
  gap:12px;
  margin-bottom:10px;
}
.card__icon{
  width:44px;
  height:44px;
  border-radius:14px;
  display:inline-flex;
  align-items:center;
  justify-content:center;
  background: rgba(11,87,208,.08);
  border:1px solid rgba(11,87,208,.18);
}
.card__icon svg{ width:22px; height:22px; fill: none; stroke: var(--brand); stroke-width:2; }
.card__title{
  margin:0;
  font-weight:950;
  font-size:1.1rem;
}
.card__text{
  margin:8px 0 0;
  color:var(--muted);
  font-weight:800;
  flex: 1 1 auto;
}

.notice{
  background:#fff;
  border:1px solid var(--border);
  border-radius: var(--radius);
  padding:16px 18px;
  color:var(--muted);
  font-weight:800;
}

.breadcrumb{
  padding:16px 0 0;
  color: var(--muted-2);
  font-weight:800;
  font-size:.95rem;
}
.breadcrumb a{ color: var(--brand); }

/* =========================================================
  Page hero（トップ以外）
========================================================= */
.page-hero{
  background:
    radial-gradient(900px 450px at 75% 20%, rgba(11,87,208,.10), transparent 60%),
    radial-gradient(900px 500px at 15% 85%, rgba(17,24,39,.08), transparent 65%),
    linear-gradient(#fff, #fff);
  border-bottom:1px solid var(--border);
}
.page-hero__inner{
  padding:42px 0;
  display:grid;
  grid-template-columns: 1.05fr .95fr;
  gap:24px;
  align-items:center;
}
.page-hero__title{
  margin:0;
  font-size: clamp(1.8rem, 2.4vw, 2.5rem);
  line-height:1.25;
  font-weight:950;
}
.page-hero__lead{
  margin:10px 0 0;
  color:var(--muted);
  font-weight:800;
}
.page-hero__actions{
  margin-top:16px;
  display:flex;
  gap:12px;
  flex-wrap:wrap;
}
.illus{
  background:#fff;
  border:1px solid var(--border);
  border-radius: var(--radius);
  box-shadow: var(--shadow);
  padding:18px;
}
.illus__box{
  border:1px solid rgba(226,232,240,.9);
  border-radius: 16px;
  padding:18px;
  background: linear-gradient(180deg, #fff, #f8fbff);
}
.illus__cap{
  margin-top:10px;
  color:var(--muted-2);
  font-weight:850;
  font-size:.95rem;
}

/* =========================================================
  Steps / FAQ / Prose
========================================================= */
.steps{
  display:grid;
  grid-template-columns: repeat(3, 1fr);
  gap:16px;
}
.step{
  background:#fff;
  border:1px solid var(--border);
  border-radius: var(--radius);
  padding:18px;
  box-shadow: var(--shadow-sm);
}
.step__no{
  display:inline-flex;
  align-items:center;
  justify-content:center;
  width:36px; height:36px;
  border-radius:12px;
  background: rgba(17,24,39,.08);
  font-weight:950;
  margin-bottom:10px;
}
.step__title{ margin:0 0 6px; font-weight:950; }
.step__text{ margin:0; color:var(--muted); font-weight:800; }

.prose{
  background:#fff;
  border:1px solid var(--border);
  border-radius: var(--radius);
  padding:18px;
  box-shadow: var(--shadow-sm);
}
.prose h2, .prose h3{
  margin:0 0 10px;
  font-weight:950;
}
.prose p{ color:var(--muted); font-weight:800; }
.prose li{ color:var(--muted); font-weight:800; }

.faq{
  display:grid;
  grid-template-columns: 1fr;
  gap:12px;
}
details{
  background:#fff;
  border:1px solid var(--border);
  border-radius: var(--radius);
  padding:14px 16px;
  box-shadow: var(--shadow-sm);
}
summary{
  cursor:pointer;
  font-weight:950;
  list-style:none;
}
summary::-webkit-details-marker{ display:none; }
details[open]{ border-color: rgba(11,87,208,.25); box-shadow: var(--shadow); }
.details__body{
  margin-top:10px;
  color:var(--muted);
  font-weight:800;
}

/* =========================================================
  Footer（右リンク固定・「公式サイト」表記）
========================================================= */
.site-footer{
  background: #0b1220;
  color: #e5e7eb;
  padding:44px 0 26px;
}
.footer__grid{
  display:grid;
  grid-template-columns: 1.2fr .8fr;
  gap:20px;
  padding-bottom:18px;
  border-bottom:1px solid rgba(226,232,240,.18);
}
.footer__title{ margin:0 0 8px; font-weight:950; }
.footer__text{ margin:0; color: rgba(229,231,235,.86); font-weight:800; }
.footer__text a{ text-decoration: underline; text-underline-offset:3px; }

.footer__links{
  display:flex;
  gap:12px;
  flex-wrap:wrap;
  justify-content:flex-end;
}
.footer__links a{
  padding:10px 12px;
  border-radius:12px;
  border:1px solid rgba(226,232,240,.20);
  color:#e5e7eb;
  font-weight:850;
}
.footer__links a:hover{ background: rgba(255,255,255,.06); }

.footer__bottom{
  display:flex;
  align-items:center;
  justify-content:space-between;
  gap:12px;
  flex-wrap:wrap;
  margin-top:16px;
}
.footer__copy{
  margin:0;
  color: rgba(229,231,235,.70);
  font-weight:850;
  letter-spacing:.02em;
}

/* =========================================================
  Utility（grid span / rows）
========================================================= */
.span-12{ grid-column: span 12; }
.span-7{ grid-column: span 7; }
.span-6{ grid-column: span 6; }
.span-5{ grid-column: span 5; }

.btn-row{ display:flex; gap:10px; flex-wrap:wrap; }

.contact-actions{
  margin-top:12px;
  display:flex;
  gap:10px;
  flex-wrap:wrap;
  align-items:center;
}

/* =========================================================
  Nav CTA（企業/従業員の分離）
========================================================= */
.nav__cta{
  display:flex;
  align-items:center;
  gap:10px;
}

/* =========================================================
  Table of Contents（目次）
========================================================= */
.section--tight{ padding:26px 0; }

.toc{
  background:#fff;
  border:1px solid var(--border);
  border-radius: var(--radius);
  padding:16px 18px;
  box-shadow: var(--shadow-sm);
}
.toc__title{
  font-weight:950;
  letter-spacing:.02em;
  margin-bottom:10px;
}
.toc__nav{
  display:flex;
  gap:10px;
  flex-wrap:wrap;
}
.toc__nav a{
  padding:10px 12px;
  border-radius:999px;
  border:1px solid var(--border);
  background:#fff;
  color:var(--muted);
  font-weight:850;
  transition: transform .15s ease, box-shadow .15s ease, background .15s ease, border-color .15s ease, color .15s ease;
}
.toc__nav a:hover{
  transform: translateY(-1px);
  box-shadow: var(--shadow-sm);
  border-color: rgba(11,87,208,.25);
  color: var(--text);
  background: rgba(11,87,208,.06);
}

/* =========================================================
  Card variations
========================================================= */
a.card{ cursor:pointer; }

.card--emphasis{
  border-color: rgba(11,87,208,.28);
  background: linear-gradient(180deg, rgba(11,87,208,.06), #fff);
}

/* =========================================================
  Map
========================================================= */
.map-frame{
  border:1px solid rgba(226,232,240,.9);
  border-radius: 16px;
  overflow:hidden;
  box-shadow: 0 10px 20px rgba(2,6,23,.06);
  background:#fff;
}
.map-frame iframe{
  width:100%;
  height:260px;
  border:0;
  display:block;
}

/* =========================================================
  Floating CTA（追従ボタン）
========================================================= */
.floating-cta{
  display:none;
  position:fixed;
  left:0;
  right:0;
  bottom:0;
  z-index:120;
  padding:12px 0;
  pointer-events:none;
  transform: translateY(120%);
  transition: transform .18s ease;
  background: linear-gradient(180deg, rgba(255,255,255,0), rgba(255,255,255,.92));
  backdrop-filter: blur(10px);
  border-top: 1px solid rgba(226,232,240,.75);
}
.floating-cta.is-show{ transform: translateY(0); }

.floating-cta__inner{
  width:min(var(--container), calc(100% - 40px));
  margin-inline:auto;
  display:flex;
  gap:10px;
  flex-wrap:wrap;
  pointer-events:auto;
}
.floating-cta__inner .btn{
  flex: 1 1 260px;
}

/* =========================================================
  Responsive
========================================================= */
@media (max-width: 980px){
  .hero__inner{ grid-template-columns: 1fr; }
  .page-hero__inner{ grid-template-columns: 1fr; }
  .card{ grid-column: span 6; }
  .span-12, .span-7, .span-6, .span-5{ grid-column: span 12; }
  .steps{ grid-template-columns: 1fr; }
  .footer__grid{ grid-template-columns: 1fr; }
  .footer__links{ justify-content:flex-start; }
  .floating-cta{ display:block; }
  .br-md{ display:inline; }
}

@media (max-width: 760px){
  .header__inner{ height:68px; gap:14px; }
  .brand__logo{ height:40px; }

  .nav__toggle{ display:inline-flex; align-items:center; justify-content:center; }
  .nav__cta{ flex-direction:column; align-items:stretch; }
  .nav__cta .btn{ width:100%; }
  .nav__menu{
    position:absolute;
    right:20px;
    top:72px;
    width:min(92vw, 420px);
    padding:12px;
    background:#fff;
    border:1px solid var(--border);
    border-radius: 16px;
    box-shadow: var(--shadow);
    display:none;
    flex-direction:column;
    align-items:stretch;
    gap:8px;
  }
  .nav__menu.is-open{ display:flex; }
  .nav__link{ padding:12px 12px; }
  .card{ grid-column: span 12; }
}

@media (prefers-reduced-motion: reduce){
  html{ scroll-behavior:auto; }
  .btn, .card{ transition:none; }
}