/* ============================================================
   ADwith Corporate Site — GRUST-inspired Design
   Monochrome, sharp corners, bold typography
   ============================================================ */

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

:root {
  --color-bg: #ffffff;
  --color-dark: #1b1b1b;
  --color-text: #1b1b1b;
  --color-text-muted: #777777;
  --color-border: #e0e0e0;
  --color-gray-bg: #f5f5f5;
  --font-ja: "Noto Sans JP", "Hiragino Kaku Gothic ProN", sans-serif;
  --font-en: "Inter", "Helvetica Neue", Arial, sans-serif;
  --max-width: 1100px;
  --header-height: 80px;
}

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

body {
  font-family: var(--font-ja);
  color: var(--color-text);
  background: var(--color-bg);
  line-height: 1.8;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  overflow-x: hidden;
}

a { color: inherit; text-decoration: none; }
img { max-width: 100%; height: auto; display: block; }

.container {
  max-width: var(--max-width);
  margin: 0 auto;
  padding: 0 40px;
}

/* ---------- Animation ---------- */
.animate-in {
  opacity: 0;
  transform: translateY(20px);
  transition: opacity 0.9s cubic-bezier(0.16, 1, 0.3, 1),
              transform 0.9s cubic-bezier(0.16, 1, 0.3, 1);
}
.animate-in.is-visible {
  opacity: 1;
  transform: translateY(0);
}

.animate-left {
  opacity: 0;
  transform: translateX(-40px);
  transition: opacity 0.9s cubic-bezier(0.16, 1, 0.3, 1),
              transform 0.9s cubic-bezier(0.16, 1, 0.3, 1);
}
.animate-left.is-visible {
  opacity: 1;
  transform: translateX(0);
}

.animate-right {
  opacity: 0;
  transform: translateX(40px);
  transition: opacity 0.9s cubic-bezier(0.16, 1, 0.3, 1),
              transform 0.9s cubic-bezier(0.16, 1, 0.3, 1);
}
.animate-right.is-visible {
  opacity: 1;
  transform: translateX(0);
}

.animate-scale {
  opacity: 0;
  transform: scale(0.95);
  transition: opacity 0.9s cubic-bezier(0.16, 1, 0.3, 1),
              transform 0.9s cubic-bezier(0.16, 1, 0.3, 1);
}
.animate-scale.is-visible {
  opacity: 1;
  transform: scale(1);
}

.delay-1 { transition-delay: 0.1s; }
.delay-2 { transition-delay: 0.2s; }
.delay-3 { transition-delay: 0.3s; }
.delay-4 { transition-delay: 0.4s; }

/* Hero entrance */
.hero__photo {
  opacity: 0;
  transform: scale(1.08);
  transition: opacity 1.2s ease, transform 1.6s ease;
}
.hero.is-loaded .hero__photo {
  opacity: 1;
  transform: scale(1);
}
.hero__photo--2 { transition-delay: 0.2s; }
.hero__photo--3 { transition-delay: 0.4s; }
.hero__photo--4 { transition-delay: 0.6s; }

/* Hero title line-by-line animation */
.hero__title-line {
  display: block;
  opacity: 0;
  transform: translateY(60px);
  transition: opacity 0.8s cubic-bezier(0.16, 1, 0.3, 1),
              transform 1s cubic-bezier(0.16, 1, 0.3, 1);
}
.hero.is-loaded .hero__title-line {
  opacity: 1;
  transform: translateY(0);
}
.hero__title-line:nth-child(1) { transition-delay: 0.5s; }
.hero__title-line:nth-child(2) { transition-delay: 0.8s; }
.hero__title-line:nth-child(3) { transition-delay: 1.1s; }

/* Philosophy watermark slide */
.philosophy__bg-text {
  transition: opacity 1.5s ease, transform 1.5s ease;
}
.philosophy.is-active .philosophy__bg-text {
  opacity: 0.04;
  transform: translateX(0);
}

/* ---------- Header ---------- */
.header {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: var(--header-height);
  z-index: 1000;
  transition: background 0.4s, box-shadow 0.4s;
}

.header.is-scrolled {
  background: #fff;
  box-shadow: 0 1px 0 var(--color-border);
}

