/* ============================================================
   hp-corporate-multi-a / 共通スタイル

   【デザイン基本方針】
   - デフォルトは白基調・シンプル・清潔感。万人向けの洗練デザイン。
   - 業界や職種で配色を固定しない。サービス・顧客の好み・企業理念から
     ふさわしいパターンを推薦する(SKILL.mdの哲学参照)。
   - :root の3色(--base / --sub / --accent)を差替えるだけで全ページ激変。

   【カラーパターン・プリセット(抜粋)】
   ① 白×ネイビー      base:#ffffff  sub:#f8fafc  accent:#1e3a5f  (既定・万能)
   ② 白×深緑          base:#ffffff  sub:#f5f7f4  accent:#2d4a3e  (静謐・知的)
   ③ 白×チャコール     base:#ffffff  sub:#f8f8f8  accent:#2c2c2c  (モダン)
   ④ アイボリー×濃茶   base:#faf7f2  sub:#f0ebe0  accent:#6b4423  (温かみ・和)
   ⑤ 紺×金           base:#0a1628  sub:#f5f2ea  accent:#c9a961  (格式・伝統)

   顧客指定の独自カラーコードも同じ3色枠に流し込んで使用可能。
   ============================================================ */

:root {
  /* === パターン1(既定): 白×ネイビー === */
  --base:    #ffffff;   /* ページ背景(最も広い面) */
  --sub:     #f8fafc;   /* セクション切替・カード副背景 */
  --accent:  #1e3a5f;   /* ナビ・ボタン・見出しアクセント・リンク */

  /* === テキスト色(パターンに合わせて調整) === */
  --text:         #1a1a1a;   /* --base / --sub 上の本文 */
  --text-muted:   #6b7280;   /* 弱文字・補足 */
  --text-on-accent: #ffffff; /* --accent 背景上のテキスト */
  --border:       #e5e7eb;   /* 罫線・区切り */

  /* === フォント === */
  --font-heading: 'Noto Serif JP', serif;
  --font-body:    'Noto Sans JP', sans-serif;

  /* === 派生色(自動・通常は触らない) === */
  --accent-lt:    color-mix(in srgb, var(--accent), white 15%);
  --accent-dk:    color-mix(in srgb, var(--accent), black 15%);
  --accent-hover: color-mix(in srgb, var(--accent), black 10%);
  --accent-soft:  color-mix(in srgb, var(--accent), white 85%);  /* 薄いハイライト地 */

  /* === レイアウト === */
  --container:        1280px;
  --container-narrow: 960px;
  --gap-section:      120px;

  /* === お知らせカテゴリ === */
  --cat-important: #dc2626;
  --cat-closed:    #6b7280;
  --cat-notice:    var(--accent);
  --cat-event:     #ca8a04;
  --cat-hire:      #059669;
}

/* === RESET === */
* { margin: 0; padding: 0; box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  font-family: var(--font-body);
  color: var(--text);
  background: var(--base);
  line-height: 1.8;
  font-size: 15px;
  -webkit-font-smoothing: antialiased;
}
a { color: inherit; text-decoration: none; }
img { max-width: 100%; display: block; }
.serif { font-family: var(--font-heading); }

/* ============ HEADER / NAV (白基調・シンプル) ============ */
.header {
  position: sticky; top: 0; z-index: 100;
  background: color-mix(in srgb, var(--base) 95%, transparent);
  backdrop-filter: blur(12px);
  border-bottom: 1px solid var(--border);
}
.header-inner {
  max-width: var(--container);
  margin: 0 auto;
  padding: 18px 40px;
  display: flex;
  justify-content: space-between;
  align-items: center;
}
.logo { display: flex; align-items: center; gap: 12px; color: var(--text); }
.logo-img { height: 44px; width: auto; display: block; }
.logo-img.footer { height: 52px; }

.nav-links { display: flex; gap: 28px; list-style: none; align-items: center; }
.nav-links a {
  color: var(--text);
  font-size: 13px; font-weight: 500;
  letter-spacing: 0.05em;
  transition: color 0.2s;
}
.nav-links a:hover, .nav-links a.current { color: var(--accent); }
.nav-cta {
  background: var(--accent);
  color: var(--text-on-accent) !important;
  padding: 10px 22px;
  font-weight: 700;
  transition: background 0.2s;
}
.nav-cta:hover { background: var(--accent-hover); }

