@import url(common.css);

#content .first_block {
  background-image: url(../parts/air-conditioner/air_top.jpg);
  background-position: center;
}
/* ＊＊＊＊＊＊＊＊＊＊＊＊＊＊＊＊＊＊

iOS風
タブ

＊＊＊＊＊＊＊＊＊＊＊＊＊＊＊＊＊＊*/
.slide-indicator {
  width: calc(33% - 4px);
  height: calc(100% - 12px);
}

/* ＊＊＊＊＊＊＊＊＊＊＊＊＊＊＊＊＊＊

チェックの見た目変化
共通

＊＊＊＊＊＊＊＊＊＊＊＊＊＊＊＊＊＊ */
.price-select {
  position: relative;
  cursor: pointer;
}
.price-select.selected {
  border-color: #009966;
  box-shadow: 0 0 0 1px rgba(0, 153, 102, 0.2);
  background: #f3fbf8;
}
.price-select::before {
  content: "";
  position: absolute;
  right: 0.9rem;
  top: 0.9rem;
  width: 16px;
  height: 16px;
  border: 2px solid #c8d8d0;
  background: #fff;
  box-sizing: border-box;
}

.price-select.selected::before {
  content: "✓";
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 0.85rem;
  font-weight: 700;
  color: #fff;
  background: #00a26a;
  border-color: #00a26a;
}
/* エアコン製品側は✓の位置変更 */
.check_top_left .price-select::before {
  left: 0.9rem;
  top: 0.7rem;
}

/* ＊＊＊＊＊＊＊＊＊＊＊＊＊＊＊＊＊＊

ツール説明section

＊＊＊＊＊＊＊＊＊＊＊＊＊＊＊＊＊＊ */
.tool_explanation img {
  display: block;
  width: clamp(80px, 35.6vw, 100px);
  height: auto;
  margin: auto;
}
/* ＊＊＊＊＊＊＊＊＊＊＊＊＊＊＊＊＊＊

シリーズ別詳細説明セクション

＊＊＊＊＊＊＊＊＊＊＊＊＊＊＊＊＊＊ */
.select_series_section {
  padding: 4em 0;
}
.series_top {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 1em;
  padding: 1em 0;
}
.select_series_section .series_top .product_img {
  flex: 1.5;
  background-color: #b9e2ff;
  display: flex;
  align-items: center;
  padding: 3em 0;
}
.select_series_section .series_top .product_img img {
  display: block;
  width: clamp(200px, 35.6vw, 365px);
  height: auto;
  margin: auto;
}
.series_lead_block {
  flex: 2;
  display: flex;
  flex-direction: column;
  gap: 1em;
}
/*
 機能ブロック
------------------------ */
.function_block {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: left;
  gap: 2em;
}
.function_block dl {
  background-color: #0074c8;
  color: #fff;
  padding: 0.5em;
}
.function_block dl dd {
  text-align: center;
}

.size_block p {
  font-size: clamp(14px, 3.52vw, 16px);
}
.size_wapper {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: left;
  gap: 0.5em;
}
.series_top .size {
  background-color: #777;
  color: #fff;
  padding: 0.5em;
}
.series_top .gray_out {
  background-color: #dbdbdb;
  color: #b3b3b3;
}
/*------------------------
選択したチェック
------------------------ */
.ac-main-select::before {
  content: "";
  position: absolute;
  right: 0.9rem;
  top: 0.9rem;
  width: 16px;
  height: 16px;
  border: 2px solid #c8d8d0;
  background: #fff;
  box-sizing: border-box;
}
.ac-card.selected {
  outline: 2px solid var(--brand, #0a7a35);
  box-shadow: 0 0 0 2px rgba(10, 122, 53, 0.2);
  z-index: 100000;
}
.ac-main-select:not(.selected)::before {
  content: "";
  position: absolute;
  right: 0.75rem;
  top: 0.7rem;
  width: 14px;
  height: 14px;
  border: 2px solid #c8d8d0;
  background: #fff;
}

/* ---------- カード一覧 ---------- */
.series_body {
  display: flex;
  flex-direction: column;
  border-top: 1px dotted #ccc;
}
.ac-card {
  background: #ffffff;
  border-bottom: 1px dotted var(--border_gray);
  padding: 1.2rem 1rem 0.5rem;
  display: flex;
  flex-direction: column;
  gap: 0.6rem;
}

.ac-card-top {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
}

/* 型番（大文字・太字）
------------------------ */
.ac-card-model {
  font-weight: 700;
  font-size: clamp(22px, 3.52vw, 26px);
}

/* ------------------------
詳細をみるアコーディオン中身
------------------------ */
.ac-card-spec {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: left;
  gap: 0.8rem;
  font-size: 0.85rem;
}
.ac-card-spec div {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 0.5em;
  background-color: #f1f1f1;
  padding: 0.5em;
}

.ac-card-spec {
  color: #777;
}
.ac-card-spec dd {
  font-size: clamp(14px, 3.52vw, 16px);
}
/* 電源プラグ画像
------------------------ */
.ac-card-spec dd.icon_plug img {
  display: block;
  width: clamp(20px, 35.6vw, 20px);
  height: auto;
}
.ac-card-spec dd.icon_2027 img {
  width: clamp(20px, 35.6vw, 20px);
}

/* 価格部分 */
.ac-card-price {
  display: flex;
  flex-direction: column;
}

.ac-card-price .price_block {
  text-align: right;
}

.ac-card-price .large {
  font-size: clamp(24px, 3.52vw, 36px);
  font-weight: 700;
}
.ac-card-price .price_block .price-display small {
  font-size: clamp(14px, 3.52vw, 15px);
  font-weight: 700;
}

.ac-card-price-note {
  font-size: 0.8rem;
  color: #666;
  text-align: right;
}

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

よくある追加作業費

///////////////////////////////// */
#k_option {
  padding: 5em 0;
}
/* 質問ブロック全部 */
.yes_no_block {
  display: flex;
  flex-direction: column;
  gap: 1em;
  margin: 2em auto 0;
}
/* 各質問ブロック */
#k_option .yes_no_wap {
  position: relative;
  padding: 1.4rem 1.5rem 1.5rem 7rem;
  background: #ffffff;
  border-bottom: 1px dotted var(--border_gray);
}

