@charset "utf-8";
html { scroll-behavior: smooth;}
body{
    padding-top: 100px;
}
#link_news:before,
#link_highschool:before,
#link_online:before,
#link_school:before,
#link_access:before {
    content: "";
    display: block;
    height: 80px; /* 調整したい高さ（固定ヘッダーの高さ） */
    margin-top: -80px; /* heightと同じ分のネガティブマージン */
    visibility: hidden;
}
#wrapper {
    position: relative;
    max-width: 1200px;
    width: 100%;
    margin: auto;
    padding: 0;
}

a,
a:hover {
    text-decoration: none;
    color: blue;
}

ol,
ul {
    list-style: none;
    margin: 0;
    padding: 0;
}

header {
    background-color: transparent;
    max-width: 1200px;
    margin: 0 auto;
    padding: 1rem 0;
    position: relative;
    /*display: flex;*/
    justify-content: space-between;
    align-items: flex-end;
}
/*JSを使いfixedクラスが付与された際の設定*/
header.fixed{
    position: fixed;/*fixedを設定して固定*/
    z-index: 999;/*最前面へ*/
    top:0;/*位置指定*/
    left: 0;
    right: 0;
    background-color: rgba(255,255,255,0.8);
}

header .header_menu {
    display: flex;
    justify-content: space-between;
    margin-top: -1.0rem;
}

footer {
    position: relative;
    color: white;
    background-color: #e51c20;
    padding: 1rem calc((100vw - 1200px) / 2);
}

section {
    margin: 3rem 0;
}

h2 {
    width: 100%;
    text-align: center;
}

header .header_inner_wrapper {
    display: flex;
    justify-content: space-between;
    flex-direction: row;
}

header .red-box {
    width: 12em;
    color: white;
    background-color: #e51c20;
    padding: 0.1em 1.1em 0.05em;
    font-weight: bold;
    font-size: 1.1em;
    align-self: flex-start;
    line-height: 1.6;
    margin: 0 1em 0 0;
}

header .header_inner_wrapper img {
    margin-right: auto;
    padding: 0.1rem;
    width: 13.5rem;
}

header .header_wrapper {
    position: relative;
    margin-top: 0.5em;
}

header .header_wrapper .header_inner_wrapper {
}

header .header_p {
    font-size: 90%;
    margin-bottom: 0;
}

header h1{
    display: flex;
    justify-content: space-between;
    margin-right: 10px;
}
header h1 img:nth-of-type(1) {
    width: 8.5rem;
    margin-top: 0.4em;
}
header h1 img:nth-of-type(2) {
    width: 13.5rem;
    margin-top: 0.4em;
}

footer .footer_wrapper a.footer_logo:hover img,
.header_wrapper a:hover img {
    opacity: 1;
}

header .pc_contact {
    color: #e51c20;
    background-color: white;
    font-size: 0.9rem;
    font-weight: bold;
    padding: 0.8rem;
    border: 1px solid white;
    border-radius: 2px;
    transition: 0.2s;
}

header .pc_menu {
    display: flex;
    margin-top: -20px;
}

header .pc_menu li {
    display: table;
    border-left: 1px solid #666;
    margin-top: 2em;
    /* font-size: 0.9em; */
    font-size: 0.8em;
}

header .pc_menu li a {
    color: #666;
    display: table-cell;
    text-align: center;
    text-decoration: none;
    line-height: 1.3;
    font-weight: bold;
    padding: 0.1em 0;
    width: 118px;
    height: 2.5em;
    vertical-align: middle;
}

header .pc_menu li a:hover {
    color: white;
    background-color: #666;
    transition: 0.2s;
}

header .pc_menu li:last-child a {
    border-right: 1px solid #666;
}

header .sp_icon_area {
    display: none;
}

header .sp_icon {
    display: none;
    color: #666;
}

/*
.main_slide img {
    width: 1200px;
}
*/
.main_slide {
/*    background-image: url(../img/23summer_pc_top.png);*/
    background-image: url(../img/23winter_pc_top.png);
    background-repeat: no-repeat;
    width: 1200px;
    height: 400px;
    position: relative;
}

.main_slide a {
    overflow: hidden;
    height: 100%;
}

.main_slide a:hover {
    background-color: rgba(255, 255, 255, 0.2);
}

.main_slide .top_text1,
.main_slide .top_text2,
.main_slide .top_text3,
.main_slide .top_text4,
.main_slide .top_text5 {
    font-weight: bold;
    /*color: #fff;*/
    margin-bottom: 0.3em;
    padding: 0 0 0 820px;
}

.main_slide .top_text1 {
    color: #FFF;
    font-size: 1.35em;
    padding-top: 1.7em;
    padding-bottom: 0.4em;
    line-height: 1.5em;
}

.main_slide .top_text1 span {
    text-decoration: underline;
    /*    font-size: 1.5em;*/
}

