.fs-preview-header { display: none; }

* {
  box-sizing: border-box;
  /* min-width: unset!important; */
 /*  min-height: unset!important; */
}

/* ========================================
   TONELL STYLE × future-shop カスタムCSS
   ======================================== */

/* ========================================
   1. CSS変数でTONELL STYLEカラー・フォントを定義
   ======================================== */
:root {
  /* TONELL STYLEカラーパレット */
  --tonell-primary: #748b7b;
  --tonell-secondary: #4f545b;
  --tonell-dark: #2B2B2B;
  --tonell-gray: #999999;
  --tonell-light: #fffcf6;
  --tonell-light-green: #f2f8ee;
  --tonell-red: #ff0000;

  /* フォントファミリー */
  --tonell-font-notosans: 'Noto Sans JP', sans-serif;
  --tonell-font-playfair: 'Playfair Display', serif;
  --tonell-font-shippori: 'Shippori Mincho', serif;

  /* future-shopデフォルトカラーを上書き */
  --fs-color-maincolor: var(--tonell-primary);
  --fs-color-maincolor__font: #ffffff;
  --fs-color-button--primary: var(--tonell-primary);
  --fs-color-button--primary__font: #ffffff;
  --fs-color-button--primary__border: var(--tonell-primary);
  --fs-color-font--link: var(--tonell-primary);
  --fs-color-font--link--hover: var(--tonell-secondary);
  --fs-color-page__background: var(--tonell-light);
}

/* ========================================
   2. Webフォント読み込み
   ======================================== */
@import url('https://fonts.googleapis.com/css2?family=Noto+Sans+JP:wght@100..900&family=Playfair+Display:wght@400..900&family=Shippori+Mincho:wght@400;500;600;700;800&display=swap');


/* ========================================
   4. 全ページ共通スタイル上書き
   ======================================== */
html{
 font-size: 0.75em; 
}

/* body基本スタイル */
body {
  background-color: var(--tonell-light);
  color: var(--tonell-secondary);
  font-size: 0.875rem; /* 14px */
  line-height: 1.7;
  letter-spacing: 0.05em;
}

@media (min-width: 1024px) {
  body {
    font-size: 1rem; /* 16px */
  }
}

/* ========================================
   5. ボタンスタイル統一
   ======================================== */

/* future-shopデフォルトボタン */
.fs-pt-button,
button[type="submit"],
input[type="submit"],
.fs-c-button {
  font-family: var(--tonell-font-notosans);
  background-color: var(--tonell-primary);
  color: #ffffff;
  border: 1px solid var(--tonell-primary);
  border-radius: 36px;
  padding: 12px 24px;
  transition: all 0.2s ease;
  font-size: 1rem;
  font-weight: 500;
  cursor: pointer;
}

.fs-pt-button:hover,
button[type="submit"]:hover,
input[type="submit"]:hover,
.fs-c-button:hover {
  background-color: var(--tonell-light);
  color: var(--tonell-primary);
  border-color: var(--tonell-primary);
}

/* カスタムボタンスタイル（TONELLデザイン） */
.btn-primary-arrow {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-family: var(--tonell-font-notosans);
  background-color: var(--tonell-primary);
  color: #ffffff;
  border: 1px solid var(--tonell-primary);
  border-radius: 36px;
  padding: 12px 33px;
  text-decoration: none;
  transition: all 0.2s ease;
  font-size: 1rem;
  font-weight: 500;
}

@media (max-width: 1023px) {
  .btn-primary-arrow {
    padding: 28px 76px;
  }
}

.btn-primary-arrow:hover {
  background-color: var(--tonell-light);
  color: var(--tonell-primary);
  border-color: var(--tonell-primary);
}

/* カテゴリボタン */
.btn-category {
  display: inline-block;
  font-family: var(--tonell-font-notosans);
  background-color: transparent;
  color: var(--tonell-primary);
  border: 1px solid var(--tonell-primary);
  border-radius: 30px;
  padding: 5px 21px;
  text-decoration: none;
  transition: all 0.2s ease;
  font-size: 0.75rem;
  font-weight: 500;
}

.btn-category:hover {
  background-color: var(--tonell-primary);
  color: #ffffff;
}

/* オプションボタン */
.btn-option {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  font-family: var(--tonell-font-notosans);
  background-color: #ffffff;
  color: var(--tonell-primary);
  border: 1px solid var(--tonell-primary);
  border-radius: 8px;
  padding: 16px;
  text-decoration: none;
  transition: all 0.2s ease;
  font-size: 1rem;
  font-weight: 500;
}

.btn-option:hover {
  background-color: var(--tonell-light-green);
}

/* ========================================
   6. フォーム要素統一
   ======================================== */

