
:root{
  --gs-text:#ffffff;
  --gs-accent:#c9a062;
  --gs-overlay: linear-gradient(to bottom, rgba(0,0,0,.35), rgba(0,0,0,.35));

  --marquee-h: 12vh;
  --marquee-speed: 90s;
  --marquee-color: rgba(255,255,255,0.18);
  --marquee-font: clamp(32px, 10vw, 140px);
}

/* 全体の横スクロール防止 & サイズ計算リセット */
*, *::before, *::after {
  box-sizing: border-box;
}

html, body {
  margin: 0;
  padding: 0;
  width: 100%;
  max-width: 100%;
  overflow-x: hidden;
}

/* =========================================
   HERO（修正版：IMGタグ画像配置タイプ）
========================================= */
.gs-hero {
  position: relative;
  width: 100%;
  /* 高さは画像の高さなりにする（固定しない） */
  height: auto;
  min-height: 0;
  max-height: none;
  background: none; /* 背景画像設定を削除 */
  overflow: hidden;
}

/* 追加した画像タグのスタイル：これで100%幅を保証 */
.gs-hero__bg-img {
  width: 100%;
  height: auto;
  display: block;
  vertical-align: bottom;
}

/* 画像の上に乗るテキストエリア（絶対配置で中央へ） */
.gs-hero__inner {
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  z-index: 1;
  text-align: center;
  padding: 24px;
  width: 90%;
  max-width: 960px;
  font-family: "Yu Gothic","游ゴシック体","Meiryo",sans-serif;
  
  /* スマホで文字がはみ出ないようスクロール保険 */
  max-height: 100%;
  overflow-y: auto;
}

.gs-label {
  display: inline-block;
  padding: 6px 12px;
  border-radius: 999px;
  background: rgba(255,255,255,.18);
  font-size: 12px;
  font-weight: 700;
  letter-spacing: .1em;
  margin-bottom: 10px;
  color: #fff;
  text-shadow: 0 2px 4px rgba(0,0,0,0.6);
}

.gs-title {
  font-weight: 800;
  line-height: 1.2;
  font-size: clamp(24px, 8vw, 84px); /* スマホで大きすぎないよう調整 */
  letter-spacing: .02em;
  margin: 4px 0 10px;
  color: #fff;
  text-shadow: 0 2px 8px rgba(0,0,0,0.6);
}

.gs-sub {
  font-size: clamp(12px, 3vw, 18px);
  font-weight: 600;
  text-shadow: 0 2px 8px rgba(0,0,0,0.6);
  margin-bottom: 16px;
  color: #fff;
}

.gs-cta {
  display: inline-block;
  padding: 12px 28px;
  border-radius: 999px;
  background: var(--gs-accent);
  color: #fff;
  text-decoration: none;
  font-weight: 700;
  transition: transform .15s ease, opacity .15s ease;
  box-shadow: 0 4px 10px rgba(0,0,0,0.4);
}
.gs-cta:hover {
  opacity: .9;
  transform: translateY(-1px);
}

/* オーバーレイ（文字を見やすくする薄い暗幕） */
.gs-hero::before {
  content: "";
  position: absolute;
  inset: 0;
  background: rgba(0,0,0,0.2); /* 画像が暗すぎれば数値を下げる */
  z-index: 0;
  pointer-events: none;
}

/* 不要なビデオ設定などを無効化 */
.gs-hero__video, .gs-hero__media, .gs-hero__overlay, .hero-bg-video {
  display: none !important;
}

/* スマホ用の微調整 */
@media (max-width: 767px){
  .gs-hero {
    min-height: 0; /* 元のスマホ設定を打ち消し */
  }
  .gs-cta {
    padding: 8px 20px;
    font-size: 13px;
  }
  .gs-sub {
    /* 2行以上になったら省略（画像からはみ出し防止） */
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
  }
}

/* =========================================
   Tabs（スクロール追従）
========================================= */
.gs-tabs{
  position: -webkit-sticky !important; /* iOS用 */
  position: sticky !important;
  top: 0;                   /* 画面の最上部に張り付く */
  z-index: 1000;
  background: #eeecd8;
  border-bottom: 1px solid rgba(0,0,0,.06);
}

.gs-tabs__list{
  max-width: 1280px;
  margin: 0 auto;
  display: flex;
  gap: 28px;
  align-items: center;
  justify-content: center;
  padding: 18px 16px;
  position: relative;
  overflow-x: auto;
}

.gs-tabs__item{
  list-style: none;
}

.gs-tabs__item a{
  display: inline-block;
  text-decoration: none;
  font-family: "Yu Gothic","游ゴシック体","Meiryo",sans-serif;
  font-weight: 700;
  letter-spacing: .06em;
  color: #333;
  opacity: .55;
  transition: opacity .15s ease;
  padding: 6px 0;
}

.gs-tabs__item.is-active a{ opacity: 1; }

