/* =========================================================
   株式会社猫人間製作所  —  style.css
   白 × 墨黒 × 朱オレンジ1色。線と余白で見せる。
   ========================================================= */
:root {
  --ink: #1a1a1a;
  --paper: #ffffff;
  --accent: #f2542d;
  --mist: #f4f3f0;
  --gray: #6b6b6b;
  --line: #1a1a1a;
  --hair: #dcdad5;
  --jp: "Zen Kaku Gothic New", "Hiragino Kaku Gothic ProN", "Yu Gothic", sans-serif;
  --en: "Space Grotesk", "Zen Kaku Gothic New", sans-serif;
  --wrap: 1160px;
  --gutter: clamp(20px, 5vw, 56px);
  --header-h: 72px;
}

*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; scroll-padding-top: calc(var(--header-h) + 16px); -webkit-text-size-adjust: 100%; }
body {
  margin: 0; background: var(--paper); color: var(--ink);
  font-family: var(--jp); font-size: 16px; line-height: 1.95; letter-spacing: .04em;
  font-feature-settings: "palt"; -webkit-font-smoothing: antialiased; overflow-x: hidden;
}
img { max-width: 100%; height: auto; display: block; }
a { color: inherit; }
h1, h2, h3, p, ul, ol, dl, dd, figure { margin: 0; padding: 0; }
ul, ol { list-style: none; }
::selection { background: var(--accent); color: #fff; }
:focus-visible { outline: 2px solid var(--accent); outline-offset: 3px; }

.wrap { width: 100%; max-width: calc(var(--wrap) + var(--gutter) * 2); margin: 0 auto; padding: 0 var(--gutter); }
.en { font-family: var(--en); letter-spacing: .02em; }
.accent { color: var(--accent); }
.ib { display: inline-block; }
.sp-only { display: none; }
@media (max-width: 720px) { .sp-only { display: inline; } .pc-only { display: none; } }

/* ---------- Header ---------- */
.site-header {
  position: fixed; inset: 0 0 auto 0; z-index: 50; height: var(--header-h);
  background: rgba(255,255,255,.92); backdrop-filter: blur(10px); -webkit-backdrop-filter: blur(10px);
  border-bottom: 1px solid transparent; transition: border-color .3s;
}
.site-header.is-scrolled { border-bottom-color: var(--ink); }
.site-header .wrap { height: 100%; display: flex; align-items: center; justify-content: space-between; gap: 24px; }
.brand { display: flex; align-items: center; gap: 12px; text-decoration: none; }
.brand img.mark { width: 30px; height: auto; transition: transform .4s cubic-bezier(.3,1.6,.5,1); transform-origin: 50% 100%; }
.brand:hover img.mark { transform: rotate(-8deg) translateY(-2px); }
.brand img.word { height: 23px; width: auto; }
.gnav { display: flex; align-items: center; gap: clamp(14px, 2vw, 28px); }
.gnav a { font-family: var(--en); font-size: 13px; font-weight: 500; text-decoration: none; letter-spacing: .08em; position: relative; padding: 6px 0; }
.gnav a:not(.btn)::after { content: ""; position: absolute; left: 0; right: 0; bottom: 0; height: 2px; background: var(--accent); transform: scaleX(0); transform-origin: left; transition: transform .25s; }
.gnav a:not(.btn):hover::after { transform: scaleX(1); }
.menu-btn { display: none; }

/* ---------- Button (hover で猫耳が立つ) ---------- */
.btn {
  position: relative; display: inline-flex; align-items: center; gap: 10px;
  padding: 14px 28px; border: 1.5px solid var(--ink); border-radius: 999px;
  background: var(--ink); color: #fff; text-decoration: none;
  font-family: var(--jp); font-weight: 700; font-size: 14px; letter-spacing: .08em; line-height: 1.4;
  cursor: pointer; transition: background .25s, color .25s, transform .25s;
}
.btn::before, .btn::after {
  content: ""; position: absolute; top: 1px; width: 0; height: 0; z-index: -1;
  border-left: 8px solid transparent; border-right: 8px solid transparent; border-bottom: 13px solid var(--ink);
  transform: translateY(0) scaleY(0); transform-origin: 50% 100%; transition: transform .3s cubic-bezier(.3,1.8,.5,1);
}
.btn::before { left: 20px; } .btn::after { left: 44px; }
.btn:hover::before, .btn:hover::after { transform: translateY(-12px) scaleY(1); }
.btn:hover { transform: translateY(2px); }
.btn .arrow { display: inline-block; transition: transform .25s; font-family: var(--en); }
.btn:hover .arrow { transform: translateX(4px); }
.btn.ghost { background: transparent; color: var(--ink); }
.btn.ghost::before, .btn.ghost::after { border-bottom-color: var(--ink); }
.btn.accent-bg { background: var(--accent); border-color: var(--accent); color: #fff; }
.btn.accent-bg::before, .btn.accent-bg::after { border-bottom-color: var(--accent); }
.btn.sm { padding: 9px 20px; font-size: 12px; font-family: var(--en); }
.btn.sm::before { left: 14px; } .btn.sm::after { left: 34px; }
.btn.sm::before, .btn.sm::after { border-left-width: 6px; border-right-width: 6px; border-bottom-width: 10px; }
.btn.sm:hover::before, .btn.sm:hover::after { transform: translateY(-9px) scaleY(1); }

/* ---------- Hero ---------- */
.hero { position: relative; padding: calc(var(--header-h) + clamp(48px, 9vw, 120px)) 0 clamp(64px, 9vw, 120px); overflow: hidden; }
.hero-bottom { display: grid; grid-template-columns: 1.1fr .9fr; align-items: start; gap: 40px; }
.hero-kicker { font-family: var(--en); font-size: 13px; letter-spacing: .18em; display: flex; align-items: center; gap: 14px; margin-bottom: clamp(24px, 4vw, 44px); }
.hero-kicker::before { content: ""; width: 44px; height: 1.5px; background: var(--ink); }
.hero h1 { font-size: clamp(30px, 9.2vw, 108px); font-weight: 900; line-height: 1.22; letter-spacing: 0; white-space: nowrap; }
.hero h1 .line { display: block; overflow: hidden; padding-bottom: .06em; }
.hero h1 .line > span { display: inline-block; animation: rise .9s cubic-bezier(.2,.8,.2,1) both; }
.hero h1 .line:nth-child(2) > span { animation-delay: .12s; }
.hero h1 em { font-style: normal; color: var(--accent); }
.hero-lead { margin-top: clamp(28px, 4vw, 56px); max-width: 34em; font-size: 15px; color: #333; }
.hero-cta { margin-top: 36px; display: flex; flex-wrap: wrap; gap: 14px; }
/* 猫が左から歩いてきて、定位置に落ち着く */
.hero-visual { position: relative; justify-self: end; width: min(100%, 300px); margin-top: clamp(-90px, -5vw, 0px); margin-right: clamp(0px, 4vw, 64px); display: grid; justify-items: center; pointer-events: none; }
.hero-visual .walker { width: 62%; animation: walk-in 1.9s .3s cubic-bezier(.25,.7,.3,1) both; }
.hero-visual .hopper { transform-origin: 50% 100%; animation: hop .38s .3s ease-in-out 5 both, settle .7s 2.2s cubic-bezier(.3,1.6,.5,1) both; }
.hero-visual img { width: 100%; }
.hero-visual .ground { display: block; width: 128%; height: 1.5px; background: var(--ink); margin-top: 6px; transform-origin: 100% 50%; animation: draw 1.2s 1.6s cubic-bezier(.2,.8,.2,1) both; }
.trail { position: absolute; right: 94%; bottom: 6px; display: flex; gap: clamp(18px, 3vw, 34px); }
.trail svg { width: clamp(15px, 1.6vw, 20px); height: auto; fill: var(--ink); opacity: .55; transform: rotate(90deg); animation: print .5s both; }
.trail svg:nth-child(odd) { margin-top: -14px; } .trail svg:nth-child(even) { margin-top: 10px; }
.trail svg:nth-child(1) { animation-delay: 1.0s; opacity: .14; } .trail svg:nth-child(2) { animation-delay: 1.2s; opacity: .24; }
.trail svg:nth-child(3) { animation-delay: 1.4s; opacity: .38; } .trail svg:nth-child(4) { animation-delay: 1.6s; }
.trail svg:nth-child(5) { animation-delay: 1.8s; fill: var(--accent); opacity: 1; }
@keyframes walk-in { from { transform: translateX(-105vw); } to { transform: none; } }
@keyframes hop { 0%,100% { transform: translateY(0) rotate(0); } 50% { transform: translateY(-16%) rotate(4deg); } }
@keyframes settle { 0% { transform: scale(1.06,.9); } 100% { transform: none; } }
@keyframes draw { from { transform: scaleX(0); } to { transform: none; } }
@keyframes print { from { opacity: 0; transform: rotate(90deg) scale(.4); } }
.scroll-tail { position: absolute; left: var(--gutter); bottom: 22px; display: flex; align-items: center; gap: 10px; font-family: var(--en); font-size: 11px; letter-spacing: .2em; }
.scroll-tail svg { width: 26px; height: 44px; overflow: visible; }
.scroll-tail path { fill: none; stroke: var(--ink); stroke-width: 2.5; stroke-linecap: round; transform-origin: 50% 0; animation: wag 2.4s ease-in-out infinite; }

@keyframes rise { from { transform: translateY(105%); opacity: 0; } to { transform: none; opacity: 1; } }
@keyframes pop { from { transform: scale(0); } to { transform: scale(1); } }
@keyframes spin { to { transform: rotate(360deg); } }
@keyframes wag { 0%,100% { transform: rotate(-9deg); } 50% { transform: rotate(9deg); } }
@keyframes marquee { to { transform: translateX(-50%); } }

/* ---------- Section 共通 ---------- */
.section { padding: clamp(72px, 10vw, 140px) 0; position: relative; }
.section.mist { background: var(--mist); }
.section.dark { background: var(--ink); color: #fff; }
.sec-head { display: flex; align-items: flex-end; justify-content: space-between; gap: 24px; flex-wrap: wrap; margin-bottom: clamp(36px, 6vw, 72px); border-bottom: 1.5px solid currentColor; padding-bottom: 18px; }
.sec-head .label { font-family: var(--en); font-weight: 700; font-size: clamp(40px, 7vw, 88px); line-height: 1; letter-spacing: -.01em; }
.sec-head .label sup { font-size: 13px; font-weight: 500; letter-spacing: .1em; vertical-align: top; margin-right: 10px; position: relative; top: .5em; color: var(--accent); }
.sec-head .jp { font-size: 14px; font-weight: 700; letter-spacing: .14em; }

/* 足あとの区切り */
.paws { display: flex; justify-content: center; gap: 26px; padding: 8px 0; color: var(--ink); }
.paws svg { width: 22px; height: 22px; opacity: .85; }
.paws svg:nth-child(odd) { transform: translateY(-8px) rotate(-14deg); }
.paws svg:nth-child(even) { transform: translateY(8px) rotate(12deg); }
.paws svg:last-child { color: var(--accent); }

/* ---------- About ---------- */
.about-grid { display: grid; grid-template-columns: 1.1fr .9fr; gap: clamp(32px, 6vw, 88px); align-items: center; }
.about-quote { font-size: clamp(24px, 3.6vw, 44px); font-weight: 900; line-height: 1.6; letter-spacing: .02em; }
.about-quote .mark-line { background: linear-gradient(transparent 68%, rgba(242,84,45,.35) 68%); }
.about-body { margin-top: 32px; font-size: 16px; }
.about-body p + p { margin-top: 1.2em; }
.about-illust { position: relative; }
.about-illust img { width: 100%; max-width: 460px; margin-left: auto; }
.about-illust::after { content: ""; position: absolute; left: 8%; right: 0; bottom: 9%; height: 1.5px; background: var(--ink); z-index: -1; }

/* ---------- Works ---------- */
.works { border-top: 1.5px solid var(--ink); }
.work { display: grid; grid-template-columns: 90px 1fr 1.3fr; gap: clamp(16px, 4vw, 56px); padding: clamp(28px, 4vw, 48px) 0; border-bottom: 1.5px solid var(--ink); position: relative; transition: padding-left .3s; }
.work:hover { padding-left: 14px; }
.work::before { content: ""; position: absolute; left: 0; top: 0; bottom: 0; width: 4px; background: var(--accent); transform: scaleY(0); transform-origin: top; transition: transform .3s; }
.work:hover::before { transform: scaleY(1); }
.work .no { font-family: var(--en); font-size: 15px; font-weight: 500; color: var(--accent); padding-top: 8px; }
.work h3 { font-size: clamp(20px, 2.4vw, 28px); font-weight: 900; line-height: 1.5; }
.work h3 small { display: block; font-family: var(--en); font-size: 12px; font-weight: 500; letter-spacing: .14em; color: var(--gray); margin-top: 6px; }
.work .desc { font-size: 15px; }
.tags { display: flex; flex-wrap: wrap; gap: 8px; margin-top: 16px; }
.tags li { font-size: 12.5px; font-weight: 700; line-height: 1.4; padding: 6px 14px; border: 1.5px solid var(--ink); border-radius: 999px; background: #fff; }
.tags.fill li { background: var(--ink); color: #fff; }
.work .more { display: inline-block; margin-top: 16px; font-size: 13px; font-weight: 700; text-decoration: none; border-bottom: 1.5px solid var(--accent); }
.bignum { font-family: var(--en); font-weight: 700; font-size: 1.6em; color: var(--accent); line-height: 1; }

/* ---------- イマココナビ ---------- */
.imacoco-grid { display: grid; grid-template-columns: 1fr 1fr; gap: clamp(32px, 5vw, 72px); align-items: start; }
.imacoco-grid h3 { font-size: clamp(22px, 3vw, 34px); font-weight: 900; line-height: 1.6; margin-bottom: 24px; }
.imacoco-grid p + p { margin-top: 1.2em; }
.shot { border: 1.5px solid var(--ink); border-radius: 14px; overflow: hidden; background: #fff; box-shadow: 10px 10px 0 var(--accent); transition: transform .3s, box-shadow .3s; display: block; color: var(--ink); text-decoration: none; }
.shot:hover { transform: translate(-3px,-3px); box-shadow: 14px 14px 0 var(--accent); }
.shot .bar { display: flex; align-items: center; gap: 6px; padding: 10px 14px; border-bottom: 1.5px solid var(--ink); font-family: var(--en); font-size: 12px; }
.shot .bar i { width: 9px; height: 9px; border-radius: 50%; border: 1.5px solid var(--ink); }
.shot .bar span { margin-left: 8px; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.stats { display: grid; grid-template-columns: repeat(3, 1fr); margin-top: clamp(40px, 6vw, 72px); border: 1.5px solid currentColor; }
.stat { padding: clamp(20px, 3vw, 36px); border-right: 1.5px solid currentColor; }
.stat:last-child { border-right: 0; }
.stat .k { font-size: 13px; font-weight: 700; letter-spacing: .1em; }
.stat .v { font-family: var(--en); font-weight: 700; font-size: clamp(40px, 6.4vw, 84px); line-height: 1.1; margin-top: 6px; white-space: nowrap; }
.stat .v small { font-family: var(--jp); font-size: .32em; font-weight: 900; margin-left: 4px; }
.stat .v .accent { color: var(--accent); }
.ib { display: inline-block; }
.note { font-size: 13px; color: var(--gray); line-height: 1.8; }
.section.dark .note { color: #bdbdbd; }
.credit { margin-top: 28px; font-size: 13px; display: flex; flex-wrap: wrap; gap: 6px 24px; }
.credit b { font-weight: 700; margin-right: 8px; color: var(--accent); }
.civic { margin-top: 32px; padding: 20px 24px; border-left: 4px solid var(--accent); background: var(--mist); font-size: 14px; }
.section.dark .civic { background: #262626; }

/* ---------- 動画・関連リンク ---------- */
.video { position: relative; aspect-ratio: 16 / 9; border: 1.5px solid var(--ink); background: var(--ink); box-shadow: 10px 10px 0 var(--accent); max-width: 960px; margin: 0 auto; }
.video iframe { position: absolute; inset: 0; width: 100%; height: 100%; border: 0; }
.links { max-width: 960px; margin: clamp(48px, 7vw, 80px) auto 0; }
.links h3 { font-size: 13px; letter-spacing: .16em; margin-bottom: 8px; }
.links ul { border-top: 1.5px solid var(--ink); }
.links a { display: grid; grid-template-columns: 130px 1fr auto; gap: 16px; align-items: baseline; padding: 20px 4px; border-bottom: 1.5px solid var(--ink); text-decoration: none; transition: padding-left .25s, background .25s; }
.links a:hover { padding-left: 14px; background: var(--mist); }
.links .src { font-size: 12.5px; font-weight: 700; letter-spacing: .08em; color: var(--accent); }
.links .ttl { font-size: 15.5px; font-weight: 700; line-height: 1.7; }
.links .arrow { transition: transform .25s; }
.links a:hover .arrow { transform: translate(3px,-3px); }
@media (max-width: 720px) { .links a { grid-template-columns: 1fr auto; } .links .src { grid-column: 1 / -1; margin-bottom: -10px; } }

/* ---------- Media ---------- */
.marquee { overflow: hidden; border-top: 1.5px solid var(--ink); border-bottom: 1.5px solid var(--ink); padding: 18px 0; margin-bottom: clamp(40px, 6vw, 72px); }
.marquee-track { display: flex; width: max-content; animation: marquee 48s linear infinite; }
.marquee:hover .marquee-track { animation-play-state: paused; }
.marquee span { font-size: clamp(20px, 3vw, 34px); font-weight: 900; white-space: nowrap; padding: 0 22px; display: inline-flex; align-items: center; gap: 44px; }
.marquee span::after { content: ""; width: 10px; height: 10px; border-radius: 50%; background: var(--accent); }
.media-grid { display: grid; grid-template-columns: repeat(12, 1fr); gap: 0; border-top: 1.5px solid var(--ink); border-left: 1.5px solid var(--ink); }
.media-cat { grid-column: span 4; padding: clamp(20px, 3vw, 32px); border-right: 1.5px solid var(--ink); border-bottom: 1.5px solid var(--ink); background: #fff; }
.media-cat.wide { grid-column: span 6; }
.media-cat h3 { font-family: var(--en); font-size: 13px; letter-spacing: .16em; display: flex; align-items: baseline; gap: 10px; margin-bottom: 16px; }
.media-cat h3 b { font-family: var(--jp); font-size: 18px; font-weight: 900; letter-spacing: .08em; }
.media-cat h3 .count { margin-left: auto; color: var(--accent); font-weight: 700; }
.media-cat li { font-size: 15px; font-weight: 500; padding: 7px 0; border-bottom: 1px dashed var(--hair); line-height: 1.6; }
.media-cat li:last-child { border-bottom: 0; }
.asof { margin-top: 18px; text-align: right; font-size: 13px; color: var(--gray); }

/* ---------- Seminar ---------- */
.seminars { display: grid; grid-template-columns: repeat(2, 1fr); gap: clamp(28px, 4vw, 56px) clamp(24px, 4vw, 48px); }
.seminar:nth-child(even) { margin-top: clamp(0px, 5vw, 64px); }
.seminar figure { position: relative; border: 1.5px solid var(--ink); overflow: hidden; aspect-ratio: 16 / 10; background: var(--mist); }
.seminar figure img { width: 100%; height: 100%; object-fit: cover; transition: transform .6s cubic-bezier(.2,.8,.2,1); }
.seminar:hover figure img { transform: scale(1.04); }
.seminar .year { position: absolute; left: 0; top: 0; background: var(--ink); color: #fff; font-family: var(--en); font-weight: 700; font-size: 14px; padding: 6px 14px; letter-spacing: .08em; }
.seminar .more { font-size: 13px; font-weight: 700; text-decoration: none; border-bottom: 1.5px solid var(--accent); }
.seminar .org { margin-top: 18px; font-size: 13px; font-weight: 700; letter-spacing: .08em; color: var(--gray); }
.seminar h3 { font-size: clamp(17px, 1.9vw, 21px); font-weight: 900; line-height: 1.6; margin-top: 4px; }
.seminar .sub { font-size: 14px; margin-top: 6px; }
.thumbs { display: grid; grid-template-columns: repeat(2, 1fr); gap: 8px; margin-top: 8px; }
.thumbs img { border: 1.5px solid var(--ink); aspect-ratio: 16/10; object-fit: cover; width: 100%; }
.themes { margin-top: clamp(56px, 8vw, 96px); display: grid; grid-template-columns: .8fr 1.2fr; gap: clamp(24px, 5vw, 72px); padding: clamp(28px, 4vw, 48px); border: 1.5px solid var(--ink); background: #fff; position: relative; }
.themes h3 { font-size: clamp(20px, 2.4vw, 26px); font-weight: 900; line-height: 1.6; }
.themes p { font-size: 14.5px; margin-top: 12px; }
.themes .btn { margin-top: 24px; }
.peek { position: absolute; right: 40px; top: -37px; width: 84px; height: 38px; }

/* ---------- Message ---------- */
.message-grid { display: grid; grid-template-columns: .8fr 1.2fr; gap: clamp(32px, 6vw, 88px); align-items: start; }
.portrait { position: relative; }
.portrait img { border: 1.5px solid var(--ink); aspect-ratio: 4/5; object-fit: cover; object-position: 50% 20%; width: 100%; position: relative; z-index: 1; }
.portrait::before { content: ""; position: absolute; inset: 18px -18px -18px 18px; background: var(--accent); }
.message-grid h3 { font-size: clamp(22px, 3vw, 34px); font-weight: 900; line-height: 1.6; margin-bottom: 24px; }
.message-grid p + p { margin-top: 1.2em; }
.message-grid .sign { margin-top: 40px; font-size: 13px; letter-spacing: .1em; }
.sign b { display: block; font-size: 24px; font-weight: 900; letter-spacing: .16em; margin-top: 2px; }
.sign .en { font-size: 12px; color: var(--gray); letter-spacing: .16em; }

/* SNSリンク */
.sns-row { margin-top: 18px !important; }
.sns { display: inline-flex; align-items: center; gap: 8px; text-decoration: none; font-size: 13px; font-weight: 700; letter-spacing: .06em; padding: 7px 16px 7px 12px; border: 1.5px solid currentColor; border-radius: 999px; transition: background .25s, color .25s, border-color .25s; }
.sns .ig { width: 18px; height: 18px; flex: none; }
.sns .id { font-weight: 500; opacity: .75; }
.sns:hover { background: var(--accent); border-color: var(--accent); color: #fff; }
.sns:hover .id { opacity: 1; }

/* ---------- Company ---------- */
.company-grid { display: grid; grid-template-columns: 1.2fr .8fr; gap: clamp(32px, 6vw, 88px); }
.dl { border-top: 1.5px solid var(--ink); }
.dl > div { display: grid; grid-template-columns: 140px 1fr; gap: 16px; padding: 20px 0; border-bottom: 1px solid var(--hair); }
.dl dt { font-size: 13px; font-weight: 700; letter-spacing: .12em; padding-top: 2px; }
.dl dd { font-size: 15px; }
.dl dd li { position: relative; padding-left: 16px; }
.dl dd li::before { content: ""; position: absolute; left: 0; top: .9em; width: 7px; height: 1.5px; background: var(--accent); }
.history h3 { font-family: var(--en); font-size: 13px; letter-spacing: .16em; margin-bottom: 20px; }
.history ol { border-left: 1.5px solid var(--ink); margin-left: 5px; }
.history li { position: relative; padding: 0 0 32px 28px; }
.history li::before { content: ""; position: absolute; left: -7px; top: 9px; width: 12px; height: 12px; border-radius: 50%; background: #fff; border: 1.5px solid var(--ink); }
.history li:last-child::before { background: var(--accent); border-color: var(--accent); }
.history li:last-child { padding-bottom: 0; }
.history time { font-family: var(--en); font-weight: 700; font-size: 15px; display: block; }
.history p { font-size: 15px; font-weight: 500; }

/* ---------- Blog ---------- */
.posts { display: grid; grid-template-columns: repeat(3, 1fr); gap: clamp(20px, 3vw, 36px); }
.post-card { display: flex; flex-direction: column; text-decoration: none; border: 1.5px solid var(--ink); background: #fff; transition: transform .25s, box-shadow .25s; }
.post-card:hover { transform: translate(-3px,-3px); box-shadow: 8px 8px 0 var(--ink); }
.post-card .thumb { aspect-ratio: 16/9; background: var(--mist); border-bottom: 1.5px solid var(--ink); overflow: hidden; display: grid; place-items: center; }
.post-card .thumb img { width: 100%; height: 100%; object-fit: cover; }
.post-card .thumb img.ph { width: 22%; height: auto; object-fit: contain; opacity: .9; }
.post-card .body { padding: 20px 22px 24px; }
.post-card .meta { display: flex; gap: 12px; align-items: center; font-family: var(--en); font-size: 12px; letter-spacing: .08em; color: var(--gray); }
.post-card .cat { font-family: var(--jp); font-weight: 700; color: var(--accent); }
.post-card h3 { font-size: 16.5px; font-weight: 900; line-height: 1.65; margin-top: 8px; }
.posts-empty { grid-column: 1 / -1; padding: 40px; border: 1.5px dashed var(--ink); text-align: center; font-size: 14px; }
.sec-more { margin-top: 40px; text-align: right; }

/* ---------- Contact CTA ---------- */
.cta { background: var(--accent); color: #fff; padding: clamp(72px, 10vw, 128px) 0; position: relative; overflow: hidden; }
.cta .wrap { display: grid; grid-template-columns: 1.2fr .8fr; gap: 40px; align-items: center; }
.cta .label { font-family: var(--en); font-weight: 700; font-size: clamp(48px, 9vw, 128px); line-height: 1; letter-spacing: -.02em; }
.cta p { margin-top: 20px; font-size: 16px; font-weight: 500; max-width: 30em; }
.cta .btn { background: #fff; color: var(--ink); border-color: #fff; font-size: 16px; padding: 20px 40px; justify-self: end; }
.cta .btn::before, .cta .btn::after { border-bottom-color: #fff; border-left-width: 10px; border-right-width: 10px; border-bottom-width: 16px; }
.cta .btn::before { left: 26px; } .cta .btn::after { left: 58px; }
.cta .btn:hover::before, .cta .btn:hover::after { transform: translateY(-15px) scaleY(1); }
.cta-kinds { display: flex; flex-wrap: wrap; gap: 8px; margin-top: 24px; }
.cta-kinds li { font-size: 13px; font-weight: 700; padding: 5px 14px; border: 1.5px solid #fff; border-radius: 999px; line-height: 1.5; }

/* ---------- Footer ---------- */
.site-footer { background: var(--ink); color: #fff; padding: 72px 0 28px; position: relative; }
.site-footer .peek { top: -37px; right: auto; left: clamp(24px, 8vw, 120px); }
.footer-grid { display: grid; grid-template-columns: 1fr auto; gap: 40px; align-items: start; }
.footer-brand img { height: 84px; width: auto; filter: invert(1) brightness(2); }
.footer-brand address { font-style: normal; font-size: 13px; line-height: 1.9; margin-top: 20px; color: #cfcfcf; }
.footer-nav { display: grid; grid-template-columns: repeat(2, auto); gap: 8px 48px; }
.footer-nav a { font-family: var(--en); font-size: 13px; letter-spacing: .1em; text-decoration: none; color: #fff; opacity: .85; }
.footer-nav a:hover { opacity: 1; color: var(--accent); }
.copyright { margin-top: 56px; padding-top: 20px; border-top: 1px solid #3a3a3a; display: flex; justify-content: space-between; flex-wrap: wrap; gap: 8px; font-family: var(--en); font-size: 11px; letter-spacing: .1em; color: #9a9a9a; }
.copyright a { color: inherit; }

/* ---------- 下層ページ ---------- */
.page-hero { padding: calc(var(--header-h) + clamp(48px, 8vw, 96px)) 0 clamp(36px, 5vw, 64px); border-bottom: 1.5px solid var(--ink); }
.page-hero .label { font-family: var(--en); font-weight: 700; font-size: clamp(44px, 9vw, 120px); line-height: 1; letter-spacing: -.02em; }
.page-hero h1 { font-size: 15px; font-weight: 700; letter-spacing: .16em; margin-top: 18px; display: flex; align-items: center; gap: 12px; }
.page-hero h1::before { content: ""; width: 10px; height: 10px; border-radius: 50%; background: var(--accent); }
.crumbs { font-family: var(--en); font-size: 12px; letter-spacing: .08em; color: var(--gray); margin-bottom: 28px; }
.crumbs a { text-decoration: none; } .crumbs a:hover { color: var(--accent); }
.narrow { max-width: 800px; margin: 0 auto; }
.prose { font-size: 16px; }
.prose > * + * { margin-top: 1.4em; }
.prose h2 { font-size: clamp(20px, 2.6vw, 26px); font-weight: 900; line-height: 1.6; margin-top: 2.6em; padding-left: 16px; border-left: 5px solid var(--accent); }
.prose h3 { font-size: 18px; font-weight: 900; margin-top: 2em; }
.prose ul { padding-left: 0; }
.prose ul li { position: relative; padding-left: 20px; }
.prose ul li::before { content: ""; position: absolute; left: 2px; top: .85em; width: 8px; height: 8px; border-radius: 50%; border: 1.5px solid var(--accent); }
.prose img { border: 1.5px solid var(--ink); }
.prose figcaption { font-size: 13px; color: var(--gray); margin-top: 8px; }
.prose a { text-decoration-color: var(--accent); text-underline-offset: 4px; text-decoration-thickness: 1.5px; }
.prose blockquote { margin: 0; padding: 18px 24px; background: var(--mist); border-left: 4px solid var(--ink); }
.lead-xl { font-size: clamp(22px, 3.2vw, 36px); font-weight: 900; line-height: 1.7; }

/* 記事 */
.article-head { padding: calc(var(--header-h) + clamp(40px, 7vw, 80px)) 0 clamp(28px, 4vw, 48px); }
.article-head .meta { display: flex; gap: 14px; align-items: center; font-family: var(--en); font-size: 13px; letter-spacing: .08em; color: var(--gray); }
.article-head .cat { font-family: var(--jp); font-weight: 700; color: #fff; background: var(--accent); padding: 2px 12px; border-radius: 999px; font-size: 12px; }
.article-head h1 { font-size: clamp(26px, 4.2vw, 44px); font-weight: 900; line-height: 1.55; margin-top: 16px; }
.article-cover { border: 1.5px solid var(--ink); margin-bottom: clamp(32px, 5vw, 56px); width: 100%; }
.article-foot { margin-top: clamp(48px, 7vw, 80px); padding-top: 28px; border-top: 1.5px solid var(--ink); display: flex; justify-content: space-between; gap: 16px; flex-wrap: wrap; }
.blog-list .posts { grid-template-columns: repeat(3, 1fr); }

/* フォーム */
.form { display: grid; gap: 28px; }
.field label, .field .lbl { display: flex; align-items: center; gap: 10px; font-size: 14px; font-weight: 700; letter-spacing: .08em; margin-bottom: 10px; }
.req, .opt { font-size: 10.5px; font-weight: 700; padding: 1px 8px; border-radius: 3px; letter-spacing: .1em; line-height: 1.7; }
.req { background: var(--accent); color: #fff; } .opt { border: 1px solid var(--gray); color: var(--gray); }
.field input[type=text], .field input[type=email], .field input[type=tel], .field textarea {
  width: 100%; font: inherit; font-size: 16px; line-height: 1.7; color: var(--ink); background: #fff;
  border: 1.5px solid var(--ink); border-radius: 0; padding: 14px 16px; appearance: none; -webkit-appearance: none; transition: box-shadow .2s;
}
.field textarea { min-height: 200px; resize: vertical; }
.field input:focus, .field textarea:focus { outline: none; box-shadow: 5px 5px 0 var(--accent); }
.field .hint { font-size: 12.5px; color: var(--gray); margin-top: 6px; line-height: 1.7; }
.kinds { display: grid; grid-template-columns: repeat(2, 1fr); gap: 10px; }
.kinds label { margin: 0; position: relative; cursor: pointer; }
.kinds input { position: absolute; opacity: 0; }
.kinds span { display: flex; align-items: center; gap: 10px; width: 100%; padding: 14px 16px; border: 1.5px solid var(--ink); font-size: 14.5px; font-weight: 700; letter-spacing: .04em; transition: background .2s, color .2s; }
.kinds span::before { content: ""; flex: none; width: 14px; height: 14px; border-radius: 50%; border: 1.5px solid currentColor; }
.kinds input:checked + span { background: var(--ink); color: #fff; }
.kinds input:checked + span::before { background: var(--accent); border-color: var(--accent); }
.kinds input:focus-visible + span { outline: 2px solid var(--accent); outline-offset: 3px; }
.agree { display: flex; gap: 12px; align-items: flex-start; font-size: 14px; cursor: pointer; }
.agree input { width: 20px; height: 20px; margin-top: 5px; accent-color: var(--accent); flex: none; }
.form-error { display: none; padding: 14px 18px; border: 1.5px solid var(--accent); color: var(--accent); font-size: 14px; font-weight: 700; }
.form-error.show { display: block; }
.thanks { display: none; text-align: center; padding: clamp(40px, 6vw, 72px) 24px; border: 1.5px solid var(--ink); }
.thanks.show { display: block; }
.thanks img { width: 72px; margin: 0 auto 20px; }
.thanks h2 { font-size: 24px; font-weight: 900; }
.thanks p { margin-top: 12px; font-size: 15px; }
.thanks .btn { margin-top: 28px; }
.hidden { display: none !important; }

/* 404 */
.lost { min-height: 78vh; display: grid; place-items: center; text-align: center; padding: calc(var(--header-h) + 48px) 24px 72px; }
.lost .code { font-family: var(--en); font-weight: 700; font-size: clamp(96px, 22vw, 260px); line-height: .9; letter-spacing: -.04em; display: flex; align-items: center; justify-content: center; gap: .04em; }
.lost .code img { height: .78em; width: auto; animation: wag 3s ease-in-out infinite; transform-origin: 50% 100%; }
.lost h1 { font-size: 22px; font-weight: 900; margin-top: 28px; }
.lost p { margin-top: 10px; font-size: 15px; color: var(--gray); }
.lost .btn { margin-top: 32px; }

/* ---------- Reveal ---------- */
.reveal { opacity: 0; transform: translateY(28px); transition: opacity .8s cubic-bezier(.2,.8,.2,1), transform .8s cubic-bezier(.2,.8,.2,1); }
.reveal.in { opacity: 1; transform: none; }
.no-js .reveal { opacity: 1; transform: none; }

/* ---------- Responsive ---------- */
@media (max-width: 960px) {
  .gnav { position: fixed; inset: var(--header-h) 0 0 0; background: #fff; flex-direction: column; align-items: flex-start; justify-content: flex-start; gap: 0; padding: 12px var(--gutter) 40px; transform: translateX(100%); transition: transform .4s cubic-bezier(.2,.8,.2,1); overflow-y: auto; height: calc(100dvh - var(--header-h)); }
  .gnav.open { transform: none; }
  .gnav a:not(.btn) { width: 100%; font-size: 26px; font-weight: 700; padding: 16px 0; border-bottom: 1px solid var(--hair); }
  .gnav a:not(.btn)::after { display: none; }
  .gnav .btn { margin-top: 28px; font-size: 15px; padding: 16px 32px; }
  .menu-btn { display: grid; place-items: center; width: 46px; height: 46px; border: 1.5px solid var(--ink); border-radius: 50%; background: #fff; cursor: pointer; padding: 0; }
  .menu-btn span { display: block; width: 18px; height: 1.5px; background: var(--ink); position: relative; transition: background .2s; }
  .menu-btn span::before, .menu-btn span::after { content: ""; position: absolute; left: 0; width: 18px; height: 1.5px; background: var(--ink); transition: transform .3s; }
  .menu-btn span::before { top: -6px; } .menu-btn span::after { top: 6px; }
  .menu-btn[aria-expanded=true] span { background: transparent; }
  .menu-btn[aria-expanded=true] span::before { transform: translateY(6px) rotate(45deg); }
  .menu-btn[aria-expanded=true] span::after { transform: translateY(-6px) rotate(-45deg); }
  .media-cat, .media-cat.wide { grid-column: span 6; }
  .posts, .blog-list .posts { grid-template-columns: repeat(2, 1fr); }
}
@media (max-width: 720px) {
  :root { --header-h: 64px; }
  body { font-size: 15px; }
  .hero-bottom { grid-template-columns: 1fr; }
  .hero-visual { width: 46vw; justify-self: end; margin: 28px 8vw 0 0; }
  .hero { padding-bottom: 96px; }
  .about-grid, .imacoco-grid, .message-grid, .company-grid, .themes, .cta .wrap, .footer-grid { grid-template-columns: 1fr; }
  .about-illust img { max-width: 300px; margin: 0 auto; }
  .work { grid-template-columns: 44px 1fr; }
  .work .desc { grid-column: 2; }
  .stats { grid-template-columns: 1fr; }
  .stat { border-right: 0; border-bottom: 1.5px solid currentColor; }
  .stat:last-child { border-bottom: 0; }
  .media-cat, .media-cat.wide { grid-column: span 12; }
  .seminars { grid-template-columns: 1fr; }
  .seminar:nth-child(even) { margin-top: 0; }
  .portrait { max-width: 320px; margin-right: 18px; }
  .dl > div { grid-template-columns: 1fr; gap: 4px; padding: 16px 0; }
  .posts, .blog-list .posts { grid-template-columns: 1fr; }
  .cta .btn { justify-self: start; }
  .kinds { grid-template-columns: 1fr; }
  .brand img.word { height: 19px; }
  .peek { right: 24px; }
}
@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { animation: none !important; transition: none !important; }
  html { scroll-behavior: auto; }
  .reveal { opacity: 1; transform: none; }
}
