@charset "utf-8";
/* トップページ */

#fv {
    position: relative;
    margin-bottom: 2rem;
}
.fv__inner {
    position: relative;
    padding: 14vh 0 10vh;
}
.fv__logo {
    position: relative;
    display: block;
    width: 54%;
    margin: 0 auto;
}
.fv__logo svg {
    position: relative;
}
.fv__logo img {
    width: 100%;
    max-width: none;
}
.fv__sharp {
    position: absolute;
    top: 0;
    left: 0;
}
.fv__anime {
    position: absolute;
    top: 4%;
    left: -4.5%;
    width: 109%;
}
.fv__catch--pc {
    position: absolute;
    top: 14vh;
    left: 9%;
    height: calc(100% - 11vh);
}
.fv__catch--sp {
    display: none;
}
.fv__link {
    padding-left: 0;
    padding-bottom: 0vh;
}
.fv__link li {
    padding: 0.5em 1.25em;
}
.fv__link li:first-child a,
.fv__link li:last-child a {
    display: block;
    padding: 0.9em 6em 0.9em 7.5em;
    background: #fff url(../img/icon_person_black.png) left 6em center / 17px
        auto no-repeat;
    border: 1px solid #1a1311;
    color: #1a1311;
    font-weight: bold;
    letter-spacing: 0.025em;
    transition: background-color 0.2s, background-image 0.2s, color 0.2s;
}
.fv__link li:last-child a {
    background-image: url(../img/icon_lock_black.png);
    background-size: 16px auto;
}
.fv__link li:first-child a.hover,
.fv__link li:last-child a.hover {
    background-color: #1a1311;
    background-image: url(../img/icon_person_white.png);
    color: #fff;
}
.fv__link li:last-child a.hover {
    background-image: url(../img/icon_lock_white.png);
}
.fv__link li a:hover {
    text-decoration: none;
}

.fv__apply-catch {
    margin-bottom: 2em;
    padding: 0 25px;
    font-size: 1.75em;
    font-weight: bold;
    line-height: 1.75em;
    text-align: center;
}

