@charset "utf-8";
@import url('https://fonts.googleapis.com/css2?family=Noto+Sans+JP:wght@400;500;700;900&display=swap');
/* =====================================================================
   brand.css ｜ 全国対応・王道コーポレート ブランドレイヤー
   既存 style.css / add.css の最後に読み込み、上質感と動きを付与する。
   コンセプト：信頼／格式（ネイビー × ブルー、ゴールドの細い差し色）
   ===================================================================== */

:root{
  --navy:#0a2a43;
  --navy-2:#0e3a5f;
  --blue:#0a5f8f;
  --blue-deep:#063e5e;
  --blue-bright:#1786bd;
  --ink:#1f2d3a;
  --muted:#5a6b75;
  --line:#e3e9ed;
  --tint:#f4f8fa;
  --gold:#c8a45c;
}

/* --- ベースタイポグラフィ --- */
body{
  font-family:"Noto Sans JP","Hiragino Kaku Gothic ProN","ヒラギノ角ゴ ProN W3",
    "Yu Gothic",Meiryo,sans-serif;
  color:var(--ink);
  -webkit-font-smoothing:antialiased;
  text-rendering:optimizeLegibility;
}
html{ scroll-behavior:smooth; }
::selection{ background:var(--blue); color:#fff; }

/* =====================================================================
   ヘッダー：ネイビー基調＋ゴールドの細い天面ライン、スクロールで影
   ===================================================================== */
#header{
  background:linear-gradient(100deg,var(--navy) 0%,#0a4d76 100%);
}
#mainNavi,
#mainNavi.active{
  background:linear-gradient(100deg,var(--navy) 0%,#0a4d76 100%);
  border-top:3px solid var(--gold);
  box-shadow:0 1px 0 rgba(255,255,255,.05);
  transition:box-shadow .3s ease;
}
body.scrolled #mainNavi,
body.scrolled #mainNavi.active{
  box-shadow:0 8px 26px rgba(8,25,45,.30);
}
#mainNavi .mn01c{ letter-spacing:.06em; }
#mainNavi .mn01c a{
  position:relative;
  padding-bottom:5px;
  transition:color .2s ease;
}
#mainNavi .mn01c a:hover{
  border-bottom:none;
  color:#fff;
}
#mainNavi .mn01c a::after{
  content:"";
  position:absolute;
  left:0; bottom:0;
  width:0; height:2px;
  background:var(--gold);
  transition:width .28s ease;
}
#mainNavi .mn01c a:hover::after{ width:100%; }

/* =====================================================================
   ページ見出し（hero）：ネイビーのグラデ overlay で上質に
   ===================================================================== */
.con4{
  background-image:linear-gradient(rgba(8,28,48,.74),rgba(8,28,48,.52)),url("images/bf03.png");
  background-position:center center;
  background-size:cover;
  position:relative;
}
.con4 h1{
  display:inline-block;
  font-size:30px;
  font-weight:700;
  letter-spacing:.12em;
  line-height:1.5;
  text-shadow:0 2px 14px rgba(0,0,0,.28);
}
.con4 h1::after{
  content:"";
  display:block;
  width:58px; height:3px;
  margin:20px auto 0;
  background:var(--gold);
  border-radius:2px;
}

/* =====================================================================
   本文：見出し・リンク・リード
   ===================================================================== */
