/*
Theme Name: DemBox
Theme URI: https://dem-box.com
Author: DemBox Inc.
Author URI: https://dem-box.com
Description: デムボックス株式会社のオリジナルコーポレートテーマ。「圧倒的本質営業」のミッションを表現する、編集デザイン風のミニマルなコーポレートサイト。
Version: 5.8
License: GNU General Public License v2 or later
License URI: http://www.gnu.org/licenses/gpl-2.0.html
Text Domain: dembox
Tags: light, beige, editorial, corporate, custom-menu, featured-images
*/

/* ============================================
   DEMBOX Corporate Site - Stylesheet
   Color: #00167a (Deep Brand Blue)
   ============================================ */

@import url('https://fonts.googleapis.com/css2?family=Noto+Serif+JP:wght@400;500;700;900&family=Noto+Sans+JP:wght@300;400;500;700&family=Manrope:wght@200;300;400;500;600;700;800&display=swap');

:root {
  /* グレージュ × 黒 ベーストーン */
  --bg: #f5f3f0;
  --bg-soft: #ebe9e5;
  --bg-deep: #e0ddd8;
  --text: #0a0a0a;
  --text-muted: #5a5a55;
  --text-dim: #8a8a85;
  --border: rgba(10, 10, 10, 0.12);
  --border-soft: rgba(10, 10, 10, 0.06);
  --accent: #0a0a0a;

  /* 旧ブランド色（互換用、徐々に置換） */
  --brand: #0a0a0a;
  --brand-deep: #0a0a0a;
  --brand-light: #1a1a1a;
  --accent-cyan: #0a0a0a;
  --accent-gold: #5a5a55;

  --serif: 'Noto Serif JP', serif;
  --sans: 'Noto Sans JP', sans-serif;
  --display: 'Inter', 'Helvetica Neue', sans-serif;
}

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

html { scroll-behavior: smooth; }

body {
  font-family: var(--sans);
  background: var(--bg);
  color: var(--text);
  line-height: 1.7;
  font-weight: 400;
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
  /* 日本語の改行制御：句読点・助詞などで一文字孤立を防止 */
  word-break: keep-all;
  overflow-wrap: anywhere;
  line-break: strict;
}

p, li, td, .moment-desc, .service-desc, .case-excerpt, .footer-tagline,
.philosophy-quote, .hero-subtitle, .news-title, .case-title, .step-desc {
  /* 段落系要素：句読点や助詞での孤立を防止 */
  word-break: keep-all;
  overflow-wrap: break-word;
  text-wrap: pretty;
}

a { color: inherit; text-decoration: none; transition: opacity 0.3s; }
a:hover { opacity: 0.7; }

img { max-width: 100%; display: block; }

/* ============================================
   Header
   ============================================ */
.site-header {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 100;
  padding: 24px 48px;
  display: flex;
  justify-content: space-between;
  align-items: center;
  transition: all 0.4s ease;
  background: transparent;
  backdrop-filter: blur(0px);
}

.site-header.scrolled {
  background: rgba(245, 243, 240, 0.92);
  backdrop-filter: blur(20px);
  border-bottom: 1px solid rgba(10,10,10,0.08);
  padding: 16px 48px;
}

.logo {
  font-family: 'Inter', 'Helvetica Neue', sans-serif;
  font-weight: 600;
  font-size: 20px;
  letter-spacing: 0.02em;
  color: #0a0a0a;
  position: relative;
  text-decoration: none;
}

.logo::after {
  content: '';
  position: absolute;
  bottom: -4px;
  left: 0;
  width: 24px;
  height: 2px;
  background: #0a0a0a;
}

.nav { display: flex; gap: 36px; align-items: center; }

.nav a {
  font-family: 'Inter', sans-serif;
  font-size: 12px;
  font-weight: 500;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: rgba(10,10,10,0.7);
  transition: color 0.3s;
  position: relative;
  text-decoration: none;
}

