/* ==========================================
   EGG BASE LAB 
   ========================================== */

*, *::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: clip; }

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: rgba(12, 12, 12, 0.18) !important;
  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.9; }
  33% { transform: translate(18px, -28px); opacity: 1; }
  66% { transform: translate(-12px, 14px); opacity: 0.85; }
}
@keyframes bgFloat2 {
  0%, 100% { transform: translate(0, 0) rotate(0deg); opacity: 0.88; }
  50% { transform: translate(-20px, 20px) rotate(1deg); opacity: 1; }
}
@keyframes bgFloat3 {
  0%, 100% { transform: translate(0, 0); opacity: 0.87; }
  40% { transform: translate(14px, -18px); opacity: 1; }
  80% { transform: translate(-8px, 10px); opacity: 0.9; }
}

/* ヒーローコンテンツ */
.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; margin-top: 10px;}
.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; }
}

/* ===== CITY POP IMAGES (retro mode only) ===== */
.hero__citypop {
  display: none;
  position: absolute;
  inset: 0;
  pointer-events: none;
  z-index: 1;
}
/* 縦位置: 右端に全身が見えるサイズで */
.citypop-img--top {
  position: absolute;
  right: 3%;
  bottom: 0;
  height: 62%;
  width: auto;
  max-width: 20%;
  object-fit: contain;
  object-position: bottom center;
  -webkit-mask-image: linear-gradient(to right, transparent 0%, rgba(0,0,0,0.5) 14%, black 30%);
  mask-image: linear-gradient(to right, transparent 0%, rgba(0,0,0,0.5) 14%, black 30%);
}
/* 横位置: タイトル「アイデアを〜」の右横 */
.citypop-img--side {
  position: absolute;
  right: 24%;
  bottom: 20%;
  width: 23%;
  height: auto;
  max-height: 38%;
  object-fit: cover;
  object-position: center top;
  -webkit-mask-image: radial-gradient(ellipse 85% 85% at 55% 45%, black 25%, rgba(0,0,0,0.55) 55%, transparent 78%);
  mask-image: radial-gradient(ellipse 85% 85% at 55% 45%, black 25%, rgba(0,0,0,0.55) 55%, transparent 78%);
}

/* ===== 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; }
.ss-card--app  { background: #F7F8FA; }

/* ===== 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;
}

/* ===== WORKS FEATURED CARD ===== */
.works-featured { border-top: 1px solid var(--border); display: flex; flex-direction: column; gap: 10px; }
.wf-card {
  display: grid; grid-template-columns: 3fr 2fr;
  min-height: 560px; color: inherit; text-decoration: none;
  overflow: hidden;
}
.wf-card:hover .wf-img > img { transform: scale(1.04); }
.wf-card:hover .wf-overlay { opacity: 1; }
.wf-card:hover .wf-info__url { color: rgba(255,255,255,0.75); }

.wf-img { position: relative; overflow: hidden; }
.wf-img > img {
  width: 100%; height: 100%;
  object-fit: cover; object-position: center top;
  display: block;
  transition: transform 0.7s cubic-bezier(0.4, 0, 0.2, 1);
}
.wf-overlay {
  position: absolute; inset: 0;
  background: rgba(12,12,12,0.38);
  display: flex; align-items: center; justify-content: center;
  opacity: 0; transition: opacity 0.4s;
}
.wf-overlay span {
  font-family: var(--font-en); font-size: 0.85rem;
  font-weight: 700; letter-spacing: 0.1em; color: #fff;
  border: 1px solid rgba(255,255,255,0.55); padding: 14px 36px;
}
.wf-gallery {
  position: absolute; bottom: 0; left: 0; right: 0;
  display: grid; grid-template-columns: repeat(3, 1fr); gap: 2px;
  height: 120px;
}
.wf-gallery img {
  width: 100%; height: 100%; object-fit: cover;
  filter: brightness(0.6); transition: filter 0.4s;
}
.wf-card:hover .wf-gallery img { filter: brightness(0.78); }

.wf-info {
  background: var(--bg-dark); padding: 56px 64px;
  display: flex; flex-direction: column;
  justify-content: center; gap: 26px; color: #fff;
}
.wf-info__badge { display: flex; align-items: center; gap: 10px; flex-wrap: wrap; }
.wf-info__new {
  font-family: var(--font-en); font-size: 0.55rem;
  font-weight: 700; letter-spacing: 0.2em;
  background: rgba(255,200,160,0.12); color: rgba(255,190,140,0.9);
  border: 1px solid rgba(255,190,140,0.25); padding: 4px 10px;
}
.wf-info__type {
  font-family: var(--font-en); font-size: 0.55rem;
  font-weight: 700; letter-spacing: 0.2em;
  color: rgba(255,255,255,0.4);
  border: 1px solid rgba(255,255,255,0.15); padding: 4px 10px;
}
.wf-info__title {
  font-family: var(--font-en);
  font-size: clamp(2rem, 3.5vw, 3.8rem);
  font-weight: 900; letter-spacing: -0.04em;
  color: #fff; line-height: 1.0;
}
.wf-info__sub {
  font-size: 0.85rem; color: rgba(255,255,255,0.4);
  letter-spacing: 0.02em; margin-top: -16px;
}
.wf-info__desc {
  font-size: 0.875rem; color: rgba(255,255,255,0.48);
  line-height: 1.9; max-width: 320px;
}
.wf-info__tags { display: flex; gap: 8px; flex-wrap: wrap; }
.wf-info__tags span {
  font-family: var(--font-en); font-size: 0.58rem;
  font-weight: 600; letter-spacing: 0.1em;
  background: rgba(255,255,255,0.06); color: rgba(255,255,255,0.38);
  padding: 5px 12px;
}
.wf-info__url {
  font-family: var(--font-en); font-size: 0.7rem;
  font-weight: 600; letter-spacing: 0.04em;
  color: rgba(255,255,255,0.22); transition: color 0.3s; margin-top: 4px;
}

/* wgn-card に実サイトリンク */
.wgn-card--site { text-decoration: none; }
.wgn-card__site {
  font-family: var(--font-en); font-size: 0.65rem;
  font-weight: 700; letter-spacing: 0.08em;
  color: var(--text-muted); display: block; margin-top: 14px;
  transition: color var(--tr);
}
.wgn-card--site:hover .wgn-card__site { color: var(--text); }

/* ===== 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, 5rem);
  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; }
  .wf-card { grid-template-columns: 1fr; min-height: auto; }
  .wf-img { min-height: 400px; }
  .wf-info { padding: 48px 40px; }
  .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; }
  .wf-img { min-height: 280px; }
  .wf-gallery { height: 80px; }
  .wf-info { padding: 40px 24px; gap: 20px; }

  .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__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-layout {
  display: grid;
  grid-template-columns: 300px 1fr;
  gap: 80px;
  align-items: start;
}
.company-layout__left {
  position: sticky;
  top: 100px;
}

/* 会社情報テーブル */
.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__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; }
  .company-layout { grid-template-columns: 1fr; gap: 40px; }
  .company-layout__left { position: static; }
}

@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; }
  .company-table th { width: 100px; white-space: normal; }
  .company-table th, .company-table td { padding: 16px 12px; font-size: 0.82rem; }
  .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;
  -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-egg {
  width: 150px;
  height: 120px;
  object-fit: contain;
  filter: brightness(0) invert(1);
  opacity: 0.85;
  margin-bottom: -25px;
}

