/* ==========================================================
   レジーナリスレ｜任意.css（スマホファースト・高級感重視）
   ========================================================== */

/*===== 基本設定 =====*/
:root {
--color-primary: #1E2A44/*#555555*/;
--color-secondary: #C6B7A3/*#8B6D5E*/;
--color-accent: #F5F4F0/*#DCC4B8*/;
--color-frame: #CCCCCC;	
--color-text: #444444;
--color-back: #E8D5CC;
--color-light: #F5F5F5;
--color-white: #ffffff;
--color-black: #000000;
--color-sand: #B4A27B;	
--color-pink: #D8A7A7;
--color-mint: #A8C3A3;
--color-blue: #A7C6D8;
--color-green: #3E6C68/*#88B175*/;
--color-attn: #D59B09;
--color-sale: #A24C5A/*#C30002*/;
--color-line: #3D863D;	
--color-rakuten: #BF0000;
--color-yahoo: #FF0033;
--transition: all 0.4s ease;
--font-serif: "游明朝", "Yu Mincho", "Hiragino Mincho ProN", "Hiragino Mincho Pro", "MS PMincho", serif;
--font-sans: "ヒラギノ角ゴ ProN W3", "Hiragino Kaku Gothic ProN", "Yu Gothic", "游ゴシック体", "Meiryo", sans-serif;
}

/*===== ベース設定 =====*/
html, body {
  margin: 0;
  padding: 0;
  width: 100%;
  letter-spacing: 0.03em;
  font-family: var(--font-sans);
  color: var(--color-text);
  background-color: var(--color-white);
  scroll-behavior: smooth;
}

body {
  overflow-x: hidden;
}

/* グローバルにリセット
figure { margin: 0; } */

img {
  display: block;
  width: 100%;
  height: auto;
}

a {
  color: inherit;
  text-decoration: none;
  transition: var(--transition);
}
a:hover {
  opacity: 0.8;
}
/*===== メディアクエリ =====*/
@media (min-width:1280px) {
body {
    max-width: 1080px; /* ← 推奨：hero画像に合わせる */
    margin-inline: auto;
    }}
/*===== タイポグラフィ =====*/
h1, h2, h4, h3, h5, h6 {
  font-family: 'Noto Serif JP', Georgia, 'Times New Roman', '游明朝', 'Yu Mincho', '游明朝体', 'YuMincho', 'ヒラギノ明朝 Pro W3', 'Hiragino Mincho Pro', 'HGS明朝E', 'MS P明朝', serif;
  line-height: 1.4}

h1 {
  font-size: clamp(1.8rem, 5vw, 3rem);
  margin-bottom: 2rem;
  letter-spacing: 0.05em;
  font-weight: 500}

h2 {
  font-size: clamp(1.6rem, 4vw, 2.5rem);
  margin-bottom: 1.75rem;
  font-weight: 500}

h3 {
  font-size: clamp(1.4rem, 3.5vw, 2rem);
  margin-bottom: 1.5rem;
  font-weight: 500}

h4 {
  font-size: clamp(1.2rem, 3vw, 1.5rem);
  margin-bottom: 1.25rem;
  font-weight: 400}

h5 {
  font-size: clamp(0.8rem, 2.5vw, 1.25rem);
  margin-bottom: 0.9rem;
  font-weight: 300}

/*===== コンテナ =====*/
.container {
  width: 100%;
  max-width: 1080px;
  margin-inline: auto;
  padding-inline: auto;
}

/*===== ヘッダー =====
.site-header {
  text-align: center;
  background-color: var(--color-white);
}
.brand__logo {
  width: 75%;
  max-width: 1080px;
  margin-inline: auto;
  transition: var(--transition);
}
@media (min-width:1280px) {
  .brand__logo { width: 40%; 
	             margin-inline: auto;
	}
}*/

/*===== ヒーローエリア =====*/
.hero {
  position: relative;
  width: 100%;
  margin-left: 0;
  overflow: hidden;
}

.hero__slides {
  position: relative;
  width: 100%;
  margin-inline: auto;
  height: auto;
}

.hero__slide {
  position: absolute;
  top: 0;
  width: 100%;
  opacity: 0;
  transition: opacity 1.5s ease;
}

.hero__slide.is-active {
  opacity: 1;
  position: relative;
  left: 0;
}

.hero__slide img {
  width: 100%;
  height: auto;
  object-fit: cover;
  object-position: center; /* 中央基準 */
  display: block;
}

