/*
Theme Name: SHIGOTO MODE
Theme URI: https://shigoto-mode.com
Author: 株式会社NEVER
Description: フリーペーパー「SHIGOTO MODE」公式Webメディアテーマ。冊子のトンマナ（ネイビー×オレンジ）を踏襲した企業紹介DB型テーマ。
Version: 1.0.0
Requires PHP: 7.4
Text Domain: shigotomode
*/

/* ==========================================================
   SHIGOTO MODE Web デザインカンプ
   トンマナ: 冊子「SHIGOTO MODE」直系（ネイビー×オレンジ）
   ========================================================== */
:root {
  --navy: #17356b;
  --navy-deep: #0f2450;
  --navy-ink: #0b1a38;
  --orange: #f0801e;
  --orange-deep: #d96c0c;
  --yellow: #f6c445;
  --sky: #a9c6e8;
  --sky-soft: #cfdff2;
  --pale: #eef4fb;
  --paper: #ffffff;
  --ink: #1f2532;
  --ink-soft: #4c566a;
  --disp: "Oswald", sans-serif;
  --sans: "Noto Sans JP", sans-serif;
}

* { margin: 0; padding: 0; box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  font-family: var(--sans);
  color: var(--ink);
  background: var(--paper);
  line-height: 1.8;
  font-size: 15px;
  overflow-x: hidden;
}
img { max-width: 100%; display: block; }
a { color: inherit; text-decoration: none; }
ul { list-style: none; }

.wrap { max-width: 1140px; margin: 0 auto; padding: 0 24px; }

/* --- 誌面装飾: 3色斜めストライプ ------------------------ */
.stripes {
  height: 6px;
  background: repeating-linear-gradient(
    -55deg,
    var(--orange) 0 18px,
    var(--paper) 18px 24px,
    var(--yellow) 24px 42px,
    var(--paper) 42px 48px,
    var(--sky) 48px 66px,
    var(--paper) 66px 72px
  );
}
.corner-stripes {
  position: absolute;
  width: 130px; height: 26px;
  background: repeating-linear-gradient(
    -55deg,
    var(--orange) 0 14px,
    transparent 14px 20px,
    var(--yellow) 20px 34px,
    transparent 34px 40px,
    var(--sky) 40px 54px,
    transparent 54px 60px
  );
}

