
/* ビルボード
----------------------------------------------- */

  .banner {
    background-image: url('/img/reform/reform-bil-pc.webp');
    background-size: cover;
    background-position: center right;
    background-repeat: no-repeat;

  }

  @media (max-width: 768px) {
    .banner {
          background-image:
      linear-gradient(
        rgba(255, 255, 255, 0.60),
        rgba(255, 255, 255, 0.60)
      ),
      url('/img/reform/reform-bil-sp.webp');
      background-position: center center;
    }
  }

  /* ============================================
     テキストエリア
  ============================================ */

  .banner__content {
    position: relative;
    padding: 5rem 20px;
    max-width: 1040px;
    margin: 0 auto;
  }

  /* ============================================
     タグライン（上部赤帯）
  ============================================ */

  .banner__tag {
    display: inline-block;
    background-color: #8b1a1a;
    color: #ffffff;
    font-size: clamp(13px, 1.1vw, 24px);
    font-weight: bold;
    margin-bottom: clamp(12px, 2vw, 20px);
    padding: 6px 20px 6px 20px;
    clip-path: polygon(16px 0%, 100% 0%, calc(100% - 16px) 100%, 0% 100%);

  }

  /* ============================================
     サブタイトル（小テキスト）
  ============================================ */

  .banner__subtitle {
    font-size: clamp(14px, 2.2vw, 24px);
    font-weight: bold;
    margin: 0 0 clamp(4px, 0.6vw, 8px) 0;
    line-height: 1.5;
    text-shadow:
      1px  0   0 #efefef,
      -1px  0   0 #efefef,
      0    1px 0 #efefef,
      0   -1px 0 #efefef;
display: block;
  }

  /* ============================================
     メインタイトル（大見出し）
  ============================================ */

  .banner__title {
    font-size: clamp(32px, 5vw, 64px);
    font-weight: bold;
    line-height: 1.2;
    margin: 0 0 clamp(16px, 2.5vw, 24px) 0;
    text-shadow:
      1px  0   0 #efefef,
      -1px  0   0 #efefef,
      0    1px 0 #efefef,
      0   -1px 0 #efefef;
  }

  /* ============================================
     価格ボックス
  ============================================ */

  .banner__price-box {
    display: inline-flex;
    flex-direction: column;
    background-color: rgba(255, 255, 255, 0.88);
    border: 2px solid #ddd;
    padding: clamp(10px, 1.5vw, 16px) clamp(18px, 2.5vw, 32px);
    min-width: clamp(240px, 38vw, 380px);
    border-radius: 1rem;
  }

  .banner__price-label {
    font-size: clamp(14px, 1.1vw, 18px);
    margin-bottom: 2px;
    text-align: center;
  }

  .banner__price-row {
    display: flex;
    align-items: center;
    gap: clamp(6px, 0.8vw, 10px);
  }

  .banner__price-main {
    font-size: clamp(48px, 6vw, 68px);
    font-weight: bold;
    color: #8b1a1a;
    line-height: 1;
    letter-spacing: -0.03em;
    flex-shrink: 0;
  }

  .banner__price-detail {
    display: flex;
    flex-direction: column;
    justify-content: flex-end;
    align-items: flex-start;
    gap: 0;
    padding-bottom: 3px;
  }

  .banner__price-tax {
    font-size: clamp(18px, 1.0vw, 22px);
    color: #1a1a1a;
    font-weight: bold;
    white-space: nowrap;
    line-height: 1.3;
  }

  .banner__price-unit {
    font-size: clamp(22px, 2.8vw, 36px);
    font-weight: bold;
    color: #8b1a1a;
    line-height: 1;
    white-space: nowrap;
  }


/* パンくず
----------------------------------------------- */
#breadcrumb {
  margin-bottom: 15px;
}

/* H3あしらい
----------------------------------------------- */
#contents h3.work-sample,
#contents h3.material-sample {
    border-left: 4px solid #9D212A;
    padding-left: .5em;
    border-bottom: none;
}


/* イントロ（concept）
----------------------------------------------- */
.post h2 {
    border-left: none;
}

div[id$="concept"] h2 {
  color: #333;
  font-weight: bold;
  margin-bottom: 0.5em;
}

@media (min-width:730px){
  div[id$="concept"] h2 {
    border-bottom: 4px #e60033 solid;
    padding-bottom: 0.5rem;
    position: relative;
  }
  div[id$="concept"] h2:after {
    background: #CCCCCC;
    content: "";
    height: 4px;
    width: 85%;
    position: absolute;
    bottom: -4px;
    right: 0;
  }
} /* Eo min730 */


