/* ========================================
   住宅省エネ2026 LP - Reference Style
   参考: 静岡県移住支援金LP
   ======================================== */

/* Reset */
*, *::before, *::after {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

:root {
  /* Primary Colors */
  --primary: #00a73c;
  --primary-dark: #008c32;
  --primary-light: #e8f5e9;

  /* Secondary Colors */
  --secondary: #0097a7;
  --secondary-light: #e0f7fa;

  /* Accent */
  --accent: #ff9800;
  --accent-light: #fff3e0;

  /* Neutral */
  --text: #333333;
  --text-light: #666666;
  --border: #e0e0e0;
  --bg-gray: #f5f5f5;
  --bg-white: #ffffff;

  /* Sizes */
  --container: 1100px;
  --radius: 8px;
  --radius-lg: 12px;
}

html {
  scroll-behavior: smooth;
}

body {
  font-family: 'Noto Sans JP', 'Hiragino Kaku Gothic ProN', sans-serif;
  font-size: 16px;
  line-height: 1.8;
  color: var(--text);
  background: var(--bg-white);
}

img {
  max-width: 100%;
  height: auto;
  vertical-align: middle;
}

a {
  color: var(--primary);
  text-decoration: none;
}

/* ========================================
   Layout
   ======================================== */
.lp-container {
  max-width: var(--container);
  margin: 0 auto;
  padding: 0 20px;
}

/* ========================================
   Header
   ======================================== */
.lp-header {
  background: var(--bg-white);
  border-bottom: 1px solid var(--border);
  position: sticky;
  top: 0;
  z-index: 100;
}

.lp-header__inner {
  max-width: var(--container);
  margin: 0 auto;
  padding: 12px 20px;
  display: flex;
  justify-content: space-between;
  align-items: center;
}

.lp-header__logo img {
  height: 36px;
}

.lp-header__tel {
  display: flex;
  align-items: center;
  gap: 8px;
  color: var(--primary);
  font-weight: 700;
  font-size: 1.125rem;
}

/* ========================================
   Hero Section
   ======================================== */
.lp-hero {
  position: relative;
  background: linear-gradient(135deg, #e8f5e9 0%, #b2dfdb 100%);
  overflow: hidden;
}

.lp-hero__bg {
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background: url('/assets/img/subsidy2026/hero_bg.webp') center/cover;
  opacity: 0.3;
}

.lp-hero__inner {
  position: relative;
  z-index: 1;
  max-width: var(--container);
  margin: 0 auto;
  padding: 60px 20px;
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 40px;
  align-items: center;
}

.lp-hero__content {
  text-align: left;
}

.lp-hero__badge {
  display: inline-block;
  background: var(--primary);
  color: white;
  padding: 6px 20px;
  border-radius: 20px;
  font-size: 0.875rem;
  font-weight: 700;
  margin-bottom: 16px;
}

.lp-hero__title {
  font-size: 1.75rem;
  font-weight: 700;
  line-height: 1.5;
  margin-bottom: 12px;
}

.lp-hero__title strong {
  color: var(--primary);
  font-size: 2rem;
}

.lp-hero__subtitle {
  font-size: 1rem;
  color: var(--text-light);
  margin-bottom: 24px;
}

.lp-hero__image {
  display: flex;
  justify-content: center;
  align-items: center;
}

.lp-hero__image img {
  max-width: 400px;
  width: 100%;
  height: auto;
  border-radius: var(--radius-lg);
}

.lp-hero__image-placeholder {
  width: 100%;
  max-width: 400px;
  aspect-ratio: 4/3;
  background: rgba(255,255,255,0.8);
  border-radius: var(--radius-lg);
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--text-light);
  font-size: 0.875rem;
  border: 2px dashed var(--border);
}

/* Hero Numbers */
.lp-hero__numbers {
  display: flex;
  gap: 16px;
  margin-bottom: 24px;
}

.lp-hero__number-card {
  background: var(--bg-white);
  border-radius: var(--radius-lg);
  padding: 20px 24px;
  text-align: center;
  box-shadow: 0 2px 8px rgba(0,0,0,0.1);
  flex: 1;
}

.lp-hero__number-label {
  font-size: 0.75rem;
  color: var(--text-light);
  margin-bottom: 4px;
}

.lp-hero__number-value {
  font-size: 2.5rem;
  font-weight: 900;
  color: var(--primary);
  line-height: 1;
}

.lp-hero__number-unit {
  font-size: 1rem;
  font-weight: 700;
}

/* Hero CTA */
.lp-hero__cta {
  display: flex;
  gap: 12px;
}

/* ========================================
   Buttons
   ======================================== */
.lp-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  padding: 14px 28px;
  font-size: 1rem;
  font-weight: 700;
  border-radius: var(--radius);
  border: none;
  cursor: pointer;
  transition: all 0.2s;
}

