/* Existing energy and common styles remain unchanged. */
@import url("energy.css");

.battery-mv { height: auto; background: #232981; color: #fff; }
.battery-mv-inner { max-width: 1200px; margin: 0 auto; min-height: 330px; display: grid; grid-template-columns: 3fr 2fr; align-items: center; }
.battery-mv-copy { padding: 42px 45px; }
.battery-en { font-family: Roboto, sans-serif; letter-spacing: .06em; font-size: 18px; }
.battery-mv h1 { font-size: 36px; font-weight: 500; margin: 15px 0 26px; }
.battery-catch { font-size: 16px; line-height: 2; }
.battery-mv-image { width: 100%; height: 100%; object-fit: cover; }
.battery-page { color: #454649; }
.battery-section { padding: 90px 0; }
.battery-inner { width: 1000px; margin: 0 auto; }
.battery-tint { background: #f5f6f9; }
.battery-page .under-section-title { margin-bottom: 70px; line-height: 1.6; }
.battery-page p { font-size: 16px; line-height: 2; }
.battery-page strong { font-weight: 500; }
.battery-intro { display: grid; grid-template-columns: 1.1fr 1fr; gap: 45px; align-items: center; }
.battery-intro p + p { margin-top: 20px; }
.battery-intro img { display: block; width: 100%; }
.battery-page figcaption { font-size: 12px; line-height: 1.8; text-align: center; margin-top: 12px; color: #666; }
.battery-lead { max-width: 840px; margin: 0 auto 40px; }
.battery-diagram { max-width: 700px; margin: 0 auto; }
.battery-node { padding: 22px; text-align: center; background: #fff; border: 1px solid #d8dbea; }
.battery-node p { font-size: 22px; font-weight: 500; }
.battery-step { display: block; font: 13px Roboto, sans-serif; letter-spacing: .1em; color: #232981; margin-bottom: 10px; }
.battery-node-storage { border: 2px solid #232981; }
.battery-node-storage p { color: #232981; font-size: 26px; }
.battery-node small { display: block; font-size: 14px; line-height: 1.8; }
.battery-arrow { display: flex; flex-direction: column; align-items: center; gap: 4px; padding: 14px 0; color: #232981; font-size: 16px; line-height: 1.5; }
.battery-arrow strong { margin-left: 8px; }
.battery-arrow > span:last-child { font-size: 32px; line-height: 1; }
.battery-distribution { display: block; padding: 4px; font-size: 24px; color: #232981; }
.battery-columns { display: grid; grid-template-columns: repeat(3, 1fr); gap: 40px; }
.battery-business { border-top: 3px solid #232981; padding-top: 28px; }
.battery-business .battery-en { color: #232981; font-size: 18px; }
.battery-business h3 { font-size: 25px; font-weight: 500; margin: 8px 0 22px; }
.battery-history { display: grid; grid-template-columns: repeat(5, 1fr); gap: 28px; list-style: none; }
.battery-history li { position: relative; min-height: 132px; padding: 20px 6px; background: #fff; text-align: center; font-size: 16px; line-height: 1.8; display: flex; flex-direction: column; justify-content: center; }
.battery-history li span { display: block; font: 24px Roboto, sans-serif; color: #232981; margin-bottom: 15px; }
.battery-history li:not(:last-child)::after { content: "→"; position: absolute; right: -24px; top: 48%; color: #232981; }
.battery-history li:last-child { outline: 2px solid #232981; outline-offset: -2px; }
.battery-cta { text-align: center; }
.battery-button { width: 370px; max-width: 100%; font-size: 16px; }
.battery-button::before, .battery-button::after { right: 24px; }
.battery-back { text-align: center; margin-top: 35px; }
.battery-back a { border-bottom: 1px solid #232981; color: #232981; }
.battery-page a:focus-visible { outline: 3px solid #767bca; outline-offset: 5px; }

@media only screen and (max-width: 751px) {
  .battery-mv-inner { display: flex; flex-direction: column; min-height: 0; }
  .battery-mv-copy { padding: 34px 6%; width: 100%; box-sizing: border-box; }
  .battery-mv h1 { font-size: 28px; margin: 12px 0 20px; }
  .battery-mv .battery-en { font-size: 15px; }
  .battery-catch { font-size: 14px; }
  .battery-mv-image { height: 150px; }
  .battery-inner { width: 90%; }
  .battery-section { padding: 52px 0; }
  .battery-page p { font-size: 14px; line-height: 2; }
  .battery-intro, .battery-columns { grid-template-columns: 1fr; gap: 30px; }
  .battery-lead { margin-bottom: 28px; }
  .battery-node { padding: 18px 10px; }
  .battery-node p { font-size: 19px; }
  .battery-node small { font-size: 12px; }
  .battery-node-storage p { font-size: 22px; }
  .battery-arrow { font-size: 14px; }
  .battery-business { padding-top: 20px; }
  .battery-business h3 { font-size: 22px; margin-bottom: 12px; }
  .battery-history { grid-template-columns: 1fr; gap: 28px; }
  .battery-history li { min-height: 0; padding: 18px; }
  .battery-history li span { font-size: 20px; margin-bottom: 6px; }
  .battery-history li:not(:last-child)::after { content: "↓"; right: auto; left: 48%; top: auto; bottom: -28px; }
  .battery-button { width: 100%; font-size: 14px; }
}

/* Photo-rich revision: retain the site's typography, navy and common components. */
.battery-mv { position: relative; }
.battery-mv-inner { max-width: none; min-height: 380px; display: flex; position: relative; }
.battery-mv-image { position: absolute; inset: 0; width: 100%; height: 100%; object-position: center 58%; }
.battery-mv-copy { position: relative; z-index: 1; margin: 35px max(5%, calc((100% - 1000px) / 2)); padding: 30px 36px; background: rgba(255,255,255,.91); color: #232981; max-width: 620px; }
.battery-mv h1 { margin: 10px 0 18px; }
.battery-catch { color: #454649; }
.battery-section { padding: 60px 0; }
.battery-page .under-section-title { text-align: left; padding-left: 18px; border-left: 4px solid #232981; margin-bottom: 30px; font-size: 27px; }
.battery-page .under-section-title::before { display: none; }
.battery-intro { grid-template-columns: 1fr 1fr; gap: 36px; }
.battery-intro img { aspect-ratio: 4 / 3; object-fit: cover; }
.battery-business { border: 0; padding: 0; }
.battery-business-photo { width: 100%; aspect-ratio: 2 / 1; object-fit: cover; display: block; margin-bottom: 18px; }
.battery-business h3 { border-bottom: 2px solid #232981; padding-bottom: 10px; }
.battery-image-note { font-size: 12px !important; color: #666; margin-top: 20px; }
.battery-history { gap: 24px; }
.battery-history li { padding: 0 0 15px; justify-content: start; }
.battery-history img { display: block; width: 100%; height: 100px; object-fit: cover; margin-bottom: 12px; }
.battery-history li span { font-size: 16px; margin-bottom: 8px; }
.battery-land { background: linear-gradient(90deg,rgba(255,255,255,.96),rgba(255,255,255,.8)),url('../img/energy/battery/development-land.png') center 55% / cover; }
.battery-lead { max-width: none; }
.battery-diagram { display: grid; grid-template-columns: 1fr auto 1fr auto 1fr; max-width: none; align-items: center; gap: 12px; }
.battery-diagram figcaption { grid-column: 1 / -1; }
.battery-node { padding: 22px 12px; }
.battery-node p { font-size: 18px; }
.battery-arrow { font-size: 13px; text-align: center; max-width: 115px; }
.battery-arrow > span:last-child { font-size: 0; }
.battery-arrow > span:last-child::after { content: '→'; font-size: 28px; }
@media only screen and (max-width:751px) {
 .battery-mv-inner { min-height: 410px; justify-content: end; }
 .battery-mv-copy { margin: 170px 5% 24px; padding: 22px; width: 90%; }
 .battery-mv h1 { font-size: 26px; }
 .battery-mv-image { height: 100%; object-position: 60% center; }
 .battery-section { padding: 40px 0; }
 .battery-page .under-section-title { margin-bottom: 28px !important; padding-left: 12px; }
 .battery-intro { grid-template-columns: 1fr; }
 .battery-columns { gap: 35px; }
 .battery-history { grid-template-columns: 1fr; }
 .battery-history li { display: grid; grid-template-columns: 42% 1fr; align-items: center; padding: 0 12px 0 0; min-height: 100px; }
 .battery-history img { grid-row: 1 / 3; height: 120px; margin: 0 15px 0 0; }
 .battery-history li span { margin: 8px 0 0; }
 .battery-diagram { display: flex; flex-direction: column; gap: 0; }
 .battery-node { width: 100%; box-sizing: border-box; }
 .battery-arrow { max-width: none; }
 .battery-arrow > span:last-child::after { content: '↓'; }
}
@media only screen and (max-width:751px) {
 .battery-history li { display: block; padding: 0 0 18px; }
 .battery-history img { width: 100%; height: 160px; margin: 0 0 14px; }
 .battery-history li span { margin: 0 0 8px; }
}