.header__inner {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 40px;
  height: 100%;
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.header__logo {
  display: flex;
  align-items: center;
}

.header__logo-img {
  height: 56px;
  width: auto;
  filter: brightness(0) invert(1);
  transition: filter 0.3s;
}

.header.is-scrolled .header__logo-img {
  filter: none;
}

.header__nav {
  display: flex;
  align-items: center;
  gap: 32px;
}

.header__nav a {
  font-family: var(--font-en);
  font-size: 0.8125rem;
  font-weight: 500;
  letter-spacing: 0.14em;
  color: rgba(255, 255, 255, 0.7);
  transition: color 0.3s;
}

.header.is-scrolled .header__nav a {
  color: var(--color-text-muted);
}

.header__nav a:hover {
  color: #fff;
}

.header.is-scrolled .header__nav a:hover {
  color: var(--color-text);
}

.header__hamburger {
  display: none;
  flex-direction: column;
  gap: 6px;
  background: none;
  border: none;
  cursor: pointer;
  padding: 8px;
}

.header__hamburger span {
  display: block;
  width: 24px;
  height: 1px;
  background: #fff;
  transition: transform 0.3s, opacity 0.3s;
}

.header.is-scrolled .header__hamburger span {
  background: var(--color-dark);
}

/* ---------- Hero: Photo collage grid + huge text ---------- */
.hero {
  position: relative;
  width: 100%;
  height: 100vh;
  overflow: hidden;
  background: var(--color-dark);
}

/* Video background */
.hero__video {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  z-index: 0;
  opacity: 0;
  transition: opacity 1.5s ease;
}

.hero__video--active {
  opacity: 1;
}

.hero__overlay {
  position: absolute;
  inset: 0;
  background: rgba(0, 0, 0, 0.5);
  z-index: 1;
}

.hero__title {
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  font-family: var(--font-en);
  font-size: clamp(4rem, 14vw, 12rem);
  font-weight: 900;
  color: #fff;
  letter-spacing: 0.04em;
  line-height: 1.1;
  text-align: center;
  z-index: 2;
  text-shadow: 0 2px 40px rgba(0, 0, 0, 0.3);
  overflow: hidden;
}

.hero__scroll {
  position: absolute;
  bottom: 40px;
  left: 50%;
  transform: translateX(-50%);
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 12px;
  z-index: 2;
}

.hero__scroll span {
  font-family: var(--font-en);
  font-size: 0.625rem;
  letter-spacing: 0.15em;
  color: rgba(255, 255, 255, 0.4);
}

.hero__scroll-line {
  width: 1px;
  height: 48px;
  background: rgba(255, 255, 255, 0.2);
  position: relative;
  overflow: hidden;
}

.hero__scroll-line::after {
  content: '';
  position: absolute;
  top: -100%;
  left: 0;
  width: 100%;
  height: 100%;
  background: rgba(255, 255, 255, 0.6);
  animation: scrollLine 2s infinite;
}

@keyframes scrollLine {
  0% { top: -100%; }
  100% { top: 100%; }
}

/* ---------- Section Common ---------- */
.section {
  padding: 140px 0;
}

.section--gray {
  background: var(--color-gray-bg);
}

/* ---------- Philosophy ---------- */
.philosophy {
  position: relative;
  overflow: hidden;
  background: #fff;
  padding: 180px 0;
}

.philosophy__bg-text {
  position: absolute;
  top: 50%;
  right: -2%;
  transform: translateY(-50%);
  font-family: var(--font-en);
  font-size: 18vw;
  font-weight: 900;
  color: #f0f0f0;
  line-height: 1;
  letter-spacing: 0.02em;
  pointer-events: none;
  user-select: none;
  white-space: nowrap;
}

.philosophy__content {
  position: relative;
  z-index: 1;
  max-width: 640px;
  margin-left: auto;
}

.philosophy__heading {
  font-size: clamp(1.25rem, 2.2vw, 1.75rem);
  font-weight: 700;
  line-height: 2;
  letter-spacing: 0.06em;
  margin-bottom: 40px;
}

.philosophy__body p {
  font-size: 0.875rem;
  font-weight: 400;
  line-height: 2.4;
  color: var(--color-text-muted);
  letter-spacing: 0.04em;
}

.philosophy__body p + p {
  margin-top: 28px;
}

.philosophy__link {
  display: inline-block;
  margin-top: 48px;
  font-family: var(--font-en);
  font-size: 0.8125rem;
  font-weight: 400;
  letter-spacing: 0.12em;
  color: var(--color-text-muted);
  transition: color 0.3s;
}

.philosophy__link:hover {
  color: var(--color-text);
}

/* ---------- Service ---------- */
.service {
  padding: 140px 0;
}

.service__lead {
  font-size: 0.9375rem;
  font-weight: 400;
  line-height: 2.2;
  color: var(--color-text);
  margin-bottom: 64px;
  letter-spacing: 0.04em;
}

.service__heading {
  margin-bottom: 56px;
  text-align: right;
}

.service__heading-en {
  font-family: var(--font-en);
  font-size: clamp(2.5rem, 5vw, 4.5rem);
  font-weight: 900;
  letter-spacing: 0.06em;
  color: var(--color-dark);
  line-height: 1;
}

.service__cards {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 32px;
}

.service__cards--3col {
  grid-template-columns: repeat(3, 1fr);
}

/* Service rows (large alternating layout) */
.service__rows {
  display: flex;
  flex-direction: column;
  gap: 40px;
}

.service__row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 0;
  color: inherit;
  background: var(--color-bg);
  border: 1px solid var(--color-border);
  transition: border-color 0.3s;
}

.service__row:hover {
  border-color: var(--color-dark);
}

.service__row--reverse {
  direction: rtl;
}

.service__row--reverse > * {
  direction: ltr;
}

.service__row-text {
  padding: 48px;
  display: flex;
  flex-direction: column;
  justify-content: center;
}

.service__row-num {
  font-family: var(--font-en);
  font-size: clamp(3rem, 5vw, 4.5rem);
  font-weight: 900;
  color: rgba(0,0,0,0.04);
  line-height: 1;
  margin-bottom: 16px;
}

