/* ========================================
   MARC ARROWS LP Template Stylesheet
   Phase 2 - 完全版
   全モール共通 CSS（楽天・Yahoo・Shopserve）
   
   修正項目：
   ②Oswaldフォント追加
   ③LINEUP/PRODUCTSデザイン変更（PC3列・SP2列グリッド）
   ④スライダー矢印サイズ・位置修正
   ⑤テキスト14.5px
   ⑥商品レイアウト2パターン対応
   ⑩フッター構造変更（ショップ情報・SNS追加）
   ⑪SPデザイン崩れ修正
   
   参考: fob-factory.html
======================================== */

/* ===== CSS Variables ===== */
:root {
  /* Colors */
  --color-primary: #333333;
  --color-secondary: #666666;
  --color-accent: #2c3e50;
  --color-text: #333333;
  --color-text-light: #666666;
  --color-text-on-dark: #ffffff;
  --color-text-light-on-dark: #cccccc;
  --color-bg: #ffffff;
  --color-bg-light: #f8f8f8;
  --color-bg-dark: #333333;
  --color-border: #e0e0e0;
  --color-border-dark: #444444;

  /* Typography - 修正⑤：ベースフォントサイズを14.5pxに */
  --font-size-base: 14.5px;
  --font-primary: 'Noto Sans JP', sans-serif;
  --font-accent: 'Oswald', 'Bebas Neue', sans-serif; /* 修正②：Oswaldフォント追加 */

  /* Spacing */
  --spacing-xs: 0.5rem;
  --spacing-sm: 1rem;
  --spacing-md: 2rem;
  --spacing-lg: 3rem;
  --spacing-xl: 4rem;

  /* Transitions */
  --transition-fast: 0.2s ease;
  --transition-normal: 0.3s ease;

  /* Header */
  --header-height: 60px;
}

/* ===== Reset & Base Styles ===== */
* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

html {
  font-size: 16px;
  scroll-behavior: smooth;
}

body {
  font-family: var(--font-primary);
  font-size: var(--font-size-base); /* 修正⑤：14.5px */
  line-height: 1.7;
  color: var(--color-text);
  background-color: var(--color-bg);
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  padding-top: var(--header-height);
}

img {
  max-width: 100%;
  height: auto;
  display: block;
}

a {
  color: inherit;
  text-decoration: none;
  transition: opacity var(--transition-fast);
}

a:hover {
  opacity: 0.7;
}

ul, ol {
  list-style: none;
}

button {
  font-family: inherit;
  cursor: pointer;
  border: none;
  background: none;
}

p, li, span {
  font-size: 14.5px; /* 修正⑤ */
}

/* 修正②：見出しにOswaldフォント適用 */
h1, h2, h3, h4, h5, h6 {
  font-family: var(--font-accent);
  font-weight: 500;
  line-height: 1.3;
}

/* ===== Utility Classes ===== */
.container {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 var(--spacing-sm);
}

.section-title {
  font-family: var(--font-accent); /* 修正② */
  font-size: 2.5rem;
  font-weight: 500;
  text-align: center;
  margin-bottom: var(--spacing-sm);
  letter-spacing: 0.05em;
}

.section-subtitle {
  font-size: 1rem;
  color: var(--color-text-light);
  text-align: center;
  margin-bottom: var(--spacing-lg);
  letter-spacing: 0.1em;
}

/* ===== Fixed Header ===== */
.fixed-header {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: var(--header-height);
  background-color: var(--color-bg-dark);
  z-index: 1000;
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.15);
}

