/* ==========================================================================
   Starman Productions - Corporate Site
   Tone: Modern Gothic (ANYCOLOR-inspired) × Conservative Trust
   Primary use: 地銀・信金 融資審査対応
   ========================================================================== */

/* ---------- Reset / Base ---------- */
*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; scroll-padding-top: 80px; }
body {
  margin: 0;
  font-family: 'Noto Sans JP', 'Hiragino Sans', 'Hiragino Kaku Gothic ProN', 'Yu Gothic Medium', 'Yu Gothic', 'Meiryo', sans-serif;
  font-weight: 400;
  font-size: 16px;
  line-height: 1.85;
  color: #1a1a1a;
  background: #ffffff;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  font-feature-settings: "palt";
  letter-spacing: .02em;
}
img { max-width: 100%; height: auto; vertical-align: middle; }
a { color: #1a1a1a; text-decoration: none; transition: opacity .2s ease, color .2s ease; }
a:hover { opacity: .7; }
ul, ol { list-style: none; padding: 0; margin: 0; }
h1, h2, h3, h4, h5, h6 { margin: 0; font-weight: 700; line-height: 1.5; letter-spacing: .02em; }
p { margin: 0; }
button { font-family: inherit; cursor: pointer; }

:root {
  --c-red: #c8102e;
  --c-red-deep: #a30d24;
  --c-text: #1a1a1a;
  --c-text-soft: #4a4a4a;
  --c-muted: #777;
  --c-line: #e5e5e5;
  --c-line-soft: #f0eeea;
  --c-bg: #ffffff;
  --c-bg-soft: #f7f7f5;
  --c-bg-paper: #f0efeb;
  --c-bg-dark: #14161a;
  --shadow-sm: 0 2px 8px rgba(0,0,0,.04);
  --shadow-md: 0 8px 24px rgba(0,0,0,.06);
  --max: 1200px;
  --radius: 4px;
  --font-en: 'Inter', 'Noto Sans JP', system-ui, sans-serif;
}

.container { width: min(92%, var(--max)); margin-inline: auto; }
.muted { color: var(--c-muted); font-size: .9em; }
.accent { color: var(--c-red); }

/* ---------- Buttons ---------- */
.btn {
  display: inline-flex; align-items: center; justify-content: center;
  padding: 16px 32px;
  font-size: 14px; font-weight: 700; letter-spacing: .08em;
  border: 1px solid transparent; border-radius: var(--radius);
  text-align: center;
  transition: all .2s ease;
  min-width: 200px;
}
.btn-primary { background: var(--c-red); color: #fff; border-color: var(--c-red); }
.btn-primary:hover { background: var(--c-red-deep); border-color: var(--c-red-deep); opacity: 1; }
.btn-ghost { background: transparent; color: var(--c-text); border-color: var(--c-text); }
.btn-ghost:hover { background: var(--c-text); color: #fff; opacity: 1; }
.btn-ghost-light { background: transparent; color: #fff; border-color: rgba(255,255,255,.7); }
.btn-ghost-light:hover { background: #fff; color: var(--c-text); border-color: #fff; opacity: 1; }
.btn-large { padding: 18px 48px; font-size: 15px; min-width: 240px; }

/* ---------- Header ---------- */
.site-header {
  position: fixed; top: 0; left: 0; right: 0;
  background: transparent;
  border-bottom: 1px solid transparent;
  z-index: 100;
  transition: background-color .25s ease, border-color .25s ease, box-shadow .25s ease;
}
.site-header.is-scrolled {
  background: rgba(255,255,255,.96);
  backdrop-filter: blur(8px);
  border-bottom-color: var(--c-line);
  box-shadow: var(--shadow-sm);
}
.header-inner {
  display: flex; align-items: center; justify-content: space-between;
  height: 76px;
}
.brand { display: flex; align-items: center; gap: 10px; }
.brand-mark {
  color: var(--c-red); font-size: 22px;
  display: inline-block; transform: translateY(-1px);
  transition: color .25s ease;
}
.brand-mark-img {
  height: 32px; width: auto;
  display: block;
  flex: 0 0 auto;
}
.brand-text { display: flex; flex-direction: column; line-height: 1.1; color: var(--c-text); transition: color .25s ease; }
.brand-en {
  font-weight: 900; font-size: 17px;
  letter-spacing: .02em;
}
.brand-en em { font-style: normal; opacity: .7; font-weight: 500; margin-left: 4px; }
.brand-jp { font-size: 11px; color: var(--c-muted); margin-top: 2px; font-weight: 500; }
.site-header.is-scrolled .brand-text { color: var(--c-text); }
.site-header.is-scrolled .brand-jp { color: var(--c-muted); opacity: 1; }

.global-nav ul { display: flex; align-items: center; gap: 32px; }
.global-nav a {
  font-size: 13px; font-weight: 700;
  letter-spacing: .08em;
  position: relative; padding: 6px 0;
  color: var(--c-text);
  transition: color .25s ease;
}
.site-header.is-scrolled .global-nav a:not(.nav-cta) { color: var(--c-text); }
.global-nav a:not(.nav-cta)::after {
  content: ''; position: absolute; left: 0; right: 0; bottom: 0;
  height: 2px; background: var(--c-red);
  transform: scaleX(0); transform-origin: left;
  transition: transform .3s ease;
}
.global-nav a:not(.nav-cta):hover::after { transform: scaleX(1); }
.global-nav a:not(.nav-cta):hover { opacity: 1; }
.nav-cta {
  background: var(--c-red); color: #fff !important;
  padding: 11px 22px !important;
  border-radius: var(--radius);
  font-weight: 700;
  letter-spacing: .08em;
}
.nav-cta:hover { background: var(--c-red-deep); opacity: 1; }

.nav-toggle {
  display: none;
  width: 40px; height: 40px;
  background: transparent; border: 0; padding: 0;
  position: relative;
}
.nav-toggle span {
  position: absolute; left: 8px; right: 8px; height: 2px; background: var(--c-text);
  transition: transform .3s ease, opacity .2s ease, top .3s ease, background-color .25s ease;
}
.site-header.is-scrolled .nav-toggle span { background: var(--c-text); }
.nav-toggle span:nth-child(1) { top: 13px; }
.nav-toggle span:nth-child(2) { top: 19px; }
.nav-toggle span:nth-child(3) { top: 25px; }
.nav-toggle[aria-expanded="true"] span:nth-child(1) { top: 19px; transform: rotate(45deg); }
.nav-toggle[aria-expanded="true"] span:nth-child(2) { opacity: 0; }
.nav-toggle[aria-expanded="true"] span:nth-child(3) { top: 19px; transform: rotate(-45deg); }

/* ---------- Hero (full-bleed) ---------- */
.hero {
  position: relative;
  min-height: 100vh;
  min-height: 100svh;
  overflow: hidden;
  background: #ffffff; /* ビジュアルの白背景とシームレスに繋ぐ */
  padding: 0;
}
.hero-bg {
  position: absolute; inset: 0;
  z-index: 0;
}
.hero-bg picture, .hero-bg img {
  display: block;
  width: 100%; height: 100%;
}
.hero-bg img {
  object-fit: contain;             /* 図柄全体を見せる（白背景は白ヒーローに溶け込む） */
  object-position: center 42%;
  will-change: transform, opacity;
  animation: heroIn 1.1s cubic-bezier(.22,.61,.36,1) both,
             heroFloat 7s ease-in-out 1.1s infinite;
}
/* ヘッダー可読性のための白スクリム（上端のみ） */
.hero-overlay {
  position: absolute; inset: 0;
  z-index: 1;
  background: linear-gradient(180deg, rgba(255,255,255,.92) 0%, rgba(255,255,255,0) 13%);
  pointer-events: none;
}
/* キラッと光るスパークル（CSS生成の装飾） */
.hero-sparkles { position: absolute; inset: 0; z-index: 2; pointer-events: none; }
.hero-sparkles span {
  position: absolute;
  background: var(--c-red);
  clip-path: polygon(50% 0, 58% 42%, 100% 50%, 58% 58%, 50% 100%, 42% 58%, 0 50%, 42% 42%);
  opacity: 0;
  transform: scale(.4);
  animation: sparkleTwinkle 4.8s ease-in-out infinite;
}
.hero-sparkles span:nth-child(1) { top: 17%; left: 19%; width: 10px; height: 10px; animation-delay: .3s; }
.hero-sparkles span:nth-child(2) { top: 23%; left: 71%; width: 18px; height: 18px; animation-delay: 1.6s; }
.hero-sparkles span:nth-child(3) { top: 41%; left: 52%; width: 8px;  height: 8px;  animation-delay: 2.8s; }
.hero-sparkles span:nth-child(4) { top: 13%; left: 57%; width: 12px; height: 12px; animation-delay: 3.6s; }
.hero-sparkles span:nth-child(5) { top: 33%; left: 31%; width: 9px;  height: 9px;  animation-delay: 1.0s; }
.hero-content {
  position: relative; z-index: 3;
  min-height: 100vh;
  min-height: 100svh;
  display: flex; flex-direction: column;
  justify-content: flex-end;
  padding: 120px 0 76px;
}
.hero-panel {
  max-width: 620px;
  animation: heroPanelIn 1s ease-out .3s both;
}
.hero-eyebrow {
  font-family: var(--font-en);
  font-weight: 700;
  letter-spacing: .35em;
  font-size: 12px;
  margin-bottom: 20px;
  text-transform: uppercase;
  color: var(--c-red);
}
.hero-eyebrow::before {
  content: ''; display: inline-block;
  width: 32px; height: 1px; background: var(--c-red);
  vertical-align: middle; margin-right: 16px;
  transform: translateY(-3px);
}
.hero-title {
  font-size: clamp(26px, 4vw, 46px);
  line-height: 1.45;
  font-weight: 900;
  letter-spacing: .02em;
  margin-bottom: 22px;
  color: var(--c-text);
  text-shadow: 0 1px 12px rgba(255,255,255,.95), 0 0 2px rgba(255,255,255,.9);
}
.hero-lead {
  color: var(--c-text-soft);
  margin-bottom: 32px;
  font-size: 15px;
  line-height: 2;
  font-weight: 500;
  text-shadow: 0 1px 10px rgba(255,255,255,.95);
}
.hero-cta { display: flex; flex-wrap: wrap; gap: 12px; }
.hero-scroll {
  position: absolute;
  left: 50%; bottom: 24px;
  transform: translateX(-50%);
  z-index: 3;
  display: flex; flex-direction: column;
  align-items: center; gap: 8px;
  color: var(--c-text-soft);
  font-family: var(--font-en);
  font-size: 11px;
  letter-spacing: .3em;
  font-weight: 700;
}
.hero-scroll-line {
  display: block;
  width: 1px; height: 36px;
  background: rgba(20,22,26,.35);
  position: relative;
  overflow: hidden;
}
.hero-scroll-line::after {
  content: ''; position: absolute;
  top: -18px; left: 0; width: 100%; height: 18px;
  background: var(--c-red);
  animation: scrollHint 2s ease-in-out infinite;
}
@keyframes scrollHint {
  0%   { top: -18px; opacity: 0; }
  30%  { opacity: 1; }
  100% { top: 36px; opacity: 0; }
}

/* ---------- Hero アニメーション ---------- */
@keyframes heroIn {
  from { opacity: 0; transform: translateY(10px) scale(.985); }
  to   { opacity: 1; transform: translateY(0) scale(1); }
}
@keyframes heroFloat {
  0%, 100% { transform: translateY(0); }
  50%      { transform: translateY(-12px); }
}
@keyframes heroPanelIn {
  from { opacity: 0; transform: translateY(18px); }
  to   { opacity: 1; transform: translateY(0); }
}
@keyframes sparkleTwinkle {
  0%, 100% { opacity: 0; transform: scale(.4) rotate(0deg); }
  50%      { opacity: 1; transform: scale(1) rotate(45deg); }
}
/* モーション過敏設定の利用者には動きを止める */
@media (prefers-reduced-motion: reduce) {
  .hero-bg img, .hero-panel, .hero-sparkles span, .hero-scroll-line::after {
    animation: none !important;
  }
  .hero-bg img, .hero-panel { opacity: 1 !important; transform: none !important; }
  .hero-sparkles span { opacity: .85 !important; transform: scale(1) rotate(45deg) !important; }
}

/* ---------- Section common ---------- */
.section { padding: 120px 0; }
.section-head { margin-bottom: 64px; }
.section-eyebrow {
  font-family: var(--font-en);
  color: var(--c-red);
  font-weight: 700;
  letter-spacing: .3em;
  font-size: 12px;
  margin-bottom: 16px;
  text-transform: uppercase;
}
.section-eyebrow::before {
  content: ''; display: inline-block;
  width: 28px; height: 1px; background: var(--c-red);
  vertical-align: middle; margin-right: 14px;
  transform: translateY(-3px);
}
.section-title {
  font-size: clamp(26px, 3.4vw, 42px);
  line-height: 1.45;
  font-weight: 900;
  letter-spacing: .02em;
}
.section-sub { margin-top: 20px; color: var(--c-text-soft); font-size: 15px; line-height: 1.9; }

/* ---------- About ---------- */
.section-about {
  background: #ffffff;
  position: relative;
  overflow: hidden;
  padding-top: 140px;
  padding-bottom: 140px;
}
.about-bg-text {
  position: absolute;
  font-family: var(--font-en);
  font-weight: 900;
  font-size: clamp(140px, 24vw, 320px);
  color: rgba(20, 22, 26, .035);
  letter-spacing: -.04em;
  line-height: .85;
  top: 50%;
  left: -.04em;
  transform: translateY(-50%);
  white-space: nowrap;
  z-index: 0;
  pointer-events: none;
  user-select: none;
}
.section-about > .container { position: relative; z-index: 1; }

.section-eyebrow-sub {
  display: inline-block;
  margin-left: 16px;
  font-family: 'Noto Sans JP', sans-serif;
  font-size: 11px;
  letter-spacing: .15em;
  color: var(--c-text-soft);
  font-weight: 500;
  text-transform: none;
  border-left: 1px solid var(--c-line);
  padding-left: 16px;
  vertical-align: 1px;
}

.about-headline {
  font-size: clamp(34px, 6.2vw, 76px);
  line-height: 1.35;
  font-weight: 900;
  letter-spacing: .03em;
  margin: 24px 0 56px;
  color: var(--c-text);
}
.about-headline .about-accent { color: var(--c-red); }
.about-headline .about-mark {
  position: relative;
  display: inline-block;
  padding: 0 .05em;
  z-index: 1;
}
.about-headline .about-mark::before {
  content: '';
  position: absolute;
  left: -.04em; right: -.04em;
  bottom: .08em;
  height: .25em;
  background: var(--c-red);
  opacity: .25;
  z-index: -1;
}

.about-statement {
  font-size: clamp(15px, 1.5vw, 18px);
  line-height: 2.2;
  color: var(--c-text-soft);
  font-weight: 500;
  max-width: 760px;
  margin-bottom: 96px;
}

.about-pillars-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 0;
  border-top: 2px solid var(--c-text);
}
.about-pillar {
  padding: 40px 36px 8px 0;
  border-right: 1px solid var(--c-line);
  position: relative;
}
.about-pillar:nth-child(2) { padding-left: 36px; }
.about-pillar:nth-child(3) { padding-left: 36px; }
.about-pillar:last-child { border-right: 0; padding-right: 0; }

.about-pillar-tag {
  display: inline-block;
  font-family: var(--font-en);
  font-size: 11px;
  font-weight: 700;
  letter-spacing: .2em;
  color: var(--c-red);
  margin-bottom: 20px;
  text-transform: uppercase;
}
.about-pillar h3 {
  font-size: clamp(22px, 2.4vw, 28px);
  font-weight: 900;
  margin-bottom: 16px;
  letter-spacing: .04em;
}
.about-pillar p {
  font-size: 14px;
  line-height: 1.95;
  color: var(--c-text-soft);
  font-weight: 500;
}

/* ---------- Business (5 process) ---------- */
.process-list {
  display: grid;
  grid-template-columns: repeat(5, 1fr);
  gap: 0;
  position: relative;
}
.process-list li {
  padding: 32px 20px;
  text-align: center;
  position: relative;
  border-right: 1px dashed var(--c-line);
}
.process-list li:last-child { border-right: 0; }
.process-list li::before {
  content: ''; position: absolute;
  top: 50%; right: -8px;
  width: 16px; height: 16px;
  border-top: 2px solid var(--c-red);
  border-right: 2px solid var(--c-red);
  transform: translateY(-50%) rotate(45deg);
  background: #fff;
}
.process-list li:last-child::before { display: none; }
.process-num {
  display: block;
  font-family: var(--font-en);
  font-size: 32px;
  font-weight: 900;
  color: var(--c-red);
  margin-bottom: 12px;
  letter-spacing: .04em;
  line-height: 1;
}
.process-list h3 { font-size: 17px; margin-bottom: 12px; font-weight: 700; }
.process-list p { font-size: 13px; color: var(--c-text-soft); line-height: 1.85; }

/* ---------- Service ---------- */
.section-service { background: #fff; }
.service-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 24px;
}
.service-card {
  background: #fff;
  border: 1px solid var(--c-line);
  padding: 36px 32px;
  display: flex;
  flex-direction: column;
  gap: 24px;
  transition: border-color .2s ease, box-shadow .2s ease, transform .2s ease;
}
.service-card:hover {
  border-color: var(--c-red);
  box-shadow: var(--shadow-md);
  transform: translateY(-2px);
}
.service-card-head {
  padding-bottom: 20px;
  border-bottom: 2px solid var(--c-text);
}
.service-card-en {
  font-family: var(--font-en);
  font-size: 11px;
  font-weight: 700;
  letter-spacing: .25em;
  color: var(--c-red);
  text-transform: uppercase;
  margin-bottom: 6px;
}
.service-card-en span {
  font-size: 10px;
  color: var(--c-muted);
  margin-left: 2px;
  letter-spacing: .1em;
}
.service-card-title {
  font-size: 24px;
  font-weight: 900;
  letter-spacing: .04em;
  line-height: 1.3;
}
.service-card-block {
  display: grid;
  grid-template-columns: 96px 1fr;
  gap: 16px;
  align-items: start;
}
.service-card-label {
  font-size: 11px;
  font-weight: 700;
  color: var(--c-red);
  letter-spacing: .15em;
  padding-top: 4px;
  border-left: 3px solid var(--c-red);
  padding-left: 10px;
  line-height: 1.4;
}
.service-card-block ul {
  display: flex;
  flex-wrap: wrap;
  gap: 6px 8px;
}
.service-card-block ul li {
  font-size: 12px;
  font-weight: 500;
  color: var(--c-text);
  padding: 4px 10px;
  background: var(--c-bg-soft);
  border-radius: 2px;
  line-height: 1.5;
  letter-spacing: .03em;
}
.service-card-note {
  margin-top: auto;
  padding-top: 16px;
  border-top: 1px dashed var(--c-line);
  font-size: 11px;
  color: var(--c-muted);
  line-height: 1.7;
}

/* ---------- Role ---------- */
.section-role { background: var(--c-bg-soft); }
.role-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 20px;
  margin-top: 16px;
}
.role-card {
  background: #fff;
  padding: 32px 28px;
  border-top: 3px solid var(--c-red);
  text-align: center;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 8px;
  transition: transform .2s ease, box-shadow .2s ease;
}
.role-card:hover {
  transform: translateY(-3px);
  box-shadow: var(--shadow-md);
}
.role-card-num {
  font-family: var(--font-en);
  font-size: 28px;
  font-weight: 900;
  color: var(--c-red);
  letter-spacing: .04em;
  line-height: 1;
  margin-bottom: 12px;
}
.role-card h3 {
  font-size: 17px;
  font-weight: 900;
  margin-bottom: 12px;
  letter-spacing: .04em;
  line-height: 1.45;
  min-height: 2.9em;
  display: flex;
  align-items: center;
  text-align: center;
}
.role-card p {
  font-size: 13px;
  line-height: 1.85;
  color: var(--c-text-soft);
  font-weight: 500;
  text-align: left;
}
.role-foot {
  margin-top: 48px;
  padding: 20px 28px;
  background: #fff;
  border: 1px solid var(--c-line);
  border-left: 4px solid var(--c-red);
  text-align: center;
  font-size: 14px;
  font-weight: 700;
  color: var(--c-text);
  letter-spacing: .04em;
}

/* ---------- Works ---------- */
.section-works { background: var(--c-bg-soft); }
.works-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 32px;
  margin-bottom: 64px;
}
.work-card {
  background: #fff;
  box-shadow: var(--shadow-sm);
  overflow: hidden;
  display: flex; flex-direction: column;
  transition: transform .25s ease, box-shadow .25s ease;
}
.work-card:hover { transform: translateY(-4px); box-shadow: var(--shadow-md); }
.work-thumb {
  aspect-ratio: 16 / 9;
  background:
    linear-gradient(135deg, rgba(200,16,46,.85), rgba(20,22,26,.85)),
    repeating-linear-gradient(45deg, #1a1a1a 0 8px, #2a2a2a 8px 16px);
  display: flex; align-items: center; justify-content: center;
  color: #fff;
  position: relative;
}
.work-thumb-label {
  font-family: var(--font-en);
  letter-spacing: .3em; font-size: 13px;
  font-weight: 700;
  text-transform: uppercase;
  opacity: .9;
}
.work-body { padding: 28px; flex: 1; display: flex; flex-direction: column; }
.work-tag {
  font-size: 11px;
  font-family: var(--font-en);
  color: var(--c-red);
  font-weight: 700;
  letter-spacing: .15em;
  margin-bottom: 8px;
  text-transform: uppercase;
}
.work-title { font-size: 17px; line-height: 1.6; margin-bottom: 16px; font-weight: 700; }
.work-credit { font-size: 12px; color: var(--c-muted); margin-bottom: 16px; }
.work-link {
  margin-top: auto;
  font-size: 13px; font-weight: 700;
  color: var(--c-red);
  letter-spacing: .05em;
}
.works-list {
  background: #fff; padding: 40px;
  box-shadow: var(--shadow-sm);
}
.works-list-title {
  font-size: 15px; margin-bottom: 20px;
  padding-bottom: 12px; border-bottom: 1px solid var(--c-line);
  font-weight: 700; letter-spacing: .04em;
}
.works-list ul {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 12px 24px;
}
.works-list ul li {
  position: relative;
  padding-left: 18px;
  font-size: 14px;
}
.works-list ul li::before {
  content: '●'; position: absolute; left: 0; top: 0;
  color: var(--c-red); font-size: 8px; line-height: 26px;
}
.works-note { margin-top: 20px; font-size: 12px; color: var(--c-muted); }

/* ---------- Members ---------- */
.members-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 360px));
  justify-content: center;
  gap: 32px;
}
.member-card {
  background: #fff;
  padding: 32px 28px;
  border: 1px solid var(--c-line);
  text-align: center;
}
.member-photo {
  position: relative;
  width: 160px; aspect-ratio: 4 / 5;
  margin: 0 auto 20px;
  border-radius: 4px;
  background: linear-gradient(160deg, #2a2c33 0%, #14161a 100%);
  display: flex; align-items: flex-end; justify-content: center;
  overflow: hidden;
  box-shadow: 0 4px 12px rgba(20,22,26,.08);
}
.member-photo svg {
  position: absolute; inset: 0;
  width: 100%; height: 100%;
  display: block;
}
.member-photo-placeholder {
  position: relative;
  z-index: 2;
  font-family: var(--font-en);
  font-size: 10px;
  letter-spacing: .3em;
  font-weight: 700;
  color: rgba(255,255,255,.7);
  padding: 5px 12px;
  margin-bottom: 10px;
  border: 1px solid rgba(255,255,255,.35);
  text-transform: uppercase;
}
.member-name { font-size: 20px; margin-bottom: 4px; font-weight: 700; }
.member-role {
  color: var(--c-red);
  font-family: var(--font-en);
  font-size: 12px;
  font-weight: 700;
  letter-spacing: .15em;
  margin-bottom: 16px;
  text-transform: uppercase;
}
.member-bio {
  text-align: left;
  font-size: 13px; line-height: 1.95; color: var(--c-text-soft);
  font-weight: 500;
}
.members-note {
  margin-top: 32px; padding: 20px;
  background: var(--c-bg-soft);
  font-size: 13px; color: var(--c-text-soft);
  text-align: center;
  border-radius: var(--radius);
}

/* ---------- Partnership ---------- */
.section-partnership { background: var(--c-bg-dark); color: #f0f0f0; }
.section-partnership .section-eyebrow { color: #ff5b6e; }
.section-partnership .section-eyebrow::before { background: #ff5b6e; }
.section-partnership .section-title { color: #fff; }
.partnership-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
}
.partnership-card {
  padding: 36px 28px;
  background: rgba(255,255,255,.03);
  border: 1px solid rgba(255,255,255,.08);
  border-top: 3px solid var(--c-red);
}
.partnership-num {
  font-family: var(--font-en);
  font-size: 40px; font-weight: 900;
  color: var(--c-red); margin-bottom: 16px;
  letter-spacing: .02em;
  line-height: 1;
}
.partnership-card h3 { font-size: 22px; margin-bottom: 8px; color: #fff; font-weight: 700; }
.partnership-tag {
  display: inline-block;
  font-size: 12px; font-weight: 700;
  color: #ff8c98; letter-spacing: .1em;
  margin-bottom: 20px;
  padding-bottom: 12px;
  border-bottom: 1px solid rgba(255,255,255,.1);
}
.partnership-body { font-size: 14px; line-height: 1.95; color: #c8c8c8; font-weight: 500; }
.partnership-foot {
  margin-top: 48px; text-align: center;
  font-size: 14px; color: #c8c8c8;
}

/* ---------- News ---------- */
.news-list {
  max-width: 880px; margin: 0 auto;
  border-top: 1px solid var(--c-line);
}
.news-list li {
  display: grid;
  grid-template-columns: 130px 100px 1fr;
  gap: 20px;
  align-items: center;
  padding: 22px 8px;
  border-bottom: 1px solid var(--c-line);
}
.news-list time {
  font-family: var(--font-en);
  font-size: 14px; color: var(--c-text); font-weight: 700;
  letter-spacing: .04em;
}
.news-tag {
  display: inline-block;
  font-size: 11px; font-weight: 700;
  color: var(--c-red);
  border: 1px solid var(--c-red);
  padding: 3px 10px;
  text-align: center;
  letter-spacing: .08em;
}
.news-list p { font-size: 14px; color: var(--c-text-soft); font-weight: 500; }

/* ---------- Company ---------- */
.section-company { background: var(--c-bg-soft); }
.company-grid { max-width: 880px; margin: 0 auto; }
.company-table {
  width: 100%; border-collapse: collapse;
  background: #fff;
  box-shadow: var(--shadow-sm);
}
.company-table th, .company-table td {
  padding: 20px 24px;
  border-bottom: 1px solid var(--c-line);
  text-align: left;
  font-size: 14px;
  vertical-align: top;
  line-height: 1.85;
}
.company-table th {
  width: 200px;
  background: var(--c-bg-paper);
  font-weight: 700;
  color: var(--c-text);
  border-right: 3px solid var(--c-red);
  letter-spacing: .04em;
}
.company-table tr:last-child th, .company-table tr:last-child td { border-bottom: 0; }

/* ---------- Contact ---------- */
.contact-form {
  max-width: 760px; margin: 0 auto;
  background: #fff;
  padding: 48px;
  border: 1px solid var(--c-line);
  box-shadow: var(--shadow-sm);
}
.form-row { margin-bottom: 24px; }
.form-row-2col { display: grid; grid-template-columns: 1fr 1fr; gap: 24px; }
.form-row-2col > div { margin: 0; }
.form-row label {
  display: block;
  font-size: 13px; font-weight: 700;
  margin-bottom: 8px;
  color: var(--c-text);
  letter-spacing: .04em;
}
.required {
  display: inline-block;
  font-size: 10px; font-weight: 700;
  color: #fff; background: var(--c-red);
  padding: 2px 8px;
  margin-left: 6px;
  border-radius: 2px;
  letter-spacing: .05em;
  vertical-align: 1px;
}
.form-row input[type="text"],
.form-row input[type="email"],
.form-row input[type="tel"],
.form-row select,
.form-row textarea {
  width: 100%;
  padding: 12px 14px;
  font-size: 15px;
  font-family: inherit;
  color: var(--c-text);
  background: #fff;
  border: 1px solid #ccc;
  border-radius: var(--radius);
  transition: border-color .2s ease, box-shadow .2s ease;
}
.form-row input:focus,
.form-row select:focus,
.form-row textarea:focus {
  outline: 0;
  border-color: var(--c-red);
  box-shadow: 0 0 0 3px rgba(200,16,46,.15);
}
.form-row textarea { resize: vertical; min-height: 160px; line-height: 1.7; }
.form-row.is-error input,
.form-row.is-error select,
.form-row.is-error textarea { border-color: var(--c-red); background: #fff7f8; }
.form-error-msg { display: none; margin-top: 6px; font-size: 12px; color: var(--c-red); font-weight: 700; }
.form-row.is-error .form-error-msg { display: block; }

.form-check label {
  display: flex; align-items: center; gap: 10px;
  font-size: 14px; font-weight: 500;
  cursor: pointer;
}
.form-check input[type="checkbox"] {
  width: 18px; height: 18px; accent-color: var(--c-red);
}
.form-check a { color: var(--c-red); font-weight: 700; text-decoration: underline; }

.form-actions { text-align: center; margin: 32px 0 16px; }
.form-actions .btn { min-width: 280px; }
.form-actions .btn:disabled { opacity: .5; cursor: not-allowed; }
.form-note { font-size: 12px; color: var(--c-muted); text-align: center; line-height: 1.7; }
.hp-field {
  position: absolute !important;
  width: 1px !important; height: 1px !important;
  padding: 0 !important; margin: -1px !important;
  overflow: hidden !important;
  clip: rect(0,0,0,0) !important;
  border: 0 !important;
}

/* ---------- Footer ---------- */
.site-footer {
  background: var(--c-bg-dark);
  color: #b8b8b8;
  padding: 64px 0 24px;
}
.footer-inner {
  display: grid;
  grid-template-columns: 1fr 2fr;
  gap: 48px;
  padding-bottom: 40px;
  border-bottom: 1px solid rgba(255,255,255,.1);
}
.footer-logo {
  font-size: 22px; font-weight: 900;
  color: #fff;
  letter-spacing: .02em;
}
.footer-logo em { font-style: normal; color: #888; font-weight: 500; margin-left: 6px; }
.footer-tagline {
  font-family: var(--font-en);
  font-size: 11px; color: var(--c-red);
  letter-spacing: .3em;
  margin: 6px 0 16px;
  font-weight: 700;
  text-transform: uppercase;
}
.footer-address { font-size: 13px; line-height: 1.85; }
.footer-nav ul {
  display: flex; flex-wrap: wrap; gap: 12px 32px;
}
.footer-nav a { color: #b8b8b8; font-size: 13px; font-weight: 500; }
.footer-nav a:hover { color: #fff; opacity: 1; }
.footer-copy {
  text-align: center;
  margin-top: 24px;
  font-size: 11px;
  color: #666;
  letter-spacing: .08em;
  font-family: var(--font-en);
  font-weight: 500;
}

/* ---------- Responsive: Tablet ---------- */
@media (max-width: 960px) {
  .hero-content { padding: 100px 0 80px; }
  .section-about { padding-top: 100px; padding-bottom: 100px; }
  .about-statement { margin-bottom: 64px; }
  .about-pillars-grid { grid-template-columns: 1fr; }
  .about-pillar { border-right: 0; border-bottom: 1px solid var(--c-line); padding: 32px 0; }
  .about-pillar:nth-child(2), .about-pillar:nth-child(3) { padding-left: 0; }
  .about-pillar:last-child { border-bottom: 0; padding-bottom: 0; }
  .about-pillar:first-child { padding-top: 32px; }
  .process-list { grid-template-columns: repeat(2, 1fr); }
  .process-list li { border-right: 1px dashed var(--c-line); border-bottom: 1px dashed var(--c-line); padding: 28px 16px; }
  .process-list li:nth-child(2n) { border-right: 0; }
  .process-list li:last-child { border-bottom: 0; grid-column: span 2; }
  .process-list li::before { display: none; }
  .members-grid { grid-template-columns: repeat(2, 1fr); gap: 20px; }
  .member-card { padding: 24px 18px; }
  .member-photo { width: 130px; }
  .partnership-grid { grid-template-columns: 1fr; }
  .works-grid { grid-template-columns: 1fr; }
  .service-grid { grid-template-columns: 1fr; }
  .role-grid { grid-template-columns: repeat(2, 1fr); }
  .works-list ul { grid-template-columns: repeat(2, 1fr); }
  .footer-inner { grid-template-columns: 1fr; gap: 32px; }
  .company-table th { width: 160px; }
}

/* ---------- Responsive: Mobile ---------- */
@media (max-width: 768px) {
  body { font-size: 15px; line-height: 1.8; }
  .section { padding: 80px 0; }
  .section-head { margin-bottom: 40px; }
  .header-inner { height: 64px; }
  /* SP: cover で画面いっぱい表示（サイズ維持）。cover時は縦がぴったりで
     object-position の縦が効かないため、bgを上へずらして顔を下部コピーの上に逃がす */
  .hero-bg { transform: translateY(-16%); }
  .hero-bg img { object-fit: cover; object-position: 58% 50%; }
  .hero-overlay {
    background:
      linear-gradient(180deg, rgba(255,255,255,.9) 0%, rgba(255,255,255,0) 11%),
      linear-gradient(0deg,   rgba(255,255,255,.97) 0%, rgba(255,255,255,.7) 20%, rgba(255,255,255,0) 44%);
  }
  .hero-content { padding: 72px 0 26px; }
  .hero-panel { max-width: none; width: 100%; }
  .hero-title { font-size: clamp(24px, 6.6vw, 34px); }
  .hero-lead { font-size: 14px; margin-bottom: 24px; }
  .hero-cta .btn { min-width: 0; flex: 1; padding: 14px 16px; font-size: 13px; }
  .hero-scroll { display: none; }

  .section-about { padding-top: 80px; padding-bottom: 80px; }
  .about-bg-text { font-size: clamp(96px, 38vw, 200px); }
  .about-headline { margin: 16px 0 36px; line-height: 1.4; }
  .about-statement { font-size: 14px; line-height: 2.1; margin-bottom: 56px; }
  .about-pillar { padding: 28px 0; }
  .section-eyebrow-sub { display: block; margin-left: 0; padding-left: 0; border-left: 0; margin-top: 6px; }

  .members-grid { grid-template-columns: 1fr; max-width: 360px; margin: 0 auto; gap: 20px; }
  .member-photo { width: 140px; }

  .service-card { padding: 28px 22px; gap: 20px; }
  .service-card-title { font-size: 20px; }
  .service-card-block { grid-template-columns: 1fr; gap: 10px; }
  .service-card-label { padding-top: 0; border-left: 0; border-bottom: 2px solid var(--c-red); padding-left: 0; padding-bottom: 6px; display: inline-block; }

  .role-grid { grid-template-columns: 1fr; gap: 16px; }
  .role-card h3 { min-height: 0; }
  .role-foot { font-size: 13px; padding: 16px 20px; line-height: 1.7; }

  .nav-toggle { display: block; }
  .global-nav {
    position: fixed; top: 64px; left: 0; right: 0;
    background: #fff;
    border-top: 1px solid var(--c-line);
    box-shadow: var(--shadow-md);
    transform: translateY(-110%);
    transition: transform .3s ease;
    max-height: calc(100vh - 64px);
    overflow-y: auto;
  }
  .global-nav.is-open { transform: translateY(0); }
  .global-nav ul {
    flex-direction: column; gap: 0;
    padding: 12px 0;
  }
  .global-nav li { width: 100%; border-bottom: 1px solid var(--c-line-soft); }
  .global-nav li:last-child { border-bottom: 0; }
  .global-nav a {
    display: block; padding: 16px 24px;
    font-size: 14px;
    color: var(--c-text) !important;
  }
  .nav-cta {
    text-align: center; margin: 12px 24px;
    border-radius: var(--radius);
    color: #fff !important;
  }

  .form-row-2col { grid-template-columns: 1fr; gap: 20px; }
  .contact-form { padding: 28px 20px; }
  .form-actions .btn { width: 100%; min-width: 0; }

  .news-list li {
    grid-template-columns: 100px 80px;
    grid-template-rows: auto auto;
    gap: 8px 12px;
  }
  .news-list li p { grid-column: 1 / -1; }
  .news-list time, .news-tag { font-size: 11px; }

  .works-list { padding: 24px; }
  .works-list ul { grid-template-columns: 1fr; }

  .company-table th, .company-table td {
    display: block; width: 100%;
    padding: 14px 16px;
  }
  .company-table th { border-right: 0; border-left: 3px solid var(--c-red); }
}

/* ---------- Print (融資資料として印刷されることを想定) ---------- */
@media print {
  .site-header, .nav-toggle, .global-nav, .hero-cta, .hero-scroll, .form-actions, #contact { display: none !important; }
  body { background: #fff; color: #000; font-size: 11pt; line-height: 1.6; }
  .section { padding: 24pt 0; page-break-inside: avoid; }
  .hero { min-height: auto; padding: 0; background: #fff; }
  .hero-bg, .hero-overlay { display: none; }
  .hero-content { color: #000; min-height: auto; padding: 16pt 0; }
  .hero-title, .hero-lead, .hero-eyebrow { color: #000 !important; text-shadow: none !important; }
  .section-partnership { background: #fff !important; color: #000 !important; }
  .section-partnership .section-title, .partnership-card h3 { color: #000 !important; }
  .partnership-card { border: 1px solid #000; background: #fff; }
  .partnership-body, .partnership-foot { color: #333; }
  a { color: #000 !important; text-decoration: underline; }
  .work-thumb { display: none; }
}

/* ---------- CMS差し込み画像（実績サムネイル / プロフィール写真） ---------- */
.work-thumb img {
  width: 100%; height: 100%;
  object-fit: cover;
  display: block;
}
.member-photo img {
  position: absolute; inset: 0;
  width: 100%; height: 100%;
  object-fit: cover;
  z-index: 1;
}
