@charset "UTF-8";
/* ============================================================
   top.css ｜ コーポレートトップ（/）専用・home限定（トップ/ブログ分離 2026-07-08）
   実録メディア（旧top.css）は /blog のモグブロへ移設（css/blog/mogblo-*.css）。
   同じウォーム・エディトリアル言語（ペーパー×墨×金×エスプレッソ・明朝×Fraunces）で、
   こちらは「事業概要」の企業紹介構成。すべて .cx（home の main）スコープ。
   ============================================================ */
.cx {
  --paper: #FBF7EF;
  --paper-2: #F3EBDD;
  --ink: #1A1714;
  --ink-soft: #6b5f54;
  --gold: #C8A24B;
  --gold-deep: #A9852F;
  --espresso: #2E241C;
  --hair: rgba(26, 23, 20, 0.16);
  --serif-jp: "Noto Serif JP", serif;
  --serif-en: "Fraunces", "Times New Roman", serif;
  --sans: "Noto Sans JP", sans-serif;

  background: var(--paper);
  color: var(--ink);
  font-family: var(--sans);
  overflow-x: clip;
}
.cx :where(a) { color: inherit; }
.cx .container { max-width: 1120px; }

/* ===== 共通：見出しのあしらい ===== */
.cx-index { display: block; font-family: var(--serif-en); font-size: clamp(3rem, 7vw, 5.5rem); font-weight: 400; line-height: 0.9; color: transparent; -webkit-text-stroke: 1.5px var(--gold); letter-spacing: -0.02em; }
.cx-label { margin: 12px 0 16px; font-family: var(--serif-en); font-style: italic; font-size: 1.0625rem; letter-spacing: 0.06em; color: var(--gold-deep); }
.cx-title { font-family: var(--serif-jp); font-weight: 700; font-size: clamp(1.75rem, 4.2vw, 2.75rem); line-height: 1.4; letter-spacing: 0.01em; margin: 0; }
.cx-lead { margin: 20px 0 0; max-width: 560px; font-size: 1rem; line-height: 2; color: var(--ink-soft); }
.cx-section { position: relative; padding: clamp(72px, 11vw, 140px) 0; }
.cx-section + .cx-section { border-top: 1px solid var(--hair); }
.cx-head { margin-bottom: 56px; }
.cx-head--flush { margin-bottom: 0; }
br.br-sp { display: none; }

