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

/* NAV headermessage fixed */
.flexbox {
    display: flex;
    flex-direction: column;
    width: 100vw;
    height: 100vh;
}
.scroll_contents {
    flex: 1;
    overflow: scroll;
    min-height: 90vh;
}

/* NAV */
.navbar-light {
    box-shadow: 0px 1px 1px 0px rgba(0,0,0,0.2);
    padding-bottom: 3px;
    z-index: 100;
}
.navbar-brand {
    font-size: 1em;
    font-weight: 700;
    color: #666;
    padding-top: 0;
}
.navbar-brand span {
    padding-left: 7px;
}
.navbar-brand img {
    height: 45px;
}
.nav-icon {
    text-align: center;
}
.nav-icon img {
    width: 22px;
}
.nav-link {
    font-size: 0.8em;
    padding: 3px 10px;
    color: rgba(0,0,0,.5);
}
.d-pc-none{
    display: none;
}
@media screen and (max-width: 767px){
    .nav-item {
        padding-bottom: 20px;
    }
    .nav-icon {
        display: inline-block;
        text-align: left;
    }
    .nav-link {
        display: inline;
    }
    .d-sp-none{
        display: none;
    }
    .d-pc-none{
        display: list-item;
    }
}

.content {
    min-height: 60vh;
}

/* FOOTER */
.portal_footer {
    background-color: #555;
    padding-top: 1rem;
    padding-bottom: 3rem;
    margin-top: 30px;
}
.portal_footer .row {
    margin-left: 0;
    margin-right: 0;
}
.portal_footer .store_name {
    font-size: 1.2rem;
    font-weight: 600;
}
.portal_footer .store_name a, .portal_footer .store_name a:hover {
    color: #fff;
}
.portal_footer .store_name img {
    height: 40px;
}
.portal_footer .address {
    color: #fff;
    font-size: 0.8rem;
    margin-top: 10px;
}
.portal_footer .list-group {
    margin-bottom: 7px;
}
.portal_footer .list-group-item {
    padding: 5px 7px;
    font-size: 0.9em;
    background-color: transparent;
    border: none;
}
.portal_footer .list-group-item a, .portal_footer .list-group-item a:hover {
    color: #fff;
}
.portal_footer .copyright {
    text-align: center;
    color: #fff;
    font-size: 0.7em;
    margin-top: 14px;
}


.page_title {
    font-size: 1.3em;
    color: #666;
    font-weight: 600;
    margin-top: 0.5em;
    margin-bottom: 0.5em;
}
.progressbar {
    display: flex;
    flex-wrap: wrap;
}
.progressbar .item {
    position: relative;
    width: 33%;
    text-align: center;
    position: relative;
    align-items: center;
    justify-content: center;
    height: 50px;
    padding-top: 5px;
    line-height: 20px;
    font-size: 0.8em;
    background: #F5F5F5;
    color: #999999;
}
.progressbar .item:not(:last-child)::before, .progressbar .item:not(:last-child)::after {
    position: absolute;
    z-index: 2;
    top: 0;
    bottom: 0;
    left: 100%;
    content: '';
    border: 25px solid transparent;
    border-left: 25px solid #F5F5F5;
    margin: auto;
}
.progressbar .item:not(:last-child)::before {
    margin-left: 1px;
    border-left-color: #FFF;
}
.progressbar .item.active {
    z-index: 1;
    background: #0070BD;
    color: #FFF;
}
.progressbar .item.active:not(:last-child)::after {
    border-left-color: #0070bd;
}
.progressbar .item.active:not(:last-child)::before {
    border-left: none;
}

.input_form .description {
    font-size: 0.8em;
    color: #555;
    text-align: left;
    margin-top: 20px;
    margin-bottom: 15px;
}
.input_form .comp_description {
    background-color: #fff;
    margin-top: 25px;
    margin-bottom: 25px;
    padding: 25px 10px;
    text-align: center;
    font-size: 1em;
    color: #555;
}
.input_form .input_section_title {
    font-size: 0.85em;
    font-weight: 600;
    color: #666;
    margin-bottom: 12px;
}
.input_form label {
    font-size: 0.8em;
    color: #333;
    margin-bottom: 0.3em;
}
.input_form .required {
    color: red;
    font-size: 0.7em;
    padding-left: 5px;
}
.input_form .input-group-text {
    background-color: #fff;
    border: none;
}
.bottom_buttons {
    margin-top: 25px;
    margin-bottom: 30px;
    text-align: center;
}
.bottom_buttons a {
    padding: 0;
    padding-top: 10px;
    padding-bottom: 10px;
    width: 170px;
    font-size: 1em;
    margin-left: 10px;
    margin-bottom: 10px;
}

.bottom_buttons .btn-light {
    border: 1px solid #dedede;
    background-color: #fff;
    border-radius: 18px;
    font-size: 0.9rem;
    color: #333;
}

/* SP用カートバッジ（共通設定）*/
.badge-cart{
    color: #fff;
    background:red;
    position:absolute;
    top: 0px;
    left: 0px;
}
.nav-item-badge{
    height: 38px;
}

/* タブレット用カートバッジ */
@media screen and (min-width:768px) {
    .badge-cart{
        top: 0px;
        left: 30px;
    }
    .nav-item-badge{
        max-height: 40px;
        width: 84px;
    }
}

