@charset "utf-8";
/* 小学校から探す_TOP */

body {
    background: #F8F8F8;
    text-align: left;
    line-height: 0;
    -webkit-text-size-adjust: 100%;
}

.global_container {
    width: 1000px;
    margin: 0 auto;
    color: #333333;
    font-family: 'Hiragino Kaku Gothic ProN', 'ヒラギノ角ゴ W3', 'メイリオ', Meiryo, sans-serif;
}

.pc {
    display: block;
}

.sp {
    display: none;
}

.main-visual {
    width: 100%;
    height: 260px;
    margin: 20px auto 30px;
    display: flex;
    flex-direction: column;
    justify-content: center;
    background: url(/static/20251105-140603258/images/std/e1/C0Z45_other/C0Z45_top_main.png);
}

.main-text-all {
    width: 660px;
    height: 218px;
    margin: 0 auto;
    background: rgba(255, 255, 255, 0.8);
}

.main-text {
    width: 644px;
    height: 202px;
    margin: 8px;
    border: 1px solid #707070;
}

.main-text h1 {
    position: relative;
    margin: 22px auto 40px;
    font-size: 30px;
    text-align: center;
    line-height: 40px;
}

.main-text h1::after {
    content: '';
    position: absolute;
    left: 50%;
    bottom: -22px;
    display: inline-block;
    width: 105px;
    height: 2px;
    -webkit-transform: translateX(-50%);
    transform: translateX(-50%);
    background-color: #333333;
}

.main-text h1>span {
    font-size: 23px;
    margin-left: 5px;
}

.main-text p {
    margin: 0 20px 10px;
    font-size: 12px;
    line-height: 16px;
}

.main-text p.small {
    font-size: 11px;
    line-height: 15px;
}

.introduction_container {
    margin-bottom: 50px;
}

h2.introduction_title {
    font-size: 25px;
    line-height: 33px;
    margin-bottom: 10px;
}

.introduction_title>span {
    margin-left: 5px;
    font-size: 18px;
}

.fas fa-search::before {
    content: "\f002";
    font-family: 'Font Awesome 5 Free';
    font-weight: 900;
}

.introduction_main {
    background: #F5F5ED;
    border-radius: 5px;
    padding: 20px 20px 0 20px;
    border: 1px solid #CCCCCC;
}

.introduction_box {}

.school_top h3.introduction_box_title {
    position: relative;
    margin-bottom: 15px;
    padding-left: 15px;
    color: #CC0033;
    font-size: 18px;
    line-height: 24px;
    font-weight: normal;
}

.school_top h3.introduction_box_title::before {
    content: '';
    position: absolute;
    left: 3px;
    bottom: 0;
    display: inline-block;
    width: 7px;
    height: 25px;
    -moz-transform: translateX(-50%);
    -webkit-transform: translateX(-50%);
    -ms-transform: translateX(-50%);
    transform: translate(-50%);
    background-color: #CC0033;
    border-radius: 1px;
}

.introduction_box ul {
    display: flex;
    margin-bottom: 10px;
}

.introduction_box ul li>a {
    width: 76px;
    height: 36px;
    margin: 0 10px 10px 0;
    background: #fff;
    border: 1px solid #DDDDDD;
    border-radius: 3px;
    font-size: 14px;
    display: flex;
    justify-content: center;
    align-items: center;
    text-decoration: none;
    box-shadow: 0 1px 2px rgba(0, 0, 0, 0.16);
}

.introduction_box ul li>a:link, .introduction_box ul li>a:visited {
    color: #333333;
}

.introduction_box ul li>a:hover {
    color: #CC0033;
    border: 1px solid #CC0033;
    cursor: pointer;
    font-weight: bold;
}

/* 小学校から探す_都道府県TOP */

.school_prefecture .main-top-text {}

.school_prefecture .main-top-text h1 {
    margin: 18px 0 20px;
    font-size: 25px;
    line-height: 30px;
}

.school_prefecture .main-top-text p {
    margin-bottom: 30px;
    font-size: 14px;
    line-height: 19px;
}

.school_prefecture .introduction_box_title {
    width: 100%;
    height: 50px;
    padding-left: 20px;
    background: #CC0033;
    border-radius: 5px 5px 0 0;
    color: #fff;
    font-size: 18px;
    display: flex;
    align-items: center;
    box-sizing: border-box;
}

.introduction_box_prefecture ul {
    border: 1px solid #CCCCCC;
    display: flex;
    flex-wrap: wrap;
    background: #F5F5ED;
}

