
.p-narrowing {
    position: relative;
    margin-top: -22px;
    padding: 32px 40px 34px;
    border: 4px solid #ccc;
    border-radius: 5px;
    background-color: #f4f4f4;
    box-shadow: 0 3px 6px rgba(0, 0, 0, 0.16);
}

.p-narrowing_head {
    display: flex;
    margin-bottom: 11px;
}

.p-narrowing_title {
    font-size: 16px;
    font-weight: bold;
}

.p-narrowing_title .mdi {
    margin-right: 2px;
    color: #005bac;
    font-size: 24px;
    vertical-align: middle;
}

.p-narrowing_checkbox {
    display: flex;
    align-items: center;
    margin-right: 46px;
    margin-left: auto;
    cursor: pointer;
}

.p-narrowing_checkbox input {
    width: 18px;
    height: 18px;
    margin-right: 11px;
    border: 1px solid #999;
    cursor: pointer;
}

.p-narrowing_checkbox span {
    user-select: none;
}

.p-narrowing_body {
    display: flex;
}

.p-narrowing_kana {
    display: flex;
    flex: 1;
    justify-content: space-between;
    padding: 10px 16px;
    border: 1px solid #ccc;
    border-radius: 4px;
    background-color: #fff;
}

.p-narrowing_kanaButton {
    padding: 10px 14px 9px;
    border: none;
    border-left: 1px solid #d3d3d3;
    border-radius: 0;
    background: none;
    color: #333;
    font: inherit;
    font-size: 14px;
    font-weight: bold;
    white-space: nowrap;
    cursor: pointer;
}

.p-narrowing_kanaButton:first-of-type {
    border-left: none;
}

.p-narrowing_kanaButton.is-active {
    border-radius: 4px;
    background-color: #04337c;
    color: #fff;
}

.p-narrowing_search {
    display: flex;
    flex: 1;
    flex-basis: 460px;
    align-items: center;
    max-width: 460px;
    margin-left: 7px;
}

.p-narrowing_searchBox {
    display: flex;
    flex-basis: 420px;
    align-items: center;
    width: 420px;
    max-width: 420px;
    padding: 8px 9px;
    border: 1px solid #ccc;
    border-radius: 4px;
    background-color: #fff;
}

.p-narrowing_input {
    width: 80%;
    height: 100%;
    padding: 8px 16px;
    border: none;
    font: inherit;
}

.p-narrowing_input:focus {
    outline: none;
    background-color: #f5f8fa;
}

.p-narrowing_submit {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 116px;
    height: 44px;
    margin-left: 20px;
    border: none;
    border-radius: 3px;
    background-color: #dce7f3;
    color: #b4cce3;
    font: inherit;
    font-size: 16px;
    font-weight: bold;
    cursor: pointer;
}

.p-narrowing_submit.is-input {
    background-color: #005bac;
    color: #fff;
}

.p-narrowing_submit.is-input:hover {
    opacity: 0.9;
}

.p-narrowing_restore {
    flex: 1;
    margin-left: 10px;
    border: none;
    background: none;
    color: rgba(0, 0, 0, 0.54);
    cursor: pointer;
}

.p-narrowing_restore .mdi {
    display: inline-block;
    font-size: 24px;
    transform: rotateY(180deg);
}

.p-searchResult {
    margin-top: 65px;
    margin-bottom: 88px;
}

.p-searchResult_title {
    font-size: 16px;
    font-weight: 700;
    text-align: center;
}

.p-searchResult_result {
    font-size: 14px;
    text-align: center;
}

.p-searchResult_num {
    color: #005bac;
    font-size: 22px;
    font-weight: 700;
}

.p-searchResult_tableWrap {
    margin-top: 44px;
}

.c-tableProducts {
    width: 100%;
    table-layout: fixed;
    border-spacing: 0;
    background-color: #fff;
}

.c-tableProducts td,
.c-tableProducts th {
    padding: 10px 26px;
    border: 1px solid #ccc;
    text-align: left;
    vertical-align: middle;
}

.c-tableProducts>thead th {
    padding: 10px 18px;
    background-color: #005bac;
    color: #fff;
    font-weight: 700;
    text-align: center;
}

.c-tableProducts>thead th.c-tableProducts_name {
    width: 410px;
}

.c-tableProducts>tbody td {
    padding: 12px 18px;
}

.c-tableProducts>tbody tr th {
    background-color: #f5f8fa;
    font-weight: 400;
}

.c-tableProducts .is-groupHead {
    padding: 14px 26px;
    border-top: 1px solid transparent;
    border-bottom: 1px solid transparent;
    background-color: #cfdeef;
    font-weight: 700;
}

.c-productName_text {
    display: block;
}

.c-genericLabel {
    display: block;
    width: 120px;
    height: 20px;
    margin-top: 5px;
    border: 1px solid #00326f;
    background-color: #fff;
    color: #03326f;
    font-size: 12px;
    font-weight: 700;
    line-height: 18px;
    text-align: center;
}

.u-fileTitle {
    display: none;
}

