/* ===========================================================================
   Assh — front-page.css
   フロントページ固有スタイル ＋ Contact Form 7 スタイル上書き
   =========================================================================== */

/* ---------- base ---------- */
html { scroll-behavior: smooth; overflow-x: hidden; }
body {
  position: relative;
  overflow-x: hidden;
  background: linear-gradient(180deg, #FFFFFF 0%, #F2F8FD 30%, #EAF4FC 55%, #F1F7FC 78%, #FBFDFF 100%);
  background-attachment: fixed;
}
@media (max-width: 767px) {
  body { background-attachment: scroll; }
/*   #px-far, #px-near { display: none; } */
}
a { -webkit-tap-highlight-color: transparent; }
img { display: block; }

.is-hidden { display: none !important; }
.section { padding: var(--section-y) 0; position: relative; overflow: hidden; }
.section--flush-bottom { padding: var(--section-y) 0 0; }

/* ---------- parallax background ---------- */
#px-far, #px-near {
  position: absolute; top: 0; bottom: 0; left: 0; right: 0;
  z-index: 0; pointer-events: none; overflow: hidden; will-change: transform;
}
#site { position: relative; z-index: 1; }
.px-dots {
  position: absolute;
  background-image: radial-gradient(var(--blue-300) 2px, transparent 2px);
  background-size: 14px 14px; opacity: 0.6;
  -webkit-mask-image: radial-gradient(ellipse at center, #000, transparent 72%);
  mask-image: radial-gradient(ellipse at center, #000, transparent 72%);
}
.px-streak { position: absolute; border-radius: 999px; }

/* ---------- keyframes ---------- */
@keyframes floaty { 0%,100% { transform: translateY(0); } 50% { transform: translateY(-14px); } }
@keyframes riseIn { from { opacity: 0; transform: translateY(26px); } to { opacity: 1; transform: none; } }

/* ---------- reveal on scroll ---------- */
.reveal { transition: opacity .7s var(--ease-soft), transform .7s var(--ease-soft); }
.reveal.pending { opacity: 0; transform: translateY(26px); }
.reveal.pending.in { opacity: 1; transform: none; }
.point-grid .reveal:nth-child(2), .worry-grid .reveal:nth-child(2) { transition-delay: .08s; }
.point-grid .reveal:nth-child(3), .worry-grid .reveal:nth-child(3) { transition-delay: .16s; }
.worry-grid .reveal:nth-child(4) { transition-delay: .24s; }
.flow-steps .reveal:nth-child(2) { transition-delay: .06s; }
.flow-steps .reveal:nth-child(3) { transition-delay: .12s; }
.flow-steps .reveal:nth-child(4) { transition-delay: .18s; }
.flow-steps .reveal:nth-child(5) { transition-delay: .24s; }
@media (prefers-reduced-motion: reduce) {
  .reveal { transition: opacity .7s var(--ease-soft); }
  .reveal.pending { transform: none !important; }
}
@media print { .reveal.pending { opacity: 1 !important; transform: none !important; } }

/* ---------- buttons ---------- */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 9px;
  font-family: var(--font-base); font-weight: 700; letter-spacing: 0.02em; line-height: 1;
  border: none; border-radius: var(--r-pill); cursor: pointer; white-space: nowrap;
  transition: transform var(--dur-fast) var(--ease-out), box-shadow var(--dur-base) var(--ease-out);
}
.btn-sm { font-size: 14px; padding: 10px 20px; }
.btn-md { font-size: 16px; padding: 15px 30px; }
.btn-lg { font-size: 17px; padding: 18px 40px; }
.btn-block { width: 100%; }
.btn-primary { background: var(--grad-brand); color: #fff; box-shadow: var(--shadow-brand); }
.btn-secondary { background: #fff; color: var(--primary); box-shadow: inset 0 0 0 2px var(--blue-200); }
.btn-primary:hover { transform: translateY(-2px); box-shadow: 0 24px 50px rgba(25,145,208,0.42); }
.btn-secondary:hover { transform: translateY(-2px); }
.btn:active { transform: scale(0.97); }

i[data-lucide] { display: inline-flex; width: 24px; height: 24px; }
.ic-18 { width: 18px; height: 18px; }
.ic-19 { width: 19px; height: 19px; }
.ic-20 { width: 20px; height: 20px; }
.ic-22 { width: 22px; height: 22px; }
.ic-24 { width: 24px; height: 24px; }
.ic-26 { width: 26px; height: 26px; }
.ic-34 { width: 34px; height: 34px; }
.ic-46 { width: 46px; height: 46px; }

/* ---------- header ---------- */
.site-header {
  position: sticky; top: 0; z-index: 50;
  transition: all var(--dur-base) var(--ease-out);
  background: rgba(255,255,255,0.6);
  -webkit-backdrop-filter: var(--blur-md); backdrop-filter: var(--blur-md);
}
.site-header.scrolled { background: rgba(255,255,255,0.9); box-shadow: 0 4px 20px rgba(14,86,136,0.08); }
.header-inner {
  max-width: 1280px; margin: 0 auto; padding: 0 var(--gutter); height: 86px;
  display: flex; align-items: center; justify-content: space-between;
  transition: height var(--dur-base) var(--ease-out);
}
.site-header.scrolled .header-inner { height: 70px; }
.brand { display: flex; align-items: center; gap: 11px; }
.brand img { height: 36px; }
.brand-name { font-family: var(--font-base); font-weight: 900; font-size: 26px; color: var(--ink-900); letter-spacing: 0.01em; }
.lp-nav { display: flex; align-items: center; gap: 30px; }
.nav-item { display: flex; flex-direction: column; align-items: center; gap: 2px; line-height: 1; }
.nav-item .nj { font-family: var(--font-base); font-weight: 700; font-size: 15px; color: var(--ink-800); transition: color var(--dur-fast); }
.nav-item:hover .nj { color: var(--primary); }
.nav-item-en { font-family: var(--font-display); font-weight: 600; font-size: 10px; letter-spacing: 0.14em; color: var(--ink-400); }
.nav-cta { display: flex; gap: 10px; }

/* ---------- hero ---------- */
.hero { position: relative; overflow: hidden; background: transparent; }
.hero-dot {
  position: absolute; inset: 0;
  background-image: radial-gradient(rgba(25,145,208,0.06) 1.4px, transparent 1.4px);
  background-size: 28px 28px;
  -webkit-mask-image: linear-gradient(180deg,#000,transparent 65%);
  mask-image: linear-gradient(180deg,#000,transparent 65%);
}
.hero-art { position: absolute; top: 0; right: 0; width: min(64%, 1020px); height: 100%; animation: riseIn .7s var(--ease-soft) .3s both; }
.hero-art .blob-a { position: absolute; top: 8%; left: 2%; width: 340px; height: 340px; border-radius: 50%; background: radial-gradient(circle at 40% 40%, rgba(112,190,230,0.26), rgba(112,190,230,0) 70%); }
.hero-art .blob-b { position: absolute; bottom: 16%; right: 2%; width: 260px; height: 260px; border-radius: 50%; background: radial-gradient(circle at 50% 50%, rgba(58,188,195,0.20), rgba(58,188,195,0) 70%); }
.hero-art-img {
  position: absolute; inset: 0; width: 100%; height: 100%; object-fit: contain; object-position: center bottom;
  opacity: 0.92; animation: floaty 10s ease-in-out infinite;
  -webkit-mask-image: linear-gradient(180deg, #000 60%, rgba(0,0,0,0.5) 82%, transparent 99%), radial-gradient(ellipse 75% 90% at 50% 38%, #000 55%, rgba(0,0,0,0.6) 76%, transparent 96%);
  mask-image: linear-gradient(180deg, #000 60%, rgba(0,0,0,0.5) 82%, transparent 99%), radial-gradient(ellipse 75% 90% at 50% 38%, #000 55%, rgba(0,0,0,0.6) 76%, transparent 96%);
  -webkit-mask-composite: source-in; mask-composite: intersect;
}
.hero-grid {
  position: relative; z-index: 2; max-width: 1280px; margin: 0 auto;
  padding: clamp(32px,3.5vw,56px) var(--gutter) clamp(48px,5vw,80px);
  display: flex; align-items: center; min-height: min(calc(100vh - 150px), 780px);
}
.hero-copy { width: min(50%, 600px); flex-shrink: 0; }
.hero-stat { animation: riseIn .7s var(--ease-soft) .05s both; }
.emblem { display: inline-flex; align-items: center; gap: 14px; }
.emblem .wheat-l { transform: rotate(18deg) scaleX(-1); opacity: 0.92; color: #C7A23F; }
.emblem .wheat-r { transform: rotate(-18deg); opacity: 0.92; color: #C7A23F; }
.emblem-center { text-align: center; }
.emblem-label { font-family: var(--font-base); font-weight: 700; font-size: 14px; color: var(--ink-700); letter-spacing: 0.04em; }
.emblem-fig { display: flex; align-items: baseline; justify-content: center; gap: 3px; }
.emblem-num { font-family: var(--font-num); font-weight: 700; font-size: 40px; line-height: 1; background: var(--grad-brand); -webkit-background-clip: text; background-clip: text; color: transparent; }
.emblem-unit { font-family: var(--font-base); font-weight: 700; font-size: 17px; color: var(--ink-800); }
.hero-badge-wrap { margin-top: 22px; animation: riseIn .7s var(--ease-soft) .12s both; }
.hero-badge { display: inline-block; font-family: var(--font-base); font-weight: 700; font-size: 14px; color: #fff; background: var(--grad-deep); padding: 9px 20px; border-radius: var(--r-pill); letter-spacing: 0.04em; }
.hero-title { font-family: var(--font-base); font-weight: 900; font-size: clamp(1.9rem,0.9rem + 2.8vw,3.4rem); line-height: 1.5; letter-spacing: 0.01em; color: var(--ink-900); margin: 24px 0 0; }
.hero-title > span { display: block; }
.hero-title .l1 { animation: riseIn .7s var(--ease-soft) .2s both; }
.hero-title .l2 { animation: riseIn .7s var(--ease-soft) .28s both; }
.accent { color: var(--primary); }
.hero-lead { font-family: var(--font-base); font-size: clamp(0.98rem,0.9rem + 0.4vw,1.12rem); line-height: 1.95; color: var(--text-body); margin: 22px 0 0; max-width: 460px; font-weight: 500; animation: riseIn .7s var(--ease-soft) .46s both; }
.hero-cta { display: flex; gap: 14px; margin-top: 32px; flex-wrap: wrap; animation: riseIn .7s var(--ease-soft) .56s both; }
.hero-cta--mobile { display: none; }

/* ---------- section heads ---------- */
.eyebrow { font-family: var(--font-display); font-weight: 700; font-size: 15px; letter-spacing: 0.22em; color: var(--primary); text-transform: uppercase; }
.eyebrow-rule { width: 26px; height: 3px; border-radius: 2px; background: var(--grad-brand); margin: 16px auto 0; }
.section-head { text-align: center; max-width: 880px; margin: 0 auto; }
.section-h2 { font-family: var(--font-base); font-weight: 900; font-size: clamp(1.9rem,1.2rem + 2.4vw,2.9rem); line-height: 1.42; letter-spacing: 0.01em; color: var(--ink-900); margin: 26px 0 0; }
.section-lead { font-family: var(--font-base); font-size: var(--fs-lead); line-height: 2; color: var(--text-body); margin: 26px 0 0; font-weight: 500; }
.section-title { text-align: center; max-width: 820px; margin: 0 auto; }
.section-title .en { font-family: var(--font-display); font-weight: 700; font-size: 14px; letter-spacing: 0.16em; color: var(--primary); text-transform: uppercase; }
.section-title .ja { font-family: var(--font-base); font-weight: 900; font-size: clamp(1.9rem,1.2rem + 2.4vw,2.9rem); line-height: 1.4; color: var(--ink-900); margin: 10px 0 0; letter-spacing: 0.01em; }

/* ---------- ABOUT US / points ---------- */
.point-grid { display: grid; grid-template-columns: repeat(3,1fr); gap: 30px; margin-top: 72px; }
.point-item { position: relative; padding-top: 42px; height: 100%; }
.point-badge { position: absolute; top: 0; left: 28px; z-index: 2; width: 86px; height: 86px; border-radius: 50%; display: flex; flex-direction: column; align-items: center; justify-content: center; line-height: 1; color: #fff; box-shadow: 0 14px 28px rgba(14,86,136,0.26); border: 4px solid #fff; }
.point-item-1 .point-badge { background: var(--assh-blue); }
.point-item-2 .point-badge { background: var(--grad-brand); }
.point-item-3 .point-badge { background: linear-gradient(150deg,#3ABCC3,#46C58E); }
.point-badge-label { font-family: var(--font-display); font-weight: 700; font-size: 11px; letter-spacing: 0.16em; }
.point-badge-num { font-family: var(--font-num); font-weight: 700; font-size: 30px; margin-top: 3px; }
.point-card { background: #fff; border-radius: var(--r-xl); padding: 40px 30px 34px; box-shadow: var(--shadow-md); height: 100%; }
.point-illust { position: relative; height: 200px; margin: 0 0 22px; overflow: hidden; }
.point-illust img { position: relative; height: 100%; width: 100%; object-fit: contain; }
.point-title { font-family: var(--font-base); font-weight: 700; font-size: clamp(1.15rem,1rem + 0.4vw,1.4rem); color: var(--ink-900); margin: 0 0 16px; line-height: 1.45; }
.point-rule { width: 40px; height: 3px; border-radius: 2px; margin-bottom: 18px; }
.point-item-1 .point-rule { background: var(--assh-blue); }
.point-item-2 .point-rule, .point-item-3 .point-rule { background: var(--assh-teal); }
.point-body { font-family: var(--font-base); font-size: 15px; line-height: 1.95; color: var(--text-body); margin: 0; }

/* ---------- PROBLEM ---------- */
.problem-pill { position: relative; display: inline-block; background: #fff; font-family: var(--font-base); font-weight: 700; font-size: 16px; padding: 13px 30px; border-radius: var(--r-pill); box-shadow: var(--shadow-sm); color: var(--primary); }
.problem-pill::after { content: ""; position: absolute; left: 50%; bottom: -7px; transform: translateX(-50%) rotate(45deg); width: 16px; height: 16px; background: #fff; border-radius: 3px; }
.problem-title { font-family: var(--font-base); font-weight: 900; font-size: clamp(1.9rem,1.2rem + 2.4vw,2.9rem); color: var(--ink-900); margin: 30px 0 0; letter-spacing: 0.01em; }
.problem-lead { font-family: var(--font-base); font-size: var(--fs-lead); line-height: 1.95; color: var(--text-body); margin: 22px 0 0; font-weight: 500; }
.worry-grid { display: grid; grid-template-columns: repeat(4,1fr); gap: 24px; margin-top: 60px; }
.worry-card { background: #fff; border-radius: var(--r-xl); padding: 42px 26px 36px; box-shadow: var(--shadow-md); text-align: center; height: 100%; }
.worry-illust { position: relative; width: 150px; height: 150px; margin: 0 auto 20px; }
.worry-illust img { width: 100%; height: 100%; object-fit: contain; }
.worry-rule { width: 36px; height: 3px; border-radius: 2px; background: var(--blue-300); margin: 0 auto 22px; }
.worry-text { font-family: var(--font-base); font-weight: 700; font-size: clamp(1rem,0.9rem + 0.45vw,1.2rem); line-height: 1.7; color: var(--ink-900); }

/* ---------- Numbers ---------- */
.proof-title { text-align: center; font-family: var(--font-base); font-weight: 900; font-size: clamp(1.4rem,0.8rem + 1.8vw,2.4rem); line-height: 1.55; color: var(--ink-900); margin: 0; text-wrap: balance; }
.proof-title span { display: block; }
.proof-card { margin-top: 48px; background: rgba(255,255,255,0.7); -webkit-backdrop-filter: var(--blur-sm); backdrop-filter: var(--blur-sm); border: 1px solid rgba(255,255,255,0.9); border-radius: var(--r-2xl); padding: clamp(28px,4vw,52px); box-shadow: var(--shadow-lg); }
.proof-stats { display: grid; grid-template-columns: repeat(2,1fr); gap: 26px 4px; }
.proof-stat-item { display: flex; align-items: center; justify-content: center; gap: 16px; padding: 4px 10px; }
.proof-stat-item:nth-child(even) { border-left: 1px solid var(--ink-200); }
.proof-stat-chip { width: 54px; height: 54px; border-radius: 50%; display: flex; align-items: center; justify-content: center; flex-shrink: 0; }
.proof-stat-chip.tint-blue { background: var(--blue-100); color: var(--assh-blue); }
.proof-stat-chip.tint-teal { background: var(--teal-100); color: var(--assh-teal); }
.proof-stat-chip.tint-green { background: #DFF3E8; color: #2BB673; }
.stat { display: flex; flex-direction: column; align-items: center; gap: 6px; min-width: 0; max-width: 100%; }
.stat-fig { display: flex; align-items: baseline; justify-content: center; gap: 3px; max-width: 100%; font-family: var(--font-num); font-weight: 700; line-height: 1; font-size: clamp(1.9rem,1.2rem + 1.6vw,2.6rem); letter-spacing: -0.02em; white-space: nowrap; background: var(--grad-brand); -webkit-background-clip: text; background-clip: text; color: transparent; }
.stat-fig .pre { font-size: 0.46em; align-self: center; }
.stat-fig .suf { font-size: 0.4em; font-family: var(--font-base); align-self: flex-end; padding-bottom: 0.5em; }
.stat-label { font-family: var(--font-base); font-weight: 700; font-size: 13px; color: var(--text-strong); letter-spacing: 0.02em; }
.proof-bars { margin-top: 42px; padding-top: 38px; border-top: 1px solid var(--ink-200); display: grid; grid-template-columns: auto 1fr; gap: 44px; align-items: center; }
.proof-bars-eyebrow { font-family: var(--font-display); font-weight: 700; font-size: 12.5px; letter-spacing: 0.16em; color: var(--accent); }
.proof-bars-title { font-family: var(--font-base); font-weight: 900; font-size: clamp(1.4rem,1rem + 1vw,1.9rem); color: var(--ink-900); margin: 10px 0 0; line-height: 1.35; }
.bars { display: flex; flex-direction: column; gap: 26px; min-width: 0; }
.bar-row { display: grid; grid-template-columns: 56px 1fr; gap: 18px; align-items: center; }
.bar-chip { width: 50px; height: 50px; border-radius: 50%; background: var(--blue-50); display: flex; align-items: center; justify-content: center; color: var(--accent); }
.bar-main { min-width: 0; }
.bar-top { display: flex; justify-content: space-between; align-items: baseline; margin-bottom: 8px; }
.bar-label { font-family: var(--font-base); font-weight: 700; font-size: 16px; color: var(--ink-800); }
.bar-value { font-family: var(--font-num); font-weight: 700; font-size: 19px; color: var(--primary); }
.bar-value .u { font-family: var(--font-base); font-size: 13px; margin-left: 1px; }
.bar-track { width: 100%; height: 14px; background: var(--blue-100); border-radius: var(--r-pill); overflow: hidden; }
.bar-fill { width: 0; height: 100%; background: var(--grad-brand); border-radius: var(--r-pill); transition: width 1100ms var(--ease-soft); }

/* ---------- COMPANY ---------- */
.company-table { margin-top: 52px; border-radius: var(--r-xl); overflow: hidden; box-shadow: var(--shadow-lg); background: #fff; }
.company-row { display: grid; grid-template-columns: 300px 1fr; border-bottom: 1px solid var(--ink-100); }
.company-row:last-child { border-bottom: none; }
.company-key { display: flex; align-items: center; gap: 16px; padding: 24px 28px; background: linear-gradient(180deg,#F4F8FC,#EEF4FA); border-right: 1px solid var(--ink-100); }
.company-key-icon { width: 44px; height: 44px; border-radius: 50%; background: #fff; display: flex; align-items: center; justify-content: center; flex-shrink: 0; box-shadow: var(--shadow-xs); color: var(--primary); }
.company-key-text { font-family: var(--font-base); font-weight: 700; font-size: 16px; color: var(--ink-900); }
.company-val { display: flex; align-items: center; padding: 24px 30px; font-family: var(--font-base); font-size: 16px; color: var(--text-strong); }

/* ---------- FLOW ---------- */
.flow-list { margin-top: 52px; position: relative; }
.flow-line { position: absolute; left: 47px; top: 30px; bottom: 30px; width: 2px; background: var(--blue-200); }
.flow-steps { display: flex; flex-direction: column; gap: 14px; }
.flow-row { display: flex; gap: 26px; align-items: flex-start; }
.flow-icon-wrap { position: relative; flex-shrink: 0; width: 96px; display: flex; justify-content: center; }
.flow-icon { width: 80px; height: 80px; border-radius: 50%; background: linear-gradient(135deg,#EAF4FC,#E0F5F4); display: flex; align-items: center; justify-content: center; box-shadow: var(--shadow-sm); border: 2px solid #fff; color: var(--primary); }
.flow-body { padding-top: 8px; padding-bottom: 18px; }
.flow-step-num { font-family: var(--font-display); font-weight: 700; font-size: 14px; letter-spacing: 0.08em; color: var(--primary); }
.flow-step-title { font-family: var(--font-base); font-weight: 700; font-size: 19px; color: var(--ink-900); margin: 4px 0 8px; }
.flow-step-desc { font-family: var(--font-base); font-size: 14.5px; line-height: 1.85; color: var(--text-body); margin: 0; }

/* ---------- CONTACT ---------- */
.contact-head .section-h2 { margin: 22px 0 0; }
.contact-sub { font-family: var(--font-base); font-size: var(--fs-lead); line-height: 1.9; color: var(--text-body); margin: 18px 0 0; font-weight: 500; }
.contact-phone { margin-top: 44px; background: #fff; border-radius: var(--r-xl); padding: 26px 32px; box-shadow: var(--shadow-md); display: flex; align-items: center; gap: 26px; }
.contact-phone-icon { width: 76px; height: 76px; border-radius: 50%; background: var(--blue-50); display: flex; align-items: center; justify-content: center; flex-shrink: 0; color: var(--primary); }
.contact-phone-main { flex: 1; min-width: 0; }
.contact-phone-label { font-family: var(--font-base); font-weight: 700; font-size: 15px; color: var(--primary); }
.contact-phone-num { font-family: var(--font-num); font-weight: 700; font-size: clamp(1.7rem,1.2rem + 1.5vw,2.3rem); color: var(--ink-900); line-height: 1.1; margin: 4px 0; letter-spacing: 0.01em; }
.contact-phone-hours { font-family: var(--font-base); font-weight: 700; font-size: 13.5px; color: var(--primary); }
.contact-phone-divider { align-self: stretch; width: 1px; background: var(--ink-200); }
.contact-phone-note { font-family: var(--font-base); font-size: 14px; line-height: 1.75; color: var(--text-body); flex-shrink: 0; }
.contact-form-card { margin-top: 24px; background: #fff; border-radius: var(--r-xl); padding: clamp(28px,4vw,44px); box-shadow: var(--shadow-lg); }
.contact-disclaimer { text-align: center; font-size: 12.5px; color: var(--text-muted); margin: 22px 0 0; font-family: var(--font-base); }
.contact-disclaimer a { color: var(--primary); font-weight: 700; }

/* ---------- FOOTER ---------- */
.site-footer { background: var(--ink-900); color: #fff; padding: 56px 0 26px; }
.footer-inner { max-width: 1280px; margin: 0 auto; padding: 0 var(--gutter); display: flex; justify-content: space-between; align-items: flex-start; flex-wrap: wrap; gap: 26px; }
.footer-brand { display: flex; align-items: center; gap: 10px; }
.footer-brand img { height: 30px; }
.footer-brand span { font-family: var(--font-base); font-weight: 900; font-size: 23px; }
.footer-desc { font-size: 13px; line-height: 1.9; color: rgba(255,255,255,0.6); max-width: 340px; margin: 16px 0 0; }
.footer-nav { display: flex; gap: 24px; flex-wrap: wrap; }
.footer-nav a { font-family: var(--font-base); font-weight: 700; font-size: 13.5px; color: rgba(255,255,255,0.8); }
.footer-nav a:hover { color: #fff; }
.footer-copy { max-width: 1280px; margin: 34px auto 0; padding: 20px var(--gutter) 0; border-top: 1px solid rgba(255,255,255,0.12); font-family: var(--font-display); font-size: 12px; letter-spacing: 0.06em; color: rgba(255,255,255,0.5); }

/* ==========================================================================
   Contact Form 7 スタイル上書き
   CF7が生成するHTMLに合わせてデザインを整える
   ========================================================================== */

/* CF7ラッパーのデフォルトマージンをリセット */
.wpcf7 { margin: 0; }
.wpcf7 p { margin: 0; }
.wpcf7 form { display: flex; flex-direction: column; gap: 22px; }

/* フィールド行・ラベル */
.cf7-row { display: flex; flex-direction: column; gap: 14px; }
.cf7-row p { margin: 0; display: flex; flex-direction: column; gap: 14px; }
.cf7-label {
  font-family: var(--font-base);
  font-weight: 700;
  font-size: 14px;
  color: var(--ink-700);
  display: flex;
  align-items: center;
  gap: 8px;
}
.cf7-req {
  display: inline-flex;
  align-items: center;
  font-size: 11px;
  font-weight: 700;
  color: #fff;
  background: var(--grad-brand);
  border-radius: 4px;
  padding: 2px 7px;
  letter-spacing: 0.04em;
}

/* ラジオボタン（ピルボタン形式） */
.wpcf7 .wpcf7-radio {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
}
.wpcf7 .wpcf7-radio .wpcf7-list-item {
  display: inline-flex;
  align-items: center;
  margin: 0;
  font-family: var(--font-base);
  font-size: 15px;
  font-weight: 500;
  color: var(--ink-700);
  background: #fff;
  border: 1.5px solid var(--ink-200);
  border-radius: var(--r-pill);
  padding: 11px 22px;
  cursor: pointer;
  transition: border-color 0.2s, background 0.2s, color 0.2s, box-shadow 0.2s;
  user-select: none;
  white-space: nowrap;
}
.wpcf7 .wpcf7-radio .wpcf7-list-item:hover {
  border-color: var(--primary);
  color: var(--primary);
}
.wpcf7 .wpcf7-radio input[type="radio"] {
  position: absolute;
  opacity: 0;
  pointer-events: none;
  width: 1px;
  height: 1px;
}
/* 選択済み */
.wpcf7 .wpcf7-radio .wpcf7-list-item.is-radio-checked {
  background: linear-gradient(135deg, #1991D0 0%, #3ABCC3 100%);
  border-color: transparent;
  color: #fff;
  box-shadow: 0 4px 16px rgba(25,145,208,0.35);
}

/* フィールドラベル */
.wpcf7 .wpcf7-form-control-wrap {
  display: block;
  position: relative;
}

/* テキスト・メール・電話入力 */
.wpcf7 input[type="text"],
.wpcf7 input[type="email"],
.wpcf7 input[type="tel"],
.wpcf7 input[type="url"],
.wpcf7 input[type="number"] {
  width: 100%;
  font-family: var(--font-base);
  font-size: 15.5px;
  color: var(--ink-800);
  background: var(--ink-50);
  border: 1.5px solid var(--ink-200);
  border-radius: var(--r-pill);
  padding: 15px 22px;
  outline: none;
  line-height: 1.7;
  transition: border-color var(--dur-base), box-shadow var(--dur-base), background var(--dur-base);
  box-sizing: border-box;
}

/* テキストエリア */
.wpcf7 textarea {
  width: 100%;
  font-family: var(--font-base);
  font-size: 15.5px;
  color: var(--ink-800);
  background: var(--ink-50);
  border: 1.5px solid var(--ink-200);
  border-radius: var(--r-md);
  padding: 16px 20px;
  outline: none;
  line-height: 1.7;
  resize: vertical;
  min-height: 140px;
  transition: border-color var(--dur-base), box-shadow var(--dur-base), background var(--dur-base);
  box-sizing: border-box;
}

/* フォーカス状態 */
.wpcf7 input:focus,
.wpcf7 textarea:focus {
  background: #fff;
  border-color: var(--primary);
  box-shadow: 0 0 0 4px var(--focus-ring);
}

/* 送信ボタン */
.wpcf7 input[type="submit"] {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 100%;
  font-family: var(--font-base);
  font-weight: 700;
  font-size: 17px;
  letter-spacing: 0.02em;
  color: #fff;
  background: var(--grad-brand);
  border: none;
  border-radius: var(--r-pill);
  padding: 18px 40px;
  cursor: pointer;
  box-shadow: var(--shadow-brand);
  transition: transform var(--dur-fast) var(--ease-out), box-shadow var(--dur-base) var(--ease-out);
}
.wpcf7 input[type="submit"]:hover {
  transform: translateY(-2px);
  box-shadow: 0 24px 50px rgba(25,145,208,0.42);
}
.wpcf7 input[type="submit"]:active { transform: scale(0.97); }

/* バリデーションエラーメッセージ */
.wpcf7 .wpcf7-not-valid-tip {
  display: block;
  margin-top: 6px;
  font-size: 12.5px;
  color: var(--danger);
  font-family: var(--font-base);
}

/* 送信結果メッセージ */
.wpcf7 .wpcf7-response-output {
  margin: 0;
  padding: 14px 20px;
  border-radius: var(--r-md);
  font-family: var(--font-base);
  font-size: 14px;
  font-weight: 700;
}
.wpcf7 .wpcf7-mail-sent-ok {
  background: #DFF3E8;
  border: 1.5px solid #2BB673;
  color: #1A6B45;
}
.wpcf7 .wpcf7-mail-sent-ng,
.wpcf7 .wpcf7-spam-blocked,
.wpcf7 .wpcf7-validation-errors,
.wpcf7 .wpcf7-acceptance-missing {
  background: #FEECEB;
  border: 1.5px solid var(--danger);
  color: #C0392B;
}

/* CF7 スピナー（送信中） */
.wpcf7 .ajax-loader {
  display: inline-block;
  margin-left: 10px;
  vertical-align: middle;
}

/* プライバシーポリシー同意チェックボックス */
.wpcf7 .wpcf7-acceptance .wpcf7-list-item {
  margin: 0;
  display: flex;
  justify-content: center;
}
.wpcf7 .wpcf7-acceptance .wpcf7-list-item label {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  font-family: var(--font-base);
  font-size: 14px;
  color: var(--text-body);
  cursor: pointer;
  line-height: 1.6;
}
.wpcf7 .wpcf7-acceptance input[type="checkbox"] {
  appearance: none;
  -webkit-appearance: none;
  flex-shrink: 0;
  width: 20px;
  height: 20px;
  border: 2px solid var(--ink-300);
  border-radius: 5px;
  background: #fff;
  cursor: pointer;
  transition: border-color 0.2s, background 0.2s;
  position: relative;
}
.wpcf7 .wpcf7-acceptance input[type="checkbox"]:checked {
  background: linear-gradient(135deg, #1991D0 0%, #3ABCC3 100%);
  border-color: transparent;
}
.wpcf7 .wpcf7-acceptance input[type="checkbox"]:checked::after {
  content: "";
  position: absolute;
  left: 4px;
  top: 1px;
  width: 8px;
  height: 12px;
  border: 2.5px solid #fff;
  border-top: none;
  border-left: none;
  transform: rotate(45deg);
}
.wpcf7 .wpcf7-acceptance input[type="checkbox"]:focus {
  outline: none;
  box-shadow: 0 0 0 4px var(--focus-ring);
}
.wpcf7 .wpcf7-acceptance .privacy-link {
  color: var(--primary);
  font-weight: 700;
  text-decoration: underline;
  text-underline-offset: 2px;
}

/* ==========================================================================
   Responsive
   ========================================================================== */
@media (max-width: 980px) {
  .lp-nav .nav-item { display: none; }
  .worry-grid { grid-template-columns: 1fr 1fr; }
}
@media (max-width: 900px) {
  .hero-grid, .point-grid, .proof-bars { grid-template-columns: 1fr; }
  .proof-stats { grid-template-columns: 1fr 1fr; }
  .proof-stat-item:nth-child(odd) { border-left: none; }
  .proof-stat-item { padding: 14px 8px; }
  .proof-bars { border-top: 1px solid var(--ink-200); padding-top: 28px; gap: 22px; }
  .company-row { grid-template-columns: 200px 1fr; }
  .contact-phone { flex-wrap: wrap; gap: 18px; }
  .contact-phone-divider { display: none; }
  .contact-phone-note { flex-basis: 100%; }
}
@media (max-width: 760px) {
  .hero { display: flex; flex-direction: column; position: relative; }
  .hero-grid { width: 100%; min-height: 0; padding-bottom: 0; order: 1; }
  .hero-copy { width: 100%; position: relative; z-index: 2; }
  .hero-art { position: relative; width: 100%; height: 300px; top: auto; right: auto; order: 2; }
  .hero-art-img { opacity: 1; object-position: center top; }
  .hero-art::before { content: ""; position: absolute; inset: 0; z-index: 1; background: linear-gradient(180deg, rgba(255,255,255,0.15) 0%, rgba(255,255,255,0) 60%); }
  .hero-stat { zoom: 0.6; transform-origin: left top; margin-bottom: 2px; }
  .hero-cta--desktop { display: none; }
  .hero-cta--mobile {
    display: flex; order: 3;
    flex-direction: column; align-items: stretch; gap: 14px;
    padding: 24px 20px; margin-top: -40px; position: relative; z-index: 3;
  }
  .hero-cta--mobile > .btn { width: 100%; }
  .hero-cta--mobile .hero-cta-secondary { width: 100%; }
  .hero-cta--mobile .hero-cta-secondary > .btn { width: 100%; }
  .nav-cta { gap: 8px; }
}
@media (max-width: 620px) {
  .worry-grid { grid-template-columns: 1fr 1fr; gap: 14px; }
  .worry-card { padding: 30px 14px 26px; }
  .worry-illust { width: 108px; height: 108px; }
  .proof-stats { gap: 10px; }
  .proof-stat-item { flex-direction: column; gap: 8px; text-align: center; }
  .company-row { grid-template-columns: 1fr; }
  .company-key { border-right: none; border-bottom: 1px solid var(--ink-100); }
  .lead-br { display: none; }
  .flow-row { gap: 14px; }
  .flow-icon-wrap { width: 64px; }
  .flow-icon { width: 60px; height: 60px; }
  .flow-line { left: 31px; }
  .company-key { padding: 14px 20px; }
  .company-val { padding: 14px 20px; }
  .contact-phone { padding: 22px 20px; }
}
@media (max-width: 430px) {
  .nav-cta > :first-child { display: none; }
}
@media (prefers-reduced-motion: reduce) {
  [style*="animation"], .hero-art, .hero-art-img, .hero-stat, .hero-title > span, .hero-lead, .hero-cta, .hero-badge-wrap { animation: none !important; }
}
