@charset "utf-8";

#onlinelesson {
    font-family: 'Noto Sans JP','ヒラギノ角ゴ Pro W3', 'Hiragino Kaku Gothic Pro', 'メイリオ', Meiryo, 'ＭＳ Ｐゴシック', sans-serif;
    font-size: 15px;
    background: #fff3af;
}

#onlinelesson .pchide {
    display:none;
}
#onlinelesson .inner {
    max-width: 1280px;
    margin: 0 auto;
}
@media screen and (max-width:1279px) {
    #onlinelesson .inner {
        padding: 0 10px;
    }
}
#onlinelesson .clrTxt {
    overflow: hidden;
    text-indent: -10000px;
    text-decoration: none;
    height: 0;
}
#onlinelesson .ytCont {
    position: relative;
    width: 100%;
    padding-top: 56.25%;
    order: 1;
}
#onlinelesson .ytCont iframe {
    position: absolute;
    top: 0;
    right: 0;
    width: 100% !important;
    height: 100% !important;
}


#onlinelesson #header {
    background: #eda9aa;
    position: relative;
    overflow: hidden;
}
#onlinelesson #header .inner {
	padding: 0;
}
#onlinelesson #header:after {
	content: "";
	display: block;
	position: absolute;
	width: 100%;
	height: 50px;
	background: -moz-linear-gradient(top,  rgba(0,0,0,0) 0%, rgba(0,0,0,0.05) 100%);
	background: -webkit-linear-gradient(top,  rgba(0,0,0,0) 0%,rgba(0,0,0,0.05) 100%);
	background: linear-gradient(to bottom,  rgba(0,0,0,0) 0%,rgba(0,0,0,0.05) 100%);
	bottom: 0;
}
#onlinelesson #header .inner {
    max-width: 1280px;
}
#onlinelesson #header h1 {
    background: url("../images/pc_top_header1_2022.jpg") no-repeat top center;
    background-size: cover;
    padding-top: 53.91%;
    position: relative;
    transition: .3s;
}
@media screen and (min-width:1280px) {
    #onlinelesson #header .inner {
        max-width: 1980px;
        position: relative;
    }
    #onlinelesson #header h1 {
        background: url("../images/pc_top_header2_2022.jpg?20221221") no-repeat top center;
        background-size: cover;
        padding-top: 29.69%;
    }
}

#onlinelesson #header.ver20240401{
	padding-bottom: 17%;
}
#onlinelesson #header.ver20240401 h1 {
    background: #eba7a8;
    padding: 0;
    margin-top: 2%;
    display: flex;
}

#onlinelesson #header.ver20240401 h1 img {
    width: 40%;
    margin: 0 auto;
    position: relative;
    z-index: 1;
}
.coverImg {
    display: flex;
    max-width: 100%;
    overflow: hidden;
    position: absolute;
    bottom: -43%;
    z-index: 1;
}
.coverImg img {
    width: 100%;
    min-width: 120vw;
}
.coverImg img:first-child {
    animation: loop 120s -60s linear infinite;
}
.coverImg img:last-child {
    animation: loop2 120s linear infinite;
}
@keyframes loop {
    0% {
        transform: translateX(100%);
    }
    to {
        transform: translateX(-100%);
    }
}
@keyframes loop2 {
    0% {
        transform: translateX(0);
    }
    to {
        transform: translateX(-200%);
    }
}












#onlinelesson #contentWrap section {
    padding: 40px 0;
}


