/* ==========================================================
   株式会社Co Creation  共通スタイル
   色は3色（ベース・メイン・アクセント）とその淡色・中間色だけを使う
   ========================================================== */

:root {
  /* 3色 */
  --base: #F8FAFC;      /* ベース：ソフトな背景 */
  --main: #1E293B;      /* メイン：スレートグレー */
  --accent: #1E40AF;    /* アクセント：深い青 */

  /* 3色から作った淡色・中間色 */
  --white: #FFFFFF;
  --muted: #5A687D;          /* 補助文字 */
  --line: #E2E8F0;           /* 罫線 */
  --accent-soft: #EEF2FB;    /* アクセントの淡い面 */
  --accent-dark: #1B3A9E;    /* ボタンの押下時 */

  /* 差し色：銅色。銅合金鋳物にちなむ、落ち着いた明るさの色。目印（番号・チェック・札・飾り線）にだけ使う */
  --copper: #C0692B;         /* 図形・線に使う（文字には使わない） */
  --copper-text: #9A4E17;    /* 明るい背景の上の文字 */
  --copper-soft: #FBEFE4;    /* 札などの淡い面 */
  --copper-light: #F2B27A;   /* 青い枠の上の数字 */

  /* 濃い色の枠（お問い合わせ、つながり図の中心、企業理念など）に共通で使う、落ち着いた明るめの青 */
  --panel: linear-gradient(135deg, #4169AA 0%, #34568F 100%);
  --panel-solid: #3A5E9A;
  --panel-text-sub: #DCE5F4;   /* 枠の中の補助文字 */
  --panel-shadow: 0 24px 48px -24px rgba(52, 86, 143, 0.5);

  --font: "Inter", "Noto Sans JP", system-ui, -apple-system, "Segoe UI", "Hiragino Sans", "Hiragino Kaku Gothic ProN", "Yu Gothic UI", "Meiryo", sans-serif;

  --radius: 16px;
  --radius-sm: 12px;
  --shadow-sm: 0 1px 2px rgba(30, 41, 59, 0.04), 0 1px 3px rgba(30, 41, 59, 0.04);
  --shadow: 0 1px 2px rgba(30, 41, 59, 0.04), 0 12px 32px -12px rgba(30, 41, 59, 0.12);
  --shadow-hover: 0 2px 4px rgba(30, 41, 59, 0.05), 0 22px 44px -18px rgba(30, 41, 59, 0.2);

  --gutter: 1.25rem;
  --section: 6rem;
  --header: 4.5rem;
}

@media (min-width: 768px) {
  :root { --gutter: 2rem; --section: 7.5rem; }
}
@media (min-width: 1024px) {
  :root { --gutter: 2.5rem; --section: 8.5rem; --header: 5rem; }
}

/* ---------- 基本 ---------- */

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

html {
  -webkit-text-size-adjust: 100%;
  scroll-padding-top: calc(var(--header) + 1rem);
}

body {
  margin: 0;
  background: var(--base);
  color: var(--main);
  font-family: var(--font);
  font-size: 1rem;
  font-weight: 400;
  line-height: 1.75;
  letter-spacing: 0.03em;
  /* 日本語を「言葉のまとまり」の切れ目で改行する（対応ブラウザのみ。未対応でも通常の改行になるだけ） */
  word-break: auto-phrase;
  line-break: strict;
  /* 1つのまとまりが枠より長いときだけ、途中で折り返してはみ出しを防ぐ */
  overflow-wrap: anywhere;
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
}

/* 最後の行に1〜2文字だけ残らないよう、行の長さを整える */
p, li, dd, dt, figcaption, address, td, th {
  text-wrap: pretty;
}

/* カードの中の短い見出しは、行の長さをそろえて読みやすくする */
.audience__who, .strength__title,
.service-block__title, .service-block__subtitle, .recruit-card__title,
.group-card__title, .principle__title, .order-step__title, .flow__name, .article__title, .page-header__title {
  text-wrap: balance;
}

/* 日本語のページでは、見出しの行の長さをそろえない（代表 2026年9月28日）。
   そろえると「グループで鋳造できない／品物も、」のように意味の途中で折り返すため、
   前から詰めて、最後の行が短くなりすぎないようにだけ整える。区切りたい位置は .nw でまとめる */
html[lang="ja"] :is(h1, h2, h3, h4, .message__catch, .vision,
  .audience__who, .strength__title, .service-block__title, .service-block__subtitle, .recruit-card__title,
  .group-card__title, .principle__title, .order-step__title, .flow__name, .article__title, .page-header__title,
  .trade-catch, .trade-point__title, .consult__title, .startup-phase__title) {
  text-wrap: pretty;
}

@media (min-width: 1024px) {
  body { font-size: 1.0625rem; }
}

img { max-width: 100%; height: auto; display: block; }

a { color: var(--accent); text-decoration-color: rgba(30, 64, 175, 0.35); text-underline-offset: 0.3em; }
a:hover { text-decoration-color: currentColor; }

:focus-visible {
  outline: 3px solid var(--accent);
  outline-offset: 3px;
  border-radius: 4px;
}

p { margin: 0 0 1.1em; }
p:last-child { margin-bottom: 0; }

h1, h2, h3, h4, .message__catch, .vision {
  margin: 0;
  font-weight: 700;
  color: var(--main);
  word-break: auto-phrase;
  text-wrap: balance;
  font-feature-settings: "palt" 1;
}

figure { margin: 0; }
address { font-style: normal; }

.container {
  width: 100%;
  max-width: calc(1200px + var(--gutter) * 2);
  margin: 0 auto;
  padding: 0 var(--gutter);
}

.nw { display: inline-block; }

.skip-link {
  position: absolute;
  left: 1rem;
  top: -4rem;
  z-index: 100;
  padding: 0.5rem 1rem;
  background: var(--main);
  color: var(--white);
  border-radius: var(--radius-sm);
}
.skip-link:focus { top: 1rem; }

/* ---------- 部品：ボタン ---------- */

.button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 3.25rem;
  padding: 0.875rem 1.75rem;
  border: 1px solid transparent;
  border-radius: var(--radius-sm);
  background: var(--accent);
  color: var(--white);
  font-size: 0.9375rem;
  font-weight: 600;
  letter-spacing: 0.06em;
  line-height: 1.4;
  text-align: center;
  text-decoration: none;
  box-shadow: 0 1px 2px rgba(30, 41, 59, 0.08), 0 8px 20px -10px rgba(30, 64, 175, 0.55);
  transition: background-color 0.2s ease, box-shadow 0.2s ease, transform 0.2s ease;
}
.button:hover {
  background: var(--accent-dark);
  transform: translateY(-1px);
  box-shadow: 0 2px 4px rgba(30, 41, 59, 0.08), 0 14px 28px -12px rgba(30, 64, 175, 0.6);
}

.button--ghost {
  background: var(--white);
  color: var(--main);
  border-color: var(--line);
  box-shadow: var(--shadow-sm);
}
.button--ghost:hover {
  background: var(--white);
  border-color: #CBD5E1;
  box-shadow: var(--shadow);
}

.button--light {
  background: var(--white);
  color: var(--main);
  box-shadow: 0 8px 24px -12px rgba(0, 0, 0, 0.4);
}
.button--light:hover { background: var(--accent-soft); }

.button--block { display: flex; width: 100%; }

/* 別のタブで開くリンク：文字の代わりに小さな印を付ける */
.button--external { gap: 0.5rem; }
.link-external .icon-external { margin-left: 0.3rem; vertical-align: -0.1em; }
.icon-external {
  flex-shrink: 0;
  width: 0.875rem;
  height: 0.875rem;
  fill: none;
  stroke: currentColor;
  stroke-width: 1.5;
  stroke-linecap: round;
  stroke-linejoin: round;
  opacity: 0.7;
}

/* ---------- 部品：カード・チップ・リンク ---------- */

.card {
  background: var(--white);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  box-shadow: var(--shadow);
}

.chip {
  display: inline-block;
  padding: 0.375rem 0.875rem;
  border-radius: 999px;
  background: var(--accent-soft);
  color: var(--accent);
  font-size: 0.8125rem;
  font-weight: 600;
  letter-spacing: 0.08em;
  line-height: 1.5;
}

.text-link { margin: 2rem 0 0; }
.text-link a {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  font-weight: 600;
  font-size: 0.9375rem;
  letter-spacing: 0.05em;
}

/* ---------- ヘッダー ---------- */

/* ---------- セクション共通 ---------- */

.section { padding: var(--section) 0; }
.section--white { background: var(--white); }

.section-head { max-width: 42rem; margin-bottom: 3rem; }

.section-head__title {
  font-size: clamp(1.75rem, 1.2rem + 2.2vw, 2.75rem);
  line-height: 1.35;
  letter-spacing: 0.02em;
}

.section-head__lead {
  margin-top: 1.25rem;
  color: var(--muted);
  font-size: 1.0625rem;
}

@media (min-width: 1024px) {
  .section-head { margin-bottom: 4rem; }
}

/* ---------- ファーストビュー ---------- */

/* 写真を大きく敷き、その上に見出しを重ねる。周りに少し余白を残して角を丸める */

/* 文字を読みやすくするための幕。深い藍色にして、写真の炎の色を引き立てる */

/* 2本柱：写真つきのカード */

/* ---------- 社名の帯（写真を背景にした短い区切り） ---------- */

/* グループの見出しと関係図の画像を横に並べる */

/* ---------- グループのつながり図 ---------- */

/* スマホ・タブレット：中心から縦に枝分かれ */

/* PC：中心を囲む配置 */

/* ---------- 文章と写真の2段組 ---------- */

.split {
  display: grid;
  gap: 3rem;
}

.split__photo img {
  width: 100%;
  object-fit: cover;
  border-radius: var(--radius);
  box-shadow: var(--shadow-hover);
}

@media (max-width: 1023px) {
  .split__photo--crop img { aspect-ratio: 4 / 3; object-position: center 70%; }
  .split__photo--portrait { max-width: 22rem; }
}

@media (min-width: 1024px) {
  .split {
    grid-template-columns: 1.6fr 1fr;
    gap: 5rem;
    align-items: start;
  }
  .split--reverse { grid-template-columns: 1fr 1.6fr; align-items: center; }
  .split__photo--crop,
  .split__photo--sticky { position: sticky; top: calc(var(--header) + 2rem); }
  .split--reverse.split--top { align-items: start; }
  .split--even { grid-template-columns: 1fr 1fr; }
  /* 画面の写真など、細部を見せたい写真を大きめに置く */
  .split--reverse.split--media { grid-template-columns: 1.25fr 1fr; gap: 4rem; align-items: start; }
}

@media (max-width: 1023px) {
  .split--even { gap: 5rem; }
}

/* 工程の写真：スマホは横にすべらせて見る、PCは3枚並べる */

/* 貿易・調達 */
.trade-catch {
  margin-top: 1.25rem;
  font-size: clamp(1.25rem, 1rem + 1vw, 1.625rem);
  font-weight: 700;
  line-height: 1.5;
  color: var(--accent);
  text-wrap: balance;
}

.trade-points {
  list-style: none;
  margin: 2.5rem 0 0;
  padding: 0;
  display: grid;
  gap: 1rem;
}

.trade-point { padding: 1.5rem 1.5rem 1.75rem; }
.trade-point p { color: var(--muted); font-size: 0.9375rem; line-height: 1.8; }

.trade-point__title {
  margin: 0 0 0.5rem;
  font-size: 1.125rem;
  line-height: 1.5;
  text-wrap: balance;
}

.trade-point--figure { background: var(--panel); border-color: var(--panel-solid); box-shadow: var(--panel-shadow); }
.trade-point--figure .trade-point__title { color: var(--white); }
.trade-point--figure p { color: var(--panel-text-sub); }
.trade-point__figure {
  margin: 0 0 0.75rem !important;
  color: var(--white) !important;
  font-size: 1.125rem !important;
  font-weight: 700;
  line-height: 1;
  font-variant-numeric: tabular-nums;
}
.trade-point__figure span {
  font-size: 3.25rem;
  letter-spacing: -0.02em;
  margin: 0 0.125rem;
}

/* 材質ごとの数字を横に並べる */
.trade-point__figures {
  display: flex;
  flex-wrap: wrap;
  align-items: flex-start;
  gap: 1rem 2rem;
  margin-bottom: 1.25rem;
}
.trade-point__figures .trade-point__figure { margin: 0 !important; }
.trade-point__figures .trade-point__figure span { font-size: 2.75rem; }
.trade-point__figure small {
  display: block;
  margin-bottom: 0.5rem;
  color: var(--panel-text-sub);
  font-size: 0.75rem;
  font-weight: 600;
  letter-spacing: 0.08em;
}

@media (min-width: 768px) {
  .trade-points { grid-template-columns: 1fr 1fr; gap: 1.25rem; }
  .trade-point { padding: 2rem 2rem 2.25rem; }
}
@media (min-width: 1200px) {
  .trade-points { grid-template-columns: repeat(4, 1fr); }
}

/* 良い点の一覧（チェックの印つき） */
.merit-list {
  list-style: none;
  margin: 2rem 0 0;
  padding: 1.25rem 1.5rem;
  background: var(--accent-soft);
  border-color: #D9E1F5;
}
.merit-list li {
  position: relative;
  padding: 0.5rem 0 0.5rem 1.75rem;
  font-weight: 500;
  line-height: 1.6;
}
.merit-list li::before {
  content: "";
  position: absolute;
  left: 0.125rem;
  top: 0.8rem;
  width: 0.75rem;
  height: 0.4rem;
  border-left: 2px solid var(--accent);
  border-bottom: 2px solid var(--accent);
  transform: rotate(-45deg);
}

/* 各工程の終わりに置く「ご相談」の枠：左に一言、右にボタン */
.consult {
  display: grid;
  gap: 1.25rem;
  margin-top: 3rem;
  padding: 1.5rem;
  background: var(--accent-soft);
  border-color: #D9E1F5;
}

.consult__title {
  margin-bottom: 0.375rem !important;
  font-size: 1.125rem;
  font-weight: 700;
  line-height: 1.55;
  text-wrap: balance;
}
.consult__text p:not(.consult__title) { font-size: 0.9375rem; line-height: 1.8; }

.consult__actions {
  display: flex;
  flex-direction: column;
  gap: 0.75rem;
}
.consult__actions .button { width: 100%; }

@media (min-width: 768px) {
  .consult {
    grid-template-columns: 1fr minmax(16rem, 20rem);
    align-items: center;
    gap: 2.5rem;
    padding: 2rem 2.25rem;
  }
}

/* 本文と同じ幅にそろえる（段組のない欄で使う） */
.merit-list--wide { max-width: 46rem; }

.split__caption { margin-top: 0.75rem; color: var(--muted); font-size: 0.8125rem; }

/* 地図（Googleマップの埋め込み） */
.map {
  overflow: hidden;
  border: 1px solid var(--line);
  border-radius: var(--radius-sm);
  background: var(--accent-soft);   /* 読み込み前は淡い面だけを見せる */
}
.map iframe {
  display: block;
  width: 100%;
  height: 100%;
  border: 0;
}
.map--aside { margin-top: 1rem; aspect-ratio: 4 / 3; }
.map--wide { aspect-ratio: 4 / 3; box-shadow: var(--shadow); border-radius: var(--radius); }
.map__link { margin-top: 0.75rem; font-size: 0.875rem; font-weight: 600; }
.map--card { aspect-ratio: 16 / 9; }
.map__link--card { margin-bottom: 1.5rem !important; }

.access { margin-top: 4rem; }
.access__body { display: grid; gap: 1.5rem; }
.access__info address { line-height: 1.9; }
.access__tel { margin-top: 0.75rem; font-weight: 500; }

@media (min-width: 768px) {
  .map--wide { aspect-ratio: 16 / 9; }
}
@media (min-width: 1024px) {
  .access__body { grid-template-columns: 2fr 1fr; gap: 3rem; align-items: start; }
  .map--wide { aspect-ratio: 16 / 8; }
}

/* 余白を小さくした区切り（ほかのページへの案内など） */
.section--compact { padding: 3.5rem 0; }
.section--compact .consult { margin-top: 0; }
@media (min-width: 1024px) {
  .section--compact { padding: 4.5rem 0; }
}