/* ===== ヒーローロゴ：中央配置 ===== */
.hero__logo {
  position: absolute;
  top: 30%;/* ← 上からの距離。お好みで調整OK */
  left: 50%;
  transform: translateX(-50%);
  z-index: 5;
  text-align: center;
}

.hero__logo img {
  width: clamp(250px, 20vw, 450px); /* スマホ〜PCに応じて可変 */
  height: auto;
  display: block;
  margin: 0 auto;
  opacity: 0.95; /* 少し透けさせて背景となじませる */
  transition: opacity 0.4s ease;
}

.hero__logo img:hover {
  opacity: 1;
}

/*===== 固定テキスト（ヒーロー内） =====*/
.hero__fixedcopy {
  position: absolute;
  bottom: 10px;
  left: 7px;
  z-index: 2;
  color: var(--color-white);
  font-family: var(--font-serif);
  background: none;
  text-shadow: 0 2px 8px rgba(0,0,0,0.3);
  max-width: 80%;
}

.hero__line {
  margin: 0.1em 0;
  line-height: 1.3;
  letter-spacing: 0.08em;
  font-size: clamp(1.1rem, 3vw, 1.8rem);
}

.hero__subline {
  margin: 0.1em 0.4em;
  line-height: 1.3;
  letter-spacing: 0.08em;
  font-size: clamp(0.8rem, 2vw, 1.2rem);
}
/* ===== タブレットではヒーロー高さをおさえる ===== */
@media (min-width:768px) {
.hero {height: 95vh;}
.hero__slide img {
   width: 100%;
   height: 100%;
   object-fit: cover;            /* ← はみ出してもOK、縦横比維持 */
   object-position: top center;  /* ← 上側を優先してトリミング */
  }
.hero__title { font-size: 3rem; }
.hero__logo {top: 15%;}	
.hero__fixedcopy {
		bottom: 60%;
        left: 3%;
 }
}

/* ===== PCではヒーロー高さをおさえる ===== */
@media (min-width:1280px) {
  .hero {height: 75vh;}
  .hero__slide img {
    width: 100%;
    height: 100%;
    object-fit: cover;            /* ← はみ出してもOK、縦横比維持 */
    object-position: top center;  /* ← 上側を優先してトリミング */
  }
  .hero__logo {
   position: absolute;
   top: 75%;  
   left: 50%;
   transform: translateX(-50%);
   z-index: 5;
   text-align: center;
   top: 15%;
  }
	.hero__fixedcopy {
		bottom: 50%;
        left: 3%;
	}
}
/*===== セクション共通 =====*/
.section {
  padding: 10px 10px;
  background-color: var(--color-white);
}
.section__header {
  text-align: center;
  margin-bottom: 40px;
}
.section__title {
  font-family: var(--font-serif);
  font-size: 1.6rem;
  color: var(--color-primary);
  letter-spacing: 0.08em;
}
.section__subtitle {
  font-size: 0.9rem;
  color: var(--color-secondary);
  letter-spacing: 0.05em;
}
/*===== メディアクエリ =====*/
@media (min-width:768px) {
  .section { padding: 10px 0; }
  .section__title { font-size: 1.8rem; }}

@media (min-width:1280px) {  
  .section { padding: 10px 0; }}

/*===== 商品カード =====*/
.products {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
  gap: 24px;
  align-items: stretch; /* 各カードの高さをそろえる */
}
.products--singlecol { grid-template-columns: 1fr; }

.products--twocol {grid-template-columns: 1fr 1fr; /* ← 全デバイス共通で2列 */}

/* ===== カード全体 ===== */
.card {
  display: flex;            /* ← カード内だけflexにする */
  flex-direction: column;   /* 縦並び */
  height: 100%;             /* gridの高さを満たす */
  background-color: transparent;
  overflow: hidden;
  transition: var(--transition);
}

/* ===== 画像部分 ===== */
.card__media {
  margin: 0;
  aspect-ratio: 4 / 5;
  overflow: hidden;
}
.card__media img {
  width: 100%;
  height: auto;
  display: block;
  object-fit: cover;
}

/* ===== テキスト部分（キャッチコピー・商品名・価格） ===== */
.card__body {
  background-color: var(--color-light);
  margin-bottom: 10rem;
  padding: 5px 0px 5px;
  text-align: center;
  flex-grow: 1; /* ← 高さを自動でそろえる */
  display: flex;
  flex-direction: column;
  justify-content: space-between; /* ← 上下分割配置 */
  height: 125px; /* ← 任意の高さを指定 */
}

