/* ============================================
   MEGLAS HOME — 2026 Table Trend LP
   Design: Magazine-style, Natural & Premium
   ============================================ */

/* --- Base Reset & Variables --- */
:root {
  --color-bg: #FAFAF7;
  --color-bg-warm: #F2EDE8;
  --color-bg-deep: #E8E2DB;
  --color-text: #2C2C2C;
  --color-text-sub: #7A7570;
  --color-text-light: #A09A93;
  --color-accent-wood: #5C3D2E;
  --color-accent-green: #4A6741;
  --color-cta: #8B6914;
  --color-cta-hover: #6D5310;
  --color-line: #DDD8D0;
  --color-white: #FFFFFF;
  --color-dark: #1A1A18;
  
  --font-serif: 'Noto Serif JP', 'Cormorant Garamond', serif;
  --font-sans: 'Noto Sans JP', -apple-system, BlinkMacSystemFont, sans-serif;
  --font-en: 'Cormorant Garamond', serif;
  
  --container-max: 1200px;
  --container-narrow: 780px;
  --spacing-section: 140px;
  --spacing-section-sp: 80px;
}

*, *::before, *::after {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

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

body {
  font-family: var(--font-sans);
  color: var(--color-text);
  background: var(--color-bg);
  line-height: 1.9;
  font-weight: 400;
  letter-spacing: 0.04em;
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}

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

a {
  color: inherit;
  text-decoration: none;
  transition: all 0.3s ease;
}

ul { list-style: none; }

.container {
  max-width: var(--container-max);
  margin: 0 auto;
  padding: 0 40px;
}

.container-narrow {
  max-width: var(--container-narrow);
  margin: 0 auto;
  padding: 0 40px;
}

.serif { font-family: var(--font-serif); }

.bg-warm { background: var(--color-bg-warm); }

.sp-only { display: none; }

/* --- Fade In Animation --- */
.fade-in {
  opacity: 0;
  transform: translateY(30px);
  transition: opacity 0.8s ease, transform 0.8s ease;
}

.fade-in.is-visible {
  opacity: 1;
  transform: translateY(0);
}

/* ============================================
   HEADER
   ============================================ */
.site-header {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  z-index: 1000;
  padding: 0 40px;
  transition: background 0.4s ease, box-shadow 0.4s ease;
}

.site-header.scrolled {
  background: rgba(250, 250, 247, 0.95);
  backdrop-filter: blur(10px);
  box-shadow: 0 1px 0 var(--color-line);
}

.header-inner {
  max-width: var(--container-max);
  margin: 0 auto;
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 72px;
}

.brand-logo {
  display: flex;
  align-items: center;
  height: 40px;
}

.brand-logo img {
  height: 36px;
  width: auto;
  transition: opacity 0.4s ease;
}

.brand-logo .logo-black {
  display: block;
}

.brand-logo .logo-white {
  display: none;
}

.site-header:not(.scrolled) .brand-logo .logo-black {
  display: none;
}

.site-header:not(.scrolled) .brand-logo .logo-white {
  display: block;
}


.global-nav.active {
  display: block;
}

.global-nav ul {
  display: flex;
  gap: 28px;
}

.global-nav a {
  font-size: 12px;
  font-weight: 500;
  letter-spacing: 0.08em;
  color: var(--color-text-sub);
  position: relative;
}

.site-header:not(.scrolled) .global-nav a {
  color: rgba(255, 255, 255, 0.8);
}

.global-nav a::after {
  content: '';
  position: absolute;
  bottom: -4px;
  left: 0;
  width: 0;
  height: 1px;
  background: currentColor;
  transition: width 0.3s ease;
}

.global-nav a:hover::after {
  width: 100%;
}

.menu-toggle {
  display: none;
  background: none;
  border: none;
  cursor: pointer;
  width: 28px;
  height: 20px;
  position: relative;
  z-index: 1100;
}

.menu-toggle span {
  display: block;
  width: 100%;
  height: 1.5px;
  background: var(--color-text);
  position: absolute;
  left: 0;
  transition: all 0.3s ease;
}

.menu-toggle span:nth-child(1) { top: 0; }
.menu-toggle span:nth-child(2) { top: 50%; transform: translateY(-50%); }
.menu-toggle span:nth-child(3) { bottom: 0; }

.site-header:not(.scrolled) .menu-toggle span {
  background: var(--color-white);
}

.menu-toggle.active span:nth-child(1) {
  top: 50%;
  transform: translateY(-50%) rotate(45deg);
}

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

.menu-toggle.active span:nth-child(3) {
  bottom: 50%;
  transform: translateY(50%) rotate(-45deg);
}

/* ============================================
   HERO / FIRST VIEW
   ============================================ */
.hero {
  position: relative;
  height: 100vh;
  min-height: 600px;
  display: flex;
  align-items: center;
  justify-content: center;
  overflow: hidden;
}

.hero-bg {
  position: absolute;
  inset: 0;
  z-index: 1;
}

.hero-bg img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.hero-bg::after {
  content: '';
  position: absolute;
  inset: 0;
  background: linear-gradient(
    to bottom,
    rgba(0, 0, 0, 0.15) 0%,
    rgba(0, 0, 0, 0.05) 40%,
    rgba(0, 0, 0, 0.35) 100%
  );
}

.hero-content {
  position: relative;
  z-index: 2;
  text-align: center;
  color: var(--color-white);
  padding: 0 40px;
}

.hero-label {
  font-family: var(--font-en);
  font-size: 13px;
  letter-spacing: 0.2em;
  font-weight: 400;
  opacity: 0.85;
  margin-bottom: 28px;
}

.hero-title {
  font-family: var(--font-serif);
  font-size: clamp(28px, 4.5vw, 52px);
  font-weight: 400;
  line-height: 1.6;
  letter-spacing: 0.08em;
  margin-bottom: 24px;
  text-shadow: 0 2px 20px rgba(0, 0, 0, 0.15);
}

.hero-sub {
  font-size: 15px;
  font-weight: 300;
  letter-spacing: 0.1em;
  opacity: 0.9;
}

.hero-scroll {
  position: absolute;
  bottom: 40px;
  left: 50%;
  transform: translateX(-50%);
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 8px;
  color: var(--color-white);
  opacity: 0.7;
  transition: opacity 0.3s;
  animation: scrollBounce 2s infinite;
}

.hero-scroll span {
  font-family: var(--font-en);
  font-size: 11px;
  letter-spacing: 0.15em;
}

.hero-scroll i {
  font-size: 12px;
}

.hero-scroll:hover { opacity: 1; }

@keyframes scrollBounce {
  0%, 100% { transform: translateX(-50%) translateY(0); }
  50% { transform: translateX(-50%) translateY(6px); }
}

/* ============================================
   INTRODUCTION
   ============================================ */
.introduction {
  padding: var(--spacing-section) 0;
  text-align: center;
}

.section-label {
  font-family: var(--font-en);
  font-size: 12px;
  letter-spacing: 0.25em;
  color: var(--color-accent-green);
  font-weight: 500;
  text-transform: uppercase;
  margin-bottom: 20px;
}

.section-heading {
  font-size: clamp(22px, 3vw, 32px);
  font-weight: 400;
  line-height: 1.7;
  letter-spacing: 0.06em;
  margin-bottom: 48px;
  color: var(--color-text);
}

.section-sub {
  font-size: 15px;
  line-height: 2;
  color: var(--color-text-sub);
  margin-bottom: 60px;
}

.intro-text {
  text-align: left;
  max-width: 640px;
  margin: 0 auto;
}

.intro-text p {
  font-size: 15px;
  line-height: 2.2;
  color: var(--color-text);
  margin-bottom: 24px;
}

.intro-text p:last-child { margin-bottom: 0; }

/* ============================================
   TREND NAV / 4 KEYWORDS
   ============================================ */
.trend-nav {
  padding: var(--spacing-section) 0;
  background: var(--color-bg-warm);
  text-align: center;
}

.keyword-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 24px;
  margin-top: 20px;
}

