/*
Theme Name: Lightning Child
Theme URI:
Template: lightning
Description:
Author:
Tags:
Version: 0.6.0
*/

/* =========================================================================
   SMBグロースパートナーズ 新サイト 初期版 — Lightning 用 追加CSS
   2026-08-04 ／ 制作: FIELD-X（グロースハックアカデミー）
   ========================================================================= */

/* -------------------------------------------------- 1. 変数・基本 */
:root{
  --smb-navy:#102a4c;
  --smb-navy-d:#0a1c33;
  --smb-navy-l:#1c4a80;
  --smb-blue:#2f6db5;
  --smb-tint:#f3f6fa;
  --smb-tint2:#e9eff7;
  --smb-line:#dfe5ee;
  --smb-text:#2a3342;
  --smb-muted:#5b6779;
  --smb-wrap:1120px;
  --smb-narrow:868px;
  --smb-serif:"Noto Serif JP","Yu Mincho",YuMincho,"Hiragino Mincho ProN","Hiragino Mincho Pro","MS PMincho",serif;
}

body{
  color:var(--smb-text);
  letter-spacing:.02em;
  line-height:1.9;
}

/* -------------------------------------------------- 2. ページタイトル帯（Lightning） */
.page-header,
.page-header.page-header--noimage{
  background:var(--smb-navy-d);
  position:relative;
  overflow:hidden;
  padding:52px 0 58px;
  border:0;
}
.page-header::before{
  content:"";
  position:absolute;
  inset:0;
  background:repeating-linear-gradient(115deg,rgba(255,255,255,.045) 0 1px,transparent 1px 22px);
  pointer-events:none;
}
.page-header > *{position:relative}
.page-header .page-header_pageTitle,
.page-header .page-header-title,
.page-header h1{
  font-family:var(--smb-serif);
  font-weight:600;
  font-size:clamp(22px,2.7vw,34px);
  line-height:1.6;
  color:#fff;
  margin:0;
}
.home .page-header{display:none}

.breadcrumb{font-size:12.5px}

/* -------------------------------------------------- 3. 全幅ブロックの内側の幅 */
.smb-sec,
.smb-band{
  width:100%;
  max-width:100%;
  margin-left:0;
  margin-right:0;
  padding-inline:max(24px,(100% - var(--smb-wrap))/2);
}
.smb-sec--narrow{padding-inline:max(24px,(100% - var(--smb-narrow))/2)}

/* -------------------------------------------------- 4. セクション */
.smb-sec{padding-block:80px}
.smb-sec--tight{padding-block:56px}
.smb-sec--tint{background:var(--smb-tint)}

.smb-sec > * + *{margin-top:24px}

.smb-sechead{text-align:center;margin-bottom:48px}
.smb-en{
  font-family:var(--smb-serif);
  font-size:12px;
  letter-spacing:.22em;
  color:var(--smb-blue);
  margin:0 0 10px;
}
.smb-sec h2,
.smb-sectitle{
  font-family:var(--smb-serif);
  font-weight:600;
  font-size:clamp(21px,2.2vw,29px);
  line-height:1.65;
  color:var(--smb-navy);
}
.smb-sechead .smb-sectitle::after{
  content:"";
  display:block;
  width:40px;
  height:1px;
  background:var(--smb-navy);
  margin:20px auto 0;
  opacity:.5;
}
.smb-sechead .smb-lead{margin-top:20px;color:var(--smb-muted);font-size:15px}
.smb-sec h3{
  font-family:var(--smb-serif);
  font-weight:600;
  font-size:17.5px;
  line-height:1.7;
  color:var(--smb-navy);
}
.smb-lead-c{text-align:center;font-size:16.5px;line-height:2.1}
.smb-note{font-size:13px;color:var(--smb-muted)}
.smb-catch{
  text-align:center;
  font-family:var(--smb-serif);
  font-size:18px;
  font-weight:600;
  color:var(--smb-navy);
  line-height:1.8;
}
.smb-sign{text-align:right;line-height:1.9}
.smb-prose p{font-size:15.5px;line-height:2.05}
.smb-prose strong{font-weight:600;color:var(--smb-navy)}

.smb-grouphead{
  display:flex;
  align-items:center;
  gap:12px;
  font-family:var(--smb-serif);
  font-weight:600;
  font-size:19px;
  color:var(--smb-navy);
  margin-bottom:22px;
}
.smb-grouphead .smb-idx{
  width:28px;
  height:28px;
  flex:0 0 28px;
  background:var(--smb-navy);
  color:#fff;
  font-size:14px;
  display:flex;
  align-items:center;
  justify-content:center;
}

