/* reset CSS */
* {
    margin: 0;
    padding: 0;
}

ul {
    list-style: none;
}

a {
    text-decoration: none;
    color: #333;
}

article {
    width: 50%;
    border: 1px solid #ddd;
    padding: 10px;
}

article>h3 {
    display: none;
}

/* tab list */
article.tab-menu li.tab-list {
    float: left;
    padding: 5px;
    background-color: #ddd;
}

/* tab-contents */
article.tab-menu .tab-contents {
    clear: both;
    min-height: 50px;
    padding: 10px 5px;
    background-color: #ddd;
}

article.tab-menu .tab-contents table {
    border-collapse: collapse;
    width: 100%;
    text-indent: 5px;
}

article.tab-menu .tab-contents table tr:nth-child(2n) {
    background-color: #99f;
}

/* popup Layer */
#bglayer {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(0, 0, 0, 0.7);
    display: none;
}

#overlayer {
    position: fixed;
    top: 50%;
    left: 50%;
    min-height: 250px;
    transform: translate(-50%, -50%);
    width: 500px;
    padding: 20px;
    border-radius: 20px;
    background: #fff;
}

#overlayer h4 {
    border-bottom: 1px solid #ddd;
    padding: 5px 0;
    margin-bottom: 10px;
}

#overlayer p {
    line-height: 1.75em;
}

#overlayer .close {
    position: absolute;
    right: 20px;
    bottom: 20px;
}