.header-container {
  max-width: 1400px;
  height: 100%;
  margin: 0 auto;
  padding: 0 var(--spacing-md);
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.header-logo {
  height: 40px;
  z-index: 1001;
}

.header-logo img {
  height: 100%;
  width: auto;
  max-width: 240px;
}

/* ===== Navigation (Desktop) ===== */
.header-nav {
  display: none;
}

.nav-main {
  display: flex;
  gap: var(--spacing-md);
  align-items: center;
}

.nav-link {
  font-family: var(--font-accent); /* 修正②：Oswaldフォント */
  font-size: 0.95rem;
  font-weight: 400;
  color: var(--color-text-on-dark);
  padding: 0.5rem 0;
  transition: opacity var(--transition-fast);
  letter-spacing: 0.05em;
}

.nav-link:hover {
  opacity: 0.7;
}

/* ===== Hamburger Menu ===== */
.hamburger {
  display: flex;
  flex-direction: column;
  justify-content: space-around;
  width: 28px;
  height: 28px;
  background: transparent;
  border: none;
  cursor: pointer;
  padding: 0;
  z-index: 1001;
  position: relative;
}

.hamburger span {
  width: 28px;
  height: 2px;
  background-color: #fff;
  transition: all 0.3s ease;
  transform-origin: center;
}

/* 修正⑪：ハンバーガーメニューのバツボタン修正 */
.hamburger.active span:nth-child(1) {
  transform: translateY(9px) rotate(45deg);
}

.hamburger.active span:nth-child(2) {
  opacity: 0;
}

.hamburger.active span:nth-child(3) {
  transform: translateY(-9px) rotate(-45deg);
}

/* ===== Mobile Menu ===== */
/* 修正⑪：モバイルメニューの構造をfob-factory.htmlに合わせる */
@media (max-width: 767px) {
  .header-nav {
    display: block;
    position: fixed;
    top: var(--header-height);
    left: 0;
    width: 100%;
    height: calc(100vh - var(--header-height));
    background-color: rgba(0, 0, 0, 0.95);
    transform: translateX(-100%);
    transition: transform 0.3s ease;
    overflow-y: auto;
    z-index: 999;
  }

  .header-nav.active {
    transform: translateX(0);
  }

  .nav-main {
    flex-direction: column;
    padding: var(--spacing-md) 0;
    gap: 0;
  }

  .nav-link {
    width: 100%;
    padding: 1rem var(--spacing-sm);
    font-size: 1rem;
    border-bottom: 1px solid rgba(255, 255, 255, 0.1);
    text-align: center;
  }

  .nav-link:hover {
    background-color: rgba(255, 255, 255, 0.1);
    opacity: 1;
  }

  /* モバイルメニュー内のフッター情報 */
  .nav-footer-info {
    display: block;
    padding: 2rem 1.5rem 3rem;
  }

  .nav-footer-section {
    margin-bottom: 3rem;
    text-align: center;
  }

  .nav-footer-section h4 {
    font-family: var(--font-primary);
    font-size: 0.9rem;
    color: rgba(255, 255, 255, 0.6);
    margin-bottom: 0.8rem;
    font-weight: 500;
    letter-spacing: 0.05em;
  }

  .nav-footer-section a {
    display: block;
    padding: 0.8rem 0;
    font-size: 1rem;
    color: #fff;
    border-bottom: 1px solid rgba(255, 255, 255, 0.1);
    transition: all 0.2s ease;
  }

  .nav-footer-section a:hover {
    color: var(--color-secondary);
    opacity: 1;
  }

  .nav-footer-hours {
    font-size: 1rem;
    color: rgba(255, 255, 255, 0.7);
    padding: 0.8rem 0;
    border-bottom: 1px solid rgba(255, 255, 255, 0.1);
  }

  .nav-footer-social {
    display: flex;
    justify-content: center;
    gap: 1.5rem;
    padding-top: 1.5rem;
    border-top: 1px solid rgba(255, 255, 255, 0.2);
    margin-bottom: 1rem;
  }

  .nav-footer-social a {
    color: #fff;
    transition: all 0.2s ease;
    padding: 0;
    border: none;
  }

  .nav-footer-social a:hover {
    color: var(--color-secondary);
    transform: scale(1.1);
    opacity: 1;
  }

  .nav-footer-logo {
    text-align: center;
    margin-top: 2rem;
    padding-top: 2rem;
    border-top: 1px solid rgba(255, 255, 255, 0.2);
  }

  .nav-footer-logo img {
    height: 32px;
    width: auto;
    margin: 0 auto;
  }
}

/* タブレット・PC時 */
@media (min-width: 768px) {
  .hamburger {
    display: none;
  }

  .header-nav {
    display: flex;
    position: relative;
    top: auto;
    left: auto;
    width: auto;
    height: auto;
    background: transparent;
    transform: translateX(0);
    overflow-y: visible;
  }

  .nav-footer-info {
    display: none;
  }
}

/* ===== Hero Section ===== */
.hero {
  position: relative;
  width: 100%;
  min-height: 80vh;
  display: flex;
  align-items: center;
  justify-content: center;
  overflow: hidden;
}

.hero-image {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  z-index: 1;
}

.hero-image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.hero-content {
  position: relative;
  z-index: 2;
  text-align: center;
  color: #fff;
  text-shadow: 0 2px 8px rgba(0, 0, 0, 0.5);
  max-width: 900px;
  padding: 0 var(--spacing-sm);
}

.hero-title {
  font-family: var(--font-accent); /* 修正② */
  font-size: 3rem;
  font-weight: 700;
  margin-bottom: var(--spacing-sm);
  letter-spacing: 0.1em;
}

.hero-subtitle {
  font-size: 1.25rem;
  margin-bottom: var(--spacing-md);
  letter-spacing: 0.05em;
}

.hero-scroll {
  position: absolute;
  bottom: 40px;
  left: 50%;
  transform: translateX(-50%);
  z-index: 2;
}

.hero-scroll span {
  display: block;
  width: 24px;
  height: 24px;
  border-left: 2px solid #fff;
  border-bottom: 2px solid #fff;
  transform: rotate(-45deg);
  animation: scroll 2s infinite;
}

@keyframes scroll {
  0%, 20%, 50%, 80%, 100% {
    transform: translateY(0) rotate(-45deg);
  }
  40% {
    transform: translateY(10px) rotate(-45deg);
  }
  60% {
    transform: translateY(5px) rotate(-45deg);
  }
}

@media (min-width: 768px) {
  .hero-title {
    font-size: 4rem;
  }
  .hero-subtitle {
    font-size: 1.5rem;
  }
}

/* ===== Intro Text Section ===== */
.intro-text {
  padding: var(--spacing-xl) 0;
  background-color: var(--color-bg-light);
  text-align: center;
}

.intro-text p {
  font-size: 1rem;
  line-height: 1.8;
  max-width: 800px;
  margin: 0 auto;
}

/* ===== Lineup Navigation Section ===== */
/* 修正③：ページ内リンクボタン（参考：manualalphabet-special） */
.lineup-nav {
  padding: var(--spacing-lg) 0;
  background-color: #fff;
}

.lineup-buttons {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 12px;
  margin-top: var(--spacing-md);
  max-width: 900px;
  margin-left: auto;
  margin-right: auto;
}

.lineup-button {
  font-family: 'Oswald', 'Noto Sans JP', sans-serif;
  font-size: 0.95rem;
  font-weight: 500;
  letter-spacing: 0.05em;
  padding: 16px 40px 16px 24px;
  background-color: #fff;
  color: var(--color-primary);
  border: 2px solid var(--color-primary);
  text-align: center;
  transition: all 0.3s ease;
  cursor: pointer;
  text-decoration: none;
  display: flex;
  align-items: center;
  justify-content: center;
  position: relative;
}

.lineup-button::before {
  content: "";
  position: absolute;
  top: calc(50% - 4px);
  right: 16px;
  width: 6px;
  height: 6px;
  border-top: 1px solid #000;
  border-right: 1px solid #000;
  transform: rotate(135deg);
  transition: border-color 0.3s ease;
}

.lineup-button:hover {
  background-color: #000;
  color: #fff;
  opacity: 1;
}

.lineup-button:hover::before {
  border-top-color: #fff;
  border-right-color: #fff;
}

@media (min-width: 768px) {
  .lineup-buttons {
    grid-template-columns: repeat(3, 1fr);
    gap: 20px;
  }
  
  .lineup-button {
    font-size: 1rem;
    padding: 18px 48px 18px 32px;
  }
  
  .lineup-button::before {
    right: 24px;
    width: 7px;
    height: 7px;
  }
}

/* ===== coupon Navigation Section ===== */
/* 修正③：ページ内リンクボタン（参考：manualalphabet-special） */
.coupon-nav {
  padding: var(--spacing-lg) 0;
  background-color: #fffff0;
}

.coupon-buttons {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 12px;
  margin-top: var(--spacing-md);
  max-width: 900px;
  margin-left: auto;
  margin-right: auto;
}

.coupon-button {
  font-family: 'Oswald', 'Noto Sans JP', sans-serif;
  font-size: 0.95rem;
  font-weight: 500;
  letter-spacing: 0.05em;
  padding: 16px 40px 16px 24px;
  background-color: #fff;
  color: var(--color-primary);
  border: 2px solid var(--color-primary);
  text-align: center;
  transition: all 0.3s ease;
  cursor: pointer;
  text-decoration: none;
  display: flex;
  align-items: center;
  justify-content: center;
  position: relative;
}

.coupon-button::before {
  content: "";
  position: absolute;
  top: calc(50% - 4px);
  right: 16px;
  width: 6px;
  height: 6px;
  border-top: 1px solid #fff;
  border-right: 1px solid #fff;
  transform: rotate(135deg);
  transition: border-color 0.3s ease;
}

.coupon-button:hover {
  background-color: #ff6347;
  color: #fff;
  opacity: 1;
}

.coupon-button:hover::before {
  border-top-color: #fff;
  border-right-color: #fff;
}

@media (min-width: 768px) {
  .coupon-buttons {
    grid-template-columns: repeat(3, 1fr);
    gap: 20px;
  }
  
  .coupon-button {
    font-size: 1rem;
    padding: 18px 48px 18px 32px;
  }
  
  .coupon-button::before {
    right: 24px;
    width: 7px;
    height: 7px;
  }
}


/* ===== Products Section ===== */
.products {
  padding: var(--spacing-xl) 0;
  background-color: var(--color-bg-light);
}

/* カテゴリーセクション見出しバナー（参考：manualalphabet-special） */
.category-section {
  margin-bottom: var(--spacing-xl);
}

.category-banner {
  background-color: var(--color-primary);
  color: #fff;
  padding: var(--spacing-md) var(--spacing-sm);
  margin-bottom: var(--spacing-md);
  border: 2px solid var(--color-primary);
}

.category-banner h3 {
  font-family: var(--font-accent);
  font-size: 1.5rem;
  font-weight: 500;
  text-align: center;
  letter-spacing: 0.1em;
  margin: 0;
}

.category-description {
  text-align: center;
  font-size: 0.9rem;
  line-height: 1.8;
  color: var(--color-text-light);
  margin-bottom: var(--spacing-lg);
  padding: 0 var(--spacing-sm);
}

@media (min-width: 768px) {
  .category-banner {
    padding: var(--spacing-sm) var(--spacing-md);
  }
  
  .category-banner h3 {
    font-size: 2rem;
  }
  
  .category-description {
    font-size: 1rem;
  }
}

/* 修正⑥：パターンA - グリッドレイアウト（デフォルト） */
/* 修正③：PC3列・SP2列 */
.products-grid-layout .products-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 10px;
  margin-top: var(--spacing-md);
}

