:root {
  --clr-main: #F49222;
  --clr-sub: #75B600;
  --clr-black: #333333;
  --clr-white: #fff;
  --clr-pink: #F88598;
  --clr-blue: #74CEE1;
  --fw-thin: 100;
  --fw-light: 300;
  --fw-regular: 400;
  --fw-medium: 500;
  --fw-bold: 700;
  --fw-black: 900;
  --cubic: cubic-bezier(0.13, 1.05, 0.96, 1);
  --cubicHigh: cubic-bezier(.18,1.07,.55,1.07);
}

@media screen and (min-width: 768px), print {
  .articleContents h2:not([class]) {
    font-size: 2rem;
    font-weight: 500;
    line-height: 1.5;
    padding: 0 0 0.9rem 0;
    position: relative;
  }
  .articleContents h2:not([class])::after {
    content: "";
    position: absolute;
    bottom: 0;
    left: 0;
    width: 100%;
    height: 0.2rem;
    background: #e3e3e3;
  }
  .articleContents h2:not([class])::before {
    content: "";
    position: absolute;
    bottom: 0;
    left: 0;
    z-index: 2;
    width: 5rem;
    height: 0.2rem;
    background: var(--clr-main);
  }
  .articleContents h3:not([class]) {
    font-size: 1.6rem;
    font-weight: 500;
  }
  .articleContents p:not([class]),
  .articleContents p[class*="u-"] {
    font-size: 1.5rem;
  }
  .articleContents table th,
  .articleContents table td {
    border: solid 1px #e3e3e3;
    padding: 1rem 2rem;
    vertical-align: top;
    font-size: 1.5rem;
  }
  .articleContents table th {
    font-weight: 500;
    background: #f6f6f6;
  }
  .articleContents table a img {
    vertical-align: sub;
    margin-right: 0.6rem;
  }
  .articleContents table:not([class]) th {
    width: 26rem;
  }
  .articleContents table:not([class]) td {
    width: 62rem;
  }
  .articleContents .note__item {
    display: block;
    font-size: 1.5rem;
    padding-left: 1em;
    text-indent: -1em;
  }
  .articleContents .note__item--sm {
    display: block;
    font-size: 1.4rem;
    padding-left: 1em;
    text-indent: -1em;
  }
  .articleContents .note__text {
    font-size: 1.5rem;
    padding-left: 1em;
    margin-bottom: 2rem;
    margin-top: 0.5rem;
  }
  .articleContents .note__inner {
    padding-left: 1em;
  }
  .articleContents .note > :first-child {
    margin-top: 0 !important;
  }
  .articleContents .note > :last-child {
    margin-bottom: 0 !important;
  }
  .articleContents .note + .note {
    margin-top: 3rem;
  }
  .articleContents > h2 {
    margin: 5rem 0 2rem;
  }
  .articleContents > h3 {
    margin: 4rem 0 2rem;
  }
  .articleContents > p {
    margin-bottom: 2rem;
  }
  .articleContents > figure {
    margin-bottom: 4rem;
  }
  .articleContents > table {
    margin: 4rem 0 1.4rem;
  }
  .articleContents > :first-child {
    margin-top: 0 !important;
  }
  .articleContents > :last-child {
    margin-bottom: 0 !important;
  }
  .articleContents__bottom {
    margin-top: 6rem;
  }
}

