@charset "UTF-8";
/*
Theme Name: Twenty Twenty-one Child
Version: 1.6
Template: twentytwentyone
*/
:root {
  --viewport-width: min(100vw, 2000px);
  --b: calc(var(--viewport-width) / 160);
}

#schoolFees .internal__wrapper {
  padding-bottom: max(12.5rem, 80px);
}
#schoolFees .internal .btnBox {
  display: -webkit-box;
  display: -ms-flexbox;
  display: flex;
  -webkit-box-align: center;
      -ms-flex-align: center;
          align-items: center;
  -webkit-box-pack: center;
      -ms-flex-pack: center;
          justify-content: center;
  gap: max(2.5rem, 15px);
}
@media screen and (max-width: 1000px) {
  #schoolFees .internal .btnBox {
    -webkit-box-orient: vertical;
    -webkit-box-direction: normal;
        -ms-flex-direction: column;
            flex-direction: column;
  }
}
#schoolFees .internal .btnBox .btn {
  margin: 0;
}
#schoolFees .internal .btnBox .btn--pt {
  --baseColor: #6c9bd2;
}
#schoolFees .internal .btnBox .btn--st {
  --baseColor: #ef858c;
}
#schoolFees .internal .btnBox .btn--po {
  --baseColor: #f5a73e;
}
#schoolFees .internal .btnBox .btn:hover {
  background: var(--baseColor);
}
#schoolFees .internal .btnBox .btn:hover .btn__text {
  color: #fff;
}
#schoolFees .internal .btnBox .btn:hover .btn__arrow svg path {
  fill: #fff;
}
#schoolFees .fees {
  z-index: 20;
}
#schoolFees .fees__wrapper--pt {
  --baseColor: #6c9bd2;
  --baseColorRgb: 108, 155, 210;
  --subColor: #e8eff8;
}
#schoolFees .fees__wrapper--st {
  --baseColor: #ef858c;
  --baseColorRgb: 239, 133, 140;
  --subColor: #fff9f9;
}
#schoolFees .fees__wrapper--po {
  --baseColor: #f5a73e;
  --baseColorRgb: 245, 167, 62;
  --subColor: #fffbf5;
}
#schoolFees .fees__content {
  position: relative;
  padding-top: max(10.5rem, 50px);
  padding-bottom: max(14.5rem, 50px);
}
#schoolFees .fees__content--primary {
  background: var(--baseColor);
}
#schoolFees .fees__content--secondary {
  background: #fff;
}
#schoolFees .fees__content__bg {
  position: absolute;
  display: -webkit-box;
  display: -ms-flexbox;
  display: flex;
  width: max(101%, 1600px);
  height: auto;
  left: 50%;
  right: 0;
  bottom: 100%;
  -webkit-transform: translate(-50%, 0%);
          transform: translate(-50%, 0%);
}
#schoolFees .fees__content__supplement {
  color: #fff;
  font-size: max(2.4rem, 18px);
  font-weight: 600;
  line-height: 1.5;
  letter-spacing: 0;
}
#schoolFees .fees__content__supplement a {
  display: inline-block;
  color: inherit;
  font-family: inherit;
  font-size: inherit;
  font-weight: inherit;
  line-height: inherit;
  letter-spacing: inherit;
}
#schoolFees .fees__content .attention small {
  color: #fff;
}
#schoolFees .fees__content .attention--secondary small {
  color: #333333;
}
#schoolFees .fees__title {
  display: -webkit-box;
  display: -ms-flexbox;
  display: flex;
  -webkit-box-align: baseline;
      -ms-flex-align: baseline;
          align-items: baseline;
  gap: max(1.2rem, 10px);
  padding-bottom: max(6.5rem, 30px);
}
#schoolFees .fees__title__icon {
  -ms-flex-negative: 0;
      flex-shrink: 0;
  width: max(3.8rem, 35px);
  height: auto;
  -ms-flex-item-align: baseline;
      align-self: baseline;
}
#schoolFees .fees__title__icon img {
  vertical-align: baseline;
}
#schoolFees .fees__title__text {
  color: #fff;
  font-size: max(3.6rem, 26px);
  font-weight: 600;
  line-height: 1.5;
  letter-spacing: 0.05em;
}
#schoolFees .fees__subtitle {
  position: relative;
  padding-bottom: max(2rem, 15px);
  margin-bottom: max(2.5rem, 20px);
  font-size: max(2.4rem, 16px);
  font-weight: 600;
  line-height: 1.5;
  letter-spacing: 0;
}
#schoolFees .fees__subtitle:not(:first-of-type) {
  margin-top: max(10rem, 50px);
}
#schoolFees .fees__subtitle::before {
  content: "";
  position: absolute;
  bottom: 0;
  left: 0;
  right: 0;
  height: max(0.1rem, 1px);
  background-size: 7px max(0.1rem, 1px);
  background-repeat: repeat-x;
}
#schoolFees .fees__subtitle--primary {
  color: #fff;
}
#schoolFees .fees__subtitle--primary::before {
  background-image: linear-gradient(to right, #fff 4px, transparent 3px);
}
#schoolFees .fees__subtitle--secondary {
  color: var(--baseColor);
}
#schoolFees .fees__subtitle--secondary::before {
  background-image: linear-gradient(to right, var(--baseColor) 4px, transparent 3px);
}
#schoolFees .fees p.supplement {
  font-size: max(1.5rem, 13px);
  font-weight: 500;
  line-height: 2;
  letter-spacing: 0;
}
#schoolFees .fees p.supplement a {
  display: inline-block;
  color: inherit;
  font-family: inherit;
  font-size: inherit;
  font-weight: inherit;
  line-height: inherit;
  letter-spacing: inherit;
  text-decoration: underline;
  word-break: break-all;
}
#schoolFees .fees__list {
  margin-top: max(1rem, 8px);
  margin-bottom: max(1rem, 8px);
  /* > li で直接子のみ対象にし、ネストリストへのスタイル流入を防ぐ */
}
#schoolFees .fees__list > li {
  position: relative;
  padding-left: 1.75em;
  font-size: max(1.5rem, 13px);
  font-weight: 500;
  line-height: 1.5;
  letter-spacing: 0;
}
#schoolFees .fees__list > li:not(:first-child) {
  margin-top: max(0.5rem, 4px);
}
#schoolFees .fees__list > li {
  /* ネストされた fees__list：上余白を設け、文字を一回り小さく */
}
#schoolFees .fees__list > li > .fees__list {
  margin-top: max(0.5rem, 4px);
}
#schoolFees .fees__list > li > .fees__list > li {
  font-size: max(1.4rem, 12px);
}
#schoolFees .fees__list--number {
  counter-reset: feesListNumber;
}
#schoolFees .fees__list--number > li {
  counter-increment: feesListNumber;
}
#schoolFees .fees__list--number > li::before {
  content: "（" counter(feesListNumber) "）";
  position: absolute;
  top: 0;
  left: 0;
  line-height: inherit;
}
#schoolFees .fees__list--dot > li::before {
  content: "";
  position: absolute;
  top: 0.75em;
  left: 0.5em;
  width: 0.3em;
  height: 0.3em;
  border-radius: 50%;
  background: var(--baseColor);
  -webkit-transform: translateY(-50%);
          transform: translateY(-50%);
}
#schoolFees .fees__list--square > li::before {
  content: "";
  position: absolute;
  top: 0.3em;
  left: 0.35em;
  width: 0.8em;
  height: 0.8em;
  aspect-ratio: 1/1;
  background: var(--baseColor);
  border-radius: max(0.2rem, 2px);
}
#schoolFees .fees__group {
  margin-top: max(4.5rem, 30px);
  border-radius: max(1rem, 10px);
  overflow: hidden;
}
#schoolFees .fees__group--primary {
  background: var(--subColor);
  border: max(0.2rem, 2px) solid #fff;
}
#schoolFees .fees__group--secondary {
  background: #fff;
  border: max(0.2rem, 2px) solid var(--baseColor);
}
#schoolFees .fees__group__title {
  font-size: max(2.4rem, 16px);
  font-weight: 500;
  line-height: 1.5;
  letter-spacing: 0;
  padding: max(2.5rem, 20px) 5%;
}
#schoolFees .fees__group__title--primary {
  color: var(--baseColor);
  background: #fff;
}
#schoolFees .fees__group__title--secondary {
  color: #fff;
  background: var(--baseColor);
}
#schoolFees .fees__group__detail {
  padding: max(3.5rem, 30px) 5%;
  background: var(--subColor);
}
#schoolFees .fees__table {
  position: relative;
  width: 100%;
  border-top: max(0.2rem, 2px) solid var(--baseColor);
  overflow-x: auto;
  scrollbar-width: none;
}
#schoolFees .fees__table::-webkit-scrollbar {
  display: none;
  width: 0;
  height: 0;
}
#schoolFees .fees__table table {
  width: 100%;
  min-width: 700px;
  border-collapse: collapse;
}
#schoolFees .fees__table table td,
#schoolFees .fees__table table th {
  position: relative;
  text-align: center;
  padding: max(1.5rem, 10px) max(2rem, 15px);
  vertical-align: middle;
}
#schoolFees .fees__table table td::before,
#schoolFees .fees__table table th::before {
  content: "";
  position: absolute;
  top: 0;
  bottom: 0;
  right: 0;
  width: 1px;
  height: 100%;
  background-image: linear-gradient(to bottom, var(--baseColor) 4px, transparent 3px);
  background-size: 1px 7px;
  background-repeat: repeat-y;
}
#schoolFees .fees__table table td.sentence,
#schoolFees .fees__table table th.sentence {
  text-align: left;
}
#schoolFees .fees__table table th {
  color: var(--baseColor);
  font-size: max(1.8rem, 15px);
  font-weight: 600;
  line-height: 1.5;
  letter-spacing: 0;
  background: rgba(var(--baseColorRgb), 0.15);
}
#schoolFees .fees__table table th:last-child::before {
  display: none;
}
#schoolFees .fees__table table thead th::after {
  content: "";
  position: absolute;
  bottom: 0;
  left: 0;
  right: 0;
  height: max(0.1rem, 1px);
  background-image: linear-gradient(to right, var(--baseColor) 4px, transparent 3px);
  background-size: 7px max(0.1rem, 1px);
  background-repeat: repeat-x;
}
#schoolFees .fees__table table tbody td {
  font-size: max(1.5rem, 13px);
  font-weight: 500;
  line-height: 1.5;
  letter-spacing: 0;
}
#schoolFees .fees__table table tbody tr > td:last-child::before,
#schoolFees .fees__table table tbody tr > th:last-child::before {
  display: none;
}
#schoolFees .fees__table table tbody tr + tr > td::after,
#schoolFees .fees__table table tbody tr + tr > th::after {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: max(0.1rem, 1px);
  background-image: linear-gradient(to right, rgba(var(--baseColorRgb), 0.4) 4px, transparent 3px);
  background-size: 7px max(0.1rem, 1px);
  background-repeat: repeat-x;
}
#schoolFees .fees__table--rowspan table tbody tr:not(:first-child) > td:last-child::before,
#schoolFees .fees__table--rowspan table tbody tr:not(:first-child) > th:last-child::before {
  display: block;
}/*# sourceMappingURL=school-fees.css.map */