/* =========================================================
   TechBull — Dark Brand Design System
   重厚(ダークネイビー) × データ × ブランドグラデ(cyan→purple→magenta)
   ========================================================= */
:root {
  --navy-900: #060f19;
  --navy-800: #0a1826;
  --navy-700: #0b1f33;
  --navy-600: #12304a;
  --line: rgba(255, 255, 255, 0.09);
  --line-strong: rgba(255, 255, 255, 0.16);
  --text: #e8edf3;
  --text-mut: #9fb0c2;
  --text-dim: #6b7f92;
  --cyan: #22d3ee;
  --purple: #a06eff;
  --magenta: #ff4fa3;
  --brand: linear-gradient(100deg, #22d3ee 0%, #a06eff 52%, #ff4fa3 100%);
  --brand-soft: linear-gradient(
    135deg,
    rgba(34, 211, 238, 0.16),
    rgba(255, 79, 163, 0.16)
  );
  --radius: 16px;
  --shadow: 0 20px 50px rgba(0, 0, 0, 0.45);
}

*,
*::before,
*::after {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}
html {
  scroll-behavior: smooth;
}
body.dark {
  font-family: "Inter", "Noto Sans JP", sans-serif;
  font-size: 16px;
  color: var(--text);
  background: var(--navy-800);
  line-height: 1.6;
  overflow-x: hidden;
}
a {
  text-decoration: none;
  color: inherit;
}
img {
  display: block;
  max-width: 100%;
}
.section-inner {
  width: 100%;
  max-width: 1180px;
  margin: 0 auto;
  padding: 0 40px;
}
/* 日本語テキストがコンテナ幅を超えないよう保険 */
.hero-body,
.section-sub,
.cd-lead,
.card-body,
.about-body,
.case-card-desc,
.cd-p {
  overflow-wrap: break-word;
  word-break: normal;
}

/* ---- 共通見出し ---- */
.section-header {
  text-align: center;
  max-width: 720px;
  margin: 0 auto 56px;
}
.section-label {
  display: inline-block;
  font-size: 13px;
  font-weight: 700;
  letter-spacing: 0.22em;
  margin-bottom: 14px;
  background: var(--brand);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
}
.section-title {
  font-size: 40px;
  font-weight: 800;
  letter-spacing: 0.01em;
  color: #fff;
  line-height: 1.25;
}
.section-sub {
  margin-top: 18px;
  color: var(--text-mut);
  font-size: 16px;
}

/* ---- ボタン ---- */
.btn-brand {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 14px 28px;
  border-radius: 999px;
  font-weight: 700;
  font-size: 15px;
  color: #06121f;
  background: var(--brand);
  border: none;
  cursor: pointer;
  transition:
    transform 0.2s,
    box-shadow 0.2s;
  box-shadow: 0 8px 24px rgba(160, 110, 255, 0.28);
}
.btn-brand:hover {
  transform: translateY(-2px);
  box-shadow: 0 12px 30px rgba(160, 110, 255, 0.42);
}
.btn-ghost {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 14px 28px;
  border-radius: 999px;
  font-weight: 600;
  font-size: 15px;
  color: var(--text);
  border: 1px solid var(--line-strong);
  transition:
    background 0.2s,
    border-color 0.2s;
}
.btn-ghost:hover {
  background: rgba(255, 255, 255, 0.05);
  border-color: var(--cyan);
}

/* ---- ヘッダー ---- */
.header {
  position: sticky;
  top: 0;
  z-index: 100;
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 76px;
  padding: 0 40px;
  background: rgba(8, 19, 31, 0.72);
  backdrop-filter: blur(14px);
  border-bottom: 1px solid var(--line);
}
.header-logo {
  display: flex;
  align-items: center;
  gap: 10px;
}
.logo-mark {
  width: 40px;
  height: 40px;
  object-fit: contain;
  background: #fff;
  border-radius: 9px;
  padding: 4px;
}
.logo-text {
  font-family: "Lato", sans-serif;
  font-size: 20px;
  font-weight: 900;
  letter-spacing: 0.02em;
  color: #fff;
}
.header-nav {
  display: flex;
  align-items: center;
  gap: 8px;
}
.nav-links {
  display: flex;
  align-items: center;
}
.nav-link {
  font-size: 14px;
  font-weight: 600;
  color: var(--text-mut);
  padding: 10px 14px;
  transition: color 0.2s;
}
.nav-link:hover {
  color: #fff;
}
.nav-cta {
  margin-left: 10px;
  padding: 10px 22px;
  border-radius: 999px;
  font-size: 14px;
  font-weight: 700;
  color: #06121f;
  background: var(--brand);
  transition: transform 0.2s;
}
.nav-cta:hover {
  transform: translateY(-1px);
}
.nav-hamburger {
  display: none;
  background: none;
  border: none;
  color: #fff;
  font-size: 26px;
  cursor: pointer;
}

/* ---- ヒーロー ---- */
.hero {
  position: relative;
  overflow: hidden;
}
.hero-bg {
  position: absolute;
  inset: 0;
  background: var(--navy-700) url("images/hero-construction.svg") center/cover
    no-repeat;
  z-index: 0;
}
/* 実写写真レイヤー（images/hero.jpg があれば表示） */
.hero-photo {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center;
  z-index: 0;
}
/* 写真の上に重ねる暗幕（文字の可読性を担保） */
.hero-overlay {
  position: absolute;
  inset: 0;
  z-index: 0;
  background: linear-gradient(
    100deg,
    rgba(6, 15, 25, 0.94) 0%,
    rgba(6, 15, 25, 0.72) 45%,
    rgba(6, 15, 25, 0.35) 100%
  );
}
.hero-content {
  position: relative;
  z-index: 1;
  width: 100%;
  max-width: 1180px;
  margin: 0 auto;
  padding: 130px 40px 120px;
}
.hero-eyebrow {
  display: flex;
  align-items: center;
  gap: 12px;
  font-size: 13px;
  font-weight: 700;
  letter-spacing: 0.22em;
  color: var(--cyan);
  margin-bottom: 24px;
}
.hero-eyebrow-line {
  width: 40px;
  height: 2px;
  background: var(--brand);
}
.hero-title {
  font-size: 56px;
  font-weight: 900;
  line-height: 1.2;
  color: #fff;
  letter-spacing: 0.01em;
  margin-bottom: 26px;
}
.hero-title-accent {
  background: var(--brand);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
}
.hero-body {
  font-size: 18px;
  color: var(--text-mut);
  line-height: 1.9;
  margin-bottom: 38px;
}
.hero-actions {
  display: flex;
  gap: 16px;
  flex-wrap: wrap;
  margin-bottom: 64px;
}
.hero-stats {
  display: flex;
  gap: 40px;
  flex-wrap: wrap;
  padding-top: 32px;
  border-top: 1px solid var(--line);
  max-width: 760px;
}
.hero-stat {
  display: flex;
  flex-direction: column;
  gap: 4px;
}
.hero-stat-num {
  font-size: 24px;
  font-weight: 800;
  background: var(--brand);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
}
.hero-stat-label {
  font-size: 13px;
  color: var(--text-dim);
}

/* ---- 事業内容 ---- */
.section-service {
  padding: 110px 0;
}
.service-cards {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 24px;
}
.service-card {
  padding: 34px 26px;
  border-radius: var(--radius);
  background: linear-gradient(
    180deg,
    rgba(255, 255, 255, 0.045),
    rgba(255, 255, 255, 0.015)
  );
  border: 1px solid var(--line);
  transition:
    transform 0.25s,
    border-color 0.25s,
    box-shadow 0.25s;
}
.service-card:hover {
  transform: translateY(-6px);
  border-color: rgba(160, 110, 255, 0.5);
  box-shadow: 0 18px 40px rgba(0, 0, 0, 0.4);
}
.card-icon {
  width: 64px;
  height: 64px;
  border-radius: 14px;
  display: flex;
  align-items: center;
  justify-content: center;
  background: var(--brand-soft);
  border: 1px solid var(--line);
  margin-bottom: 22px;
}
.card-icon img {
  width: 40px;
  height: 40px;
}
.card-title {
  font-size: 17px;
  font-weight: 700;
  color: #fff;
  line-height: 1.5;
  margin-bottom: 12px;
}
.card-body {
  font-size: 14px;
  color: var(--text-mut);
  line-height: 1.8;
}

/* ---- About ---- */
.section-about {
  padding: 40px 0 110px;
}
.about-grid {
  display: grid;
  grid-template-columns: 0.9fr 1.1fr;
  gap: 60px;
  align-items: center;
}
.about-visual {
  position: relative;
  border-radius: 20px;
  padding: 24px;
  background: linear-gradient(160deg, var(--navy-700), var(--navy-900));
  border: 1px solid var(--line);
  overflow: hidden;
}
.about-visual-glow {
  position: absolute;
  inset: -20% -20% auto auto;
  width: 70%;
  height: 70%;
  background: radial-gradient(
    circle,
    rgba(160, 110, 255, 0.35),
    transparent 70%
  );
  filter: blur(20px);
}
/* ロゴを白カードに載せる（透過抜きの縁問題を回避し、グラデ本来の発色に） */
.about-card {
  position: relative;
  z-index: 1;
  background: #fff;
  border-radius: 14px;
  padding: 44px 32px;
  box-shadow: 0 12px 30px rgba(0, 0, 0, 0.28);
}
.about-bull {
  position: relative;
  z-index: 1;
  display: block;
  width: 100%;
  max-width: 380px;
  margin: 0 auto;
}
.about-text .section-label,
.about-text .section-title {
  text-align: left;
}
.about-text .section-title {
  margin-bottom: 22px;
}
.about-body {
  color: var(--text-mut);
  font-size: 16px;
  line-height: 1.95;
  margin-bottom: 18px;
}
.about-text .btn-brand {
  margin-top: 12px;
}

/* ---- 導入事例 ---- */
.section-cases {
  padding: 110px 0;
  background: var(--navy-900);
}
.case-cards {
  display: flex;
  flex-wrap: wrap;
  gap: 28px;
  justify-content: center;
}
.case-card {
  width: 560px;
  max-width: 100%;
  display: flex;
  border-radius: var(--radius);
  overflow: hidden;
  background: linear-gradient(
    180deg,
    rgba(255, 255, 255, 0.05),
    rgba(255, 255, 255, 0.015)
  );
  border: 1px solid var(--line);
  transition:
    transform 0.25s,
    border-color 0.25s,
    box-shadow 0.25s;
}
.case-card:hover {
  transform: translateY(-4px);
  border-color: rgba(34, 211, 238, 0.5);
  box-shadow: var(--shadow);
}
.case-card-image {
  flex: 0 0 210px;
  background: #fff;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 20px;
}
.case-card-image img {
  width: 100%;
  object-fit: contain;
}
.case-card-body {
  padding: 28px;
  display: flex;
  flex-direction: column;
}
.case-card-tag {
  align-self: flex-start;
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 0.04em;
  color: #06121f;
  background: var(--brand);
  padding: 5px 12px;
  border-radius: 999px;
  margin-bottom: 14px;
}
.case-card-title {
  font-size: 19px;
  font-weight: 700;
  color: #fff;
  margin-bottom: 10px;
}
.case-card-desc {
  font-size: 14px;
  color: var(--text-mut);
  line-height: 1.8;
  margin-bottom: 18px;
  flex: 1;
}
.case-card-link {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  align-self: flex-start;
  font-size: 14px;
  font-weight: 700;
  color: var(--cyan);
}
.case-card:hover .case-card-link {
  gap: 10px;
}

/* ---- お問い合わせ ---- */
.section-contact {
  padding: 110px 0;
}
.contact-form {
  max-width: 640px;
  margin: 0 auto;
}
.form-group {
  margin-bottom: 22px;
}
.form-label {
  display: block;
  font-size: 14px;
  font-weight: 600;
  color: var(--text);
  margin-bottom: 10px;
}
.label-required {
  color: var(--magenta);
}
.form-input,
.form-textarea {
  width: 100%;
  padding: 14px 16px;
  font-size: 15px;
  color: var(--text);
  background: rgba(255, 255, 255, 0.04);
  border: 1px solid var(--line-strong);
  border-radius: 10px;
  outline: none;
  font-family: inherit;
  transition:
    border-color 0.2s,
    background 0.2s;
}
.form-input:focus,
.form-textarea:focus {
  border-color: var(--cyan);
  background: rgba(255, 255, 255, 0.06);
}
.form-textarea {
  min-height: 150px;
  resize: vertical;
}
.form-checkbox {
  display: flex;
  align-items: center;
  gap: 10px;
  margin-bottom: 26px;
}
.checkbox-label {
  font-size: 14px;
  color: var(--text-mut);
}
.inline-link {
  color: var(--cyan);
  text-decoration: underline;
}
.btn-submit {
  justify-content: center;
  width: 100%;
}
.form-note {
  margin-top: 14px;
  font-size: 12px;
  color: var(--text-dim);
  text-align: center;
  line-height: 1.7;
}

/* ---- フッター ---- */
.footer {
  background: var(--navy-900);
  border-top: 1px solid var(--line);
  padding: 64px 0 32px;
}
.footer-inner {
  max-width: 1180px;
  margin: 0 auto;
  padding: 0 40px;
  display: flex;
  justify-content: space-between;
  gap: 40px;
  flex-wrap: wrap;
}
.footer-logo {
  margin-bottom: 18px;
}
.footer-address {
  font-size: 14px;
  color: var(--text-dim);
  line-height: 1.8;
}
.footer-nav {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 8px 40px;
}
.footer-link {
  font-size: 14px;
  color: var(--text-mut);
  transition: color 0.2s;
}
.footer-link:hover {
  color: #fff;
}
.footer-copy {
  max-width: 1180px;
  margin: 40px auto 0;
  padding: 24px 40px 0;
  border-top: 1px solid var(--line);
}
.footer-copy p {
  font-size: 12px;
  color: var(--text-dim);
}

/* ---- モバイルメニュー ---- */
.mobile-menu {
  display: none;
  position: fixed;
  inset: 0;
  z-index: 200;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 28px;
  background: rgba(6, 15, 25, 0.97);
  backdrop-filter: blur(10px);
}
.mobile-menu.open {
  display: flex;
}
.mobile-close {
  position: absolute;
  top: 24px;
  right: 28px;
  background: none;
  border: none;
  color: #fff;
  font-size: 30px;
  cursor: pointer;
}
.mobile-nav {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 20px;
}
.mobile-nav-link {
  font-size: 20px;
  font-weight: 700;
  color: #fff;
}
.mobile-cta {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 2px;
  padding: 14px 32px;
  border-radius: 999px;
  font-weight: 700;
  color: #06121f;
  background: var(--brand);
}
.mobile-cta small {
  font-size: 12px;
  font-weight: 500;
  opacity: 0.8;
}

/* =========================================================
   会社概要 / プライバシー（ダーク版）
   ========================================================= */
.hero-about {
  min-height: 300px;
}
.hero-content-about {
  padding: 120px 40px 90px;
  max-width: 1180px;
  margin: 0 auto;
}
.section-page {
  padding: 80px 0 110px;
}
.page-inner {
  max-width: 900px;
  margin: 0 auto;
  padding: 0 40px;
}
.page-title {
  font-size: 30px;
  font-weight: 800;
  color: #fff;
  margin-bottom: 30px;
}
.about-list {
  list-style: none;
}
.about-list > li {
  padding: 18px 0;
  border-bottom: 1px solid var(--line);
  font-size: 15px;
  color: var(--text-mut);
  line-height: 1.9;
}
.about-list strong {
  color: #fff;
  font-weight: 600;
  margin-right: 6px;
}
.about-list ol {
  margin: 10px 0 0 22px;
  color: var(--text-mut);
  line-height: 1.9;
}
.policy-body {
  color: var(--text-mut);
  line-height: 1.95;
}
.policy-body h3 {
  font-size: 17px;
  font-weight: 700;
  color: #fff;
  margin: 28px 0 10px;
}
.policy-body p {
  margin-bottom: 8px;
}
.policy-meta {
  margin-top: 36px;
  color: var(--text-dim);
  font-size: 14px;
}

/* =========================================================
   事例詳細ページ（ダーク × ブランドグラデ）
   ========================================================= */
.case-bg {
  background: var(--navy-800);
}
.cd-wrap {
  max-width: 960px;
  margin: 0 auto;
  padding: 0 40px;
}
.cd-eyebrow {
  font-size: 13px;
  font-weight: 700;
  letter-spacing: 0.2em;
  margin-bottom: 10px;
  background: var(--brand);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
}
.cd-h2 {
  font-size: 30px;
  font-weight: 800;
  color: #fff;
  margin-bottom: 24px;
}
.cd-p {
  font-size: 16px;
  line-height: 1.95;
  color: var(--text-mut);
  margin-bottom: 16px;
}
.cd-accent {
  font-weight: 800;
  background: var(--brand);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
}
.cd-icon {
  width: 48px;
  height: 48px;
  flex-shrink: 0;
  display: flex;
  align-items: center;
  justify-content: center;
  border-radius: 12px;
  color: #fff;
  font-size: 22px;
  background: var(--brand);
}
.cd-icon-lg {
  font-size: 26px;
}

.cd-hero {
  padding: 100px 0 64px;
  border-bottom: 1px solid var(--line);
  background: var(--navy-700) url("images/hero-construction.svg") right
    center/cover no-repeat;
}
.cd-tags {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin-bottom: 24px;
}
.cd-tag {
  padding: 6px 16px;
  border-radius: 999px;
  font-size: 12px;
  font-weight: 700;
  color: #06121f;
  background: var(--brand);
}
.cd-title {
  font-size: 44px;
  font-weight: 900;
  color: #fff;
  margin-bottom: 22px;
  line-height: 1.25;
}
.cd-lead {
  font-size: 20px;
  color: var(--text-mut);
  line-height: 1.8;
  max-width: 760px;
}

.cd-article {
  padding: 72px 0;
}
.cd-section {
  margin-bottom: 72px;
}
.cd-card {
  background: linear-gradient(
    180deg,
    rgba(255, 255, 255, 0.05),
    rgba(255, 255, 255, 0.015)
  );
  border: 1px solid var(--line);
  border-radius: var(--radius);
}
.cd-overview {
  padding: 32px;
}
.cd-overview-row {
  display: flex;
  align-items: flex-start;
  gap: 16px;
}
.cd-overview-row + .cd-overview-row {
  margin-top: 24px;
}
.cd-overview-label {
  font-size: 13px;
  font-weight: 600;
  color: var(--text-dim);
  margin-bottom: 4px;
}
.cd-overview-row p {
  color: #fff;
  font-weight: 500;
}

.cd-list {
  list-style: none;
  margin-bottom: 24px;
}
.cd-list li {
  display: flex;
  gap: 12px;
  color: var(--text-mut);
  line-height: 1.9;
  margin-bottom: 8px;
}
.cd-dot {
  color: var(--cyan);
}
.cd-quote-box {
  border-left: 3px solid transparent;
  border-image: var(--brand) 1;
  border-radius: 0 12px 12px 0;
  padding: 24px;
  color: var(--text);
  line-height: 1.95;
  background: var(--brand-soft);
}
.cd-support {
  border-left: 3px solid var(--cyan);
  border-radius: 0 16px 16px 0;
  background: rgba(255, 255, 255, 0.03);
  padding: 26px 26px 26px 32px;
  margin-top: 24px;
}
.cd-num {
  width: 40px;
  height: 40px;
  border-radius: 12px;
  background: var(--brand);
  color: #06121f;
  font-weight: 800;
  font-size: 15px;
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 14px;
}
.cd-support-title {
  font-size: 19px;
  font-weight: 700;
  color: #fff;
  margin-bottom: 16px;
}
.cd-support-body {
  color: var(--text-mut);
  line-height: 1.9;
}
.cd-support-body p {
  margin-bottom: 8px;
}
.cd-check {
  list-style: none;
}
.cd-check li {
  display: flex;
  gap: 8px;
  color: var(--text-mut);
  line-height: 1.85;
  margin-bottom: 8px;
}
.cd-check-indent {
  padding-left: 24px;
}
.cd-tick {
  color: var(--cyan);
}

.cd-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 24px;
}
.cd-approach {
  padding: 24px;
  transition:
    border-color 0.2s,
    transform 0.2s;
}
.cd-approach:hover {
  border-color: rgba(160, 110, 255, 0.5);
  transform: translateY(-3px);
}
.cd-approach-head {
  display: flex;
  align-items: center;
  gap: 12px;
  margin-bottom: 16px;
}
.cd-approach-head .cd-icon {
  width: 40px;
  height: 40px;
  font-size: 18px;
}
.cd-approach-head h3 {
  font-size: 16px;
  font-weight: 700;
  color: #fff;
}
.cd-approach p {
  font-size: 14px;
  color: var(--text-mut);
  line-height: 1.85;
}

