/***************************************
 * スキャン系ページ
 ***************************************/

/*********************
 * ダッシュボード
 *********************/
.dashboard-summary {
    margin-bottom: 16px;
}
.dashboard-summary h3:first-child {
    margin-bottom: 4px;
}
.dashboard-summary .dashboard-date {
    font-size: 12px;
    margin-bottom: 8px;
    color: #768aa4;
}

@media (max-width: 1024px) {
    .dashboard-summary .dashboard-date {
        font-size: 14px;
    }
}



/* .dashboard-summary .dashboard-banner svg,
.dashboard-summary .dashboard-banner img {
    width: 100%;
}
@media (max-width: 1024px) {
    .dashboard-banner svg {
        width: 100%;
    }
} */
.dashboard-summary .dashboard-banner .dashboard-banner-text {
    position: absolute;
    top: 50%;
    left: 120px;
    transform: translate(0%, -50%);
    color: #ffffff;
    line-height: 0.6;
}

.dashboard-summary .dashboard-banner .dashboard-banner-text:has(p) {
    top: 55%;
}

.dashboard-summary .dashboard-banner .dashboard-banner-text p {
    font-size: 11px;
}

.dashboard-summary .dashboard-banner .dashboard-banner-text h2 {
    font-size: 14px;
    font-weight: bold;
}

.dashboard-summary .dashboard-banner .dashboard-banner-text span {
    font-size: 14px;
    font-weight: bold;
}

@media (max-width: 1024px) {
    .dashboard-banner-maintext {
        font-size: 22px;
    }
}

