/* ═══════════════════════════════════════════════════
   無名人インタビュー 共通CSS
   ═══════════════════════════════════════════════════ */

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

/* ── CSS Variables ── */
:root {
  --white: #ffffff;
  --off-white: #fafafa;
  --black: #0a0a0a;
  --black-soft: #1a1a1a;
  --gray-900: #222222;
  --gray-700: #555555;
  --gray-500: #888888;
  --gray-300: #cccccc;
  --gray-100: #f0f0f0;
  --red: #CC2936;
  --red-dark: #A81D28;
  --red-soft: rgba(204, 41, 54, 0.08);
  --red-glow: rgba(204, 41, 54, 0.15);
  --border: rgba(0,0,0,0.08);
  --font-sans: 'Noto Sans JP', sans-serif;
  --font-serif: 'Shippori Mincho', serif;
}

/* ── Base ── */
html { scroll-behavior: smooth; }

body {
  font-family: var(--font-sans);
  color: var(--black);
  background: var(--white);
  line-height: 1.8;
  font-weight: 400;
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}

/* ═══ NAV (.nav) ═══
   Used by: index, contact, work
   ═══════════════════ */
.nav {
  position: fixed;
  top: 0; left: 0; right: 0;
  z-index: 1000;
  background: rgba(255,255,255,0.92);
  backdrop-filter: blur(20px);
  -webkit-backdrop-filter: blur(20px);
  border-bottom: 1px solid var(--border);
  transition: all 0.3s;
}

.nav.scrolled { box-shadow: 0 1px 12px rgba(0,0,0,0.06); }

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

.nav-logo {
  font-family: var(--font-serif);
  font-size: 1.15rem;
  font-weight: 700;
  color: var(--black);
  text-decoration: none;
  letter-spacing: 0.04em;
  transition: opacity 0.3s;
}

.nav-logo:hover { opacity: 0.6; }

.nav-links {
  display: flex;
  align-items: center;
  gap: 4px;
  list-style: none;
}

.nav-links a {
  text-decoration: none;
  color: var(--gray-700);
  font-size: 0.82rem;
  font-weight: 500;
  padding: 6px 14px;
  border-radius: 6px;
  transition: all 0.2s;
  cursor: pointer;
}

.nav-links a:hover { color: var(--black); background: var(--gray-100); }

.nav-links .nav-cta {
  background: var(--black);
  color: var(--white) !important;
  padding: 8px 20px;
  border-radius: 100px;
  margin-left: 8px;
  font-weight: 500;
}

.nav-links .nav-cta:hover { background: var(--red); }

.hamburger {
  display: none;
  background: none;
  border: none;
  cursor: pointer;
  padding: 8px;
}

.hamburger span {
  display: block;
  width: 20px;
  height: 1.5px;
  background: var(--black);
  margin: 5px 0;
  transition: 0.3s;
}

@media (max-width: 768px) {
  .hamburger { display: block; }
  .nav-links {
    display: none;
    position: absolute;
    top: 64px; left: 0; right: 0;
    background: rgba(255,255,255,0.98);
    backdrop-filter: blur(20px);
    flex-direction: column;
    padding: 16px 32px 24px;
    gap: 4px;
    border-bottom: 1px solid var(--border);
  }
  .nav-links.open { display: flex; }
  .nav-links a { width: 100%; padding: 10px 14px; }
  .nav-links .nav-cta { margin-left: 0; margin-top: 8px; text-align: center; }
}

/* ═══ NAV (.site-nav) ═══
   Used by: recruit, yakata
   ═══════════════════════ */
