@charset "utf-8";

/*
theme Name:mutsuno
*/

/* CSS Document */

body{
    font: 14px/1.6 "游明朝", "Yu Mincho", "Hiragino Mincho ProN", "MS PMincho", serif;
    margin:0;
    color:#7e854c;
    overflow-x: hidden; /* 横スクロールバーが表示されないように */
}

/* メニュー開閉時のbodyのスタイル（スクロール禁止） */
body.no-scroll {
    overflow: hidden; /* 縦スクロールバーを非表示 */
}

img{
    outline:none;
    border-style:none;
    vertical-align: bottom; /* 画像下にできる隙間をなくす */
}

html {
    scroll-behavior: smooth!important;
}

a{
    color:#7e854c;
    text-decoration: none; /* リンクの下線を削除 */
    -webkit-transition: all 0.5s;
    -moz-transition: all 0.5s;
    transition: all 0.5s;
}

a:hover {
    color: #bbbbbb;
}

.br-sp{
    display: none;
}


a.nav__link:hover {
    color: #bbbbbb;
}

/* reCAPTCHAバッジをデフォルトで非表示にする */
.grecaptcha-badge {
    visibility: hidden; /* バッジを非表示にする */
    opacity: 0;       /* 透明にする */
    pointer-events: none; /* クリックイベントも無効にする */
    display: none !important; /* 万全を期して強制的に非表示 */
}

/* お問い合わせページ (ID: 136) でのみreCAPTCHAバッジを表示 */
.page-id-136 .grecaptcha-badge {
    visibility: visible;
    opacity: 1;
    pointer-events: auto;
    display: block !important; /* 強制的に表示 */
	margin-bottom:150px;
}

.page-id-23 .grecaptcha-badge {
    visibility: visible;
    opacity: 1;
    pointer-events: auto;
    display: block !important; /* 強制的に表示 */
	margin-bottom:150px;
}
/*****HEADER*****/

/* ロゴの配置 */
.logo {
    position: relative; /* z-indexを有効にするため */
    transform: none;
    width: 210px;
    z-index: 2; /* main-header-barより手前に */
}

header {
    /* header自体はmain-header-barのコンテナ。高さはmain-header-barによって決まる */
    position: relative; /* 必要ならrelative。通常はstaticでも良い */
    width: 100%;
    margin-left: 0;
    height: auto; /* コンテンツに合わせる */
    padding: 0;
    box-sizing: border-box;
}

/* ロゴとナビ（ハンバーガーメニュー）の白い帯部分 */
.main-header-bar {
    position: fixed; /* 画面に固定 */
    top: 0;
    left: 0;
    width: 100%;
    height: 80px; /* デフォルトの高さ */
    background-color: rgba(255, 255, 255, 0.9);
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 0 12%;
    box-sizing: border-box;
    transition: height .6s ease, padding .6s ease, background-color .6s ease;
    z-index: 100; /* 最前面に表示 */
}

/* スクロール時のヘッダーバーのスタイル */
.main-header-bar.scrolled {
    height: 60px;
    padding: 0 8%;
    background-color: rgba(255, 255, 255);
    box-shadow: 0 2px 5px rgba(0,0,0,0.1);
}

/* スクロール時のロゴサイズ */
.main-header-bar.scrolled .logo {
    width: 180px; /* スクロール時のロゴサイズ */
}

/* カートアイコンのリンク */
.cart-icon-link {
    display: flex;
    align-items: center;
    position: relative;
}

/* カートアイコンの画像 */
.cart-icon {
    width: 24px; /* アイコンのサイズを調整 */
    height: auto;
}

/* カート内の商品数を示すバッジ */
.cart-count {
    background-color: #ff0000; /* 背景色 */
    color: #ffffff; /* 文字色 */
    border-radius: 50%;
    font-size: 10px;
    padding: 2px 5px;
    position: absolute;
    top: -5px;
    right: -10px;
    line-height: 1; /* 余分な余白を削除 */
}
/* .fv (ファーストビュー) */
.fv {
    position: relative;
    width: 100%;
    height: 80vh; /* FV画像の高さ */
    overflow: hidden;
    padding-top: 0;
    box-sizing: border-box;
    display: flex; /* Flexboxを有効にして子要素を中央に配置 */
    justify-content: center; /* 水平方向の中央揃え */
    align-items: center; /* 垂直方向の中央揃え */
}

/* FV背景画像用のdiv */
.fv-background {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-size: cover; /* 画像がセクション全体を覆うように */
    background-position: center; /* 画像を中央に配置 */
    background-repeat: no-repeat;
    z-index: -2; /* オーバーレイより奥に配置 */
}

/* FV全体を覆うオーバーレイ */
.fv-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(0, 0, 0, 0.2); /* 半透明の黒で画像を暗くする（調整可能） */
    z-index: -1; /* 背景画像より手前、コンテンツより奥に配置 */
}

/* FVコンテンツ（ロゴとキャッチコピーの全体コンテナ） */
.fv-content {
    position: relative; /* z-indexを有効にするため */
    display: flex; /* ロゴとテキストのコンテナを横並びにする */
    flex-direction: row; /* 横並び (PC/タブレット用) */
    justify-content: space-between; /* 子要素を両端に寄せる */
    align-items: center; /* 垂直方向の中央揃え */
    width: 80%; /* FVコンテンツ全体の幅を調整（調整可能） */
    max-width: 1000px; /* 最大幅を設定 */
    z-index: 0; /* オーバーレイより手前 */
    color: white; /* テキストの色 */
    /* padding はメディアクエリで調整 */
}

/* FV内のロゴ画像コンテナ */
.fv-logo-container {
    flex-shrink: 0; /* 縮まないようにする */
    margin-left: 30px; /* テキストとの間に手動でマージンを設定（調整可能） */
}

/* FV内のロゴ画像 */
.fv-logo {
    width: 300px; 
    height: auto;
    display: block; /* 余白をなくす */
}

/* FV内のキャッチコピーテキストコンテナ */
.fv-text-container {
    flex-grow: 1; /* 利用可能なスペースを埋める */
    text-align: left; /* テキストは左寄せに */
    margin-right: 30px; /* ロゴとの間に手動でマージンを設定（調整可能） */
}

/* FV内のキャッチコピー */
.fv p {
    position: static; /* absoluteを解除し、flexboxのアイテムとして配置 */
    transform: none; /* transformも解除 */
    color: white;
    font-size: 2.3vw;
    line-height: 1.8;
    text-shadow: 1px 1px 5px rgba(0, 0, 0, 0.6);
    margin: 0; /* デフォルトマージンをリセット */
    font-family:"游明朝", "Yu Mincho", "Hiragino Mincho ProN", "MS PMincho", serif;
    z-index: 1; /* オーバーレイより手前 */
    max-width: none; /* 親の幅に合わせるためmax-widthを解除 */
}

/* FVコンテンツが最初から表示されるように上書き */
.fv .fv-content,
.fv .fv-text-container,
.fv .fv-logo-container,
.fv .fv-logo,
.fv .fv-content p {
    opacity: 1 !important; /* 不透明度を1に強制 */
    transform: none !important; /* 動きを無効化 */
    transition: none !important; /* アニメーションも無効化 */
    animation: none !important; /* キーフレームアニメーションも無効化 */
}

/* header_title の位置調整 */
.header_title {
    background-color: #b2b694;
    color: #f7f7f7;
    font-size: 15px;
	font-family: "游明朝", "Yu Mincho", "Hiragino Mincho ProN", "MS PMincho", serif;
    font-weight: normal;
    padding: 12px 0 12px 15%;
    margin-top: 0; /* FVの直後に来るので、基本マージンは不要 */
    letter-spacing: 1px;
    /* FV画像と重ならないように、z-indexなどを調整する必要があるかも */
    position: relative; /* 必要ならz-indexを有効にするため */
    z-index: 1; /* FV画像より手前 */
}

/* ABOUT section styling */
section.about {
    width: 80%;
    max-width: 1000px;
    margin: 70px auto;
    padding: 20px;
    background-color: #ffffff;
    text-align: center;
}

/* 「ABOUT」テキスト */
.about p {
    font-size: 50px;
    font-family: Cinzel;
    color: #7e854c;
    margin-bottom: 5px;
    letter-spacing: 2px;
}

/* 「六野珈琲について」の見出し (h2) */
section.about h2 {
    font-size: 16px;
	font-family: "游明朝", "Yu Mincho", "Hiragino Mincho ProN", "MS Pゴシック", serif;
    color: #7e854c;
    margin-top: -15px;
    margin-bottom: 30px;
    letter-spacing: 2px;
    font-weight: normal;
}

.about_content {
    display: flex;
    align-items: flex-start;
    gap: 40px;
    text-align: left;
}

.about_content img:first-child {
    width: 50%;
    height: auto;
    object-fit: cover;
    display: block;
}

.about_text {
    width: 50%;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    height: 100%;
    padding: 20px;
    background-color: #f7f7f7; /* ロゴを含むこの部分の背景色を薄い灰色に */
    box-sizing: border-box;
    border-radius: 8px;
}

.about_text p {
    font-size: 16px; 
	font-family: "游明朝", "Yu Mincho", "Hiragino Mincho ProN", "MS Pゴシック", serif;
    line-height: 1.8;
    color: #7e854c;
    margin-bottom: 20px;
    letter-spacing: 0.5px;
    float: none;
}

.about_text img:last-child {
    width: 250px;
    height: auto;
    align-self: flex-end;
    margin-top: auto;
    margin-right: 0;
    margin-left: auto;
}

/* POINT section styling */
section.point {
    width: 100%;
    max-width: 100vw;
    margin: 80px auto;
    padding: 70px 20px;
    background-color: #b2b694;
    text-align: center;
}

/* 「point」テキスト */
.point p {
    font-size: 50px;
    font-family: Cinzel;
    color: #ffffff;
    margin-bottom: 5px;
    letter-spacing: 2px;
}

/* 見出し (h2) */
section.point h2 { 
    font-size: 16px; 
	font-family: "游明朝", "Yu Mincho", "Hiragino Mincho ProN", "MS Pゴシック", serif;
    color: #ffffff; /* 色を白に設定 */
    margin-top: -15px;
    margin-bottom: 30px;
    letter-spacing: 2px;
    font-weight: normal;
}

.point_content {
    display: flex; 
    width:80%;
    justify-content: center; /* アイテムを水平方向の中央に配置 */
    gap: 20px; /* アイテム間の隙間 */
    padding: 20px; /* コンテンツ周りの余白 */
    margin: 0 auto;
}

.point_content > div { 
    flex: 1; /* アイテムが利用可能なスペースを均等に占めるようにする */
    background-color: rgba(255, 255, 255, 0.2); /* 白を20%透過 */
    padding: 20px; /* 各ポイントボックス内の余白 */
    border-radius: 10px; /* ボックスの角を少し丸くする */
    display: flex; /* 各ポイント内のコンテンツもFlexboxで管理 */
    flex-direction: column; /* コンテンツを縦方向に並べる */
    align-items: center; /* 各ポイント内でコンテンツを水平方向の中央に配置 */
    text-align: left; /* 各ポイント内のテキストを中央揃えにする */
}

.point_content > div img {
    width: 160px; /* 画像の幅を小さくする (例: 60px) */
    height: auto; /* 比率を維持 */
    margin-bottom: 10px;
}

.point_content .point-text {
    font-size: 16px;
    color: #ffffff;
    line-height: 1.6;
    letter-spacing: 1px;
	font-family: "游明朝", "Yu Mincho", "Hiragino Mincho ProN", "MS Pゴシック", serif;
}

p.point-text {
    margin-top: 20px;
}

/* product section styling */
section.product {
    width: 80%;
    max-width: 1000px;
    margin: 70px auto;
    padding: 20px;
    background-color: #ffffff;
    text-align: center;
}

/* 「PRODUCT」テキスト */
.product p {
    font-size: 16px;
    font-family: "游明朝", "Yu Mincho", "Hiragino Mincho ProN", "MS Pゴシック", serif;
    color: #7e854c;
    margin-bottom: 10px;
    letter-spacing: 2px;
}

/* 見出し (h2) */
section.product h2 {
	font-family: "游明朝", "Yu Mincho", "Hiragino Mincho ProN", "MS Pゴシック", serif;
    font-size: 16px; 
    color: #7e854c;
    margin-top: -15px;
    margin-bottom: 30px;
    letter-spacing: 2px;
    font-weight: normal;
}

/* product section styling */
section.product {
    width: 80%;
    max-width: 1000px;
    margin: 70px auto;
    padding: 20px;
    background-color: #ffffff;
    text-align: center;
}

/* 「PRODUCT」テキスト */
.product .product-title {
    font-size: 50px;
    font-family: Cinzel;
    color: #7e854c;
    margin-bottom: 5px;
    letter-spacing: 2px;
}

/* 見出し (h2) */
section.product h2 {
    font-size: 16px;
	font-family: "游明朝", "Yu Mincho", "Hiragino Mincho ProN", "MS Pゴシック", serif;
    color: #7e854c;
    margin-top: -15px;
    margin-bottom: 40px;
    letter-spacing: 2px;
    font-weight: normal;
}

.goods {
    display: grid;
    grid-template-columns: repeat(4, 1fr); /* 4列、均等幅 */
    gap: 15px; /* グリッドアイテム間の隙間 */
    margin-top: 0px;
}

.contents {
    /* Flexboxコンテナとして設定 */
    display: flex;
    /* 子要素を縦方向に並べる */
    flex-direction: column;
    /* 各アイテムの高さを揃える */
    align-items: stretch;
    /* その他既存のスタイルはそのまま */
    background-color: #ffffff;
    overflow: hidden;
    transition: transform 0.3s ease, opacity 0.3s ease;
}

.contents:hover {
    transform: scale(1.03); /* 1.03倍に少し拡大 */
    opacity: 0.8; /* 80%の透過度（白く透過して見える） */
    box-shadow: 0 5px 15px rgba(0,0,0,0.1); /*影を追加して浮き上がった感じを出す */
}

/* product-image のコンテナと画像自体のスタイル */
/* contents 内の a タグを Flexbox コンテナにし、内部要素を縦に並べます */
.contents a {
    display: flex;
    flex-direction: column;
    height: 100%; /* 親要素の高さに合わせる */
}

/* 画像を囲む新しいコンテナ */
.product-image-container {
    width: 100%;
    height: 180px; /* ★ここで画像の高さを固定。topics-item img と同じ高さ */
    overflow: hidden; /* はみ出した部分を隠す */
    flex-shrink: 0; /* 画像コンテナが縮まないようにする */
}

.contents .product-image {
    width: 100%;
    /* 画像の高さに合わせて調整 */
    height: 180px;
    object-fit: cover; /* 画像がはみ出さないようにトリミング */
    flex-shrink: 0; /* 縮小しないようにする */
}

.contents .product-header {
    display: flex; /* 旗と国名を横並びにする */
    align-items: center; /* 垂直方向の中央揃え */
    width: 100%; /* 親要素の幅いっぱいに広げ、内容を左寄せ */
    justify-content: flex-start; /* 旗と国名を左寄せ */
    margin-bottom: 5px; /* ヘッダーと商品名との間にスペース */
	font-family: Cinzel;
}

.product-info-wrapper {
    /* 残りのスペースを埋める */
    flex-grow: 1;
    display: flex;
    flex-direction: column;
	text-align:left;
	padding:5px;
}

.product-short-description {
    font-size: 14px;
    font-family: "游明朝", "Yu Mincho", "Hiragino Mincho ProN", "MS Pゴシック", serif;
    color: #7e854c;
    line-height: 1.6;
    margin: 5px 0 10px 0;
    text-align: left;
}

p.product-price {
    font-size: 20px;
	text-align:right;
	color:#7e854c;
}

