@charset "utf-8";


/***********************************************************************
PCのスタイル
***********************************************************************/

/*----------------------------------------------------------------------
コンテナ
----------------------------------------------------------------------*/

#container {
    margin: 0 auto;
    width: 100%;
    font-size: 62.5%;
}

/*----------------------------------------------------------------------
メインビジュアル
----------------------------------------------------------------------*/
#mainvBox {
    /*background-image: linear-gradient(60deg, #fff9f2, #fbecdd);*/
}

.header-title {
    justify-content: space-between;
    height: 215px;
}
.header-title h1 {
    margin-top: -10px;
    padding-bottom: 0;
    font-family: "Hiragino Mincho ProN", "Yu Mincho", "YuMincho", serif;
}
h1 .h_deco {
	margin-top: 5px;
	border-bottom: solid 3px #0e815a;
}
h1 .h_deco::before {
    border-bottom: 3px solid #6895b1;
    bottom: -3px;
}
h1 .h_deco::after {
	border-bottom: 3px solid #de772b;
    bottom: -3px;
}
.h_deco {
    width: 100%;
}

#underlogoBox_wrapper {
    margin-top: -20px;
    padding-bottom: 0;
    flex-basis: 40%;
    text-align: center;
}
#underlogoBox_wrapper object:nth-of-type(1) {
    width: 75%;
    margin-bottom: 0;
}
#underlogoBox_wrapper object:nth-of-type(2) {
    margin-top: 5px;
    width: 28%;
}
#underlogoBox_wrapper object:nth-of-type(3) {
    margin-right: 12px;
    margin-left: 12px;
    width: 35%;
}
#underlogoBox_wrapper object {
    width: 28%;
}

h2 {
    /*width: 1120px;*/
    font-size: 4.0rem;
    margin: 0 auto 28px auto;
}

h3 {
}

p {
    font-size: 1.7rem;
}

/*----------------------------------------------------------------------
共通装飾パーツ カスタムについて
----------------------------------------------------------------------*/

.app_btnBox {
    background: #fff;
}

.txtblue{
    color:#6795b1;
}
/*----------------------------------------------------------------------
メインV下ロゴエリアついて
----------------------------------------------------------------------*/

/* ロゴエリア  */
#underlogoBox {
    display: none;
}



/*----------------------------------------------------------------------
バンザンとは？ について
----------------------------------------------------------------------*/

#aboutBox {
    width: 100%;
    /*background: #fff6ed;*/
}

#aboutBox h3 {
    font-size: 3rem;
    margin-bottom: 4rem;
}

#aboutBox .wrapper {
    padding-top: 30px;
    padding-bottom: 30px;
    margin-left: auto;
    margin-right: auto;
}
.aboutBox_intro {
	display: block;
}
@media (min-width: 768px) {
	.aboutBox_intro {
		display: flex;
	}
}
.aboutBox_intro p:last-of-type {
	flex-basis: 80%;
	width: 70%;
	margin: 0 auto;
}
@media (min-width: 768px) {
	.aboutBox_intro p:last-of-type {
		width: unset;
	    margin-left: 30px;
	}
}

.aboutBox_wrapper1,
.aboutBox_wrapper2,
.aboutBox_wrapper3 {
    margin-bottom: 6rem;
}

.aboutBox_wrapper1 p:first-child,
.aboutBox_wrapper2 p:first-child,
.aboutBox_wrapper3 p:first-child,
.aboutBox_wrapper4 p:first-child {
    margin-bottom: 2rem;
}

/*.aboutBox_wrapper2 p:nth-of-type(2),
.aboutBox_wrapper4 p:nth-of-type(2) {
    display: flex;
    justify-content: space-between;
}*/

.aboutBox_wrapper1 img,
.aboutBox_wrapper1 object {
    width: 100%;
    height: auto;
}
@media (min-width: 769px) {
    .aboutBox_wrapper1 object {
        margin-top: 8px;
    }
}