.product-card {
  background: #fff;
  overflow: hidden;
  transition: all 0.3s ease;
  text-align: center;
  display: flex;
  flex-direction: column;
}

.product-card-image {
  width: 100%;
  aspect-ratio: 1/1;
  overflow: hidden;
  background-color: #999999;
  margin-bottom: 16px;
  position: relative;
  display: block;
}

.product-card-image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: opacity 0.3s ease, filter 0.3s ease;
}

.product-card-image:hover img {
  opacity: 0.85;
}

.product-card-content {
  padding: 0 16px 20px;
  display: flex;
  flex-direction: column;
  flex: 1;
}

.product-card-name {
  font-size: 0.95rem;
  font-weight: 700;
  font-family: var(--font-primary) !important;
  margin-bottom: 12px;
  color: var(--color-primary);
  line-height: 1.4;
}

.product-card-description {
  font-size: 0.85rem;
  color: var(--color-text-light);
  line-height: 1.6;
  margin-bottom: 12px;
  text-align: left;
}

.product-card-meta {
  font-size: 0.8rem;
  color: var(--color-text-light);
  margin-top: auto;
  margin-bottom: 0;
  text-align: left;
  border-top: 1px solid var(--color-border);
  padding-top: 12px;
}

.product-card-meta p {
  margin: 4px 0;
  font-size: 0.8rem;
}