.nav a:hover { color: #0a0a0a; opacity: 1; }

.nav a.contact-btn {
  padding: 10px 22px;
  border: 1px solid #0a0a0a;
  color: #f5f3f0;
  background: #0a0a0a;
  border-radius: 100px;
  transition: all 0.3s;
}

.nav a.contact-btn:hover {
  background: transparent;
  color: #0a0a0a;
  opacity: 1;
}

/* Mobile menu toggle */
.menu-toggle {
  display: none;
  background: none;
  border: none;
  color: #0a0a0a;
  font-size: 24px;
  cursor: pointer;
}

/* ============================================
   Hero Section - 圧倒的本質営業 v3
   ============================================ */
.hero {
  position: relative;
  height: 100vh;
  min-height: 640px;
  max-height: 900px;
  width: 100%;
  overflow: hidden;
  background: linear-gradient(135deg, #f5f3f0 0%, #e8e6e2 100%);
  font-family: 'Inter', 'Helvetica Neue', -apple-system, sans-serif;
}

/* 背景の幾何学装飾 */
.hero-shapes {
  position: absolute;
  inset: 0;
  z-index: 1;
  pointer-events: none;
}
.hero-shapes-svg {
  width: 100%;
  height: 100%;
  display: block;
}
.shape-group { transform-origin: center; }
.shape-a { animation: heroDriftA 18s ease-in-out infinite; }
.shape-b { animation: heroDriftB 22s ease-in-out infinite; }
.shape-c { animation: heroDriftC 25s ease-in-out infinite; }
.hero-lines { animation: heroLinePulse 6s ease-in-out infinite; }

@keyframes heroDriftA {
  0%, 100% { transform: translate(0, 0); }
  33% { transform: translate(20px, -15px); }
  66% { transform: translate(-15px, 10px); }
}
@keyframes heroDriftB {
  0%, 100% { transform: translate(0, 0); }
  50% { transform: translate(-25px, 20px); }
}
@keyframes heroDriftC {
  0%, 100% { transform: translate(0, 0); }
  50% { transform: translate(15px, -20px); }
}
@keyframes heroLinePulse {
  0%, 100% { opacity: 0.6; }
  50% { opacity: 1; }
}

/* ============================================
   オープニング演出オーバーレイ
   ============================================ */
.hero-intro {
  position: absolute;
  inset: 0;
  z-index: 100;
  display: flex;
  align-items: center;
  justify-content: center;
  background: linear-gradient(135deg, #f5f3f0 0%, #e8e6e2 100%);
  opacity: 0;
  pointer-events: none;
}
.hero-intro.is-playing {
  opacity: 1;
  pointer-events: auto;
  animation: heroIntroFade 3.5s cubic-bezier(0.22, 1, 0.36, 1) forwards;
}
.hero-intro.is-done {
  opacity: 0;
  pointer-events: none;
}

@keyframes heroIntroFade {
  0%, 75% { opacity: 1; }
  92%, 100% { opacity: 0; pointer-events: none; }
}

.hero-intro-vignette {
  position: absolute;
  inset: 0;
  background: radial-gradient(ellipse at center, transparent 30%, rgba(0,0,0,0.18) 100%);
  opacity: 0;
  pointer-events: none;
}
.hero-intro.is-playing .hero-intro-vignette {
  animation: heroIntroVignette 3.5s cubic-bezier(0.22, 1, 0.36, 1) forwards;
}
@keyframes heroIntroVignette {
  0% { opacity: 0; }
  20% { opacity: 1; }
  75% { opacity: 1; }
  92%, 100% { opacity: 0; }
}

.hero-intro-inner {
  position: relative;
  text-align: center;
  z-index: 2;
}

.hero-intro-eyebrow {
  font-family: 'Inter', 'Helvetica Neue', sans-serif;
  font-size: 13px;
  letter-spacing: 0.4em;
  color: rgba(10,10,10,0.7);
  font-weight: 500;
  text-transform: uppercase;
  margin-bottom: 48px;
  opacity: 0;
  transform: translateY(-12px);
}
.hero-intro.is-playing .hero-intro-eyebrow {
  animation: heroIntroEyebrow 3.5s cubic-bezier(0.22, 1, 0.36, 1) forwards;
}
@keyframes heroIntroEyebrow {
  0% { opacity: 0; transform: translateY(-12px); }
  10% { opacity: 1; transform: translateY(0); }
  60% { opacity: 1; transform: translateY(0); }
  75% { opacity: 0; transform: translateY(-8px); }
  100% { opacity: 0; }
}

.hero-intro-text {
  transform-origin: center;
  will-change: transform, opacity, filter;
}
.hero-intro.is-playing .hero-intro-text {
  animation: heroIntroRush 3.5s cubic-bezier(0.7, 0, 0.84, 0) forwards;
}
@keyframes heroIntroRush {
  0% { transform: scale(0.85); opacity: 0; filter: blur(4px); }
  15% { transform: scale(1); opacity: 1; filter: blur(0); }
  60% { transform: scale(1); opacity: 1; filter: blur(0); }
  85% { transform: scale(7); opacity: 0; filter: blur(20px); }
  100% { transform: scale(7); opacity: 0; filter: blur(20px); }
}

.hero-intro-line1,
.hero-intro-line2 {
  font-family: var(--serif, 'Noto Serif JP', serif);
  color: #0a0a0a;
  font-size: clamp(64px, 11vw, 144px);
  line-height: 0.95;
  letter-spacing: -0.04em;
  margin: 0;
  font-weight: 300;
}
.hero-intro-line2 {
  font-style: italic;
  font-weight: 500;
}
.hero-intro-line2 .dot { font-style: normal; }

.hero-intro-en {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 16px;
  margin-top: 32px;
}
.hero-intro-en .line {
  width: 32px;
  height: 1px;
  background: #0a0a0a;
}
.hero-intro-en .text {
  font-size: 12px;
  color: rgba(10,10,10,0.7);
  letter-spacing: 0.4em;
  font-weight: 500;
}

/* ============================================
   通常画面（メインコンテンツ）
   ============================================ */
.hero-main {
  position: relative;
  z-index: 5;
  width: 100%;
  height: 100%;
  opacity: 0;
  animation: heroMainFadeIn 5s cubic-bezier(0.16, 1, 0.3, 1) forwards;
}
@keyframes heroMainFadeIn {
  0%, 75% { opacity: 0; transform: translateY(20px); }
  100% { opacity: 1; transform: translateY(0); }
}

/* 左の巨大DemBoxロゴ */
.hero-dembox {
  position: absolute;
  left: 6vw;
  top: 50%;
  transform: translateY(-50%);
  z-index: 6;
  pointer-events: none;
}
.hero-dembox-text {
  color: #0a0a0a;
  font-family: 'Inter', 'Helvetica Neue', sans-serif;
  font-size: clamp(72px, 11vw, 156px);
  font-weight: 500;
  line-height: 0.9;
  letter-spacing: -0.06em;
  margin: 0;
}
.hero-dembox-text .letter {
  display: inline-block;
  opacity: 0;
  transform: translateY(40px);
}
.hero-main .letter-1 { animation: heroDemboxLetter 5s cubic-bezier(0.16, 1, 0.3, 1) 0s forwards; }
.hero-main .letter-2 { animation: heroDemboxLetter 5s cubic-bezier(0.16, 1, 0.3, 1) 0.1s forwards; }
.hero-main .letter-3 { animation: heroDemboxLetter 5s cubic-bezier(0.16, 1, 0.3, 1) 0.2s forwards; }
.hero-main .letter-4 { animation: heroDemboxLetter 5s cubic-bezier(0.16, 1, 0.3, 1) 0.3s forwards; }
.hero-main .letter-5 { animation: heroDemboxLetter 5s cubic-bezier(0.16, 1, 0.3, 1) 0.4s forwards; }
.hero-main .letter-6 { animation: heroDemboxLetter 5s cubic-bezier(0.16, 1, 0.3, 1) 0.5s forwards; }
@keyframes heroDemboxLetter {
  0%, 90% { opacity: 0; transform: translateY(40px); }
  100% { opacity: 1; transform: translateY(0); }
}

.hero-dembox-underline {
  width: 80px;
  height: 4px;
  background: #0a0a0a;
  margin-top: 16px;
  transform: scaleX(0);
  transform-origin: left;
  animation: heroDemboxUnderline 5.5s cubic-bezier(0.16, 1, 0.3, 1) forwards;
}
@keyframes heroDemboxUnderline {
  0%, 95% { transform: scaleX(0); }
  100% { transform: scaleX(1); }
}

.hero-dembox-meta {
  margin-top: 14px;
  display: flex;
  align-items: center;
  gap: 12px;
  font-family: 'Inter', sans-serif;
  font-size: 11px;
  color: rgba(10,10,10,0.5);
  letter-spacing: 0.3em;
  text-transform: uppercase;
}
.hero-dembox-meta .sep { color: rgba(10,10,10,0.3); letter-spacing: 0; }

/* 右下のメッセージ → 画面中央右側に */
.hero-message {
  position: absolute;
  right: 6vw;
  top: auto;
  bottom: 12vh;
  transform: none;
  max-width: 480px;
  text-align: left;
  z-index: 7;
  font-family: var(--sans, 'Noto Sans JP', sans-serif);
}
.hero-message-title {
  color: #0a0a0a;
  font-family: var(--serif, 'Noto Serif JP', serif);
  font-size: clamp(24px, 2.4vw, 32px);
  font-weight: 400;
  line-height: 1.7;
  letter-spacing: 0.02em;
  margin: 0 0 20px;
}
.hero-message-title .dot { font-weight: 500; }
.hero-message-sub {
  color: rgba(10,10,10,0.7);
  font-size: 13px;
  line-height: 1.85;
  margin: 0 0 28px;
  letter-spacing: 0.02em;
  white-space: nowrap;
}
  letter-spacing: 0.02em;
}
.hero-message-cta {
  display: flex;
  gap: 16px;
  justify-content: flex-start;
  align-items: center;
}
.hero-link {
  color: #0a0a0a;
  font-size: 13px;
  font-weight: 500;
  text-decoration: underline;
  text-underline-offset: 4px;
  padding: 14px 4px;
  transition: opacity 0.2s;
}
.hero-link:hover { opacity: 0.6; }
.hero-button {
  background: #0a0a0a;
  color: #f5f3f0 !important;
  border: none;
  padding: 14px 24px;
  border-radius: 100px;
  font-size: 13px;
  font-weight: 500;
  text-decoration: none;
  transition: all 0.2s;
  display: inline-block;
}
.hero-button:hover {
  background: #1a1a1a;
  transform: translateY(-1px);
  box-shadow: 0 8px 24px rgba(0,0,0,0.15);
}

/* リプレイボタン */
.hero-replay {
  position: absolute;
  bottom: 32px;
  left: 6vw;
  z-index: 7;
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 8px 14px;
  background: transparent;
  border: 1px solid rgba(10,10,10,0.2);
  border-radius: 100px;
  font-size: 11px;
  color: rgba(10,10,10,0.6);
  letter-spacing: 0.05em;
  cursor: pointer;
  font-family: inherit;
  transition: all 0.2s;
}
.hero-replay:hover {
  background: #0a0a0a;
  color: #f5f3f0;
  border-color: #0a0a0a;
}

/* スクロールインジケーター（既存スタイル維持） */
.scroll-indicator {
  position: absolute;
  bottom: 32px;
  left: 50%;
  transform: translateX(-50%);
  z-index: 7;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 12px;
  font-family: 'Inter', sans-serif;
  font-size: 10px;
  letter-spacing: 0.3em;
  color: rgba(10,10,10,0.4);
}
.scroll-indicator .scroll-line {
  width: 1px;
  height: 40px;
  background: rgba(10,10,10,0.3);
}

/* ============================================
   レスポンシブ
   ============================================ */
@media (max-width: 1200px) {
  .hero-dembox-text { font-size: clamp(64px, 10vw, 130px); }
  .hero-message { max-width: 420px; }
}

@media (max-width: 1024px) {
  .hero-dembox { left: 4vw; }
  .hero-message { right: 4vw; max-width: 380px; }
  .hero-dembox-text { font-size: clamp(56px, 9vw, 110px); }
  .hero-message-title { font-size: clamp(20px, 2.2vw, 28px); }
}

@media (max-width: 768px) {
  /* スマホはヒーロー全体縦積みに */
  .hero {
    height: auto;
    min-height: 100vh;
    max-height: none;
    padding: 100px 0 40px;
  }
  .hero-main {
    display: flex;
    flex-direction: column;
    align-items: stretch;
    justify-content: center;
    padding: 0 24px;
    height: auto;
    min-height: calc(100vh - 140px);
    gap: 40px;
  }
  .hero-dembox {
    position: relative;
    left: auto;
    top: auto;
    transform: none;
    margin: 0;
    width: 100%;
    text-align: left;
  }
  .hero-dembox-text {
    font-size: clamp(56px, 16vw, 96px);
    text-align: left;
    white-space: nowrap;
  }
  .hero-dembox-underline {
    width: 60px;
    height: 3px;
    margin: 12px 0 0;
  }
  .hero-dembox-meta {
    justify-content: flex-start;
  }
  .hero-message {
    position: relative;
    right: auto;
    bottom: auto;
    left: auto;
    max-width: none;
    width: 100%;
    text-align: left;
    margin-top: 0;
  }
  .hero-message-title {
    font-size: clamp(22px, 5.5vw, 28px);
    line-height: 1.5;
  }
  .hero-message-sub {
    font-size: 13px;
    line-height: 1.8;
    white-space: normal;
  }
  .hero-message-cta {
    justify-content: flex-start;
    flex-wrap: wrap;
    gap: 12px;
  }
  .hero-replay {
    position: relative;
    left: auto;
    bottom: auto;
    margin-top: 24px;
    align-self: flex-start;
  }
  .scroll-indicator { display: none; }
  
  /* スマホ：オープニング演出のテキストサイズ */
  .hero-intro-line1,
  .hero-intro-line2 { font-size: clamp(48px, 13vw, 84px); }
  .hero-intro-eyebrow {
    font-size: 11px;
    margin-bottom: 32px;
    letter-spacing: 0.3em;
  }
  .hero-intro-en .text { font-size: 10px; letter-spacing: 0.3em; }
  .hero-intro-en .line { width: 24px; }
  
  /* スマホ：ヒーロー背景の四角を縮小 */
  .hero-shapes-svg { opacity: 0.5; }
}

@media (max-width: 480px) {
  .hero { padding: 90px 0 32px; }
  .hero-main { padding: 0 20px; }
  .hero-dembox-text { font-size: clamp(52px, 17vw, 84px); }
  .hero-message-title { font-size: 22px; }
  .hero-message-sub { font-size: 12px; }
  .hero-message-cta { gap: 8px; }
  .hero-link { padding: 12px 4px; font-size: 12px; }
  .hero-button { padding: 12px 20px; font-size: 12px; }
}

/* ============================================
   Section Common
   ============================================ */
section {
  padding: 140px 48px;
  position: relative;
}

.container {
  max-width: 1280px;
  margin: 0 auto;
}

.section-eyebrow {
  font-family: var(--display);
  font-size: 12px;
  letter-spacing: 0.4em;
  color: #0a0a0a;
  text-transform: uppercase;
  font-weight: 500;
  margin-bottom: 24px;
  display: flex;
  align-items: center;
  gap: 16px;
}

.section-eyebrow::before {
  content: '';
  width: 32px;
  height: 1px;
  background: #0a0a0a;
}

.section-title {
  font-family: var(--serif);
  font-weight: 500;
  font-size: clamp(32px, 4.5vw, 56px);
  line-height: 1.3;
  letter-spacing: -0.01em;
  color: #0a0a0a;
  margin-bottom: 24px;
  font-style: italic;
}

.section-title-en {
  font-family: var(--display);
  font-size: clamp(13px, 1.1vw, 14px);
  font-weight: 400;
  letter-spacing: 0.3em;
  color: rgba(10,10,10,0.55);
  text-transform: uppercase;
  margin-bottom: 64px;
}

/* ============================================
   Services Section（古い.servicesクラスは services-section に統一済み）
   ============================================ */
.services {
  position: relative;
  overflow: hidden;
  background: transparent;
  padding: 0;
}

.services .container { position: relative; z-index: 2; }

/* サービスカード：内部を「説明テキスト｜PCアイコン」の横分割に */
.service-card {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 20px;
  align-items: stretch;
  margin-bottom: 0;
  position: relative;
  background: #ffffff;
  border: 1px solid rgba(10,10,10,0.1);
  border-radius: 4px;
  padding: 28px 26px;
  transition: all 0.3s;
}

.service-card .service-content {
  display: flex;
  flex-direction: column;
  justify-content: center;
}
.service-card .service-visual {
  align-self: center;
}

.service-card:hover {
  border-color: #0a0a0a;
  transform: translateY(-4px);
  box-shadow: 0 16px 48px rgba(10,10,10,0.06);
}

.service-card:nth-child(even) .service-content { order: 0; }
.service-card:last-child { margin-bottom: 0; }

.service-card .service-content { order: 0; }
.service-card .service-visual { order: 1; }

.service-number {
  font-family: var(--display);
  font-weight: 500;
  font-size: 11px;
  letter-spacing: 0.4em;
  color: rgba(10,10,10,0.5);
  margin-bottom: 12px;
}

.service-name {
  font-family: var(--display);
  font-weight: 600;
  font-size: clamp(24px, 2.4vw, 32px);
  letter-spacing: -0.02em;
  margin-bottom: 6px;
  line-height: 1.15;
  color: #0a0a0a;
}

.service-name-jp {
  font-family: var(--serif);
  font-size: 14px;
  font-weight: 500;
  color: rgba(10,10,10,0.65);
  margin-bottom: 20px;
  letter-spacing: 0.05em;
  font-style: italic;
}

.service-desc {
  font-family: var(--sans);
  font-size: 13px;
  line-height: 1.95;
  color: rgba(10,10,10,0.7);
  margin-bottom: 20px;
}

.service-features {
  list-style: none;
  margin-bottom: 24px;
}

.service-features li {
  padding: 10px 0;
  border-bottom: 1px solid rgba(10,10,10,0.08);
  display: flex;
  align-items: center;
  gap: 12px;
  font-size: 12px;
  color: rgba(10,10,10,0.75);
}

.service-features li::before {
  content: '';
  width: 5px;
  height: 5px;
  background: #0a0a0a;
  flex-shrink: 0;
}

.service-link {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  font-family: var(--display);
  font-size: 11px;
  letter-spacing: 0.2em;
  color: #f5f3f0;
  background: #0a0a0a;
  text-transform: uppercase;
  padding: 11px 22px;
  border: 1px solid #0a0a0a;
  border-radius: 100px;
  transition: all 0.3s;
}

.service-link:hover {
  background: transparent;
  color: #0a0a0a;
  opacity: 1;
}

.service-link::after {
  content: '→';
  transition: transform 0.3s;
}

.service-link:hover::after { transform: translateX(4px); }

.service-visual {
  position: relative;
  aspect-ratio: 16/9;
  border-radius: 4px;
  overflow: hidden;
  background: #0a0a0a;
  border: 1px solid rgba(10,10,10,0.15);
}

.service-visual::before {
  content: '';
  position: absolute;
  inset: 0;
  background:
    radial-gradient(circle at 30% 30%, rgba(255,255,255,0.1), transparent 50%),
    radial-gradient(circle at 70% 70%, rgba(255,255,255,0.05), transparent 50%);
}

.service-visual-icon {
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  font-family: var(--display);
  font-weight: 300;
  font-size: 120px;
  color: rgba(255, 255, 255, 0.12);
  letter-spacing: 0.05em;
}

/* Network grid pattern overlay */
.service-visual::after {
  content: '';
  position: absolute;
  inset: 0;
  background-image:
    linear-gradient(rgba(255, 255, 255, 0.06) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255, 255, 255, 0.06) 1px, transparent 1px);
  background-size: 40px 40px;
}

/* ============================================
   Cases Section (事例)（古い.casesは editorial-section に統合）
   ============================================ */
.cases {
  background: transparent;
  padding: 0;
}

.case-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 24px;
  margin-top: 32px;
}

/* 3列レイアウト */
.case-grid--three {
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
}

/* 1つだけ大きく表示するレイアウト */
.case-grid--single {
  grid-template-columns: 1fr;
  gap: 0;
  max-width: 100%;
}
.case-grid--single .case-card {
  display: grid;
  grid-template-columns: 1fr 1.3fr;
  gap: 0;
  background: #ffffff;
  border: 1px solid rgba(10,10,10,0.1);
}
.case-grid--single .case-image {
  aspect-ratio: auto;
  min-height: 360px;
  height: 100%;
}
.case-grid--single .case-content {
  padding: 48px 56px;
  display: flex;
  flex-direction: column;
  justify-content: center;
}
.case-grid--single .case-title {
  font-size: 26px;
  line-height: 1.5;
  margin-bottom: 20px;
}
.case-grid--single .case-excerpt {
  font-size: 15px;
  line-height: 1.9;
  margin-bottom: 32px;
  -webkit-line-clamp: unset;
  display: block;
  overflow: visible;
}
.case-grid--single .case-results {
  gap: 40px;
  padding-top: 24px;
}
.case-grid--single .case-result-value {
  font-size: 36px;
}
.case-grid--single .case-result-label {
  font-size: 11px;
  letter-spacing: 0.1em;
}

/* Wide container（Casesページ：画面いっぱいに広げる） */
.editorial-container--wide {
  max-width: 100%;
  grid-template-columns: 80px 1fr;
  gap: 40px;
  padding-right: 4vw;
  padding-left: 4vw;
}
.editorial-main--full {
  max-width: none;
}