.site-nav {
  position: fixed; top: 0; left: 0; right: 0; z-index: 1000;
  background: rgba(255,255,255,0.92);
  backdrop-filter: blur(20px); -webkit-backdrop-filter: blur(20px);
  border-bottom: 1px solid rgba(0,0,0,0.08);
  transition: all 0.3s;
}
.site-nav.scrolled { box-shadow: 0 1px 12px rgba(0,0,0,0.06); }
.site-nav-inner {
  max-width: 1200px; margin: 0 auto; padding: 0 32px;
  display: flex; align-items: center; justify-content: space-between; height: 64px;
}
.site-nav-logo {
  font-family: var(--font-serif);
  font-size: 1.15rem; font-weight: 700; color: #0a0a0a;
  text-decoration: none; letter-spacing: 0.04em; transition: opacity 0.3s;
}
.site-nav-logo:hover { opacity: 0.6; }
.site-nav-links {
  display: flex; align-items: center; gap: 4px; list-style: none; margin: 0; padding: 0;
}
.site-nav-links a {
  text-decoration: none; color: #555; font-family: var(--font-sans);
  font-size: 0.82rem; font-weight: 500; padding: 6px 14px; border-radius: 6px; transition: all 0.2s;
}
.site-nav-links a:hover { color: #0a0a0a; background: #f0f0f0; }
.site-nav-cta {
  background: #0a0a0a !important; color: #fff !important;
  padding: 8px 20px !important; border-radius: 100px !important; margin-left: 8px !important; font-weight: 500 !important;
}
.site-nav-cta:hover { background: #CC2936 !important; }
.site-hamburger {
  display: none; background: none; border: none; cursor: pointer; padding: 8px;
}
.site-hamburger span {
  display: block; width: 20px; height: 1.5px; background: #0a0a0a; margin: 5px 0; transition: 0.3s;
}
@media (max-width: 768px) {
  .site-hamburger { display: block; }
  .site-nav-links {
    display: none; position: absolute; top: 64px; left: 0; right: 0;
    background: rgba(255,255,255,0.98); backdrop-filter: blur(20px);
    flex-direction: column; padding: 16px 32px 24px; gap: 4px;
    border-bottom: 1px solid rgba(0,0,0,0.08);
  }
  .site-nav-links.open { display: flex; }
  .site-nav-links a { width: 100%; padding: 10px 14px !important; }
  .site-nav-cta { margin-left: 0 !important; margin-top: 8px !important; text-align: center; }
}

/* ═══ BUTTONS ═══ */
.btn {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 14px 32px;
  border-radius: 100px;
  font-family: var(--font-sans);
  font-size: 0.9rem;
  font-weight: 500;
  text-decoration: none;
  transition: all 0.3s;
  cursor: pointer;
  border: none;
}

.btn-black {
  background: var(--black);
  color: var(--white);
}

.btn-black:hover { background: var(--red); transform: translateY(-2px); box-shadow: 0 8px 24px rgba(204,41,54,0.2); }

.btn-outline {
  background: transparent;
  color: var(--black);
  border: 1.5px solid var(--gray-300);
}

.btn-outline:hover { border-color: var(--black); transform: translateY(-2px); }

.btn-red {
  background: var(--red);
  color: var(--white);
}

.btn-red:hover { background: var(--red-dark); transform: translateY(-2px); box-shadow: 0 8px 24px rgba(204,41,54,0.25); }

/* ═══ SECTION BASE ═══ */
.section {
  padding: 100px 32px;
  max-width: 1200px;
  margin: 0 auto;
}

.section-label {
  font-size: 0.72rem;
  letter-spacing: 0.3em;
  text-transform: uppercase;
  color: var(--red);
  font-weight: 600;
  margin-bottom: 12px;
}

.section-title {
  font-family: var(--font-serif);
  font-size: clamp(1.5rem, 3vw, 2.2rem);
  font-weight: 700;
  color: var(--black);
  line-height: 1.5;
  margin-bottom: 16px;
}

.section-desc {
  font-size: 0.95rem;
  color: var(--gray-700);
  max-width: 560px;
  line-height: 2;
  margin-bottom: 48px;
}

/* ═══ FOOTER (.footer) ═══
   Used by: index, contact, work
   ═════════════════════════ */
.footer {
  background: var(--black);
  color: rgba(255,255,255,0.5);
  padding: 56px 32px 40px;
}

.footer-inner {
  max-width: 1200px;
  margin: 0 auto;
  display: grid;
  grid-template-columns: 1.5fr 1fr 1fr;
  gap: 40px;
}

.footer-brand {
  font-family: var(--font-serif);
  font-size: 1.15rem;
  font-weight: 700;
  color: var(--white);
  margin-bottom: 8px;
}

.footer-brand-sub {
  font-size: 0.78rem;
  opacity: 0.5;
  margin-bottom: 20px;
}

.footer-social {
  display: flex;
  gap: 8px;
  flex-wrap: wrap;
}

.footer-social a {
  font-size: 0.75rem;
  color: rgba(255,255,255,0.4);
  text-decoration: none;
  padding: 4px 10px;
  border: 1px solid rgba(255,255,255,0.1);
  border-radius: 4px;
  transition: all 0.3s;
}

.footer-social a:hover { color: var(--white); border-color: rgba(255,255,255,0.3); }

.footer h4 {
  font-size: 0.75rem;
  font-weight: 600;
  color: rgba(255,255,255,0.7);
  letter-spacing: 0.15em;
  text-transform: uppercase;
  margin-bottom: 16px;
}

.footer-links { list-style: none; }
.footer-links li { margin-bottom: 8px; }

.footer-links a {
  text-decoration: none;
  color: rgba(255,255,255,0.4);
  font-size: 0.82rem;
  transition: color 0.3s;
}

.footer-links a:hover { color: var(--white); }

.footer-bottom {
  max-width: 1200px;
  margin: 32px auto 0;
  padding-top: 24px;
  border-top: 1px solid rgba(255,255,255,0.06);
  display: flex;
  justify-content: space-between;
  align-items: center;
  font-size: 0.72rem;
  color: rgba(255,255,255,0.3);
}

.footer-bottom a {
  color: rgba(255,255,255,0.3);
  text-decoration: none;
  margin-left: 16px;
  transition: color 0.3s;
}

.footer-bottom a:hover { color: rgba(255,255,255,0.6); }

@media (max-width: 768px) {
  .footer-inner { grid-template-columns: 1fr; gap: 32px; }
  .footer-bottom { flex-direction: column; gap: 8px; text-align: center; }
}

/* ═══ FOOTER (.site-footer) ═══
   Used by: recruit, yakata
   ═════════════════════════════ */
.site-footer {
  background: #0a0a0a; color: rgba(255,255,255,0.5); padding: 56px 32px 40px;
  font-family: var(--font-sans);
}
.site-footer-inner {
  max-width: 1200px; margin: 0 auto;
  display: grid; grid-template-columns: 1.5fr 1fr 1fr; gap: 40px;
}
.site-footer-brand {
  font-family: var(--font-serif);
  font-size: 1.15rem; font-weight: 700; color: #fff; margin-bottom: 8px;
}
.site-footer-brand-sub { font-size: 0.78rem; opacity: 0.5; margin-bottom: 20px; }
.site-footer-social { display: flex; gap: 8px; flex-wrap: wrap; }
.site-footer-social a {
  font-size: 0.75rem; color: rgba(255,255,255,0.4); text-decoration: none;
  padding: 4px 10px; border: 1px solid rgba(255,255,255,0.1); border-radius: 4px; transition: all 0.3s;
}
.site-footer-social a:hover { color: #fff; border-color: rgba(255,255,255,0.3); }
.site-footer h4 {
  font-size: 0.75rem; font-weight: 600; color: rgba(255,255,255,0.7);
  letter-spacing: 0.15em; text-transform: uppercase; margin-bottom: 16px;
}
.site-footer-links { list-style: none; padding: 0; margin: 0; }
.site-footer-links li { margin-bottom: 8px; }
.site-footer-links a {
  text-decoration: none; color: rgba(255,255,255,0.4); font-size: 0.82rem; transition: color 0.3s;
}
.site-footer-links a:hover { color: #fff; }
.site-footer-bottom {
  max-width: 1200px; margin: 32px auto 0; padding-top: 24px;
  border-top: 1px solid rgba(255,255,255,0.06);
  display: flex; justify-content: space-between; align-items: center;
  font-size: 0.72rem; color: rgba(255,255,255,0.3);
}
.site-footer-bottom a {
  color: rgba(255,255,255,0.3); text-decoration: none; margin-left: 16px; transition: color 0.3s;
}
.site-footer-bottom a:hover { color: rgba(255,255,255,0.6); }
@media (max-width: 768px) {
  .site-footer-inner { grid-template-columns: 1fr; gap: 32px; }
  .site-footer-bottom { flex-direction: column; gap: 8px; text-align: center; }
}

/* ═══ COMING SOON (準備中リンク) ═══ */
/* リンク先未実装の項目を視覚的に無効化して表示 */
.coming-soon {
  color: rgba(255,255,255,0.25);
  font-size: 0.82rem;
  cursor: default;
}

.footer .coming-soon,
.site-footer .coming-soon {
  color: rgba(255,255,255,0.25);
}

.footer-bottom .coming-soon,
.site-footer-bottom .coming-soon {
  color: rgba(255,255,255,0.2);
  margin-left: 16px;
  font-size: 0.72rem;
}

.nav-links .coming-soon,
.site-nav-links .coming-soon {
  color: var(--gray-500);
  font-size: 0.82rem;
  font-weight: 500;
  padding: 6px 14px;
}

/* ═══ SCROLL REVEAL ═══ */
.reveal {
  opacity: 0;
  transform: translateY(20px);
  transition: all 0.7s ease;
}

.reveal.visible {
  opacity: 1;
  transform: translateY(0);
}

/* ═══ TYPING TEXT (hero overlay) ═══ */
.typing-text {
  position: absolute;
  font-family: 'Shippori Mincho', serif;
  color: #0a0a0a;
  white-space: nowrap;
  pointer-events: none;
  user-select: none;
  transition: opacity 0.8s ease;
}
