/* ============================================================
 * html, body の完全リセット（フッター下余白対策）
 * ============================================================ */
html, body {
  margin: 0;
  padding: 0;
  height: 100%;
}


/* ============================================================
 * コンテンツエリアの余白設定
 * ============================================================ */

/* コンテンツ幅に固定余白 */
.wp-site-blocks > * {
  max-width: 1350px;
  margin-left: auto;
  margin-right: auto;
  padding-left: 2rem;
  padding-right: 2rem;
	margin-block-start: 0;
  margin-block-end: 0;
}


/* ただし、ヘッダー、フッター、全セクションは除外（背景を画面幅いっぱいに） */
.wp-site-blocks > .header,
.wp-site-blocks > .footer,
.wp-site-blocks > .mv,
.wp-site-blocks > .intro,
.wp-site-blocks > .news,
.wp-site-blocks > .products,
.wp-site-blocks > .about,
.wp-site-blocks > .topics,
.wp-site-blocks > .cta,
.wp-site-blocks > .faq,
.wp-site-blocks > .closing {
  max-width: none;
  padding-left: 0;
  padding-right: 0;
  margin-left: 0;
  margin-right: 0;
}



/* 全幅要素（alignfull）は余白なし */
.alignfull {
  padding-left: 0;
  padding-right: 0;
}

/* ============================================================
 * 基本要素のスタイル
 * ============================================================ */

/* 見出し共通 */
h1, h2, h3, h4, h5, h6 {
  line-height: 1.4;
  margin-top: 2.5rem;
  margin-bottom: 1.5rem;
}

/* 本文 */
p {
  line-height: 1.8;
}

/* ============================================================
 * ボタン（3種類）
 * ============================================================ */

/* ボタン共通 */
.wp-block-button__link,
.btn {
  border-radius: 999px;
  padding: 8px 24px;
  min-width: 200px;
  display: inline-block;
  text-align: center;
  text-decoration: none;
  transition: all 0.3s;
  font-size: 1rem;
  cursor: pointer;
  border: none;
}

.wp-block-button__link:hover,
.btn:hover {
  transform: translateY(-4px);
  box-shadow: 0 6px 6px rgba(0,0,0,.2);
}

/* ボタン1：透明背景・白枠・白文字 */
.btn--transparent,
.wp-block-button.is-style-outline .wp-block-button__link {
  background: transparent;
  border: 2px solid #fefefe;
  color: #fefefe;
}

/* ボタン2：緑背景・枠なし・白文字 */
.btn--green,
.wp-block-button.is-style-fill .wp-block-button__link {
  background: #224b37;
  color: #fefefe;
  border: none;
}

/* ============================================================
 * カテゴリータグ（ニュース・トピックス）
 * ============================================================ */
.category-tag,
.wp-block-post-terms a {
  background: #dc8452;
  color: #fefefe;
  padding: 4px 12px;
  border-radius: 4px;
  font-size: 0.85rem;
  text-decoration: none;
  display: inline-block;
  transition: opacity 0.3s;
}

.category-tag:hover,
.wp-block-post-terms a:hover {
  opacity: 0.8;
}

/* ============================================================
 * ヘッダー（BEM設計・レスポンシブ対応）
 * ============================================================ */

/* ヘッダー全体 */
.header {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  z-index: 100;
}

/* ヘッダーコンテナ */
.header__container {
  max-width: 1350px;
  margin: 0 auto;
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 1rem 5%;
  position: relative;
}

/* ロゴ */
.header__logo--link {
  display: block;
}

.header__logo--img {
  height: 50px;
  width: auto;
}

/* PC用ナビゲーション */
.header__nav {
  display: none;
}

.header__nav--list {
  display: flex;
  gap: 1.1rem;
  list-style: none;
  margin: 0;
  padding: 0;
  align-items: center;
}

.header__nav--item {
  margin: 0;
}