/* 診断結果　背景色 */
.message-red {
    background: linear-gradient(90deg, #b72a27, #a51e1a);
}

.message-yellow {
    background: linear-gradient(90deg, #e39c0f, #d6930f);
}

.message-green {
    background: linear-gradient(90deg, #17A679, #3DBEA3);
}

.message-gray {
    background: linear-gradient(90deg, #768aa4, #6680a1);
}

.message-blue {
    background: linear-gradient(90deg, #1998CF, #158EC4);
}

.dashboard-item-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 16px;
    margin: 8px 0 16px 0;
}

@media (max-width: 1024px) {
    .dashboard-item-grid {
        grid-template-columns: repeat(2, 1fr);
    }
}
.dashboard-item-grid .dashboard-item {
    display: flex;
    align-items: center;
    background: #ffffff;
    border: 1px solid #dde4ec;
    border-radius: 4px;
    padding: 24px 8px 24px 16px;
    text-decoration: none;
    color: inherit;
    font-weight: bold;
    font-size: 16px;
}

@media (max-width: 1024px) {
    .dashboard-item-grid .dashboard-item {
        font-size: 18px;
    }
}

.dashboard-item:hover {
    background: #f5f5f5;
}

.dashboard-item-grid .dashboard-item .dashboard-icon {
    width: 40px;
    height: 40px;
    margin-right: 12px;
}

.dashboard-icon-arrow {
    fill: #c2cedc;
    margin: 0 0 0 auto;
}

/*********************
 * 診断結果
 *********************/

/* ページ全般 */
.scan-detail-page {
    display: flex;
    flex-direction: column;
}
.print-button {
    background-color: #fff;
    border: solid 1px #768aa4;
    border-radius: 4px;
    cursor: pointer;
}
.print-button a {
    display: block;
    padding: 8px 16px;
}
.print-button:hover {
    border: solid 1px #c2cedc;
}
.print-button:hover a {
    color: #c2cedc;
}
.scan-detail-page .tab-buttons {
    margin-bottom: 24px;
}
.scan-filter-container {
    display: flex;
    align-items: baseline;
    column-gap: 8px;
    margin-bottom: 24px;
}
.scan-filter-container p {
    margin: 0;
}
.scan-filter-container .filter-buttons {
    display: flex;
    flex-wrap: wrap;
    flex: 1;
    column-gap: 4px;
    row-gap: 4px;
}
.scan-filter-container .filter-button {
    /* font-family: "メイリオ", Meiryo, Helvetica, Arial, "ヒラギノ角ゴ ProN W3", "Hiragino Kaku Gothic ProN", "游ゴシック", YuGothic, sans-serif; */
    font-family: "Helvetica Neue", Arial, "Hiragino Kaku Gothic ProN",
        "Hiragino Sans", Meiryo, sans-serif;
    font-size: 14px;
    color: #0f2650;
}

.summary-table-container,
.detail-table-container,
.url-table-container {
    display: flex;
    flex-direction: column;
    border-collapse: collapse;
    background-color: #fff;
    border: 1px solid #dde4ec;
    border-radius: 4px;
}
.summary-table-container {
    padding: 0 16px;
}

.url-table-container .table-summary {
    display: flex;
    /* justify-content: space-between; */
    padding: 0 16px;
}
.detail-table-container .table-summary span,
.url-table-container .table-summary span {
    font-weight: bold;
}
.summary-date-and-count {
    display: flex;
    align-items: center;
    justify-content: space-between;
    font-size: 12px;
    padding: 16px;
}
.table-summary-count, .table-summary-date {
    margin: 0;
}
.table-summary-date span {
    font-weight: bold;
    margin-left: 8px;
    font-size: 14px;
}
.table-summary-count span {
    font-weight: bold;
    margin-left: 8px;
    font-size: 14px;
}
.result-remaining {
    display: flex;
    flex-direction: row;
    align-items: center;
}
.remaining-text {
    white-space: nowrap;
    margin-right: 10px;
}
.remaining-progressbar {
    width: 100%;
    background-color: #e0e0e0;
    border-radius: 4px;
    overflow: hidden;
    height: 10px;
}
.remaining-progress {
    height: 100%;
    width: 0;
    transition: width 0.5s;
}

/* テーブル共通 */
.scan-detail-page table {
    width: 100%;
    border-collapse: collapse;
}
.scan-detail-page table thead {
    border-block: 1px solid #dde4ec;
}
.scan-detail-page table .table-row-like-thead {
    border-block: 1px solid #dde4ec;
}

.scan-detail-page table thead th {
    padding: 8px;
    text-align: left;
    font-size: 12px;
    font-weight: normal;
}

.scan-detail-page table .table-row-like-thead th {
    /* padding: 8px; */
    text-align: left;
    font-size: 12px;
    font-weight: normal;
}
@media (max-width: 1024px) {
    .scan-detail-page table .table-row-like-thead th {
        font-size: 14px;
    }
}
.scan-detail-page table thead th:first-child {
    padding-left: 16px;
}

/* 診断結果テーブル */
.detail-table tbody td {
    border-bottom: 1px solid #dde4ec;
    vertical-align: middle;
}
.detail-table tbody td:nth-child(4) {
    width: 40px;
}
.detail-table tbody tr.visible-last-row td,
.detail-table
    .row-accordion-header.visible-last-row
    + .row-accordion-content
    td {
    border-bottom: none;
}

/* レポート用の診断概要テーブル */
.summary-table tbody tr:last-child td {
    border-bottom: none;
}
.summary-table tbody td {
    font-size: 14px;
    padding: 16px;
    border-bottom: 1px solid #dde4ec;
}
.summary-table tbody td:nth-child(1) {
    width: 100px;
    font-weight: bold;
    padding-left: 0;
}
.summary-table tbody td .status-message-container {
    display: flex;
    align-items: center;
}
.summary-table .status-icon {
    margin-right: 5px;
    width: 21px;
    height: 21px;
}

.detail-table {
    width: 100%;
}
.detail-table * {
    box-sizing: border-box;
}
.detail-table .resolve-button {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 100%;
    background-color: #0070c4;
    color: #fff;
    border: none;
    padding: 8px;
    cursor: pointer;
    border-radius: 4px;
    text-align: center;
    font-size: 10px;
}
.detail-table .resolve-button.resolved {
    color: #169e72;
    background-color: #fff;
    font-weight: bold;
    padding-left: 0px;
}
.detail-table .resolve-button img {
    filter: brightness(0) saturate(100%) invert(44%) sepia(60%) saturate(563%)
        hue-rotate(109deg) brightness(99%) contrast(90%);
}
/* 診断ステータス列 */
.detail-table .table-header-status {
    position: relative;
    cursor: pointer;
    width: 53px;
    position: relative;
    height: 34px;
    padding: 0px;
}
.detail-table .status-arrow-up {
    /* rotate: 180deg; */
    position: absolute;
    top: 8px;
    left: 50%;
    transform: translateX(-50%) rotate(180deg);
}
.detail-table .status-arrow-up path {
    fill: #c2cedc;
}
.detail-table .table-header-status[data-order="asc"] .status-arrow-up path {
    fill: #0070c4;
}
.detail-table .table-header-status[disabled] .status-arrow-up path {
    fill: #c2cedc!important;
}
.detail-table .table-header-status[disabled] .status-arrow-down path {
    fill: #c2cedc!important;
}
.detail-table .status-arrow-down {
    position: absolute;
    bottom: 9px;
    left: 50%;
    transform: translateX(-50%);
}
.detail-table .status-arrow-down path {
    fill: #0070c4;
}
.detail-table .table-header-status[data-order="asc"] .status-arrow-down path {
    fill: #c2cedc;
}

.detail-table .status-icon {
    width: 21px;
    height: 21px;
}
/* 診断カテゴリ列 */
.detail-table .table-header-category {
    width: 248px;
    padding: 8px 24px 8px 16px;
}
.detail-table .cell-category {
    font-weight: normal;
    white-space: nowrap;
    padding-right: 16px;
    min-width: 200px;
}
/* 検知数列 */
.detail-table .table-header-count {
    width: 90px;
}
.detail-table tbody td:last-child {
    position: relative;
}
.detail-table tbody .row-accordion-header td:last-child:before {
    content: "";
    background-image: url(../images/icon/arrow_drop_down_FILL0_wght400_GRAD0_opsz24.svg);
    background-position: center;
    background-repeat: no-repeat;
    position: absolute;
    right: 16px;
    top: 0;
    width: 12px;
    height: 100%;
}
/* 修正ボタン列 */
.detail-table .table-header-resolve {
    width: 100px;
    text-align: center;
}
.detail-table tbody td:nth-child(5) {
    text-align: center;
}

/* 検知概要列 */
.status-and-category {
    display: flex;
    align-items: center;
    gap: 12px
}
.detail-table .cell-category {
    padding-left: 16px;
    width: 248px;
    padding-right: 24px;
}
.detail-table .cell-detection {
    padding: 16px 32px 16px 0px;
    width: calc(100% - 248px);
    max-width: 0;
    
}
.detail-table .cell-status {
    width: 49px;
    padding: 16px 12px 16px 16px;
}
.detail-table .cell-detection h4 {
    font-weight: bold;
    line-height: 1.5;
    margin-bottom: 8px;
}
.detail-table .cell-detection p {
    display: flex;
    padding-top: 4px;
    padding-right: 40px;
    margin: 0;
}

.detection-tags {
    display: flex;
    gap: 4px;
    flex-wrap: wrap;
}
.detail-table .cell-detection .detection-tag {
    align-self: center;
    background-color: #f1f1f1;
    border-radius: 4px;
    font-size: 11px;
    color: #768aa4;
    min-width: 66px;
    width: fit-content;
    padding: 4px 12px;
    display: block;
    text-align: center;
}
@media (max-width: 1024px) {
    .detail-table .cell-detection .detection-tag {
        align-self: baseline;
    }
}
.detail-table .cell-detection .detection-value {
    align-self: center;
    color: #0f2650;
    font-size: 13px;
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
    margin-bottom: 8px;
}
.detail-table .cell-detection .detection-value span {
    opacity: .5;
    margin-right: 8px;
}

.detail-table .row-accordion-header {
    cursor: pointer;
    page-break-after: avoid;
}
.detail-table .row-accordion-header:hover {
    background-color: #f6faff;
}
.detail-table .row-accordion-content td {
    padding: 0 8px 16px;
}
.detail-table .row-accordion-content td:last-child {
    padding-right: 16px;
    padding-left: 0px;
}
.detail-table .row-accordion-header[open] td:last-child svg {
    fill: #0f2650;
}
.detail-table .row-accordion-header[open] td:last-child:before {
    transform: rotate(180deg);
}

/* open属性が付与されたときにurl部分は改行させる */
.detail-table .row-accordion-header[open] .detection-value {
    white-space: wrap;
    word-break: break-all;
}

/* open属性が付与されたときにtdの区切り線を非表示 */
.detail-table .row-accordion-header[open] td {
    border-bottom: none;
}
.detail-table .row-accordion-content {
    display: none;
}
.detail-table .row-accordion-header[open] + .row-accordion-content {
    display: table-row;
}
.detail-table .row-accordion-header[hidden] + .row-accordion-content {
    display: none;
}
.detail-table .scan-issue-container {
    border: 1px solid #dde4ec;
    margin-bottom: 16px;
    border-radius: 4px;
    page-break-inside: avoid;
    margin-top: 16px;
}
.detail-table .scan-issue-container:last-child {
    margin-bottom: 0;
}
.detail-table .scan-issue-container h3 a {
    text-decoration: none;
    color: var(--text-color);
}
.detail-table .scan-issue-block {
    display: flex;
    border-bottom: 1px solid  #DDE4EC;
}
.detail-table .scan-issue-block:last-child {
    border-bottom: none;
}
.scan-issue-block-title {
    width: 149px;
    background-color: #F2F7FD;   
    padding: 16px;
    font-size: 12px;
    font-weight: bold;
    display: flex;
    align-items: center;
    flex-shrink: 0;
    border-right: 1px solid #DDE4EC;
}
.scan-issue-block:first-child .scan-issue-block-title {
    border-top-left-radius: 4px;
}
.scan-issue-block:last-child .scan-issue-block-title {
    border-bottom-left-radius: 4px;

}
.detail-table .scan-issue-block-content {
    display: flex;
    flex-direction: column;
    flex-grow: 1;
    padding: 16px;
    font-size: 13px;
}
.detail-table .scan-issue-block-content ul {
    padding-left: 20px;
    margin: 0;
}
.detail-table .scan-issue-block-content li {
    margin-bottom: 16px;
    position: relative;
    list-style: none;
}
.detail-table .scan-issue-block-content li:last-child {
    margin-bottom: 0px;
}
.detail-table .scan-issue-block-content li::after {
    content: '・';
    font-size: 8px;
    position: absolute;
    top: 4px;
    left: -13px;
}
.detail-table .scan-issue-block * {
    word-break: break-all;
}

.copyright__area {
    box-sizing: border-box;
    width: 480px;
    height: fit-content;
    padding-bottom: 16px;
    position: absolute;
    top: 2px;
    right: -16px;
    transform: translateY(-100%);
    opacity: 0;
    visibility: hidden;
    transition: 0.3s;
}
.copyright__area * {
    box-sizing: border-box;
}
.copyright__box {
    height: fit-content;
    width: 100%;
    box-shadow: 0px 3px 6px #00000029;
    padding: 16px;
    position: relative;
    background-color: #fff;
    border: 1px solid #dde4ec;
}

.copyright__box::after {
    content: "";
    width: 0;
    height: 0;
    border-style: solid;
    border-right: 11px solid transparent;
    border-left: 11px solid transparent;
    border-top: 16px solid #ffffff;
    border-bottom: 0;
    position: absolute;
    right: 9px;
    bottom: 0px;
    transform: translateY(100%);
    z-index: 2;
    /* filter:drop-shadow; */
    filter:drop-shadow(-0.5px 5px 3px #00000029);
}
/* .copyright__box::before {
    content: "";
    position: absolute;
    width: 0;
    height: 0;
    border-style: solid;
    border-right: 14px solid transparent;
    border-left: 14px solid transparent;
    border-top: 18px solid rgba(0, 0, 0, 0.29);
    border-bottom: 0;
    right: 6.5px; 
    bottom: -4px;
    z-index: 1;
    transform: translateY(100%);
    opacity: .2;
} */
.copyright__text {
    font-size: 11px;
    line-height: calc(18 / 11);
}
.copyright__text strong {
    font-weight: bold;
}
.provided-by {
    display: flex;
    align-items: center;
    gap: 4px;
    width: fit-content;
    margin-left: auto;
    position: relative;
    margin-top: 8px;
}
.provided-by:last-child {
    margin-bottom: 0px;
}

.provided-by a {
    text-decoration: none;
    color: #c2cedc;
    font-size: 11px;
}

.provided-by-icon:hover + .copyright__area,
.copyright__area:hover {
    opacity: 1;
    visibility: visible;
}

.detail-table .scan-issue-border {
    border: none;
    height: 1px;
    background-color: #dde4ec;
    margin: 16px 0px;
}
.detail-table .scan-issue {
    position: relative;
    margin-top: 3.5px;
    border: 1px solid #DDE4EC;
    border-radius: 4px;
}
.detail-table .scan-issue h4 {
    font-size: 13px;
    line-height: calc(22 / 13);
}
.detail-table .scan-issue p {
    margin: 0;
    font-size: 13px;
    line-height: calc(22 / 13);
}
.detail-table .scan-issue .wpvuln-copyright-wrapper {
    /* position: absolute; */
    bottom: 16px;
    right: 16px;
    display: flex;
    justify-content: end;
    column-gap: 4px;
    align-items: center;
    box-sizing: border-box;
    /* padding-top: 20px; */
}
.detail-table .scan-issue .wpvuln-copyright-wrapper .popup-title {
    color: #c2cedc;
    font-size: 11px;
    line-height: 1;
    cursor: pointer;
}
.detail-table .scan-issue .wpvuln-copyright-wrapper .popup-icon {
    width: 16px;
    height: 16px;
    fill: #c2cedc;
    cursor: pointer;
}

.detail-table .scan-issue .wpvuln-copyright-wrapper .popup-content {
    display: none;
    position: absolute;
    bottom: 39px;
    right: 0;
    background-color: #ffffff;
    padding: 16px;
    border: 1px solid #dde4ec;
    width: 480px;
    box-shadow: 0px 5px 6px #00000029;
    z-index: 1000;
    font-size: 12px;
}
/*▼追加　試作中*/
.detail-table .scan-issue .wpvuln-copyright-wrapper .popup-content::before {
    content: "";
    position: absolute;
    bottom: -14px;
    right: 16px;
    margin-left: -7px;
    border: 7px solid transparent;
    /* box-shadow: 0px 3px 6px #00000029; */
    border-top: 7px solid #ffffff;
}
.detail-table .scan-issue .wpvuln-copyright-wrapper .popup-content:hover {
    display: block;
}
.detail-table .scan-issue .popup-icon:hover + .popup-content {
    display: block;
}
.detail-table .scan-issue .wpvuln-copyright {
    margin-block: 6px;
}
.detail-table .scan-issue .wpvuln-copyright a {
    color: #0070c4;
    cursor: pointer;
}

.url-table-container {
    margin-top: 24px;
}
.url-table-container table tbody td {
    padding: 10px 16px;
}
.url-table-container table tbody td:first-child {
    border-top: 1px solid #dde4ec;
}

.filter-button {
    background: #ffffff 0% 0% no-repeat padding-box;
    border: 1px solid #dde4ec;
    border-radius: 100px;
    opacity: 1;
    padding: 8px 16px;
    cursor: pointer;
}
.filter-button:hover {
    color: #768aa4;
}
.filter-button[active] {
    border: 1px solid #0070c4;
    color: #0070c4;
}

/* レポート出力用 */
.report-header {
    display: none;
    width: 100%;
    height: 53px;
    background-color: #ffffff;
    border-bottom: 1px solid #dde4ec;
    justify-content: space-between;
    align-items: center;
}
.report-header .header-logo {
    display: flex;
    margin: 5px 0;
}
.report-header .header-logo .logo-img {
    padding-left: 16px;
}
.report-header .header-right {
    display: flex;
    column-gap: 16px;
    align-items: center;
    font-size: 14px;
    color: #0f2650;
}
.report-header .header-confidential {
    margin-right: 40px;
    padding: 8px 16px;
    border: solid 1px #b72a27;
    color: #b72a27;
}

.report-section-title {
    margin-bottom: 8px;
    page-break-after: avoid;
}

.print-only {
    display: none;
}

@media print {
    @page {
        margin: 0;
        size: auto;

        @top-left {
            content: normal;
        }

        @top-center {
            content: normal;
        }

        @top-right {
            content: normal;
        }

        @bottom-left {
            content: normal;
        }

        @bottom-center {
            content: normal;
        }

        @bottom-right {
            content: normal;
        }
    }

    html {
        background-color: #f2f5f7;
    }
    html,
    body,
    .container,
    .wrapper,
    .content {
        margin: 0;
        padding: 0;
        overflow: visible;
        height: fit-content;
    }
    .content {
        width: 100%;
    }
    .page-main {
        overflow: visible;
        padding: 24px 40px;
    }
    .main-header,
    .sidebar-container {
        display: none;
    }
    .scan-detail-page .print-only {
        display: initial;
    }
    .sidebar,
    .header,
    .tab-buttons {
        display: none;
    }
    .report-header {
        display: flex;
    }
    .scan-detail-page h2 {
        font-size: 16px;
        margin: 0;
    }
    .page-title-container {
        justify-content: center;
        text-align: center;
    }
    .tab-container {
        margin-top: 24px;
    }
    .tab-content {
        display: flex;
        flex-direction: column;
        gap: 24px;
    }
    .tab-item {
        display: block !important;
    }
    .title.print-only {
        display: flex;
        flex-direction: column;
        justify-content: center;
        align-items: center;
    }
    .scan-detail-page table thead:first-child {
        border-top: 0px solid #dde4ec;
    }
    .summary-table-container,
    .detail-table-container {
        margin-top: 8px;
    }
    .url-table-container {
        margin-top: 8px;
    }
    .detail-table .row-accordion-content {
        display: table-row;
    }
    .detail-table tr.row-accordion-header,
    .detail-table tr.row-accordion-content {
        display: table-row !important;
    }
    .detail-table tr.row-accordion-header,
    .detail-table tr.row-accordion-header td {
        border-bottom: none;
    }
    .cell-category {
        width: 248px;
    }
    .detail-table tbody td:nth-child(4),
    .detail-table .table-row-like-thead .table-header-count {
        width: 66px;
    }
    th.table-header-detection {
        width: calc(100% - 248px);
    }
    .td.cell-detection,
    th.table-header-detection {
        width: calc(100% - 248px);
    }
    table p,
    table h4 {
        word-break: break-all;
    }
    .detection-tag {
        white-space: nowrap;
    }
    .detection-title {
        word-break: break-all;
    }
    .detail-table .cell-detection .detection-value {
        align-self: center;
        color: #768aa4;
        overflow: visible;
        white-space: initial;
    }
    .detail-table .cell-detection p {
        flex-wrap: wrap;
    }
    .detail-table .cell-detection .detection-value {
        color: #768aa4;
    }
    table,
    table * {
        page-break-inside: auto !important;
        break-inside: auto !important;
    }
    .footer-address {
        color: var(--text-color);
    }
    .title.print-only h1 {
        font-size: 22px;
    }
    .header-date,
    .header-confidential,
    .title.print-only,
    h2.report-section-title,
    .summary-table tbody td,
    .detail-table td,
    .detail-table .scan-issue-container h3,
    .url-table td {
        font-size: 12px;
    }


    .scan-detail-page table .detection-tag,
    .detail-table .cell-detection .detection-value {
        font-size: 10px;
    }
    .header-date {
        white-space: nowrap;
    }
    .header-logo {
        width: min(263.69px, calc(100% - 326px));
        padding-left: 16px;
    }
    .report-header .header-logo a {
        display: flex;
        align-items: center;
        justify-content: center;
        width: 100%;
    }
    .report-header .header-logo .logo-img {
        width: 100%;
        height: auto;
        padding-left: 0px;
        padding-left: 0px;
    }
    .detail-table .row-accordion-header td:last-child:before {
        display: none;
    }
    .detection-value {
        color: #768aa4;
    }
    .detection-tag {
        float: left;
        line-height: 1;
    }
    .detail-table .cell-detection .detection-tag-and-value {
        display: block;
    }
    html {
        -webkit-print-color-adjust: exact !important;
        print-color-adjust: exact !important;
    }
    html::after {
        content: "";
        width: 100vw;
        height: 100vh;
        background-color: #f2f7fd;
        z-index: -1;
        position: fixed;
        bottom: 0;
        left: 0;
    }
    .not-display-when-print {
        display: none !important;
    }
}
@page {
    margin: 0;
    size: auto;

    @top-left {
        content: normal;
    }

    @top-center {
        content: normal;
    }

    @top-right {
        content: normal;
    }

    @bottom-left {
        content: normal;
    }

    @bottom-center {
        content: normal;
    }

    @bottom-right {
        content: normal;
    }
}

/*********************
 * 過去の診断結果一覧
 *********************/
.page-main.scan-history-page {
    overflow: visible;
}
.scan-history-container {
    display: flex;
    flex-direction: column;
    background-color: #fff;
    border: #dde4ec 1px solid;
    border-radius: 4px;
}

.scan-history-container .date-select-container {
    display: flex;
    justify-content: space-between;
    padding: 16px;
}
.date-select-buttons {
    display: flex;
}
.date-select-button {
    padding: 8px 16px;
    background-color: #fff;
    font-size: 14px;
    color: #0070c4;
    border: #dde4ec 1px solid;
    border-radius: 0;
    cursor: pointer;
    line-height: 1;
    margin: 0 0 0 -1px;
}

.date-select-button:first-child {
    border-top-left-radius: 4px;
    /* 左上の角を丸める */
    border-bottom-left-radius: 4px;
    /* 左下の角を丸める */
}

.date-select-button:last-child {
    border-top-right-radius: 4px;
    /* 右上の角を丸める */
    border-bottom-right-radius: 4px;
    /* 右下の角を丸める */
}

.date-select-button[active],
.date-select-button:hover {
    background-color: #0070c4;
    color: #fff;
}

.history-table {
    width: 100%;
    border-collapse: collapse;
}
.history-table tbody tr[href]:hover {
    cursor: pointer;
    background-color: #F2F7FD;
}

.history-table tbody tr#empty-item:hover {
    cursor: default;
    background-color: transparent;
}

.history-table th {
    padding: 8px 16px;
    border-width: 1px 0;
    border-style: solid;
    border-color: #dde4ec;
    text-align: left;
    font-size: 12px;
    font-weight: normal;
}
.history-table th:nth-child(3) {
    width: 50px;
    white-space: nowrap;
}
.history-table tr:not([hidden], .visible-last-row) {
    border-bottom: 1px solid #e2dcdc;
}

.history-table td {
    padding: 16px;
    color: #0f2650;
}

.history-table-wrapper:first-child .history-table thead tr th{
    border-top: none;
}

/* 診断日時列 */
.history-table-th-date,
.history-table tbody td:nth-child(1) {
    width: 200px;
}

@media (max-width: 1024px) {
    .history-table-th-date,
    .history-table tbody td:nth-child(1) {
        width: 226px;
    }
    .history-table th {
        font-size: 14px;
    }
    .history-table th:nth-child(3) {
        width: 58px;
    }
}

/* メッセージ列 */
.history-table tbody td:nth-child(2) {
    width: 100%;
    display: flex;
    align-items: center;
}
.history-table tbody th:nth-child(2) {
    width: calc(100% - 313px);
    display: flex;
    align-items: center;
}

.history-table tbody th:nth-child(3) {
    width: 50px;
    padding-right: 16px;
    text-align: right;
}
.history-table tbody td:nth-child(3) {
    width: 50px;
    padding-right: 16px;
    text-align: right;
}

.history-table tr .history-icon {
    margin-right: 8px;
    width: 21px;
    height: 21px;
}

.history-table a {
    text-decoration: none;
    color: #0070c4;
}
.history-table a:hover {
    color: #99c6e7;
}

/* データがないときのメッセージ表示 */
.history-table #empty-item td {
    text-align: center;
}
/* カレンダー関連 */
.period__calendar-icon {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    left: 16px;
    width: 16px;
    fill: #0f2650;
}
.period__chevron-icon {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    right: 8px;
}
.period__chevron-icon.js-rotate {
    transform: translateY(-50%) rotate(180deg);
}
.period__text {
    display: flex;
    font-size: 14px;
    line-height: 1.5;
    gap: 4px;
}
.period__calendar {
    display: none;
    width: 587px;
    height: -moz-fit-content;
    height: fit-content;
    border-radius: 4px;
    border: 1px solid #dde4ec;
    box-shadow: 0px 4px 4px rgba(0, 0, 0, 0.4);
    position: absolute;
    bottom: -4px;
    right: 0px;
    transform: translateY(100%);
    z-index: 3;
    background-color: #fff;
}

.period__calendar:hover {
    cursor: default;
}

.period__calendar.js-show {
    display: block;
}
.period__calendar-top {
    display: flex;
    gap: 8px;
    padding: 16px;
    border-bottom: 1px solid #dde4ec;
}
.period__calendar-block {
    width: 262px;
}
.period__calendar-wavy-line {
    font-size: 14px;
    padding-top: 30px;
}
.period__calendar-label {
    font-size: 12px;
    line-height: 1.5;
    margin-bottom: 4px;
    margin-top: 0px;
}
.period__calendar-input {
    display: none;
}
.period__calendar-input::-webkit-calendar-picker-indicator {
    display: none;
}
.period__calendar-input-for-hover {
    display: none;
}
.period__calendar-input,
.period__calendar-input-for-display,
.period__calendar-input-for-hover {
    width: 100%;
    height: 37px;
    padding: 8px 16px;
    font-size: 14px;
    line-height: 1.5;
    margin-bottom: 16px;
    border: 1px solid #dde4ec;
    border-radius: 4px;
    outline: none;
}
.period__calendar-input.selecting,
.period__calendar-input-for-display.selecting,
.period__calendar-input-for-hover.selecting {
    border: 1px solid #0070c4;
    background-color: #f2f7fd;
}
.period__calendar-month-area {
    position: relative;
    margin-bottom: 16px;
}
.period__calendar-month-text {
    font-size: 14px;
    width: -moz-fit-content;
    width: fit-content;
    margin: 0 auto;
}
.period__calendar-month-button {
    width: 47px;
    position: absolute;
}
.period__calendar-month-button.prev {
    left: 0;
    top: 0;
    text-align: right;
}
.period__calendar-month-button.next {
    right: 0;
    top: 0;
    text-align: left;
    width: 55px;
}
.period__calendar-month-button:hover {
    cursor: pointer;
}
.period__calendar-month-button-icon {
    position: absolute;
    top: calc(50% - 1px);
    transform: translateY(-50%);
    fill: #0070c4;
}
.period__calendar-month-button-icon.prev {
    left: 0;
    transform: translateY(-50%) rotate(180deg);
}
.period__calendar-month-button-icon.next {
    right: 0;
}
.period__calendar-month-button-text {
    font-size: 14px;
    line-height: 1.5;
    color: #0070c4 !important;
}
.period__calendar-days-of-the-week {
    display: flex;
    gap: 4px;
    margin-bottom: 4px;
}
.period__calendar-day-of-the-week {
    width: 34px;
    height: 22px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 12px;
    border: 1px solid #eaeef1;
}
.period__calendar-day-of-the-week.sunday {
    color: #b72a27;
}
.period__calendar-day-of-the-week.saturday {
    color: #0070c4;
}
.period__calendar-days {
    display: flex;
    gap: 4px;
    flex-wrap: wrap;
}
.period__calendar-day {
    width: 34px;
    height: 29px;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 0px;
    border: 1px solid #eaeef1;
    background-color: #fff;
    font-size: 14px;
}
.period__calendar-day:hover {
    cursor: pointer;
    background-color: #0070c4;
    color: #fff;
}
.period__calendar-day:disabled {
    background-color: #dde4ec;
    color: #a1b1c5;
}
.period__calendar-day:disabled:hover {
    cursor: default;
}
.period__calendar-day:disabled.not-month-day {
    background-color: #fff;
}
.period__calendar-day.selected {
    background-color: #0070c4 !important;
    color: #fff;
}
.period__calendar-day.selected-between,
.period__calendar-day.selected-between-when-hover {
    background-color: #d4e5f9;
}
.period__calendar-day.selected-between:hover,
.period__calendar-day.selected-between-when-hover:hover {
    background-color: #0070c4 !important;
    color: #fff;
}
.period__calendar-buttons {
    display: flex;
    gap: 16px;
    width: -moz-fit-content;
    width: fit-content;
    margin: 16px auto;
}
.period__wrapper .period__calendar-cancel-button {
    width: 102px;
    height: 37px;
    line-height: 35px;
    border-radius: 4px;
    background-color: #fff;
    border: 1px solid #768aa4;
    color: #0f2650;
    font-size: 14px;
}
.period__calendar-cancel-button:hover {
    cursor: pointer;
    background-color: #f1f2f4;
    color: #768aa4;
}
.period__wrapper .period__calendar-update-button {
    width: 102px;
    height: 37px;
    line-height: 35px;
    border-radius: 4px;
    background-color: #0070c4;
    color: #fff;
    border: 1px solid #0070c4;
    font-size: 14px;
}
.period__calendar-update-button:hover {
    cursor: pointer;
    background-color: #4c9ad5;
}
.period__calendar-update-button:disabled {
    background-color: #81b8e0;
    color: #fff;
}
.period__calendar-update-button:disabled:hover {
    cursor: default;
    background-color: #81b8e0;
}

.period__wrapper {
    box-sizing: border-box;
    padding-top: 8px;
    width: 330px;
    height: 37px;
    border-radius: 4px;
    position: relative;
    padding-right: 44px;
    padding-left: 38px;
    border: 1px solid #dde4ec;
    z-index: 100;
}

.period__wrapper * {
    box-sizing: border-box;
    color: #0f2650;
}

.period__wrapper:hover {
    cursor: pointer;
}

.period__wrapper {
    /* Firefox */
}
.period__wrapper input[type="number"]::-webkit-inner-spin-button,
.period__wrapper input[type="number"]::-webkit-outer-spin-button {
    -webkit-appearance: none;
    margin: 0;
}
.period__wrapper input[type="number"] {
    -moz-appearance: textfield;
}

.period__label-and-wrapper {
    display: flex;
    align-items: center;
    gap: 8px;
}

/****************** ▼カレンダー試作中 ****************/
/* .date-range-box {
    width: 329px;
    height: 37px;
    border: 1px solid #ccc;
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 0 10px;
    cursor: pointer;
}
.calendar-icon,
.dropdown-icon {
    font-size: 18px;
}
.date-range-text {
    flex-grow: 1;
    text-align: center;
} */

.dashboard-categories {
    display: flex;
    flex-direction: column;
    row-gap: 16px;
}

.dashboard-category__box {
    background-color: #fff;
    box-sizing: border-box;
    width: 100%;
    height: -moz-fit-content;
    height: fit-content;
    border-radius: 4px;
    border: 1px solid #dde4ec;
}
.dashboard-category__top {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 16px;
    flex-wrap: wrap;
    gap: 16px;
}

.dashboard-category__banner-area {
    padding-left: 16px;
    padding-right: 16px;
}

.dashboard-banner {
    padding: 12px 16px;
    display: flex;
    border-radius: 4px;
    align-items: center;
    gap: 16px;
    font-size: 16px;
    color: #fff;
    font-weight: bold;
}
.dashboard-category__title-area {
    display: flex;
    align-items: center;
    flex-wrap: wrap;
    row-gap: 16px;
}


.dashboard-category__number-of-reports-area {
    padding: 16px 16px 8px 16px; 
}

.dashboard-category__number-of-reports {
    display: flex;
    align-items: center;
    gap: 8px;
    margin-bottom: 4px;
}
.dashboard-category__number-of-reports-label {
    font-size: 14px;
    font-weight: bold;
}
.dashboard-category__number-of-reports-number {
    font-size: 18px;
    font-weight: bold;
}


.dashboard-category__minor-items {
    display: flex;
    gap: 16px;
    flex-wrap: wrap;
}



.dashboard-category__icon-wrapper {
    width: 32px;
    height: 32px;
    margin-right: 8px;
    display: flex;
    align-items: center;
    justify-content: center;
}
.dashboard-category__icon {
    width: fit-content;
    height: fit-content;
}
.dashboard-category__title {
    width: -moz-fit-content;
    width: fit-content;
    font-size: 18px;
    color: #0F2650;
    font-weight: bold;
    line-height: 1.5;
}
.dashboard-category__title:hover {
    color: #99c6e7;
    cursor: pointer;
}
.dashboard-category__title-arrow {
    position: absolute;
    top: 50%;
    right: 0;
    transform: translateY(-50%);
}
.dashboard-category__title-arrow path {
    fill: #0070C4;
}

.text-link {
    font-size: 14px;
    line-height: 1.5;
    color: #0F2650;
    position: relative;
}
.text-link.arrow-right {
    padding-right: 20px;
}

.text-link .text-link__arrow {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
}

.text-link.arrow-right .text-link__arrow {
    right: 0;
}
.text-link.arrow-left .text-link__arrow {
    left: 0;
}
.text-link.arrow-left {
    padding-left: 20px;
}


.text-link:hover {
    color: #768AA4;
}

.text-link:hover .text-link__arrow path {
    fill: #768AA4;
}

.minor-item {
    display: flex;
    align-items: center;
    gap: 4px;
    font-size: 12px;
    color: #768AA4;
}


.dashboard-category__small-text {
    font-size: 12px;
    color: #768aa4;
    width: -moz-fit-content;
    width: fit-content;
    margin: 0px;
    line-height: 1.5;
}
.dashboard-category__small-text a {
    color: #0070C4;
    text-decoration: none;
    margin-left: 2px;
}
.dashboard-category__small-text a:hover {
    color: #99C6E7;
}
.dashboard-category__manual-test-area {
    display: flex;
    align-items: center;
    gap: 16px;
}
.dashboard-category__ondemand-button:hover {
    color: #C5CDDB;
    cursor: pointer;
    border: 1px solid #C5CDDB;
}
.dashboard-category__ondemand-button:disabled {
    background-color: #c5cddb;
}
.dashboard-category__ondemand-button:disabled:hover {
    cursor: not-allowed;
}
.dashboard-category__ondemand-button {
    width: -moz-fit-content;
    width: fit-content;
    height: 37px;
    display: flex;
    align-items: center;
    gap: 4px;
    padding-right: 16px;
    padding-left: 16px;
    border: none;
    border-radius: 4px;
    border: 1px solid #768AA4;
    background-color: #fff;
    color: #0F2650;
}

.dashboard-category__ondemand-button span:first-child {
    font-size: 14px;
}
.dashboard-category__ondemand-button span:last-child {
    font-size: 12px;
}
.dashboard-category__ondemand-button-text {
    color: #fff;
    font-size: 14px;
}
.dashboard-category__items {
    display: flex;
    flex-wrap: wrap;
    padding-top: 24px;
    padding-bottom: 24px;
    border-top: 1px solid #DDE4EC;
    border-bottom: 1px solid #DDE4EC;
    row-gap: 8px;
}
.dashboard-category__item.not-ready {
    opacity: 0;
}
.dashboard-category__item {
    width: 25%;
    padding-left: 16px;
    padding-right: 16px;
    border-right: 1px solid #DDE4EC;
}
.dashboard-category__item:last-child {
    border-right: none;
}


.dashboard-category__bottom {
    padding: 16px;
    display: flex;
    align-items: center;
    justify-content: flex-end;
    gap: 16px;
}
.dashboard-category__item.two-column {
    width: calc(50% - 8px);
}
.dashboard-category__item-title {
    font-size: 14px;
    line-height: 1.5;
    color: #0f2650;
    margin-bottom: 8px;
    font-weight: normal;
    white-space: nowrap;
    width: fit-content;
}
.dashboard-category__item-text {
    font-size: 18px;
    font-weight: bold;
    margin: 0px;
}
.dashboard-category__error-item {
    width: 100%;
    padding: 8px 16px;
    border-radius: 4px;
    font-size: 14px;
    line-height: 1.5;
}
.dashboard-category__error-item a {
    text-decoration: underline;
    color: #0070C4;
}
.dashboard-category__error-item a:hover {
    color: #99C6E7;
}
.dashboard-category__next-test-date-text {
    margin-top: 4px;
    margin-left: auto;
}
.dashboard-category * {
    box-sizing: border-box;
    font-family: "Helvetica Neue", Arial, "Hiragino Kaku Gothic ProN",
        "Hiragino Sans", Meiryo, sans-serif;
} /*# sourceMappingURL=dashboard.css.map */


.evaluation-title {
    display: flex;
    align-items: center;
    column-gap: 24px;
    margin-bottom: 4px;
}
.evaluation-title h3 {
    margin: 0!important;
}
.evaluation-small-text {
    color: #768AA4;
    font-size: 12px;
    margin: 0;
}

.page-back-btn {
    display: flex;
    align-items: center;
    column-gap: 8.6px;
    width: fit-content;
    margin-bottom: 24px;
}
.page-back-btn:hover {
    cursor: pointer;
}
.page-back-btn-text {
    font-size: 14px;
    color: #0070C4;
    line-height: 1.5;
}
.page-back-btn-icon {
    transform: rotate(180deg);
}
.page-back-btn .page-back-btn-icon path{
    fill: #0070C4;
}

.page-back-btn:hover .page-back-btn-icon path{
    fill: #99c6e7;
}
.page-back-btn:hover .page-back-btn-text {
    color: #99C6E7;
}


.report-status-text {
    font-weight: bold;
}

.no-results {
    text-align: center;
}

.scan-status-text a {
    text-decoration: underline;
}

.url-error-tag {
    padding: 3px 6px;
    border-radius: 100px;
    background-color: #FFF4DF;
    font-size:10px;
    color: #0F2650;
    display:inline-flex;
    align-items: center;
    justify-content: center;
    gap: 4px;
    width: fit-content;
}

.url-table td div{
    display: flex;
    align-items: center;
    gap: 8px;
}
@media (max-width: 1024px) {
    .dashboard-category__title {
        font-size: 18px;
    }
    .dashboard-category__small-text {
        font-size: 14px;
    }
    .dashboard-category__ondemand-button-text {
        font-size: 16px;
    }
    .dashboard-category__ondemand-button {
        height: 40px;
    }
    .dashboard-category__item-title {
        font-size: 16px;
    }

    .detection-title {
        font-size: 14px;
    }
    
    .detection-value {
        font-size: 13px;
    }

    .detection-value span {
        font-size: 11px;
    }
    .detail-table .cell-detection p {
        row-gap: 4px;
    }
    .status-and-category { 
        font-size: 14px;
    }
    .scan-issue-block {
        flex-direction: column;
    }
    .scan-issue-block-title {
        width: 100%;
        padding-top: 10px;
        padding-bottom: 10px;
        border-right: none;
        border-bottom: 1px solid #dde4ec
    }
    .scan-issue-block:first-child .scan-issue-block-title {
        border-top-right-radius: 4px;
    }
    .scan-issue-block:last-child .scan-issue-block-title {
        border-bottom-left-radius: 0px;
    }
}