.introduction_box_prefecture ul:not(:first-child) {
    border-top: none;
}

.introduction_box_prefecture ul:last-child {
    margin-bottom: 20px;
}

.introduction_box_prefecture li {
    width: 25%;
    height: 40px;
    padding-left: 20px;
    font-size: 14px;
    line-height: 19px;
    display: flex;
    align-items: center;
    box-sizing: border-box;
}

.introduction_box_prefecture ul li>a:link, .introduction_box_prefecture ul li>a:visited {
    color: #333333;
}

/* 小学校から探す_ 市区郡ページ*/

.school-search {
    width: 100%;
    text-align: center;
    margin: 0 0 55px;
    position: relative;
    top: 0;
    left: 0;
}

.school-search ul {
    display: flex;
}

.school-search ul.tab {
    margin: 0 15px;
    font-size: 0;
    letter-spacing: 0;
    padding-inline-start: 0;
}

.school-search ul.tab li {
    width: 100%;
    display: flex;
    flex-direction: column-reverse;
}

.school-search ul.tab li:first-child {
    margin-right: 10px;
}

.school-search h3 a {
    display: block;
    position: relative;
    top: 0;
    left: 0;
    background: #fff;
    box-sizing: border-box;
    border: 1px solid #ccc;
    border-bottom: none;
    padding: 14px 10px;
    color: #CC0033;
    font-size: 14px;
    font-weight: 500;
    text-align: center;
    text-decoration: none;
    line-height: 1;
    cursor: pointer;
    -moz-border-radius: 5px 5px 0 0;
    -webkit-border-radius: 5px 5px 0 0;
    border-radius: 5px 5px 0 0;
    -webkit-transition: all .4s cubic-bezier(0.215, 0.61, 0.355, 1);
    -moz-transition: all .4s cubic-bezier(0.215, 0.61, 0.355, 1);
    transition: all .4s cubic-bezier(0.215, 0.61, 0.355, 1);
}

.school-search h3 a span {
    font-size: 20px;
    margin: 0 5px;
    font-weight: bold;
}

.school-search h3 a.active {
    color: #fff;
    padding: 20px 10px;
    background-color: #CC0033;
    -webkit-transition: none;
    -moz-transition: none;
    transition: none;
}

.school-search h3 a:hover {
    color: #fff;
    background-color: #CC0033;
}

.school-search h3 .angle-down {
    position: absolute;
    left: 6px;
    top: 3px;
    font-size: 12px;
    color: #fff;
    transform: rotate(-90deg);
    transform-origin: center center 0;
    transition: all 0.1s ease;
    z-index: 1;
}

_::-webkit-full-page-media, _:future, :root .school-search h3 .angle-down {
    left: 6px;
    top: 3px;
}

.school-search h3 a.active .angle-down {
    left: 5px;
    top: 4px;
    transform: rotate(0);
}

_::-webkit-full-page-media, _:future, :root .school-search h3 a.active .angle-down {
    left: 5px;
    top: 4px;
}

.school-search h3 .round {
    content: "";
    display: block;
    width: 18px;
    height: 18px;
    margin: 0;
    padding: 0;
    position: absolute;
    left: 14px;
    top: 17px;
    background: #CC0033;
    border-radius: 50%;
}

.school-search h3 a:hover .angle-down, .school-search h3 a.active .angle-down {
    color: #CC0033;
}

.school-search h3 a:hover .round {
    background: #fff;
}

.school-search h3 a.active .round {
    background: #fff;
    top: 22px;
    left: 15px;
}

.school-search .inner {
    width: 100%;
    height: auto;
    padding: 15px;
    background: #F5F5ED;
    border: 1px solid #ccc;
    border-radius: 5px;
    box-sizing: border-box;
}

.school-search .release-box {}

.school-search .tyugaku {
    display: none;
}

.school-search .inner .nav {}

.school-search .inner .nav ul {
    width: 100%;
    margin-bottom: 10px;
    text-align: left;
}

.school-search .inner .nav ul li {
    width: auto;
    margin: 0 10px 0 0;
}

.school-search .inner .nav ul li>a {
    width: 50px;
    height: 36px;
    padding-left: 7px;
    background: #fff;
    border: 1px solid #CCC;
    border-radius: 10px;
    color: #CC0033;
    font-size: 16px;
    font-weight: 600;
    text-decoration: none;
    display: flex;
    align-items: center;
    box-sizing: border-box;
}

