/* ============================================
   common.css
   全ページ共通スタイル
   ※variables.css・utility.cssより後に読み込むこと
============================================ */

/* ============================================
   Base
============================================ */
.fs-preview-header {
  display: none !important;
}

*,
*::before,
*::after {
  box-sizing: border-box;
}

html {
  font-size: var(--font-size-base);
  scroll-behavior: smooth;
}

body {
  font-family: var(--font-family-base);
  font-size: var(--font-size-base);
  font-weight: var(--font-weight-normal);
  line-height: var(--line-height-base);
  color: var(--color-text);
  background-color: var(--color-bg);
  -webkit-font-smoothing: antialiased;
}

img {
  max-width: 100%;
  height: auto;
  display: block;
}

a {
  color: inherit;
  text-decoration: none;
  transition: opacity var(--transition-base);
}

a:hover {
  /* opacity: 0.7; */
  text-decoration: none !important;
}

a:visited {
  color: inherit;
}

ul,
ol {
  list-style: none;
  margin: 0;
  padding: 0;
}

h1,
h2,
h3,
h4,
h5,
h6 {
  margin: 0;
  font-weight: var(--font-weight-bold);
  line-height: var(--line-height-tight);
}

p {
  margin: 0;
}

.js-fade-in {
  opacity: 0;
  transition: opacity 2s ease;
}

.js-fade-in.is-loaded {
  opacity: 1;
}

.fs-c-breadcrumb {
  font-size: 12px;
  letter-spacing: 0.04em;
  max-width: 95%;
  margin: 65px auto 8px;
}

.fs-c-breadcrumb ol.fs-c-breadcrumb__list li:first-of-type::before {
  content: unset;
}
.fs-c-breadcrumb ol.fs-c-breadcrumb__list li a {
  font-weight: 500;
  color: #333;
}
.fs-c-breadcrumb ol.fs-c-breadcrumb__list li:last-of-type {
  color: #000;
}
.fs-c-breadcrumb ol.fs-c-breadcrumb__list li::before {
  font-weight: 600;
  font-family: 'Font Awesome 5 Free';
  content: '\f054';
  color: #333;
}

@media (min-width: 1131px) {
  .fs-c-breadcrumb {
    font-size: 14px;
    margin: 95px auto 32px;
    max-width: 1400px;
    padding-left: 24px;
  }
}

/* ============================================
   Header
============================================ */
.header {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  z-index: 1000;
  display: flex;
  min-height: 60px;
  background-color: rgba(0, 0, 0, 0.05);
  transition:
    background-color 0.4s ease,
    padding 0.4s ease,
    box-shadow 0.4s ease;
  box-shadow: none;
}

.header.is-scrolled {
  box-shadow: 0 0 15px 1px rgba(0, 0, 0, 0.07);
}
.header.is-solid {
  background-color: var(--color-bg-subtle);
}

.header__inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  width: 100%;
  margin: 0 auto;
  padding: 0 var(--container-padding);
}

/* ロゴ */
.header__logo {
  display: flex;
  align-items: center;
  flex-shrink: 0;
}

.header__logo img {
  height: 38px;
  width: auto;
}

/* 透明時：白ロゴ表示、赤ロゴ非表示 */
.header__logo-default {
  display: block;
}
.header__logo-scrolled {
  display: none;
}

/* スクロール後：赤ロゴ表示、白ロゴ非表示 */
.header.is-solid .header__logo-default {
  display: none;
}
.header.is-solid .header__logo-scrolled {
  display: block;
}

/* PC ナビゲーション */
.header__nav {
  display: none;
  margin-left: auto;
}

/* PC アイコン */
.header__icons {
  display: none;
  align-items: center;
  gap: var(--spacing-md);
  margin-left: var(--spacing-xxl);
}

.header__icon-link {
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--color-text-white);
  transition:
    color 0.4s ease,
    opacity 0.2s ease;
}

.header.is-solid .header__icon-link {
  color: var(--color-primary);
}

.header__icon-link:hover {
  opacity: 0.6;
}

.header__icon {
  width: 22px;
  height: 22px;
}

/*ヘッダー上部のカート */
.header__sp-actions {
  display: flex;
  align-items: center;
  gap: 14px;
}

.header__cart-sp {
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--color-text-white);
  position: relative;
  width: 40px;
  height: 40px;
}
.header__cart-sp .header__icon {
  width: 26px;
  height: 26px;
}
.header__cart-sp:visited {
  color: var(--color-text-white);
}

.header.is-solid .header__cart-sp {
  color: var(--color-text);
}

.header.is-solid .header__cart-sp:visited {
  color: var(--color-text);
}

