/* =========================================================
   株式会社カケハシトレーディング コーポレートサイト
   信頼感重視: 濃紺 × 白 × 銅(アクセント)
   ========================================================= */

:root {
  --ink: #1c2733;
  --ink-soft: #4a5866;
  --navy: #10263f;
  --navy-deep: #0a1a2c;
  --accent: #b08d57;
  --accent-soft: #c9ad82;
  --bg: #ffffff;
  --bg-alt: #f5f7f9;
  --line: #dde4ea;
  --font-sans: "Noto Sans JP", "Hiragino Kaku Gothic ProN", sans-serif;
  --font-serif: "Shippori Mincho", "Hiragino Mincho ProN", serif;
}

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

html { scroll-behavior: smooth; scroll-padding-top: 84px; }

body {
  font-family: var(--font-sans);
  color: var(--ink);
  background: var(--bg);
  line-height: 1.9;
  font-size: 16px;
  -webkit-font-smoothing: antialiased;
}

img, svg { max-width: 100%; }
a { color: inherit; }

.container {
  max-width: 1080px;
  margin: 0 auto;
  padding: 0 24px;
}

/* ---------- ヘッダー ---------- */
.site-header {
  position: sticky;
  top: 0;
  z-index: 100;
  background: rgba(255, 255, 255, 0.92);
  backdrop-filter: blur(10px);
  border-bottom: 1px solid var(--line);
}

.header-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  height: 72px;
}

.brand {
  display: flex;
  align-items: center;
  gap: 10px;
  text-decoration: none;
  color: var(--navy);
}

.brand-mark { width: 34px; height: 34px; color: var(--accent); flex-shrink: 0; }

.brand-text { display: flex; flex-direction: column; line-height: 1.3; }
.brand-name { font-weight: 700; font-size: 15px; letter-spacing: 0.04em; }
.brand-sub { font-size: 10px; letter-spacing: 0.18em; color: var(--ink-soft); }

.global-nav {
  display: flex;
  align-items: center;
  gap: 26px;
  font-size: 14px;
  font-weight: 500;
}

.global-nav a {
  text-decoration: none;
  color: var(--ink);
  transition: color 0.2s;
}
.global-nav a:hover { color: var(--accent); }
.global-nav a.is-active { color: var(--accent); }