.school-search .inner .nav ul li>a:hover {
    opacity: 0.6;
}

.school-search .inner .nav ul li .nav-angle {
    margin-left: 10px;
}

.school-search .inner .school-list-number-all {
    width: 100%;
    margin-bottom: 2px;
    line-height: 1;
    text-align: left;
}

.school-search .inner .school-list-number-all p {
    margin-bottom: 10px;
    font-weight: 600;
}

.school-search .inner .school-list-number-all .mgn {
    margin-right: 5px;
}

.school-search .inner .school-list-all {
    width: 100%;
    display: flex;
    flex-wrap: wrap;
    justify-content: space-between;
}

.school-search .inner .school-list-all a:visited, .school-search .inner .school-list-all a:link {
    color: #333;
    text-decoration: none;
}

.school-search .inner .school-list {
    position: relative;
    width: 49.6%;
    background: #fff;
    border: 1px solid #DDD;
    border-bottom: 2px solid #DDD;
    border-radius: 5px;
    box-sizing: border-box;
    cursor: default;
    margin-bottom: 10px;
}

.school-search .inner .school-list:hover {
    opacity: 0.6;
}

.school-search .inner .school-list .angle {
    position: absolute;
    right: 10px;
    top: 28px;
    color: #ddd;
}

.school-search .inner .school-list.none {
    color: #C5C5C5;
}

.school-search .inner .school-list.none:hover {
    opacity: 1;
}

.school-search .inner .school-list a {
    font-weight: 600;
}

.school-search .inner .school-list dl {
    margin: 15px 10px;
}

.school-search .inner .school-list dt {
    margin-bottom: 5px;
    font-size: 16px;
    line-height: 21px;
}

.school-search .inner .school-list dd {
    font-size: 12px;
    font-weight: normal;
    line-height: 16px;
}

/* javascriptが無効になっている時に表示される注意文 */

.ns-alert {
    padding-top: 15px;
    padding-bottom: 15px;
}

.site-alert {
    padding: 1em 15px;
    text-align: left;
    border: 1px solid #faebcc;
    background: #fcf8e3;
}

.site-alert>.atention {
    font-size: 14px;
    font-weight: 700;
    line-height: 25px;
    color: #8a6d3b;
}

@media (min-width: 768px) {
    .container {
        width: 1000px;
        margin-right: auto;
        margin-left: auto;
    }
}

@media (max-width: 1020px) and (min-width: 768px) {
    .global_container {
        width: 98%;
    }
    .introduction_box ul {
        flex-wrap: wrap;
    }
    .introduction_box ul li>a {
        margin-bottom: 10px;
    }
    .container {
        width: 98%;
    }
}

