@charset "UTF-8";

.pcIn {
    display: block;
}
.spIn {
    display: none;
}

section p {
    font-size: 1.5em;
}

@media screen and (max-width: 767px) {
    .pcIn {
        display: none;
    }
    .spIn {
        display: block;
    }
}

/*--------------------------------------------------------
  グリッドメニュー
--------------------------------------------------------*/

.box-menu {
	display: grid;
    padding-top: 30px;
	gap: 20px;    /* 各ボックス間の余白 */
	width: 80%;
	margin: 0 auto; /* 中央揃え */
    text-align: center;
  }

  .box-menu a {
	display: flex;          /* 内部要素をフレックスボックス */
	justify-content: center; /* 水平方向 */
	align-items: center;     /* 垂直方向 */
	height: auto;
	padding: 15px;
	text-decoration: none;
	background-color: #fff; 
	color: #333;
  border: 3px solid #4682b4;
	border-radius: 10px;
	box-sizing: border-box;  /* paddingとborderをwidth/heightに含める */
	box-shadow: 0px 15px 30px -15px rgba(52, 76, 83, 0.4);
	transition: background-color 0.2s ease-in-out, box-shadow 0.1s ease-in-out; /* ホバー時の変化を0.3秒かけて滑らかに */
  }
  
  .box-menu a:hover {
	background-color: #4682b4;/* #d4eefb ホバー時の背景色 */
	box-shadow: none;
  }

  .box-menu p {
    font-size: 2em;
    font-weight: 700;
    color: #284a66;
}
.box-menu a:hover p {
  color: #fff;
}

  /* PC  */
  @media screen and (min-width: 768px) {
	.box-menu {
	  grid-template-columns: repeat(3, 1fr); /* 3列で表示 */
	  /* grid-template-columns: repeat(auto-fit, minmax(180px, 1fr)); /* 最小幅150pxで、可能な限り均等な列数 (3列または4列になるように調整) */
	}
  }

    /* スマホ */
    @media screen and (max-width: 767px) {
        .box-menu {
          grid-template-columns: repeat(2, 1fr); /* 2列で表示 */
        }

        .box-menu a {
            min-height: 70px;
            height: auto;
            padding: 5px 10px 10px;            
          }
        .box-menu p {
            font-size: 1.5em;
            line-height: 1.2;
        }
      }


/*-------------------------------------------
 　【項目】そもそも蓄電池とは？
---------------------------------------------*/

/* --- 基本スタイル --- */
.info-chikuden01 {
  border: none;
  padding: 20px;
  max-width: 70%;
  margin: 20px auto;
}

/*  タブレット・パソコン  */
@media (min-width: 768px) {
.chikuden01-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding-bottom: 15px;
}
.chikuden01-title { margin: 0; font-size: 1.5rem; max-width:50%; }
.chikuden01-title img { width: 100%; }
.icon-bar { width: 100%; align-items: center; }
.icon-bar .taiyo {
  display: block;
  box-sizing: border-box;
  background-color: #fffb00;
  padding: 5px 10px;
  border-radius: 20px;
  font-size: 2em;
  font-weight: 700;
  color: #50abd6;
  text-align: center;
 }
 .icon-bar .chikuden {
  display: block;
  box-sizing: border-box;
  background-color: #50abd6;
  padding: 5px 10px;
  border-radius: 20px;
  font-size: 2em;
  font-weight: 700;
  color: #fffb00;
  text-align: center;
 }
 .icon-bar02 {
  display: flex; /* ★超重要：中の要素を横並びにする */
  width: 100%;
  border-radius: 20px; /* 角丸は親要素に設定 */
  overflow: hidden;    /* 親からはみ出た部分を隠し、角丸を綺麗に保つ */
  margin: 2% 0;
 }
 .bar-item {
  flex: 1; /* ★利用可能なスペースを均等に分け合う（これで50%ずつになる）*/
  padding: 5px 10px;
  font-size: 2em;
  font-weight: 700;
  text-align: center; /* テキストを水平中央に配置 */
}
/* 左半分のスタイル */
.bar-item.left {
  background-color: #fffb00;
  color: #50abd6;
}
/* 右半分のスタイル */
.bar-item.right {
  background-color: #50abd6;
  color: #fffb00;
}

