@charset "UTF-8";

/* ==========================================================================
   0. RESET & DESIGN TOKENS
   ========================================================================== */
*, *::before, *::after {
  box-sizing: border-box;
  /* モバイルタップ時の青色背景を削除 */
  -webkit-tap-highlight-color: transparent;
}

:root {
  --header-height: 80px;
  --container-width: 1100px;
  --radius-panel: 12px;
  --radius-btn: 100px;

  --bg-void: #050505;
  --bg-depth: #0a0a0a;
  
  --text-main: #f2f2f2;
  --text-body: #a3a3a3;
  --text-mute: #525252;

  --accent: #ffffff;
  --accent-sub: #3b82f6;

  --glass-surface: rgba(255, 255, 255, 0.02);
  --glass-border: 1px solid rgba(255, 255, 255, 0.1);
  --glass-shadow: 0 20px 40px -4px rgba(0, 0, 0, 0.8);
  --glass-blur: 20px;

  --ease-luxury: cubic-bezier(0.16, 1, 0.3, 1);
}

/* ==========================================================================
   1. GLOBAL BASE (画面固定 & 高級感)
   ========================================================================== */
html {
  font-size: 16px;
  scroll-behavior: smooth;
  -webkit-text-size-adjust: 100%;
  width: 100%;
  height: 100%;
  overflow-x: hidden;
  overscroll-behavior-y: none;
}

body {
  margin: 0;
  background-color: var(--bg-void);
  color: var(--text-body);
  font-family: "Helvetica Neue", "Arial", "Hiragino Kaku Gothic ProN", sans-serif;
  line-height: 1.8;
  letter-spacing: 0.04em;
  position: relative;
  width: 100%;
  overflow-x: hidden;
}

/* デフォルトの青い枠線を削除し、必要な場合のみ上品な白枠にする */
:focus {
  outline: none;
}
:focus-visible {
  outline: 1px solid rgba(255, 255, 255, 0.3);
  outline-offset: 4px;
}

/* メニューオープン時のスクロールロック */
body.scroll-lock {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  overflow: hidden;
}

/* NOISE & LIGHT */
body::before {
  content: ""; position: fixed; top: 0; left: 0; width: 100vw; height: 100vh;
  background-image: url("data:image/svg+xml,%3Csvg viewBox='0 0 200 200' xmlns='http://www.w3.org/2000/svg'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='0.8' numOctaves='3' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23n)' opacity='0.03'/%3E%3C/svg%3E");
  pointer-events: none; z-index: 0;
}
body::after {
  content: ""; position: fixed; top: -20%; left: 20%; width: 60vw; height: 60vw;
  background: radial-gradient(circle, rgba(255,255,255,0.03) 0%, transparent 60%);
  filter: blur(100px); z-index: -1; pointer-events: none;
}

h1, h2, h3, h4 { color: var(--text-main); font-weight: 600; line-height: 1.3; margin-top: 0; }
a { text-decoration: none; color: inherit; transition: color 0.3s; }
ul { padding: 0; list-style: none; margin: 0; }
img { max-width: 100%; display: block; border-radius: 4px; }
p { margin-top: 0; margin-bottom: 1.5rem; }

/* ==========================================================================
   2. LAYOUT & COMPONENTS
   ========================================================================== */
.container { width: 90%; max-width: var(--container-width); margin: 0 auto; position: relative; z-index: 1; }
.section { padding: 120px 0; position: relative; }
.grid-2 { display: grid; grid-template-columns: repeat(auto-fit, minmax(320px, 1fr)); gap: 40px; }
.grid-3 { display: grid; grid-template-columns: repeat(auto-fit, minmax(280px, 1fr)); gap: 32px; }

