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

:root {
  --black:    #0d0d0d;
  --dark:     #1a1a1a;
  --mid:      #2e2e2e;
  --white:    #ffffff;
  --gray-50:  #f7f7f7;
  --gray-100: #efefef;
  --gray-200: #dcdcdc;
  --gray-400: #999;
  --gray-600: #5a5a5a;
  --nav-h: 68px;
  --ease: cubic-bezier(0.4, 0, 0.2, 1);
}

html { scroll-behavior: smooth; font-size: 16px; }

html, body { overflow-x: hidden; max-width: 100%; }
body {
  font-family: 'Noto Sans JP', 'Inter', sans-serif;
  background: var(--white);
  color: var(--black);
  line-height: 1.7;
  -webkit-font-smoothing: antialiased;
}

a { color: inherit; text-decoration: none; }
ul { list-style: none; }
img { display: block; max-width: 100%; }

/* ===== Utilities ===== */
.container {
  max-width: 1160px;
  margin: 0 auto;
  padding: 0 48px;
}
.section { padding: 120px 0; }

.section-header { margin-bottom: 72px; }
.section-label {
  font-family: 'Inter', sans-serif;
  font-size: 10px;
  font-weight: 500;
  letter-spacing: 0.25em;
  color: var(--gray-400);
  margin-bottom: 16px;
  text-transform: uppercase;
}
.section-title {
  font-size: clamp(30px, 3.5vw, 44px);
  font-weight: 700;
  letter-spacing: -0.03em;
  line-height: 1.15;
}

.btn-primary {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  padding: 15px 32px;
  background: var(--black);
  color: var(--white);
  font-size: 13px;
  font-weight: 500;
  letter-spacing: 0.08em;
  border: 1.5px solid var(--black);
  transition: background .22s var(--ease), color .22s var(--ease);
  cursor: pointer;
  font-family: inherit;
}
.btn-primary::after { content: '→'; font-size: 14px; transition: transform .22s var(--ease); }
.btn-primary:hover { background: transparent; color: var(--black); }
.btn-primary:hover::after { transform: translateX(4px); }

/* ===== Header / Nav ===== */
#header {
  position: fixed;
  top: 0; left: 0; right: 0;
  z-index: 100;
  background: rgba(255,255,255,0.92);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  border-bottom: 1px solid transparent;
  transition: border-color .3s;
}
#header.scrolled { border-color: var(--gray-200); }

/* Home only: transparent header over the dark hero, white text/logo at the top.
   Switches to the solid light header once scrolled. */
body:not(.subpage) #header {
  background: transparent;
  backdrop-filter: none;
  -webkit-backdrop-filter: none;
}
body:not(.subpage) #header:not(.scrolled) .nav-logo .logo-svg { color: #fff; }
body:not(.subpage) #header:not(.scrolled) .nav-links a { color: rgba(255,255,255,0.85); }
body:not(.subpage) #header:not(.scrolled) .nav-links a:hover { color: #fff; }
body:not(.subpage) #header:not(.scrolled) .nav-links .nav-cta {
  border-color: rgba(255,255,255,0.55);
  color: #fff;
}
body:not(.subpage) #header:not(.scrolled) .nav-links .nav-cta:hover {
  background: #fff;
  color: #111;
}
body:not(.subpage) #header.scrolled {
  background: rgba(255,255,255,0.92);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
}

.nav {
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: var(--nav-h);
  padding: 0 48px;
  max-width: 1260px;
  margin: 0 auto;
}
.nav-logo .logo-text {
  font-family: 'Inter', sans-serif;
  font-size: 20px;
  font-weight: 700;
  letter-spacing: -0.04em;
}
.logo-img { height: 30px; width: auto; display: block; }
.logo-svg { display: block; width: auto; color: var(--black); }
.nav-links {
  display: flex;
  align-items: center;
  gap: 36px;
}
.nav-links a {
  font-size: 13px;
  font-weight: 400;
  letter-spacing: 0.04em;
  color: var(--gray-600);
  transition: color .2s;
}
.nav-links a:hover { color: var(--black); }
.nav-links .nav-cta {
  padding: 9px 22px;
  border: 1.5px solid var(--black);
  color: var(--black);
  font-weight: 500;
  letter-spacing: 0.06em;
  transition: background .2s, color .2s;
}
.nav-links .nav-cta:hover { background: var(--black); color: var(--white); }

.nav-hamburger {
  display: none;
  flex-direction: column;
  gap: 5px;
  background: none;
  border: none;
  cursor: pointer;
  padding: 4px;
}
.nav-hamburger span {
  display: block; width: 22px; height: 1.5px;
  background: var(--black);
  transition: transform .3s, opacity .3s;
}
.nav-hamburger.open span:nth-child(1) { transform: translateY(6.5px) rotate(45deg); }
.nav-hamburger.open span:nth-child(2) { opacity: 0; }
.nav-hamburger.open span:nth-child(3) { transform: translateY(-6.5px) rotate(-45deg); }

.mobile-menu {
  display: none;
  background: var(--white);
  border-top: 1px solid var(--gray-200);
  padding: 16px 24px;
}
.mobile-menu.open { display: block; }
.mobile-menu li { border-bottom: 1px solid var(--gray-100); }
.mobile-menu a {
  display: block;
  padding: 15px 0;
  font-size: 15px;
}

/* ===== Hero ===== */
.hero {
  min-height: 100vh;
  display: flex;
  flex-direction: column;
  justify-content: center;
  padding: calc(var(--nav-h) + 40px) 48px 80px;
  position: relative;
  overflow: hidden;
  background: var(--white);
  border-bottom: 1px solid var(--gray-200);
}

/* 大きな装飾数字 */
.hero::before {
  content: 'Lis';
  position: absolute;
  top: 50%;
  right: -2%;
  transform: translateY(-50%);
  font-family: 'Inter', sans-serif;
  font-size: clamp(160px, 24vw, 380px);
  font-weight: 700;
  letter-spacing: -0.06em;
  color: transparent;
  -webkit-text-stroke: 1px var(--gray-200);
  pointer-events: none;
  user-select: none;
  line-height: 1;
}

/* =================================================
   COMPANY PAGE
   ================================================= */
