* {
    -webkit-tap-highlight-color: transparent;
}

html,
body {
    padding: 0px;
    margin: 0px;
    width: 100%;
    height: 100%;
    background-color: #000;
    overflow-y: hidden;
}

#map {
    height: 100%;
    width: 100%;
}

#wrapper {
    position: relative;
    width: 100%;
    height: 100%;
}

#preview-spot-modal,
.section-modal {
    position: fixed;
    top: 0px;
    left: 0px;
    width: 100%;
    height: 100%;
    display: none;
}

#preview-spot-modal .modal-opacity,
.section-modal .modal-opacity {
    top: 0px;
    left: 0px;
    width: 100%;
    height: 100%;
    z-index: 1;
    background: #000;
    opacity: 0.5;
}

#preview-spot-modal .modal-close,
.section-modal .modal-close {
    color: #FFF;
    position: absolute;
    right: -4px;
    top: -8px;
    background: #000;
    width: 27px;
    height: 27px;
    font-weight: bold;
    text-align: center;
    cursor: pointer;
    border-radius: 50%;
    border: 2px solid #FFF;
    display: flex;
    align-items: center;
    justify-content: center;
}

.section-modal .modal-close {
    right: -10px;
    top: -13px;
}

#preview-spot-modal .modal-content {
    position: absolute;
    top: 50%;
    left: 50%;
    background-color: #2F3233;
    width: 80%;
    padding: 10px;
    z-index: 999;
    -webkit-transform: translate(-50%, -50%);
    transform: translate(-50%, -50%);
    text-align: left;
    color: #FFF;
}

.section-modal .modal-content {
    position: absolute;
    top: 50%;
    left: 50%;
    width: 90%;
    z-index: 999;
    -webkit-transform: translate(-50%, -50%);
    text-align: center;
    height: auto;
    background-color: #fff;
}

@media (max-width: 576px) {
    #preview-spot-modal .section-modal .modal-content {
        height: calc(100% - 1rem);
    }
}

#preview-spot-modal .spot-info-wrap {
    border: 3px dotted;
    padding: 10px;
    border-radius: 10px;
    max-height: 80vh;
    overflow-y: auto;
}

#preview-spot-modal .spot-info-wrap .spot-img {
    height: 190px;
    background-repeat: no-repeat;
    background-size: contain;
    background-position: center center;
    background-image: url(../img/RM-門扉1.jpg);
}

#preview-spot-modal .spot-info-wrap .spot-name {
    font-size: 18px;
    text-align: center;
    padding: 10px 0px;
    border-bottom: 3px dotted #666769;
    margin-bottom: 10px;
}

#preview-spot-modal .spot-info-wrap .spot-content {
    font-size: 12.5px;
}

.btn-info {
    background: none padding-box rgb(255, 255, 255);
    border: 0px;
    margin-bottom: 24px;
    padding: 0px 12px;
    text-transform: none;
    appearance: none;
    position: relative;
    cursor: pointer;
    user-select: none;
    direction: ltr;
    overflow: hidden;
    text-align: center;
    height: 40px;
    vertical-align: middle;
    color: rgb(86, 86, 86);
    font-family: Roboto, Arial, sans-serif;
    font-size: 18px;
    border-bottom-right-radius: 2px;
    border-top-right-radius: 2px;
    box-shadow: rgb(0 0 0 / 30%) 0px 1px 4px -1px;
    min-width: 30px;
}

.btn-back {
    left: -10px;
    top: 10px;
}

.btn-apply,
.btn-back {
    background: none padding-box rgb(255, 255, 255);
    border: 0px;
    margin-bottom: 24px;
    padding: 0px 12px;
    text-transform: none;
    appearance: none;
    position: relative;
    cursor: pointer;
    user-select: none;
    direction: ltr;
    overflow: hidden;
    text-align: center;
    height: 40px;
    vertical-align: middle;
    color: rgb(86, 86, 86);
    font-family: Roboto, Arial, sans-serif;
    font-size: 18px;
    border-bottom-right-radius: 2px;
    border-top-right-radius: 2px;
    box-shadow: rgb(0 0 0 / 30%) 0px 1px 4px -1px;
    min-width: 30px;
    right: -120px;
}

.btn-disable {
    color: #CCCCCC;
    display: none;
}

@media (max-width: 425px) {
    .modal-dialog-scrollable {
        height: calc(100% - 10rem) !important;
    }
}

#confirm-reward-modal.section-modal .modal-content {
    width: 60%;
}

.achivement-condition,
.back {
    background-color: #4F81BD;
    border: 2px solid #395E89;
    color: #fff;
    font-weight: 400;
}

.achivement-condition {
    right: 66px;
    top: 0px;
    background-color: #4F81BD;
}

.option {
    padding: 15px;
    margin-bottom: 10px;
    border: 2px solid #ddd;
    border-radius: 8px;
    position: relative;
    cursor: pointer;
    background-color: #fff;
}

.option.selected {
    border-color: #ced4da;
    background-color: #e9ecef;
    pointer-events: none;
}

.option.not-achieved {
    background-color: #e9ecef;
    border: 1px solid #ced4da;
    pointer-events: none;
}

.option.selecting {
    background-color: #eeece1;
}

.option-title {
    font-size: 18px;
    margin-bottom: 5px;
}

.option-status {
    color: #666;
    font-size: 14px;
    text-align: left;
}

.location-count {
    margin-top: 10px;
    padding-top: 10px;
    border-top: 1px dashed #ccc;
}

.count-item {
    display: flex;
    justify-content: space-between;
    margin-bottom: 5px;
}

.plus-sign {
    text-align: center;
    margin: 5px 0;
    font-weight: bold;
}

.note {
    font-style: italic;
    margin-top: 10px;
    color: #555;
}

.image {
    max-width: 50px;
    width: 100%;
}

.overflow-y-auto {
    overflow-y: scroll;
}


@media (max-width: 375px) {
    .image {
        max-width: 40px;
    }

    .option .plus {
        margin-left: 10px;
    }
}

@media (max-width: 320px) {
    .three-location {
        position: absolute;
    }

    .option.en .three-location span{
        letter-spacing: 0;
    }

    .three-location span {
        letter-spacing: -2px;
        margin-left: -3px;
    }

    .option.en .locations-5 {
        position: absolute;
        bottom: -8px;
        right: -8px;
    }

    .option.en .locations-9 p {
        position: unset;
    }
    .locations-9 p {
        position: absolute;
    }
}

@media (max-width: 425px) {
    .option.en .plus {
        margin-left: 26px;
    }

    .option.en .location {
        position: absolute;
        right: 20px;
        top: -17px;
    }

    .option.en .three-location {
        position: absolute;
        bottom: 38px;
        right: 28px;
    }

    .option.en .description {
        padding-top: 22px;
        float: right;
        margin-right: 14px;
    }

    .option.en .locations-9 {
        position: absolute;
        bottom: -35px;
        right: 6px;
    }
}

@media (max-width: 375px) {
    .option.en .plus {
        margin-left: 32px;
    }
}

@media (max-width: 320px) {
    .option.en .plus {
        margin-left: 5px;
    }

    .option.en .location {
        width: 100%;
        position: absolute;
        top: 0;
    }

    .option.en .three-location {
        width: 100%;
        position: relative;
        bottom: 15px;
    }

    .option.en .three-location span {
        position: absolute;
        top: 42px;
        left: -22px;
    }

    .option.en .description {
        margin-right: -7px;
    }
}

@media screen and (min-width: 375px) and (max-width: 425px) {
    .three-location span {
        margin-left: 5px;
    }
}