.main_slide .top_text2 {
    color: #FFFF00;
    font-size: 1.9em;
    margin-bottom: 0.5em;
    line-height: 1.3em;
}

.main_slide .top_text3 {
    color: #FFF;
    font-size: 1.18em;
    line-height: 1.3em;
}

.main_slide .top_text4 {
    color: #FFF;
    font-size: 1.18em;
}

.main_slide .top_text5 {
    position: absolute;
    top: 23em;
}
.main_slide .top_text5 a {
    color: #fff;
    text-decoration: underline;
}

.menu_list {
    display: flex;
    justify-content: space-between;
    flex-direction: row;
    margin: 3rem 0;
    flex-wrap: wrap;
    padding: 0 10rem;
    gap: 2rem;
}

.menu_list p {
    background-color: white;
    display: inline-block;
    margin: 0.5em 0.3em 0.2em;
    padding: 0 0.3em;
    border-radius: 2px;
}

#voice {
    display: flex;
    border: 1px solid orange;
}

#voice h3 {
    margin: 1em 2.5em;
    font-size: 105%;
    font-weight: bold;
    border-bottom: 1px solid;
}

#voice ul {
    margin: 0.5em 2em;
}

#voice ul li {
    padding: 0.5em;
}

#voice ul li span {
    font-weight: bold;
}

.link_box {
    text-align: center;
    margin: 2.5em auto 4em;
    display: flex;
    flex-wrap: wrap;
    justify-content: space-between;
    max-width: 1150px;
}

.attention {
    display: flex;
    justify-content: space-evenly;
    align-items: center;
    margin: 2em auto 1em;
    border: 1px solid #666;
    border-left: 1rem solid #e65c52;
    background: -webkit-repeating-linear-gradient(-45deg, #ffffff, #ffffff 3px, #f9fcff 3px, #f9fcff 7px);
    background: repeating-linear-gradient(-45deg, #ffffff, #ffffff 3px, #f9fcff 3px, #f9fcff 7px);
}

.attention:hover {
    opacity: 0.5;
    transition: 0.2s;
}

.attention h3 {
    font-size: 2.5em;
    font-weight: bold;
    padding-left: 0.2rem;
    padding-right: 2.7rem;
    margin-left: 1rem;
    color: #e51c20;
    background: linear-gradient(transparent 70%, yellow 70%);
}

.attention p {
    position: relative;
    background: #daecff;
    border-radius: 2px;
    font-size: 1.4em;
    margin: 1rem;
    padding: 0.8rem;
    line-height: 1;
    box-shadow: 1px 1px 1px rgba(0, 0, 0, 0.15);
}

.attention p::before {
    position: absolute;
    content: "";
    left: 0;
    top: 0;
    border-width: 0 0 15px 15px;
    border-style: solid;
    border-color: #fff #fff #acd1f5;
    box-shadow: 1px 1px 1px rgba(0, 0, 0, 0.15);
}

.attention span {
    font-size: 1.7em;
    font-weight: bold;
    color: #0070b9;
}

.attention p {
    font-weight: bold;
    color: #000;
}

.attention img {
    width: 1.3em;
    margin-top: 1px;
    position: absolute;
}

.school p {
    color: #004ea2;
}

.online p {
    color: #c7000a;
}

.menu_list_item {
    width: 40%;
}

.menu_list_item a {
    display: block;
    border-radius: 10px;
    overflow: hidden;
    background-color: #fff;
    position: relative;
    border: 1px solid #999;
    color: #333;
    font-weight: bold;
}

.list_name {
    height: 9.5rem;
    padding: 1em 0 0.7em;
    text-align: center;
    font-weight: bold;
    margin-top: -0.5em;
}

.listname_p {
    font-size: 190%;
}

.list_name img {
    height: 4em;
}

.visit_message {
    border: 1px solid red;
    padding: 1em;
    background-color: #efefef;
}

.visit_message span {
    color: #c10505;
}

.visit_message p {
    margin: 0;
}

.message_img {
    height: 5em;
    margin: 0.5em 1.5em;
}

h2.top_title {
    background-image: url(../img/title_bg.png);
    background-repeat: no-repeat;
    background-position-x: 50%;
    line-height: 4em;
    margin-bottom: 1rem;
    font-size: 1.3em;
    font-weight: bold;
}

.topics {
    border: 1px solid #d8d7d8;
    padding-bottom: 10px;
    height: 24rem;
}

.topics .topics-navi {
    overflow: hidden;
    border-bottom: 2px solid #0070b9;
    padding: 10px 0 0 10px;
}

.topics .topics-navi li {
    border: 1px solid #aeaeae;
    float: left;
    margin: 0 0 -1px 3px;
}

.topics .topics-navi li {
    background-color: #e9e9ec;
    box-sizing: border-box;
    color: #333;
    display: block;
    font-weight: bold;
    letter-spacing: 0;
    line-height: 28px;
    text-align: center;
    text-decoration: none;
    min-width: 92px;
    padding: 0.2em 1em;
}

.topics .topics-navi li:hover,
.topics .topics-navi li.active {
    color: #fff;
    cursor: pointer;
}

.topics .topics-navi li.active.news,
.topics .topics-navi li.news:hover {
    background-color: #f15a24;
}

.topics .topics-navi li.active.seminar,
.topics .topics-navi li.seminar:hover {
    background-color: #0071bc;
}

.topics dl.detail {
    display: none;
    flex-wrap: wrap;
    align-content: flex-start;
    height: 18rem;
    padding: 0 0 15px 15px;
    overflow-y: scroll;
}

.topics .detail:nth-of-type(1) {
    display: flex;
}

.topics .new {
    color: #f00;
}

.topics dt {
    width: 7rem;
    padding: 1rem 1rem 1rem 0;
    font-weight: bold;
    border-bottom: 1px dotted #ddd;
}

.topics .detail dd {
    width: 63rem;
    padding-left: 20px;
    height: auto;
    padding: 1rem 0;
    border-bottom: 1px dotted #ddd;
}

.bg_gray {
    width: 100%;
    background-color: #efefef;
    padding: 2em 0;
}

.contactbox{
    display: flex;
    justify-content: center;
}

#successvoice {
    background-color: antiquewhite;
    padding: 2.5em 1em;
}

#successvoice .sv_box {
    display: flex;
    flex-wrap: wrap;
}