body.page-id-11 .product-short-description {
    font-size: 12px;
	color:#7e854c;
}

.contents .product-name {
    display: flex; /* Flexboxコンテナにする */
    align-items: center; /* 垂直方向の中央揃え */
    gap: 5px; /* タイトルと国旗の間のスペース */
    flex-wrap: wrap; /* 長いテキストを次の行に折り返す */
    width: 100%;
    font-size: 14px;
	font-weight:600;
    font-family: "游明朝", "Yu Mincho", "Hiragino Mincho ProN", "MS Pゴシック", serif;
    color: #7e854c;
    line-height: 1.5;
    margin: 5px 0 5px 0;
    text-align: left;
}

/* 商品タイトルテキストのスタイル */
.product-title-text {
    line-height: 1.5;
}

/* 国旗画像のスタイルを調整 */
.kokki {
    width: 35px; /* 国旗のサイズ */
    height: 20px;
}

/*関連商品*/
section.related.products {
    display:none;
}

/* TOPICS section styling */
section.topics {
    width: 100%;
    max-width: 100vw;
    margin: 70px auto 0;
    padding: 70px 20px 80px;
    background-color: #f1f1f1;
    text-align: center; /* タイトルとボタンを中央揃え */
}

/* 「TOPICS」テキスト */
.topics .topics-title {
    font-size: 50px;
    font-family: Cinzel;
    color: #7e854c;
    margin-bottom: 5px;
    letter-spacing: 2px;
}

/* 見出し (h2) */
section.topics h2 {
    font-size: 16px;
	font-family: "游明朝", "Yu Mincho", "Hiragino Mincho ProN", "MS Pゴシック", serif;
    color: #7e854c;
    margin-top: -15px;
    margin-bottom: 30px;
    letter-spacing: 2px;
    font-weight: normal;
}

.topics-grid { /* トピックス一覧のグリッド */
    width: 1000px;
    margin: 0 auto 40px;
    display: grid;
    grid-template-columns: repeat(4, 1fr); /* 4列、均等幅 */
    gap: 20px 15px; /* グリッドアイテム間の隙間 */
}

.topics-item { /* 各トピックスアイテム */
    background-color: #f7f7f7; /* アイテムの背景色 */
    overflow: hidden; /* 画像がはみ出さないように */
    text-align: left; /* テキストを左寄せ */
    box-shadow: 0 2px 5px rgba(0,0,0,0.1); /* 軽い影を追加 */
    transition: transform 0.3s ease, opacity 0.3s ease, box-shadow 0.3s ease;
}

.topics-item:hover {
    transform: scale(1.03); /* 1.03倍に少し拡大 */
    opacity: 0.8; /* 80%の透過度（白く透過して見える） */
    box-shadow: 0 8px 20px rgba(0,0,0,0.15); /* 影を少し濃くして浮き上がった感じを出す */
}

.topics-image-container {
    position: relative; /* バッジの絶対配置の基準 */
    width: 100%;
    overflow: hidden;
}

.topics-item img {
    width: 100%;
    object-fit: contain; 
    display: block;
}

.topics-item img.logo-fallback-image {
    object-fit: contain; /* ロゴ全体を収める */
    background-color: #d9d9d9; /* 背景色も考慮 */
    opacity:0.7;
    padding: 10px; /* ロゴと枠線の間にパディング */
}

.new-badge {
    position: absolute;
    top: 10px;
    left: 10px;
    background-color: #7e854c; /* NEWバッジの背景色 */
    color: #ffffff;
    font-size: 10px;
    padding: 3px 8px;
    font-weight: bold;
    z-index: 1; /* 画像の上に表示 */
}

.topics-item .topics-date {
    font-size: 12px;
    color: #7e854c; /* 日付の色 */
    margin: 10px 15px 5px 15px; /* 上、左右、下のマージン */
    font-weight: normal;
	font-family: "游明朝", "Yu Mincho", "Hiragino Mincho ProN", "MS PMincho", serif;
}

.topics-item .topics-text {
    font-size: 14px;
    color: #7e854c;
    margin: 0 15px 15px 15px; /* 左右と下のマージン */
    line-height: 1.4;
	font-family: "游明朝", "Yu Mincho", "Hiragino Mincho ProN", "MS PMincho", serif;
}

.topics-button {
    display: inline-block; /* ボタンとして機能させるためにブロック要素化 */
    background-color: #b2b694; /* ボタンの背景色 */
    color: #ffffff;
    padding: 10px 30px;
    text-decoration: none;
    letter-spacing: 1px;
    margin-top: 40px; /* 上の見出しとの間にスペース */
    transition: background-color 0.3s ease;
	font-family: "游明朝", "Yu Mincho", "Hiragino Mincho ProN", "MS PMincho", serif;
}

.topics-button:hover {
    background-color: #777a66; /* ホバー時の色 */
}

.topics-item img.logo-fallback-image {
    object-fit: contain; /* ロゴ全体を収める */
    padding: 10px; 
    background-color: #d9d9d9; /* 背景色も考慮 */
	opacity:0.7;
}

/* shopping-gaid styling */
.shopping-gaid {
    position: relative;
    width: 100%;
    height: 75vh;
    display: flex;
    justify-content: center;
    align-items: center;
    text-align: center;
    color: #ffffff;
    overflow: hidden;
    margin: 0 auto;
}

/* 背景画像用の新しいコンテナ */
.shopping-background {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
    z-index: -2;
    /* デフォルトの背景画像はメディアクエリで設定する */
}

/* オーバーレイのスタイル */
.shopping-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: -1; /* 画像の上、コンテンツの下に配置 */
}

/* コンテンツ（テキスト、ロゴ、ボタン）のz-indexを調整 */
.shopping-content {
    position: relative;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    text-align: center;
    z-index: 1; /* オーバーレイよりも手前に配置 */
    width: 80%; /* コンテンツの幅 */
    max-width: 800px; /* 最大幅 */
    padding: 0 20px; /* 内側のパディング */
    box-sizing: border-box;
}

.gaid-logo {
    width: 50vw; /* ★画面幅の50%の横幅 */
    max-width: 600px; /* ロゴの最大幅（PCなどの大きな画面で大きくなりすぎないように） */
    min-width: 150px; /* ロゴの最小幅（スマホなどの小さな画面で小さくなりすぎないように） */
    height: auto;
    margin-bottom: 10px; /* ロゴとテキストの間のスペース */
    filter: drop-shadow(0 0 5px rgba(0, 0, 0, 0.7)); /* 影を追加 */
}

/* ショッピングガイドのテキストコンテナ */
.shopping-text-container {
    margin-bottom: 30px; /* テキストとボタンの間のスペース */
	font-family: "游明朝", "Yu Mincho", "Hiragino Mincho ProN", "MS Pゴシック", serif;
}

.shopping-gaid .shopping p {
    font-size: 20px;
    line-height: 1.8;
    color: #ffffff;
    margin: 0;
    font-family:"游明朝", "Yu Mincho", "Hiragino Mincho ProN", "MS Pゴシック", serif;
    text-shadow: 1px 1px 5px rgba(0, 0, 0, 0.6);
}

a.shopping-button {
    display: inline-block;
    background-color: rgb(178, 182, 148);
    color: rgb(255, 255, 255);
    letter-spacing: 1px;
    margin-top: 0;
    padding: 10px 30px;
    text-decoration: none;
    transition: background-color 0.3s;
	font-family: "游明朝", "Yu Mincho", "Hiragino Mincho ProN", "MS Pゴシック", serif;
}

.shopping-gaid .shopping-button:hover {
    background-color: #9aa07b;
}

/*プライバシーポリシー*/
section.main_description {
    margin-bottom: 30px;
}

/* プライバシーポリシーページのh3タグに下線と余白を適用 */
.main_description h3 {
    display: inline-block; /* 下線が文字幅のみになるように */
    border-bottom: 1px solid #7e854c; /* 下線の色と太さ */
    padding-bottom: 3px; /* 下線と文字の間の余白 */
    margin-bottom: 10px; /* 見出しと次のコンテンツの間の余白 */
}

/* h4タグより左に位置させるためのスタイル */
.main_description .content ul,
.main_description section ul {
    list-style-type: disc; /* リストのスタイルを維持（黒い丸など） */
    margin-left: 0;        /* 左マージンをリセット */
    padding-left: 1.5em;   /* デフォルトのパディングを維持 */
}

/* h4タグとulの間の余白を調整 */
.main_description .content h4 {
    margin-left: 0;
}

.main_description h4 {
	margin-top:10px;
}
footer{
    font-size: 80%;
    width: 100%;
    text-align: center;
    padding-top: 10px;
    padding-bottom: 10px;
    background-color: #ffffff;
    bottom: 0;
    left: 0;
}

p.copyright {
    color: #7e854c;
}


/*ページトップボタン*/
.page-top {
    position: fixed;
    bottom: 20px;
    right: 20px;
    width: 50px; /* 画像の幅に合わせて調整 */
    height: 50px; /* 画像の高さに合わせて調整 */
	background-size: 50px 50px;
    background-image: url('images/top.png'); /* あなたの画像パスに修正 */
    background-repeat: no-repeat;
    background-position: center;
    border: none;
    cursor: pointer;
    z-index: 999;
    opacity: 0; /* 最初は非表示 */
    visibility: hidden; /* 最初は非表示 */
    transition: opacity 0.3s ease-out, visibility 0.3s ease-out, transform 0.3s ease-out, bottom 0.3s ease-out; /* ここにbottomも追加 */
    /* 色変更アニメーションが不要なため、背景色やテキストの色指定は削除 */
}

.page-top.is-active {
    opacity: 1;
    visibility: visible;
}

/*ふわっとあがる動き*/
/* アニメーションの基本スタイル（共通） */
.fade-in-up {
    opacity: 0;
    transform: translateY(20px);
    transition: opacity 0.8s ease-out, transform 0.8s ease-out;
}

/* アニメーション後の状態（表示され、元の位置に戻る） */
.fade-in-up.is-visible {
    opacity: 1;
    transform: translateY(0);
}

/* --- ハンバーガーメニューのスタイルここから --- */

/* ハンバーガーメニューボタンの基本スタイル（PCでは非表示） */
.hamburger {
  position: fixed;
  top: 20px; /* ★デフォルトの位置（main-header-barが80pxの時の中央付近） */
  right: 15%;
  z-index: 101; /* header, main-header-barより前面 */
  width: 48px;
  height: 48px;
  border: none;
  background: transparent;
  cursor: pointer;
  display: none; /* デフォルトは非表示 */
  transition: top 0.3s ease, right 0.3s ease; /* ★追加: 位置変化をアニメーション */
}

/* スクロール時のハンバーガーメニューの位置 */
.main-header-bar.scrolled .hamburger { 
    top: 10px; 
}
/* ハンバーガーアイコンの線 */
.hamburger__line {
  content: '';
  display: block;
  width: 26px;
  height: 2px;
  background-color: #7e854c;
  position: absolute;
  left: 11px;
  transition: all .4s;
}

.hamburger__line:nth-of-type(1) {
  top: 14px;
}

.hamburger__line:nth-of-type(2) {
  top: 23px;
}

.hamburger__line:nth-of-type(3) {
  top: 32px;
}

/* メニューオープン時 */
.hamburger.active .hamburger__line:nth-of-type(1) {
  transform: translateY(9px) rotate(-45deg);
}

.hamburger.active .hamburger__line:nth-of-type(2) {
  opacity: 0;
}

.hamburger.active .hamburger__line:nth-of-type(3) {
  transform: translateY(-9px) rotate(45deg);
}

/* ナビゲーションメニューの基本スタイル */
.nav {
  position: fixed;
  top: 0;
  left: 0;
  width: 100vw;
  height: 100vh;
  background-color: rgba(178, 182, 148);
  box-shadow: none;
  transform: translateX(-100%);
  transition: transform .4s ease;
  z-index: 90;
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  visibility: hidden;
  opacity: 0;
  transition: transform .4s ease, visibility 0s .4s, opacity .4s;
}

.nav.active {
  transform: translateX(0);
  visibility: visible;
  opacity: 1;
  transition: transform .4s ease, visibility 0s, opacity .4s;
}

.nav__list {
  margin: 0;
  padding: 0;
  list-style: none;
  text-align: center;
}

.nav__item {
  padding: 0;
  margin-bottom: 20px;
}

.nav__item:last-child {
  margin-bottom: 0;
}

.nav__link {
  display: block;
  padding: 15px 0;
  color: #ffffff;
  font-size: 28px;
  text-decoration: none;
  border-bottom: none;
  transition: color 0.3s ease;
  font-family: Cinzel, serif;
}

.nav__link:hover {
  color: #cccccc;
}

/*商品一覧*/

/* page-topics.php の「TOPICS」テキストにもスタイルを適用 */
.product-archive-section .product-title {
    font-size: 50px;
    font-family: Cinzel;
    color: #7e854c;
    margin-bottom: 5px;
    letter-spacing: 2px;
	text-align: center;
}

.product-archive-section h2 {
    font-size: 16px;
	font-family: "游明朝", "Yu Mincho", "Hiragino Mincho ProN", "MS Pゴシック", serif;
    color: #7e854c;
    margin-top: -15px;
    margin-bottom: 50px;
    letter-spacing: 2px;
    font-weight: normal;
	text-align: center;
}

section.product-archive-section.fade-in-up.is-visible {
    max-width: 1000px;
    margin:80px auto;
    padding: 0 10px;
	width: 80%;
}

section.product-archive-section {
	max-width: 1000px;
    margin: 80px auto;
    padding: 0 20px;
	width: 80%;
}
.topics-archive-section {
    margin-top: 0;
    padding-top: 100px; /* ヘッダーの高さなどを考慮して調整 */
}

/*商品ないときのテキスト*/
.no-products-message {
    text-align: center;
    margin: 20px auto; /* 上下20px、左右autoでブロック自体も中央寄せ */
    max-width: 600px; /* 必要であれば幅を制限 */
}

/*soldoutラベル*/
/* 売り切れバッジのスタイル */
.product-image-container {
    position: relative; /* バッジを画像の上に重ねるために必要 */
    overflow: hidden; /* バッジがはみ出さないように */
}

.sold-out-badge {
    position: absolute;
    top: 0px; /* 上からの位置 */
    left: 0px; /* 左からの位置 */
    background-color: #e74c3c; /* 赤系の背景色 */
    color: #fff; /* 白い文字色 */
    padding: 5px 10px;
    font-size: 14px;
    font-weight: bold;
    border-radius: 3px;
    z-index: 10; /* 画像より手前に表示 */
    white-space: nowrap; /* テキストが改行されないように */
}

/* 売り切れ商品の画像を少し暗くしたい場合 */
.product-image-container.sold-out::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(0, 0, 0, 0.5); /* 半透明の黒で画像を暗く */
    z-index: 5;
}

/* 商品詳細ページの在庫切れ表示 */
.single-product-sold-out-large {
    color: #e74c3c; /* 赤系の色 */
    font-size: 2.5em; /* 非常に大きく表示 */
    font-weight: bold;
    text-align: center; /* 中央寄せ */
    margin-top: 20px;
    margin-bottom: 20px;
}

/* ページネーションのスタイル */
.navigation.pagination {
    margin-top: 40px; /* 上部の余白 */
    text-align: center; /* 全体を中央揃え */
}

/* ナビリンクコンテナ */
.nav-links {
    display: flex; /* ボタンをFlexboxで横並びにする */
    justify-content: center; /* ボタン群を中央に配置 */
    align-items: center; /* 垂直方向の中央揃え */
    list-style: none; /* リストのスタイルをなくす */
    padding: 0;
    flex-wrap: wrap; /* 必要に応じて改行 */
}

