:root {
    --navy: #22525e;
    --gray: #B5B2B2;
}
body {
    font-family: 'Noto Sans JP', sans-serif;
    margin: 0;
    padding: 0;
    /* background: linear-gradient(to right, #d1f1fc, #eaf8fb); */
    background-color: white;
    color: #333;
    box-sizing: border-box;
}
header {
    color: #000;
    padding: 2rem 1rem;
    text-align: center;
    /* box-shadow: 0 4px 20px rgba(0, 0, 0, 0.2); */
    position: relative;
}
header .logo {
    max-width: 320px;
    /* margin-bottom: 1rem; */
}

section {
    background-image: url(../images/cars.png);
    background-size: 100%;
    background-repeat: no-repeat;
    /* background-position: top left; */
    padding-top: 3rem;
}
.sec-header {
    text-align: center;
    color: white;
}
.container {
    max-width: 1100px;
    margin: 3rem auto;
    padding: 2rem;
    background-color: #ffffff;
    border-radius: 20px;
    box-shadow: 0 10px 30px rgba(0,0,0,0.15);
}
h1 {
    font-size: 2rem;
    margin-top: 0;
    margin-bottom: 0.5rem;
}
.highlight {
    font-size: 1.1rem;
    /* color: #14516c; */
    margin-bottom: 0.5rem;
}
.search-bar {
    display: flex;
    flex-wrap: wrap;
    align-items: flex-end;
    gap: 1rem;
    margin: 1rem 0 2rem;
}
.search-bar input {
    width: 100%;
    display: block;
    padding: 0.75rem 1rem;
    font-size: 1rem;
    border: 2px solid #3593ab;
    border-radius: 8px;
    background: #f5fcff;
    box-shadow: inset 0 1px 3px rgba(0,0,0,0.1);
    box-sizing: border-box;
}
.search-area input[type="submit"] {
    display: none;
    width: 40%;
    min-width: 200px;
    margin: 0 auto;
    color: white;
    background-color: var(--navy);
    text-align: center;
    padding: 1rem;
    border-radius: 10px;
    font-size: 1rem;
    cursor: pointer;
}
.serch-label {
    font-size: 14px;
    margin-top: 0;
    margin-bottom: 6px;
}
.search-bar .search-form {
    flex: 1;
}
.search-bar .pc-search {
    width: 48px;
    height: 48px;
    border-radius: 50%;
    background-color: var(--navy);
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
}
.fa-search {
    color: white;
}
select {
    width: 100%;
    padding: 0.75rem 1rem;
    box-sizing: border-box;
    border: 2px solid #3593ab;
    border-radius: 8px;
    background: #f5fcff;
    box-shadow: inset 0 1px 3px rgba(0,0,0,0.1);
    font-size: 1rem;
    -webkit-appearance: none;
    appearance: none;
    color: #333;
}

.select-row {
    position: relative;
    margin-top: 0;
    margin-bottom: 0;
}

.select-row::before {
    content: "";
    display: block;
    background-color: #f5fcff;
    position: absolute;
    top: 2px;
    right: 2px;
    bottom: 2px;
    border-radius: 8px;
    width: 2rem;
    z-index: 1;
    pointer-events: none;
}

.select-row::after {
    content: "";
    display: block;
    background-color: #f5fcff;
    position: absolute;
    top: calc(50% - (0.5em / 2));
    right: 0.75rem;
    width: 0;
    height: 0;
    border-top: 0.5em solid var(--navy);
    border-right: 0.375em solid transparent;
    border-left: 0.375em solid transparent;
    z-index: 2;
    pointer-events: none;
}
table {
    width: 100%;
    border-collapse: separate;
    border-spacing: 0.5px;
    background: #ffffffdd;
    /* border-radius: 12px; */
    overflow: visible;
    margin-bottom: 2rem;
}
th, td {
    padding: 1rem;
    text-align: left;
    border-bottom: 1px solid #e2f3f7;
}
th {
    background-color: #22525e;
    font-size: 1rem;
    color: #fff;
    text-align: center;
    overflow: visible;
}
thead th:first-child {
    border-top-left-radius: 12px;
}
thead th:last-child {
    border-top-right-radius: 12px;
}
tr:hover {
    background-color: #f0fbfe;
}

.is_custom {
    font-size: 12px;
    color: var(--navy);
    margin-bottom: 0.5rem;
    display: none;
}

.is_custom.is_show {
    display: block;
}

.tooltip-wrapper {
    position: relative;
}

