.services .m_main .main {
 background-image: url("../img/services/services_top.jpg");
}

/* ===見出し 大=== */
.heading-style {
 position: relative;
 border-left: 5px solid #2C4A97;
 padding-left: 15px;
 margin: 0;
 display: flex;
 align-items: center;
 margin: 9rem 0;
 font-size: 32px;
}

.heading-style::after {
 content: "";
 flex-grow: 1;
 height: 1px;
 background-color: #ddd;
 margin-left: 20px;
}

/* ===見出し 中=== */
.heading-style_sub {
 position: relative;
 border-left: 5px solid #5E7BCB;
 padding-left: 15px;
 margin: 0;
 display: flex;
 align-items: center;
 font-size: 26px;
}

/* ===見出し 小=== */
.heading-style_small {
  display: flex;
  align-items: center; 
  gap: 10px;
  font-size: 22px;
}

.heading-style_small::before {
  content: "";
  display: block;
  width: 16px;
  height: 3px;     
  background-color: #5E7BCB;
 }

/* ===余白調整=== */
.mt-64 {
  margin-top: 64px;
}

.mt-6r {
  margin-top: 6rem;
}
.mt-9r {
  margin-top: 9rem;
}

.mb-72 {
  margin-bottom: 72px;
}

.mb-5r {
  margin-bottom: 5rem;
}

.mb-2r {
  margin-bottom: 2rem;
}

/* ===注釈の文章調整=== */
.c-note {
  display: flex;
  margin-top: 1em;
}

/* ===メニュー表事業系=== */
.services_industrial_waste-table {
  width: 100%;
  border: 1px solid #B9B9B9; 
  font-size: 18px;
}
.services_industrial_waste-table td {
  width: 33.33%; /* 3列均等配置 */
  border: 1px solid #B9B9B9; 
  padding: 0;
  text-align: center;
}
.services_industrial_waste-table td a {
  display: block;
  padding: 25px 15px;
  text-decoration: none;
  background-color: #ffffff;
  transition: background-color 0.2s, color 0.2s;
}
.services_industrial_waste-table td a:hover {
  background-color: #2C4A97;
  color: #ffffff;
}

/* ===事業系ごみ収集=== */

.info-top {
  display: flex;
  align-items: center;
  gap: 20px;
  margin-bottom: 20px;
}
.info-badge {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  background-color: #F0F5FF;
  color: #2C4A97;
  font-weight: bold;
  padding: 18px 24px;
  white-space: nowrap; 
  flex-shrink: 0;
}
.check-icon {
  width: 32px;
  height: 32px;
  fill: #2C4A97; 
}
.info-text {
  margin: 0;
}
.info-box {
  border: 1px solid #5E7BCB;
  padding: 20px 24px;
  background-color: #ffffff;
}
.info-box-title {
  color: #5E7BCB; 
  font-weight: bold;
  margin: 0 0 10px 0;
  font-size: 18px;
}
.info-box-text {
  margin: 0;
}

.services_industrial_waste_img_box3 {
  display: grid;
  gap: 2vw;
  grid-template-columns: repeat(3, 1fr);
  margin-top: 3em;
}
.services_industrial_waste_img_box2 {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: calc(10vw / 2);
}

/* ===電子マニフェストについて=== */
.custom-list {
  margin: 20px 0;
}
.custom-list li {
  position: relative;
  padding-left: 0.8em;
}
.custom-list li::before {
  content: "";
  position: absolute;
  left: 0.2em;
  top: 50%;
  transform: translateY(-50%);
  width: 4px;
  height: 4px;
  background-color: #000000; 
  border-radius: 50%; 
}

/* ===お問い合わせはコチラのバナー=== */
.contact-banner-link {
  display: block;
  text-decoration: none;
  color: inherit; 
}

.contact-banner {
  position: relative;
  display: flex;
  justify-content: space-between;
  align-items: center;
  background-color: #2C4A97; 
  padding: 50px 60px;
  overflow: hidden;
  box-sizing: border-box;
  font-family: sans-serif;
  container-type: inline-size;
}
.contact-banner::before {
  content: "CONTACT";
  position: absolute;
  top: 42%;
  left: 50%;
  transform: translate(-50%, -50%); 
  font-size: 17cqw;
  font-weight: 900;
  letter-spacing: 0.05em;
  color: rgba(255, 255, 255, 0.05); 
  white-space: nowrap;
  pointer-events: none;
  z-index: 1;
}
.contact-banner__text {
  position: relative;
  z-index: 2;
  color: #ffffff;
  font-weight: bold;
  font-size: 18px;
  line-height: 1.8;
  margin: 0;
}
.contact-banner__btn {
  position: relative;
  z-index: 2;
  display: flex;
  align-items: center;
  justify-content: space-between;
  width: 320px;
  padding: 20px 24px;
  background-color: #ffffff;
  color: #2C4A97;
  border: 1px solid #ffffff;
  font-size: 18px;
  font-weight: bold;
  box-sizing: border-box;
  transition: all 0.3s ease;
}

