.price-section__image {
  background-image: url(../../../assets/images/page/price/system.png);
  background-size: cover;
  background-position: center;
  padding-top: clamp(20rem, 18.3333333333rem + 5.5555555556vw, 25rem);
  margin-bottom: -40px;
}
@media screen and (max-width: 480px) {
  .price-section__image {
    background-image: url(../../../assets/images/page/price/system_sp.png);
    aspect-ratio: 390/320;
  }
}

.price-section {
  background-color: #FFFFFF;
  background-image: url(../../../assets/images/common/grid.png);
  border-radius: clamp(1.5rem, 1.1666666667rem + 1.1111111111vw, 2.5rem) clamp(1.5rem, 1.1666666667rem + 1.1111111111vw, 2.5rem) 0 0;
}
@media screen and (max-width: 480px) {
  .price-section {
    padding-top: 4rem;
  }
}

.scroll-wrapper {
  overflow-x: auto;
  -webkit-overflow-scrolling: touch;
}
@media screen and (max-width: 480px) {
  .scroll-wrapper {
    margin: 0 calc(50% - 50vw);
    width: 100vw;
  }
}

.price-table {
  width: 100%;
  min-width: 1280px;
  text-align: center;
  position: relative;
  padding-top: 4rem;
}
@media screen and (max-width: 480px) {
  .price-table {
    min-width: 768px;
    padding-top: 3rem;
  }
}

.price-table__caption {
  position: absolute;
  left: 25%;
  top: 0;
  background: #01A9DA;
  color: #FFFFFF;
  font-size: 1.5rem;
  font-weight: 500;
  padding: 0.5em 1em;
  border-radius: 8px;
}
.price-table__caption::before {
  content: "";
  width: 24px;
  height: 16px;
  background-color: #01A9DA;
  position: absolute;
  left: 50%;
  transform: translateX(-50%);
  bottom: -16px;
  clip-path: polygon(0 0, 50% 100%, 100% 0);
}
@media screen and (max-width: 480px) {
  .price-table__caption {
    font-size: 1rem;
    left: 16%;
  }
  .price-table__caption::before {
    width: 16px;
    height: 12px;
    bottom: -11px;
  }
}

.price-table table {
  border-collapse: collapse;
  font-weight: 400;
  width: 100%;
  table-layout: fixed;
}

.price-table th,
.price-table td {
  width: 20%;
  height: 7rem;
  border: 8px solid #FFFFFF;
  text-align: center;
  vertical-align: middle;
  font-size: 1.5rem;
}
@media screen and (max-width: 480px) {
  .price-table th,
  .price-table td {
    font-size: 1rem;
    height: 5rem;
    width: 10.5rem;
    border-width: 4px;
  }
}

.price-table thead th {
  color: #fff;
  align-content: flex-end;
  border-bottom: 8px solid #FFFFFF;
}
.price-table thead th .thead__inner {
  display: block;
  font-size: 2.25rem;
  font-weight: 500;
  background-color: #FF395F;
  width: 100%;
  padding: 1rem;
  border-radius: 16px 16px 0 0;
}
.price-table thead th .thead__inner span {
  font-size: 1.5rem;
  font-weight: 400;
}
.price-table thead th small {
  font-size: 1rem;
}
.price-table thead th.thead__l .thead__inner {
  background-color: #E1395F;
  padding-top: 2rem;
  font-size: 2.5rem;
}
@media screen and (max-width: 480px) {
  .price-table thead th {
    border-width: 4px;
  }
  .price-table thead th .thead__inner {
    font-size: 1.5rem;
    padding: 0.5rem;
  }
  .price-table thead th .thead__inner span {
    font-size: 1rem;
  }
  .price-table thead th small {
    font-size: 0.6875rem;
  }
  .price-table thead th.thead__l .thead__inner {
    font-size: 1.5rem;
    padding-top: 1.5rem;
  }
}

