html, body {
    background-color: #f4f4f4;
}

.center {
    text-align: center;
}
.right {
    text-align: right;
}
.left {
    text-align: left;
}

.w5 {
    width: 5%;
}
.w10 {
    width: 10%;
}
.w20 {
    width: 20%;
}
.w30 {
    width: 30%;
}
.w40 {
    width: 40%;
}
.w50 {
    width: 50%;
}
.w60 {
    width: 60%;
}
.w70 {
    width: 70%;
}
.w80 {
    width: 80%;
}
.w90 {
    width: 90%;
}
.w100 {
    width: 100%;
}

.navbar-dark {
    background-color: #363636 !important;
}
.navbar-dark .navbar-nav .nav-link, .navbar-dark .navbar-nav .nav-link:active, .navbar-dark .navbar-nav .nav-link:hover {
    color: #fff;
    font-size: 14px;
}
.navbar-brand {
    font-size: 20px;
    font-weight: 700;
    margin-right: 30px;
}


.manage_menu_title {
    font-size: 17px;
    margin-top: 10px;
    margin-bottom: 10px;
}


.item-list {
    background-color: #fff;
}
.item-list th, .item-list td {
    border: 1px solid #b3b3b3 !important;
}
.list_title {
    font-size: 14px;
    font-weight: 700;
    padding: 5px 10px !important;
    text-align: center;
    background-color: #535353;
    color: #fff;
}
.item-list tbody td {
    font-size: 14px;
    height: 30px;
    line-height: 30px;
    padding: 5px 5px;
}
.item-list tbody td .select_button {
    padding: 0 !important;
    border: 1px solid #c0c0c0;
    background-color: #fcfcfc;
    font-size: 14px;
    height: 30px;
    color: #333;
}


.edit_card {
    border: 1px solid #b6b6b6;
}
.form-control {
    border: 1px solid #007aec;
    height: 40px;
}
.back_button, .back_button:hover, .back_button:active {
    border: 1px solid #838383;
    background-color: #fff;
    color: #000;
    font-size: 16px;
    width: 100px;
    height: 40px;
}
.next_button, .next_button:hover, .next_button:active {
    border: 1px solid #1b8654;
    background-color: #1b8654;
    color: #fff;
    font-size: 16px;
    width: 100px;
    height: 40px;
}
.delete_button, .delete_button:hover, .delete_button:active {
    border: 1px solid #dc3545;
    background-color: #dc3545;
    color: #fff;
    font-size: 16px;
    width: 100px;
    height: 40px;
}
.label_notice {
    font-size: 12px;
    color: #666;
}
.required {
    font-size: 12px;
    color: #dc3545;
    padding-left: 10px;
}


.question_body {
    background-color: #fff;
    margin-top: 7vh;
    margin-bottom: 7vh;
    z-index: 1000;
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
}


#circle {
    width: 130px;
    margin: 6px 6px 20px;
    display: inline-block;
    position: relative;
    text-align: center;
    line-height: 1.2;
}
#circle canvas {
    vertical-align: top;
    height: 130px !important;
    width: 130px !important;
}
#circle strong {
    position: absolute;
    top: 40px;
    left: 0;
    width: 100%;
    text-align: center;
    line-height: 40px;
    font-size: 20px;
}
@media (max-width: 767.98px) {
    #circle {
        width: 100px;
    }
    #circle canvas {
        vertical-align: top;
        height: 100px !important;
        width: 100px !important;
    }
    #circle strong {
        position: absolute;
        top: 35px;
        left: 0;
        line-height: 35px;
    }
}

.question_image {
    width: 100%;
    height: auto;
}
@media (max-width: 990.98px) {
    .question_image {
        width: 100%;
    }
}
.question {
    font-size: 1.1rem;
    color: #333;
    font-weight: 600;
    margin-top: 7px;
    margin-bottom: 7px;
}


#choices {
    height: 45vh;
    max-height: 45vh;
    overflow-y: scroll;
    margin-top: 17px;
}
@media (max-width: 767.98px) {
    #choices {
        height: 40vh;
        max-height: 40vh;
    }
}
#choices a {
    text-decoration: none;
}
#choices a:hover {
    opacity: 0.6;
    transition-duration: 0.3s;
}

.choice {
    display: flex;
    margin-bottom: 27px;
}
.choice_image {
    width: 150px;
    margin-right: 7px;
    padding: 5px;
}
.choice_image:hover {
    opacity: 0.6;
    transition-duration: 0.3s;
}
.choice_text {
    color: #666;
    font-size: 1rem;
    margin-top: 10px;
}
.choice_text:hover {
    opacity: 0.6;
    transition-duration: 0.3s;
}

.choice_active {
    background-color: #f2f2f2;
    border: 2px solid #888;
    border-radius: 7px;
}

.question_next_button {
    background-color: #fff;
    border: 1px solid #cdcdcd;
    color: #333;
    font-size: 1.1rem;
    font-weight: 500;
    padding: 12px 30px;
    border-radius: 10px;
    margin-bottom: 15px;
}


.header_result_image {
    height: auto;
    width: 100%;
    max-width: 100%;
    margin-top: 10px;
}
@media (max-width: 767.98px) {
    .header_result_image {
        height: auto;
        width: 100%;
        margin-top: 10px;
    }
}
.header_result_message {
    font-size: 0.9rem;
    color: #333;
    margin-top: 10px;
    padding-top: 15px;
}

.other_result {
    font-size: 0.8rem;
    color: #333;
    margin-top: 12px;
}
.result_choices {
    display: flex;
    width: 100%;
    overflow-x: scroll;
}
.result_choices div {
    padding: 8px 30px;
    margin: 5px;
    flex-shrink: 0;
    font-size: 1rem;
    color: #333;
    border: 1px solid #bcbcbc;
    border-radius: 12px;
}


.result_box {
    border: 1px solid #dedede;
    height: 45vh;
    max-height: 45vh;
    padding-left: 10px;
    padding-right: 10px;
    overflow: hidden;
    overflow-y: scroll;
}
.result_box .result {
    display: flex;
    margin-top: 10px;
    margin-bottom: 15px;
}
.result_box .result .result_image img {
    width: 150px;
}
.result_box .result .result_text {
    font-size: 0.9rem;
    color: #666;
    padding-left: 7px;
    padding-top: 10px;
}


.sns_links {
    margin-top: 12px;
}
.sns_button {
    margin-right: 10px;
}
.sns_button img {
    height: 30px;
}
.sales_info {
    margin-top: 7px;
    padding: 10px;
    font-size: 0.9rem;
    color: #666;
    border: 1px solid #bcbcbc;
    border-radius: 12px;
    height: 15vh;
}
.sales_info .price {
    text-align: right;
    font-size: 1.35rem;
}
.sales_info .price .yen {
    font-size: 0.9rem;
    padding-left: 5px;
}
.sales_explain {
    margin-top: 7px;
    padding: 10px;
    font-size: 0.9rem;
    color: #666;
    border: 1px solid #bcbcbc;
    border-radius: 12px;
    height: 15vh;
    overflow-y: scroll;
}
.online_shop {
    margin-top: 7px;
}
.online_shop button {
    background-color: #007aec;
    border-radius: 6px;
    color: #fff;
    padding-top: 12px;
    padding-bottom: 12px;
}