@charset "UTF-8";

/*
Theme Name: Cocoon Child
Template: cocoon-master
*/

/* ===============================
   エントリーカード用 カスタマイズ
================================ */

/* カード全体 */
.entry-card {
  border: 1px solid #e0e0e0;
  border-radius: 10px;
  padding: 10px;
  margin-bottom: 20px;
  background: #fff;
  transition: transform 0.2s ease, box-shadow 0.2s ease;
}
.entry-card:hover {
  transform: translateY(-4px);
  box-shadow: 0 4px 12px rgba(0,0,0,0.1);
}

/* サムネイル画像 */
.entry-card-thumb img {
  border-radius: 8px;
  width: 100%;
  height: auto;
}

/* タイトル */
.entry-card-title {
  font-size: 1.1em;
  font-weight: bold;
  margin: 8px 0;
}

/* 日付とカテゴリー */
.entry-card-meta {
  font-size: 0.9em;
  color: #666;
  display: flex;
  gap: 12px;
  margin-bottom: 6px;
}
.entry-card-meta a {
  color: #0073aa;
  text-decoration: none;
}
.entry-card-meta a:hover {
  text-decoration: underline;
}

/* カスタムフィールド「表示タグ」 */
.entry-card-custom-tags {
  margin-top: 6px;
  display: flex;
  flex-wrap: wrap;
  gap: 6px;
}
.entry-card-custom-tag {
  background-color: silver;
  color: #fff;
  padding: 3px 8px;
  border-radius: 12px;
  font-size: 12px;
  white-space: nowrap;
}
.related-box {
  border: 2px solid #c0c0c0;      /* 銀色の枠線 */
  border-radius: 10px;            /* 角丸 */
  padding: 14px 18px;             /* 内側の余白 */
  margin: 24px 0;                 /* 上下の余白 */
  background: linear-gradient(    /* グラデーション背景 */
    180deg, #ffffff 0%, #f7f7f7 100%
  );
  box-shadow: 0 2px 6px rgba(0,0,0,0.05); /* ほんのり影 */
  font-size: 15px;
}

.related-box a {
  color: #4169e1;                 /* リンク色：ロイヤルブルー */
  font-weight: 500;               /* 文字を少し太め */
  text-decoration: none;
}

.related-box a:hover {
  color: #000;                    /* ホバー時は黒に */
  text-decoration: underline;
}
.official-box {
  border: 2px solid #d9534f;   /* 赤枠 */
  border-radius: 8px;
  padding: 12px 16px;
  margin: 20px 0;
  background-color: #fffaf9;   /* 薄いピンク背景 */
  font-size: 15px;
}
.official-links {
  display: flex;
  flex-direction: column; /* 縦に段を作る */
  gap: 8px;               /* 段の間隔 */
  margin-top: 8px;
}

.official-links-row {
  display: flex;
  gap: 16px;              /* 横並びの間隔 */
  flex-wrap: wrap;        /* スマホで折り返し対応 */
}

.official-links a {
  display: flex;
  align-items: center;
  text-decoration: none;
}
.official-links img {
  margin-right: 6px;
}

.official-box-title {
  font-weight: bold;
  font-size: 18px;
  margin-bottom: 12px; /* 下に余白を追加 */
  display: block;
}
.sunday-muscle-archive {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
  gap: 20px;
  margin: 20px 0;
}

.sunday-muscle-card {
  background: #fff;
  border: 1px solid #ddd;
  border-radius: 8px;
  padding: 10px;
  text-align: center;
  transition: transform 0.2s ease, box-shadow 0.2s ease;
}

.sunday-muscle-card:hover {
  transform: scale(1.03);
  box-shadow: 0 4px 10px rgba(0,0,0,0.1);
}

.sunday-muscle-card img {
  max-width: 100%;
  height: auto;
  border-radius: 5px;
  margin-bottom: 8px;
}

