/*--------------------------------------------------------
画面配置
--------------------------------------------------------*/
.product-list-area {
    width: 100%;
    display: flex;
}

.product-list {
    width: 70%;
    padding-right: 30px;
}

.product-list[wishlist] {
    width: 100%;
    padding-right: 0;
}

.product-search {
    width: 30%;
    height: fit-content;
    padding: 1em;
    border: solid 1px #ccc;
    border-radius: 5px;
}

@media only screen and (max-width: 930px) {
    .product-list-area {
        display: block;
    }

    .product-list {
        width: 100%;
        padding-right: 0;
    }

    .product-search {
        width: 100%;
    }
}


/*--------------------------------------------------------
絵画一覧
--------------------------------------------------------*/
.post-flex {
    margin: 0 auto;
    display: flex;
    flex-wrap: wrap;
    gap: 30px;
}

.post-flex .post-item {
    padding: 15px 10px 10px;
    width: calc((100% - 20px * 3) / 3);
    max-width: 220px;
    display: flex;
    justify-content: flex-end;
    align-items: center;
    flex-flow: column;
    background: #f9f8f5;
    border-radius: 5px;
    position: relative;
}

.product-list[wishlist] .post-flex .post-item {
    width: calc((100% - 20px * 4) / 4);
}

@media only screen and (max-width: 930px) {
    .post-flex .post-item {
        margin: 0 auto;
    }

    .post-flex .post-item,
    .product-list[wishlist] .post-flex .post-item {
        width: calc((100% - 20px * 2) / 2);
    }
}

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

    .post-flex .post-item,
    .product-list[wishlist] .post-flex .post-item {
        width: calc((100% - 20px) / 1);
    }
}

.post-item .eye-catch {
    aspect-ratio: 1 / 1;
    width: 100%;
    max-width: 160px;
    overflow: hidden;
    background-size: contain;
    background-repeat: no-repeat;
    background-position: bottom center;
    margin-bottom: .5em;
}

.post-item .eye-catch a {
    display: block;
    width: 100%;
    height: 100%;
}

.post-item p {
    margin: 0;
}

.post-item a {
    color: #333;
}

.post-item .wish {
    position: absolute;
    bottom: .6em;
    right: .6em;
    padding: 7px;
    background: rgba(220, 220, 220, .5);
    border-radius: 50%;
    display: flex;
    justify-content: center;
    align-items: center;
    cursor: pointer;
}

.rental-using {
    position: absolute;
    top: 0;
    left: 0;
    padding: 5px 7px;
    color: #fff;
    font-size: 12px;
    font-weight: bold;
    background: rgba(100, 70, 70, .3);
    border-radius: 5px 0 0 0;
}

/* ページャー */
.pager {
    clear: both;
    margin: 5em auto 4em;
    text-align: center;
}

a.page-numbers,
.pager .current {
    display: inline-block;
    color: #493009;
    background: #f0e6d7;
    border: solid 1px #dbcdba;
    border-radius: 2px;
    padding: 7px 11px;
    margin: 7px 3px;
    vertical-align: middle;
}

.pager .current {
    background: #ddc49f;
    border: solid 1px #c8ae8a;
    color: #fff;
}

.pager a:hover {
    color: #fff;
    background: #ddc49f;
    border: solid 1px #c8ae8a;
}

.pager .next,
.pager .prev {
    font-size: 9px;
    padding: 12px 10px;
}

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

    a.page-numbers,
    .pager .current {
        padding: 6px 8px;
    }
}


/*--------------------------------------------------------
お気に入り
--------------------------------------------------------*/
.wish .heart {
    transition: transform .2s ease;
}

.wish .heart.active path {
    fill: #ff8e8e;
}

.wish .heart.active.animate {
    animation: bounce 0.3s ease;
}

@keyframes bounce {
    0% {
        transform: scale(1);
    }

    30% {
        transform: scale(1.3);
    }

    60% {
        transform: scale(0.9);
    }

    100% {
        transform: scale(1);
    }
}

