/* ============================================
   TAKUBOX 製品詳細ページ
   白基調 — BALMUDA製品ページインスパイア
   ============================================ */

:root {
  --black: #000000;
  --dark: #1a1a1a;
  --text: #333333;
  --text-light: #777777;
  --text-muted: #aaaaaa;
  --white: #ffffff;
  --bg: #fafafa;
  --gray-bg: #f2f2f2;
  --border: #e5e5e5;
  --accent: #E8945A;
  --transition: 0.3s ease;
}

* { margin: 0; padding: 0; box-sizing: border-box; }
html { scroll-behavior: smooth; }

body {
  font-family: 'Noto Sans JP', -apple-system, sans-serif;
  color: var(--text);
  background: var(--white);
  line-height: 2;
  font-weight: 300;
  -webkit-font-smoothing: antialiased;
}

a { color: inherit; text-decoration: none; }

.container {
  max-width: 960px;
  margin: 0 auto;
  padding: 0 40px;
}

/* ======== Header（白基調） ======== */
.header {
  position: fixed;
  top: 0; left: 0; right: 0;
  z-index: 1000;
  background: rgba(255, 255, 255, 0.96);
  backdrop-filter: blur(20px);
  -webkit-backdrop-filter: blur(20px);
  border-bottom: 1px solid transparent;
  transition: border-color var(--transition);
}

.header.scrolled {
  border-bottom-color: var(--border);
}

