﻿/*
 Theme Name:   miyoshi-ec
 Template:     miyoshi
*/
@charset "UTF-8";
@import url("../miyoshi/style.css");
@import url("../../../common/css/reset.css");
@import url("../../../common/css/base.css");
@import url("../../../detail/css/style.css");
/*@import url("../../../css/style.css");*/

@media screen and (min-width: 768px) {
  .woocommerce-message,
  .woocommerce-error,
  .woocommerce-info {
    margin-top: 120px;
    z-index: 1000;
    position: relative;
  }
}

/* 全画面共通 */
.num {
  display: flex;
  align-items: center;
  gap: 8px;
  flex-wrap: nowrap;
}

.num label {
  white-space: nowrap;
}

/* WooCommerceの数量入力に付くクラス */
.num .quantity input {
  min-width: 4em;
  width: 100%;
  max-width: 100px;
  box-sizing: border-box;
}

/* スマホ向け調整 */
@media screen and (max-width: 768px) {
  .num {
    flex-direction: row;
  }

  .num .quantity input {
    width: auto;
    flex-grow: 1;
    max-width: none;
  }
}

.ck {
	display: flex;
	align-items: center;
	gap: 8px;
}

.woocommerce .custom-cart-button {
	background-color: #d94f28 !important; /* 朱色 */
	color: #ffffff !important;
	border: 2px solid #d94f28 !important;
	font-size: 18px !important;
	padding: 16px 32px !important;
	transition: all 0.3s ease !important;
}

.woocommerce .custom-cart-button:hover {
	background-color: #ffffff !important;
	color: #d94f28 !important;
}

.woocommerce .custom-cart-view-button {
	background-color: #004169 !important;
	color: #ffffff !important;
	border: 2px solid #004169 !important;
	font-size: 16px !important;
	padding: 12px 28px !important;
	transition: all 0.3s ease !important;
	text-align: center;
	display: inline-block;
}

.woocommerce .custom-cart-view-button:hover {
	background-color: #ffffff !important;
	color: #004169 !important;
}

/*
.woocommerce ul.products {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 30px;
}
*/

/* 補足事項（囲み） */
/*
.product-notice {
    border: 1px solid #003f5e;
    background-color: #e8f1f8;
    padding: 6px 10px;
    display: inline-block;
    font-weight: bold;
    color: #003f5e;
    font-size: 0.9em;
    margin: 10px 0;
    border-radius: 4px;
}
*/

/* 商品名 */
/*
.woocommerce-loop-product__title {
    font-size: 1.4em;
    font-weight: bold;
    margin: 10px 0;
}
*/

/* 商品説明 */
/*
.product-description p {
    font-size: 0.95em;
    color: #333;
    margin-bottom: 10px;
}
*/

/* 注意事項 */
/*
.product-warning p {
    font-size: 0.9em;
    color: #003f5e;
    font-weight: bold;
    margin-bottom: 10px;
}
*/

/* セット内容＋価格 */
/*
.product-set-price {
    margin-bottom: 10px;
}
.product-set-price .price-amount {
    font-size: 1.3em;
    font-weight: bold;
}
*/

/* ご購入ボタン */
/*
.product-buy-button .button {
    display: inline-block;
    background-color: #003f5e;
    color: #fff !important;
    font-size: 1em;
    font-weight: bold;
    padding: 12px 20px;
    border-radius: 4px;
    text-align: center;
    text-decoration: none;
}
.product-buy-button .button:hover {
    background-color: #005b8e;
}
*/

/* PC */
#shopping .inner .tBox2{
	margin: 0 auto;
	padding: 120px 0 0;
	width: 100%;
}
#shopping .inner .tBox2 h3{
	margin: 0;
	padding: 0 0 15px;
	width: 100%;
	font-size: 26px;
	text-align: center;
}
#shopping .inner .tBox2 div{
font-family: baskerville-display-pt, "ＭＳ Ｐ明朝", "MS PMincho", "ヒラギノ明朝 Pro W3", "Hiragino Mincho Pro", serif;
	margin: 0;
	padding: 0 0 55px;
	width: 100%;
	font-size: 13px;
	text-align: center;
}