#search {
    position: relative;
    padding-top: 0px;
}
/* #search::before,
#search::after {
    content: "";
    position: absolute;
    top: 340px;
    left: 0;
    z-index: 0;
    width: 100%;
} */
/* #search::before {
    height: 50px;
    margin-top: -49px;
    background: transparent url(../img/top/bg_jaggy.svg) center bottom / auto
        100% repeat-x;
} */
/* #search::after {
    height: calc(100% - 340px);
    background-color: #f4f4f4;
} */
.search__wrapper {
    padding: 120px 130px;
    background-color: #fff;
    border: 1px solid #000;
}
.search__title {
    padding-bottom: 115px;
    font-size: 2em;
    text-align: center;
}
.search__title span {
    display: inline-block;
    padding-left: 1.125em;
    background: transparent url(../img/icon_search_black.png) left top 0.7em /
        0.78em auto no-repeat;
}
.search__subtitle {
    padding-left: 1.6em;
    background: transparent none left top 0.5em / auto 1.1em no-repeat;
    font-size: 1.5em;
    font-weight: bold;
}
.search__subtitle--pen {
    margin-right: 1.5em;
    margin-bottom: 0;
    background-image: url(../img/icon_pen_purple.png);
}
.search__subtitle--marker {
    background-image: url(../img/icon_marker_purple.png);
}
.search__subtitle--book {
    background-image: url(../img/icon_book_purple.png);
}
.search__subtitle--star {
    background-image: url(../img/icon_star_purple.png);
}
.search__box input {
    flex: 1;
    margin-right: 10px;
    padding: 1em;
    background-color: #ebebeb;
    border: none;
    border-radius: 7px 0 0 7px;
}
input[name="keyword_search_school"]:hover {
    cursor: text;
}
.keyword_search_school {
    flex: 1;
    margin-right: 10px;
    padding: 0.7em;
    background-color: #ebebeb;
    border: none;
    border-radius: 7px 0 0 7px;
    vertical-align: bottom;
}
.search__box button {
    width: 80px;
    height: 60px;
    background-color: #5d57ff;
    border: none;
    border-radius: 0 7px 7px 0;
    text-align: center;
    cursor: pointer;
}
.search__box button img {
    width: 24px;
}
.search__caution {
    margin-top: 0.2em;
    font-size: 1.5em;
    font-weight: 600;
    line-height: 1.5em;
    text-align: center;
}
.search__caution span {
    display: inline-block;
    line-height: inherit;
}
.search__toggle {
    position: relative;
    margin-top: 2.5em;
    padding: 0.25em 2.5em 0.25em 1.6em;
    background-position: left top 0.75em;
    border-bottom: 1px solid #222222;
}
.search__toggle span {
    position: absolute;
    top: 50%;
    right: 0;
    transform: translate(0, -50%);
    width: 34px;
    height: 34px;
    border: 1px solid #222222;
    border-radius: 50%;
    cursor: pointer;
}
.search__toggle span::before,
.search__toggle span::after {
    content: "";
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    width: 15px;
    height: 3px;
    background-color: #222222;
    border-radius: 2px;
    transition: transform 0.2s;
}
.search__toggle span.open::after {
    transform: translate(-50%, -50%) rotate(90deg);
}
.search__more.search__toggle {
    display: inline-block;
    margin-top: 3em;
    padding-left: 0;
    font-size: 1.25em;
    font-weight: bold;
    border-bottom: none;
}
.search__check {
    padding-top: 1em;
}
.search__check label {
    display: inline-block;
    margin-top: 0.75em;
    margin-right: 0.5em;
    padding: 0 1.25em 0.1em;
    border: 1px solid #222222;
    border-radius: 2em;
    font-size: 0.9em;
    font-weight: 500;
    white-space: nowrap;
    cursor: pointer;
    transition: background-color 0.2s;
}
.search__check label.checked {
    background-color: #5d57ff;
    border-color: #5d57ff;
    color: #fff;
}
@media (hover: hover) {
    .search__check label:hover {
        background-color: #5d57ff;
        border-color: #5d57ff;
        color: #fff;
    }
}
.search__check label input {
    display: none;
}
.search__button {
    width: 100%;
    max-width: 330px;
    margin: 3em auto 0;
    padding: 0.75em;
    background: linear-gradient(to right, #f7b862, #5d57ff);
    border: none;
    color: #fff;
    font-size: 1.25em;
    font-weight: bold;
    text-align: center;
    cursor: pointer;
    transition: opacity 0.2s;
}
.search__button.hover {
    opacity: 0.7;
}

.latest-news-section {
    padding: 0;
}

.latest-news-title {
    font-size: 1.3rem;
    font-family: noto-sans-cjk-jp, sans-serif;
    color: #707070;
}
.latest-news-wrapper {
    margin-top: 0;
    background-color: #fff;
    align-items: center;
    justify-content: center;
}
.edu-news-wrapper {
    background-color: transparent;
    /* align-items: center;
    justify-content: center; */
}

.news-rows-wrapper {
    border: 1px solid #000;
    /* max-width: 600px; */
    margin: 0 auto;
    padding-top: 3px;
    padding-bottom: 20px;
    padding-left: 10px;
}
.edu-news-rows-wrapper {
    background-color: #fff;
    position: relative;
    padding: 4px 20px;
    border: 1px solid #000;
    /* max-width: 600px; */
    min-height: 270px;
    /* margin: 0 auto; */
}
.edu-news-tabs-wrapper {
    /* max-width: 600px; */
    /* margin: 0 auto; */
}
.news-row {
    display: flex;
    margin-top: 5px;
    margin-bottom: 5px;
    margin-left: 10px;
    margin-right: 10px;
}
.news-row-date {
    min-width: 60px;
    max-width: 10%;
    justify-content: center;
    text-align: right;
}
.news-row-content {
    max-width: 90%;
    padding-left: 10px;
    padding-right: 20px;
}

.arrow-title {
    position: relative;
    padding-left: 4.75em;
    padding-bottom: 1.5em;
    font-size: 2em;
    /* z-index: 1000; */
}
.arrow-title-video {
    position: relative;
    padding-left: 4.75em;
    padding-bottom: 0;
    font-size: 2em;
}
.arrow-title span,
.arrow-title-video span {
    position: absolute;
    top: 0;
    left: 0;
    transform: rotate(90deg);
    display: inline-block;
    width: 145px;
    margin: 3.85em 0 0 2em;
    padding: 0 1.5em 0 0.6em;
    background: linear-gradient(to right, #5d57ff, #f7b862);
    color: #fff;
    font-family: "Roboto", sans-serif;
    font-size: 0.5em;
    font-weight: 300;
    letter-spacing: 0.025em;
    clip-path: polygon(
        0 0,
        calc(100% - 13px) 0,
        100% 50%,
        calc(100% - 13px) 100%,
        0 100%
    );
}
a.remove-style {
    color: inherit;
    text-decoration: none;
}
a.remove-style:hover {
    color: inherit;
    text-decoration: none;
}

.pickup__swiper .swiper-slide,
.tsschool__swiper .swiper-slide,
.topics__swiper .swiper-slide,
.tsevents__swiper .swiper-slide,
.tstopics__swiper .swiper-slide,
.tsspecial-topics__swiper .swiper-slide,
.tsphoto__swiper .swiper-slide,
.sfeature__swiper .swiper-slide,
.exams__swiper .swiper-slide {
    padding: 0 15px;
}
.swiper-pagination-horizontal.swiper-pagination-bullets
    .swiper-pagination-bullet {
    width: 10px;
    height: 10px;
    margin: 5px 15px;
    background-color: #cccccc;
    opacity: 1;
}
.swiper-pagination-horizontal.swiper-pagination-bullets
    .swiper-pagination-bullet.swiper-pagination-bullet-active {
    width: 20px;
    height: 20px;
    margin: 0 15px;
}
.swiper-slide a {
    color: #171717;
    transition: opacity 0.2s;
}
.swiper-slide a.hover {
    opacity: 0.7;
}
#pickup .inner,
#topics .inner,
#exams .inner {
    z-index: 2;
}

#video {
    position: relative;
}
#video .inner {
    z-index: 2;
}