/* ハンバーガーボタン */
.header__hamburger {
  display: flex;
  flex-direction: column;
  justify-content: center;
  gap: 6px;
  width: 34px;
  height: 34px;
  padding: 4px;
  background: none;
  border: none;
  cursor: pointer;
  flex-shrink: 0;
}

.header__hamburger-line {
  display: block;
  width: 100%;
  height: 2px;
  background-color: var(--color-text-white);
  transition: background-color 0.4s ease;
}

.header.is-solid .header__hamburger-line {
  background-color: var(--color-text);
}

/* ============================================
   SP スライドメニュー
============================================ */
.sp-menu {
  position: fixed;
  top: 0;
  right: 0;
  width: 60%;
  max-width: 320px;
  height: 100%;
  background-color: var(--color-bg);
  z-index: 1100;
  transform: translateX(100%);
  transition: transform 0.5s cubic-bezier(0.4, 0, 0.2, 1);
  overflow-y: auto;
}

.sp-menu.is-open {
  transform: translateX(0);
}

.sp-menu__inner {
  position: relative;
  padding: var(--spacing-xl) var(--spacing-lg);
}

.sp-menu__close {
  position: absolute;
  right: 20px;
  top: 15px;
  display: flex;
  align-items: center;
  justify-content: center;
  width: 32px;
  height: 32px;
  background: var(--color-primary);
  border: none;
  cursor: pointer;
  color: var(--color-text-white);
}

.sp-menu__close svg {
  width: 28px;
  height: 28px;
}

.sp-menu__list {
  display: flex;
  flex-direction: column;
  margin-top: 6px;
}

.sp-menu__item {
  border-bottom: 1px solid var(--color-border);
}

.sp-menu__link {
  display: block;
  padding: var(--spacing-md) 0;
  font-family: var(--font-family-en);
  font-size: var(--font-size-md);
  font-weight: var(--font-weight-normal);
  letter-spacing: 0.02em;
  color: var(--color-primary);
  transition: opacity 0.2s ease;
  line-height: 1.1;
}

.sp-menu__link:hover {
  opacity: 0.6;
}

.sp-menu__link:visited {
  color: var(--color-primary);
}

.sp-menu__icons {
  display: flex;
  gap: var(--spacing-lg);
  margin-top: var(--spacing-xl);
}

.sp-menu__icon-link {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: var(--spacing-xs);
  font-family: var(--font-family-en);
  font-size: var(--font-size-xs);
  letter-spacing: 0.02em;
  color: var(--color-primary);
}
.sp-menu__icon-link:visited {
  color: var(--color-primary);
}

.sp-menu__icon-link svg {
  width: 22px;
  height: 22px;
}

.header__icon-link .fs-client-cart-count,
.sp-menu__icon-link .fs-client-cart-count,
.header__cart-sp .fs-client-cart-count {
  position: absolute;
  right: -8px;
  top: -5px;
  width: 16px;
  height: 16px;
  border-radius: 100%;
  background-color: var(--color-primary);
  color: #fff;
  font-family: 'Questrial', sans-serif;
  font-size: 9px;
  font-weight: 500;
  line-height: 16px;
  text-align: center;
}
.header__cart-sp .fs-client-cart-count {
  right: 0px;
  top: 2px;
}

/* オーバーレイ */
.sp-menu__overlay {
  position: fixed;
  inset: 0;
  background-color: rgba(0, 0, 0, 0.4);
  z-index: 1050;
  opacity: 0;
  pointer-events: none;
  transition: opacity 0.35s ease;
}

.sp-menu__overlay.is-open {
  opacity: 1;
  pointer-events: auto;
}

