/* ==========================================
   株式会社e-Labo — mforce スタイル参考版
   ========================================== */

@import url('https://fonts.googleapis.com/css2?family=Noto+Sans+JP:wght@300;400;500;700&family=Inter:wght@300;400;700;900&display=swap');

:root {
  --green:       #2E8B57;
  --green-light: #5CB87A;
  --green-pale:  #E8F5E9;
  --black:       #1A1A1A;
  --gray:        #555555;
  --light-gray:  #AAAAAA;
  --border:      #E8E8E8;
  --white:       #FFFFFF;
}

*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }

html { scroll-behavior: smooth; font-size: 22px; }

body {
  font-family: 'Noto Sans JP', sans-serif;
  background: var(--white);
  color: var(--black);
  line-height: 1.8;
  overflow-x: hidden;
}

a { color: inherit; text-decoration: none; }
img { max-width: 100%; display: block; }

/* ==========================================
   スクロールアニメーション
   ========================================== */
.fade-in {
  opacity: 0;
  transform: translateY(24px);
  transition: opacity 0.9s cubic-bezier(0.16,1,0.3,1),
              transform 0.9s cubic-bezier(0.16,1,0.3,1);
}

.fade-in.visible { opacity: 1; transform: translateY(0); }
.delay-1 { transition-delay: 0.15s; }
.delay-2 { transition-delay: 0.3s; }
.delay-3 { transition-delay: 0.45s; }

/* ==========================================
   ヘッダー
   ========================================== */
header {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 300;
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 28px 48px;
  transition: background 0.4s, padding 0.4s;
}

header.scrolled {
  background: rgba(255,255,255,0.94);
  backdrop-filter: blur(10px);
  padding: 18px 48px;
  border-bottom: 1px solid var(--border);
}

.logo {
  font-family: 'Inter', sans-serif;
  font-size: 1.25rem;
  font-weight: 700;
  color: var(--black);
  letter-spacing: 0.02em;
  display: flex;
  align-items: center;
  gap: 6px;
}

.logo-mark {
  height: 36px;
  width: auto;
}

/* ハンバーガー */
.hamburger {
  width: 44px;
  height: 44px;
  display: flex;
  flex-direction: column;
  justify-content: center;
  gap: 7px;
  cursor: pointer;
  background: none;
  border: none;
  padding: 4px;
  position: relative;
  z-index: 400;
}

.hamburger span {
  display: block;
  height: 1.5px;
  background: var(--black);
  transition: all 0.35s cubic-bezier(0.16,1,0.3,1);
  transform-origin: center;
}

.hamburger.open span:nth-child(1) {
  transform: translateY(8.5px) rotate(45deg);
}
.hamburger.open span:nth-child(2) { opacity: 0; transform: scaleX(0); }
.hamburger.open span:nth-child(3) {
  transform: translateY(-8.5px) rotate(-45deg);
}

/* フルスクリーンナビ */
.nav-overlay {
  position: fixed;
  inset: 0;
  background: var(--white);
  z-index: 200;
  overflow-y: auto;
  opacity: 0;
  pointer-events: none;
  transition: opacity 0.4s cubic-bezier(0.16,1,0.3,1);
}

.nav-overlay.open {
  opacity: 1;
  pointer-events: all;
}

.nav-overlay ul {
  list-style: none;
  text-align: center;
  display: flex;
  flex-direction: column;
  gap: 8px;
  min-height: 100%;
  justify-content: center;
  padding: 100px 24px 60px;
  box-sizing: border-box;
}

.nav-overlay a {
  display: inline-block;
  font-size: clamp(1.1rem, 2.4vw, 1.8rem);
  font-weight: 300;
  letter-spacing: 0.12em;
  color: var(--black);
  padding: 8px 0;
  position: relative;
  transition: color 0.3s;
}

.nav-overlay a::after {
  content: '';
  position: absolute;
  bottom: 0;
  left: 0;
  width: 0;
  height: 1px;
  background: var(--green);
  transition: width 0.4s cubic-bezier(0.16,1,0.3,1);
}

.nav-overlay a:hover { color: var(--green); }
.nav-overlay a:hover::after { width: 100%; }

.nav-overlay .nav-sub {
  font-family: 'Inter', sans-serif;
  font-size: 0.72rem;
  font-weight: 700;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: var(--light-gray);
  margin-top: 4px;
}