/* 上部に固定ヘッダーがあるPC向けに、少し下げたい場合 */
@media (min-width: 1024px){
  .gs-tabs{
    top: 80px; /* 必要に応じて調整（/shop のヘッダー高さに合わせる） */
  }
}

/* =========================================
   Sections & Cards
========================================= */
.gs-sec{
  padding: 56px 16px;
  background: #f8f7f1;
}

.gs-sec__title{
  text-align: center;
  margin-bottom: 24px;
  font-size: clamp(20px, 4vw, 36px);
  letter-spacing: .06em;
  font-weight: 800;
  color: #222;
}

.gs-cards{
  max-width: 1280px;
  margin: 0 auto;
  display: grid;
  gap: 20px;
  grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
}

/* スマホ：2列レイアウトを強制 */
@media (max-width: 767px){
  .gs-cards{
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}

.gs-card{
  background:#fff;
  border-radius: 14px;
  overflow: hidden;
  box-shadow: 0 8px 24px rgba(0,0,0,.06);
  transition: transform .15s ease, box-shadow .15s ease;
  position: relative;
}

.gs-card:hover{
  transform: translateY(-2px);
  box-shadow:0 12px 28px rgba(0,0,0,.10);
}

.gs-card img{
  width: 100%;
  height: auto;
  object-fit: contain;
  display: block;
  background: #f9f9f9;
}

.gs-card__ttl{
  font-size: 15px;
  font-weight: 700;
  padding: 12px 14px 6px;
}
.gs-card__txt{
  font-size: 12px;
  color:#666;
  padding: 0 14px 14px;
  line-height: 1.7;
}

/* =========================================
   背景マルキー
========================================= */
.bg-marquee{
  position: relative;
  height: var(--marquee-h);
  overflow: hidden;
  background: repeating-linear-gradient(
    45deg,
    #ccbf0a 0px,
    #ccbf0a 30px,
    #ccbf0a 30px,
    #ccbf0a 60px
  );
}

.bg-marquee__track{
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  white-space: nowrap;
  animation: marquee var(--marquee-speed) linear infinite;
}

.bg-marquee__track--dup{
  animation-delay: calc(var(--marquee-speed) / -2);
}

.bg-marquee__track span{
  display: inline-block;
  font-weight: 800;
  letter-spacing: .06em;
  font-size: var(--marquee-font);
  color: var(--marquee-color);
  margin-right: .5em;
}

@keyframes marquee{
  from { transform: translate3d(0, -50%, 0); }
  to   { transform: translate3d(-100%, -50%, 0); }
}

/* =========================================
   画像上 高級感モーダル（全画面）
========================================= */
.link-select-image{
  position: relative;
  display: block;
  cursor: pointer;
  border-radius: 14px;
  overflow: hidden;
}

.link-select-image img{
  width: 100%;
  height: auto;
  display: block;
}

/* 全画面に強制 */
.link-select-image .link-menu{
  position: fixed !important;
  inset: 0 !important;
  display: flex !important;
  align-items: center;
  justify-content: center;
  background: rgba(0,0,0,0.45);
  opacity: 0;
  visibility: hidden;
  transition: opacity .25s ease;
  z-index: 9999 !important;
}

/* 開いた */
.link-select-image.is-open .link-menu{
  opacity: 1 !important;
  visibility: visible !important;
}

/* 白い中央のカード */
.link-menu__inner{
  background: rgba(255,255,255,0.96);
  border-radius: 16px;
  padding: 18px 20px 10px;
  box-shadow: 0 10px 35px rgba(0,0,0,0.28);
  border: 1px solid rgba(201,160,98,0.6);
  width: 90%;
  max-width: 340px;
  box-sizing: border-box;
  text-align: center;
  margin: 0 auto;
}

.link-menu__label{
  font-size: 14px;
  font-weight: 700;
  letter-spacing: .08em;
  color: #8c6b3c;
  margin-bottom: 14px;
}

.link-menu__btn{
  display: block;
  width: 100%;
  padding: 10px 12px;
  margin-bottom: 10px;
  border-radius: 999px;
  font-size: 14px;
  font-weight: 700;
  text-decoration: none;
  border: none;
  box-sizing: border-box;
}

.link-menu__btn--primary{
  background: linear-gradient(135deg,#c9a062,#e3c58d);
  color: #fff;
}
.link-menu__btn--primary:hover{
  background: linear-gradient(135deg,#b38b4f,#d3b373);
}

.link-menu__btn--secondary{
  background: #fff;
  color: #8c6b3c;
  border: 1px solid rgba(201,160,98,0.7);
}
.link-menu__btn--secondary:hover{
  background: #f8f2e6;
}

.link-menu__close{
  margin-top: 2px;
  width: 100%;
  padding: 6px 0;
  font-size: 12px;
  border-radius: 999px;
  border: none;
  background: transparent;
  color: #999;
  cursor: pointer;
}
.link-menu__close:hover{
  color: #666;
}

/* 売り切れ表示用 */
.gs-card {
  position: relative;
  overflow: hidden;
}

/* 画像をグレーアウト */
.gs-card.is-soldout img {
  filter: grayscale(100%) brightness(0.6);
}

/* 全体に半透明の黒＋「限定数終了」 */
.gs-card.is-soldout::before {
  content: "限定数終了";
  position: absolute;
  inset: 0;
  display: flex;
  align-items: center;
  justify-content: center;
  background: rgba(0, 0, 0, 0.45);
  color: #fff;
  font-weight: 700;
  font-size: 1.4rem;
  letter-spacing: 0.2em;
  text-align: center;
  z-index: 2;
  pointer-events: none;
}

/* 飾り枠（全てのカード共通） */
.gs-card::before{
  content: "";
  position: absolute;
  inset: 6px; /* 枠を内側に少しだけ寄せる */
  border-radius: 10px;
  border: 1px solid rgba(201,160,98,0.8); /* ゴールド系の色 */
  pointer-events: none; /* クリックの邪魔をしない */
  box-shadow: 0 0 0 1px rgba(255,255,255,0.4) inset; /* 内側にほんのり白 */
}

/* =========================================================
   LP専用ヘッダー（/shop 風のレイアウトをざっくり再現）
========================================================= */
.header--lp{
  font-family: "Yu Gothic","游ゴシック体","Meiryo",sans-serif;
  background:#ffffff;
  border-bottom:1px solid #eee;
}

/* 共通の横幅・左右余白 */
.header--lp .wrap__in{
  max-width: 1120px;
  margin: 0 auto;
  padding: 8px 16px;
  box-sizing: border-box;
}

/* 上部：ロゴ＋説明文 */
.header--lp .header__top{
  background:#ffffff;
}
.header--lp .header__top__in{
  display:flex;
  align-items:center;
  justify-content:space-between;
  gap:20px;
}

.header--lp .header__logo img{
  max-height:60px;
  height:auto;
  width:auto;
}

.header--lp .header__desc{
  font-size:12px;
  line-height:1.6;
  color:#555;
  margin:0;
}

/* 赤帯メニュー */
.header--lp .header__bar{
  margin:0;
  padding:6px 10px;
  font-size:12px;
  text-align:center;
  background:#b70000;
  color:#fff;
  white-space:nowrap;
}
.header--lp .header__bar a{
  color:#fff !important;
  text-decoration:none;
}
.header--lp .header__bar a:hover{
  text-decoration:underline;
}

/* 下段：グローバルナビ＋検索＋アイコン */
.header--lp .header__mid{
  background:#f8f7f1;
}
.header--lp .header__mid__in{
  display:flex;
  align-items:center;
  justify-content:space-between;
  gap:16px;
}

/* グローバルナビ */
.header--lp .header__nav__list{
  display:flex;
  align-items:center;
  gap:16px;
  list-style:none;
  margin:0;
  padding:0;
  font-size:13px;
}
.header--lp .header__nav__item a{
  text-decoration:none;
  color:#333;
  font-weight:700;
}
.header--lp .header__nav__item a:hover{
  color:#c9a062;
}

/* 検索フォーム */
.header--lp .header__function{
  display:flex;
  align-items:center;
  gap:16px;
}
.header--lp .header__form{
  display:flex;
  align-items:center;
  gap:4px;
}
.header--lp .header__form__input{
  padding:4px 8px;
  font-size:12px;
  border:1px solid #ccc;
  border-radius:4px;
  min-width:180px;
}
.header--lp .header__form__submit{
  padding:4px 10px;
  border-radius:4px;
  border:none;
  background:#333;
  color:#fff;
  font-size:12px;
  cursor:pointer;
}
.header--lp .header__form__submit:hover{
  background:#555;
}

/* マイページ＆カートアイコン */
.header--lp .l-header__inner__block{
  display:flex;
  align-items:center;
  gap:10px;
}
.header--lp .l-header__inner__block__link{
  display:inline-flex;
  align-items:center;
  position:relative;
}
.header--lp .header__function__nav__ico_avatar,
.header--lp .header__function__nav__ico_cart{
  height:24px;
  width:auto;
}
.header--lp #header-order-quantity{
  position:absolute;
  right:-8px;
  top:-6px;
  min-width:16px;
  height:16px;
  border-radius:999px;
  background:#e53935;
  color:#fff;
  font-size:10px;
  display:flex;
  align-items:center;
  justify-content:center;
}

/* スマホではレイアウトを縦積みに */
@media (max-width: 768px){
  .header--lp .header__top__in{
    flex-direction:column;
    align-items:flex-start;
  }
  .header--lp .header__mid__in{
    flex-direction:column;
    align-items:flex-start;
  }
  .header--lp .header__nav__list{
    flex-wrap:wrap;
    gap:8px 12px;
  }
  .header--lp .header__bar{
    white-space:normal;
    line-height:1.8;
  }
}