/* ===== [TRIAL] フォント設定：見出し=明朝(Noto Serif JP) / 本文=ゴシック(Noto Sans JP) ===== */
:root {
  --font-mincho: 'Noto Serif JP', 'Hiragino Mincho ProN', 'Yu Mincho', serif;
}
/* ヘッダーをスクロールで流す */
.header { position: relative !important; }
/* メニューを絶対配置にして、開いても後続要素を押し下げない */
.mobile-menu { position: absolute; top: 100%; left: 0; right: 0; z-index: 1000; }
body { padding-top: 0 !important; }
html, body { overflow-x: clip !important; }
/* 本文は従来通りゴシックを維持。サイズだけ少し引き上げて可読性UP */
body {
  font-size: 16px;
  line-height: 1.8;
}
/* 見出しのみ明朝で品格を出す */
h1, h2, h3, h4, h5, h6,
.section-title-ja,
.section-heading,
.page-hero-title,
.page-hero-title-ja,
.page-hero-heading,
.feature-card-title,
.service-card-title,
.svc-card-title,
.svc-card-title--sm,
.cat-title,
.cta-title {
  font-family: var(--font-mincho);
  font-weight: 700;
  letter-spacing: 0.04em;
}
/* 特に大きな見出しは weight 600 で抜け感を保つ */
.page-hero-title,
.page-hero-title-ja,
.page-hero-heading {
  font-weight: 600;
  letter-spacing: 0.06em; font-family: 'Noto Serif JP', serif;}
/* 英字部分はそのままセリフ（Cormorant Garamond）を維持 — 変更しない */

/* ===== Page Hero — Dark with background image ===== */
.page-hero {
  background: var(--navy);
  padding: 56px 0 48px;
  position: relative;
  overflow: hidden;
  border-bottom: 1px solid var(--gray-200);
  background-size: cover;
  background-position: center;
}
.page-hero::before {
  content: '';
  position: absolute;
  inset: 0;
  background: linear-gradient(to bottom, rgba(26,26,46,0.55) 0%, rgba(26,26,46,0.7) 100%);
  z-index: 1;
}
.page-hero::after {
  content: '';
  position: absolute;
  top: -120px;
  right: -120px;
  width: 400px;
  height: 400px;
  border: 1px solid rgba(178,130,71,0.15);
  border-radius: 50%;
  pointer-events: none;
  z-index: 2;
}
.page-hero .container { position: relative; z-index: 3; }
.page-hero-label {
  font-family: var(--font-en);
  font-size: 14px;
  font-weight: 600;
  color: var(--gold);
  letter-spacing: 0.25em;
  margin-bottom: 24px;
  display: block;
}
.page-hero-heading {
  font-size: 32px;
  font-weight: 900;
  color: var(--white);
  line-height: 1.5;
  letter-spacing: 0.04em;
  margin-bottom: 20px; font-family: 'Noto Serif JP', serif;}
.pc-br { display: block; }
@media (max-width: 768px) { .pc-br { display: none; } }
.page-hero-lead {
  font-size: 18px;
  color: rgba(255,255,255,0.85);
  line-height:1.6;
  max-width: 900px;
}
.breadcrumb {
  font-size: 13px;
  color: rgba(255,255,255,0.6);
  margin-bottom: 32px;
}
.breadcrumb a {
  color: rgba(255,255,255,0.6);
}

/* ===== Intro ===== */
.intro-section {
  padding: 48px 0 40px;
  background: var(--white);
}
.intro-layout {
  display: grid;
  grid-template-columns: 1fr 480px;
  gap: 40px;
  align-items: start;
}
.intro-heading {
  font-size: 24px;
  font-weight: 900;
  color: var(--navy);
  line-height: 1.6;
  margin-bottom: 16px; font-family: 'Noto Serif JP', serif;}
.intro-text {
  font-size: 16px;
  color: var(--text-body);
  line-height:1.7;
  margin-bottom: 0;
}
.intro-image {
  width: 100%;
  aspect-ratio: 4/3;
}

