
:root {
  --primary: #2f2f2f;
  --accent: #D4A017;
  --accent-light: #FFF1AB;
  --white: #ffffff;
  --main-bg: #F7F7F5;
  --gray-50: #F7F7F5;
  --gray-100: #EFEFEC;
  --gray-200: #E0E0DB;
  --gray-300: #C8C8C2;
  --gray-400: #9A9A92;
  --gray-500: #6E6E66;
  --gray-600: #52524C;
  --gray-700: #3D3D38;
  --gray-800: #2f2f2f;
  --gray-900: #1a1a18;
  --font-en: 'Outfit', sans-serif;
  --font-jp: 'Noto Sans JP', sans-serif;
  --section-pad: clamp(80px, 12vw, 160px);
}

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

html { scroll-behavior: smooth; font-size: 17px; }
@media (min-width: 1400px) { html { font-size: 18px; } }
@media (max-width: 480px)  { html { font-size: 16px; } }

body {
  font-family: var(--font-jp);
  color: var(--gray-800);
  background: var(--main-bg);
  overflow-x: hidden;
  letter-spacing: 0.03em;
  text-wrap: pretty;
  -webkit-font-smoothing: antialiased;
}

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

/* ============ HEADER ============ */
.header {
  position: fixed; top: 0; left: 0; width: 100%; z-index: 1000;
  padding: 20px 40px;
  display: flex; align-items: center; justify-content: space-between;
  transition: background 0.4s, box-shadow 0.4s, transform 0.4s ease;
}
.header.hidden { transform: translateY(-100%); }
.header.scrolled {
  background: rgba(247,247,245,0.95);
  backdrop-filter: blur(12px);
  box-shadow: 0 1px 20px rgba(0,0,0,0.06);
}
.home-page .header:not(.scrolled) {
  background: linear-gradient(180deg, rgba(247,247,245,0.5), rgba(247,247,245,0.18));
  backdrop-filter: blur(8px);
  box-shadow: 0 1px 18px rgba(26,26,24,0.03);
}
.logo {
  display: flex; align-items: center; height: 44px;
  transition: filter 0.4s;
}
.logo-text {
  font-family: var(--font-en);
  font-size: clamp(1.8rem, 3vw, 2.25rem);
  font-weight: 500;
  letter-spacing: -0.04em;
  color: var(--primary);
}
.logo svg { height: 42px; width: auto; }
.logo svg .cls-1 { fill: #2f2f2f; transition: fill 0.4s; }
.home-page .header:not(.scrolled) .logo svg .cls-1 { fill: var(--primary); }
.header.scrolled .logo svg .cls-1 { fill: #2f2f2f; }

.header-nav { display: flex; align-items: center; gap: 36px; margin-left: auto; margin-right: 0; }
.header-nav a {
  font-family: var(--font-jp); font-size: 1rem; font-weight: 500;
  letter-spacing: 0.03em; color: var(--primary);
  position: relative; transition: color 0.3s;
}
.home-page .header:not(.scrolled) .header-nav a {
  color: var(--gray-900);
  text-shadow: 0 1px 14px rgba(247,247,245,0.82);
}
.header-nav a::after {
  content: ''; position: absolute; bottom: -4px; left: 0;
  width: 0; height: 2px; background: var(--accent);
  transition: width 0.3s;
}
.header-nav a:hover { color: var(--primary); }
.header-nav a:hover::after { width: 100%; }
.header.scrolled .header-nav a { color: var(--primary); }
.header.scrolled .header-nav a:hover { color: var(--accent); }

/* ============ HERO ============ */
.hero {
  position: relative;
  min-height: 100svh;
  display: flex;
  align-items: center;
  padding: 128px clamp(24px, 6vw, 120px) clamp(72px, 10vh, 120px);
  background: var(--primary);
  overflow: hidden;
  isolation: isolate;
}
.hero::before {
  content: ''; position: absolute; inset: 0;
  background:
    linear-gradient(90deg, rgba(247,247,245,0.96) 0%, rgba(247,247,245,0.76) 34%, rgba(247,247,245,0.22) 62%, rgba(247,247,245,0) 100%),
    linear-gradient(0deg, rgba(26,26,24,0.22) 0%, rgba(26,26,24,0) 42%);
  pointer-events: none;
  z-index: 1;
}
.hero-bg {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center right;
  filter: saturate(0.92) contrast(1.05);
  transform: scale(1.06) translateX(-2.2%);
  z-index: 0;
}
.hero-content {
  z-index: 3;
  width: min(780px, 100%);
  position: relative;
  transform: translateY(-5vh);
}
.hero-content::before {
  content: '';
  display: block;
  width: 0;
  height: 3px;
  margin-bottom: 28px;
  background: var(--accent);
  box-shadow: 0 0 28px rgba(212,160,23,0.45);
}
.hero h1 {
  position: relative;
  color: var(--white);
  font-size: 5.8rem;
  font-weight: 900;
  line-height: 1.18;
  letter-spacing: 0;
  max-width: 760px;
  opacity: 1;
  transform: none;
  clip-path: none;
}
.hero h1 .highlight {
  display: block;
  color: var(--accent);
  text-shadow:
    0 2px 0 rgba(255,255,255,0.34),
    0 16px 42px rgba(26,26,24,0.18);
}
.hero-tagline {
  margin-top: 28px;
  color: var(--primary);
  font-size: 1.45rem;
  font-weight: 700;
  line-height: 1.7;
  letter-spacing: 0.04em;
  text-shadow:
    0 1px 0 rgba(255,255,255,0.62),
    0 12px 32px rgba(26,26,24,0.16);
  opacity: 1;
  transform: none;
}

.hero-scroll {
  position: absolute;
  left: 50%;
  bottom: -1px;
  width: 76px;
  height: 38px;
  transform: translateX(-50%);
  display: grid;
  place-items: center;
  color: var(--accent);
  opacity: 1;
  z-index: 4;
  pointer-events: none;
}
.hero-scroll .scroll-circle {
  width: 76px;
  height: 38px;
  border-radius: 76px 76px 0 0;
  border: 0;
  color: var(--accent);
  display: grid; place-items: center;
  background: var(--main-bg);
  box-shadow: 0 -8px 24px rgba(26,26,24,0.04);
}
.hero-scroll svg {
  width: 22px;
  height: 22px;
  margin-top: 6px;
}
.hero-scroll .scroll-label { color: var(--accent); }
.scroll-line {
  width: 1px; height: 60px; background: linear-gradient(to bottom, var(--gray-400), transparent);
}

/* ============ SECTION COMMON ============ */
.section-num {
  font-family: var(--font-en); font-size: 1.25rem; font-weight: 600;
  letter-spacing: 0.03em; color: var(--accent);
  display: flex; align-items: center; gap: 20px; margin-bottom: 32px;
}
.section-num::after { content: ''; width: 50px; height: 2px; background: var(--accent); }
.section-num::before {
  content: '+'; font-size: 0.9rem; font-weight: 300; color: var(--accent);
  opacity: 0.4; margin-right: -8px;
}
.section-title-en {
  font-family: var(--font-en); font-size: clamp(2.4rem, 5vw, 4rem);
  font-weight: 800; letter-spacing: 0.03em; color: var(--primary);
  line-height: 1.1; margin-bottom: 12px; position: relative;
}
.section-lead {
  font-size: clamp(1rem, 1.15vw, 1.1rem); line-height: 2.1; color: var(--gray-800);
  font-weight: 400; max-width: 780px; letter-spacing: 0.03em;
}
.btn-more {
  display: inline-flex; align-items: center; gap: 10px;
  font-family: var(--font-en); font-weight: 600; font-size: 0.85rem;
  letter-spacing: 0.03em; color: var(--accent); margin-top: 40px;
  padding: 14px 36px; border: 1.5px solid var(--accent);
  border-radius: 100px; transition: all 0.3s;
}
.btn-more:hover {
  background: var(--accent-light); border-color: var(--accent-light); color: var(--gray-900);
}

/* ============ PHILOSOPHY ============ */
.philosophy {
  padding: var(--section-pad) clamp(24px, 6vw, 120px);
  position: relative; overflow: hidden;
}
.philosophy::before {
  content: 'Philosophy'; position: absolute; top: -20px; left: -20px;
  font-family: var(--font-en); font-size: clamp(6rem, 14vw, 12rem);
  font-weight: 800; color: var(--gray-200); opacity: 0.12;
  letter-spacing: 0.03em; line-height: 1; pointer-events: none; z-index: 0;
}
.philosophy::after {
  content: ''; position: absolute; bottom: 60px; right: clamp(24px, 6vw, 120px);
  width: 120px; height: 120px; border: 2px solid rgba(212,160,23,0.1);
  border-radius: 50%; pointer-events: none;
}
.philosophy-inner {
  max-width: 1200px; margin: 0 auto;
  display: grid; grid-template-columns: 1fr 1.6fr; gap: 80px; align-items: center;
}
.philosophy-left { display: flex; flex-direction: column; }
.philosophy-right { display: flex; flex-direction: column; }
.philosophy-statement {
  font-size: clamp(1.4rem, 2.8vw, 2rem); font-weight: 700;
  line-height: 2; color: var(--primary); letter-spacing: 0.03em;
}
.philosophy-statement .em {
  background: linear-gradient(transparent 60%, rgba(255,241,171,0.45) 60%);
}
.philosophy-divider {
  width: 40px; height: 3px; background: var(--accent); margin: 32px 0;
}
.btn-philosophy {
  display: inline-flex; align-items: center; gap: 8px;
  font-family: var(--font-en); font-weight: 600; font-size: 0.82rem;
  letter-spacing: 0.03em; color: var(--accent); margin-top: 32px;
  padding: 12px 28px; border: 1.5px solid var(--accent);
  border-radius: 100px; transition: all 0.3s; width: fit-content;
}
.btn-philosophy:hover {
  background: var(--accent-light); border-color: var(--accent-light); color: var(--gray-900);
}

/* ============ PHOTO GALLERY ============ */
.photo-gallery {
  position: relative;
  padding: clamp(60px, 8vw, 100px) 0 clamp(140px, 20vw, 260px);
  margin-bottom: 0;
}
.photo-gallery::before {
  content: 'Business'; position: absolute; top: clamp(-90px, -6vw, -40px); left: -20px;
  font-family: var(--font-en); font-size: clamp(6rem, 14vw, 12rem);
  font-weight: 800; color: var(--gray-200); opacity: 0.18;
  letter-spacing: 0.03em; line-height: 1; pointer-events: none; z-index: 6;
}
.photo-gallery::after {
  content: ''; position: absolute; bottom: 0; left: 0; right: 0;
  height: 400px;
  background: linear-gradient(to bottom, rgba(47,47,47,0), var(--primary));
  pointer-events: none; z-index: 5;
}
.photo-strip {
  max-width: 1400px; margin: 0 auto;
  display: flex; flex-direction: column; gap: 0;
}
/* Each photo block: full-width, diagonal clip, overlapping */
.photo-block {
  position: relative; width: 100%;
  height: clamp(360px, 45vw, 560px);
  margin-top: -60px;
}
.photo-block:first-child { margin-top: 0; }
.photo-block-bg {
  position: absolute; inset: 0;
  background-size: cover; background-position: center;
}
.photo-block-overlay {
  position: absolute; inset: 0;
  background: linear-gradient(135deg, rgba(47,47,47,0.6) 0%, transparent 60%);
  z-index: 2;
}
.photo-block-text {
  position: absolute; z-index: 3;
  padding: clamp(32px, 5vw, 60px);
  max-width: 500px; color: var(--white);
}
.photo-block-text .pbt-label {
  font-family: var(--font-en); font-size: 0.85rem; font-weight: 600;
  letter-spacing: 0.08em; color: var(--accent-light); margin-bottom: 14px;
  display: flex; align-items: center; gap: 12px;
}
.photo-block-text .pbt-label::after {
  content: ''; width: 32px; height: 1px; background: var(--accent-light);
}
.photo-block-text h3 {
  font-size: clamp(1.6rem, 3.2vw, 2.2rem); font-weight: 700;
  line-height: 1.5; margin-bottom: 20px; letter-spacing: 0.03em;
  text-shadow: 0 2px 16px rgba(0,0,0,0.45);
}
.photo-block-text p {
  font-size: clamp(1rem, 1.15vw, 1.1rem); line-height: 2;
  font-weight: 500;
  color: rgba(255,255,255,0.95); letter-spacing: 0.03em;
  text-shadow: 0 2px 14px rgba(0,0,0,0.55);
}
.pbt-copy-sp {
  display: none;
}
.title-sp {
  display: none;
}

/* Diagonal clips */
.photo-block:nth-child(1) .photo-block-bg {
  clip-path: polygon(0 0, 100% 0, 100% 85%, 0 100%);
}
.photo-block:nth-child(2) .photo-block-bg {
  clip-path: polygon(0 15%, 100% 0, 100% 100%, 0 85%);
  background-position: top center;
}
.photo-block:nth-child(2) .photo-block-overlay {
  clip-path: polygon(0 15%, 100% 0, 100% 100%, 0 85%);
}
.photo-block:nth-child(2) .photo-block-text {
  top: 28%; padding-top: 0;
}

.photo-block:nth-child(3) .photo-block-bg {
  clip-path: polygon(0 0, 100% 15%, 100% 100%, 0 85%);
  background-size: 110%;
  background-position: center 30%;
}
.photo-block:nth-child(3) .photo-block-overlay {
  clip-path: polygon(0 0, 100% 15%, 100% 100%, 0 85%);
  background: linear-gradient(135deg, rgba(47,47,47,0.65) 0%, rgba(47,47,47,0.35) 20%, transparent 38%);
}

/* Accent shapes */
.photo-block .accent-tri {
  position: absolute; z-index: 4; pointer-events: none;
}
.photo-block:nth-child(1) .accent-tri {
  top: 0; right: 0;
  width: 0; height: 0;
  border-left: 120px solid transparent;
  border-top: 120px solid var(--accent);
  opacity: 0.15;
}
.photo-block:nth-child(2) .accent-tri {
  bottom: 20%; left: 40%;
  width: 80px; height: 80px;
  border: 2px solid var(--accent-light); opacity: 0.12;
  transform: rotate(45deg);
}
.photo-block:nth-child(3) .accent-tri {
  top: 20%; right: 10%;
  width: 0; height: 0;
  border-left: 80px solid transparent;
  border-bottom: 80px solid var(--accent);
  opacity: 0.1;
}

@media (max-width: 768px) {
  .photo-block { height: clamp(280px, 60vw, 400px); margin-top: -40px; }
  .photo-block-text { max-width: 100%; }
  .photo-block:nth-child(2) .photo-block-text { text-align: left; }
}

/* ============ RECRUIT ============ */
.recruit {
  padding: var(--section-pad) clamp(24px, 6vw, 120px);
  background: var(--gray-50);
  position: relative; overflow: hidden;
}
.recruit::before {
  content: 'Recruit'; position: absolute; bottom: -10px; right: 0; transform: none;
  font-family: var(--font-en); font-size: clamp(6.5rem, 16vw, 14rem);
  font-weight: 800; color: var(--gray-200); opacity: 0.12;
  letter-spacing: 0.03em; line-height: 1; pointer-events: none;
}
.recruit::after {
  content: ''; position: absolute; top: 80px; left: clamp(24px, 6vw, 120px);
  width: 60px; height: 2px; background: var(--accent); opacity: 0.2;
  pointer-events: none;
}
.recruit-inner {
  max-width: 1200px; margin: 0 auto;
  display: grid; grid-template-columns: 1fr 1fr; gap: 80px;
  align-items: center;
}
.recruit-inner > *:nth-child(2) { padding-left: clamp(0px, 4vw, 64px); }
.recruit-visual {
  position: relative; min-height: 480px;
}
.recruit-visual::before {
  content: '';
  position: absolute;
  top: -26px;
  left: -22px;
  width: 120px;
  height: 120px;
  border: 1px solid rgba(212,160,23,0.26);
  border-radius: 50%;
  z-index: 0;
  pointer-events: none;
}
.recruit-visual::after {
  content: '';
  position: absolute;
  bottom: 18px;
  left: 8%;
  width: 92px;
  height: 2px;
  background: linear-gradient(90deg, rgba(212,160,23,0), rgba(212,160,23,0.75));
  z-index: 1;
  pointer-events: none;
}
.recruit-img-main {
  width: 92%; aspect-ratio: 4/3; border-radius: 0; overflow: hidden;
  position: relative; z-index: 2;
  box-shadow: 0 12px 40px rgba(0,0,0,0.08);
  background-size: cover; background-position: center;
  clip-path: polygon(0 7%, 100% 0, 100% 93%, 0 100%);
}
.recruit-img-main::after {
  content: '';
  position: absolute;
  inset: 10px;
  border: 1.5px solid rgba(212,160,23,0.35);
  border-radius: 0;
  clip-path: polygon(0 8%, 100% 0, 100% 92%, 0 100%);
  pointer-events: none;
}
.recruit-accent {
  position: absolute; top: 18%; right: -2%;
  width: 210px; height: 210px; border-radius: 50%;
  background: linear-gradient(135deg, rgba(255,241,171,0.4), rgba(212,160,23,0.15));
  z-index: 1;
}
.recruit-accent::before {
  content: '';
  position: absolute;
  inset: -24px;
  border: 1px solid rgba(212,160,23,0.22);
  border-radius: 50%;
  pointer-events: none;
}

/* ============ NUMBERS ============ */
.numbers {
  padding: clamp(60px, 10vw, 120px) clamp(24px, 6vw, 120px) clamp(80px, 12vw, 140px);
  background: var(--primary);
  position: relative; overflow: hidden;
  margin-top: -1px;
}
.numbers-bg {
  position: absolute; left: 30%; bottom: 8%;
  transform: translateX(-50%);
  width: min(760px, 68%); height: auto;
  pointer-events: none; z-index: 1;
  user-select: none;
}
.numbers::before {
  content: ''; position: absolute; inset: 0;
  background:
    radial-gradient(ellipse 500px 400px at 20% 50%, rgba(212,160,23,0.1), transparent),
    radial-gradient(ellipse 400px 300px at 80% 80%, rgba(212,160,23,0.06), transparent);
  pointer-events: none;
}
.numbers::after {
  content: ''; position: absolute; top: -80px; right: -80px;
  width: 300px; height: 300px;
  border: 1px solid rgba(212,160,23,0.08);
  border-radius: 50%; pointer-events: none;
}
.numbers-inner { max-width: 1200px; margin: 0 auto; position: relative; z-index: 2; }
.numbers-header { text-align: center; margin-bottom: 48px; }
.numbers-header .section-num {
  color: var(--accent); justify-content: center;
  font-size: clamp(1.6rem, 3vw, 2.2rem); letter-spacing: 0.03em;
  gap: 28px; margin-bottom: 40px;
}
.numbers-header .section-num::after { background: var(--accent); width: 72px; height: 2px; }
.numbers-header .section-num::before { font-size: 1.2rem; }
.numbers-header .section-title-en {
  color: var(--white); text-align: center;
  font-size: clamp(2.2rem, 5vw, 3.4rem);
}
.numbers-lead {
  max-width: 1040px; margin: 0 auto 64px; text-align: center;
  font-size: clamp(1.05rem, 1.6vw, 1.35rem); line-height: 2.5;
  color: var(--white);
  font-weight: 500; letter-spacing: 0.03em;
  text-shadow: 0 2px 16px rgba(0,0,0,0.6);
}
.numbers-grid { display: flex; justify-content: flex-end; margin-top: clamp(140px, 16vw, 240px); padding-right: clamp(40px, 6vw, 100px); position: relative; z-index: 4; }
.number-item {
  text-align: right; padding: 8px 0;
  position: relative; max-width: 440px;
}
.stat-overline {
  font-size: clamp(1.15rem, 1.9vw, 1.5rem);
  color: rgba(255,255,255,0.82);
  letter-spacing: 0.03em; margin-bottom: 20px;
  font-weight: 500; line-height: 1.6;
}
.stat-overline-em {
  font-size: clamp(1.9rem, 3.6vw, 2.7rem);
  color: var(--white); font-weight: 700;
  letter-spacing: 0.03em;
}
.stat-rule {
  width: 56px; height: 1px; background: var(--accent);
  margin: 18px 0 18px auto;
}
.number-label {
  font-size: 0.95rem; color: rgba(255,255,255,0.6);
  font-weight: 400; letter-spacing: 0.03em;
  line-height: 1.8;
}
.number-val {
  font-family: var(--font-en); font-size: clamp(6rem, 13vw, 11rem);
  font-weight: 800; color: var(--accent); line-height: 1; margin-bottom: 8px;
  letter-spacing: 0.03em;
  text-shadow: 0 4px 30px rgba(212,160,23,0.35);
}
.number-unit { font-size: clamp(1.9rem, 3.6vw, 2.9rem); font-weight: 600; color: var(--accent); }

@media (min-width: 769px) {
  .numbers-inner {
    display: grid;
    grid-template-columns: minmax(0, 1.15fr) minmax(320px, 0.72fr);
    column-gap: clamp(64px, 8vw, 128px);
    align-items: center;
  }
  .numbers-header,
  .numbers-lead {
    grid-column: 1 / -1;
  }
  .numbers-bg {
    position: relative;
    left: auto;
    bottom: auto;
    width: min(720px, 100%);
    margin: clamp(-20px, -1.5vw, -8px) 0 0;
    transform: none;
    justify-self: end;
  }
  .numbers-grid {
    justify-content: flex-start;
    align-self: start;
    margin-top: clamp(20px, 3vw, 44px);
    padding-right: 0;
  }
  .number-item {
    text-align: left;
  }
  .stat-rule {
    margin-left: 0;
    margin-right: auto;
  }
}
/* ============ FOOTER ============ */
.footer {
  padding: 60px clamp(24px, 6vw, 120px) 40px;
  background: var(--primary); color: rgba(255,255,255,0.6);
  border-top: none;
}
.footer-inner {
  max-width: 1200px; margin: 0 auto;
  display: flex; align-items: flex-start; justify-content: space-between;
}
.footer-logo {
  margin-bottom: 8px; display: flex; align-items: center;
}
.footer-logo span { color: var(--accent); }
.footer-links { display: flex; gap: 32px; }
.footer-links a {
  font-size: 0.82rem; color: rgba(255,255,255,0.45);
  transition: color 0.3s;
}
.footer-links a:hover { color: var(--accent); }

/* ============ ANIMATIONS ============ */
.fade-up {
  opacity: 0; transform: translateY(40px);
  transition: opacity 0.8s ease, transform 0.8s ease;
}
.fade-up.visible { opacity: 1; transform: translateY(0); }
.fade-up-delay-1 { transition-delay: 0.15s; }

/* ============ RESPONSIVE ============ */
/* Hamburger menu button */
.hamburger {
  display: none; background: none; border: none; cursor: pointer;
  width: 36px; height: 36px; position: relative; z-index: 1001;
}
.hamburger span {
  display: block; width: 22px; height: 2px; background: var(--primary);
  margin: 5px auto; transition: all 0.3s;
}
.hamburger.active span:nth-child(1) { transform: rotate(45deg) translate(5px, 5px); }
.hamburger.active span:nth-child(2) { opacity: 0; }
.hamburger.active span:nth-child(3) { transform: rotate(-45deg) translate(5px, -5px); }

/* Mobile nav overlay */
.mobile-nav {
  display: none; position: fixed; inset: 0; z-index: 999;
  background: rgba(247,247,245,0.98); backdrop-filter: blur(16px);
  flex-direction: column; align-items: center; justify-content: center; gap: 32px;
}
.mobile-nav.active { display: flex; }
.mobile-nav a {
  font-family: var(--font-en); font-size: 1.2rem; font-weight: 600;
  letter-spacing: 0.03em; text-transform: uppercase; color: var(--primary);
  transition: color 0.3s;
}
.mobile-nav a:hover { color: var(--accent); }
@media (max-width: 1024px) {
  .recruit-inner { grid-template-columns: 1fr; gap: 48px; }
  .recruit-inner > *:nth-child(2) { padding-left: clamp(40px, 9vw, 96px); }
  .header-nav { display: none; }
  .hamburger { display: block; }
  .recruit-visual { min-height: 360px; }
  .recruit-img-main { width: 88%; }
  .recruit-accent { top: 16%; right: 0; width: 170px; height: 170px; }
  .recruit-visual::before { width: 96px; height: 96px; top: -18px; left: -10px; }
  .numbers-bg {
    width: min(720px, 92%); bottom: auto; top: 50%;
    transform: translate(-50%, -30%);
  }
  .numbers-grid { justify-content: center; margin-top: clamp(100px, 32vw, 220px); }
  .number-item { text-align: center; max-width: 100%; }
}
@media (max-width: 768px) {
  .header { padding: 16px 20px; }
  .logo svg { height: 34px; }
  .numbers {
    padding: clamp(48px, 9vw, 96px) clamp(20px, 5vw, 48px);
  }
  .numbers-bg {
    width: 95%; top: 48%;
    transform: translate(-50%, -30%);
  }
  .numbers-lead {
    font-size: clamp(0.95rem, 3.5vw, 1.15rem);
    line-height: 1.9;
    margin-bottom: 48px;
  }
  .numbers-grid {
    justify-content: center;
    margin-top: clamp(80px, 30vw, 180px);
  }
  .number-item { text-align: center; padding: 8px 16px; max-width: 100%; }
  .stat-overline { font-size: 0.92rem; letter-spacing: 0.03em; margin-bottom: 12px; }
  .stat-overline-em { font-size: clamp(1.4rem, 6vw, 2rem); }
  .number-val { font-size: clamp(4rem, 16vw, 6.5rem); }
  .number-unit { font-size: clamp(1.3rem, 4vw, 1.9rem); }
  .number-label { font-size: 0.8rem; }
  .hero {
    min-height: 88svh;
    padding: 116px 24px 64px;
  }
  .hero::before {
    background:
      linear-gradient(90deg, rgba(26,26,24,0.82) 0%, rgba(26,26,24,0.5) 58%, rgba(26,26,24,0.08) 100%),
      linear-gradient(0deg, rgba(26,26,24,0.58) 0%, rgba(26,26,24,0) 52%);
  }
  .hero-bg { object-position: 58% center; }
  .hero-content {
    max-width: 100%;
  }
  .hero h1 { font-size: 4.2rem; }
  .hero-tagline {
    color: var(--white);
    font-size: 1.22rem;
    margin-top: 22px;
    text-shadow: 0 12px 32px rgba(0,0,0,0.55);
  }
  .hero-scroll {
    left: 50%;
    right: auto;
    bottom: -1px;
    width: 72px;
    height: 36px;
  }
  .hero-scroll .scroll-circle {
    width: 72px;
    height: 36px;
    border-radius: 72px 72px 0 0;
  }
  .hero-scroll svg { width: 21px; height: 21px; margin-top: 5px; }
  .philosophy-inner { grid-template-columns: 1fr; gap: 24px; }
  .philosophy-left { align-items: flex-start; }
  .philosophy-divider { margin: 20px 0; }
  .philosophy-statement { font-size: clamp(1.1rem, 4.5vw, 1.5rem); }
  .section-title-en { font-size: clamp(1.8rem, 7vw, 2.8rem); }
  .recruit-inner { gap: 36px; }
  .recruit-visual { min-height: 300px; }
  .recruit-img-main { width: 92%; }
  .recruit-visual::before { width: 74px; height: 74px; top: -8px; left: -4px; }
  .recruit-visual::after { width: 72px; left: 10%; }
  .recruit-accent { top: 14%; right: -2%; width: 132px; height: 132px; }
  .recruit-accent::before { inset: -16px; }
  .footer-inner { flex-direction: column; gap: 24px; }
  .footer-links { flex-wrap: wrap; gap: 20px; }
  .photo-block { height: clamp(280px, 60vw, 400px); margin-top: -40px; }
  .photo-block-text { max-width: 100%; }
  .photo-block:nth-child(2) .photo-block-text { text-align: left; }
}
@media (max-width: 480px) {
  .header { padding: 14px 16px; }
  .logo svg { height: 30px; }
  .hero {
    min-height: 86svh;
    padding: 104px 20px 72px;
  }
  .hero::before {
    background:
      linear-gradient(90deg, rgba(26,26,24,0.76) 0%, rgba(26,26,24,0.36) 64%, rgba(26,26,24,0.06) 100%),
      linear-gradient(0deg, rgba(26,26,24,0.66) 0%, rgba(26,26,24,0.02) 62%);
  }
  .hero-bg { object-position: 54% center; }
  .hero h1 { font-size: 3.05rem; }
  .hero-content { transform: translateY(-4vh); }
  .hero-tagline {
    color: var(--white);
    font-size: 1.05rem;
    margin-top: 18px;
    text-shadow: 0 10px 28px rgba(0,0,0,0.62);
  }
  .hero-scroll {
    left: 50%;
    right: auto;
    bottom: -1px;
    width: 66px;
    height: 33px;
  }
  .hero-scroll .scroll-circle {
    width: 66px;
    height: 33px;
    border-radius: 66px 66px 0 0;
  }
  .hero-scroll svg { width: 20px; height: 20px; margin-top: 5px; }
  .philosophy-statement { font-size: 1.1rem; line-height: 1.8; }
  .section-num { font-size: 1rem; }
  .section-title-en { font-size: 1.6rem; }
  .section-lead { font-size: 0.88rem; line-height: 2; }
  .recruit-visual { min-height: 240px; }
  .recruit-img-main { width: 96%; }
  .recruit-visual::after { width: 58px; bottom: 12px; }
  .recruit-accent { top: 12%; right: -4%; width: 98px; height: 98px; }
  .recruit-accent::before { inset: -12px; }
  .footer { padding: 40px 20px 32px; }
  .footer-inner {
    flex-direction: row;
    align-items: center;
    gap: 20px;
  }
  .footer-logo {
    margin-bottom: 0;
  }
  .footer-links {
    margin-left: auto;
    justify-content: flex-end;
    gap: 16px;
  }
  .footer-links a { font-size: 0.78rem; }
  .numbers-bg {
    width: 100%; top: 46%;
    transform: translate(-50%, -30%);
  }
  .numbers-lead { font-size: 0.95rem; line-height: 1.85; }
  .numbers-grid { margin-top: clamp(60px, 28vw, 160px); }
  .stat-overline { font-size: 0.85rem; }
  .stat-overline-em { font-size: 1.35rem; }
  .number-val { font-size: clamp(3.6rem, 18vw, 5.2rem); }
  .number-unit { font-size: 1.2rem; }
  .number-label { font-size: 0.76rem; }
}

@media (max-width: 768px) {
  .numbers {
    min-height: auto;
    padding: 76px 22px 88px;
    background:
      radial-gradient(ellipse 280px 240px at 50% 42%, rgba(212,160,23,0.12), transparent 72%),
      var(--primary);
  }
  .numbers::before,
  .numbers::after {
    opacity: 0.35;
  }
  .numbers-inner {
    max-width: 420px;
  }
  .numbers-header {
    margin-bottom: 24px;
  }
  .numbers-header .section-num {
    font-size: 1.35rem;
    gap: 18px;
    margin-bottom: 0;
  }
  .numbers-header .section-num::after {
    width: 44px;
  }
  .numbers-lead {
    max-width: none;
    margin: 0 auto 22px;
    padding: 22px 20px;
    text-align: center;
    font-size: 0.92rem;
    line-height: 2;
    letter-spacing: 0.02em;
    background: rgba(255,255,255,0.055);
    border: 0;
    border-radius: 18px;
    text-shadow: none;
  }
  .numbers-lead br {
    display: none;
  }
  .numbers-bg {
    position: relative;
    left: auto;
    top: auto;
    bottom: auto;
    display: block;
    width: min(380px, 104%);
    margin: 6px auto 22px;
    transform: none;
    opacity: 0.92;
    filter: drop-shadow(0 22px 36px rgba(0,0,0,0.35));
  }
  .numbers-grid {
    justify-content: center;
    margin-top: 0;
    padding-right: 0;
  }
  .number-item {
    width: 100%;
    max-width: 340px;
    padding: 16px 4px;
    text-align: left;
    display: grid;
    grid-template-columns: auto auto;
    align-items: center;
    column-gap: 2px;
    justify-content: center;
    background: transparent;
    border: 0;
    border-radius: 0;
  }
  .stat-overline {
    margin-bottom: 0;
    font-size: 0.88rem;
    line-height: 1.7;
    min-width: max-content;
    white-space: nowrap;
  }
  .stat-overline-em {
    font-size: 1.45rem;
    white-space: nowrap;
  }
  .number-val {
    font-size: clamp(4.6rem, 23vw, 6.2rem);
    text-shadow: 0 8px 30px rgba(212,160,23,0.28);
    margin-bottom: 0;
  }
  .number-unit {
    font-size: 1.25rem;
  }
  .number-label {
    grid-column: 1 / -1;
    margin-top: 8px;
    font-size: 0.76rem;
    color: rgba(255,255,255,0.62);
  }
}

@media (max-width: 480px) {
  .numbers {
    padding: 66px 18px 78px;
  }
  .numbers-inner {
    max-width: 360px;
  }
  .numbers-lead {
    padding: 20px 18px;
    font-size: 0.88rem;
    line-height: 1.95;
    text-align: center;
  }
  .numbers-bg {
    width: min(350px, 106%);
    margin-bottom: 18px;
  }
}

/* ============ SUBPAGES ============ */
.subpage-hero {
  position: relative; min-height: 52vh;
  display: flex; align-items: center;
  padding: 140px clamp(24px, 6vw, 120px) 80px;
  background: var(--main-bg);
  overflow: hidden;
}
.subpage-hero::before {
  content: ''; position: absolute; inset: 0;
  background:
    radial-gradient(ellipse 700px 500px at 80% 30%, rgba(255,241,171,0.25), transparent),
    radial-gradient(ellipse 500px 400px at 15% 80%, rgba(255,241,171,0.12), transparent);
  pointer-events: none;
}
.subpage-hero-inner {
  position: relative; z-index: 2; max-width: 1200px; margin: 0 auto; width: 100%;
}
.subpage-hero .section-num { margin-bottom: 24px; color: var(--accent); }
.subpage-hero .section-num::after { background: var(--accent); }
.subpage-hero h1 {
  font-size: clamp(2.2rem, 5vw, 3.6rem); font-weight: 800;
  line-height: 1.3; color: var(--primary);
  letter-spacing: 0.03em; margin-bottom: 20px;
}
.subpage-hero .lead {
  font-size: clamp(1rem, 1.4vw, 1.2rem); line-height: 2;
  color: var(--gray-700); max-width: 680px; font-weight: 400;
}
.sp-only {
  display: none;
}

.subpage-section {
  padding: clamp(60px, 10vw, 120px) clamp(24px, 6vw, 120px);
  position: relative;
}
.subpage-section-inner { max-width: 1200px; margin: 0 auto; }

/* Statement (MISSION / CAREERS etc.) */
.statement-block {
  padding: clamp(60px, 10vw, 120px) clamp(24px, 6vw, 120px);
  background: var(--white);
  position: relative; overflow: hidden;
}
.statement-block::before {
  content: attr(data-bg); position: absolute; top: -20px; right: -20px;
  font-family: var(--font-en); font-size: clamp(6rem, 14vw, 12rem);
  font-weight: 800; color: var(--gray-200); opacity: 0.12;
  letter-spacing: 0.03em; line-height: 1; pointer-events: none;
}
.company-page .statement-block {
  padding-top: clamp(120px, 13vw, 170px);
}
.company-page .statement-block::before {
  content: none;
}
.recruit-page .statement-block::before {
  content: none;
}
.recruit-page .statement-inner {
  text-align: center;
}
.recruit-page .statement-inner .section-num {
  justify-content: center;
}
.recruit-page .statement-inner .sub {
  margin-left: auto;
  margin-right: auto;
}
.company-page .statement-inner {
  text-align: center;
}
.company-page .statement-inner .section-num {
  justify-content: center;
}
.company-page .statement-inner .sub {
  margin-left: auto;
  margin-right: auto;
}
.company-page .subpage-section-head {
  margin-bottom: 40px;
}
.statement-inner { max-width: 1200px; margin: 0 auto; position: relative; z-index: 2; }
.statement-inner .big {
  font-size: clamp(1.4rem, 2.8vw, 2rem); font-weight: 700;
  line-height: 1.9; color: var(--primary); letter-spacing: 0.03em;
}
.statement-inner .big .em {
  background: linear-gradient(transparent 60%, rgba(255,241,171,0.45) 60%);
}
.statement-inner .sub {
  margin-top: 28px; font-size: clamp(1rem, 1.15vw, 1.1rem); line-height: 2.1;
  color: var(--gray-700); max-width: 780px;
}

/* Company info table */
.info-table {
  width: 100%; max-width: 880px; margin: 0 auto;
  border-collapse: collapse; border-top: 1px solid var(--gray-200);
}
.info-table th, .info-table td {
  padding: 24px 20px; text-align: left; vertical-align: top;
  border-bottom: 1px solid var(--gray-200);
  font-size: clamp(0.95rem, 1.1vw, 1.05rem); line-height: 1.9;
  letter-spacing: 0.03em;
}
.info-table th {
  width: 32%; font-weight: 600; color: var(--accent);
  font-family: var(--font-en); font-size: 0.92rem; letter-spacing: 0.03em;
}
.info-table td { color: var(--gray-800); font-weight: 400; }
@media (max-width: 640px) {
  .info-table th, .info-table td { display: block; width: 100%; padding: 14px 0; }
  .info-table th { border-bottom: none; padding-top: 20px; color: var(--accent); font-size: 0.85rem; }
  .info-table td { padding-top: 4px; }
}

/* Service cards */
.services-page .subpage-hero {
  background: var(--main-bg);
  min-height: 46vh;
  padding-bottom: clamp(56px, 7vw, 92px);
}
.services-page .subpage-hero::before {
  opacity: 0.28;
  background:
    radial-gradient(ellipse 640px 420px at 78% 24%, rgba(212,160,23,0.08), transparent 68%);
}
.services-page .subpage-hero-inner {
  text-align: center;
}
.services-page .subpage-hero .section-num {
  justify-content: center;
}
.services-page .subpage-hero .lead {
  max-width: 980px;
  margin-left: auto;
  margin-right: auto;
}
.services-showcase {
  padding-top: clamp(36px, 5vw, 72px);
  padding-bottom: clamp(100px, 12vw, 160px);
  background: var(--main-bg);
  overflow: hidden;
}
.service-list {
  position: relative;
  z-index: 1;
  display: flex;
  flex-direction: column;
  gap: clamp(56px, 7vw, 92px);
}
.service-list::before {
  content: '';
  position: absolute;
  top: 22px;
  bottom: 22px;
  left: 32px;
  width: 1px;
  background: linear-gradient(180deg, rgba(47,47,47,0), rgba(47,47,47,0.16) 12%, rgba(47,47,47,0.16) 88%, rgba(47,47,47,0));
}
.service-step {
  position: relative;
  display: grid;
  grid-template-columns: 96px minmax(0, 1fr);
  gap: clamp(24px, 4vw, 56px);
  align-items: start;
}
.service-timeline {
  position: sticky;
  top: 112px;
  display: grid;
  grid-template-columns: 64px;
  justify-items: center;
  padding-top: 18px;
}
.service-dot {
  width: 13px;
  height: 13px;
  border-radius: 50%;
  background: var(--main-bg);
  border: 2px solid var(--accent);
  box-shadow:
    0 0 0 8px var(--main-bg),
    0 0 0 9px rgba(47,47,47,0.08);
}
.service-num {
  margin-top: 20px;
  font-family: var(--font-en);
  font-size: clamp(1.35rem, 2vw, 1.9rem);
  font-weight: 700;
  color: rgba(47,47,47,0.38);
  letter-spacing: 0.03em;
}
.service-card {
  position: relative;
  padding: clamp(42px, 5.5vw, 68px);
  background: rgba(255,255,255,0.82);
  border: 1px solid rgba(47,47,47,0.09);
  border-radius: 18px;
  box-shadow: 0 16px 46px rgba(26,26,24,0.035);
  overflow: hidden;
  transition: transform 0.35s ease, box-shadow 0.35s ease, border-color 0.35s ease;
}
.service-card::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 1px;
  background: rgba(212,160,23,0.28);
}
.service-card::after {
  content: none;
}
.service-card:hover {
  transform: translateY(-3px);
  border-color: rgba(47,47,47,0.14);
  box-shadow: 0 22px 64px rgba(26,26,24,0.055);
}
.service-card .tag {
  position: relative;
  z-index: 1;
  display: inline-flex;
  align-items: center;
  gap: 10px;
  font-family: var(--font-en); font-size: 0.82rem;
  font-weight: 700; color: rgba(47,47,47,0.52); letter-spacing: 0.12em;
  margin-bottom: 18px;
}
.service-card .tag::before {
  content: '';
  width: 34px;
  height: 1px;
  background: rgba(212,160,23,0.72);
}
.service-card h3 {
  position: relative;
  z-index: 1;
  max-width: 760px;
  font-size: clamp(1.65rem, 3vw, 2.35rem); font-weight: 800;
  line-height: 1.35; color: var(--primary); letter-spacing: 0.03em;
  margin-bottom: 24px;
}
.service-card p {
  position: relative;
  z-index: 1;
  max-width: 860px;
  font-size: clamp(1rem, 1.18vw, 1.12rem); line-height: 2.05;
  color: var(--gray-700); margin-bottom: 34px; letter-spacing: 0.03em;
}
.service-card ul {
  position: relative;
  z-index: 1;
  list-style: none;
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 14px;
}
.service-card li {
  position: relative; padding: 14px 16px 14px 34px;
  font-size: 0.92rem; line-height: 1.65; color: var(--gray-800);
  letter-spacing: 0.03em;
  background: rgba(247,247,245,0.58);
  border: 1px solid rgba(47,47,47,0.06);
  border-radius: 12px;
}
.service-card li::before {
  content: ''; position: absolute; left: 14px; top: 50%;
  width: 6px; height: 6px; transform: translateY(-50%);
  border-radius: 50%; background: rgba(212,160,23,0.78);
}
@media (max-width: 768px) {
  .service-list::before { left: 16px; }
  .service-step {
    grid-template-columns: 42px minmax(0, 1fr);
    gap: 16px;
  }
  .service-timeline {
    position: relative;
    top: auto;
    grid-template-columns: 32px;
    padding-top: 18px;
  }
  .service-num {
    writing-mode: vertical-rl;
    font-size: 1rem;
    margin-top: 14px;
  }
  .service-card { padding: 32px 24px; border-radius: 22px; }
  .service-card ul { grid-template-columns: 1fr; }
  .service-card li { border-radius: 16px; }
}

/* Job cards */
.job-list { display: grid; grid-template-columns: repeat(2, 1fr); gap: 24px; }
.job-card {
  padding: 32px; background: var(--white);
  border: 1px solid var(--gray-200); border-radius: 8px;
  transition: border-color 0.3s, box-shadow 0.3s;
}
.job-card:hover { border-color: var(--accent); box-shadow: 0 4px 24px rgba(212,160,23,0.12); }
.job-card .tag {
  display: inline-block; font-family: var(--font-en); font-size: 0.78rem;
  font-weight: 600; color: var(--accent); letter-spacing: 0.03em;
  margin-bottom: 12px;
}
.job-card h4 {
  font-size: 1.25rem; font-weight: 700; margin-bottom: 12px;
  color: var(--primary); letter-spacing: 0.03em;
}
.job-card p {
  font-size: 0.95rem; line-height: 1.9; color: var(--gray-700);
  letter-spacing: 0.03em;
}
@media (max-width: 768px) {
  .job-list { grid-template-columns: 1fr; }
}

/* Job postings */
.job-postings-section {
  padding: clamp(80px, 10vw, 130px) clamp(24px, 6vw, 120px);
  background: var(--main-bg);
}
.job-postings-inner {
  max-width: 980px;
  margin: 0 auto;
}
.job-postings-head {
  text-align: center;
  margin-bottom: clamp(40px, 6vw, 72px);
}
.job-postings-head .section-num {
  justify-content: center;
}
.job-postings-head h2 {
  font-size: clamp(2rem, 4vw, 3.2rem);
  font-weight: 800;
  line-height: 1.25;
  color: var(--primary);
  letter-spacing: 0.03em;
  margin-top: 14px;
}
.job-postings-head p {
  max-width: 720px;
  margin: 22px auto 0;
  color: var(--gray-700);
  font-size: clamp(0.95rem, 1.1vw, 1.05rem);
  line-height: 1.9;
  letter-spacing: 0.03em;
}
.job-tabs {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 12px;
  margin-bottom: 24px;
}
.job-tab {
  appearance: none;
  border: 1px solid rgba(47,47,47,0.12);
  background: rgba(255,255,255,0.66);
  color: var(--gray-800);
  border-radius: 999px;
  padding: 16px 18px;
  font-family: var(--font-jp);
  font-size: 0.95rem;
  font-weight: 700;
  letter-spacing: 0.03em;
  cursor: pointer;
  transition: background 0.25s, border-color 0.25s, color 0.25s, transform 0.25s;
}
.job-tab:hover {
  transform: translateY(-2px);
  border-color: rgba(212,160,23,0.38);
}
.job-tab.active {
  background: var(--primary);
  border-color: var(--primary);
  color: var(--white);
}
.job-panel {
  background: rgba(255,255,255,0.86);
  border: 1px solid rgba(47,47,47,0.09);
  border-radius: 24px;
  padding: clamp(32px, 5vw, 64px);
  box-shadow: 0 22px 70px rgba(26,26,24,0.055);
}
.job-panel-header {
  border-bottom: 1px solid rgba(47,47,47,0.08);
  padding-bottom: clamp(24px, 4vw, 40px);
  margin-bottom: clamp(24px, 4vw, 40px);
}
.job-employment {
  display: inline-block;
  color: var(--accent);
  font-family: var(--font-en);
  font-size: 0.78rem;
  font-weight: 700;
  letter-spacing: 0.14em;
  margin-bottom: 14px;
}
.job-panel h3 {
  font-size: clamp(1.8rem, 3.6vw, 3rem);
  font-weight: 800;
  line-height: 1.3;
  color: var(--primary);
  letter-spacing: 0.03em;
  margin-bottom: 18px;
}
.job-panel-header p {
  max-width: 860px;
  color: var(--gray-700);
  font-size: clamp(1rem, 1.2vw, 1.12rem);
  line-height: 1.95;
  letter-spacing: 0.03em;
}
.job-detail-grid {
  display: flex;
  flex-direction: column;
  gap: clamp(28px, 4vw, 44px);
}
.job-detail-grid section {
  padding-top: clamp(24px, 3vw, 34px);
  border-top: 1px solid rgba(47,47,47,0.08);
}
.job-detail-grid section:first-child {
  padding-top: 0;
  border-top: 0;
}
.job-detail-grid h4 {
  font-size: 1.05rem;
  color: var(--primary);
  font-weight: 800;
  letter-spacing: 0.03em;
  margin-bottom: 14px;
}
.job-detail-grid p {
  color: var(--gray-700);
  font-size: 0.94rem;
  line-height: 1.9;
  letter-spacing: 0.03em;
}
.job-detail-grid p + ul {
  margin-top: 12px;
}
.job-detail-grid ul {
  display: flex;
  flex-direction: column;
  gap: 10px;
}
.job-detail-grid li {
  position: relative;
  padding-left: 20px;
  color: var(--gray-700);
  font-size: 0.94rem;
  line-height: 1.8;
  letter-spacing: 0.03em;
}
.job-detail-grid li::before {
  content: '';
  position: absolute;
  left: 0;
  top: 0.85em;
  width: 8px;
  height: 1px;
  background: var(--accent);
}
.job-detail-grid a {
  color: var(--accent);
  text-decoration: underline;
  text-underline-offset: 4px;
}
.job-flow {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 0;
  list-style: none;
  counter-reset: none;
  border-top: 1px solid rgba(47,47,47,0.14);
  padding-top: 20px;
}
.job-flow li {
  position: relative;
  padding: 0 20px 0 0;
  border: 0;
  border-radius: 0;
  background: transparent;
  color: var(--primary);
  font-size: 0.95rem;
  font-weight: 800;
  line-height: 1.5;
  letter-spacing: 0.03em;
}
.job-flow li::before {
  content: '';
  display: block;
  position: absolute;
  left: 0;
  top: -24px;
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: var(--accent);
}
.job-flow li:not(:last-child)::after {
  content: '';
  display: none;
}
.job-flow span {
  display: block;
  color: var(--accent);
  font-family: var(--font-en);
  font-size: 0.72rem;
  font-weight: 800;
  letter-spacing: 0.12em;
  margin-bottom: 5px;
}
@media (max-width: 768px) {
  .job-tabs,
  .job-detail-grid {
    grid-template-columns: 1fr;
  }
  .job-tab {
    border-radius: 16px;
  }
  .job-panel {
    border-radius: 20px;
  }
  .job-flow {
    grid-template-columns: 1fr;
    gap: 22px;
    border-top: 0;
    border-left: 1px solid rgba(47,47,47,0.14);
    padding-top: 0;
    padding-left: 20px;
  }
  .job-flow li {
    padding: 0;
  }
  .job-flow li::before {
    left: -24px;
    top: 0.3em;
  }
}

/* Bullet list (for 求める人物像, 待遇) */
.bullet-list { display: grid; grid-template-columns: repeat(2, 1fr); gap: 18px 40px; }
.bullet-list li {
  list-style: none; position: relative; padding-left: 28px;
  font-size: 1rem; line-height: 1.9; color: var(--gray-800);
  letter-spacing: 0.03em;
}
.bullet-list li::before {
  content: ''; position: absolute; left: 0; top: 14px;
  width: 14px; height: 1px; background: var(--accent);
}
@media (max-width: 640px) { .bullet-list { grid-template-columns: 1fr; } }

/* Selection flow */
.flow-list {
  display: grid; grid-template-columns: repeat(4, 1fr);
  gap: 16px; counter-reset: flow;
}
.flow-list li {
  list-style: none; counter-increment: flow;
  padding: 28px 24px; background: var(--white);
  border: 1px solid var(--gray-200); border-radius: 8px;
  position: relative;
}
.flow-list li::before {
  content: counter(flow, decimal-leading-zero);
  font-family: var(--font-en); font-size: 0.8rem; font-weight: 600;
  color: var(--accent); letter-spacing: 0.03em;
  display: block; margin-bottom: 10px;
}
.flow-list li h5 {
  font-size: 1.05rem; font-weight: 700; color: var(--primary);
  margin-bottom: 8px; letter-spacing: 0.03em;
}
.flow-list li p {
  font-size: 0.88rem; line-height: 1.7; color: var(--gray-600);
  letter-spacing: 0.03em;
}
@media (max-width: 768px) { .flow-list { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 480px) { .flow-list { grid-template-columns: 1fr; } }

/* Contact block */
.contact-section {
  padding-top: clamp(56px, 8vw, 104px);
  padding-bottom: clamp(92px, 12vw, 150px);
}
.contact-section .subpage-section-inner {
  position: relative;
}
.contact-section .subpage-section-inner::before {
  content: 'Contact';
  position: absolute;
  top: -74px;
  right: 0;
  font-family: var(--font-en);
  font-size: clamp(7rem, 15vw, 12rem);
  font-weight: 800;
  letter-spacing: -0.08em;
  color: rgba(47,47,47,0.018);
  pointer-events: none;
}
.contact-panel {
  position: relative;
  z-index: 1;
  max-width: 980px;
  margin: 0 auto;
  padding: clamp(42px, 6vw, 72px) 0;
  display: grid;
  grid-template-columns: minmax(0, 1.15fr) minmax(280px, 0.85fr);
  gap: clamp(42px, 7vw, 96px);
  align-items: center;
  border-top: 1px solid rgba(47,47,47,0.12);
  border-bottom: 1px solid rgba(47,47,47,0.12);
}
.contact-panel::after {
  content: '';
  position: absolute;
  top: -1px;
  left: 0;
  width: 112px;
  height: 1px;
  background: var(--accent);
}
.contact-panel-main,
.contact-panel-side {
  position: relative;
  z-index: 1;
}
.contact-kicker {
  display: inline-flex;
  align-items: center;
  gap: 14px;
  font-family: var(--font-en);
  font-size: 0.78rem;
  font-weight: 700;
  color: var(--accent);
  letter-spacing: 0.18em;
  margin-bottom: clamp(28px, 4vw, 42px);
}
.contact-kicker::after {
  content: '';
  width: 52px;
  height: 1px;
  background: var(--accent);
}
.contact-mail {
  display: inline-block;
  color: var(--accent);
  font-family: var(--font-en);
  font-size: clamp(1.9rem, 3.4vw, 3rem);
  font-weight: 700;
  line-height: 1.15;
  letter-spacing: -0.02em;
  text-decoration: underline;
  text-decoration-thickness: 1px;
  text-underline-offset: 10px;
  word-break: normal;
  overflow-wrap: anywhere;
  transition: color 0.3s ease;
}
.contact-mail:hover {
  color: var(--gray-900);
}
.contact-panel-main p {
  max-width: 610px;
  margin-top: clamp(28px, 3.4vw, 42px);
  color: var(--gray-600);
  font-size: clamp(0.95rem, 1.25vw, 1.02rem);
  line-height: 2;
  letter-spacing: 0.04em;
}
.contact-panel-side {
  padding-top: 2px;
}
.contact-meta {
  display: grid;
  grid-template-columns: 110px 1fr;
  gap: 24px;
  padding: 28px 0;
  border-bottom: 1px solid rgba(47,47,47,0.1);
}
.contact-meta + .contact-meta {
  padding-top: 28px;
}
.contact-meta span {
  display: block;
  font-size: 0.78rem;
  color: var(--accent);
  font-weight: 700;
  letter-spacing: 0.12em;
}
.contact-meta strong {
  display: block;
  color: var(--primary);
  font-size: clamp(1.05rem, 1.5vw, 1.25rem);
  line-height: 1.45;
  letter-spacing: 0.02em;
}
@media (max-width: 768px) {
  .contact-panel {
    grid-template-columns: 1fr;
    gap: 18px;
  }
  .contact-panel-side {
    padding-top: 6px;
  }
  .contact-meta:last-child {
    border-bottom: 0;
  }
}

/* CTA block */
.cta-block {
  padding: clamp(60px, 10vw, 120px) clamp(24px, 6vw, 120px);
  background: var(--primary); color: var(--white);
  text-align: center;
}
.cta-block h3 {
  font-size: clamp(1.4rem, 2.4vw, 1.9rem); font-weight: 700;
  letter-spacing: 0.03em; margin-bottom: 16px;
}
.cta-block p {
  font-size: clamp(0.95rem, 1.1vw, 1.05rem); line-height: 1.9;
  color: rgba(255,255,255,0.7); max-width: 580px; margin: 0 auto 32px;
  letter-spacing: 0.03em;
}
.cta-block .btn-cta {
  display: inline-block; padding: 14px 40px;
  font-family: var(--font-en); font-weight: 600; font-size: 0.92rem;
  color: var(--accent); border: 1.5px solid var(--accent);
  border-radius: 100px; letter-spacing: 0.03em;
  transition: all 0.3s;
}
.cta-block .btn-cta:hover { background: var(--accent-light); border-color: var(--accent-light); color: var(--gray-900); }

/* Section header (共通) */
.subpage-section-head { text-align: center; margin-bottom: 56px; }
.subpage-section-head .section-num { justify-content: center; color: var(--accent); }
.subpage-section-head .section-num::after { background: var(--accent); }
.subpage-section-head h2 {
  font-size: clamp(1.8rem, 3.5vw, 2.6rem); font-weight: 800;
  color: var(--primary); letter-spacing: 0.03em; margin-top: 12px;
}

/* Privacy policy */
.privacy-hero {
  min-height: 44vh;
}
.privacy-hero .subpage-hero-inner {
  text-align: center;
}
.privacy-hero .section-num {
  justify-content: center;
}
.privacy-hero .lead {
  margin-left: auto;
  margin-right: auto;
}
.contact-hero .subpage-hero-inner {
  text-align: center;
}
.contact-hero .section-num {
  justify-content: center;
}
.contact-hero .lead {
  margin-left: auto;
  margin-right: auto;
}
.privacy-inner {
  max-width: 920px;
  margin: 0 auto;
}
.privacy-date {
  color: var(--gray-600);
  font-size: 0.9rem;
  line-height: 1.8;
  letter-spacing: 0.03em;
  margin-bottom: 28px;
}
.privacy-block {
  padding: clamp(26px, 4vw, 40px) 0;
  border-top: 1px solid rgba(47,47,47,0.1);
}
.privacy-block:last-child {
  border-bottom: 1px solid rgba(47,47,47,0.1);
}
.privacy-block h2 {
  color: var(--primary);
  font-size: clamp(1.1rem, 1.6vw, 1.35rem);
  font-weight: 800;
  letter-spacing: 0.03em;
  margin-bottom: 14px;
}
.privacy-block p,
.privacy-block li {
  color: var(--gray-700);
  font-size: clamp(0.95rem, 1.05vw, 1rem);
  line-height: 2;
  letter-spacing: 0.03em;
}
.privacy-block ul {
  display: flex;
  flex-direction: column;
  gap: 6px;
  margin-top: 10px;
}
.privacy-block li {
  position: relative;
  padding-left: 20px;
}
.privacy-block li::before {
  content: '';
  position: absolute;
  left: 0;
  top: 1em;
  width: 8px;
  height: 1px;
  background: var(--accent);
}
.privacy-block a {
  color: var(--accent);
  text-decoration: underline;
  text-underline-offset: 4px;
}

/* ============ RESPONSIVE POLISH ============ */
@media (max-width: 1024px) {
  .header {
    padding: 18px 28px;
  }
  .subpage-hero {
    min-height: auto;
    padding: 128px clamp(24px, 6vw, 72px) 72px;
  }
  .statement-block,
  .company-page .statement-block,
  .subpage-section,
  .job-postings-section {
    padding-left: clamp(24px, 5vw, 64px);
    padding-right: clamp(24px, 5vw, 64px);
  }
  .job-postings-inner,
  .privacy-inner,
  .contact-panel {
    max-width: 860px;
  }
}

@media (max-width: 768px) {
  body {
    letter-spacing: 0.015em;
  }
  .mobile-nav a {
    font-family: var(--font-jp);
    font-size: 1.25rem;
    text-transform: none;
    letter-spacing: 0.04em;
  }
  .logo-text {
    font-size: 1.75rem;
  }
  .hero {
    min-height: 92svh;
    padding-top: 108px;
  }
  .hero::before {
    background:
      linear-gradient(90deg, rgba(26,26,24,0.72) 0%, rgba(26,26,24,0.42) 54%, rgba(26,26,24,0.06) 100%),
      linear-gradient(0deg, rgba(26,26,24,0.62) 0%, rgba(26,26,24,0.03) 56%);
  }
  .hero-bg {
    object-position: right center;
    transform: scale(1.08) translateY(6%);
  }
  .hero h1 {
    font-size: clamp(2.8rem, 12vw, 4.3rem);
    line-height: 1.15;
    max-width: 92%;
  }
  .hero-content::before {
    display: none;
    width: 0;
    margin-bottom: 22px;
  }
  .philosophy,
  .recruit,
  .numbers,
  .photo-gallery,
  .services-showcase,
  .subpage-section,
  .job-postings-section {
    padding-left: 22px;
    padding-right: 22px;
  }
  .subpage-hero {
    min-height: auto;
    padding: 112px 22px 56px;
  }
  .subpage-hero h1 {
    font-size: clamp(2rem, 9.5vw, 3.2rem);
    line-height: 1.22;
  }
  .subpage-hero .lead {
    font-size: 0.98rem;
    line-height: 1.9;
  }
  .section-num {
    gap: 14px;
    margin-bottom: 22px;
  }
  .section-num::after {
    width: 38px;
  }
  .statement-block {
    padding-top: 96px;
    padding-bottom: 72px;
  }
  .company-page .statement-block {
    padding-top: 108px;
  }
  .statement-inner .big {
    font-size: clamp(1.35rem, 6vw, 2.1rem);
    line-height: 1.75;
  }
  .statement-inner .sub {
    font-size: 0.96rem;
    line-height: 2;
  }
  .photo-gallery {
    padding-top: 48px;
    padding-bottom: 120px;
  }
  .photo-gallery::before {
    font-size: 5.4rem;
    top: -28px;
  }
  .photo-gallery::after {
    height: 220px;
  }
  .photo-block {
    height: clamp(420px, 112vw, 560px);
    margin-top: -28px;
  }
  .photo-block-bg,
  .photo-block-overlay {
    clip-path: none !important;
  }
  .photo-block:nth-child(2) .photo-block-bg,
  .photo-block:nth-child(3) .photo-block-bg {
    background-size: cover;
    background-position: center;
  }
  .photo-block-text {
    inset: auto 0 0 0;
    max-width: none;
    padding: 34px 24px 44px;
  }
  .photo-block:nth-child(2) .photo-block-text {
    top: auto;
    padding-top: 34px;
  }
  .photo-block-text h3 {
    font-size: clamp(1.9rem, 8.4vw, 2.7rem);
    line-height: 1.28;
    word-break: keep-all;
  }
  .photo-block-text p {
    font-size: 0.98rem;
    line-height: 1.85;
    letter-spacing: 0.015em;
  }
  .pbt-copy-pc {
    display: none;
  }
  .pbt-copy-sp {
    display: block;
  }
  .education-title .title-pc {
    display: none;
  }
  .education-title .title-sp {
    display: inline;
  }
  .numbers {
    min-height: auto;
  }
  .numbers-lead br {
    display: none;
  }
  .recruit-inner > *:nth-child(2) {
    padding-left: 0;
  }
  .philosophy-inner,
  .recruit-inner {
    justify-items: center;
    text-align: center;
  }
  .philosophy-left,
  .philosophy-right,
  .recruit-inner > *:nth-child(2) {
    align-items: center;
    width: min(100%, 360px);
  }
  .philosophy .section-num,
  .recruit .section-num {
    justify-content: center;
  }
  .philosophy-divider {
    margin-left: auto;
    margin-right: auto;
  }
  .philosophy .section-lead,
  .recruit .section-lead {
    margin-left: auto;
    margin-right: auto;
    text-align: center;
  }
  .philosophy .philosophy-statement,
  .recruit .philosophy-statement {
    max-width: 100%;
    margin-left: auto;
    margin-right: auto;
    font-size: clamp(1.12rem, 4.8vw, 1.22rem);
    text-wrap: normal;
    word-break: keep-all;
    line-height: 1.85;
  }
  .philosophy .philosophy-statement br,
  .recruit .philosophy-statement br {
    display: none;
  }
  .btn-philosophy,
  .recruit .btn-more {
    margin-left: auto;
    margin-right: auto;
  }
  .recruit-visual {
    width: min(100%, 360px);
    margin-left: auto;
    margin-right: auto;
  }
  .cta-block h3 {
    font-size: clamp(1.05rem, 4.6vw, 1.18rem);
    line-height: 1.6;
    word-break: keep-all;
    text-wrap: normal;
  }
  .statement-inner .big {
    font-size: clamp(1.12rem, 4.8vw, 1.22rem);
    line-height: 1.85;
    word-break: keep-all;
    text-wrap: normal;
  }
  .statement-inner .big br {
    display: none;
  }
  .subpage-section-head {
    margin-bottom: 40px;
  }
  .service-card {
    padding: 30px 22px;
  }
  .service-card h3 {
    font-size: clamp(1.45rem, 7vw, 2rem);
  }
  .service-card p {
    font-size: 0.95rem;
    line-height: 1.95;
  }
  .job-postings-section {
    padding-top: 72px;
    padding-bottom: 88px;
  }
  .job-tabs {
    grid-template-columns: 1fr;
    gap: 10px;
  }
  .job-tab {
    width: 100%;
    padding: 14px 16px;
    border-radius: 14px;
  }
  .job-panel {
    padding: 28px 22px;
    border-radius: 20px;
  }
  .job-panel h3 {
    font-size: clamp(1.55rem, 8vw, 2.2rem);
  }
  .job-panel-header p,
  .job-detail-grid p,
  .job-detail-grid li {
    font-size: 0.92rem;
    line-height: 1.85;
  }
  .job-detail-grid {
    gap: 28px;
  }
  .contact-section {
    padding-top: 34px;
  }
  .contact-section .subpage-section-inner::before {
    top: -18px;
    right: 0;
    font-size: clamp(5rem, 30vw, 9rem);
  }
  .contact-panel {
    padding: 34px 0;
    gap: 22px;
  }
  .contact-mail {
    font-size: clamp(1.6rem, 8vw, 2.4rem);
  }
  .contact-panel-side {
    padding-top: 0;
  }
  .privacy-section {
    padding-top: 48px;
  }
  .privacy-block {
    padding: 28px 0;
  }
}

@media (max-width: 480px) {
  .header {
    padding: 12px 16px;
  }
  .logo-text {
    font-size: 1.55rem;
  }
  .hamburger {
    width: 34px;
    height: 34px;
  }
  .mobile-nav {
    gap: 26px;
  }
  .hero {
    min-height: 90svh;
    padding-top: 96px;
    padding-left: 18px;
    padding-right: 18px;
  }
  .hero::before {
    background:
      linear-gradient(90deg, rgba(26,26,24,0.76) 0%, rgba(26,26,24,0.42) 56%, rgba(26,26,24,0.08) 100%),
      linear-gradient(0deg, rgba(26,26,24,0.66) 0%, rgba(26,26,24,0.02) 62%);
  }
  .hero-bg {
    object-position: right center;
    transform: scale(1.1) translateY(8%);
  }
  .hero h1 {
    font-size: clamp(2.45rem, 11.8vw, 3.05rem);
    max-width: 78%;
  }
  .hero-content {
    transform: translateY(-16vh);
  }
  .hero-tagline {
    font-size: 1rem;
    max-width: 78%;
  }
  .subpage-hero {
    padding: 100px 18px 48px;
  }
  .subpage-hero h1 {
    font-size: clamp(1.95rem, 10.5vw, 2.75rem);
    word-break: keep-all;
  }
  .subpage-hero .lead br:not(.sp-only),
  .section-lead br,
  .statement-inner .sub br {
    display: none;
  }
  .sp-only {
    display: block;
  }
  .philosophy,
  .recruit,
  .numbers,
  .photo-gallery,
  .services-showcase,
  .subpage-section,
  .job-postings-section {
    padding-left: 18px;
    padding-right: 18px;
  }
  .photo-block {
    height: 470px;
  }
  .photo-block-text {
    padding: 28px 20px 38px;
  }
  .photo-block-text h3 {
    font-size: clamp(1.55rem, 8vw, 2rem);
    line-height: 1.25;
    margin-bottom: 18px;
  }
  .photo-block-text p {
    font-size: 0.92rem;
    line-height: 1.8;
  }
  .service-step {
    grid-template-columns: 1fr;
  }
  .service-list::before,
  .service-timeline {
    display: none;
  }
  .service-card {
    border-radius: 18px;
  }
  .service-card .tag {
    letter-spacing: 0.08em;
  }
  .job-postings-head h2 {
    font-size: clamp(2.1rem, 12vw, 3rem);
  }
  .job-panel {
    padding: 24px 18px;
  }
  .job-flow {
    gap: 20px;
  }
  .contact-kicker {
    margin-bottom: 24px;
  }
  .contact-mail {
    font-size: clamp(1.22rem, 7vw, 1.65rem);
    text-underline-offset: 7px;
  }
  .contact-meta {
    grid-template-columns: 1fr;
    gap: 8px;
    padding: 22px 0;
  }
  .info-table th,
  .info-table td {
    font-size: 0.92rem;
  }
}