.product-list[wishlist] .shopping_cart {
    margin: 0 auto 2em;
    width: 100px;
    aspect-ratio: 1/1;
    overflow: hidden;
    background-size: contain;
    background-repeat: no-repeat;
    background-position: bottom center;
    filter: invert(35%) sepia(65%) saturate(100%) hue-rotate(30deg) brightness(170%) contrast(100%);
}

.unregistered-user {
    margin: 3em 0 1em;
    padding: 25px 25px 15px;
    border: solid 1px #ccc;
    border-radius: 5px;
}

.unregistered-user-content p {
    margin-bottom: .7em;
}

.unregistered-user-content ul {
    margin: 0 0 1em 1.25em;
}

.unregistered-user-content li {
    position: relative;
}

.unregistered-user-content li::marker {
    content: '';
}

.unregistered-user-content li::before {
    position: absolute;
    content: '';
    top: .5em;
    left: -1em;
    width: 5px;
    height: 5px;
    background: #ddc49f;
    border-radius: 25%;
}

.unregistered-user-links {
    text-align: right;
    color: #ddc49f;
}

@media only screen and (max-width: 480px) {
    .unregistered-user {
        padding: 25px 15px 15px;
    }
}


/*--------------------------------------------------------
絞り込み機能
--------------------------------------------------------*/
.product-search p {
    margin-bottom: .5em;
}

.product-search input[type=text],
.product-search select {
    width: 100%;
    padding: 8px 10px;
    margin-bottom: 10px;
    font-size: 16px;
    background: #fff;
    border: 1px solid #ddd;
    border-radius: 5px;
    box-shadow: none;
    outline: none;
    transition: .3s;
}

.product-search input::placeholder {
    color: #aaa;
}

.product-search select {
    padding: 10px;
    color: #333;
}

.product-search label {
    display: inline-block;
    white-space: nowrap;
    margin-right: 15px;
    margin-bottom: 10px;
    font-size: .9em;
}

.product-search .search-btn-erea {
    display: flex;
    justify-content: space-between;
}

.product-search .user-send-btn {
    color: #fff;
    font-size: .85em;
    background: #ddc49f;
    border-radius: 5px;
    outline: none;
}

.product-search .user-send-btn.reset {
    background: #ccc;
}


/*--------------------------------------------------------
作品ページ
--------------------------------------------------------*/
/*表示幅*/
.right-sidebar .content-area {
    width: 100%;
    float: none;
    margin-right: 0;
}

.right-sidebar .widget-area {
    display: none;
    float: none;
}

/*レイアウト*/
.product-item {
    display: flex;
    justify-content: space-between;
    margin-top: 2em;
}

/*イメージ*/
.product-item .eye-catch {
    width: 100%;
    max-width: 450px;
    height: fit-content;
    position: relative;
}

.product-item .eye-catch img {
    width: 100%;
}

.product-item .eye-catch .wish,
.product-item .eye-catch .icon-zoom {
    padding: 7px;
    background: rgba(250, 250, 250, .5);
    border-radius: 50%;
    display: flex;
    justify-content: center;
    align-items: center;
    cursor: pointer;
}

.product-item .eye-catch .wish {
    position: absolute;
    bottom: -.7em;
    right: .7em;
    padding: 8px;
}

.product-item .eye-catch .icon-zoom {
    position: absolute;
    bottom: -.7em;
    left: .7em;
    padding: 9px;
}

/*基本情報*/
.product-item .product-excerpt {
    width: 100%;
    max-width: 550px;
    height: fit-content;
    padding-left: 2em;
    line-height: 2;
}

.product-title {
    font-size: 2em;
}

.product-excerpt select {
    width: 100%;
    padding: 8px 10px;
    margin-bottom: 10px;
    font-size: 16px;
    background: #fff;
    border: 1px solid #ddd;
    border-radius: 5px;
    box-shadow: none;
    outline: none;
    transition: .3s;
}

.product-excerpt button.user-send-btn {
    margin: 0 auto;
    color: #fff;
    background: #ddc49f;
    border-radius: 5px;
    font-size: .9em;
    outline: none;
}

.product-excerpt button.user-send-btn.rental {
    color: #ddc49f;
    background: none;
    border: solid 1px #ddc49f;
    cursor: auto;
}

.product-excerpt div.user-send-btn {
    width: fit-content;
}

