/* ━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━
   JOWA — common.css
   両ページ共通スタイル
━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━ */

/* ── TOKENS ── */
:root {
  --black:       #0a0a0a;
  --dark:        #111111;
  --surface:     #1a1a1a;
  --border:      rgba(255,255,255,.09);
  --green:       #1E6B45;
  --green-d:     #143d28;
  --green-l:     #2D8858;
  --cream:       #F5F3EE;
  --cream-d:     #EDEAE3;
  --muted:       rgba(255,255,255,.44);
  --orange:      #E86C2C;
  --orange-l:    #f49460;
  --ink:         #111111;
  --sub:         #5a5a5a;
  --rule:        #E0DDD6;
  --white:       #FFFFFF;

  --font-disp:   'Plus Jakarta Sans', 'Noto Sans JP', sans-serif;
  --font-body:   'Inter', 'Noto Sans JP', sans-serif;

  --radius-sm:   8px;
  --radius-md:   16px;
  --radius-lg:   24px;
  --radius-pill: 100px;
}

/* ── RESET ── */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; }
body {
  font-family: var(--font-body);
  background: var(--cream); color: var(--ink);
  font-size: 17px; line-height: 1.75;
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}
img { max-width: 100%; display: block; }
a { color: inherit; text-decoration: none; }

