/* ===== Reset & Variables ===== */
:root {
  --brand: #7A0F14;
  --brand-light: #9A1A20;
  --brand-dark: #5C0A0F;
  --brand-bg: #FDF2F2;
  --brand-bg2: #FDEAEA;
  --brand-005: rgba(122,15,20,.05);
  --brand-008: rgba(122,15,20,.08);
  --brand-010: rgba(122,15,20,.10);
  --brand-015: rgba(122,15,20,.15);
  --white: #FFFFFF;
  --gray-50: #F9FAFB;
  --gray-100: #F3F4F6;
  --gray-200: #E5E7EB;
  --gray-300: #D1D5DB;
  --gray-400: #9CA3AF;
  --gray-500: #6B7280;
  --gray-600: #4B5563;
  --gray-700: #374151;
  --gray-800: #1F2937;
  --gray-900: #111827;
  --max-w: 1120px;
  --radius: 12px;
  --radius-lg: 20px;
  --shadow-sm: 0 1px 2px rgba(0,0,0,.05);
  --shadow: 0 4px 6px -1px rgba(0,0,0,.07), 0 2px 4px -2px rgba(0,0,0,.05);
  --shadow-lg: 0 20px 40px -12px rgba(122,15,20,.12);
  --transition: 200ms cubic-bezier(.4,0,.2,1);
}

*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; -webkit-font-smoothing: antialiased; }
body {
  font-family: "Noto Sans JP", -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  color: var(--gray-800);
  background: var(--white);
  line-height: 1.7;
  font-size: 15px;
}
a { color: inherit; text-decoration: none; }
ul { list-style: none; }
img { max-width: 100%; display: block; }

.container { max-width: var(--max-w); margin: 0 auto; padding: 0 24px; }
.sp-only { display: none; }

/* ===== Buttons ===== */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  font-weight: 700;
  font-size: 14px;
  border-radius: 8px;
  border: none;
  cursor: pointer;
  transition: all var(--transition);
  white-space: nowrap;
  letter-spacing: .02em;
}
.btn--sm { height: 40px; padding: 0 20px; font-size: 13px; }
.btn--lg { height: 52px; padding: 0 32px; font-size: 15px; border-radius: 10px; }
.btn--primary {
  background: var(--brand);
  color: var(--white);
  box-shadow: 0 2px 8px rgba(122,15,20,.25);
}
.btn--primary:hover {
  background: var(--brand-light);
  transform: translateY(-1px);
  box-shadow: 0 4px 16px rgba(122,15,20,.3);
}
.btn--outline {
  background: transparent;
  color: var(--brand);
  border: 2px solid var(--brand);
}
.btn--outline:hover { background: var(--brand); color: var(--white); }
.btn--white {
  background: var(--white);
  color: var(--brand);
  box-shadow: 0 2px 8px rgba(0,0,0,.15);
}
.btn--white:hover {
  transform: translateY(-1px);
  box-shadow: 0 4px 16px rgba(0,0,0,.2);
}

/* ===== Header ===== */
.header {
  position: sticky;
  top: 0;
  z-index: 100;
  background: rgba(255,255,255,.94);
  backdrop-filter: blur(12px);
  border-bottom: 1px solid var(--gray-200);
}
.header-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 72px;
}
.logo img { height: 30px; }
.nav { display: flex; gap: 32px; }
.nav a {
  font-size: 13px;
  font-weight: 700;
  color: var(--gray-600);
  letter-spacing: .04em;
  transition: color var(--transition);
}
.nav a:hover { color: var(--brand); }

/* ===== Hero ===== */
.hero {
  position: relative;
  overflow: hidden;
  padding: 100px 0 80px;
  background:
    radial-gradient(ellipse 80% 60% at 80% 40%, rgba(122,15,20,.04), transparent),
    linear-gradient(170deg, var(--white) 0%, var(--gray-50) 50%, var(--brand-bg) 100%);
}
.hero-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 48px;
  align-items: center;
}
.hero-content { position: relative; z-index: 2; }
.hero-tag {
  display: inline-block;
  font-size: 13px;
  font-weight: 700;
  color: var(--brand);
  background: var(--brand-005);
  border: 1px solid var(--brand-010);
  padding: 6px 16px;
  border-radius: 999px;
  letter-spacing: .06em;
  margin-bottom: 24px;
}
h1 {
  font-size: 46px;
  font-weight: 900;
  line-height: 1.25;
  color: var(--gray-900);
  letter-spacing: .01em;
  margin-bottom: 24px;
}
.hero-lead {
  font-size: 15px;
  line-height: 2;
  color: var(--gray-500);
  margin-bottom: 40px;
}
.hero-lead strong { color: var(--gray-800); }
.hero-actions { display: flex; gap: 16px; flex-wrap: wrap; }

