/* ============================================================
   北海道デジタル自然共生ネットワーク LP
   名前空間: .hn-* （既存テーマのCSSと干渉しない）
   配色: 深い藍 #0d1e36、森林の緑 #2d5a24、水の青 #4a8fa8、生成り #f5f0e8
   ============================================================ */

:root {
  --hn-navy:   #0d1e36;
  --hn-green:  #2d5a24;
  --hn-blue:   #4a8fa8;
  --hn-cream:  #f5f0e8;
  --hn-text:   #1a2e1a;
  --hn-mid:    #4a5a4a;
  --hn-faint:  #8a9a8a;
  --hn-border: rgba(74,143,168,0.15);
  --hn-border-green: rgba(45,90,36,0.2);
}

/* ─── 共通 ─── */
.hn-inner {
  max-width: 900px;
  margin: 0 auto;
  padding: 0 40px;
}
.hn-section {
  padding: 96px 0;
  border-top: 0.5px solid var(--hn-border);
}
.hn-section-label {
  font-family: 'Cormorant Garamond', serif;
  font-size: 11px;
  letter-spacing: 0.35em;
  color: var(--hn-blue);
  text-transform: uppercase;
  margin-bottom: 12px;
}
.hn-section-title {
  font-family: 'Shippori Mincho', 'Noto Serif JP', serif;
  font-size: clamp(22px, 2.8vw, 34px);
  color: var(--hn-navy);
  font-weight: 500;
  letter-spacing: 0.05em;
  line-height: 1.5;
  margin: 0 0 40px;
}