/* ===== Support Areas ===== */
.areas-section {
  padding: 64px 0 48px;
  background: var(--white);
}
.area-item {
  display: grid;
  grid-template-columns: 72px 1fr;
  gap: 13px;
  padding: 48px 0;
  border-bottom: 1px solid var(--gray-200);
  align-items: start;
}
.area-item:first-child { padding-top: 0; }
.area-item:last-child { border-bottom: none; }
.area-num {
  font-family: var(--font-en);
  font-size: 62px;
  font-weight: 700;
  color: rgba(178, 130, 71, 0.55);
  line-height: 1;
}
.area-title {
  font-size: 22px;
  font-weight: 700;
  color: var(--navy);
  margin-bottom: 14px;
  line-height: 1.5; font-family: 'Noto Serif JP', serif;}
.area-text {
  font-size: 18px;
  color: var(--text-body);
  line-height:1.6;
}
.area-tags {
  margin-top: 16px;
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
}
.area-tag {
  font-size: 13px;
  font-weight: 500;
  color: var(--navy);
  background: var(--white);
  border: 1px solid var(--gray-200);
  padding: 6px 16px;
  display: inline-block;
}

/* ===== Approach ===== */
.approach-section {
  padding: var(--section-pad) 0;
  background: var(--white);
}
.approach-layout {
  display: grid;
  grid-template-columns: 480px 1fr;
  gap: 64px;
  align-items: start;
  margin-top: 56px;
}
.approach-image {
  width: 100%;
  aspect-ratio: 4/3;
}
.approach-item {
  padding: 32px 0;
  border-bottom: 1px solid var(--gray-100);
}
.approach-item:first-child { padding-top: 0; }
.approach-item:last-child { border-bottom: none; }
.approach-item-num {
  font-family: var(--font-en);
  font-size: 12px;
  font-weight: 600;
  color: var(--gold);
  letter-spacing: 0.2em;
  margin-bottom: 10px;
  display: block;
}
.approach-item-title {
  font-size: 20px;
  font-weight: 700;
  color: var(--navy);
  margin-bottom: 10px;
  line-height: 1.5;
}
.approach-item-text {
  font-size: 18px;
  color: var(--text-muted);
  line-height:1.6;
}

/* ===== Flow ===== */
.flow-grid {
  grid-template-columns: 1fr 24px 1fr 24px 1fr 24px 1fr;
}

.flow-step {
  display: grid;
  grid-template-columns: 100px 1fr;
  gap: 40px;
  padding: 40px 0;
  border-bottom: 1px solid var(--gray-200);
  align-items: start;
}
.flow-step:first-child { padding-top: 0; }
.flow-step:last-child { border-bottom: none; }
.flow-step-num {
  font-family: var(--font-en);
  font-size: 14px;
  font-weight: 600;
  color: var(--gold);
  letter-spacing: 0.15em;
  padding-top: 4px;
}
.flow-step-title {
  font-size: 20px;
  font-weight: 700;
  color: var(--navy);
  margin-bottom: 10px;
}
.flow-step-text {
  font-size: 18px;
  color: var(--text-body);
  line-height:1.6;
}

/* ===== Contact Form ===== */
.form-section {
  padding: var(--section-pad) 0;
  background: var(--white);
}
.form-wrap {
  max-width: 720px;
  margin: 0 auto;
}
.form-group {
  margin-bottom: 32px;
}
.form-label {
  display: block;
  font-size: 15px;
  font-weight: 700;
  color: var(--navy);
  margin-bottom: 10px;
  letter-spacing: 0.02em;
}
.form-label .required {
  font-size: 12px;
  font-weight: 700;
  color: var(--brand);
  margin-left: 8px;
}
.form-input,
.form-textarea,
.form-select {
  width: 100%;
  padding: 14px 18px;
  font-size: 16px;
  font-family: var(--font-ja);
  border: 1px solid var(--gray-200);
  background: var(--gray-50);
  color: var(--text-primary);
  outline: none;
}
.form-select {
  appearance: none;
  -webkit-appearance: none;
  -moz-appearance: none;
  background-image: url("data:image/svg+xml,%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' stroke='%23333' stroke-width='1.5' fill='none' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E");
  background-repeat: no-repeat;
  background-position: right 16px center;
  padding-right: 44px;
  cursor: pointer;
}
.form-textarea {
  min-height: 180px;
  resize: vertical;
}
.form-submit {
  display: block;
  width: 100%;
  max-width: 360px;
  margin: 40px auto 0;
  padding: 18px 36px;
  background: var(--brand);
  color: var(--white);
  font-size: 16px;
  font-weight: 700;
  font-family: var(--font-ja);
  border: none;
  border-radius: 4px;
  cursor: pointer;
  letter-spacing: 0.04em;
}
.form-note {
  font-size: 14px;
  color: var(--text-muted);
  text-align: center;
  margin-top: 20px;
  line-height:1.7;
}