/* 各ページ番号/リンクボタンの共通スタイル */
.pagination .page-numbers {
    display: inline-block;
    padding: 10px 15px;
    background-color: #b2b694;
    color: #ffffff;
    text-decoration: none;
    border-radius: 5px;
    transition: background-color 0.3s ease;
    font-size: 14px;
    white-space: nowrap;
    font-family: 游明朝, "Yu Mincho", "Hiragino Mincho ProN", "MS PMincho", serif;
    margin: 5px; /* 各ボタンの上下左右に均等なマージンを設定 */
}


/* 現在のページ番号（アクティブ）のスタイル */
.pagination .page-numbers.current {
    pointer-events: none; /* クリック不可にする */
    background: #777a66;
    color: #fff; /* 白文字 */
    border-color: #777a66;
}

/* ホバー時のスタイル（非アクティブなボタンのみ） */
.pagination .page-numbers:not(.current):hover {
    background: #777a66;
    color: #fff; /* 白文字 */
    border-color: #777a66;
}

/* 省略記号 (...) のスタイル */
.pagination .page-numbers.dots {
    background: none; /* 背景色なし */
    border: none; /* ボーダーなし */
    color: #313131; /* 文字色（黒） */
    font-size: 20px; /* 文字サイズ */
    font-weight: bold; /* 太字 */
    cursor: default; /* カーソルをデフォルトに */
    padding: 0; /* パディングをなくす */
    width: auto; /* 幅を自動調整 */
}

/* product-navigation (商品詳細ページ) のスタイルはそのまま活用 */
.post-navigation.product-navigation {
    width: 80%; /* .product-wrapper と同じ幅に */
    max-width: 960px; /* .product-wrapper と同じ最大幅に */
    margin: 40px auto 0; /* 上部の余白と中央寄せ */
    padding: 20px; /* 内側の余白 */
    text-align: center;
}

.post-navigation.product-navigation .nav-links {
    display: flex;
    justify-content: center; /* 前後ボタンと中央ボタンの配置 */
    align-items: center;
    gap: 20px; /* ボタン間の隙間（PC用） */
}

/* single-product.php のナビゲーションボタンのスタイル */
.post-navigation.product-navigation a.page-numbers {
    display: inline-block;
    padding: 10px 15px;
    background-color: #b2b694;
    color: #ffffff;
    text-decoration: none;
    border-radius: 5px;
    transition: background-color 0.3s ease;
    font-size: 14px;
    white-space: nowrap;
}

/* リンクがない場合の非表示も適用 */
.post-navigation.product-navigation .nav-prev:empty,
.post-navigation.product-navigation .nav-next:empty {
    visibility: hidden;
}

/*topics一覧のTOPに戻るボタン*/
.post-navigation .nav-links.nav-links-single-page {
    justify-content: center;
}

/* 念のため、中の nav-list も中央に */
.post-navigation .nav-links.nav-links-single-page .nav-list {
    justify-content: center;
    width: auto;
    flex-grow: 0;
}

/*商品詳細ページ*/
/* single-product.php 用のスタイル */

#single-product-content {
    width: 100%; /* 幅を100%に */
    max-width: none; /* 最大幅を解除 */
    margin: 0px 0 80px; /* ヘッダーの高さとフッターとの間に余白を設ける */
    padding:50px 20px;
    background-color: #f1f1f1; 
    box-shadow: none; /* 影を解除 */
}

.product-wrapper {
    width: 80%;
    max-width: 960px;
    margin: 100px auto; /* 中央寄せ */
    padding: 40px 20px; /* 内側のパディング */
	background-color: #c3c7a6;
    box-sizing: border-box;
}

p.post-date {
    margin: 0 20px 0 0;
}


/* single.php (一般的な投稿) のコンテンツ表示を1カラムにする */
#single-post-content { /* single.phpのmainタグのID */
    width: 100%;
    max-width: none;
    margin: 0;
    padding:50px 20px;
    background-color: #bbbea882;
    box-shadow: none;
}

.product-wrapper { /* single.php の記事を囲むコンテナ */
    width: 80%; /* コンテンツの最大幅をここで調整 */
    max-width: 960px; /* 最大幅を960pxに設定 */
    margin: 100px auto; /* 中央寄せ */
    padding: 40px 20px; /* 内側のパディング */
    background-color: #cfd1be; /* 背景色 */
    box-sizing: border-box;
}

.product-detail-container { /* 画像と基本情報のコンテナ */
    display: flex; /* Flexboxを使って子要素を横並びにする */
    align-items: flex-start; /* 上端揃え */
    gap: 40px; /* 画像と情報エリアの間のスペース */
    margin-bottom: 30px; /* 下に余白 */
    flex-wrap: wrap; /* 小さい画面で折り返す */
}

/* single.php 用のメインタイトル (h1) */
.single-product-main-title { /* single.phpのタイトルに適用されるクラス */
    width: 100%;
    font-size: 30px;
    font-family: "游明朝", "Yu Mincho", "Hiragino Mincho ProN", "MS Pゴシック", serif;
    color: #ffffff;
    margin-bottom: 30px;
    text-align: center;
    order: -1; /* Flexアイテムの順序を一番最初にする */
    letter-spacing: 1px;
}

.product-image-area { /* 画像部分 */
    flex: 0 0 45%; /* 画像エリアの幅を固定 (例: 45%) */
    max-width: 45%;
    text-align: center;
}

.product-image-area img {
    max-width: 100%;
    height: auto;
    display: block;
    margin: 0 auto; /* 中央寄せ */
    border: 1px solid #eee; /* 既存のボーダーとパディングを維持 */
    padding: 5px;
}

.product-info-area { /* 価格、数量、ボタン、既存のメタ情報、フレーバー評価 */
    flex: 1; /* 残りのスペースを埋める */
    display: flex;
    flex-direction: column; /* 内容を縦に並べる */
    justify-content: flex-start;
    align-items: flex-start; /* 全体を左寄せ */
	margin-top:50px;
}

/* 価格表示 */
.product-info-area .product-price { /* single-product.php内の価格表示 */
    font-size: 1.8em; /* 価格の文字サイズを調整 */
    color: #ffffff;
    margin-bottom: 20px; /* 下に余白 */
    margin-top: 0; /* 上マージンをリセット */
}
/* 価格部分の売り切れテキストのスタイル */
.price-sold-out-text {
    color: #7e854c; 
    font-weight: bold;
    font-size: .925em; /* 少し大きめに */
    /* 必要に応じて他のスタイルを追加 */
}

/* 数量入力と買い物かごボタン */
.product-add-to-cart {
    display: flex;
    align-items: center;
    gap: 15px; /* 数量とボタンの間のスペース */
    margin-top: 15px;
    margin-bottom: 30px; /* 下に余白 */
}

.product-add-to-cart label {
    color: #b2b694; /* 色を調整 */
    font-size: 1.1em;
	font-family: "游明朝", "Yu Mincho", "Hiragino Mincho ProN", "MS Pゴシック", serif;
}

.product-add-to-cart .input-quantity {
    width: 70px; /* 数量入力欄の幅 */
    padding: 8px 10px;
    border: 1px solid #eee;
    border-radius: 5px;
    font-size: 1em;
    text-align: center;
	font-family: "游明朝", "Yu Mincho", "Hiragino Mincho ProN", "MS Pゴシック", serif;
}

.product-add-to-cart .add-to-cart-button {
    background-color: #b2b694; /* ボタンの背景色 */
    color: white;
    padding: 12px 20px;
    border: none;
    border-radius: 5px;
    cursor: pointer;
    font-size: 1.1em;
	font-family: "游明朝", "Yu Mincho", "Hiragino Mincho ProN", "MS Pゴシック", serif;
    transition: background-color 0.3s ease;
    white-space: nowrap; /* テキストの折り返しを防ぐ */
}

.product-add-to-cart .add-to-cart-button:hover {
    background-color: #6a713e;
}

/* 既存の .product-meta の位置は変わるので、必要なら調整 */
.product-info-area .product-meta {
    width: 100%; /* 親要素の幅いっぱいに広げる */
    color: #7e854c; /* メタ情報の文字色を調整 */
    border-bottom: 1px solid #eee;
    padding-bottom: 10px;
    margin-bottom: 20px; /* 下に余白 */
}

.product-info-area .country-detail, .product-info-area .roast-date {
    color: #7e854c;
    font-size: 16px;
	font-family: "游明朝", "Yu Mincho", "Hiragino Mincho ProN", "MS Pゴシック", serif;
}

/* 既存の .product-flavor-ratings の位置も調整 */
.product-info-area .product-flavor-ratings {
    width: 100%; /* 親要素の幅いっぱいに広げる */
    margin-top: 0; /* 上マージンをリセット */
    margin-bottom: 10px; /* 下に余白 */
}
.product-info-area .flavor-label {
    color: #7e854c; /* フレーバー評価のラベル色を調整 */
	font-family: "游明朝", "Yu Mincho", "Hiragino Mincho ProN", "MS Pゴシック", serif;
}


/* 商品の詳細説明エリア */
.product-description-area {
    margin-top: 40px; /* 上部に大きな余白 */
    width: 100%; /* product-wrapperの幅に合わせる */
}
.product-description-area .product-content {
    color: #b2b694; /* 詳細説明の文字色も調整 */
	font-family: "游明朝", "Yu Mincho", "Hiragino Mincho ProN", "MS Pゴシック", serif;
}

#single-product-content .product-meta { 
    display: flex;
    justify-content: flex-start;
	color: rgb(242, 242, 247); /* single-product.php で使いたい色 */
    align-items: center;
    margin-bottom: 20px;
    border-bottom: 1px solid #eee; /* single-product.php で維持したいボーダー */
    padding-bottom: 10px;
}
.country-detail {
    font-size: 16px;
	font-family: "游明朝", "Yu Mincho", "Hiragino Mincho ProN", "MS Pゴシック", serif;
    color: #b2b694;
    font-weight: normal;
    display: flex;
    align-items: center; /* 垂直方向の中央揃え */
    gap: 10px; /* テキストと画像の間隔 (調整可能) */
	margin-right: 20px;
}

/* single-product.php の国旗画像の微調整 */
.product-header-detail .kokki {
    width: 30px;
    height: 20px;
    vertical-align: middle; /* 念のため */
}

.roast-date {
    font-size: 16px;
	font-family: "游明朝", "Yu Mincho", "Hiragino Mincho ProN", "MS Pゴシック", serif;
    color: #b2b694; 
}

p.roast-date {
    margin-bottom: 0 !important;
}
.product-content {
    font-size: 16px;
	font-family: "游明朝", "Yu Mincho", "Hiragino Mincho ProN", "MS Pゴシック", serif;
    line-height: 1.8;
    color: #b2b694; 
}
/* product-flavor-ratings のスタイル */
.product-flavor-ratings {
    margin-top: 20px; /* 必要に応じて調整 */
    margin-bottom: 20px; /* 必要に応じて調整 */
}

.flavor-rating {
    display: flex;
    align-items: center;
    margin-bottom: 10px;
}

.flavor-label {
    margin-right: 10px;
    min-width: 50px;
    color: #ffffff; /* 白に変更 */
    font-size: 16px;
}

.rating-stars {
    display: flex;
    gap: 5px; /* 丸と丸の間のスペース */
}

.rating-stars .star {
    display: inline-block;
    width: 15px; /* 丸のサイズ */
    height: 15px; /* 丸のサイズ */
    border-radius: 50%; /* 丸にする */
    background-color: #b3b3b3; /* 埋まっていない丸の色を少し濃いグレーに */
    border: 1px solid #999; /* 丸の境界線 */
}

.rating-stars .star.filled {
    background-color: #d18a41; /* 埋まっている丸の色 (添付画像のようなオレンジ色) */
    border-color: #b37330; /* 埋まっている丸の境界線 */
}


/*買い物かごを見る、買い物を続けるボタン*/
button#continue-shopping-button {
    background-color: #b2b694;
    color: white;
    padding: 12px 20px;
    border: none;
    border-radius: 5px;
    cursor: pointer;
    font-size: 1.1em;
    font-family: "游明朝", "Yu Mincho", "Hiragino Mincho ProN", "MS Pゴシック", serif;
    transition: background-color 0.3s ease;
    white-space: nowrap;
}

button#go-to-cart-button {
    background-color: #b2b694;
    color: white;
    padding: 12px 20px;
    border: none;
    border-radius: 5px;
    cursor: pointer;
    font-size: 1.1em;
    font-family: "游明朝", "Yu Mincho", "Hiragino Mincho ProN", "MS Pゴシック", serif;
    transition: background-color 0.3s ease;
    white-space: nowrap;
}

div#myCartModal {
    width: 100%;
    text-align: center;
    margin: 0 auto 50px;
}

/*購入手続きのページ*/
/* チェックアウトページのカスタムメッセージのスタイル調整 */
p.mutsuno-order-confirm-message {
    display: block; /* ブロック要素として表示 */
    width: 100%;    /* 親要素の幅いっぱいに広げる */
    clear: both;    /* 左右のフロートを解除して次の行に移動 */
    margin-bottom: 1em !important; /* ボタンとの間にスペースを追加 */
    box-sizing: border-box; /* パディングやボーダーを幅に含める */
}

.wc-block-components-checkout-place-order-button-wrapper { /* クラス名は開発者ツールで確認 */
    flex-wrap: wrap; /* 子要素が複数行になることを許可 */
    flex-direction: column-reverse; /* 逆順に並べてメッセージをボタンの上に表示 */
    align-items: center; /* 中央寄せ */
}

.post-navigation.product-navigation {
    width: 80%; /* .product-wrapper と同じ幅に */
    max-width: 960px; /* .product-wrapper と同じ最大幅に */
    margin: 40px auto 0; /* 上部の余白と中央寄せ */
    padding: 20px; /* 内側の余白 */
    text-align: center;
}

.post-navigation.product-navigation .nav-links {
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 15px;
}

.post-navigation.product-navigation .nav-prev,
.post-navigation.product-navigation .nav-next,
.post-navigation.product-navigation .nav-list {
    flex-grow: 1;
    flex-basis: 0;
    text-align: center;
}

/* single-product.php のナビゲーションボタンのスタイル */
.post-navigation.product-navigation a.page-numbers {
	display: inline-block;
	max-width: 250px;
    padding: 10px 15px;
    background-color: #b2b694;
    color: #ffffff;
    text-decoration: none;
    border-radius: 5px;
    transition: background-color 0.3s ease;
    font-size: 14px;
    white-space: nowrap;
}

.post-navigation.product-navigation a.page-numbers:hover {
    background-color: #6a713e; /* ホバー時の色を少し濃く */
    color: #ffffff;
    border-color: #6a713e;
}

/* リンクがない場合の非表示も適用 */
.post-navigation.product-navigation .nav-prev:empty,
.post-navigation.product-navigation .nav-next:empty {
    visibility: hidden;
}

body.category-26 {
	margin:100px auto;
}

body.category-2 {
	margin:100px auto 0;
}

p.current-category {
    text-align: center;
    margin-bottom: 30px;
}

/*Woocommerce*/
ul.woocommerce-error {
    display: none;
}

/*利用規約*/
.wp-block-table.is-style-stripes tbody tr:nth-child(odd) {
    background-color: #ffffff;
}

.guide_text {
    font-size: 1em;
	margin-bottom:40px;
}

/* パンくずリスト全体のスタイル */
.woocommerce-breadcrumb {
	font-size: .92em;
    margin: 120px auto 0;
    padding: 0 20px;
    font-size: 14px;
    color: #7e854c;
    max-width: 90%;
    text-align: left;
}

/* リンクのスタイル */
.woocommerce-breadcrumb a {
    color:#7e854c;
}

