#root .l-iframe__inner {
    padding: 5px 1px;
}

#root .p-category__inner {
    display: flex;
    justify-content: space-between;
}

#root .p-category__inner+.p-category__inner {
    margin-top: 60px;
}

#root .p-category__head {
    width: 133px;
    font-size: 24px;
    font-weight: 600;
    position: relative;
    margin-bottom: inherit;
    line-height: inherit;
}

#root .p-category__head::after {
    content: "";
    display: block;
    width: 1px;
    height: 100%;
    background: #000;
    position: absolute;
    right: 0;
    top: 0;
}

#root .p-category__subhead {
    font-size: 16px;
}

#root .p-item__inner {
    display: flex;
    justify-content: flex-start;
    flex-wrap: wrap;
    width: 1031px;
}

#root .p-item__cotnent {
    width: 239px;
    display: flex;
    margin-right: 25px;
}

#root .p-item__cotnent:nth-child(4n) {
    margin-right: 0;
}

#root .p-item__cotnent:nth-child(n + 5) {
    margin-top: 40px;
}

#root .l-label__inner {
    position: relative;
    box-shadow: 0px 0px 8px #0000002E;
    height: fit-content;
    transition: all 0.4s;
    outline: 0px solid #d9a634;
    outline-offset: -1px;
}

#root .l-label__inner::before,
#root .l-label__inner::after {
    content: "";
    display: block;
    width: 15px;
    height: 15px;
    position: absolute;
    top: 6px;
    left: 6px;
    border-radius: 1px;
    transition: 0.3s;
    box-sizing: content-box;
}

#root .l-label__inner::before {
    border: 1px solid #000;
}

#root .l-label__inner::after {
    width: 4px;
    height: 8px;
    transform: rotate(43deg);
    top: 8px;
    left: 11.5px;
    border-right: 2px solid #fff;
    border-bottom: 2px solid #fff;
    opacity: 0;
}

#root .l-label__inner:hover {
    box-shadow: 0px 0px 0px #0000002E;
    opacity: 0.6;
}

#root .l-label__checkbox {
    display: none;
}

#root .l-label__checkbox:checked~.l-label__inner {
    box-shadow: 0px 0px 0px #0000002E;
    outline: 1px solid #d9a634;
}

#root .l-label__checkbox:checked~.l-label__inner::before {
    background: #d9a634;
    border: 1px solid #d9a634;
}

#root .l-label__checkbox:checked~.l-label__inner::after {
    opacity: 1;
}

#root .l-label_image {
    width: 85px;
}

#root .p-item__text {
    margin: 0 0 0 15px;
}

#root .p-item__num {
    font-size: 20px;
    font-weight: bold;
    line-height: 1.6;
    margin-bottom: 3px;
}

#root .p-item__popup {
    position: relative;
    font-size: 14px;
    font-weight: 600;
    line-height: 1.5;
    padding-left: 17px;
    text-decoration: underline;
    cursor: pointer;
}

#root .p-item__name {
    position: relative;
    font-size: 14px;
    font-weight: 600;
    line-height: 1.5;
    padding-left: 17px;
    cursor: pointer;
}

#root .p-item__popup::before {
    content: "";
    display: block;
    width: 13px;
    height: 13px;
    position: absolute;
    top: 2px;
    left: -1px;
    background: url(/img/icon_link_arrow.svg) no-repeat;
    background-size: contain;
}

#root .p-item__name::before {
    content: "";
    display: block;
    width: 13px;
    height: 13px;
    position: absolute;
    top: 2px;
    left: -1px;
    background: url(/img/icon_link_arrow.svg) no-repeat;
    background-size: contain;
}

#root .p-item__popup:hover {
    text-decoration: none;
    opacity: 0.6;
}

#root .p-item__popup:hover::before {
    background-image: url(/img/icon_link_arrow_hover.svg);
}

#root .p-item__name:hover::before {
    background-image: url(/img/icon_link_arrow_hover.svg);
}

#root .p-item__detail {
    font-size: 10px;
    line-height: 1.5;
    font-weight: 300;
    margin: 6px 0 0 17px;
}

#root .l-display__pc {
    min-width: 85px;
    min-height: 120px;
    max-width: 85px;
    max-height: 120px;
    object-fit: contain;
    background: #FFF;
}

#root .l-display__sp {
    display: none;
}