.c-linkAttachment {
    display: block;
    color: #333;
    font-size: 12px;
    text-align: center;
    text-decoration: none;
}

.c-linkAttachment:hover {
    text-decoration: underline;
}

.c-linkAttachment_icon {
    display: block;
    margin: 0 auto 6px;
}

.c-linkAttachment_text {
    display: block;
    white-space: nowrap;
}

.c-tableProducts tr[hidden] {
    display: none !important;
}

@media screen and (max-width: 768px) {
    .p-narrowing {
        margin-top: 32px;
        padding: 30px 16px 32px;
    }

    .p-narrowing_head {
        display: block;
        margin-bottom: 20px;
    }

    .p-narrowing_checkbox {
        margin: 12px 0 0;
    }

    .p-narrowing_checkbox span {
        font-size: 16px;
    }

    .p-narrowing_body {
        display: block;
    }

    .p-narrowing_kana {
        flex-wrap: wrap;
        padding: 16px 14px;
    }

    .p-narrowing_kanaButton {
        flex-basis: 20%;
        max-width: 20%;
        border-bottom: 1px solid #d3d3d3;
    }

    .p-narrowing_kanaButton:nth-of-type(11),
    .p-narrowing_kanaButton:nth-of-type(12) {
        flex-basis: 50%;
        max-width: 50%;
    }

    .p-narrowing_search {
        max-width: 100%;
        margin: 16px 0 0;
    }

    .p-narrowing_searchBox {
        flex: 1 1 auto;
        width: auto;
        max-width: none;
    }

    .p-narrowing_restore {
        flex: 0 0 34px;
        max-width: 34px;
        margin-left: 16px;
    }

    .p-narrowing_submit {
        width: 80px;
        margin-left: 8px;
    }

    .c-tableProducts,
    .c-tableProducts>tbody {
        display: block;
        width: 100%;
    }

    .c-tableProducts>thead {
        display: none;
    }

    .c-tableProducts>tbody {
        padding-bottom: 12px;
        background-color: #cfdeef;
    }

    .c-tableProducts td,
    .c-tableProducts th {
        display: block;
        width: 100%;
        border: 0;
    }

    .c-tableProducts>tbody tr.is-groupRow {
        display: block;
        width: 100%;
        margin-top: 12px;
    }

    .c-tableProducts>tbody tr.is-groupRow:first-child {
        margin-top: 0;
    }

    .c-tableProducts .is-groupHead {
        position: relative;
        padding: 12px 24px;
        border-top: 1px solid #005bac;
        color: #04337c;
        font-size: 16px;
        cursor: pointer;
    }

    .c-tableProducts .is-groupHead::before,
    .c-tableProducts .is-groupHead::after,
    .c-productName::before,
    .c-productName::after {
        content: "";
        display: block;
        position: absolute;
        top: 50%;
        right: 15px;
        width: 12px;
        height: 2px;
        transition: all 0.4s;
        background-color: #005bac;
        transform: translateY(-50%);
    }

    .c-tableProducts .is-groupHead::after,
    .c-productName::after {
        transform: translateY(-50%) rotate(90deg);
    }

    .c-tableProducts tr.isOpenGroup .is-groupHead::after,
    .c-productName.isOpenProduct::after {
        transform: translateY(-50%) rotate(180deg);
    }

    .c-tableProducts tr.isOpenGroup .is-groupHead::before,
    .c-productName.isOpenProduct::before {
        opacity: 0;
    }

    .c-tableProducts>tbody tr.is-productRow {
        display: none;
        margin: 0 14px;
        border: 1px solid #ccc;
        border-top: 0;
        background-color: #f4f7fb;
    }

    .c-tableProducts>tbody tr.is-productRow.is-groupOpen {
        display: block;
    }

    .c-tableProducts>tbody tr th.c-productName {
        position: relative;
        padding: 10px 35px 10px 14px;
        background-color: #f4f7fb;
        color: #333;
        font-size: 16px;
        cursor: pointer;
    }

    .c-genericLabel {
        width: 122px;
        height: 28px;
        line-height: 26px;
    }

    .c-tableProducts>tbody tr.is-productRow td {
        display: none;
        padding: 0 16px 5px;
    }

    .c-tableProducts>tbody tr.is-productRow .isOpenProduct~td {
        display: block;
    }

    .c-tableProducts>tbody tr.is-productRow td.noAttachment {
        display: none !important;
    }

    .u-fileTitle {
        display: block;
        margin: 0 -16px;
        padding: 11px 14px;
        background-color: #005bac;
        color: #fff;
        font-size: 12px;
        font-weight: 700;
    }

    .c-linkAttachment {
        display: flex;
        align-items: center;
        margin-left: -5px;
        padding-top: 10px;
        padding-bottom: 4px;
        text-align: left;
    }

    .c-linkAttachment_icon {
        height: 28px;
        margin: 0 4px 0 0;
    }

    .c-linkAttachment_text {
        color: #656d73;
        text-decoration: underline;
    }
}