.keyword-card {
  display: block;
  position: relative;
  overflow: hidden;
  border-radius: 4px;
  background: var(--color-white);
}

.keyword-card-img {
  aspect-ratio: 1;
  overflow: hidden;
}

.keyword-card-img img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.6s ease;
}

.keyword-card:hover .keyword-card-img img {
  transform: scale(1.04);
}

.keyword-card-text {
  padding: 24px 16px;
  text-align: center;
}

.keyword-num {
  font-family: var(--font-en);
  font-size: 11px;
  letter-spacing: 0.2em;
  color: var(--color-text-light);
  display: block;
  margin-bottom: 6px;
}

.keyword-en {
  font-family: var(--font-en);
  font-size: 20px;
  font-weight: 500;
  letter-spacing: 0.08em;
  color: var(--color-accent-wood);
  margin-bottom: 4px;
}

.keyword-ja {
  font-size: 12px;
  color: var(--color-text-sub);
  letter-spacing: 0.1em;
}

/* ============================================
   THEME SECTIONS
   ============================================ */
.theme-section {
  padding: var(--spacing-section) 0;
  scroll-margin-top: 100px;
}

.theme-header {
  text-align: center;
  margin-bottom: 60px;
}

.theme-num {
  font-family: var(--font-en);
  font-size: 60px;
  font-weight: 300;
  color: var(--color-line);
  line-height: 1;
  display: block;
  margin-bottom: 16px;
}