.product-card-price {
  font-size: 0.8rem;
  color: var(--color-text-light);
  margin-bottom: 16px;
  text-align: left;
}

.product-card-saleprice {
  font-size: 1.1rem;
  font-weight: 700;
  color: #ff0000;
  margin-bottom: 16px;
  text-align: left;
}


.product-card-button {
  display: inline-block;
  width: 100%;
  padding: 12px 20px;
  background-color: #000;
  color: #fff;
  font-family: var(--font-accent);
  font-size: 0.85rem;
  font-weight: 500;
  letter-spacing: 0.1em;
  text-align: center;
  border: 2px solid #000;
  transition: all 0.3s ease;
  margin-top: auto;
}

.product-card-button:hover {
  background-color: #fff;
  color: #000;
  opacity: 1;
}

@media (min-width: 768px) {
  .products-grid-layout .products-grid {
    grid-template-columns: repeat(3, 1fr);
    gap: 30px;
  }
  
  .product-card-name {
    font-size: 1rem;
  }
  
  .product-card-description {
    font-size: 0.9rem;
  }
  
  .product-card-meta {
    font-size: 0.85rem;
  }
  
  .product-card-meta p {
    font-size: 0.85rem;
  }
  
  .product-card-price {
    font-size: 0.85rem;
  }
  
  .product-card-button {
    font-size: 0.9rem;
    padding: 14px 24px;
  }
}