.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-top: 0;      
  margin-bottom: 25px;  
  
}

.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;
}

/* ==========================================
   フローティング
   ========================================== */
.shiba-float {
  position: absolute;
  z-index: 10;
  pointer-events: none;
}

/* 個別の開始位置 */
.shiba-float--1 { top: 20%; left: 6%;  animation: shibaFly1 22s ease-in-out infinite; }
.shiba-float--2 { top: 58%; left: 42%; animation: shibaFly2 18s ease-in-out -7s infinite; }
.shiba-float--3 { top: 18%; left: 68%; animation: shibaFly3 26s ease-in-out -13s infinite; }

.shiba-float__inner {
  position: relative;
  width: 112px;
  height: 112px;
  display: grid;
  place-items: center;
  animation: shibaFloat 3.2s ease-in-out infinite;
}

.shiba-float--2 .shiba-float__inner { animation-duration: 2.7s; animation-delay: -1.2s; }
.shiba-float--3 .shiba-float__inner { animation-duration: 3.8s; animation-delay: -2.1s; }

/* iOS Safari 対策: transform を img 自身には使わない */
.shiba-float__img {
  width: 62px;
  height: 62px;
  object-fit: contain;
  position: relative;
  z-index: 2;
}

.shiba-ring {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  overflow: visible;
  animation: shibaRingSpin 7s linear infinite;
  transform-origin: 50% 50%;
}

.shiba-float--2 .shiba-ring { animation-duration: 5s; }
.shiba-float--3 .shiba-ring { animation-duration: 9.5s; animation-direction: reverse; }

.shiba-ring__text {
  font-family: var(--font-en);
  font-size: 11.2px;
  font-weight: 700;
  fill: rgba(12, 12, 12, 0.5);
  letter-spacing: 0.04em;
}

/* 飛び回りアニメーション（それぞれ別軌跡） */
@keyframes shibaFly1 {
  0%   { transform: translate(0,     0); }
  12%  { transform: translate(32vw,  10vh); }
  25%  { transform: translate(18vw, -7vh); }
  38%  { transform: translate(50vw,  16vh); }
  52%  { transform: translate(33vw,  34vh); }
  65%  { transform: translate(55vw,  20vh); }
  78%  { transform: translate(8vw,   28vh); }
  90%  { transform: translate(42vw,  6vh); }
  100% { transform: translate(0,     0); }
}

@keyframes shibaFly2 {
  0%   { transform: translate(0,      0); }
  14%  { transform: translate(-30vw, -18vh); }
  27%  { transform: translate(14vw,  -24vh); }
  42%  { transform: translate(-20vw,  8vh); }
  55%  { transform: translate(20vw,  -12vh); }
  68%  { transform: translate(-12vw,  14vh); }
  82%  { transform: translate(10vw,  -18vh); }
  100% { transform: translate(0,      0); }
}

@keyframes shibaFly3 {
  0%   { transform: translate(0,      0); }
  10%  { transform: translate(-18vw,  12vh); }
  24%  { transform: translate(-42vw,  4vh); }
  38%  { transform: translate(-25vw,  28vh); }
  52%  { transform: translate(-58vw,  14vh); }
  66%  { transform: translate(-36vw,  35vh); }
  80%  { transform: translate(-14vw,  18vh); }
  92%  { transform: translate(-44vw,  7vh); }
  100% { transform: translate(0,      0); }
}

@keyframes shibaFloat {
  0%, 100% { transform: translateY(0)     rotate(-2deg); }
  50%       { transform: translateY(-10px) rotate(2deg); }
}

@keyframes shibaRingSpin {
  from { transform: rotate(0deg); }
  to   { transform: rotate(360deg); }
}

/* 釣りシーン全体のゾーン */
.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: 35%;
  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: 80px;
  height: auto;
  position: relative;
  z-index: 1;
}

/* 竿 — transform-origin:right center でグリップ端を軸に回転 */
.fish-rod {
  position: absolute;
  width: 80px;
  height: 65px;
  top: 10px;
  right: 38px;
  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: 85px;
  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 { width: 120px; right: 3%; }
  .fish-angler  { width: 60px; }
  .fish-rod     { width: 80px; top: 12px; right: 5px; }
  .fish-line    { right: 83px; }
  .fish-word    { right: 83px; font-size: 0.7rem; }
} */

/* =====================================================
   MOBILE FIX PATCH
   スマホ崩れ / ローディング / 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 { width: 120px; right: 3%; }

  .loading-egg {
    width: 120px;
    height: 120px;
    margin-bottom: -27px;
  }

  /* 回転モバイル */
  .shiba-float--1 { top: 18%; left: 4%;  animation-name: shibaFlyMob1; animation-duration: 18s; }
  .shiba-float--2 { top: 52%; left: 38%; animation-name: shibaFlyMob2; animation-duration: 15s; }
  .shiba-float--3 { top: 16%; left: 60%; animation-name: shibaFlyMob3; animation-duration: 21s; }
  .shiba-float__inner { width: 88px; height: 88px; }
  .shiba-float__img   { width: 46px; height: 46px; }
  .shiba-ring__text   { font-size: 8.8px; }

  /* 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;
  }

  .loading-egg {
    width: 115px;
    height: 115px;
    margin-bottom: -22px;
  }

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

  .fishing-zone{
    display:block !important;
    position:absolute;
    right:60px;
    top:-48px;          
    width:90px;
    height:90px;
    z-index:50;
    pointer-events:none;
  }

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

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

@media (max-width: 900px){

  .ticker-outer{
    position: relative;
    overflow: visible !important;
  }

  .fishing-zone{
    display:block !important;
    position:absolute;
    right:10px;
    top:-34px;          
    width:90px;
    height:90px;
    z-index:50;
    pointer-events:none;
  }

  .fish-characters,
  .fish-person-wrap{
    display:block !important;
    position:relative;
  }

  .fish-angler{
    display:block !important;
    width:70px;
    height:auto;
  }

  .fish-rod{
    display:block !important;
    position:absolute;
    width:90px;
    top:1px;
    right:50px;
  }

  .fish-line{
    display:block !important;
    right:74px;
    top:16px;
    height:45px;
  }

  .fish-word{
    display:block !important;
    right:110px;
    top:58px;
    font-size:0.62rem;
    padding: 45px;
  }
}

/* モバイル用 回転キーフレーム */
@keyframes shibaFlyMob1 {
  0%   { transform: translate(0,     0); }
  15%  { transform: translate(42vw,  8vh); }
  30%  { transform: translate(22vw, -5vh); }
  50%  { transform: translate(50vw,  20vh); }
  65%  { transform: translate(15vw,  30vh); }
  82%  { transform: translate(44vw,  12vh); }
  100% { transform: translate(0,     0); }
}

@keyframes shibaFlyMob2 {
  0%   { transform: translate(0,      0); }
  20%  { transform: translate(-28vw, -16vh); }
  40%  { transform: translate(16vw,  -20vh); }
  60%  { transform: translate(-18vw,  6vh); }
  80%  { transform: translate(12vw,  -14vh); }
  100% { transform: translate(0,      0); }
}