.theme-en {
  font-family: var(--font-en);
  font-size: 14px;
  letter-spacing: 0.25em;
  color: var(--color-accent-green);
  font-weight: 400;
  margin-bottom: 16px;
}

.theme-title {
  font-size: clamp(24px, 3.5vw, 36px);
  font-weight: 400;
  line-height: 1.65;
  letter-spacing: 0.06em;
}

.theme-lead {
  text-align: center;
  margin-bottom: 80px;
}

.theme-lead p {
  font-size: 15px;
  line-height: 2.2;
  color: var(--color-text-sub);
  margin-bottom: 12px;
}

/* --- Editorial Block (Text + Image 2-column) --- */
.editorial-block {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 60px;
  align-items: center;
  margin-bottom: 80px;
}

.editorial-reverse {
  direction: rtl;
}

.editorial-reverse > * {
  direction: ltr;
}

.editorial-img {
  overflow: hidden;
  border-radius: 4px;
}

.editorial-img img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  aspect-ratio: 4/5;
}

.editorial-heading {
  font-family: var(--font-serif);
  font-size: clamp(20px, 2.5vw, 26px);
  font-weight: 400;
  line-height: 1.7;
  margin-bottom: 28px;
  color: var(--color-text);
}

.editorial-text p {
  font-size: 14.5px;
  line-height: 2.1;
  color: var(--color-text);
  margin-bottom: 18px;
}

.editorial-text p:last-child { margin-bottom: 0; }

/* --- Product Slider --- */
.theme-products {
  margin-top: 40px;
}

.products-label {
  font-family: var(--font-en);
  font-size: 12px;
  letter-spacing: 0.2em;
  color: var(--color-text-light);
  text-align: center;
  margin-bottom: 40px;
  position: relative;
}

.products-label::before,
.products-label::after {
  content: '';
  position: absolute;
  top: 50%;
  width: 60px;
  height: 1px;
  background: var(--color-line);
}

.products-label::before { right: calc(50% + 100px); }
.products-label::after { left: calc(50% + 100px); }

/* Slider Container */
.product-slider {
  position: relative;
  padding: 0 40px;
}

.slider-track-wrapper {
  overflow: hidden;
  border-radius: 6px;
  -webkit-overflow-scrolling: touch;
  position: relative;
}

.slider-track {
  display: flex;
  align-items: stretch;
  gap: 24px;
  transition: transform 0.5s cubic-bezier(0.25, 0.46, 0.45, 0.94);
  cursor: grab;
  user-select: none;
  will-change: transform;
}

.slider-track.is-dragging {
  cursor: grabbing;
  transition: none;
}

.slider-track .product-card {
  flex: 0 0 calc((100% - 48px) / 3);
  min-width: 0;
}

.product-card {
  background: var(--color-white);
  border-radius: 6px;
  overflow: hidden;
  transition: box-shadow 0.4s ease, transform 0.4s ease;
  display: flex;
  flex-direction: column;
}

.product-card:hover {
  box-shadow: 0 12px 40px rgba(0, 0, 0, 0.06);
  transform: translateY(-4px);
}

.product-img {
  position: relative;
  aspect-ratio: 4/3;
  overflow: hidden;
}

.product-img img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.6s ease;
}

.product-card:hover .product-img img {
  transform: scale(1.03);
}

.product-badge {
  position: absolute;
  top: 16px;
  left: 16px;
  font-family: var(--font-en);
  font-size: 11px;
  letter-spacing: 0.12em;
  padding: 5px 14px;
  background: var(--color-accent-green);
  color: var(--color-white);
  border-radius: 2px;
}