/* ==== 上部：キャッチコピー（白線含む） ==== */
.card__upper {flex-shrink: 0; /* ← 中央寄せの影響を受けない */}
.card__name { 
  position: relative; /* ← 下線の基準にする */
  display: inline-block; /* ← 下線位置安定 */
  font-family: var(--font-serif);
  font-size: 0.95rem;
  font-weight: bold;
  padding: 5px;
}
.products--twocol .card__name {font-size: 0.76rem;}

/* 下線を中央に配置 */
.products--singlecol .card__name::after {
  content: "";
  position: absolute;
  bottom: -11px;
  left: 50%;
  transform: translateX(-50%);
  width: 280px;
  height: 1px;
  background-color: var(--color-white);
}
/* 下線を中央に配置 */
.products--twocol .card__name::after {
  content: "";
  position: absolute;
  bottom: -11px;
  left: 50%;
  transform: translateX(-50%);
  width: 120px;
  height: 1px;
  background-color: var(--color-white);
}

/* ==== 下部：商品名・価格を上下中央配置 ==== */
.card__lower {
  flex-grow: 1;
  display: flex;
  flex-direction: column;
  justify-content: center; /* ← 縦中央寄せ */
  align-items: center;     /* ← 横中央寄せ */
  padding: 5px 0 5px;
}

.card__price {
  font-size: 0.73rem;
  margin: 0; /* ← 不要な余白防止 */
}
.products--twocol .card__price {font-size: 0.56rem;}
.card__price-num {letter-spacing: 0.03em;}
.card:hover .card__price-num {
  color: var(--color-sale);
  transition: color 0.3s ease;
}

/*===== フェードイン =====*/
.lazyfade {
  opacity: 0;
  transform: translateY(10px);
  transition: opacity 1s ease, transform 1s ease;
}
.lazyfade.inview {
  opacity: 1;
  transform: translateY(0);
}

/*===== ページタイトル =====*/
.section--pagetitle {
  background-color: var(--color-back);
  text-align: center;
  padding: 60px 0;
}
.section--pagetitle h1 {
  font-family: var(--font-serif);
  font-size: 1.8rem;
  color: var(--color-primary);
  letter-spacing: 0.12em;
}

/*===== フッター =====*/
.site-footer {
  background-color: var(--color-black);
  color: var(--color-white);
  padding: 40px 0;
  text-align: center;
  font-size: 0.85rem;
}

/*===== メディアクエリ =====*/
@media (min-width:768px) {
    .card__body { padding: 5px}  
    .card__name { font-size: 1.15rem;} 
    .card__price {font-size: 0.89rem;}
    .products--singlecol {
    max-width: 560px;
    margin-inline: auto;
  }
  .products--singlecol .card__name::after {width: 370px;}
  .products--twocol {
	padding-left: 40px;
	padding-right: 40px;
	column-gap: 40px;
	}
  .products--twocol .card__body { height: 180px; /* ← 任意の高さを指定 */}
  .products--twocol .card__name {font-size: 1.15rem; /* ← PC時の大きさを再指定 */}
  .products--twocol .card__name::after {width: 290px;}
  .products--twocol .card__price {font-size: 0.75rem;}
}

@media (min-width:1280px) {
  .card__body { padding: 10px;}
  .card__name { font-size: 1.15rem;}
  .card__price {font-size: 0.89rem;}
  .products--singlecol {
    max-width: 560px;
    margin-inline: auto;
  }
  .products--singlecol .card__name::after {width: 380px;}
  .products--twocol .card__body { height: 180px; /* ← 任意の高さを指定 */}
  .products--twocol .card__price {font-size: 0.89rem;}
  .products--twocol .card__name::after {width: 300px;}
}

/*===== ブランド・バナー =====*/
.feature-banner {
  width: 100%;
  max-width: 1080px;
  margin: 0 auto;
  padding: 0;
  text-align: center;
  box-sizing: border-box}

.brand-banner-scroll-wrap {
  position: relative;
  overflow: hidden;
  padding: 0;
  background-color: var(--color-white)}

.brand-banner-scroll {
  display: flex;
  gap: 0.8rem; 
  list-style: none;
  padding: 0;
  margin: 0;
  overflow-x: auto;
  overflow-y: hidden;
  -webkit-overflow-scrolling: touch;
  scrollbar-width: none; 
  -ms-overflow-style: none}

.brand-banner-scroll::-webkit-scrollbar {
  display: none}

.brand-banner-scroll li {
  flex: 0 0 auto;
  width: 25%; 
  height: 100%}

.brand-banner-scroll img {
  display: block;
  width: 80%;
  max-width: 400px;
  height: auto;
  aspect-ratio: 2 / 1;
  margin-left: 10px}

