/*
html5doctor.com Reset Stylesheet
v1.6.1
Last Updated: 2010-09-17
Author: Richard Clark - http://richclarkdesign.com
Twitter: @rich_clark
*/
body {
    -webkit-user-select: none;
    font-family: system-ui;
}

h1 {
    color: white;
    background: #017333;
    padding-left: 0.5em;
    font-size: large;
    padding-top: 4px;
    padding-bottom: 2px;
    margin: 16px 8px 4px 8px;
    font-family: sans-serif;
}

h2 {
    background: #EFF1F2;
    border-left-width: 6px;
    border-left-color: #017333;
    border-left-style: solid;
    padding-left: 0.5em;
    padding-top: 4px;
    padding-bottom: 2px;
    font-size: medium;
    margin: 16px 8px 4px 8px;
    font-family: sans-serif;
}

h3 {
    border-left-width: 3px;
    border-left-color: #017333;
    border-left-style: solid;
    border-bottom-width: 2px;
    border-bottom-color: #EFF1F2;
    border-bottom-style: dashed;
    padding-left: 0.5em;
    font-size: medium;
    margin: 16px 8px 4px 8px;
    font-family: sans-serif;
}

h4,
h5 {
    margin: 16px 8px 4px 8px;
}

ul {
    margin-left: 1em;
    padding-left: 1em;
}

ol {
    margin-left: 1em;
    padding-left: 1em;
}

dl {
    margin-left: 1em;
}

dt {
    font-weight: bold;
}

table {
    margin: 1em;
}

table.shikaku_matome_table {
    border-collapse: collapse;
    font-size: small;
    width: 97%;
}

table.shikaku_matome_table th {
    text-align: center;
    vertical-align: middle;
    color: #333;
    background-color: #eee;
    border: 1px solid #b9b9b9;
}

table.shikaku_matome_table td {
    padding: 6px;
    background-color: #fff;
    border: 1px solid #b9b9b9;
}

table.shikaku_matome_table td.nowrap {
    white-space: nowrap;
}

thead {
    background: #EFF1F2;
}

dd {
    margin: 0;
    padding: 0.5em;
}

div.joubun {
    padding: 0.5em;
    border: dashed 1px #017333;
    font-size: smaller;
}

div.joubun h4 {
    margin: 0px;
    text-decoration: underline;
}

div.joubun dl {
    margin: 0px;
}

strong {
    background: linear-gradient(transparent 60%, #ffff66 60%);
}

p {
    margin: 8px 12px;
}

span.word {
    font-weight: bold;
    padding: 4px;
    color: red;
    background: red;
    display: inline-block;
    min-width: 24px;
}

.houkaisei_old {
    color: #3D1A0C;
    font-weight: bold;
    font-size: 110%;
    text-decoration: underline;
}

.houkaisei_new {
    color: #D35230;
    font-weight: bold;
    font-size: 110%;
    text-decoration: underline;
}

.importance_star1 {
    padding-left: 45px;
    background-image: url(importance_star_icon1.png);
    background-repeat: no-repeat;
    background-position: 16px center;
    background-size: 16px;
}

.importance_star2 {
    padding-left: 45px;
    background-image: url(importance_star_icon2.png);
    background-repeat: no-repeat;
    background-position: 8px center;
    background-size: 28px;
}

.importance_star3 {
    padding-left: 45px;
    background-image: url(importance_star_icon3.png);
    background-repeat: no-repeat;
    background-position: 2px center;
    background-size: 40px;
}

.newissue_flag {
    padding-left: 65px;
    background-image: url(textbook_shikakutakken_common_newissue_flag.png);
    background-repeat: no-repeat;
    background-position: 2px center;
    background-size: 60px;
}

.matome_image {
    display: block;
    margin: 0 auto;
}

/* Pad (Tablet) Font Size Adjustment (1.4x Smartphone) */
@media (min-width: 700px) {
    body {
        font-size: 1.4rem;
    }

    h1 {
        font-size: 1.68rem;
    }

    h2 {
        font-size: 1.4rem;
    }

    h3 {
        font-size: 1.4rem;
    }

    table.shikaku_matome_table {
        font-size: 1.12rem;
    }

    div.joubun {
        font-size: 1.17rem;
    }

    img {
        zoom: 1.4;
        max-width: 100% !important;
    }
}