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

:root {
  --ink:    #18160f;
  --ink2:   #3a3830;
  --ink3:   #7a776e;
  --paper:  #f5f2eb;
  --paper2: #ede9df;
  --paper3: #e0dcd0;
  --border: #ccc9be;
  --dark:   #1c1a12;
  --dark2:  #2a2820;
  --accent: #d4ff00;
  --acc2:   #a8cc00;
  --max-w:  1280px;
}

html { scroll-behavior: smooth; }

body {
  font-family: 'Noto Sans JP', sans-serif;
  background: var(--paper);
  color: var(--ink);
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}

/* ─── nav ─── */
.nav {
  position: fixed; top: 0; left: 0; right: 0; z-index: 200;
  display: flex; justify-content: flex-end; align-items: center;
  padding: 22px clamp(24px,4vw,64px);
  transition: background .4s;
}
.nav.scrolled {
  background: rgba(28,26,18,.93);
  backdrop-filter: blur(12px);
  border-bottom: 1px solid var(--dark2);
}
.nav-links { display: flex; gap: 32px; list-style: none; }
.nav-links a {
  font-family: 'DM Sans', sans-serif;
  font-size: 11px; letter-spacing: .18em; text-transform: uppercase;
  color: rgba(255,255,255,.7); text-decoration: none; transition: color .2s;
}
.nav-links a:hover { color: var(--accent); }

