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

/*===== 基本設定 =====*/
:root {
  --color-primary: #1E2A44;
  --color-secondary: #C6B7A3;
  --color-accent: #F5F4F0;
  --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;
  --color-attn: #D59B09;
  --color-sale: #A24C5A;
  --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;
}

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

a {
  color: inherit;
  text-decoration: none;
  transition: var(--transition);
}
a:hover {
  opacity: 0.8;
}

/*===== タイポグラフィ =====*/
h1, h2, h4, h3, h5, h6 {
  font-family: var(--font-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: 0.2rem;
  font-weight: 500;
}

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

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

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

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

/*===== ヒーローエリア =====*/
.section--hero {
  width: 100%;
  height: 100vh;
}

.hero {
  position: relative;
  width: 100%;
  height: 100%;
  overflow: hidden;
}

.hero__slides {
  position: relative;
  width: 100%;
  height: 100%;
}

.hero__slides > a {
  display: block;
  width: 100%;
  height: 100%;
  position: relative;
}

.hero__slide {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  opacity: 0;
  transition: opacity 1.5s ease-in-out;
  z-index: 1;
}

.hero__slide.is-active {
  opacity: 1;
  z-index: 2;
}

.hero__slide img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center;
}

.hero__logo {
  position: absolute;
  top: 3%;
  left: 20%;
  transform: translateX(-50%);
  z-index: 5;
  text-align: center;
}

.hero__logo img {
  width: 50%;
  max-width: 700px;
  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: 5%;
  left: 5%;
  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__slide img {
    object-position: top center;
  }
  .hero__logo { top: 15%; }	
  .hero__logo img { width: 100%; }
  .hero__fixedcopy {
    bottom: 60%;
    left: 3%;
  }
}

/* ▼ PC表示（1280px以上）：3枚横並び設定 (!important排除) */
@media (min-width: 1280px) {
  .hero__slides > a {
    display: flex;
    flex-direction: row;
    height: 100%;
    align-items: stretch;
  }

  .hero__slides > a:hover {
    opacity: 1;
  }

  /* セレクタの詳細度を上げて !important なしで上書き */
  .hero .hero__slides .hero__slide {
    position: relative; 
    top: auto;
    left: auto;
    width: 33.3333%;
    height: 100%;
    opacity: 1;
    z-index: 1;
    visibility: visible;
    transform: none;
  }

  .hero .hero__slides .hero__slide img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    opacity: 1;
    transform: none;
    display: block;
    vertical-align: bottom;
  }

  .hero__logo,
  .hero__fixedcopy {
    position: absolute;
    z-index: 10;
  }

  .hero__logo {
    pointer-events: auto;
    transition: all 0.3s ease;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
  }
  
  .hero__logo:hover {
    opacity: 0.7;
  }

  .hero__fixedcopy {
    bottom: 5%;
    left: 8%;
  }
}

/* ===========================
   Kireiシリーズ コンセプトメッセージ
   =========================== */
.concept-header {
  text-align: left;
  padding: 0 1.5rem;
  margin-bottom: 8rem;
}

@media (min-width: 1280px) {
  .concept-header {
    max-width: 800px;
    margin: 15rem auto 10rem auto; 
    padding: 0 2rem;
  }
}

.concept-title {
  font-family: var(--font-serif);
  font-size: clamp(2rem, 5vw, 3.5rem);
  font-weight: 300;
  letter-spacing: 0.1em;
  color: var(--color-primary);
  margin-bottom: 3.5rem;
}

.concept-message {
  font-family: var(--font-serif);
  color: #555555;
}

.concept-message p {
  font-size: clamp(0.95rem, 2vw, 1.15rem);
  line-height: 2.6;
  letter-spacing: 0.15em;
  margin-bottom: 2.5rem;
}

.concept-message p:last-child {
  margin-bottom: 0;
}

/*===== セクション共通 =====*/
.section {
  padding: 0;
  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-text);
  letter-spacing: 0.08em;
}

.section__subtitle {
  font-size: 0.9rem;
  color: var(--color-secondary);
  letter-spacing: 0.05em;
}

@media (min-width: 768px) {
  .section { 
    padding: 5rem 0 1rem; 
    max-width: 768px;
    margin-inline: auto;
  }
  .section__title { font-size: 2rem; }
  .section__header { margin-bottom: 0; }
}

/* ==========================================================
   Series Items（スマホ2列・PC4列・隙間なし完全版）
   ========================================================== */
.others {
  list-style: none;
  padding: 0;
  margin: 0;
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 0; /* !important 排除 */
  align-items: stretch;
  width: 100vw;
  position: relative;
  left: 50%;
  transform: translateX(-50%);
}

.others__item {
  position: relative;
}

.others__media {
  position: relative;
  display: block;
  aspect-ratio: 4 / 5;
  margin: 0;
  overflow: hidden;
}

.others__media img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center;
  display: block;
  transition: transform 0.6s ease;
}

.others__media:hover img {
  transform: scale(1.03);
}

.others__caption {
  position: absolute;
  left: 1rem;
  bottom: 1rem;
  color: var(--color-white);
  font-family: var(--font-serif);
  font-size: clamp(0.75rem, 2vw, 1rem);
  text-shadow: 0 2px 6px rgba(0, 0, 0, 0.6);
  line-height: 1.4;
  letter-spacing: 0.05em;
  pointer-events: none;
  z-index: 2;
}

.others__more {
  position: absolute;
  right: 1rem;
  bottom: 1rem;
  color: var(--color-white);
  text-decoration: none;
  font-size: 1.2rem;
  text-shadow: 0 2px 6px rgba(0, 0, 0, 0.6);
  pointer-events: none;
  z-index: 2;
}

