/*
    common
**/
.clearfix:after {
    content: "";
    clear: both;
    display: block;
}

/*
    material
**/
#material {
    width: 730px;
    margin: 0 auto;
}
#material h1 {
    font-size: 36px;
    line-height: 36px;
    margin-top: 20px;
}
#material h1 + p {
    font-size: 12px;
    line-height: 18px;
    margin-top: 20px;
}
/* 2016/10/31 Change's Category UI ///////////////////////////////////////////*/
#material h1 + p a {
    position: relative;
    padding: 0 0 0 16px;
    text-decoration: none;
    color: #1babff;
}
#material h1 + p a::before {
    position: absolute;
    content: "\f059";
    font-family: "FontAwesome";
    font-size: 16px;
    left: 0;
}
#material .level-map {
    width: 100%;
    background-color: transparent;
    box-sizing: border-box;
    margin-top: 25px;
    font-size: 0;
}
#material .level-map #levelBox {
    width: 250px;
    height: 50px;
    display: inline-block;
    position: relative;
}
#material .level-map #levelHeading {
    width: 100%;
    height: 50px;
    line-height: 50px;
    border-radius: 5px;
    background-color: #fff;
    display: inline-block;
    position: absolute;
    top: 0;
    left: 0;
    /* ↓↓ Added Three Point Leader For Select Box. 2017/06/12 ↓↓ */
    display: flex;
    justify-content: flex-start;
    align-items: center;
}
#material .level-map #levelHeading .heading {
    font-size: 14px;
    font-weight: bold;
    padding: 0 8px 0 40px;
}
#material .level-map #levelHeading .heading::before {
    content: '';
    width: 17px;
    height: 17px;
    background: url(http://image.eikaiwa.dmm.com/assets/p/general/eikaiwa/material/material_level.png);
    background-size: cover;
    position: absolute;
    left: 14px;
    top: 16px;
}
#material .level-map #levelHeading #levelLabel {
    font-size: 14px;
    /* ↓↓ Added Three Point Leader For Select Box. 2017/06/12 ↓↓ */
    display: inline-block;
    overflow: hidden;
    white-space: nowrap;
    text-overflow: ellipsis;
    width: 50px;
}
#material .level-map #levelHeading #levelLabel::after {
    position: absolute;
    top: 0;
    right: 18px;
    content: "\f107";
    font-family: "FontAwesome";
}
#material .level-map select#level {
    width: 100%;
    height: 50px;
    border-radius: 5px;
    background-color: #fff;
    display: inline-block;
    border: none;
    position: absolute;
    top: 0;
    left: 0;
    opacity: 0;
    font-size: 14px;
    cursor: pointer;
}
#material .level-map #purposeBox {
    width: 228px;
    height: 50px;
    border-radius: 5px;
    background-color: #fff;
    display: inline-block;
    position: relative;
    margin: 0 0 0 5px;
}
#material .level-map #purposeHeading {
    width: 100%;
    height: 50px;
    line-height: 50px;
    border-radius: 5px;
    background-color: #fff;
    display: inline-block;
    position: absolute;
    top: 0;
    left: 0;
    /* ↓↓ Added Three Point Leader For Select Box. 2017/06/12 ↓↓ */
    display: flex;
    justify-content: flex-start;
    align-items: center;
}
#material .level-map #purposeHeading .heading {
    font-size: 14px;
    font-weight: bold;
    padding: 0 8px 0 40px;
}
#material .level-map #purposeHeading .heading::before {
    content: '';
    width: 17px;
    height: 17px;
    background: url(http://image.eikaiwa.dmm.com/assets/p/general/eikaiwa/material/material_purpose.png);
    background-size: cover;
    position: absolute;
    left: 14px;
    top: 16px;
}
#material .level-map #purposeHeading #purposeLabel {
    font-size: 14px;
    /* ↓↓ Added Three Point Leader For Select Box. 2017/06/12 ↓↓ */
    display: inline-block;
    overflow: hidden;
    white-space: nowrap;
    text-overflow: ellipsis;
    width: 80px;
}
#material .level-map #purposeHeading #purposeLabel::after {
    position: absolute;
    top: 0;
    right: 18px;
    content: "\f107";
    font-family: "FontAwesome";
}
#material .level-map select#purpose {
    width: 100%;
    height: 50px;
    border-radius: 5px;
    background-color: #fff;
    display: inline-block;
    border: none;
    position: absolute;
    top: 0;
    left: 0;
    opacity: 0;
    font-size: 14px;
    cursor: pointer;
}
#material .level-map #chaBox {
    width: 242px;
    height: 50px;
    border-radius: 5px;
    background-color: #fff;
    display: inline-block;
    position: relative;
    float: right;
}
#material .level-map #chaHeading {
    width: 100%;
    height: 50px;
    line-height: 50px;
    border-radius: 5px;
    background-color: #fff;
    position: absolute;
    top: 0;
    left: 0;
    /* ↓↓ Added Three Point Leader For Select Box. 2017/06/12 ↓↓ */
    display: flex;
    justify-content: flex-start;
    align-items: center;
}
#material .level-map #chaHeading .heading {
    font-size: 14px;
    font-weight: bold;
    padding: 0 8px 0 40px;
}
#material .level-map #chaHeading .heading::before {
    content: '';
    width: 17px;
    height: 17px;
    background: url(http://image.eikaiwa.dmm.com/assets/p/general/eikaiwa/material/material_cha.png);
    background-size: cover;
    position: absolute;
    left: 14px;
    top: 16px;
}
#material .level-map #chaHeading #chaLabel {
    font-size: 14px;
    /* ↓↓ Added Three Point Leader For Select Box. 2017/06/12 ↓↓ */
    display: inline-block;
    overflow: hidden;
    white-space: nowrap;
    text-overflow: ellipsis;
    width: 80px;
}
#material .level-map #chaHeading #chaLabel::after {
    position: absolute;
    top: 0;
    right: 18px;
    content: "\f107";
    font-family: "FontAwesome";
}
#material .level-map select#cha {
    width: 100%;
    height: 50px;
    border-radius: 5px;
    background-color: #fff;
    display: inline-block;
    border: none;
    position: absolute;
    top: 0;
    left: 0;
    opacity: 0;
    font-size: 14px;
    cursor: pointer;
}
table#freeWordBox {
    width: 100%;
    height: 50px;
    background-color: #fff;
    border-radius: 5px;
    margin: 9px 0 0 0;
    border-collapse: collapse;
    border-spacing: 0;

}
#material .level-map table tr {
    position: relative;
    display: block;
    width: 100%;
}
table#freeWordBox tr#freeWord th {
    width: 47px;
    height: 50px;
    vertical-align: middle;
}
table#freeWordBox tr#freeWord th::before {
    position: absolute;
    content: "\f002";
    font-family: "FontAwesome";
    left: 16px;
    top: 12px;
    font-size: 18px;

}
table#freeWordBox tr#freeWord td {
    width: 681px !important;
    height: 50px !important;
    background-color: #fff;
    border-radius: 5px;
    margin: 9px 0 0 0;
}
table#freeWordBox tr#freeWord td input {
    width: 670px !important;
    height: 30px !important;
    -webkit-appearance:none;
    border: none;
    background-color: #F7F7F7;
    padding: 0 10px;
    box-sizing: border-box;
    height: 25px;
    border-radius: 5px;
}
table#freeWordBox tr#freeWord td input:placeholder-shown {
    color: #cdbbbb;
    font-size: 14px;
    letter-spacing: 0.5px;
}
/*////////////////////////////////////////////////////////////////////////////*/
#material .display-count {
    width: 100%;
    font-size: 17px;
    line-height: 17px;
    text-align: center;
    margin-top: 27px;
    letter-spacing: 1px;
}
#material .display-count .number {
    font-weight: bold;
}
#material .material-list {
    width: 100%;
    margin-top: 27px;
    list-style: none;
}
#material .material-list > li {
    display: block;
}
#material .material-list > li ~ li {
    margin-top: 30px;
}
#material .material-list > li.hidden,#material .material-list > li .this_purpose,#material .material-list > li .this_cha {
    display: none!important;
}
#material .material-list > li a {
    display: block;
    position: relative;
    width: 100%;
    padding: 10px 15px 10px;
    background: #FFF;
    box-sizing: border-box;
    border-radius: 5px;
}
#material .material-list > li.new a::before {
    content: '';
    width: 60px;
    height: 60px;
    background: url(http://image.eikaiwa.dmm.com/assets/p/general/eikaiwa/material/material_new.png);
    background-size: 100% 100%;
    position: absolute;
    left: -3px;
    top: -3px;
    z-index: 20;
}
#material .material-list > li a:hover {
    opacity: 0.7;
}
#material .material-list > li a .material-number {
    width: 50px;
    height: 65px;
    background: url(http://image.eikaiwa.dmm.com/assets/p/general/eikaiwa/material/level_list.png);
    background-size: 100% 100%;
    padding: 20px 0 0 5px;
    text-align: center;
    position: absolute;
    right: 18px;
    top: -6px;
    box-sizing: border-box;
    z-index: 20;
}
#material .material-list > li a .material-number.hidden {
    display: none;
}
#material .material-list > li a .material-number .kazu {
    font-size: 17px;
    line-height: 17px;
    color: #1BABEE;
}
#material .material-list > li a .material-number .lesson {
    font-size: 10px;
    line-height: 10px;
    color: #1BABEE;
    position: relative;
    top: -3px;
}
#material .material-list > li a .book-img {
    position: relative;
    display: inline-block;
    width: 110px;
    height: 110px;
    line-height: 110px;
    vertical-align: top;
    text-align: center;
    border: 1px solid #EFEFEF;
    box-sizing: border-box;
    z-index: 10;
}
#material .material-list > li a .book-img.full {
    border: none;
}
#material .material-list > li a .book-img img {
    max-width: 100%;
    max-height: 100%;
    position: absolute;
    left: 0;
    right: 0;
    bottom: 0;
    top: 0;
    margin: auto;
}
#material .material-list > li a dl {
    display: inline-block;
    width: 577px;
    float: right;
}
#material .material-list > li a dl dt {
    padding: 7px 73px 0 0;
}
#material .material-list > li a dl dt .main-name {
    width: 520px;
    display: inline;
    font-size: 21px;
    line-height: 28px;
    letter-spacing: 0.5px;
    font-weight: bold;
    color: #262626;
    word-break: break-all;
    margin: 0 10px 0 0;
}
#material .material-list > li a dl dt span.tag_cha span.inner {
    font-size: 10px;
    display: inline-block;
    background-color: #E6E6E6;
    border-radius: 3px;
    padding: 0.61% 0.8571428571429%;
    vertical-align: text-bottom;
}
#material .material-list > li a dl dt span.tag_cha:nth-of-type(2) {
    padding: 0 4px 0 0;
}
#material .material-list > li a dl dt .sub-name {
    width: 520px;
    display: block;
    font-size: 17px;
    line-height: 17px;
    letter-spacing: 0.5px;
    color: #ADADAD;
    font-weight: bold;
    margin-top: 5px;
    word-break: break-all;
}
#material .material-list > li a dl dd {
    font-size: 12px;
    line-height: 18px;
    color: #262626;
    margin-top: 15px;
}
#material .material-list > li a .level-table {
    width: 100%;
    margin-top: 5px;
    padding-top: 5px;
}
#material .material-list > li a .level-table  li {
    width: 62px;
    position: relative;
    display: inline-block;
    font-size: 10px;
    line-height: 10px;
    color: #969696;
    background-color: #F7F7F7;
    text-align: center;
    float: left;
    margin: 0 1px;
    padding: 3px 0;
}
#material .material-list > li a .level-table  li:first-of-type {
    margin: 0;
}
#material .material-list > li a .level-table  li:last-of-type {
    margin: 0;
}
#material .material-list > li a .level-table  li.on {
    font-weight: bold;
    color: #1BABFF;
    background-color: #D1EEFC;
}
/*
    pagetop
**/
#page_top {
    display: none;
    opacity: 0;
    position: fixed;
    bottom: 70px;
    right: 70px;
    z-index: 100;
}
@keyframes display_top {
    0% {opacity: 0;}
    100% {opacity: 1;}
}
#page_top.display {
    display: block;
    animation-name: display_top;
    animation-duration: 1s;
    animation-fill-mode: forwards;
}