/* STEP丸 */

/* ① 親でカウンターをリセット（1回だけ） */
.yes_no_block {
  counter-reset: acstep;
}

/* ② 子ごとにインクリメントして表示 */
.yes_no_wap {
  position: relative;
}

.yes_no_wap::before {
  counter-increment: acstep;
  content: "STEP " counter(acstep);
  position: absolute;
  left: 1.6rem;
  top: 0;
  width: 4.1rem;
  height: 4.1rem;
  background: #00a26a;
  /* background: #036cce; */
  color: #fff;
  font-weight: 700;
  border-radius: 999px;
  font-size: 0.9rem;
  display: flex;
  align-items: center;
  justify-content: center;
  text-align: center;
  line-height: 1.2;
}

/* 質問
----------------------------*/
#k_option .yes_no_wap > h3 {
  font-size: clamp(18px, 3.52vw, 21px);
  font-weight: 700;
}

/* 質問の答え
--------------------------*/
/* カードの並び（あり／なし／〜など） */
#k_option .card_wap {
  display: grid;
  gap: 1rem;
  grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
  margin-top: 1em;
}

/* 各選択肢カード
--------------------------*/
#k_option .price_box {
  background: #f9fbfd;
  border: 1px solid #dde3ec;
  padding: 2rem 1rem 0.8rem;
  display: flex;
  flex-direction: column;
  gap: 0.5rem;
}
/* JS側で付ける選択状態用クラスとの連携 */
#k_option .price-select {
  cursor: pointer;
  transition: background-color 0.15s ease, border-color 0.15s ease, box-shadow 0.15s ease;
}

/* 金額エリア
------------------------ */
#k_option .price_block {
  text-align: right;
  min-width: 6em;
}

#k_option .price_block .price-display p {
  margin: 0;
  line-height: 1.2;
}

#k_option .price_block .large {
  font-size: 1.2rem;
  font-weight: 700;
}

/* 上段：条件テキスト＋金額
------------------------ */
#k_option .price_top {
  display: flex;
  justify-content: space-between;
  align-items: flex-start;
  gap: 0.75rem;
}

#k_option .price_top > p {
  margin: 0;
  font-weight: 600;
}

/* 下段
------------------------ */
.price_box .price_bottom p {
  font-size: clamp(14px, 3.52vw, 15px);
}
.price_box .price_bottom aside {
  padding-top: 1em;
  color: #777;
}
.price_box .price_bottom li {
  font-size: clamp(14px, 1.8vw, 16px);
}

.price_bottom li {
  display: flex;
  justify-content: space-between;
  gap: 1em;
  padding: 8px 0;
  border-bottom: 3px dotted #ccc;
  font-size: 110%;
}

/* ＊＊＊＊＊＊＊＊＊＊＊＊＊＊＊

配管カバーラインナップ

＊＊＊＊＊＊＊＊＊＊＊＊＊＊＊*/
.cover_color {
  padding: 2em 0 0;
}
.color {
  padding: 0.5em 0;
}

