@charset "UTF-8";

/*!
Theme Name: Cocoon Child
Description: Cocoon専用の子テーマ
Theme URI: https://wp-cocoon.com/
Author: わいひら
Author URI: https://nelog.jp/
Template:   cocoon-master
Version:    1.1.3
*/

/************************************
** 子テーマ用のスタイルを書く
************************************/
/*必要ならばここにコードを書く*/
/* セール商品一覧 */
.sale-item {
    display: flex;
    gap: 12px;
    padding: 16px 0;
    border-bottom: 1px solid #eee;
    align-items: flex-start;
}

.sale-item img {
    width: 120px;
    min-width: 120px;
    height: auto;
    object-fit: cover;
}

.price-wrap {
    display: flex;
    align-items: center;
    gap: 8px;
    flex-wrap: wrap;
    margin: 4px 0;
}

.list-price {
    color: #888;
    text-decoration: line-through;
    font-size: 12px;
}

.sale-price {
    color: #e44;
    font-weight: bold;
    font-size: 14px;
}

.discount-badge {
    background: #e44;
    color: #fff;
    font-size: 12px;
    font-weight: bold;
    padding: 2px 6px;
    border-radius: 3px;
}

.sale-title {
    font-size: 14px;
    font-weight: bold;
    color: #333;
    text-decoration: none;
    line-height: 1.4;
    display: block;
}

.sale-thumb {
    width: 120px;
    min-width: 120px;
    height: auto;
}

.sale-item-info {
    flex: 1;
    display: flex;
    flex-direction: column;
    gap: 6px;
}

.sale-item-info a:first-child {
    font-size: 14px;
    font-weight: bold;
    color: #333;
    text-decoration: none;
    line-height: 1.4;
}

.sale-item-info a:first-child:hover {
    color: #c00;
}


.campaign-title {
    font-size: 13px;
    color: #e44;
    font-weight: bold;
    margin: 0;
}

.campaign-end {
    font-size: 12px;
    color: #888;
    margin: 0;
}

/* Fanzaでチェックボタン */
.buy-btn {
    display: inline-block;
    background: #e44;
    color: #fff !important;
    padding: 8px 16px;
    border-radius: 4px;
    font-size: 13px;
    font-weight: bold;
    text-decoration: none !important;
    text-align: center;
    align-self: flex-start;
    margin-top: 4px;
}

.buy-btn:hover {
    background: #c00;
    color: #fff !important;
}

/* ページネーション */
.sale-pagination {
    display: flex;
    justify-content: center;
    gap: 8px;
    margin: 24px 0;
    flex-wrap: wrap;
}

.sale-pagination a,
.sale-pagination span {
    display: inline-block;
    padding: 6px 12px;
    border: 1px solid #ddd;
    border-radius: 4px;
    font-size: 13px;
    color: #333;
    text-decoration: none;
}

.sale-pagination a:hover {
    background: #e44;
    color: #fff;
    border-color: #e44;
}

.sale-pagination .current {
    background: #e44;
    color: #fff;
    border-color: #e44;
}

.campaign-period {
    border-top: 3px solid #e84393;
    padding: 16px 0;
    margin-bottom: 24px;
}

.period-title {
    font-size: 16px;
    font-weight: bold;
    margin: 0 0 12px;
    color: #333;
}

.period-date {
    font-size: 14px;
    margin: 0 0 6px;
    color: #333;
    text-align: center;
}

.period-status {
    font-size: 14px;
    margin: 0;
    color: #555;
    text-align: center;
}

.period-days {
    color: #e84393;
    font-weight: bold;
    font-size: 18px;
}

.campaign-period.ended .period-status {
    color: #999;
}


/************************************
** レスポンシブデザイン用のメディアクエリ
************************************/
/*1023px以下*/
@media screen and (max-width: 1023px){
  /*必要ならばここにコードを書く*/
}

/*834px以下*/
@media screen and (max-width: 834px){
  /*必要ならばここにコードを書く*/
}

/* モバイル対応 */
@media (max-width: 600px) {
    .sale-item img {
        width: 80px;
        min-width: 80px;
    }

    .sale-item-info a:first-child {
        font-size: 13px;
    }
}

/*480px以下*/
@media screen and (max-width: 480px){
  /*必要ならばここにコードを書く*/
}