.wc-block-components-button__text {
    color: #ffffff;
}

/* セパレーター（区切り文字）のスタイル */
.woocommerce-breadcrumb .delimiter {
    padding: 0 5px; /* 区切り文字の左右の余白 */
    color: #7e854c;
}

.woocommerce .quantity .qty {
    width: 4em;
    text-align: center;
    padding: 5px;
	display:block;
	color:#7e854c;
}
/* 数量増減ボタンが常に表示されるようにする */
.woocommerce div.product form.cart .quantity .quantity-button {
    display: inline-block !important;
}
.woocommerce:where(body:not(.woocommerce-uses-block-theme)) .woocommerce-breadcrumb {
	font-size: .92em;
    color: #7e854c;
    margin: 100px auto 0;
    padding: 0 20px;
    font-size: 14px;
    max-width: 90%;
    text-align: left;
}

.woocommerce:where(body:not(.woocommerce-uses-block-theme)) .woocommerce-breadcrumb a {
    color: #7e854c;
}

.woocommerce div.product .woocommerce-tabs .panel {
    margin: 0 0 2em;
    padding: 0;
    color: #7e854c;
}
.woocommerce #review_form #respond p {
    margin: 0 0 10px;
    color: #7e854c;
}
span.posted_in {
    color: #7e854c;
}
p.woocommerce-noreviews {
    color: #7e854c;
}
.woocommerce-error, .woocommerce-info, .woocommerce-message {
	padding: 1em 3em;
	margin: 25px 0 .245em;
	position: relative;
	background-color: #b2b694;
	color: #ffffff;border-top: 3px solid #b2b694;
	list-style: none outside;
	width: auto;
	word-wrap: break-word;
}


.woocommerce-message::before {
    content: "\e015";
    color: #e4ff7d;
}
.woocommerce-message{
	font-size:15px;
}

/* WooCommerceメッセージのネストされた要素から、チェックマークを削除 */
.woocommerce-message .woocommerce-message::before {
    content: none !important;
    display: none !important;
}

input#quantity_68944b481de17 {
    margin-bottom: 15px;
}

button.single_add_to_cart_button.button.alt {
    margin-top: 15px;
    margin-bottom: 15px;
}
.woocommerce div.product form.cart {
    margin-bottom: .375em;
}

article#post-22 {
    margin: 20px auto 160px;
    padding: 0 20px;
    width: 80%;
	height:auto;
}

article#post-23 {
    margin: 20px auto 140px;
    padding: 0 20px;
    width: 80%;
	height:auto;
}

article#post-25 {
    margin: 20px auto 140px;
    padding: 0 20px;
    width: 80%;
	height:auto;
}

article#post-118 {
    margin: 20px auto 160px;
    padding: 0 20px;
    width: 80%;
	height:auto;
}
.wc-block-grid__product-title {
    color: #000000;
}

article#post-30 {
	margin: 120px 0;
	padding:0 20px;
}

article#post-68 {
    margin: 160px auto;
    padding: 0 20px;
    width: 80%;
	height:auto;
}

article#post-24 {
    margin: 20px auto 140px;
    padding: 0 20px;
    width: 80%;
	height:auto;
}

article#post-21 {
    margin: 20px auto 160px;
    padding: 0 20px;
    width: 80%;
	height:auto;
}

address {
    font-style: normal;
}
/*商品ページ*/
.woocommerce div.product {
    width: 80%;
    margin: 20px auto 100px;
    position: relative;
    padding: 0 20px;
}

h1.product-title.single-product-main-title {
    font-size: 26px;
	font-family: "游明朝", "Yu Mincho", "Hiragino Mincho ProN", "MS PMincho", serif;
}

button.single_add_to_cart_button.button.alt {
	background-color:#b2b694;
}

button.single_add_to_cart_button.button.alt:hover {
	background-color:#777a66;
}

button.single_add_to_cart_button.button.alt.disabled.wc-variation-selection-needed {
    background-color: #7e854c;
}

button.single_add_to_cart_button.button.alt.disabled.wc-variation-selection-needed:hover {
	background-color:#777a66;
}
/*豆の状態*/
.woocommerce div.product form.cart .variations select {
    max-width: 100%;
    min-width: 75%;
    display: inline-block;
    margin-right: 1em;
	border: 1.2px solid #7e854c;
	border-radius:3px;
	color:#7e854c;
	padding-left:10px;
}

.woocommerce div.product form.cart .variations {
    margin-bottom: .5em;
    margin-left: 0;
    border: 0;
    width: 70%;
    text-align: left;
}

.woocommerce div.product form.cart .variations label {
    font-weight: normal;
    text-align: left;
	margin-right:10px;
}

.woocommerce div.product form.cart .variations tr {
    margin-bottom: 15px; /* 行の下に余白を追加 */
    display: block;      /* margin-bottomを適用させるためブロック要素に指定 */
}

/* ラベルと入力欄のセルに縦パディングを追加（見やすくするため） */
.woocommerce div.product form.cart .variations th,
.woocommerce div.product form.cart .variations td {
    padding: 5px 0;
}

/*商品コード*/
span.sku_wrapper {
    display: none;
}
.woocommerce div.product form.cart .reset_variations {
    visibility: hidden;
    font-size: .83em;
    display: none;
}
.woocommerce div.product .product_title {
    color: #7e854c;
    clear: none;
    margin-top: 0;
    padding: 0;
}
.woocommerce div.product form.cart div.quantity {
    float: left;
    margin: 15px 10px 15px 0;
    border: 1px solid;
}
.woocommerce #reviews #comments h2 {
    font-size: 22px;
    clear: none;
	color:#7e854c;
}

a.button.product_type_simple.add_to_cart_button.ajax_add_to_cart {
    color: #ffffff;
	background-color:#b2b694;
}
a.button.product_type_simple {
	color: #ffffff;
	background-color:#b2b694;
}
div#sidebar {
    display: none;
}

.woocommerce:where(body:not(.woocommerce-uses-block-theme)) div.product p.price, .woocommerce:where(body:not(.woocommerce-uses-block-theme)) div.product span.price {
    color: #7e854c;
    font-size: 1.8em;
}

p.woocommerce-product-details__short-description{
	font-size:18px;
}

.woocommerce #reviews #comment {
    height: 75px;
    border: 1px solid #7e854c;
    border-radius: 5px;
}

.wc-block-grid.wp-block-product-new.wp-block-woocommerce-product-new.wc-block-product-new.has-4-columns {
    display: none;
}

hr.wp-block-separator.has-alpha-channel-opacity.is-style-dots {
    display: none;
}
.woocommerce-cart .wp-block-heading.has-text-align-center:last-of-type {
    display: none !important;
}

h2.wp-block-heading.has-text-align-center.with-empty-cart-icon.wc-block-cart__empty-cart__title {
    margin: 100px auto;
}

.woocommerce table.shop_attributes td {
    font-style: normal;
    padding: 0;
    border-top: 0;
    border-bottom: 1px dotted rgba(0, 0, 0, .1);
    margin: 0;
    line-height: 1.5;
}


/* 在庫切れのテキストを大きく表示するCSS */
.woocommerce div.product p.stock.out-of-stock {
    font-size: 1.5em; /* お好みのフォントサイズに調整 */
    color: #7e854c;
    font-weight: bold; /* 太字にする */
    margin-top: 15px; /* 上の要素との間隔 */
    /* 必要に応じて他のスタイルを追加 */
}

/* 通常の在庫表示（在庫あり）のスタイル（もし必要なら） */
.woocommerce div.product p.stock.in-stock {
    font-size: .92em; /* デフォルトのサイズに戻すか、お好みのサイズに */
    color: #7e854c; /* デフォルトの色に戻すか、お好みの色に */
    font-weight: normal;
}
/*買い物かごページ*/

body.single-product h1.product_title {
    /* ここに商品詳細ページの商品名に適用したいスタイルを記述 */
    color: #7e854c; /* 例: 商品名の色 */
    font-size: 2em; /* 例: フォントサイズ */
    font-weight: bold; /* 例: 太字 */
	text-align:left;
	margin-bottom: 15px;
}

.wc-block-cart-item__prices {
    display: none;
}

.wc-block-components-product-details__attribute-pa-grind {
    display: none;
}
/*
 * その他のページ (`h1.entry-title`) のスタイル
 * archive-post.php や page-topics.php などに適用
 */
h1.entry-title {
    font-size: 38px;
    color: #7e854c;
    margin-bottom: 65px;
	margin-top:50px;
    letter-spacing: 2px;
    text-align: center;
}


.wp-block-woocommerce-cart-cross-sells-block {
    display: none;
}

/* すべてのページでボタンを表示する */
#return-button {
    display: block !important;
	text-align: center;
}

/* 投稿IDが23のページでのみボタンを非表示にする */
body.postid-23 #return-button {
    display: none!important;
}

#return-button a.button {
    padding: 10px 15px;
    background-color: #b2b694;
    color: #ffffff;
    text-decoration: none;
    border-radius: 5px;
    transition: background-color 0.3s ease;
    font-size: 14px;
    white-space: nowrap;
    font-family: 游明朝, "Yu Mincho", "Hiragino Mincho ProN", "MS PMincho", serif;
    width: 200px;
    box-sizing: border-box;
	display:block;
}

/*手続きページ*/
.wc-block-components-main.wc-block-checkout__main.wp-block-woocommerce-checkout-fields-block {
    margin-bottom: 100px;
}

.woocommerce .woocommerce-customer-details .additional-fields:last-child, .woocommerce .woocommerce-customer-details .addresses:last-child {
    margin-bottom: 100px;
}

/*完了ページ*/
p.woocommerce-notice.woocommerce-notice--success.woocommerce-thankyou-order-received {
    margin-bottom: 30px;
}

h2.woocommerce-order-details__title {
    margin-bottom: 20px;
}

h2.woocommerce-column__title {
    margin-bottom: 20px;
}

/* archive-product.php のページにのみ適用されるスタイル */
.post-type-archive-product .post-navigation {
    width: 80%;
    max-width: 960px;
    margin: 80px auto 0; /* 余白を調整 */
    padding: 20px;
    text-align: center;
}
/* single-product.php内のメインコンテンツエリアの幅を調整 */
.woocommerce #content div.product .summary,
.woocommerce div.product .summary {
    width: 30%; /* サマリー部分の幅 */
    float: right;
    margin-bottom: 2em;
}

/* 説明部分を全幅にする */
.woocommerce-tabs {
    clear: both; /* フロートを解除して全幅にする */
    width: 100%;
    margin-top: 2em;
}

.is-large.wc-block-cart .wc-block-cart-items th {
    padding: 8px 16px 8px 0;
    white-space: nowrap;
    font-size: 14px;
}

h2.wp-block-woocommerce-cart-order-summary-heading-block.wc-block-cart__totals-title {
    font-size: 14px;
}
tr.wc-block-cart-items__row {
    border-bottom: 1px dashed;
	display:table-row!important;
}
td.wc-block-cart-item__image {
    width: 150px;
}
.wc-block-components-button:not(.is-link) {
    align-items: center;
    display: inline-flex;
    height: auto;
    justify-content: center;
    position: relative;
    text-align: center;
    transition: box-shadow .1s linear;
    background-color: #b2b694;
}

/*topics一覧*/

section.topics-archive-section.fade-in-up.is-visible {
    margin: 20px auto 50px;
    padding: 0 20px;
    text-align: center;
}
.topics-archive-section .topics-title {
    font-size: 50px;
    font-family: Cinzel;
    color: #7e854c;
    margin-bottom: 5px;
	margin-top:50px;
    letter-spacing: 2px;
}

.topics-archive-section h2 {
    font-size: 16px;
    color: #7e854c;
	font-family: "游明朝", "Yu Mincho", "Hiragino Mincho ProN", "MS Pゴシック", serif;
    margin-top: -15px;
    margin-bottom: 50px;
    letter-spacing: 2px;
    font-weight: normal;
}

/*トピックスの詳細記事*/
.single-post-container {
    display: flex; /* Flexboxを有効にして子要素を横並びにする */
    justify-content: center; /* コンテンツとサイドバーを中央に寄せる */
    align-items: flex-start; /* 上端を揃える */
    width: 80%; /* 最大幅の指定（topics-wrapperとsidebarの合計幅を考慮） */
    max-width: 1200px; /* 必要に応じて調整 */
    margin: 20px auto 80px; /* 中央寄せと上下の余白 */
    gap: 40px; /* コンテンツとサイドバーの間の隙間 */
    box-sizing: border-box;
    padding: 0 20px; /* 左右の余白 */
}

/* 投稿コンテンツ本体の幅調整 */
.topics-wrapper {
    width: 70%; /* 投稿コンテンツが占める幅 */
    max-width: 1300px; /* 必要に応じて調整 */
    padding: 40px 20px; /* 内側のパディング */
    background-color: #f1f2f0; /* 投稿エリアの背景色 */
    box-sizing: border-box;
}

/* サイドバーのスタイル */
.single-sidebar {
    width: 30%; /* サイドバーが占める幅 */
    max-width: 300px; /* 必要に応じて調整 */
    padding: 20px; /* 内側のパディング */
    background-color: #f1f2f0; /* サイドバーの背景色 */
    box-shadow: 0 2px 5px rgba(0,0,0,0.1); /* 軽い影 */
    box-sizing: border-box;
}

section#block-10 {
	font-family: "游明朝", "Yu Mincho", "Hiragino Mincho ProN", "MS PMincho", serif;
    font-size: 14px;
    color: #7e854c;
    border-bottom: 1px solid;
    margin-bottom: 15px;
}


/* ウィジェットタイトルのスタイル */
.single-sidebar .widget-title {
    font-size: 16px;
	font-family: "游明朝", "Yu Mincho", "Hiragino Mincho ProN", "MS PMincho", serif;
    color: #7e854c; /* テーマカラーに合わせる */
    margin-bottom: 15px;
    border-bottom: 1px solid #eee;
    padding-bottom: 5px;
}

/* 各ウィジェットのスタイル */
.single-sidebar .widget ul {
    list-style: none;
    margin: 0;
    padding: 0;
}

.single-sidebar .widget ul li {
    margin-bottom: 10px;
    padding-bottom: 5px;
    border-bottom: 1px dashed #c3c7a6; /* 薄い点線の下線 */
}

.single-sidebar .widget ul li a {
    color: #7e854c;
    text-decoration: none;
    display: block;
    font-family: "游明朝", "Yu Mincho", "Hiragino Mincho ProN", "MS PMincho", serif;
    font-weight: bold;
}

.single-sidebar .widget ul li a:hover {
    color: #7e854c /* ホバー時の色 */;
}

section#block-7 {
    margin-bottom: 30px;
}

/* カレンダーウィジェットの微調整 */
.single-sidebar .widget_calendar {
    text-align: center;
	margin-bottom:25px;
}
.single-sidebar .widget_calendar caption {
    font-size: 1.2em;
    font-weight: bold;
    color: #7e854c;
    margin-bottom: 10px;
	font-family: 游明朝, "Yu Mincho", "Hiragino Mincho ProN", "MS Pゴシック", serif;
}
.single-sidebar .widget_calendar table {
    width: 100%;
    border-collapse: collapse;
	color:#7e854c;
}
.single-sidebar .widget_calendar th,
.single-sidebar .widget_calendar td {
    padding: 5px;
    border: 1px solid #ddd;
    font-size: 0.9em;
}
.single-sidebar .widget_calendar td a {
    font-weight: bold;
    color: #7e854c;
}
.single-sidebar .widget_calendar #today {
    background-color: #b2b694; /* 今日の日付の背景色 */
    color: #ffffff;
}

