/*---------------------------------------------------
オリジナル教材
----------------------------------------------------*/
/*===indexページstyle sheet===*/
#indexpage-section .text_area .link_request{
    margin-top: 10px;
}
#indexpage-section img{
    margin: 25px auto;
}
#indexpage-section .tabs label{
    width:33.33%;
    width:33.33%;
}
#indexpage-section .index_all{
    /*background-image: linear-gradient(0deg, transparent 19px, #ccc 20px),linear-gradient(90deg,  transparent 19px, #ccc 20px);
    background-size: 20px 20px;*/
    display: flex;
}
#indexpage-section .index_box{
    width:100%;
    padding:15px;
}
#indexpage-section .index_box h3{
    margin-top: 30px;
    letter-spacing: 0.2em;
    font-weight: bold;
}
#indexpage-section .index_list{
    width: 100%;
    text-align: left;
    padding: 0;
    margin: 20px auto;
}
#indexpage-section .index_list a{
    display: block;
    box-sizing: border-box;
    padding: 10px;
    background: #ffffff;
    color: #776B5D;
}
#indexpage-section .index_list a:hover{
    text-decoration: none;
    background: #F3EEEA;
}
#indexpage-section .index_list span{
    margin-right:5px;
    padding-right:5px;
    border-right:solid 2px #ddd;
}
/*タブ削除したレイアウト*/

#indexpage-section .index_all{
    display: flex;
}
@media screen and (max-width:960px){
    #indexpage-section .index_all{display: block;}
    #indexpage-section .index_box{padding: 15px 0;}
    #indexpage-section .index_list{width: 80%;}
}

/*===教材ページstyle sheet===*/
/***reset style.css***/
#main-contents{padding:0;}/*メインページに設定されているページ上部の余白消す*/
#edgmaterial .inner-block{width: 100%;}/*左右の余白消す*/

/***教材ページ共通***/
#edgmaterial .contents_frame{
/*    width: 80%;*/
    text-align: center;
    margin: 0 auto;
    background: #FFFDCB;
    padding-bottom: 30px;
 }
/***単語表***/
.word_list{
  width: 80%;
  border-collapse: collapse;
  border-spacing: 0;
  margin: 50px auto;
  border: solid 1px #ccc;
}
.word_list td{vertical-align: middle;}
.kids_wordsbox .word_list{
    margin:0 auto;
    font-size: 1.3em;
/*    color: #B19470;*/
    border: none;
    letter-spacing: 0.2em;
}
.word_list th,
.word_list table td{
  padding: 10px 0;
  text-align: center;
}
.word_list tr:nth-child(odd){
  background-color: #eee;
}
.kids_wordsbox .word_list tr:nth-child(odd){
  background-color: #F3EEEA;
}
.word_list tr:nth-child(even){
  background-color:#fff;
}
/***会話例***/
.scene_title{
     width:100%;
    font-size: 1.3em;
    padding: 3px 5px;
    color:#545B77;
    font-weight:bold;
    line-height:2.5em;
    margin-bottom:30px;
    border-top: solid 2px;
    border-bottom: solid 2px;

}
.scene{
    width: 80%;
    padding:15px;
    box-sizing: border-box;
    margin:50px auto;
}

/*会話吹き出し*/
.scene .chatting{
    width:80%;
}

.speaker{
    width:20%;
    text-align: left;
    font-weight: bold;
    }
.kids_exercisebox .speaker{
    text-align: center;
    font-size: 1.3em;
    }
.chatting_box{
    display: flex;
    justify-content: center;
    align-items: center;
    margin: 10px auto;
}
.scene .chatting_box:nth-child(odd){
/*   color: #61A3BA;*/
}
.scene .chatting_box:nth-child(even){
/*    color: #A9907E;*/
}
.chatting_box .faceicon p{
    font-size: 0.7em;
    line-height: 1.2em;
    font-weight: bold;
    padding-top: 5px;
}
.chatting_box .faceicon img{
  width: 45%;
  height: auto;
  border: solid 3px #ddd;
  border-radius: 50%;
  opacity: 0.6;
  }
