:root {
    --navy: #122b4f;
    --gray: #B5B2B2;
    --gray_alt: #8facbc;
    --gray_bg: #f6f6f6;
    --blue_1: #e4f5fc;
    --blue_2: #a8c6d2;
    --blue_3: #dfeced;
    --text_color: #485860;
    --secual-color: #64b1c9;
}
/**
* Reset
*
* Resetting and rebuilding styles have been helped along thanks to the fine
* work of Eric Meyer, Nicolas Gallagher, Jonathan Neal, and Blueprint.
*/
html,
body,
header,
main,
div,
span,
applet,
object,
iframe,
h1,
h2,
h3,
h4,
h5,
h6,
p,
blockquote,
pre,
a,
abbr,
acronym,
address,
big,
cite,
code,
del,
dfn,
em,
font,
ins,
kbd,
q,
s,
samp,
small,
strike,
strong,
sub,
sup,
tt,
var,
dl,
dt,
dd,
ol,
ul,
li,
fieldset,
form,
label,
legend,
table,
caption,
tbody,
tfoot,
thead,
tr,
th,
td {
    border: 0;
    font-size: 100%;
    font-style: inherit;
    font-weight: inherit;
    margin: 0;
    outline: 0;
    padding: 0;
    vertical-align: baseline;
    font-family: sans-serif;
    letter-spacing: 0.05em;
    box-sizing: border-box;
}

html,body {
    width: 100%;
    height: 100%;
    font-size: 16px;
}

html {
    overflow: hidden;
}

body {
    /* background: linear-gradient(var(--blue_1), var(--blue_2)); */
    background-color: var(--gray_bg);
    overflow-y: scroll;
    color: var(--text_color);
    position: relative;
}

p {
    line-height: 1.6;
}

header {
    background-color: white;
    text-align: center;
    padding: 1.5rem 1rem;
}

label {
    font-size: 14px;
    padding-left: 1rem;
    color: var(--text_color);
}

label.required::after {
    content: "※";
    font-size: 10px;
    display: inline-block;
    vertical-align: top;
}

.relative {
    position: relative;
}

.wrapper {
    width: 100%;
    margin: 0 auto;
    max-width: 500px;
    padding: 0 2rem 4rem 2rem;
}

.w374-on {
    display: none;
}

.w374-off {
    display: block;
}

.mt-0 {
    margin-top: 0;
}
.mt-1 {
    margin-top: 0.5rem;
}

.mt-2 {
    margin-top: 1rem;
}

.mt-3 {
    margin-top: 1.5rem;
}

.mb-0 {
    margin-bottom: 0;
}
.mb-1 {
    margin-bottom: 0.5rem;
}

.mb-2 {
    margin-bottom: 1rem;
}

.mb-3 {
    margin-bottom: 1.5rem;
}

.fw-bold {
    font-weight: bold;
}

.error_area {
    display: none;
    background-color: #f15b5b;
    padding: 0.5rem;
    color: white;
    margin-bottom: 1.5rem;
    font-size: 14px;
    line-height: 1.6;
}

.error_area a {
    color: white;
    text-decoration: underline;
}

.error_area a:hover {
    color: white;
}

.account-err {
    color: #f15b5b;
    margin-bottom: 1rem;
    font-size: 14px;
    font-weight: bold;
}

.title {
    color: var(--navy);
    font-weight: bold;
    font-size: 20px;
    margin-top: 4rem;
    text-align: center;
}

.sub-title {
    color: var(--navy);
    font-weight: bold;
    font-size: 18px;
    margin-bottom: 1.5rem;
    /* text-align: center; */
}

.start-attention {
    background-color: white;
    padding: 2rem 1rem;
    margin-bottom: 2rem;
    color: var(--navy);
}

.start-attention_title {
    text-align: center;
    margin-bottom: 1.5rem;
    font-weight: bold;
    font-size: 18px;
}

.preparations {
    display: flex;
    align-items: stretch;
    justify-content: center;
    column-gap: 1rem;
}

.preparation {
    border: 2px solid var(--navy);
    padding: 1rem;
    text-align: center;
}

.prep_title {
    margin-bottom: 1rem;
    font-weight: bold;
    height: 2em;
}

.prep_icon {
    width: 80%;
    margin: 0 auto 1rem;
}

.prep_desc {
    font-size: 14px;
    font-weight: bold;
    text-align: left;
}

.desc {
    color: var(--text_color);
    font-size: 16px;
    margin-top: 2rem;
}