/* 横長の写真 */

/* 対応範囲の表 */
.spec {
  margin: 0;
  padding: 0.5rem 1.5rem;
}

.spec__row { padding: 1.25rem 0; }
.spec__row + .spec__row { border-top: 1px solid var(--line); }

.spec dt {
  margin-bottom: 0.375rem;
  color: var(--accent);
  font-size: 0.875rem;
  font-weight: 700;
  letter-spacing: 0.08em;
}

.spec dd {
  margin: 0;
  font-size: 0.9375rem;
  line-height: 1.8;
}

@media (min-width: 640px) {
  .spec { padding: 0.75rem 2rem; }
  .spec__row {
    display: grid;
    grid-template-columns: 6.5rem 1fr;
    gap: 1rem;
    padding: 1.5rem 0;
  }
  .spec dt { margin: 0.1rem 0 0; }
}

/* ---------- 事業承継・経営支援 ---------- */

.tags {
  list-style: none;
  margin: 0;
  padding: 0;
  display: flex;
  flex-wrap: wrap;
  gap: 0.5rem;
}
.tags li {
  padding: 0.5rem 1rem;
  background: var(--white);
  border: 1px solid var(--line);
  border-radius: 999px;
  font-size: 0.875rem;
  font-weight: 500;
  box-shadow: var(--shadow-sm);
}

/* ---------- 代表メッセージ ---------- */

.message .section-head__title { margin-bottom: 1.75rem; }

.message__catch {
  margin-bottom: 1.75rem;
  padding-left: 1.25rem;
  border-left: 3px solid var(--accent);
  font-size: clamp(1.25rem, 1rem + 1vw, 1.625rem);
  font-weight: 700;
  line-height: 1.6;
  font-feature-settings: "palt" 1;
}

.message p:not(.message__catch):not(.text-link) { max-width: 38rem; }

.message__name {
  margin-top: 2rem;
  font-size: 1.125rem;
  font-weight: 700;
  letter-spacing: 0.1em;
}
.message__name span {
  display: block;
  color: var(--muted);
  font-size: 0.8125rem;
  font-weight: 500;
  letter-spacing: 0.08em;
}

/* ---------- お知らせ ---------- */

.news-list {
  list-style: none;
  margin: 0;
  padding: 0.5rem;
}

.news-list li + li { border-top: 1px solid var(--line); }

.news-list a {
  display: grid;
  gap: 0.25rem;
  padding: 1.25rem 1rem;
  border-radius: var(--radius-sm);
  color: var(--main);
  text-decoration: none;
  transition: background-color 0.2s ease;
}
.news-list a:hover { background: var(--base); }
.news-list a:hover span { color: var(--accent); }

.news-list time {
  color: var(--muted);
  font-size: 0.8125rem;
  font-weight: 500;
  letter-spacing: 0.06em;
  font-variant-numeric: tabular-nums;
}

.news-list span { font-weight: 500; transition: color 0.2s ease; }

@media (min-width: 768px) {
  .news-list { padding: 0.75rem; }
  .news-list a {
    grid-template-columns: 7.5rem 1fr;
    gap: 1.5rem;
    align-items: baseline;
    padding: 1.5rem 1.5rem;
  }
}

/* ---------- お問い合わせ ---------- */

.contact-panel {
  display: grid;
  gap: 2.5rem;
  padding: 3rem 1.5rem;
  border-radius: var(--radius);
  /* アクセントの青を少し落ち着かせた、明るめの青。白い文字が読みやすい濃さは保つ */
  background: var(--panel);
  color: #E6EDF8;
  box-shadow: 0 30px 60px -32px rgba(52, 86, 143, 0.55);
}

.contact-panel .section-head__title { color: var(--white); margin-bottom: 1rem; }
.contact-panel__text p { max-width: 32rem; }

.contact-panel__tel { margin-bottom: 0.25rem; }
.contact-panel__tel span {
  display: block;
  color: #DCE5F4;
  font-size: 0.8125rem;
  font-weight: 600;
  letter-spacing: 0.1em;
}
.contact-panel__tel a {
  color: var(--white);
  font-size: clamp(1.875rem, 1.4rem + 2vw, 2.5rem);
  font-weight: 700;
  letter-spacing: 0.04em;
  text-decoration: none;
  font-variant-numeric: tabular-nums;
}

.contact-panel__note {
  margin-bottom: 1.5rem;
  color: #DCE5F4;
  font-size: 0.875rem;
}

.contact-panel :focus-visible { outline-color: var(--white); }

@media (min-width: 768px) {
  .contact-panel { padding: 4rem 3.5rem; }
}

@media (min-width: 1024px) {
  .contact-panel {
    grid-template-columns: 1.3fr 1fr;
    gap: 5rem;
    align-items: center;
    padding: 4.5rem 5rem;
  }
}

/* ---------- フッター ---------- */

/* ==========================================================
   下層ページ
   ========================================================== */

/* ---------- ページ見出し ---------- */

.page-header {
  padding: 2.5rem 0 3.5rem;
  background: var(--white);
  border-bottom: 1px solid var(--line);
}

.breadcrumb ol {
  list-style: none;
  margin: 0 0 2rem;
  padding: 0;
  display: flex;
  flex-wrap: wrap;
  gap: 0.25rem 0.5rem;
  color: var(--muted);
  font-size: 0.8125rem;
}
.breadcrumb li + li::before {
  content: "/";
  margin-right: 0.5rem;
  color: #CBD5E1;
}
.breadcrumb a { color: var(--muted); text-decoration: none; }
.breadcrumb a:hover { color: var(--accent); text-decoration: underline; }

.page-header__title {
  font-size: clamp(1.875rem, 1.3rem + 3.4vw, 3.75rem);
  line-height: 1.25;
  letter-spacing: 0.02em;
}

.page-header__lead {
  max-width: 40rem;
  margin-top: 1.25rem;
  color: var(--muted);
  font-size: 1.0625rem;
}

.page-nav { margin-top: 2.5rem; }
.page-nav ul {
  list-style: none;
  margin: 0;
  padding: 0;
  display: flex;
  flex-wrap: wrap;
  gap: 0.5rem;
}
.page-nav a {
  display: inline-block;
  padding: 0.5rem 1rem;
  border: 1px solid var(--line);
  border-radius: 999px;
  background: var(--white);
  color: var(--main);
  font-size: 0.875rem;
  font-weight: 500;
  text-decoration: none;
  box-shadow: var(--shadow-sm);
  transition: border-color 0.2s ease, color 0.2s ease;
}
.page-nav a:hover { border-color: var(--accent); color: var(--accent); }

@media (min-width: 1024px) {
  .page-header { padding: 3rem 0 5rem; }
}

/* ---------- 文章 ---------- */

.prose { max-width: 40rem; }
.prose p { margin-bottom: 1.25em; }
.prose p:last-child { margin-bottom: 0; }

.sub-title {
  margin: 3.5rem 0 1.25rem;
  font-size: clamp(1.25rem, 1.1rem + 0.6vw, 1.5rem);
  line-height: 1.5;
  letter-spacing: 0.03em;
}
.sub-title--first { margin-top: 0; }

.plain-list { list-style: none; margin: 0; padding: 0; }
.plain-list li { position: relative; padding-left: 1rem; }
.plain-list li::before {
  content: "";
  position: absolute;
  left: 0;
  top: 0.8em;
  width: 5px;
  height: 5px;
  border-radius: 50%;
  background: var(--accent);
  opacity: 0.6;
}

/* ---------- 企業理念 ---------- */

.vision {
  margin: 0;
  padding: 2.5rem 1.75rem;
  border-radius: var(--radius);
  background: var(--panel);
  color: var(--white);
  font-size: clamp(1.625rem, 1.1rem + 2.4vw, 2.75rem);
  font-weight: 700;
  line-height: 1.4;
  letter-spacing: 0.04em;
  text-align: center;
  font-feature-settings: "palt" 1;
  box-shadow: 0 30px 60px -32px rgba(52, 86, 143, 0.5);
}

/* 写真を背景にしたビジョン */
.vision--photo {
  position: relative;
  display: grid;
  place-items: center;
  min-height: 16rem;
  overflow: hidden;
  isolation: isolate;
}
.vision__bg {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: 30% 45%;
}
.vision--photo::after {
  content: "";
  position: absolute;
  inset: 0;
  z-index: 1;
  /* 写真の上に、枠と同じ青を透かして重ねる */
  background: linear-gradient(135deg, rgba(65, 105, 170, 0.72) 0%, rgba(52, 86, 143, 0.78) 100%);
}
.vision__text {
  position: relative;
  z-index: 2;
  margin: 0;
  text-shadow: 0 2px 20px rgba(15, 23, 42, 0.45);
}

@media (min-width: 768px) {
  .vision--photo { min-height: 22rem; }
}

.principles {
  list-style: none;
  margin: 0;
  padding: 0;
  display: grid;
  gap: 1rem;
}

.principle { padding: 1.75rem 1.5rem; }

.principle__num {
  display: inline-grid;
  place-items: center;
  width: 2.5rem;
  height: 2.5rem;
  margin-bottom: 1rem;
  border-radius: var(--radius-sm);
  background: var(--accent-soft);
  color: var(--accent);
  font-size: 0.875rem;
  font-weight: 700;
  letter-spacing: 0;
}

.principle__title {
  margin: 0 0 0.75rem;
  font-size: 1.25rem;
  font-weight: 700;
  line-height: 1.5;
}
.principle__title span {
  display: block;
  margin-top: 0.125rem;
  color: var(--accent);
  font-size: 0.8125rem;
  font-weight: 600;
  letter-spacing: 0.06em;
}

.principle p {
  color: var(--muted);
  font-size: 0.9375rem;
  line-height: 1.8;
}

@media (min-width: 768px) {
  .vision { padding: 3.5rem 2.5rem; }
  .principles { grid-template-columns: 1fr 1fr; gap: 1.5rem; }
  .principle { padding: 2.25rem 2.25rem 2.5rem; }
}

/* ---------- 沿革 ---------- */

.timeline {
  list-style: none;
  margin: 0;
  padding: 0;
  position: relative;
}

.timeline::before {
  content: "";
  position: absolute;
  left: 5px;
  top: 0.75rem;
  bottom: 0.75rem;
  width: 1.5px;
  background: var(--accent);
  opacity: 0.35;
}

.timeline li {
  position: relative;
  padding: 0 0 2rem 2rem;
}
.timeline li:last-child { padding-bottom: 0; }

.timeline li::before {
  content: "";
  position: absolute;
  left: 0;
  top: 0.55rem;
  width: 12px;
  height: 12px;
  border-radius: 50%;
  background: var(--white);
  border: 2px solid var(--accent);
}

.timeline__date {
  display: block;
  color: var(--accent);
  font-size: 0.875rem;
  font-weight: 700;
  letter-spacing: 0.04em;
  font-variant-numeric: tabular-nums;
}

.timeline__text { display: block; font-weight: 500; }

/* ---------- 資格・登壇・掲載 ---------- */

.activities {
  display: grid;
  gap: 3rem;
}

.license-list {
  list-style: none;
  margin: 0;
  padding: 0.5rem 1.5rem;
}
.license-list li { padding: 1.125rem 0; }
.license-list li + li { border-top: 1px solid var(--line); }
.license-list__name { display: block; font-weight: 700; }
.license-list__note { display: block; color: var(--muted); font-size: 0.875rem; }

.record-list__item {
  display: grid;
  gap: 0.25rem;
  padding: 1.125rem 1rem;
  font-weight: 500;
}
.record-list__date {
  color: var(--muted);
  font-size: 0.8125rem;
  font-weight: 500;
  letter-spacing: 0.06em;
}
.record-list__date:empty { display: none; }

.activities__photo img {
  width: 100%;
  border-radius: var(--radius);
  box-shadow: var(--shadow-hover);
}
.activities__photo figcaption {
  margin-top: 0.875rem;
  color: var(--muted);
  font-size: 0.8125rem;
}

@media (min-width: 768px) {
  .license-list { padding: 0.75rem 2rem; }
  .record-list__item {
    grid-template-columns: 6.5rem 1fr;
    gap: 1.25rem;
    padding: 1.25rem 1.5rem;
  }
  .record-list__date:empty { display: block; }
}

@media (min-width: 1024px) {
  .activities {
    grid-template-columns: 1.4fr 1fr;
    gap: 4rem;
    align-items: start;
  }
  .activities__photo { position: sticky; top: calc(var(--header) + 2rem); }
}

/* ---------- グループ会社 ---------- */

.group-cards {
  display: grid;
  gap: 1.5rem;
}

.group-card {
  display: flex;
  flex-direction: column;
  padding: 2rem 1.5rem;
}

.group-card__logo { width: 220px; margin-bottom: 1.5rem; }

.group-card__title {
  font-size: 1.375rem;
  line-height: 1.4;
}

.group-card__role {
  margin: 0.375rem 0 1.5rem;
  color: var(--accent);
  font-size: 0.875rem;
  font-weight: 600;
}

.group-card__data {
  margin: 0 0 2rem;
  flex: 1;
  font-size: 0.9375rem;
}
.group-card__data div {
  display: grid;
  grid-template-columns: 5.5rem 1fr;
  gap: 0.75rem;
  padding: 0.75rem 0;
  border-top: 1px solid var(--line);
}
.group-card__data dt { color: var(--muted); font-weight: 500; }
.group-card__data dd { margin: 0; }

@media (min-width: 768px) {
  .group-card { padding: 2.5rem 2.25rem; }
}

@media (min-width: 1024px) {
  .group-cards { grid-template-columns: 1fr 1fr; gap: 2rem; }
}

/* ---------- ものづくり事業 ---------- */

.visually-hidden {
  position: absolute !important;
  width: 1px;
  height: 1px;
  overflow: hidden;
  clip: rect(0 0 0 0);
  white-space: nowrap;
}

.section-head__title--chip { margin-top: 1rem; }

/* 工程の流れ：スマホは縦、PCは横につなぐ */
.flow {
  list-style: none;
  margin: 0;
  padding: 0;
  display: grid;
  gap: 0.75rem;
  position: relative;
}

.flow__step {
  position: relative;
  display: grid;
  grid-template-columns: 3.25rem 1fr;
  grid-template-rows: auto auto;
  column-gap: 1rem;
  align-items: center;
  padding: 1.125rem 1.25rem;
  background: var(--white);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  box-shadow: var(--shadow);
}

/* 工程のアイコン（線画。色は文字色を引き継ぐ） */
.flow__icon {
  grid-row: 1 / 3;
  display: grid;
  place-items: center;
  width: 3.25rem;
  height: 3.25rem;
  border-radius: 50%;
  background: var(--accent);
  color: var(--white);
}
.flow__icon svg {
  width: 1.625rem;
  height: 1.625rem;
  fill: none;
  stroke: currentColor;
  stroke-width: 1.6;
  stroke-linecap: round;
  stroke-linejoin: round;
}

/* 工程の番号：アイコンの左上に小さく重ねる */
.flow__num {
  position: absolute;
  z-index: 1;
  left: 0.75rem;
  top: 0.625rem;
  display: grid;
  place-items: center;
  width: 1.375rem;
  height: 1.375rem;
  border: 1.5px solid var(--accent);
  border-radius: 50%;
  background: var(--white);
  color: var(--accent);
  font-size: 0.75rem;
  font-weight: 700;
  letter-spacing: 0;
  line-height: 1;
}

.flow__name { font-size: 1.0625rem; font-weight: 700; line-height: 1.5; }
.flow__who { color: var(--muted); font-size: 0.8125rem; font-weight: 500; }

/* 工程どうしをつなぐ線（アイコンの中心を通す） */
.flow__step + .flow__step::before {
  content: "";
  position: absolute;
  left: calc(1.25rem + 1.625rem - 0.75px);
  top: calc(-0.75rem - 1px);
  width: 1.5px;
  height: 0.75rem;
  background: var(--accent);
  opacity: 0.5;
}

/* 横に並べるのは 1024px から。1024〜1279px は3つずつ2段、1280px 以上で6つを1段にする
   （以前は 1024px で6つ並べていたため、「株式会社上田合金 / 所」のように細かく折り返していた） */
