/* JMC 事業構想 共通スタイル */

:root {
  --navy: #0a1d3a;
  --navy-deep: #061226;
  --gold: #c9a961;
  --gold-light: #e8d4a3;
  --bg-cream: #faf8f3;
  --bg-white: #ffffff;
  --text-primary: #1a2842;
  --text-secondary: #4a5878;
  --text-muted: #8b95a8;
  --border: #e8e3d8;
}

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

html {
  scroll-behavior: smooth;
  -webkit-text-size-adjust: 100%;
}

body {
  font-family: 'Noto Sans JP', -apple-system, BlinkMacSystemFont, 'Hiragino Kaku Gothic ProN', sans-serif;
  background: var(--bg-cream);
  color: var(--text-primary);
  line-height: 1.8;
  letter-spacing: 0.02em;
  word-break: keep-all;
  overflow-wrap: normal;
}

/* ヘッダー */
.site-header {
  background: var(--navy);
  color: white;
  padding: 1.2rem 2rem;
  position: sticky;
  top: 0;
  z-index: 100;
  box-shadow: 0 2px 12px rgba(10, 29, 58, 0.15);
}

.site-header__inner {
  max-width: 1200px;
  margin: 0 auto;
  display: flex;
  justify-content: space-between;
  align-items: center;
}

.site-header__logo {
  font-size: 1.3rem;
  font-weight: 700;
  letter-spacing: 0.15em;
}

.site-header__logo span {
  color: var(--gold);
}

.site-header__nav {
  display: flex;
  gap: 1.5rem;
  font-size: 0.95rem;
}

.site-header__nav a {
  color: white;
  text-decoration: none;
  opacity: 0.85;
  transition: opacity 0.2s, color 0.2s;
}

.site-header__nav a:hover {
  opacity: 1;
  color: var(--gold);
}

.site-header__nav a.active {
  color: var(--gold);
  opacity: 1;
}

/* ヒーロー */
.hero {
  background: linear-gradient(135deg, var(--navy-deep) 0%, var(--navy) 100%);
  color: white;
  padding: 6rem 2rem 5rem;
  text-align: center;
  position: relative;
  overflow: hidden;
}

.hero::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background-image:
    radial-gradient(circle at 20% 30%, rgba(201, 169, 97, 0.08) 0%, transparent 50%),
    radial-gradient(circle at 80% 70%, rgba(201, 169, 97, 0.06) 0%, transparent 50%);
  pointer-events: none;
}

.hero__inner {
  max-width: 900px;
  margin: 0 auto;
  position: relative;
  z-index: 1;
}

.hero__badge {
  display: inline-block;
  padding: 0.5rem 1.5rem;
  background: rgba(201, 169, 97, 0.15);
  border: 1px solid var(--gold);
  color: var(--gold);
  font-size: 0.85rem;
  letter-spacing: 0.2em;
  border-radius: 4px;
  margin-bottom: 2rem;
}

.hero__title {
  font-size: clamp(2rem, 5vw, 3.5rem);
  font-weight: 700;
  margin-bottom: 1.5rem;
  letter-spacing: 0.08em;
  line-height: 1.4;
}

.hero__subtitle {
  font-size: clamp(1.1rem, 2.5vw, 1.5rem);
  color: var(--gold-light);
  margin-bottom: 2rem;
  font-weight: 400;
}

.hero__meta {
  font-size: 0.9rem;
  color: rgba(255, 255, 255, 0.7);
  letter-spacing: 0.1em;
}

/* メインコンテンツ */
.main {
  max-width: 1100px;
  margin: 0 auto;
  padding: 4rem 1.5rem;
}

/* スライドセクション */
.slide-section {
  margin-bottom: 5rem;
  background: white;
  border-radius: 12px;
  overflow: hidden;
  box-shadow: 0 4px 24px rgba(10, 29, 58, 0.06);
  scroll-margin-top: 90px;
}

.slide-section__number {
  display: inline-block;
  background: var(--gold);
  color: var(--navy);
  font-weight: 700;
  font-size: 0.9rem;
  padding: 0.4rem 1rem;
  border-radius: 0 0 8px 0;
  letter-spacing: 0.1em;
}

