:root {
  --ink: #0f1c2e;
  --ink-soft: #3b4a5e;
  --muted: #6b7889;
  --line: #e3e7ec;
  --bg: #ffffff;
  --bg-alt: #f5f7f9;
  --accent: #1f6feb;
  --accent-deep: #0b3d91;
  --radius: 14px;
  --container: 1080px;
  --font: "Hiragino Sans", "Hiragino Kaku Gothic ProN", "Noto Sans JP", "Yu Gothic UI", "Yu Gothic", "Meiryo", system-ui, sans-serif;
  --font-en: "Helvetica Neue", "Segoe UI", Arial, sans-serif;
}

*,
*::before,
*::after { box-sizing: border-box; }

html { scroll-behavior: smooth; scroll-padding-top: 76px; -webkit-text-size-adjust: 100%; }

body {
  margin: 0;
  background: var(--bg);
  color: var(--ink);
  font-family: var(--font);
  font-size: 16px;
  line-height: 1.9;
  letter-spacing: 0.02em;
  line-break: strict;
  word-break: auto-phrase;
  -webkit-font-smoothing: antialiased;
}

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

.skip {
  position: absolute;
  left: -9999px;
  top: 8px;
  background: var(--ink);
  color: #fff;
  padding: 8px 14px;
  border-radius: 8px;
  z-index: 100;
}
.skip:focus { left: 16px; }

.container {
  width: 100%;
  max-width: var(--container);
  margin: 0 auto;
  padding: 0 24px;
}
.container.narrow { max-width: 820px; }

/* ヘッダー */
.site-header {
  position: sticky;
  top: 0;
  z-index: 50;
  background: rgba(255, 255, 255, 0.92);
  backdrop-filter: saturate(160%) blur(10px);
  -webkit-backdrop-filter: saturate(160%) blur(10px);
  border-bottom: 1px solid var(--line);
}
.header-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  height: 64px;
}
.brand {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  color: var(--ink);
  text-decoration: none;
  font-weight: 700;
  letter-spacing: 0.06em;
  white-space: nowrap;
}
.brand-mark {
  width: 22px;
  height: 22px;
  border-radius: 6px;
  background: linear-gradient(135deg, var(--accent) 0%, var(--accent-deep) 100%);
}
.nav { display: flex; gap: 28px; }
.nav a {
  color: var(--ink-soft);
  text-decoration: none;
  font-size: 14px;
  white-space: nowrap;
}
.nav a:hover { color: var(--accent); }

/* ヒーロー */
.hero {
  position: relative;
  overflow: hidden;
  color: #fff;
  background:
    radial-gradient(1200px 500px at 85% -10%, rgba(31, 111, 235, 0.55), transparent 60%),
    radial-gradient(800px 400px at -10% 110%, rgba(31, 111, 235, 0.25), transparent 60%),
    var(--ink);
  padding: 120px 0 128px;
}
.hero::after {
  content: "";
  position: absolute;
  inset: 0;
  background-image:
    linear-gradient(rgba(255, 255, 255, 0.05) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255, 255, 255, 0.05) 1px, transparent 1px);
  background-size: 48px 48px;
  mask-image: linear-gradient(to bottom, rgba(0, 0, 0, 0.7), transparent 85%);
  -webkit-mask-image: linear-gradient(to bottom, rgba(0, 0, 0, 0.7), transparent 85%);
  pointer-events: none;
}
.hero .container { position: relative; z-index: 1; }
.hero-eyebrow {
  margin: 0 0 18px;
  font-family: var(--font-en);
  font-size: 13px;
  letter-spacing: 0.28em;
  color: rgba(255, 255, 255, 0.7);
}
.hero-title {
  margin: 0;
  font-size: clamp(36px, 6vw, 60px);
  line-height: 1.3;
  letter-spacing: 0.08em;
  font-weight: 700;
}
.hero-lead {
  margin: 28px 0 0;
  max-width: 640px;
  font-size: clamp(15px, 1.8vw, 18px);
  color: rgba(255, 255, 255, 0.86);
}
.br-sp { display: none; }
.nowrap { white-space: nowrap; }

