@charset "UTF-8";

/* =============================================================
  ad.css
 =============================================================== */

#page-ad .page-title {
  width: 39.2%;
  max-width: 753px;
}

#ad {
  background: #d6e9ff;
  padding: 50px 0 70px;
}

.ad__block {
  background: var(--white);
  border-radius: 20px;
  padding: 50px 110px 60px;
}

.ad__block h3 {
  font-size: 3.2rem;
  margin-bottom: 25px;
  text-align: center;
}

.ad__block h3 + p {
  font-weight: 500;
  text-align: center;
  margin-bottom: 70px;
}

.ad__block p {
  line-height: 1.8;
  margin-bottom: 30px;
}

.ad__details {
  margin-bottom: 90px;
}

.ad__block h4 {
  border: 1px solid var(--navy);
  border-radius: 100vmax;
  font-size: 2.5rem;
  font-weight: 500;
  margin-bottom: 10px;
  text-align: center;
  padding: 10px;
}

.ad__wrap {
  display: flex;
  justify-content: space-between;
  gap: 25px;
  margin-bottom: 30px;
}

.ad__web .ad__img {
  width: calc((100% - 25px) / 2);
}

.ad__img img {
  width: 100%;
}

.ad__web .ad__img img {
  border-radius: 25px;
  border: 1px solid #7883ad;
  margin-bottom: 5px;
}

.ad__web .ad__img .caption {
  font-size: 1.3rem;
  text-align: right;
  margin-bottom: 0;
}

.ad__table {
  margin-bottom: 5px;
  width: 100%;
}

.ad__table__title {
  background: var(--navy);
  color: var(--white);
  display: inline-block;
  padding: 5px 20px;
  font-size: 1.6rem;
  font-weight: 400;
  margin-bottom: 10px;
}

.simplebar-track {
  display: none;
}

.ad__table table {
  width: 100%;
  border-collapse: collapse;
  table-layout: fixed;
  margin-bottom: 5px;
}

.ad__table tr {
  border-bottom: 1px solid #7681ab;
}

.ad__table thead tr {
  border-bottom: none;
}

.ad__table th,
.ad__table td {
  padding: 10px;
  text-align: center;
  vertical-align: top;
  font-size: 1.5rem;
  line-height: 1.5;
}

.ad__table thead th {
  background-color: #c8e2ff;
  font-weight: 400;
  color: var(--navy);
  text-align: center;
}

.ad__table .ad__table__blank {
  width: 25%;
}

.ad__table .ad__table__plan {
  width: 37.5%;
  padding: 9px 10px;
}

.ad__table .ad__table__row {
  text-align: left;
}

.ad__table .ad__table__notes {
  vertical-align: middle;
}

.ad__table .ad__table__note {
  padding: 15px 25px;
}

.ad__table .ad__table__note ul {
  margin: 0;
  padding-left: 20px;
  list-style-type: disc;
}

.ad__table .ad__table__note li {
  margin-bottom: 8px;
  text-align: left;
}

.ad__table .caption {
  font-size: 1.3rem;
  text-align: left;
  line-height: 1.6;
  padding-left: 1em;
  text-indent: -1em;
}

.ad__table__wrap {
  display: flex;
  justify-content: space-between;
  gap: 35px;
}

.ad__table.table02 {
  width: 60%;
}

.ad__table__inner {
  display: flex;
  justify-content: space-between;
  gap: 10px;
}

.ad__table.table03 {
  width: 39%;
}

.ad__table.table03 .ad__table__price {
  width: 40%;
}

.ad__table__wrap th:first-of-type,
.ad__table__wrap td:first-of-type {
  text-align: left;
}

.ad__overview table {
  width: 100%;
  border-collapse: collapse;
  font-size: 1.5rem;
  margin-bottom: 35px;
}

.ad__overview th,
.ad__overview td {
  border: 1px solid #7681ab;
  font-size: 1.4rem;
  padding: 8px 3px;
  text-align: center;
}

.ad__overview thead th {
  background-color: #edf5ff;
  font-weight: 400;
  width: 15.9%;
}

.ad__overview thead th:first-of-type {
  width: 34.3%;
}

.ad__overview tbody td {
  background-color: #fff;
  vertical-align: middle;
}

.ad__overview td span {
  font-weight: 500;
  display: block;
}

.ad__block .text-link {
  text-decoration: underline;
}

.ad__block .ad__redtext {
  color: #e23d57;
  display: block;
  font-size: 2.8rem;
  font-weight: 500;
  margin-bottom: 5px;
}