#successvoice .sv_title {
    color: #ed0600;
    font-size: 150%;
    font-weight: bold;
}

#successvoice .sv_p {
    text-align: center;
    font-weight: bold;
}

#successvoice img {
    width: 4.5em;
    margin-right: 0.5rem;
}

#successvoice .sv_detail {
    display: flex;
    flex-wrap: wrap;
    width: 46%;
    padding: 1em;
    background-color: #fff;
    margin: 7px;
}
#successvoice .bottom_pc {
    padding-bottom: 2.5em;
}
#successvoice .bottom_pc2 {
    padding-bottom: 4em;
}
#successvoice h4 {
    width: 100%;
    font-weight: bold;
    text-align: center;
}

#successvoice dl {
    width: 85%;
    border: 1px solid #555;
    border-radius: 10px;
    margin: 0.5em auto;
    padding: 1em;
    background-color: #fff;
}

#successvoice dt {
    display: flex;
    align-items: center;
    font-weight: bold;
    color: #004ea2;
}

#successvoice dd {
    border-top: 1px dotted;
    padding-top: 0.5em;
    text-align: justify;
}

#successvoice span {
    font-size: 80%;
}


#room .slide {
    margin-bottom: 1.5rem;
}

#room .slide .slide-inner-wrapper {
    margin: 0 1.5rem;
}

#room .slide .slide-inner-wrapper img {
    width: 100%;
}

#room .slide p {
    margin: -2em 0.5rem 1em;
    border: 1px solid #f3ddc0;
    border-radius: 5px;
    padding: 1em;
    font-size: 80%;
    height: 7em;
    background-color: #f3ddc0;
}

#room .slide .point {
    display: inline-block;
    font-weight: bold;
    color: #da1c1c;
    border-bottom: 2px solid #da1c1c;
    margin-bottom: 0.5em;
    padding: 0.1em;
}

#room .slide-inner-wrapper .photo_title {
    font-weight: bold;
    text-align: center;
    display: block;
    margin: 0.5em;
}

#room .bg_gray .center {
    text-align: center;
    border: none;
}

#school{
    border-top: 1px solid #ddd;
    border-bottom: 1px solid #ddd;
    margin-top: 7rem;
    padding: 0 12rem;
}
#online {
    border-top: 1px solid #ddd;
    border-bottom: 1px solid #ddd;
    margin-top: 7rem;
    padding: 0 6rem;
}
#highschool {
    border-top: 1px solid #ddd;
    border-bottom: 1px solid #ddd;
    margin-top: 7rem;
    padding: 0 6rem;
}
#tanka {
    border-top: 1px solid #ddd;
    border-bottom: 1px solid #ddd;
    margin-top: 7rem;
    padding: 0 6rem;
}

#school h2,
#online h2,
#tanka h2,
#highschool h2 {
    width: 30rem;
    margin: auto;
    padding: 0.8rem 2rem 0.5rem;
    border-radius: 0.2em;
    margin-top: -35px;
}

#school h3,
#online h3,
#tanka h3,
#highschool h3 {
    font-size: 1.5rem;
    width: fit-content;
    margin: 2rem auto;
    text-align: center;
}

#school h3 span,
#online h3 span,
#tanka h3 span,
#highschool h3 span {
    display: inline-block;
}