/* 20250609 ADD */
#shopping{
	width: 100%;
}
#shopping .inner{
	margin: 0 auto;
	padding: 85px 0 0;
	width: 1000px;
position: relative;
}
#shopping .inner .tBox{
	float: left;
	padding: 5px 0 0;
	width: 75px;
}
#shopping .inner .tBox div{
font-family: baskerville-display-pt, "ＭＳ Ｐ明朝", "MS PMincho", "ヒラギノ明朝 Pro W3", "Hiragino Mincho Pro", serif;
	float: right;
	margin: 0;
	padding: 0;
	width: auto;
	font-size: 15px;
	line-height: 15px;
	text-align: left;
	-webkit-writing-mode: vertical-rl;
	-ms-writing-mode: tb-rl;
	writing-mode: vertical-rl;
}
#shopping .inner .tBox h3{
	float: left;
	margin: 0;
	padding: 0 0 0 10px;
	width: auto;
	font-size: 26px;
	line-height: 46px;
	text-align: left;
	-webkit-writing-mode: vertical-rl;
	-ms-writing-mode: tb-rl;
	writing-mode: vertical-rl;
}
#shopping .inner .txtBox{
	float: right;
	margin: 0;
	padding: 0;
	width: 816px;
}
#shopping .inner .txtBox .txt{
	margin: 0;
	padding: 73px 0 140px;
	width: 100%;
	font-size: 17px;
	line-height: 36px;
	text-align: left;
position: relative;
}
#shopping .inner .conBox{
	margin: 0 auto 100px;
	padding: 40px 50px;
	width: 100%;
	background-color: #eef1f3;
	-webkit-box-sizing: border-box;
	-moz-box-sizing: border-box;
	box-sizing: border-box;
}
#shopping .inner .conBox .conT{
	font-family: "Noto Sans JP", "ヒラギノ角ゴ Pro W3", "Hiragino Kaku Gothic Pro", "メイリオ", Meiryo, Osaka, "ＭＳ Ｐゴシック", "MS PGothic", sans-serif;
	margin: 0;
	padding: 0;
	width: 100%;
	font-size: 17px;
	line-height: 30px;
	text-align: left;
	font-weight: bold;
}
#shopping .inner .conBox p{
	font-family: "Noto Sans JP", "ヒラギノ角ゴ Pro W3", "Hiragino Kaku Gothic Pro", "メイリオ", Meiryo, Osaka, "ＭＳ Ｐゴシック", "MS PGothic", sans-serif;
	margin: 0;
	padding: 0;
	width: 100%;
	font-size: 14px;
	line-height: 30px;
	text-align: left;
}
#shopping .inner .itemBox{
	margin: 0;
	padding: 0;
	width: 100%;
}
#shopping .inner .itemBox li{
	float: left;
	margin: 0 0 100px;
	width: 475px;
	text-align: left;
}
#shopping .inner .itemBox li:nth-child(2n){
	float: right;
}
#shopping .inner .itemBox li img{
	margin: 0 0 22px;
	width: 100%;
	height: auto;
}
#shopping .inner .itemBox li .limit{
	font-family: "Noto Sans JP", "ヒラギノ角ゴ Pro W3", "Hiragino Kaku Gothic Pro", "メイリオ", Meiryo, Osaka, "ＭＳ Ｐゴシック", "MS PGothic", sans-serif;
	margin: 0 0 10px;
	padding: 7px 8px 8px;
	font-size: 13px;
	line-height: 100%;
	font-weight: 700;
	border: 1px solid #004169;
	display: inline-block;
}
#shopping .inner .itemBox li .limit.limit2{
	float: left;
	margin: 0 10px 0px 0;
}
#shopping .inner .itemBox li .title{
	margin: 0;
	padding: 0;
	width: 100%;
	font-size: 17px;
	line-height: 150%;
}
#shopping .inner .itemBox li p{
	font-family: "Noto Sans JP", "ヒラギノ角ゴ Pro W3", "Hiragino Kaku Gothic Pro", "メイリオ", Meiryo, Osaka, "ＭＳ Ｐゴシック", "MS PGothic", sans-serif;
	margin: 0;
	padding: 8px 0 0;
	width: 100%;
	font-size: 12px;
	line-height: 25px;
	font-feature-settings: "palt";
	letter-spacing: 0.9px;
}
#shopping .inner .itemBox li .cap{
	font-family: "Noto Sans JP", "ヒラギノ角ゴ Pro W3", "Hiragino Kaku Gothic Pro", "メイリオ", Meiryo, Osaka, "ＭＳ Ｐゴシック", "MS PGothic", sans-serif;
	font-weight: 700;
	padding: 13px 0 0;
	width: 100%;
	font-size: 12px;
	line-height: 150%;
}
#shopping .inner .itemBox li .price{
	padding: 30px 0 40px;
	width: 100%;
	font-size: 16px;
	line-height: 100%;
}
#shopping .inner .itemBox li .price span{
	font-size: 12px;
}
#shopping .inner .itemBox li .price b{
	font-size: 18px;
}
#shopping .inner .itemBox li .bt{
	margin: 0 auto;
	width: 350px;
}
#shopping .inner .itemBox li .bt a{
	padding: 16px 0 0;
	width: 100%;
	height: 50px;
	display: block;
	font-size: 15px;
	line-height: 100%;
	text-align: center;
	color: #fff;
	background-color: #004169;
	border: 1px solid #004169;
	-webkit-box-sizing: border-box;
	-moz-box-sizing: border-box;
	box-sizing: border-box;
}
#shopping .inner .itemBox li .bt a:hover{
	color: #004169;
	background-color: #fff;
	border: 1px solid #004169;
	opacity:1;
	filter: alpha(opacity=100);
}
/* 20250609 ADD */