.product-info {
  padding: 28px 28px 32px;
  display: flex;
  flex-direction: column;
  flex: 1;
}

.product-catch {
  font-size: 13px;
  color: var(--color-text-sub);
  line-height: 1.7;
  margin-bottom: 10px;
  font-style: italic;
}

.product-name {
  font-size: 17px;
  font-weight: 500;
  letter-spacing: 0.04em;
  margin-bottom: 8px;
}

.product-price {
  font-family: var(--font-en);
  font-size: 22px;
  font-weight: 500;
  color: var(--color-accent-wood);
  margin-bottom: 18px;
}

.product-price .tax {
  font-family: var(--font-sans);
  font-size: 12px;
  font-weight: 400;
  color: var(--color-text-sub);
}

.product-points {
  margin-bottom: 18px;
}

.product-points li {
  font-size: 13.5px;
  line-height: 1.8;
  color: var(--color-text);
  padding-left: 18px;
  position: relative;
  margin-bottom: 4px;
}

.product-points li::before {
  content: '';
  position: absolute;
  left: 0;
  top: 10px;
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: var(--color-accent-green);
  opacity: 0.5;
}

.product-spec {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  margin-bottom: 20px;
  padding-top: 16px;
  border-top: 1px solid var(--color-line);
}

.product-spec span {
  font-size: 12px;
  color: var(--color-text-sub);
}

.product-spec i {
  color: var(--color-accent-green);
  margin-right: 4px;
  font-size: 11px;
}

.product-cta {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-size: 13px;
  font-weight: 500;
  color: var(--color-accent-wood);
  letter-spacing: 0.04em;
  padding: 10px 0;
  border-bottom: 1px solid transparent;
  transition: border-color 0.3s ease;
  margin-top: auto;
}

.product-cta:hover {
  border-bottom-color: var(--color-accent-wood);
}

.product-cta i {
  font-size: 11px;
  transition: transform 0.3s ease;
}

.product-cta:hover i {
  transform: translateX(4px);
}

/* Slider Arrow Navigation */
.slider-arrow {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  z-index: 10;
  width: 48px;
  height: 48px;
  border-radius: 50%;
  border: 1px solid var(--color-line);
  background: rgba(255, 255, 255, 0.92);
  color: var(--color-text);
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 15px;
  transition: all 0.3s ease;
  box-shadow: 0 2px 12px rgba(0, 0, 0, 0.06);
  backdrop-filter: blur(6px);
}

.slider-arrow:hover {
  background: var(--color-accent-wood);
  border-color: var(--color-accent-wood);
  color: var(--color-white);
  box-shadow: 0 4px 20px rgba(92, 61, 46, 0.2);
}

.slider-arrow:disabled {
  opacity: 0.25;
  cursor: default;
  pointer-events: none;
}

.slider-prev { left: -6px; }
.slider-next { right: -6px; }

/* Slider Indicators */
.slider-indicators {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  margin-top: 28px;
}

.slider-dot {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: var(--color-line);
  border: none;
  padding: 0;
  cursor: pointer;
  transition: all 0.3s ease;
}

.slider-dot.active {
  background: var(--color-accent-wood);
  width: 24px;
  border-radius: 4px;
}

/* Theme CTA */
.theme-cta-wrap {
  text-align: center;
  margin-top: 56px;
}

.theme-cta-link {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  font-size: 14px;
  font-weight: 500;
  color: var(--color-accent-wood);
  letter-spacing: 0.06em;
  padding: 14px 36px;
  border: 1px solid var(--color-accent-wood);
  border-radius: 2px;
  transition: all 0.3s ease;
}

.theme-cta-link:hover {
  background: var(--color-accent-wood);
  color: var(--color-white);
}

.theme-cta-link i {
  font-size: 12px;
  transition: transform 0.3s ease;
}

.theme-cta-link:hover i {
  transform: translateX(4px);
}

/* ============================================
   COORDINATE SECTION
   ============================================ */
.coordinate-section {
  padding: var(--spacing-section) 0;
  background: var(--color-bg-warm);
  text-align: center;
}

.coord-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 32px;
  text-align: left;
}

.coord-card {
  background: var(--color-white);
  border-radius: 6px;
  overflow: hidden;
  transition: box-shadow 0.4s ease;
}

