/*
Theme Name: Bold Investment
Theme URI: https://bold-investment.com/
Author: Bold Investment Co., Ltd.
Description: 株式会社Bold Investment コーポレートサイト用テーマ
Version: 2.1.5
Requires at least: 6.0
Requires PHP: 7.4
Text Domain: bold-investment
*/

/* ==========================================================
   1. 調整用トークン
   ========================================================== */
:root {
  --c-bg: #ffffff;
  --c-text: #333333;
  --c-muted: #777777;
  --c-red: #b5262e;          /* ロゴ・ENボタン・About Us背景 */
  --c-red-dark: #8f1d24;
  --c-black: #111111;        /* カテゴリラベル */
  --c-line: #dddddd;
  --c-footer-bg: #2b2f36;
  --c-footer-text: #ffffff;

  --font-base: "Noto Sans JP", "Hiragino Kaku Gothic ProN", "Hiragino Sans", Meiryo, sans-serif;
  --font-en: "Roboto", "Helvetica Neue", Arial, sans-serif;

  --container: 1100px;
  --container-narrow: 820px;
  --header-h: 72px;
  --header-h-sp: 60px;
  --section-gap: 80px;
  --section-gap-sp: 48px;
}

/* ==========================================================
   2. リセット・基礎
   ========================================================== */
*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; }
body {
  margin: 0; font-family: var(--font-base); font-size: 15px; line-height: 1.9;
  color: var(--c-text); background: var(--c-bg); word-break: break-word;
}
img { max-width: 100%; height: auto; display: block; }
a { color: inherit; text-decoration: none; }
ul { margin: 0; padding: 0; list-style: none; }
h1, h2, h3, h4 { margin: 0; line-height: 1.3; font-weight: 700; }
p { margin: 0 0 1em; }
.container { width: min(var(--container), calc(100% - 48px)); margin: 0 auto; }
.container--narrow { width: min(var(--container-narrow), calc(100% - 48px)); margin: 0 auto; }
.screen-reader-text { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(1px,1px,1px,1px); white-space: nowrap; }
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { transition: none !important; animation: none !important; }
}

/* ==========================================================
   3. ヘッダー（白・固定）
   ========================================================== */
.site-header {
  position: fixed; inset: 0 0 auto; height: var(--header-h);
  background: var(--c-bg); z-index: 100; box-shadow: 0 1px 0 rgba(0,0,0,.06);
}
.site-header__inner {
  height: 100%; width: 100%; padding: 0 20px;
  display: flex; align-items: center; justify-content: space-between;
}
/* HOMEではヘッダーを透明にしてヒーローに重ねる。スクロールしたら白に戻す */
/* body に has-hero クラスが付くページ（HOME・会社概要など）でヘッダーを透明化 */
/* body クラスに加え、ページ内に .hero / .page-hero があれば同じ扱い（保険） */
.has-hero .site-header, body:has(.hero, .page-hero) .site-header { background: transparent; box-shadow: none; transition: background .3s, box-shadow .3s; }
.has-hero .site-header.is-scrolled, body:has(.hero, .page-hero) .site-header.is-scrolled { background: var(--c-bg); box-shadow: 0 1px 0 rgba(0,0,0,.06); }
.has-hero .site-main, body:has(.hero, .page-hero) .site-main { padding-top: 0; }
.has-hero .hero__inner, body:has(.hero) .hero__inner { padding-top: var(--header-h); }
.has-hero .page-hero, body:has(.page-hero) .page-hero { padding-top: var(--header-h); }
.site-logo img { height: 36px; width: auto; }
.site-header__right { display: flex; align-items: center; gap: 28px; }
.lang-switch {
  display: inline-block; min-width: 100px; padding: 6px 0; text-align: center;
  background: var(--c-red); color: #fff; font-family: var(--font-en); font-weight: 700;
  font-size: 13px; letter-spacing: .08em;
}
.lang-switch:hover { background: var(--c-red-dark); }
.menu-toggle {
  width: 44px; padding: 0; border: 0; background: none; cursor: pointer;
  display: flex; flex-direction: column; align-items: center; gap: 0; color: var(--c-text);
}
.menu-toggle__bars { display: flex; flex-direction: column; gap: 6px; width: 32px; margin-bottom: 4px; }
.menu-toggle__bars span { display: block; height: 2px; background: var(--c-text); transition: transform .25s, opacity .25s; }
.menu-toggle__label { font-family: var(--font-en); font-size: 10px; font-weight: 700; letter-spacing: .06em; }
body.menu-open .menu-toggle__bars span:nth-child(1) { transform: translateY(8px) rotate(45deg); }
body.menu-open .menu-toggle__bars span:nth-child(2) { opacity: 0; }
body.menu-open .menu-toggle__bars span:nth-child(3) { transform: translateY(-8px) rotate(-45deg); }