.aboutBox_wrapper2 p:nth-of-type(2) {
    display: flex;
    justify-content: space-around;
    padding: 2rem;
    background: #fff;
}

.aboutBox_wrapper2 object {
    width: 25%;
}

.aboutBox_wrapper2 object:first-child {
    width: 23%;
}

.aboutBox_wrapper3 p:nth-of-type(2) {
    text-align: center;
    width: 100%;
    background: #fff;
}

.aboutBox_wrapper3 img {
    width: 45rem;
}

.aboutBox_wrapper4 {
    width: 100%;
}

.aboutBox_wrapper4 p:nth-of-type(2) {
    width: 100%;
    display: flex;
    justify-content: space-between;
}

.aboutBox_wrapper4 img {
    width: 32rem;
    margin-right: 2.5rem;
    margin-left: 2.5rem;
    border: solid 1px #6794b1;
}

.works_history {
	width: 100%;
	margin: 0 auto;
    padding-left: 6.25%;
    padding-right: 6.25%;
}
@media (min-width: 769px) {
	.works_history {
		width: 800px;
	    padding-left: 0;
	    padding-right: 0;
	}
}


/*----------------------------------------------------------------------
バンザンの家庭教師ブランド について
----------------------------------------------------------------------*/

#brandBox {
    width: 100%;
}

#brandBox h3 {
    font-size: 2.6rem;
    color: #000;
    margin-bottom: 20px;
}

#brandBox .wrapper {
    padding-top: 30px;
    padding-bottom: 30px;
    margin-left: auto;
    margin-right: auto;
}

@media (min-width: 769px) {
    #brandBox .wrapper {
        padding-top: 20px;
    }
    #brandBox .wrapper > p:nth-of-type(1) {
        margin-bottom: 40px;
    }
}

.brandBox_wrapper1 {
    margin-bottom: 30px;
}

/*.brandBox_wrapper1 .detailBox,
.brandBox_wrapper2 .detailBox,
.brandBox_wrapper3 .detailBox {
    display: flex;
    justify-content: space-between;
}
*/
.brandBox_wrapper2 .detailBox>p,
.brandBox_wrapper3 .detailBox>p {
    margin: 0 auto;
}

.brandBox_wrapper1 .detailBox>p:first-child img,
.brandBox_wrapper2 .detailBox>p:first-child img,
.brandBox_wrapper3 .detailBox>p:first-child img {
    width: 100%;
}

.brandBox_wrapper2 {
    margin-top: 30px;
    margin-bottom: 30px;
}

.brandBox_wrapper1 p,
.brandBox_wrapper2 p,
.brandBox_wrapper3 p {
    text-align: center;
    margin: 0;
}

.brandBox_wrapper2 p object {
    width: 16rem;
}

.brandBox_wrapper3 p object {
    width: 15.7rem;
}

.brandBox_wrapper1>p:nth-of-type(1),
.brandBox_wrapper2>p:nth-of-type(1),
.brandBox_wrapper3>p:nth-of-type(1) {
	margin: 0 auto;
    padding: 2rem 2rem 0 2rem;
    text-align: left;
}
@media (min-width: 769px) {
	.brandBox_wrapper1>p:nth-of-type(1),
	.brandBox_wrapper2>p:nth-of-type(1),
	.brandBox_wrapper3>p:nth-of-type(1) {
		width: 800px;
	    padding: 2rem;
	}
}

.brandBox_wrapper1 .detailBox {
	width: 100%;
	display: block;
	justify-content: space-between;
	align-items: center;
    margin: 0 auto;
    padding: 0 20px;
}
@media (min-width: 769px) {
    .brandBox_wrapper1 .detailBox {
		display: flex;
		width: 800px;
    }
}
.detailBox > p {
	width: 100%;
}
@media (min-width: 769px) {
    .brandBox_wrapper2 .detailBox > p,
    .brandBox_wrapper3 .detailBox > p {
		width: 800px;
    }
}
.detailBox > p object {
	width: 60%;
}

.noticeCont.cm {
    width: 100%;
}
@media (min-width: 769px) {
    .noticeCont.cm {
		width: 50%;
    }
}

