#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 h2 {
    background: #B22222;
    padding: 0.5em;
    margin: 0;
    color: #fff;
}
#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;
    width: 950px;
    border: 1px solid #e6e6e6;
    margin-bottom: 20px;
    border-radius: 4px;
    box-shadow: 2px 2px #f4f4f4;
    position: relative;
    margin: 0 auto;
}
#material_detail a {
    color: #ab2b02;
}
#material_detail #head .right {
    position: absolute;
    right: 0px;
    top: 0px;
}

#material_detail #head {
    min-width: 600px;
    max-width: 950px;
    width: 950px;
    margin: 20px 0 10px 0;
    position: relative;
    margin: 0 auto;
}

#material_detail p.right {
    text-align: right;
    margin-right: 20px;
    margin: 0;
}

#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: 7px;
    padding-left: 0px;
    margin-top: 0px;
}
div#material_detail {
    padding: 20px;
}

#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 h3 {
    /* border-top: 1px solid gainsboro; */
    padding: 15px 10px;
    color: #794800;
    margin: 0;
    display: inline-block;
    background: none;
    padding-bottom: 0;
}
#material_detail p {
    text-indent: 2em;
    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 .all_download span {
    color: white;
    /* padding: 2px 8px; */
    font-size: 13px;
    /* margin-left: 15px; */
    vertical-align: middle;
    display: inline-block;
    opacity: 1.0;
    text-align: center!important;
    margin: 0;
    padding-right: 20px;
}
#material_detail .all_download 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: 95px;
}
#material_detail #text .img_right_msg_btm .name {
  font-size: 16px;
  font-weight: bold;
}
#material_detail #text .img_right_msg_btm {
  font-size: 14px;
}

#material_detail img.icon {
    width: 50px;
}

#material_detail img.person{width:80px;}

#material_detail h2.material_title {
    background: #b7708e;;
}

#material_detail .thumbnail_list li {
    display: inline-block;
    width: calc(100%/4.5);
    padding: 10px;
    margin: 0px;
    text-align: center;
    vertical-align: top;
}

#material_detail .thumbnail_list li img {
    width: 90%;
    box-shadow: 0 1px 2px 0 rgba(0,0,0,0), 0 4px 10px 0 rgba(0,0,0,0.3), 0 2px 2px 0 rgba(0,0,0,0.2);
    border: 1px solid #cecece;
    opacity: 1.0;
}

#material_detail .thumbnail_list li img:hover {
    opacity: 0.8;
}

#material_detail .thumbnail_list ul {
    margin: 0;
}

#material_detail .thumbnail_list ul {
    padding: 0 10px;
}

#material_detail .square_btn {
    position: relative;
    display: inline-block;
    padding: 0.25em 0.5em;
    text-decoration: none;
    color: #FFF;
    background: #fd9535;
    border-bottom: solid 2px #d27d00;
    border-radius: 4px;
    box-shadow: inset 0 2px 0 rgba(255,255,255,0.2), 0 2px 2px rgba(0, 0, 0, 0.19);
    font-weight: bold;
}

#material_detail .square_btn:active {
    border-bottom: solid 2px #fd9535;
    box-shadow: 0 0 2px rgba(0, 0, 0, 0.30);
}

#material_detail p.right a {
    text-align: center!important;
}

#material_detail div#web_erin {
    margin-top: 30px;
    text-align: right;
}

#material_detail div#web_erin a {
    opacity: 1.0;
}

#material_detail div#web_erin a:hover {
    opacity: 0.8;
}

#material_detail .explanation p {
    text-indent: 0;
    padding: 10px 30px;
}

#material_detail ul.pdf_list {
    padding: 0;
    text-align: center;
}

#material_detail ul.pdf_list li img {
    width: 100%;
    box-shadow: 0 1px 2px 0 rgba(0,0,0,0), 0 4px 10px 0 rgba(0,0,0,0.3), 0 2px 2px 0 rgba(0,0,0,0.2);
}

#material_detail ul.video_list li {
	margin: 10px;
	width: 47%;
	display: inline-block;
}

#material_detail ul.video_list li > div {
    margin: 0 auto;
    box-shadow: 0 1px 2px 0 rgba(0,0,0,0), 0 4px 10px 0 rgba(0,0,0,0.3), 0 2px 2px 0 rgba(0,0,0,0.2);
    width: 100%;
    height: 241px;
}

