/* Copied unchanged from /ivr/css/background.css: about icons, readmore, price tables. */
#about .reason {
  display: flex;
  gap: 20px;
  justify-content: space-between;
  padding-bottom: 20px;
}

/* PC時の設定 */
#about .reason li {
  width: 23%; /* 4つ均等に配置 */
  text-align: center;
  display: flex;
  flex-direction: column;
  align-items: center;
}

#about .reason li img {
  width: 100%;
  height: auto;
  max-width: 215px; /* 画像サイズを統一 */
}

/* スマホ用のレスポンシブ設定 */
@media (max-width: 768px) {
  #about .reason {
    flex-direction: column; /* 縦並びに変更 */
    align-items: center; /* 中央揃え */
  }

  #about .reason li {
    width: 100%; /* 幅いっぱい */
    max-width: 300px; /* 最大幅を設定（適宜調整） */
    margin-bottom: 20px; /* 下に余白を追加 */
  }
}


.readmore {
  position: relative;
}

.readmore input {
  display: none; /* チェックボックスを非表示 */
}

.readmore-content {
  position: relative;
}

.readmore-content .readmore-hidden {
  display: none; /* 初期状態で非表示 */
}

/* チェックが入ったら続きを表示 */
.readmore input:checked + .readmore-content .readmore-hidden {
  display: inline;
}

/* 「続きを読む」ボタンのスタイル */
.readmore-label {
  display: block;
  text-align: center;
  background-color: #ffffff; /* 背景色を白に変更 */
  color: #000; /* 黒文字 */
  padding: 10px 20px;
  border-radius: 10px; /* 角丸 */
  border: 1px solid #000; /* 黒の枠線を追加 */
  cursor: pointer;
  width: fit-content;
  margin: 10px auto; /* 中央配置 */
  font-size: 14px;
}

/* ホバー時のスタイル */
.readmore-label:hover {
  background-color: #bdbdbd; /* すこし濃いグレー */
}

/* 「続きを読む」→「閉じる」の切り替え */
.readmore input:checked + .readmore-content + .readmore-label::after {
  content: " 閉じる";
}
.readmore input:not(:checked) + .readmore-content + .readmore-label::after {
  content: " 続きを読む";
}


.price-heading {
  font-size: 1.6rem;
  font-weight: bold;
  margin-top: 20px;
  border-left: 5px solid #2bf9b5;
  padding-left: 10px;
}
.price-table {
  width: 100%;
  border-collapse: collapse;
  margin-top: 10px;
  background: #fff;
  border: 1px solid #d5d5d5;
}
.price-table th,
.price-table td {
  padding: 12px;
  border: 1px solid #d5d5d5;
  text-align: left;
}
.price-table th {
  background-color: #f3f3f3;
  font-weight: bold;
  width: 30%;
}
.small-text {
  font-size: 1.5rem;
  color: #000000;
  display: block;
  margin-top: 5px;
}


/* Option plan block copied from /ivr/css/background.css. */
.option-set {
  margin-top: 20px;
}
.option-set-content {
  display: flex;
  align-items: center;
  gap: 20px;
  flex-direction: row;
}
.option-set-image {
  width: 50%;
  height: auto;
  max-width: 400px;
}
.option-set-text {
  flex-grow: 1;
  text-align: left;
}
.option-title {
  font-size: 2rem;
  font-weight: bold;
  margin-bottom: 10px;
}
.price-bold {
  font-size: 2.5rem;
  font-weight: bold;
}
@media screen and (max-width: 768px) {
  .option-set-content {
    flex-direction: column;
    text-align: left;
  }
  .option-set-image {
    width: 100%;
    max-width: 300px;
    margin: 0 auto;
  }
}

