/*
Theme Name: Earth Partner LP
Version: 1.0.0
Text Domain: earth-partner-lp
*/

/* ==========================================================================
   0. Design Tokens
   Fingerprint: Style E(Clean Corporate) x Hero H2 x Font F8 x Level M x Deco[6,9]
   ========================================================================== */
:root{
  --c-base:      #f7f9fb;
  --c-main:      #0f4c81;
  --c-main-700:  #0a3a63;
  --c-main-900:  #072844;
  --c-main-100:  #e6eef5;
  --c-accent:    #f0a020;
  --c-accent-d:  #d18a10;
  --c-dark:      #0b1826;

  --c-text:      #1d2b38;
  --c-text-muted:#5a6b7a;
  --c-border:    #dde5ec;

  --font-en: 'Montserrat', sans-serif;
  --font-jp: 'Zen Kaku Gothic New', sans-serif;

  --container: 1140px;
  --radius-s: 6px;
  --radius-m: 12px;
  --ease-out: cubic-bezier(.16,1,.3,1);
  /* ヒーロー・ヘッダー共通の左右余白：広い画面ほど大きく育つ */
  --edge-pad: clamp(24px, 14vw - 130px, 170px);
}

/* ==========================================================================
   1. Reset & Base
   ========================================================================== */
*, *::before, *::after{ box-sizing:border-box; }
html{ scroll-behavior:smooth; }
body{
  margin:0;
  font-family:var(--font-jp);
  color:var(--c-text);
  background:var(--c-base);
  line-height:1.9;
  font-size:16px;
  overflow-x:hidden;
  -webkit-font-smoothing:antialiased;
}
img{ max-width:100%; display:block; }
a{ color:inherit; text-decoration:none; }
ul, ol{ margin:0; padding:0; list-style:none; }
button{ font-family:inherit; border:none; background:none; cursor:pointer; }
h1,h2,h3,h4,p,dl,dd,dt{ margin:0; }

p, li, dt, dd{ word-break:auto-phrase; }

.skip-link{
  position:absolute; left:-9999px; top:0; z-index:2000;
  background:var(--c-dark); color:#fff; padding:12px 20px;
}
.skip-link:focus{ left:0; }
:focus-visible{ outline:3px solid var(--c-accent); outline-offset:2px; }

.screen-reader-text{
  position:absolute; width:1px; height:1px; overflow:hidden;
  clip-path:inset(50%); white-space:nowrap;
}

.container{ max-width:var(--container); margin:0 auto; padding:0 24px; }
.u-sp-only{ display:none; }
@media (max-width:768px){ .u-sp-only{ display:inline; } }

/* ==========================================================================
   2. Typography / section frame (deco #6: editorial numbers, #9: fine rules)
   ========================================================================== */
section{ position:relative; padding:92px 0; }
@media (max-width:768px){ section{ padding:64px 0; } }

.sec-head{ margin-bottom:52px; }
.sec-num{
  display:flex; align-items:center; gap:16px;
  font-family:var(--font-en); font-weight:600; font-size:13px; letter-spacing:.18em;
  color:var(--c-main);
}
.sec-num::after{ content:''; flex:0 0 56px; height:1px; background:var(--c-main); opacity:.4; }
.sec-title{
  margin-top:14px;
  font-size:clamp(26px, 3.6vw, 40px);
  font-weight:900; line-height:1.45; letter-spacing:.01em;
  color:var(--c-dark);
  text-wrap:balance; word-break:auto-phrase;
}
.sec-title .accent{ color:var(--c-main); }
.sec-lead{
  margin-top:18px; font-size:16px; color:var(--c-text-muted); max-width:44em;
  word-break:auto-phrase;
}
.sec-head.center{ text-align:center; }
.sec-head.center .sec-num{ justify-content:center; }
.sec-head.center .sec-num::after{ display:none; }
.sec-head.center .sec-lead{ margin-left:auto; margin-right:auto; }

/* ==========================================================================
   3. Header
   ========================================================================== */