#pickup {
    position: relative;
    padding: 200px 0 150px;
}
/* #pickup::before {
    content: "";
    position: absolute;
    top: 0;
    left: 0;
    z-index: 0;
    width: 100%;
    height: 40%;
    background-color: #f4f4f4;
} */
.pickup__wrapper {
    position: relative;
    z-index: 1;
    padding-bottom: 100px;
}
.pickup__swiper {
    padding-left: calc((100% - 60px) / 6);
}
.pickup__photo {
    position: relative;
    max-width: 100%;
}
.pickup__photo .swiper-slide {
    display: flex;
    justify-content: center;
}
.ts-special-topic__photo-wrapper {
    position: relative;
    width: 38%;
    height: 200px;
}
.pickup__heart {
    position: absolute;
    left: 30px;
    bottom: 30px;
    z-index: 2;
    width: 60px;
    height: 60px;
    background-color: #fff;
    border-radius: 50%;
}
.pickup__heart img {
    position: absolute;
    top: 50%;
    left: 50%;
    width: 27.5px;
    height: 24.5px;
    margin-top: -10px;
    margin-left: -13px;
}
.pickup__heart.like img {
    animation: like 0.3s ease 0s forwards;
}
.pickup__school-name {
    margin: 1em 0 0.5em;
    font-size: 1.5em;
    font-weight: bold;
}
.school-feature-tags {
    padding-left: 0;
}
.school-line + .school-feature-tags {
    margin-top: 1em;
    padding-top: 0.25em;
    border-top: 1px solid #d1d1d1;
}

