/* ============================================================
   I'm Hopping — TOP page 別バージョン(モノクロ×蛍光グリーン)
   参考トーン: エディトリアル/巨大セリフタイポ/余白主体
   ============================================================ */

:root {
  /* カラートークン(本テストは意図的にブランド外パレット) */
  --ink: #0a0a0a;          /* 墨(メインテキスト・ダーク背景) */
  --paper: #f7f7f5;        /* 紙(ベース背景) */
  --white: #ffffff;
  --gray-100: #ececea;     /* 罫線・面 */
  --gray-300: #c9c9c6;     /* プレースホルダ枠 */
  --gray-500: #8a8a86;     /* 補助テキスト */
  --gray-700: #4a4a47;
  --neon: #c8ff00;         /* 蛍光グリーン(1画面1役割の差し色) */

  --font-jp: "Noto Sans JP", "游ゴシック", "Yu Gothic", "Helvetica Neue", sans-serif;
  --font-en: "Chonburi", "Didot", "Bodoni MT", serif;

  --pad-x: clamp(20px, 5vw, 80px);
}

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

html { scroll-behavior: smooth; }

body {
  font-family: var(--font-jp);
  font-weight: 400;
  font-size: 16px;
  line-height: 1.9;
  color: var(--ink);
  background: var(--paper);
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}

::selection { background: var(--neon); color: var(--ink); }

a { color: inherit; text-decoration: none; }
ol, ul { list-style: none; }
h1, h2, h3, h4 { font-weight: 700; line-height: 1.5; }

/* ---- 蛍光マーカー(黒文字の下に敷く) ---- */
mark {
  background: linear-gradient(transparent 62%, var(--neon) 62%, var(--neon) 94%, transparent 94%);
  color: inherit;
  padding: 0 0.1em;
}
.mark-dark {
  background: var(--neon);
  color: var(--ink);
  padding: 0 0.12em;
}

/* ============================================================
   ヘッダー
   ============================================================ */
.site-header {
  position: fixed;
  inset: 0 0 auto 0;
  z-index: 100;
  display: flex;
  align-items: center;
  gap: 40px;
  padding: 18px var(--pad-x);
  transition: background 0.4s ease, box-shadow 0.4s ease;
}
.site-header.is-scrolled {
  background: rgba(247, 247, 245, 0.92);
  backdrop-filter: blur(12px);
  box-shadow: 0 1px 0 var(--gray-100);
}
.header-logo { display: block; }
.header-logo img { display: block; height: 26px; width: auto; }
.header-nav {
  display: flex;
  gap: 38px;
  margin-left: auto;
}
.header-nav a {
  font-family: var(--font-en);
  font-size: 14px;
  letter-spacing: 0.04em;
  position: relative;
  padding-bottom: 2px;
}
.header-nav a::after {
  content: "";
  position: absolute;
  left: 0; bottom: 0;
  width: 100%; height: 2px;
  background: var(--neon);
  transform: scaleX(0);
  transform-origin: left;
  transition: transform 0.3s ease;
}
.header-nav a:hover::after { transform: scaleX(1); }
.header-cta {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  background: var(--ink);
  color: var(--white);
  font-size: 13px;
  font-weight: 500;
  letter-spacing: 0.08em;
  padding: 10px 22px;
  border-radius: 999px;
  transition: background 0.3s ease, color 0.3s ease;
}
.cta-dot {
  width: 7px; height: 7px;
  border-radius: 50%;
  background: var(--neon);
}
.header-cta:hover { background: var(--neon); color: var(--ink); }
.header-cta:hover .cta-dot { background: var(--ink); }

/* ============================================================
   ヒーロー
   ============================================================ */
