@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){
  /*必要ならばここにコードを書く*/
}





/*ヘッダー編集*/
.sns-share.ss-high-and-low-lc a .social-icon {
  font-size: 22px;
}


@media screen and (min-width:481px) {
  .sns-share, .sns-follow {
    width: 70%;
    margin-right: auto;
    margin-left: auto;
  }
}
.sns-share-buttons {
  justify-content: space-evenly;
}
.sns-share-buttons a {
  font-size: 1.25em;
  border-radius: 50%;
  width: 50px!important;
  height: 50px;
  opacity: .6;
}
@media screen and (max-width:834px) {
  .ss-bottom .sns-share-buttons a {
    font-size: 1.3em;
  }
}
.sns-share-buttons a .button-caption {
  display: none!important;
}
.sns-share-message, .sns-follow-message {
  color: #bbb;
  margin-bottom: 30px;
  position: relative;
}
.sns-share-message:before, .sns-follow-message:before {
  content: '';
  position: absolute;
  display: inline-block;
  width: 30px;
  height: 2px;
  left: 50%;
  bottom: -5px;
  -webkit-transform: translateX(-50%);
  transform: translateX(-50%);
  border-radius: 3px;
  background-color: #c0c0c0;
}

.sns-follow-buttons {
  justify-content: space-evenly;
}
.sns-follow-buttons a {
  font-size: 1.7em;
  border-radius: 50%;
  width: 50px;
  height: 50px;
  opacity: .6;
}
@media screen and (max-width:834px) {
  .ss-bottom .sns-follow-buttons a {
    font-size: 1.3em;
  }
}


@media screen and (max-width: 1023px) {
.logo-header {
display: none;
}
}


/************************************
**ヘッダーロゴ
************************************/
@media screen and (max-width: 834px){
.container {
margin-top:50px;
}
}
.logo-image {
    padding: 0;
    margin: 0; /* 上下余白をリセット */
    max-height: 50px; /* ヘッダー高さに合わせる */
}

.logo-header img {
    height: 100%; /* 親に合わせる */
    display: block; /* 下の余白を消す */
}

.logo {/*ロゴ画像を中央に配置したい方は、以下3行を削除*/
text-align: center;
}
.logo-header img {
box-shadow: none!important;
}
/************************************
**ヘッダー　モバイル表示
************************************/
@media screen and (max-width: 1023px) and (min-width: 835px){
.admin-bar.mblt-header-mobile-buttons, .admin-bar.mblt-header-and-footer-mobile-buttons {
margin-top: 0;
}}
@media (min-width:835px){
ul.mobile-header-menu-buttons.mobile-menu-buttons{
display:none;
}
}
@media (max-width:834px){
.header-container {
display:none;
}
img.site-logo-image{
max-height:35px;
padding:2px 0 0 5px;
box-shadow:none;
}
.mobile-header-menu-buttons {/*ヘッダー背景色を変えるときはここを変更*/
background: #EAD7CC;
}
}









/*ここからメニューバーの編集*/
/* ── 仕切り線（右側のみ） ───────────────── */
#navi .navi-in > ul > li {
  border-right: none;   /* 仕切り線を消す */
  margin-right: 12px;   /* メニュー同士の間隔 */
}

/* 最後のメニューだけ右マージンを消す（必要に応じて） */
#navi .navi-in > ul > li:last-child {
  margin-right: 0;
}


/* ── メニューリンクの余白（文字と仕切り線の距離を確保） ── */
#navi .navi-in > ul > li > a {
  display: block;
  padding: 0.85em 18px;  /* ← 左右18pxで“線との間”を作る */
  line-height: 1.2;
}

/* 固定ヘッダー時も同じ余白に統一（以前の `padding: 100 0em;` は単位不足で無効） */
.fixed-header #navi .navi-in > ul > li > a {
  padding: 0.85em 18px;
}

/* ── サブメニュー矢印位置 ───────────────── */
.navi-in > ul > .menu-item-has-children > a::after { 
  right: 10px; 
}

/* ── ヘッダー/ナビ/フッターの横幅（従来相当） ───────── */
#header-in, #navi-in, #footer-in {
  width: 100%;
  margin: 0 auto;
}











/* グローバルメニューの文字など */
.menu-label {
  display: flex;
  align-items: center;
  gap: 8px;
}

.menu-label i {
  color: #716a67;
  font-size: 1.0em;
  margin-right: 8px;
}

/* テキスト部分を縦並び */
.menu-label .text-group {
  display: flex;
  flex-direction: column;
  line-height: 1.1;
}

.menu-label .main-text {
  font-weight: bold;
  font-size: 16px;
  color: #716a67;
  font-family: 'Yu Gothic', sans-serif;
}

