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

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

body {
  font-family: 'Noto Sans JP', sans-serif;
  color: #ffffff;
  background-color: #0a0a0a;
  line-height: 1.8;
  letter-spacing: 0.08em;
  overflow-x: hidden;
}

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

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

/* ===== Header ===== */
.header {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  z-index: 1000;
  padding: 20px 40px;
  display: flex;
  justify-content: space-between;
  align-items: center;
  transition: background-color 0.4s ease, padding 0.4s ease;
}

.header.scrolled {
  background-color: rgba(10, 10, 10, 0.95);
  backdrop-filter: blur(10px);
  padding: 12px 40px;
}

.header-logo {
  font-family: 'Cormorant Garamond', serif;
  font-size: 24px;
  font-weight: 600;
  letter-spacing: 0.15em;
}

.header-logo span {
  display: block;
  font-family: 'Noto Sans JP', sans-serif;
  font-size: 10px;
  font-weight: 300;
  letter-spacing: 0.3em;
  opacity: 0.7;
}

.header-nav {
  display: flex;
  gap: 32px;
  list-style: none;
}

.header-nav a {
  font-family: 'Cormorant Garamond', serif;
  font-size: 13px;
  letter-spacing: 0.15em;
  text-transform: uppercase;
  opacity: 0.8;
  transition: opacity 0.3s ease;
  position: relative;
}

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

.header-nav a:hover {
  opacity: 1;
}

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

/* Hamburger */
.hamburger {
  display: none;
  flex-direction: column;
  gap: 6px;
  cursor: pointer;
  z-index: 1001;
}

.hamburger span {
  display: block;
  width: 28px;
  height: 1px;
  background: #fff;
  transition: transform 0.3s ease, opacity 0.3s ease;
}

.hamburger.active span:nth-child(1) {
  transform: translateY(7px) rotate(45deg);
}

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

.hamburger.active span:nth-child(3) {
  transform: translateY(-7px) rotate(-45deg);
}

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

.hero-bg {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  z-index: 0;
}

.hero-slide {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  opacity: 0;
  transition: opacity 2s ease-in-out;
}

.hero-slide.active {
  opacity: 1;
}

.hero-slide img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center;
  animation: kenburns 8s ease-in-out infinite alternate;
}

@keyframes kenburns {
  0% { transform: scale(1); }
  100% { transform: scale(1.08); }
}

.hero-bg::after {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: linear-gradient(180deg, rgba(10, 10, 10, 0.35) 0%, rgba(10, 10, 10, 0.45) 50%, rgba(10, 10, 10, 0.7) 100%);
  z-index: 1;
}

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

.hero-label {
  font-family: 'Cormorant Garamond', serif;
  font-size: 14px;
  letter-spacing: 0.4em;
  text-transform: uppercase;
  color: #c8a86e;
  margin-bottom: 30px;
  opacity: 0;
  animation: fadeUp 1s ease 0.3s forwards;
}

.hero-title {
  font-size: clamp(32px, 6vw, 64px);
  font-weight: 700;
  letter-spacing: 0.15em;
  line-height: 1.4;
  margin-bottom: 20px;
  opacity: 0;
  animation: fadeUp 1s ease 0.6s forwards;
}

.hero-title-en {
  font-family: 'Cormorant Garamond', serif;
  font-size: clamp(16px, 2.5vw, 24px);
  font-weight: 400;
  letter-spacing: 0.3em;
  color: rgba(255, 255, 255, 0.5);
  margin-bottom: 40px;
  opacity: 0;
  animation: fadeUp 1s ease 0.9s forwards;
}

.hero-sub {
  font-size: 14px;
  font-weight: 300;
  letter-spacing: 0.2em;
  color: rgba(255, 255, 255, 0.6);
  opacity: 0;
  animation: fadeUp 1s ease 1.2s forwards;
}