/* ============================================
   PC（1131px〜）
============================================ */
@media (min-width: 1131px) {
  .header {
    padding: 16px 0;
  }
  .header__inner {
    max-width: none;
    padding: 0 50px;
  }
  /* .header__logo .header__logo-default {
    height: 57px;
  }
  .header__logo .header__logo-scrolled {
    height: 44px;
    transition: height 0.2s ease;
  } */
  .header__logo img {
    height: 57px;
  }
  .header.is-scrolled .header__logo img {
    height: 44px;
    transition: height 0.2s ease;
  }
  .header__nav {
    display: flex;
  }

  .header__nav-list {
    display: flex;
    align-items: center;
    gap: var(--spacing-xl);
  }

  .header__nav-link,
  .header__nav-link:hover,
  .header__nav-link:visited {
    text-decoration: none !important;
  }

  .header__nav-link {
    font-family: var(--font-family-en);
    font-size: var(--font-size-md);
    font-weight: var(--font-weight-normal);
    letter-spacing: 0.04em;
    color: var(--color-text-white);
    text-decoration: none;
    position: relative;
    padding-bottom: 6px;
    transition: color 0.4s ease;
  }

  .header .header__nav-link:visited {
    color: var(--color-text-white);
  }

  .header__nav-link::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 100%;
    height: 2px;
    background-color: currentColor;
    transform: translateY(10px);
    opacity: 0;
    transition:
      transform 0.3s ease,
      opacity 0.3s ease;
  }

  /* ナビゲーション活性状態 */
  .header__nav-link.is-active::after {
    transform: translateY(0);
    opacity: 1;
  }

  .header__nav-link:hover {
    color: var(--color-text-white) !important;
    opacity: 1;
  }

  .header.is-scrolled {
    padding: 0;
  }
  /* .header.is-scrolled .header__logo .header__logo-scrolled {
    height: 44px;
  } */

  .header.is-solid .header__nav-link:hover {
    color: var(--color-primary) !important;
  }

  .header__nav-link:hover::after {
    transform: translateY(0);
    opacity: 1;
  }

  .header.is-solid .header__nav-link {
    color: var(--color-primary);
  }

  .header__icons {
    display: flex;
  }

  .header__icon-link:hover {
    color: var(--color-text-white) !important;
    text-decoration: none !important;
    opacity: 0.6;
  }

  .header.is-solid .header__icon-link:hover {
    color: var(--color-primary) !important;
    opacity: 0.6;
  }

  .header__icon-link:visited {
    color: var(--color-text-white) !important;
  }
  .header.is-solid .header__icon-link:visited {
    color: var(--color-primary) !important;
  }

  .header__sp-actions {
    display: none;
  }

  .header__hamburger {
    display: none;
  }

  .header__cart-sp {
    display: none;
  }
}

/* ============================================
   PC ドロップダウンメニュー
============================================ */
@media (min-width: 1131px) {
  .header__nav-item--has-child {
    position: relative;
  }

  .header__nav-item--has-child:hover .header__nav-link::after {
    opacity: 0;
  }

  .header__dropdown {
    position: absolute;
    top: calc(100% + 16px);
    left: -16px;
    background-color: var(--color-bg);
    min-width: 260px;
    padding: var(--spacing-sm) 0;
    opacity: 0;
    visibility: hidden;
    transition:
      opacity 0.3s ease,
      visibility 0.3s ease;
    box-shadow: 0 4px 16px rgba(0, 0, 0, 0.1);
  }

  .header__nav-item--has-child:hover .header__dropdown {
    opacity: 1;
    visibility: visible;
  }

  .header__dropdown-link {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 10px 24px;
    font-family: var(--font-family-en);
    font-size: var(--font-size-sm);
    font-weight: var(--font-weight-medium);
    letter-spacing: 0.06em;
    color: var(--color-text);
    transition: color 0.2s ease;
  }

  .header__dropdown-link::after {
    content: '';
    display: inline-block;
    width: 5px;
    height: 5px;
    border-top: 1px solid currentColor;
    border-right: 1px solid currentColor;
    transform: rotate(45deg);
    margin-left: var(--spacing-md);
    opacity: 0.5;
    flex-shrink: 0;
  }

  .header__dropdown-link:hover {
    color: var(--color-primary) !important;
    opacity: 1;
    text-decoration: none !important;
  }

  .header__dropdown-link:hover::after {
    opacity: 1;
  }
}

/* ============================================
   SP アコーディオンメニュー
============================================ */
.sp-menu__item-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.sp-menu__item-header .sp-menu__link {
  border-bottom: none;
  flex: 1;
}

.sp-menu__toggle {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 44px;
  height: 44px;
  background: none;
  border: none;
  cursor: pointer;
  color: rgba(230, 0, 18, 0.17);
  fill: rgba(230, 0, 18, 0.17);
  flex-shrink: 0;
}

.sp-menu__toggle-icon {
  width: 18px;
  height: 18px;
  transition: transform 0.4s ease;
}

.sp-menu__toggle.is-open .sp-menu__toggle-icon {
  transform: rotate(45deg);
}

.sp-menu__sub-list {
  display: flex;
  flex-direction: column;
  padding-left: var(--spacing-md);
  height: 0;
  overflow: hidden;
}

.sp-menu__sub-item {
  flex-shrink: 0;
  color: var(--color-primary);
}

.sp-menu__sub-link {
  display: block;
  padding: var(--spacing-sm) 0;
  font-family: var(--font-family-en);
  font-size: var(--font-size-sm);
  font-weight: var(--font-weight-medium);
  letter-spacing: 0.02em;
  color: var(--color-primary);
  transition: opacity 0.2s ease;
}

.sp-menu__sub-item:last-child .sp-menu__sub-link {
  padding-bottom: var(--spacing-lg);
}