.site-header{
  position:sticky; top:0; z-index:200;
  background:rgba(255,255,255,.94); backdrop-filter:blur(8px);
  border-bottom:1px solid var(--c-border);
}
.site-header .container{
  display:flex; align-items:center; justify-content:space-between; height:92px;
  max-width:none; padding-left:var(--edge-pad); padding-right:var(--edge-pad);
}
@media (max-width:640px){
  .site-header .container{ height:76px; }
  .site-logo img{ height:48px !important; }
  .header-cta{ font-size:12px; padding:10px 12px; white-space:nowrap; }
}
.site-logo{ display:flex; align-items:center; }
.site-logo img{ height:64px; width:auto; }
.header-cta{
  display:inline-flex; align-items:center;
  background:var(--c-accent); color:var(--c-dark);
  font-weight:700; font-size:14px; padding:12px 24px; border-radius:6px;
  transition:transform .2s var(--ease-out), background .2s ease;
}
.header-cta:hover{ transform:translateY(-2px); background:#ffb640; }

/* ==========================================================================
   4. Hero（フルブリード写真・画像内の左余白にコピーを配置）
   ========================================================================== */
.hero-bleed{
  position:relative; width:100%; padding:0;
  min-height:min(760px, calc(100vh - 92px));
  display:flex; align-items:center; overflow:hidden;
  background:#f2f5f8;
}
.hero-bleed .hero-bg{
  position:absolute; inset:0; width:100%; height:100%;
  object-fit:cover; object-position:right center;
}
/* 画像左の白壁の可読性を軽く補強するだけの極薄スクリム */
.hero-scrim2{
  position:absolute; inset:0;
  background:linear-gradient(90deg, rgba(255,255,255,.62) 0%, rgba(255,255,255,.3) 34%, rgba(255,255,255,0) 52%);
}
/* コピーは中央寄せコンテナではなく、画像左の白壁ゾーンに左アンカーする */
.hero-bleed .hero-inner{
  position:relative; z-index:1; width:100%;
  max-width:none; margin:0;
  padding-left:var(--edge-pad); padding-right:24px;
}
.hero-copy{ max-width:var(--copy-w, 560px); }
/* 画像右下のフローティング訴求カード */
.hero-float{
  position:absolute; right:clamp(20px, 2.5vw, 48px); bottom:clamp(20px, 2.5vw, 44px); z-index:1;
  display:flex; align-items:center; gap:10px;
  background:rgba(255,255,255,.96); border:1px solid var(--c-border);
  border-radius:10px; padding:14px 20px;
  box-shadow:0 8px 24px rgba(11,24,38,.14);
  font-size:13.5px; font-weight:700; color:var(--c-dark);
}
.hero-float .f-arr{ color:var(--c-accent-d); font-weight:800; }
.hero-float .f2{ color:var(--c-main); }

/* ベネフィット3カード */
.hero-benefits{ display:flex; gap:10px; margin-top:26px; }
.hb{
  flex:1; background:#fff; border:1px solid var(--c-border); border-radius:8px;
  padding:13px 14px; border-top:3px solid var(--c-accent);
  box-shadow:0 4px 14px rgba(11,24,38,.06);
}
.hb strong{ display:block; font-size:15px; color:var(--c-main); }
.hb span{ display:block; margin-top:3px; font-size:11.5px; color:var(--c-text-muted); line-height:1.55; }

/* 【調整】カードの並び・大きさ（ACFから切替） */
.hero-benefits.cols-2{ flex-wrap:wrap; }
.hero-benefits.cols-2 .hb{ flex:1 1 calc(50% - 5px); }
.hero-benefits.cols-1{ flex-direction:column; }
.hero-benefits.size-lg .hb{ padding:17px 18px; }
.hero-benefits.size-lg .hb strong{ font-size:17px; }
.hero-benefits.size-lg .hb span{ font-size:12.5px; }
.hero-benefits.size-sm .hb{ padding:10px 12px; }
.hero-benefits.size-sm .hb strong{ font-size:13.5px; }
.hero-benefits.size-sm .hb span{ font-size:11px; }

/* CTA直下マイクロコピーと控えめな副CTA（テキストリンク） */
.hero-micro{ margin-top:12px; font-size:13px; font-weight:700; color:var(--c-text-muted); }
.hero-sublink{
  display:inline-flex; align-items:center; gap:6px; margin-top:14px;
  font-size:14.5px; font-weight:700; color:var(--c-main); text-decoration:underline;
  text-underline-offset:4px;
}
.hero-sublink .arr{ transition:transform .2s var(--ease-out); }
.hero-sublink:hover .arr{ transform:translateX(4px); }

/* 中間幅以下は重ね表示をやめて縦積み（コピー先・画像後） */
@media (max-width:1160px){
  .hero-bleed{
    min-height:0; display:flex; flex-direction:column; padding:56px 0 0;
    background:linear-gradient(180deg, #f7f9fb 0%, #edf1f6 100%);
  }
  .hero-bleed .hero-inner{ padding-left:24px; padding-right:24px; }
  .hero-inner{ order:1; }
  .hero-bleed .hero-bg{
    order:2; position:static; width:100%; height:auto; aspect-ratio:16/9;
    object-position:center; margin-top:36px;
  }
  .hero-scrim2{ display:none; }
  .hero-copy{ max-width:none; }
  .hero-float{ right:16px; bottom:16px; font-size:12.5px; padding:11px 14px; }
}
@media (max-width:640px){
  .hero-benefits{ flex-direction:column; }
  .hb{ display:flex; align-items:baseline; gap:10px; border-top:none; border-left:3px solid var(--c-accent); }
  .hb strong{ min-width:6.5em; }
  .hb span{ margin-top:0; }
  /* スマホは指定サイズより画面優先（大きすぎ設定でも崩れない保護） */
  .hero-title{ font-size:clamp(26px, 7.2vw, 34px); }
  .hero-sub{ font-size:15px; }
  .hero-copy{ max-width:none; }
}
.hero-eyebrow{
  display:inline-flex; align-items:center; gap:10px;
  color:var(--c-main); font-size:14px; font-weight:700; letter-spacing:.06em;
  border:1px solid var(--c-main); border-radius:30px; padding:8px 20px;
  background:rgba(255,255,255,.6);
}
.hero-eyebrow::before{ content:''; width:8px; height:8px; border-radius:50%; background:var(--c-accent); }
.hero-title{
  margin-top:26px;
  font-size:var(--title-fs, clamp(28px, 2.9vw, 41px));
  font-weight:900; line-height:1.45; letter-spacing:.005em;
  color:var(--c-dark); word-break:auto-phrase;
}
.hero-title .accent{ color:var(--c-main); }
.hero-sub{
  margin-top:20px; font-size:var(--sub-fs, clamp(15px,1.2vw,17px)); color:var(--c-text-muted); max-width:34em;
  word-break:auto-phrase;
}
.hero-target{ margin-top:14px; font-size:14px; font-weight:700; color:var(--c-main); word-break:auto-phrase; }
.hero-target small{ display:block; margin-top:4px; font-size:12px; font-weight:500; color:var(--c-text-muted); }
.hero-cta-detail{ margin-top:12px; font-size:13.5px; font-weight:700; color:var(--c-dark); }
.hero-cta-detail + .hero-micro{ margin-top:6px; font-weight:500; }
.cta-detail{ margin-top:10px; font-size:12.5px; color:var(--c-text-muted); }
.hero-cta-wrap{ margin-top:30px; display:flex; gap:14px; flex-wrap:wrap; }
.hero-cta-wrap .btn-primary{ font-size:17px; padding:20px 42px; }

/* ==========================================================================
   5. Buttons
   ========================================================================== */
.btn{
  display:inline-flex; align-items:center; justify-content:center; gap:10px;
  font-weight:700; font-size:16px; white-space:nowrap;
  padding:18px 36px; border-radius:8px; min-height:48px;
  transition:transform .2s var(--ease-out), background .2s ease, box-shadow .2s ease;
}
.btn-primary{ background:var(--c-accent); color:var(--c-dark); box-shadow:0 6px 18px rgba(240,160,32,.3); }
.btn-primary:hover{ transform:translateY(-2px); background:#ffb640; box-shadow:0 10px 24px rgba(240,160,32,.4); }
.btn-primary:active{ transform:scale(.98); }
.btn-ghost{ border:2px solid var(--c-main); color:var(--c-main); padding:16px 34px; }
.btn-ghost:hover{ background:var(--c-main); color:#fff; }
.btn-block{ width:100%; }

.mini-cta{ margin-top:32px; text-align:center; }
.mini-cta .lead{ font-size:14px; color:var(--c-text-muted); margin-bottom:14px; }

/* ==========================================================================
   6. Trust bar
   ========================================================================== */
.trust-bar{ background:var(--c-dark); padding:0; }
.trust-grid{ display:grid; grid-template-columns:repeat(3,1fr); }
.trust-item{
  padding:36px 16px; text-align:center; color:#fff;
  border-left:1px solid rgba(255,255,255,.1);
}
.trust-item:first-child{ border-left:none; }
.trust-item .num{ font-family:var(--font-en); font-weight:800; font-size:clamp(30px,3.6vw,44px); line-height:1; color:var(--c-accent); }
.trust-item .num small{ font-family:var(--font-jp); font-size:.45em; font-weight:700; margin-left:3px; }
.trust-item .label{ margin-top:10px; font-size:14px; font-weight:700; color:#dbe4ec; }
.trust-note{ text-align:center; font-size:11px; color:#7c8b99; padding:0 24px 20px; margin:0; background:var(--c-dark); }
@media (max-width:640px){
  .trust-grid{ grid-template-columns:1fr; }
  .trust-item{ border-left:none; border-top:1px solid rgba(255,255,255,.1); padding:24px 16px; }
  .trust-item:first-child{ border-top:none; }
}

/* ==========================================================================
   6b. 課題提示イントロ（悩み→解決への橋渡し）
   ========================================================================== */
.pain-intro{ margin-bottom:48px; }
.pain-title{
  text-align:center; font-size:clamp(18px,2.2vw,24px); font-weight:900; color:var(--c-dark);
  margin-bottom:24px; text-wrap:balance; word-break:auto-phrase;
}
.pain-grid{
  max-width:760px; margin:0 auto;
  display:grid; grid-template-columns:repeat(2,1fr); gap:12px 20px;
}
.pain-grid li{
  display:flex; align-items:center; gap:10px;
  background:#fff; border:1px solid var(--c-border); border-radius:8px;
  padding:15px 18px; font-size:15px; font-weight:500; color:var(--c-text);
}
.pain-grid .ico{ width:16px; height:16px; color:#b23a3a; flex-shrink:0; display:flex; }
.pain-grid .ico svg{ width:100%; height:100%; }
.pain-arrow{
  width:36px; height:36px; margin:22px auto 0;
  display:flex; align-items:center; justify-content:center;
  color:var(--c-accent-d);
}
.pain-arrow svg{ width:28px; height:28px; }
@media (max-width:640px){ .pain-grid{ grid-template-columns:1fr; } }

/* ==========================================================================
   7. Reasons (なぜ売りやすいのか)
   ========================================================================== */
.reason-list{ display:grid; gap:22px; }
.reason-row{
  display:grid; grid-template-columns:auto 1fr; gap:24px; align-items:flex-start;
  background:#fff; border:1px solid var(--c-border); border-radius:var(--radius-m);
  padding:30px 32px;
}
.reason-row .r-ico{
  width:52px; height:52px; border-radius:50%; background:var(--c-main-100);
  display:flex; align-items:center; justify-content:center;
  color:var(--c-main); flex-shrink:0;
}
.reason-row .r-ico svg{ width:26px; height:26px; }
.r-tag{
  font-family:var(--font-en); font-weight:700; font-size:11px; letter-spacing:.16em;
  color:var(--c-main); margin-bottom:2px;
}
.reason-row h3{ font-size:19px; font-weight:700; color:var(--c-dark); }
.reason-row p{ margin-top:8px; font-size:15px; color:var(--c-text-muted); }
@media (max-width:640px){
  .reason-row{ grid-template-columns:1fr; gap:10px; padding:24px 22px; }
}

/* ==========================================================================
   8. Price comparison
   ========================================================================== */
.price-table-wrap{ max-width:820px; margin:0 auto; }
.price-table{
  width:100%; border-collapse:collapse; background:#fff;
  border:1px solid var(--c-border); border-radius:var(--radius-m); overflow:hidden;
}
.price-table caption{
  text-align:left; font-weight:700; font-size:14px; color:#fff;
  background:var(--c-main); padding:13px 18px;
}
.price-table th, .price-table td{
  padding:15px 14px; text-align:center; font-size:14.5px;
  border-bottom:1px solid var(--c-border); word-break:auto-phrase;
}
.price-table thead th{ background:#f0f4f8; font-weight:700; }
.price-table td:first-child{ text-align:left; font-weight:700; font-size:13.5px; }
.price-table td.us{ background:var(--c-main-100); font-weight:700; color:var(--c-main-700); }
.price-table td.off{ color:var(--c-accent-d); font-weight:800; }
.price-table td.eq{ color:var(--c-text-muted); font-weight:700; }
.price-note{ margin-top:14px; font-size:12px; color:var(--c-text-muted); }

/* 対応エリアブロック */
.area-block{ max-width:820px; margin:36px auto 0; text-align:center; }
.area-title{ font-size:17px; font-weight:900; color:var(--c-dark); margin-bottom:16px; }
.area-chips{ display:flex; flex-wrap:wrap; gap:8px; justify-content:center; }
.area-chips li{
  background:var(--c-main-100); color:var(--c-main-700);
  font-size:13.5px; font-weight:700; padding:7px 16px; border-radius:20px;
}
.area-note{ margin-top:14px; font-size:12px; color:var(--c-text-muted); }
@media (max-width:640px){
  .price-table th, .price-table td{ padding:11px 6px; font-size:12px; }
  .price-table td:first-child{ font-size:11.5px; }
}

/* ==========================================================================
   9. Sales flow (3 steps)
   ========================================================================== */
.flow-grid{ display:grid; grid-template-columns:repeat(3,1fr); gap:22px; }
.flow-card{
  position:relative; background:#fff; border:1px solid var(--c-border);
  border-top:3px solid var(--c-main); border-radius:var(--radius-s);
  padding:30px 26px 26px;
}
.flow-card .f-ico{
  width:46px; height:46px; border-radius:50%; background:var(--c-main-100);
  display:flex; align-items:center; justify-content:center;
  color:var(--c-main); margin-bottom:14px;
}
.flow-card .f-ico svg{ width:24px; height:24px; }
.flow-card .step{
  font-family:var(--font-en); font-weight:700; font-size:12px; letter-spacing:.16em;
  color:var(--c-main);
}
.flow-card h3{ margin-top:10px; font-size:18px; font-weight:700; }
.flow-card p{ margin-top:8px; font-size:14px; color:var(--c-text-muted); }
.flow-close{
  margin-top:32px; text-align:center; font-size:16px; font-weight:700; color:var(--c-dark);
}
@media (max-width:860px){ .flow-grid{ grid-template-columns:1fr; } }

/* ==========================================================================
   10. Achievement (実績)
   ========================================================================== */
.ach-grid{ display:grid; grid-template-columns:repeat(3,1fr); gap:22px; }
.ach-card{
  background:#fff; border:1px solid var(--c-border); border-radius:var(--radius-m);
  padding:36px 20px; text-align:center;
}
.ach-card .num{ font-family:var(--font-en); font-weight:800; font-size:clamp(34px,4vw,48px); line-height:1; color:var(--c-main); }
.ach-card .num small{ font-family:var(--font-jp); font-size:.4em; font-weight:700; margin-left:3px; }
.ach-card .label{ margin-top:12px; font-size:14px; font-weight:700; color:var(--c-text-muted); }
.ach-caption{ margin-top:28px; text-align:center; font-size:15px; color:var(--c-text); max-width:40em; margin-left:auto; margin-right:auto; }
.stat-notes{ margin-top:14px; text-align:center; font-size:11px; line-height:1.8; color:var(--c-text-muted); }
@media (max-width:640px){ .ach-grid{ grid-template-columns:1fr; } }

/* ==========================================================================
   11. Revenue (収益イメージ・軽め)
   ========================================================================== */
.revenue-band{
  background:var(--c-main); color:#fff; border-radius:var(--radius-m);
  padding:44px 36px; text-align:center;
}
.revenue-band .headline{ font-size:clamp(18px,2.4vw,24px); font-weight:900; }
.revenue-band .headline .big{ font-family:var(--font-en); font-size:1.6em; color:var(--c-accent); }
.revenue-band .body{ margin-top:12px; font-size:15px; color:#d8e3ee; }
.revenue-band .note{ margin-top:14px; font-size:12px; color:#9fb4c8; }
.rev-grid{ display:grid; grid-template-columns:repeat(4,1fr); gap:16px; margin-top:22px; }
.rev-card{
  background:#fff; border:1px solid var(--c-border); border-radius:var(--radius-s);
  padding:22px 12px; text-align:center;
}
.rev-card .k{ font-size:13px; font-weight:700; color:var(--c-text-muted); }
.rev-card .v{ margin-top:6px; font-family:var(--font-en); font-weight:800; font-size:clamp(26px,3vw,36px); line-height:1; color:var(--c-accent-d); }
.rev-card .v small{ font-family:var(--font-jp); font-size:.42em; font-weight:700; margin-left:2px; }
.rev-note{ margin-top:14px; text-align:center; font-size:12px; color:var(--c-text-muted); }
@media (max-width:768px){ .rev-grid{ grid-template-columns:repeat(2,1fr); } }

/* ==========================================================================
   12. Support
   ========================================================================== */
.support-grid{ display:grid; grid-template-columns:repeat(3,1fr); gap:22px; }
.support-card{
  background:#fff; border:1px solid var(--c-border); border-radius:var(--radius-m);
  padding:30px 26px;
}
.support-card .ico{ display:flex; width:40px; height:40px; color:var(--c-main); }
.support-card .ico svg{ width:100%; height:100%; }
.support-card h3{ margin-top:14px; font-size:17px; font-weight:700; }
.support-card p{ margin-top:8px; font-size:14px; color:var(--c-text-muted); }
@media (max-width:860px){ .support-grid{ grid-template-columns:1fr; } }

/* ==========================================================================
   13. Fit (こんな会社に)
   ========================================================================== */
.fit-list{ max-width:720px; margin:0 auto; display:grid; gap:14px; }
.fit-list li{
  display:flex; align-items:flex-start; gap:12px;
  background:#fff; border:1px solid var(--c-border); border-radius:var(--radius-s);
  padding:18px 22px; font-size:15.5px; font-weight:500;
}
.fit-list .ico{ width:18px; height:18px; color:var(--c-main); flex-shrink:0; margin-top:5px; }
.fit-list .ico svg{ width:100%; height:100%; }
.fit-note{ margin-top:20px; text-align:center; font-size:13px; color:var(--c-text-muted); }

/* ==========================================================================
   14. FAQ
   ========================================================================== */
.faq-list{ max-width:820px; margin:0 auto; }
.faq-item{ border-bottom:1px solid var(--c-border); }
.faq-q{
  width:100%; display:flex; align-items:center; gap:14px;
  padding:22px 4px; text-align:left; font-size:16px; font-weight:700; color:var(--c-dark);
}
.faq-q span{ word-break:auto-phrase; }
.faq-q .qmark{ font-family:var(--font-en); color:var(--c-main); font-weight:800; font-size:18px; flex-shrink:0; }
.faq-q .chevron{ display:flex; align-items:center; justify-content:center; margin-left:auto; width:20px; height:20px; flex-shrink:0; transition:transform .25s var(--ease-out); }
.faq-q .chevron svg{ width:100%; height:100%; }
.faq-q[aria-expanded="true"] .chevron{ transform:rotate(180deg); }
.faq-a{ padding:0 4px 24px 36px; font-size:14.5px; color:var(--c-text-muted); }

/* ==========================================================================
   14b. 運営会社テーブル & CTA前チェックリスト
   ========================================================================== */
.company-table{ max-width:720px; margin:0 auto; background:#fff; border:1px solid var(--c-border); border-radius:var(--radius-m); padding:10px 28px; }
.company-table dl > div{ display:flex; gap:20px; padding:16px 0; border-bottom:1px solid var(--c-border); font-size:14.5px; }
.company-table dl > div:last-child{ border-bottom:none; }
.company-table dt{ flex:0 0 7em; font-weight:700; color:var(--c-main); }
.company-table dd{ color:var(--c-text); }
.company-table a{ color:var(--c-main); text-decoration:underline; }
@media (max-width:640px){ .company-table dl > div{ flex-direction:column; gap:2px; } }

.cta-checklist{
  display:flex; gap:10px 24px; flex-wrap:wrap; justify-content:center;
  margin:0 auto 8px; max-width:720px;
  font-size:13.5px; font-weight:700; color:#dbe4ec;
}
.cta-checklist li{ display:inline-flex; align-items:center; gap:7px; }
.cta-checklist .ico{ width:15px; height:15px; color:var(--c-accent); display:flex; }
.cta-checklist .ico svg{ width:100%; height:100%; }

/* ==========================================================================
   15. Contact Form 7
   ========================================================================== */
.cta-section{ background:var(--c-dark); color:#fff; }
.cta-section .sec-title{ color:#fff; }
.cta-section .sec-num{ color:var(--c-accent); }
.cta-section .sec-lead{ color:#c3d0dc; }
.form-card{
  max-width:560px; margin:40px auto 0; background:#fff; color:var(--c-text);
  border-radius:var(--radius-m); padding:38px 30px;
}
.wpcf7 label{ display:block; font-size:14px; font-weight:700; margin-bottom:18px; }
.wpcf7 .required{
  display:inline-block; background:var(--c-main); color:#fff;
  font-size:11px; font-weight:700; padding:2px 8px; border-radius:4px; margin-left:6px; vertical-align:middle;
}
.wpcf7 input[type="text"],
.wpcf7 input[type="email"],
.wpcf7 input[type="tel"],
.wpcf7 select,
.wpcf7 textarea{
  display:block; width:100%; margin-top:8px;
  padding:13px 14px; font-size:16px; font-family:inherit;
  border:1px solid var(--c-border); border-radius:8px; background:#f7f9fb;
  transition:border-color .2s ease;
}
.wpcf7 input:focus, .wpcf7 select:focus, .wpcf7 textarea:focus{
  outline:none; border-color:var(--c-main); background:#fff;
}
.wpcf7 input[type="submit"]{
  display:block; width:100%; min-height:54px; cursor:pointer;
  background:var(--c-accent); color:var(--c-dark); font-size:16px; font-weight:700; font-family:inherit;
  border:none; border-radius:8px; padding:16px;
  transition:transform .2s var(--ease-out), background .2s ease;
}
.wpcf7 input[type="submit"]:hover{ background:#ffb640; transform:translateY(-2px); }
.wpcf7 input[type="submit"]:active{ transform:scale(.98); }
.wpcf7 .form-note{ font-size:12px; color:var(--c-text-muted); margin:0 0 18px; }
.wpcf7 .wpcf7-not-valid-tip{ display:block; color:#b23a3a; font-size:12px; margin-top:6px; font-weight:500; }
.wpcf7 .wpcf7-response-output{
  margin:18px 0 0; padding:12px 16px; border:1px solid var(--c-border); border-radius:8px; font-size:14px;
}
.wpcf7 form.sent .wpcf7-response-output{ border-color:#3a8a4d; color:#2c6e3c; }
.wpcf7 form.invalid .wpcf7-response-output,
.wpcf7 form.failed .wpcf7-response-output{ border-color:#b23a3a; color:#b23a3a; }
.form-under{ margin-top:16px; text-align:center; font-size:12.5px; color:#9fb4c8; }

/* ==========================================================================
   16. Sticky mobile CTA
   ========================================================================== */
.mobile-cta-bar{
  display:none; position:fixed; left:0; right:0; bottom:0; z-index:300;
  background:#fff; border-top:1px solid var(--c-border);
  padding:10px 14px 8px;
  box-shadow:0 -6px 20px rgba(11,24,38,.12);
}
.mobile-cta-bar .bar-sub{ display:block; margin-top:6px; text-align:center; font-size:11px; font-weight:700; color:var(--c-text-muted); }
.js .mobile-cta-bar{ transform:translateY(110%); transition:transform .3s var(--ease-out); }
.js .mobile-cta-bar.is-visible{ transform:none; }
@media (max-width:768px){
  .mobile-cta-bar{ display:block; }
  body{ padding-bottom:96px; }
}

/* ==========================================================================
   17. Footer
   ========================================================================== */
.site-footer{ background:var(--c-dark); color:#c3d0dc; padding:56px 0 28px; font-size:13px; }
.footer-top{ display:flex; justify-content:space-between; flex-wrap:wrap; gap:32px; padding-bottom:32px; border-bottom:1px solid rgba(255,255,255,.1); }
.footer-logo img{ height:42px; width:auto; }
.footer-info p{ margin-top:8px; }
.footer-nav{ display:flex; gap:24px; flex-wrap:wrap; }
.footer-nav a:hover{ color:#fff; }
.footer-legal{ padding-top:22px; font-size:11.5px; color:#7c8b99; }
.footer-bottom{ padding-top:16px; display:flex; justify-content:space-between; flex-wrap:wrap; gap:12px; }
.footer-bottom a:hover{ color:#fff; }

/* ==========================================================================
   18. Reveal (scroll fade, JS環境のみ隠す)
   ========================================================================== */
.js .reveal{
  opacity:0; transform:translateY(20px);
  transition:opacity .6s var(--ease-out), transform .6s var(--ease-out);
}
.js .reveal.is-visible{ opacity:1; transform:translateY(0); }

@media (prefers-reduced-motion: reduce){
  *{ animation:none !important; transition:none !important; }
  .js .reveal{ opacity:1; transform:none; }
}