/* サブテキスト */
.menu-label .sub-text {
  font-size: 12px !important;
  color: #716a67 !important;
  font-family: 'Yu Gothic', sans-serif !important;
}














/* ── サブメニュー全体 ───────── */
#navi .navi-in ul.sub-menu {
  position: absolute;
  top: 100%;             
  left: 50%;             
  transform: translateX(-50%); 
  background: #ffffff;   
  padding: 0.5em 0;      
  box-shadow: 0 4px 10px rgba(0,0,0,0.15); /* 少し濃い影で立体感 */
  min-width: 180px;      
  border-radius: 6px;    
  z-index: 10001;
  opacity: 0;            
  visibility: hidden;
  transition: opacity 0.3s ease, transform 0.3s ease;

  /* 緑のラインを上に追加 */
  border-top: 4px solid #cf9f96;
}

/* ── 親メニューにホバーしたとき表示 ── */
#navi .navi-in > ul > li:hover > ul.sub-menu {
  opacity: 1;
  visibility: visible;
  transform: translateX(-50%) translateY(0); 
}

/* ── サブメニュー内リンク ── */
#navi .navi-in ul.sub-menu li a {
  display: block;
  padding: 0.7em 1.2em;   /* 少し余白を増やして見やすく */
  color: #716a67;           
  text-align: left;      
  white-space: nowrap;
  font-weight: 700;       /* 文字を少し太め */
  transition: background 0.2s ease, color 0.2s ease;
}

/* ── ホバー時の背景色と文字色 ── */
#navi .navi-in ul.sub-menu li a:hover {
  background-color: #f2f2f2;
  color: #cf9f96;          /* 緑に変化して統一感 */
}

/* ── 角丸・影をよりかっこよく調整（optional） ── */
#navi .navi-in ul.sub-menu {
  border-radius: 8px;
  box-shadow: 0 6px 14px rgba(0,0,0,0.18);
}


/*サブメニューがスクロールしても表示される*/
#navi .navi-in ul.sub-menu {
  display: none;
  position: absolute;
  top: 100%;           /* 真下 */
  left: 50%;           /* 親の中央を基準 */
  transform: translateX(-50%); /* 中央にずらす */
  opacity: 0;
  visibility: hidden;
  z-index: 999999;
}

#navi .navi-in li:hover > ul.sub-menu {
  display: block;
  opacity: 1;
  visibility: visible;
}



















/*タイトル非表示*/
.page .entry-title {
    display: none;
}
.post-type-archive-product .entry-title,
.post-type-archive-product h1.page-title {
    display: none;
}





/* ==============================
   ヘッダー全体
   ============================== */
.fixed-header .header-wrapper,
.is-sticky .site-header {
    display: flex;
    align-items: center;
    justify-content: space-between; /* 左右に分ける */
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    background: #fff; 
    z-index: 9999;
    padding: 0 15px;
    box-sizing: border-box;
}

/* ==============================
   左側（ロゴ＋メニュー）
   ============================== */
.header-left-wrapper {
    display: flex;
    align-items: center;
    gap: 20px;
    flex-shrink: 0;
}

/* ==============================
   右側（検索＋カート）
   ============================== */
.header-right-wrapper {
    display: flex;
    align-items: center;
    gap: 15px;
    margin-left: auto; /* 基本右端 */
    flex-shrink: 0;
    height: 50px;
    padding-right: 15px;
}

/* ==============================
   検索フォーム
   ============================== */
.header-search-form {
    position: relative;
    width: 180px;
    max-width: 40vw;
    height: 40px;
    display: flex;
    align-items: center;
}

.header-search-form input[type="search"] {
    width: 100%;
    height: 100%;
    padding: 0 35px 0 10px;
    border-radius: 20px;
    border: 1px solid #ccc;
    outline: none;
    box-sizing: border-box;
}

.header-search-form button {
    position: absolute;
    right: 10px;
    top: 50%;
    transform: translateY(-50%);
    background: none;
    border: none;
    cursor: pointer;
    font-size: 1.2em;
    color: #000;
    padding: 0;
}

/* ==============================
   カートボタン
   ============================== */
.header-cart a {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 40px;
    height: 40px;
    border-radius: 50%;
    background-color: #cf9f96;
    color: #000;
    font-size: 1.3em;
    text-decoration: none;
    transition: background 0.3s ease, color 0.3s ease;
}

.header-cart a:hover {
    background-color: #716a67;
    color: #ffffff;
}

/* ==============================
   iPad横（769px〜1024px）の特定ページだけ右寄せ強制
   ============================== */