/* パターンB: スライダーレイアウト */
.products-slider-layout .product-detail {
  background: #fff;
  margin-bottom: var(--spacing-lg);
}

@media (min-width: 768px) {
  .products-slider-layout .product-detail {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: var(--spacing-lg);
  }
}

.product-images {
  position: relative;
}

.image-slider {
  position: relative;
  aspect-ratio: 3/4;
  background-color: #999999;
  overflow: hidden;
}

.slider-track {
  position: relative;
  width: 100%;
  height: 100%;
}

.slider-track img {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  opacity: 0;
  transition: opacity 0.5s ease;
}

.slider-track img.active {
  opacity: 1;
}

.slider-btn {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  width: 40px;
  height: 40px;
  background-color: rgba(0, 0, 0, 0.5);
  color: #fff;
  border: none;
  font-size: 28px;
  cursor: pointer;
  z-index: 10;
  transition: all 0.3s ease;
  display: flex;
  align-items: center;
  justify-content: center;
  line-height: 1;
}

.slider-btn:hover {
  background-color: rgba(0, 0, 0, 0.7);
}

.slider-btn.prev {
  left: 10px;
}

.slider-btn.next {
  right: 10px;
}

.slider-dots {
  display: flex;
  gap: 8px;
  justify-content: center;
  margin-top: 12px;
}

@media (min-width: 768px) {
  .slider-dots {
    position: absolute;
    bottom: 16px;
    left: 50%;
    transform: translateX(-50%);
    margin-top: 0;
    z-index: 20;
  }
}

.dot {
  width: 10px;
  height: 10px;
  border-radius: 50%;
  background-color: #ccc;
  border: 1px solid #999;
  cursor: pointer;
  padding: 0;
  transition: all 0.3s ease;
}

.dot.active {
  background-color: #333;
  border-color: #333;
  width: 28px;
  border-radius: 5px;
}

.product-info {
  padding: var(--spacing-md) 10px;
}

.product-name {
  font-size: 1.5rem;
  font-weight: 700;
  font-family: var(--font-primary) !important;
  margin-bottom: var(--spacing-sm);
}

.product-description {
  color: var(--color-text-light);
  line-height: 1.8;
  margin-bottom: var(--spacing-md);
}

