/* =========================================================
   サイファーデザイン コーポレートサイト トップ（仮）
   作り・動きは sites/nichiei-c（案1）を下敷きにしている
   色：ロゴの黒を主に、白・ごく薄い青みのグレー、差し色に公式サイトのピンク〜紫のグラデーション
   ========================================================= */

:root {
  --main: #0b0b0b;                    /* ロゴの黒 */
  --dark-2: #2a2a31;
  --dark: #111116;
  --ink: #18181d;
  --text: #45454d;
  --mute: #8b8b94;
  --line: #e6e6ec;
  --gray: #f5f9fc;                    /* 公式サイトの薄い背景色 */
  --gray-2: #eef2f6;
  --accent: #f0568c;                  /* ピンク（小さな文字にも使うので少し濃いめ） */
  --pink: #fa7296;
  --purple: #d681f6;
  --grad: linear-gradient(100deg, var(--pink) 0%, var(--purple) 100%);
  --white: #fff;

  --en: "Outfit", "Zen Kaku Gothic New", sans-serif;
  --ja: "Zen Kaku Gothic New", "Hiragino Kaku Gothic ProN", "Yu Gothic", sans-serif;

  --ease: cubic-bezier(.22, 1, .36, 1);
  --ease-io: cubic-bezier(.76, 0, .24, 1);
  --ease-soft: cubic-bezier(.33, 1, .68, 1);

  --gl: 64px;                         /* 左右のガイド線の位置 */
  --pad: calc(var(--gl) + 56px);      /* 文字の左右の余白 */
  --sec: clamp(140px, 13vw, 210px);   /* セクションの上下 */
}

*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; overflow-x: hidden; overflow-x: clip; }
body {
  margin: 0;
  background: var(--white);
  color: var(--text);
  font-family: var(--ja);
  font-size: 15px;
  line-height: 2;
  letter-spacing: .04em;
  font-feature-settings: "palt" 1;
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden; overflow-x: clip;
}
img { display: block; max-width: 100%; height: auto; }
a { color: inherit; text-decoration: none; }
button { font: inherit; color: inherit; background: none; border: 0; padding: 0; cursor: pointer; }
h1, h2, h3, p, ul, ol, dl, dd, figure, blockquote { margin: 0; padding: 0; }
ul, ol { list-style: none; }
table { border-collapse: collapse; }
:focus-visible { outline: 2px solid var(--accent); outline-offset: 3px; }
.nw { white-space: nowrap; display: inline-block; }
br.sp { display: none; }

.wrap { width: min(1200px, 100% - var(--pad) * 2); margin-inline: auto; position: relative; }
.wrap--narrow { width: min(980px, 100% - var(--pad) * 2); }
main { position: relative; z-index: 1; }

/* ---------- 部品：矢印・山形・ボタン ---------- */
.arrow {
  position: relative; display: inline-block; flex: none;
  width: 30px; height: 1px; background: currentColor;
  transition: width .6s var(--ease), transform .6s var(--ease);
}
.arrow::after {
  content: ""; position: absolute; right: 0; top: -3px;
  width: 7px; height: 7px; border-top: 1px solid currentColor; border-right: 1px solid currentColor;
  transform: rotate(45deg); transform-origin: 100% 0; top: 0;
}
.arrow--lg { width: 48px; }
.chev { display: inline-block; width: 8px; height: 8px; border-top: 1.5px solid currentColor; border-right: 1.5px solid currentColor; transform: rotate(45deg); transition: transform .5s var(--ease); }
.chev--l { transform: rotate(-135deg); }