@media (min-width: 769px) and (max-width: 1024px) {
    /* 対象ページ */
    body.home .header-right-wrapper,
    body.archive.product .header-right-wrapper,
    body.single-product .header-right-wrapper,
    body.page-template-super-one .header-right-wrapper {
        margin-left: auto !important;   /* 左寄せになる場合のみ右寄せ */
    }

    body.home .header-wrapper,
    body.archive.product .header-wrapper,
    body.single-product .header-wrapper,
    body.page-template-super-one .header-wrapper {
        display: flex !important;
        justify-content: space-between !important;
    }

    .header-left-wrapper {
        gap: 15px;
    }

    .header-search-form {
        width: 160px;
        max-width: 35vw;
    }
}

/* ==============================
   タブレット以下（768px以下）
   ============================== */
@media (max-width: 768px) {
    .header-wrapper {
        height: 60px;
    }
    .header-search-form {
        width: 140px;
        max-width: 35vw;
        height: 36px;
    }
    .header-cart a {
        width: 36px;
        height: 36px;
    }
}

/* ==============================
   スマホ縦（480px以下）
   ============================== */
@media (max-width: 480px) {
    .header-wrapper {
        height: 55px;
    }
    .header-search-form {
        width: 100px;
        max-width: 30vw;
        height: 34px;
    }
    .header-cart a {
        width: 34px;
        height: 34px;
    }
}























/*全〇件を非表示*/
body.woocommerce-shop .woocommerce-ordering,
body.woocommerce-shop .woocommerce-result-count {
    display: none;
}



















/* ==============================
   商品カード全体
   ============================== */
.custom-product-card {
    padding: 0 10px;                     /* テキスト用の左右余白 */
    box-sizing: border-box;
    text-align: left;
    background-color: #fff !important;   /* カード自体の背景を白に固定 */
    border: 1px solid #eee;
    border-radius: 12px;
    margin: 10px 0;
    box-shadow: 0 2px 5px rgba(0,0,0,0.05);
    transition: all 0.3s ease;
    font-family: "Noto Sans JP", sans-serif; /* フォント統一 */
    font-weight: 300;                     /* 全体的に細め */
}

/* ==============================
   商品画像（フル幅表示）
   ============================== */
.custom-product-card > a:first-child {
    display: block;
    margin: 0 -10px 35px;               /* ラッパーの左右パディングを相殺 + 下余白 */
    background-color: transparent !important;
}







.custom-product-card > a:first-child img {
    width: 100%;
    height: auto;
    border-radius: 8px 8px 0 0;
    object-fit: cover;
    display: block;
    aspect-ratio: 3 / 4;
    transition: transform 0.3s ease, filter 0.3s ease;
    background-color: transparent !important;
}

.custom-product-card > a:first-child img:hover {
  /*  transform: scale(1.05);*/
    filter: brightness(1.1);
    cursor: pointer;
}

/* ==============================
   商品タイトル
   ============================== */
.custom-product-card .woocommerce-loop-product__title {
    font-size: 0.75em !important;                   /* 小さめ */
    font-weight: 300;                     /* 細め */
	color: #716a67;        /* 色を変更 */
    line-height: 1.3;
    margin: 0 0 5px;
    padding: 0;
    text-align: left;
    background-color: transparent !important;
}

.custom-product-card .woocommerce-loop-product__title a {
    color: #333;
    text-decoration: none;
    background-color: transparent !important; /* 灰色背景を消す */
    font-family: inherit;
    font-weight: inherit;
}

/* ==============================
   価格
   ============================== */
.custom-product-card .price {
    font-size: 0.8em;                     /* 小さめ */
    font-weight: 300;                     /* 細め */
    color: #d9534f;
    margin-bottom: 10px;
    padding: 0;
    display: block;
    background-color: transparent !important;
    font-family: inherit;
}

/* ==============================
   カートボタン
   ============================== */
.custom-product-card .button {
    display: block;
    width: auto;
    padding: 8px 15px;
    border-radius: 20px;
    background-color: #0073aa;
    color: #fff !important;
    border: none;
    cursor: pointer;
    margin: 10px 0;
    text-align: left;
    transition: transform 0.3s ease, background-color 0.3s ease;
    font-family: inherit;
    font-weight: inherit;
    background-color: transparent !important; /* ボタンの背景がテーマで灰色の場合対策 */
}

.custom-product-card .button:hover,
.custom-product-card .button:focus {
    background-color: #005f8d !important;
    transform: scale(1.05);
}




/* カード全体 */
.custom-product-card {
    position: relative; /* これでカード内で絶対配置可能 */
    display: block;
    min-height: 420px;  /* 少し高さを伸ばして価格の下にアイコンを置けるように */
    padding-bottom: 50px; /* アイコン分の余白を確保 */
}