.product-specs {
  margin-bottom: var(--spacing-md);
  padding: var(--spacing-sm);
  background-color: var(--color-bg-light);
  border-radius: 4px;
}

.product-specs p {
  font-size: 0.9rem;
  margin-bottom: 4px;
  color: var(--color-text-light);
}

.btn-item-page {
  display: block;
  width: 100%;
  padding: 16px 24px;
  background-color: #111111;
  color: #fff;
  text-decoration: none;
  text-align: center;
  font-family: var(--font-accent);
  font-weight: 500;
  letter-spacing: 0.1em;
  transition: all 0.3s ease;
  border: 2px solid #111111;
}

.btn-item-page:hover {
  background-color: #fff;
  color: #111111;
}

@media (min-width: 768px) {
  .btn-item-page {
    display: inline-block;
    width: auto;
    padding: 14px 48px;
  }
}

@media (min-width: 768px) {
  .product-name {
    font-size: 1.75rem;
    margin-top: 40px;
  }
  
  .product-info {
    padding: 0;
  }
}

/* ===== FAQ Section ===== */
/* 修正⑧：FAQセクション追加 */
.faq {
  padding: var(--spacing-xl) 0;
  background-color: #fff;
}

.faq-list {
  max-width: 900px;
  margin: 0 auto;
}

.faq-item {
  border-bottom: 1px solid var(--color-border);
  margin-bottom: var(--spacing-sm);
}

.faq-question {
  width: 100%;
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: var(--spacing-sm) 0;
  cursor: pointer;
  background: none;
  border: none;
  text-align: left;
  transition: all 0.3s ease;
}

.faq-question:hover {
  color: var(--color-secondary);
}

.faq-question h3 {
  font-size: 1.1rem;
  font-weight: 600;
  font-family: var(--font-primary);
  flex: 1;
}

.faq-icon {
  font-size: 1.5rem;
  font-weight: 300;
  color: var(--color-secondary);
  transition: transform 0.3s ease;
  margin-left: 16px;
}

.faq-item.active .faq-icon {
  transform: rotate(45deg);
}

.faq-answer {
  max-height: 0;
  overflow: hidden;
  transition: max-height 0.5s ease, padding 0.5s ease;
  padding: 0;
}

.faq-item.active .faq-answer {
  max-height: 500px;
  padding-bottom: var(--spacing-md);
}

.faq-answer p {
  color: var(--color-text-light);
  line-height: 1.8;
}

.faq-answer strong {
  color: var(--color-primary);
  font-weight: 700;
}

.faq-answer a {
  color: #0066cc;
  text-decoration: underline;
  transition: color 0.3s ease;
}

.faq-answer a:hover {
  color: #004499;
  text-decoration: none;
}

/* ===== New Arrival CTA Section ===== */
/* 修正⑨：「全商品を見る」→「NEW ARRIVAL」に変更 */
.new-arrival-cta {
  padding: var(--spacing-xl) 0;
  background-color: var(--color-bg-light);
  text-align: center;
}

.cta-title {
  font-family: var(--font-accent); /* 修正② */
  font-size: 2.5rem;
  font-weight: 700;
  margin-bottom: var(--spacing-sm);
  letter-spacing: 0.1em;
}

.cta-text {
  font-size: 1rem;
  color: var(--color-text-light);
}

/* ===== Buttons ===== */
.btn {
  display: inline-block;
  padding: 14px 32px;
  font-size: 1rem;
  font-weight: 500;
  text-align: center;
  border-radius: 4px;
  transition: all 0.3s ease;
  cursor: pointer;
  border: none;
  text-decoration: none;
}

.btn-primary {
  background-color: #111111;
  color: #fff;
  border: 2px solid #111111;
  font-family: var(--font-accent);
  margin-top: var(--spacing-md);
}

.btn-primary:hover {
  background-color: #fff;
  color: #000;
  opacity: 1;
}

.btn-secondary {
  background-color: transparent;
  color: var(--color-primary);
  border: 2px solid var(--color-primary);
}

.btn-secondary:hover {
  background-color: var(--color-primary);
  color: #fff;
  opacity: 1;
}

.btn-large {
  padding: 18px 48px;
  font-size: 1.125rem;
}

