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

/* ——— 基本リセット ——— */
* {
  box-sizing: border-box;
}
ul, li {
  margin: 0;
  padding: 0;
  list-style: none;
}

/* ——— PC（769px以上）のみ表示 ——— */
.pc-only {
  display: block;
}
@media screen and (max-width: 769px) {
  .pc-only {
    display: none;
  }
}

/* ——— フッター全体 ——— */
.original-footer {
  background-color: #fcf9f7;
  padding: 60px 20px;
  color: #5b3f3f;
  font-family: "Hiragino Kaku Gothic Pro", "メイリオ", sans-serif;
}

/* ——— 見出し ——— */
.original-footer h2 {
  text-align: center;
  font-size: 20px;
  letter-spacing: 4px;
  margin-bottom: 30px;
  color: #8c3145;
}

/* ——— FOLLOW US エリア ——— */
.rg-follow-us {
  text-align: center;
  margin-bottom: 40px;
}
.rg-follow-us h2 {
  font-size: 20px;
  letter-spacing: 4px;
  color: #8c3145;
  margin-bottom: 20px;
}
.follow-buttons {
  display: inline-flex;
  align-items: center;
  gap: 30px;
}
.btn-follow img {
  width: 100px;
  height: 100px;
}
/* カラー調整用 */
.btn-line { /* LINE緑 */ }
.btn-insta { /* Instagramロゴ */ }

/* ——— SHOPPING GUIDE：STEP エリア ——— */
.rg-steps {
  display: flex;
  justify-content: center;
  align-items: stretch;
  gap: 20px;
  margin-bottom: 20px;
  position: relative;
}
.rg-step {
  flex: 0 0 163px;
  height: 240px;
  background: #fff;
  border: 1px solid #f0e1de;
  border-radius: 4px;
  padding: 15px;
  text-align: center;
  position: relative;
}
.rg-step .step-icon img {
  width: 80px;
  height: 80px;
  margin-bottom: 10px;
}
.step-title {
  font-weight: bold;
  font-size: 15px;
  margin-bottom: 8px;
}
.step-desc {
  font-size: 12px;
  line-height: 1.4;
}
/* ▶ を各ボックスの間に挿入 */
.rg-step + .rg-step::before {
  content: "▶";
  position: absolute;
  left: -20px;
  top: 50%;
  transform: translateY(-50%);
  font-size: 18px;
  color: #8c3145;
}

/* ——— SHOPPING GUIDE：カードエリア ——— */
.rg-cards {
  display: flex;
  justify-content: center;
  gap: 20px;
  margin-bottom: 50px;
}
.rg-cards li {
  width: 200px;
  background: #fff;
  border: 1px solid #f0e1de;
  border-radius: 4px;
  padding: 15px;
  text-align: center;
  display: flex;
  flex-direction: column;
}
.rg-cards h3 {
  font-size: 14px;
  margin-bottom: 10px;
}
.rg-cards p {
  font-size: 12px;
  line-height: 1.6;
  margin-bottom: 10px;
}
.rg-cards a {
  font-size: 12px;
  color: #8c3145;
  text-decoration: none;
  border: 1px solid #e8d9d7;
  padding: 5px 12px;
  border-radius: 20px;
}

/* ——— サイトマップリンクカラム ——— */
.rg-sitemap {
  padding: 40px 20px;
  border-top: 1px solid #e4dcd9;
}
.sitemap-columns {
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  gap: 20px;
}
.sitemap-col {
  flex: 1 1 180px;
  min-width: 160px;
}
.sitemap-col h3 {
  font-size: 14px;
  color: #8c3145;
  border-bottom: 1px solid #e4dcd9;
  padding-bottom: 6px;
  margin-bottom: 12px;
}
.sitemap-col h3 a {
  color: #8c3145;
  text-decoration: none;
}
.sitemap-col h3 a:hover {
  text-decoration: underline;
}
.sitemap-col ul li {
  font-size: 13px;
  color: #5b3f3f;
  margin-bottom: 6px;
}
.sitemap-col ul li a {
  color: #5b3f3f;
  text-decoration: none;
}
.sitemap-col ul li a:hover {
  text-decoration: underline;
}

/* ——— フッター下部サブナビ ——— */
.footer-sub-nav {
  border-top: 1px solid #e4dcd9;
  padding: 10px 0;
}
.footer-sub-nav ul {
  display: flex;
  justify-content: center;
  flex-wrap: wrap;
  gap: 0; /* リセット */
}
.footer-sub-nav li {
  display: inline-flex;
  align-items: center;
}
.footer-sub-nav li + li::before {
  content: "｜";
  color: #5b3f3f;
  margin: 0 12px;
  display: inline-block;
  vertical-align: middle;
}
.footer-sub-nav a {
  color: #5b3f3f;
  font-size: 13px;
  text-decoration: none;
  line-height: 1;
}
.footer-sub-nav a:hover {
  text-decoration: underline;
}

/* ——— メディアクエリ ——— */