/* 商品カード内カートアイコン */
.button-add-to-cart {
    position: absolute;
    bottom: 6px;
    right: 12px;
    width: 30px;           /* 丸のサイズ */
    height: 30px;          /* 丸のサイズ */
    border-radius: 50%;
    background-color: #cf9f96;
    color: #fff;
    display: flex;
    align-items: center;
    justify-content: center;
    text-indent: -9999px;  /* 文字は非表示 */
    z-index: 10;
}

/* アイコン自体 */
.button-add-to-cart i {
    text-indent: 0;
    font-size: 16px;       /* 丸に合わせて少し小さく */
}

/* ホバーで色や拡大をさせない */
.button-add-to-cart:hover {
    background-color: #cf9f96;  /* 変化なし */
    transform: none;             /* 拡大なし */
}
/* カード内カートアイコンのホバー時色変化を無効化 */
.button-add-to-cart,
.button-add-to-cart i {
    color: #fff !important;      /* 常に白に固定 */
}

.button-add-to-cart:hover i {
    color: #fff !important;      /* ホバー時も白に固定 */
}





@media (max-width: 767px) {
    .custom-product-card {
        min-height: auto;           /* 高さ固定を解除 */
        padding-bottom: 20px;       /* カートアイコンの余白を少し縮小 */
        margin: -5px -5px;            /* 上下を4pxにして行間を狭く */
        position: relative;          /* カートアイコン絶対配置の基準 */
    }

    /* 商品画像は縦長のまま */
    .custom-product-card > a:first-child img {
        aspect-ratio: 3 / 4;
        max-height: none;
        object-fit: cover;
    }

    /* カートアイコンをカード右下に固定 */
    .custom-product-card .button-add-to-cart {
        position: absolute !important;
        bottom: 10px;
        right: 10px;
        width: 28px;
        height: 28px;
        border-radius: 50%;
        display: flex;
        align-items: center;
        justify-content: center;
        margin: 0;
    }

    .custom-product-card .button-add-to-cart i {
        font-size: 14px;
    }

    /* 価格は通常のブロック表示 */
    .custom-product-card .price {
        display: block;
        margin-bottom: 5px;
    }
}
/* PC：5列表示、間隔を狭く */
@media screen and (min-width: 1024px) {
    ul.products {
        display: flex;
        flex-wrap: wrap;
        padding: 0 ;
    }

    ul.products li.product {
        margin: 8px !important;             /* 上下左右の間隔 */
        box-sizing: border-box;
    }

    .custom-product-card {
		margin: 3px 50px !important; 
        width: 100%; /* li内で幅いっぱい */
        margin: 0;
    }
}












/* 商品ページとショートコードのカード、すべての価格を統一 */
.custom-product-card .price,
.woocommerce div.product p.price,
.woocommerce div.product span.price,
.woocommerce ul.products li.product .price {
    color: #716a67 !important;  /* お好みの色 */
}












/* カート追加トースト用 */
.cart-toast {
    position: fixed;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%) scale(0.9);
    background-color: rgba(50,50,50,0.9);
    color: #fff;
    padding: 16px 28px;
    border-radius: 12px;
    font-size: 16px;
    font-weight: 500;
    z-index: 999999;
    opacity: 0;
    pointer-events: none;
    transition: opacity 0.3s ease, transform 0.3s ease;
    text-align: center;
    max-width: 80%;
    box-shadow: 0 8px 20px rgba(0,0,0,0.3);
}

.cart-toast.show {
    opacity: 1;
    transform: translate(-50%, -50%) scale(1);
}




/* ボタン全体を中央配置 */
.custom-continue-button {
  display: flex;
  justify-content: center; /* 横中央 */
  align-items: center;     /* 縦中央（必要なら） */
  margin: 20px 0;          /* 上下余白 */
}

/* ボタンデザイン */
.custom-continue-button .custom-button {
  display: inline-block;
  padding: 12px 30px;
  border-radius: 100px;
  background-color: #d8f4eb;
  color: #008080; /* 文字色 */
  font-weight: bold;
  text-decoration: none;
  transition: background 0.3s ease, transform 0.3s ease;
}

/* ホバー効果 */
.custom-continue-button .custom-button:hover {
  background-color: #bde8df;
  transform: scale(1.05);
}

/* 文字サイズレスポンシブ */
.custom-continue-button .custom-button span {
  font-size: 24px; /* PC */
}

@media screen and (max-width: 768px) {
  .custom-continue-button .custom-button span {
    font-size: 18px; /* スマホ */
  }
}






}
/* スマホ時の商品ページメイン画像を少し小さくする */
@media (max-width: 767px) {
  .woocommerce div.product div.images img {
    max-width: 90% !important;   /* 画像の横幅を少し縮小（90% → 好みに調整） */
    margin: 0 auto !important;   /* 中央寄せ */
    display: block;
  }
}