/* --- 見出しの型 ------------------------------------------ */
.eyebrow {
  font-family: var(--disp);
  font-weight: 600;
  letter-spacing: .22em;
  text-transform: uppercase;
  color: var(--orange);
  font-size: 13px;
  display: flex;
  align-items: center;
  gap: 12px;
}
.eyebrow::before { content: ""; width: 34px; height: 3px; background: var(--orange); }
.sec-title {
  font-size: clamp(24px, 3.4vw, 34px);
  font-weight: 900;
  line-height: 1.35;
  color: var(--navy);
  margin-top: 10px;
}
.sec-head { position: relative; margin-bottom: 42px; }
.ghost {
  position: absolute;
  top: -0.45em; left: -0.02em;
  font-family: var(--disp);
  font-weight: 700;
  font-size: clamp(72px, 12vw, 150px);
  letter-spacing: .04em;
  color: var(--pale);
  z-index: -1;
  line-height: 1;
  user-select: none;
  white-space: nowrap;
}
.on-navy .ghost { color: rgba(255,255,255,.06); }
.on-navy .sec-title { color: #fff; }

/* --- タグ・バッジ（誌面の型） ---------------------------- */
.tag-city {
  display: inline-block;
  background: var(--navy);
  color: #fff;
  font-size: 11.5px;
  font-weight: 700;
  padding: 3px 10px 2px;
  letter-spacing: .08em;
  line-height: 1.5;
}
.badge-hs {
  display: inline-block;
  background: var(--orange);
  color: #fff;
  font-size: 11px;
  font-weight: 700;
  padding: 3px 9px 2px;
  letter-spacing: .06em;
  line-height: 1.5;
  border: 1px solid #fff;
  outline: 1px solid var(--orange);
}
.chip {
  display: inline-block;
  font-size: 11.5px;
  font-weight: 500;
  color: var(--navy);
  background: var(--pale);
  border: 1px solid var(--sky-soft);
  border-radius: 999px;
  padding: 2px 12px;
}

/* --- ボタン ---------------------------------------------- */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  font-weight: 700;
  padding: 13px 30px;
  background: var(--orange);
  color: #fff;
  border: none;
  cursor: pointer;
  font-size: 15px;
  font-family: var(--sans);
  box-shadow: 4px 4px 0 rgba(23,53,107,.18);
  transition: transform .15s ease, box-shadow .15s ease, background .15s ease;
}
.btn:hover { transform: translate(-2px,-2px); box-shadow: 6px 6px 0 rgba(23,53,107,.22); background: var(--orange-deep); }
.btn:focus-visible { outline: 3px solid var(--navy); outline-offset: 2px; }
.btn.ghost-btn {
  background: transparent;
  color: var(--navy);
  border: 2px solid var(--navy);
  box-shadow: none;
}
.btn.ghost-btn:hover { background: var(--navy); color: #fff; transform: none; }
.btn .arr { font-family: var(--disp); font-weight: 600; }

/* ==========================================================
   ヘッダー
   ========================================================== */
.site-header {
  position: sticky;
  top: 0;
  z-index: 50;
  background: rgba(255,255,255,.96);
  backdrop-filter: blur(6px);
  border-bottom: 1px solid var(--sky-soft);
}
.header-inner {
  max-width: 1220px;
  margin: 0 auto;
  padding: 12px 24px;
  display: flex;
  align-items: center;
  gap: 28px;
}
.logo { display: flex; flex-direction: column; line-height: 1.1; }
.logo-mark {
  font-family: var(--disp);
  font-weight: 700;
  font-size: 27px;
  letter-spacing: .02em;
  color: var(--navy);
  font-style: italic;
  white-space: nowrap;
}
.logo-mark .accent { color: var(--orange); }
.logo-sub { font-size: 10px; font-weight: 500; color: var(--ink-soft); letter-spacing: .12em; margin-top: 3px; }
.gnav { margin-left: auto; }
.gnav ul { display: flex; gap: 26px; }
.gnav a {
  font-size: 14px;
  font-weight: 700;
  color: var(--navy);
  padding: 6px 0;
  position: relative;
}
.gnav a::after {
  content: "";
  position: absolute;
  left: 0; bottom: 0;
  width: 100%; height: 3px;
  background: var(--orange);
  transform: scaleX(0);
  transform-origin: left;
  transition: transform .2s ease;
}
.gnav a:hover::after { transform: scaleX(1); }
.header-cta { padding: 10px 20px; font-size: 13px; box-shadow: 3px 3px 0 rgba(23,53,107,.15); }
.menu-btn { display: none; }

/* ==========================================================
   ヒーロー（トップ）
   ========================================================== */
.hero {
  position: relative;
  background:
    radial-gradient(1200px 500px at 85% -10%, rgba(169,198,232,.16), transparent 60%),
    var(--navy);
  color: #fff;
  overflow: hidden;
  padding: 72px 0 120px;
}
.hero::after {
  content: "SHIGOTO MODE";
  position: absolute;
  left: 0; bottom: -0.18em;
  font-family: var(--disp);
  font-weight: 700;
  font-style: italic;
  font-size: clamp(90px, 14vw, 210px);
  letter-spacing: .02em;
  color: rgba(255,255,255,.05);
  white-space: nowrap;
  line-height: 1;
  pointer-events: none;
}
.hero .corner-stripes { top: 0; right: 0; }
.hero-inner {
  position: relative;
  z-index: 1;
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  gap: 48px;
  align-items: center;
}
.hero-copy .kicker {
  display: inline-block;
  background: var(--yellow);
  color: var(--navy-ink);
  font-weight: 900;
  font-size: 13px;
  letter-spacing: .14em;
  padding: 4px 14px;
  margin-bottom: 22px;
}
.hero-title {
  font-size: clamp(30px, 4.6vw, 52px);
  font-weight: 900;
  line-height: 1.42;
  letter-spacing: .04em;
}
.hero-title .marker {
  background: linear-gradient(transparent 68%, var(--orange) 68%);
  padding: 0 2px;
}
.hero-lead {
  margin-top: 22px;
  font-size: 15px;
  color: var(--sky-soft);
  max-width: 34em;
}
.hero-areas { margin-top: 30px; display: flex; align-items: center; gap: 10px; flex-wrap: wrap; }
.hero-areas .label {
  font-family: var(--disp);
  font-weight: 600;
  font-size: 12px;
  letter-spacing: .2em;
  color: var(--sky);
}
.area-chip {
  display: inline-block;
  border: 1.5px solid rgba(255,255,255,.55);
  color: #fff;
  font-size: 13px;
  font-weight: 700;
  padding: 5px 18px;
  border-radius: 999px;
  transition: background .15s ease, color .15s ease, border-color .15s ease;
}
.area-chip:hover, .area-chip.active { background: var(--orange); border-color: var(--orange); }

/* 写真コラージュ + 縦書きキャッチ帯（シグネチャ） */
.hero-visual { position: relative; width: 400px; max-width: 42vw; }
.hero-photo {
  width: 330px;
  aspect-ratio: 3 / 3.6;
  object-fit: cover;
  border: 5px solid #fff;
  box-shadow: 14px 14px 0 rgba(246,196,69,.85);
}
.hero-photo-sub {
  position: absolute;
  right: -18px; bottom: -44px;
  width: 190px;
  aspect-ratio: 4 / 3;
  object-fit: cover;
  border: 4px solid #fff;
  box-shadow: 10px 10px 0 rgba(169,198,232,.7);
}
.tate-catch {
  position: absolute;
  top: -26px;
  right: 24px;
  writing-mode: vertical-rl;
  font-weight: 900;
  font-size: 21px;
  letter-spacing: .14em;
  line-height: 1;
  color: #fff;
  background: var(--orange);
  padding: 22px 9px;
  box-shadow: -6px 6px 0 rgba(11,26,56,.35);
}
.tate-catch.second {
  top: 40px;
  right: 72px;
  background: var(--orange);
  font-size: 17px;
  padding: 18px 8px;
}

/* ==========================================================
   検索バー（ヒーローに重なる）
   ========================================================== */
.search-panel { position: relative; z-index: 5; margin-top: -58px; }
.search-card {
  background: #fff;
  border: 2px solid var(--navy);
  box-shadow: 8px 8px 0 rgba(23,53,107,.12);
  padding: 26px 28px 28px;
}
.search-card .search-label {
  display: flex; align-items: center; gap: 12px;
  font-weight: 900; color: var(--navy); font-size: 16px;
  margin-bottom: 16px;
}
.search-label .en {
  font-family: var(--disp);
  font-weight: 600;
  color: var(--orange);
  letter-spacing: .2em;
  font-size: 12px;
}
.search-grid {
  display: grid;
  grid-template-columns: 1fr 1fr 1.4fr auto;
  gap: 14px;
}
.field label {
  display: block;
  font-size: 11.5px;
  font-weight: 700;
  color: var(--ink-soft);
  margin-bottom: 6px;
  letter-spacing: .06em;
}
.field select, .field input {
  width: 100%;
  font-family: var(--sans);
  font-size: 14px;
  padding: 11px 12px;
  border: 1.5px solid var(--sky);
  background: var(--pale);
  color: var(--ink);
  border-radius: 0;
  appearance: none;
}
.field select:focus, .field input:focus { outline: 2px solid var(--orange); border-color: var(--orange); background: #fff; }
.field { position: relative; }
.field.select::after {
  content: "▾";
  position: absolute;
  right: 12px; bottom: 11px;
  color: var(--navy);
  pointer-events: none;
  font-size: 12px;
}
.search-grid .btn { align-self: end; padding: 12px 34px; }

/* ==========================================================
   セクション共通
   ========================================================== */
.section { padding: 96px 0; position: relative; }
.section.tight { padding: 72px 0; }
.section.on-pale { background: var(--pale); }
.section.on-navy { background: var(--navy); color: #fff; }
.more-row { margin-top: 44px; text-align: center; }

/* ==========================================================
   企業カード（誌面の1社=1カード）
   ========================================================== */
.company-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 28px;
}
.c-card {
  background: #fff;
  border: 1.5px solid var(--sky-soft);
  display: flex;
  flex-direction: column;
  transition: transform .18s ease, box-shadow .18s ease, border-color .18s ease;
  position: relative;
}
.c-card:hover {
  transform: translateY(-5px);
  border-color: var(--navy);
  box-shadow: 8px 8px 0 rgba(169,198,232,.45);
}
.c-card .photo { position: relative; aspect-ratio: 16 / 10.5; overflow: hidden; }
.c-card .photo img { width: 100%; height: 100%; object-fit: cover; transition: transform .3s ease; }
.c-card:hover .photo img { transform: scale(1.04); }
.c-card .photo .tags { position: absolute; top: 10px; left: 10px; display: flex; gap: 6px; }
.c-card .body { padding: 20px 20px 18px; display: flex; flex-direction: column; flex: 1; }
.c-card .catch {
  font-weight: 900;
  font-size: 16.5px;
  line-height: 1.55;
  color: var(--navy);
  min-height: 3.1em;
}
.c-card .name { margin-top: 10px; font-size: 13px; font-weight: 700; color: var(--ink); }
.c-card .meta { margin-top: 10px; display: flex; gap: 6px; flex-wrap: wrap; }
.c-card .more {
  margin-top: auto;
  padding-top: 16px;
  display: flex;
  justify-content: flex-end;
  align-items: center;
  gap: 8px;
  font-family: var(--disp);
  font-weight: 600;
  font-size: 12.5px;
  letter-spacing: .18em;
  color: var(--orange);
}
.c-card .more::after { content: "→"; transition: transform .15s ease; }
.c-card:hover .more::after { transform: translateX(4px); }
.c-card > a.cover { position: absolute; inset: 0; z-index: 2; }
.c-card > a.cover:focus-visible { outline: 3px solid var(--orange); outline-offset: -3px; }

/* ==========================================================
   インタビュー（ネイビー面）
   ========================================================== */
.iv-badge {
  display: inline-grid;
  place-items: center;
  width: 132px; height: 132px;
  border-radius: 50%;
  background: var(--orange);
  color: #fff;
  text-align: center;
  font-weight: 900;
  font-size: 16px;
  line-height: 1.45;
  transform: rotate(-6deg);
  box-shadow: 6px 6px 0 rgba(11,26,56,.3);
}
.iv-badge small { font-size: 10px; font-weight: 700; display: block; margin-top: 2px; }
.iv-head { display: flex; align-items: center; gap: 30px; margin-bottom: 46px; flex-wrap: wrap; }
.iv-head .sec-head { margin-bottom: 0; }
.iv-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 26px; }
.iv-card {
  background: #fff;
  color: var(--ink);
  padding: 28px 24px 24px;
  position: relative;
  border-top: 5px solid var(--orange);
  transition: transform .18s ease, box-shadow .18s ease;
}
.iv-card:hover { transform: translateY(-5px); box-shadow: 8px 8px 0 rgba(11,26,56,.35); }
.iv-card .q {
  font-weight: 900;
  color: var(--navy);
  font-size: 15.5px;
  line-height: 1.6;
  min-height: 4.6em;
  display: flex;
  gap: 10px;
}
.iv-card .q::before {
  content: "Q.";
  font-family: var(--disp);
  font-style: italic;
  font-weight: 700;
  color: var(--orange);
  font-size: 22px;
  line-height: 1.2;
}
.iv-person { margin-top: 20px; display: flex; align-items: center; gap: 14px; }
.iv-person img {
  width: 62px; height: 62px;
  border-radius: 50%;
  object-fit: cover;
  object-position: top;
  border: 3px solid var(--pale);
}
.iv-person .role { font-size: 11px; color: var(--orange-deep); font-weight: 700; }
.iv-person .name { font-size: 14.5px; font-weight: 900; color: var(--navy); }
.iv-person .name small { font-weight: 500; font-size: 11px; color: var(--ink-soft); margin-left: 4px; }
.iv-person .firm { font-size: 11px; color: var(--ink-soft); }

/* ==========================================================
   記事カード
   ========================================================== */
.article-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 24px; }
.a-card {
  background: #fff;
  border: 1.5px solid var(--sky-soft);
  padding: 24px 22px 20px;
  position: relative;
  transition: transform .18s ease, box-shadow .18s ease, border-color .18s ease;
}
.a-card:hover { transform: translateY(-4px); border-color: var(--navy); box-shadow: 6px 6px 0 rgba(169,198,232,.4); }
.a-card .cat {
  display: inline-block;
  background: var(--navy);
  color: #fff;
  font-size: 11px;
  font-weight: 700;
  padding: 2px 12px;
  letter-spacing: .08em;
}
.a-card h3 { margin-top: 14px; font-size: 15.5px; font-weight: 700; line-height: 1.6; color: var(--ink); min-height: 3.2em; }
.a-card .date { margin-top: 14px; font-family: var(--disp); font-size: 12px; letter-spacing: .12em; color: var(--ink-soft); }