/* Buttons & Badges */
.btn {
  display: inline-flex; align-items: center; justify-content: center;
  padding: 16px 48px; font-size: 0.9rem; font-weight: 600; letter-spacing: 0.05em;
  color: #000; background: var(--accent); border: 1px solid var(--accent);
  border-radius: var(--radius-btn); transition: all 0.3s var(--ease-luxury);
  box-shadow: 0 0 20px rgba(255, 255, 255, 0.1);
  /* ボタンクリック時のハイライトも消去 */
  -webkit-tap-highlight-color: transparent;
}
.btn:hover { background: transparent; color: var(--accent); box-shadow: 0 0 40px rgba(255, 255, 255, 0.2); }
.btn-small { padding: 10px 24px; font-size: 0.8rem; }

.badge {
  display: inline-block; padding: 6px 12px; border: 1px solid rgba(255, 255, 255, 0.2);
  border-radius: 100px; font-size: 0.7rem; color: var(--text-main); background: rgba(255,255,255,0.05);
}

/* Glass Panels */
.glass-panel, .card {
  background: var(--glass-surface); backdrop-filter: blur(var(--glass-blur)); -webkit-backdrop-filter: blur(var(--glass-blur));
  border: var(--glass-border); box-shadow: var(--glass-shadow); border-radius: var(--radius-panel);
  position: relative; overflow: hidden; transition: transform 0.4s;
}
.glass-panel::after, .card::after {
  content: ""; position: absolute; top: 0; left: 0; right: 0; height: 1px;
  background: linear-gradient(90deg, transparent, rgba(255,255,255,0.2), transparent); opacity: 0.5;
}
.card { padding: 40px; }
.card:hover { transform: translateY(-4px); border-color: rgba(255, 255, 255, 0.3); background: rgba(255, 255, 255, 0.04); }

/* Typography */
.hero-title { font-size: clamp(3rem, 9vw, 6.5rem); line-height: 0.95; font-weight: 800; letter-spacing: -0.03em; margin-bottom: 40px; color: var(--text-main); }
.hero-title span { display: block; color: var(--text-mute); }

.editorial-list { display: flex; flex-direction: column; border-top: 1px solid rgba(255,255,255,0.1); }
.editorial-item {
  display: grid; grid-template-columns: 80px 1fr auto; align-items: baseline; padding: 40px 0;
  border-bottom: 1px solid rgba(255,255,255,0.1); transition: background 0.3s;
}
.editorial-item:hover { background: rgba(255,255,255,0.02); }
.item-num { font-family: sans-serif; font-size: 0.9rem; color: var(--text-mute); }
.item-title { font-size: 1.5rem; font-weight: 600; color: var(--text-main); margin-bottom: 8px; }
.item-desc { font-size: 0.9rem; color: var(--text-body); max-width: 420px; line-height: 1.6; }

.offset-layout { display: grid; grid-template-columns: 1fr 1fr; gap: 80px; align-items: center; }
.offset-content { padding-top: 80px; }
.bg-text { position: absolute; font-size: 15vw; font-weight: 900; color: rgba(255,255,255,0.02); z-index: -1; pointer-events: none; line-height: 1; white-space: nowrap; }

/* Tables & Forms */
.table-wrap { overflow-x: auto; width: 100%; }
.data-table { width: 100%; border-collapse: collapse; min-width: 500px; }
.data-table th, .data-table td { padding: 24px 0; border-bottom: 1px solid rgba(255,255,255,0.1); text-align: left; }
.data-table th { width: 30%; color: var(--text-mute); font-weight: 400; }
.data-table td { color: var(--text-main); }

