/* 基本設定 */
body {
    margin: 0;
    padding: 0;
}

/* アプリタイトル */
.header {
    display: flex;
    justify-content: center;
    align-items: center;
    height: 9vh;
    font-weight: 700;
    font-size: 1.5rem;
}

/* アプリ共通部分 */
.container {
    position: relative;
}

/* TOPページ */
#logo {
    height: 40px;
    display: inline;
}

.select {
    height: 35px;
    padding-left: 15px;
    position: absolute;
    top: 40px;
}

#videoSource {
    display: none;
}

.selectCamera {
    color: #808080;
    display: none;
}

.centering {
    display: flex;
    justify-content: center;
    align-items: center;
    position: relative;
    width: 100%;
}

.btn-area {
    margin-top: 10px;
    height: 50px;
}

.after-btn-area {
    margin-top: 10px;
    height: 50px;
}

#vin-search-btn {
    display: flex;
    align-items: center;
    justify-content: center;
    margin-left: 4px;
    padding: 0.6rem 1.313rem;
}

.fields {
    display: flex;
    justify-content: center;
    align-items: center;
    position: relative;
}

#camera {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: 1;
}

#rect {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: 2;
}

#videoChange {
    position: absolute;
    background-color: rgba(255, 255, 255);
    color: #808080;
    z-index: 3;
    top: 5px;
    left: 5px;
}

#videoChange:hover {
    background-color: rgba(255, 255, 255);
    color: #808080;
}

.bi-arrow-repeat {
    position: absolute;
    top: 16px;
    left: 23px;
}

#statusbox {
    width: 100%;
    display: flex;
    Justify-content: center;
    text-align: center;
}

#status {
    padding-left: 5px;
}

.centering-after {
    display: flex;
    flex-direction: column;
    justify-content: space-around;
    align-items: center;
}

.rects {
    position: absolute;
}

#picture {
    width: 75%;
    height: 25%;
}

.search-form {
    display: flex;
    margin-top: 10px;
}

.inputNo {
    position: relative;

    .txtScan {
        border: 1px solid #aaa;
        border-radius: 8px;
        outline: none;
        padding: 8px;
        padding-right: 2.5rem;
        box-sizing: border-box;
        transition: 0.3s;
        width: 70vw;
        max-width: 300px;
    }

    .clearButton {
        position: absolute;
        right: 0.5rem;
        background: none;
        border: none;
        font-size: 1.5rem;
        color: #aaa;
        padding: 0;
    }

    .clearButton:hover {
        color: #000000;
    }

}

.button-between {
    width: 100px;
}

.columns {
    display: flex;
    justify-content: center;
    align-items: center;
    text-align: center;
}

.flag {
    border: black 1px solid;
}

.dropdown-item img {
    margin-right: 10px;
    width: 20px;
    height: auto;
}

.selected-region {
    display: flex;
    align-items: center;
}

.selected-region img {
    margin-right: 10px;
    width: auto;
    height: 2rem;
}

.selected-region,
.dropdown {
    width: 100%;
}

.flex-container {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 100%;
}

.dropdown,
.selected-region {
    margin: 0 10px;
    width: auto;
}

.contact-card {
    margin-bottom: 20px;
}

.contact-card-body {
    justify-items: center;
}

.contact-btn {
    display: flex;
    margin-bottom: 5px;
    width: fit-content;
}

/* 結果表示 */
.result-message {
    display: flex;
    justify-content: center;
    align-items: center;
    text-align: center;
    max-height: 354px;
    min-height: 76px;
    margin: 2vh auto 2vh;
    padding: 10;
    width: 95%;
    color: white;
    border-radius: 10px;

    h3 {
        font-weight: 400 !important;
    }
}

.result-message.green {
    background-color: #2DA44E;
}

.result-message.red {
    background-color: #FF0000;
}

/* VIN表示 */
.vin-display {
    display: flex;
    justify-content: center;
    margin: 0 0 2vh 0;
}

.vin-card {
    width: 95%;
    font-size: 1rem;

    input {
        border: none;
        outline: none;
        background: none;
        font-size: 1.5rem;
        padding: 0;
    }
}

.vin-label {
    color: #57606B;
}

/* 戻る */
.wrapper {
    display: flex;
    justify-content: center;
    align-items: flex-end;
    height: 10vh;
}

a {
    text-decoration: none;
}

/* 日付 */
.current-date {
    position: absolute;
    right: 20;
    font-size: 1rem;
}

/* reCAPTCHA v3　表示位置 */
.grecaptcha-badge {
    position: fixed !important;
    transform: scale(0.5);
    transform-origin: left;
    left: 91vw;
}

/* 免責事項 */
.title {
    text-align: left;
    margin: auto 3rem;
}

.script {
    text-align: left;
    margin: auto 3rem;
}

/* フッター */
.footer {
    width: 100%;
    /* border-top: 1px solid #e0e0e0; */
    padding: 1rem 0;
    text-align: center;
    /* background-color: #f8f9fa; */
    margin-top: 1rem;
}

.footer ul {
    list-style: none;
    padding-left: 0;
    margin: 0;
}

.footer-language {

    li:first-child {
        padding-left: 0;
        border-left: none;
    }

    li {
        display: inline-block;
        padding-right: 5px;
        padding-left: 10px;
        border-left: 1px solid #eeece4;
    }

    a:hover {
        cursor: pointer;
        color: #004499;
        text-decoration: underline;
        transition: color 0.3s ease;
    }
}

.disclaimer {
    display: flex;
    justify-content: center;
    margin-top: 15rem;

    a {
        color: #6b6b6b;
    }

    a:hover {
        color: #404040;
        text-decoration: underline;
    }
}

.line {
    width: 370px;
    margin: 0 auto;
    margin-top: 50px;
}

.scan_enter_vin {
    height: 47px;
    font-size: 12px;
    width: 120px;
    padding: 13px 0;
}

.scan_enter_vin_a {
    position: relative;
    right: 110px;
}

.enter_scan_button_size {
    width: 145px;
    font-size: 14px;
    padding: 13px 0;
}

.button_position .right {
    position: relative;
    right: 23px;
}

.button_position .left {
    position: relative;
    left: 23px;
}

.wrapper_index_scan {
    display: flex;
    justify-content: center;
    align-items: flex-end;
    height: 13vh;
}

.center-button {
    position: absolute;
}

.search-form-margin-top {
    margin-top: 100px;
}

.disclaimer_text {
    width: 80%;
    margin: 0 auto;
}