/* .p-bottom-title__category */
.p-nyusatsu .p-bottom-title__category:not(:first-of-type) {
  margin: 0 0 0 5px;
}

/* .p-nyusatsu-btn */
.p-nyusatsu-btn01__wrap {
  display: flex;
  flex-wrap: wrap;
  gap: 20px;
  margin: 30px 0 0;
}

@media (max-width: 768px) {
  .p-nyusatsu-btn01__wrap {
    gap: 15px;
    margin: 25px 0 0;
  }
}

.p-nyusatsu-btn01__wrap + p {
  margin-top: 30px;
}

@media (max-width: 768px) {
  .p-nyusatsu-btn01__wrap {
    margin-top: 25px;
  }
}

.p-nyusatsu-btn01 {
  text-align: center;
  font-size: 16px;
  line-height: 1.4;
  font-weight: 700;
  min-width: 316px;
  padding: 10px;
  border-radius: 21px;
  background-color: #005886;
  text-decoration: none;
  transition: .3s;
}

@media (max-width: 768px) {
  .p-nyusatsu-btn01 {
    width: 100%;
    min-width: auto;
  }
}

a:link.p-nyusatsu-btn01,
a:visited.p-nyusatsu-btn01 {
  color: #fff;
}

.p-nyusatsu-btn01:hover {
  background-color: #213675;
  opacity: 1;
}

/* .p-nyusatsu-head */
.p-nyusatsu-head01 {
  color: #213775;
  font-size: 24px;
  font-weight: 700;
  line-height: 1.4;
  margin: 42px 0 24px;
}

@media (max-width: 768px) {
  .p-nyusatsu-head01 {
    font-size: 22px;
    margin: 42px 0 20px;
  }
}

.p-nyusatsu-head02 {
  color: #213775;
  font-size: 21px;
  font-weight: 700;
  line-height: 1.4;
  margin: 42px 0 21px;
  padding: 0 0 5px;
  border-bottom: 1px solid #D3D7E5;
}

@media (max-width: 768px) {
  .p-nyusatsu-head02 {
    font-size: 19px;
    margin: 30px 0 21px;
  }
}

/* .p-nyusatsu-info */
.p-nyusatsu-info {
  overflow: hidden;
  transition: height 0.4s ease;
}

.p-nyusatsu-info__item {
  width: 100%;
  border-bottom: 1px solid #B2B2B2;
}

.p-nyusatsu-info__link {
  line-height: 1.6;
  text-decoration: none;
  display: flex;
  width: fit-content;
  padding: 10px 0;
}

@media (max-width: 768px) {
  .p-nyusatsu-info__link {
    padding: 7px 0;
  }
}

a:link.p-nyusatsu-info__link,
a:visited.p-nyusatsu-info__link {
  color: #333;
}

.p-nyusatsu-info__link:hover {
  text-decoration: underline;
}

.p-nyusatsu-info__date {
  font-family: "Tahoma", sans-serif;
  font-weight: 400;
  width: 110px;
  flex-shrink: 0;
}

@media (max-width: 768px) {
  .p-nyusatsu-info__date {
    width: 105px;
  }
}

/* .p-nyusatsu-tag */
.p-nyusatsu-tag__wrap {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  line-height: 1;
}

button.p-nyusatsu-tag {
  color: #333;
  font-size: 15px;
  font-weight: 700;
  line-height: 1;
  padding: 4px 6px;
  border: 1px solid #666;
  background-color: #fff;
}

button.p-nyusatsu-tag.is-active,
button.p-nyusatsu-tag:hover {
  color: #fff;
  border: 1px solid #06C;
  background-color: #06C;
  opacity: 1;
}

/* .p-nyusatsu-filter */
.p-nyusatsu-filter {
  position: relative;
  width: fit-content;
}

.p-nyusatsu-filter::before {
  content: "";
  position: absolute;
  top: 0;
  right: 0;
  width: 45px;
  height: 100%;
  background-color: #213775;
  pointer-events: none;
}

.p-nyusatsu-filter::after {
  content: "";
  position: absolute;
  top: 16px;
  right: 18px;
  width: 10px;
  height: 10px;
  border-right: 3px solid #fff;
  border-bottom: 3px solid #fff;
  transform: rotate(45deg);
  pointer-events: none;
}

.p-nyusatsu-filter select {
  font-size: 16px;
  font-weight: 700;
  line-height: 1.4;
  height: 45px;
  padding: 0 75px 0 26px;
  -webkit-appearance: none;
  appearance: none;
  cursor: pointer;
}

.p-nyusatsu-filter select:focus-visible {
  outline-color: #333;
}

/* .p-nyusatsu-table */
@media (max-width: 768px) {
  .p-nyusatsu-table__scroll {
    overflow-x: scroll;
  }
}

.rich-text .p-nyusatsu-table__scroll .p-nyusatsu-table,
.rich-text .p-nyusatsu-table__scroll .p-nyusatsu-table--text-left {
  margin-top: 0;
}

@media (max-width: 768px) {
  .p-nyusatsu-table__scroll .p-nyusatsu-table,
  .rich-text .p-nyusatsu-table__scroll .p-nyusatsu-table--text-left {
    min-width: 990px;
  }

  .p-nyusatsu-table__scroll .p-nyusatsu-table--result {
    min-width: 700px;
  }
}

.p-nyusatsu-table--text-left thead {
  background-color: #F8FBFF;
}