/* サムネイル全体 */
.woocommerce div.product div.images .flex-control-thumbs {
  display: flex !important;
  flex-wrap: nowrap !important;    
  justify-content: flex-start !important;
  overflow-x: auto !important;     
  overflow-y: hidden !important;
  -webkit-overflow-scrolling: touch !important;
  scrollbar-width: thin;
}





/* ギャラリー自体を relative に */
.woocommerce-product-gallery {
    position: relative;
}

/* カスタム矢印をギャラリー上に */
.custom-gallery-nav {
    position: absolute;
    top: 50%;
    left: 0;
    width: 100%;
    display: flex;
    justify-content: space-between;
    transform: translateY(-50%);
    z-index: 999;
    pointer-events: none;
}

.custom-gallery-nav button {
    pointer-events: all;
    background: rgba(0,0,0,0.4);
    border: none;
    border-radius: 50%;
    width: 40px;
    height: 40px;
    color: #fff;
    font-size: 20px;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
}
















/* 商品タイトル */
.single-product div.product div.summary .product_title {
    display: block !important;
    font-size: 18px !important;
    font-weight: 500 !important;
    margin-top: 40px !important; /* 下げたい距離に調整 */
	margin-bottom: 40px !important;
	    color: #716a67 !important;           /* シンプルな文字色 */
}

/* 価格 */
.single-product div.product div.summary .price {
    font-size: 24px !important;
	 font-weight: 400 !important;
    color: #000000 !important; /* Amazon風赤 */
    margin-bottom: 15px !important;
}

/* レビュー星 */
.single-product div.product div.summary .woocommerce-product-rating {
    margin-bottom: 15px !important;
}

/* カートボタン */
.single-product div.product div.summary .single_add_to_cart_button {
    background-color: #FFD814 !important; /* Amazonイエロー */
    color: #111 !important;
    font-weight: 700 !important;
    padding: 12px 20px !important;
    font-size: 18px !important;
    border: 1px solid #FCD200 !important;
    border-radius: 4px !important;
    width: fit-content !important;
    margin-bottom: 20px !important;
}

.single-product div.product div.summary .single_add_to_cart_button:hover {
    background-color: #F7CA00 !important;
}

/* 在庫・SKU */
.single-product div.product div.summary .stock,
.single-product div.product div.summary .sku_wrapper {
    font-size: 14px !important;
    margin-bottom: 10px !important;
    color: #555 !important;
}

/* レスポンシブ（スマホ） */
@media (max-width: 768px) {
    .single-product div.product {
        flex-direction: column !important;
    }
    .single-product div.product div.images,
    .single-product div.product div.summary {
        width: 100% !important;
        max-width: 100% !important;
        padding-left: 0 !important;
    }
    .single-product div.product div.summary .product_title {
        font-size: 24px !important;
    }
    .single-product div.product div.summary .price {
        font-size: 20px !important;
    }
    .single-product div.product div.summary .single_add_to_cart_button {
        font-size: 16px !important;
        padding: 10px 16px !important;
    }
}

.single-product .sku_wrapper {
    display: none !important;
}

/* スマホ用：商品タイトルを小さく */
@media (max-width: 768px) {
    .single-product div.product div.summary .product_title {
        font-size: 16px !important;   /* タイトルの大きさ */
        font-weight: 400 !important;  /* 細めの文字に */
        line-height: 1.3 !important;  /* 行間も少し詰める */
    }
}











/* 新着記事表示 */

.new-entry-cards.large-thumb {
display: flex;
flex-wrap: wrap;
}

.new-entry-cards.large-thumb a {
width: 25%;
}

/768px以下/
@media screen and (max-width: 768px){
.new-entry-cards.large-thumb a {
width: 50%;
}
}

/480px以下/
@media screen and (max-width: 480px){
.new-entry-cards.large-thumb a {
width: 100%;
}
}








/* 商品画像のホバーズームを無効化 */
.woocommerce-product-gallery__image {
    pointer-events: none !important; /* ホバーによるイベントを無効化 */
}

/* もしくは hover で拡大する transform を無効化 */
.woocommerce-product-gallery__image img {
    transform: none !important;
}












/*スマホの上の位置*/
@media screen and (max-width: 480px) {
  .max-img {
   /* margin: 1em -10px; */
		margin-top: -45px !important; 

  }
}










/*スマホトップ画面*/
.yarn-circle img {
  width: 120px;
  height: 120px;
  border-radius: 50%; /* 円形 */
  object-fit: cover;
  margin-bottom: 12px;
  box-shadow: 0 8px 20px rgba(0,0,0,0.1),
              0 0 20px rgba(255, 228, 200, 0.3); /* 毛糸っぽい柔らかい光 */
  transition: transform 0.4s ease, box-shadow 0.4s ease;
}