/* ─── hero ─── */
.hero {
  position: relative; width: 100%;
  height: 100vh; min-height: 640px; max-height: 960px;
  background: var(--dark); overflow: hidden;
}
.hero-img {
  position: absolute; inset: 0;
  display: flex; align-items: center; justify-content: center;
  background: linear-gradient(135deg, #2e2b20 0%, #18160f 100%);
}
.hero-img-hint { display: flex; flex-direction: column; align-items: center; gap: 12px; opacity: .15; }
.hero-img-hint svg { width: 60px; height: 60px; }
.hero-img-hint span { font-size: 11px; letter-spacing: .12em; text-transform: uppercase; color: #888; }
.hero-overlay {
  position: absolute; inset: 0;
  background: linear-gradient(to top, rgba(10,8,2,.85) 0%, rgba(10,8,2,.4) 40%, rgba(10,8,2,.15) 100%);
}
.hero-bar { position: absolute; left: 0; top: 0; bottom: 0; width: 6px; background: var(--accent); z-index: 2; }

/* 中央の超大型キャッチ */
.hero-center {
  position: absolute; inset: 0; z-index: 3;
  display: flex; flex-direction: column;
  align-items: center; justify-content: center;
  text-align: center; gap: 24px;
  padding: 72px clamp(24px,4vw,80px) 0;
}
.hero-main-copy {
  font-family: 'Anton', sans-serif;
  font-size: clamp(52px, 18vw, 270px);
  letter-spacing: .03em; line-height: 1.05;
  color: #fff; text-transform: uppercase;
}
.hero-main-copy .accent { color: var(--accent); }
.hero-sub-copy {
  font-family: 'DM Sans', sans-serif;
  font-size: clamp(12px, 1.4vw, 16px); font-weight: 300;
  letter-spacing: .28em; text-transform: uppercase;
  color: rgba(255,255,255,.4);
}

/* stagger animations */
.hero-anim {
  opacity: 0; transform: translateY(32px);
  animation: heroFadeUp .9s cubic-bezier(.16,1,.3,1) forwards;
}
.hero-anim-1 { animation-delay: .1s; }
.hero-anim-2 { animation-delay: .3s; }
.hero-anim-3 { animation-delay: .5s; }
.hero-anim-4 { animation-delay: .7s; }
.hero-anim-5 { animation-delay: .9s; }
@keyframes heroFadeUp {
  to { opacity: 1; transform: translateY(0); }
}

/* 左下：名前 */
.hero-bottom {
  position: absolute; bottom: 0; left: 0; right: 0; z-index: 4;
  padding: 0 clamp(36px,5vw,80px) 48px;
  display: flex; align-items: flex-end; justify-content: space-between;
}
.hero-name-block { display: flex; flex-direction: column; gap: 2px; }
.hero-name-ja {
  font-size: 11px; font-weight: 300; letter-spacing: .28em;
  color: rgba(255,255,255,.35);
}
.hero-name-en {
  font-family: 'DM Sans', sans-serif;
  font-size: clamp(13px,1.4vw,16px); font-weight: 400; letter-spacing: .18em; text-transform: uppercase;
  color: rgba(255,255,255,.7);
}
.hero-name-dot { display: inline-block; width: 6px; height: 6px; background: var(--accent); border-radius: 50%; margin-left: 6px; vertical-align: middle; }
.hero-role {
  font-family: 'DM Sans', sans-serif;
  font-size: 10px; font-weight: 300; letter-spacing: .18em; text-transform: uppercase;
  color: rgba(255,255,255,.3); margin-top: 4px;
}
.hero-cta {
  font-family: 'DM Sans', sans-serif; font-size: 12px; letter-spacing: .16em; text-transform: uppercase;
  color: var(--accent); border-bottom: 1px solid var(--accent);
  padding-bottom: 3px; text-decoration: none; transition: opacity .2s;
}
.hero-cta:hover { opacity: .7; }
.hero-scroll {
  position: absolute; bottom: 32px; left: 50%; transform: translateX(-50%);
  font-family: 'DM Sans', sans-serif; font-size: 10px; letter-spacing: .22em; text-transform: uppercase;
  color: rgba(255,255,255,.25); z-index: 5; display: flex; flex-direction: column; align-items: center; gap: 8px;
}
.hero-scroll-line { width: 1px; height: 40px; background: rgba(255,255,255,.2); animation: scrollLine 1.8s ease-in-out infinite; }
@keyframes scrollLine { 0%,100%{transform:scaleY(1);opacity:.3} 50%{transform:scaleY(.4);opacity:.8} }

/* ─── ticker ─── */
.ticker-bar {
  width: 100%; display: flex; align-items: center; justify-content: space-between;
  padding: 12px clamp(24px,4vw,64px); background: var(--accent); overflow: hidden;
}
.ticker-side { font-family: 'Bebas Neue', sans-serif; font-size: 16px; letter-spacing: .2em; color: var(--dark); white-space: nowrap; flex-shrink: 0; }
.ticker-mid { flex: 1; overflow: hidden; margin: 0 32px; }
.ticker-inner { display: flex; gap: 32px; white-space: nowrap; }
.ticker-word { font-family: 'Bebas Neue', sans-serif; font-size: 16px; letter-spacing: .18em; color: var(--dark); }

/* ─── ABOUT: full-bleed dark section ─── */
.about-sec {
  width: 100%; background: var(--dark);
  padding: 120px clamp(24px,4vw,64px);
}
.about-inner { max-width: var(--max-w); margin-inline: auto; }
.about-eyebrow {
  font-family: 'DM Sans', sans-serif; font-size: 11px; letter-spacing: .3em; text-transform: uppercase;
  color: #888076; margin-bottom: 32px; display: flex; align-items: center; gap: 16px;
}
.about-eyebrow::after { content: ''; flex: 1; max-width: 80px; height: 1px; background: #888076; }
.about-lead {
  font-family: 'Anton', sans-serif;
  font-size: clamp(20px, 10vw, 220px); letter-spacing: .03em; text-transform: uppercase;
  color: #fff; line-height: .9; margin-bottom: 64px;
  white-space: nowrap;
}
.about-lead span { color: var(--accent); }
.about-body-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 48px; align-items: start; }
.about-text { font-size: 17px; font-weight: 400; line-height: 1.95; color: rgba(255,255,255,.65); }
.about-stats { display: flex; flex-direction: column; gap: 0; border: 1px solid #2a2820; }
.stat-item { padding: 28px 32px; border-bottom: 1px solid #2a2820; display: flex; align-items: baseline; justify-content: space-between; gap: 24px; }
.stat-item:last-child { border-bottom: none; }
.stat-num { font-family: 'Bebas Neue', sans-serif; font-size: 72px; letter-spacing: .02em; color: var(--accent); line-height: 1; white-space: nowrap; }
.stat-num-sm { font-family: 'Bebas Neue', sans-serif; font-size: 44px; letter-spacing: .02em; color: var(--accent); line-height: 1; }
.stat-label { font-size: 14px; font-weight: 400; color: rgba(255,255,255,.55); line-height: 1.6; text-align: right; }

/* ─── SKILLS: white section, big type ─── */
.skills-sec {
  width: 100%; background: var(--paper);
  padding: 120px clamp(24px,4vw,64px) 0;
}
.skills-inner { max-width: var(--max-w); margin-inline: auto; }
.skills-eyebrow {
  font-family: 'DM Sans', sans-serif; font-size: 11px; letter-spacing: .3em; text-transform: uppercase;
  color: var(--ink3); margin-bottom: 32px; display: flex; align-items: center; gap: 16px;
}
.skills-eyebrow::after { content: ''; flex: 1; max-width: 80px; height: 1px; background: var(--border); }
.skills-lead {
  font-family: 'Anton', sans-serif;
  font-size: clamp(20px, 7.5vw, 220px); letter-spacing: .03em; text-transform: uppercase;
  color: var(--ink); line-height: .9; margin-bottom: 80px;
  white-space: nowrap;
}
.skills-lead span { color: var(--acc2); }
.skills-list { display: flex; flex-direction: column; border-top: 1px solid var(--border); }
.skill-row {
  display: grid; grid-template-columns: 60px 1fr 200px 1fr;
  gap: 40px; align-items: center;
  padding: 24px 0; border-bottom: 1px solid var(--border);
  transition: background .2s;
}
.skill-row:hover { background: var(--paper2); padding-inline: 20px; margin-inline: -20px; }
.skill-idx { font-family: 'Bebas Neue', sans-serif; font-size: 18px; letter-spacing: .12em; color: var(--border); }
.skill-title { font-family: 'Bebas Neue', sans-serif; font-size: clamp(36px, 4vw, 56px); letter-spacing: .04em; color: var(--ink); line-height: 1; }
.skill-ring-wrap { display: flex; justify-content: center; }
.skill-detail { font-size: 15px; font-weight: 400; line-height: 1.85; color: var(--ink2); }

/* ─── WORKS: novasell-style big image cards ─── */
.works-sec { width: 100%; background: var(--dark); }
.works-top {
  max-width: var(--max-w); margin-inline: auto;
  padding: 120px clamp(24px,4vw,64px) 64px;
  display: flex; align-items: flex-end; justify-content: space-between; gap: 40px;
}
.works-eyebrow {
  font-family: 'DM Sans', sans-serif; font-size: 11px; letter-spacing: .3em; text-transform: uppercase;
  color: #888076; margin-bottom: 24px; display: flex; align-items: center; gap: 16px;
}
.works-eyebrow::after { content: ''; flex: 1; max-width: 80px; height: 1px; background: #888076; }
.works-lead {
  font-family: 'Anton', sans-serif;
  font-size: clamp(20px, 7.5vw, 220px); letter-spacing: .03em; text-transform: uppercase;
  color: #fff; line-height: .9;
  white-space: nowrap;
}
.works-lead span { color: var(--accent); }
.see-all {
  font-family: 'DM Sans', sans-serif; font-size: 12px; letter-spacing: .16em; text-transform: uppercase;
  color: rgba(255,255,255,.5); border-bottom: 1px solid rgba(255,255,255,.2);
  padding-bottom: 3px; text-decoration: none; white-space: nowrap; transition: color .2s;
}
.see-all:hover { color: #fff; }

.works-list { display: flex; flex-direction: column; }
.work-card {
  position: relative; width: 100%;
  display: block; text-decoration: none; color: inherit;
  overflow: hidden; cursor: pointer;
  border-top: 1px solid #2a2820;
}
.work-card-inner {
  display: grid; grid-template-columns: 1fr 1fr;
  min-height: 480px;
  transition: transform .6s cubic-bezier(.16,1,.3,1);
}
.work-card.flip .work-card-inner { direction: rtl; }
.work-card.flip .work-card-inner > * { direction: ltr; }
.work-card:hover .work-card-inner { transform: scale(1.005); }

.work-img {
  background: #2a2820;
  display: flex; align-items: center; justify-content: center;
  position: relative; overflow: hidden; min-height: 440px;
}
.work-img-bg {
  position: absolute; inset: 0;
  background: linear-gradient(135deg, #2a2820 0%, #1a1810 100%);
  transition: transform .7s cubic-bezier(.16,1,.3,1);
}
.work-card:hover .work-img-bg { transform: scale(1.04); }
.work-img-placeholder { position: relative; z-index: 1; font-size: 11px; letter-spacing: .12em; text-transform: uppercase; color: rgba(255,255,255,.2); }
.work-big-num {
  position: absolute; bottom: -0.05em; right: -0.02em;
  font-family: 'Anton', sans-serif;
  font-size: clamp(100px, 16vw, 200px); letter-spacing: .02em;
  color: rgba(255,255,255,.04); line-height: 1; pointer-events: none; z-index: 0; white-space: nowrap;
}
.work-arrow-icon {
  position: absolute; top: 28px; right: 32px; z-index: 2;
  font-family: 'DM Sans', sans-serif; font-size: 28px; color: rgba(255,255,255,.3);
  opacity: 0; transform: translate(-8px, 8px);
  transition: opacity .3s, transform .3s;
}
.work-card:hover .work-arrow-icon { opacity: 1; transform: translate(0,0); }

.work-text {
  padding: 64px 72px;
  display: flex; flex-direction: column; justify-content: center; gap: 24px;
  background: var(--dark);
  border-left: 1px solid #2a2820;
}
.work-card.flip .work-text { border-left: none; border-right: 1px solid #2a2820; }
.work-index { font-family: 'Bebas Neue', sans-serif; font-size: 14px; letter-spacing: .2em; color: #555; }
.work-cat { font-family: 'DM Sans', sans-serif; font-size: 11px; letter-spacing: .2em; text-transform: uppercase; color: #888076; }
.work-title {
  font-family: 'Anton', sans-serif;
  font-size: clamp(36px, 4.5vw, 60px); letter-spacing: .04em;
  color: #fff; line-height: 1; transition: color .2s;
}
.work-card:hover .work-title { color: var(--accent); }
.work-desc { font-size: 15px; font-weight: 400; line-height: 1.85; color: rgba(255,255,255,.5); max-width: 340px; }
.work-cta {
  display: inline-flex; align-items: center; gap: 10px;
  font-family: 'DM Sans', sans-serif; font-size: 12px; letter-spacing: .16em; text-transform: uppercase;
  color: rgba(255,255,255,.4); border-bottom: 1px solid rgba(255,255,255,.15);
  padding-bottom: 3px; margin-top: 8px; width: fit-content;
  transition: color .25s, border-color .25s;
}
.work-card:hover .work-cta { color: var(--accent); border-color: var(--accent); }

/* wip card */
.work-card.wip { cursor: default; pointer-events: none; }
.work-card.wip .work-img { background: #1e1c14; }
.work-card.wip .work-img-bg { opacity: .4; }
.wip-badge { position: relative; z-index: 1; font-family: 'Bebas Neue', sans-serif; font-size: 14px; letter-spacing: .2em; color: #555; border: 1px solid #2a2820; padding: 8px 20px; border-radius: 2px; }
.work-card.wip .work-title { color: #333; }

/* ─── CONTACT: full bleed ─── */
.contact-sec {
  width: 100%;
  background: linear-gradient(to right, var(--dark) 50%, var(--paper2) 50%);
  border-top: 1px solid var(--dark2);
}
.contact-inner { max-width: var(--max-w); margin-inline: auto; display: grid; grid-template-columns: 1fr 1fr; }
.contact-left { padding: 100px clamp(32px,5vw,80px); display: flex; flex-direction: column; gap: 28px; }
.contact-eyebrow { font-family: 'DM Sans', sans-serif; font-size: 11px; letter-spacing: .3em; text-transform: uppercase; color: #888076; }
.contact-big { font-family: 'Anton', sans-serif; font-size: clamp(56px,7vw,96px); letter-spacing: .03em; color: var(--accent); line-height: .95; }
.contact-sub { font-size: 17px; font-weight: 400; line-height: 1.85; color: rgba(255,255,255,.55); }
.contact-btn {
  display: inline-flex; align-items: center; gap: 10px;
  font-family: 'DM Sans', sans-serif; font-size: 13px; letter-spacing: .14em; text-transform: uppercase;
  padding: 18px 36px; border: 2px solid var(--accent); border-radius: 2px;
  color: var(--dark); background: var(--accent); font-weight: 700;
  transition: background .2s, color .2s; width: fit-content; margin-top: 8px; text-decoration: none;
}
.contact-btn:hover { background: transparent; color: var(--accent); }
.contact-right { padding: 100px clamp(32px,5vw,80px); display: flex; flex-direction: column; gap: 28px; justify-content: center; }
.crow { display: flex; flex-direction: column; gap: 6px; }
.crow-lbl { font-family: 'DM Sans', sans-serif; font-size: 11px; letter-spacing: .18em; text-transform: uppercase; color: var(--ink3); }
.crow-val { font-size: 17px; font-weight: 400; color: var(--ink2); }

.sp-br { display: none; }
.pc-br { display: block; }

/* ─── footer ─── */
.site-footer {
  width: 100%; border-top: 1px solid var(--dark2);
  padding: 24px clamp(24px,4vw,64px);
  display: flex; align-items: center; justify-content: center;
  background: var(--dark);
}
.footer-copy { font-family: 'Bebas Neue', sans-serif; font-size: 16px; letter-spacing: .22em; color: #888076; }

/* ─── responsive ─── */
@media (max-width: 768px) {
  /* ── 横スクロール根絶 ── */
  html, body { overflow-x: hidden; max-width: 100vw; }

  /* ── nav ── */
  .nav-links li:not(:first-child) { display: none; }
  .nav { padding: 16px 20px; }

  /* ── hero ── */
  .hero { overflow: hidden; }
  .hero-center { padding: 0 20px; align-items: flex-start; text-align: left; }
  .hero-main-copy {
    font-size: clamp(44px, 13vw, 80px);
    letter-spacing: .01em;
    word-break: break-word;
    overflow-wrap: break-word;
    white-space: normal;
  }
  .hero-sub-copy { font-size: 11px; letter-spacing: .16em; }
  .hero-bottom { padding: 0 20px 36px; flex-wrap: wrap; gap: 16px; }
  .hero-scroll { display: none; }

  /* ── ticker ── */
  .ticker-side:last-child { display: none; }

  /* ── about ── */
  .about-sec { padding: 72px 20px; overflow: hidden; }
  .about-lead { margin-bottom: 40px; }
  .about-body-grid { grid-template-columns: 1fr; }
  .about-eyebrow { font-size: 10px; }

  /* ── skills ── */
  .skills-sec { padding: 72px 20px; overflow: hidden; }
  .skills-lead { margin-bottom: 40px; }
  /* ── skills: リング・説明をスマホでも表示 ── */
  .skill-row {
    grid-template-columns: 1fr auto;
    grid-template-rows: auto auto;
    gap: 12px 16px;
    padding: 32px 0;
    align-items: start;
  }
  .skill-idx { grid-column: 1; grid-row: 1; align-self: center; }
  .skill-title { grid-column: 1; grid-row: 1; font-size: clamp(36px, 9vw, 56px); align-self: center; margin-left: 28px; }
  .skill-row .skill-ring-wrap { display: flex; grid-column: 2; grid-row: 1 / 3; align-self: center; }
  .skill-ring-wrap svg { width: 80px; height: 80px; }
  .skill-row .skill-detail { display: block; grid-column: 1; grid-row: 2; }

  /* ── works ── */
  .works-sec { padding: 0 0 56px; overflow: hidden; }
  .works-top { padding: 56px 20px 40px; }
  .works-top { flex-direction: column; align-items: flex-start; gap: 16px; }
  .work-card-inner, .work-card.flip .work-card-inner { grid-template-columns: 1fr; direction: ltr; }
  .work-img { min-height: 220px; }
  .work-text { padding: 32px 20px; border-left: none !important; border-right: none !important; border-top: 1px solid #2a2820; }

  /* ── contact ── */
  .contact-inner { grid-template-columns: 1fr; }
  .contact-sec { background: var(--dark); }
  .contact-right { background: var(--paper2); padding: 60px 20px; }
  .contact-left { padding: 60px 20px; }

  /* ── work title / stats ── */
  .work-title { font-size: clamp(22px, 5.5vw, 36px); letter-spacing: .02em; }
  .pc-br { display: none; }
  .stat-num { font-size: clamp(40px, 9vw, 64px); white-space: nowrap; }
  .stat-num-sm { font-size: clamp(20px, 5vw, 32px); line-height: 1.1; }
  .stat-item { padding: 20px; gap: 12px; }
  .stat-label { font-size: 13px; color: rgba(255,255,255,.8); line-height: 1.65; }
}
