/* ===== Breadcrumb ===== */
.breadcrumb {
  margin-top: 68px;
  background: var(--gray-bg);
  border-bottom: 1px solid var(--gray-mid);
}

.breadcrumb br {
  display: none;
}

.breadcrumb-inner {
  max-width: 1200px;
  margin: 0 auto;
  padding: 12px 24px;
  display: flex;
  align-items: center;
  gap: 8px;
  font-size: 13px;
  font-family: 'Noto Sans JP', sans-serif;
  color: var(--text-sub);
}

.breadcrumb-inner a { color: var(--navy); }
.breadcrumb-inner a:hover { text-decoration: underline; }
.breadcrumb-sep { color: var(--gray-mid); }
.breadcrumb-current { color: var(--blue); font-weight: 500; }

/* ===== Hero ===== */
.hero {
  height: 65vh;
  min-height: 500px;
  position: relative;
  display: flex;
  align-items: center;
  overflow: hidden;
}

.hero-bg {
  position: absolute;
  inset: 0;
  background:
    linear-gradient(135deg, rgba(13,18,64,0.85) 0%, rgba(12,62,107,0.6) 60%, rgba(0,0,0,0.45) 100%),
    url('https://images.unsplash.com/photo-1584622650111-993a426fbf0a?w=1600&q=80') center/cover no-repeat;
}

.hero-accent-line {
  position: absolute;
  left: 0; top: 0;
  width: 4px; height: 100%;
  background: linear-gradient(to bottom, transparent, var(--blue-light), transparent);
}

.hero-content {
  position: relative;
  z-index: 1;
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 48px;
  width: 100%;
}

.hero-service-label {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  background: rgba(12,62,107,0.3);
  border: 1px solid rgba(180,210,230,0.35);
  color: rgba(180,210,230,0.65);
  font-size: 12px;
  letter-spacing: 0.25em;
  padding: 6px 16px;
  border-radius: 2px;
  margin-bottom: 24px;
  font-family: 'Noto Sans JP', sans-serif;
}

.hero-title {
  color: var(--white);
  font-size: clamp(26px, 3.5vw, 44px);
  line-height: 1.4;
  margin-bottom: 16px;
  font-weight: bold;
}

.hero-title .accent { color: var(--blue-light); }

.hero-sub {
  color: rgba(255,255,255,0.8);
  font-size: 16px;
  line-height: 1.9;
  margin-bottom: 40px;
  max-width: 560px;
}

.hero-cta {
  display: flex;
  gap: 16px;
  flex-wrap: wrap;
}

/* ===== ボタン共通 ===== */
.btn-primary {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  background: var(--blue-light);
  color: var(--white);
  font-size: 15px;
  font-weight: bold;
  padding: 16px 36px;
  border-radius: 4px;
  letter-spacing: 0.08em;
  transition: all 0.25s;
  font-family: 'Noto Sans JP', sans-serif;
  box-shadow: 0 4px 20px rgba(75,163,212,0.4);
  cursor: pointer;
}

.btn-primary br {
  display: none;
}

.btn-primary:hover {
  background: #5AB4DF;
  transform: translateY(-2px);
  box-shadow: 0 8px 28px rgba(75,163,212,0.5);
}

.btn-ghost {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  background: transparent;
  color: var(--white);
  font-size: 15px;
  padding: 15px 36px;
  border-radius: 4px;
  border: 1px solid rgba(255,255,255,0.5);
  letter-spacing: 0.08em;
  transition: all 0.25s;
  font-family: 'Noto Sans JP', sans-serif;
  cursor: pointer;
}
.btn-ghost:hover { border-color: var(--blue-light); color: var(--blue-light); background: rgba(196,122,58,0.08); }

.btn-primary-dark {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  background: var(--blue);
  color: var(--white);
  font-size: 15px;
  font-weight: bold;
  padding: 16px 40px;
  border-radius: 4px;
  letter-spacing: 0.08em;
  transition: all 0.25s;
  font-family: 'Noto Sans JP', sans-serif;
  box-shadow: 0 4px 16px rgba(92,46,26,0.3);
  cursor: pointer;
}

.btn-primary-dark br {
  display: none;
}

.btn-primary-dark:hover { background: var(--blue-mid); transform: translateY(-2px); }

.btn-outline-blue {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  border: 1.5px solid var(--blue);
  color: var(--blue);
  font-size: 15px;
  padding: 15px 40px;
  border-radius: 4px;
  letter-spacing: 0.08em;
  transition: all 0.25s;
  font-family: 'Noto Sans JP', sans-serif;
  cursor: pointer;
}
.btn-outline-blue:hover { background: var(--blue); color: var(--white); }

/* ===== Summary ===== */
.summary {
  background: var(--navy-dark);
  border-bottom: 1px solid rgba(201,168,76,0.2);
  padding: 48px 24px;
  margin-left: calc(-50vw + 50%) !important;
  margin-right: calc(-50vw + 50%) !important;
  width: 100vw !important;
  max-width: 100vw !important;
}