.service__row-title {
  font-family: var(--font-en);
  font-size: clamp(1.125rem, 2vw, 1.5rem);
  font-weight: 800;
  letter-spacing: 0.04em;
  margin-bottom: 16px;
}

.service__row-sub {
  font-size: 0.875rem;
  color: var(--color-text-muted);
  line-height: 2;
  margin-bottom: 24px;
}

.service__row-link {
  font-family: var(--font-en);
  font-size: 0.75rem;
  font-weight: 600;
  letter-spacing: 0.1em;
  color: var(--color-text-muted);
  transition: color 0.3s;
}

.service__row:hover .service__row-link {
  color: var(--color-dark);
}

.service__row-img {
  overflow: hidden;
  background: #f0f0f0;
}

.service__row-img img {
  width: 100%;
  height: 100%;
  min-height: 280px;
  object-fit: cover;
  display: block;
  transition: transform 0.6s ease;
}

.service__row:hover .service__row-img img {
  transform: scale(1.03);
}

.service__card {
  display: block;
  position: relative;
  color: inherit;
  transition: opacity 0.3s;
}

.service__card:hover {
  opacity: 0.8;
}

.service__card-for {
  display: block;
  font-family: var(--font-en);
  font-size: clamp(2rem, 4vw, 3rem);
  font-weight: 900;
  letter-spacing: 0.02em;
  color: rgba(0,0,0,0.06);
  margin-bottom: 8px;
  line-height: 1;
}

.service__card-title {
  font-family: var(--font-en);
  font-size: clamp(1.25rem, 2.2vw, 1.75rem);
  font-weight: 800;
  letter-spacing: 0.04em;
  line-height: 1.3;
  margin-bottom: 8px;
  color: var(--color-dark);
}

.service__card-sub {
  font-size: 0.8125rem;
  color: var(--color-text-muted);
  margin-bottom: 20px;
  letter-spacing: 0.04em;
}

.service__card-img {
  overflow: hidden;
  margin-bottom: 0;
}

.service__card-img img {
  width: 100%;
  height: 220px;
  object-fit: contain;
  display: block;
  transition: transform 0.6s ease;
  background: #f0f0f0;
  padding: 16px;
}

.service__card:hover .service__card-img img {
  transform: scale(1.03);
}

.service__card-arrow {
  position: absolute;
  bottom: 16px;
  right: 16px;
  font-family: var(--font-en);
  font-size: 1.25rem;
  color: #fff;
  width: 40px;
  height: 40px;
  display: flex;
  align-items: center;
  justify-content: center;
  background: rgba(0, 0, 0, 0.4);
}

/* ---------- Company Links ---------- */
.company-links {
  padding: 100px 0;
}

.company-links__grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 40px;
}

.company-links__item {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  padding: 48px 20px;
  border-right: 1px solid var(--color-border);
  transition: opacity 0.3s;
}

.company-links__item:first-child {
  border-left: 1px solid var(--color-border);
}

.company-links__item:hover {
  opacity: 0.6;
}

.company-links__en {
  font-family: var(--font-en);
  font-size: 1rem;
  font-weight: 700;
  letter-spacing: 0.14em;
  color: var(--color-dark);
  margin-bottom: 6px;
}

.company-links__card {
  display: block;
  position: relative;
  text-decoration: none;
  color: inherit;
  transition: opacity 0.3s;
}

.company-links__card:hover {
  opacity: 0.85;
}

.company-links__card-img {
  width: 100%;
  height: 380px;
  overflow: hidden;
  background: #eee;
}

.company-links__card-img img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
  transition: transform 0.6s ease;
}

.company-links__card:hover .company-links__card-img img {
  transform: scale(1.04);
}

.company-links__card-body {
  padding: 28px 0;
  position: relative;
}

.company-links__card-en {
  font-family: var(--font-en);
  font-size: 1.125rem;
  font-weight: 700;
  letter-spacing: 0.06em;
  margin-bottom: 6px;
}

.company-links__card-ja {
  font-size: 0.8125rem;
  color: var(--color-text-muted);
  letter-spacing: 0.08em;
}

.company-links__card-arrow {
  position: absolute;
  right: 0;
  bottom: 28px;
  width: 40px;
  height: 40px;
  border: 1px solid var(--color-border);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1rem;
  color: var(--color-text-muted);
  transition: border-color 0.3s, color 0.3s;
}

.company-links__card:hover .company-links__card-arrow {
  border-color: var(--color-dark);
  color: var(--color-dark);
}

/* ---------- Results Section ---------- */
.results-section {
  padding: 120px 0;
}

.results-section__header {
  display: flex;
  align-items: baseline;
  justify-content: space-between;
  margin-bottom: 64px;
}

.results-section__en {
  font-family: var(--font-en);
  font-size: clamp(2rem, 4vw, 3.5rem);
  font-weight: 900;
  letter-spacing: 0.06em;
  color: var(--color-dark);
  line-height: 1;
}

.results-section__link {
  font-family: var(--font-en);
  font-size: 0.75rem;
  font-weight: 400;
  letter-spacing: 0.12em;
  color: var(--color-text-muted);
  transition: color 0.3s;
}