@media screen and (max-width: 1024px) {
  .ad__block {
    padding: 50px 60px 60px;
  }

  .ad__table th,
  .ad__table td {
    font-size: 1.4rem;
  }

  .ad__table.table02 .ad__table__price {
    width: 60%;
  }

  .ad__table.table03 .ad__table__price {
    width: 50%;
  }
}

@media screen and (max-width: 768px) {
  #page-ad .page-title {
    width: 84.2%;
    max-width: 316px;
  }

  .ad__block {
    border-radius: 10px;
    padding: 40px 20px 10px;
    margin-bottom: 20px;
  }

  .ad__block h3 {
    font-size: 2.4rem;
    line-height: 1.4;
    margin-bottom: 20px;
  }

  .ad__block h3 + p {
    line-height: 1.8;
    text-align: left;
    margin-bottom: 35px;
  }

  .ad__block p {
    line-height: 1.5;
    margin-bottom: 20px;
  }

  .ad__details {
    margin-bottom: 50px;
  }

  .ad__block h4 {
    font-size: 2rem;
    line-height: 1.25;
  }

  .ad__wrap {
    flex-direction: column;
    gap: 10px;
    margin-bottom: 25px;
  }

  .ad__web .ad__img {
    width: 100%;
  }

  .ad__web .ad__img img {
    border-radius: 15px;
    margin-bottom: 3px;
  }

  .ad__web .ad__img .caption {
    font-size: 1.2rem;
  }

  .simplebar-track {
    display: block;
  }

  .simplebar-scrollbar {
    background-color: var(--navy);
    border-radius: 5px;
    height: 10px;
  }

  .simplebar-track {
    background-color: #c5c5c5;
    border-radius: 5px;
    height: 10px;
  }

  .ad__table {
    overflow-x: auto;
    -webkit-overflow-scrolling: touch;
  }

  .ad__table__title {
    line-height: 1.4;
    padding: 4px 16px;
  }

  .ad__table table {
    min-width: 500px;
    width: auto;
  }

  .ad__table th,
  .ad__table td {
    font-size: 1.3rem;
    vertical-align: middle;
  }

  .ad__table .ad__table__blank {
    width: 13%;
  }

  .ad__table .ad__table__plan {
    width: 24%;
    padding: 9px 10px;
  }

  .ad__table .ad__table__plan:last-of-type {
    width: 28%;
  }

  .ad__table .ad__table__note {
    padding: 15px 10px;
  }

  .ad__table .caption {
    font-size: 1.2rem;
    min-width: 500px;
    margin-bottom: 20px;
  }

  .ad__table__wrap {
    flex-direction: column;
    gap: 15px;
  }

  .ad__table.table02,
  .ad__table.table03 {
    overflow-x: auto;
    width: 100%;
  }

  .ad__table.table02 table,
  .ad__table.table03 table,
  .ad__table .caption {
    min-width: 100%;
  }

  .ad__table.table02 .ad__table__title {
    text-align: center;
    width: 100%;
  }

  .ad__table__inner {
    gap: 0;
    flex-direction: column;
  }

  .ad__table__inner table:first-of-type {
    margin-bottom: 0;
  }

  .ad__table__inner table + table thead {
    display: none;
  }

  .ad__table.table02 .ad__table__price,
  .ad__table.table03 .ad__table__price {
    text-align: right;
    width: 40%;
  }

  .ad__table.table02 td:last-of-type,
  .ad__table.table03 td:last-of-type {
    text-align: right;
    padding: 10px 20px;
    width: 40%;
  }

  .ad__overview {
    overflow-x: auto;
    margin-bottom: 30px;
    -webkit-overflow-scrolling: touch;
  }

  .ad__overview table {
    min-width: 766px;
    margin-bottom: 20px;
    width: auto;
  }

  .ad__overview th,
  .ad__overview td {
    font-size: 1.3rem;
    padding: 5px 3px;
  }

  .ad__overview thead th:first-of-type {
    width: 32.3%;
  }

  .ad__block .ad__redtext {
    font-size: 1.8rem;
  }
}

@media screen and (max-width: 374px) {
  .ad__block h4 {
    font-size: 1.7rem;
  }

  .ad__table__title {
    font-size: 1.5rem;
    padding: 4px 5px;
  }

  .ad__table th,
  .ad__table td {
    font-size: 1.2rem;
  }

  .ad__table__wrap th:first-of-type,
  .ad__table__wrap td:first-of-type {
    padding: 10px 5px 10px 10px;
  }

  .ad__table.table02 td:last-of-type,
  .ad__table.table03 td:last-of-type {
    padding: 10px 15px;
  }

  .ad__block .ad__redtext {
    font-size: 1.5rem;
  }
}