/*
 * --- 2行目：ボディ部分 ---
 */
.chikuden01-body {
  display: flex;         /* ★画像とテキストを横並びにするための土台 */
  align-items: flex-start; /* ★アイテムの上端を揃える指定 */
  gap: 20px;             /* ★画像とテキストの間の隙間 */
}

.chikuden01-image {
  max-width: 35%; /* 画像の幅（お好みで調整） */
  height: auto;
  display: block; /* 画像下の不要な余白を防ぐ */
  margin-right: 5%;
}

.chikuden01-text {
  flex: 1; /* 残りのスペースをすべてテキストエリアが使う */
}
.chikuden01-text p {
  margin: 0;
  line-height: 1.6;
}
}

/* --- スマホ用 --- */
@media (max-width: 767px) {

  .info-chikuden01 {
    max-width: 90%;
  }
  .chikuden01-header,
  .chikuden01-body {
    flex-direction: column; /* 縦配列 */
  }
  .icon-bar { width: 100%; text-align: center; }
  .icon-bar .taiyo { 
   display: block;
   box-sizing: border-box;
   background-color: #fffb00;
   padding: 5px 20px;
   border-radius: 20px;
   font-size: 1.5em;
   font-weight: 700;
   color: #50abd6;
   text-align: center;
   margin: 2% 0;
 }
 .icon-bar .chikuden { 
  display: block;
  box-sizing: border-box;
  background-color: #50abd6;
  padding: 5px 20px;
  border-radius: 20px;
  font-size: 1.5em;
  font-weight: 700;
  color: #fffb00;
  text-align: center;
  margin: 2% 0;
}
 .icon-bar02 {
  display: flex; /* ★超重要：中の要素を横並びにする */
  width: 100%;
  border-radius: 20px; /* 角丸は親要素に設定 */
  overflow: hidden;    /* 親からはみ出た部分を隠し、角丸を綺麗に保つ */
  margin: 2% 0;
 }
 .bar-item {
  flex: 1; /* ★利用可能なスペースを均等に分け合う（これで50%ずつになる）*/
  padding: 5px 10px;
  font-size: 1.5em;
  font-weight: 700;
  text-align: center; /* テキストを水平中央に配置 */
}
/* 左半分のスタイル */
.bar-item.left {
  background-color: #fffb00;
  color: #50abd6; /* テキスト色 */
}
/* 右半分のスタイル */
.bar-item.right {
  background-color: #50abd6;
  color: #fffb00; /* テキスト色（背景と反対の色にすると見やすいです） */
}
 .chikuden01-image {
  max-width: 70%; /* 画像の幅 */
  height: auto;
  display: block;
  margin-left: auto;
  margin-right: auto;
}
  .chikuden01-text p {
    margin-top: 2%;
    line-height: 1.4;
}
}


/*-------------------------------------------
 　*家庭用蓄電池の充電方法は？-表部分
   *nav01-表部分
---------------------------------------------*/


