@charset "utf-8";

/* 1. ヘッダー全体
   ========================================================================== */

/* ヘッダーの土台 */
#header {
  background: #fff;
  position: relative;
  z-index: 1000;
}

/* ロゴとメニューを左右両端に配置 */
.pane-header .container,
.header-flex-container {
  display: flex !important;
  justify-content: space-between !important;
  align-items: center !important;
  max-width: 1200px;
  margin: 0 auto;
  height: 90px !important;
  /*padding: 0 20px;*/
}

/* ロゴのサイズ */
div#header-wrapper header#header .block-header-logo--img,
.block-header-logo--img {
  height: 50px !important;
  width: auto !important;
  max-width: none !important;
  object-fit: contain !important;
  display: block;
}

/* メニューエリア全体を右へ */
div#header-wrapper .pane-globalnav {
  margin-left: auto !important;
}

/* メニュー内のアイテムの並び */
.block-globalnav--item-list {
  display: flex !important;
  align-items: center !important;
  justify-content: flex-end !important;
  list-style: none !important;
  margin: 0 !important;
  padding: 0 !important;
  gap: 20px;
}


/* 2.ドロップダウンメニュー
   ========================================================================== */

/* 親メニューの設定 */
.nav-category {
  height: 90px;
  display: flex;
  align-items: center;
  position: static;
}

.category-trigger {
  font-weight: bold;
  font-size: 14px;
  cursor: pointer;
  display: flex;
  align-items: center;
  gap: 8px;
}

/* 矢印アイコン */
.arrow-icon {
  width: 0;
  height: 0;
  border-left: 5px solid transparent;
  border-right: 5px solid transparent;
  border-top: 5px solid #333;
  transition: 0.3s;
}

.nav-category:hover .arrow-icon {
  transform: rotate(180deg);
}

/* ホバー時に出てくるメガメニュー本体 */
.block-globalnav-menu {
  display: none;
  position: absolute;
  top: 90px;
  left: 0;
  width: 100% !important;
  background: #fff;
  box-shadow: 0 15px 30px rgba(0, 0, 0, 0.1);
  z-index: 1000;
  padding: 40px 0 60px;
  border-top: 1px solid #eee;
}

.nav-category:hover .block-globalnav-menu {
  display: block;
}

/* メガメニュー内：中央寄せコンテナ */
.block-globalnav-menu .inner {
  max-width: 1000px;
  margin: 0 auto;
  padding: 0 20px;
  display: block !important;
}

/* ブランド名ヘッダー */
.menu-header {
  display: flex;
  align-items: baseline;
  border-bottom: 2px solid #9ec133;
  margin-bottom: 30px;
  padding-bottom: 10px;
  justify-content: flex-start;
}

.menu-title-en {
  font-size: 24px;
  color: #666;
  margin: 0 15px 0 0;
}

.menu-title-jp {
  font-size: 14px;
  color: #666;
  font-weight: bold;
}

/* カテゴリーアイコンのリスト配置 */
.category-icon-list {
  display: flex !important;
  justify-content: flex-start !important; 
  gap: 40px;
  list-style: none !important;
  padding: 0;
  margin: 0;
}

.category-icon-list li a {
  text-decoration: none !important;
  display: block;
}

/* カテゴリーアイコン単体 */
.icon-circle {
  width: 120px;
  height: 120px;
  background-color: #f8f8f8;
  border-radius: 50% !important;
  overflow: hidden;
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 12px;
}

.icon-circle img {
  width: 100%;
  height: auto;
  display: block;
  transition: transform 0.3s ease; 
}

/* ブランド名（テキスト） */
.cate-name {
  font-size: 13px;
  font-weight: bold;
  color: #333;
  text-align: center;
  transition: color 0.3s ease; 
}

.category-icon-list li a:hover .icon-circle img {
  transform: scale(1.1); 
}

.category-icon-list li a:hover .cate-name {
  color: #554341; 
}


/* 3. 各種リンク・ボタン（ログイン・カート）
   ========================================================================== */