/* マウスを近づけると揺れる */
.yarn-circle:hover img {
  transform: rotate(-3deg) scale(1.05);
  box-shadow: 0 12px 28px rgba(0,0,0,0.15),
              0 0 25px rgba(255, 228, 200, 0.4);
}






















/*インスタ・ゆうーチューブ*/
.sns-section {
  text-align: center;
  padding: 80px 20px;
  background: #fffdf8;
  border-top: 1px solid #eee;
}

.sns-section:nth-child(even) {
  background: #fef8f4; /* 交互に色を変えると見やすい */
}

.sns-title {
  font-size: 2rem;
  font-family: "Noto Serif JP", serif;
  margin-bottom: 10px;
  color: #4a3725;
  position: relative;
  display: inline-block;
}

.sns-title::after {
  content: "";
  display: block;
  width: 60px;
  height: 3px;
  background: #d8bfa5;
  margin: 8px auto 0;
  border-radius: 2px;
}

.sns-lead {
  color: #6c584c;
  margin-bottom: 30px;
  font-size: 1rem;
}

.sns-feed {
  max-width: 1000px;
  margin: 0 auto 30px;
}










/* 配送先非表示 */
.woocommerce-shipping-destination,
.woocommerce-shipping-calculator {
  display: none !important;
}

/* 配送料表示 */
.cart_totals .shipping td,
.cart_totals .shipping th {
  display: table-cell !important;
  color: #444;
  font-weight: 600;
  font-size: 1rem;
}







/* ボタン全体のラッパー */
.wp-block-button {
    text-align: center; /* ボタンを中央寄せ */
    margin: 40px 0;
}

