/* =============================================
   株式会社OVER — 共通スタイル
   ============================================= */

@import url('https://fonts.googleapis.com/css2?family=Libre+Baskerville:ital,wght@0,400;0,700;1,400&family=Noto+Sans+JP:wght@300;400;500;700&family=DM+Serif+Display:ital@0;1&family=Syne:wght@400;600;700;800&display=swap');

/* ── リセット ── */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; font-size: 16px; }
img { max-width: 100%; display: block; }
a { color: inherit; text-decoration: none; }
ul, ol { list-style: none; }

/* ── カラー変数 ── */
:root {
  --ink:       #0d0d0d;
  --ink-sub:   #5a5a5a;
  --ink-muted: #999999;
  --bg:        #ffffff;
  --bg-off:    #f7f6f3;
  --bg-dark:   #111110;
  --accent:    #1a56db;   /* ビジネスライクな青 */
  --accent-lt: #eef2fd;
  --border:    #e8e7e2;
  --serif:     'DM Serif Display', serif;
  --sans:      'Syne', sans-serif;
  --ja:        'Noto Sans JP', sans-serif;
}

/* ── タイポグラフィ ── */
body {
  font-family: var(--ja);
  color: var(--ink);
  background: var(--bg);
  line-height: 1.75;
  -webkit-font-smoothing: antialiased;
}

h1, h2, h3, h4 { line-height: 1.2; font-weight: 700; }

/* ── レイアウト ── */
.container {
  max-width: 1140px;
  margin: 0 auto;
  padding: 0 48px;
}

.section {
  padding: 100px 0;
}

.section--dark {
  background: var(--bg-dark);
  color: #fff;
}

.section--off {
  background: var(--bg-off);
}

/* ── セクションヘッダー ── */
.section-eyebrow {
  font-family: var(--sans);
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  color: var(--accent);
  display: flex;
  align-items: center;
  gap: 12px;
  margin-bottom: 20px;
}
.section-eyebrow::before {
  content: '';
  display: block;
  width: 24px;
  height: 2px;
  background: var(--accent);
  flex-shrink: 0;
}

.section-heading {
  font-family: var(--serif);
  font-size: clamp(32px, 4vw, 52px);
  color: inherit;
  margin-bottom: 16px;
  letter-spacing: -0.01em;
}