.topNotice h2 {
    margin-bottom: 30px;
    text-align: center;
    font-weight: bold;
    font-feature-settings: "palt";
    letter-spacing: .08em;
    line-height: 1.4;
}
.noticeCont.no1_icon h2 {
    color: #d40023;
    font-size: 27px;
    margin-bottom: 15px;
}
.noticeCont.cm h2 {
    width: 100%;
    margin: 0;
    text-align: center;
    line-height: 1.4;
    font-size: 22px;
}
.topNotice .serviceMovieWrap {
    width: 100%;
}
.topNotice .serviceMovieWrap_movie {
    width: 329px;
    margin:0 0 0 auto;
}
.topNotice .serviceMovieWrap_movie a {
    margin-bottom: 50px;
}
.topNotice .serviceMovieWrap_movie a::after {
    background-size: 53px auto;
}


/*----------------------------------------------------------------------
バンザンの沿革 について
----------------------------------------------------------------------*/

#historyBox {
    width: 100%;
    background: #fff6ed;
}

#historyBox h3 span:before {
    content: "●";
    font-size: 2rem;
    margin-left: -3rem;
    margin-right: 1rem;
    color: #6795b1;
}

#historyBox h3 {
    font-size: 1.6rem;
}

#historyBox h3 span {
    display: block;
    font-size: 2.8rem;
}

#historyBox .wrapper {
    padding-top: 6rem;
    padding-bottom: 6rem;
    margin-left: auto;
    margin-right: auto;
}

#historyBox_wrapper {
    padding-top: 0;
    padding-left: 1rem;
    margin-left: 1rem;
    border-style: solid;
    border-width: 1px;
    border-color: transparent transparent transparent #6795b1;

}

.historyBox_wrapper1,
.historyBox_wrapper2,
.historyBox_wrapper3 {
    padding-top: 6rem;
    padding-left: 2rem;
    margin-left: -1rem;
}

.historyBox_wrapper1 {
    padding-top: 0;
    margin-top: -2rem;
}


.historyBox_wrapper1 img,
.historyBox_wrapper3 img {
    width: 32.5rem;
    margin-top: 1rem;
}

.historyBox_wrapper2 p:nth-of-type(1) {
    width: 33rem;
    padding: 1rem;
    margin-top: 1rem;
    margin-bottom: 1rem;
    text-align: center;
    background: #fff;
}

.company-table dl {
    border-bottom: 1px solid #d2d2d2;
    margin-bottom: 0;
    line-height: 1.4;
}
.company-table dl:last-of-type {
	border: none;
}
.company-table dt {
    width: 25%;
    display: inline-block;
    color: #78828c;
    font-weight: 600;
}
@media (min-width: 768px) {
	.company-table dt {
	    width: 15%;
	}
}
.company-table dd {
    display: inline-block;
}
.company-table dl > * {
    padding: 10px 0;
    vertical-align: top;
}

p.aboutBox_img {
	margin-bottom: 5px;
}


/*----------------------------------------------------------------------
これまでのあゆみ
----------------------------------------------------------------------*/
.history_info.flex-pc {
    border-bottom: 2px solid #000;
    margin-bottom: 20px;
    padding-bottom: 0;
    font-family: "Hiragino Mincho ProN", "Yu Mincho", "YuMincho", serif;
}
.history_info .year {
    font-size: 4rem;
    line-height: 1;
    width: 226px;
    font-weight: bold;
}
.rosewood {
    font-family: rosewood-std-fill, serif;
    font-weight: 400;
    font-style: normal;
}
.history_info p {
    font-size: 2.5rem;
    margin-bottom: 10px;
    padding: 0 0 0 30px;
    line-height: 1em;
    letter-spacing: 0.2em;
    font-family: "Hiragino Mincho ProN", "Yu Mincho", "YuMincho", serif;
}
.pt-50 {
    padding-top: 50px;
}
@media screen and (min-width: 739px) {
    .flex-pc {
        display: -webkit-box;
        display: -moz-box;
        display: -ms-flexbox;
        display: -webkit-flex;
        display: -moz-flex;
    }
}
.history_detail .img {
    width: 226px;
}
.history_detail img {
    max-width: 100%;
    height: auto;
    vertical-align: middle;
}
.history_detail p {
    width: calc( 100% - 226px);
    margin-bottom: 0;
    padding: 0 0 0 30px;
    line-height: 1.6;
    letter-spacing: 0.1em;
    font-family: "Hiragino Mincho ProN", "Yu Mincho", "YuMincho", serif;
}