@media screen and (max-width: 767px) {
    #root .p-category__inner {
        flex-wrap: wrap;
    }

    #root .p-category__inner+.p-category__inner {
        margin-top: 33px;
    }

    #root .p-category__head {
        width: 100%;
        position: relative;
        text-align: center;
        font-size: 16px;
        margin-bottom: 11px;
    }

    #root .p-category__head>span {
        background: #fff;
        position: relative;
        padding: 0 15px;
        z-index: 1;
    }

    #root .p-category__head::after {
        width: 100%;
        height: 1px;
        top: 50%;
    }

    #root .p-category__head br {
        display: none;
    }

    #root .p-item__cotnent {
        width: calc((100% - 30px) / 3);
        margin-right: 15px;
        justify-content: center;
        align-content: baseline;
        flex-wrap: wrap;
    }

    #root .p-item__cotnent:nth-child(4n) {
        margin-right: 15px;
    }

    #root .p-item__cotnent:nth-child(3n) {
        margin-right: 0;
    }

    #root .p-item__cotnent:nth-child(n + 5) {
        margin-top: initial;
    }

    #root .p-item__cotnent:nth-child(n + 4) {
        margin-top: 23px;
    }

    #root .l-label_image {
        width: 100%;
    }

    #root .l-label__inner::before,
    #root .l-label__inner::after {
        width: 10px;
        height: 10px;
        top: 3px;
        left: 3px;
    }

    #root .l-label__inner::after {
        width: 3px;
        height: 5.5px;
        top: 5px;
        left: 7px;
        border-right: 1px solid #fff;
        border-bottom: 1px solid #fff;
    }

    #root .l-label__inner:hover {
        box-shadow: 0px 0px 8px #0000002E;
        opacity: 1;
    }

    #root .p-item__text {
        margin: 5px 0 0 0;
        width: 100%;
    }

    #root .p-item__popup br {
        display: none;
    }

    #root .p-item__num {
        font-size: 14px;
        line-height: 1;
        margin-bottom: 1px;
    }

    #root .l-display__pc {
        display: none;
    }
    
    #root .l-display__sp {
        display: block !important;
        object-fit: contain;
        background: #FFF;
    }

    #root .p-item__popup {
        font-size: 10px;
        white-space: nowrap;
        overflow: hidden;
        text-overflow: ellipsis;
        padding-left: 14px;
    }

    #root .p-item__popup::before {
        width: 11px;
        height: 11px;
        top: 1px;
        left: 1px;
        background-size: 10px;
        background-position: 50%;
    }

    #root .p-item__popup:hover {
        text-decoration: underline;
        opacity: 1;
    }

    #root .p-item__popup:hover::before {
        background-image: url(/img/icon_link_arrow.svg);
    }

    #root .p-item__detail {
        font-size: 9px;
        margin: 2px 0 0 14px;
    }

    #root .c-message{
        font-size: 14px !important;
    }
    
    #root .c-lead{
        font-size: 14px !important;
    }
    
    #root .c-message_after{
        padding-top: 15px !important;
    }
}

@supports (-webkit-line-clamp: 2) {
    #root .p-item__detail {
        display: -webkit-box;
        overflow: hidden;
        -webkit-line-clamp: 2;
        -webkit-box-orient: vertical;
    }
}

#root .wrapper {
    width: 1000px;
    max-width: 100%;
    margin: 0 auto;
}

#root .p-note_list{
    margin-top: 34px;
    font-size: 11px;
}

#root .c-message{
    font-size: 18px;
    font-weight: 300;
    line-height: 1.7;
    text-align: center;
}

#root .c-lead{
    font-size: 18px;
    font-weight: 300;
    margin-bottom: 0;
    line-height: 1.7;
    text-align: center;
}

#root .c-message_after{
    padding-top: 50px;
}

/** ここから画像の仮style*/
#root .img-display__pc{
    display: block;
    margin-bottom: 20px;
}
#root .img-display__sp{
    display: none;
    margin-bottom: 20px;
}
#root .iframe_image__pc{
    width: 100%;
}
#root .iframe_image__sp{
    width: 100%;
}
#root .estimation_image__pc{
    width: 100%;
}
#root .estimation_image__sp{
    width: 100%;
}

/** iframe割引用画像表示用 */
#root figure {
    line-height: 0;
}
#root .p-discount {
    width: 100%;
}
#root .p-discount .p-discount-img {
    margin-bottom: 36px;
}
#root .p-discount .p-discount-img picture {
    margin-bottom: 16px;
}
#root .p-discount .p-discount-img picture, #root .p-discount .p-discount-img picture img {
    display: block;
    width: 100%;
    height: auto;
}
#root audio, #root canvas, #root iframe, #root img, #root svg, #root video {
    vertical-align: top;
}
#root img {
    max-width: 100%;
}
#root .p-discount .p-discount-img figcaption {
    font-size: 12px;
    line-height: 18px;
    text-align: center;
}

  
@media screen and (max-width: 767px) {
    #root .img-display__pc{
        display: none;
    }
    #root .img-display__sp{
        display: block;
    }

    /** iframe割引用画像表示用 */
    #root .p-discount .p-discount-img {
        margin-bottom: 24px;
    }
    #root .p-discount .p-discount-img picture {
        margin-bottom: 8px;
    }
    #root .p-discount .p-discount-img figcaption {
        text-align: left;
        padding-left: 12px;
    }
}

#root h1, #root h2, #root h3, #root h4, #root h5, #root h6 {
    font-size: 100%;
    font-weight: normal;
}