/* =========================================================
   メーカーキャリア研究所 共通スタイルシート
   ========================================================= */
:root{
  color-scheme:light;

  /* --- color tokens --- */
  --ink:#182330;
  --navy:#0f1c2c;
  --navy-soft:#16273b;
  --steel:#2d6a93;
  --steel-dark:#1b4863;
  --paper:#f6f6f3;
  --panel:#ffffff;
  --line:rgba(15,28,44,.11);
  --line-strong:rgba(15,28,44,.17);
  --muted:#4c5a68;
  --muted-soft:#78899a;
  --accent-soft:#e8f1f6;
  --accent-wash:#f1f5f7;
  --warn-bg:#fbf3e3;
  --warn-line:#e3c98d;
  --shadow:0 14px 34px rgba(13,24,38,.09);
  --shadow-sm:0 6px 16px rgba(13,24,38,.06);
  --radius:6px;
  --maxw:1160px;
  --article-w:760px;

  /* --- type scale (fluid, PC-first) --- */
  --fs-h1:clamp(1.875rem,1.4rem + 2.3vw,3.25rem);
  --fs-h2:clamp(1.5rem,1.28rem + 0.9vw,1.875rem);
  --fs-h3:clamp(1.1875rem,1.12rem + 0.28vw,1.3125rem);
  --fs-body:1.0625rem;
  --fs-lead:clamp(1.0625rem,1rem + 0.25vw,1.1875rem);
  --fs-small:0.8125rem;
  --fs-tiny:0.75rem;

  --section-py:64px;
  --section-py-sm:40px;
}
*{box-sizing:border-box}
html{scroll-behavior:smooth}
body{
  margin:0;
  color:var(--ink);
  background:var(--paper);
  font-family:"Hiragino Kaku Gothic ProN","Yu Gothic",Meiryo,sans-serif;
  line-height:1.9;
  font-size:16px;
  word-break:normal;
  overflow-wrap:anywhere;
  overflow-x:hidden;
  -webkit-font-smoothing:antialiased;
}
img{max-width:100%;display:block}
a{color:inherit;text-decoration:none}
button{font-family:inherit;cursor:pointer;border:0;background:none}
ul,ol{margin:0;padding:0;list-style:none}
h1,h2,h3,h4,p,dl,dd,figure{margin:0}
h1,h2,h3{text-wrap:balance}
a:focus-visible,button:focus-visible,input:focus-visible,select:focus-visible,textarea:focus-visible{
  outline:3px solid var(--steel);outline-offset:2px;
}
.wrap{width:min(var(--maxw),calc(100% - 40px));margin:0 auto}
.article-wrap{width:min(var(--article-w),calc(100% - 40px));margin:0 auto}
.nb{white-space:nowrap}
.hidden{display:none!important}
@media(prefers-reduced-motion:reduce){*{transition-duration:.001ms!important;animation-duration:.001ms!important}}

/* ---------- header ---------- */
.site-header{
  position:sticky;top:0;z-index:50;
  background:rgba(246,246,243,.92);
  backdrop-filter:blur(10px);
  border-bottom:1px solid var(--line);
}
.nav{
  height:82px;
  display:flex;align-items:center;justify-content:space-between;gap:20px;
}
.brand{display:flex;flex-direction:column;justify-content:center;gap:3px;min-width:0}
.brand strong{
  font-size:clamp(16px,3.4vw,19px);font-weight:800;letter-spacing:.01em;
  color:var(--navy);white-space:nowrap;
}
.brand small{
  font-size:10px;font-family:Arial,sans-serif;font-weight:600;letter-spacing:.18em;
  color:var(--steel-dark);white-space:nowrap;opacity:.85;
}
.nav-links{display:none;align-items:center;gap:8px;font-size:14.5px;font-weight:700}
.nav-links a{color:var(--ink);padding:8px 4px;position:relative}
.nav-links a::after{
  content:"";position:absolute;left:4px;right:4px;bottom:2px;height:2px;
  background:var(--steel);transform:scaleX(0);transform-origin:left;
  transition:transform .18s ease;
}
.nav-links a:hover{color:var(--steel-dark)}
.nav-links a:hover::after{transform:scaleX(1)}
.nav-links a.current{color:var(--steel-dark)}
.nav-links a.current::after{transform:scaleX(1);background:var(--steel-dark)}
.menu-btn{
  font-size:24px;line-height:1;color:var(--navy);padding:6px 8px;flex-shrink:0;
  border-radius:4px;
}
.menu-btn:hover{background:var(--accent-wash)}
.mobile-nav{
  display:none;border-top:1px solid var(--line);background:var(--panel);
}
.mobile-nav.open{display:block}
.mobile-nav ul{padding:8px 0}
.mobile-nav a{
  display:flex;align-items:center;justify-content:space-between;
  padding:16px 20px;font-size:16px;font-weight:700;
  border-bottom:1px solid var(--line);
}
.mobile-nav a:active{background:var(--accent-wash)}
.mobile-nav a.current{color:var(--steel-dark)}
@media(min-width:900px){
  .nav-links{display:flex}
  .menu-btn{display:none}
  .mobile-nav{display:none!important}
}