.coord-card:hover {
  box-shadow: 0 12px 40px rgba(0, 0, 0, 0.06);
}

.coord-img {
  position: relative;
  aspect-ratio: 4/3;
  overflow: hidden;
}

.coord-img img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.6s ease;
}

.coord-card:hover .coord-img img {
  transform: scale(1.03);
}

.coord-overlay {
  position: absolute;
  bottom: 0;
  left: 0;
  right: 0;
  padding: 20px;
  background: linear-gradient(to top, rgba(0, 0, 0, 0.45), transparent);
}

.coord-style-num {
  font-family: var(--font-en);
  font-size: 13px;
  letter-spacing: 0.15em;
  color: var(--color-white);
  font-weight: 400;
}

.coord-text {
  padding: 28px 24px 32px;
}

.coord-title {
  font-family: var(--font-serif);
  font-size: 16px;
  font-weight: 400;
  line-height: 1.7;
  margin-bottom: 12px;
}

.coord-table {
  font-size: 12px;
  color: var(--color-accent-wood);
  margin-bottom: 16px;
  padding-bottom: 16px;
  border-bottom: 1px solid var(--color-line);
}

.coord-detail p {
  font-size: 13.5px;
  line-height: 1.9;
  color: var(--color-text-sub);
  margin-bottom: 14px;
}

.coord-detail ul {
  display: flex;
  flex-wrap: wrap;
  gap: 6px;
}

.coord-detail li {
  font-size: 11.5px;
  color: var(--color-text-sub);
  background: var(--color-bg);
  padding: 4px 12px;
  border-radius: 20px;
}

/* ============================================
   WHY MEGLAS HOME
   ============================================ */
.why-section {
  padding: var(--spacing-section) 0;
  text-align: center;
}

.why-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 40px;
  text-align: center;
}

.why-icon {
  width: 56px;
  height: 56px;
  border-radius: 50%;
  background: var(--color-bg-warm);
  display: flex;
  align-items: center;
  justify-content: center;
  margin: 0 auto 18px;
}

.why-icon i {
  font-size: 20px;
  color: var(--color-accent-green);
}

.why-item h3 {
  font-size: 15px;
  font-weight: 500;
  margin-bottom: 12px;
  letter-spacing: 0.04em;
}

.why-item p {
  font-size: 13px;
  line-height: 1.9;
  color: var(--color-text-sub);
}

/* ============================================
   FAQ
   ============================================ */
.faq-section {
  padding: var(--spacing-section) 0;
  background: var(--color-bg-warm);
  text-align: center;
}

.faq-list {
  text-align: left;
  max-width: 700px;
  margin: 0 auto;
}

.faq-item {
  border-bottom: 1px solid var(--color-line);
}

.faq-item:first-child {
  border-top: 1px solid var(--color-line);
}

.faq-question {
  width: 100%;
  background: none;
  border: none;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 24px 0;
  font-family: var(--font-sans);
  font-size: 14.5px;
  font-weight: 500;
  color: var(--color-text);
  letter-spacing: 0.03em;
  line-height: 1.7;
  text-align: left;
  gap: 20px;
}

.faq-question i {
  font-size: 14px;
  color: var(--color-text-light);
  transition: transform 0.3s ease;
  flex-shrink: 0;
}

.faq-question.active i {
  transform: rotate(45deg);
}

.faq-answer {
  max-height: 0;
  overflow: hidden;
  transition: max-height 0.4s ease, padding 0.4s ease;
}

.faq-answer p {
  font-size: 14px;
  line-height: 2;
  color: var(--color-text-sub);
  padding-bottom: 24px;
}

/* ============================================
   FINAL CTA
   ============================================ */
.final-cta {
  padding: var(--spacing-section) 0;
  background: var(--color-dark);
  text-align: center;
  color: var(--color-white);
}

.cta-label {
  font-family: var(--font-en);
  font-size: 12px;
  letter-spacing: 0.2em;
  opacity: 0.5;
  margin-bottom: 24px;
}

.cta-heading {
  font-size: clamp(22px, 3vw, 30px);
  font-weight: 400;
  line-height: 1.7;
  letter-spacing: 0.06em;
  margin-bottom: 20px;
}

.cta-sub {
  font-size: 14px;
  opacity: 0.7;
  margin-bottom: 40px;
}