/* ボタン自体 */
.wp-block-button__link {
    display: inline-block;
    padding: 14px 40px;
    border-radius: 50px;       /* 丸み */
    background: linear-gradient(135deg, #6a11cb, #2575fc); /* グラデーション */
    color: #fff !important;
    font-weight: bold;
    font-size: 18px;
    text-decoration: none;
    transition: all 0.3s ease;
    box-shadow: 0 6px 15px rgba(0,0,0,0.1);
}

/* ホバー時 */
.wp-block-button__link:hover {
    transform: translateY(-3px) scale(1.05);
    box-shadow: 0 12px 25px rgba(0,0,0,0.2);
    background: linear-gradient(135deg, #2575fc, #6a11cb); /* グラデーション反転 */
}

.recommended-title {
  font-size: 1.4rem;
  font-weight: 600;
  color: #008080;
  text-shadow: 1px 1px 2px rgba(0,0,0,0.1);
  margin-bottom: 20px;
  font-family: 'Noto Sans JP', sans-serif;
}














/* カート全体 */
.wc-block-cart-items {
    border-collapse: separate;
    border-spacing: 0 12px; /* 商品ごとにスペース */
}

/* 商品行をカード風に */
.wc-block-cart-items__row {
    background-color: #fff8f0; /* 柔らかいベージュ */
    border-radius: 12px;
    box-shadow: 0 4px 8px rgba(0,0,0,0.05);
    transition: transform 0.2s;
}

.wc-block-cart-items__row:hover {
    transform: translateY(-2px);
}

/* 商品名 */
.wc-block-components-product-name {
    color: #ff7f50; /* コーラル系でかわいい */
    font-weight: 600;
    font-size: 1rem;
    text-decoration: none;
    transition: color 0.2s;
}

.wc-block-components-product-name:hover {
    color: #ff4500;
}

/* 商品説明 */
.wc-block-components-product-metadata__description p {
    color: #666666;
    font-size: 0.9rem;
}

/* 商品詳細 */
.wc-block-components-product-details__value,
.wc-block-components-product-details__name {
    color: #888888;
    font-size: 0.85rem;
}

/* 商品価格 */
.wc-block-cart-item__total-price-and-sale-badge-wrapper .wc-block-formatted-money-amount {
    color: #ff6347;
    font-weight: 700;
    font-size: 1rem;
}

/* 数量セレクター */
.wc-block-components-quantity-selector {
    display: flex;
    gap: 4px;
}

.wc-block-components-quantity-selector__input {
    border-radius: 6px;
    border: 1px solid #ddd;
    padding: 4px;
    width: 50px;
    text-align: center;
}

.wc-block-components-quantity-selector__button {
    border-radius: 6px;
    background-color: #ffd6c0;
    border: none;
    cursor: pointer;
    width: 28px;
    height: 28px;
    font-weight: bold;
    transition: background-color 0.2s;
}

.wc-block-components-quantity-selector__button:hover {
    background-color: #ffb38c;
}

/* 削除ボタン */
.wc-block-cart-item__remove-link {
    color: #ff4d6d;
    font-weight: 600;
    text-decoration: none;
    margin-top: 4px;
}

.wc-block-cart-item__remove-link:hover {
    text-decoration: underline;
}

/* 画像丸くして可愛く */
.wc-block-cart-item__image img {
    border-radius: 12px;
    max-width: 80px;
}
/* カート内の商品単価を非表示 */
.wc-block-cart-item__prices {
    display: none;
}



.cute-checkout-button {
    display:inline-block;
    padding:12px 28px;
    background: linear-gradient(135deg, #ff9a9e, #fad0c4);
    color: white;
    font-weight: bold;
    font-size: 1.1rem;
    border-radius: 20px;
    text-decoration: none;
    text-align: center;
    transition: 0.2s ease;
}
.cute-checkout-button:hover {
    transform: translateY(-2px);
    box-shadow: 0 6px 16px rgba(0,0,0,0.2);
}




















/* 注文概要全体 */
.woocommerce-checkout-review-order-table {
    background: #fdfdfd;
    border: none;
    padding: 20px;
    border-radius: 12px;
    box-shadow: none;
    font-family: "Noto Sans JP", sans-serif;
}

/* 商品行 */
.woocommerce-checkout-review-order-table .wc-block-components-order-summary-item {
    display: flex;
    align-items: center;
    gap: 15px;
    padding: 10px 0;
    border-bottom: 1px solid #eee;
}

/* 商品画像 */
.woocommerce-checkout-review-order-table .wc-block-components-order-summary-item__image img {
    border-radius: 50%;
    width: 60px;
    height: 60px;
    object-fit: cover;
}

/* 商品名 */
.woocommerce-checkout-review-order-table .wc-block-components-product-name {
    font-size: 1.1em;
    font-weight: 600;
    color: #000;
    margin: 0;
}

/* 個別価格 */
.woocommerce-checkout-review-order-table .wc-block-components-order-summary-item__individual-prices {
    font-size: 1em;
    font-weight: bold;
    color: #000;
}

/* 合計部分 */
.woocommerce-checkout-review-order-table .wc-block-components-totals-wrapper {
    margin-top: 20px;
    border-top: 1px solid #eee;
    padding-top: 15px;
}

.woocommerce-checkout-review-order-table .wc-block-components-totals-item__label,
.woocommerce-checkout-review-order-table .wc-block-components-totals-item__value {
    font-size: 1.1em;
    font-weight: bold;
    color: #000;
}





/* 見出し */
#guide h2 {
  font-size: 1.8rem;
  margin-bottom: 1rem;
  color: #333;
  text-align: center;
}

#guide h3 {
  font-size: 1.3rem;
  margin: 1.5rem 0 0.5rem;
  color: #419a7e;
  border-left: 4px solid #419a7e;
  padding-left: 8px;
}

/* ナビゲーション */
.M_guideNav {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  justify-content: center;
  margin-bottom: 2rem;
  list-style: none;
  padding: 0;
}

.M_guideNav li a {
  background: #f0f8f5;
  border: 1px solid #419a7e;
  border-radius: 20px;
  padding: 6px 14px;
  color: #419a7e;
  text-decoration: none;
  font-size: 0.9rem;
  transition: 0.3s;
}

.M_guideNav li a:hover {
  background: #419a7e;
  color: #fff;
}

/* 本文 */
#guide p, #guide li {
  font-size: 0.95rem;
  line-height: 1.6;
  color: #444;
}





















<style>
/* 全体 */
.checkout-container {
  display: flex;
  gap: 20px;
  flex-wrap: wrap;
  font-family: 'Arial', sans-serif;
  margin: 20px;
}

/* メインフォーム */
.checkout-main {
  flex: 2;
  min-width: 300px;
  display: flex;
  flex-direction: column;
  gap: 20px;
}

/* サイドバー */
.checkout-sidebar {
  flex: 1;
  min-width: 250px;
  position: sticky;
  top: 20px;
  height: fit-content;
}

/* カード風デザイン */
.checkout-card {
  background: #fff8f0;
  border-radius: 12px;
  padding: 20px;
  box-shadow: 0 4px 10px rgba(0,0,0,0.1);
  border: 1px solid #ffdca8;
}

/* タイトル */
.checkout-card h2 {
  margin-top: 0;
  margin-bottom: 10px;
  font-size: 1.2em;
  color: #ff7f50;
}

/* 入力欄 */
.checkout-card input,
.checkout-card select,
.checkout-card textarea {
  width: 100%;
  padding: 8px 10px;
  margin-bottom: 12px;
  border-radius: 8px;
  border: 1px solid #ffccaa;
  font-size: 14px;
}

