@charset "utf-8";
.highschool_exam h2,
.highschool_exam h3,
.highschool_exam h4,
.highschool_exam h5 {
    color: #02395b;
    font-family: var(--fontFamily-sans-noto);
}
.imgWrap {
    width: fit-content;
    margin: 30px auto;
}
.imgWrap img {
    height: auto;
}
@media screen and (max-width: 600px) {
    .imgWrap {
        margin: 20px auto;
    }
}

/***********************************************************************
メインビジュアル
***********************************************************************/
.firstView {
    width: 100%;
    height: 350px;
    background-image: url(/area/assets/images/highschool_exam/highschool_exam_FV_left.png), url(/area/assets/images/highschool_exam/highschool_exam_FV_right.png), linear-gradient(to bottom right, #fdf7ea, #fcf4e4);
    background-repeat: no-repeat;
    background-size: auto 100%, auto 100%, cover;
    background-position: calc(50% - 70rem) 0, calc(50% + 46rem) 50%, 50% 50%;
    position: relative;
}
.firstView h1 {
    font-family: var(--fontFamily-sans-noto);
    font-weight: 900;
    font-size: 8rem;
    line-height: 1.2;
    color: #eb2323;
    text-shadow: 3px 3px 0 #fff;
    margin-bottom: 0;
    position: absolute;
    left: calc(50% - 56rem);
    top: 50%;
    transform: translateY(-50%);
    letter-spacing: 0.03em;
}
.firstView h1 span {
    display: block;
}
.firstView h1 .subCatch {
    font-weight: 500;
    font-size: 3rem;
    line-height: 1;
    color: #1a294a;
    margin-bottom: 0.5em;
    width: fit-content;
    padding-inline: 0.3em;
    padding-bottom: 0.15em;
    text-shadow: none !important;
    letter-spacing: 0;
}
.firstView h1 .smallTxt {
    font-size: 75%;
    letter-spacing: 0;
}
.firstView h1 span span {
    display: inline;
    font-size: 75%;
}
@media screen and (max-width: 1279px) {
    .firstView {
        height: fit-content;
        background-position: -11vw 0, 60vw 50%, 50% 50%;
        padding-block: 18vw;
    }
    .firstView h1 {
        font-size: 8vw;
        left: 4.5vw;
    }
    .firstView h1 .subCatch {
        font-size: 3.2vw;
    }
}
@media screen and (max-width: 600px) {
    .firstView {
        background-image: url(/area/assets/images/highschool_exam/highschool_exam_FV_sp_right.png), url(/area/assets/images/highschool_exam/highschool_exam_FV_sp.png), linear-gradient(to bottom right, #fdf7ea, #fcf4e4);
        background-position: 0 2vw, 50% calc(100% - 1.8vw), 50% 50%;
        background-size: contain, calc(100% - 3vw), cover;
        padding-block: 9.5vw 46.5vw;
        padding-inline: 4vw;
    }
    .firstView h1 {
        position: relative;
        top: unset;
        transform: unset;
        width: fit-content;
        font-size: 13vw;
        left: 4vw;
    }
    .firstView h1 .subCatch {
        font-size: 5.2vw;
    }
}

/***********************************************************************
リード文
***********************************************************************/
.leadWrap,
.about,
.before-closing {
    width: 100%;
    background-image: linear-gradient(90deg, #f1f2f3, #fff 20% 80%, #f1f2f3);
    padding-block: 1px;
    position: relative;
    z-index: 3;
}
.leadWrap,
.before-closing {
    padding-top: 5vw;
}
.leadWrap .inner,
.about .inner,
.before-closing .inner {
    width: 100%;
    max-width: 800px;
    margin: 0 auto;
}
.leadWrap .inner h2,
.before-closing .inner h2 {
    font-size: 3.3rem;
    font-family: var(--fontFamily-serif-noto);
    font-weight: 900;
}
.about {
    filter: drop-shadow(0 5px 10px rgba(79, 66, 58, 0.3));
    z-index: 2;
    padding-bottom: 6rem;
}
.about .inner h2 {
    font-size: 4.5rem;
    font-family: var(--fontFamily-sans-noto);
    font-weight: 900;
    padding: 10rem 0px 15px 60px;
    position: relative;
    letter-spacing: 1px;
}
.about .inner h2::before {
    position: absolute;
    content: '';
    display: inline-block;
    background-repeat: no-repeat;
    background-size: contain;
    aspect-ratio: 10 / 10;
    margin-right: 0.6rem;
    bottom: 1rem;
}
.about .inner h2.gouhi::before {
    background-image: url(/area/assets/images/highschool_exam/highschool_exam_h2_gouhi.svg);
    left: -0.7em;
    width: 75px;
}
.about .inner h2.seido::before {
    background-image: url(/area/assets/images/highschool_exam/highschool_exam_h2_seido.svg);
    left: -0.8em;
    width: 90px;
}
.about .inner h2.schedule::before {
    background-image: url(/area/assets/images/highschool_exam/highschool_exam_h2_schedule.svg);
    left: -0.8em;
    width: 75px;
}
.about .inner h2::after {
    position: absolute;
    content: '';
    display: inline-block;
    background-color: #67889d;
    width: 30vw;
    height: 2px;
    left: -33vw;
    top: 134px;
}
.about::after {
    position: absolute;
    content: '';
    background-color: #fff;
    width: 50%;
    height: 6rem;
    left: 50%;
    bottom: -5.9rem;
    transform: translateX(-50%);
    clip-path: polygon(0 0, 100% 0, 50% 100%);
}
.about .table {
    width: fit-content;
    margin: 30px auto;
}
.about tbody,
.about th,
.about td {
    border: 1px solid #616161;
}
.about th,
.about td {
    padding: 6px 14px;
}
.about th {
    background-color: #e2f6ff;
    width: 170px;
}
.about td {
    background-color: #fff;
    width: 550px;
}
.about .table h3 {
    font-size: clamp(2rem, 5.333vw, 2.4rem);
    color: #02395b;
}
.about .table span {
    font-size: 1.4rem;
    color: #787878;
    margin-top: 5px;
    display: inline-block;
}
@media screen and (max-width: 834px) {
    .leadWrap,
    .about {
        padding-block: 10vw 1vw;
        padding-inline: 5vw;
    }
    .about {
        padding-block: 1vw;
    }
    .about .inner h2.gouhi::before,
    .about .inner h2.schedule::before {
        left: -0.5em;
        width: 65px;
        bottom: 1.8rem;
    }
    .about .inner h2.seido::before {
        left: -0.3em;
        width: 70px;
    }
    .about .inner h2::after {
        display: none;
    }
    .about .table {
        margin: 20px auto;
    }
    .about table {
        width: 100%;
    }
    .about th {
        width: 40%;
    }
    .about td {
        width: 60%;
    }
    .about::after {
        height: 10vw;
        bottom: -9.9vw;
    }
}
@media screen and (max-width: 600px) {
    .leadWrap .inner h2,
    .about .inner h2 {
        font-size: 7vw;
        line-height: 1.3;
        font-weight: 700;
    }
    .about .inner h2 {
        padding: 0px 0px 5px 20vw;
        margin-top: 80px;
    }
    .about .inner h2.seido {
        padding: 0px 0px 5px 18vw;
    }
    .about .inner h2.gouhi::before,
    .about .inner h2.seido::before,
    .about .inner h2.schedule::before {
        width: 17vw;
        left: 3px;
        bottom: 6px;
    }
    .about .inner h2.schedule::before {
        width: 16vw;
    }
    .about .inner h2::after {
        display: block;
        width: 100%;
        height: 1px;
        top: -14;
        left: 50%;
        transform: translateX(-50%);
    }
}

/***********************************************************************
中間CTAwrap
***********************************************************************/
.buttonWrap.middle {
    width: 100%;
    max-width: 76rem;
    margin: 8rem auto 2rem;
    flex-direction: row;
    gap: 4rem;
}
.buttonWrap.middle.upper {
    transform: translateY(-160px);
}
.buttonWrap.middle .calltxt {
    font-family: var(--fontFamily-sans-noto);
    font-size: 1.5rem;
    font-weight: 500;
    text-align: center;
    line-height: 1.2;
    display: flex;
    justify-content: center;
    align-items: center;
    min-height: 2.4em;
    margin-bottom: 0.5em;
    color: var(--colorMidNightBlue);
    position: relative;
}
.buttonWrap.middle .calltxt::before,
.buttonWrap.middle .calltxt::after {
    position: relative;
    content: '';
    display: block;
    width: 2px;
    height: 2.4em;
    background-color: var(--colorMidNightBlue);
    bottom: 0;
}
.buttonWrap.middle .calltxt::before {
    margin-right: 1em;
    transform: rotate(-30deg);
}
.buttonWrap.middle .calltxt::after {
    margin-left: 1em;
    transform: rotate(30deg);
}
.buttonWrap.middle a {
    width: 50%;
}
.middle #entryBtn .smallText {
    margin-block: -0.15em 0.25em;
    font-size: 1.7rem;
    background-color: #fff;
    padding: 0.3em 1em;
    border-radius: 50em;
    font-weight: 700;
    color: var(--colorRed);
}
@media screen and (max-width: 834px) {
    .buttonWrap.middle {
        flex-direction: column;
    }
    .buttonWrap.middle .calltxt {
        margin-bottom: 0.3em;
    }
    .buttonWrap.middle .calltxt::before,
    .buttonWrap.middle .calltxt::after {
        bottom: -0.5vw;
    }
    .buttonWrap.middle .calltxt::before {
        margin-right: 2.5vw;
    }
    .buttonWrap.middle .calltxt::after {
        margin-left: 2.5vw;
    }
    .buttonWrap.middle a {
        width: 90%;
    }
    .middle :is(#telBtn, #entryBtn) {
        aspect-ratio: 277/80;
    }
}

/***********************************************************************
対策
***********************************************************************/
.countermeasure {
    width: 100%;
    overflow: hidden;
    padding-inline: 5vw;
    padding-block: 11rem 45rem;
    position: relative;
}
.countermeasure::before {
    position: absolute;
    content: '';
    display: inline-block;
    background-image: url(/area/assets/images/highschool_exam/highschool_exam_gyakuten_bg.png);
    background-repeat: no-repeat;
    background-size: contain;
    width: 100%;
    max-width: 1750px;
    aspect-ratio: 1366 / 453;
    left: 50%;
    transform: translateX(-50%);
    bottom: 0;
}
.backFixed .bgWrap {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    clip-path: inset(0);
    z-index: -1;
}
.backFixed .bgWrap .bg {
    position: fixed;
    left: 0;
    top: 0;
    width: 100vw;
    height: 100vh;
    pointer-events: none;
}
.countermeasure .bg {
    background-image: url(/area/assets/images/highschool_exam/paper_bg.png);
}
.countermeasure .inner {
    width: 100%;
    max-width: 86rem;
    margin: 0 auto;
}
.countermeasure .inner h2 {
    position: relative;
    padding: 10px 0;
    background-color: rgb(124 208 246);
    background-image: repeating-linear-gradient(126deg, transparent, transparent 6px, rgb(114 211 255) 6px, rgb(114 211 255) 11px);
    background-color: #94d8f7;
    width: 100vw;
    font-size: 4rem;
    left: 50%;
    transform: translateX(-50%);
    margin-bottom: 23px;
}
.countermeasure .inner h2:last-of-type {
    margin-top: 100px;
}
.countermeasure .inner h2 span {
    text-align: center;
    display: block;
    background-color: #fff;
    width: 800px;
    padding: 20px 0;
    font-weight: 900;
    border-radius: 10px;
    margin: 0 auto;
    position: relative;
}
.countermeasure .inner h2 span::after {
    position: absolute;
    content: '';
    display: inline-block;
    background-image: url(/area/assets/images/highschool_exam/highschool_exam_h2_taisaku_01.png);
    background-repeat: no-repeat;
    background-size: contain;
    width: 246px;
    aspect-ratio: 246 / 251;
    margin-right: 0.6rem;
    right: -2.2em;
    bottom: -4.6rem;
}
.countermeasure .inner h2.shiritsu span::after {
    background-image: url(/area/assets/images/highschool_exam/highschool_exam_h2_taisaku_02.png);
    width: 253px;
    aspect-ratio: 253 / 283;
    margin-right: 0.6rem;
    right: -4.5em;
    bottom: -3.6rem;
}
.countermeasure .inner p {
    max-width: 800px;
    margin: 0 auto 1.2em;
}
.countermeasure ul {
    margin-bottom: 20px;
}
.countermeasure ul li {
    font-size: clamp(1.7rem, 4.533vw, 1.9rem);
    font-weight: 800;
    list-style: none;
    padding-left: 20px;
    margin-bottom: 10px;
}
.countermeasure ul li span.num {
    font-size: clamp(1.8rem, 4.8vw, 2rem);
    border-radius: 100px;
    font-weight: 800;
    color: #ff5900;
    background-color: #fff;
    border: 2px solid #ff5900;
    display: inline-block;
    width: clamp(30px, 8vw, 35px);
    height: clamp(30px, 8vw, 35px);
    text-align: center;
    line-height: 1.5;
    margin-right: 6px;
}
.countermeasure ul li span.indentCtrl {
    display: inline-block;
    text-indent: 2.3em;
}
.countermeasure .inner h3 {
    color: #02395b;
    font-family: var(--fontFamily-sans-noto);
    background-color: #ffece2;
    font-size: clamp(2.1rem, 5.6vw, 2.8rem);
    margin: 65px auto 21px;
}
.countermeasure .inner h3 .main {
    font-size: clamp(1.8rem, 4.8vw, 2.4rem);
    letter-spacing: 1px;
    font-weight: 500;
    color: #fff;
    background-color: #ff5900;
    display: inline-block;
    padding: 10px 25px 10px 13px;
    border-radius: 0 100px 100px 0;
    margin-right: 20px;
}
.countermeasure .inner h3 .main span {
    font-size: clamp(1.8rem, 4.8vw, 2.4rem);
    border-radius: 100px;
    color: #ff5900;
    background-color: #fff;
    display: inline-block;
    width: clamp(25px, 6.666vw, 35px);
    height: clamp(25px, 6.666vw, 35px);
    text-align: center;
    line-height: 1.4;
    margin-right: 6px;
}
.haibun {
    width: 760px;
    margin: 10px auto 45px;
}
.haibun tbody,
.haibun th,
.haibun td {
    border: 1px solid #616161;
}
.haibun th,
.haibun td {
    padding: 6px 14px;
}
.haibun th {
    background-color: #e2f6ff;
    width: 170px;
}
.haibun td {
    background-color: #fff;
}
.haibun td:first-of-type {
    width: 390px;
}
.subject_wrap {
    max-width: 800px;
    background-color: #fff;
    border-radius: 1rem;
    box-shadow: 0 0 10px rgba(76, 74, 52, 0.3);
    padding: 2.8rem 4.8rem 0.8rem;
    margin: 30px auto;
}
.subject_wrap h4 {
    color: #02395b;
    font-size: clamp(2.1rem, 5.6vw, 3rem);
    padding-left: 20px;
    position: relative;
}
.subject_wrap h4::before {
    position: absolute;
    content: '';
    display: inline-block;
    background-repeat: no-repeat;
    background-size: contain;
    width: 70px;
    aspect-ratio: 34 / 19;
    margin-right: 0.6rem;
    left: -2em;
    bottom: 0.4rem;
}
.subject_wrap.japanese h4::before {
    background-image: url(/area/assets/images/highschool_exam/highschool_exam_subject_allow_japanese.png);
}
.subject_wrap.math h4::before {
    background-image: url(/area/assets/images/highschool_exam/highschool_exam_subject_allow_math.png);
}
.subject_wrap.english h4::before {
    background-image: url(/area/assets/images/highschool_exam/highschool_exam_subject_allow_english.png);
}
.subject_wrap.science h4::before {
    background-image: url(/area/assets/images/highschool_exam/highschool_exam_subject_allow_science.png);
}
.subject_wrap.socialStudies h4::before {
    background-image: url(/area/assets/images/highschool_exam/highschool_exam_subject_allow_socialStudies.png);
}
.subject_wrap h4::after {
    position: absolute;
    content: '';
    top: 38px;
    left: -59px;
    width: 0;
    height: 0;
    border-style: solid;
    border-right: 8px solid transparent;
    border-left: 8px solid transparent;
    border-top: 8px solid #001236;
    border-bottom: 0;
    transform: rotate(-135deg);
}
.subject_wrap.japanese h4::after {
    border-top: 8px solid #360000;
}
.subject_wrap.math h4::after {
    border-top: 8px solid #001236;
}
.subject_wrap.english h4::after {
    border-top: 8px solid #110036;
}
.subject_wrap.science h4::after {
    border-top: 8px solid #003616;
}
.subject_wrap.socialStudies h4::after {
    border-top: 8px solid #363100;
}
.subject_wrap h5 {
    font-family: var(--fontFamily-sans-noto);
    color: #02395b;
    font-size: 2.2rem;
    font-weight: 700;
    padding-left: 40px;
    position: relative;
}
.subject_wrap h5::before {
    position: absolute;
    content: '';
    display: inline-block;
    background-image: url(/area/assets/images/general_exam/problemTtl_icon.svg);
    background-repeat: no-repeat;
    background-size: contain;
    width: 1.5em;
    aspect-ratio: 149 / 150;
    left: 0rem;
    bottom: 0.2rem;
}
.subject_wrap table {
    margin: 10px auto 45px;
}
.subject_wrap tbody,
.subject_wrap th,
.subject_wrap td {
    border: 1px solid #616161;
}
.subject_wrap th,
.subject_wrap td {
    padding: 6px 14px;
}
.subject_wrap th {
    background-color: #e2f6ff;
    width: 140px;
}
.subject_wrap td {
    width: 550px;
}
@media screen and (max-width: 834px) {
    .countermeasure {
        padding-block: 11rem 25rem;
    }
    .countermeasure .inner h2 span{
        border-radius: 0;
        text-align: left;
        padding-left: 20px;
    }
    .countermeasure .inner h2 span::after {
        width: 162px;
        right: -0.2em;
        bottom: -3.1rem;
    }
    .countermeasure .inner h2.shiritsu span::after {
        width: 150px;
        right: -0.2em;
        bottom: -2.4rem;
    }
    .haibun {
        width: 100%;
        margin: 10px auto 25px;
    }
    .haibun th {
        width: 25%;
    }
    .haibun td:first-of-type {
        width: 45%;
    }
    .haibun td {
        width: 30%;
    }
}
@media screen and (max-width: 600px) {
    .countermeasure {
        padding-block: 7rem 20rem;
    }
    .countermeasure .inner h2 {
        font-size: 7vw;
        line-height: 1.3;
    }
    .countermeasure .inner h2:last-of-type {
        margin-top: 80px;
    }
    .countermeasure .inner h2 span {
        width: 100%;
        padding: 10px 0;
        font-weight: 700;
        padding-left: 20px;
    }
    .countermeasure .inner h2 span::after {
        right: -1.1em;
    }
    .countermeasure .inner h2.shiritsu span::after {
        right: -1.1em;
    }
    .countermeasure .inner h3 {
        padding: 0 0 8px 12px;
        width: 100vw;
        left: 50%;
        transform: translateX(-50%);
        position: relative;
    }
    .countermeasure .inner h3 .main {
        transform: translateX(-12px);
        padding: 5px 25px 5px 13px;
        margin-bottom: 5px;
    }
    .countermeasure ul {
        padding-left: 0;
    }
    .haibun th,
    .haibun td {
        padding: 4px 10px;
    }
    .subject_wrap {
        padding: 1.8rem 2rem 0.5px;
    }
    .subject_wrap table {
        width: 100%;
        margin: 10px auto 30px;
    }
    .subject_wrap th {
        width: 35%;
    }
    .subject_wrap td {
        width: 65%;
    }
    .subject_wrap h4::before {
        width: 60px;
        left: -2.1em;
        bottom: 0rem;
    }
    .subject_wrap h4::after {
        display: none;
    }
    .countermeasure::before {
        width: 110%;
    }
}

/***********************************************************************
メガスタ対策
***********************************************************************/
.mega_countermeasure {
    width: 100%;
    padding-inline: 5vw;
    padding-block: 0 1px;
    position: relative;
    background: linear-gradient(#ffe4e7, #fff7f1);
}
.mega_countermeasure::before {
    position: absolute;
    content: '';
    display: inline-block;
    background-image: url(/area/assets/images/highschool_exam/highschool_exam_gyakuten_bg_sakura.png);
    background-repeat: no-repeat;
    background-size: contain;
    width: 1366px;
    aspect-ratio: 1366 / 1149;
    margin-right: 0.6rem;
    left: 50%;
    transform: translateX(-50%);
    top: -28em;
}
.mega_countermeasure .inner {
    background-color: rgba(255, 255, 255, 0.75);
    box-shadow: 0 0 16px rgba(128 90 90 / 35%);
    width: 100%;
    max-width: 1022px;
    border-radius: 1rem;
    border: 2px solid #fff;
    padding: 5.5rem 3.6rem;
    margin: 0 auto 100px;
    transform: translateY(-130px);
}
.mega_countermeasure .inner:last-of-type {
    margin-bottom: 0;
}
.mega_countermeasure .inner h2 .speechBubble {
    display: inline-block;
    font-size: clamp(1.8rem, 4.8vw, 2.8rem);
    color: #fff;
    background-color: #ff5900;
    padding: 13px 40px;
    border-radius: 100px;
    position: relative;
    margin-bottom: 20px;
    filter: drop-shadow(3px 3px 0 rgba(130, 42, 99, 0.3));
}
.mega_countermeasure .inner h2 .speechBubble::before {
    position: absolute;
    content: '';
    background-color: var(--colorOrange);
    width: 1.5em;
    height: 0.6em;
    clip-path: polygon(20% 0, 80% 0, 0 100%);
    left: 50%;
    bottom: -0.55em;
    transform: translateX(-50%);
}
.mega_countermeasure .inner h2 {
    font-size: 5rem;
    color: #0038a7;
    font-weight: 800;
    text-align: center;
}
.mega_countermeasure .inner h2 .small {
    font-size: 75%;
}
.mega_countermeasure .inner p {
    width: 100%;
    max-width: 720px;
    margin: 0 auto 20px;
}
.mega_countermeasure .inner h3 {
    width: 820px;
    font-size: clamp(2.1rem, 5.6vw, 3.8rem);
    line-height: 1.4;
    padding: 24px 35px;
    margin: 70px auto 20px;
    position: relative;
}
.mega_countermeasure .inner.reason h3 {
    background-color: #fff4e6;
    border-radius: 0 0 10px 10px;
    border-top: 6px solid #ff5900;
    filter: drop-shadow(3px 3px 0 rgba(130, 42, 99, 0.3));
}
.mega_countermeasure .inner h3::after {
    position: absolute;
    content: '';
    display: inline-block;
    background-image: url(/area/assets/images/highschool_exam/highschool_exam_h2_gyakuten_01.png);
    background-repeat: no-repeat;
    background-size: contain;
    width: 230px;
    aspect-ratio: 58 / 47;
    margin-right: 0.6rem;
    right: -2.2em;
    top: -7.6rem;
}
.mega_countermeasure .inner h3:last-of-type::after {
    background-image: url(/area/assets/images/highschool_exam/highschool_exam_h2_gyakuten_02.png);
}
.mega_countermeasure .inner h3 span {
    font-size: clamp(1.8rem, 4.8vw, 2.5rem);
    color: #0038a7;
}
.mega_countermeasure .inner h4 {
    font-size: clamp(1.8rem, 4.8vw, 2.8rem);
    font-weight: 800;
    font-family: 'Oswald';
    width: 740px;
    padding: 10px 0 0 60px;
    margin: 70px auto 20px;
    border-top: 1px solid #67889d;
    position: relative;
}
.mega_countermeasure .inner h4 span {
    color: #fff;
    font-weight: 400;
    text-align: center;
    position: absolute;
    content: '';
    display: inline-block;
    background-color: #02395b;
    width: 45px;
    aspect-ratio: 10 / 13;
    padding-top: 10px;
    margin-right: 0.6rem;
    border-radius: 0 0 8px 8px;
    left: 0;
    top: 0;
}
.mega_countermeasure .inner .imgWrap {
    max-width: 650px;
}
.mega_countermeasure .inner .imgWrap.compare {
    max-width: 700px;
    width: 100%;
    padding: 20px 20px 0;
    border: solid 1px #AB951D;
    background: #fffcf4;
}
.mega_countermeasure .inner .imgWrap.compare .efficiency_cont {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 20px;
    width: 100%;
}
.mega_countermeasure .inner .imgWrap.compare .efficiency_cont img {
    width: 100%;
}
.mega_countermeasure .inner .imgWrap.compare p {
    font-weight: bold;
    text-align: center;
    line-height: 1.4;
    padding-top: 10px;
    font-size: 1.7rem;
}
.efficiency_img.right {
    color: #ce0303;
}
@media screen and (max-width: 834px) {
    .mega_countermeasure::before {
        width: 100%;
        top: -300px;
    }
    .mega_countermeasure .inner h2 {
        line-height: 1.2;
        margin-bottom: 5vw;
    }
    .mega_countermeasure .inner h3 {
        width: 100%;
        line-height: 1.3;
    }
    .mega_countermeasure .inner h3::after {
        width: 190px;
        right: -1.2em;
    }
    .mega_countermeasure .inner h4 {
        width: 100%;
    }
    .mega_countermeasure .inner.feature p,
    .mega_countermeasure .inner.feature .imgWrap {
        padding: 0 2rem;
    }
}
@media screen and (max-width: 600px) {
    .mega_countermeasure::before {
        top: -8em;
    }
    .mega_countermeasure .inner {
        padding: 1.8rem 2rem 0.5px;
            transform: translateY(-50px);
    }
    .mega_countermeasure .inner h2 {
        font-size: clamp(3rem, var(--sp-30px), 4.5rem);

    }
    .mega_countermeasure .inner h2 .speechBubble {
        padding: 7px 17px;
        line-height: 1.3;
    }
    .mega_countermeasure .inner h2 .speechBubble::before {
        width: 2.5em;
        height: 1em;
        bottom: -0.8em;
    }
    .mega_countermeasure .inner h3 {
        width: calc(100vw - 10vw);
        padding: 8px 15px;
        margin: 70px auto 15px;
        position: relative;
        left: 50%;
        transform: translateX(-50%);
    }
    .mega_countermeasure .inner.reason h3 {
        border-top: 4px solid #ff5900;
        border-radius: 0;
        filter: none;
    }
    .mega_countermeasure .inner h3::after {
        width: 120px;
        right: -1em;
        top: -5rem;
    }
    .mega_countermeasure .inner h4 {
        padding: 10px 0 0 48px;
        margin: 60px auto 15px;
    }
    .mega_countermeasure .inner h4 span {
        width: 35px;
        aspect-ratio: 10 / 18;
        padding-top: 18px;
    }
    .mega_countermeasure .inner .imgWrap.compare {
        padding: 15px 15px 0;
    }
    .mega_countermeasure .inner .imgWrap.compare .efficiency_cont {
        grid-template-columns: 1fr;
    }
    .mega_countermeasure .inner .efficiency_img.left {
        border-bottom: 1px solid #AB951D;
    }
    .buttonWrap.middle.upper {
        transform: translateY(-100px);
    }
    .mega_countermeasure .inner.feature .imgWrap {
        margin: 0px auto;
    }
    .mega_countermeasure .inner.feature #reason_system .imgWrap {
        padding: 0;
        margin: 0 auto 20px;
    }
}

/***********************************************************************
メガスタ特徴
***********************************************************************/
.mega_countermeasure .inner.feature,
.mega_countermeasure .inner.difference {
    padding: 0 0 5.5rem;
    overflow: hidden;
    margin-top: 70px;
    counter-reset: num;
    display: flex;
    flex-direction: column;
}
.mega_countermeasure .inner.feature h2,
.mega_countermeasure .inner.difference h2 {
    background-color: #fff4e6;
    line-height: 1.35;
    padding: 24px;
    margin-bottom: 0;
}
.mega_countermeasure .inner.feature h2::before,
.mega_countermeasure .inner.feature h2::after {
    position: absolute;
    content: '';
    display: inline-block;
    background-repeat: no-repeat;
    background-size: contain;
    top: 0;
}
.mega_countermeasure .inner.feature h2::before {
    background-image: url(/area/assets/images/highschool_exam/highschool_exam_h2_gyakuten_03_left.png);
    left: 0.2em;
    width: 243px;
    aspect-ratio: 243 / 207;
}
.mega_countermeasure .inner.feature h2::after {
    background-image: url(/area/assets/images/highschool_exam/highschool_exam_h2_gyakuten_03_right.png);
    right: 0.2em;
    width: 225px;
    aspect-ratio: 225 / 198;
}
.mega_countermeasure .inner h2 .orange {
    color: #ff5900;
    font-size: 80%;
}
.mega_countermeasure .inner.feature h3 {
    font-size: clamp(2rem, 5.333vw, 2.8rem);
    color: #181818;
    padding: 24px 0 0 135px;
    position: relative;
}
.mega_countermeasure .inner.feature h3::before,
.mega_countermeasure .inner.feature h3::after {
    position: absolute;
    content: '';
    display: inline-block;
    width: 740px;
    height: 5px;
    background-color: rgb(170 229 255);
    background-image: repeating-linear-gradient(135deg, transparent, transparent 20px, rgb(114 211 255) 20px, rgb(114 211 255) 40px);
    left: 50%;
    transform: translateX(-50%);
    top: 0;
}
.mega_countermeasure .inner.feature h3::after {
    counter-increment: num;
    content: counter(num);
    display: flex;
    justify-content: center;
    align-items: center;
    top: -14px;
    left: 61px;
    padding-bottom: 22px;
    width: 100px;
    height: 126px;
    aspect-ratio: 152 / 192;
    color: #d30000;
    font: 700 4rem / 1 dnp-shuei-mgothic-std, sans-serif;
    background: url(/chuugaku/wp-shiritsu/wp-content/themes/shiritsu/images/reasonMessage/ttl_reasonMedal.svg) 0 0 / contain no-repeat;
    box-sizing: border-box;
}
#reason_system {
    background: #fffcf4;
    border: solid 1px #0238a7;
    margin-top: 20px;
    margin-bottom: 25px;
    padding: 17px;
    border-radius: 20px;
    width: 100%;
    max-width: 750px;
    margin: 0 auto 20px;
}
#reason_system_ttl {
    font-size: clamp(1.8rem, 4.8vw, 2.2rem);
    color: #0238a7;
    text-align: center;
    font-weight: bold;
    line-height: 1.4;
    font-family: dnp-shuei-mgothic-std, sans-serif;
}
#reason_system .onlineMovie_box img {
    width: 600px !important;
    border: 2px solid #859acd;
    margin-bottom: 20px;
}
#service_movie p {
    margin-top: 3px;
    text-align: center;
}
.reason_system_txt {
    margin: 0 53px 5px 53px;
}
.reason_system_txt li {
    font-size: 1.8rem;
    line-height: 1.5;
    font-weight: bold;
    position: relative;
    padding-left: 20px;
}
.reason_system_txt li::before {
    content: '・';
    position: absolute;
    top: 0;
    left: -5px;
    font-size: inherit;
    font-weight: bold;
}
.annotation {
    font-size: 1.4rem;
    color: #555555;
    line-height: 1.3;
    font-weight: normal;
}
a.anshin {
    width: 500px;
    font-family: var(--fontFamily-sans-noto);
    font-weight: 700;
    font-size: clamp(1.8rem, var(--sp-18px), 2.2rem);
    letter-spacing: 0.02em;
    color: #fff;
    background-color: var(--colorMidNightBlue);
    border-radius: 50em;
    transition: 0.2s all;
    box-shadow: 0 3px 2px rgba(36, 57, 123, 0.3);
    line-height: 1;
    display: block;
    text-align: center;
    text-decoration: unset;
    padding-block: 1.7rem;
    margin: 0 auto;
    position: relative;
}
a.anshin:hover {
    transform: translateY(3px);
    box-shadow: none;
}
a.anshin::before {
    position: relative;
    content: '';
    background-image: url(/area/assets/images/middleCTAarrow.svg);
    background-repeat: no-repeat;
    background-size: contain;
    background-position: 50% 50%;
    display: inline-block;
    width: 2.2rem;
    aspect-ratio: 1 / 1;
    left: -0.5rem;
    vertical-align: bottom;
}
@media screen and (max-width: 834px) {
    .mega_countermeasure .inner.feature,
    .mega_countermeasure .inner.difference {
        padding: 0 0 20px;
    }
    .mega_countermeasure .inner.feature h2::before,
    .mega_countermeasure .inner.feature h2::after {
        display: none;
    }
    .mega_countermeasure .inner.feature h3:first-of-type {
        margin-top: 0;
    }
    #reason_system {
        width: calc(100% - 4rem);
    }
    #reason_system_ttl {
        padding: 0;
    }
    .reason_system_txt {
        margin: 0;
    }
    .reason_system_txt li {
        font-size: 1.6rem;
        padding-left: 15px;
        margin-bottom: 5px;
    }
    a.anshin {
        width: calc(100% - 4rem);
        line-height: 1.2;
        padding-block: 1.2rem;
        margin: 30px auto 0;
    }
}
@media screen and (max-width: 600px) {
    .mega_countermeasure .inner.feature h3 {
        padding: 20px 10px 0 95px;
    }
    .mega_countermeasure .inner.feature h3::after {
        font-size: 3rem;
        top: 18px;
        left: 48px;
        width: 65px;
        height: 82px;
        padding-bottom: 11px;
    }
}

