@charset "UTF-8";

/* =========================================
   1. 基本設定 (Reset & Base)
   ========================================= */
html {
  box-sizing: border-box;
}
*, *:before, *:after {
  box-sizing: inherit;
}

body {
  font-family: "Libre Baskerville", "New York", serif;
  font-size: 15px;
  line-height: 1.6;
  color: #787a7c;
  background: #ffffff;
  margin: 0;
  padding: 0;
}

a {
  text-decoration: none;
  transition: opacity 0.2s;
}
a:hover {
  opacity: 0.75;
}

img {
  max-width: 100%;
  height: auto;
  vertical-align: top;
}

/* タイポグラフィ */
h1, h2, h3, h4, h5, h6, .h1-style, .majortitle {
  font-family: "Libre Baskerville", serif;
  color: #171717;
  line-height: 1.2;
  margin: 0 0 20px 0;
  font-weight: 400;
}
h1, .h1-style { font-size: 32px; }
.hometitle { text-align: center; margin-bottom: 30px; }
.align-center { text-align: center; }
.align-left { text-align: left; }

.container {
  max-width: 1480px;
  margin: 0 auto;
  padding-left: 40px;
  padding-right: 40px;
}

@media (max-width: 480px) {
  .container {
    padding-left: 15px;
    padding-right: 15px;
  }
}
@media (min-width: 481px) {
  .sp-only {
    display: none;
  }
}

.container--no-max { max-width: none; }

/* =========================================
   2. レイアウト崩れ修正の重要クラス (Images) - 修正版
   ========================================= */

/* 画像のラッパー：高さを自動にする（paddingハックを無効化） */
.rimage-outer-wrapper,
.rimage-wrapper {
  width: 100%;
  height: auto !important; /* 高さ0を強制解除 */
  position: relative;
  display: block;
  padding-top: 0 !important; /* HTMLに書かれたpadding-topを無効化 */
  overflow: hidden;
}

/* 背景画像としてではなく、通常の画像として配置 */
.rimage__image {
  position: relative !important; /* absoluteを解除 */
  top: auto;
  left: auto;
  width: 100%;
  height: auto !important; /* アスペクト比を維持 */
  display: block;
  max-width: 100%;
}

/* ギャラリーやその他の背景画像用（念の為残す） */
.rimage-background {
  background-size: cover;
  background-position: center;
  width: 100%;
  height: 100%;
}

/* =========================================
   3. ヘッダー (Header)
   ========================================= */
.section-header {
  background: #fff;
  border-bottom: 1px solid #e2e2e2;
  position: sticky;
  top: 0;
  z-index: 1000;
}

.logo-area {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 10px 40px;
}

.logo-area__left, .logo-area__right { flex: 1; }
.logo-area__middle { flex: 0 0 auto; text-align: center; }
.logo-area__right { text-align: right; }

