/* ── Tokens ── */
:root {
  --yellow:       #F5C400;
  --yellow-muted: rgba(245, 196, 0, 0.12);
  --black:        #111111;
  --white:        #FFFFFF;
  --gray:         #888888;
  --lightgray:    #F4F4F4;
  --border:       #E8E8E8;
  --text:         #1A1A1A;
  --max-w:        1000px;
  --side:         48px;
  --radius:       14px;
  --radius-sm:    8px;
  --shadow:       0 2px 12px rgba(0, 0, 0, 0.07);
  --shadow-hover: 0 10px 32px rgba(0, 0, 0, 0.13);
}

/* ── Reset ── */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
html { font-size: 16px; scroll-behavior: smooth; }
body {
  font-family: 'Noto Sans JP', sans-serif;
  font-weight: 300;
  color: var(--text);
  background: var(--white);
  line-height: 1.9;
  -webkit-font-smoothing: antialiased;
}
img {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: cover;
}

/* ── Layout ── */
.wrap {
  max-width: var(--max-w);
  margin: 0 auto;
  padding: 0 var(--side);
}

/* ── Nav ── */
nav {
  position: sticky;
  top: 0;
  background: rgba(255, 255, 255, 0.88);
  backdrop-filter: blur(14px);
  -webkit-backdrop-filter: blur(14px);
  border-bottom: 1px solid var(--border);
  z-index: 100;
}
.nav-inner {
  max-width: var(--max-w);
  margin: 0 auto;
  padding: 0 var(--side);
  height: 56px;
  display: flex;
  align-items: center;
  justify-content: space-between;
}
.nav-logo {
  text-decoration: none;
  display: flex;
  align-items: center;
}
.nav-logo-img {
  height: 28px;
  width: auto;
  display: block;
  object-fit: contain;
}
.nav-links {
  display: flex;
  gap: 32px;
  list-style: none;
}
.nav-links a {
  font-size: 0.72rem;
  font-weight: 400;
  color: var(--gray);
  text-decoration: none;
  letter-spacing: 0.06em;
  transition: color 0.2s;
}
.nav-links a:hover { color: var(--black); }

/* ── Hero ── */
.hero {
  padding-bottom: 72px;
  border-bottom: 1px solid var(--border);
}

/* フルワイドバナー（.wrap を突き抜けて 100vw） */
.hero-banner {
  position: relative;
  left: 50%;
  width: 100vw;
  margin-left: -50vw;
  aspect-ratio: 21 / 8;
  overflow: hidden;
  margin-bottom: 56px;
}
.hero-banner-bg {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center 55%;
  display: block;
}
.hero-banner-overlay {
  position: absolute;
  inset: 0;
  display: flex;
  align-items: center;
  justify-content: center;
}
.hero-banner-name {
  width: clamp(180px, 38vw, 480px);
  max-width: 80vw;
  height: auto;
  display: block;
  filter:
    drop-shadow(0 0 6px rgba(255,255,255,1))
    drop-shadow(0 0 14px rgba(255,255,255,0.95))
    drop-shadow(0 0 28px rgba(255,255,255,0.7));
}

/* テキストコンテンツ */
.hero-content {
  max-width: 600px;
}
.hero-headline {
  font-size: clamp(1.85rem, 4vw, 2.6rem);
  font-weight: 700;
  line-height: 1.5;
  letter-spacing: -0.01em;
  color: var(--black);
  margin-bottom: 28px;
}
.hero-headline em {
  font-style: normal;
  color: var(--yellow);
  background: var(--black);
  padding: 2px 8px;
  border-radius: 4px;
}
.hero-body {
  font-size: 0.875rem;
  color: #555;
  line-height: 2;
  margin-bottom: 32px;
}
.hero-tags {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
}
.hero-tag {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  font-size: 0.68rem;
  font-weight: 500;
  color: var(--gray);
  background: var(--lightgray);
  padding: 5px 14px;
  border-radius: 100px;
  letter-spacing: 0.04em;
  border: 1px solid var(--border);
}
.hero-tag svg {
  flex-shrink: 0;
  color: var(--gray);
}

/* ── Section base ── */
.section {
  padding: 80px 0;
  border-bottom: 1px solid var(--border);
}
.section-header {
  margin-bottom: 40px;
}
.section-kicker {
  font-size: 0.65rem;
  font-weight: 700;
  letter-spacing: 0.22em;
  color: var(--yellow);
  text-transform: uppercase;
  margin-bottom: 8px;
}
.section-title {
  font-size: 1.2rem;
  font-weight: 700;
  letter-spacing: 0.02em;
  color: var(--black);
}

/* ── Services — Bento Grid ── */
.service-bento {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 16px;
}
.service-card {
  background: var(--white);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 28px 24px;
  transition: transform 0.22s ease, box-shadow 0.22s ease;
}
.service-card:hover {
  transform: translateY(-4px);
  box-shadow: var(--shadow-hover);
}
.service-card--featured {
  grid-column: span 2;
  background: var(--black);
  border-color: var(--black);
}
.service-card-label {
  font-size: 0.63rem;
  font-weight: 700;
  letter-spacing: 0.18em;
  color: var(--yellow);
  text-transform: uppercase;
  margin-bottom: 12px;
}
.service-card-name {
  display: flex;
  align-items: center;
  gap: 8px;
  font-size: 0.92rem;
  font-weight: 500;
  color: var(--black);
  margin-bottom: 10px;
  line-height: 1.5;
}
.service-card-name svg {
  color: var(--yellow);
  flex-shrink: 0;
}
.service-card--featured .service-card-name {
  font-size: 1.05rem;
  color: var(--white);
}
.service-card-desc {
  font-size: 0.78rem;
  color: var(--gray);
  line-height: 1.85;
}
.service-card--featured .service-card-desc {
  color: #999;
}

