@media (min-width: 768px) {
    .navbar-collapse.collapse {
        display: none !important;
    }
}
.navi {
    position: sticky;
    top: 0;
    z-index: 2;
    background: #fff;
    box-shadow: 0 5px 5px rgba(0, 0, 0, 0.15);
}

.navi ul {
    margin: 10px 0;
    display: flex;
    justify-content: end;
    align-items: center;
    gap: 10px;
}

.navi a {
    color: #333;
    margin-right: 10px;
}

.navi a:hover {
    opacity: 0.7;
}

.navi a img:hover {
    opacity: 1;
}

.navi .btn {
    background: #d0111b;
    color: #fff;
    border-radius: 500px;
    margin-right: 0;
}
.pcnavi ul li:nth-of-type(2) {
    border-right: 1px solid #ccc;
}
.pcnavi ul li:nth-of-type(7) .btn {
    background: #f80;
}
.pcnavi ul {
    padding: 0 5px;
}

.navbar-header {
    background: #d0111b;
}
@media (max-width: 767px) {
    .pcnavi {
        display: none;
    }
}

.mng_content_mb0 {
    margin-bottom: 0;
}
#main-footer-bg {
    margin-top: 0 !important;
}


.akindo25 {
    line-height: 1.5;
    font-size: 16px;
}
.akindo25 img {
    max-width: 100%;
    height: auto;
}
.akindo25 h2 {
    color: #d0111b;
    border: none;
    text-align: center;
    font-size: 40px;
    margin-bottom:10px;
    line-height: 1.2;
}
.akindo25 h3 {
    line-height: 1.2;
}
.akindo25 .link {
    padding-top: 30px;
    margin-top: -30px;
}
.akindo25 ul {
    list-style-type: disc;
    list-style-position: outside;
    padding-left: 30px;
}
.akindo_content {
    padding-left: 20px;
    padding-right: 20px;
    padding-bottom: 60px;
}
@media (max-width: 767px) {
    .akindo25 h2 {
        font-size: 30px;
    }
}



.mv {
    /* background: #a7a7a7 url(../img/mn25.jpg) no-repeat center/cover; */
    background: linear-gradient(transparent 20%, rgba(0, 0, 0, 0.75)), url(../img/mn25.jpg);
    background-size: cover;
    background-repeat: no-repeat;
    background-position: center;
    background-color: #a7a7a7;
    color: #fff;
    text-align: center;
    padding: 40px 20px;
    font-weight: bold;
}
.mv img {
    /* background: #fff;
    padding: 10px 20px; */
    max-width: 250px;
}
.mv h1 {
    margin-bottom: 20px;
    color: #fff;
}
.mv h1 span {
    color: rgb(255, 236, 68);
    
    
}
.mv p {
    font-size: 20px;
    text-align: left;
}
.mv .btnarea {
    margin-top: 20px;
    display: flex;
    gap: 50px;
}
.mv .btnarea a {
    border-radius: 8px;
    font-weight: bold;
}
.mv .btnarea > a {
    background: #d0111b;
    display: block;
    padding: 10px 20px;
    display: flex;
    justify-content: center;
    align-items: center;
    color: #fff;
    flex-grow: 1;
}
.mv .btnarea > a span {
    font-size: 30px;
}

.mv .btnarea_inner {
    display: flex;
    flex-wrap: wrap;
    gap: 20px;
}
.mv .btnarea_inner a {
    background: #fff;
    display: block;
    width: 100%;
    padding: 20px;
    color: #333;
    font-size: 18px;
    
}
.mv .btnarea_inner a:nth-of-type(1) {
    color: #d0111b;
}
@media (max-width: 767px) {
    .mv {
        padding: 20px;
    }
    .mv h1 {
        font-size: 30px;
    }
    .mv h1 br {
        display: none;
    }
    .mv p {
        font-size: 16px;
    }
    .mv .btnarea {
        gap: 20px;
        flex-wrap: wrap;
    }
    .mv .btnarea > a {
        width: 100%;
    }
    .mv .btnarea > a span {
        font-size: 20px;
    }
    .mv .btnarea > a br:first-of-type {
        display: none;
    }
    .mv .btnarea_inner {
        width: 100%;
    }
}


.nayami .ttl {
    font-size: 26px;
    text-align: center;
    margin-bottom: 20px;
    font-weight: bold;
}
.nayami .col3 {
    display: flex;
    gap: 20px;
}

.nayami .col3_inner {
    background: rgb(248, 248, 215);
    padding: 20px;
}
.nayami .col3_inner h3 {
    color: #d0111b;
    border: none;
    text-align: center;
    margin-bottom: 0;
}
@media (max-width: 767px) {
    .nayami .ttl {
        font-size: 20px;
    }
    .nayami .col3 {
        flex-wrap: wrap;
    }
    .nayami .col3_inner {
        width: 100%;
    }
}


