@import url(common.css);

#content .first_block {
  background-image: url(../parts/antena/33274352_l.jpg);
}

.h2_block {
  padding: 5em 0 4em;
}

/* //////////////////////////////////////////

アンテナトラブル料金表
（.item-section）

////////////////////////////////////////// */
.antena_price_list {
  display: grid;
  grid-template-columns: 1fr;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 16px;
}
.antena_price_list .card {
  background-color: #fff;
  border: 1px solid var(--border_gray);
  box-shadow: var(--shadow);
  border-radius: var(--radius);
  padding: 1em 1em 1.5em;
}
/* 項目 */
.antena_price_list .card .bold {
  font-weight: bold;
  font-size: clamp(18px, 1.8vw, 20px);
  padding-bottom: 1em;
}
/* 簡単な説明 */
.antena_price_list .card p:nth-of-type(2) {
  font-size: clamp(15px, 1.8vw, 17px);
  color: var(--aside_gray);
}
.antena_price_list .price_block .large {
  font-size: clamp(28px, 1.8vw, 30px);
  padding-right: 0.2em;
  font-weight: bold;
}
.antena_price_list .price_block p {
  text-align: right;
}
.price-display {
  display: flex;
  flex-direction: column; /* ← 横並びではなく縦に */
  align-items: flex-end; /* 右寄せ */
  line-height: 0.6;
}

/* //////////////////////////////////////////

セルフチェック
（.self_check）

////////////////////////////////////////// */
.self_check {
  margin-top: 4em;
}
.self_check_accordion {
  margin-bottom: 7px;
  border-radius: 5px;
}

.self_check_accordion summary {
  display: flex;
  justify-content: space-between;
  align-items: center;
  position: relative;
  background-color: #cfe5d1;
  padding: 1em 2em;
  color: #333333;
  font-weight: 600;
  cursor: pointer;
  font-size: clamp(17px, 1.8vw, 19px);
  line-height: 1.3;
}

.self_check_accordion summary::-webkit-details-marker {
  display: none;
}

.self_check_accordion summary::after {
  transform: translateY(-25%) rotate(45deg);
  width: 7px;
  height: 7px;
  margin-left: 10px;
  border-bottom: 3px solid #c2c2c2;
  border-right: 3px solid #c2c2c2;
  content: "";
  transition: transform 0.3s;
}

.self_check_accordion[open] summary::after {
  transform: rotate(225deg);
}

.self_check_accordion p {
  transform: translateY(-10px);
  opacity: 0;
  margin: 0;
  padding: 0.3em 2em 1.5em;
  color: #333333;
  transition: transform 0.5s, opacity 0.5s;
}

.self_check_accordion[open] p {
  transform: none;
  opacity: 1;
}
.self_check {
  padding: 0.5em 1em 3em;
}
.self_check p {
  font-size: clamp(16px, 1.8vw, 18px);
}

/* アコーディオンの中身*/
.aco_block {
  width: calc(100% - 60px);
  margin: 0 auto;
  padding: 1em 0;
  box-sizing: border-box;
}
.aco_item {
  padding: 1em 0 2em;
}
.aco_item p:nth-of-type(1) {
  font-weight: bold;
}
.aco_item dd span {
  font-size: 14px;
  color: var(--aside_gray);
}
.aco_item dt {
  font-weight: bold;
  padding: 0 0 0.5em 0;
}
.aco_item_bottom {
  padding: 2em 0 0;
}
.booster_sample {
  display: grid;
  grid-template-columns: 1fr;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 16px;
  margin: 2em auto;
}
.booster_sample img {
  display: block;
  width: min(100%, 150px);
  height: auto;
}
.booster_sample3 {
  display: grid;
  grid-template-columns: 1fr;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 16px;
  margin: 2em auto;
}
.booster_sample3 img {
  display: block;
  width: min(100%, 250px);
  height: auto;
}

/* //////////////////////////////////////////

エラーコード
（.error_section）

////////////////////////////////////////// */

.error_section {
  padding: 3em 0;
}
.error_code {
  width: calc(100% - 40px);
  max-width: 820px;
  margin: 0 auto;
  box-sizing: border-box;
}
.error_code table th,
.error_code table td {
  border: 1px solid var(--border_gray);
  padding: 0.8em;
  vertical-align: middle;
  line-height: 1.6;
  font-size: 15px;
}
.error_code table td span {
  color: #f03030;
}

.error_code table th,
.error_code table tr td:nth-of-type(1) {
  text-align: center;
  vertical-align: middle;
}

/* //////////////////////////////////////////

各種アンテナ工事に対応
（.ok_section）

////////////////////////////////////////// */
.ok_section {
  padding: 10em 0 6em;
}
.ok_section h2 {
  text-align: center;
}
.ok_block {
  display: grid;
  grid-template-columns: 1fr;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 16px;
  margin: 3em auto 0;
}
.ok_item {
  border: 1px solid var(--border_gray);
  border-radius: var(--radius);
  padding: 1em;
}
.ok_item p {
  font-weight: bold;
  text-align: center;
}
.ok_item img {
  display: block;
  width: min(100%, 250px);
  height: auto;
  margin: 1em auto 0;
}
/* ok_bottom */
.ok_bottom {
  padding: 1em 0;
}
.ok_bottom p {
  text-align: center;
}
.ok_bottom ul {
  padding-bottom: 4em;
}
.ok_bottom li {
  font-size: clamp(13px, 1.8vw, 14px);
  color: var(--aside_gray);
  text-indent: -1em;
  padding-left: 1em;
}
.ok_item a {
  width: calc(100% - 40px);
  max-width: 250px;
  margin: 0 auto;
  box-sizing: border-box;
  display: block;
  background-color: #e3f1d5;
  border-radius: 50px;
  color: #81995b;
  padding: 0.5em 1em;
  margin: 1.5em auto 1em;
  text-align: center;
}

@media only screen and (max-width: 768x) {
  .ok_bottom p {
    text-align: left;
  }
}

.sample_img {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 0.5em;
}
.sample_img img {
  display: block;
  width: min(100%, 150px);
  height: auto;
}
.triangle_right_mini {
  width: 0;
  height: 0;
  border-style: solid;
  border-top: 30px solid transparent;
  border-bottom: 30px solid transparent;
  border-left: 30px solid #ff812f;
  border-right: 0;
}
.ok_item .price_block {
  padding-top: 1em;
}
.ok_item .price_block .large {
  font-size: clamp(27px, 1.8vw, 30px);
}
@media (max-width: 768px) {
  .sample_img {
    display: block;
  }
  .sample_img img:nth-of-type(1),
  .triangle_right_mini {
    display: none;
  }
}

/* //////////////////////////////////////////

よくある質問

////////////////////////////////////////// */
.faq_item ul {
  padding: 1em 0;
}
.faq_sample {
  display: grid;
  grid-template-columns: 1fr;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 16px;
}
.faq_sample figure {
  padding: 1.5em 0 0;
}

.faq_sample figcaption {
  padding-top: 1em;
}