@media (min-width: 1280px) {
  /* セレクタを強くして上書き */
  ul.others {
    grid-template-columns: repeat(4, 1fr);
    width: 100%;
    max-width: 1080px;
    left: auto;
    transform: none;
    margin: 0 auto;
  }
  .others__caption { font-size: 1.05rem; }
  .others__more { font-size: 1.3rem; }
}

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

.lazyfade.delay-1 { transition-delay: 0.2s; }
.lazyfade.delay-2 { transition-delay: 0.4s; }

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

/* ===== 共通円形ボタン ===== */
.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;
}

.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; }

/*===== マージン群 =====*/
.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; }
}

/* -------------------------------
   ▼ フローティングバナー制御
--------------------------------*/
.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);
  transition: right 0.5s ease, opacity 0.8s ease;
  opacity: 0;
  z-index: 9999;
  flex-direction: column;
}

.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; }

@media screen and (min-width: 768px) {
  .floating-banner {
    width: 54px;
    height: 170px;
    font-size: 15px;
  }
}

@media screen and (min-width: 1280px) {
  .floating-banner {
    position: fixed;
    bottom: 80px;
    left: calc(100% - 210px);
    top: auto;
    transform: none;
    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;
    cursor: pointer;
  }
  .floating-banner.show { opacity: 1; right: auto; }
  .floating-banner.hide { opacity: 0; right: auto; }

  .banner-text {
    position: relative;
    top: 2px;
    right: 1.4px;
    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;
    display: block;
  }
  .banner-text span,
  .banner-text::after,
  .banner-text .arrow {
    display: none;
  }
}

/* ▼ もっと見るボタン */
.load-more-wrap {
  text-align: center;
  margin-top: 4rem; 
  margin-bottom: 2rem; 
  position: relative; 
  z-index: 10;        
}
.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;
}

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

/* ===========================
   リニューアル版：商品リスト（アコーディオン）
   =========================== */
.product-item {
  margin-bottom: 10rem;
  width: 100%;
}

.product-images {
  display: flex;
  flex-direction: column;
  gap: 40px; 
  margin-bottom: 1.5rem;
}

.product-images img {
  display: block;
  object-fit: cover; 
}

.product-images .img-1 {
  width: 75%;
  align-self: flex-end;
  aspect-ratio: 4 / 3;
  object-position: 50% 40%; 
}

.product-images .img-2 {
  width: 65%;
  align-self: flex-start;
  aspect-ratio: 4 / 3;
  object-position: 50% 84%; 
}

.product-images .img-3 {
  width: 100%; 
}

.accordion-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  cursor: pointer;
  padding: 1.5rem 0;
  border-bottom: 1px solid #eaeaea; 
}

.accordion-header .product-name {
  margin: 0;
  padding: 0;
  font-family: var(--font-serif);
  font-size: clamp(1.1rem, 2.5vw, 1.4rem);
  font-weight: 400;
  letter-spacing: 0.05em;
  color: var(--color-primary);
}

.accordion-icon {
  position: relative;
  width: 18px;
  height: 18px;
  display: block;
}
.accordion-icon::before,
.accordion-icon::after {
  content: "";
  position: absolute;
  background-color: var(--color-primary);
  transition: transform 0.3s ease;
}
.accordion-icon::before {
  top: 50%;
  left: 0;
  width: 100%;
  height: 1px;
  transform: translateY(-50%);
}
.accordion-icon::after {
  top: 0;
  left: 50%;
  width: 1px;
  height: 100%;
  transform: translateX(-50%);
}
.accordion-header.is-open .accordion-icon::after {
  transform: translateX(-50%) scaleY(0);
}

/* --- アコーディオン中身（CSS Gridによる最新の可変アニメーション） --- */
.accordion-content {
  display: grid;
  grid-template-rows: 0fr;
  transition: grid-template-rows 0.5s cubic-bezier(0.4, 0, 0.2, 1), opacity 0.4s ease;
  opacity: 0;
  overflow: hidden; /* 余白のはみ出し防止 */
}

.accordion-content.is-open {
  grid-template-rows: 1fr;
  opacity: 1;
}

.accordion-inner {
  min-height: 0; /* Gridアニメーションに必須の記述 */
  padding: 2rem 0;
}

.product-catch {
  font-family: var(--font-serif);
  font-size: clamp(1.2rem, 3vw, 1.6rem);
  font-weight: 300;
  margin: 0 0 1.5rem 0;
  padding: 0;
  letter-spacing: 0.1em;
  color: var(--color-text);
}

.product-desc {
  font-family: var(--font-sans);
  font-size: clamp(0.85rem, 2vw, 0.95rem);
  line-height: 2;
  letter-spacing: 0.08em;
  margin-bottom: 2rem;
  color: var(--color-text);
}

.product-color {
  font-family: var(--font-sans);
  font-size: 0.85rem;
  letter-spacing: 0.05em;
  margin-bottom: 2rem;
  color: var(--color-text);
}

.view-more {
  display: inline-block;
  font-family: var(--font-sans);
  font-size: 0.95rem;
  letter-spacing: 0.05em;
  color: var(--color-primary);
  position: relative;
  transition: var(--transition);
}

.view-more::after {
  content: "";
  position: absolute;
  bottom: -4px;
  left: 0;
  width: 100%;
  height: 1px;
  background-color: var(--color-primary);
  transition: transform 0.3s ease;
  transform-origin: right;
  transform: scaleX(0);
}
.view-more:hover::after {
  transform-origin: left;
  transform: scaleX(1);
}

.product-info-accordion {
  padding: 0rem 1rem;
}