/* =============================================
   BLOOM BRANCH STREET – style.css
   モバイルファースト | デスクトップ3カラムレイアウト
   Main: #13B5FF / Sub: #FF2D10
   Awwwards風洗練デザイン
============================================= */

/* ────────────────────────────────────────
   CSS変数
──────────────────────────────────────── */
:root {
  --blue: #D1CCC8;
  --blue-light: #e6e6e6;
  --red: #8E7E6C;
  --red-light: #ac977f;
  --white: #ffffff;
  --black: #0a0a0a;
  --gray-light: #f5f5f5;
  --gray: #e0e0e0;
  
  /* フォントカラー（背景に応じて自動調整） */
  --text-on-light: #0a0a0a;
  --text-on-dark: #ffffff;
  --text-on-blue: #ffffff;
  --text-on-red: #ffffff;
  
  /* フォント：Awwwards風 */
  --font-display: 'Syne', sans-serif;
  --font-body: 'DM Sans', sans-serif;
  
  /* スペーシング：余白を大きめに */
  --space-xs: 8px;
  --space-sm: 16px;
  --space-md: 32px;
  --space-lg: 64px;
  --space-xl: 96px;
  
  /* その他 */
  --radius: 12px;
  --ease: cubic-bezier(0.25, 0.46, 0.45, 0.94);
  --ease-out: cubic-bezier(0.22, 0.61, 0.36, 1);
}

/* ────────────────────────────────────────
   リセット＆ベース
──────────────────────────────────────── */
*, *::before, *::after {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

html {
  font-size: 16px;
  scroll-behavior: smooth;
}

body {
  font-family: var(--font-body);
  font-weight: 300;
  line-height: 1.7;
  color: var(--black);
  background: var(--white);
  overflow-x: hidden;
}

img {
  display: block;
  width: 100%;
  height: auto;
  object-fit: cover;
}

a {
  color: inherit;
  text-decoration: none;
  transition: opacity 0.3s var(--ease);
}
a:hover { opacity: 0.7; }

button {
  cursor: pointer;
  border: none;
  background: none;
  font-family: inherit;
}

/* ────────────────────────────────────────
   デスクトップ用：左右固定サイドビジュアル
   モバイルでは非表示
   スクロール連動で画像フェードイン/アウト切替
──────────────────────────────────────── */
.side-visual {
  display: none; /* モバイルでは非表示 */
}

/* デスクトップ（768px以上） */
@media (min-width: 768px) {
  .side-visual {
    display: block;
    position: fixed;
    top: 0;
    width: calc((100vw - 400px) / 2); /* 中央400pxを除いた両サイド */
    height: 100vh;
    overflow: hidden;
    z-index: 0;
  }
  
  .side-visual--left {
    left: 0;
  }
  
  .side-visual--right {
    right: 0;
  }
  
  /* スライドショーコンテナ */
  .side-visual__slideshow {
    position: relative;
    width: 100%;
    height: 100%;
  }
  
  .side-visual__img {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
    opacity: 0;
    transition: opacity 1.2s ease-in-out;
  }
  
  .side-visual__img.active {
    opacity: 0.9;
  }
}

/* ────────────────────────────────────────
   メインコンテナ（中央カラム）
   モバイル: 100%幅
   デスクトップ: 400px固定、中央配置
──────────────────────────────────────── */
.main-container {
  position: relative;
  width: 100%;
  min-height: 100vh;
  background: var(--white);
  z-index: 1;
}

/* デスクトップ（768px以上） */
@media (min-width: 768px) {
  .main-container {
    width: 400px;
    margin: 0 auto;
    box-shadow: 0 0 80px rgba(0, 0, 0, 0.1);
  }
}

/* ────────────────────────────────────────
   ナビゲーション
──────────────────────────────────────── */
.nav {
  position: sticky;
  top: 0;
  width: 100%;
  background: rgba(255, 255, 255, 0.95);
  backdrop-filter: blur(10px);
  border-bottom: 1px solid rgba(0, 0, 0, 0.1);
  z-index: 100;
  transition: box-shadow 0.3s var(--ease);
}

.nav.scrolled {
  box-shadow: 0 2px 12px rgba(0, 0, 0, 0.1);
}

.nav__inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: var(--space-sm) var(--space-md);
  min-height: 60px;
}

