/* ==========================================
   EGG BASE LAB — Editorial Magazine Style
   ========================================== */

*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }

:root {
  --bg: #F5F4F0;
  --bg-off: #EEEDE8;
  --bg-white: #FFFFFF;
  --bg-dark: #0C0C0C;
  --bg-mid: #161616;
  --text: #0C0C0C;
  --text-muted: #8C8C8C;
  --text-faint: rgba(12,12,12,0.07);
  --border: #DDDCD7;
  --white: #FFFFFF;
  --font-en: 'Inter', sans-serif;
  --font-jp: 'Noto Sans JP', sans-serif;
  --tr: 0.3s cubic-bezier(0.4, 0, 0.2, 1);
}

html { scroll-behavior: smooth; font-size: 16px; overflow-x: hidden; }

body {
  font-family: var(--font-jp);
  color: var(--text);
  background: var(--bg);
  line-height: 1.7;
  -webkit-font-smoothing: antialiased;
}

img { max-width: 100%; height: auto; display: block; }
a { text-decoration: none; color: inherit; }
ul { list-style: none; }
button { cursor: pointer; border: none; background: none; font-family: inherit; }

.container { max-width: 1360px; margin: 0 auto; padding: 0 56px; }

/* ===== HEADER ===== */
.header {
  position: fixed; top: 0; left: 0; right: 0;
  z-index: 1000;
  transition: all var(--tr);
}
.header.scrolled {
  background: rgba(245,244,240,0.96);
  backdrop-filter: blur(20px);
  -webkit-backdrop-filter: blur(20px);
  border-bottom: 1px solid var(--border);
}
.header__inner {
  max-width: 1360px; margin: 0 auto; padding: 0 56px;
  height: 68px; display: flex; align-items: center; justify-content: space-between;
}
.header__logo {
  font-family: var(--font-en); font-size: 1.05rem; font-weight: 900;
  letter-spacing: 0.18em; color: var(--text); display: flex; gap: 7px;
}
.logo-light { font-weight: 500; }
.logo-gray { color: var(--text-muted); font-weight: 400; }

.header__nav-list { display: flex; align-items: center; gap: 36px; }
.nav-link {
  font-family: var(--font-en); font-size: 0.76rem; font-weight: 500;
  color: var(--text-muted); letter-spacing: 0.05em; transition: color var(--tr);
}
.nav-link:hover { color: var(--text); }
.nav-link--cta {
  color: var(--text) !important; font-weight: 700;
  border-bottom: 1.5px solid var(--text); padding-bottom: 1px;
}
.nav-link--cta:hover { opacity: 0.6; }

.hamburger { display: none; flex-direction: column; gap: 7px; padding: 4px; }
.hamburger span {
  display: block; width: 26px; height: 1.5px; background: var(--text);
  transition: all var(--tr);
}
.hamburger.active span:nth-child(1) { transform: translateY(8.5px) rotate(45deg); }
.hamburger.active span:nth-child(2) { transform: translateY(-8.5px) rotate(-45deg); }

/* ===== HERO ===== */
.hero {
  min-height: 100vh;
  background: var(--bg-white);
  position: relative;
  overflow: hidden;
  border-bottom: 1px solid var(--border);
  display: flex;
  flex-direction: column;
  justify-content: flex-end;
}

/* ガチャガチャ背景テキスト群 */
.hero__bg-layer {
  position: absolute;
  inset: 0;
  pointer-events: none;
  user-select: none;
}

.hbg {
  position: absolute;
  font-family: var(--font-en);
  font-weight: 900;
  color: var(--text-faint);
  line-height: 1;
  white-space: nowrap;
}

.hbg--1 {
  font-size: clamp(5rem, 14vw, 18rem);
  letter-spacing: -0.05em;
  top: -2%;
  left: -2%;
  animation: bgFloat1 18s ease-in-out infinite;
}
.hbg--2 {
  font-size: clamp(3rem, 9vw, 11rem);
  letter-spacing: -0.04em;
  top: 8%;
  right: -3%;
  animation: bgFloat2 14s ease-in-out infinite;
}
.hbg--3 {
  font-size: clamp(6rem, 18vw, 24rem);
  letter-spacing: -0.06em;
  top: 30%;
  left: 5%;
  animation: bgFloat3 22s ease-in-out infinite;
}
.hbg--4 {
  font-size: clamp(4rem, 10vw, 14rem);
  letter-spacing: -0.04em;
  top: 25%;
  right: 10%;
  animation: bgFloat1 16s ease-in-out infinite reverse;
}
.hbg--5 {
  font-size: clamp(5rem, 15vw, 20rem);
  letter-spacing: -0.05em;
  top: 55%;
  left: 30%;
  animation: bgFloat2 20s ease-in-out infinite;
}
.hbg--6 {
  font-size: clamp(2rem, 6vw, 8rem);
  letter-spacing: 0.05em;
  top: 60%;
  right: -1%;
  animation: bgFloat3 12s ease-in-out infinite;
}
.hbg--7 {
  font-size: clamp(3rem, 8vw, 10rem);
  letter-spacing: -0.03em;
  bottom: 15%;
  left: -1%;
  animation: bgFloat1 15s ease-in-out infinite reverse;
}
.hbg--8 {
  font-size: clamp(2rem, 5vw, 6rem);
  letter-spacing: 0.02em;
  bottom: 5%;
  right: 15%;
  animation: bgFloat2 11s ease-in-out infinite;
}
.hbg--9 {
  font-size: clamp(1.5rem, 4vw, 5rem);
  letter-spacing: 0.1em;
  top: 45%;
  right: 35%;
  animation: bgFloat3 9s ease-in-out infinite;
}
.hbg--10 {
  font-size: clamp(4rem, 11vw, 14rem);
  letter-spacing: 0.05em;
  bottom: 22%;
  left: 42%;
  animation: bgFloat1 17s ease-in-out infinite;
}

@keyframes bgFloat1 {
  0%, 100% { transform: translate(0, 0); opacity: 0.7; }
  33% { transform: translate(18px, -28px); opacity: 1; }
  66% { transform: translate(-12px, 14px); opacity: 0.6; }
}
@keyframes bgFloat2 {
  0%, 100% { transform: translate(0, 0) rotate(0deg); opacity: 0.7; }
  50% { transform: translate(-20px, 20px) rotate(1deg); opacity: 1; }
}
@keyframes bgFloat3 {
  0%, 100% { transform: translate(0, 0); opacity: 0.6; }
  40% { transform: translate(14px, -18px); opacity: 1; }
  80% { transform: translate(-8px, 10px); opacity: 0.7; }
}

/* ヒーローコンテンツ */
.hero__content {
  position: relative;
  z-index: 2;
  max-width: 1360px;
  margin: 0 auto;
  padding: 0 56px 72px;
  width: 100%;
}

.hero__meta-row {
  display: flex;
  align-items: center;
  gap: 40px;
  padding-top: 96px;
  padding-bottom: 40px;
  border-bottom: 1px solid var(--border);
  margin-bottom: 40px;
  animation: fadeUp 0.7s ease 0.3s both;
}

.hero__meta-tag {
  font-family: var(--font-en);
  font-size: 0.62rem;
  font-weight: 700;
  letter-spacing: 0.28em;
  color: var(--text-muted);
}

.hero__meta-place {
  font-family: var(--font-en);
  font-size: 0.62rem;
  font-weight: 400;
  letter-spacing: 0.1em;
  color: var(--text-muted);
}

.hero__meta-num {
  font-family: var(--font-en);
  font-size: 0.62rem;
  font-weight: 700;
  letter-spacing: 0.12em;
  color: var(--text-muted);
  margin-left: auto;
  border: 1px solid var(--border);
  padding: 4px 12px;
}

/* タイトルブロック — ガチャガチャタイポグラフィ */
.hero__title-block {
  margin-bottom: 56px;
  animation: fadeUp 1s ease 0.45s both;
}

.hero__title-line-1,
.hero__title-line-2,
.hero__title-line-3 {
  display: flex;
  align-items: baseline;
  flex-wrap: wrap;
  line-height: 0.95;
  gap: 0 8px;
}

.hero__title-line-2 { margin-left: clamp(20px, 5vw, 80px); }
.hero__title-line-3 { margin-left: clamp(10px, 3vw, 48px); }

/* 個々の文字スタイル */
.ht { display: inline-block; letter-spacing: -0.04em; font-weight: 900; color: var(--text); }

.ht--ja-huge { font-size: clamp(4.5rem, 12vw, 15rem); font-weight: 900; }
.ht--ja-xl   { font-size: clamp(3.5rem, 9vw, 12rem); font-weight: 900; }
.ht--ja-mid  { font-size: clamp(1.5rem, 4vw, 5.5rem); font-weight: 700; }
.ht--ja-tiny { font-size: clamp(0.9rem, 2.2vw, 2.8rem); font-weight: 300; color: var(--text-muted); }
.ht--en-large { font-size: clamp(2.5rem, 7vw, 9rem); font-weight: 900; font-family: var(--font-en); letter-spacing: -0.06em; }
.ht--en-small { font-size: clamp(1.2rem, 3vw, 4rem); font-weight: 900; font-family: var(--font-en); color: var(--text-muted); }
.ht--en-tiny  { font-size: clamp(0.75rem, 1.5vw, 1.8rem); font-weight: 400; font-family: var(--font-en); color: var(--text-muted); letter-spacing: 0.02em; }

.hero__bottom {
  display: grid;
  grid-template-columns: 1fr auto;
  gap: 48px;
  align-items: flex-end;
  padding-top: 40px;
  border-top: 1px solid var(--border);
  animation: fadeUp 0.8s ease 0.7s both;
}

.hero__desc {
  font-size: 0.9rem;
  color: var(--text-muted);
  line-height: 1.9;
  margin-bottom: 24px;
  max-width: 380px;
}

.hero__cta-row { display: flex; align-items: center; gap: 16px; }