.product-excerpt div.user-send-btn a {
    display: block;
    padding: 7px 23px;
    font-size: .9em;
    font-weight: bold;
    color: #fff;
    background: #ddc49f;
    border-radius: 5px;
}

/*詳細情報*/
.product-main-content {
    margin-top: 2.5em;
}

.creator-data {
    font-size: 1.3em;
    margin-bottom: 1em;
    padding: 0 0 10px;
    border-bottom: solid 1px #ddc49f;
}

/*拡大表示*/
.zoom-img {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100vh;
    height: 100dvh;
    padding: 70px;
    background: #fff;
    transition: .3s;
    overflow-y: scroll;
    opacity: 0;
    z-index: -1;
}

.zoom-img.active {
    opacity: 1;
    z-index: 3;
}

.zoom-img .zoom-close {
    position: absolute;
    top: 0;
    right: 25px;
    font-size: 50px;
    cursor: pointer;
}

.zoom-img img {
    margin: 0 auto;
    width: 100%;
    height: auto;
    box-shadow: 7px 15px 35px rgba(100, 100, 100, .3),
        -7px 15px 35px rgba(100, 100, 100, .3);
}

/* 外スクロールバー表示維持 */
body.active {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    overflow-y: scroll;
    width: 100%;
}

/*内スクロールバー非表示*/
.zoom-img::-webkit-scrollbar {
    pointer-events: none;
}

/*メッセージ*/
.cart_message {
    position: fixed;
    top: 50%;
    transform: translateY(-50%);
    left: 0;
    width: 100%;
    height: 100px;
    display: flex;
    justify-content: center;
    align-items: center;
    font-weight: bold;
    color: #fff;
    background: rgba(30, 30, 30, .3);
    transition: .3s;
    opacity: 0;
    z-index: 0;
}

.cart_message.active {
    opacity: 1;
    z-index: 1;
}

@media only screen and (max-width: 800px) {
    .product-item {
        display: block;
    }

    .product-item .eye-catch {
        max-width: 800px;
    }

    .product-item .product-excerpt {
        max-width: 800px;
        margin-top: 1.5em;
        padding-left: 0;
    }

    .product-title {
        font-size: 1.7em;
    }

    .zoom-img {
        padding: 70px 1em;
    }

}


/*--------------------------------------------------------
カート
--------------------------------------------------------*/
.cart-item-label {
    width: 100%;
    display: flex;
    padding: 0 0 10px;
}

.cart-item-label-child {
    width: calc(100% / 3);
    max-width: 400px;
    display: flex;
    justify-content: space-around;
}

@media only screen and (max-width: 800px) {
    .cart-item-label {
        display: none;
    }

}

/*カートあり*/
.cart-item {
    width: 100%;
    display: flex;
    border-top: solid 1px #ccc;
    padding: 20px 0;
}

.cart-item a {
    color: #333;
}

.cart-item:last-child {
    border-bottom: solid 1px #ccc;
}

.cart-item .cart-item-child {
    display: flex;
    width: calc(100% / 3);
}

.cart-item .cart-item-child:not(:first-child) {
    justify-content: space-around;
}

.cart-item .item-img {
    width: 100px;
    aspect-ratio: 5/3;
    margin-right: 1.5em;
}

.cart-item .item-img img {
    display: block;
    margin: 0 auto;
    width: auto;
    height: 100%;
}

.cart-item-rental a {
    display: block;
    padding: 5px 15px;
    font-size: .8em;
    color: #dab788;
    background: #fff;
    border: solid 1px #dab788;
    border-radius: 5px;
}

.cart-item-rental a:hover {
    color: #fff;
    background: #dab788;
}

.cart-item-trash {
    width: 25px;
    overflow: hidden;
    background-image: url(../img/trash.svg);
    background-size: contain;
    background-repeat: no-repeat;
    background-position: 50% 15%;
    filter: invert(95%) sepia(30%) saturate(150%) hue-rotate(345deg) brightness(80%) contrast(100%);
    cursor: pointer;
}