/* ---------- breadcrumb ---------- */
.breadcrumb{padding:16px 0}
.breadcrumb ol{display:flex;flex-wrap:wrap;gap:6px;font-size:var(--fs-small);color:var(--muted)}
.breadcrumb a{color:var(--steel-dark);font-weight:700}
.breadcrumb a:hover{text-decoration:underline}
.breadcrumb li:not(:last-child)::after{content:"›";margin-left:6px;color:var(--muted-soft)}

/* ---------- hero ---------- */
.hero{
  position:relative;
  padding:52px 0 40px;
  background:
    linear-gradient(180deg,#eaeff2 0%,var(--paper) 78%);
  overflow:hidden;
  border-bottom:1px solid var(--line);
}
.hero::before{
  content:"";position:absolute;inset:0;pointer-events:none;
  background-image:
    repeating-linear-gradient(90deg,rgba(15,28,44,.05) 0 1px,transparent 1px 96px),
    repeating-linear-gradient(0deg,rgba(15,28,44,.05) 0 1px,transparent 1px 96px);
  mask-image:linear-gradient(180deg,rgba(0,0,0,.9) 0%,transparent 82%);
  -webkit-mask-image:linear-gradient(180deg,rgba(0,0,0,.9) 0%,transparent 82%);
}
.hero::after{
  content:"";position:absolute;right:-120px;top:-160px;width:520px;height:520px;
  border-radius:50%;pointer-events:none;
  background:radial-gradient(circle at center,rgba(45,106,147,.10),transparent 70%);
}
.hero .wrap{position:relative}
.hero h1{
  font-size:var(--fs-h1);font-weight:800;color:var(--navy);
  line-height:1.42;letter-spacing:.005em;
}
.hero .lead{
  margin-top:16px;font-size:var(--fs-lead);line-height:1.9;color:var(--muted);
  max-width:34em;
}
.hero .cta-row{margin-top:22px;display:flex;flex-wrap:wrap;align-items:center;gap:6px 20px}
@media(min-width:900px){
  .hero h1,.hero .lead,.hero .cta-row{max-width:700px}
}

/* HEROビジュアル: モバイルはH1/説明/CTAの下に横長バナーとして表示し、PC(1100px以上)で右カラムへ */
.hero-visual{margin-top:24px}
.hero-media{
  position:relative;width:100%;aspect-ratio:16/6.5;
  border-radius:14px;overflow:hidden;
  background:var(--steel-dark);
  box-shadow:0 16px 32px rgba(13,24,38,.22);
}
.hero-media-img{position:absolute;inset:0;width:100%;height:100%;object-fit:cover;object-position:30% 20%;display:block}

/* PC: HEROを左(文章 約55%)・右(ビジュアル 約45%)の2カラムにして中央の不自然な空白をなくす */
@media(min-width:1100px){
  .hero-grid{display:flex;align-items:center;gap:28px}
  .hero-text{flex:0 0 58%;max-width:58%}
  .hero-visual{
    margin-top:0;display:flex;flex:0 0 42%;max-width:42%;
    justify-content:center;align-items:center;
  }
  .hero-media{max-width:460px;aspect-ratio:4/3.3}
}
/* ---------- スマホ専用HERO(PC版の縦積みではなく専用レイアウト) ---------- */
@media(max-width:767px){
  .nav{height:64px}

  /* スマホの固定ヘッダー：半透明+ぼかしだと下のコンテンツがスクロール中に透けて重なって見えるため不透明化(PCは対象外) */
  .site-header{background:rgb(246,246,243);backdrop-filter:none}

  .hero{padding:22px 0 20px}
  .hero-visual{margin-top:18px}
  .hero-media{aspect-ratio:4/3;border-radius:12px}

  /* H1: 30〜34px程度に抑え、2〜3行で圧迫感なく収める */
  .hero h1{font-size:clamp(1.875rem,1.6rem + 1.6vw,2.125rem);line-height:1.32}

  /* 説明文: 16.5px・line-height詰めで縦の占有を抑える(文言は変更しない) */
  .hero .lead{
    font-size:16.5px;line-height:1.55;max-width:none;
    text-wrap:pretty;margin-top:10px;
  }

  /* CTA: メインCTAは強さを保ちつつ幅を抑え、サブCTAは直下に小さく控えめに配置 */
  .hero .cta-row{
    margin-top:16px;flex-direction:column;align-items:flex-start;gap:8px;
  }
  .hero .cta-row .btn.primary{
    padding:13px 24px;min-height:46px;font-size:14.5px;
  }
  .hero .cta-row .btn.secondary{
    font-size:12.5px;padding:0;min-height:auto;
    border-bottom-width:1px;border-color:var(--line);
    color:var(--muted)!important;
  }
}

/* ---------- 「こんなこと、考えたことありますか？」セクション ---------- */
.wonder-band{background:linear-gradient(180deg,var(--accent-wash) 0%,var(--paper) 100%)}
.wonder-grid{display:flex;flex-direction:column}
.wonder-item{
  font-size:clamp(1.05rem,0.95rem + 0.5vw,1.25rem);font-weight:700;color:var(--navy);
  line-height:1.6;padding:18px 6px 18px 36px;position:relative;
  border-bottom:1px solid var(--line-strong);border-radius:4px;
  transition:background .15s ease,padding-left .15s ease;
}
.wonder-item:hover{background:rgba(45,106,147,.06);padding-left:40px}
.wonder-item:first-child{padding-top:2px}
.wonder-item:last-child{border-bottom:none}
.wonder-item::before{
  content:"?";position:absolute;left:0;top:15px;
  width:24px;height:24px;border-radius:50%;
  background:var(--accent-soft);color:var(--steel-dark);
  font-size:12.5px;font-weight:800;display:flex;align-items:center;justify-content:center;
  transition:background .15s ease,color .15s ease,transform .15s ease;
}
.wonder-item:hover::before{background:var(--steel-dark);color:#fff;transform:scale(1.05)}

/* ---------- 「製造業キャリアの現実」セクション(コンパクトな評価軸の説明・自分ごと化) ---------- */
.reality-band{background:var(--navy)}
.reality-band .section-head h2{color:#fff}
.reality-band .section-head p{color:rgba(255,255,255,.72)}
.reality-grid{display:grid;grid-template-columns:1fr;gap:14px}
@media(min-width:640px){.reality-grid{grid-template-columns:repeat(2,1fr)}}
.reality-item{
  background:rgba(255,255,255,.05);border:1px solid rgba(255,255,255,.12);
  border-radius:8px;padding:20px 20px 18px;
}
.reality-item-label{
  display:block;font-size:11px;font-weight:800;letter-spacing:.1em;
  color:rgba(255,255,255,.5);margin-bottom:8px;
}
.reality-item h3{font-size:14.5px;font-weight:800;color:#fff;line-height:1.5;margin-bottom:6px}
.reality-item p{font-size:13px;line-height:1.7;color:rgba(255,255,255,.66)}

/* ---------- buttons ---------- */
.btn{
  display:inline-flex;align-items:center;justify-content:center;gap:8px;
  padding:15px 30px;border-radius:var(--radius);font-weight:700;font-size:15px;
  min-height:50px;text-align:center;line-height:1.4;
  transition:background .15s ease,color .15s ease,border-color .15s ease,transform .15s ease;
}
.btn.primary{background:var(--steel-dark);color:#fff!important;box-shadow:0 8px 20px rgba(27,72,99,.22)}
.btn.primary:hover{background:#153a52;transform:translateY(-1px)}
.btn.secondary{
  background:transparent;color:var(--navy)!important;
  padding:13px 4px;min-height:auto;border-bottom:2px solid var(--line-strong);border-radius:0;
}
.btn.secondary:hover{border-color:var(--steel-dark);color:var(--steel-dark)!important}
.btn.block{display:flex;width:100%}

/* ---------- section ---------- */
section{padding:var(--section-py) 0}
.section-head{max-width:640px;margin:0 0 24px}
.kicker{font-size:11px;font-weight:800;letter-spacing:.14em;color:var(--steel-dark)}
.section-head h2{
  margin-top:6px;font-size:clamp(1.625rem,1.35rem + 1vw,2rem);font-weight:800;color:var(--navy);line-height:1.4;
}
.section-head p{margin-top:10px;font-size:var(--fs-body);color:var(--muted);line-height:1.8}

/* ---------- worry cards (top page) ---------- */
.worry-grid{display:grid;grid-template-columns:1fr;gap:18px}
@media(min-width:640px){.worry-grid{grid-template-columns:repeat(2,1fr)}}
.worry-card{
  background:var(--panel);border:1px solid var(--line);border-radius:8px;
  padding:30px 26px 26px;box-shadow:var(--shadow-sm);display:flex;flex-direction:column;gap:16px;
  transition:box-shadow .2s ease,border-color .2s ease,transform .2s ease;
}
.worry-card:hover{box-shadow:var(--shadow);border-color:var(--line-strong);transform:translateY(-2px)}
.worry-card .card-head{display:flex;align-items:center;justify-content:space-between}
.worry-card .icon-tile{
  width:52px;height:52px;border-radius:10px;flex-shrink:0;
  display:flex;align-items:center;justify-content:center;
  background:var(--accent-soft);
}
.worry-card .icon{width:26px;height:26px;color:var(--steel)}
.worry-card .num{font-size:12px;font-weight:800;letter-spacing:.08em;color:var(--muted-soft)}
.worry-card-media{
  position:relative;margin:-30px -26px 0;border-radius:8px 8px 0 0;
  overflow:hidden;aspect-ratio:16/9;background:var(--steel-dark);
}
.worry-card-media img{width:100%;height:100%;object-fit:cover;object-position:32% 22%;display:block}
.worry-card-media .num{
  position:absolute;top:10px;right:12px;font-size:12px;font-weight:800;letter-spacing:.08em;
  color:#fff;background:rgba(15,30,46,.55);padding:3px 9px;border-radius:20px;
}
.worry-card h3{font-size:var(--fs-h3);font-weight:800;color:var(--navy);line-height:1.55}
.worry-card ul{display:flex;flex-direction:column;gap:9px;font-size:14.5px;color:var(--muted)}
.worry-card ul li{padding-left:16px;position:relative;line-height:1.7}
.worry-card ul li::before{content:"";position:absolute;left:0;top:9px;width:5px;height:5px;background:var(--steel);border-radius:50%}
.worry-card .go{
  margin-top:auto;padding-top:14px;border-top:1px solid var(--line);
  font-size:13px;font-weight:800;color:var(--steel-dark);
  display:flex;align-items:center;gap:4px;
}
.worry-card .go span{transition:transform .15s ease;display:inline-block}
.worry-card:hover .go span{transform:translateX(3px)}
.worry-card.featured{
  border-color:var(--steel-dark);
  background:linear-gradient(180deg,var(--panel) 0%,var(--accent-wash) 100%);
}
.worry-card.featured .icon-tile{background:var(--steel-dark)}
.worry-card.featured .icon{color:#fff}
.worry-card.featured .go{color:var(--steel-dark);border-top-color:rgba(27,72,99,.16)}

/* テーマから探す:03は濃紺カード、04は控えめなアウトラインカードにして4分類の見た目を変える */
.worry-card.dark{
  background:linear-gradient(160deg,var(--navy) 0%,var(--steel-dark) 140%);
  border-color:var(--navy);
}
.worry-card.dark .icon-tile{background:rgba(255,255,255,.14)}
.worry-card.dark .icon{color:#fff}
.worry-card.dark .num{color:rgba(255,255,255,.55)}
.worry-card.dark h3{color:#fff}
.worry-card.dark ul{color:rgba(255,255,255,.78)}
.worry-card.dark ul li::before{background:#fff}
.worry-card.dark .go{color:#fff;border-top-color:rgba(255,255,255,.2)}

.worry-card.minimal{
  background:transparent;box-shadow:none;border-style:dashed;border-color:var(--line-strong);
}
.worry-card.minimal:hover{box-shadow:none;border-color:var(--steel-dark)}
.worry-card.minimal .icon-tile{background:transparent;border:1px solid var(--line-strong)}
.worry-card.minimal .icon{color:var(--muted)}

@media(min-width:900px){
  .worry-grid{grid-template-columns:repeat(4,1fr)}
}

/* ---------- article list / cards ---------- */
.article-grid{display:grid;grid-template-columns:1fr;gap:16px}
@media(min-width:820px){.article-grid{grid-template-columns:repeat(3,1fr)}}
.article-card{
  background:var(--panel);border:1px solid var(--line);border-radius:8px;padding:20px 16px 14px;
  border-top-width:3px;border-top-color:var(--steel);
  display:flex;flex-direction:column;gap:6px;height:100%;
  transition:box-shadow .2s ease,border-color .2s ease,transform .2s ease;
}
.article-card:hover{
  box-shadow:var(--shadow);transform:translateY(-2px);
  border-left-color:var(--line-strong);border-right-color:var(--line-strong);border-bottom-color:var(--line-strong);
}
.article-grid .article-card:nth-child(1){border-top-color:var(--steel)}
.article-grid .article-card:nth-child(2){border-top-color:var(--steel-dark)}
.article-grid .article-card:nth-child(3){border-top-color:var(--navy)}
.article-card .card-meta{display:flex;align-items:center;gap:8px;margin-bottom:2px}
.article-card .icon-tile.sm{
  width:30px;height:30px;border-radius:7px;flex-shrink:0;
  display:flex;align-items:center;justify-content:center;
  background:var(--accent-soft);
}
.article-card .icon-tile.sm .icon{width:16px;height:16px;color:var(--steel)}
.article-grid .article-card:nth-child(2) .icon-tile.sm{background:var(--accent-wash)}
.article-card .tag{
  font-size:9.5px;font-weight:600;letter-spacing:.04em;
  color:var(--steel);background:var(--accent-soft);padding:3px 8px;border-radius:20px;
}
.article-card h3{
  font-size:19px;font-weight:800;color:var(--navy);line-height:1.5;
  text-wrap:pretty;word-break:normal;overflow-wrap:normal;
}
.article-card p{
  margin-top:4px;font-size:12.5px;color:var(--muted-soft);line-height:1.7;flex-grow:1;
  display:-webkit-box;-webkit-line-clamp:2;-webkit-box-orient:vertical;overflow:hidden;
}
.article-card .go{
  margin-top:4px;padding-top:10px;border-top:1px solid var(--line);
  font-size:11.5px;font-weight:600;color:var(--steel);
  display:flex;align-items:center;gap:4px;
}
.article-card .go span{transition:transform .15s ease;display:inline-block}
.article-card:hover .go span{transform:translateX(3px)}

/* ---------- featured article(記事一覧の主役を1本、控えめなアクセントで大きく見せる) ---------- */
.featured-article{
  display:flex;flex-direction:column;
  background:var(--panel);border:1px solid var(--line);border-left:4px solid var(--steel-dark);
  border-radius:8px;overflow:hidden;margin-bottom:20px;
  transition:box-shadow .2s ease,border-color .2s ease;
}
.featured-article:hover{box-shadow:var(--shadow);border-color:var(--line-strong);border-left-color:var(--steel-dark)}
.featured-article-media{aspect-ratio:16/9;overflow:hidden;background:var(--steel-dark)}
.featured-article-media img{width:100%;height:100%;object-fit:cover;object-position:30% 20%;display:block}
.featured-article-body{display:flex;flex-direction:column;gap:10px;padding:22px 24px 24px}
.featured-article-meta{display:flex;align-items:center;gap:10px}
.featured-article .featured-label{
  font-size:10.5px;font-weight:800;letter-spacing:.12em;color:var(--steel-dark);
}
.featured-article .tag{
  align-self:flex-start;font-size:10.5px;font-weight:600;letter-spacing:.04em;
  color:var(--steel);background:var(--accent-soft);padding:3px 10px;border-radius:20px;
}
.featured-article h3{font-size:clamp(1.25rem,1.1rem + 0.6vw,1.5rem);font-weight:800;color:var(--navy);line-height:1.5}
.featured-article p{font-size:14.5px;color:var(--muted);line-height:1.8;max-width:60ch}
.featured-article .go{
  margin-top:4px;font-size:13px;font-weight:800;color:var(--steel-dark);
  display:flex;align-items:center;gap:4px;
}
.featured-article .go span{transition:transform .15s ease;display:inline-block}
.featured-article:hover .go span{transform:translateX(3px)}
@media(min-width:700px){
  .featured-article{flex-direction:row;align-items:stretch}
  .featured-article-media{width:38%;flex-shrink:0;aspect-ratio:auto}
  .featured-article-body{flex:1;padding:26px 30px}
}

.article-grid.article-grid-secondary{grid-template-columns:1fr}
@media(min-width:640px){.article-grid.article-grid-secondary{grid-template-columns:repeat(2,1fr)}}
@media(min-width:960px){.article-grid.article-grid-secondary{grid-template-columns:repeat(3,1fr)}}

/* ---------- CTA banner ---------- */
.cta-band{padding-top:6px}
.cta-banner{
  position:relative;overflow:hidden;
  background:linear-gradient(135deg,var(--steel-dark) 0%,var(--navy) 62%);
  color:#fff;border-radius:12px;padding:44px 36px;
  display:flex;flex-direction:column;gap:16px;align-items:flex-start;
}
.cta-banner::before{
  content:"";position:absolute;inset:0;pointer-events:none;
  background-image:repeating-linear-gradient(90deg,rgba(255,255,255,.045) 0 1px,transparent 1px 96px);
}
.cta-banner::after{
  content:"";position:absolute;left:-80px;bottom:-140px;width:360px;height:360px;border-radius:50%;
  background:radial-gradient(circle at center,rgba(45,106,147,.35),transparent 70%);pointer-events:none;
}
.cta-banner>*{position:relative}
.cta-banner .kicker{color:#8fb2c9}
.cta-banner h2{font-size:var(--fs-h2);font-weight:800;line-height:1.5}
.cta-banner p{color:rgba(255,255,255,.82);line-height:1.9;max-width:56ch;font-size:var(--fs-body)}
.cta-banner .btn.primary{
  background:#fff;color:var(--navy)!important;box-shadow:0 8px 20px rgba(0,0,0,.22);
  margin-top:6px;padding:17px 34px;
}
.cta-banner .btn.primary:hover{background:var(--accent-soft);box-shadow:0 10px 24px rgba(0,0,0,.26)}
.cta-meta{display:flex;flex-wrap:wrap;gap:8px}
.cta-meta .meta-chip{
  display:inline-flex;align-items:center;gap:6px;
  font-size:12.5px;font-weight:700;letter-spacing:.02em;color:#fff;
  background:rgba(255,255,255,.14);border:1px solid rgba(255,255,255,.3);
  padding:6px 12px;border-radius:20px;
}
.result-types{display:flex;flex-wrap:wrap;gap:8px 10px}
.result-types .result-chip{
  display:inline-flex;align-items:center;gap:6px;
  font-size:12px;font-weight:700;color:rgba(255,255,255,.9);
  padding:5px 12px 5px 6px;border-radius:20px;
  background:rgba(255,255,255,.08);border:1px solid rgba(255,255,255,.22);
}
.result-types .result-chip .n{
  display:inline-flex;align-items:center;justify-content:center;
  width:18px;height:18px;border-radius:50%;
  background:rgba(255,255,255,.9);color:var(--navy);
  font-size:10px;font-weight:800;flex-shrink:0;
}

/* ---------- PR notice ---------- */
.pr-notice{
  background:var(--warn-bg);border:1px solid var(--warn-line);border-radius:6px;
  padding:14px 18px;font-size:var(--fs-small);color:#5a4a1e;line-height:1.8;
}

/* ---------- article body ---------- */
.article-header{padding:36px 0 8px}
.article-header .tag{
  display:inline-block;font-size:11px;font-weight:800;letter-spacing:.06em;
  color:var(--steel-dark);background:var(--accent-soft);padding:5px 12px;border-radius:20px;
}
.article-header h1{
  margin-top:16px;font-size:clamp(1.625rem,1.4rem + 1.3vw,2.25rem);font-weight:800;color:var(--navy);line-height:1.55;
}
.article-meta{margin-top:16px;font-size:var(--fs-small);color:var(--muted-soft)}
.article-body{padding:20px 0 12px}
.article-body h2{
  margin-top:44px;font-size:var(--fs-h3);font-weight:800;color:var(--navy);
  line-height:1.6;padding-bottom:14px;border-bottom:2px solid var(--accent-soft);
}
.article-body h2:first-child{margin-top:0}
.article-body h3{margin-top:30px;font-size:16.5px;font-weight:800;color:var(--navy);line-height:1.7}
.article-body p{margin-top:20px;font-size:var(--fs-body);line-height:2;color:#28323d}
.article-body ul,.article-body ol{margin-top:18px;display:flex;flex-direction:column;gap:13px}
.article-body ul li{padding-left:20px;position:relative;line-height:1.9;font-size:15px}
.article-body ul li::before{content:"";position:absolute;left:2px;top:10px;width:6px;height:6px;background:var(--steel);border-radius:50%}
.article-body ol{counter-reset:step}
.article-body ol li{padding-left:30px;position:relative;line-height:1.9;font-size:15px}
.article-body ol li::before{
  counter-increment:step;content:counter(step);position:absolute;left:0;top:0;
  width:22px;height:22px;border-radius:50%;background:var(--accent-soft);color:var(--steel-dark);
  font-size:12px;font-weight:800;display:flex;align-items:center;justify-content:center;
}
.article-body .box{
  margin-top:26px;background:var(--accent-wash);border:1px solid var(--line);border-radius:8px;padding:20px 22px;
}
.article-body .box h3{font-size:14px;font-weight:800;color:var(--steel-dark);margin-bottom:10px;margin-top:0}
.in-article-cta{
  margin-top:44px;background:var(--panel);border:1px solid var(--line);border-radius:10px;
  padding:28px 24px;text-align:center;box-shadow:var(--shadow-sm);
}
.in-article-cta p{font-size:15px;color:var(--muted);margin-bottom:16px;line-height:1.8}

/* ---------- related articles ---------- */
.related{padding:48px 0}
.related h2{font-size:17px;font-weight:800;color:var(--navy);margin-bottom:18px}
.related-grid{display:grid;grid-template-columns:1fr;gap:14px}
@media(min-width:820px){.related-grid{grid-template-columns:repeat(3,1fr)}}
.related-card{
  display:block;background:var(--panel);border:1px solid var(--line);border-radius:8px;
  padding:18px 20px;font-size:14px;font-weight:700;color:var(--navy);line-height:1.7;
  transition:border-color .15s ease,transform .15s ease;
}
.related-card:hover{border-color:var(--steel);transform:translateY(-1px)}
.related-card span{display:block;margin-top:8px;font-size:12px;font-weight:800;color:var(--steel-dark)}

/* ---------- comparison table (no horizontal scroll) ---------- */
.compare-list{display:flex;flex-direction:column;gap:18px;margin-top:24px}
.compare-item{
  background:var(--panel);border:1px solid var(--line);border-radius:10px;
  padding:26px;box-shadow:var(--shadow-sm);
}
.compare-item .badge{
  display:inline-block;font-size:11px;font-weight:800;color:#fff;background:var(--steel-dark);
  padding:5px 12px;border-radius:20px;margin-bottom:12px;
}
.compare-item .badge.badge-alt{background:var(--steel)}
.compare-item.featured{border-left:4px solid var(--steel-dark)}
.compare-item h3{font-size:19px;font-weight:800;color:var(--navy)}
.compare-item .spec-grid{
  margin-top:16px;display:grid;grid-template-columns:1fr;gap:12px;
}
@media(min-width:640px){.compare-item .spec-grid{grid-template-columns:1fr 1fr}}
/* 情報ブロック：ラベルを上、説明文を下にして横詰まりを解消(左揃え、途中分断を避ける) */
.spec-row{
  display:flex;flex-direction:column;gap:5px;
  padding:14px 16px;background:var(--accent-wash);border:1px solid var(--line);border-radius:8px;
}
.spec-row dt{color:var(--muted);font-size:12px;font-weight:800;letter-spacing:.04em}
.spec-row dd{color:var(--ink);font-size:14.5px;font-weight:700;text-align:left;line-height:1.6}
.compare-item .desc{margin-top:16px;font-size:14px;color:var(--muted);line-height:1.9}
.compare-item .btn{margin-top:20px}
/* A8提携審査中のCTAを一時非表示(承認後、HTML側のis-pending-approvalクラスを外して復帰) */
.is-pending-approval{display:none}

/* ---------- FAQ ---------- */
.faq-item{border-bottom:1px solid var(--line);padding:20px 0}
.faq-item summary{
  cursor:pointer;font-weight:800;color:var(--navy);font-size:15px;list-style:none;
  display:flex;justify-content:space-between;gap:12px;line-height:1.7;
}
.faq-item summary::after{content:"+";color:var(--steel);font-size:20px;flex-shrink:0}
.faq-item[open] summary::after{content:"−"}
.faq-item summary::-webkit-details-marker{display:none}
.faq-item p{margin-top:14px;font-size:14px;color:var(--muted);line-height:1.9}

/* ---------- diagnosis (career-check) ---------- */
.diag-progress{font-size:13px;font-weight:700;color:var(--steel-dark);margin-bottom:10px}
.diag-progress-wrap{display:flex;align-items:center;gap:14px;margin-bottom:20px}
.diag-progress-label{font-size:13px;font-weight:800;color:var(--steel-dark);white-space:nowrap}
.diag-progress-bar{flex:1;height:6px;border-radius:4px;background:var(--line);overflow:hidden}
.diag-progress-bar-fill{height:100%;border-radius:4px;background:var(--steel-dark);transition:width .25s ease}
.diag-card{
  background:var(--panel);border:1px solid var(--line);border-radius:10px;
  padding:28px 24px;box-shadow:var(--shadow-sm);
}
.diag-q{margin-bottom:36px}
.diag-q:last-of-type{margin-bottom:0}
.diag-q h3{font-size:16px;font-weight:800;color:var(--navy);line-height:1.7;margin-bottom:16px}
.diag-options{display:flex;flex-direction:column;gap:10px}
.diag-options.grid2{display:grid;grid-template-columns:1fr 1fr;gap:10px}
@media(min-width:640px){.diag-options.grid3{display:grid;grid-template-columns:repeat(3,1fr);gap:10px}}
.diag-option{
  display:block;border:1px solid var(--line);border-radius:8px;padding:14px 16px;
  font-size:15px;font-weight:700;color:var(--ink);position:relative;
  transition:border-color .15s ease,background .15s ease;
}
.diag-option:hover{border-color:var(--line-strong)}
.diag-option input{position:absolute;opacity:0;pointer-events:none}
.diag-option:has(input:checked){border-color:var(--steel-dark);background:var(--accent-soft);color:var(--steel-dark)}
.diag-scale{display:flex;flex-direction:row;gap:8px;flex-wrap:wrap}
.diag-scale .diag-option{flex:1 1 0;text-align:center;min-width:0;padding-left:4px;padding-right:4px}
.diag-actions{margin-top:36px;text-align:center}
.diag-error{color:#b3401d;font-size:13px;margin-top:14px;text-align:center}
.diag-result{display:none}
.diag-result.show{display:block}
.diag-result .result-badge{
  display:inline-block;font-size:12px;font-weight:800;letter-spacing:.06em;color:#fff;
  background:var(--steel-dark);padding:6px 14px;border-radius:20px;
}
.diag-result h2{margin-top:16px;font-size:var(--fs-h2);font-weight:800;color:var(--navy);line-height:1.6}
.diag-result p{margin-top:18px;font-size:15px;line-height:2;color:#28323d}
.diag-result .btn{margin-top:24px}
.diag-restart{margin-top:20px;font-size:13px;font-weight:700;color:var(--muted)}

/* ---------- fixed pages (about/privacy/contact/ad-policy) ---------- */
.static-body{padding:8px 0 40px}
.static-body h2{margin-top:40px;font-size:var(--fs-h3);font-weight:800;color:var(--navy)}
.static-body h2:first-child{margin-top:0}
.static-body p{margin-top:14px;font-size:15px;line-height:2;color:#28323d}
.static-body ul{margin-top:14px;display:flex;flex-direction:column;gap:8px}
.static-body ul li{padding-left:18px;position:relative;font-size:14px;line-height:1.9;color:var(--muted)}
.static-body ul li::before{content:"";position:absolute;left:2px;top:9px;width:6px;height:6px;background:var(--steel);border-radius:50%}
.info-table{margin-top:20px;display:flex;flex-direction:column}
.info-row{display:flex;flex-wrap:wrap;gap:6px 20px;padding:14px 0;border-bottom:1px solid var(--line)}
.info-row dt{flex:0 0 120px;font-size:13px;font-weight:800;color:var(--muted)}
.info-row dd{flex:1 1 200px;font-size:14px;color:var(--ink)}

/* ---------- contact form ---------- */
.contact-panel{background:var(--panel);border:1px solid var(--line);border-radius:10px;padding:28px 24px;box-shadow:var(--shadow-sm)}
.contact-panel .btn{margin-top:6px}
.contact-note{margin-top:16px;font-size:13px;color:var(--muted);line-height:1.8}

/* ---------- footer ---------- */
.site-footer{background:var(--navy);color:rgba(255,255,255,.86);margin-top:60px;padding:48px 0 26px}
.footer-grid{display:flex;flex-direction:column;gap:28px}
@media(min-width:720px){.footer-grid{flex-direction:row;justify-content:space-between}}
.footer-brand strong{font-size:16px;font-weight:800;color:#fff}
.footer-brand p{margin-top:10px;font-size:13px;line-height:1.9;max-width:38ch;color:rgba(255,255,255,.7)}
.footer-links{display:flex;flex-direction:column;gap:12px;font-size:13px;font-weight:700}
.footer-links a:hover{color:#fff}
.copyright{margin-top:36px;font-size:12px;color:rgba(255,255,255,.55);text-align:center}
.wrap.footer-wrap{padding-top:0}

/* ---------- utility ---------- */
.mt-0{margin-top:0}
@media(max-width:1280px){
  :root{--section-py:56px}
}
@media(max-width:480px){
  :root{--section-py:var(--section-py-sm)}
  .diag-options.grid2{grid-template-columns:1fr}

  /* 悩みから探すカード：上下の余白と要素間隔を詰めてカード全体の高さを抑える(見出し・箇条書き・リンクの可読性は維持) */
  .worry-card{padding:22px 22px 18px;gap:12px}
  .worry-card-media{margin:-22px -22px 0}
  .worry-card ul{gap:7px}
  .worry-card .go{padding-top:10px}

  /* スマホHERO：説明文・CTA・画像間の縦余白のみ圧縮(文言・H1・PCは変更なし) */
  .hero .lead{margin-top:8px}
  .hero .cta-row{margin-top:12px}
  .hero-visual{margin-top:14px}

  /* career-agentのA8 CTA3件(メーカーズジョブ/工場求人ワールド/UTグループ)：高さ・文字サイズを統一し窮屈さを緩和(文言は変更なし、PCは対象外) */
  .a8-cta{
    font-size:14px;padding:14px 18px;min-height:auto;line-height:1.5;
  }
}

/* =========================================================
   career-agentページ専用：PCレイアウト改善(他記事ページへは影響なし)
   ========================================================= */
/* 記事領域をこのページのみ960pxへ拡張(他ページは--article-w:760pxのまま) */
.page-career-agent{--article-w:960px}
/* 長文(段落・箇条書き・補足ボックス・FAQ)は読みやすい行長を維持し、横いっぱいまで広げない */
.page-career-agent .article-body>p,
.page-career-agent .article-body>ul:not(.compare-nav),
.page-career-agent .article-body>ol,
.page-career-agent .article-body>.box,
.page-career-agent .faq-item{
  max-width:720px;
}

/* 記事導入の横長写真(専用画像が用意でき次第、career-agent/index.htmlへ<figure class="article-hero-photo">を再設置) */
.article-hero-photo{margin-top:24px;border-radius:10px;overflow:hidden;box-shadow:var(--shadow-sm)}
.article-hero-photo img{width:100%;height:auto;aspect-ratio:16/9;object-fit:cover;display:block}

/* 3社比較ナビゲーション(見出し直後、各カードへのジャンプリンク)
   .article-body ul/ul li/ul li::beforeの汎用スタイル(詳細度0,1,1〜0,1,3)に負けないよう、
   .article-body .compare-nav... の形で詳細度を上げて明示的に打ち消す */
.article-body .compare-nav{
  list-style:none;display:flex;flex-direction:column;gap:10px;margin-top:20px;padding:0;
}
.article-body .compare-nav li{
  list-style:none;padding-left:0;
}
.article-body .compare-nav li::before{display:none}
.compare-nav a{
  display:flex;flex-direction:column;gap:2px;height:100%;padding:16px;
  background:var(--accent-wash);border:1px solid var(--line);border-radius:8px;
  transition:border-color .15s ease,background .15s ease;
}
.compare-nav a:hover{border-color:var(--steel);background:var(--accent-soft)}
.compare-nav a strong{font-size:14px;font-weight:800;color:var(--navy)}
.compare-nav a span{font-size:12.5px;color:var(--muted);line-height:1.6}
@media(min-width:640px){
  .article-body .compare-nav{flex-direction:row;align-items:stretch}
  .article-body .compare-nav li{flex:1}
}