.nav-cta {
  background: var(--navy);
  color: #fff !important;
  padding: 9px 20px;
  border-radius: 4px;
  transition: background 0.2s;
}
.nav-cta:hover { background: var(--accent); color: #fff !important; }

/* ---------- ヒーロー ---------- */
.hero {
  /* hero.jpg が無い場合は下層のグラデーションが表示される */
  background:
    linear-gradient(rgba(10, 26, 44, 0.5), rgba(10, 26, 44, 0.72)),
    url("hero.jpg") center / cover no-repeat,
    radial-gradient(1100px 500px at 85% -10%, rgba(176, 141, 87, 0.28), transparent 60%),
    linear-gradient(160deg, var(--navy-deep) 0%, var(--navy) 55%, #16324f 100%);
  color: #fff;
  padding: 110px 0 120px;
  position: relative;
  overflow: hidden;
}

.hero::after {
  content: "";
  position: absolute;
  inset: 0;
  background-image: linear-gradient(rgba(255,255,255,0.045) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255,255,255,0.045) 1px, transparent 1px);
  background-size: 56px 56px;
  pointer-events: none;
}

.hero-inner { position: relative; z-index: 1; }

.hero-eyebrow {
  font-size: 13px;
  letter-spacing: 0.32em;
  text-transform: uppercase;
  color: var(--accent-soft);
  margin-bottom: 22px;
}

.hero-title {
  font-family: var(--font-serif);
  font-size: clamp(34px, 5.4vw, 58px);
  font-weight: 600;
  line-height: 1.5;
  letter-spacing: 0.06em;
  margin-bottom: 28px;
}

.hero-lead {
  font-size: 16px;
  color: rgba(255, 255, 255, 0.82);
  margin-bottom: 40px;
}

.hero-actions { display: flex; gap: 16px; flex-wrap: wrap; }

.btn {
  display: inline-block;
  padding: 14px 34px;
  border-radius: 4px;
  font-size: 15px;
  font-weight: 700;
  letter-spacing: 0.06em;
  text-decoration: none;
  transition: opacity 0.2s, background 0.2s, color 0.2s;
}

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

.btn-ghost {
  border: 1px solid rgba(255, 255, 255, 0.55);
  color: #fff;
}
.btn-ghost:hover { background: rgba(255, 255, 255, 0.12); }

.btn-light { background: #fff; color: var(--navy); }
.btn-light:hover { background: var(--accent); color: #fff; }

/* ---------- 下層ページ見出し ---------- */
.page-hero {
  background:
    linear-gradient(rgba(10, 26, 44, 0.62), rgba(10, 26, 44, 0.8)),
    url("hero.jpg") center / cover no-repeat,
    linear-gradient(160deg, var(--navy-deep) 0%, var(--navy) 100%);
  color: #fff;
  padding: 72px 0 60px;
}

.page-hero-eyebrow {
  font-size: 12px;
  letter-spacing: 0.3em;
  text-transform: uppercase;
  color: var(--accent-soft);
  font-weight: 700;
  margin-bottom: 10px;
}

.page-hero-title {
  font-family: var(--font-serif);
  font-size: clamp(28px, 4vw, 40px);
  font-weight: 600;
  letter-spacing: 0.08em;
}

/* ---------- トップページ: ページ案内カード ---------- */
.link-card { text-decoration: none; display: block; color: inherit; }
.link-card .card-more {
  display: inline-block;
  margin-top: 14px;
  font-size: 13px;
  font-weight: 700;
  color: var(--accent);
  letter-spacing: 0.08em;
}
.link-card .card-more::after { content: " →"; }

/* ---------- 写真 ---------- */
.page-photo {
  margin: 0 0 56px;
  border-radius: 8px;
  overflow: hidden;
  box-shadow: 0 16px 40px rgba(16, 38, 63, 0.14);
}
.page-photo img { display: block; width: 100%; height: auto; }

/* ---------- トップページ: フルワイド画像帯 ---------- */
.image-band {
  background:
    linear-gradient(rgba(10, 26, 44, 0.5), rgba(10, 26, 44, 0.62)),
    url("top-band.jpg") center / cover no-repeat;
  color: #fff;
  padding: 110px 0;
  text-align: center;
}

.image-band-text {
  font-family: var(--font-serif);
  font-size: clamp(20px, 3vw, 30px);
  font-weight: 600;
  letter-spacing: 0.1em;
  line-height: 2;
}

/* ---------- 代表挨拶 ---------- */
.message-body { max-width: 760px; }

.message-heading {
  font-family: var(--font-serif);
  font-size: clamp(22px, 3vw, 28px);
  font-weight: 600;
  line-height: 1.8;
  letter-spacing: 0.06em;
  color: var(--navy);
  margin-bottom: 32px;
}

.message-body p { margin-bottom: 24px; color: var(--ink-soft); }

.message-sign { text-align: right; margin-top: 44px; }
.message-sign .sign-role { font-size: 14px; color: var(--ink-soft); display: block; margin-bottom: 6px; }
.message-sign .sign-name {
  font-family: var(--font-serif);
  font-size: 24px;
  font-weight: 600;
  letter-spacing: 0.14em;
  color: var(--navy);
}

/* ---------- セクション共通 ---------- */
.section { padding: 96px 0; }
.section-alt { background: var(--bg-alt); }

.section-eyebrow {
  font-size: 12px;
  letter-spacing: 0.3em;
  text-transform: uppercase;
  color: var(--accent);
  font-weight: 700;
  margin-bottom: 10px;
}
.section-eyebrow.light { color: var(--accent-soft); }

.section-title {
  font-family: var(--font-serif);
  font-size: clamp(26px, 3.4vw, 36px);
  font-weight: 600;
  letter-spacing: 0.08em;
  color: var(--navy);
  margin-bottom: 48px;
  position: relative;
  padding-bottom: 18px;
}
.section-title::after {
  content: "";
  position: absolute;
  left: 0;
  bottom: 0;
  width: 56px;
  height: 3px;
  background: var(--accent);
}
.section-title.light { color: #fff; }

/* ---------- 私たちについて ---------- */
.about-grid {
  display: grid;
  grid-template-columns: 1.15fr 1fr;
  gap: 56px;
  align-items: start;
}

.about-heading {
  font-family: var(--font-serif);
  font-size: 24px;
  font-weight: 600;
  line-height: 1.7;
  letter-spacing: 0.05em;
  color: var(--navy);
  margin-bottom: 24px;
}

.about-copy p { margin-bottom: 18px; color: var(--ink-soft); }

.about-points { list-style: none; display: flex; flex-direction: column; gap: 26px; }

.about-points li {
  display: flex;
  gap: 18px;
  padding-bottom: 26px;
  border-bottom: 1px solid var(--line);
}
.about-points li:last-child { border-bottom: none; padding-bottom: 0; }

.point-num {
  font-family: var(--font-serif);
  font-size: 22px;
  color: var(--accent);
  font-weight: 600;
  line-height: 1.4;
}

.about-points h4 {
  font-size: 16px;
  font-weight: 700;
  color: var(--navy);
  margin-bottom: 6px;
}
.about-points p { font-size: 14px; color: var(--ink-soft); }

/* ---------- 事業内容 ---------- */
.card-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 28px;
  margin-bottom: 56px;
}

.card {
  background: #fff;
  border: 1px solid var(--line);
  border-radius: 8px;
  padding: 36px 28px;
  transition: transform 0.25s, box-shadow 0.25s;
}
.card:hover {
  transform: translateY(-4px);
  box-shadow: 0 14px 32px rgba(16, 38, 63, 0.1);
}

.card-icon {
  width: 52px;
  height: 52px;
  border-radius: 8px;
  background: var(--navy);
  color: var(--accent-soft);
  display: grid;
  place-items: center;
  margin-bottom: 22px;
}
.card-icon svg { width: 26px; height: 26px; }

.card h3 {
  font-size: 18px;
  font-weight: 700;
  color: var(--navy);
  margin-bottom: 12px;
  line-height: 1.6;
}
.card p { font-size: 14px; color: var(--ink-soft); }

.maker-box {
  background: var(--navy);
  color: #fff;
  border-radius: 8px;
  padding: 44px 48px;
}

.maker-title {
  font-family: var(--font-serif);
  font-size: 20px;
  font-weight: 600;
  letter-spacing: 0.05em;
  margin-bottom: 24px;
  color: #fff;
}

.maker-list {
  list-style: none;
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 12px 32px;
}

.maker-list li {
  position: relative;
  padding-left: 26px;
  font-size: 15px;
  color: rgba(255, 255, 255, 0.88);
}
.maker-list li::before {
  content: "";
  position: absolute;
  left: 0;
  top: 0.62em;
  width: 14px;
  height: 8px;
  border-left: 2px solid var(--accent-soft);
  border-bottom: 2px solid var(--accent-soft);
  transform: rotate(-45deg);
}

/* ---------- ローンチの流れ ---------- */
.flow-steps {
  list-style: none;
  counter-reset: step;
  display: flex;
  flex-direction: column;
  gap: 0;
}

.flow-steps li {
  position: relative;
  padding: 0 0 44px 56px;
}

.flow-steps li::before {
  content: "";
  position: absolute;
  left: 11px;
  top: 8px;
  bottom: 0;
  width: 2px;
  background: var(--line);
}
.flow-steps li:last-child::before { display: none; }

.flow-steps li::after {
  content: "";
  position: absolute;
  left: 4px;
  top: 6px;
  width: 16px;
  height: 16px;
  border-radius: 50%;
  background: var(--accent);
  box-shadow: 0 0 0 4px rgba(176, 141, 87, 0.2);
}

.step-num {
  display: inline-block;
  font-size: 12px;
  letter-spacing: 0.24em;
  font-weight: 700;
  color: var(--accent);
  margin-bottom: 6px;
}

.flow-steps h3 {
  font-size: 19px;
  font-weight: 700;
  color: var(--navy);
  margin-bottom: 8px;
}

.flow-steps p { font-size: 15px; color: var(--ink-soft); max-width: 640px; }

/* ---------- 会社概要 ---------- */
.company-table {
  border-top: 1px solid var(--line);
  max-width: 820px;
}

.company-table > div {
  display: grid;
  grid-template-columns: 180px 1fr;
  border-bottom: 1px solid var(--line);
}

.company-table dt {
  padding: 20px 16px;
  font-weight: 700;
  color: var(--navy);
  background: rgba(16, 38, 63, 0.04);
  font-size: 15px;
}

.company-table dd { padding: 20px 24px; font-size: 15px; color: var(--ink-soft); }
.company-table dd a { color: var(--accent); }

/* ---------- お問い合わせ ---------- */
.contact {
  background:
    radial-gradient(900px 400px at 15% 110%, rgba(176, 141, 87, 0.25), transparent 60%),
    linear-gradient(200deg, var(--navy) 0%, var(--navy-deep) 100%);
  color: #fff;
}

.contact-inner { text-align: center; }

.contact .section-title { margin-left: auto; margin-right: auto; }
.contact .section-title::after { left: 50%; transform: translateX(-50%); }

.contact-lead {
  color: rgba(255, 255, 255, 0.85);
  margin-bottom: 36px;
}

.contact-note {
  margin-top: 20px;
  font-size: 13px;
  color: rgba(255, 255, 255, 0.6);
}

/* ---------- フッター ---------- */
.site-footer {
  background: var(--navy-deep);
  color: rgba(255, 255, 255, 0.65);
  padding: 32px 0;
}

.footer-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
}

.footer-brand { letter-spacing: 0.2em; font-size: 13px; color: rgba(255, 255, 255, 0.85); }
.footer-copy { font-size: 12px; }

/* ---------- レスポンシブ ---------- */
.pc-only { display: inline; }

@media (max-width: 860px) {
  .pc-only { display: none; }

  .header-inner { flex-direction: column; height: auto; padding-top: 12px; padding-bottom: 12px; gap: 10px; }
  .global-nav { gap: 16px; font-size: 13px; flex-wrap: wrap; justify-content: center; }
  html { scroll-padding-top: 120px; }

  .hero { padding: 72px 0 80px; }

  .about-grid { grid-template-columns: 1fr; gap: 40px; }
  .card-grid { grid-template-columns: 1fr; }
  .maker-box { padding: 32px 24px; }
  .maker-list { grid-template-columns: 1fr; }

  .section { padding: 64px 0; }

  .company-table > div { grid-template-columns: 1fr; }
  .company-table dt { padding: 12px 16px; }
  .company-table dd { padding: 14px 16px 18px; }

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