/* カテゴリーウィジェットのスタイル */
h2.wp-block-heading {
    font-size: 1rem;
    color: #7e854c;
	font-family: "游明朝", "Yu Mincho", "Hiragino Mincho ProN", "MS PMincho", serif;
}
section#block-11 {
    border-bottom: 1px solid #7e854c;
    margin-bottom: 10px;
}

/* サイドバーの「最近の投稿」ブロックの上の余白を調整 */
#block-3 .wp-block-group {
    margin-top: 0 !important; /* margin-top を 0 に設定し、!important で強制的に適用 */
}

#block-26 .wp-block-group {
    margin-bottom: 0 !important;
}
/* --- 月別アーカイブのリストを2列にするための修正 --- */

/* 親要素 (<ul>) のスタイル調整 */
/* テーマの既存スタイルをリセットし、Flexboxを適用 */
.widget_block .wp-block-archives-list,
.wp-block-widget-area .wp-block-archives-list { /* テーマによっては .wp-block-widget-area が親になる可能性も考慮 */
    display: flex !important; /* Flexboxを強制適用 */
    flex-wrap: wrap !important; /* 折り返しを強制 */
    justify-content: space-between !important; /* アイテム間のスペースを均等に (必要であれば) */

    list-style: none !important; /* デフォルトのリストマーカーを非表示に強制 */
    padding: 0 !important; /* パディングをリセット */
    margin-top: 0 !important; /* 上マージンをリセット */
    margin-bottom: 0 !important; /* 下マージンをリセット */
    margin-left: -5px !important; /* アイテム間の隙間調整用（必要に応じて調整） */
    margin-right: -5px !important; /* アイテム間の隙間調整用（必要に応じて調整） */
}

/* 各リストアイテム (<li>) のスタイル調整 */
/* テーマの既存スタイルをリセットし、2列の幅を適用 */
.widget_block .wp-block-archives-list li,
.wp-block-widget-area .wp-block-archives-list li {
    flex: 0 0 calc(50% - 10px) !important; /* 2列表示で、左右に5pxずつのマージンを確保 */
    width: calc(50% - 10px) !important; /* 古いブラウザ対策 */
    margin: 5px !important; /* 各アイテムの周囲に5pxのマージンを強制 */
    box-sizing: border-box !important; /* paddingとborderをwidthに含める */
    padding: 0 !important; /* LI要素のパディングもリセット */
}

/* topics-wrapper 内のH1やPタグの文字色も調整 */
.topics-wrapper h1,
.topics-wrapper p,
.topics-wrapper .product-meta p { /* メタ情報も含む */
    color: #7e854c!important; 
}

/* single.php の h1 タイトルに文字装飾を追加 */
.topics-wrapper h1.single-product-main-title {
    position: relative; /* ::after 擬似要素の基準位置とするため */
    text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.2); /* 文字に軽い影を追加 */
    letter-spacing: 2px; /* 文字間隔を少し広げる */
    font-weight: bold; /* フォントを太くする */
    color: #7e854c !important; /* 文字色を濃くするため、念のため!importantを追加 */
    background-color: transparent !important; 
    box-sizing: border-box; /* paddingを含めて幅を計算 */
	padding: 1rem;
    text-align:left;
	border-bottom:1px solid #7e854c;
	margin-bottom:15px;
}
.topics-wrapper .product-content h2 {
    position: relative;
    padding: 0 10px 0 35px; 
    color: #7e854c;
    font-size: 24px;
    margin-top: 40px;
    margin-bottom: 20px;
}

.topics-wrapper .product-content h2:before,
.topics-wrapper .product-content h2:after {
    position: absolute;
    content: '';
    width: 14px;
    height: 14px;
    top: 50%;
    transform: translateY(-50%) rotate(45deg);
}

.topics-wrapper .product-content h2:before {
    border: 2px solid #7e854c;
    left: 0; /* h2 コンテンツボックスの端に擬似要素を合わせるためにこれを保持 */
}

.topics-wrapper .product-content h2:after {
    left: 6px; /* 塗りつぶされたひし形を枠線付きのひし形に対して配置するためにこれを保持 */
    background: rgba(126, 133, 76, 0.5);
}

.topics-wrapper .product-content p,
.topics-wrapper .product-content ul,
.topics-wrapper .product-content ol,
.topics-wrapper .product-content table,
.topics-wrapper .product-content blockquote {
    /* これにより、.topics-wrapper のパディングとの一貫した左右のアライメントが保証されます */
    /* 特定の内部パディングが必要な場合は、ここに設定します。 */
    /* 現時点では、競合する左右のマージン/パディングがないことを確認してください。 */
    margin-left: 0;
    margin-right: 0;
    /* 必要に応じてパディングを継承または明示的に設定しますが、.topics-wrapper のパディングで処理されるはずです */
    /* padding-left: 0; */
    /* padding-right: 0; */
}

/* single.php 投稿本文内の h3 装飾 */
.topics-wrapper .product-content h3 {
    position: relative;
    padding: 0 0 0 25px; /* h3 の元の左パディング。必要に応じて調整 */
    color: #7e854c;
    font-size: 20px;
    margin-top: 30px;
    margin-bottom: 15px;
}

.topics-wrapper .product-content h3:before,
.topics-wrapper .product-content h3:after {
    position: absolute;
    content: '';
    width: 10px;
    height: 10px;
    top: 50%;
    transform: translateY(-50%) rotate(45deg);
}

.topics-wrapper .product-content h3:before {
    border: 1px solid #7e854c;
    left: 0;
}

.topics-wrapper .product-content h3:after {
    left: 4px;
    background: rgba(126, 133, 76, 0.5);
}


/* single.php のメインコンテナのパディングを調整 */
#single-post-content {
    padding: 10px 0; /* product-wrapperのpaddingと重複しないように調整 */
    background-color: #c3c7acab;
    box-shadow: none; /* 影も削除 */
}

/* topics-meta (single.phpの投稿日・カテゴリー) 専用のスタイル */
.topics-meta {
    display: flex;
    justify-content: flex-start; /* 左寄せ */
    align-items: center;
    margin-bottom: 20px; /* タイトルとの間に余白 */
    border-bottom: none; /* ボーダーをなくす */
    padding:0 1rem;
    color: #555555; /* トピックス投稿のテキストに合わせた色 */
    font-size: 14px; /* フォントサイズ調整 */
    flex-wrap: wrap; /* 小さい画面で折り返す */
    gap: 10px; /* アイテム間の隙間 */
	font-family: 游明朝, "Yu Mincho", "Hiragino Mincho ProN", "MS Pゴシック", serif;
}

/* topics-meta 内の個々の項目 (post-date, post-categories, post-tags) の調整 */
.topics-meta .post-date,
.topics-meta .post-categories,
.topics-meta .post-tags {
    margin: 0; /* デフォルトマージンをリセット */
    font-size: 14px; /* 親で設定したものを念のため */
    color: #555555; /* 親で設定したものを念のため */
}

/* リンクの色も調整 */
.topics-meta a {
    color: #7e854c; /* リンクの色 */
}
.topics-meta a:hover {
    color: #62635e!important; /* ホバー時の色 */
}

/* ---------------------------------------------------------------------- */
/* 投稿ナビゲーション (single.php と single-product.php で共通する基本スタイル) */
/* ---------------------------------------------------------------------- */

.post-navigation {
    width: 80%; /* .topics-wrapper と同じ幅にする */
    max-width: 960px; /* .topics-wrapper と同じ最大幅にする */
    margin: 140px auto 0; /* 上部の余白と中央寄せ */
    padding: 20px; /* 内側の余白 */
    text-align: center; /* リンクを中央寄せ（ただしFlexboxで上書きされる場合あり） */
}

.post-navigation .nav-links {
    display: flex; /* リンクを横並びにする */
    align-items: center; /* 垂直方向の中央揃え */
    gap: 15px; /* アイテム間の隙間（PC用） */
    letter-spacing: 0.2em;
    /* ★ここがポイント★: デフォルトは中央寄せに設定しておく */
    justify-content: center; /* これをデフォルトにして、必要に応じて上書き */
}

.post-navigation .nav-prev,
.post-navigation .nav-next,
.post-navigation .nav-list {
    flex-grow: 1; /* 利用可能なスペースを均等に埋める */
    flex-basis: 0; /* flex-growと併用して均等な幅にする */
    text-align: center; /* 各リンクのテキストを中央寄せ */
}

.post-navigation a {
    display: block; /* ★display: inline-block; から block に変更済みのはず */
    padding: 10px 15px;
    background-color: #b2b694;
    color: #ffffff;
    text-decoration: none;
    border-radius: 5px;
    transition: background-color 0.3s ease;
    font-size: 14px;
    white-space: nowrap;
    font-family: 游明朝, "Yu Mincho", "Hiragino Mincho ProN", "MS PMincho", serif;
    width: 100%; /* 親要素の利用可能な幅いっぱいに広げる */
    box-sizing: border-box; /* パディングとボーダーを幅に含める */
}

.post-navigation a:hover {
    background-color: #9aa07b;
    color: #ffffff;
}

/* 記事がない場合のリンクの表示（WordPressのデフォルト挙動） */
.post-navigation .nav-prev:empty,
.post-navigation .nav-next:empty {
    display: none; /* 要素もスペースも完全に削除 */
}

/* ---------------------------------------------------------------------- */
/* single-product.php のナビゲーション (商品詳細ページ専用) */
/* ---------------------------------------------------------------------- */

.post-navigation.product-navigation {
    width: 80%; /* .product-wrapper と同じ幅に */
    max-width: 960px; /* .product-wrapper と同じ最大幅に */
    margin: 40px auto 0; /* 上部の余白と中央寄せ */
    padding: 20px; /* 内側の余白 */
    text-align: center;
}

.post-navigation.product-navigation .nav-links {
    /* product-navigation の nav-links は中央寄せ */
    justify-content: center; /* 「商品一覧へ戻る」ボタンを中央に配置 */
    gap: 20px; /* 隙間も調整（必要なら） */
}

/* ---------------------------------------------------------------------- */
/* single.php のナビゲーション (一般的な投稿詳細ページ専用) */
/* ---------------------------------------------------------------------- */

#single-post-content .post-navigation .nav-links {
    /* single.php のナビゲーションは両端配置 */
    justify-content: space-between; /* 「前の記事へ」「次の記事へ」を両端に配置 */
}
/*コンタクトフォーム*/
/* 全体的なコンテナ */
.wpcf7 {
    max-width: 800px; /* フォームの最大幅 */
    margin: 30px auto; /* 上下左右の余白 */
    padding: 20px;
    background-color: #fff;
    border-radius: 8px;
    /* box-shadow: 0 2px 4px rgba(0, 0, 0, 0.1); */ /* 必要であればシャドウを追加 */
}

/* 各入力フィールドのラベルとinput/textarea */
.wpcf7 p {
    margin-bottom: 25px; /* 各項目間の余白 */
}

.wpcf7 label {
    display: block; /* ラベルをブロック要素にして改行 */
    font-weight: bold;
    margin-bottom: 8px; /* ラベルと入力欄の間の余白 */
    font-size: 1.1em; /* ラベルの文字サイズ */
    color: #7e854c;
    position: relative; /* 必須ラベルの位置調整のため */
}

/* 必須ラベルのスタイル */
.wpcf7 .required-label {
    background-color: #b2b694;
    color: #fff;
    font-size: 0.75em;
    padding: 3px 8px;
    border-radius: 4px;
    margin-left: 10px;
	margin-bottom:15px;
    font-weight: normal; /* 太字にしない */
    vertical-align: middle; /* ラベルと高さを合わせる */
}

/* inputとtextareaの共通スタイル */
.wpcf7-form-control.wpcf7-text,
.wpcf7-form-control.wpcf7-textarea,
.wpcf7-form-control.wpcf7-email {
    width: 100%;
    padding: 12px 15px;
    border: 1px solid #ddd;
    border-radius: 5px;
    box-sizing: border-box; /* paddingを含めて幅を計算 */
    font-size: 1em;
    transition: border-color 0.3s ease;
    background-color: #f9f9f9; /* 背景色を少しグレーに */
	margin-top:5px;
}

.wpcf7-form-control.wpcf7-text:focus,
.wpcf7-form-control.wpcf7-textarea:focus,
.wpcf7-form-control.wpcf7-email:focus {
    border-color: #7e854c; /* フォーカス時のボーダー色 */
    outline: none;
    background-color: #fff;
}

/* placeholder のスタイル */
.wpcf7-form-control::-webkit-input-placeholder { /* Chrome, Safari, Edge, Opera */
  color: #aaa;
}
.wpcf7-form-control:-moz-placeholder { /* Firefox 18- */
  color: #aaa;
}
.wpcf7-form-control::-moz-placeholder { /* Firefox 19+ */
  color: #aaa;
}
.wpcf7-form-control:-ms-input-placeholder { /* IE 10-11 */
  color: #aaa;
}
.wpcf7-form-control::placeholder { /* Modern browsers */
  color: #aaa;
}

/* 送信ボタンのスタイル */
.wpcf7-submit {
    display: block;
    width: 100%;
    max-width: 200px; /* ボタンの最大幅 */
    margin: 30px auto 0 auto; /* 中央寄せ */
    padding: 15px 25px;
    background-color: #7e854c; /* ブランドカラー */
    color: #fff;
    border: none;
    border-radius: 5px;
    font-size: 1.1em;
    cursor: pointer;
    transition: background-color 0.3s ease;
}

.wpcf7-submit:hover {
    background-color: #6a7042; /* ホバー時の色 */
}

/* エラーメッセージ、成功メッセージなどのスタイル調整 */
.wpcf7-response-output {
    margin: 1em 0.5em;
    padding: 0.8em 1em;
    border: 2px solid #000;
    font-size: 1em;
    font-weight: bold;
    color: #fff;
    background-color: #7e854c; /* エラー時の背景色 */
    text-align: center;
    border-radius: 5px;
}
.wpcf7-response-output.wpcf7-mail-sent-ok {
    background-color: #7e854c; /* 成功時の背景色 */
}
.wpcf7-response-output.wpcf7-validation-errors {
    background-color: #dc3232; /* 入力エラー時の背景色 */
}

/* ローディングスピナーを中央に配置 */
.wpcf7-submit[disabled] {
    opacity: 0.7;
    cursor: not-allowed;
}

.wpcf7-spinner {
    visibility: hidden;
    display: inline-block;
    background-color: #23282d;
    opacity: 0;
    width: 20px;
    height: 20px;
    border-radius: 100%;
    -webkit-transition: opacity .3s;
    transition: opacity .3s;
    position: relative;
    top: 5px;
    margin-left: 10px;
}

.wpcf7-spinner.is-active {
    visibility: visible;
    opacity: 1;
}
/* 個人情報同意のチェックボックスとリンク */
.pp-concent {
    margin-top: 30px;
    margin-bottom: 10px;
    text-align: center; /* **チェックボックスとテキストを中央寄せ** */
}

.pp-concent label {
    font-weight: normal;
    font-size: 1em;
    display: inline-flex; /* **フレックスボックスにして要素を縦方向中央揃え** */
    align-items: center; /* **チェックボックスとテキストを中央揃え** */
    cursor: pointer;
}

.pp-concent input[type="checkbox"] {
    margin-right: 8px;
    /* vertical-align: middle; */ /* display: inline-flexとalign-items: centerで不要になる場合が多い */
    transform: scale(1.2);
}

.pp-link {
    text-align: center; /* **リンクを中央寄せ** */
    margin-bottom: 30px;
}

.pp-link a {
    color: #7e854c;
    text-decoration: underline;
    font-weight: bold;
}

.pp-link a:hover {
    color: #6a7042;
    text-decoration: none;
}

/*ショッピングガイド*/
.policy {
    margin-top: 30px;
}

.policy a{
	border-bottom:1px solid #7e854c;
}

