/* ==========================================================================
   UNLITD Corporate  —  assets/css/corporate.css
   コーポレートTOP専用。既存 style.css(101KB / !important 931箇所) と共存させるため
   ・全クラスに uco- プレフィックス
   ・CSS変数は :root に置かず .uco-root にスコープ（既存が :root を3回再定義しているため）
   ・body の background/font-weight/line-height/letter-spacing を明示的に打ち消す
   ========================================================================== */

/* --- ダーク背景の三重防御 ------------------------------------------------
   style.css:68  body{background:#fff!important}  … 詳細度 (0,0,1)
   下記            body.uco{...!important}          … 詳細度 (0,1,1) で勝つ        */
html:has(body.uco) { background: #070706; }          /* iOSのラバーバンド帯 */
body.uco { background: #070706 !important; }

.uco-root {
  /* --- トークン（:root ではなくここに置く） --- */
  --uco-void:      #070706;
  --uco-ink:       #0f0f0d;
  --uco-ink-2:     #17160f;
  --uco-line:      rgba(255,255,255,.10);
  --uco-line-2:    rgba(255,255,255,.18);

  --uco-fg:        #f6f5f1;
  --uco-fg-dim:    #a9a59b;
  --uco-fg-mute:   #756f63;

  /* ブランドカラーはロゴ原本(Unlitd.ai)に印字されていた指定値 060001 / f4d31e */
  --uco-gold:      #f4d31e;   /* ブランドイエロー */
  --uco-gold-lt:   #ffe45c;   /* ハイライト */
  --uco-gold-dp:   #c9a70a;   /* 沈めた金 */
  --uco-ink-brand: #060001;   /* ブランドブラック（黄地の上の文字色） */
  --uco-glow:      rgba(244,211,30,.45);

  --uco-font-en:   'Inter', system-ui, -apple-system, 'Segoe UI', sans-serif;
  --uco-font-jp:   'Hiragino Kaku Gothic ProN', 'Hiragino Sans', 'Yu Gothic Medium',
                   'Noto Sans JP', sans-serif;

  --uco-pad:       clamp(20px, 5vw, 40px);
  --uco-max:       1160px;

  /* body の 600 / 1.9 / .02em を打ち消す */
  font-family: var(--uco-font-en), var(--uco-font-jp);
  font-weight: 400;
  line-height: 1.75;
  letter-spacing: 0;
  font-feature-settings: "palt" 1;

  position: relative;
  isolation: isolate;
  background: var(--uco-void);
  color: var(--uco-fg);
  overflow-x: clip;
}

/* 既存 style.css の汎用ルールを、コーポレート内だけ詳細度0で無害化 */
.uco-root :where(a)                              { color: inherit; text-decoration: none; }
.uco-root :where(h1,h2,h3,h4,p,ul,ol,li,dl,dt,dd,figure,blockquote) { margin: 0; padding: 0; }
.uco-root :where(ul,ol)                          { list-style: none; }
.uco-root :where(img,svg)                        { display: block; max-width: 100%; }
.uco-root :where(button)                         { font: inherit; color: inherit; background: none; border: 0; cursor: pointer; }
.uco-root *, .uco-root *::before, .uco-root *::after { box-sizing: border-box; }

.uco-wrap { width: min(var(--uco-max), 100% - var(--uco-pad) * 2); margin-inline: auto; }

/* ==========================================================================
   タイポグラフィ
   ========================================================================== */
.uco-eyebrow {
  font-family: var(--uco-font-en);
  font-size: .75rem; font-weight: 600; letter-spacing: .22em;
  text-transform: uppercase; color: var(--uco-gold-lt);
  display: flex; align-items: center; gap: .75em;
}
.uco-eyebrow::before {
  content: ""; width: 28px; height: 1px; flex: none;
  background: linear-gradient(90deg, transparent, var(--uco-gold));
}
.uco-display {
  font-weight: 700; line-height: 1.28; letter-spacing: -.02em;
  font-size: clamp(1.75rem, 4.6vw, 3.1rem);
}
.uco-lead { color: var(--uco-fg-dim); font-size: clamp(.94rem, 1.5vw, 1.02rem); line-height: 2; }

/* ==========================================================================
   ヘッダー / ナビ
   ========================================================================== */
.uco-header {
  position: fixed; inset: 0 0 auto; z-index: 90;
  transition: background .35s ease, border-color .35s ease, backdrop-filter .35s ease;
  border-bottom: 1px solid transparent;
}
.uco-header.is-stuck {
  background: rgba(7,7,6,.84);
  backdrop-filter: blur(14px) saturate(140%);
  -webkit-backdrop-filter: blur(14px) saturate(140%);
  border-bottom-color: var(--uco-line);
}
.uco-header__in {
  width: min(var(--uco-max), 100% - var(--uco-pad) * 2); margin-inline: auto;
  height: 68px; display: flex; align-items: center; gap: 24px;
}
.uco-brand { display: flex; align-items: center; gap: 10px; margin-right: auto; }
/* 正規ロゴ（ワードマーク）。原本の縦横比 800:238 を維持する */
.uco-brand__logo { width: auto; height: 24px; display: block; }
.uco-brand__mark { width: 26px; height: auto; flex: none; }
@media (max-width: 640px) { .uco-brand__logo { height: 21px; } }
.uco-footer .uco-brand__logo { height: 26px; }

.uco-nav { display: flex; align-items: center; gap: 26px; }
.uco-nav__link {
  position: relative; font-size: .82rem; font-weight: 500;
  color: var(--uco-fg-dim); transition: color .25s ease; padding-block: 6px;
}
.uco-nav__link::after {
  content: ""; position: absolute; left: 0; bottom: 0; height: 1px; width: 100%;
  background: var(--uco-gold-lt); transform: scaleX(0); transform-origin: left;
  transition: transform .3s ease;
}
.uco-nav__link:hover, .uco-nav__link.is-active { color: var(--uco-fg); }
.uco-nav__link.is-active::after { transform: scaleX(1); }

.uco-burger { display: none; width: 40px; height: 40px; position: relative; }
.uco-burger span {
  position: absolute; left: 10px; width: 20px; height: 1.5px; background: var(--uco-fg);
  transition: transform .3s ease, opacity .2s ease;
}
.uco-burger span:nth-child(1) { top: 15px; }
.uco-burger span:nth-child(2) { top: 21px; }
.uco-burger span:nth-child(3) { top: 27px; }
.uco-burger[aria-expanded="true"] span:nth-child(1) { transform: translateY(6px) rotate(45deg); }
.uco-burger[aria-expanded="true"] span:nth-child(2) { opacity: 0; }
.uco-burger[aria-expanded="true"] span:nth-child(3) { transform: translateY(-6px) rotate(-45deg); }

/* ドロワー */
.uco-backdrop {
  position: fixed; inset: 0; z-index: 95; background: rgba(7,7,6,.62);
  opacity: 0; transition: opacity .35s ease; backdrop-filter: blur(2px);
}
.uco-backdrop.is-open { opacity: 1; }
.uco-drawer {
  position: fixed; z-index: 96; inset: 0 0 0 auto; width: min(400px, 86vw);
  background: var(--uco-ink); border-left: 1px solid var(--uco-line);
  transform: translateX(100%); transition: transform .4s cubic-bezier(.16,1,.3,1);
  display: flex; flex-direction: column; padding: 20px var(--uco-pad) 32px;
  overflow-y: auto;
}
.uco-drawer.is-open { transform: none; }
.uco-drawer__head { display: flex; justify-content: flex-end; margin-bottom: 20px; }
.uco-drawer__close { width: 40px; height: 40px; font-size: 1.3rem; color: var(--uco-fg-dim); }
.uco-drawer__list { display: flex; flex-direction: column; }
.uco-drawer__link {
  padding: 15px 0; border-bottom: 1px solid var(--uco-line);
  display: flex; align-items: baseline; gap: 12px;
  opacity: 0; transform: translateX(14px);
  transition: opacity .4s ease, transform .4s ease;
  transition-delay: calc(var(--i, 0) * 45ms);
}
.uco-drawer.is-open .uco-drawer__link { opacity: 1; transform: none; }
.uco-drawer__link b { font-size: .98rem; font-weight: 600; }
.uco-drawer__link i {
  font-style: normal; font-family: var(--uco-font-en); font-size: .66rem;
  letter-spacing: .16em; color: var(--uco-fg-mute); text-transform: uppercase;
}
.uco-drawer__cta { margin-top: 26px; }

/* ==========================================================================
   ボタン
   ========================================================================== */
.uco-btn {
  display: inline-flex; align-items: center; justify-content: center; gap: .6em;
  padding: .95em 1.9em; border-radius: 999px;
  font-size: .85rem; font-weight: 600; letter-spacing: .04em;
  transition: transform .25s ease, box-shadow .3s ease, background .3s ease, color .3s ease;
  border: 1px solid transparent; white-space: nowrap;
}
.uco-btn--primary {
  /* 黄は明度が高く白文字だと可読性が破綻するため、ブランドブラックの文字を乗せる */
  background: linear-gradient(120deg, var(--uco-gold), #ffdf3f);
  color: var(--uco-ink-brand); box-shadow: 0 8px 30px -12px var(--uco-glow);
}
.uco-btn--ghost { border-color: var(--uco-line-2); color: var(--uco-fg); }
.uco-btn--ghost:hover { border-color: var(--uco-gold); color: var(--uco-gold-lt); }
@media (hover: hover) {
  .uco-btn--primary:hover { transform: translateY(-2px); box-shadow: 0 14px 40px -12px var(--uco-glow); }
}

/* ==========================================================================
   セクション共通
   ========================================================================== */
.uco-sec { position: relative; padding-block: clamp(60px, 7vw, 96px); }
.uco-sec::before {                    /* セクションが「灯る」背景グロウ */
  content: ""; position: absolute; z-index: -1; pointer-events: none;
  left: 50%; top: 12%; translate: -50% 0;
  width: min(900px, 120%); aspect-ratio: 2/1;
  background: radial-gradient(50% 50% at 50% 50%, rgba(244,211,30,.13), transparent 70%);
  opacity: .18; transition: opacity .9s ease;
}
.uco-sec.is-lit::before { opacity: 1; }
.uco-sec__head { max-width: 720px; margin-bottom: clamp(36px, 5vw, 56px); }
.uco-sec__head .uco-display { margin-block: 18px 16px; }

.uco-hr { height: 1px; border: 0; background: linear-gradient(90deg, var(--uco-line-2), transparent); }

/* --- reveal（JSが動いた場合のみ初期値を適用する） --- */
/* reveal は transform ではなく独立プロパティの translate を使う。
   transform を占有すると、同じ要素に乗るカードの傾き（tilt）を打ち消してしまうため。 */
html.uco-js .uco-rise { opacity: 0; translate: 0 18px; }
html.uco-js .uco-rise.is-in {
  opacity: 1; translate: none;
  transition: opacity .7s cubic-bezier(.16,1,.3,1), translate .7s cubic-bezier(.16,1,.3,1);
  transition-delay: calc(var(--i, 0) * 70ms);
}

/* ==========================================================================
   HERO
   ========================================================================== */
.uco-hero {
  position: relative; min-height: 100svh; display: grid; align-items: center;
  padding-block: 120px 80px; overflow: hidden;
}
/* --- 背景画像（カスタマイザーで設定されたときだけ入る） ---
   画像は必ず暗幕の下に敷く。ここを外すと本文のコントラストが即座に破綻する。 */
.uco-hero__bg {
  position: absolute; inset: 0; z-index: 0; pointer-events: none;
  background-size: cover; background-position: center;
  opacity: .5;
}
.uco-hero__scrim {
  position: absolute; inset: 0; z-index: 0; pointer-events: none;
  background:
    linear-gradient(90deg, var(--uco-void) 12%, rgba(5,7,13,.86) 46%, rgba(5,7,13,.55) 78%),
    linear-gradient(0deg, var(--uco-void), transparent 45%);
}
@media (max-width: 900px) {
  /* モバイルは1カラムで文字が画像に重なるため、暗幕をさらに濃くする */
  .uco-hero__bg { opacity: .34; }
  .uco-hero__scrim {
    background:
      linear-gradient(180deg, rgba(5,7,13,.82), rgba(5,7,13,.92)),
      linear-gradient(0deg, var(--uco-void), transparent 55%);
  }
}

.uco-hero__spot {           /* ポインタ追従スポットライト */
  position: absolute; inset: 0; z-index: 0; pointer-events: none;
  background: radial-gradient(560px circle at var(--uco-mx, 62%) var(--uco-my, 42%),
              rgba(244,211,30,.16), transparent 68%);
  transition: opacity .6s ease; opacity: 0;
}
.uco-hero.is-lit .uco-hero__spot { opacity: 1; }
.uco-hero__grid {
  position: absolute; inset: 0; z-index: 0; pointer-events: none; opacity: .5;
  background:
    linear-gradient(var(--uco-line) 1px, transparent 1px) 0 0 / 100% 88px,
    linear-gradient(90deg, var(--uco-line) 1px, transparent 1px) 0 0 / 88px 100%;
  mask-image: radial-gradient(70% 60% at 50% 40%, #000, transparent 78%);
  -webkit-mask-image: radial-gradient(70% 60% at 50% 40%, #000, transparent 78%);
}
.uco-hero__in {
  position: relative; z-index: 1;
  width: min(var(--uco-max), 100% - var(--uco-pad) * 2); margin-inline: auto;
  display: grid; grid-template-columns: 1.15fr .85fr; gap: clamp(32px, 5vw, 64px);
  align-items: center;
}
.uco-hero__title {
  font-size: clamp(1.9rem, 5.4vw, 3.5rem); font-weight: 700;
  line-height: 1.3; letter-spacing: -.025em; margin-block: 22px 24px;
}
.uco-hero__x {
  font-family: var(--uco-font-en); font-weight: 800;
  font-size: clamp(1rem, 2.2vw, 1.35rem); letter-spacing: .04em;
}
.uco-hero__x b { color: var(--uco-gold-lt); font-weight: 800; }
.uco-hero__x span { color: var(--uco-fg-mute); margin-inline: .45em; font-weight: 400; }
.uco-hero__actions { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 34px; }
.uco-hero__scroll {
  position: absolute; left: 50%; bottom: 26px; translate: -50% 0; z-index: 1;
  font-family: var(--uco-font-en); font-size: .62rem; letter-spacing: .2em;
  color: var(--uco-fg-mute); display: grid; justify-items: center; gap: 8px;
}
.uco-hero__scroll::after {
  content: ""; width: 1px; height: 42px;
  background: linear-gradient(var(--uco-gold), transparent);
}

/* 行ごとのワイプ（光が差して現れる） */
.uco-line { display: block; }
html.uco-js .uco-wipe .uco-line { clip-path: inset(0 100% 0 0); opacity: .2; }
html.uco-js .uco-wipe.is-in .uco-line {
  clip-path: inset(0 0 0 0); opacity: 1;
  transition: clip-path .9s cubic-bezier(.16,1,.3,1), opacity .9s ease;
  transition-delay: calc(var(--i, 0) * 130ms);
}

/* --- コンステレーション（ロゴのノード網が点灯する） --- */
.uco-hero__visual { display: grid; place-items: center; }
.uco-constel { width: min(100%, 300px); height: auto; overflow: visible; }
.uco-constel__edge {
  stroke: var(--uco-gold); stroke-width: .9; opacity: .5;
  stroke-dasharray: 1; stroke-dashoffset: 1;
}
.uco-constel__node { fill: var(--uco-gold-lt); opacity: 0; }
.uco-constel__core { fill: url(#ucoCoreGrad); opacity: 0; }

html.uco-js .uco-constel.is-lit .uco-constel__edge {
  animation: uco-draw .9s cubic-bezier(.16,1,.3,1) forwards;
  animation-delay: calc(320ms + var(--i, 0) * 26ms);
}
html.uco-js .uco-constel.is-lit .uco-constel__node {
  animation: uco-ignite .7s ease forwards;
  animation-delay: calc(var(--i, 0) * 34ms);
}
html.uco-js .uco-constel.is-lit .uco-constel__core {
  animation: uco-bloom 1.6s ease forwards; animation-delay: 1s;
}
@keyframes uco-draw   { to { stroke-dashoffset: 0; } }
@keyframes uco-ignite { 0% { opacity: 0; r: .8; } 60% { opacity: 1; } 100% { opacity: .9; } }
@keyframes uco-bloom  { 0% { opacity: 0; } 100% { opacity: .55; } }

/* ==========================================================================
   ABOUT
   ========================================================================== */
.uco-about__body { display: grid; grid-template-columns: 1fr 1fr; gap: clamp(28px, 4vw, 56px); }
.uco-about__col p + p { margin-top: 1.3em; }
.uco-about__key {
  display: grid; gap: 18px; padding: 26px; border: 1px solid var(--uco-line);
  border-radius: 14px; background: linear-gradient(160deg, rgba(244,211,30,.07), transparent 60%);
}
.uco-about__key dt {
  font-family: var(--uco-font-en); font-size: .72rem; letter-spacing: .18em;
  color: var(--uco-gold-lt); text-transform: uppercase;
}
.uco-about__key dd { color: var(--uco-fg-dim); font-size: .92rem; margin-top: 6px; }
.uco-about__key strong { color: var(--uco-fg); font-weight: 600; }

/* ==========================================================================
   VALUE / ACTION（3つのDが線で繋がる）
   ========================================================================== */
.uco-dgroup + .uco-dgroup { margin-top: clamp(48px, 6vw, 76px); }
.uco-dgroup__label {
  font-family: var(--uco-font-en); font-size: .72rem; letter-spacing: .2em;
  color: var(--uco-fg-mute); text-transform: uppercase; margin-bottom: 22px;
}
.uco-dline { width: 100%; height: 2px; margin-bottom: -1px; overflow: visible; }
.uco-dline line {
  stroke: url(#ucoLineGrad); stroke-width: 1;
  stroke-dasharray: 1; stroke-dashoffset: 1;
}
html.uco-js .uco-dline.is-in line { animation: uco-draw 1.2s cubic-bezier(.16,1,.3,1) forwards; }

.uco-dcards { display: grid; grid-template-columns: repeat(3, 1fr); gap: 1px; background: var(--uco-line); }
.uco-dcard {
  position: relative; background: var(--uco-void); padding: 30px 26px 34px;
  transition: background .4s ease;
}
.uco-dcard::before {
  content: ""; position: absolute; left: 26px; top: -4px;
  width: 7px; height: 7px; border-radius: 50%; background: var(--uco-gold);
  box-shadow: 0 0 0 0 var(--uco-glow); opacity: .3;
  transition: opacity .5s ease, box-shadow .5s ease;
  transition-delay: calc(var(--i, 0) * 160ms);
}
.uco-dcard.is-in::before { opacity: 1; box-shadow: 0 0 14px 2px var(--uco-glow); }
.uco-dcard__en {
  font-family: var(--uco-font-en); font-weight: 800; font-size: 1.5rem;
  letter-spacing: -.01em; margin-bottom: 10px;
}
.uco-dcard__en em {
  font-style: normal; color: var(--uco-gold-lt);
}
.uco-dcard__txt { color: var(--uco-fg-dim); font-size: .88rem; line-height: 1.9; }
@media (hover: hover) { .uco-dcard:hover { background: var(--uco-ink); } }

/* ==========================================================================
   SERVICES
   ========================================================================== */
.uco-svcs { display: grid; grid-template-columns: 1fr 1fr; gap: 18px; }
.uco-svc {
  position: relative; padding: 34px 30px 36px; border-radius: 16px;
  border: 1px solid var(--uco-line); background: var(--uco-ink);
  overflow: hidden; transition: border-color .4s ease, transform .4s ease;
}
.uco-svc::after {                       /* ホバーで縁が光る */
  content: ""; position: absolute; inset: -1px; border-radius: inherit; pointer-events: none;
  background: linear-gradient(140deg, var(--uco-gold), transparent 45%);
  opacity: 0; transition: opacity .45s ease;
  -webkit-mask: linear-gradient(#000 0 0) content-box, linear-gradient(#000 0 0);
  mask: linear-gradient(#000 0 0) content-box, linear-gradient(#000 0 0);
  -webkit-mask-composite: xor; mask-composite: exclude; padding: 1px;
}
@media (hover: hover) {
  .uco-svc:hover { transform: translateY(-3px); }
  .uco-svc:hover::after { opacity: 1; }
}
/* サービスカードの背景画像（任意）。文字の可読性を落とさないよう、
   右上に寄せて薄く敷き、左下へ向けてカード地色にフェードさせる。 */
.uco-svc__bg {
  position: absolute; inset: 0; z-index: 0; pointer-events: none;
  background-size: cover; background-position: center;
  opacity: .22;
  -webkit-mask-image: radial-gradient(120% 100% at 100% 0%, #000 10%, transparent 70%);
  mask-image: radial-gradient(120% 100% at 100% 0%, #000 10%, transparent 70%);
  transition: opacity .45s ease;
}
@media (hover: hover) { .uco-svc.has-bg:hover .uco-svc__bg { opacity: .34; } }
.uco-svc > *:not(.uco-svc__bg) { position: relative; z-index: 1; }

.uco-svc__no {
  font-family: var(--uco-font-en); font-size: .68rem; letter-spacing: .2em;
  color: var(--uco-fg-mute);
}
.uco-svc__name {
  font-family: var(--uco-font-en); font-weight: 800; font-size: 1.32rem;
  margin-block: 10px 4px; letter-spacing: -.01em;
}
.uco-svc__name em { font-style: normal; color: var(--uco-gold-lt); }
.uco-svc__catch { font-size: .95rem; font-weight: 600; margin-bottom: 14px; line-height: 1.7; }
.uco-svc__txt { color: var(--uco-fg-dim); font-size: .87rem; line-height: 1.95; }

/* ==========================================================================
   MEDIA（記事一覧への導線）
   ========================================================================== */
.uco-news { display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px; }
.uco-news__link { display: block; height: 100%; }
.uco-news__thumb {
  position: relative; display: block; aspect-ratio: 16/10; border-radius: 12px;
  overflow: hidden; border: 1px solid var(--uco-line); background: var(--uco-ink-2);
}
.uco-news__thumb img { width: 100%; height: 100%; object-fit: cover; transition: transform .6s ease; }
@media (hover: hover) { .uco-news__link:hover .uco-news__thumb img { transform: scale(1.05); } }
.uco-news__thumb--v1 { background: linear-gradient(140deg, #2a2412, var(--uco-ink-2)); }
.uco-news__thumb--v2 { background: linear-gradient(140deg, #2e2a15, #14120b); }
.uco-news__thumb--v3 { background: linear-gradient(140deg, #241f10, #1b1a16); }
.uco-news__ph {          /* サムネなし記事のロゴ透かし */
  position: absolute; inset: 0; display: grid; place-items: center; opacity: .3;
}
.uco-news__ph svg,
.uco-news__ph img { width: 46px; height: auto; }   /* ロゴをSVG→imgに変えたので img も指定する */
.uco-news__meta {
  display: flex; align-items: center; gap: 10px; margin-block: 14px 8px;
  font-family: var(--uco-font-en); font-size: .7rem; letter-spacing: .08em; color: var(--uco-fg-mute);
}
.uco-news__cat {
  padding: .25em .8em; border-radius: 999px; border: 1px solid var(--uco-line-2);
  font-family: var(--uco-font-jp); letter-spacing: .04em; color: var(--uco-gold-lt);
}
.uco-news__title {
  font-size: .95rem; font-weight: 600; line-height: 1.7;
  display: -webkit-box; -webkit-line-clamp: 3; -webkit-box-orient: vertical; overflow: hidden;
  transition: color .3s ease;
}
@media (hover: hover) { .uco-news__link:hover .uco-news__title { color: var(--uco-gold-lt); } }
.uco-news__actions { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 40px; }

/* ==========================================================================
   COMPANY
   ========================================================================== */
.uco-company { display: grid; grid-template-columns: .85fr 1.15fr; gap: clamp(28px, 4vw, 56px); }
.uco-company__list { display: grid; }
.uco-company__row {
  display: grid; grid-template-columns: 168px 1fr; gap: 20px;
  padding: 17px 0; border-top: 1px solid var(--uco-line);
}
.uco-company__row:last-child { border-bottom: 1px solid var(--uco-line); }
.uco-company__row dt { font-size: .82rem; color: var(--uco-fg-mute); font-weight: 500; }
.uco-company__row dd { font-size: .92rem; }
.uco-company__row dd ul li { position: relative; padding-left: 1.1em; }
.uco-company__row dd ul li::before {
  content: ""; position: absolute; left: 0; top: .72em;
  width: 4px; height: 4px; border-radius: 50%; background: var(--uco-gold);
}

/* ==========================================================================
   CONTACT
   ========================================================================== */
.uco-contact { display: grid; grid-template-columns: .8fr 1.2fr; gap: clamp(28px, 4vw, 56px); }
.uco-formbox {
  padding: clamp(24px, 3.5vw, 40px); border-radius: 16px;
  border: 1px solid var(--uco-line); background: var(--uco-ink);
}
.uco-form__row { margin-bottom: 20px; }
.uco-form__label {
  display: flex; align-items: center; gap: 9px;
  font-size: .82rem; font-weight: 600; margin-bottom: 8px;
}
.uco-tag {
  font-size: .62rem; font-weight: 700; letter-spacing: .06em;
  padding: .28em .6em; border-radius: 4px; line-height: 1;
}
.uco-tag--req { background: rgba(244,211,30,.16); color: var(--uco-gold-lt); }
.uco-tag--opt { background: rgba(255,255,255,.07); color: var(--uco-fg-mute); }
.uco-root .uco-input, .uco-root .uco-select, .uco-root .uco-textarea {
  width: 100%; padding: .85em 1em; border-radius: 9px;
  border: 1px solid var(--uco-line-2); background: rgba(255,255,255,.03);
  color: var(--uco-fg); font: inherit; font-size: .9rem;
  transition: border-color .25s ease, background .25s ease;
}
.uco-root .uco-input:focus-visible, .uco-root .uco-select:focus-visible, .uco-root .uco-textarea:focus-visible {
  outline: none; border-color: var(--uco-gold); background: rgba(244,211,30,.05);
}
.uco-root .uco-textarea { resize: vertical; min-height: 132px; }
.uco-root .uco-select { appearance: none; cursor: pointer;
  background-image: linear-gradient(45deg, transparent 50%, var(--uco-fg-dim) 50%),
                    linear-gradient(135deg, var(--uco-fg-dim) 50%, transparent 50%);
  background-position: calc(100% - 20px) 1.15em, calc(100% - 15px) 1.15em;
  background-size: 5px 5px, 5px 5px; background-repeat: no-repeat;
}
.uco-root .uco-select option { background: var(--uco-ink); color: var(--uco-fg); }
.uco-form__hp { position: absolute; left: -9999px; width: 1px; height: 1px; overflow: hidden; }
.uco-form__note { font-size: .78rem; color: var(--uco-fg-mute); margin-top: 14px; line-height: 1.8; }
.uco-form__submit { margin-top: 8px; }
.uco-contact__direct { display: grid; gap: 14px; margin-top: 26px; }
.uco-contact__direct a { display: flex; align-items: center; gap: 10px; font-size: .95rem; }
.uco-contact__direct span { color: var(--uco-fg-mute); font-size: .76rem; letter-spacing: .1em;
  font-family: var(--uco-font-en); text-transform: uppercase; }

/* ==========================================================================
   フッター
   ========================================================================== */
/* フッターは白背景。トークンは上の明色セットを共有しているので、
   文字・罫線・リンク色は自動で暗色側に切り替わる。 */
.uco-footer { border-top: 1px solid var(--uco-line); background: #ffffff; color: var(--uco-fg); }
.uco-footer__in { padding-block: clamp(48px, 6vw, 72px) 30px; }
.uco-footer__grid {
  display: grid; grid-template-columns: 1.4fr repeat(3, 1fr); gap: 34px;
  padding-bottom: 40px; border-bottom: 1px solid var(--uco-line);
}
.uco-footer__tag { color: var(--uco-fg-mute); font-size: .82rem; margin-top: 14px; line-height: 1.9; }
.uco-footer__h {
  font-family: var(--uco-font-en); font-size: .68rem; letter-spacing: .18em;
  color: var(--uco-fg-mute); text-transform: uppercase; margin-bottom: 14px;
}
.uco-footer__list { display: grid; gap: 10px; }
.uco-footer__list a { font-size: .85rem; color: var(--uco-fg-dim); transition: color .25s ease; }
.uco-footer__list a:hover { color: var(--uco-gold-lt); }
.uco-footer__btm {
  display: flex; flex-wrap: wrap; gap: 14px; justify-content: space-between;
  padding-top: 24px; font-size: .74rem; color: var(--uco-fg-mute);
}

/* ==========================================================================
   レスポンシブ（コーポレート独自の3点。既存の25種のBPには合わせない）
   ========================================================================== */
@media (max-width: 1200px) {
  .uco-hero__in { grid-template-columns: 1.2fr .8fr; }
}
@media (max-width: 900px) {
  .uco-nav { display: none; }
  .uco-burger { display: block; }
  /* ヘッダーCTAはロゴと衝突するので隠す（ドロワー内に同じCTAがある） */
  .uco-header__cta { display: none; }
  .uco-hero__in { grid-template-columns: 1fr; }
  /* コピーを先に読ませる。シンボルは添えるだけのサイズに落とす */
  .uco-hero__visual { order: 1; }
  .uco-constel { width: min(100%, 210px); }
  .uco-about__body, .uco-company, .uco-contact { grid-template-columns: 1fr; }
  .uco-svcs { grid-template-columns: 1fr; }
  .uco-news { grid-template-columns: 1fr 1fr; }
  .uco-footer__grid { grid-template-columns: 1fr 1fr; }
}
@media (max-width: 640px) {
  .uco-dcards { grid-template-columns: 1fr; }
  .uco-dcard::before { left: 22px; }
  .uco-news { grid-template-columns: 1fr; }
  .uco-company__row { grid-template-columns: 1fr; gap: 4px; }
  .uco-footer__grid { grid-template-columns: 1fr; gap: 26px; }
  .uco-hero { min-height: auto; padding-block: 108px 64px; }
  .uco-header__in { height: 60px; }
}

/* ==========================================================================
   モーション無効化（style.css には prefers-reduced-motion が0件なので全て自前）
   ========================================================================== */
@media (prefers-reduced-motion: reduce) {
  .uco-root *, .uco-root *::before, .uco-root *::after {
    animation-duration: .01ms !important; animation-iteration-count: 1 !important;
    transition-duration: .01ms !important; scroll-behavior: auto !important;
  }
  html.uco-js .uco-rise { opacity: 1 !important; translate: none !important; }
  html.uco-js .uco-wipe .uco-line { clip-path: none !important; opacity: 1 !important; }
  .uco-constel__edge { stroke-dashoffset: 0 !important; }
  .uco-constel__node { opacity: .9 !important; }
  .uco-constel__core { opacity: .55 !important; }
  .uco-dline line { stroke-dashoffset: 0 !important; }
  .uco-sec::before { opacity: 1 !important; }
  .uco-hero__spot { opacity: 1 !important; }
}

/* フォーカス可視化 */
.uco-root :focus-visible { outline: 2px solid var(--uco-gold-lt); outline-offset: 3px; border-radius: 4px; }
body.uco-locked { overflow: hidden; }

/* ==========================================================================
   明色セクション（白黒交互）
   トークンを .uco-sec--light 側で差し替えるだけで反転させる。
   ほぼ全ての指定が var(--uco-*) 経由なので、個別の上書きはほとんど要らない。

   【重要】白地ではブランド黄 #F4D31E のコントラストが 1.48:1 しかなく、
   文字色には使えない。文字は濃い金 #8A6D08（白地 4.92:1）に差し替える。
   黄は「塗り」と「点」だけに使う。
   ========================================================================== */
.uco-sec--light,
.uco-footer {
  --uco-void:    #ffffff;
  --uco-ink:     #faf8f1;   /* カードの地 */
  --uco-ink-2:   #f3efe2;
  --uco-line:    rgba(6,0,1,.10);
  --uco-line-2:  rgba(6,0,1,.20);

  --uco-fg:      #14120c;
  --uco-fg-dim:  #57523f;
  --uco-fg-mute: #8b8574;

  --uco-gold:    #c9a70a;   /* 白地で見える装飾用の金 */
  --uco-gold-lt: #8a6d08;   /* 文字用（白地 4.92:1） */
  --uco-glow:    rgba(201,167,10,.28);

  background: #ffffff;
  color: var(--uco-fg);
}
/* 明色セクションでは背景のグロウを出さない（白地に黄の靄が濁って見えるため） */
.uco-sec--light::before { display: none; }

/* 明⇄暗の境目に線を引かない。面の色そのもので区切る */
.uco-sec--light + .uco-sec,
.uco-sec + .uco-sec--light { border-top: 0; }

/* --- 明色セクション内の個別調整 ----------------------------------------- */

/* About のキーボックス：白地では枠と淡い地で見せる */
.uco-sec--light .uco-about__key {
  background: linear-gradient(160deg, rgba(244,211,30,.16), #fffdf4 60%);
  border-color: rgba(6,0,1,.09);
}

/* Value のカード区切り線が白飛びしないように */
.uco-sec--light .uco-dcards { background: rgba(6,0,1,.10); }
.uco-sec--light .uco-dcard  { background: #ffffff; }
@media (hover: hover) { .uco-sec--light .uco-dcard:hover { background: #fffdf4; } }

/* Services：白地の上に「暗いカード」を置く。
   カード背景画像が暗い前提で作られているため、ここだけ暗色を維持する。 */
.uco-sec--light .uco-svc {
  --uco-fg:      #f6f5f1;
  --uco-fg-dim:  #a9a59b;
  --uco-fg-mute: #756f63;
  --uco-gold-lt: #ffe45c;
  --uco-line:    rgba(255,255,255,.10);
  background: #0f0f0d;
  border-color: rgba(6,0,1,.14);
  color: var(--uco-fg);
  box-shadow: 0 18px 44px -24px rgba(6,0,1,.45);
}

/* 会社概要の罫線は薄墨に */
.uco-sec--light .uco-company__row { border-color: rgba(6,0,1,.10); }

/* 明色セクションの eyebrow は、細い金線だと白地に埋もれるので濃いめに */
.uco-sec--light .uco-eyebrow::before {
  background: linear-gradient(90deg, transparent, var(--uco-gold-lt));
}

/* ==========================================================================
   質を上げるための3点（v40）
   1. ヒーローの再設計   … 第一印象を決める場所に投資する
   2. セクション通し番号  … 編集的な構造をつくり、読み物としての信頼感を出す
   3. Googleマップ       … 実在性を示す。企業サイトの信頼はここで決まる
   装飾を足すのではなく、タイポグラフィと構造で質を上げる方針。
   ========================================================================== */

/* --- 1. ヒーロー ------------------------------------------------------- */

/* 微細なグレイン。印刷物のような質感が出て、のっぺりした黒が締まる。
   SVGのfeTurbulenceをdata URIで持つので画像リクエストは増えない。 */
.uco-hero::after {
  content: ""; position: absolute; inset: 0; z-index: 1; pointer-events: none;
  opacity: .038; mix-blend-mode: overlay;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='160' height='160'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='.85' numOctaves='3'/%3E%3C/filter%3E%3Crect width='160' height='160' filter='url(%23n)'/%3E%3C/svg%3E");
}

/* 見出しを一段大きく。企業サイトの主張はここで決まる */
.uco-hero__title {
  font-size: clamp(2.05rem, 6.1vw, 4.15rem);
  line-height: 1.24;
  letter-spacing: -.035em;
}
.uco-hero__x { font-size: clamp(1.05rem, 2.4vw, 1.45rem); }
.uco-hero .uco-lead { max-width: 40em; }

/* 背景をゆっくり寄せる。動きに気づかせず、奥行きだけを感じさせる */
@media (prefers-reduced-motion: no-preference) {
  .uco-hero.has-bg .uco-hero__bg { animation: uco-drift 26s ease-in-out infinite alternate; }
  @keyframes uco-drift {
    from { transform: scale(1.02) translate3d(0,0,0); }
    to   { transform: scale(1.10) translate3d(-1.2%,-1%,0); }
  }
}

/* 入場の振付。要素をばらばらに出さず、上から順に流す */
html.uco-js .uco-hero__copy > * { opacity: 0; translate: 0 22px; }
html.uco-js .uco-hero.is-lit .uco-hero__copy > * {
  opacity: 1; translate: none;
  transition: opacity .9s cubic-bezier(.16,1,.3,1), translate .9s cubic-bezier(.16,1,.3,1);
}
html.uco-js .uco-hero.is-lit .uco-hero__x       { transition-delay: .05s; }
html.uco-js .uco-hero.is-lit .uco-hero__title   { transition-delay: .18s; }
html.uco-js .uco-hero.is-lit .uco-lead          { transition-delay: .52s; }
html.uco-js .uco-hero.is-lit .uco-hero__actions { transition-delay: .66s; }

/* スクロール指示は「呼吸」させる */
.uco-hero__scroll::after { animation: uco-breathe 2.4s ease-in-out infinite; transform-origin: 50% 0; }
@keyframes uco-breathe {
  0%,100% { transform: scaleY(.45); opacity: .35; }
  50%     { transform: scaleY(1);   opacity: 1; }
}


/* --- 3. Googleマップ ---------------------------------------------------- */
.uco-map { margin: clamp(28px, 4vw, 44px) 0 0; }
.uco-map iframe {
  display: block; width: 100%; height: clamp(260px, 30vw, 400px);
  border-radius: 14px; border: 1px solid var(--uco-line);
  /* 地図の原色がブランドと喧嘩するので彩度を落とし、ホバーで戻す */
  filter: grayscale(1) contrast(.92);
  transition: filter .5s ease;
}
.uco-map:hover iframe { filter: none; }
.uco-map__cap {
  display: flex; flex-wrap: wrap; align-items: baseline; gap: 8px 16px;
  margin-top: 12px; font-size: .82rem; color: var(--uco-fg-mute);
}
.uco-map__link {
  color: var(--uco-gold-lt); font-weight: 600;
  border-bottom: 1px solid currentColor; padding-bottom: 1px;
}
/* 暗色セクション上では地図を沈ませる */
.uco-sec:not(.uco-sec--light) .uco-map iframe { filter: grayscale(1) invert(.92) contrast(.85); }
.uco-sec:not(.uco-sec--light) .uco-map:hover iframe { filter: grayscale(.2) invert(.92) contrast(.9); }

@media (prefers-reduced-motion: reduce) {
  .uco-hero.has-bg .uco-hero__bg { animation: none; }
  .uco-hero__scroll::after { animation: none; }
  html.uco-js .uco-hero__copy > * { opacity: 1; translate: none; }
}

/* ==========================================================================
   About / Value / Services の作り直し（v42）
   囲み枠と機能一覧グリッドという汎用パーツをやめ、
   ブランドの中核メッセージをタイポグラフィそのもので見せる。
   ========================================================================== */

/* --- About：社名の成り立ちを大きな文字で ------------------------------- */
.uco-about__intro { max-width: 46em; }

.uco-naming { margin-top: clamp(34px, 5vw, 60px); }
.uco-naming__row {
  display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr);
  gap: clamp(18px, 4vw, 56px); align-items: center;
}
.uco-naming__word {
  font-family: var(--uco-font-en); font-weight: 800;
  font-size: clamp(2rem, 6vw, 4.2rem); line-height: 1; letter-spacing: -.045em;
  display: flex; align-items: baseline; flex-wrap: wrap;
}
.uco-naming__dim   { color: var(--uco-fg-mute); }
.uco-naming__plus  { color: var(--uco-fg-mute); font-weight: 300; margin-inline: .16em; }
.uco-naming__d     { color: var(--uco-gold-lt); }
.uco-naming__word--lit { color: var(--uco-gold-lt); }
.uco-naming__txt   { color: var(--uco-fg-dim); font-size: clamp(.86rem, 1.4vw, .95rem); line-height: 2; }
.uco-naming__txt strong { color: var(--uco-fg); font-weight: 700; }

/* 2つの語をつなぐ縦線と点。ロゴの「点と点を結ぶ」形をここでも使う */
.uco-naming__arrow {
  height: clamp(38px, 5vw, 60px); margin: clamp(10px,1.6vw,18px) 0;
  position: relative; width: 1px; background: var(--uco-line-2);
  margin-left: clamp(.6rem, 1.6vw, 1.2rem);
}
.uco-naming__arrow::after {
  content: ""; position: absolute; left: 50%; bottom: -3px; translate: -50% 0;
  width: 7px; height: 7px; border-radius: 50%; background: var(--uco-gold);
}

/* --- Value：3列カードをやめ、Dを主役にした全幅の行リストへ -------------- */
.uco-drows { border-top: 1px solid var(--uco-line); }
.uco-drow {
  display: grid;
  grid-template-columns: auto minmax(0, 15rem) minmax(0, 1fr);
  gap: clamp(14px, 3vw, 40px); align-items: center;
  padding-block: clamp(18px, 2.6vw, 30px);
  border-bottom: 1px solid var(--uco-line);
  transition: background .4s ease;
}
.uco-drow__d {
  font-family: var(--uco-font-en); font-weight: 800;
  font-size: clamp(2.2rem, 4.6vw, 3.4rem); line-height: 1; letter-spacing: -.04em;
  color: transparent; -webkit-text-stroke: 1px var(--uco-line-2);
  width: 1.15em; text-align: center;
  transition: color .45s ease, -webkit-text-stroke-color .45s ease;
}
.uco-drow__en {
  font-family: var(--uco-font-en); font-weight: 800;
  font-size: clamp(1.1rem, 2.2vw, 1.5rem); letter-spacing: -.015em;
}
.uco-drow__en em { font-style: normal; color: var(--uco-gold-lt); }
.uco-drow__txt { color: var(--uco-fg-dim); font-size: clamp(.85rem, 1.4vw, .92rem); line-height: 1.9; }

@media (hover: hover) {
  .uco-drow:hover .uco-drow__d {
    color: var(--uco-gold); -webkit-text-stroke-color: transparent;
  }
}


@media (max-width: 900px) {
  .uco-naming__row  { grid-template-columns: 1fr; gap: 12px; }
  .uco-naming__arrow { margin-left: .4rem; }
  .uco-drow { grid-template-columns: auto minmax(0, 1fr); row-gap: 6px; }
  .uco-drow__txt { grid-column: 2; }
}

/* --- Services：見出しと本文のあいだの帯 ---------------------------------
   画像を大きく置くと「貼っただけ」に見えたので、
   罫線と拾い読み用のキーワードで塊を切る。情報が増えるぶん密度も上がる。 */
.uco-svc__mid {
  display: flex; align-items: center; gap: 14px;
  margin: clamp(14px, 2vw, 18px) 0 clamp(15px, 2vw, 19px);
}
.uco-svc__rule {
  flex: none; width: 34px; height: 2px; border-radius: 2px;
  background: linear-gradient(90deg, var(--uco-gold), transparent);
}
.uco-svc__tags {
  display: flex; flex-wrap: wrap; gap: 6px 7px;
  margin: 0; padding: 0; list-style: none;
}
.uco-svc__tags li {
  font-size: .68rem; font-weight: 600; letter-spacing: .04em; line-height: 1;
  padding: .48em .78em; border-radius: 999px;
  border: 1px solid var(--uco-line-2);
  color: var(--uco-fg-dim);
  transition: border-color .35s ease, color .35s ease, background .35s ease;
}
@media (hover: hover) {
  .uco-svc:hover .uco-svc__tags li {
    border-color: rgba(244,211,30,.42);
    color: var(--uco-gold-lt);
    background: rgba(244,211,30,.06);
  }
}
@media (max-width: 520px) {
  .uco-svc__mid { flex-wrap: wrap; gap: 10px; }
  .uco-svc__rule { width: 26px; }
}