.nav__logo {
  font-family: var(--font-display);
  font-size: 1.25rem;
  font-weight: 700;
  letter-spacing: 0.02em;
  color: var(--black);
}

.nav__logo span {
  color: var(--blue);
}

/* ハンバーガーメニュー */
.nav__menu {
  display: flex;
  flex-direction: column;
  gap: 5px;
  padding: 8px;
  transition: transform 0.3s var(--ease-out);
}

.nav__menu span {
  display: block;
  width: 24px;
  height: 2px;
  background: var(--black);
  transition: transform 0.3s, opacity 0.3s;
}

.nav__menu.active span:nth-child(1) {
  transform: translateY(7px) rotate(45deg);
}

.nav__menu.active span:nth-child(2) {
  opacity: 0;
}

/* メニューパネル */
.nav__panel {
  position: absolute;
  top: 100%;
  left: 0;
  right: 0;
  background: var(--white);
  border-bottom: 1px solid var(--gray);
  max-height: 0;
  overflow: hidden;
  transition: max-height 0.4s var(--ease-out);
}

.nav__panel.active {
  max-height: 400px;
}

.nav__list {
  list-style: none;
  padding: var(--space-sm) 0;
}

.nav__list li {
  border-top: 1px solid var(--gray-light);
}

.nav__list a {
  display: block;
  padding: var(--space-sm) var(--space-md);
  font-size: 0.9rem;
  font-weight: 500;
  letter-spacing: 0.05em;
  color: var(--black);
  transition: background 0.2s, padding-left 0.3s var(--ease-out);
}

.nav__list a:hover {
  background: var(--gray-light);
  padding-left: calc(var(--space-md) + 8px);
  opacity: 1;
}

/* ────────────────────────────────────────
   ヒーローセクション
──────────────────────────────────────── */
.hero {
  position: relative;
  min-height: 80vh;
  display: flex;
  flex-direction: column;
  justify-content: center;
  padding: var(--space-lg) var(--space-md);
  background: linear-gradient(135deg, var(--blue) 0%, var(--blue-light) 100%);
  color: var(--text-on-blue);
}

.hero__content {
  margin-bottom: var(--space-lg);
}

.hero__eyebrow {
  font-size: 0.75rem;
  font-weight: 500;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: var(--white);
  margin-bottom: var(--space-sm);
}

.hero__title {
  font-family: var(--font-display);
  font-size: clamp(1rem, 8vw, 3rem);
  font-weight: 800;
  line-height: 0.9;
  letter-spacing: -0.02em;
  margin-bottom: var(--space-md);
  color: var(--white);
}

.hero__title-line {
  display: block;
}

.hero__title-line:nth-child(2) {
  color: var(--red);
}

.hero__text {
  font-size: 1rem;
  color: rgba(255, 255, 255, 0.9);
  max-width: 280px;
}

.hero__image {
  border-radius: var(--radius);
  overflow: hidden;
  box-shadow: 0 20px 60px rgba(0, 0, 0, 0.15);
}

.hero__scroll {
  position: absolute;
  bottom: var(--space-md);
  left: 50%;
  transform: translateX(-50%);
  font-size: 0.7rem;
  font-weight: 500;
  letter-spacing: 0.15em;
  text-transform: uppercase;
  color: #999;
  animation: scroll-bounce 2s ease-in-out infinite;
}

@keyframes scroll-bounce {
  0%, 100% { transform: translateX(-50%) translateY(0); }
  50% { transform: translateX(-50%) translateY(-8px); }
}

/* ────────────────────────────────────────
   セクション共通
──────────────────────────────────────── */
.section {
  padding: var(--space-lg) var(--space-md);
}

/* NEWセクション - 赤グラデーション */
#new {
  background: linear-gradient(135deg, var(--red-light) 0%, var(--red) 100%);
  color: var(--text-on-red);
}