div[id$="concept"] .trouble dl {
  background-color: #990000;
  padding: 1rem;
}
div[id$="concept"] .trouble dl dt {
  color: #FFF;
  font-size: min( 6vw, 52px );
  line-height: 1.25em;
  text-align: center;
}
div[id$="concept"] .trouble dl dd {
  background-image: url(../img/contents/ci-firewaste-genba.webp);
  background-repeat: no-repeat;
  background-position: center bottom;
  background-size: cover;
  padding: 2rem;
}
div[id$="concept"] .trouble dl dd ul {
  background-color: rgba( 255,255,255,0.9 );
  border-radius: 1rem;
  padding: 2rem;
  margin-bottom: 4rem;
}
div[id$="concept"] .trouble dl dd ul li {
  font-size: 1.25em;
  margin-left: 1rem;
}
div[id$="concept"] .trouble dl + p {
  background-color: #990000;
  color: #FFF;
  font-size: min( 6vw, 52px );
  line-height: 1.25em;
  text-align: center;
  clip-path: polygon( 53% 100%, 0 0, 100% 0 );
  padding-bottom: 0.75em;
  margin-bottom: 0;
}

@media (min-width:730px){
  div[id$="concept"] .trouble dl dd ul li {
    font-size: 1.5em;
    margin-left: 3rem;
  }
} /* Eo min730 */


/* ○○区内の対応エリア例
----------------------------------------------- */
#contents .box.visit ul.area-list {
  margin: 0 0 1em;
  display: flex;
  flex-wrap: wrap;
  gap: 0 0.5em;
}


/* レスポンシブ対応 */
@media (max-width: 640px) {
  #contents .box.visit ul.area-list {
  justify-content: center;
  }
}

#contents .box.visit ul.area-list li {
  border-right: 1px #CCC solid;
  list-style: none;
  line-height: 1.2em;
  text-align: center;
  margin-bottom: .5em;
  padding: 0 1em;
  width: 6.5em;
}

#contents .box.visit {
    border: 1px solid #cccccc;
    border-radius: 10px;
}

#contents .box.visit h3 {
    display: flex;
    background: #9D212A;
    color: #fff;
    padding: .75em 1.25em .5em;
    border-radius: 10px 10px 0 0;
    position: relative;
    align-items: center;
}
#contents .box.visit h3 i {
    font-size: 1.75em;
    margin-right: .5em;
    position: relative;
    top: -0.05em;
}

#contents .box.visit .town.area-list {
    padding: 1em 1em 0;
}


/* 回収できる建材・廃棄物
----------------------------------------------- */
ul.material-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 10px;
  list-style: none; /* リストの黒丸を解除 */
  padding-left: 0;
  margin-bottom: 3em;
}

.material-item {
  position: relative;
  display: flex;
  flex-direction: column;
}

.material-item img {
  width: 100%;
  height: auto;
  aspect-ratio: 2 / 1;
  object-fit: cover;
  display: block;
}

.material-label {
  background-color: #9D212A;
  color: #fff;
  text-align: center;
  padding: 2px;
}

/* レスポンシブ対応 */
@media (min-width: 600px) {
  ul.material-grid {
  grid-template-columns: repeat(4, 1fr);
  gap: 15px;
  }
}


/* ○○区の新築住宅建設状況について
----------------------------------------------- */
/* 全体を囲むボックス（スマホ時：縦並び、幅100%） */
.local-info-box {
  display: flex;
  flex-direction: column;
  gap: 1.5em; 
  margin-top: 2em;
  width: 100%;
}

/* 画像エリア（スマホ時：横幅いっぱいに広げる） */
.local-info-image {
  width: 100%;
  max-width: 100%; 
}

.local-info-image img {
  width: 100%;
  height: auto;
  display: block;
}

/* テキストエリア */
.local-info-text {
  width: 100%;
}


/* レスポンシブ対応（PC・タブレット向け：横並び） */
@media (min-width: 600px) {
  .local-info-box {
    flex-direction: row;
    gap: 2em;
  }

  /* PC時のみ画像の横幅を40%（最大320px）に制限する */
  .local-info-image {
    flex: 0 0 40%;
    max-width: 320px;
  }

  .local-info-text {
    flex: 1;
    width: auto;
  }
}

/* こんなリフォーム・改修工事現場の廃棄物の改修に対応できます！
----------------------------------------------- */
img.img-2000over {
  margin-bottom: 1.6em;
}
.work-table {
  margin-bottom: 3em;
}
.work-table td {
  width: calc(92% / 3);
}

ul.work-list {
  display: flex;
  flex-wrap: wrap;
  gap: 1px;
  padding: 0;
  margin: 0 auto;
}
ul.work-list li {
  background-color: #e9e9e9;
  list-style: none;
  width: min( 49%, 240px );
  padding: 0.5em 1em;
}