/* ===== Page Nav ===== */
.page-nav {
  background: var(--off-white);
  padding: 20px 0;
  border-bottom: 1px solid var(--gray-200);
  position: sticky;
  top: 0;
  z-index: 100;
  width: 100%;
}
.page-nav.is-stuck { position: sticky; top: 0; }
.page-nav-spacer { display: none; }
.page-nav.is-stuck + .page-nav-spacer { display: none; }
.page-nav-inner {
  display: flex;
  gap: 32px;
}
.page-nav-inner a {
  font-size: 14px;
  font-weight: 600;
  color: var(--navy);
  letter-spacing: 0.02em;
  padding: 8px 0;
  border-bottom: 2px solid transparent;
  text-decoration: none;
  white-space: nowrap;
}
.page-nav-inner a:hover {
  border-bottom-color: var(--gold);
}

/* ===== HR Consultant Chronicle — Light, refined ===== */
.hrc-section {
  padding: var(--section-pad) 0;
  background: var(--off-white);
  position: relative;
  overflow: hidden;
  border-top: 3px solid var(--brand);
}
.hrc-section::before {
  content: '';
  position: absolute;
  top: -160px;
  right: -160px;
  width: 500px;
  height: 500px;
  border: 1px solid var(--gold-muted);
  border-radius: 50%;
  pointer-events: none;
}
.hrc-badge {
  display: inline-block;
  font-family: var(--font-en);
  font-size: 12px;
  font-weight: 700;
  color: var(--brand);
  letter-spacing: 0.2em;
  border: 1px solid var(--brand-muted);
  padding: 6px 18px;
  margin-bottom: 24px;
  background: var(--white);
}
.hrc-heading {
  font-size: 32px;
  font-weight: 900;
  color: var(--navy);
  line-height: 1.6;
  margin-bottom: 20px;
}
.hrc-lead {
  font-size: 17px;
  color: var(--text-muted);
  line-height:1.6;
  max-width: 700px;
  margin-bottom: 48px;
}
.hrc-features {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
  margin-bottom: 56px;
}
.hrc-feature {
  padding: 28px 24px;
  background: var(--white);
  border: 1px solid var(--gray-200);
  border-top: 2px solid var(--gold);
}
.hrc-feature-num {
  font-family: var(--font-en);
  font-size: 28px;
  font-weight: 700;
  color: rgba(178,130,71,0.3);
  margin-bottom: 12px;
}
.hrc-feature-title {
  font-size: 17px;
  font-weight: 700;
  color: var(--navy);
  margin-bottom: 10px;
  line-height: 1.5;
}
.hrc-feature-text {
  font-size: 14px;
  color: var(--text-muted);
  line-height:1.7;
}
.hrc-form-wrap {
  max-width: 640px;
  background: var(--white);
  border: 1px solid var(--gray-200);
  padding: 48px 40px;
}
.hrc-form-heading {
  font-size: 20px;
  font-weight: 700;
  color: var(--navy);
  margin-bottom: 8px;
}
.hrc-form-sub {
  font-size: 14px;
  color: var(--text-muted);
  margin-bottom: 32px;
}
.hrc-form-group {
  margin-bottom: 24px;
}
.hrc-form-label {
  display: block;
  font-size: 14px;
  font-weight: 700;
  color: var(--navy);
  margin-bottom: 8px;
}
.hrc-form-label .required {
  font-size: 11px;
  font-weight: 700;
  color: var(--brand);
  margin-left: 6px;
}
.hrc-form-input,
.hrc-form-textarea,
.hrc-form-select {
  width: 100%;
  padding: 12px 16px;
  font-size: 15px;
  font-family: var(--font-ja);
  border: 1px solid var(--gray-200);
  background: var(--gray-50);
  color: var(--text-primary);
  outline: none;
}
.hrc-form-input::placeholder,
.hrc-form-textarea::placeholder {
  color: var(--gray-400);
}
.hrc-form-textarea {
  min-height: 120px;
  resize: vertical;
}
.hrc-form-select {
  appearance: none;
  cursor: pointer;
}
.hrc-form-submit {
  display: block;
  width: 100%;
  max-width: 320px;
  margin: 32px 0 0;
  padding: 16px 32px;
  background: var(--brand);
  color: var(--white);
  font-size: 15px;
  font-weight: 700;
  font-family: var(--font-ja);
  border: none;
  cursor: pointer;
  letter-spacing: 0.04em;
  border-radius: 4px;
  transition: background 0.3s;
}
.hrc-form-submit:hover { background: var(--brand-light); }
.hrc-form-note {
  font-size: 13px;
  color: var(--text-muted);
  margin-top: 16px;
  line-height:1.7;
}
.hrc-form-note a {
  color: var(--gray-500);
  text-decoration: underline;
}