#new .section__title {
  color: var(--white);
}

/* ITEMSセクション - 白 */
#items {
  background: var(--white);
  color: var(--text-on-light);
}

/* COLLECTIONセクション - 青グラデーション */
#collection {
  background: linear-gradient(135deg, var(--blue) 0%, var(--blue-light) 100%);
  color: var(--text-on-blue);
}

#collection .section__title {
  color: var(--white);
}

/* ABOUTセクション - 赤グラデーション */
#about {
  background: linear-gradient(135deg, var(--red-light) 0%, var(--red) 100%);
  color: var(--text-on-red);
}

#about .section__title {
  color: var(--white);
}

#about .about-content__links a {
  color: var(--white);
  text-decoration: underline;
}

/* CONTACTセクション - 白 */
#contact {
  background: var(--white);
  color: var(--text-on-light);
}

.section--dark {
  background: var(--black);
  color: var(--white);
}

.section__header {
  margin-bottom: var(--space-lg);
  text-align: center;
}

.section__tag {
  display: inline-block;
  font-size: 0.7rem;
  font-weight: 500;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: var(--white);
  background: var(--blue);
  padding: 6px 16px;
  border-radius: 50px;
  margin-bottom: var(--space-sm);
  color: #0a0a0a;
}

.section__title {
  font-family: var(--font-display);
  font-size: clamp(1rem, 3vw, 2rem);
  font-weight: 700;
  line-height: 1.1;
  letter-spacing: -0.01em;
}

/* ────────────────────────────────────────
   カードグリッド
──────────────────────────────────────── */
.card-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: var(--space-md);
}

@media (min-width: 480px) {
  .card-grid {
    grid-template-columns: repeat(2, 1fr);
    gap: var(--space-sm);
  }
}

/* カード */
.card {
  background: var(--white);
  border-radius: var(--radius);
  overflow: hidden;
  transition: transform 0.4s var(--ease-out), box-shadow 0.4s;
}

.card:hover {
  transform: translateY(-8px);
  box-shadow: 0 16px 48px rgba(0, 0, 0, 0.12);
}

.card__image {
  position: relative;
  aspect-ratio: 4 / 5;
  overflow: hidden;
}

.card__image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.6s var(--ease-out);
}

.card:hover .card__image img {
  transform: scale(1.05);
}

.card__badge {
  position: absolute;
  top: 12px;
  left: 12px;
  font-size: 0.65rem;
  font-weight: 700;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--white);
  background: var(--blue);
  padding: 4px 12px;
  border-radius: 50px;
}

.card__badge--hot {
  background: var(--red);
}

.card__body {
  padding: var(--space-sm);
}

.card__title {
  font-size: 1rem;
  font-weight: 500;
  margin-bottom: 4px;
  color: var(--black);
}

.card__price {
  font-family: var(--font-display);
  font-size: 1.1rem;
  font-weight: 700;
  color: var(--blue);
}

/* ────────────────────────────────────────
   ビジュアルバナー
──────────────────────────────────────── */
.visual-banner {
  position: relative;
  height: 50vh;
  min-height: 300px;
  overflow: hidden;
  border-radius: var(--radius);
  margin: var(--space-lg) var(--space-md);
}

.visual-banner img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.visual-banner__overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(135deg, rgba(255, 205, 97, 0.5), rgba(162, 249, 255, 0.3));
  display: flex;
  align-items: center;
  justify-content: center;
}

.visual-banner__title {
  font-family: var(--font-body);
  font-size: clamp(2.5rem, 10vw, 2.5rem);
  font-weight: 800;
  line-height: 0.9;
  color: var(--white);
  text-align: center;
  text-shadow: 2px 4px 8px rgba(0, 0, 0, 0.2);
}

/* ────────────────────────────────────────
   プロダクト詳細
──────────────────────────────────────── */
.product {
  margin-bottom: var(--space-xl);
  padding-bottom: var(--space-lg);
  border-bottom: 1px solid rgba(0, 0, 0, 0.1);
}

