/* Capital Design コーポレートサイト（初回リリース）
   トンマナ参考：mfh.co.jp（白地・墨色・明朝の見出し・細い罫線・英字の小見出し） */
:root {
  --ink: #191919;
  --muted: #62625d;
  --line: #deded8;
  --paper: #ffffff;
  --wash: #f5f5f1;
  --band: #eeefea;
  --accent: #3f7f67; /* ロゴの緑 */
  --line-green: #06c755; /* LINE公式の緑（LINEボタンのみ） */
  --serif: "Noto Serif JP", "Hiragino Mincho ProN", "Yu Mincho", serif;
  --sans: "Noto Sans JP", "Hiragino Kaku Gothic ProN", "Yu Gothic", Meiryo, sans-serif;
  --latin: "Helvetica Neue", Arial, sans-serif;
  --header: 88px;
  --gutter: clamp(20px, 5vw, 88px);
}

*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; scroll-padding-top: var(--header); }
body {
  margin: 0;
  background: var(--paper);
  color: var(--ink);
  font-family: var(--sans);
  font-size: 17px;
  line-height: 1.9;
  letter-spacing: 0.03em;
  -webkit-font-smoothing: antialiased;
}
img, video { display: block; max-width: 100%; height: auto; }
a { color: inherit; }
h1, h2, h3, p, figure { margin: 0; }
h1, h2, h3 { font-weight: 400; }
:focus-visible { outline: 2px solid var(--accent); outline-offset: 3px; }
.visually-hidden { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }
.skip-link { position: absolute; left: 12px; top: -60px; background: var(--ink); color: #fff; padding: 10px 16px; z-index: 100; }
.skip-link:focus { top: 12px; }

.container { width: calc(100% - var(--gutter) * 2); max-width: 1200px; margin-inline: auto; }
.eyebrow { font-family: var(--latin); font-size: 12px; font-weight: 500; letter-spacing: 0.17em; line-height: 1.6; color: var(--muted); text-transform: uppercase; margin-bottom: 12px; }
.section { padding-block: clamp(80px, 11vw, 140px); }
.section--wash { background: var(--wash); }
.section-heading h2 { font-family: var(--serif); font-size: clamp(30px, 3.4vw, 44px); line-height: 1.5; letter-spacing: 0.04em; }
.section-heading p:not(.eyebrow) { margin-top: 20px; color: var(--muted); max-width: 640px; }
.section-top { display: flex; flex-wrap: wrap; justify-content: space-between; align-items: flex-end; gap: 24px; margin-bottom: clamp(40px, 6vw, 72px); }

.text-link { display: inline-flex; align-items: center; justify-content: space-between; gap: 32px; min-width: 220px; min-height: 48px; border-bottom: 1px solid var(--ink); padding: 10px 0; font-size: 16px; line-height: 1.6; text-decoration: none; }
.text-link .arrow { transition: transform .2s ease; }
.text-link:hover .arrow { transform: translate(3px, -3px); }

.btn { display: inline-flex; align-items: center; justify-content: center; gap: 10px; min-height: 56px; padding: 0 32px; border-radius: 2px; font-size: 16px; font-weight: 500; text-decoration: none; border: 1px solid var(--ink); background: var(--ink); color: #fff; cursor: pointer; font-family: inherit; }
.btn:hover { background: #333; }
.btn--line { background: var(--line-green); border-color: var(--line-green); color: #fff; }
.btn--line:hover { background: #05b04b; }
.btn--ghost { background: transparent; color: var(--ink); }
.btn--ghost:hover { background: var(--ink); color: #fff; }

/* ---------- Header ---------- */
.site-header { position: sticky; top: 0; z-index: 50; height: var(--header); background: rgba(255,255,255,.97); border-bottom: 1px solid rgba(0,0,0,.07); transition: background .3s ease, color .3s ease, border-color .3s ease; }
.site-header .inner { height: 100%; display: flex; align-items: center; justify-content: space-between; gap: 24px; padding-inline: var(--gutter); }
.brand { display: flex; align-items: center; gap: 12px; text-decoration: none; }
.brand img { width: 44px; height: auto; }
.brand span { font-family: "Montserrat", var(--latin); font-size: 18px; font-weight: 500; letter-spacing: 0.08em; white-space: nowrap; }
.global-nav ul { list-style: none; margin: 0; padding: 0; display: flex; align-items: center; gap: clamp(20px, 2.6vw, 40px); }
.global-nav a { text-decoration: none; font-size: 15px; padding: 10px 0; white-space: nowrap; }
.global-nav a:hover { opacity: .7; }
.global-nav .nav-contact { border: 1px solid currentColor; padding: 12px 22px; }
.global-nav .nav-contact:hover { opacity: 1; background: var(--ink); color: #fff; border-color: var(--ink); }
.menu-toggle { display: none; background: none; border: 0; width: 48px; height: 48px; padding: 12px; cursor: pointer; color: inherit; }
.menu-toggle span { display: block; height: 1px; background: currentColor; margin: 6px 0; transition: transform .25s ease, opacity .25s ease; }

/* TOPだけ：動画の上に重ねる白文字のヘッダー。スクロールで白背景に戻る */
.is-home .site-header { position: fixed; left: 0; right: 0; background: transparent; border-color: transparent; color: #fff; }
.is-home .site-header .brand img { filter: brightness(0) invert(1); }
.is-home .site-header.is-solid { background: rgba(255,255,255,.97); border-color: rgba(0,0,0,.07); color: var(--ink); }
.is-home .site-header.is-solid .brand img { filter: none; }
.is-home .site-header:not(.is-solid) .nav-contact:hover { background: #fff; color: var(--ink); border-color: #fff; }

@media (max-width: 1080px) {
  :root { --header: 68px; }
  .menu-toggle { display: block; position: relative; z-index: 2; }
  .global-nav { position: fixed; inset: 0; background: var(--paper); color: var(--ink); padding: calc(var(--header) + 24px) var(--gutter) 40px; transform: translateY(-100%); visibility: hidden; transition: transform .3s ease, visibility .3s; }
  .global-nav ul { flex-direction: column; align-items: flex-start; gap: 4px; }
  .global-nav a { font-size: 20px; display: block; padding: 12px 0; }
  .global-nav .nav-contact { margin-top: 16px; font-size: 17px; }
  .menu-open .global-nav { transform: none; visibility: visible; }
  .menu-open .site-header { color: var(--ink) !important; }
  .menu-open .site-header .brand img { filter: none !important; }
  .menu-open .menu-toggle span:nth-child(1) { transform: translateY(7px) rotate(45deg); }
  .menu-open .menu-toggle span:nth-child(2) { opacity: 0; }
  .menu-open .menu-toggle span:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }
  .brand span { font-size: 16px; }
}

/* ---------- Brand film (TOP) ---------- */
.film { position: relative; height: 100svh; min-height: 560px; max-height: 1000px; overflow: hidden; background: #0e1a24; color: #fff; }
.film video, .film .film-poster { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }
.film::after { content: ""; position: absolute; inset: 0; background: linear-gradient(to bottom, rgba(0,0,0,.42) 0%, rgba(0,0,0,0) 24%, rgba(0,0,0,0) 66%, rgba(0,0,0,.55) 100%); pointer-events: none; }
.film-ui { position: absolute; left: 0; right: 0; bottom: 0; z-index: 2; padding: 0 var(--gutter) 28px; display: flex; flex-wrap: wrap; align-items: flex-end; justify-content: space-between; gap: 12px 40px; text-shadow: 0 1px 8px rgba(0,0,0,.35); }
.film-chapters { display: flex; flex-wrap: wrap; gap: 0 26px; }
.film button { font: inherit; color: #fff; background: none; border: 0; cursor: pointer; min-height: 44px; padding: 6px 0; display: inline-flex; align-items: center; gap: 8px; }
.film-chapters button { font-size: 17px; opacity: .78; }
.film-chapters button[aria-current="step"] { opacity: 1; }
.chapter-dot { width: 7px; height: 7px; border-radius: 50%; border: 1px solid #fff; display: inline-block; }
.film-chapters button[aria-current="step"] .chapter-dot { background: #fff; }
.film-controls { display: flex; gap: 0 26px; }
.film-controls button { font-size: 16px; border-bottom: 1px solid rgba(255,255,255,.6); }
.film-controls svg { width: 14px; height: 14px; }
.film-controls .icon-play, .film-controls [aria-pressed="true"] .icon-pause { display: none; }
.film-controls [aria-pressed="true"] .icon-play { display: block; }
.film-controls .icon-sound, [data-film="sound"][aria-pressed="true"] .icon-muted { display: none; }
[data-film="sound"][aria-pressed="true"] .icon-sound { display: block; }
@media (max-width: 767px) {
  .film { height: 88svh; }
  .film-chapters button { font-size: 14px; }
  .film-chapters { gap: 0 16px; }
  .film-controls button { font-size: 14px; }
}

/* ---------- Vision ---------- */
.section--vision { padding-top: clamp(48px, 6vw, 80px); }
.vision { display: grid; grid-template-columns: minmax(0, 1.25fr) minmax(0, 1fr); column-gap: 7%; align-items: center; }
.vision > .eyebrow { grid-column: 1 / -1; margin-bottom: 20px; }
.vision h1 { word-break: keep-all; overflow-wrap: anywhere; font-family: "Shippori Mincho", var(--serif); font-weight: 500; font-size: clamp(28px, 3.2vw, 46px); line-height: 1.65; letter-spacing: 0.08em; }
.vision-copy p + p { margin-top: 1.4em; }
.vision-copy .text-link { margin-top: 32px; }
.vision-copy { font-size: 17px; line-height: 2.1; }
@media (max-width: 860px) { .vision { grid-template-columns: 1fr; row-gap: 32px; } .vision > .eyebrow { margin-bottom: -16px; } }

/* ---------- Business list ---------- */
.biz-row { display: grid; grid-template-columns: minmax(0, 1.12fr) minmax(0, 1fr); gap: 7%; align-items: center; padding-block: 48px; border-top: 1px solid var(--line); }
.biz-row:first-child { border-top: 0; padding-top: 0; }
.biz-row:last-child { padding-bottom: 0; }
.biz-row:nth-of-type(even) { grid-template-columns: minmax(0, 1fr) minmax(0, 1.12fr); }
.biz-row:nth-of-type(even) .biz-media { order: 2; }
.biz-media { overflow: hidden; }
.biz-media img { width: 100%; aspect-ratio: 1.6; object-fit: cover; }
.biz-num { font-family: var(--latin); font-size: 14px; color: var(--muted); }
.biz-copy h3 { margin: 18px 0 0; display: flex; flex-direction: column; gap: 2px; }
.biz-copy h3 .en { font-family: var(--latin); font-size: 12px; letter-spacing: 0.17em; color: var(--muted); }
.biz-copy h3 .ja { font-family: var(--serif); font-size: clamp(28px, 3vw, 40px); line-height: 1.6; letter-spacing: 0.04em; }
.biz-copy p { margin-top: 16px; font-size: 17px; line-height: 2; }
.biz-copy .text-link { margin-top: 28px; }
.biz-note { margin-top: 24px; font-size: 14px; color: var(--muted); }
@media (max-width: 760px) { .biz-row, .biz-row:nth-of-type(even) { grid-template-columns: 1fr; gap: 24px; padding-block: 40px; } .biz-row:nth-of-type(even) .biz-media { order: 0; } }

/* ---------- Works ---------- */
.works-grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: clamp(24px, 3vw, 40px); }
.work-card { display: flex; flex-direction: column; text-decoration: none; background: var(--paper); }
.work-card figure { overflow: hidden; }
.work-card img { width: 100%; aspect-ratio: 1.5; object-fit: cover; transition: transform .6s ease; }
a.work-card:hover img { transform: scale(1.03); }
.work-body { padding: 28px 4px 0; display: flex; flex-direction: column; gap: 8px; }
.work-tag { font-size: 13px; color: var(--muted); }
.work-body h3 { font-family: var(--serif); font-size: clamp(22px, 2.2vw, 28px); line-height: 1.6; }
.work-body p { font-size: 15px; line-height: 1.9; color: var(--muted); }
.work-body .text-link { margin-top: 12px; align-self: flex-start; }
@media (max-width: 960px) { .works-grid { grid-template-columns: 1fr; } }

/* ---------- Contact（LINEのみ） ---------- */
.contact { position: relative; overflow: hidden; color: #fff; padding-block: clamp(96px, 12vw, 160px); background: #0e1a24; }
.contact-bg { position: absolute; inset: -10% 0; }
.contact-bg img { width: 100%; height: 100%; object-fit: cover; opacity: .55; will-change: transform; }
.contact::after { content: ""; position: absolute; inset: 0; background: linear-gradient(90deg, rgba(10,18,26,.82) 0%, rgba(10,18,26,.45) 100%); }
.contact-inner { position: relative; z-index: 1; display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 48px; }
.contact-copy { flex: 1 1 520px; max-width: 640px; }
.contact .eyebrow { color: rgba(255,255,255,.75); }
.contact h2 { font-family: var(--serif); font-size: clamp(30px, 3.6vw, 48px); line-height: 1.5; letter-spacing: 0.04em; }
.contact-copy p:not(.eyebrow) { margin-top: 20px; color: rgba(255,255,255,.88); }
.btn--lg { margin-top: 40px; min-height: 64px; padding: 0 40px; font-size: 18px; border-radius: 999px; box-shadow: 0 10px 30px rgba(6,199,85,.25); transition: transform .25s ease, box-shadow .25s ease, background .25s ease; }
.btn--lg:hover { transform: translateY(-2px); box-shadow: 0 16px 36px rgba(6,199,85,.35); }
.contact-qr { background: #fff; color: var(--ink); padding: 24px; text-align: center; font-size: 13px; line-height: 1.7; }
.contact-qr img { width: 160px; height: 160px; margin: 0 auto 12px; }
@media (max-width: 760px) { .contact-qr { display: none; } }

/* ---------- Footer ---------- */
.site-footer { background: var(--ink); color: #e9e9e4; padding-block: 72px 32px; font-size: 14px; }
.footer-top { display: grid; grid-template-columns: minmax(0, 1.2fr) minmax(0, 1fr); gap: 48px; }
.footer-brand { display: flex; align-items: center; gap: 12px; text-decoration: none; }
.footer-brand img { width: 44px; height: auto; filter: brightness(0) invert(1); }
.footer-brand span { font-family: "Montserrat", var(--latin); font-size: 17px; letter-spacing: 0.08em; font-weight: 500; }
.footer-company { margin-top: 24px; line-height: 2; color: #c9c9c3; }
.footer-company dt { display: none; }
.footer-company dd { margin: 0; }
.footer-nav ul { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 6px 24px; }
.footer-nav a { text-decoration: none; display: inline-block; padding: 8px 0; }
.footer-nav a:hover { text-decoration: underline; }
.footer-bottom { margin-top: 56px; padding-top: 24px; border-top: 1px solid #3a3a37; display: flex; flex-wrap: wrap; justify-content: space-between; gap: 12px; color: #a9a9a3; font-size: 12px; }
@media (max-width: 760px) { .footer-top { grid-template-columns: 1fr; } }

/* ---------- Lower pages ---------- */
.page-heading { padding-block: clamp(48px, 7vw, 88px) clamp(32px, 5vw, 56px); }
.breadcrumb { font-size: 12px; color: var(--muted); margin-bottom: 40px; }
.breadcrumb a { color: var(--muted); }
.page-heading h1 { font-family: var(--serif); font-size: clamp(34px, 4.2vw, 52px); line-height: 1.4; letter-spacing: 0.04em; }
.page-heading .lead { margin-top: 24px; max-width: 720px; }
.page-hero img { width: 100%; aspect-ratio: 21 / 9; object-fit: cover; }

.direct { display: grid; grid-template-columns: 1.2fr 1fr; gap: 7%; align-items: center; }
.direct { align-items: start; }
.direct-gallery > img { width: 100%; aspect-ratio: 3 / 2; object-fit: cover; }
.direct-thumbs { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 8px; margin-top: 8px; }
.direct-thumbs img { width: 100%; aspect-ratio: 3 / 2; object-fit: cover; }
.direct-badge { display: inline-block; font-size: 12px; letter-spacing: 0.08em; border: 1px solid var(--accent); color: var(--accent); padding: 2px 10px; }
.direct h3 { font-family: var(--serif); font-size: clamp(26px, 2.8vw, 36px); line-height: 1.5; margin-top: 16px; }
.direct p { margin-top: 16px; }
.spec { margin: 24px 0 0; display: grid; grid-template-columns: auto 1fr; gap: 8px 24px; font-size: 15px; border-top: 1px solid var(--line); padding-top: 20px; }
.spec dt { color: var(--muted); }
.spec dd { margin: 0; }
.direct .btn { margin-top: 32px; }
@media (max-width: 860px) { .direct { grid-template-columns: 1fr; gap: 28px; } }

.area-filter { display: flex; flex-wrap: wrap; gap: 8px; margin-bottom: 40px; }
.area-filter button { font: inherit; font-size: 14px; min-height: 44px; padding: 0 18px; border: 1px solid #b9b9b2; background: #fff; color: var(--ink); border-radius: 999px; cursor: pointer; }
.area-filter button[aria-pressed="true"] { background: var(--ink); border-color: var(--ink); color: #fff; }
.listing-grid { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 40px 28px; }
.listing-card a { display: flex; flex-direction: column; gap: 12px; text-decoration: none; }
.listing-card .thumb { aspect-ratio: 4 / 3; background: #e9e9e5; overflow: hidden; display: flex; align-items: center; justify-content: center; color: var(--muted); font-size: 13px; }
.listing-card .thumb img { width: 100%; height: 100%; object-fit: cover; transition: transform .6s ease; }
.listing-card a:hover .thumb img { transform: scale(1.03); }
.listing-area { font-size: 13px; color: var(--muted); }
.listing-card h3 { font-family: var(--serif); font-size: 17px; line-height: 1.65; display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; overflow: hidden; }
.listing-card .meta { font-size: 13px; color: var(--muted); }
.listing-more { margin-top: 56px; display: flex; justify-content: center; }
@media (max-width: 960px) { .listing-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
@media (max-width: 560px) { .listing-grid { grid-template-columns: 1fr; } }

.cta-band { background: var(--band); border-top: 1px solid #e4e5df; border-bottom: 1px solid #dedfd7; padding-block: 64px; }
.cta-band .inner { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 28px 40px; }
.cta-band h2 { font-family: var(--serif); font-size: clamp(24px, 2.6vw, 34px); line-height: 1.6; }
.cta-band .actions { display: flex; flex-wrap: wrap; gap: 12px; }

.prose { max-width: 800px; }
.prose h2 { font-family: var(--serif); font-size: 22px; line-height: 1.6; margin: 48px 0 12px; padding-bottom: 10px; border-bottom: 1px solid var(--line); }
.prose p, .prose li { font-size: 16px; line-height: 2; }
.prose ul, .prose ol { padding-left: 1.4em; }
.prose .date { margin-top: 48px; text-align: right; color: var(--muted); font-size: 14px; }

/* 原稿・素材待ちの箇所（公開前に必ず差し替え） */
.todo { background: #fff5d6; outline: 1px dashed #c9a227; }


/* ---------- Business（サービス項目） ---------- */
.biz-row { align-items: center; }
.biz-media img { aspect-ratio: 4 / 3; }
.svc-list { list-style: none; margin: 24px 0 0; padding: 16px 0 0; border-top: 1px solid var(--line); display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 8px 24px; font-size: 15px; line-height: 1.7; }
.svc-list li { position: relative; padding-left: 16px; }
.svc-list li::before { content: ""; position: absolute; left: 0; top: .75em; width: 6px; height: 1px; background: var(--accent); }
@media (max-width: 560px) { .svc-list { grid-template-columns: 1fr; } }

/* 説明が長い段は、写真の高さを文章に合わせて伸ばす（PCのみ） */
@media (min-width: 761px) { .biz-media { align-self: stretch; min-width: 0; min-height: 320px; position: relative; } .biz-media img { position: absolute; inset: 0; height: 100%; aspect-ratio: auto; } }
.biz-tagline { margin-top: 4px !important; font-family: var(--serif); font-size: 16px !important; color: var(--accent); letter-spacing: .08em; }
.svc-list small { font-size: 12px; color: var(--muted); }

/* ---------- Company ---------- */
.company-grid { display: grid; grid-template-columns: minmax(0, 1fr); gap: 48px; } /* 地図は会社概要の表の下 */
.company-table { margin: 0; border-top: 1px solid var(--ink); }
.company-table > div { display: grid; grid-template-columns: 8em minmax(0, 1fr); gap: 16px; padding: 20px 0; border-bottom: 1px solid var(--line); font-size: 15px; line-height: 1.9; }
.company-table dt { color: var(--muted); }
.company-table dd { margin: 0; }
.company-map iframe { display: block; width: 100%; aspect-ratio: 21 / 9; border: 0; }
.company-map p { margin-top: 12px; font-size: 14px; color: var(--muted); }
@media (max-width: 860px) { .company-grid { gap: 32px; } .company-map iframe { aspect-ratio: 4 / 3; } .company-table > div { grid-template-columns: 6em minmax(0, 1fr); } }

/* ---------- Motion ---------- */
/* JSが動いているときだけ隠す（JSなし・動きを減らす設定では最初から表示） */
.js .reveal { opacity: 0; transform: translateY(28px); transition: opacity 1s cubic-bezier(.2,.7,.2,1) var(--d, 0s), transform 1s cubic-bezier(.2,.7,.2,1) var(--d, 0s); }
.js .reveal.is-in { opacity: 1; transform: none; }
.js .reveal-wipe { clip-path: inset(0 100% 0 0); transition: clip-path 1.3s cubic-bezier(.77,0,.18,1); }
.js .biz-row:nth-of-type(even) .reveal-wipe { clip-path: inset(0 0 0 100%); }
.js .reveal-wipe.is-in { clip-path: inset(0 0 0 0) !important; }
.split-lines .line { display: block; overflow: hidden; padding-bottom: .08em; }
.split-lines .line > span { display: inline-block; }
.js .split-lines .line > span { transform: translateY(105%); transition: transform 1.1s cubic-bezier(.2,.7,.2,1); }
.js .split-lines .line:nth-child(2) > span { transition-delay: .12s; }
.js .split-lines .line:nth-child(3) > span { transition-delay: .24s; }
.js .split-lines.is-in .line > span { transform: none; }

/* 動画の再生バーとスクロールの合図 */
.film-progress { position: absolute; left: 0; right: 0; bottom: 0; height: 2px; background: rgba(255,255,255,.18); z-index: 3; }
.film-progress span { display: block; height: 100%; width: 100%; background: #fff; transform-origin: left; transform: scaleX(0); }
.scroll-cue { position: absolute; right: var(--gutter); top: 50%; z-index: 2; display: flex; flex-direction: column; align-items: center; gap: 12px; font-family: var(--latin); font-size: 11px; letter-spacing: .2em; text-transform: uppercase; writing-mode: vertical-rl; color: rgba(255,255,255,.85); }
.scroll-cue::after { content: ""; width: 1px; height: 64px; background: linear-gradient(to bottom, #fff 50%, rgba(255,255,255,.25) 50%); background-size: 1px 200%; animation: cue 2.2s cubic-bezier(.6,0,.3,1) infinite; }
@keyframes cue { from { background-position: 0 100%; } to { background-position: 0 -100%; } }
.film video { animation: film-in 2.4s ease both; }
@keyframes film-in { from { transform: scale(1.06); opacity: 0; } to { transform: none; opacity: 1; } }
@media (max-width: 767px) { .scroll-cue { display: none; } }

.work-card figure { position: relative; }
.work-card figure::after { content: ""; position: absolute; inset: 0; background: rgba(0,0,0,0); transition: background .4s ease; }
.work-card:hover figure::after { background: rgba(0,0,0,.08); }

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { transition: none !important; animation: none !important; }
  .js .reveal, .js .split-lines .line > span { opacity: 1; transform: none; }
  .js .reveal-wipe { clip-path: none; }
  .biz-media img, .contact-bg img { transform: none !important; }
}

/* ---------- 私たちについて（/about/） ---------- */
.mvv-row { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 2.6fr); column-gap: 7%; }
.mvv-ja { font-family: var(--serif); font-size: 18px; letter-spacing: 0.08em; }
.mvv-statement { font-family: "Shippori Mincho", var(--serif); font-weight: 500; font-size: clamp(26px, 3vw, 42px); line-height: 1.65; letter-spacing: 0.08em; word-break: keep-all; overflow-wrap: anywhere; margin-bottom: 32px; }
.mvv-body p + p { margin-top: 1.4em; }
.mvv-body p { line-height: 2.1; }
.value-list { list-style: none; margin: 0; padding: 0; border-top: 1px solid var(--line); }
.value-list li { display: grid; grid-template-columns: 4em minmax(0, 1fr); gap: 16px; padding-block: 28px; border-bottom: 1px solid var(--line); }
.value-num { font-family: var(--latin); font-size: 13px; letter-spacing: 0.12em; color: var(--accent); padding-top: 6px; }
.value-list h3 { font-family: var(--serif); font-size: 21px; line-height: 1.6; margin-bottom: 8px; }
.value-list p { color: var(--muted); font-size: 16px; }
@media (max-width: 860px) { .mvv-row { grid-template-columns: 1fr; row-gap: 24px; } }

/* 社名に込めた想い: 暗い帯に辞書の見出し語のように「Capital」「Design」を大きく置く。背景にロゴの屋根を薄く */
.name-band { position: relative; overflow: hidden; background: #17181a; color: #f2f1ec; padding-block: clamp(80px, 11vw, 150px); }
.name-band::before { content: ""; position: absolute; right: -6vw; bottom: -4vw; width: min(62vw, 760px); aspect-ratio: 444 / 250; background: #fff; opacity: .05;
  -webkit-mask: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='148 28 444 250'%3E%3Cpath d='M148 188L365 28L432 74L148 278ZM445 88L592 188L592 278L390 132Z'/%3E%3C/svg%3E") no-repeat center / contain; mask: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='148 28 444 250'%3E%3Cpath d='M148 188L365 28L432 74L148 278ZM445 88L592 188L592 278L390 132Z'/%3E%3C/svg%3E") no-repeat center / contain; pointer-events: none; }
.name-band .eyebrow { color: rgba(242, 241, 236, .55); }
.name-grid { position: relative; display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 2.4fr); gap: 40px clamp(32px, 6vw, 96px); align-items: start; }
.name-title { font-family: var(--serif); font-weight: 400; font-size: 18px; letter-spacing: .14em; }
.name-entry { display: grid; grid-template-columns: minmax(0, 1fr) auto; align-items: end; gap: 8px 32px; padding-block: 18px 22px; border-top: 1px solid rgba(242, 241, 236, .22); }
.name-entry + .name-entry { border-bottom: 1px solid rgba(242, 241, 236, .22); }
.name-word { font-family: "Montserrat", var(--latin); font-weight: 300; font-size: clamp(52px, 8.4vw, 124px); line-height: 1; letter-spacing: .04em; text-transform: uppercase; }
.name-meta { text-align: right; padding-bottom: .5em; }
.name-ja { font-family: var(--serif); font-size: clamp(16px, 1.6vw, 20px); letter-spacing: .12em; }
.name-copy { margin-top: clamp(32px, 4vw, 48px); font-family: var(--serif); line-height: 2.2; letter-spacing: .06em; color: rgba(242, 241, 236, .78); }
@media (max-width: 760px) {
  .name-grid { grid-template-columns: 1fr; }
  .name-entry { grid-template-columns: 1fr; }
  .name-meta { text-align: left; padding-bottom: 0; }
  .name-copy br { display: none; }
}

/* 代表メッセージ：背景写真の上に白いカードを重ねる（TOP #message と /about/ 共通） */
.message-band { position: relative; padding-block: clamp(80px, 9vw, 120px) clamp(64px, 8vw, 110px); overflow: hidden; }
.message-bg { position: absolute; left: 0; top: 0; width: 76%; height: clamp(420px, 46vw, 640px); }
.message-bg img { width: 100%; height: 100%; object-fit: cover; object-position: 60% 50%; }
.message-bg::after { content: ""; position: absolute; inset: 0; background: linear-gradient(180deg, rgba(12,22,40,.15), rgba(12,22,40,.35)); }
.message-card { position: relative; margin-left: 14%; margin-top: clamp(180px, 20vw, 300px); background: var(--paper); padding: clamp(48px, 6vw, 88px) clamp(32px, 5vw, 80px); display: grid; grid-template-columns: minmax(0, 1.5fr) minmax(0, 1fr); column-gap: clamp(32px, 5vw, 72px); align-items: stretch; box-shadow: 0 30px 60px -40px rgba(0,0,0,.25); }
.message-text h2 { font-family: var(--serif); font-size: clamp(26px, 2.6vw, 34px); line-height: 1.5; letter-spacing: 0.06em; }
.message-catch { font-family: "Shippori Mincho", var(--serif); font-weight: 500; font-size: clamp(21px, 2vw, 27px); line-height: 1.8; letter-spacing: 0.08em; color: var(--accent); margin-block: 28px 32px; }
.message-body p { font-size: 15.5px; line-height: 2.15; color: #3b3b37; }
.message-body p + p { margin-top: 1.3em; }
.message-close { font-family: var(--serif); font-size: 17px !important; color: var(--ink) !important; border-left: 2px solid var(--accent); padding-left: 20px; margin-top: 2em !important; }
.message-figure { position: relative; min-height: 420px; }
.message-figure img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }
.message-figure figcaption { position: absolute; left: 0; right: 0; bottom: 0; padding: 48px 24px 20px; background: linear-gradient(180deg, rgba(0,0,0,0), rgba(0,0,0,.55)); color: #fff; font-family: var(--serif); font-size: 22px; letter-spacing: 0.14em; line-height: 1.4; }
.message-figure figcaption span { display: block; font-family: var(--sans); font-size: 12px; letter-spacing: 0.12em; opacity: .9; margin-bottom: 4px; }
.message-profile { margin-left: 14%; border-bottom: 1px solid var(--line); }
.message-profile summary { list-style: none; cursor: pointer; display: flex; align-items: baseline; gap: 16px; padding: 24px clamp(32px, 5vw, 80px); font-family: var(--serif); font-size: 18px; }
.message-profile summary::-webkit-details-marker { display: none; }
.message-profile summary .eyebrow { margin: 0; }
.message-profile summary::after { content: "+"; margin-left: auto; font-family: var(--latin); font-size: 22px; color: var(--muted); transition: transform .2s ease; }
.message-profile[open] summary::after { transform: rotate(45deg); }
.message-profile-body { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 2.4fr); column-gap: 7%; padding: 0 clamp(32px, 5vw, 80px) 32px; }
.profile-ja { font-family: var(--serif); font-size: 22px; letter-spacing: 0.1em; }
.profile-ja small { display: block; font-family: var(--sans); font-size: 12px; color: var(--muted); letter-spacing: 0.1em; }
.profile-career { margin: 0; padding-left: 1.2em; font-size: 15px; color: #3b3b37; }
.profile-career li + li { margin-top: .8em; }
@media (max-width: 960px) {
  .message-bg { width: 100%; height: 300px; }
  .message-card, .message-profile { margin-left: 0; }
  .message-card { margin-top: 160px; grid-template-columns: 1fr; row-gap: 40px; padding-inline: 24px; }
  .message-profile summary, .message-profile-body { padding-inline: 24px; }
  /* スマホ: 写真そのものに高さを持たせる（iPhoneのSafariで枠の高さが0になり、名前が本文に重なったため） */
  .message-figure { max-width: 420px; min-height: 0; align-self: start; }
  .message-figure img { position: static; display: block; width: 100%; height: auto; aspect-ratio: 4 / 5; object-fit: cover; }
  .message-profile-body { grid-template-columns: 1fr; row-gap: 16px; }
}
.nw { display: inline-block; } /* 句読点の後ろでだけ折り返す */