/* ============ HAMBURGER (mobile only) ============ */
.nav-toggle {
  display: none;
  background: transparent;
  border: none;
  width: 44px; height: 44px;
  padding: 0;
  cursor: pointer;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  gap: 5px;
  z-index: 101;
}
.nav-toggle span {
  display: block;
  width: 24px; height: 2px;
  background: var(--text);
  transition: transform 0.3s, opacity 0.3s;
}
.nav-toggle[aria-expanded="true"] span:nth-child(1) {
  transform: translateY(7px) rotate(45deg);
}
.nav-toggle[aria-expanded="true"] span:nth-child(2) { opacity: 0; }
.nav-toggle[aria-expanded="true"] span:nth-child(3) {
  transform: translateY(-7px) rotate(-45deg);
}

/* ============ 日本語の改行制御(禁則+フレーズ単位) ============ */
body { line-break: strict; }
h1, h2, h3, .section-title, .about-heading, .hero h1,
.home-hero h1, .page-hero h1, .service-title, .strength-title, .contact-title {
  line-break: strict;
  overflow-wrap: break-word;
}
@supports (word-break: auto-phrase) {
  h1, h2, h3, .section-title, .about-heading, .hero h1,
  .home-hero h1, .page-hero h1, .service-title, .strength-title, .contact-title,
  .hero-sub, .service-desc, .strength-body, .about-body p, .contact-lead,
  .footer-tagline, .recruit-point-text {
    word-break: auto-phrase;
  }
}
/* 日本語本文の改行を自然に(語の途中で切れにくくする) */
.hero-sub, .service-desc, .strength-body, .about-body p, .contact-lead,
.footer-tagline, .recruit-point-text, .recruit-body-grid p {
  word-break: keep-all;
  line-break: strict;
  overflow-wrap: break-word;
}
@supports (word-break: auto-phrase) {
  .recruit-body-grid p {
    word-break: auto-phrase;
  }
}