/* -------------------------------------------------- 5. ボタン */
.smb-btn .wp-block-button__link{
  display:inline-flex;
  align-items:center;
  justify-content:center;
  min-height:56px;
  padding:0 34px;
  border-radius:2px;
  font-size:15px;
  font-weight:600;
  letter-spacing:.06em;
  border:1px solid transparent;
  transition:background-color .2s,color .2s,border-color .2s;
  text-align:center;
}
.smb-btn--primary .wp-block-button__link{background:var(--smb-navy)!important;color:#fff!important}
.smb-btn--primary .wp-block-button__link:hover{background:var(--smb-navy-l)!important}
.smb-btn--outline .wp-block-button__link{background:#fff!important;color:var(--smb-navy)!important;border-color:var(--smb-navy)}
.smb-btn--outline .wp-block-button__link:hover{background:var(--smb-navy)!important;color:#fff!important}
.smb-btn--light .wp-block-button__link{background:#fff!important;color:var(--smb-navy)!important}
.smb-btn--light .wp-block-button__link:hover{background:var(--smb-tint2)!important}
.smb-btn--ghost .wp-block-button__link{background:transparent!important;color:#fff!important;border-color:rgba(255,255,255,.55)}
.smb-btn--ghost .wp-block-button__link:hover{background:rgba(255,255,255,.12)!important}
.wp-block-buttons{gap:16px}
.smb-sec .wp-block-buttons.is-content-justification-center,
.smb-band .wp-block-buttons.is-content-justification-center{justify-content:center}

/* -------------------------------------------------- 6. FV（トップ） */
.smb-hero{
  position:relative;
  overflow:hidden;
  color:var(--smb-navy);
  padding-block:78px 84px;
  min-height:min(72vh,600px);
  display:flex;
  flex-direction:column;
  justify-content:center;
  background-color:#e9f0f7;
  background-image:
    repeating-linear-gradient(74deg,rgba(255,255,255,.62) 0 1px,rgba(255,255,255,0) 1px 12px),
    repeating-linear-gradient(74deg,rgba(16,42,76,.075) 0 1px,rgba(255,255,255,0) 1px 74px),
    repeating-linear-gradient(163deg,rgba(16,42,76,.05) 0 1px,rgba(255,255,255,0) 1px 58px),
    linear-gradient(158deg,#cfe0f0 0%,#dde9f4 34%,#eef4fa 66%,#f8fbfd 100%);
}
.smb-hero::before{
  content:"";
  position:absolute;
  inset:0;
  pointer-events:none;
  background:linear-gradient(96deg,rgba(255,255,255,.97) 0 26%,rgba(255,255,255,.86) 42%,rgba(255,255,255,.42) 60%,rgba(255,255,255,.06) 76%,rgba(255,255,255,0) 100%);
}
.smb-hero > *{position:relative;z-index:1;max-width:720px;width:100%}

.smb-eyebrow{
  display:inline-flex;
  align-items:center;
  gap:12px;
  font-size:11.5px;
  letter-spacing:.22em;
  color:#5c7ea8;
  font-weight:600;
  margin:0 0 26px;
}
.smb-eyebrow::before{content:"";width:26px;height:1px;background:#5c7ea8}

.smb-herotitle{
  font-weight:700;
  font-size:clamp(27px,4.1vw,52px);
  line-height:1.42;
  letter-spacing:.01em;
  color:var(--smb-navy);
  margin:0;
}
.smb-herotitle em{font-style:normal;color:var(--smb-navy-d)}
.smb-herotitle::after{
  content:"";
  display:block;
  width:46px;
  height:2px;
  background:var(--smb-blue);
  margin:28px 0 22px;
}
.smb-herosub{
  font-size:clamp(15px,1.55vw,19px);
  line-height:1.85;
  color:var(--smb-text);
  font-weight:600;
  margin:0;
}
.smb-herosub em{font-style:normal;color:var(--smb-blue)}
.smb-hero .wp-block-buttons{margin-top:34px}
.smb-heronote{
  font-size:11px;
  color:#7b8ca3;
  letter-spacing:.02em;
  margin:30px 0 0;
}

.smb-ph{
  border:1px dashed #b9c4d6;
  background:var(--smb-tint);
  color:var(--smb-muted);
  text-align:center;
  padding:26px 22px;
  font-size:12.5px;
  line-height:1.85;
  aspect-ratio:4/3;
  display:flex;
  flex-direction:column;
  align-items:center;
  justify-content:center;
}
.smb-ph p{margin:0;font-size:12.5px}
.smb-ph .smb-ph-lb{
  display:inline-block;
  font-size:10.5px;
  letter-spacing:.14em;
  border:1px solid currentColor;
  padding:3px 10px;
  margin-bottom:12px;
}

/* -------------------------------------------------- 7. 実績バンド */
.smb-stats{background:var(--smb-navy);color:#fff;padding-block:44px}
.smb-stats-grid{
  display:grid;
  grid-template-columns:repeat(5,1fr);
}
.smb-stat{
  text-align:center;
  padding:10px 12px;
  border-right:1px solid rgba(255,255,255,.18);
}
.smb-stats-grid > .smb-stat:last-child{border-right:0}
.smb-statnum{
  font-family:var(--smb-serif);
  font-size:clamp(26px,3vw,36px);
  line-height:1.2;
  color:#fff;
  margin:0;
}
.smb-statnum strong{font-size:14px;margin-left:4px;font-weight:400}
.smb-statlabel{margin:8px 0 0;font-size:12px;color:#b9cbe2}
.smb-statnote{margin-top:22px;text-align:center;font-size:12.5px;color:#b9cbe2}

/* -------------------------------------------------- 8. カード類 */
.smb-grid{display:grid;gap:24px}
.smb-grid--3{grid-template-columns:repeat(3,1fr)}
.smb-grid--2{grid-template-columns:repeat(2,1fr)}

.smb-card{
  background:#fff;
  border:1px solid var(--smb-line);
  padding:32px 28px;
  transition:border-color .2s,box-shadow .2s;
}
.smb-card:hover{border-color:#b9cbe2;box-shadow:0 2px 14px rgba(16,42,76,.07)}
.smb-no{
  font-family:var(--smb-serif);
  font-size:13px;
  letter-spacing:.14em;
  color:var(--smb-blue);
  margin:0 0 14px;
}
.smb-result{
  margin-top:18px;
  padding-top:16px;
  border-top:1px solid var(--smb-line);
  font-size:14px;
  color:var(--smb-muted);
}
.smb-result-lb{
  font-size:11px;
  letter-spacing:.16em;
  color:var(--smb-blue);
  margin:0 0 8px;
}
.smb-result p{margin:0;font-size:14px}

.smb-svc-card{
  background:#fff;
  border:1px solid var(--smb-line);
  border-left:3px solid var(--smb-navy);
  padding:22px 24px;
  transition:box-shadow .2s;
}
.smb-svc-card:hover{box-shadow:0 2px 14px rgba(16,42,76,.07)}
.smb-svc-ttl{
  font-family:var(--smb-serif);
  font-size:16px;
  font-weight:600;
  color:var(--smb-navy);
  margin:0;
}
.smb-svc-sub{margin:6px 0 0;font-size:13px;color:var(--smb-muted)}

.smb-step{
  background:#fff;
  border:1px solid var(--smb-line);
  border-top:3px solid var(--smb-navy);
  padding:28px 26px;
}
.smb-st{
  font-family:var(--smb-serif);
  font-size:12px;
  letter-spacing:.18em;
  color:var(--smb-blue);
  margin:0 0 12px;
}
.smb-step h3{margin:0}
.smb-step p{margin-top:14px;font-size:14.5px}

.smb-voice{
  background:#fff;
  border:1px solid var(--smb-line);
  border-left:3px solid var(--smb-navy);
  padding:28px 30px;
}
.smb-voice-q{
  font-family:var(--smb-serif);
  font-size:16.5px;
  font-weight:600;
  line-height:1.8;
  color:var(--smb-navy);
  margin:0;
}
.smb-who{margin:14px 0 0;font-size:13px;color:var(--smb-muted)}
.smb-voice--full{padding:34px 36px}
.smb-voice--full + .smb-voice--full{margin-top:28px}
.smb-voice--full > p:not(.smb-voice-q):not(.smb-who){
  margin-top:16px;
  font-size:14.5px;
  line-height:1.95;
}
.smb-voice--full .smb-who{
  padding-bottom:16px;
  border-bottom:1px solid var(--smb-line);
}

.smb-notice{
  background:#fff;
  border:1px solid var(--smb-line);
  border-top:3px solid var(--smb-navy);
  padding:30px 32px;
  font-size:14.5px;
  line-height:2;
}
.smb-notice p{margin:0}
.smb-notice a{color:var(--smb-blue);text-decoration:underline}

.smb-news-item{
  display:flex;
  flex-wrap:wrap;
  gap:6px 26px;
  padding:20px 4px;
  border-bottom:1px solid var(--smb-line);
}
.smb-news > .smb-news-item:first-child{border-top:1px solid var(--smb-line)}
.smb-news-day{
  flex:0 0 100px;
  font-family:var(--smb-serif);
  font-size:13.5px;
  color:var(--smb-blue);
  margin:0;
}
.smb-news-ttl{margin:0;font-size:14.5px;line-height:1.8}
.smb-news-ttl a{color:inherit;text-decoration:none}
.smb-news-ttl a:hover{color:var(--smb-blue)}
.smb-news-ttl a[target="_blank"]::after{
  content:"↗";
  font-size:11px;
  margin-left:8px;
  color:var(--smb-muted);
}

.smb-faq-item{border-top:1px solid var(--smb-line);border-bottom:1px solid var(--smb-line);padding:26px 0}
.smb-faq-q{
  display:flex;
  gap:14px;
  align-items:flex-start;
  font-family:var(--smb-serif);
  font-size:16.5px;
  font-weight:600;
  color:var(--smb-navy);
  line-height:1.75;
  margin:0;
}
.smb-faq-q .smb-mk{
  flex:0 0 26px;
  width:26px;
  height:26px;
  display:flex;
  align-items:center;
  justify-content:center;
  background:var(--smb-navy);
  color:#fff;
  font-size:13px;
  font-weight:400;
}
.smb-faq-a{margin-top:14px;padding-left:40px;font-size:14.5px}
.smb-faq-a p + p{margin-top:14px}

.smb-check{list-style:none;padding:0;margin:0}
.smb-check li{
  position:relative;
  padding:0 0 0 32px;
  margin-bottom:14px;
  font-size:15.5px;
  line-height:1.95;
}
.smb-check li::before{
  content:"✓";
  position:absolute;
  left:0;
  top:5px;
  width:20px;
  height:20px;
  border:1px solid var(--smb-navy);
  color:var(--smb-navy);
  font-size:12px;
  line-height:1;
  display:flex;
  align-items:center;
  justify-content:center;
}
.smb-notes{list-style:none;padding:0;margin-top:40px}
.smb-notes li{font-size:13px;color:var(--smb-muted);line-height:1.9;margin-bottom:8px}

.smb-figure{margin-top:32px;margin-bottom:32px}
.smb-figure img{width:100%;height:auto}
.smb-figure figcaption{
  margin-top:10px;
  font-size:12.5px;
  color:var(--smb-muted);
  text-align:left;
}
.smb-portrait img{width:100%;height:auto}
.smb-ceoname{margin:6px 0 18px!important}

/* -------------------------------------------------- 9. 表 */
.smb-tbl{margin-top:0;margin-bottom:8px;overflow-x:auto}
.smb-tbl table{
  min-width:600px;
  width:100%;
  border-collapse:collapse;
  font-size:14.5px;
  background:#fff;
}
.smb-tbl th,
.smb-tbl td{
  border:1px solid var(--smb-line);
  padding:15px 18px;
  text-align:left;
  vertical-align:top;
  line-height:1.85;
}
.smb-tbl thead th{
  background:var(--smb-navy);
  color:#fff;
  font-weight:600;
  font-size:14px;
  letter-spacing:.04em;
}
.smb-tbl tbody td:first-child{
  background:var(--smb-tint);
  color:var(--smb-navy);
  white-space:nowrap;
}
.smb-tbl--2 tbody td:first-child{background:#fff;white-space:normal}
.smb-tbl--dl table{min-width:0}
.smb-tbl--dl tbody td:first-child{
  width:30%;
  background:var(--smb-tint);
  color:var(--smb-navy);
  white-space:normal;
}
.smb-tbl .smb-hl{background:var(--smb-tint2)}

.smb-feedesc{font-size:14.5px;color:var(--smb-muted);margin-bottom:8px}
.smb-tag{
  display:inline-block;
  font-size:12.5px;
  color:var(--smb-navy);
  background:var(--smb-tint2);
  padding:5px 12px;
  margin-bottom:14px;
}

/* -------------------------------------------------- 9-b. サービスページ専用の部品 */
.smb-pagelead-ttl{
  font-family:var(--smb-serif);
  font-weight:600;
  font-size:clamp(21px,2.7vw,32px);
  line-height:1.55;
  color:var(--smb-navy);
  margin:0 0 22px;
}
.smb-pagelead{font-size:15.5px;line-height:2.05;margin-bottom:24px}
.smb-statsbar{
  display:flex;
  flex-wrap:wrap;
  gap:6px 8px;
  font-size:14px;
  color:var(--smb-muted);
  border-top:1px solid var(--smb-line);
  border-bottom:1px solid var(--smb-line);
  padding:16px 0;
  margin-bottom:26px;
}
.smb-statsbar strong{
  font-family:var(--smb-serif);
  font-size:19px;
  color:var(--smb-navy);
  font-weight:600;
}

.smb-dtl{
  background:#fff;
  border:1px solid var(--smb-line);
  padding:34px 32px;
}
.smb-dtl-n{
  width:32px;
  height:32px;
  border:1px solid var(--smb-navy);
  color:var(--smb-navy);
  font-family:var(--smb-serif);
  font-size:14px;
  display:flex;
  align-items:center;
  justify-content:center;
  margin:0 0 14px;
}
.smb-dtl h3{
  font-family:var(--smb-serif);
  font-weight:600;
  font-size:19px;
  line-height:1.6;
  color:var(--smb-navy);
  margin:0 0 6px;
}
.smb-dt{
  font-size:12px;
  letter-spacing:.12em;
  color:var(--smb-blue);
  margin:20px 0 0;
  padding-bottom:6px;
  border-bottom:1px solid var(--smb-line);
}
.smb-dtl p:not(.smb-dt):not(.smb-dtl-n):not(.smb-fact){
  margin-top:12px;
  font-size:14.5px;
  line-height:1.95;
}
.smb-dtl-ol{
  counter-reset:smbn;
  list-style:none;
  padding:0;
  margin:12px 0 0;
}
.smb-dtl-ol li{
  counter-increment:smbn;
  position:relative;
  padding-left:32px;
  font-size:14.5px;
  line-height:1.9;
  margin-bottom:10px;
}
.smb-dtl-ol li::before{
  content:counter(smbn);
  position:absolute;
  left:0;
  top:2px;
  width:21px;
  height:21px;
  background:var(--smb-tint2);
  color:var(--smb-navy);
  font-size:11.5px;
  font-family:var(--smb-serif);
  display:flex;
  align-items:center;
  justify-content:center;
}
.smb-bene{
  background:var(--smb-tint);
  padding:16px 18px;
}
.smb-fact{
  margin-top:14px;
  font-size:13.5px;
  color:var(--smb-muted);
  line-height:1.9;
  padding-left:14px;
  border-left:2px solid var(--smb-tint2);
}

.smb-h4{
  font-family:var(--smb-serif);
  font-weight:600;
  font-size:17px;
  line-height:1.7;
  color:var(--smb-navy);
  margin:0 0 8px;
}
.smb-notice-ttl{
  font-family:var(--smb-serif);
  color:var(--smb-navy);
  font-size:17px;
  font-weight:600;
  margin:0 0 12px;
}
.smb-linkline a{
  display:inline-flex;
  align-items:center;
  gap:10px;
  color:var(--smb-blue);
  font-size:14.5px;
  font-weight:500;
  border-bottom:1px solid currentColor;
  padding-bottom:2px;
  text-decoration:none;
}
.smb-linkline a::after{content:"→"}
.smb-linkline a:hover{color:var(--smb-navy)}

.smb-tbl--stage table{min-width:600px;text-align:center}
.smb-tbl--stage tbody td:first-child{text-align:left}
.smb-tbl--stage thead th{background:var(--smb-tint);color:var(--smb-navy)}
.smb-tbl--stage tbody tr:nth-child(1) td:nth-child(2),
.smb-tbl--stage tbody tr:nth-child(1) td:nth-child(3){
  background:var(--smb-tint2);
  color:var(--smb-navy);
  font-weight:700;
}
.smb-tbl--stage tbody tr:nth-child(2) td:nth-child(3),
.smb-tbl--stage tbody tr:nth-child(2) td:nth-child(4),
.smb-tbl--stage tbody tr:nth-child(2) td:nth-child(5){
  background:var(--smb-navy);
  color:#fff;
  font-weight:700;
}

.smb-tbl--compare thead th:nth-child(3){background:var(--smb-navy-l)}
.smb-tbl--compare tbody td:nth-child(3){background:var(--smb-tint2)}

.smb-profile-cols{gap:40px}
.smb-award-cols{gap:32px}

/* -------------------------------------------------- 10. CTA帯 */
.smb-cta{
  background:var(--smb-navy);
  color:#fff;
  text-align:center;
  position:relative;
  overflow:hidden;
  padding-block:72px;
}
.smb-cta::before{
  content:"";
  position:absolute;
  inset:0;
  background:repeating-linear-gradient(115deg,rgba(255,255,255,.04) 0 1px,transparent 1px 22px);
}
.smb-cta > *{position:relative}
.smb-cta .smb-en{color:#a9c4e4}
.smb-ctatitle{
  font-family:var(--smb-serif);
  font-weight:600;
  font-size:clamp(21px,2.4vw,30px);
  line-height:1.6;
  color:#fff;
  margin:0;
}
.smb-cta p{margin-top:20px;font-size:15px;color:#d6e2f0;line-height:2}
.smb-ctatel{font-size:13.5px;color:#b9cbe2;margin-top:26px}
.smb-ctatel a{color:#fff;border-bottom:1px solid rgba(255,255,255,.4)}

/* -------------------------------------------------- 11. お問合せフォーム（表示のみ） */
.smb-formdemo{border:1px solid var(--smb-line);padding:8px 0 0}
.smb-formdemo-note{
  background:var(--smb-tint);
  border-left:3px solid var(--smb-navy);
  padding:14px 18px;
  margin:0 0 8px;
  font-size:13px;
  color:var(--smb-muted);
}
.smb-formrow{display:flex;flex-wrap:wrap;border-top:1px solid var(--smb-line)}
.smb-th{
  flex:0 0 240px;
  background:var(--smb-tint);
  padding:16px 18px;
  font-size:14.5px;
  font-weight:600;
  color:var(--smb-navy);
}
.smb-td{flex:1 1 300px;padding:14px 18px}
.smb-td input[type="text"],
.smb-td input[type="email"],
.smb-td input[type="tel"],
.smb-td textarea{
  width:100%;
  border:1px solid var(--smb-line);
  background:#fbfcfe;
  padding:10px 12px;
  font-size:14.5px;
}
.smb-req,.smb-any{
  display:inline-block;
  margin-left:10px;
  font-size:11px;
  padding:2px 8px;
  font-weight:400;
}
.smb-req{background:var(--smb-navy);color:#fff}
.smb-any{background:var(--smb-tint2);color:var(--smb-muted)}
.smb-formnote{font-size:12.5px;color:var(--smb-muted);display:block;margin-top:6px}
.smb-formactions{padding:24px 18px;text-align:center;border-top:1px solid var(--smb-line)}
.smb-fakebtn{
  display:inline-block;
  min-width:220px;
  padding:16px 34px;
  background:var(--smb-navy);
  color:#fff;
  border-radius:2px;
  font-weight:600;
  opacity:.55;
  cursor:not-allowed;
}
.smb-tac{text-align:center}

/* -------------------------------------------------- 12. ヘッダーCTAボタン */
.global-nav .header-cta > a,
.global-nav-list .header-cta > a,
.vk-menu-acc .header-cta > a,
li.header-cta > a{
  background:var(--smb-navy)!important;
  color:#fff!important;
  border-radius:2px;
  padding:13px 22px!important;
  margin:0 0 0 10px;
  font-weight:600;
  line-height:1.2;
  display:inline-block;
}
li.header-cta > a:hover{background:var(--smb-navy-l)!important}
li.header-cta > a::after{display:none!important}

/* -------------------------------------------------- 13. レスポンシブ */
@media (max-width:1000px){
  .smb-stats-grid{grid-template-columns:repeat(6,1fr);gap:18px 0}
  .smb-stat{grid-column:span 2}
  .smb-stats-grid > .smb-stat:nth-child(3){border-right:0}
  .smb-stats-grid > .smb-stat:nth-child(4){grid-column:2/4}
  .smb-stats-grid > .smb-stat:nth-child(5){grid-column:4/6}
  .smb-grid--3{grid-template-columns:repeat(2,1fr)}
}
@media (max-width:900px){
  .smb-sec{padding-block:60px}
  .smb-sec--tight{padding-block:44px}
  .smb-hero{padding-block:62px 68px;min-height:0}
  .smb-cta{padding-block:56px}
  .smb-th{flex:1 1 100%;}
  .smb-td{flex:1 1 100%}
  li.header-cta > a{
    display:block;
    margin:12px 16px;
    text-align:center;
  }
}
@media (max-width:781px){
  .smb-ph{aspect-ratio:16/9;max-width:460px;margin-left:auto;margin-right:auto}
  .smb-portrait{max-width:320px;margin-left:auto;margin-right:auto}
}
@media (max-width:640px){
  .smb-sec{padding-block:48px}
  .smb-hero{padding-block:48px 54px}
  .smb-sec,
  .smb-band{padding-inline:max(20px,(100% - var(--smb-wrap))/2)}
  .smb-sec--narrow{padding-inline:max(20px,(100% - var(--smb-narrow))/2)}
  .smb-sechead{margin-bottom:32px}
  .smb-grid--3,
  .smb-grid--2{grid-template-columns:1fr}
  .smb-stats-grid{grid-template-columns:repeat(2,1fr)}
  .smb-stat,
  .smb-stats-grid > .smb-stat:nth-child(4),
  .smb-stats-grid > .smb-stat:nth-child(5){grid-column:auto}
  .smb-stats-grid > .smb-stat:nth-child(2n){border-right:0}
  .smb-stats-grid > .smb-stat:last-child{grid-column:1/-1;border-right:0}
  .smb-herotitle{font-size:26px;line-height:1.5}
  .smb-herotitle::after{margin:22px 0 18px}
  .smb-herosub{font-size:15px}
  .smb-card,.smb-svc-card,.smb-voice,.smb-step,.smb-notice{padding:24px 20px}
  .smb-voice--full{padding:26px 22px}
  .smb-news-day{flex:0 0 auto}
  .smb-faq-a{padding-left:0}
  .smb-btn{width:100%}
  .smb-btn .wp-block-button__link{width:100%;padding:0 18px}
  .wp-block-buttons{gap:12px}
  .smb-tbl table{min-width:560px}
  .smb-tbl--dl table{min-width:0}
  .smb-tbl th,.smb-tbl td{padding:12px 13px;font-size:13.5px}
  .smb-tbl--dl tbody td:first-child{width:34%}
}

/* -------------------------------------------------- 14. 印刷 */
@media print{
  .smb-hero::before{display:none}
  .smb-hero,.smb-stats,.smb-cta,.page-header{background:#fff!important;background-image:none!important;color:#000!important}
  .smb-herotitle,.smb-ctatitle,.smb-statnum,.page-header h1{color:var(--smb-navy)!important}
  .smb-btn,.smb-formactions{display:none}
}

/* =========================================================================
   15. 2026-08-06 レイアウト調整（Lightning実機検証で判明した崩れの是正）
   ========================================================================= */

/* 15-1) グリッドの子要素がコンテンツ幅に縮んで中央寄せになるのを打ち消す。
        WordPressコアの is-layout-constrained が grid item に margin:auto を
        効かせるため、カードがセル幅いっぱいに広がらなくなっていた。 */
.smb-grid > *{
  width:100%;
  max-width:100%;
  margin-left:0;
  margin-right:0;
  justify-self:stretch;
}

/* 15-2) カード内の段落も同じ理由で中央に寄るため、左揃えに戻す。
        （カード自体は display:block のまま＝縦位置は上から自然に流す） */
.smb-svc-card > *,
.smb-card > *,
.smb-step > *,
.smb-dtl > *,
.smb-voice > *,
.smb-notice > *{
  margin-left:0;
  margin-right:0;
  max-width:100%;
}

/* 15-3) 同じ行のカードの高さを揃える */
.smb-grid{grid-auto-rows:1fr}

/* 15-4) 番号つきグループ見出し（1 / 2 …）の前に十分な余白を取る */
.smb-grid + .smb-grouphead,
.smb-note + .smb-grouphead,
.smb-tbl + .smb-grouphead{margin-top:56px}

/* 15-5) グリッド直下の注記が詰まって見えるのを解消 */
.smb-grid + .smb-note{margin-top:18px}

/* 15-6) 表・カラムブロックもコンテナ幅いっぱいに */
.smb-tbl > *,
.smb-tbl table{max-width:100%;margin-left:0;margin-right:0}
.smb-sec .wp-block-columns{margin-left:0;margin-right:0;max-width:100%}


/* ===== 16. サービスページ 8ブロック版にあわせた微調整（2026-08-06） ===== */
/* FVの実績行は display:flex のため text-align では中央寄せできない → justify-content で中央に */
.smb-statsbar{justify-content:center;flex-wrap:wrap;text-align:center}
/* ボタンがカード枠・注記に接していたので上下の余白を確保（inline方向の auto マージンは温存＝margin-top のみ指定） */
.smb-dtl + .wp-block-buttons{margin-top:48px}
.smb-note + .wp-block-buttons{margin-top:32px}
.wp-block-buttons + .smb-note{margin-top:18px}


/* ===== 17. 図版（smb-figure）のサイズ調整（2026-08-06） ===== */
/* 元画像は幅720px。従来の width:100% は本文カラム幅（約820px）まで引き伸ばして
   114%の拡大表示になり、解像度が落ちて見えていた。拡大は止め、本文より一段小さく中央に置く */
.smb-figure img{width:auto;max-width:min(100%,640px);height:auto;display:block;margin-left:auto;margin-right:auto}
.smb-figure{text-align:center}


/* ===== 18. 可読性の精緻化（2026-08-09・モデリング先＝経営共創基盤 IGPI） ===== */
/* 配色と明朝の路線はそのまま。可読性を決める「行長・文字サイズ・余白」の3点だけを整える。
   IGPIは見出しの行長を580px前後、カード本文を290px前後に抑えており、
   コンテンツ幅は広く取りながら「1行の長さ」だけを短く保つ設計になっている。 */

/* 18-1) 地の文の行長を制限する。
   日本語は1行45字を超えると視線が次の行の先頭に戻りにくくなる。
   実測ではリード文が1110px（約60〜65字）まで伸びていた。
   コンテンツ幅1120pxは帯・表・グリッドのために残し、読ませる文だけを42em（約40字）に収める。 */
.smb-lead-c,
.smb-lead,
.smb-note,
.smb-statnote{
  max-width:min(100%,42em);
  margin-inline:auto;
}

/* 18-2) FVの主見出しだけがゴシック（Lato）で、他の見出しは全て明朝だった＝デザイン方針との不一致。
   明朝へ統一する。字面が細くなるぶん太さを1段上げる（改行は本文側の <br> で固定済み）。 */
.smb-herotitle{
  font-family:var(--smb-serif);
  font-weight:600;
}

/* 18-3) カード内の本文が13pxで小さかった（読み手は中小企業の経営者）。15pxへ引き上げる。 */
.smb-card p,
.smb-svc-card p,
.smb-step p,
.smb-notice p{
  font-size:15px;
  line-height:1.9;
}

/* 18-4) セクションの上下余白を80px→104pxへ。余白の量がそのまま「格」に効く。
   ※ §13 のメディアクエリより後ろに書くため、狭い幅の指定もここで併記しないと打ち消せない。 */
.smb-sec{padding-block:104px}
.smb-sec--tight{padding-block:72px}
@media (max-width:900px){
  .smb-sec{padding-block:64px}
  .smb-sec--tight{padding-block:48px}
}
@media (max-width:640px){
  .smb-sec{padding-block:52px}
  .smb-sec--tight{padding-block:40px}
}

/* 18-5) FVの軸を1本に通す（IGPI型の左揃え構成）。
   見出しとボタンの左端は揃っているのに、サブコピーだけが720pxに制限されて中央に寄り、
   195px内側から始まっていた。
   このFVは「子要素の max-width ＋ margin-inline:auto」でコンテンツ幅を作る構造なので、
   margin を 0 にすると画面の左端まで飛び出してしまう（実際に一度そうなった）。
   正しくは幅を見出しと同じコンテンツ幅に戻すだけでよい。サブコピーは26字で1行に収まるため、
   行長の制限は不要。
   幅は WordPress のコンテンツ幅の変数をそのまま使う。見出し側がこの値で制限されており、
   その値は画面幅のブレークポイントごとに変わるため（1440pxで1110px／768pxで690px）、
   数値をハードコードすると中間の幅で左端がずれる（実際に768pxで15pxずれた）。 */
.smb-hero .smb-herosub{
  max-width:min(100%,var(--wp--style--global--content-size,1110px));
}


/* ==================================================================
   19. ニュース記事ページ（/news/ の子ページ）
   ------------------------------------------------------------------
   ニュースの飛び先を外部記事の直リンクから自社記事に変えたため、
   記事詳細の体裁をここで定義する。/news/ の子ページすべてに効くので
   （body の parent-pageid-136）、2本目以降の記事は追加設定が要らない。
   ================================================================== */

/* 19-1) 記事タイトル帯：ニュースの見出しは長くなりがちなので、
   §18-1 と同じ考え方で行長を抑える（1行が長いほど視線が戻れなくなる）。 */
.parent-pageid-136 .page-header .page-header-title,
.parent-pageid-136 .page-header h1{
  max-width:26em;
  font-size:clamp(20px,2.2vw,28px);
  line-height:1.65;
}

/* 19-2) 記事本文のセクション間隔。
   §18-4 でセクション余白を104pxにしたが、それは各ページ1テーマの
   下層ページ向けの値。記事は短いブロックが連続するため72pxに詰める。 */
.smb-newsbody{
  padding-block:72px;
  /* WordPress の constrained layout は子要素を
     --wp--style--global--content-size（このサイトでは1110px）で頭打ちにし、
     margin-inline:auto で中央に置く。その幅・15.5pxだと1行71字になり、
     §18-1 で決めた「1行45字まで」を大きく超える。個々の要素に max-width を
     当てると中央寄せが効いたまま右にずれるので、変数ごと差し替えて
     見出し・本文・リンク・表のすべてを同じ幅に揃える。 */
  --smb-newswidth:720px;
  --wp--style--global--content-size:var(--smb-newswidth);
  /* Lightning は見出しなどに自前の
     calc(var(--vk-width-container) - var(--vk-width-container-padding)*2) を当てており、
     WordPress 側の変数だけ差し替えても見出しは1110pxのままになる。
     詳細度で上書きするといたちごっこになるので、テーマ側の変数も同じ幅に揃える。 */
  --vk-width-container:calc(var(--smb-newswidth) + var(--vk-width-container-padding) * 2);
}

/* 19-3) 日付。NEWS一覧の日付と同じ字面（等幅数字）に揃える。 */
.smb-newsdate{
  font-size:13.5px;
  color:var(--smb-muted);
  letter-spacing:.06em;
  font-feature-settings:"tnum";
  font-variant-numeric:tabular-nums;
  margin-bottom:10px;
}

/* 19-4) リード文。本文より一段大きくし、行長は §18-1 と同じ42字に収める。 */
.smb-newsbody .smb-newslead{
  font-size:17px;
  line-height:1.95;
  color:var(--smb-navy);
  margin-top:0;
}

/* 19-5) 記事内の見出し。帯のタイトルとの階層差をつけるため小さめに。 */
.smb-newsbody h2{
  font-size:21px;
  line-height:1.7;
  margin-top:0;
  margin-bottom:18px;
  padding-bottom:12px;
  border-bottom:1px solid var(--smb-line);
}

/* 19-6) 外部リンクの一覧。行頭の記号をやめ、末尾に「↗」を付けて
   外部に出ることを明示する（記事から外部へ飛ばす導線はここに集約）。 */
.smb-newsbody .smb-linklist{
  list-style:none;
  margin:0 0 4px;
  padding:0;
}
.smb-newsbody .smb-linklist li{
  margin:0;
  padding:11px 0;
  border-bottom:1px solid var(--smb-line);
}
.smb-newsbody .smb-linklist li:first-child{border-top:1px solid var(--smb-line)}
.smb-newsbody .smb-linklist a{
  display:inline-flex;
  align-items:baseline;
  gap:8px;
  font-size:15.5px;
  text-decoration:none;
  border-bottom:1px solid transparent;
}
.smb-newsbody .smb-linklist a:hover{border-bottom-color:currentColor}
.smb-newsbody .smb-linklist a::after{
  content:"↗";
  font-size:12px;
  opacity:.65;
}

/* 19-7) 注記 */
.smb-newsbody .smb-newsnote{
  font-size:13px;
  line-height:1.85;
  color:var(--smb-muted);
  margin-top:14px;
}

/* 19-8) 書影。記事幅いっぱいに引き伸ばさず、書影らしい大きさで中央に置く。
   元画像は625×1000pxなので240px表示＝縮小方向で輪郭が締まる（§17 と同じ考え方）。 */
.smb-newsbody .smb-bookcover{margin-block:28px 30px}
.smb-newsbody .smb-bookcover img{
  display:block;
  width:auto;
  max-width:min(100%,240px);
  height:auto;
  margin-inline:auto;
  box-shadow:0 12px 30px rgba(16,42,76,.20);
}

@media (max-width:767px){
  .smb-newsbody{padding-block:52px}
  .smb-newsbody .smb-newslead{font-size:16px}
  .smb-newsbody h2{font-size:19px}
}