@media screen and (max-width: 767px), print {
  .articleContents h2:not([class]) {
    font-size: 4.26667vw;
    font-weight: 500;
    line-height: 1.5;
    padding: 0 0 2.4vw 0;
    position: relative;
  }
  .articleContents h2:not([class])::after {
    content: "";
    position: absolute;
    bottom: 0;
    left: 0;
    width: 100%;
    height: 0.53333vw;
    background: #e3e3e3;
  }
  .articleContents h2:not([class])::before {
    content: "";
    position: absolute;
    bottom: 0;
    left: 0;
    z-index: 2;
    width: 13.33333vw;
    height: 0.53333vw;
    background: var(--clr-main);
  }
  .articleContents h3:not([class]) {
    font-size: 3.73333vw;
    font-weight: 500;
  }
  .articleContents p:not([class]),
  .articleContents p[class*="u-"] {
    font-size: 3.46667vw;
  }
  .articleContents table th,
  .articleContents table td {
    border: solid 1px #e3e3e3;
    padding: 3.73333vw;
    vertical-align: top;
    font-size: 3.46667vw;
  }
  .articleContents table th {
    font-weight: 500;
    background: #f6f6f6;
  }
  .articleContents table a img {
    vertical-align: sub;
    margin-right: 0.6rem;
  }
  .articleContents table:not([class]) th {
    width: 35.29%;
  }
  .articleContents table:not([class]) td {
    width: 64.71%;
  }
  .articleContents .note__item {
    display: block;
    font-size: 3.46667vw;
    padding-left: 1em;
    text-indent: -1em;
  }
  .articleContents .note__item--sm {
    display: block;
    font-size: 3.2vw;
    padding-left: 1em;
    text-indent: -1em;
  }
  .articleContents .note__text {
    font-size: 3.46667vw;
    padding-left: 1em;
    margin-bottom: 5.33333vw;
    margin-top: 1.33333vw;
  }
  .articleContents .note__inner {
    padding-left: 1em;
  }
  .articleContents .note > :first-child {
    margin-top: 0 !important;
  }
  .articleContents .note > :last-child {
    margin-bottom: 0 !important;
  }
  .articleContents .note + .note {
    margin-top: 8vw;
  }
  .articleContents > h2 {
    margin: 10.66667vw 0 3.73333vw;
  }
  .articleContents > h3 {
    margin: 8vw 0 5.33333vw;
  }
  .articleContents > p {
    margin-bottom: 5.33333vw;
  }
  .articleContents > figure {
    margin-bottom: 5.33333vw;
  }
  .articleContents > table {
    margin: 5.33333vw 0;
  }
  .articleContents > :first-child {
    margin-top: 0 !important;
  }
  .articleContents > :last-child {
    margin-bottom: 0 !important;
  }
  .articleContents__bottom {
    margin-top: 8vw;
  }
}

@media screen and (min-width: 768px), print {
  .school_cashback .contents-head {
    margin-bottom: 4rem;
  }
  .school_cashback .school_cashback-content {
    border-bottom: solid 1px #e3e3e3;
    padding: 5rem 0;
    display: -webkit-box;
    display: -ms-flexbox;
    display: flex;
  }
  .school_cashback .school_cashback-content:first-child {
    padding-top: 0;
  }
  .school_cashback .school_cashback-content__head {
    width: 23rem;
  }
  .school_cashback .school_cashback-content__body {
    width: calc(100% - 23rem);
    display: -webkit-box;
    display: -ms-flexbox;
    display: flex;
    -ms-flex-wrap: wrap;
    flex-wrap: wrap;
  }
  .school_cashback .school_cashback-content__body__item {
    width: 50%;
  }
  .school_cashback .school_cashback-content__body__item:nth-child(n + 3) {
    margin-top: 0.8rem;
  }
  .school_cashback .school_cashback-note {
    text-align: right;
    font-size: 1.5rem;
    margin-top: 5rem;
  }
}

@media screen and (max-width: 767px), print {
  .school_cashback .school_cashback-content {
    border-bottom: solid 1px #e3e3e3;
    padding: 8vw 0;
    display: -webkit-box;
    display: -ms-flexbox;
    display: flex;
  }
  .school_cashback .school_cashback-content:first-child {
    padding-top: 0;
  }
  .school_cashback .school_cashback-content__head {
    width: 33.33333vw;
    font-size: 3.73333vw;
    font-weight: 500;
  }
  .school_cashback .school_cashback-content__body {
    width: calc(100% - 33.33333vw);
    font-size: 3.46667vw;
  }
  .school_cashback .school_cashback-content__body__item
+ .school_cashback-content__body__item {
    margin-top: 2.13333vw;
  }
  .school_cashback .school_cashback-note {
    text-align: right;
    font-size: 2.66667vw;
    margin-top: 5.33333vw;
  }
}