.lp-btn--primary {
  background: var(--accent);
  color: white;
}

.lp-btn--primary:hover {
  background: #f57c00;
  transform: translateY(-2px);
}

.lp-btn--secondary {
  background: var(--bg-white);
  color: var(--primary);
  border: 2px solid var(--primary);
}

.lp-btn--secondary:hover {
  background: var(--primary-light);
}

/* ========================================
   Section
   ======================================== */
.lp-section {
  padding: 60px 0;
}

.lp-section--gray {
  background: var(--bg-gray);
}

.lp-section--primary {
  background: var(--primary);
  color: white;
}

.lp-section--primary-light {
  background: var(--primary-light);
}

.lp-section__header {
  text-align: center;
  margin-bottom: 40px;
}

.lp-section__title {
  font-size: 1.75rem;
  font-weight: 700;
  margin-bottom: 12px;
  display: inline-block;
  padding-bottom: 12px;
  border-bottom: 3px solid var(--primary);
}

.lp-section--primary .lp-section__title {
  border-bottom-color: white;
}

.lp-section__subtitle {
  font-size: 1rem;
  color: var(--text-light);
}

.lp-section--primary .lp-section__subtitle {
  color: rgba(255,255,255,0.9);
}

/* ========================================
   Overview
   ======================================== */
.lp-overview {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 40px;
  align-items: center;
}

.lp-overview__text {
  font-size: 1.0625rem;
  line-height: 2;
}

.lp-overview__budget {
  background: white;
  border: 3px solid var(--primary);
  box-shadow: 0 4px 12px rgba(0,167,60,0.15);
  padding: 32px;
  border-radius: var(--radius-lg);
  text-align: center;
}

.lp-overview__budget-label {
  font-size: 0.9375rem;
  margin-bottom: 8px;
  color: var(--text-light);
}

.lp-overview__budget-amount {
  font-size: 3rem;
  font-weight: 900;
  color: var(--primary);
}

.lp-overview__ministries {
  display: flex;
  justify-content: center;
  gap: 24px;
  margin-top: 40px;
  grid-column: 1 / -1;
}

.lp-ministry {
  text-align: center;
  padding: 20px;
  background: var(--bg-white);
  border-radius: var(--radius);
  box-shadow: 0 2px 4px rgba(0,0,0,0.05);
  min-width: 140px;
}

.lp-ministry__icon {
  width: 60px;
  height: 60px;
  margin: 0 auto 12px;
  background: var(--bg-gray);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.5rem;
  overflow: hidden;
}

.lp-ministry__icon img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.lp-ministry__name {
  font-weight: 700;
  font-size: 0.9375rem;
  margin-bottom: 4px;
}

.lp-ministry__desc {
  font-size: 0.8125rem;
  color: var(--text-light);
}

/* ========================================
   Subsidy Cards
   ======================================== */
.lp-subsidy-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 24px;
}

.lp-subsidy-card {
  background: var(--bg-white);
  border-radius: var(--radius-lg);
  overflow: hidden;
  box-shadow: 0 2px 8px rgba(0,0,0,0.08);
}

.lp-subsidy-card__header {
  padding: 20px;
  border-bottom: 1px solid var(--border);
}