/* ショッピングガイドページ 内のテーブルの項目に右パディングを追加 */
.page-id-25 table th,
.page-id-25 table td {
    /* 既存のパディングを残しつつ、右側に余白を追加 */
    padding:15px 25px !important;
	border-bottom: .6px solid #d2d2d2;
	text-align:left;
}

/*thanks*/
section.thanks {
    max-width: 960px;
	text-align:center;
	margin: 150px auto 15px auto;
	padding:0 20px;
	font-family: 游明朝, "Yu Mincho", "Hiragino Mincho ProN", "MS PMincho", serif;
	font-size:1rem;
}

.contact_fin_text{
	max-width: 960px;
	margin: 50px auto 15px auto;
	padding:0 20px;
	font-family: 游明朝, "Yu Mincho", "Hiragino Mincho ProN", "MS PMincho", serif;
	text-align: center;
    line-height: 1.6;
}

.buckbuttom {
    text-align: center;
    margin-top: 50px;
	margin-bottom: 250px;
}

.back_text {
    border-bottom: 1px solid #7e854c;
}

.back_text {
    transition: color 0.2s ease-in-out; 
}

.back_text:hover {
    color: #bbbbbb;
}

/*404ページ*/
.not-found{
	width:100%;
	text-align: center;
	font-size: 2em;
	line-height:1.25em;
	margin-top:170px;
	color:#7e854c;
}

.fade-in-text {
  position: relative;
  opacity: 0; /* 初めは透明に設定 */
  transform: translateY(100%); /* 下からスライドするために位置を下に設定 */
  animation: fadeInFromBottom 3s forwards; /* フェードインアニメーションの設定 */
}

@keyframes fadeInFromBottom {
  to {
    opacity: 1; /* アニメーション終了時に完全に表示 */
    transform: translateY(0); /* アニメーション終了時の位置 */
  }
}

h1.not-found.fade-in-text {
	font-family: "游明朝", "Yu Mincho", "Hiragino Mincho ProN", "MS PMincho", serif;
}

.not-page{
	max-width: 1200px;
    margin: 0 auto;
	text-align: center;
	font-size:16px;
	font-weight:400;
	line-height:1.5em;
	color:#7e854c;
	font-family: "游明朝", "Yu Mincho", "Hiragino Mincho ProN", "MS PMincho", serif;
	margin-top:10px;
}

.page404-text-box {
    max-width: 1200px;
    margin: 50px auto 170px auto;
    text-align: center;
    color: rgba(138, 141, 143, 1);
    width: 100%;
	line-height:1.6;
	font-family: "游明朝", "Yu Mincho", "Hiragino Mincho ProN", "MS PMincho", serif;
}
.text-border{
	border-bottom:1px solid #7e854c;
}
a.text-border {
    color: #7e854c;
}

/* --- レスポンシブ対応 (メディアクエリ) --- */

/* PC表示時 (1211px以上) */
@media (min-width: 1211px) { /* PCサイズ */
	.wp-block-group {
    	margin: 40px 0;
	}
	
	.woocommerce:where(body:not(.woocommerce-uses-block-theme)) .woocommerce-breadcrumb {
		font-size: .92em;
		color: #7e854c;
		margin: 100px auto 0;
		padding: 0 20px;
		font-size: 14px;
		max-width: 80%;
		text-align: left;
	}
	.woocommerce-breadcrumb {
		font-size: .92em;
		color: #7e854c;
		margin: 100px auto 0;
		padding: 0 20px;
		font-size: 14px;
		max-width: 80%;
		text-align: left;
	}
    .hamburger {
        display: none; /* PCではハンバーガーボタンを非表示 */
    }
	.nav__link {
        color: #7e854c; /* PC用リンク色 */
        font-size: 16px;
        padding: 0;
    }
    .nav__link:visited { /* 訪問済みリンクの色を明示的に指定 */
        color: #7e854c;
    }
    nav.nav { /* .navにPC表示用のスタイルを適用 */
        position: static; /* 固定解除 */
        width: auto;
        height: auto;
        background-color: transparent;
        box-shadow: none;
        transform: none; /* transform解除 */
        visibility: visible;
        opacity: 1;
        display: block; /* ブロック表示に戻す */
    }
    .nav__list {
        display: flex; /* PC用ナビは横並び */
        gap: 25px; /* 既存のギャップ */
        padding: 0;
    }
    .nav__item {
        padding: 0;
        margin-bottom: 0;
    }
    .nav__link {
        color: #7e854c; /* PC用リンク色 */
        font-size: 16px; /* PC用フォントサイズ */
        padding: 0; /* PC用パディング */
    }
    .nav__link:hover {
        color: #ffffff; /* PC用ホバー色 */
    }
	.cart-icon-sp {
        display: none;
    }

/* single-product.php 用の product-title */
    #single-product-content .product-title {
        font-size: 30px;
		color:#ffffff; 
		margin-bottom:35px;
		font-family: "游明朝", "Yu Mincho", "Hiragino Mincho ProN", "MS Pゴシック", serif;
    }
	#single-product-content .product p  {
        font-size: 16px;
		font-family: "游明朝", "Yu Mincho", "Hiragino Mincho ProN", "MS Pゴシック", serif;
		color:#ffffff; 
    }
	.entry-content {
		font-size: 1.1em;
	}
}


/* タブレット表示時 (769px 〜 1210px) */
@media (min-width: 769px) and (max-width: 1210px) {
	.page-id-136 .grecaptcha-badge {
		visibility: visible;
		opacity: 1;
		pointer-events: auto;
		display: block !important; /* 強制的に表示 */
		margin-bottom:0px;
	}
    /* --- HEADER関連 --- */
    .main-header-bar { /* タブレット用に調整 */
        padding: 0 8%; /* 左右のパディングを狭める */
    }
    .main-header-bar.scrolled {
        padding: 0 5%; /* スクロール後のパディングも調整 */
    }

    /* FV (ファーストビュー) の調整 */
	.fv p {
		font-size: 2.8vw;
    }
    .fv-logo {
        width: 200px; /* ロゴのサイズを調整 */
    }
    .fv-content {
        width: 85%; /* タブレットでのfv-contentの幅を少し広げる */
    }
    .fv-logo-container {
        margin-left: 20px;
    }
    .fv-text-container {
        margin-right: 20px;
    }
    
    .logo {
        width: 180px; /* ロゴのサイズを調整 */
    }

    /* ハンバーガーメニューを表示 */
    .hamburger {
        display: block; /* タブレットサイズで表示 */
        right: 5%; /* 右からの位置を調整 */
    }
    /* スクロール時のハンバーガーメニューの位置 (タブレット用) */
    .main-header-bar.scrolled .hamburger {
        top: 10px; 
        right: 5%; /* 右からの位置を維持 */
    }

    /* PC用のナビゲーションは非表示 */
    nav {
        display: none; /* タブレットではPC用のナビを非表示 */
    }

    nav.active .nav__link {
        font-size: 26px; /* メニューアイテムのフォントサイズを調整 */
        color: #ffffff;
    }

	.cart-icon {
		width: 60px;
		height: auto;
		color: #ffffff;
	}
	img.cart-icon.cart-icon-pc {
        display: none;
	}
    .header_title {
        background-color: #b2b694;
        color: #f7f7f7;
        font-size: 15px;
        font-weight: normal;
        padding: 12px 0 12px 5%;
        margin: 0;
        letter-spacing: 1px;
    }
	.woocommerce div.product {
		width: 90%;
		margin: 20px auto 100px;
		position: relative;
		padding: 0 20px;
	}

    /* --- 各SECTIONの共通調整 --- */
    section {
        width: 90%; /* セクションの幅を広げる */
        margin: 60px auto; /* 上下のマージンを調整 */
        padding: 5px; /* 内側のパディングを調整 */
    }
    /* ABOUTセクション */
    .about p {
        font-size: 42px; /* ABOUTタイトルの文字サイズを調整 */
    }
    section.about h2 {
        font-size: 15px; /* 六野珈琲についての文字サイズを調整 */
        margin-top: -10px;
        margin-bottom: 25px;
    }
    .about_content {
        flex-direction: row; /* 横並びを維持 */
        gap: 30px; /* 隙間を調整 */
    }
    .about_content img:first-child {
        width: 45%; /* 幅を調整 */
    }
    .about_text {
        width: 55%; /* 幅を調整 */
        padding: 15px;
    }
    .about_text p {
        font-size: 15px;
    }
    .about_text img:last-child {
        width: 200px; /* ロゴ画像を調整 */
    }

    /* POINTセクション */
    section.point {
        padding: 60px 15px;
        margin: 60px auto;
    }
    .point p {
        font-size: 42px;
    }
    section.point h2 {
        font-size: 15px;
        margin-top: -10px;
        margin-bottom: 25px;
    }
    .point_content {
        flex-wrap: wrap; /* 折り返しを許可 */
        justify-content: space-around; /* 均等に配置 */
        width: 90%; /* 幅を調整 */
        gap: 15px; /* アイテム間の隙間 */
    }
    .point_content > div {
        flex: 0 0 calc(50% - 10px); /* 2列にする（gap考慮） */
        max-width: calc(50% - 10px); /* 最大幅も設定 */
        padding: 25px;
    }
    .point_content .point-text {
        font-size: 15px;
    }

    /* PRODUCTセクション */
    .product .product-title {
        font-size: 42px;
    }
    section.product h2 {
        font-size: 15px;
        margin-top: -10px;
        margin-bottom: 25px;
    }
    .goods {
        grid-template-columns: repeat(3, 1fr); /* 3列にする */
        gap: 8px;
        margin-top: 25px;
    }
    .contents .product-name {
        font-size: 13px;
    }
    .contents .country {
        font-size: 13px;
    }
/*product-woocommerce*/
	/* カートページの行を強制的にテーブル形式に戻す */
	.wc-block-cart__items .wc-block-cart-items__row {
		display: table-row !important;
	}
	/* カートページのヘッダー（見出し）もテーブル形式に戻す */
	.wc-block-cart__items .wc-block-cart-items__header {
		display: table-row-group !important;
	}
	/* カートページのセル（画像、商品名など）もテーブル形式に戻す */
	.wc-block-cart__items .wc-block-cart-item__image,
	.wc-block-cart__items .wc-block-cart-item__product,
	.wc-block-cart__items .wc-block-cart-item__quantity,
	.wc-block-cart__items .wc-block-cart-item__total {
		display: table-cell !important;
	}

	h1.entry-title {
		margin-bottom: 50px;
	}
	.woocommerce div.product {
		width: 90%;
		margin: 20px auto 100px;
		position: relative;
		padding: 0 20px;
	}
	.woocommerce div.product .woocommerce-product-rating {
		margin-bottom: .235em;
	}
	.woocommerce-error, .woocommerce-info, .woocommerce-message {
		padding: 1em 2em 1em 3.5em;
		margin: 80px 0 2em;
		position: relative;
		background-color: #b2b694;
		color: #ffffff;border-top: 3px solid #b2b694;
		list-style: none outside;
		width: auto;
		word-wrap: break-word;
	}
	/*テーブル全体をブロック要素にし、横並びを解除 */
    table.variations,
    table.variations tbody,
    table.variations tr {
        display: block;
        width: 100%;
        box-sizing: border-box;
    }
    
    /*セル（th:ラベル と td:値）を縦に積み重ねる */
    table.variations th,
    table.variations td {
        display: block;
        width: 100%;
        box-sizing: border-box;
        padding: 5px 0 !important; /* 縦パディングで調整 */
        text-align: left !important;
        border: none !important; /* テーブルの枠線を消す */
    }
    
    /*ラベルの下にスペースを作る（見やすくするため） */
    table.variations th {
        padding-top: 15px !important;
        font-weight: bold;
    }
    
    /*プルダウンとクリアボタンを100%幅に */
    table.variations td select {
        width: 100%;
        box-sizing: border-box;
    }
    
    /*クリアボタンの位置を調整 */
    table.variations td a.reset_variations {
        display: block; /* ブロック要素にしてプルダウンの下に配置 */
        margin-top: 10px;
        text-align: right;
    }

    /* TOPICSセクション */
    section.topics {
        padding: 60px 15px 70px;
        margin: 60px auto 0;
    }
    .topics .topics-title {
        font-size: 42px;
    }
    section.topics h2 {
        font-size: 15px;
        margin-top: -10px;
        margin-bottom: 25px;
    }
    .topics-grid {
        grid-template-columns: repeat(3, 1fr); /* 3列にする */
        width: 80%!important;
        gap: 15px;
        margin: 0 auto 30px;
    }
	
    .topics-item .topics-date,
    .topics-item .topics-text {
        font-size: 13px;
        margin: 10px 12px;
    }
    .topics-button {
        padding: 10px 30px;
        font-size: 15px;
        margin-top: 20px;
    }
	.single-post-container {
        width: 90%; /* 幅を調整 */
        gap: 30px; /* 隙間を調整 */
    }
    .topics-wrapper {
        width: 65%; /* 投稿コンテンツの幅を調整 */
    }
	.single-sidebar {
        width: 35%; /* サイドバーの幅を調整 */
        padding: 20px; /* 内側のパディングを調整 */
    }

    /* サイドバー内の各ウィジェット（section）のマージンを明示的に指定 */
    .single-sidebar .widget {
        margin: 0 0 15px 0;
    }

    .single-sidebar .widget:last-child {
        margin-bottom: 0; /* 最後のウィジェットの下マージンはなし */
    }
	
	section#block-25 {
        margin-bottom: 0;
        padding-bottom: 0;
	}

    /* SHOPPING GUIDEセクション */
	.gaid-logo {
        width: 50vw; /* PCでも画面幅に応じて50%で伸縮 */
        max-width: 500px; /* 大きすぎないように上限を設定 */
        min-width: 250px; /* PCでの下限（もし必要なら） */
    }
    .shopping-gaid {
        height: 60vh; /* 高さを調整 */
    }
    .shopping-gaid .shopping p {
        font-size: 15px;
        margin-bottom: 25px;
    }
    .shopping-gaid .shopping-button {
        padding: 12px 35px;
        font-size: 15px;
    }
	
/* single-product.php 用の product-title */
	.product-info-area .product-flavor-ratings {
		width: 100%;
		margin-top: 0;
		margin-bottom: 0px;
	}
	
    #single-product-content .product-title {
        font-size: 28px;
		color:#ffffff; 
		margin-bottom:30px;
		font-family: "游明朝", "Yu Mincho", "Hiragino Mincho ProN", "MS Pゴシック", serif;
    }
	#single-product-content .product p  {
        font-size: 16px;
		color:#ffffff; 
		font-family: "游明朝", "Yu Mincho", "Hiragino Mincho ProN", "MS Pゴシック", serif;
    }
	.product-add-to-cart label {
		font-size: 1em;
		font-family: "游明朝", "Yu Mincho", "Hiragino Mincho ProN", "MS Pゴシック", serif;
	}
	
	.product-add-to-cart {
		display: flex;
		align-items: center;
		gap: 15px;
		margin-top: 15px;
		margin-bottom: 30px;
	}
	.product-add-to-cart .add-to-cart-button {
		background-color: #b2b694;
		color: #fff;
		padding: 12px 20px;
		border: none;
		border-radius: 5px;
		cursor: pointer;
		font-size: 13px;
		font-family: "游明朝", "Yu Mincho", "Hiragino Mincho ProN", "MS Pゴシック", serif;
		transition: background-color 0.3s ease;
		white-space: nowrap;
	}
	
	.product-meta {
    display: flex;
    flex-direction: column;
    justify-content: flex-start;
    align-items: flex-start;
    margin-bottom: 20px;
    border-bottom: 1px solid #eee;
    padding-bottom: 10px;
	}