.product:last-child {
  border-bottom: none;
}

.product__images {
  margin-bottom: var(--space-md);
}

.product__main {
  border-radius: var(--radius);
  overflow: hidden;
  margin-bottom: var(--space-sm);
  box-shadow: 0 12px 40px rgba(0, 0, 0, 0.1);
  position: relative;
  aspect-ratio: 7 / 9;
}

.product__main img {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  opacity: 0;
  transition: opacity 1s ease-in-out;
}

.product__main img.active {
  opacity: 1;
}

.product__sub {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: var(--space-xs);
}

.product__sub button {
  aspect-ratio: 1;
  border: 2px solid transparent;
  border-radius: 8px;
  overflow: hidden;
  cursor: pointer;
  transition: border-color 0.3s, transform 0.3s;
  padding: 0;
  background: none;
}

.product__sub button:hover {
  transform: scale(1.05);
}

.product__sub button.active {
  border-color: var(--blue);
}

.product__sub button img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.product__tag {
  display: inline-block;
  font-size: 0.7rem;
  font-weight: 500;
  letter-spacing: 0.15em;
  text-transform: uppercase;
  color: var(--white);
  background: var(--blue);
  padding: 4px 12px;
  border-radius: 50px;
  margin-bottom: var(--space-sm);
}

.product__tag--red {
  background: var(--red);
}

.product__name {
  font-family: var(--font-display);
  font-size: clamp(1.5rem, 6vw, 2.2rem);
  font-weight: 700;
  line-height: 1.1;
  margin-bottom: var(--space-sm);
  color: inherit;
}

.product__desc {
  font-size: 0.9rem;
  line-height: 1.8;
  color: inherit;
  opacity: 0.9;
  margin-bottom: var(--space-md);
}

.product__price {
  font-family: var(--font-display);
  font-size: 1.5rem;
  font-weight: 700;
  color: inherit;
  margin-bottom: var(--space-md);
}

/* ────────────────────────────────────────
   ボタン
──────────────────────────────────────── */
.btn {
  display: inline-block;
  font-size: 0.85rem;
  font-weight: 500;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--white);
  background: var(--blue);
  padding: 14px 32px;
  border-radius: 50px;
  transition: transform 0.3s var(--ease-out), box-shadow 0.3s;
}

.btn:hover {
  transform: translateY(-3px);
  box-shadow: 0 8px 24px rgba(221, 254, 255);
  opacity: 1;
}

.btn--red {
  background: var(--red);
}

.btn--red:hover {
  box-shadow: 0 8px 24px rgba(221, 254, 255);
}

/* ────────────────────────────────────────
   コレクショングリッド
──────────────────────────────────────── */
.collection-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: var(--space-sm);
}

.collection-item {
  position: relative;
  border-radius: var(--radius);
  overflow: hidden;
  aspect-ratio: 3 / 4;
  transition: transform 0.4s var(--ease-out);
}

.collection-item:hover {
  transform: scale(1.02);
}

.collection-item img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.collection-item__label {
  position: absolute;
  bottom: var(--space-sm);
  left: var(--space-sm);
  font-family: var(--font-display);
  font-size: 1.2rem;
  font-weight: 700;
  color: var(--white);
  text-shadow: 0 2px 8px rgba(0, 0, 0, 0.5);
  background: rgba(0, 0, 0, 0.3);
  padding: 8px 16px;
  border-radius: 8px;
}

/* ────────────────────────────────────────
   ABOUTセクション
──────────────────────────────────────── */
.about-content {
  max-width: 320px;
  margin: 0 auto;
  text-align: center;
}

.about-content p {
  margin-bottom: var(--space-md);
  line-height: 1.9;
}

.about-content__links {
  font-size: 0.9rem;
}

.about-content__links a {
  color: var(--white);
  text-decoration: underline;
}

/* ────────────────────────────────────────
   コンタクトフォーム
──────────────────────────────────────── */
.contact-form {
  max-width: 320px;
  margin: 0 auto;
  display: flex;
  flex-direction: column;
  gap: var(--space-sm);
}

