table:nth-of-type(2) {
    background-color: #fff;
    width: 100vw;
    max-width: 1200px;
    position: fixed;
    top: 50px;
    left: 50%;
    transform: translateX(-50%);
    line-height: 50px;
    height: 50px;
    z-index: 10;
    border: none;
    border-collapse: separate;
    border-spacing: 0;
    display: flex;
    align-items: center;
    white-space: nowrap;
    overflow-x: auto;
    overflow-y: hidden;
    background-color: rgba(255, 255, 255, 0.85) !important;
    backdrop-filter: blur(5px) !important;
    -webkit-backdrop-filter: blur(5px) !important;
    box-shadow: inset 0 -1px 0 0 lightgray !important;
}

table:nth-of-type(2) tr {
    background-color: transparent;
}

table:nth-of-type(2) tr th {
    width: 50%;
    padding: 0;
    margin: 0;
    white-space: nowrap;
    font-size: clamp(.9em, 2vw, 1em);
    font-weight: normal;
    border: none;
    vertical-align: baseline;
}

table:nth-of-type(2) tr th:first-of-type {
    padding-left: 30px;
    padding-right: 20px;
}

table:nth-of-type(2) tr th:first-of-type::before {
    content: "";
    color: black;
    position: absolute;
    left: 0;
    top: 0;
    height: 50px;
    padding-left: 20px;
    margin-left: 10px;
    background: url("data:image/svg+xml;utf8,%3Csvg%20xmlns%3D%22http%3A//www.w3.org/2000/svg%22%20width%3D%221rem%22%20height%3D%221rem%22%20viewBox%3D%220%200%2024%2024%22%20fill%3D%22none%22%20stroke%3D%22currentColor%22%20stroke-width%3D%222%22%20stroke-linecap%3D%22round%22%20stroke-linejoin%3D%22round%22%3E%0A%20%20%20%20%3Cpath%20stroke%3D%22none%22%20d%3D%22M0%200h24v24H0z%22%20fill%3D%22none%22%20/%3E%0A%20%20%20%20%3Cpath%20d%3D%22M5%2012l-2%200l9%20-9l9%209l-2%200%22%20/%3E%0A%20%20%20%20%3Cpath%20d%3D%22M5%2012v7a2%202%200%200%200%202%202h10a2%202%200%200%200%202%20-2v-7%22%20/%3E%0A%20%20%20%20%3Cpath%20d%3D%22M9%2021v-6a2%202%200%200%201%202%20-2h2a2%202%200%200%201%202%202v6%22%20/%3E%0A%3C/svg%3E")no-repeat center center;
}

table:nth-of-type(2) tr th:first-of-type:after,
table:nth-of-type(2) tr th:nth-of-type(2)::after {
    content: "";
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    right: 0;
    width: 1rem;
    height: 2rem;
    background: url("data:image/svg+xml,%3Csvg%20xmlns='http://www.w3.org/2000/svg'%20viewBox='0%200%2024%2024'%20fill='none'%20stroke='currentColor'%20stroke-width='1'%20stroke-linecap='round'%20stroke-linejoin='round'%3E%3Cpath%20stroke='none'%20d='M0%200h24v24H0z'%20fill='none'/%3E%3Cpath%20d='M9%206l6%206l-6%206'/%3E%3C/svg%3E") no-repeat center left;
    background-size: contain;
    pointer-events: none;
}

table:nth-of-type(2) tr th {
    text-align: start;
    padding: 0;
    display: inline-block;
    width: auto;
    position: relative;
}

table:nth-of-type(2) tr th:nth-of-type(2) {
    padding-right: 20px;
}

table:nth-of-type(2) tr th:nth-of-type(3) {
    position: relative;
    width: auto;
}

table:nth-of-type(2) tr th>h3 {
    display: flex;
    white-space: nowrap;
    font-size: clamp(.9em, 2vw, 1em);
    font-weight: normal;
    padding: 0;
    margin: 0;
}

table:nth-of-type(2) tr th>h3>a {
    font-size: clamp(1em, 2vw, 1em);
}

table:nth-of-type(2) tr th>h3 br {
    display: none !important;
}

table:nth-of-type(2) tr th a {
    text-decoration: none;
    color: #00598f;
    font-size: clamp(.9em, 2vw, 1em);
}


table:nth-of-type(2) tr th a:hover {
    text-decoration: underline;
    text-shadow: 0 0 1px currentColor;
}