@media (max-width: 768px) {

/*----------------------------------------------------------------------
メインVについて
----------------------------------------------------------------------*/
    .only_pc {
        display: none;
    }

    .only_sp {
        display: block;
    }

    .only_sp_less320 {
        display: none;
    }

    #mainV .only_sp {
        display: block;
        margin-top: 3rem;
        width: 100vw;
        height: auto;
    }

    .header-title {
        text-align: center;
    }

    .header-title h1 {
    	padding-left: 30px;
    	font-size: 3.2rem;
    }
	h1 .h_deco {
		margin-top: 2px;
	}

    .header-title h1 object {
        width: 64vw;
    }

    #underlogoBox_wrapper {
        width: 100%;
        padding-left: 6.25%;
        padding-right: 6.25%;
        margin-bottom: 3rem;
    }

    #underlogoBox_wrapper object:nth-of-type(2) {
        margin-left: 7%;
        margin-right: 7%;
    }

    #aboutBox,
    #brandBox,
    #historyBox {
        width: 100vw;
    }

    #aboutBox .wrapper,
    #brandBox .wrapper,
    #historyBox .wrapper {
        width: 100%;
        padding-left: 6.25%;
        padding-right: 6.25%;
        padding-top: 4vw;
        padding-bottom: 7vw;
    }

	.company-table {
		margin-bottom: 40px;
	}

	.detailBox > p {
		margin-bottom: 10px;
	}

    .aboutBox_wrapper2 p:nth-of-type(2) {
        flex-wrap: wrap;
        /*padding: 0;2%*/
    }

    .aboutBox_wrapper2 object{
        width: 25%;
        height: 25%;
        padding: 1rem auto!important;
    }

    .aboutBox_wrapper2 object:first-child {
        width: 20%;
        height: 20%;
        padding: 1rem auto!important;
    }

    .aboutBox_wrapper3 img {
        width: 100%;
    }

    .aboutBox_wrapper4 p:nth-of-type(2) {
        display: block;
    }

    .aboutBox_wrapper4 img {
        width: 100%;
        margin-right: 0;
        margin-left: 0;
        margin-top: 2vw;
        border: solid 1px #6794b1;
    }

    .aboutBox_wrapper1,
    .aboutBox_wrapper2,
    .aboutBox_wrapper3 {
        margin-bottom: 4vw;
    }

    .historyBox_wrapper1 img,
    .historyBox_wrapper3 img {
        width: 100%;
        margin-top: 1rem;
    }

    .historyBox_wrapper2 p:nth-of-type(1) {
        width: 100%;
    }

    .company-table dt {
	    width: 100%;
	    padding-bottom: 0;
	}
	.company-table dd {
		padding-top: 0;
	}

	p.aboutBox_img {
		margin-bottom: 0;
	}
}


@media (max-width: 640px) {

/*----------------------------------------------------------------------
メインVの下のロゴエリアについて
----------------------------------------------------------------------*/
    .box-title {
        margin-bottom: 0;
    }

}

