/* ========================================
   All Blue Trading - Styles
   Black & White Minimal Corporate Design
   ======================================== */

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

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

body {
  font-family: 'Inter', 'Noto Sans JP', -apple-system, BlinkMacSystemFont, sans-serif;
  background-color: #fff;
  color: #111;
  line-height: 1.8;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}

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

ul {
  list-style: none;
}

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

.container {
  max-width: 1000px;
  margin: 0 auto;
  padding: 0 24px;
}

/* --- Header --- */
.site-header {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  z-index: 1000;
  background: rgba(255, 255, 255, 0.95);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  border-bottom: 1px solid rgba(0, 0, 0, 0.06);
  transition: background 0.3s ease;
}

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

.logo {
  display: flex;
  align-items: baseline;
  gap: 8px;
  transition: opacity 0.2s ease;
}

.logo:hover {
  opacity: 0.7;
}

.logo-main {
  font-size: 1.2rem;
  font-weight: 700;
  letter-spacing: 0.02em;
  color: #000;
}

.logo-sub {
  font-size: 0.7rem;
  font-weight: 400;
  color: #666;
  letter-spacing: 0.05em;
}

.main-nav ul {
  display: flex;
  gap: 36px;
}

.nav-link {
  font-size: 0.85rem;
  font-weight: 500;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: #555;
  position: relative;
  padding: 4px 0;
  transition: color 0.3s ease;
}

.nav-link::after {
  content: '';
  position: absolute;
  bottom: -2px;
  left: 0;
  width: 0;
  height: 1.5px;
  background: #000;
  transition: width 0.3s ease;
}

.nav-link:hover,
.nav-link.active {
  color: #000;
}

.nav-link:hover::after,
.nav-link.active::after {
  width: 100%;
}

/* Mobile Menu Button */
.mobile-menu-btn {
  display: none;
  flex-direction: column;
  gap: 5px;
  background: none;
  border: none;
  cursor: pointer;
  padding: 8px;
  z-index: 1001;
}

.mobile-menu-btn span {
  display: block;
  width: 24px;
  height: 1.5px;
  background: #000;
  transition: all 0.3s ease;
}

.mobile-menu-btn.open span:nth-child(1) {
  transform: translateY(6.5px) rotate(45deg);
}

.mobile-menu-btn.open span:nth-child(2) {
  opacity: 0;
}

.mobile-menu-btn.open span:nth-child(3) {
  transform: translateY(-6.5px) rotate(-45deg);
}

/* --- Hero --- */
.hero {
  min-height: 100vh;
  display: flex;
  align-items: center;
  justify-content: center;
  background: #000;
  color: #fff;
  text-align: center;
  padding: 120px 24px 80px;
  position: relative;
  overflow: hidden;
}

.hero::before {
  content: '';
  position: absolute;
  inset: 0;
  background:
    radial-gradient(ellipse at 20% 50%, rgba(255, 255, 255, 0.03) 0%, transparent 70%),
    radial-gradient(ellipse at 80% 50%, rgba(255, 255, 255, 0.02) 0%, transparent 70%);
}

.hero-content {
  position: relative;
  z-index: 1;
}

.hero-title {
  font-size: clamp(2rem, 5vw, 3.5rem);
  font-weight: 700;
  line-height: 1.4;
  letter-spacing: 0.04em;
  margin-bottom: 24px;
}

.hero-title-line {
  display: block;
}

.hero-subtitle {
  font-size: clamp(0.85rem, 1.5vw, 1rem);
  font-weight: 300;
  letter-spacing: 0.15em;
  text-transform: uppercase;
  color: rgba(255, 255, 255, 0.5);
  margin-bottom: 40px;
}

.hero-line {
  width: 48px;
  height: 1px;
  background: rgba(255, 255, 255, 0.3);
  margin: 0 auto;
  animation: lineExpand 1.5s ease-out 0.5s forwards;
  transform: scaleX(0);
}