/* ナビゲーション */
.navigation__tier-1 {
  display: flex;
  list-style: none;
  padding: 0;
  margin: 0;
}
.navigation__item { margin-right: 20px; }
.navigation__link { color: #333; font-size: 14px; white-space: nowrap; }

/* =========================================
   4. ヒーローセクション (Hero Image Fix - IMG Tag Version)
   ========================================= */
.section-image-with-text-overlay {
  width: 100%;
  display: block;
}

.image-overlay {
  width: 100%;
}

.hero-image-wrapper {
  width: 100%;
  line-height: 0; /* 画像下の不要な隙間を消す */
  margin: 0;
  padding: 0;
}

/* 画像を横幅いっぱいに広げる */
.hero-img {
  width: 100%;
  height: auto; /* 高さは自動計算 */
  display: block;
}

/* PC/Mobile 表示切替 */
.mobile-only { display: none; }
.desktop-only { display: block; }

@media (max-width: 767px) {
  .mobile-only { display: block; }
  .desktop-only { display: none; }
}

/* =========================================
   5. ギャラリー (Gallery Fix - 1200:896 Aspect Ratio)
   ========================================= */
.section-gallery {
  margin: 50px 0;
  width: 100%;
}

.gallery__row {
  display: flex;
  flex-wrap: wrap;
  margin: 0 -10px;
  align-items: flex-start;
}

.gallery__item {
  position: relative;
  flex: 1 1 30%; /* PC: 3カラム */
  margin: 10px;
  background-color: #f4f4f4;
  overflow: hidden;
  
  /* ▼ アスペクト比を 1200:896 に変更 ▼ */
  aspect-ratio: 1200 / 896;
  width: auto;
  height: auto;
}

.gallery__item .gallery__image {
  position: relative;
  width: 100%;
  height: 100%; /* 親要素(1200:896の枠)いっぱいに広げる */
  display: block;
}

.gallery__item img {
  width: 100%;
  height: 100%; /* 親要素(1200:896の枠)いっぱいに広げる */
  object-fit: cover; /* 比率を維持したまま、枠からはみ出た部分をトリミング */
  display: block;
}

@media (max-width: 767px) {
  .gallery__item {
    flex: 1 1 100%; /* スマホ: 1カラム */
    /* スマホでも同じ比率を維持します */
  }
}

/* =========================================
   6. テキストカラム (Text Columns)
   ========================================= */
/*.section-text-columns-with-images {
  padding: 50px 0;
}*/

.flexible-layout {
  display: flex;
  justify-content: center;
  flex-wrap: wrap;
}

.column {
  flex: 1;
  min-width: 300px;
}

.text-column__button-row {
  /*margin-top: 20px;*/
  text-align: center;
}

/* ボタン */
.btn {
  display: inline-block;
  padding: 12px 25px;
  background: #212b36;
  color: #fff;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  font-size: 13px;
}
.btn--secondary {
  background: #fff;
  color: #212b36;
}
.btn:hover {
  opacity: 0.8;
}
.text-column__button {
  width: 100%;
  font-family: Libre Baskerville, serif;
  font-size: 26px;
  border-top: 1px solid #787a7c;
  border-bottom: 1px solid #787a7c;
  transition: .5s;
  padding: 1.2em 25px;
}
.text-column:first-of-type .text-column__button {
  border-right: 1px solid #787a7c;
}
.text-column__button:hover {
  color: #787a7c;
  background: #f8f8f8;
  transition: .5s;
}

@media (max-width: 480px) {
  .column {
    min-width: unset;
  }
  .text-column__button {
    font-size: 14px;
    letter-spacing: 0;
    padding: 20px 5px;
  }
}

/* =========================================
   7. 商品リスト (Featured Collection Fix - 1:1 Aspect Ratio)
   ========================================= */
.section-featured-collection {
  padding: 50px 0;
  clear: both;
  position: relative;
}

.product-list {
  display: flex;
  flex-wrap: wrap;
  margin: 0 -15px;
}

.product-block {
  width: 25%; /* PC: 4列 */
  padding: 0 15px;
  margin-bottom: 40px;
  box-sizing: border-box;
}

/* 画像コンテナの設定：1:1に固定 */
.product-block .image-cont {
  position: relative;
  width: 100%;
  aspect-ratio: 1 / 1; /* 正方形に固定 */
  margin-bottom: 15px;
  overflow: hidden;
  background-color: #f4f4f4; /* 画像読み込み前の背景色 */
}

/* リンクと画像ラッパーを親要素いっぱいに広げる */
.product-block .product-link,
.product-block .product-block__image {
  width: 100%;
  height: 100%;
  display: block;
}

/* 画像本体の設定：枠に合わせてトリミング */
.product-block img {
  width: 100%;
  height: 100%;
  object-fit: cover; /* 歪まずに枠いっぱいに表示 */
  display: block;
}

.product-info {
  text-align: left;
}

.product-block__title {
  font-size: 14px;
  margin-bottom: 5px;
  color: #171717;
}

.product-price {
  font-size: 14px;
  color: #666;
}

/* スマホ対応 */
@media (max-width: 900px) {
  .product-block { width: 50%; } /* タブレット: 2列 */
}
@media (max-width: 480px) {
  .product-block { width: 100%; } /* スマホ: 1列 */
}

/* =========================================
   8. その他セクション (Designer / Footer)
   ========================================= */
.section-image-with-text .fully-spaced-row--medium {
  margin: 80px 0;
}

.image-overlap__image {
  position: relative;
  width: 100%;
}

.section-about {
  margin-top: 80px;
  margin-bottom: 80px;
}

@media (max-width: 480px) {
  .section-about {
    margin-top: 40px;
    margin-bottom: 40px;
  }
  .section-about .container {
    padding-left: 0;
    padding-right: 0;
  }
  .section-about .rte p {
    font-size: 14px;
  }
}

@media (max-width: 480px) {
  .section-designer .flexible-layout {
    flex-direction: column;
  }
}

/* =========================================
   9. Footer (フッター修正版)
   ========================================= */

/* フッター全体の背景と余白 */
.lp-footer {
  background-color: #ecd6d1; /* 画像に近いペールピンク */
  padding: 80px 0 40px;     /* 上の余白を広めに取る */
  margin-top: 50px;
  color: #171717;
}

/* フレックスレイアウト（左右分割） */
.footer-layout {
  display: flex;
  justify-content: space-between;
  align-items: flex-start;
  margin-bottom: 40px; /* コピーライトとの間の余白 */
}

/* 左側エリア（取扱店） */
.footer-side--left {
  flex: 0 0 30%; /* 左側の幅確保 */
}

/* 右側エリア（店舗情報） */
.footer-side--right {
  flex: 0 0 65%; /* 右側の幅確保 */
  text-align: left;
}

/* 見出し：取扱店 */
.footer-heading {
  font-size: 32px;
  margin-bottom: 0;
  line-height: 1.2;
}

/* 店舗名：英語部分 */
.footer-store-name {
  font-size: 32px;
  margin-bottom: 15px;
  line-height: 1.2;
}

/* 店舗名：日本語部分（少し小さく調整する場合） */
.store-name-jp {
  font-size: 0.9em; /* 英語より少し小さくする */
}

/* 住所・電話番号部分 */
.footer-address {
  font-family: "Libre Baskerville", serif;
  font-size: 16px;
  color: #676869; /* 少しグレーにして文字色を落とす */
  line-height: 1.8;
}
.footer-address p {
  margin: 0;
}

/* コピーライト（中央揃え・小さく） */
.footer-copyright {
  text-align: center;
  font-size: 12px;
  color: #676869;
  border-top: 1px solid rgba(0,0,0,0.05); /* 薄い区切り線を入れる場合（任意） */
  padding-top: 20px;
}
.footer-copyright p {
  margin: 0;
}

/* =========================================
   スマホ対応 (Mobile)
   ========================================= */
@media (max-width: 767px) {
  .lp-footer {
    padding: 60px 0 30px;
  }
  
  .footer-layout {
    flex-direction: column; /* 縦積みに変更 */
    margin-bottom: 50px;
  }
  
  .footer-side--left {
    width: 100%;
    margin-bottom: 30px;
    text-align: left; /* または center */
  }
  
  .footer-side--right {
    width: 100%;
  }

  .footer-heading,
  .footer-store-name {
    font-size: 24px; /* スマホでは少し文字サイズを小さく */
  }
  
  .store-name-jp {
    display: block; /* スマホでは店名を改行させる */
    margin-top: 5px;
    font-size: 18px;
  }
}

/* =========================================
   スクロールアニメーション用スタイル
   ========================================= */

/* 初期状態：透明にして少し下に配置 */
.animate-on-scroll {
  opacity: 0;
  transform: translateY(30px); /* 下から30pxの位置 */
  transition: opacity 1.0s ease-out, transform 1.0s ease-out; /* 1秒かけて変化 */
  will-change: opacity, transform; /* 描画パフォーマンスの最適化 */
}

/* 表示状態：不透明にして元の位置に戻す */
.animate-on-scroll.is-visible {
  opacity: 1;
  transform: translateY(0);
}

/* =========================================
   言語切り替え機能 (Language Switcher)
   ========================================= */

/* デフォルト：英語を隠す */
.lang-en {
  display: none !important;
}

/* グローバルモード（日本語以外）の時 */
body.is-global .lang-ja {
  display: none !important;
}

body.is-global .lang-en {
  display: block !important;
}

/* =========================================
   モバイル調整 (Mobile Adjustments)
   ========================================= */
@media (max-width: 767px) {
  /* Aboutセクション（英語）: 左寄せ & 改行無効化 */
  .section-about .rte .lang-en {
    text-align: left !important;
    display: block;
  }
  
  /* スマホでは改行タグを無効化（非表示）にして自然な折り返しにする */
  .section-about .lang-en br {
    display: none;
  }
}