/*--- PC用のスタイル (画面幅768px以上) ---*/
@media (min-width: 768px) {

  .sub_heading {
    font-size: 1.5em;
    font-weight: 700;
  }

  /* ▼ PC用テーブルのスタイル ▼ */
  .comparison-table {
    width: 90%;
    margin: 2em auto;
    border-collapse: collapse;
    border: 1px solid #ccc;
    font-size: 1.5em;
    font-weight: 500;
    font-family: sans-serif;
  }
  .comparison-table th,
  .comparison-table td,
  .nav01-table th {
    border: 1px solid #ccc;
    padding: 15px;
    text-align: left;
    vertical-align: top;
  }
  .comparison-table thead th,
  .nav01-table thead th {
    background-color: #009cd0;
    color: white;
    text-align: center;
  }
  .comparison-table thead th:first-child,
  .nav01-table thead th:first-child {
    background-color: transparent;
  }
  .comparison-table tbody th,
  .nav01-table tbody th {
    background-color: #f2f2f2;
    font-weight: bold;
    text-align: center;
    vertical-align: middle;
    width: 15%;
  }
  .comparison-table td ul,
  .nav01-table td ul {
    margin: 0; padding: 0; list-style: none;
  }
  .comparison-table td li,
  .nav01-table td li {
    position: relative; padding-left: 1.4em;
  }
  .comparison-table td li + li,
  .nav01-table td li + li {
    margin-top: 0.8em;
  }
  .comparison-table td li::before,
  .nav01-table td li::before {
    content: '●'; position: absolute; left: 0;
  }
}


/*--- スマホ用のスタイル ---*/

.sub_heading {
  position: relative;
  padding-left: 1.4em;
  font-size: 2em;
  font-weight: 700;
}
.sub_heading::before {
  content: '■';
  position: absolute;
  left: 0;
}

.comparison-container {
  width: 90%;
  margin: 2em auto;
}
.comparison-column {
  border: 1px solid #ccc;
  margin-bottom: 20px;
}
.comparison-column:last-child {
  margin-bottom: 0;
}
.column-header {
  background-color: #009cd0;
  color: white;
  padding: 15px;
  margin: 0;
  font-size: 2em;
  font-weight: 500;
  text-align: center;
}
.content-row {
  display: flex;
  border-top: 1px solid #ccc;
}
.row-label {
  background-color: #f2f2f2;
  font-weight: bold;
  padding: 15px;
  text-align: center;
  font-size: 1.4em;
  flex-basis: 80px;
  flex-shrink: 0;
  display: flex;
  align-items: center;
  justify-content: center;
}
.row-text {
  font-size: 1.4em;
  padding: 15px;
  border-left: 1px solid #ccc;
  flex: 1;
}
.row-text ul {
  margin: 0; padding: 0; list-style: none;
}
.row-text li {
  position: relative; padding-left: 1.4em;
}
.row-text li + li {
  margin-top: 0.8em;
}
.row-text li::before {
  content: '●'; position: absolute; left: 0;
}


/*-------------------------------------------
  【項目】停電時に使用できる家電製品・時間の目安
---------------------------------------------*/
.breakdown {
  width: 90%;
  display: flex;
  flex-shrink: 0;
  align-items: center;
  justify-content: center;
  margin-left: auto;
  margin-right: auto;
}

.column2 {
  display: flex;
  justify-content: center;
  margin: 5% 0;
}
.column2 img {
  max-width: 150px;
}
.column2 p {
  font-size: 3em;
  font-weight: 700;
}

/* --- スマホ用 --- */
@media (max-width: 767px) {
  .breakdown {
    width: 100%;
    display: grid; /* CSS Gridレイアウトを適用 */
    grid-template-columns: repeat(2, 1fr); /* 2列で表示 */
    gap: 20px;
  }

  .column2 {
    display: block;
    margin: 5% 0;
    text-align: center;
  }
  .column2 img {
    max-height: 80px;
    width: auto;
    margin-left: auto;
    margin-right: auto;
    margin-top: 3%;
  }
  .column2 p {
    font-size: 2.5em;
    line-height: 1.3;
  }
}

/*--------------------------------------------------
  停電時に使用できる家電製品・時間の目安-表部分
----------------------------------------------------*/
.comparison-container2 {
  width: 70%;
  margin-left: auto;
  margin-right: auto;
}

