@charset "UTF-8";

/* =========================================================
   ENERGY PAGE
========================================================= */

.page-energy {
  overflow-x: hidden;
}

/* Lower-page box rule */
.energy-page .against-card { border-radius: 0; box-shadow: none; }

.energy-hero .page-hero__inner {
  max-width: 1320px;
}

.energy-hero h1 {
  margin-bottom: 12px;
}

.energy-hero__sub {
  margin: 0 0 26px;
  color: #fff;
  font-size: clamp(22px, 2vw, 32px);
  line-height: 1.5;
  font-weight: 700;
}

.energy-hero .lead {
  max-width: 920px;
  margin-top: 0 !important;
  font-size: 15px !important;
  line-height: 2;
  font-weight: 500 !important;
}

/* OVERVIEW */
.energy-overview {
  padding: clamp(58px, 5.5vw, 88px) 0 clamp(74px, 7vw, 112px);
  background: #fff;
}

.energy-label {
  margin: 0 0 34px;
  color: #12ad52;
  font: 800 12px/1 Arial, sans-serif;
  letter-spacing: .12em;
}

.energy-overview__text {
  max-width: 1050px;
  margin: 0;
  color: #242a26;
  font-size: 16px;
  line-height: 2.15;
  font-weight: 500;
}

@media (max-width: 991.98px) {
  .energy-hero .lead br {
    display: none !important;
  }

  .page-energy .energy-business .against-card {
    min-height: 0;
  }
}

@media (max-width: 767.98px) {
  .energy-hero__sub {
    margin-bottom: 20px;
    font-size: 21px;
  }

  .energy-hero .lead {
    font-size: 14px !important;
    line-height: 1.85;
  }

  .energy-overview {
    padding: 60px 0 72px;
  }

  .energy-label {
    margin-bottom: 24px;
  }

  .energy-overview__text {
    font-size: 15px;
    line-height: 1.95;
  }

  .page-energy .energy-business .against-card {
    padding: 30px 24px;
  }

  .page-energy .energy-business .icon-visual {
    width: min(82%, 210px);
    height: 165px;
  }

  .page-energy .content-section:last-of-type .visual-image {
    border-radius: 0 58px 0 0;
  }
}

/* Unified information-box treatment */
.page-energy .against-card { border-radius: 0 !important; box-shadow: none !important; }


/* =========================================================
   4 INITIATIVES
========================================================= */
.energy-initiatives {
  padding: clamp(92px, 8vw, 140px) 0 clamp(110px, 10vw, 170px);
  background: #fff;
}

.energy-initiative {
  display: grid;
  grid-template-columns: minmax(0, .96fr) minmax(0, 1.04fr);
  align-items: center;
  gap: clamp(50px, 6vw, 92px);
}

.energy-initiative + .energy-initiative {
  margin-top: clamp(96px, 9vw, 150px);
}

.energy-initiative__media {
  overflow: hidden;
}

.energy-initiative__media img {
  display: block;
  width: 100%;
  aspect-ratio: 1.52;
  object-fit: cover;
}

.energy-initiative__content {
  min-width: 0;
}

.energy-initiative__kicker {
  margin: 0 0 28px;
  color: #12ad52;
  font: 800 12px/1 Arial, sans-serif;
  letter-spacing: .1em;
}

.energy-initiative h2 {
  margin: 0 0 28px;
  color: #151915;
  font-size: clamp(28px, 2.3vw, 38px);
  line-height: 1.45;
  font-weight: 700;
}

.energy-initiative__lead {
  margin: 0 0 28px;
  color: #202620;
  font-size: clamp(17px, 1.25vw, 20px);
  line-height: 1.8;
  font-weight: 700;
}

.energy-initiative__text {
  margin: 0;
  color: #404a43;
  font-size: 14px;
  line-height: 2.05;
}

.energy-initiative--image-left .energy-initiative__content {
  padding-right: clamp(18px, 2vw, 34px);
}

.energy-initiative--image-right .energy-initiative__content {
  padding-left: clamp(18px, 2vw, 34px);
}

@media (max-width: 991.98px) {
  .energy-initiative {
    gap: 38px;
  }

  .energy-initiative + .energy-initiative {
    margin-top: 90px;
  }
}

@media (max-width: 767.98px) {
  .energy-initiatives {
    padding: 72px 0 96px;
  }

  .energy-initiative {
    grid-template-columns: 1fr;
    gap: 30px;
  }

  .energy-initiative + .energy-initiative {
    margin-top: 78px;
  }

  .energy-initiative--image-right .energy-initiative__media {
    order: 1;
  }

  .energy-initiative--image-right .energy-initiative__content {
    order: 2;
  }

  .energy-initiative--image-left .energy-initiative__content,
  .energy-initiative--image-right .energy-initiative__content {
    padding: 0;
  }

  .energy-initiative__kicker {
    margin-bottom: 18px;
  }

  .energy-initiative h2 {
    margin-bottom: 20px;
    font-size: 27px;
  }

  .energy-initiative__lead {
    margin-bottom: 20px;
    font-size: 16px;
  }

  .energy-initiative__text {
    font-size: 15px;
    line-height: 1.9;
  }
}

