: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: 2.4rem;
    font-weight: 500;
    line-height: 1.5;
    background: var(--clr-main);
    color: var(--clr-white);
    padding: 0.9rem 0.9rem 0.9rem 3.2rem;
    position: relative;
  }
  .articleContents h2:not([class])::before {
    content: "";
    width: 0.4rem;
    height: 3rem;
    background: #f9b337;
    position: absolute;
    left: 1.8rem;
    top: 50%;
    -webkit-transform: translate(0, -50%);
    -ms-transform: translate(0, -50%);
    transform: translate(0, -50%);
  }
  .articleContents h3:not([class]) {
    font-size: 2rem;
    font-weight: 500;
    line-height: 1.5;
    padding: 0 0 0.9rem 0;
    position: relative;
  }
  .articleContents h3:not([class])::after {
    content: "";
    position: absolute;
    bottom: 0;
    left: 0;
    width: 100%;
    height: 0.2rem;
    background: #e3e3e3;
  }
  .articleContents h3:not([class])::before {
    content: "";
    position: absolute;
    bottom: 0;
    left: 0;
    z-index: 2;
    width: 5rem;
    height: 0.2rem;
    background: var(--clr-main);
  }
  .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: 10rem 0 4rem;
  }
  .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) {
  .articleContents h2:not([class]) {
    font-size: 4.8vw;
    font-weight: 500;
    line-height: 1.5;
    background: var(--clr-main);
    color: var(--clr-white);
    padding: 2.4vw 2.4vw 2.4vw 6.4vw;
    position: relative;
  }
  .articleContents h2:not([class])::before {
    content: "";
    width: 1.06667vw;
    height: 8vw;
    background: #f9b337;
    position: absolute;
    left: 2.66667vw;
    top: 50%;
    -webkit-transform: translate(0, -50%);
    -ms-transform: translate(0, -50%);
    transform: translate(0, -50%);
  }
  .articleContents h3:not([class]) {
    font-size: 4.26667vw;
    font-weight: 500;
    line-height: 1.5;
    padding: 0 0 2.4vw 0;
    position: relative;
  }
  .articleContents h3:not([class])::after {
    content: "";
    position: absolute;
    bottom: 0;
    left: 0;
    width: 100%;
    height: 0.53333vw;
    background: #e3e3e3;
  }
  .articleContents h3:not([class])::before {
    content: "";
    position: absolute;
    bottom: 0;
    left: 0;
    z-index: 2;
    width: 13.33333vw;
    height: 0.53333vw;
    background: var(--clr-main);
  }
  .articleContents p:not([class]),
  .articleContents p[class*="u-"] {
    font-size: 4vw;
  }
  .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: 13.33333vw 0 8vw;
  }
  .articleContents > h3 {
    margin: 10.66667vw 0 3.73333vw;
  }
  .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 {
  .apply-flow .mv_u__img {
    background: url(../images/apply-flow/mv_pc.jpg) no-repeat center center;
    background-size: cover;
  }
  .apply-flow .articleContents figure {
    margin-bottom: 6rem;
  }
  .apply-flow .articleContents .apply-flow-img {
    max-width: 55rem;
    margin-left: auto;
    margin-right: auto;
  }
  .apply-flow .articleContents .note__item--sm {
    padding-left: 0;
    text-indent: 0;
  }
  .apply-flow .articleContents .note__item + .note__item {
    margin-top: 1em;
  }
  .apply-flow .articleContents .c-title__circle {
    margin: 4rem 0 2rem;
  }
  .apply-flow-bank-table tr th {
    vertical-align: middle;
  }
  .apply-flow-bank-table tr td {
    padding: 0;
  }
  .apply-flow-bank-table tr td span:nth-of-type(1) {
    display: inline-block;
    width: 28rem;
    padding: 1.2rem 2rem;
  }
  .apply-flow-bank-table tr td span:nth-of-type(2) {
    display: inline-block;
    width: 46.3rem;
    padding: 1.2rem 2rem;
    border-left: solid 1px #e3e3e3;
  }
  .apply-flow-box {
    border-radius: 1rem;
    background: #ecf6f8;
    padding: 2rem;
    margin: 2rem auto 0;
  }
  .apply-flow-box p {
    font-size: 1.4rem !important;
  }
  .apply-flow-box--border {
    border-radius: 1rem;
    border: solid 1px #e3e3e3;
    padding: 2rem;
    margin: 2rem auto 0;
  }
  .apply-flow-box--border p {
    font-size: 1.4rem !important;
  }
  .apply-flow-link-btn__wrap {
    margin-top: 4rem;
    display: -webkit-box;
    display: -ms-flexbox;
    display: flex;
    -ms-flex-wrap: wrap;
    flex-wrap: wrap;
  }
  .c-link-btn {
    width: calc((100% - 2.6rem) / 2);
    min-width: auto;
    position: relative;
  }
  .c-link-btn .desvg.replaced-svg {
    width: 1.9rem;
    height: 1.9rem;
    position: absolute;
    top: 3.8rem;
    left: 2rem;
  }
  .c-link-btn:nth-child(n + 3) {
    margin-top: 2.4rem;
  }
  .c-link-btn:nth-child(even) {
    margin-left: 2.6rem;
  }
  .apply-flow-fee {
    padding: 6rem;
    max-height: 80vh;
    overflow-y: auto;
  }
  .apply-flow-fee__title {
    margin: 0 0 2rem !important;
  }
  .apply-flow-fee__close {
    width: 22.2rem;
    height: 6rem;
    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;
    border-radius: 0.6rem;
    border: solid 1px #e3e3e3;
    font-size: 1.6rem;
    font-weight: 500;
    line-height: 1;
    margin: 4rem auto 0;
  }
  .apply-flow-fee__close__inner {
    position: relative;
    padding-left: 2rem;
  }
  .apply-flow-fee__close__inner::after, .apply-flow-fee__close__inner::before {
    position: absolute;
    content: "";
    top: 50%;
    left: 0;
    -webkit-transform: translate(0, -50%) rotate(45deg);
    -ms-transform: translate(0, -50%) rotate(45deg);
    transform: translate(0, -50%) rotate(45deg);
    height: 1.3rem;
    width: 0.2rem;
    background: #000;
  }
  .apply-flow-fee__close__inner::before {
    -webkit-transform: translate(0, -50%) rotate(-45deg);
    -ms-transform: translate(0, -50%) rotate(-45deg);
    transform: translate(0, -50%) rotate(-45deg);
  }
  .apply-flow-fee__table {
    width: 100%;
  }
  .apply-flow-fee__table thead tr th,
  .apply-flow-fee__table thead tr td {
    font-size: 1.4rem;
    line-height: 1.4;
    text-align: center;
  }
  .apply-flow-fee__table thead tr th {
    background: #ffffd3;
  }
  .apply-flow-fee__table tbody tr:nth-child(even) {
    background: #f6f6f6;
  }
  .apply-flow-fee__table tbody tr th,
  .apply-flow-fee__table tbody tr td {
    font-size: 1.4rem;
    line-height: 1.4;
    text-align: center;
  }
}

