:root {
  --bg: #0b0b0d;
  --bg-alt: #141417;
  --text: #f2f0ea;
  --muted: #b9b6ae;
  --gold: #c9a45c;
  --line: #2a2a2f;
  --sans: "Noto Sans JP", "Hiragino Kaku Gothic ProN", "Yu Gothic", Meiryo, sans-serif;
  --serif: "Noto Serif JP", "Yu Mincho", serif;
  --header-h: 68px;
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; scroll-padding-top: var(--header-h); }
body {
  margin: 0;
  background: var(--bg);
  color: var(--text);
  font-family: var(--sans);
  font-weight: 300;
  font-size: 16px;
  line-height: 1.9;
  letter-spacing: 0.04em;
  -webkit-font-smoothing: antialiased;
}
img { max-width: 100%; display: block; }
a { color: inherit; }
h1, h2, h3 { font-family: var(--serif); font-weight: 400; line-height: 1.5; margin: 0; }
p { margin: 0 0 1em; }
:focus-visible { outline: 2px solid var(--gold); outline-offset: 3px; }

.dummy-bar {
  margin: 0;
  padding: 6px 16px;
  background: var(--gold);
  color: #1a1407;
  font-size: 13px;
  text-align: center;
  letter-spacing: 0.02em;
  line-height: 1.5;
}