.header__nav--separator {
  color: #fff;
  font-size: 0.9rem;
  opacity: 1;
  list-style: none;
}

.header__nav--link {
  color: #fff;
  text-decoration: none;
  font-size: 0.9rem;
  white-space: nowrap;
  transition: opacity 0.3s;
}

.header__nav--link:hover {
  opacity: 0.7;
}

/* PC用右側アイコン */
.header__actions {
  display: none;
  gap: 1.5rem;
  align-items: center;
}

.header__action--link {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  color: #fff;
  text-decoration: none;
  transition: opacity 0.3s;
}

.header__action--link:hover {
  opacity: 0.7;
}

.header__action--text {
  font-size: 0.9rem;
}

.header__action--icon {
  font-size: 1.5rem;
}

.header__action--icon--img {
  width: 24px;
  height: 24px;
}

/* SP用メニュー開閉ボタン（固定位置） */
.header__menu--toggle {
  position: fixed;
  top: 1rem;
  right: 2rem;
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  gap: 5px;
  width: 50px;
  height: 50px;
  background: none;
  border: 2px solid #fff;
  border-radius: 50%;
  cursor: pointer;
  padding: 0;
  transition: all 0.3s;
  z-index: 1001;
}

.header__menu--toggle:hover {
  opacity: 0.7;
}

.header__menu--toggle--line {
  width: 20px;
  height: 2px;
  background-color: #fff;
  transition: all 0.3s;
}

/* メニューが開いた時の×印 */
.header__menu--toggle.is--active .header__menu--toggle--line:nth-child(1) {
  transform: translateY(7px) rotate(45deg);
}

.header__menu--toggle.is--active .header__menu--toggle--line:nth-child(2) {
  opacity: 0;
}

.header__menu--toggle.is--active .header__menu--toggle--line:nth-child(3) {
  transform: translateY(-7px) rotate(-45deg);
}

/* SP用メニューパネル */
.header__menu {
  position: fixed;
  top: 0;
  right: 0;
  width: 100%;
  height: 100vh;
  background-color: #493d35;
  transform: translateX(100%);
  transition: transform 0.8s ease;
  z-index: 1000;
  overflow-y: auto;
}

.header__menu.is--open {
  transform: translateX(0);
}

.header__menu--inner {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  min-height: 100vh;
  padding: 1rem;
  color: #fff;
}

/* メニュー内マイページ・カート */
.header__menu--actions {
  display: flex;
  gap: 2rem;
  margin-bottom: 3rem;
}

.header__menu--action {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 0.5rem;
  color: #fff;
  text-decoration: none;
}

.header__menu--action--icon {
  font-family: 'Font Awesome 6 Free' !important; 
  font-weight: 900 !important;
  font-size: 2rem;
}

.header__menu--action--text {
  font-size: 1rem;
}

/* メニュー内ナビゲーション */
.header__menu--list {
  list-style: none;
  margin: 0;
  padding: 0;
  text-align: center;
}

.header__menu--item {
  margin-bottom: 1.5rem;
}

.header__menu--link {
  color: #fff;
  text-decoration: none;
  font-size: 1rem;
  transition: opacity 0.3s;
}

.header__menu--link:hover {
  opacity: 0.7;
}

/* メニュー内Instagram */
.header__menu--instagram {
  margin-top: 3rem;
}

.header__menu--instagram--img {
  width: 40px;
  height: 40px;
}

/* ============================================================
 * PC表示（768px以上）
 * ============================================================ */
@media (min-width: 1200px) {
  .header__logo--img {
    height: 60px;
  }
  
  .header__nav {
    display: block;
  }
  
  .header__actions {
    display: flex;
  }
  
  .header__menu--toggle {
    display: none;
  }
  
  .header__menu {
    display: none;
  }
}

/* ============================================================
 * フッター（BEM設計・レスポンシブ対応）
 * ============================================================ */