#school div,
#online div,
#tanka div,
#highschool div {
    display: flex;
    justify-content: start;
    flex-direction: row;
    flex-wrap: nowrap;
    align-items: center;
    margin-top: 3rem;
}

#school div span,
#online div span,
#highschool div span {
    color: white;
    font-size: 1.3rem;
    line-height: 1.6;
    margin-right: 2rem;
    padding: 0 1.2rem;
    border-radius: 1em;
}

#school .text,
#online .text,
#tanka .text,
#highschool .text {
    line-height: 2;
    margin: 0;
    padding: 0;
}

#school > img,
#online > img,
#tanka > img,
#highschool > img {
    display: block;
    margin: 1rem auto;
}

#school .btn_detail,
#online .btn_detail,
#tanka .btn_detail,
#highschool .btn_detail {
    display: block;
    text-align: center;
    margin: 1em 0.5em;
    width: 16em;
    padding: 1.0em 1.5em;
    color: white;
    border-radius: 5px;
}

#school .btn_detail,
#online .btn_detail,
#tanka .btn_detail,
#highschool .btn_detail {
    margin: auto;
    margin-bottom: 2em;
}
#highschool div .btn_detail {
    margin: auto;
}

#school .btn_detail a,
#online .btn_detail a,
#tanka .btn_detail a,
#highschool .btn_detail a {
    color: white;
}

#school a,
#online a,
#tanka a,
#highschool a {
    margin: auto;
}

#school h2,
#school .btn_detail {
    background-color: #004ea2;
}

#school h3 span {
    border-bottom: 1px solid #0081b4;
}

#school div span {
    background-color: #0081b4;
}

#school {
    background-color: #e2f1fe;
}

#online h2,
#online .btn_detail {
    background-color: #c7000a;
}

#online h3 span {
    border-bottom: 1px solid #e3392d;
}

#online div span {
    background-color: #e3392d;
}

#online {
    background-color: #f7ecf5;
}

#highschool h2,
#highschool .btn_detail {
    background-color: #92D050;
}

#highschool h3 span {
    border-bottom: 1px solid #A9D18E;
}

#highschool div span {
    background-color: #A9D18E;
}

#highschool {
    background-color: #D5EAD4;
}

#tanka h2,
#tanka .btn_detail {
    background-color: #fab420;
}

#tanka h3 span {
    border-bottom: 1px solid #fab420;
}

#tanka div span {
    background-color: #ffb400;
}

#tanka {
    background-color: #ffe700;
}
.btn2nd{
    display: flex;
    justify-content: start;
    flex-direction: row;
    flex-wrap: nowrap;
    /*align-items: center;*/
    margin: 1rem auto 2em;
}
.btn2nd li{
    flex-basis: 45%;
    text-align: center;
}
.btn2nd li:nth-of-type(1){
    border-right: 1px solid #CCCCCC;
    padding: 0 1em 0 0;
    margin-right: 1em;
}
.btn2nd li:nth-of-type(2) .btn_detail {
    background-color: orange !important;
}

.nyukai {
    display: block;
    margin: 1em 0.5em;
    text-align: center;
    width: 9em;
    padding: 0.5em 1em;
    border-radius: 5px;
    border: 1px solid #c7000a;
    background-color: white;
}

.nyukai {
    color: #c7000a;
}

.contact_bnr,
.faq_bnr {
    display: block;
    font-size: 1.8rem;
    color: white;
    width: fit-content;
    margin: 0.4em auto;
    border-radius: 0.4em;
}

.contact_bnr {
    background-color: #e51c20;
    padding: 0.8rem 2rem;
}

.faq_bnr {
    background-color: orange;
    padding: 0.8rem 3rem;
}

.contact_bnr:hover,
.faq_bnr:hover {
    color: white;
    opacity: 0.5;
    transform: 0.2s;
}


.faq_bnr:hover {
    color: white;
}

#access {
    display: flex;
    justify-content: center;
    flex-wrap: wrap;
    flex-direction: row;
    width: 100%;
}

#access .build ul {
    margin-top: 1rem;
}

#access .build img,
#access .build ul li {
    text-align: left;
    width: 17rem;
}

#access .build {
    margin-right: 2rem;
}

#access .build ul li.indent {
    padding-left: 1em;
    text-indent: -1em;
}

#sns .twitter {
    border: 1px solid #e2e9ec;
}

footer a,
footer a:hover {
    color: white;
}

footer .footer_wrapper {
    display: flex;
    justify-content: space-between;
    flex-wrap: nowrap;
    flex-direction: row;
}

footer .footer_wrapper a.footer_logo {
    font-size: 1.5rem;
}
footer .footer_wrapper .order1 div {
    position: absolute;
    bottom: 10px;
}

footer .footer_wrapper .address_area span {
    font-size: 1.2rem;
    vertical-align: bottom;
}