input[type="text"],
input[type="email"],
input[type="password"],
input[type="tel"],
input[type="number"],
textarea,
select {
  font-family: var(--tonell-font-notosans);
  border: 1px solid var(--tonell-gray);
  border-radius: 4px;
  padding: 8px 12px;
  background-color: #ffffff;
  font-size: 0.875rem;
  line-height: 1.5;
  color: var(--tonell-secondary);
  transition: border-color 0.2s ease, box-shadow 0.2s ease;
}

input:focus,
textarea:focus,
select:focus {
  border-color: var(--tonell-primary);
  outline: none;
  box-shadow: 0 0 0 2px rgba(116, 139, 123, 0.1);
}

/* セレクトボックスのカスタム矢印 */
select {
  appearance: none;
  background-image: url('data:image/svg+xml;charset=UTF-8,%3csvg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 24 24" fill="none" stroke="%234f545b" stroke-width="2" stroke-linecap="round" stroke-linejoin="round"%3e%3cpolyline points="6 9 12 15 18 9"%3e%3c/polyline%3e%3c/svg%3e');
  background-repeat: no-repeat;
  background-position: right 1rem center;
  background-size: 1rem;
  padding-right: 2.5rem;
}

/* プレースホルダースタイル */
::placeholder {
  color: var(--tonell-gray);
  opacity: 0.7;
}

/* ========================================
   7. リンクスタイル統一
   ======================================== */

a {
  color: var(--tonell-primary);
  text-decoration: none!important;
  transition: opacity 0.2s ease;
}

a:hover {
  opacity: 0.7;
}

/* ========================================
   8. ヘッダー・フッターのカスタマイズ
   ======================================== */

/* ヘッダー背景色 */
.fs-l-header {
  background-color: var(--tonell-primary);
}

/* ヘッダーリンク */
.fs-l-header a {
  color: #ffffff;
}

.fs-l-header.sub-common #main-header a {
  color: initial;
}

/* フッター背景色 */
.fs-l-footer {
  background-color: var(--tonell-primary);
  color: #ffffff;
  margin-top: unset;
  border-top: unset;
}

.fs-l-footer a {
  color: #ffffff;
}

/* ========================================
   9. TOPページ専用スコープ
   ======================================== */

/* TOPページコンテンツエリアにID追加: <main id="tonell-top-page"> */
#tonell-top-page {
  /* Tailwind CSSクラスがここでフル適用される */
  /* future-shopデフォルトCSSの影響を最小化 */
}

/* TOPページ以外のfuture-shopデフォルトスタイルを保護 */
body:not(.fs-body-top) .fs-l-pageMain {
  /* future-shopデフォルトスタイルを維持 */
}

/* ========================================
   10. ユーティリティクラス
   ======================================== */

/* フォントファミリー */
.font-notosans {
  font-family: var(--tonell-font-notosans);
}

.font-playfair {
  font-family: var(--tonell-font-playfair);
}

.font-shippori {
  font-family: var(--tonell-font-shippori);
}

/* カラーユーティリティ */
.text-primary {
  color: var(--tonell-primary);
}

.text-secondary {
  color: var(--tonell-secondary);
}

.bg-primary {
  background-color: var(--tonell-primary);
}

.bg-light {
  background-color: var(--tonell-light);
}

.bg-light-green {
  background-color: var(--tonell-light-green);
}

/* ========================================
   11. レスポンシブユーティリティ
   ======================================== */

/* SPのみ表示 */
@media (min-width: 1024px) {
  .sp-only {
    display: none !important;
  }
}

/* PCのみ表示 */
@media (max-width: 1023px) {
  .pc-only {
    display: none !important;
  }
}

/* ========================================
   12. future-shop特定ページ調整
   ======================================== */

/* 商品一覧ページ */
.fs-body-products-list .fs-c-productCard__image {
  border-radius: 8px;
  overflow: hidden;
}

/* 商品詳細ページ */
.fs-body-product-detail .fs-c-productDetail__addToCartButton {
  /* カスタムボタンスタイルを継承 */
}

/* カートページ */
.fs-body-cart .fs-c-cart__checkoutButton {
  /* カスタムボタンスタイルを継承 */
}

/* マイページ */
.fs-body-mypage .fs-c-mypage__nav {
  font-family: var(--tonell-font-notosans);
}

/* ========================================
   13. アニメーション・トランジション
   ======================================== */

/* スムーススクロール */
html {
  scroll-behavior: smooth;
}

/* フェードイン */
.fade-in {
  animation: fadeIn 0.3s ease-in;
}

@keyframes fadeIn {
  from {
    opacity: 0;
  }
  to {
    opacity: 1;
  }
}

/* ========================================
   14. デバッグ用（本番では削除）
   ======================================== */