.p-nyusatsu-table tr:has(td) {
  height: 94px;
}

.p-nyusatsu-table--result tr:has(td) {
  height: 72px;
}

.p-nyusatsu-table th,
.p-nyusatsu-table--text-left th,
.p-nyusatsu-table td,
.p-nyusatsu-table--text-left td {
  vertical-align: middle;
  font-size: 16px;
  line-height: 2;
  border: 1px solid #D3D7E5;
}

.p-nyusatsu-table th,
.p-nyusatsu-table td {
  text-align: center;
}

.p-nyusatsu-table th,
.rich-text .p-nyusatsu-table--text-left th {
  padding: 10px;
}

.p-nyusatsu-table--result th {
  padding: 15px 10px;
}

@media (max-width: 768px) {
  .p-nyusatsu-table th {
    padding: 8px;
  }
}

.p-nyusatsu-table td,
.rich-text .p-nyusatsu-table--text-left td {
  padding: 13px 12px;
}

.p-nyusatsu-table td:has(a),
.p-nyusatsu-table td:has(del) {
  text-align: left;
}

.p-nyusatsu-table a:has(del),
.p-nyusatsu-table--text-left a:has(del) {
  color: unset;
  text-decoration: none;
}

.p-nyusatsu-table a:has(del):hover,
.p-nyusatsu-table--text-left a:has(del):hover {
  text-decoration: underline;
}

/* .p-nyusatsu .text_container */
.p-nyusatsu .text_container {
  padding: 100px 0 140px;
}

@media (max-width: 768px) {
  .p-nyusatsu .text_container {
    padding: 50px 10px 70px;
  }
}

/* .p-nyusatsu .rich-text */
.p-nyusatsu .rich-text .box {
  margin: 0 0 100px;
}

@media (max-width: 768px) {
  .p-nyusatsu .rich-text .box {
    margin: 0 0 50px;
  }
}

@media (max-width: 768px) {
  .p-nyusatsu .rich-text p {
    margin-bottom: 1em;
  }
}

.p-nyusatsu .rich-text ul.note {
  display: table;
  margin-bottom: 18px;
  padding: 0;
  border-bottom: none;
}

.p-nyusatsu .rich-text h2 ~ ul.note {
  margin-bottom: 16px;
}

.p-nyusatsu .rich-text ul.note > li {
  color: #333;
  font-size: 16px;
  line-height: 2;
  display: table;
  padding: 0;
  border-bottom: none;
}

@media (max-width: 768px) {
  .p-nyusatsu .rich-text ul.note > li {
    line-height: 1.7;
  }
}

.p-nyusatsu .rich-text h2 ~ ul.note > li {
  font-size: 13px;
  line-height: 2.4;
}

@media (max-width: 768px) {
  .p-nyusatsu .rich-text h2 ~ ul.note > li {
    line-height: 2;
  }
}

.p-nyusatsu .rich-text ul.note > li:before {
  position: relative;
  top: 0;
  left: 0;
  display: table-cell;
  white-space: nowrap;
  content: "※";
  text-align: center;
  background: none;
  transform: none;
}

.p-nyusatsu .rich-text h2 {
  font-size: 23px;
  margin: 42px 0 21px;
}

@media (max-width: 768px) {
  .p-nyusatsu .rich-text h2 {
    font-size: 20px;
  }
}

.p-nyusatsu .rich-text h2 ~ p {
  color: #333;
  font-size: 16px;
  line-height: 2;
}

@media (max-width: 768px) {
  .p-nyusatsu .rich-text h2 ~ p {
    line-height: 1.8;
  }
}

.p-nyusatsu .rich-text h3 {
  font-size: 18px;
  line-height: 1.7;
  margin: 0 0 18px;
  padding: 0;
  border-bottom: none;
}

@media (max-width: 768px) {
  .p-nyusatsu .rich-text h3 {
    font-size: 16px;
  }
}

.p-nyusatsu .rich-text h3.caution {
  font-size: 16px;
  margin: 42px 0 18px;
}

.p-nyusatsu .rich-text ul.list {
  margin: 0 0 16px;
}

.p-nyusatsu .rich-text ul.list > li {
  color: #333;
  font-size: 16px;
  line-height: 2;
  display: table;
  padding: 0;
  border-bottom: none;
}

@media (max-width: 768px) {
  .p-nyusatsu .rich-text ul.list > li {
    line-height: 1.7;
  }
}

.p-nyusatsu .rich-text ul.list > li:before {
  position: relative;
  top: 0;
  left: 0;
  display: table-cell;
  white-space: nowrap;
  content: "・";
  text-align: center;
  background: none;
  transform: none;
}

.p-nyusatsu .rich-text .table-borderless {
  text-align: left;
  font-size: 16px;
  line-height: 2;
  margin: 0;
  border: none;
}

@media (max-width: 768px) {
  .p-nyusatsu .rich-text .table-borderless {
    line-height: 1.8;
  }

  .p-nyusatsu .rich-text .table-borderless th,
  .p-nyusatsu .rich-text .table-borderless td {
    display: block;
  }

  .p-nyusatsu .rich-text .table-borderless tr:not(:first-of-type) th {
    margin: 10px 0 0;
  }
}

.p-nyusatsu .rich-text .table-borderless td {
  border: none;
  padding: 0;
}

/* .p-nyusatsu-hidden */
.p-nyusatsu-hidden {
  display: none;
}