.contact-form__input,
.contact-form__textarea {
  width: 100%;
  font-family: var(--font-body);
  font-size: 0.9rem;
  color: var(--black);
  background: var(--gray-light);
  border: 2px solid transparent;
  border-radius: 8px;
  padding: 14px 16px;
  transition: border-color 0.3s, background 0.3s;
}

.contact-form__input::placeholder,
.contact-form__textarea::placeholder {
  color: #999;
}

.contact-form__input:focus,
.contact-form__textarea:focus {
  outline: none;
  border-color: var(--blue);
  background: var(--white);
}

.contact-form__textarea {
  resize: vertical;
  min-height: 120px;
}

/* ────────────────────────────────────────
   フッター
──────────────────────────────────────── */
.footer {
  padding: var(--space-lg) var(--space-md);
  background: linear-gradient(135deg, var(--red-light) 0%, var(--red) 100%);
  color: var(--white);
  text-align: center;
}

.footer__logo {
  font-family: var(--font-display);
  font-size: 1.5rem;
  font-weight: 700;
  margin-bottom: var(--space-xs);
  color: var(--white);
}

.footer__logo span {
  color: var(--white);
  opacity: 0.8;
}

.footer__tagline {
  font-size: 0.8rem;
  color: rgba(255, 255, 255, 0.8);
  margin-bottom: var(--space-md);
}

.footer__links {
  display: flex;
  justify-content: center;
  gap: var(--space-md);
  margin-bottom: var(--space-md);
}

.footer__links a {
  font-size: 0.85rem;
  color: var(--white);
}

.footer__copy {
  font-size: 0.75rem;
  color: rgba(255, 255, 255, 0.7);
}

/* ────────────────────────────────────────
   トップへ戻るボタン
──────────────────────────────────────── */
.back-top {
  position: fixed;
  bottom: var(--space-md);
  right: var(--space-md);
  width: 48px;
  height: 48px;
  background: var(--blue);
  color: var(--white);
  border-radius: 50%;
  font-size: 1.2rem;
  display: flex;
  align-items: center;
  justify-content: center;
  opacity: 0;
  pointer-events: none;
  transform: translateY(10px);
  transition: opacity 0.3s, transform 0.3s var(--ease-out);
  box-shadow: 0 4px 16px rgba(221, 254, 255);
  z-index: 200;
}

.back-top.visible {
  opacity: 1;
  pointer-events: auto;
  transform: translateY(0);
}

.back-top:hover {
  transform: translateY(-4px);
}

/* ────────────────────────────────────────
   アニメーション：Scroll Reveal（浮遊感）
──────────────────────────────────────── */
.reveal {
  opacity: 0;
  transform: translateY(40px);
  transition: opacity 0.8s var(--ease-out), transform 0.8s var(--ease-out);
}

.reveal.revealed {
  opacity: 1;
  transform: translateY(0);
}

.delay-1 { transition-delay: 0.1s; }
.delay-2 { transition-delay: 0.2s; }
.delay-3 { transition-delay: 0.3s; }

/* ────────────────────────────────────────
   浮遊アニメーション（ゆらぎ）
──────────────────────────────────────── */
@keyframes float-gentle {
  0%, 100% {
    transform: translateY(0) rotate(0deg);
  }
  33% {
    transform: translateY(-6px) rotate(0.5deg);
  }
  66% {
    transform: translateY(-12px) rotate(-0.5deg);
  }
}

/* ヒーロー画像に適用 */
.hero__image img {
  animation: float-gentle 6s ease-in-out infinite;
}

/* ────────────────────────────────────────
   セクション1: ヒーロースライダー
──────────────────────────────────────── */
.section-hero-slider {
  padding: var(--space-lg) var(--space-md);
  background: var(--white);
  color: var(--text-on-light);
}

.hero-slider__main {
  position: relative;
  aspect-ratio: 4 / 3;
  border-radius: var(--radius);
  overflow: hidden;
  margin-bottom: var(--space-md);
  box-shadow: 0 12px 40px rgba(221, 254, 255);
}

