/* HRK総合コンサルティング株式会社 共通スタイル */
:root {
  --navy: #14284b;
  --navy-2: #1f3a66;
  --accent: #b8925a;
  --ink: #222831;
  --muted: #5c6470;
  --line: #e3e6ea;
  --bg: #ffffff;
  --bg-soft: #f5f6f8;
  --max: 1080px;
}

* { box-sizing: border-box; margin: 0; padding: 0; }

html { scroll-behavior: smooth; }

body {
  font-family: "Noto Sans JP", "Hiragino Kaku Gothic ProN", "Yu Gothic", Meiryo, sans-serif;
  color: var(--ink);
  background: var(--bg);
  line-height: 1.9;
  font-size: 16px;
  -webkit-font-smoothing: antialiased;
}

img { max-width: 100%; display: block; }
a { color: var(--navy-2); }

.container { max-width: var(--max); margin: 0 auto; padding: 0 20px; }

/* ---------- ヘッダー ---------- */
.site-header {
  position: sticky; top: 0; z-index: 50;
  background: rgba(255,255,255,.96);
  border-bottom: 1px solid var(--line);
  backdrop-filter: blur(6px);
}
.header-inner {
  display: flex; align-items: center; justify-content: space-between;
  height: 72px;
}
.logo { text-decoration: none; color: var(--navy); line-height: 1.3; }
.logo-mark { font-family: "Noto Serif JP", serif; font-weight: 700; font-size: 22px; letter-spacing: .08em; }
.logo-sub { display: block; font-size: 11px; color: var(--muted); letter-spacing: .05em; }