@media screen and (max-width: 780px){

/* SP */
#shopping .inner .tBox2{
	margin: 0 auto;
	/*padding: 12vw 0 0;*/
	padding: 0;
	width: 100%;
}
#shopping .inner .tBox2 h3{
	margin: 0;
	padding: 0 0 3vw;
	width: 100%;
	font-size: 4.3vw;
	text-align: center;
}
#shopping .inner .tBox2 div{
font-family: baskerville-display-pt, "ＭＳ Ｐ明朝", "MS PMincho", "ヒラギノ明朝 Pro W3", "Hiragino Mincho Pro", serif;
	margin: 0;
	padding: 0 0 6vw;
	width: 100%;
	font-size: 2.6vw;
	text-align: center;
}

/* 20250609 ADD */
#shopping{
	width: 100%;
}
#shopping .inner{
	margin: 0 auto;
	padding: 12vw 0 0;
	width: 88%;
position: relative;
}
#shopping .inner .tBox{
	float: none;
	margin: 0 auto;
	padding: 0 2% 0 0;
	width: 10%;
}
#shopping .inner .tBox div{
font-family: baskerville-display-pt, "ＭＳ Ｐ明朝", "MS PMincho", "ヒラギノ明朝 Pro W3", "Hiragino Mincho Pro", serif;
	float: right;
	margin: 0;
	padding: 0;
	width: auto;
	font-size: 2.6vw;
	line-height: 100%;
	text-align: left;
	-webkit-writing-mode: vertical-rl;
	-ms-writing-mode: tb-rl;
	writing-mode: vertical-rl;
}
#shopping .inner .tBox h3{
	float: left;
	margin: 0;
	padding: 0 0 0 0;
	width: auto;
	font-size: 4.3vw;
	line-height: 100%;
	text-align: left;
	-webkit-writing-mode: vertical-rl;
	-ms-writing-mode: tb-rl;
	writing-mode: vertical-rl;
}
#shopping .inner .txtBox{
	float: none;
	margin: 0;
	padding: 0;
	width: 100%;
}
#shopping .inner .txtBox .txt{
	margin: 0;
	padding: 10vw 0 8vw;
	width: 100%;
	font-size: 3vw;
	line-height: 200%;
	text-align: left;
