.p-chinage__select {
  border-radius: 8px;
  border: 1px solid #CAD5E2;
  background: #F3F3F5;
  padding: 10px 15px;
  appearance: none;
    background-image: url("../../image/chinage/Icon.svg");
    background-repeat: no-repeat;
    background-size: 24px auto; /* 画像のサイズ（幅 高さ）*/
    background-position: right 12px center; /* 画像の位置 */
    display: block;
    color: #717182;
}

.p-chinage__result {
  border: 1px solid #00597B33;
}

.p-chinage__table {
  width: 846px;
  /* border-collapse: separate;
  border-spacing: 0 20px; */
}

.p-chinage__table td {
  padding-top: 20px;
  padding-bottom: 20px;
}

.p-chinage__input {
  border-radius: 5px;
  border: 1px solid rgba(60, 60, 67, 0.20);
  background: #F3F3F5;
  width: 80%;
  height: 40px;
  padding: 10px;
}

.p-chinage__deletebtn {
  color: #F38085;
  text-align: center;
  pointer-events: none;
  width: 90%;
  border: 1px solid #F38085;
  border-radius: 5px;
  padding: 10px 0;

}

.p-chinage__deletebtn.active {
  color: #E7000B;
  text-align: center;
  pointer-events: auto;
}

.p-chinage__deletebtn.active > img {
  filter: brightness(0) saturate(100%) invert(22%) sepia(99%) saturate(7070%) hue-rotate(352deg) brightness(86%) contrast(112%);
}



.p-chinage__table > tbody > tr:not(:first-child) {
  border-top: 1px solid #0000001A;
}

#result {
  display: none;
}

#calcresult {
  display: none;
}

#prefecture-select {
  color: #0A0A0A;
}

.placeholder-color {
  color: #717182;
}

.p-chinage__ico--bfpdf {
  position: relative;
}

.p-chinage__ico--bfpdf::before {
  position: absolute;
  background: url(../../image/chinage/Ico_pdf.svg) no-repeat;
  background-size: cover;
  width: 14px;
  height: 17px;
  content: "";
  display: inline-block;
  top: 5px;
  left: 0;
}

.p-chinage__menu {
  width: 100vw;
  margin: 0 calc(50% - 50vw);
}

.p-chinage__ico--outer {
  position: relative;
}

.p-chinage__ico--outer::after {
  position: absolute;
  background: url(../../image/chinage/ico_outer-blue.svg) no-repeat;
  background-size: cover;
  width: 20px;
  height: 20px;
  content: "";
  display: inline-block;
  top: 5px;
  right: 0;
}

.p-chinage__breadcrumbs li {
  display: inline-block;
}

.p-chinage__breadcrumbs li ::after {
  content: ">";
  display: inline-block;
  margin: 0 10px;
}

.p-chinage__newsarrow::after {
  position: absolute;
  background: url(../../image/chinage/ico_linkarrow.svg) no-repeat;
  background-size: cover;
  width: 12px;
  height: 12px;
  content: "";
  display: inline-block;
  top: 50%;
  right: 0;
  transform: translateY(-50%);
}

.p-chinage__leafarrow::after {
  position: absolute;
  background: url(../../image/chinage/ico_linkarrow.svg) no-repeat;
  background-size: cover;
  width: 12px;
  height: 12px;
  content: "";
  display: inline-block;
  bottom: 20px;
  right: 20px;
}

.p-chinage__ttl--news::before {
  position: relative;
  background: url(../../image/chinage/ico_news.svg) no-repeat;
  background-size: cover;
  width: 40px;
  height: 40px;
  content: "";
  display: inline-block;
  top: 15px;
  margin-right: 5px;
}

.p-chinage__ttl--leaf::before {
  position: relative;
  background: url(../../image/chinage/ico_leaf.svg) no-repeat;
  background-size: cover;
  width: 40px;
  height: 40px;
  content: "";
  display: inline-block;
  top: 15px;
  margin-right: 5px;
}

.p-chinage__leafimg {
  min-width: 60px;
}

.p-chinage__leafimg > img {
  object-fit: cover;
  width: 100%;
}

.p-chinage__closebtn {
  position: relative;
}

.p-chinage__closebtn::after {
  position: absolute;
  content: "";
  background: url(../../image/chinage/ico_round-plus.svg) no-repeat;
  background-size: contain;
  top: 50%;
  right: 20px;
  transform: translateY(-50%);
  width: 20px;
  height: 20px;
}

.p-chinage__tabbtn {
  color: #6b7280;
  font-size: 14px;
  width: 100%;
}

.p-chinage__tabbtn.active {
  color: #2563EB;
  border-bottom: 2px solid #3b82f6;
}
.p-chinage__tabbtn:hover {
  color:  #374151;
  border-color: #d1d5db;
  border-bottom-width: 2px;
  
}

.tab-content {
  border-top: 1px solid #e5e7eb;
}

  @media screen and (max-width: 767px) {
    .p-chinage__tabbtnwrap {
      padding: 15px 0;
      /* margin-bottom: 30px;   */
    }
    .p-chinage__tabbtn {
      color:#0A0A0A;
      font-size: 16px;
      font-weight: bold;
      text-align: center;
      position: relative;
      padding: 15px 0;
      transition: all .3s;
    }

    .p-chinage__tabbtn:hover {
      transition: all .3s;
      color: #2563EB;
        border-color: unset;
        border-bottom-width: 0px;
    } 
    .p-chinage__tabbtn.active {
      color: #fff;
      border-radius: 10px;
      background: linear-gradient(180deg, #155DFC 0%, #3B82F6 100%);
      box-shadow: 0 4px 4px 0 rgba(0, 0, 0, 0.25);
      transition: all .3s;
    }
    .p-chinage__tabbtn.active::after {
      content: "";
      position: absolute;
      top: 50%;
      right: 10px;
      width: 10px;
      height: 10px;
      border-right: 2px solid #fff;
      border-top: 2px solid #fff;
      display: inline-block;
      transition: transform 0.3s ease, border-color 0.3s ease;
      transform: translateY(-50%) rotate(315deg);
    }

    .p-chinage__tabbtn::after {
      content: "";
      position: absolute;
      top: 50%;
      right: 10px;
      width: 10px;
      height: 10px;
      border-right: 2px solid #2563EB;
      border-top: 2px solid #2563EB;
      display: inline-block;
      transition: transform 0.3s ease, border-color 0.3s ease;
      transform: translateY(-50%) rotate(135deg);
    }
    .p-chinage__tabcontent {
      border-bottom: 1px solid #DDD;
    }
    .p-chinage__tabcontent:last-of-type {
      border-bottom: none;
    }
    .tab-content {
      border-top: none;
    }
  }