/* ==========================================================
   冊子連動
   ========================================================== */
.mag-flex { display: grid; grid-template-columns: 1.1fr 1fr; gap: 56px; align-items: center; }
.mag-visual { position: relative; padding: 30px 10px; }
.mag-visual img {
  border: 1px solid var(--sky-soft);
  box-shadow: 10px 10px 0 rgba(169,198,232,.45);
}
.mag-visual .m1 { width: 78%; transform: rotate(-2.5deg); }
.mag-visual .m2 {
  position: absolute;
  right: 0; bottom: 0;
  width: 56%;
  transform: rotate(3deg);
  box-shadow: 10px 10px 0 rgba(246,196,69,.6);
}
.mag-copy .lead { margin-top: 20px; color: var(--ink-soft); }
.mag-points { margin-top: 24px; display: grid; gap: 10px; }
.mag-points li { display: flex; gap: 12px; align-items: baseline; font-weight: 700; color: var(--navy); }
.mag-points li::before {
  content: "●";
  color: var(--orange);
  font-size: 10px;
  flex: none;
}
.mag-copy .btn { margin-top: 30px; }

/* ==========================================================
   保護者・先生の方へ（誌面のBOXの型）
   ========================================================== */
.parent-box {
  background: #fff;
  border: 2px solid var(--navy);
  box-shadow: 8px 8px 0 rgba(23,53,107,.1);
}
.parent-box .bar {
  background: var(--navy);
  color: #fff;
  font-weight: 900;
  padding: 10px 24px;
  font-size: 16px;
  display: flex;
  align-items: center;
  gap: 14px;
}
.parent-box .bar .en { font-family: var(--disp); font-weight: 600; font-size: 11px; letter-spacing: .22em; color: var(--sky); }
.parent-box .inner { padding: 26px 28px; display: grid; grid-template-columns: 1fr 1fr; gap: 28px; }
.parent-box h3 { font-size: 15.5px; color: var(--navy); font-weight: 900; margin-bottom: 8px; display: flex; gap: 10px; align-items: center; }
.parent-box h3::before { content: ""; width: 12px; height: 12px; background: var(--orange); flex: none; }
.parent-box p { font-size: 14px; color: var(--ink-soft); }