@media (max-width: 480px) {
    .header-title {
        height: auto;
        position: initial;
        display: block;
        justify-content: initial;
        align-items: initial;
        padding: 20px 0 10px 0;
    }
    .header-title h1 {
    	margin: 10px 0;
    	padding-left: 0;
    	position: initial;
    	top: initial;
    	left: initial;
	    font-size: 2.7rem;
    }

    #underlogoBox_wrapper {
	    padding: 0 0.2rem 1rem 0.2rem;
	    margin-bottom: 0;
	    margin-right: auto;
	    margin-left: auto;
	    width: 100%;
	}
	#underlogoBox_wrapper object {
	    width: 20%;
	    height: 20%;
	}
	#underlogoBox_wrapper object:first-child {
	    width: 55%;
        height: 20%;
	    margin-top: 25px;
	    margin-bottom: 6px;
	}
	#underlogoBox_wrapper object:nth-of-type(2) {
		width: 20%;
	    margin-left: 0;
	    margin-right: 0;
	    margin-bottom: 0;
	}
	#underlogoBox_wrapper object:nth-of-type(3) {
	    margin-right: 11px;
	    width: 23%;
	}



/*----------------------------------------------------------------------
gnavについて
----------------------------------------------------------------------*/

    .g_nav .wrapper>ul>li>a {
        margin-top: 1.5625vw;
        line-height: 3.6vw;
        font-size: 3vw;
        line-height:
    }

    #mainvBox .only_sp {
        top: 24vw;
    }


/*----------------------------------------------------------------------
リード文について
----------------------------------------------------------------------*/
    #leadtxtBox {
        padding-top: 8vw;
    }
    .aboutBox_wrapper2 p:nth-of-type(2) {
        padding: 1rem 2rem;
    }
    .aboutBox_wrapper2 object{
        width: 30%;
        height: 30%;
    }
    .aboutBox_wrapper2 object:first-child {
        width: 25%;
        height: 25%;
    }
    .aboutBox_wrapper2 object:nth-of-type(2) {
        padding-left: .5rem;
        padding-right: .5rem;
    }

    #aboutBox h3,
    #brandBox h3,
    #historyBox h3 {
        font-size: 4.8vw;
        margin-bottom: 4vw;
        line-height: 1.4;
    }

	@media screen and (max-width: 768px){
	    .topNotice .serviceMovieWrap_movie {
	        width: 100%;
	    }
	    .topNotice .serviceMovieWrap_movie a::after {
	        background-size: 20%;
	    }
	    .topNotice .serviceMovieWrap_movie a {
	        margin-bottom: 10px;
	    }

	}


    .index-section .row {
        width: 100%;
    }
    .history_info.flex-pc {
	    padding-bottom: 10px;
	}
	.history_info .year {
		font-size: 3rem;
	}
	.pt-50 {
		padding-top: 10px;
	}
	.history_info p {
	    padding-left: 0;
	    font-size: 2rem;
	    line-height: 1.1;
	    margin-bottom: 0;
	    padding-top: 0;
	    padding-bottom: 0;
	}
	.history_info.flex-pc {
		padding-bottom: 6px;
	}
	.history_detail .img {
	    width: 100%;
	    padding-bottom: 20px;
	}
	.history_detail p {
	    width: 100%;
	    margin-bottom: 10px;
	    padding: 0 0 0 0;
	}



@media (max-width: 320px) {
/*----------------------------------------------------------------------
ナビ　ついて
----------------------------------------------------------------------*/

    nav.g_nav {
        top: 25vw;
    }

/*----------------------------------------------------------------------
メインビジュアル　ついて
----------------------------------------------------------------------*/
	.header-title h1 {
	    font-size: 2.3rem;
	}

    #mainvBox {
        display: block;
        position: relative;
    }

    #aboutBox .wrapper,
    #brandBox .wrapper,
    #historyBox .wrapper {
        padding-bottom: 10vw;
    }

    #aboutBox h3,
    #brandBox h3,
    #historyBox h3 {
        font-size: 5.0vw;
        line-height: 1.4;
    }

    #brandBox h4,
    #historyBox h4 {
        font-size: 6.8vw;
        line-height: 1.4;
    }

    #historyBox h4 span {
        display: block;
        font-size: 6.8vw;
    }

    #historyBox_wrapper2 p {
        width: 100%;
    }

    #historyBox_wrapper2 object {
        width: 100%;
    }
}