/* ── Works — Card Grid ── */
.works-note {
  font-size: 0.7rem;
  color: #bbb;
  margin-bottom: 24px;
  letter-spacing: 0.04em;
}
.work-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 20px;
}
.work-card {
  border: 1px solid var(--border);
  border-radius: var(--radius);
  overflow: hidden;
  transition: transform 0.22s ease, box-shadow 0.22s ease;
}
.work-card:hover {
  transform: translateY(-4px);
  box-shadow: var(--shadow-hover);
}
.work-thumb {
  aspect-ratio: 16 / 10;
  background: var(--lightgray);
  overflow: hidden;
  position: relative;
}
.work-thumb img {
  transition: transform 0.4s ease;
}
.work-card:hover .work-thumb img {
  transform: scale(1.05);
}
.work-body {
  padding: 20px 20px 24px;
}
.work-tag {
  font-size: 0.62rem;
  font-weight: 700;
  letter-spacing: 0.14em;
  color: var(--yellow);
  text-transform: uppercase;
  margin-bottom: 8px;
}
.work-body-title {
  font-size: 0.85rem;
  font-weight: 500;
  color: var(--black);
  margin-bottom: 8px;
  line-height: 1.6;
}
.work-body-desc {
  font-size: 0.76rem;
  color: var(--gray);
  line-height: 1.85;
}

/* ── Profile ── */
.profile-inner {
  display: grid;
  grid-template-columns: 260px 1fr;
  gap: 56px;
  align-items: start;
}
.profile-photo {
  border-radius: var(--radius);
  overflow: hidden;
  aspect-ratio: 3 / 4;
  background: var(--lightgray);
  box-shadow: var(--shadow);
}
.profile-photo-img {
  object-position: top center;
}
.profile-text {
  font-size: 0.875rem;
  color: #444;
  line-height: 2.1;
  margin-bottom: 28px;
}
.profile-career {
  display: flex;
  flex-wrap: wrap;
  gap: 0;
  padding: 20px 24px;
  background: var(--lightgray);
  border-left: 3px solid var(--yellow);
  border-radius: 0 var(--radius-sm) var(--radius-sm) 0;
}
.career-step {
  font-size: 0.75rem;
  color: #666;
  font-weight: 400;
  white-space: nowrap;
}
.career-arrow {
  font-size: 0.75rem;
  color: var(--yellow);
  margin: 0 8px;
  font-weight: 700;
}

/* ── Blog ── */
.blog-badge {
  display: inline-block;
  font-size: 0.62rem;
  font-weight: 700;
  letter-spacing: 0.1em;
  color: var(--gray);
  background: var(--lightgray);
  padding: 4px 14px;
  border-radius: 100px;
  margin-bottom: 20px;
  text-transform: uppercase;
  border: 1px solid var(--border);
}
.blog-link {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  font-size: 0.85rem;
  color: var(--black);
  text-decoration: none;
  font-weight: 400;
  margin-top: 8px;
  transition: color 0.2s;
}
.blog-link::after {
  content: '→';
  color: var(--yellow);
  font-weight: 700;
  transition: transform 0.2s;
}
.blog-link:hover { color: var(--gray); }
.blog-link:hover::after { transform: translateX(4px); }

/* ── Contact ── */
.contact-note {
  font-size: 0.82rem;
  color: var(--gray);
  margin-bottom: 28px;
  line-height: 1.9;
  max-width: 440px;
}
.contact-mail-wrap {
  display: inline-block;
  border-bottom: 2px solid var(--yellow);
  padding-bottom: 4px;
}
.contact-mail {
  font-size: 1.1rem;
  font-weight: 500;
  color: var(--black);
  text-decoration: none;
  letter-spacing: 0.04em;
  transition: color 0.2s;
}
.contact-mail:hover { color: var(--gray); }

/* ── Footer ── */
footer {
  padding: 36px 0 44px;
}
.footer-text {
  font-size: 0.68rem;
  color: #ccc;
  letter-spacing: 0.08em;
}

/* ── Responsive ── */
@media (max-width: 860px) {
  :root { --side: 28px; }
  .hero-banner { aspect-ratio: 16 / 7; }
  .service-bento { grid-template-columns: 1fr 1fr; }
  .service-card--featured { grid-column: span 2; }
  .work-grid { grid-template-columns: 1fr 1fr; }
  .profile-inner {
    grid-template-columns: 1fr;
    gap: 32px;
  }
  .profile-photo { aspect-ratio: 1 / 1; max-width: 220px; }
}

@media (max-width: 600px) {
  :root { --side: 20px; }
  .nav-links { display: none; }
  .hero { padding-bottom: 48px; }
  .hero-banner { aspect-ratio: 4 / 3; margin-bottom: 36px; }
  .section { padding: 56px 0; }
  .service-bento { grid-template-columns: 1fr; gap: 12px; }
  .service-card--featured { grid-column: span 1; }
  .work-grid { grid-template-columns: 1fr; gap: 16px; }
  .career-step { white-space: normal; }
}

@media (prefers-reduced-motion: reduce) {
  * { transition: none !important; }
}