/* ボタン */
.checkout-card button {
  background-color: #ff7f50;
  color: white;
  border: none;
  border-radius: 12px;
  padding: 12px;
  font-size: 16px;
  cursor: pointer;
  transition: 0.2s;
}

.checkout-card button:hover {
  background-color: #ff9966;
}

/* 注文概要 */
.order-summary {
  background: #fff0f5;
  border-radius: 12px;
  padding: 20px;
  border: 1px solid #ffb6c1;
}

.order-summary h3 {
  margin-top: 0;
  color: #ff69b4;
}

.order-item {
  display: flex;
  justify-content: space-between;
  margin-bottom: 8px;
}
</style>

<div class="checkout-container">

  <!-- メインフォーム -->
  <div class="checkout-main">

    <!-- 配送先 -->
    <section class="checkout-card">
      <h2>配送先情報</h2>
      <!-- WooCommerce フォーム -->
      <div id="shipping-form">
        <!-- ここに WooCommerce の shipping input をそのまま入れる -->
        [woocommerce_shipping_form]
      </div>
    </section>

    <!-- 配送オプション -->
    <section class="checkout-card">
      <h2>配送オプション</h2>
      <div id="shipping-methods">
        [woocommerce_shipping_methods]
      </div>
    </section>

    <!-- 支払いオプション -->
    <section class="checkout-card">
      <h2>支払い方法</h2>
      <div id="payment-methods">
        [woocommerce_payment_methods]
      </div>
    </section>

    <!-- 注文メモ -->
    <section class="checkout-card">
      <h2>注文メモ</h2>
      <div id="order-notes">
        [woocommerce_order_notes]
      </div>
    </section>

    <!-- 利用規約 -->
    <section class="checkout-card">
      <div id="terms">
        [woocommerce_terms]
      </div>
    </section>

    <!-- 注文確定ボタン -->
    <section class="checkout-card">
      <button type="submit">注文を確定</button>
    </section>

  </div>

  <!-- 注文概要サイドバー -->
  <aside class="checkout-sidebar">
    <div class="order-summary">
      <h3>注文概要</h3>
      <div class="order-item">
        <span>ビーニー (2個)</span>
        <span>¥20</span>
      </div>
      <div class="order-item">
        <span>キャップ (1個)</span>
        <span>¥20</span>
      </div>
      <hr>
      <div class="order-item">
        <strong>小計</strong>
        <strong>¥40</strong>
      </div>
      <div class="order-item">
        <span>手数料</span>
        <span>¥1</span>
      </div>
      <div class="order-item">
        <span>消費税</span>
        <span>¥8</span>
      </div>
      <hr>
      <div class="order-item">
        <strong>合計</strong>
        <strong>¥49</strong>
      </div>
    </div>
  </aside>

</div>






























/* WooCommerce notices をトースト風に */
.woocommerce-error,
.woocommerce-message,
.woocommerce-info {
  list-style: none;
  margin: 0;
  padding: 14px 20px;
  border-radius: 12px;
  font-size: 0.95rem;
  font-weight: 500;
  line-height: 1.6;
  position: fixed;
  top: 20px;
  right: 20px;
  max-width: 320px;
  z-index: 9999;
  animation: slideDownFade 0.6s ease forwards;
  box-shadow: 0 6px 18px rgba(0,0,0,0.1);
  backdrop-filter: blur(6px);
}

/* エラー用（赤ピンク系） */
.woocommerce-error {
  background: linear-gradient(135deg, #ffe0e6, #ffc1d0);
  color: #a12b4a;
  border-left: 6px solid #e25c75;
}

/* 通常メッセージ（グリーン系） */
.woocommerce-message {
  background: linear-gradient(135deg, #e0ffe9, #bdf5cb);
  color: #256b43;
  border-left: 6px solid #45a76e;
}

/* インフォメッセージ（ブルー系） */
.woocommerce-info {
  background: linear-gradient(135deg, #e0f0ff, #bfdfff);
  color: #254b91;
  border-left: 6px solid #4a7fdc;
}

@keyframes slideDownFade {
  0% { transform: translateY(-20px); opacity: 0; }
  100% { transform: translateY(0); opacity: 1; }
}

/* 閉じるボタン */
.woocommerce-notices-wrapper .button {
  background: #fff;
  color: inherit;
  padding: 4px 12px;
  border-radius: 8px;
  margin-left: 10px;
  font-size: 0.8rem;
  text-decoration: none;
  transition: background 0.2s;
}
.woocommerce-notices-wrapper .button:hover {
  background: rgba(255,255,255,0.8);
}