/* ===== Hero Visual ===== */
.hero-visual {
  position: relative;
  z-index: 2;
  display: flex;
  align-items: center;
  justify-content: center;
}
.hv-frame {
  position: relative;
  width: 100%;
  aspect-ratio: 1 / 1;
  max-width: 460px;
  margin: 0 auto;
}

/* 3x3 構造グリッド */
.hv-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  grid-template-rows: repeat(3, 1fr);
  gap: 12px;
  position: absolute;
  inset: 10%;
}
.hv-cell {
  border-radius: 14px;
  transition: transform .6s ease, opacity .6s ease;
}
.hv-cell--1 { background: var(--brand); opacity: .90; }
.hv-cell--2 { background: var(--brand); opacity: .18; }
.hv-cell--3 { background: var(--brand); opacity: .60; }
.hv-cell--4 { background: var(--brand); opacity: .12; }
.hv-cell--5 { background: var(--brand); opacity: .45; border-radius: 50%; }
.hv-cell--6 { background: var(--brand); opacity: .25; }
.hv-cell--7 { background: var(--brand); opacity: .50; }
.hv-cell--8 { background: var(--brand); opacity: .30; }
.hv-cell--9 { background: var(--brand); opacity: .85; }

/* アクセントライン */
.hv-line {
  position: absolute;
  background: var(--brand);
}
.hv-line--h {
  top: 50%;
  left: 5%;
  right: 5%;
  height: 2px;
  opacity: .10;
}
.hv-line--v {
  left: 50%;
  top: 5%;
  bottom: 5%;
  width: 2px;
  opacity: .10;
}

/* 成長バー（右下） */
.hv-bars {
  position: absolute;
  bottom: 0;
  right: 0;
  display: flex;
  align-items: flex-end;
  gap: 6px;
  padding: 8px;
}
.hv-bar {
  width: 18px;
  border-radius: 6px 6px 2px 2px;
  background: var(--brand);
}
.hv-bar--1 { height: 20px; opacity: .20; }
.hv-bar--2 { height: 32px; opacity: .30; }
.hv-bar--3 { height: 44px; opacity: .45; }
.hv-bar--4 { height: 58px; opacity: .60; }
.hv-bar--5 { height: 74px; opacity: .85; }

/* Nマーク（左上） */
.hv-n {
  position: absolute;
  top: 2%;
  left: 2%;
  font-size: 28px;
  font-weight: 900;
  color: var(--brand);
  opacity: .15;
  letter-spacing: .08em;
  line-height: 1;
}

/* ホバーアニメーション */
.hv-frame:hover .hv-cell--1 { transform: scale(1.05); }
.hv-frame:hover .hv-cell--5 { transform: scale(1.12); }
.hv-frame:hover .hv-cell--9 { transform: scale(1.05); }
.hv-frame:hover .hv-bar--5 { height: 82px; }

/* ===== Numbers ===== */
.numbers {
  padding: 48px 0;
  background: var(--brand);
  position: relative;
}
.numbers-grid {
  display: flex;
  align-items: center;
  justify-content: center;
}
.number-item {
  flex: 1;
  text-align: center;
  padding: 12px 16px;
}
.number-value {
  display: block;
  font-size: 48px;
  font-weight: 900;
  color: var(--white);
  line-height: 1.1;
  letter-spacing: -.02em;
}
.number-value small {
  font-size: 20px;
  font-weight: 700;
  opacity: .7;
}
.number-label {
  display: block;
  margin-top: 8px;
  font-size: 13px;
  font-weight: 500;
  color: rgba(255,255,255,.6);
  letter-spacing: .02em;
}
.number-divider {
  width: 1px;
  height: 60px;
  background: rgba(255,255,255,.18);
  flex-shrink: 0;
}

/* ===== Sections Common ===== */
.section { padding: 100px 0; }
.section--dark { background: var(--gray-900); }
.section--light { background: var(--gray-50); }

.section-header { text-align: center; margin-bottom: 56px; }
.section-header--light h2,
.section-header--light .section-tag,
.section-header--light .section-desc { color: var(--white); }
.section-header--light .section-tag {
  background: rgba(255,255,255,.08);
  border-color: rgba(255,255,255,.15);
  color: rgba(255,255,255,.7);
}
.section-header--light .section-desc { color: rgba(255,255,255,.55); }