.comparison-table2 {
  width: 100%;
  margin: 2em auto;
  border-collapse: collapse;
  border: 1px solid #ccc;
  font-size: 1.5em;
  font-weight: 700;
}
.comparison-table2 th,
.comparison-table2 td {
  border: 1px solid #ccc;
  padding: 15px;
  text-align: center;
  vertical-align: middle;
}
.comparison-table2 thead th {
  background-color: #009cd0;
  color: white;
  font-size: 1.6em;
  font-weight: 500;
  text-align: center;
}
.comparison-table2 td {
  font-size: 1.5em;
  font-weight: 500;
}
.comparison-table2 td:nth-child(2) {
  color: #dc143c;
  font-size: 1.7em;
  font-weight: 700;
}

.comparison-table2 tbody th {
  background-color: #f2f2f2;
  font-weight: bold;
  text-align: center;
  vertical-align: middle;
  width: 15%;
}

/* --- スマホ用 --- */
@media (max-width: 767px) {
  .comparison-container2 {
    width: 90%;
  }
  .comparison-table2 {
    width: 100%;
    font-size: 1.2em;
    line-height: 1.4;
  }
  .comparison-table2 td{
    font-size: 1.2em;
    font-weight: 500;
  }
  .comparison-table2 td:nth-child(2) {
    font-size: 1.5em;
    font-weight: 700;
  }
}

/*----------------------------------------
  nav01 表部分-2
------------------------------------------*/

/*--- PC用のスタイル (画面幅768px以上) ---*/
@media (min-width: 768px) {

  /* ▼ PC用テーブルのスタイル ▼ */
  .nav01-table {
    table-layout: fixed;
    width: 80%;
    margin: 2em auto;
    border-collapse: collapse;
    border: 1px solid #ccc;
    font-size: 1.5em;
    font-weight: 500;
  }
  
  /* <thead>内<th>、それぞれ幅指定 */
  .nav01-table thead th:nth-child(1) {
    width: 20%; /* 1番目の列（空白セル） */
  }
  .nav01-table thead th:nth-child(2) {
    width: 40%; /* 2番目の列 */
  }
  .nav01-table thead th:nth-child(3) {
    width: 40%; /* 3番目の列 */
    background-color: #f6ac19;
  }

  .nav01-table td {
    border: 1px solid #ccc;
    padding: 10px;
  }
  .nav01-table td img {
    width: 80%;
    height: auto;
    display: block;
    margin-left: auto;
    margin-right: auto;
  }
}

/*----------------------------------------
  チャート 表部分
------------------------------------------*/

.feature-list {
  font-family: sans-serif;
  list-style: none; /* リストの黒点を消す */
  padding: 0;
  margin: 2em auto;
  max-width: 900px; /* 全体の最大幅 */
  width: 90%;
}

.feature-item {
  margin-bottom: 15px; /* 各項目の下の余白 */
  border: 1px solid #ddd;
  border-radius: 8px; /* 角を丸くする */
  overflow: hidden; /* 角丸を綺麗に保つ */
}
.feature-item:last-child {
  margin-bottom: 0;
}


/* --- スマホ用 (デフォ) --- */

/* 左側のラベル部分 */
.feature-label {
  color: white;
  padding: 20px;
  text-align: center;
  font-weight: bold;
  font-size: 2em;
  font-weight: 700;
  line-height: 1.5;
}

/* 右側の説明部分 */
.feature-description {
  padding: 10px;
}

.feature-description h3 {
  margin-top: 0;
  font-size: 1.5em;
  line-height: 1.6;
  font-weight: 500;
}

.feature-description p {
  margin-bottom: 0;
  font-size: 1.2em;
  line-height: 1.6;
}

/* --- 各項目の色設定 --- */
.item-blue .feature-label {
  background-color: #009cd0; /* 青 */
}
.item-orange .feature-label {
  background-color: #f39800; /* オレンジ */
}
.item-green .feature-label {
  background-color: #009944; /* 緑 */
}