.cover_color .color figure {
  flex: 1;
  margin: unset;
}
.cover_color .color figure img {
  display: block;
  margin: auto;
}
.cover_color .color figure figcaption {
  padding-top: 0.3em;
  text-align: center;
}

/* スマホ時：STEP丸を上に出すレイアウト */
@media (max-width: 768px) {
  #k_option .yes_no_wap {
    padding: 6rem 0 1.3rem;
  }

  #k_option .yes_no_wap::before {
    left: 50%;
    top: 1.1rem;
    transform: translateX(-50%);
  }

  #k_option .yes_no_wap > h3 {
    text-align: center;
    justify-content: center;
  }
  #k_option .price_box {
    padding: 1rem 1rem 0.8rem;
  }

  #k_option .card_wap {
    grid-template-columns: 1fr;
    margin: 1.5em auto 0;
  }

  #k_option .price_top {
    flex-direction: column;
    align-items: flex-start;
  }

  #k_option .price_block {
    text-align: left;
  }
}
/* ＊＊＊＊＊＊＊＊＊＊＊＊＊＊＊

合計表示エリア (さっきのやつをSTEPデザインに合わせて軽く調整)

＊＊＊＊＊＊＊＊＊＊＊＊＊＊＊*/
.total-price-box {
  position: fixed;
  bottom: 0;
  left: 0;
  right: 0;
  z-index: 9999999;
}

/* 閉じるボタン */
.total-price-close {
  position: absolute;
  top: 10px;
  right: 12px;
  background: #fff;
  border: none;
  font-size: 18px;
  line-height: 1;
  cursor: pointer;
  border: 1px solid #ccc;
  margin-right: auto;
  z-index: 100000000000000;
}
.sub-total-wap,
.grand-total-box .sub-total-wap .total-flex .total-line-in,
.grand-total-box .sub-total-wap #grand-total-note {
  color: #444;
}
.total-flex {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 0.5em;
}
.price-calculation {
  display: flex;
  flex-direction: column;
}
.price-calculation .total-line-ex {
  text-align: right;
  line-height: 0.9;
}
.price-calculation .total-line-in {
  text-align: right;
  font-size: clamp(14px, 3.52vw, 16px);
  color: #777;
}
.option-total-box {
  border-top: 2px dotted #ccc;
  padding-top: 1em;
  margin-top: 1em;
}

.total-price-box .note {
  font-size: 0.85rem;
  color: #666;
  word-break: keep-all;
  max-width: 600px;
  margin-top: 0.3em;
}

/*------------------------
製品+標準工事と追加費用を合わせた合計
-----------------------*/
.grand-total-box {
  position: relative;
  left: 50%;
  right: 50%;
  margin-left: -50vw;
  margin-right: -50vw;
  width: 100vw; /* 画面幅いっぱい */
  box-sizing: border-box;
  padding: 1rem 1.5rem; /* お好みで */
  background: #007f53;
  color: #fff;
}
.ac-total-box,
.option-total-box,
.grand-total-wide {
  width: calc(100% - 40px);
  max-width: 820px;
  margin: 0 auto;
  box-sizing: border-box;
}
.ac-total-box {
  padding-bottom: 1em;
}
/* 内訳アコーディオン周り */
.grand-detail-toggle {
  margin-top: 0.75rem;
  padding: 0.4rem 0.8rem;
  border: 1px solid #ccc;
  background: #fff;
  font-size: 0.9rem;
  cursor: pointer;
}
#grand-total-ex {
  color: #fff;
}
.grand-detail-panel {
  margin-top: 0.75rem;
  padding-top: 0.75rem;
  border-top: 1px dashed #ccc;
}

.grand-detail-row {
  display: flex;
  justify-content: space-between;
  gap: 1rem;
  font-size: 0.9rem;
  margin-bottom: 0.5rem;
}

.grand-detail-label {
  font-weight: 600;
}

.grand-detail-price {
  text-align: right;
}

.tax-line {
  font-size: 0.85em;
}
.grand-total-box .total-flex .total-line-in,
.grand-total-box #grand-total-note {
  color: #fff;
}

/* 追加費用の選択状態用 */
#k_option .price-select {
  cursor: pointer;
}
/* ＊＊＊＊＊＊＊＊＊＊＊＊＊＊＊＊＊＊

合計金額ブロック

＊＊＊＊＊＊＊＊＊＊＊＊＊＊＊＊＊＊ */

/* 中のボックスは JS で is-visible を付けたときだけ表示 */
.grand-total-box {
  display: none;
}