/* 1024px 以下：STEP矢印調整 */
@media screen and (max-width: 1024px) {
  .rg-steps {
    flex-wrap: wrap;
  }
  .rg-step {
    flex: 1 1 calc(33.333% - 20px);
    max-width: calc(33.333% - 20px);
    margin-bottom: 40px;
  }
  .rg-step + .rg-step::before {
    content: none !important;
  }
  .rg-step::after {
    content: "▶";
    position: absolute;
    left: calc(100% + 10px);
    top: 50%;
    transform: translate(-50%, -50%);
    font-size: 18px;
    color: #8c3145;
  }
  .rg-step:nth-child(3n)::after {
    content: none;
  }
}

/* 768px 以下：スマホ調整 */
@media screen and (max-width: 768px) {
  /* フッター余白 */
  .original-footer {
    padding: 30px 10px;
  }
  /* STEP縦並び */
  .rg-steps {
    flex-direction: column;
    gap: 15px;
  }
  .rg-step {
    flex: none;
    width: 100%;
    height: auto;
    margin-bottom: 20px;
  }
  .rg-step + .rg-step::before,
  .rg-step::after {
    content: none !important;
  }
  /* SHOPPING GUIDE を非表示 */
  .rg-shopping-guide {
    display: none !important;
  }
  /* FOLLOW US アイコン縮小 */
  .rg-follow-us .btn-follow img {
    width: 60px;
    height: 60px;
  }
  .rg-follow-us h2 {
    display: none;
  }
  /* サブナビ文字サイズ調整 */
  .footer-sub-nav a {
    font-size: 12px;
  }
  .footer-sub-nav li + li::before {
    margin: 0 6px;
  }
}






/* ——— PC用ヘッダー設定 ——— */
@media screen and (min-width: 1024px) {

/* ——— ヘッダー右側ナビ（ログイン＋カートのみ） ——— */
.menu-pc {
  float: right !important;
  display: flex !important;
  align-items: center;
  gap: 0.1rem;
  margin: 0;
  width: fit-content;
  width: -moz-fit-content;
  width: -webkit-fit-content;
}

/* ——— 各アイテム固定サイズ＆余計な float/margin リセット ——— */
.menu-pc li {
  float: none !important;
  margin: 0;
  width: 60px !important;   /* ← ここで幅を指定 */
  height: 60px;
}

/* ——— リンクを flex で中央揃え＆アイコンサイズ指定 ——— */
.menu-pc li a {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  height: 100%;
  font-size: 1.6rem;
  padding: 0;
  color: inherit;
  text-decoration: none;
}

/* ——— ログイン＆カート以外を非表示 ——— */
.menu-pc li:not(.menu-item-login):not(.menu-item-cart) {
  display: none !important;
}

/* ——— アイコンの共通色（通常／ホバー） ——— */
.menu-pc .login-link i,
.menu-pc .cart-link i {
  color: #8c3145;
}
.menu-pc .login-link:hover i,
.menu-pc .cart-link:hover i {
  color: #5b3f3f;
}

}









/* ─── アコーディオン全体 ─── */
.category-accordion {
  width: 100%;
}

/* ─── 各カテゴリブロック ─── */
.category-item {
  border-bottom: 1px solid #ddd;
  position: relative;
}

/* ─── チェックボックスは非表示 ─── */
.category-item input[type="checkbox"] {
  position: absolute;
  opacity: 0;
  pointer-events: none;
}

/* ─── 見出しラベル ─── */
.category-label {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 12px 10px;
  cursor: pointer;
  background: #fff;
  transition: background .2s;
}
.category-label:hover {
  background: #f5f5f5;
}

/* ─── 見出しのサムネイル画像 ─── */
.category-label img {
  width: 48px;
  height: 48px;
  object-fit: cover;
  border-radius: 4px;
  margin-right: 12px;
}

/* ─── 見出しテキスト ─── */
.category-title {
  flex: 1;
  font-size: 1rem;
  color: #333;
  font-weight: 600;
}

/* ─── ＋/−アイコン ─── */
.toggle-icon {
  display: inline-block;
  width: 1em;
  text-align: center;
  font-size: 1.2rem;
  transition: transform .2s, color .2s;
}
.toggle-icon::before {
  content: "+";
  color: #999;
}
.category-item input:checked + .category-label .toggle-icon::before {
  content: "−";
  color: #333;
}

/* ─── 子メニュー（閉じ時は非表示） ─── */
.sub-menu {
  display: none;
  background: #fafafa;
}
.category-item input:checked + .category-label + .sub-menu {
  display: block;
}

/* ─── 子項目リンク ─── */
.sub-item {
  display: flex;
  align-items: center;
  padding: 10px;
  text-decoration: none;
  color: #333;
  background: #fff;
  transition: background .2s;
}
.sub-item:hover {
  background: #f5f5f5;
}

/* ─── 子項目のサムネイル ─── */
.sub-item img {
  width: 36px;
  height: 36px;
  object-fit: cover;
  border-radius: 4px;
  margin-right: 12px;
}

/* ─── 子項目テキスト ─── */
.sub-title {
  flex: 1;
  font-size: .95rem;
}

/* ─── 矢印アイコン ─── */
.arrow-icon {
  display: inline-block;
  width: 1em;
  text-align: center;
  font-size: 1rem;
}
.arrow-icon::before {
  content: "›";
  color: #999;
}

/* ─── 子項目の区切り線 ─── */
.sub-menu li + li,
.sub-item + .sub-item {
  border-top: 1px solid #eee;
}