/* 新CTA */
.order {
  text-align: center;
  margin-top: 3rem !important;
}
.order a {
  text-decoration: none;
}

.order h2 {
  display: inline-block;
  margin: 0 0 18px;
  padding-bottom: 4px;
  font-size: 22px;
  font-weight: 700;
  line-height: 1.4;
  border-bottom: 4px solid #d9081f;
}

.order__tel {
  padding: 22px 48px 20px;
  background: #fff;
  border: 1px solid #e5e5e5;
  border-radius: 6px;
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.18);
}

.order__tel-lead {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 14px;
  margin: 0 0 4px;
  font-size: 16px;
  font-weight: 700;
  color: #222;
}

.order__tel-lead span {
  width: 1px;
  height: 20px;
  background: #d9081f;
}

.order__tel-lead span:first-child {
  transform: rotate(-28deg);
}

.order__tel-lead span:last-child {
  transform: rotate(28deg);
}

.order__tel-number {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 18px;
  padding-bottom: 16px;
  color: #d9081f;
  font-size: 4rem;
  font-weight: 800;
  line-height: 1;
  letter-spacing: 0.02em;
  text-decoration: none;
  border-bottom: 1px solid #ddd;
}

.order__tel-icon {
  display: grid;
  place-items: center;
  width: 50px;
  height: 50px;
  font-size: 34px;
  background: #d9081f;
  border-radius: 50%;
}

.order__tel-info {
  display: flex;
  justify-content: center;
  gap: 26px;
  margin-top: 12px;
  font-size: 13px;
  font-weight: 600;
  color: #333;
}

.order__tel-info p {
  margin: 0;
}

.order__info-icon {
  color: #d9081f;
  margin-right: 5px;
}

.order__cards {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 14px;
  margin-top: 14px;
}

.order-card {
  padding: 18px 16px 20px;
  border: 1px solid #e5e5e5;
  border-radius: 6px;
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.18);
}

.order-card__title {
  margin: 0;
  padding-bottom: 10px;
  color: #d9081f;
  font-size: 20px;
  font-weight: 800;
  border-bottom: 1px solid #d9081f;
}

.order-card__title--green {
  color: #16a000;
  border-bottom-color: #16a000;
}

.order-card__text {
  margin: 12px 0 12px;
  font-size: 12px;
  font-weight: 600;
  line-height: 1.7;
  color: #333;
}

.order-card__button {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 12px;
  min-height: 40px;
  padding: 1.5rem;
  color: #fff;
  font-size: 15px;
  font-weight: 800;
  text-decoration: none;
  border-radius: 5px;
}

.order-card__button--red {
  background: #d9081f;
}

.order-card__button--green {
  background: #15a900;
}

.order-card__button span {
  font-size: 24px;
  line-height: 1;
}

.order-card__button {
  border: 1px solid transparent;
  transition: color 0.3s ease, background-color 0.3s ease, border-color 0.3s ease;
}

.order-card__button--red:hover {
  color: #d9081f;
  background: #fff;
  border-color: #d9081f;
}

.order-card__button--green:hover {
  color: #15a900;
  background: #fff;
  border-color: #15a900;
}

.order-card--mail,
.order-card--line {
  position: relative;
  transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.order-card--mail:hover,
.order-card--line:hover {
  transform: translateY(-3px);
  box-shadow: 0 6px 14px rgba(0, 0, 0, 0.22);
}

/* カード全体をリンク化 */
.order-card--mail .order-card__button::after,
.order-card--line .order-card__button::after {
  content: "";
  position: absolute;
  inset: 0;
  z-index: 1;
}

/* ボタンのホバーアニメーション */
.order-card__button {
  border: 1px solid transparent;
  transition:
    color 0.3s ease,
    background-color 0.3s ease;
    border-color 0.3s ease;
}

/* カード内のどこをホバーしてもボタン色を反転 */
.order-card--mail:hover .order-card__button--red {
  color: #d9081f;
  background: #fff;
  border-color: #d9081f;
}

.order-card--line:hover .order-card__button--green {
  color: #15a900;
  background: #fff;
  border-color: #15a900;
}

@media (max-width: 640px) {

  .order__tel {
    padding: 20px 18px;
  }

  .order__tel-number {
    gap: 10px;
    font-size: 2.5rem;
  }

  .order__tel-icon {
    width: 44px;
    height: 44px;
    font-size: 26px;
  }

  .order__tel-info {
    flex-direction: column;
    gap: 6px;
  }

  .order__cards {
    grid-template-columns: 1fr;
  }
}

.price-img {
  margin-bottom: 0;
}