/* セクション共通 */
.section { padding: 104px 0; }
.section-alt { background: var(--bg-alt); }
.section-label {
  margin: 0 0 6px;
  font-family: var(--font-en);
  font-size: 12px;
  font-weight: 600;
  letter-spacing: 0.3em;
  text-transform: uppercase;
  color: var(--accent);
}
.section-title {
  margin: 0 0 36px;
  font-size: clamp(24px, 3.2vw, 32px);
  line-height: 1.4;
  letter-spacing: 0.06em;
}
.section p { margin: 0 0 1.2em; color: var(--ink-soft); }
.section p:last-child { margin-bottom: 0; }

/* 事業内容 */
.cards {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 24px;
}
.card {
  background: #fff;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 36px 32px;
}
.card-num {
  display: block;
  font-family: var(--font-en);
  font-size: 14px;
  font-weight: 600;
  letter-spacing: 0.12em;
  color: var(--accent);
  margin-bottom: 14px;
}
.card-title {
  margin: 0 0 14px;
  font-size: 19px;
  line-height: 1.6;
  letter-spacing: 0.03em;
}
.card-title:last-child { margin-bottom: 0; }
.card p { font-size: 15px; }

/* 会社概要 */
.profile {
  margin: 0;
  border-top: 1px solid var(--line);
}
.profile-row {
  display: grid;
  grid-template-columns: 160px 1fr;
  gap: 24px;
  padding: 22px 4px;
  border-bottom: 1px solid var(--line);
}
.profile dt {
  margin: 0;
  font-weight: 600;
  color: var(--ink);
}
.profile dd {
  margin: 0;
  color: var(--ink-soft);
  overflow-wrap: anywhere;
}
.plain-list { margin: 0; padding: 0; list-style: none; }

/* お問い合わせ */
.contact-box {
  margin-top: 28px;
  background: #fff;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 28px 32px;
}
.section .contact-label {
  margin: 0 0 4px;
  font-size: 13px;
  color: var(--muted);
}
.section .contact-value {
  margin: 0;
  font-size: 18px;
  font-weight: 600;
  color: var(--ink);
  overflow-wrap: anywhere;
}
.contact-value a { color: var(--accent); text-decoration: none; }
.contact-value a:hover { text-decoration: underline; }

/* 仮置き：確定前の情報。公開前にすべて置き換える */
.placeholder {
  display: inline-block;
  background: #fff4cc;
  color: #7a5200;
  border: 1px dashed #e0a800;
  border-radius: 6px;
  padding: 0 8px;
  font-size: 0.92em;
  font-weight: 600;
}

/* フッター */
.site-footer {
  background: var(--ink);
  color: rgba(255, 255, 255, 0.75);
  padding: 40px 0;
}
.footer-inner {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 16px;
  flex-wrap: wrap;
}
.footer-name { margin: 0; font-weight: 700; color: #fff; letter-spacing: 0.06em; }
.copyright { margin: 0; font-size: 13px; }

/* タブレット・スマートフォン */
@media (max-width: 860px) {
  .nav { gap: 18px; }
  .cards { grid-template-columns: 1fr; }
}

@media (max-width: 640px) {
  html { scroll-padding-top: 104px; }
  .container { padding: 0 16px; }
  .header-inner {
    flex-direction: column;
    align-items: flex-start;
    justify-content: center;
    gap: 2px;
    height: auto;
    padding-top: 10px;
    padding-bottom: 8px;
  }
  .nav {
    width: 100%;
    gap: 0;
    justify-content: space-between;
  }
  .nav a { font-size: 13px; padding: 4px 0; }
  .hero { padding: 80px 0 88px; }
  .br-sp { display: inline; }
  .section { padding: 72px 0; }
  .section-title { margin-bottom: 28px; }
  .card { padding: 28px 22px; }
  .card-title { font-size: 17px; }
  .profile-row {
    grid-template-columns: 1fr;
    gap: 4px;
    padding: 18px 2px;
  }
  .profile dt { font-size: 13px; color: var(--muted); }
  .contact-box { padding: 22px 20px; }
}

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