.video-tags {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
}
.school-feature-tags li {
    display: inline-block;
    margin: 0.75em 0.5em 0 0;
    padding: 0 1.25em 0.1em;
    border: 1px solid #d1d1d1;
    border-radius: 2em;
    font-size: 0.9em;
}

.pickup__wrapper .swiper-pagination-bullet.swiper-pagination-bullet-active {
    background-color: #5d57ff;
}

#topics {
    position: relative;
    /* padding: 100px 0 40px; */
    /* background-color: #f4f4f4; */
}
/* #topics::before,
#topics::after {
    content: "";
    position: absolute;
    left: 0;
    width: 100%;
    height: 50px;
    background: transparent url(../img/top/bg_jaggy.svg) center bottom / auto
        100% repeat-x;
} */
/* #topics::before {
    top: -49px;
} */
/* #topics::after {
    bottom: -49px;
    transform: rotate(180deg);
} */
.topics__swiper,
.tsevents__swiper,
.tstopics__swiper,
.tsspecial-topics__swiper,
.tsphoto__swiper,
.afeature__swiper {
    padding-left: calc((100% - 60px) / 6);
}
.topics__swiper a,
.sfeature__swiper a {
    display: inline-block;
    margin-bottom: 30px;
    width: 100%;
}
.topics__swiper a.small,
.sfeature__swiper a.small {
    width: calc(50% - 15px);
}
.topics__swiper a.float,
.sfeature__swiper a.float {
    float: right;
}
.topics__swiper a img,
.sfeature__swiper a img {
    width: 100%;
    max-width: none;
    height: 100%;
    object-fit: cover;
}

#topics .swiper-button-next::after,
#topics .swiper-button-prev::after {
    content: "";
}
#topics .swiper-button-next {
    right: 20px;
}
#topics .swiper-button-prev {
    left: 20px;
}

.topics__view-btn a {
    display: inline-block;
    margin-left: 2em;
    padding: 0.5em 1em;
    background-color: #5d57ff;
    color: #fff;
    font-family: "Roboto", sans-serif;
    font-weight: bold;
    transition: background-color 0.3s;
}
@media (hover: hover) {
    .topics__view-btn a:hover {
        background-color: #f7b862;
        text-decoration: none;
    }
}

#exams {
    padding: 250px 0 175px;
    background: transparent url(../img/top/exams_bg.png) center center / cover
        no-repeat;
}
.exams__wrapper {
    position: relative;
    z-index: 1;
    padding-bottom: 100px;
}
.exams__swiper {
    padding-left: calc((100% - 240px) / 8);
}
.exams__wrapper .swiper-pagination-bullet.swiper-pagination-bullet-active {
    background-color: #f7b862;
}

#video {
    margin: 90px 0;
}
.video__wrapper {
    position: relative;
    z-index: 1;
    padding-bottom: 50px;
}
.video__wrapper .swiper-slide {
    z-index: 2;
    height: 300px;
    cursor: pointer;
    display: flex;
    justify-content: center;
}
.video__wrapper .swiper-slide video {
    z-index: 1;
    width: 100%;
    height: 300px;
}
.video__wrapper .icon-play {
    position: absolute;
    color: #ea3838;
    top: calc(50% - 20px);
    left: calc(50% - 20px);
    font-size: 40px;
    z-index: 2;
}

#search-school-result {
    margin-top: 30px;
    font-size: 1.5rem;
}
#search-school-result a {
    color: black;
}