/* ===== HERO（コーポレート・ステートメント） ===== */
.cx-hero { position: relative; min-height: 88vh; display: flex; align-items: center; overflow: hidden; background: var(--paper); }
.cx-hero__grain { position: absolute; inset: 0; z-index: 0; pointer-events: none; opacity: 0.5; background-image: radial-gradient(rgba(26,23,20,0.14) 0.5px, transparent 0.5px); background-size: 4px 4px; }
.cx-hero__sweep { position: absolute; z-index: 0; top: -30%; left: -20%; width: 80vw; height: 120vh; pointer-events: none; background: radial-gradient(closest-side, rgba(200,162,75,0.2), rgba(200,162,75,0.05) 60%, transparent 72%); transform: rotate(14deg); filter: blur(6px); }
.cx-hero__ghost { position: absolute; z-index: 0; right: -2vw; bottom: -6vh; font-family: var(--serif-en); font-weight: 400; font-size: 26vw; line-height: 0.85; letter-spacing: -0.02em; color: rgba(26,23,20,0.035); pointer-events: none; text-align: right; }
.cx-hero__inner { position: relative; z-index: 2; padding: 96px 0; }
.cx-eyebrow { display: flex; align-items: center; gap: 14px; font-size: 0.8125rem; letter-spacing: 0.08em; color: var(--ink-soft); margin: 0 0 28px; }
.cx-eyebrow__en { font-family: var(--serif-en); font-style: italic; font-size: 1.125rem; color: var(--gold-deep); letter-spacing: 0.02em; }
.cx-eyebrow__rule { width: 48px; height: 1px; background: var(--gold); }
.cx-hero__title { font-family: var(--serif-jp); font-weight: 900; font-size: clamp(2.375rem, 7.2vw, 4.75rem); line-height: 1.3; letter-spacing: 0.005em; margin: 0 0 28px; }
.cx-hero__accent { background: linear-gradient(100deg, var(--gold-deep), var(--gold) 30%, #ecd79b 50%, var(--gold) 70%, var(--gold-deep)); background-size: 220% 100%; -webkit-background-clip: text; background-clip: text; color: transparent; animation: cx-sheen 7s linear infinite; }
@keyframes cx-sheen { to { background-position: -220% 0; } }
.cx-hero__sub { max-width: 560px; font-size: 1rem; line-height: 2; color: var(--ink-soft); margin: 0 0 40px; }
.cx-hero__actions { display: flex; flex-wrap: wrap; gap: 16px 28px; align-items: center; }
.cx-hero__meta { display: flex; flex-wrap: wrap; gap: 8px 28px; margin: 48px 0 0; font-family: var(--serif-en); font-size: 0.8125rem; letter-spacing: 0.06em; color: var(--ink-soft); }
.cx-hero__meta span { position: relative; padding-right: 28px; }
.cx-hero__meta span:not(:last-child)::after { content: "/"; position: absolute; right: 8px; color: var(--gold); }

/* ===== CTA（墨のピル） ===== */
.cx-cta { display: inline-flex; align-items: center; gap: 10px; font-weight: 700; font-size: 0.9375rem; letter-spacing: 0.02em; padding: 14px 26px; border: 1px solid var(--ink); border-radius: 999px; background: transparent; color: var(--ink); transition: background 0.3s ease, color 0.3s ease, border-color 0.3s ease; }
.cx-cta__arrow { transition: transform 0.3s ease; }
.cx-cta:hover { background: var(--ink); color: var(--paper); opacity: 1; }
.cx-cta:hover .cx-cta__arrow { transform: translateX(4px); }
.cx-cta:focus-visible { outline: 2px solid var(--gold-deep); outline-offset: 3px; }
.cx-cta--ghost { border-color: var(--hair); }
.cx-cta--ghost:hover { background: var(--gold); border-color: var(--gold); color: var(--ink); }
.cx-cta--ink { background: var(--ink); color: var(--paper); border-color: var(--ink); }
.cx-cta--ink:hover { background: var(--gold-deep); border-color: var(--gold-deep); color: #fff; }

/* ===== 01 ABOUT（想い） ===== */
.cx-about { display: grid; grid-template-columns: minmax(0, 380px) 1fr; gap: 64px; align-items: start; }
.cx-about__lead { font-family: var(--serif-jp); font-weight: 700; font-size: clamp(1.25rem, 2.6vw, 1.625rem); line-height: 1.9; margin: 0 0 24px; }
.cx-about__text p { max-width: 640px; font-size: 1rem; line-height: 2.1; color: var(--ink-soft); margin: 0 0 20px; }
.cx-about__text p:last-of-type { margin-bottom: 0; }

/* ===== 02 SERVICES（事業内容・ダーク面） ===== */
.cx-section--dark { background: var(--espresso); color: var(--paper); border-top: none; }
.cx-section--dark .cx-title { color: var(--paper); }
.cx-services { display: grid; grid-template-columns: repeat(3, 1fr); gap: 28px; }
.cx-service { display: flex; flex-direction: column; padding: 40px 36px; border: 1px solid rgba(251,247,239,0.16); border-radius: 4px; background: linear-gradient(160deg, rgba(251,247,239,0.05), transparent); }
.cx-service__num { font-family: var(--serif-en); font-style: italic; font-size: 1.25rem; color: var(--gold); margin: 0 0 16px; }
.cx-service__title { font-family: var(--serif-jp); font-weight: 700; font-size: 1.375rem; color: var(--paper); margin: 0 0 16px; }
.cx-service__text { font-size: 0.9375rem; line-height: 1.9; color: rgba(251,247,239,0.78); margin: 0; flex: 1; }
.cx-service__link { display: inline-flex; align-items: center; gap: 8px; margin-top: 24px; font-weight: 700; font-size: 0.875rem; color: var(--gold); align-self: flex-start; }
.cx-service__link span { transition: transform 0.3s ease; }
.cx-service__link:hover { opacity: 1; color: #ecd79b; }
.cx-service__link:hover span { transform: translateX(5px); }

/* ===== 03 REPRESENTATIVE（代表・実績） ===== */
.cx-section--paper2 { background: var(--paper-2); border-top: none; }
.cx-rep { display: grid; grid-template-columns: 300px 1fr; gap: 64px; align-items: start; }
.cx-rep__side { position: sticky; top: 100px; }
.cx-rep__photo { width: 180px; height: 180px; margin: 24px 0 20px; border-radius: 4px; background: linear-gradient(150deg, var(--gold), var(--espresso)); }
.cx-rep__role { font-family: var(--serif-en); font-size: 0.8125rem; letter-spacing: 0.06em; color: var(--ink-soft); margin: 0 0 4px; }
.cx-rep__name { font-family: var(--serif-jp); font-weight: 700; font-size: 1.5rem; margin: 0; }
.cx-rep__lead { font-size: 1.0625rem; line-height: 2; margin: 24px 0 32px; }
.cx-rep__facts { display: grid; gap: 16px; margin: 0 0 28px; padding: 24px 0; border-top: 1px solid var(--hair); border-bottom: 1px solid var(--hair); }
.cx-rep__facts div { display: grid; grid-template-columns: 120px 1fr; gap: 20px; }
.cx-rep__facts dt { font-family: var(--serif-en); font-size: 0.9375rem; color: var(--gold-deep); }
.cx-rep__facts dd { margin: 0; font-size: 0.9375rem; line-height: 1.8; }
.cx-rep__tags { display: flex; flex-wrap: wrap; gap: 8px; margin: 0 0 40px; }
.cx-rep__tags li { padding: 6px 14px; font-size: 0.8125rem; color: var(--ink-soft); border: 1px solid var(--hair); border-radius: 999px; }
.cx-stats { display: grid; grid-template-columns: repeat(3, 1fr); gap: 28px; border-top: 1px solid var(--hair); padding-top: 32px; }
.cx-stats__num { font-family: var(--serif-en); font-size: clamp(2rem, 4vw, 2.75rem); line-height: 1.1; color: var(--ink); }
.cx-stats__num em { font-style: normal; color: var(--gold-deep); }
.cx-stats__label { margin: 8px 0 0; font-size: 0.8125rem; color: var(--ink-soft); }

/* ===== 04 COMPANY（会社概要ダイジェスト） ===== */
.cx-company { border-top: 1px solid var(--hair); }
.cx-company__row { display: grid; grid-template-columns: 200px 1fr; gap: 24px; padding: 24px 8px; border-bottom: 1px solid var(--hair); }
.cx-company__row dt { font-family: var(--serif-en); font-style: italic; font-size: 0.9375rem; color: var(--gold-deep); }
.cx-company__row dd { margin: 0; font-family: var(--serif-jp); font-weight: 500; font-size: 0.9375rem; line-height: 1.8; }
.cx-company__more { display: flex; flex-wrap: wrap; gap: 16px 28px; margin: 44px 0 0; }

/* ===== 05 NEWS（お知らせ） ===== */
.cx-news { border-top: 1px solid var(--hair); }
.cx-news__item { display: grid; grid-template-columns: 120px 1fr; gap: 24px; align-items: baseline; padding: 24px 8px; border-bottom: 1px solid var(--hair); }
.cx-news__date { font-family: var(--serif-en); font-size: 0.875rem; letter-spacing: 0.04em; color: var(--gold-deep); }
.cx-news__text { margin: 0; font-size: 0.9375rem; line-height: 1.9; }
.cx-news__text a { border-bottom: 1px solid var(--gold); padding-bottom: 2px; }
.cx-news__text a:hover { color: var(--gold-deep); opacity: 1; }

/* ===== CLOSING（お問い合わせ） ===== */
.cx-closing { padding: clamp(96px, 14vw, 180px) 0; text-align: center; background: var(--ink); color: var(--paper); }
.cx-closing__en { font-family: var(--serif-en); font-style: italic; font-size: 1.25rem; color: var(--gold); margin: 0 0 24px; }
.cx-closing__title { font-family: var(--serif-jp); font-weight: 700; font-size: clamp(1.75rem, 4.5vw, 3rem); line-height: 1.5; margin: 0 0 28px; }
.cx-closing__text { max-width: 640px; margin: 0 auto 40px; font-size: 0.9375rem; line-height: 2; color: rgba(251,247,239,0.72); }
.cx-closing .cx-cta--ink { background: var(--paper); color: var(--ink); border-color: var(--paper); }
.cx-closing .cx-cta--ink:hover { background: var(--gold); border-color: var(--gold); color: var(--ink); }

/* ===== レスポンシブ ===== */
@media (max-width: 1023px) {
  .cx-about { grid-template-columns: 1fr; gap: 32px; }
  .cx-services { grid-template-columns: 1fr; }
  .cx-rep { grid-template-columns: 1fr; gap: 40px; }
  .cx-rep__side { position: static; display: grid; grid-template-columns: auto 1fr; align-items: center; gap: 8px 24px; }
  .cx-rep__photo { margin: 8px 0; grid-row: span 3; }
}

@media (max-width: 767px) {
  br.br-sp { display: inline; }
  .cx-hero { min-height: auto; }
  .cx-hero__inner { padding: 64px 0 56px; }
  .cx-eyebrow { flex-wrap: wrap; gap: 10px; margin-bottom: 24px; }
  .cx-eyebrow__rule { width: 32px; }
  .cx-hero__title { font-size: clamp(2.125rem, 9.6vw, 2.5rem); line-height: 1.35; margin-bottom: 24px; }
  .cx-hero__sub { font-size: 0.9375rem; line-height: 1.95; margin-bottom: 32px; }
  .cx-hero__actions { flex-direction: column; align-items: stretch; gap: 12px; }
  .cx-cta { justify-content: center; padding: 16px 26px; }
  .cx-hero__meta { margin-top: 36px; gap: 6px 18px; font-size: 0.75rem; }
  .cx-hero__meta span { padding-right: 18px; }
  .cx-hero__meta span:not(:last-child)::after { right: 4px; }
  .cx-hero__ghost { font-size: 36vw; right: -4vw; bottom: -3vh; opacity: 0.85; }
  .cx-head { margin-bottom: 40px; }
  .cx-lead { font-size: 0.9375rem; line-height: 1.95; }
  .cx-service { padding: 32px 24px; }
  .cx-rep__side { grid-template-columns: 1fr; text-align: center; justify-items: center; }
  .cx-rep__photo { width: 148px; height: 148px; margin: 20px 0 16px; }
  .cx-rep__facts div { grid-template-columns: 1fr; gap: 4px; }
  .cx-stats { grid-template-columns: 1fr; gap: 24px; }
  .cx-company__row { grid-template-columns: 1fr; gap: 4px; padding: 16px 0; }
  .cx-company__more { flex-direction: column; align-items: stretch; }
  .cx-news__item { grid-template-columns: 1fr; gap: 4px; padding: 16px 0; }
  .cx-closing__title { font-size: clamp(1.5rem, 6.6vw, 1.75rem); }
}

/* ===== モーション配慮 ===== */
@media (prefers-reduced-motion: reduce) {
  .cx-hero__accent { animation: none; }
}