table:nth-of-type(3) {
    width: calc(100vw - 1em);
    max-width: 1160px;
    border: none;
    border-collapse: separate;
    border-spacing: 0 10px;
    margin-top: 0;
}

table:nth-of-type(3) tr {
    outline: 1px solid rgba(50, 100, 201, 0.5);
    border-radius: .6rem;
    background-image: repeating-linear-gradient(-45deg,
            #f5f5f5 0,
            #f5f5f5 2px,
            #F0F0F8 2px,
            #F0F0F8 4px);
    color: #5c5c5c;
    word-wrap: break-word;
    word-break: break-all;
    white-space: normal;
    min-height: 50px;
    position: relative;
    width: calc(100vw - 1em);
    max-width: 1160px;
    margin-top: 10px;
    height: auto;
}

table:nth-of-type(3) tr:first-of-type {
    display: none;
}

table:nth-of-type(3) tr:active,
table:nth-of-type(3) tr:hover {
    background-image: repeating-linear-gradient(-45deg,
            #f2f5f9 0,
            #f2f5f9 4px);
    outline: 2px solid rgba(50, 100, 201, 1);
}

table:nth-of-type(3) tr::after {
    content: "";
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    right: .1rem;
    width: 1.5rem;
    height: 2rem;
    background: url("data:image/svg+xml,%3Csvg%20xmlns='http://www.w3.org/2000/svg'%20viewBox='0%200%2024%2024'%20fill='none'%20stroke='currentColor'%20stroke-width='1'%20stroke-linecap='round'%20stroke-linejoin='round'%3E%3Cpath%20stroke='none'%20d='M0%200h24v24H0z'%20fill='none'/%3E%3Cpath%20d='M9%206l6%206l-6%206'/%3E%3C/svg%3E") no-repeat center right;
    background-size: contain;
    pointer-events: none;
}

table:nth-of-type(3) th br {
    display: none;
}

table:nth-of-type(3) th {
    border: none;
    font-weight: normal;
    position: relative;
    padding: 10px;
    padding-top: 30px;
    text-align: start;
}

@media (min-width:768px) {
    table:nth-of-type(3) th:first-of-type {
        width: 50%;
    }

    table:nth-of-type(3) th:nth-of-type(2) {
        width: 30%;
    }

    table:nth-of-type(3) th:nth-of-type(3) {
        width: 20%;
    }
}


table:nth-of-type(3) th>a {
    display: block;
    width: 100%;
    height: 100%;
    color: #5c5c5c;
    text-decoration: none;
    position: relative;
    font-size: clamp(12px, 1vw, 15px);
    line-height: 20px;
    font-weight: normal;
    text-shadow: 0 0 1px currentColor;
    text-align: start;
    border: none;
    font-size: clamp(.9em, 2vw, 1em);
    text-shadow: 0 0 1px currentColor;
}

table:nth-of-type(3) th:first-of-type::before,
table:nth-of-type(3) th:nth-of-type(2)::before,
table:nth-of-type(3) th:nth-of-type(3)::before {
    position: absolute;
    left: 10px;
    top: 10px;
    color: #fff;
    background: linear-gradient(to bottom, transparent, rgba(255, 255, 255, .15), rgba(0, 0, 0, .1)), repeating-linear-gradient(-45deg, #06c, #06c 1px, #2059a3, #2059a3 3px);
    text-shadow: 2px 2px 4px rgba(0, 0, 0, .5);
    text-align: left;
    font-size: small;
    font-weight: 400;
    text-wrap: nowrap;
    border-radius: 1rem;
    width: fit-content;
    min-width: 2rem;
    padding: 0 10px;
    display: inline-block;
}

table:nth-of-type(3) th:first-of-type::before {
    content: "書名/Title";
}

table:nth-of-type(3) th:nth-of-type(2)::before {
    content: "出版者/Publisher";
}

table:nth-of-type(3) th:nth-of-type(3)::before {
    content: "刊行年月/Issue Date";
}


@media (max-width:767px) {
    table:nth-of-type(3) {
        width: calc(100vw - 1em);
    }

    table:nth-of-type(3) tr {
        display: flex;
        flex-direction: column;
        justify-content: center;
        align-items: center;
        padding-right: 1.5rem;
    }

    table:nth-of-type(3) th {
        margin-left: 0;
        left: 0;
        width: 100%;
    }

    table:nth-of-type(3) th:nth-of-type(3n-2) {
        margin-top: 0;
    }

}

.no-content {
    text-align: center;
    margin: auto;
    width: 100vw;
    max-width: 1200px;
    font-size: large;
}