.btn {
  position: relative; display: inline-flex; align-items: center; gap: 28px;
  padding: 20px 30px 20px 34px; min-height: 64px;
  background: var(--main); color: #fff; font-weight: 700; font-size: 15px; letter-spacing: .1em;
  overflow: hidden; isolation: isolate;
  transition: color .5s var(--ease);
}
.btn::before {
  content: ""; position: absolute; inset: 0; z-index: -1; background: var(--grad);
  transform: scaleX(0); transform-origin: right; transition: transform .7s var(--ease);
}
.btn:hover::before { transform: scaleX(1); transform-origin: left; }
.btn:hover .arrow, a:hover > .arrow, a:hover > .arrow--lg { width: 46px; }
.btn--line { background: transparent; color: var(--main); box-shadow: inset 0 0 0 1px var(--main); }
.btn--line::before { background: var(--main); }
.btn--line:hover { color: #fff; }
.btn--white { background: #fff; color: var(--main); }
.btn--white:hover { color: #fff; }

/* ---------- 0 ガイド線・ヘッダー・縦のラベル ---------- */
.guides { position: fixed; inset: 0; z-index: 0; pointer-events: none; }
.guides span { position: absolute; top: 0; bottom: 0; width: 1px; background: var(--line); transform-origin: top; }
.guides span:nth-child(1) { left: var(--gl); }
.guides span:nth-child(2) { left: 50%; background: linear-gradient(var(--line), var(--line)) ; opacity: .7; }
.guides span:nth-child(3) { right: var(--gl); }

.header { position: fixed; inset: 0 0 auto 0; z-index: 60; height: 0; }
.menu-btn {
  position: fixed; left: 0; top: 0; z-index: 2;
  width: var(--gl); height: var(--gl);
  background: var(--main); color: #fff;
  display: grid; place-items: center; align-content: center; gap: 7px;
  transition: background .5s var(--ease);
}
.menu-btn:hover { background: var(--grad); }
.menu-btn__bars { position: relative; width: 24px; height: 8px; display: block; }
.menu-btn__bars i { position: absolute; left: 0; width: 100%; height: 1.5px; background: currentColor; transition: transform .6s var(--ease), width .6s var(--ease), top .6s var(--ease); }
.menu-btn__bars i:nth-child(1) { top: 0; }
.menu-btn__bars i:nth-child(2) { top: 6.5px; width: 62%; }
.menu-btn:hover .menu-btn__bars i:nth-child(2) { width: 100%; }
.menu-btn__txt { font-family: var(--en); font-size: 8.5px; letter-spacing: .28em; line-height: 1; padding-left: .28em; }
.is-menu-open .menu-btn__bars i:nth-child(1) { top: 3.25px; transform: rotate(28deg); }
.is-menu-open .menu-btn__bars i:nth-child(2) { top: 3.25px; width: 100%; transform: rotate(-28deg); }

.header__tag {
  position: fixed; left: calc(var(--gl) + 30px); top: 18px;
  font-family: var(--en); font-weight: 700; font-size: 15px; line-height: 1.08; letter-spacing: .06em;
  color: var(--main);
  transition: opacity .6s var(--ease), transform .6s var(--ease), color .4s;
}
.is-scrolled .header__tag { opacity: 0; transform: translateY(-8px); pointer-events: none; }
.is-menu-open .header__tag { opacity: 1; transform: none; color: #fff; }

.header__right { position: fixed; right: 0; top: 0; display: flex; align-items: stretch; height: var(--gl); }
.header__logo { display: grid; place-items: center; padding: 0 22px; background: #fff; }
.header__logo img { width: 156px; height: auto; }
.header__entry {
  display: inline-flex; align-items: center; gap: 16px; padding: 0 26px 0 28px;
  background: var(--main); color: #fff;
  font-family: var(--en); font-weight: 500; font-size: 13px; letter-spacing: .26em;
  position: relative; overflow: hidden; isolation: isolate;
}
.header__entry::before { content: ""; position: absolute; inset: 0; z-index: -1; background: var(--grad); transform: translateY(101%); transition: transform .6s var(--ease); }
.header__entry:hover::before { transform: none; }
.header__entry .arrow { width: 22px; }
.header__entry:hover .arrow { width: 34px; }

.side {
  position: fixed; top: 50%; z-index: 30; width: var(--gl);
  display: flex; flex-direction: column; align-items: center; gap: 14px;
  font-family: var(--en); font-size: 10.5px; letter-spacing: .3em; color: var(--main);
  transform: translateY(-50%); pointer-events: none;
  mix-blend-mode: multiply;
}
.side--l { left: 0; }
.side--r { right: 0; }
.side__num { font-size: 13px; font-weight: 500; letter-spacing: .14em; transition: opacity .4s, transform .4s var(--ease); }
.side__line { width: 1px; height: 46px; background: var(--main); opacity: .5; }
.side--l .side__line { width: 46px; height: 1px; transform: translateX(23px); background: var(--main); opacity: .7; }
.side__label { writing-mode: vertical-rl; line-height: 1; white-space: nowrap; transition: opacity .4s, transform .4s var(--ease); }
.side.is-flip .side__num, .side.is-flip .side__label { opacity: 0; transform: translateY(8px); }

/* 全画面メニュー */
.gnav {
  position: fixed; inset: 0; z-index: 55;
  background: var(--dark); color: #fff;
  clip-path: circle(0 at calc(var(--gl) / 2) calc(var(--gl) / 2));
  visibility: hidden;
  transition: clip-path 1s var(--ease-io), visibility 0s 1s;
  overflow-y: auto;
}
.gnav::before {
  content: ""; position: absolute; inset: 0; pointer-events: none;
  background-image: linear-gradient(rgba(255,255,255,.04) 1px, transparent 1px), linear-gradient(90deg, rgba(255,255,255,.04) 1px, transparent 1px);
  background-size: 64px 64px;
}
.is-menu-open .gnav { clip-path: circle(150% at calc(var(--gl) / 2) calc(var(--gl) / 2)); visibility: visible; transition: clip-path 1.1s var(--ease-io), visibility 0s; }
.gnav__inner {
  position: relative; min-height: 100%;
  width: min(1200px, 100% - var(--pad) * 2); margin-inline: auto;
  display: grid; grid-template-columns: 1.4fr 1fr; gap: 80px; align-items: center;
  padding: 120px 0 80px;
}
.gnav__list li { overflow: hidden; border-bottom: 1px solid rgba(255,255,255,.1); }
.gnav__list a {
  display: grid; grid-template-columns: 48px auto 1fr; align-items: baseline; gap: 18px;
  padding: 14px 0;
  opacity: 0; transform: translateY(110%);
  transition: opacity .5s var(--ease), transform .9s var(--ease);
}
.is-menu-open .gnav__list a { opacity: 1; transform: none; transition-delay: calc(var(--i, 0) * 60ms + 350ms); }
.gnav__list .n { font-family: var(--en); font-size: 12px; color: var(--accent); letter-spacing: .14em; }
.gnav__list .en { font-family: var(--en); font-size: clamp(26px, 3vw, 40px); font-weight: 400; letter-spacing: .16em; line-height: 1.2; transition: letter-spacing .6s var(--ease), color .4s; }
.gnav__list .ja { font-size: 12px; opacity: .6; letter-spacing: .14em; }
.gnav__list a:hover .en { letter-spacing: .26em; color: #f5a8c4; }
.gnav__side { opacity: 0; transform: translateY(24px); transition: opacity .6s var(--ease), transform .9s var(--ease); }
.is-menu-open .gnav__side { opacity: 1; transform: none; transition-delay: .8s; }
.gnav__lead { font-size: 24px; font-weight: 700; line-height: 1.7; letter-spacing: .12em; margin-bottom: 36px; }
.gnav__tel { display: flex; align-items: baseline; gap: 14px; margin-top: 40px; font-family: var(--en); font-size: 34px; letter-spacing: .06em; }
.gnav__tel .en { font-size: 12px; letter-spacing: .3em; color: var(--accent); }
.gnav__note { font-size: 12px; opacity: .65; }
.is-menu-open { overflow: hidden; }
.is-menu-open .header__logo { box-shadow: none; }

/* ---------- 読み込み時・スクロールの出方 ---------- */
.js [data-reveal] {
  opacity: 0; transform: translate3d(0, 44px, 0);
  transition: opacity 1.1s var(--ease-soft), transform 1.3s var(--ease);
  transition-delay: var(--d, 0s);
}
.js [data-reveal].is-in { opacity: 1; transform: none; }

.js [data-reveal="clip"] { opacity: 1; transform: none; clip-path: inset(0 0 100% 0); transition: clip-path 1.5s var(--ease-io); transition-delay: var(--d, 0s); }
.js [data-reveal="clip"] img { transform: scale(1.18); transition: transform 2.2s var(--ease); transition-delay: var(--d, 0s); }
.js [data-reveal="clip"].is-in { clip-path: inset(0 0 0 0); }
.js [data-reveal="clip"].is-in img { transform: none; }

.js [data-reveal="chars"], .js [data-reveal="line"] { opacity: 1; transform: none; }
.char { display: inline-block; white-space: pre; }
.js [data-reveal="chars"] .char {
  opacity: 0; transform: translate3d(0, .5em, 0); filter: blur(6px);
  transition: opacity 1s var(--ease-soft), transform 1.2s var(--ease), filter 1s var(--ease-soft);
  transition-delay: calc(var(--ci) * 42ms + var(--d, 0s));
}
.js [data-reveal="chars"].is-in .char { opacity: 1; transform: none; filter: none; }

/* ---------- 1 ヒーロー ---------- */
.top { position: relative; overflow: hidden; }
.top__band {
  position: absolute; z-index: 0;
  width: 34vw; height: 300%; left: 47%; top: -95%;
  transform: rotate(-36deg); transform-origin: center;
  background: linear-gradient(180deg, #fbeef4 0%, #f6f0fb 55%, rgba(246,240,251,0) 100%);
  overflow: hidden;
}
.top__band::before {
  content: ""; position: absolute; inset: 0;
  background: radial-gradient(rgba(214,129,246,.35) 1px, transparent 1.4px) 0 0 / 22px 22px;
  opacity: .5;
  -webkit-mask-image: linear-gradient(180deg, #000 30%, transparent 75%); mask-image: linear-gradient(180deg, #000 30%, transparent 75%);
}

.hero {
  --pw: clamp(220px, 21vw, 320px);
  --ph: calc(var(--pw) * 1.5);
  position: relative; z-index: 1;
  min-height: max(800px, 100svh);
  display: grid; place-items: center;
  padding: 120px 0 120px;
}
.hero__stage { position: relative; width: 100%; height: var(--ph); }
.hero__photo {
  position: absolute; left: 50%; top: 0; z-index: 2;
  width: var(--pw); height: var(--ph); margin-left: calc(var(--pw) / -2);
  overflow: hidden; background: var(--gray-2);
}
.hero__photo img { width: 100%; height: 100%; object-fit: cover; transform: translate3d(0, var(--hy, 0px), 0) scale(1.08); }

.hero__orbit {
  position: absolute; left: 50%; top: 50%;
  width: calc(var(--pw) * 3.3); height: auto; aspect-ratio: 1000 / 400;
  transform: translate(-50%, -50%) rotate(-21deg);
  overflow: visible; pointer-events: none;
}
.hero__orbit ellipse { fill: none; stroke: var(--accent); stroke-width: 1.1; vector-effect: non-scaling-stroke; stroke-dasharray: 1; stroke-dashoffset: 0; }
.hero__orbit--back { z-index: 1; }
.hero__orbit--front { z-index: 4; clip-path: inset(50% 0 0 0); }

.hero__en {
  position: absolute; inset: 0; z-index: 3;
  display: flex; flex-direction: column; justify-content: center; align-items: center; gap: .1em;
  font-family: var(--en); font-weight: 500;
  font-size: clamp(64px, 8.4vw, 134px); line-height: 1.04;
  color: var(--main); pointer-events: none; user-select: none;
}
.hero__en .w { display: block; letter-spacing: .42em; padding-left: .42em; white-space: nowrap; }
.hero__en--inv { color: #fff; clip-path: inset(0 calc(50% - var(--pw) / 2)); z-index: 3; }

.hero__stamp {
  position: absolute; z-index: 5; width: 92px; height: 92px;
  left: calc(50% + var(--pw) / 2 - 46px); top: -46px;
}
.hero__stamp svg { width: 100%; height: 100%; animation: spin 26s linear infinite; }
.hero__stamp text { font-family: var(--en); font-size: 8.2px; letter-spacing: .12em; fill: var(--accent); font-weight: 500; }
.hero__stamp-mark { position: absolute; inset: 0; display: grid; place-items: center; }
.hero__stamp-mark::before { content: ""; width: 22px; height: 22px; background: var(--grad); clip-path: polygon(50% 0, 60% 40%, 100% 50%, 60% 60%, 50% 100%, 40% 60%, 0 50%, 40% 40%); }
@keyframes spin { to { transform: rotate(360deg); } }

.hero__note { position: absolute; z-index: 2; top: calc(100% + 8px); left: calc(50% - var(--pw) / 2); font-size: 10px; color: var(--mute); letter-spacing: .1em; line-height: 1.4; }

.hero__copy {
  position: absolute; z-index: 5;
  left: calc(50% + var(--pw) / 2 + 44px);
  bottom: calc((100% - var(--ph)) / 2 - 2px);
  width: min(330px, 50vw - var(--pw) / 2 - var(--gl) - 70px);
}
.hero__catch { color: var(--main); font-size: clamp(19px, 1.65vw, 24px); font-weight: 700; line-height: 1.75; letter-spacing: .14em; }
.hero__catch .nw { overflow: hidden; vertical-align: top; }
.hero__sub { margin-top: 18px; font-size: 13px; line-height: 2.05; color: var(--text); }

.news {
  position: absolute; z-index: 6; left: 0; bottom: 74px;
  width: min(420px, 50vw - var(--pw) / 2 - 30px);
  background: #fff; box-shadow: 0 24px 60px -24px rgba(11,11,16, .25), 0 2px 6px rgba(11,11,16,.04);
  padding: 22px 26px 18px calc(var(--gl) + 22px);
}
.news__head { display: flex; align-items: center; gap: 14px; font-size: 11px; color: var(--mute); letter-spacing: .14em; line-height: 1; margin-bottom: 8px; }
.news__head span { font-family: var(--en); font-weight: 600; color: var(--main); letter-spacing: .3em; font-size: 11px; }
.news li + li { border-top: 1px solid var(--line); }
.news a { display: grid; grid-template-columns: auto 1fr auto; gap: 16px; align-items: center; padding: 12px 0; font-size: 12.5px; line-height: 1.6; color: var(--ink); }
.news time { font-family: var(--en); font-size: 11.5px; letter-spacing: .1em; color: var(--main); font-weight: 500; }
.news .chev { width: 6px; height: 6px; color: var(--mute); }
.news a:hover .chev { transform: translateX(4px) rotate(45deg); color: var(--accent); }
.news a:hover span { color: var(--main); }

.scroll {
  position: absolute; z-index: 5; left: 50%; bottom: 0; transform: translateX(-50%);
  display: flex; flex-direction: column; align-items: center; gap: 12px;
  font-family: var(--en); font-size: 10px; letter-spacing: .34em; color: var(--main);
}
.scroll span { writing-mode: vertical-rl; }
.scroll i { position: relative; width: 1px; height: 76px; background: var(--line); overflow: hidden; }
.scroll i::after { content: ""; position: absolute; inset: 0; background: var(--main); animation: drip 2.4s var(--ease-io) infinite; }
@keyframes drip { 0% { transform: translateY(-100%); } 55% { transform: translateY(0); } 100% { transform: translateY(100%); } }

/* ヒーローの最初の動き（.is-loaded で開始） */
.js .guides span { transform: scaleY(0); transition: transform 1.8s var(--ease-io); }
.js .guides span:nth-child(2) { transition-delay: .15s; }
.js .guides span:nth-child(3) { transition-delay: .3s; }
.is-loaded .guides span { transform: none; }

.js .top__band { clip-path: inset(0 0 100% 0); transition: clip-path 2s var(--ease-io) .2s; }
.is-loaded .top__band { clip-path: inset(0 0 0 0); }

.js .hero__photo { clip-path: inset(100% 0 0 0); transition: clip-path 1.5s var(--ease-io) .45s; }
.js .hero__photo img { transform: scale(1.35); transition: transform 2.6s var(--ease) .45s; }
.is-loaded .hero__photo { clip-path: inset(0 0 0 0); }
.is-loaded .hero__photo img { transform: translate3d(0, var(--hy, 0px), 0) scale(1.08); transition: transform 2.6s var(--ease) .45s; }
.is-ready .hero__photo img { transition: none; }

.js .hero__en .w { letter-spacing: 1.1em; padding-left: 1.1em; transition: letter-spacing 2.4s var(--ease) .9s, padding-left 2.4s var(--ease) .9s; }
.is-loaded .hero__en .w { letter-spacing: .42em; padding-left: .42em; }
.js .hero__en .char { opacity: 0; filter: blur(10px); transform: translateY(.18em); transition: opacity 1.2s var(--ease-soft), filter 1.2s var(--ease-soft), transform 1.6s var(--ease); transition-delay: calc(var(--ci) * 75ms + .95s); }
.is-loaded .hero__en .char { opacity: 1; filter: none; transform: none; }

.js .hero__orbit ellipse { stroke-dashoffset: 1; transition: stroke-dashoffset 2.6s var(--ease-io) 1.5s; }
.js .hero__orbit--front ellipse { transition-delay: 1.5s; }
.is-loaded .hero__orbit ellipse { stroke-dashoffset: 0; }

.js .hero__stamp { opacity: 0; transform: scale(.6) rotate(-40deg); transition: opacity 1s var(--ease-soft) 2.2s, transform 1.6s var(--ease) 2.2s; }
.is-loaded .hero__stamp { opacity: 1; transform: none; }

.js .hero__catch .nw > span { display: inline-block; transform: translateY(105%); transition: transform 1.3s var(--ease) 1.9s; }
.js .hero__catch .nw + br + .nw > span { transition-delay: 2.05s; }
.is-loaded .hero__catch .nw > span { transform: none; }
.js .hero__sub, .js .hero__note { opacity: 0; transform: translateY(14px); transition: opacity 1.2s var(--ease-soft) 2.3s, transform 1.4s var(--ease) 2.3s; }
.is-loaded .hero__sub, .is-loaded .hero__note { opacity: 1; transform: none; }

.js .news { transform: translateX(-104%); transition: transform 1.5s var(--ease) 2.4s; }
.is-loaded .news { transform: none; }

.js .scroll, .js .header__tag, .js .header__right, .js .side { opacity: 0; transition: opacity 1.2s var(--ease-soft) 1.4s, transform .6s var(--ease); }
.is-loaded .scroll, .is-loaded .header__tag, .is-loaded .header__right, .is-loaded .side { opacity: 1; }
.is-loaded.is-scrolled .header__tag { opacity: 0; transition-delay: 0s; }
.is-loaded.is-menu-open .header__tag { opacity: 1; }
.is-ready .header__tag { transition-delay: 0s; }

/* ---------- 2 ステートメント ---------- */
.statement { position: relative; z-index: 1; text-align: center; padding: 150px 0 var(--sec); }
.statement__en {
  display: inline-flex; align-items: center; gap: 18px;
  font-family: var(--en); font-size: 11px; letter-spacing: .4em; color: var(--accent); margin-bottom: 48px;
}
.statement__en::before, .statement__en::after { content: ""; width: 36px; height: 1px; background: var(--accent); }
.statement__text { font-size: clamp(22px, 2.35vw, 34px); font-weight: 500; line-height: 2.25; letter-spacing: .34em; color: var(--ink); padding-left: .34em; }
.statement__sub { margin-top: 48px; font-size: 14px; letter-spacing: .2em; line-height: 2.2; color: var(--text); }

/* ---------- セクション共通 ---------- */
.sec { position: relative; padding: var(--sec) 0; }
.sec-head { position: relative; display: block; margin-bottom: clamp(56px, 6vw, 96px); font-weight: inherit; }
.sec-head__en {
  display: block; width: max-content; max-width: none;
  font-family: var(--en); font-weight: 500;
  font-size: clamp(54px, 8.6vw, 132px); line-height: .92; letter-spacing: .2em;
  color: var(--main); white-space: nowrap;
  will-change: transform;
}
.sec-head__en.is-long { font-size: clamp(38px, 6.4vw, 100px); letter-spacing: .14em; }
.sec-head__en .char { overflow: hidden; }
.js .sec-head .sec-head__en .char { opacity: 0; transform: translate3d(0, .55em, 0); filter: none; transition: opacity .9s var(--ease-soft), transform 1.3s var(--ease); transition-delay: calc(var(--ci) * 55ms); }
.js .sec-head.is-in .sec-head__en .char { opacity: 1; transform: none; }
.sec-head__ja {
  display: inline-flex; align-items: center; gap: 16px; margin-top: 26px;
  font-size: 14px; font-weight: 700; letter-spacing: .22em; color: var(--ink); line-height: 1.4;
}
.sec-head__ja::before { content: ""; width: 44px; height: 1px; background: var(--grad); transform-origin: left; }
.js .sec-head .sec-head__ja { opacity: 0; transform: translateX(-12px); transition: opacity 1s var(--ease-soft) .45s, transform 1.2s var(--ease) .45s; }
.js .sec-head .sec-head__ja::before { transform: scaleX(0); transition: transform 1.2s var(--ease-io) .35s; }
.js .sec-head.is-in .sec-head__ja, .js .sec-head.is-in .sec-head__ja::before { opacity: 1; transform: none; }
.sec-head--light .sec-head__en { color: transparent; -webkit-text-stroke: 1px rgba(255,255,255,.55); }
.sec-head--light .sec-head__ja { color: #fff; }

/* はみ出した小さな写真（左右の端） */
.edge { position: absolute; z-index: 2; width: 210px; height: 170px; overflow: hidden; }
.edge img { width: 100%; height: 100%; object-fit: cover; }
.edge--l { left: -64px; top: 38%; }
.edge--r { right: -70px; top: 220px; }
.js .edge[data-reveal="clip"] { clip-path: inset(0 100% 0 0); }
.js .edge--r[data-reveal="clip"] { clip-path: inset(0 0 0 100%); }
.js .edge[data-reveal="clip"].is-in { clip-path: inset(0 0 0 0); }

/* ---------- 3 ABOUT（私たちについて） ---------- */
.about { padding-top: calc(var(--sec) * .55); }
.about .sec-head { margin-bottom: -26px; }
.about__body { display: grid; grid-template-columns: minmax(0, 380px) minmax(0, 1fr); gap: clamp(48px, 7vw, 110px); align-items: start; }
.about__photo { position: relative; z-index: 2; width: 300px; margin-left: clamp(0px, 4vw, 60px); }
.about__photo::before { content: ""; position: absolute; z-index: -1; left: -28px; bottom: -28px; width: 72%; height: 64%; background: var(--grad); }
.about__photo img { width: 300px; aspect-ratio: 300 / 280; object-fit: cover; }
.about__photo figcaption { position: absolute; left: calc(100% + 18px); bottom: 0; writing-mode: vertical-rl; font-size: 12px; letter-spacing: .26em; color: var(--ink); line-height: 1; white-space: nowrap; }
.js .about__photo[data-reveal="clip"] { clip-path: inset(0 0 100% -40px); }
.js .about__photo[data-reveal="clip"].is-in { clip-path: inset(0 -60px -40px -40px); }
.about__text { padding-top: 110px; max-width: 600px; }
.about__title { font-size: clamp(22px, 2.1vw, 30px); font-weight: 700; color: var(--main); line-height: 1.75; letter-spacing: .1em; margin-bottom: 40px; }
.about__text p + p { margin-top: 1.4em; }
.about__text p:not([class]) { font-size: 15px; line-height: 2.2; }
.about__sign { margin-top: 48px !important; text-align: right; font-size: 13px; letter-spacing: .14em; color: var(--ink); line-height: 1.8; }
.about__sign span { display: block; font-size: 12px; color: var(--mute); }
.about__sign b { font-size: 20px; font-weight: 700; letter-spacing: .24em; margin-left: 12px; color: var(--main); }

/* ---------- 4 PHILOSOPHY（使命・展望・価値） ---------- */
.philo { background: var(--dark); color: #fff; overflow: hidden; }
.philo::before {
  content: ""; position: absolute; inset: 0; pointer-events: none;
  background-image: linear-gradient(rgba(255,255,255,.035) 1px, transparent 1px), linear-gradient(90deg, rgba(255,255,255,.035) 1px, transparent 1px);
  background-size: 80px 80px; background-position: center top;
  -webkit-mask-image: radial-gradient(ellipse at 70% 20%, #000 0%, transparent 70%); mask-image: radial-gradient(ellipse at 70% 20%, #000 0%, transparent 70%);
}
.philo .sec-head { margin-bottom: 40px; }
.philo__lead { font-size: 14px; color: rgba(255,255,255,.72); margin-bottom: 72px; }
.philo__grid { display: grid; grid-template-columns: repeat(3, 1fr); border-top: 1px solid rgba(255,255,255,.18); }
.philo__grid li { position: relative; padding: 44px 36px 50px; border-bottom: 1px solid rgba(255,255,255,.12); }
.philo__grid li:not(:nth-child(3n)) { border-right: 1px solid rgba(255,255,255,.12); }
.philo__grid li::after { content: ""; position: absolute; left: 0; top: -1px; height: 1px; width: 100%; background: var(--grad); transform: scaleX(0); transform-origin: left; transition: transform 1.2s var(--ease-io) calc(var(--d, 0s) + .3s); }
.philo__grid li.is-in::after { transform: scaleX(.22); }
.philo__label { font-size: 13px; font-weight: 700; letter-spacing: .16em; line-height: 1.4; }
.philo__val { display: flex; align-items: baseline; flex-wrap: wrap; gap: 0 6px; margin: 22px 0 14px; font-family: var(--en); line-height: 1; }
.philo__val b { font-weight: 300; font-size: clamp(54px, 5.2vw, 84px); letter-spacing: .01em; font-variant-numeric: tabular-nums; }
.philo__val small { font-family: var(--ja); font-size: 15px; font-weight: 500; letter-spacing: .06em; }
.philo__val small { font-family: var(--en); font-size: 12px; letter-spacing: .32em; color: #f5a8c4; margin-left: 10px; }
.philo__ttl { font-size: clamp(18px, 1.6vw, 22px); font-weight: 700; letter-spacing: .1em; line-height: 1.6; margin: 26px 0 16px; }
.philo__note { font-size: 13.5px; line-height: 2; color: rgba(255,255,255,.7); letter-spacing: .04em; }

/* ---------- 7 WORKS（導入実績） ---------- */
.works { overflow: hidden; }
.works .sec-head { z-index: 1; margin-bottom: -0.38em; font-size: clamp(54px, 8.6vw, 132px); }
.works .sec-head .sec-head__ja { position: absolute; right: 0; top: 18px; margin: 0; }
.works__feature { position: relative; z-index: 2; padding-bottom: 80px; }
.works__main { width: min(820px, 74%); margin-left: 9%; aspect-ratio: 16 / 10; overflow: hidden; }
.works__main img { width: 100%; height: 100%; object-fit: cover; }
.works__box {
  position: absolute; right: 0; bottom: 0; width: min(440px, 46%);
  background: #fff; padding: 48px 46px 46px;
  box-shadow: 0 30px 70px -40px rgba(11,11,16,.35);
}
.works__box h3 { font-size: clamp(21px, 1.9vw, 27px); font-weight: 700; color: var(--main); letter-spacing: .12em; line-height: 1.6; margin-bottom: 22px; }
.works__box p { font-size: 14px; line-height: 2.05; }
.works__tags { display: flex; flex-wrap: wrap; gap: 10px; margin-top: 64px; max-width: 900px; }
.works__tags li { font-size: 13px; letter-spacing: .08em; line-height: 1; padding: 11px 18px; border: 1px solid var(--line); border-radius: 999px; color: var(--ink); background: #fff; transition: border-color .4s, color .4s; }
.works__tags li:hover { border-color: var(--main); color: var(--main); }

.slider { margin-top: 110px; }
.slider__bar { display: flex; justify-content: space-between; align-items: center; margin-bottom: 30px; }
.slider__ttl { display: flex; align-items: center; gap: 14px; font-size: 13px; font-weight: 700; letter-spacing: .18em; color: var(--ink); }
.slider__ttl::before { content: ""; width: 10px; height: 10px; border: 1px solid var(--accent); border-radius: 50%; }
.slider__ctrl { display: flex; align-items: center; gap: 18px; }
.slider__count { font-family: var(--en); font-size: 13px; letter-spacing: .14em; color: var(--mute); min-width: 64px; text-align: center; }
.slider__count b { color: var(--main); font-weight: 500; }
.slider__count span { margin-left: 6px; }
.round { width: 54px; height: 54px; border-radius: 50%; border: 1px solid var(--line); display: grid; place-items: center; color: var(--main); background: #fff; transition: border-color .4s, background .4s, color .4s, box-shadow .4s; box-shadow: 0 6px 18px -10px rgba(11,11,16,.3); }
.round .chev { width: 8px; height: 8px; margin-left: -3px; }
.round .chev--l { margin: 0 -3px 0 0; }
.round:hover { background: var(--main); color: #fff; border-color: var(--main); }
.round:disabled { opacity: .35; pointer-events: none; }
.slider__track {
  --lead: max(var(--pad), (100% - 1200px) / 2);
  display: flex; gap: 22px;
  overflow-x: auto; scroll-snap-type: x mandatory; scroll-padding-left: var(--lead);
  padding: 0 var(--lead) 8px;
  scrollbar-width: none; cursor: grab;
}
.slider__track::-webkit-scrollbar { display: none; }
.slider__track.is-drag { cursor: grabbing; scroll-snap-type: none; }
.slider__track li { flex: 0 0 300px; scroll-snap-align: start; overflow: hidden; aspect-ratio: 300 / 213; background: var(--gray); }
.slider__track img { width: 100%; height: 100%; object-fit: cover; transition: transform 1.2s var(--ease); pointer-events: none; -webkit-user-drag: none; }
.slider__track li:hover img { transform: scale(1.07); }
.slider__track li:nth-child(even) { margin-top: 48px; }
.slider__track--works li { flex-basis: 440px; aspect-ratio: auto; overflow: visible; background: none; }
.slider__track--works a { display: block; -webkit-user-drag: none; }
.slider__img { aspect-ratio: 1000 / 650; overflow: hidden; background: var(--gray); }
.slider__track--works li:hover img { transform: none; }
.slider__track--works a:hover .slider__img img { transform: scale(1.06); }
.slider__cap { display: block; padding: 20px 2px 0; }
.slider__cat { display: block; font-family: var(--en); font-size: 11px; letter-spacing: .24em; color: var(--accent); line-height: 1.4; }
.slider__name { display: block; margin: 8px 0 6px; font-size: 17px; font-weight: 700; color: var(--main); letter-spacing: .08em; line-height: 1.6; }
.slider__meta { display: block; font-size: 12.5px; color: var(--text); line-height: 1.8; letter-spacing: .04em; }

/* ---------- 5 SERVICE（サービス紹介） ---------- */
.service { background: var(--gray); }
.service__lead { margin: -40px 0 64px; font-size: 14px; }
.service__grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 28px; }
.svc { background: #fff; display: flex; flex-direction: column; transition: transform .8s var(--ease), box-shadow .8s var(--ease); }
.svc.is-in:hover { transform: translateY(-8px); box-shadow: 0 36px 60px -36px rgba(11,11,16,.35); }
.svc__img { aspect-ratio: 380 / 230; overflow: hidden; }
.svc__img img { width: 100%; height: 100%; object-fit: cover; transition: transform 1.4s var(--ease); }
.svc:hover .svc__img img { transform: scale(1.07); }
.svc__body { padding: 32px 32px 30px; display: flex; flex-direction: column; flex: 1; }
.svc__en { font-family: var(--en); font-size: 11px; letter-spacing: .24em; color: var(--accent); line-height: 1.4; }
.svc__ttl { font-size: 22px; font-weight: 700; color: var(--main); letter-spacing: .1em; line-height: 1.5; margin: 12px 0 16px; }
.svc__ttl small { font-size: 13px; font-weight: 500; letter-spacing: .04em; }
.svc__txt { font-size: 14px; line-height: 1.95; margin-bottom: 26px; flex: 1; }
.svc__links li { border-top: 1px solid var(--line); }
.svc__links li:last-child { border-bottom: 1px solid var(--line); }
.svc__links a { display: grid; grid-template-columns: auto 1fr auto; align-items: center; gap: 16px; padding: 16px 4px; transition: padding .5s var(--ease), background .5s; }
.svc__links a:hover { padding-left: 12px; padding-right: 10px; background: var(--gray); }
.svc__links .kind { font-size: 11.5px; font-weight: 700; letter-spacing: .1em; line-height: 1; color: #fff; background: var(--main); padding: 6px 10px; }
.svc__links .pay { font-size: 13.5px; font-weight: 700; color: var(--ink); letter-spacing: .04em; line-height: 1.6; }
.svc__links .arrow { width: 22px; color: var(--main); }
.svc__links a:hover .arrow { width: 34px; color: var(--accent); }

/* ---------- 8 FLOW（進め方） ---------- */
.flow__head { display: grid; grid-template-columns: auto 1fr; gap: 60px; align-items: end; margin-bottom: clamp(56px, 6vw, 96px); }
.flow__head .sec-head { margin-bottom: 0; }
.flow__lead { justify-self: end; max-width: 460px; font-size: 14px; line-height: 2.1; padding-bottom: 6px; }
.flow__list { position: relative; display: grid; grid-template-columns: repeat(4, 1fr); padding-top: 52px; }
.flow__list::before, .flow__list::after { content: ""; position: absolute; left: 0; right: 0; top: 0; height: 1px; background: var(--line); }
.flow__list::after { background: var(--main); transform: scaleX(0); transform-origin: left; transition: transform 2.4s var(--ease-io) .2s; }
.flow__list.is-in::after, .is-static .flow__list::after { transform: scaleX(1); }
.flow__list li { position: relative; padding-right: 34px; }
.flow__list li::before { content: ""; position: absolute; left: 0; top: -57px; width: 11px; height: 11px; border-radius: 50%; background: #fff; border: 1px solid var(--main); }
.flow__list li:last-child::before { background: var(--grad); border-color: transparent; }
.flow__num { display: block; font-family: var(--en); font-weight: 300; font-size: 60px; line-height: 1; color: var(--main); letter-spacing: .02em; margin-bottom: 22px; }
.flow__list h3 { font-size: 19px; font-weight: 700; color: var(--ink); letter-spacing: .1em; line-height: 1.5; margin-bottom: 12px; }
.flow__list p { font-size: 14px; line-height: 1.95; }

/* ---------- 9 MESSAGE（代表ご挨拶） ---------- */
.message { padding-top: calc(var(--sec) * .5); }
.message > .wrap { border-top: 1px solid var(--line); padding-top: calc(var(--sec) * .6); }
.iv { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: clamp(48px, 7vw, 110px); align-items: center; }
.iv + .iv { margin-top: clamp(120px, 12vw, 180px); }
.iv__pics { position: relative; padding: 70px 0 90px; }
.iv__main { position: relative; z-index: 1; width: min(480px, 92%); aspect-ratio: 479 / 230; overflow: hidden; }
.iv__main img, .iv__sub img { width: 100%; height: 100%; object-fit: cover; }
.iv__sub { position: absolute; z-index: 2; right: 0; bottom: 0; width: clamp(150px, 15vw, 210px); aspect-ratio: 1; overflow: hidden; outline: 10px solid #fff; }
.iv__sub img { object-position: 100% 25%; }
.iv__no { position: absolute; z-index: 0; left: -4px; top: -10px; font-family: var(--en); font-weight: 300; font-size: clamp(120px, 13vw, 190px); line-height: 1; color: transparent; -webkit-text-stroke: 1px rgba(11,11,16, .22); letter-spacing: .02em; }
.iv--rev .iv__pics { order: 2; }
.iv--rev .iv__main { margin-left: auto; }
.iv--rev .iv__sub { right: auto; left: 0; }
.iv--rev .iv__no { left: auto; right: -4px; }
.iv__role { display: flex; flex-direction: column; gap: 4px; font-size: 15px; font-weight: 700; color: var(--main); letter-spacing: .14em; line-height: 1.6; }
.iv__role span { font-family: var(--en); font-size: 11.5px; font-weight: 500; letter-spacing: .3em; color: var(--accent); }
.iv__quote { position: relative; margin: 34px 0 38px; padding-top: 34px; }
.iv__quote::before { content: "“"; position: absolute; left: -6px; top: -26px; font-family: var(--en); font-size: 92px; line-height: 1; color: var(--accent); }
.iv__quote p { font-size: clamp(22px, 2.15vw, 30px); font-weight: 700; color: var(--main); line-height: 1.75; letter-spacing: .08em; }
.iv__qa dt { display: flex; align-items: center; gap: 12px; font-size: 13px; font-weight: 700; color: var(--ink); letter-spacing: .14em; line-height: 1.6; }
.iv__qa dt::before { content: ""; width: 18px; height: 1px; background: var(--main); }
.iv__qa dd { font-size: 14.5px; line-height: 2.05; margin: 8px 0 22px; }
.iv__txt p { font-size: 14.5px; line-height: 2.1; }
.iv__txt p + p { margin-top: 1.2em; }
.iv .about__sign { margin-top: 36px !important; }
.iv__memo { font-size: 13px; color: var(--mute); border-left: 2px solid var(--accent); padding: 2px 0 2px 16px; line-height: 1.9; }

/* ---------- 6 CAPABILITY（対応領域） ---------- */
.cap { overflow: hidden; }
.cap .sec-head { margin-bottom: 40px; }
.cap__lead { max-width: 760px; font-size: 15px; line-height: 2.15; }
.marquee { margin: 80px 0 96px; overflow: hidden; }
.marquee__track { display: flex; gap: 16px; width: max-content; animation: marquee 70s linear infinite; }
.marquee:hover .marquee__track { animation-play-state: paused; }
.marquee img { width: 470px; height: 200px; object-fit: cover; flex: none; }
@keyframes marquee { to { transform: translateX(calc(-50% - 8px)); } }
.cap__grid { display: grid; grid-template-columns: repeat(3, 1fr); border-top: 1px solid var(--line); border-left: 1px solid var(--line); }
.cap__item { padding: 44px 36px 46px; border-right: 1px solid var(--line); border-bottom: 1px solid var(--line); transition: background .6s var(--ease); background: #fff; }
.cap__item:hover { background: var(--gray); }
.cap__icon { width: 46px; height: 46px; fill: none; stroke: var(--main); stroke-width: 1.4; stroke-linecap: round; stroke-linejoin: round; margin-bottom: 26px; transition: transform .6s var(--ease), stroke .4s; }
.cap__item:hover .cap__icon { transform: translateY(-4px); stroke: var(--accent); }
.cap__icon * { stroke-dasharray: 160; stroke-dashoffset: 0; }
.js .cap__item .cap__icon * { stroke-dashoffset: 160; transition: stroke-dashoffset 2s var(--ease-io) calc(var(--d, 0s) + .3s); }
.js .cap__item.is-in .cap__icon * { stroke-dashoffset: 0; }
.cap__item h3 { font-size: 18px; font-weight: 700; color: var(--main); letter-spacing: .1em; line-height: 1.5; margin-bottom: 12px; }
.cap__item p { font-size: 14px; line-height: 1.95; }

/* ---------- 10 COMPANY（会社概要） ---------- */
.company { background: var(--gray); }
.company__lead { margin: -24px 0 48px; }
.company__lead h3 { font-size: clamp(21px, 2vw, 28px); font-weight: 700; color: var(--main); letter-spacing: .1em; line-height: 1.7; margin-bottom: 14px; }
.company__lead p { font-size: 14.5px; line-height: 2.1; }
.company__table { width: 100%; background: #fff; }
.company__table th, .company__table td { padding: 26px 32px; border-bottom: 1px solid var(--line); text-align: left; vertical-align: top; line-height: 1.95; }
.company__table th { width: 200px; font-size: 14px; font-weight: 700; color: var(--main); letter-spacing: .14em; background: #fafbfd; white-space: nowrap; }
.company__table td { font-size: 15px; color: var(--ink); }
.company__table td small { font-size: 12.5px; color: var(--mute); }
.company__table .em { font-size: 20px; font-weight: 700; color: var(--main); letter-spacing: .06em; }
.company__table ul li::before { content: "・"; }
.company__table a { color: var(--main); text-decoration: underline; text-underline-offset: 4px; }
.company__more { margin-top: 26px; font-size: 13px; }
.company__more a { color: var(--main); text-decoration: underline; text-underline-offset: 4px; }

/* ---------- 11 BLOG ---------- */
.blog__grid { display: grid; grid-template-columns: minmax(0, 7fr) minmax(0, 5fr); gap: clamp(48px, 7vw, 100px); align-items: center; }
.blog__img { position: relative; aspect-ratio: 5 / 3; overflow: hidden; margin-left: calc(var(--pad) * -1 + var(--gl)); }
.blog__img img { width: 100%; height: 100%; object-fit: cover; }
.blog__img figcaption { position: absolute; right: 14px; bottom: 10px; font-size: 10px; color: #fff; letter-spacing: .1em; text-shadow: 0 1px 4px rgba(0,0,0,.4); }
.blog .sec-head { margin-bottom: 48px; }
.blog__title { font-size: clamp(22px, 2.2vw, 30px); font-weight: 700; color: var(--main); line-height: 1.7; letter-spacing: .1em; margin-bottom: 24px; }
.blog__text p:not([class]) { font-size: 15px; line-height: 2.1; }
.blog__btns { display: flex; flex-wrap: wrap; gap: 14px; margin-top: 40px; }
.blog__list li { border-top: 1px solid var(--line); }
.blog__list li:last-child { border-bottom: 1px solid var(--line); }
.blog__list a { display: grid; grid-template-columns: 1fr auto; align-items: center; gap: 4px 18px; padding: 18px 4px; transition: padding .5s var(--ease), background .5s; }
.blog__list a:hover { padding-left: 12px; padding-right: 10px; background: var(--gray); }
.blog__meta { grid-column: 1; display: flex; gap: 14px; font-size: 11.5px; color: var(--mute); letter-spacing: .1em; line-height: 1.4; }
.blog__meta time { font-family: var(--en); color: var(--main); font-weight: 500; }
.blog__name { grid-column: 1; font-size: 15px; font-weight: 700; color: var(--ink); letter-spacing: .06em; line-height: 1.6; }
.blog__list .arrow { grid-column: 2; grid-row: 1 / span 2; width: 22px; color: var(--main); }
.blog__list a:hover .arrow { width: 34px; color: var(--accent); }

/* ---------- 12 CONTACT ---------- */
.contact { position: relative; z-index: 1; background: var(--dark); color: #fff; padding: calc(var(--sec) * 1.05) 0; overflow: hidden; }
.contact::before { content: ""; position: absolute; inset: 0; background: radial-gradient(ellipse 70% 60% at 85% 10%, rgba(214, 129, 246, .32), transparent 70%), radial-gradient(ellipse 60% 50% at 10% 100%, rgba(250, 114, 150, .22), transparent 70%); pointer-events: none; }
.contact__marquee { position: absolute; left: 0; right: 0; bottom: -0.16em; font-family: var(--en); font-weight: 500; font-size: clamp(120px, 19vw, 300px); line-height: 1; letter-spacing: .12em; color: transparent; -webkit-text-stroke: 1px rgba(255,255,255,.1); white-space: nowrap; pointer-events: none; }
.contact__marquee > div { display: flex; width: max-content; animation: marquee 48s linear infinite; }
.contact__marquee span { padding-right: .5em; }
.contact .wrap { z-index: 1; }
.contact__en { font-family: var(--en); font-size: 12px; letter-spacing: .4em; color: #f5a8c4; margin-bottom: 26px; display: flex; align-items: center; gap: 16px; }
.contact__en::before { content: ""; width: 40px; height: 1px; background: currentColor; }
.contact__title { font-size: clamp(28px, 3.4vw, 50px); font-weight: 700; line-height: 1.6; letter-spacing: .12em; }
.contact__grid { display: grid; grid-template-columns: 1fr 1fr; gap: 24px; margin-top: 72px; }
.contact__card {
  position: relative; display: flex; flex-direction: column; gap: 12px; min-height: 260px;
  padding: 46px 44px 48px; border: 1px solid rgba(255,255,255,.28);
  overflow: hidden; isolation: isolate; transition: color .6s var(--ease), border-color .6s;
}
.contact__card::before { content: ""; position: absolute; inset: 0; z-index: -1; background: #fff; transform: scaleY(0); transform-origin: bottom; transition: transform .8s var(--ease); }
.contact__card:hover::before { transform: none; }
.contact__card:hover { color: var(--main); border-color: #fff; }
.contact__card--form { background: #fff; color: var(--main); border-color: #fff; }
.contact__card--form::before { background: var(--grad); }
.contact__card--form:hover { color: #fff; border-color: var(--accent); }
.contact__card-en { font-family: var(--en); font-size: 12px; letter-spacing: .32em; opacity: .8; }
.contact__card-ttl { font-size: clamp(24px, 2.4vw, 32px); font-weight: 700; letter-spacing: .12em; line-height: 1.5; margin-top: auto; }
.contact__card-tel { font-family: var(--en); font-size: clamp(36px, 3.8vw, 54px); font-weight: 400; letter-spacing: .06em; line-height: 1.1; margin-top: auto; }
.contact__card-txt { font-size: 13px; line-height: 1.85; opacity: .85; }
.contact__card .arrow { position: absolute; right: 44px; top: 56px; }
.contact__card:hover .arrow { width: 66px; }

/* ---------- 13 フッター ---------- */
.footer { position: relative; z-index: 1; background: #fff; padding: 110px 0 44px; }
.footer__grid { display: grid; grid-template-columns: 1fr 1.1fr; gap: 80px; }
.footer__logo { width: 210px; margin-bottom: 28px; }
.footer__co p { font-size: 13px; line-height: 2; color: var(--ink); }
.footer__lic { margin-top: 18px; font-size: 11.5px !important; color: var(--mute) !important; line-height: 1.95 !important; }
.footer__nav { display: grid; grid-template-columns: 1.5fr 1fr; gap: 40px; align-content: start; }
.footer__nav ul:first-child { display: grid; grid-template-columns: 1fr 1fr; gap: 6px 28px; }
.footer__nav a { position: relative; display: inline-flex; align-items: center; gap: 8px; font-size: 13px; color: var(--ink); line-height: 2.2; }
.footer__nav a::after { content: ""; position: absolute; left: 0; bottom: 4px; width: 100%; height: 1px; background: var(--main); transform: scaleX(0); transform-origin: right; transition: transform .6s var(--ease); }
.footer__nav a:hover::after { transform: scaleX(1); transform-origin: left; }
.footer__ext a { font-weight: 700; color: var(--main); }
.ext { width: 9px; height: 9px; border-top: 1px solid currentColor; border-right: 1px solid currentColor; position: relative; }
.ext::after { content: ""; position: absolute; right: -1px; top: -1px; width: 10px; height: 1px; background: currentColor; transform: rotate(-45deg); transform-origin: right; }
.footer__bottom { display: flex; align-items: center; gap: 24px; margin-top: 88px; padding-top: 28px; border-top: 1px solid var(--line); }
.footer__note { font-size: 11px; color: var(--mute); }
.footer__copy { margin-left: auto; font-family: var(--en); font-size: 11px; letter-spacing: .2em; color: var(--mute); }
.footer__top { width: 48px; height: 48px; border-radius: 50%; border: 1px solid var(--line); display: grid; place-items: center; transition: background .4s, border-color .4s; }
.footer__top i { width: 8px; height: 8px; border-top: 1.5px solid var(--main); border-left: 1.5px solid var(--main); transform: translateY(2px) rotate(45deg); transition: transform .5s var(--ease); }
.footer__top:hover { background: var(--main); border-color: var(--main); }
.footer__top:hover i { border-color: #fff; transform: translateY(-1px) rotate(45deg); }

.fixbar { display: none; }

/* =========================================================
   タブレット
   ========================================================= */
@media (max-width: 1180px) {
  .edge { display: none; }
  .news { bottom: 40px; }
  .philo__grid li { padding: 40px 26px 44px; }
  .service__grid { grid-template-columns: 1fr 1fr; }
  .cap__grid { grid-template-columns: 1fr 1fr; }
}
@media (max-width: 1000px) {
  :root { --gl: 40px; --pad: calc(var(--gl) + 32px); }
  .side { display: none; }
  .header__tag { left: calc(var(--gl) + 20px); font-size: 13px; }
  .hero { padding-bottom: 300px; }
  .hero__copy { left: auto; right: var(--pad); width: 280px; }
  .about__body, .blog__grid, .iv { grid-template-columns: 1fr; }
  .philo__grid { grid-template-columns: 1fr; }
  .philo__grid li:not(:nth-child(3n)) { border-right: 0; }
  .about__text { padding-top: 40px; }
  .iv--rev .iv__pics { order: 0; }
  .flow__head { grid-template-columns: 1fr; gap: 24px; }
  .flow__lead { justify-self: start; }
  .blog__img { margin-left: 0; }
  .footer__grid { grid-template-columns: 1fr; gap: 56px; }
}

/* =========================================================
   スマホ
   ========================================================= */
@media (max-width: 767px) {
  :root { --gl: 14px; --pad: 22px; --sec: 104px; }
  body { font-size: 14.5px; padding-bottom: 64px; }
  br.sp { display: inline; }
  .guides span:nth-child(2) { display: none; }
  .guides span { opacity: .7; }

  .menu-btn { width: 56px; height: 56px; }
  .menu-btn__txt { display: none; }
  .header__tag { display: none; }
  .header__right { height: 56px; }
  .header__logo { padding: 0 14px; }
  .header__logo img { width: 128px; }
  .header__entry { display: none; }

  .gnav { clip-path: circle(0 at 28px 28px); }
  .is-menu-open .gnav { clip-path: circle(150% at 28px 28px); }
  .gnav__inner { grid-template-columns: 1fr; gap: 40px; padding: 96px 0 56px; align-items: start; }
  .gnav__list a { grid-template-columns: 30px 1fr; gap: 4px 12px; padding: 12px 0; }
  .gnav__list .ja { grid-column: 2; }
  .gnav__list .en { font-size: 24px; }
  .gnav__lead { font-size: 19px; margin-bottom: 24px; }
  .gnav__tel { font-size: 28px; margin-top: 28px; }

  /* ヒーロー */
  .top__band { width: 60vw; left: 40%; top: -80%; }
  .hero { --pw: 54vw; min-height: 0; display: block; padding: 120px 0 0; }
  .hero__stage { margin-top: 30px; }
  .hero__en { font-size: 15vw; }
  .hero__en .w, .is-loaded .hero__en .w { letter-spacing: .2em; padding-left: .2em; }
  .js .hero__en .w { letter-spacing: .7em; padding-left: .7em; }
  .is-loaded .hero__en .w { letter-spacing: .2em; padding-left: .2em; }
  .hero__orbit { width: calc(var(--pw) * 3.1); }
  .hero__stamp { width: 74px; height: 74px; top: -37px; left: calc(50% + var(--pw) / 2 - 40px); }
  .hero__stamp-mark::before { width: 18px; height: 18px; }
  .hero__copy { position: relative; left: auto; right: auto; bottom: auto; width: auto; margin: 72px var(--pad) 0; }
  .hero__catch { font-size: 23px; letter-spacing: .12em; }
  .hero__sub { font-size: 13.5px; }
  .news { position: relative; left: auto; bottom: auto; width: auto; margin: 44px var(--pad) 0 0; padding: 18px 20px 14px calc(var(--pad) + 2px); }
  .news a { gap: 12px; font-size: 12.5px; grid-template-columns: auto 1fr auto; }
  .scroll { display: none; }

  .statement { padding: 120px 0 var(--sec); }
  .statement__en { margin-bottom: 36px; }
  .statement__text { font-size: 19.5px; letter-spacing: .2em; padding-left: .2em; line-height: 2.2; }
  .statement__sub { font-size: 13px; letter-spacing: .12em; margin-top: 36px; padding: 0 var(--pad); }

  .sec-head { margin-bottom: 48px; }
  .sec-head__en { font-size: 13.5vw; letter-spacing: .14em; }
  .sec-head__en.is-long { font-size: 9vw; letter-spacing: .1em; }
  .sec-head__ja { margin-top: 18px; font-size: 13px; gap: 12px; }
  .sec-head__ja::before { width: 30px; }

  .about .sec-head { margin-bottom: -14px; }
  .about__body { gap: 0; }
  .about__photo { width: min(250px, 66vw); margin-left: 28px; }
  .about__photo img { width: 100%; }
  .about__photo::before { left: -22px; bottom: -22px; }
  .about__text { padding-top: 64px; }
  .about__title { font-size: 20px; margin-bottom: 28px; }
  .about__text p:not([class]) { font-size: 14.5px; line-height: 2.1; }
  .about__sign b { font-size: 18px; }

  .philo__lead { margin-bottom: 44px; font-size: 13px; }
  .philo__grid li { padding: 32px 0 36px; }
  .philo__val { margin: 14px 0 0; }
  .philo__val b { font-size: 46px; }
  .philo__label { font-size: 12px; }
  .philo__ttl { margin: 18px 0 10px; }
  .philo__note { font-size: 13px; }

  .works .sec-head { margin-bottom: -0.3em; }
  .works .sec-head .sec-head__ja { position: static; margin-top: 18px; }
  .works .sec-head { margin-bottom: 28px; }
  .works__main { width: calc(100% + var(--pad)); margin-left: 0; margin-right: calc(var(--pad) * -1); aspect-ratio: 4 / 3; }
  .works__feature { padding-bottom: 0; }
  .works__box { position: relative; width: auto; margin: -48px 0 0 20px; padding: 32px 26px; }
  .works__box h3 { font-size: 21px; }
  .works__tags { margin-top: 44px; gap: 8px; }
  .works__tags li { font-size: 12px; padding: 9px 14px; }
  .slider { margin-top: 72px; }
  .slider__bar { flex-direction: column; align-items: flex-start; gap: 18px; }
  .round { width: 46px; height: 46px; }
  .slider__track { gap: 14px; }
  .slider__track li { flex-basis: 72vw; }
  .slider__track li:nth-child(even) { margin-top: 28px; }
  .slider__track--works li { flex-basis: 78vw; }
  .slider__name { font-size: 15.5px; }

  .service__lead { margin: -20px 0 40px; font-size: 13.5px; }
  .service__grid { grid-template-columns: 1fr; gap: 20px; }
  .svc__body { padding: 26px 22px 24px; }
  .svc__ttl { font-size: 20px; }

  .flow__list { grid-template-columns: 1fr; padding-top: 0; padding-left: 34px; gap: 40px; }
  .flow__list::before, .flow__list::after { left: 5px; right: auto; top: 6px; bottom: 0; width: 1px; height: auto; }
  .flow__list::after { transform: scaleY(0); transform-origin: top; }
  .flow__list.is-in::after, .is-static .flow__list::after { transform: scaleY(1); }
  .flow__list li { padding-right: 0; }
  .flow__list li::before { left: -34px; top: 6px; }
  .flow__num { font-size: 44px; margin-bottom: 12px; }
  .flow__list h3 { font-size: 17px; }

  .message > .wrap { padding-top: 72px; }
  .iv { gap: 20px; }
  .iv + .iv { margin-top: 96px; }
  .iv__pics { padding: 46px 0 64px; }
  .iv__main { width: 90%; }
  .iv__sub { width: 128px; outline-width: 7px; }
  .iv__no { font-size: 104px; top: -6px; }
  .iv__quote { margin: 22px 0 26px; padding-top: 26px; }
  .iv__quote::before { font-size: 70px; top: -20px; }
  .iv__quote p { font-size: 20px; }
  .iv__qa dd { font-size: 14px; }


  .marquee { margin: 52px 0 56px; }
  .marquee img { width: 300px; height: 128px; }
  .marquee__track { gap: 10px; animation-duration: 50s; }
  @keyframes marquee { to { transform: translateX(calc(-50% - 5px)); } }
  .cap__grid { grid-template-columns: 1fr; }
  .cap__item { padding: 30px 24px 32px; display: grid; grid-template-columns: 44px 1fr; gap: 0 18px; }
  .cap__icon { width: 40px; height: 40px; margin: 0; grid-row: span 2; }
  .cap__item h3 { font-size: 16.5px; margin-bottom: 6px; }
  .cap__item p { font-size: 13.5px; }

  .company__table, .company__table tbody, .company__table tr, .company__table th, .company__table td { display: block; width: 100%; }
  .company__table th { padding: 18px 20px 4px; border-bottom: 0; background: #fff; font-size: 12.5px; }
  .company__table td { padding: 2px 20px 18px; font-size: 14px; }
  .company__table .em { font-size: 18px; }

  .blog__grid { gap: 40px; }
  .blog__img { margin-right: calc(var(--pad) * -1); }
  .blog .sec-head { margin-bottom: 32px; }
  .blog__title { font-size: 21px; }
  .blog__name { font-size: 14px; }
  .company__lead { margin: -16px 0 32px; }
  .blog__btns .btn { width: 100%; justify-content: space-between; }


  .contact__title { font-size: 25px; }
  .contact__grid { grid-template-columns: 1fr; gap: 14px; margin-top: 44px; }
  .contact__card { min-height: 0; padding: 30px 24px 32px; gap: 8px; }
  .contact__card-ttl { margin-top: 26px; font-size: 22px; }
  .contact__card-tel { margin-top: 26px; font-size: 34px; }
  .contact__card .arrow { right: 24px; top: 38px; width: 34px; }
  .contact__marquee { font-size: 34vw; }

  .footer { padding: 80px 0 32px; }
  .footer__logo { width: 180px; }
  .footer__nav { grid-template-columns: 1fr; gap: 28px; }
  .footer__bottom { flex-wrap: wrap; gap: 12px 20px; margin-top: 56px; }
  .footer__copy { margin-left: 0; font-size: 10px; letter-spacing: .12em; }
  .footer__top { margin-left: auto; }

  .fixbar {
    position: fixed; left: 0; right: 0; bottom: 0; z-index: 50;
    display: grid; grid-template-columns: 1.4fr 1fr; height: 64px;
    transform: translateY(100%); transition: transform .7s var(--ease);
    box-shadow: 0 -10px 30px -16px rgba(11,11,16,.4);
  }
  .fixbar.is-show { transform: none; }
  .fixbar a { display: flex; align-items: center; justify-content: center; gap: 10px; font-size: 14px; font-weight: 700; letter-spacing: .12em; }
  .fixbar__entry { background: var(--main); color: #fff; }
  .fixbar__entry .en { font-family: var(--en); font-weight: 500; font-size: 11px; letter-spacing: .26em; color: #f5a8c4; }
  .fixbar__tel { background: #fff; color: var(--main); }
  .fixbar__tel svg { width: 18px; height: 18px; fill: var(--main); }
}

/* =========================================================
   撮影用（?static）と、動きを減らす設定：すべて表示・動きなし
   ========================================================= */
.is-static *, .is-static *::before, .is-static *::after { transition: none !important; animation: none !important; }
.is-static [data-reveal], .is-static .edge[data-reveal] { opacity: 1 !important; transform: none !important; clip-path: none !important; }
.is-static [data-reveal] img { transform: none !important; }
.is-static .char { opacity: 1 !important; transform: none !important; filter: none !important; }
.is-static .sec-head__ja, .is-static .sec-head__ja::before { opacity: 1 !important; transform: none !important; }
.is-static .cap__icon * { stroke-dashoffset: 0 !important; }
.is-static .hero__photo, .is-static .top__band { clip-path: none !important; }
.is-static .hero__photo img { transform: scale(1.08) !important; }
.is-static .guides span { transform: none !important; }
.is-static .hero__orbit ellipse { stroke-dashoffset: 0 !important; }
.is-static .hero__stamp, .is-static .hero__sub, .is-static .hero__note, .is-static .news, .is-static .scroll, .is-static .header__tag, .is-static .header__right, .is-static .side { opacity: 1 !important; transform: none !important; }
.is-static .hero__catch .nw > span { transform: none !important; }
.is-static .hero__en .w { letter-spacing: .42em !important; padding-left: .42em !important; }
.is-static [data-parallax] { transform: none !important; }
@media (max-width: 767px) {
  .is-static .hero__en .w { letter-spacing: .2em !important; padding-left: .2em !important; }
}
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
}
/* 撮影は縦に長い画面で行うので、ヒーローの高さを普通の画面と同じくらいに固定 */
.is-static .hero { min-height: 860px; }
.is-static .side { top: 450px; }
@media (max-width: 767px) { .is-static .hero { min-height: 0; } }

/* ---------- 調整（撮影して確かめたあと） ---------- */
.top::after { content: ""; position: absolute; left: 0; right: 0; bottom: 0; height: 520px; z-index: 0; background: linear-gradient(rgba(255,255,255,0), #fff 85%); pointer-events: none; }
.top__band { background: linear-gradient(180deg, #fbeef4 0%, #f7f1fb 60%, rgba(247,241,251,0) 100%); }
.hero__copy { bottom: auto; top: calc(100% - 46px); }
.about .sec-head { margin-bottom: -18px; }
.about .sec-head__ja, .works .sec-head .sec-head__ja { position: absolute; right: 0; top: 50%; margin: 0; transform: translateY(-50%); }
.js .about .sec-head .sec-head__ja, .js .works .sec-head .sec-head__ja { transform: translate(-12px, -50%); }
.js .about .sec-head.is-in .sec-head__ja, .js .works .sec-head.is-in .sec-head__ja, .is-static .about .sec-head__ja, .is-static .works .sec-head__ja { transform: translateY(-50%) !important; }
.works .sec-head { margin-bottom: -0.2em; }
.edge--r { top: 58%; }
.blog .sec-head__en, .blog .sec-head__en.is-long { font-size: clamp(44px, 5.4vw, 84px); letter-spacing: .14em; }
.iv__quote::before { font-family: Georgia, "Times New Roman", serif; font-size: 96px; top: -30px; }
@media (max-width: 1000px) {
  .hero__copy { top: calc(100% + 40px); }
}
@media (max-width: 767px) {
  .hero__copy { top: auto; }
  .hero__en { font-size: 14vw; }
  .about .sec-head { margin-bottom: 36px; }
  .about .sec-head__ja, .works .sec-head .sec-head__ja { position: static; transform: none !important; margin-top: 18px; }
  .works .sec-head { margin-bottom: 28px; }
}
@media (max-width: 767px) {
  .hero__stage { height: auto; padding-top: var(--ph); }
  .hero__en { bottom: auto; height: var(--ph); }
  .hero__orbit { top: calc(var(--ph) / 2); }
  .hero__note { top: calc(var(--ph) + 8px); }
}

/* =========================================================
   CMS のページ（ブログ・実績の一覧と詳細。templates/*-list.php・*-single.php）
   ========================================================= */
.page { padding-top: clamp(150px, 14vw, 220px); }
.page .sec-head { margin-bottom: clamp(48px, 5vw, 80px); }
.page__empty { font-size: 15px; color: var(--text); }
.works__more { margin-top: 48px; display: flex; justify-content: flex-end; }
.noimg { display: grid; place-items: center; width: 100%; height: 100%; background: var(--grad); color: rgba(255,255,255,.85); font-family: var(--en); font-size: 12px; letter-spacing: .3em; }

/* 一覧のカード：ブログ */
.plist { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 56px 28px; }
.plist__item a { display: block; }
.plist__img { display: block; aspect-ratio: 5 / 3; overflow: hidden; background: var(--gray); margin-bottom: 18px; }
.plist__img img { width: 100%; height: 100%; object-fit: cover; transition: transform 1.2s var(--ease); }
.plist__item a:hover .plist__img img { transform: scale(1.06); }
.plist .blog__meta { margin-bottom: 8px; }
.plist__ttl { display: block; font-size: 16px; font-weight: 700; color: var(--ink); letter-spacing: .06em; line-height: 1.7; transition: color .4s; }
.plist__item a:hover .plist__ttl { color: var(--accent); }

/* 一覧のカード：実績（トップのスライダーと同じ見た目を格子に） */
.wlist { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 56px 28px; }
.wlist__item a { display: block; }
.wlist .slider__img { display: block; }
.wlist .slider__img img { width: 100%; height: 100%; object-fit: cover; transition: transform 1.2s var(--ease); }
.wlist__item a:hover .slider__img img { transform: scale(1.06); }

/* ページ送り */
.pager { display: flex; justify-content: center; gap: 10px; margin-top: 80px; font-family: var(--en); }
.pager a, .pager span { display: grid; place-items: center; min-width: 48px; height: 48px; border: 1px solid var(--line); border-radius: 50%; color: var(--main); font-size: 14px; transition: background .4s, color .4s, border-color .4s; }
.pager a:hover, .pager .is-current { background: var(--main); border-color: var(--main); color: #fff; }

/* 詳細 */
.post__crumb { display: flex; gap: 10px; font-family: var(--en); font-size: 11px; letter-spacing: .24em; color: var(--mute); margin-bottom: 40px; }
.post__crumb a:hover { color: var(--accent); }
.post__meta { display: flex; gap: 16px; font-size: 12px; color: var(--mute); letter-spacing: .1em; margin-bottom: 14px; }
.post__meta time { font-family: var(--en); color: var(--main); font-weight: 500; }
.post__en { font-family: var(--en); font-size: 12px; letter-spacing: .24em; color: var(--accent); margin-bottom: 12px; }
.post__title { font-size: clamp(26px, 3vw, 40px); font-weight: 700; color: var(--main); letter-spacing: .08em; line-height: 1.6; }
.post__sub { margin-top: 10px; font-size: 15px; color: var(--text); }
.post__cover { margin: 48px 0 0; overflow: hidden; }
.post__cover img { width: 100%; height: auto; }
.post__table { margin-top: 48px; }
.post__table a { color: var(--main); text-decoration: underline; text-underline-offset: 4px; display: inline-flex; align-items: center; gap: 8px; }
.post__tags { display: flex; flex-wrap: wrap; gap: 8px; }
.post__tags li { font-size: 13px; line-height: 1; padding: 9px 14px; border: 1px solid var(--line); border-radius: 999px; }
.company__table .post__tags li::before { content: none; }
.post .kh-body { margin-top: 56px; }
.post__back { margin-top: 72px; }
.page-more { background: var(--gray); padding: clamp(100px, 9vw, 140px) 0; }
.page-more__ttl { font-size: 20px; font-weight: 700; color: var(--main); letter-spacing: .14em; margin-bottom: 40px; }

/* 本文の中の部品（ギャラリー・動画・段組み。kh- はエディタ用なのでサイトの名前で） */
.post-gallery { display: grid; grid-template-columns: repeat(3, 1fr); gap: 10px; }
.post-gallery img { width: 100%; aspect-ratio: 4 / 3; object-fit: cover; }
.post-video { position: relative; aspect-ratio: 16 / 9; }
.post-video iframe { position: absolute; inset: 0; width: 100%; height: 100%; border: 0; }
.post-cols { display: grid; grid-template-columns: 1fr 1fr; gap: 32px; }
.post-cols--12 { grid-template-columns: 1fr 2fr; }
.post-cols--21 { grid-template-columns: 2fr 1fr; }
.post-cols--111 { grid-template-columns: repeat(3, 1fr); }
.post-cols--1111 { grid-template-columns: repeat(4, minmax(0, 1fr)); }
@media (max-width: 1024px) { .post-cols--1111 { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
.post-cols--middle { align-items: center; }
.post-cols--bottom { align-items: end; }
.post-cols__col > * + * { margin-top: 1.2em; }

@media (max-width: 1000px) {
  .plist, .wlist { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}
@media (max-width: 767px) {
  .plist, .wlist { grid-template-columns: minmax(0, 1fr); gap: 40px; }
  .page { padding-top: 120px; }
  .works__more { justify-content: flex-start; }
  .post-cols:not(.post-cols--keep) { grid-template-columns: minmax(0, 1fr); }
  .post-gallery { grid-template-columns: repeat(2, 1fr); }
}

/* ===== 管理画面の本文ブロック（新しいエディタ）の余白・配置・大きさ（docs/12。デザインの変更は別の所に書く） ===== */
/* 余白：このサイトは全体のリセットで見出し・段落・箇条書きの余白が消えているので、.kh-body の中で一式付ける */
.kh-body { font-size: 15px; line-height: 2.05; color: var(--ink); }
.kh-body > * { margin-top: 0; margin-bottom: 1.4em; }
.kh-body > h2 { margin: 2.4em 0 .9em; font-size: 1.45em; font-weight: 700; line-height: 1.6; color: var(--main); letter-spacing: .08em; padding-bottom: .5em; border-bottom: 1px solid var(--line); }
.kh-body > h3 { margin: 2em 0 .7em; font-size: 1.2em; font-weight: 700; line-height: 1.6; color: var(--main); letter-spacing: .06em; }
.kh-body > :first-child { margin-top: 0; }
.kh-body > :last-child { margin-bottom: 0; }
.kh-body a:not(.btn) { color: var(--accent); text-decoration: underline; text-underline-offset: 3px; }
.kh-body ul, .kh-body ol { padding-left: 1.6em; }
.kh-body ul > li { list-style: disc; }
.kh-body ol > li { list-style: decimal; }
.kh-body li + li { margin-top: .35em; }
.kh-body blockquote { padding: 1.1em 1.4em; background: var(--gray); border-left: 3px solid var(--pink); }
.kh-body > hr { margin: 2.4em 0; border: 0; border-top: 1px solid var(--line); }
.kh-body > figure, .kh-body > .kh-img, .kh-body > .kh-btn { margin: 2em 0; }
.kh-body figcaption { margin-top: .6em; font-size: .85em; color: var(--mute); text-align: center; }
/* 配置・大きさ・スペース（全サイト同じ意味） */
.kh-body .kh-a-left { text-align: left; }
.kh-body .kh-a-center { text-align: center; }
.kh-body .kh-a-right { text-align: right; }
.kh-body .kh-img img { display: block; max-width: 100%; height: auto; }
.kh-body .kh-img.kh-a-center img { margin-inline: auto; }
.kh-body .kh-img.kh-a-right img { margin-left: auto; }
.kh-body .kh-w-full img { width: 100%; }
.kh-body .kh-w-m img { width: 66%; }
.kh-body .kh-w-s img { width: 40%; }
@media (max-width: 600px) { .kh-body .kh-w-m img { width: 100%; } .kh-body .kh-w-s img { width: 60%; } }
.kh-body .kh-sp { margin: 0 !important; }
.kh-body .kh-sp--s { height: 1em; }
.kh-body .kh-sp--m { height: 2.5em; }
.kh-body .kh-sp--l { height: 5em; }
.kh-anchor { scroll-margin-top: 100px; } /* 左上のメニューボタン（64px）にかからないように */
/* 要点・よくある質問・表（sites/nicetownhome と同じ形。色と余白はこのサイトに合わせる） */
.kh-points { margin: 2em 0; padding: 1.6em 1.8em; background: var(--gray); border: 1px solid var(--line); }
.kh-points .kh-points__title { margin: 0 0 .6em; font-weight: 700; color: var(--main); }
.kh-points ul { margin: 0; }
.kh-points ul li:last-child { margin-bottom: 0; }
.kh-faq { margin: 2em 0; }
.kh-faq .kh-faq__title { margin: 0 0 .9em; font-size: 1.45em; font-weight: 700; color: var(--main); line-height: 1.6; }
.kh-faq dl { margin: 0; }
.kh-faq__item { padding: 1.1em 0; border-bottom: 1px solid var(--line); }
.kh-faq__item:first-child { border-top: 1px solid var(--line); }
.kh-faq__item dt, .kh-faq__item dd { position: relative; margin: 0; padding-left: 1.8em; }
.kh-faq__item dt { font-weight: 700; color: var(--main); }
.kh-faq__item dd { margin-top: .3em; }
.kh-faq__item dt::before, .kh-faq__item dd::before { position: absolute; left: 0; top: 0; font-family: var(--en); font-weight: 700; }
.kh-faq__item dt::before { content: "Q."; color: var(--accent); }
.kh-faq__item dd::before { content: "A."; color: var(--mute); }
.kh-table { margin: 2em 0; overflow-x: auto; -webkit-overflow-scrolling: touch; }
.kh-table table { width: 100%; min-width: 420px; margin: 0; border-collapse: collapse; font-size: 14px; }
.kh-table caption { margin-bottom: .6em; font-size: 13px; text-align: left; }
.kh-table th, .kh-table td { padding: .7em 1em; border: 1px solid var(--line); text-align: left; vertical-align: top; }
.kh-table thead th { background: var(--gray); font-weight: 700; color: var(--main); }

/* =========================================================
   自社ブランド Momentary（#momentary）
   作り・色・文字はこのサイトのまま。Momentary の味（王子とお姫さま・手描きの飾り・緑ひと色）を少しだけ添える
   ========================================================= */
.mom { --m-green: #4caf6e; overflow: hidden; background: #fff radial-gradient(rgba(11, 11, 11, .06) 1px, transparent 1.2px) 0 0 / 22px 22px; }

.mom__hero { display: grid; grid-template-columns: minmax(0, 1.2fr) minmax(0, 1fr); gap: clamp(40px, 6vw, 96px); align-items: center; }
.mom__visual { position: relative; padding-bottom: clamp(40px, 5vw, 70px); }
.mom__photo { margin: 0; }
.mom__photo img { display: block; width: 100%; height: auto; aspect-ratio: 16 / 10; object-fit: cover; }
.mom__chars { position: absolute; right: clamp(-10px, -1vw, 0px); bottom: 0; display: flex; align-items: flex-end; width: clamp(150px, 17vw, 250px); }
.mom__char { width: 50%; height: auto; filter: drop-shadow(0 10px 12px rgba(0, 0, 0, .16)); animation: momBob 3.6s ease-in-out infinite; }
.mom__char + .mom__char { animation-delay: -1.8s; }
@keyframes momBob { 0%, 100% { transform: translateY(0); } 50% { transform: translateY(-5px); } }
.mom__d { position: absolute; height: auto; pointer-events: none; filter: drop-shadow(0 6px 8px rgba(0, 0, 0, .1)); }
.mom__d--hoshi { top: -22px; left: -18px; width: clamp(30px, 3vw, 46px); }
.mom__d--oukan { right: clamp(140px, 16vw, 240px); bottom: 14px; width: clamp(34px, 3.4vw, 52px); transform: rotate(-12deg); }
.mom__d--ichigo { position: absolute; right: 10px; bottom: 10px; width: 36px; }

.mom__en { margin: 0 0 18px; font-family: var(--en); font-size: 12px; font-weight: 500; letter-spacing: .3em; color: var(--m-green); }
.mom__logo { margin: 0 0 26px; }
.mom__logo img { display: block; width: clamp(180px, 18vw, 234px); height: auto; }
.mom__catch { margin: 0 0 22px; font-size: clamp(22px, 2.4vw, 30px); font-weight: 700; line-height: 1.7; letter-spacing: .12em; color: var(--ink); }
.mom__txt { margin: 0 0 12px; font-size: 14px; line-height: 2.1; }
.mom__txt--sub { font-size: 13px; color: var(--mute); }
.mom__btn { margin-top: 20px; }

.mom__points { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); margin: clamp(80px, 9vw, 130px) 0 0; padding: 0; list-style: none; border-top: 1px solid var(--line); }
.mom__points li { padding: 34px clamp(18px, 2.4vw, 36px) 34px 0; border-bottom: 1px solid var(--line); }
.mom__points li + li { padding-left: clamp(18px, 2.4vw, 36px); border-left: 1px solid var(--line); }
.mom__num { display: block; margin-bottom: 14px; font-family: var(--en); font-size: 13px; letter-spacing: .2em; color: var(--m-green); }
.mom__pt { margin: 0 0 10px; font-size: 16px; font-weight: 700; letter-spacing: .08em; color: var(--ink); }
.mom__pd { margin: 0; font-size: 13.5px; line-height: 1.9; }

.mom__books { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)) minmax(0, 1.2fr); gap: clamp(18px, 2.4vw, 36px); align-items: end; margin-top: clamp(64px, 7vw, 100px); }
.mom__book figure { position: relative; margin: 0 0 18px; aspect-ratio: 800 / 1155; background: #fff; box-shadow: 0 18px 36px rgba(0, 0, 0, .1); transition: transform .6s var(--ease); }
.mom__book:hover figure { transform: translateY(-8px) rotate(-1deg); }
.mom__book img { display: block; width: 100%; height: 100%; object-fit: cover; }
.mom__vol { margin: 0 0 4px; font-family: var(--en); font-size: 12px; letter-spacing: .2em; color: var(--m-green); }
.mom__bt { margin: 0 0 4px; font-size: 15px; font-weight: 700; letter-spacing: .08em; color: var(--ink); }
.mom__bd { margin: 0; font-size: 12.5px; color: var(--mute); }
.mom__book--soon figure { display: grid; place-items: center; background: var(--gray); box-shadow: none; border: 1px dashed var(--line); }
.mom__book--soon .mom__d--ichigo { width: 36px; height: auto; }
.mom__soon { font-family: var(--en); font-size: 12px; letter-spacing: .22em; color: var(--mute); }
.mom__price { padding: 0 0 6px clamp(8px, 1.6vw, 24px); }
.mom__yen { margin: 0 0 14px; font-family: var(--en); font-size: clamp(40px, 4.4vw, 58px); font-weight: 400; line-height: 1; color: var(--ink); }
.mom__yen span { font-family: var(--ja); font-size: 14px; font-weight: 700; letter-spacing: .08em; }
.mom__yen span:first-child { margin-right: 6px; }
.mom__gift { margin: 0; font-size: 13px; line-height: 1.9; }

@media (max-width: 900px) {
  .mom__hero { grid-template-columns: minmax(0, 1fr); }
  .mom__points { grid-template-columns: minmax(0, 1fr); }
  .mom__points li, .mom__points li + li { padding: 26px 0; border-left: 0; }
  .mom__books { grid-template-columns: repeat(3, minmax(0, 1fr)); align-items: start; gap: 14px; }
  .mom__price { grid-column: 1 / -1; padding: 12px 0 0; }
}
@media (max-width: 600px) {
  .mom__bt { font-size: 12.5px; letter-spacing: 0; }
  .mom__soon { font-size: 10px; letter-spacing: .12em; }
  .mom__d--oukan { display: none; }
}
@media (prefers-reduced-motion: reduce) { .mom__char { animation: none; } }

/* =========================================================
   下層ページ（私たちについて・会社概要・お問い合わせ・資料請求・プライバシーポリシー・お知らせ。templates/page-*.php・news-*.php）
   作りはトップの各欄（sec-head・about・philo・iv・company__table・blog__list）を使い、足りない所だけここに書く
   ========================================================= */
/* 見出しだけのページの頭（すぐ下に別の欄が続くとき） */
.page--head { padding-bottom: clamp(72px, 7vw, 120px); }
/* ページの中の小さな見出し（英字＋日本語。sec-head を小さくしたもの） */
.sub-head { display: flex; align-items: baseline; flex-wrap: wrap; gap: 8px 22px; margin-bottom: clamp(36px, 4vw, 56px); font-weight: inherit; }
.sub-head__en { font-family: var(--en); font-weight: 500; font-size: clamp(30px, 3.4vw, 46px); letter-spacing: .16em; line-height: 1.1; color: var(--main); }
.sub-head__ja { display: inline-flex; align-items: center; gap: 14px; font-size: 13px; font-weight: 700; letter-spacing: .2em; color: var(--ink); line-height: 1.4; }
.sub-head__ja::before { content: ""; width: 32px; height: 1px; background: var(--grad); }

/* 私たちについて */
.apage { padding-bottom: calc(var(--sec) * .7); }
.apage .about__text { padding-top: 40px; }
.apage__title { font-size: clamp(20px, 1.9vw, 26px); }
.apage__quote { margin-top: 2.2em; padding: 22px 0 22px 26px; border-left: 2px solid var(--accent); }
.apage__quote p { font-size: clamp(16px, 1.4vw, 19px); font-weight: 700; color: var(--main); line-height: 1.8; letter-spacing: .06em; }
.apage-areas { padding: 0 0 calc(var(--sec) * .7); }
.apage__areas { display: grid; grid-template-columns: repeat(auto-fit, minmax(min(100%, 340px), 1fr)); border-top: 1px solid var(--line); border-left: 1px solid var(--line); counter-reset: none; }
.apage__areas li { display: flex; align-items: baseline; gap: 18px; padding: 26px 28px; border-right: 1px solid var(--line); border-bottom: 1px solid var(--line); font-size: 15.5px; font-weight: 700; color: var(--ink); letter-spacing: .06em; line-height: 1.7; }
.apage__num { flex: none; font-family: var(--en); font-weight: 300; font-size: 26px; line-height: 1; color: var(--accent); letter-spacing: .02em; }
.apage__svc { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 28px; }
.asvc { display: grid; grid-template-columns: 150px 1fr; gap: 28px; align-items: center; padding: 32px; background: #fff; transition: transform .8s var(--ease), box-shadow .8s var(--ease); }
.asvc.is-in:hover { transform: translateY(-6px); box-shadow: 0 30px 50px -34px rgba(11,11,16,.35); }
.asvc__img { width: 150px; aspect-ratio: 1; border-radius: 50%; overflow: hidden; }
.asvc__img img { width: 100%; height: 100%; object-fit: cover; }
.asvc__ttl { font-size: 19px; font-weight: 700; color: var(--main); letter-spacing: .08em; line-height: 1.55; margin: 8px 0 10px; }
.asvc__txt { font-size: 14px; line-height: 1.95; }
.apage__btns { display: flex; flex-wrap: wrap; gap: 14px; margin-top: 56px; }

/* 会社概要 */
.cpage__intro { max-width: 760px; }
.cpage__intro h2 { font-size: clamp(21px, 2vw, 28px); font-weight: 700; color: var(--main); letter-spacing: .1em; line-height: 1.7; margin-bottom: 14px; }
.cpage__intro p { font-size: 15px; line-height: 2.1; }
.cpage-msg { padding-top: var(--sec); }
.cpage-msg > .wrap { border-top: 0; padding-top: 0; }
.cpage__access { margin-top: clamp(80px, 8vw, 120px); }
.cpage__map { position: relative; aspect-ratio: 16 / 9; background: #fff; }
.cpage__map iframe { position: absolute; inset: 0; width: 100%; height: 100%; border: 0; filter: grayscale(.25); }
.cpage__addr { margin-top: 16px; font-size: 14px; color: var(--ink); }

/* お問い合わせ・資料請求 */
.fpage { border-bottom: 1px solid var(--line); }
.fpage__grid { display: grid; grid-template-columns: minmax(0, 5fr) minmax(0, 7fr); grid-template-areas: "lead form" "info form"; grid-template-rows: auto 1fr; gap: 0 clamp(48px, 6vw, 96px); align-items: start; }
.fpage__lead { grid-area: lead; }
.fpage__info { grid-area: info; }
.fpage__form { grid-area: form; }
.fpage__lead p { font-size: 15px; line-height: 2.1; color: var(--ink); }
.fpage__privacy { margin-top: 40px; padding: 28px 30px; background: var(--gray); font-size: 13px; line-height: 1.95; }
.fpage__privacy h2 { font-size: 15px; font-weight: 700; color: var(--main); letter-spacing: .1em; margin-bottom: 10px; }
.fpage__privacy p + p { margin-top: .9em; }
.fpage__privacy b { color: var(--main); }
.fpage__privacy a { display: inline-flex; align-items: center; gap: 10px; font-weight: 700; color: var(--main); text-decoration: underline; text-underline-offset: 4px; }
.fpage__privacy .chev { width: 6px; height: 6px; }
.fpage__tel { position: relative; display: flex; flex-direction: column; gap: 6px; margin-top: 24px; padding: 28px 30px; border: 1px solid var(--line); transition: border-color .5s, background .5s; }
.fpage__tel:hover { border-color: var(--main); background: var(--gray); }
.fpage__tel-en { font-family: var(--en); font-size: 11px; letter-spacing: .32em; color: var(--accent); }
.fpage__tel-num { font-family: var(--en); font-size: clamp(28px, 2.6vw, 36px); letter-spacing: .06em; color: var(--main); line-height: 1.2; }
.fpage__tel-txt { font-size: 12.5px; color: var(--mute); line-height: 1.8; }
.fpage__form { padding: clamp(28px, 4vw, 56px); background: var(--gray); }
/* フォーム（拡張機能 forms の .khf）をサイトの見た目に：角を立て、線は細く、送信はサイトの黒いボタン */
.fpage .khf { margin: 0; color: var(--ink); }
.fpage .khf__form { gap: 1.6em; }
.fpage .khf__label { font-size: 14px; color: var(--main); letter-spacing: .08em; }
.fpage .khf__req, .fpage .khf__opt { border-radius: 0; font-size: 10.5px; letter-spacing: .1em; padding: .4em .6em; }
.fpage .khf__req { background: var(--accent); }
.fpage .khf__opt { background: #fff; color: var(--mute); border: 1px solid var(--line); }
.fpage .khf input[type=text], .fpage .khf input[type=email], .fpage .khf input[type=tel], .fpage .khf input[type=date], .fpage .khf select, .fpage .khf textarea { padding: .95em 1em; border: 1px solid var(--line); border-radius: 0; background: #fff; font-size: 15px; transition: border-color .4s; }
.fpage .khf input:focus, .fpage .khf select:focus, .fpage .khf textarea:focus { outline: none; border-color: var(--main); }
.fpage .khf__choices { gap: .5em 1.6em; }
.fpage .khf__choice input { accent-color: var(--main); width: 16px; height: 16px; }
.fpage .khf__agree { font-weight: 700; color: var(--main); }
.fpage .khf__actions { justify-content: flex-start; margin-top: .8em; }
.fpage .khf__submit, .fpage .khf__back { min-width: 0; min-height: 64px; padding: 20px 44px; border-radius: 0; font-size: 15px; letter-spacing: .1em; transition: background .5s var(--ease), border-color .5s; }
.fpage .khf__submit { background: var(--main); border-color: var(--main); }
.fpage .khf__submit:hover { background: var(--accent); border-color: var(--accent); }
.fpage .khf__done { background: #fff; border-radius: 0; color: var(--main); font-weight: 700; line-height: 2; }
.fpage .khf__alert { border-radius: 0; }

/* プライバシーポリシー（本文は記事と同じ kh-body） */
.ppage .kh-body { margin-top: 0; }
.ppage .kh-body > h2:first-child { margin-top: 0; }

/* お知らせの一覧（トップの BLOG の一覧と同じ行） */
.nlist .blog__name { font-size: 16px; }
.page-more .nlist { margin-top: 0; }

.footer__note a { color: var(--ink); text-decoration: underline; text-underline-offset: 4px; }
.footer__note a:hover { color: var(--accent); }

@media (max-width: 1000px) {
  .apage__svc { grid-template-columns: minmax(0, 1fr); }
  .fpage__grid { grid-template-columns: minmax(0, 1fr); grid-template-areas: "lead" "form" "info"; grid-template-rows: auto; }
  .fpage__form { margin-top: 40px; }
}
@media (max-width: 767px) {
  .apage .about__text { padding-top: 24px; }
  .apage__areas li { padding: 20px 20px; font-size: 14.5px; gap: 14px; }
  .apage__num { font-size: 22px; }
  .asvc { grid-template-columns: 88px 1fr; gap: 18px; padding: 22px 20px; }
  .asvc__img { width: 88px; }
  .asvc__ttl { font-size: 16.5px; }
  .asvc__txt { font-size: 13.5px; }
  .apage__btns .btn { width: 100%; justify-content: space-between; }
  .cpage__map { aspect-ratio: 4 / 3; }
  .fpage__privacy, .fpage__tel { padding: 22px 20px; }
  .fpage__form { padding: 26px 18px; margin-inline: calc(var(--pad) * -1); }
  .fpage .khf__submit { width: 100%; }
}

/* =========================================================
   白黒の案（html.look-mono。2026-10-23 のご依頼、2026-11-04 にこちらに決定）
   差し色のピンク〜紫をグレー（黒の半透明）に。ヒーロー（写真・楕円・NEXT SPARK）は今の案の形のまま
   （class は includes/header.php の <html> に付けている）
   ========================================================= */
.look-mono {
  --accent: rgba(11, 11, 11, .6);
  --pink: #2a2a2e;
  --purple: #8b8b94;
  --grad: linear-gradient(100deg, #1c1c20 0%, #6e6e76 100%);
}
.look-mono .top__band { background: linear-gradient(180deg, #efeff1 0%, #f4f4f6 60%, rgba(244,244,246,0) 100%); }
.look-mono .top__band::before { background-image: radial-gradient(rgba(11,11,11,.22) 1px, transparent 1.4px); }
/* 黒い地の上の小さな英字（#f5a8c4 のピンク）→ 白の半透明 */
.look-mono .philo__val small, .look-mono .gnav__list a:hover .en, .look-mono .contact__en, .look-mono .fixbar__entry .en { color: rgba(255,255,255,.55); }
.look-mono .contact::before { background: radial-gradient(ellipse 70% 60% at 85% 10%, rgba(255,255,255,.1), transparent 70%), radial-gradient(ellipse 60% 50% at 10% 100%, rgba(255,255,255,.06), transparent 70%); }