.brand-banner-scroll-wrap::after {
  content: "";
  position: absolute;
  top: 0;
  right: 0;
  width: 125px;
  height: 100%;
  background: linear-gradient(to left, white, transparent);
  pointer-events: none;
  z-index: 2}

.brand-banner-white-top {
  width: 100%;
  height: 10px;
  background-color: var(--color-white); 
  position: relative;
  z-index: 3}

.brand-banner-scroll.dragging {
  cursor: grabbing}
.brand-banner-scroll {
  cursor: grab}

@media (max-width: 767px) {
  .brand-banner-scroll li {
    flex: 0 0 25%; 
    min-width: 25%}

  .brand-banner-scroll {
    gap: 0.2rem; 
    padding: 0}
}

/* ===== 問い合わせ・お買い物ガイド・TOP戻る共通円形ボタン ===== */
.circle-btn {
  width: 60px;
  height: 60px;
  border-radius: 50%;
  box-shadow: 0 2px 5px rgba(0,0,0,0.2);
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  opacity: 0;
  transition: opacity 0.4s ease, transform 0.2s ease, background-color 0.3s ease;
  z-index: 9999;
  position: fixed;
  bottom: calc(20px + env(safe-area-inset-bottom));
  line-height: normal !important;
  vertical-align: baseline !important;
}

/* ===== TOPに戻る（左下共通） ===== */
.back-to-top {
  left: max(15px, env(safe-area-inset-left));
  background-color: rgba(245, 244, 240,0.8);
  border: none;
}
.back-to-top:hover { background-color: rgba(150,150,150,0.9); }


/*===== PC/タブレット・マージン =====*/
.mb-10 {
  margin-bottom: 10px}

.mb-20 {
  margin-bottom: 20px}

.mb-30 {
  margin-bottom: 30px}

.mb-40 {
  margin-bottom: 40px}

.mb-50 {
  margin-bottom: 50px}

.mb-75 {
  margin-bottom: 75px}

.mb-100 {
  margin-bottom: 100px}

.mb-125 {
  margin-bottom: 125px}

.mb-150 {
  margin-bottom: 150px}

.mb-200 {
  margin-bottom: 200px}
/*===== =====*/

/*===== マイナス・マージン =====*/
.mb-n10 {
  margin-bottom: -10px}

.mb-n20 {
  margin-bottom: -20px}

.mb-n30 {
  margin-bottom: -30px}

.mb-n40 {
  margin-bottom: -40px}

.mb-n50 {
  margin-bottom: -50px}
/*===== =====*/

/*===== レスポンシブ対応 =====*/
@media (max-width: 767px) {

/*===== スマホ マージン =====*/
.mb-10 {
  margin-bottom: 0.625rem}

.mb-20 {
  margin-bottom: 1.25rem}

.mb-30 {
  margin-bottom: 1.875rem}

.mb-40 {
  margin-bottom: 2.5rem}

.mb-50 {
  margin-bottom: 3.125rem}

.mb-75 {
  margin-bottom: 4.6875rem}

.mb-100 {
  margin-bottom: 6.25rem}

.mb-125 {
  margin-bottom: 7.8125rem}

.mb-150 {
  margin-bottom: 9.375rem}

.mb-200 {
  margin-bottom: 12.5rem}
}
/*===== =====*/


/* -------------------------------
   ▼ 基本設定（スマホファースト：～767px）
--------------------------------*/
.floating-banner {
  position: fixed;
  right: -160px; /* 初期は画面外 */
  top: 50%;
  transform: translateY(-50%);
  display: flex;
  align-items: center;
  justify-content: center;
  width: 40px; /* スマホでの幅 */
  height: 170px; /* スマホでの高さ */
  background-color: var(--color-secondary); /* 背景色（上品な淡色） */
  border: 1px solid var(--color-secondary);
  box-shadow: 0 3px 8px rgba(0, 0, 0, 0.15);
  border-radius: 0; /* 角は丸めない */
  transition: right 0.5s ease, opacity 0.8s ease;
  opacity: 0;
  z-index: 9999;
  flex-direction: column; /* 要素を縦方向に並べる */
  justify-content: center;
  align-items: center;
}

.banner-text {
  margin-left: 4px;
  color: var(--color-white);
  font-family: var(--font-serif);
  font-size: 14px;
  text-decoration: none;
  writing-mode: vertical-rl; /* 縦書き（右→左） */
  text-orientation: upright; /* 文字を縦方向に正しく表示 */
  letter-spacing: 1.5px;       /* ← 文字間の間隔を調整する */
}