/* ─── ボタン ─── */
.hn-btn {
  display: inline-block;
  font-family: 'Noto Serif JP', serif;
  font-size: 13px;
  letter-spacing: 0.1em;
  padding: 14px 36px;
  text-decoration: none;
  transition: all 0.2s;
}
.hn-btn--primary {
  background: var(--hn-green);
  color: #fff;
  border: 1.5px solid var(--hn-green);
}
.hn-btn--primary:hover { background: #1e3d18; border-color: #1e3d18; }
.hn-btn--outline {
  background: transparent;
  color: var(--hn-navy);
  border: 1.5px solid var(--hn-navy);
}
.hn-btn--outline:hover { background: var(--hn-navy); color: #fff; }

/* ============================================================
   HERO
   ============================================================ */
.hn-hero {
  position: relative;
  min-height: 88vh;
  display: flex;
  align-items: center;
  background: var(--hn-navy);
  overflow: hidden;
  padding: 120px 40px 80px;
}
.hn-hero-bg {
  position: absolute;
  inset: 0;
  pointer-events: none;
}
.hn-hero-grid {
  position: absolute;
  inset: 0;
  background-image:
    linear-gradient(rgba(74,143,168,0.06) 1px, transparent 1px),
    linear-gradient(90deg, rgba(74,143,168,0.06) 1px, transparent 1px);
  background-size: 48px 48px;
}
.hn-hero-orb {
  position: absolute;
  border-radius: 50%;
  filter: blur(80px);
  opacity: 0.25;
}
.hn-hero-orb--blue  { width:500px; height:500px; background:#4a8fa8; top:-100px; right:-100px; }
.hn-hero-orb--green { width:400px; height:400px; background:#2d5a24; bottom:-80px; left:10%; }

.hn-hero-inner {
  position: relative;
  z-index: 2;
  max-width: 820px;
  margin: 0 auto;
  width: 100%;
}
.hn-hero-label {
  font-family: 'Cormorant Garamond', serif;
  font-size: 11px;
  letter-spacing: 0.35em;
  color: var(--hn-blue);
  margin-bottom: 24px;
  display: flex;
  align-items: center;
  gap: 12px;
}
.hn-hero-label::before {
  content: '';
  display: block;
  width: 32px;
  height: 1px;
  background: var(--hn-blue);
  opacity: 0.5;
}
.hn-hero-h1 {
  font-family: 'Shippori Mincho', 'Noto Serif JP', serif;
  color: #fff;
  line-height: 1.5;
  margin: 0 0 28px;
  letter-spacing: 0.04em;
}
.hn-hero-h1-lead {
  display: block;
  font-size: clamp(18px, 2.2vw, 26px);
  font-weight: 300;
  color: rgba(255,255,255,0.6);
  letter-spacing: 0.2em;
  margin-bottom: 6px;
  font-family: 'Cormorant Garamond', serif;
  font-style: italic;
}
.hn-hero-h1-main {
  display: block;
  font-size: clamp(36px, 5.5vw, 66px);
  font-weight: 500;
  color: #fff;
  letter-spacing: 0.05em;
  line-height: 1.3;
}
.hn-hero-sub {
  font-family: 'Noto Serif JP', serif;
  font-size: clamp(14px, 1.6vw, 18px);
  color: rgba(255,255,255,0.75);
  line-height: 1.9;
  letter-spacing: 0.05em;
  margin-bottom: 16px;
}
.hn-hero-desc {
  font-family: 'Noto Serif JP', serif;
  font-size: clamp(13px, 1.4vw, 15px);
  color: rgba(255,255,255,0.55);
  line-height: 2;
  margin-bottom: 48px;
  max-width: 680px;
}
.hn-hero-cta { display: flex; gap: 16px; flex-wrap: wrap; margin-bottom: 20px; }
.hn-hero-notice {
  font-family: 'Cormorant Garamond', serif;
  font-size: 11px;
  letter-spacing: 0.2em;
  color: rgba(255,255,255,0.3);
}

/* ============================================================
   S01 つながり
   ============================================================ */
.hn-connection { background: var(--hn-cream); }
.hn-section-title { color: var(--hn-navy); }
.hn-connection-body p {
  font-family: 'Noto Serif JP', serif;
  font-size: clamp(13px, 1.4vw, 15px);
  color: var(--hn-mid);
  line-height: 2.1;
  margin-bottom: 20px;
}
.hn-quote-block {
  font-family: 'Shippori Mincho', serif;
  font-size: clamp(15px, 1.7vw, 19px);
  color: var(--hn-navy);
  line-height: 1.9;
  padding: 24px 28px;
  border-left: 3px solid var(--hn-green);
  background: rgba(45,90,36,0.05);
  margin: 32px 0 48px;
  letter-spacing: 0.05em;
}
.hn-connection-cards {
  display: grid;
  grid-template-columns: repeat(5, 1fr);
  gap: 12px;
}
.hn-conn-card {
  padding: 24px 16px;
  border: 0.5px solid var(--hn-border-green);
  background: #fff;
  text-align: center;
  transition: transform 0.3s, box-shadow 0.3s;
}
.hn-conn-card:hover { transform: translateY(-4px); box-shadow: 0 8px 24px rgba(45,90,36,0.08); }
.hn-conn-card-icon { font-size: 24px; margin-bottom: 8px; }
.hn-conn-card-label {
  font-family: 'Shippori Mincho', serif;
  font-size: 15px;
  color: var(--hn-navy);
  font-weight: 500;
  margin-bottom: 6px;
}
.hn-conn-card-desc {
  font-family: 'Noto Serif JP', serif;
  font-size: 11px;
  color: var(--hn-faint);
  line-height: 1.7;
}

/* ============================================================
   S02 なぜ今
   ============================================================ */
.hn-why { background: #fff; }
.hn-why-grid { display: grid; grid-template-columns: 1fr 320px; gap: 48px; align-items: start; }
.hn-why-body p {
  font-family: 'Noto Serif JP', serif;
  font-size: clamp(13px, 1.4vw, 15px);
  color: var(--hn-mid);
  line-height: 2.1;
  margin-bottom: 20px;
}
.hn-callout-label {
  font-family: 'Cormorant Garamond', serif;
  font-size: 10px;
  letter-spacing: 0.3em;
  color: var(--hn-blue);
  margin-bottom: 12px;
  text-transform: uppercase;
}
.hn-why-callout {
  background: var(--hn-navy);
  padding: 32px 28px;
  position: sticky;
  top: 100px;
}
.hn-callout-text {
  font-family: 'Shippori Mincho', serif;
  font-size: clamp(14px, 1.5vw, 17px);
  color: #fff;
  line-height: 1.9;
  letter-spacing: 0.05em;
}

/* ============================================================
   S03 立場
   ============================================================ */
.hn-stance { background: var(--hn-cream); }
.hn-stance-lead {
  font-family: 'Noto Serif JP', serif;
  font-size: 15px;
  color: var(--hn-mid);
  margin-bottom: 32px;
}
/* VS比較表 */
.hn-vs-table {
  margin-bottom: 40px;
  border: 0.5px solid var(--hn-border);
  overflow: hidden;
}
.hn-vs-header {
  display: grid;
  grid-template-columns: 1fr 56px 1fr;
  background: var(--hn-navy);
}
.hn-vs-header-a,
.hn-vs-header-b {
  font-family: 'Noto Serif JP', serif;
  font-size: 11px;
  letter-spacing: 0.15em;
  padding: 12px 20px;
  font-weight: 500;
}
.hn-vs-header-a { color: #7cc8e0; }
.hn-vs-header-b { color: #7abf7a; text-align: right; }
.hn-vs-header-mid { background: var(--hn-navy); }
.hn-vs-row {
  display: grid;
  grid-template-columns: 1fr 56px 1fr;
  border-top: 0.5px solid var(--hn-border);
  align-items: center;
}
.hn-vs-cell {
  font-family: 'Noto Serif JP', serif;
  font-size: clamp(12px, 1.3vw, 13px);
  line-height: 1.8;
  padding: 20px 20px;
}
.hn-vs-cell--a {
  background: rgba(74,143,168,0.05);
  color: #0d1e36;
  font-weight: 500;
}
.hn-vs-cell--b {
  background: rgba(45,90,36,0.04);
  color: #0d1e36;
  font-weight: 500;
  text-align: right;
}
.hn-vs-badge {
  display: flex;
  align-items: center;
  justify-content: center;
  font-family: 'Cormorant Garamond', serif;
  font-size: 13px;
  font-weight: 700;
  letter-spacing: 0.1em;
  color: #fff;
  background: var(--hn-navy);
  height: 100%;
  min-height: 64px;
  position: relative;
}
.hn-vs-badge::before,
.hn-vs-badge::after {
  content: '';
  position: absolute;
  left: 0; right: 0;
  height: 0.5px;
  background: rgba(255,255,255,0.1);
}
.hn-vs-badge::before { top: 0; }
.hn-vs-badge::after  { bottom: 0; }
.hn-stance-summary {
  padding: 28px 32px;
  border: 0.5px solid var(--hn-border-green);
  background: #fff;
  margin-bottom: 40px;
}
.hn-stance-summary p {
  font-family: 'Noto Serif JP', serif;
  font-size: 14px;
  color: var(--hn-mid);
  line-height: 2;
  margin-bottom: 8px;
}
.hn-stance-summary strong { color: var(--hn-navy); }
.hn-expr-table { border: 0.5px solid var(--hn-border); overflow: hidden; }
.hn-expr-head {
  display: grid; grid-template-columns: 1fr 1fr;
  background: var(--hn-navy); color: rgba(255,255,255,0.6);
  font-family: 'Cormorant Garamond', serif;
  font-size: 10px; letter-spacing: 0.2em;
  padding: 10px 20px;
}
.hn-expr-row {
  display: grid; grid-template-columns: 1fr 1fr;
  border-top: 0.5px solid var(--hn-border);
}
.hn-expr-avoid, .hn-expr-adopt {
  font-family: 'Noto Serif JP', serif;
  font-size: 12px; line-height: 1.8;
  padding: 14px 20px;
}
.hn-expr-avoid { color: var(--hn-faint); background: rgba(0,0,0,0.02); text-decoration: line-through; }
.hn-expr-adopt { color: var(--hn-green); background: rgba(45,90,36,0.03); }

/* ============================================================
   S04 6条件
   ============================================================ */
.hn-conditions { background: var(--hn-navy); }
.hn-conditions .hn-section-label { color: var(--hn-blue); }
.hn-conditions .hn-section-title { color: #fff; }
.hn-cond-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 2px; }
.hn-cond-card {
  padding: 36px 28px;
  background: rgba(255,255,255,0.03);
  border: 0.5px solid rgba(74,143,168,0.15);
  transition: background 0.3s;
}
.hn-cond-card:hover { background: rgba(74,143,168,0.06); }
.hn-cond-num {
  font-family: 'Cormorant Garamond', serif;
  font-size: 48px; font-weight: 300;
  color: var(--hn-blue); opacity: 0.3;
  line-height: 1; margin-bottom: 12px;
}
.hn-cond-title {
  font-family: 'Shippori Mincho', serif;
  font-size: clamp(14px, 1.5vw, 16px);
  color: #fff; font-weight: 500;
  letter-spacing: 0.04em;
  margin: 0 0 12px; line-height: 1.5;
}
.hn-cond-body {
  font-family: 'Noto Serif JP', serif;
  font-size: 12px; color: rgba(255,255,255,0.5);
  line-height: 2; margin: 0;
}

/* ============================================================
   S05 活動内容
   ============================================================ */
.hn-activities { background: var(--hn-cream); }
.hn-act-list { display: flex; flex-direction: column; gap: 0; }
.hn-act-item {
  display: grid;
  grid-template-columns: 160px 1fr;
  gap: 0 32px;
  padding: 28px 0;
  border-bottom: 0.5px solid var(--hn-border-green);
  align-items: start;
}
.hn-act-verb {
  display: flex;
  flex-direction: column;
  gap: 4px;
}
.hn-act-verb-ja {
  font-family: 'Shippori Mincho', serif;
  font-size: clamp(18px, 2vw, 22px);
  color: var(--hn-navy);
  font-weight: 500;
  letter-spacing: 0.06em;
}
.hn-act-verb-en {
  font-family: 'Cormorant Garamond', serif;
  font-size: 10px;
  letter-spacing: 0.3em;
  color: var(--hn-blue);
  text-transform: uppercase;
}
.hn-act-body {
  font-family: 'Noto Serif JP', serif;
  font-size: clamp(13px, 1.3vw, 14px);
  color: var(--hn-mid);
  line-height: 2;
  margin: 0;
  padding-top: 4px;
}

/* ============================================================
   S06 社会のセンサー
   ============================================================ */
.hn-sensor { background: #fff; }
.hn-sensor-body p {
  font-family: 'Noto Serif JP', serif;
  font-size: clamp(13px, 1.4vw, 15px);
  color: var(--hn-mid);
  line-height: 2.1;
  margin-bottom: 20px;
}
.hn-sensor-callout {
  font-family: 'Shippori Mincho', serif;
  font-size: clamp(15px, 1.7vw, 19px);
  color: var(--hn-navy);
  line-height: 1.9;
  padding: 28px 32px;
  border-left: 3px solid var(--hn-blue);
  background: rgba(74,143,168,0.05);
  margin: 32px 0;
  letter-spacing: 0.04em;
}
.hn-ledger {
  display: grid;
  grid-template-columns: 1fr 40px 1fr;
  gap: 0;
  margin-top: 48px;
  align-items: center;
}
.hn-ledger-col {
  padding: 32px 28px;
  border: 0.5px solid var(--hn-border);
}
.hn-ledger-col--give { background: rgba(13,30,54,0.03); }
.hn-ledger-col--get  { background: rgba(45,90,36,0.04); }
.hn-ledger-head {
  font-family: 'Shippori Mincho', serif;
  font-size: 14px; color: var(--hn-navy);
  font-weight: 500; margin-bottom: 16px;
}
.hn-ledger-col ul { list-style: none; padding: 0; margin: 0; }
.hn-ledger-col li {
  font-family: 'Noto Serif JP', serif;
  font-size: 12px; color: var(--hn-mid);
  line-height: 1.8;
  padding: 6px 0;
  border-bottom: 0.5px solid var(--hn-border);
}
.hn-ledger-col li:last-child { border-bottom: none; }
.hn-ledger-sep {
  text-align: center;
  font-size: 20px;
  color: var(--hn-faint);
}

/* ============================================================
   S07 参加
   ============================================================ */
.hn-join { background: var(--hn-cream); }
.hn-join-lead {
  font-family: 'Noto Serif JP', serif;
  font-size: clamp(13px, 1.4vw, 15px);
  color: var(--hn-mid);
  line-height: 2.1;
  margin-bottom: 48px;
}
.hn-join-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 16px;
}
.hn-join-card {
  padding: 28px 24px;
  background: #fff;
  border: 0.5px solid var(--hn-border-green);
  display: flex;
  flex-direction: column;
  gap: 10px;
  transition: transform 0.3s, box-shadow 0.3s;
}
.hn-join-card:hover { transform: translateY(-3px); box-shadow: 0 8px 24px rgba(45,90,36,0.08); }
.hn-join-for {
  font-family: 'Cormorant Garamond', serif;
  font-size: 10px;
  letter-spacing: 0.2em;
  color: var(--hn-blue);
  text-transform: uppercase;
}
.hn-join-desc {
  font-family: 'Noto Serif JP', serif;
  font-size: 12px;
  color: var(--hn-mid);
  line-height: 1.9;
  margin: 0;
  flex: 1;
}
.hn-join-cta {
  font-family: 'Noto Serif JP', serif;
  font-size: 12px;
  color: var(--hn-green);
  text-decoration: none;
  letter-spacing: 0.05em;
  transition: color 0.2s;
  margin-top: auto;
}
.hn-join-cta:hover { color: var(--hn-navy); }

/* ============================================================
   S08 フォーム
   ============================================================ */
.hn-form { background: #fff; }
.hn-form-placeholder {
  max-width: 560px;
}
.hn-form-note {
  font-family: 'Noto Serif JP', serif;
  font-size: 12px;
  color: var(--hn-faint);
  margin-top: 16px;
}
.hn-form-note a { color: var(--hn-blue); }

/* ============================================================
   S09 透明性
   ============================================================ */
.hn-transparency { background: var(--hn-navy); }
.hn-transparency .hn-section-label { color: var(--hn-blue); }
.hn-transparency .hn-section-title { color: #fff; }
.hn-trans-grid { display: grid; grid-template-columns: repeat(2, 1fr); gap: 2px; }
.hn-trans-item {
  padding: 32px 28px;
  background: rgba(255,255,255,0.03);
  border: 0.5px solid rgba(74,143,168,0.12);
}
.hn-trans-title {
  font-family: 'Shippori Mincho', serif;
  font-size: 15px;
  color: #fff;
  font-weight: 500;
  margin: 0 0 12px;
  letter-spacing: 0.05em;
}
.hn-trans-body {
  font-family: 'Noto Serif JP', serif;
  font-size: 12px;
  color: rgba(255,255,255,0.5);
  line-height: 2;
  margin: 0;
}

/* ============================================================
   FINAL CTA
   ============================================================ */
.hn-final {
  padding: 120px 40px;
  background: var(--hn-cream);
  text-align: center;
  border-top: 0.5px solid var(--hn-border-green);
}
.hn-final-inner { max-width: 720px; margin: 0 auto; }
.hn-final-title {
  font-family: 'Shippori Mincho', 'Noto Serif JP', serif;
  font-size: clamp(22px, 3vw, 36px);
  color: var(--hn-navy);
  font-weight: 500;
  line-height: 1.8;
  letter-spacing: 0.06em;
  margin-bottom: 24px;
}
.hn-final-closing {
  font-family: 'Cormorant Garamond', serif;
  font-size: clamp(16px, 1.8vw, 20px);
  color: var(--hn-green);
  letter-spacing: 0.15em;
  margin-bottom: 48px;
  font-style: italic;
}
.hn-final-cta { display: flex; gap: 16px; justify-content: center; flex-wrap: wrap; margin-bottom: 20px; }
.hn-final-notice {
  font-family: 'Cormorant Garamond', serif;
  font-size: 11px;
  letter-spacing: 0.2em;
  color: var(--hn-faint);
}

/* ============================================================
   RESPONSIVE
   ============================================================ */
@media (max-width: 900px) {
  .hn-connection-cards { grid-template-columns: repeat(3, 1fr); }
  .hn-cond-grid { grid-template-columns: repeat(2, 1fr); }
  .hn-why-grid { grid-template-columns: 1fr; }
  .hn-why-callout { position: static; }
  .hn-join-grid { grid-template-columns: repeat(2, 1fr); }
  .hn-ledger { grid-template-columns: 1fr; }
  .hn-ledger-sep { display: none; }
}
@media (max-width: 767px) {
  .hn-inner { padding: 0 20px; }
  .hn-section { padding: 64px 0; }
  .hn-hero { padding: 100px 20px 64px; min-height: auto; }
  /* FV内のアウトラインボタンを白で目立たせる */
  .hn-hero .hn-btn--outline {
    color: #fff;
    border-color: rgba(255,255,255,0.7);
    background: rgba(255,255,255,0.08);
  }
  .hn-hero .hn-btn--outline:hover {
    background: rgba(255,255,255,0.18);
    border-color: #fff;
  }
  /* CTAを縦並びにして全幅に */
  .hn-hero-cta {
    flex-direction: column;
    gap: 12px;
  }
  .hn-hero-cta .hn-btn {
    text-align: center;
    width: 100%;
  }
  .hn-connection-cards { grid-template-columns: repeat(2, 1fr); }
  .hn-cond-grid { grid-template-columns: 1fr; gap: 12px; }
  .hn-act-item { grid-template-columns: 1fr; gap: 8px; }
  .hn-join-grid { grid-template-columns: 1fr; }
  .hn-trans-grid { grid-template-columns: 1fr; }
  /* VS比較表 SP */
  .hn-vs-header { grid-template-columns: 1fr 40px 1fr; }
  .hn-vs-row    { grid-template-columns: 1fr 40px 1fr; }
  .hn-vs-cell   { padding: 14px 12px; font-size: 11px; }
  .hn-vs-badge  { font-size: 11px; min-height: 50px; }
  .hn-final { padding: 80px 20px; }
}

/* FV 背景画像モード */
.hn-hero-photo {
  position: absolute;
  inset: 0;
  background-size: cover;
  background-position: center;
}
.hn-hero-photo-overlay {
  position: absolute;
  inset: 0;
}

/* ============================================================
   プロフィール
   ============================================================ */
.hn-profile { background: var(--hn-cream); }
.hn-profile-card {
  display: flex;
  gap: 48px;
  align-items: flex-start;
}
.hn-profile-img {
  width: 200px;
  flex-shrink: 0;
}
.hn-profile-img img {
  width: 100%;
  aspect-ratio: 1;
  object-fit: cover;
}
.hn-profile-body { flex: 1; }
.hn-profile-meta { margin-bottom: 28px; }
.hn-profile-name {
  font-family: 'Shippori Mincho', 'Noto Serif JP', serif;
  font-size: clamp(18px, 2vw, 24px);
  color: var(--hn-navy);
  font-weight: 500;
  letter-spacing: 0.06em;
  margin-bottom: 6px;
}
.hn-profile-role {
  font-family: 'Cormorant Garamond', serif;
  font-size: 12px;
  letter-spacing: 0.15em;
  color: var(--hn-blue);
}
.hn-profile-why {
  font-family: 'Noto Serif JP', serif;
  font-size: clamp(13px, 1.4vw, 15px);
  color: var(--hn-mid);
  line-height: 2.2;
  padding-top: 24px;
  border-top: 0.5px solid var(--hn-border-green);
}

@media (max-width: 767px) {
  .hn-profile-card { flex-direction: column; gap: 24px; }
  .hn-profile-img { width: 140px; }
}