.step {
    background: #ffe3e4;
}
.step h2 {
    border-bottom: 2px solid #aaa;
    width: fit-content;
    margin-right: auto;
    margin-left: auto;
}
.step .num_text {
    font-size: 20px;
    text-align: center;
}
.step .num_text span {
    font-weight: bold;
    font-size: 26px;
}
.step .num_text strong {
    color: #d0111b;
    font-size: 50px;
}
.step .num_text br {
    display: none;
}
.step h3 {
    text-align: center;
    border: none;
    font-size: 36px;
    color: #f80;
    margin-top: 50px;

}
.step .box {
    background: #fff;
    padding: 40px;
}
.step .box ol {
    font-size: 24px;
    width: fit-content;
    margin: 0 auto;
    padding-left: 20px;
    line-height: 1.7;
    font-weight: bold;
}
.step .step_item .ttl {
    text-align: center;
    font-size: 20px;
    margin-bottom: 30px;
}
.step .step_item .ttl span {
    color: #f80;
    padding: 0 20px;
    display: inline-block;
    border: 2px solid #f80;
    border-radius: 500px;
    font-weight: bold;
    font-size: 30px;
    margin: 0 10px;
}
.step .step_item .ttl br {
    display: none;
}
.step .step_item ul {
    padding-left: 60px;
    padding-top: 40px;
    margin: 0 auto;
    max-width: 500px;
    position: relative;
}
.step .step_item ul::before {
    position: absolute;
    content: '';
    width: 10px;
    height: calc(100% - 20px);
    bottom: 0;
    left: 25px;
    background: linear-gradient(45deg, #ea9498, #d0111b);
}
.step .step_item ul::after {
    position: absolute;
    content: '';
    width: 60px;
    height: 22px;
    top: 0;
    left: 0;
    background: #d0111b;
    clip-path: polygon(50% 0, 0 100%, 100% 100%);
    /* clip-path: polygon(0 0, 100% 0, 50% 100%); */
}
.step .step_item li {
    display: flex;
    background: #d0111b;
    color: #fff;
    max-width: 400px;
    position: relative;
    padding: 20px;
    flex-wrap: wrap;
    gap: 0 10px;
    font-size: 20px;
}
.step .step_item li:nth-of-type(6) {
    background: #f8dcdd;
    color: #333;
}
.step .step_item li:nth-of-type(5) {
    background: #f3c3c6;
    color: #333;
}
.step .step_item li:nth-of-type(4) {
    background: #ea9498;
    color: #333;
}
.step .step_item li:nth-of-type(3) {
    background: #e57c82;
    color: #333;
    
}
.step .step_item li:nth-of-type(2) {
    background: #de5960;
    color: #333;
}
.step .step_item li::before {
    position: absolute;
    content: '';
    width: 30px;
    height: 2px;
    left: -30px;
    top: calc(50% - 1px);
    background: #d0111b;
}
.step .step_item li::after {
    position: absolute;
    content: '';
    width: 20px;
    height: 20px;
    left: -40px;
    top: calc(50% - 10px);
    background: #fff;
    border: 2px solid #d0111b;
    border-radius: 50px;
}
.step .step_item li:not(:last-of-type) {
    margin-bottom: 20px;
}
.step .step_item li p {
    margin-bottom: 0;
}
.step .linkarea {
    margin-top: 20px;
    margin-bottom: 30px;
    text-align: center;
}
.step .linkarea a {
    color: #333;
    font-size: 20px;
    text-decoration: underline;
    font-weight: bold;
}
.step .linkarea a:hover {
    opacity: 0.7;
}
.step .btnarea a {
    background: #d0111b;
    color: #fff;
    display: block;
    width: fit-content;
    text-align: center;
    padding: 20px;
    border-radius: 500px;
    font-weight: bold;
    margin: 0 auto;
    font-size: 20px;
}
.step .btnarea a:hover {
    opacity: 0.7;
}
@media (max-width: 767px) {
    .step h2 br {
        display: none;
    }
    .step .num_text br {
        display: inline-block;
    }
    .step .box {
        padding: 20px;
    }
    .step .step_item .ttl br {
        display: inline-block;
    }
    .step .step_item .ttl span {
        font-size: 24px;
    }
    .step .step_item li {
        display: block;
    }
}

.message {
    background: #f4f4f4;
}
.message .message_item {
    display: flex;
    flex-wrap: wrap;
    gap: 20px;
    margin-bottom: 30px;
}
.message .message_content {
    width: calc(50% - 10px);
    background: #fff;
    padding: 20px;
}
.message .message_content .mane {
    display: flex;
}
.message .text {
    font-weight: bold;
}
.message .text a {
    font-weight: normal;
}
.message .btnarea a {
    background: #d0111b;
    color: #fff;
    display: block;
    width: fit-content;
    text-align: center;
    padding: 20px 40px;
    border-radius: 500px;
    font-weight: bold;
    margin: 0 auto;
    font-size: 20px;
}
.message .btnarea a:hover {
    opacity: 0.7;
}
@media (max-width: 767px) {
    .message .message_content {
        width: 100%;
    }
}


.teacher .teacher_content {
    display: flex;
    flex-wrap: wrap;
    gap: 30px;
    max-width: 700px;
    margin: 0 auto;
}
.teacher .teacher_item {
    width: calc((100% / 3) - (30px * 2 / 3));
    /* ※30pxはgap（余白）の値 */
    font-size: 14px;
}
.teacher .teacher_item .name {
    font-weight: bold;
    font-size: 18px;
    margin-top: 10px;
    margin-bottom: 0;
    text-align: center;
}
.teacher .teacher_item .category {
    background: #f4f4f4;
    padding: 4px;
    font-size: 14px;
    text-align: center;
}
@media (max-width: 767px) {
    .teacher .teacher_content {
        gap: 20px;
    }
    .teacher .teacher_item {
        width: 100%;
        display: flex;
        gap: 20px;
    }
    .teacher .teacher_item .img {
        width: 40%;
        max-width: 200px;
        flex-shrink: 0;
    }
    .teacher .teacher_item .text_container {
        display: flex;
        align-items: center;

    }
    .teacher .teacher_item .text {
        flex-grow: 1;
    }
    .teacher .teacher_item .name {
        text-align: left;
        margin-top: 0;
    }
    .teacher .teacher_item .category {
        text-align: left;
        width: fit-content;
    }
}

.requirements {
    background: #ffe3e4;
}
.requirements .box {
    background: #fff;
    padding: 20px;
}
.requirements .box:not(:last-of-type) {
    margin-bottom: 20px;
}

.requirements .box h3 {
    color: #f80;
    border: none;
    margin-bottom: 0;
    margin-top: 30px;
}
.requirements .box p strong {
    font-size: 22px;
    color: #d0111b;
}
.requirements .box .boldttl {
    font-weight: bold;
    margin-bottom: 0;
    margin-top: 20px;
    font-size: 20px;
}
.requirements .box dl {
    display: flex;
    flex-wrap: wrap;
}
.requirements .box dt,
.requirements .box dd {
    padding: 20px;
    border-bottom: 1px solid #ccc;
}
.requirements .box dt {
    width: 150px;
    
    color: #f80;
    font-size: 20px;    
    padding-left: 0;
}
.requirements .box dd {
    width: calc(100% - 150px);
    padding-right: 0;
}
.requirements .box dd h3 {
    color: #333;
    padding: 0;
    border: none;
    margin: 0;
    margin-bottom: 10px;
}
.requirements .box dd p {
    margin-bottom: 0;
}
.requirements .box .btnarea a {
    background: #f80;
    color: #fff;
    display: block;
    max-width: 500px;
    text-align: center;
    padding: 20px;
    border-radius: 500px;
    font-weight: bold;
    margin: 0 auto;
    font-size: 20px;
}
.requirements .box .btnarea a:hover {
    opacity: 0.7;
}

@media (max-width: 767px) {
    .requirements .box dt,
    .requirements .box dd {
        width: 100%;
        padding: 0;
    }
    .requirements .box dt {
        border: none;
        margin-bottom: 10px;
    }
    .requirements .box dt:not(:first-of-type) {
        padding-top: 20px;
    }
    .requirements .box dd {
        padding-bottom: 20px;
    }
    .requirements .box dd h3 {
        font-size: 18px;
    }
}


.kaiketsu {
    background: #d0111b;
    color: #fff;
    text-align: center;
    font-size: 20px;
}
.kaiketsu h2 {
    color: #fff;
}
.kaiketsu .box {
    background: #fff;
    color: #333;
    padding: 20px;
    text-align: center;
    font-weight: bold;
    font-size: 20px;
}
.kaiketsu .box .date {
    font-size: 30px;
}
.kaiketsu .btnarea a {
    background: #f80;
    color: #fff;
    display: block;
    max-width: 500px;
    text-align: center;
    padding: 20px;
    border-radius: 500px;
    font-weight: bold;
    margin: 0 auto;
    font-size: 20px;
}
.kaiketsu .btnarea a:hover {
    opacity: 0.7;
}

.next .btnarea a {
    background: #d0111b;
    color: #fff;
    display: block;
    max-width: 500px;
    text-align: center;
    padding: 20px;
    border-radius: 500px;
    font-weight: bold;
    margin: 0 auto;
    font-size: 20px;
}
.next .btnarea a:hover {
    opacity: 0.7;
}
@media (max-width: 767px) {
    .kaiketsu {
        font-size: 16px;
    }
    .kaiketsu .box {
        font-size: 16px;
    }
    .kaiketsu .box .date {
        font-size: 20px;
    }
}

.contact {
    background: #d0111b;
    color: #fff;
}
.contact h2 {
    color: #fff;
    text-align: left;
}
.contact .col2 {
    display: flex;
    gap: 40px;
}
.contact .col2 .btnarea a {
    background: #f80;
    color: #fff;
    display: block;
    text-align: center;
    padding: 20px 40px;
    border-radius: 500px;
    font-weight: bold;
    margin: 0 auto;
    font-size: 20px;
}
.contact .col2 .btnarea a:nth-of-type(1) {
    margin-bottom: 20px;
    background: #fff;
    color: #333;
}
.contact .col2 .btnarea a:hover {
    opacity: 0.7;
}
@media (max-width: 767px) {
    .contact .col2 {
        display: block;
    }
    .contact .col2 .btnarea {
        margin-top: 20px;
    }
}