@keyframes shibaFlyMob3 {
  0%   { transform: translate(0,      0); }
  18%  { transform: translate(-20vw,  10vh); }
  36%  { transform: translate(-40vw,  3vh); }
  55%  { transform: translate(-22vw,  26vh); }
  74%  { transform: translate(-38vw,  14vh); }
  90%  { transform: translate(-12vw,  20vh); }
  100% { transform: translate(0,      0); }
}

/* ==========================================
   釣り人 クリック可能設定
   ========================================== */
/* .fish-person-wrap {
  cursor: pointer;
  pointer-events: auto;
  position: relative;
  transition: transform 0.25s cubic-bezier(0.34,1.56,0.64,1);
} */

/* .fish-person-wrap:hover .fish-angler {
  filter: drop-shadow(0 0 10px rgba(255,180,40,0.7));
} */

/* TAP インジケーター（通常モード時） */
/* .fish-person-wrap::before {
  content: '▼ TAP';
  position: absolute;
  top: -22px;
  left: 50%;
  transform: translateX(-50%);
  font-family: 'Press Start 2P', cursive;
  font-size: 0.36rem;
  letter-spacing: 0.04em;
  color: var(--text-muted);
  white-space: nowrap;
  opacity: 0.7;
  animation: tapBlink 1.8s ease-in-out infinite;
  pointer-events: none;
} */

@keyframes tapBlink {
  0%, 100% { opacity: 0.7; }
  50%       { opacity: 0.2; }
}


/* ==========================================
   RETRO MODE KEYFRAMES
   ========================================== */