.summary-inner {
  max-width: 1200px;
  margin: 0 auto;
}

.summary-label {
  text-align: center;
  color: var(--gold);
  font-size: 12px;
  letter-spacing: 0.3em;
  margin-bottom: 32px;
  font-family: 'Noto Sans JP', sans-serif;
}

.summary-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 1px;
  background: rgba(255,255,255,0.08);
  border: 1px solid rgba(255,255,255,0.08);
  border-radius: 8px;
  overflow: hidden;
}

.summary-item {
  background: rgba(13,18,64,0.6);
  padding: 28px 16px;
  text-align: center;
  transition: background 0.2s;
  cursor: pointer;
}

.summary-item br {
  display: none;
}

.summary-item:hover { background: rgba(12,62,107,0.5); }

.summary-icon {
  font-size: 28px;
  margin-bottom: 12px;
  display: block;
}

.summary-title {
  color: var(--white);
  font-size: 13px;
  line-height: 1.5;
  font-family: 'Noto Sans JP', sans-serif;
  transition: color 0.2s;
  display: inline-block;
  line-height: 1.5;
}

.summary-break {
  display: block;
}

.summary-item:hover .summary-title { color: var(--blue-light); }
.summary-grid > *:not(.summary-item) {
  display: none;
}

/* ===== 対応検針種別 ===== */
.meter-types {
  background: var(--gray-bg);
  border-top: 1px solid var(--gray-mid);
  border-bottom: 1px solid var(--gray-mid);
  padding: 56px 24px;
}

.meter-types-inner { max-width: 1200px; margin: 0 auto; }

.meter-types-label {
  text-align: center;
  color: var(--blue);
  font-size: 12px;
  letter-spacing: 0.25em;
  margin-bottom: 28px;
  font-family: 'Noto Sans JP', sans-serif;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 16px;
}

.meter-types-label::before,
.meter-types-label::after {
  content: '';
  display: block;
  width: 40px; height: 1px;
  background: var(--blue-light);
}

.meter-types-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 16px;
}

.meter-type-item {
  background: var(--white);
  border: 1px solid var(--gray-mid);
  border-top: 3px solid var(--blue-light);
  border-radius: 6px;
  padding: 20px 16px;
  text-align: center;
  transition: all 0.2s;
  box-shadow: 0 2px 8px rgba(0,0,0,0.05);
  writing-mode: horizontal-tb;
}

.meter-type-item:hover {
  border-top-color: var(--blue);
  box-shadow: 0 6px 20px rgba(12,62,107,0.12);
  transform: translateY(-3px);
}

.meter-type-icon { font-size: 32px; margin-bottom: 12px; display: block; }

.meter-type-title {
  color: var(--navy);
  font-size: 15px;
  font-weight: bold;
  margin-bottom: 6px;
  writing-mode: horizontal-tb;
  white-space: normal;
  text-orientation: mixed;
  overflow-wrap: break-word;
  line-height: 1.7;
}

.meter-type-sub {
  color: var(--text-sub);
  font-size: 12px;
  font-family: 'Noto Sans JP', sans-serif;
  writing-mode: horizontal-tb;
  white-space: normal;
  text-orientation: mixed;
  overflow-wrap: break-word;
  line-height: 1.8;
}

/* ===== Section Common ===== */
section { padding: 88px 24px; }
.section-inner { max-width: 1200px; margin: 0 auto; }
.section-header { text-align: center; margin-bottom: 64px; }

.section-eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  color: var(--blue-light);
  font-size: 12px;
  letter-spacing: 0.3em;
  margin-bottom: 16px;
  font-family: 'Noto Sans JP', sans-serif;
}

.section-eyebrow::before, .section-eyebrow::after {
  content: '';
  display: block;
  width: 24px; height: 1px;
  background: var(--blue-light);
}

.section-title { font-size: 32px; color: var(--navy); letter-spacing: 0.12em; margin-bottom: 12px; }
.section-title-ja { font-size: 15px; color: var(--text-sub); }

/* ===== Feature Sections ===== */
.feature { background: var(--white); }
.feature br { display: none; }
.feature.alt { background: var(--gray-bg); }

.feature-block {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 72px;
  align-items: center;
  max-width: 1100px;
  margin: 0 auto;
}

.feature-block.reverse { direction: rtl; }
.feature-block.reverse > * { direction: ltr; }

.feature-label {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  color: var(--blue);
  font-size: 12px;
  letter-spacing: 0.2em;
  margin-bottom: 16px;
  font-family: 'Noto Sans JP', sans-serif;
}

.feature-label::before {
  content: '';
  display: block;
  width: 32px; height: 3px;
  background: var(--blue-light);
  border-radius: 2px;
}