#material_detail ul.audio_list li audio {
    margin-left: 30px;
}

#material_detail table.audio_list {
    padding-left: 2em;
}

#material_detail table.audio_list td {
    vertical-align: middle;
}

#material_detail table.audio_list td a {
    display: inline-block;
    background-size: cover;
    text-align: center;
    padding: 19px 26px 15px 73px;
    background-size: cover;
}

#material_detail table.audio_list td {
    /* padding: 6px; */
}

#material_detail table.audio_list td audio {
    margin-top: 10px;
}

#material_detail ul.video_list span {
    font-weight: 100;
}

#material_detail ul.pdf_download_list li a {
    vertical-align: middle;
}

#material_detail ul.pdf_download_list li img {
    vertical-align: middle;
    width: 30px;
    margin-right: 10px;
}

#material_detail ul.pdf_download_list li {
    margin-bottom: 8px;
}

#material_detail .swiper-button-next {
	background-image: url(../../material/detail/next.png);
}

#material_detail .swiper-button-prev {
    background-image: url(../../material/detail/prev.png);
}

#material_detail .swiper-container {
	  width: 95%;
	  padding-bottom: 10px;
}

#material_detail .swiper-button-prev {
    padding: 30px 3px;
    top: 0;
    bottom: 0;
    margin: auto;
}

#material_detail .swiper-button-next {
    padding: 30px 3px;
    top: 0;
    bottom: 0;
    margin: auto;
}

#material_detail button.vjs-big-play-button {
    top: 0;
    bottom: 0;
    left: 0;
    right: 0;
    margin: auto;
}

#material_detail .can-do ul {
    margin: 0;
}

#material_detail .can-do ul li span {
    padding: 3px 10px;
    /* border: 1px solid #545454; */
    background: #FFC107;
    margin-bottom: 10px;
    display: inline-block;
}

#material_detail .can-do ul li p {
    margin-bottom: 10px;
    text-indent: 0;
    padding-left: 1em;
    padding-right: 1em;
}

#material_detail .can-do h3 {
    font-size: 14px;
    /* border-left: 3px solid orange; */
    padding: 0;
    padding-left: 1.0em;
    margin: 10px 0;
    margin-left: 1.5em;
    height: 29px;
    line-height: 29px;
}

#material_detail .table {
    width: 90%;
    margin: 0 auto;
    padding-left: 20px;
    margin-bottom: 20px;
}

#material_detail .table table td {
    border: 1px solid gray;
    padding: 5px;
    vertical-align: middle;
}

.table table {
    border-collapse: collapse;
    border-spacing: 0;
    width: 780px;
    display: inline-block;
}

#material_detail .table td p {
    text-indent: 0;
}

#material_detail .table table td:nth-child(1) {
    width: 160px;
}

#material_detail .table table td:nth-child(3) {
    width: 120px;
    text-align: center;
}

#material_detail .table img {
    display: inline-block;
    padding-bottom: 0px;
}

#material_detail div#about_ {
    margin-bottom: 20px;
    margin-top: 10px;
}

#material_detail ul.video_list h4 img {
    width: 80px;
    height: 30px;
    vertical-align: middle;
}

#material_detail ul.video_list span.video {
    background: url(../../material/detail/video.png);
    background-size: cover;
    padding: 8px 13px 8px 66px;
}

#material_detail ul.video_list {
    padding: 0;
}

#material_detail .table.sidePurple tr td:nth-child(1) {
    background: #c2b4da;
}

#material_detail ul.video_list span.title {
    display: inline-block;
    padding: 10px;
    width: 280px;
    vertical-align: middle;
}

audio {
    width: 300px;
    height: 32px;
}

#material_detail table.audio_list td:nth-child(1) {
    background: url(../../material/detail/audio.png);
    background-size: cover;
    width: 138px;
}

span.audioIcon > img {
    width: 35px;
    vertical-align: text-bottom;
    text-align: center;
    margin-right: 5px;
}

#material_detail .h.no_border {
    border: none;
}

.material_info {
    background:#f7dae7;
    padding: 0.5em;
}

.material_info > span {
    margin-right: 1em;
}

/*　スライド画像のサイズ調整　*/
#material_detail ul.pdf_list li img {
    width: 60%;
}

.h p.link{
padding-left:15px;
}

.link img.icon2 {
    vertical-align: middle;
    margin:0px 2px;
}