.hero-slider__img {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  opacity: 0;
  transition: opacity 1s ease-in-out;
}

.hero-slider__img.active {
  opacity: 1;
}

.hero-slider__thumbs {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: var(--space-xs);
}

.hero-slider__thumb {
  border: 2px solid transparent;
  border-radius: 8px;
  overflow: hidden;
  cursor: pointer;
  transition: border-color 0.3s, transform 0.3s;
}

.hero-slider__thumb:hover {
  transform: scale(1.05);
}

.hero-slider__thumb.active {
  border-color: var(--blue);
}

.hero-slider__thumb img {
  width: 100%;
  aspect-ratio: 3 / 2;
  object-fit: cover;
}

/* ────────────────────────────────────────
   セクション2: ポラロイド写真風
──────────────────────────────────────── */
.section-polaroid {
  padding: var(--space-xl) var(--space-md);
  background: linear-gradient(135deg, var(--red-light) 0%, var(--red) 100%);
  color: var(--text-on-red);
}

.polaroid-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: var(--space-lg);
  margin-bottom: var(--space-xl);
}

@media (min-width: 480px) {
  .polaroid-grid {
    grid-template-columns: repeat(2, 1fr);
  }
}

.polaroid {
  background: var(--white);
  padding: 12px;
  box-shadow: 0 8px 24px rgba(221, 254, 255);
  transition: transform 0.4s var(--ease-out);
}

.polaroid:hover {
  transform: translateY(-8px) rotate(0deg) !important;
}

.polaroid.rotate-left {
  transform: rotate(-3deg);
}

.polaroid.rotate-right {
  transform: rotate(3deg);
}

.polaroid img {
  width: 100%;
  aspect-ratio: 1;
  object-fit: cover;
  margin-bottom: 12px;
}

.polaroid__caption {
  font-family: var(--font-display);
  font-size: 1rem;
  font-weight: 600;
  text-align: center;
  color: var(--black);
}

.brand-intro {
  text-align: center;
  max-width: 320px;
  margin: 0 auto;
}

.brand-intro__title {
  font-family: var(--font-display);
  font-size: 1.5rem;
  font-weight: 700;
  margin-bottom: var(--space-sm);
  color: var(--white);
}

.brand-intro__text {
  line-height: 1.9;
  color: rgba(255, 255, 255, 0.95);
}

/* ────────────────────────────────────────
   セクション3: カルーセルトリガー＆モーダル
──────────────────────────────────────── */
.section-carousel {
  background: linear-gradient(135deg, var(--blue) 0%, var(--blue-light) 100%);
  color: var(--text-on-blue);
}

.section-carousel .section__title {
  color: var(--white);
}
.carousel-trigger {
  position: relative;
  border-radius: var(--radius);
  overflow: hidden;
  cursor: pointer;
  transition: transform 0.4s var(--ease-out);
}

.carousel-trigger:hover {
  transform: scale(1.02);
}

.carousel-trigger img {
  height: 550px;
  width: 100%;
  aspect-ratio: 7 / 5;
  object-fit: cover;
}

.carousel-trigger__overlay {
  position: absolute;
  inset: 0;
  background: rgb(221, 254, 255);
  display: flex;
  align-items: center;
  justify-content: center;
  opacity: 0;
  transition: opacity 0.3s;
}

.carousel-trigger:hover .carousel-trigger__overlay {
  opacity: 1;
}

.carousel-trigger__overlay span {
  font-family: var(--font-display);
  font-size: 1.5rem;
  font-weight: 700;
  color: var(--white);
}

/* カルーセルモーダル */
.carousel-modal {
  position: fixed;
  inset: 0;
  background: rgba(0, 0, 0, 0.95);
  z-index: 1000;
  display: none;
  align-items: center;
  justify-content: center;
}

.carousel-modal.active {
  display: flex;
}

.carousel-modal__close {
  position: absolute;
  top: 20px;
  right: 20px;
  font-size: 3rem;
  color: var(--white);
  background: none;
  border: none;
  cursor: pointer;
  line-height: 1;
  transition: transform 0.3s;
}