@media screen and (max-width: 767px) {
    .global_container {
        width: 100%;
    }
    .pc {
        display: none;
    }
    .sp {
        display: block;
    }
    /* 小学校から探す_TOP */
    .main-visual {
        width: 100%;
        height: 342px;
        margin: 0 auto 20px;
        background: url(/static/20251105-140603258/images/std/e1/C0Z45_other/C0Z45_top_main_sp.png);
        background-size: cover;
        background-position: center;
    }
    .main-text-all {
        width: 85%;
        height: auto;
    }
    .main-text {
        width: auto;
        height: auto;
        margin: 5px;
    }
    .main-text h1 {
        font-size: 25px;
        text-align: center;
        line-height: 33px;
        margin: 13px 0 40px;
    }
    .main-text h1::after {
        content: '';
        position: absolute;
        left: 50%;
        bottom: -22px;
        display: inline-block;
        width: 70px;
        height: 2px;
        -webkit-transform: translateX(-50%);
        transform: translateX(-50%);
        background-color: #333333;
    }
    .main-text h1>span {
        font-size: 18px;
        line-height: 24px;
        margin-left: 0;
    }
    .main-text p {
        margin: 0 14px 22px;
        font-size: 11px;
        line-height: 15px;
    }
    .main-text p.small {
        font-size: 10px;
        line-height: 14px;
    }
    .introduction_container {
        margin-bottom: 50px;
    }
    h2.introduction_title {
        font-size: 23px;
        line-height: 31px;
        margin-left: 10px;
    }
    .introduction_title>span {
        font-size: 16px;
        line-height: 21px;
    }
    .fas fa-search::before {
        content: "\f002";
        font-family: 'Font Awesome 5 Free';
        font-weight: 900;
    }
    .introduction_main {
        border-radius: 0;
        border: none;
        border-top: 1px solid #CCCCCC;
        border-bottom: 1px solid #CCCCCC;
    }
    .introduction_box {}
    .school_top h3.introduction_box_title {
        margin-bottom: 11px;
        font-size: 16px;
    }
    .school_top h3.introduction_box_title::before {
        left: 4px;
    }
    .introduction_box ul {
        margin-bottom: 10px;
        flex-wrap: wrap;
    }
    .introduction_box ul li>a {
        width: 69px;
        height: 32px;
        font-size: 12px;
    }
    /* 小学校から探す_都道府県TOP */
    .school_prefecture {
        margin-bottom: 50px;
    }
    .school_prefecture .main-top-text {
        margin-left: 10px;
    }
    .school_prefecture .main-top-text h1 {
        margin: 10px 0 20px;
        font-size: 16px;
        line-height: 16px;
    }
    .school_prefecture .main-top-text p {
        margin-bottom: 20px;
        font-size: 12px;
        line-height: 16px;
    }
    .school_prefecture .introduction_box_title {
        width: 100%;
        height: 40px;
        padding-left: 15px;
        border-radius: 0;
        font-size: 16px;
    }
    .introduction_box_prefecture ul {
        border: none;
    }
    .introduction_box_prefecture ul:last-child {
        margin-bottom: 0;
    }
    .introduction_box_prefecture li {
        display: inline-block;
        width: 100%;
        height: 36px;
        padding-left: 0;
        font-size: 12px;
        line-height: 16px;
        border-bottom: 1px solid #CCCCCC;
        background: url(/static/20251105-140603258/images/std/e1/C0Z45_other/right-arrow.png) no-repeat center right 20px
    }
    .introduction_box_prefecture ul:last-child>li:last-child {
        border-bottom: none;
    }
    .introduction_box_prefecture li>a {
        display: block;
        width: 100%;
        padding: 10px 0 10px 20px;
        box-sizing: border-box;
    }
    .introduction_box_prefecture ul li>a:link, .introduction_box_prefecture ul li>a:visited {
        text-decoration: none;
    }
    /* 小学校から探す_ 市区郡ページ*/
    .school-search {
        margin-bottom: 0;
    }
    .school-search ul.tab {
        margin: 0 10px;
    }
    .school-search h3 {
        width: 100%;
        margin: 0 auto;
        text-align: center;
    }
    .school-search h3 a {
        font-size: 12px;
        text-align: left;
        padding: 5px 0 5px 40px;
    }
    .school-search h3 a.active {
        padding: 10px 0 10px 40px;
    }
    .school-search h3 a span {
        display: inline-block;
        margin: 5px 5px 0 0;
    }
    .school-search .inner .nav {
        margin: 10px 0 10px 10px;
    }
    .school-search .inner .nav ul {
        overflow-y: hidden;
        overflow-x: scroll;
        padding-bottom: 2px;
    }
    .school-search .inner .nav ul::-webkit-scrollbar {
        height: 2px;
    }
    .school-search .inner .nav ul::-webkit-scrollbar-track {
        margin: 0;
        border-radius: 5px;
    }
    .school-search .inner .nav ul::-webkit-scrollbar-thumb {
        border-radius: 5px;
        background: #C5C5C5;
    }
    .school-search .inner .nav ul li {
        width: auto;
        margin: 0 10px 0 0;
    }
    .school-search .inner {
        padding: 0 0 20px 0;
        border: none;
        border-top: 1px solid #ccc;
        border-radius: 0;
        border-bottom: 1px solid #ccc;
    }
    .school-search .inner .school-list {
        width: 100%;
        background: #fff;
        border: none;
        margin-bottom: 5px;
        border-radius: 0;
    }
    .school-search .inner .school-list-number-all p {
        margin: 10px;
        line-height: 18px;
    }
    .school-search h3 .round {
        top: 16px;
        left: 10px;
    }
    .school-search h3 a.active .round {
        top: 21px;
        left: 10px;
    }
    .container {
        margin-right: 10px;
        margin-left: 10px;
    }
}

@media screen and (max-width: 320px) {
    .main-text h1 {
        font-size: 22px;
        line-height: 33px;
        margin: 12px 20px 16px;
    }
    .main-text h1>span {
        font-size: 17px;
    }
    .main-text p {
        margin-top: 30px;
    }
    .main-text h1::after {
        bottom: -12px;
    }
    .school-search h3 a {
        padding: 14px 0 14px 34px;
    }
    .school-search h3 a.active {
        padding: 20px 0 20px 34px;
    }
}