@charset "UTF-8";

/* -----------------------------------------------------------------------
## review ##################################################
----------------------------------------------------------------------- */

.cmn-reviewForm {
    padding: 30px 30px 44px;
    background: #f5f5f5;
}

.cmn-reviewForm .cmn-errorBox#error {
    /*margin-top: 0;*/
}

.cmn-reviewFormArea {
    width: 700px;
    max-width: 100%;
    margin: 0 auto;
}

.cmn-reviewForm_ttl {
    font-size: 1.5rem;
    padding-bottom: 30px;
    font-weight: 500;
    text-align: center;
}

.cmn-reviewForm_ttl > span {
    font-size: 1rem;
    font-weight: normal;
}

.cmn-reviewForm_lede {}

.cmn-reviewForm_lede a {
    text-decoration: underline;
    color: var(--textLink-color);
}

.cmn-reviewForm_lede a:hover {
    text-decoration: none;
}

.cmn-reviewForm .cmn-submitBtns {
    margin-top: 20px;
}

.cmn-reviewForm .cmn-btn01 button {
    background: var(--btn-red) !important;
}

.cmn-reviewFormBox {
    margin-bottom: 20px;
}

.cmn-reviewFormBox_ttl:nth-of-type(n+2) {
    margin-top: 20px;
}

.cmn-reviewFormBox_body {
    margin-top: 5px;
}


.cmn-reviewFormBox_body input[type="text"],
.cmn-reviewFormBox_body textarea {
    width: 100%;
}

.cmn-reviewFormBox_body textarea {
    height: 180px;
}

@media screen and (max-width: 1024px) {

    .cmn-reviewForm {
        padding: 20px 20px 30px;
    }

    .cmn-reviewForm_ttl {
        font-size: 1.125rem;
        padding-bottom: 10px;
    }

    .cmn-reviewForm_lede {}

    .cmn-reviewForm_lede a:hover {
        text-decoration: underline;
    }

    .cmn-reviewFormBox {
        display: block;
    }

    .cmn-reviewFormBox_ttl {
        width: 100%;
    }

    .cmn-reviewFormBox_comment textarea {
        height: 140px;
    }

}


/*review star*/
.cmn-reviewFormBox_stars {
    position: relative;
    width: 170px;
    height: 30px;
    display: block;
    background: url(../img/common/review-star00.svg) no-repeat;
    background-size: 170px;
}

.cmn-reviewFormBox_stars .HTMLFORM_ELEMENT {
    position: absolute;
    width: 170px;
    height: 30px;
    left: 0;
    top: 0;
}

.cmn-reviewFormBox_stars .HTMLFORM_ELEMENT input {
    display: block;
    opacity: 0;
    width: 30px;
    height: 30px;
    position: absolute;
    z-index: 2;
    right: 0;
    top: 0;
}

.cmn-reviewFormBox_stars .HTMLFORM_ELEMENT input:hover {
    cursor: pointer;
}

.cmn-reviewFormBox_stars .HTMLFORM_ELEMENT label {
    position: absolute;
    font-size: 0;
    height: 30px;
    display: block;
    top: 0;
    left: 0;
}

.cmn-reviewFormBox_stars .HTMLFORM_ELEMENT label:before {
    content: "";
    display: block;
    width: 100%;
    height: 30px;
    position: absolute;
    left: 0;
    top: 0;
    background-size: 170px;
}

.cmn-reviewFormBox_stars .HTMLFORM_ELEMENT input:checked + label:before {
    width: 100%;
}

.cmn-reviewFormBox_stars .HTMLFORM_ELEMENT:nth-child(1) label,
.cmn-reviewFormBox_stars .HTMLFORM_ELEMENT:nth-child(1) {
    width: 30px;
}

.cmn-reviewFormBox_stars .HTMLFORM_ELEMENT:nth-child(1) input:hover + label:before,
.cmn-reviewFormBox_stars .HTMLFORM_ELEMENT:nth-child(1) input:checked + label:before {
    background: url(../img/common/review-star01.svg) no-repeat;
}

.cmn-reviewFormBox_stars .HTMLFORM_ELEMENT:nth-child(2) label,
.cmn-reviewFormBox_stars .HTMLFORM_ELEMENT:nth-child(2) {
    width: 65px;
}

.cmn-reviewFormBox_stars .HTMLFORM_ELEMENT:nth-child(2) input:hover + label:before,
.cmn-reviewFormBox_stars .HTMLFORM_ELEMENT:nth-child(2) input:checked + label:before {
    background: url(../img/common/review-star02.svg) no-repeat;
}

.cmn-reviewFormBox_stars .HTMLFORM_ELEMENT:nth-child(3) label,
.cmn-reviewFormBox_stars .HTMLFORM_ELEMENT:nth-child(3) {
    width: 100px;
}

.cmn-reviewFormBox_stars .HTMLFORM_ELEMENT:nth-child(3) input:hover + label:before,
.cmn-reviewFormBox_stars .HTMLFORM_ELEMENT:nth-child(3) input:checked + label:before {
    background: url(../img/common/review-star03.svg) no-repeat;
}

.cmn-reviewFormBox_stars .HTMLFORM_ELEMENT:nth-child(4) label,
.cmn-reviewFormBox_stars .HTMLFORM_ELEMENT:nth-child(4) {
    width: 135px;
}

.cmn-reviewFormBox_stars .HTMLFORM_ELEMENT:nth-child(4) input:hover + label:before,
.cmn-reviewFormBox_stars .HTMLFORM_ELEMENT:nth-child(4) input:checked + label:before {
    background: url(../img/common/review-star04.svg) no-repeat;
}

.cmn-reviewFormBox_stars .HTMLFORM_ELEMENT:nth-child(5) label,
.cmn-reviewFormBox_stars .HTMLFORM_ELEMENT:nth-child(5) {
    width: 170px;
}

.cmn-reviewFormBox_stars .HTMLFORM_ELEMENT:nth-child(5) input:hover + label:before,
.cmn-reviewFormBox_stars .HTMLFORM_ELEMENT:nth-child(5) input:checked + label:before {
    background: url(../img/common/review-star05.svg) no-repeat;
}

/*review confirm*/
#starCount {
    position: relative;
    width: 170px;
    height: 30px;
    display: block;
    background-size: 170px;
    font-size: 0;
}

#starCount.star_1 {
    background: url(../img/common/review-star01.svg) no-repeat;
}

#starCount.star_2 {
    background: url(../img/common/review-star02.svg) no-repeat;
}

#starCount.star_3 {
    background: url(../img/common/review-star03.svg) no-repeat;
}

#starCount.star_4 {
    background: url(../img/common/review-star04.svg) no-repeat;
}

#starCount.star_5 {
    background: url(../img/common/review-star05.svg) no-repeat;
}

.itemscope + #review{
    border-top:1px solid #ccc;
}