.chatting{width:70%;}
.chatting p:first-child{
    font-weight: bold;/*英語フォントのみBOLD*/
}
.kids_exercisebox .chatting p:first-child{
    font-size: 1.5em;
}
.chatting span{
 width:100%;
  display: inline-block;
  position: relative;
  padding: 17px 0;
  border-radius: 12px;
/*  margin: 5px 10px 0 0; */
  text-align: left;
}
.chatting span:after {
  content: "";
  display: inline-block;
  position: absolute;
  top: 18px;
  left: -24px;
  border: 12px solid transparent;
}
.chatting span p{
  padding: 0 10px;
}
.kids_exercisebox .chatting span p:last-child{
    color: #51829B;
}
.chatting .ball-a{
    background: #d7ebfe;
}
.chatting .ball-a:after{
    border-right: 12px solid #d7ebfe;
}
.chatting .ball-b{
    background: #FBECB2;
}
.chatting .ball-b:after{
    border-right: 12px solid #FBECB2;
}
/*===kidsページ===*/
/***共通スタイル***/
#edgmaterial .kids_material{
  background:#F1F7B5;
}
#edgmaterial .kids_headertitle h2{
    padding:0;
    background: #A1C398;
    line-height: 35px;
    font-size: 1.2em;
    color: #ffffff;
}

/*タイトル画像,contents*/
#edgmaterial .kids_instruction,
#edgmaterial .kids_contents_link {
    position: relative;
    margin-bottom: 120px;
}
/*テキスト中央揃え*/
#edgmaterial .kids_instruction p,
#edgmaterial .kids_contents_link p,
#edgmaterial .kids_contents_link a{
  position: absolute;
  left: 50%;
  font-size: 1.3em;
  letter-spacing: 0.1em;
  -ms-transform: translate(-50%,-50%);
  -webkit-transform: translate(-50%,-50%);
  transform: translate(-50%,-50%);
  margin:0;
  padding:0;
  }
.contents_frame .kids_instruction{
    margin: 30px auto;
}
.contents_frame .kids_instruction p{
    top: 75%;
    margin: 20px auto;
   color:#FF7800;
   font-weight:bold;
   font-size:1.2em;
    padding: 5px 10px;
    box-sizing: border-box;
}
.contents_frame .kids_instruction img{
   display: block;
    margin: 0 auto;
    max-width: 340px;
    margin-bottom: 80px;
}#edgmaterial .kids_contents_link a{
   color: #FFCD4B;
    width: 300px;
    border-radius: 25px;
    background: #ffff;
    font-weight: bold;
    font-size: 1.8em;
    text-decoration: none;
}
#edgmaterial .kids_contents_link a:hover{
    background: #FFEBB2;
}
#edgmaterial .kids_contents_link .link_words{
    top: 30%;
}
#edgmaterial .kids_contents_link .link_abcd{
    top: 40%;
}

#edgmaterial .kids_contents_link .link_phrase{
    top: 50%;
}
#edgmaterial .kids_contents_link .link_exalphabet{
    top: 60%;
}
#edgmaterial .kids_contents_link .link_ijkl,
#edgmaterial .kids_contents_link .link_exercise{
    top: 70%;
}
#edgmaterial .kids_contents_link p{
    top: 10%;
    color: #A3CB46;
    font-weight: bold;
    font-size: 1.5em;
}

.kids_contents_link img{
    max-width:500px;
    width: 100%;
}
/*キッズword*/

.words_frame{
    margin-bottom: 120px;
}

/*フレーズ*/
.kids_wordsbox,
.kids_phrasebox{
    max-width:600px;
    margin: 2em auto;
	padding:1em 2em 2em;
	background-color: #EFE3DF; /* 背景色 */
	border-radius:1px;/*ボックス角の丸み*/
    text-align: left;
    margin-bottom: 130px;
    letter-spacing: 0.2em;
    }
.kids_wordsbox .words_instruction,
.kids_phrasebox div{
    color: #987070; /* タイトル文字色 */
	font-size: 1.3em;
	font-weight: bold;
    margin: 20px auto;
}
.kids_wordsbox img{
    width:100%;
}
.kids_phrasebox p{
    font-size: 1.8em;
    text-align: center;
    background: #ffffff;
    border-radius: 15px;
    font-weight: bold;
    line-height: 1.2em;
    padding: 10px;
    margin-bottom: 20px;
}