/* 本文コンテナの右寄せ継承を解消し、左揃えに統一（目次・FAQ・チェックリスト等） */
.con7-1, .con8-1{ text-align:left; }
.con7-1 h2, .con8-1 h2{
  color:var(--navy);
  font-weight:700;
  letter-spacing:.02em;
  line-height:1.55;
  text-align:left;
  border-left:5px solid var(--blue);
  padding-left:15px;
  margin-top:48px;
}
.con7-1 p{ color:#33424c; }
.con7-1 a,
.lead a,
.faq dd a,
.body-note a{
  color:var(--blue);
  text-underline-offset:2px;
  transition:color .2s ease;
}
.con7-1 a:hover,
.lead a:hover,
.faq dd a:hover,
.body-note a:hover{ color:var(--blue-deep); }
.lead{ color:#33424c; }

/* セクション見出し（一覧ページの related-h など）にも上質感 */
.related > p.ttl{ letter-spacing:.02em; }

/* =====================================================================
   カード：ホバーで浮き上がり＋上辺アクセント（レイアウト不変）
   ===================================================================== */
.card{
  transition:box-shadow .28s ease, transform .28s ease, border-color .28s ease;
}
.card:hover{
  transform:translateY(-5px);
  border-color:#cfe0ea;
  box-shadow:0 16px 34px rgba(10,42,67,.16), inset 0 3px 0 var(--blue);
}
.card .tag{ background:var(--blue); letter-spacing:.06em; }

/* =====================================================================
   比較表
   ===================================================================== */
.cmp thead th{
  background:linear-gradient(180deg,#0a6391,#0a4d76);
  letter-spacing:.03em;
}
.cmp tbody th{ color:var(--navy); }

/* =====================================================================
   CTA ボックス：ネイビーのグラデ＋光沢＋ふわっと影
   ===================================================================== */
.ctabox{
  background:linear-gradient(135deg,var(--navy) 0%,#0a5f8f 100%);
  box-shadow:0 20px 44px rgba(10,42,67,.26);
  position:relative;
  overflow:hidden;
  border:1px solid rgba(255,255,255,.06);
}
.ctabox::before{
  content:"";
  position:absolute; inset:0;
  background:radial-gradient(circle at 86% -30%, rgba(255,255,255,.16), transparent 58%);
  pointer-events:none;
}
.ctabox > *{ position:relative; z-index:1; }
.ctabox .ctah{ letter-spacing:.04em; }

/* ボタン：押し出し感のある立体ボタン */
.ctabtn{
  box-shadow:0 8px 20px rgba(0,0,0,.20);
  transition:transform .16s ease, box-shadow .22s ease, opacity .2s ease;
}
.ctabtn:hover{
  transform:translateY(-2px);
  box-shadow:0 14px 28px rgba(0,0,0,.28);
  opacity:1;
}
.btn-send{
  box-shadow:0 10px 22px rgba(3,100,144,.28);
  background:linear-gradient(135deg,#0a5f8f,#036490);
}
.btn-send:hover{ transform:translateY(-2px); box-shadow:0 14px 28px rgba(3,100,144,.34); }

/* navband（トップ）の差し色を統一 */
.nb-feat{ background:linear-gradient(135deg,var(--navy),#0a7fb5); }

/* =====================================================================
   フッター：ネイビーのグラデ＋ゴールドの天面ライン
   ===================================================================== */
#footer{
  background:linear-gradient(100deg,var(--navy) 0%,#0a4d76 100%);
  border-top:3px solid var(--gold);
  padding:56px 0 42px;
  text-align:left;
}
#footer p{ color:#cfe0ea; }
#copyright{
  background:#08223a;
  color:#b9cede;
}

/* --- フッター：業務コピー＋フッターメニュー --- */
.footer-inner{
  width:92%; max-width:1040px; margin:0 auto;
  display:flex; flex-wrap:wrap; gap:40px 48px; align-items:flex-start;
}
.footer-brand{ flex:1 1 270px; min-width:230px; }
#footer .footer-brand img{ width:172px; vertical-align:bottom; }
#footer .footer-lead{
  margin:16px 0 0; font-size:13px; line-height:24px;
  color:#cbddeb; letter-spacing:.03em; text-align:left;
  padding:0;
}
.footer-nav{ flex:2 1 580px; display:flex; flex-wrap:wrap; gap:30px 40px; }
.footer-col{ flex:1 1 150px; min-width:138px; }
#footer .footer-h{
  font-size:13px; font-weight:700; color:#fff; letter-spacing:.06em;
  margin:0 0 12px; padding:0 0 9px; text-align:left;
  border-bottom:1px solid rgba(255,255,255,.20);
}
#footer .footer-col a{
  display:block; font-size:13px; line-height:1.55; color:#bcd1e0;
  text-decoration:none; padding:6px 0;
  transition:color .2s ease, padding-left .2s ease;
}
#footer .footer-col a:hover{ color:#fff; padding-left:6px; }

@media only screen and (max-width:1015px){
  #footer{ padding:44px 0 34px; }
  .footer-inner{ gap:30px; }
  .footer-brand{ flex:1 1 100%; text-align:center; }
  #footer .footer-brand img{ width:160px; }
  #footer .footer-lead{ text-align:center; }
  .footer-nav{ flex:1 1 100%; gap:24px 30px; }
  .footer-col{ flex:1 1 calc(50% - 30px); }
}
@media only screen and (max-width:520px){
  #footer{ text-align:center; }
  .footer-col{ flex:1 1 100%; }
  #footer .footer-h{ text-align:center; border-bottom:none; padding-bottom:4px; }
  #footer .footer-col a{ text-align:center; }
}

/* =====================================================================
   トップページ：3バンド（取得希望／メリット／お役立ち）を 1040px に統一
   ===================================================================== */
.home-sec{
  width:92%; max-width:1040px; margin:0 auto;
  padding:78px 0 66px; box-sizing:border-box;
}
.home-head{ text-align:center; margin-bottom:42px; }
.home-kicker{
  display:inline-block; font-size:12px; font-weight:700;
  letter-spacing:.22em; color:var(--blue);
}
.home-kicker::before,
.home-kicker::after{
  content:""; display:inline-block; width:22px; height:2px;
  background:var(--gold); vertical-align:middle;
}
.home-kicker::before{ margin-right:10px; }
.home-kicker::after{ margin-left:10px; }
.home-title{
  font-size:27px; font-weight:700; color:var(--navy);
  letter-spacing:.04em; line-height:1.42; margin:12px 0 10px;
}
.home-sub{ font-size:14px; color:var(--muted); letter-spacing:.04em; margin:0; }

/* --- メリット 8カード --- */
.merit-grid{ display:grid; grid-template-columns:repeat(4,1fr); gap:20px; }
.merit-card{
  position:relative; background:#fff; border:1px solid var(--line);
  border-radius:14px; padding:30px 16px 24px; text-align:center;
  box-shadow:0 6px 18px rgba(10,42,67,.06);
  transition:transform .28s ease, box-shadow .28s ease, border-color .28s ease;
  overflow:hidden;
}
.merit-card::before{
  content:""; position:absolute; left:0; top:0; width:100%; height:4px;
  background:linear-gradient(90deg,var(--navy),var(--blue));
  transform:scaleX(0); transform-origin:left; transition:transform .35s ease;
}
.merit-card:hover{
  transform:translateY(-6px); border-color:#cfe0ea;
  box-shadow:0 18px 38px rgba(10,42,67,.16);
}
.merit-card:hover::before{ transform:scaleX(1); }
.merit-no{
  position:absolute; top:11px; right:14px;
  font-size:13px; font-weight:800; font-style:italic;
  color:#e0e7ec; letter-spacing:.02em; transition:color .28s ease;
}
.merit-card:hover .merit-no{ color:var(--gold); }
.merit-ico{
  display:flex; align-items:center; justify-content:center;
  width:64px; height:64px; margin:2px auto 16px; border-radius:50%;
  background:linear-gradient(135deg,var(--navy),var(--blue));
  box-shadow:0 8px 18px rgba(10,60,100,.26);
  transition:transform .28s ease;
}
.merit-card:hover .merit-ico{ transform:scale(1.08) rotate(-3deg); }
.merit-ico svg{
  width:32px; height:32px; stroke:#fff; fill:none;
  stroke-width:1.6; stroke-linecap:round; stroke-linejoin:round;
}
.merit-ico svg.fill{ fill:#fff; stroke:none; }
.merit-label{
  font-size:15px; font-weight:700; color:var(--navy);
  letter-spacing:.03em; line-height:1.5; margin:0;
}

/* --- お役立ち 4カード（1040幅に合わせ4列） --- */
.home-cardgrid{ display:grid; grid-template-columns:repeat(4,1fr); gap:20px; align-items:stretch; }
.home-cardgrid .card{ flex:none; min-width:0; }
.home-more{ text-align:center; margin:38px 0 0; }
.home-more a{
  display:inline-block; color:var(--blue); font-weight:700; text-decoration:none;
  border:1.5px solid var(--blue); border-radius:50px; padding:11px 32px;
  letter-spacing:.04em; transition:background .2s ease, color .2s ease;
}
.home-more a:hover{ background:var(--blue); color:#fff; }

/* --- 取得希望（フル幅 ネイビーCTAバンド）--- */
.home-band{
  width:100%; position:relative; overflow:hidden;
  background:linear-gradient(120deg,var(--navy) 0%,#0a5f8f 100%);
}
.home-band::before{
  content:""; position:absolute; inset:0; pointer-events:none;
  background:radial-gradient(circle at 88% -30%, rgba(255,255,255,.14), transparent 55%);
}
.home-band-inner{
  position:relative; z-index:1; width:92%; max-width:1040px; margin:0 auto;
  padding:50px 0; display:flex; align-items:center; gap:36px;
}
.home-band-text{ flex:1 1 auto; }
.home-band .home-kicker{ color:#bfe0f2; }
.home-band-title{
  font-size:24px; font-weight:700; color:#fff;
  letter-spacing:.04em; line-height:1.5; margin:10px 0 12px;
}
.home-band-text p{ font-size:14px; line-height:28px; color:#e6f0f6; margin:0; }
.home-band-text p b{ color:#fff; }
.home-band-cta{ flex:none; }
.home-band-cta .ctabtn{ background:#fff; color:var(--navy); white-space:nowrap; }

/* --- スタッガー（カードを少しずつ遅らせて表示）--- */
html.reveal-on .merit-grid > [data-reveal],
html.reveal-on .home-cardgrid > [data-reveal]{
  transition-delay:calc(var(--d,0) * 60ms);
}

/* --- レスポンシブ --- */
@media only screen and (max-width:1015px){
  .home-sec{ padding:54px 0 46px; }
  .home-title{ font-size:22px; }
  .home-band-inner{ flex-direction:column; align-items:flex-start; padding:38px 0; }
  .home-band-cta{ width:100%; }
  .home-band-cta .ctabtn{ display:block; width:100%; box-sizing:border-box; text-align:center; }
  .merit-grid{ grid-template-columns:repeat(2,1fr); gap:14px; }
  .home-cardgrid{ grid-template-columns:repeat(2,1fr); gap:14px; }
}
@media only screen and (max-width:520px){
  .merit-card{ padding:24px 10px 20px; }
  .merit-ico{ width:56px; height:56px; }
  .merit-ico svg{ width:28px; height:28px; }
  .merit-label{ font-size:14px; }
}

/* =====================================================================
   コンテンツ幅の統一
   下層ページの本文・各コンポーネントを、トップページと同じ広い幅(1040px)に
   揃える。本文(755px)より3点ボックス等が広く飛び出す不揃いを解消する。
   ===================================================================== */
.con7-1{ width:92%; max-width:1040px; }
.bc,
.cwrap,
.ctabox,
.related{ max-width:1040px; }
.value-grid,
.mission{ max-width:1040px; }
/* 単体配置のメリットグリッド（メリットページ等）を 1040px に制限 */
.merit-grid{ width:92%; max-width:1040px; margin-left:auto; margin-right:auto; }
/* トップページ内（home-sec の中）はセクション幅いっぱいに保つ */
.home-sec .merit-grid,
.home-sec .home-cardgrid{ width:100%; max-width:none; margin:0; }

/* =====================================================================
   取得の流れ：ステップ・フロー図（縦型タイムライン）
   ===================================================================== */
.flow{ width:92%; max-width:1040px; margin:14px auto 0; box-sizing:border-box; }
.flow-step{ position:relative; display:flex; gap:24px; padding-bottom:30px; }
.flow-step:last-child{ padding-bottom:0; }
/* 番号どうしをつなぐ縦のコネクター線 */
.flow-step:not(:last-child)::after{
  content:""; position:absolute; left:31px; top:60px; bottom:-2px; width:2px;
  background:linear-gradient(180deg, var(--blue) 0%, #c7d8e3 100%); z-index:0;
}
.flow-num{
  position:relative; z-index:1; flex:none;
  width:64px; height:64px; border-radius:50%;
  background:linear-gradient(135deg, var(--navy), var(--blue));
  box-shadow:0 8px 18px rgba(10,60,100,.28);
  display:flex; flex-direction:column; align-items:center; justify-content:center; color:#fff;
}
.flow-num .s{ font-size:8.5px; font-weight:700; letter-spacing:.16em; color:#bfe0f2; line-height:1; margin-bottom:3px; }
.flow-num .n{ font-size:22px; font-weight:800; line-height:1; }
.flow-body{
  flex:1 1 auto; min-width:0; background:#fff; border:1px solid var(--line);
  border-radius:14px; padding:20px 26px; box-shadow:0 6px 18px rgba(10,42,67,.06);
  transition:transform .28s ease, box-shadow .28s ease, border-color .28s ease;
}
.flow-body:hover{ transform:translateY(-3px); border-color:#cfe0ea; box-shadow:0 14px 30px rgba(10,42,67,.12); }
.flow-title{ display:flex; align-items:center; gap:10px; margin:2px 0 9px; }
.flow-title svg{ width:22px; height:22px; stroke:var(--blue); fill:none; stroke-width:1.7; stroke-linecap:round; stroke-linejoin:round; flex:none; }
.flow-title h3{ font-size:17px; font-weight:700; color:var(--navy); margin:0; letter-spacing:.02em; line-height:1.4; }
.flow-body p{ font-size:14px; line-height:26px; color:#46555f; margin:0; }

html.reveal-on .flow .flow-step[data-reveal]{ transition-delay:calc(var(--d,0) * 70ms); }

@media only screen and (max-width:1015px){
  .flow-step{ gap:16px; }
  .flow-num{ width:54px; height:54px; }
  .flow-step:not(:last-child)::after{ left:26px; top:50px; }
  .flow-num .n{ font-size:19px; }
}
@media only screen and (max-width:520px){
  .flow-body{ padding:16px 16px; }
  .flow-title h3{ font-size:15.5px; }
}

/* =====================================================================
   費用：料金カード（従業者規模別）
   ===================================================================== */
.price-grid{
  width:92%; max-width:1040px; margin:14px auto 0; box-sizing:border-box;
  display:grid; grid-template-columns:repeat(3,1fr); gap:22px;
}
.price-card{
  display:flex; flex-direction:column; background:#fff;
  border:1px solid var(--line); border-radius:16px; overflow:hidden;
  box-shadow:0 6px 18px rgba(10,42,67,.07);
  transition:transform .28s ease, box-shadow .28s ease, border-color .28s ease;
}
.price-card:hover{ transform:translateY(-6px); border-color:#cfe0ea; box-shadow:0 18px 38px rgba(10,42,67,.16); }
.price-tier{
  display:flex; align-items:center; justify-content:center; gap:8px;
  background:linear-gradient(135deg, var(--navy), var(--blue));
  color:#fff; padding:15px 14px; font-size:15px; font-weight:700; letter-spacing:.04em;
}
.price-tier svg{ width:18px; height:18px; stroke:#fff; fill:none; stroke-width:1.7; stroke-linecap:round; stroke-linejoin:round; }
.price-tier b{ font-size:18px; margin:0 1px; }
.price-card-body{ flex:1 1 auto; padding:26px 22px 24px; text-align:center; display:flex; flex-direction:column; }
.price-new-label{ font-size:12px; font-weight:700; letter-spacing:.1em; color:var(--blue); }
.price-amount{ font-size:31px; font-weight:800; color:var(--navy); line-height:1.05; margin:9px 0 4px; letter-spacing:.01em; }
.price-amount .yen{ font-size:16px; font-weight:700; margin-left:2px; }
.price-tax{ font-size:11px; line-height:1.5; color:var(--muted); }
.price-renew{
  margin-top:18px; padding-top:16px; border-top:1px dashed #d4dee5;
  display:flex; align-items:center; justify-content:center; gap:9px;
  font-size:13px; color:#46555f;
}
.price-renew b{ font-size:18px; color:var(--navy); font-weight:800; }
@media only screen and (max-width:900px){
  .price-grid{ grid-template-columns:1fr; max-width:440px; gap:16px; }
}

/* =====================================================================
   会社案内（理念・私たちについて・価値観）
   ===================================================================== */
.mission{
  width:92%; max-width:1040px; margin:8px auto 0; box-sizing:border-box;
  background:linear-gradient(135deg,var(--navy) 0%,#0a5f8f 100%);
  border-radius:16px; padding:50px 44px; text-align:center; color:#fff;
  position:relative; overflow:hidden;
  box-shadow:0 20px 44px rgba(10,42,67,.22);
  border:1px solid rgba(255,255,255,.06);
}
.mission::before{
  content:""; position:absolute; inset:0; pointer-events:none;
  background:radial-gradient(circle at 85% -30%, rgba(255,255,255,.16), transparent 55%);
}
.mission > *{ position:relative; z-index:1; }
.mission-label{
  display:inline-block; font-size:12px; font-weight:700;
  letter-spacing:.24em; color:#bfe0f2;
}
.mission-label::before,.mission-label::after{
  content:""; display:inline-block; width:22px; height:2px;
  background:var(--gold); vertical-align:middle;
}
.mission-label::before{ margin-right:10px; }
.mission-label::after{ margin-left:10px; }
.mission-statement{
  font-size:26px; font-weight:700; line-height:1.7;
  letter-spacing:.04em; margin:16px 0 16px;
}
.mission-statement b{ color:#ffd98a; }
.mission p{ font-size:14px; line-height:28px; color:#e8f1f7; margin:0; }

.value-grid{
  width:92%; max-width:1040px; margin:6px auto 0; box-sizing:border-box;
  display:grid; grid-template-columns:repeat(3,1fr); gap:22px;
}
.value-card{
  background:#fff; border:1px solid var(--line); border-radius:14px;
  padding:30px 26px; box-shadow:0 6px 18px rgba(10,42,67,.06);
  transition:transform .28s ease, box-shadow .28s ease, border-color .28s ease;
}
.value-card:hover{
  transform:translateY(-5px); border-color:#cfe0ea;
  box-shadow:0 16px 34px rgba(10,42,67,.14);
}
.value-ico{
  display:flex; align-items:center; justify-content:center;
  width:54px; height:54px; border-radius:14px; margin-bottom:16px;
  background:linear-gradient(135deg,var(--navy),var(--blue));
  box-shadow:0 8px 18px rgba(10,60,100,.24);
}
.value-ico svg{ width:28px; height:28px; stroke:#fff; fill:none; stroke-width:1.6; stroke-linecap:round; stroke-linejoin:round; }
.value-card h3{ font-size:17px; font-weight:700; color:var(--navy); margin:0 0 9px; letter-spacing:.02em; }
.value-card p{ font-size:13.5px; line-height:25px; color:#4a5a64; margin:0; }

.about-table{ width:100%; border-collapse:collapse; margin:6px 0; font-size:14px; }
.about-table th{
  width:28%; text-align:left; background:var(--tint); color:var(--navy);
  font-weight:700; padding:15px 18px; border:1px solid var(--line);
  vertical-align:top; white-space:nowrap; letter-spacing:.03em;
}
.about-table td{
  padding:15px 18px; border:1px solid var(--line);
  color:var(--ink); line-height:1.7; vertical-align:top;
}
.about-table td a{ color:var(--blue); }

@media only screen and (max-width:1015px){
  .mission{ padding:38px 22px; }
  .mission-statement{ font-size:20px; }
  .value-grid{ grid-template-columns:1fr; gap:14px; }
  .about-table th{ white-space:normal; width:34%; }
}

/* =====================================================================
   スクロール演出（reveal.js が data-reveal を付与）
   ・初期表示で画面内の要素は隠さない（reveal.js 側で制御）
   ・動きを減らす設定では無効化
   ===================================================================== */
@media (prefers-reduced-motion: no-preference){
  html.reveal-on [data-reveal]{
    opacity:0;
    transform:translateY(24px);
    transition:opacity .7s cubic-bezier(.2,.7,.2,1),
               transform .7s cubic-bezier(.2,.7,.2,1);
    will-change:opacity, transform;
  }
  html.reveal-on [data-reveal].is-visible{
    opacity:1;
    transform:none;
  }
}

/* =====================================================================
   レスポンシブ調整
   ===================================================================== */
@media only screen and (max-width:1015px){
  .con4 h1{ font-size:23px; letter-spacing:.08em; }
  .con4 h1::after{ margin-top:16px; width:48px; }
}