/*ショッピングガイド*/
	/* テーブルの行をFlexboxで縦に並べる */
    .jp4wc-law tr {
        display: flex;
        flex-direction: column;
        border-bottom: 1px solid #ccc;
        margin-bottom: 15px;
    }

    /* テーブルのセルを縦に並べる */
    .jp4wc-law th,
    .jp4wc-law td {
        display: flex;
        flex-direction: column;
        padding: 5px;
        border-bottom: none;
    }
	/* tdの::before擬似要素で表示されるテキストを非表示にする */
    .jp4wc-law td::before {
        content: none;
    }
	.jp4wc-law td {
        width: 100%;
        box-sizing: border-box;
        text-align: center; /* td内のテキストを中央寄せに */
    }
    /* h3のテキストに下線を引く */
    .main_description h3 {
        display: inline-block;
        border-bottom: 2px solid #7e854c;
        padding-bottom: 5px;
        margin-bottom: 20px;
    }

    /* h4のテキストとul/liの左端を揃える */
    .main_description .content ul,
    .main_description section ul {
        list-style-type: disc;
        margin-left: 0;
        padding-left: 1.5em;
    }
	article#post-118 {
		margin: 20px auto 160px;
		padding: 0 20px;
		width: 100%;
		height: auto;
	}
	.wp-block-table.is-style-stripes{
    background-color: initial;
    border-bottom: none;
    border-collapse: inherit;
    border-spacing: 0;
}
	.page-id-25 table th,
	.page-id-25 table td {
    /* 既存のパディングを残しつつ、右側に余白を追加 */
		padding-bottom:10px;
		padding-top:10px;
		border-bottom:none;
		text-align:center;
	}
}

/* スマホ表示時 (768px以下)  */
@media (max-width: 768px) {
	/* お問い合わせページ (ID: 136) でのみreCAPTCHAバッジを表示 */
	.page-id-136 .grecaptcha-badge {
		visibility: visible;
		opacity: 1;
		pointer-events: auto;
		display: block !important; /* 強制的に表示 */
		margin-bottom:0px;
	}
    /* --- HEADER関連 --- */

	.fv {
        height: 70vh;
    }
    .fv-content {
        flex-direction: column; /* ★ここを column に変更！ */
        justify-content: center; /* 水平方向の中央揃え */
        align-items: center; /* 垂直方向の中央揃え */
        position: relative; /* 子要素のabsoluteの基準 */
        max-width: 100%; /* 親fvに合わせて最大幅を設定 */
        width: 100%; /* 親fvに合わせて幅を設定 */
        height: 100%; /* 親fvに合わせて高さを設定 */
        padding: 0; /* パディングをリセット */
    }

    /* スマホ時のテキストコンテナ */
    .fv-text-container {
        position: absolute; /* 重ねるために必須 */
        transform: translate(-50%, -50%); /* 自身のサイズを考慮して完全な中央に */
        width: 90%;
        text-align: center;
        margin: 0;
        z-index: 2; /* 文字をロゴより手前に (前) */
    }
    .fv p {
        font-size: 4.5vw; /* ★VW単位で自動調整  */
        line-height: 1.5; /* 行の高さを調整してロゴとの重なり具合を調整 */
    }

    /* スマホ時のロゴコンテナ */
    .fv-logo-container {
        position: absolute; /* 重ねるために必須 */
        transform: translate(-50%, -50%); /* 自身のサイズを考慮して完全な中央に */
        z-index: 1; /* テキストより奥に (後ろ) */
        margin: 0;
    }
    .fv-logo {
        width: 180px; /* ロゴのサイズを調整 */
    }
    .logo {
        width: 180px;
    }
    .main-header-bar.scrolled .logo {
		width: 170px;
	}
	
    /* ハンバーガーボタンを表示 */
    .hamburger {
        display: block;
        right: 1%; /* スマホでも右端に合わせる */
    }
    /* スクロール時のハンバーガーメニューの位置 (スマホ用) */
    .main-header-bar.scrolled .hamburger {
        top: 10px; 
        right: 1%; /* 右からの位置を維持 */
    }

    /* PC/タブレット用のナビゲーションを非表示（ハンバーガーメニューになる） */
    nav {
        display: none;
    }
    
    /* .nav のスタイルは、共通設定と.nav.activeで管理 */
    nav.active .nav__link{
        font-size: 24px; /* スマホ用メニューアイテムのフォントサイズ */
        color: #ffffff; 
    }
	img.cart-icon {
		width: 60px;
		height: auto;
	}

    .header_title {
        background-color: #b2b694;
        color: #f7f7f7;
        font-size: 12px;
        font-weight: normal;
        padding: 12px 0 12px 5%;
        margin: 0;
        letter-spacing: 1px;
    }
	.main-header-bar {
        justify-content: space-between;
		padding: 0 8%;
    }
	.nav__list {
		margin: 0;
		padding: 0;
		list-style: none;
		text-align: center;
		display: flex; /* Flexboxを適用 */
		flex-direction: column; /* 縦並び */
		align-items: center; /* 中央に配置 */
	}
	.woocommerce div.product {
		width: 90%!important;
		margin: 20px auto 100px;
		position: relative;
		padding: 0 20px;
	}
	.cart-icon-link {
		display: flex;
		align-items: center;
		justify-content: center; /* アイコン自体も中央寄せ */
		position: relative;
	}

    .cart-icon-link.cart-icon-pc {
        display: none;
    }
    .cart-icon-link.cart-icon-sp {
        display: block;
    }
	
    /* --- 各SECTIONの共通調整 --- */
    section {
        width: 95%;
        margin: 10px auto;
        padding: 10px;
    }

    /* ABOUTセクション */
    section.about {
        margin: 30px auto;
        padding: 0;
    }

    .about p {
        font-size: 36px;
    }
    section.about h2 {
        font-size: 14px;
        margin-top: -5px;
        margin-bottom: 20px;
    }
    .about_content {
        flex-direction: column; /* 縦並びにする */
        gap: 20px;
        align-items: center;
    }
    .about_content img:first-child {
        width: 100%;
    }
    .about_text {
        width: 100%;
        padding: 15px;
    }
    .about_text p {
        font-size: 14px;
    }
    .about_text img:last-child {
        width: 180px;
    }

    /* POINTセクション */
    section.point {
        padding: 40px 10px;
        margin: 40px auto;
    }
    .point p {
        font-size: 36px;
    }
    section.point h2 {
        font-size: 14px;
        margin-top: -5px;
        margin-bottom: 20px;
    }
    .point_content {
        flex-direction: column; /* 縦並びにする */
        gap: 15px;
        width: 95%;
    }
    .point_content > div {
        flex: auto; /* 縦並びなので幅は自動 */
        max-width: none; /* 最大幅も解除 */
        padding: 20px;
    }
    .point_content .point-text {
        font-size: 14px;
    }

    /* PRODUCTセクション */
    section.product {
        width: 88%; 
        margin: 40px auto; 
        padding: 10px 0;
        background-color: #ffffff;
        text-align: center;
    }

    .product .product-title {
        font-size: 36px;
    }
    section.product h2 {
        font-size: 14px;
        margin-top: -5px;
        margin-bottom: 20px;
    }
    .goods {
        grid-template-columns: repeat(2, 1fr);
        gap: 8px;
        margin-top: 20px;
    }
    .contents .product-name {
        font-size: 12px;
    }
    .contents .country {
        font-size: 12px;
    }
    .contents .product-image {
        margin-bottom: 5px;
    }
    .contents .product-header {
        margin-bottom: 2px;
    }
    /* TOPICSセクション */
    section.topics {
        padding: 40px auto 50px!important;
        margin: 40px auto 0;
    }
    .topics .topics-title {
        font-size: 36px;
    }
    section.topics h2 {
        font-size: 14px;
        margin-top: -5px;
        margin-bottom: 20px;
    }
    .topics-grid {
        grid-template-columns: repeat(1, 1fr); /* 1列にする */
        gap: 20px;
        margin: 0 auto 30px;
		padding:0;
    }
	
    .topics-item .topics-date,
    .topics-item .topics-text {
        font-size: 13px;
        margin: 8px 10px;
    }
    .topics-button {
        padding: 8px 25px;
        font-size: 14px;
        margin-top: 30px;
    }

    /* SHOPPING GUIDEセクション */
	body.postid-25 h1.entry-title {
        font-size: 28px;
    }
	.gaid-logo {
        width: 80vw; 
        max-width: 500px; /* スマホでの最大幅 */
        min-width: 150px; /* スマホでの最小幅 */
        margin-bottom: 10px;
    }
    .shopping-gaid {
        height: 100%;
        padding-top: 0;
    }
    .shopping-gaid .shopping p {
        font-size: 14px;
        margin-bottom: 0;
        padding:20px;
    }
    .shopping-gaid .shopping-button {
        padding: 10px 30px;
        font-size: 14px;
    }
/*商品詳細記事*/
    #single-product-content {
        width: 100%; /* 幅を100%に */
        margin-top: 50px;
        /*padding: 0; /* paddingをリセット */
    }

    .product-wrapper {
        width: 95%; /* スマホでの幅調整 */
        padding: 20px 15px; /* スマホでのパディング調整 */
    }

    /* ★スマホ表示は縦並びに戻す */
    .product-detail-container {
        flex-direction: column; /* 縦並びにする */
        align-items: center;
        gap: 20px; /* 縦並び時の隙間 */
        margin-bottom: 20px;
    }

    .product-image-area {
        flex: none;
        max-width: 90%; /* スマホでの画像の幅 */
        width: 90%;
    }
    .product-info-area {
        flex: none;
        max-width: 90%; /* スマホでの情報エリアの幅 */
        width: 90%;
        align-items: flex-start; /* 情報エリア内の要素も中央寄せ */
        text-align: left; /* テキストも中央寄せ */
    }
    .product-info-area .product-price {
        font-size: 1.5em;
        margin-bottom: 15px; /* 下に余白 */
    }
	.product-add-to-cart {
        flex-direction: column; /* 数量とボタンを縦並びに */
        gap: 10px;
        margin-top: 10px; /* 上マージンを調整 */
        margin-bottom: 20px; /* 下マージンを調整 */
        width: 100%;
		align-items: flex-start;
    }
    .product-add-to-cart label {
        font-size: 1em;
    }
    .product-add-to-cart .input-quantity {
        width: 80px;
        padding: 6px 8px;
    }
    .product-add-to-cart .add-to-cart-button {
        width: 80%; /* ボタンを横いっぱいに広げる */
        max-width: 250px;
        padding: 10px 15px;
        font-size: 1em;
    }
	.product-info-area .product-meta {
        flex-direction: column; /* メタ情報を縦並びに */
        align-items: flex-start; /* 左寄せに戻す */
        margin-bottom: 15px;
        padding-bottom: 8px;
        width: 100%; /* 幅を調整 */
		align-items:flex-start;
        text-align: left;
    }

    .product-header-detail {
        margin-bottom: 10px;
    }

    .roast-date, .country-detail {
        font-size: 16px;
    }

    .product-content {
        font-size: 15px;
    }
	#single-product-content .product-title {
        font-size: 24px;
		font-family: "游明朝", "Yu Mincho", "Hiragino Mincho ProN", "MS Pゴシック", serif;
		color:#ffffff; 
		margin-bottom:35px;
    }
	#single-product-content .product p  {
		font-family: "游明朝", "Yu Mincho", "Hiragino Mincho ProN", "MS PMincho", serif;
        font-size: 14px;
		color:#ffffff; 
    }
	
	/*woocommerce-お買い物かご*/
	article#post-22 {
		margin: 20px auto;
		padding: 0 20px;
		width: 80%;
		height: auto;
	}
	
	/*topics*/
	.single-product-main-title {
    	width: 100%;
    	font-size: 28px;
    	font-family: "游明朝", "Yu Mincho", "Hiragino Mincho ProN", "MS Pゴシック", serif;
    	color: #ffffff;
    	margin-bottom: 30px;
    	text-align: center;
    	order: -1;
    	letter-spacing: 1px;
	}
	.topics-wrapper .product-content h2 {
        font-size: 20px;
        padding-left: 25px;
        margin-top: 30px;
        margin-bottom: 15px;
    }
    .topics-wrapper .product-content h2:before,
    .topics-wrapper .product-content h2:after {
        width: 12px;
        height: 12px;
    }
    .topics-wrapper .product-content h2:after {
        left: 5px;
    }

    .topics-wrapper .product-content h3 {
        font-size: 18px;
        padding-left: 20px;
        margin-top: 25px;
        margin-bottom: 10px;
    }
    .topics-wrapper .product-content h3:before,
    .topics-wrapper .product-content h3:after {
        width: 8px;
        height: 8px;
    }
    .topics-wrapper .product-content h3:after {
        left: 3px;
    }
	.post-navigation {
		width: 80%;
		max-width: 960px;
		margin: 140px auto 0;
		padding: 20px 0;
		text-align: center;
	}
	.post-navigation .nav-links {
        flex-direction: column; /* 縦並びにする */
        gap: 10px; /* 縦並び時の隙間 */
        justify-content: center;
        align-items: center;
    }

    /* 前へ/次へのボタンがスマホで縦に並んだ時に横幅いっぱいに広がるように */
    .post-navigation .nav-prev,
    .post-navigation .nav-next,
    .post-navigation .nav-list { /* nav-list も含め、それぞれが親要素の幅いっぱいに */
        flex-grow: unset;
        flex-basis: auto;
        width: 100%; /* スマホでは幅いっぱいに広げる */
    }

    /* post-navigation 内の a 要素も幅いっぱいに */
    .post-navigation a { /* ★ここを調整: PC版と共通化 */
        width: 100%; /* スマホでも幅いっぱいに広げる */
        box-sizing: border-box;
    }

	.single-post-container {
        flex-direction: column; /* 縦並びにする */
        width: 95%; /* 幅を調整 */
        gap: 30px; /* 縦並び時の隙間 */
        padding: 0; /* 左右のパディングはtopics-wrapperとsidebarで持つ */
    }
    .topics-wrapper {
        width: 90%; /* スマホではほぼいっぱいに */
        margin: 0 auto;
        padding: 30px 15px; /* 内側のパディングを調整 */
    }
    .single-sidebar {
        width: 90%; /* スマホではほぼいっぱいに */
		max-width:520px;
        margin: 0 auto;
        padding: 10px 10px; /* 内側のパディングを調整 */
    }
    .single-sidebar .widget-title {
        font-size: 17px;
    }
    .single-sidebar .widget ul li a,
    .single-sidebar .widget_categories ul li a {
        font-size: 14px;
    }
	.main-header-bar {
		justify-content: space-between; /* これが問題の原因です。*/
	}

  /* カートアイコンのコンテナを中央に配置するための新しいルールを追加 */
	.cart-icon-container {
		width: 100%;
		display: flex;
		justify-content: center;
		position: absolute;
		top: 50%;
		left: 50%;
		transform: translate(-50%, -50%);
		z-index: 101; /* 他の要素の上に表示されるようにする */
	}
	body.page-id-25 .entry-title {
		font-size: 28px; /* ここに任意の文字サイズを設定 */
	}

