/* =========================================================
   EUMFLOW — VIVID 디자인 스타일
   공통 스타일 (공개 사이트)
   ========================================================= */

/* ---------- 1. Design tokens ---------- */
:root {
  /* VIVID 브랜드 컬러 (순서: 블루 → 오렌지 → 라임 → 바이올렛) */
  --blue: #2948EF;
  --orange: #FF7438;
  --lime: #D6F63B;
  --violet: #7450F5;
  --white: #FFFFFF;
  --black: #161616;

  /* 보조 회색 (흰 배경 기준 명도 대비 확인값) */
  --g700: #454545;   /* 본문 9.0:1 */
  --g600: #5E5E5E;   /* 보조 텍스트 6.4:1 */
  --g400: #9A9A9A;   /* 비활성 테두리 */
  --g300: #D6D6D6;   /* 구분선 */
  --g200: #E8E8E8;
  --g100: #F4F4F4;   /* 연회색 배경 */

  --font-ko: "Pretendard Variable", Pretendard, -apple-system, BlinkMacSystemFont,
             "Apple SD Gothic Neo", "Malgun Gothic", "맑은 고딕", system-ui, sans-serif;
  --font-en: "Space Grotesk", var(--font-ko);
  --font-logo: "Poppins", "Space Grotesk", var(--font-ko); /* 로고 워드마크 서체 */

  --header-h: 76px;
  --pad: clamp(20px, 5vw, 80px);
  --maxw: 1440px;
  --ease: cubic-bezier(.2, .7, .2, 1);
}
@media (max-width: 767px) { :root { --header-h: 64px; } }

/* ---------- 2. Base ---------- */
*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; }
body {
  margin: 0;
  font-family: var(--font-ko);
  font-size: 17px;
  line-height: 1.7;
  color: var(--black);
  background: var(--white);
  word-break: keep-all;          /* 한글 단어 중간 분리 방지 */
  overflow-wrap: break-word;     /* 긴 영문·URL 넘침 방지 */
  -webkit-font-smoothing: antialiased;
}
h1, h2, h3, h4, p, ul, ol, dl, dd, figure { margin: 0; }
ul, ol { padding: 0; list-style: none; }
img, svg { display: block; max-width: 100%; }
a { color: inherit; }
button { font: inherit; color: inherit; cursor: pointer; }
hr { border: 0; margin: 0; }

.en { font-family: var(--font-en); }
/* 제목: 모바일에서 한 줄을 넘칠 때 의미 단위로 균형 있게 줄바꿈 */
h1, h2, h3, .story-step__title, .svc__slogan, .home-hero__title, .contact-title, .page-hero__title { text-wrap: balance; }
.sr-only {
  position: absolute !important; width: 1px; height: 1px; padding: 0; margin: -1px;
  overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; border: 0;
}
.container { width: 100%; max-width: var(--maxw); margin-inline: auto; padding-inline: var(--pad); }

/* 포커스 */
:focus-visible { outline: 3px solid var(--blue); outline-offset: 3px; }
.on-blue :focus-visible, .on-violet :focus-visible, .site-footer :focus-visible { outline-color: var(--white); }
.on-orange :focus-visible, .on-lime :focus-visible { outline-color: var(--black); }

.skip {
  position: absolute; left: 12px; top: -80px; z-index: 500;
  background: var(--black); color: var(--white); padding: 12px 18px; text-decoration: none; font-weight: 600;
}
.skip:focus { top: 12px; }

/* 배경 / 글자 조합 */
.on-blue   { background: var(--blue);   color: var(--white); }
.on-orange { background: var(--orange); color: var(--black); }
.on-lime   { background: var(--lime);   color: var(--black); }
.on-violet { background: var(--violet); color: var(--white); }
.c-blue { color: var(--blue); }
.c-orange { color: var(--orange); }
.c-violet { color: var(--violet); }

/* ---------- 3. Typography ---------- */
.eyebrow {
  font-family: var(--font-en);
  font-size: 14px; line-height: 1.4; font-weight: 600;
  letter-spacing: .08em; text-transform: uppercase;
  margin-bottom: 20px;
}
.eyebrow--blue { color: var(--blue); }
.display {
  font-family: var(--font-en);
  font-weight: 700; line-height: .95; letter-spacing: -.035em;
}
.section-title {
  font-size: clamp(28px, 3.3vw, 48px);
  line-height: 1.35; font-weight: 700; letter-spacing: -.025em;
}
.lead { font-size: clamp(17px, 1.4vw, 20px); color: var(--g700); line-height: 1.8; }
.sec-head { margin-bottom: clamp(40px, 5vw, 72px); }
.sec-head .lead { margin-top: 20px; }
.section { padding-block: clamp(88px, 10vw, 160px); }