/* CSSが正常に読み込まれているか確認 */
/* body::before {
  content: "TONELL STYLE Custom CSS Loaded";
  position: fixed;
  bottom: 10px;
  right: 10px;
  background: var(--tonell-primary);
  color: #ffffff;
  padding: 5px 10px;
  font-size: 12px;
  z-index: 9999;
  border-radius: 4px;
} */


.fs-l-main.original-container{
    margin: 0px auto;
    padding: 0px;
    max-width: none;
    display: block;
}
.fs-l-pageMain.original-container{
    max-width: none;
}
.pm-0 p{
margin: inherit;
}

.px-0 {
padding-left: 0!important;
padding-right: 0!important;
}

.fs-l-header.original-container{
    background-color: unset;
    display: block;
    padding-top: unset;
}

.fs-c-breadcrumb{
font-size: 1rem;
max-width: 1148px;
padding-left: 24px;
padding-right: 24px;
margin-left: auto;
margin-right: auto;
}

.fs-l-main{
max-width: 1148px;
padding-left: 24px;
padding-right: 24px;
margin-left: auto;
margin-right: auto;
}
#subpage-main-header a{
color: #4F545B;
}

@media screen and (min-width: 1200px) {
    .fs-c-heading--page {
        padding: 1.4em 0;
    }
}
.fs-c-checkbox__checkMark{
width: 16px;
min-width: 16px;
}
.fs-c-dropdown.fs-c-inputDate__year{
width: 86px;
}
.fs-c-dropdown.fs-c-inputDate__month{
width: 86px;
}
.fs-c-dropdown.fs-c-inputDate__date{
width: 86px;
}

.title-40 h1 {
  font-size: 24px !important;      /* text-2xl */
  line-height: 2rem !important;      /* text-2xl */
}

@media (min-width: 768px) {          /* md */
  .title-40 h1 {
    font-size: 30px !important;  /* text-3xl */
    line-height: 2.25rem !important; /* text-3xl */
  }
}

@media (min-width: 1024px) {         /* lg */
  .title-40 h1 {
    font-size: 40px !important;      /* text-[40px] */
    line-height: 1.2 !important;     /* /[1.2] */
  }
}

/* 商品詳細用CSS */
.product-text-group{
  padding: 16px 0;
}
.product-text {
   margin-top: 8px;
}
@media (min-width: 1024px) {
  .product-text {
    margin-top: 12px;
  }
}

.product-text p {
   margin: 4px 0 0 0;
}
@media (min-width: 1024px) {
  .product-text p {
   margin: 6px 0 0 0;
  }
}
@media (min-width: 1024px) {
.lg:top-[55px]{
top: 55px;
  }
}


/* 既存の切り替え（念のため） */
.logout.my-false { display: none; }
.login.my-true  { display: none; }
.fs-clientInfo .logout.my-false { display: none !important; }
.fs-clientInfo .login.my-true  { display: none !important; }

/* ホバーで文字表示（ツールチップ） */
.fs-clientInfo a.login,
.fs-clientInfo a.logout {
  position: relative;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  line-height: 1;
}

/* 文字本体 */
.fs-clientInfo a.login::after,
.fs-clientInfo a.logout::after {
  content: attr(aria-label);
  position: absolute;
  left: 50%;
  bottom: calc(100% + 8px);          /* アイコンの上に出す */
  transform: translateX(-50%) translateY(4px);
  opacity: 0;
  pointer-events: none;
  white-space: nowrap;
  z-index: 9999;

  /* 見た目（お好みで調整） */
  font-size: 12px;
  padding: 6px 8px;
  border-radius: 6px;
  background: rgba(0,0,0,.75);
  color: #fff;
}

/* 小さい三角（任意） */
.fs-clientInfo a.login::before,
.fs-clientInfo a.logout::before {
  content: "";
  position: absolute;
  left: 50%;
  bottom: calc(100% + 2px);
  transform: translateX(-50%);
  opacity: 0;
  pointer-events: none;
  z-index: 9999;

  border: 6px solid transparent;
  border-top-color: rgba(0,0,0,.75);
}

/* ホバー/キーボードフォーカスで表示 */
.fs-clientInfo a.login:hover::after,
.fs-clientInfo a.logout:hover::after,
.fs-clientInfo a.login:focus-visible::after,
.fs-clientInfo a.logout:focus-visible::after,
.fs-clientInfo a.login:hover::before,
.fs-clientInfo a.logout:hover::before,
.fs-clientInfo a.login:focus-visible::before,
.fs-clientInfo a.logout:focus-visible::before {
  opacity: 1;
  transform: translateX(-50%) translateY(0);
}

.fs-clientInfo.mt-5px{ margin-top: 5px; }