.sp-menu__sub-link:hover {
  opacity: 0.6;
}

/* ============================================
   Footer
============================================ */
.footer {
  position: relative;
  bottom: 0;
  left: 0;
  width: 100%;
  z-index: 0;
  background-color: #000;
  color: var(--color-text-gray);
}

.footer__inner {
  max-width: 1520px;
  margin: 0 auto;
  padding: var(--spacing-xl) var(--container-padding) var(--spacing-md);
}

/* ロゴ */
.footer__logo {
  text-align: center;
  margin-bottom: var(--spacing-xl);
}

.footer__logo img {
  height: 56px;
  width: auto;
  margin: 0 auto;
}

/* コンテンツ（SP：縦積み） */
.footer__content {
  display: flex;
  flex-direction: column;
  gap: var(--spacing-xxl);
  margin-bottom: var(--spacing-xl);
}

.footer__nav {
  padding: 10px 16px 0;
}

/* ナビ：カテゴリ横並び＋アコーディオン（SP） */
.footer__nav-cols {
  display: flex;
  flex-direction: column;
}

.footer__nav-col {
  display: flex;
  flex-direction: column;
}
.footer__nav-col:last-child {
  border-bottom: 1px solid rgba(255, 255, 255, 0.15);
}

/* 見出しボタン */
.footer__nav-heading {
  display: flex;
  align-items: center;
  justify-content: space-between;
  width: 100%;
  background: none;
  border: none;
  border-top: 1px solid rgba(255, 255, 255, 0.15);
  padding: var(--spacing-md) 0;
  margin-bottom: 0;
  font-family: var(--font-family-sans);
  font-size: 14px;
  font-weight: var(--font-weight-bold);
  color: var(--color-text-gray);
  letter-spacing: 0.04em;
  cursor: pointer;
  text-align: left;
}

/* シェブロン（矢印） */
.footer__nav-chevron {
  width: 18px;
  height: 18px;
  flex-shrink: 0;
  transition: transform 0.3s ease;
}

.footer__nav-heading[aria-expanded='true'] .footer__nav-chevron {
  transform: rotate(180deg);
}

/* リスト：SP では初期非表示 */
.footer__nav-list {
  display: flex;
  flex-direction: column;
  gap: 0.8em;
  overflow: hidden;
  max-height: 0;
  transition:
    max-height 0.4s ease,
    padding 0.4s ease;
  padding: 0;
}

.footer__nav-col.is-open .footer__nav-list {
  max-height: 400px;
  padding-bottom: var(--spacing-md);
}

.footer__nav-col .footer__nav-item {
  line-height: 1.3;
}

.footer__nav-col .footer__nav-link {
  position: relative;
  font-family: var(--font-family-sans);
  font-size: var(--font-size-sm);
  color: var(--color-text-gray);
  transition: color 0.2s ease;
}

.footer__nav-col .footer__nav-link:hover {
  color: var(--color-primary);
}

.footer__nav-col .footer__nav-link:visited {
  color: var(--color-text-gray);
}

/* NEWS */
.footer__news-list {
  display: flex;
  flex-direction: column;
  gap: var(--spacing-md);
}
.footer__news-item {
  height: 64px;
}

.footer__nav-item {
  line-height: 1.3;
}

.footer__news-link {
  display: flex;
  gap: var(--spacing-sm);
  opacity: 1;
}

.footer__news-link:hover .footer__news-title {
  font-family: var(--font-family-arial);
  color: var(--color-primary);
}

.footer__news-thumb {
  width: 48px;
  height: 48px;
  border-radius: 50%;
  object-fit: cover;
  flex-shrink: 0;
}

.footer__news-title {
  font-size: var(--font-size-sm);
  color: var(--color-text-gray);
  line-height: var(--line-height-tight);
  margin-bottom: 4px;
  transition: color 0.2s ease;
}

.footer__news-date {
  font-family: var(--font-family-sans);
  font-size: var(--font-size-sm);
  color: var(--color-text-gray-dark);
}

/* ボトムバー */
.footer__bottom {
  display: flex;
  align-items: center;
  justify-content: center;
  flex-direction: column;
  padding-top: 12px;
  margin: 3px 0 2px;
  border-top: 1px solid rgba(255, 255, 255, 0.15);
}

.footer__copy {
  font-family: var(--font-family-base);
  font-size: var(--font-size-sm);
  letter-spacing: 0.04em;
  margin-bottom: var(--spacing-xs);
}

.footer__social {
  display: flex;
  align-items: center;
  gap: var(--spacing-sm);
  color: var(--color-text-white);
}

.footer__social-link {
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--color-text-white);
  transition: opacity 0.2s ease;
  padding: 0 1px;
}