.attention-desc {
    color: var(--navy);
    font-weight: bold;
    font-size: 14px;
    margin-bottom: 1.5rem;
}

.shop-area {
    margin-top: 0.5rem;
}

.start-shop-area {
    margin-top: 0.5rem;
    text-align: center;
}

.shop-label {
    font-size: 14px;
}

.shop-name {
    word-wrap: break-word;
    font-weight: bold;
}

form {
    margin-top: 3rem;
}

input {
    width: 100%;
    background-color: var(--blue_3);
    padding: 0.5rem 1rem;
    margin-bottom: 1.5rem;
    border: unset;
    font-size: 16px;
    -webkit-appearance: none;
    appearance: none;
    border-radius: 0;
}

input[type="date"] {
    min-height: 2.4em;
}

input[type="date"]::-webkit-date-and-time-value {
    text-align: left;
}

input[type="checkbox"] {
    -webkit-appearance: auto;
    appearance: auto;
    border-radius: 0;
    display: inline-block;
    width: 2em;
    height: 2em;
    margin-right: 0.25rem;
    margin-left: 0.25rem;
}

/* input:read-only:not(input[type="submit"]) {
    background-color: #e2e2e2;
} */

.read-only-text {
    padding: 0rem 1rem;
}

textarea {
    width: 100%;
    background-color: var(--blue_3);
    padding: 0.5rem 1rem;
    margin-bottom: 1.5rem;
    border: unset;
    font-size: 16px;
    -webkit-appearance: none;
    appearance: none;
    border-radius: 0;
}

input::placeholder  {
    color: var(--gray);
}

select {
    width: 100%;
    background-color: var(--blue_3);
    padding: 0.5rem 2rem 0.5rem 1rem;
    border: unset;
    font-size: 14px;
    -webkit-appearance: none;
    appearance: none;
}

.select-row {
    position: relative;
    margin-bottom: 1.5rem;
}

.select-row.date {
    display: inline-block;
}

.select-row::before {
    content: "";
    display: block;
    background-color: var(--blue_3);
    position: absolute;
    top: 1px;
    right: 1px;
    bottom: 1px;
    width: 2rem;
    z-index: 1;
    pointer-events: none;
}

.select-row::after {
    content: "";
    display: block;
    background-color: var(--blue_3);
    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;
}

.date-row {
    position: relative;
}

.date-overlay {
    position: absolute;
    top: 0;
    bottom: 0;
    right: 0;
    left: 0;
}

_::-webkit-full-page-media, _:future, :root .date-overlay {
    display: none;
}

.logo {
    width: 60%;
    max-width: 240px;
}

.flow {
    width: 90%;
    max-width: 360px;
}

.start-logo {
    display: block;
    width: 80%;
    margin: 4rem auto 0;
}

.start-title {
    color: var(--navy);
    text-align: center;
    font-size: 20px;
    font-weight: bold;
    margin-top: 4rem;
    margin-bottom: 4rem;
}

.button-area {
    margin-top: 4rem;
}

.navy-button {
    display: block;
    width: 100%;
    padding: 2rem;
    text-align: center;
    color: white;
    font-weight: bold;
    background-color: var(--navy);
    margin-bottom: 1.5rem;
    border: 2px solid var(--navy);
    border-radius: 10px;
    text-decoration: unset;
    box-shadow: 1px 1px 10px 0px #b4c4d5;
}

.navy-button:hover{
    color: white;
    text-decoration: unset;
}

.navy-button:disabled {
    background-color: var(--gray_alt);
    cursor: unset;
    border: unset;
}

.translate-button {
    display: block;
    width: 100%;
    padding: 1.5rem 2rem;
    text-align: center;
    color: var(--navy);
    font-weight: bold;
    background-color: transparent;
    margin-bottom: 1rem;
    border: 2px solid var(--gray_alt);
    border-radius: 10px;
    text-decoration: unset;
    box-shadow: 1px 1px 10px 0px #b4c4d5;
}

.translate-button:hover {
    color: var(--navy);
    text-decoration: unset;
}

.translate-button.back {
    padding: 0.5rem;
    width: 60%;
    margin-left: auto;
    margin-right: auto;
    cursor: pointer;
}

.translate-button.back::before {
    content: "";
    display: inline-block;
    vertical-align: middle;
    width: 1.5em;
    height: 1.5em;
    margin-right: 0.75rem;
    background-image: url(../images/icon_back.png);
    background-size: contain;
    background-repeat: no-repeat;
}

