/* カード一覧テーブル用のスタイル ここから */

.bcard-list-table-modified-date {
    font-size: 12px;
    color: #7F8598;
    text-align: right;
    margin-bottom: 20px;
}
.bcard-list-table {
    font-size: 14px;
    /* スマホの拡大率設定により一部のborderが太くなるバグ対策 */
    border-collapse: separate;
}
.bcard-list-table thead th,
.bcard-list-table tbody td {
    width: calc(100% / 7);
    text-align: center;
    background: none;
    line-height: 1.4;
    vertical-align: middle;
    border: none;
    padding: 10px 4px;
}
@media only screen and (max-width: 767px) {
    .bcard-list-table thead th,
    .bcard-list-table tbody td {
        min-width: 90px;
    }
    .bcard-list-table thead th:first-child,
    .bcard-list-table tbody td:first-child {
        position: sticky;
        left: 0;
        padding-right: 10px;
    }
}
.bcard-list-table thead th.no-data,
.bcard-list-table tbody td.no-data {
    padding-top: 30px;
    padding-bottom: 30px;
}
.bcard-list-table thead th {
    background-color: #fff;
    border-top: 1px solid #d6d8e0;
    border-bottom: 1px solid #d6d8e0;
    font-weight: 700;
}
.bcard-list-table tbody tr:last-child td {
    border-bottom: 1px solid #d6d8e0;
}
.bcard-list-table tbody tr:nth-child(odd) td {
    background: #fff;
}
.bcard-list-table tbody tr:nth-child(even) td {
    background: #f2f5ff;
}
.bcard-list-table-thumbnail-wrap {
    margin-bottom: 5px;
}
.bcard-list-table-thumbnail-wrap img {
    margin-bottom: 0 !important;
    width: auto;
    max-width: 90px;
    max-height: 90px;
}
.bcard-list-table-title {
    font-size: 12px;
    margin-bottom: 0 !important;
    line-height: 1.3;
    letter-spacing: -0.6px;
}
.bcard-list-table-title-link {
    text-decoration: underline;
}
.bcard-list-table-edit-link-wrap {
    font-size: 12px;
    margin-top: 3px;
}

/* カード詳細用のスタイル ここから */

.bcard-detail-box {
    display: grid;
    grid-template-columns: 1fr;
    row-gap: 24px;
    border: 1px solid #d6d8e0;
    border-radius: 10px;
    padding: 24px 40px;
    margin-bottom: 20px;
}
@media only screen and (max-width: 1023px) {
    .bcard-detail-box {
        padding-inline: 16px;
    }
}
.bcard-detail-edit-wrap {
    text-align: right;
}
.bcard-detail-no-data {
    margin-bottom: 0 !important;
    text-align: center;
}
.bcard-detail-top {
    display: grid;
    grid-template-columns: 240px auto;
    column-gap: 40px;
}
@media only screen and (max-width: 1023px) {
    .bcard-detail-top {
        grid-template-columns: 180px auto;
        column-gap: 20px;
    }
}
@media only screen and (max-width: 767px) {
    .bcard-detail-top {
        grid-template-columns: 1fr;
        row-gap: 20px;
    }
}
.bcard-detail-thumbnail-wrap {
    text-align: center;
}
.bcard-detail-thumbnail-wrap img {
    width: auto;
    max-width: 100%;
    max-height: 240px;
}
@media only screen and (max-width: 1023px) {
    .bcard-detail-thumbnail-wrap img {
        max-height: 180px;
    }
}
@media only screen and (max-width: 767px) {
    .bcard-detail-thumbnail-wrap img {
        max-width: 240px;
    }
}
.bcard-detail-title {
    text-align: center;
    font-weight: 600;
    line-height: 1.5;
    margin-bottom: 10px !important;
}
.bcard-detail-website-wrap {
    text-align: center;
    margin-bottom: 0 !important;
}
.bcard-detail-website-link {
    color: #2d344b !important;
    font-weight: 600;
    line-height: 1;
    padding: 5px 5px 5px 30px;
    background-position: left;
    background-repeat: no-repeat;
    background-size: 22px 22px;
    background-image: url('../img/icon_circle_arrow_right.svg');
}
.bcard-detail-table {
    width: 100%;
    margin-bottom: 8px;
    line-height: 2;
}
.bcard-detail-table th,
.bcard-detail-table td {
    font-size: 14px;
    border: none;
    border-bottom: 1px solid #d6d8e0;
    background: none;
    padding-top: 1px;
    padding-bottom: 1px;
    padding-left: 16px;
    min-width: auto;
    text-align: left;
    vertical-align: middle;
}
.bcard-detail-table th {
    width: 140px;
    font-weight: 600;
}
@media only screen and (max-width: 767px) {
    .bcard-detail-table th {
        font-size: 12px;
        width: 120px;
    }
    .bcard-detail-table td {
        padding-left: 24px;
    }
}
.bcard-detail-modified-date {
    font-size: 12px;
    color: #7F8598;
    text-align: right;
    margin-bottom: 0 !important;
}
.bcard-detail-headline {
    font-size: 20px;
    border-style: solid;
    border-color: #001a63;
    border-width: 0 0 0 6px;
    padding-left: 10px;
    font-weight: 500;
}
.bcard-detail-body {
    overflow: hidden;
    margin-bottom: 0 !important;
    position: relative;
}
.bcard-detail-body.closed::before {
    content: '';
    position: absolute;
    width: 100%;
    height: 100%;
    background: linear-gradient(180deg, rgba(255,255,255,0) 0%, rgba(255,255,255,1) 100%);
}
.bcard-detail-button {
    display: none;
    max-width: 360px;
    margin-top: 16px;
    margin-inline: auto;
    /* .button */
    line-height: 1.5;
    transition: .2s ease-in-out;
    /* .button--radius */
    border-radius: 100px;
    /* .button--block */
    text-align: center;
    width: 100%;
    /* .button--primary */
    background: #0054ac;
    border: 1px solid transparent;
    color: #fff;
    /* .button--lg */
    padding: 18px 30px;
}
.bcard-detail-button:hover {
    border: 1px solid #0054ac;
    color: #0054ac;
    background: #fff;
}
@media only screen and (max-width: 767px) {
    .bcard-detail-button {
        max-width: 272px;
        padding-top: 15px;
        padding-bottom: 15px;
    }
}