.carousel-modal__close:hover {
  transform: rotate(90deg);
}

.carousel-modal__content {
  position: relative;
  width: 75%;
  height: 100%;
  max-width: 700px;
  aspect-ratio: 4 / 3;
}

.carousel-modal__slides {
  position: relative;
  width: 100%;
  height: 100%;
  border-radius: var(--radius);
  overflow: hidden;
}

.carousel-modal__slide {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  opacity: 0;
  transition: opacity 0.5s ease-in-out;
}

.carousel-modal__slide.active {
  opacity: 1;
}

.carousel-modal__nav {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  font-size: 4rem;
  color: var(--white);
  background: rgba(0, 0, 0, 0.5);
  border: none;
  width: 50px;
  height: 50px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  transition: background 0.3s;
}

.carousel-modal__nav:hover {
  background: rgba(0, 0, 0, 0.8);
}

.carousel-modal__nav--prev {
  left: -60px;
}

.carousel-modal__nav--next {
  right: -60px;
}

.carousel-modal__counter {
  position: absolute;
  bottom: -40px;
  left: 50%;
  transform: translateX(-50%);
  color: var(--white);
  font-family: var(--font-display);
  font-size: 1.2rem;
}

/* ────────────────────────────────────────
   セクション4: ロゴオービット
──────────────────────────────────────── */
.section-logo-orbit {
  padding: var(--space-xl) var(--space-md);
  background: var(--white);
  color: var(--text-on-light);
}

.logo-orbit {
  position: relative;
  height: 400px;
  display: flex;
  align-items: center;
  justify-content: center;
}

.logo-orbit__center {
  position: relative;
  z-index: 2;
}

.logo-orbit__logo {
  font-family: var(--font-display);
  font-size: 2rem;
  font-weight: 800;
  color: var(--black);
  text-align: center;
  line-height: 1;
}

.logo-orbit__logo span {
  color: var(--blue);
}

.logo-orbit__img {
  position: absolute;
  width: 100px;
  height: 100px;
  border-radius: 50%;
  object-fit: cover;
  border: 3px solid var(--blue);
  box-shadow: 0 8px 24px rgba(0, 0, 0, 0.3);
}

.logo-orbit__img--1 {
  top: 10%;
  left: 20%;
}

.logo-orbit__img--2 {
  top: 15%;
  right: 15%;
}

.logo-orbit__img--3 {
  bottom: 15%;
  left: 15%;
}

.logo-orbit__img--4 {
  bottom: 10%;
  right: 20%;
}

/* 浮遊アニメーション（バリエーション） */
@keyframes float-1 {
  0%, 100% { transform: translateY(0) rotate(0deg); }
  50% { transform: translateY(-15px) rotate(5deg); }
}

@keyframes float-2 {
  0%, 100% { transform: translateY(0) rotate(0deg); }
  50% { transform: translateY(-20px) rotate(-5deg); }
}

@keyframes float-3 {
  0%, 100% { transform: translateY(0) rotate(0deg); }
  50% { transform: translateY(-12px) rotate(3deg); }
}

@keyframes float-4 {
  0%, 100% { transform: translateY(0) rotate(0deg); }
  50% { transform: translateY(-18px) rotate(-3deg); }
}

.float-1 { animation: float-1 4s ease-in-out infinite; }
.float-2 { animation: float-2 5s ease-in-out infinite; }
.float-3 { animation: float-3 4.5s ease-in-out infinite; }
.float-4 { animation: float-4 5.5s ease-in-out infinite; }

/* ────────────────────────────────────────
   セクション5: 高品質アピール
──────────────────────────────────────── */
.section-quality {
  padding: var(--space-xl) var(--space-md);
  background: linear-gradient(135deg, var(--red-light) 0%, var(--red) 100%);
  color: var(--text-on-red);
}

.quality-content__image {
  border-radius: var(--radius);
  overflow: hidden;
  margin-bottom: var(--space-md);
  box-shadow: 0 12px 40px rgba(0, 0, 0, 0.12);
}