.kids_phrasebox p span{
    display: block;
    font-size: 0.7em;
    color: #A7A297;
}
.kids_wordsbox .fa-pencil,
.kids_phrasebox .fa-pencil{
    line-height: 35px;
    margin-right: 10px;
}
/*キッズexercise*/
.kids_exercisebox .scene{
    font-size: 1.2em;
}
.exercise_qa .question_box p span,
.kids_extitle p{
    color: #CE7777;
/*    text-decoration: underline;*/
}
.kids_extitle{
    padding: 15px;
    font-size: 1.5em;
}
/***アルファベット***/
.alphabet_frame .pic_efgh,
.alphabet_frame .pic_ijkl{
    margin-bottom: 50px;

}
.lead_alphabet{
    margin-bottom:50px;
}

.lead_alphabet img{
    max-width: 600px;
    width:100%;
}
.kids_picture{
     display: flex;
    justify-content: center;
    flex-wrap: wrap
}
.contents_frame .kids_picture{
    margin-bottom:50px;
}
.contents_frame .kids_picture div{
    margin: 0 20px;
/*    width: 280px;*/
}
.contents_frame .kids_picture p{
    font-size: 2em;
    font-weight: bold;
    letter-spacing: 0.2em;
    color:#B19470;
    margin: 30px auto;
    }
.contents_frame .kids_picture img{
    margin: 0;
}
.contents_frame .kids_picture .fa-volume-high{
    line-height: 54px;
    margin-right: 20px;
}

/***いろのなまえ***/
#edgmaterial .content-title{
    margin-bottom:80px;
}
.kids_color{
    display: flex;
    justify-content: center;
}
/*風船の上に文字*/
#edgmaterial .contents_frame .kids_color div{
    position: relative;
}
#edgmaterial .contents_frame .kids_color p{
    position: absolute;
  top: 50%;
  left: 50%;
  -ms-transform: translate(-50%,-50%);
  -webkit-transform: translate(-50%,-50%);
  transform: translate(-50%,-50%);
  margin:0;
  padding:0;
    color: #ffffff;
}

/*練習問題*/
.kids_exercisebox{
    margin-bottom: 130px;
    font-weight: bold;
    letter-spacing: 0.2em;
}
.kids_exercisebox .exercise_lead{
    font-size: 25px;
    margin-bottom: 35px;
    }
.kids_exercisebox .exercise_pic{
    max-width: 480px;
    width: 100%;
    }
.exercise_qa .question_box p{
    font-size: 1.5em;
    margin: 70px auto 0;
}
.question_box .ja_sub{
    font-size: 1.2em;
    color: #A7A297;
}

.exercise_qa .answer_box{
    margin: 2em auto; /* ボックスの余白 */
	background-color: #ffffff; /* ボックス背景色 */
	padding:3em 2em 2em; /* ボックス内側余白 */
	position:relative; /* 配置(ここを基準に)*/
    max-width:450px;
}

.exercise_qa .answer_box p{
    background-color:#EFE3DF; /* タイトル背景色 */
	font-size: 1em;/* タイトル文字の大きさ */
	color: #CE7777 ; /* タイトル文字色 */
	padding: 7px 15px;/*タイトルの余白*/
	line-height: 1;/*タイトルの行の高さ*/
	position:absolute;	/* 配置(ここを動かす) */
	top: -10px; /*上から（0px）移動*/
	left: 20px; /*左から(0px)移動*/
}
.exercise_qa .answer_box span{
    font-size: 1.8em;
}

/*メディアクエリ*/
@media screen and (max-width:768px){
    #edgmaterial .contents_frame .kids_picture{
        margin-bottom: 0;
    }
/*
    #edgmaterial .kids_picture{
        display: block;
    }
*/
    #edgmaterial .contents_frame .kids_picture div{
        width: auto;
        margin-bottom: 50px
    }
    #edgmaterial .contents_frame .kids_picture:last-child{
        margin-bottom: 0
    }
    .word_list th,
    .word_list td{
      display: block;
      padding:0;
        text-align: center;
    }