.hero__btn {
  font-family: var(--font-en);
  font-size: 0.75rem; font-weight: 700; letter-spacing: 0.1em;
  color: var(--text-muted); border: 1.5px solid var(--border);
  padding: 12px 24px; transition: all var(--tr);
}
.hero__btn:hover { color: var(--text); border-color: var(--text); }
.hero__btn--fill {
  background: var(--text); color: var(--white) !important; border-color: var(--text);
}
.hero__btn--fill:hover { background: #333; border-color: #333; }

.hero__scroll-col {
  display: flex; flex-direction: column; align-items: center; gap: 8px;
}
.hero__scroll-bar {
  width: 1px; height: 60px;
  background: linear-gradient(to bottom, var(--border), transparent);
}
.hero__scroll-col span {
  font-family: var(--font-en);
  font-size: 0.52rem; font-weight: 600; letter-spacing: 0.22em; color: var(--text-muted);
  writing-mode: vertical-rl;
}

@keyframes fadeUp {
  from { opacity: 0; transform: translateY(28px); }
  to { opacity: 1; transform: translateY(0); }
}
@keyframes fadeIn {
  from { opacity: 0; }
  to { opacity: 1; }
}

/* ===== TICKER ===== */
.ticker {
  overflow: hidden;
  border-bottom: 1px solid var(--border);
  background: var(--bg-white);
  padding: 15px 0;
}
.ticker--dark {
  background: var(--bg-dark);
  border-top: none; border-bottom: none;
}

.ticker__track {
  display: flex; align-items: center;
  white-space: nowrap;
  animation: tickFwd 32s linear infinite;
  width: max-content;
}
.ticker__track--rev {
  animation: tickRev 26s linear infinite;
}

.ticker__track span {
  font-family: var(--font-en);
  font-size: 0.8rem; font-weight: 500; letter-spacing: 0.06em;
  color: var(--text-muted); padding: 0 20px;
}
.ticker--dark .ticker__track span { color: rgba(255,255,255,0.35); font-size: 0.75rem; }

.ticker__track b {
  font-style: normal; color: var(--border); font-size: 0.9rem; padding: 0 4px; font-weight: 400;
}
.ticker--dark .ticker__track b { color: rgba(255,255,255,0.1); }

@keyframes tickFwd { from { transform: translateX(0); } to { transform: translateX(-50%); } }
@keyframes tickRev { from { transform: translateX(-50%); } to { transform: translateX(0); } }

/* ===== EDITORIAL ===== */
.editorial {
  background: var(--bg);
  border-bottom: 1px solid var(--border);
  overflow: hidden;
}

.editorial__layout {
  display: grid;
  grid-template-columns: 120px 1fr 200px;
  gap: 0;
  max-width: 1360px;
  margin: 0 auto;
  padding: 0 56px;
}

.editorial__left {
  border-right: 1px solid var(--border);
  padding: 120px 40px 120px 0;
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 40px;
}

.editorial__label {
  font-family: var(--font-en);
  font-size: 0.58rem; font-weight: 700; letter-spacing: 0.28em;
  color: var(--text-muted); writing-mode: vertical-rl;
}

.editorial__big-num {
  font-family: var(--font-en);
  font-size: clamp(2rem, 4vw, 5rem);
  font-weight: 900; color: var(--text-faint);
  letter-spacing: -0.06em; line-height: 1;
  writing-mode: vertical-rl;
}

.editorial__center {
  padding: 120px 56px;
}

/* エディトリアルリード — ガチャガチャな文字サイズ */
.editorial__lead {
  display: flex; align-items: baseline; flex-wrap: wrap;
  gap: 0 6px; line-height: 0.95; margin-bottom: 2px;
}
.editorial__lead--pad { margin-left: clamp(16px, 4vw, 64px); }

.el--xl {
  font-size: clamp(3rem, 7vw, 8rem);
  font-weight: 900; letter-spacing: -0.04em; color: var(--text); display: inline-block;
}
.el--lg {
  font-size: clamp(2rem, 4.5vw, 5.5rem);
  font-weight: 700; letter-spacing: -0.03em; color: var(--text); display: inline-block;
}
.el--mid {
  font-size: clamp(1.5rem, 3.5vw, 4rem);
  font-weight: 700; letter-spacing: -0.02em; color: var(--text); display: inline-block;
}
.el--sm {
  font-size: clamp(0.9rem, 2vw, 2.5rem);
  font-weight: 400; color: var(--text-muted); display: inline-block;
}

.editorial__body {
  margin-top: 56px;
  display: flex; flex-direction: column; gap: 20px;
  max-width: 580px;
}
.editorial__body p {
  font-size: 0.92rem; color: var(--text-muted); line-height: 2.1;
}

.editorial__link {
  display: inline-block; margin-top: 36px;
  font-family: var(--font-en);
  font-size: 0.78rem; font-weight: 600; letter-spacing: 0.08em;
  color: var(--text); border-bottom: 1px solid var(--border);
  padding-bottom: 2px; transition: border-color var(--tr);
}
.editorial__link:hover { border-color: var(--text); }

.editorial__right {
  border-left: 1px solid var(--border);
  padding: 120px 0 120px 40px;
}

.editorial__stats { display: flex; flex-direction: column; gap: 40px; }

.es__n {
  display: block;
  font-family: var(--font-en);
  font-size: clamp(2rem, 3.5vw, 3.5rem);
  font-weight: 900; letter-spacing: -0.05em; color: var(--text);
  line-height: 1; margin-bottom: 4px;
}
.es__l {
  font-size: 0.8rem; color: var(--text-muted); letter-spacing: 0.02em;
}

/* ===== SERVICES ===== */
.services-section {
  background: var(--bg-white);
  border-bottom: 1px solid var(--border);
}

.ss-header {
  border-bottom: 2px solid var(--text);
  padding: 80px 0 48px;
}
.ss-header__inner {
  max-width: 1360px; margin: 0 auto; padding: 0 56px;
  display: flex; align-items: flex-end; justify-content: space-between; gap: 32px;
}

.ss-label {
  font-family: var(--font-en);
  font-size: 0.6rem; font-weight: 700; letter-spacing: 0.28em;
  color: var(--text-muted); display: block; margin-bottom: 12px;
}

.ss-title {
  display: flex; align-items: baseline; gap: 16px; line-height: 0.95;
}
.ss-title--huge {
  font-size: clamp(3rem, 8vw, 10rem);
  font-weight: 900; letter-spacing: -0.05em; color: var(--text);
}
.ss-title--en {
  font-family: var(--font-en);
  font-size: clamp(0.8rem, 2vw, 2rem);
  font-weight: 400; color: var(--text-muted);
  letter-spacing: 0.04em; align-self: flex-end; padding-bottom: 8px;
}

.ss-all {
  font-family: var(--font-en);
  font-size: 0.75rem; font-weight: 700; letter-spacing: 0.1em;
  color: var(--text-muted); transition: color var(--tr);
  white-space: nowrap; padding-bottom: 8px;
}
.ss-all:hover { color: var(--text); }

.ss-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 0;
  background: var(--border);
  border-top: 1px solid var(--border);
}