position: relative;
}
#shopping .inner .conBox{
	margin: 0 auto 14vw;
	padding: 4.5vw 6%;
	width: 100%;
	background-color: #eef1f3;
	-webkit-box-sizing: border-box;
	-moz-box-sizing: border-box;
	box-sizing: border-box;
}
#shopping .inner .conBox .conT{
	font-family: "Noto Sans JP", "ヒラギノ角ゴ Pro W3", "Hiragino Kaku Gothic Pro", "メイリオ", Meiryo, Osaka, "ＭＳ Ｐゴシック", "MS PGothic", sans-serif;
	margin: 0;
	padding: 0;
	width: 100%;
	font-size: 3vw;
	line-height: 200%;
	text-align: left;
	font-weight: bold;
}
#shopping .inner .conBox p{
	font-family: "Noto Sans JP", "ヒラギノ角ゴ Pro W3", "Hiragino Kaku Gothic Pro", "メイリオ", Meiryo, Osaka, "ＭＳ Ｐゴシック", "MS PGothic", sans-serif;
	margin: 0;
	padding: 0;
	width: 100%;
	font-size: 2.7vw;
	line-height: 200%;
	text-align: left;
}
#shopping .inner .itemBox{
	margin: 0;
	padding: 0;
	width: 100%;
}
#shopping .inner .itemBox li{
	float: none;
	margin: 0 0 12vw;
	width: 100%;
	text-align: left;
}
#shopping .inner .itemBox li:nth-child(2n){
	float: none;
}
#shopping .inner .itemBox li img{
	margin: 0 0 4vw;
	width: 100%;
	height: auto;
}
#shopping .inner .itemBox li .limit{
	font-family: "Noto Sans JP", "ヒラギノ角ゴ Pro W3", "Hiragino Kaku Gothic Pro", "メイリオ", Meiryo, Osaka, "ＭＳ Ｐゴシック", "MS PGothic", sans-serif;
	margin: 0 0 2.6vw;
	padding: 1.6vw 1.6vw;
	font-size: 2.4vw;
	line-height: 100%;
	font-weight: 700;
	border: 1px solid #004169;
	display: inline-block;
}
#shopping .inner .itemBox li .limit.limit2{
	float: none;
	margin: 0 0 2.6vw;
}
#shopping .inner .itemBox li .title{
	margin: 0;
	padding: 0;
	width: 100%;
	font-size: 3.4vw;
	line-height: 150%;
}
#shopping .inner .itemBox li p{
	font-family: "Noto Sans JP", "ヒラギノ角ゴ Pro W3", "Hiragino Kaku Gothic Pro", "メイリオ", Meiryo, Osaka, "ＭＳ Ｐゴシック", "MS PGothic", sans-serif;
	margin: 0;
	padding: 1.8vw 0 0;
	width: 100%;
	font-size: 2.6vw;
	line-height: 190%;
	font-feature-settings: "palt";
	letter-spacing: 0.9px;
}
#shopping .inner .itemBox li .cap{
	font-family: "Noto Sans JP", "ヒラギノ角ゴ Pro W3", "Hiragino Kaku Gothic Pro", "メイリオ", Meiryo, Osaka, "ＭＳ Ｐゴシック", "MS PGothic", sans-serif;
	font-weight: 700;
	padding: 1.4vw 0 0;
	width: 100%;
	font-size: 2.7vw;
	line-height: 150%;
}
#shopping .inner .itemBox li .price{
	padding: 2.6vw 0 8vw;
	width: 100%;
	font-size: 3.2vw;
	line-height: 100%;
}
#shopping .inner .itemBox li .price span{
	font-size: 2.8vw;
}
#shopping .inner .itemBox li .price b{
	font-size: 3.4vw;
}
#shopping .inner .itemBox li .bt{
	margin: 0 auto;
	width: 68%;
}
#shopping .inner .itemBox li .bt a{
	padding: 2.6vw 0 2.8vw;
	width: 100%;
	height: auto;
	display: block;
	font-size: 3vw;
	line-height: 100%;
	text-align: center;
	color: #fff;
	background-color: #004169;
	border: 1px solid #004169;
	-webkit-box-sizing: border-box;
	-moz-box-sizing: border-box;
	box-sizing: border-box;
}
#shopping .inner .itemBox li .bt a:hover{
	color: #004169;
	background-color: #fff;
	border: 1px solid #004169;
	opacity:1;
	filter: alpha(opacity=100);
}
/* 20250609 ADD */
}