.footer__social-link:hover {
  opacity: 1;
}

.footer__social-link:visited {
  color: inherit;
}

.footer__social-link svg {
  width: 36px;
  height: 36px;
}

/* ページトップ */
.footer__pagetop {
  position: fixed;
  bottom: 8px;
  right: 8px;
  z-index: 1001; /* ヘッダー(1000)より下、コンテンツより上 */
  display: flex;
  align-items: center;
  justify-content: center;
  width: 38px;
  height: 38px;
  background: rgba(0, 0, 0, 0.2);
  cursor: pointer;
  color: var(--color-text-white);
  border: none;

  /* 初期：右外に隠す */
  opacity: 0;
  visibility: hidden;
  transform: translateX(80px);
  transition:
    transform 0.4s cubic-bezier(0.4, 0, 0.2, 1),
    opacity 0.4s ease,
    visibility 0.4s ease;
}

/* 表示状態：右からスッと入る */
.footer__pagetop.is-visible {
  opacity: 1;
  visibility: visible;
  transform: translateX(0);
}

.footer__pagetop svg {
  width: 28px;
  height: 28px;
}

/* ============================================
   Footer PC（1131px〜）
============================================ */
@media (min-width: 1131px) {
  .main-wrapper {
    position: relative;
    z-index: 1;
  }
  .fs-l-page {
    position: relative;
    z-index: 1;
    background-color: var(--color-bg);
  }
  .fs-l-main {
    position: relative;
    z-index: 1;
    width: 100%;
    max-width: none;
    background-color: var(--color-bg);
    display: flex;
    justify-content: center;
  }
  .footer__inner {
    padding: 50px 60px 12px;
  }
  .footer__content {
    flex-direction: row;
    justify-content: space-between;
    align-items: flex-start;
    gap: var(--spacing-xxl);
  }
  .footer__nav {
    flex-shrink: 0;
    padding: 0;
  }
  .footer__news {
    height: 300px;
    flex: 1;
    max-width: 360px;
    margin-left: auto;
  }
  .footer__news-item {
    height: 67px;
  }
  .footer__bottom {
    flex-direction: row;
    justify-content: space-between;
  }
  .footer__pagetop {
    bottom: 10px;
    right: 10px;
  }

  /* ナビ：アコーディオン解除・常時表示 */
  .footer__nav-cols {
    flex-direction: row;
    gap: var(--spacing-xxl);
    align-items: flex-start;
  }

  .footer__nav-col:last-child {
    border-bottom: none;
  }

  .footer__nav-heading {
    border-top: none;
    border-bottom: 1px solid rgba(255, 255, 255, 0.2);
    padding: 0 0 1em 0;
    margin-bottom: 0.8em;
    cursor: default;
    pointer-events: none;
  }

  .footer__nav-chevron {
    display: none;
  }

  .footer__nav-list {
    max-height: none !important;
    padding-bottom: 0 !important;
    overflow: initial;
  }

  .footer__nav-link::after {
    content: '';
    position: absolute;
    bottom: -3px;
    left: 0;
    width: 100%;
    height: 1px;
    background-color: currentColor;
    transform: scaleX(0);
    transform-origin: center;
    transition: transform 0.3s ease;
  }

  .footer__nav-link:hover::after {
    transform: scaleX(1);
  }

  .footer__copy {
    margin-bottom: 0;
  }

  /* ============================================
   リビールフッター用：メインコンテンツ
   ※FutureShopのメインラッパーのクラスに合わせて調整
============================================ */
  .main-wrapper {
    background-color: var(--color-bg);
  }
  body.is-reveal-footer {
    padding-bottom: 549px;
  }
  body.is-reveal-footer .footer {
    position: fixed;
    bottom: 0;
    left: 0;
    width: 100%;
    z-index: 0;
    height: 549px;
  }
}

/* ============================================
   ローディングオーバーレイ（全ページ共通）
============================================ */
.loading {
  position: fixed;
  inset: 0;
  z-index: 9999;
  background-color: var(--color-bg);
  display: flex;
  align-items: center;
  justify-content: center;
  transition:
    opacity 1.2s ease,
    visibility 1.2s ease;
}

.loading.is-hidden {
  opacity: 0;
  visibility: hidden;
}

.loading__spinner {
  position: relative;
  width: 52px;
  height: 52px;
}

.loading__spinner-bar {
  position: absolute;
  top: 0;
  left: 50%;
  width: 4px;
  height: 13px;
  margin-left: -2px;
  border-radius: 4px;
  background-color: #a8aab0;
  transform-origin: center 26px;
  animation: spinner 1.2s linear infinite;
  opacity: 0.1;
}