/* ヘッダー */
.site-header {
  position: sticky; top: 0; z-index: 50;
  height: var(--header-h);
  display: flex; align-items: center; justify-content: space-between;
  padding: 0 24px;
  background: rgba(11, 11, 13, 0.92);
  backdrop-filter: blur(8px);
  border-bottom: 1px solid var(--line);
}
.logo {
  font-family: var(--sans);
  font-weight: 500;
  letter-spacing: 0.3em;
  text-decoration: none;
  font-size: 18px;
  margin: 0;
}
.logo span { color: var(--gold); font-weight: 300; font-size: 12px; letter-spacing: 0.35em; margin-left: 4px; }
.gnav ul { list-style: none; display: flex; align-items: center; gap: 28px; margin: 0; padding: 0; }
.gnav a { text-decoration: none; font-size: 14px; letter-spacing: 0.12em; padding: 8px 0; }
.gnav a:hover { color: var(--gold); }
.gnav .nav-cta { border: 1px solid var(--gold); color: var(--gold); padding: 8px 20px; }
.gnav .nav-cta:hover { background: var(--gold); color: #1a1407; }

.menu-btn { display: none; background: none; border: 0; width: 44px; height: 44px; padding: 10px; cursor: pointer; }
.menu-btn span { display: block; height: 1px; background: var(--text); margin: 8px 0; transition: transform .25s, opacity .25s; }
.menu-btn[aria-expanded="true"] span:nth-child(1) { transform: translateY(9px) rotate(45deg); }
.menu-btn[aria-expanded="true"] span:nth-child(2) { opacity: 0; }
.menu-btn[aria-expanded="true"] span:nth-child(3) { transform: translateY(-9px) rotate(-45deg); }

/* ヒーロー */
.hero { position: relative; height: min(78vh, 760px); min-height: 440px; overflow: hidden; background: #000; }
.slide { position: absolute; inset: 0; margin: 0; opacity: 0; transition: opacity 1s ease; }
.slide.is-active { opacity: 1; z-index: 1; }
.slide img { width: 100%; height: 100%; object-fit: cover; }
.slide::after { content: ""; position: absolute; inset: 0; background: linear-gradient(90deg, rgba(0,0,0,.72) 0%, rgba(0,0,0,.25) 55%, rgba(0,0,0,0) 100%); }
.slide figcaption { position: absolute; z-index: 2; left: clamp(24px, 8vw, 120px); bottom: clamp(60px, 14vh, 120px); max-width: 640px; }
.eyebrow { color: var(--gold); letter-spacing: 0.35em; font-size: 14px; margin-bottom: 12px; }
.slide h1, .slide h2 { font-size: clamp(30px, 5vw, 56px); letter-spacing: 0.08em; margin-bottom: 16px; text-shadow: 0 2px 20px rgba(0,0,0,.4); }
.lead { color: var(--text); font-size: 16px; margin: 0; }
.arrow {
  position: absolute; z-index: 3; top: 50%; transform: translateY(-50%);
  width: 48px; height: 48px; border-radius: 50%;
  background: rgba(11,11,13,.5); color: var(--text); border: 1px solid rgba(255,255,255,.4);
  font-size: 26px; line-height: 1; cursor: pointer;
}
.arrow:hover { border-color: var(--gold); color: var(--gold); }
.arrow.prev { left: 16px; }
.arrow.next { right: 16px; }
.dots { position: absolute; z-index: 3; bottom: 24px; left: 0; right: 0; display: flex; justify-content: center; gap: 4px; }
.dots button { width: 44px; height: 44px; background: none; border: 0; cursor: pointer; position: relative; }
.dots button::after { content: ""; position: absolute; left: 50%; top: 50%; width: 28px; height: 2px; transform: translate(-50%, -50%); background: rgba(255,255,255,.4); }
.dots button[aria-selected="true"]::after { background: var(--gold); }

/* お知らせ */
.news { display: flex; gap: 48px; max-width: 1080px; margin: 0 auto; padding: 40px 24px; align-items: baseline; }
.news h2 { font-size: 18px; letter-spacing: 0.2em; white-space: nowrap; }
.news ul { list-style: none; margin: 0; padding: 0; flex: 1; }
.news li { display: flex; gap: 24px; padding: 8px 0; border-bottom: 1px solid var(--line); }
.news time { color: var(--muted); white-space: nowrap; font-size: 14px; }
.news a { text-decoration: none; }
.news a:hover { color: var(--gold); text-decoration: underline; }

/* セクション共通 */
.section { padding: 96px 24px; }
.section.alt { background: var(--bg-alt); }
.section > *, .contact > * { max-width: 1080px; margin-left: auto; margin-right: auto; }
.label { color: var(--gold); letter-spacing: 0.4em; font-size: 13px; margin-bottom: 8px; }
.section h2, .contact h2 { font-size: clamp(26px, 3.4vw, 38px); letter-spacing: 0.1em; margin-bottom: 24px; }
.section-lead { color: var(--muted); margin-bottom: 48px; }
.tag { display: inline-block; margin-left: 6px; padding: 0 8px; border: 1px solid var(--gold); color: var(--gold); font-size: 12px; line-height: 1.7; letter-spacing: 0.05em; vertical-align: middle; }

/* ラインアップ */
.cards { display: grid; grid-template-columns: repeat(3, 1fr); gap: 32px; }
.card { background: var(--bg-alt); border: 1px solid var(--line); display: flex; flex-direction: column; }
.card img { aspect-ratio: 4 / 3; object-fit: cover; width: 100%; }
.card-body { padding: 24px; display: flex; flex-direction: column; flex: 1; }
.card-type { color: var(--gold); font-size: 13px; letter-spacing: 0.2em; margin-bottom: 4px; }
.card h3 { font-size: 24px; letter-spacing: 0.12em; margin-bottom: 12px; }
.card p:not(.card-type) { color: var(--muted); font-size: 15px; flex: 1; }
.btn {
  display: inline-block; text-align: center; text-decoration: none;
  padding: 12px 32px; min-height: 44px;
  background: var(--text); color: #0b0b0d; font-weight: 500; letter-spacing: 0.12em; font-size: 15px;
  transition: background .2s, color .2s;
}
.btn:hover { background: var(--gold); }
.btn-gold { background: var(--gold); }
.btn-gold:hover { background: var(--text); }

/* 選ばれる理由 */
.strengths { list-style: none; margin-top: 40px; padding: 0; display: grid; grid-template-columns: repeat(3, 1fr); gap: 40px; }
.strengths li { border-top: 1px solid var(--gold); padding-top: 20px; }
.num { font-family: var(--serif); color: var(--gold); font-size: 32px; letter-spacing: 0.1em; display: block; margin-bottom: 8px; }
.strengths h3 { font-size: 20px; letter-spacing: 0.1em; margin-bottom: 12px; }
.strengths p { color: var(--muted); font-size: 15px; }

/* 実績 */
.results { display: grid; grid-template-columns: repeat(3, 1fr); gap: 24px; margin: 0 auto; }
.results > div { border: 1px solid var(--line); padding: 32px 24px; text-align: center; }
.results dt { color: var(--muted); font-size: 14px; margin-bottom: 8px; }
.results dd { margin: 0; font-size: 16px; }
.results strong { font-family: var(--serif); font-weight: 300; font-size: clamp(36px, 5vw, 56px); color: var(--gold); letter-spacing: 0.04em; }

/* 代表あいさつ */
.message { max-width: 720px; }
.message p { font-family: var(--serif); font-size: 17px; line-height: 2.1; }
.message .sign { text-align: right; margin-top: 32px; font-size: 16px; }

/* 会社概要 */
.profile { width: 100%; border-collapse: collapse; }
.profile th, .profile td { padding: 20px 8px; border-bottom: 1px solid var(--line); text-align: left; vertical-align: top; }
.profile th { width: 9em; color: var(--gold); font-weight: 400; white-space: nowrap; }

/* アクセス */
.map-box { height: 320px; display: grid; place-items: center; text-align: center; background: repeating-linear-gradient(45deg, #1b1b1f, #1b1b1f 12px, #202025 12px, #202025 24px); border: 1px solid var(--line); color: var(--muted); }
.note { color: var(--muted); font-size: 14px; margin-top: 16px; }

/* お問い合わせ */
.contact { padding: 96px 24px; text-align: center; background: linear-gradient(180deg, var(--bg) 0%, #1a160c 100%); }
.contact .btn { margin: 16px 0 8px; }

/* フッター */
.site-footer { padding: 48px 24px; text-align: center; border-top: 1px solid var(--line); }
.site-footer .small { color: var(--muted); font-size: 13px; margin: 4px 0 0; }
.site-footer .logo { margin-bottom: 12px; }

/* スマホ・タブレット */
@media (max-width: 860px) {
  .menu-btn { display: block; }
  .gnav { position: absolute; top: var(--header-h); left: 0; right: 0; background: var(--bg); border-bottom: 1px solid var(--line); display: none; }
  .gnav.is-open { display: block; }
  .gnav ul { flex-direction: column; align-items: stretch; gap: 0; padding: 8px 24px 24px; }
  .gnav li a { display: block; padding: 14px 0; border-bottom: 1px solid var(--line); }
  .gnav .nav-cta { margin-top: 16px; text-align: center; border-bottom: 1px solid var(--gold); }
  .news { flex-direction: column; gap: 12px; }
  .news li { flex-direction: column; gap: 0; }
  .cards, .strengths, .results { grid-template-columns: 1fr; }
  .section, .contact { padding: 64px 20px; }
  .site-header { padding: 0 16px; }
  .hero { height: 70vh; }
  .arrow { display: none; }
  .profile th, .profile td { display: block; width: auto; padding: 4px 0; }
  .profile th { padding-top: 16px; }
  .profile td { padding-bottom: 16px; }
}

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  .slide { transition: none; }
}