/* Casesページ：1画面に収める */
.case-page-section {
  padding-top: 48px;
  padding-bottom: 80px;
  padding-left: 0;
  padding-right: 0;
}
.case-page-section .editorial-title {
  margin-bottom: 6px;
}
.case-page-section .editorial-tagline {
  margin-bottom: 28px;
}

.case-card {
  background: #ffffff;
  border: 1px solid rgba(10,10,10,0.1);
  border-radius: 4px;
  overflow: hidden;
  transition: all 0.4s ease;
  position: relative;
}

.case-card:hover {
  transform: translateY(-8px);
  border-color: #0a0a0a;
  box-shadow: 0 20px 60px rgba(10, 10, 10, 0.08);
}

.case-image {
  aspect-ratio: 4/3;
  background: #0a0a0a;
  position: relative;
  overflow: hidden;
}

.case-image::before {
  content: '';
  position: absolute;
  inset: 0;
  background:
    radial-gradient(circle at 30% 50%, rgba(255, 255, 255, 0.08), transparent 60%);
}

.case-image-label {
  position: absolute;
  top: 16px;
  left: 16px;
  font-family: var(--display);
  font-size: 11px;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: #f5f3f0;
  background: rgba(10, 10, 10, 0.85);
  padding: 6px 12px;
  border: 1px solid rgba(255,255,255,0.2);
}

.case-content {
  padding: 20px 20px 20px;
}

.case-meta {
  font-family: var(--display);
  font-size: 10px;
  letter-spacing: 0.2em;
  color: rgba(10,10,10,0.5);
  text-transform: uppercase;
  margin-bottom: 8px;
}

.case-title {
  font-family: var(--serif);
  font-weight: 600;
  font-size: 14px;
  line-height: 1.5;
  margin-bottom: 8px;
  letter-spacing: 0.01em;
  color: #0a0a0a;
}

.case-excerpt {
  font-size: 12px;
  color: rgba(10,10,10,0.65);
  line-height: 1.65;
  margin-bottom: 12px;
  display: -webkit-box;
  -webkit-line-clamp: 3;
  -webkit-box-orient: vertical;
  overflow: hidden;
}

.case-results {
  display: flex;
  gap: 12px;
  padding-top: 10px;
  border-top: 1px solid rgba(10,10,10,0.08);
}

.case-result {
  flex: 1;
}

.case-result-value {
  font-family: var(--display);
  font-weight: 600;
  font-size: 18px;
  color: #0a0a0a;
  margin-bottom: 2px;
}

.case-result-label {
  font-size: 9px;
  letter-spacing: 0.05em;
  color: rgba(10,10,10,0.5);
  text-transform: uppercase;
}

/* ============================================
   News Section（古い.newsクラスは news-section に統一済み）
   ============================================ */
.news {
  background: transparent;
  padding: 0;
}

.news-list {
  list-style: none;
}

.news-item {
  display: grid;
  grid-template-columns: 140px 120px 1fr auto;
  gap: 32px;
  padding: 32px 0;
  border-bottom: 1px solid rgba(10,10,10,0.1);
  align-items: center;
  transition: padding 0.3s;
}

.news-item:hover {
  padding-left: 16px;
}

.news-item:hover .news-title {
  color: rgba(10,10,10,0.65);
}

.news-date {
  font-family: var(--display);
  font-size: 14px;
  letter-spacing: 0.1em;
  color: var(--text-dim);
}

.news-tag {
  font-family: var(--display);
  font-size: 11px;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: #0a0a0a;
  border: 1px solid #0a0a0a;
  padding: 6px 12px;
  text-align: center;
  width: fit-content;
}

.news-title {
  font-family: var(--serif);
  font-size: 16px;
  font-weight: 500;
  letter-spacing: 0.02em;
  transition: color 0.3s;
  color: #0a0a0a;
}

.news-arrow {
  font-family: var(--display);
  color: rgba(10,10,10,0.4);
  transition: all 0.3s;
}

.news-item:hover .news-arrow {
  color: #0a0a0a;
  transform: translateX(8px);
}

.news-cta {
  margin-top: 64px;
  text-align: center;
}

/* ============================================
   Footer
   ============================================ */
.site-footer {
  background: #0a0a0a;
  color: #f5f3f0;
  padding: 100px 48px 40px;
  border-top: 1px solid rgba(255,255,255,0.08);
  position: relative;
}

