@import url("https://fonts.googleapis.com/css2?family=Inter:wght@100..900&family=Noto+Sans+JP:wght@100..900&display=swap");

.pc-only {
  display: block;
}
.sp-only {
  display: none;
}

.cts-block__static-text p span {
  font-size: 18px;
  font-weight: bold;
  color: #d31414;
}

body {
  font-family: "Inter", "Noto Sans JP", system-ui, -apple-system,
    BlinkMacSystemFont, "Segoe UI", "Hiragino Kaku Gothic ProN", "Hiragino Sans",
    "Yu Gothic", "Meiryo", sans-serif !important;
  color: #333;
}

/* #all_wrap{
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    gap: 48px;
} */

.container .bread_nav {
  display: none !important;
}

.tv2-sec2,
.tv2-sec3,
.tv2-sec3,
.tv2-sec4,
.tv2-sec5,
.tv2-sec6,
.tv2-sec7,
.tv2-sec8 {
  display: flex;
  flex-direction: column;
  gap: 32px;
}

section.tv2-sec1 {
  width: 100vw;
  height: 640px;
  background-image: url("https://www.eco-hatsu.com/battery/wp-content/uploads/2026/03/fv_top_bg.png");
  background-size: cover;
  background-position: center;
  display: flex;
  justify-content: center;
  align-items: center;
  padding: 24px;
}

.stripe-bg {
  background-color: #eedcb3;
  background-image: repeating-linear-gradient(
    -45deg,
    #eedcb3,
    #eedcb3 4px,
    #f8f4e6 0,
    #f8f4e6 8px
  );
}

.sec2_img_wrap {
  display: flex;
  flex-direction: row;
  width: 100%;
  gap: 12px;
  margin-bottom: 24px;
}

.sec2_img_wrap img {
  width: 48%;
}

.tv2-sec3 {
  background-color: #fafafa;
}

.tv2-sec1-cts {
  width: 100%;
  max-width: 1080px;
  display: flex;
  flex-direction: column;
  gap: 16px;
}

.tv2-sec1-cts .img_top_01 {
  width: 100%;
  max-width: 484px;
}

.tv2-sec1-cts .img_top_02 {
  width: 100%;
  max-width: 640px;
}

.tv2-sec1-cts .img_top_03 {
  width: 100%;
  max-width: 1090px;
}

.tv2-sec2 {
  width: 100vw;
  height: auto;
}

.tv2-sec2-cts {
  width: 100%;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 32px;
}

.tv2-sec2 h2,
.tv2-sec3 h2,
.tv2-sec4 h2,
.tv2-sec5 h2,
.tv2-sec6 h2,
.tv2-sec7 h2,
.tv2-sec8 h2 {
  text-align: center;
  width: 100vw;
  padding: 16px 24px;
  background-color: #058479;
  color: #fff;
  font-size: 40px;
  font-weight: bold;
  letter-spacing: 0.02em;
  line-height: 140%;
}

.cts-block {
  width: 100%;
  max-width: 880px;
  background-color: #f5fbee;
  border-radius: 12px;
  padding: 40px;
  margin: 0 auto;
  color: #333;
}

.cts-block__label {
  display: inline-block;
  background-color: #7fc928;
  color: #fff;
  font-weight: bold;
  font-size: 16px;
  padding: 8px 16px;
  border-radius: 6px;
  line-height: 1.2;
}

.cts-block__title {
  font-size: 32px;
  font-weight: bold;
  margin-bottom: 24px;
  color: #333;
  line-height: 1.4;
}

/* 常時表示されるテキストエリア */
.cts-block__static-text {
  font-size: 16px;
  line-height: 1.8;
  margin-bottom: 0; /* アコーディオンとの余白はアコーディオン側で制御 */
}

/* アコーディオン（開閉部分）のラッパー */
.cts-block__accordion-wrapper {
  display: grid;
  grid-template-rows: 0fr;
  opacity: 0;
  overflow: hidden;
  transition: grid-template-rows 0.3s ease-out, opacity 0.3s ease,
    margin-top 0.3s ease;
  margin-top: 0;
}

