/* ========================================
   みんなの電力 - 業種別LP 共通スタイル
   ======================================== */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }

:root {
  --blue:    #0090d4;
  --blue-d:  #006fa8;
  --blue-l:  #e0f5ff;
  --green:   #00bc6c;
  --green-d: #009256;
  --green-l: #e0faf0;
  --teal:    #00b5a5;
  --teal-l:  #e0faf8;
  --yellow:  #f5c400;
  --orange:  #ff7800;
  --gray-1:  #f3fdf6;
  --gray-2:  #e4f5ec;
  --gray-3:  #b2d8c5;
  --gray-5:  #5a7a6a;
  --gray-7:  #1a3328;
  --white:   #ffffff;
  --text:    #152b22;
  --radius:  8px;
  --shadow:  0 4px 24px rgba(0,188,108,.13);
}

html { scroll-behavior: smooth; }
body { font-family: 'Hiragino Kaku Gothic ProN', 'Noto Sans JP', sans-serif; color: var(--text); line-height: 1.7; background: var(--white); }

/* HEADER */
.lp-header {
  position: sticky; top: 0; z-index: 100;
  background: var(--white);
  box-shadow: 0 1px 0 var(--gray-2), 0 2px 12px rgba(0,0,0,.06);
  display: flex; align-items: center; justify-content: space-between;
  padding: 0 32px; height: 64px;
}
.lp-logo { display: flex; align-items: center; gap: 10px; text-decoration: none; }
.lp-logo-text { font-size: 24px; font-weight: 800; color: var(--green-d); letter-spacing: -.3px; }
.lp-logo-sub { font-size: 10px; color: var(--gray-5); display: block; margin-top: -2px; letter-spacing: .5px; }
.lp-header nav { display: flex; align-items: center; gap: 20px; }
.lp-header nav a { font-size: 13px; color: var(--gray-7); text-decoration: none; font-weight: 500; transition: color .2s; }
.lp-header nav a:hover { color: var(--green-d); }
.lp-btn-cta-sm {
  background: var(--orange); color: #fff; border: none; border-radius: 6px;
  padding: 8px 20px; font-size: 13px; font-weight: 700; cursor: pointer;
  text-decoration: none; white-space: nowrap;
}