/*ショッピングガイド*/
	/* テーブルの行をFlexboxで縦に並べる */
    .jp4wc-law tr {
        display: flex;
        flex-direction: column;
        border-bottom: 1px solid #ccc;
        margin-bottom: 15px;
    }

    /* テーブルのセルを縦に並べる */
    .jp4wc-law th,
    .jp4wc-law td {
        display: flex;
        flex-direction: column;
        padding: 5px;
        border-bottom: none;
		font-size:1.1em;
    }
	/* tdの::before擬似要素で表示されるテキストを非表示にする */
    .jp4wc-law td::before {
        content: none;
    }
	.jp4wc-law td {
        width: 100%;
        box-sizing: border-box;
        text-align: center; /* td内のテキストを中央寄せに */
    }
    /* h3のテキストに下線を引く */
    .main_description h3 {
        display: inline-block;
        border-bottom: 1px solid #7e854c;
        padding-bottom: 5px;
        margin-bottom: 20px;
    }

    /* h4のテキストとul/liの左端を揃える */
    .main_description .content ul,
    .main_description section ul {
        list-style-type: disc;
        margin-left: 0;
        padding-left: 1.5em;
    }
	.entry-content p{
		font-size:16px;
	}
	.wp-block-table.is-style-stripes{
		background-color: initial;
		border-bottom: none!important;
		border-collapse: inherit;
		border-spacing: 0;
	}
/*コンタクトフォーム*/
	.wpcf7 {
		margin: 20px 15px; /* スマホでは左右の余白を小さく */
        padding: 15px;
    }

    .wpcf7 label {
        font-size: 1em;
    }

    .wpcf7-form-control.wpcf7-text,
    .wpcf7-form-control.wpcf7-textarea,
    .wpcf7-form-control.wpcf7-email {
        padding: 10px 12px;
        font-size: 0.95em;
    }

    .wpcf7-submit {
        max-width: 180px;
        padding: 12px 20px;
        font-size: 1em;
    }
}

@media (max-width: 520px) {
	button.page-top span {
		position: relative; 
		display: block; 
		width: 100%;
		height: 100%;
		margin-bottom:60px;
	}
	.br-pc{
		display: none;
	}
	.br-sp{
		display:block;
	}
	img.cart-icon {
		width: 60px;
		height: auto;
		color: #ffffff;
	}

    /* FV (ファーストビュー) の画像調整 */
    /* fv-text-container と fv-logo-container の位置とz-indexを再定義 */
	.fv-text-container {
        position: absolute; /* 親(fv-content)に対して絶対配置 */
        transform: translate(-50%, -50%); /* 自身のサイズを考慮して完全な中央に */
        width: 90%; /* テキストの最大幅を設定 */
        max-width: 450px; /* テキストの最大幅 */
        text-align: center; /* テキストを中央揃え */
        margin: 0; /* 不要なマージンをリセット */
        z-index: 2; /* ロゴより手前に配置 */
    }
    .fv-logo-container {
        position: absolute; /* 親(fv-content)に対して絶対配置 */
        transform: translate(-50%, -50%); /* 自身のサイズを考慮して完全な中央に */
        z-index: 1; /* テキストより奥に配置 */
        margin: 0; /* 不要なマージンをリセット */
    }
    .fv p {
        font-size: 4.8vw; 
        line-height: 1.4; /* 行の高さを調整 */
    }
    .fv-logo {
        width: 180px; /* ロゴのサイズを調整 */
    }
	
    /* SHOPPING GUIDEセクション */
	.shopping-content {
		width: 90%;
		padding: 0;
	}
	
    .shopping-gaid {
        height: 70vh;
    }
    .shopping-gaid .shopping p {
        font-size: 14px;
        margin-bottom: 0;
        padding:10px;
    }
	.contents .country {
        font-size: 11px;
    }
	.single-product-main-title {
    	width: 100%;
    	font-size: 22px;
    	font-family: "游明朝", "Yu Mincho", "Hiragino Mincho ProN", "MS Pゴシック", serif;
    	color: #ffffff;
    	margin-bottom: 20px;
    	text-align: center;
    	order: -1;
    	letter-spacing: 1px;
	}
	
	section.topics {
		width: 100%;
		max-width: 100vw;
		margin: 70px auto 0;
		padding: 70px 25px 80px;
		background-color: #f1f1f1;
		text-align: center;
	}
	
	/*product*/
	
	section.product-archive-section.fade-in-up.is-visible {
		max-width: 520px;
		margin: 20px auto;
		padding: 0;
		width: 85%!important;
	}
	
	#single-product-content .product-title {
        font-size: 20px;
        font-family: "游明朝", "Yu Mincho", "Hiragino Mincho ProN", "MS Pゴシック", serif;
        color: #ffffff;
        margin-bottom: 35px;
    }
	.product-archive-section .product-title {
    	font-size: 36px;
    	font-family: Cinzel;
    	color: #7e854c;
    	margin-bottom: 5px;
    	letter-spacing: 2px;
    	text-align: center;
	}
	.topics-archive-section .topics-title {
    	font-size: 36px;
    	font-family: Cinzel;
    	color: #7e854c;
    	margin-bottom: 5px;
    	letter-spacing: 2px;
	}
	.topics-grid {
		width: 100%;
        grid-template-columns: repeat(2, 1fr);
        gap: 8px;
	}
	
	/*product-woocommerce*/
	.woocommerce div.product {
		width: 85%;
		margin: 20px auto 100px;
		position: relative;
		padding: 0 20px;
	}
	.woocommerce-error, .woocommerce-info, .woocommerce-message {
		padding: 1em 2em 1em 3.5em;
		margin: 100px 0 2em;
		position: relative;
		background-color: #b2b694;
		color: #ffffff;border-top: 3px solid #b2b694;
		list-style: none outside;
		width: auto;
		word-wrap: break-word;
		font-size:14px;
	}
	article#post-22 {
		margin: 20px auto;
		padding: 0 20px;
		width: 95%;
	}
	
	article#post-23 {
		margin: 20px auto;
		padding: 0 20px;
		width: 90%;
	}
	article#post-25 {
		margin: 20px auto;
		padding: 0 20px;
		width: 90%;
	}
	article#post-118 {
		margin: 20px auto;
		padding: 0 20px;
		width: 100%;
	}
	h1.entry-title {
		font-size: 28px;
		color: #7e854c;
		margin-bottom: 35px;
		letter-spacing: 2px;
		text-align: center;
	}
	body.page-id-25 .entry-title {
		font-size: 22px; 
	}
	body.page-id-118 .entry-title {
		font-size: 24px; 
	}
	.cart-icon {
        width: 60px;
        height: auto;
        color: #ffffff;
    }
	.woocommerce div.product .product_title {
		color: #7e854c;
		clear: none;
		margin-top: 0;
		padding: 0;
		font-size: 20px;
	}
	.product-image-container {
		width: 100%;
		height: 120px; /* ★ここで画像の高さを固定。topics-item img と同じ高さ */
		overflow: hidden; /* はみ出した部分を隠す */
		flex-shrink: 0; /* 画像コンテナが縮まないようにする */
	}
	.contents .product-image {
		width: 100%;
    /* 画像の高さに合わせて調整 */
		height: 120px;
		object-fit: cover; /* 画像がはみ出さないようにトリミング */
		flex-shrink: 0; /* 縮小しないようにする */
	}
	/*テーブル全体をブロック要素にし、横並びを解除 */
    table.variations,
    table.variations tbody,
    table.variations tr {
        display: block;
        width: 100%;
        box-sizing: border-box;
    }
    
    /*セル（th:ラベル と td:値）を縦に積み重ねる */
    table.variations th,
    table.variations td {
        display: block;
        width: 100%;
        box-sizing: border-box;
        padding: 5px 0 !important; /* 縦パディングで調整 */
        text-align: left !important;
        border: none !important; /* テーブルの枠線を消す */
    }
    
    /*ラベルの下にスペースを作る（見やすくするため） */
    table.variations th {
        padding-top: 15px !important;
        font-weight: bold;
    }
    
    /*プルダウンとクリアボタンを100%幅に */
    table.variations td select {
        width: 100%;
        box-sizing: border-box;
    }
    
    /*クリアボタンの位置を調整 */
    table.variations td a.reset_variations {
        display: block; /* ブロック要素にしてプルダウンの下に配置 */
        margin-top: 10px;
        text-align: right;
    }
	/*topics*/
	.pagination .page-numbers {
        margin: 3px; /* さらにマージンを狭める */
    }
	.topics-wrapper {
    	width: 90%; /* 幅を調整 */
    	max-width: 520px; /* 最大幅 */
    	margin: 0px auto; /* 中央寄せと上下マージン */
    	padding: 10px 10px; /* 内側のパディング */
	}
	.topics-wrapper h1.single-product-main-title {
    	position: relative;
    	text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.2);
    	letter-spacing: 2px;
    	font-weight: bold;
		font-size:1.2rem;
    	color: #7e854c !important;
    	background-color: transparent !important;
    	box-sizing: border-box;
    	padding:0;
	}
	.topics-wrapper .product-content h2 {
        font-size: 18px;
        padding-left: 20px;
        margin-top: 25px;
        margin-bottom: 15px;
    }
    .topics-wrapper .product-content h2:before,
    .topics-wrapper .product-content h2:after {
        width: 10px;
        height: 10px;
    }
    .topics-wrapper .product-content h2:after {
        left: 4px;
    }

    .topics-wrapper .product-content h3 {
        font-size: 16px;
        padding-left: 18px;
        margin-top: 20px;
        margin-bottom: 10px;
    }
    .topics-wrapper .product-content h3:before,
    .topics-wrapper .product-content h3:after {
        width: 7px;
        height: 7px;
    }
    .topics-wrapper .product-content h3:after {
        left: 3px;
    }
	#single-post-content {
    	margin: 0;
    	padding: 10px 0;
    	background-color: #c3c7acab;
    	box-shadow: none;
	}
	.wc-block-cart__items tr.wc-block-cart-items__row {
        display: table-row !important;
    }
	.cart-icon-pc {
        display: none;
    }
    .cart-icon-sp {
        display: block; /* もしくは flex など、親のレイアウトに合わせる */
    }
	.wp-block-table.is-style-stripes{
		background-color: initial;
		border-bottom: none!important;
		border-collapse: inherit;
		border-spacing: 0;
	}
	.shopping-text-container {
		text-align:left;
	}
}

@media (min-width: 521px) and (max-width: 768px) {
/*プライバシーポリシー*/
	body.page-id-118 .entry-title {
		font-size: 28px; 
	}
	section.product-archive-section.fade-in-up.is-visible {
    	margin: 20px auto;
    	padding: 0 10px!important;
	}
    .shopping-image-pc {
        display: block; /* PC用を表示 */
        object-position: center top;
    }
    .shopping-image-sp {
        display: none; /* スマホ用は非表示 */
    }
    .shopping-gaid {
        height: 65vh; /* PCと同じ高さを維持 */
		padding:10px;
    }
	
	.gaid-logo {
        width: 70vw; 
        max-width: 400px; /* さらに小さい画面での最大幅 */
        min-width: 150px; /* さらに小さい画面での最小幅 */
        margin-bottom: 8px;
    }
	
    .shopping-gaid .shopping p {
        font-size: 15px; /* PCまたはタブレットに近いフォントサイズ */
    }

    .topics-grid {
        grid-template-columns: repeat(2, 1fr);
        width: 88%;
        gap: 15px;
        margin: 0 auto 30px;
    }
    article#post-118 {
        margin: 20px auto 160px;
        padding: 0 20px;
        width: 100%;
        height: auto;
    }
	/* カートページの行を強制的にテーブル形式に戻す */
	.wc-block-cart__items .wc-block-cart-items__row {
		display: table-row !important;
	}
	/* カートページのヘッダー（見出し）もテーブル形式に戻す */
	.wc-block-cart__items .wc-block-cart-items__header {
		display: table-row-group !important;
	}
	/* カートページのセル（画像、商品名など）もテーブル形式に戻す */
	.wc-block-cart__items .wc-block-cart-item__image,
	.wc-block-cart__items .wc-block-cart-item__product,
	.wc-block-cart__items .wc-block-cart-item__quantity,
	.wc-block-cart__items .wc-block-cart-item__total {
		display: table-cell !important;
	}
	.cart-icon-pc {
        display: none;
    }
    .cart-icon-sp {
        display: block; /* もしくは flex など、親のレイアウトに合わせる */
    }
	.br-sp{
		display:block;
	}
	.wp-block-table.is-style-stripes{
		background-color: initial;
		border-bottom: none;
		border-collapse: inherit;
		border-spacing: 0;
	}
}
.woocommerce-breadcrumb {
    display: block !important;
    visibility: visible !important;
    opacity: 1 !important;
    margin-top: 100px; /* ヘッダーとの隙間を確保 */
    padding: 0 20px; /* 左右の余白を追加 */
}
.shopping-text-container {
	width: 100%;
    max-width: 800px;
}
.shopping-content {
    position: relative;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    text-align: center;
    z-index: 1;
    width: 100%;
    max-width: 800px;
    padding: 0 20px;
    box-sizing: border-box;
}
/* スマホやタブレットでの配置を調整 */
@media (max-width: 768px) {
    .woocommerce-breadcrumb {
        margin-top: 100px; /* スマホ用ヘッダーの高さに合わせて調整 */
		margin-bottom:20px;
		max-width:85%;
		text-align:left;
		padding:0;
    }
	.woocommerce:where(body:not(.woocommerce-uses-block-theme)) .woocommerce-breadcrumb {
    color: #7e854c;
    margin: 100px auto 0;
    padding: 0;
    font-size: 14px;
    max-width: 85%;
    text-align: left;
	}
	/*テーブル全体をブロック要素にし、横並びを解除 */
    table.variations,
    table.variations tbody,
    table.variations tr {
        display: block;
        width: 100%;
        box-sizing: border-box;
    }
    
    /*セル（th:ラベル と td:値）を縦に積み重ねる */
    table.variations th,
    table.variations td {
        display: block;
        width: 100%;
        box-sizing: border-box;
        padding: 5px 0 !important; /* 縦パディングで調整 */
        text-align: left !important;
        border: none !important; /* テーブルの枠線を消す */
    }
    
    /*ラベルの下にスペースを作る（見やすくするため） */
    table.variations th {
        padding-top: 15px !important;
        font-weight: bold;
    }
    
    /*プルダウンとクリアボタンを100%幅に */
    table.variations td select {
        width: 100%;
        box-sizing: border-box;
    }
    
    /*クリアボタンの位置を調整 */
    table.variations td a.reset_variations {
        display: block; /* ブロック要素にしてプルダウンの下に配置 */
        margin-top: 10px;
        text-align: right;
    }
	.page-id-25 table th,
	.page-id-25 table td {
    /* 既存のパディングを残しつつ、右側に余白を追加 */
		padding-bottom:10px;
		padding-top:10px;
		border-bottom:none;
		text-align:center;
	}
}
/* 数量ボタンのコンテナとボタンを強制的に表示する */
.woocommerce .quantity {
    opacity: 1 !important; /* 透明度を100%に */
    visibility: visible !important; /* 表示状態にする */
}

.woocommerce .quantity .quantity-button {
    opacity: 1 !important; /* ボタンの透明度を100%に */
    visibility: visible !important; /* ボタンを表示状態にする */
    display: inline-block !important; /* レイアウトを修正 */
}

.goods .no-products-message {
    text-align: center; /* p要素内のテキストを中央寄せ */
    width: 100%; /* 親要素(goods)のグリッドトラックの幅いっぱいに広げる */
	max-width:1000px;
    grid-column: 1 / -1; /* グリッドの全列を占有させる */
    margin: 20px 0; /* 上下マージンを設定 (左右はgridが調整) */
    font-size: 1.2em;
}

/* archive-product.php の「商品が見つかりません」もついでに中央寄せにしたい場合 */
.woocommerce-info,
.woocommerce-no-products-found {
    text-align: center;
    margin: 20px auto; /* 上下20px、左右autoでブロック自体も中央寄せ */
    max-width: 1000px;
    font-size: 1.2em;
}
/* 国旗と国旗の間の空白 */
.kokki {
    margin-right: 5px; 
}
/* 最後の国旗の不要な空白を削除 */
p.product-flag .kokki:last-child {
    margin-right: 0;
}