/* 20250609-2 ADD */
.button-wrapper {
    display: flex;
    justify-content: flex-end;
}

.custom-view-all-button {
    display: inline-block;
    padding: 14px 28px;
    color: #004169 !important;
    font-size: 26px;
    font-weight: bold;
    text-decoration: none;
    transition: background-color 0.3s ease, color 0.3s ease;
}

.custom-view-all-button:hover {
    background-color: #ffffff !important;
    color: #004169 !important;
}

@media (max-width: 768px) {
    .custom-view-all-button {
        font-size: 18px;
        padding: 12px 20px;
    }
}

@media (max-width: 480px) {
    .custom-view-all-button {
        font-size: 16px;
        padding: 10px 16px;
    }
}
/* 20250609-2 ADD */

/* 20250609-3 ADD */
/* 戻るボタン用のラッパー：左寄せに変更 */
.button-wrapper-left {
    display: flex;
    justify-content: flex-start;
}

/* 戻るボタン自体のスタイル */
.custom-back-button {
    display: inline-block;
    padding: 14px 28px;
    color: #004169 !important;
    font-size: 15px;
    font-weight: bold;
    text-decoration: none;
    transition: background-color 0.3s ease, color 0.3s ease;
}

/* ホバー時の効果（共通テイスト） */
.custom-back-button:hover {
    background-color: #ffffff !important;
    color: #004169 !important;
}

@media (max-width: 768px) {
    .custom-back-button {
        font-size: 14px;
        padding: 12px 20px;
    }
}

@media (max-width: 480px) {
    .custom-back-button {
        font-size: 13px;
        padding: 10px 16px;
    }
}
/* 20250609-3 ADD */
/* 20250612-1 ADD */
/* 商品画像のサイズをPCでは大きくする */
.woocommerce-cart table.cart img,
.woocommerce-checkout table.cart img {
    width: 300px !important;
    height: auto;
}

.woocommerce-shipping-calculator .shipping-calculator-form .form-row-wide:first-child {
    display: none;
}

.woocommerce-shipping-calculator #calc_shipping_state_field {
    text-align: left;
    margin: 0 0 15px;
}
.woocommerce-shipping-calculator #calc_shipping_state_field select {
    margin: 0;
}

/* フォーム内の並び順を制御するためにflexboxを使用 */
.woocommerce-shipping-calculator .shipping-calculator-form {
  display: flex;
  flex-direction: column;
}

.continue-shopping-button .button {
  min-width: 160px;
}



/* スマホで商品画像が非表示になっている場合の修正 */
@media screen and (max-width: 767px) {
    .woocommerce-cart .product-thumbnail {
        display: table-cell !important; /* display: none が設定されている場合の上書き */
    }

.woocommerce-cart table.cart img,
.woocommerce-checkout table.cart img {
        max-width: 300px !important;
        height: auto;
        display: block;
        margin: 0 auto;
}

.woocommerce table.shop_table_responsive tr td.product-thumbnail::before,
.woocommerce-page table.shop_table_responsive tr td.product-thumbnail::before {
                content: attr(data-title) "";
}
}
/* 20250612-1 ADD */
/* 20250612-2 ADD */

/* 入力欄とテキストエリアのズーム防止（モバイル） */
input[type="text"],
input[type="email"],
input[type="tel"],
input[type="number"],
textarea,
select {
    font-size: 16px !important;
}

.woocommerce-checkout input[type="text"],
.woocommerce-checkout input[type="email"],
.woocommerce-checkout input[type="tel"],
.woocommerce-checkout input[type="number"],
.woocommerce-checkout textarea,
.woocommerce-checkout select {
    font-size: 1.5em;
    padding: 1em;
    line-height: 1.5;
    height: auto;
    box-sizing: border-box;
}
/* 20250612-2 ADD */
/* 20250612-3 ADD */
/* 支払い方法のラベルと説明文のフォントサイズを大きく */
.woocommerce-checkout .wc_payment_method label,
.woocommerce-checkout .wc_payment_method .payment_box {
    font-size: 16px !important; /* お好みのサイズに調整 */
    line-height: 1.4;
    color: #333;
}