.school__list {
    position: relative;
    padding: 5em 0 0;
    gap: 50px;
    flex-wrap: wrap;
    padding-top: 0 !important;
}
.school__list::after {
    content: "";
    display: block;
    width: 31%;
    height: 0;
}
.school__list > li {
    /* width: 31%; */
    flex: 0 0 calc(50% - 25px);
    /* margin-bottom: 5em; */
}
.school__list > li > a {
    color: #1e293b;
    transition: opacity 0.3s;
}
.school__list-image {
    position: relative;
    height: 23vw;
    max-height: 340px;
}
.school__list-image img {
    width: 100%;
    height: 100%;
    max-width: none;
    object-fit: cover;
}
.school__list-name {
    margin: 10px 0;
    font-family: 'M PLUS 1p', sans-serif;
    color: #433f3f;
    font-weight: 700;
    font-size: 1.25em;
}
.school__list-like {
    position: absolute;
    top: 1em;
    right: 1em;
    width: 60px;
    height: 60px;
    background-color: #fff;
    border-radius: 50%;
    z-index: 1;
}
.school__list-like img {
    position: absolute;
    top: 50%;
    left: 50%;
    width: 27.5px;
    height: 24.5px;
    margin-top: -10px;
    margin-left: -13px;
}
.school__list-like.like img {
    animation: like 0.3s ease 0s forwards;
}
.school-line {
    padding-left: 0;
}
.school-line li {
    display: inline-block;
    margin: 0.75em 0.5em 0 0;
    padding: 0 1.25em 0.1em;
    border: 1px solid #5d57ff;
    border-right: 1px solid #f7b862;
    border-bottom: 1px solid #f7b862;
    border-radius: 2em;
    font-size: 0.9em;
}

.result-more-wrapper {
    text-align: center;
}
.result-more {
    display: inline-block;
    width: 100%;
    max-width: 330px;
    padding: 0.5em;
    border: 1px solid #707070;
    color: #1e293b;
    font-size: 1.25em;
    font-weight: bold;
    cursor: pointer;
    transition: opacity 0.3s;
}
.tags-container-search-result {
    width: 100%;
}

@media (hover: hover) {
    .school__list > li > a:hover,
    .result-more:hover {
        opacity: 0.7;
        text-decoration: none;
    }
    .event__list > li > a:hover,
    .result-more:hover {
        opacity: 0.7;
        text-decoration: none;
    }
}

@media all and (max-width: 1100px) {
    .search__wrapper {
        padding: 25px;
    }
    .search__title {
        padding-bottom: 75px;
    }
}

@media all and (max-width: 950px) {
    .fv__catch--pc {
        display: none;
    }
    .fv__catch--sp {
        display: block;
        padding-top: 2.5em;
        text-align: center;
    }
    .fv__catch--sp span {
        display: inline-block;
        padding-bottom: 0.5em;
        border-bottom: 1px solid #171717;
        font-size: 1.125em;
        font-weight: bold;
    }
    .school__list {
        padding-top: 4em;
        gap: 0;
    }
    .school__list > li {
        flex: 100%;
    }
    .li-width {
        width: 100% !important;
    }
    .school__list-image {
        height: 77vw;
        max-height: none;
    }
    .tags-container-search-result {
        width: 100%;
    }
}

