@charset "UTF-8";
/*
    Template: swell
    Theme Name: SWELL CHILD
    Theme URI: https://swell-theme.com/
    Description: SWELLの子テーマ
    Version: 1.0.0
    Author: LOOS WEB STUDIO
    Author URI: https://loos-web-studio.com/

    License: GNU General Public License
    License URI: http://www.gnu.org/licenses/gpl.html
*/

/* トップページ:商品スライダー */
/* スライダー全体のコンテナ（枠線付き） */
.swiper-container-wrapper {
    max-width: 1200px;
    margin: 40px auto;
    border: 2px solid #e0e0e0;
    border-radius: 12px;
    padding: 60px 20px 50px;
    position: relative;
    background: #fafafa;
    overflow: visible;
}

.swiper-label {
    position: absolute;
    top: -20px;
    left: 30px;
    background: linear-gradient(135deg, #1F549B 0%, #154080 100%);
    color: #fff;
    padding: 10px 25px 10px 20px;
    border-radius: 8px;
    font-weight: bold;
    font-size: 16px;
    display: flex;
    align-items: center;
    gap: 8px;
    box-shadow: 0 4px 12px rgba(31, 84, 155, 0.3);
    z-index: 10;
}

/* 王冠アイコン */
.crown-icon {
    width: 24px;
    height: 24px;
    fill: #fff;
}

/* スライダー本体 */
.mySwiper {
    padding: 20px 0 60px; /* 下部のパディングを増やしてページネーション用のスペースを確保 */
    overflow: hidden; /* スライダー部分のみはみ出しを制御 */
}

/* ページネーションの位置調整 */
.mySwiper .swiper-pagination {
    bottom: 20px; /* カードの下に配置 */
}

/* カードのデザイン */
.product-card {
    background: #fff;
    border: 1px solid #eee;
    border-radius: 8px;
    overflow: hidden;
    box-shadow: 0 4px 12px rgba(0,0,0,0.05);
    display: flex;
    flex-direction: column;
    height: auto;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.product-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 8px 20px rgba(0,0,0,0.1);
}

.card-image-link {
    display: block;
    text-decoration: none;
}

.card-image {
    width: 100%;
    overflow: hidden;
    transition: opacity 0.3s ease;
}

.card-image-link:hover .card-image {
    opacity: 0.85;
}

.card-image img {
    width: 100%;
    height: 200px;
    object-fit: cover;
    display: block;
}

.card-content {
    padding: 15px;
    text-align: center;
    display: flex;
    flex-direction: column;
    gap: 12px;
}

.product-description {
    text-align: left;
    padding: 0 10px;
}

.product-description ul {
    list-style: none;
    padding: 0;
    margin: 0;
}

.product-description li {
    font-size: 13px;
    color: #555;
    line-height: 1.6;
    margin-bottom: 6px;
    padding-left: 18px;
    position: relative;
}

.product-description li:before {
    content: "✓";
    position: absolute;
    left: 0;
    color: #4CAF50;
    font-weight: bold;
}

.product-price {
    color: #d32f2f;
    font-weight: bold;
    font-size: 20px;
    margin: 5px 0;
}

.product-price span {
    font-size: 12px;
    color: #888;
}

.buy-button {
    display: inline-block;
	background: #f74a4a;
    color: #fff !important;
    text-decoration: none !important;
    padding: 12px 20px;
    border-radius: 4px;
    font-size: 14px;
    font-weight: bold;
    transition: background 0.3s;
    width: 100%;
    text-align: center;
}

.buy-button:hover {
    background: #154080;
}

/* Swiperナビゲーション */
.swiper-button-next, .swiper-button-prev {
    color: #1F549B;
}

.swiper-pagination-bullet-active {
    background: #1F549B;
}

/* スマホ対応（2〜2.5枚表示） */
@media (max-width: 768px) {
    .swiper-container-wrapper {
        margin: 20px 10px;
        padding: 50px 10px 40px;
    }

    .swiper-label {
        font-size: 14px;
        padding: 8px 20px 8px 15px;
        left: 15px;
        top: -18px;
    }

    .crown-icon {
        width: 20px;
        height: 20px;
    }

    .card-image img {
        height: 150px;
    }

    .product-description li {
        font-size: 12px;
    }

    .product-price {
        font-size: 18px;
    }

    .buy-button {
        padding: 10px 15px;
        font-size: 13px;
    }
}