.contact-banner-link:hover .contact-banner__btn {
  background-color: #2C4A97; 
  color: #ffffff;
}



/* ------------------ご家庭向け------------------ */


/* ===「一方で」のボックス=== */
.on-the-other-hand-box {
  position: relative;
  border: 1px dashed #5E7BCB; 
  border-radius: 6px;
  padding: 30px 40px;
  margin-top: 32px;
  margin-bottom: 32px;
  box-sizing: border-box;
}
.on-the-other-hand-box__title {
  position: absolute;
  top: 0;
  left: 24px;
  transform: translateY(-50%); 
  padding: 0 10px;
  background-color: #ffffff; 
  color: #5E7BCB;
  font-size: 24px;
  font-weight: bold;
  line-height: 1;
}

.on-the-other-hand-box__list {
  list-style: none;
  padding: 1.5em 0 0.5em;
  margin: 0;
}
.on-the-other-hand-box__list li {
  position: relative;
  padding-left: 1.2em;
  margin-bottom: 0.5em;
  font-weight: bold;
  line-height: 1.6;
  font-size: 18px;
}
.on-the-other-hand-box__list li:last-child {
  margin-bottom: 0;
}
.on-the-other-hand-box__list li::before {
  content: "・";
  position: absolute;
  left: 0;
  top: 0;
}


/* ===メニュー表ご家庭向け=== */
.services_household_waste-table {
  width: 100%;
  border: 1px solid #B9B9B9; 
  font-size: 18px;
}
.services_household_waste-table td {
  width: 33.33%; 
  border: 1px solid #B9B9B9; 
  padding: 0;
  text-align: center;
}
.services_household_waste-table td a {
  display: block;
  padding: 25px 15px;
  text-decoration: none;
  background-color: #ffffff;
  transition: background-color 0.2s, color 0.2s;
}
.services_household_waste-table td a:hover {
  background-color: #2C4A97;
  color: #ffffff;
}

/* ===ビフォーアフター画像=== */
.before-after {
  display: flex;
  align-items: center;
  justify-content: center; 
  gap: 32px;
  margin: 0 auto;
}

.before-after_item {
  position: relative;
  flex: 1;
  margin: 0;
}

.before-after_item img {
  width: 100%;
  height: auto;
  display: block;
  object-fit: cover;
}

.before-after_label {
  position: absolute;
  right: 0;
  bottom: 0;
  background-color: #ffffff;
  font-size: 16px;
  font-weight: bold;
  padding: 8px 24px;
}

.before-after_arrow {
  color: #5E7BCB;
  font-size: 64px;
  flex-shrink: 0;
}

/* ===当社が選ばれる理由=== */
.reason-list {
  list-style: none;
  padding: 0;
  margin: 0;
  display: flex;
  flex-direction: column;
  gap: 48px;
}
.reason-item {
  display: flex;
  align-items: center;
  gap: 30px; 
}

.reason-item__num {
  width: 140px;
  height: 140px;
  flex-shrink: 0;
  border-right: 1.5px solid #B9B9B9;
  border-bottom: 1.5px solid #B9B9B9;
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
}

.reason-item__label {
  font-size: 13px;
  font-weight: bold;
  color: #5E7BCB;
  letter-spacing: 0.05em;
  line-height: 1;
  margin-bottom: 4px;
}
.reason-item__count {
  font-size: 50px;
  font-weight: bold;
  line-height: 1;
}
.reason-item__body {
  flex: 1; 
}
.reason-item__title {
  margin: 0 0 12px 0;
  font-size: 26px;
  font-weight: bold;
  color: #2C4A97;
}
.reason-item__text {
  margin: 0;
  line-height: 1.7;
}


.permission_flexbox {
  display: flex;
  align-items: center;
  gap: 52px;
  border: 1px solid #ccc;
  padding: 30px 40px;
  background-color: #fff; 
  margin: 88px auto 0;
}
.permission_icon {
  display: flex;
  align-items: center; 
  gap: 15px;
  flex-shrink: 0;
}
.permission_img {
  width: 192px;
  height: auto;
  display: block;
}
.permission_flexbox_right {
  flex: 1;
}
.permission_flexbox_tittle {
  margin: 0 0 12px 0;
  font-size: 26px;
  font-weight: bold;
  line-height: 1.4;
}
.permission_flexbox_text {
  margin: 0;
  line-height: 1.7;
  color: #333333;
}


/* ===家庭ごみとして対応できないケース=== */
.case-section {
  max-width: 900px;
  margin: 0 auto;
}
.case-section__title {
  display: flex;
  align-items: center;
  gap: 10px;
  font-size: 26px;
  font-weight: bold;
  margin-bottom: 40px;
}