@media (min-width: 1024px) {
  .flow {
    grid-template-columns: repeat(3, 1fr);
    gap: 1.25rem;
  }
  .flow__step {
    grid-template-columns: 1fr;
    justify-items: center;
    align-content: start;
    row-gap: 0.25rem;
    padding: 2rem 0.75rem 1.75rem;
    text-align: center;
  }
  .flow__icon {
    grid-row: auto;
    width: 3.5rem;
    height: 3.5rem;
    margin-bottom: 0.75rem;
  }
  .flow__icon svg { width: 1.75rem; height: 1.75rem; }
  .flow__num {
    left: 0.875rem;
    top: 0.875rem;
    border-color: #C7D2EE;
  }
  .flow__name { font-size: 1rem; word-break: auto-phrase; }
  .flow__who { word-break: auto-phrase; }
  .flow__step + .flow__step::before {
    left: calc(-1.25rem - 1px);
    top: calc(2rem + 1.75rem);
    width: 1.25rem;
    height: 1.5px;
  }
}
/* 3つずつ2段のときは、2段目の最初（4番）の左の線を消す */
@media (min-width: 1024px) and (max-width: 1279px) {
  .flow__step:nth-child(3n+1)::before { display: none; }
}
@media (min-width: 1280px) {
  .flow { grid-template-columns: repeat(6, 1fr); }
}

/* 表 */
.table-card { padding: 0.5rem 1.5rem; overflow-x: auto; }

.data-table {
  width: 100%;
  border-collapse: collapse;
  font-size: 0.9375rem;
  line-height: 1.8;
}

.data-table th,
.data-table td {
  padding: 1.125rem 0;
  text-align: left;
  vertical-align: top;
}

.data-table tr + tr > *,
.data-table thead + tbody tr:first-child > * { border-top: 1px solid var(--line); }

.data-table th {
  width: 9rem;
  padding-right: 1.5rem;
  color: var(--accent);
  font-size: 0.875rem;
  font-weight: 700;
  letter-spacing: 0.06em;
}

.data-table thead th + th { width: auto; }
.data-table thead th {
  color: var(--muted);
  font-size: 0.8125rem;
  font-weight: 600;
}

.data-table--materials td { word-break: normal; overflow-wrap: anywhere; }

@media (max-width: 639px) {
  .data-table thead { display: none; }
  .data-table th,
  .data-table td { display: block; width: auto; }
  .data-table th { padding-bottom: 0.25rem; }
  .data-table td { padding-top: 0; border-top: none !important; }
  .data-table thead + tbody tr:first-child > * { border-top: none; }
}

@media (min-width: 640px) {
  .table-card { padding: 0.75rem 2rem; }
}

/* 仕上げ・補修 */

/* ご依頼の流れ */
.order-steps {
  list-style: none;
  margin: 0;
  padding: 0;
  display: grid;
  gap: 1rem;
}

.order-step { padding: 1.5rem 1.5rem 1.75rem; }

.order-step__num {
  display: block;
  margin-bottom: 0.75rem;
  color: var(--accent);
  font-size: 0.875rem;
  font-weight: 700;
  letter-spacing: 0.08em;
}

.order-step__title {
  margin-bottom: 0.5rem;
  font-size: 1.1875rem;
}

.order-step p { color: var(--muted); font-size: 0.9375rem; line-height: 1.8; }

@media (min-width: 640px) {
  .order-steps { grid-template-columns: 1fr 1fr; }
}

/* 5つを1段に並べるのは 1280px から（1024px では1枚が細くなり、「お問い / 合わせ」のように折り返すため） */
@media (min-width: 1024px) {
  .order-steps { grid-template-columns: repeat(3, 1fr); gap: 1.25rem; }
}
@media (min-width: 1280px) {
  .order-steps { grid-template-columns: repeat(5, 1fr); }
}


/* ---------- 事業承継・経営支援 ---------- */

.page-header__title--chip { margin-top: 1rem; }

/* こんな方へ */
.audience {
  list-style: none;
  margin: 0;
  padding: 0;
  display: grid;
  gap: 1rem;
}

.audience__item {
  display: flex;
  flex-direction: column;
  gap: 0.5rem;
  padding: 1.5rem;
}

.audience__who { font-size: 1.125rem; font-weight: 700; line-height: 1.5; }
.audience__text { flex: 1; color: var(--muted); font-size: 0.9375rem; line-height: 1.8; }
.audience__item a { margin-top: 0.5rem; font-size: 0.875rem; font-weight: 600; }

@media (min-width: 640px) {
  .audience { grid-template-columns: 1fr 1fr; gap: 1.25rem; }
  .audience__item { padding: 1.75rem 1.75rem 1.5rem; }
}

@media (min-width: 1024px) {
  .audience { grid-template-columns: repeat(3, 1fr); }
}

/* 支援の内容 */
.services {
  display: grid;
  gap: 1.25rem;
}

.service-block {
  display: grid;
  gap: 1.5rem;
  padding: 1.75rem 1.5rem;
}

/* 長い見出しの語句のまとまりで、カードが画面からはみ出さないようにする */
.services > *,
.service-block > * { min-width: 0; }

.service-block--main {
  background: var(--accent-soft);
  border-color: #D9E1F5;
}
.service-block--main .chip { background: var(--accent); color: var(--white); }

.service-block__num {
  display: block;
  margin-bottom: 0.75rem;
  color: var(--accent);
  font-size: 0.875rem;
  font-weight: 700;
  letter-spacing: 0.08em;
}

.service-block__title {
  margin-top: 0.875rem;
  font-size: clamp(1.375rem, 1.1rem + 1vw, 1.75rem);
  line-height: 1.45;
}

.service-block__body { margin: 0; }
.service-block__body > div + div,
.service-block__part + .service-block__part {
  margin-top: 1.25rem;
  padding-top: 1.25rem;
  border-top: 1px solid var(--line);
}
.service-block--main .service-block__body > div + div { border-top-color: #D3DCF2; }

.service-block__body dt {
  margin-bottom: 0.25rem;
  color: var(--accent);
  font-size: 0.875rem;
  font-weight: 700;
  letter-spacing: 0.08em;
}
.service-block__body dd { margin: 0; }

.service-block__subtitle {
  margin: 0 0 0.5rem;
  font-size: 1.0625rem;
  line-height: 1.6;
}

.service-block__body p { margin-bottom: 0.75rem; }
.service-block__body .plain-list { font-size: 0.9375rem; }
.service-block__body .plain-list li + li { margin-top: 0.25rem; }
.service-block__body .text-link { margin-top: 1.25rem; }

@media (min-width: 768px) {
  .service-block { padding: 2.25rem 2.25rem; }
}

@media (min-width: 1024px) {
  .service-block {
    grid-template-columns: 1fr 1.5fr;
    gap: 4rem;
    padding: 2.75rem 3rem;
  }
  .service-block__body dl,
  .service-block__body > div {
    display: grid;
  }
  dl.service-block__body > div {
    grid-template-columns: 4rem 1fr;
    gap: 1.25rem;
  }
  dl.service-block__body dt { margin: 0.1rem 0 0; }
}

/* 私たちの強み */
.strengths {
  list-style: none;
  margin: 0;
  padding: 0;
  display: grid;
  gap: 2.5rem;
  max-width: 52rem;
}

.strength {
  display: grid;
  grid-template-columns: 2.75rem 1fr;
  gap: 1.25rem;
}

.strength__num {
  display: grid;
  place-items: center;
  width: 2.75rem;
  height: 2.75rem;
  border-radius: var(--radius-sm);
  background: var(--panel);
  color: var(--white);
  font-weight: 700;
  letter-spacing: 0;
}

.strength__title {
  margin: 0.375rem 0 0.75rem;
  font-size: clamp(1.1875rem, 1rem + 0.8vw, 1.4375rem);
  line-height: 1.55;
}

.strength p { color: var(--muted); }

/* 起業・スタートアップ支援（ピックアップ） */
.startup {
  display: grid;
  gap: 1.25rem;
}

.startup__phases { display: grid; gap: 1.25rem; }

.startup-phase { padding: 1.75rem 1.5rem; }
.startup-phase__label {
  display: flex;
  align-items: center;
  gap: 0.625rem;
  margin-bottom: 0.875rem !important;
  color: var(--accent);
  font-size: 0.875rem;
  font-weight: 700;
  letter-spacing: 0.06em;
}
.startup-phase__label span {
  display: inline-grid;
  place-items: center;
  width: 1.75rem;
  height: 1.75rem;
  border-radius: 50%;
  background: var(--accent);
  color: var(--white);
  font-size: 0.8125rem;
  letter-spacing: 0;
}
.startup-phase__title {
  margin-bottom: 0.625rem;
  font-size: clamp(1.1875rem, 1rem + 0.7vw, 1.375rem);
  line-height: 1.5;
  text-wrap: balance;
}
.startup-phase p:not(.startup-phase__label) { color: var(--muted); font-size: 0.9375rem; line-height: 1.8; }

/* 代表の経験：濃い色の枠で目立たせる */
.startup-exp {
  padding: 1.75rem 1.5rem;
  border-radius: var(--radius);
  background: var(--panel);
  color: #E6EDF8;
  box-shadow: var(--panel-shadow);
}
.startup-exp__title {
  margin-bottom: 0.75rem !important;
  color: var(--white);
  font-size: 1.125rem;
  font-weight: 700;
}
.startup-exp__list { list-style: none; margin: 0; padding: 0; }
.startup-exp__list li {
  display: grid;
  gap: 0.125rem;
  padding: 0.875rem 0;
  border-top: 1px solid rgba(226, 232, 240, 0.16);
}
.startup-exp__list strong { color: var(--white); font-weight: 700; }
.startup-exp__list span { color: var(--panel-text-sub); font-size: 0.875rem; }
.startup-exp__note {
  margin-top: 1rem !important;
  padding-top: 1rem;
  border-top: 1px solid rgba(226, 232, 240, 0.16);
  color: var(--panel-text-sub);
  font-size: 0.875rem;
}

.service-block__note { margin-top: 0.75rem; color: var(--muted); font-size: 0.875rem; }

/* 起業・スタートアップ支援ページ */
.startup-phase__list { margin-top: 0.25rem; font-size: 0.9375rem; }
.startup-phase__list li + li { margin-top: 0.375rem; }
.startup__phases--page + .merit-list { margin-top: 2rem; }
.startup__phases--page .startup-phase { justify-content: flex-start !important; }

@media (min-width: 768px) {
  .startup__phases.startup__phases--page { grid-template-columns: 1fr 1fr; }
}
/* 「こんな方へ」の4枚は、1024〜1279px では2枚ずつ（4枚並べると「起業して間も / ない方」のように細かく折り返すため） */
@media (min-width: 1024px) {
  .audience--four { grid-template-columns: 1fr 1fr; }
  .startup__phases.startup__phases--page { grid-template-columns: 1fr 1fr; }
  .startup--page { grid-template-columns: 1.2fr 1fr; gap: 4rem; align-items: center; }
}
@media (min-width: 1280px) {
  .audience--four { grid-template-columns: repeat(4, 1fr); }
}

@media (min-width: 768px) {
  .startup__phases { grid-template-columns: 1fr 1fr; }
  .startup-phase { padding: 2.25rem 2rem; }
  .startup-exp { padding: 2.25rem 2.25rem; }
}
@media (min-width: 1024px) {
  .startup { grid-template-columns: 1.5fr 1fr; gap: 1.5rem; align-items: stretch; }
  /* 2枚を縦に重ね、右の経験の枠と高さをそろえる */
  .startup__phases { grid-template-columns: 1fr; }
  .startup-phase { display: flex; flex-direction: column; justify-content: center; }
}

/* 事業承継の歩み（強み1の中の小さな年表） */
.succession {
  list-style: none;
  margin: 1.25rem 0 0;
  padding: 0.5rem 1.25rem;
  background: var(--white);
  border: 1px solid var(--line);
  border-radius: var(--radius-sm);
  font-size: 0.9375rem;
}
.succession li {
  display: grid;
  gap: 0.125rem;
  padding: 0.75rem 0;
  font-weight: 500;
  line-height: 1.6;
}
.succession li + li { border-top: 1px solid var(--line); }
.succession__date {
  color: var(--accent);
  font-size: 0.8125rem;
  font-weight: 700;
  font-variant-numeric: tabular-nums;
}
@media (min-width: 640px) {
  .succession li { grid-template-columns: 6rem 1fr; gap: 1rem; align-items: baseline; }
}
.strength .plain-list li + li { margin-top: 0.375rem; }
.strength .tags { margin-top: 1rem; }
.strength .text-link { margin-top: 1.25rem; }

.strengths__photo { margin-top: 4rem; max-width: 52rem; }
.strengths__photo img {
  width: 100%;
  border-radius: var(--radius);
  box-shadow: var(--shadow-hover);
}
.strengths__photo figcaption {
  margin-top: 0.875rem;
  color: var(--muted);
  font-size: 0.8125rem;
}

@media (min-width: 768px) {
  .strength { grid-template-columns: 3.25rem 1fr; gap: 1.75rem; }
  .strength__num { width: 3.25rem; height: 3.25rem; }
}

@media (min-width: 1024px) {
  #strengths .container {
    display: grid;
    grid-template-columns: 1.5fr 1fr;
    column-gap: 4.5rem;
    align-items: start;
  }
  #strengths .section-head { grid-column: 1 / -1; }
  .strengths__photo { margin-top: 0; position: sticky; top: calc(var(--header) + 2rem); }
}

/* ---------- お知らせ ---------- */

.news-list--page { max-width: 56rem; }

.article__date {
  display: block;
  margin-bottom: 0.75rem;
  color: var(--muted);
  font-size: 0.875rem;
  font-weight: 500;
  letter-spacing: 0.06em;
  font-variant-numeric: tabular-nums;
}

.article__title {
  max-width: 48rem;
  font-size: clamp(1.625rem, 1.2rem + 1.8vw, 2.5rem);
  line-height: 1.45;
  letter-spacing: 0.02em;
}

.section--article { padding-top: 3.5rem; }

.article__body { max-width: 44rem; }
.article__body h2 {
  margin: 2.75rem 0 1rem;
  font-size: clamp(1.25rem, 1.1rem + 0.6vw, 1.5rem);
  line-height: 1.5;
}
.article__body ul,
.article__body ol { margin: 0 0 1.25em; padding-left: 1.5em; }
.article__body li + li { margin-top: 0.25rem; }

.article__figure { margin: 2.25rem 0; }
.article__figure img { width: 100%; border-radius: var(--radius); box-shadow: var(--shadow-hover); }
.article__figure figcaption { margin-top: 0.75rem; color: var(--muted); font-size: 0.8125rem; }

.article__nav {
  display: grid;
  gap: 0.75rem;
  max-width: 44rem;
  margin-top: 4rem;
  padding-top: 2rem;
  border-top: 1px solid var(--line);
  font-size: 0.9375rem;
  font-weight: 500;
}

/* 挨拶状の形式の記事 */
.letter { max-width: 44rem; padding: 2rem 1.5rem; }
.letter__date,
.letter__from,
.letter__closing { text-align: right; }
.letter__title {
  margin: 1.5rem 0 !important;
  font-size: 1.25rem;
  font-weight: 700;
  text-align: center;
}
.letter__ki { text-align: center; }
.letter__data { margin: 0 0 1em; }
.letter__data div { display: grid; grid-template-columns: 4.5rem 1fr; gap: 0.75rem; }
.letter__data dt { font-weight: 700; }
.letter__data dd { margin: 0; }

@media (min-width: 768px) {
  .letter { padding: 3rem 3.5rem; }
}

/* ---------- 採用情報 ---------- */

.recruit-cards { display: grid; gap: 1.25rem; }

.recruit-card {
  display: flex;
  flex-direction: column;
  gap: 0.75rem;
  padding: 2rem 1.5rem;
}
.recruit-card p { color: var(--muted); }
.recruit-card .button { margin-top: auto; }
.recruit-card__logo { width: 200px; margin-bottom: 0.5rem; }
/* 株式会社Co Creation・株式会社上田合金所は、社名の文字ではなくロゴを並べる（代表 2026年9月28日） */
.recruit-card__logos { display: flex; flex-wrap: wrap; align-items: center; gap: 0.75rem 1.5rem; margin-bottom: 0.5rem; }
.recruit-card__logos .recruit-card__logo { margin: 0; width: 170px; }
.recruit-card__logos .recruit-card__logo--co { width: 210px; }
.recruit-card__title { font-size: 1.25rem; line-height: 1.5; }
.recruit-card__tel { color: var(--main) !important; font-weight: 600; margin-bottom: 1rem; }