/* 支払い方法の説明文が折り返して見えるようにする */
.woocommerce-checkout .wc_payment_method .payment_box {
    white-space: normal !important;
    display: block;
    margin-top: 0.5em;
}

/* ラジオボタンのサイズ調整（必要なら） */
.woocommerce-checkout .wc_payment_method input[type="radio"] {
    width: 18px;
    height: 18px;
    vertical-align: middle;
}
/* 20250612-3 ADD */
/* 20250613-1 ADD */
/* -------------------------------
共通スタイル（PC〜タブレット向け）
---------------------------------- */
.woocommerce-notice {
  font-size: 24px;
  font-weight: bold;
  text-align: center;
  margin-bottom: 20px;
}

.woocommerce-order-overview {
  display: flex;
  justify-content: center;
  flex-wrap: wrap;
  gap: 20px;
  text-align: center;
  font-size: 20px;
  padding-bottom: 10px;
}

.bankjp_details {
  display: flex;
  justify-content: center;
  flex-wrap: wrap;
  text-align: left;
  font-size: 20px;
  padding-bottom: 10px;
}

/* 見出しh2はflexにしない */
.woocommerce-order h2 {
  text-align: center;
  font-size: 24px;
  margin-top: 30px;
  padding-bottom: 10px;
}

/* -------------------------------
スマホ向け（画面幅768px以下）
---------------------------------- */
@media (max-width: 768px) {

  .woocommerce-notice {
    font-size: 13px;
    font-weight: bold;
    text-align: center;
    margin-bottom: 20px;
  }

  .woocommerce-order-overview {
    display: flex;
    text-align: left;
    font-size: 13px;
    flex-wrap: nowrap;
    flex-direction: column;
    align-content: center;
    align-items: flex-start;
  }

/*
.woocommerce-order-overview {
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    font-size: 13px;
    text-align: center;
    padding: 10px 0;
}
*/
  .woocommerce table.shop_table th,
  .woocommerce table.shop_table td {
    font-size: 9px;
  }

  .bankjp_details {
    display: flex;
    text-align: left;
    font-size: 12px;
    flex-wrap: nowrap;
    flex-direction: column;
    align-content: center;
    align-items: flex-start;
  }

  .woocommerce ul.order_details li {
    border-right: none;
    font-size: 12px;
  }

  .woocommerce-order h2 {
    text-align: left;
    font-size: 12px;
    margin-top: 30px;
    padding-bottom: 10px;
  }
}

/*@media (max-width: 768px) {*/
  .wrapper {
    min-height: 100vh;
    display: flex;
    flex-direction: column;
  }

  .main-content {
    flex: 1;
  }
/*}*/
/* 20250613-1 ADD */

/* 20250908-1 ADD */
/* WooCommerce 利用規約ページのスタイル */
.woocommerce-terms-and-conditions {
  text-align: left;       /* 左寄せに統一 */
  line-height: 1.8;       /* 行間を広げる */
  font-size: 16px;        /* 読みやすいサイズ */
  max-width: 800px;       /* 横幅を制限 */
  margin: 0 auto;         /* ページ中央に配置 */
  padding: 20px;
  overflow: visible !important; /* 自動スクロールを無効化（必要に応じて） */
  max-height: none !important;  /* 高さ制限を解除（必要に応じて） */
}

/* 見出し */
.woocommerce-terms-and-conditions h2 {
  border-bottom: 2px solid #ccc;
  padding-bottom: 0.3em;
  margin-bottom: 1em;
}

.woocommerce-terms-and-conditions h3 {
  margin-top: 1.5em;
  font-size: 1.1em;
  font-weight: bold;
}

/* 箇条書き */
.woocommerce-terms-and-conditions ul {
  margin-left: 1.5em;
  list-style-type: disc;
}
/* 20250908-1 ADD */

/* 20250912 ADD */
ul.products {
    display: flex;
    flex-wrap: wrap;
    gap: 20px; /* 商品間の余白 */
}

/* 各商品 */
ul.products li.product {
    flex: 1 1 calc(50% - 20px); /* 2列 */
    display: flex;
    flex-direction: column;
}
/* 20250912 ADD */