.hero-scroll {
  position: absolute;
  bottom: 40px;
  left: 50%;
  transform: translateX(-50%);
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 8px;
  opacity: 0;
  animation: fadeUp 1s ease 1.5s forwards;
  z-index: 2;
}
@media screen and (max-width: 768px) {
  .hero-scroll {
    left: 42.5%;
  }
}

.hero-scroll span {
  font-family: 'Cormorant Garamond', serif;
  font-size: 10px;
  letter-spacing: 0.3em;
  text-indent: 0.3em;
  text-transform: uppercase;
}

.hero-scroll-line {
  width: 1px;
  height: 60px;
  background: linear-gradient(to bottom, #c8a86e, transparent);
  animation: scrollLine 2s ease infinite;
}

@keyframes scrollLine {
  0% { transform: scaleY(0); transform-origin: top; }
  50% { transform: scaleY(1); transform-origin: top; }
  51% { transform: scaleY(1); transform-origin: bottom; }
  100% { transform: scaleY(0); transform-origin: bottom; }
}

/* ===== Section Common ===== */
.section {
  padding: 120px 40px;
  max-width: 1200px;
  margin: 0 auto;
}

.section-header {
  margin-bottom: 60px;
}

.section-number {
  font-family: 'Cormorant Garamond', serif;
  font-size: 14px;
  color: #c8a86e;
  letter-spacing: 0.3em;
  margin-bottom: 16px;
  display: block;
}

.section-title-en {
  font-family: 'Cormorant Garamond', serif;
  font-size: clamp(36px, 5vw, 56px);
  font-weight: 400;
  letter-spacing: 0.1em;
  line-height: 1.2;
  margin-bottom: 12px;
}

.section-title-jp {
  font-size: 13px;
  font-weight: 300;
  letter-spacing: 0.3em;
  color: rgba(255, 255, 255, 0.5);
}

.section-divider {
  width: 40px;
  height: 1px;
  background: #c8a86e;
  margin-top: 24px;
}

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

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

@keyframes fadeUp {
  from {
    opacity: 0;
    transform: translateY(20px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

/* ===== Philosophy ===== */
.philosophy {
  background: linear-gradient(180deg, #0a0a0a 0%, #111118 100%);
}

.philosophy-inner {
  max-width: 1200px;
  margin: 0 auto;
  padding: 120px 40px;
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 80px;
  align-items: center;
}

.philosophy-visual {
  position: relative;
  aspect-ratio: 4/5;
  overflow: hidden;
}

.philosophy-visual img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center;
}

.philosophy-visual::after {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: linear-gradient(180deg, transparent 60%, rgba(10, 10, 10, 0.4) 100%);
  pointer-events: none;
}

.philosophy-text h3 {
  font-size: clamp(22px, 3vw, 30px);
  font-weight: 500;
  letter-spacing: 0.15em;
  line-height: 1.8;
  margin-bottom: 32px;
}

.philosophy-text p {
  font-size: 14px;
  font-weight: 300;
  line-height: 2.2;
  color: rgba(255, 255, 255, 0.7);
}

/* ===== Concept (海老が世界一) ===== */
.concept {
  position: relative;
  padding: 160px 40px;
  text-align: center;
  overflow: hidden;
}

.concept-bg {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: linear-gradient(180deg, #111118 0%, #0a0a0a 50%, #111118 100%);
}

.concept-bg::before {
  content: '';
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  width: 600px;
  height: 600px;
  background: radial-gradient(circle, rgba(200, 168, 110, 0.06) 0%, transparent 70%);
}

.concept-inner {
  position: relative;
  z-index: 1;
  max-width: 800px;
  margin: 0 auto;
}

.concept-catch {
  font-size: clamp(36px, 6vw, 72px);
  font-weight: 700;
  letter-spacing: 0.2em;
  line-height: 1.5;
  margin-bottom: 16px;
}

.concept-catch .accent {
  color: #c8a86e;
}

.concept-catch-en {
  font-family: 'Cormorant Garamond', serif;
  font-size: clamp(14px, 2vw, 20px);
  font-weight: 400;
  letter-spacing: 0.3em;
  color: rgba(255, 255, 255, 0.4);
  margin-bottom: 48px;
}

.concept-desc {
  font-size: 15px;
  font-weight: 300;
  line-height: 2.4;
  color: rgba(255, 255, 255, 0.7);
  max-width: 600px;
  margin: 0 auto;
}

/* ===== Strength ===== */
.strength-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 40px;
  margin-top: 60px;
}

.strength-card {
  padding: 48px 32px;
  background: rgba(255, 255, 255, 0.03);
  border: 1px solid rgba(255, 255, 255, 0.06);
  transition: border-color 0.4s ease, background 0.4s ease;
}

.strength-card:hover {
  border-color: rgba(200, 168, 110, 0.3);
  background: rgba(255, 255, 255, 0.05);
}

.strength-card-number {
  font-family: 'Cormorant Garamond', serif;
  font-size: 48px;
  font-weight: 300;
  color: #c8a86e;
  line-height: 1;
  margin-bottom: 24px;
}

.strength-card h4 {
  font-size: 18px;
  font-weight: 500;
  letter-spacing: 0.1em;
  margin-bottom: 16px;
}

.strength-card p {
  font-size: 13px;
  font-weight: 300;
  line-height: 2;
  color: rgba(255, 255, 255, 0.6);
}

/* ===== Clients ===== */
.clients-intro {
  font-size: 14px;
  font-weight: 300;
  line-height: 2.2;
  color: rgba(255, 255, 255, 0.7);
  margin-bottom: 60px;
  max-width: 600px;
}

.clients-list {
  display: flex;
  flex-wrap: wrap;
  gap: 0;
}

.client-name {
  font-size: 14px;
  font-weight: 300;
  letter-spacing: 0.1em;
  color: rgba(255, 255, 255, 0.8);
}

.client-name:not(:last-child)::after {
  content: '／';
  color: rgba(200, 168, 110, 0.5);
  margin: 0 12px;
}

/* ===== Company ===== */
.company {
  background: linear-gradient(180deg, #0a0a0a 0%, #0e0e14 100%);
}

.company-table {
  width: 100%;
  max-width: 800px;
  border-collapse: collapse;
  margin-top: 60px;
}

.company-table tr {
  border-bottom: 1px solid rgba(255, 255, 255, 0.08);
}

.company-table th {
  font-size: 13px;
  font-weight: 400;
  letter-spacing: 0.15em;
  color: rgba(255, 255, 255, 0.5);
  padding: 24px 32px 24px 0;
  text-align: left;
  vertical-align: top;
  white-space: nowrap;
  width: 140px;
}

.company-table td {
  font-size: 14px;
  font-weight: 300;
  padding: 24px 0;
  line-height: 1.8;
}

/* ===== Contact ===== */
.contact {
  position: relative;
  text-align: center;
  padding: 160px 40px;
  background: linear-gradient(180deg, #0a0a0a 0%, #111118 50%, #0a0a0a 100%);
}

.contact-inner {
  max-width: 600px;
  margin: 0 auto;
}

.contact-text {
  font-size: 14px;
  font-weight: 300;
  line-height: 2.2;
  color: rgba(255, 255, 255, 0.6);
  margin-bottom: 40px;
}

.contact-btn {
  display: inline-flex;
  align-items: center;
  gap: 16px;
  padding: 18px 48px;
  border: 1px solid rgba(200, 168, 110, 0.5);
  color: #c8a86e;
  font-size: 14px;
  letter-spacing: 0.2em;
  transition: background 0.4s ease, color 0.4s ease;
}

.contact-btn:hover {
  background: #c8a86e;
  color: #0a0a0a;
}

.contact-btn svg {
  width: 16px;
  height: 16px;
  transition: transform 0.3s ease;
}

.contact-btn:hover svg {
  transform: translateX(4px);
}

/* ===== Footer ===== */
.footer {
  padding: 60px 40px 40px;
  border-top: 1px solid rgba(255, 255, 255, 0.06);
  max-width: 1200px;
  margin: 0 auto;
}

.footer-inner {
  display: flex;
  justify-content: space-between;
  align-items: flex-end;
}

.footer-logo {
  font-family: 'Cormorant Garamond', serif;
  font-size: 20px;
  font-weight: 600;
  letter-spacing: 0.15em;
  margin-bottom: 12px;
}

.footer-logo span {
  display: block;
  font-family: 'Noto Sans JP', sans-serif;
  font-size: 10px;
  font-weight: 300;
  letter-spacing: 0.2em;
  opacity: 0.5;
  margin-top: 4px;
}

.footer-sns {
  display: flex;
  gap: 20px;
  margin-top: 16px;
}

.footer-sns a {
  width: 40px;
  height: 40px;
  border: 1px solid rgba(255, 255, 255, 0.15);
  display: flex;
  align-items: center;
  justify-content: center;
  transition: border-color 0.3s ease;
}

.footer-sns a:hover {
  border-color: #c8a86e;
}

.footer-sns svg {
  width: 16px;
  height: 16px;
  fill: rgba(255, 255, 255, 0.6);
}

.footer-copy {
  font-size: 10px;
  letter-spacing: 0.15em;
  color: rgba(255, 255, 255, 0.3);
  font-family: 'Cormorant Garamond', serif;
}

/* ===== Side Nav ===== */
.side-nav {
  position: fixed;
  right: 24px;
  top: 50%;
  transform: translateY(-50%);
  z-index: 100;
  display: flex;
  flex-direction: column;
  gap: 16px;
}

.side-nav a {
  width: 8px;
  height: 8px;
  border: 1px solid rgba(255, 255, 255, 0.3);
  border-radius: 50%;
  transition: background 0.3s ease, border-color 0.3s ease;
}

.side-nav a.active,
.side-nav a:hover {
  background: #c8a86e;
  border-color: #c8a86e;
}

/* ===== Mobile Menu Overlay ===== */
.mobile-menu {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: rgba(10, 10, 10, 0.98);
  z-index: 999;
  display: flex;
  align-items: center;
  justify-content: center;
  opacity: 0;
  pointer-events: none;
  transition: opacity 0.4s ease;
}

.mobile-menu.active {
  opacity: 1;
  pointer-events: all;
}

.mobile-menu nav {
  display: flex;
  flex-direction: column;
  gap: 32px;
  text-align: center;
}

.mobile-menu a {
  font-family: 'Cormorant Garamond', serif;
  font-size: 24px;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  opacity: 0.8;
  transition: opacity 0.3s ease;
}

.mobile-menu a:hover {
  opacity: 1;
  color: #c8a86e;
}

/* ===== Responsive ===== */
@media (max-width: 960px) {
  .header-nav {
    display: none;
  }

  .hamburger {
    display: flex;
  }

  .side-nav {
    display: none;
  }

  .philosophy-inner {
    grid-template-columns: 1fr;
    gap: 40px;
    padding: 80px 24px;
  }

  .philosophy-visual {
    aspect-ratio: 16/9;
  }

  .strength-grid {
    grid-template-columns: 1fr;
    gap: 20px;
  }

  .section {
    padding: 80px 24px;
  }

  .concept {
    padding: 100px 24px;
  }

  .contact {
    padding: 100px 24px;
  }
}

@media (max-width: 600px) {
  .header {
    padding: 16px 20px;
  }

  .footer-inner {
    flex-direction: column;
    align-items: flex-start;
    gap: 24px;
  }

  .company-table th {
    display: block;
    padding: 16px 0 4px;
    width: 100%;
  }

  .company-table td {
    display: block;
    padding: 4px 0 16px;
  }

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