@charset "UTF-8";
/* =========================================================
   KOMATSU COMMONWEAL — Corporate Site  [B案 / Light]
   ========================================================= */

/* ---------- 1. Tokens ---------- */
:root {
  --bg:            #ffffff;
  --bg-alt:        #f7f7f7;
  --bg-dark:       #1c1c1c;

  --text:          #333333;
  --text-sub:      #666666;
  --text-muted:    #999999;
  --text-faint:    #b8b8b8;
  --text-invert:   #ffffff;

  --line:          #e2e2e2;
  --line-soft:     #efefef;
  --ghost:         #f1f1f1;

  --btn:           #aaaaaa;
  --btn-hover:     #333333;

  --serif:  "Cinzel", "Times New Roman", serif;
  --latin:  "Lato", "Helvetica Neue", Arial, sans-serif;
  --jp:     "Noto Sans JP", "Lato", "Yu Gothic Medium", "游ゴシック Medium",
            "Hiragino Kaku Gothic Pro", Meiryo, sans-serif;

  --ease:   cubic-bezier(0.22, 1, 0.36, 1);

  --container:  1200px;
  --gutter:     40px;
  --pad-sec:    140px;
  --header-h:   80px;
}

/* ---------- 2. Reset ---------- */
*, *::before, *::after { box-sizing: border-box; }
html, body { margin: 0; padding: 0; }
html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; scroll-padding-top: var(--header-h); }
body {
  background: var(--bg);
  color: var(--text);
  font-family: var(--jp);
  font-weight: 400;
  font-size: 15px;
  line-height: 2.0;
  letter-spacing: 0.04em;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  overflow-x: hidden;
}
picture { display: contents; }
img { max-width: 100%; height: auto; display: block; }
button { font: inherit; color: inherit; background: none; border: 0; cursor: pointer; }
ul, ol { list-style: none; margin: 0; padding: 0; }
a { color: inherit; text-decoration: none; }
dl, dd { margin: 0; }
:focus-visible { outline: 2px solid var(--text); outline-offset: 3px; }
::selection { background: var(--text); color: #fff; }

.sr-only {
  position: absolute; width: 1px; height: 1px; padding: 0; margin: -1px;
  overflow: hidden; clip: rect(0,0,0,0); white-space: nowrap; border: 0;
}

/* ---------- 2b. 日本語の改行・行末処理 ---------- */
/* 行頭・行末の禁則を厳格化（ー・々・句読点の孤立を防ぐ） */
body { line-break: strict; }

/* 見出し：行数を均等化して尻切れを防ぐ */
.hero-catch, .sec-en, .sec-jp, .biz-jp, .biz-quote,
.split-en, .page-en, .car-title, .msg-name, .footer-brand-en {
  text-wrap: balance;
}

/* 本文：文節単位で折り返し、最終行の孤立語を防ぐ */
.hero-jp, .sec-lead, .biz-lede, .car-list li, .num-desc,
.msg-body p, .about-col dd, .co-row dd, .split-txt,
.page-jp, .news-ttl, .footer-addr, .contact-tags li {
  text-wrap: pretty;
  word-break: auto-phrase;
}

/* ---------- 3. Layout ---------- */
.container {
  width: 100%;
  max-width: var(--container);
  margin-inline: auto;
  padding-inline: var(--gutter);
}
.container-narrow { max-width: 880px; }

.section { padding-block: var(--pad-sec); position: relative; }
.section-alt { background: var(--bg-alt); }
.section + .section { border-top: 1px solid var(--line-soft); }
.section-alt + .section, .section + .section-alt { border-top: 0; }

/* ---------- 4. Header ---------- */
.l-header {
  position: fixed; inset: 0 0 auto 0; z-index: 100;
  height: var(--header-h);
  display: flex; align-items: center;
  transition: background 500ms var(--ease), box-shadow 500ms var(--ease);
}
.l-header.is-solid {
  background: rgba(255,255,255,0.94);
  backdrop-filter: saturate(180%) blur(12px);
  box-shadow: 0 1px 0 var(--line-soft);
}
.header-inner {
  width: 100%; max-width: 1440px; margin-inline: auto;
  padding-inline: var(--gutter);
  display: flex; align-items: center; justify-content: space-between; gap: 32px;
}

.brand { display: flex; flex-direction: column; line-height: 1.05; }
.brand-en {
  font-family: var(--serif); font-weight: 600; font-size: 21px;
  letter-spacing: 0.06em; color: var(--text-invert);
  transition: color 500ms var(--ease);
}
.brand-jp {
  font-family: var(--jp); font-weight: 400; font-size: 9.5px;
  letter-spacing: 0.3em; margin-top: 5px; color: rgba(255,255,255,0.8);
  transition: color 500ms var(--ease);
}
.l-header.is-solid .brand-en { color: var(--text); }
.l-header.is-solid .brand-jp { color: var(--text-muted); }

.gnav ul { display: flex; align-items: center; gap: 40px; }
.gnav a {
  font-size: 12.5px; letter-spacing: 0.12em; color: var(--text-invert);
  position: relative; padding-block: 6px; transition: color 500ms var(--ease);
  white-space: nowrap;
}
.l-header.is-solid .gnav a { color: var(--text); }
.gnav a::after {
  content: ""; position: absolute; left: 0; bottom: 0; width: 100%; height: 1px;
  background: currentColor; transform: scaleX(0); transform-origin: right;
  transition: transform 500ms var(--ease);
}
.gnav a:hover::after, .gnav a[aria-current="page"]::after { transform: scaleX(1); transform-origin: left; }

.nav-toggle { display: none; width: 28px; height: 20px; position: relative; }
.nav-toggle span {
  position: absolute; left: 0; width: 100%; height: 1.5px; background: #fff;
  transition: transform 400ms var(--ease), opacity 300ms, background 500ms var(--ease);
}
.l-header.is-solid .nav-toggle span, .nav-toggle.is-open span { background: var(--text); }
.nav-toggle span:nth-child(1) { top: 3px; }
.nav-toggle span:nth-child(2) { bottom: 3px; }
.nav-toggle.is-open span:nth-child(1) { top: 9px; transform: rotate(38deg); }
.nav-toggle.is-open span:nth-child(2) { bottom: 9px; transform: rotate(-38deg); }

.drawer {
  position: fixed; inset: var(--header-h) 0 auto 0; z-index: 99;
  background: #fff; border-bottom: 1px solid var(--line);
  transform: translateY(-12px); opacity: 0; pointer-events: none;
  transition: opacity 400ms var(--ease), transform 400ms var(--ease);
}
.drawer.is-open { opacity: 1; transform: none; pointer-events: auto; }
.drawer ul { padding: 12px var(--gutter) 32px; }
.drawer a {
  display: block; padding: 17px 0; border-bottom: 1px solid var(--line-soft);
  font-size: 14px; letter-spacing: 0.1em;
}
.drawer a .en {
  font-family: var(--serif); font-size: 10px; letter-spacing: 0.22em;
  color: var(--text-faint); display: block; margin-bottom: 3px;
}

/* ---------- 5. Hero ---------- */
.hero {
  position: relative; min-height: 100svh; display: flex; align-items: flex-end;
  overflow: hidden; background: #111;
}
.hero-media { position: absolute; inset: 0; }
.hero-media img { width: 100%; height: 100%; object-fit: cover; }
.hero-media::after {
  content: ""; position: absolute; inset: 0;
  background:
    linear-gradient(to bottom, rgba(0,0,0,.55) 0%, rgba(0,0,0,.12) 40%, rgba(0,0,0,.72) 100%),
    linear-gradient(to right, rgba(0,0,0,.42) 0%, rgba(0,0,0,0) 62%);
}
.hero-inner {
  position: relative; z-index: 2; width: 100%;
  max-width: 1440px; margin-inline: auto; padding: 0 var(--gutter) 120px;
  color: #fff;
}
.hero-catch {
  font-family: var(--serif); font-weight: 400;
  font-size: clamp(44px, 7.2vw, 104px); line-height: 1.06;
  letter-spacing: 0.02em; margin: 0;
}
.hero-catch .l { display: block; overflow: hidden; }
.hero-catch .l > span {
  display: block; transform: translateY(105%);
  transition: transform 1100ms var(--ease);
}
.hero.is-in .hero-catch .l > span { transform: none; }
.hero-catch .l:nth-child(2) > span { transition-delay: 120ms; }
.hero-catch .thin { font-weight: 400; opacity: .62; }

.hero-jp {
  margin: 38px 0 0; font-size: clamp(15px, 1.5vw, 19px); font-weight: 400;
  letter-spacing: 0.22em; line-height: 2.1;
  opacity: 0; transform: translateY(18px);
  transition: opacity 900ms var(--ease) 460ms, transform 900ms var(--ease) 460ms;
}
.hero.is-in .hero-jp { opacity: 1; transform: none; }

.hero-meta {
  position: absolute; z-index: 2; right: var(--gutter); bottom: 120px;
  text-align: right; font-family: var(--latin); font-size: 10px;
  letter-spacing: 0.26em; color: rgba(255,255,255,.62); line-height: 2.4;
  opacity: 0; transition: opacity 900ms var(--ease) 700ms;
}
.hero.is-in .hero-meta { opacity: 1; }

.hero-scroll {
  position: absolute; z-index: 2; left: 50%; bottom: 0; transform: translateX(-50%);
  display: flex; flex-direction: column; align-items: center; gap: 12px;
  font-family: var(--latin); font-size: 9px; letter-spacing: 0.3em;
  color: rgba(255,255,255,.7); padding-bottom: 0;
}
.hero-scroll .bar { display: block; width: 1px; height: 72px; background: rgba(255,255,255,.3); position: relative; overflow: hidden; }
.hero-scroll .bar::after {
  content: ""; position: absolute; inset: 0; background: #fff;
  animation: scrollbar 2200ms var(--ease) infinite;
}
@keyframes scrollbar {
  0%   { transform: translateY(-100%); }
  60%  { transform: translateY(0); }
  100% { transform: translateY(100%); }
}

/* ---------- 6. Section head (巨大英字 + ゴースト) ---------- */
.sec-head { position: relative; margin-bottom: 72px; }
.sec-en {
  font-family: var(--serif); font-weight: 700;
  font-size: clamp(34px, 5.4vw, 64px); line-height: 1; letter-spacing: 0.01em;
  color: var(--text); margin: 0; position: relative; z-index: 2;
}
.sec-jp {
  margin: 22px 0 0; font-size: clamp(20px, 2.6vw, 31px); font-weight: 500;
  line-height: 1.75; letter-spacing: 0.06em; position: relative; z-index: 2;
}
.sec-lead {
  margin: 28px 0 0; max-width: none; color: var(--text-sub);
  font-size: 14.5px; line-height: 2.15; position: relative; z-index: 2;
}
.sec-head-center { text-align: center; }
.sec-head-center .sec-lead { max-width: 720px; margin-inline: auto; }

.ghost {
  position: absolute; z-index: 1; left: 50%; top: 50%;
  transform: translate(-50%, -50%);
  font-family: var(--serif); font-weight: 700;
  font-size: clamp(70px, 13vw, 190px); line-height: 1;
  letter-spacing: 0.04em; color: var(--ghost);
  white-space: nowrap; pointer-events: none; user-select: none;
}
.ghost-tr { left: auto; right: -2%; top: 8%; transform: none; }

/* ---------- 7. Button ---------- */
.btn-more {
  display: inline-flex; align-items: center; justify-content: center; gap: 14px;
  min-width: 210px; padding: 19px 34px;
  background: var(--btn); color: #fff;
  font-family: var(--latin); font-size: 11.5px; font-weight: 400; letter-spacing: 0.26em;
  transition: background 500ms var(--ease);
}
.btn-more .ar { transition: transform 500ms var(--ease); }
.btn-more:hover { background: var(--btn-hover); }
.btn-more:hover .ar { transform: translateX(6px); }
.btn-outline { background: none; color: var(--text); border: 1px solid var(--line); }
.btn-outline:hover { background: var(--text); color: #fff; border-color: var(--text); }
.btn-wrap { margin-top: 64px; text-align: center; }
.btn-wrap-left { text-align: left; }

/* ---------- 8. About ---------- */
.about-media { margin-top: 72px; position: relative; }
.about-media img { width: 100%; }
.about-cap {
  position: absolute; left: 0; bottom: -1px; background: #fff;
  padding: 20px 32px 0 0;
  font-family: var(--latin); font-size: 10px; letter-spacing: 0.26em; color: var(--text-muted);
}
.about-cols {
  margin-top: 76px; display: grid; grid-template-columns: repeat(3, 1fr); gap: 56px;
}
.about-col dt {
  font-family: var(--serif); font-size: 13px; font-weight: 700; letter-spacing: 0.16em;
  padding-bottom: 14px; border-bottom: 1px solid var(--line); margin-bottom: 20px;
}
.about-col dd { font-size: 13.5px; line-height: 2.1; color: var(--text-sub); }

/* ---------- 9. Business cards ---------- */
.biz-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 36px; }
.biz-card { background: #fff; border: 1px solid var(--line); display: flex; flex-direction: column; }
.section-alt .biz-card { background: #fff; }
.biz-thumb { position: relative; overflow: hidden; aspect-ratio: 4/3; }
.biz-thumb img {
  width: 100%; height: 100%; object-fit: cover;
  transition: transform 1400ms var(--ease);
}
.biz-card:hover .biz-thumb img { transform: scale(1.05); }
.biz-no {
  position: absolute; left: 0; top: 0; z-index: 2;
  background: #fff; padding: 12px 20px;
  font-family: var(--serif); font-size: 13px; font-weight: 700; letter-spacing: 0.1em;
}
.biz-body { padding: 34px 32px 38px; flex: 1; display: flex; flex-direction: column; }
.biz-en {
  font-family: var(--serif); font-size: 11.5px; font-weight: 700;
  letter-spacing: 0.2em; color: var(--text-muted);
}
.biz-jp { margin: 16px 0 0; font-size: 22px; font-weight: 500; line-height: 1.6; letter-spacing: 0.04em; }
.biz-lede { margin: 22px 0 0; font-size: 14px; color: var(--text-sub); line-height: 2.1; }
.biz-quote {
  margin: 30px 0 0; padding: 18px 0 0; border-top: 1px solid var(--line);
  font-size: 15px; font-weight: 500; letter-spacing: 0.06em;
}
.biz-meta {
  margin-top: auto; padding-top: 32px;
  display: flex; align-items: center; justify-content: space-between; gap: 20px;
}
.biz-status {
  font-family: var(--latin); font-size: 10px; letter-spacing: 0.22em; color: var(--text-muted);
}
.biz-go {
  font-family: var(--latin); font-size: 10.5px; letter-spacing: 0.22em;
  display: inline-flex; align-items: center; gap: 10px;
  padding-bottom: 4px; border-bottom: 1px solid var(--text);
}
.biz-go .ar { transition: transform 500ms var(--ease); }
.biz-go:hover .ar { transform: translateX(5px); }

/* ---------- 10. Carousel ---------- */
.carousel-head { display: flex; align-items: flex-end; justify-content: space-between; gap: 40px; }
.carousel-nav { display: flex; gap: 12px; flex-shrink: 0; }
.car-btn {
  width: 48px; height: 48px; border-radius: 50%; background: var(--btn); color: #fff;
  display: grid; place-items: center; font-size: 15px;
  transition: background 400ms var(--ease), opacity 400ms;
}
.car-btn:hover { background: var(--btn-hover); }
.car-btn[disabled] { opacity: .3; cursor: default; }
.car-btn[disabled]:hover { background: var(--btn); }

.carousel {
  margin-top: 56px; display: flex; gap: 32px;
  overflow-x: auto; scroll-snap-type: x mandatory;
  scrollbar-width: none; -ms-overflow-style: none;
  padding-bottom: 4px;
}
.carousel::-webkit-scrollbar { display: none; }
.car-item {
  flex: 0 0 clamp(260px, 27vw, 330px); scroll-snap-align: start;
}
.car-thumb { aspect-ratio: 4/3; overflow: hidden; }
.car-thumb img { width: 100%; height: 100%; object-fit: cover; transition: transform 1400ms var(--ease); }
.car-item:hover .car-thumb img { transform: scale(1.06); }
.car-title {
  margin: 24px 0 0; font-size: 16px; font-weight: 500; letter-spacing: 0.08em;
  padding-left: 14px; border-left: 3px solid var(--text);
}
.car-q {
  margin: 18px 0 0; font-family: var(--latin); font-size: 12px;
  letter-spacing: 0.1em; color: var(--text-sub);
}
.car-list { margin-top: 14px; background: var(--bg-alt); padding: 22px 24px; }
.section-alt .car-list { background: #fff; }
.car-list li { font-size: 13px; line-height: 2.0; color: var(--text-sub); }

/* ---------- 11. Numbers ---------- */
.num-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 1px; background: var(--line); }
.num-cell { background: var(--bg); padding: 52px 32px; text-align: center; }
.section-alt .num-cell { background: var(--bg-alt); }
.num-val { font-family: var(--serif); font-weight: 700; font-size: clamp(42px, 5vw, 62px); line-height: 1; }
.num-val .unit { font-size: .4em; margin-left: 4px; letter-spacing: 0.04em; }
.num-key {
  margin-top: 18px; font-family: var(--latin); font-size: 10px;
  letter-spacing: 0.28em; color: var(--text-muted);
}
.num-desc { margin: 16px 0 0; font-size: 12.5px; line-height: 1.95; color: var(--text-sub); }

/* ---------- 12. Message ---------- */
.msg-grid { display: grid; grid-template-columns: 380px 1fr; gap: 80px; align-items: start; }
.msg-photo img { width: 100%; }
.msg-name { margin-top: 26px; font-size: 20px; font-weight: 500; letter-spacing: 0.1em; }
.msg-role {
  margin-top: 8px; font-family: var(--latin); font-size: 10px;
  letter-spacing: 0.26em; color: var(--text-muted);
}
.msg-body p { margin: 0 0 1.9em; font-size: 14.5px; line-height: 2.3; }
.msg-body p:last-child { margin-bottom: 0; }
.msg-close { font-size: 17px !important; font-weight: 500; letter-spacing: 0.06em; }
.portrait-ph {
  aspect-ratio: 4/5; background: var(--bg-alt); border: 1px solid var(--line);
  display: grid; place-items: center;
  font-family: var(--latin); font-size: 10px; letter-spacing: 0.3em; color: var(--text-faint);
}

/* ---------- 13. News ---------- */
.news-list { border-top: 1px solid var(--line); }
.news-item { border-bottom: 1px solid var(--line); }
.news-row {
  display: grid; grid-template-columns: 130px 100px 1fr 28px;
  align-items: center; gap: 24px; padding: 30px 8px;
  transition: background 400ms var(--ease), padding-inline 400ms var(--ease);
}
.news-row:hover { background: var(--bg-alt); padding-inline: 20px 8px; }
.section-alt .news-row:hover { background: #fff; }
.news-date { font-family: var(--latin); font-size: 12.5px; letter-spacing: 0.14em; color: var(--text-muted); }
.news-cat {
  font-family: var(--latin); font-size: 9.5px; letter-spacing: 0.2em;
  border: 1px solid var(--line); padding: 5px 0; text-align: center; color: var(--text-sub);
}
.news-ttl { font-size: 14.5px; letter-spacing: 0.04em; }
.news-ar { text-align: right; color: var(--text-faint); transition: transform 400ms var(--ease), color 400ms; }
.news-row:hover .news-ar { transform: translateX(5px); color: var(--text); }
.news-row-static { cursor: default; }
.news-row-static:hover { background: transparent; padding-inline: 8px; }

/* ---------- 14. Split banner ---------- */
.split { display: grid; grid-template-columns: 1fr 1fr; }
.split-cell { position: relative; min-height: 460px; display: flex; align-items: center; overflow: hidden; }
.split-cell img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; transition: transform 1600ms var(--ease); }
.split-cell:hover img { transform: scale(1.05); }
.split-cell::after { content: ""; position: absolute; inset: 0; }
.split-light::after { background: rgba(255,255,255,.66); }
.split-dark::after  { background: rgba(0,0,0,.68); }
.split-inner { position: relative; z-index: 2; padding: 0 clamp(32px, 5vw, 76px); max-width: 520px; }
.split-en { font-family: var(--serif); font-weight: 700; font-size: clamp(28px, 3.4vw, 44px); line-height: 1; }
.split-txt { margin: 24px 0 36px; font-size: 14px; line-height: 2.1; }
.split-light .split-en, .split-light .split-txt { color: var(--text); }
.split-dark  .split-en, .split-dark  .split-txt { color: #fff; }
.split-dark .btn-more { background: rgba(255,255,255,.16); backdrop-filter: blur(2px); }
.split-dark .btn-more:hover { background: #fff; color: var(--text); }

/* ---------- 15. Page header (下層) ---------- */
.page-head {
  position: relative; min-height: 46vh; display: flex; align-items: flex-end;
  background: var(--bg-dark); overflow: hidden;
}
.page-head img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; opacity: .5; }
.page-head-inner {
  position: relative; z-index: 2; width: 100%; max-width: var(--container);
  margin-inline: auto; padding: 0 var(--gutter) 68px; color: #fff;
}
.page-en { font-family: var(--serif); font-weight: 700; font-size: clamp(34px, 5.4vw, 62px); line-height: 1; }
.page-jp { margin-top: 18px; font-size: 13px; letter-spacing: 0.24em; color: rgba(255,255,255,.75); }
.breadcrumb {
  padding: 22px 0; border-bottom: 1px solid var(--line-soft);
  font-family: var(--latin); font-size: 11px; letter-spacing: 0.14em; color: var(--text-muted);
}
.breadcrumb ol { display: flex; gap: 12px; flex-wrap: wrap; }
.breadcrumb li + li::before { content: "／"; margin-right: 12px; color: var(--text-faint); }
.breadcrumb a:hover { color: var(--text); }

/* ---------- 16. Company table ---------- */
.co-table { border-top: 1px solid var(--line); }
.co-row { display: grid; grid-template-columns: 220px 1fr; gap: 32px; padding: 26px 8px; border-bottom: 1px solid var(--line); }
.co-row dt { font-size: 13.5px; font-weight: 500; letter-spacing: 0.1em; color: var(--text-sub); }
.co-row dd { font-size: 14.5px; }
.dd-muted { color: var(--text-faint); }

/* ---------- 17. Contact ---------- */
.contact-mail {
  display: inline-block; font-family: var(--latin);
  font-size: clamp(20px, 3.2vw, 36px); letter-spacing: 0.04em;
  padding-bottom: 12px; border-bottom: 1px solid var(--line);
  transition: border-color 500ms var(--ease);
}
.contact-mail:hover { border-color: var(--text); }
.contact-tags { margin-top: 48px; display: flex; flex-wrap: wrap; gap: 12px; justify-content: center; }
.contact-tags li {
  border: 1px solid var(--line); padding: 9px 20px;
  font-family: var(--latin); font-size: 10px; letter-spacing: 0.22em; color: var(--text-sub);
}

/* ---------- 18. Footer ---------- */
.l-footer { background: var(--bg-dark); color: rgba(255,255,255,.72); padding-top: 96px; }
.footer-grid { display: grid; grid-template-columns: 1.4fr 1fr 1fr 1fr; gap: 56px; padding-bottom: 76px; }
.footer-brand-en { font-family: var(--serif); font-weight: 600; font-size: 24px; letter-spacing: 0.06em; color: #fff; line-height: 1.3; }
.footer-brand-jp { margin-top: 14px; font-size: 12px; letter-spacing: 0.14em; }
.footer-addr { margin-top: 26px; font-size: 12px; line-height: 2.1; color: rgba(255,255,255,.55); }
.footer-head {
  font-family: var(--serif); font-size: 11.5px; font-weight: 700; letter-spacing: 0.2em;
  color: #fff; padding-bottom: 16px; border-bottom: 1px solid rgba(255,255,255,.16); margin-bottom: 18px;
}
.l-footer li a { display: inline-block; padding: 7px 0; font-size: 12.5px; transition: color 400ms var(--ease); }
.l-footer li a:hover { color: #fff; }
.footer-bottom {
  border-top: 1px solid rgba(255,255,255,.14); padding: 26px 0 32px;
  display: flex; align-items: center; justify-content: space-between; gap: 20px; flex-wrap: wrap;
  font-family: var(--latin); font-size: 10px; letter-spacing: 0.18em; color: rgba(255,255,255,.45);
}
.lang a.is-off { color: rgba(255,255,255,.25); pointer-events: none; }
.lang span { margin: 0 8px; color: rgba(255,255,255,.25); }

/* ---------- 19. Reveal ---------- */
.reveal { opacity: 0; transform: translateY(26px); }
.reveal.is-in {
  opacity: 1; transform: none;
  transition: opacity 1000ms var(--ease), transform 1000ms var(--ease);
}

/* ---------- 20. Responsive ---------- */
@media (max-width: 1024px) {
  :root { --pad-sec: 100px; --gutter: 32px; }
  .about-cols { grid-template-columns: 1fr; gap: 36px; }
  .biz-grid { grid-template-columns: 1fr; gap: 40px; }
  .num-grid { grid-template-columns: 1fr 1fr; }
  .msg-grid { grid-template-columns: 260px 1fr; gap: 48px; }
  .footer-grid { grid-template-columns: 1fr 1fr; gap: 44px; }
}

@media (max-width: 768px) {
  :root { --pad-sec: 78px; --gutter: 22px; --header-h: 66px; }
  body { font-size: 14px; }
  .gnav { display: none; }
  .nav-toggle { display: block; }
  .hero-inner { padding-bottom: 96px; }
  .hero-meta { display: none; }
  .sec-head { margin-bottom: 48px; }
  .ghost { font-size: clamp(56px, 20vw, 110px); }
  .biz-body { padding: 30px 26px 34px; }
  .num-grid { grid-template-columns: 1fr; }
  .num-cell { padding: 40px 24px; }
  .msg-grid { grid-template-columns: 1fr; gap: 40px; }
  .msg-photo { max-width: 300px; }
  .news-row { grid-template-columns: 1fr 28px; gap: 6px 16px; padding: 22px 4px; }
  .news-date { grid-column: 1; }
  .news-cat { display: none; }
  .news-ttl { grid-column: 1 / 2; }
  .news-ar { grid-row: 1 / 3; grid-column: 2; }
  .split { grid-template-columns: 1fr; }
  .split-cell { min-height: 340px; }
  .co-row { grid-template-columns: 1fr; gap: 8px; padding: 20px 4px; }
  .footer-grid { grid-template-columns: 1fr; gap: 34px; padding-bottom: 52px; }
  .carousel-head { flex-direction: column; align-items: flex-start; gap: 28px; }
  .car-item { flex-basis: 76vw; }
}

/* ---------- 21. Motion / Print ---------- */
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after {
    animation-duration: 0.001ms !important; animation-iteration-count: 1 !important;
    transition-duration: 0.001ms !important;
  }
  .reveal { opacity: 1; transform: none; }
  .hero-catch .l > span { transform: none; }
  .hero-jp, .hero-meta { opacity: 1; transform: none; }
}

@media print {
  .l-header, .drawer, .hero-scroll, .carousel-nav, .btn-more { display: none !important; }
  body { color: #000; font-size: 11pt; }
  .reveal { opacity: 1; transform: none; }
}

/* ---------- 20. Legal pages ---------- */
.legal { font-size: 14.5px; line-height: 2.0; color: var(--text); }
.legal .legal-lead { color: var(--text-sub); margin-bottom: 8px; }
.legal .legal-updated { font-family: var(--latin); font-size: 12px; letter-spacing: 0.08em; color: var(--text-muted); margin-bottom: 56px; }
.legal h2 { font-size: 17px; font-weight: 700; letter-spacing: 0.04em; margin: 52px 0 16px; padding-bottom: 12px; border-bottom: 1px solid var(--line); }
.legal h2:first-of-type { margin-top: 0; }
.legal p { margin: 0 0 16px; }
.legal ul, .legal ol { margin: 0 0 16px; padding-left: 1.4em; }
.legal li { margin-bottom: 8px; }
.legal a { border-bottom: 1px solid var(--line); }
.legal a:hover { border-color: var(--text); }
.legal .legal-note { margin-top: 12px; font-size: 13px; color: var(--text-muted); }

/* ---------- 21. Article / Column ---------- */
.article-meta { display: flex; gap: 16px; align-items: center; font-family: var(--latin); font-size: 11.5px; letter-spacing: 0.14em; color: var(--text-muted); margin-bottom: 22px; }
.article-cat { border: 1px solid var(--line); padding: 4px 13px; letter-spacing: 0.2em; }
.article-title { font-size: clamp(23px, 3.6vw, 34px); font-weight: 700; line-height: 1.55; letter-spacing: 0.02em; margin: 0 0 44px; }
.article-lead { font-size: 16px; line-height: 2.0; color: var(--text); margin-bottom: 8px; }
.article-cta { margin-top: 60px; padding: 34px 32px; background: var(--bg-alt); }
.article-cta .article-cta-h { font-family: var(--latin); font-size: 11px; letter-spacing: 0.2em; color: var(--text-muted); margin-bottom: 14px; }
.article-cta ul { margin: 0; padding: 0; list-style: none; }
.article-cta li { margin-bottom: 10px; }
.article-cta a { border-bottom: 1px solid var(--line); }
.article-cta a:hover { border-color: var(--text); }
.sources { margin-top: 52px; padding-top: 26px; border-top: 1px solid var(--line); font-size: 12.5px; line-height: 1.9; color: var(--text-sub); }
.sources h2 { font-size: 12px; font-weight: 700; letter-spacing: 0.12em; color: var(--text-sub); border: 0; padding: 0; margin: 0 0 14px; }
.sources ol { margin: 0; padding-left: 1.4em; }
.sources li { margin-bottom: 8px; word-break: break-word; }
.sources a { border-bottom: 1px solid var(--line); }

/* ---------- 22. Form ---------- */
.form { max-width: 680px; margin: 0 auto; }
.form-row { margin-bottom: 26px; }
.form-row label { display: block; font-size: 12.5px; font-weight: 500; letter-spacing: 0.06em; color: var(--text-sub); margin-bottom: 10px; }
.form-row .req { color: #b23; margin-left: 6px; font-size: 11px; }
.form-row input:not([type=checkbox]):not([type=radio]), .form-row select, .form-row textarea {
  width: 100%; font-family: inherit; font-size: 15px; color: var(--text);
  background: #fff; border: 1px solid var(--line); border-radius: 0;
  padding: 14px 16px; transition: border-color 300ms var(--ease); -webkit-appearance: none; appearance: none;
}
.form-row select { background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='8' viewBox='0 0 12 8'%3E%3Cpath d='M1 1l5 5 5-5' stroke='%23666' fill='none' stroke-width='1.4'/%3E%3C/svg%3E"); background-repeat: no-repeat; background-position: right 16px center; padding-right: 40px; }
.form-row textarea { min-height: 160px; resize: vertical; line-height: 1.8; }
.form-row input:focus, .form-row select:focus, .form-row textarea:focus { outline: none; border-color: var(--text); }
.form-row label.form-check { display: flex; align-items: flex-start; gap: 10px; font-size: 13.5px; color: var(--text-sub); line-height: 1.7; margin-bottom: 0; cursor: pointer; }
.form-check input[type=checkbox] { -webkit-appearance: auto; appearance: auto; accent-color: var(--bg-dark); width: 18px; height: 18px; margin: 2px 0 0; padding: 0; border: 0; flex-shrink: 0; cursor: pointer; }
.form-check a { border-bottom: 1px solid var(--line); }
.form-hp { position: absolute; left: -9999px; width: 1px; height: 1px; overflow: hidden; }
.btn-submit {
  display: inline-flex; align-items: center; gap: 12px; margin-top: 8px;
  font-family: var(--latin); font-size: 12px; letter-spacing: 0.2em;
  background: var(--bg-dark); color: #fff; border: 1px solid var(--bg-dark);
  padding: 18px 44px; cursor: pointer; transition: background 300ms var(--ease), color 300ms var(--ease);
}
.btn-submit:hover { background: transparent; color: var(--text); }
.form-note { font-size: 12.5px; color: var(--text-muted); margin-bottom: 40px; line-height: 1.9; }
.form-error { background: #fbeaea; border: 1px solid #e0b4b4; color: #a03; padding: 16px 20px; font-size: 13.5px; margin-bottom: 32px; line-height: 1.8; }
.form-error ul { margin: 8px 0 0; padding-left: 1.3em; }
.thanks-box { max-width: 620px; margin: 0 auto; text-align: center; }
.thanks-box .thanks-en { font-family: var(--latin); font-size: 12px; letter-spacing: 0.24em; color: var(--text-muted); margin-bottom: 20px; }
.thanks-box h2 { font-size: clamp(22px, 3.4vw, 30px); font-weight: 700; margin-bottom: 24px; letter-spacing: 0.02em; }
.thanks-box p { font-size: 15px; line-height: 2.0; color: var(--text-sub); margin-bottom: 16px; }
