@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
*/

/************************************
** 子テーマ用のスタイルを書く
************************************/
/*必要ならばここにコードを書く*/

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

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

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

/* ------------------------------------
 カテゴリサムネイル表示（Shop Card Grid）
------------------------------------ */
.shop-card-list {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 20px;
    margin-top: 20px;
}

/* レスポンシブ */
@media screen and (max-width: 1024px) {
    .shop-card-list {
        grid-template-columns: repeat(2, 1fr);
    }
}
@media screen and (max-width: 600px) {
    .shop-card-list {
        grid-template-columns: 1fr;
    }
}

/* 個別カード */
.shop-card {
    background: #ffffff;
    padding: 8px;
    border-radius: 6px;
    text-align: center;
    box-sizing: border-box;
}

/* 画像リンクラッパー */
.shop-card-thumb-link {
    display: block;
    text-decoration: none;
    color: inherit;
}

/* 画像 */
.shop-card-img {
    width: 100%;
    height: 260px;           /* 高さ調整可能 */
    object-fit: contain;     /* 縦横比を保つ */
    background-color: #ffffff;
    padding: 10px 0;         /* 上下余白 */
    box-sizing: border-box;
}

/* タイトル */
.shop-card-title {
    margin-top: 8px;
    font-size: 15px;
    font-weight: 700;
}
.shop-card-title a {
    color: #1a73e8;
    text-decoration: none;
}
.shop-card-title a:hover {
    text-decoration: underline;
}

/* 価格 */
.shop-card-price {
    margin-top: 6px;
    color: #444;
    font-weight: 600;
}

/* モバイル調整 */
@media screen and (max-width: 600px) {
    .shop-card-img {
        height: 200px;
        padding: 8px 0;
    }
}


