/*
Theme Name: NBS Corporate
Theme URI: https://example.com/
Author: NBS
Description: 株式会社NBS（交通誘導警備）コーポレートサイト用 1ページ LP テーマ。ポップで親しみやすい丸ゴシック＋セーフティオレンジのデザイン。
Version: 1.0.0
Requires at least: 6.0
Tested up to: 6.5
Requires PHP: 7.4
License: GNU General Public License v2 or later
License URI: http://www.gnu.org/licenses/gpl-2.0.html
Text Domain: nbs
*/

/* =========================================================
   Design Tokens
   ========================================================= */
:root {
  /* Brand */
  --brand:        #F26E21; /* オレンジ主色 */
  --brand-dark:   #D45710; /* 影・hover 濃 */
  --brand-darker: #16233A; /* 採用CTA影 */

  /* Yellow */
  --yellow:       #FFC53D;
  --yellow-bg:    #FFF3D6;
  --badge-border: #FFD98A;
  --circle-orange:#FFE0A3;

  /* Sky blue（差し色） */
  --sky:    #3FA9E8;
  --sky-l1: #E1F1FB;
  --sky-l2: #CFE9FA;
  --sky-l3: #DFF0FB;

  /* Navy */
  --navy:   #21314D;
  --footer: #1A2740;

  /* Base bg */
  --bg: #FBF7EF;

  /* Text */
  --text:   #21314D;
  --text-2: #3A4A66;
  --text-3: #4B5A73;
  --text-4: #5A6884;
  --text-5: #7A869B;
  --text-6: #8E9BB3;
  --text-7: #B7C1D4;

  /* Card borders / soft shadows */
  --c-orange-bd: #FCE3C6; --c-orange-sh: #F5E4CC;
  --c-sky-bd:    #CFE9FA; --c-sky-sh:    #DCEEFA;
  --c-yellow-bd: #FDE8AE; --c-yellow-sh: #FBEBC0;
  --c-reason-sh: #F1E2C0;
  --line-soft:   #F1E7D4;
  --icon-orange-bg: #FDEBDD;

  /* Layout */
  --maxw: 1120px;
  --pad-x: 24px;

  /* Fonts */
  --font-body:    "Kosugi Maru", "Zen Maru Gothic", system-ui, sans-serif;
  --font-heading: "Zen Maru Gothic", sans-serif;
  --font-accent:  "Yomogi", sans-serif;

  /* Divider gradient */
  --grad-divider: linear-gradient(90deg, #F26E21 0%, #FFC53D 100%);
}

/* =========================================================
   Base
   ========================================================= */
* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  margin: 0;
  background: var(--bg);
  font-family: var(--font-body);
  color: var(--text);
  -webkit-font-smoothing: antialiased;
}
img { max-width: 100%; }
a { color: inherit; }

.site { overflow-x: hidden; }
.container {
  max-width: var(--maxw);
  margin: 0 auto;
  padding-left: var(--pad-x);
  padding-right: var(--pad-x);
}
.sec-pad { padding-top: 56px; padding-bottom: 56px; }

/* Solid (blur-less) drop shadow helper — ポップさの肝 */
.divider-line { height: 12px; background: var(--grad-divider); }

/* =========================================================
   News（お知らせ／投稿一覧・お試し）
   ========================================================= */
.news-list { list-style: none; margin: 32px 0 0; padding: 0; }
.news-list--flush { margin-top: 0; }
.news-item { border-top: 2px dashed var(--line-soft); }
.news-item:last-child { border-bottom: 2px dashed var(--line-soft); }
.news-item__link {
  display: flex;
  align-items: center;
  gap: 16px;
  padding: 16px 8px;
  text-decoration: none;
  color: var(--text);
  transition: background-color .12s ease, color .12s ease;
}
.news-item__link:hover { background: var(--icon-orange-bg); color: var(--brand-dark); }
.news-item__date { flex: none; font-family: var(--font-heading); font-weight: 700; font-size: 14px; color: var(--text-5); font-variant-numeric: tabular-nums; }
.news-item__cat { flex: none; font-size: 12px; font-weight: 700; color: var(--brand-dark); background: var(--icon-orange-bg); padding: 2px 10px; border-radius: 12px; }
.news-item__title { flex: 1; min-width: 0; font-size: 15px; line-height: 1.7; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.news-item__arrow { flex: none; color: var(--brand); font-weight: 700; transition: transform .12s ease; }
.news-item__link:hover .news-item__arrow { transform: translateX(3px); }
.news-empty { margin-top: 24px; color: var(--text-5); font-size: 14px; }

/* 単一記事（お知らせ本文） */
/* 見出し部：日付＋大人しめのゴシック体タイトル */
.post-date {
  font-family: "Hiragino Kaku Gothic ProN", "Yu Gothic", Meiryo, system-ui, sans-serif;
  font-weight: 700;
  font-size: 14px;
  letter-spacing: .06em;
  color: var(--text-5);
  font-variant-numeric: tabular-nums;
}
.post-title {
  font-family: "Hiragino Kaku Gothic ProN", "Yu Gothic", Meiryo, system-ui, sans-serif;
  font-weight: 700;
  font-size: clamp(1.35rem, 2.2vw + 0.5rem, 1.75rem);
  line-height: 1.55;
  letter-spacing: .01em;
  color: var(--text);
  margin: 8px 0 0;
  overflow-wrap: anywhere;
}
/* 「← お知らせ一覧へ」はもっと下に */
.post-back { margin-top: 88px; justify-content: center; }
.post-cat { font-size: 12px; font-weight: 700; color: var(--brand-dark); background: var(--icon-orange-bg); padding: 2px 10px; border-radius: 12px; margin-left: 10px; }
.post-content { max-width: 720px; font-size: 16px; line-height: 1.95; color: var(--text-3); }
.post-content > * + * { margin-top: 1.2em; }
.post-content h2 { font-family: var(--font-heading); font-weight: 900; font-size: 24px; color: var(--text); margin-top: 1.6em; }
.post-content h3 { font-family: var(--font-heading); font-weight: 700; font-size: 19px; color: var(--text); margin-top: 1.5em; }
.post-content a { color: var(--brand-dark); text-decoration: underline; text-underline-offset: 3px; }
.post-content img { border-radius: 12px; height: auto; }
.post-content ul, .post-content ol { padding-left: 1.4em; }
.post-content li { margin-top: 0.4em; }
.post-content blockquote { margin: 1.2em 0; padding: 12px 18px; border-left: 4px solid var(--brand); background: var(--icon-orange-bg); border-radius: 0 12px 12px 0; }

@media (max-width: 600px) {
  .news-item__link { flex-wrap: wrap; gap: 6px 12px; }
  .news-item__title { flex-basis: 100%; white-space: normal; }
  .news-item__arrow { display: none; }
}

/* =========================================================
   Animations
   ========================================================= */
@keyframes bob {
  0%, 100% { transform: translateY(0); }
  50%      { transform: translateY(-10px); }
}
@keyframes floaty {
  0%, 100% { transform: translateY(0) rotate(-3deg); }
  50%      { transform: translateY(-14px) rotate(3deg); }
}

/* =========================================================
   Header
   ========================================================= */
.site-header {
  position: sticky;
  top: 0;
  z-index: 50;
  background: rgba(251, 247, 239, .92);
  backdrop-filter: blur(8px);
  border-bottom: 2px solid var(--line-soft);
}
.site-header__inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  padding-top: 12px;
  padding-bottom: 12px;
}
.brand { display: flex; align-items: center; gap: 10px; text-decoration: none; }
.brand__mark {
  width: 38px; height: 38px;
  border-radius: 12px;
  background: var(--brand);
  display: flex; align-items: center; justify-content: center;
  box-shadow: 0 3px 0 var(--brand-dark);
}
/* 実ロゴ画像（六角形Nマーク） */
.brand__logo {
  width: 38px; height: 38px;
  display: block;
  object-fit: contain;
}
.brand__name {
  font-family: var(--font-heading);
  font-weight: 900;
  font-size: 19px;
  letter-spacing: .02em;
  color: var(--text);
}
/* CSS triangle logo mark */
.tri {
  width: 0; height: 0;
  border-left: 8px solid transparent;
  border-right: 8px solid transparent;
  border-bottom: 14px solid #fff;
}

