@charset "utf-8";

/* ========================================
   保険料率改定ページ
======================================== */

#main-title h1 {
    transform: scale(0.9, 1);
    width: 90%;
    font-size: 40px;
    font-weight: bold;
    color: black;
    position: relative;
    padding-left: 2rem;
}

#wrapper {
    width: 90%;
    background-color: #eaedf7;
    padding: 1rem 1rem 2rem 1rem;
    margin-left: 2rem;
    box-sizing: border-box;
}

#wrapper p {
    font-size: 18px;
    padding-left: 2rem;
    padding-right: 2rem;
    line-height: 1.8;
}

.bold {
    font-size: 18px;
    color: #dc143c;
    border-bottom: solid 1px;
    font-weight: bold;
}

#wrapper a {
    font-size: 18px;
    font-weight: bold;
}


/* ========================================
   保険料率表
======================================== */

.rate-table-scroll {
    width: 100%;
    max-width: 1100px;
    margin: 1.5rem auto 0;
    overflow-x: auto;
    -webkit-overflow-scrolling: touch;
}

.rate-table {
    width: 100%;
    min-width: 700px;
    border-collapse: separate;
    border-spacing: 0;
    background-color: white;
}

.rate-table th,
.rate-table td {
    text-align: center;
    padding: 10px 8px;
    white-space: nowrap;
}

.rate-table thead th {
    color: white;
    background: linear-gradient(#829ebc, #225588);
    border-left: 1px solid #3c6690;
    border-top: 1px solid #3c6690;
    border-bottom: 1px solid #3c6690;
    box-shadow: 0 1px 1px rgba(255, 255, 255, 0.2) inset;
}

.rate-table thead th:first-child {
    border-radius: 5px 0 0 0;
}

.rate-table thead th:last-child {
    border-radius: 0 5px 0 0;
    border-right: 1px solid #3c6690;
}

.rate-table tbody th,
.rate-table tbody td {
    font-weight: bold;
    border-left: 1px solid #a8b7c5;
    border-bottom: 1px solid #a8b7c5;
    box-shadow: 0 -3px 5px 1px #eee inset;
    background-color: white;
}

.rate-table tbody td:last-child {
    border-right: 1px solid #a8b7c5;
}

.rate-table tbody tr:last-child th {
    border-radius: 0 0 0 5px;
}

.rate-table tbody tr:last-child td:last-child {
    border-radius: 0 0 5px 0;
}


/* ========================================
   表の補足
======================================== */

.rate-scroll-note {
    display: none;
}

.rate-note {
    font-size: 14px !important;
    padding-left: 0 !important;
    margin: 0.5rem auto 0;
    max-width: 1100px;
}


/* ========================================
   スマホ表示
======================================== */

@media screen and (max-width: 767px) {

    #main-title {
        width: 90%;
        margin: 0 auto;
    }

    #main-title h1 {
        transform: none;
        width: auto;
        max-width: none;
        font-size: 22px;
        font-weight: bold;
        color: black;
        border-bottom: solid 5px #cce4ff;
        position: relative;
        padding-left: 0;
    }

    #main-title h1::after {
        position: absolute;
        content: " ";
        display: block;
        border-bottom: solid 5px #5472cd;
        width: 30%;
    }

    #wrapper {
        width: 95%;
        margin: 1rem auto;
        padding: 0.5rem;
        box-sizing: border-box;
    }

    #wrapper p {
        font-size: 16px;
        padding-left: 0.5rem;
        padding-right: 0.5rem;
        line-height: 1.7;
    }

    .bold {
        font-size: 16px;
    }

    #wrapper a {
        font-size: 16px;
    }

    .rate-scroll-note {
        display: block;
        font-size: 13px !important;
        font-weight: bold;
        margin: 0.5rem 0 0.25rem;
        padding: 0 !important;
    }

    .rate-table-scroll {
        margin-top: 0;
    }

    .rate-table th,
    .rate-table td {
        font-size: 14px;
        padding: 9px 8px;
    }

    .rate-note {
        font-size: 12px !important;
        padding-left: 0.5rem !important;
        padding-right: 0.5rem !important;
    }
}