/* PC用のスタイル (画面幅768px以上) */
@media (min-width: 768px) {
  /* 各項目をFlexboxで横並びに */
  .feature-item {
    display: flex;
    align-items: stretch; /* 項目の高さを揃える */
  }

  /* 左側のラベルの幅と、中のテキストの上下中央揃え */
  .feature-label {
    flex-basis: 220px; /* ラベルの幅を固定 */
    flex-shrink: 0; /* 幅が縮まないように */
    display: flex;
    align-items: center; /* テキストを上下中央に */
    justify-content: center; /* テキストを左右中央に */
  }

  /* 右側の説明部分 */
  .feature-description {
    flex: 1; /* 残りの幅をすべて使う */
    border-left: 1px solid #ddd;
  }
  .feature-description h3 {
    font-size: 1.8em;
    line-height: 1.6;
    font-weight: 700;
  }
  .feature-description p {
    font-size: 1.5em;
    line-height: 1.6;
  }
}



/*----------------------------------------
  流れ
------------------------------------------*/

.step-list {
  list-style: none; /* デフォルトの数字を消す */
  padding: 0;
  margin: 2em auto;
  max-width: 900px;
  width: 90%;
}

/* --- 各ステップのスタイル --- */
.step-item {
  display: flex; /* アイコンとコンテンツを横並びに */
  align-items: center; /* 上下中央揃え */
  padding: 30px 0;
  border-bottom: 1px solid #e0e0e0;
}
.step-item:last-child {
  border-bottom: none;
}

/* アイコン部分 */
.step-icon {
  flex-shrink: 0; /* アイコンが縮まないように */
  width: 80px;
  margin-right: 30px;
}
.step-icon img {
  width: 100%;
  height: auto;
  display: block;
}

/* テキストコンテンツ部分 */
.step-content {
  flex: 1; /* 残りの幅をすべて使う */
}

.step-title {
  margin: 0 0 10px 0;
  font-size: 1.8em;
  color: #009cd0; /* タイトルの色 */
  font-weight: bold;
}

.step-number {
  margin-right: 0.5em;
}

.step-description {
  margin: 0;
  font-size: 1.5em;
  line-height: 1.7;
  color: #000;
}


/*  スマホ用  */
@media (max-width: 767px) {
  .step-item {
    padding: 20px 0;
  }
  
  /* アイコンとフォントを少し小さくしてスペースを確保 */
  .step-icon {
    width: 50px;
    margin-right: 15px;
  }

  .step-title {
    font-size: 1.8em;
  }

  .step-description {
    font-size: 1.5em;
    line-height: 1.4;
  }
}


/*----------------------------------------
  FAQ
------------------------------------------*/

.faq-list {
  max-width: 900px;
  width: 90%;
  margin: 2em auto;
  font-size: 1.2em;
  border-top: 1px solid #e0e0e0;
}

.faq-item {
  border-bottom: 1px solid #e0e0e0;
  padding: 15px 0;
}

.faq-question {
  display: block; /* デフォルトの▶マーカー削除 */
  position: relative;
  padding: 10px 40px 10px 60px; /* アイコンや矢印用のスペース */
  font-size: 1.5em;
  font-weight: 700;
  cursor: pointer; /* クリック */
}
/* summary::-webkit-details-marker { display: none; } /* Safari用のマーカー消去 */

/* 「Q」アイコン */
.faq-question::before {
  content: 'Ｑ';
  position: absolute;
  left: 10px;
  top: 50%;
  transform: translateY(-50%);
  width: 35px;
  height: 35px;
  line-height: 35px;
  text-align: center;
  background-color: #009cd0;
  color: white;
  border-radius: 5px;
}

/* 右端の「v」矢印アイコン */
.faq-question::after {
  content: '∨';
  position: absolute;
  right: 15px;
  top: 50%;
  transform: translateY(-50%);
  font-size: 1.2em;
  color: #777;
  transition: transform 0.2s ease-out; /* アニメーション */
}


/* --- 回答部分 --- */
.faq-answer {
  position: relative;
  padding: 20px 20px 10px 60px;
  line-height: 1.7;
  color: #000;
}
.faq-answer p {
  margin: 0 0 1em 0;
}
.faq-answer p:last-child {
  margin-bottom: 0;
}

