@media (max-width: 759px) {
    ul.sp-menu-list {
        border-color: #DD555F;
    }
}

@media (max-width: 759px) {
    ul.sp-menu-list li:nth-of-type(3) a {
        background: #FDDA5F;
        color: #000;
    }
}

@media (max-width: 759px) {
    ul.sp-menu-list li:nth-of-type(4) a {
        background: #DD555F;
        color: #FFF;
    }
}

header{
    position: relative;
}

#MV {
    background: #DD555F;
    flex-direction: column;
    min-height: 67vh;
}

#MV .mv-frame {
    object-fit: unset;
    z-index: 0;
    height: 311px;
}

#MV .mv-star {
    z-index: 0;
}

.mv-seminar {
    width: 95%;
    margin: auto;
    padding: 90px 0;
    max-width: 850px;
}

.mv-seminar h2 {
    margin: 0;
}

.guest {
    width: 43%;
    max-width: 550px;
    position: absolute;
    bottom: 9px;
    right: 0;
    z-index: 10;
}

.ytlive-mvitem {
    background: #FDDA5F;
    width: 100%;
    bottom: 0;
    left: 0;
    z-index: 5;
}

.ytlive-mvitem .contents{
    position: relative;
    padding: 30px 0 35px;
    z-index: 4;
}

.event-details img {
    width: 60%;
}

@media (max-width:951px) {
    #MV {
        min-height: 60vh;
        left: 0;
    }

    .mv-seminar {
        max-width: none;
        z-index: 1;
        top: calc(7% + 70px);
        left: 0;
    }

    .mv-seminar h2 {
        max-width: 521px;
        margin: 0 auto;
        min-width: unset;
    }

    .guest {
        bottom: 0;
    }

    #info {
        margin-top: 0;
    }
}

@media (max-width: 951px) and (orientation: portrait){
    .ytlive-mvitem img.pctab{display:block!important;}
    .ytlive-mvitem img.sp{display: none!important;}
}

@media(max-width: 830px){
    #MV{
        height: auto;
    }
}

@media (max-width:759px) {
    main {
        padding-top: 0;
    }

    #MV {
        min-height: auto;
    }

    #MV .mv-frame{
        height: auto;
    }

    .mv-seminar{
        padding: 65px 0 20px;
    }

    .ytlive-mvitem {
        padding: 0;
        background: #DD555F;
    }

    .ytlive-mvitem .contents{
        padding: 0;
    }

    .ytlive-mvitem img.pctab{display:none!important;}
    .ytlive-mvitem img.sp{
        display: block!important;
    }

    .event-details img{
        width: 100%;
    }

    .guest {
        display: none;
    }
}

@media (max-width:450px) {
    .mv-seminar h2 {
        padding: 0 5%;
    }
}

.body-innercolor {
    background: #F8D3D4;
}

#info {
    background: #0097E0;
}

#pagemenu ul li a:hover,
#pagemenu ul li a:hover p span {
    color: #DD555F !important;
}

.info-list li p.info--date {
    color: #FDDA5F;
}

#pagemenu ul li a span.arrow__btn {
    background: #FDDA5F;
}

#pagemenu ul li a span.arrow__btn::after {
    border-color: #000;
}

.infoitem {
    color: #DD555F;
}

.infoitem-border {
    background-color: #DD555F;
}


.namebox {
    color: #430E18 !important;
}

.about__teacher_text>p {
    color: #000;
}

.rekidai--koushi {
    background: #FDDA5F;
    color: #000;
}

.rekidai--kouza--box a {
    color: #000;
}

.rekidai--kouza--box a:hover .rekidai-teacher,
.rekidai--kouza--box a:hover .theme {
    text-shadow: none;
    opacity: 0.6;
}



.past a {
    color: #DD555F;
    border-color: #DD555F;
}

.past a:hover {
    text-shadow: 1px 1px 2px #f18a8d;
}

.past a span.arrow__btn.right {
    border-color: #DD555F;
}

.past a span.arrow__btn.right::after {
    border-color: #DD555F;
}

#bgfff_border {
    padding-bottom: 200px;
}

#bgfff_border img {
    position: absolute;
    bottom: 0;
    left: 0;
}

#bgfff_border img.img-center {
    position: absolute;
    bottom: -8px;
    left: 50%;
    transform: translateX(-50%);
    width: 320px;
}

@media (max-width:759px) {
    #bgfff_border img.img-center {
        position: absolute;
        bottom: -3px;
        left: 50%;
        transform: translateX(-50%);
        width: 28vw;
        min-width: 130px;
    }

    #bgfff_border {
        padding-bottom: 30vw;
    }
}

@media (max-width: 599px) {
    .past {
        margin-bottom: 0;
    }
}

#participation {
    padding-top: 150px;
}

.goannai h4 {
    color: #DD555F;
    border-color: #DD555F;
}

.goannai h4 span {
    border-color: #DD555F;
}

.annai.flex a {
    color: #F2AFB1;
    border-color: #F2AFB1;
}

.annai.flex a:hover {
    background: #F2AFB1;
}

.annai.flex a::after {
    border-color: #F2AFB1;
}

.sqbtn>a {
    border-radius: 100px;
    background: #DD555F;
}

.sqbtn>a:hover {
    background: #a8283a;
}

.dline .date {
    color: #FF0000;
}

a.form {
    color: #DD555F;
}

#application>p {
    color: #56423E;
}

.appl_before {
    color: #56423E;
}

.appl_before a {
    color: #DD555F;
}

.dline.light {
    color: #56423E;
}

.dline.light .date {
    color: #DD555F;
}

.dline_bottom.light {
    color: #56423E;
}

@media (max-width: 759px) {
    a.applspbtn {
        display: flex;
        background: #DD555F;
        padding: 20px;
    }
}