.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);
  }
}

.search-area {
    margin-bottom: 1.5rem;
}

.search-row {
    display: flex;
    align-items: center;
    column-gap: 0.5rem;
    margin-bottom: 1.5rem;
}

.search-label {
    font-size: 12px;
    width: 20%;
}

.search-input {
    flex-grow: 1;
}

.search-row .select-row {
    margin-bottom: 0;
    width: 100%;
}

.search-row input {
    margin-bottom: 0;
}

.search-area input[type="submit"] {
    display: block;
    width: 80%;
    min-width: 200px;
    margin: 0 auto;
    color: white;
    background-color: var(--navy);
    text-align: center;
    padding: 1rem;
    border-radius: 10px;
}

.search-area input[type="submit"]:disabled {
    background-color: var(--gray_alt);
    cursor: unset;
}

.totalcount {
    text-align: right;
    font-size: 14px;
    margin-bottom: 0.5rem;
}

.pagenation {
    background-color: white;
    width: fit-content;
    margin-left: auto;
    display: flex;
    align-items: center;
    margin-bottom: 2.5rem;
    font-size: 14px;
}

.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;
    color: var(--text_color);
    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;
}

.list-area {
    display: none;
}

.no-data {
    display: none;
    margin-bottom: 2rem;
    text-align: center;
}

.cars-list_item {
    list-style: none;
    background-color: white;
    padding: 1rem;
    margin-bottom: 1.5rem;
}

.cars-list_item_top {
    display: flex;
    justify-content: space-between;
    align-items: flex-start;
    column-gap: 0.5rem;
    margin-bottom: 1rem;
}

.cars-list_item_top .car {
    font-weight: bold;
    word-break: break-all;
    width: 14em;
}

.cars-list_item_top .select-button {
    background-color: var(--navy);
    color: white;
    font-size: 12px;
    font-weight: bold;
    border-radius: 5px;
    padding: 0.5em 1em;
    width: 6em;
    text-align: center;
    cursor: pointer;
}

.cars-list_item .model {
    font-size: 14px;
    line-height: 2em;
    margin-bottom: 0.5rem;
}

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

.cars-list_item .is_custom.is_show {
    display: block;
}

.cars-list_item .start_type {
    font-size: 14px;
    line-height: 1.5em;
    margin-bottom: 0.5rem;
}

.cars-list_item_bottom {
    border-top: 1px solid var(--gray);
    padding-top: 0.5rem;
    display: flex;
    align-items: center;
    justify-content: space-between;
}

.cars-list_item_bottom .maker {
    font-size: 12px;
    background-color: var(--gray);
    color: white;
    font-weight: bold;
    padding: 0.5em 1em;
}

.cars-list_item_bottom .model_year {
    font-size: 14px;
}

.cars-list_item_label {
    font-size: 12px;
    background-color: var(--secual-color);
    color: white;
    font-weight: bold;
    padding: 0.25em 1em;
    margin-right: 0.5em;
}

.dialog-table-area {
    margin: 1rem 0;
}

.car-dialog-table {
    width: 100%;
    border-right: 1px solid var(--gray);
    font-size: 12px;
}

.car-dialog-table td {
    padding: 0.5rem;
    min-width: 6em;
    word-break: break-all;
}

.car-dialog-table tr {
    border-bottom: 1px solid var(--gray);
}

.car-dialog-table tr td:first-child {
    font-weight: bold;
    background-color: var(--navy);
    color: white;
}

.jconfirm-buttons .blue-btn {
    background-color: var(--secual-color);
    color: white;
}

.jconfirm-buttons .dlg-next-btn {
    background-color: var(--navy);
    color: white;
}

.mail-sent-desc {
    color: var(--navy);
    font-weight: bold;
    margin-bottom: 2rem;
    display: none;
}

.mail-sent-desc .no-reciption {
    margin-top: 1rem;
    background-color: white;
    padding: 0.5rem;
    font-size: 14px;
}

.mail-after-send {
    display: none;
}

.input_register {
    position: relative;
    z-index: 0;
    
}
.confirm_register {
    position: fixed;
    top: 0;
    left: 0;
    bottom: 0;
    right: 0;
    height: 100%;
    z-index: 1;
    display: none;
    /* background: linear-gradient(var(--blue_1), var(--blue_2)); */
    background-color: var(--gray_bg);
    overflow-y: hidden;
}

.confirm_register_control {
    width: 100%;
    height: 100%;
    overflow-y: scroll;
}