/* 「A」アイコン */
.faq-answer::before {
  content: 'Ａ';
  position: absolute;
  left: 10px;
  top: 20px;
  width: 35px;
  height: 35px;
  line-height: 35px;
  text-align: center;
  background-color: #f39800;
  color: white;
  border-radius: 5px;
  font-weight: bold;
}

/* アイテムが開いた時 */
.faq-item[open] > .faq-question {
  color: #009cd0;
}
/* 矢印を180度回転 */
.faq-item[open] > .faq-question::after {
  transform: translateY(-50%) rotate(180deg);
}

/*  スマホ用  */
@media (max-width: 767px) {
  .faq-question {
    font-size: 1.4em;
    line-height: 1.4;
  }
  .faq-answer {
    font-size: 1em;
    line-height: 1.2;
  }
}

/*-----------------------------------------
 蓄電池×東邦ガスの強み
-------------------------------------------*/
.strengths-section {
  background-color: #E8F6FB; /* 薄い青色の背景 */
}

/* --- リストの基本スタイル --- */
.strengths-list {
  list-style: none;
  margin: 0;
  padding: 0;
  margin-left: auto;
  margin-right: auto;
  width: 85%;
}
.strengths-list a {
  color: #4682b4;
  font-weight: 700;
}
.strengths-list img {
  margin: 5% auto;
}

.strength-item {
  display: flex; /* 数字とコンテンツを横並びに */
  align-items: flex-start; /* 上揃え */
  gap: 30px;
  margin-bottom: 40px; /* 各項目の下の余白 */
  padding: 30px;
  border-radius: 15px;
  background-color: #fff;
}
.strength-item:last-child {
  margin-bottom: 50px!important;
}

/* 数字部分のスタイル */
.strength-number {
  font-size: 5rem;
  font-weight: 700;
  color: #009cd0;
  line-height: 1;
  flex-shrink: 0; /* 数字が縮まないように */
  text-align: center;
}

/* テキストコンテンツ部分 */
.strength-content {
  flex: 1; /* 残りのスペースをすべて使う */
}

.strength-title {
  font-size: 3em;
  font-weight: bold;
  margin: 0 0 15px 0;
}

.strength-title .marker {
  display: inline; /* マーカーの幅をテキストの長さに合わせる */
  /* --- マーカー部分のスタイル --- */
  background-image: linear-gradient(to top, #ffd700 30%, transparent 30%);
  background-size: 100% 100%;
  background-repeat: no-repeat;
}

.strength-description {
  font-size: 1.5em;
  line-height: 1.8;
  margin: 0;
}
@media (min-width: 768px) {
.strength-description a:has(img) {
  display: block;
  text-align: center;
  width: 60%;
  margin: 0 auto;
}
}


/* スマホ用 */
@media (max-width: 767px) {
  /* セクション全体の余白を調整 */
  .strengths-section {
    padding: 20px 15px;
  }

  .strengths-list {
    width: 100%;
  }
  .strengths-list p {
    width: 100%;
  }
  
  .strength-item {
    display: grid;
    grid-template-columns: 20% 80% ; /* auto 1fr */
    gap: 0px; /* 列間の隙間のみ指定 */
    margin-bottom: 30px;
    padding-bottom: 20px;
    padding: 15px;
    border-bottom: 1px solid #e0e0e0;
    align-self: center!important; /* タイトルを数字の上下中央に配置 */
  }
  .strength-item:last-child{
    border-bottom: none;
    margin-bottom: 0;
  }

  /* .strength-content の「箱」を無くして、中の要素をGridの直下に配置 */
  .strength-content {
    display: contents;
  }

  .strength-number {
    grid-row: 1;
    grid-column: 1;
    font-size: 3em;
    color: #009cd0;
  }

  .strength-title {
    grid-row: 1;
    grid-column: 2;
    font-size: 2em;
    line-height: 1.2;
  }

  .strength-description {
    grid-row: 2;
    grid-column: 1 / -1;
    font-size: 1.3em;
    line-height: 1.7;
  }
}