/* アプリタイトル */
.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;
}

.section {
    margin: 0px auto 3vh;
}

.seat-card {
    /* groupの枠を作成 */
    display: flex;
    justify-content: center;
    align-items: center;
}

.group {
    display: flex;
    align-items: center;
    max-height: 354px;
    min-height: 76px;
    width: 95%;
    padding: 1vw;
    border: 1px solid #D0D0D0;
    border-radius: 10px;
}

@media (max-width: 768px) {
    .seat-icon {
        flex: 1 1 50%;
        max-height: 7rem;
        max-width: 20%;
        padding: 1vw;
    }
}

@media (min-width: 769px) and (max-width: 1200px) {
    .seat-icon {
        flex: 1 1 25%;
        max-height: 7rem;
        max-width: 15%;
        padding: 1vw;
    }
}

@media (min-width: 1201px) {
    .seat-icon {
        flex: 1 1 15%;
        max-height: 7rem;
        max-width: 10%;
        padding: 1vw;
    }
}

@media (max-width: 768px) {
    .result-icon {
        flex: 1 1 50%;
        max-height: 7rem;
        max-width: 15%;
    }
}

@media (min-width: 769px) and (max-width: 1200px) {
    .result-icon {
        flex: 1 1 25%;
        max-height: 7rem;
        max-width: 10%;
    }
}

@media (min-width: 1201px) {
    .result-icon {
        flex: 1 1 15%;
        max-height: 7rem;
        max-width: 6%;
    }
}


.inner {
    font-size: calc(1.275rem + .3vw);
    flex: 0 0 74%;
    white-space: nowrap;
}

.who {
    margin: 0 auto;
    color: #6b6b6b;
}

.content {
    margin: 0 auto;
}

/* 戻る */
.wrapper {
    display: flex;
    justify-content: center;
    align-items: flex-end;
    height: 10vh;
}

a {
    text-decoration: none;
}

/* 日付 */
.current-date {
    position: fixed;
    right: 20px;
    bottom: 20px;
    z-index: 1000;
    font-size: 1rem;
}

/* reCAPTCHA v3　表示位置 */
.grecaptcha-badge {
    position: fixed !important;
    transform: scale(0.5);
    transform-origin: left;
    left: 91vw;
}