/* ---------- 4. Buttons ---------- */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: .5em;
  min-height: 56px; padding: 0 30px;
  font-family: var(--font-ko); font-size: 16px; font-weight: 600; line-height: 1;
  color: var(--white); background: var(--black);
  border: 2px solid var(--black); border-radius: 0;
  text-decoration: none; white-space: nowrap;
  transition: background-color .2s, color .2s;
}
.btn:hover { background: var(--white); color: var(--black); }
.btn--outline { background: transparent; color: var(--black); }
.btn--outline:hover { background: var(--black); color: var(--white); }
.btn-row { display: flex; flex-wrap: wrap; gap: 12px; }
.arrow { font-family: var(--font-en); }

/* ---------- 5. Header ---------- */
.header-slot { min-height: var(--header-h); }
.site-header {
  position: sticky; top: 0; z-index: 100;
  background: var(--white); border-bottom: 1px solid var(--g200);
}
.header-inner { display: flex; align-items: center; justify-content: space-between; height: var(--header-h); }
.logo { display: inline-flex; color: var(--black); text-decoration: none; }
/* 로고 — 아치가 워드마크 위 중앙에 올라간 형태 (아치 폭 = 워드마크의 약 55%) */
.logo-mark { display: inline-flex; flex-direction: column; align-items: center; gap: .1em; font-size: 26px; line-height: 1; }
.logo-arc { flex: none; width: 2.4em; height: auto; overflow: visible; }
.logo-arc path { stroke-width: 5; }
.logo-word { font-family: var(--font-logo); font-weight: 600; font-size: 1em; letter-spacing: -.02em; }
@media (max-width: 767px) { .site-header .logo-mark { font-size: 22px; } }
.site-footer .logo-mark { font-size: 28px; }

.gnb { display: flex; gap: clamp(24px, 3.2vw, 52px); }
.gnb a {
  position: relative; display: block; padding: 8px 0;
  font-size: 16px; font-weight: 600; color: var(--g600); text-decoration: none;
  transition: color .2s;
}
.gnb a:hover, .gnb a[aria-current="page"] { color: var(--black); }
.gnb a[aria-current="page"]::after {
  content: ""; position: absolute; left: 0; right: 0; bottom: -2px; height: 3px; background: var(--black);
}
.menu-toggle { display: none; }

@media (max-width: 899px) {
  .menu-toggle {
    display: inline-flex; align-items: center; gap: 10px;
    min-height: 44px; padding: 0 2px; border: 0; background: none;
    font-size: 15px; font-weight: 600;
  }
  .menu-bars { position: relative; width: 22px; height: 14px; }
  .menu-bars span {
    position: absolute; left: 0; width: 100%; height: 2px; background: var(--black);
    transition: transform .25s var(--ease), top .25s var(--ease), opacity .2s;
  }
  .menu-bars span:nth-child(1) { top: 0; }
  .menu-bars span:nth-child(2) { top: 6px; }
  .menu-bars span:nth-child(3) { top: 12px; }
  .menu-toggle[aria-expanded="true"] .menu-bars span:nth-child(1) { top: 6px; transform: rotate(45deg); }
  .menu-toggle[aria-expanded="true"] .menu-bars span:nth-child(2) { opacity: 0; }
  .menu-toggle[aria-expanded="true"] .menu-bars span:nth-child(3) { top: 6px; transform: rotate(-45deg); }

  .gnb {
    display: none;
    position: fixed; left: 0; right: 0; top: var(--header-h);
    flex-direction: column; gap: 0;
    padding: 8px var(--pad) 32px;
    background: var(--white); border-bottom: 1px solid var(--black);
    max-height: calc(100vh - var(--header-h)); overflow-y: auto;
  }
  .gnb.is-open { display: flex; }
  .gnb a { padding: 18px 0; font-size: 22px; font-weight: 700; color: var(--black); border-bottom: 1px solid var(--g200); }
  .gnb a[aria-current="page"]::after { display: none; }
  .gnb a[aria-current="page"]::before {
    content: ""; display: inline-block; width: 10px; height: 10px; margin-right: 12px;
    background: var(--black); vertical-align: middle; transform: translateY(-2px);
  }
}

