@charset "utf-8";

/*
------------------------
table
------------------------
*/

table {
    width: 100%;
    background-color: #FFFFFF;
}

table caption {
    color: var(--second-font-color);
    background-color: var(--second-background-color);
    border: solid 1px var(--border-color);
    position: relative;
    width: 100%;
    padding: 5px 12px;
    line-height: 24px;
    border-radius: 4px 4px 0 0;
    font-weight: bold;
    -webkit-box-sizing: border-box;
       -moz-box-sizing: border-box;
        -ms-box-sizing: border-box;
         -o-box-sizing: border-box;
            box-sizing: border-box;
}

table caption div {
    display: inline-block;
    position: relative;
}

table caption img {
    height: 24px;
    margin-right: 6px;
}

table caption p {
    line-height: 24px;
    display: inline-block;
}

table tr {
    border: solid 1px var(--border-color);
}

table tr:hover {
    background-color: #D0EBF4 !important;
}

table tr:last-of-type th,
table tr:last-of-type td {
    border-bottom: none;
}

table thead tr {
    background-color: var(--second-background-color);
}

table tr th,
table tr td {
    position: relative;
    vertical-align: middle;
    padding: 12px;
    font-weight: normal;
    line-height: 22px;
    background-clip: padding-box; /* IE edge ボーダー消えるバグ対策 */
    -webkit-box-sizing: border-box;
       -moz-box-sizing: border-box;
        -ms-box-sizing: border-box;
         -o-box-sizing: border-box;
            box-sizing: border-box;
}

table tr th {
    padding: 6px;
    font-weight: bold;
    font-size: 0.9em;
}

table tr th .attention {
    position: absolute;
    top: 2px;
    left: 2px;
    height: 8px;
    line-height: 8px;
    font-size: 10px;
    padding: 2px;
}

table tr th .js-tooltip {
    position: absolute;
    top: 50%;
    left: 2px;
    cursor: pointer;
    margin-top: -8px;
    line-height: 16px;
}

table tr th .js-tooltip img {
    display: block;
}

table tr td .js-input-area {
    width: 100%;
}

table tr td .request .title {
    font-size: 1.2em;
    font-weight: bold;
    margin-top: 8px;
    margin-bottom: 6px;
}

table tr td .request div {
    margin-left: 8px;
    border: solid 1px var(--border-color);
    margin: 4px 0;
    padding: 0 6px;
}

table tr td .band {
    display: inline;
}


/* type1 */

table.type1>tbody>tr {
    container-type: inline-size;
    display: block;
    border-bottom: none;
    margin-top: -1px;
}

table.type1>tbody>tr:last-of-type {
    border-bottom: solid 1px var(--border-color);
}

table.type1>tbody>tr>th {
    text-align: left;
}

table.type1>tbody>tr>th,
table.type1>tbody>tr>td {
    width: 100%;
    display: block;
}

table.type1>tbody>tr>th.pc,
table.type1>tbody>tr>td.pc {
    display: none !important;
}

table.type1>tbody>tr>th {
    color: var(--title-font-color);
    background-color: var(--title-background-color);
    font-weight: bold;
}

table.type1>tbody>tr>th .attention {
    top: 4px;
    left: initial;
    right: 4px;
}

table.type1>tbody>tr>th .js-tooltip {
    top: 2px;
    left: 4px;
}

@container (min-width: 450px) {

    /* type1 */
    table.type1>tbody>tr>th,
    table.type1>tbody>tr>td {
        background-color: initial;
        display: block;
        float: left;
    }
    table.type1>tbody>tr>th {
        width: 20%;
        padding-top: 12px;
        padding-bottom: 12px;
    }
    table.type1>tbody>tr>th .attention {
        top: 0;
        left: 0;
        right: initial;
    }

    /* type1 */
    table.type1>tbody>tr>td {
        width: 80%;
        line-height: 32px;
    }
}


/* js-password-area */
table tr td .js-password-area .small-text,
table tr td .js-password-area input[type="button"] {
    margin-top: 12px;
}

table tr td .js-password-area .example-password {
    margin-top: 12px;
    margin-bottom: 12px;
}

table tr td .js-password-area .example-password p:first-of-type {
    width: 45px;
    float: left;
    font-size: 1.4em;
    padding-top: 8px;
}


/* address-area */
table tr td .address-area select,
table tr td .address-area .js-input-area {
    margin-bottom: 12px;
}

table tr td .address-area .postcode-area .js-input-area {
    width: 60px;
    margin: 0 12px 12px 12px;
}

table tr td .address-area select {
    width: 140px;
}