.form-group { margin-bottom: 32px; }
.form-label { display: block; margin-bottom: 12px; font-size: 0.85rem; color: var(--text-main); }
.form-input, .form-textarea {
  width: 100%; padding: 16px; background: rgba(0,0,0,0.3); border: 1px solid rgba(255,255,255,0.1);
  border-radius: 8px; color: #fff; font-size: 1rem; transition: 0.3s;
}
.form-input:focus, .form-textarea:focus { outline: none; border-color: #fff; background: rgba(0,0,0,0.5); }

.reveal { opacity: 0; transform: translateY(40px); transition: opacity 1s var(--ease-luxury), transform 1s var(--ease-luxury); }
.reveal.in-view { opacity: 1; transform: translateY(0); }
.sp-hidden { display: block; }

/* ==========================================================================
   3. HEADER & NAV (PC Default)
   ========================================================================== */
.header {
  position: fixed; top: 24px; left: 50%; transform: translateX(-50%);
  width: 95%; max-width: 1200px; height: var(--header-height); z-index: 1000;
  background: var(--glass-surface); backdrop-filter: blur(var(--glass-blur)); -webkit-backdrop-filter: blur(var(--glass-blur));
  border: var(--glass-border); box-shadow: var(--glass-shadow); border-radius: 100px;
  transition: all 0.5s var(--ease-luxury);
  display: flex; align-items: center; padding: 0 40px;
}
.header.is-scrolled {
  top: 0; width: 100%; max-width: 100%; border-radius: 0; border: none;
  border-bottom: 1px solid rgba(255,255,255,0.1); background: rgba(5, 5, 5, 0.9);
}

.header-inner {
  width: 100%; height: 100%;
  display: flex; justify-content: space-between; align-items: center;
}

.logo { font-size: 1.1rem; font-weight: 700; letter-spacing: 0.1em; color: var(--text-main); text-transform: uppercase; z-index: 1100; }

/* PC Nav */
.nav-list { display: flex; gap: 32px; align-items: center; }
.nav-link { font-size: 0.85rem; font-weight: 500; color: var(--text-body); text-transform: uppercase; letter-spacing: 0.05em; padding: 8px 0; position: relative; }
.nav-link:hover, .nav-link.active { color: var(--text-main); }
.nav-link::before { content: ""; position: absolute; bottom: 0; left: 50%; width: 0; height: 1px; background: var(--text-main); transition: 0.3s; }
.nav-link:hover::before, .nav-link.active::before { width: 100%; left: 0; }

/* Mobile Only */
.menu-toggle { display: none; }
.nav-overlay { display: none; }

/* ==========================================================================
   4. MOBILE RESPONSIVE (MAX-WIDTH: 768px)
   ========================================================================== */
@media (max-width: 768px) {
  /* Header Mobile Reset */
  .header {
    top: 0; left: 0; transform: none; width: 100%; max-width: 100%;
    border-radius: 0; border: none; border-bottom: 1px solid rgba(255,255,255,0.1);
    padding: 0 20px;
  }

  .header-inner {
    display: flex; justify-content: space-between; align-items: center; width: 100%;
  }

  /* Hide PC Nav */
  .nav-list { display: none; }

  /* Hamburger Toggle */
  .menu-toggle {
    display: flex; align-items: center; justify-content: center;
    width: 44px; height: 100%;
    background: none; border: none; color: var(--text-main); font-size: 1.5rem;
    cursor: pointer; z-index: 1100;
    margin-left: auto;
    /* タップ時の青色削除 */
    -webkit-tap-highlight-color: transparent;
  }

  /* Mobile Nav Overlay */
  .nav-overlay {
    display: flex; position: fixed; top: 0; left: 0; width: 100%; height: 100dvh;
    background: #050505; z-index: 1050;
    flex-direction: column; justify-content: center; align-items: center; gap: 32px;
    opacity: 0; visibility: hidden; transition: 0.4s var(--ease-luxury);
    padding: 20px;
  }
  .nav-overlay.is-open { opacity: 1; visibility: visible; }
  .nav-overlay .nav-link { font-size: 1.5rem; font-weight: 700; }

  /* Layout */
  .section { padding: 80px 0; }
  .grid-2, .grid-3, .offset-layout { grid-template-columns: 1fr; gap: 40px; }
  .offset-content { padding-top: 0; }
  .sp-hidden { display: none; }
  
  .hero-title { font-size: 3rem; margin-bottom: 30px; }
  .editorial-item { grid-template-columns: 1fr; gap: 16px; position: relative; }
  .item-num { position: absolute; top: 40px; right: 0; opacity: 0.3; }
}