@keyframes lineExpand {
  to {
    transform: scaleX(1);
  }
}

/* --- Sections Common --- */
.section-header {
  margin-bottom: 48px;
}

.section-label {
  display: inline-block;
  font-size: 0.75rem;
  font-weight: 500;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: #999;
  margin-bottom: 12px;
}

.section-title {
  font-size: clamp(1.6rem, 3vw, 2.2rem);
  font-weight: 700;
  letter-spacing: 0.02em;
  color: #000;
}

/* --- About --- */
.about {
  padding: 120px 0;
  background: #fff;
}

.about-grid {
  display: grid;
  grid-template-columns: 1fr 1.2fr;
  gap: 64px;
  align-items: start;
}

.about-text p {
  font-size: 0.95rem;
  line-height: 2;
  color: #333;
}

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

.info-table tr {
  border-bottom: 1px solid #eee;
}

.info-table th,
.info-table td {
  padding: 16px 0;
  font-size: 0.9rem;
  text-align: left;
  vertical-align: top;
}

.info-table th {
  font-weight: 600;
  color: #000;
  width: 100px;
  white-space: nowrap;
  padding-right: 24px;
}

.info-table td {
  color: #444;
}

.info-table .en {
  font-size: 0.8rem;
  color: #888;
}

/* --- Contact --- */
.contact {
  padding: 120px 0;
  background: #f8f8f8;
  text-align: center;
}

.contact-text {
  font-size: 0.95rem;
  color: #555;
  margin-bottom: 40px;
}

.contact-btn {
  display: inline-block;
  padding: 16px 48px;
  border: 1.5px solid #000;
  color: #000;
  font-size: 0.85rem;
  font-weight: 500;
  letter-spacing: 0.1em;
  transition: all 0.3s ease;
}

.contact-btn:hover {
  background: #000;
  color: #fff;
}

/* --- Footer --- */
.site-footer {
  background: #0a0a0a;
  color: #fff;
  padding: 48px 32px;
  text-align: center;
}

.footer-inner {
  max-width: 1200px;
  margin: 0 auto;
}

.footer-logo {
  display: flex;
  align-items: baseline;
  justify-content: center;
  gap: 8px;
  margin-bottom: 20px;
}

.footer-logo-main {
  font-size: 1rem;
  font-weight: 600;
  letter-spacing: 0.02em;
}

.footer-logo-sub {
  font-size: 0.65rem;
  font-weight: 400;
  color: #666;
}

.footer-copy {
  font-size: 0.75rem;
  color: #555;
  letter-spacing: 0.05em;
}

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

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

/* --- Responsive --- */
@media (max-width: 768px) {
  .header-inner {
    padding: 0 20px;
    height: 60px;
  }

  .mobile-menu-btn {
    display: flex;
  }

  .main-nav {
    position: fixed;
    top: 0;
    right: -100%;
    width: 100%;
    height: 100vh;
    background: rgba(255, 255, 255, 0.98);
    backdrop-filter: blur(20px);
    display: flex;
    align-items: center;
    justify-content: center;
    transition: right 0.4s ease;
  }

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

  .main-nav ul {
    flex-direction: column;
    gap: 32px;
    text-align: center;
  }

  .nav-link {
    font-size: 1.1rem;
  }

  .hero {
    padding: 100px 20px 60px;
    min-height: 80vh;
  }

  .about {
    padding: 80px 0;
  }

  .about-grid {
    grid-template-columns: 1fr;
    gap: 40px;
  }

  .contact {
    padding: 80px 0;
  }

  .site-footer {
    padding: 36px 20px;
  }
}

@media (max-width: 480px) {
  .logo-main {
    font-size: 1rem;
  }

  .logo-sub {
    display: none;
  }

  .info-table th {
    display: block;
    padding-bottom: 4px;
  }

  .info-table td {
    display: block;
    padding-top: 0;
    padding-bottom: 16px;
  }

  .contact-btn {
    padding: 14px 36px;
  }
}