/* 開いた時の状態 */
.cts-block__accordion-wrapper.is-open {
  grid-template-rows: 1fr;
  opacity: 1;
  margin-top: 20px; /* 開いたときに上のテキストとの余白を追加 */
  margin-bottom: 30px; /* 開いたときにボタンとの余白を追加 */
}

/* アコーディオンの中身 */
.cts-block__hidden-content {
  overflow: hidden;
  min-height: 0;
  font-size: 16px;
  line-height: 1.8;
}

/* ボタンエリアの余白（閉じているとき用） */
.cts-block__btn-wrapper {
  margin-top: 30px;
}

/* ボタン本体 */
.cts-block__btn {
  display: flex;
  justify-content: center;
  align-items: center;
  width: 100%;
  background-color: #eef1e6;
  border: none;
  padding: 18px;
  border-radius: 8px;
  font-size: 16px;
  font-weight: bold;
  color: #333;
  cursor: pointer;
  transition: background-color 0.2s;
  outline: none;
}

.cts-block__btn:hover {
  background-color: #e0e4d8;
}

/* アイコン */
.cts-block__btn-icon {
  display: inline-block;
  width: 10px;
  height: 10px;
  border-right: 2px solid #333;
  border-bottom: 2px solid #333;
  transform: rotate(45deg);
  margin-left: 10px;
  margin-bottom: 3px;
  transition: transform 0.3s ease;
}

/* 開いた時のアイコン */
.cts-block__btn.is-open .cts-block__btn-icon {
  transform: rotate(-135deg);
  margin-bottom: -3px;
}

/* SP対応 */
@media screen and (max-width: 768px) {
  .pc-only {
    display: none;
  }
  .sp-only {
    display: block;
  }
  .cts-block {
    padding: 24px 20px;
  }
  .cts-block__label {
    font-size: 14px;
    padding: 6px 12px;
  }
  .cts-block__title {
    font-size: 22px;
    margin-bottom: 16px;
  }
  .cts-block__static-text,
  .cts-block__hidden-content {
    font-size: 15px;
  }
}

.tv2-sec3-cts {
  background-color: #fafafa;
  display: flex;
  flex-direction: column;
  gap: 32px;
  padding-bottom: 64px;
}

/* 全体のコンテナ設定 */
.sec3-cts-review-container {
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  gap: 32px;
  width: 100%;
  max-width: 880px;
  margin: 0 auto;
  font-family: "Helvetica Neue", Arial, "Hiragino Kaku Gothic ProN",
    "Hiragino Sans", Meiryo, sans-serif;
  color: #333;
  box-sizing: border-box;
}

/* 個別のレビューブロック */
.sec3-cts-review-item {
  display: flex;
  gap: 30px; /* 左側と右側の間隔 */
  align-items: flex-start;
  padding: 32px;
  border-radius: 8px;
  background-color: #fff;
}

/* 左カラム（アイコン画像・属性） */
.sec3-cts-review-left {
  display: flex;
  flex-direction: column;
  align-items: center;
  /* width: 140px;  */
  flex-shrink: 0; /* 縮小させない */
}

.sec3-cts-review-icon {
  width: 200px;
  /* height: 120px; */
  /* background-color: #eee; */
  /* border-radius: 50%; */
  /* overflow: hidden; */
  margin-bottom: 10px;
  /* border: 3px solid #f0f0f0;*/
}

.sec3-cts-review-icon img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.sec3-cts-user-attr {
  font-weight: bold;
  font-size: 16px;
  color: #444;
  text-align: center;
  letter-spacing: 0.05em;
}

/* 右カラム（バッジ・本文） */
.sec3-cts-review-right {
  flex-grow: 1;
  padding-top: 5px; /* アイコンとの高さ微調整 */
}

.sec3-cts-user-badge {
  display: inline-block;
  background-color: #7fc928; /* 画像に近い緑色 */
  color: #fff;
  font-weight: bold;
  font-size: 18px;
  padding: 8px 16px;
  border-radius: 6px;
  margin-bottom: 20px;
  position: relative;
}