.cta-sub strong {
  color: #D4A843;
  font-weight: 600;
}

.cta-buttons {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 16px;
}

.btn-primary {
  display: inline-block;
  padding: 16px 48px;
  font-size: 14px;
  font-weight: 500;
  letter-spacing: 0.08em;
  background: var(--color-cta);
  color: var(--color-white);
  border-radius: 2px;
  transition: background 0.3s ease, transform 0.3s ease;
}

.btn-primary:hover {
  background: var(--color-cta-hover);
  transform: translateY(-2px);
}

.btn-secondary {
  display: inline-block;
  font-size: 13px;
  color: rgba(255, 255, 255, 0.6);
  letter-spacing: 0.06em;
  border-bottom: 1px solid rgba(255, 255, 255, 0.2);
  padding-bottom: 2px;
  transition: color 0.3s, border-color 0.3s;
}

.btn-secondary:hover {
  color: rgba(255, 255, 255, 0.9);
  border-color: rgba(255, 255, 255, 0.5);
}

/* ============================================
   FOOTER
   ============================================ */
.site-footer {
  background: var(--color-dark);
  color: rgba(255, 255, 255, 0.6);
  padding: 60px 0 30px;
}

.footer-top {
  display: flex;
  justify-content: space-between;
  padding-bottom: 40px;
  border-bottom: 1px solid rgba(255, 255, 255, 0.08);
}

.footer-logo {
  display: block;
  margin-bottom: 16px;
}

.footer-logo img {
  height: 32px;
  width: auto;
}

.footer-tagline {
  font-size: 12px;
  opacity: 0.5;
}

.footer-links {
  display: flex;
  gap: 60px;
}

.footer-col h4 {
  font-family: var(--font-en);
  font-size: 13px;
  font-weight: 500;
  color: var(--color-white);
  letter-spacing: 0.1em;
  margin-bottom: 16px;
}

.footer-col li {
  margin-bottom: 10px;
}

.footer-col a {
  font-size: 12.5px;
  opacity: 0.6;
  transition: opacity 0.3s;
}

.footer-col a:hover { opacity: 1; }

.footer-social {
  display: flex;
  gap: 16px;
}

.footer-social a {
  font-size: 18px;
  opacity: 0.5;
  transition: opacity 0.3s, transform 0.3s;
}

.footer-social a:hover {
  opacity: 1;
  transform: translateY(-2px);
}

.footer-bottom {
  padding-top: 24px;
  text-align: center;
}

.footer-bottom p {
  font-size: 11px;
  opacity: 0.3;
}

/* ============================================
   BACK TO TOP BUTTON
   ============================================ */
.back-to-top {
  position: fixed;
  bottom: 32px;
  right: 32px;
  z-index: 900;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 3px;
  width: 52px;
  height: 52px;
  border: none;
  border-radius: 50%;
  background: var(--color-accent-wood);
  color: var(--color-white);
  cursor: pointer;
  opacity: 0;
  visibility: hidden;
  transform: translateY(16px);
  transition: opacity 0.4s ease, visibility 0.4s ease, transform 0.4s ease, background 0.3s ease, box-shadow 0.3s ease;
  box-shadow: 0 4px 16px rgba(92, 61, 46, 0.2);
}

.back-to-top.is-visible {
  opacity: 1;
  visibility: visible;
  transform: translateY(0);
}

.back-to-top:hover {
  background: var(--color-accent-green);
  box-shadow: 0 6px 24px rgba(74, 103, 65, 0.3);
  transform: translateY(-2px);
}

.back-to-top i {
  font-size: 14px;
  line-height: 1;
}

.back-to-top span {
  font-family: var(--font-en);
  font-size: 9px;
  letter-spacing: 0.08em;
  font-weight: 500;
  line-height: 1;
}

/* ============================================
   RESPONSIVE — Tablet
   ============================================ */
@media (max-width: 1024px) {
  .keyword-grid {
    grid-template-columns: repeat(2, 1fr);
  }

  .why-grid {
    grid-template-columns: repeat(2, 1fr);
    gap: 32px;
  }

  .coord-grid {
    grid-template-columns: 1fr;
    max-width: 600px;
    margin: 0 auto;
  }

  .footer-links {
    gap: 40px;
  }

  /* Product Slider — Tablet: 2 cards visible */
  .slider-track .product-card {
    flex: 0 0 calc((100% - 24px) / 2);
  }

  .product-slider {
    padding: 0 32px;
  }

  .slider-prev { left: -8px; }
  .slider-next { right: -8px; }
}