.loading__spinner-bar:nth-child(1) {
  transform: rotate(0deg);
  animation-delay: 0s;
}
.loading__spinner-bar:nth-child(2) {
  transform: rotate(30deg);
  animation-delay: -1.1s;
}
.loading__spinner-bar:nth-child(3) {
  transform: rotate(60deg);
  animation-delay: -1s;
}
.loading__spinner-bar:nth-child(4) {
  transform: rotate(90deg);
  animation-delay: -0.9s;
}
.loading__spinner-bar:nth-child(5) {
  transform: rotate(120deg);
  animation-delay: -0.8s;
}
.loading__spinner-bar:nth-child(6) {
  transform: rotate(150deg);
  animation-delay: -0.7s;
}
.loading__spinner-bar:nth-child(7) {
  transform: rotate(180deg);
  animation-delay: -0.6s;
}
.loading__spinner-bar:nth-child(8) {
  transform: rotate(210deg);
  animation-delay: -0.5s;
}
.loading__spinner-bar:nth-child(9) {
  transform: rotate(240deg);
  animation-delay: -0.4s;
}
.loading__spinner-bar:nth-child(10) {
  transform: rotate(270deg);
  animation-delay: -0.3s;
}
.loading__spinner-bar:nth-child(11) {
  transform: rotate(300deg);
  animation-delay: -0.2s;
}
.loading__spinner-bar:nth-child(12) {
  transform: rotate(330deg);
  animation-delay: -0.1s;
}

@keyframes spinner {
  0% {
    opacity: 1;
  }
  100% {
    opacity: 0.15;
  }
}

/* ============================================
   レイアウト
============================================ */

/* セクション共通 */
.sec-contents {
  width: 100%;
  padding: 80px 0;
  color: var(--color-primary);
}

/* 共通インナー */
.l-inner {
  max-width: 1400px;
  margin: 0 auto;
  padding: 0 4px;
}

/* 2カラム */
.l-split {
  display: flex;
}

.l-split__left {
  width: 16.7%;
  max-width: 275px;
  flex-shrink: 0;
  padding-left: 15px;
  padding-right: 15px;
}

.l-split__right {
  flex: 1;
  text-align: center;
  padding-left: 15px;
  padding-right: 15px;
}

/* 左カラム ラベルエリア */
.l-side-label {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: var(--spacing-lg);
  margin-top: 25%;
}

.l-side-label__title {
  width: 45px;
}

.l-side-label__subtitle {
  width: 30px;
  margin-left: 12px;
}

@media (min-width: 1131px) {
  .sec-contents {
    padding: 160px 0;
  }

  /* 共通インナー */
  .l-inner {
    max-width: 1400px;
    margin: 0 auto;
    padding: 0 clamp(40px, 4vw, 200px);
  }

  .l-side-label {
    flex-direction: row;
    align-items: flex-start;
    gap: 1%;
  }

  .l-side-label__title {
    width: 75px;
  }

  .l-side-label__subtitle {
    width: 50px;
    margin-left: 20px;
  }

  .l-side-label img + img {
    margin-top: 120px;
  }
}

/* ============================================
   コンポーネント
============================================ */

/* セクションタイトル */
.sec-text__title {
  font-family: var(--font-family-en);
  font-size: 48px;
  font-weight: var(--font-weight-medium);
  text-align: center;
  margin-bottom: 1em;
  letter-spacing: 0.04em;
}

/* moreボタン */
.c-more__btn-area {
  margin-bottom: 24px;
  text-align: center;
}
.c-more__btn {
  display: inline-block;
  padding: var(--spacing-sm) var(--spacing-lg);
  border: 1px solid var(--color-text);
  font-family: var(--font-family-en);
  font-size: var(--font-size-md);
  letter-spacing: 0.1em;
  color: var(--color-text);
  transition:
    background-color 0.2s ease,
    color 0.2s ease;
}
.c-more__btn:hover {
  background-color: var(--color-text);
  color: var(--color-text-white);
  opacity: 1;
  text-decoration: none;
}

@media (min-width: 1131px) {
  /* セクションタイトル */
  .sec-text__title {
    font-size: 72px;
  }

  /* moreボタン */
  .c-more__btn-area {
    max-width: 800px;
    margin-left: auto;
    margin-right: auto;
    text-align: right;
  }
}

/* ============================================
   フリーページ共通 FV（ファーストビュー）
   ※common.css の末尾あたり（レイアウト or コンポーネント節）に追記
   ※ABOUT / CRAFT / COLLECTIONS / PRODUCTS などで共通使用

   ・枠（左上角丸・比率・cover背景・ロゴ重ね）は全ページ共通
   ・背景画像 … HTML側の style="background-image:url(...)" で指定
   ・トリミング位置／ロゴ位置／ロゴサイズ … CSS変数でページ・セクションごとに上書き
============================================ */