/* ==========================================================
   フッター
   ========================================================== */
.site-footer { background: var(--navy-ink); color: #fff; padding: 60px 0 0; }
.footer-grid { display: grid; grid-template-columns: 1.2fr 1fr 1fr; gap: 40px; padding-bottom: 48px; }
.footer-logo .logo-mark { color: #fff; }
.footer-logo p { margin-top: 14px; font-size: 12.5px; color: var(--sky); line-height: 2; }
.site-footer h4 {
  font-family: var(--disp);
  font-weight: 600;
  font-size: 12px;
  letter-spacing: .24em;
  color: var(--sky);
  margin-bottom: 14px;
}
.site-footer li { margin-bottom: 9px; }
.site-footer li a { font-size: 13.5px; color: rgba(255,255,255,.85); }
.site-footer li a:hover { color: var(--yellow); }
.footer-bottom {
  border-top: 1px solid rgba(255,255,255,.14);
  padding: 18px 0;
  display: flex;
  justify-content: space-between;
  gap: 16px;
  flex-wrap: wrap;
  font-size: 12px;
  color: var(--sky);
}

/* ==========================================================
   企業詳細ページ
   ========================================================== */
.crumbs { padding: 14px 0; font-size: 12px; color: var(--ink-soft); }
.crumbs a { color: var(--navy); font-weight: 500; }
.crumbs .sep { margin: 0 8px; color: var(--sky); }

.co-hero { position: relative; padding: 26px 0 64px; }
.co-hero .corner-stripes { top: 0; right: 0; }
.co-hero-grid {
  display: grid;
  grid-template-columns: 1.05fr 1fr;
  gap: 52px;
  align-items: start;
}
.co-photo-wrap { position: relative; }
.co-photo-wrap img {
  width: 100%;
  aspect-ratio: 3 / 3.4;
  object-fit: cover;
  border: 6px solid #fff;
  outline: 1.5px solid var(--sky-soft);
  box-shadow: 16px 16px 0 rgba(169,198,232,.5);
}
.co-photo-wrap .tate-catch { top: -14px; right: 18px; font-size: 19px; }
.co-photo-wrap .tate-catch.second { top: 64px; right: 62px; font-size: 15.5px; }
.co-head .tags { display: flex; gap: 8px; margin-bottom: 14px; }
.co-name { font-size: clamp(26px, 3.2vw, 36px); font-weight: 900; color: var(--navy); line-height: 1.4; }
.co-name small { display: block; font-size: 13px; font-weight: 700; color: var(--orange); letter-spacing: .2em; margin-bottom: 6px; font-family: var(--disp); }
.co-lead { margin-top: 22px; font-size: 15px; line-height: 2.1; color: var(--ink); }
.co-actions { margin-top: 30px; display: flex; gap: 14px; flex-wrap: wrap; }
.co-actions .btn { font-size: 14px; padding: 12px 24px; }

/* POINT セクション（誌面のネイビー面の型） */
.point-panel {
  background: var(--navy);
  color: #fff;
  position: relative;
  overflow: hidden;
  padding: 74px 0 70px;
}
.point-panel .ghost { color: rgba(255,255,255,.055); top: -10px; }
.point-bar {
  display: inline-flex;
  align-items: center;
  gap: 14px;
  background: #fff;
  color: var(--navy);
  font-weight: 900;
  font-size: clamp(19px, 2.4vw, 25px);
  padding: 12px 30px;
  box-shadow: 6px 6px 0 rgba(11,26,56,.4);
  margin-bottom: 50px;
}
.point-bar .num { font-family: var(--disp); font-style: italic; font-weight: 700; color: var(--orange); font-size: 1.5em; line-height: 1; }
.point-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 0; }
.point-item { padding: 0 28px; position: relative; }
.point-item + .point-item { border-left: 1px dashed rgba(255,255,255,.3); }
.point-item .p-num {
  font-family: var(--disp);
  font-style: italic;
  font-weight: 700;
  font-size: 54px;
  line-height: 1;
  color: var(--orange);
}
.point-item h3 { margin-top: 10px; font-size: 17px; font-weight: 900; line-height: 1.6; min-height: 5em; }
.point-item h3 .kw { color: var(--yellow); }
.point-item p { margin-top: 14px; font-size: 13.5px; line-height: 1.95; color: var(--sky-soft); }
.point-item img {
  margin-top: 20px;
  width: 100%;
  aspect-ratio: 16 / 10;
  object-fit: cover;
  border: 3px solid #fff;
}

/* サブ写真ストリップ */
.snap-strip { display: grid; grid-template-columns: repeat(4, 1fr); gap: 20px; }
.snap-strip figure { background: #fff; border: 1.5px solid var(--sky-soft); padding: 10px 10px 12px; }
.snap-strip img { aspect-ratio: 4 / 3; object-fit: cover; width: 100%; }
.snap-strip figcaption { font-size: 11.5px; line-height: 1.7; color: var(--ink-soft); margin-top: 10px; }

/* インタビュー詳細（縦ゴーストの誌面感） */
.iv-section { position: relative; }
.iv-section .tate-ghost {
  position: absolute;
  top: 60px; right: -6px;
  writing-mode: vertical-rl;
  font-family: var(--disp);
  font-weight: 700;
  font-size: 90px;
  letter-spacing: .12em;
  color: var(--pale);
  z-index: 0;
  line-height: 1;
  user-select: none;
}
.iv-lineup {
  background: #fff;
  border: 1.5px solid var(--sky-soft);
  padding: 18px 24px;
  display: flex;
  gap: 28px;
  align-items: center;
  flex-wrap: wrap;
  margin-bottom: 40px;
  position: relative;
  z-index: 1;
}
.iv-lineup .lbl {
  background: var(--navy);
  color: #fff;
  font-weight: 900;
  font-size: 13px;
  padding: 6px 16px;
}
.iv-lineup .person { display: flex; align-items: center; gap: 12px; }
.iv-lineup img { width: 52px; height: 52px; border-radius: 50%; object-fit: cover; object-position: top; }
.iv-lineup .role { font-size: 10.5px; color: var(--orange-deep); font-weight: 700; }
.iv-lineup .nm { font-size: 14px; font-weight: 900; color: var(--navy); }
.iv-lineup .nm small { font-weight: 500; color: var(--ink-soft); font-size: 11px; margin-left: 4px; }

.qa-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 26px; position: relative; z-index: 1; }
.qa-card { background: #fff; border: 1.5px solid var(--sky-soft); padding: 26px 24px; display: flex; flex-direction: column; }
.qa-card .qa-person { display: flex; align-items: center; gap: 12px; padding-bottom: 16px; border-bottom: 1.5px dashed var(--sky); }
.qa-card .qa-person img { width: 58px; height: 58px; border-radius: 50%; object-fit: cover; object-position: top; border: 3px solid var(--pale); }
.qa-card .role { font-size: 11px; color: var(--orange-deep); font-weight: 700; }
.qa-card .nm { font-size: 15px; font-weight: 900; color: var(--navy); }
.qa-card .nm small { font-weight: 500; font-size: 11px; color: var(--ink-soft); margin-left: 4px; }
.qa-card .hobby { font-size: 11px; color: var(--ink-soft); }
.qa-card .q { margin-top: 18px; display: flex; gap: 10px; font-weight: 900; color: var(--navy); font-size: 15px; line-height: 1.65; min-height: 4.2em; }
.qa-card .q::before { content: "Q."; font-family: var(--disp); font-style: italic; font-weight: 700; font-size: 24px; color: var(--orange); line-height: 1.1; }
.qa-card .a { margin-top: 14px; display: flex; gap: 10px; font-size: 13.5px; line-height: 1.95; color: var(--ink-soft); }
.qa-card .a::before { content: "A."; font-family: var(--disp); font-style: italic; font-weight: 700; font-size: 24px; color: var(--navy); line-height: 1.1; flex: none; }

/* 会社データ（誌面フッターの型） */
.data-panel { display: grid; grid-template-columns: 1.5fr 1fr; gap: 34px; align-items: start; }
.data-card { background: #fff; border: 2px solid var(--navy); box-shadow: 8px 8px 0 rgba(23,53,107,.1); }
.data-card .bar {
  background: var(--navy);
  color: #fff;
  padding: 12px 26px;
  font-weight: 900;
  font-size: 17px;
  display: flex;
  align-items: baseline;
  gap: 12px;
}
.data-card .bar small { font-size: 11px; font-weight: 500; color: var(--sky); }
.data-card dl {
  padding: 22px 26px 10px;
  display: grid;
  grid-template-columns: 92px 1fr;
  row-gap: 0;
}
.data-card dt {
  font-weight: 900;
  color: var(--navy);
  font-size: 13px;
  padding: 10px 0;
  border-bottom: 1.5px dotted var(--sky);
}
.data-card dd {
  font-size: 13.5px;
  padding: 10px 0;
  border-bottom: 1.5px dotted var(--sky);
  color: var(--ink);
}
.data-card dl :is(dt,dd):nth-last-child(-n+2) { border-bottom: none; }
.data-card .note { padding: 6px 26px 22px; font-size: 12.5px; color: var(--ink-soft); line-height: 1.9; }
.data-side figure { border: 1.5px solid var(--sky-soft); background: #fff; padding: 10px; }
.data-side img { aspect-ratio: 16 / 11; object-fit: cover; width: 100%; }
.data-side figcaption { font-size: 11.5px; color: var(--ink-soft); margin-top: 8px; }

/* 詳細ページCTA */
.co-cta {
  background: var(--pale);
  border: 2px solid var(--navy);
  padding: 40px;
  text-align: center;
  position: relative;
  overflow: hidden;
}
.co-cta .corner-stripes { top: 0; left: 0; }
.co-cta h3 { font-size: 21px; font-weight: 900; color: var(--navy); }
.co-cta p { margin-top: 10px; font-size: 13.5px; color: var(--ink-soft); }
.co-cta .row { margin-top: 24px; display: flex; gap: 16px; justify-content: center; flex-wrap: wrap; }

.co-pager { display: flex; justify-content: space-between; gap: 16px; margin-top: 56px; }
.co-pager a {
  flex: 1;
  border: 1.5px solid var(--sky-soft);
  padding: 16px 20px;
  font-size: 13px;
  font-weight: 700;
  color: var(--navy);
  display: flex;
  align-items: center;
  gap: 12px;
  transition: border-color .15s ease, background .15s ease;
}
.co-pager a:hover { border-color: var(--navy); background: var(--pale); }
.co-pager .next { justify-content: flex-end; text-align: right; }
.co-pager .arr { font-family: var(--disp); color: var(--orange); font-weight: 600; }
.co-pager .list-link { flex: none; align-self: center; border: none; color: var(--orange); font-weight: 700; }

/* ==========================================================
   スクロールリビール
   ========================================================== */
.reveal { opacity: 0; transform: translateY(26px); transition: opacity .6s ease, transform .6s ease; }
.reveal.in { opacity: 1; transform: none; }
@media (prefers-reduced-motion: reduce) {
  .reveal { opacity: 1; transform: none; transition: none; }
  html { scroll-behavior: auto; }
}

/* ==========================================================
   レスポンシブ
   ========================================================== */
@media (max-width: 1000px) {
  .company-grid, .iv-grid, .article-grid, .qa-grid { grid-template-columns: repeat(2, 1fr); }
  .point-grid { grid-template-columns: 1fr; gap: 40px; }
  .point-item { padding: 0; }
  .point-item + .point-item { border-left: none; border-top: 1px dashed rgba(255,255,255,.3); padding-top: 36px; }
  .point-item h3 { min-height: 0; }
  .search-grid { grid-template-columns: 1fr 1fr; }
  .search-grid .btn { grid-column: 1 / -1; }
  .mag-flex, .co-hero-grid, .data-panel { grid-template-columns: 1fr; }
  .snap-strip { grid-template-columns: repeat(2, 1fr); }
  .footer-grid { grid-template-columns: 1fr 1fr; }
  .hero-inner { grid-template-columns: 1fr; }
  .hero-visual { margin: 26px auto 40px; max-width: 100%; }
  .gnav { display: none; }
  .menu-btn {
    display: grid;
    place-items: center;
    margin-left: auto;
    width: 44px; height: 44px;
    background: var(--navy);
    color: #fff;
    border: none;
    font-size: 18px;
    cursor: pointer;
  }
  .header-cta { display: none; }
}
@media (max-width: 640px) {
  body { font-size: 14px; }
  .section { padding: 64px 0; }
  .company-grid, .iv-grid, .article-grid, .qa-grid, .snap-strip { grid-template-columns: 1fr; }
  .hero { padding: 48px 0 96px; }
  .hero-visual { width: 100%; max-width: 320px; }
  .hero-photo { width: 100%; }
  .hero-photo-sub { right: -8px; }
  .tate-catch { font-size: 17px; right: 8px; }
  .tate-catch.second { right: 52px; font-size: 14px; }
  .co-photo-wrap .tate-catch { right: 6px; }
  .co-photo-wrap .tate-catch.second { right: 48px; }
  .iv-card .q, .qa-card .q { min-height: 0; }
  .c-card .catch { min-height: 0; }
  .a-card h3 { min-height: 0; }
  .parent-box .inner { grid-template-columns: 1fr; }
  .footer-grid { grid-template-columns: 1fr; }
  .search-grid { grid-template-columns: 1fr; }
  .mag-visual .m2 { width: 62%; }
  .iv-section .tate-ghost { display: none; }
}

/* ==========================================================
   WordPress 追加スタイル
   ========================================================== */
/* ナビメニュー（wp_nav_menu対応） */
.gnav .menu { display: flex; gap: 26px; }

/* モバイルドロワー */
@media (max-width: 1000px) {
  body.nav-open .gnav {
    display: block;
    position: fixed;
    left: 0; right: 0; top: 64px;
    background: #fff;
    border-bottom: 2px solid var(--navy);
    padding: 10px 24px 18px;
    z-index: 70;
    box-shadow: 0 12px 24px rgba(11,26,56,.12);
  }
  body.nav-open .gnav ul { flex-direction: column; gap: 0; }
  body.nav-open .gnav li { border-bottom: 1px solid var(--sky-soft); }
  body.nav-open .gnav a { display: block; padding: 13px 2px; }
}

/* ページネーション */
.pagination { display: flex; justify-content: center; }
.pagination .nav-links { display: flex; gap: 8px; align-items: center; }
.pagination .page-numbers {
  display: inline-grid;
  place-items: center;
  min-width: 42px; height: 42px;
  border: 1.5px solid var(--sky-soft);
  font-family: var(--disp);
  font-weight: 600;
  color: var(--navy);
  padding: 0 8px;
}
.pagination .page-numbers.current { background: var(--navy); color: #fff; border-color: var(--navy); }
.pagination .page-numbers:hover:not(.current) { border-color: var(--orange); color: var(--orange); }

/* 記事詳細 */
.entry-wrap { max-width: 780px; }
.entry-head .cat {
  display: inline-block;
  background: var(--navy);
  color: #fff;
  font-size: 11px;
  font-weight: 700;
  padding: 2px 12px;
  letter-spacing: .08em;
}
.entry-title { font-size: clamp(24px, 3.4vw, 32px); font-weight: 900; color: var(--navy); line-height: 1.5; margin-top: 14px; }
.entry-head .date { margin-top: 10px; font-family: var(--disp); font-size: 12px; letter-spacing: .12em; color: var(--ink-soft); }
.entry-eyecatch { margin-top: 28px; }
.entry-eyecatch img { width: 100%; height: auto; }
.entry-body { margin-top: 32px; }
.entry-body h2 {
  font-size: 20px; font-weight: 900; color: var(--navy);
  border-left: 5px solid var(--orange);
  padding: 4px 0 4px 14px;
  margin: 36px 0 16px;
}
.entry-body h3 { font-size: 17px; font-weight: 700; color: var(--navy); margin: 28px 0 12px; }
.entry-body p { margin: 0 0 1.2em; }
.entry-body ul, .entry-body ol { margin: 0 0 1.2em; padding-left: 1.4em; }
.entry-body ul { list-style: disc; }
.entry-body img { height: auto; }
.entry-body a { color: var(--orange-deep); text-decoration: underline; }

/* 会社データ内リンク */
.data-card dd a { color: var(--orange-deep); text-decoration: underline; }

/* スクリーンリーダー用 */
.screen-reader-text {
  clip: rect(1px, 1px, 1px, 1px);
  position: absolute !important;
  width: 1px; height: 1px; overflow: hidden;
}