.site-footer a { color: rgba(245,243,240,0.7); }
.site-footer a:hover { color: #f5f3f0; }

.footer-top {
  display: grid;
  grid-template-columns: 2fr 1fr 1fr 1fr;
  gap: 48px;
  margin-bottom: 80px;
}

.footer-brand .logo {
  font-size: 28px;
  margin-bottom: 24px;
  display: inline-block;
  color: #f5f3f0;
}

.footer-brand .logo::after { background: #f5f3f0; }

.footer-tagline {
  font-family: var(--serif);
  font-size: 14px;
  color: rgba(245,243,240,0.6);
  letter-spacing: 0.05em;
  line-height: 1.8;
  margin-bottom: 24px;
  word-break: keep-all;
  overflow-wrap: break-word;
  font-style: italic;
}

.footer-col h4 {
  font-family: var(--display);
  font-size: 12px;
  letter-spacing: 0.3em;
  text-transform: uppercase;
  color: #f5f3f0;
  margin-bottom: 24px;
  font-weight: 500;
}

.footer-col ul { list-style: none; }

.footer-col li {
  margin-bottom: 14px;
  font-size: 14px;
  color: rgba(245,243,240,0.6);
  word-break: keep-all;
  white-space: nowrap;
}

.footer-bottom {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding-top: 32px;
  border-top: 1px solid rgba(255,255,255,0.1);
  font-family: var(--display);
  font-size: 11px;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: rgba(245,243,240,0.5);
}

/* ============================================
   Page Hero (Sub pages)
   ============================================ */
.page-hero {
  padding: 140px 48px 56px;
  background: linear-gradient(180deg, #f5f3f0 0%, #ebe9e5 100%);
  position: relative;
  overflow: hidden;
  text-align: center;
}

.page-hero::before {
  content: '';
  position: absolute;
  top: 80px;
  right: 8vw;
  width: 180px;
  height: 180px;
  border: 1px solid rgba(10,10,10,0.08);
  pointer-events: none;
}

.page-hero .stars { display: none; }

.page-hero-content { position: relative; z-index: 2; }

.page-title {
  font-family: var(--serif);
  font-weight: 500;
  font-size: clamp(36px, 5vw, 56px);
  letter-spacing: -0.01em;
  color: #0a0a0a;
  margin-bottom: 8px;
  font-style: italic;
}

.page-title-en {
  font-family: var(--display);
  font-size: 12px;
  letter-spacing: 0.4em;
  color: rgba(10,10,10,0.55);
  text-transform: uppercase;
  font-weight: 500;
  margin-bottom: 12px;
}

/* ============================================
   About Page
   ============================================ */
.about-section {
  padding: 120px 48px;
  background: #f5f3f0;
}

.about-section:nth-child(even) { background: #ebe9e5; }

.about-block {
  display: grid;
  grid-template-columns: 1fr 2fr;
  gap: 80px;
  max-width: 1280px;
  margin: 0 auto;
}

/* Stacked variant: タイトル上、本文下 */
.about-block.about-block-stacked {
  grid-template-columns: 1fr;
  gap: 32px;
  max-width: 880px;
}

.about-block.about-block-stacked .about-block-title {
  margin-bottom: 0;
}

.about-block-title {
  font-family: var(--serif);
  font-size: clamp(28px, 3vw, 42px);
  font-weight: 500;
  letter-spacing: 0;
  line-height: 1.3;
  color: #0a0a0a;
  font-style: italic;
}

.about-block-title small {
  display: block;
  font-family: var(--display);
  font-size: 12px;
  letter-spacing: 0.3em;
  color: rgba(10,10,10,0.55);
  text-transform: uppercase;
  font-weight: 500;
  margin-bottom: 16px;
  font-style: normal;
}

.about-block-body p {
  font-size: 16px;
  line-height: 2;
  color: var(--text-muted);
  margin-bottom: 24px;
}

.company-table {
  width: 100%;
  border-collapse: collapse;
}

.company-table tr {
  border-bottom: 1px solid var(--border);
}

.company-table th,
.company-table td {
  padding: 24px 16px;
  text-align: left;
  font-size: 15px;
  vertical-align: top;
}

.company-table th {
  font-family: var(--display);
  font-size: 12px;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: var(--accent-cyan);
  font-weight: 500;
  width: 240px;
}

.company-table td {
  color: var(--text-muted);
}

/* ============================================
   Editorial Section（雑誌風レイアウト）
   - OUR WHY / SERVICES / NEWS / CTA で共通利用
   ============================================ */
.editorial-section {
  padding: 80px 48px 80px;
  background: linear-gradient(180deg, #f5f3f0 0%, #ebe9e5 100%);
  position: relative;
  overflow: hidden;
}

.editorial-section + .editorial-section {
  border-top: 1px solid rgba(10,10,10,0.08);
}

/* セクションごとの背景バリエーション（リズム） */
.our-why-section {
  background: linear-gradient(180deg, #f5f3f0 0%, #ebe9e5 100%);
  padding-top: 80px;
  padding-bottom: 80px;
}
.services-section {
  background: linear-gradient(180deg, #ebe9e5 0%, #f0eeea 100%);
  padding-top: 80px;
  padding-bottom: 80px;
}
.news-section {
  background: linear-gradient(180deg, #f0eeea 0%, #ebe9e5 100%);
  padding-top: 80px;
  padding-bottom: 80px;
}
.cta-section {
  background: linear-gradient(180deg, #ebe9e5 0%, #e0ddd8 100%);
  padding-bottom: 100px;
}

/* 装飾の四角（薄く・ゆっくり動く） */
.editorial-section::before {
  content: '';
  position: absolute;
  top: 60px;
  right: 8vw;
  width: 240px;
  height: 240px;
  border: 1px solid rgba(10,10,10,0.06);
  pointer-events: none;
  animation: editorialDriftA 20s ease-in-out infinite;
}
.editorial-section::after {
  content: '';
  position: absolute;
  bottom: 60px;
  left: 6vw;
  width: 180px;
  height: 180px;
  border: 1px solid rgba(10,10,10,0.05);
  pointer-events: none;
  animation: editorialDriftB 24s ease-in-out infinite;
}
.services-section::before { right: 4vw; top: 40px; width: 200px; height: 200px; }
.news-section::before { left: 8vw; right: auto; }

@keyframes editorialDriftA {
  0%, 100% { transform: translate(0, 0); }
  33% { transform: translate(20px, -15px); }
  66% { transform: translate(-15px, 10px); }
}
@keyframes editorialDriftB {
  0%, 100% { transform: translate(0, 0); }
  50% { transform: translate(-20px, 15px); }
}

.editorial-container {
  max-width: 1180px;
  margin: 0 auto;
  display: grid;
  grid-template-columns: 120px 1fr;
  gap: 80px;
  position: relative;
  z-index: 2;
}

/* 左サイドバー（番号 + ラベル） */
.editorial-sidebar {
  border-top: 2px solid #0a0a0a;
  padding-top: 18px;
  align-self: start;
}

.editorial-num {
  font-family: 'Inter', 'Helvetica Neue', sans-serif;
  font-size: 42px;
  font-weight: 300;
  color: #0a0a0a;
  line-height: 1;
  letter-spacing: -0.04em;
  margin-bottom: 14px;
}

.editorial-label {
  font-family: 'Inter', sans-serif;
  font-size: 10px;
  letter-spacing: 0.4em;
  color: rgba(10,10,10,0.55);
  text-transform: uppercase;
  font-weight: 500;
  line-height: 1.6;
}

/* メインコンテンツ */
.editorial-main {
  max-width: 720px;
}

.editorial-title {
  font-family: var(--serif);
  font-style: italic;
  font-weight: 500;
  font-size: clamp(40px, 5vw, 56px);
  line-height: 1.2;
  letter-spacing: -0.01em;
  color: #0a0a0a;
  margin: 0 0 12px;
}
.editorial-title .dot {
  font-style: normal;
  color: #0a0a0a;
}

.editorial-tagline {
  font-family: 'Inter', sans-serif;
  font-size: 11px;
  letter-spacing: 0.3em;
  color: rgba(10,10,10,0.5);
  text-transform: uppercase;
  font-weight: 500;
  margin: 0 0 56px;
}

.editorial-subdesc {
  font-family: var(--sans);
  font-size: 14px;
  line-height: 1.95;
  color: rgba(10,10,10,0.7);
  margin: -40px 0 24px;
  letter-spacing: 0.04em;
}

.editorial-intro {
  font-family: var(--serif);
  font-size: clamp(16px, 1.4vw, 19px);
  line-height: 2;
  color: #0a0a0a;
  margin: 0 0 56px;
  font-weight: 400;
}
.editorial-intro em {
  font-style: italic;
  font-weight: 500;
}

/* OUR WHY 本文（画像通りシンプルな見栄え） */
.why-text-body {
  margin-top: 16px;
  max-width: 640px;
}

.why-paragraph {
  font-family: var(--sans);
  font-size: 14px;
  line-height: 1.7;
  letter-spacing: 0.04em;
  color: #1a1a1a;
  margin: 0 0 20px;
  font-weight: 400;
}

.why-paragraph-strong {
  font-weight: 700;
  color: #0a0a0a;
}

.why-paragraph strong {
  font-weight: 700;
  color: #0a0a0a;
}

/* OUR WHY コンパクト版（1画面に収める） */
.editorial-main--compact {
  display: flex;
  flex-direction: column;
  justify-content: center;
  min-height: 60vh;
}

/* OUR WHY 全文版用の divider */
.editorial-divider {
  display: flex;
  justify-content: center;
  margin: 48px 0;
}
.editorial-divider span {
  width: 64px;
  height: 1px;
  background: rgba(10,10,10,0.2);
}

/* 強調用ラインを引いた区切り */
.editorial-statement-line {
  font-family: var(--serif);
  font-style: italic;
  font-size: clamp(24px, 2.6vw, 32px);
  font-weight: 500;
  line-height: 1.5;
  color: #0a0a0a;
  margin: 56px 0 24px;
}
.editorial-statement-line .dot {
  font-style: normal;
}

/* テンプレートの大量送付 などのstrong */
.editorial-text strong {
  font-weight: 600;
  color: #0a0a0a;
}

/* About 各セクション1画面に収める */
.about-compact {
  min-height: 100vh;
  display: flex;
  align-items: center;
  padding-top: 80px;
  padding-bottom: 80px;
}
.about-compact .editorial-container {
  width: 100%;
}

/* 代表者ブロック */
.founder-block {
  margin-top: 24px;
  padding-bottom: 24px;
  border-bottom: 1px solid rgba(10,10,10,0.1);
}
.founder-name {
  font-family: var(--serif);
  font-size: 22px;
  font-weight: 500;
  color: #0a0a0a;
  margin: 0 0 4px;
  font-style: italic;
}
.founder-en {
  font-family: 'Inter', sans-serif;
  font-style: normal;
  font-size: 12px;
  letter-spacing: 0.15em;
  color: rgba(10,10,10,0.5);
  margin-left: 12px;
  font-weight: 500;
}
.founder-role {
  font-family: 'Inter', sans-serif;
  font-size: 11px;
  letter-spacing: 0.2em;
  color: rgba(10,10,10,0.55);
  text-transform: uppercase;
  margin: 0;
  font-weight: 500;
}

/* Values コンパクト */
.values-list--compact {
  margin-top: 16px;
}
.values-list--compact .value-item {
  padding: 24px 0;
}
.values-list--compact .value-desc {
  font-size: 14px;
}

/* Company Table コンパクト */
.editorial-company-table--compact {
  margin: 24px 0 16px;
}
.editorial-company-table--compact th {
  padding: 14px 24px 14px 0;
  font-size: 10px;
}
.editorial-company-table--compact td {
  padding: 14px 0;
  font-size: 14px;
}

.editorial-statement {
  font-family: var(--serif);
  font-size: clamp(20px, 1.9vw, 28px);
  line-height: 1.9;
  letter-spacing: 0.01em;
  color: #0a0a0a;
  margin: 24px 0 32px;
  font-weight: 500;
}
.editorial-statement em {
  font-style: italic;
  font-weight: 600;
  position: relative;
  padding: 0 2px;
}
.editorial-statement em::after {
  content: '';
  position: absolute;
  left: 0; right: 0; bottom: -1px;
  height: 1px;
  background: #0a0a0a;
}

.editorial-statement-sub {
  font-family: var(--serif);
  font-size: clamp(14px, 1.05vw, 15px);
  line-height: 2;
  color: rgba(10,10,10,0.7);
  margin: 0 0 48px;
  font-weight: 400;
}

.editorial-statement-cta {
  margin-top: auto;
}

/* ============================================
   Contact Page (グレージュ版)
   ============================================ */
.contact-page-section {
  padding-top: 80px;
  padding-bottom: 100px;
}

.contact-form-wrap {
  margin-top: 32px;
}

.contact-form-wrap input[type="text"],
.contact-form-wrap input[type="email"],
.contact-form-wrap input[type="tel"],
.contact-form-wrap textarea,
.contact-form-wrap select {
  width: 100%;
  padding: 14px 16px;
  background: #ffffff;
  border: 1px solid rgba(10,10,10,0.15);
  color: #0a0a0a;
  font-family: var(--sans);
  font-size: 14px;
  font-weight: 400;
  border-radius: 2px;
  transition: all 0.2s;
  margin-bottom: 0;
}

.contact-form-wrap input:focus,
.contact-form-wrap textarea:focus,
.contact-form-wrap select:focus {
  outline: none;
  border-color: #0a0a0a;
}

.contact-form-wrap textarea {
  min-height: 120px;
  resize: vertical;
}

.contact-form-wrap label {
  display: block;
  font-family: 'Inter', sans-serif;
  font-size: 11px;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: rgba(10,10,10,0.6);
  margin-bottom: 8px;
  margin-top: 20px;
  font-weight: 500;
}
.contact-form-wrap label:first-child { margin-top: 0; }

.contact-form-wrap input[type="submit"],
.contact-form-wrap button[type="submit"] {
  width: 100%;
  padding: 16px;
  background: #0a0a0a;
  border: 1px solid #0a0a0a;
  color: #f5f3f0;
  font-family: 'Inter', sans-serif;
  font-weight: 500;
  font-size: 13px;
  letter-spacing: 0.15em;
  border-radius: 100px;
  cursor: pointer;
  transition: all 0.2s;
  margin-top: 24px;
}

.contact-form-wrap input[type="submit"]:hover,
.contact-form-wrap button[type="submit"]:hover {
  background: transparent;
  color: #0a0a0a;
  transform: translateY(-1px);
  box-shadow: 0 6px 20px rgba(0,0,0,0.08);
}

.contact-form-wrap .wpcf7-not-valid-tip {
  font-size: 12px;
  color: #c44;
  margin-top: 4px;
}
.contact-form-wrap .wpcf7-response-output {
  margin-top: 16px;
  padding: 12px 16px;
  border-radius: 2px;
  font-size: 13px;
}

.contact-direct {
  margin-top: 40px;
  padding: 24px 28px;
  border: 1px solid rgba(10,10,10,0.12);
  background: rgba(255,255,255,0.4);
  display: flex;
  align-items: center;
  gap: 24px;
  flex-wrap: wrap;
}
.contact-direct-label {
  font-family: 'Inter', sans-serif;
  font-size: 10px;
  letter-spacing: 0.3em;
  text-transform: uppercase;
  color: rgba(10,10,10,0.55);
  font-weight: 500;
}
.contact-direct-mail {
  font-family: 'Inter', sans-serif;
  font-size: 18px;
  letter-spacing: 0.02em;
  color: #0a0a0a;
  text-decoration: none;
  font-weight: 500;
}
.contact-direct-mail:hover {
  opacity: 0.7;
}

/* 縦罫線で区切られた本文ブロック */
.editorial-body {
  border-left: 1px solid rgba(10,10,10,0.15);
  padding-left: 32px;
  margin-top: 16px;
}

.editorial-lead {
  font-family: var(--serif);
  font-size: clamp(16px, 1.3vw, 18px);
  line-height: 2;
  color: rgba(10,10,10,0.85);
  margin: 0 0 36px;
  font-weight: 400;
}

.editorial-lead-strong {
  font-family: var(--serif);
  font-size: clamp(19px, 1.6vw, 23px);
  line-height: 1.9;
  color: #0a0a0a;
  margin: 0 0 64px;
  font-weight: 500;
}

.editorial-text {
  font-family: var(--serif);
  font-size: clamp(15px, 1.15vw, 16px);
  line-height: 2.1;
  color: rgba(10,10,10,0.78);
  margin: 0 0 36px;
  font-weight: 400;
}

.editorial-text-emphasis {
  color: #0a0a0a;
  font-weight: 500;
}
.editorial-text-emphasis em {
  font-style: italic;
  font-weight: 600;
  color: #0a0a0a;
  border-bottom: 1px solid #0a0a0a;
  padding: 0 2px;
}

/* セクション内の仕切りマーク */
.editorial-mark {
  display: flex;
  align-items: center;
  gap: 14px;
  margin: 56px 0;
}
.editorial-mark span {
  flex: 1;
  height: 1px;
  background: rgba(10,10,10,0.15);
}
.editorial-mark span:first-child {
  flex: 0 0 40px;
}
.editorial-mark em {
  font-family: var(--serif);
  font-style: italic;
  font-size: 13px;
  color: rgba(10,10,10,0.55);
  font-weight: 400;
}

/* 締めの大きな結論 */
.editorial-conclusion {
  font-family: var(--serif);
  font-style: italic;
  font-size: clamp(28px, 3.5vw, 40px);
  font-weight: 500;
  line-height: 1.5;
  color: #0a0a0a;
  margin: 64px 0 28px;
}
.editorial-conclusion .dot {
  font-style: normal;
}

.editorial-signature {
  font-family: var(--serif);
  font-size: clamp(15px, 1.2vw, 17px);
  line-height: 2;
  color: rgba(10,10,10,0.78);
  margin: 0;
}
.editorial-signature em {
  font-style: italic;
  font-weight: 600;
  color: #0a0a0a;
  font-size: 1.1em;
}

/* Editorial版 News List */
.editorial-news-list {
  list-style: none;
  margin: 0 0 48px;
  padding: 0;
  border-top: 1px solid rgba(10,10,10,0.12);
}

.editorial-news-list li {
  border-bottom: 1px solid rgba(10,10,10,0.1);
}

.editorial-news-item {
  display: grid;
  grid-template-columns: 110px 100px 1fr auto;
  gap: 28px;
  padding: 24px 0;
  align-items: center;
  transition: padding 0.3s, background 0.3s;
  text-decoration: none;
}

.editorial-news-item:hover {
  padding-left: 12px;
  background: rgba(10,10,10,0.02);
}

.editorial-news-date {
  font-family: 'Inter', sans-serif;
  font-size: 13px;
  color: rgba(10,10,10,0.55);
  letter-spacing: 0.05em;
  font-weight: 500;
}

.editorial-news-tag {
  font-family: 'Inter', sans-serif;
  font-size: 10px;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: #0a0a0a;
  border: 1px solid #0a0a0a;
  padding: 5px 10px;
  text-align: center;
  width: fit-content;
  font-weight: 500;
}

.editorial-news-title {
  font-family: var(--serif);
  font-size: 16px;
  font-weight: 500;
  letter-spacing: 0.01em;
  color: #0a0a0a;
  line-height: 1.5;
}

.editorial-news-arrow {
  font-family: 'Inter', sans-serif;
  color: rgba(10,10,10,0.3);
  font-size: 14px;
  transition: all 0.3s;
}

.editorial-news-item:hover .editorial-news-arrow {
  color: #0a0a0a;
  transform: translateX(6px);
}

/* Editorial Link (続きを読む) */
.editorial-link {
  display: inline-flex;
  align-items: center;
  gap: 14px;
  font-family: var(--serif);
  font-size: 14px;
  text-decoration: none;
  color: #0a0a0a;
  cursor: pointer;
  transition: gap 0.3s;
}
.editorial-link span:not(.arrow) {
  width: 32px;
  height: 1px;
  background: #0a0a0a;
}
.editorial-link em {
  font-style: italic;
  font-weight: 400;
}
.editorial-link .arrow {
  font-family: 'Inter', sans-serif;
  font-size: 13px;
  margin-left: 4px;
}
.editorial-link:hover {
  gap: 18px;
  opacity: 1;
}
.editorial-news-cta {
  text-align: right;
  margin-top: 24px;
}

/* CTAボタン */
.editorial-cta-buttons {
  display: flex;
  gap: 16px;
  flex-wrap: wrap;
  margin-top: 48px;
}

.editorial-cta-btn {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  padding: 18px 32px;
  border-radius: 100px;
  font-family: 'Inter', 'Helvetica Neue', sans-serif;
  font-size: 14px;
  font-weight: 500;
  letter-spacing: 0.02em;
  text-decoration: none;
  transition: all 0.3s;
}
.editorial-cta-btn.primary {
  background: #0a0a0a;
  color: #f5f3f0;
  border: 1px solid #0a0a0a;
}
.editorial-cta-btn.primary:hover {
  background: transparent;
  color: #0a0a0a;
  opacity: 1;
  transform: translateY(-2px);
  box-shadow: 0 8px 24px rgba(0,0,0,0.1);
}
.editorial-cta-btn.secondary {
  background: transparent;
  color: #0a0a0a;
  border: 1px solid rgba(10,10,10,0.3);
}
.editorial-cta-btn.secondary:hover {
  border-color: #0a0a0a;
  background: rgba(10,10,10,0.04);
  opacity: 1;
}

/* Values（雑誌風リスト） */
.values-list {
  margin-top: 16px;
}

.value-item {
  display: grid;
  grid-template-columns: 60px 1fr;
  gap: 32px;
  padding: 36px 0;
  border-top: 1px solid rgba(10,10,10,0.12);
}
.value-item:last-child {
  border-bottom: 1px solid rgba(10,10,10,0.12);
}

.value-num {
  font-family: 'Inter', 'Helvetica Neue', sans-serif;
  font-size: 28px;
  font-weight: 300;
  color: rgba(10,10,10,0.5);
  line-height: 1;
  letter-spacing: -0.04em;
  padding-top: 4px;
}

.value-title {
  font-family: var(--serif);
  font-style: italic;
  font-weight: 500;
  font-size: clamp(22px, 2.2vw, 28px);
  line-height: 1.4;
  color: #0a0a0a;
  margin: 0 0 12px;
  display: flex;
  align-items: baseline;
  gap: 14px;
  flex-wrap: wrap;
}

.value-en {
  font-family: 'Inter', sans-serif;
  font-style: normal;
  font-size: 11px;
  font-weight: 500;
  letter-spacing: 0.2em;
  color: rgba(10,10,10,0.5);
  text-transform: uppercase;
}

.value-desc {
  font-family: var(--serif);
  font-size: clamp(14px, 1.05vw, 15px);
  line-height: 2;
  color: rgba(10,10,10,0.75);
  margin: 0;
}

/* Editorial版 Company Table */
.editorial-company-table {
  width: 100%;
  border-collapse: collapse;
  margin: 32px 0 48px;
}

.editorial-company-table tr {
  border-bottom: 1px solid rgba(10,10,10,0.1);
}
.editorial-company-table tr:first-child {
  border-top: 1px solid rgba(10,10,10,0.1);
}

.editorial-company-table th {
  font-family: 'Inter', sans-serif;
  font-size: 11px;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: rgba(10,10,10,0.55);
  font-weight: 500;
  text-align: left;
  padding: 20px 24px 20px 0;
  width: 180px;
  vertical-align: top;
}

.editorial-company-table td {
  font-family: var(--serif);
  font-size: 15px;
  color: #0a0a0a;
  padding: 20px 0;
  line-height: 1.7;
}

.editorial-company-table .company-en {
  font-family: 'Inter', sans-serif;
  font-size: 12px;
  letter-spacing: 0.1em;
  color: rgba(10,10,10,0.5);
  margin-left: 8px;
}

.editorial-company-table a {
  color: #0a0a0a;
  text-decoration: underline;
  text-underline-offset: 3px;
}
.editorial-company-table a:hover {
  opacity: 0.7;
}

/* page-titleにdotスタイル */
.page-title .dot {
  font-style: normal;
  color: #0a0a0a;
}

/* Editorial 注釈 */
.editorial-note {
  font-family: var(--serif);
  font-style: italic;
  font-size: 12px;
  color: rgba(10,10,10,0.5);
  letter-spacing: 0.04em;
  margin-top: 56px;
  padding-top: 32px;
  border-top: 1px solid rgba(10,10,10,0.1);
  text-align: right;
}

.editorial-news-empty {
  text-align: center;
  padding: 80px 0;
  font-family: var(--serif);
  font-size: 14px;
  color: rgba(10,10,10,0.5);
  font-style: italic;
}

/* サービスセクション内のサービスカード（2列横並び） */
.services-cards-wrap {
  margin-top: 40px;
  padding-top: 0;
  border-top: none;
  position: relative;
  z-index: 2;
  display: grid !important;
  grid-template-columns: 1fr 1fr;
  gap: 24px;
  max-width: 1280px;
  margin-left: auto;
  margin-right: auto;
  padding-left: 24px;
  padding-right: 24px;
}

/* LabBase風シンプルサービスカード */
.service-card-simple {
  display: grid;
  grid-template-columns: 1.1fr 1fr;
  gap: 24px;
  align-items: center;
  background: #ffffff;
  border: 1px solid rgba(10,10,10,0.1);
  border-radius: 6px;
  padding: 36px 32px;
  text-decoration: none;
  color: inherit;
  transition: all 0.3s;
}

.service-card-simple:hover {
  border-color: #0a0a0a;
  transform: translateY(-4px);
  box-shadow: 0 16px 40px rgba(10,10,10,0.08);
  opacity: 1;
}

.service-simple-content {
  display: flex;
  flex-direction: column;
  gap: 16px;
}

.service-simple-logo {
  display: flex;
  align-items: center;
  gap: 10px;
}
.service-simple-logo .logo-mark {
  width: 6px;
  height: 22px;
  background: #0a0a0a;
  display: inline-block;
}
.service-simple-logo .logo-text {
  font-family: 'Inter', 'Helvetica Neue', sans-serif;
  font-size: 18px;
  font-weight: 600;
  color: #0a0a0a;
  letter-spacing: -0.01em;
}

.service-simple-title {
  font-family: 'Inter', 'Helvetica Neue', 'Noto Sans JP', sans-serif;
  font-size: clamp(15px, 1.15vw, 17px);
  font-weight: 600;
  line-height: 1.5;
  letter-spacing: 0;
  color: #0a0a0a;
  margin: 4px 0 0;
  word-break: keep-all;
}

.service-simple-desc {
  font-family: var(--sans);
  font-size: 13px;
  line-height: 1.8;
  color: rgba(10,10,10,0.7);
  margin: 0;
  letter-spacing: 0.03em;
}

.service-simple-buttons {
  margin-top: 12px;
  display: flex;
  gap: 12px;
}

.service-simple-btn {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 10px 22px;
  border-radius: 4px;
  font-family: var(--sans);
  font-size: 12px;
  font-weight: 600;
  letter-spacing: 0.04em;
  transition: all 0.2s;
}
.service-simple-btn.primary {
  background: #0a0a0a;
  color: #f5f3f0;
  border: 1px solid #0a0a0a;
}
.service-card-simple:hover .service-simple-btn.primary {
  background: #1a1a1a;
}

.service-simple-visual {
  display: flex;
  align-items: center;
  justify-content: center;
}
.service-simple-visual svg {
  max-width: 100%;
  height: auto;
}

/* ============================================
   サービス詳細ページ
   ============================================ */
.service-detail-section {
  padding-top: 80px;
  padding-bottom: 80px;
}

/* サービスページ：タイトルを普通のゴシック体に */
.service-detail-section .editorial-title {
  font-family: 'Inter', 'Helvetica Neue', 'Noto Sans JP', sans-serif;
  font-style: normal;
  font-weight: 700;
  letter-spacing: -0.02em;
}

.service-detail-grid {
  display: grid;
  grid-template-columns: 1fr 1.2fr;
  gap: 64px;
  align-items: center;
  margin-top: 24px;
}

/* Stack版：縦並び（アイコン → 文章 → ポイント → CTA） */
.service-detail-stack {
  display: flex;
  flex-direction: column;
  gap: 40px;
  margin-top: 24px;
  align-items: center;
  text-align: center;
}

.service-detail-stack .service-detail-visual {
  max-width: 560px;
  width: 100%;
}

.service-detail-stack .service-detail-text {
  max-width: 780px;
  width: 100%;
  display: flex;
  flex-direction: column;
  gap: 24px;
  align-items: center;
}

.service-detail-stack .service-detail-lead,
.service-detail-stack .service-detail-desc {
  text-align: center;
}

.service-detail-stack .service-detail-features {
  text-align: left;
  width: 100%;
  max-width: 640px;
}

.service-detail-stack .service-detail-cta {
  align-self: center;
}

.service-detail-text {
  display: flex;
  flex-direction: column;
  gap: 20px;
}

.service-detail-lead {
  font-family: var(--sans);
  font-size: clamp(16px, 1.35vw, 19px);
  font-weight: 600;
  line-height: 1.8;
  letter-spacing: 0.02em;
  color: #0a0a0a;
  margin: 0;
}
.service-detail-lead strong {
  font-weight: 700;
}

.service-detail-desc {
  font-family: var(--sans);
  font-size: 14px;
  line-height: 1.95;
  color: rgba(10,10,10,0.7);
  margin: 0;
  letter-spacing: 0.04em;
}

.service-detail-features {
  list-style: none;
  padding: 16px 0 0;
  margin: 0;
  border-top: 1px solid rgba(10,10,10,0.1);
}
.service-detail-features li {
  padding: 12px 0;
  border-bottom: 1px solid rgba(10,10,10,0.08);
  display: flex;
  align-items: center;
  gap: 12px;
  font-size: 13px;
  color: rgba(10,10,10,0.78);
  font-family: var(--sans);
}
.service-detail-features li::before {
  content: '';
  width: 5px;
  height: 5px;
  background: #0a0a0a;
  flex-shrink: 0;
}

.service-detail-cta {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  padding: 14px 28px;
  background: #0a0a0a;
  color: #f5f3f0;
  border: 1px solid #0a0a0a;
  border-radius: 100px;
  font-family: 'Inter', sans-serif;
  font-size: 12px;
  font-weight: 500;
  letter-spacing: 0.05em;
  text-decoration: none;
  align-self: flex-start;
  margin-top: 8px;
  transition: all 0.2s;
}
.service-detail-cta:hover {
  background: transparent;
  color: #0a0a0a;
  opacity: 1;
}

.service-detail-visual {
  display: flex;
  align-items: center;
  justify-content: center;
}

/* ============================================
   Editorial レスポンシブ
   ============================================ */
@media (max-width: 1024px) {
  .editorial-container { gap: 60px; grid-template-columns: 100px 1fr; }
  .editorial-num { font-size: 36px; }
  .case-grid--three { grid-template-columns: 1fr 1fr; }
}

@media (max-width: 768px) {
  .editorial-section {
    padding: 80px 24px 100px;
  }
  .about-compact {
    min-height: auto;
    padding-top: 64px;
    padding-bottom: 64px;
  }
  .our-why-section {
    min-height: auto;
    padding-top: 64px;
    padding-bottom: 64px;
  }
  .editorial-main--compact {
    min-height: auto;
  }
  .editorial-container {
    grid-template-columns: 1fr;
    gap: 40px;
  }
  .editorial-sidebar {
    position: static;
    border-top: 2px solid #0a0a0a;
    padding-top: 12px;
    display: flex;
    align-items: baseline;
    gap: 16px;
  }
  .editorial-num {
    font-size: 32px;
    margin-bottom: 0;
  }
  .editorial-label {
    font-size: 10px;
    line-height: 1.4;
  }
  .editorial-section::before {
    width: 160px;
    height: 160px;
    right: -30px;
    top: 60px;
  }
  .editorial-section::after {
    width: 120px;
    height: 120px;
    left: -30px;
  }
  .editorial-title {
    font-size: clamp(28px, 7vw, 38px);
  }
  .editorial-body {
    padding-left: 20px;
  }
  .editorial-lead, .editorial-lead-strong, .editorial-text, .editorial-signature, .editorial-intro {
    font-size: 14px;
    line-height: 2.1;
  }
  .editorial-conclusion {
    font-size: clamp(22px, 6vw, 30px);
  }
  .editorial-news-item {
    grid-template-columns: 1fr;
    gap: 8px;
    padding: 20px 0;
  }
  .editorial-news-tag {
    justify-self: flex-start;
  }
  .editorial-news-arrow {
    display: none;
  }
  .editorial-cta-buttons {
    flex-direction: column;
    gap: 12px;
  }
  .editorial-cta-btn {
    width: 100%;
    justify-content: center;
  }
  .services-cards-wrap {
    margin-top: 40px;
    padding-top: 0;
    grid-template-columns: 1fr;
    gap: 20px;
  }
  .service-card {
    padding: 28px 24px;
  }
  .service-card-simple {
    grid-template-columns: 1fr;
    padding: 28px 24px;
    gap: 16px;
  }
  .service-simple-visual {
    order: -1;
  }
  .service-simple-title {
    font-size: 15px;
  }
  .service-detail-grid {
    grid-template-columns: 1fr;
    gap: 32px;
  }
  .service-detail-visual {
    order: -1;
  }
  .service-detail-lead {
    font-size: 17px;
  }
  .service-detail-features li {
    font-size: 12px;
  }
  .value-item {
    grid-template-columns: 1fr;
    gap: 12px;
    padding: 28px 0;
  }
  .value-num { font-size: 22px; }
  .value-title {
    font-size: 20px;
    gap: 8px;
  }
  .value-en { font-size: 10px; }
  .value-desc { font-size: 13px; }
  .editorial-company-table th {
    width: 110px;
    font-size: 10px;
    padding: 16px 16px 16px 0;
  }
  .editorial-company-table td { font-size: 13px; padding: 16px 0; }
}

@media (max-width: 480px) {
  .editorial-section { padding: 64px 20px 80px; }
  .editorial-company-table th { width: 100px; }
}

/* ============================================
   Service Steps (4ステップ図解)
   ============================================ */
.service-steps {
  margin-top: 80px;
  padding-top: 64px;
  border-top: 1px solid var(--border);
}

.steps-title {
  font-family: var(--serif);
  font-size: clamp(20px, 2vw, 26px);
  font-weight: 700;
  text-align: center;
  letter-spacing: 0.06em;
  margin-bottom: 56px;
}

.steps-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 24px;
  position: relative;
}

.step {
  position: relative;
  padding: 32px 24px;
  border: 1px solid var(--border);
  background: rgba(10, 8, 48, 0.5);
  text-align: center;
}

.step-num {
  font-family: var(--display);
  font-size: 11px;
  letter-spacing: 0.3em;
  color: var(--accent-cyan);
  margin-bottom: 12px;
}

.step-icon {
  font-family: var(--display);
  font-weight: 200;
  font-size: 48px;
  color: var(--accent-cyan);
  margin-bottom: 16px;
  line-height: 1;
}

.step-name {
  font-family: var(--serif);
  font-size: 16px;
  font-weight: 700;
  margin-bottom: 12px;
  letter-spacing: 0.05em;
}

.step-desc {
  font-size: 12px;
  color: var(--text-muted);
  line-height: 1.7;
}

/* ============================================
   Comparison Section (代行 vs パートナー)
   ============================================ */
.comparison {
  background: var(--bg-soft);
  position: relative;
}

.comparison-table {
  max-width: 980px;
  margin: 0 auto;
  border: 1px solid var(--border);
  background: rgba(5, 3, 26, 0.5);
}

.comp-row {
  display: grid;
  grid-template-columns: 1fr 1fr 1fr;
  border-bottom: 1px solid var(--border);
}

.comp-row:last-child { border-bottom: none; }

.comp-row > div {
  padding: 24px 28px;
  font-size: 14px;
  line-height: 1.7;
}

.comp-row.head > div {
  font-family: var(--display);
  font-size: 12px;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  font-weight: 500;
  color: var(--text-muted);
  background: rgba(255, 255, 255, 0.02);
}

.comp-row.head .comp-us {
  color: var(--accent-cyan);
}

.comp-label {
  font-family: var(--display);
  font-size: 11px;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: var(--text-dim);
  border-right: 1px solid var(--border);
}

.comp-them {
  color: var(--text-muted);
  border-right: 1px solid var(--border);
}

.comp-us {
  color: var(--text);
  background: rgba(0, 224, 255, 0.04);
  position: relative;
}

.comp-us::before {
  content: '';
  position: absolute;
  left: 0;
  top: 0;
  bottom: 0;
  width: 2px;
  background: var(--accent-cyan);
}

/* ============================================
   Results Section (実績数字)
   ============================================ */
.results {
  background: var(--bg);
  position: relative;
  overflow: hidden;
}

.results::before {
  content: '';
  position: absolute;
  inset: 0;
  background: radial-gradient(ellipse at center, rgba(0, 22, 122, 0.5), transparent 70%);
  pointer-events: none;
}

.results-context {
  text-align: center;
  font-size: 14px;
  color: var(--text-muted);
  letter-spacing: 0.1em;
  margin-bottom: 48px;
}

.results-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 32px;
  max-width: 1080px;
  margin: 0 auto;
  position: relative;
  z-index: 1;
}

.result-stat {
  text-align: center;
  padding: 56px 32px;
  border: 1px solid var(--border);
  background: rgba(10, 8, 48, 0.6);
  backdrop-filter: blur(10px);
  position: relative;
  overflow: hidden;
}

.result-stat::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 1px;
  background: linear-gradient(90deg, transparent, var(--accent-cyan), transparent);
  opacity: 0.6;
}

.result-label {
  font-family: var(--display);
  font-size: 11px;
  letter-spacing: 0.3em;
  text-transform: uppercase;
  color: var(--text-muted);
  margin-bottom: 24px;
}

.result-value {
  font-family: var(--display);
  font-weight: 700;
  font-size: clamp(56px, 7vw, 88px);
  line-height: 1;
  background: linear-gradient(135deg, var(--accent-cyan) 0%, var(--accent-gold) 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
  margin-bottom: 16px;
  letter-spacing: 0.02em;
}

.result-unit {
  font-size: 0.4em;
  color: var(--text-muted);
  -webkit-text-fill-color: var(--text-muted);
  background: none;
  letter-spacing: 0.1em;
  margin-left: 4px;
}

.result-desc {
  font-size: 13px;
  color: var(--text-muted);
  line-height: 1.8;
}

.result-note {
  margin-top: 48px;
  text-align: center;
  font-size: 12px;
  color: var(--text-dim);
  font-style: italic;
  letter-spacing: 0.05em;
}

.result-comparison {
  margin-top: 64px;
  text-align: center;
  padding: 40px;
  border: 1px dashed rgba(0, 224, 255, 0.3);
  max-width: 720px;
  margin-left: auto;
  margin-right: auto;
}

.result-comparison-label {
  font-family: var(--display);
  font-size: 11px;
  letter-spacing: 0.3em;
  text-transform: uppercase;
  color: var(--accent-cyan);
  margin-bottom: 20px;
}

.result-comparison-text {
  font-family: var(--serif);
  font-size: 18px;
  line-height: 2;
  letter-spacing: 0.05em;
}

.result-comparison-text .industry {
  color: var(--text-dim);
  text-decoration: line-through;
  text-decoration-thickness: 1px;
}

.result-comparison-text .ours {
  color: var(--accent-cyan);
  font-weight: 700;
}

@media (max-width: 900px) {
  .moments-grid { grid-template-columns: 1fr; gap: 16px; }
  .steps-grid { grid-template-columns: 1fr 1fr; gap: 16px; }
  .comp-row { grid-template-columns: 1fr; }
  .comp-row > div { border-right: none; padding: 16px 20px; }
  .comp-row.head { display: none; }
  .comp-them::before { content: '一般的な代行会社'; display: block; font-family: var(--display); font-size: 10px; letter-spacing: 0.2em; color: var(--text-dim); margin-bottom: 8px; }
  .comp-us::before { content: 'DemBox'; position: static; display: block; width: auto; height: auto; background: none; font-family: var(--display); font-size: 10px; letter-spacing: 0.2em; color: var(--accent-cyan); margin-bottom: 8px; }
  .results-grid { grid-template-columns: 1fr; gap: 16px; }
}
@media (max-width: 900px) {
  .site-header { padding: 16px 24px; }
  .site-header.scrolled { padding: 12px 24px; }
  .nav { display: none; position: fixed; top: 0; right: 0; height: 100vh; width: 100%; background: #f5f3f0; flex-direction: column; justify-content: center; gap: 32px; }
  .nav.active { display: flex; }
  .menu-toggle { display: block; z-index: 101; }
  section { padding: 80px 24px; }
  .service-card { grid-template-columns: 1fr; gap: 40px; margin-bottom: 80px; }
  .service-card:nth-child(even) .service-content { order: 0; }
  .case-grid { grid-template-columns: 1fr; gap: 24px; }
  .case-grid--three { grid-template-columns: 1fr; }
  .case-grid--single .case-card {
    grid-template-columns: 1fr;
  }
  .case-grid--single .case-image {
    aspect-ratio: 16/10;
    min-height: auto;
  }
  .case-grid--single .case-content {
    padding: 28px 24px;
  }
  .case-grid--single .case-title {
    font-size: 20px;
  }
  .case-grid--single .case-excerpt {
    font-size: 13px;
  }
  .case-grid--single .case-result-value {
    font-size: 26px;
  }
  .news-item { grid-template-columns: 1fr; gap: 8px; padding: 24px 0; }
  .news-arrow { display: none; }
  .footer-top { grid-template-columns: 1fr; gap: 32px; margin-bottom: 48px; }
  .footer-bottom { flex-direction: column; gap: 16px; text-align: center; }
  .about-block { grid-template-columns: 1fr; gap: 32px; }
  .company-table th { width: 140px; padding: 16px 8px; font-size: 11px; }
  .company-table td { padding: 16px 8px; font-size: 14px; }
  .page-hero { padding: 140px 24px 60px; }
  .about-section { padding: 60px 24px; }
}

/* ============================================
   STRONG MOBILE RESPONSIVE FIX (v2)
   スマホ対応の決定版
   ============================================ */

/* グローバル：横スクロール防止 */
html, body {
  max-width: 100%;
  overflow-x: hidden;
}

/* タブレット以下 */
@media (max-width: 768px) {

  /* ヘッダー */
  .site-header {
    padding: 14px 20px;
  }
  .logo {
    font-size: 18px;
  }

  /* セクション全般のパディング */
  section {
    padding: 60px 20px !important;
  }
  .container {
    padding: 0;
    max-width: 100%;
  }

  /* ヒーロー */
  .hero {
    min-height: 90vh;
    padding: 0 20px;
  }
  .hero-content {
    padding: 0;
    max-width: 100%;
  }
  .hero-eyebrow {
    font-size: 10px;
    margin-bottom: 16px;
  }
  .hero-title {
    font-size: clamp(40px, 12vw, 64px) !important;
    line-height: 1.2;
    white-space: normal;
    margin-bottom: 16px;
    letter-spacing: 0.02em;
  }
  .hero-subtitle {
    font-size: 11px;
    letter-spacing: 0.2em;
    margin-bottom: 24px;
  }
  .hero-tagline-en {
    font-size: 9px;
    letter-spacing: 0.15em;
    line-height: 1.6;
  }
  .scroll-indicator {
    bottom: 32px;
  }

  /* セクション見出し */
  .section-eyebrow {
    font-size: 10px;
    margin-bottom: 12px;
  }
  .section-title {
    font-size: clamp(24px, 6vw, 32px) !important;
    line-height: 1.4;
    margin-bottom: 8px;
  }
  .section-title-en {
    font-size: 11px;
    margin-bottom: 40px;
  }

  /* Philosophy */
  .philosophy-quote {
    font-size: 16px !important;
    line-height: 2;
    margin-bottom: 40px;
    padding: 0;
  }
  .moments-grid {
    grid-template-columns: 1fr !important;
    gap: 16px;
  }
  .moment-card {
    padding: 24px 20px !important;
  }
  .moment-num {
    font-size: 10px;
    margin-bottom: 12px;
  }
  .moment-title {
    font-size: 17px;
    margin-bottom: 12px;
    line-height: 1.5;
  }
  .moment-title br {
    display: none; /* スマホでは1行で表示 */
  }
  .moment-desc {
    font-size: 13px;
    line-height: 1.9;
  }

  /* Services */
  .service-card {
    grid-template-columns: 1fr !important;
    gap: 32px !important;
    margin-bottom: 60px !important;
  }
  .service-card:nth-child(even) .service-content {
    order: 0 !important;
  }
  .service-content {
    padding: 0 !important;
  }
  .service-number {
    font-size: 10px;
    margin-bottom: 8px;
  }
  .service-name {
    font-size: 28px !important;
    margin-bottom: 4px;
  }
  .service-name-jp {
    font-size: 13px;
    margin-bottom: 16px;
  }
  .service-desc {
    font-size: 13px !important;
    line-height: 1.9;
    margin-bottom: 20px;
  }
  .service-features li {
    font-size: 12px;
    padding: 8px 0;
    line-height: 1.6;
  }
  .service-link {
    font-size: 11px;
    padding: 12px 20px;
  }
  .service-visual {
    aspect-ratio: 4/3;
    width: 100%;
    max-width: 100%;
  }
  .service-visual svg {
    width: 75% !important;
    height: auto !important;
  }

  /* News */
  .news-list li {
    border-bottom: 1px solid var(--border);
  }
  .news-item {
    grid-template-columns: 1fr !important;
    gap: 6px !important;
    padding: 20px 0 !important;
  }
  .news-date {
    font-size: 11px;
  }
  .news-tag {
    font-size: 9px;
    padding: 3px 8px;
    width: fit-content;
  }
  .news-title {
    font-size: 14px !important;
    line-height: 1.7;
  }
  .news-arrow {
    display: none;
  }

  /* Page Hero */
  .page-hero {
    padding: 100px 20px 50px !important;
    min-height: auto;
  }
  .page-title-en {
    font-size: 11px;
    margin-bottom: 8px;
  }
  .page-title {
    font-size: clamp(32px, 8vw, 48px) !important;
    line-height: 1.3;
  }

  /* About */
  .about-section {
    padding: 50px 20px !important;
  }
  .about-block {
    grid-template-columns: 1fr !important;
    gap: 24px !important;
    max-width: 100% !important;
  }
  .about-block.about-block-stacked {
    max-width: 100% !important;
  }
  .about-block-title {
    font-size: 24px !important;
    line-height: 1.4;
  }
  .about-block-title small {
    font-size: 10px;
    margin-bottom: 8px;
  }
  .about-block-body {
    font-size: 14px;
  }
  .about-block-body p {
    font-size: 14px;
    line-height: 1.95;
    margin-bottom: 16px;
  }

  /* Company Table */
  .company-table {
    width: 100% !important;
    display: block;
  }
  .company-table tr {
    display: grid;
    grid-template-columns: 1fr;
    gap: 4px;
    padding: 16px 0;
    border-bottom: 1px solid var(--border);
  }
  .company-table th,
  .company-table td {
    width: 100% !important;
    padding: 0 !important;
    text-align: left;
    border: none !important;
    display: block;
  }
  .company-table th {
    font-size: 10px !important;
    color: var(--accent-cyan);
    margin-bottom: 4px;
  }
  .company-table td {
    font-size: 13px !important;
    color: var(--text-muted);
  }

  /* Cases */
  .case-grid {
    grid-template-columns: 1fr !important;
    gap: 24px !important;
  }
  .case-card {
    /* 正方形すぎ問題対策 */
  }
  .case-image {
    aspect-ratio: 16/9 !important;
  }
  .case-content {
    padding: 24px 20px !important;
  }
  .case-meta {
    font-size: 11px;
    margin-bottom: 8px;
  }
  .case-title {
    font-size: 18px !important;
    line-height: 1.5;
    margin-bottom: 12px;
  }
  .case-excerpt {
    font-size: 13px !important;
    line-height: 1.8;
    margin-bottom: 20px;
  }
  .case-results {
    gap: 20px;
  }
  .case-result-value {
    font-size: 28px !important;
  }
  .case-result-label {
    font-size: 10px;
  }

  /* Contact */
  .contact-section {
    padding: 50px 20px 80px !important;
  }
  .contact-wrap {
    max-width: 100% !important;
  }
  .contact-intro {
    font-size: 14px !important;
    line-height: 1.95;
    margin-bottom: 40px;
  }
  .contact-form-wrap {
    padding: 32px 20px !important;
  }
  .contact-form-wrap input[type="text"],
  .contact-form-wrap input[type="email"],
  .contact-form-wrap input[type="tel"],
  .contact-form-wrap textarea,
  .contact-form-wrap select {
    padding: 12px 14px;
    font-size: 14px;
  }
  .contact-form-wrap label {
    font-size: 10px !important;
    margin-top: 18px !important;
    margin-bottom: 8px !important;
  }
  .contact-form-wrap input[type="submit"] {
    padding: 14px;
    font-size: 12px;
    letter-spacing: 0.2em;
  }
  .contact-direct {
    margin-top: 40px !important;
    padding: 24px 16px !important;
  }
  .contact-direct-mail {
    font-size: 16px !important;
  }
  .contact-direct-note {
    font-size: 11px;
    margin-top: 8px;
  }

  /* Footer */
  .site-footer {
    padding: 50px 20px 30px !important;
  }
  .footer-top {
    grid-template-columns: 1fr !important;
    gap: 32px !important;
    margin-bottom: 32px !important;
  }
  .footer-brand .logo {
    font-size: 18px;
  }
  .footer-tagline {
    font-size: 13px;
    line-height: 1.9;
    margin-bottom: 16px;
  }
  .footer-col h4 {
    font-size: 10px;
    margin-bottom: 14px;
  }
  .footer-col ul li {
    margin-bottom: 8px;
  }
  .footer-col ul li a {
    font-size: 12px;
  }
  .footer-bottom {
    flex-direction: column;
    gap: 12px;
    text-align: center;
    font-size: 9px;
    padding-top: 24px;
  }

  /* Buttons & Forms general */
  .service-link {
    font-size: 11px;
  }

  /* Aurora effects軽量化 */
  .aurora {
    opacity: 0.5;
  }
}

/* 小型スマホ（iPhone SE等）追加対応 */
@media (max-width: 380px) {
  section {
    padding: 50px 16px !important;
  }
  .hero {
    padding: 0 16px;
  }
  .hero-title {
    font-size: 38px !important;
  }
  .section-title {
    font-size: 22px !important;
  }
  .case-content,
  .moment-card {
    padding: 20px 16px !important;
  }
  .contact-form-wrap {
    padding: 24px 16px !important;
  }
}

/* ============================================
   v1.2 ULTIMATE MOBILE FIX
   完全な横スクロール防止 & はみ出し対策
   ============================================ */

/* 全要素を画面内に強制収納 */
*, *::before, *::after {
  max-width: 100%;
  box-sizing: border-box;
}

/* ルート要素の絶対的な横幅制御 */
html {
  overflow-x: hidden !important;
  width: 100% !important;
  max-width: 100vw !important;
}

body {
  overflow-x: hidden !important;
  width: 100% !important;
  max-width: 100vw !important;
  position: relative;
}

/* 画像とSVGの強制リサイズ */
img, svg, video, iframe {
  max-width: 100% !important;
  height: auto;
}

/* インライン要素の幅制御 */
[style*="width"] {
  max-width: 100% !important;
}

/* テーブルもはみ出さないように */
table {
  max-width: 100% !important;
  width: 100% !important;
}

/* 【スマホのみ】section等への max-width: 100% 強制
   v1.5.1: PCでは外して本来のmax-width制約を活かす */
@media (max-width: 768px) {
  section, header, footer, main, article, aside, div {
    max-width: 100% !important;
  }
}

/* タブレット以下 */
@media (max-width: 768px) {

  /* ============ ヒーロー再修正 ============ */
  .hero-title {
    font-size: clamp(34px, 11vw, 56px) !important;
    line-height: 1.25 !important;
    white-space: normal !important;
    word-break: keep-all !important;
    overflow-wrap: break-word !important;
    padding: 0 8px !important;
    /* 「を」が浮かないよう、文字を一塊にする */
    display: block !important;
  }

  /* ============ MOMENT カード修正 ============ */
  .moments-grid {
    display: block !important;
    width: 100% !important;
    padding: 0 !important;
    margin: 0 !important;
  }
  .moment-card {
    display: block !important;
    width: 100% !important;
    max-width: 100% !important;
    padding: 24px 20px !important;
    margin: 0 0 16px 0 !important;
    box-sizing: border-box !important;
  }

  /* ============ SERVICE カード完全修正 ============ */
  .services .container {
    padding: 0 !important;
  }
  .service-card {
    display: block !important;
    width: 100% !important;
    max-width: 100% !important;
    grid-template-columns: 1fr !important;
    margin-bottom: 60px !important;
    padding: 0 !important;
  }
  .service-content {
    width: 100% !important;
    max-width: 100% !important;
    padding: 0 !important;
    margin-bottom: 32px !important;
  }
  .service-visual {
    width: 100% !important;
    max-width: 100% !important;
    aspect-ratio: 4/3 !important;
    margin: 0 auto !important;
    position: relative !important;
    overflow: hidden !important;
  }
  /* SVG完全制御 */
  .service-visual svg {
    position: absolute !important;
    top: 50% !important;
    left: 50% !important;
    transform: translate(-50%, -50%) !important;
    width: 80% !important;
    max-width: 80% !important;
    height: auto !important;
  }
  /* インラインstyleで指定された幅を上書き */
  .service-visual [style*="width"] {
    width: 80% !important;
    max-width: 80% !important;
  }

  /* ============ Aboutページ完全修正 ============ */
  .about-section {
    padding: 50px 20px !important;
    width: 100% !important;
    max-width: 100% !important;
    box-sizing: border-box !important;
    overflow: hidden !important;
  }
  .about-block,
  .about-block.about-block-stacked {
    display: block !important;
    width: 100% !important;
    max-width: 100% !important;
    grid-template-columns: 1fr !important;
    gap: 24px !important;
    padding: 0 !important;
    margin: 0 !important;
  }
  .about-block-title {
    width: 100% !important;
    max-width: 100% !important;
    font-size: 22px !important;
    line-height: 1.4 !important;
    margin-bottom: 16px !important;
  }
  .about-block-body {
    width: 100% !important;
    max-width: 100% !important;
  }
  .about-block-body p {
    width: 100% !important;
    max-width: 100% !important;
    font-size: 14px !important;
    line-height: 1.95 !important;
    margin-bottom: 16px !important;
  }

  /* 会社情報テーブル超強制縦並び */
  .company-table,
  .company-table tbody,
  .company-table tr,
  .company-table th,
  .company-table td {
    display: block !important;
    width: 100% !important;
    max-width: 100% !important;
    box-sizing: border-box !important;
  }
  .company-table tr {
    padding: 16px 0 !important;
    border-bottom: 1px solid var(--border) !important;
  }
  .company-table th {
    font-family: var(--display) !important;
    font-size: 10px !important;
    letter-spacing: 0.2em !important;
    text-transform: uppercase !important;
    color: var(--accent-cyan) !important;
    margin-bottom: 6px !important;
    padding: 0 !important;
    border: none !important;
    text-align: left !important;
  }
  .company-table td {
    font-size: 13px !important;
    color: var(--text-muted) !important;
    padding: 0 !important;
    border: none !important;
    line-height: 1.7 !important;
  }
  /* テーブル内のインラインspanも調整 */
  .company-table td span[style] {
    display: inline-block !important;
    margin-left: 0 !important;
  }

  /* ============ ヘッダー再調整 ============ */
  .site-header {
    width: 100% !important;
    max-width: 100% !important;
    padding: 14px 20px !important;
    box-sizing: border-box !important;
  }
  .logo {
    letter-spacing: 0.04em !important;
    font-size: 18px !important;
  }

  /* ============ Container全般 ============ */
  .container {
    width: 100% !important;
    max-width: 100% !important;
    padding: 0 !important;
    margin: 0 !important;
  }

  /* セクション全般 */
  section {
    width: 100% !important;
    max-width: 100% !important;
    padding: 60px 20px !important;
    box-sizing: border-box !important;
    overflow: hidden !important;
  }
}

/* 小型スマホ追加対応 */
@media (max-width: 380px) {
  section {
    padding: 50px 16px !important;
  }
  .hero-title {
    font-size: 32px !important;
  }
  .moment-card,
  .service-content {
    padding: 20px 16px !important;
  }
  .case-content {
    padding: 20px 16px !important;
  }
  .about-section {
    padding: 40px 16px !important;
  }
  .about-block-title {
    font-size: 20px !important;
  }
}

/* ============================================
   v1.4.0 New Service Logos: Floating Particles
   ノートPCデザインの背景アニメーション
   ============================================ */

/* パーティクルコンテナ */
.cs-particles {
  position: absolute;
  inset: 0;
  pointer-events: none;
  overflow: hidden;
  z-index: 0;
}

/* 個別パーティクル */
.cs-particles span {
  position: absolute;
  bottom: -10px;
  border-radius: 50%;
  opacity: 0;
  animation-name: dembox-floatUp;
  animation-iteration-count: infinite;
  animation-timing-function: linear;
}

/* ふわっと浮上するアニメーション */
@keyframes dembox-floatUp {
  0% {
    transform: translateY(0);
    opacity: 0;
  }
  10% {
    opacity: 0.6;
  }
  90% {
    opacity: 0.6;
  }
  100% {
    transform: translateY(-400px);
    opacity: 0;
  }
}

/* スマホでアニメーションを軽量化 */
@media (max-width: 768px) {
  .cs-particles span {
    animation-duration: calc(var(--duration, 8s) * 1.2) !important;
  }
}

/* 「動きを減らす」設定の人向け */
@media (prefers-reduced-motion: reduce) {
  .cs-particles span {
    animation: none;
    opacity: 0.4;
    transform: translateY(-200px);
  }
}

/* ============================================
   v1.4.0 PC版レイアウト中央寄せ強制（v1.3.2の修正）
   ============================================ */

@media (min-width: 769px) {
  .about-block {
    margin-left: auto !important;
    margin-right: auto !important;
    max-width: 1280px !important;
  }
  
  .about-block.about-block-stacked {
    margin-left: auto !important;
    margin-right: auto !important;
    max-width: 880px !important;
  }
  
  .about-section {
    padding-left: 48px !important;
    padding-right: 48px !important;
  }
  
  .about-section .container {
    margin-left: auto !important;
    margin-right: auto !important;
    max-width: 1280px !important;
  }
}

/* ============================================
   v1.5.0 Hot Fixes
   - スマホ版「を」改行問題（v1.3.1再適用）
   - スマホ版パーティクルが線になる問題
   ============================================ */

/* ============ 「を」改行問題対策 ============ */
@media (max-width: 768px) {
  .hero-title {
    word-break: keep-all !important;
    overflow-wrap: normal !important;
    white-space: normal !important;
    font-size: clamp(32px, 10vw, 52px) !important;
    letter-spacing: 0.02em !important;
    padding: 0 12px !important;
    box-sizing: border-box !important;
  }
}

@media (max-width: 380px) {
  .hero-title {
    font-size: 30px !important;
    letter-spacing: 0 !important;
  }
}

/* ============ パーティクルが線にならないように ============ */
/* v1.2で追加した`*`への max-width: 100% が
   パーティクル span に干渉して横長になるのを防ぐ */
.cs-particles span {
  max-width: none !important;
  display: block !important;
  /* インラインstyleで指定したwidth/heightを尊重 */
}

/* スマホでも確実に点として表示 */
@media (max-width: 768px) {
  .cs-particles span {
    max-width: 3px !important;
    max-height: 3px !important;
    border-radius: 50% !important;
  }
}

/* ============================================
   v1.5.1 PC版Contactページレイアウト保護
   - フォームが画面全幅に広がる問題の修正
   ============================================ */

@media (min-width: 769px) {
  /* Contactラッパーを中央寄せ・最大幅720pxに固定 */
  .contact-wrap {
    max-width: 720px !important;
    margin-left: auto !important;
    margin-right: auto !important;
  }
  
  /* フォームの中身も適切な幅に */
  .contact-form-wrap {
    max-width: 720px !important;
    margin: 0 auto !important;
  }
  
  /* セクション自体のpaddingを確保 */
  .contact-section {
    padding-left: 24px !important;
    padding-right: 24px !important;
  }
}

/* ============================================
   v1.5.2 Contact Form 7 余白＆textarea高さ修正
   - ラベルと入力欄の間隔を狭く
   - スマホでtextareaが画面いっぱいになる問題
   - パーティクルが線になる問題の根本対策
   ============================================ */

/* Contact Form 7はラベルと入力欄を <p> タグでラップする
   その<p>タグのデフォルト余白を削除 */
.contact-form-wrap p,
.contact-form-wrap .wpcf7-form p {
  margin: 0 !important;
  padding: 0 !important;
  line-height: 1.4 !important;
}

/* spanタグも同様（CF7が<span>でラップする場合あり） */
.contact-form-wrap .wpcf7-form-control-wrap {
  display: block !important;
  margin: 0 !important;
  padding: 0 !important;
}

/* ラベルと入力欄の間隔をタイトに */
.contact-form-wrap label {
  display: block !important;
  margin-top: 24px !important;
  margin-bottom: 8px !important;
  line-height: 1.4 !important;
}

.contact-form-wrap label:first-of-type,
.contact-form-wrap p:first-of-type label {
  margin-top: 0 !important;
}

/* textareaの高さを抑える */
.contact-form-wrap textarea {
  min-height: 120px !important;
  height: 120px !important;
  max-height: 200px !important;
  resize: vertical !important;
}

/* 入力欄全般、間隔調整 */
.contact-form-wrap input[type="text"],
.contact-form-wrap input[type="email"],
.contact-form-wrap input[type="tel"],
.contact-form-wrap select {
  margin: 0 !important;
  display: block !important;
  width: 100% !important;
  box-sizing: border-box !important;
}

/* ============ スマホ版調整 ============ */
@media (max-width: 768px) {
  .contact-form-wrap label {
    margin-top: 18px !important;
    margin-bottom: 6px !important;
  }
  .contact-form-wrap textarea {
    min-height: 100px !important;
    height: 100px !important;
    max-height: 160px !important;
  }
  /* input/textareaのpaddingもコンパクトに */
  .contact-form-wrap input[type="text"],
  .contact-form-wrap input[type="email"],
  .contact-form-wrap input[type="tel"],
  .contact-form-wrap textarea,
  .contact-form-wrap select {
    padding: 10px 14px !important;
  }
}

/* ============ パーティクルが線になる問題の根本対策 ============ */
/* インラインstyleで指定したwidth/heightを最優先で使う */
.cs-particles span[style] {
  display: block !important;
  border-radius: 50% !important;
  box-sizing: border-box !important;
  /* widthとheightはインラインstyleで指定された値を使う（max-widthで縮小しない） */
  max-width: none !important;
  max-height: none !important;
}

/* スマホでも点として表示されるよう、明示的にサイズ強制 */
@media (max-width: 768px) {
  .cs-particles span {
    width: 2px !important;
    height: 2px !important;
    max-width: 2px !important;
    max-height: 2px !important;
    border-radius: 50% !important;
    display: block !important;
  }
}

/* ============================================
   スマホ版：画面はみ出し対策（強化版 v5.3）
   ============================================ */
@media (max-width: 768px) {
  /* グローバル */
  html, body {
    overflow-x: hidden !important;
    max-width: 100vw !important;
  }
  
  /* 全要素 box-sizing 強制 */
  *, *::before, *::after {
    box-sizing: border-box !important;
    max-width: 100%;
  }
  
  /* セクション全体の幅制限 */
  section, main {
    max-width: 100vw !important;
    overflow-x: hidden !important;
  }
  
  /* editorial系：左右パディング統一 + 1列強制 */
  .editorial-section {
    padding-left: 20px !important;
    padding-right: 20px !important;
    overflow: hidden !important;
  }
  .editorial-container,
  .editorial-container--wide {
    padding-left: 0 !important;
    padding-right: 0 !important;
    grid-template-columns: 1fr !important;
    gap: 24px !important;
    max-width: 100% !important;
  }
  .editorial-main,
  .editorial-main--full {
    max-width: 100% !important;
    width: 100% !important;
    overflow: hidden !important;
  }
  .editorial-sidebar {
    max-width: 100% !important;
  }
  
  /* タイトル */
  .editorial-title {
    font-size: clamp(24px, 6.5vw, 32px) !important;
    word-break: keep-all;
    overflow-wrap: anywhere;
    max-width: 100%;
  }
  .editorial-tagline {
    font-size: 10px !important;
    margin-bottom: 28px !important;
  }
  
  /* SERVICESサブ説明 */
  .editorial-subdesc {
    font-size: 13px !important;
    line-height: 1.85;
    margin: -28px 0 24px !important;
    word-break: keep-all;
    overflow-wrap: anywhere;
    max-width: 100%;
  }
  .editorial-subdesc br {
    display: none !important;
  }
  
  /* OUR WHY 本文 */
  .why-text-body {
    max-width: 100% !important;
  }
  .why-paragraph {
    font-size: 14px !important;
    line-height: 1.95 !important;
    word-break: keep-all !important;
    overflow-wrap: anywhere !important;
    max-width: 100% !important;
  }
  .why-paragraph br {
    display: none !important;
  }
  
  /* About Mission本文の改行も無効 */
  .our-why-section .why-paragraph br {
    display: none !important;
  }
  
  /* TOPのサービスシンプルカード：1列に */
  .services-cards-wrap {
    grid-template-columns: 1fr !important;
    padding: 0 !important;
    gap: 16px !important;
  }
  .service-card-simple {
    grid-template-columns: 1fr 1fr !important;
    gap: 12px !important;
    padding: 20px 16px !important;
    align-items: center;
  }
  .service-simple-visual {
    order: 0 !important;
  }
  .service-simple-content {
    gap: 10px !important;
  }
  .service-simple-logo .logo-text {
    font-size: 14px !important;
  }
  .service-simple-title {
    font-size: 13px !important;
    line-height: 1.4 !important;
  }
  .service-simple-desc {
    font-size: 11px !important;
    line-height: 1.6 !important;
  }
  .service-simple-btn {
    font-size: 11px !important;
    padding: 8px 14px !important;
  }
  .service-simple-visual svg {
    max-width: 100% !important;
    width: 100% !important;
    height: auto !important;
  }
  
  /* Serviceページ：stackを画面いっぱいに */
  .service-detail-stack {
    max-width: 100% !important;
    width: 100% !important;
    align-items: stretch !important;
    text-align: left !important;
    gap: 24px !important;
  }
  .service-detail-stack .service-detail-visual {
    max-width: 100% !important;
    width: 100% !important;
    overflow: hidden !important;
  }
  .service-detail-stack .service-detail-visual svg {
    max-width: 100% !important;
    width: 100% !important;
    height: auto !important;
    display: block !important;
  }
  .service-detail-stack .service-detail-text {
    max-width: 100% !important;
    width: 100% !important;
    align-items: stretch !important;
    text-align: left !important;
    gap: 16px !important;
  }
  .service-detail-stack .service-detail-lead,
  .service-detail-stack .service-detail-desc {
    text-align: left !important;
    word-break: keep-all !important;
    overflow-wrap: anywhere !important;
    max-width: 100% !important;
  }
  .service-detail-lead {
    font-size: 16px !important;
    line-height: 1.8 !important;
  }
  .service-detail-desc {
    font-size: 13px !important;
    line-height: 1.9 !important;
  }
  .service-detail-lead br,
  .service-detail-desc br {
    display: none !important;
  }
  .service-detail-features {
    width: 100% !important;
    max-width: 100% !important;
    padding: 0 !important;
  }
  .service-detail-features li {
    font-size: 12px !important;
  }
  .service-detail-stack .service-detail-cta {
    align-self: flex-start !important;
  }
  
  /* ★★★ CASESカード：根本的に画面幅内に ★★★ */
  .case-grid,
  .case-grid--single,
  .case-grid--three {
    padding: 0 !important;
    margin: 0 !important;
    max-width: 100% !important;
    width: 100% !important;
    grid-template-columns: 1fr !important;
    gap: 16px !important;
  }
  .case-grid--single .case-card,
  .case-grid--three .case-card,
  .case-card {
    grid-template-columns: 1fr !important;
    display: block !important;
    max-width: 100% !important;
    width: 100% !important;
    margin: 0 !important;
    overflow: hidden !important;
  }
  .case-grid--single .case-image,
  .case-image {
    width: 100% !important;
    max-width: 100% !important;
    aspect-ratio: 16/10 !important;
    min-height: auto !important;
    max-height: 240px !important;
    height: auto !important;
  }
  .case-grid--single .case-content,
  .case-content {
    padding: 20px 16px !important;
    max-width: 100% !important;
    width: 100% !important;
    box-sizing: border-box !important;
  }
  .case-meta {
    font-size: 10px !important;
    word-break: keep-all !important;
    overflow-wrap: anywhere !important;
    max-width: 100% !important;
  }
  .case-title {
    font-size: 16px !important;
    line-height: 1.5 !important;
    word-break: keep-all !important;
    overflow-wrap: anywhere !important;
    max-width: 100% !important;
  }
  .case-excerpt {
    font-size: 12px !important;
    line-height: 1.7 !important;
    margin-bottom: 16px !important;
    word-break: keep-all !important;
    overflow-wrap: anywhere !important;
    max-width: 100% !important;
    -webkit-line-clamp: unset !important;
    display: block !important;
    overflow: visible !important;
  }
  .case-results {
    display: flex !important;
    flex-direction: row !important;
    flex-wrap: wrap !important;
    gap: 24px !important;
    padding-top: 14px !important;
    margin: 0 !important;
    max-width: 100% !important;
    width: 100% !important;
    justify-content: flex-start !important;
  }
  .case-result {
    flex: 0 0 auto !important;
    min-width: 0 !important;
    max-width: calc(50% - 12px) !important;
  }
  .case-result-value {
    font-size: 22px !important;
    white-space: nowrap !important;
  }
  .case-result-label {
    font-size: 10px !important;
    letter-spacing: 0.05em !important;
    word-break: keep-all !important;
    overflow-wrap: anywhere !important;
    line-height: 1.5 !important;
  }
  
  /* About Company table */
  .editorial-company-table {
    width: 100% !important;
    table-layout: fixed !important;
  }
  .editorial-company-table th {
    width: 90px !important;
    font-size: 10px !important;
    padding: 12px 12px 12px 0 !important;
    word-break: keep-all !important;
    vertical-align: top;
  }
  .editorial-company-table td {
    font-size: 12px !important;
    padding: 12px 0 !important;
    word-break: keep-all !important;
    overflow-wrap: anywhere !important;
  }
  
  /* Page Hero */
  .page-hero {
    padding-left: 20px !important;
    padding-right: 20px !important;
  }
  .page-title {
    font-size: clamp(26px, 7vw, 36px) !important;
  }
  
  /* 装飾の四角を画面外にしない */
  .editorial-section::before,
  .editorial-section::after {
    max-width: 50vw !important;
    max-height: 50vw !important;
  }
  
  /* SVG全般 */
  svg {
    max-width: 100% !important;
    height: auto !important;
  }
}