.results-section__link:hover {
  color: var(--color-dark);
}

.results-section__numbers {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 24px;
}

.results-section__num {
  text-align: center;
  padding: 40px 12px;
}

.results-section__value {
  display: block;
  font-family: var(--font-en);
  font-size: clamp(2.25rem, 4vw, 3.5rem);
  font-weight: 300;
  color: var(--color-dark);
  line-height: 1.2;
  margin-bottom: 12px;
  letter-spacing: -0.02em;
}

.results-section__value small {
  font-size: 0.35em;
  font-weight: 400;
  letter-spacing: 0;
}

.results-section__label {
  display: block;
  font-size: 0.8125rem;
  color: var(--color-text-muted);
  letter-spacing: 0.04em;
}

/* ---------- News Section ---------- */
.news-section {
  padding: 120px 0;
}

.news-section__header {
  margin-bottom: 48px;
}

.news-section__en {
  font-family: var(--font-en);
  font-size: clamp(2rem, 4vw, 3.5rem);
  font-weight: 900;
  letter-spacing: 0.06em;
  color: var(--color-dark);
  line-height: 1;
}

.news-section__list {
  display: flex;
  flex-direction: column;
}

.news-section__item {
  display: flex;
  align-items: baseline;
  gap: 32px;
  padding: 24px 0;
  border-bottom: 1px solid var(--color-border);
  transition: opacity 0.3s;
}

.news-section__item:first-child {
  border-top: 1px solid var(--color-border);
}

.news-section__item:hover {
  opacity: 0.6;
}

.news-section__date {
  font-family: var(--font-en);
  font-size: 0.75rem;
  font-weight: 400;
  letter-spacing: 0.08em;
  color: var(--color-text-muted);
  flex-shrink: 0;
  min-width: 90px;
}

.news-section__title {
  font-size: 0.875rem;
  color: var(--color-text);
  line-height: 1.8;
  letter-spacing: 0.02em;
}

/* ---------- Recruit / CTA Section ---------- */
.recruit-section {
  padding: 0;
}

.recruit-section__inner {
  display: grid;
  grid-template-columns: 1fr 1fr;
  min-height: 480px;
}

.recruit-section__img {
  overflow: hidden;
}

.recruit-section__img img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}

.recruit-section__content {
  display: flex;
  flex-direction: column;
  justify-content: center;
  padding: 80px 64px;
}

.recruit-section__label {
  font-family: var(--font-en);
  font-size: 0.6875rem;
  font-weight: 400;
  letter-spacing: 0.2em;
  color: var(--color-text-muted);
  margin-bottom: 20px;
}

.recruit-section__title {
  font-size: 1.5rem;
  font-weight: 700;
  letter-spacing: 0.04em;
  margin-bottom: 16px;
}

.recruit-section__text {
  font-size: 0.875rem;
  color: var(--color-text-muted);
  line-height: 2.2;
  margin-bottom: 36px;
}

.recruit-section__btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 14px 36px;
  border: 1px solid var(--color-dark);
  font-family: var(--font-ja);
  font-size: 0.8125rem;
  font-weight: 500;
  letter-spacing: 0.08em;
  color: var(--color-dark);
  background: transparent;
  transition: background 0.3s, color 0.3s;
  align-self: flex-start;
}

.recruit-section__btn:hover {
  background: var(--color-dark);
  color: #fff;
}

/* ---------- Footer ---------- */
.footer {
  background: var(--color-dark);
  color: rgba(255, 255, 255, 0.5);
  padding: 80px 0 40px;
}

.footer__top {
  display: flex;
  justify-content: space-between;
  align-items: flex-start;
  margin-bottom: 64px;
}

.footer__links {
  display: flex;
  gap: 56px;
}

.footer__col {
  display: flex;
  flex-direction: column;
  gap: 12px;
}

.footer__col-head {
  font-family: var(--font-en);
  font-size: 0.8125rem;
  font-weight: 600;
  letter-spacing: 0.12em;
  color: rgba(255, 255, 255, 0.6);
  margin-bottom: 4px;
}

.footer__col a {
  font-size: 0.8125rem;
  font-weight: 600;
  letter-spacing: 0.06em;
  color: rgba(255, 255, 255, 0.4);
  transition: color 0.3s;
}

.footer__col a:hover {
  color: #fff;
}

.footer__brand {
  flex-shrink: 0;
}

.footer__logo-img {
  height: 48px;
  width: auto;
  filter: brightness(0) invert(1);
  opacity: 0.5;
}

.footer__bottom {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding-top: 32px;
  border-top: 1px solid rgba(255, 255, 255, 0.08);
}

.footer__bottom p {
  font-family: var(--font-en);
  font-size: 0.75rem;
  font-weight: 300;
  letter-spacing: 0.08em;
  color: rgba(255, 255, 255, 0.2);
}

.footer__bottom-links {
  display: flex;
  gap: 24px;
}

.footer__bottom-links a {
  font-family: var(--font-en);
  font-size: 0.75rem;
  font-weight: 300;
  letter-spacing: 0.08em;
  color: rgba(255, 255, 255, 0.2);
  transition: color 0.3s;
}