.sunday-muscle-card p {
  font-size: 16px;
  font-weight: bold;
  color: #333;
}
/* ===== 商品カード/一覧（団長紹介する商品） ===================== */
.product-grid{
  display:grid;
  grid-template-columns:repeat(3,1fr);
  gap:20px;
}
@media (max-width:1024px){ .product-grid{ grid-template-columns:repeat(2,1fr);} }
@media (max-width:640px){ .product-grid{ grid-template-columns:1fr; } }

.product-card{
  background:#fff;
  border:1px solid #e6e6e6;
  border-radius:16px;
  overflow:hidden;
  box-shadow:0 6px 16px rgba(0,0,0,.06);
  transition:transform .2s ease, box-shadow .2s ease;
}
.product-card:hover{
  transform:translateY(-3px);
  box-shadow:0 10px 24px rgba(0,0,0,.10);
}

.product-media{
  position:relative;
  aspect-ratio: 16/9;           /* 画像の高さを統一 */
  background:#f4f7fb;
}
.product-media img{
  width:100%;
  height:100%;
  object-fit:cover;
}

.product-badge{
  position:absolute;
  left:12px; top:12px;
  font-size:.75rem;
  background:#ff8c00;           /* オレンジ */
  color:#fff; padding:4px 8px;
  border-radius:999px;
  box-shadow:0 2px 6px rgba(0,0,0,.15);
}

.product-body{
  padding:14px 16px 16px;
}
.product-title{
  font-weight:700;
  line-height:1.35;
  font-size:1.05rem;
  margin:2px 0 8px;
}
.product-meta{
  font-size:.85rem;
  color:#667085;              /* サブテキスト */
  display:flex; gap:10px; flex-wrap:wrap;
  margin-bottom:10px;
}
.price{
  font-weight:700; color:#001f54;  /* ネイビー */
}
.tag{
  font-size:.78rem;
  background:#eef2ff;
  color:#334155;
  padding:3px 8px; border-radius:8px;
}

.product-actions{
  display:flex; gap:10px; margin-top:10px;
}
.btn-buy, .btn-detail{
  display:inline-flex; align-items:center; justify-content:center;
  padding:10px 12px; border-radius:10px; width:100%;
  font-weight:700; text-decoration:none; transition:filter .15s ease;
}
.btn-buy{
  background:#ff8c00; color:#fff;      /* 購入ボタン=オレンジ */
}
.btn-buy:hover{ filter:brightness(1.05); }

.btn-detail{
  background:#001f54; color:#fff;      /* 詳細ボタン=ネイビー */
}
.btn-detail:hover{ filter:brightness(1.08); }

/* 画像の角丸を揃えたい場合（任意） */
.product-card .product-media img{ border-top-left-radius:16px; border-top-right-radius:16px; }

/* 上部おすすめ（ヒーロー） */
.msm-top-hero{
  max-width: 900px;   /* ページ幅に合わせて調整 */
  margin: 16px auto 28px;
  padding: 0 12px;
}
.msm-top-hero [id^="msmaflink-"]{
  display:block;
}
/* 共通カード */
.ext-card {
  border: 1px solid #e6e6e6;
  border-radius: 10px;
  overflow: hidden;
  background: #fff;
  box-shadow: 0 2px 8px rgba(0,0,0,.06);
  transition: transform .2s ease, box-shadow .2s ease;
  margin-bottom: 24px;
}
.ext-card a { display: grid; grid-template-columns: 140px 1fr; gap: 16px; padding: 16px; color: inherit; text-decoration: none; }
.ext-card:hover { transform: translateY(-2px); box-shadow: 0 6px 16px rgba(0,0,0,.1); }
.ext-thumb img { width: 100%; height: auto; display: block; border-radius: 8px; }
.ext-body h4 { font-size: 1.05rem; margin: 0 0 6px; font-weight: 700; }
.ext-body p { margin: 0 0 10px; color: #555; font-size: .95rem; }
.ext-btn {
  display: inline-block; padding: 8px 12px; border-radius: 6px;
  background: #0ea5e9; color: #fff; font-weight: 700; font-size: .9rem;
}
.ext-card a:hover .ext-btn { filter: brightness(.95); }

/* スマホ */
@media (max-width: 640px) {
  .ext-card a { grid-template-columns: 1fr; }
}