/* PC用カートバッジ */
@media screen and (min-width:820px) {
    .badge-cart{
        top: 0px;
        left: 30px;
    }
    .nav-item-badge{
        max-height:50px;
        width: auto;
    }
}

/* サムネイル画像正方形に整形 */
.img_square {
    position: relative;
    width: 100%;
    padding-top: 100%;
}
.img_square img {
    position: absolute;
    width: 100%;
    height: 100%;
    top: 0;
    left: 0;
    object-fit: contain;
}


/* おすすめ度星表示 */
.star5_rating{
    position: relative;
    z-index: 0;
    display: inline-block;
    white-space: nowrap;
    color: #CCCCCC; /* グレーカラー 自由に設定化 */
    /*font-size: 30px; フォントサイズ 自由に設定化 */
}

.star5_rating:before, .star5_rating:after{
    content: '★★★★★';
}

.star5_rating:after{
    position: absolute;
    z-index: 1;
    top: 0;
    left: 0;
    overflow: hidden;
    white-space: nowrap;
    color: #ffcf32; /* イエローカラー 自由に設定化 */
}

.star5_rating[data-rate="5"]:after{ width: 100%; } /* 星5 */
.star5_rating[data-rate="4.9"]:after{ width: 98%; } 
.star5_rating[data-rate="4.8"]:after{ width: 96%; } 
.star5_rating[data-rate="4.7"]:after{ width: 94%; } 
.star5_rating[data-rate="4.6"]:after{ width: 92%; } 
.star5_rating[data-rate="4.5"]:after{ width: 90%; } /* 星4.5 */
.star5_rating[data-rate="4.4"]:after{ width: 88%; } 
.star5_rating[data-rate="4.3"]:after{ width: 86%; } 
.star5_rating[data-rate="4.2"]:after{ width: 84%; } 
.star5_rating[data-rate="4.1"]:after{ width: 82%; } 
.star5_rating[data-rate="4"]:after{ width: 80%; } /* 星4 */
.star5_rating[data-rate="3.9"]:after{ width: 78%; } 
.star5_rating[data-rate="3.8"]:after{ width: 76%; } 
.star5_rating[data-rate="3.7"]:after{ width: 74%; } 
.star5_rating[data-rate="3.6"]:after{ width: 72%; } 
.star5_rating[data-rate="3.5"]:after{ width: 70%; } /* 星3.5 */
.star5_rating[data-rate="3.4"]:after{ width: 68%; }
.star5_rating[data-rate="3.3"]:after{ width: 66%; } 
.star5_rating[data-rate="3.2"]:after{ width: 64%; } 
.star5_rating[data-rate="3.1"]:after{ width: 62%; } 
.star5_rating[data-rate="3"]:after{ width: 60%; } /* 星3 */
.star5_rating[data-rate="2.9"]:after{ width: 58%; } 
.star5_rating[data-rate="2.8"]:after{ width: 56%; } 
.star5_rating[data-rate="2.7"]:after{ width: 54%; } 
.star5_rating[data-rate="2.6"]:after{ width: 52%; } 
.star5_rating[data-rate="2.5"]:after{ width: 50%; } /* 星2.5 */
.star5_rating[data-rate="2.4"]:after{ width: 48%; }
.star5_rating[data-rate="2.3"]:after{ width: 46%; } 
.star5_rating[data-rate="2.2"]:after{ width: 44%; } 
.star5_rating[data-rate="2.1"]:after{ width: 42%; } 
.star5_rating[data-rate="2"]:after{ width: 40%; } /* 星2 */
.star5_rating[data-rate="1.9"]:after{ width: 38%; } 
.star5_rating[data-rate="1.8"]:after{ width: 36%; } 
.star5_rating[data-rate="1.7"]:after{ width: 34%; } 
.star5_rating[data-rate="1.6"]:after{ width: 32%; } 
.star5_rating[data-rate="1.5"]:after{ width: 30%; } /* 星1.5 */
.star5_rating[data-rate="1.4"]:after{ width: 28%; }
.star5_rating[data-rate="1.3"]:after{ width: 26%; } 
.star5_rating[data-rate="1.2"]:after{ width: 24%; } 
.star5_rating[data-rate="1.1"]:after{ width: 22%; } 
.star5_rating[data-rate="1"]:after{ width: 20%; } /* 星1 */
.star5_rating[data-rate="0.9"]:after{ width: 18%; } 
.star5_rating[data-rate="0.8"]:after{ width: 16%; } 
.star5_rating[data-rate="0.7"]:after{ width: 14%; } 
.star5_rating[data-rate="0.6"]:after{ width: 12%; } 
.star5_rating[data-rate="0.5"]:after{ width: 10%; } /* 星0.5 */
.star5_rating[data-rate="0.4"]:after{ width: 18%; }
.star5_rating[data-rate="0.3"]:after{ width: 16%; } 
.star5_rating[data-rate="0.2"]:after{ width: 14%; } 
.star5_rating[data-rate="0.1"]:after{ width: 12%; } 
.star5_rating[data-rate="0"]:after{ width: 0%; } /* 星0 */
.star5_rating[data-rate=""]:after{ width: 0%; } /* null */

.ck-content img {
    max-width: 100% !important;
}