.footer__bottom-links a:hover {
  color: rgba(255, 255, 255, 0.6);
}

/* ---------- Page Hero (subpages) ---------- */
.page-hero {
  background: var(--color-dark);
  color: #fff;
  padding: calc(var(--header-height) + 80px) 0 80px;
}

.page-hero__label {
  font-family: var(--font-en);
  font-size: 0.75rem;
  font-weight: 400;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: rgba(255, 255, 255, 0.35);
  margin-bottom: 16px;
}

.page-hero__title {
  font-size: clamp(1.5rem, 3vw, 2rem);
  font-weight: 700;
  line-height: 1.6;
  letter-spacing: 0.04em;
}

/* ---------- Breadcrumb ---------- */
.breadcrumb {
  padding: 16px 0;
  font-size: 0.75rem;
  color: var(--color-text-muted);
  letter-spacing: 0.04em;
}

.breadcrumb a {
  color: var(--color-text-muted);
  transition: color 0.3s;
}

.breadcrumb a:hover {
  color: var(--color-text);
}

.breadcrumb__sep {
  margin: 0 8px;
  opacity: 0.4;
}

/* ---------- Subpage Content ---------- */
.subpage-content {
  padding: 100px 0;
}

.subpage-section {
  margin-bottom: 80px;
}

.subpage-section:last-child {
  margin-bottom: 0;
}

.subpage-section__label {
  font-family: var(--font-en);
  font-size: 0.75rem;
  font-weight: 400;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: #999;
  margin-bottom: 16px;
}

.subpage-section__title {
  font-size: clamp(1.25rem, 2vw, 1.625rem);
  font-weight: 700;
  line-height: 1.6;
  letter-spacing: 0.04em;
  margin-bottom: 40px;
}

/* ---------- Buttons ---------- */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 14px 40px;
  font-family: var(--font-ja);
  font-size: 0.8125rem;
  font-weight: 500;
  letter-spacing: 0.08em;
  border: 1px solid transparent;
  transition: all 0.3s ease;
  cursor: pointer;
}

.btn--primary {
  background: var(--color-dark);
  color: #fff;
  border-color: var(--color-dark);
}

.btn--primary:hover {
  background: #333;
  border-color: #333;
}

.section--dark .btn--primary {
  background: #fff;
  color: var(--color-dark);
  border-color: #fff;
}

.section--dark .btn--primary:hover {
  background: rgba(255, 255, 255, 0.9);
}

.btn--outline {
  background: transparent;
  color: var(--color-text);
  border: 1px solid var(--color-border);
}

.btn--outline:hover {
  border-color: var(--color-dark);
  color: var(--color-dark);
}

/* ---------- Section common (for subpages) ---------- */
.section__en {
  font-family: var(--font-en);
  font-size: 0.75rem;
  font-weight: 400;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: #999;
  margin-bottom: 20px;
}

.section--dark {
  background: var(--color-dark);
  color: #fff;
}

.section--dark .section__en {
  color: rgba(255, 255, 255, 0.35);
}

.section__title {
  font-size: 1.5rem;
  font-weight: 700;
  line-height: 1.6;
  letter-spacing: 0.04em;
  margin-bottom: 56px;
}

.section--dark .section__title {
  color: #fff;
}

.section__desc {
  font-size: 0.9375rem;
  font-weight: 300;
  line-height: 2.2;
  color: rgba(255, 255, 255, 0.6);
  margin-bottom: 48px;
}

.section__btn {
  margin-bottom: 20px;
}

.section__note {
  font-size: 0.75rem;
  color: rgba(255, 255, 255, 0.35);
  letter-spacing: 0.04em;
}

.section__link {
  margin-top: 48px;
}

.section__link a {
  font-family: var(--font-en);
  font-size: 0.8125rem;
  font-weight: 400;
  letter-spacing: 0.1em;
  color: var(--color-text-muted);
  transition: color 0.3s;
}

.section__link a:hover {
  color: var(--color-text);
}

.container--center {
  text-align: center;
}

/* ---------- Service blocks (business page) ---------- */
.service-block {
  margin-bottom: 60px;
  padding: 48px;
  background: var(--color-bg);
  border: 1px solid var(--color-border);
}

.service-block__inner {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 48px;
  align-items: center;
}

.service-block--reverse .service-block__inner {
  direction: rtl;
}

.service-block--reverse .service-block__inner > * {
  direction: ltr;
}

.service-block__image {
  overflow: hidden;
}

.service-block__image img {
  width: 100%;
  height: auto;
  display: block;
}

.service-block__badge {
  display: inline-block;
  padding: 4px 12px;
  background: var(--color-dark);
  color: #fff;
  font-family: var(--font-en);
  font-size: 0.625rem;
  font-weight: 500;
  letter-spacing: 0.1em;
  margin-bottom: 16px;
}

.service-block__title {
  font-size: 1.375rem;
  font-weight: 700;
  margin-bottom: 16px;
  letter-spacing: 0.04em;
}

.service-block__desc {
  font-size: 0.9375rem;
  color: var(--color-text-muted);
  line-height: 2;
  margin-bottom: 20px;
}