.header-inner {
  max-width: 960px;
  margin: 0 auto;
  padding: 0 40px;
  height: 80px;
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.logo-img {
  height: 64px;
  width: auto;
  display: block;
}

.nav {
  display: flex;
  gap: 36px;
}

.nav a {
  font-size: 18px;
  font-weight: 400;
  letter-spacing: 1.5px;
  color: var(--text-light);
  transition: color var(--transition);
}

.nav a:hover { color: var(--black); }

.nav-toggle {
  display: none;
  flex-direction: column;
  gap: 8px;
  background: none;
  border: none;
  cursor: pointer;
  padding: 8px 0;
}

.nav-toggle span {
  display: block;
  width: 20px;
  height: 1px;
  background: var(--black);
}

/* ======== Hero ======== */
.hero {
  margin-top: 80px;
  background: var(--bg);
}

.hero-visual {
  padding: 0;
}

.hero-img {
  width: 100%;
  height: auto;
  display: block;
  animation: fadeIn 1s ease forwards;
}

@keyframes fadeIn {
  from { opacity: 0; }
  to { opacity: 1; }
}

.hero-text {
  text-align: center;
  padding: 48px 40px 80px;
}

.hero-text h1 {
  font-size: 32px;
  font-weight: 300;
  letter-spacing: 0.1em;
  line-height: 1.8;
  color: var(--dark);
  margin-bottom: 12px;
}

.hero-text p {
  font-size: 12px;
  letter-spacing: 2px;
  color: var(--text-muted);
}

/* ======== Intro ======== */
.intro {
  padding: 100px 0;
  background: var(--white);
}

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

.intro-lead {
  font-size: 20px;
  font-weight: 300;
  line-height: 2;
  letter-spacing: 0.08em;
  color: var(--dark);
  margin-bottom: 32px;
}

.intro-body {
  font-size: 13px;
  color: var(--text-light);
  line-height: 2.4;
}

/* ======== Section Common ======== */
.section {
  padding: 100px 0;
}

.section-gray {
  background: var(--gray-bg);
}

.section-headline {
  text-align: center;
  font-size: 13px;
  font-weight: 400;
  letter-spacing: 3px;
  color: var(--text-muted);
  margin-bottom: 12px;
}

.section-sub {
  text-align: center;
  font-size: 20px;
  font-weight: 300;
  color: var(--dark);
  letter-spacing: 0.08em;
  margin-bottom: 64px;
}

/* ======== Feature Blocks ======== */
.feature-block {
  display: flex;
  align-items: center;
  gap: 64px;
  margin-bottom: 100px;
}

.feature-block:last-child {
  margin-bottom: 0;
}

.feature-block.reverse {
  flex-direction: row-reverse;
}

.feature-text {
  flex: 1;
}

.feature-label {
  display: inline-block;
  font-size: 10px;
  font-weight: 400;
  letter-spacing: 2px;
  color: var(--text-muted);
  border: 1px solid var(--border);
  padding: 3px 12px;
  border-radius: 2px;
  margin-bottom: 20px;
}

.feature-text h2 {
  font-size: 24px;
  font-weight: 300;
  line-height: 1.8;
  letter-spacing: 0.05em;
  color: var(--dark);
  margin-bottom: 20px;
}

.feature-text p {
  font-size: 13px;
  color: var(--text-light);
  line-height: 2.4;
}

.feature-image {
  flex: 1;
}

.feature-image img {
  width: 100%;
  height: auto;
  border-radius: 4px;
}


/* ======== Timeline ======== */
.timeline {
  max-width: 640px;
  margin: 0 auto;
}

.timeline-item {
  display: flex;
  gap: 32px;
  padding: 32px 0;
  border-bottom: 1px solid var(--border);
}

.timeline-item:last-child {
  border-bottom: none;
}

.timeline-time {
  font-size: 14px;
  font-weight: 400;
  letter-spacing: 2px;
  color: var(--text-muted);
  min-width: 60px;
  padding-top: 2px;
}

.timeline-content h3 {
  font-size: 15px;
  font-weight: 400;
  color: var(--dark);
  margin-bottom: 8px;
  letter-spacing: 0.05em;
}

.timeline-content p {
  font-size: 13px;
  color: var(--text-light);
  line-height: 2.2;
}

/* ======== Spec ======== */
.spec-table-wrapper {
  max-width: 640px;
  margin: 48px auto 0;
}

.spec-table {
  width: 100%;
  border-collapse: collapse;
}

.spec-table tr {
  border-bottom: 1px solid var(--border);
}

.spec-table tr:last-child { border-bottom: none; }

.spec-table th,
.spec-table td {
  padding: 18px 0;
  font-size: 13px;
  font-weight: 300;
  text-align: left;
  vertical-align: top;
}

.spec-table th {
  width: 120px;
  color: var(--text-muted);
  font-weight: 400;
  letter-spacing: 1px;
  font-size: 11px;
}

.spec-table td {
  color: var(--text);
}

.spec-cta {
  text-align: center;
  margin-top: 80px;
}

.btn {
  display: inline-block;
  padding: 16px 48px;
  font-size: 12px;
  font-weight: 400;
  letter-spacing: 2px;
  color: var(--white);
  background: var(--black);
  border: 1px solid var(--black);
  transition: all var(--transition);
  cursor: pointer;
}

.btn:hover {
  background: transparent;
  color: var(--black);
}

/* ======== Footer ======== */
.footer {
  border-top: 1px solid var(--border);
  padding: 64px 0 40px;
  background: var(--white);
}

.footer-top {
  display: flex;
  gap: 80px;
  margin-bottom: 64px;
}

.footer-col h4 {
  font-size: 11px;
  font-weight: 400;
  letter-spacing: 2px;
  color: var(--text-muted);
  margin-bottom: 16px;
}

.footer-col ul { list-style: none; }

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

.footer-col a {
  font-size: 12px;
  color: var(--text-light);
  transition: color var(--transition);
}

.footer-col a:hover { color: var(--black); }

.footer-bottom {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding-top: 32px;
  border-top: 1px solid var(--border);
}

.footer-logo-img {
  height: 14px;
  width: auto;
  opacity: 0.3;
}

.footer-bottom p {
  font-size: 10px;
  color: var(--text-muted);
  letter-spacing: 0.5px;
}

/* ======== Scroll Animation ======== */
.fade-up {
  opacity: 0;
  transform: translateY(24px);
  transition: opacity 0.8s ease, transform 0.8s ease;
}

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

/* ======== Responsive ======== */
@media (max-width: 768px) {
  .container { padding: 0 24px; }
  .header-inner { padding: 0 24px; height: 56px; }

  .nav {
    display: none;
    position: fixed;
    top: 56px; left: 0; right: 0; bottom: 0;
    background: rgba(255, 255, 255, 0.98);
    backdrop-filter: blur(20px);
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 32px;
  }

  .nav.active { display: flex; }
  .nav.active a { font-size: 14px; }
  .nav-toggle { display: flex; }

  .hero { margin-top: 56px; }
  .hero-text { padding: 32px 24px 60px; }
  .hero-text h1 { font-size: 24px; }

  .intro { padding: 64px 0; }
  .intro-lead { font-size: 17px; }

  .section { padding: 64px 0; }

  .feature-block,
  .feature-block.reverse {
    flex-direction: column;
    gap: 32px;
  }


  .feature-text h2 { font-size: 20px; }

  .timeline-item {
    flex-direction: column;
    gap: 8px;
  }

  .timeline-time { min-width: auto; }

  .spec-table th,
  .spec-table td {
    display: block;
    width: 100%;
    padding: 0;
  }
  .spec-table th { padding-top: 16px; padding-bottom: 2px; }
  .spec-table td { padding-bottom: 16px; }

  .footer-top { flex-direction: column; gap: 32px; }
  .footer-bottom { flex-direction: column; gap: 12px; text-align: center; }
  .footer { padding-bottom: 80px !important; }

  .section-sub { font-size: 17px; }

  .cta-pc { display: none !important; }
  .cta-sp { display: inline !important; }

  .site-fixed-cta-link {
    font-size: 13px;
    padding: 12px 16px;
    letter-spacing: 0.5px;
  }
}

/* ======== Buy Product ======== */
.buy-product {
  padding: 100px 0 120px;
  background: #fafafa;
  border-top: 1px solid #eee;
}

.buy-inner {
  display: flex;
  align-items: center;
  gap: 60px;
}

.buy-image {
  flex: 0 0 52%;
}

.buy-image img {
  width: 100%;
  height: auto;
  display: block;
}

.buy-detail {
  flex: 1;
}

.buy-name {
  font-size: 24px;
  font-weight: 400;
  letter-spacing: 4px;
  color: #111;
  margin-bottom: 20px;
}

.buy-text {
  font-size: 13px;
  color: #555;
  line-height: 2;
  margin-bottom: 32px;
}

.buy-pricing {
  margin-bottom: 28px;
}

.buy-original {
  margin-bottom: 12px;
}

.buy-strike {
  font-size: 32px;
  color: #333;
  font-weight: 300;
  letter-spacing: 1px;
}

.buy-yen {
  font-size: 14px;
  color: #333;
  margin-left: 2px;
}

.buy-campaign-label {
  display: inline-block;
  background: #c0392b;
  color: #fff;
  font-size: 11px;
  font-weight: 500;
  letter-spacing: 2px;
  padding: 4px 16px;
  margin-bottom: 10px;
}

.buy-free {
  line-height: 1;
}

.buy-free-num {
  font-size: 28px;
  font-weight: 400;
  color: #333;
  letter-spacing: -1px;
}

.buy-free-yen {
  font-size: 14px;
  color: #333;
  font-weight: 400;
  margin-left: 2px;
}

.buy-action {
  margin-bottom: 16px;
}

.buy-btn {
  display: inline-block;
  padding: 10px 40px;
  background: #111;
  color: #fff;
  font-size: 13px;
  font-weight: 400;
  letter-spacing: 2px;
  text-decoration: none;
  border: none;
  transition: opacity 0.3s ease;
}

.buy-btn:hover {
  opacity: 0.7;
}

.buy-note {
  font-size: 11px;
  color: #999;
  line-height: 1.8;
}

@media (max-width: 768px) {
  .buy-product {
    padding: 64px 0 96px;
  }

  .buy-inner {
    flex-direction: column;
    gap: 40px;
  }

  .buy-image {
    flex: none;
    width: 100%;
  }

  .buy-name {
    font-size: 20px;
  }

  .buy-strike {
    font-size: 26px;
  }

  .buy-free-num {
    font-size: 24px;
  }
}

/* ======== Fixed CTA (product page) ======== */
.site-fixed-cta {
  position: fixed;
  bottom: 0;
  left: 0;
  right: 0;
  z-index: 999;
  background: #000;
  backdrop-filter: blur(16px);
  -webkit-backdrop-filter: blur(16px);
  border-top: 1px solid rgba(255, 255, 255, 0.08);
  padding: 12px 24px;
  padding-bottom: calc(12px + env(safe-area-inset-bottom));
  transform: translateY(100%);
  transition: transform 0.4s ease;
}

.site-fixed-cta.visible {
  transform: translateY(0);
}

.site-fixed-cta-link {
  display: block;
  max-width: 560px;
  margin: 0 auto;
  text-align: center;
  padding: 12px 32px;
  border: 1px solid rgba(255, 255, 255, 0.25);
  border-radius: 2px;
  color: #fff;
  font-size: 14px;
  font-weight: 400;
  letter-spacing: 1.5px;
  transition: background 0.3s ease, border-color 0.3s ease;
}

.cta-sp { display: none; }

.site-fixed-cta-link:hover {
  background: rgba(255, 255, 255, 0.06);
  border-color: rgba(255, 255, 255, 0.4);
}
