@charset "UTF-8";
/* ==========================================================================
   Complat 新HP 暫定版 — 共通スタイル
   方針：余白ミニマル型／写真なし／ブランドトークン準拠（60:30:10）
   ========================================================================== */

/* --- ブランドトークン（brand/design-tokens.css より） -------------------- */
:root {
  --c-sage:       #90A858;
  --c-deep-sage:  #7C9146;
  --c-highlight:  #C4CF94;
  --c-charcoal:   #4A5238;
  --c-mist:       #F5F7EE;
  --c-white:      #FFFFFF;

  --a-terracotta: #C96E4A;
  --a-teal:       #2C5D5A;

  /* --- 配色：案B「フォレスト」（2026-08-12 確定） -----------------------
     メタルスライドとロゴはセージの光沢グラデーションのまま固定し、
     構造色をセージの「暗い側」に置く。緑が明暗2段階に分かれて奥行きが出る。
     差し色はやや温かい朱。
     ---------------------------------------------------------------------- */
  --c-forest:      #3B5730;   /* 構造色：見出し・濃い面。対白 8.10:1 */
  --c-forest-deep: #2E4425;   /* 広い暗面の基調 */
  --c-forest-ink:  #24361D;   /* 最暗部（グラデーションの下端） */
  --a-orange:      #DE4C23;   /* 差し色：ボタン・強調。対白 4.07:1 */
  --a-orange-ink:  #AF3514;   /* 差し色の文字用。対白 6.28:1 */

  --c-accent:     var(--a-orange);

  --bg:           var(--c-white);
  --surface:      #F2F6EE;
  --text:         #252D21;
  --text-muted:   #5b6553;
  --brand:        var(--c-sage);        /* ロゴ・メタル側（変更しない） */
  --brand-strong: var(--c-forest);      /* 構造色 */
  --link:         var(--c-forest);
  /* ボタン背景。--a-orange(#DE4C23) は白文字だと 4.07:1 で基準未達のため、
     見た目をほぼ変えずに 4.55:1 を満たす濃さにしている */
  --cta-bg:       #D24520;
  --cta-text:     var(--c-white);
  --footer-text:  #b3b9a2;
  --line:         #e4eade;

  --ease:      cubic-bezier(.16, 1, .3, 1);

  --grad-sage: linear-gradient(180deg, #90A858 0%, #7C9146 100%);
  /* ロゴと同じ光沢グラデーション。メタルスライドの基準 */
  --grad-metal: linear-gradient(112deg,
    #FFFFFF 0%, #EDF4DE 12%, #C4CF94 26%, #9BB066 38%,
    #F2F8E6 48%, #7C9146 60%, #B9CC8A 72%, #E8EFD8 84%, #FFFFFF 100%);

  /* 和文を併記（Poppins/Interは欧文のみ・要件定義5.10） */
  --font-heading: 'Poppins', 'Noto Sans JP', system-ui, sans-serif;
  --font-body:    'Inter', 'Noto Sans JP', system-ui, sans-serif;

  --radius:    12px;
  --radius-sm: 8px;
  --shadow:    0 4px 16px rgba(74, 82, 56, .08);

  --wrap:      1080px;
  --wrap-narrow: 780px;
}

/* --- リセット ------------------------------------------------------------ */
*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; }
body {
  margin: 0;
  background: var(--bg);
  color: var(--text);
  font-family: var(--font-body);
  font-size: 16px;
  line-height: 1.9;
  letter-spacing: .02em;
  font-feature-settings: "palt";
}
img { max-width: 100%; height: auto; display: block; }
a { color: var(--link); text-decoration: none; }
a:hover { text-decoration: underline; }
h1, h2, h3, h4 { font-family: var(--font-heading); line-height: 1.5; margin: 0; font-weight: 600; }
p { margin: 0 0 1.4em; }
ul { margin: 0 0 1.4em; padding-left: 1.3em; }
li { margin-bottom: .5em; }

/* --- レイアウト ---------------------------------------------------------- */
.wrap { width: min(100% - 48px, var(--wrap)); margin-inline: auto; }
.wrap-narrow { width: min(100% - 48px, var(--wrap-narrow)); margin-inline: auto; }
.section { padding: 96px 0; }
.section--mist { background: var(--surface); }
.section__title {
  position: relative;
  font-size: clamp(22px, 3vw, 28px);
  margin-bottom: 44px;
  padding-bottom: 18px;
}
/* 英字のアイブロー（差し色）— 見出しにリズムを与える */
.section__title[data-en]::before {
  content: attr(data-en);
  display: block;
  font-family: var(--font-heading);
  font-size: 11px; font-weight: 600; letter-spacing: .22em;
  color: var(--c-accent);
  margin-bottom: 12px;
}
/* セージの罫線の先端だけを差し色にする */
.section__title::after {
  content: "";
  position: absolute; left: 0; bottom: 0;
  width: 64px; height: 2px;
  background: linear-gradient(90deg, var(--brand) 0 72%, var(--c-accent) 72% 100%);
}

/* --- ヘッダー ------------------------------------------------------------ */
.header {
  position: sticky; top: 0; z-index: 50;
  background: rgba(255,255,255,.92);
  backdrop-filter: blur(8px);
  border-bottom: 1px solid var(--line);
}
.header__inner {
  display: flex; align-items: center; justify-content: space-between;
  gap: 24px; padding: 16px 0;
}
.header__logo img { height: 26px; width: auto; }
.nav { display: flex; align-items: center; gap: 28px; }
.nav a:not(.btn) { color: var(--text); font-size: 14px; font-weight: 500; }
.nav a:not(.btn):hover { color: var(--brand-strong); text-decoration: none; }
.nav a.btn--primary { color: var(--cta-text); }   /* 白抜きを確実に効かせる */

/* --- ボタン -------------------------------------------------------------- */
.btn {
  display: inline-block;
  padding: 14px 32px;
  border-radius: var(--radius-sm);
  font-family: var(--font-heading);
  font-size: 15px; font-weight: 600;
  text-align: center;
  transition: opacity .2s, transform .2s;
}
.btn:hover { text-decoration: none; opacity: .88; transform: translateY(-1px); }
.btn--primary { background: var(--cta-bg); color: var(--cta-text); }
.btn--ghost { border: 1.5px solid var(--brand); color: var(--brand-strong); background: transparent; }
.btn--sm { padding: 10px 22px; font-size: 14px; }

/* ==========================================================================
   ヒーロー（発光カード型）
   Antigravity CLI で設計 → ブランドルール準拠に調整のうえ統合
   ・白い背景の上に、暗いディープセージのカードを置く
   ・中央奥から光が放射し、テキストが発光しているように見せる
   ・ロゴはブランドルール「暗背景は反転で使用」に従い白抜きにする
   ========================================================================== */
.hero { padding: 28px 0 12px; }

.hero__card {
  position: relative;
  isolation: isolate;
  overflow: hidden;
  min-height: 540px;
  display: flex; align-items: center; justify-content: center;
  padding: 92px 32px;
  border-radius: 28px;
  /* 黒に落とさず、全体をディープセージのグラデーションで満たす */
  background-color: #2E4425;
  background-image:
    radial-gradient(ellipse 130% 105% at 50% 36%,
      rgba(168,196,104,.50) 0%,
      rgba(124,145,70,.42) 30%,
      rgba(74,96,42,.55) 58%,
      rgba(46,63,28,.80) 82%,
      rgba(36,50,22,.92) 100%),
    linear-gradient(158deg, #3B5730 0%, #2E4425 45%, #24361D 100%);
  border: 1px solid rgba(196,207,148,.22);
  box-shadow:
    0 24px 48px -12px rgba(0,0,0,.35),
    0 2px 6px rgba(0,0,0,.2),
    inset 0 1px 1px rgba(196,207,148,.2);
}

/* 中央奥の発光体（外側の広い光） */
.hero__glow {
  position: absolute; top: 36%; left: 50%;
  width: 1000px; height: 720px; border-radius: 50%;
  transform: translate(-50%, -50%);
  background: radial-gradient(circle,
    rgba(220,232,176,.80) 0%,
    rgba(172,198,108,.55) 30%,
    rgba(138,164,80,.34) 52%,
    rgba(110,136,62,.18) 72%,
    transparent 88%);
  filter: blur(64px);
  mix-blend-mode: screen;
  z-index: 1; pointer-events: none;
  animation: hero-breath 11s ease-in-out infinite alternate;
}

/* 二次光源：テラコッタの暖色ブルーム（差し色）
   セージの寒色寄りの光に対して、右下から暖色を当てて奥行きを出す。
   面積・濃度とも控えめにし、配色比率10%の枠内に収める。 */
.hero__warm {
  position: absolute; right: -2%; bottom: -8%;
  width: 660px; height: 520px; border-radius: 50%;
  background: radial-gradient(circle,
    rgba(201,110,74,.58) 0%,
    rgba(201,110,74,.32) 34%,
    rgba(224,138,110,.14) 58%,
    transparent 78%);
  filter: blur(72px);
  mix-blend-mode: screen;
  z-index: 2; pointer-events: none;
  animation: hero-warm 15s ease-in-out infinite alternate;
}

/* 上端のスペキュラ（ガラスのふちの光） */
.hero__card::before {
  content: "";
  position: absolute; inset: 0; z-index: 5; pointer-events: none;
  border-radius: inherit;
  background: linear-gradient(180deg, rgba(255,255,255,.16) 0%, rgba(255,255,255,0) 22%);
  mask-image: linear-gradient(180deg, #000 0%, transparent 30%);
  -webkit-mask-image: linear-gradient(180deg, #000 0%, transparent 30%);
}

/* 微細なグレイン（のっぺり感を消して質感を上げる） */
.hero__grain {
  position: absolute; inset: 0; z-index: 6; pointer-events: none;
  opacity: .16; mix-blend-mode: overlay;
  background-image: url("data:image/svg+xml;utf8,<svg xmlns='http://www.w3.org/2000/svg' width='160' height='160'><filter id='n'><feTurbulence type='fractalNoise' baseFrequency='.85' numOctaves='3'/></filter><rect width='160' height='160' filter='url(%23n)' opacity='.45'/></svg>");
}

/* 中心のホットコア（Apple の強い光源に相当） */
.hero__core {
  position: absolute; top: 36%; left: 50%;
  width: 300px; height: 220px; border-radius: 50%;
  transform: translate(-50%, -50%);
  background: radial-gradient(circle,
    rgba(240,247,220,.92) 0%,
    rgba(214,226,168,.55) 38%,
    rgba(160,186,96,.18) 62%,
    transparent 78%);
  filter: blur(44px);
  mix-blend-mode: screen;
  z-index: 2; pointer-events: none;
  animation: hero-breath 11s ease-in-out infinite alternate-reverse;
}

/* 放射状の光芒 */
.hero__rays {
  position: absolute; top: 34%; left: 50%;
  width: 980px; height: 980px;
  transform: translate(-50%, -50%);
  background: conic-gradient(from 0deg at 50% 50%,
    transparent 0deg, rgba(196,207,148,.07) 15deg,
    transparent 35deg, rgba(144,168,88,.10) 60deg,
    transparent 85deg, rgba(196,207,148,.05) 120deg,
    transparent 150deg, rgba(144,168,88,.09) 210deg,
    transparent 250deg, rgba(196,207,148,.08) 300deg,
    transparent 340deg);
  filter: blur(28px);
  mix-blend-mode: screen;
  z-index: 3; pointer-events: none;
  animation: hero-rays 60s linear infinite;
}

/* 周辺減光（ビネット）※黒ではなく深緑側へ落とす・控えめ */
.hero__vignette {
  position: absolute; inset: 0; z-index: 4; pointer-events: none;
  background: radial-gradient(ellipse 120% 100% at 50% 42%,
    transparent 48%, rgba(28,40,18,.34) 82%, rgba(24,34,15,.48) 100%);
}

.hero__inner {
  position: relative; z-index: 10;
  display: flex; flex-direction: column; align-items: center;
  text-align: center; max-width: 820px; width: 100%;
}

/* ロゴ：暗背景のため反転（白抜き）＋発光 */
.hero__logo {
  height: 24px; width: auto; margin-bottom: 36px;
  filter: brightness(0) invert(1)
          drop-shadow(0 0 14px rgba(196,207,148,.75))
          drop-shadow(0 0 34px rgba(144,168,88,.45));
  opacity: .95;
}

.hero__title {
  font-size: clamp(30px, 5.6vw, 58px);
  font-weight: 700;
  line-height: 1.35;
  letter-spacing: .005em;
  color: var(--c-mist);
  margin: 0 0 24px;
  text-shadow:
    0 0 34px rgba(196,207,148,.42),
    0 2px 4px rgba(0,0,0,.8),
    0 10px 22px rgba(0,0,0,.5);
}
/* 文節の途中で改行させない（「伸ば／す。」を防ぐ） */
.hero__title span { display: inline-block; }

.hero__lead {
  font-size: clamp(15px, 1.8vw, 19px);
  line-height: 1.9;
  color: rgba(250,252,244,.96);
  max-width: 30em;
  margin: 0 0 44px;
  text-shadow: 0 1px 4px rgba(20,32,14,.85), 0 2px 12px rgba(20,32,14,.5);
}

.hero__actions { display: flex; flex-wrap: wrap; gap: 16px; justify-content: center; }

/* ヒーロー内のボタン（ガラス質） */
.hero__btn {
  display: inline-flex; align-items: center; justify-content: center;
  padding: 14px 34px; border-radius: 999px;
  font-family: var(--font-heading); font-size: 15px; font-weight: 600;
  color: var(--c-mist);
  transition: transform .3s cubic-bezier(.16,1,.3,1), background .3s, box-shadow .3s, border-color .3s;
}
.hero__btn:hover { text-decoration: none; transform: translateY(-2px); }
.hero__btn:active { transform: translateY(0); }

/* 主ボタン：緑の上で確実に立たせるため、Mistの面で置く */
.hero__btn--primary {
  background: var(--c-mist);
  color: #33472A;
  border: 1px solid rgba(255,255,255,.9);
  box-shadow: 0 10px 28px -6px rgba(20,32,14,.55), 0 2px 6px rgba(20,32,14,.3),
              inset 0 1px 1px rgba(255,255,255,.9);
}
.hero__btn--primary:hover {
  background: #fff;
  color: #2E4425;
  box-shadow: 0 14px 34px -4px rgba(20,32,14,.6), 0 0 22px rgba(220,232,176,.5),
              inset 0 1px 2px rgba(255,255,255,1);
}

/* 副ボタン：フロストガラス。輪郭を明確にして溶けないようにする */
.hero__btn--ghost {
  background: rgba(24,36,14,.30);
  backdrop-filter: blur(16px); -webkit-backdrop-filter: blur(16px);
  border: 1.5px solid rgba(245,247,238,.55);
  box-shadow: 0 6px 20px rgba(20,32,14,.35), inset 0 1px 1px rgba(255,255,255,.18);
  text-shadow: 0 1px 3px rgba(20,32,14,.6);
}
.hero__btn--ghost:hover {
  background: rgba(24,36,14,.44);
  border-color: rgba(255,255,255,.85);
  box-shadow: 0 8px 24px rgba(20,32,14,.45), inset 0 1px 1px rgba(255,255,255,.28);
}

@keyframes hero-breath {
  0%   { opacity: .75; transform: translate(-50%,-50%) scale(.95); }
  100% { opacity: 1;   transform: translate(-50%,-50%) scale(1.1); }
}
@keyframes hero-warm {
  0%   { opacity: .62; transform: scale(1); }
  100% { opacity: 1;   transform: scale(1.12); }
}
@keyframes hero-rays {
  0%   { transform: translate(-50%,-50%) rotate(0deg); }
  100% { transform: translate(-50%,-50%) rotate(360deg); }
}
@media (prefers-reduced-motion: reduce) {
  .hero__glow, .hero__core, .hero__rays, .hero__warm { animation: none; }
  .hero__btn, .card { transition: none; }
}

/* --- ページヘッダー（下層） ---------------------------------------------- */
.pagehead { padding: 72px 0 56px; background: var(--surface); border-bottom: 1px solid var(--line); }
.pagehead__title { font-size: clamp(24px, 3.4vw, 34px); margin-bottom: 12px; }
.pagehead__lead { color: var(--text-muted); margin: 0; }

/* --- 課題提起リスト ------------------------------------------------------ */
.issues { list-style: none; padding: 0; margin: 0; }
.issues li {
  position: relative;
  padding: 16px 0 16px 34px;
  border-bottom: 1px solid var(--line);
  margin: 0;
}
.issues li::before {
  content: ""; position: absolute; left: 6px; top: 27px;
  width: 10px; height: 10px; border-radius: 50%;
  background: var(--brand); opacity: .55;
}

/* --- カード（3つの柱） --------------------------------------------------- */
.cards { display: grid; gap: 24px; grid-template-columns: repeat(3, 1fr); }
.card {
  position: relative;
  background: var(--c-white);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 34px 28px;
  box-shadow: var(--shadow);
  overflow: hidden;
  transition: transform .3s cubic-bezier(.16,1,.3,1), box-shadow .3s;
}
/* 上辺：セージ→差し色のライン */
.card::before {
  content: "";
  position: absolute; top: 0; left: 0; right: 0; height: 3px;
  background: linear-gradient(90deg, var(--brand-strong) 0%, var(--brand) 62%, var(--c-accent) 100%);
}
.card:hover {
  transform: translateY(-4px);
  box-shadow: 0 14px 32px rgba(74,82,56,.14);
}
.card__no {
  font-family: var(--font-heading); font-size: 12px; font-weight: 600;
  letter-spacing: .18em; color: var(--c-accent); margin-bottom: 12px;
}
.card__title { font-size: 19px; margin-bottom: 14px; }
.card__body { font-size: 15px; color: var(--text-muted); margin: 0 0 16px; }
.card__list { font-size: 14px; color: var(--text-muted); padding-left: 1.2em; margin: 0; }

/* --- 実績（数字） -------------------------------------------------------- */
.stats { display: grid; gap: 20px; grid-template-columns: repeat(5, 1fr); }
.stat {
  position: relative;
  background: var(--c-white); border: 1px solid var(--line);
  border-radius: var(--radius); padding: 28px 18px 24px; text-align: center;
  transition: transform .3s cubic-bezier(.16,1,.3,1), box-shadow .3s;
}
.stat::after {
  content: "";
  position: absolute; left: 50%; bottom: 14px; transform: translateX(-50%);
  width: 22px; height: 2px; border-radius: 2px;
  background: var(--c-highlight);
}
.stat:hover { transform: translateY(-3px); box-shadow: var(--shadow); }
.stat__num {
  font-family: var(--font-heading);
  font-size: clamp(22px, 2.6vw, 30px); font-weight: 700;
  color: var(--c-accent); line-height: 1.3;
}
.stat__num small { font-size: .6em; font-weight: 600; margin-left: 2px; }
.stat__label { font-size: 12.5px; color: var(--text-muted); margin-top: 8px; line-height: 1.6; }

/* --- 定義テーブル -------------------------------------------------------- */
.deftable { width: 100%; border-collapse: collapse; font-size: 15px; }
.deftable th, .deftable td { padding: 16px 12px; border-bottom: 1px solid var(--line); text-align: left; vertical-align: top; }
.deftable th { width: 30%; font-weight: 600; color: var(--brand-strong); white-space: nowrap; }
.deftable td { color: var(--text-muted); }

/* --- 沿革 ---------------------------------------------------------------- */
.history { list-style: none; padding: 0; margin: 0; }
.history li {
  display: grid; grid-template-columns: 130px 1fr; gap: 20px;
  padding: 16px 0; border-bottom: 1px solid var(--line); margin: 0;
}
.history dt, .history .year {
  font-family: var(--font-heading); font-weight: 600; font-size: 14px; color: var(--brand-strong);
}
.history .body { font-size: 15px; color: var(--text-muted); }

/* --- CTAブロック --------------------------------------------------------- */
.cta {
  position: relative; overflow: hidden;
  text-align: center; padding: 96px 0;
  background: var(--surface);
}
/* ヒーローの発光を弱く反復して、ページ全体のトーンをつなぐ */
.cta::before {
  content: "";
  position: absolute; top: 50%; left: 50%;
  width: 900px; height: 480px; border-radius: 50%;
  transform: translate(-50%, -50%);
  background: radial-gradient(circle,
    rgba(144,168,88,.16) 0%, rgba(196,207,148,.10) 42%, transparent 72%);
  filter: blur(48px); pointer-events: none;
}
.cta > * { position: relative; z-index: 1; }
.cta__title { font-size: clamp(21px, 2.6vw, 27px); margin-bottom: 18px; }
.cta__lead { color: var(--text-muted); max-width: 32em; margin: 0 auto 32px; }

/* --- 代表からの一言 ------------------------------------------------------ */
.message { border-left: 3px solid var(--brand); padding-left: 28px; }
.message__lead { font-family: var(--font-heading); font-size: 20px; margin-bottom: 20px; }

/* --- フォーム ------------------------------------------------------------ */
.form { display: grid; gap: 22px; max-width: 640px; }
.field label { display: block; font-size: 14px; font-weight: 600; margin-bottom: 8px; }
.req {
  display: inline-block;
  font-size: 11px; color: var(--c-white); background: var(--c-accent);
  border-radius: 3px; padding: 2px 6px; margin-left: 8px; font-weight: 600;
  line-height: 1.6; vertical-align: middle;
}
.opt {
  display: inline-block;
  font-size: 11px; color: var(--text-muted); background: var(--surface);
  border: 1px solid var(--line); border-radius: 3px; padding: 2px 6px; margin-left: 8px;
  line-height: 1.6; vertical-align: middle;
}
.field input, .field select, .field textarea {
  width: 100%; padding: 12px 14px; font-size: 15px; font-family: var(--font-body);
  color: var(--text); background: var(--c-white);
  border: 1px solid var(--line); border-radius: var(--radius-sm);
}
.field input:focus, .field select:focus, .field textarea:focus {
  outline: 2px solid var(--brand); outline-offset: 1px; border-color: var(--brand);
}
.field textarea { min-height: 180px; resize: vertical; }
.checkline { display: flex; align-items: flex-start; gap: 10px; font-size: 14px; }
.checkline input { width: auto; margin-top: 5px; }
.form__note { font-size: 13px; color: var(--text-muted); }

/* --- 注記 ---------------------------------------------------------------- */
.note { font-size: 13.5px; color: var(--text-muted); }
.lead { font-size: clamp(16px, 1.8vw, 18px); color: var(--text-muted); }

/* --- フッター ------------------------------------------------------------ */
.footer { background: var(--c-white); border-top: 1px solid var(--line); padding: 64px 0 32px; }
.footer__grid { display: grid; gap: 40px; grid-template-columns: 1.4fr 1fr 1fr; margin-bottom: 44px; }
.footer__company { font-size: 14px; color: var(--text-muted); }
.footer__company strong { display: block; color: var(--text); font-size: 15px; margin-bottom: 10px; }
.footer__heading {
  font-family: var(--font-heading); font-size: 12px; font-weight: 600;
  letter-spacing: .14em; color: var(--brand-strong); margin-bottom: 14px;
}
.footer__list { list-style: none; padding: 0; margin: 0; font-size: 14px; }
.footer__list li { margin-bottom: 10px; }
.footer__list a { color: var(--text-muted); }
.footer__list a:hover { color: var(--brand-strong); }
.brand-footer {
  display: flex; align-items: center; gap: 8px;
  font-size: 10px; color: var(--footer-text);
  border-top: 1px solid var(--line); padding-top: 22px;
}
.brand-footer img { height: 14px; width: auto; }

/* --- レスポンシブ -------------------------------------------------------- */
@media (max-width: 900px) {
  .cards { grid-template-columns: 1fr; }
  .stats { grid-template-columns: repeat(2, 1fr); }
  .footer__grid { grid-template-columns: 1fr; gap: 32px; }
}
@media (max-width: 640px) {
  .wrap, .wrap-narrow { width: calc(100% - 36px); }
  .section { padding: 64px 0; }
  .hero { padding: 16px 0 8px; }
  .hero__card { min-height: 470px; border-radius: 20px; padding: 60px 20px; }
  .hero__glow { width: 320px; height: 320px; }
  .hero__logo { height: 20px; margin-bottom: 26px; }
  .hero__actions { flex-direction: column; width: 100%; }
  .hero__btn { width: 100%; max-width: 320px; margin-inline: auto; }
  .nav { gap: 16px; }
  .nav a { font-size: 13px; }
  .nav .btn { display: none; }
  .header__logo img { height: 22px; }
  .history li { grid-template-columns: 1fr; gap: 4px; }
  .deftable th { width: 34%; font-size: 14px; }
  .deftable td { font-size: 14px; }
  .stats { grid-template-columns: 1fr 1fr; }
}