/* 吹き出しのしっぽ */
.sec3-cts-user-badge::after {
  content: "";
  position: absolute;
  top: 100%;
  left: 20px;
  border: 8px solid transparent;
  border-top-color: #7fc928;
}

.sec3-cts-review-text {
  font-size: 18px;
  font-weight: bold;
  line-height: 1.8;
  margin: 0;
  text-align: justify; /* 両端揃え */
}

/* スマホ対応（600px以下で縦積みにする） */
@media (max-width: 600px) {
  .sec3-cts-review-item {
    flex-direction: column;
    align-items: center;
    gap: 15px;
    padding: 20px;
  }

  .sec3-cts-review-left {
    width: auto;
  }

  .sec3-cts-review-right {
    width: 100%;
  }

  .sec3-cts-review-icon {
    width: 100px;
    height: 100px;
  }
}

.tv2-sec4-cts,
.tv2-sec5-cts {
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  gap: 32px;
  padding-bottom: 64px;
}

.sec4_text,
.sec5_text {
  font-size: 24px;
  line-height: 1.75;
  letter-spacing: 0.02em;
  text-align: center;
  font-weight: bold;
}

.sec4_text span,
.sec5_text span {
  color: #ff0000;
}

.sec4_img_01 {
  width: 100%;
  max-width: 880px;
}

.sec5_img_01,
.sec5_img_02 {
  width: 100%;
  max-width: 880px;
}

.tv2-sec6-cts {
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  gap: 32px;
  padding-bottom: 64px;
}

.tv2-sec6-cts img {
  width: 100%;
  max-width: 640px;
}

.sec7_img_01,
.sec7_img_02 {
  width: 100%;
  max-width: 640px;
}

.tv2-sec7-cts {
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  gap: 32px;
  padding-bottom: 64px;
}

.sec5_text_sub {
  font-size: 14px;
  font-weight: bold;
  width: 100%;
  max-width: 640px;
}

.sec5_text_sub span {
  font-size: 14px;
  font-weight: bold;
  color: #979797;
  word-wrap: break-word;
}

.tv2-sec8-cts {
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
}

.top_faq_box {
  width: 100%;
  max-width: 640px;
}

@media screen and (max-width: 768px) {
  section.tv2-sec1 {
    background-position-x: 724px;
  }

  section.tv2-sec1 {
    height: 580px;
    padding: 12px;
  }

  .tv2-sec2 h2,
  .tv2-sec3 h2,
  .tv2-sec4 h2,
  .tv2-sec5 h2,
  .tv2-sec6 h2,
  .tv2-sec7 h2,
  .tv2-sec8 h2 {
    font-size: 24px;
  }

  .sec-cts {
    padding: 20px;
  }

  .sec4_text,
  .sec5_text {
    width: 100%;
    font-size: 18px;
    text-align: left;
  }
  .tv2-sec6-cts {
    gap: 16px;
  }
  .sec3-cts-review-icon {
    width: 100% !important;
    height: auto;
  }
  .sec3-cts-review-right {
    display: flex;
    flex-direction: column;
    text-align: center;
  }
  .sec3-cts-user-badge::after {
    left: 47%;
  }
  .sec4_text.center {
    text-align: center;
  }
  .tv2-sec2,
  .tv2-sec3,
  .tv2-sec3,
  .tv2-sec4,
  .tv2-sec5,
  .tv2-sec6,
  .tv2-sec7,
  .tv2-sec8 {
    gap: 0px;
  }

  .fixed_menu_sp {
    position: fixed;
    bottom: 0;
    left: 0;
    width: 100%;
    opacity: 0;
    transform: translateY(10px);
    pointer-events: none;
    transition: opacity 0.3s ease, transform 0.3s ease;
  }

  .fixed_menu_sp.is-visible {
    opacity: 1;
    transform: translateY(0);
    pointer-events: auto;
  }

  .sec2_img_wrap {
    display: flex;
    flex-direction: column;
    width: 100%;
  }

  .sec2_img_wrap img {
    width: 100%;
  }
}
