@charset "utf-8";

#onlinelesson {
    font-family: 'Noto Sans JP','ヒラギノ角ゴ Pro W3', 'Hiragino Kaku Gothic Pro', 'メイリオ', Meiryo, 'ＭＳ Ｐゴシック', sans-serif;
    font-size: 14px;
    background: #fff3af;
}
#onlinelesson .sphide {
    display:none;
}
#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;
}
#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 h1 {
    background: url("../images/sp_top_header_2022.jpg") no-repeat top center;
    background-size: cover;
    padding-top: 130.67%;
    position: relative;
    transition: .3s;
}
#onlinelesson #header.ver20240401{
	padding-bottom: 45%;
	overflow: hidden;
}
#onlinelesson #header.ver20240401 h1 {
    background: #eba7a8;
    padding: 0;
    padding-top: 2%;
    display: flex;
}

#onlinelesson #header.ver20240401 h1 img {
    width: 100%;
    margin: 0 auto;
    position: relative;
    z-index: 1;
}
.coverImg {
    display: flex;
    max-width: 100%;
    overflow: hidden;
    position: absolute;
    bottom: -15%;
    z-index: 1;
}
.coverImg img {
    width: 100%;
    min-width: 242vw;
}
.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: 30px 0;
}


#onlinelesson section#theme {
    padding-bottom:20px;
}
#onlinelesson #theme .inner{
    font-weight: 900;
}
#onlinelesson #theme h1 {
    position: relative;
    text-align: center;
    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: 18px;
    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;
    flex-wrap: wrap;
}

#onlinelesson #theme .ph li {
    width: 50%;
}
#onlinelesson #theme .ph ul + p{
    text-align: center;
    font-size: 12px;
    opacity: .8;
    margin: 5px 0;
}


#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: 4vw;
    border: 1.5vw solid #fff;
    font-size: 6.5vw;
}
#onlinelesson #apply .btn:hover {
    background: #ff7578;
}
#onlinelesson #apply p {
    margin-top: 15px;
    line-height: 1.6;
}

/*--0316追加SDGs--*/

#onlinelesson .sdgs{
	width: 13%;
	max-width: 150px;
	position: absolute;
	top: 11%;
	left: 2%;
}

#onlinelesson .sdgs a{
	display: block;
	width: 100%;
	margin: 0 auto;
	transition: 0.3s;
	background: url("../images/SDGs_sp.png") no-repeat center top;
	-webkit-background-size: cover;
	background-size: cover;
	padding-top: 93.25%;
}

#onlinelesson .sdgs_michu{
	width: 15%;
	max-width: 150px;
	position: absolute;
	top: 6%;
	left: 1%;
	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 #theme .btn {
    display: block;
    transition: .3s;
    margin: 2% 10px;
    max-width: 750px;
    text-align: center;
    padding: 10px;
    font-weight: 900;
    text-decoration: none;
    color: #fff;
    background: #009688;
    border-radius: 4vw;
    border: 1.5vw solid #fff;
    font-size: 5.0vw;
}
#onlinelesson #theme .btn:hover {
    background: rgba(0,150,136,0.70);
}