.service-block__list {
  list-style: none;
  margin-bottom: 24px;
}

.service-block__list li {
  font-size: 0.9375rem;
  padding: 6px 0 6px 20px;
  position: relative;
  color: var(--color-text);
}

.service-block__list li::before {
  content: '';
  position: absolute;
  left: 0;
  top: 14px;
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: var(--color-text-muted);
}

.service-block__link {
  font-family: var(--font-en);
  font-size: 0.8125rem;
  font-weight: 400;
  letter-spacing: 0.1em;
  color: var(--color-text-muted);
}

.service-block__link:hover {
  color: var(--color-text);
}

/* Service detail button */
.btn--service {
  display: inline-block;
  padding: 14px 40px;
  background: var(--color-dark);
  color: #fff;
  font-size: 0.875rem;
  font-weight: 500;
  letter-spacing: 0.05em;
  border: 1px solid var(--color-dark);
  transition: all 0.3s;
  margin-top: 24px;
}

.btn--service:hover {
  background: transparent;
  color: var(--color-dark);
}

/* Other services (consultation-based) */
.other-services {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 24px;
}

.other-service-item {
  display: flex;
  gap: 20px;
  align-items: flex-start;
  padding: 32px;
  background: var(--color-bg);
  border: 1px solid var(--color-border);
  transition: border-color 0.3s;
}

.other-service-item:hover {
  border-color: var(--color-dark);
}

.other-service-item__icon {
  flex-shrink: 0;
  width: 48px;
  height: 48px;
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--color-text-muted);
}

.other-service-item__title {
  font-size: 1rem;
  font-weight: 700;
  margin-bottom: 8px;
}

.other-service-item__desc {
  font-size: 0.8125rem;
  color: var(--color-text-muted);
  line-height: 1.8;
}

/* Legacy extra-services (keep for backward compat) */
.extra-services {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 20px;
}

.extra-service-card {
  padding: 32px 24px;
  background: var(--color-bg);
  border: 1px solid var(--color-border);
  text-align: center;
  font-size: 0.9375rem;
  font-weight: 500;
  transition: border-color 0.3s;
}

.extra-service-card:hover {
  border-color: var(--color-dark);
}

/* ---------- Service cards (old format, for subpages) ---------- */
.service-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 40px;
}

.service-card {
  display: block;
  text-decoration: none;
  color: inherit;
  transition: opacity 0.3s;
}

.service-card:hover {
  opacity: 0.75;
}

.service-card__img {
  overflow: hidden;
  margin-bottom: 24px;
}

.service-card__img img {
  width: 100%;
  height: 240px;
  object-fit: cover;
  transition: transform 0.6s ease;
}

.service-card:hover .service-card__img img {
  transform: scale(1.03);
}

.service-card__body {
  padding: 0;
}

.service-card__title {
  font-size: 1.125rem;
  font-weight: 700;
  margin-bottom: 12px;
  letter-spacing: 0.04em;
}

.service-card__desc {
  font-size: 0.875rem;
  color: var(--color-text-muted);
  line-height: 2;
  margin-bottom: 16px;
}

.service-card__link {
  font-family: var(--font-en);
  font-size: 0.75rem;
  font-weight: 400;
  letter-spacing: 0.1em;
  color: var(--color-text-muted);
}

/* ---------- Results (old format, for subpages) ---------- */
.results-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 24px;
}

.results-item {
  text-align: center;
  padding: 48px 16px;
}

.results-item__number {
  display: block;
  font-family: var(--font-en);
  font-size: clamp(2.5rem, 4vw, 3.5rem);
  font-weight: 300;
  color: var(--color-text);
  line-height: 1.2;
  margin-bottom: 12px;
  letter-spacing: -0.02em;
}

.results-item__number small {
  font-size: 0.35em;
  font-weight: 400;
  letter-spacing: 0;
}

.results-item__label {
  display: block;
  font-size: 0.8125rem;
  color: var(--color-text-muted);
  letter-spacing: 0.04em;
}

/* ---------- Info Table ---------- */
.info-table {
  width: 100%;
  max-width: 800px;
  border-collapse: collapse;
}

.info-table th,
.info-table td {
  padding: 24px 0;
  border-bottom: 1px solid var(--color-border);
  font-size: 0.9375rem;
  text-align: left;
  font-weight: 400;
  vertical-align: top;
}

.info-table th {
  width: 160px;
  color: var(--color-text);
  font-weight: 500;
  letter-spacing: 0.04em;
}

.info-table td {
  color: var(--color-text-muted);
}

/* ---------- Mission ---------- */
.mission {
  max-width: 800px;
  margin-bottom: 60px;
}

.mission p {
  font-size: 1rem;
  line-height: 2.2;
  color: var(--color-text);
}

/* ---------- Business list ---------- */
.business-list {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 12px;
}

.business-list__item {
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 16px 20px;
  background: var(--color-bg);
  border: 1px solid var(--color-border);
  font-size: 0.9375rem;
}

.business-list__check {
  color: var(--color-text-muted);
  flex-shrink: 0;
}

/* ---------- Achievement cards ---------- */
.achievements-numbers {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 24px;
  margin-bottom: 60px;
}