@media (min-width: 768px) {
  .recruit-card { padding: 2.5rem 2.25rem; }
}
@media (min-width: 1024px) {
  .recruit-cards { grid-template-columns: 1fr 1fr; gap: 2rem; }
}

/* ---------- お問い合わせフォーム ---------- */

.contact-layout { display: grid; gap: 2rem; }

.form { padding: 1.75rem 1.25rem; }

.form__note { margin-bottom: 1.75rem; color: var(--muted); font-size: 0.875rem; }

.form__row + .form__row { margin-top: 1.5rem; }

.form__label {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  margin-bottom: 0.5rem;
  font-weight: 700;
  font-size: 0.9375rem;
}

.form__required {
  display: inline-block;
  padding: 0.0625rem 0.5rem;
  border-radius: 6px;
  background: var(--accent-soft);
  color: var(--accent);
  font-size: 0.6875rem;
  font-weight: 700;
  letter-spacing: 0.04em;
  line-height: 1.6;
  vertical-align: middle;
}

.form__help { margin: -0.125rem 0 0.625rem; color: var(--muted); font-size: 0.8125rem; line-height: 1.7; }

.form__control {
  display: block;
  width: 100%;
  min-height: 3.25rem;
  padding: 0.75rem 1rem;
  border: 1px solid #CBD5E1;
  border-radius: var(--radius-sm);
  background: var(--white);
  color: var(--main);
  font: inherit;
  font-size: 1rem; /* スマホで入力時に拡大されないよう 16px 以上 */
  line-height: 1.6;
  box-shadow: inset 0 1px 2px rgba(30, 41, 59, 0.04);
  transition: border-color 0.2s ease, box-shadow 0.2s ease;
}
.form__control:focus {
  outline: none;
  border-color: var(--accent);
  box-shadow: 0 0 0 4px rgba(30, 64, 175, 0.15);
}
textarea.form__control { min-height: 12rem; resize: vertical; }
select.form__control {
  appearance: none;
  padding-right: 2.75rem;
  background-image: linear-gradient(45deg, transparent 50%, var(--muted) 50%), linear-gradient(135deg, var(--muted) 50%, transparent 50%);
  background-position: calc(100% - 1.25rem) 50%, calc(100% - 0.9rem) 50%;
  background-size: 6px 6px;
  background-repeat: no-repeat;
}

/* ハニーポット：画面にも読み上げにも出さない */
.form__trap {
  position: absolute !important;
  left: -10000px;
  width: 1px;
  height: 1px;
  overflow: hidden;
}

.form__row--agree { margin-top: 2rem !important; }
.form__check {
  display: flex;
  align-items: flex-start;
  gap: 0.75rem;
  font-size: 0.9375rem;
  cursor: pointer;
}
.form__check input {
  flex-shrink: 0;
  width: 1.25rem;
  height: 1.25rem;
  margin: 0.2rem 0 0;
  accent-color: var(--accent);
}

.form__submit { width: 100%; margin-top: 2rem; min-height: 3.5rem; font-size: 1rem; }

.contact-aside { display: grid; gap: 1rem; align-content: start; }
.contact-aside__card { padding: 1.5rem; }
.contact-aside__title { margin-bottom: 0.5rem; color: var(--muted); font-size: 0.8125rem; font-weight: 600; letter-spacing: 0.06em; }
.contact-aside__tel a {
  color: var(--main);
  font-size: 1.625rem;
  font-weight: 700;
  letter-spacing: 0.04em;
  text-decoration: none;
  font-variant-numeric: tabular-nums;
}
.contact-aside__note { margin-top: 0.25rem; color: var(--muted); font-size: 0.8125rem; }
.contact-aside address { font-size: 0.9375rem; line-height: 1.8; }

@media (min-width: 768px) {
  .form { padding: 2.5rem 2.5rem; }
  .form__submit { width: auto; min-width: 16rem; }
}
@media (min-width: 1024px) {
  .contact-layout { grid-template-columns: 1.7fr 1fr; gap: 3rem; align-items: start; }
  .contact-aside { position: sticky; top: calc(var(--header) + 2rem); }
}

/* ---------- プライバシーポリシー ---------- */

.policy { max-width: 52rem; padding: 2rem 1.5rem; }
.policy h2 {
  margin: 2.5rem 0 0.875rem;
  font-size: 1.1875rem;
  line-height: 1.5;
}
.policy h2:first-child { margin-top: 0; }
.policy ul { margin: 0 0 1.25em; padding-left: 1.5em; }
.policy li + li { margin-top: 0.25rem; }
.policy__data { margin: 0 0 1.25em; font-size: 0.9375rem; }
.policy__data div {
  display: grid;
  gap: 0.25rem;
  padding: 0.75rem 0;
  border-top: 1px solid var(--line);
}
.policy__data div:last-child { border-bottom: 1px solid var(--line); }
.policy__data dt { color: var(--muted); font-weight: 600; }
.policy__data dd { margin: 0; }

@media (min-width: 640px) {
  .policy__data div { grid-template-columns: 13rem 1fr; gap: 1rem; }
}
@media (min-width: 768px) {
  .policy { padding: 3rem 3.5rem; }
}

/* ---------- 送信完了・エラー・404 ---------- */

.message-page { padding: var(--section) 0; }
.message-page__card { max-width: 40rem; margin: 0 auto; padding: 2.5rem 1.5rem; }
.message-page__title {
  margin-bottom: 1.25rem;
  font-size: clamp(1.5rem, 1.2rem + 1.2vw, 2rem);
  line-height: 1.45;
}
.message-page__errors { margin: 0 0 1.25em; padding: 1rem 1.25rem; border-radius: var(--radius-sm); background: var(--accent-soft); font-weight: 500; }
.message-page__tel { font-weight: 600; }
.message-page__links { margin-top: 1.25rem; }
.message-page__links li + li { margin-top: 0.375rem; }
.message-page__actions { display: flex; flex-wrap: wrap; gap: 0.75rem; margin-top: 2rem; }

@media (min-width: 768px) {
  .message-page__card { padding: 3.5rem 3.5rem; }
}

/* ==========================================================
   配色：銅色の差し色（2026年9月27日 見直し）
   役割のルール
   - 青　：ボタン・リンクなど「押す・進む」ところ
   - 銅色：番号・チェック・札・飾り線・実績の数字など「目印」になるところ
   ここにまとめて、上の各部品の色を上書きしている
   ========================================================== */

/* 小見出しの札（工程1、ピックアップ など） */
.chip {
  background: var(--copper-soft);
  color: var(--copper-text);
}

/* 札のない大見出しの上に、短い銅色の線 */
.section-head > .section-head__title:first-child::before {
  content: "";
  display: block;
  width: 2.5rem;
  height: 3px;
  margin-bottom: 1.25rem;
  border-radius: 2px;
  background: var(--copper);
}

/* ページの見出し部分：青と銅色の光をほんのり差す */
.page-header {
  background:
    radial-gradient(48rem 22rem at 100% 0%, rgba(192, 105, 43, 0.07), transparent 65%),
    radial-gradient(44rem 26rem at 0% 0%, rgba(30, 64, 175, 0.06), transparent 65%),
    var(--white);
}

/* チェックの印 */
.merit-list li::before { border-color: var(--copper); }