/* 通常のテキストリンク */
.txt-link-item a {
  text-decoration: none;
  color: #333;
  font-size: 14px;
  font-weight: bold;
}

.txt-link-item a:hover {
  color: #554341;
}

/* ログイン・カートボタン共通 */
.block-globalnav--login a,
.block-globalnav--cart a {
  display: flex;
  align-items: center;
  justify-content: center;
  height: 42px;
  padding: 0 18px;
  min-width: 110px;
  color: #fff !important;
  text-decoration: none !important;
  font-weight: bold;
  font-size: 14px;
  border-radius: 6px;
}

/* ボタン内アイコン */
.btn-icon {
  width: 15px;
  margin-right: 8px;
  filter: brightness(0) invert(1);
}

/* ログインボタン色 */
.block-globalnav--login a {
  background-color: #65A5C9;
}

/* カートボタン色 */
.block-globalnav--cart a {
  background-color: #554341;
}

.block-globalnav--login a:hover,
.block-globalnav--cart a:hover {
  opacity: 0.85;
}

/* 3-2. ログイン後：マイページドロップダウン
   ========================================================================== */

/* 親要素（ログインボタン本体）の設定 */
.block-globalnav--login {
  position: relative;
}

/* ドロップダウンメニュー本体 */
.block-globalnav--login .mypage-dropdown {
  display: none;
  position: absolute;
  top: 42px; 
  right: 0;
  background-color: #ffffff;
  z-index: 101;
  width: 160px; 
  list-style: none;
  padding: 0;
  margin: 0;
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.1);
  border: 1px solid #ccc;
}

/* ホバー時に表示 */
.block-globalnav--login:hover .mypage-dropdown {
  display: block;
  opacity: 1;
  animation: fade-in 0.3s ease;
}

/* リスト項目 */
.block-globalnav--login .mypage-dropdown li {
  width: 100%;
  border-bottom: 1px solid #eee;
}

.block-globalnav--login .mypage-dropdown li:last-child {
  border-bottom: none;
}

/* ドロップダウン内のリンク */
.block-globalnav--login .mypage-dropdown li a {
  display: block !important;
  padding: 12px 15px !important;
  font-size: 13px !important;
  line-height: 1.4 !important;
  text-decoration: none !important;
  color: #333333 !important;
  background-color: #ffffff !important;
  text-align: left !important;
  min-width: auto !important;
  height: auto !important;
  border: none !important; 
}

/* ホバー時の色変更 */
.block-globalnav--login .mypage-dropdown li a:hover {
  background-color: #f8f8f8 !important;
  color: #554341 !important;
}

