: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;
  }
}

.course-tag {
  font-size: 1.2rem;
  font-weight: 500;
  color: #fff;
  border-radius: 1rem;
  padding: 0 0.6rem;
  white-space: nowrap;
}

.course-tag + .course-tag {
  margin-left: 0.4rem;
}

.course-tag--kantou {
  background: #8fc615;
}

.course-tag--toukai {
  background: #74cee1;
}

.course-tag--kansai {
  background: #f88598;
}

.course-tag--kyusyu {
  background: #f9b337;
}

.course-tag--chugoku {
  background: #BC72CA;
}

.course-tag--zenkoku {
  background: #ff4444;
}

@media screen and (max-width: 767px), print {
  .course-tag {
    font-size: 3.2vw;
    font-weight: 500;
    color: #fff;
    border-radius: 2.66667vw;
    padding: 0 1.06667vw;
    white-space: nowrap;
  }
  .course-tag + .course-tag {
    margin-left: 1.06667vw;
  }
}

@media screen and (min-width: 768px), print {
  .articleContents h2:not([class]) {
    margin-bottom: 4rem;
    margin-top: 8rem;
  }
  .localnav__list__item {
    width: 28rem;
  }
  .contents-head {
    margin-bottom: 8rem;
  }
  .course-head__ill {
    margin-top: 4rem;
  }
  .course-detail__wrap {
    display: -webkit-box;
    display: -ms-flexbox;
    display: flex;
    -ms-flex-wrap: wrap;
    flex-wrap: wrap;
  }
  .course-detail {
    width: 42.7rem;
    margin-right: 2.6rem;
    padding: 2rem;
    background: #f8f5ec;
    border: solid 1px #f8f5ec;
    border-radius: 1rem;
  }
  .course-detail:hover {
    border: solid 1px var(--clr-main);
    opacity: 1;
  }
  .course-detail:nth-child(even) {
    margin-right: 0;
  }
  .course-detail:nth-child(n + 3) {
    margin-top: 2.7rem;
  }
  .course-detail__title {
    font-weight: 500;
    font-size: 1.8rem;
    line-height: 1.2;
    color: #f49222;
    margin-bottom: 1rem;
  }
  .course-detail__text {
    font-size: 1.4rem;
  }
  .course-detail__tag {
    margin-top: 1rem;
    display: -webkit-box;
    display: -ms-flexbox;
    display: flex;
    -webkit-box-align: center;
    -ms-flex-align: center;
    align-items: center;
    -ms-flex-wrap: wrap;
    flex-wrap: wrap;
  }
  .course-detail__tag span {
    margin-right: 1rem;
    font-weight: 500;
    font-size: 1.4rem;
  }
  .course-detail__tag span:last-of-type {
    margin-left: 3rem;
  }
  .course-content__wrap {
    display: -webkit-box;
    display: -ms-flexbox;
    display: flex;
    -webkit-box-pack: justify;
    -ms-flex-pack: justify;
    justify-content: space-between;
    -webkit-box-align: end;
    -ms-flex-align: end;
    align-items: flex-end;
  }
  .course-content {
    width: 42.7rem;
  }
  .course-content__head {
    text-align: center;
    font-size: 1.8rem;
    font-weight: 500;
    margin-bottom: 1.4rem;
  }
  .course-content__head span {
    display: block;
    font-size: 1.4rem;
  }
  .course-content__body {
    width: 100%;
  }
  .course-content__foot {
    border: solid 0.4rem transparent;
    border-radius: 0 0 1rem 1rem;
    padding: 3rem 2rem;
  }
  .course-content__foot__text {
    font-size: 1.4rem;
    letter-spacing: -0.003em;
  }
  .course-content__foot__tag {
    display: -webkit-box;
    display: -ms-flexbox;
    display: flex;
    -ms-flex-wrap: wrap;
    flex-wrap: wrap;
    margin-top: 1rem;
  }
  .course-content__banner {
    margin-top: 2rem;
    display: block;
  }
  .course-content--beginner .course-content__head {
    color: #f49222;
  }
  .course-content--beginner .course-content__foot {
    border-color: #f49222;
  }
  .course-content--jitsumu .course-content__head {
    color: #75b600;
  }
  .course-content--jitsumu .course-content__foot {
    border-color: #75b600;
  }
  .course-content a {
    display: inline-block;
  }
  .course-modalcashback {
    padding: 6rem 5rem;
    max-height: 80vh;
    overflow-y: auto;
  }
}

@media screen and (max-width: 767px), print {
  .u-m-tb {
    margin-top: 2vw;
    margin-bottom: 1vw;
  }
  .u-w-sp-full {
    width: 100% !important;
  }
  .articleContents h2:not([class]) {
    margin-bottom: 8vw;
    margin-top: 16vw;
  }
  .localnav__list__item {
    width: 100%;
  }
  .localnav__list__item:nth-child(n + 2) {
    margin-top: 2.66667vw;
  }
  .contents-head {
    margin: 0 0 10.66667vw;
  }
  .course-head__ill {
    margin-top: 5.33333vw;
  }
  .course-detail {
    display: block;
    width: 100%;
    padding: 5.33333vw;
    background: #f8f5ec;
    border: solid 1px #f8f5ec;
    border-radius: 2.66667vw;
  }
  .course-detail:hover {
    border: solid 1px var(--clr-main);
  }
  .course-detail + .course-detail {
    margin-top: 5.33333vw;
  }
  .course-detail__title {
    font-weight: 500;
    font-size: 4.8vw;
    line-height: 1.2;
    color: #f49222;
    margin-bottom: 2.66667vw;
  }
  .course-detail__text {
    font-size: 3.73333vw;
  }
  .course-detail__tag {
    margin-top: 2.66667vw;
    display: -webkit-box;
    display: -ms-flexbox;
    display: flex;
    -ms-flex-wrap: wrap;
    flex-wrap: wrap;
  }
  .course-detail__tag span {
    margin-right: 1.6vw;
    font-weight: 500;
    font-size: 3.2vw;
  }
  .course-detail__tag span:last-of-type {
    margin-left: 2.66667vw;
  }
  .course-content {
    width: 100%;
  }
  .course-content + .course-content {
    margin-top: 10.66667vw;
  }
  .course-content__head {
    text-align: center;
    font-size: 4vw;
    font-weight: 500;
    margin-bottom: 2.66667vw;
    letter-spacing: -0.003em;
  }
  .course-content__head span {
    display: block;
    font-size: 4vw;
  }
  .course-content__body {
    width: 100%;
  }
  .course-content__foot {
    border: solid 1.06667vw transparent;
    border-radius: 0 0 2.66667vw 2.66667vw;
    padding: 5.33333vw;
  }
  .course-content__foot__text {
    font-size: 3.73333vw;
  }
  .course-content__foot__tag {
    display: -webkit-box;
    display: -ms-flexbox;
    display: flex;
    -ms-flex-wrap: wrap;
    flex-wrap: wrap;
    margin-top: 2.66667vw;
  }
  .course-content__banner {
    margin-top: 5.33333vw;
    display: block;
  }
  .course-content--beginner .course-content__head {
    color: #f49222;
  }
  .course-content--beginner .course-content__foot {
    border-color: #f49222;
  }
  .course-content--jitsumu .course-content__head {
    color: #75b600;
  }
  .course-content--jitsumu .course-content__foot {
    border-color: #75b600;
  }
  .course-modalcashback {
    padding: 4vw 5.33333vw;
    max-height: 75vh;
    overflow-y: auto;
  }
}