.company-page { background: #0a0a14; color: #fff; }
.company-page #header { background: rgba(10,10,20,0.6); backdrop-filter: blur(20px); border-bottom: 1px solid rgba(255,255,255,0.06); }
.company-page #header .nav-logo,
.company-page #header .nav-links a { color: #fff; }
.company-page #header .nav-logo .logo-svg,
.uribo-page #header .nav-logo .logo-svg { color: #fff; }
.company-page #header .btn-nav { border-color: rgba(255,255,255,0.4); color: #fff; }
.company-page #header .btn-nav:hover { background: #fff; color: #111; }

/* Company Hero */
.company-hero {
  position: relative;
  min-height: 70vh;
  display: flex;
  flex-direction: column;
  justify-content: center;
  padding: 140px 48px 80px;
  overflow: hidden;
  background: linear-gradient(135deg, #0a0a14 0%, #14142a 50%, #0a0a14 100%);
}
.company-hero-bg { position: absolute; inset: 0; overflow: hidden; pointer-events: none; }
.company-hero-bg .hero-orb-1 {
  width: 700px; height: 700px;
  top: -150px; left: -100px;
  background: radial-gradient(circle, rgba(71,85,105,0.6), transparent 65%);
}
.company-hero-bg .hero-orb-2 {
  width: 600px; height: 600px;
  top: 30%; right: -150px;
  background: radial-gradient(circle, rgba(200,165,116,0.5), transparent 65%);
}
.company-hero-bg .hero-orb-3 {
  width: 700px; height: 700px;
  bottom: -200px; left: 30%;
  background: radial-gradient(circle, rgba(148,163,184,0.55), transparent 65%);
}
.company-hero-bg .hero-grid {
  background-image:
    linear-gradient(to right, rgba(255,255,255,0.05) 1px, transparent 1px),
    linear-gradient(to bottom, rgba(255,255,255,0.05) 1px, transparent 1px);
}
.company-hero .container { position: relative; z-index: 1; text-align: center; }
.company-hero-eyebrow {
  font-family: 'Inter', sans-serif;
  font-size: 13px;
  letter-spacing: 0.3em;
  color: rgba(255,255,255,0.6);
  margin-bottom: 24px;
  opacity: 0;
  animation: fade-in-up 0.9s ease 0.2s forwards;
}
.company-hero-quote {
  min-height: 80vh;
}
.company-hero-quote .container { max-width: 1180px; text-align: left; padding: 0 48px; }
.company-hero-quote-text {
  font-size: clamp(34px, 5vw, 68px);
  font-weight: 700;
  line-height: 1.6;
  letter-spacing: 0.02em;
  color: #fff;
  margin-bottom: 40px;
  text-shadow: 0 2px 30px rgba(255,255,255,0.08);
}
.company-hero-quote-text .ch-word {
  display: block;
  opacity: 0;
  transform: translateY(40px);
  animation: ch-word-in 1.2s cubic-bezier(0.22, 1, 0.36, 1) forwards;
}
.company-hero-quote-text .ch-word:nth-child(1) { animation-delay: 0.3s; }
.company-hero-quote-text .ch-word:nth-child(2) { animation-delay: 0.6s; }
.company-hero-quote-text .ch-word:nth-child(3) { animation-delay: 0.9s; }
.company-hero-quote-text .grad-text {
  background: linear-gradient(135deg, #e2e8f0, #c8a574);
  -webkit-background-clip: text;
  background-clip: text;
  -webkit-text-fill-color: transparent;
}
.company-hero-quote .company-hero-sub {
  font-family: 'Inter', sans-serif;
  font-size: 14px;
  letter-spacing: 0.2em;
  color: rgba(255,255,255,0.55);
  margin-top: 16px;
}
.company-hero-quote .company-hero-eyebrow {
  text-align: left;
  margin-bottom: 36px;
}

.company-hero-title {
  font-size: clamp(72px, 12vw, 200px);
  font-weight: 700;
  line-height: 1;
  letter-spacing: -0.04em;
  background: linear-gradient(120deg, #fff 0%, #e2e8f0 40%, #c8a574 60%, #fff 100%);
  background-size: 250% 100%;
  -webkit-background-clip: text;
  background-clip: text;
  -webkit-text-fill-color: transparent;
  animation: title-shimmer 6s ease-in-out infinite;
  margin-bottom: 30px;
}
.ch-word {
  display: inline-block;
  opacity: 0;
  transform: translateY(60px);
  animation: ch-word-in 1s cubic-bezier(0.22, 1, 0.36, 1) forwards;
}
.ch-word:nth-child(1) { animation-delay: 0.3s; }
.ch-word:nth-child(2) { animation-delay: 0.5s; margin-left: 0.05em; }
@keyframes ch-word-in {
  to { opacity: 1; transform: translateY(0); }
}
.company-hero-sub {
  font-size: 18px;
  color: rgba(255,255,255,0.7);
  opacity: 0;
  animation: fade-in-up 0.9s ease 0.9s forwards;
}
@keyframes fade-in-up {
  from { opacity: 0; transform: translateY(20px); }
  to   { opacity: 1; transform: translateY(0); }
}
.company-hero-scroll {
  position: absolute;
  bottom: 40px; left: 50%;
  transform: translateX(-50%);
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 12px;
  z-index: 1;
  opacity: 0;
  animation: fade-in-up 0.9s ease 1.2s forwards;
}
.company-hero-scroll span {
  font-family: 'Inter', sans-serif;
  font-size: 11px;
  letter-spacing: 0.25em;
  color: rgba(255,255,255,0.5);
}
.company-hero-scroll .scroll-line {
  width: 1px; height: 60px;
  background: linear-gradient(to bottom, rgba(255,255,255,0.6), transparent);
  animation: scroll-line-pulse 2s ease-in-out infinite;
}
@keyframes scroll-line-pulse {
  0%, 100% { transform: scaleY(1); transform-origin: top; opacity: 1; }
  50%      { transform: scaleY(0.3); transform-origin: top; opacity: 0.4; }
}

/* CEO Message Section */
.ceo-section {
  background: linear-gradient(180deg, #0a0a14 0%, #12122a 100%);
  position: relative;
  overflow: hidden;
}
.ceo-section::before {
  content: '';
  position: absolute;
  width: 800px; height: 800px;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(71,85,105,0.15), transparent 70%);
  top: 20%; right: -300px;
  filter: blur(80px);
  pointer-events: none;
  animation: ceo-bg-1 22s ease-in-out infinite alternate;
}
@keyframes ceo-bg-1 {
  to { transform: translate(-200px, 200px) scale(1.2); }
}
.ceo-layout {
  display: grid;
  grid-template-columns: 380px 1fr;
  gap: 80px;
  position: relative;
  z-index: 1;
}
.ceo-photo-wrap {
  position: sticky;
  top: 120px;
  align-self: start;
}
.ceo-photo-frame {
  position: relative;
  aspect-ratio: 3/4;
  border-radius: 20px;
  overflow: hidden;
  box-shadow: 0 30px 80px rgba(0,0,0,0.5);
}
.ceo-photo {
  width: 100%; height: 100%;
  object-fit: cover;
  object-position: center 10%;
  display: block;
  transition: transform 0.6s ease;
}
.ceo-photo-frame:hover .ceo-photo { transform: scale(1.04); }
.ceo-photo-glow {
  position: absolute; inset: -2px;
  border-radius: 22px;
  background: linear-gradient(135deg, #475569, #94a3b8, #c8a574);
  z-index: -1;
  filter: blur(14px);
  opacity: 0.32;
  animation: ceo-glow 7s ease-in-out infinite;
}
@keyframes ceo-glow {
  0%, 100% { opacity: 0.4; transform: scale(1); }
  50%      { opacity: 0.7; transform: scale(1.02); }
}
.ceo-name-block { margin-top: 28px; text-align: center; }
.ceo-role-tag {
  display: inline-block;
  font-family: 'Inter', sans-serif;
  font-size: 11px;
  letter-spacing: 0.25em;
  color: rgba(255,255,255,0.5);
  padding: 4px 12px;
  border: 1px solid rgba(255,255,255,0.2);
  border-radius: 999px;
  margin-bottom: 16px;
}
.ceo-name-jp {
  font-size: 36px; font-weight: 700;
  letter-spacing: -0.02em;
  margin-bottom: 4px;
}
.ceo-name-en {
  font-family: 'Inter', sans-serif;
  font-size: 13px;
  letter-spacing: 0.2em;
  color: rgba(255,255,255,0.5);
}

.ceo-message-wrap .section-label { color: rgba(255,255,255,0.5); margin-bottom: 24px; }
.ceo-message-title {
  font-size: clamp(34px, 4vw, 52px);
  font-weight: 700;
  line-height: 1.3;
  letter-spacing: -0.025em;
  margin-bottom: 40px;
}
.grad-text {
  background: linear-gradient(135deg, #64748b, #c8a574);
  -webkit-background-clip: text;
  background-clip: text;
  -webkit-text-fill-color: transparent;
}
.ceo-quote-big {
  font-size: clamp(24px, 2.6vw, 34px);
  font-weight: 500;
  line-height: 1.8;
  letter-spacing: 0.02em;
  padding: 36px 0 36px 32px;
  border-left: 2px solid rgba(200,165,116,0.6);
  margin: 0 0 48px;
  color: #fff;
}
.ceo-paragraphs .ceo-body {
  font-size: 16px;
  line-height: 2;
  color: rgba(255,255,255,0.75);
  margin-bottom: 24px;
}
.ceo-callout {
  margin-top: 60px;
  padding: 40px;
  background: linear-gradient(135deg, rgba(71,85,105,0.1), rgba(200,165,116,0.08));
  border: 1px solid rgba(255,255,255,0.1);
  border-radius: 20px;
  position: relative;
  overflow: hidden;
}
.ceo-callout::before {
  content: '';
  position: absolute;
  inset: 0;
  background: linear-gradient(120deg, transparent 30%, rgba(255,255,255,0.05) 50%, transparent 70%);
  animation: callout-sweep 5s ease-in-out infinite;
}
@keyframes callout-sweep {
  0%   { transform: translateX(-100%); }
  100% { transform: translateX(100%); }
}
.ceo-callout-label {
  font-family: 'Inter', sans-serif;
  font-size: 12px;
  letter-spacing: 0.2em;
  color: rgba(255,255,255,0.6);
  margin-bottom: 16px;
}
.ceo-callout-body {
  font-size: 16px;
  line-height: 1.9;
  color: rgba(255,255,255,0.85);
  margin-bottom: 28px;
}
.ceo-callout .btn-primary {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  background: #fff;
  color: #111;
  padding: 14px 32px;
  border-radius: 999px;
  font-weight: 600;
  letter-spacing: 0.1em;
}

/* Company Info List */
.company-info-section {
  background: linear-gradient(180deg, #12122a 0%, #0a0a14 100%);
  position: relative;
  overflow: hidden;
}
.company-info-section .section-title { color: #fff; }
.company-info-section .section-label { color: rgba(255,255,255,0.5); }
.company-info-list {
  margin: 60px 0 0;
  padding: 0;
  max-width: 920px;
  border-top: 1px solid rgba(255,255,255,0.1);
}
.info-row {
  display: grid;
  grid-template-columns: 280px 1fr;
  gap: 40px;
  align-items: baseline;
  padding: 28px 4px;
  border-bottom: 1px solid rgba(255,255,255,0.1);
  position: relative;
  transition: padding-left 0.4s ease;
}
.info-row::before {
  content: '';
  position: absolute;
  left: 0; top: 0;
  width: 2px; height: 100%;
  background: linear-gradient(180deg, #94a3b8, #c8a574);
  transform: scaleY(0);
  transform-origin: top;
  transition: transform 0.5s cubic-bezier(0.22, 1, 0.36, 1);
}
.info-row:hover {
  padding-left: 24px;
}
.info-row:hover::before {
  transform: scaleY(1);
}
.info-row-label {
  font-family: 'Inter', sans-serif;
  font-size: 12px;
  font-weight: 500;
  letter-spacing: 0.25em;
  color: rgba(255,255,255,0.5);
  display: flex;
  align-items: baseline;
  gap: 18px;
}
.info-row-num {
  font-family: 'Inter', sans-serif;
  font-size: 18px;
  font-weight: 600;
  color: #c8a574;
  letter-spacing: 0;
}
.info-row-value {
  font-size: 17px;
  line-height: 1.7;
  font-weight: 400;
  color: #fff;
  margin: 0;
}
.info-row-value .info-unit {
  font-size: 13px;
  color: rgba(255,255,255,0.55);
  margin: 0 4px 0 1px;
}
.info-card {
  grid-column: span 2;
  position: relative;
  padding: 32px;
  background: rgba(255,255,255,0.03);
  border: 1px solid rgba(255,255,255,0.08);
  border-radius: 16px;
  overflow: hidden;
  transition: transform 0.4s cubic-bezier(0.22,1,0.36,1), border-color 0.3s, background 0.3s;
}
.info-card-wide { grid-column: span 3; }
.info-card::before {
  content: '';
  position: absolute;
  inset: 0;
  background: linear-gradient(135deg, rgba(71,85,105,0.1), rgba(200,165,116,0.08));
  opacity: 0;
  transition: opacity 0.4s;
}
.info-card:hover {
  transform: translateY(-6px);
  border-color: rgba(200,165,116,0.4);
  background: rgba(255,255,255,0.05);
}
.info-card:hover::before { opacity: 1; }
.info-card-num {
  font-family: 'Inter', sans-serif;
  font-size: 60px;
  font-weight: 700;
  line-height: 1;
  background: linear-gradient(135deg, #64748b, #c8a574);
  background-size: 200% 200%;
  -webkit-background-clip: text;
  background-clip: text;
  -webkit-text-fill-color: transparent;
  margin-bottom: 16px;
  position: relative;
  animation: num-gradient 6s linear infinite;
}
.info-card-label {
  font-family: 'Inter', sans-serif;
  font-size: 11px;
  letter-spacing: 0.25em;
  color: rgba(255,255,255,0.5);
  margin-bottom: 12px;
  position: relative;
}
.info-card-value {
  font-size: 18px;
  font-weight: 500;
  line-height: 1.6;
  color: #fff;
  position: relative;
}
.info-card-value span {
  font-size: 14px;
  font-weight: 400;
  color: rgba(255,255,255,0.6);
  margin: 0 2px;
}

@media (max-width: 900px) {
  .ceo-layout { grid-template-columns: 1fr; gap: 60px; }
  .ceo-photo-wrap { position: static; max-width: 320px; margin: 0 auto; }
  .info-row { grid-template-columns: 1fr; gap: 8px; padding: 20px 4px; }
}

/* ===== Custom Cursor (Desktop only) ===== */
@media (hover: hover) and (pointer: fine) {
  body { cursor: none; }
  a, button, .service-card, .mcard, .info-row, .partner-logo, [role="button"] { cursor: none; }
  /* Keep native cursor on form fields so the text caret stays usable */
  input, textarea, select { cursor: auto; }
}
.cursor-dot, .cursor-ring {
  position: fixed;
  top: 0; left: 0;
  pointer-events: none;
  z-index: 9999;
  will-change: transform;
  mix-blend-mode: difference;
}
.cursor-dot {
  width: 8px; height: 8px;
  margin: -4px 0 0 -4px;
  background: #fff;
  border-radius: 50%;
  transition: transform 0.15s ease-out, opacity 0.2s;
}
.cursor-ring {
  width: 40px; height: 40px;
  margin: -20px 0 0 -20px;
  border: 1.5px solid rgba(255,255,255,0.8);
  border-radius: 50%;
  transition: transform 0.25s cubic-bezier(0.22, 1, 0.36, 1),
              width 0.3s ease, height 0.3s ease, margin 0.3s ease,
              border-color 0.3s, opacity 0.2s, backdrop-filter 0.3s;
}
.cursor-ring.cursor-hover {
  width: 64px; height: 64px;
  margin: -32px 0 0 -32px;
  border-color: rgba(200,165,116,0.9);
  background: rgba(200,165,116,0.08);
  backdrop-filter: blur(2px);
}
.cursor-ring.cursor-hidden, .cursor-dot.cursor-hidden { opacity: 0; }
@media (hover: none), (pointer: coarse) {
  .cursor-dot, .cursor-ring { display: none; }
}

/* ===== Hero Title Character Reveal ===== */
.char-reveal {
  display: inline-block;
  opacity: 0;
  transform: translateY(80%);
  filter: blur(8px);
  animation: char-rise 1s cubic-bezier(0.22, 1, 0.36, 1) forwards;
}
@keyframes char-rise {
  to {
    opacity: 1;
    transform: translateY(0);
    filter: blur(0);
  }
}

/* ===== Enhanced Hero Mesh Gradient ===== */
.hero, .company-hero, .uribo-hero { overflow: hidden; }
.hero-mesh {
  position: absolute;
  inset: 0;
  z-index: 0;
  pointer-events: none;
  opacity: 0.45;
  filter: blur(40px);
  overflow: hidden;
}
.hero-mesh::before,
.hero-mesh::after {
  content: '';
  position: absolute;
  border-radius: 50%;
  mix-blend-mode: screen;
}
.hero-mesh::before {
  width: 60vmax; height: 60vmax;
  top: -20vmax; left: -15vmax;
  background: conic-gradient(from 0deg at 50% 50%,
    rgba(99,102,180,0.6),
    rgba(200,165,116,0.4),
    rgba(148,163,184,0.3),
    rgba(99,102,180,0.6));
  animation: mesh-rotate-1 25s linear infinite;
}
.hero-mesh::after {
  width: 50vmax; height: 50vmax;
  bottom: -20vmax; right: -15vmax;
  background: conic-gradient(from 180deg at 50% 50%,
    rgba(200,165,116,0.5),
    rgba(71,85,105,0.4),
    rgba(148,163,184,0.5),
    rgba(200,165,116,0.5));
  animation: mesh-rotate-2 30s linear infinite reverse;
}
@keyframes mesh-rotate-1 {
  to { transform: rotate(360deg); }
}
@keyframes mesh-rotate-2 {
  to { transform: rotate(-360deg); }
}

/* ===== Section Clip-Path Reveal ===== */
.clip-reveal {
  clip-path: inset(0 100% 0 0);
  transition: clip-path 1.2s cubic-bezier(0.77, 0, 0.18, 1);
}
.clip-reveal.visible {
  clip-path: inset(0 0 0 0);
}

/* ===== Enhanced 3D Card Magnetic Tilt ===== */
.service-card {
  transform-style: preserve-3d;
  transition: transform 0.4s cubic-bezier(0.22, 1, 0.36, 1), box-shadow 0.4s;
}
.service-card .service-card-inner {
  transform-style: preserve-3d;
  transform: translateZ(0);
}
.service-card:hover {
  box-shadow: 0 30px 80px rgba(200,165,116,0.15), 0 0 0 1px rgba(200,165,116,0.15);
}
.service-card .service-meta,
.service-card .service-name,
.service-card .service-desc,
.service-card .service-points,
.service-card .service-link {
  transform: translateZ(0);
  transition: transform 0.4s cubic-bezier(0.22, 1, 0.36, 1);
}
.service-card:hover .service-meta { transform: translateZ(20px); }
.service-card:hover .service-name { transform: translateZ(40px); }
.service-card:hover .service-link { transform: translateZ(30px) translateX(8px); }

/* ===== Floating Scroll Indicator ===== */
.scroll-indicator-fab {
  position: fixed;
  bottom: 32px; right: 32px;
  width: 56px; height: 56px;
  z-index: 100;
  display: grid;
  place-items: center;
  cursor: pointer;
  opacity: 0;
  transform: translateY(20px);
  transition: opacity 0.4s, transform 0.4s;
  pointer-events: none;
}
.scroll-indicator-fab.visible {
  opacity: 1;
  transform: translateY(0);
  pointer-events: auto;
}
.scroll-indicator-fab svg {
  position: absolute;
  inset: 0;
  width: 100%; height: 100%;
  transform: rotate(-90deg);
}
.scroll-indicator-fab .progress-circle {
  fill: none;
  stroke: rgba(200,165,116,0.9);
  stroke-width: 2;
  stroke-dasharray: 169.65;
  stroke-dashoffset: 169.65;
  transition: stroke-dashoffset 0.1s linear;
}
.scroll-indicator-fab .progress-bg {
  fill: rgba(0,0,0,0.4);
  stroke: rgba(255,255,255,0.1);
  stroke-width: 1;
  backdrop-filter: blur(10px);
}
.scroll-indicator-fab::after {
  content: '↑';
  color: #fff;
  font-size: 18px;
  position: relative;
  z-index: 1;
}

/* ===== Cursor Light ===== */
.cursor-light {
  position: fixed;
  top: 0; left: 0;
  width: 500px; height: 500px;
  margin-left: -250px; margin-top: -250px;
  background: radial-gradient(circle, rgba(100,116,139,0.06) 0%, transparent 60%);
  pointer-events: none;
  z-index: 998;
  mix-blend-mode: multiply;
  transition: opacity 0.3s;
}
@media (max-width: 768px) {
  .cursor-light { display: none; }
}

/* ===== Japanese Word/Phrase Breaking ===== */
/* 見出しだけ文節単位で改行（短いテキスト向け）。本文は通常の折り返しに任せて
   横はみ出しを防ぐ。 */
h1, h2, h3, h4, h5, h6,
.section-title, .hero-title, .uribo-hero-title, .company-hero-quote-text,
.concept-heading, .careers-title, .page-hero-title {
  word-break: auto-phrase;
  overflow-wrap: anywhere;
}
@supports not (word-break: auto-phrase) {
  h1, h2, h3, h4, h5, h6,
  .section-title, .hero-title, .uribo-hero-title, .company-hero-quote-text,
  .concept-heading, .careers-title, .page-hero-title {
    word-break: normal;
    overflow-wrap: break-word;
  }
}
/* 本文・リストなどは確実に折り返す（長い日本語が横に伸びないように） */
body, p, li, dt, dd, span, a, blockquote, td, th {
  word-break: normal;
  overflow-wrap: break-word;
}

/* ===== Scroll Progress Bar ===== */
.scroll-progress {
  position: fixed;
  top: 0; left: 0;
  width: 100%;
  height: 3px;
  background: linear-gradient(90deg, #475569, #94a3b8, #c8a574);
  transform-origin: left;
  transform: scaleX(0);
  z-index: 999;
  pointer-events: none;
  box-shadow: 0 0 12px rgba(99,102,241,0.6);
}

/* ===== Section Title Underline Draw ===== */
.section-title,
.concept-heading,
.careers-title,
.page-hero-title {
  position: relative;
  display: inline-block;
}
.section-title::after,
.concept-heading::after,
.careers-title::after,
.page-hero-title::after {
  content: '';
  position: absolute;
  left: 0; bottom: -10px;
  width: 100%; height: 3px;
  background: linear-gradient(90deg, #64748b, #c8a574);
  transform: scaleX(0);
  transform-origin: left;
  transition: transform 0.8s cubic-bezier(0.22, 1, 0.36, 1) 0.2s;
}
.careers-title::after { background: linear-gradient(90deg, #fff, rgba(255,255,255,0.4)); }
.fade-up.visible .concept-heading::after,
.fade-up.visible .careers-title::after,
.fade-up.visible .page-hero-title::after,
.visible .concept-heading::after,
.visible .careers-title::after,
.visible .page-hero-title::after {
  transform: scaleX(1);
}
.section-header.visible .section-title::after,
.news-header.visible .section-title::after,
.fade-up.visible .section-title::after,
.section-title.visible::after {
  transform: scaleX(1);
}

/* ===== MVV Animations ===== */
.mvv-row {
  opacity: 0;
  transform: translateY(40px);
  transition: opacity 0.8s cubic-bezier(0.22, 1, 0.36, 1), transform 0.8s cubic-bezier(0.22, 1, 0.36, 1);
  position: relative;
}
.mvv-row.in-view {
  opacity: 1;
  transform: translateY(0);
}
.mvv-num {
  display: inline-block;
  font-family: 'Inter', sans-serif;
  background: linear-gradient(135deg, #475569, #94a3b8, #c8a574, #475569);
  background-size: 300% 300%;
  -webkit-background-clip: text;
  background-clip: text;
  -webkit-text-fill-color: transparent;
  transition: transform 0.5s ease;
  animation: num-gradient 6s linear infinite;
}
@keyframes num-gradient {
  0%   { background-position: 0% 0%; }
  100% { background-position: 300% 300%; }
}
.mvv-row:hover .mvv-num {
  transform: scale(1.2) rotate(-3deg);
}
.mvv-label-tag {
  position: relative;
  overflow: hidden;
  display: inline-block;
}
.mvv-label-tag::before {
  content: '';
  position: absolute;
  top: 0; left: -100%;
  width: 100%; height: 100%;
  background: linear-gradient(90deg, transparent, rgba(255,255,255,0.4), transparent);
  transition: left 0.6s;
}
.mvv-label-tag::before {
  animation: tag-shimmer 4s ease infinite;
}
@keyframes tag-shimmer {
  0%   { left: -100%; }
  60%  { left: 200%; }
  100% { left: 200%; }
}
.mvv-row-heading {
  position: relative;
  overflow: hidden;
  display: inline-block;
}
.mvv-row-heading::before {
  content: '';
  position: absolute;
  inset: 0;
  background: linear-gradient(90deg, transparent 0%, #fff 50%, transparent 100%);
  transform: translateX(-110%);
  pointer-events: none;
  mix-blend-mode: overlay;
}
.mvv-row-heading::before {
  animation: heading-sweep 5s ease-in-out infinite;
}
@keyframes heading-sweep {
  0%   { transform: translateX(-110%); }
  55%  { transform: translateX(110%); }
  100% { transform: translateX(110%); }
}

/* VALUE tier boxes float on hover + idle breathing */
.tier-box {
  transition: transform 0.4s cubic-bezier(0.22, 1, 0.36, 1), background 0.3s, box-shadow 0.3s, border-color 0.3s;
  position: relative;
  overflow: hidden;
  animation: tier-breath 5s ease-in-out infinite;
}
.tier-box:nth-child(2) { animation-delay: 0.6s; }
.tier-box:nth-child(3) { animation-delay: 1.2s; }
.tier-box:nth-child(4) { animation-delay: 1.8s; }
@keyframes tier-breath {
  0%, 100% { box-shadow: 0 0 0 rgba(99,102,241,0); }
  50%      { box-shadow: 0 0 24px rgba(200,165,116,0.18); }
}
.tier-box::before {
  content: '';
  position: absolute;
  inset: 0;
  background: linear-gradient(135deg, rgba(71,85,105,0.12), rgba(200,165,116,0.12));
  opacity: 0;
  transition: opacity 0.4s;
  pointer-events: none;
}
.tier-box:hover {
  transform: translateY(-6px) scale(1.02);
  box-shadow: 0 16px 40px rgba(100,116,139,0.25);
  border-color: rgba(200,165,116,0.5) !important;
}
.tier-box:hover::before { opacity: 1; }

/* Stagger tier boxes in */
.mvv-row.in-view .tier-box {
  animation: tier-pop 0.7s cubic-bezier(0.22, 1, 0.36, 1) backwards;
}
.mvv-row.in-view .tier-box:nth-child(1) { animation-delay: 0.5s; }
.mvv-row.in-view .tier-box:nth-child(2) { animation-delay: 0.65s; }
.mvv-row.in-view .tier-box:nth-child(3) { animation-delay: 0.8s; }
.mvv-row.in-view .tier-box:nth-child(4) { animation-delay: 0.95s; }
@keyframes tier-pop {
  from { opacity: 0; transform: translateY(30px) scale(0.92); }
  to   { opacity: 1; transform: translateY(0) scale(1); }
}

/* VALUE formula × marks pulse */
.value-formula-new .op {
  display: inline-block;
  background: linear-gradient(135deg, #64748b, #c8a574);
  -webkit-background-clip: text;
  background-clip: text;
  -webkit-text-fill-color: transparent;
  animation: op-pulse 2s ease-in-out infinite;
}
.value-formula-new .op:nth-child(odd) { animation-delay: 0.5s; }
@keyframes op-pulse {
  0%, 100% { transform: scale(1) rotate(0deg); }
  50%      { transform: scale(1.25) rotate(90deg); }
}

/* ===== Member Card Animations ===== */
.mcard {
  opacity: 0;
  transform: translateY(40px);
  transition: opacity 0.7s cubic-bezier(0.22, 1, 0.36, 1), transform 0.7s cubic-bezier(0.22, 1, 0.36, 1);
}
.mcard.visible {
  opacity: 1;
  transform: translateY(0);
}
.mcard-photo {
  position: relative;
  overflow: hidden;
}
.mcard-img {
  transition: transform 0.6s cubic-bezier(0.22, 1, 0.36, 1), filter 0.5s ease;
}
.mcard:hover .mcard-img {
  transform: scale(1.06);
}
/* (Color overlay on photo hover removed) */
/* Sliding name underline */
.mcard-name {
  position: relative;
  display: inline-block;
}
.mcard-name::after {
  content: '';
  position: absolute;
  left: 0; bottom: -4px;
  width: 100%; height: 2px;
  background: linear-gradient(90deg, #64748b, #c8a574);
  transform: scaleX(0);
  transform-origin: left;
  transition: transform 0.5s cubic-bezier(0.22, 1, 0.36, 1);
}
.mcard:hover .mcard-name::after {
  transform: scaleX(1);
}
/* Arrow movement */
.mcard-btn {
  display: inline-block;
  transition: transform 0.4s cubic-bezier(0.22, 1, 0.36, 1);
}
.mcard:hover .mcard-btn {
  transform: translateX(8px);
}

/* ===== Service Card Glow on Hover ===== */
.service-card {
  position: relative;
  transition: transform 0.3s ease;
  will-change: transform;
}
.service-card::before {
  content: '';
  position: absolute;
  inset: -2px;
  border-radius: inherit;
  background: linear-gradient(135deg, #475569, #94a3b8, #c8a574);
  opacity: 0;
  z-index: -1;
  transition: opacity 0.4s ease;
  filter: blur(12px);
}
.service-card:hover::before {
  opacity: 0.5;
}

/* ===== Records: Number Glow ===== */
.record-num {
  background: linear-gradient(135deg, #fff 0%, #e2e8f0 50%, #c8a574 100%);
  -webkit-background-clip: text;
  background-clip: text;
  -webkit-text-fill-color: transparent;
  transition: transform 0.4s ease;
}
.record-item:hover .record-num {
  transform: scale(1.08);
}
.record-unit {
  -webkit-text-fill-color: rgba(255,255,255,0.7);
  color: rgba(255,255,255,0.7);
}

/* ===== Careers Animated Background ===== */
.careers {
  position: relative;
  overflow: hidden;
}
.careers::before, .careers::after {
  content: '';
  position: absolute;
  border-radius: 50%;
  filter: blur(80px);
  pointer-events: none;
}
.careers::before {
  width: 500px; height: 500px;
  top: -150px; left: -100px;
  background: radial-gradient(circle, rgba(71,85,105,0.35), transparent 70%);
  animation: careers-drift-1 20s ease-in-out infinite alternate;
}
.careers::after {
  width: 600px; height: 600px;
  bottom: -200px; right: -150px;
  background: radial-gradient(circle, rgba(200,165,116,0.3), transparent 70%);
  animation: careers-drift-2 24s ease-in-out infinite alternate;
}
@keyframes careers-drift-1 {
  to { transform: translate(150px, 80px) scale(1.2); }
}
@keyframes careers-drift-2 {
  to { transform: translate(-100px, -100px) scale(1.15); }
}
.careers-inner { position: relative; z-index: 1; }

/* ===== Button micro animation ===== */
.btn-primary, .btn-white, .btn-outline {
  transition: transform 0.25s cubic-bezier(0.22, 1, 0.36, 1), background 0.3s, color 0.3s, box-shadow 0.3s;
}

/* ===== Hero Animated Background ===== */
.hero {
  background: linear-gradient(135deg, #0a0a0f 0%, #14141f 100%) !important;
  color: #fff;
}
.hero-title, .hero-sub { color: #fff !important; }
.hero-eyebrow { color: rgba(255,255,255,0.6) !important; }
.hero::before {
  -webkit-text-stroke: 1px rgba(255,255,255,0.08) !important;
  color: transparent !important;
}
.hero .btn-primary {
  background: #fff !important;
  color: #111 !important;
}
.hero-scroll-label span { color: rgba(255,255,255,0.5) !important; }
.scroll-line { background: rgba(255,255,255,0.3) !important; }

.hero-bg {
  position: absolute;
  inset: 0;
  overflow: hidden;
  pointer-events: none;
  z-index: 0;
}
.hero-orb {
  position: absolute;
  border-radius: 50%;
  filter: blur(60px);
  opacity: 0.85;
  mix-blend-mode: screen;
  will-change: transform;
}
.hero-orb-1 {
  width: 720px; height: 720px;
  top: -200px; left: -150px;
  background: radial-gradient(circle, rgba(71,85,105,0.7), rgba(71,85,105,0) 65%);
  animation: orb-drift-1 14s ease-in-out infinite alternate;
}
.hero-orb-2 {
  width: 680px; height: 680px;
  top: 20%; right: -180px;
  background: radial-gradient(circle, rgba(200,165,116,0.55), rgba(200,165,116,0) 65%);
  animation: orb-drift-2 18s ease-in-out infinite alternate;
}
.hero-orb-3 {
  width: 800px; height: 800px;
  bottom: -250px; left: 25%;
  background: radial-gradient(circle, rgba(148,163,184,0.6), rgba(148,163,184,0) 65%);
  animation: orb-drift-3 16s ease-in-out infinite alternate;
}
@keyframes orb-drift-1 {
  0%   { transform: translate(0, 0) scale(1); }
  50%  { transform: translate(180px, 120px) scale(1.25); }
  100% { transform: translate(80px, 200px) scale(1.1); }
}
@keyframes orb-drift-2 {
  0%   { transform: translate(0, 0) scale(1); }
  50%  { transform: translate(-200px, 100px) scale(1.3); }
  100% { transform: translate(-150px, -100px) scale(0.95); }
}
@keyframes orb-drift-3 {
  0%   { transform: translate(0, 0) scale(1); }
  50%  { transform: translate(-150px, -180px) scale(1.2); }
  100% { transform: translate(180px, -120px) scale(1.15); }
}

/* Animated sweeping spotlight */
.hero-bg::after {
  content: '';
  position: absolute;
  inset: 0;
  background: conic-gradient(from 0deg at 50% 50%,
    transparent 0deg,
    rgba(255,255,255,0.04) 60deg,
    transparent 120deg,
    rgba(255,255,255,0.06) 180deg,
    transparent 240deg,
    rgba(255,255,255,0.04) 300deg,
    transparent 360deg);
  animation: hero-spin 20s linear infinite;
}
@keyframes hero-spin {
  to { transform: rotate(360deg); }
}

/* Fine grid overlay */
.hero-grid {
  position: absolute;
  inset: 0;
  background-image:
    linear-gradient(to right, rgba(255,255,255,0.05) 1px, transparent 1px),
    linear-gradient(to bottom, rgba(255,255,255,0.05) 1px, transparent 1px);
  background-size: 80px 80px;
  mask-image: radial-gradient(ellipse at center, black 30%, transparent 85%);
  -webkit-mask-image: radial-gradient(ellipse at center, black 30%, transparent 85%);
  animation: grid-pulse 8s ease-in-out infinite;
}
@keyframes grid-pulse {
  0%, 100% { opacity: 0.6; }
  50%      { opacity: 1; }
}

/* Floating particles */
.hero-particles {
  position: absolute;
  inset: 0;
}
.hero-particles span {
  position: absolute;
  display: block;
  width: 4px; height: 4px;
  background: rgba(255,255,255,0.9);
  border-radius: 50%;
  bottom: -10px;
  box-shadow: 0 0 10px rgba(255,255,255,0.8), 0 0 20px rgba(180,200,255,0.4);
  animation: particle-rise linear infinite;
}
.hero-particles span:nth-child(1)  { left: 4%;  width: 3px; height: 3px; animation-duration: 18s; animation-delay: 0s; }
.hero-particles span:nth-child(2)  { left: 12%; width: 5px; height: 5px; animation-duration: 24s; animation-delay: 3s; }
.hero-particles span:nth-child(3)  { left: 18%; width: 2px; height: 2px; animation-duration: 16s; animation-delay: 7s; }
.hero-particles span:nth-child(4)  { left: 25%; width: 4px; height: 4px; animation-duration: 22s; animation-delay: 1s; }
.hero-particles span:nth-child(5)  { left: 32%; width: 3px; height: 3px; animation-duration: 28s; animation-delay: 9s; }
.hero-particles span:nth-child(6)  { left: 38%; width: 5px; height: 5px; animation-duration: 20s; animation-delay: 4s; }
.hero-particles span:nth-child(7)  { left: 44%; width: 2px; height: 2px; animation-duration: 26s; animation-delay: 12s; }
.hero-particles span:nth-child(8)  { left: 50%; width: 4px; height: 4px; animation-duration: 18s; animation-delay: 6s; }
.hero-particles span:nth-child(9)  { left: 56%; width: 3px; height: 3px; animation-duration: 24s; animation-delay: 2s; }
.hero-particles span:nth-child(10) { left: 62%; width: 5px; height: 5px; animation-duration: 30s; animation-delay: 10s; }
.hero-particles span:nth-child(11) { left: 68%; width: 2px; height: 2px; animation-duration: 22s; animation-delay: 5s; }
.hero-particles span:nth-child(12) { left: 74%; width: 4px; height: 4px; animation-duration: 19s; animation-delay: 11s; }
.hero-particles span:nth-child(13) { left: 80%; width: 3px; height: 3px; animation-duration: 26s; animation-delay: 8s; }
.hero-particles span:nth-child(14) { left: 86%; width: 5px; height: 5px; animation-duration: 21s; animation-delay: 13s; }
.hero-particles span:nth-child(15) { left: 92%; width: 2px; height: 2px; animation-duration: 28s; animation-delay: 14s; }
.hero-particles span:nth-child(16) { left: 8%;  width: 3px; height: 3px; animation-duration: 25s; animation-delay: 15s; }
.hero-particles span:nth-child(17) { left: 28%; width: 4px; height: 4px; animation-duration: 23s; animation-delay: 16s; }
.hero-particles span:nth-child(18) { left: 48%; width: 2px; height: 2px; animation-duration: 27s; animation-delay: 17s; }
.hero-particles span:nth-child(19) { left: 70%; width: 4px; height: 4px; animation-duration: 20s; animation-delay: 18s; }
.hero-particles span:nth-child(20) { left: 90%; width: 3px; height: 3px; animation-duration: 24s; animation-delay: 19s; }

@keyframes particle-rise {
  0%   { transform: translate(0, 0) scale(0.5); opacity: 0; }
  10%  { opacity: 1; transform: translate(0, -5vh) scale(1); }
  50%  { opacity: 0.9; }
  90%  { opacity: 0.6; }
  100% { transform: translate(40px, -115vh) scale(1.2); opacity: 0; }
}

/* Animated shimmer on title */
.hero-title {
  background: linear-gradient(90deg, #ffffff 0%, #ffffff 40%, #e7e5e4 50%, #ffffff 60%, #ffffff 100%);
  background-size: 200% 100%;
  -webkit-background-clip: text;
  background-clip: text;
  -webkit-text-fill-color: transparent;
  animation: title-shimmer 6s ease-in-out infinite;
}
@keyframes title-shimmer {
  0%, 100% { background-position: 200% 0; }
  50%      { background-position: -100% 0; }
}

@media (prefers-reduced-motion: reduce) {
  .hero-orb, .hero-particles span { animation: none; }
}

/* Keep hero text above background */
.hero-inner, .hero::before { position: relative; z-index: 1; }

.hero-inner {
  max-width: 1160px;
  width: 100%;
  margin: 0 auto;
  display: flex;
  flex-direction: column;
}

.hero-eyebrow {
  font-family: 'Inter', sans-serif;
  font-size: 11px;
  letter-spacing: 0.22em;
  color: var(--gray-400);
  margin-bottom: 32px;
  text-transform: uppercase;
}

.hero-title {
  font-size: clamp(52px, 8.5vw, 120px);
  font-weight: 700;
  line-height: 1.05;
  letter-spacing: -0.04em;
  margin-bottom: 40px;
  max-width: 820px;
}

.hero-bottom {
  display: flex;
  align-items: flex-end;
  justify-content: space-between;
  gap: 40px;
}

.hero-sub {
  font-size: clamp(14px, 1.5vw, 16px);
  color: var(--gray-600);
  font-weight: 300;
  line-height: 1.9;
  max-width: 400px;
}

.hero-actions {
  display: flex;
  align-items: center;
  gap: 32px;
  flex-shrink: 0;
}
.hero-scroll-label {
  font-family: 'Inter', sans-serif;
  font-size: 10px;
  letter-spacing: 0.2em;
  color: var(--gray-400);
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 10px;
}
.scroll-line {
  width: 1px;
  height: 40px;
  background: linear-gradient(to bottom, var(--gray-400), transparent);
  animation: scrollDown 2s ease-in-out infinite;
}
@keyframes scrollDown {
  0%   { transform: scaleY(0); transform-origin: top; opacity: 0; }
  30%  { opacity: 1; }
  60%  { transform: scaleY(1); transform-origin: top; }
  61%  { transform: scaleY(1); transform-origin: bottom; }
  100% { transform: scaleY(0); transform-origin: bottom; opacity: 0; }
}

/* ===== Track Records ===== */
.records {
  background: var(--dark);
  color: var(--white);
  padding: 0;
}
.records-inner {
  max-width: 1160px;
  margin: 0 auto;
  padding: 0 48px;
  display: flex;
  align-items: stretch;
}
.record-item {
  flex: 1;
  padding: 56px 24px;
  text-align: center;
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
}
.record-num {
  font-family: 'Inter', sans-serif;
  font-size: clamp(40px, 5vw, 64px);
  font-weight: 700;
  letter-spacing: -0.04em;
  line-height: 1;
  margin-bottom: 12px;
}
.record-unit {
  font-size: clamp(16px, 2vw, 22px);
  font-weight: 400;
  margin-left: 2px;
}
.record-label {
  font-size: 12px;
  color: rgba(255,255,255,0.45);
  letter-spacing: 0.05em;
}
.record-divider {
  width: 1px;
  align-self: stretch;
  background: rgba(255,255,255,0.12);
  flex-shrink: 0;
}

/* ===== News ===== */
.news { background: var(--gray-50); }
.news-header {
  display: flex;
  align-items: flex-end;
  justify-content: space-between;
  margin-bottom: 48px;
}
.view-all-link {
  font-family: 'Inter', sans-serif;
  font-size: 12px;
  font-weight: 500;
  letter-spacing: 0.15em;
  color: var(--gray-600);
  display: inline-flex;
  align-items: center;
  gap: 6px;
  transition: color .2s, gap .2s;
  padding-bottom: 4px;
}
.view-all-link:hover { color: var(--black); gap: 12px; }

.news-list { border-top: 1px solid var(--gray-200); }
.news-item { border-bottom: 1px solid var(--gray-100); }
.news-item a {
  display: flex;
  align-items: center;
  gap: 20px;
  padding: 22px 8px;
  transition: background .2s;
}
.news-item a:hover { background: var(--gray-100); }
.news-item a:hover .news-arrow { transform: translateX(6px); }
.news-date {
  font-family: 'Inter', sans-serif;
  font-size: 12px;
  color: var(--gray-400);
  letter-spacing: 0.06em;
  white-space: nowrap;
  flex-shrink: 0;
}
.news-tag-sm {
  font-size: 10px;
  font-weight: 500;
  letter-spacing: 0.08em;
  border: 1px solid var(--gray-200);
  padding: 3px 10px;
  color: var(--gray-600);
  white-space: nowrap;
  flex-shrink: 0;
}
.news-title-text {
  font-size: 14px;
  flex: 1;
  line-height: 1.6;
}
.news-arrow {
  font-size: 14px;
  color: var(--gray-400);
  flex-shrink: 0;
  transition: transform .2s var(--ease);
}

/* ===== Careers ===== */
.careers {
  background: var(--mid);
  color: var(--white);
  min-height: 480px;
  display: flex;
  align-items: center;
  position: relative;
  overflow: hidden;
}
.careers::before {
  content: 'CAREERS';
  position: absolute;
  right: -20px;
  top: 50%;
  transform: translateY(-50%);
  font-family: 'Inter', sans-serif;
  font-size: clamp(60px, 12vw, 160px);
  font-weight: 700;
  letter-spacing: -0.04em;
  color: transparent;
  -webkit-text-stroke: 1px rgba(255,255,255,0.07);
  pointer-events: none;
  user-select: none;
  white-space: nowrap;
}
.careers-inner {
  max-width: 1160px;
  width: 100%;
  margin: 0 auto;
  padding: 100px 48px;
}
.careers-title {
  font-size: clamp(28px, 4vw, 52px);
  font-weight: 700;
  letter-spacing: -0.03em;
  line-height: 1.2;
  margin: 16px 0 28px;
  max-width: 640px;
}
.careers-sub {
  font-size: 15px;
  color: rgba(255,255,255,0.55);
  line-height: 1.9;
  margin-bottom: 44px;
  max-width: 560px;
}
.btn-white {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  padding: 15px 32px;
  background: var(--white);
  color: var(--black);
  font-size: 13px;
  font-weight: 500;
  letter-spacing: 0.08em;
  border: 1.5px solid var(--white);
  transition: background .22s, color .22s;
  font-family: inherit;
}
.btn-white::after { content: '→'; transition: transform .22s var(--ease); }
.btn-white:hover { background: transparent; color: var(--white); }
.btn-white:hover::after { transform: translateX(4px); }

/* ===== MVV ===== */
.mvv {
  background: linear-gradient(180deg, #0f0f1e 0%, #1a1538 50%, #0f0f1e 100%);
  color: var(--white);
  position: relative;
  overflow: hidden;
}
.mvv::before {
  content: '';
  position: absolute;
  width: 900px; height: 900px;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(71,85,105,0.5), transparent 65%);
  top: -250px; left: -300px;
  filter: blur(60px);
  animation: mvv-bg-drift 14s ease-in-out infinite alternate;
  pointer-events: none;
  mix-blend-mode: screen;
}
.mvv::after {
  content: '';
  position: absolute;
  width: 1000px; height: 1000px;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(200,165,116,0.4), transparent 65%);
  bottom: -350px; right: -300px;
  filter: blur(60px);
  animation: mvv-bg-drift-2 18s ease-in-out infinite alternate;
  pointer-events: none;
  mix-blend-mode: screen;
}
@keyframes mvv-bg-drift {
  0%   { transform: translate(0, 0) scale(1); }
  50%  { transform: translate(300px, 200px) scale(1.3); }
  100% { transform: translate(150px, 400px) scale(1.1); }
}
@keyframes mvv-bg-drift-2 {
  0%   { transform: translate(0, 0) scale(1); }
  50%  { transform: translate(-250px, -200px) scale(1.25); }
  100% { transform: translate(-350px, 100px) scale(1.1); }
}
.mvv .container { position: relative; z-index: 1; }

/* Grid overlay on MVV */
.mvv > .container::before {
  content: '';
  position: absolute;
  inset: -100px;
  background-image:
    linear-gradient(to right, rgba(255,255,255,0.04) 1px, transparent 1px),
    linear-gradient(to bottom, rgba(255,255,255,0.04) 1px, transparent 1px);
  background-size: 60px 60px;
  mask-image: radial-gradient(ellipse at center, black 30%, transparent 80%);
  -webkit-mask-image: radial-gradient(ellipse at center, black 30%, transparent 80%);
  pointer-events: none;
  z-index: -1;
}

.mvv-row {
  display: grid;
  grid-template-columns: 180px 1fr;
  gap: 0 80px;
  padding: 64px 0;
  border-top: 1px solid rgba(255,255,255,0.08);
  align-items: start;
}
.mvv-row:last-child { border-bottom: 1px solid rgba(255,255,255,0.08); }

.mvv-row-meta {
  display: flex;
  flex-direction: column;
  gap: 10px;
  padding-top: 8px;
}
.mvv-num {
  font-family: 'Inter', sans-serif;
  font-size: 11px;
  color: rgba(255,255,255,0.18);
  letter-spacing: 0.12em;
}
.mvv-label-tag {
  font-family: 'Inter', sans-serif;
  font-size: 10px;
  letter-spacing: 0.2em;
  color: rgba(255,255,255,0.35);
  text-transform: uppercase;
}
.mvv-row-content {
  display: flex;
  flex-direction: column;
  gap: 20px;
}
.mvv-row-heading {
  font-size: clamp(28px, 3.6vw, 52px);
  font-weight: 700;
  letter-spacing: -0.03em;
  line-height: 1.15;
}
.mvv-row-body {
  font-size: 14px;
  color: rgba(255,255,255,0.5);
  line-height: 1.9;
  max-width: 480px;
}

.value-formula-new {
  font-size: clamp(15px, 1.8vw, 20px);
  font-weight: 500;
  color: rgba(255,255,255,0.7);
  letter-spacing: 0.02em;
}
.value-formula-new .op { color: rgba(255,255,255,0.2); margin: 0 10px; }

.value-tags {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin-top: 4px;
}
.value-tag {
  font-size: 12px;
  padding: 6px 16px;
  border: 1px solid rgba(255,255,255,0.14);
  color: rgba(255,255,255,0.55);
  letter-spacing: 0.04em;
  transition: border-color .2s, color .2s;
}
.value-tag:hover { border-color: rgba(255,255,255,0.4); color: rgba(255,255,255,0.9); }

/* Value tiers — VALUE row spans full container width */
.mvv-row.mvv-value-row {
  display: block;
}
.mvv-row.mvv-value-row .mvv-row-meta {
  flex-direction: row;
  align-items: center;
  gap: 16px;
  margin-bottom: 32px;
}
.mvv-row.mvv-value-row .mvv-row-content {
  width: 100%;
}

.value-tiers { width: 100%; margin-top: 16px; }
.value-tier {
  display: flex;
  align-items: flex-start;
  gap: 40px;
  padding: 32px 0;
  border-bottom: 1px dashed rgba(255,255,255,0.1);
}
.value-tier:last-child { border-bottom: none; }
.tier-category {
  font-size: 13px;
  font-weight: 600;
  letter-spacing: 0.04em;
  color: rgba(255,255,255,0.5);
  width: 120px;
  flex-shrink: 0;
  padding-top: 22px;
  white-space: nowrap;
}
.tier-cat-note {
  display: block;
  font-size: 11px;
  font-weight: 400;
  color: rgba(255,255,255,0.25);
  letter-spacing: 0;
  margin-top: 4px;
}
.tier-boxes { display: flex; gap: 12px; flex-wrap: nowrap; flex: 1; }
.tier-box {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: flex-start;
  gap: 10px;
  border: 1px solid rgba(255,255,255,0.18);
  padding: 22px 16px;
  flex: 1;
  min-width: 0;
  transition: border-color .2s;
}
.tier-box:hover { border-color: rgba(255,255,255,0.4); }
.tier-box-name {
  font-size: 18px;
  font-weight: 700;
  letter-spacing: -0.01em;
  color: var(--white);
  white-space: nowrap;
}
.tier-box-desc {
  font-size: 12px;
  color: rgba(255,255,255,0.4);
  line-height: 1.7;
  text-align: center;
}

/* ===== Concept ===== */
.concept { background: var(--white); }
.concept-inner {
  max-width: 760px;
}
.concept-inner .section-label { margin-bottom: 32px; }
.concept-heading {
  font-size: clamp(36px, 5vw, 72px);
  font-weight: 700;
  letter-spacing: -0.04em;
  line-height: 1.1;
  margin-bottom: 48px;
  color: var(--black);
}
.concept-body {}
.concept-body p {
  font-size: 15px;
  color: var(--gray-600);
  line-height: 2;
  margin-bottom: 20px;
  max-width: 560px;
}
.concept-body p:last-child { margin-bottom: 0; }

/* CEO message */
.ceo-label {
  font-family: 'Inter', sans-serif;
  font-size: 10px;
  letter-spacing: 0.2em;
  color: var(--gray-400);
  text-transform: uppercase;
  margin-bottom: 24px;
}
.ceo-quote {
  font-size: clamp(16px, 2vw, 22px);
  font-weight: 700;
  letter-spacing: -0.02em;
  line-height: 1.5;
  border-left: 3px solid var(--black);
  padding-left: 20px;
  margin: 0 0 28px;
  color: var(--black);
}
.ceo-body {
  font-size: 14px;
  color: var(--gray-600);
  line-height: 2;
  margin-bottom: 16px;
}
.ceo-sub-label {
  font-size: 15px;
  font-weight: 700;
  color: var(--black);
  margin-top: 28px;
  margin-bottom: 10px;
  letter-spacing: -0.01em;
}
.ceo-sig {
  margin-top: 32px;
  padding-top: 20px;
  border-top: 1px solid var(--gray-200);
  display: flex;
  flex-direction: column;
  gap: 4px;
}
.ceo-name {
  font-size: 18px;
  font-weight: 700;
  letter-spacing: -0.01em;
  color: var(--black);
}
.ceo-title {
  font-size: 12px;
  color: var(--gray-400);
  letter-spacing: 0.04em;
}

/* ===== Services ===== */
.services { background: var(--gray-100); }

/* Wrapping anchor that makes entire service card clickable */
.service-card-link {
  display: flex;
  color: inherit;
  text-decoration: none;
  height: 100%;
}
.service-card-link .service-card {
  cursor: pointer;
  width: 100%;
  display: flex;
  flex-direction: column;
}
.service-card-link .service-card-inner {
  display: flex;
  flex-direction: column;
  height: 100%;
}

/* Coming Soon state */
.service-card-comingsoon {
  position: relative;
}
.service-card-comingsoon .service-name,
.service-card-comingsoon .service-en {
  opacity: 0.55;
}
.coming-soon-label {
  display: inline-block;
  font-family: 'Inter', sans-serif;
  font-size: 12px;
  letter-spacing: 0.25em;
  font-weight: 600;
  color: #c8a574;
  padding: 8px 18px;
  margin: 4px 0 20px;
  border: 1px solid rgba(200,165,116,0.5);
  border-radius: 999px;
  background: rgba(200,165,116,0.06);
  animation: coming-soon-pulse 2.6s ease-in-out infinite;
}
@keyframes coming-soon-pulse {
  0%, 100% { opacity: 0.85; box-shadow: 0 0 0 rgba(200,165,116,0); }
  50%      { opacity: 1; box-shadow: 0 0 16px rgba(200,165,116,0.25); }
}
.service-card-comingsoon .service-desc {
  opacity: 0.6;
}

.services-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1px;
  background: var(--gray-200);
  border: 1px solid var(--gray-200);
}
@media (max-width: 960px) {
  .services-grid { grid-template-columns: 1fr; }
}
.service-card {
  background: var(--white);
  position: relative;
  overflow: hidden;
  transition: background .25s;
}
.service-card::after {
  content: '';
  position: absolute;
  left: 0; bottom: 0;
  width: 0; height: 2px;
  background: var(--black);
  transition: width .45s var(--ease);
}
.service-card:hover::after { width: 100%; }
.service-card:hover { background: var(--gray-100); }

.service-card-inner { padding: 44px 36px; }
.service-meta {
  display: flex;
  align-items: center;
  gap: 12px;
  margin-bottom: 24px;
}
.service-num {
  font-family: 'Inter', sans-serif;
  font-size: 10px;
  font-weight: 500;
  color: var(--gray-400);
  letter-spacing: 0.12em;
}
.service-tag {
  font-size: 10px;
  font-weight: 500;
  letter-spacing: 0.1em;
  border: 1px solid var(--gray-200);
  padding: 3px 10px;
  color: var(--gray-600);
  text-transform: uppercase;
}
.service-name {
  font-size: clamp(24px, 2.8vw, 34px);
  font-weight: 700;
  letter-spacing: -0.025em;
  margin-bottom: 4px;
}
.service-en {
  font-family: 'Inter', sans-serif;
  font-size: 11px;
  color: var(--gray-400);
  letter-spacing: 0.12em;
  text-transform: uppercase;
  margin-bottom: 24px;
}
.service-desc {
  font-size: 14px;
  color: var(--gray-600);
  line-height: 1.85;
  margin-bottom: 24px;
}
.service-points { margin-bottom: 32px; }
.service-points li {
  font-size: 13px;
  padding: 8px 0;
  border-bottom: 1px solid var(--gray-100);
  display: flex;
  align-items: center;
  gap: 10px;
}
.service-points li::before {
  content: '';
  display: inline-block;
  width: 4px; height: 4px;
  background: var(--black);
  border-radius: 50%;
  flex-shrink: 0;
}
.service-link {
  font-size: 12px;
  font-weight: 500;
  letter-spacing: 0.08em;
  display: inline-flex;
  align-items: center;
  gap: 8px;
  transition: gap .2s;
}
.service-link:hover { gap: 14px; }

/* ===== Member ===== */
.member { background: var(--white); }

.member-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 2px;
  background: var(--gray-200);
  border: 1px solid var(--gray-200);
}

.member-card {
  background: var(--gray-50);
  display: flex;
  gap: 36px;
  padding: 52px 48px;
  transition: background .25s;
}
.member-card:hover { background: var(--gray-100); }

.member-photo {
  flex-shrink: 0;
  width: 100px;
  height: 100px;
  overflow: hidden;
}
.member-photo img { width: 100%; height: 100%; object-fit: cover; }
.member-photo-placeholder {
  width: 100%;
  height: 100%;
  background: var(--gray-100);
  border: 1px solid var(--gray-200);
  display: flex;
  align-items: center;
  justify-content: center;
  font-family: 'Inter', sans-serif;
  font-size: 18px;
  font-weight: 600;
  color: var(--gray-400);
  letter-spacing: 0.05em;
}

.member-info { flex: 1; min-width: 0; }

.member-role {
  font-size: 11px;
  font-weight: 500;
  letter-spacing: 0.15em;
  color: var(--gray-400);
  text-transform: uppercase;
  margin-bottom: 10px;
}
.member-name {
  font-size: clamp(22px, 2.5vw, 28px);
  font-weight: 700;
  letter-spacing: -0.02em;
  margin-bottom: 4px;
}
.member-name-en {
  font-family: 'Inter', sans-serif;
  font-size: 12px;
  color: var(--gray-400);
  letter-spacing: 0.1em;
  margin-bottom: 20px;
}
.member-bio {
  font-size: 13px;
  color: var(--gray-600);
  line-height: 1.85;
  margin-bottom: 16px;
}
.member-career {
  display: flex;
  flex-direction: column;
  gap: 0;
}
.member-career li {
  font-size: 12px;
  color: var(--gray-600);
  padding: 7px 0;
  border-bottom: 1px solid var(--gray-100);
  display: flex;
  align-items: center;
  gap: 8px;
}
.member-career li::before {
  content: '';
  display: inline-block;
  width: 3px;
  height: 3px;
  background: var(--gray-400);
  border-radius: 50%;
  flex-shrink: 0;
}

@media (max-width: 960px) {
  .member-grid { grid-template-columns: 1fr; }
}
@media (max-width: 640px) {
  .member-card { flex-direction: column; gap: 24px; padding: 36px 24px; }
  .member-photo { width: 80px; height: 80px; }
}

/* ===== Member teaser (index) ===== */
.member-teaser-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 2px;
  background: var(--gray-200);
  border: 1px solid var(--gray-200);
  margin-bottom: 48px;
}
.member-teaser-card {
  background: var(--gray-50);
  display: flex;
  align-items: center;
  gap: 28px;
  padding: 40px 48px;
  text-decoration: none;
  color: inherit;
  transition: background .25s;
}
.member-teaser-card:hover { background: var(--gray-100); }
.member-teaser-photo {
  width: 72px;
  height: 72px;
  flex-shrink: 0;
  background: var(--gray-100);
  border: 1px solid var(--gray-200);
  display: flex;
  align-items: center;
  justify-content: center;
  font-family: 'Inter', sans-serif;
  font-size: 14px;
  font-weight: 600;
  color: var(--gray-400);
  letter-spacing: 0.05em;
}
.member-teaser-info { flex: 1; }
.member-teaser-role {
  font-size: 10px;
  letter-spacing: 0.18em;
  color: var(--gray-400);
  text-transform: uppercase;
  margin-bottom: 8px;
}
.member-teaser-name {
  font-size: clamp(20px, 2vw, 26px);
  font-weight: 700;
  letter-spacing: -0.02em;
  margin-bottom: 2px;
}
.member-teaser-name-en {
  font-family: 'Inter', sans-serif;
  font-size: 11px;
  color: var(--gray-400);
  letter-spacing: 0.1em;
}
.member-teaser-arrow {
  font-size: 18px;
  color: var(--gray-400);
  transition: transform .2s;
}
.member-teaser-card:hover .member-teaser-arrow { transform: translateX(4px); }

.member-view-all {
  text-align: center;
  padding-top: 16px;
}
.member-view-all a {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  font-family: 'Inter', sans-serif;
  font-size: 13px;
  font-weight: 500;
  letter-spacing: 0.14em;
  color: var(--black);
  text-decoration: none;
  border: 1px solid var(--black);
  padding: 16px 40px;
  transition: background .2s, color .2s;
  transition: background .2s, color .2s;
}
.member-view-all a:hover { background: var(--black); color: var(--white); }

/* ===== Member detail page ===== */
.subpage body { padding-top: var(--nav-h); }

.page-hero {
  padding: 100px 0 64px;
  background: var(--white);
  border-bottom: 1px solid var(--gray-100);
}
.page-hero .section-label { margin-bottom: 20px; }
.page-hero-title {
  font-size: clamp(40px, 6vw, 88px);
  font-weight: 700;
  letter-spacing: -0.04em;
  line-height: 1.05;
  color: var(--black);
}

.member-page { background: var(--white); }

/* ===== Member Card Grid ===== */
.mcard-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 40px 32px;
}

.mcard {
  cursor: pointer;
  outline: none;
}

.mcard-photo {
  aspect-ratio: 1 / 1;
  overflow: hidden;
  background: var(--gray-100);
  margin-bottom: 20px;
}

.mcard-photo .member-photo-placeholder {
  width: 100%;
  height: 100%;
  aspect-ratio: unset;
  font-size: 2rem;
  transition: transform 0.4s ease;
}
.mcard-img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center 15%;
  display: block;
  transition: transform 0.4s ease;
}

.mcard:hover .mcard-photo .member-photo-placeholder {
  transform: scale(1.03);
}

.mcard-info {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
}

.mcard-text { flex: 1; min-width: 0; }

.mcard-role {
  font-family: 'Inter', sans-serif;
  font-size: 11px;
  letter-spacing: 0.12em;
  color: var(--gray-400);
  margin-bottom: 8px;
  min-height: 1.4em;
}

.mcard-name {
  font-size: clamp(18px, 2vw, 28px);
  font-weight: 700;
  letter-spacing: -0.02em;
  line-height: 1.15;
}

.mcard-btn {
  width: 52px;
  height: 52px;
  border-radius: 50%;
  border: 1px solid var(--gray-300);
  background: transparent;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 16px;
  flex-shrink: 0;
  transition: background 0.2s, border-color 0.2s, color 0.2s, transform 0.2s;
  color: var(--black);
}

.mcard:hover .mcard-btn {
  background: var(--black);
  border-color: var(--black);
  color: var(--white);
  transform: translateX(4px);
}

/* ===== Member Modal ===== */
.mmodal {
  position: fixed;
  inset: 0;
  z-index: 2000;
  display: flex;
  align-items: center;
  justify-content: center;
  opacity: 0;
  pointer-events: none;
  transition: opacity 0.3s ease;
}

.mmodal.active {
  opacity: 1;
  pointer-events: all;
}

.mmodal-overlay {
  position: absolute;
  inset: 0;
  background: rgba(0, 0, 0, 0.55);
  cursor: pointer;
}

.mmodal-inner {
  position: relative;
  z-index: 1;
  background: var(--white);
  display: flex;
  width: min(92vw, 960px);
  max-height: 88vh;
  overflow: hidden;
  transform: translateY(16px);
  transition: transform 0.3s ease;
}

.mmodal.active .mmodal-inner { transform: translateY(0); }

.mmodal-photo {
  width: 42%;
  flex-shrink: 0;
  overflow: hidden;
}

.mmodal-photo .member-photo-placeholder {
  width: 100%;
  height: 100%;
  aspect-ratio: unset;
  min-height: 480px;
  font-size: 3rem;
  border-radius: 0;
}

.mmodal-close {
  position: absolute;
  top: 20px;
  right: 24px;
  background: none;
  border: none;
  font-size: 26px;
  line-height: 1;
  font-weight: 300;
  cursor: pointer;
  color: var(--black);
  z-index: 10;
  padding: 4px 8px;
  transition: opacity 0.15s;
}

.mmodal-close:hover { opacity: 0.4; }

.mmodal-body {
  flex: 1;
  padding: 56px 48px;
  overflow-y: auto;
  display: flex;
  flex-direction: column;
  /* 上揃え＋スクロール（長い文章でも上部が切れない） */
  justify-content: flex-start;
}

.mmodal-role {
  font-family: 'Inter', sans-serif;
  font-size: 10px;
  letter-spacing: 0.2em;
  color: var(--gray-400);
  margin-bottom: 14px;
}

.mmodal-nameline {
  display: flex;
  align-items: baseline;
  gap: 14px;
  flex-wrap: wrap;
  margin-bottom: 40px;
}

.mmodal-name {
  font-size: clamp(32px, 3.6vw, 48px);
  font-weight: 700;
  letter-spacing: -0.03em;
  line-height: 1.1;
}

.mmodal-name-en {
  font-family: 'Inter', sans-serif;
  font-size: 13px;
  color: var(--gray-400);
  letter-spacing: 0.08em;
}

.mmodal-message { margin-bottom: 36px; }

.mmodal-message p {
  font-size: 14px;
  color: var(--gray-600);
  line-height: 2;
  margin-bottom: 16px;
}

.mmodal-message p:last-child { margin-bottom: 0; }

.mmodal-career {
  border-top: 1px solid var(--gray-200);
  padding-top: 28px;
}

.mmodal-career-label {
  font-family: 'Inter', sans-serif;
  font-size: 10px;
  letter-spacing: 0.2em;
  color: var(--gray-400);
  margin-bottom: 16px;
}

.mmodal-career ul { list-style: none; }

.mmodal-career li {
  font-size: 13px;
  color: var(--gray-600);
  padding: 12px 0 12px 16px;
  border-bottom: 1px solid var(--gray-100);
  position: relative;
  line-height: 1.6;
}

.mmodal-career li::before {
  content: '';
  position: absolute;
  left: 0;
  top: 20px;
  width: 4px;
  height: 4px;
  border-radius: 50%;
  background: var(--black);
}

/* Member join CTA */
.member-cta {
  background: var(--mid);
  color: var(--white);
  padding: 120px 0;
}
.member-cta-inner {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 32px;
}
.member-cta-title {
  font-size: clamp(28px, 4vw, 52px);
  font-weight: 700;
  letter-spacing: -0.03em;
  line-height: 1.2;
}

/* nav-active */
.nav-links .nav-active { opacity: 1; font-weight: 600; }

@media (max-width: 960px) {
  .member-teaser-grid { grid-template-columns: 1fr; }
  .mcard-grid { grid-template-columns: repeat(2, 1fr); gap: 28px 20px; }
  /* スマホ：写真は切らずに全体を表示し、モーダル全体を縦スクロール */
  .mmodal-inner { flex-direction: column; max-height: 92vh; overflow-y: auto; }
  .mmodal-photo { width: 100%; max-height: none; aspect-ratio: auto; overflow: visible; }
  .mmodal-photo img { height: auto !important; object-fit: contain; object-position: center !important; }
  .mmodal-photo .member-photo-placeholder { min-height: 0; aspect-ratio: 1 / 1; }
  .mmodal-body { padding: 32px 28px; justify-content: flex-start; overflow: visible; }
}

@media (max-width: 600px) {
  .mcard-grid { grid-template-columns: 1fr; gap: 40px; }
}

/* ===== About ===== */
/* ===== Column (note articles) ===== */
.column { background: var(--white); }
.column-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 32px;
  margin-top: 48px;
}
.column-card {
  display: block;
  color: inherit;
  text-decoration: none;
  border-radius: 14px;
  overflow: hidden;
  background: var(--white);
  border: 1px solid var(--gray-200);
  transition: transform 0.4s cubic-bezier(0.22,1,0.36,1), box-shadow 0.4s, border-color 0.3s;
}
.column-card:hover {
  transform: translateY(-6px);
  box-shadow: 0 24px 50px rgba(0,0,0,0.1);
  border-color: var(--gray-300, #d4d4d4);
}
.column-thumb {
  aspect-ratio: 16 / 9;
  overflow: hidden;
  background: var(--gray-100);
}
.column-thumb img {
  width: 100%; height: 100%;
  object-fit: cover;
  display: block;
  transition: transform 0.5s cubic-bezier(0.22,1,0.36,1);
}
.column-card:hover .column-thumb img { transform: scale(1.05); }
.column-body { padding: 22px 24px 26px; }
.column-date {
  font-family: 'Inter', sans-serif;
  font-size: 12px;
  letter-spacing: 0.08em;
  color: var(--gray-400);
}
.column-title {
  margin-top: 10px;
  font-size: 16px;
  font-weight: 700;
  line-height: 1.6;
  color: var(--black);
  display: -webkit-box;
  -webkit-line-clamp: 3;
  -webkit-box-orient: vertical;
  overflow: hidden;
}
@media (max-width: 960px) {
  .column-grid { grid-template-columns: repeat(2, 1fr); }
}
@media (max-width: 600px) {
  .column-grid { grid-template-columns: 1fr; }
}

/* ===== Partners (Logo Marquee) ===== */
.partners {
  background: #ffffff;
  overflow: hidden;
}
.partners-marquee {
  margin-top: 48px;
  overflow: hidden;
  position: relative;
  -webkit-mask-image: linear-gradient(to right, transparent 0, black 80px, black calc(100% - 80px), transparent 100%);
  mask-image: linear-gradient(to right, transparent 0, black 80px, black calc(100% - 80px), transparent 100%);
}
.partners-track {
  display: flex;
  width: max-content;
  animation: partners-scroll 35s linear infinite;
}
.partners-set {
  display: flex;
  gap: 64px;
  padding-right: 64px;
  flex-shrink: 0;
}
.partner-logo {
  flex-shrink: 0;
  display: flex;
  align-items: center;
  justify-content: center;
  height: 130px;
  min-width: 240px;
  padding: 0 36px;
  transition: opacity 0.3s ease, transform 0.3s ease;
  opacity: 0.8;
}
.partner-logo:hover {
  opacity: 1;
  transform: scale(1.05);
}
.partner-logo img {
  max-height: 95px;
  max-width: 240px;
  width: auto;
  height: auto;
  object-fit: contain;
  display: block;
}
.partners-marquee:hover .partners-track {
  animation-play-state: paused;
}
@keyframes partners-scroll {
  from { transform: translateX(0); }
  to   { transform: translateX(-50%); }
}
@media (max-width: 768px) {
  .partner-logo { font-size: 20px; min-width: 140px; height: 64px; }
  .partners-set { gap: 40px; padding-right: 40px; }
  .partners-track { animation-duration: 25s; }
}

.about { background: var(--gray-100); }
.about-layout {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 96px;
  align-items: start;
}
.about-message h3 {
  font-size: clamp(26px, 3vw, 36px);
  font-weight: 700;
  letter-spacing: -0.025em;
  margin-bottom: 28px;
  line-height: 1.25;
}
.about-message p {
  font-size: 15px;
  color: var(--gray-600);
  line-height: 1.9;
  margin-bottom: 16px;
}
.about-table { width: 100%; border-collapse: collapse; }
.about-table tr { border-bottom: 1px solid var(--gray-100); }
.about-table th {
  text-align: left;
  font-size: 12px;
  font-weight: 500;
  color: var(--gray-400);
  padding: 18px 0;
  width: 110px;
  vertical-align: top;
  white-space: nowrap;
  letter-spacing: 0.04em;
}
.about-table td {
  font-size: 14px;
  padding: 18px 0 18px 24px;
  color: var(--black);
  line-height: 1.7;
}

/* ===== Contact ===== */
.contact { background: var(--white); }
.contact-sub {
  font-size: 15px;
  color: var(--gray-600);
  margin-bottom: 52px;
  max-width: 520px;
  line-height: 1.8;
}
.contact-form { max-width: 720px; }
.form-row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 20px;
  margin-bottom: 20px;
}
.form-group { display: flex; flex-direction: column; gap: 8px; }
.form-group.full { margin-bottom: 20px; }
label {
  font-size: 12px;
  font-weight: 500;
  letter-spacing: 0.04em;
  color: var(--gray-600);
}
.required { color: #c00; margin-left: 2px; }
input, select, textarea {
  width: 100%;
  padding: 13px 16px;
  font-size: 14px;
  font-family: inherit;
  background: var(--white);
  border: 1.5px solid var(--gray-200);
  color: var(--black);
  outline: none;
  transition: border-color .2s;
  appearance: none;
  border-radius: 0;
}
input:focus, select:focus, textarea:focus { border-color: var(--black); }
textarea { resize: vertical; }
select {
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='8' viewBox='0 0 12 8'%3E%3Cpath d='M1 1l5 5 5-5' stroke='%23aaa' stroke-width='1.5' fill='none' stroke-linecap='round'/%3E%3C/svg%3E");
  background-repeat: no-repeat;
  background-position: right 16px center;
  padding-right: 40px;
  cursor: pointer;
}
::placeholder { color: var(--gray-400); }
.form-submit { margin-top: 12px; }
.form-submit .btn-primary { font-size: 14px; padding: 16px 44px; border: none; }

/* ===== Footer ===== */
.footer { background: var(--black); color: var(--white); border-top: 1px solid #222; }
.footer-inner {
  display: flex;
  justify-content: space-between;
  align-items: flex-start;
  padding-top: 64px;
  padding-bottom: 64px;
}
.footer-logo .logo-text {
  font-family: 'Inter', sans-serif;
  font-size: 18px;
  font-weight: 700;
  letter-spacing: -0.04em;
  display: block;
  margin-bottom: 14px;
}
.footer-logo p {
  font-size: 12px;
  color: rgba(255,255,255,0.35);
  line-height: 1.8;
  max-width: 260px;
}
.footer-nav ul {
  display: flex;
  flex-direction: column;
  gap: 14px;
  align-items: flex-end;
}
.footer-nav a {
  font-size: 13px;
  color: rgba(255,255,255,0.5);
  transition: color .2s;
}
.footer-nav a:hover { color: var(--white); }
.footer-bottom {
  border-top: 1px solid rgba(255,255,255,0.08);
  padding: 20px 48px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  max-width: 1260px;
  margin: 0 auto;
}
.footer-policy {
  font-size: 11px;
  color: rgba(255,255,255,0.3);
  letter-spacing: 0.06em;
  transition: color .2s;
}
.footer-policy:hover { color: rgba(255,255,255,0.7); }
.footer-bottom p {
  font-size: 11px;
  color: rgba(255,255,255,0.25);
  letter-spacing: 0.06em;
}

/* ===== Fade-in ===== */
.fade-up {
  opacity: 0;
  transform: translateY(28px);
  transition: opacity .75s var(--ease), transform .75s var(--ease);
}
.fade-up.visible { opacity: 1; transform: translateY(0); }

/* ===== Responsive ===== */
@media (max-width: 960px) {
  /* records stays flex at 960px */
  .services-grid { grid-template-columns: 1fr; }
  .about-layout { grid-template-columns: 1fr; gap: 52px; }
  .form-row { grid-template-columns: 1fr; }
  .mvv-row { grid-template-columns: 1fr; gap: 24px; padding: 48px 0; }
  .news-header { flex-direction: column; align-items: flex-start; gap: 20px; }
}

/* Switch to hamburger earlier so the 8-item nav never crowds tablets/large phones */
@media (max-width: 1000px) {
  .nav-links { display: none; }
  .nav-hamburger { display: flex; }
}

@media (max-width: 640px) {
  .container { padding: 0 20px; }
  .section { padding: 80px 0; }
  .nav { padding: 0 20px; }
  .nav-links { display: none; }
  .nav-hamburger { display: flex; }
  .hero { padding: calc(var(--nav-h) + 24px) 20px 60px; }
  .hero-bottom { flex-direction: column; align-items: flex-start; gap: 28px; }
  .hero-actions { flex-direction: row; }
  .service-card-inner { padding: 36px 24px; }
  .footer-inner { flex-direction: column; gap: 40px; }
  .footer-nav ul { align-items: flex-start; }
  .footer-bottom { flex-direction: column; gap: 8px; text-align: center; padding: 20px; }
  .pc-br { display: none; }
  .records-inner { flex-wrap: wrap; padding: 0 20px; }
  .record-item { flex: 1 1 45%; padding: 40px 16px; }
  .record-divider { display: none; }
  .careers-inner { padding: 80px 20px; }
  .news-item a { flex-wrap: wrap; gap: 10px; }
}

/* =========================================================
   モバイル最適化（スマホ表示の縮尺・余白を整える）
   ========================================================= */
@media (max-width: 600px) {
  /* 見出し・本文のサイズを画面に合わせる */
  .hero-title { font-size: clamp(40px, 13vw, 60px); line-height: 1.2; }
  .hero-sub, .hero-bottom .hero-sub { font-size: 14px; }
  .section-title { font-size: clamp(26px, 8vw, 34px); }
  .concept-heading { font-size: clamp(28px, 9vw, 40px); }
  .section-label { font-size: 11px; }

  /* セクション余白を圧縮 */
  .section { padding: 64px 0; }
  .container { padding: 0 18px; }

  /* メンバーカード：1〜2列 */
  .mcard-grid { grid-template-columns: repeat(2, 1fr); gap: 24px 14px; }
  .mcard-name { font-size: 16px; }
  .mcard-role { font-size: 11px; }

  /* コラム：1列 */
  .column-grid { grid-template-columns: 1fr; gap: 20px; }

  /* 取引先ロゴ：小さく */
  .partner-logo { height: 80px; min-width: 150px; padding: 0 20px; }
  .partner-logo img { max-height: 56px; max-width: 150px; }

  /* MVV バリューのボックス：縦並び */
  .value-tier .tier-boxes { flex-direction: column; }
  .mvv-num { font-size: 13px; }
  .mvv-row-heading { font-size: 20px; }

  /* サービスカード */
  .service-name { font-size: 22px; }
  .service-desc { font-size: 14px; }

  /* お問い合わせフォーム */
  .form-row { grid-template-columns: 1fr; gap: 0; }

  /* CONTACTボタン等のはみ出し防止 */
  .btn-primary, .btn-white, .btn-outline { white-space: normal; }
}

/* さらに小さい端末（〜400px） */
@media (max-width: 400px) {
  .mcard-grid { grid-template-columns: 1fr; }
  .hero-title { font-size: clamp(34px, 12vw, 48px); }
}

/* ===== サブページ（ウリボー/会社概要/Kanpe）のヒーローもモバイル調整 ===== */
@media (max-width: 600px) {
  .uribo-hero, .company-hero { padding-left: 18px; padding-right: 18px; }
  .uribo-hero-title { font-size: clamp(40px, 12vw, 64px); }
  .company-hero-quote-text { font-size: clamp(26px, 8vw, 40px); line-height: 1.5; }
  .uribo-hero-cta { flex-direction: column; align-items: stretch; }
  .uribo-hero-cta a { text-align: center; justify-content: center; }
  /* プロフィールモーダルを画面内に収める */
  .mmodal-inner { flex-direction: column; max-height: 90vh; overflow-y: auto; }
}
