/*===== 基本設定 =====*/
: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-frame);
  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;
}

p {
  font-size: clamp(1rem, 2.5vw, 1.25rem);
  margin-bottom: 1rem;
}

/*===== メディアクエリ =====*/
@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.6rem, 4vw, 2.5rem);
  margin-bottom: 1rem;
  font-weight: 500}

h2 {
  font-size: clamp(1.8rem, 5vw, 3rem);
  letter-spacing: 0.05em;
  font-weight: 300}

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

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

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

@media (min-width: 1280px) {
    h3 {padding-top: 25rem;
        margin-left: 15rem;
        margin-bottom: 12rem;}
    h4 {
        margin-left: 15rem;
    }
}
/*===== コンテナ =====*/
.container {
  width: 100%;
  max-width: 1080px;
  margin-inline: auto;
  padding-inline: auto;
}

/* ===== 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); }

.up-arrow {
    font-size: 18px;
}
.text {
     font-size: 10px; 
}


/*===== ヒーローエリア =====*/
.hero {
  position: relative;
  width: 100%;
  height: 100vh;
  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: 100vh;
  object-fit: cover;
  object-position: center; /* 中央基準 */
  display: block;
}

/* ===== ヒーローロゴ：中央配置 ===== */
.hero__logo {
  position: absolute;
  top: 40%;/* ← 上からの距離。お好みで調整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;
}

/*===== ブランドコピー部分 =====*/

.brand-copy {
	margin: 14rem 1.5rem 10rem;
}

.brand-copy img{
    width: 50%;
    margin: 0 auto;
    margin-bottom: 100px;
}

.sub-title {
    font-size: clamp(1.1rem, 2.5vw, 1.4rem);
    margin-top: -10px;
}

/*===== PC：画像右・テキスト左の横並びレイアウト =====*/
@media (min-width:1280px) {

  .brand-copy {
    display: flex;
    justify-content: space-between;
    align-items: flex-start;
    gap: 4rem;
	  margin-bottom: 20rem;
  }

  /* 画像（右側） */
  .brand-copy img {
    width: auto;
    max-width: 400px;     /* 変更なし */
    margin: 0;            /* ← スマホ用の margin 消す */
    order: 2;             /* ★ 右側へ */
  }

  /* テキストブロック（左側） */
  .brand-copy .text-block {
    width: 100%;
    order: 1;
  }
}

/* ===== itemエリア タイトル ===== */

.section__header {
	margin: 10rem 1.5rem 1rem;
	color: var(--color-primary);
}
@media (min-width:1280px){
	.section__header{
		margin: 20rem 0; 
	}
	.sub-title {
    font-size: clamp(1.1rem, 2.5vw, 1.65rem);
    margin: -25rem 0 10rem;
}
}
/* ===== itemスライダーエリア ===== */

.item {
  width: 100%;
  display: flex;
  justify-content: center;
  margin: 10rem auto 10rem;
}


.item__slides {
  position: relative;
  width: 62vw;     /* 画像を画面の約50%に */
  max-width: 500px;
  margin: 0 auto;
}

@media (min-width:1280px){	
    .all__item {
	    max-width: 80%;
		margin: 0 auto;   /* ★ これで中央寄せになる */
    }
	.item__slides{
		max-width: 450px;
		margin-bottom: 5rem;
	}
}
/* スライド画像 */
.item__slide {
  position: absolute;
  inset: 0;
  opacity: 0;
  transition: opacity 1.5s ease;
}

.item__slide.is-active {
  opacity: 1;
  position: relative;
  z-index: 2;
}

/* 画像サイズ調整 */
.item__slide img {
  width: 100%;
  height: auto;
  object-fit: cover;
  display: block;
}

/* box（画像の下） */
.item__slides .box {
  position: relative;
  z-index: 5;
  display: flex;
  flex-direction: column;
  margin: 10px 0 30px;
  color: var(--color-primary);
}

.featured__more {
  margin-left: auto; /* ← 基本は左 */
  margin-top: -0.7rem;
  text-decoration: none;
  font-weight: bold;
  display: inline-flex;
  align-items: center;
  transition: var(--transition);
  font-size: clamp(0.95rem, 2vw, 1.5rem);
}

.featured__more:hover {
  opacity: 0.7;
}
.name {
	font-family: var(--font-serif);
	font-size: clamp(1.25rem, 2vw, 1.78rem);
}
.catch__copy {
	margin-top: 0px;
	font-size: clamp(0.97rem, 2vw, 1.3rem);
	font-family: var(--font-serif);
	letter-spacing: 0.13em;
	line-height: 1.95;
}


/* 奇数＝右寄せ */
.item:nth-of-type(odd) .item__slides {
  margin-left: auto;
  margin-right: 0;
  text-align: right;
}

/* 奇数。右寄せの view more に余白を足す */
.item:nth-of-type(odd) .box .featured__more {
  margin-left: auto;       /* 右寄せ */
  margin-right: 15px;      /* ★右側に余白(お好みで調整) */
  display: block;
  width: fit-content;
}


/* 偶数＝左寄せ */
.item:nth-of-type(even) .item__slides {
  margin-right: auto;
  margin-left: 0;
  text-align: left;
}

/* PCは20px、スマホは12pxなど縮める */
.item:nth-of-type(even) .box .name,
.item:nth-of-type(even) .box .catch__copy {
  margin-left: 20px;
}

@media (max-width: 768px) {
  .item:nth-of-type(even) .box .name,
  .item:nth-of-type(even) .box .catch__copy {
    margin-left: 12px;
  }
}

/* ===========================
   特定の要素だけ “常に左寄せ”
   =========================== */
/* 共通で強制左寄せ */
.item .name,
.item .catch__copy {
  text-align: left !important;
}

.title {
	color: var(--color-primary);
	margin-bottom: 2.2rem;
}

.copy__text {
	color: var(--color-primary);
	font-size: clamp(0.97rem, 2vw, 1.5rem);
	font-family: var(--font-serif);
	letter-spacing: 0.13em;
	line-height: 1.95;
}


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


/* ===========================
   下から上にフェードイン
   =========================== */
.fade-up {
  opacity: 0;
  transform: translateY(20px);
  transition: opacity .95s ease, transform .95s ease;
}
.fade-up.inview {
  opacity: 1;
  transform: translateY(0);
}

/* ▼ SECTION HEADER（見出し） */
.section__header .fade-up.inview:nth-of-type(1) {
  transition-delay: .1s;
}
.section__header .fade-up.inview:nth-of-type(2) {
  transition-delay: .25s;
}

/* ▼ BRAND COPY（ブランドコピーエリア） */
.brand-copy .fade-up.inview:nth-of-type(1) {
  transition-delay: .1s;
}
.brand-copy .fade-up.inview:nth-of-type(2) {
  transition-delay: .25s;
}
.brand-copy .fade-up.inview:nth-of-type(3) {
  transition-delay: .4s;
}

/* ▼ ITEM（商品ブロック内のテキスト） */
.item .name.fade-up.inview {
  transition-delay: 0.1s;
}

.item .catch__copy.fade-up.inview {
  transition-delay: 0.15s;
}

.item .featured__more.fade-up.inview {
  transition-delay: 0.1s;
}


/*===== ブランド・バナー =====*/
.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}
}

/*===== 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}
}