@media all and (max-width: 750px) {
    .fv__inner {
        padding: 100px 25px 50px;
    }
    .fv__logo {
        width: 90%;
    }
    .fv__apply-catch {
        font-size: 1.35em;
    }

    #search {
        padding-top: 50px;
    }
    .search__title {
        padding-bottom: 40px;
        font-size: 1.5em;
    }
    .search__subtitle {
        font-size: 1.125em;
    }
    .search__toggle span {
        width: 30px;
        height: 30px;
    }
    .search__box.flex {
        display: block;
    }
    .search__box input {
        width: calc(100% - 80px);
        margin: 0;
    }
    .keyword_search_school {
        width: calc(100% - 80px);
        margin: 0;
    }

    .search__box button {
        float: right;
        width: 70px;
        padding: 1em 0;
    }
    .search__caution {
        font-size: 1.125em;
    }
    .search__more.search__toggle {
        font-size: 1.125em;
    }
    .search__button {
        font-size: 1.125em;
    }

    .arrow-title,
    .arrow-title-video {
        padding-left: 2.75em;
        font-size: 1.5em;
    }
    .arrow-title span,
    .arrow-title-video span {
        width: 120px;
        margin-left: -2.25em;
    }
    .pickup__swiper .swiper-slide,
    .tsschool__swiper .swiper-slide,
    .topics__swiper .swiper-slide,
    .tsevents__swiper .swiper-slide,
    .tstopics__swiper .swiper-slide,
    .tsspecial-topics__swiper .swiper-slide,
    .tsphoto__swiper .swiper-slide,
    .sfeature__swiper .swiper-slide,
    .exams__swiper .swiper-slide {
        padding: 0 10px;
    }

    #pickup {
        padding: 100px 0;
    }
    .tsschool__swiper {
        padding-left: 0;
    }
    .pickup__heart {
        width: 50px;
        height: 50px;
        left: 10px;
        bottom: 10px;
    }

    #topics {
        /* padding: 100px 0 75px; */
    }
    /* #topics::before,
    #topics::after {
        height: 25px;
    } */
    /* #topics::before {
        top: -24px;
    }
    #topics::after {
        bottom: -24px;
    } */
    .topics__swiper,
    .tsevents__swiper,
    .tsspecial-topics__swiper,
    .tsphoto__swiper,
    .sfeature__swiper {
        padding-left: 0;
    }
    .topics__swiper a,
    .tsevents__swiper a,
    .sfeature__swiper a {
        margin-bottom: 20px;
    }
    .sfeature__swiper a.small {
        width: calc(50% - 10px);
    }
    .topics__view-btn a {
        margin-top: -1em;
    }

    #exams {
        padding: 125px 0 80px;
    }
    .exams__swiper {
        padding-left: 0;
    }

    .school__list {
        padding-top: 4em;
        gap: 0;
    }
    .school__list > li {
        flex: 100%;
    }
    .li-width {
        width: 100% !important;
    }
    .school__list-image {
        height: 77vw;
        max-height: none;
    }

    .result-more-wrapper {
        padding-bottom: 3em;
    }
    .result-more {
        max-width: 400px;
    }
}

@media all and (max-width: 370px) {
    .arrow-title,
    .arrow-title-video {
        padding-left: 1.75em;
    }
    .arrow-title span,
    .arrow-title-video span {
        margin-left: -4.5em;
    }
}

img.school-logo-item {
    height: 257px !important;
    object-fit: cover;
}

img.i-image-pc {
    height: 43px;
    display: block;
}

img.i-image-sp {
    height: 30px;
    display: none;
}

@media (max-width: 768px) {
    img.i-image-pc {
        display: none;
    }
    img.i-image-sp {
        display: block;
    }
}

.overflow-hidden {
    overflow: hidden;
}

.tag-wrapper-min-height {
    min-height: 36px;
}

.border-bottom-black {
    border-bottom: 1px solid #000;
}
.border-bottom-grey {
    border-bottom: 1px solid rgba(98, 105, 118, 0.16);
}
.line-height-normal {
    line-height: normal;
}
.ts-special-topic__photo {
    width: 100% !important;
    height: 100% !important;
    object-fit: cover;
}

.slider-school-suggestion {
    max-width: 350px !important;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
}

.slider-ts-special-topic {
    max-width: 400px !important;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
}

.pickup-schools {
    padding: 50px 0px !important;
}

.pecial-topics {
    padding: 50px 0px !important;
}

.swiper-pagination-bullets.swiper-pagination-horizontal {
    bottom: 0px !important;
}

.video-wrapper {
    position: absolute;
    width: 100%;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
}

#video-school {
    padding: 0 48px 90px 48px;
}
#video-school-2 {
    padding: 0 48px 90px 48px;
}

@media all and (max-width: 1416px) {
    #video-school,
    #video-school-2 {
        padding: 0 25px 90px 25px;
    }
}

@media (max-width: 750px) {
    #video-school,
    #video-school-2 {
        padding: 0 0 90px;
    }
}