/* ---------- 6. Footer ---------- */
.site-footer { background: var(--black); color: var(--white); padding: clamp(56px, 6vw, 88px) 0 36px; }
.footer-top { display: grid; grid-template-columns: 1fr auto; gap: 40px 64px; align-items: start; }
.site-footer .logo { color: var(--white); }
.footer-info { margin-top: 28px; font-size: 15px; line-height: 1.9; color: #D2D2D2; font-style: normal; }
.footer-info a { text-decoration: none; }
.footer-info a:hover { text-decoration: underline; }
.footer-nav ul { display: flex; flex-wrap: wrap; gap: 12px 32px; }
.footer-nav a { font-size: 15px; font-weight: 600; text-decoration: none; }
.footer-nav a:hover { text-decoration: underline; }
.footer-bottom {
  display: flex; flex-wrap: wrap; justify-content: space-between; align-items: center; gap: 16px;
  margin-top: clamp(48px, 5vw, 72px); padding-top: 24px; border-top: 1px solid #3A3A3A;
  font-size: 13px; color: #ABABAB;
}
@media (max-width: 767px) {
  .footer-top { grid-template-columns: 1fr; }
}

/* ---------- 7. Shared shapes ---------- */
.half-circle {
  position: absolute; bottom: 0;
  aspect-ratio: 2 / 1;
  border-radius: 999px 999px 0 0;
  background: currentColor;
}
.color-bands { display: grid; grid-template-columns: repeat(4, 1fr); height: clamp(16px, 2.2vw, 32px); }
.color-bands span:nth-child(1) { background: var(--blue); }
.color-bands span:nth-child(2) { background: var(--orange); }
.color-bands span:nth-child(3) { background: var(--lime); }
.color-bands span:nth-child(4) { background: var(--violet); }

/* 절제된 등장 효과 */
@keyframes fadeUp { from { opacity: 0; transform: translateY(18px); } to { opacity: 1; transform: none; } }
.anim { animation: fadeUp .9s var(--ease) both; }
.anim-d1 { animation-delay: .1s; }
.anim-d2 { animation-delay: .2s; }
.anim-d3 { animation-delay: .3s; }
.anim-d4 { animation-delay: .4s; }

/* ---------- 8. Main: Hero ---------- */
.split { display: grid; grid-template-columns: 43fr 57fr; }
.home-hero { min-height: min(calc(100vh - var(--header-h)), 940px); }
.home-hero__brand {
  position: relative; overflow: hidden;
  padding: clamp(48px, 6vw, 96px) var(--pad) 0;
  min-height: 560px;
}
.hero-keywords { font-size: clamp(44px, 7.2vw, 132px); }
.hero-keywords span { display: block; }
.home-hero__brand .half-circle { left: var(--pad); width: clamp(150px, 20vw, 320px); color: var(--white); }
.home-hero__body {
  display: flex; flex-direction: column; justify-content: center;
  padding: clamp(56px, 6vw, 96px) var(--pad);
}
.home-hero__body > * { max-width: 640px; }
.home-hero__title {
  font-size: clamp(32px, 3.5vw, 56px); line-height: 1.32; font-weight: 700; letter-spacing: -.03em;
  margin-bottom: 28px;
}
.home-hero__desc { font-size: clamp(17px, 1.35vw, 20px); color: var(--g700); line-height: 1.8; margin-bottom: 48px; }

@media (max-width: 899px) {
  .split { grid-template-columns: 1fr; }
  .home-hero { min-height: 0; }
  .home-hero__brand { min-height: 0; padding-bottom: calc(clamp(150px, 34vw, 280px) / 2 + 48px); }
  .home-hero__brand .half-circle { width: clamp(150px, 34vw, 280px); }
  .hero-keywords { font-size: clamp(44px, 13vw, 96px); }
}

/* ---------- 9. Main: Brand story ---------- */
.story { padding-top: clamp(96px, 12vw, 180px); scroll-margin-top: var(--header-h); }
.story__head { text-align: center; margin-bottom: clamp(56px, 7vw, 112px); }
.story__body { display: grid; grid-template-columns: 43fr 57fr; align-items: start; }

.story__panel {
  position: sticky; top: var(--header-h);
  height: calc(100vh - var(--header-h));
  background: var(--blue); color: var(--white);
  transition: background-color .6s var(--ease), color .6s var(--ease);
}
.story__panel[data-stage="2"] { background: var(--orange); color: var(--black); }
.story__panel[data-stage="3"] { background: var(--lime);   color: var(--black); }
.story__panel[data-stage="4"] { background: var(--violet); color: var(--white); }
.story__panel[data-stage="2"] :focus-visible,
.story__panel[data-stage="3"] :focus-visible { outline-color: var(--black); }
.story__panel[data-stage="1"] :focus-visible,
.story__panel[data-stage="4"] :focus-visible { outline-color: var(--white); }

.story__panel-inner {
  height: 100%; display: flex; flex-direction: column; justify-content: space-between; gap: 32px;
  padding: clamp(40px, 4.5vw, 72px) var(--pad);
}
.story__num { font-size: 20px; font-weight: 600; }
.story__display { transition: opacity .25s ease, transform .25s ease; }
.story__display.is-changing { opacity: 0; transform: translateY(10px); }
.story__en { font-size: clamp(44px, 5.2vw, 100px); }
.story__ko { font-size: clamp(22px, 2vw, 30px); font-weight: 700; margin-top: 16px; }
.story__nav { display: flex; flex-wrap: wrap; gap: 4px 28px; padding-top: 20px; border-top: 1px solid currentColor; }
.story__nav button {
  display: inline-flex; gap: 8px; align-items: baseline;
  min-height: 44px; padding: 8px 0; border: 0; background: none;
  font-size: 16px; font-weight: 500; color: inherit;
  border-bottom: 3px solid transparent;
}
.story__nav button .en { font-weight: 600; }
.story__nav button[aria-current="step"] { font-weight: 700; border-bottom-color: currentColor; }

.story-step {
  min-height: calc(100vh - var(--header-h));
  display: flex; align-items: center;
  padding: clamp(56px, 6vw, 96px) var(--pad);
  scroll-margin-top: var(--header-h);
}
.story-step:focus { outline: none; }
.story-step__content { max-width: 620px; }
.story-step__title { font-size: clamp(28px, 2.7vw, 44px); line-height: 1.42; font-weight: 700; letter-spacing: -.025em; }
.short-rule { width: 48px; height: 3px; background: var(--black); margin: 40px 0 36px; }
.story-step__content p { font-size: clamp(17px, 1.3vw, 19px); color: var(--g700); line-height: 1.85; }

/* 데스크톱: 단계 헤더는 좌측 패널이 대신 보여주므로 스크린리더 전용 */
@media (min-width: 900px) {
  .story-step__head {
    position: absolute; width: 1px; height: 1px; margin: -1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap;
  }
}
/* 태블릿 세로·모바일: 단계별 상하 배치 */
@media (max-width: 899px) {
  .story__body { grid-template-columns: 1fr; }
  .story__panel { display: none; }
  .story-step { display: block; min-height: 0; padding: 0; }
  .story-step__head { padding: 40px var(--pad) 44px; }
  .story-step__head .story-step__num { font-size: 17px; font-weight: 600; margin-bottom: 40px; }
  .story-step__head .story-step__en { font-size: clamp(44px, 12vw, 80px); }
  .story-step__head .story-step__ko { font-size: 22px; font-weight: 700; margin-top: 12px; }
  .story-step__content { padding: 48px var(--pad) 72px; }
  .short-rule { margin: 28px 0 24px; }
}

/* ---------- 10. Main: What we create ---------- */
.create {
  display: grid; grid-template-columns: 43fr 57fr; gap: 40px clamp(32px, 4vw, 64px); align-items: end;
  padding-block: clamp(96px, 12vw, 180px);
}
.create__big { font-size: clamp(52px, 6.4vw, 116px); }
.create__body .section-title { margin-bottom: 20px; }
.create__body .lead { margin-bottom: 44px; }
@media (max-width: 899px) {
  .create { grid-template-columns: 1fr; }
  .create__big { font-size: clamp(52px, 13vw, 104px); }
}

/* ---------- 11. Page hero (회사소개·서비스·소식·채용) ---------- */
.page-hero { position: relative; overflow: hidden; padding: clamp(64px, 8vw, 128px) 0 clamp(80px, 9vw, 144px); }
.page-hero .container { position: relative; z-index: 1; }
.page-hero h1 { font-weight: inherit; }
.page-hero__display { display: block; font-size: clamp(56px, 9vw, 160px); }
.page-hero__title {
  display: block; margin-top: clamp(32px, 4vw, 56px); max-width: 60%;
  font-family: var(--font-ko); font-size: clamp(22px, 2.2vw, 34px); line-height: 1.45; font-weight: 700; letter-spacing: -.02em;
}
.page-hero__desc { margin-top: 20px; max-width: 60%; font-size: clamp(16px, 1.3vw, 19px); line-height: 1.8; }
.page-hero__arch { right: var(--pad); width: clamp(160px, 24vw, 400px); }
@media (max-width: 767px) {
  .page-hero { padding-bottom: calc(clamp(120px, 36vw, 200px) / 2 + 48px); }
  .page-hero__display { font-size: clamp(48px, 15vw, 96px); }
  .page-hero__title, .page-hero__desc { max-width: none; }
  .page-hero__arch { width: clamp(120px, 36vw, 200px); }
}

/* 상세 페이지용 축소 상단 */
.page-band { padding: clamp(40px, 5vw, 64px) 0; }
.page-band .eyebrow { margin-bottom: 12px; }
.page-band__display { font-size: clamp(36px, 4.6vw, 72px); }

/* ---------- 12. About ---------- */
.about-intro { display: grid; grid-template-columns: 43fr 57fr; gap: 32px clamp(32px, 4vw, 64px); }
.about-intro p { font-size: clamp(18px, 1.6vw, 23px); line-height: 1.8; color: var(--black); }
@media (max-width: 899px) { .about-intro { grid-template-columns: 1fr; } }

.biz-grid { display: grid; grid-template-columns: repeat(2, 1fr); gap: clamp(16px, 2vw, 32px); }
.biz-card__color {
  display: flex; flex-direction: column; justify-content: space-between; gap: 40px;
  min-height: clamp(220px, 21vw, 320px); padding: clamp(24px, 3vw, 44px);
}
.biz-card__num { font-size: 18px; font-weight: 600; }
.biz-card__en { font-size: clamp(40px, 4.6vw, 84px); }
.biz-card__body { border: 1px solid var(--g300); border-top: 0; padding: clamp(24px, 3vw, 40px); }
.biz-card__body h3 { font-size: clamp(20px, 1.8vw, 26px); line-height: 1.4; font-weight: 700; margin-bottom: 8px; }
.biz-card__body p { color: var(--g700); }
@media (max-width: 639px) { .biz-grid { grid-template-columns: 1fr; } }

.values { border-top: 1px solid var(--black); }
.value-row {
  display: grid; grid-template-columns: 43fr 57fr; gap: 16px clamp(32px, 4vw, 64px); align-items: center;
  padding-block: clamp(36px, 4.5vw, 64px); border-bottom: 1px solid var(--g300);
}
.value-row__en { font-size: clamp(56px, 7vw, 128px); }
.value-row h3 { font-size: clamp(22px, 2vw, 30px); font-weight: 700; line-height: 1.4; margin-bottom: 10px; }
.value-row div p { color: var(--g700); }
@media (max-width: 767px) { .value-row { grid-template-columns: 1fr; } .value-row__en { font-size: clamp(56px, 17vw, 96px); } }

.info-table { width: 100%; border-collapse: collapse; background: var(--g100); }
.info-table th, .info-table td {
  padding: 24px clamp(20px, 3vw, 40px); text-align: left; vertical-align: top; border-bottom: 1px solid var(--g200);
}
.info-table tr:last-child th, .info-table tr:last-child td { border-bottom: 0; }
.info-table th { width: 200px; font-weight: 600; color: var(--g600); }
.info-table a { text-decoration: none; }
.info-table a:hover { text-decoration: underline; }
@media (max-width: 639px) {
  .info-table th, .info-table td { display: block; width: auto; }
  .info-table th { padding-bottom: 4px; border-bottom: 0; }
  .info-table td { padding-top: 0; }
}

/* ---------- 13. Services ---------- */
.svc { padding-block: clamp(80px, 9vw, 140px); border-top: 1px solid var(--black); }
.svc:first-child { border-top: 0; }
.svc__top { display: grid; grid-template-columns: 43fr 57fr; gap: 32px clamp(32px, 4vw, 64px); }
.svc__num { font-size: clamp(72px, 8vw, 144px); }
.svc__cat { margin-top: 20px; margin-bottom: 0; }
.svc__logo { width: 240px; height: 72px; margin-bottom: 32px; }
.svc__type { font-size: 15px; font-weight: 600; color: var(--g600); margin-bottom: 12px; }
.svc__slogan { font-size: clamp(30px, 3.2vw, 52px); line-height: 1.32; font-weight: 700; letter-spacing: -.03em; margin-bottom: 24px; }
.svc__desc { color: var(--g700); font-size: clamp(17px, 1.3vw, 19px); line-height: 1.85; }

.svc__media { display: grid; grid-template-columns: 1fr; gap: 16px; margin-block: clamp(48px, 5vw, 80px); }
.svc__media--pm { grid-template-columns: 3fr 1fr; }
.svc__media .placeholder--pc { aspect-ratio: 16 / 9; }
.svc__media .placeholder--m { min-width: 0; }

.svc__rows { display: grid; gap: 0; }
.svc-row { display: grid; grid-template-columns: 43fr 57fr; gap: 16px clamp(32px, 4vw, 64px); padding-block: 32px; border-top: 1px solid var(--g300); }
.svc-row__label { font-size: 17px; font-weight: 700; }
.features { display: grid; grid-template-columns: 1fr 1fr; gap: 28px 40px; }
.feature h4 { font-size: 18px; font-weight: 700; margin-bottom: 6px; }
.feature p { font-size: 16px; color: var(--g700); line-height: 1.7; }
.tags { display: flex; flex-wrap: wrap; gap: 8px; }
.tag { display: inline-block; padding: 8px 14px; border: 1px solid var(--black); font-size: 15px; font-weight: 600; line-height: 1.4; }
.svc__cta { display: grid; grid-template-columns: 43fr 57fr; gap: 16px clamp(32px, 4vw, 64px); padding-top: 32px; border-top: 1px solid var(--g300); }
.svc__cta > div { grid-column: 2; }
.notice { margin-top: 24px; padding: 18px 22px; background: var(--g100); font-size: 15px; color: var(--g700); line-height: 1.7; }
@media (max-width: 899px) {
  .svc__top, .svc-row, .svc__cta { grid-template-columns: 1fr; }
  .svc__cta > div { grid-column: auto; }
}
@media (max-width: 639px) {
  .features { grid-template-columns: 1fr; }
  .svc__media--pm { grid-template-columns: 1fr; }
  .svc__media .placeholder--m { width: 60%; margin-inline: auto; aspect-ratio: 9 / 16; }
  .svc__logo { width: 200px; height: 60px; }
}

/* ---------- 14. 미등록 이미지 자리 (관리자 화면) ---------- */
.placeholder {
  display: flex; align-items: center; justify-content: center; text-align: center;
  padding: 16px; border: 1px dashed var(--g400); background: var(--g100);
  font-size: 13px; line-height: 1.6; color: var(--g600);
}

/* ---------- 15. News ---------- */
.list-title { font-size: clamp(36px, 4vw, 64px); margin-bottom: 32px; }
.tabs { display: flex; flex-wrap: wrap; gap: 8px; margin-bottom: 32px; }
.tab {
  min-height: 44px; padding: 0 20px; border: 1px solid var(--g300); background: var(--white);
  font-size: 15px; font-weight: 600; color: var(--g700);
}
.tab:hover { border-color: var(--black); color: var(--black); }
.tab[aria-pressed="true"] { background: var(--black); border-color: var(--black); color: var(--white); }
.list-count { font-size: 15px; color: var(--g600); padding-bottom: 16px; border-bottom: 1px solid var(--black); }
.list-count strong { color: var(--black); }

.post a {
  display: grid; grid-template-columns: 140px 1fr 110px 28px; gap: 24px; align-items: center;
  padding: 28px 0; border-bottom: 1px solid var(--g300); text-decoration: none;
}
.post__cat { font-size: 14px; font-weight: 600; color: var(--g600); }
.post__title { font-size: clamp(17px, 1.4vw, 20px); font-weight: 600; line-height: 1.55; }
.post__date { font-family: var(--font-en); font-size: 15px; color: var(--g600); }
.post__go { font-family: var(--font-en); font-size: 20px; text-align: right; transition: transform .2s; }
.post a:hover .post__title { text-decoration: underline; text-underline-offset: 4px; }
.post a:hover .post__go { transform: translateX(4px); }
@media (max-width: 767px) {
  .post a { grid-template-columns: 1fr 24px; grid-template-areas: "meta go" "title go"; gap: 8px 16px; padding: 22px 0; }
  .post__meta-m { grid-area: meta; display: flex; gap: 12px; }
  .post__title { grid-area: title; }
  .post__go { grid-area: go; align-self: center; }
}
@media (min-width: 768px) {
  .post a { grid-template-areas: "cat title date go"; }
  .post__meta-m { display: contents; }
  .post__cat { grid-area: cat; }
  .post__title { grid-area: title; }
  .post__date { grid-area: date; }
  .post .post__go { grid-area: go; }
}
@media (max-width: 899px) { .about-intro > div:empty { display: none; } }

.empty { padding: clamp(80px, 9vw, 128px) 0; text-align: center; color: var(--g600); border-bottom: 1px solid var(--g300); }
.empty p + p { margin-top: 4px; }
.empty p:first-child { font-size: 18px; font-weight: 600; color: var(--black); }

.pagination { display: flex; justify-content: center; flex-wrap: wrap; gap: 4px; margin-top: 48px; }
.pagination button {
  min-width: 44px; height: 44px; padding: 0 10px; border: 1px solid transparent; background: none;
  font-family: var(--font-en); font-size: 15px; font-weight: 600; color: var(--g600);
}
.pagination button:hover:not(:disabled) { border-color: var(--g300); color: var(--black); }
.pagination button[aria-current="page"] { background: var(--black); color: var(--white); }
.pagination button:disabled { color: var(--g300); cursor: default; }

/* ---------- 16. Detail ---------- */
.detail { padding-block: clamp(56px, 6vw, 96px) clamp(96px, 10vw, 160px); }
.detail__inner { max-width: 920px; }
.detail__meta { display: flex; flex-wrap: wrap; gap: 6px 20px; font-size: 15px; color: var(--g600); }
.detail__meta .en { font-family: var(--font-en); }
.detail__title {
  margin: 16px 0 0; padding-bottom: 32px; border-bottom: 1px solid var(--black);
  font-size: clamp(28px, 3vw, 44px); line-height: 1.4; font-weight: 700; letter-spacing: -.025em;
}
.detail__body { padding-top: 40px; }
.detail__body p { color: var(--g700); font-size: 17px; line-height: 1.9; }
.detail__body p + p { margin-top: 1.2em; }
.detail__block { margin-top: 56px; }
.detail__block h2 { font-size: 20px; font-weight: 700; padding-bottom: 14px; border-bottom: 1px solid var(--black); }
.attach li a, .attach li button {
  display: flex; justify-content: space-between; align-items: center; gap: 16px; width: 100%;
  padding: 18px 0; border: 0; border-bottom: 1px solid var(--g300); background: none;
  text-align: left; text-decoration: none; font-size: 16px;
}
.attach .size { font-family: var(--font-en); font-size: 14px; color: var(--g600); white-space: nowrap; }
.detail__foot { margin-top: 64px; padding-top: 40px; border-top: 1px solid var(--g300); display: flex; justify-content: center; }
.detail__actions { margin-top: 40px; }

.bullets li { position: relative; padding: 14px 0 14px 22px; border-bottom: 1px solid var(--g200); color: var(--g700); }
.bullets li::before { content: ""; position: absolute; left: 0; top: 25px; width: 7px; height: 7px; background: var(--black); }

.meta-table { display: grid; grid-template-columns: repeat(2, 1fr); border-top: 1px solid var(--black); margin-top: 40px; }
.meta-table div { display: grid; grid-template-columns: 110px 1fr; gap: 16px; padding: 18px 0; border-bottom: 1px solid var(--g300); }
.meta-table div:nth-child(odd) { padding-right: 24px; }
.meta-table dt { font-weight: 600; color: var(--g600); }
.detail__title + .meta-table { border-top: 0; margin-top: 0; }
@media (max-width: 639px) { .meta-table { grid-template-columns: 1fr; } .meta-table div:nth-child(odd) { padding-right: 0; } }

/* ---------- 17. Careers ---------- */
.people-grid { display: grid; grid-template-columns: repeat(2, 1fr); gap: clamp(12px, 1.6vw, 24px); }
.person { display: flex; flex-direction: column; min-height: clamp(400px, 36vw, 520px); padding: clamp(28px, 3vw, 48px); }
.person__num { font-size: 18px; font-weight: 600; }
.person__en { margin-top: auto; font-size: clamp(40px, 4.6vw, 80px); }
.person h3 { margin-top: 28px; font-size: clamp(20px, 1.8vw, 26px); font-weight: 700; line-height: 1.4; }
.person h3 + p { margin-top: 14px; font-size: clamp(16px, 1.25vw, 18px); line-height: 1.75; }
@media (max-width: 639px) {
  .people-grid { grid-template-columns: 1fr; }
  .person { min-height: 380px; }
  .person__en { font-size: clamp(40px, 12vw, 64px); }
}

.job a {
  display: grid; grid-template-columns: 88px 1fr 230px 28px; gap: 24px; align-items: center;
  padding: 28px 0; border-bottom: 1px solid var(--g300); text-decoration: none;
}
.job__title { font-size: clamp(17px, 1.4vw, 20px); font-weight: 600; line-height: 1.5; }
.job__meta { margin-top: 6px; font-size: 14px; color: var(--g600); }
.job__period { font-size: 15px; color: var(--g600); }
.job a:hover .job__title { text-decoration: underline; text-underline-offset: 4px; }
.job a:hover .post__go { transform: translateX(4px); }
.badge {
  display: inline-flex; justify-content: center; align-items: center; min-width: 68px; padding: 5px 10px;
  border: 1px solid var(--black); font-size: 13px; font-weight: 700; line-height: 1.2; white-space: nowrap;
}
.badge--open { background: var(--black); color: var(--white); }
.badge--closed { border-color: var(--g400); color: var(--g600); }
@media (max-width: 767px) {
  .job a { grid-template-columns: 1fr 24px; grid-template-areas: "badge go" "title go" "period go"; gap: 10px 16px; padding: 22px 0; }
  .job .badge { grid-area: badge; justify-self: start; }
  .job__main { grid-area: title; }
  .job__period { grid-area: period; }
  .job .post__go { grid-area: go; }
}

/* ---------- 18. Contact ---------- */
.contact-split { min-height: min(calc(100vh - var(--header-h)), 900px); }
.contact-split__brand { position: relative; overflow: hidden; padding: clamp(48px, 6vw, 96px) var(--pad) 0; min-height: 560px; }
.contact-split__brand .display { font-size: clamp(56px, 7.4vw, 136px); }
.contact-split__brand .half-circle { left: var(--pad); width: clamp(150px, 20vw, 320px); color: var(--white); }
.contact-split__body { display: flex; flex-direction: column; justify-content: center; padding: clamp(56px, 6vw, 96px) var(--pad); }
.contact-split__body > * { max-width: 640px; }
.contact-title { font-size: clamp(30px, 3.3vw, 52px); line-height: 1.32; font-weight: 700; letter-spacing: -.03em; margin-bottom: 24px; }
.contact-rule { height: 1px; background: var(--black); margin: 44px 0; }
.contact-sub { font-size: 18px; font-weight: 700; }
.contact-email { margin: 12px 0 28px; font-size: clamp(26px, 2.8vw, 42px); font-weight: 700; letter-spacing: -.02em; line-height: 1.2; overflow-wrap: anywhere; }
.contact-email a { text-decoration: none; }
.contact-email a:hover { text-decoration: underline; text-underline-offset: 6px; }
.copy-status { min-height: 1.7em; margin-top: 14px; font-size: 15px; color: var(--g700); }
@media (max-width: 899px) {
  .contact-split { min-height: 0; }
  .contact-split__brand { min-height: 0; padding-bottom: calc(clamp(150px, 34vw, 280px) / 2 + 48px); }
  .contact-split__brand .half-circle { width: clamp(150px, 34vw, 280px); }
  .contact-split__brand .display { font-size: clamp(56px, 16vw, 112px); }
}

.inquiry { display: grid; grid-template-columns: 43fr 57fr; gap: 32px clamp(32px, 4vw, 64px); }
.inquiry .lead { margin-top: 16px; }
.link-rows { border-top: 1px solid var(--black); }
.link-rows a {
  display: flex; justify-content: space-between; align-items: center; gap: 16px;
  padding: 28px 0; border-bottom: 1px solid var(--g300); text-decoration: none;
  font-size: clamp(20px, 2vw, 28px); font-weight: 700; letter-spacing: -.02em;
}
.link-rows a .arrow { transition: transform .2s; }
.link-rows a:hover .arrow { transform: translate(3px, -3px); }
@media (max-width: 899px) { .inquiry { grid-template-columns: 1fr; } }

/* ---------- 19. Toast ---------- */
.toast-region {
  position: fixed; left: 50%; bottom: 24px; transform: translateX(-50%); z-index: 400;
  display: grid; gap: 8px; width: min(92vw, 460px); pointer-events: none;
}
.toast { background: var(--black); color: var(--white); padding: 14px 18px; font-size: 15px; line-height: 1.5; animation: fadeUp .25s var(--ease) both; }

/* ---------- 20. Reduced motion ---------- */
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after {
    animation-duration: .01ms !important; animation-iteration-count: 1 !important;
    transition-duration: .01ms !important; animation-delay: 0s !important;
  }
}
