/* ========================================
   CSS Custom Properties
======================================== */
:root {
  --font-en-condensed: 'Barlow Condensed', sans-serif;
  --font-ja-bold: 'M PLUS 1p', sans-serif;

  --color-black: #000000;
  --color-white: #ffffff;
  --color-dark-bg: #252525;
  --color-dark-bg-2: #444444;
  --color-gray-light: #f5f5f5;
  --color-gray-border: #e0e0e0;
  --color-text: #333333;
  --color-text-light: #666666;

  --header-height: 60px;
  --content-max-width: 1100px;
  --base-font-size-pc: 20px;
  --base-font-size-sp: 16px;
  --base-line-height: 1.5;
  --section-title-font-size: 80px;
  --font-weight-bold:800;
}

/* ========================================
   Reset & Base
======================================== */
*, *::before, *::after {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  font-family: var(--font-ja-bold);
  font-weight: 500;
  color: var(--color-text);
  background: var(--color-black);
  line-height: 1.8;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  font-size: var(--base-font-size-sp);
}

div {
  font-size: inherit;
}

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

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

ul {
  list-style: none;
}

.bold {
  font-weight: var(--font-weight-bold);
}
/* ========================================
   Header
======================================== */
.site-header {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  z-index: 100;
  background: var(--color-black);
  height: var(--header-height);
}

.header-inner {
  max-width: var(--content-max-width);
  margin: 0 auto;
  height: 100%;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 0 20px;
  position: relative;
}

.header-logo {
  display: flex;
  align-items: center;
}

.header-logo img {
  height: 28px;
  width: auto;
}

/* Hamburger Menu Button */
.hamburger {
  position: absolute;
  right: 20px;
  top: 50%;
  transform: translateY(-50%);
  background: none;
  border: none;
  cursor: pointer;
  width: 28px;
  height: 20px;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  z-index: 101;
}

.hamburger span {
  display: block;
  width: 100%;
  height: 1.5px;
  background: var(--color-white);
  transition: transform 0.3s ease, opacity 0.3s ease;
}

.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);
}

/* Desktop Navigation */
.main-nav {
  display: none;
}

.main-nav ul {
  display: flex;
  gap: 20px;
  align-items: center;
}

.main-nav a {
  font-family: var(--font-en-condensed);
  font-weight: 500;
  font-size: 18px;
  color: var(--color-white);
  letter-spacing: 0.05em;
  transition: opacity 0.3s ease;
}

.main-nav a:hover {
  opacity: 0.6;
}

/* Mobile Navigation Overlay */
.mobile-nav {
  position: fixed;
  top: var(--header-height);
  left: 0;
  width: 100%;
  height: calc(100vh - var(--header-height));
  height: calc(100dvh - var(--header-height));
  background: var(--color-black);
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 36px;
  transform: translateX(100%);
  transition: transform 0.4s ease;
  z-index: 99;
}

.mobile-nav.active {
  transform: translateX(0);
}

.mobile-nav a {
  font-family: var(--font-en-condensed);
  font-weight: 500;
  font-size: 18px;
  color: var(--color-white);
  letter-spacing: 0.15em;
  transition: opacity 0.3s ease;
}

.mobile-nav a:hover {
  opacity: 0.6;
}

/* ========================================
   Section Common Styles
======================================== */
.section {
  padding: 50px 20px;
  border-top: 1px solid var(--color-gray-border);
  scroll-margin-top: var(--header-height);
  background-color: var(--color-white);
}

.section-title {
  font-family: var(--font-en-condensed);
  font-weight: 500;
  font-size: 48px;
  line-height: 0.8;
  margin-bottom: 28px;
  color: var(--color-black);
}

.section-subtitle {
  font-family: var(--font-ja-bold);
  font-weight: 800;
  font-size: 40px;
  margin-bottom: 40px;
  line-height: 1.6;
}

.section-text {
  line-height: 2;
  color: var(--color-text-light);
}

.section-text p + p {
  margin-top: 1em;
}

/* ========================================
   Dark Section Modifier
======================================== */
.section--dark {
  background: var(--color-dark-bg);
  color: var(--color-white);
  border-top-color: transparent;
}

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

.section--dark .section-text,
.section--dark .contact-info,
.section--dark .contact-info a,
.section--dark .partners-list,
.section--dark .store-list,
.section--dark .store-list a,
.section--dark .store-note,
.section--dark .sns-list a {
  color: rgba(255, 255, 255, 1);
}

.section--dark-2 {
  background: var(--color-dark-bg-2);
  color: var(--color-white);
  border-top-color: transparent;
}

.section--dark-2 .section-title {
  color: var(--color-white);
}

.section--dark-2 .contact-info,
.section--dark-2 .contact-info a,
.section--dark-2 .sns-list,
.section--dark-2 .sns-list a {
  color: rgba(255, 255, 255, 1);
}

/* ========================================
   Store
======================================== */
.store-list {
  line-height: 2.2;
}

.store-list li + li {
  margin-top: 4px;
}

.store-list a {
  text-decoration: underline;
  text-underline-offset: 3px;
  transition: opacity 0.3s ease;
}

.store-list a:hover {
  opacity: 0.6;
}

.store-note {
  color: var(--color-text-light);
  margin-top: 8px;
}

/* ========================================
   Partners
======================================== */
.partners-list {
  color: var(--color-text-light);
}

/* ========================================
   Contact
======================================== */
.contact-info {
  color: var(--color-text-light);
}

.contact-info a {
  text-decoration: underline;
  text-underline-offset: 3px;
}

/* ========================================
   SNS
======================================== */
.sns-list a {
  color: var(--color-text-light);
  text-decoration: underline;
  text-underline-offset: 3px;
  transition: opacity 0.3s ease;
}

.sns-list a:hover {
  opacity: 0.6;
}

.sns-label {
  font-family: var(--font-en-condensed);
  font-weight: 500;
  margin-right: 8px;
}

/* ========================================
   Footer
======================================== */
.site-footer {
  background: var(--color-black);
  padding: 56px 20px;
}

.footer-inner {
  max-width: var(--content-max-width);
  margin: 0 auto;
}

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

/* ========================================
   Scroll lock (for mobile nav)
======================================== */
body.nav-open {
  overflow: hidden;
}

/* ========================================
   Tablet+ (768px)
======================================== */
@media (min-width: 768px) {
  :root {
    --header-height: 80px;
  }

  body {
    font-size: var(--base-font-size-pc);
  }

  .header-inner {
    justify-content: space-between;
  }

  .hamburger {
    display: none;
  }

  .main-nav {
    display: block;
  }

  /* Section two-column layout */
  .section {
    padding: 60px 40px;
  }

  .section-inner {
    max-width: var(--content-max-width);
    margin: 0 auto;
    display: flex;
    align-items: flex-start;
    gap: 60px;
  }

  .section-title {
    font-size: var(--section-title-font-size);
    margin-bottom: 0;
    flex-shrink: 0;
    width: 285px;
    min-width: 285px;
  }

  .section-content {
    flex: 1;
    margin-left: 40px;
  }

  .partners-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 0 40px;
  }

  .site-footer {
    padding: 56px 40px;
  }
}

/* ========================================
   Desktop (1280px)
======================================== */
@media (min-width: 1280px) {
  .section {
    padding: 80px 0;
  }

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

  .partners-grid {
    grid-template-columns: repeat(3, 1fr);
  }

  .site-footer {
    padding: 32px 0;
  }

  .footer-inner {
    padding: 0;
  }
}
