@media (max-width: 1025px) {
}
@media (max-width: 980px) {
    .btn-school li {
        padding: 11px;
        font-size: 17px;
    }
    .header-list li {
        width: 32%;
        margin-right: 2%;
    }
}
@media (max-width: 890px) {
    .footer-btn-scroll {
        right: 15px;
        bottom: 208px;
    }
    .content-left-wrap {
        float: none;
        max-width: none;
    }
    .header-list li img {
        max-width: 100%;
    }
    .search {
        padding: 13px 10px;
    }
    .sidebar {
        float: none;
        margin: auto;
        max-width: none;
        text-align: center;
    }
    .footer {
        padding: 45px 10px 15px !important;
    }
    /* Search */
    .list-item-top ul {
        margin: 22px auto 0;
    }
    .list-item-top li {
        width: 100%;
        box-shadow: none;
        margin: 0;
        min-height: auto;
        display: flex;
        align-items: center;
        margin-bottom: 0;
        border-bottom: 1px solid #cccccc;
        padding: 3px 0;
    }
    .list-content {
        width: 100%;
        display: flex;
        align-items: center;
    }
    .list-img {
        max-width: 110px;
        margin: 0 10px;
    }
    .top-item-tx {
        text-align: left;
        width: 70%;
    }
    .list-item-top li strong {
        margin: 10px 0 5px;
        text-align: left;
        height: auto;
    }
    .list-item-top li .btn-guidance {
        display: inline-flex;
    }
    .list-item-top li:nth-child(-n+4) {
        margin-bottom: 0;
    }
    .btn-sp {
        margin: 19px auto 39px !important;
    }
    /* Article */
    .top-item-tx .tx-elip {
        height: auto;
    }
    .top-item-tx .tx-elip-title {
        height: auto;
        display: block;
    }
    .wrapper-sp {
        margin: 0 20px;
    }
    .list-menu-sidebar {
        display: none;
    }
    .list-menu-article-sp,
    .list-menu-stu-detail-sp {
        display: block;
    }
    .list-menu-article-sp ul {
        width: 100%;
        display: flex;
        flex-wrap: wrap;
    }
    .list-menu-article-sp li {
        width: 33.33%;
        height: 60px;
        border: 1px solid #d4d4d4;
        background: #fff;
        text-align: center;
        border-bottom: 6px solid #ff0000;
    }
    .list-menu-article-sp li a {
        display: inline-block;
    }
    .list-menu-article-sp img {
        display: block;
        margin: 4px auto 0;
        max-width: 100%;
    }
    .content-top-article {
        margin: 0 auto 10px;
    }
    /* Student */
    .list-chosse li {
        width: 32%;
    }
    .list-menu-student-sp ul {
        width: 100%;
        display: flex;
        flex-wrap: wrap;
    }
    .list-menu-student-sp {
        display: block;
    }
    .list-menu-student-sp li a {
        display: inline-block;
    }
    .list-menu-student-sp li .img-sp {
        margin-top: 10px;
    }
    .list-menu-student-sp img {
        display: block;
        margin: 4px auto 0;
        max-width: 100%;
    }
    .list-menu-stu-detail-sp ul {
        width: 100%;
        display: flex;
        flex-wrap: wrap;
    }
    .list-menu-stu-detail-sp li {
        width: 25%;
        height: 70px;
        border: 1px solid #d4d4d4;
        background: #fff;
        text-align: center;
        border-bottom: 6px solid #ff0000;
    }
    .list-menu-stu-detail-sp img {
        display: block;
        margin: 2px auto 0;
        max-width: 100%;
    }
    .footer-pink {
        padding: 45px 10px 15px !important;
    }
    .menu-detail-stu {
        margin: 0 20px 25px;
    }
    .menu-detail-stu li {
        width: 31.5%;
        margin: 0 2% 13px 0;
    }
    .menu-detail-stu li:nth-child(3n+0) {
        margin-right: 0;
    }

    .menu-detail-stu li:nth-child(5n+0) {
        margin: 0 2% 13px 0;
    }
    .title-pig {
        height: 100px;
        padding: 30px 25px;
    }
}
@media (max-width: 900px) and (min-width: 830px) {
    .banner-content .comment {
        font-size: 14px !important;
    }
}