.lp-subsidy-card--green .lp-subsidy-card__header {
  background: linear-gradient(180deg, #e8f5e9 0%, #ffffff 100%);
}

.lp-subsidy-card--blue .lp-subsidy-card__header {
  background: linear-gradient(180deg, #e0f7fa 0%, #ffffff 100%);
}

.lp-subsidy-card--purple .lp-subsidy-card__header {
  background: linear-gradient(180deg, #f3e5f5 0%, #ffffff 100%);
}

.lp-subsidy-card__ministry {
  font-size: 0.75rem;
  padding: 4px 12px;
  border-radius: 12px;
  display: inline-block;
  margin-bottom: 8px;
  color: white;
}

.lp-subsidy-card--green .lp-subsidy-card__ministry {
  background: var(--primary);
}

.lp-subsidy-card--blue .lp-subsidy-card__ministry {
  background: var(--secondary);
}

.lp-subsidy-card--purple .lp-subsidy-card__ministry {
  background: #7b1fa2;
}

.lp-subsidy-card__title {
  font-size: 1.125rem;
  font-weight: 700;
  margin-bottom: 8px;
  color: var(--text);
}

.lp-subsidy-card__amount {
  font-size: 1.5rem;
  font-weight: 900;
}

.lp-subsidy-card--green .lp-subsidy-card__amount {
  color: var(--primary);
}

.lp-subsidy-card--blue .lp-subsidy-card__amount {
  color: var(--secondary);
}

.lp-subsidy-card--purple .lp-subsidy-card__amount {
  color: #7b1fa2;
}

.lp-subsidy-card__amount span {
  font-size: 2rem;
}

.lp-subsidy-card__body {
  padding: 20px;
}

.lp-subsidy-card__image {
  width: 100%;
  height: 140px;
  background: var(--bg-gray);
  border-radius: var(--radius);
  margin-bottom: 16px;
  display: flex;
  align-items: center;
  justify-content: center;
  overflow: hidden;
}

.lp-subsidy-card__image img {
  width: 100%;
  height: 100%;
  object-fit: contain;
}

.lp-subsidy-card__budget {
  font-size: 0.8125rem;
  background: var(--bg-gray);
  padding: 8px 12px;
  border-radius: var(--radius);
  margin-bottom: 16px;
}

.lp-subsidy-card__list {
  list-style: none;
}

.lp-subsidy-card__list li {
  padding: 8px 0;
  padding-left: 24px;
  position: relative;
  font-size: 0.9375rem;
  border-bottom: 1px solid var(--border);
}

.lp-subsidy-card__list li:last-child {
  border-bottom: none;
}

.lp-subsidy-card__list li::before {
  content: '✓';
  position: absolute;
  left: 0;
  color: var(--primary);
  font-weight: 700;
}

.lp-subsidy-card__point {
  margin-top: 16px;
  padding: 16px;
  background: var(--accent-light);
  border-radius: var(--radius);
  font-size: 0.875rem;
  line-height: 1.7;
}

.lp-subsidy-card__point strong {
  color: var(--accent);
}

/* ========================================
   Why Window (Statistics)
   ======================================== */
.lp-stats {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 24px;
  margin-bottom: 40px;
}

.lp-stat-card {
  background: var(--bg-white);
  border-radius: var(--radius-lg);
  padding: 32px;
  text-align: center;
  box-shadow: 0 2px 8px rgba(0,0,0,0.08);
}

.lp-stat-card__image {
  width: 100%;
  height: 120px;
  background: var(--bg-gray);
  border-radius: var(--radius);
  margin-bottom: 16px;
  display: flex;
  align-items: center;
  justify-content: center;
  overflow: hidden;
}

.lp-stat-card__image img {
  width: 100%;
  height: 100%;
  object-fit: contain;
}

.lp-stat-card__number {
  font-size: 3rem;
  font-weight: 900;
  color: var(--primary);
  line-height: 1;
  margin-bottom: 8px;
}

.lp-stat-card__unit {
  font-size: 1.25rem;
}

.lp-stat-card__label {
  font-size: 1rem;
  color: var(--text-light);
}

/* Benefits Grid */
.lp-benefits {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 20px;
}

.lp-benefit {
  background: var(--bg-white);
  border-radius: var(--radius);
  padding: 24px 16px;
  text-align: center;
  box-shadow: 0 2px 4px rgba(0,0,0,0.05);
}

.lp-benefit__icon {
  width: 100px;
  height: 100px;
  margin: 0 auto 12px;
  background: var(--primary-light);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.75rem;
  overflow: hidden;
}

.lp-benefit__icon img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.lp-benefit__title {
  font-size: 1rem;
  font-weight: 700;
  color: var(--primary);
  margin-bottom: 8px;
}

.lp-benefit__text {
  font-size: 0.8125rem;
  color: var(--text-light);
  line-height: 1.6;
}

/* ========================================
   Combination Table
   ======================================== */
.lp-combo-intro {
  text-align: center;
  font-size: 1.0625rem;
  margin-bottom: 32px;
  line-height: 2;
}

.lp-combo-table {
  max-width: 800px;
  margin: 0 auto;
  background: var(--bg-white);
  border-radius: var(--radius-lg);
  overflow: hidden;
  box-shadow: 0 2px 8px rgba(0,0,0,0.08);
}

.lp-combo-table__row {
  display: flex;
  border-bottom: 1px solid var(--border);
}

.lp-combo-table__row:last-child {
  border-bottom: none;
}

.lp-combo-table__row--header {
  background: var(--primary);
  color: white;
  font-weight: 700;
}

.lp-combo-table__col {
  flex: 1;
  padding: 16px 20px;
}

.lp-combo-table__col:last-child {
  text-align: right;
  font-weight: 700;
  color: var(--accent);
  font-size: 1.125rem;
}

.lp-combo-table__row--header .lp-combo-table__col:last-child {
  color: white;
  font-size: 1rem;
}

/* Note Box */
.lp-note {
  background: var(--accent-light);
  border-left: 4px solid var(--accent);
  padding: 20px;
  margin-top: 32px;
  border-radius: 0 var(--radius) var(--radius) 0;
}

.lp-note__title {
  font-weight: 700;
  margin-bottom: 8px;
  display: flex;
  align-items: center;
  gap: 8px;
}

.lp-note__text {
  font-size: 0.9375rem;
  line-height: 1.8;
}

/* ========================================
   Flow
   ======================================== */
.lp-flow {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 16px;
  position: relative;
}

.lp-flow::before {
  content: '';
  position: absolute;
  top: 50px;
  left: 12.5%;
  right: 12.5%;
  height: 2px;
  background: var(--border);
}

.lp-flow__step {
  position: relative;
  z-index: 1;
  text-align: center;
}

.lp-flow__number {
  width: 60px;
  height: 60px;
  background: var(--primary);
  color: white;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.5rem;
  font-weight: 900;
  margin: 0 auto 16px;
}

.lp-flow__image {
  width: 100%;
  height: 100px;
  background: var(--bg-white);
  border-radius: var(--radius);
  margin-bottom: 12px;
  display: flex;
  align-items: center;
  justify-content: center;
  overflow: hidden;
}

.lp-flow__image img {
  width: 100%;
  height: 100%;
  object-fit: contain;
}

.lp-flow__title {
  font-size: 1rem;
  font-weight: 700;
  margin-bottom: 8px;
}

.lp-flow__text {
  font-size: 0.8125rem;
  color: var(--text-light);
  line-height: 1.6;
}

/* ========================================
   Reasons
   ======================================== */
.lp-reasons {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 24px;
}

.lp-reason {
  background: rgba(255,255,255,0.1);
  border-radius: var(--radius-lg);
  padding: 28px;
  display: flex;
  gap: 20px;
  align-items: flex-start;
}

.lp-reason__icon {
  width: 80px;
  height: 80px;
  background: rgba(255,255,255,0.95);
  border-radius: var(--radius);
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
  overflow: hidden;
}

.lp-reason__icon img {
  width: 100%;
  height: 100%;
  object-fit: contain;
}

.lp-reason__content {
  flex: 1;
}

.lp-reason__number {
  font-size: 0.75rem;
  background: rgba(255,255,255,0.2);
  padding: 4px 12px;
  border-radius: 12px;
  display: inline-block;
  margin-bottom: 8px;
}

.lp-reason__title {
  font-size: 1.125rem;
  font-weight: 700;
  margin-bottom: 8px;
}

.lp-reason__text {
  font-size: 0.9375rem;
  opacity: 0.9;
  line-height: 1.7;
}

/* ========================================
   FAQ
   ======================================== */
.lp-faq {
  max-width: 900px;
  margin: 0 auto;
}

.lp-faq__item {
  background: var(--bg-white);
  border-radius: var(--radius);
  margin-bottom: 12px;
  box-shadow: 0 2px 4px rgba(0,0,0,0.05);
  overflow: hidden;
}

.lp-faq__question {
  padding: 20px;
  display: flex;
  align-items: flex-start;
  gap: 16px;
  font-weight: 700;
}

.lp-faq__q {
  width: 28px;
  height: 28px;
  background: var(--primary);
  color: white;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 0.875rem;
  flex-shrink: 0;
}

.lp-faq__answer {
  padding: 0 20px 20px;
  padding-left: 64px;
  font-size: 0.9375rem;
  color: var(--text-light);
  line-height: 1.8;
}

/* ========================================
   CTA
   ======================================== */
.lp-cta {
  background: var(--primary);
  padding: 60px 20px;
  text-align: center;
  color: white;
}

.lp-cta__title {
  font-size: 1.5rem;
  font-weight: 700;
  margin-bottom: 16px;
  line-height: 1.5;
}

.lp-cta__text {
  font-size: 1rem;
  margin-bottom: 32px;
  opacity: 0.95;
}

.lp-cta__buttons {
  display: flex;
  gap: 16px;
  justify-content: center;
  margin-bottom: 32px;
}

.lp-cta__tel {
  font-size: 1.75rem;
  font-weight: 900;
  margin-bottom: 8px;
  color: white;
}

.lp-cta__tel a {
  color: white;
  text-decoration: none;
}

.lp-cta__tel-note {
  font-size: 0.875rem;
  opacity: 0.9;
}

.lp-offices {
  display: flex;
  justify-content: center;
  gap: 40px;
  margin-top: 32px;
  padding-top: 32px;
  border-top: 1px solid rgba(255,255,255,0.2);
}

.lp-office__name {
  font-weight: 700;
  margin-bottom: 4px;
}

.lp-office__address {
  font-size: 0.875rem;
  opacity: 0.9;
}

/* ========================================
   Footer
   ======================================== */
.lp-footer {
  background: #1a1a1a;
  color: white;
  padding: 32px 20px;
  text-align: center;
}

.lp-footer__logo {
  margin-bottom: 16px;
}

.lp-footer__logo img {
  height: 32px;
  filter: brightness(0) invert(1);
}

.lp-footer__copy {
  font-size: 0.75rem;
  opacity: 0.7;
}

/* ========================================
   Floating CTA
   ======================================== */
.floating-cta {
  position: fixed;
  z-index: 999;
  background:
    repeating-linear-gradient(
      -45deg,
      #ff7d00,
      #ff7d00 10px,
      rgba(255,255,255,0.1) 10px,
      rgba(255,255,255,0.1) 20px
    ),
    #ff7d00;
  box-shadow: 0 4px 12px rgba(0,0,0,0.3);
  right: 20px;
  bottom: 20px;
  display: flex;
  flex-direction: column;
  gap: 12px;
  padding: 20px;
  border-radius: 12px;
}

.floating-cta a {
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 12px 16px;
  background: #fff;
  border: none;
  color: #ff7d00;
  text-decoration: none;
  font-weight: 700;
  border-radius: 30px;
  font-size: 18px;
}

.floating-cta a:hover {
  background: #fff5e6;
  color: #ff7d00;
}

.floating-cta .pc-only {
  display: inline;
}

/* ========================================
   Responsive
   ======================================== */
@media (max-width: 1024px) {
  .lp-subsidy-grid {
    grid-template-columns: 1fr;
  }

  .lp-reasons {
    grid-template-columns: 1fr;
  }
}

@media (max-width: 768px) {
  .lp-hero__inner {
    grid-template-columns: 1fr;
    padding: 40px 20px;
    text-align: center;
  }

  .lp-hero__content {
    text-align: center;
  }

  .lp-hero__numbers {
    flex-direction: column;
  }

  .lp-hero__cta {
    flex-direction: column;
    align-items: center;
  }

  .lp-hero__image {
    order: -1;
  }

  .lp-section {
    padding: 40px 0;
  }

  .lp-section__title {
    font-size: 1.5rem;
  }

  .lp-overview {
    grid-template-columns: 1fr;
  }

  .lp-overview__ministries {
    flex-direction: row;
    flex-wrap: wrap;
    justify-content: center;
    gap: 12px;
  }

  .lp-ministry {
    min-width: 100px;
    padding: 12px;
  }

  .lp-ministry__icon {
    width: 48px;
    height: 48px;
  }

  .lp-stats {
    grid-template-columns: 1fr;
  }

  .lp-benefits {
    grid-template-columns: repeat(2, 1fr);
  }

  .lp-flow {
    grid-template-columns: 1fr;
    gap: 24px;
  }

  .lp-flow::before {
    display: none;
  }

  .lp-combo-table__row {
    flex-direction: column;
    text-align: center;
  }

  .lp-combo-table__col:last-child {
    text-align: center;
  }

  .lp-offices {
    flex-direction: column;
    gap: 20px;
  }

  .floating-cta {
    left: auto;
    right: 10px;
    bottom: 10px;
    width: 70%;
    padding: 15px 20px;
    gap: 10px;
    border-radius: 12px;
  }

  .floating-cta a {
    padding: 12px 16px;
    font-size: 18px;
    border-radius: 30px;
  }

  .floating-cta .pc-only {
    display: none;
  }

  .lp-footer {
    padding-bottom: 120px;
  }

  .lp-cta {
    padding-bottom: 100px;
  }

  .lp-faq__answer {
    padding-left: 20px;
  }
}

@media (max-width: 480px) {
  .lp-benefits {
    grid-template-columns: 1fr;
  }

  .lp-header__tel {
    font-size: 0.9375rem;
  }
}