/* --- セクション外枠 --------------------------------- */
/* FVはページ先頭なので、固定ヘッダー分の余白を上に確保する。 */
.sec-fv {
  padding-top: 60px;
  padding-bottom: 0;
}

/* ヘッダー分余白 */
.l-freepage {
  padding-top: 60px;
  overflow: hidden;
}
@media (min-width: 1131px) {
  .l-freepage {
    padding-top: 89px;
  }
}

/* 左カラム（縦ラベル）をバナー上部寄りに。ページごとに調整可 */
.l-freepage .l-side-label {
  margin-top: 8px;
}
.l-freepage .l-split__right {
  padding-left: 0;
  padding-right: 0;
}

/* --- FVビジュアル本体（共通の枠） ------------------- */
.c-fv {
  /* ▼ ページごとに上書きする変数（初期値＝SP想定） */
  --fv-radius: 100px; /* 左上の角丸 */
  --fv-pos: center; /* 背景のトリミング基準位置 */
  --fv-logo-w: clamp(120px, 30vw, 220px); /* ロゴ幅：約700pxから縮小し始める */

  position: relative;
  width: 100%;
  height: 400px;
  border-top-left-radius: var(--fv-radius);
  overflow: hidden;
}

/* 背景画像（cover）。画像URLはHTML側の inline style で指定する */
.c-fv__bg {
  position: absolute;
  inset: 0;
  background-size: cover;
  background-repeat: no-repeat;
  background-position: var(--fv-pos);
}

/* 重ねる白ロゴ（マーク＋ATELIER ROUGE） */
.c-fv__logo {
  position: absolute;
  z-index: 1;
  left: var(--fv-logo-left, 50%);
  right: var(--fv-logo-right, auto);
  top: var(--fv-logo-top, 50%);
  bottom: var(--fv-logo-bottom, auto);
  width: var(--fv-logo-w);
  /* 既定はSPの中央寄せ。left/top を変えたら transform も合わせて上書きする */
  transform: var(--fv-logo-transform, translate(-50%, -50%));
}

/* タブレット（768〜1199px） */
@media (min-width: 768px) {
  .c-fv {
    height: 450px;
  }
}

/* --- PC（1131px〜） --------------------------------- */
@media (min-width: 1131px) {
  .sec-fv {
    padding-top: 89px;
  }
  .l-freepage .l-inner {
    padding: 0 50px;
    max-width: 1500px;
  }
  .l-freepage .l-side-label {
    margin-top: 56px;
  }
  .l-freepage .l-split__left {
    padding-left: 0;
    padding-right: 0;
    width: 13.7%;
  }
  .l-freepage .l-split__right {
    margin-right: 0;
    padding-right: 0;
  }
  .l-side-label__subtitle {
    margin: 0 auto;
  }
  .c-fv {
    --fv-radius: 150px; /* br-tl-150 相当 */
    --fv-pos: center; /* 左基準＝横を縮めると右端から切れる */
    --fv-logo-w: 220px; /* PCは固定サイズ */
    --fv-logo-left: 10%; /* 左寄せ */
    --fv-logo-top: 50%; /* 縦中央 */
    --fv-logo-transform: translateY(-50%);
    height: 500px; /* aspect-ratio は使わない */
  }
}

@media (min-width: 1600px) {
  .l-freepage .l-split__right {
    margin-right: -6%;
    padding-right: 0;
  }
}

@media (min-width: 1710px) {
  .l-freepage .l-split__right {
    margin-right: -10%;
    padding-right: 0;
  }
}

@media (min-width: 1830px) {
  .l-freepage .l-split__right {
    margin-right: -15%;
    padding-right: 0;
  }
}

/* ============================================
   LINE UP セクション
============================================ */
.sec-lineup {
  background-color: var(--color-bg-gray);
}
.sec-lineup__title {
  text-align: center;
  margin-bottom: var(--spacing-xl);
}

.sec-lineup__title img {
  max-width: 280px;
  width: 60%;
  margin: 0 auto;
}

.sec-lineup__grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  padding: 0 12px;
}

.sec-lineup__item {
  display: block;
  overflow: hidden;
  position: relative;
}
.sec-lineup__item:hover {
  opacity: 1;
}
.sec-lineup__item::after {
  content: '';
  position: absolute;
  inset: 0;
  background-color: var(--color-primary-overlay);
  opacity: 0;
  transition: opacity 0.45s ease;
}
.sec-lineup__item:hover::after {
  opacity: 1;
}