.quality-content__image img {
  width: 100%;
  transition: transform 0.6s var(--ease-out);
}

.quality-content:hover .quality-content__image img {
  transform: scale(1.05);
}

.quality-content__title {
  font-family: var(--font-display);
  font-size: clamp(1.0rem, 3vw, 2.0rem);
  font-weight: 700;
  margin-bottom: var(--space-md);
  color: var(--white);
}

.quality-content__desc {
  line-height: 1.9;
  color: rgba(255, 255, 255, 0.95);
}

/* ────────────────────────────────────────
   セクション6: 横スライダー
──────────────────────────────────────── */
.section-horizontal-slider {
  padding: var(--space-xl) 0;
  background: linear-gradient(135deg, var(--blue) 0%, var(--blue-light) 100%);
  color: var(--text-on-blue);
}

.section-horizontal-slider .section__title {
  color: var(--white);
}

.horizontal-slider {
  position: relative;
  padding: 0 60px;
}

.horizontal-slider__track {
  display: flex;
  gap: var(--space-sm);
  overflow-x: auto;
  scroll-behavior: smooth;
  scrollbar-width: none;
  -ms-overflow-style: none;
  padding: 0 var(--space-md);
}

.horizontal-slider__track::-webkit-scrollbar {
  display: none;
}

.horizontal-slider__item {
  flex: 0 0 200px;
  transition: transform 0.3s var(--ease-out);
}

.horizontal-slider__item:hover {
  transform: scale(1.05);
}

.horizontal-slider__item img {
  width: 100%;
  aspect-ratio: 4 / 5;
  object-fit: cover;
  border-radius: var(--radius);
  margin-bottom: var(--space-xs);
}

.horizontal-slider__name {
  font-size: 0.9rem;
  font-weight: 500;
  text-align: center;
  color: var(--white);
}

.horizontal-slider__nav {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  width: 40px;
  height: 40px;
  background: var(--white);
  color: var(--blue);
  border-radius: 50%;
  font-size: 2rem;
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  transition: background 0.3s;
  z-index: 2;
}

.horizontal-slider__nav:hover {
  background: var(--red);
  color: var(--white);
}

.horizontal-slider__nav--prev {
  left: 10px;
}

.horizontal-slider__nav--next {
  right: 10px;
}

/* ────────────────────────────────────────
   セクション7: ポリシー
──────────────────────────────────────── */
.section-policy {
  padding: var(--space-xl) var(--space-md);
  background: var(--white);
  color: var(--text-on-light);
}

.policy-content {
  text-align: center;
  max-width: 320px;
  margin: 0 auto;
}

.policy-content__logo {
  margin-bottom: var(--space-lg);
}

.policy-logo {
  font-family: var(--font-display);
  font-size: 2.5rem;
  font-weight: 800;
  line-height: 0.9;
  color: var(--black);
  display: inline-block;
}

.policy-logo span {
  color: var(--blue);
}

.policy-content__title {
  font-family: var(--font-display);
  font-size: 1.5rem;
  font-weight: 700;
  margin-bottom: var(--space-md);
  color: var(--red);
  letter-spacing: 0.1em;
}

.policy-content__desc {
  line-height: 1.9;
  color: #666;
}

/* ────────────────────────────────────────
   スクロール連動追加アニメーション
──────────────────────────────────────── */
/* 回転しながら出現 */
.reveal.rotate-in {
  transform: translateY(40px) rotate(-10deg);
}

.reveal.rotate-in.revealed {
  transform: translateY(0) rotate(0deg);
}

/* スケールアップ */
.reveal.scale-in {
  transform: scale(0.8);
}

.reveal.scale-in.revealed {
  transform: scale(1);
}

/* 横からスライド */
.reveal.slide-left {
  transform: translateX(-40px);
}

.reveal.slide-left.revealed {
  transform: translateX(0);
}

.reveal.slide-right {
  transform: translateX(40px);
}

.reveal.slide-right.revealed {
  transform: translateX(0);
}