.achievements-number {
  text-align: center;
  padding: 40px 20px;
  background: var(--color-bg);
  border: 1px solid var(--color-border);
}

.achievements-number__value {
  font-family: var(--font-en);
  font-size: 2.5rem;
  font-weight: 300;
  color: var(--color-text);
  line-height: 1.2;
  margin-bottom: 8px;
}

.achievements-number__value small {
  font-size: 0.45em;
  font-weight: 400;
}

.achievements-number__label {
  font-size: 0.8125rem;
  color: var(--color-text-muted);
}

.achievements-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 24px;
  margin-bottom: 40px;
}

.achievement-item {
  padding: 36px;
  background: var(--color-bg);
  border: 1px solid var(--color-border);
  transition: border-color 0.3s;
}

.achievement-item:hover {
  border-color: var(--color-dark);
}

.achievement-item__category {
  display: inline-block;
  padding: 4px 12px;
  background: var(--color-dark);
  color: #fff;
  font-size: 0.625rem;
  font-weight: 500;
  letter-spacing: 0.08em;
  margin-bottom: 12px;
}

.achievement-item__title {
  font-size: 1.0625rem;
  font-weight: 700;
  margin-bottom: 8px;
  letter-spacing: 0.04em;
}

.achievement-item__text {
  font-size: 0.875rem;
  color: var(--color-text-muted);
  line-height: 1.9;
}

/* ---------- Profile ---------- */
.profile-intro {
  display: flex;
  gap: 48px;
  align-items: flex-start;
}

.profile-intro__photo img {
  width: 200px;
  height: 200px;
  object-fit: cover;
}

.profile-intro__name {
  font-size: 1.625rem;
  font-weight: 700;
  margin-bottom: 4px;
  letter-spacing: 0.04em;
}

.profile-intro__name-en {
  font-family: var(--font-en);
  font-size: 0.75rem;
  font-weight: 400;
  color: var(--color-text-muted);
  letter-spacing: 0.12em;
  display: block;
  margin-bottom: 4px;
}

.profile-intro__role {
  font-size: 0.875rem;
  color: var(--color-text-muted);
  margin-bottom: 20px;
  padding-bottom: 20px;
  border-bottom: 1px solid var(--color-border);
}

.profile-intro__message {
  font-size: 0.9375rem;
  line-height: 2.2;
  color: var(--color-text);
}

.profile-belief {
  background: var(--color-dark);
  color: #fff;
  padding: 64px;
  text-align: center;
}

.profile-belief__quote {
  font-size: clamp(1.125rem, 2vw, 1.375rem);
  font-weight: 700;
  line-height: 1.8;
  margin-bottom: 20px;
  letter-spacing: 0.04em;
}

.profile-belief__text {
  font-size: 0.875rem;
  color: rgba(255, 255, 255, 0.55);
  line-height: 2.2;
  max-width: 600px;
  margin: 0 auto;
}

/* ---------- Contact cards ---------- */
.contact-cards {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 32px;
  margin-bottom: 60px;
}

.contact-card {
  padding: 48px;
  background: var(--color-bg);
  border: 1px solid var(--color-border);
  text-align: center;
}

.contact-card__title {
  font-size: 1.125rem;
  font-weight: 700;
  margin-bottom: 16px;
  letter-spacing: 0.04em;
}

.contact-card__text {
  font-size: 0.875rem;
  color: var(--color-text-muted);
  margin-bottom: 24px;
  line-height: 1.9;
}

.contact-card__phone {
  font-family: var(--font-en);
  font-size: 1.75rem;
  font-weight: 300;
  color: var(--color-text);
  margin-bottom: 8px;
  letter-spacing: 0.04em;
}

.contact-card__note {
  font-size: 0.75rem;
  color: var(--color-text-muted);
}

.contact-info {
  max-width: 600px;
  margin: 0 auto;
  text-align: center;
}

.contact-info p {
  font-size: 0.875rem;
  color: var(--color-text-muted);
  line-height: 2;
}

/* ---------- Legal pages ---------- */
.legal-content {
  max-width: 800px;
}

.legal-content h3 {
  font-size: 1.0625rem;
  font-weight: 700;
  margin: 32px 0 12px;
  letter-spacing: 0.04em;
}

.legal-content p {
  font-size: 0.9375rem;
  color: var(--color-text-muted);
  line-height: 2;
  margin-bottom: 16px;
}

.legal-content ul {
  margin-bottom: 16px;
  padding-left: 20px;
}

.legal-content li {
  font-size: 0.9375rem;
  color: var(--color-text-muted);
  line-height: 2;
  list-style: disc;
}

.legal-table {
  width: 100%;
  border-collapse: collapse;
}

.legal-table th,
.legal-table td {
  padding: 24px 0;
  border-bottom: 1px solid var(--color-border);
  font-size: 0.9375rem;
  text-align: left;
}

.legal-table th {
  font-weight: 500;
  width: 30%;
  color: var(--color-text);
}

.legal-table td {
  color: var(--color-text-muted);
}

