/* ===========================
   リセット・基本設定
   =========================== */
*, *::before, *::after {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

:root {
  --navy: #1a2e4a;
  --navy-light: #234068;
  --blue-mid: #2e5fa3;
  --blue-pale: #e8f0fa;
  --blue-accent: #3b7dd8;
  --gray-dark: #333740;
  --gray-mid: #6b7280;
  --gray-light: #f4f6f9;
  --white: #ffffff;
  --border: #dde3ec;
  --text-body: #444c5a;
  --font-base: 'Hiragino Kaku Gothic ProN', 'Hiragino Sans', 'Noto Sans JP', 'Meiryo', sans-serif;
  --font-en: 'Georgia', 'Times New Roman', serif;
  --transition: 0.25s ease;
  --shadow: 0 4px 24px rgba(26, 46, 74, 0.08);
  --shadow-hover: 0 8px 32px rgba(26, 46, 74, 0.14);
  --radius: 6px;
}

html {
  scroll-behavior: smooth;
}

#about,
#services,
#company,
#contact {
  scroll-margin-top: 80px;
}

body {
  font-family: var(--font-base);
  color: var(--text-body);
  background: var(--white);
  line-height: 1.8;
  font-size: 15px;
}

img {
  display: block;
  max-width: 100%;
  height: auto;
}

a {
  color: var(--blue-mid);
  text-decoration: none;
  transition: color var(--transition);
}

a:hover {
  color: var(--blue-accent);
}

/* ===========================
   共通レイアウト
   =========================== */
.container {
  max-width: 1060px;
  margin: 0 auto;
  padding: 0 32px;
}

.section {
  padding: 96px 0;
}

.section-label {
  font-family: var(--font-en);
  font-size: 12px;
  letter-spacing: 0.2em;
  color: var(--blue-mid);
  text-transform: uppercase;
  margin-bottom: 12px;
  font-style: italic;
}

.section-title {
  font-size: clamp(22px, 3vw, 30px);
  font-weight: 700;
  color: var(--navy);
  line-height: 1.5;
  margin-bottom: 32px;
}

.section-desc {
  color: var(--gray-mid);
  margin-bottom: 48px;
  font-size: 15px;
}

/* ===========================
   ヘッダー・ナビゲーション
   =========================== */
.site-header {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  z-index: 100;
  background: rgba(255, 255, 255, 0.97);
  border-bottom: 1px solid var(--border);
  backdrop-filter: blur(6px);
  transition: box-shadow var(--transition);
}

.site-header.scrolled {
  box-shadow: 0 2px 16px rgba(26, 46, 74, 0.09);
}