/* =========================================================
   LOWER-PAGE VISUAL REFINEMENT
========================================================= */
.energy-hero {
  isolation: isolate;
}

.energy-hero .page-kicker {
  display: inline-flex;
  align-items: center;
  gap: 14px;
}

.energy-hero .page-kicker::before {
  content: "";
  width: 42px;
  height: 2px;
  background: #7fe89f;
}

.energy-overview {
  position: relative;
  overflow: hidden;
  background: linear-gradient(135deg, #fff 35%, #f4faf6 100%);
}

.energy-overview::after {
  content: "VISION";
  position: absolute;
  right: -1vw;
  bottom: -32px;
  color: rgba(18, 173, 82, .045);
  font: italic 900 clamp(90px, 15vw, 240px)/1 Arial, sans-serif;
  letter-spacing: -.05em;
  pointer-events: none;
}

.energy-overview .page-wide {
  position: relative;
  z-index: 1;
  display: grid;
  grid-template-columns: minmax(150px, .28fr) minmax(0, 1fr);
  gap: clamp(36px, 6vw, 90px);
  align-items: start;
}

.energy-label {
  display: flex;
  align-items: center;
  gap: 16px;
  margin-top: 10px;
}

.energy-label::after {
  content: "";
  flex: 1;
  height: 1px;
  background: linear-gradient(90deg, #12ad52, transparent);
}

.energy-overview__text {
  max-width: 980px;
  padding-left: clamp(24px, 3vw, 46px);
  border-left: 4px solid #12ad52;
  font-size: clamp(16px, 1.18vw, 18px);
}

.energy-initiatives {
  position: relative;
  background:
    radial-gradient(circle at 8% 18%, rgba(195,214,0,.08), transparent 20%),
    radial-gradient(circle at 92% 72%, rgba(18,173,82,.07), transparent 22%),
    #fff;
}

.energy-initiative {
  position: relative;
  isolation: isolate;
  padding: clamp(42px, 5vw, 72px);
  border: 1px solid rgba(18, 173, 82, .13);
  border-radius: 86px 0;
  background: rgba(248, 252, 249, .92);
  box-shadow: 0 24px 70px rgba(20, 82, 47, .075);
  overflow: hidden;
}

.energy-initiative:nth-child(even) {
  border-radius: 0 86px;
  background: rgba(252, 253, 245, .94);
}

.energy-initiative::before {
  position: absolute;
  right: 18px;
  top: -34px;
  z-index: -1;
  color: rgba(18, 173, 82, .055);
  font: italic 900 clamp(120px, 15vw, 220px)/1 Arial, sans-serif;
  pointer-events: none;
}

.energy-initiative:nth-child(1)::before { content: "01"; }
.energy-initiative:nth-child(2)::before { content: "02"; right: auto; left: 18px; color: rgba(195, 214, 0, .075); }
.energy-initiative:nth-child(3)::before { content: "03"; }
.energy-initiative:nth-child(4)::before { content: "04"; right: auto; left: 18px; color: rgba(195, 214, 0, .075); }

.energy-initiative__media {
  position: relative;
  border-radius: 0 74px 0 0;
  box-shadow: 0 22px 48px rgba(15, 67, 38, .15);
}

.energy-initiative--image-right .energy-initiative__media {
  border-radius: 74px 0 0;
}

.energy-initiative__media::after {
  content: "";
  position: absolute;
  inset: 0;
  border: 1px solid rgba(255,255,255,.35);
  border-radius: inherit;
  box-shadow: inset 0 -70px 90px rgba(0, 50, 25, .08);
  pointer-events: none;
}

.energy-initiative__media img {
  transition: transform .65s ease;
}

.energy-initiative:hover .energy-initiative__media img {
  transform: scale(1.035);
}

.energy-initiative__kicker {
  display: inline-flex;
  align-items: center;
  gap: 14px;
  margin-bottom: 22px;
}

.energy-initiative__kicker::after {
  content: "";
  width: 54px;
  height: 1px;
  background: #12ad52;
}

.energy-initiative h2 {
  position: relative;
  padding-bottom: 20px;
  font-size: clamp(30px, 2.45vw, 42px);
  font-weight: 700;
}

.energy-initiative h2::after {
  content: "";
  position: absolute;
  left: 0;
  bottom: 0;
  width: 72px;
  height: 4px;
  border-radius: 999px;
  background: linear-gradient(90deg, #12ad52, #c3d600);
}

.energy-initiative__lead {
  color: #173d27;
}

@media (max-width: 991.98px) {
  .energy-overview .page-wide {
    grid-template-columns: 1fr;
    gap: 24px;
  }

  .energy-label {
    width: min(100%, 280px);
    margin: 0;
  }

  .energy-initiative {
    padding: 42px 34px;
    gap: 34px;
    border-radius: 64px 0;
  }

  .energy-initiative:nth-child(even) {
    border-radius: 0 64px;
  }
}

@media (max-width: 767.98px) {
  .energy-overview::after {
    bottom: 8px;
    font-size: 82px;
  }

  .energy-overview__text {
    padding-left: 20px;
    border-left-width: 3px;
  }

  .energy-initiative {
    padding: 24px 20px 34px;
    border-radius: 42px 0;
  }

  .energy-initiative:nth-child(even) {
    border-radius: 0 42px;
  }

  .energy-initiative__media,
  .energy-initiative--image-right .energy-initiative__media {
    border-radius: 0 38px 0 0;
  }

  .energy-initiative h2 {
    font-size: 28px;
  }
}

/* =========================================================
   FINAL FLOW: boxes are replaced by a continuous editorial layout
========================================================= */
.energy-overview { padding-bottom: clamp(58px, 5vw, 82px); }
.energy-initiatives { padding: 0 0 clamp(88px, 8vw, 130px); background: #fff; }
.energy-initiative {
  grid-template-columns: minmax(0, .94fr) minmax(0, 1.06fr);
  gap: clamp(44px, 5vw, 76px);
  padding: clamp(58px, 6vw, 88px) 0;
  border: 0;
  border-top: 1px solid #dce8df;
  border-radius: 0;
  background: transparent;
  box-shadow: none;
  overflow: visible;
}
.energy-initiative:nth-child(even) { border-radius: 0; background: transparent; }
.energy-initiative + .energy-initiative { margin-top: 0; }
.energy-initiative::before { top: 34px; right: 0; font-size: clamp(90px, 10vw, 150px); }
.energy-initiative:nth-child(2)::before,
.energy-initiative:nth-child(4)::before { left: 0; }
.energy-initiative__media,
.energy-initiative--image-right .energy-initiative__media {
  border-radius: 0 58px 0 0;
  box-shadow: none;
}
.energy-initiative--image-right .energy-initiative__media { border-radius: 58px 0 0; }
.energy-initiative__media img { aspect-ratio: 1.58; }
.energy-initiative__content { padding-inline: clamp(0px, 1.5vw, 24px) !important; }
.energy-initiative__kicker { margin-bottom: 17px; }
.energy-initiative h2 { margin-bottom: 22px; padding-bottom: 16px; font-size: clamp(29px, 2.2vw, 38px); }
.energy-initiative__lead { margin-bottom: 20px; font-size: clamp(16px, 1.1vw, 19px); }
.energy-initiative__text { max-width: 620px; }

@media (max-width: 991.98px) {
  .energy-initiative { gap: 34px; padding: 58px 0; border-radius: 0; }
  .energy-initiative:nth-child(even) { border-radius: 0; }
}

@media (max-width: 767.98px) {
  .energy-initiatives { padding-bottom: 72px; }
  .energy-initiative { grid-template-columns: 1fr; gap: 26px; padding: 52px 0; }
  .energy-initiative__media,
  .energy-initiative--image-right .energy-initiative__media { border-radius: 0 36px 0 0; }
  .energy-initiative h2 { font-size: 27px; }
}

/* =========================================================
   ENERGY / 背景ナンバー表示位置の最終調整
   写真の下に隠れないよう、各記事のテキスト側へ配置
========================================================= */
.energy-initiative {
  isolation: isolate;
}

.energy-initiative::before {
  z-index: 0;
  top: 24px;
  right: 0;
  left: auto;
  color: rgba(18, 173, 82, .075);
  font-size: clamp(92px, 10vw, 150px);
  line-height: 1;
}

/* h2.visually-hidden が先頭にあるため nth-child ではなく
   article の順番を基準に番号を振る */
.energy-initiative:nth-of-type(1)::before {
  content: "01";
  right: 0;
  left: auto;
}

.energy-initiative:nth-of-type(2)::before {
  content: "02";
  right: auto;
  left: 0;
  color: rgba(195, 214, 0, .09);
}

.energy-initiative:nth-of-type(3)::before {
  content: "03";
  right: 0;
  left: auto;
}

.energy-initiative:nth-of-type(4)::before {
  content: "04";
  right: auto;
  left: 0;
  color: rgba(195, 214, 0, .09);
}

/* 写真・本文は番号より上に置く */
.energy-initiative__media,
.energy-initiative__content {
  position: relative;
  z-index: 1;
}

@media (max-width: 767.98px) {
  .energy-initiative::before {
    top: 18px;
    font-size: 88px;
    opacity: .9;
  }

  .energy-initiative:nth-of-type(1)::before,
  .energy-initiative:nth-of-type(2)::before,
  .energy-initiative:nth-of-type(3)::before,
  .energy-initiative:nth-of-type(4)::before {
    right: 8px;
    left: auto;
  }
}
#solar-power,
#wind-power {
  scroll-margin-top: 120px;
}