.cd-result {
  padding: 32px;
  margin-bottom: 24px;
}
.cd-result-head {
  display: flex;
  align-items: center;
  gap: 16px;
  margin-bottom: 16px;
}
.cd-result-head h3 {
  font-size: 23px;
  font-weight: 800;
  color: #fff;
}

.cd-value {
  color: #06121f;
  border-radius: var(--radius);
  padding: 44px;
  line-height: 1.95;
  background: var(--brand);
  box-shadow: 0 20px 50px rgba(160, 110, 255, 0.3);
}
.cd-value p {
  margin-bottom: 22px;
  font-weight: 500;
}
.cd-value strong {
  font-weight: 800;
}
.cd-check-light li {
  color: #0a1a2b;
  font-weight: 500;
}
.cd-check-light .cd-tick {
  color: #06121f;
}
.cd-value-inner {
  background: rgba(255, 255, 255, 0.28);
  backdrop-filter: blur(6px);
  border-radius: 12px;
  padding: 24px;
  margin-top: 22px;
}

.cd-back {
  display: flex;
  justify-content: center;
}
.cd-back-btn {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 13px 28px;
  border-radius: 999px;
  font-size: 14px;
  font-weight: 700;
  color: var(--text);
  border: 1px solid var(--line-strong);
  transition:
    background 0.2s,
    border-color 0.2s;
}
.cd-back-btn:hover {
  background: rgba(255, 255, 255, 0.05);
  border-color: var(--cyan);
}
.cd-cta {
  padding: 90px 0;
  text-align: center;
  border-top: 1px solid var(--line);
}
.cd-cta-inner {
  max-width: 720px;
}
.cd-cta-h2 {
  font-size: 34px;
}
.cd-cta-lead {
  font-size: 18px;
  color: var(--text-mut);
  line-height: 1.9;
  margin-bottom: 38px;
}
.cd-cta-btn {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 16px 40px;
  border-radius: 999px;
  font-weight: 700;
  color: #06121f;
  background: var(--brand);
  transition:
    transform 0.2s,
    box-shadow 0.2s;
}
.cd-cta-btn:hover {
  transform: translateY(-2px);
  box-shadow: 0 12px 30px rgba(160, 110, 255, 0.4);
}