/* ---------- Back to top ---------- */
.back-to-top {
  position: fixed;
  bottom: 32px;
  right: 32px;
  width: 44px;
  height: 44px;
  background: var(--color-dark);
  color: #fff;
  border: 1px solid rgba(255, 255, 255, 0.15);
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 0.875rem;
  opacity: 0;
  transform: translateY(12px);
  transition: opacity 0.3s, transform 0.3s;
  z-index: 100;
}

.back-to-top.is-visible {
  opacity: 1;
  transform: translateY(0);
}

.back-to-top:hover {
  background: #333;
}

/* ---------- Responsive ---------- */
@media (max-width: 1024px) {
  .container { padding: 0 28px; }
  .section { padding: 100px 0; }
  .philosophy { padding: 120px 0; }
  .service__cards { grid-template-columns: 1fr; gap: 48px; }
  .service__row { grid-template-columns: 1fr; }
  .service__row--reverse { direction: ltr; }
  .service__row-text { padding: 32px 24px; }
  .service__row-img img { min-height: 200px; }
  .results-section__numbers { grid-template-columns: repeat(2, 1fr); }
  .results-grid { grid-template-columns: repeat(2, 1fr); }
  .footer__top { flex-direction: column-reverse; gap: 40px; }
  .footer__links { gap: 40px; }
  .service-block__inner { grid-template-columns: 1fr; }
  .service-block--reverse .service-block__inner { direction: ltr; }
  .extra-services { grid-template-columns: repeat(2, 1fr); }
  .other-services { grid-template-columns: 1fr; }
  .business-list { grid-template-columns: repeat(2, 1fr); }
  .achievements-numbers { grid-template-columns: repeat(2, 1fr); }
  .contact-cards { grid-template-columns: 1fr; }
  .profile-intro { flex-direction: column; align-items: center; text-align: center; }
  .service-grid { grid-template-columns: 1fr; gap: 48px; }
  .recruit-section__inner { grid-template-columns: 1fr; }
  .recruit-section__img { height: 300px; }
}

@media (max-width: 768px) {
  :root { --header-height: 64px; }

  .section { padding: 80px 0; }
  .philosophy { padding: 100px 0; }
  .container { padding: 0 24px; }

  .header__nav {
    display: none;
    position: fixed;
    top: var(--header-height);
    left: 0;
    width: 100%;
    height: calc(100vh - var(--header-height));
    background: #fff;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    padding: 40px;
    gap: 28px;
  }

  .header__nav.is-open { display: flex; }

  .header__nav a {
    font-size: 0.875rem;
    color: var(--color-text) !important;
    letter-spacing: 0.15em;
  }

  .header__hamburger { display: flex; }

  .header__hamburger.is-active span:nth-child(1) {
    transform: rotate(45deg) translate(5px, 5px);
  }
  .header__hamburger.is-active span:nth-child(2) { opacity: 0; }
  .header__hamburger.is-active span:nth-child(3) {
    transform: rotate(-45deg) translate(5px, -5px);
  }

  /* Hero */
  .hero__title {
    font-size: clamp(2.5rem, 14vw, 5rem);
  }

  .hero__grid {
    gap: 2px;
  }

  /* Philosophy */
  .philosophy__content {
    margin-left: 0;
  }

  .philosophy__bg-text {
    font-size: 28vw;
    right: -5%;
  }

  .philosophy__heading {
    font-size: 1.25rem;
  }

  /* Service */
  .service__heading-en {
    font-size: 2.5rem;
  }

  .service__card-img img {
    height: 200px;
  }

  /* Company links */
  .company-links__grid {
    grid-template-columns: 1fr;
  }

  .company-links__card-img {
    height: 260px;
  }

  .company-links__item {
    border-right: none;
    border-bottom: 1px solid var(--color-border);
    padding: 28px 20px;
  }

  .company-links__item:first-child {
    border-left: none;
    border-top: 1px solid var(--color-border);
  }

  /* Results */
  .results-section__header {
    flex-direction: column;
    gap: 12px;
    margin-bottom: 40px;
  }

  .results-section__numbers { grid-template-columns: repeat(2, 1fr); }
  .results-section__num { padding: 24px 8px; }
  .results-section__value { font-size: 2rem; }
  .results-grid { grid-template-columns: repeat(2, 1fr); }
  .results-item { padding: 32px 12px; }
  .results-item__number { font-size: 2rem; }

  /* News */
  .news-section__item {
    flex-direction: column;
    gap: 4px;
  }

  /* Recruit */
  .recruit-section__content {
    padding: 48px 24px;
  }

  .section__title { font-size: 1.25rem; margin-bottom: 40px; }

  .service-block { padding: 28px; }
  .extra-services { grid-template-columns: 1fr; }
  .business-list { grid-template-columns: 1fr; }
  .achievements-numbers { grid-template-columns: repeat(2, 1fr); }
  .achievements-grid { grid-template-columns: 1fr; }

  .info-table th { width: 120px; }

  .page-hero { padding: calc(var(--header-height) + 48px) 0 48px; }

  .footer__links { flex-direction: column; gap: 24px; }
  .footer__bottom { flex-direction: column; gap: 12px; align-items: flex-start; }

  .profile-belief { padding: 40px 24px; }
}