.tooltip-icon {
    display: inline-block;
    font-size: 0.5em;
    padding: 0.25em;
    background-color: white;
    color: var(--navy);
    margin-left: 0.5em;
    margin-right: 0.5em;
    vertical-align: top;
    border-radius: 0.75em;
    line-height: 1;
    cursor: pointer;
    position: relative;
}
.tooltip {
    position: absolute;
    bottom: 2rem;
    left: calc(-10em + 4px);
    font-size: 12px;
    background-color: #000000de;
    color: white;
    padding: 1em;
    width: 20em;
    z-index: 10;
    box-sizing: border-box;
    display: none;
}
.tooltip-icon:hover .tooltip {
    display: block;
}
.tooltip p {
    margin: 0;
    text-align: left;
    line-height: 1.5;
}
.tooltip_desc {
    position: relative;
}
.tooltip_desc::after {
    content: "";
    display: block;
    position: absolute;
    width: 0;
    height: 0;
    bottom: -27px;
    left: calc(50% - 0.75rem);
    border-top: 1rem solid #000000de;
    border-right: 0.75rem solid transparent;
    border-bottom: 0;
    border-left: 0.75rem solid transparent;
}

.no-data {
    display: none;
    margin-top: 2rem;
    margin-bottom: 2rem;
    text-align: center;
}
footer {
    background: linear-gradient(to right, #597983, #05191e);
    color: #fff;
    text-align: center;
    padding: 2rem 1rem;
    font-size: 0.95rem;
}
.badge {
    background: linear-gradient(to right, #e36239, #e14210);
    color: #fff;
    display: inline-block;
    padding: 0.5rem 1.2rem;
    border-radius: 30px;
    font-size: 0.95rem;
    margin-top: 1rem;
    box-shadow: 0 3px 8px rgb(255 167 140);
}
.icon {
    width: 24px;
    vertical-align: middle;
    margin-right: 8px;
}
.totalcount {
    text-align: right;
    font-size: 14px;
    margin-bottom: 0.5rem;
}

.pagenation {
    background-color: white;
    width: fit-content;
    margin-left: auto;
    padding: 0;
    display: flex;
    align-items: center;
    margin-top: 2rem;
    margin-bottom: 1.5rem;
    font-size: 14px;
    border: 1px solid var(--gray);
}

.pagenation li {
    list-style: none;
    display: block;
}

.pagenation li + li {
    border-left: 1px solid var(--gray);
}

.pagenation a {
    display: block;
    padding: 0.5rem 0.75rem;
    cursor: pointer;
}

.pagenation .active span {
    display: block;
    padding: 0.5rem 0.75rem;
    background-color: var(--navy);
    color: white;
}

.pagenation a:hover {
    text-decoration: unset;
}

.pagenation .distance {
    display: block;
    padding: 0.5rem;
}
.loading-bg {
    display: none;
    width: 100%;
    height: 100%;
    position: fixed;
    background: black;
    opacity: 0.5;
    z-index: 10002;
    top: 0;
    right: 0;
    bottom: 0;
    left: 0;
}
.loader,
.loader:after {
    border-radius: 50%;
    width: 10em;
    height: 10em;
}
.loader {
    left: calc(50% - 5em);
    top: calc(50% - 5em);
    font-size: 10px;
    position: relative;
    text-indent: -9999em;
    border-top: 1.1em solid rgba(255, 255, 255, 0.2);
    border-right: 1.1em solid rgba(255, 255, 255, 0.2);
    border-bottom: 1.1em solid rgba(255, 255, 255, 0.2);
    border-left: 1.1em solid #ffffff;
    -webkit-transform: translateZ(0);
    -ms-transform: translateZ(0);
    transform: translateZ(0);
    -webkit-animation: load8 1.1s infinite linear;
    animation: load8 1.1s infinite linear;
}
@-webkit-keyframes load8 {
    0% {
    -webkit-transform: rotate(0deg);
    transform: rotate(0deg);
    }
    100% {
    -webkit-transform: rotate(360deg);
    transform: rotate(360deg);
    }
}
@keyframes load8 {
    0% {
    -webkit-transform: rotate(0deg);
    transform: rotate(0deg);
    }
    100% {
    -webkit-transform: rotate(360deg);
    transform: rotate(360deg);
    }
}
@media (max-width: 1165px) {
    .container {
        margin: 3rem 1rem;
    }
}
@media (max-width: 575px) {
    header .logo {
        width: 90%;
    }
    .search-bar {
        flex-direction: column;
        align-items: stretch;
    }
    .search-area input[type="submit"] {
        display: block;
        width: 50%;
    }
    .search-bar .pc-search {
        display: none;
    }
    .container {
        padding: 2rem 1rem;
        margin: 3rem 0;
        border-radius: 0;
    }
    th {
        font-size: 14px;
        padding: 1rem 0.75rem;
    }
    td {
        font-size: 12px;
        padding: 1rem 0.75rem;
    }
    .is_custom {
        font-size: 10px;
    }
}