/* ============ HOME HERO (トップ・写真背景) ============ */
.home-hero {
  min-height: 80vh;
  background:
    linear-gradient(rgba(15,18,24,0.55), rgba(15,18,24,0.72)),
    url('img/hero.jpg') center/cover no-repeat var(--accent);
  color: #ffffff;
  display: flex; align-items: center;
  padding: 140px 40px 100px;
  position: relative; overflow: hidden;
}
.home-hero-inner { max-width: var(--container-narrow); width: 100%; margin: 0 auto; position: relative; z-index: 2; }
.home-hero .eyebrow {
  display: inline-flex; align-items: center; gap: 12px;
  color: rgba(255,255,255,0.85);
  font-size: 12px; letter-spacing: 0.3em;
  margin-bottom: 32px;
}
.home-hero .eyebrow::before { content: ''; width: 40px; height: 1px; background: rgba(255,255,255,0.7); }
.home-hero h1 {
  font-family: var(--font-heading);
  font-size: 64px; font-weight: 900; line-height: 1.2;
  letter-spacing: -0.02em;
  margin-bottom: 28px;
  color: #ffffff;
}
.home-hero h1 .accent { color: #ffffff; position: relative; display: inline-block; }
.home-hero h1 .accent::after {
  content: ''; position: absolute; left: 0; bottom: 6px;
  width: 100%; height: 2px;
  background: rgba(255,255,255,0.5);
}
.home-hero .hero-sub {
  font-size: 17px; line-height: 2;
  color: rgba(255,255,255,0.9);
  margin-bottom: 44px;
  max-width: 640px;
}
.home-hero .hero-cta { display: flex; gap: 16px; flex-wrap: wrap; }

/* ============ PAGE HERO (内側ページ・アクセント色背景) ============ */
.page-hero {
  padding: 140px 40px 80px;
  background: var(--accent);
  color: var(--text-on-accent);
  text-align: center;
  position: relative;
  overflow: hidden;
}
.page-hero::after {
  content: attr(data-giant);
  position: absolute;
  right: -60px; bottom: -40px;
  font-family: var(--font-heading);
  font-size: 200px; font-weight: 900;
  color: rgba(255,255,255,0.06);
  letter-spacing: 0.1em;
  pointer-events: none; line-height: 1;
}
.page-hero .eyebrow {
  color: rgba(255,255,255,0.8);
  font-size: 12px; letter-spacing: 0.3em;
  margin-bottom: 16px;
}
.page-hero h1 {
  font-family: var(--font-heading);
  font-size: 44px; font-weight: 900;
  letter-spacing: -0.01em;
  position: relative; z-index: 1;
}

/* ============ BUTTONS ============ */
.btn {
  padding: 16px 32px;
  font-size: 14px; font-weight: 700;
  letter-spacing: 0.1em;
  display: inline-flex; align-items: center; gap: 12px;
  transition: all 0.25s;
  border: 1px solid transparent;
}
.btn-primary { background: var(--accent); color: var(--text-on-accent); }
.btn-primary:hover { background: var(--accent-hover); transform: translateX(4px); }
.btn-outline-light { color: #ffffff; border-color: rgba(255,255,255,0.8); }
.btn-outline-light:hover { background: #ffffff; color: var(--accent); }
.btn-outline-dark { color: var(--accent); border-color: var(--accent); }
.btn-outline-dark:hover { background: var(--accent); color: var(--text-on-accent); }

/* ============ SECTION COMMON ============ */
section { padding: var(--gap-section) 40px; }
section.tight { padding: 80px 40px; }
section.surface-sub { background: var(--sub); }
.container { max-width: var(--container); margin: 0 auto; }
.container-narrow { max-width: var(--container-narrow); margin: 0 auto; }
.section-head { text-align: center; margin-bottom: 72px; }
.section-label {
  font-size: 12px;
  color: var(--accent);
  letter-spacing: 0.35em;
  margin-bottom: 18px;
  font-weight: 600;
}
.section-title {
  font-family: var(--font-heading);
  font-size: 40px; font-weight: 900;
  color: var(--text);
  letter-spacing: -0.01em;
  line-height: 1.3;
}
.section-title .ja-accent { color: var(--accent); }
.section-cta { text-align: center; margin-top: 56px; }

/* アクセント色背景セクション */
.section-dark {
  background: var(--accent);
  color: var(--text-on-accent);
}
.section-dark .section-title { color: var(--text-on-accent); }
.section-dark .section-label { color: rgba(255,255,255,0.8); }

/* ============ SERVICES (白基調・画像+シンプルテキスト) ============ */
.services-grid {
  display: grid;
  grid-template-columns: repeat(var(--svc-cols, 2), 1fr);
  gap: 32px;
}
.service-card {
  background: var(--base);
  border: 1px solid var(--border);
  transition: transform 0.3s, box-shadow 0.3s, border-color 0.3s;
  overflow: hidden;
}
.service-card:hover {
  transform: translateY(-4px);
  box-shadow: 0 20px 40px -20px color-mix(in srgb, var(--accent), transparent 80%);
  border-color: color-mix(in srgb, var(--accent), transparent 70%);
}
.service-image {
  width: 100%;
  aspect-ratio: 16 / 9;
  background: var(--sub) center/cover no-repeat;
}
.service-image.facility { background-image: url('img/service-facility.jpg'); }
.service-image.traffic { background-image: url('img/service-traffic.jpg'); }
.service-image.event { background-image: url('img/service-event.jpg'); background-color: var(--accent); }
.service-card-body { padding: 32px; }
.service-title {
  font-family: var(--font-heading);
  font-size: 20px; font-weight: 700;
  color: var(--text);
  margin-bottom: 12px;
}
.service-desc {
  color: var(--text-muted);
  font-size: 14px;
  line-height: 1.9;
}

/* ============ NEWS LIST ============ */
.news-list {
  max-width: var(--container-narrow);
  margin: 0 auto;
  border-top: 1px solid var(--border);
}
.news-row {
  display: grid;
  grid-template-columns: 140px 100px 1fr;
  align-items: center;
  gap: 24px;
  padding: 22px 8px;
  border-bottom: 1px solid var(--border);
  transition: background 0.2s;
}
a.news-row { text-decoration: none; }
a.news-row:hover { background: var(--accent-soft); }
a.news-row:hover .news-title { color: var(--accent); }
.news-date {
  font-family: var(--font-heading);
  font-size: 14px;
  color: var(--accent);
  letter-spacing: 0.08em;
}
.news-cat {
  display: inline-block;
  padding: 4px 10px;
  font-size: 11px; font-weight: 700;
  letter-spacing: 0.15em;
  color: white; text-align: center;
  min-width: 72px;
  border-radius: 2px;
}
.news-cat.cat-important { background: var(--cat-important); }
.news-cat.cat-closed    { background: var(--cat-closed); }
.news-cat.cat-notice    { background: var(--cat-notice); }
.news-cat.cat-event     { background: var(--cat-event); }
.news-cat.cat-hire      { background: var(--cat-hire); }
.news-title { font-size: 15px; color: var(--text); line-height: 1.7; }

/* ============ ABOUT ============ */
.about-grid {
  display: grid;
  grid-template-columns: 1fr 1.2fr;
  gap: 80px;
  align-items: center;
}
.about-visual {
  aspect-ratio: 4 / 5;
  background: var(--sub);
  position: relative; overflow: hidden;
  border: 1px solid var(--border);
}
.about-visual::before {
  content: attr(data-kanji);
  position: absolute;
  top: 50%; left: 50%;
  transform: translate(-50%, -50%);
  font-family: var(--font-heading);
  font-size: 280px; font-weight: 900;
  color: var(--accent);
  opacity: 0.12;
}
.about-visual.photo { background: url('img/about-photo.jpg') center/cover no-repeat; border: none; }
.about-visual.photo::before { display: none; }

.about-text .section-label { text-align: left; }
.about-heading {
  font-family: var(--font-heading);
  font-size: 36px; font-weight: 900;
  line-height: 1.4;
  color: var(--text);
  margin-bottom: 28px;
}
.about-heading .mark {
  background: linear-gradient(transparent 65%, var(--accent-soft) 65%, var(--accent-soft) 90%, transparent 90%);
  padding: 0 4px;
}
.about-body {
  color: var(--text-muted);
  font-size: 15px; line-height: 2.1;
  margin-bottom: 32px;
}
.about-body p + p { margin-top: 16px; }
.about-sign {
  display: flex;
  align-items: baseline;
  gap: 16px;
  padding-top: 24px;
  border-top: 1px solid var(--border);
}
.about-sign-label { font-size: 11px; color: var(--text-muted); letter-spacing: 0.2em; }
.about-sign-name {
  font-family: var(--font-heading);
  font-size: 18px; font-weight: 700;
  color: var(--text);
}

/* ============ COMPANY TABLE ============ */
.company-table {
  max-width: 880px;
  margin: 0 auto;
  border-top: 1px solid var(--border);
}
.company-row {
  display: grid;
  grid-template-columns: 240px minmax(0, 1fr);
  padding: 26px 24px;
  border-bottom: 1px solid var(--border);
  align-items: start;
}
.company-row dt {
  font-family: var(--font-heading);
  font-size: 14px;
  color: var(--accent);
  font-weight: 700;
  letter-spacing: 0.1em;
  min-width: 0;
}
.company-row dd {
  color: var(--text);
  font-size: 15px;
  line-height: 1.9;
  min-width: 0;
  overflow-wrap: break-word;
}

/* ============ CONTACT ============ */
.contact-box {
  max-width: var(--container-narrow);
  margin: 0 auto;
  background: var(--base);
  border: 1px solid var(--border);
  border-left: 4px solid var(--accent);
  padding: 64px 56px;
  position: relative;
}
.contact-title {
  font-family: var(--font-heading);
  font-size: 32px; font-weight: 900;
  color: var(--text);
  margin-bottom: 16px;
  line-height: 1.4;
}
.contact-lead {
  color: var(--text-muted);
  margin-bottom: 40px;
  font-size: 15px;
  line-height: 2;
}
.contact-tel {
  padding: 28px;
  background: var(--sub);
  border: 1px solid var(--border);
  margin-bottom: 36px;
}
.contact-tel-label { font-size: 11px; color: var(--accent); letter-spacing: 0.3em; margin-bottom: 12px; font-weight: 600; }
.contact-tel-value {
  font-family: var(--font-heading);
  font-size: 28px; font-weight: 700;
  color: var(--text);
  margin-bottom: 8px; word-break: break-all;
}
.contact-tel-sub { font-size: 12px; color: var(--text-muted); }

.contact-form { display: grid; gap: 18px; }
.form-row { display: grid; gap: 6px; }
.form-row.two-col { grid-template-columns: 1fr 1fr; gap: 18px; }
.form-label { font-size: 12px; color: var(--accent); letter-spacing: 0.15em; font-weight: 600; }
.form-label .required { color: var(--cat-important); margin-left: 6px; font-size: 10px; }
.form-input, .form-textarea {
  width: 100%; padding: 12px 14px;
  font-family: inherit; font-size: 15px;
  color: var(--text);
  background: var(--base);
  border: 1px solid var(--border);
  transition: border-color 0.2s, box-shadow 0.2s;
}
.form-input:focus, .form-textarea:focus {
  outline: none;
  border-color: var(--accent);
  box-shadow: 0 0 0 3px color-mix(in srgb, var(--accent), transparent 85%);
}
.form-textarea { resize: vertical; min-height: 140px; line-height: 1.8; }
.dob-selects {
  display: flex;
  align-items: center;
  gap: 8px;
  flex-wrap: wrap;
}
.dob-selects select.form-input {
  width: auto;
  min-width: 92px;
  padding: 12px 10px;
}
.dob-selects .dob-unit {
  font-size: 14px;
  color: var(--text-muted);
}
@media (max-width: 480px) {
  .dob-selects { gap: 5px; }
  .dob-selects select.form-input { flex: 1; min-width: 0; padding: 12px 6px; }
  .dob-selects .dob-unit { font-size: 13px; }
}
.form-consent {
  display: flex; align-items: flex-start; gap: 10px;
  font-size: 13px; color: var(--text-muted); line-height: 1.7;
}
.form-consent input { margin-top: 4px; flex-shrink: 0; }
.form-submit-row { display: flex; justify-content: flex-end; margin-top: 8px; }
.form-submit {
  padding: 16px 48px;
  font-size: 14px; font-weight: 700;
  letter-spacing: 0.15em;
  color: var(--text-on-accent);
  background: var(--accent);
  border: none; cursor: pointer;
  transition: all 0.25s;
  display: inline-flex; align-items: center; gap: 12px;
  font-family: inherit;
}
.form-submit:hover { background: var(--accent-hover); transform: translateX(4px); }
.contact-map {
  margin-top: 36px;
  border: 1px solid var(--border);
  overflow: hidden;
}
.contact-map iframe { width: 100%; height: 320px; border: 0; display: block; }

/* ============ ACCESS MAP MODAL ============ */
.access-map-trigger-wrap {
  text-align: center;
  margin-top: 20px;
}
.access-map-trigger {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  background: var(--accent);
  color: var(--text-on-accent);
  border: none;
  padding: 13px 28px;
  font-family: var(--font-heading);
  font-size: 14px;
  font-weight: 700;
  letter-spacing: 0.05em;
  cursor: pointer;
  transition: background 0.2s ease, transform 0.2s ease, box-shadow 0.2s ease;
}
.access-map-trigger:hover {
  background: var(--accent-hover);
  transform: translateY(-2px);
  box-shadow: 0 10px 20px -10px color-mix(in srgb, var(--accent), transparent 45%);
}
.access-map-trigger svg { width: 16px; height: 16px; flex-shrink: 0; }
.footer-btn-row {
  display: flex;
  gap: 8px;
  flex-wrap: wrap;
}
.footer-links .footer-map-btn {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  margin-top: 2px;
  padding: 7px 18px;
  background: transparent;
  border: 1px solid rgba(255,255,255,0.4);
  color: rgba(255,255,255,0.85);
  font-family: var(--font-heading);
  font-size: 12px;
  font-weight: 700;
  letter-spacing: 0.12em;
  text-decoration: none;
  cursor: pointer;
  transition: background 0.2s ease, color 0.2s ease, border-color 0.2s ease;
}
.footer-links .footer-map-btn:hover {
  background: #fff;
  color: var(--accent);
  border-color: #fff;
}
.footer-links .footer-map-btn svg { flex-shrink: 0; }
.map-modal {
  display: none;
  position: fixed;
  inset: 0;
  z-index: 2000;
  background: rgba(15,18,24,0.82);
  padding: 32px 20px;
  overflow-y: auto;
}
.map-modal.open {
  display: flex;
  align-items: flex-start;
  justify-content: center;
}
.map-modal-content {
  width: 100%;
  max-width: 880px;
  margin: auto;
}
.map-modal-close {
  display: flex;
  align-items: center;
  margin: 0 0 12px auto;
  background: #fff;
  color: var(--text);
  border: none;
  border-radius: 999px;
  padding: 9px 22px;
  font-family: var(--font-heading);
  font-size: 13px;
  font-weight: 700;
  letter-spacing: 0.05em;
  cursor: pointer;
  transition: opacity 0.2s ease;
}
.map-modal-close:hover { opacity: 0.82; }
.map-modal-content img {
  width: 100%;
  height: auto;
  display: block;
  border-radius: 6px;
  box-shadow: 0 24px 60px -20px rgba(0,0,0,0.55);
}
@keyframes mapModalIn {
  from { opacity: 0; transform: translateY(14px); }
  to   { opacity: 1; transform: translateY(0); }
}
.map-modal.open .map-modal-content {
  animation: mapModalIn 0.3s ease-out both;
}

/* ============ FOOTER ============ */
.footer {
  background: var(--accent);
  color: var(--text-on-accent);
  padding: 36px 40px 18px;
}
.footer-inner { max-width: var(--container); margin: 0 auto; }
.footer-top {
  display: grid;
  grid-template-columns: 1.5fr 1fr;
  gap: 48px;
  padding-bottom: 22px;
  border-bottom: 1px solid rgba(255,255,255,0.15);
}
.footer-logo { margin-bottom: 14px; }
.footer-nav {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 6px 28px;
  padding: 14px 0;
  border-bottom: 1px solid rgba(255,255,255,0.15);
}
.footer-nav a {
  color: rgba(255,255,255,0.78);
  font-size: 13px;
  text-decoration: none;
  letter-spacing: 0.05em;
  transition: color 0.2s;
}
.footer-nav a:hover { color: var(--text-on-accent); }
@media (max-width: 700px) {
  .footer-nav { gap: 4px 18px; font-size: 12px; padding: 12px 0; }
  .footer-nav a { font-size: 12px; }
}
.footer .logo { color: var(--text-on-accent); }
.footer-tagline {
  color: rgba(255,255,255,0.75);
  font-size: 13px; line-height: 1.9;
}
.footer-head {
  font-family: var(--font-heading);
  font-size: 13px;
  color: var(--text-on-accent);
  margin-bottom: 18px;
  letter-spacing: 0.15em;
  font-weight: 700;
}
.footer-links { list-style: none; }
.footer-links li { margin-bottom: 10px; }
.footer-links a {
  color: rgba(255,255,255,0.75);
  font-size: 13px;
  transition: color 0.2s;
}
.footer-links a:hover { color: var(--text-on-accent); }
.footer-bottom {
  display: flex;
  justify-content: center;
  padding-top: 14px;
  color: rgba(255,255,255,0.5);
  font-size: 12px;
  letter-spacing: 0.05em;
  text-align: center;
}

/* ============ ANIMATIONS ============ */
@keyframes fadeUp {
  from { opacity: 0; transform: translateY(20px); }
  to   { opacity: 1; transform: translateY(0); }
}
.home-hero > * { animation: fadeUp 0.8s ease-out both; }
.page-hero > * { animation: fadeUp 0.6s ease-out both; }

/* ============ RESPONSIVE ============ */
@media (max-width: 900px) {
  .header-inner { padding: 12px 16px; }
  .logo-img { height: 38px; }

  /* ハンバーガー表示 */
  .nav-toggle { display: flex; }

  /* ナビをドロップダウンパネル化 */
  .nav-links {
    position: absolute;
    top: 100%; left: 0; right: 0;
    background: var(--base);
    border-top: 1px solid var(--border);
    flex-direction: column;
    gap: 0;
    padding: 4px 0 12px;
    max-height: calc(100vh - 64px);
    overflow-y: auto;
    transform: translateY(-8px);
    opacity: 0;
    pointer-events: none;
    transition: transform 0.25s ease-out, opacity 0.2s;
    box-shadow: 0 20px 40px -12px rgba(0,0,0,0.1);
  }
  .nav-links.open {
    transform: translateY(0);
    opacity: 1;
    pointer-events: auto;
  }
  .nav-links li {
    width: 100%;
    border-bottom: 1px solid var(--border);
  }
  .nav-links li:last-child { border-bottom: none; }
  .nav-links li.mobile-keep { border-bottom: none; }
  .nav-links a {
    display: block;
    padding: 14px 20px;
    font-size: 15px;
  }
  .nav-cta {
    margin: 10px 16px 4px;
    padding: 14px 22px !important;
    text-align: center;
    justify-content: center;
    border-radius: 4px;
  }

  section { padding: 64px 20px; }
  .home-hero { padding: 90px 20px 56px; min-height: 70vh; }
  .home-hero h1 { font-size: 36px; line-height: 1.3; }
  .hero-sub { font-size: 15px; }
  .page-hero { padding: 90px 20px 56px; }
  .page-hero h1 { font-size: 26px; line-height: 1.35; }
  .page-hero::after { font-size: 90px; right: -20px; bottom: -20px; }
  .section-title { font-size: 26px; line-height: 1.4; }
  .section-head { margin-bottom: 40px; }
  .services-grid { grid-template-columns: 1fr !important; gap: 20px; }
  .service-card-body { padding: 24px 22px; }
  .service-title { font-size: 18px; }
  .news-row { grid-template-columns: 1fr; gap: 6px; padding: 16px 6px; }
  .news-cat { justify-self: start; }
  .about-grid { grid-template-columns: 1fr; gap: 36px; }
  .about-heading { font-size: 22px; line-height: 1.55; }
  .company-row { grid-template-columns: minmax(0, 1fr); gap: 6px; padding: 16px 10px; }
  .contact-box { padding: 36px 22px; }
  .contact-title { font-size: 22px; line-height: 1.5; }
  .contact-tel { padding: 18px; margin-bottom: 22px; }
  .contact-tel-value { font-size: 22px; }
  .form-row.two-col { grid-template-columns: 1fr; gap: 16px; }
  .form-submit { padding: 14px 32px; width: 100%; justify-content: center; }
  .form-submit-row { justify-content: stretch; }
  .contact-map iframe { height: 220px; }
  .footer { padding: 48px 20px 24px; }
  .footer-top { grid-template-columns: 1fr; gap: 28px; }
  .footer-bottom { flex-direction: column; gap: 8px; text-align: center; }
}

@media (max-width: 480px) {
  .home-hero h1 { font-size: 28px; }
  .page-hero h1 { font-size: 22px; }
  .section-title { font-size: 22px; }
  .about-heading { font-size: 20px; }
  .contact-title { font-size: 20px; }
  .hero-cta { flex-direction: column; align-items: stretch; }
  .hero-cta .btn { justify-content: center; }
  section { padding: 56px 18px; }
  .home-hero { padding: 80px 18px 48px; }
  .page-hero { padding: 80px 18px 48px; }
}

/* ============ FOOTER COMPANY NAME ============ */
.footer-company-name {
  font-family: var(--font-heading);
  font-size: 28px;
  font-weight: 900;
  letter-spacing: 0.04em;
  line-height: 1.2;
  display: inline-block;
}

/* ============ RECRUIT BODY GRID (本文+写真の2カラム) ============ */
.recruit-body-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 40px;
  align-items: start;
}
.recruit-body-photo img {
  width: 100%;
  height: auto;
  display: block;
  border: 1px solid var(--border);
}
@media (max-width: 700px) {
  .recruit-body-grid {
    grid-template-columns: 1fr;
    gap: 24px;
  }
  .recruit-body-photo {
    max-width: 520px;
    margin: 0 auto;
  }
}

/* ============ RECRUIT POINTS (採用ポイント カード) ============ */
.recruit-points-head {
  text-align: center;
  margin-bottom: 32px;
}
.recruit-points-eyebrow {
  font-family: var(--font-heading);
  font-size: 11px;
  font-weight: 700;
  color: var(--accent);
  letter-spacing: 0.3em;
  margin-bottom: 14px;
}
.recruit-points-title {
  font-family: var(--font-heading);
  font-size: 26px;
  font-weight: 900;
  color: var(--text);
  line-height: 1.5;
  margin: 0;
}
.recruit-points-title .accent { color: var(--accent); }
.recruit-points-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 16px;
  margin-bottom: 44px;
}
@media (max-width: 700px) {
  .recruit-points-grid { grid-template-columns: repeat(2, 1fr); }
}
@media (max-width: 480px) {
  .recruit-points-grid { grid-template-columns: 1fr; }
}
.recruit-point {
  padding: 24px 22px 22px;
  background: var(--base);
  border: 1px solid var(--border);
  border-top: 3px solid var(--accent);
  transition: transform 0.25s ease, box-shadow 0.25s ease;
  position: relative;
}
.recruit-point:hover {
  transform: translateY(-3px);
  box-shadow: 0 12px 24px -16px color-mix(in srgb, var(--accent), transparent 60%);
}
.recruit-point-num {
  font-family: var(--font-heading);
  font-size: 11px;
  color: var(--accent);
  letter-spacing: 0.2em;
  font-weight: 700;
  margin-bottom: 10px;
}
.recruit-point-text {
  font-family: var(--font-heading);
  font-size: 16px;
  font-weight: 700;
  color: var(--text);
  line-height: 1.6;
}

/* ============ PARAGRAPH HALF GAP (通常1行より狭い段落間隔) ============ */
.gap-half {
  display: block;
  height: 0.7em;
  content: '';
}

/* ============ INSTAGRAM STRIP (トップページ) ============ */
.instagram-strip { padding: 56px 40px; background: var(--base); }
@media (max-width: 900px) {
  .instagram-strip { padding: 56px 20px; }
}

/* ============ HEADER ANIMATIONS ============ */
.logo {
  transition: transform 0.3s cubic-bezier(.2,.7,.2,1), opacity 0.3s ease;
}
.logo:hover {
  transform: translateY(-2px);
  opacity: 0.92;
}

.nav-links a:not(.nav-cta):not(.nav-social-link) {
  position: relative;
  padding: 4px 0;
}
.nav-links a:not(.nav-cta):not(.nav-social-link)::after {
  content: '';
  position: absolute;
  left: 50%;
  bottom: -2px;
  width: 0;
  height: 2px;
  background: var(--accent);
  transition: width 0.3s ease, left 0.3s ease;
}
.nav-links a:not(.nav-cta):not(.nav-social-link):hover::after,
.nav-links a.current:not(.nav-cta):not(.nav-social-link)::after {
  width: 100%;
  left: 0;
}

.nav-cta {
  transition: background 0.2s ease, transform 0.2s ease, box-shadow 0.2s ease;
}
.nav-cta:hover {
  transform: translateY(-2px);
  box-shadow: 0 8px 16px -8px color-mix(in srgb, var(--accent), transparent 50%);
}

.nav-social-link {
  display: inline-flex !important;
  align-items: center;
  justify-content: center;
  width: 36px;
  height: 36px;
  padding: 0 !important;
  border-radius: 8px;
  background: transparent;
  color: var(--text) !important;
  transition: color 0.25s ease, transform 0.25s ease;
  flex-shrink: 0;
}
.nav-social-link:hover {
  color: var(--accent) !important;
  transform: translateY(-2px);
}
.nav-social-link svg {
  width: 24px;
  height: 24px;
  display: block;
}

@media (max-width: 900px) {
  /* メニュー項目: 左右に余白を確保し、右端にシェブロンを表示 */
  .nav-links a:not(.nav-cta):not(.nav-social-link) {
    padding: 16px 24px;
    display: flex;
    align-items: center;
    justify-content: space-between;
    font-size: 16px;
  }
  .nav-links a:not(.nav-cta):not(.nav-social-link)::after {
    content: '\203A';
    display: block;
    position: static;
    width: auto;
    height: auto;
    background: none;
    color: var(--text-muted);
    font-size: 20px;
    line-height: 1;
    transition: none;
  }
  /* デスクトップの下線アニメ(width:100%)を打ち消し、タップ時の一瞬の崩れを防止 */
  .nav-links a:not(.nav-cta):not(.nav-social-link):hover::after {
    width: auto;
  }
  /* 現在表示中のページを淡いアクセント色でハイライト */
  .nav-links a.current:not(.nav-cta):not(.nav-social-link) {
    background: var(--accent-soft);
  }
  .nav-links a.current:not(.nav-cta):not(.nav-social-link)::after {
    width: auto;
    color: var(--accent);
  }
  .nav-links a.nav-social-link {
    margin: 12px auto;
    width: 44px;
    height: 44px;
    display: flex !important;
    border-radius: 12px;
  }
}