@media only screen and (max-width: 800px) {
    .cart-item {
        display: block;
    }

    .cart-item .cart-item-child {
        width: 100%;
        padding: 0 0 10px;
    }

    .cart-item .cart-item-child:not(:first-child) {
        justify-content: space-between;
        padding: .5em .7em;
    }

    .cart-item .item-img {
        margin-right: .5em;
    }

    .cart-item-trash {
        background-position: 50% 50%;
    }

}

/*カートになし*/
.cart-list:not([order]) p {
    text-align: center;
}

.cart-list .shopping_cart {
    margin: 0 auto 2em;
    width: 100px;
    aspect-ratio: 1/1;
    overflow: hidden;
    background-size: contain;
    background-repeat: no-repeat;
    background-position: bottom center;
    filter: invert(84%) sepia(30%) saturate(150%) hue-rotate(345deg) brightness(120%) contrast(80%);
}

.cart-list .user-send-btn a {
    display: block;
    margin: 0 auto;
    width: 100%;
    max-width: 300px;
    padding: 10px 35px;
    color: #333;
    text-align: center;
    border: solid 1px #333;
    border-radius: 5px;
}

.cart-list .user-send-btn a:hover {
    color: #fff;
    background: #333;
}


/*--------------------------------------------------------
申し込み
--------------------------------------------------------*/
.order-list {
    width: 100%;
    padding: 1em 0 1.5em;
    display: flex;
    justify-content: space-between;
    border: solid 1px #ccc;
    border-radius: 5px;
}

.order-data {
    width: 100%;
    max-width: 450px;
    padding: 1em 1em 0;
    margin: 0 auto 5px;
}

/*申し込み内容*/
.order-list .cart-item-child:nth-of-type(4) {
    margin-bottom: 2em;
}

.order-list .cart-item-child .item-img {
    width: 30%;
}

.order-list .cart-item-child .item-name {
    width: 70%;
    padding-left: 15px;
}

/*入力内容*/
.order-data .cart-item-child {
    width: 100%;
    display: flex;
    justify-content: space-between;
    margin-bottom: 5px;
}

.order-data .cart-item-child:nth-of-type(1) {
    margin-bottom: 1em;
}

/* 配送先、利用規約 */
.agreement,
.shipping {
    margin: 2em 0;
}

.shipping-address {
    height: 0;
    overflow: hidden;
    transition: .3s;
}

/* ボタン */
.order-data .btn-erea {
    display: flex;
    justify-content: space-between;
    align-items: start;
    margin: 2em 0 0;
}

.order-data .btn-erea .user-form-send {
    margin: 0;
    width: 100%;
    font-size: .85em;
    cursor: no-drop;
    opacity: .7;
}

.order-data .btn-erea .user-form-send.active {
    cursor: pointer;
    opacity: 1;
}

.order-data .btn-erea div.user-send-btn {
    width: 100%;
    padding-right: 15px;
}

.order-data .btn-erea div.user-send-btn a {
    display: block;
    padding: 13px 23px;
    font-size: .85em;
    font-weight: bold;
    color: #fff;
    background: #ddc49f;
    border-radius: 5px;
    text-align: center;
}

@media only screen and (max-width: 800px) {
    .order-list {
        display: block;
    }

    .order-data .btn-erea button {
        padding: 10px;
        font-size: .8em;
    }

    .order-data .btn-erea div.user-send-btn a {
        padding: 10px 23px;
        font-size: .8em;
    }
}


/*--------------------------------------------------------
プロフィール編集や契約更新
--------------------------------------------------------*/
/*マイページ*/
.mypage-menu {
    margin-bottom: 1em;
}

.mypage-menu a {
    display: block;
    padding: 5px 15px;
    width: fit-content;
    font-size: .9em;
    color: #dab788;
    background: #fff;
    border: solid 1px #dab788;
    border-radius: 5px;
}

.mypage-menu a:hover {
    color: #fff;
    background: #dab788;
}

.mypage-menu-description {
    font-size: .9em;
    margin-bottom: 2em;
}

/*契約更新*/
.contract_change,
.contract_end {
    display: none;
}

.contract_change.active,
.contract_end.active {
    display: block;
}

.user-form-send[change_period] {
    opacity: 1 !important;
    cursor: pointer !important;
}

.status {
    display: inline-block;
    font-size: .85em;
    width: 120px;
}