.sec-lineup__item img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.4s ease;
}

.sec-lineup__item:hover img {
  transform: scale(1.05);
}

/* PC（1131px〜） */
@media (min-width: 1131px) {
  .sec-lineup__title {
    margin-bottom: 72px;
  }

  .sec-lineup__grid {
    grid-template-columns: repeat(3, 1fr);
    max-width: 1220px;
    padding: 10px 0 0;
    margin: 0 auto;
  }

  .sec-lineup__title img {
    max-width: 350px;
  }
}

/* ==========================================================================
    商品スライダー（カテゴリページ共通・コレクションページ・トップページ）
    ※Swiper 利用
============================================================================= */

.products__list .products-slider {
  position: relative;
  padding: 32px 12px 40px;
}

/* スライド内：商品カード */
.product-card {
  display: block;
  color: var(--color-primary);
  text-decoration: none;
}

.product-card__img {
  overflow: hidden;
  margin-bottom: 12px;
  position: relative;
}

/* ホバー時の透明赤オーバーレイ */
.product-card__img::after {
  content: '';
  position: absolute;
  inset: 0;
  background-color: var(--color-primary-overlay);
  opacity: 0;
  transition: opacity 0.45s ease;
}

.product-card:hover .product-card__img::after {
  opacity: 1;
}

.product-card__img img {
  width: 100%;
  height: auto;
  display: block;
}

/* 商品名 */
.product-card__name {
  font-family: var(--font-family-en);
  font-size: 16px;
  line-height: 1.5;
  text-align: center;
  color: var(--color-text);
  margin-bottom: 0.72em;
}

.product-card__no {
  font-family: var(--font-family-en);
}

/* --- 矢印 --- */
.products-slider .swiper-button-prev,
.products-slider .swiper-button-next {
  width: 32px;
  height: 32px;
  border-radius: 50%;
  background: var(--color-primary);
  color: #fff;
  margin-top: 0;
  top: 50%;
  transform: translateY(-50%);
}
.products-slider .swiper-button-prev:hover,
.products-slider .swiper-button-next:hover {
  opacity: 0.8;
}

.products-slider .swiper-button-prev {
  left: 0;
}
.products-slider .swiper-button-next {
  right: 0;
}

/* Swiper標準の矢印サイズ調整 */
.products-slider .swiper-button-prev::after,
.products-slider .swiper-button-next::after {
  font-size: 13px;
  font-weight: bold;
}

/* 端で矢印を薄く（任意） */
.products-slider .swiper-button-disabled,
.products-slider .swiper-button-next.swiper-button-disabled:hover,
.products-slider .swiper-button-prev.swiper-button-disabled:hover {
  opacity: 0.35;
}

.products-slider .swiper-button-next.swiper-button-disabled,
.products-slider .swiper-button-prev.swiper-button-disabled {
  pointer-events: auto;
}

/* --- ページネーション（ドット） --- */
.products-slider .swiper-pagination {
  bottom: 0;
}

.products-slider .swiper-pagination-bullet {
  background: var(--color-primary);
  opacity: 0.4;
}

.products-slider .swiper-pagination-bullet-active {
  opacity: 1;
}

/* ============================================
    PC（1131px〜）
============================================ */
@media (min-width: 1131px) {
  .products__list .products-slider {
    padding: 64px 16px;
  }
  .product-card__img {
    margin-bottom: 18px;
  }
  .product-card__name {
    font-size: 18px;
  }
  .products-slider .swiper-button-prev,
  .products-slider .swiper-button-next {
    width: 40px;
    height: 40px;
  }
  .products-slider .swiper-button-prev::after,
  .products-slider .swiper-button-next::after {
    font-size: 16px;
  }
}

/* ============================================
    商品詳細 
============================================ */
/* 画像拡大✖ */
#fs_ProductDetails .fs-c-productMainImage {
  pointer-events: none;
  cursor: default;
}
/* サムネイル画像調整 */
.fs-c-productThumbnail {
  align-items: flex-start;
}

/* ============================================
    以下のCSSは一時的な上書き
============================================ */
/* インスタセクション非表示 */
.sec-insta {
  display: none;
}

/* ============================================
    以下のCSSは一時的な上書き、本番反映後に元に書いてあるCSSファイルに適用させ削除する。
    無ければこのまま
============================================ */
.fs-c-accountService .fs-c-accountService__page--wishList {
  display: flex !important;
}
.fs-c-accountService__page--wishList {
  display: flex !important;
}

/* 会員登録 */
#fs_Register .fs-l-main,
#fs_CustomerDetails .fs-l-main,
#fs_WishListLogin .fs-l-main {
  max-width: 100%;
  padding: 0 8px 24px;
}