/***********************************************************************
表
***********************************************************************/
.difference .diffTable {
    border: none;
    max-width: 750px;
    margin: 20px auto;
}
.diffTable {
    display: flex;
    flex-wrap: wrap;
    justify-content: space-between;
    margin: 0 0 70px 0;
    font-size: 17px;
    border: 2px solid #cd4870;
    border-top: 0;
    overflow: visible;
}
.diffTable dl,
.diffTable dd {
    margin-bottom: 0;
}
.diffTable_head,
.diffTable_cont {
    display: inline-flex;
    width: 100%;
}
.difference .diffTable_head {
    background-color: #d7d7d7;
}
.diffTableHead_ttl {
    text-align: center;
}
.diffTableHead_ttl,
.diffTableCont_ttl {
    width: 30%;
}
.diffTableHead_txt,
.diffTableCont_txt {
    width: 35%;
}
.diffTableHead_txt {
    position: relative;
    padding: 15px 0;
    color: #fff;
    font-weight: bold;
    text-align: center;
    border-left: 2px solid #fff;
}
.difference .diffTableHead_txt {
    padding: 15px 0;
    color: #000;
    font: bold 2.2rem / 1.2 var(--fontFamily-sans-noto);
    font-weight: 500;
}
.diffTableHead_txt:nth-of-type(1) {
    background: #b3dff6;
}
.difference .diffTableHead_txt:nth-of-type(2) {
    background: #f2d74e;
}
.difference .diffTableCont_ttl {
    position: relative;
    padding-left: 5px;
    font-weight: bold;
    background-color: #f9f9f9;
    border-left: solid 2px #c8c8c8;
    border-bottom: solid 2px #c8c8c8;
}
.diffTableCont_ttl,
.diffTableCont_txt:not(.twoRow),
.diffTableContTtl_main, .diffTableContTtlSub_row,
.diffTableCont_row {
    display: inline-flex;
}
.difference .diffTableCont_txt:nth-of-type(1) {
    border-left: 2px solid #b3dff6;
    border-bottom: solid 2px #b3dff6;
    align-content: center;
    flex-wrap: wrap;
}
.difference .diffTableCont_txt:nth-of-type(2) {
    border-left: 2px solid #f2d74e;
    border-bottom: 2px solid #f2d74e;
    border-right: 2px solid #f2d74e;
    align-content: center;
    flex-wrap: wrap;
}
.diffTableCont_ttl span,
.diffTableCont_txt > span,
.diffTableContTtlSub_row span,
.diffTableCont_row span {
    align-self: center;
    padding: 10px 15px;
    width: 100%;
}
.diffTable_cont:last-of-type {
    border: none;
}
@media screen and (max-width: 834px) {
    .difference {
        width: calc(100% - 4rem);
        margin: 0 auto;
    }
    .difference .diffTable {
        margin-bottom: 0;
    }
    .difference .diffTable_cont,
    .difference .diffTable_cont:last-of-type {
        border: none;
        position: relative;
        flex-wrap: wrap;
        margin-bottom: 20px;
    }
    .difference .diffTableCont_ttl {
        display: flex;
        flex-direction: column; /* 縦方向に並べる */
        align-items: center; /* 中央揃え（必要に応じて調整） */
        text-align: center; /* テキスト中央揃え */
        position: relative; /* ::beforeと::afterの基準位置 */
        width: 100%;
        position: relative;
        padding-left: 0;
        font-weight: bold;
        color: #000;
        background-color: #e5e5e5;
        border-left: none;
        border-bottom: none;
    }
    .difference .diffTable_head {
        display: none;
    }
    .difference .diffTableCont_ttl span {
        padding-bottom: 66px;
    }
    .diffTableCont_ttl span,
    .diffTableCont_txt > span,
    .diffTableContTtlSub_row span,
    .diffTableCont_row span {
        padding: 10px 0;
        width: 100%;
    }
    .diffTableCont_ttl::before,
    .diffTableCont_ttl::after {
        position: absolute;
        white-space: pre-wrap;
        font-size: 1.6rem;
        line-height: 1.3;
        height: 56px;
        top: 45px;
        content: ''; /* 擬似要素の内容を空に設定 */
        display: block; /* ブロック要素として扱う */
        box-sizing: border-box;
        padding: 7px 0;
        width: 50%;
    }
    .diffTableCont_ttl::before {
        content: "集団授業の塾の\A指導の特長";
        left: 0;
        order: 2;
        background-color: #b3dff6 !important;
    }
    .diffTableCont_ttl::after {
        content: "メガスタの\A指導の特長";
        right: 0;
        order: 3;
        border-left: 2px solid #b2b2b2;
        background-color: #f2d74e !important;;
    }
    .diffTableCont_txt {
        width: 50%;
        align-content: flex-start;
        padding: 0 10px;
        font-size: 1.4rem;
        font-weight: 600;
    }
}

/***********************************************************************
クロージング
***********************************************************************/
.before-closing {
    padding-bottom: 70px;
}
.before-closing .inner h2 {
    color: var(--colorOrange);
}
.before-closing .checkList li {
    font-family: var(--fontFamily-sans-noto);
}
@media screen and (max-width: 834px) {
    .before-closing {
        padding: 30px 5vw;
    }
}
@media screen and (max-width: 600px) {
    .before-closing .inner h2 {
        font-size: 7vw;
        font-weight: 700;
    }
}



