@charset "UTF-8";

html{
    font-size: 62.5%;
    /*1rem=10px*/
}
body{
    font-family: sans-serif;
    color: #212121;
    font-size: 1.6rem;
}
img{
    max-width: 100%;
}

h2{
    font-size: clamp(3rem, 5vw, 6.4rem);
    color: #fff;
    text-align: left;
    text-shadow: 3px 3px rgba(0, 0, 0, .1);
    margin: 40px 0px 40px;
}

h3{
    font-size: 3.2rem;
    padding: 10px 20px;
    width: fit-content;
    margin: 60px auto;
}

.container{
    max-width: 1000px;
    padding: 20px 20px 50px;
    margin: 0 auto;
    text-align: center;
}


/*---背景色---------------------*/

.e_learning_title{
    background-color: #B1E0F2;
}

.triangle {
    position: relative;
    padding: 50px 0px 30px;
}
  
.triangle:after {
    content: "";
    position: absolute;
    top: 100%;
    right: 50%;
    transform: translatex(50%);
    box-sizing: border-box;
    border-right: calc(50vw - 10px) solid transparent;
    border-left: calc(50vw - 10px) solid transparent;
    border-top: 100px solid #B1E0F2;
    z-index: 10;
}
  
.e_learning_characteristic{
    background-color: #FEFAEB;
}

.triangle2 {
    position: relative;
}
  
.triangle2:after {
    content: "";
    position: absolute;
    top: 100%;
    right: 50%;
    transform: translatex(50%);
    box-sizing: border-box;
    border-right: calc(50vw - 10px) solid transparent;
    border-left: calc(50vw - 10px) solid transparent;
    border-top: 100px solid #FEFAEB;
}
  

.e_learning_environment{
    margin-top: 150px;
    background-color: #E88278;
}

.sec {
    padding-top: 150px;
}
  

/*---title---------------------*/

.e_learning_title>.container{
    position: relative;
}

.e_learning_title>.container>p{
    font-size: clamp(1.6rem, 2vw, 2rem);
    color: #212121;
    transform: rotate(10deg);
    position: absolute;
    font-weight: bold;
    right: 5%;
    top: 10%;
}

.kazari{
    font-size: clamp(1.6rem, 4vw, 2.8rem);
    color: #fa4949;

}

.title_flex{
    display: flex;
    justify-content: center;
}

.title_flex p{
    width: 47%;
    text-align: left;
    margin-right: 2%;
}
.title_flex div{
    width: 47%;
}

/*---特徴・機能共通---------------------*/

.e_learning_characteristic h3,.e_learning_function h3{
    border-top: 1px solid #212121;
    border-bottom: 1px solid #212121;
}


.flex_3content{
    display: flex;
    justify-content: center;
    margin-bottom: 50px;
}

.flex_3content>div{
    width: 25%;
}

.flex_3content>div:first-child,.flex_3content>div:nth-child(2){
    margin-right: 2%;
}

.flex_2content{
    display: flex;
    justify-content: center;
}

.flex_2content>div{
    width: 25%;
}
.flex_2content>div:first-child{
    margin-right: 2%;
}

.flex_3content p,.flex_2content p{
    padding: 10px;
}

/*---推奨環境---------------------*/
.e_learning_environment h3{
    color: #fff;
}

.e_learning_environment div>div{
    background-color: #fff;
    margin: 0 auto 50px;
    padding: 10px;
    width: 70%;
    max-width: 400px;   
}

.e_learning_environment div>div>div{
    margin: 0 auto;
    width: 100%; 
    padding: 30px 0;
    border: .5rem solid #E88278; 
}

/*---料金プラン---------------------*/

.price_flex{
	padding-bottom:10px;
    display: flex;
    justify-content: center;
}


.price_flex div{
    width: 40%;
    max-width: 250px;
    border-radius: 10px 10px 0 0;
    margin-bottom: 20px;
}

.price_flex div p:first-child{
    padding: 20px 0;
}

.price_flex div p:nth-child(2){
    padding: 40px 0 5px;
    font-weight: bold;
    font-size: clamp(2rem, 5vw, 3rem);
}
.price_flex div p:nth-child(3){
    padding: 0px 8% 30px;
    font-weight: bold;
    font-size: clamp(1.4rem, 4vw, 2rem);
    text-align: right;
}


.price_flex_left{
    border: 3px solid #EFC52E;
    margin-right: 5%;
}

.price_flex_left p:first-child{
    background-color: #EFC52E;
    border: 3px solid #EFC52E;
    color: #fff;
    font-size: clamp(1.8rem, 5vw, 3rem);
    font-weight: bold;
}

.price_flex_right{
    border: 3px solid #B2D873;
}

.price_flex_right p:first-child{
    background-color: #B2D873;
    border: 3px solid #B2D873;
    color: #fff;
    font-size: clamp(1.8rem, 5vw, 3rem);
    font-weight: bold;
}

.yellow{
    font-size: clamp(1.8rem, 5vw, 3.5rem);
    color: #EFC52E;
}

.green{
    font-size: clamp(1.8rem, 5vw, 3.5rem);
    color: #B2D873;
}

/*---ボタン---------------------*/

.button{
    width: fit-content;
    margin: 100px auto 150px;
}

.button a{
    margin: 0 auto;
    padding: 20px;
    border-radius: 10px;
    background-color: #E88278;
    color: #fff;
    text-decoration: none;
    font-weight: bold;
    text-shadow: 2px 2px rgba(0, 0, 0, .25);
    box-shadow: 2px 2px rgba(0, 0, 0, .25);
}

.button:hover{
    transform: translate(3px,3px);
}


@media (max-width:600px){

.title_flex{
    display: block;
}

.title_flex p{
    width: 90%;
    margin: 0 auto 10px;
}
.title_flex div{
    width: 47%;
    margin: 0 50% auto;
}	

.flex_3content,.flex_2content{
    display: block;
margin-bottom: 0;
}

.flex_3content>div,.flex_2content>div{
    width: 60%;
    margin: 0 auto 50px;
}

.flex_3content>div:first-child,
.flex_2content>div:first-child,
.flex_3content>div:nth-child(2),
.flex_2content>div:nth-child(2) {
    margin: 0 auto 50px;
}

}