footer .link_button>a {
    display: block;
    text-align: center;
    width: 15rem;
    padding: 0.8rem 0;
    border: 1px solid white;
    border-radius: 5px;
}

footer .link_button>a:hover {
    color: #e51c20;
    background-color: white;
    transition: 0.2s;
}

footer .link_button>a:first-child {
    margin-bottom: 0.5rem;
}

footer .link_button div{
    margin-top: 50px;
}
footer .link_button div>a {
    font-size: 1.5rem;
    display: inline-block;
    background-color: #FFF;
    padding: 0.2em 0.5em 0;
}

footer .copyright {
    margin-top: 2rem;
    text-align: center;
    font-size: 90%;
}

footer .ft_link {
    text-decoration: underline;
}

#hbg,
#menu,
#bg_black {
    display: none;
}

.lb-number {
    display: none !important;
}

#pagetop {
    display: block;
    position: fixed;
    right: 4%;
    bottom: 0px;
    z-index: 999;
}

#pagetop a {
    position: relative;
    display: block;
    color: #fff;
    text-align: center;
    text-decoration: none;
    background: #e51c20;
    padding: 10px;
    padding-left: 40px;
    height: 1rem;
}

#pagetop a:before {
    position: absolute;
    content: "";
    width: 0;
    height: 0;
    border: 8px solid transparent;
    border-bottom: 11px solid white;
    top: 8px;
    left: 15px;
}

#pagetop a:hover {
    cursor: pointer;
    opacity: 0.8;
}

.marker {
    background: linear-gradient(transparent 55%, #fff700a1 50%);
}

.under-line {
    text-decoration: underline;
}

.center {
    text-align: center;
}

/* notice */
#notice {
    display: none;
    position: sticky;
    bottom: 0;
    z-index: 900;
    text-align: center;
    background-color: white;
    width: fit-content;
    padding: 0 4.8rem 0 3.8rem;
    border: 1px solid #e51c20;
    border-bottom: none;
    border-radius: 3px 3px 0 0;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
}

#notice .flex-wrapper {
    display: flex;
}

#notice img.notice-illust {
    width: auto;
    height: 7rem;
}

#notice p {
    font-size: 1.2rem;
    margin: 0;
}

#notice span {
    font-size: 0.6em;
}

#notice a.btn {
    display: flex;
    flex-wrap: wrap;
    flex-direction: column;
    justify-content: center;
    color: white;
    font-size: 0.9rem;
    line-height: 1.5;
    width: auto;
    margin: 0.8rem;
    padding: 0.4rem 0.8rem;
    text-align: center;
    border: 1px solid #e51c20;
    border-radius: 5px;
    background-color: #e51c20;
    stroke: white;
    transition: 0.3s;
}

#notice a.btn:hover {
    color: #e51c20;
    background-color: white;
}

/* #notice a.btn:hover {
  color: #e51c20;
  background-color: white;
} */
#notice a.close {
    position: absolute;
    width: 1.2rem;
    height: 1.2rem;
    top: 1rem;
    right: 0.5rem;
    cursor: pointer;
}

#notice a.close::before,
#notice a.close::after {
    position: relative;
    display: block;
    content: "";
    width: 100%;
    height: 2px;
    background: #666;
    transform: rotate(45deg);
    transform-origin: center;
}

#notice a.close::after {
    top: -2px;
    transform: rotate(-45deg);
}

#notice a.btn img {
    display: inline;
    width: auto;
    height: auto;
    flex-shrink: 0;
}

.sp {
    display: none;
}

.success_box {
    margin: 1em auto;
    display: block;
    border: 5px solid pink;
    padding: 1em;

}

.success_box_bg {
    background-image: url(../img/sakura_bg.png);
    background-repeat: no-repeat;
    background-size: cover;
    background-position-y: -150px;
    background-color: rgba(255, 255, 255, 0.3);
    background-blend-mode: lighten;
}

.success_box h4,
.success_box p,
.success_box ul {
    text-align: center;
}

.success_box ul {
    margin: auto;
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    max-width: 1000px;
}

.success_box ul li {
    margin: 0.3em 1em;
    font-weight: bold;
    font-size: 1.5em;
}

.success_box ul li span {
    font-size: 0.7em;
}

.success_box h4 img {
    width: 35px;
    vertical-align: middle;
    display: inline-block;
    padding-bottom: 5px;
}

.success_box h4 {
    font-weight: bold;
    font-size: 1.6em;
    color: #f56577;
}

.success_box h3 {
    font-size: 1.2em;
    text-align: center;
}


.btn_successvoice {
    display: block;
    background-color: #e51c20;
    color: #fff;
    text-align: center;
    padding: 1em;
    margin: 0 0 0 auto;
    width: 310px;
}