.section-tag {
  display: inline-block;
  font-size: 12px;
  font-weight: 700;
  color: var(--brand);
  background: var(--brand-005);
  border: 1px solid var(--brand-008);
  padding: 4px 14px;
  border-radius: 999px;
  letter-spacing: .12em;
  margin-bottom: 16px;
}
.section-header h2 {
  font-size: 32px;
  font-weight: 900;
  line-height: 1.3;
  letter-spacing: -.01em;
}
.section-desc {
  margin-top: 16px;
  font-size: 15px;
  color: var(--gray-500);
  line-height: 1.8;
}

/* ===== Problem ===== */
.problem-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 24px;
}
.problem-card {
  padding: 32px;
  border-radius: var(--radius-lg);
  background: var(--white);
  border: 1px solid var(--gray-200);
  transition: all var(--transition);
}
.problem-card:hover {
  border-color: var(--gray-300);
  box-shadow: var(--shadow);
}
.problem-icon {
  width: 48px;
  height: 48px;
  border-radius: 12px;
  background: var(--brand-bg);
  color: var(--brand);
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 16px;
}
.problem-card h3 {
  font-size: 17px;
  font-weight: 700;
  margin-bottom: 8px;
  color: var(--gray-900);
}
.problem-card p {
  font-size: 14px;
  color: var(--gray-500);
  line-height: 1.8;
}

/* ===== Service ===== */
.service-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
}
.service-card {
  padding: 36px 28px;
  border-radius: var(--radius-lg);
  background: rgba(255,255,255,.04);
  border: 1px solid rgba(255,255,255,.08);
  transition: all var(--transition);
}
.service-card:hover {
  background: rgba(255,255,255,.07);
  border-color: rgba(255,255,255,.14);
}
.service-number {
  font-size: 40px;
  font-weight: 900;
  color: var(--brand-light);
  line-height: 1;
  margin-bottom: 20px;
  opacity: .5;
}
.service-card h3 {
  font-size: 20px;
  font-weight: 800;
  color: var(--white);
  margin-bottom: 4px;
}
.service-subtitle {
  font-size: 11px;
  font-weight: 700;
  color: rgba(255,255,255,.30);
  letter-spacing: .14em;
  margin-bottom: 16px;
}
.service-card > p:not(.service-subtitle) {
  font-size: 14px;
  color: rgba(255,255,255,.55);
  line-height: 1.8;
  margin-bottom: 20px;
}
.service-card ul { padding-left: 0; }
.service-card li {
  font-size: 13px;
  color: rgba(255,255,255,.45);
  line-height: 1.8;
  padding-left: 18px;
  position: relative;
}
.service-card li::before {
  content: "";
  position: absolute;
  left: 0;
  top: 10px;
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: var(--brand-light);
  opacity: .5;
}

/* ===== Strength ===== */
.strength-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 24px;
}
.strength-item {
  display: flex;
  gap: 20px;
  padding: 32px;
  border-radius: var(--radius-lg);
  background: var(--white);
  border: 1px solid var(--gray-200);
  transition: all var(--transition);
}
.strength-item:hover {
  border-color: var(--brand-015);
  box-shadow: var(--shadow-lg);
}
.strength-icon-wrap {
  width: 56px;
  height: 56px;
  min-width: 56px;
  border-radius: 14px;
  background: linear-gradient(135deg, var(--brand-bg), var(--brand-bg2));
  color: var(--brand);
  display: flex;
  align-items: center;
  justify-content: center;
}
.strength-item h3 {
  font-size: 17px;
  font-weight: 700;
  margin-bottom: 8px;
  color: var(--gray-900);
}
.strength-item p {
  font-size: 14px;
  color: var(--gray-500);
  line-height: 1.8;
}

/* ===== Team / Member ===== */
.member {
  padding: 32px;
  border-radius: var(--radius-lg);
  background: var(--white);
  border: 1px solid var(--gray-200);
}
.member--ceo {
  margin-bottom: 24px;
}
.member-row {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 24px;
}
.member-meta {
  display: flex;
  align-items: center;
  gap: 10px;
  margin-bottom: 10px;
}
.member-role {
  display: inline-block;
  font-size: 11px;
  font-weight: 700;
  color: var(--gray-600);
  background: var(--gray-100);
  padding: 3px 10px;
  border-radius: 999px;
  letter-spacing: .04em;
}
.member-role--ceo {
  background: var(--brand);
  color: var(--white);
}
.member-domain {
  font-size: 12px;
  font-weight: 600;
  color: var(--gray-400);
  letter-spacing: .02em;
}
.member-name {
  font-size: 22px;
  font-weight: 800;
  color: var(--gray-900);
  margin-bottom: 12px;
  letter-spacing: .02em;
}
.member--ceo .member-name {
  font-size: 26px;
}
.member-bio {
  font-size: 13px;
  color: var(--gray-500);
  line-height: 1.9;
}

