/*--------------------------------------------------------------
# Video hero
--------------------------------------------------------------*/
.video-hero{
    position: relative;
	width: 100%;
	height: 100vh;
	overflow: hidden;
}
.video-hero-bg{
	position: absolute;
	top: 50%;
	left: 50%;
	width: 100%;
	height: 100%;
	object-fit: cover;
	transform: translate(-50%, -50%);
	z-index: 1;
}
.video-hero-content{
    width: 100%;
    max-width: 480px;
    margin-left: auto;
    margin-right: auto;
	position: relative;
	z-index: 2;
	width: 100%;
	height: 100%;
	display: flex;
    flex-direction: column;
	align-items: center;
	justify-content: center;
}
.video-hero-content img{
	width: 100%;
	height: auto;
}
.video-hero-content h1{
    width: 100%;
    max-width: 440px;
    margin-left: auto;
    margin-right: auto;
    background-color: #FFDE70;
    font-size: 24px;
    padding: 10px 20px;
}

@media screen and (min-width: 690px){
    .video-hero-content{
        max-width: 1200px;
        padding: 0 20px;
    }
    .video-hero-content h1{
        max-width: 760px;
        font-size: 36px;
        text-align: center;
    }
}

@media screen and (min-width: 1000px){
    .video-hero{
        height: 600px;
    }
}

@media screen and (min-width: 1200px){
    .video-hero-content{
        padding: 0;
    }
}

/*--------------------------------------------------------------
# Trouble Subject Strengths
--------------------------------------------------------------*/
.home-content-inner{
	width: 100%;
    margin: 50px 0;
    overflow: hidden;
}

@media screen and (min-width: 690px){
    .home-content-inner{
        max-width: 1200px;
        margin: 100px auto;
    }
}

.home-content-inner .btn{
    width: 90vw;
    margin-left: auto;
    margin-right: auto;
}

@media screen and (min-width: 690px){
    .home-content-inner .btn{
        width: 100%;
        max-width: 800px;
    }
}

/*--------------------------------------------------------------
# Company
--------------------------------------------------------------*/
.company-area.home-content-inner{
    width: 90vw;
    margin: 50px auto;
}

@media screen and (min-width: 690px){
    .company-area.home-content-inner{
        max-width: 1200px;
        margin-top: 100px;
    }
}

.company-area .company-pres{
    margin-bottom: 50px;
}
.company-pres img{
    display: block;
    width: 100%;
    max-width: 180px;
    margin-left: auto;
    margin-right: auto;
}
.company-pres-name{
    font-family: "UD新ゴ M";
    text-align: center;
    margin-top: 10px;
}
.company-dtl table{
    border: none;
    margin-bottom: 25px;
}
.company-dtl th,
.company-dtl td{
    border-left: none;
    border-right: none;
}
.company-dtl th{
    width: 25%;
    text-align: left;
}

@media screen and (min-width: 690px){
    .company-area h2{
        text-align: left;
    }
    .company-area .flexbox{
        margin-bottom: 50px;
    }
    .company-message{
        width: 60%;
    }
    .company-pres{
        width: calc(40% - 50px);
        margin-left: 50px;
    }
    .company-dtl{
        width: 50%;
    }
    .company-img{
        width: calc(50% - 50px);
        margin-left: 50px;
    }
    .company-area .btn.btn-small a{
        margin-top: 25px;
    }
}

@media screen and (min-width: 1000px){
    .company-message{
        width: 80%;
    }
    .company-pres{
        width: calc(20% - 50px);
        margin-left: 50px;
    }
}

/*--------------------------------------------------------------
# Voice
--------------------------------------------------------------*/
.voice-area{
    background-color: #F4F2E9;
}
.voice-area .home-content-inner{
    margin-top: 0;
}
.voice-area h2{
    text-align: center;
}

/*--------------------------------------------------------------
# Guide
--------------------------------------------------------------*/
.Guide-area h2{
    text-align: center;
}

/*--------------------------------------------------------------
# Contact
--------------------------------------------------------------*/
.home-container-outer .border-orange h2{
    margin-top: 50px!important;
}
.home-container-outer form > div.form-inner:first-of-type{
    padding: 0 20px 25px;
}

@media screen and (min-width: 690px){
    .home-container-outer .border-orange h2{
        margin-block-start: 100px!important;
    }
    .home-container-outer form > div.form-inner:first-of-type{
        padding: 0 50px 50px;
    }
}

/*--------------------------------------------------------------
# Banner Area
--------------------------------------------------------------*/
.home-container-outer [class*="bn-"] .home-content-inner{
    margin-top: 0;
    margin-bottom: 0;
}