/* tablet */
@media screen and (max-width: 1200px) {
    #wrapper {
        max-width: calc(768px - 2rem);
        padding: 0 1rem;
    }

    header,
    footer {
        padding: 1rem calc((100vw - (768px - 1rem)) / 2);
    }

    header {
        display: flex;
    }

    header .pc_contact {
        display: none;
    }

    header .header_inner_wrapper,
    header .red-box {
        display: none;
    }

    header .pc_menu {
        display: none;
    }

    header .sp_icon_area {
        display: flex;
    }

    header .sp_icon {
        display: block;
        text-align: center;
        width: 4rem;
        margin-right: 5px;
    }

    header #hbg {
        width: 3rem;
    }

    header .sp_icon:hover {
        cursor: pointer;
        opacity: 0.8;
    }

    header .sp_icon .material-icons,
    header .sp_icon #hbg_box {
        width: 2.5rem;
        font-size: 2.5rem;
    }

    header .sp_icon > p {
        font-size: 0.5rem;
        text-align: center;
    }

    .main_slide {
        background-size: 768px;
        background-repeat: no-repeat;
        width: 100vw;
        height: 270px;
    }

    .main_slide .top_text1,
    .main_slide .top_text2,
    .main_slide .top_text3,
    .main_slide .top_text4 {
        font-weight: bold;
        /*color: #fff;*/
        margin-bottom: 0.3em;
        padding: 0 0 0 520px;
    }

    .main_slide .top_text1 {
        color: #FFF;
        font-size: 0.9em;
        padding-top: 1.2em;
        padding-bottom: 0.8em;
        line-height: 1.5em;
    }

    .main_slide .top_text1 span {
        text-decoration: underline;
        /*    font-size: 1.5em;*/
    }

    .main_slide .top_text2 {
        color: #FFFF00;
        font-size: 1.25em;
        margin-bottom: 0.8em;
        line-height: 1.2em;
    }

    .main_slide .top_text3 {
        color: #FFF;
        font-size: 0.75em;
        line-height: 1.3em;
    }

    .main_slide .top_text4 {
        color: #FFF;
        font-size: 0.75em;
    }

    #hbg {
        display: block;
    }

    #hbg_box {
        margin-top: 0.6rem;
    }

    #hbg_box p,
    .show_menu #close_menu p {
        background-color: #666;
        border-radius: 0.5em;
        content: "";
        margin: auto;
        margin-bottom: 8px;
        height: 4px;
        width: 2.5rem;
        font-size: 9px;
    }

    .show_menu #menu {
        display: block;
        position: fixed;
        top: 0;
        width: 100%;
        max-width: 768px;
        z-index: 11000;
    }

    .show_menu ul {
        width: calc(100% - 0.4rem);
        background-color: white;
        margin-top: 5rem;
        border: 2px solid #555;
        border-radius: 3px;
    }

    .show_menu ul li {
        border-bottom: 1px solid #333;
        text-align: center;
    }

    .show_menu ul li a {
        display: inline-block;
        color: #333;
        line-height: 3;
        width: 100%;
        padding: 0.5rem;
    }

    .show_menu #close_menu {
        position: absolute;
        top: 2rem;
        right: 0.6rem;
        width: 2.5rem;
        height: 2.3rem;
    }

    .show_menu #close_menu p {
        position: absolute;
    }

    .show_menu #close_menu p:first-child {
        transform: rotate(45deg);
        top: 0.9rem;
        right: 0;
    }

    .show_menu #close_menu p:last-child {
        transform: rotate(-45deg);
        top: 0.9rem;
        right: 0;
    }

    .show_menu #bg_black {
        display: block;
        position: fixed;
        top: 0;
        left: 0;
        width: 100vw;
        height: 100%;
        background-color: #000;
        opacity: 0.8;
        z-index: 9999;
    }

    .main_slide {
        width: 768px;
        margin-left: -1rem;
    }

    .main_slide img {
        width: 768px;
    }

    body .pc {
        display: none;
    }

    .list_name {
        height: auto;
    }

    .menu_list .listname_p {
        text-align: center;
        font-size: 1.5rem;
        margin: 0;
        line-height: 4rem;
    }

    .topics .detail dd {
        width: 30rem;
    }

    #school,
    #online,
    #tanka,
    #highschool {
        padding: 0 1rem;
    }

    #school div,
    #online div,
    #tanka div,
    #highschool div {
        flex-direction: column;
        align-items: flex-start;
    }

    #school p,
    #online p,
    #tanka p,
    #highschool p {
        width: auto;
        text-align: left;
        margin-top: 1rem;
    }

    .nyukai {
        text-align: center;
    }

    .contactbox{
        display: block;
    }
    #room .slide p {
        font-size: 0.8em;
        height: auto;
    }

    #room .slide .slide-inner-wrapper {
        margin: 0 0.5rem;
    }

    #access .build img {
        width: 15rem;
    }

    #access .build ul {
        width: auto;
        margin: 0 0 0 1rem;
    }

    #access .build {
        display: flex;
    }

    #access iframe {
        width: 100vw;
        max-width: 768px;
        height: 25rem;
        margin-top: 2rem;
    }

    .access_box {
        display: flex;
        flex-wrap: wrap;
    }

    #sns {
        margin: auto;
        margin-bottom: 2rem;
        width: 70%;
    }

    .link_box a img {
        width: 80%;
    }

    .link_box {
        margin: 2em 0 1em;
    }

    .attention {
        justify-content: space-evenly;
        flex-direction: column;
        align-items: center;
        margin: 2em auto 1em;
    }

    .attention h3 {
        margin-left: 0;
    }

    .attention p {
        font-size: 2em;
        margin: 0.5rem;
        padding: 0.6rem;
        line-height: 1.5;
    }

    .attention span {
        font-size: 1em;
        margin-right: 0.5rem;
    }

    #successvoice .sv_detail {
        width: 100%;
    }

    footer .footer_wrapper {
        flex-direction: column;
        align-items: center;
    }

    footer .footer_wrapper > * {
        margin-bottom: 1rem;
        padding: 0 1rem;
    }

    footer .link_button {
        display: flex;
        justify-content: space-between;
        flex-direction: column;
        align-items: baseline;
        width: 32rem;
        text-align: center;
    }

    footer .order1 {
        order: 2;
    }

    footer .order2 {
        order: 3;
    }

    footer .order3 {
        order: 1;
    }
    footer .footer_wrapper .order1 div,
    footer .link_button div{
        position: relative;
        bottom: auto;
    }
    footer .link_button>a{
        width: 32rem;
        display: block;
        margin: 0.5em auto;
    }
    footer .link_button div{
        position: relative;
        bottom: auto;
        text-align: center;
        max-width: 18rem;
        margin: 0.5em auto 1em;
    }
    footer .link_button div a{
        margin: 0 auto;
        display: inline-block;
    }
    footer .copyright {
        margin: 0.5rem 0;
    }
}