/* モール別ボタン色は削除（全モール共通の黒ボタンに統一） */

/* ===== Footer ===== */
/* 修正⑩：フッター構造変更（ショップ情報・SNS追加） */
.footer {
  background-color: rgba(0, 0, 0, 0.95);
  color: var(--color-text-on-dark);
  padding: var(--spacing-lg) 0 var(--spacing-md);
}

.footer-content {
  display: grid;
  gap: var(--spacing-lg);
  margin-bottom: var(--spacing-xl);
}

.footer-brand {
  text-align: center;
}

.footer-logo-link {
  display: inline-block;
  margin-bottom: var(--spacing-sm);
}

.footer-logo-img {
  height: 40px;
  width: auto;
}

.footer-tagline {
  font-size: 0.9rem;
  color: var(--color-text-light-on-dark);
  line-height: 1.6;
}

.footer-links {
  display: grid;
  grid-template-columns: 1fr;
  gap: var(--spacing-md);
}

.footer-column h4 {
  font-family: var(--font-primary);
  font-size: 0.9rem;
  font-weight: 500;
  margin-bottom: 0.8rem;
  letter-spacing: 0.05em;
  color: rgba(255, 255, 255, 0.6);
  text-align: center; /* SP用中央揃え */
}

.footer-column ul {
  list-style: none;
  text-align: center; /* SP用中央揃え */
}

.footer-column li {
  margin-bottom: 0;
  padding: 0.8rem 0;
  border-bottom: 1px solid rgba(255, 255, 255, 0.1);
}

.footer-column a {
  display: block;
  margin: -0.8rem 0;
  padding: 0.8rem 0;
  color: #fff;
  font-size: 1rem;
  transition: all 0.2s ease;
}

.footer-column a:hover {
  color: var(--color-secondary);
  opacity: 1;
}

.footer-bottom {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: var(--spacing-sm);
  padding-top: var(--spacing-md);
  border-top: 1px solid var(--color-border-dark);
  text-align: center;
}

.footer-copyright {
  font-size: 0.85rem;
  color: var(--color-text-light-on-dark);
}

.footer-social {
  display: flex;
  gap: 16px;
}

.footer-social a {
  color: var(--color-text-on-dark);
  transition: all 0.3s ease;
}

.footer-social a:hover {
  color: var(--color-secondary);
  transform: scale(1.1);
  opacity: 1;
}

@media (min-width: 768px) {
  .footer {
    background-color: rgba(0, 0, 0, 0.95);
  }

  .footer-content {
    grid-template-columns: 1fr 2fr;
    text-align: left;
  }

  .footer-brand {
    text-align: left;
  }

  .footer-links {
    grid-template-columns: repeat(3, 1fr);
  }
  
  .footer-column h4 {
    text-align: left; /* PC・タブレット用左揃え */
  }
  
  .footer-column ul {
    text-align: left; /* PC・タブレット用左揃え */
  }
  
  .footer-column a {
    font-size: 0.9rem; /* PC・タブレット用 */
  }

  .footer-bottom {
    flex-direction: row;
    justify-content: space-between;
  }
}

/* ===== Scroll to Top Button ===== */
.scroll-top {
  position: fixed;
  bottom: 24px;
  right: 24px;
  width: 48px;
  height: 48px;
  background-color: var(--color-primary);
  color: #fff;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  opacity: 0;
  visibility: hidden;
  transition: all 0.3s ease;
  z-index: 900;
  font-size: 24px;
}

.scroll-top.visible {
  opacity: 1;
  visibility: visible;
}

.scroll-top:hover {
  background-color: #555;
  transform: translateY(-4px);
}

/* ===== Responsive Utilities ===== */
.sp-only {
  display: inline;
}

.pc-only {
  display: none;
}

@media (min-width: 768px) {
  .sp-only {
    display: none;
  }
  .pc-only {
    display: inline;
  }
}

/* ===== Loading States ===== */
img[loading="lazy"] {
  opacity: 1;
  transition: opacity 0.3s;
}

img[loading="lazy"].loaded {
  opacity: 1;
}