.main-nav { display: flex; align-items: center; gap: 24px; }
.nav-link {
  color: var(--text-2);
  text-decoration: none;
  font-size: 14px;
}

/* ハンバーガーボタン（PCでは非表示） */
.nav-toggle {
  display: none;
  flex-direction: column;
  justify-content: center;
  gap: 5px;
  width: 44px;
  height: 44px;
  padding: 0;
  border: 2px solid var(--line-soft);
  border-radius: 12px;
  background: #fff;
  cursor: pointer;
}
.nav-toggle__bar {
  display: block;
  width: 22px;
  height: 2.5px;
  margin: 0 auto;
  border-radius: 2px;
  background: var(--brand);
  transition: transform .2s ease, opacity .2s ease;
}
/* 開いている時は × に変形 */
.nav-toggle[aria-expanded="true"] .nav-toggle__bar:nth-child(1) { transform: translateY(7.5px) rotate(45deg); }
.nav-toggle[aria-expanded="true"] .nav-toggle__bar:nth-child(2) { opacity: 0; }
.nav-toggle[aria-expanded="true"] .nav-toggle__bar:nth-child(3) { transform: translateY(-7.5px) rotate(-45deg); }
.nav-link:hover { color: var(--brand); }

/* CTA buttons with solid push shadow */
.btn {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  text-decoration: none;
  font-family: var(--font-heading);
  font-weight: 700;
  border: none;
  cursor: pointer;
  transition: transform .08s ease, box-shadow .08s ease;
}
.btn--orange {
  background: var(--brand);
  color: #fff;
  font-size: 14px;
  padding: 10px 20px;
  border-radius: 24px;
  box-shadow: 0 4px 0 var(--brand-dark);
}
.btn--orange:hover { transform: translateY(2px); box-shadow: 0 2px 0 var(--brand-dark); }

.btn--navy {
  background: var(--navy);
  color: #fff;
  font-size: 16px;
  padding: 15px 30px;
  border-radius: 30px;
  box-shadow: 0 5px 0 var(--brand-darker);
}
.btn--navy:hover { transform: translateY(2px); box-shadow: 0 3px 0 var(--brand-darker); }

/* =========================================================
   Hero
   ========================================================= */