.ac-total-box.is-visible,
.option-total-box.is-visible,
.grand-total-box.is-visible {
  display: block;
}
/* 続けて追加費用を計算するボタン
-------------------------------------------------- */
.btn-go-option {
  display: inline-block;
  margin-top: 8px;
  padding: 8px 16px;
  border: none;
  background: #f58220;
  color: #fff;
  cursor: pointer;
}

/* 選択中の製品を確認オーバーレイ
--------------------------------------------------- */
/* オーバーレイの大元はC:\test2.machinodenkiya.com\css\object\component\c-overlay.cssへ記述 */
.over {
  padding-top: 1em;
  text-decoration: underline;
}
.over #button1 {
  color: #fff;
}
.over #button1::before {
  font-family: unset;
  font-weight: 900;
  content: url(../parts/icon/i-paper-s.png);
  padding-right: 0.2em;
}
.sub-total-wap h2 {
  text-align: center;
  padding-bottom: 1.5em;
}
#overlay .product-reset-btn,
#overlay .option-reset-btn {
  display: inline-block;
  padding: 0.3em 1em;
  margin-top: 0.5em;
  font-size: 0.85rem;
  color: #686868;
  border: 1px solid #ccc;
  cursor: pointer;
}
/* ※未選択の項目が◯件あります。 */
.option-incomplete {
  color: red;
}
.option-unpriced-note {
  display: block;
  font-size: 0.9em;
  color: red;
  margin-top: 4px;
}

/* 情報をコピーしてお問い合わせに進む
---------------------------------------------------*/
/* 大元はC:\test2.machinodenkiya.com\css\object\component\c-btn.cssに記述 */
.grand-box-btn {
  display: none;
}

/* ＊＊＊＊＊＊＊＊＊＊＊＊＊＊＊＊＊


エアコン移設と取り外し
（タブ2、タブ3）


＊＊＊＊＊＊＊＊＊＊＊＊＊＊＊＊＊ */

/* h2とリード文
----------------------- */
.ac_out_in_block .lead_block {
  padding: 3em 0 0;
}
.ac_out_in_block .lead_block h2 {
  margin-bottom: 2em;
}

#tab-2 section {
  margin: unset;
}
.like_table_block {
  margin: 3em auto 0;
  border-top: 1px dotted var(--border_gray);
}

.like_table_layout {
  width: calc(100% - 0px);
  max-width: 820px;
  margin: 0 auto;
  padding: 1.5em 0;
  box-sizing: border-box;
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  border-bottom: 1px dotted var(--border_gray);
  overflow: hidden;
  height: 100%;
}

.card_text {
  display: flex;
  flex-direction: column;
  justify-content: center;
  gap: 1em;
}
.card_text p {
  color: var(--aside_gray);
  font-size: clamp(14px, 3.52vw, 16px);
}

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

セクション 9
エアコン工事のよくあるご質問

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

.faq_item ul {
  padding: 1em;
}
.faq_item ul li {
  list-style-type: disc;
  list-style-position: inside;
}
.faq_item aside {
  color: var(--main_red);
  font-size: 14px;
  padding: 0 0 1em 0;
}
.img_wap {
  padding: 1em 0;
}
.img_wap p:nth-of-type(1) {
  font-size: 15px;
}

/* 専用コンセントのfaqにのみ適用 */
.faq_soc .faq_item img {
  display: block;
  max-width: 700px;
  margin: 1em auto;
}

/* 室外機移設のfaqにのみ適用 */
.faq_shitsugaiki .faq_item img {
  display: block;
  max-width: 400px;
  margin-bottom: 1em;
}
@media (max-width: 768px) {
  .series_top,
  .ac-card-top {
    display: block;
  }
  .ac-card-top {
    display: flex;
    flex-direction: column;
    align-items: unset;
    gap: 0.3em;
  }
  .ac_detail {
    display: flex;
    flex-direction: column;
    align-items: unset;
    gap: 0.8em;
  }
  .ac-card {
    display: block;
    padding: 1.2rem 0rem 1rem;
  }
  .series_lead_block {
    padding: 1.5em 0;
  }
  .ac-card-top {
    padding-top: 1em;
  }
  .ac-card-spec {
    gap: 0.5rem;
    font-size: 0.7rem;
  }
  .total-flex {
    display: block;
  }

  .total-line-ex .large {
    font-size: 21px;
  }
  /* タブ2.3
  ----------------------- */
  .card_text {
    gap: 0.5em;
  }
  .like_table_layout {
    flex-direction: column;
    gap: 1em;
    flex-wrap: unset;
    justify-content: unset;
  }
}