.banner-text .arrow {
  margin-top: 5px; /* ← 縦書きなので上下方向に間隔を取る */
  display: inline-block;
}

/* ▼ 表示時（右からふんわり出現） */
.floating-banner.show {
  right: 0px;
  opacity: 1;
}

/* ▼ 非表示時（右に引っ込む） */
.floating-banner.hide {
  right: -160px;
  opacity: 0;
}

/* ▼ ホバー時（上品に少し明るくする） */
  .floating-banner:hover {
    filter: brightness(1.1);
    transition: filter 0.3s ease;
  }

/* -------------------------------
   ▼ タブレットビュー（768px～1279px）
--------------------------------*/
@media screen and (min-width: 768px) {
  .floating-banner {
    width: 54px;
    height: 170px;
    font-size: 15px;
  }
  .banner-arrow {width: 10px;}
  .floating-banner.show {right: 0px;}
}

/* -------------------------------
   ▼ PCビュー（1280px～）
--------------------------------*/
@media screen and (min-width: 1280px) {
  .floating-banner {
    /* ▼ レイアウト位置（右下固定） */
    position: fixed;       /* ビューポート基準で固定 */
    bottom: 80px;          /* 画面下からの距離 */
    left: calc(100% - 210px); /* ← 右端から約60pxの位置に固定 */
    top: auto;             /* スマホの中央配置を解除 */
    transform: none;      /* スマホのtranslateを解除 */
    z-index: 9999;         /* 念のため上に重ねる */
    /* ▼ 円形バナーに変更 */
    width: 115px;
    height: 115px;
    border-radius: 50%; /* ← 丸くする */
    background-color: var(--color-sand);/* ← お好きな色に変更可能 */
    border: none; /* 枠線を消す場合 */
    box-shadow: 0 3px 8px rgba(0, 0, 0, 0.15);
    /* ▼ スライド動作をやめ、フェードのみ */
    opacity: 0;
    transition: opacity 0.5s ease; /* フェードイン／アウト */
	/* ▼ 滑らかな表示のためのアクセシビリティ対応 */
    will-change: opacity; /* GPU最適化 */
    cursor: pointer; /* クリック可能とわかる */
  }
  /* ▼ 表示時（ふんわりフェードイン） */
  .floating-banner.show {
    opacity: 1;
  }

  /* ▼ 非表示時（ふんわりフェードアウト） */
  .floating-banner.hide {
    opacity: 0;
  }

  /* ▼ 文字を横書きに戻す（スマホで縦書き指定していた場合） */
  .banner-text {
    position: relative;
    top: 2px;      /* 下に2pxずらす */
    right: 1.4px;     /* 右に1pxずらす */
	color: var(--color-white);
    font-size: 14px;
    font-family: var(--font-serif);
    text-align: center;
    line-height: 1.6;
    writing-mode: horizontal-tb;
    text-orientation: mixed;
	white-space: pre-line; /* 改行を有効化 */
  }
  /* ▼ 強制的に「お客様への」＋改行＋「お約束」と分ける */
.banner-text::before {
  content: "お客様への\Aお約束";
  white-space: pre;/* \Aを改行として扱う */
  display: block;
}
  /* ▼ 元のテキストを非表示にする */
  .banner-text span,
  .banner-text::after {
    display: none;
  }
  /* ▼ 矢印アイコン調整（横並び不要なら非表示もOK） */
  .banner-text .arrow {
    display: none;
  }
}
/* ▼ TOPへ戻るボタン */
.up-arrow {
    font-size: 18px;
}
.text {
     font-size: 10px; 
}

/* ▼ もっと見るボタン */
.load-more-wrap {
text-align: center;
margin-top: -6rem;
}
.load-more-btn {
background-color: var(--color-secondary);
color: #fff;
border: none;
padding: 12px 36px;
font-size: 1rem;
font-family: var(--font-serif);
cursor: pointer;
transition: background-color 0.3s ease, opacity 0.3s ease;
border-radius: 2px;
}
.load-more-btn:hover {
background-color: var(--color-primary);
opacity: 0.9;
}
.load-more-btn:disabled {
background-color: #ccc;
cursor: default;
opacity: 0.7;
}

/* ▼ 商品フェードイン演出 */
.card.fade-in {
opacity: 0;
animation: fadeIn 0.6s ease forwards;
}
@keyframes fadeIn {
0% {
opacity: 0;
transform: translateY(20px);
}
100% {
opacity: 1;
transform: translateY(0);
}
}