.global-nav {
  position: fixed; inset: var(--header-h) 0 0; background: rgba(43,47,54,.97); color: #fff;
  z-index: 90; overflow-y: auto; opacity: 0; visibility: hidden; transition: opacity .25s, visibility .25s;
}
body.menu-open .global-nav { opacity: 1; visibility: visible; }
body.menu-open { overflow: hidden; }
.global-nav ul { padding: 48px 24px; max-width: var(--container); margin: 0 auto; }
.global-nav a { display: block; padding: 14px 8px; font-size: 17px; border-bottom: 1px solid rgba(255,255,255,.15); }
.global-nav .menu-item-en a, body:not(.lang-en) .global-nav a[href$="/en/"], .lang-en .global-nav .menu-item-jp a {
  display: inline-block; margin-top: 24px; padding: 8px 40px; background: var(--c-red); border: 0;
  font-family: var(--font-en); font-weight: 700; letter-spacing: .08em;
}
.site-main { padding-top: var(--header-h); }

/* ==========================================================
   4. ヒーロー（HOME）中央寄せテキスト＋左下に赤スライド
   ========================================================== */
.hero {
  position: relative; height: 640px; color: #fff;
  background: var(--c-footer-bg) center / cover no-repeat;
}
.hero::before { content: ""; position: absolute; inset: 0; background: rgba(20,30,50,.35); z-index: 1; }
/* スライドと同期してフェードする背景レイヤー */
.hero__bg {
  position: absolute; inset: 0; background: center / cover no-repeat;
  opacity: 0; transition: opacity 1.2s ease; z-index: 0;
}
.hero__bg.is-active { opacity: 1; }
.hero__inner, .hero-slider { z-index: 2; }
.hero__inner {
  position: relative; height: 420px; display: flex; flex-direction: column;
  align-items: center; justify-content: center; text-align: center; padding: 0 24px;
}
.hero__en { font-family: var(--font-en); font-weight: 400; font-size: clamp(26px, 3.4vw, 40px); letter-spacing: .02em; }
.hero__ja { margin: 14px 0 0; font-size: clamp(14px, 1.4vw, 17px); font-weight: 700; }