.ss-card {
  position: relative; overflow: hidden;
  background: var(--bg-white);
  padding: 56px 56px 56px;
  border-right: 1px solid var(--border);
  border-bottom: 1px solid var(--border);
  transition: background 0.4s ease;
  min-height: 480px;
}
.ss-card:hover { background: #F8F7F3; }
.ss-card:nth-child(even) { border-right: none; }

/* カード背景の大きい薄い文字 */
.ss-card__bg {
  position: absolute;
  bottom: -30px; right: -20px;
  font-family: var(--font-en);
  font-size: clamp(5rem, 13vw, 16rem);
  font-weight: 900; letter-spacing: -0.06em;
  color: var(--text-faint); line-height: 1;
  pointer-events: none; user-select: none;
  transition: transform 0.6s ease;
}
.ss-card:hover .ss-card__bg { transform: translateY(-10px) scale(1.02); }

.ss-card__body {
  position: relative; z-index: 1;
  height: 100%; display: flex; flex-direction: column;
}

.ss-card__head {
  display: flex; justify-content: space-between; align-items: flex-start;
  margin-bottom: 56px;
}

.ss-card__n {
  font-family: var(--font-en);
  font-size: 0.6rem; font-weight: 700; letter-spacing: 0.15em; color: var(--text-muted);
}
.ss-card__tag {
  font-family: var(--font-en);
  font-size: 0.6rem; font-weight: 600; letter-spacing: 0.1em;
  color: var(--text-muted); border: 1px solid var(--border); padding: 4px 10px;
}

/* カードタイトル — ガチャガチャな文字サイズ */
.ss-card__title {
  display: flex; align-items: baseline; flex-wrap: wrap;
  gap: 0 6px; margin-bottom: 20px; line-height: 1.0;
}
.sct--big {
  font-size: clamp(2rem, 4vw, 4.5rem);
  font-weight: 900; letter-spacing: -0.04em; color: var(--text); display: inline-block;
}
.sct--mid {
  font-size: clamp(1.2rem, 2.5vw, 3rem);
  font-weight: 700; letter-spacing: -0.03em; color: var(--text); display: inline-block;
}
.sct--sm {
  font-size: clamp(0.8rem, 1.5vw, 1.8rem);
  font-weight: 400; color: var(--text-muted); display: inline-block;
}

.ss-card__desc {
  font-size: 0.88rem; color: var(--text-muted); line-height: 1.9; margin-bottom: 24px;
}

.ss-card__list {
  display: flex; flex-wrap: wrap; gap: 6px; margin-top: auto;
}
.ss-card__list li {
  font-family: var(--font-en);
  font-size: 0.65rem; font-weight: 500; color: var(--text-muted);
  border: 1px solid var(--border); padding: 3px 10px; letter-spacing: 0.04em;
}

/* カード色テーマ */
.ss-card--web  { background: #FAFAF7; }
.ss-card--ec   { background: #F7FAFA; }
.ss-card--game { background: #FAF7FA; }
.ss-card--design { background: #F7FAF7; }

/* ===== WORKS ===== */
.works-section {
  background: var(--bg);
  border-bottom: 1px solid var(--border);
}

.works-head {
  border-bottom: 2px solid var(--text);
  padding: 80px 0 48px;
}

.works-title {
  display: flex; align-items: baseline; flex-wrap: wrap;
  gap: 0 20px; line-height: 0.95;
}
.wt--en {
  font-family: var(--font-en);
  font-size: clamp(3rem, 8vw, 11rem);
  font-weight: 900; letter-spacing: -0.06em; color: var(--text);
}
.wt--ja {
  font-size: clamp(1.5rem, 4vw, 5.5rem);
  font-weight: 900; letter-spacing: -0.04em; color: var(--text);
}
.wt--en-sm {
  font-family: var(--font-en);
  font-size: clamp(0.8rem, 2vw, 2rem);
  font-weight: 400; color: var(--text-muted);
  letter-spacing: 0.04em; align-self: flex-end; padding-bottom: 8px;
}

.works-more {
  display: inline-block; margin-top: 20px;
  font-family: var(--font-en);
  font-size: 0.75rem; font-weight: 700; letter-spacing: 0.1em;
  color: var(--text-muted); transition: color var(--tr);
}
.works-more:hover { color: var(--text); }

/* ウォール型グリッド */
.works-wall {
  display: grid;
  grid-template-columns: 2fr 1fr 1fr;
  grid-template-rows: auto auto;
  gap: 0;
  background: var(--border);
  border-top: 1px solid var(--border);
}

.ww-item {
  position: relative; overflow: hidden;
  cursor: pointer;
  min-height: 280px;
}
.ww-item--1 {
  grid-row: span 2;
  background: linear-gradient(160deg, #1a1a2e 0%, #3d2b6b 45%, #7b3fa0 100%);
}
.ww-item--2 { background: linear-gradient(145deg, #0f2027 0%, #2c5364 100%); }
.ww-item--3 { background: linear-gradient(145deg, #1a2a1a 0%, #3a7a3a 100%); }
.ww-item--4 { background: linear-gradient(145deg, #2a1a0f 0%, #7a4a20 100%); }
.ww-item--quote {
  background: var(--bg-dark);
  display: flex; flex-direction: column;
  justify-content: center; padding: 48px;
}

.ww-item__label {
  position: absolute; top: 24px; left: 24px;
  font-family: var(--font-en);
  font-size: 0.6rem; font-weight: 700; letter-spacing: 0.15em;
  color: rgba(255,255,255,0.5); border: 1px solid rgba(255,255,255,0.2);
  padding: 4px 10px;
}
.ww-item__content {
  position: absolute; bottom: 24px; left: 24px; right: 24px;
  transition: transform var(--tr);
}
.ww-item:hover .ww-item__content { transform: translateY(-6px); }

.ww-item__content h3 {
  font-size: clamp(1.5rem, 3vw, 3.5rem);
  font-weight: 900; color: var(--white);
  letter-spacing: -0.04em; line-height: 1.1; margin-bottom: 8px;
}
.ww-item--1 .ww-item__content h3 { font-size: clamp(2.5rem, 5vw, 6rem); }
.ww-item__content p {
  font-family: var(--font-en);
  font-size: 0.65rem; color: rgba(255,255,255,0.45);
  letter-spacing: 0.08em;
  opacity: 0; transform: translateY(6px); transition: all var(--tr);
}
.ww-item:hover .ww-item__content p { opacity: 1; transform: translateY(0); }

.ww-quote {
  font-size: clamp(1.2rem, 2.5vw, 2.2rem);
  font-weight: 900; color: rgba(255,255,255,0.85);
  letter-spacing: -0.03em; line-height: 1.3; margin-bottom: 16px;
}
.ww-item--quote span {
  font-family: var(--font-en); font-size: 0.65rem;
  color: rgba(255,255,255,0.3); letter-spacing: 0.08em;
}

/* ===== WHY CHOOSE ===== */
.why-section {
  padding: 120px 0;
  background: var(--bg-white);
  border-bottom: 1px solid var(--border);
}

.why-title-block { margin-bottom: 80px; }

.why-label {
  font-family: var(--font-en);
  font-size: 0.6rem; font-weight: 700; letter-spacing: 0.28em;
  color: var(--text-muted); display: block; margin-bottom: 16px;
}

.why-big-title {
  display: flex; align-items: baseline; gap: 20px; flex-wrap: wrap;
  line-height: 0.95;
}
.why-big--en {
  font-family: var(--font-en);
  font-size: clamp(2.5rem, 7vw, 9rem);
  font-weight: 900; letter-spacing: -0.06em; color: var(--text-faint);
}
.why-big--ja {
  font-size: clamp(2rem, 5vw, 7rem);
  font-weight: 900; letter-spacing: -0.04em; color: var(--text);
}

.why-items { display: flex; flex-direction: column; }

.why-item {
  display: grid; grid-template-columns: 120px 1fr 220px;
  gap: 48px; align-items: center;
  padding: 56px 0; border-bottom: 1px solid var(--border);
}
.why-item:last-child { border-bottom: none; }

.why-item__n {
  font-family: var(--font-en);
  font-size: clamp(3rem, 5vw, 6rem);
  font-weight: 900; letter-spacing: -0.06em;
  color: var(--text-faint); line-height: 1; display: block;
}

/* 選ばれる理由タイトルもガチャガチャ */
.why-item__title {
  display: flex; align-items: baseline; flex-wrap: wrap;
  gap: 0 6px; line-height: 1.05; margin-bottom: 16px;
}
.wit--big {
  font-size: clamp(1.6rem, 3vw, 3.5rem);
  font-weight: 900; letter-spacing: -0.04em; color: var(--text); display: inline-block;
}
.wit--mid {
  font-size: clamp(1rem, 2vw, 2.2rem);
  font-weight: 700; letter-spacing: -0.02em; color: var(--text); display: inline-block;
}
.wit--sm {
  font-size: clamp(0.75rem, 1.5vw, 1.5rem);
  font-weight: 400; color: var(--text-muted); display: inline-block;
}

.why-item__desc {
  font-size: 0.88rem; color: var(--text-muted); line-height: 2.0;
}

.why-item__vis {
  height: 140px; border-radius: 2px; overflow: hidden;
}
.why-item__vis--01 { background: linear-gradient(135deg, #e8e4dc, #c8c0a8); }
.why-item__vis--02 { background: linear-gradient(135deg, #d4dde8, #a8b8cc); }
.why-item__vis--03 { background: linear-gradient(135deg, #e8d4dc, #ccb0bc); }
.why-item__vis--04 { background: linear-gradient(135deg, #d8e8d4, #b0cc9c); }

/* ===== フルテキストCTAセクション ===== */
.fulltext-section {
  background: var(--bg-dark);
  position: relative;
  overflow: hidden;
  padding: 160px 0;
}

/* 背景のガチャガチャテキスト */
.fulltext-bg {
  position: absolute; inset: 0;
  display: flex; flex-direction: column;
  justify-content: space-around; overflow: hidden;
  pointer-events: none; user-select: none;
}
.fulltext-bg span {
  font-family: var(--font-en);
  font-size: clamp(4rem, 16vw, 22rem);
  font-weight: 900; letter-spacing: -0.05em;
  color: rgba(255,255,255,0.025);
  white-space: nowrap; line-height: 0.9;
}
.fulltext-bg span:nth-child(even) { margin-left: 10%; }
.fulltext-bg span:nth-child(3n) { margin-left: -5%; }

.fulltext-inner {
  position: relative; z-index: 1;
  max-width: 1000px; margin: 0 auto;
}

/* フルテキストのガチャガチャ文字 */
.fulltext-quote {
  display: flex; align-items: baseline; flex-wrap: wrap;
  gap: 0 8px; line-height: 0.92; margin-bottom: 4px;
}
.fulltext-quote--2 { margin-left: clamp(20px, 5vw, 80px); }
.fulltext-quote--3 { margin-left: clamp(10px, 3vw, 48px); margin-bottom: 64px; }

.fq--huge {
  font-size: clamp(4rem, 10vw, 12rem);
  font-weight: 900; letter-spacing: -0.05em;
  color: var(--white); display: inline-block;
}
.fq--xl {
  font-size: clamp(3rem, 7vw, 9rem);
  font-weight: 900; letter-spacing: -0.04em;
  color: var(--white); display: inline-block;
}
.fq--lg {
  font-size: clamp(2rem, 4.5vw, 6rem);
  font-weight: 700; letter-spacing: -0.03em;
  color: rgba(255,255,255,0.8); display: inline-block;
}
.fq--mid {
  font-size: clamp(1.2rem, 3vw, 4rem);
  font-weight: 700; letter-spacing: -0.02em;
  color: rgba(255,255,255,0.7); display: inline-block;
}
.fq--sm {
  font-size: clamp(0.8rem, 2vw, 2.5rem);
  font-weight: 300; color: rgba(255,255,255,0.4); display: inline-block;
}

.fulltext-cta {
  display: flex; align-items: center; gap: 32px; flex-wrap: wrap;
}

.ft-btn {
  font-family: var(--font-en);
  font-size: 0.82rem; font-weight: 700; letter-spacing: 0.08em;
  color: var(--bg-dark); background: var(--white);
  border: 1.5px solid var(--white); padding: 16px 40px;
  transition: all var(--tr);
}
.ft-btn:hover { background: transparent; color: var(--white); }

.ft-link {
  font-family: var(--font-en);
  font-size: 0.78rem; font-weight: 600; letter-spacing: 0.08em;
  color: rgba(255,255,255,0.45); transition: color var(--tr);
}
.ft-link:hover { color: var(--white); }

/* ===== FOOTER ===== */
.footer {
  background: var(--bg-dark); color: var(--white);
  border-top: 1px solid rgba(255,255,255,0.05);
}

.footer__marquee {
  overflow: hidden;
  border-bottom: 1px solid rgba(255,255,255,0.06);
  padding: 20px 0;
}
.footer__marquee-track {
  display: flex; align-items: center; white-space: nowrap;
  animation: tickFwd 22s linear infinite; width: max-content;
}
.footer__marquee-track span {
  font-family: var(--font-en);
  font-size: clamp(0.65rem, 1.2vw, 0.85rem);
  font-weight: 700; letter-spacing: 0.15em;
  color: rgba(255,255,255,0.12); padding: 0 24px; text-transform: uppercase;
}
.footer__marquee-track b {
  color: rgba(255,255,255,0.06); font-weight: 400; padding: 0 4px;
}

.footer__mid {
  display: flex; justify-content: space-between; align-items: flex-start;
  gap: 80px; padding: 64px 0; border-bottom: 1px solid rgba(255,255,255,0.06);
  margin-bottom: 32px;
}

.footer__logo-text {
  font-family: var(--font-en);
  font-size: clamp(1.5rem, 3vw, 3rem);
  font-weight: 900; letter-spacing: 0.08em; line-height: 1.05;
  color: rgba(255,255,255,0.12); margin-bottom: 24px;
}

.footer__catch {
  font-size: 0.95rem; font-weight: 500;
  color: rgba(255,255,255,0.75); line-height: 1.8; margin-bottom: 8px;
}
.footer__catch-en {
  font-family: var(--font-en);
  font-size: 0.72rem; font-weight: 400;
  color: rgba(255,255,255,0.22); letter-spacing: 0.04em; line-height: 1.7;
}

.footer__nav-cols { display: flex; gap: 72px; }

.footer__col h4 {
  font-family: var(--font-en);
  font-size: 0.6rem; font-weight: 700; letter-spacing: 0.22em;
  color: rgba(255,255,255,0.22); text-transform: uppercase; margin-bottom: 20px;
}
.footer__col ul { display: flex; flex-direction: column; gap: 12px; }
.footer__col li a {
  font-size: 0.85rem; color: rgba(255,255,255,0.42); transition: color var(--tr);
}
.footer__col li a:hover { color: var(--white); }

.footer__bottom {
  display: flex; justify-content: space-between; align-items: center;
  padding-bottom: 40px;
}
.footer__bottom p {
  font-family: var(--font-en);
  font-size: 0.68rem; color: rgba(255,255,255,0.16); letter-spacing: 0.05em;
}

/* ===== SCROLL ANIMATION ===== */
.fade-in {
  opacity: 0; transform: translateY(24px);
  transition: opacity 0.75s ease, transform 0.75s ease;
}
.fade-in.visible { opacity: 1; transform: translateY(0); }
.fade-in-delay-1 { transition-delay: 0.08s; }
.fade-in-delay-2 { transition-delay: 0.16s; }
.fade-in-delay-3 { transition-delay: 0.24s; }
.fade-in-delay-4 { transition-delay: 0.32s; }

/* ===== サブページ共通 ===== */
.page-hero {
  background: var(--bg-white); padding: 160px 0 80px;
  border-bottom: 1px solid var(--border);
}
.page-hero__inner { position: relative; z-index: 1; }
.page-hero__label {
  font-family: var(--font-en); font-size: 0.6rem; font-weight: 700;
  letter-spacing: 0.28em; color: var(--text-muted); text-transform: uppercase;
  margin-bottom: 20px; display: block;
  animation: fadeIn 0.7s ease 0.1s both;
}
.page-hero__title {
  font-size: clamp(2.5rem, 6vw, 7rem); font-weight: 900;
  color: var(--text); letter-spacing: -0.05em; margin-bottom: 20px;
  line-height: 1.05; animation: fadeUp 0.8s ease 0.2s both;
}
.page-hero__desc {
  font-size: 0.92rem; color: var(--text-muted); line-height: 1.9;
  animation: fadeUp 0.8s ease 0.35s both;
}
.breadcrumb {
  display: flex; gap: 10px; align-items: center;
  font-family: var(--font-en); font-size: 0.68rem; color: var(--text-muted);
  margin-bottom: 28px; letter-spacing: 0.05em;
  animation: fadeIn 0.7s ease 0.05s both;
}
.breadcrumb a { transition: color var(--tr); }
.breadcrumb a:hover { color: var(--text); }

.section { padding: 104px 0; }
.section--soft { background: var(--bg); }

.section-header { margin-bottom: 64px; }
.section-label {
  font-family: var(--font-en); font-size: 0.6rem; font-weight: 700;
  letter-spacing: 0.28em; color: var(--text-muted);
  text-transform: uppercase; display: block; margin-bottom: 14px;
}
.section-title {
  font-size: clamp(2rem, 4vw, 4rem); font-weight: 900;
  letter-spacing: -0.04em; color: var(--text); margin-bottom: 12px; line-height: 1.1;
}
.section-title--light { color: var(--text); }
.section-desc { font-size: 0.9rem; color: var(--text-muted); line-height: 1.9; }

/* サービスカード (サービスページ) */
.services__grid {
  display: grid; grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
  gap: 1px; background: var(--border); border: 1px solid var(--border); overflow: hidden;
}
.service-card {
  background: var(--bg-white); padding: 40px 32px;
  transition: background var(--tr); position: relative;
}
.service-card:hover { background: var(--bg); }
.service-card::after {
  content: attr(data-index); position: absolute; top: 24px; right: 28px;
  font-family: var(--font-en); font-size: 0.6rem; font-weight: 700;
  letter-spacing: 0.12em; color: var(--text-faint);
}
.service-card__icon { width: 40px; height: 40px; color: var(--text); margin-bottom: 24px; opacity: 0.55; }
.service-card__title { font-size: 1.05rem; font-weight: 700; margin-bottom: 14px; color: var(--text); letter-spacing: -0.02em; }
.service-card__desc { font-size: 0.87rem; color: var(--text-muted); line-height: 1.85; margin-bottom: 20px; }
.service-card__list { display: flex; flex-wrap: wrap; gap: 6px; }
.service-card__list li { font-size: 0.7rem; color: var(--text-muted); padding: 3px 10px; border: 1px solid var(--border); font-weight: 500; }

/* 実績カード */
.works__more { text-align: center; margin-top: 56px; }
.works__notice { background: var(--bg); border: 1px solid var(--border); padding: 18px 24px; margin-bottom: 40px; font-size: 0.87rem; color: var(--text-muted); line-height: 1.8; }
.works__filter { display: flex; gap: 8px; margin-bottom: 48px; flex-wrap: wrap; }
.filter-btn {
  padding: 8px 20px; font-size: 0.78rem; font-weight: 500; border: 1px solid var(--border);
  color: var(--text-muted); transition: all var(--tr); letter-spacing: 0.04em; font-family: var(--font-en);
}
.filter-btn:hover, .filter-btn.active { border-color: var(--text); color: var(--text); }
.works__grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(320px, 1fr)); gap: 24px; }
.work-card { overflow: hidden; background: var(--bg-white); border: 1px solid var(--border); transition: all var(--tr); }
.work-card:hover { transform: translateY(-3px); box-shadow: 0 8px 32px rgba(0,0,0,0.06); border-color: transparent; }
.work-card__img { height: 220px; position: relative; overflow: hidden; }
.work-card__img--web1   { background: linear-gradient(145deg, #1A2A3A 0%, #2D5B8A 100%); }
.work-card__img--web2   { background: linear-gradient(145deg, #2A1A3A 0%, #6B2D8A 100%); }
.work-card__img--ec1    { background: linear-gradient(145deg, #1A3A2A 0%, #2D8A5B 100%); }
.work-card__img--ec2    { background: linear-gradient(145deg, #1A3A3A 0%, #2D8A8A 100%); }
.work-card__img--game1  { background: linear-gradient(145deg, #2D1B33 0%, #6B2D7A 100%); }
.work-card__img--design1{ background: linear-gradient(145deg, #3A2A1A 0%, #8A5B2D 100%); }
.work-card__overlay { position: absolute; inset: 0; display: flex; align-items: flex-start; }
.work-card__cat {
  font-family: var(--font-en); font-size: 0.6rem; font-weight: 700;
  background: rgba(255,255,255,0.1); color: rgba(255,255,255,0.75);
  padding: 4px 12px; letter-spacing: 0.1em; position: absolute; top: 16px; left: 16px;
  border: 1px solid rgba(255,255,255,0.2);
}
.work-card__cat--exp { background: rgba(0,0,0,0.35); border-color: rgba(255,255,255,0.12); }
.work-card__body { padding: 22px 24px 26px; }
.work-card__title { font-size: 0.96rem; font-weight: 700; margin-bottom: 8px; color: var(--text); letter-spacing: -0.01em; }
.work-card__desc { font-size: 0.84rem; color: var(--text-muted); line-height: 1.75; }
.work-card.hidden { display: none; }

/* 強み */
.strengths__grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(240px, 1fr)); gap: 1px; background: var(--border); border: 1px solid var(--border); overflow: hidden; }
.strength-card { background: var(--bg-white); padding: 44px 36px; transition: background var(--tr); }
.strength-card:hover { background: var(--bg); }
.strength-card__icon { width: 40px; height: 40px; color: var(--text); margin-bottom: 24px; opacity: 0.55; }
.strength-card__title { font-size: 1rem; font-weight: 700; color: var(--text); margin-bottom: 14px; letter-spacing: -0.02em; }
.strength-card__desc { font-size: 0.85rem; color: var(--text-muted); line-height: 1.9; }

/* フロー */
.flow__steps { position: relative; max-width: 680px; margin: 0 auto; display: flex; flex-direction: column; }
.flow__steps::before { content: ''; position: absolute; left: 18px; top: 0; bottom: 0; width: 1px; background: var(--border); }
.flow-step { display: flex; gap: 36px; padding: 32px 0; border-bottom: 1px solid var(--border); opacity: 0; transform: translateX(-12px); transition: all 0.6s ease; }
.flow-step:last-child { border-bottom: none; }
.flow-step.visible { opacity: 1; transform: translateX(0); }
.flow-step__num { font-family: var(--font-en); font-size: 0.6rem; font-weight: 700; color: var(--white); background: var(--text); width: 36px; height: 36px; display: flex; align-items: center; justify-content: center; flex-shrink: 0; position: relative; z-index: 1; }
.flow-step__content { padding-top: 6px; }
.flow-step__title { font-size: 1rem; font-weight: 700; margin-bottom: 8px; color: var(--text); letter-spacing: -0.01em; }
.flow-step__desc { font-size: 0.85rem; color: var(--text-muted); line-height: 1.85; }

/* 会社概要 */
.about__inner { display: grid; grid-template-columns: 1fr 1.6fr; gap: 80px; align-items: start; }
.about__visual { text-align: center; position: sticky; top: 100px; }
.about__logo-big { font-family: var(--font-en); font-size: clamp(1.8rem, 3vw, 2.8rem); font-weight: 900; line-height: 1.1; letter-spacing: 0.06em; margin-bottom: 28px; border: 1px solid var(--border); padding: 40px 32px; }
.about__mission { font-size: 0.85rem; color: var(--text-muted); line-height: 1.9; font-style: italic; padding: 16px 20px; border-left: 2px solid var(--text); text-align: left; background: var(--bg); }
.about__table { width: 100%; border-collapse: collapse; }
.about__table tr { border-bottom: 1px solid var(--border); }
.about__table th, .about__table td { padding: 22px 16px; font-size: 0.9rem; text-align: left; vertical-align: top; }
.about__table th { color: var(--text-muted); font-weight: 500; width: 140px; white-space: nowrap; font-size: 0.82rem; }
.about__table td { color: var(--text); line-height: 1.9; }

/* バリュー */
.values__grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 1px; background: var(--border); border: 1px solid var(--border); overflow: hidden; }
.value-card { background: var(--bg-white); padding: 44px 32px; transition: background var(--tr); }
.value-card:hover { background: var(--bg); }
.value-card__num { font-family: var(--font-en); font-size: 0.6rem; font-weight: 700; letter-spacing: 0.2em; color: var(--text-muted); margin-bottom: 20px; }
.value-card__title { font-size: 1.02rem; font-weight: 700; color: var(--text); margin-bottom: 12px; letter-spacing: -0.02em; }
.value-card__desc { font-size: 0.85rem; color: var(--text-muted); line-height: 1.9; }

/* プロフィール */
.profile__inner { display: grid; grid-template-columns: auto 1fr; gap: 64px; align-items: start; }
.profile__avatar { width: 180px; height: 180px; border-radius: 50%; background: var(--bg); border: 1px solid var(--border); display: flex; align-items: center; justify-content: center; font-family: var(--font-en); font-size: 3rem; font-weight: 900; color: var(--text-muted); flex-shrink: 0; }
.profile__name { font-size: 1.3rem; font-weight: 700; color: var(--text); margin-bottom: 4px; letter-spacing: -0.02em; }
.profile__role { font-size: 0.7rem; color: var(--text-muted); font-weight: 600; letter-spacing: 0.14em; text-transform: uppercase; margin-bottom: 24px; font-family: var(--font-en); }
.profile__bio { font-size: 0.92rem; color: var(--text-muted); line-height: 2.1; margin-bottom: 28px; }
.profile__skills { display: flex; flex-wrap: wrap; gap: 8px; }
.profile__skill { font-size: 0.7rem; color: var(--text-muted); padding: 4px 12px; font-weight: 500; border: 1px solid var(--border); font-family: var(--font-en); letter-spacing: 0.04em; }

/* お問い合わせ */
.contact-info { display: grid; grid-template-columns: repeat(3, 1fr); gap: 1px; background: var(--border); border: 1px solid var(--border); overflow: hidden; margin-bottom: 64px; }
.contact-info__item { background: var(--bg-white); padding: 36px 28px; text-align: center; transition: background var(--tr); }
.contact-info__item:hover { background: var(--bg); }
.contact-info__icon { width: 36px; height: 36px; color: var(--text); margin: 0 auto 16px; opacity: 0.55; }
.contact-info__title { font-family: var(--font-en); font-size: 0.6rem; font-weight: 700; color: var(--text-muted); letter-spacing: 0.15em; text-transform: uppercase; margin-bottom: 8px; }
.contact-info__text { font-size: 0.9rem; color: var(--text); line-height: 1.75; }
.contact__inner { max-width: 680px; margin: 0 auto; }
.contact__form { display: flex; flex-direction: column; gap: 24px; }
.form-row { display: grid; grid-template-columns: 1fr 1fr; gap: 20px; }
.form-group { display: flex; flex-direction: column; gap: 8px; }
.form-group label { font-size: 0.8rem; font-weight: 600; color: var(--text); letter-spacing: 0.02em; }
.required { color: var(--text-muted); margin-left: 2px; }
.form-group input, .form-group select, .form-group textarea { background: var(--bg); border: 1px solid var(--border); padding: 13px 16px; font-size: 0.92rem; color: var(--text); font-family: var(--font-jp); transition: border-color var(--tr); outline: none; width: 100%; border-radius: 0; }
.form-group input::placeholder, .form-group textarea::placeholder { color: var(--text-faint); }
.form-group input:focus, .form-group select:focus, .form-group textarea:focus { border-color: var(--text); background: var(--bg-white); }
.form-group textarea { resize: vertical; min-height: 140px; }
.form-error { font-size: 0.76rem; color: #C0392B; display: block; min-height: 1.2em; }
.form-group--privacy { flex-direction: row; align-items: center; }
.checkbox-label { display: flex; align-items: center; gap: 10px; font-size: 0.87rem; color: var(--text-muted); cursor: pointer; }
.checkbox-label input[type="checkbox"] { width: 16px; height: 16px; flex-shrink: 0; cursor: pointer; }
.privacy-link { color: var(--text); text-decoration: underline; text-underline-offset: 2px; }
.form-submit { text-align: center; margin-top: 8px; }
.contact__sent { text-align: center; padding: 80px 40px; }
.contact__sent-icon { width: 56px; height: 56px; background: var(--text); border-radius: 50%; display: flex; align-items: center; justify-content: center; font-size: 1.5rem; color: var(--white); margin: 0 auto 24px; }
.contact__sent h3 { font-size: 1.4rem; font-weight: 700; margin-bottom: 12px; letter-spacing: -0.02em; }
.contact__sent p { color: var(--text-muted); line-height: 1.9; font-size: 0.92rem; }

/* CTAバナー（サブページ） */
.cta-banner { background: var(--bg-dark); padding: 120px 0; text-align: center; position: relative; overflow: hidden; }
.cta-banner__inner { max-width: 600px; margin: 0 auto; position: relative; z-index: 1; }
.cta-banner__title { font-size: clamp(2.5rem, 5vw, 5rem); font-weight: 900; color: var(--white); margin-bottom: 16px; letter-spacing: -0.05em; line-height: 1.1; }
.cta-banner__desc { font-size: 0.9rem; color: rgba(255,255,255,0.4); margin-bottom: 44px; line-height: 2; }
.cta-banner__actions { display: flex; gap: 20px; justify-content: center; flex-wrap: wrap; align-items: center; }

/* ボタン（サブページ互換） */
.btn { display: inline-flex; align-items: center; justify-content: center; padding: 13px 32px; font-weight: 600; font-size: 0.84rem; letter-spacing: 0.06em; transition: all var(--tr); white-space: nowrap; border-radius: 0; }
.btn--dark { background: var(--text); color: var(--white); border: 1.5px solid var(--text); }
.btn--dark:hover { background: #333; border-color: #333; }
.btn--outline { background: transparent; color: var(--text); border: 1.5px solid var(--border); }
.btn--outline:hover { border-color: var(--text); }
.btn--outline-light { background: var(--white); color: var(--bg-dark); border: 1.5px solid var(--white); }
.btn--outline-light:hover { background: transparent; color: var(--white); }
.btn--white { background: var(--white); color: var(--bg-dark); font-weight: 700; border: 1.5px solid var(--white); }
.btn--white:hover { background: transparent; color: var(--white); }
.btn--primary { background: var(--text); color: var(--white); border: 1.5px solid var(--text); }
.btn--primary:hover { background: #333; border-color: #333; }
.btn--large { padding: 17px 48px; font-size: 0.9rem; }

/* サービス詳細 */
.service-detail { display: grid; grid-template-columns: 1fr 1fr; gap: 80px; align-items: center; margin-bottom: 96px; padding-bottom: 96px; border-bottom: 1px solid var(--border); }
.service-detail:last-child { margin-bottom: 0; padding-bottom: 0; border-bottom: none; }
.service-detail--reverse .service-detail__visual { order: 2; }
.service-detail--reverse .service-detail__text { order: 1; }
.service-detail__title { font-size: clamp(1.5rem, 2.5vw, 2.5rem); font-weight: 900; color: var(--text); margin-bottom: 20px; letter-spacing: -0.04em; }
.service-detail__desc { color: var(--text-muted); line-height: 2.1; margin-bottom: 24px; font-size: 0.92rem; }
.service-detail__img { width: 100%; aspect-ratio: 4 / 3; overflow: hidden; display: block; background: var(--bg); }
div.service-detail__img { display: flex; align-items: center; justify-content: center; }
img.service-detail__img { object-fit: cover; height: auto; }

/* ===== RESPONSIVE ===== */
@media (max-width: 1100px) {
  .container { padding: 0 36px; }
  .header__inner { padding: 0 36px; }
  .hero__content { padding: 0 36px 56px; }
  .editorial__layout { padding: 0 36px; }
  .ss-header__inner { padding: 0 36px; }
  .why-item { grid-template-columns: 90px 1fr 160px; gap: 32px; }
}

@media (max-width: 900px) {
  .editorial__layout { grid-template-columns: 1fr; }
  .editorial__left, .editorial__right { display: none; }
  .editorial__center { padding: 96px 36px; }
  .ss-grid { grid-template-columns: 1fr; }
  .works-wall { grid-template-columns: 1fr 1fr; }
  .ww-item--1 { grid-row: span 1; }
  .about__inner { grid-template-columns: 1fr; gap: 48px; }
  .about__visual { position: static; }
  .contact-info { grid-template-columns: 1fr; }
  .values__grid { grid-template-columns: 1fr 1fr; }
  .profile__inner { grid-template-columns: 1fr; gap: 32px; }
  .service-detail { grid-template-columns: 1fr; gap: 32px; }
  .service-detail .service-detail__visual,
  .service-detail--reverse .service-detail__visual { order: 1; }
  .service-detail .service-detail__text,
  .service-detail--reverse .service-detail__text { order: 2; }
  .footer__mid { flex-direction: column; gap: 48px; }
}

@media (max-width: 768px) {
  .container { padding: 0 24px; }
  .header__inner { padding: 0 24px; height: 64px; }
  .hero__content { padding: 0 24px 48px; }

  .header__nav {
    position: fixed; top: 64px; left: 0; right: 0;
    background: rgba(245,244,240,0.98);
    backdrop-filter: blur(20px); -webkit-backdrop-filter: blur(20px);
    padding: 24px; border-bottom: 1px solid var(--border);
    transform: translateY(-110%); opacity: 0; transition: all var(--tr);
    pointer-events: none; z-index: 999;
  }
  .header__nav.open { transform: translateY(0); opacity: 1; pointer-events: all; }
  .header__nav-list { flex-direction: column; gap: 0; align-items: stretch; }
  .nav-link { padding: 14px 0; color: var(--text); display: block; border-bottom: 1px solid var(--border); font-size: 0.9rem; }
  .nav-link:last-child { border-bottom: none; }
  .hamburger { display: flex; }

  /* ヒーロー — モバイルでタイトルをファーストビューに表示 */
  .hero              { justify-content: flex-start; overflow: visible; }
  .hero__content     { opacity: 1 !important; }
  .hero__meta-row    { padding-top: 80px; gap: 20px; flex-wrap: wrap; animation: none !important; opacity: 1 !important; }
  .hero__title-block { animation: none !important; opacity: 1 !important; }
  .hero__bottom      { grid-template-columns: 1fr; gap: 24px; animation: none !important; opacity: 1 !important; }
  .hero__meta-num    { margin-left: 0; }
  .hero__title-line-2 { margin-left: 16px; }
  .hero__title-line-3 { margin-left: 8px; }
  .hero__scroll-col  { display: none; }

  /* サブページヒーロー — モバイルではアニメーション無効化・強制表示 */
  .page-hero__inner   { opacity: 1 !important; }
  .page-hero__label,
  .page-hero__title,
  .page-hero__title-mix,
  .page-hero__desc,
  .page-hero__bottom,
  .breadcrumb         { animation: none !important; opacity: 1 !important; transform: none !important; }

  /* Contactフォーム — モバイル完全修正 */
  .contact-split                         { grid-template-columns: 1fr !important; overflow: hidden; }
  .contact-split__left,
  .contact-split__right                  { padding: 32px 20px !important; width: 100% !important; min-width: 0 !important; box-sizing: border-box !important; }
  .contact-form-new                      { width: 100%; box-sizing: border-box; }
  .cfn-row                               { grid-template-columns: 1fr !important; width: 100%; min-width: 0; }
  .cfn-group                             { width: 100%; min-width: 0; box-sizing: border-box; }
  .cfn-input, .cfn-select, .cfn-textarea { width: 100% !important; max-width: 100% !important; min-width: 0 !important; box-sizing: border-box !important; }
  .cfn-submit                            { width: 100%; box-sizing: border-box; }
  .cfn-btn                               { width: 100% !important; box-sizing: border-box !important; display: block !important; }

  /* 背景テキスト表示を絞る */
  .hbg--3, .hbg--5, .hbg--9, .hbg--10 { display: none; }

  .editorial__layout { padding: 0 24px; }
  .editorial__center { padding: 72px 0; }

  .ss-header { padding: 56px 0 36px; }
  .ss-header__inner { padding: 0 24px; flex-direction: column; align-items: flex-start; gap: 20px; }
  .ss-card { padding: 40px 32px; min-height: auto; }

  .works-head { padding: 56px 0 36px; }
  .works-wall { grid-template-columns: 1fr; }
  .ww-item { min-height: 240px; }

  .why-section { padding: 80px 0; }
  .why-item { grid-template-columns: 80px 1fr; gap: 20px; }
  .why-item__vis { display: none; }

  .fulltext-section { padding: 100px 0; }
  .fulltext-bg { display: none; }

  .footer__nav-cols { flex-direction: column; gap: 36px; }
  .footer__mid { padding: 48px 0; }

  .section { padding: 72px 0; }
  .values__grid { grid-template-columns: 1fr; }
  .works__grid { grid-template-columns: 1fr; }
  .strengths__grid { grid-template-columns: 1fr; }
  .form-row { grid-template-columns: 1fr; }
  .cta-banner__actions { flex-direction: column; align-items: center; }
}

@media (max-width: 480px) {
  .ht--ja-huge { font-size: 3.5rem; }
  .ht--ja-xl { font-size: 2.8rem; }
  .ht--en-large { font-size: 2.2rem; }
  .el--xl { font-size: 2.4rem; }
  .sct--big { font-size: 1.8rem; }
  .fq--huge { font-size: 3rem; }
  .fq--xl { font-size: 2.4rem; }
  .wt--en { font-size: 3rem; }
  .wt--ja { font-size: 2rem; }
  .works-wall { grid-template-columns: 1fr; }
  .profile__avatar { width: 100px; height: 100px; font-size: 2rem; }
}

/* ==========================================
   カスタムカーソル
   ========================================== */
.custom-cursor {
  position: fixed;
  width: 40px; height: 40px;
  border: 1.5px solid rgba(12,12,12,0.5);
  border-radius: 50%;
  pointer-events: none;
  z-index: 9999;
  transform: translate(-50%, -50%);
  transition: width 0.3s ease, height 0.3s ease, border-color 0.3s ease, background 0.3s ease;
  will-change: transform;
}
.custom-cursor.is-hover {
  width: 64px; height: 64px;
  border-color: var(--text);
  background: rgba(12,12,12,0.06);
}
.custom-cursor__dot {
  position: fixed;
  width: 5px; height: 5px;
  background: var(--text);
  border-radius: 50%;
  pointer-events: none;
  z-index: 10000;
  transform: translate(-50%, -50%);
  will-change: transform;
}

@media (max-width: 768px) {
  *, *::before, *::after { cursor: auto !important; }
  .custom-cursor, .custom-cursor__dot { display: none; }
}

/* ==========================================
   スクロールプログレスバー
   ========================================== */
.scroll-progress {
  position: fixed;
  top: 0; left: 0;
  height: 2px;
  background: var(--text);
  z-index: 9998;
  transition: width 0.1s ease;
  pointer-events: none;
}

/* ==========================================
   ページロードアニメーション
   ========================================== */
/* ローディング画面がカバーするため opacity トリックは不要 */

/* ==========================================
   サブページ ページヒーロー（強化版）
   ========================================== */
.page-hero {
  background: var(--bg-white);
  padding: 0;
  border-bottom: 1px solid var(--border);
  position: relative;
  overflow: hidden;
  min-height: 60vh;
  display: flex;
  align-items: flex-end;
}

.page-hero__bg {
  position: absolute;
  inset: 0;
  pointer-events: none;
  user-select: none;
  overflow: hidden;
}

.page-hero__bg span {
  position: absolute;
  font-family: var(--font-en);
  font-weight: 900;
  color: var(--text-faint);
  line-height: 1;
  letter-spacing: -0.05em;
  animation: bgFloat1 20s ease-in-out infinite;
}

.phb--1 { font-size: clamp(6rem, 20vw, 28rem); top: -5%; left: -3%; animation-duration: 22s !important; }
.phb--2 { font-size: clamp(3rem, 10vw, 14rem); top: 10%; right: -2%; animation-duration: 16s !important; animation-direction: reverse; }
.phb--3 { font-size: clamp(2rem, 6vw, 8rem); bottom: 5%; left: 20%; animation-duration: 12s !important; }
.phb--4 { font-size: clamp(1rem, 3vw, 4rem); top: 50%; right: 15%; animation-duration: 9s !important; letter-spacing: 0.1em; }

.page-hero__inner {
  position: relative;
  z-index: 2;
  width: 100%;
  max-width: 1360px;
  margin: 0 auto;
  padding: 160px 56px 72px;
}

.page-hero__label {
  font-family: var(--font-en);
  font-size: 0.6rem; font-weight: 700; letter-spacing: 0.28em;
  color: var(--text-muted); text-transform: uppercase;
  margin-bottom: 16px; display: block;
  animation: fadeIn 0.7s ease 0.1s both;
}

.page-hero__title {
  font-size: clamp(3rem, 9vw, 11rem);
  font-weight: 900; color: var(--text);
  letter-spacing: -0.05em; margin-bottom: 20px; line-height: 1.0;
  animation: fadeUp 0.8s ease 0.2s both;
}

.page-hero__title-mix {
  display: flex; align-items: baseline; flex-wrap: wrap;
  gap: 0 10px; line-height: 0.95;
  animation: fadeUp 0.8s ease 0.2s both;
}

.page-hero__desc {
  font-size: 0.92rem; color: var(--text-muted); line-height: 1.9; max-width: 480px;
  animation: fadeUp 0.8s ease 0.35s both;
}

.page-hero__bottom {
  display: flex; align-items: flex-end; justify-content: space-between;
  margin-top: 32px; padding-top: 24px; border-top: 1px solid var(--border);
  animation: fadeUp 0.8s ease 0.5s both;
}

.page-hero__count {
  text-align: right;
}
.page-hero__count span {
  display: block;
  font-family: var(--font-en);
  font-size: clamp(2rem, 5vw, 5rem);
  font-weight: 900; letter-spacing: -0.06em; color: var(--text-faint); line-height: 1;
}
.page-hero__count em {
  font-style: normal;
  font-family: var(--font-en);
  font-size: 0.6rem; font-weight: 600; letter-spacing: 0.2em; color: var(--text-muted);
}

.breadcrumb {
  font-family: var(--font-en);
  font-size: 0.68rem; color: var(--text-muted);
  display: flex; gap: 10px; align-items: center;
  letter-spacing: 0.05em;
}
.breadcrumb a { transition: color var(--tr); }
.breadcrumb a:hover { color: var(--text); }

/* ==========================================
   サブページ共通セクション
   ========================================== */
.page-section {
  padding: 120px 0;
  border-bottom: 1px solid var(--border);
}
.page-section:last-child { border-bottom: none; }
.page-section--dark {
  background: var(--bg-dark);
}
.page-section--soft {
  background: var(--bg);
}

.sub-title {
  display: flex; align-items: baseline; flex-wrap: wrap;
  gap: 0 12px; line-height: 0.9; margin-bottom: 64px;
}
.sub-title--huge {
  font-size: clamp(2.5rem, 6vw, 7rem);
  font-weight: 900; letter-spacing: -0.05em; color: var(--text);
}
.sub-title--en {
  font-family: var(--font-en);
  font-size: clamp(0.7rem, 1.5vw, 1.5rem);
  font-weight: 400; color: var(--text-muted); letter-spacing: 0.04em;
}
.sub-title--light { color: var(--white) !important; }
.sub-title--faint { color: rgba(255,255,255,0.3) !important; }

/* ==========================================
   サービスページ強化
   ========================================== */
.service-row-new {
  display: grid;
  grid-template-columns: 80px 1fr 280px;
  gap: 48px; align-items: start;
  padding: 64px 0; border-bottom: 1px solid var(--border);
  transition: background var(--tr);
}
.service-row-new:last-child { border-bottom: none; }
.service-row-new:hover { background: var(--bg-off); padding-left: 12px; transition: all 0.4s ease; }

.srn__num {
  font-family: var(--font-en);
  font-size: clamp(2.5rem, 5vw, 5rem);
  font-weight: 900; letter-spacing: -0.06em; color: var(--text-faint);
  line-height: 1; padding-top: 8px;
}

.srn__body {}

.srn__tag {
  font-family: var(--font-en);
  font-size: 0.58rem; font-weight: 700; letter-spacing: 0.22em;
  color: var(--text-muted); border: 1px solid var(--border);
  padding: 3px 10px; display: inline-block; margin-bottom: 16px;
}

.srn__title {
  display: flex; align-items: baseline; flex-wrap: wrap;
  gap: 0 6px; line-height: 1.0; margin-bottom: 20px;
}
.srnt--big {
  font-size: clamp(1.8rem, 3.5vw, 4rem);
  font-weight: 900; letter-spacing: -0.04em; color: var(--text);
}
.srnt--mid {
  font-size: clamp(1.1rem, 2.5vw, 2.5rem);
  font-weight: 700; letter-spacing: -0.03em; color: var(--text);
}
.srnt--sm {
  font-size: clamp(0.8rem, 1.5vw, 1.5rem);
  font-weight: 400; color: var(--text-muted);
}

.srn__desc {
  font-size: 0.88rem; color: var(--text-muted);
  line-height: 2.0; margin-bottom: 20px; max-width: 480px;
}

.srn__tags { display: flex; flex-wrap: wrap; gap: 6px; margin-bottom: 24px; }
.srn__tags span {
  font-family: var(--font-en);
  font-size: 0.65rem; font-weight: 500; color: var(--text-muted);
  border: 1px solid var(--border); padding: 3px 10px;
}

.srn__link {
  font-family: var(--font-en);
  font-size: 0.75rem; font-weight: 700; letter-spacing: 0.08em;
  color: var(--text); border-bottom: 1px solid var(--border);
  padding-bottom: 2px; display: inline-block;
  transition: border-color var(--tr);
}
.srn__link:hover { border-color: var(--text); }

.srn__visual {
  border-radius: 2px; overflow: hidden;
  aspect-ratio: 4/3;
}

/* フローステップ（強化版） */
.flow-step-wrap {
  display: grid;
  grid-template-columns: 64px 1fr;
  gap: 0 40px;
  padding: 48px 0;
  border-bottom: 1px solid var(--border);
  position: relative;
}
.flow-step-wrap:last-child { border-bottom: none; }
.flow-step-wrap::before {
  content: '';
  position: absolute;
  left: 31px; top: 0; bottom: 0;
  width: 1px; background: var(--border);
}

.fsw__num {
  font-family: var(--font-en);
  font-size: 0.6rem; font-weight: 700; letter-spacing: 0.08em;
  color: var(--white); background: var(--text);
  width: 36px; height: 36px;
  display: flex; align-items: center; justify-content: center;
  position: relative; z-index: 1; margin-top: 2px;
  flex-shrink: 0;
  transition: transform 0.3s ease;
}
.flow-step-wrap:hover .fsw__num { transform: scale(1.15); }

.fsw__content { padding-top: 4px; }

.fsw__title {
  font-size: clamp(1.1rem, 2vw, 1.6rem);
  font-weight: 900; color: var(--text);
  letter-spacing: -0.03em; margin-bottom: 12px;
}

.fsw__desc {
  font-size: 0.88rem; color: var(--text-muted); line-height: 2.0;
}

/* ==========================================
   Aboutページ強化
   ========================================== */
.mission-block {
  background: var(--bg-dark);
  padding: 80px 64px;
  position: relative; overflow: hidden;
  margin-bottom: 0;
}

.mission-block__bg {
  position: absolute; inset: 0; pointer-events: none; user-select: none;
}
.mission-block__bg span {
  position: absolute;
  font-family: var(--font-en); font-weight: 900;
  color: rgba(255,255,255,0.025); letter-spacing: -0.06em;
}
.mbb--1 { font-size: clamp(4rem, 12vw, 16rem); top: -10%; left: -2%; }
.mbb--2 { font-size: clamp(3rem, 8vw, 10rem); bottom: -5%; right: -1%; }

.mission-block__inner { position: relative; z-index: 1; text-align: center; }

.mission-label {
  font-family: var(--font-en);
  font-size: 0.6rem; font-weight: 700; letter-spacing: 0.28em;
  color: rgba(255,255,255,0.3); display: block; margin-bottom: 24px;
}

.mission-text {
  margin-bottom: 24px; line-height: 1.0;
}
.mt--xl {
  font-size: clamp(2.5rem, 6vw, 7rem);
  font-weight: 900; letter-spacing: -0.05em; color: var(--white);
  display: inline-block;
}
.mt--mid {
  font-size: clamp(1.2rem, 3vw, 3.5rem);
  font-weight: 700; letter-spacing: -0.03em;
  color: rgba(255,255,255,0.7); display: inline-block;
}
.mt--sm {
  font-size: clamp(0.8rem, 1.8vw, 2rem);
  font-weight: 300; color: rgba(255,255,255,0.4); display: inline-block;
}

.mission-sub {
  font-size: 0.9rem; color: rgba(255,255,255,0.4);
  line-height: 2.0; max-width: 560px; margin: 24px auto 0;
}

.value-grid-new {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 2px; background: var(--border);
  border: 1px solid var(--border);
}

.vgn-card {
  background: var(--bg-white); padding: 48px 40px;
  transition: background 0.4s ease; position: relative; overflow: hidden;
}
.vgn-card:hover { background: var(--bg); }
.vgn-card__bg {
  position: absolute; bottom: -16px; right: -8px;
  font-family: var(--font-en); font-size: clamp(3rem, 8vw, 9rem);
  font-weight: 900; letter-spacing: -0.06em;
  color: var(--text-faint); pointer-events: none; user-select: none;
}
.vgn-card__num {
  font-family: var(--font-en);
  font-size: 0.58rem; font-weight: 700; letter-spacing: 0.22em;
  color: var(--text-muted); margin-bottom: 24px; display: block;
}
.vgn-card__title {
  font-size: clamp(1.2rem, 2.5vw, 1.8rem);
  font-weight: 900; color: var(--text);
  letter-spacing: -0.03em; margin-bottom: 16px; line-height: 1.1;
}
.vgn-card__desc {
  font-size: 0.87rem; color: var(--text-muted); line-height: 1.9;
  position: relative; z-index: 1;
}

/* プロフィール（強化版） */
.profile-new {
  display: grid; grid-template-columns: 280px 1fr; gap: 80px; align-items: start;
}
.profile-new__left { position: sticky; top: 100px; }
.profile-avatar-new {
  width: 100%; aspect-ratio: 1;
  background: var(--bg);
  border: 1px solid var(--border);
  display: flex; align-items: center; justify-content: center;
  font-family: var(--font-en); font-size: 4rem; font-weight: 900;
  color: var(--text-muted); margin-bottom: 24px; overflow: hidden;
  position: relative;
}
.profile-avatar-new::after {
  content: 'E';
  font-family: var(--font-en); font-size: clamp(4rem, 12vw, 14rem);
  font-weight: 900; color: var(--text-faint);
  position: absolute;
}
.profile-new__name {
  font-size: clamp(1.1rem, 2vw, 1.6rem);
  font-weight: 900; color: var(--text); letter-spacing: -0.03em; margin-bottom: 4px;
}
.profile-new__role {
  font-family: var(--font-en); font-size: 0.65rem; font-weight: 600;
  letter-spacing: 0.12em; color: var(--text-muted); text-transform: uppercase;
}
.profile-new__bio {
  font-size: 0.9rem; color: var(--text-muted); line-height: 2.1; margin-bottom: 32px;
}
.profile-new__bio p { margin-bottom: 16px; }
.profile-new__skills { display: flex; flex-wrap: wrap; gap: 6px; }
.profile-new__skill {
  font-family: var(--font-en); font-size: 0.68rem; font-weight: 500;
  color: var(--text-muted); border: 1px solid var(--border); padding: 4px 12px;
  letter-spacing: 0.04em; transition: all var(--tr);
}
.profile-new__skill:hover { border-color: var(--text); color: var(--text); }

/* 会社情報テーブル（強化版） */
.company-table-wrap { overflow: hidden; }
.company-table {
  width: 100%; border-collapse: collapse;
}
.company-table tr {
  border-bottom: 1px solid var(--border);
  transition: background var(--tr);
}
.company-table tr:hover { background: var(--bg); }
.company-table th, .company-table td {
  padding: 24px 20px; text-align: left; vertical-align: top; font-size: 0.9rem;
}
.company-table th {
  font-family: var(--font-en); font-size: 0.65rem; font-weight: 700;
  letter-spacing: 0.15em; color: var(--text-muted); text-transform: uppercase;
  width: 160px; white-space: nowrap;
}
.company-table td { color: var(--text); line-height: 1.9; }

/* ==========================================
   Worksページ強化
   ========================================== */
.works-notice-new {
  background: var(--bg); border: 1px solid var(--border);
  padding: 20px 28px; margin-bottom: 56px;
  display: flex; align-items: flex-start; gap: 16px;
}
.works-notice-new__icon {
  font-family: var(--font-en); font-size: 0.6rem; font-weight: 700;
  letter-spacing: 0.15em; color: var(--text); border: 1px solid var(--text);
  padding: 4px 10px; white-space: nowrap; margin-top: 2px; flex-shrink: 0;
}
.works-notice-new__text {
  font-size: 0.87rem; color: var(--text-muted); line-height: 1.85;
}

/* ==========================================
   Contactページ強化
   ========================================== */
.contact-split {
  display: grid; grid-template-columns: 1fr 1.5fr; gap: 0;
  border: 1px solid var(--border);
}
.contact-split__left {
  padding: 64px 56px; border-right: 1px solid var(--border);
  background: var(--bg);
}
.contact-split__right {
  padding: 64px 56px; background: var(--bg-white);
}

.contact-info-new { display: flex; flex-direction: column; gap: 40px; }

.cin-item {}

.cin-item__label {
  font-family: var(--font-en);
  font-size: 0.58rem; font-weight: 700; letter-spacing: 0.22em;
  color: var(--text-muted); margin-bottom: 8px; display: block;
}
.cin-item__val {
  font-size: clamp(0.9rem, 1.5vw, 1.1rem);
  font-weight: 600; color: var(--text); margin-bottom: 4px;
}
.cin-item__note {
  font-size: 0.8rem; color: var(--text-muted); line-height: 1.7;
}

.contact-big-text {
  margin-top: auto; padding-top: 48px;
}
.contact-big-text p {
  font-family: var(--font-en);
  font-size: clamp(3rem, 7vw, 8rem);
  font-weight: 900; letter-spacing: -0.06em;
  color: var(--text-faint); line-height: 1;
}

/* ==========================================
   ナビゲーション open 時のbody固定
   ========================================== */
body.nav-open { overflow: hidden; }

/* ==========================================
   レスポンシブ追加
   ========================================== */
@media (max-width: 900px) {
  .service-row-new { grid-template-columns: 60px 1fr; }
  .srn__visual { display: none; }
  .value-grid-new { grid-template-columns: 1fr; }
  .profile-new { grid-template-columns: 1fr; gap: 48px; }
  .profile-new__left { position: static; }
  .contact-split { grid-template-columns: 1fr; }
  .contact-split__left { border-right: none; border-bottom: 1px solid var(--border); padding: 48px 40px; }
  .contact-split__right { padding: 48px 40px; }
}

@media (max-width: 768px) {
  .page-hero          { min-height: auto; align-items: flex-start; }
  .page-hero__inner   { padding: 100px 24px 48px; }
  .page-hero__bottom  { flex-direction: column; align-items: flex-start; gap: 16px; }
  .mission-block { padding: 64px 32px; }
  .service-row-new { grid-template-columns: 50px 1fr; gap: 20px; padding: 40px 0; }
  .contact-split__left, .contact-split__right { padding: 40px 24px; }
  .value-grid-new { grid-template-columns: 1fr; }
  .flow-step-wrap { grid-template-columns: 50px 1fr; gap: 0 24px; }
  .works-notice-new { padding: 24px 20px; }
  .wnn__right { text-align: left; }
  .footer__mid { flex-direction: column; gap: 40px; padding: 40px 0; }
  .footer__nav-cols { gap: 28px; }
  .sub-title { gap: 0 8px; margin-bottom: 40px; }
  .page-section { padding: 72px 0; }
}

/* ==========================================
   Works Notice New
   ========================================== */
.works-notice-new {
  display: grid; grid-template-columns: 1fr auto;
  gap: 40px; align-items: center;
  border: 1px solid var(--border); padding: 40px 48px;
}
.wnn__label {
  font-family: var(--font-en); font-size: 0.65rem;
  font-weight: 700; letter-spacing: 0.2em;
  color: var(--text-muted); display: block; margin-bottom: 12px;
}
.wnn__text {
  font-size: clamp(0.9rem, 1.5vw, 1.05rem);
  color: var(--text); line-height: 1.9;
}
.wnn__text strong { font-weight: 700; }
.wnn__right { text-align: right; }
.wnn__cta-text {
  font-size: 0.9rem; color: var(--text-muted);
  line-height: 1.8; margin-bottom: 16px;
}
.wnn__btn {
  display: inline-block;
  font-family: var(--font-en); font-size: 0.8rem;
  font-weight: 700; letter-spacing: 0.08em;
  border: 1px solid var(--text); padding: 10px 24px;
  transition: all var(--tr);
}
.wnn__btn:hover { background: var(--text); color: var(--bg); }

/* ==========================================
   Works Filter New
   ========================================== */
.works-filter-new {
  display: flex; gap: 8px; flex-wrap: wrap;
  padding: 24px 32px; border: 1px solid var(--border);
  margin-bottom: 48px; background: var(--bg-white);
}
.filter-btn {
  font-family: var(--font-en); font-size: 0.75rem;
  font-weight: 700; letter-spacing: 0.12em;
  padding: 8px 20px; border: 1px solid var(--border);
  background: transparent; color: var(--text-muted);
  transition: all var(--tr); cursor: pointer;
}
.filter-btn:hover, .filter-btn.active {
  background: var(--text); color: var(--bg); border-color: var(--text);
}

/* ==========================================
   Works Grid New
   ========================================== */
.works-grid-new {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 2px;
}
.wgn-card {
  background: var(--bg-white);
  display: flex; flex-direction: column;
  transition: all var(--tr);
  border: 1px solid var(--border);
}
.wgn-card:hover { transform: translateY(-4px); box-shadow: 0 16px 48px rgba(12,12,12,0.08); }
.wgn-card.hidden { display: none; }
.wgn-card__img {
  position: relative; aspect-ratio: 4/3;
  overflow: hidden; display: flex;
  align-items: flex-end; justify-content: flex-start;
  padding: 20px;
}
.wgn-card__cat {
  font-family: var(--font-en); font-size: 0.65rem;
  font-weight: 700; letter-spacing: 0.18em;
  background: rgba(255,255,255,0.12); color: rgba(255,255,255,0.85);
  padding: 4px 12px; backdrop-filter: blur(8px);
  border: 1px solid rgba(255,255,255,0.15);
}
.wgn-card__cat--exp {
  background: rgba(255,200,0,0.15); color: rgba(255,200,0,0.9);
  border-color: rgba(255,200,0,0.25);
}
.wgn-card__num {
  position: absolute; top: 20px; right: 20px;
  font-family: var(--font-en); font-size: 2.5rem;
  font-weight: 900; letter-spacing: -0.04em;
  color: rgba(255,255,255,0.08); line-height: 1;
  pointer-events: none;
}
.wgn-card__body {
  padding: 28px 28px 32px; flex: 1; display: flex; flex-direction: column;
}
.wgn-card__tag {
  font-family: var(--font-en); font-size: 0.6rem;
  font-weight: 700; letter-spacing: 0.18em;
  color: var(--text-muted); display: block; margin-bottom: 10px;
}
.wgn-card__title {
  font-size: clamp(1rem, 1.5vw, 1.2rem); font-weight: 700;
  letter-spacing: -0.02em; margin-bottom: 12px; line-height: 1.3;
}
.wgn-card__desc {
  font-size: 0.85rem; color: var(--text-muted);
  line-height: 1.8; flex: 1;
}

/* ==========================================
   Contact Split New
   ========================================== */
.contact-split {
  display: grid; grid-template-columns: 420px 1fr;
  border: 1px solid var(--border); overflow: hidden;
}
.contact-split__left {
  background: var(--bg-dark); color: var(--white);
  padding: 64px 56px; position: relative;
  display: flex; flex-direction: column; gap: 48px;
  overflow: hidden;
}
.csl-label {
  font-family: var(--font-en); font-size: 0.65rem;
  font-weight: 700; letter-spacing: 0.22em;
  color: rgba(255,255,255,0.35); display: block; margin-bottom: 20px;
}
.csl-title { display: flex; flex-direction: column; gap: 4px; }
.cin-list { display: flex; flex-direction: column; gap: 32px; margin-top: auto; }
.cin-item { border-top: 1px solid rgba(255,255,255,0.1); padding-top: 24px; }
.cin-item .cin-item__label {
  font-family: var(--font-en); font-size: 0.58rem;
  font-weight: 700; letter-spacing: 0.22em;
  color: rgba(255,255,255,0.35); display: block; margin-bottom: 8px;
}
.cin-item .cin-item__val {
  font-size: clamp(0.9rem, 1.5vw, 1rem);
  font-weight: 600; color: var(--white); margin-bottom: 4px;
}
.cin-item .cin-item__note {
  font-size: 0.78rem; color: rgba(255,255,255,0.4); line-height: 1.7;
}
.csl-decoration {
  position: absolute; bottom: -20px; right: -20px;
  font-family: var(--font-en); font-size: clamp(4rem, 8vw, 9rem);
  font-weight: 900; letter-spacing: -0.06em;
  color: rgba(255,255,255,0.03); line-height: 1;
  pointer-events: none; white-space: nowrap;
}
.contact-split__right {
  background: var(--bg-white); padding: 64px 56px;
}

/* ==========================================
   Contact Form New
   ========================================== */
.contact-form-new { display: flex; flex-direction: column; gap: 28px; }
.cfn-row { display: grid; grid-template-columns: 1fr 1fr; gap: 20px; }
.cfn-group { display: flex; flex-direction: column; gap: 8px; }
.cfn-label {
  font-family: var(--font-en); font-size: 0.7rem;
  font-weight: 700; letter-spacing: 0.12em;
  color: var(--text-muted);
}
.cfn-req { color: #E03; }
.cfn-input, .cfn-select, .cfn-textarea {
  width: 100%;
  border: 1px solid var(--border);
  background: var(--bg); padding: 14px 18px;
  font-family: var(--font-jp); font-size: 0.95rem;
  color: var(--text); outline: none;
  transition: border-color var(--tr);
  appearance: none; -webkit-appearance: none;
  border-radius: 0;
}
.cfn-input:focus, .cfn-select:focus, .cfn-textarea:focus {
  border-color: var(--text);
}
.cfn-textarea { resize: vertical; min-height: 140px; line-height: 1.7; }
.cfn-group--privacy { margin-top: 4px; }
.cfn-checkbox {
  display: flex; align-items: center; gap: 12px;
  cursor: pointer; font-size: 0.88rem; color: var(--text-muted);
}
.cfn-checkbox input[type="checkbox"] { display: none; }
.cfn-checkmark {
  width: 18px; height: 18px; border: 1px solid var(--border);
  background: var(--bg); flex-shrink: 0; display: grid;
  place-items: center; transition: all var(--tr);
}
.cfn-checkbox input:checked + .cfn-checkmark {
  background: var(--text); border-color: var(--text);
}
.cfn-checkbox input:checked + .cfn-checkmark::after {
  content: '✓'; color: var(--bg); font-size: 11px; font-weight: 700;
}
.cfn-checkbox a { color: var(--text); text-decoration: underline; }
.cfn-submit { margin-top: 8px; display: block; width: 100%; }
.cfn-btn { display: block; width: 100%; text-align: center; justify-content: center; font-size: 1rem; padding: 18px 32px; box-sizing: border-box; }
.form-error { font-size: 0.78rem; color: #E03; margin-top: 4px; display: block; }

/* ==========================================
   Contact Sent
   ========================================== */
.contact__sent {
  text-align: center; padding: 80px 40px;
}
.contact__sent-icon {
  width: 60px; height: 60px; border-radius: 50%;
  background: var(--text); color: var(--bg);
  font-size: 1.5rem; display: grid; place-items: center;
  margin: 0 auto 24px;
}
.contact__sent h3 { font-size: 1.4rem; font-weight: 700; margin-bottom: 12px; }
.contact__sent p { color: var(--text-muted); line-height: 1.9; }

@media (max-width: 900px) {
  .works-grid-new { grid-template-columns: repeat(2, 1fr); }
  .works-notice-new { grid-template-columns: 1fr; }
  .wnn__right { text-align: left; }
  .contact-split { grid-template-columns: 1fr; }
  .contact-split__left, .contact-split__right { padding: 48px 36px; }
  .cfn-row { grid-template-columns: 1fr; }
}

@media (max-width: 600px) {
  .works-grid-new { grid-template-columns: 1fr; }
}

/* ==========================================
   ローディング画面 (First Visit Only)
   ========================================== */
.loading-screen {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  width: 100%;
  height: 100%;
  background-color: #0C0C0C;
  z-index: 99999;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  /* iOS Safari の position:fixed バグ対策 */
  -webkit-transform: translateZ(0);
  transform: translateZ(0);
  will-change: opacity;
}

.loading-screen.is-done {
  opacity: 0;
  pointer-events: none;
  transition: opacity 0.7s ease 0.2s;
}

.loading-logo-text {
  font-family: var(--font-en);
  font-size: 0.78rem;
  font-weight: 900;
  letter-spacing: 0.38em;
  color: rgba(255,255,255,0.85);
  margin-bottom: 52px;
}

.loading-bar-wrap {
  width: min(320px, 58vw);
  height: 1.5px;
  background: rgba(255,255,255,0.1);
  position: relative;
  overflow: hidden;
}

.loading-bar {
  position: absolute;
  left: 0; top: 0;
  height: 100%;
  width: 0;
  background: rgba(255,255,255,0.88);
}

.loading-pct {
  margin-top: 18px;
  font-family: var(--font-en);
  font-size: 0.58rem;
  letter-spacing: 0.18em;
  color: rgba(255,255,255,0.22);
  min-width: 3em;
  text-align: center;
}

/* ==========================================
   釣りアニメーション (Ticker Fishing)
   ========================================== */
.ticker-outer {
  position: relative;
  overflow: visible;
}

/* 釣りシーン全体のゾーン */
.fishing-zone {
  position: absolute;
  top: 0;
  right: 6%;
  height: 100%;
  width: 180px;
  z-index: 20;
  pointer-events: none;
  overflow: visible;
}

/* 釣り人+竿のラッパー — ticker の真上に配置 */
.fish-characters {
  position: absolute;
  bottom: 100%;
  right: 0;
  padding-bottom: 0;
}

/* ボブアニメーション付きラッパー */
.fish-person-wrap {
  position: relative;
  display: inline-block;
  animation: anglerBob 2.8s ease-in-out infinite;
}

/* 釣り人本体 */
.fish-angler {
  display: block;
  width: 90px;
  height: auto;
  position: relative;
  z-index: 1;
}

/* 竿 — transform-origin:right center でグリップ端を軸に回転 */
.fish-rod {
  position: absolute;
  width: 120px;
  height: auto;
  top: 18px;
  right: 8px;
  transform: rotate(-20deg);
  transform-origin: right center;
  animation: rodSway 2.8s ease-in-out infinite;
  z-index: 2;
}

/* 釣り糸 — 竿先の真下に垂らす */
.fish-line {
  position: absolute;
  right: 125px;
  top: 0;
  width: 1.5px;
  height: 0;
  background: linear-gradient(to bottom, rgba(80,50,10,0.65), rgba(80,50,10,0.15));
  transform-origin: top;
}

/* 釣り上げた文字 — tickerと同スタイル */
.fish-word {
  position: absolute;
  right: 125px;
  top: 0;
  transform: translateX(50%);
  font-family: var(--font-en);
  font-size: 0.8rem;
  font-weight: 500;
  letter-spacing: 0.06em;
  color: var(--text-muted);
  white-space: nowrap;
  opacity: 0;
  pointer-events: none;
}

/* ===== キーフレーム ===== */
@keyframes anglerBob {
  0%, 100% { transform: translateY(0); }
  50%       { transform: translateY(-6px); }
}

@keyframes rodSway {
  0%, 100% { transform: rotate(-20deg); }
  50%       { transform: rotate(-11deg); }
}

@keyframes rodPull {
  0%   { transform: rotate(-20deg); }
  35%  { transform: rotate(-37deg); }
  70%  { transform: rotate(-28deg); }
  100% { transform: rotate(-20deg); }
}

@keyframes fishWiggle {
  0%, 100% { transform: translateX(50%) rotate(0deg); }
  25%       { transform: translateX(calc(50% + 5px)) rotate(12deg); }
  75%       { transform: translateX(calc(50% - 5px)) rotate(-12deg); }
}

.fish-rod.is-pulling { animation: rodPull 0.55s ease-in-out 3; }

/* スマホでは釣りシーン非表示 */
@media (max-width: 900px) {
  .fishing-zone { display: none; }
}

/* =====================================================
   MOBILE FIX PATCH
   既存CSSの一番下に追記してください
   スマホ崩れ / ローディング / Hero文字 / Input幅 修正
===================================================== */

/* ---------------------------------
   共通（横スクロール防止）
--------------------------------- */
html,
body {
  width: 100%;
  max-width: 100%;
  overflow-x: hidden;
}

*,
*::before,
*::after {
  box-sizing: border-box;
}

/* ---------------------------------
   ローディング画面
   iPhone Safari対応
--------------------------------- */
.loading-screen {
  position: fixed !important;
  inset: 0;
  width: 100vw;
  height: 100dvh;
  min-height: 100vh;
  z-index: 999999;
  display: flex;
  align-items: center;
  justify-content: center;
  background: #0C0C0C;
  opacity: 1;
  visibility: visible;
}

.loading-screen.is-done {
  opacity: 0;
  visibility: hidden;
  pointer-events: none;
  transition: opacity .6s ease;
}

/* ---------------------------------
   Hero文字が消える問題修正
--------------------------------- */
.page-hero,
.page-hero__inner,
.page-hero__content {
  position: relative;
  z-index: 3;
}

.page-hero::before,
.page-hero::after {
  z-index: 1;
}

.page-hero__title,
.page-hero h1,
.page-hero h2,
.page-hero p,
.page-hero__lead,
.page-hero__bottom {
  position: relative;
  z-index: 5;
  opacity: 1 !important;
  visibility: visible !important;
}

/* ---------------------------------
   下層ページ
   Services / About 等文字が消える修正
--------------------------------- */
.page-hero--sub,
.page-hero--sub * {
  position: relative;
  z-index: 5;
  opacity: 1 !important;
  visibility: visible !important;
}

/* ---------------------------------
   Contactフォーム崩れ修正
--------------------------------- */
.contact-split,
.contact-split__left,
.contact-split__right,
.contact-form-new,
.cfn-row,
.cfn-group {
  width: 100%;
  max-width: 100%;
}

.cfn-input,
.cfn-select,
.cfn-textarea,
.cfn-btn {
  width: 100%;
  max-width: 100%;
  box-sizing: border-box;
}

/* ---------------------------------
   スマホ用
--------------------------------- */
@media (max-width: 900px) {

  /* 釣り非表示 */
  .fishing-zone,
  .fish-characters,
  .fish-person-wrap,
  .fish-angler,
  .fish-rod,
  .fish-line,
  .fish-word {
    display: none !important;
  }

  /* Hero */
  .page-hero {
    min-height: auto;
    padding-top: 0;
    background-position: center center;
    background-size: cover;
  }

  .page-hero__inner {
    padding: 110px 24px 56px;
  }

  .page-hero__title,
  .page-hero h1 {
    font-size: clamp(2rem, 9vw, 3rem);
    line-height: 1.2;
    display: block;
  }

  .page-hero__lead,
  .page-hero p {
    font-size: 0.95rem;
    line-height: 1.8;
    margin-top: 18px;
  }

  /* 下層Hero */
  .page-hero--sub .page-hero__inner {
    padding: 120px 24px 60px;
  }

  /* Contact */
  .contact-split {
    grid-template-columns: 1fr !important;
  }

  .contact-split__left,
  .contact-split__right {
    padding: 36px 20px !important;
  }

  .cfn-row {
    grid-template-columns: 1fr !important;
    gap: 18px;
  }

  .cfn-input,
  .cfn-select,
  .cfn-textarea {
    padding: 14px 16px;
    font-size: 16px; /* iPhone zoom防止 */
  }

  /* Works */
  .works-grid-new {
    grid-template-columns: 1fr !important;
    gap: 16px;
  }

  .works-filter-new {
    padding: 16px;
  }

  /* Footer */
  .footer__mid {
    flex-direction: column;
    gap: 32px;
  }
}

/* ---------------------------------
   超小型スマホ
--------------------------------- */
@media (max-width: 480px) {

  .page-hero__inner,
  .page-hero--sub .page-hero__inner {
    padding-left: 18px;
    padding-right: 18px;
  }

  .page-hero__title,
  .page-hero h1 {
    font-size: 1.8rem;
  }

  .contact-split__left,
  .contact-split__right {
    padding: 28px 16px !important;
  }

  .cfn-btn {
    padding: 16px;
  }
}