.hero {
  position: relative;
  min-height: 100svh;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  padding: 110px var(--pad-x) 60px;
  background:
    radial-gradient(120% 80% at 85% 90%, #e8e8e4 0%, transparent 55%),
    var(--paper);
  overflow: hidden;
}

/* ---- 背景モーフィングシェイプ(画面からはみ出す装飾) ---- */
.hero-morph {
  position: absolute;
  top: -18vmin;
  right: -22vmin;
  z-index: 0;
  display: flex;
  justify-content: center;
  align-items: center;
  filter: drop-shadow(0 0 90px rgba(200, 255, 0, 0.4));
  pointer-events: none;
}
.holo-shape {
  width: 120vmin;
  height: 120vmin;
  background: linear-gradient(135deg, #eaeae5 0%, #dededa 100%);
  /* 静止時(reduced-motion / 検証用noanim)も六角形を保つ基本形 */
  clip-path: polygon(50% 0%, 100% 25%, 100% 75%, 50% 100%, 0% 75%, 0% 25%);
  animation: holo-morph 12s cubic-bezier(0.4, 0, 0.2, 1) infinite;
}
@keyframes holo-morph {
  0%, 100% { clip-path: polygon(50% 0%, 100% 25%, 100% 75%, 50% 100%, 0% 75%, 0% 25%); transform: rotate(0deg); }
  25%      { clip-path: polygon(50% 0%, 100% 50%, 50% 100%, 0% 50%, 25% 25%, 25% 25%); transform: rotate(90deg); }
  50%      { clip-path: polygon(0% 0%, 100% 0%, 100% 100%, 0% 100%, 0% 100%, 0% 0%); transform: rotate(180deg); }
  75%      { clip-path: polygon(50% 0%, 100% 100%, 0% 100%, 0% 100%, 0% 100%, 50% 0%); transform: rotate(270deg); }
}
@media (prefers-reduced-motion: reduce) {
  .holo-shape { animation: none; }
}

.hero-type {
  position: relative;
  z-index: 1;
  font-family: var(--font-en);
  font-weight: 400;
  line-height: 1.08;
  letter-spacing: -0.005em;
  color: var(--ink);
  user-select: none;
}
.hero-line {
  display: block;
  font-size: clamp(38px, 9.4vw, 164px);
  animation: heroRise 1.1s cubic-bezier(0.19, 1, 0.22, 1) both;
}
.hero-line2 {
  font-style: italic;
  margin-left: 0.6em;
  animation-delay: 0.15s;
}
.hero-line3 {
  margin-left: 1.2em;
  animation-delay: 0.3s;
}
.hero-kana {
  display: block;
  margin-top: 6px;
  font-family: var(--font-jp);
  font-style: normal;
  font-size: 11px;
  font-weight: 400;
  letter-spacing: 0.4em;
  color: var(--gray-500);
  white-space: nowrap;
}
@keyframes heroRise {
  from { opacity: 0; transform: translateY(0.35em); }
  to   { opacity: 1; transform: translateY(0); }
}
.hero-foot {
  position: relative;
  z-index: 1;
  display: flex;
  align-items: flex-end;
  justify-content: space-between;
  gap: 40px;
  margin-top: 60px;
  animation: heroRise 1.1s cubic-bezier(0.19, 1, 0.22, 1) 0.4s both;
}
.hero-tagline-en {
  font-family: var(--font-en);
  font-size: clamp(17px, 1.8vw, 22px);
  font-weight: 700;
  line-height: 1.9;
  letter-spacing: 0.1em;
  color: var(--ink);
}
.hero-tagline-en em { font-style: italic; }
.hero-copy {
  max-width: 560px;
  text-align: left;
  /* 右端のスクロール誘導と重ならない逃げ幅 */
  margin-right: clamp(48px, 5vw, 90px);
}
.hero-copy .hero-catch {
  font-weight: 700;
  line-height: 1.5;
}
.hero-copy .hero-catch {
  font-size: clamp(28px, 3.5vw, 48px);
  line-height: 1.45;
  letter-spacing: 0.04em;
  margin-bottom: 20px;
}
.hero-copy p {
  font-size: 14px;
  color: var(--gray-700);
  line-height: 2.1;
}
.hero-scroll {
  position: absolute;
  right: var(--pad-x);
  bottom: 24px;
  display: flex;
  align-items: center;
  gap: 10px;
  font-family: var(--font-en);
  font-size: 11px;
  letter-spacing: 0.3em;
  color: var(--gray-500);
  writing-mode: vertical-rl;
}
.hero-scroll span {
  width: 1px; height: 96px;
  background: var(--ink);
  position: relative;
  overflow: hidden;
}
.hero-scroll span::after {
  content: "";
  position: absolute;
  inset: 0;
  background: var(--neon);
  animation: scrollLine 2s ease-in-out infinite;
}
@keyframes scrollLine {
  0%   { transform: translateY(-100%); }
  60%  { transform: translateY(100%); }
  100% { transform: translateY(100%); }
}

/* ============================================================
   セクション共通
   ============================================================ */
.section { padding: clamp(110px, 13vw, 180px) var(--pad-x); }

/* 英語セクション名を主役にする(参考サイトの型階層:EN巨大 × JP小さめ) */
.section-label {
  font-family: var(--font-en);
  font-size: clamp(44px, 6.2vw, 88px);
  line-height: 1.05;
  letter-spacing: -0.01em;
  color: var(--ink);
  margin-bottom: 22px;
}
.section-label::after {
  content: ".";
  color: var(--neon);
}
.section-head h2 {
  font-size: clamp(20px, 2.3vw, 30px);
  line-height: 1.6;
  letter-spacing: 0.03em;
  margin-bottom: 24px;
}
.section-lead {
  max-width: 720px;
  font-size: 15px;
  color: var(--gray-700);
}

/* ---- スクロール出現 ---- */
.reveal {
  opacity: 0;
  transform: translateY(28px);
  transition: opacity 0.9s cubic-bezier(0.19, 1, 0.22, 1), transform 0.9s cubic-bezier(0.19, 1, 0.22, 1);
}
.reveal.is-visible { opacity: 1; transform: translateY(0); }

/* ---- 画像プレースホルダ(グレーボックス+指示テキスト) ---- */
.img-placeholder {
  position: relative;
  width: 100%;
  aspect-ratio: 4 / 3;
  background: var(--gray-100);
  border: 1px dashed var(--gray-300);
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 28px 24px 24px;
  font-size: 12px;
  line-height: 1.8;
  color: var(--gray-500);
  text-align: left;
  overflow: hidden;
}
.img-placeholder::before {
  content: attr(data-label);
  position: absolute;
  top: 0; left: 0;
  background: var(--ink);
  color: var(--neon);
  font-family: var(--font-en);
  font-size: 10px;
  letter-spacing: 0.2em;
  padding: 4px 10px;
}
.img-placeholder-tall { aspect-ratio: 3 / 4; }
.img-placeholder-portrait { aspect-ratio: 3 / 4; }

/* ============================================================
   About:6つの伝わらない
   ============================================================ */
.problem-list {
  margin-top: 90px;
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  border-top: 1px solid var(--ink);
}
.problem-list li {
  padding: 56px 48px 60px 0;
  border-bottom: 1px solid var(--gray-300);
  position: relative;
}
.problem-list li:nth-child(odd) { border-right: 1px solid var(--gray-300); }
.problem-list li:nth-child(even) { padding-left: 48px; padding-right: 0; }
.problem-num {
  font-family: var(--font-en);
  font-style: italic;
  font-size: clamp(40px, 4.5vw, 64px);
  font-weight: 400;
  line-height: 1;
  color: var(--ink);
  display: inline-block;
  margin-bottom: 18px;
  position: relative;
}
.problem-num::after {
  content: "";
  position: absolute;
  left: 0.06em; bottom: -0.08em;
  width: 1.6em; height: 0.18em;
  background: var(--neon);
  z-index: -1;
}
.problem-list h3 {
  font-size: 18px;
  margin-bottom: 14px;
  letter-spacing: 0.02em;
}
.problem-list p {
  font-size: 14px;
  color: var(--gray-700);
}

/* ============================================================
   言語設計パートナー(ダーク)
   ============================================================ */
.partner {
  background: var(--ink);
  color: var(--white);
  border-radius: clamp(24px, 3vw, 48px);
  margin: 0 clamp(8px, 1.2vw, 20px);
}
.partner .section-label { color: var(--white); }
.partner .section-lead { color: #b9b9b5; }
.pillar-grid {
  margin-top: 96px;
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 0;
  border-top: 1px solid #2e2e2c;
}
.pillar {
  padding: 44px 36px 52px;
  border-right: 1px solid #2e2e2c;
  transition: background 0.4s ease;
}
.pillar:first-child { padding-left: 0; }
.pillar:last-child { border-right: none; }
.pillar:hover { background: #111110; }
.pillar-en {
  font-family: var(--font-en);
  font-style: italic;
  font-size: 30px;
  font-weight: 400;
  color: var(--neon);
  margin-bottom: 22px;
}
.pillar h3 {
  font-size: 17px;
  margin-bottom: 16px;
  line-height: 1.7;
}
.pillar p {
  font-size: 13.5px;
  color: #a8a8a4;
  line-height: 2;
}
.partner-why {
  margin-top: 110px;
  max-width: 780px;
  padding-left: 28px;
  border-left: 2px solid var(--neon);
}
.partner-why h3 { font-size: 20px; margin-bottom: 20px; }
.partner-why p {
  font-size: 14.5px;
  color: #b9b9b5;
  margin-bottom: 16px;
}

/* ============================================================
   Service
   ============================================================ */
.service-rows { margin-top: 90px; border-top: 1px solid var(--ink); }
.service-row {
  display: grid;
  grid-template-columns: 220px 1fr 180px;
  gap: 48px;
  padding: 72px 0;
  border-bottom: 1px solid var(--gray-300);
}
.service-num {
  font-family: var(--font-en);
  font-style: italic;
  font-size: 56px;
  font-weight: 400;
  line-height: 1;
  display: block;
}
.service-en {
  font-family: var(--font-en);
  font-size: 13px;
  letter-spacing: 0.14em;
  color: var(--gray-500);
  margin-top: 14px;
}
.service-row-body h3 {
  font-size: 24px;
  letter-spacing: 0.02em;
  margin-bottom: 18px;
}
.service-row-body h3 span {
  display: block;
  font-size: 13px;
  font-weight: 500;
  color: var(--gray-500);
  margin-top: 6px;
  letter-spacing: 0.05em;
}
.service-row-body > p {
  font-size: 14.5px;
  color: var(--gray-700);
  margin-bottom: 14px;
}
.service-domains {
  margin: 4px 0 18px;
  font-size: 13.5px;
  color: var(--gray-700);
}
.service-domains li {
  padding: 8px 0 8px 20px;
  position: relative;
  border-bottom: 1px dashed var(--gray-100);
}
.service-domains li::before {
  content: "";
  position: absolute;
  left: 2px; top: 1.05em;
  width: 8px; height: 8px;
  background: var(--neon);
}
.service-for {
  font-size: 13px !important;
  color: var(--gray-500) !important;
  background: var(--gray-100);
  padding: 12px 16px;
}
.service-price {
  font-size: 14px;
  font-weight: 500;
  color: var(--gray-500);
  font-feature-settings: "palt";
  letter-spacing: 0.02em;
  text-align: right;
  white-space: nowrap;
}
.service-price span {
  display: inline;
  font-size: 12px;
  font-weight: 400;
  letter-spacing: 0.06em;
  color: var(--gray-500);
  margin-right: 8px;
}
.service-price span::after { content: ":"; }

/* ---- 3つのデザイン分析 ---- */
.diagnosis { margin-top: 140px; }
.diagnosis-title {
  font-size: clamp(22px, 2.6vw, 32px);
  margin-bottom: 44px;
}
.diagnosis-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
}
.diagnosis-card {
  background: var(--white);
  border: 1px solid var(--gray-100);
  padding: 36px 30px 40px;
  position: relative;
  transition: transform 0.4s cubic-bezier(0.19, 1, 0.22, 1), box-shadow 0.4s ease;
}
.diagnosis-card::before {
  content: "";
  position: absolute;
  top: 0; left: 0;
  width: 100%; height: 3px;
  background: var(--ink);
  transition: background 0.3s ease;
}
.diagnosis-card:hover { transform: translateY(-6px); box-shadow: 0 20px 40px rgba(10, 10, 10, 0.08); }
.diagnosis-card:hover::before { background: var(--neon); }
.diagnosis-en {
  font-family: var(--font-en);
  font-style: italic;
  font-size: 13px;
  letter-spacing: 0.16em;
  color: var(--gray-500);
  margin-bottom: 16px;
}
.diagnosis-card h4 { font-size: 18px; margin-bottom: 14px; }
.diagnosis-card p { font-size: 13.5px; color: var(--gray-700); }

/* ============================================================
   Works
   ============================================================ */
.works { background: var(--white); }
.works-grid {
  margin-top: 80px;
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 40px 28px;
}
.work-item figcaption, .work-item .work-caption {
  font-size: 13px;
  font-weight: 500;
  margin-top: 12px;
  letter-spacing: 0.03em;
  position: relative;
  padding-left: 16px;
}
.work-item figcaption::before, .work-item .work-caption::before {
  content: "";
  position: absolute;
  left: 0; top: 0.5em;
  width: 8px; height: 8px;
  background: var(--neon);
}
.work-item .img-placeholder { font-size: 11px; align-items: flex-end; }

/* ============================================================
   AI Search
   ============================================================ */
.ai-search { background: var(--paper); }
.ai-search-body {
  margin-top: 80px;
  display: grid;
  grid-template-columns: 1.5fr 1fr;
  gap: clamp(40px, 6vw, 100px);
  align-items: start;
}
.ai-search-text h3 {
  font-size: 19px;
  margin: 44px 0 18px;
  padding-left: 16px;
  border-left: 3px solid var(--ink);
}
.ai-search-text h3:first-child { margin-top: 0; }
.ai-search-text p {
  font-size: 14.5px;
  color: var(--gray-700);
  margin-bottom: 14px;
}
.ai-search-key {
  font-size: 17px !important;
  font-weight: 700;
  color: var(--ink) !important;
  margin: 22px 0 !important;
}
.ai-search-visual { position: sticky; top: 110px; }
/* AI Search 内の AI Creative Prototype サムネイル列(2026-09-07) */
.ai-proto { display: grid; grid-template-columns: repeat(5, minmax(0, 1fr)); gap: 8px; margin-top: 22px; }
.ai-proto a { display: block; aspect-ratio: 5 / 3; overflow: hidden; border: 1px solid var(--gray-300); background: var(--gray-100); }
.ai-proto img { width: 100%; height: 100%; object-fit: cover; object-position: top; transition: transform .5s cubic-bezier(.2, .7, .2, 1); }
.ai-proto a:hover img { transform: scale(1.05); }
@media (max-width: 860px) { .ai-proto { grid-template-columns: repeat(5, minmax(0, 1fr)); gap: 6px; } }

/* ============================================================
   Process
   ============================================================ */
.process { background: var(--white); }
.process-list {
  margin-top: 90px;
  counter-reset: step;
  position: relative;
  max-width: 860px;
}
.process-list::before {
  content: "";
  position: absolute;
  left: 7px; top: 10px; bottom: 10px;
  width: 1px;
  background: var(--gray-300);
}
.process-list li {
  position: relative;
  padding: 0 0 72px 56px;
}
.process-list li:last-child { padding-bottom: 0; }
.process-list li::before {
  content: "";
  position: absolute;
  left: 0; top: 8px;
  width: 15px; height: 15px;
  background: var(--neon);
  border: 2px solid var(--ink);
  border-radius: 50%;
}
.process-num {
  font-family: var(--font-en);
  font-style: italic;
  font-size: 15px;
  letter-spacing: 0.16em;
  color: var(--gray-500);
  display: block;
  margin-bottom: 10px;
}
.process-list h3 { font-size: 19px; margin-bottom: 12px; }
.process-list p { font-size: 14.5px; color: var(--gray-700); max-width: 640px; }
/* Role(TOP):ここで決まること + 導線 */
.role-decide { display: grid; grid-template-columns: 120px minmax(0, 1fr); gap: 6px 16px; margin-top: 14px; max-width: 640px; }
.role-decide dt { font-size: 12px; font-weight: 700; letter-spacing: .1em; color: var(--gray-500); padding-top: 3px; }
.role-decide dd { font-size: 14.5px; color: var(--ink); margin: 0; }
.role-cta { margin-top: 56px; }
@media (max-width: 760px) { .role-decide { grid-template-columns: 1fr; gap: 2px 0; } }

/* ============================================================
   代表メッセージ
   ============================================================ */
.message { background: var(--paper); }
.message-inner {
  display: grid;
  grid-template-columns: 1fr 1.4fr;
  gap: clamp(40px, 7vw, 110px);
  align-items: start;
}
.message-visual { position: sticky; top: 110px; }
.message-text h2 {
  font-size: clamp(20px, 2.4vw, 30px);
  line-height: 1.6;
  margin-bottom: 32px;
}
.message-text > p:not(.section-label) {
  font-size: 14.5px;
  color: var(--gray-700);
  margin-bottom: 16px;
}
.message-text h3 {
  font-size: 19px;
  margin: 44px 0 18px;
  padding-left: 16px;
  border-left: 3px solid var(--neon);
}
.message-sign {
  margin-top: 40px !important;
  font-size: 13px !important;
  letter-spacing: 0.1em;
}
.message-sign span {
  display: block;
  font-size: 22px;
  font-weight: 700;
  margin-top: 4px;
  letter-spacing: 0.16em;
}

/* ============================================================
   Blog
   ============================================================ */
.blog { background: var(--white); }
.blog-list { margin-top: 80px; border-top: 1px solid var(--ink); }
.blog-item {
  display: flex;
  align-items: baseline;
  gap: 36px;
  padding: 36px 8px;
  border-bottom: 1px solid var(--gray-300);
  transition: background 0.3s ease, padding-left 0.3s ease;
}
.blog-item:hover { background: var(--paper); padding-left: 20px; }
.blog-item time {
  font-family: var(--font-en);
  font-size: 13px;
  letter-spacing: 0.1em;
  color: var(--gray-500);
  flex-shrink: 0;
}
.blog-item h3 { font-size: 16px; font-weight: 500; flex: 1; }
.blog-arrow {
  font-size: 18px;
  transition: transform 0.3s ease, color 0.3s ease;
}
.blog-item:hover .blog-arrow { transform: translateX(8px); color: var(--gray-500); }

/* ============================================================
   Contact(ダーク)
   ============================================================ */
.contact {
  background: var(--ink);
  color: var(--white);
}
.contact-inner { max-width: 860px; }
.contact .section-label {
  color: var(--white);
  font-size: clamp(64px, 11vw, 168px);
  margin-bottom: 40px;
}
.contact-title {
  font-size: clamp(26px, 3.4vw, 46px);
  line-height: 1.45;
  margin-bottom: 32px;
}
.contact-lead {
  font-size: 15px;
  color: #b9b9b5;
  margin-bottom: 56px;
  max-width: 680px;
}
.contact-points h3 {
  font-size: 17px;
  margin-bottom: 24px;
  color: var(--neon);
}
.contact-points ol { margin-bottom: 64px; }
.contact-points li {
  display: flex;
  align-items: baseline;
  gap: 18px;
  font-size: 14.5px;
  color: #d5d5d1;
  padding: 16px 0;
  border-bottom: 1px solid #2e2e2c;
}
.contact-points li span {
  font-family: var(--font-en);
  font-style: italic;
  font-size: 24px;
  color: var(--white);
  flex-shrink: 0;
}
.contact-cta {
  display: inline-flex;
  align-items: center;
  gap: 16px;
  background: var(--neon);
  color: var(--ink);
  font-size: 16px;
  font-weight: 700;
  letter-spacing: 0.06em;
  padding: 22px 48px;
  border-radius: 999px;
  transition: gap 0.3s ease, transform 0.3s ease;
}
.contact-cta:hover { gap: 28px; transform: translateY(-2px); }

/* ============================================================
   フッター
   ============================================================ */
.site-footer {
  background: var(--ink);
  color: var(--gray-500);
  padding: 0 var(--pad-x) 40px;
  display: flex;
  align-items: center;
  gap: 36px;
  border-top: 1px solid #2e2e2c;
  padding-top: 32px;
}
.footer-logo { display: block; }
.footer-logo img { display: block; height: 22px; width: auto; }
.footer-nav { display: flex; gap: 24px; font-size: 13px; }
.footer-nav a { transition: color 0.3s ease; }
.footer-nav a:hover { color: var(--neon); }
.footer-copy {
  margin-left: auto;
  font-family: var(--font-en);
  font-size: 12px;
  letter-spacing: 0.06em;
}

/* ============================================================
   レスポンシブ
   ============================================================ */
@media (max-width: 1024px) {
  .works-grid { grid-template-columns: repeat(2, 1fr); }
  .service-row { grid-template-columns: 150px 1fr; }
  .service-price { grid-column: 2; text-align: left; margin-top: 8px; }
  .pillar-grid { grid-template-columns: 1fr; border-top: none; }
  .pillar {
    border-right: none;
    border-top: 1px solid #2e2e2c;
    padding-left: 0;
    padding-right: 0;
  }
}

@media (max-width: 768px) {
  .header-nav { display: none; }
  .hero-foot { flex-direction: column; align-items: flex-start; gap: 28px; }
  .hero-scroll { display: none; }
  .problem-list { grid-template-columns: 1fr; }
  .problem-list li,
  .problem-list li:nth-child(even) { padding: 36px 0 40px; border-right: none !important; }
  .diagnosis-grid { grid-template-columns: 1fr; }
  .service-row { grid-template-columns: 1fr; gap: 20px; }
  .service-price { grid-column: 1; }
  .ai-search-body { grid-template-columns: 1fr; }
  .ai-search-visual { position: static; }
  .message-inner { grid-template-columns: 1fr; }
  .message-visual { position: static; max-width: 420px; }
  .blog-item { flex-wrap: wrap; gap: 12px; }
  .site-footer { flex-wrap: wrap; }
  .footer-copy { margin-left: 0; width: 100%; }
}

/* ============================================================
   Chonburi 対応(単一ウェイト・イタリック非搭載のため
   疑似斜体・疑似ボールドを無効化する)
   ============================================================ */
.hero-line2,
.hero-tagline-en,
.hero-tagline-en em,
.section-label,
.pillar-en,
.problem-num,
.service-num,
.diagnosis-en,
.process-num,
.diagnosis-title,
.contact-points li span {
  font-style: normal;
}
.hero-tagline-en {
  font-weight: 400;
}

/* ============================================================
   検証用:?noanim フラグで全アニメーションを止めて即表示
   ============================================================ */
.no-anim .reveal { opacity: 1; transform: none; transition: none; }
.no-anim .hero-line,
.no-anim .hero-foot { animation: none; opacity: 1; transform: none; }
.no-anim .holo-shape { animation: none; }
/* 検証用:縦長ビューポートでの全景キャプチャ時に 100svh の膨張を防ぐ */
.no-anim .hero { min-height: 860px; }

/* ============================================================
   下層ページ共通
   ============================================================ */
.page-hero {
  position: relative;
  padding: 200px var(--pad-x) 90px;
  overflow: hidden;
}
.page-eyebrow {
  display: flex;
  align-items: center;
  gap: 12px;
  font-family: var(--font-en);
  font-size: 13px;
  letter-spacing: 0.18em;
  color: var(--gray-500);
  margin-bottom: 20px;
}
.page-eyebrow::before {
  content: "";
  width: 30px; height: 2px;
  background: var(--neon);
}
.page-title {
  font-family: var(--font-en);
  font-weight: 400;
  font-size: clamp(64px, 12vw, 200px);
  line-height: 1;
  letter-spacing: -0.01em;
}
.page-title::after { content: "."; color: var(--neon); }
.page-sub {
  font-size: clamp(20px, 2.4vw, 32px);
  font-weight: 700;
  line-height: 1.7;
  letter-spacing: 0.04em;
  margin-top: 28px;
  max-width: 980px;
}
.page-lead {
  max-width: 680px;
  margin-top: 24px;
  font-size: 15px;
  color: var(--gray-700);
}
.header-nav a[aria-current="page"]::after { transform: scaleX(1); }

/* 本文ブロック(About 用) */
.prose { max-width: 760px; }
.prose h2 {
  font-size: clamp(20px, 2.3vw, 30px);
  line-height: 1.6;
  margin-bottom: 24px;
}
.prose h3 {
  font-size: 19px;
  margin: 44px 0 16px;
  padding-left: 16px;
  border-left: 3px solid var(--neon);
}
.prose p {
  font-size: 14.5px;
  color: var(--gray-700);
  margin-bottom: 16px;
}

/* 番号つき3項目(バリュー / 3層) */
.num-list { margin-top: 80px; border-top: 1px solid var(--gray-300); }
.num-item {
  display: grid;
  grid-template-columns: 160px 1fr;
  gap: 40px;
  padding: 52px 0;
  border-bottom: 1px solid var(--gray-300);
}
.num-item .num {
  font-family: var(--font-en);
  font-size: 52px;
  line-height: 1;
}
.num-item h3 { font-size: 19px; margin-bottom: 14px; }
.num-item p { font-size: 14.5px; color: var(--gray-700); margin-bottom: 12px; max-width: 680px; }
.partner .num-list { border-top-color: #2e2e2c; }
.partner .num-item { border-bottom-color: #2e2e2c; }
.partner .num-item .num { color: var(--neon); }
.partner .num-item p { color: #b9b9b5; }

/* 会社概要テーブル */
.company-table { margin-top: 70px; max-width: 860px; border-top: 1px solid var(--ink); }
.company-table > div {
  display: grid;
  grid-template-columns: 220px 1fr;
  gap: 24px;
  padding: 22px 8px;
  border-bottom: 1px solid var(--gray-300);
  font-size: 14.5px;
}
.company-table dt { color: var(--gray-500); font-weight: 500; }

/* Works 一覧ページ */
.works-page-grid {
  margin-top: 90px;
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 72px 48px;
}
.works-page-grid .img-placeholder { aspect-ratio: 16 / 10; }
.work-biz {
  font-family: var(--font-jp);
  font-size: 12px;
  letter-spacing: 0.06em;
  color: var(--gray-500);
  margin: 16px 0 6px;
}
.work-title { font-size: 20px; letter-spacing: 0.02em; }
.work-cat {
  font-size: 13px;
  color: var(--gray-700);
  margin-top: 6px;
  padding-left: 16px;
  position: relative;
}
.work-cat::before {
  content: "";
  position: absolute;
  left: 0; top: 0.55em;
  width: 8px; height: 8px;
  background: var(--neon);
}

/* Knowledge 記事一覧 */
.article-list { margin-top: 90px; border-top: 1px solid var(--ink); }
.article-item {
  display: grid;
  grid-template-columns: 170px 1fr auto;
  gap: 36px;
  align-items: start;
  padding: 44px 8px;
  border-bottom: 1px solid var(--gray-300);
  transition: background 0.3s ease, padding-left 0.3s ease;
}
.article-item:hover { background: var(--white); padding-left: 20px; }
.article-meta time {
  display: block;
  font-family: var(--font-en);
  font-size: 14px;
  letter-spacing: 0.08em;
}
.article-cat { font-size: 12px; color: var(--gray-500); margin-top: 6px; }
.article-catch { font-size: 12.5px; color: var(--gray-500); margin-bottom: 10px; }
.article-item h3 { font-size: 17px; line-height: 1.7; }
.article-desc { font-size: 13.5px; color: var(--gray-700); margin-top: 10px; max-width: 760px; }
.article-arrow { font-size: 18px; align-self: center; transition: transform 0.3s ease; }
.article-item:hover .article-arrow { transform: translateX(8px); }

/* Services 詳細 */
.service-meta {
  display: flex;
  flex-wrap: wrap;
  gap: 10px 22px;
  font-size: 12.5px;
  color: var(--gray-500);
  margin-bottom: 16px;
}
.deliverables {
  background: var(--white);
  border: 1px solid var(--gray-100);
  padding: 22px 26px;
  margin-top: 20px;
  max-width: 640px;
}
.deliverables h4 {
  font-size: 13px;
  letter-spacing: 0.06em;
  margin-bottom: 10px;
}
.deliverables li {
  font-size: 13.5px;
  color: var(--gray-700);
  padding: 5px 0 5px 18px;
  position: relative;
}
.deliverables li::before {
  content: "";
  position: absolute;
  left: 0; top: 0.85em;
  width: 8px; height: 8px;
  background: var(--neon);
}
.text-link {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  margin-top: 22px;
  font-size: 14px;
  font-weight: 700;
  border-bottom: 2px solid var(--neon);
  padding-bottom: 3px;
  transition: gap 0.3s ease;
}
.text-link:hover { gap: 18px; }
.diagnosis-price {
  font-size: 13px;
  color: var(--gray-500);
  margin-top: 14px;
  padding-top: 12px;
  border-top: 1px dashed var(--gray-100);
}

/* FAQ */
.faq-list { margin-top: 80px; max-width: 900px; border-top: 1px solid var(--ink); }
.faq-list dt {
  display: flex;
  gap: 16px;
  font-size: 16px;
  font-weight: 700;
  padding: 30px 8px 8px;
  line-height: 1.7;
}
.faq-list dt::before {
  content: "Q";
  font-family: var(--font-en);
  font-weight: 400;
  font-size: 22px;
  line-height: 1.2;
  color: var(--ink);
  border-bottom: 3px solid var(--neon);
  align-self: flex-start;
}
.faq-list dd {
  padding: 0 8px 30px 46px;
  font-size: 14px;
  color: var(--gray-700);
  border-bottom: 1px solid var(--gray-300);
}

/* お問い合わせフォーム */
.contact-form { margin-top: 90px; max-width: 760px; }
.form-field { margin-bottom: 40px; }
.form-label {
  display: flex;
  align-items: center;
  gap: 10px;
  font-size: 14px;
  font-weight: 700;
  margin-bottom: 12px;
}
.chip-req, .chip-opt {
  font-size: 10.5px;
  letter-spacing: 0.1em;
  padding: 2px 9px;
  font-weight: 500;
}
.chip-req { background: var(--ink); color: var(--neon); }
.chip-opt { border: 1px solid var(--gray-300); color: var(--gray-500); }
.contact-form input[type="text"],
.contact-form input[type="email"],
.contact-form input[type="tel"],
.contact-form input[type="url"],
.contact-form textarea {
  width: 100%;
  background: var(--white);
  border: 1px solid var(--gray-300);
  padding: 14px 16px;
  font: inherit;
  font-size: 14px;
  color: var(--ink);
}
.contact-form textarea { min-height: 160px; resize: vertical; }
.contact-form input:focus,
.contact-form textarea:focus {
  outline: 2px solid var(--neon);
  border-color: var(--ink);
}
.check-list li { padding: 7px 0; }
.check-list label {
  display: flex;
  align-items: center;
  gap: 12px;
  font-size: 14px;
  cursor: pointer;
}
.check-list input[type="checkbox"],
.check-list input[type="radio"] {
  width: 18px; height: 18px;
  accent-color: var(--ink);
  flex-shrink: 0;
}
.form-note { font-size: 12.5px; color: var(--gray-500); margin-top: 10px; }
.privacy-box {
  background: var(--white);
  border: 1px solid var(--gray-300);
  padding: 26px 28px;
  font-size: 13px;
  color: var(--gray-700);
}
.privacy-box h3 { font-size: 14px; margin-bottom: 10px; }
.privacy-box a { border-bottom: 2px solid var(--neon); font-weight: 500; }
.form-consent { margin: 28px 0 40px; }
.contact-note { font-size: 13px; color: var(--gray-500); margin-top: 24px; }
.contact .contact-note { color: #8a8a86; }

/* 下層レスポンシブ */
@media (max-width: 768px) {
  .page-hero { padding: 150px var(--pad-x) 70px; }
  .num-item { grid-template-columns: 1fr; gap: 16px; padding: 40px 0; }
  .company-table > div { grid-template-columns: 1fr; gap: 6px; }
  .works-page-grid { grid-template-columns: 1fr; gap: 56px; }
  .article-item { grid-template-columns: 1fr; gap: 14px; }
  .article-arrow { display: none; }
}

/* ============================================================
   実画像(公開サイトから移植)
   モノクロトーン維持のため実写系はグレースケール+ホバーで彩色
   ============================================================ */
.cover-img {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: cover;
}
.work-cover, .article-cover, .blog-cover {
  overflow: hidden;
  background: var(--gray-100);
}
.work-cover { aspect-ratio: 16 / 10; }
.work-cover img, .article-cover img, .blog-cover img {
  filter: grayscale(1);
  transition: filter 0.5s ease, transform 0.6s cubic-bezier(0.19, 1, 0.22, 1);
}
.work-item:hover .work-cover img,
.article-item:hover .article-cover img,
.blog-item:hover .blog-cover img {
  filter: grayscale(0);
  transform: scale(1.03);
}

/* 代表ポートレート(蛍光グリーンの衣装が差し色と呼応するためカラーのまま使用) */
.founder-photo {
  display: block;
  width: 100%;
  height: auto;
}

/* ブランドシンボル(ホッピン / 3つの円)は彩色のまま白面に置く */
.symbol-frame {
  background: var(--white);
  border: 1px solid var(--gray-100);
  display: flex;
  align-items: center;
  justify-content: center;
  padding: clamp(32px, 4vw, 64px);
}
.symbol-frame img { width: 100%; max-width: 420px; height: auto; }

/* 診断カードのイラスト(元がモノクロ線画+グリーン) */
.diagnosis-illust {
  aspect-ratio: 16 / 9;
  overflow: hidden;
  margin-bottom: 22px;
  background: var(--gray-100);
}
.diagnosis-illust img {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: cover;
}

/* Knowledge 一覧:カバー画像つきレイアウトに更新 */
.article-list .article-item {
  grid-template-columns: 260px 1fr auto;
  align-items: center;
}
.article-cover { aspect-ratio: 16 / 10; }
.article-meta-row {
  display: flex;
  align-items: baseline;
  gap: 16px;
  margin-bottom: 8px;
}
.article-meta-row time {
  font-family: var(--font-en);
  font-size: 13px;
  letter-spacing: 0.08em;
}
.article-meta-row .article-cat { margin-top: 0; }

/* TOP ブログ一覧:カバーつき */
.blog-item { align-items: center; }
.blog-cover {
  width: 190px;
  aspect-ratio: 16 / 10;
  flex-shrink: 0;
}

@media (max-width: 768px) {
  .article-list .article-item { grid-template-columns: 1fr; }
  .article-cover { max-width: 420px; }
  .blog-item { flex-wrap: wrap; }
  .blog-cover { width: 100%; max-width: 420px; }
}

/* ============================================================
   AI Search 背景:ファーストビューと同じモーフィングシェイプ
   (sticky でセクション内をスクロール追従・常に視界に入る)
   ============================================================ */
.ai-search {
  position: relative;
  /* clip なら sticky が効く(hidden はスクロールコンテナ化して sticky を殺す) */
  overflow: hidden;
  overflow: clip;
}
.ai-search .section-head,
.ai-search .ai-search-body {
  position: relative;
  z-index: 1;
}
.ai-search-text { max-width: 780px; }

.ai-morph-track {
  position: absolute;
  inset: 0 -22vmin 0 auto;
  width: 96vmin;
  z-index: 0;
  pointer-events: none;
}
.ai-morph-sticky {
  position: sticky;
  /* ビューポート縦中央に留まる */
  top: calc(50svh - 48vmin);
  display: flex;
  justify-content: center;
  align-items: center;
  filter: drop-shadow(0 0 90px rgba(200, 255, 0, 0.4));
}
.ai-morph-sticky .holo-shape {
  width: 96vmin;
  height: 96vmin;
  animation-delay: -6s;
}

/* ============================================================
   Works 詳細ページ(実サイトのBEM構造をリスタイル)
   ============================================================ */
.work-detail .container { padding: 0 var(--pad-x); }
.work-detail .container--article { max-width: calc(1000px + var(--pad-x) * 2); }

.work-hero { padding: 180px 0 0; }
.work-hero__title {
  font-size: clamp(28px, 3.8vw, 52px);
  line-height: 1.4;
  letter-spacing: 0.03em;
}
.work-hero__subtitle {
  font-size: 15px;
  color: var(--gray-500);
  margin-top: 10px;
  padding-left: 16px;
  border-left: 3px solid var(--neon);
}
.work-hero__cover { margin-top: 48px; }
.work-hero__cover img {
  display: block;
  width: 100%;
  height: auto;
  border: 1px solid var(--gray-100);
}

.work-overview { padding: 70px 0 0; }
.work-overview__inner {
  display: grid;
  grid-template-columns: 320px 1fr;
  gap: clamp(32px, 5vw, 80px);
  align-items: start;
}
.work-meta { border-top: 1px solid var(--ink); }
.work-meta__row {
  display: grid;
  grid-template-columns: 90px 1fr;
  gap: 16px;
  padding: 14px 4px;
  border-bottom: 1px solid var(--gray-300);
  font-size: 13.5px;
}
.work-meta__row dt { color: var(--gray-500); font-family: var(--font-en); letter-spacing: 0.08em; }
.work-overview__body p { font-size: 15px; color: var(--gray-700); margin-bottom: 16px; }

.work-section { padding: 64px 0 0; }
.work-section__heading {
  font-size: 20px;
  padding-left: 16px;
  border-left: 3px solid var(--neon);
  margin-bottom: 18px;
  max-width: 780px;
}
.work-section p { font-size: 14.5px; color: var(--gray-700); margin-bottom: 14px; max-width: 780px; }

.work-visual { padding: 36px 0 0; }
.work-visual__frame img {
  display: block;
  width: 100%;
  height: auto;
  border: 1px solid var(--gray-100);
}

.work-voice { padding: 80px 0 0; }
.work-voice__quote {
  border-left: 3px solid var(--neon);
  padding: 4px 0 4px 22px;
  max-width: 780px;
}
.work-voice__quote p { font-size: 15px; color: var(--ink); line-height: 2.1; }
.work-voice__author { font-size: 13px; color: var(--gray-500); margin-top: 16px; }

/* 関連グリッド(Works詳細・記事詳細 共通) */
.detail-related { background: var(--white); }
.related-grid {
  margin-top: 56px;
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 40px 32px;
  margin-bottom: 56px;
}
.related-article-title { font-size: 16px; line-height: 1.7; }

/* ============================================================
   Knowledge 記事詳細ページ(実サイトのBEM構造をリスタイル)
   ============================================================ */
.article-page .container { padding: 0 var(--pad-x); }
.article-page .container--article { max-width: calc(820px + var(--pad-x) * 2); }

.article-hero { padding: 180px 0 0; }
.article-hero__meta {
  display: flex;
  align-items: center;
  gap: 16px;
  margin-bottom: 22px;
}
.article-hero__category {
  font-size: 12px;
  font-weight: 500;
  background: var(--ink);
  color: var(--neon);
  padding: 3px 12px;
  letter-spacing: 0.08em;
}
.article-hero__date {
  font-family: var(--font-en);
  font-size: 13px;
  letter-spacing: 0.1em;
  color: var(--gray-500);
}
.article-hero__title {
  font-size: clamp(24px, 3vw, 40px);
  line-height: 1.6;
  letter-spacing: 0.02em;
  max-width: 980px;
}
.article-hero__lead {
  max-width: 780px;
  font-size: 15px;
  color: var(--gray-700);
  margin-top: 24px;
}
.article-hero__author {
  display: flex;
  align-items: baseline;
  gap: 8px;
  font-size: 13px;
  color: var(--gray-500);
  margin-top: 20px;
}
.article-hero__author strong { color: var(--ink); }
.article-hero__cover { margin-top: 44px; max-width: 1100px; }
.article-hero__cover img {
  display: block;
  width: 100%;
  height: auto;
  border: 1px solid var(--gray-100);
}

.article-body { display: block; padding: 70px 0 40px; }
.article-toc {
  background: var(--white);
  border: 1px solid var(--gray-300);
  padding: 28px 32px;
  max-width: 640px;
  margin-bottom: 70px;
}
.article-toc__title {
  font-size: 13px;
  font-weight: 700;
  letter-spacing: 0.14em;
  margin-bottom: 12px;
  display: flex;
  align-items: center;
  gap: 10px;
}
.article-toc__title::before { content: ""; width: 22px; height: 2px; background: var(--neon); }
.article-toc__list { counter-reset: toc; }
.article-toc__list li {
  counter-increment: toc;
  padding: 7px 0;
  font-size: 14px;
  display: flex;
  gap: 12px;
}
.article-toc__list li::before {
  content: counter(toc, decimal-leading-zero);
  font-family: var(--font-en);
  font-size: 13px;
  color: var(--gray-500);
}
.article-toc__list a { border-bottom: 2px solid transparent; transition: border-color 0.3s ease; }
.article-toc__list a:hover { border-bottom-color: var(--neon); }

.article-section { margin-bottom: 64px; }
.article-section__heading {
  font-size: clamp(19px, 2vw, 24px);
  line-height: 1.7;
  padding-left: 16px;
  border-left: 3px solid var(--neon);
  margin-bottom: 22px;
}
.article-section__subheading { font-size: 17px; margin: 32px 0 14px; }
.article-section p { font-size: 15px; color: var(--gray-700); line-height: 2.1; margin-bottom: 18px; }
.article-section > ul, .article-section > ol {
  margin: 4px 0 18px;
}
.article-section li {
  font-size: 14.5px;
  color: var(--gray-700);
  line-height: 2;
  padding: 6px 0 6px 20px;
  position: relative;
}
.article-section li::before {
  content: "";
  position: absolute;
  left: 2px; top: 1.05em;
  width: 8px; height: 8px;
  background: var(--neon);
}
.article-section p a, .article-section li a {
  font-weight: 500;
  border-bottom: 2px solid var(--neon);
  padding-bottom: 1px;
}

.article-callout {
  background: var(--white);
  border: 1px solid var(--gray-300);
  border-left: 4px solid var(--ink);
  padding: 24px 28px;
  margin: 28px 0;
}
.article-callout--green { border-left-color: var(--neon); }
.article-callout__label { font-size: 13px; font-weight: 700; margin-bottom: 8px; }
.article-callout__text { font-size: 14px; margin-bottom: 0 !important; }

.article-info-box {
  background: var(--gray-100);
  padding: 26px 30px;
  margin: 28px 0;
}
.article-info-box__title { font-size: 14px; font-weight: 700; margin-bottom: 10px; }
.article-info-box__list li { background: none; }

.article-quote {
  border-left: 3px solid var(--gray-300);
  padding: 4px 0 4px 20px;
  margin: 24px 0;
  color: var(--gray-500);
}
.article-quote p { color: var(--gray-500) !important; margin-bottom: 6px !important; }

.article-changes { display: grid; gap: 14px; margin: 24px 0; }
.article-change {
  display: grid;
  grid-template-columns: 52px 1fr;
  gap: 16px;
  align-items: baseline;
  background: var(--white);
  border: 1px solid var(--gray-100);
  padding: 16px 20px;
}
.article-change__num {
  font-family: var(--font-en);
  font-size: 22px;
  border-bottom: 3px solid var(--neon);
}
.article-change__title { font-size: 14.5px; font-weight: 700; }

.article-inline-cta {
  background: var(--ink);
  color: var(--white);
  padding: 36px 40px;
  margin: 56px 0;
}
.article-inline-cta__lead { font-size: 17px; font-weight: 700; color: var(--white) !important; margin-bottom: 12px !important; }
.article-inline-cta__text { font-size: 14px; color: #b9b9b5 !important; }
.btn.btn--primary {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  background: var(--neon);
  color: var(--ink);
  font-size: 14px;
  font-weight: 700;
  padding: 14px 30px;
  border-radius: 999px;
  margin-top: 16px;
  transition: gap 0.3s ease;
}
.btn.btn--primary:hover { gap: 18px; }

.article-footer {
  border-top: 1px solid var(--gray-300);
  padding-top: 30px;
  margin-top: 70px;
  display: flex;
  flex-wrap: wrap;
  gap: 18px 40px;
  align-items: center;
}
.article-tags { display: flex; flex-wrap: wrap; gap: 10px; align-items: center; font-size: 12.5px; }
.article-tags__label { color: var(--gray-500); }
.article-tag { border: 1px solid var(--gray-300); padding: 2px 12px; }
.article-share { display: flex; gap: 16px; align-items: center; font-size: 13px; margin-left: auto; }
.article-share__label { color: var(--gray-500); }
.article-share__link { border-bottom: 2px solid var(--neon); padding-bottom: 1px; }

@media (max-width: 768px) {
  .work-overview__inner { grid-template-columns: 1fr; gap: 32px; }
  .related-grid { grid-template-columns: 1fr; }
  .article-share { margin-left: 0; }
}

/* ============================================================
   About:6つの「伝わらない」(左イラスト+右テキストの2カラム)
   ============================================================ */
.problem-list li {
  display: grid;
  grid-template-columns: minmax(180px, 240px) 1fr;
  gap: clamp(24px, 3vw, 44px);
  align-items: start;
}
.problem-illust {
  aspect-ratio: 3 / 4;
  overflow: hidden;
  background: #f4f4f2;
}
.problem-illust img {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: cover;
}
@media (max-width: 768px) {
  .problem-list li { grid-template-columns: 1fr; }
  .problem-illust { max-width: 300px; }
}

/* ============================================================
   Partner:導入文右側の装飾イラスト(透過WebP)
   ============================================================ */
.partner {
  position: relative;
  overflow: clip;
}
.partner .section-head,
.partner .pillar-grid,
.partner .partner-why,
.partner .num-list {
  position: relative;
  z-index: 1;
}
.partner-illust {
  position: absolute;
  top: clamp(100px, 11vw, 170px);
  right: clamp(30px, 9vw, 150px);
  width: clamp(460px, 48vw, 740px);
  z-index: 0;
  pointer-events: none;
  /* 下の3項目に重なる部分は暗く沈み、左端はテキスト側に溶ける */
  -webkit-mask-image: linear-gradient(180deg, #000 0%, #000 46%, rgba(0, 0, 0, 0.35) 68%, transparent 92%), linear-gradient(90deg, transparent 0%, #000 32%);
  -webkit-mask-composite: source-in;
  mask-image: linear-gradient(180deg, #000 0%, #000 46%, rgba(0, 0, 0, 0.35) 68%, transparent 92%), linear-gradient(90deg, transparent 0%, #000 32%);
  mask-composite: intersect;
}
.partner-illust img {
  display: block;
  width: 100%;
  height: auto;
}
@media (max-width: 900px) {
  .partner-illust { display: none; }
}

/* ============================================================
   ヒーロー注記行:ホッピンをテキスト高さに合わせて左置き
   ============================================================ */
.hero-tagline-en {
  display: flex;
  align-items: center;
  gap: 16px;
}
.tagline-hoppin {
  display: block;
  height: clamp(56px, 5.4vw, 78px);
  width: auto;
  flex-shrink: 0;
}
.tagline-bar {
  width: 3px;
  align-self: stretch;
  background: var(--neon);
  flex-shrink: 0;
}

/* ============================================================
   ヒーロー署名ブロック:「想いと、跳ねる。」+社名
   ============================================================ */
.tagline-philosophy {
  display: block;
  font-family: var(--font-jp);
  font-size: clamp(12px, 1.2vw, 15px);
  font-weight: 500;
  letter-spacing: 0.32em;
  color: var(--gray-700);
  margin-bottom: 8px;
}

/* ============================================================
   モバイルメニュー(バーガー)
   ============================================================ */
.nav-toggle {
  display: none;
  flex-direction: column;
  justify-content: center;
  gap: 7px;
  width: 46px;
  height: 46px;
  padding: 0 8px;
  background: transparent;
  border: none;
  cursor: pointer;
  z-index: 120;
  position: relative;
}
.nav-toggle span {
  display: block;
  width: 100%;
  height: 2px;
  background: var(--ink);
  transition: transform 0.3s ease, background 0.3s ease;
}
.nav-toggle.is-open span:nth-child(1) { transform: translateY(4.5px) rotate(45deg); background: var(--white); }
.nav-toggle.is-open span:nth-child(2) { transform: translateY(-4.5px) rotate(-45deg); background: var(--white); }

.mobile-menu[hidden] { display: none; }
.mobile-menu {
  position: fixed;
  inset: 0;
  z-index: 110;
  background: var(--ink);
  display: flex;
  flex-direction: column;
  justify-content: center;
  padding: 90px var(--pad-x) 60px;
}
.mobile-menu-nav { display: flex; flex-direction: column; }
.mobile-menu-nav a {
  font-family: var(--font-en);
  font-size: clamp(34px, 9vw, 44px);
  color: var(--white);
  padding: 14px 0;
  border-bottom: 1px solid #2e2e2c;
}
.mobile-menu-nav a::after {
  content: ".";
  color: var(--neon);
}
.mobile-menu-cta {
  margin-top: 40px;
  align-self: flex-start;
  font-size: 15px;
  padding: 16px 34px;
  background: var(--neon);
  color: var(--ink);
}
.mobile-menu-cta .cta-dot { background: var(--ink); }
.menu-open { overflow: hidden; }

/* ============================================================
   SP調整(タブレット以下)
   ============================================================ */
@media (max-width: 1024px) {
  /* ヒーロータイポ:左右余白いっぱいまで最大化 */
  .hero-line { font-size: 11.2vw; }
  .hero-line2 { margin-left: 0.25em; }
  .hero-line3 { margin-left: 0.5em; }
}

@media (max-width: 768px) {
  /* ヘッダー:CTAを隠してバーガーに集約 */
  .site-header .header-cta { display: none; }
  .site-header .nav-toggle { display: flex; margin-left: auto; }
  .mobile-menu .header-cta { display: inline-flex; }

  /* ヒーロー:巨大タイポ下の余白を半減 */
  .hero { min-height: auto; padding-top: 110px; }
  .hero-foot { margin-top: 40px; }
  .hero-copy { margin-right: 0; }

  /* 署名ブロック:キャラクターの下にコピーブロック */
  .hero-tagline-en { flex-direction: column; align-items: flex-start; gap: 14px; }
  .tagline-row { display: flex; align-items: center; gap: 14px; }
  .hero-kana { white-space: normal; letter-spacing: 0.16em; }

  /* 6つの伝わらない:イラストを30%サイズの左サムネイルに */
  .problem-list li { grid-template-columns: 90px 1fr; gap: 16px; }
  .problem-illust { max-width: 90px; }
}

/* メニュー展開中はヘッダーをオーバーレイより前面に(閉じる操作を可能に) */
.menu-open .site-header {
  z-index: 130;
  background: transparent !important;
  box-shadow: none !important;
  backdrop-filter: none !important;
}
.menu-open .header-logo img { filter: invert(1) brightness(1.6); }

/* ============================================================
   セカンダリーボタン(小・アウトライン)
   ============================================================ */
.btn-secondary {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  margin-top: 24px;
  font-family: var(--font-en);
  font-size: 13px;
  letter-spacing: 0.08em;
  color: var(--ink);
  border: 1px solid var(--ink);
  border-radius: 999px;
  padding: 9px 22px;
  transition: background 0.3s ease, gap 0.3s ease;
}
.btn-secondary:hover { background: var(--neon); gap: 16px; }

/* Problem セクションの問いかけラベル(蛍光は ? に置換・長文のためSP級数を調整) */
.section-label--q { font-size: clamp(34px, 6.2vw, 88px); }
.section-label--q::after { content: "?"; }

/* 署名ブロックのスクロール連動移動(JSでtransform制御) */
@media (min-width: 769px) {
  .hero-tagline-en { will-change: transform; }
}


/* セクション末尾の一覧ボタン */
.works .btn-secondary,
.blog .btn-secondary { margin-top: 56px; }


/* 価格はグレーボックス(こんな方に)の直下に置く */
.service-row-body .service-price {
  text-align: left;
  margin-top: 14px;
  white-space: normal;
}

/* ============================================================
   プライバシーポリシー(legal 系・実サイト構造をリスタイル)
   ============================================================ */
.page-title--small { font-size: clamp(40px, 8vw, 110px); }
.legal-body { display: block; padding: 40px 0 140px; }
.legal-body .container { padding: 0 var(--pad-x); }
.legal-body .container--article { max-width: calc(820px + var(--pad-x) * 2); }
.legal-body__intro {
  font-size: 15px;
  color: var(--gray-700);
  line-height: 2.1;
  margin-bottom: 56px;
}
.legal-section { margin-bottom: 48px; }
.legal-section__heading {
  font-size: 18px;
  padding-left: 16px;
  border-left: 3px solid var(--neon);
  margin-bottom: 16px;
}
.legal-section p {
  font-size: 14px;
  color: var(--gray-700);
  line-height: 2.1;
  margin-bottom: 14px;
}
.legal-list { margin: 8px 0 16px; counter-reset: legal; }
.legal-list > li {
  counter-increment: legal;
  font-size: 14px;
  color: var(--gray-700);
  line-height: 2;
  padding: 5px 0 5px 34px;
  position: relative;
}
.legal-list > li::before {
  content: counter(legal);
  position: absolute;
  left: 4px;
  top: 5px;
  font-family: var(--font-en);
  font-size: 15px;
  color: var(--ink);
  border-bottom: 2px solid var(--neon);
  line-height: 1.6;
}
/* 入れ子の細目は英小文字で採番(外側の連番を汚さない) */
.legal-sublist { counter-reset: legalsub; margin-top: 6px; }
.legal-sublist > li {
  counter-increment: legalsub;
  font-size: 13.5px;
  color: var(--gray-700);
  line-height: 2;
  padding: 3px 0 3px 30px;
  position: relative;
}
.legal-sublist > li::before {
  content: counter(legalsub, lower-alpha);
  position: absolute;
  left: 4px;
  top: 3px;
  font-family: var(--font-en);
  font-size: 13px;
  color: var(--gray-500);
  line-height: 1.9;
}
.legal-contact {
  background: var(--white);
  border: 1px solid var(--gray-300);
  padding: 26px 30px;
  margin-top: 16px;
  font-size: 14px;
  color: var(--gray-700);
}
.legal-contact__company { font-weight: 700; color: var(--ink); margin-bottom: 8px; }
.legal-contact__note { font-size: 12.5px; color: var(--gray-500); margin-top: 6px; }

/* ============================================================
   About 3-Layer:sticky追従しながら3層の円が広がる背景
   核=グレー小(前面) / 白=中(背面) / 蛍光=最大ぼかし(最背面)
   ============================================================ */
.layer3 {
  position: relative;
  /* clip なら sticky が効く */
  overflow: hidden;
  overflow: clip;
}
.layer3 .section-head,
.layer3 .num-list {
  position: relative;
  z-index: 1;
}
.layer3-track {
  position: absolute;
  inset: 0 clamp(-160px, -8vw, -40px) 0 auto;
  width: clamp(440px, 46vw, 720px);
  z-index: 0;
  pointer-events: none;
}
.layer3-sticky {
  position: sticky;
  top: max(24px, calc(50svh - clamp(220px, 23vw, 360px)));
}
.layer3-sticky svg {
  width: 100%;
  height: auto;
  display: block;
  overflow: visible;
}
.l3c {
  transform-origin: 300px 300px;
  will-change: transform;
}
.l3c-gray  { fill: rgba(10, 10, 10, 0.09); }
.l3c-white { fill: var(--white); }
.l3c-neon  { fill: var(--neon); opacity: 0.5; filter: blur(clamp(24px, 3vw, 44px)); }
@media (max-width: 768px) {
  .layer3-track { width: 380px; inset-inline-end: -170px; }
  .layer3-sticky { top: max(24px, calc(50svh - 190px)); }
}

/* ============================================================
   Knowledgeカバーはトリミングしない(全ページ)
   contain表示+ホバー時のズームも無効(色復帰のみ残す)
   ============================================================ */
.article-cover img,
.blog-cover img,
.work-cover img[src*="knowledge/"] {
  object-fit: contain;
}
.article-item:hover .article-cover img,
.blog-item:hover .blog-cover img,
.work-item:hover .work-cover img[src*="knowledge/"] {
  transform: none;
}


/* ============================================================
   本番統合: 記事本文内の ul.article-list(ビルド生成の箇条書き)は
   一覧ページのリストスタイルを打ち消す
   ============================================================ */
.article-section .article-list {
  margin: 4px 0 18px;
  border-top: none;
}
.article-section .article-list .article-item { all: revert; }


/* ============================================================
   ステータスページ(404 / thanks / download-thanks)
   ============================================================ */
.status-page {
  min-height: 78svh;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  text-align: center;
  padding: 160px var(--pad-x) 100px;
}
.status-title {
  font-family: var(--font-en);
  font-size: clamp(56px, 11vw, 150px);
  line-height: 1;
  letter-spacing: -0.01em;
}
.status-title::after { content: "."; color: var(--neon); }
.status-page .page-eyebrow { margin: 18px 0 26px; }
.status-heading { font-size: clamp(19px, 2.4vw, 28px); letter-spacing: 0.03em; }
.status-lead { font-size: 15px; color: var(--gray-700); margin-top: 14px; }
.status-mascot { margin: 36px 0; }
.status-mascot img { height: clamp(90px, 12vw, 140px); width: auto; }
.status-note { font-size: 13px; color: var(--gray-500); margin-bottom: 28px; max-width: 560px; }
.status-note a { border-bottom: 2px solid var(--neon); font-weight: 500; }

/* ============================================================
   Portfolio(縦組みブック)
   ============================================================ */
.portfolio-book {
  max-width: 1100px;
  display: grid;
  gap: clamp(20px, 3vw, 40px);
}
.portfolio-page img {
  display: block;
  width: 100%;
  height: auto;
  border: 1px solid var(--gray-100);
  background: var(--white);
}

/* ============================================================
   Design System ページ
   ============================================================ */
.ds-mascots {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(140px, 1fr));
  gap: 24px;
  max-width: 860px;
  margin-top: 60px;
}
.ds-mascots figure {
  background: var(--white);
  border: 1px solid var(--gray-100);
  padding: 28px 20px 16px;
  text-align: center;
}
.ds-mascots img { height: 96px; width: auto; }
.ds-mascots figcaption { font-size: 12px; color: var(--gray-500); margin-top: 12px; }
.ds-h3 { font-size: 15px; letter-spacing: 0.08em; margin: 44px 0 18px; font-family: var(--font-en); }
.ds-swatches {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(150px, 1fr));
  gap: 16px;
  max-width: 1100px;
}
.ds-swatch {
  background: var(--white);
  border: 1px solid var(--gray-100);
  padding: 14px;
  font-size: 12.5px;
  display: grid;
  gap: 4px;
}
.ds-chip { display: block; height: 52px; border: 1px solid var(--gray-100); margin-bottom: 6px; }
.ds-swatch code { color: var(--gray-500); font-size: 11.5px; }
.ds-typos { display: grid; gap: 44px; margin-top: 60px; max-width: 980px; }
.ds-typo-label {
  font-size: 11.5px;
  letter-spacing: 0.1em;
  color: var(--gray-500);
  margin-bottom: 12px;
  padding-bottom: 6px;
  border-bottom: 1px dashed var(--gray-300);
}
.ds-buttons { display: flex; flex-wrap: wrap; gap: 28px; align-items: center; margin-top: 56px; }

/* ============================================================
   パンくずリスト(記事ページ)
   ============================================================ */
.breadcrumb { padding-top: 130px; font-size: 12.5px; color: var(--gray-500); }
.breadcrumb ol { display: flex; flex-wrap: wrap; gap: 6px; }
.breadcrumb li + li::before { content: "/"; margin-right: 6px; color: var(--gray-300); }
.breadcrumb a { border-bottom: 1px solid transparent; transition: border-color 0.3s ease; }
.breadcrumb a:hover { border-bottom-color: var(--neon); }
.article-page .breadcrumb + * .article-hero,
.article-page .article-hero { padding-top: 40px; }
