/* =========================================================
  Renewable Energy Section CSS（#renewable.plantSec）
  - brush/plant の見た目を踏襲
  - すべて #renewable にスコープして衝突回避
========================================================= */

#renewable.plantSec{
  --gap: 34px;
  --border: rgba(0,0,0,.08);
  padding: 90px 0 110px;
  background:#fff;
  color:#111;
}

/* ====== Head（黄ライン付き） ====== */
#renewable.plantSec .brush__head{
  max-width: 1180px;
  margin: 0 auto 100px;
  padding: 0 20px;
}
#renewable.plantSec .brush__headline{
  margin: 0;
  font-size: clamp(16px, 2.1vw, 24px);
  font-weight: 900;
  line-height: 1.5;
}
#renewable.plantSec .brush__headline span{
  display:block;
  margin-top: 16px;
  font-size: clamp(13px, 1.2vw, 16px);
  font-weight: 700;
  letter-spacing: .03em;
  color: rgba(0,0,0,.70);
}
#renewable.plantSec .brush__headline span::before{
  content:"";
  display:block;
  height:3px;
  width: 32%;
  background:#ffe600;
  margin-bottom: 14px;
}

#renewable.plantSec .brush__lead{
  margin: 18px 0 0;
  line-height: 1.95;
  color: rgba(0,0,0,.78);
  font-weight: 650;
}

/* Body */
#renewable.plantSec .brush__body{
  max-width: 1180px;
  margin: 0 auto;
  padding: 0 20px;
}

/* ====== Row ====== */
#renewable.plantSec .brushRow{
  display:flex;
  justify-content: space-between;
  align-items: center;
  gap: var(--gap);
  padding: 70px 0 30px;
  margin-top: 60px;
  border-top: 1px solid var(--border);
}
#renewable.plantSec .brushRow:first-of-type{
  border-top: 0;
  margin-top: 30px;
}

#renewable.plantSec .brushText{
  width: 47%;
  min-width: 0;
  padding: 10px 6px;
}
#renewable.plantSec .brushMedia{
  width: 47%;
  min-width: 0;
  padding: 10px 6px;

  display:flex;
  flex-direction: column;
  gap: 12px;

  position: sticky;
  top: 110px;
  align-self: flex-start;
}

/* SP */
@media (max-width: 1025px){
  #renewable.plantSec .brushRow{ flex-direction: column; gap: 22px; }
  #renewable.plantSec .brushText,
  #renewable.plantSec .brushMedia{ width: 100%; padding: 0; }
  #renewable.plantSec .brushMedia{ position: static; top:auto; }
}

/* ====== Title（黄ライン太め） ====== */
#renewable.plantSec .brushTitle{
  margin: 0 0 50px;
  font-size: clamp(18px, 2vw, 24px);
  font-weight: 900;
  line-height: 1.2;
}
#renewable.plantSec .brushTitle span{
  display:block;
  margin-top: 12px;
  font-size: 18px;
  letter-spacing: .12em;
  font-weight: 900;
  opacity: .9;
}
#renewable.plantSec .brushTitle span::before{
  content:"";
  display:block;
  width: 42%;
  height: 4px;
  background:#0064c2;
  margin-bottom: 14px;
}

#renewable.plantSec .brushDesc{
  margin: 0;
  line-height: 1.95;
  color: rgba(0,0,0,.78);
  font-weight: 650;
}

/* ====== Media frame ====== */
#renewable.plantSec .brushVideo{
  overflow:hidden;
  background:#f4f4f4;
  aspect-ratio: 16 / 16;
}
#renewable.plantSec .videoWrap{
  position: relative;
  width: 100%;
  height: 100%;
}
#renewable.plantSec .videoWrap img{
  position:absolute;
  inset:0;
  width:100%;
  height:100%;
  display:block;
  object-fit: cover;
}

/* util */
#renewable.plantSec .w60{ width: 60% !important; }
#renewable.plantSec .as1610{ aspect-ratio: 16 / 10 !important; }
#renewable.plantSec .as1616{ aspect-ratio: 16 / 16 !important; }
#renewable.plantSec .center{ align-items: center !important; }

/* ====== Thumbs（横スクロール + nav） ====== */
#renewable.plantSec .brushThumbs{
  position: relative;
  border-top: 1px solid rgba(0,0,0,.12);
  padding-top: 10px;
}
#renewable.plantSec .thumbs{
  list-style:none;
  display:flex;
  gap: 12px;
  margin: 0;
  padding: 0 34px;
  overflow-x: auto;
  scroll-snap-type: x mandatory;
  scroll-behavior: smooth;
  -webkit-overflow-scrolling: touch;
}
#renewable.plantSec .thumbs__item{
  flex: 0 0 240px;
  background:#f4f4f4;
  overflow:hidden;
  scroll-snap-align: start;
  border: 1px solid rgba(0,0,0,.10);
  cursor:pointer;
}
#renewable.plantSec .thumbs__item img{
  width:100%;
  height: 160px;
  object-fit: cover;
  display:block;
}

#renewable.plantSec .thumbsNav{
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  width: 30px;
  height: 30px;
  border-radius: 999px;
  border: 1px solid rgba(0,0,0,.18);
  background: rgba(255,255,255,.95);
  display: grid;
  place-items: center;
  cursor: pointer;
  z-index: 2;
}
#renewable.plantSec .thumbsNav--prev{ left: 6px; }
#renewable.plantSec .thumbsNav--next{ right: 6px; }

@media (max-width: 640px){
  #renewable.plantSec .thumbs__item{
    flex-basis: 72vw;
    max-width: 520px;
  }
}