/* ==========================================
   ページヘッダー（下層共通）
   ========================================== */
.page-header {
  min-height: 50vh;
  display: flex;
  align-items: flex-end;
  padding: 120px 80px 80px;
  position: relative;
  border-bottom: 1px solid var(--border);
  overflow: hidden;
}

.page-header .deco-shape {
  position: absolute;
  right: -80px;
  top: 0;
  bottom: 0;
  width: 45vw;
  opacity: 0.12;
}

.page-header-inner {
  position: relative;
  z-index: 1;
}

.page-label {
  font-family: 'Inter', sans-serif;
  font-size: 0.95rem;
  font-weight: 700;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  color: var(--green);
  margin-bottom: 16px;
  display: block;
}

.page-title {
  font-size: clamp(2.2rem, 5.5vw, 4.2rem);
  font-weight: 300;
  letter-spacing: 0.18em;
  line-height: 1.2;
  color: var(--black);
}

/* ==========================================
   共通セクション
   ========================================== */
.section {
  padding: 100px 80px;
}

.section-inner {
  max-width: 1100px;
  margin: 0 auto;
}

.section-label {
  font-family: 'Inter', sans-serif;
  font-size: 0.8rem;
  font-weight: 700;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  color: var(--light-gray);
  margin-bottom: 32px;
  display: block;
}

/* ==========================================
   テーブル
   ========================================== */
.info-table {
  width: 100%;
  border-collapse: collapse;
}

.info-table tr {
  border-bottom: 1px solid var(--border);
}

.info-table tr:first-child { border-top: 1px solid var(--border); }

.info-table th,
.info-table td {
  padding: 28px 0;
  text-align: left;
  font-size: 0.92rem;
  vertical-align: top;
}

.info-table th {
  width: 200px;
  font-size: 0.72rem;
  font-weight: 700;
  color: var(--light-gray);
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--light-gray);
  padding-right: 48px;
}

/* ==========================================
   フッター
   ========================================== */
footer {
  background: var(--black);
  color: rgba(255,255,255,0.5);
  padding: 72px 80px 40px;
}

.footer-inner {
  max-width: 1100px;
  margin: 0 auto;
  display: flex;
  justify-content: space-between;
  align-items: flex-start;
  padding-bottom: 56px;
  border-bottom: 1px solid rgba(255,255,255,0.08);
  gap: 60px;
  flex-wrap: wrap;
}

.footer-logo {
  font-family: 'Inter', sans-serif;
  font-size: 1.2rem;
  font-weight: 700;
  color: var(--white);
  margin-bottom: 16px;
}

.footer-address {
  font-size: 0.82rem;
  line-height: 2;
  color: rgba(255,255,255,0.35);
}

.footer-nav {
  display: flex;
  flex-direction: column;
  gap: 14px;
  text-align: right;
}

.footer-nav a {
  font-size: 0.8rem;
  font-weight: 500;
  color: rgba(255,255,255,0.4);
  letter-spacing: 0.06em;
  transition: color 0.25s;
}

.footer-nav a:hover { color: var(--white); }

.footer-copy {
  max-width: 1100px;
  margin: 28px auto 0;
  font-size: 0.72rem;
  color: rgba(255,255,255,0.2);
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 16px;
}

.footer-policy {
  color: rgba(255,255,255,0.3);
  transition: color 0.25s;
  white-space: nowrap;
}

.footer-policy:hover { color: rgba(255,255,255,0.7); }

/* ==========================================
   SVG デコレーション (共有)
   ========================================== */
.deco-svg {
  position: absolute;
  right: -60px;
  top: 0;
  bottom: 0;
  width: 50vw;
  max-width: 640px;
  pointer-events: none;
}

/* ==========================================
   レスポンシブ
   ========================================== */
@media (max-width: 900px) {
  header { padding: 20px 24px; }
  header.scrolled { padding: 14px 24px; }

  .page-header { padding: 120px 24px 60px; }
  .section { padding: 72px 24px; }
  footer { padding: 56px 24px 32px; }

  .footer-inner { flex-direction: column; gap: 32px; }
  .footer-nav { text-align: left; }

  .info-table th { width: 120px; padding-right: 24px; }
}