@media screen and (max-width: 767px), print {
  .apply-flow .mv_u__img {
    background: url(../images/apply-flow/mv_sp.jpg) no-repeat center center;
    background-size: cover;
  }
  .apply-flow .articleContents figure {
    margin-bottom: 10.66667vw;
  }
  .apply-flow .articleContents .note__item--sm {
    font-size: 4vw;
    padding-left: 0;
    text-indent: 0;
  }
  .apply-flow .articleContents .note__item + .note__item {
    margin-top: 1em;
  }
  .apply-flow .articleContents .c-title__circle {
    margin: 10.66667vw 0 3.73333vw;
  }
  .apply-flow-bank-table {
    width: 100%;
  }
  .apply-flow-bank-table tr {
    display: -webkit-box;
    display: -ms-flexbox;
    display: flex;
  }
  .apply-flow-bank-table tr th {
    max-width: 18.66667vw;
    min-width: 18.66667vw;
    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;
  }
  .apply-flow-bank-table tr td {
    margin-left: -1px;
    width: 100%;
  }
  .apply-flow-bank-table tr td span {
    display: block;
  }
  .apply-flow-bank-table tr + tr {
    margin-top: -1px;
  }
  .apply-flow-box {
    border-radius: 2.66667vw;
    background: #ecf6f8;
    padding: 5.33333vw;
    margin: 5.33333vw auto 0;
  }
  .apply-flow-box p {
    font-size: 3.73333vw !important;
  }
  .apply-flow-box--border {
    border-radius: 2.66667vw;
    border: solid 1px #e3e3e3;
    padding: 5.33333vw;
    margin: 5.33333vw auto 0;
  }
  .apply-flow-box--border p {
    font-size: 3.73333vw !important;
  }
  .apply-flow-link-btn__wrap {
    margin-top: 8vw;
  }
  .c-link-btn {
    padding: 4.26667vw 5.33333vw 4.26667vw 11.73333vw;
    position: relative;
    letter-spacing: -0.003em;
  }
  .c-link-btn .desvg.replaced-svg {
    width: 5.06667vw;
    height: 5.06667vw;
    position: absolute;
    top: 50%;
    left: 4vw;
    -webkit-transform: translate(0, -50%);
    -ms-transform: translate(0, -50%);
    transform: translate(0, -50%);
  }
  .c-link-btn__head {
    padding-bottom: 1.6vw;
  }
  .c-link-btn + .c-link-btn {
    margin-top: 4.26667vw;
  }
  .apply-flow-fee {
    padding: 8vw 4vw;
    max-height: 75vh;
    overflow-y: auto;
  }
  .apply-flow-fee__title {
    margin: 0 0 3.73333vw !important;
    font-size: 4vw;
    letter-spacing: -0.003em;
  }
  .apply-flow-fee__title span {
    display: block;
    font-size: 3.73333vw;
    font-weight: normal;
  }
  .apply-flow-fee__close {
    width: 37.33333vw;
    height: 9.6vw;
    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;
    border-radius: 1.6vw;
    border: solid 1px #e3e3e3;
    font-size: 3.73333vw;
    font-weight: 500;
    line-height: 1;
    margin: 5.33333vw auto 0;
  }
  .apply-flow-fee__close__inner {
    position: relative;
    padding-left: 5.33333vw;
  }
  .apply-flow-fee__close__inner::after, .apply-flow-fee__close__inner::before {
    position: absolute;
    content: "";
    top: 50%;
    left: 0;
    -webkit-transform: translate(0, -50%) rotate(45deg);
    -ms-transform: translate(0, -50%) rotate(45deg);
    transform: translate(0, -50%) rotate(45deg);
    height: 2.66667vw;
    width: 0.53333vw;
    background: #000;
  }
  .apply-flow-fee__close__inner::before {
    -webkit-transform: translate(0, -50%) rotate(-45deg);
    -ms-transform: translate(0, -50%) rotate(-45deg);
    transform: translate(0, -50%) rotate(-45deg);
  }
  .apply-flow-fee__table {
    width: 100%;
  }
  .apply-flow-fee__table thead {
    display: none;
  }
  .apply-flow-fee__table tbody tr {
    border: solid 1px #e3e3e3;
    display: -webkit-box;
    display: -ms-flexbox;
    display: flex;
    -webkit-box-orient: vertical;
    -webkit-box-direction: normal;
    -ms-flex-direction: column;
    flex-direction: column;
  }
  .apply-flow-fee__table tbody tr .pc {
    display: none !important;
  }
  .apply-flow-fee__table tbody tr th,
  .apply-flow-fee__table tbody tr td {
    font-size: 3.73333vw;
    line-height: 1.4;
    text-align: left;
    border: none;
  }
  .apply-flow-fee__table tbody tr td:nth-child(2) {
    background: #ffffd3;
    border-bottom: solid 1px #e3e3e3;
    font-weight: 500;
  }
  .apply-flow-fee__table tbody tr td:nth-child(n + 4) {
    margin-top: -6.4vw;
  }
  .apply-flow-fee__table tbody tr + tr {
    border-top: none;
  }
}