.nav-inner {
  max-width: 1060px;
  margin: 0 auto;
  padding: 0 32px;
  height: 64px;
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.logo {
  font-family: var(--font-en);
  font-size: 18px;
  font-weight: 700;
  color: var(--navy);
  letter-spacing: 0.04em;
  text-decoration: none;
}

.logo span {
  font-family: var(--font-base);
  font-size: 13px;
  font-weight: 400;
  color: var(--gray-mid);
  margin-left: 6px;
  letter-spacing: 0;
}

.nav-links {
  display: flex;
  list-style: none;
  gap: 36px;
}

.nav-links a {
  font-size: 13px;
  color: var(--gray-dark);
  font-weight: 500;
  letter-spacing: 0.05em;
  position: relative;
  padding-bottom: 2px;
}

.nav-links a::after {
  content: '';
  position: absolute;
  bottom: -2px;
  left: 0;
  width: 0;
  height: 1px;
  background: var(--blue-mid);
  transition: width var(--transition);
}

.nav-links a:hover::after {
  width: 100%;
}

.nav-links a:hover {
  color: var(--blue-mid);
}

.nav-toggle {
  display: none;
  flex-direction: column;
  gap: 5px;
  background: none;
  border: none;
  cursor: pointer;
  padding: 6px;
}

.nav-toggle span {
  display: block;
  width: 24px;
  height: 2px;
  background: var(--navy);
  border-radius: 2px;
  transition: all var(--transition);
}

/* ===========================
   ヒーロー（ファーストビュー）
   =========================== */
.hero {
  min-height: 82vh;
  padding-top: 64px;
  background: linear-gradient(135deg, var(--navy) 0%, var(--navy-light) 60%, #2a4a7a 100%);
  display: flex;
  align-items: center;
  position: relative;
  overflow: hidden;
}

.hero::before {
  content: '';
  position: absolute;
  top: 0; left: 0; right: 0; bottom: 0;
  background:
    radial-gradient(ellipse at 20% 80%, rgba(59, 125, 216, 0.15) 0%, transparent 50%),
    radial-gradient(ellipse at 80% 20%, rgba(46, 95, 163, 0.12) 0%, transparent 50%);
  pointer-events: none;
}

.hero-content {
  max-width: 1060px;
  margin: 0 auto;
  padding: 80px 32px;
  display: flex;
  align-items: center;
  gap: 64px;
  width: 100%;
  position: relative;
  z-index: 1;
}

.hero-text {
  flex: 1;
  min-width: 0;
}

.hero-label {
  font-family: var(--font-en);
  font-size: 11px;
  letter-spacing: 0.25em;
  color: rgba(255,255,255,0.55);
  text-transform: uppercase;
  margin-bottom: 20px;
  font-style: italic;
}

.hero-main {
  font-family: var(--font-en);
  font-size: clamp(32px, 5vw, 52px);
  font-weight: 700;
  color: var(--white);
  line-height: 1.25;
  margin-bottom: 28px;
  letter-spacing: -0.01em;
}

.hero-main span {
  display: block;
  white-space: nowrap;
}

.hero-main::after {
  content: '';
  display: block;
  width: 48px;
  height: 3px;
  background: var(--blue-accent);
  margin-top: 24px;
  border-radius: 2px;
}

.hero-sub {
  font-size: 15px;
  color: rgba(255,255,255,0.78);
  line-height: 1.9;
  margin-bottom: 44px;
  max-width: 400px;
}

.btn-primary {
  display: inline-block;
  padding: 14px 36px;
  background: var(--white);
  color: var(--navy);
  font-size: 13px;
  font-weight: 600;
  letter-spacing: 0.08em;
  border-radius: var(--radius);
  transition: all var(--transition);
  border: 2px solid transparent;
}

.btn-primary:hover {
  background: transparent;
  color: var(--white);
  border-color: var(--white);
}

.hero-image {
  flex: 1;
  min-width: 0;
  max-width: 480px;
  border-radius: 10px;
  overflow: hidden;
  box-shadow: 0 20px 60px rgba(0,0,0,0.35);
  aspect-ratio: 4/3;
}

.hero-image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.hero-image.img-placeholder {
  background: linear-gradient(135deg, #2a4a7a 0%, #3b7dd8 100%);
  display: flex;
  align-items: center;
  justify-content: center;
}

/* ===========================
   会社紹介
   =========================== */
.about {
  background: var(--white);
}

.about-body {
  max-width: 720px;
}

.about-body p {
  margin-bottom: 18px;
  color: var(--text-body);
  font-size: 15px;
  line-height: 1.9;
}

.about-values {
  display: flex;
  gap: 32px;
  margin-top: 48px;
  flex-wrap: wrap;
}

.value-item {
  display: flex;
  align-items: center;
  gap: 10px;
  color: var(--gray-mid);
  font-size: 13px;
}

.value-icon {
  width: 8px;
  height: 8px;
  background: var(--blue-mid);
  border-radius: 1px;
  font-size: 0;
  flex-shrink: 0;
}

/* ===========================
   事業領域
   =========================== */
.services {
  background: var(--gray-light);
}

.cards {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 28px;
}

.card {
  background: var(--white);
  border-radius: 10px;
  overflow: hidden;
  box-shadow: var(--shadow);
  transition: box-shadow var(--transition), transform var(--transition);
}

.card:hover {
  box-shadow: var(--shadow-hover);
  transform: translateY(-3px);
}

.card-image {
  aspect-ratio: 16/9;
  overflow: hidden;
}

.card-image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.4s ease;
}

.card:hover .card-image img {
  transform: scale(1.03);
}

.card-image.img-placeholder {
  background: linear-gradient(135deg, var(--blue-pale) 0%, var(--border) 100%);
}

.card-body {
  padding: 28px 30px 32px;
}

.card-number {
  font-family: var(--font-en);
  font-size: 11px;
  letter-spacing: 0.2em;
  color: var(--blue-mid);
  margin-bottom: 10px;
  font-style: italic;
}

.card-body h3 {
  font-size: 17px;
  font-weight: 700;
  color: var(--navy);
  margin-bottom: 14px;
  line-height: 1.5;
}

.card-body p {
  font-size: 14px;
  color: var(--gray-mid);
  line-height: 1.85;
}

/* ===========================
   会社概要
   =========================== */
.company {
  background: var(--white);
}

.table-wrap {
  overflow-x: auto;
  -webkit-overflow-scrolling: touch;
}

.company-table {
  width: 100%;
  border-collapse: collapse;
  font-size: 14px;
}

.company-table th,
.company-table td {
  padding: 18px 24px;
  border-bottom: 1px solid var(--border);
  text-align: left;
  vertical-align: top;
  line-height: 1.7;
}

.company-table th {
  width: 180px;
  color: var(--navy);
  font-weight: 600;
  white-space: nowrap;
  background: var(--blue-pale);
  font-size: 13px;
}

.company-table td {
  color: var(--text-body);
}

.company-table tr:last-child th,
.company-table tr:last-child td {
  border-bottom: none;
}

.company-table a {
  color: var(--blue-mid);
}

/* ===========================
   お問い合わせ
   =========================== */
.contact {
  background: var(--navy);
}

.contact .section-label {
  color: rgba(255,255,255,0.5);
}

.contact .section-title {
  color: var(--white);
}

.contact-body {
  text-align: center;
  max-width: 560px;
  margin: 0 auto;
}

.contact-body p {
  color: rgba(255,255,255,0.75);
  font-size: 15px;
  line-height: 1.9;
  margin-bottom: 32px;
}

.contact-email {
  display: inline-block;
  font-size: 20px;
  font-weight: 600;
  color: var(--white);
  letter-spacing: 0.04em;
  padding: 16px 40px;
  border: 1px solid rgba(255,255,255,0.3);
  border-radius: var(--radius);
  transition: all var(--transition);
  margin-bottom: 24px;
}

.contact-email:hover {
  background: rgba(255,255,255,0.1);
  color: var(--white);
  border-color: rgba(255,255,255,0.6);
}

.contact-note {
  font-size: 12px !important;
  color: rgba(255,255,255,0.45) !important;
  margin-bottom: 0 !important;
}

/* ===========================
   フッター
   =========================== */
.site-footer {
  background: #111b29;
  padding: 40px 32px;
}

.footer-inner {
  max-width: 1060px;
  margin: 0 auto;
  display: flex;
  align-items: center;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 16px;
}

.footer-logo {
  font-size: 14px;
  font-weight: 600;
  color: rgba(255,255,255,0.7);
  letter-spacing: 0.05em;
}

.footer-nav a {
  font-size: 12px;
  color: rgba(255,255,255,0.45);
  transition: color var(--transition);
}

.footer-nav a:hover {
  color: rgba(255,255,255,0.75);
}

.footer-copy {
  font-size: 11px;
  color: rgba(255,255,255,0.3);
  letter-spacing: 0.05em;
}

/* ===========================
   プライバシーポリシーページ
   =========================== */
.policy-wrap {
  padding: 100px 0 80px;
  min-height: 100vh;
}

.policy-wrap .section-title {
  margin-bottom: 48px;
}

.policy-content {
  max-width: 720px;
}

.policy-content h3 {
  font-size: 16px;
  font-weight: 700;
  color: var(--navy);
  margin: 40px 0 12px;
  padding-bottom: 8px;
  border-bottom: 1px solid var(--border);
}

.policy-content p {
  font-size: 14px;
  color: var(--text-body);
  line-height: 1.9;
  margin-bottom: 14px;
}

.policy-content ul {
  padding-left: 20px;
  margin-bottom: 14px;
}

.policy-content ul li {
  font-size: 14px;
  color: var(--text-body);
  line-height: 1.85;
  margin-bottom: 6px;
}

.policy-back {
  display: inline-block;
  margin-top: 48px;
  font-size: 13px;
  color: var(--blue-mid);
  font-weight: 500;
}

.policy-back:hover {
  color: var(--blue-accent);
}

/* ===========================
   スクロールアニメーション
   =========================== */
.fade-in {
  opacity: 0;
  transform: translateY(20px);
  transition: opacity 0.6s ease, transform 0.6s ease;
}

.fade-in.visible {
  opacity: 1;
  transform: translateY(0);
}

/* ===========================
   レスポンシブ
   =========================== */
@media (max-width: 900px) {
  .hero-content {
    flex-direction: column;
    padding: 64px 24px;
    gap: 48px;
  }

  .hero-image {
    max-width: 100%;
    width: 100%;
  }

  .hero-sub {
    max-width: 100%;
  }

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

@media (max-width: 680px) {
  .nav-links {
    display: none;
    position: absolute;
    top: 64px;
    left: 0;
    width: 100%;
    background: var(--white);
    flex-direction: column;
    gap: 0;
    border-top: 1px solid var(--border);
    box-shadow: 0 8px 24px rgba(0,0,0,0.08);
  }

  .nav-links.open {
    display: flex;
  }

  .nav-links li {
    border-bottom: 1px solid var(--border);
  }

  .nav-links a {
    display: block;
    padding: 16px 24px;
    font-size: 14px;
  }

  .nav-links a::after {
    display: none;
  }

  .nav-toggle {
    display: flex;
  }

  .section {
    padding: 64px 0;
  }

  .container {
    padding: 0 20px;
  }

  .hero-main {
    font-size: clamp(26px, 7.5vw, 36px);
  }

  .company-table th {
    width: 120px;
    padding: 14px 16px;
    font-size: 12px;
  }

  .company-table td {
    padding: 14px 16px;
    font-size: 13px;
  }

  .footer-inner {
    flex-direction: column;
    text-align: center;
  }

  .about-values {
    flex-direction: column;
    gap: 16px;
  }

  .contact-email {
    font-size: 16px;
    padding: 14px 24px;
    word-break: break-all;
  }
}