/* SP */
@media screen and (max-width: 767px) {
    body {
        max-width: 425px;
        margin: auto;
    }
    header h1{
        flex-direction: column;
    }
    header h1 img:nth-of-type(2){
        margin-top: 0;
    }    
    section {
        margin: 1rem 0;
    }

    #wrapper {
        max-width: 425px;
        width: auto;
        padding: 0 1rem;
    }

    header {
        padding: 0.5rem 0.2rem;
        display: flex;
    }

    header .header_inner_wrapper {
        display: none;
    }

    header h1 {
        width: 50vw;
        max-width: 15rem;
    }

    header h1 img {
        width: 100%;
    }

    .show_menu #menu {
        max-width: 425px;
    }

    .topics .detail dd {
        width: 12rem;
    }

    .main_slide {
/*
        background-image: url(../img/23summer_sp_top.png);
        background-size: contain;
        background-color: #1a9ce5;
*/
        background-image: url(../img/23winter_sp_top.png);
        background-size: contain;
        background-color: #e76d84;
        width: 100vw;
        max-width: 425px;
        height: 500px;
    }

    .main_slide .top_text1,
    .main_slide .top_text2,
    .main_slide .top_text3,
    .main_slide .top_text4 {
        font-weight: bold;
        /*color: #fff;*/
        margin-bottom: 0.3em;
        padding: 0 0 0 20px;
    }

    .main_slide .top_text1 {
        color: #FFF;
        font-size: 0.9em;
        padding-top: 0.8em;
        padding-bottom: 16em;
        line-height: 1.5em;
    }

    .main_slide .top_text1 span {
        text-decoration: underline;
        /*    font-size: 1.5em;*/
    }

    .main_slide .top_text2 {
        color: #FFFF00;
        font-size: 1.8em;
        margin-bottom: 0.5em;
        line-height: 1.2em;
    }

    .main_slide .top_text3 {
        color: #FFF;
        font-size: 0.9em;
        line-height: 1.3em;
    }

    .main_slide .top_text4 {
        color: #FFF;
        font-size: 0.9em;
    }

    .main_slide img {
        width: 100vw;
        max-width: 425px;
    }

    .menu_list {
        flex-direction: column;
        margin: 0;
        padding: 0;
        gap: 0;
    }

    .menu_list_item {
        width: 100%;
    }

    .menu_list_item a {
        display: flex;
        flex-direction: row;
        height: 6rem;
        margin: 1rem 0;
    }

    .menu_list_item img {
        height: 100%;
        width: 145px;
    }

    .link_box a img {
        width: 100%;
    }

    .list_name {
        line-height: 5rem;
        width: 100%;
        padding: 1.2em 0 0.8em;
        text-align: center;
        height: 4.5rem;
    }

    .listname_p {
        font-size: 120%;
    }

    .attention {
        font-size: 0.5rem;
    }

    .attention p::before {
        border-width: 0 0 7px 7px;
    }

    #successvoice div {
        display: block;
    }

    #successvoice dl {
        width: revert;
    }

    #successvoice img {
        display: none;
    }

    #school,
    #online,
    #highschool,
    #tanka {
        margin-top: 4rem;
    }

    #school h2,
    #online h2,
    #tanka h2,
    #highschool h2 {
        width: auto;
    }

    #school h3,
    #online h3,
    #tanka h3,
    #highschool h3 {
        font-size: 1rem;
    }

    #school div,
    #online div,
    #tanka div,
    #highschool div {
        align-items: center;
        margin-top: 2rem;
    }

    #school div span,
    #online div span,
    #tanka div span,
    #highschool div span {
        margin-right: 0;
    }

    #school .text,
    #online .text,
    #tanka .text,
    #highschool .text {
        width: 95%;
    }

    #school > img,
    #online > img,
    #tanka > img,
    #highschool > img {
        width: 65%;
    }

    #school .btn_detail,
    #online .btn_detail,
    #tanka .btn_detail,
    #highschool .btn_detail {
        margin: 1em auto;
        width: 12em;
        padding: 1.0em 0.5em;
    }