/* 赤いスライド（事業紹介） */
.hero-slider {
  position: absolute; left: 0; bottom: 0; width: 50%; height: 220px;
  background: linear-gradient(135deg, #c23a3a, var(--c-red)); color: #fff; padding: 36px 36px 24px;
  display: flex; flex-direction: column; justify-content: space-between;
}
.hero-slider__track { position: relative; }
.hero-slide { position: absolute; inset: 0; opacity: 0; visibility: hidden; transition: opacity .5s, visibility .5s; }
.hero-slide.is-active { position: relative; opacity: 1; visibility: visible; }
.hero-slide__title { font-size: 18px; margin-bottom: 8px; }
.hero-slide__text { font-size: 13px; line-height: 1.8; margin: 0; }
.hero-slider__dots { display: flex; gap: 14px; }
.hero-slider__dots button {
  width: 8px; height: 8px; padding: 0; border: 0; border-radius: 50%; background: rgba(255,255,255,.45); cursor: pointer;
}
.hero-slider__dots button.is-active { background: #fff; }

/* ==========================================================
   5. お知らせ（左：見出し＋READ MORE／右：一覧）
   ========================================================== */
.news { padding: var(--section-gap) 0; position: relative; }
/* 背景の世界地図（ドット）。images/worldmap.png を置くと表示される */
.home .news, .lang-en .news {
  background: url('images/worldmap.png') center / min(1000px, 96%) auto no-repeat;
}
.news__inner { display: grid; grid-template-columns: 220px 1fr; gap: 40px; align-items: start; }
.news__head .en { display: block; font-family: var(--font-en); font-weight: 400; font-size: 28px; color: var(--c-text); }
.news__head .ja { display: block; font-size: 12px; color: var(--c-muted); margin-top: 2px; }
.btn-more { margin-top: 32px; }
.btn-more a {
  display: inline-block; padding: 10px 30px; border: 1px solid var(--c-text); color: var(--c-text);
  font-family: var(--font-en); font-weight: 700; font-size: 12px; letter-spacing: .08em; transition: background .2s, color .2s;
}
.btn-more a:hover { background: var(--c-text); color: #fff; }
.news-list__item { display: grid; grid-template-columns: 100px 100px 1fr; gap: 20px; align-items: start; padding: 8px 0; }
.news-list__item--empty { grid-template-columns: 1fr; }
.news-list__date { font-family: var(--font-en); font-size: 15px; color: var(--c-text); line-height: 1.8; }
.news-list__cat a {
  display: block; text-align: center; padding: 1px 0; font-size: 13px; color: #fff;
  background: var(--c-black); border-radius: 999px;
}
.news-list__title a { text-decoration: underline; text-underline-offset: 3px; }
.news-list__title a:hover { color: var(--c-red); }

/* ==========================================================
   6. About Us（左：画像／右：赤ブロック）
   ========================================================== */
.about { display: grid; grid-template-columns: 1fr 1fr; }
.about__img { background: center / cover no-repeat; min-height: 340px; }
.about__body { background: var(--c-red); color: #fff; padding: 56px 48px; }
.about__title { font-family: var(--font-en); font-size: clamp(36px, 4.6vw, 54px); font-weight: 700; margin-bottom: 40px; }
.about__text { font-size: 14px; line-height: 2; font-weight: 700; margin: 0; }

/* ==========================================================
   7. 事業4本（2×2・写真背景・英語大見出し）
   ========================================================== */
.services { display: grid; grid-template-columns: 1fr 1fr; scroll-margin-top: var(--header-h); }
.service-card {
  position: relative; min-height: 560px; color: #fff; padding: 56px 40px 40px;
  background: center / cover no-repeat; display: flex; flex-direction: column; justify-content: space-between;
}
.service-card::before { content: ""; position: absolute; inset: 0; background: rgba(0,0,0,.35); }
.service-card > * { position: relative; }
.service-card__title .en { display: block; font-family: var(--font-en); font-size: clamp(30px, 3.4vw, 40px); font-weight: 700; line-height: 1.2; }
.service-card__title .ja { display: block; font-size: 20px; font-weight: 400; margin-top: 4px; }
.service-card__text { font-size: 14px; font-weight: 700; line-height: 1.9; margin: 0 0 20px; }

/* ==========================================================
   8. セクション共通（下層）
   ========================================================== */
.page-header { background: var(--c-footer-bg); color: #fff; padding: 56px 0; text-align: center; }
.page-header__en { font-family: var(--font-en); font-size: clamp(28px, 3.5vw, 40px); font-weight: 400; }
.page-header__ja { font-size: 13px; opacity: .85; margin: 4px 0 0; }
.page-content { padding: var(--section-gap) 0; }
.page-content h2 { font-size: 22px; margin: 2em 0 .8em; }
.page-content h3 { font-size: 18px; margin: 1.6em 0 .6em; }
.page-content table { width: 100%; border-collapse: collapse; }
.page-content th, .page-content td { padding: 14px 12px; border-bottom: 1px solid var(--c-line); text-align: left; vertical-align: top; }
.page-content th { width: 28%; font-weight: 700; white-space: nowrap; }
.page-content ul { list-style: disc; padding-left: 1.4em; }
.page-content ol { padding-left: 1.4em; }

.entry-meta { display: flex; gap: 16px; align-items: center; margin-bottom: 24px; }
.entry-meta .news-list__cat a { padding: 1px 24px; }
.entry-title { font-size: clamp(22px, 2.6vw, 28px); margin-bottom: 16px; }
.entry-content { max-width: var(--container-narrow); margin: 0 auto; }
.entry-nav { display: flex; justify-content: space-between; margin-top: 56px; padding-top: 24px; border-top: 1px solid var(--c-line); }
.pagination { display: flex; justify-content: center; gap: 8px; margin-top: 40px; }
.pagination .page-numbers { padding: 8px 14px; border: 1px solid var(--c-line); }
.pagination .page-numbers.current { background: var(--c-text); color: #fff; border-color: var(--c-text); }
.archive .news-list__item, .single .news-list__item { padding: 14px 0; border-bottom: 1px solid var(--c-line); }

/* ==========================================================
   9. フッター（暗い写真背景・横並びナビ・赤EN）
   ========================================================== */
.site-footer {
  position: relative; color: var(--c-footer-text); padding: 100px 0 32px;
  background: var(--c-footer-bg) center / cover no-repeat;
}
.site-footer::before { content: ""; position: absolute; inset: 0; background: rgba(30,34,42,.8); }
.site-footer > * { position: relative; }
.footer-nav ul { display: flex; flex-wrap: wrap; justify-content: center; align-items: center; gap: 12px 28px; }
.footer-nav a { font-size: 12px; font-weight: 700; }
.footer-nav a:hover { text-decoration: underline; }
.footer-nav .menu-item-en a, body:not(.lang-en) .footer-nav a[href$="/en/"], .lang-en .footer-nav .menu-item-jp a {
  display: inline-block; min-width: 100px; text-align: center; padding: 6px 0; margin-left: 12px;
  background: var(--c-red); font-family: var(--font-en); letter-spacing: .08em;
}
.copyright { text-align: center; font-family: var(--font-en); font-size: 12px; margin: 100px 0 0; }

.page-top {
  position: fixed; right: 24px; bottom: 24px; width: 60px; height: 60px; z-index: 80;
  padding: 0; border: 0; background: none; cursor: pointer;
  opacity: 0; visibility: hidden; transition: opacity .25s, visibility .25s;
}
.page-top.is-visible { opacity: 1; visibility: visible; }
.page-top img { width: 100%; height: 100%; display: block; }
.page-top:hover { opacity: .8; }

/* ==========================================================
   10. スマホ
   ========================================================== */
@media (max-width: 768px) {
  :root { --section-gap: var(--section-gap-sp); }
  .site-header { height: var(--header-h-sp); }
  .site-main { padding-top: var(--header-h-sp); }
  .has-hero .site-main, body:has(.hero, .page-hero) .site-main { padding-top: 0; }
  .has-hero .hero__inner, body:has(.hero) .hero__inner { padding-top: var(--header-h-sp); }
  .has-hero .page-hero, body:has(.page-hero) .page-hero { padding-top: var(--header-h-sp); }
  .global-nav { inset: var(--header-h-sp) 0 0; }
  .services { scroll-margin-top: var(--header-h-sp); }
  .site-logo img { height: 28px; }
  .site-header__right { gap: 14px; }
  .lang-switch { min-width: 64px; }
  .hero { height: auto; }
  .hero__inner { height: 360px; }
  .hero-slider { position: static; width: 100%; height: auto; padding: 28px 24px 20px; }
  .news__inner { grid-template-columns: 1fr; gap: 24px; }
  .news-list__item { grid-template-columns: auto auto; gap: 6px 12px; }
  .news-list__title { grid-column: 1 / -1; }
  .news-list__cat a { padding: 1px 18px; }
  .about { grid-template-columns: 1fr; }
  .about__img { min-height: 220px; }
  .about__body { padding: 40px 24px; }
  .services { grid-template-columns: 1fr; }
  .service-card { min-height: 360px; padding: 32px 24px 28px; }
  .site-footer { padding: 56px 0 24px; }
  .footer-nav ul { flex-direction: column; gap: 10px; }
  .footer-nav .menu-item-en a { margin: 8px 0 0; }
  .copyright { margin-top: 56px; }
  .page-content th, .page-content td { display: block; }
  .page-content th { width: auto; padding-bottom: 0; border: 0; }
}

/* ==========================================================
   11. 会社概要ページ（page-company.php）
   ========================================================== */
.page-hero {
  position: relative; height: 420px; display: flex; align-items: center; color: #fff;
  background: var(--c-footer-bg) center / cover no-repeat;
}
.page-hero::before { content: ""; position: absolute; inset: 0; background: rgba(0,0,0,.25); }
.page-hero .container { position: relative; }
.page-hero__title { font-family: var(--font-en); font-size: clamp(36px, 5vw, 56px); font-weight: 700; }

.sub-nav { background: var(--c-bg); border-bottom: 1px solid var(--c-line); }
.sub-nav ul { display: flex; justify-content: flex-end; gap: 40px; padding: 22px 0; }
.sub-nav a { font-size: 13px; }
.sub-nav a:hover { color: var(--c-red); }

.about-page { background: #ededed; padding-bottom: 60px; }
.about-sec { padding-top: 60px; scroll-margin-top: var(--header-h); }
.sec-head .en { display: block; font-family: var(--font-en); font-size: 24px; font-weight: 700; }
.sec-head .ja { display: block; font-size: 15px; font-weight: 700; margin-top: 2px; }

/* 経営理念：写真＋赤ボックス */
.philo-visual {
  position: relative; height: 560px; margin: 0 0 56px 60px;
  background: center / cover no-repeat;
}
.philo-box {
  position: absolute; left: -60px; top: 200px; width: 480px; padding: 40px 48px;
  background: linear-gradient(135deg, #c23a3a, var(--c-red-dark)); color: #fff;
}
.philo-box .sec-head { margin-bottom: 20px; }
.philo-box__en { font-family: var(--font-en); font-size: 17px; margin-bottom: 6px; }
.philo-box__ja { font-size: 13px; font-weight: 700; line-height: 1.9; margin: 0; }

.philo-text { display: grid; grid-template-columns: 1fr 1fr; gap: 40px; padding: 0 12px; font-size: 13px; line-height: 2; }

/* 4つのこと */
.values { margin-top: 56px; padding: 40px 36px 48px; background: linear-gradient(135deg, #c23a3a, var(--c-red-dark)); color: #fff; }
.values__title { font-size: 22px; margin-bottom: 36px; }
.values__list { counter-reset: v; list-style: none; margin: 0; padding: 0; }
.values__list li { position: relative; padding-left: 80px; margin-bottom: 40px; }
.values__list li:last-child { margin-bottom: 0; }
.values__list li::before {
  counter-increment: v; content: counter(v);
  position: absolute; left: 8px; top: -6px; font-family: var(--font-en); font-size: 40px; font-weight: 700;
}
.values__list h4 { font-size: 22px; margin-bottom: 20px; }
.values__list p { font-size: 13px; font-weight: 700; line-height: 1.9; margin: 0; }

/* 黒ヘッダー＋濃いグレー本体のブロック */
.dark-block { color: #fff; }
.dark-block__head { background: #000; padding: 36px 48px 24px; }
.dark-block__body { background: #3d3d3d; padding: 40px 48px 48px; }
.dark-block__body--map { padding: 0; }
.dark-block a { text-decoration: underline; text-underline-offset: 3px; }
.dark-block a:hover { opacity: .8; }

.profile { display: grid; grid-template-columns: 160px 1fr; gap: 0 24px; margin: 0; font-size: 14px; line-height: 1.9; }
.profile dt { font-weight: 700; padding: 18px 0; }
.profile dd { margin: 0; padding: 18px 0; border-bottom: 1px solid #fff; }

.group-list li { padding: 20px 0; border-bottom: 1px solid #fff; font-size: 14px; }
.group-list strong { display: block; margin-bottom: 8px; }

.map iframe { display: block; width: 100%; height: 450px; }

@media (max-width: 768px) {
  .page-hero { height: 240px; }
  .sub-nav ul { justify-content: flex-start; gap: 16px; overflow-x: auto; white-space: nowrap; padding: 14px 0; }
  .about-sec { padding-top: 40px; scroll-margin-top: var(--header-h-sp); }
  .philo-visual { height: auto; margin: 0 0 40px; padding-top: 240px; }
  .philo-box { position: static; width: 100%; padding: 28px 24px; }
  .philo-text { grid-template-columns: 1fr; gap: 20px; }
  .values { padding: 28px 20px 32px; }
  .values__list li { padding-left: 56px; }
  .values__list h4 { font-size: 18px; }
  .dark-block__head, .dark-block__body { padding-left: 20px; padding-right: 20px; }
  .profile { grid-template-columns: 1fr; gap: 0; }
  .profile dt { padding-bottom: 0; }
  .profile dd { padding-top: 4px; }
}

/* ==========================================================
   12. 採用情報ページ（page-recruit.php）
   ========================================================== */
.page-hero__sub { display: block; font-family: var(--font-base); font-size: 20px; font-weight: 700; margin-top: 4px; }
.recruit-page { background: #ededed; }
.dark-block__head--slim { padding: 28px 48px; }
.job-title { font-size: 18px; }
.job-lead-title { font-size: 16px; margin-bottom: 8px; }
.job-lead { font-size: 14px; line-height: 1.9; margin-bottom: 48px; }
.job-spec dt { white-space: nowrap; }
.btn-entry { text-align: center; margin: 48px 0 0; }
.btn-entry a {
  display: inline-block; min-width: 120px; padding: 12px 32px; border: 1px solid #fff; color: #fff;
  font-family: var(--font-en); font-weight: 700; font-size: 13px; letter-spacing: .08em; text-decoration: none;
  transition: background .2s, color .2s;
}
.btn-entry a:hover { background: #fff; color: #3d3d3d; opacity: 1; }
@media (max-width: 768px) {
  .page-hero__sub { font-size: 16px; }
  .dark-block__head--slim { padding: 20px; }
}

/* ==========================================================
   13. 案件の紹介ページ（page-sale.php）＋ Contact Form 7 用
   ========================================================== */
.dot-list { list-style: none; margin: 0; padding: 0; font-size: 14px; }
.dot-list li { position: relative; padding-left: 50px; margin-bottom: 20px; }
.dot-list li:last-child { margin-bottom: 0; }
.dot-list li::before { content: "•"; position: absolute; left: 4px; font-size: 18px; line-height: 1.4; }
.sale-page .dark-block__head--slim + .dark-block__body { padding-bottom: 56px; }

/* フォーム全体：左に大見出し、右に項目 */
.sale-form { font-size: 15px; }
.sale-form .form-grid { display: grid; grid-template-columns: 230px 1fr; gap: 0 20px; align-items: start; }
.sale-form .form-title { font-size: 24px; font-weight: 400; line-height: 1.3; margin: 0; }
.sale-form .form-row {
  display: grid; grid-template-columns: 180px 1fr; gap: 20px; align-items: center;
  padding: 28px 0; border-bottom: 1px solid #fff;
}
.sale-form .form-row:last-child { border-bottom: 0; }
.sale-form .form-row__label { line-height: 1.4; }
.sale-form .form-row__label small { display: block; font-size: 11px; margin-top: 4px; }
.sale-form input[type="text"], .sale-form input[type="email"], .sale-form input[type="tel"], .sale-form textarea {
  width: 100%; padding: 14px 16px; border: 0; border-radius: 6px; background: #fff; color: var(--c-text);
  font-family: inherit; font-size: 14px; line-height: 1.5;
}
.sale-form input::placeholder, .sale-form textarea::placeholder { color: #aaa; }
.sale-form textarea { min-height: 54px; resize: vertical; }
.sale-form .wpcf7-form-control-wrap { display: block; }

.sale-form .consent { margin-top: 48px; }
.sale-form .consent__title { font-size: 24px; font-weight: 400; margin-bottom: 16px; }
.sale-form .consent p { margin-bottom: 20px; }
.sale-form .consent a { text-decoration: underline; }
.sale-form .wpcf7-acceptance .wpcf7-list-item { margin: 0 0 0 12px; }
.sale-form .wpcf7-acceptance input { width: 16px; height: 16px; margin-right: 10px; vertical-align: -2px; }

.sale-form .form-submit { text-align: center; margin-top: 56px; }
.sale-form input[type="submit"] {
  min-width: 140px; padding: 12px 32px; border: 1px solid #fff; background: transparent; color: #fff;
  font-family: inherit; font-size: 13px; cursor: pointer; transition: background .2s, color .2s;
}
.sale-form input[type="submit"]:hover { background: #fff; color: #3d3d3d; }
.sale-form .wpcf7-spinner { display: block; margin: 8px auto 0; }
.sale-form .wpcf7-not-valid-tip { color: #ffb3b3; font-size: 12px; margin-top: 6px; }
.sale-form .wpcf7-response-output { border-color: #fff; margin: 24px 0 0; padding: 12px; font-size: 13px; }

@media (max-width: 768px) {
  .dot-list li { padding-left: 24px; }
  .dot-list li::before { left: 0; }
  .sale-form .form-grid { grid-template-columns: 1fr; gap: 20px; }
  .sale-form .form-row { grid-template-columns: 1fr; gap: 8px; padding: 20px 0; }
}

/* ==========================================================
   14. お問い合わせページ（page-contact.php）
   ========================================================== */
.tel-block { padding-top: 32px; padding-bottom: 40px; }
.tel-block p { margin: 0 0 16px; display: flex; align-items: baseline; gap: 24px; flex-wrap: wrap; }
.tel-block .label { font-size: 14px; font-weight: 700; }
.tel-block__num a { font-family: var(--font-en); font-size: 36px; font-weight: 700; text-decoration: none; }
.tel-block__hours strong { font-family: var(--font-en); font-size: 20px; }
.tel-block__hours small { font-size: 14px; }

/* フォームを複数グループに分ける（お問い合わせ内容／お客様情報） */
.sale-form .form-grid + .form-grid { margin-top: 24px; }
.sale-form .form-grid--group { padding-bottom: 24px; border-bottom: 1px solid #fff; }
.sale-form .form-grid--group .form-row:first-child { padding-top: 0; }
.sale-form .form-grid--group .form-row:last-child { border-bottom: 0; }
.sale-form .form-row--top { align-items: start; }
.sale-form .form-row--top .form-row__label { padding-top: 8px; }

/* セレクト */
.sale-form select {
  width: 100%; max-width: 300px; padding: 12px 40px 12px 16px; border: 0; border-radius: 6px; background: #fff; color: var(--c-text);
  font-family: inherit; font-size: 14px; appearance: none; -webkit-appearance: none;
  background-image: url("data:image/svg+xml;charset=utf-8,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='8' viewBox='0 0 12 8'%3E%3Cpath d='M1 1l5 5 5-5' fill='none' stroke='%23333' stroke-width='1.5'/%3E%3C/svg%3E");
  background-repeat: no-repeat; background-position: right 14px center;
}
.sale-form textarea.tall { min-height: 180px; }
.sale-form .address-line + .address-line { margin-top: 14px; }

@media (max-width: 768px) {
  .tel-block__num a { font-size: 28px; }
  .sale-form select { max-width: 100%; }
}

/* ==========================================================
   15. プライバシーポリシーページ（page-privacy.php）
   ========================================================== */
.privacy-page .about-sec { padding-top: 80px; }
.policy-body { font-size: 13px; line-height: 1.9; font-weight: 700; }
.policy-body p { margin-bottom: 1.6em; }
.policy-body h3 { font-size: 15px; font-weight: 700; margin: 2.4em 0 1em; }
.policy-body h3:first-child { margin-top: 0; }
/* 番号付きリスト：番号を左に出して本文をぶら下げる */
.policy-body ol { list-style: none; counter-reset: pol; margin: 0 0 1.6em; padding: 0; }
.policy-body ol > li { position: relative; padding-left: 28px; margin-bottom: 1em; }
.policy-body ol > li::before { counter-increment: pol; content: counter(pol) "."; position: absolute; left: 0; }
/* 細則：項目見出し（太字の1行目）と本文の間を空け、各項目の間隔を広めに */
.policy-body .policy-detail > li { margin-bottom: 2.6em; }
.policy-body .policy-detail > li p { margin: 1em 0 0; }
.policy-body .policy-detail > li ol { margin: 1em 0 0; }
.policy-body .policy-detail > li ol > li { margin-bottom: .2em; }
.policy-body a { text-decoration: underline; }
@media (max-width: 768px) {
  .privacy-page .about-sec { padding-top: 48px; }
  .policy-body ol > li { padding-left: 24px; }
}

/* ==========================================================
   16. 細部調整（v1.7.1）
   ========================================================== */
/* ログイン中：WordPress管理バーの下にヘッダーを配置 */
.admin-bar .site-header { top: 32px; }
.admin-bar .global-nav { top: calc(var(--header-h) + 32px); }
@media (max-width: 782px) {
  .admin-bar .site-header { top: 46px; }
  .admin-bar .global-nav { top: calc(var(--header-h-sp) + 46px); }
}

/* 採用・案件・お問い合わせ・プライバシー：
   ページ背景は白にし、グレーは「黒い見出し帯の下（本体部分）」の横だけに広げる */
.recruit-page, .sale-page, .contact-page, .privacy-page { background: #fff; padding-bottom: 80px; }
.recruit-page .dark-block__body,
.sale-page .dark-block__body,
.contact-page .dark-block__body,
.privacy-page .dark-block__body {
  position: relative; box-shadow: 0 0 0 100vmax #ededed; clip-path: inset(0 -100vmax);
}
.recruit-page .about-sec, .sale-page .about-sec, .contact-page .about-sec, .privacy-page .about-sec { padding-top: 80px; }

/* ヒーローの文字を内側へ */
.page-hero .container { padding-left: 32px; }

/* プライバシー：基本方針の項目間を詰める */
.policy-body ol > li { margin-bottom: .4em; }
.policy-body .policy-detail > li { margin-bottom: 2.4em; }

@media (max-width: 768px) {
  .recruit-page, .sale-page, .contact-page, .privacy-page { padding-bottom: 48px; }
  .recruit-page .about-sec, .sale-page .about-sec, .contact-page .about-sec, .privacy-page .about-sec { padding-top: 48px; }
  .page-hero .container { padding-left: 0; }
}

/* ==========================================================
   17. 英語ページ
   ========================================================== */
.lang-en { font-family: var(--font-en); }
.lang-en .hero__en { font-size: clamp(26px, 3.4vw, 36px); }
.lang-en .hero-slide__title { font-size: 18px; font-weight: 400; }
.lang-en .hero-slide__text { font-size: 14px; }
.lang-en .news-list__item { grid-template-columns: 100px 130px 1fr; }
.lang-en .news-list__cat a { font-size: 14px; }
.lang-en .about__text { font-weight: 400; font-size: 15px; }
.lang-en .service-card__title .en { font-size: clamp(28px, 2.6vw, 34px); line-height: 1.3; }
.lang-en .service-card__text { font-size: 15px; }
.news-list--archive .news-list__item { padding: 14px 0; border-bottom: 1px solid var(--c-line); }
.page-content .page-numbers { display: flex; justify-content: center; gap: 8px; margin-top: 40px; list-style: none; padding: 0; }
.page-content .page-numbers a, .page-content .page-numbers span { padding: 8px 14px; border: 1px solid var(--c-line); display: inline-block; }
.page-content .page-numbers .current { background: var(--c-text); color: #fff; border-color: var(--c-text); }

/* 英語下層ページ（汎用） */
.en-page { background: #fff; padding-bottom: 80px; }
.en-page .about-sec { padding-top: 80px; }
.en-page .en-body { font-weight: 400; font-size: 15px; line-height: 1.9; box-shadow: 0 0 0 100vmax #ededed; clip-path: inset(0 -100vmax); position: relative; }
.en-page .en-body h2 { font-size: 24px; margin: 0 0 24px; }
.en-page .en-body h3 { font-size: 18px; margin: 2em 0 .8em; }

/* 英語Companyページ：Philosophy本文は通常ウェイト、プロフィール見出し幅を広げる */
.lang-en .philo-text { font-size: 14px; font-weight: 400; }
.lang-en .philo-box__ja { font-weight: 700; }
.lang-en .values__list p { font-weight: 400; font-size: 14px; }
.lang-en .profile { grid-template-columns: 170px 1fr; }
.lang-en .profile dd, .lang-en .group-list li { font-weight: 400; }

/* 英語 Introduce a company */
.lang-en .en-lead { font-size: 15px; line-height: 1.5; margin: 0; }
.lang-en .dot-list li { font-weight: 400; }
.lang-en .sale-form .form-row__label { font-size: 15px; }
.lang-en .sale-form .form-row__label small { font-size: 11px; font-weight: 700; }

/* 英語 Recruit：見出しの折り返しを許可、本文は通常ウェイト */
.lang-en .job-spec dt { white-space: normal; }
.lang-en .job-spec dd, .lang-en .job-lead { font-weight: 400; font-size: 15px; }
.lang-en .job-lead-title { font-size: 18px; }

/* 英語 Contact：地域別メール一覧 */
.tel-block--en .tel-block__row { display: grid; grid-template-columns: 130px 1fr; gap: 24px; align-items: start; margin-bottom: 32px; }
.tel-block--en .tel-block__row:last-child { margin-bottom: 0; }
.tel-block--en .label { font-size: 14px; font-weight: 700; padding-top: 6px; }
.tel-block__note { margin: 0 0 20px; font-size: 15px; font-weight: 700; }
.tel-block__note a { text-decoration: underline; }
.region-list li { display: flex; flex-wrap: wrap; align-items: baseline; gap: 0 14px; margin-bottom: 18px; }
.region-list__country { font-family: var(--font-en); font-size: 30px; font-weight: 700; line-height: 1.2; }
.region-list__city { font-size: 13px; font-weight: 700; }
.region-list__mail { font-family: var(--font-en); font-size: 22px; font-weight: 700; text-decoration: none; }
.region-list__mail:hover { text-decoration: underline; }
.tel-block--en .tel-block__hours { margin: 0; display: flex; flex-wrap: wrap; gap: 8px 16px; align-items: baseline; }
.tel-block--en .tel-block__hours strong { font-size: 20px; }
@media (max-width: 768px) {
  .tel-block--en .tel-block__row { grid-template-columns: 1fr; gap: 8px; }
  .region-list__country { font-size: 24px; }
  .region-list__mail { font-size: 17px; word-break: break-all; }
}

/* 英語 Privacy policy：通常ウェイト、基本方針の下に区切り線 */
.policy-body--en { font-weight: 400; font-size: 14px; }
.policy-body--en h3 { font-size: 16px; }
.policy-body--en .policy-basic { padding-bottom: 1.6em; border-bottom: 1px solid #fff; margin-bottom: 1.6em; }
.policy-body--en ol > li { margin-bottom: .6em; }
.policy-body--en .policy-detail > li { margin-bottom: 2.4em; }

/* ==========================================================
   18. お知らせ一覧・記事ページ（元サイト準拠）
   ========================================================== */
.page-hero--news { color: var(--c-text); }
.page-hero--news::before { background: rgba(255,255,255,.15); }
.page-hero--news .page-hero__title { font-weight: 700; }
.page-hero--news .page-hero__sub { color: var(--c-text); }

.news-page { padding: 72px 0 96px; background: #fff; }
.news-page__lead { font-size: 18px; margin-bottom: 56px; }
.news-list--archive .news-list__item { padding: 6px 0; border: 0; }
.news-list--archive .news-list__title { font-size: 15px; }

/* 記事 */
.news-page .entry-meta { margin-bottom: 20px; }
.news-page .entry-meta .news-list__cat a { padding: 1px 24px; }
.news-page .entry-content { max-width: var(--container-narrow); margin: 0 auto; }
.news-page .entry-title { font-size: clamp(22px, 2.6vw, 28px); margin-bottom: 32px; }
.news-page .entry-content p { margin-bottom: 1.4em; }
.news-page .entry-content h2 { font-size: 20px; margin: 2em 0 .8em; }
.news-page .entry-content ul { list-style: disc; padding-left: 1.4em; }
.news-page .entry-content ol { padding-left: 1.4em; }
.news-page .entry-nav { margin-top: 64px; }

/* ページネーション：現在ページを黒丸、他は文字のみ */
.news-page .pagination { margin-top: 120px; }
.news-page .pagination .nav-links, .news-page .page-numbers { display: flex; justify-content: center; align-items: center; gap: 12px; list-style: none; padding: 0; margin: 120px 0 0; }
.news-page .pagination .nav-links { margin: 0; }
.news-page .page-numbers li { margin: 0; }
.news-page a.page-numbers, .news-page span.page-numbers {
  display: inline-grid; place-items: center; width: 30px; height: 30px; border: 0; border-radius: 50%;
  font-family: var(--font-en); font-size: 14px; color: var(--c-text); padding: 0;
}
.news-page span.page-numbers.current { background: var(--c-black); color: #fff; }
.news-page a.page-numbers:hover { background: #eee; }
.news-page .page-numbers.dots { width: auto; }

@media (max-width: 768px) {
  .page-hero--news::before { background: rgba(255,255,255,.4); }
  .news-page { padding: 40px 0 64px; }
  .news-page__lead { font-size: 15px; margin-bottom: 32px; }
  .news-list--archive .news-list__item { padding: 10px 0; border-bottom: 1px solid var(--c-line); }
  .news-page .pagination, .news-page .page-numbers { margin-top: 56px; }
}

/* ==========================================================
   19. ハンバーガー：ヒーロー上（透明ヘッダー）では白、スクロール後の白ヘッダーでは濃いグレー
   ========================================================== */
.site-header .menu-toggle,
.site-header .menu-toggle .menu-toggle__label { color: #333; }
.site-header .menu-toggle .menu-toggle__bars span { background: #333; height: 2px; }
.site-header .menu-toggle .menu-toggle__bars { width: 34px; }
.has-hero .site-header:not(.is-scrolled) .menu-toggle,
.has-hero .site-header:not(.is-scrolled) .menu-toggle .menu-toggle__label,
body:has(.hero, .page-hero) .site-header:not(.is-scrolled) .menu-toggle,
body:has(.hero, .page-hero) .site-header:not(.is-scrolled) .menu-toggle .menu-toggle__label { color: #fff; }
.has-hero .site-header:not(.is-scrolled) .menu-toggle .menu-toggle__bars span,
body:has(.hero, .page-hero) .site-header:not(.is-scrolled) .menu-toggle .menu-toggle__bars span { background: #fff; }
/* お知らせ系（明るい画像・黒文字のヒーロー）では透明時も濃いグレー */
body:has(.page-hero--news) .site-header:not(.is-scrolled) .menu-toggle,
body:has(.page-hero--news) .site-header:not(.is-scrolled) .menu-toggle .menu-toggle__label { color: #333; }
body:has(.page-hero--news) .site-header:not(.is-scrolled) .menu-toggle .menu-toggle__bars span { background: #333; }