/*
   .word_list th,table td{
      display: block;
      padding:0;
    }
*/
    .kids_wordsbox .word_list{
        font-size: 1.5em;
    }
    .kids_wordsbox .word_list tr{
        display: block;
        padding: 15px;
    }
}
@media screen and (max-width:480px){
    #edgmaterial .kids_contents_link p{
       font-size: 1.2em;
    }
    #edgmaterial .kids_contents_link a{
    width: 70%;
    font-size: 1.3em;
    }
}
/*===旅行・ビジネスページ===*/
/***共通スタイル***/
/*トップカテゴリタイトル*/
#edgmaterial .contents_title h2{
    padding:0;
     background: #9BBEC8;
    line-height: 35px;
    font-size: 1.2em;
    color: #ffffff;
}
#edgmaterial .contents_title img{
    margin: 25px 0;
    max-width: 300px;
    width: 90%;
}
/*サブタイトル*/
.contents_title p{
    display: block;
    max-width:300px;
    width:80%;
    margin: 0 auto;
    color: #637A9F;
    font-weight: bold;
    border:double 7px #CCCFD6;/*枠線*/
    font-size: 1.3em;
    letter-spacing: 0.2em;
}
/***タイトル***/
.ex_title {
  width:auto;
  font-size: 1.5em;
/*  font-weight: bold;*/
  background-color: #9BB0C1;
  color: #fff;
  padding: 0.5em 1em calc(0.5em - 6px);
  position: relative;
}
.ex_title span{
  display: block;
  text-align: left;
}
.ex_title::after {
  content: '';
  background-color: #9BB0C1;
  width: 100%;
  height: 3px;
  position: absolute;
  bottom: -6px;
  left: 0;
}
/***タイトルアイコン***/
.ex_title .fa-pen-to-square,
.ex_title .fa-comments,
.ex_title .fa-book{
   font-size: 1.2em;
    line-height: 1.3em;
    margin-right: 10px;
}
/***contents***/
.contents_frame .index_title{
    text-align:left;
    padding:2em;
    font-size:0.9em;
    color: #5F685A;
}
.contents_frame ol{
    width:300px;
    margin:0 auto 50px;
    text-align:left;
    background:#fff;
    padding:15px;
    background:#F7D695;
    box-shadow: 10px 10px #EE8972;
}
.contents_frame ol span{
    display:block;
    text-align:center;
    font-size:1.2em;
    font-weight:bold;
}
.contents_frame ol li{
    display:block;
}
.contents_frame ol li a{
    color:#AA7070;
    text-decoration: underline;
}
.contents_frame ol li a:hover{
    color: #ED9455;
}
.contents_frame ol li .fa-chevron-right{
    line-height: 1.5em;
    margin-right: 10px;
}
/***使えるフレーズ***/
.phrase_box{
    background: #fff;
    width:80%;
    margin:50px auto;
}
.contents_phrase{
    display: flex;
    flex-wrap: wrap;
    width:90%;
    margin: 0 auto;
    border-bottom: dashed 2px #9BB0C1;
}
.contents_phrase:last-child{
    border:none;
}
.contents_phrase div{
    margin: 0;
    width:50%;
    text-align: left;
 padding: 10px 0;
}

.phrase_en{
    font-weight: bold;
}

/***メディアクエリ***/
@media screen and (max-width:768px){
    .kids_instruction div{
        width:90%;
    }
    .contents_frame .kids_instruction img{
       width:80%;
    }

    .kids_frame .kids_picture{
        display: block;
    }
    .contents_phrase div{
        width:100%;
    }
    .contents_frame .phrase_en{
        padding: 10px 0 0 0;
    }
    .scene .chatting_box,
    .kids_exercise .chatting_box
    {
        display: block;
    }
    .scene .chatting{
        width:100%;
    }
    .kids_exercise .chatting{
        width:100%;
    }
    .quote .chatting{
        text-align: right;
    }
    }
@media screen and (max-width:480px){

   #edgmaterial .contents_frame{
        width:100%;
    }
    .contents_frame .kids_instruction p{
        font-size: 1em;
    }

}