.case-section__icon01 {
  color: #17D268;
  font-size: 32px;
  flex-shrink: 0;
}
.case-section__icon02 {
  color: #FFB633;
  font-size: 32px;
  flex-shrink: 0;
}
.case-section__icon03 {
  color: #FF235C;
  font-size: 32px;
  flex-shrink: 0;
}
.case-section__lead {
  margin: 0 0 30px 0;
}
a.c-text-decorated {
  color: #2C4A97;
  text-decoration: underline;
}
.case-list {
  list-style: none;
  padding: 0;
  margin: 0;
  display: flex;
  flex-direction: column;
  gap: 20px; 
}
.case-list__item {
  margin: 0;
}
.case-list__title {
  font-size: 18px;
  font-weight: bold;
  margin: 0 0 6px 0;
}
.case-list__title::before {
  content: "・";
}
.case-list__text {
  margin: 0;
  padding-left: 0.7em; 
}



/* ===料金について=== */
.price-flow {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 16px; 
  width: 100%; 
  margin: 0 auto;
}
.price-flow__card {
  flex: 1;
  background-color: #5E7BCB; 
  border-radius: 12px; 
  padding: 45px 25px;
  color: #ffffff;
  text-align: center;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: space-between;
  min-height: 480px; 
}
.price-flow__title {
  font-size: 36px; 
  font-weight: bold;
  margin: 0;
  line-height: 1.3;
}
.price-flow__icon {
  margin: 25px 0;
  display: flex;
  align-items: center;
  justify-content: center;
  height: 150px;
}
.price-flow__icon img {
  max-width: 100%;
  max-height: 100%;
  width: auto;
  height: auto;
  display: block;
}
.price-flow__text {
  font-size: 20px; 
  line-height: 1.5;
  margin: 0;
}
.price-flow__plus {
  color: #2C4A97;
  font-size: 72px;
  font-weight: bold;
  line-height: 1;
  flex-shrink: 0; 
  user-select: none;
}



@media (max-width: 768px) {

 /* ===メニュー表=== */
  .services_industrial_waste-table,
  .services_industrial_waste-table tbody,
  .services_industrial_waste-table tr,
  .services_industrial_waste-table td {
    display: block;
    width: 100%;
    box-sizing: border-box;
  }

  .services_industrial_waste-table td {
    border: none;
    border-bottom: 1px solid #B9B9B9; 
  }

  .services_industrial_waste-table tr:last-child td:last-child {
    border-bottom: none;
  }

  .services_industrial_waste-table td a {
    width: 100%;
    padding: 18px 15px;
    font-size: 14px;
    box-sizing: border-box;
  }

  /* ===メニュー表ご家庭向け=== */
  .services_household_waste-table,
  .services_household_waste-table tbody,
  .services_household_waste-table tr,
  .services_household_waste-table td {
    display: block;
    width: 100%;
    box-sizing: border-box;
  }

  .services_household_waste-table td {
    border: none;
    border-bottom: 1px solid #B9B9B9; 
  }

  .services_household_waste-table tr:last-child td:last-child {
    border-bottom: none;
  }

  .services_household_waste-table td a {
    width: 100%;
    padding: 18px 15px;
    font-size: 14px;
    box-sizing: border-box;
  }

/* ===お問い合わせ=== */
  .contact-banner {
    flex-direction: column;
    align-items: flex-start;
    gap: 24px;
    padding: 40px 20px;
  }
  
  .contact-banner__btn {
    width: 100%;
  }

  .info-top {
    flex-direction: column;
    align-items: flex-start;
    gap: 12px;
  }
  .info-badge {
    width: 100%;
    box-sizing: border-box;
  }

  /* ===ビフォーアフター画像=== */
  .before-after {
    flex-direction: column;
    gap: 0px;
  }

  .before-after_arrow {
    transform: rotate(90deg);
    margin: -10px 0 -10px;
  }
/* ===当社が選ばれる理由=== */
  .reason-item {
    gap: 15px;
  }
  .reason-item__num {
    width: 80px;
    height: 80px;
  }
  .reason-item__count {
    font-size: 24px;
  }
  .reason-item__title {
    font-size: 17px;
  }
    .permission_flexbox {
    flex-direction: column;
    align-items: flex-start;
    padding: 20px;
    gap: 20px;
      margin: 24px auto 0;
  }
  .permission_icon {
    justify-content: center;
    width: 100%;
  }
  .permission_img {
    width: 90px;
  }
  .permission_flexbox_tittle {
    font-size: 18px;
  }

/* ===家庭ごみとして対応できないケース=== */
    .case-section__title {
    font-size: 18px;
  }
  .case-section__icon {
    font-size: 22px;
  }
  /* ===料金について=== */
  .price-flow {
    flex-direction: column;
    gap: 15px;
  }

  .price-flow__card {
    width: 100%;
    min-height: auto;
    padding: 30px 20px;
  }

  .price-flow__title {
    font-size: 26px;
  }

  .price-flow__icon {
    height: 110px;
  }

  .price-flow__text {
    font-size: 16px;
  }

  .price-flow__plus {
    font-size: 48px;
    padding: 5px 0;
  }

}