.hero {
  position: relative;
  background: linear-gradient(180deg, #FFF3D6 0%, #FBF7EF 100%);
  overflow: hidden;
}
.hero__circle {
  position: absolute;
  border-radius: 50%;
}
.hero__circle--tr { top: -40px; right: -40px; width: 280px; height: 280px; background: var(--circle-orange); opacity: .5; }
.hero__circle--bl { bottom: 40px; left: -60px; width: 180px; height: 180px; background: var(--sky-l3); opacity: .7; }

.hero__grid {
  position: relative;
  display: grid;
  grid-template-columns: 1.15fr .85fr;
  gap: 32px;
  align-items: center;
  padding-top: 56px;
  padding-bottom: 64px;
}
.hero__badge {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  background: #fff;
  border: 2px solid var(--badge-border);
  color: var(--brand-dark);
  font-weight: 700;
  font-size: 13px;
  padding: 6px 14px;
  border-radius: 20px;
}
.hero__title {
  font-family: var(--font-heading);
  font-weight: 900;
  font-size: 52px;
  line-height: 1.25;
  margin: 18px 0 14px;
  letter-spacing: .01em;
}
.hero__title .accent { color: var(--brand); }
.hero__lead {
  font-size: 16px;
  line-height: 1.9;
  color: var(--text-3);
  margin: 0 0 26px;
  max-width: 440px;
}
.hero__tel {
  display: flex;
  align-items: center;
  gap: 20px;
  margin-top: 26px;
  flex-wrap: wrap;
}
.hero__tel-label { font-size: 13px; color: var(--text-5); }
.hero__tel-num {
  font-family: var(--font-heading);
  font-weight: 900;
  font-size: 26px;
  color: var(--navy);
  letter-spacing: .02em;
  text-decoration: none;
}
.hero__tel-time { font-size: 12px; color: var(--text-5); }

.hero__visual {
  position: relative;
  display: flex;
  justify-content: center;
  align-items: flex-end;
}
.hero__shadow {
  position: absolute;
  bottom: 16px;
  width: 230px; height: 24px;
  border-radius: 50%;
  background: rgba(33, 49, 77, .08);
}
.mascot {
  width: 400px;
  max-width: 100%;
  height: auto;
  display: block;
  filter: drop-shadow(0 10px 14px rgba(33, 49, 77, .18));
  animation: bob 4s ease-in-out infinite;
}

/* =========================================================
   Section heading (Services / Reasons / FAQ)
   ========================================================= */
.sec-head { text-align: center; margin-bottom: 36px; }
.sec-head__eyebrow {
  font-family: var(--font-accent);
  color: var(--brand);
  font-weight: 700;
  font-size: 15px;
}
.sec-head__title {
  font-family: var(--font-heading);
  font-weight: 900;
  font-size: 32px;
  margin: 6px 0 0;
}
/* 見出しのマスコット（エヌベア） */
.sec-head__mascot {
  display: block;
  height: 130px;
  width: auto;
  margin: 0 auto 6px;
  filter: drop-shadow(0 6px 8px rgba(33, 49, 77, .15));
  animation: bob 4s ease-in-out infinite;
}
.sec-head__mascot--tall { height: 190px; }

/* =========================================================
   Grid of 3
   ========================================================= */
.grid-3 {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 22px;
}

/* Service cards */
.card {
  background: #fff;
  border-radius: 24px;
  padding: 26px;
}
.card__icon {
  width: 64px; height: 64px;
  border-radius: 20px;
  display: flex; align-items: center; justify-content: center;
  gap: 4px;
  margin-bottom: 16px;
}
.card__title {
  font-family: var(--font-heading);
  font-weight: 700;
  font-size: 19px;
  margin: 0 0 8px;
}
.card__text {
  font-size: 14px;
  line-height: 1.8;
  color: var(--text-4);
  margin: 0;
}
.card--orange { border: 2px solid var(--c-orange-bd); box-shadow: 0 6px 0 var(--c-orange-sh); }
.card--sky    { border: 2px solid var(--c-sky-bd);    box-shadow: 0 6px 0 var(--c-sky-sh); }
.card--yellow { border: 2px solid var(--c-yellow-bd); box-shadow: 0 6px 0 var(--c-yellow-sh); }
.card--orange .card__icon { background: var(--icon-orange-bg); }
.card--sky .card__icon    { background: var(--sky-l1); }
.card--yellow .card__icon { background: var(--yellow-bg); }

/* Service icons */
.ico-tri {
  width: 0; height: 0;
  border-left: 15px solid transparent;
  border-right: 15px solid transparent;
  border-bottom: 26px solid var(--brand);
}
.ico-dot { border-radius: 50%; background: var(--sky); }
.ico-dot--sm { width: 14px; height: 14px; }
.ico-dot--lg { width: 18px; height: 18px; }
.ico-diamond {
  width: 26px; height: 26px;
  background: var(--yellow);
  transform: rotate(45deg);
  border-radius: 5px;
}

/* =========================================================
   Reasons
   ========================================================= */
.reasons { background: var(--yellow-bg); position: relative; }
.reason-card {
  background: #fff;
  border-radius: 24px;
  padding: 28px;
  text-align: center;
  box-shadow: 0 6px 0 var(--c-reason-sh);
}
.reason-card__num {
  font-family: var(--font-heading);
  font-weight: 900;
  font-size: 44px;
  line-height: 1;
}
.reason-card:nth-child(1) .reason-card__num { color: var(--brand); }
.reason-card:nth-child(2) .reason-card__num { color: var(--sky); }
.reason-card:nth-child(3) .reason-card__num { color: var(--yellow); }
.reason-card__title {
  font-family: var(--font-heading);
  font-weight: 700;
  font-size: 18px;
  margin: 12px 0 8px;
}
.reason-card__text {
  font-size: 14px;
  line-height: 1.8;
  color: var(--text-4);
  margin: 0;
}

/* =========================================================
   Recruit
   ========================================================= */
.recruit__card {
  position: relative;
  overflow: hidden;
  background: linear-gradient(120deg, #F26E21 0%, #FF8B45 100%);
  border-radius: 32px;
  padding: 44px;
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 32px;
  align-items: center;
}
.recruit__circle {
  position: absolute;
  top: -30px; right: 120px;
  width: 160px; height: 160px;
  border-radius: 50%;
  background: rgba(255, 255, 255, .12);
}
.recruit__body { position: relative; }
.recruit__badge {
  display: inline-block;
  background: #fff;
  color: var(--brand);
  font-family: var(--font-heading);
  font-weight: 700;
  font-size: 13px;
  padding: 6px 14px;
  border-radius: 20px;
}
.recruit__title {
  font-family: var(--font-heading);
  font-weight: 900;
  font-size: 30px;
  color: #fff;
  margin: 16px 0 12px;
  line-height: 1.4;
}
.recruit__lead {
  font-size: 15px;
  line-height: 1.9;
  color: #FFF0E4;
  margin: 0 0 22px;
}
.recruit__tags {
  display: flex;
  gap: 10px;
  flex-wrap: wrap;
  margin-bottom: 24px;
}
.recruit__tag {
  background: rgba(255, 255, 255, .22);
  color: #fff;
  font-size: 13px;
  padding: 6px 14px;
  border-radius: 18px;
}
.recruit__visual {
  position: relative;
  display: flex;
  justify-content: center;
}
.recruit__photo {
  width: 100%;
  height: 230px;
  border-radius: 24px;
  background-image: repeating-linear-gradient(45deg,
    rgba(255, 255, 255, .25) 0, rgba(255, 255, 255, .25) 10px,
    rgba(255, 255, 255, .12) 10px, rgba(255, 255, 255, .12) 20px);
  border: 2px solid rgba(255, 255, 255, .4);
  display: flex;
  align-items: center;
  justify-content: center;
}
.recruit__photo span {
  font-family: ui-monospace, Menlo, monospace;
  font-size: 12px;
  color: #fff;
  background: rgba(33, 49, 77, .35);
  padding: 6px 12px;
  border-radius: 8px;
}
/* 実写真（スタッフの現場写真） */
.recruit__photo-img {
  width: 100%;
  height: 260px;
  object-fit: cover;
  object-position: center 30%;
  border-radius: 24px;
  border: 3px solid rgba(255, 255, 255, .55);
  box-shadow: 0 8px 20px rgba(33, 49, 77, .18);
  display: block;
}

/* =========================================================
   FAQ
   ========================================================= */
.faq { max-width: 820px; margin: 0 auto; padding: 32px 24px 56px; }
.faq-item {
  background: #fff;
  border: 2px solid var(--line-soft);
  border-radius: 20px;
  margin-bottom: 14px;
  overflow: hidden;
}
.faq-q {
  width: 100%;
  display: flex;
  align-items: center;
  gap: 14px;
  background: none;
  border: none;
  cursor: pointer;
  padding: 18px 22px;
  text-align: left;
  font-family: var(--font-body);
  color: var(--navy);
}
.faq-q__badge {
  flex: none;
  width: 30px; height: 30px;
  border-radius: 50%;
  background: var(--icon-orange-bg);
  color: var(--brand);
  font-family: var(--font-heading);
  font-weight: 900;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 15px;
}
.faq-q__text { flex: 1; font-size: 16px; font-weight: 700; }
.faq-q__sign {
  flex: none;
  font-family: var(--font-heading);
  font-weight: 900;
  font-size: 22px;
  color: var(--brand);
}
.faq-a {
  display: none;
  padding: 0 22px 20px 66px;
  font-size: 14px;
  line-height: 1.9;
  color: var(--text-4);
}
.faq-item.is-open .faq-a { display: block; }
/* 「そのほかのFAQ →」リンク */
.faq-more { text-align: center; margin-top: 24px; }
.faq-more__link {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  font-family: var(--font-heading);
  font-weight: 700;
  font-size: 15px;
  color: var(--brand-dark);
  text-decoration: none;
  padding: 12px 26px;
  background: #fff;
  border: 2px solid var(--badge-border);
  border-radius: 24px;
  box-shadow: 0 4px 0 var(--c-yellow-sh);
  transition: transform .08s ease, box-shadow .08s ease;
}
.faq-more__link:hover { transform: translateY(2px); box-shadow: 0 2px 0 var(--c-yellow-sh); }

/* =========================================================
   Contact CTA
   ========================================================= */
.contact { background: var(--navy); position: relative; overflow: hidden; }
.contact__circle { position: absolute; border-radius: 50%; }
.contact__circle--tl { top: -50px; left: -30px; width: 200px; height: 200px; background: rgba(255, 197, 61, .12); }
.contact__circle--br { bottom: -60px; right: -20px; width: 240px; height: 240px; background: rgba(242, 110, 33, .16); }
.contact__inner { position: relative; z-index: 2; text-align: center; padding: 60px 24px; }
.contact__mascot {
  position: absolute;
  left: 32px;
  bottom: 0;
  width: 260px;
  height: auto;
  z-index: 1;
  pointer-events: none;
  filter: drop-shadow(0 8px 14px rgba(0, 0, 0, .28));
}
.contact__title {
  font-family: var(--font-heading);
  font-weight: 900;
  font-size: 34px;
  color: #fff;
  margin: 0 0 12px;
}
.contact__lead { font-size: 16px; color: var(--text-7); margin: 0 0 30px; }
.contact__tel {
  display: inline-flex;
  align-items: center;
  gap: 16px;
  background: rgba(255, 255, 255, .08);
  border-radius: 20px;
  padding: 16px 28px;
  flex-wrap: wrap;
  justify-content: center;
}
.contact__tel-label { font-size: 14px; color: var(--text-7); }
.contact__tel-num {
  font-family: var(--font-heading);
  font-weight: 900;
  font-size: 30px;
  color: var(--yellow);
  letter-spacing: .02em;
  text-decoration: none;
}
.contact__tel-time { font-size: 13px; color: var(--text-6); }

/* =========================================================
   Footer
   ========================================================= */
.site-footer { background: var(--footer); color: var(--text-6); }
.site-footer__grid {
  display: grid;
  grid-template-columns: 1.5fr 1fr;
  gap: 28px;
  padding-top: 40px;
  padding-bottom: 40px;
}
.site-footer__brand { display: flex; align-items: center; gap: 10px; margin-bottom: 14px; }
.site-footer__mark {
  width: 34px; height: 34px;
  border-radius: 11px;
  background: var(--brand);
  display: flex; align-items: center; justify-content: center;
}
.site-footer__mark .tri {
  border-left-width: 7px;
  border-right-width: 7px;
  border-bottom-width: 12px;
}
/* 実ロゴ画像：紺のマークが暗い背景に埋もれないよう白タイルに載せる */
.site-footer__logo {
  width: 34px; height: 34px;
  border-radius: 11px;
  background: #fff;
  display: flex; align-items: center; justify-content: center;
}
.site-footer__logo img {
  width: 26px; height: 26px;
  display: block;
  object-fit: contain;
}
.site-footer__name {
  font-family: var(--font-heading);
  font-weight: 900;
  font-size: 17px;
  color: #fff;
}
.site-footer__addr { font-size: 13px; line-height: 1.8; margin: 0; }
.site-footer__col-title {
  font-family: var(--font-heading);
  font-weight: 900;
  color: #fff;
  font-size: 24px;
  letter-spacing: .06em;
  margin-bottom: 18px;
}
/* メニューリンクを 2列×3段 のグリッドで表示 */
.site-footer__links {
  display: grid;
  grid-template-columns: repeat(2, max-content);
  column-gap: 40px;
  row-gap: 14px;
  font-size: 14px;
}
.site-footer__links a { color: var(--text-6); text-decoration: none; }
.site-footer__links a:hover { color: #fff; }
.site-footer__copy {
  border-top: 1px solid rgba(255, 255, 255, .08);
  padding: 16px 24px;
  text-align: center;
  font-size: 12px;
}

/* =========================================================
   Company page（会社概要）
   ========================================================= */
.page-head {
  background: linear-gradient(180deg, #FFF3D6 0%, #FBF7EF 100%);
  text-align: center;
  padding: 48px 24px 40px;
}
.page-head__eyebrow {
  font-family: var(--font-accent);
  color: var(--brand);
  font-weight: 700;
  font-size: 15px;
}
.page-head__title {
  font-family: var(--font-heading);
  font-weight: 900;
  font-size: 34px;
  margin: 6px 0 0;
}
.company__inner { padding-top: 48px; padding-bottom: 64px; }
.company__intro {
  font-size: 15px;
  line-height: 1.9;
  color: var(--text-3);
  margin-bottom: 40px;
}
.company__block { margin-bottom: 48px; }
.company__h2 {
  font-family: var(--font-heading);
  font-weight: 900;
  font-size: 24px;
  margin: 0 0 20px;
  padding-left: 14px;
  border-left: 6px solid var(--brand);
  line-height: 1.3;
}
.info-table {
  width: 100%;
  border-collapse: collapse;
  background: #fff;
  border: 2px solid var(--line-soft);
  border-radius: 20px;
  overflow: hidden;
}
.info-table th,
.info-table td {
  text-align: left;
  vertical-align: top;
  padding: 16px 20px;
  font-size: 14px;
  line-height: 1.8;
  border-bottom: 1px solid var(--line-soft);
}
.info-table tr:last-child th,
.info-table tr:last-child td { border-bottom: none; }
.info-table th {
  width: 200px;
  background: var(--yellow-bg);
  color: var(--navy);
  font-family: var(--font-heading);
  font-weight: 700;
  white-space: nowrap;
}
.info-table td { color: var(--text-4); }
/* 支店・営業所：名称の下の詳細を1文字分インデント */
.branch__detail { display: block; padding-left: 1em; }
/* 認定番号の横の「（警備業の標識）」インラインリンク */
.sign-link {
  border: none;
  background: none;
  padding: 0;
  margin-left: 4px;
  font: inherit;
  color: var(--brand-dark);
  font-weight: 700;
  text-decoration: underline;
  text-underline-offset: 3px;
  cursor: pointer;
  white-space: nowrap;
}
.sign-link:hover { color: var(--brand); }

/* 警備業の標識サムネイル（クリックで拡大） */
.sign-thumb {
  display: inline-block;
  padding: 6px;
  background: #fff;
  border: 2px solid var(--line-soft);
  border-radius: 12px;
  cursor: pointer;
  max-width: 280px;
  width: 100%;
  transition: transform .1s ease, box-shadow .1s ease;
  box-shadow: 0 4px 0 var(--c-orange-sh);
}
.sign-thumb:hover { transform: translateY(-2px); box-shadow: 0 6px 0 var(--c-orange-sh); }
.sign-thumb img {
  display: block;
  width: 100%;
  height: auto;
  border-radius: 6px;
}
.sign-thumb__hint {
  display: block;
  text-align: center;
  font-size: 12px;
  font-weight: 700;
  color: var(--brand-dark);
  padding: 8px 0 4px;
}

/* ライトボックス（ポップアップ） */
.lightbox {
  position: fixed;
  inset: 0;
  z-index: 1000;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 24px;
  background: rgba(20, 28, 46, .82);
  opacity: 0;
  visibility: hidden;
  transition: opacity .18s ease, visibility .18s ease;
}
.lightbox.is-open { opacity: 1; visibility: visible; }
.lightbox__inner { position: relative; max-width: 100%; max-height: 100%; }
.lightbox__img {
  display: block;
  max-width: 92vw;
  max-height: 86vh;
  width: auto;
  height: auto;
  background: #fff;
  border-radius: 12px;
  box-shadow: 0 20px 50px rgba(0, 0, 0, .4);
}
.lightbox__close {
  position: absolute;
  top: -14px;
  right: -14px;
  width: 40px;
  height: 40px;
  border: none;
  border-radius: 50%;
  background: var(--brand);
  color: #fff;
  font-size: 24px;
  line-height: 1;
  cursor: pointer;
  box-shadow: 0 4px 0 var(--brand-dark);
}
.lightbox__close:hover { transform: translateY(2px); box-shadow: 0 2px 0 var(--brand-dark); }
@media (max-width: 460px) {
  .lightbox__close { top: -8px; right: -8px; width: 34px; height: 34px; font-size: 20px; }
}
.company__note {
  font-size: 14px;
  color: var(--text-4);
  margin: 24px 0 14px;
}

/* 募集要項：一覧 */
.job-list { list-style: none; margin: 0 0 24px; padding: 0; display: flex; flex-direction: column; gap: 16px; }
.job-card {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
  background: #fff;
  border: 2px solid var(--line-soft);
  border-radius: 20px;
  padding: 22px 26px;
  box-shadow: 0 6px 0 var(--c-reason-sh);
}
.job-card__title {
  font-family: var(--font-heading);
  font-weight: 700;
  font-size: 20px;
  color: var(--navy);
  margin: 0 0 10px;
}
.job-card__meta { display: flex; align-items: center; gap: 14px; flex-wrap: wrap; }
.job-card__tag {
  background: var(--yellow-bg);
  border: 2px solid var(--badge-border);
  color: var(--brand-dark);
  font-weight: 700;
  font-size: 13px;
  padding: 4px 12px;
  border-radius: 16px;
}
.job-card__salary {
  font-family: var(--font-heading);
  font-weight: 900;
  font-size: 18px;
  color: var(--brand);
}
.job-card__btn { flex: none; }

/* 募集要項：詳細ページの写真（アイキャッチ） */
.job-photo { margin: 0 0 28px; }
.job-photo__img {
  display: block;
  width: 100%;
  max-height: 420px;
  object-fit: cover;
  border-radius: 24px;
  border: 3px solid #fff;
  box-shadow: 0 8px 20px rgba(33, 49, 77, .18);
}

/* 募集要項：詳細ページの補足文 */
.job__note {
  margin-top: 18px;
  font-size: 14px;
  line-height: 1.9;
  color: var(--text-3);
}
.job__note p { margin: 0 0 10px; }

/* 事業内容（BUSINESS）— 会社概要ページの主役セクション */
.business-feature {
  position: relative;
  overflow: hidden;
  background: linear-gradient(180deg, #FFF3D6 0%, #FBF7EF 100%);
  padding: 56px 0 60px;
}
.business-feature .sec-head { margin-bottom: 28px; }
.business-feature__circle {
  position: absolute;
  border-radius: 50%;
  pointer-events: none;
}
.business-feature__circle--a { top: -50px; right: -50px; width: 240px; height: 240px; background: var(--circle-orange); opacity: .45; }
.business-feature__circle--b { bottom: -40px; left: -50px; width: 170px; height: 170px; background: var(--sky-l3); opacity: .6; }

.business__lead {
  position: relative;
  max-width: 780px;
  margin: 0 auto 32px;
  text-align: center;
  font-family: var(--font-heading);
  font-weight: 900;
  font-size: 27px;
  line-height: 1.7;
  letter-spacing: .01em;
  color: var(--navy);
}
.business__card {
  position: relative;
  max-width: 880px;
  margin: 0 auto;
  background: #fff;
  border: 2px solid var(--c-orange-bd);
  border-radius: 28px;
  padding: 40px 44px;
  box-shadow: 0 8px 0 var(--c-orange-sh);
}
.business__sub {
  display: block;
  width: fit-content;
  margin: 0 auto 18px;
  text-align: center;
  font-family: var(--font-heading);
  font-weight: 900;
  font-size: 21px;
  color: var(--brand-dark);
  padding-bottom: 12px;
  border-bottom: 4px solid var(--yellow);
}
.business__body {
  font-size: 15px;
  line-height: 3;
  color: var(--text-3);
  margin: 0;
}

/* page-head の説明文 */
/* ページ見出しのマスコット（採用ページ：やる気・炎） */
.page-head--mascot .container { position: relative; }
.page-head__mascot {
  display: block;
  width: 320px;
  height: auto;
  margin: 0 auto 8px;
  filter: drop-shadow(0 8px 14px rgba(33, 49, 77, .22));
  animation: bob 4s ease-in-out infinite;
}

.page-head__lead,
.page-head__desc {
  max-width: 680px;
  margin: 14px auto 0;
  font-size: 15px;
  line-height: 1.9;
  color: var(--text-3);
}
.sec-head__desc {
  max-width: 640px;
  margin: 14px auto 0;
  font-size: 15px;
  line-height: 1.9;
  color: var(--text-4);
}

/* 大きめボタン */
.btn--lg { font-size: 16px; padding: 15px 32px; }

/* CTA 帯 */
.cta-band { background: var(--yellow-bg); }
.cta-band__inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
  flex-wrap: wrap;
  padding: 32px 24px;
}
.cta-band__text {
  font-family: var(--font-heading);
  font-weight: 700;
  font-size: 20px;
  margin: 0;
  color: var(--navy);
}
.company__actions { display: flex; gap: 14px; flex-wrap: wrap; }

/* =========================================================
   Work（仕事紹介）
   ========================================================= */
.work { background: #fff; }
.work-list { display: flex; flex-direction: column; gap: 20px; }
.work-item {
  display: flex;
  gap: 22px;
  align-items: flex-start;
  background: #fff;
  border: 2px solid var(--line-soft);
  border-radius: 24px;
  padding: 28px;
  box-shadow: 0 6px 0 var(--c-reason-sh);
}
.work-item--orange { border-color: var(--c-orange-bd); box-shadow: 0 6px 0 var(--c-orange-sh); }
.work-item--sky    { border-color: var(--c-sky-bd);    box-shadow: 0 6px 0 var(--c-sky-sh); }
.work-item--yellow { border-color: var(--c-yellow-bd); box-shadow: 0 6px 0 var(--c-yellow-sh); }
.work-item__no {
  flex: none;
  font-family: var(--font-heading);
  font-weight: 900;
  font-size: 40px;
  line-height: 1;
  color: var(--brand);
}
.work-item--sky .work-item__no    { color: var(--sky); }
.work-item--yellow .work-item__no { color: var(--yellow); }
.work-item__title {
  font-family: var(--font-heading);
  font-weight: 700;
  font-size: 20px;
  margin: 2px 0 10px;
}
.work-item__lead {
  font-size: 14px;
  line-height: 1.9;
  color: var(--text-4);
  margin: 0;
}
.work-item__points {
  margin: 14px 0 0;
  padding: 0;
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 8px;
}
.work-item__points li {
  position: relative;
  padding-left: 24px;
  font-size: 14px;
  line-height: 1.8;
  color: var(--text-4);
}
.work-item__points li::before {
  content: "";
  position: absolute;
  left: 0; top: 8px;
  width: 12px; height: 12px;
  border-radius: 50%;
  background: var(--yellow);
}

/* =========================================================
   Flow（ご依頼の流れ）
   ========================================================= */
.flow { background: #fff; }
.flow-list {
  list-style: none;
  margin: 0;
  padding: 0;
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 20px;
}
.flow-step {
  position: relative;
  background: var(--yellow-bg);
  border-radius: 20px;
  padding: 28px 22px 24px;
  text-align: center;
}
/* ステップ間の矢印 */
.flow-step:not(:last-child)::after {
  content: "";
  position: absolute;
  top: 50%;
  right: -14px;
  width: 0; height: 0;
  border-top: 8px solid transparent;
  border-bottom: 8px solid transparent;
  border-left: 12px solid var(--yellow);
  transform: translateY(-50%);
  z-index: 1;
}
.flow-step__num {
  width: 48px; height: 48px;
  margin: 0 auto 14px;
  border-radius: 50%;
  background: var(--brand);
  color: #fff;
  font-family: var(--font-heading);
  font-weight: 900;
  font-size: 20px;
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow: 0 4px 0 var(--brand-dark);
}
.flow-step__title {
  font-family: var(--font-heading);
  font-weight: 700;
  font-size: 17px;
  margin: 0 0 8px;
}
.flow-step__text {
  font-size: 13px;
  line-height: 1.8;
  color: var(--text-4);
  margin: 0;
}

/* =========================================================
   Scenes（対応できる主なシーン）
   ========================================================= */
.scenes { background: var(--bg); }
.scene-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 20px;
}
.scene-card {
  background: #fff;
  border: 2px solid var(--line-soft);
  border-radius: 20px;
  padding: 24px;
  box-shadow: 0 6px 0 var(--c-reason-sh);
}
.scene-card__title {
  font-family: var(--font-heading);
  font-weight: 700;
  font-size: 17px;
  margin: 0 0 8px;
  padding-left: 14px;
  border-left: 5px solid var(--brand);
  line-height: 1.4;
}
.scene-card__text {
  font-size: 14px;
  line-height: 1.8;
  color: var(--text-4);
  margin: 0;
}

/* =========================================================
   会社紹介（採用ページ ABOUT）
   ========================================================= */
.recruit-about { background: #fff; }
.recruit-about__inner { max-width: 760px; margin: 0 auto; }
.recruit-about__lead {
  font-family: var(--font-heading);
  font-weight: 700;
  font-size: 20px;
  line-height: 1.8;
  color: var(--navy);
  text-align: center;
  margin: 0 0 28px;
}
.recruit-about__body p {
  font-size: 15px;
  line-height: 2.1;
  color: var(--text-3);
  margin: 0 0 18px;
}
.recruit-about__body p:last-child { margin-bottom: 0; }

/* =========================================================
   Interview（社員インタビュー）
   ========================================================= */
.interview { background: var(--yellow-bg); }
.interview-card {
  background: #fff;
  border: 2px solid var(--line-soft);
  border-radius: 24px;
  padding: 32px;
  box-shadow: 0 6px 0 var(--c-reason-sh);
  max-width: 820px;
  margin: 0 auto;
}
.interview-card + .interview-card { margin-top: 24px; }
.interview-card__head {
  display: flex;
  align-items: center;
  gap: 16px;
  padding-bottom: 20px;
  margin-bottom: 8px;
  border-bottom: 2px dashed var(--line-soft);
}
.interview-card__avatar {
  flex: none;
  width: 54px; height: 54px;
  border-radius: 50%;
  background: var(--brand);
  color: #fff;
  font-family: var(--font-heading);
  font-weight: 900;
  font-size: 22px;
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow: 0 3px 0 var(--brand-dark);
}
.interview-card__name {
  font-family: var(--font-heading);
  font-weight: 700;
  font-size: 18px;
}
.interview-card__profile { font-size: 13px; color: var(--text-5); margin-top: 2px; }
.interview-card__qa { display: flex; flex-direction: column; gap: 20px; margin-top: 20px; }
.qa__q, .qa__a {
  display: flex;
  gap: 12px;
  margin: 0;
  font-size: 14px;
  line-height: 1.9;
}
.qa__q { font-weight: 700; color: var(--navy); }
.qa__a { color: var(--text-4); margin-top: 8px; }
.qa__mark {
  flex: none;
  width: 26px; height: 26px;
  border-radius: 8px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-family: var(--font-heading);
  font-weight: 900;
  font-size: 14px;
}
.qa__mark--q { background: var(--icon-orange-bg); color: var(--brand); }
.qa__mark--a { background: var(--sky-l1); color: var(--sky); }
.interview-card__message {
  margin-top: 24px;
  padding: 20px 22px;
  background: var(--yellow-bg);
  border-radius: 16px;
  font-size: 14px;
  line-height: 1.9;
  color: var(--text-3);
}
.interview-card__message-label {
  display: block;
  font-family: var(--font-heading);
  font-weight: 700;
  font-size: 13px;
  color: var(--brand-dark);
  margin-bottom: 6px;
}

/* =========================================================
   Philosophy（大切にしていること）
   ========================================================= */
.philosophy { background: #fff; }
.philosophy-group { max-width: 900px; margin: 0 auto; }
.philosophy-group + .philosophy-group { margin-top: 30px; }
.philosophy-group__label {
  font-family: var(--font-heading);
  font-weight: 900;
  font-size: 18px;
  color: var(--brand-dark);
  margin: 0 0 16px;
  padding-left: 14px;
  border-left: 6px solid var(--brand);
}
.philosophy-list {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 16px;
  max-width: 900px;
  margin: 0 auto;
}
.philosophy-item {
  display: flex;
  gap: 14px;
  align-items: flex-start;
  background: var(--yellow-bg);
  border-radius: 18px;
  padding: 20px 22px;
}
.philosophy-item p { margin: 0; font-size: 14px; line-height: 1.9; color: var(--text-3); }
.philosophy-item__check {
  flex: none;
  width: 26px; height: 26px;
  border-radius: 50%;
  background: var(--brand);
  position: relative;
  box-shadow: 0 3px 0 var(--brand-dark);
}
.philosophy-item__check::after {
  content: "";
  position: absolute;
  left: 9px; top: 5px;
  width: 6px; height: 11px;
  border: solid #fff;
  border-width: 0 3px 3px 0;
  transform: rotate(45deg);
}

/* =========================================================
   お問い合わせフォーム
   ========================================================= */
.contact-form-section { background: var(--bg); }
.contact-form { max-width: 720px; }
.nbs-form {
  background: #fff;
  border: 2px solid var(--line-soft);
  border-radius: 24px;
  padding: 32px;
  box-shadow: 0 6px 0 var(--c-reason-sh);
}
.form-row { margin-bottom: 20px; }
.form-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 18px; }
.form-label {
  display: block;
  font-family: var(--font-heading);
  font-weight: 700;
  font-size: 14px;
  color: var(--navy);
  margin-bottom: 8px;
}
.form-label .req {
  display: inline-block;
  margin-left: 8px;
  background: var(--brand);
  color: #fff;
  font-size: 11px;
  font-weight: 700;
  padding: 2px 8px;
  border-radius: 10px;
  vertical-align: middle;
}
.form-input {
  width: 100%;
  font-family: var(--font-body);
  font-size: 15px;
  color: var(--text);
  background: var(--bg);
  border: 2px solid var(--line-soft);
  border-radius: 12px;
  padding: 12px 14px;
}
.form-input:focus {
  outline: none;
  border-color: var(--brand);
  background: #fff;
}
textarea.form-input { resize: vertical; }
.form-submit { text-align: center; margin-top: 8px; }
.form-note { font-size: 12px; color: var(--text-5); margin: 14px 0 0; }
.nbs-hp { position: absolute; left: -9999px; width: 1px; height: 1px; overflow: hidden; }
.form-alert {
  border-radius: 16px;
  padding: 16px 20px;
  margin-bottom: 24px;
  font-size: 14px;
  line-height: 1.8;
}
.form-alert--ok { background: #E7F6EC; border: 2px solid #A9D8B8; color: #1E7A44; }
.form-alert--ng { background: #FDECEC; border: 2px solid #F3B4B4; color: #B23636; }

/* =========================================================
   Responsive
   ========================================================= */
@media (max-width: 820px) {
  /* ハンバーガー表示、ナビはドロップダウン化 */
  .nav-toggle { display: flex; }
  .main-nav {
    position: absolute;
    top: 100%;
    left: 0;
    right: 0;
    flex-direction: column;
    align-items: stretch;
    gap: 0;
    padding: 6px 24px 18px;
    background: rgba(251, 247, 239, .98);
    backdrop-filter: blur(8px);
    border-bottom: 2px solid var(--line-soft);
    box-shadow: 0 12px 20px rgba(33, 49, 77, .1);
    display: none;
  }
  .main-nav.is-open { display: flex; }
  .nav-link {
    display: block;
    font-size: 16px;
    padding: 15px 4px;
    border-bottom: 1px solid var(--line-soft);
  }
  .main-nav .btn--orange {
    justify-content: center;
    margin-top: 14px;
    padding: 14px 20px;
    font-size: 15px;
  }

  .hero__grid {
    grid-template-columns: 1fr;
    padding-top: 36px;
    padding-bottom: 44px;
    text-align: center;
  }
  .hero__copy { order: 2; }
  .hero__visual { order: 1; }
  .hero__title { font-size: 34px; }
  .hero__lead { margin-left: auto; margin-right: auto; }
  .hero__tel { justify-content: center; gap: 10px; }

  .grid-3 { grid-template-columns: 1fr; }

  .recruit__card { grid-template-columns: 1fr; padding: 28px; }
  .recruit__visual { order: -1; }
  .recruit__title { font-size: 24px; }

  .site-footer__grid { grid-template-columns: 1fr; gap: 24px; }
  .site-footer__links { grid-template-columns: repeat(2, max-content); column-gap: 28px; }
  .site-footer__col-title { font-size: 21px; }

  .job-card { flex-direction: column; align-items: stretch; gap: 16px; }
  .job-card__btn { text-align: center; }

  /* 採用ページ見出しのマスコットはモバイルで少し小さく */
  .page-head__mascot { width: 220px; }

  /* ご依頼の流れ：2列（矢印は非表示に） */
  .flow-list { grid-template-columns: 1fr 1fr; gap: 16px; }
  .flow-step:not(:last-child)::after { display: none; }
  /* 対応シーン：1列 */
  .scene-grid { grid-template-columns: 1fr; }

  .sec-pad { padding-top: 40px; padding-bottom: 40px; }
  .contact__title { font-size: 26px; }
  .contact__tel { flex-direction: column; gap: 6px; padding: 14px 20px; }

  /* マスコット：お問い合わせは重なり防止でモバイル非表示。見出しは縮小して継続 */
  .contact__mascot { display: none; }
  .sec-head__mascot { height: 104px; }
  .sec-head__mascot--tall { height: 150px; }

  /* 会社概要：表を縦積みに */
  .page-head__title { font-size: 26px; }
  .company__inner { padding-top: 36px; padding-bottom: 44px; }
  .info-table th,
  .info-table td { display: block; width: auto; }
  .info-table th { white-space: normal; border-bottom: none; padding-bottom: 4px; }
  .info-table td { padding-top: 4px; }

  /* 追加セクションの縦積み */
  .work-item { flex-direction: column; gap: 12px; padding: 24px; }
  .philosophy-list { grid-template-columns: 1fr; }
  .form-grid { grid-template-columns: 1fr; }
  .nbs-form { padding: 24px; }
  .cta-band__inner { flex-direction: column; text-align: center; gap: 14px; }
  .cta-band__text { font-size: 18px; }
  .interview-card { padding: 24px; }
  .business-feature { padding: 40px 0 44px; }
  .business__lead { font-size: 20px; }
  .business__card { padding: 26px 22px; }
  .business__sub { font-size: 18px; }
}

@media (max-width: 460px) {
  .hero__title { font-size: 29px; }
  .mascot { width: 280px; }
}