.btn2nd{
    display: flex;
    justify-content: start;
    flex-direction: column;
    flex-wrap: nowrap;
    /*align-items: center;*/
    margin: 1rem auto 2em;
}
.btn2nd li{
    flex-basis: 100%;
    text-align: center;
}
.btn2nd li:nth-of-type(1){
    border-right: 0px solid #CCCCCC;
    padding: 0 0;
    margin-right: 0;
}
.btn2nd li div{
    font-size: 0.8em;
}


    .contact_bnr,
    .faq_bnr {
        font-size: 1.2rem;
    }

    .faq_bnr {
        padding: 0.8rem 2.5rem;
    }

    #access .build {
        margin-right: 0;
    }

    #access .build img {
        width: auto;
        height: 12rem;
    }

    #access .build ul li {
        width: auto;
    }

    #access iframe {
        max-width: 100%;
    }

    .access_box {
        display: flex;
        flex-wrap: wrap;
    }

    #notice {
        text-align: center;
        width: fit-content;
        padding: 0 1rem 0 0;
    }

    #notice p {
        font-size: 1rem;
    }

    #notice img {
        display: none;
    }

    #voice {
        flex-direction: column;
        align-items: center;
    }

    #voice h3 {
        margin: 1rem 1rem;
    }

    #voice ul {
        margin: 1rem;
    }

    #voice ul li {
        padding: 0;
    }

    footer .link_button {
        flex-direction: column;
        width: auto;
    }

    footer .copyright {
        font-size: 0.8rem;
    }

    footer .address_area {
        padding: 0 1rem;
    }

    footer .address_area span {
        display: inline-block;
    }

    footer .address_area span.uketuke_l {
        margin-right: 2rem;
        vertical-align: top;
    }

    footer .address_area span.uketuke_r {
        width: 17rem;
    }

    footer .link_button>a{
        width: 16rem;
        display: block;
        margin: 0.5em auto;
    }
    footer .link_button div{
        position: relative;
        bottom: auto;
        text-align: center;
        max-width: 16rem;
    }

    .sp {
        display: block;
    }
}

/* SP */
@media screen and (max-width: 450px) {
    .sp_none {
        display: none !important;
    }
body{
    padding-top: 70px;
}
header h1{
    display: flex;
    justify-content: space-between;
    margin-right: 5px;
}
header h1 img:nth-of-type(1) {
    width: 9rem;
    margin-top: 0.5em;
}
header h1 img:nth-of-type(2) {
    width: 11.5rem;
    margin-top: 0.1em;
}

    .main_slide .top_text1,
    .main_slide .top_text2,
    .main_slide .top_text3,
    .main_slide .top_text4 {
        padding: 0 4.5vw;
    }
    #successvoice .bottom_pc {
    padding-bottom: 0;
}
    #successvoice .bottom_pc2 {
        padding-bottom: 0;
    }

    .main_slide {
        margin-left: -1rem;
        width: calc(100% + 2rem);
        height: 100vw;
    }

    .main_slide .top_text1 {
        font-size: 4.2vw;
        padding-top: 1.8vw;
        padding-bottom: 48vw;
    }

    .main_slide .top_text2 {
        font-size: 4.2vw;
        margin-bottom: 1vw;
    }

    .main_slide .top_text3 {
        font-size: 3.5vw;
        margin-bottom: 1vw;
    }

    .main_slide .top_text4 {
        font-size: 4.5vw;
    }

    .attention {
        font-size: 1.7vw;
    }

    .success_box {
        padding: 0.5em 0.2em;
    }

    .success_box ul li {
        margin: 0.1em auto;
    }

    .btn_successvoice {
        width: auto;
    }
}
