#material_detail h1 {
    margin: 0;
    background: #f4f4f4;
    height: 45px;
    line-height: 45px;
    font-weight: normal;
    padding: 0 14px;
    font-weight: bold;
    font-size: 16px;
}
#material_detail #illust > img {
    width: 100%;
}
#material_detail section#text {
    padding: 20px;
}
#material_detail div#about {
    margin-bottom: 20px;
    margin-top: 10px;
}
#material_detail #contents {
    min-width: 600px;
    max-width: 950px;
    border: 1px solid #e6e6e6;
    margin-bottom: 20px;
    border-radius: 4px;
    box-shadow: 2px 2px #f4f4f4;
}
#material_detail a {
    color: #ab2b02;
}
#material_detail #head .right {
    position: absolute;
    right: 0px;
    top: 0px;
}

#material_detail #head {
    min-width: 600px;
    max-width: 950px;
    margin: 20px 0 10px 0;
    position: relative;
}

#material_detail p.left {
    text-align: right;
    margin-right: 20px;
}
#material_detail p.left {
    text-align: right;
    margin-right: 20px;
}

#material_detail #info {
    background: #FFFACD;
    padding: 10px;
}

#material_detail div#info ul li {
    display: inline-block;
    padding: 3px 8px;
    /* background: gainsboro; */
    margin-right: 3px;
    margin-bottom: 5px;
    border-radius: 4px;
    font-size: 13px;
}
#material_detail div#info ul {
    margin: 0;
    padding: 0;
}
#material_detail h4 {
    margin-bottom: 10px;
    border-left: 4px solid orange;
    padding: 5px;
    padding-left: 15px;    margin-top: 0px;
}
#material_detail .h {
    border-top: 1px solid gainsboro;
    padding: 10px 0;    padding-bottom: 20px;
}

#material_detail ul.img {
    display: inline-block;
    margin: 0;
    padding: 0;
    padding: 10px;
    vertical-align: middle;
}

#material_detail p {
    text-indent: 1em;
    margin: 0;
}
#material_detail #text div.msg {
    margin-bottom: 20px;
    background: #fffaf1;
    border: 1px solid gainsboro;
    padding: 15px 25px;
    border-radius: 4px;
}
#material_detail #text div.msg_rubi {
    margin-bottom: 20px;
    background: #fffaf1;
    /* border: 1px solid gainsboro; */
    padding: 10px 28px;
    border-radius: 4px;
}
#material_detail li {
    list-style: none;
}
#material_detail ul.pleft {
    padding-left: 20px;
}

#material_detail span:hover {
    cursor: pointer;
    opacity: 0.8;
}
#material_detail ul.img li {
    display: inline-block;margin-left: 10px;
    margin-right: 10px;    text-align: center;    position: relative;
}
#material_detail ul.img li p {
   font-size: 10px;
    background: #3a5795;
    color: white;
    text-align: center;
    text-indent: 0;
    padding: 1px 6px;
    position: absolute;
    border-radius: 3px;
    display: inline-block;
        width: 40px;
    left: -3px;
    top: 43px;
}
#material_detail .img_right_msg {
    display: inline-block;
    width: 660px;
}
#material_detail .img_right_msg_rubi {
    display: inline-block;
    width: 660px;
}
#material_detail ul.text_img {
    margin: 0;
    padding: 0 10px;
}

#material_detail ul.text_img li {
    margin-bottom: 20px;
}
#material_detail ul.text_img li > p:nth-child(1) {
    border-left: 4px solid orange;
    margin-left: 25px;
}

#material_detail ul.text_img li a img {
    vertical-align: middle;
}
#material_detail ul.text_img li p:nth-child(2) {
    margin: 5px;
    margin-bottom: 15px;
    margin-left: 45px;
}

#material_detail #text .rel {
    position: relative;
}
#material_detail #text .img {
    position: relative;
    left: 0;width: 110px;
    margin-left: 25px;
}
#material_detail #text .img img {
    width: 100%;
    border: 3px solid gainsboro;
    padding: 0px 5px 5px;
}
#material_detail #text .img_rubi img {
    width: 15%;
    /* border: 3px solid gainsboro; */
    padding: 0px 5px 5px;
}