/* フッター全体（画面幅いっぱいの背景） */
.footer {
  background: #493d35;
  color: #fff;
  width: 100vw;
  position: relative;
  left: 50%;
  right: 50%;
  margin-left: -50vw;
  margin-right: -50vw;
  margin-bottom: 0;
  padding: 3rem 0 0;
  box-sizing: border-box;
}

/* フッターコンテナ（中身は1350px内） */
.footer__container {
  max-width: 1350px;
  margin: 0 auto;
  padding: 0 5%;
  display: flex;
  flex-direction: column;
  gap: 2rem;
  box-sizing: border-box;
}

/* ロゴ */
.footer__logo {
  text-align: center;
  flex-shrink: 0;
}

.footer__logo--link {
  display: inline-flex;
  flex-direction: column;
  align-items: center;
  gap: 0.5rem;
  text-decoration: none;
  color: #fff;
}

.footer__logo--img {
  height: 90px;
  width: auto;
  max-width: 100%;
}

.footer__logo--text {
  font-size: 0.9rem;
  letter-spacing: 0.1em;
  display: none;
}

/* ナビゲーションラッパー */
.footer__nav--wrapper {
  display: flex;
  flex-direction: column;
  gap: 2rem;
  width: 100%;
  box-sizing: border-box;
}

/* ナビゲーション共通 */
.footer__nav {
  flex: 1;
  min-width: 0;
}

.footer__nav--list {
  list-style: none;
  margin: 0;
  padding: 0;
  display: flex;
  flex-direction: column;
  gap: 0.8rem;
}

.footer__nav--item {
  margin: 0;
}

.footer__nav--item--child {
  padding-left: 1.5rem;
  position: relative;
}

.footer__nav--item--child::before {
  content: "┗";
  position: absolute;
  left: 0;
  color: #fff;
  opacity: 0.6;
}

.footer__nav--link {
  color: #fff;
  text-decoration: none;
  font-size: 0.9rem;
  transition: opacity 0.3s;
  word-wrap: break-word;
  overflow-wrap: break-word;
}

.footer__nav--link:hover {
  opacity: 0.7;
}

.footer__nav--title {
  font-size: 1rem;
  margin: 0 0 1rem 0;
  font-weight: 600;
  letter-spacing: 0.05em;
  color: #fff;  
  text-decoration: none; 
  display: block; 
  transition: opacity 0.3s;
}

/* ホバー効果を追加 */
.footer__nav--title:hover {
  opacity: 0.7;
}

/* アイコンエリア（SPでも表示） */
.footer__actions {
  display: flex;
  flex-direction: row;
  justify-content: center;
  gap: 1.5rem;
  margin-top: 1rem;
  flex-shrink: 0;
}

.footer__action--link {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 0.3rem;
  color: #fff;
  text-decoration: none;
  transition: opacity 0.3s;
  flex-shrink: 0;
}

.footer__action--link:hover {
  opacity: 0.7;
}

.footer__action--text {
  font-size: 0.7rem;
  text-align: center;
  white-space: nowrap;
}

.footer__action--icon {
  font-family: 'Font Awesome 6 Free' !important;
  font-size: 1.3rem;
  font-weight: 900 !important;
  color: #fff;
  line-height: 1;
}

.fa-user.footer__action--icon {
  font-weight: 400;
}

.fa-cart-shopping.footer__action--icon {
  font-weight: 900;
}

.footer__action--icon--img {
  width: 22px;
  height: 22px;
}

/* コピーライト */
.footer__copyright {
  text-align: center;
  margin: 2rem 0 0;
  padding: 1rem 0;
  border-top: 1px solid rgba(255, 255, 255, 0.2);
  width: 100%;
  box-sizing: border-box;
}

.footer__copyright--text {
  font-size: 0.75rem;
  margin: 0;
  opacity: 0.7;
  letter-spacing: 0.05em;
}

/* ============================================================
 * タブレット表示（768px以上）
 * ============================================================ */