/* =========================================================
   レスポンシブ
   ========================================================= */
@media (max-width: 960px) {
  .service-cards {
    grid-template-columns: 1fr 1fr;
  }
  .about-grid {
    grid-template-columns: 1fr;
    gap: 40px;
  }
  .cd-grid {
    grid-template-columns: 1fr;
  }
  .case-card {
    flex-direction: column;
  }
  .case-card-image {
    flex: none;
  }
}
@media (max-width: 720px) {
  .section-inner,
  .cd-wrap,
  .footer-inner,
  .footer-copy,
  .hero-content,
  .hero-content-about,
  .page-inner {
    padding-left: 22px;
    padding-right: 22px;
  }
  .nav-links,
  .nav-cta {
    display: none;
  }
  .nav-hamburger {
    display: block;
  }
  .hero-content {
    padding-top: 90px;
    padding-bottom: 80px;
  }
  .hero-title {
    font-size: 34px;
  }
  .hero-body {
    font-size: 16px;
  }
  .hero-stats {
    gap: 24px;
  }
  .section-title {
    font-size: 30px;
  }
  .cd-title {
    font-size: 30px;
  }
  .cd-lead {
    font-size: 17px;
  }
  .section-service,
  .section-cases,
  .section-contact {
    padding: 70px 0;
  }
  .service-cards {
    grid-template-columns: 1fr;
  }
  .cd-section {
    margin-bottom: 52px;
  }
  .footer-nav {
    grid-template-columns: 1fr;
  }
  /* 狭幅では強制改行を無効化してはみ出しを防ぐ */
  .hero-body br,
  .section-sub br,
  .cd-lead br {
    display: none;
  }
  .hero-title {
    font-size: 30px;
  }
  .hero-body,
  .section-sub,
  .cd-lead {
    word-break: normal;
    overflow-wrap: anywhere;
  }
  .hero-stats {
    gap: 20px 32px;
  }
  .hero-stat-num {
    font-size: 20px;
  }
}
/* 最終防波堤: どのページでも横スクロールを禁止 */
html,
body.dark {
  max-width: 100%;
  overflow-x: clip;
}
img,
svg {
  max-width: 100%;
}