.price-table tbody th {
  background: #F2F2F2;
  font-weight: 500;
  width: 15%;
}
@media screen and (max-width: 480px) {
  .price-table tbody th {
    width: 2.5rem;
    height: auto;
    padding-top: 1rem;
    padding-bottom: 1rem;
  }
  .price-table tbody th span {
    display: inline-block;
    -webkit-writing-mode: vertical-lr;
    -ms-writing-mode: tb-lr;
    writing-mode: vertical-lr;
    vertical-align: middle;
    white-space: nowrap;
    letter-spacing: 0.15em;
    height: auto;
  }
}

.price-table thead th:nth-of-type(1) {
  width: 15%;
}
@media screen and (max-width: 480px) {
  .price-table thead th:nth-of-type(1) {
    width: 2.5rem;
  }
}

.price-table td {
  background: #F9E3E8;
  font-weight: 500;
}

.price-tr-1 td,
.price-tr-2 td {
  color: #E1395F;
  letter-spacing: 0.05em;
}

.price-tr-1 td {
  font-size: 3rem;
  position: relative;
}
.price-tr-1 td:nth-of-type(1)::before, .price-tr-1 td:nth-of-type(1)::after, .price-tr-1 td:nth-of-type(2)::before, .price-tr-1 td:nth-of-type(2)::after {
  content: "";
  width: 4px;
  background-color: #E1395F;
  position: absolute;
  left: 0;
  top: -12px;
  bottom: -4px;
}
.price-tr-1 td:nth-of-type(1)::after, .price-tr-1 td:nth-of-type(2)::after {
  right: 0;
  left: auto;
}
.price-tr-1 td .yen-mark {
  font-size: 2rem;
  margin-right: 0.25rem;
}
.price-tr-1 td small {
  font-size: 0.875rem;
  letter-spacing: 0;
}
@media screen and (max-width: 480px) {
  .price-tr-1 td {
    font-size: 2rem;
  }
  .price-tr-1 td .yen-mark {
    font-size: 1.5rem;
  }
  .price-tr-1 td small {
    font-size: 0.625rem;
  }
}

.price-tr-2 td {
  font-size: 2rem;
  font-weight: 500;
  position: relative;
}
.price-tr-2 td:nth-of-type(1)::before, .price-tr-2 td:nth-of-type(1)::after, .price-tr-2 td:nth-of-type(2)::before, .price-tr-2 td:nth-of-type(2)::after {
  content: "";
  width: 4px;
  background-color: #E1395F;
  position: absolute;
  left: 0px;
  top: -4px;
  bottom: -4px;
}
.price-tr-2 td:nth-of-type(1)::after, .price-tr-2 td:nth-of-type(2)::after {
  right: 0px;
  left: auto;
}
.price-tr-2 td .size-l {
  font-size: 3rem;
}
@media screen and (max-width: 480px) {
  .price-tr-2 td {
    font-size: 1.5rem;
  }
  .price-tr-2 td .size-l {
    font-size: 2rem;
  }
}

.price-tr-3 td {
  position: relative;
}
.price-tr-3 td:nth-of-type(1)::before, .price-tr-3 td:nth-of-type(1)::after, .price-tr-3 td:nth-of-type(2)::before, .price-tr-3 td:nth-of-type(2)::after {
  content: "";
  width: 4px;
  background-color: #E1395F;
  position: absolute;
  left: 0px;
  top: -4px;
  bottom: 0;
}
.price-tr-3 td:nth-of-type(1)::after, .price-tr-3 td:nth-of-type(2)::after {
  right: 0px;
  left: auto;
}
.price-tr-3 td:nth-of-type(1) span, .price-tr-3 td:nth-of-type(2) span {
  display: block;
  position: absolute;
  height: 4px;
  background-color: #E1395F;
  position: absolute;
  left: 1px;
  bottom: 0;
  right: 1px;
}
.price-tr-4 td {
  line-height: 2;
  padding-top: 1.5rem;
  padding-bottom: 1.5rem;
}
.price-tr-4 td span {
  display: block;
  font-size: 1rem;
  font-weight: 400;
}