.nav ul { display: flex; gap: 32px; list-style: none; align-items: center; }
.nav a { text-decoration: none; color: var(--ink); font-size: 15px; font-weight: 500; }
.nav a:hover, .nav a[aria-current="page"] { color: var(--accent); }
.nav .nav-cta {
  background: var(--navy); color: #fff; padding: 10px 22px; border-radius: 4px;
}
.nav .nav-cta:hover { background: var(--navy-2); color: #fff; }

.nav-toggle { display: none; background: none; border: 0; cursor: pointer; padding: 8px; }
.nav-toggle span { display: block; width: 24px; height: 2px; background: var(--navy); margin: 5px 0; transition: .2s; }

/* ---------- ヒーロー ---------- */
.hero {
  background: linear-gradient(120deg, var(--navy) 0%, var(--navy-2) 100%);
  color: #fff;
  padding: 120px 0 110px;
  position: relative; overflow: hidden;
}
.hero::after {
  content: ""; position: absolute; right: -120px; top: -120px;
  width: 480px; height: 480px; border-radius: 50%;
  border: 1px solid rgba(184,146,90,.35);
}
.hero-eyebrow { color: var(--accent); letter-spacing: .2em; font-size: 13px; font-weight: 700; margin-bottom: 18px; }
.hero h1 {
  font-family: "Noto Serif JP", serif; font-weight: 700;
  font-size: clamp(28px, 4.6vw, 46px); line-height: 1.5; margin-bottom: 24px;
}
.hero p { max-width: 620px; color: rgba(255,255,255,.85); margin-bottom: 40px; }

.btn {
  display: inline-block; text-decoration: none; font-weight: 700;
  padding: 14px 34px; border-radius: 4px; transition: .2s; border: 1px solid transparent;
  font-size: 15px; cursor: pointer; font-family: inherit;
}
.btn-accent { background: var(--accent); color: #fff; }
.btn-accent:hover { background: #a37e48; }
.btn-ghost { border-color: rgba(255,255,255,.6); color: #fff; margin-left: 12px; }
.btn-ghost:hover { background: rgba(255,255,255,.1); }
.btn-navy { background: var(--navy); color: #fff; }
.btn-navy:hover { background: var(--navy-2); }

/* ---------- 下層ページ見出し ---------- */
.page-head {
  background: linear-gradient(120deg, var(--navy) 0%, var(--navy-2) 100%);
  color: #fff; padding: 72px 0 64px;
}
.page-head .en { color: var(--accent); letter-spacing: .2em; font-size: 13px; font-weight: 700; }
.page-head h1 { font-family: "Noto Serif JP", serif; font-size: clamp(26px, 3.6vw, 36px); }

/* ---------- セクション ---------- */
.section { padding: 96px 0; }
.section-soft { background: var(--bg-soft); }
.section-title { text-align: center; margin-bottom: 56px; }
.section-title .en { display: block; color: var(--accent); letter-spacing: .2em; font-size: 13px; font-weight: 700; margin-bottom: 6px; }
.section-title h2 { font-family: "Noto Serif JP", serif; font-size: clamp(24px, 3vw, 32px); color: var(--navy); }
.lead { max-width: 760px; margin: 0 auto; text-align: center; color: var(--muted); }

/* カード */
.cards { display: grid; grid-template-columns: repeat(3, 1fr); gap: 28px; }
.card {
  background: #fff; border: 1px solid var(--line); border-radius: 6px;
  padding: 40px 30px; transition: .2s;
}
.card:hover { box-shadow: 0 10px 30px rgba(20,40,75,.08); transform: translateY(-3px); }
.card-num { font-family: "Noto Serif JP", serif; color: var(--accent); font-size: 28px; font-weight: 700; line-height: 1; margin-bottom: 16px; }
.card h3 { color: var(--navy); font-size: 19px; margin-bottom: 12px; }
.card p { color: var(--muted); font-size: 15px; }

/* 強み */
.strengths { display: grid; grid-template-columns: repeat(3, 1fr); gap: 40px; }
.strength { border-top: 2px solid var(--navy); padding-top: 22px; }
.strength h3 { color: var(--navy); font-size: 18px; margin-bottom: 10px; }
.strength p { color: var(--muted); font-size: 15px; }

/* サービス詳細 */
.service-block {
  display: grid; grid-template-columns: 220px 1fr; gap: 48px;
  padding: 56px 0; border-bottom: 1px solid var(--line);
}
.service-block:first-child { padding-top: 0; }
.service-block:last-child { border-bottom: 0; }
.service-label .num { font-family: "Noto Serif JP", serif; color: var(--accent); font-size: 40px; font-weight: 700; line-height: 1; }
.service-label h2 { color: var(--navy); font-size: 22px; margin-top: 12px; line-height: 1.5; }
.service-body p { margin-bottom: 18px; }
.check-list { list-style: none; display: grid; grid-template-columns: 1fr 1fr; gap: 8px 24px; }
.check-list li { padding-left: 26px; position: relative; font-size: 15px; }
.check-list li::before {
  content: ""; position: absolute; left: 4px; top: 10px;
  width: 10px; height: 6px; border-left: 2px solid var(--accent); border-bottom: 2px solid var(--accent);
  transform: rotate(-45deg);
}

/* 流れ */
.flow { display: grid; grid-template-columns: repeat(4, 1fr); gap: 20px; counter-reset: step; }
.flow-item { background: #fff; border-radius: 6px; padding: 30px 24px; position: relative; border: 1px solid var(--line); }
.flow-item .step { color: var(--accent); font-weight: 700; font-size: 13px; letter-spacing: .15em; }
.flow-item h3 { color: var(--navy); font-size: 17px; margin: 6px 0 8px; }
.flow-item p { font-size: 14px; color: var(--muted); }

/* 会社概要テーブル */
.info-table { width: 100%; border-collapse: collapse; max-width: 860px; margin: 0 auto; }
.info-table th, .info-table td { padding: 22px 16px; border-bottom: 1px solid var(--line); text-align: left; vertical-align: top; }
.info-table th { width: 200px; color: var(--navy); font-weight: 700; background: var(--bg-soft); }

/* 代表挨拶 */
.message { max-width: 820px; margin: 0 auto; }
.message p { margin-bottom: 20px; }
.message .sign { text-align: right; margin-top: 32px; font-family: "Noto Serif JP", serif; }
.message .sign strong { font-size: 20px; margin-left: 12px; }

/* CTA */
.cta { background: var(--navy); color: #fff; text-align: center; padding: 80px 0; }
.cta h2 { font-family: "Noto Serif JP", serif; font-size: clamp(22px, 3vw, 30px); margin-bottom: 14px; }
.cta p { color: rgba(255,255,255,.8); margin-bottom: 32px; }
.cta-tel { display: block; font-size: 30px; font-weight: 700; letter-spacing: .05em; color: #fff; text-decoration: none; margin-top: 24px; }
.cta-tel small { display: block; font-size: 13px; font-weight: 400; color: rgba(255,255,255,.7); }

/* フォーム */
.form { max-width: 760px; margin: 0 auto; }
.form-row { margin-bottom: 26px; }
.form-row label { display: block; font-weight: 700; margin-bottom: 8px; color: var(--navy); }
.req { background: #b23a3a; color: #fff; font-size: 11px; padding: 2px 8px; border-radius: 3px; margin-left: 8px; vertical-align: 2px; }
.form input[type="text"], .form input[type="email"], .form input[type="tel"], .form select, .form textarea {
  width: 100%; padding: 14px; border: 1px solid #cfd4da; border-radius: 4px;
  font-size: 16px; font-family: inherit; background: #fff;
}
.form input:focus, .form select:focus, .form textarea:focus { outline: 2px solid var(--accent); border-color: var(--accent); }
.form textarea { min-height: 200px; resize: vertical; }
.form .hp { position: absolute; left: -9999px; }
.form-agree { text-align: center; margin: 32px 0; font-size: 15px; }
.form-submit { text-align: center; }
.form-submit .btn { min-width: 260px; }
.notice { background: var(--bg-soft); border-left: 4px solid var(--accent); padding: 20px 24px; margin-bottom: 40px; font-size: 15px; }

/* ---------- フッター ---------- */
.site-footer { background: #0e1d38; color: rgba(255,255,255,.75); padding: 56px 0 28px; font-size: 14px; }
.footer-inner { display: flex; justify-content: space-between; gap: 40px; flex-wrap: wrap; }
.footer-inner .logo { color: #fff; }
.footer-inner .logo-sub { color: rgba(255,255,255,.6); }
.footer-address { margin-top: 16px; line-height: 1.8; }
.footer-nav ul { list-style: none; display: flex; gap: 24px; flex-wrap: wrap; }
.footer-nav a { color: rgba(255,255,255,.75); text-decoration: none; }
.footer-nav a:hover { color: #fff; }
.copyright { border-top: 1px solid rgba(255,255,255,.12); margin-top: 40px; padding-top: 20px; text-align: center; font-size: 12px; color: rgba(255,255,255,.5); }

/* ---------- スマホ ---------- */
@media (max-width: 860px) {
  .nav-toggle { display: block; }
  .nav {
    position: absolute; top: 72px; left: 0; right: 0;
    background: #fff; border-bottom: 1px solid var(--line);
    display: none;
  }
  .nav.open { display: block; }
  .nav ul { flex-direction: column; gap: 0; padding: 12px 20px 20px; align-items: stretch; }
  .nav li a { display: block; padding: 14px 4px; border-bottom: 1px solid var(--line); }
  .nav .nav-cta { text-align: center; margin-top: 12px; border-bottom: 0; }

  .hero { padding: 80px 0 72px; }
  .btn-ghost { margin: 12px 0 0; }
  .section { padding: 64px 0; }
  .cards, .strengths { grid-template-columns: 1fr; gap: 20px; }
  .flow { grid-template-columns: 1fr 1fr; }
  .service-block { grid-template-columns: 1fr; gap: 16px; padding: 40px 0; }
  .check-list { grid-template-columns: 1fr; }
  .info-table th, .info-table td { display: block; width: 100%; }
  .info-table th { padding: 12px 16px; }
  .info-table td { padding: 14px 16px 22px; }
}
@media (max-width: 520px) {
  .flow { grid-template-columns: 1fr; }
  body { font-size: 15px; }
}