/* ============================================
   RESPONSIVE — Mobile
   ============================================ */
@media (max-width: 768px) {
  :root {
    --spacing-section: 80px;
  }

  .sp-only { display: inline; }

  .container,
  .container-narrow {
    padding: 0 24px;
  }

  .site-header {
    padding: 0 20px;
  }

  .header-inner {
    height: 60px;
  }

  .brand-logo img {
    height: 28px;
  }

  .global-nav {
    position: fixed;
    top: 0;
    right: -100%;
    width: 280px;
    height: 100vh;
    background: var(--color-bg);
    padding: 80px 32px 40px;
    transition: right 0.4s ease;
    z-index: 1050;
    box-shadow: -4px 0 20px rgba(0, 0, 0, 0.08);
  }

  .global-nav.open {
    right: 0;
  }

  .global-nav ul {
    flex-direction: column;
    gap: 0;
  }

  .global-nav a {
    display: block;
    padding: 16px 0;
    font-size: 14px;
    color: var(--color-text) !important;
    border-bottom: 1px solid var(--color-line);
  }

  .menu-toggle {
    display: block;
  }

  /* Overlay */
  .nav-overlay {
    position: fixed;
    inset: 0;
    background: rgba(0, 0, 0, 0.3);
    z-index: 1040;
    opacity: 0;
    pointer-events: none;
    transition: opacity 0.3s;
  }

  .nav-overlay.active {
    opacity: 1;
    pointer-events: auto;
  }

  /* Hero */
  .hero {
    min-height: 100svh;
  }

  .hero-title {
    font-size: 26px;
  }

  .hero-sub {
    font-size: 13px;
  }

  /* Editorial */
  .editorial-block {
    grid-template-columns: 1fr;
    gap: 32px;
  }

  .editorial-reverse {
    direction: ltr;
  }

  .editorial-img img {
    aspect-ratio: 16/10;
  }

  /* Product Slider — SP */
  .product-slider {
    padding: 0 0;
  }

  .slider-track .product-card {
    flex: 0 0 82%;
  }

  .slider-arrow {
    width: 36px;
    height: 36px;
    font-size: 12px;
  }

  .slider-prev { left: 4px; }
  .slider-next { right: 4px; }

  .product-info {
    padding: 22px 22px 28px;
  }

  /* Keyword */
  .keyword-grid {
    grid-template-columns: repeat(2, 1fr);
    gap: 16px;
  }

  .keyword-card-text {
    padding: 16px 12px;
  }

  .keyword-en {
    font-size: 16px;
  }

  /* Why */
  .why-grid {
    grid-template-columns: 1fr;
    gap: 40px;
    max-width: 400px;
    margin: 0 auto;
  }

  /* Coord */
  .coord-grid {
    grid-template-columns: 1fr;
  }

  /* FAQ */
  .faq-question {
    font-size: 13.5px;
    padding: 20px 0;
  }

  /* Footer */
  .footer-top {
    flex-direction: column;
    gap: 36px;
  }

  .footer-links {
    flex-direction: column;
    gap: 28px;
  }

  /* Theme */
  .theme-num {
    font-size: 44px;
  }

  .section-heading {
    font-size: 22px;
  }

  .theme-title {
    font-size: 22px;
  }

  /* CTA */
  .btn-primary {
    padding: 14px 36px;
    font-size: 13px;
  }

  .products-label::before,
  .products-label::after {
    width: 30px;
  }

  .products-label::before { right: calc(50% + 80px); }
  .products-label::after { left: calc(50% + 80px); }

  /* Back to Top — SP */
  .back-to-top {
    bottom: 20px;
    right: 20px;
    width: 46px;
    height: 46px;
  }

  .back-to-top i {
    font-size: 13px;
  }

  .back-to-top span {
    font-size: 8px;
  }
}

@media (max-width: 480px) {
  .keyword-grid {
    grid-template-columns: repeat(2, 1fr);
    gap: 12px;
  }

  .keyword-en {
    font-size: 14px;
  }

  .keyword-ja {
    font-size: 11px;
  }

  .product-spec {
    flex-direction: column;
    gap: 6px;
  }
}