.feature-title {
  font-size: 26px;
  color: var(--navy);
  line-height: 1.5;
  margin-bottom: 20px;
  font-weight: bold;
  padding-left: 16px;
  border-left: 4px solid var(--blue-light);
}

.feature-text {
  font-size: 15px;
  color: var(--text-sub);
  line-height: 2;
  margin-bottom: 24px;
}

.feature-points {
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 10px;
}

.feature-points li {
  display: flex;
  align-items: flex-start;
  gap: 10px;
  font-size: 14px;
  color: var(--text);
  font-family: 'Noto Sans JP', sans-serif;
}

.feature-points li::before {
  content: '✓';
  color: var(--blue-light);
  font-weight: bold;
  flex-shrink: 0;
  margin-top: 2px;
}

.feature-visual {
  border-radius: 8px;
  overflow: hidden;
  box-shadow: 0 16px 56px rgba(0,0,0,0.35);
  display: flex;
}

.feature-visual-placeholder {
  width: 100%;
  height: 280px;
  background: linear-gradient(135deg, var(--gray-bg), var(--gray-mid));
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 12px;
  color: var(--text-sub);
  font-size: 13px;
  font-family: 'Noto Sans JP', sans-serif;
}

.feature-visual-placeholder .ph-icon { font-size: 36px; opacity: 0.4; }

/* ===== CTA Banner ===== */
.cta-banner {
  background: var(--blue-pale);
  border-top: 3px solid var(--blue-light);
  padding: 64px 24px;
  text-align: center;
}

.cta-banner h2 {
  color: var(--blue);
  font-size: 26px;
  margin-bottom: 12px;
  letter-spacing: 0.08em;
}

.cta-banner p {
  color: var(--text-sub);
  font-size: 15px;
  margin-bottom: 36px;
  font-family: 'Noto Sans JP', sans-serif;
}

.cta-buttons {
  display: flex;
  gap: 20px;
  justify-content: center;
  flex-wrap: wrap;
}

.btn-primary-dark {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  background: var(--blue);
  color: var(--white);
  font-size: 15px;
  font-weight: bold;
  padding: 16px 40px;
  border-radius: 4px;
  letter-spacing: 0.08em;
  transition: all 0.25s;
  font-family: 'Noto Sans JP', sans-serif;
  box-shadow: 0 4px 16px rgba(12,62,107,0.3);
}

.btn-primary-dark:hover { background: var(--blue-mid); transform: translateY(-2px); }

/* ===== Responsive (Mobile) ===== */
@media (max-width: 768px) {
  /* breadcrumb */
  .breadcrumb {
    margin-top: 0;
    background: var(--gray-bg);
    border-bottom: 1px solid var(--gray-mid);
  }

  /* Hero */
  .hero {
    height: auto;
    min-height: auto;
    padding: 96px 0 64px;
  }
  .hero-content { padding: 0 20px; }
  .hero-title   { font-size: 28px; }
  .hero-sub     { font-size: 14px; margin-bottom: 28px; }
  .hero-cta     { flex-direction: column; align-items: stretch; }

  /* ボタン: フル幅 */
  .btn-primary,
  .btn-ghost,
  .btn-primary-dark,
  .btn-outline-brown {
    width: 70%;
    margin: 0 auto;
    justify-content: center;
    padding: 11px 20px;
    font-size: 13px;
  }

  /* パンくず */
  .breadcrumb-inner {
    padding: 10px 16px;
    font-size: 12px;
    flex-wrap: wrap;
  }

  /* Summary: 5列→2列 */
  .summary {
    padding: 32px 16px;
  }

  .summary-grid {
    display: flex;
    flex-wrap: wrap;
    gap: 1px;
    background: none;
    border: none;
  }

  .summary-item {
    flex: 0 0 calc(50% - 0.5px);
    padding: 20px 12px;
    box-sizing: border-box;

    background: rgba(13, 18, 64, 0.6);
    border: 1px solid rgba(255, 255, 255, 0.08);
  }

  .summary-icon {
    font-size: 24px;
    margin-bottom: 8px;
  }

  .summary-title {
    font-size: 12px;
  }

  /* 最後の1件を中央表示 */
  .summary-item:last-child {
    margin: 0 auto;
  }

  /* Feature: 2列→1列 */
  .feature-block {
    grid-template-columns: 1fr;
    gap: 32px;
  }
  .feature-block.reverse { direction: ltr; }
  .feature-title { font-size: 22px; padding-left: 12px; }
  .feature-visual-placeholder { height: 220px; }

  /* 活用シーン */
  .meter-types-grid { grid-template-columns: 1fr; }

  /* セクション見出し */
  .section-header { margin-bottom: 40px; }
  .section-title  { font-size: 24px; }

  /* CTAバナー */
  .cta-banner       { padding: 48px 20px; }
  .cta-banner h2    { font-size: 22px; }
  .cta-buttons      { flex-direction: column; }
}