#material_detail #text .img_right_msg {
    position: absolute;
    right: 20px;
    top: 15px;
}
#material_detail #text .img_right_msg_rubi {
    position: absolute;
    right: 20px;
    top: 0px;
}
#material_detail #text .img_right_msg_btm {
    width: 650px;
    position: absolute;
    right: 0;
    top: 85px;
}
#material_detail #text .img_right_msg_btm .name {
  font-size: 16px;
  font-weight: bold;
  margin-bottom: 5px;
}
#material_detail #text .img_right_msg_btm {
  font-size: 14px;
}

#material_detail img.icon{width:30px;}img.person{width:80px;}

#material_detail div#about p.left {
    font-size: 11px;
}

#material_detail #illust > img {
    border: 1px solid #cecece;
}

#material_detail #illust {
    text-align: center;
}

#material_detail ul.text_img.bleft_none li p {
    border-left: none;
    padding-left: 30px;
}

#material_detail ul.text_img.bleft_none li:first-child p {
    border-left: 4px solid orange;
    padding-left: 0;
}

#material_detail .h:first-child {}











#material_detail .h.btop_none {
    border-top: none;
    line-height: 2;
}
div#material_detail {
    padding: 20px;
    margin: 0 90px;
}

#material_detail h2 {
    padding: 0.5em;
    margin: 0;
    background: #5ab3dd;
}

section {
  margin-top: 30px;
}
.accordion-menu {
  display: inline-block;
  background-color: #92d050;
  width: 25px;
  height: 25px;
  color: white;
  text-align: center;
  font-weight: 30px;
  line-height: 25px;
  cursor:pointer
}

.accordion-menu:hover {
  opacity:0.8;
  transition:0.3s;
}

.accordion-menu:before {
  position: absolute;
  content: '';
}
.accordion-menu:after {
  position: absolute;
  content: '';
}

.contents {
  line-height: normal;
  height: auto;
  opacity: 1;
  display: none;
  background: white;
  width: 450px;
  height: 10px;
  margin-top: 20px;
  position: relative;
}

.contents_sentence {
  border: 1px solid black;
  padding: 20px;
  line-height: normal;
  position: relative;
  top: -200px;
}
.contents2 {
  padding: 20px;
  line-height: normal;
  height: auto;
  opacity: 1;
  display: none;
  background: white;
  position: relative;
  left: -16px;
}

.dialogue-contents {
  border: solid #5ab3dd;;
  border-radius: 50px;
  padding: 20px 30px 38px 65px;
  background: #FDF5FA;
  line-height: 2.2;
}
.audioIcon {
  width: 40px;
  position: relative;
  top: 12px;
  padding: 0 6px;
}
.audioIcon:hover {
  opacity:0.7;
  transition:0.3s;
}

audio {
  position: relative;
  top: 8px;
  height: 30px;
}
.illust {
  width: 200px;
  height: 200px;
  position: relative;
  left:520px;
}
.illust2 {
  width: 250px;
  height: 200px;
  position: relative;
  left:500px;
  top: 40px;
}
#material_detail h3 {
  color: #794800;
  display: inline-block;
  background: none;
  padding: 0;
}

.pdficon {
  width: 30px;
  position: relative;
  top: 5px;	
} 
.menu .accordion-menu{
  position: relative;
}

.folding_menu {
	position: relative;
    width: 30px;    
}

.dialogue {
  margin-top: 10px;
}
.contents_frame {
  border: solid 1.5px;
  padding: 10px;
}
.quizIcon {
  width: 160px;
}

.answerIcon:hover {
  opacity:0.7;
  transition:0.3s;
}

.answerIcon {
  padding-left: 610px;
  position: relative;
  top: -30px;
  width: 97px;
}

.quiz_contents {
  position: relative;
  top: -20px;
}
.english_quizcontents {
  border: 1px solid black;
  padding: 20px;
  line-height: normal;
  height: auto;
  opacity: 1;
  display: none;
}
.quiz {
  margin-bottom: 15px;	
}
.title {
  color: #794800;
  font-weight: bold;
}
.line {
  width: 700px;
}
.line2 {
  width: 425px;
  position: relative;
  top: -30px;
  padding-left: 8px;
  height: 6px;
}
.note {
    position: relative;
    left: 400px;
    width: 330px;
}

.noteEn {
    position: relative;
    left: 250px;
    width: 470px;
}

.mark {
	display: inline-block;
    background-color: #92d050;
    width: 20px;
    height: 20px;
    color: white;
    text-align: center;
    font-weight: 30px;
    line-height: 20px;
    
}

.nobr {
	white-space: nowrap;
}

.sitelink {
	text-align: right;
	margin-bottom: 20px;
}