@media (min-width: 768px) {
  .footer {
    padding: 4rem 0 0;
  }

  .footer__container {
    flex-direction: row;
    flex-wrap: wrap;
    justify-content: space-between;
    align-items: flex-start;
    gap: 2rem;
  }

  .footer__logo {
    text-align: left;
    flex-basis: 150px;
    flex-shrink: 0;
  }

  .footer__logo--link {
    align-items: flex-start;
  }

  .footer__logo--img {
    height: 120px;
  }

  .footer__nav--wrapper {
    flex-direction: row;
    justify-content: flex-start;
    gap: 1rem;
    flex-grow: 1;
    flex-basis: calc(100% - 150px - 120px - 4rem);
    max-width: calc(100% - 150px - 120px - 4rem);
  }

  .footer__actions {
    flex-direction: row;
    justify-content: center;
    gap: 1.5rem;
    margin-top: 0;
    flex-basis: 120px;
    flex-shrink: 0;
  }

  .footer__action--icon {
    font-size: 1.5rem;
  }

  .footer__action--icon--img {
    width: 24px;
    height: 24px;
  }

  .footer__copyright {
    margin-top: 3rem;
    flex-basis: 100%;
  }
}

/* ============================================================
 * PC表示（1024px以上）
 * ============================================================ */
@media (min-width: 1024px) {
  .footer__container {
    flex-wrap: nowrap;
  }

  .footer__logo {
    flex-basis: 180px;
  }

  .footer__nav--wrapper {
    gap: 3rem;
    flex-basis: auto;
    max-width: none;
    padding: 0 2rem;
  }

  .footer__nav--main {
    flex: 1;
    min-width: 0;
  }

  .footer__nav--sub {
    flex: 1.2;
    min-width: 0;
  }

  .footer__nav--guide {
    flex: 1;
    min-width: 0;
  }

  .footer__actions {
    flex-direction: column;
    gap: 1.5rem;
    flex-basis: 100px;
    flex-shrink: 0;
    align-items: center;
  }

  .footer__action--icon {
    font-size: 1.8rem;
  }

  .footer__action--icon--img {
    width: 28px;
    height: 28px;
  }

  .footer__action--link--instagram {
    margin-top: 0.5rem;
  }
}

/* ============================================================
 * 大画面（1200px以上）
 * ============================================================ */
@media (min-width: 1200px) {
  .footer__container {
    gap: 3rem;
  }

  .footer__logo {
    flex-basis: 200px;
  }

  .footer__nav--wrapper {
    gap: 4rem;
  }

  .footer__actions {
    flex-basis: 120px;
  }
}

/* ============================================================
 * 全体共通：フォーカス時のアウトライン削除
 * ============================================================ */
a:focus,
button:focus,
.wp-block-button__link:focus {
  outline: none !important;
  box-shadow: none !important;
}


/* ============================================================
 * 下層ページ：ヘッダー背景色
 * ============================================================ */
/* トップページ以外のヘッダーに背景色を適用 */
body:not(.home) .header {
  background-color: #493d35;
}



/* ============================================================
 * パンクズリスト
 * ============================================================ */
.yoast-breadcrumbs {
	margin-bottom: 60px;
}

@media (min-width: 768px) {
  .yoast-breadcrumbs {
	margin-bottom: 90px;
}
}	
/* ============================================================
 * Yoastパンくず：products / topix系すべて対応
 * ============================================================ */

/* products */
.products .yoast-breadcrumbs,
.products .yoast-breadcrumbs a,
.products .yoast-breadcrumbs span {
    color: #fefefe;
}

/* topix（カスタム投稿タイプ） */
.post-type-archive-topix .yoast-breadcrumbs,
.post-type-archive-topix .yoast-breadcrumbs a,
.post-type-archive-topix .yoast-breadcrumbs span,
.single-topix .yoast-breadcrumbs,
.single-topix .yoast-breadcrumbs a,
.single-topix .yoast-breadcrumbs span {
    color: #fefefe;
}