/* ===== Process ===== */
.process-grid {
  display: flex;
  align-items: flex-start;
  gap: 0;
}
.process-step {
  flex: 1;
  text-align: center;
  padding: 0 16px;
}
.process-num {
  width: 48px;
  height: 48px;
  border-radius: 50%;
  background: var(--brand);
  color: var(--white);
  font-size: 20px;
  font-weight: 900;
  display: flex;
  align-items: center;
  justify-content: center;
  margin: 0 auto 20px;
}
.process-step h3 {
  font-size: 16px;
  font-weight: 700;
  margin-bottom: 10px;
  color: var(--gray-900);
}
.process-step p {
  font-size: 13px;
  color: var(--gray-500);
  line-height: 1.8;
}
.process-arrow {
  display: flex;
  align-items: center;
  padding-top: 12px;
  color: var(--gray-300);
  flex-shrink: 0;
}

/* ===== CTA Section ===== */
.cta-section {
  padding: 100px 0;
  background: linear-gradient(135deg, var(--brand-dark), var(--brand), var(--brand-light));
  position: relative;
  overflow: hidden;
}
.cta-section::before {
  content: "";
  position: absolute;
  top: -50%;
  right: -20%;
  width: 600px;
  height: 600px;
  background: radial-gradient(circle, rgba(255,255,255,.08), transparent 60%);
  pointer-events: none;
}
.cta-inner {
  text-align: center;
  position: relative;
  z-index: 2;
}
.cta-inner h2 {
  font-size: 30px;
  font-weight: 900;
  color: var(--white);
  margin-bottom: 16px;
  line-height: 1.5;
}
.cta-inner p {
  font-size: 15px;
  color: rgba(255,255,255,.6);
  line-height: 1.8;
  margin-bottom: 36px;
}

/* ===== Footer ===== */
.footer {
  padding: 32px 0;
  border-top: 1px solid var(--gray-200);
  background: var(--white);
}
.footer-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
}
.footer-brand img { height: 22px; opacity: .5; }
.footer-copy {
  font-size: 12px;
  color: var(--gray-400);
}

/* ===== Responsive ===== */
@media (max-width: 1024px) {
  .hero-grid { grid-template-columns: 1fr; }
  .hero-visual { max-width: 360px; margin: 0 auto; }
  .service-grid { grid-template-columns: 1fr; gap: 16px; }
  .strength-grid { grid-template-columns: 1fr; }
  .member-row { grid-template-columns: 1fr; }
  .process-grid { flex-direction: column; align-items: center; gap: 24px; }
  .process-arrow { transform: rotate(90deg); }
  .process-step { max-width: 400px; }
}

@media (max-width: 768px) {
  .container { padding: 0 20px; }
  .nav { display: none; }
  .hero { padding: 72px 0 48px; }
  .sp-only { display: inline; }
  h1 { font-size: 34px; }
  .hero-lead { font-size: 14px; }
  .hero-visual { max-width: 300px; }
  .hv-frame { max-width: 300px; }
  .section { padding: 72px 0; }
  .section-header h2 { font-size: 26px; }
  .problem-grid { grid-template-columns: 1fr; }
  .numbers-grid { flex-wrap: wrap; }
  .number-item { flex: 0 0 50%; padding: 16px; }
  .number-divider { display: none; }
  .number-value { font-size: 36px; }
  .cta-inner h2 { font-size: 24px; }
  .cta-section { padding: 72px 0; }
  .hero-visual { display: none; }
  .hero-actions { flex-direction: column; }
  .hero-actions .btn { width: 100%; }
  .member { padding: 24px; }
  .member--ceo .member-name { font-size: 22px; }
  .member-name { font-size: 19px; }
}

@media (max-width: 480px) {
  h1 { font-size: 28px; }
  .hero { padding: 56px 0 40px; }
  .hero-tag { font-size: 12px; }
  .section { padding: 56px 0; }
  .section-header { margin-bottom: 40px; }
  .problem-card { padding: 24px; }
  .service-card { padding: 28px 20px; }
  .strength-item { flex-direction: column; padding: 24px; }
  .strength-icon-wrap { width: 48px; height: 48px; min-width: 48px; }
  .number-item { flex: 0 0 50%; }
  .footer-inner { flex-direction: column; gap: 12px; }
}