/* 工程・手順の番号 */
.flow__num {
  border-color: var(--copper);
  color: var(--copper-text);
}
@media (min-width: 1024px) {
  .flow__num { border-color: #E9C3A2; }
}
.startup-phase__label span {
  background: var(--copper-soft);
  color: var(--copper-text);
  box-shadow: inset 0 0 0 1px #EBC7A6;
}
.startup-phase__label { color: var(--copper-text); }
.principle__num {
  background: var(--copper-soft);
  color: var(--copper-text);
}
.service-block__num,
.order-step__num{ color: var(--copper-text); }

/* 沿革の点と線 */
.timeline::before { background: var(--copper); opacity: 0.35; }
.timeline li::before { border-color: var(--copper); }
.timeline__date,
.succession__date { color: var(--copper-text); }

/* 青い枠の上の実績の数字 */
.trade-point__figures .trade-point__figure span { color: var(--copper-light); }

/* ご相談の枠：左端に銅色の線 */
.consult { box-shadow: inset 4px 0 0 var(--copper), var(--shadow); }

/* ==========================================================
   ご依頼の決め手になる情報（2026年9月27日 追加）
   ========================================================== */

/* トップの見出し：上に小さく銅色の一文、その下に大きな見出し */

/* 選ばれる理由 */

/* お取引のある業界 */

/* お問い合わせの枠：安心材料のチェック一覧 */
.contact-panel__points {
  list-style: none;
  margin: 1.5rem 0 0;
  padding: 0;
  display: grid;
  gap: 0.5rem;
}
.contact-panel__points li,
.contact-aside__points li {
  position: relative;
  padding-left: 1.75rem;
  font-weight: 500;
  line-height: 1.6;
}
.contact-panel__points li { color: var(--white); }
.contact-panel__points li::before,
.contact-aside__points li::before {
  content: "";
  position: absolute;
  left: 0.125rem;
  top: 0.35em;
  width: 0.75rem;
  height: 0.4rem;
  border-left: 2px solid var(--copper-light);
  border-bottom: 2px solid var(--copper-light);
  transform: rotate(-45deg);
}
.contact-aside__points { list-style: none; margin: 0.25rem 0 0; padding: 0; display: grid; gap: 0.5rem; font-size: 0.9375rem; }
.contact-aside__points li::before { border-color: var(--copper); }

/* お問い合わせページ：右側の案内は高さが増えたので、追従させない */
@media (min-width: 1024px) {
  .contact-aside { position: static; }
}

/* よくあるご質問 */
.faq { max-width: 52rem; display: grid; gap: 0.75rem; }
.faq__item {
  background: var(--white);
  border: 1px solid var(--line);
  border-radius: var(--radius-sm);
  box-shadow: var(--shadow-sm);
}
.faq__item summary {
  position: relative;
  padding: 1.125rem 3rem 1.125rem 1.25rem;
  font-weight: 700;
  line-height: 1.6;
  cursor: pointer;
  list-style: none;
}
.faq__item summary::-webkit-details-marker { display: none; }
.faq__item summary::after {
  content: "";
  position: absolute;
  right: 1.375rem;
  top: 50%;
  width: 0.5rem;
  height: 0.5rem;
  margin-top: -0.375rem;
  border-right: 2px solid var(--accent);
  border-bottom: 2px solid var(--accent);
  transform: rotate(45deg);
  transition: transform 0.2s ease;
}
.faq__item[open] summary::after { transform: rotate(-135deg); margin-top: -0.125rem; }
.faq__item summary:focus-visible { outline-offset: -2px; border-radius: var(--radius-sm); }
.faq__item p { margin: 0; padding: 0 1.25rem 1.25rem; color: var(--muted); font-size: 0.9375rem; }

/* スマホ：画面の下に常に出す「電話」「お問い合わせ」 */
.mobile-cta { display: none; }
@media (max-width: 767px) {
  body:has(.mobile-cta) { padding-bottom: calc(4.25rem + env(safe-area-inset-bottom)); }
  .mobile-cta {
    position: fixed;
    left: 0;
    right: 0;
    bottom: 0;
    z-index: 40;
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 0.5rem;
    padding: 0.5rem 0.75rem calc(0.5rem + env(safe-area-inset-bottom));
    background: rgba(255, 255, 255, 0.96);
    border-top: 1px solid var(--line);
    box-shadow: 0 -8px 24px -16px rgba(30, 41, 59, 0.35);
  }
  .mobile-cta a {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 0.5rem;
    min-height: 3.25rem;
    border-radius: var(--radius-sm);
    font-size: 0.9375rem;
    font-weight: 700;
    letter-spacing: 0.04em;
    text-decoration: none;
  }
  .mobile-cta svg {
    width: 1.125rem;
    height: 1.125rem;
    fill: none;
    stroke: currentColor;
    stroke-width: 1.8;
    stroke-linejoin: round;
    stroke-linecap: round;
  }
  .mobile-cta__tel { background: var(--white); color: var(--main); border: 1px solid var(--line); }
  .mobile-cta__form { background: var(--accent); color: var(--white); }
}

/* ==========================================================
   ページ全体の動き（代表の依頼 2026年9月27日）
   js/main.js が html に .motion を付けたときだけ動く。
   「視差効果を減らす」設定の閲覧者と、JavaScript が動かない環境では、最初から全部表示される。
   ========================================================== */

:root { --ease-out: cubic-bezier(0.2, 0.7, 0.2, 1); }

/* 1) 冒頭：写真がゆっくり寄りから引き、文字が順に現れる */
@keyframes hero-zoom { from { transform: scale(1.12); } to { transform: scale(1); } }
@keyframes rise-in { from { opacity: 0; transform: translateY(28px); } to { opacity: 1; transform: none; } }
@keyframes fade-in { from { opacity: 0; } to { opacity: 1; } }

/* 2) スクロールして画面に入ったら、下から現れる */
.motion .reveal {
  opacity: 0;
  transform: translateY(32px);
  transition:
    opacity 0.9s var(--ease-out) var(--d, 0ms),
    transform 0.9s var(--ease-out) var(--d, 0ms);
}
.motion .reveal.is-in { opacity: 1; transform: none; }

/* 写真は、上から下へ幕が開くように現れる（影が切れないよう、最後は外側まで広げる） */
/* 幕は写真（img）に付ける。枠（figure）に付けると、画面に入ったことを検知できなくなるため */
.motion .reveal--photo {
  transform: none;
  transition: opacity 0.6s ease var(--d, 0ms);
}
.motion .reveal--photo img {
  clip-path: inset(0 0 100% 0);
  transform: scale(1.08);
  transition:
    clip-path 1.2s var(--ease-out) var(--d, 0ms),
    transform 1.6s var(--ease-out) var(--d, 0ms);
}
.motion .reveal--photo.is-in img {
  clip-path: inset(-4rem -4rem -4rem -4rem);
  transform: none;
}

/* 見出しの上の銅色の線が、左から伸びる */
.section-head > .section-head__title:first-child::before {
  transform-origin: left center;
  transition: transform 0.8s var(--ease-out) calc(var(--d, 0ms) + 0.3s);
}
.motion .reveal:not(.is-in) .section-head > .section-head__title:first-child::before,
.motion .section-head.reveal:not(.is-in) > .section-head__title:first-child::before { transform: scaleX(0); }

/* 工程の流れ：1から6まで、順番に現れる。
   カードが下から現れ、アイコンが膨らみ、前の工程からの線が伸びる */
.motion .flow.reveal { opacity: 1; transform: none; }
.flow__step:nth-child(1) { --step: 0.5s; }
.flow__step:nth-child(2) { --step: 1.1s; }
.flow__step:nth-child(3) { --step: 1.7s; }
.flow__step:nth-child(4) { --step: 2.3s; }
.flow__step:nth-child(5) { --step: 2.9s; }
.flow__step:nth-child(6) { --step: 3.5s; }
.motion .flow .flow__step {
  opacity: 0;
  transform: translateY(40px);
  transition:
    opacity 0.8s var(--ease-out) var(--step, 0s),
    transform 0.8s var(--ease-out) var(--step, 0s);
}
.motion .flow .flow__icon {
  transform: scale(0.4);
  transition: transform 0.55s cubic-bezier(0.3, 1.5, 0.5, 1) calc(var(--step, 0s) + 0.15s);
}
.motion .flow .flow__step + .flow__step::before {
  transform: scaleY(0);
  transform-origin: center top;
  transition: transform 0.35s ease-out calc(var(--step, 0s) + 0.05s);
}
.motion .flow.is-in .flow__step { opacity: 1; transform: none; }
.motion .flow.is-in .flow__icon { transform: none; }
.motion .flow.is-in .flow__step + .flow__step::before { transform: none; }
@media (min-width: 1024px) {
  .motion .flow .flow__step + .flow__step::before { transform: scaleX(0); transform-origin: left center; }
  .motion .flow.is-in .flow__step + .flow__step::before { transform: none; }
}

/* 3) 写真の帯は、スクロールに合わせて背景がゆっくり動く（main.js で位置を変える） */
.motion .vision__bg {
  top: -12%;
  bottom: auto;
  height: 124%;
  will-change: transform;
}

/* 4) 少しスクロールしたら、上部のメニューに薄い影 */

/* 5) 触れたときの反応：写真が少し寄り、カードが少し浮く */
.group-card, .recruit-card, .news-list a, .faq__item, .trade-point, .service-block, .order-step {
  transition: transform 0.35s var(--ease-out), box-shadow 0.35s var(--ease-out), background-color 0.2s ease;
}
@media (hover: hover) {
  .group-card:hover, .recruit-card:hover, .trade-point:hover, .service-block:hover, .order-step:hover {
    transform: translateY(-3px);
    box-shadow: var(--shadow-hover);
  }
}

@media print {
  .motion .reveal { opacity: 1 !important; transform: none !important; clip-path: none !important; }
  .motion .flow .flow__step, .motion .flow .flow__icon { opacity: 1 !important; transform: none !important; }
}

/* ==========================================================
   リニューアル（2026年9月27日 代表の決定）
   株式会社大洋画地・株式会社B・S・L のサイトの作り方を参考にした構成。
   ここから下が、上の古い指定を上書きする。変数は --m- で始まるものを使う。
   ========================================================== */

/* ---------- 共通：色の約束・上部メニュー・フッター ---------- */

:root {
  --m-ink: #1E293B;
  --m-muted: #5A687D;
  --m-line: #E2E8F0;
  --m-base: #F6F9FC;
  --m-navy: #0F2A86;
  --m-blue: #1E40AF;
  --m-cyan: #0096C7;
  --m-sky: #E6F2FA;
  --m-copper: #C0692B;
  --m-copper-text: #9A4E17;
  --m-copper-light: #F2B27A;
  --m-brand: linear-gradient(120deg, #0F2A86 0%, #1E40AF 45%, #0A7FC0 100%);
  --m-sans: "Noto Sans JP", system-ui, -apple-system, "Hiragino Sans", "Yu Gothic UI", "Meiryo", sans-serif;
  --m-en: "Barlow", "Inter", system-ui, sans-serif;
  --m-mincho: "Shippori Mincho B1", "Hiragino Mincho ProN", "Yu Mincho", serif;
  --m-gutter: 1.25rem;
  --m-hd: 4.5rem;
  --m-ease: cubic-bezier(0.2, 0.7, 0.2, 1);
}
@media (min-width: 768px) { :root { --m-gutter: 2.5rem; } }
@media (min-width: 1200px) { :root { --m-gutter: 4rem; --m-hd: 5.5rem; } }

/* ---------- 上部メニュー ---------- */
.hd {
  position: fixed; inset: 0 0 auto; z-index: 80;
  display: flex; align-items: center; height: var(--m-hd);
  padding-left: var(--m-gutter);
  transition: background-color 0.4s ease, box-shadow 0.4s ease;
}
.hd.is-solid, .hd.is-open { background: rgba(255, 255, 255, 0.95); box-shadow: 0 10px 30px -24px rgba(15, 23, 42, 0.5); -webkit-backdrop-filter: blur(12px); backdrop-filter: blur(12px); }
/* ロゴ：背景を透明にし、少し大きくした（代表 2026年9月28日。以前は白い角丸の札の上に置いていた）。
   冒頭の写真や会社の色の面の上では文字が白いロゴ、白い帯になったら文字が黒いロゴを出す */
.hd__logo { flex: none; line-height: 0; }
.hd__logo img { width: min(210px, calc(100vw - 176px)); height: auto; }
.hd__logo-img--white { display: none; filter: drop-shadow(0 0 1px rgba(255, 255, 255, 0.9)) drop-shadow(0 0 6px rgba(255, 255, 255, 0.25)); }
body:has(.kv, .page-header) .hd:not(.is-solid):not(.is-open) .hd__logo-img--white { display: block; }
body:has(.kv, .page-header) .hd:not(.is-solid):not(.is-open) .hd__logo-img--color { display: none; }
@media (min-width: 768px) { .hd__logo img { width: 220px; } }
@media (min-width: 1200px) { .hd__logo img { width: 216px; } }
@media (min-width: 1400px) { .hd__logo img { width: 240px; } }
.hd__nav { display: none; margin-left: auto; }
.hd__nav ul { display: flex; gap: clamp(1rem, 2vw, 2.25rem); margin: 0; padding: 0; list-style: none; }
.hd__nav a {
  display: grid; justify-items: center; gap: 0.1rem;
  color: #fff; font-size: 0.875rem; font-weight: 700; line-height: 1.5; text-decoration: none; letter-spacing: 0.06em;
  transition: color 0.3s ease;
}
.hd__nav a span { font-family: var(--m-en); font-weight: 500; font-size: 0.625rem; letter-spacing: 0.16em; opacity: 0.7; }
.hd__nav a:hover { color: var(--m-copper-light); }
.hd.is-solid .hd__nav a { color: var(--m-ink); }
.hd.is-solid .hd__nav a:hover, .hd__nav a[aria-current="page"] { color: var(--m-blue); }
.hd:not(.is-solid) .hd__nav a[aria-current="page"] { color: var(--m-copper-light); }
.hd__cta {
  align-self: stretch;
  display: grid; place-items: center; align-content: center; gap: 0.1rem;
  width: var(--m-hd); padding: 0 0.25rem;
  background: var(--m-brand); color: #fff; text-decoration: none; text-align: center;
  font-size: 0.625rem; font-weight: 700; line-height: 1.3;
}
.hd__cta svg { width: 1.375rem; height: 1.375rem; fill: none; stroke: currentColor; stroke-width: 1.6; stroke-linejoin: round; }
.hd__cta span { display: none; }
.hd__cta small { font-family: var(--m-en); font-size: 0.625rem; letter-spacing: 0.14em; }

/* スマホ・タブレットのメニュー */
.hd__menu {
  position: relative; margin-left: auto; margin-right: 0.75rem;
  width: 3rem; height: 3rem; border: 0; border-radius: 50%;
  background: rgba(255,255,255,0.92); cursor: pointer;
}
.hd__menu i, .hd__menu i::before, .hd__menu i::after {
  position: absolute; left: 50%; width: 1.25rem; height: 2px; margin-left: -0.625rem;
  background: var(--m-ink); transition: transform 0.3s ease, opacity 0.3s ease;
}
.hd__menu i { top: 50%; margin-top: -1px; }
.hd__menu i::before, .hd__menu i::after { content: ""; left: 0; margin-left: 0; }
.hd__menu i::before { top: -6px; }
.hd__menu i::after { top: 6px; }
.hd.is-open .hd__menu i { background: transparent; }
.hd.is-open .hd__menu i::before { transform: translateY(6px) rotate(45deg); }
.hd.is-open .hd__menu i::after { transform: translateY(-6px) rotate(-45deg); }
.hd.is-solid .hd__menu, .hd.is-open .hd__menu { background: var(--m-base); }

@media (max-width: 1199px) {
  .hd.is-open .hd__nav {
    display: block; position: fixed; left: 0; right: 0; top: var(--m-hd); bottom: 0;
    margin: 0; padding: 1rem var(--m-gutter) 6rem; overflow-y: auto; background: #fff;
  }
  .hd.is-open .hd__nav ul { flex-direction: column; gap: 0; }
  .hd.is-open .hd__nav li { border-bottom: 1px solid var(--m-line); }
  .hd.is-open .hd__nav a {
    display: flex; justify-content: space-between; align-items: baseline;
    padding: 1.125rem 0.25rem; color: var(--m-ink); font-size: 1rem;
  }
  .hd.is-open .hd__nav a span { color: var(--m-blue); opacity: 1; }
}
@media (min-width: 1200px) {
  .hd__nav { display: block; }
  .hd__menu { display: none; }
  .hd__cta { margin-left: clamp(1.5rem, 3vw, 3rem); width: 8.5rem; font-size: 0.8125rem; }
  .hd__cta span { display: block; }
}

/* ---------- フッター ---------- */
/* 明るい空色の面（代表 2026年9月28日。以前は濃い紺 #0B1633）。
   上の面に少し重ねて角を丸め、上端に会社の色の細い線を引いて、ほかの面と混ざらないようにする */
.ft {
  position: relative; z-index: 1; isolation: isolate; overflow: hidden;
  margin-top: -2rem; padding: 5rem 0 6.5rem;
  border-radius: 32px 32px 0 0;
  background:
    radial-gradient(40rem 24rem at 100% 0%, rgba(10, 127, 192, 0.18), transparent 70%),
    radial-gradient(32rem 22rem at 0% 100%, rgba(242, 178, 122, 0.28), transparent 70%),
    linear-gradient(165deg, #EDF5FD 0%, #DDEBF9 60%, #E8F1FB 100%);
  color: var(--m-ink); font-size: 0.875rem; line-height: 1.9;
}
.ft::before {
  content: ""; position: absolute; inset: 0; z-index: -1; pointer-events: none;
  background: repeating-linear-gradient(90deg, rgba(30, 64, 175, 0.05) 0 1px, transparent 1px 16.66%);
}
.ft::after { content: ""; position: absolute; left: 0; right: 0; top: 0; height: 4px; background: var(--m-brand); }
.ft .ft-wrap { width: 100%; max-width: 1360px; margin: 0 auto; padding: 0 var(--m-gutter); }
.ft__grid { display: grid; gap: 2.5rem; }
.ft__en {
  margin: 0 0 1.25rem; padding-bottom: 0.08em;
  font-family: var(--m-en); font-weight: 300; font-size: clamp(2.75rem, 2rem + 3vw, 4.25rem); line-height: 1;
  background: var(--m-brand); -webkit-background-clip: text; background-clip: text; color: transparent;
}
.ft address { font-style: normal; line-height: 2; color: #334155; }
.ft address a { color: var(--m-blue); font-weight: 700; }
.ft__nav { display: grid; grid-template-columns: repeat(2, auto); gap: 0.5rem 2rem; align-content: start; margin: 0; padding: 0; list-style: none; }
.ft__nav a { font-weight: 500; }
.ft__group { display: flex; flex-wrap: wrap; gap: 1rem; margin: 1.75rem 0 0; padding: 0; list-style: none; }
.ft__group a {
  display: block; padding: 0.5rem 0.75rem; border-radius: 12px; background: #fff;
  border: 1px solid rgba(30, 64, 175, 0.1); box-shadow: 0 14px 28px -20px rgba(15, 42, 134, 0.55);
  transition: transform 0.3s var(--m-ease), box-shadow 0.3s var(--m-ease);
}
.ft__group a:hover { transform: translateY(-2px); box-shadow: 0 18px 32px -18px rgba(15, 42, 134, 0.6); }
.ft__group img { width: 150px; height: auto; }
.ft a { color: inherit; text-decoration: none; transition: color 0.3s ease; }
.ft a:hover { color: var(--m-blue); }
.ft .ft__copy { margin-top: 3rem; color: var(--m-muted); }
.ft__copy::before { content: ""; display: block; height: 1px; margin-bottom: 1.5rem; background: rgba(30, 64, 175, 0.14); }
@media (min-width: 1024px) {
  .ft__grid { grid-template-columns: 1fr auto; }
  .ft__nav { grid-template-columns: repeat(4, auto); }
  .ft { padding-bottom: 4rem; border-radius: 48px 48px 0 0; }
}

/* メニューを開いたときは、ぼかしを外す（ぼかしがあると、開いた一覧が上部の帯の高さに閉じ込められるため） */
.hd.is-open { background: #fff; -webkit-backdrop-filter: none; backdrop-filter: none; }

/* ---------- 下層ページ ---------- */

:root {
  --accent: #1E40AF;
  --panel: linear-gradient(120deg, #0F2A86 0%, #1E40AF 45%, #0A7FC0 100%);
  --panel-solid: #1E40AF;
  --radius: 20px;
  --header: var(--m-hd);
}
html { scroll-padding-top: calc(var(--m-hd) + 1rem); }
body { background: #fff; }

/* ---------- ページの冒頭：写真いっぱい＋大きな英字 ---------- */
@keyframes ph-zoom { from { transform: scale(1.12); } to { transform: scale(1); } }
@keyframes ph-rise { from { opacity: 0; transform: translateY(32px); } to { opacity: 1; transform: none; } }

.page-header {
  position: relative;
  isolation: isolate;
  overflow: hidden;
  display: flex;
  align-items: flex-end;
  min-height: 26rem;
  padding: calc(var(--m-hd) + 3rem) 0 3rem;
  border-bottom: 0;
  background: var(--m-brand);
  color: #fff;
}
.ph__bg {
  position: absolute; inset: 0; z-index: -2;
  width: 100%; height: 100%; object-fit: cover;
  animation: ph-zoom 10s var(--m-ease) both;
}
.page-header::after {
  content: ""; position: absolute; inset: 0; z-index: -1;
  background: linear-gradient(to top, rgba(10, 22, 70, 0.9) 0%, rgba(15, 42, 134, 0.55) 60%, rgba(15, 42, 134, 0.3) 100%);
}
.page-header:not(:has(.ph__bg))::after {
  background: repeating-linear-gradient(90deg, rgba(255,255,255,0.06) 0 1px, transparent 1px 16.66%);
}
.page-header .container { position: relative; width: 100%; }
.page-header .container > * { animation: ph-rise 1s var(--m-ease) both; }
.page-header .container > :nth-child(2) { animation-delay: 0.15s; }
.page-header .container > :nth-child(3) { animation-delay: 0.3s; }
.page-header .container > :nth-child(4) { animation-delay: 0.45s; }
.page-header .container > :nth-child(5) { animation-delay: 0.6s; }

.ph__en {
  margin: 0 0 0.75rem;
  font-family: var(--m-en);
  font-weight: 200;
  font-size: clamp(3rem, 1.4rem + 8vw, 8.5rem);
  line-height: 1;
  letter-spacing: 0;
  color: #fff;
  word-break: normal;
}
.page-header__title,
.article__title {
  color: #fff;
  font-family: var(--m-mincho);
  font-size: clamp(1.375rem, 1.1rem + 1.4vw, 2.25rem);
  line-height: 1.5;
  letter-spacing: 0.08em;
}
.page-header__title::before {
  content: ""; display: inline-block; width: 0.8rem; height: 0.8rem; margin-right: 0.75rem;
  border: 2px solid var(--m-copper-light); border-radius: 50%; vertical-align: 0.12em;
}
.page-header__lead { color: rgba(255, 255, 255, 0.88); max-width: 46rem; }
.breadcrumb ol { color: rgba(255, 255, 255, 0.75); margin-bottom: 1.5rem; }
.breadcrumb li + li::before { color: rgba(255, 255, 255, 0.45); }
.breadcrumb a { color: rgba(255, 255, 255, 0.85); }
.breadcrumb a:hover { color: #fff; }
.page-nav a {
  background: rgba(255, 255, 255, 0.12);
  border-color: rgba(255, 255, 255, 0.35);
  color: #fff;
  box-shadow: none;
  -webkit-backdrop-filter: blur(6px);
  backdrop-filter: blur(6px);
}
.page-nav a:hover { background: #fff; border-color: #fff; color: var(--m-navy); }
.article__date { color: var(--m-copper-light); }
.page-header .chip { background: rgba(255,255,255,0.14); color: #fff; border: 1px solid rgba(255,255,255,0.3); }
.page-header :focus-visible { outline-color: #fff; }

@media (min-width: 1024px) {
  .page-header { min-height: 36rem; padding: calc(var(--m-hd) + 5rem) 0 4.5rem; }
}

/* ---------- 見出し：大きな英字＋明朝の日本語 ---------- */
.head__en {
  display: block;
  margin: 0 0 0.875rem;
  font-family: var(--m-en);
  font-weight: 300;
  font-size: clamp(2.5rem, 1.4rem + 4.4vw, 5rem);
  line-height: 1.15;
  padding-bottom: 0.08em;
  letter-spacing: 0.01em;
  word-break: normal;
  background: var(--m-brand);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
}
.section-head__title,
.contact-panel .section-head__title {
  font-family: var(--m-mincho);
  font-size: clamp(1.375rem, 1.1rem + 1.2vw, 2rem);
  line-height: 1.55;
  letter-spacing: 0.06em;
}
.head__en + .section-head__title::before {
  content: ""; display: inline-block; width: 0.75rem; height: 0.75rem; margin-right: 0.75rem;
  border: 2px solid var(--m-copper); border-radius: 50%; vertical-align: 0.12em;
}
.contact-panel .head__en{ background: none; color: #fff; }
.contact-panel .head__en + .section-head__title::before { border-color: var(--m-copper-light); }

/* 明朝にする見出し */
.message__catch, .vision__text, .trade-catch, .letter__title,
.service-block__title, .strength__title, .principle__title {
  font-family: var(--m-mincho);
  letter-spacing: 0.05em;
}

/* ---------- ボタン：丸みのある会社の色 ---------- */
.button {
  border-radius: 999px;
  padding-left: 2rem;
  padding-right: 2rem;
  background: var(--m-brand);
  box-shadow: 0 16px 32px -18px rgba(15, 42, 134, 0.8);
}
.button:hover { background: var(--m-brand); filter: brightness(1.08); }
.button--ghost, .button--light { background: #fff; }
.button--ghost:hover, .button--light:hover { background: #fff; filter: none; color: var(--m-blue); }

/* ---------- 部品の色 ---------- */
.flow__icon, .strength__num { background: var(--m-brand); }
.contact-panel { border-radius: 28px; box-shadow: 0 40px 80px -40px rgba(15, 42, 134, 0.7); }
.card, .flow__step, .faq__item, .group-card, .recruit-card { border-radius: 20px; }
.split__photo img, .strengths__photo img { border-radius: 24px; }

/* セクションの区切りに、薄い縦線の模様（大洋画地） */
.section--white { position: relative; }

/* ---------- トップページ（main.home の中） ---------- */

.home { color: var(--m-ink); font-family: var(--m-sans); line-height: 1.9; letter-spacing: 0.04em; }
:where(.home) img { display: block; max-width: 100%; height: auto; }
:where(.home) a { color: inherit; }
:where(.home) p { margin: 0 0 1.25em; text-wrap: pretty; }
:where(.home) :is(h1, h2, h3) { margin: 0; font-weight: 700; }
:where(.home) ul { margin: 0; padding: 0; list-style: none; }
:where(.home) figure { margin: 0; }

.wrap { width: 100%; max-width: 1360px; margin: 0 auto; padding: 0 var(--m-gutter); }
.sec { position: relative; padding: clamp(5rem, 10vw, 9rem) 0; }

/* ---------- 見出し：大きな英字＋小さな日本語（B・S・L） ---------- */
.head { margin-bottom: 2.5rem; }
.head__en {
  margin: 0;
  font-family: var(--m-en);
  font-weight: 300;
  font-size: clamp(2.75rem, 1.6rem + 5vw, 5.5rem);
  line-height: 1.15;
  padding-bottom: 0.08em;
  letter-spacing: 0.01em;
  background: var(--m-brand);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
}
.head__ja {
  display: flex; align-items: center; gap: 0.75rem;
  margin-top: 1rem;
  font-size: 0.9375rem; font-weight: 700; letter-spacing: 0.12em;
}
.head__ja::before {
  content: ""; width: 0.875rem; height: 0.875rem; border-radius: 50%;
  border: 2px solid var(--m-copper);
}
.head--light .head__en { background: none; color: #fff; }
.head--light .head__ja { color: #fff; }

/* 背景に薄く置く大きな英字 */
.ghost {
  position: absolute; z-index: 0; margin: 0; pointer-events: none;
  font-family: var(--m-en); font-weight: 200;
  font-size: clamp(4.5rem, 2rem + 12vw, 13rem);
  line-height: 1; letter-spacing: -0.01em; white-space: nowrap;
  color: rgba(30, 64, 175, 0.06);
}
.ghost--light { color: rgba(255, 255, 255, 0.07); }

/* ---------- ボタン：文字＋丸い矢印 ---------- */
.btn {
  display: inline-flex; align-items: center; gap: 1rem;
  padding: 0.5rem 0.5rem 0.5rem 1.75rem; min-height: 3.5rem;
  border-radius: 999px; background: var(--m-brand); color: #fff;
  font-weight: 700; font-size: 0.9375rem; text-decoration: none;
  box-shadow: 0 16px 32px -18px rgba(15, 42, 134, 0.8);
  transition: transform 0.3s var(--m-ease), box-shadow 0.3s var(--m-ease);
}
.btn:hover { transform: translateY(-2px); box-shadow: 0 22px 40px -18px rgba(15, 42, 134, 0.9); }
.btn__arrow {
  position: relative; width: 2.5rem; height: 2.5rem; border-radius: 50%;
  background: rgba(255, 255, 255, 0.18); transition: transform 0.3s var(--m-ease);
}
.btn__arrow::before {
  content: ""; position: absolute; left: 50%; top: 50%; width: 0.5rem; height: 0.5rem;
  border-top: 2px solid currentColor; border-right: 2px solid currentColor;
  transform: translate(-65%, -50%) rotate(45deg);
}
.btn:hover .btn__arrow { transform: translateX(3px); }
.btn--light { background: #fff; color: var(--m-navy); }
.btn--light .btn__arrow { background: var(--m-sky); }
.btn--small { min-height: 3rem; padding-left: 1.25rem; font-size: 0.875rem; }
.btn--small .btn__arrow { width: 2rem; height: 2rem; }
.btn--block { display: flex; justify-content: space-between; width: 100%; }

/* ---------- 1. 冒頭 ---------- */
.kv { position: relative; min-height: max(100svh, 640px); display: flex; align-items: flex-end; overflow: hidden; color: #fff; isolation: isolate; }
.kv__bg, .kv__bg img { position: absolute; inset: 0; width: 100%; height: 100%; }
.kv__bg { z-index: -2; }
.kv__bg img { object-fit: cover; object-position: 35% 50%; animation: kv-zoom 12s var(--m-ease) both; }
.kv::after {
  content: ""; position: absolute; inset: 0; z-index: -1;
  background:
    linear-gradient(to top, rgba(10, 22, 70, 0.92) 0%, rgba(15, 42, 134, 0.45) 55%, rgba(15, 42, 134, 0.15) 100%);
}
@keyframes kv-zoom { from { transform: scale(1.15); } to { transform: scale(1); } }

.kv__marquee { position: absolute; left: 0; right: 0; top: 26%; z-index: 0; }
.marquee { display: flex; width: max-content; animation: marquee 40s linear infinite; }
.marquee span { font-family: var(--m-en); font-weight: 200; font-size: clamp(5rem, 2rem + 13vw, 15rem); line-height: 1; white-space: nowrap; }
.kv__marquee .marquee span { color: rgba(255, 255, 255, 0.2); }
.marquee--slow { animation-duration: 60s; }
@keyframes marquee { to { transform: translateX(-50%); } }

.kv__body { position: relative; z-index: 1; width: 100%; padding: 0 var(--m-gutter) clamp(12rem, 22vw, 9rem); max-width: 1360px; margin: 0 auto; }
.kv__catch { margin-bottom: 0.75rem; color: var(--m-copper-light); font-weight: 700; font-size: clamp(1rem, 0.9rem + 0.5vw, 1.25rem); letter-spacing: 0.1em; }
.kv__title { font-family: var(--m-mincho); font-weight: 700; font-size: clamp(2.25rem, 1.2rem + 4.6vw, 5rem); line-height: 1.3; letter-spacing: 0.06em; text-shadow: 0 4px 30px rgba(10, 22, 70, 0.5); }
.kv__en { margin: 1rem 0 2rem; font-family: var(--m-en); font-weight: 300; font-size: clamp(1rem, 0.9rem + 0.6vw, 1.375rem); letter-spacing: 0.08em; opacity: 0.85; }
.kv__body > * { animation: rise 1.1s var(--m-ease) both; }
.kv__body > :nth-child(1) { animation-delay: 0.3s; }
.kv__body > :nth-child(2) { animation-delay: 0.5s; }
.kv__body > :nth-child(3) { animation-delay: 0.75s; }
.kv__body > :nth-child(4) { animation-delay: 0.95s; }
@keyframes rise { from { opacity: 0; transform: translateY(36px); } to { opacity: 1; transform: none; } }

.kv__scroll {
  display: none; position: absolute; z-index: 1; left: calc(var(--m-gutter) / 2 - 0.5rem); bottom: 2rem; margin: 0;
  font-family: var(--m-en); font-size: 0.6875rem; letter-spacing: 0.3em; writing-mode: vertical-rl;
}
.kv__scroll::after {
  content: ""; display: block; width: 1px; height: 5rem; margin: 1rem auto 0;
  background: linear-gradient(#fff 50%, rgba(255,255,255,0.25) 50%) 0 0 / 1px 200%;
  animation: scroll-line 2.2s ease-in-out infinite;
}
@keyframes scroll-line { from { background-position: 0 100%; } to { background-position: 0 -100%; } }
@media (min-width: 1200px) { .kv__scroll { display: block; } }

.topics {
  position: absolute; z-index: 2; right: 0; bottom: 0; left: var(--m-gutter);
  display: grid; grid-template-columns: auto 1fr; background: #fff; color: var(--m-ink);
  border-radius: 20px 0 0 0; overflow: hidden;
  animation: rise 1.1s var(--m-ease) 1.2s both;
}
.topics__label {
  display: grid; place-items: center; margin: 0; padding: 0 1rem;
  background: var(--m-copper); color: #fff;
  font-family: var(--m-en); font-weight: 500; font-size: 0.8125rem; letter-spacing: 0.14em;
  writing-mode: vertical-rl;
}
.topics ul { padding: 0.75rem 1.25rem; }
.topics li + li { border-top: 1px solid var(--m-line); }
.topics a { display: flex; gap: 1rem; padding: 0.5rem 0; font-size: 0.8125rem; line-height: 1.6; text-decoration: none; }
.topics a:hover { color: var(--m-blue); }
.topics time { flex: none; font-family: var(--m-en); font-weight: 500; color: var(--m-muted); letter-spacing: 0.06em; }
@media (max-width: 767px) { .topics li:nth-child(n+2) { display: none; } }
@media (min-width: 1024px) { .topics { left: auto; width: min(40rem, 50vw); } }

/* ---------- 2. 私たちについて ---------- */
.about { overflow: hidden; }
.ghost--about { top: 2rem; right: -1rem; }
.about__grid { position: relative; z-index: 1; display: grid; gap: 3rem; }
.about__catch { font-family: var(--m-mincho); font-size: clamp(1.625rem, 1.2rem + 1.8vw, 2.5rem); line-height: 1.6; letter-spacing: 0.06em; margin-bottom: 2rem; }
.about__text > p:not(.about__catch) { color: var(--m-muted); max-width: 36rem; }
.about__text .btn { margin-top: 1rem; }
.about__photos { position: relative; min-height: 26rem; }
.about__p1 { position: relative; z-index: 1; width: 56%; }
.about__p1 img { aspect-ratio: 3 / 4; object-fit: cover; border-radius: 24px; box-shadow: 0 30px 60px -30px rgba(15, 23, 42, 0.45); }
.about__p2 { position: absolute; right: 0; top: 18%; width: 62%; }
.about__p2 img { aspect-ratio: 4 / 3; object-fit: cover; border-radius: 24px; }
.about__name { position: absolute; left: 0; bottom: -2.5rem; font-family: var(--m-mincho); font-size: 0.9375rem; }
@media (min-width: 1024px) {
  .about__grid { grid-template-columns: 1fr 1.05fr; gap: 6rem; align-items: center; }
  .about__photos { min-height: 40rem; }
}

/* ---------- 3. 事業案内（会社の色の面＋横にすべるパネル） ---------- */
.biz { background: var(--m-brand); color: #fff; overflow: hidden; }
.biz::before {
  content: ""; position: absolute; inset: 0; pointer-events: none;
  background: repeating-linear-gradient(90deg, rgba(255,255,255,0.06) 0 1px, transparent 1px 16.66%);
}
.biz__head { position: relative; display: grid; gap: 1rem; margin-bottom: 3rem; }
.biz__lead { font-size: 1.0625rem; opacity: 0.9; }
@media (min-width: 1024px) { .biz__head { grid-template-columns: 1fr 1fr; align-items: end; } }

.slider { position: relative; }
.slider__track {
  display: flex; gap: 1.25rem; overflow-x: auto; scroll-snap-type: x mandatory;
  padding: 0 var(--m-gutter) 0.5rem; scroll-padding: 0 var(--m-gutter);
  scrollbar-width: none; cursor: grab;
}
.slider__track::-webkit-scrollbar { display: none; }
.slider__track.is-drag { cursor: grabbing; scroll-snap-type: none; }
.panel {
  position: relative; flex: none; width: min(86vw, 58rem); height: clamp(28rem, 60vw, 36rem);
  border-radius: 24px; overflow: hidden; scroll-snap-align: start; color: #fff; isolation: isolate;
}
.panel img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; z-index: -2; transition: transform 1.2s var(--m-ease); pointer-events: none; }
.panel:first-child img { object-position: center 78%; }
.panel::after { content: ""; position: absolute; inset: 0; z-index: -1; background: linear-gradient(to top, rgba(8, 18, 56, 0.92) 0%, rgba(8, 18, 56, 0.35) 55%, rgba(8, 18, 56, 0.05) 100%); }
.panel:hover img { transform: scale(1.05); }
.panel__body { position: absolute; left: 0; right: 0; bottom: 0; padding: clamp(1.5rem, 4vw, 3rem); padding-right: 6.5rem; }
.panel__num { margin: 0; font-family: var(--m-en); font-weight: 500; color: var(--m-copper-light); letter-spacing: 0.1em; }
.panel__en { margin: 0 0 0.75rem; font-family: var(--m-en); font-weight: 600; font-size: clamp(2.25rem, 1rem + 4.4vw, 4.5rem); line-height: 1; letter-spacing: 0.02em; color: rgba(255,255,255,0.28); }
.panel__ja { margin-bottom: 0.75rem; font-size: clamp(1.25rem, 1rem + 1vw, 1.75rem); letter-spacing: 0.16em; }
.panel__text { max-width: 34rem; margin: 0; font-size: 0.9375rem; opacity: 0.9; }
.circle {
  position: absolute; right: clamp(1.5rem, 4vw, 3rem); bottom: clamp(1.5rem, 4vw, 3rem);
  width: 4rem; height: 4rem; border-radius: 50%; border: 1px solid rgba(255,255,255,0.6);
  transition: background-color 0.3s ease, transform 0.3s var(--m-ease);
}
.circle::before { content: ""; position: absolute; left: 50%; top: 50%; border: 0.4rem solid transparent; border-left: 0.6rem solid #fff; transform: translate(-25%, -50%); }
.circle::after { content: ""; position: absolute; inset: -5px; border-radius: 50%; border: 2px solid transparent; border-top-color: var(--m-copper-light); animation: spin 3s linear infinite; }
@keyframes spin { to { transform: rotate(360deg); } }
.panel:hover .circle { background: rgba(255,255,255,0.15); transform: scale(1.06); }
.slider__nav { display: flex; align-items: center; gap: 1rem; margin-top: 2rem; }
.slider__btn { position: relative; width: 3.5rem; height: 3.5rem; border-radius: 50%; border: 1px solid rgba(255,255,255,0.5); background: transparent; cursor: pointer; }
.slider__btn::before { content: ""; position: absolute; left: 50%; top: 50%; width: 0.6rem; height: 0.6rem; border-top: 2px solid #fff; border-right: 2px solid #fff; transform: translate(-65%, -50%) rotate(45deg); }
.slider__btn--prev::before { transform: translate(-35%, -50%) rotate(-135deg); }
.slider__btn:hover { background: rgba(255,255,255,0.15); }
.slider__bar { flex: 1; height: 2px; background: rgba(255,255,255,0.25); }
.slider__bar i { display: block; height: 100%; width: 33%; background: var(--m-copper-light); transition: transform 0.3s ease; transform-origin: left; }

/* ---------- 4. 選ばれる理由（左右交互・写真を画面端まで） ---------- */
.feature { padding-bottom: 4rem; background: var(--m-base); overflow: hidden; }
.feat { position: relative; display: grid; gap: 2rem; margin-bottom: clamp(4rem, 9vw, 8rem); }
.feat .ghost { top: -0.3em; right: -0.5rem; }
.feat--rev .ghost { right: auto; left: -0.5rem; }
.feat__photo { position: relative; z-index: 1; margin-right: var(--m-gutter); }
.feat__photo img { width: 100%; aspect-ratio: 16 / 10; object-fit: cover; border-radius: 0 24px 24px 0; }
.feat--rev .feat__photo { margin: 0 0 0 var(--m-gutter); }
.feat--rev .feat__photo img { border-radius: 24px 0 0 24px; }
.feat__body { position: relative; z-index: 1; padding: 0 var(--m-gutter); max-width: 40rem; }
.feat__label { display: flex; align-items: center; gap: 1rem; margin-bottom: 1rem; color: var(--m-copper-text); font-weight: 700; font-size: 0.875rem; }
.feat__label span { font-family: var(--m-en); font-weight: 500; letter-spacing: 0.14em; color: var(--m-blue); }
.feat__label span::after { content: ""; display: inline-block; width: 2.5rem; height: 1px; margin-left: 1rem; vertical-align: middle; background: var(--m-copper); }
.feat__title { margin-bottom: 1.25rem; font-family: var(--m-mincho); font-size: clamp(1.5rem, 1.1rem + 1.6vw, 2.25rem); line-height: 1.55; letter-spacing: 0.05em; }
.feat__body p:last-child { color: var(--m-muted); }
@media (min-width: 1024px) {
  .feat { grid-template-columns: 1.15fr 1fr; gap: 5rem; align-items: center; }
  .feat--rev { grid-template-columns: 1fr 1.15fr; }
  .feat--rev .feat__photo { order: 2; }
  .feat__photo { margin-right: 0; }
  .feat--rev .feat__photo { margin-left: 0; }
  .feat__photo img { aspect-ratio: 3 / 2; }
  .feat__body { padding: 0 var(--m-gutter) 0 0; }
  .feat--rev .feat__body { padding: 0 0 0 var(--m-gutter); justify-self: end; }
}

/* ---------- 5. グループの輪 ---------- */
.group { overflow: hidden; }
.group__grid { display: grid; gap: 3rem; align-items: center; }
.group__text > p { color: var(--m-muted); }
.group__clients { padding: 1.25rem 1.5rem; border-left: 3px solid var(--m-copper); background: var(--m-base); border-radius: 0 12px 12px 0; font-size: 0.9375rem; }
@media (min-width: 1024px) { .group__grid { grid-template-columns: 0.9fr 1.1fr; gap: 4rem; } }

.rings { position: relative; width: min(100%, 38rem); aspect-ratio: 1; margin: 0 auto; }
.rings__r { position: absolute; left: 50%; top: 50%; border-radius: 50%; transform: translate(-50%, -50%) scale(0.6); opacity: 0; transition: transform 1.2s var(--m-ease), opacity 1.2s ease; }
.rings__r--3 { width: 100%; height: 100%; background: radial-gradient(circle, rgba(0,150,199,0.06) 55%, rgba(0,150,199,0.14) 100%); transition-delay: 0.3s; }
.rings__r--2 { width: 70%; height: 70%; background: radial-gradient(circle, rgba(30,64,175,0.07) 50%, rgba(30,64,175,0.16) 100%); transition-delay: 0.15s; }
.rings__r--1 { width: 42%; height: 42%; background: var(--m-brand); box-shadow: 0 30px 60px -20px rgba(15,42,134,0.6); }
.rings__orbit { position: absolute; inset: 15%; border-radius: 50%; border: 1px dashed rgba(30,64,175,0.35); animation: spin 60s linear infinite; }
.rings__orbit::after { content: ""; position: absolute; top: -5px; left: 50%; width: 10px; height: 10px; border-radius: 50%; background: var(--m-copper); }
.rings__center { position: absolute; left: 50%; top: 50%; transform: translate(-50%, -50%); display: grid; justify-items: center; gap: 0.25rem; color: #fff; text-align: center; opacity: 0; transition: opacity 0.8s ease 0.6s; }
.rings__center img { width: 3.25rem; border-radius: 50%; mix-blend-mode: normal; background: #fff; padding: 0.35rem 0.2rem; }
.rings__center strong { font-size: clamp(0.8125rem, 0.7rem + 0.5vw, 1rem); line-height: 1.4; }
.rings__center small { font-size: 0.6875rem; opacity: 0.85; }
.node {
  position: absolute; display: grid; justify-items: center; align-content: center; gap: 0.1rem;
  width: 27%; aspect-ratio: 1; border-radius: 50%; background: #fff; text-align: center; text-decoration: none;
  box-shadow: 0 20px 40px -22px rgba(15, 23, 42, 0.45); border: 1px solid var(--m-line);
  opacity: 0; transform: scale(0.7); transition: opacity 0.6s ease, transform 0.8s cubic-bezier(0.3, 1.4, 0.5, 1), box-shadow 0.3s ease;
}
.node small { color: var(--m-copper-text); font-weight: 700; font-size: clamp(0.625rem, 0.55rem + 0.3vw, 0.75rem); letter-spacing: 0.1em; }
.node strong { font-size: clamp(0.6875rem, 0.6rem + 0.4vw, 0.9375rem); line-height: 1.35; }
.node:hover { box-shadow: 0 24px 48px -20px rgba(15, 42, 134, 0.55); border-color: var(--m-cyan); }
.node--1 { left: 0; top: 4%; transition-delay: 0.9s; }
.node--2 { right: 0; top: 4%; transition-delay: 1.1s; }
.node--3 { left: 0; bottom: 4%; transition-delay: 1.3s; }
.node--4 { right: 0; bottom: 4%; transition-delay: 1.5s; }
.rings.is-in .rings__r { opacity: 1; transform: translate(-50%, -50%) scale(1); }
.rings.is-in .rings__center { opacity: 1; }
.rings.is-in .node { opacity: 1; transform: none; }

/* ---------- 6. 流れる英字＋写真のモザイク ---------- */
.company { background: var(--m-ink); color: #fff; overflow: hidden; padding-top: 0; }
.company__marquee { padding: 2rem 0 3rem; }
.company__marquee .marquee span { font-size: clamp(3.5rem, 1.5rem + 9vw, 10rem); color: rgba(255,255,255,0.08); }
.company__grid { display: grid; gap: 3rem; align-items: center; }
.company__photos { display: grid; grid-template-columns: 1.3fr 1fr; grid-template-rows: auto auto; gap: 1rem; }
.company__photos figure:first-child { grid-row: 1 / 3; }
.company__photos img { width: 100%; height: 100%; object-fit: cover; border-radius: 20px; }
.company__photos figure:first-child img { aspect-ratio: 3 / 4; }
.company__photos figure:not(:first-child) img { aspect-ratio: 4 / 3; }
.company .head__en { background: linear-gradient(120deg, #9CC9F5, #F2B27A); -webkit-background-clip: text; background-clip: text; }
.company__catch { font-family: var(--m-mincho); font-size: clamp(1.625rem, 1.2rem + 1.8vw, 2.5rem); line-height: 1.6; letter-spacing: 0.06em; }
.company__text > p:not(.company__catch) { color: rgba(255,255,255,0.78); }
.links li { border-top: 1px solid rgba(255,255,255,0.18); }
.links li:last-child { border-bottom: 1px solid rgba(255,255,255,0.18); }
.links a { position: relative; display: block; padding: 1.125rem 3rem 1.125rem 0; font-weight: 700; text-decoration: none; transition: padding 0.3s var(--m-ease), color 0.3s ease; }
.links a::after { content: ""; position: absolute; right: 0.5rem; top: 50%; width: 0.55rem; height: 0.55rem; border-top: 2px solid var(--m-copper-light); border-right: 2px solid var(--m-copper-light); transform: translateY(-50%) rotate(45deg); }
.links a:hover { padding-left: 0.75rem; color: var(--m-copper-light); }
@media (min-width: 1024px) { .company__grid { grid-template-columns: 1.1fr 1fr; gap: 6rem; } }

/* ---------- 7. お知らせ ---------- */
.news__grid { display: grid; gap: 2rem; }
.news__list li { border-bottom: 1px solid var(--m-line); }
.news__list li:first-child { border-top: 1px solid var(--m-line); }
.news__list a { display: grid; grid-template-columns: auto auto; gap: 0.5rem 1rem; align-items: center; padding: 1.5rem 0.5rem; text-decoration: none; transition: background-color 0.3s ease, padding 0.3s var(--m-ease); }
.news__list a:hover { background: var(--m-base); padding-left: 1.25rem; }
.news__list time { font-family: var(--m-en); font-weight: 500; color: var(--m-muted); letter-spacing: 0.08em; }
.news__cat { justify-self: start; padding: 0.1rem 0.75rem; border-radius: 999px; background: #FBEFE4; color: var(--m-copper-text); font-size: 0.75rem; font-weight: 700; }
.news__title { grid-column: 1 / -1; font-weight: 500; }
@media (min-width: 1024px) {
  .news__grid { grid-template-columns: 1fr 2.2fr; gap: 5rem; }
  .news__list a { grid-template-columns: 7rem 6rem 1fr; }
  .news__title { grid-column: auto; }
}

/* ---------- 8. お問い合わせ ---------- */
.contact { position: relative; padding: clamp(5rem, 10vw, 8rem) 0; background: var(--m-brand); color: #fff; overflow: hidden; }
.contact .ghost { bottom: -0.2em; right: -1rem; }
.contact__grid { position: relative; display: grid; gap: 3rem; align-items: center; }
.contact__points li { position: relative; padding: 0.3rem 0 0.3rem 1.75rem; font-weight: 500; }
.contact__points li::before { content: ""; position: absolute; left: 0.1rem; top: 0.85rem; width: 0.75rem; height: 0.4rem; border-left: 2px solid var(--m-copper-light); border-bottom: 2px solid var(--m-copper-light); transform: rotate(-45deg); }
.contact__box { padding: clamp(1.75rem, 4vw, 3rem); border-radius: 24px; background: rgba(255,255,255,0.1); border: 1px solid rgba(255,255,255,0.25); -webkit-backdrop-filter: blur(6px); backdrop-filter: blur(6px); }
.contact__tel { margin: 0; }
.contact__tel small { display: block; font-size: 0.8125rem; opacity: 0.8; }
.contact__tel a { font-family: var(--m-en); font-weight: 500; font-size: clamp(2.25rem, 1.6rem + 2.4vw, 3.25rem); letter-spacing: 0.04em; text-decoration: none; }
.contact__note { font-size: 0.8125rem; opacity: 0.8; }
@media (min-width: 1024px) { .contact__grid { grid-template-columns: 1.2fr 1fr; gap: 6rem; } }

/* ---------- スクロールで現れる ---------- */
.motion [data-reveal] { opacity: 0; transform: translateY(40px); transition: opacity 1s var(--m-ease) var(--d, 0ms), transform 1s var(--m-ease) var(--d, 0ms); }
.motion [data-reveal].is-in { opacity: 1; transform: none; }
.motion [data-reveal="photo"] { transform: none; }
.motion [data-reveal="photo"] img { clip-path: inset(0 0 100% 0); transform: scale(1.12); transition: clip-path 1.4s var(--m-ease) var(--d, 0ms), transform 1.8s var(--m-ease) var(--d, 0ms); }
.motion [data-reveal="photo"].is-in img { clip-path: inset(0 0 0 0 round 0); transform: none; }

/* スマホの調整 */
@media (max-width: 767px) {
  .panel__body { padding-right: 1.5rem; }
  .circle { top: 1.5rem; bottom: auto; width: 3.25rem; height: 3.25rem; }
  .rings__center small { display: none; }
  .rings__center img { width: 2.5rem; }
}

/* ---------- 動きを減らす設定 ---------- */

@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after {
    transition: none !important;
    animation: none !important;
  }
  .rings__r, .rings__center, .node { opacity: 1 !important; }
  .node { transform: none !important; }
  .rings__r { transform: translate(-50%, -50%) !important; }
}

/* JavaScript が動かない環境では、グループの輪を最初から表示する */
html:not(.motion) .rings__r { opacity: 1; transform: translate(-50%, -50%); }
html:not(.motion) .rings__center, html:not(.motion) .node { opacity: 1; transform: none; }

/* 送信完了・ページが見つからない：上部メニューの下から始める */
.message-page { padding-top: calc(var(--m-hd) + 3rem); }

/* ---------- トップ：動画・対応範囲（2026年9月27日 追加） ---------- */
.home video { display: block; width: 100%; height: auto; background: var(--m-ink); }
.feat__photo--movie video { aspect-ratio: 16 / 10; object-fit: cover; border-radius: 0 24px 24px 0; }
.feat--rev .feat__photo--movie video { border-radius: 24px 0 0 24px; }
.motion [data-reveal="photo"] video { clip-path: inset(0 0 100% 0); transform: scale(1.12); transition: clip-path 1.4s var(--m-ease) var(--d, 0ms), transform 1.8s var(--m-ease) var(--d, 0ms); }
.motion [data-reveal="photo"].is-in video { clip-path: inset(0 0 0 0); transform: none; }
@media (min-width: 1024px) { .feat__photo--movie video { aspect-ratio: 3 / 2; } }

.movie-band { position: relative; overflow: hidden; color: #fff; isolation: isolate; }
.movie-band video { height: clamp(22rem, 56vw, 40rem); object-fit: cover; }
.movie-band::after {
  content: ""; position: absolute; inset: 0; z-index: 1;
  background: linear-gradient(to top, rgba(10, 22, 70, 0.75) 0%, rgba(15, 42, 134, 0.25) 60%, rgba(15, 42, 134, 0.1) 100%);
}
.movie-band__body { position: absolute; z-index: 2; left: 0; right: 0; bottom: 0; max-width: 1360px; margin: 0 auto; padding: 0 var(--m-gutter) clamp(2rem, 5vw, 4rem); }
.movie-band__en { margin: 0 0 0.5rem; font-family: var(--m-en); font-weight: 200; font-size: clamp(2.5rem, 1rem + 6vw, 6.5rem); line-height: 1; }
.movie-band__text { margin: 0; font-family: var(--m-mincho); font-size: clamp(1.25rem, 1rem + 1.2vw, 2rem); letter-spacing: 0.1em; }

.scope__grid { display: grid; gap: 3rem; align-items: start; }
.scope__lead { color: var(--m-muted); max-width: 34rem; }
.scope__photo { margin-top: 2rem; }
.scope__photo img { width: 100%; aspect-ratio: 4 / 3; object-fit: cover; border-radius: 24px; }
.scope__list { margin: 0; border-top: 1px solid var(--m-line); }
.scope__list > div { display: grid; gap: 0.25rem; padding: 1.5rem 0; border-bottom: 1px solid var(--m-line); }
.scope__list dt { color: var(--m-blue); font-weight: 700; letter-spacing: 0.1em; }
.scope__list dt::before { content: ""; display: inline-block; width: 0.625rem; height: 0.625rem; margin-right: 0.625rem; border: 2px solid var(--m-copper); border-radius: 50%; }
.scope__list dd { margin: 0; font-size: 0.9375rem; line-height: 1.9; }
.scope__more { margin-top: 3rem; }
@media (min-width: 1024px) {
  .scope__grid { grid-template-columns: 0.9fr 1.1fr; gap: 5rem; }
  .scope__list > div { grid-template-columns: 7rem 1fr; gap: 1.5rem; }
}
.scope { background: var(--m-base); }
.feature { background: #fff; }
.contact__lead { margin-bottom: 1.5rem; opacity: 0.9; }
.home .btn { color: #fff; }
.home .btn--light { color: var(--m-navy); }

/* 下層ページの動画（木型の削り出し） */
.split__movie { display: block; width: 100%; height: auto; border-radius: 24px; box-shadow: var(--shadow-hover); background: var(--m-ink); }
.split__sub { margin-top: 1rem; }
.split__photo .split__sub { width: 60%; margin-left: auto; box-shadow: var(--shadow); }
.kv__title, .panel__ja { color: #fff; }
@media (max-width: 767px) {
  .panel__en { font-size: 1.75rem; word-break: keep-all; overflow-wrap: normal; }
  .panel__body { padding-bottom: 5.25rem; }
  .circle { top: auto; bottom: 1.25rem; right: 1.25rem; }
}

/* 写真を2枚縦に並べる（ものづくり事業の「鋳造と加工」など） */
.split__photo img + img { margin-top: 1.25rem; }
.split__caption + .split__extra { margin-top: 1.5rem; }

/* 画面に入る前は、動きの時間をかけない。
   ページを開いた直後に「一度見えてから消える」ことを防ぎ、画面に入ったときにだけ順に現れるようにする */
.motion .reveal:not(.is-in),
.motion .reveal:not(.is-in) img,
.motion .reveal:not(.is-in) .section-head__title::before,
.motion [data-reveal]:not(.is-in),
.motion [data-reveal]:not(.is-in) img,
.motion [data-reveal]:not(.is-in) video,
.motion .flow:not(.is-in) .flow__step,
.motion .flow:not(.is-in) .flow__icon,
.motion .flow:not(.is-in) .flow__step + .flow__step::before { transition: none; }

/* 木型製作：動画を大きく見せる（文章と写真の幅をほぼ同じに） */
@media (min-width: 1024px) {
  .split--wide-media { grid-template-columns: 1fr 1.1fr; gap: 4rem; }
}
.split__photo .split__movie + img { margin-top: 1.25rem; }

/* 選ばれる理由の代表の写真：横長に切り抜くと顔が切れるので、上寄りを見せる */
.feat__photo--face img { object-position: 50% 12%; }
@media (min-width: 1024px) { .feat__photo--face img { aspect-ratio: 4 / 3; } }
.split__photo .split__crop { aspect-ratio: 4 / 3; object-fit: cover; object-position: center 62%; }
#trade .split { margin-bottom: 3rem; }

/* 取扱材質：見出しの横に発光分光分析機の写真 */
.materials-head { margin-bottom: 3rem; align-items: center; }
.materials-head .section-head { margin-bottom: 0; }
@media (max-width: 1023px) { .materials-head { gap: 2rem; } }

/* ==========================================================
   トップの冒頭：背景のスライドショー（代表 2026年9月27日）
   7枚を3秒ずつ、重ねながら切り替える（21秒で一巡）。JavaScript は使わない。
   写真ごとに幕を重ね、その上に文字を出す。
   ========================================================== */
.kv::after { content: none; }
.kv__slides { z-index: -1; background: var(--m-navy); overflow: hidden; }
.kv__slide {
  position: absolute; inset: 0; margin: 0;
  opacity: 0;
  animation: kv-slide 21s linear infinite;
  animation-delay: calc(var(--i) * 3s - 0.8s);
}
.kv__slides .kv__slide img {
  position: absolute; inset: 0; width: 100%; height: 100%;
  object-fit: cover; object-position: center 50%;
  animation: kv-kenburns 21s linear infinite;
  animation-delay: calc(var(--i) * 3s - 0.8s);
}
.kv__slide:nth-child(odd) img { transform-origin: 30% 50%; }
.kv__slide:nth-child(even) img { transform-origin: 70% 50%; }
.kv__slide::after {
  content: ""; position: absolute; inset: 0;
  background: linear-gradient(to top, rgba(10, 22, 70, 0.92) 0%, rgba(15, 42, 134, 0.5) 55%, rgba(15, 42, 134, 0.2) 100%);
}
@media (min-width: 1024px) {
  .kv__slide::after {
    background:
      linear-gradient(to top, rgba(10, 22, 70, 0.85) 0%, rgba(10, 22, 70, 0) 45%),
      linear-gradient(90deg, rgba(10, 22, 70, 0.8) 0%, rgba(15, 42, 134, 0.45) 45%, rgba(15, 42, 134, 0.15) 100%);
  }
}
.kv__cap {
  display: none;
  position: absolute; z-index: 1; right: var(--m-gutter); top: calc(var(--m-hd) + 2.5rem);
  margin: 0; text-align: right; color: #fff;
  font-family: var(--m-mincho); font-weight: 700;
  font-size: clamp(1.5rem, 0.8rem + 1.6vw, 2.5rem); line-height: 1.4; letter-spacing: 0.1em;
  text-shadow: 0 2px 18px rgba(10, 22, 70, 0.55);
  opacity: 0;
  animation: kv-cap 21s linear infinite;
  animation-delay: calc(var(--i) * 3s - 0.8s);
}
.kv__cap span {
  display: block; margin-bottom: 0.5rem;
  font-family: var(--m-en); font-weight: 500; font-size: 0.8125rem; letter-spacing: 0.3em;
  color: var(--m-copper-light);
}
.kv__cap::after {
  content: ""; display: block; width: 3.5rem; height: 2px; margin: 1rem 0 0 auto;
  background: var(--m-copper-light);
}
@media (min-width: 1024px) { .kv__cap { display: block; } }

/* 1枚あたり 3秒（21秒の 14.3%）。前の写真の上に重なりながら 0.8秒で現れる */
@keyframes kv-slide {
  0%     { opacity: 0; z-index: 2; }
  3.8%   { opacity: 1; z-index: 2; }
  14.2%  { opacity: 1; z-index: 2; }
  14.3%  { opacity: 1; z-index: 1; }
  18.1%  { opacity: 1; z-index: 1; }
  18.2%  { opacity: 0; z-index: 0; }
  100%   { opacity: 0; z-index: 0; }
}
@keyframes kv-kenburns {
  0%     { transform: scale(1); }
  18.2%  { transform: scale(1.1); }
  100%   { transform: scale(1.1); }
}
@keyframes kv-cap {
  0%, 5%  { opacity: 0; transform: translateY(16px); }
  8%      { opacity: 1; transform: none; }
  12.5%   { opacity: 1; transform: none; }
  14.3%, 100% { opacity: 0; transform: none; }
}

/* 動きを減らす設定：1枚目だけを表示する */
@media (prefers-reduced-motion: reduce) {
  .kv__slide:first-child { opacity: 1; }
}

/* 写真の言葉：スマホ・タブレット・パソコンとも、画面の中央・上寄りに出す（代表 2026年9月28日） */
.kv__cap {
  display: block;
  left: var(--m-gutter); right: var(--m-gutter);
  top: calc(var(--m-hd) + 1.75rem);
  text-align: center;
  font-size: clamp(1.375rem, 1rem + 1.4vw, 2.5rem);
}
.kv__cap span { font-size: clamp(0.6875rem, 0.6rem + 0.3vw, 0.8125rem); }
.kv__cap::after { margin: 0.875rem auto 0; }
/* スマホ・タブレットでは、見出しの文章が言葉の位置まで上がってこないよう、上に余白を取る */
@media (max-width: 1023px) {
  .kv { padding-top: calc(var(--m-hd) + 8rem); }
}
/* 対応範囲の図（3社のロゴ）は、端のロゴが切れないよう、横長のまま表示する */
.scope__photo--wide img { aspect-ratio: 16 / 9; }
/* 現れる前の拡大した写真が、画面の横にはみ出さないように */
.scope__photo { overflow: hidden; border-radius: 24px; }
/* ほかの写真も同じ。画面の横の外側は切り、横に揺れないようにする */
main { overflow-x: clip; }

/* トップのお問い合わせ：青空の写真を背景に敷き、会社の色の幕を重ねる（代表 2026年9月28日） */
.contact { isolation: isolate; }
.contact__bg { position: absolute; inset: 0; z-index: -2; width: 100%; height: 100%; object-fit: cover; object-position: 30% 40%; }
.contact::before {
  content: ""; position: absolute; inset: 0; z-index: -1;
  background: linear-gradient(120deg, rgba(15, 42, 134, 0.88) 0%, rgba(30, 64, 175, 0.7) 45%, rgba(10, 127, 192, 0.45) 100%);
}
/* 電話番号が途中で折り返さないように */
.contact__tel a { white-space: nowrap; font-size: clamp(1.875rem, 1.2rem + 2.2vw, 3rem); }

/* トップの会社案内の帯：明るい青の面に、やわらかな光と細い線（代表 2026年9月28日。以前は濃い紺） */
.company {
  background:
    radial-gradient(60rem 30rem at 85% 15%, rgba(255, 255, 255, 0.22), transparent 60%),
    radial-gradient(40rem 26rem at 5% 95%, rgba(242, 178, 122, 0.22), transparent 65%),
    linear-gradient(135deg, #2F5FC4 0%, #2A7FD0 55%, #3AA2DB 100%);
}
.company::before {
  content: ""; position: absolute; inset: 0; pointer-events: none;
  background: repeating-linear-gradient(90deg, rgba(255,255,255,0.07) 0 1px, transparent 1px 16.66%);
}
.company .wrap, .company__marquee { position: relative; }
.company__marquee .marquee span { color: rgba(255,255,255,0.14); }
.company .head__en { background: linear-gradient(120deg, #FFFFFF, #FFE2C7); -webkit-background-clip: text; background-clip: text; }
.company__text > p:not(.company__catch) { color: rgba(255,255,255,0.92); }
.company .links li, .company .links li:last-child { border-color: rgba(255,255,255,0.35); }
.company .links a:hover { color: #FFE2C7; }
/* 写真1枚のとき */
.company__photos--single { display: block; }
.company__photos.company__photos--single figure img { aspect-ratio: 16 / 10; box-shadow: 0 30px 60px -30px rgba(10, 30, 90, 0.55); }

/* ---------- 言語の切り替え（日本語／English。2026年9月28日） ---------- */
/* パソコンではメニューの右、スマホ・タブレットでは「≡」で開く一覧の下に置く */
.hd__lang {
  display: flex; align-items: center; gap: 0.125rem;
  padding: 0.1875rem; border-radius: 999px;
  border: 1px solid rgba(255, 255, 255, 0.4); background: rgba(255, 255, 255, 0.12);
}
.hd .hd__nav .hd__lang > * {
  display: grid; place-items: center; min-height: 1.875rem; padding: 0 0.75rem; border-radius: 999px;
  color: #fff; font-size: 0.75rem; font-weight: 700; line-height: 1; letter-spacing: 0.04em; text-decoration: none;
}
.hd .hd__nav .hd__lang a:hover { color: #fff; background: rgba(255, 255, 255, 0.18); }
.hd .hd__nav .hd__lang [aria-current] { background: #fff; color: var(--m-blue); }
.hd.is-solid .hd__lang, .hd.is-open .hd__lang { border-color: var(--m-line); background: var(--m-base); }
.hd.is-solid .hd__nav .hd__lang > *, .hd.is-open .hd__nav .hd__lang > * { color: var(--m-ink); }
.hd.is-solid .hd__nav .hd__lang a:hover, .hd.is-open .hd__nav .hd__lang a:hover { color: var(--m-blue); background: #fff; }
.hd.is-solid .hd__nav .hd__lang [aria-current], .hd.is-open .hd__nav .hd__lang [aria-current] { background: var(--m-brand); color: #fff; }
@media (max-width: 1199px) {
  .hd.is-open .hd__lang { display: inline-flex; margin-top: 1.5rem; }
  .hd.is-open .hd__nav .hd__lang > * { display: grid; place-items: center; min-height: 2.75rem; padding: 0 1.25rem; font-size: 0.9375rem; }
}
@media (min-width: 1200px) {
  .hd__nav { display: flex; align-items: center; }
  .hd__nav { padding-left: 1.5rem; }
  .hd__lang { margin-left: clamp(1rem, 1.6vw, 1.75rem); }
}
/* パソコンでも画面が狭めのときは、メニューの間隔を詰めてロゴとぶつからないようにする */
@media (min-width: 1200px) and (max-width: 1399px) {
  .hd__nav ul { gap: 1.125rem; }
  .hd .hd__nav .hd__lang > * { padding: 0 0.625rem; }
  .hd__cta { margin-left: 1.25rem; }
}

/* ---------- 英語のページ（/en/）の文字の調整 ---------- */
/* 日本語用の広い字間を詰め、欧文に合う行間にする */
html[lang="en"] { --m-sans: "Inter", "Noto Sans JP", system-ui, -apple-system, "Segoe UI", sans-serif; }
html[lang="en"] body { word-break: normal; overflow-wrap: break-word; letter-spacing: 0.01em; }
html[lang="en"] .trade-point__figure { font-size: 0.9375rem !important; font-weight: 600; }
html[lang="en"] .home { letter-spacing: 0; line-height: 1.75; }
html[lang="en"] .hd__nav a { letter-spacing: 0.02em; }
html[lang="en"] .head__ja { letter-spacing: 0.06em; }
html[lang="en"] .kv__catch { letter-spacing: 0.02em; }
html[lang="en"] .kv__title { max-width: 22ch; font-size: clamp(2.125rem, 1.1rem + 3.6vw, 4.5rem); line-height: 1.15; letter-spacing: 0; }
html[lang="en"] .kv__en { font-family: var(--m-mincho); letter-spacing: 0.12em; }
html[lang="en"] .kv__cap { letter-spacing: 0.01em; }
html[lang="en"] :is(.about__catch, .company__catch) { line-height: 1.35; letter-spacing: 0; }
html[lang="en"] .feat__title { line-height: 1.3; letter-spacing: 0; }
html[lang="en"] .panel__ja { letter-spacing: 0.01em; }
html[lang="en"] .movie-band__text { letter-spacing: 0.04em; }
html[lang="en"] .scope__list dt { letter-spacing: 0.04em; }
html[lang="en"] :is(h1, h2, h3, h4, .message__catch, .vision__text, .consult__title, .trade-catch, .startup-exp__title, .contact-aside__title, .message__name, .letter__title) { letter-spacing: 0.01em; }
html[lang="en"] .section-head__title, html[lang="en"] .page-header__title { line-height: 1.3; }
html[lang="en"] .node strong { font-size: clamp(0.625rem, 0.5rem + 0.45vw, 0.875rem); line-height: 1.25; }
html[lang="en"] .rings__center small { max-width: 9rem; line-height: 1.3; }

/* ---------- ボタンの文字の折り返し（代表 2026年9月28日） ---------- */
/* 日本語のボタンの文字は、2行になるときに行の長さをそろえ、最後の行に1語だけ残らないようにする */
html[lang="ja"] :is(.button, .btn) { text-wrap: balance; }
/* ボタンの文字を1つの箱（.button__label）にまとめたときは、その中で .nw を使える */
.button > .button__label { display: block; text-align: center; }
/* スマホでは、ボタンの左右の余白を少し詰めて、文字が細かく折り返さないようにする */
@media (max-width: 767px) {
  .button { padding-left: 1.25rem; padding-right: 1.25rem; }
  .btn { padding-left: 1.25rem; gap: 0.75rem; }
}/* トップの冒頭のお知らせ：スマホでは日付を上に置き、題名を1行に収めやすくする */
@media (max-width: 767px) {
  .topics a { flex-direction: column; gap: 0.1rem; }
}
/* ---------- トップの大見出しの強調（代表 2026年9月28日） ---------- */
/* 「共に創る。」の「共」「創」（英語は Co-Creating）を銅色にして、社名の由来「共創」を強調する。
   8章の「見出しの一語だけ色を変える強調は避ける」の例外として、代表の依頼で入れた */
.kv__em { color: var(--m-copper-light); }
@supports ((-webkit-background-clip: text) or (background-clip: text)) {
  .kv__em {
    background: linear-gradient(180deg, #FAD3AA 0%, #F2B27A 45%, #D98A48 100%);
    -webkit-background-clip: text; background-clip: text; color: transparent;
    text-shadow: none;
    filter: drop-shadow(0 4px 18px rgba(10, 22, 70, 0.55));
  }
}
/* 会社案内の代表の名前：トップの「私たちについて」と同じ明朝の書体・並べ方にそろえる（代表 2026年9月28日） */
.message__name,
.message__name span {
  font-family: var(--m-mincho);
  font-weight: 600;
  color: var(--m-ink);
  letter-spacing: 0.06em;
}
.message__name { font-size: 1rem; }
.message__name span { display: inline; font-size: inherit; margin-right: 1em; }

/* プライバシーポリシーの制定日（代表 2026年9月29日） */
.policy__date { margin-top: 2.5rem; padding-top: 1.5rem; border-top: 1px solid var(--line); text-align: right; line-height: 1.9; }