/* ===== Responsive ===== */
@media (max-width: 768px) {
  /* SP版はヘッダー固定（PC版はrelativeのまま） */
  .header { position: fixed !important; }
  body { padding-top: 52px !important; }
  .page-hero { padding: 48px 0 40px; }
  .page-hero-heading { font-size: 32px; font-family: 'Noto Serif JP', serif;}
  .intro-layout { grid-template-columns: 1fr; gap: 32px; }
  .approach-layout { grid-template-columns: 1fr; gap: 32px; }
  .area-item { grid-template-columns: 60px 1fr; gap: 20px; }
  .area-num { font-size: 36px; }
  .flow-step { grid-template-columns: 1fr; gap: 12px; }
  .page-nav { padding: 10px 0; top: 52px; }
  .page-nav-inner { flex-wrap: nowrap; overflow-x: auto; gap: 8px; padding: 0 16px; }
  .page-nav-inner a { flex-shrink: 0; padding: 6px 12px; font-size: 12px; }
  .page-nav.is-stuck { top: 52px; }
  .hrc-heading { font-size: 24px; }
  .hrc-features { grid-template-columns: 1fr; }
  .hrc-form-wrap { padding: 32px 20px; }
  .summary-grid { grid-template-columns: 1fr !important; }
  .service-grid { grid-template-columns: 1fr !important; }
  .flow-grid { grid-template-columns: repeat(2,1fr) !important; }
  .area-num { font-size: 28px; }
  .area-text { font-size: 14px; }
  /* ご相談の流れ SP */
  #flow .section-label,
  #flow .section-heading { text-align: center; }
  .flow-grid {
    grid-template-columns: 1fr !important;
    gap: 0 !important;
  }
  .flow-grid > div[style*="display:flex"] {
    transform: rotate(90deg);
    margin: 4px auto;
    width: 20px;
  }
}