/* HERO */
.lp-hero-wrap { max-width: 1200px; margin: 0 auto; background: linear-gradient(135deg, #1abc6c 0%, #2ed687 45%, #25c9b5 100%); }
.lp-hero-inner { max-width: 1200px; margin: 0 auto; padding: 40px 32px 56px; display: grid; grid-template-columns: 1fr 460px; gap: 48px; align-items: center; color: #fff; }
.lp-hero-badge {
  display: inline-flex; align-items: center; gap: 8px;
  background: rgba(255,255,255,.18); border: 1.5px solid rgba(255,255,255,.4);
  border-radius: 30px; padding: 8px 22px; font-size: 18px; font-weight: 800;
  margin-bottom: 20px; color: #fff176;
}
.lp-hero h1 { font-size: clamp(28px,3.5vw,42px); font-weight: 900; line-height: 1.25; letter-spacing: -.5px; margin-bottom: 20px; }
.lp-hero h1 em { font-style: normal; color: #fff176; }
.lp-hero-lead { font-size: 17px; color: rgba(255,255,255,.92); line-height: 1.8; margin-bottom: 28px; }
.lp-hero-points { list-style: none; display: flex; flex-direction: column; gap: 10px; margin-bottom: 28px; }
.lp-hero-points li { display: flex; align-items: center; gap: 10px; font-size: 15px; font-weight: 600; }
.lp-hero-points li::before {
  content: '✓'; width: 22px; height: 22px; border-radius: 50%;
  background: var(--green); display: flex; align-items: center; justify-content: center;
  font-size: 12px; flex-shrink: 0;
}
.lp-hero-stats { display: flex; gap: 24px; flex-wrap: wrap; }
.lp-hero-stat .num { font-size: 36px; font-weight: 900; color: #fff176; line-height: 1; }
.lp-hero-stat .unit { font-size: 13px; opacity: .85; margin-top: 4px; }

/* FORM CARD */
.lp-form-card { background: #fff; border-radius: 16px; padding: 28px; box-shadow: 0 8px 40px rgba(0,0,0,.25); color: var(--text); }
.lp-form-card h2 { font-size: 18px; font-weight: 800; color: var(--green-d); margin-bottom: 6px; text-align: center; }
.lp-form-sub { font-size: 12px; color: var(--gray-5); text-align: center; margin-bottom: 16px; }
.lp-form-badge {
  background: var(--green-l); color: var(--green-d); border: 1px solid #8de0c5;
  border-radius: 4px; font-size: 11px; font-weight: 700; padding: 2px 8px;
  display: inline-block; margin-bottom: 14px;
}
.field { margin-bottom: 14px; }
.field label { font-size: 12px; font-weight: 700; color: var(--gray-7); display: block; margin-bottom: 5px; }
.field label .req { color: #e03030; font-size: 10px; margin-left: 4px; }
.field select, .field input {
  width: 100%; border: 1.5px solid var(--gray-3); border-radius: var(--radius);
  padding: 9px 12px; font-size: 14px; font-family: inherit; color: var(--text);
  background: var(--white); appearance: none;
}
.field select { background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='8'%3E%3Cpath d='M1 1l5 5 5-5' stroke='%236b7a93' stroke-width='1.5' fill='none' stroke-linecap='round'/%3E%3C/svg%3E"); background-repeat: no-repeat; background-position: right 12px center; padding-right: 36px; }
.field select:focus, .field input:focus { outline: none; border-color: var(--green); box-shadow: 0 0 0 3px rgba(0,188,108,.14); }
.field-row { display: grid; grid-template-columns: 1fr 1fr; gap: 10px; }
.btn-submit {
  width: 100%; background: linear-gradient(135deg, var(--orange), #e06800);
  color: #fff; border: none; border-radius: 8px;
  padding: 14px; font-size: 16px; font-weight: 800; cursor: pointer;
  margin-top: 4px; letter-spacing: .3px;
}
.btn-submit:hover { transform: translateY(-2px); box-shadow: 0 6px 20px rgba(240,124,0,.4); }
.form-note { font-size: 11px; color: var(--gray-5); text-align: center; margin-top: 10px; line-height: 1.5; }

/* SECTIONS */
section { padding: 64px 32px; }
.section-inner { max-width: 1200px; margin: 0 auto; }
.section-label { font-size: 12px; font-weight: 700; color: var(--green-d); letter-spacing: 1.5px; text-transform: uppercase; margin-bottom: 8px; }
.section-title { font-size: clamp(22px,2.5vw,32px); font-weight: 900; color: var(--gray-7); line-height: 1.3; margin-bottom: 14px; }
.section-desc { font-size: 16px; color: var(--gray-5); max-width: 720px; line-height: 1.9; }

/* PAIN POINTS */
.pain { background: linear-gradient(135deg, #fff8eb 0%, #fff3d6 100%); }
.pain-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px; margin-top: 40px; }
.pain-card {
  background: #fff; border-radius: 12px; padding: 24px 22px;
  border-top: 5px solid #ff7800;
}
.pain-icon { font-size: 32px; margin-bottom: 10px; display: block; }
.pain-card h3 { font-size: 17px; font-weight: 800; color: var(--gray-7); margin-bottom: 8px; }
.pain-card p { font-size: 14px; color: var(--gray-5); line-height: 1.75; }

/* SOLUTION */
.solution { background: #f5fef9; }
.solution-row {
  display: grid; grid-template-columns: 1fr 1.5fr; gap: 32px; margin-top: 40px;
  align-items: center;
  background: #fff; border-radius: 14px; padding: 32px;
  box-shadow: 0 4px 16px rgba(0,188,108,.08);
}
.solution-stat {
  background: linear-gradient(135deg, #00bc6c, #00b5a5);
  border-radius: 12px; padding: 28px; color: #fff; text-align: center;
}
.solution-stat .big { font-size: 56px; font-weight: 900; line-height: 1; }
.solution-stat .big small { font-size: 0.4em; }
.solution-stat .lbl { font-size: 14px; opacity: .9; margin-top: 8px; }
.solution-text h3 { font-size: 22px; font-weight: 800; color: var(--gray-7); margin-bottom: 12px; }
.solution-text p { font-size: 15px; color: var(--gray-5); line-height: 1.9; }

/* CASE BLOCK */
.case-block { background: var(--white); }
.case-detail {
  display: grid; grid-template-columns: 1fr 1fr 1fr; gap: 16px; margin-top: 40px;
  align-items: stretch;
}
.case-detail-card {
  background: #fff; border: 1.5px solid #c8edd8; border-radius: 12px;
  padding: 24px; text-align: center;
}
.case-detail-card .ttl { font-size: 13px; font-weight: 700; color: var(--gray-5); margin-bottom: 8px; }
.case-detail-card .val { font-size: 24px; font-weight: 900; color: var(--gray-7); }
.case-detail-card.before { background: #fff5e6; border-color: #ffd699; }
.case-detail-card.before .val { color: #c96a00; }
.case-detail-card.after { background: var(--green-l); border-color: var(--green); }
.case-detail-card.after .val { color: var(--green-d); }
.case-summary {
  margin-top: 24px; padding: 18px; text-align: center;
  background: linear-gradient(135deg, #ff7800, #ff9933);
  color: #fff; border-radius: 12px; font-size: 18px; font-weight: 800;
}
.case-summary strong { font-size: 1.4em; }

/* BENEFITS */
.benefits { background: #f0fdf7; }
.benefits-grid { display: grid; grid-template-columns: repeat(2, 1fr); gap: 20px; margin-top: 40px; }
.benefit-card {
  background: #fff; border-radius: 12px; padding: 26px;
  border-left: 5px solid var(--green);
}
.benefit-icon { font-size: 28px; margin-right: 6px; }
.benefit-card h3 { font-size: 17px; font-weight: 800; color: var(--gray-7); margin-bottom: 8px; }
.benefit-card p { font-size: 14px; color: var(--gray-5); line-height: 1.8; }

/* FAQ */
.lp-faq { background: #edfcf4; }
.lp-faq-list { margin-top: 40px; display: flex; flex-direction: column; gap: 12px; max-width: 820px; }
details.lp-faq-item {
  background: #fff; border-radius: 10px; border: 1.5px solid #c8edd8;
  overflow: hidden;
}
details.lp-faq-item[open] { border-color: var(--green); box-shadow: 0 4px 16px rgba(0,188,108,.1); }
details.lp-faq-item summary {
  padding: 18px 20px; font-size: 15px; font-weight: 700; cursor: pointer;
  list-style: none; display: flex; justify-content: space-between; align-items: center;
  color: var(--gray-7);
}
details.lp-faq-item summary::-webkit-details-marker { display: none; }
details.lp-faq-item summary::after { content: '+'; font-size: 20px; color: var(--green); }
details.lp-faq-item[open] summary::after { content: '−'; }
details.lp-faq-item .ans { padding: 0 20px 18px; font-size: 14px; color: var(--gray-5); line-height: 1.9; border-top: 1px solid var(--gray-2); padding-top: 14px; }
details.lp-faq-item .qm { color: var(--green-d); font-weight: 900; margin-right: 8px; }

/* CTA BOTTOM */
.lp-cta-bottom { background: linear-gradient(135deg, #1abc6c 0%, #2ed687 50%, #25c9b5 100%); color: #fff; text-align: center; padding: 64px 32px; }
.lp-cta-bottom h2 { font-size: clamp(22px,2.6vw,32px); font-weight: 900; margin-bottom: 14px; }
.lp-cta-bottom p { font-size: 16px; opacity: .9; margin-bottom: 30px; }
.lp-cta-bottom .btn-big { display: inline-block; background: var(--orange); color: #fff; border-radius: 10px; padding: 16px 44px; font-size: 17px; font-weight: 800; text-decoration: none; }
.lp-cta-bottom .btn-big:hover { transform: translateY(-2px); box-shadow: 0 6px 20px rgba(0,0,0,.2); }

/* FOOTER */
.lp-footer { background: var(--gray-7); color: rgba(255,255,255,.65); padding: 36px 32px 22px; }
.lp-footer-inner { max-width: 1200px; margin: 0 auto; }
.lp-footer-top { display: flex; justify-content: space-between; flex-wrap: wrap; gap: 20px; margin-bottom: 22px; }
.lp-footer-logo { color: #fff; font-size: 17px; font-weight: 800; margin-bottom: 4px; }
.lp-footer-co { font-size: 12px; line-height: 1.9; }
.lp-footer-links { display: flex; gap: 18px; flex-wrap: wrap; }
.lp-footer-links a { color: rgba(255,255,255,.65); text-decoration: none; font-size: 12px; }
.lp-footer-links a:hover { color: #fff; }
.lp-footer-bottom { border-top: 1px solid rgba(255,255,255,.1); padding-top: 18px; font-size: 11px; text-align: center; }

/* RESPONSIVE */
@media (max-width: 900px) {
  .lp-hero-inner { grid-template-columns: 1fr; }
  .lp-form-card { max-width: 540px; margin: 0 auto; }
  .pain-grid { grid-template-columns: 1fr; }
  .solution-row { grid-template-columns: 1fr; }
  .case-detail { grid-template-columns: 1fr; }
  .benefits-grid { grid-template-columns: 1fr; }
}
@media (max-width: 640px) {
  .lp-header { padding: 0 16px; }
  .lp-header nav { display: none; }
  section { padding: 48px 16px; }
  .lp-hero-inner { padding: 40px 16px 48px; }
  .field-row { grid-template-columns: 1fr; }
  .lp-footer-top { flex-direction: column; }
}