@media (max-width: 850px) and (min-width: 770px){
    .btn-banner {
        width: 168px !important;
    }
}

@media (max-width: 829px) and (min-width: 770px){
    .banner-content .comment {
        font-size: 12px !important;
    }
}

@media (max-width: 769px) {
    .footer-btn-scroll {
        right: 15px;
        bottom: 235px;
    }
    .banner-sp-bot {
        margin: 35px auto;
        display: block;
        max-width: 376px;
    }
    .banner-sp-bot img {
        width: 100%;
    }
    .banner-sp-bot.banner-sp-h-120 {
        height: 85px;
    }
    .banner-sp-bot img.banner-sp-location-2-3 {
        height: 100%;
    }
    .show-pc {
        display: none;
    }
    .show-sp {
        display: block;
    }
    .logo {
        margin-left: -43px;
        margin-top: 23px;
    }
    .logo img {
        width: 80%;
        height: auto;
    }
    .btn-school {
        margin-top: 10px;
    }
    .list-item {
        margin: 0 20px;
    }
    .list-item ul {
        margin-bottom: 17px;
    }
    .list-item li {
        width: 100%;
        padding: 0;
        margin: 0 0 12px 0;
    }
    .top-img-list {
        max-width: 95px;
        margin: 0;
    }
    .list-item img {
        margin: auto;
        height: 60px;
        width: 95px;
        max-width: inherit;
        object-fit: contain;
    }
    .list-item li a {
        width: 100%;
        display: flex;
        padding: 10px;
        font-size: 15px;
        box-sizing: border-box;
        align-items: center;
    }
    .list-item li p.tx-list {
        margin-left: 10px;
        justify-content: flex-start;
    }
    .box-btn {
        padding: 0;
    }
    .btn {
        width: 100%;
        height: 30px;
        max-width: 335px;
        margin: 22px auto 50px;
    }
    .btn-pink-sp .btn {
        margin: 0 auto 45px;
    }
    .list-item li p.tx-list span {
        text-align: left;
    }
    .icn_search {
        right: 10px;
    }
    .btn-school li a {
        margin-left: 0;
        justify-content: center;
    }
    .content-top {
        margin: 35px auto 7px;
    }
    .banner-sp {
        max-width: 376px;
        margin: 0 auto 35px;
    }
    .banner-sp.banner-sp-h-120 {
        height: 85px;
    }
    .banner-sp img.banner-sp-location-2-3 {
        width: 100%;
        height: 100%;
    }
    .sidebar-title {
        padding: 18px;
    }
    .sidebar-title span {
        font-size: 19px;
        line-height: 27px;
        padding-left: 4px;
    }
    .sidebar-title:before {
        content: '';
        width: 6px;
        height: 27px;
        top: auto;
    }
    .sidebar-list-txt {
        font-size: 15px;
    }
    .sidebar-list-item li {
        height: 80px;
    }
    .bar-img {
        max-width: 95px;
    }
    .sidebar-list-item img {
        max-width: 100%;
    }
    .sidebar-btn {
        height: 75px;
    }
    .sidebar-btn a {
        max-width: 343px;
        width: 100%;
        margin: 0 16px;
        font-size: 15px;
        height: 30px;
    }
    .footer-logo {
        display: inline-block;
        margin: 25px 0;
    }
    .footer {
        padding: 45px 20px 19px !important;
    }
    /* Search */
    .title-sp {
        margin-top: 10px;
    }
    .title-block-type {
        height: 55px;
        padding: 0 20px;
        margin-bottom: 0;
    }
    .btn-white-coaching {
        height: 55px;
    }
    .following {
        padding: 22px 0 20px;
    }
    .content-search {
        margin-top: 20px;
    }
    .list-item-top ul {
        margin: 22px auto 0;
    }
    .title-block-type:before {
        height: 26px;
    }
    /* Article */
    .tx-name {
        margin: 40px 10px 35px;
    }
    .table-content-title {
        height: 48px;
        padding: 17px 0 0 18px;
    }
    .table-content {
        padding: 10px 7px;
    }
    .title-table {
        margin: 16px auto 13px;
    }
    .title-gold {
        margin: 55px auto 27px;
    }
    .table-title-gold {
        height: 86px;
        margin: 35px 0 0;
    }
    .table-title-gold span {
        display: block;
        font-size: 19px;
    }
    .table-content-gold {
        padding: 30px 15px 17px;
    }
    .img-logo {
        margin: 57px 0 0;
    }
    .article-sp-detail {
        margin-top: 18px;
    }
    .title-detail {
        margin: 63px 0 18px;
    }
    .content-top-article-detail {
        margin: 50px auto 10px;
    }
    .icon-sp-hide {
        display: none;
    }
    .logo-sp {
        margin: 14px 0 0px;
    }
    .btn-detail {
        margin-top: 24px;
    }
    .title-content {
        margin: 30px 0 1px;
    }
    .img-center {
        text-align: center;
    }
    .img-center img {
        max-width: 100%;
    }
    /* Student */
    .input-student {
        margin: 22px 0 30px;
    }
    .list-chosse li {
        margin: 27px 1% 0 0;
    }
    .head-top-student {
        margin: 20px 0 10px;
        font-size: 19.2px;
    }
    .tx-top {
        font-size: 16px;
    }
    .input-top input {
        height: 48px;
        font-size: 16px;
    }
    .list-chosse li {
        width: 32%;
    }
    .title-student {
        padding: 5px 0 0 33px;
        height: 53px;
        width: 98%;
    }
    .title-student:before {
        height: 25px;
        top: 15px;
    }
    .list-item-student {
        margin: 30px 20px 0;
    }
    .list-item-student li {
        width: 100%;
        margin: 0 0 20px 0;
        height: 104px;
    }
    .list-item-student li:nth-child(odd) .title-list-student {
        border-bottom: 1px solid #bda22f;
        height: 35px;
    }
    .list-item-student li:nth-child(even) .title-list-student {
        border-bottom: 1px solid #ff0000;
        height: 35px;
    }
    .tx-content-student {
        -webkit-line-clamp: 2;
        line-height: 22px;
    }
    .btn-gold {
        margin: 40px auto;
    }
    .sidebar-student {
        margin-top: 48px;
    }
    .footer-pink {
        background: #ffe5e5 url(../images/bg_footer_student_sp.jpg) repeat-x left top;
        padding: 50px 20px 20px;
    }
    .tx-sp {
        display: none;
    }
    .chosse-student {
        margin: 18px 0;
    }
    .list-student-detail {
        margin: 43px 0 13px;
    }
    .list-student-detail li {
        height: 130px;
        margin: 0 0 25px 0;
        width: 100%;
    }
    .list-student-detail li:last-child {
        margin-bottom: 0;
    }
    .list-student-detail li .title-detail-student {
        padding: 4px 0 0 10px !important;
    }
    .title-detail-student:before {
        top: 5px;
    }
    .tx-content-detail-student {
        -webkit-line-clamp: 2;
    }
    .list-item-student li:last-child {
        margin-bottom: 0;
    }
    .menu-detail-stu li {
        width: 48%;
        margin: 0 2% 13px 0;
    }
    .menu-detail-stu li:nth-child(2n+0),
    .menu-detail-stu li:nth-child(6),
    .menu-detail-stu li:nth-child(10) {
        margin-right: 0;
    }
    .menu-detail-stu li:nth-child(5),
    .menu-detail-stu li:nth-child(3),
    .menu-detail-stu li:nth-child(9) {
        margin: 0 2% 13px 0;
    }
    .top-student {
        padding: 0;
    }
    .menu-detail-stu {
        margin: 0 20px 10px;
    }
    .list-top {
        margin: 30px 0 20px;
    }
    .tx-icon {
        padding: 10px 30px 0 0;
    }
    .btn-gold-sp {
        margin: 15px auto 33px;
    }
    .banner-wrapper {
        display: block !important;
    }
    .banner-search-location {
        width: 100% !important;
    }
    .wrapper-btn-banner {
        justify-content: space-around !important;
    }
    .banner-search-location + .banner-search-location {
        margin-top: 5px;
    }
}
@media (max-width: 640px) {
    /* top */
    header.header-school-page .header-inner img.banner {
        display: none;
    }
    header.header-school-page .header-inner img.banner-full-sp {
        display: block;
        z-index: -1;
        width: 100%;
        height: auto;
    }
    header.header-article .header-inner img.banner {
        display: none;
    }
    header.header-article .header-inner img.banner-full-sp {
        display: block;
        z-index: -1;
        width: 100%;
        height: auto;
    }
    .logo img {
        width: 100%;
        height: auto;
    }
    .header-list {
        padding: 0 10px;
    }
    .logo img {
        height: 43px;
    }
    .title-search {
        padding-left: 15px;
    }
    .dropdown-content .row,
    .result-list p span,
    .station-search .dropdown-btn {
        padding: 0 20px;
    }
    .bg-image {
        padding: 25px 0;
    }
    .station-search .outer-drop {
        margin-top: 10px;
    }
    .result-list p {
        width: 50%;
    }
    .result-list p:nth-child(3n) span {
        border-right: 1px solid #ccc;
    }
    .result-list p:nth-child(2n) span,
    .result-list p:last-child span {
        border-right: 1px solid #ccc;
    }
    .input-search {
        display: block;
        padding: 18px 20px;
    }
    .input-search p {
        width: auto;
    }
    .input-search form {
        margin-top: 10px;
        margin-left: 0;
    }
    .list-item {
        margin: 0 16px;
    }
    .h3-title-top {
        height: 52px;
        padding: 0 27px;
        font-size: 20px;
        line-height: 20px;
    }
    .h3-title-top:before {
        height: 24px;
    }
    .footer-menu {
        width: 230px;
        display: block;
        clear: both;
    }
    .footer-menu li {
        float: left;
        padding: 0 9px;
        margin-bottom: 5px;
    }
    .footer-menu li:nth-child(4),
    .footer-menu li:first-child {
        padding-left: 0;
    }
    .footer-copy-right {
        clear: both;
        font-size: 10px;
    }
    .search-coaching-page .block-type {
        padding: 0;
    }
}
@media (max-width: 555px) {
    header {
        background: #f4ecd6 url(../images/banner_bg_sp.jpg) no-repeat left top;
        background-size: contain;
    }
    header.search-page {
        background: #f4ecd6 url(../images/banner_bg_search_sp.jpg) no-repeat left top;
        background-size: contain;
    }
    header.search-page .header-inner {
        margin-top: 75%;
    }
    .header-inner {
        margin-top: 122%;
    }
    .header-list {
        max-width: 345px;
        height: 120px;
    }
    .header-content {
        height: 570px;
    }
    .slider {
        overflow: hidden;
        height: 35px;
        width: 100%;
    }
    .slider ul {
        display: block;
    }
    .slider ul li {
        float: left;
        line-height: 35px;
    }
    .slider ul li:last-child {
        margin-right: 5px;
    }
    .slider ul li:nth-child(3n) {
        margin-right: 0;
    }
    .slider ul li a {
        font-size: 15px;
    }
    .slider a.control_prev, a.control_next {
        position: absolute;
        top: 0;
        z-index: 999;
        display: flex;
        align-items: center;
        width: 35px;
        height: 35px;
        background: transparent;
    }
    .slider a.control_prev {
        left: 5px;
        justify-content: flex-start;
    }
    .slider a.control_next {
        right: 5px;
        justify-content: flex-end;
    }
    .slider a.control_prev span {
        display: block;
        border-top: 7px solid transparent;
        border-bottom: 7px solid transparent;
        border-right: 10px solid #a5aaab;
    }
    .slider a.control_next span {
        display: block;
        border-top: 7px solid transparent;
        border-bottom: 7px solid transparent;
        border-left: 10px solid #a5aaab;
    }
    .slider a {
        -webkit-tap-highlight-color: rgba(0,0,0,0);
    }
    .tab-content {
        margin-top: 20px;
    }
    .article-list .article-item {
        width: 100%;
        float: none;
        height: 80px;
        border-top: 1px solid #cccccc;
        margin-right: 0;
        margin-bottom: 0;
        display: flex;
        padding: 8px 15px;
    }
    .article-list .article-item.last-child {
        border-bottom: 1px solid #cccccc;
    }
    .article-list .article-item .img {
        max-width: 64px;
        height: 64px;
        margin-top: 0;
    }
    .article-list .article-item .img img {
        height: 62px;
        object-fit: contain;
        max-width: 100%;
    }
    .article-list .article-title {
        font-size: 16px;
        height: 45px;
    }
    .article-list .article-date {
        font-size: 11px;
        margin-top: 3px;
    }
    .article-list .article-desc {
        display: none;
    }
    .footer-menu li {
        font-size: 10px;
    }
    /* Search */
    .btn-school li span {
        font-size: 16px;
    }
    .list-chosse li {
        width: 31%;
    }
    .list-chosse li {
        margin: 27px 2% 0 0;
    }
}
@media (max-width: 590px) {
}
@media (max-width: 520px) {
    .header-content {
        height: 520px;
    }
}
@media (max-width: 490px) {
    .header-content {
        height: 500px;
    }
}
@media (max-width: 435px) {
    .header-content {
        height: 450px;
    }
    .btn-banner {
        width: 140px !important;
    }
    .banner-content .comment {
        font-size: 14px !important;
    }
}
@media (max-width: 426px) {
    .footer-btn-scroll {
        right: 15px;
        bottom: 255px;
    }
    .header-content {
        height: 435px;
    }
    .btn-school li span {
        margin-left: 5px;
        line-height: 1.3;
    }
    .btn-school li {
        height: 55px;
        padding: 0 8px;
    }
    .btn-school li img {
        height: 32px;
    }
    .input-top a {
        width: 51px;
        height: 40px;
        margin-right: 0;
    }
    .icn_search {
        right: 7px;
    }
    .icn_search img {
        height: 24px;
    }
    .banner-sp-bot {
        margin: 35px 16px;
        max-width: 100%;
    }
    /* Search */
    .img-banner-sp {
        margin: 27px 16px;
    }
}
@media (max-width: 403px) {
    .banner-content .comment {
        font-size: 13px !important;
    }
}
@media (max-width: 379px) {
    .banner-content .comment {
        font-size: 12px !important;
    }
}
@media (max-width: 376px) {
    /* Search */
    .header-content {
        height: 385px;
    }
}
@media (max-width: 360px) {
    .header-list {
        max-width: 315px;
        height: 110px;
    }
    .slider ul li {
        float: left;
        line-height: 35px;
        border: none;
    }
    .tab-list ul li:nth-child(7) {
        border: none;
    }
    .slider ul li a {
        font-size: 13px;
        width: 100%;
        height: 34px;
        line-height: 34px;
    }
    .dropdown-content .row,
    .result-list p span,
    .station-search .dropdown-btn {
        padding: 0 15px;
    }
    .dropdown-btn .tx-left .tx-left-inner {
        padding-left: 30px;
    }
    .dropdown-btn .tx-right .arrow {
        margin-left: 10px;
    }
    .input-search {
        padding: 18px 15px;
    }
    .btn-school li span {
        font-size: 12px;
    }
    .list-chosse li {
        width: 31.5%;
    }
    .list-chosse li {
        margin: 27px 1% 0 0;
    }
}
@media (max-width: 350px) {
    .btn,
    .sidebar-btn a {
        max-width: 310px;
    }
}
@media (max-width: 320px) {
    .header-content {
        height: 353px;
    }
    .head-top-student {
        font-size: 18px;
    }
    .banner-sp {
        max-width: 100%;
    }
    .footer-btn-scroll {
        right: 15px;
        bottom: 270px;
    }
    .chosse-student .tx-left {
        width: 100%;
    }
    .btn-banner {
        width: 110px !important;
    }
    .banner-logo img {
        width: 125px !important;
        height: 65px !important;
    }
}