/* ===== サービスカード 新スタイル（見出し赤背景 / 本文白背景 / 見出し高さ揃え） ===== */
.svc-card {
  display: flex;
  flex-direction: column;
  background: var(--white);
  border: 1px solid var(--gray-200);
  border-radius: 4px;
  text-decoration: none;
  overflow: hidden;
  transition: box-shadow 0.2s, transform 0.15s;
}
.svc-card:hover {
  box-shadow: 0 8px 24px rgba(0,0,0,0.1);
  transform: translateY(-2px);
}
.svc-card-head {
  background: var(--brand);
  color: var(--white);
  padding: 9px 10px;
  min-height: 74px;
  display: flex;
  align-items: center;
  justify-content: center;
  text-align: center;
  box-sizing: border-box;
}
.svc-card-title {
  font-size: 20px;
  font-weight: 700;
  color: var(--white);
  line-height: 1.3;
}
.svc-card-title--sm {
  font-size: 20px;
  line-height: 1.3;
}
.svc-card-body {
  padding: 16px 16px 16px;
  display: flex;
  flex-direction: column;
  flex: 1;
  min-height: 200px;            /* カード高さの最低基準（位置揃えの土台） */
}
.svc-card-desc {
  font-size: 15px;
  color: var(--text-body);
  line-height: 1.7;
  flex: 1;
}
.svc-card-bullets {
  list-style: none;
  padding: 0;
  margin: 0 0 12px 0;
  flex: 1;                       /* 箇条書きが伸縮、moreは下端に押し出される */
}
.svc-card-bullets li {
  font-size: 16px;
  color: var(--text-body);
  line-height: 1.7;
  padding-left: 1em;
  text-indent: -1em;
  margin-bottom: 8px;
}
.svc-card-bullets li::before {
  content: "・";
  color: var(--brand);
  font-weight: 700;
}
.svc-card-more {
  display: block;
  margin-top: auto;              /* ★ 必ずカード右下に固定 */
  padding-top: 10px;
  font-size: 13px;
  font-weight: 700;
  color: var(--brand);
  text-align: right;
  letter-spacing: 0.05em;
}
@media(max-width:768px){
  .svc-card-head { height: auto; min-height: 50px; padding: 7px 10px; }
  .svc-card-title { font-size: 17px; }
  .svc-card-title--sm { font-size: 17px; }
  .svc-card-body { padding: 12px; min-height: 0; }
  .svc-card-bullets li { font-size: 15px; }
}

/* ===== [NEW] 大理石基調背景（images/marble-bg.jpg を使用） ===== */
#services {
  background:
    url('/images/marble-bg.jpg') center center / cover no-repeat,
    #fafaf7 !important;
  position: relative;
}
/* 大理石を主役に。文字の可読性は、必要な箇所（カードや見出し背面）でのみ局所的に確保 */
#services .container { position: relative; z-index: 1; }

/* ===== [NEW] カテゴリ見出し（h3）装飾 ===== */
#services h3[id^="cat-"] {
  display: inline-block;
  color: var(--gold) !important;
  font-size: 26px !important;
  font-weight: 700 !important;
  letter-spacing: 0.06em;
  position: relative;
  padding-bottom: 12px;
  margin-bottom: 28px !important; font-family: 'Noto Serif JP', serif;}
#services h3[id^="cat-"]::after {
  content: '';
  position: absolute;
  left: 0;
  bottom: 0;
  width: 100%;
  height: 2px;
  background: linear-gradient(90deg, #b2823f 0%, #e8c987 100%);
}

/* ===== [NEW] セクションタイトル「サービス一覧」単色 ===== */
#services .section-heading {
  color: var(--navy);
  letter-spacing: 0.08em;
}

/* ===== [NEW] サービスカード自体にも高級感（影＋ゴールドの細枠アクセント） ===== */
.svc-card {
  background: linear-gradient(180deg, #ffffff 0%, #fdfcf9 100%);
  border: 1px solid rgba(178,130,71,0.18);
  box-shadow: 0 2px 8px rgba(26,26,46,0.04), 0 1px 2px rgba(26,26,46,0.03);
  position: relative;
}
.svc-card::before {
  content: '';
  position: absolute;
  top: 0; left: 0; right: 0;
  height: 2px;
  background: linear-gradient(90deg, transparent 0%, rgba(178,130,71,0.4) 50%, transparent 100%);
  opacity: 0;
  transition: opacity 0.3s;
  z-index: 2;
}
.svc-card:hover {
  box-shadow: 0 12px 32px rgba(26,26,46,0.12), 0 4px 8px rgba(178,130,71,0.08);
  transform: translateY(-3px);
  border-color: rgba(178,130,71,0.35);
}
.svc-card:hover::before {
  opacity: 1;
}

/* カードヘッダー（赤）も上品なグラデーションに */
.svc-card-head {
  background: linear-gradient(135deg, #8a1f2b 0%, #9c2e3d 50%, #7a1822 100%);
  position: relative;
}
.svc-card-head::after {
  content: '';
  position: absolute;
  left: 0; right: 0; bottom: 0;
  height: 1px;
  background: linear-gradient(90deg, transparent, rgba(212,175,106,0.5), transparent);
}

.section-heading { font-family: 'Noto Serif JP', serif; }