.confirm_register label, .complete_register label {
    padding-left: 0;
    font-size: 12px;
}

.confirm_register .label-row, .complete_register .label-row {
    margin-bottom: 0.5rem;
    border-bottom: 1px solid var(--gray_alt);
}

.confirm_register .price, .complete_register .price {
    font-size: 20px;
    font-weight: bold;
    color: var(--navy);
}

.confirm_register .price-row {
    color: var(--navy);
}

.input-value {
    overflow-wrap: break-word;
}

/* .input-value a[href^="tel:"] {
    text-decoration: none;
    pointer-events: none;
    color: inherit;
} */

.confirm-view-area {
    padding-top: 1rem;
    padding-bottom: 1rem;
    /* border-top: 2px solid var(--gray_alt); */
    border-bottom: 2px solid #597d91;
    margin-bottom: 2rem;
}
.car-area {
    padding-top: 1rem;
    padding-bottom: 1rem;
    /* border-top: 2px solid var(--gray_alt); */
    border-bottom: 2px solid #597d91;
    margin-bottom: 2rem;
}

.price-area {
    border-bottom: 2px solid #597d91;
    padding-bottom: 2rem;
}

.term-area {
    margin-top: 3rem;
    margin-bottom: 3rem;
    color: var(--navy);
    font-weight: bold;
}

.term-area input[type="checkbox"] {
    margin-top: 0;
    width: 16px;
    height: 16px;
    border-radius: 0;
    vertical-align: middle;
}

.term-area a {
    color: var(--navy);
    text-decoration: underline;
}

.clr_scl {
    color: var(--navy);
    text-decoration: underline;
}

.jconfirm-content {
    font-size: 14px;
}

.initial_plan-area {
    background-color: var(--navy);
    padding: 0.5rem 0.75rem;
    color: #fff;
    font-size: 14px;
    display: none;
}

.plan-desc {
    margin-top: 0.5rem;
    padding-bottom: 1rem;
    margin-bottom: 1rem;
    border-bottom: 1px solid #fff;
    font-size: 12px;
    overflow-wrap: anywhere;
}

.initial_plan-area .price {
    font-size: 14px;
    text-align: right;
}

.initial_plan-area .price strong {
    font-size: 1.5em;
}

.initial_plan-area input {
    color: var(--text_color);
    /* font-size: 14px; */
    /* text-transform: uppercase */
}

.initial_plan-area input[readonly] {
    color: #7299ac;
}

.coupon-area-title {
    font-weight: bold;
    margin-bottom: 5px;
}

.coupon-title {
    font-weight: bold;
}

.coupon-desc {
    padding: 10px;
    font-size: 12px;
    background-color: #d9d9d9;
    color: #000;
    margin: 5px;
}

.coupon-code-row {
    position: relative;
    margin-bottom: 1.5rem;
}

.code-submit {
    position: absolute;
    top: 1px;
    right: 1.5px;
    bottom: 1px;
    font-size: 14px;
    font-weight: bold;
    color: var(--text_color);
    padding: 0.5rem;
    cursor: pointer;
    background-color: var(--blue_3);
}

.coupon-note {
    text-align: right;
    font-size: 12px;
    color: #ffd700;
}

.coupon-success {
    display: none;
}

.coupon-error {
    display: none;
}

.attention {
    font-size: 14px;
}

.attention-title {
    text-decoration: underline;
    color: var(--navy);
    font-weight: bold;
    display: block;
    margin-bottom: 4px;
}

.input-note {
    font-size: 12px;
    font-weight: bold;
    color: var(--navy);
}

.price-note {
    font-size: 12px;
}

.tooltip-wrapper {
    position: relative;
}

.tooltip-icon {
    display: inline-block;
    padding: 0.25em;
    font-size: 8px;
    background-color: var(--text_color);
    color: white;
    /* 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;
    opacity: 1;
}
.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;
}

.dlg-note {
    font-size: 12px;
    font-weight: bold;
}

@media (max-width: 430px) {
    .preparation {
        padding: 1rem 0.5rem;
    }
}

@media (max-width: 374px) {
    .w374-on {
        display: block;
    }
    
    .w374-off {
        display: none;
    }
    .pagenation {
        font-size: 12px;
    }

    .wrapper {
        padding: 0 1.5rem 4rem 1.5rem;
    }

    .select-row.date select {
        padding: 0.5rem 2rem 0.5rem 0.5rem
    }
}