.section-heading--white { color: #fff; }

.section-subheading {
  font-family: var(--ja);
  font-size: 15px;
  font-weight: 400;
  color: var(--ink-sub);
  max-width: 560px;
  line-height: 1.9;
}

/* ── ボタン ── */
.btn {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  padding: 14px 32px;
  font-family: var(--sans);
  font-size: 13px;
  font-weight: 700;
  letter-spacing: 0.08em;
  cursor: pointer;
  transition: all 0.22s ease;
  border: none;
}

.btn--primary {
  background: var(--accent);
  color: #fff;
}
.btn--primary:hover { background: #1244be; }

.btn--outline {
  background: transparent;
  border: 1.5px solid var(--ink);
  color: var(--ink);
}
.btn--outline:hover { background: var(--ink); color: #fff; }

.btn--outline-white {
  background: transparent;
  border: 1.5px solid rgba(255,255,255,0.5);
  color: #fff;
}
.btn--outline-white:hover { background: #fff; color: var(--ink); }

.btn svg { width: 16px; height: 16px; flex-shrink: 0; }

/* ── ヘッダー / ナビ ── */
.site-header {
  position: fixed;
  top: 0; left: 0; right: 0;
  z-index: 200;
  background: rgba(255,255,255,0.95);
  backdrop-filter: blur(12px);
  border-bottom: 1px solid var(--border);
  transition: box-shadow 0.2s;
}

.site-header.scrolled {
  box-shadow: 0 2px 20px rgba(0,0,0,0.08);
}

.header-inner {
  padding: 0 48px;
  height: 68px;
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.site-logo {
  display: flex;
  align-items: center;
}
.site-logo img {
  height: 56px;
  width: auto;
  display: block;
}

.main-nav {
  display: flex;
  align-items: center;
  gap: 36px;
}

.main-nav a {
  font-family: var(--sans);
  font-size: 11px;
  font-weight: 400;
  color: var(--ink-sub);
  letter-spacing: 0.14em;
  text-transform: uppercase;
  transition: color 0.2s;
  position: relative;
}

.main-nav a::after {
  content: '';
  position: absolute;
  bottom: -4px;
  left: 0; right: 0;
  height: 2px;
  background: var(--accent);
  transform: scaleX(0);
  transition: transform 0.2s;
}

.main-nav a:hover { color: var(--ink); }
.main-nav a:hover::after { transform: scaleX(1); }
.main-nav a.active { color: var(--ink); }
.main-nav a.active::after { transform: scaleX(1); }

.nav-contact-btn {
  font-family: var(--sans);
  font-size: 12px;
  font-weight: 700;
  letter-spacing: 0.06em;
  padding: 10px 24px;
  background: var(--accent);
  color: #fff !important;
  transition: background 0.2s;
}
.nav-contact-btn:hover { background: #1244be !important; }
.nav-contact-btn::after { display: none !important; }

/* ハンバーガー */
.hamburger {
  display: none;
  flex-direction: column;
  gap: 5px;
  cursor: pointer;
  padding: 4px;
  background: none;
  border: none;
}
.hamburger span {
  display: block;
  width: 26px;
  height: 2px;
  background: var(--ink);
  transition: all 0.25s;
}
.hamburger.open span:nth-child(1) { transform: translateY(7px) rotate(45deg); }
.hamburger.open span:nth-child(2) { opacity: 0; }
.hamburger.open span:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }

/* モバイルメニュー */
.mobile-menu {
  display: none;
  position: fixed;
  top: 68px; left: 0; right: 0;
  background: var(--bg);
  border-bottom: 1px solid var(--border);
  padding: 24px 48px 32px;
  z-index: 199;
  flex-direction: column;
  gap: 4px;
}
.mobile-menu.open { display: flex; }
.mobile-menu a {
  font-family: var(--sans);
  font-size: 15px;
  font-weight: 600;
  color: var(--ink);
  padding: 12px 0;
  border-bottom: 1px solid var(--border);
}

/* ── フッター ── */
.site-footer {
  background: #000000;
  color: rgba(255,255,255,0.5);
  padding: 56px 0 32px;
}

.footer-inner {
  padding: 0 48px;
}

.footer-top {
  display: grid;
  grid-template-columns: 1fr auto;
  gap: 48px;
  padding-bottom: 40px;
  border-bottom: 1px solid rgba(255,255,255,0.08);
  margin-bottom: 32px;
}

.footer-logo {
  display: flex;
  align-items: center;
  gap: 10px;
  margin-bottom: 16px;
}
.footer-logo img {
  height: 72px;
  width: auto;
  display: block;
}
.footer-logo-name {
  font-family: 'Libre Baskerville', serif;
  font-size: 11px;
  font-weight: 400;
  color: rgba(255,255,255,0.7);
  letter-spacing: 0.35em;
  line-height: 1;
}

.footer-desc {
  font-size: 13px;
  line-height: 1.8;
  max-width: 600px;
}

.footer-nav {
  display: flex;
  flex-direction: column;
  gap: 10px;
  align-items: flex-end;
}
.footer-nav a {
  font-family: var(--sans);
  font-size: 12px;
  font-weight: 600;
  letter-spacing: 0.06em;
  color: rgba(255,255,255,0.5);
  transition: color 0.2s;
}
.footer-nav a:hover { color: #fff; }

.footer-copy {
  font-family: var(--sans);
  font-size: 11px;
  letter-spacing: 0.06em;
}

/* ── ページヒーロー（内部ページ共通） ── */
.page-hero {
  background: var(--bg-dark);
  padding: 160px 0 80px;
  color: #fff;
}

.page-hero .page-hero-inner {
  max-width: 1140px;
  margin: 0 auto;
  padding: 0 48px;
}

.page-hero-eyebrow {
  font-family: var(--sans);
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  color: var(--accent);
  display: flex;
  align-items: center;
  gap: 12px;
  margin-bottom: 20px;
}
.page-hero-eyebrow::before {
  content: '';
  display: block;
  width: 24px;
  height: 2px;
  background: var(--accent);
}

.page-hero h1 {
  font-family: var(--serif);
  font-size: clamp(36px, 6vw, 64px);
  line-height: 1.1;
  margin-bottom: 20px;
  letter-spacing: -0.01em;
}

.page-hero-desc {
  font-size: 15px;
  color: rgba(255,255,255,0.55);
  max-width: 480px;
  line-height: 1.9;
}

/* パンくず */
.breadcrumb {
  background: var(--bg-off);
  border-bottom: 1px solid var(--border);
  padding: 14px 0;
}
.breadcrumb-inner {
  max-width: 1140px;
  margin: 0 auto;
  padding: 0 48px;
  display: flex;
  align-items: center;
  gap: 8px;
  font-family: var(--sans);
  font-size: 12px;
  color: var(--ink-muted);
}
.breadcrumb-inner a {
  color: var(--ink-sub);
  transition: color 0.2s;
}
.breadcrumb-inner a:hover { color: var(--accent); }
.breadcrumb-sep { opacity: 0.4; }

/* ── ユーティリティ ── */
.mt-8  { margin-top: 8px;  }
.mt-16 { margin-top: 16px; }
.mt-24 { margin-top: 24px; }
.mt-40 { margin-top: 40px; }
.mt-56 { margin-top: 56px; }
.mb-8  { margin-bottom: 8px;  }
.mb-40 { margin-bottom: 40px; }

/* ── レスポンシブ ── */
@media (max-width: 900px) {
  .container { padding: 0 24px; }
  .header-inner { padding: 0 24px; }
  .main-nav { display: none; }
  .hamburger { display: flex; }
  .section { padding: 72px 0; }
  .footer-inner { padding: 0 24px; }
  .footer-top { grid-template-columns: 1fr; }
  .footer-nav { align-items: flex-start; }
  .page-hero { padding: 120px 0 60px; }
  .page-hero .page-hero-inner { padding: 0 24px; }
  .breadcrumb-inner { padding: 0 24px; }
}
