@import url(common.css);

/* neeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeew!!!! */
#led1,
#led3,
#led5 {
  background-color: var(--bg_gray_green);
  padding: 5em 0;
}
#led2,
#led4 {
  background-color: var(--bg_gray_green2);
  padding: 5em 0;
}

.card_container {
  max-width: 820px;
  margin: auto;
  padding-bottom: 5em;
}
.card_container h2 {
  max-width: 300px;
  padding: 0.5em;
  background-color: #4d801a;
  color: #fff;
  text-align: center;
}
.card_box {
  background-color: #f9f9f9;
  box-shadow: var(--shadow);
  padding: 1.5em 1em;
  margin: 0 auto 1em;
}
.top_wap {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-around;
}

.card_box img {
  display: block;
  max-width: 280px;
}
.price_wap {
  flex: 1.5;
}
.price_wap h3 {
  text-align: center;
}
.price_wap .price_block {
  font-weight: bold;
  max-width: 400px;
  padding-top: 1em;
}
.price_wap .price_block p {
  text-align: right;
}
.price_wap .price_block .large {
  font-size: clamp(76px, 1.8vw, 80px);
  font-family: var(--tel_price_font);
  line-height: 1.3;
  padding-right: 0.2em;
}
.price_wap .price_block .small {
  display: block;
  text-align: right;
}
.bottom_wap {
  max-width: 750px;
  margin: auto;
}
.bottom_wap table {
  width: 100%;
  margin-bottom: 1em;
}

.bottom_wap table td {
  border-bottom: 1px solid var(--border_gray);
  padding: 0.5em;
  vertical-align: middle;
}
.bottom_wap table td small {
  display: block;
  font-size: 14px;
  color: var(--aside_gray);
  padding-top: 0.5em;
}

.card_container ul li {
  list-style-type: disc;
  list-style-position: inside;
  color: var(--aside_gray);
  font-size: 14px;
  padding-left: 2em;
  text-indent: -1em;
}

/* ダウンライトのみ適用（交換と増設があるから） */
#led2 .price_wap .price_block {
  padding: 0 0 2em;
}

/* h2の下の施工事例bofere→after */
.top_img {
  max-width: 800px;
  margin: auto;
  padding-bottom: 1em;
}
#led2 .change {
  padding-bottom: 4em;
}

.top_img .img_wap {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 0.5em;
  margin-bottom: 1em;
}

.top_img .img_wap img {
  display: block;
  max-width: 380px;
  margin: 0 auto 0.5em;
}

/* before・afterアイコン */
.img_before,
.img_after {
  position: relative;
  display: inline-block;
  margin: auto;
}

.img_before::before {
  position: absolute;
  content: "before";
  top: 0;
  left: 0;
  margin: 0;
  background: #163f8b;
  color: white;
  font-size: 18px;
  line-height: 1;
  padding: 5px 10px;
}
.img_after::before {
  position: absolute;
  content: "after";
  top: 0;
  left: 0;
  margin: 0;
  background: #ea5413;
  color: white;
  font-size: 18px;
  line-height: 1;
  padding: 5px 10px;
}
.h3_wap .disc_text p:nth-of-type(1) {
  padding-bottom: 1em;
}

/*金額内訳テーブル
//////////////////////////////*/
.price-wap {
  max-width: 820px;
  margin: 0 auto 1em;
}

.price-wap table {
  width: 100%;
  margin: 0 auto 0.5em;
  border-collapse: collapse;
  border: 1px solid #c0c0c0;
}

.price-wap table tr td:nth-of-type(1) {
  width: 35%;
}
.price-wap table tr td:nth-of-type(2) {
  width: 40%;
}
.price-wap table tr td:nth-of-type(3) {
  width: 25%;
}

.price-wap table tr:nth-of-type(1) td {
  background-color: #008dd4;
  color: #fff;
  font-weight: bold;
  padding: 0.5em;
  text-align: center;
}

.price-wap table tr td {
  border: 1px solid #c0c0c0;
  padding: 0.5em;
}

.price-wap .price_block {
  margin-left: auto;
  margin-right: 0;
  width: fit-content; /* 幅を中身に合わせるなら */
}

/* 消費税自動計算 */
.price-wap .price_block .large {
  font-size: clamp(26px, 1.8vw, 28px);
  padding-right: 0.2em;
  font-family: "Oswald", sans-serif;
  line-height: 1;
}
.price-wap ul li {
  list-style-position: inside;
  color: var(--aside_gray);
  font-size: 14px;
}

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

その他住宅LED照明

/////////////////////////////////////////// */
.another {
  background-color: var(--bg_gray_green2);
  padding: 7em 0 3em;
  position: relative;
}
.another::before {
  position: absolute;
  top: 0;
  left: 50%;
  transform: translate(50%, -50%);
  content: "";
  display: inline-block;
  width: 18px;
  height: 50px;
  background-image: url("../parts/led/bubble_3.png");
  background-size: cover;
  background-repeat: no-repeat;
  background-position: center;
}
.another h2,
.another p {
  text-align: center;
  padding-bottom: 1em;
}
.another .img_wap {
  max-width: 820px;
  margin: 2em auto;
  display: grid;
  grid-template-columns: repeat(4, 1fr); /* PCでは4カラム */
  gap: 1em;
}
.another .img_wap img {
  display: block;
  max-width: 180px;
  margin-bottom: 1em;
  width: 100%;
  height: auto;
  border-radius: 6px;
}

/* □□□□□□□□□□□□□□□□□□□□□□□□□□□□□□□□□□□□ */

/* レスポンシブ */

/* □□□□□□□□□□□□□□□□□□□□□□□□□□□□□□□□□□□□ */
@media only screen and (max-width: 768px) {
  .price_wap .price_block .large {
    font-size: 60px;
  }
  .card_container {
    margin: 1.5em;
  }
  .card_container h2 {
    max-width: 250px;
  }
  .top_wap {
    display: block;
  }
  .card_box img {
    max-width: unset;
    width: 60%;
    margin: auto;
  }
  .price_wap h3 {
    text-align: left;
  }
  .price_wap .price_block {
    padding: 0 0 1.5em;
  }

  .top_img .img_wap img {
    max-width: 300px;
    margin: 0 auto 0.5em;
    width: 100%;
    height: auto;
  }

  .disc_text {
    padding: 0 1.5em;
  }

  .another .img_wap {
    grid-template-columns: repeat(2, 1fr);
    margin: 1em auto;
    gap: unset;
  }
  .another .img_wap img {
    display: block;
    max-width: 160px;
    margin: 0 auto 0.5em;
    width: 100%;
    height: auto;
    border-radius: 6px;
  }
}