/* ── HEADER ── */
.hd {
  position: fixed; inset: 0 0 auto; z-index: 900;
  padding: 0 48px; height: 60px;
  display: flex; align-items: center; justify-content: space-between;
  background: rgba(30,107,69,.95);
  backdrop-filter: blur(16px) saturate(180%);
  border-bottom: 1px solid rgba(255,255,255,.12);
}
.hd-logo {
  font-family: var(--font-disp);
  font-size: 20px; font-weight: 800; letter-spacing: .04em; color: var(--white);
}
.hd-logo b { color: var(--orange); }
.hd-nav { display: flex; align-items: center; gap: 32px; }
.hd-nav a {
  font-size: 13px; font-weight: 600;
  color: rgba(255,255,255,.6); letter-spacing: .04em;
  transition: color .15s;
}
.hd-nav a:hover { color: var(--white); }
.hd-cta {
  background: var(--orange); color: var(--white) !important;
  padding: 9px 22px; border-radius: var(--radius-pill);
  font-size: 13px; font-weight: 700; letter-spacing: .04em;
  transition: background .15s;
}
.hd-cta:hover { background: #c95e22; }

/* ── FOOTER ── */
.ft { background: #060d09; }

.ft-cta {
  background: var(--green);
  padding: 36px 48px;
  border-bottom: 1px solid rgba(255,255,255,.08);
}
.ft-cta-inner {
  max-width: 1120px; margin: 0 auto;
  display: flex; align-items: center; justify-content: space-between; gap: 24px;
  flex-wrap: wrap;
}
.ft-cta-label {
  font-family: var(--font-disp); font-size: 20px; font-weight: 800;
  color: var(--white); margin-bottom: 4px;
}
.ft-cta-sub { font-size: 14px; color: rgba(255,255,255,.65); line-height: 1.6; }
.ft-cta-btn {
  flex-shrink: 0;
  display: inline-flex; align-items: center; gap: 8px;
  background: var(--white); color: var(--green);
  padding: 14px 32px; border-radius: var(--radius-pill);
  font-size: 14px; font-weight: 700; white-space: nowrap;
  transition: all .15s;
}
.ft-cta-btn:hover { background: var(--cream); }

.ft-main { padding: 64px 48px 48px; }
.ft-main-inner {
  max-width: 1120px; margin: 0 auto;
  display: grid; grid-template-columns: 2fr 1fr 1fr 1fr; gap: 48px;
}

.ft-logo {
  font-family: var(--font-disp); font-size: 28px; font-weight: 800;
  color: var(--white); letter-spacing: .04em; margin-bottom: 16px;
}
.ft-logo b { color: var(--orange); }
.ft-tagline {
  font-family: var(--font-disp); font-size: 15px; font-weight: 700;
  color: rgba(255,255,255,.65); line-height: 1.7; margin-bottom: 12px;
}
.ft-stats { font-size: 12px; color: rgba(255,255,255,.3); letter-spacing: .06em; }

.ft-col-title {
  font-size: 11px; font-weight: 700; letter-spacing: .18em; text-transform: uppercase;
  color: rgba(255,255,255,.28); margin-bottom: 16px; padding-bottom: 12px;
  border-bottom: 1px solid rgba(255,255,255,.06);
}
.ft-col-links { list-style: none; display: flex; flex-direction: column; gap: 10px; }
.ft-col-links a {
  font-size: 13px; color: rgba(255,255,255,.48); transition: color .15s; line-height: 1.4;
}
.ft-col-links a:hover { color: rgba(255,255,255,.9); }

.ft-bottom {
  border-top: 1px solid rgba(255,255,255,.06);
  padding: 20px 48px;
}
.ft-bottom-inner {
  max-width: 1120px; margin: 0 auto;
  display: flex; align-items: center; justify-content: space-between;
  flex-wrap: wrap; gap: 12px;
}
.ft-copy { font-size: 12px; color: rgba(255,255,255,.18); }
.ft-bottom-nav { display: flex; gap: 24px; }
.ft-bottom-nav a {
  font-size: 12px; color: rgba(255,255,255,.28); transition: color .15s;
}
.ft-bottom-nav a:hover { color: rgba(255,255,255,.7); }

/* ── PILLS ── */
.pill {
  display: inline-flex; align-items: center; gap: 6px;
  padding: 5px 14px; border-radius: var(--radius-pill);
  font-size: 11px; font-weight: 700; letter-spacing: .1em;
  text-transform: uppercase;
}
.pill-outline {
  border: 1px solid rgba(255,255,255,.22);
  color: rgba(255,255,255,.72);
}
.pill-green {
  background: rgba(255,255,255,.15);
  border: 1px solid rgba(255,255,255,.3);
  color: rgba(255,255,255,.9);
}
.pill-green::before {
  content: ''; width: 6px; height: 6px;
  border-radius: 50%; background: #6ecf9e; flex-shrink: 0;
}

/* ── BUTTONS ── */
.btn-primary {
  display: inline-flex; align-items: center; gap: 10px;
  background: var(--orange); color: var(--white);
  padding: 16px 36px; border-radius: var(--radius-pill);
  font-size: 15px; font-weight: 700; letter-spacing: .04em;
  box-shadow: 0 8px 32px rgba(232,108,44,.35);
  transition: all .18s;
}
.btn-primary:hover { background: #c95e22; transform: translateY(-1px); }

.btn-ghost {
  display: inline-flex; align-items: center; gap: 8px;
  font-size: 14px; font-weight: 600;
  color: rgba(255,255,255,.6);
  border-bottom: 1px solid rgba(255,255,255,.25);
  padding-bottom: 2px;
  transition: color .15s, border-color .15s;
}
.btn-ghost:hover { color: var(--white); border-color: var(--white); }

.btn-white {
  flex-shrink: 0;
  display: inline-flex; align-items: center; gap: 8px;
  background: var(--white); color: var(--green);
  padding: 14px 32px; border-radius: var(--radius-pill);
  font-size: 14px; font-weight: 700; letter-spacing: .04em;
  white-space: nowrap; transition: all .15s;
}
.btn-white:hover { background: var(--cream); }

.btn-outline-green {
  display: inline-flex; align-items: center; gap: 8px;
  border: 1.5px solid var(--green); color: var(--green);
  padding: 12px 24px; border-radius: var(--radius-pill);
  font-size: 13px; font-weight: 700; width: fit-content;
  transition: all .15s;
}
.btn-outline-green:hover { background: var(--green); color: var(--white); }

.btn-dark {
  flex-shrink: 0;
  display: inline-flex; align-items: center; gap: 8px;
  background: var(--ink); color: var(--white);
  padding: 14px 32px; border-radius: var(--radius-pill);
  font-size: 14px; font-weight: 700; letter-spacing: .04em;
  white-space: nowrap; transition: all .15s;
}
.btn-dark:hover { background: #333; }

/* ── SECTION COMMON ── */
.sec { padding: 104px 48px; }
.sec-inner { max-width: 1120px; margin: 0 auto; }
.sec-label {
  font-family: var(--font-disp);
  font-size: 11px; font-weight: 700; letter-spacing: .28em;
  text-transform: uppercase;
  margin-bottom: 16px;
}
.sec-title {
  font-family: var(--font-disp);
  font-size: clamp(32px, 3.5vw, 52px);
  font-weight: 800; line-height: 1.1;
  letter-spacing: -.025em;
}
.sec-lead {
  margin-top: 20px;
  font-size: 17px; line-height: 1.85;
}
.dark-sec { background: var(--dark); color: var(--white); }
.dark-sec .sec-label { color: rgba(255,255,255,.32); }
.dark-sec .sec-title { color: var(--white); }
.dark-sec .sec-lead { color: rgba(255,255,255,.58); }
.light-sec { background: var(--cream); color: var(--ink); }
.light-sec .sec-label { color: var(--orange); }
.light-sec .sec-title { color: var(--ink); }
.light-sec .sec-lead { color: var(--sub); }

/* ── HERO STRUCTURAL (common) ── */
.hero {
  display: grid; grid-template-columns: 1fr 1fr;
  min-height: 100vh; padding-top: 60px;
}
.hero-left {
  background: var(--green);
  padding: 72px 64px;
  display: flex; flex-direction: column; justify-content: center;
}
.hero-right { position: relative; overflow: hidden; }
.hero-right::before {
  content: '';
  position: absolute; inset: 0 auto 0 0; z-index: 1; width: 100px;
  background: linear-gradient(to right, var(--green), transparent);
}
.hero-pre { display: flex; flex-wrap: wrap; gap: 8px; margin-bottom: 32px; }
.hero-divider {
  width: 48px; height: 2px;
  background: linear-gradient(to right, var(--orange), transparent);
  margin-bottom: 24px;
}
.hero-sub {
  font-size: 16px; color: rgba(255,255,255,.72);
  line-height: 1.85; margin-bottom: 48px; max-width: 420px;
}
.hero-actions { display: flex; align-items: center; gap: 20px; flex-wrap: wrap; }

/* ── CARD ICON WRAPS ── */
.card-icon-wrap {
  width: 52px; height: 52px; border-radius: 14px;
  background: rgba(30,107,69,.09);
  display: flex; align-items: center; justify-content: center;
  margin-bottom: 20px; color: var(--green);
}
.card-icon-wrap svg { width: 26px; height: 26px; }
.stat-icon-wrap {
  width: 44px; height: 44px; border-radius: 12px;
  background: rgba(30,107,69,.09);
  display: flex; align-items: center; justify-content: center;
  margin-bottom: 16px; color: var(--green);
}
.stat-icon-wrap svg { width: 22px; height: 22px; }

/* ── HUBSPOT FORM OVERRIDE ── */
.hs-form-frame { display: block; }
.hs-form fieldset { max-width: 100% !important; }
.hs-form .hs-input,
.hs-form input[type=text],
.hs-form input[type=email],
.hs-form input[type=tel],
.hs-form textarea,
.hs-form select {
  width: 100% !important; padding: 14px 18px !important;
  background: #fff !important; border: 1px solid #E0DDD6 !important;
  border-radius: 8px !important; font-size: 16px !important;
  font-family: 'Noto Sans JP', sans-serif !important; color: #111 !important;
  box-sizing: border-box !important; margin-bottom: 4px !important;
}
.hs-form .hs-input:focus { border-color: #1E6B45 !important; outline: none !important; }
.hs-form .hs-button {
  width: 100% !important; padding: 18px !important;
  background: #E86C2C !important; color: #fff !important;
  border: none !important; border-radius: 100px !important;
  font-size: 17px !important; font-weight: 700 !important;
  font-family: 'Plus Jakarta Sans', sans-serif !important;
  cursor: pointer !important; margin-top: 8px !important;
  transition: background .15s !important;
}
.hs-form .hs-button:hover { background: #c95e22 !important; }
.hs-form label {
  display: block !important; font-size: 12px !important; font-weight: 700 !important;
  color: #5a5a5a !important; letter-spacing: .08em !important;
  text-transform: uppercase !important; margin-bottom: 6px !important;
}
.hs-form .hs-form-field { margin-bottom: 18px !important; }
.hs-form .hs-error-msgs { list-style: none !important; padding: 0 !important; }
.hs-form .hs-error-msgs li { color: #e74c3c !important; font-size: 12px !important; margin-top: 4px !important; }
.hs-form .hs-richtext,
.hs-form .legal-consent-container { font-size: 12px !important; color: #5a5a5a !important; }

/* ── RESPONSIVE (common) ── */
@media (max-width: 960px) {
  .hd { padding: 0 24px; }
  .hd-nav { display: none; }
  .hero { grid-template-columns: 1fr; }
  .hero-left { padding: 80px 28px 56px; }
  .hero-right { height: 60vw; min-height: 300px; }
  .hero-right::before { display: none; }
  .sec { padding: 72px 24px; }
  .ft-cta { padding: 28px 24px; }
  .ft-main { padding: 48px 24px 40px; }
  .ft-main-inner { grid-template-columns: 1fr 1fr; gap: 32px; }
  .ft-brand { grid-column: span 2; }
  .ft-bottom { padding: 16px 24px; }
}
@media (max-width: 600px) {
  .ft-main-inner { grid-template-columns: 1fr; }
  .ft-brand { grid-column: span 1; }
  .ft-cta-inner { flex-direction: column; align-items: flex-start; }
  .ft-bottom-inner { flex-direction: column; gap: 8px; }
}