@keyframes rFloat {
  0%, 100% { transform: translateY(0); }
  50%       { transform: translateY(-7px); }
}
@keyframes rFloatB {
  0%, 100% { transform: translateY(-3px); }
  50%       { transform: translateY(5px); }
}
@keyframes rFloatC {
  0%, 100% { transform: translateY(0) rotate(0.4deg); }
  50%       { transform: translateY(-5px) rotate(-0.4deg); }
}
@keyframes rShimmer {
  0%   { background-position: -250% center; }
  100% { background-position:  250% center; }
}
@keyframes rGlowPink {
  0%, 100% { text-shadow: 0 0 8px rgba(192,96,160,0.45); }
  50%       { text-shadow: 0 0 22px rgba(192,96,160,0.75), 0 0 40px rgba(192,96,160,0.25); }
}
@keyframes rGlowCyan {
  0%, 100% { text-shadow: 0 0 8px rgba(72,152,184,0.45); }
  50%       { text-shadow: 0 0 22px rgba(72,152,184,0.75), 0 0 40px rgba(72,152,184,0.25); }
}
@keyframes rEnterUp {
  from { opacity: 0; transform: translateY(28px); }
  to   { opacity: 1; transform: translateY(0); }
}
@keyframes rEnterLeft {
  from { opacity: 0; transform: translateX(-20px); }
  to   { opacity: 1; transform: translateX(0); }
}
@keyframes rEnterFade {
  from { opacity: 0; }
  to   { opacity: 1; }
}
@keyframes rLightSweep {
  0%   { left: -45%; opacity: 0; }
  8%   { opacity: 1; }
  92%  { opacity: 1; }
  100% { left: 105%; opacity: 0; }
}
@keyframes rPulse {
  0%, 100% { opacity: 0.7; }
  50%       { opacity: 1; }
}
@keyframes rBtnGlow {
  0%, 100% { box-shadow: 0 0 10px rgba(192,96,160,0.45), 3px 3px 0 #6A1858; }
  50%       { box-shadow: 0 0 22px rgba(192,96,160,0.7), 3px 3px 0 #6A1858; }
}
@keyframes rDotMove {
  0%   { background-position: 0 0, 11px 11px; }
  100% { background-position: 22px 22px, 33px 33px; }
}

/* ==========================================
   RETRO MODE — くすみシティポップ × アニメーション
   ========================================== */
body.retro-mode {
  --bg:         #222045;
  --bg-off:     #1C1838;
  --bg-white:   rgba(255,255,255,0.08);
  --bg-dark:    #161328;
  --bg-mid:     #2A2858;
  --text:       #E6DFF8;
  --text-muted: #9488C0;
  --text-light: #564E90;
  --text-faint: rgba(230,223,248,0.04);
  --primary:    #C060A0;
  --border:     rgba(192,96,160,0.35);
  --white:      #E6DFF8;
  --font-en:    'Noto Sans JP', sans-serif;
  --font-jp:    'Noto Sans JP', sans-serif;
  font-family: 'Noto Sans JP', sans-serif;
  background-color: #1C1838;
  background-image: linear-gradient(160deg,
    #1A1728 0%,
    #222048 28%,
    #2C2858 55%,
    #363068 100%
  );
  background-attachment: fixed;
  color: var(--text);
}

/* ドット背景（ゆっくり流れる） */
body.retro-mode::before {
  content: '';
  position: fixed;
  inset: 0;
  pointer-events: none;
  z-index: 99991;
  background-image:
    radial-gradient(circle, rgba(192,96,160,0.17) 1.5px, transparent 1.5px),
    radial-gradient(circle, rgba(72,152,184,0.11) 1.5px, transparent 1.5px);
  background-size: 22px 22px, 44px 44px;
  background-position: 0 0, 11px 11px;
  animation: rDotMove 20s linear infinite;
}

/* 光のスイープ（ゆっくり流れるハイライト） */
body.retro-mode::after {
  content: '';
  position: fixed;
  top: 0;
  width: 42%;
  height: 100%;
  background: linear-gradient(90deg,
    transparent 0%,
    rgba(72,152,184,0.04) 50%,
    transparent 100%
  );
  z-index: 99990;
  pointer-events: none;
  animation: rLightSweep 12s ease-in-out infinite;
}

/* ===== ヘッダー ===== */
body.retro-mode .header.scrolled {
  background: rgba(24,20,40,0.96) !important;
  border-bottom: 2px solid #C060A0 !important;
  box-shadow: 0 2px 0 #C0A030, 0 4px 0 #4898B8 !important;
}
body.retro-mode .logo-egg  { color: #C060A0 !important; }
body.retro-mode .logo-base { color: #4898B8 !important; }
body.retro-mode .logo-lab  { color: #C0A030 !important; }
body.retro-mode .nav-link {
  font-family: 'Noto Sans JP', sans-serif !important;
  color: rgba(230,223,248,0.82) !important;
  font-weight: 500;
}
body.retro-mode .nav-link:hover,
body.retro-mode .nav-link.active { color: #C060A0 !important; }
body.retro-mode .nav-link--cta,
body.retro-mode .nav-link--contact {
  border: 1.5px solid #C060A0 !important;
  color: #C060A0 !important;
  font-family: 'Noto Sans JP', sans-serif !important;
  font-weight: 700 !important;
}
body.retro-mode .nav-link--cta:hover,
body.retro-mode .nav-link--contact:hover {
  background: #C060A0 !important;
  color: #fff !important;
}
body.retro-mode .hamburger span { background: var(--text) !important; }

/* ===== シティポップ画像 ===== */
body.retro-mode .hero__citypop { display: block; }
body.retro-mode .citypop-img--top {
  filter: saturate(1.05) brightness(0.96) !important;
  animation: rEnterFade 1.4s ease-out 0.2s both, rFloat 6.5s ease-in-out 1.6s infinite;
}
body.retro-mode .citypop-img--side {
  filter: saturate(1.0) brightness(0.92) !important;
  animation: rEnterFade 1.4s ease-out 0.5s both, rFloatB 8s ease-in-out 1.9s infinite;
}

/* ===== ヒーロー ===== */
body.retro-mode .hero {
  background-color: #1A1728;
  background-image:
    linear-gradient(160deg, #171526 0%, #20204A 35%, #2C2860 65%, #363270 100%);
}

/* hbg 背景大文字: 淡いくすみネオン */
body.retro-mode .hbg--1  { color: rgba(192,96,160,0.10) !important; }
body.retro-mode .hbg--2  { color: rgba(72,152,184,0.08) !important; }
body.retro-mode .hbg--3  { color: rgba(58,144,128,0.08) !important; }
body.retro-mode .hbg--4  { color: rgba(192,160,48,0.09) !important; }
body.retro-mode .hbg--5  { color: rgba(150,100,200,0.08) !important; }
body.retro-mode .hbg--6  { color: rgba(192,96,160,0.09) !important; }
body.retro-mode .hbg--7  { color: rgba(58,144,128,0.08) !important; }
body.retro-mode .hbg--8  { color: rgba(72,152,184,0.08) !important; }
body.retro-mode .hbg--9  { color: rgba(192,160,48,0.09) !important; }
body.retro-mode .hbg--10 { color: rgba(192,96,160,0.10) !important; }

/* ヒーロー メタ行 */
body.retro-mode .hero__meta-row {
  border-bottom: 1.5px dashed rgba(192,96,160,0.4) !important;
}
body.retro-mode .hero__meta-tag {
  font-family: 'Noto Sans JP', sans-serif !important;
  font-size: 0.72rem !important;
  font-weight: 700 !important;
  letter-spacing: 0.12em !important;
  color: #C060A0 !important;
}
body.retro-mode .hero__meta-place {
  font-family: 'Noto Sans JP', sans-serif !important;
  font-size: 0.72rem !important;
  font-weight: 600 !important;
  color: #4898B8 !important;
}
body.retro-mode .hero__meta-num {
  font-family: 'Noto Sans JP', sans-serif !important;
  font-size: 0.72rem !important;
  font-weight: 700 !important;
  color: #C0A030 !important;
}

/* ヒーロー タイトル — 入場 + 浮遊 */
body.retro-mode .ht--ja-huge {
  font-family: 'Rampart One', 'Noto Sans JP', sans-serif !important;
  color: #C060A0 !important;
  text-shadow: 0 0 18px rgba(192,96,160,0.5), 3px 3px 0 rgba(72,152,184,0.25) !important;
  display: inline-block;
  animation: rEnterUp 0.8s cubic-bezier(0.16,1,0.3,1) both,
             rFloat 4.2s ease-in-out 0.8s infinite;
}
body.retro-mode .ht--en-large {
  font-family: 'Rampart One', 'Noto Sans JP', sans-serif !important;
  color: #4898B8 !important;
  text-shadow: 0 0 14px rgba(72,152,184,0.4), 3px 3px 0 rgba(72,152,184,0.18) !important;
  display: inline-block;
  animation: rEnterUp 0.8s cubic-bezier(0.16,1,0.3,1) 0.1s both,
             rFloatB 5s ease-in-out 0.9s infinite;
}
body.retro-mode .ht--en-small {
  font-family: 'Rampart One', 'Noto Sans JP', sans-serif !important;
  color: #C0A030 !important;
  display: inline-block;
  animation: rEnterFade 0.8s ease-out 0.2s both;
}
body.retro-mode .ht--en-tiny {
  font-family: 'Noto Sans JP', sans-serif !important;
  font-size: 1.1rem !important;
  font-weight: 400 !important;
  line-height: 2.0 !important;
  color: #4898B8 !important;
  letter-spacing: 0.06em !important;
  display: inline-block;
  animation: rEnterLeft 0.7s ease-out 0.15s both;
}
body.retro-mode .ht--ja-xl {
  font-family: 'Rampart One', 'Noto Sans JP', sans-serif !important;
  color: #3A9080 !important;
  text-shadow: 0 0 12px rgba(58,144,128,0.4) !important;
  display: inline-block;
  animation: rEnterUp 0.8s cubic-bezier(0.16,1,0.3,1) 0.2s both,
             rFloatC 5.5s ease-in-out 1.0s infinite;
}
body.retro-mode .ht--ja-mid {
  font-family: 'Rampart One', 'Noto Sans JP', sans-serif !important;
  color: var(--text) !important;
  display: inline-block;
  animation: rEnterFade 0.7s ease-out 0.3s both;
}
body.retro-mode .ht--ja-tiny {
  font-family: 'Noto Sans JP', sans-serif !important;
  color: var(--text-muted) !important;
  animation: rEnterFade 0.6s ease-out 0.35s both;
}
body.retro-mode .hero__desc {
  color: var(--text-muted) !important;
  animation: rEnterFade 0.6s ease-out 0.45s both;
}

/* ヒーロー CTA */
body.retro-mode .hero__btn--fill {
  background: #C060A0 !important;
  border: 2px solid #C060A0 !important;
  color: #fff !important;
  font-family: 'Noto Sans JP', sans-serif !important;
  font-weight: 700 !important;
  animation: rEnterFade 0.6s ease-out 0.5s both, rBtnGlow 2.5s ease-in-out 1.1s infinite;
}
body.retro-mode .hero__btn--fill:hover {
  transform: translate(-2px, -2px) !important;
}
body.retro-mode .hero__btn {
  border: 2px solid #4898B8 !important;
  color: #4898B8 !important;
  font-family: 'Noto Sans JP', sans-serif !important;
  font-weight: 600 !important;
  animation: rEnterFade 0.6s ease-out 0.6s both;
}
body.retro-mode .hero__btn:hover {
  background: rgba(72,152,184,0.15) !important;
  transform: translate(-2px, -2px) !important;
}

/* ===== セクション共通 ===== */
body.retro-mode .section-label {
  font-family: 'Rampart One', 'Noto Sans JP', sans-serif !important;
  font-size: 0.72rem !important;
  letter-spacing: 0.16em !important;
  background: linear-gradient(90deg, #C060A0, #4898B8, #C0A030, #3A9080, #C060A0);
  background-size: 300% auto;
  -webkit-background-clip: text;
  background-clip: text;
  -webkit-text-fill-color: transparent;
  color: transparent !important;
  animation: rShimmer 4.5s linear infinite;
}
body.retro-mode .section-title {
  font-family: 'Rampart One', 'Noto Sans JP', sans-serif !important;
  color: var(--text) !important;
}
body.retro-mode .section-title-en { color: rgba(192,96,160,0.1) !important; }

/* h1, h2 は Dela Gothic One（大見出し） */
body.retro-mode h1,
body.retro-mode h2 {
  font-family: 'Rampart One', 'Noto Sans JP', sans-serif !important;
  color: var(--text) !important;
}
/* h3, h4 は Noto Sans JP（読みやすく） */
body.retro-mode h3 {
  font-family: 'Noto Sans JP', sans-serif !important;
  font-weight: 700 !important;
  color: var(--text) !important;
}
body.retro-mode h4 {
  font-family: 'Noto Sans JP', sans-serif !important;
  font-weight: 600 !important;
  color: var(--text) !important;
}
body.retro-mode p {
  font-family: 'Noto Sans JP', sans-serif;
  color: var(--text-muted);
}

/* ===== セクション背景 ===== */
body.retro-mode .section { background: rgba(24,21,42,0.55); }
body.retro-mode .page-section { background: rgba(24,21,42,0.55); }
body.retro-mode .page-section--soft { background: rgba(30,26,56,0.72); }

/* ===== ページヒーロー ===== */
body.retro-mode .page-hero {
  background: linear-gradient(155deg, #171526 0%, #20204A 40%, #2C2860 75%, #343070 100%);
}
body.retro-mode .page-hero__label {
  font-family: 'Rampart One', 'Noto Sans JP', sans-serif !important;
  font-size: 0.7rem !important;
  letter-spacing: 0.16em !important;
  background: linear-gradient(90deg, #C060A0, #4898B8, #C0A030, #C060A0);
  background-size: 250% auto;
  -webkit-background-clip: text;
  background-clip: text;
  -webkit-text-fill-color: transparent;
  color: transparent !important;
  animation: rShimmer 4s linear infinite;
}
body.retro-mode .page-hero__title {
  font-family: 'Rampart One', 'Noto Sans JP', sans-serif !important;
  color: var(--text) !important;
}
body.retro-mode .page-hero__desc {
  font-family: 'Noto Sans JP', sans-serif !important;
  color: var(--text-muted) !important;
}
body.retro-mode .page-hero__title-mix > span:first-child {
  font-family: 'Rampart One', 'Noto Sans JP', sans-serif !important;
  color: #C060A0 !important;
  text-shadow: 0 0 16px rgba(192,96,160,0.45), 3px 3px 0 rgba(72,152,184,0.2) !important;
  display: inline-block;
  animation: rEnterUp 0.8s cubic-bezier(0.16,1,0.3,1) both,
             rFloat 4s ease-in-out 0.8s infinite;
}
body.retro-mode .page-hero__title-mix > span:nth-child(2) {
  font-family: 'Noto Sans JP', sans-serif !important;
  color: var(--text-muted) !important;
  display: inline-block;
  animation: rEnterFade 0.6s ease-out 0.15s both;
}
body.retro-mode .page-hero__title-mix > span:nth-child(3) {
  font-family: 'Rampart One', 'Noto Sans JP', sans-serif !important;
  color: var(--text) !important;
  display: inline-block;
  animation: rEnterUp 0.8s cubic-bezier(0.16,1,0.3,1) 0.2s both,
             rFloatB 5s ease-in-out 1.0s infinite;
}
body.retro-mode .page-hero__count span {
  font-family: 'Rampart One', 'Noto Sans JP', sans-serif !important;
  color: #C060A0 !important;
  display: inline-block;
  animation: rGlowPink 2.8s ease-in-out infinite;
}
body.retro-mode .page-hero__count em {
  font-family: 'Noto Sans JP', sans-serif !important;
  font-size: 0.65rem !important;
  letter-spacing: 0.1em !important;
  color: #4898B8 !important;
}
body.retro-mode .phb--1 { color: rgba(192,96,160,0.07) !important; animation: rFloatC 12s ease-in-out 0s infinite; }
body.retro-mode .phb--2 { color: rgba(72,152,184,0.06) !important; animation: rFloat 14s ease-in-out 1s infinite; }
body.retro-mode .phb--3 { color: rgba(58,144,128,0.06) !important; animation: rFloatB 11s ease-in-out 2s infinite; }
body.retro-mode .phb--4 { color: rgba(192,160,48,0.07) !important; animation: rFloatC 13s ease-in-out 0.5s infinite; }
body.retro-mode .breadcrumb a,
body.retro-mode .breadcrumb span {
  font-family: 'Noto Sans JP', sans-serif !important;
  color: var(--text-light) !important;
}

/* ===== ティッカー ===== */
body.retro-mode .ticker {
  background: #161328;
  border-top: 2px solid #C0A030;
  border-bottom: 2px solid #C0A030;
}
body.retro-mode .ticker__track {
  color: #C0A030;
  font-family: 'Press Start 2P', cursive;
  font-size: 0.6rem;
}
body.retro-mode .ticker__track b { color: #C060A0; }
body.retro-mode .ticker--dark {
  background: #120E24;
  border-top: 2px solid #C060A0;
  border-bottom: 2px solid #C060A0;
}
body.retro-mode .ticker--dark .ticker__track span { color: rgba(192,160,48,0.85); }
body.retro-mode .ticker--dark .ticker__track b { color: rgba(192,96,160,0.85); }

/* ===== カード ===== */
body.retro-mode .sub-card {
  background: rgba(255,255,255,0.065) !important;
  border-width: 1.5px !important;
  border-style: solid !important;
  backdrop-filter: blur(8px) !important;
  -webkit-backdrop-filter: blur(8px) !important;
  animation: rEnterUp 0.55s ease-out both;
}
body.retro-mode .sub-card:nth-child(2n) { animation-delay: 0.08s; }
body.retro-mode .sub-card:nth-child(3n) { animation-delay: 0.16s; }
body.retro-mode .sub-card:nth-child(4n) { animation-delay: 0.24s; }
body.retro-mode .sub-card:nth-child(5n) { animation-delay: 0.30s; }
body.retro-mode .sub-card:nth-child(3n+1) {
  border-color: rgba(192,96,160,0.45) !important;
  box-shadow: 0 0 10px rgba(192,96,160,0.1), 3px 3px 0 rgba(192,96,160,0.22) !important;
}
body.retro-mode .sub-card:nth-child(3n+2) {
  border-color: rgba(72,152,184,0.45) !important;
  box-shadow: 0 0 10px rgba(72,152,184,0.1), 3px 3px 0 rgba(72,152,184,0.2) !important;
}
body.retro-mode .sub-card:nth-child(3n+3) {
  border-color: rgba(58,144,128,0.45) !important;
  box-shadow: 0 0 10px rgba(58,144,128,0.1), 3px 3px 0 rgba(58,144,128,0.2) !important;
}
body.retro-mode .sub-card:hover { transform: translate(-2px, -2px) !important; }
body.retro-mode .sub-card:nth-child(3n+1):hover { box-shadow: 0 0 18px rgba(192,96,160,0.25), 5px 5px 0 rgba(192,96,160,0.28) !important; }
body.retro-mode .sub-card:nth-child(3n+2):hover { box-shadow: 0 0 18px rgba(72,152,184,0.22), 5px 5px 0 rgba(72,152,184,0.25) !important; }
body.retro-mode .sub-card:nth-child(3n+3):hover { box-shadow: 0 0 18px rgba(58,144,128,0.22), 5px 5px 0 rgba(58,144,128,0.25) !important; }
body.retro-mode .sub-card__title {
  font-family: 'Noto Sans JP', sans-serif !important;
  font-weight: 700 !important;
  color: var(--text) !important;
}
body.retro-mode .sub-card__body {
  font-family: 'Noto Sans JP', sans-serif !important;
  color: var(--text-muted) !important;
}

/* ===== CTAセクション ===== */
body.retro-mode .fulltext-section { background: rgba(18,14,36,0.65); }
body.retro-mode .fulltext-inner.sub-card {
  background: rgba(255,255,255,0.05) !important;
  border-color: rgba(192,96,160,0.25) !important;
  box-shadow: none !important;
  animation: none !important;
}
body.retro-mode .fulltext-bg span { color: rgba(192,96,160,0.06); }
body.retro-mode .fulltext-title {
  font-family: 'Rampart One', 'Noto Sans JP', sans-serif !important;
  color: var(--text) !important;
}
body.retro-mode .fq--huge {
  font-family: 'Rampart One', 'Noto Sans JP', sans-serif !important;
  color: var(--text) !important;
  display: inline-block;
  animation: rEnterUp 0.7s cubic-bezier(0.16,1,0.3,1) both,
             rFloat 4.5s ease-in-out 0.7s infinite;
}
body.retro-mode .fq--xl {
  font-family: 'Rampart One', 'Noto Sans JP', sans-serif !important;
  color: var(--text) !important;
  display: inline-block;
  animation: rEnterUp 0.7s cubic-bezier(0.16,1,0.3,1) 0.1s both,
             rFloatB 5s ease-in-out 0.8s infinite;
}
body.retro-mode .fq--lg {
  font-family: 'Noto Sans JP', sans-serif !important;
  color: rgba(230,223,248,0.82) !important;
}
body.retro-mode .fq--mid {
  font-family: 'Noto Sans JP', sans-serif !important;
  color: rgba(230,223,248,0.72) !important;
}
body.retro-mode .fq--sm {
  font-family: 'Noto Sans JP', sans-serif !important;
  color: rgba(148,136,192,0.85) !important;
}
body.retro-mode .fulltext-quote--3 {
  font-family: 'Noto Sans JP', sans-serif !important;
  color: rgba(148,136,192,0.65) !important;
}

/* ===== CTAボタン ===== */
body.retro-mode .ft-btn,
body.retro-mode .cta-btn-fill {
  background: #C060A0 !important;
  border: 2px solid #C060A0 !important;
  color: #fff !important;
  font-family: 'Noto Sans JP', sans-serif !important;
  font-weight: 700 !important;
  animation: rEnterFade 0.5s ease-out both, rBtnGlow 2.5s ease-in-out 0.5s infinite;
}
body.retro-mode .ft-btn:hover,
body.retro-mode .cta-btn-fill:hover {
  transform: translate(-2px, -2px) !important;
}
body.retro-mode .ft-link {
  font-family: 'Noto Sans JP', sans-serif !important;
  color: rgba(148,136,192,0.8) !important;
}
body.retro-mode .ft-link:hover { color: #C0A030 !important; }

/* ===== サービスページ ===== */
body.retro-mode .srn__tag {
  font-family: 'Noto Sans JP', sans-serif !important;
  color: var(--text-muted) !important;
  border-color: rgba(192,96,160,0.35) !important;
}
body.retro-mode .srnt--big {
  font-family: 'Rampart One', 'Noto Sans JP', sans-serif !important;
  color: var(--text) !important;
}
body.retro-mode .srnt--mid {
  font-family: 'Noto Sans JP', sans-serif !important;
  font-weight: 700 !important;
  color: var(--text) !important;
}
body.retro-mode .srnt--sm {
  font-family: 'Noto Sans JP', sans-serif !important;
  color: var(--text-muted) !important;
}
body.retro-mode .srn__desc {
  font-family: 'Noto Sans JP', sans-serif !important;
  color: var(--text-muted) !important;
}
body.retro-mode .srn__tags span {
  font-family: 'Noto Sans JP', sans-serif !important;
  color: var(--text-muted) !important;
  border-color: rgba(192,96,160,0.3) !important;
}
body.retro-mode .srn__link { color: #C060A0 !important; border-bottom-color: rgba(192,96,160,0.4) !important; }
body.retro-mode .srn__num { color: rgba(192,96,160,0.08) !important; }

/* フローステップ */
body.retro-mode .fsw__num {
  background: #C060A0 !important;
  color: #fff !important;
  font-family: 'Noto Sans JP', sans-serif !important;
  font-weight: 700 !important;
  font-size: 0.65rem !important;
}
body.retro-mode .fsw__title {
  font-family: 'Noto Sans JP', sans-serif !important;
  font-weight: 700 !important;
  color: var(--text) !important;
}
body.retro-mode .fsw__desc {
  font-family: 'Noto Sans JP', sans-serif !important;
  color: var(--text-muted) !important;
}
body.retro-mode .flow-step-wrap { border-bottom-color: rgba(192,96,160,0.2) !important; }
body.retro-mode .flow-step-wrap::before { background: rgba(192,96,160,0.25) !important; }

/* ===== index.html サービスセクション ===== */
body.retro-mode .services-section { background: rgba(24,21,42,0.55); border-bottom-color: rgba(192,96,160,0.2) !important; }
body.retro-mode .ss-header { border-bottom: 2px solid #C060A0 !important; }
body.retro-mode .ss-label {
  font-family: 'Rampart One', 'Noto Sans JP', sans-serif !important;
  font-size: 0.68rem !important;
  letter-spacing: 0.16em !important;
  background: linear-gradient(90deg, #C060A0, #4898B8, #C0A030, #C060A0);
  background-size: 250% auto;
  -webkit-background-clip: text;
  background-clip: text;
  -webkit-text-fill-color: transparent;
  color: transparent !important;
  animation: rShimmer 4s linear infinite;
}
body.retro-mode .ss-title--huge {
  font-family: 'Rampart One', 'Noto Sans JP', sans-serif !important;
  color: var(--text) !important;
}
body.retro-mode .ss-title--en {
  font-family: 'Noto Sans JP', sans-serif !important;
  color: var(--text-muted) !important;
}
body.retro-mode .ss-all { color: #C060A0 !important; border-bottom-color: rgba(192,96,160,0.4) !important; }
body.retro-mode .ss-card__n {
  font-family: 'Rampart One', 'Noto Sans JP', sans-serif !important;
  font-size: 0.6rem !important;
  letter-spacing: 0.1em !important;
  color: #C060A0 !important;
}
body.retro-mode .ss-card__tag {
  font-family: 'Noto Sans JP', sans-serif !important;
  color: var(--text-muted) !important;
  border-color: rgba(192,96,160,0.3) !important;
}
body.retro-mode .sct--big {
  font-family: 'Rampart One', 'Noto Sans JP', sans-serif !important;
  color: var(--text) !important;
}
body.retro-mode .sct--mid {
  font-family: 'Noto Sans JP', sans-serif !important;
  font-weight: 700 !important;
  color: var(--text) !important;
}
body.retro-mode .sct--sm {
  font-family: 'Noto Sans JP', sans-serif !important;
  color: var(--text-muted) !important;
}
body.retro-mode .ss-card__desc {
  font-family: 'Noto Sans JP', sans-serif !important;
  color: var(--text-muted) !important;
}
body.retro-mode .ss-card__list li {
  font-family: 'Noto Sans JP', sans-serif !important;
  color: var(--text-muted) !important;
  border-color: rgba(192,96,160,0.2) !important;
}
body.retro-mode .ss-card__bg { color: rgba(192,96,160,0.05) !important; }

/* ===== エディトリアルセクション ===== */
body.retro-mode .editorial__center { background: rgba(16,13,30,0.72); }
body.retro-mode .editorial__center .el--xl,
body.retro-mode .editorial__center .el--lg,
body.retro-mode .editorial__center .el--mid {
  font-family: 'Rampart One', 'Noto Sans JP', sans-serif !important;
  color: var(--text) !important;
  display: inline-block;
  animation: rFloat 4.5s ease-in-out infinite;
}
body.retro-mode .editorial__center .el--sm {
  font-family: 'Noto Sans JP', sans-serif !important;
  color: var(--text-muted) !important;
}
body.retro-mode .editorial__center .editorial__body p {
  font-family: 'Noto Sans JP', sans-serif !important;
  color: var(--text-muted) !important;
}
body.retro-mode .editorial__center .editorial__link { color: #C0A030 !important; border-bottom-color: rgba(192,160,48,0.4) !important; }
body.retro-mode .editorial__label {
  font-family: 'Rampart One', 'Noto Sans JP', sans-serif !important;
  font-size: 0.65rem !important;
  letter-spacing: 0.16em !important;
  background: linear-gradient(90deg, #C060A0, #4898B8, #C0A030, #C060A0);
  background-size: 250% auto;
  -webkit-background-clip: text;
  background-clip: text;
  -webkit-text-fill-color: transparent;
  color: transparent !important;
  animation: rShimmer 4s linear infinite;
}
body.retro-mode .es__n {
  font-family: 'Rampart One', 'Noto Sans JP', sans-serif !important;
  color: var(--text) !important;
}
body.retro-mode .es__l {
  font-family: 'Noto Sans JP', sans-serif !important;
  color: var(--text-muted) !important;
}

/* ===== 画像 ===== */
body.retro-mode img:not(.loading-egg) {
  filter: saturate(0.95) hue-rotate(-5deg) brightness(0.9);
}

/* ===== フォーム ===== */
body.retro-mode .cfn-input,
body.retro-mode .cfn-select,
body.retro-mode .cfn-textarea {
  font-family: 'Noto Sans JP', sans-serif !important;
  background: rgba(255,255,255,0.06) !important;
  border: 1.5px solid rgba(192,96,160,0.45) !important;
  color: var(--text) !important;
}
body.retro-mode .cfn-input::placeholder,
body.retro-mode .cfn-textarea::placeholder {
  color: var(--text-light) !important;
  font-family: 'Noto Sans JP', sans-serif !important;
}
body.retro-mode .cfn-input:focus,
body.retro-mode .cfn-select:focus,
body.retro-mode .cfn-textarea:focus {
  border-color: #C060A0 !important;
  box-shadow: 0 0 10px rgba(192,96,160,0.2) !important;
}
body.retro-mode .cfn-label {
  font-family: 'Noto Sans JP', sans-serif !important;
  color: var(--text) !important;
  font-weight: 600;
}
body.retro-mode .cfn-req { color: #C060A0 !important; }
body.retro-mode .cfn-select option {
  background: #222045;
  color: var(--text);
}
body.retro-mode .csl-label {
  font-family: 'Rampart One', 'Noto Sans JP', sans-serif !important;
  font-size: 0.68rem !important;
  letter-spacing: 0.14em !important;
  background: linear-gradient(90deg, #C060A0, #4898B8, #C060A0);
  background-size: 200% auto;
  -webkit-background-clip: text;
  background-clip: text;
  -webkit-text-fill-color: transparent;
  color: transparent !important;
  animation: rShimmer 3.5s linear infinite;
}
body.retro-mode .csl-title span {
  font-family: 'Noto Sans JP', sans-serif !important;
  color: var(--text) !important;
}
body.retro-mode .cin-item__label {
  font-family: 'Noto Sans JP', sans-serif !important;
  color: #4898B8 !important;
  font-weight: 700 !important;
}
body.retro-mode .cin-item__val {
  font-family: 'Noto Sans JP', sans-serif !important;
  color: var(--text) !important;
}
body.retro-mode .cin-item__note {
  font-family: 'Noto Sans JP', sans-serif !important;
  color: var(--text-muted) !important;
}
body.retro-mode .cin-item { border-bottom-color: rgba(192,96,160,0.2) !important; }
body.retro-mode .contact-split__left { color: var(--text) !important; }

/* ===== フッター ===== */
body.retro-mode .footer { background: #120E24; border-top: 2px solid #C0A030; }
body.retro-mode .footer .logo-egg  { color: #C060A0 !important; }
body.retro-mode .footer .logo-base { color: #C0A030 !important; }
body.retro-mode .footer .logo-lab  { color: #4898B8 !important; }
body.retro-mode .footer__logo-text {
  font-family: 'Rampart One', 'Noto Sans JP', sans-serif !important;
  color: var(--text) !important;
  animation: rPulse 3.5s ease-in-out infinite;
}
body.retro-mode .footer__catch,
body.retro-mode .footer__brand p {
  font-family: 'Noto Sans JP', sans-serif !important;
  color: rgba(230,223,248,0.72) !important;
}
body.retro-mode .footer__catch-en {
  font-family: 'Noto Sans JP', sans-serif !important;
  color: rgba(230,223,248,0.42) !important;
}
body.retro-mode .footer__nav-title,
body.retro-mode .footer__col h4 {
  font-family: 'Noto Sans JP', sans-serif !important;
  font-weight: 700 !important;
  font-size: 0.75rem !important;
  color: #C0A030 !important;
  letter-spacing: 0.1em !important;
}
body.retro-mode .footer__nav ul a,
body.retro-mode .footer__col ul li a {
  font-family: 'Noto Sans JP', sans-serif !important;
  color: rgba(230,223,248,0.62) !important;
}
body.retro-mode .footer__nav ul a:hover,
body.retro-mode .footer__col ul li a:hover { color: #C060A0 !important; }
body.retro-mode .footer__copy {
  font-family: 'Noto Sans JP', sans-serif !important;
  color: rgba(230,223,248,0.32) !important;
}
body.retro-mode .footer__marquee-track { color: rgba(192,160,48,0.3); }
body.retro-mode .footer__bottom p { color: rgba(230,223,248,0.42) !important; }
body.retro-mode .footer__bottom { border-top-color: rgba(192,96,160,0.2) !important; }

/* ===== ミッションブロック (about) ===== */
body.retro-mode .mission-block {
  background: rgba(72,152,184,0.07) !important;
  border-color: rgba(72,152,184,0.3) !important;
}
body.retro-mode .mt--xl {
  font-family: 'Rampart One', 'Noto Sans JP', sans-serif !important;
  color: var(--text) !important;
  display: inline-block;
  animation: rFloat 4s ease-in-out infinite;
}
body.retro-mode .mt--mid {
  font-family: 'Noto Sans JP', sans-serif !important;
  font-weight: 700 !important;
  color: var(--text-muted) !important;
}
body.retro-mode .mt--sm {
  font-family: 'Noto Sans JP', sans-serif !important;
  color: var(--text-light) !important;
}
body.retro-mode .mission-label {
  font-family: 'Noto Sans JP', sans-serif !important;
  font-weight: 700 !important;
  font-size: 0.7rem !important;
  letter-spacing: 0.14em !important;
  color: #4898B8 !important;
}
body.retro-mode .mission-sub {
  font-family: 'Noto Sans JP', sans-serif !important;
  color: var(--text-muted) !important;
}
body.retro-mode .mission-block__bg span { color: rgba(72,152,184,0.05) !important; }

/* ===== バリューグリッド (about) ===== */
body.retro-mode .vgn-card__num {
  font-family: 'Noto Sans JP', sans-serif !important;
  font-weight: 700 !important;
  font-size: 0.62rem !important;
  letter-spacing: 0.12em !important;
  color: #C060A0 !important;
}
body.retro-mode .vgn-card__title {
  font-family: 'Noto Sans JP', sans-serif !important;
  font-weight: 700 !important;
  color: var(--text) !important;
}
body.retro-mode .vgn-card__desc {
  font-family: 'Noto Sans JP', sans-serif !important;
  color: var(--text-muted) !important;
}

/* ===== sub-title ===== */
body.retro-mode .sub-title--huge {
  font-family: 'Rampart One', 'Noto Sans JP', sans-serif !important;
  color: var(--text) !important;
  display: inline-block;
  animation: rEnterUp 0.7s cubic-bezier(0.16,1,0.3,1) both,
             rFloat 5s ease-in-out 0.7s infinite;
}
body.retro-mode .sub-title--en {
  font-family: 'Noto Sans JP', sans-serif !important;
  color: var(--text-muted) !important;
}

/* ===== プロフィール (about) ===== */
body.retro-mode .profile-new__name {
  font-family: 'Noto Sans JP', sans-serif !important;
  font-weight: 700 !important;
  color: var(--text) !important;
}
body.retro-mode .profile-new__role {
  font-family: 'Noto Sans JP', sans-serif !important;
  color: var(--text-muted) !important;
}
body.retro-mode .profile-new__bio p {
  font-family: 'Noto Sans JP', sans-serif !important;
  color: var(--text-muted) !important;
}
body.retro-mode .profile-new__skill {
  font-family: 'Noto Sans JP', sans-serif !important;
  border-color: rgba(192,96,160,0.4) !important;
  color: var(--text-muted) !important;
}
body.retro-mode .profile-new__skill:hover {
  border-color: #C060A0 !important;
  color: var(--text) !important;
}

/* ===== 会社情報テーブル (about) ===== */
body.retro-mode .company-table-wrap { background: transparent !important; }
body.retro-mode .company-table th {
  font-family: 'Noto Sans JP', sans-serif !important;
  color: #4898B8 !important;
  border-bottom-color: rgba(72,152,184,0.2) !important;
}
body.retro-mode .company-table td {
  font-family: 'Noto Sans JP', sans-serif !important;
  color: var(--text) !important;
  border-bottom-color: rgba(192,96,160,0.15) !important;
}
body.retro-mode .company-table tr:hover { background: rgba(192,96,160,0.05) !important; }

/* ===== Works ページ ===== */
body.retro-mode .wnn__label {
  font-family: 'Noto Sans JP', sans-serif !important;
  font-weight: 700 !important;
  font-size: 0.68rem !important;
  letter-spacing: 0.14em !important;
  color: #C060A0 !important;
}
body.retro-mode .wnn__text {
  font-family: 'Noto Sans JP', sans-serif !important;
  color: var(--text-muted) !important;
}
body.retro-mode .wnn__btn {
  font-family: 'Noto Sans JP', sans-serif !important;
  border-color: rgba(192,96,160,0.5) !important;
  color: #C060A0 !important;
}
body.retro-mode .wnn__btn:hover {
  background: #C060A0 !important;
  color: #fff !important;
}
body.retro-mode .works-filter__btn,
body.retro-mode [class*="filter-btn"] {
  font-family: 'Noto Sans JP', sans-serif !important;
  border-color: rgba(72,152,184,0.4) !important;
  color: var(--text-muted) !important;
}
body.retro-mode .works-filter__btn.active,
body.retro-mode [class*="filter-btn"].active {
  background: #4898B8 !important;
  color: #14102C !important;
  border-color: #4898B8 !important;
}
body.retro-mode .work-item__cat {
  font-family: 'Noto Sans JP', sans-serif !important;
  font-weight: 700 !important;
  font-size: 0.6rem !important;
  color: #C060A0 !important;
}
body.retro-mode .work-item__title {
  font-family: 'Noto Sans JP', sans-serif !important;
  color: var(--text) !important;
}
body.retro-mode .work-item__tags span {
  font-family: 'Noto Sans JP', sans-serif !important;
  color: var(--text-muted) !important;
  border-color: rgba(192,96,160,0.3) !important;
}

/* ===== ローディング画面 ===== */
body.retro-mode .loading-screen { background: #161328 !important; }
body.retro-mode .loading-egg {
  filter: drop-shadow(0 0 14px #C060A0) saturate(1.1) brightness(1.05);
}
body.retro-mode .loading-logo-text {
  font-family: 'Rampart One', 'Noto Sans JP', sans-serif !important;
  color: var(--text) !important;
  animation: rGlowPink 2.5s ease-in-out infinite;
}
body.retro-mode .loading-bar {
  background: linear-gradient(90deg, #C060A0 0%, #C0A030 50%, #4898B8 100%) !important;
}
body.retro-mode .loading-bar-wrap { background: rgba(192,96,160,0.18) !important; }

/* ===== プログレスバー ===== */
body.retro-mode .scroll-progress {
  background: linear-gradient(90deg, #C060A0, #C0A030, #4898B8, #3A9080) !important;
}

/* ===== 釣り人バッジ ===== */
body.retro-mode .fish-person-wrap::before {
  content: '★ POP MODE ★';
  position: absolute;
  top: -24px;
  left: 50%;
  transform: translateX(-50%);
  font-family: 'Press Start 2P', cursive;
  font-size: 0.38rem;
  letter-spacing: 0.04em;
  color: #C060A0;
  white-space: nowrap;
  background: rgba(22,19,40,0.92);
  padding: 3px 7px;
  border: 1.5px solid #C060A0;
  animation: none;
}

/* ===== 釣り竿・釣り人: 暗い背景で見えるように ===== */
body.retro-mode .fish-rod {
  filter: invert(0.92) sepia(0.3) hue-rotate(240deg) saturate(1.5) brightness(1.2) !important;
}
body.retro-mode .fish-angler {
  filter: invert(0.85) brightness(1.1) !important;
}

/* ===== デコ数字・大テキスト ===== */
body.retro-mode .editorial__big-num,
body.retro-mode .csl-decoration,
body.retro-mode .vgn-card__bg,
body.retro-mode .mbb--1,
body.retro-mode .mbb--2 {
  color: rgba(192,96,160,0.06) !important;
  animation: rFloatB 16s ease-in-out infinite;
}

/* ===== モバイル: アニメーション軽量化 ===== */
@media (max-width: 768px) {
  body.retro-mode::before { opacity: 0.3; animation: none; }
  body.retro-mode::after { display: none; }
  body.retro-mode .citypop-img--side { display: none; }
  body.retro-mode .citypop-img--top {
    max-width: 58%; height: 60%;
    opacity: 0.55;
    animation: rEnterFade 1s ease-out both;
  }
  body.retro-mode .ht--ja-huge,
  body.retro-mode .ht--en-large,
  body.retro-mode .ht--ja-xl,
  body.retro-mode .fq--huge,
  body.retro-mode .fq--xl,
  body.retro-mode .sub-title--huge,
  body.retro-mode .mt--xl { animation: rEnterUp 0.6s ease-out both; }
  body.retro-mode .sub-card { animation: rEnterFade 0.4s ease-out both; }
  body.retro-mode .hero__meta-tag,
  body.retro-mode .hero__meta-place,
  body.retro-mode .hero__meta-num { font-size: 0.6rem !important; }
}