#onlinelesson section#theme {
    padding-bottom:20px;
}
#onlinelesson #theme .inner{
    font-weight: 900;
}
#onlinelesson #theme h1 {
    position: relative;
    text-align: center;
    font-size: 21px;
    letter-spacing: .4em;
    margin: 0 auto;
    display: flex;
    justify-content: center;
    align-items: center;
    margin-bottom: 20px;
}
#onlinelesson #theme h1:before,
#onlinelesson #theme h1:after{
    content: "";
    width: 20%;
    max-width: 120px;
    height:10px;
    display:block;
    background: radial-gradient(circle farthest-side, #eda9aa, #eda9aa 20%, transparent 22%, transparent);
    background-size: 30px 30px;
}
#onlinelesson #theme h1:before{
    background-position: right;
    margin-right: 2em;
}
#onlinelesson #theme h1:after{
    background-position: left;
    margin-left: 2em;
}
#onlinelesson #theme .inner ul{
    margin-bottom: 40px;
}
#onlinelesson #theme .inner li{
    font-size: 25px;
    text-align:center;
    z-index:1;
    margin-top: 14px;
}
#onlinelesson #theme li span{
    background: linear-gradient(transparent 70%, #ffeb00 70%);
}
#onlinelesson #theme .ph ul{
    display: flex;
}
#onlinelesson #theme .ph ul + p{
    text-align: right;
    font-size: 12px;
    opacity: .8;
    margin: 5px 5px 0 5px;
}


#onlinelesson #apply {
    background: #eda9aa;
    position: relative;
}
#onlinelesson #apply:before {
    content:"";
    position: absolute;
    left: 0;
    right: 0;
    top: -20px;
    margin: auto;
    width: 50px;
    height: 20px;
    background: linear-gradient(to bottom right, rgba(255, 255, 255, 0) 50%, #eda9aa 52%) no-repeat top left/50% 100%,
                linear-gradient(to bottom left, rgba(255,255,255,0) 50%,  #eda9aa 52%) no-repeat top right/50% 100%;
}
#onlinelesson #apply .btn {
    display: block;
    transition: .3s;
    margin: 0 auto;
    max-width: 750px;
    text-align: center;
    padding: 10px;
    font-weight: 900;
    text-decoration: none;
    color: #fff;
    background: #f6565a;
    border-radius: 20px;
    border: 8px solid #fff;
    font-size: 35px;
}
#onlinelesson #apply .btn:hover {
    background: #ff7578;
}
#onlinelesson #apply p {
    text-align: center;
    margin-top: 20px;
    line-height: 1.8;
}
@media screen and (max-width:1100px) {
    #onlinelesson #apply p {
        text-align: left;
    }
}
/*--0316追加SDGs--*/

#onlinelesson .sdgs{
	width: 9%;
	max-width: 150px;
	position: absolute;
	top: 5px;
	left: 10%;
}

#onlinelesson .sdgs a{
	display: block;
	width: 100%;
	margin: 0 auto;
	transition: 0.3s;
	background: url("../images/SDGs_pc.png") no-repeat center top;
	-webkit-background-size: cover;
	background-size: cover;
	padding-top: 74%;
}

#onlinelesson .sdgs_michu{
	width: 7%;
	max-width: 150px;
	position: absolute;
	top: 7%;
	left: 25%;
	z-index: 1;
}
#onlinelesson .sdgs_michu a{
	display: block;
	width: 100%;
	margin: 0 auto;
	transition: 0.3s;
	background: url("../images/SDGs_michu.png") no-repeat center top;
	-webkit-background-size: cover;
	background-size: cover;
	padding-top: 76%;
}

#onlinelesson .sdgs a:hover{
	transition: 0.3s;
	text-decoration: none;
	opacity: 0.7;
}
@media screen and (max-width:1279px) { 
	#onlinelesson .sdgs{
		width: 10%;
		top: 5%;
		left: 15%;
		max-width: none;
	}
	#onlinelesson .sdgs a{
		
		background: url("../images/SDGs_tab.png") no-repeat center top;
		-webkit-background-size: cover;
		background-size: cover;
		padding-top: 47.3%;
	}
	#onlinelesson .sdgs a:hover{
		transition: 0.3s;
		text-decoration: none;
		opacity: 0.7;
	}	
}

#onlinelesson .sp{
	display: none;
}
	
/*--0316追加ボタン--*/
#onlinelesson #theme .btn {
    display: block;
    transition: .3s;
    margin: 2% auto;
    max-width: 750px;
    text-align: center;
    padding: 10px;
    font-weight: 900;
    text-decoration: none;
    color: #fff;
    background: #009688;
    border-radius: 20px;
    border: 8px solid #fff;
    font-size: 35px;
}
#onlinelesson #theme .btn:hover {
    background: rgba(0,150,136,0.70);
}