.slide-section__image {
  width: 100%;
  display: block;
  background: #f5f0e6;
}

.slide-section__image img {
  width: 100%;
  height: auto;
  display: block;
}

.slide-section__caption {
  padding: 2rem 2.5rem 2.5rem;
  border-top: 1px solid var(--border);
}

.slide-section__caption h2 {
  font-size: 1.4rem;
  color: var(--navy);
  margin-bottom: 1rem;
  padding-bottom: 0.8rem;
  border-bottom: 2px solid var(--gold);
  display: inline-block;
}

.slide-section__caption p {
  color: var(--text-secondary);
  font-size: 1rem;
  line-height: 1.9;
  margin-bottom: 0.8rem;
}

/* 妻用：補足ボックス */
.wife-note {
  background: linear-gradient(135deg, #fef9ed 0%, #fdf4d9 100%);
  border-left: 4px solid var(--gold);
  padding: 1.5rem 2rem;
  margin-top: 1.5rem;
  border-radius: 0 8px 8px 0;
}

.wife-note__label {
  display: inline-block;
  font-size: 0.8rem;
  color: var(--navy);
  font-weight: 700;
  letter-spacing: 0.15em;
  margin-bottom: 0.8rem;
  background: var(--gold);
  padding: 0.3rem 0.8rem;
  border-radius: 4px;
}

.wife-note p {
  color: var(--text-primary);
  font-size: 1rem;
  line-height: 2;
  margin-bottom: 0.5rem;
}

.wife-note strong {
  color: var(--navy);
  font-weight: 700;
}

/* ナビゲーション（サイドスティッキー） */
.side-nav {
  position: fixed;
  right: 2rem;
  top: 50%;
  transform: translateY(-50%);
  background: white;
  border-radius: 8px;
  padding: 1rem;
  box-shadow: 0 4px 20px rgba(10, 29, 58, 0.1);
  z-index: 50;
  max-height: 80vh;
  overflow-y: auto;
}

.side-nav ol {
  list-style: none;
  font-size: 0.85rem;
}

.side-nav li {
  margin-bottom: 0.5rem;
}

.side-nav a {
  color: var(--text-secondary);
  text-decoration: none;
  display: block;
  padding: 0.3rem 0.6rem;
  border-radius: 4px;
  transition: background 0.2s, color 0.2s;
  white-space: nowrap;
}

.side-nav a:hover {
  background: var(--gold-light);
  color: var(--navy);
}

/* フッター */
.site-footer {
  background: var(--navy-deep);
  color: white;
  padding: 3rem 2rem;
  text-align: center;
}

.site-footer__inner {
  max-width: 800px;
  margin: 0 auto;
}

.site-footer__brand {
  font-size: 1.2rem;
  font-weight: 700;
  margin-bottom: 1rem;
  letter-spacing: 0.15em;
}

.site-footer__brand span {
  color: var(--gold);
}

.site-footer__tagline {
  color: var(--gold-light);
  font-size: 1rem;
  margin-bottom: 1.5rem;
}

.site-footer__meta {
  color: rgba(255, 255, 255, 0.6);
  font-size: 0.85rem;
}

/* レスポンシブ */
@media (max-width: 768px) {
  .site-header {
    padding: 1rem;
  }

  .site-header__nav {
    font-size: 0.8rem;
    gap: 0.8rem;
  }

  .hero {
    padding: 3rem 1rem;
  }

  .main {
    padding: 2rem 1rem;
  }

  .slide-section {
    margin-bottom: 3rem;
    border-radius: 8px;
  }

  .slide-section__caption {
    padding: 1.5rem 1.2rem 1.8rem;
  }

  .slide-section__caption h2 {
    font-size: 1.2rem;
  }

  .wife-note {
    padding: 1.2rem 1.2rem;
  }

  .side-nav {
    display: none;
  }
}

/* 印刷 */
@media print {
  .site-header, .side-nav, .site-footer {
    display: none;
  }

  body {
    background: white;
  }

  .slide-section {
    page-break-after: always;
    box-shadow: none;
    margin-bottom: 0;
  }

  .main {
    padding: 0;
  }
}