/* ふわっと出るアニメーション */
@keyframes fade-in {
  from {
    opacity: 0;
    transform: translateY(-5px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}


/* 3-3. カートボタン内の件数バッジ
   ========================================================================== */

.block-globalnav--cart {
  position: relative;
}

.block-headernav--cart-count {
  position: absolute;
  top: -10px;               
  right: -10px;            
  display: flex;
  align-items: center;      
  justify-content: center;  
  min-width: 24px;          
  height: 24px;             
  padding: 0;                 
  background-color: #e84c5a;
  color: #ffffff;
  
  /* フォント */
  font-size: 12px;          
  font-weight: bold;
  line-height: 24px;        
  text-align: center;
  border-radius: 50%;       
  box-sizing: border-box;
  z-index: 10;
}

.block-headernav--cart-count:empty {
  display: none;
}

/* 4. ニュースバー
   ========================================================================== */

#head-news {
  background-color: #9ec133;
  text-align: center;
  padding: 10px 0;
  font-size: 16px;
  font-weight: bold;
  color: #333;
}


/* 5. フッター（背景全幅・SNS・カラーバリエーション）
   ========================================================================== */

.pane-footer {
  margin: 0 !important;
  padding: 0 !important;
  background: none !important; 
  border: none !important;
}

footer, .c-footer {
  margin-bottom: 0 !important;
  display: block; 
}

.c-footer + br,
.c-footer + p,
.c-footer + div:empty {
  display: none !important;
}

/* フッターの土台：画面幅いっぱいに広げる */
.c-footer {
  width: 100vw !important;
  margin-left: calc(-50vw + 50%);
  margin-right: calc(-50vw + 50%);
  padding-top: 60px;
  padding-bottom: 10px;
  margin-top: 80px;
  background-color: #fff;
  color: #554341;
  box-sizing: border-box;
}



/* --- カラーバリエーション --- */

/* ダーク背景（青） */
.c-footer--dark {
  background-color: #65A5C9 !important;
  color: #fff !important;
}

/* ベージュ背景 */
.c-footer--beige {
  background-color: #fcf8ef !important;
  color: #554341 !important;
}

/* -------------------------- */

/* フッターの中身（中央寄せ） */
.c-footer-in {
  max-width: 1000px;
  margin: 0 auto;
  padding: 0 20px;
  text-align: center;
}

/* フッターリンクの並び */
.c-footer-links {
  display: flex !important;
  justify-content: center !important;
  align-items: center !important;
  flex-wrap: wrap !important;
  list-style: none !important;
  padding: 0 !important;
  margin: 0 auto 30px !important;
}

.c-footer-links a {
  text-decoration: none;
  color: inherit;
  font-size: 14px;
  font-weight: bold;
}

.c-footer-links a:hover {
  color: inherit !important;      
  text-decoration: none !important; 
  opacity: 1 !important;           
}


/* 区切り線（|） */
.c-footer-sep {
  margin: 0 15px;
  font-size: 12px;
  opacity: 0.6;
}

/* SNSエリア */
.c-footer-sns {
  display: flex;
  justify-content: center;
  gap: 25px;
  margin-bottom: 25px;
}

.c-footer-sns img {
  width: 24px;
  height: auto;
  filter: none !important; 
  transition: opacity 0.3s ease;
}

/* 青背景の時、アイコンが見えにくい場合は明るさを調整 */
.c-footer--dark .c-footer-sns img {
  filter: brightness(0) invert(1) !important; /* アイコンを白抜きにする場合はこれ */
}

.c-footer-sns a:hover img {
  opacity: 0.7;
}

/* 下部（点線 ＆ コピーライト） */
.c-footer-bottom {
  border-top: 1px dashed rgba(255, 255, 255, 0.4);
  padding-top: 25px;
}

.c-footer--beige .c-footer-bottom {
  border-top: 1px dashed rgba(85, 67, 65, 0.2);
}

.c-copyright {
  font-size: 11px;
  color: inherit;
  opacity: 0.9;
  letter-spacing: 0.05em;
  margin: 0;
  line-height: 1; 
  padding-bottom: 20px; 	
}

/* 不要な要素を隠す用 */
.c-footer .is-hidden {
  display: none !important;
}


/* 6. ページトップへ戻るボタン
   ========================================================================== */

.c-scroll-top {
  position: fixed;
  right: 30px;
  bottom: 120px;
  z-index: 1100;
  opacity: 0;
  visibility: hidden;
  transition: 0.3s;
}

.c-scroll-top.is-active {
  opacity: 1;
  visibility: visible;
}

.c-scroll-top__link {
  display: flex;
  justify-content: center;
  align-items: center;
  width: 50px;
  height: 50px;
  background-color: #554341;
  border-radius: 50%;
  box-shadow: 0 4px 10px rgba(0, 0, 0, 0.1);
}

.c-scroll-top__arrow {
  display: block;
  width: 12px;
  height: 12px;
  border-top: 3px solid #fff;
  border-right: 3px solid #fff;
  transform: rotate(-45deg);
  margin-top: 5px;
}

/* 7. 商品詳細ページ（見たままエディタ）
   ========================================================================== */

.page-goods .block-no-code-cms .block-no-code-cms--header3{
	margin: 25px 0 20px !important;
    padding: 12px 0 !important;
    font-size: 17px !important;
    font-weight: bold !important;
    color: #111 !important;
    border-bottom: 1px solid #dedede !important;
}

/* 8. 商品詳細：購入エリア・ボタン調整
   ========================================================================== */

/* --- 1. 全体コンテナ：常に355pxを確保 --- */
.block-add-cart, .block-custom-order {
    display: flex !important;
    flex-wrap: wrap !important;
    align-items: center !important;
    gap: 10px !important;
    width: 355px !important; 
    min-width: 355px !important;
    transition: none !important; 
}

/* --- 2. 数量プルダウン --- */
.block-goods-qty {
    flex: 0 0 100% !important;
    display: block !important;
    font-size: 14px;
    margin-bottom: 8px;
}
.qty-pulldown select {
    width: auto !important;
    min-width: 60px;
	height: 40px !important;
    padding: 6px 24px 6px 12px;
    border: 1px solid #ccc;
    border-radius: 4px;
    background-color: #fff;
    margin-left: 5px;
}

/* --- 3. 買い物かごボタン --- */
.block-add-cart--btn {
    display: flex !important;
    justify-content: center !important;
    align-items: center !important;
    flex: 0 0 300px !important;
    width: 300px !important;
    min-width: 300px !important;
    max-width: 300px !important;
    height: 40px !important;
    margin: 0 !important;
    background-color: #ff7f66 !important;
    color: #fff !important;
    border: none !important;
    border-radius: 40px;
    font-size: 16px !important;
    font-weight: bold !important;
}

/* --- 4. 登録済みボタン：位置と幅の完全統一 --- */

/* 下の箱：どのページでも隙間が一定になるよう固定 */
.block-goods-favorite {
    display: block !important;
    width: 100% !important; 
    margin: 0 0 20px 0 !important; 
    clear: both;
}

/* グレーボタン自体の設定 */
.block-goods-favorite-registed--btn {
    display: flex !important;
    justify-content: center !important;
    align-items: center !important;
    width: 300px !important; 
    height: 40px !important;
    background-color: #eee !important;
    color: #333 !important;
    border-radius: 40px;
    margin: 0 !important;
    text-decoration: none !important;
}

/* カートの中に「正方形」がいる時は355px、いない時は300px */
.block-add-cart:has(.block-goods-favorite--btn) {
    width: 355px !important;
}
.block-add-cart {
    width: 300px !important;
}


/* --- 5. お気に入り正方形ボタン --- */
.block-goods-favorite--btn {
    display: flex !important;
    align-items: center !important;
    justify-content: center !important;
    width: 40px !important;
    height: 40px !important;
    background-color: #ffffff !important;
    border: 1px solid #dcdcdc !important;
    border-radius: 20px;
    font-size: 0 !important;
    text-decoration: none !important;
    transition: background-color 0.2s, border-color 0.2s !important;
}

.block-goods-favorite--btn:before {
    content: "\02665" !important;
    font-size: 24px !important;
    color: #ccc;
    transition: color 0.2s !important; 
}

/* ホバー時の設定 */
.block-goods-favorite--btn:hover {
    background-color: #fff !important; 
    border-color: #E52E3D !important;  
    opacity: 1 !important;             
    text-decoration: none !important;
}

/* ホバー時にハートの色を赤くする */
.block-goods-favorite--btn:hover:before {
    color: #E52E3D !important;
}

/* --- 6. 一覧リセット & 7. システム対策 --- */
.block-goods-list .btn, .block-goods-list .block-list-add-cart-btn {
    width: auto !important;
    min-width: 0 !important;
    max-width: none !important;
    flex: none !important;
    padding: 10px 20px !important;
}
.block-goods-favorite--btn + .block-goods-favorite--btn {
    display: none !important;
}
.block-add-cart form {
    display: contents !important;
}

/* --- 8. 特定の親要素によるマージン差を打ち消す --- */
.pane-goods-right-side > div, 
.block-goods-detail--cart > div {
    margin-top: 0 !important;
    margin-bottom: 0 !important;
}

