/* =========================================================
   ClosetoStar Corporate Site
   --------------------------------------------------------
   1. Tokens (custom properties)
   2. Reset & Base
   3. Utilities
   4. Header / Navigation
   5. Hero
   6. Buttons
   7. Placeholder
   8. Section header
   9. Services
   10. Feature / Stats
   11. CTA band
   12. Footer
   13. Animations
   14. Responsive
   ========================================================= */

/* ============ 1. Tokens ============ */
:root {
  /* color */
  --c-navy:        #0A1F44;
  --c-navy-deep:   #060F26;
  --c-navy-soft:   #1B3A6B;
  --c-white:       #FFFFFF;
  --c-bg:          #F7F8FA;
  --c-bg-soft:     #EEF1F6;
  --c-bg-mute:     #F2F4F8;
  --c-border:      #E2E6EE;
  --c-border-soft: #EBEEF4;
  --c-text:        #15192C;
  --c-text-mute:   #6C7384;
  --c-text-faint:  #97A0B0;
  --c-ph-bg:       #E5E9F0;
  --c-ph-fg:       #98A1B2;

  /* type */
  --f-jp: "Zen Kaku Gothic New", "Hiragino Kaku Gothic ProN",
          "Yu Gothic Medium", "YuGothic", "Meiryo", sans-serif;
  --f-en: "Manrope", system-ui, -apple-system, "Segoe UI", sans-serif;

  /* layout */
  --container-max: 1280px;
  --container-pad: clamp(20px, 4vw, 56px);
  --header-h: 116px;

  /* radius */
  --r-xs: 2px;
  --r-sm: 4px;
  --r-md: 8px;
  --r-lg: 12px;

  /* shadow */
  --sh-sm: 0 1px 2px rgba(10, 31, 68, .04);
  --sh-md: 0 6px 18px rgba(10, 31, 68, .06);
  --sh-lg: 0 14px 38px rgba(10, 31, 68, .10);

  /* motion */
  --ease:     cubic-bezier(.22, 1, .36, 1);
  --ease-out: cubic-bezier(.16, 1, .3, 1);
  --t-fast:   160ms var(--ease);
  --t:        240ms var(--ease);
  --t-slow:   480ms var(--ease);
}

/* ============ 2. Reset & Base ============ */
*,
*::before,
*::after { box-sizing: border-box; }
* { margin: 0; padding: 0; }

html {
  -webkit-text-size-adjust: 100%;
  text-size-adjust: 100%;
  scroll-behavior: smooth;
  scroll-padding-top: var(--header-h);
}

body {
  font-family: var(--f-jp);
  font-weight: 400;
  font-size: 16px;
  line-height: 1.75;
  color: var(--c-text);
  background: var(--c-white);
  font-feature-settings: "palt" 1;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  text-rendering: optimizeLegibility;
  /* 日本語の不自然な改行（"研｜修" 等の単語分断）を抑制 */
  line-break: strict;
  word-break: normal;
  overflow-wrap: anywhere;
}

/* 日本語テキスト要素には auto-phrase を効かせる（対応ブラウザで自然な文節改行） */
h1, h2, h3, h4, p, li, dt, dd, summary {
  word-break: auto-phrase;
}

img, svg, video {
  display: block;
  max-width: 100%;
  height: auto;
}

button {
  background: none;
  border: 0;
  cursor: pointer;
  font: inherit;
  color: inherit;
}

a {
  color: inherit;
  text-decoration: none;
  transition: color var(--t-fast), opacity var(--t-fast);
}

ul { list-style: none; }

::selection {
  background: var(--c-navy);
  color: var(--c-white);
}

:focus-visible {
  outline: 2px solid var(--c-navy);
  outline-offset: 3px;
  border-radius: 2px;
}

/* ============ 3. Utilities ============ */
.container {
  width: 100%;
  max-width: var(--container-max);
  margin-inline: auto;
  padding-inline: var(--container-pad);
}

.skip-link {
  position: absolute;
  left: 0;
  top: -100px;
  background: var(--c-navy);
  color: var(--c-white);
  padding: 12px 20px;
  z-index: 1000;
  transition: top var(--t);
}
.skip-link:focus { top: 0; }

.br-pc { display: inline; }
.br-sp { display: none; }

/* ============ 4. Header / Navigation ============ */
.site-header {
  position: sticky;
  top: 0;
  z-index: 100;
  background: var(--c-navy);
  color: var(--c-white);
  height: var(--header-h);
  border-bottom: 1px solid rgba(255, 255, 255, .06);
}

.header-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 32px;
  height: 100%;
}

.site-logo {
  display: inline-flex;
  align-items: center;
  white-space: nowrap;
  transition: opacity var(--t-fast);
}
.site-logo:hover { opacity: .85; }
.site-logo-img {
  display: block;
  /* width で文字サイズを固定（拡大した状態を維持）し、
     height は実際に表示する縦幅。object-fit:cover で
     画像内の上下余白を center クロップ */
  width: 320px;
  height: 84px;
  object-fit: cover;
  object-position: center;
}

.site-nav {
  height: 100%;
}
.nav-list {
  display: flex;
  align-items: center;
  height: 100%;
  gap: clamp(18px, 2.2vw, 36px);
}
.nav-list > li { height: 100%; display: flex; align-items: center; }

.nav-link {
  position: relative;
  display: inline-flex;
  align-items: center;
  height: 100%;
  font-weight: 500;
  font-size: 14.5px;
  letter-spacing: .06em;
  color: rgba(255, 255, 255, .85);
}
.nav-link::after {
  content: "";
  position: absolute;
  left: 50%;
  bottom: 22px;
  width: 0;
  height: 2px;
  background: var(--c-white);
  transition: width var(--t), left var(--t);
}
.nav-link:hover { color: var(--c-white); }
.nav-link:hover::after { width: 100%; left: 0; }
.nav-link.is-active { color: var(--c-white); font-weight: 700; }
.nav-link.is-active::after { width: 100%; left: 0; }

/* Mobile toggle */
.nav-toggle {
  display: none;
  width: 40px;
  height: 40px;
  flex-direction: column;
  justify-content: center;
  gap: 6px;
  padding: 0 8px;
}
.nav-toggle-bar {
  display: block;
  width: 100%;
  height: 1.5px;
  background: var(--c-white);
  transition: transform var(--t), opacity var(--t);
}
.nav-toggle[aria-expanded="true"] .nav-toggle-bar:nth-child(1) {
  transform: translateY(8px) rotate(45deg);
}
.nav-toggle[aria-expanded="true"] .nav-toggle-bar:nth-child(2) {
  opacity: 0;
}
.nav-toggle[aria-expanded="true"] .nav-toggle-bar:nth-child(3) {
  transform: translateY(-7px) rotate(-45deg);
}

.mobile-nav {
  position: fixed;
  inset: var(--header-h) 0 auto 0;
  background: var(--c-navy);
  border-top: 1px solid rgba(255, 255, 255, .08);
  padding: 16px 0 32px;
  z-index: 99;
  transform-origin: top;
}
.mobile-nav-list li a {
  display: block;
  padding: 16px var(--container-pad);
  color: rgba(255, 255, 255, .85);
  border-bottom: 1px solid rgba(255, 255, 255, .06);
  font-weight: 500;
  letter-spacing: .04em;
}
.mobile-nav-list li a.is-active { color: var(--c-white); font-weight: 700; }

/* ============ 5. Hero ============ */
.hero {
  position: relative;
  color: var(--c-white);
  background: var(--c-navy-deep);
  width: 100%;
  /* 高さはビューポート幅に応じてスムーズに伸縮（画像比率 2.33 を目標としつつ、上限/下限でクランプ）
     幅は常に100%。極端な広い画面でのみ画像が上下クロップされるが、focal pointは中央で安定 */
  height: clamp(480px, 42vw, 720px);
  display: flex;
  align-items: center;
  overflow: hidden;
  isolation: isolate;
}

/* Background image layer.
   差し替え時は background-image の URL を変更してください */
.hero-bg {
  position: absolute;
  inset: 0;
  z-index: -2;
  background-image:
    linear-gradient(135deg, rgba(27, 58, 107, .35) 0%, rgba(6, 15, 38, .25) 100%),
    url('../image/top.png');
  background-size: cover;
  background-position: center;
  background-repeat: no-repeat;
}

.hero-overlay {
  position: absolute;
  inset: 0;
  z-index: -1;
  pointer-events: none;
  background:
    linear-gradient(90deg,
      rgba(6, 15, 38, .92) 0%,
      rgba(10, 31, 68, .80) 30%,
      rgba(10, 31, 68, .45) 58%,
      rgba(10, 31, 68, .15) 85%,
      rgba(10, 31, 68, .05) 100%
    );
}

.hero-inner {
  position: relative;
  display: block;
  width: 100%;
}

.hero-content {
  max-width: 720px;
}

.hero-eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 16px;
  font-size: 12.5px;
  font-weight: 500;
  letter-spacing: .14em;
  color: rgba(255, 255, 255, .85);
  margin-bottom: 22px;
  animation: fadeUp .9s var(--ease-out) both;
}
.eyebrow-line {
  display: inline-block;
  width: 36px;
  height: 1px;
  background: rgba(255, 255, 255, .55);
}

.hero-title {
  font-size: clamp(30px, 4.2vw, 56px);
  font-weight: 900;
  line-height: 1.26;
  letter-spacing: .01em;
  color: var(--c-white);
  margin-bottom: 24px;
}
.hero-title .line {
  display: block;
  overflow: hidden;
  white-space: nowrap;
}
.hero-title .line > * { display: inline-block; }
.hero-title .line:nth-child(1) {
  animation: fadeUp 1s .1s var(--ease-out) both;
}
.hero-title .line:nth-child(2) {
  animation: fadeUp 1s .22s var(--ease-out) both;
}

.hero-description {
  font-size: clamp(14px, 1.0vw, 16px);
  line-height: 1.95;
  color: rgba(255, 255, 255, .82);
  margin-bottom: 32px;
  animation: fadeUp 1s .34s var(--ease-out) both;
}

.hero-cta {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  animation: fadeUp 1s .46s var(--ease-out) both;
}

/* Hero scope: invert button color (light primary on dark bg) */
.hero .btn-primary {
  background: var(--c-white);
  color: var(--c-navy);
}
.hero .btn-primary:hover {
  background: var(--c-bg);
  color: var(--c-navy-deep);
  box-shadow: 0 12px 32px rgba(0, 0, 0, .3);
}
.hero .btn-outline {
  background: transparent;
  color: var(--c-white);
  border-color: rgba(255, 255, 255, .65);
}
.hero .btn-outline:hover {
  background: var(--c-white);
  color: var(--c-navy);
  border-color: var(--c-white);
  box-shadow: 0 12px 32px rgba(0, 0, 0, .3);
}

/* ============ 6. Buttons ============ */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  min-width: 232px;
  height: 60px;
  padding: 0 22px 0 26px;
  font-size: 14.5px;
  font-weight: 600;
  letter-spacing: .08em;
  border-radius: var(--r-xs);
  transition:
    background-color var(--t),
    color var(--t),
    border-color var(--t),
    transform var(--t),
    box-shadow var(--t);
  will-change: transform;
}
.btn-icon {
  width: 18px;
  height: 18px;
  flex-shrink: 0;
  transition: transform var(--t);
}
.btn:hover .btn-icon { transform: translateX(5px); }

.btn-primary {
  background: var(--c-navy);
  color: var(--c-white);
}
.btn-primary:hover {
  background: var(--c-navy-deep);
  box-shadow: 0 10px 28px rgba(10, 31, 68, .22);
  transform: translateY(-2px);
}

.btn-outline {
  background: transparent;
  color: var(--c-navy);
  border: 1.5px solid var(--c-navy);
}
.btn-outline:hover {
  background: var(--c-navy);
  color: var(--c-white);
  transform: translateY(-2px);
  box-shadow: 0 10px 28px rgba(10, 31, 68, .18);
}

.btn-light.btn-primary {
  background: var(--c-white);
  color: var(--c-navy);
}
.btn-light.btn-primary:hover {
  background: var(--c-bg);
  color: var(--c-navy-deep);
}

/* ============ 7. Placeholder ============ */
.placeholder {
  position: relative;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 10px;
  width: 100%;
  background: var(--c-ph-bg);
  color: var(--c-ph-fg);
  border-radius: var(--r-md);
  overflow: hidden;
}
.placeholder::before {
  content: "";
  position: absolute;
  inset: 12px;
  border: 1px dashed rgba(152, 161, 178, .55);
  border-radius: var(--r-sm);
  pointer-events: none;
}
.placeholder-icon {
  width: 48px;
  height: 48px;
  opacity: .65;
}
.placeholder-label {
  font-family: var(--f-en);
  font-size: 11px;
  font-weight: 600;
  letter-spacing: .22em;
  text-transform: uppercase;
}
.placeholder-ratio {
  font-family: var(--f-en);
  font-size: 10px;
  letter-spacing: .14em;
  opacity: .55;
}
.placeholder-hero    { aspect-ratio: 4 / 3; box-shadow: var(--sh-md); }
.placeholder-card    { aspect-ratio: 4 / 3; }
.placeholder-feature { aspect-ratio: 4 / 3; }

/* Feature section image (top5.png) */
.feature-image {
  display: block;
  width: 100%;
  aspect-ratio: 4 / 3;
  object-fit: cover;
  object-position: center;
  border-radius: var(--r-md);
  box-shadow: var(--sh-md);
}

/* Service card image (s1.png / s2.png / s3.jpg) */
.card-image {
  display: block;
  width: 100%;
  aspect-ratio: 4 / 3;
  object-fit: cover;
  object-position: center;
  border-radius: var(--r-md);
  transition: transform var(--t-slow);
}
.service-card:hover .card-image {
  transform: scale(1.03);
}
.card-visual {
  overflow: hidden;
}

/* ============ 8. Section header ============ */
.section-header {
  text-align: center;
  margin-bottom: clamp(32px, 4vw, 52px);
}
.section-title {
  font-size: clamp(24px, 2.6vw, 32px);
  font-weight: 700;
  letter-spacing: .08em;
  margin-bottom: 14px;
}
.section-rule {
  display: inline-block;
  width: 44px;
  height: 2px;
  background: var(--c-navy);
}
.section-lead {
  margin-top: 16px;
  font-size: 13.5px;
  color: var(--c-text-mute);
  letter-spacing: .04em;
}

/* ============ 9. Services ============ */
.services {
  padding-block: clamp(56px, 7vw, 92px);
  background: var(--c-white);
}

.services-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: clamp(20px, 2.2vw, 28px);
}

.service-card {
  position: relative;
  display: flex;
  flex-direction: column;
  background: var(--c-white);
  border: 1px solid var(--c-border);
  border-radius: var(--r-md);
  overflow: hidden;
  transition:
    border-color var(--t),
    transform var(--t),
    box-shadow var(--t);
}
.service-card:hover {
  border-color: var(--c-navy);
  transform: translateY(-6px);
  box-shadow: var(--sh-lg);
}

.card-visual {
  position: relative;
  padding: 18px 18px 0;
}
.card-tag {
  position: absolute;
  top: 30px;
  left: 30px;
  z-index: 1;
  font-family: var(--f-en);
  font-size: 11px;
  font-weight: 600;
  letter-spacing: .18em;
  color: var(--c-white);
  background: var(--c-navy);
  padding: 5px 11px;
  border-radius: 100px;
}

.card-body {
  padding: 22px 26px 26px;
  display: flex;
  flex-direction: column;
  flex: 1;
}
.card-title {
  font-size: 20px;
  font-weight: 700;
  letter-spacing: .04em;
  margin-bottom: 10px;
}
.card-text {
  font-size: 13.5px;
  line-height: 1.85;
  color: var(--c-text-mute);
  margin-bottom: 20px;
  flex: 1;
}
.card-link {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  font-size: 13px;
  font-weight: 700;
  letter-spacing: .1em;
  color: var(--c-navy);
  align-self: flex-start;
  padding-bottom: 4px;
  border-bottom: 1px solid transparent;
  transition: border-color var(--t);
}
.card-link svg {
  width: 16px;
  height: 16px;
  transition: transform var(--t);
}
.card-link:hover {
  border-bottom-color: var(--c-navy);
}
.card-link:hover svg { transform: translateX(5px); }

/* ============ 10. Feature / Stats ============ */
.feature {
  background: var(--c-bg-soft);
  padding-block: clamp(52px, 6.5vw, 88px);
}

.feature-inner {
  display: grid;
  grid-template-columns: minmax(0, .9fr) minmax(0, 1.1fr);
  align-items: center;
  gap: clamp(36px, 4.5vw, 64px);
}

.feature-eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 14px;
  font-family: var(--f-en);
  font-size: 11.5px;
  font-weight: 600;
  letter-spacing: .22em;
  text-transform: uppercase;
  color: var(--c-text-mute);
  margin-bottom: 16px;
}
.feature-title {
  font-size: clamp(22px, 2.4vw, 30px);
  font-weight: 700;
  line-height: 1.5;
  letter-spacing: .04em;
  margin-bottom: 16px;
  color: var(--c-navy-deep);
}
.feature-description {
  font-size: 14px;
  line-height: 1.9;
  color: var(--c-text-mute);
  margin-bottom: 28px;
}

.stats {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: clamp(16px, 2vw, 24px);
  padding-top: 24px;
  border-top: 1px solid var(--c-border);
}
.stat {
  display: flex;
  flex-direction: column;
  gap: 4px;
}
/* 旧 .stat-icon は廃止。.stat-img は画像差し替え用プレースホルダ */
.stat-img {
  position: relative;
  display: flex;
  align-items: center;
  justify-content: center;
  width: 64px;
  height: 48px;
  margin-bottom: 12px;
  background: var(--c-ph-bg);
  color: var(--c-ph-fg);
  border-radius: var(--r-sm);
}
.stat-img::before {
  content: "";
  position: absolute;
  inset: 4px;
  border: 1px dashed rgba(152, 161, 178, .45);
  border-radius: 2px;
  pointer-events: none;
}
.stat-img-label {
  font-family: var(--f-en);
  font-size: 9.5px;
  font-weight: 600;
  letter-spacing: .18em;
  text-transform: uppercase;
}
.stat-img img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  border-radius: var(--r-sm);
}
.stat-label {
  font-size: 12px;
  font-weight: 500;
  letter-spacing: .14em;
  color: var(--c-text-mute);
  margin-bottom: 2px;
}
.stat-value {
  display: flex;
  align-items: baseline;
  gap: 4px;
  color: var(--c-navy-deep);
  letter-spacing: .02em;
  font-weight: 700;
  margin-bottom: 4px;
}
.stat-num {
  font-family: var(--f-en);
  font-size: 32px;
  font-weight: 700;
  line-height: 1;
  letter-spacing: -.01em;
}
.stat-unit {
  font-size: 14px;
  font-weight: 500;
}
.stat-text {
  font-size: 18px;
  font-weight: 700;
  line-height: 1.3;
}
.stat-note {
  font-size: 11.5px;
  line-height: 1.6;
  color: var(--c-text-mute);
  letter-spacing: .02em;
}

/* ============ 11. CTA band ============ */
.cta-band {
  background: var(--c-navy);
  color: var(--c-white);
  padding-block: clamp(36px, 4.5vw, 56px);
}
.cta-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 40px;
  flex-wrap: wrap;
}
.cta-text { flex: 1; min-width: min(100%, 360px); }
.cta-eyebrow {
  font-family: var(--f-en);
  font-size: 12px;
  font-weight: 600;
  letter-spacing: .22em;
  text-transform: uppercase;
  color: rgba(255, 255, 255, .55);
  margin-bottom: 10px;
}
.cta-title {
  font-size: clamp(22px, 2.4vw, 30px);
  font-weight: 700;
  line-height: 1.5;
  letter-spacing: .04em;
  margin-bottom: 12px;
}
.cta-desc {
  font-size: 13.5px;
  line-height: 1.85;
  color: rgba(255, 255, 255, .7);
}

/* ============ 12. Footer ============ */
.site-footer {
  background: var(--c-navy-deep);
  color: rgba(255, 255, 255, .72);
}
.footer-inner {
  display: grid;
  grid-template-columns: minmax(0, 1.4fr) minmax(0, 1.6fr);
  gap: clamp(32px, 4vw, 56px);
  padding-block: 48px 32px;
}
.footer-brand {
  max-width: 360px;
}
.footer-logo {
  display: inline-flex;
  align-items: center;
  margin-bottom: 20px;
  transition: opacity var(--t-fast);
}
.footer-logo:hover { opacity: .85; }
.footer-logo-img {
  display: block;
  width: 280px;
  height: 72px;
  object-fit: cover;
  object-position: center;
}
.footer-tagline {
  font-size: 13px;
  line-height: 1.85;
  color: rgba(255, 255, 255, .55);
}

.footer-nav-wrap {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 40px;
}
.footer-nav-title {
  font-family: var(--f-en);
  font-size: 12px;
  font-weight: 600;
  letter-spacing: .22em;
  text-transform: uppercase;
  color: var(--c-white);
  margin-bottom: 18px;
  padding-bottom: 12px;
  border-bottom: 1px solid rgba(255, 255, 255, .12);
}
.footer-col ul li {
  margin-bottom: 10px;
}
.footer-col ul li a {
  font-size: 13.5px;
  color: rgba(255, 255, 255, .7);
  letter-spacing: .04em;
}
.footer-col ul li a:hover {
  color: var(--c-white);
}

.footer-bottom {
  padding-block: 22px 28px;
  border-top: 1px solid rgba(255, 255, 255, .08);
}
.copyright {
  font-family: var(--f-en);
  font-size: 11.5px;
  letter-spacing: .12em;
  color: rgba(255, 255, 255, .4);
}

/* =========================================================
   PAGE-SPECIFIC COMPONENTS (sub pages)
   ========================================================= */

/* ---- Sub-page hero (smaller than TOP hero) ---- */
.subhero {
  position: relative;
  color: var(--c-white);
  background-color: var(--c-navy-deep);
  background-size: cover;
  background-position: center;
  background-repeat: no-repeat;
  padding: clamp(72px, 9vw, 120px) 0 clamp(64px, 7vw, 96px);
  overflow: hidden;
  isolation: isolate;
}
/* 背景画像なしページ用の装飾オーバーレイ */
.subhero::before {
  content: "";
  position: absolute;
  inset: 0;
  z-index: -1;
  background:
    radial-gradient(ellipse 60% 60% at 20% 30%, rgba(27, 58, 107, .45), transparent 70%),
    radial-gradient(ellipse 50% 50% at 90% 90%, rgba(10, 31, 68, .65), transparent 70%),
    linear-gradient(135deg, rgba(10, 31, 68, .88) 0%, rgba(6, 15, 38, .94) 100%);
}

/* 各ページの背景画像（テキストの可読性のため左から右へ濃いオーバーレイをかける） */
.subhero--ai-training  { background-image: url('../image/s1.png'); }
.subhero--ai-efficiency { background-image: url('../image/s2.png'); }
.subhero--reputation   { background-image: url('../image/s3.jpg'); }

/* 背景画像あり時は ::before を専用グラデーションに上書き */
.subhero--ai-training::before,
.subhero--ai-efficiency::before,
.subhero--reputation::before {
  background:
    linear-gradient(90deg,
      rgba(6, 15, 38, .82) 0%,
      rgba(10, 31, 68, .72) 40%,
      rgba(10, 31, 68, .55) 70%,
      rgba(10, 31, 68, .40) 100%
    );
}
@media (max-width: 720px) {
  .subhero--ai-training::before,
  .subhero--ai-efficiency::before,
  .subhero--reputation::before {
    background: linear-gradient(180deg, rgba(6, 15, 38, .80) 0%, rgba(10, 31, 68, .90) 100%);
  }
}
.subhero-inner {
  position: relative;
  text-align: center;
  max-width: 880px;
  margin: 0 auto;
}
.subhero-eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 14px;
  font-family: var(--f-en);
  font-size: 12px;
  font-weight: 600;
  letter-spacing: .24em;
  text-transform: uppercase;
  color: rgba(255, 255, 255, .65);
  margin-bottom: 22px;
}
.subhero-eyebrow::before,
.subhero-eyebrow::after {
  content: "";
  display: inline-block;
  width: 24px;
  height: 1px;
  background: rgba(255, 255, 255, .35);
}
.subhero-title {
  font-size: clamp(28px, 4vw, 48px);
  font-weight: 900;
  line-height: 1.35;
  letter-spacing: .02em;
  margin-bottom: 22px;
}
.subhero-lead {
  font-size: clamp(14px, 1.1vw, 16px);
  line-height: 2;
  color: rgba(255, 255, 255, .8);
  max-width: 720px;
  margin: 0 auto;
}
.subhero-crumbs {
  display: flex;
  justify-content: center;
  gap: 8px;
  font-family: var(--f-en);
  font-size: 11.5px;
  letter-spacing: .14em;
  color: rgba(255, 255, 255, .4);
  margin-bottom: 28px;
  text-transform: uppercase;
}
.subhero-crumbs a { color: inherit; }
.subhero-crumbs a:hover { color: var(--c-white); }
.subhero-crumbs .sep { opacity: .5; }

/* ---- Generic page section ---- */
.page-section {
  padding-block: clamp(60px, 7.5vw, 104px);
}
.page-section.bg-soft { background: var(--c-bg-soft); }
.page-section.bg-white { background: var(--c-white); }
.page-section + .page-section { /* no extra gap */ }

.section-eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 14px;
  font-family: var(--f-en);
  font-size: 12px;
  font-weight: 600;
  letter-spacing: .24em;
  text-transform: uppercase;
  color: var(--c-text-mute);
  margin-bottom: 16px;
}
.section-eyebrow::before {
  content: "";
  display: inline-block;
  width: 28px;
  height: 1px;
  background: var(--c-navy);
}
.section-heading {
  font-size: clamp(24px, 2.8vw, 34px);
  font-weight: 700;
  line-height: 1.4;
  letter-spacing: .02em;
  color: var(--c-navy-deep);
  margin-bottom: 18px;
}
.section-desc {
  font-size: 14.5px;
  line-height: 1.9;
  color: var(--c-text-mute);
  max-width: 720px;
  margin-bottom: 40px;
}
.section-head--center {
  text-align: center;
}
.section-head--center .section-eyebrow,
.section-head--center .section-heading,
.section-head--center .section-desc {
  display: block;
  margin-left: auto;
  margin-right: auto;
}
.section-head--center .section-eyebrow {
  justify-content: center;
}
.section-head--center .section-eyebrow::before {
  display: none;
}
.section-head--center .section-eyebrow::after {
  content: "";
  display: inline-block;
  width: 28px;
  height: 1px;
  background: var(--c-navy);
  margin-left: 14px;
}

/* ---- Problem cards (3-up) ---- */
.problem-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: clamp(20px, 2.2vw, 28px);
  margin-top: 36px;
}
.problem-card {
  position: relative;
  background: var(--c-white);
  border: 1px solid var(--c-border);
  border-radius: var(--r-md);
  padding: 32px 28px 28px;
  transition: border-color var(--t), transform var(--t), box-shadow var(--t);
}
.problem-card:hover {
  border-color: var(--c-navy);
  box-shadow: var(--sh-md);
  transform: translateY(-3px);
}
.problem-card-num {
  font-family: var(--f-en);
  font-size: 12px;
  font-weight: 600;
  letter-spacing: .18em;
  color: var(--c-navy);
  margin-bottom: 10px;
}
.problem-card-title {
  font-size: 17px;
  font-weight: 700;
  line-height: 1.55;
  letter-spacing: .02em;
  color: var(--c-navy-deep);
  margin-bottom: 12px;
}
.problem-card-text {
  font-size: 13.5px;
  line-height: 1.85;
  color: var(--c-text-mute);
}

/* ---- Feature list (with icon, 2-up or 3-up) ---- */
.feat-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: clamp(20px, 2.4vw, 32px);
  margin-top: 36px;
}
.feat-grid.cols-2 {
  grid-template-columns: repeat(2, minmax(0, 1fr));
}
.feat-item {
  background: var(--c-white);
  border: 1px solid var(--c-border);
  border-radius: var(--r-md);
  padding: 0;
  overflow: hidden;
  display: flex;
  flex-direction: column;
}
.feat-item-body {
  padding: 24px 26px 28px;
  flex: 1;
}
/* 画像プレースホルダ（アイコンの代わり・後で画像差し替え） */
.feat-img {
  display: flex;
  align-items: center;
  justify-content: center;
  flex-direction: column;
  gap: 8px;
  aspect-ratio: 16 / 9;
  background: var(--c-ph-bg);
  color: var(--c-ph-fg);
  position: relative;
  overflow: hidden;
}
/* プレースホルダ時のみ破線枠を表示 */
.feat-img:not(:has(img))::before {
  content: "";
  position: absolute;
  inset: 12px;
  border: 1px dashed rgba(152, 161, 178, .5);
  border-radius: var(--r-sm);
  pointer-events: none;
}
.feat-img-label {
  font-family: var(--f-en);
  font-size: 11px;
  font-weight: 600;
  letter-spacing: .22em;
  text-transform: uppercase;
}
.feat-img-sub {
  font-size: 10.5px;
  letter-spacing: .04em;
  opacity: .8;
}
/* 画像差し替え時のスタイル（img要素を入れた場合） */
.feat-img img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}
.feat-item-title {
  font-size: 17px;
  font-weight: 700;
  line-height: 1.5;
  letter-spacing: .02em;
  color: var(--c-navy-deep);
  margin-bottom: 12px;
}
.feat-item-text {
  font-size: 13.5px;
  line-height: 1.85;
  color: var(--c-text-mute);
}

/* ---- Process steps (numbered, horizontal flow) ---- */
.process {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: clamp(16px, 2vw, 28px);
  margin-top: 40px;
  counter-reset: step;
}
.process-step {
  position: relative;
  padding: 28px 24px 28px;
  background: var(--c-white);
  border: 1px solid var(--c-border);
  border-radius: var(--r-md);
}
.process-step::before {
  counter-increment: step;
  content: "STEP " counter(step, decimal-leading-zero);
  display: block;
  font-family: var(--f-en);
  font-size: 11px;
  font-weight: 600;
  letter-spacing: .22em;
  color: var(--c-navy);
  margin-bottom: 14px;
}
.process-step-title {
  font-size: 16px;
  font-weight: 700;
  line-height: 1.5;
  color: var(--c-navy-deep);
  margin-bottom: 10px;
  letter-spacing: .02em;
}
.process-step-text {
  font-size: 13px;
  line-height: 1.8;
  color: var(--c-text-mute);
}

/* ---- Curriculum table / list ---- */
.curr-list {
  display: grid;
  grid-template-columns: 1fr;
  gap: 12px;
  margin-top: 36px;
}
.curr-item {
  display: grid;
  grid-template-columns: 140px 1fr;
  gap: 24px;
  padding: 22px 28px;
  background: var(--c-white);
  border: 1px solid var(--c-border);
  border-radius: var(--r-md);
  align-items: start;
}
.curr-item-no {
  font-family: var(--f-en);
  font-size: 13px;
  font-weight: 600;
  letter-spacing: .12em;
  color: var(--c-navy);
  padding-top: 4px;
  border-right: 1px solid var(--c-border);
  padding-right: 16px;
}
.curr-item-body h3 {
  font-size: 16px;
  font-weight: 700;
  color: var(--c-navy-deep);
  margin-bottom: 8px;
  letter-spacing: .02em;
}
.curr-item-body p {
  font-size: 13.5px;
  line-height: 1.85;
  color: var(--c-text-mute);
}

/* ---- Case studies ---- */
.case-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: clamp(20px, 2.2vw, 28px);
  margin-top: 36px;
}
.case-card {
  position: relative;
  background: var(--c-white);
  border: 1px solid var(--c-border);
  border-radius: var(--r-md);
  padding: 32px 28px 28px;
  display: flex;
  flex-direction: column;
  gap: 14px;
  transition: border-color var(--t), transform var(--t), box-shadow var(--t);
}
.case-card:hover {
  border-color: var(--c-navy);
  transform: translateY(-4px);
  box-shadow: var(--sh-md);
}
.case-tag {
  font-family: var(--f-en);
  font-size: 11px;
  font-weight: 600;
  letter-spacing: .22em;
  color: var(--c-navy);
}
.case-industry {
  font-size: 17px;
  font-weight: 700;
  line-height: 1.5;
  letter-spacing: .02em;
  color: var(--c-navy-deep);
  padding-bottom: 16px;
  border-bottom: 1px solid var(--c-border);
}
.case-rows {
  display: flex;
  flex-direction: column;
  gap: 14px;
}
.case-row .label {
  display: inline-block;
  font-family: var(--f-en);
  font-size: 10.5px;
  font-weight: 600;
  letter-spacing: .18em;
  text-transform: uppercase;
  color: var(--c-text-mute);
  margin-bottom: 4px;
}
.case-row p {
  font-size: 13.5px;
  line-height: 1.85;
  color: var(--c-text);
}
.case-result {
  font-size: 13.5px;
  line-height: 1.6;
  color: var(--c-text-mute);
  display: flex;
  align-items: baseline;
  gap: 10px;
  flex-wrap: wrap;
}
.case-result .before {
  text-decoration: line-through;
  color: var(--c-text-mute);
  font-weight: 500;
}
.case-result .arrow {
  font-family: var(--f-en);
  color: var(--c-navy);
  font-weight: 600;
}
.case-result .after {
  font-family: var(--f-en);
  font-size: 22px;
  font-weight: 700;
  color: var(--c-navy);
  letter-spacing: -.01em;
}
.case-result .after-jp {
  font-size: 16px;
  font-weight: 700;
  color: var(--c-navy);
  letter-spacing: .02em;
}
.case-result .delta {
  display: inline-block;
  font-family: var(--f-en);
  font-size: 11px;
  font-weight: 600;
  letter-spacing: .12em;
  background: var(--c-bg-soft);
  color: var(--c-navy);
  padding: 3px 10px;
  border-radius: 2px;
}

/* ---- FAQ accordion ---- */
.faq-list {
  display: flex;
  flex-direction: column;
  gap: 12px;
  max-width: 880px;
  margin: 36px auto 0;
}
.faq-item {
  background: var(--c-white);
  border: 1px solid var(--c-border);
  border-radius: var(--r-md);
  overflow: hidden;
  transition: border-color var(--t);
}
.faq-item[open] {
  border-color: var(--c-navy);
}
.faq-item summary {
  position: relative;
  display: flex;
  align-items: flex-start;
  gap: 16px;
  padding: 22px 56px 22px 28px;
  cursor: pointer;
  list-style: none;
  font-weight: 700;
  font-size: 15px;
  letter-spacing: .02em;
  color: var(--c-navy-deep);
  line-height: 1.55;
}
.faq-item summary::-webkit-details-marker { display: none; }
.faq-item summary::before {
  content: "Q";
  flex-shrink: 0;
  font-family: var(--f-en);
  font-size: 14px;
  color: var(--c-navy);
  font-weight: 700;
  letter-spacing: .04em;
}
.faq-item summary::after {
  content: "";
  position: absolute;
  right: 28px;
  top: 50%;
  width: 14px;
  height: 14px;
  margin-top: -7px;
  background-image:
    linear-gradient(currentColor, currentColor),
    linear-gradient(currentColor, currentColor);
  background-size: 100% 1.5px, 1.5px 100%;
  background-position: center;
  background-repeat: no-repeat;
  color: var(--c-text-mute);
  transition: transform var(--t);
}
.faq-item[open] summary::after {
  transform: rotate(45deg);
  color: var(--c-navy);
}
.faq-answer {
  display: flex;
  align-items: flex-start;
  gap: 16px;
  padding: 0 28px 24px;
  font-size: 14px;
  line-height: 1.85;
  color: var(--c-text-mute);
}
.faq-answer::before {
  content: "A";
  flex-shrink: 0;
  font-family: var(--f-en);
  font-size: 14px;
  color: var(--c-text-faint);
  font-weight: 700;
}

/* ---- Comparison table ---- */
.compare {
  margin-top: 36px;
  border: 1px solid var(--c-border);
  border-radius: var(--r-md);
  overflow: hidden;
  background: var(--c-white);
}
.compare table {
  width: 100%;
  border-collapse: collapse;
  font-size: 13.5px;
}
.compare th,
.compare td {
  padding: 18px 16px;
  text-align: left;
  border-bottom: 1px solid var(--c-border);
  vertical-align: top;
  line-height: 1.7;
}
.compare thead th {
  background: var(--c-navy-deep);
  color: var(--c-white);
  font-weight: 600;
  letter-spacing: .04em;
  font-size: 13px;
}
.compare thead th.is-us {
  background: var(--c-navy);
}
.compare tbody th {
  background: var(--c-bg-soft);
  color: var(--c-navy-deep);
  font-weight: 700;
  letter-spacing: .04em;
  width: 26%;
}
.compare tbody td.is-us {
  background: rgba(10, 31, 68, .04);
  color: var(--c-navy-deep);
  font-weight: 500;
}
.compare tbody tr:last-child th,
.compare tbody tr:last-child td { border-bottom: 0; }

/* ---- About: company info table ---- */
.about-table {
  margin-top: 36px;
  border-top: 1px solid var(--c-border);
}
.about-row {
  display: grid;
  grid-template-columns: 220px 1fr;
  gap: 32px;
  padding: 22px 0;
  border-bottom: 1px solid var(--c-border);
  font-size: 14.5px;
}
.about-row dt {
  font-weight: 700;
  color: var(--c-navy-deep);
  letter-spacing: .04em;
}
.about-row dd {
  color: var(--c-text);
  line-height: 1.85;
}
.about-row dd ul li {
  padding-left: 16px;
  position: relative;
  margin-bottom: 4px;
}
.about-row dd ul li::before {
  content: "";
  position: absolute;
  left: 0;
  top: 12px;
  width: 6px;
  height: 1px;
  background: var(--c-navy);
}

.about-message {
  background: var(--c-bg-soft);
  padding: clamp(32px, 4vw, 56px);
  border-radius: var(--r-md);
  margin-top: 56px;
  display: grid;
  grid-template-columns: 200px 1fr;
  gap: clamp(24px, 3vw, 48px);
  align-items: start;
}
.about-message-meta .role {
  font-family: var(--f-jp);
  font-size: 13px;
  font-weight: 500;
  letter-spacing: .12em;
  color: var(--c-text-mute);
  display: block;
  margin-bottom: 10px;
  padding-bottom: 10px;
  border-bottom: 1px solid var(--c-border);
}
.about-message-meta .name-jp {
  font-size: 22px;
  font-weight: 700;
  color: var(--c-navy-deep);
  letter-spacing: .08em;
  display: block;
}
.about-message-body p {
  font-size: 14.5px;
  line-height: 2;
  color: var(--c-text);
  margin-bottom: 14px;
}
.about-message-body p:last-child { margin-bottom: 0; }

/* ---- Contact form ---- */
.contact-wrap {
  display: grid;
  grid-template-columns: 1fr 1.4fr;
  gap: clamp(40px, 5vw, 72px);
  margin-top: 24px;
}
.contact-info p {
  font-size: 14px;
  line-height: 1.95;
  color: var(--c-text-mute);
  margin-bottom: 24px;
}
.contact-info-item {
  padding: 18px 0;
  border-top: 1px solid var(--c-border);
}
.contact-info-item:last-child {
  border-bottom: 1px solid var(--c-border);
}
.contact-info-item .label {
  font-family: var(--f-en);
  font-size: 11px;
  font-weight: 600;
  letter-spacing: .22em;
  color: var(--c-text-mute);
  text-transform: uppercase;
  display: block;
  margin-bottom: 6px;
}
.contact-info-item .value {
  font-size: 15px;
  font-weight: 600;
  color: var(--c-navy-deep);
  letter-spacing: .02em;
}

.form {
  background: var(--c-white);
  border: 1px solid var(--c-border);
  border-radius: var(--r-md);
  padding: clamp(28px, 3.5vw, 48px);
}
.form-row {
  display: flex;
  flex-direction: column;
  gap: 8px;
  margin-bottom: 22px;
}
.form-row label {
  font-size: 13px;
  font-weight: 600;
  letter-spacing: .04em;
  color: var(--c-navy-deep);
  display: flex;
  align-items: center;
  gap: 10px;
}
.form-row label .req {
  display: inline-block;
  font-family: var(--f-en);
  font-size: 10px;
  letter-spacing: .12em;
  background: var(--c-navy);
  color: var(--c-white);
  padding: 2px 8px;
  border-radius: 2px;
  font-weight: 600;
}
.form-row label .opt {
  display: inline-block;
  font-family: var(--f-en);
  font-size: 10px;
  letter-spacing: .12em;
  border: 1px solid var(--c-border);
  color: var(--c-text-mute);
  padding: 1px 8px;
  border-radius: 2px;
  font-weight: 500;
}
.form-row input[type="text"],
.form-row input[type="email"],
.form-row input[type="tel"],
.form-row select,
.form-row textarea {
  width: 100%;
  font: inherit;
  font-size: 14.5px;
  color: var(--c-text);
  background: var(--c-white);
  border: 1px solid var(--c-border);
  border-radius: var(--r-sm);
  padding: 13px 16px;
  transition: border-color var(--t), box-shadow var(--t);
  font-family: inherit;
}
.form-row textarea {
  min-height: 160px;
  resize: vertical;
  line-height: 1.7;
}
.form-row input:focus,
.form-row select:focus,
.form-row textarea:focus {
  outline: 0;
  border-color: var(--c-navy);
  box-shadow: 0 0 0 3px rgba(10, 31, 68, .08);
}
.form-row .help {
  font-size: 12px;
  color: var(--c-text-mute);
  margin-top: 4px;
}
.form-row.is-error input,
.form-row.is-error select,
.form-row.is-error textarea {
  border-color: #C2410C;
}
.form-row .error-msg {
  font-size: 12.5px;
  color: #C2410C;
  margin-top: 4px;
}

.form-check {
  display: flex;
  align-items: flex-start;
  gap: 10px;
  margin-block: 8px 28px;
  font-size: 13.5px;
  line-height: 1.7;
  color: var(--c-text);
}
.form-check input[type="checkbox"] {
  margin-top: 4px;
  flex-shrink: 0;
}
.form-check a { color: var(--c-navy); text-decoration: underline; }

.form-actions {
  display: flex;
  justify-content: center;
  margin-top: 8px;
}
.form-actions .btn {
  min-width: 280px;
}

/* honeypot field — hidden but accessible to bots */
.hp-field {
  position: absolute !important;
  left: -9999px !important;
  width: 1px;
  height: 1px;
  overflow: hidden;
}

/* Form-level error/notice */
.form-notice {
  padding: 14px 18px;
  border-radius: var(--r-sm);
  font-size: 13.5px;
  margin-bottom: 22px;
  line-height: 1.7;
}
.form-notice.is-error {
  background: #FEE2E2;
  color: #991B1B;
  border: 1px solid #FCA5A5;
}
.form-notice.is-success {
  background: #ECFDF5;
  color: #065F46;
  border: 1px solid #A7F3D0;
}

/* ---- Column / Article ---- */
.column-list {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: clamp(20px, 2.4vw, 32px);
  margin-top: 24px;
}
.column-card {
  background: var(--c-white);
  border: 1px solid var(--c-border);
  border-radius: var(--r-md);
  overflow: hidden;
  display: flex;
  flex-direction: column;
  transition: border-color var(--t), transform var(--t), box-shadow var(--t);
}
.column-card:hover {
  border-color: var(--c-navy);
  transform: translateY(-4px);
  box-shadow: var(--sh-lg);
}
.column-card-thumb {
  aspect-ratio: 16 / 9;
  background: var(--c-ph-bg);
  position: relative;
  overflow: hidden;
}
.column-card-thumb img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}
.column-card-thumb-cat {
  position: absolute;
  top: 14px;
  left: 14px;
  z-index: 1;
  font-family: var(--f-en);
  font-size: 11px;
  font-weight: 600;
  letter-spacing: .18em;
  text-transform: uppercase;
  color: var(--c-white);
  background: var(--c-navy);
  padding: 5px 11px;
  border-radius: 100px;
}
.column-card-body {
  padding: 22px 24px 26px;
  display: flex;
  flex-direction: column;
  flex: 1;
}
.column-card-meta {
  display: flex;
  gap: 12px;
  font-family: var(--f-en);
  font-size: 11px;
  letter-spacing: .14em;
  color: var(--c-text-faint);
  margin-bottom: 10px;
}
.column-card-title {
  font-size: 17px;
  font-weight: 700;
  line-height: 1.6;
  color: var(--c-navy-deep);
  margin-bottom: 12px;
  letter-spacing: .02em;
}
.column-card-text {
  font-size: 13px;
  line-height: 1.85;
  color: var(--c-text-mute);
  margin-bottom: 16px;
  flex: 1;
}
.column-card-link {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-size: 13px;
  font-weight: 700;
  letter-spacing: .08em;
  color: var(--c-navy);
}
.column-card-link svg {
  width: 14px;
  height: 14px;
  transition: transform var(--t);
}
.column-card:hover .column-card-link svg {
  transform: translateX(4px);
}

/* Column category section header */
.column-section {
  margin-bottom: clamp(48px, 6vw, 80px);
}
.column-section:last-child { margin-bottom: 0; }
.column-section-head {
  display: flex;
  align-items: baseline;
  gap: 16px;
  margin-bottom: 24px;
  padding-bottom: 16px;
  border-bottom: 1px solid var(--c-border);
}
.column-section-tag {
  font-family: var(--f-en);
  font-size: 12px;
  font-weight: 600;
  letter-spacing: .22em;
  text-transform: uppercase;
  color: var(--c-navy);
  background: var(--c-bg-soft);
  padding: 4px 10px;
  border-radius: 2px;
}
.column-section-title {
  font-size: 20px;
  font-weight: 700;
  color: var(--c-navy-deep);
  letter-spacing: .04em;
}

/* Article page */
.article {
  background: var(--c-white);
  padding-block: clamp(48px, 6vw, 80px);
}
.article-inner {
  max-width: 800px;
  margin: 0 auto;
}
.article-meta {
  display: flex;
  align-items: center;
  gap: 14px;
  font-family: var(--f-en);
  font-size: 11.5px;
  letter-spacing: .18em;
  color: var(--c-text-mute);
  margin-bottom: 18px;
  text-transform: uppercase;
}
.article-meta .cat {
  background: var(--c-navy);
  color: var(--c-white);
  padding: 4px 10px;
  border-radius: 100px;
  font-weight: 600;
}
.article-title {
  font-size: clamp(24px, 3vw, 36px);
  font-weight: 800;
  line-height: 1.5;
  letter-spacing: .02em;
  color: var(--c-navy-deep);
  margin-bottom: 32px;
}
.article-lead {
  font-size: 15px;
  line-height: 2;
  color: var(--c-text);
  margin-bottom: 40px;
  padding: 22px 24px;
  background: var(--c-bg-soft);
  border-left: 3px solid var(--c-navy);
  border-radius: var(--r-sm);
}
.article-body {
  font-size: 15.5px;
  line-height: 2;
  color: var(--c-text);
}
.article-body h2 {
  font-size: clamp(20px, 2.2vw, 26px);
  font-weight: 800;
  line-height: 1.5;
  letter-spacing: .02em;
  color: var(--c-navy-deep);
  margin-top: 56px;
  margin-bottom: 20px;
  padding-bottom: 12px;
  border-bottom: 2px solid var(--c-navy);
}
.article-body h3 {
  font-size: 18px;
  font-weight: 700;
  color: var(--c-navy-deep);
  margin-top: 32px;
  margin-bottom: 14px;
  letter-spacing: .02em;
  padding-left: 14px;
  border-left: 3px solid var(--c-navy);
}
.article-body p {
  margin-bottom: 22px;
}
.article-body ul,
.article-body ol {
  margin: 18px 0 26px;
  padding-left: 22px;
}
.article-body ul li,
.article-body ol li {
  margin-bottom: 10px;
  line-height: 1.85;
}
.article-body ul li::marker { color: var(--c-navy); }
.article-body strong {
  font-weight: 700;
  color: var(--c-navy-deep);
  background: linear-gradient(transparent 60%, rgba(10, 31, 68, .12) 60%);
  padding: 0 2px;
}
.article-body a {
  color: var(--c-navy);
  border-bottom: 1px solid currentColor;
}
.article-body a:hover {
  opacity: .7;
}
.article-callout {
  margin: 32px 0;
  padding: 24px 28px;
  background: var(--c-bg-soft);
  border-radius: var(--r-md);
  border: 1px solid var(--c-border);
}
.article-callout-title {
  font-size: 14px;
  font-weight: 700;
  color: var(--c-navy);
  margin-bottom: 10px;
  letter-spacing: .04em;
}
.article-callout p {
  font-size: 14px;
  line-height: 1.85;
  color: var(--c-text);
  margin-bottom: 0;
}

.article-toc {
  margin: 28px 0 48px;
  padding: 24px 28px;
  background: var(--c-bg-mute);
  border: 1px solid var(--c-border);
  border-radius: var(--r-md);
}
.article-toc-title {
  font-family: var(--f-en);
  font-size: 11px;
  font-weight: 600;
  letter-spacing: .22em;
  text-transform: uppercase;
  color: var(--c-text-mute);
  margin-bottom: 12px;
}
.article-toc ol {
  margin: 0;
  padding-left: 18px;
  counter-reset: toc;
  list-style: none;
}
.article-toc ol li {
  counter-increment: toc;
  padding: 6px 0;
  font-size: 14px;
  line-height: 1.7;
  border-bottom: 1px solid var(--c-border-soft);
}
.article-toc ol li:last-child { border-bottom: 0; }
.article-toc ol li::before {
  content: counter(toc, decimal-leading-zero) ".";
  font-family: var(--f-en);
  font-size: 12px;
  color: var(--c-navy);
  font-weight: 600;
  margin-right: 10px;
}
.article-toc a {
  color: var(--c-text);
}
.article-toc a:hover {
  color: var(--c-navy);
}

.article-back {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  margin-top: 56px;
  font-size: 13px;
  font-weight: 600;
  letter-spacing: .08em;
  color: var(--c-navy);
}
.article-back svg {
  width: 14px;
  height: 14px;
  transform: rotate(180deg);
}

@media (max-width: 720px) {
  .column-list { grid-template-columns: 1fr; }
  .article-body { font-size: 14.5px; }
}

/* ---- Thanks page ---- */
.thanks-block {
  text-align: center;
  max-width: 640px;
  margin: 0 auto;
}
.thanks-icon {
  display: inline-flex;
  width: 80px;
  height: 80px;
  align-items: center;
  justify-content: center;
  border-radius: 50%;
  background: var(--c-bg-soft);
  color: var(--c-navy);
  margin-bottom: 28px;
}
.thanks-icon svg { width: 36px; height: 36px; }
.thanks-title {
  font-size: clamp(24px, 2.8vw, 32px);
  font-weight: 700;
  line-height: 1.5;
  letter-spacing: .02em;
  color: var(--c-navy-deep);
  margin-bottom: 18px;
}
.thanks-text {
  font-size: 14.5px;
  line-height: 1.95;
  color: var(--c-text-mute);
  margin-bottom: 36px;
}
.thanks-actions {
  display: flex;
  justify-content: center;
  gap: 14px;
  flex-wrap: wrap;
}

/* ---- Page-level responsive overrides ---- */
@media (max-width: 1024px) {
  .problem-grid { grid-template-columns: repeat(2, 1fr); }
  .feat-grid { grid-template-columns: repeat(2, 1fr); }
  .case-grid { grid-template-columns: repeat(2, 1fr); }
  .process { grid-template-columns: repeat(2, 1fr); }
  .about-row { grid-template-columns: 160px 1fr; gap: 20px; }
  .about-message { grid-template-columns: 1fr; }
  .contact-wrap { grid-template-columns: 1fr; }
}
@media (max-width: 720px) {
  .problem-grid,
  .feat-grid,
  .case-grid,
  .process { grid-template-columns: 1fr; }
  .curr-item { grid-template-columns: 1fr; gap: 8px; }
  .curr-item-no { border-right: 0; padding-right: 0; padding-bottom: 4px; border-bottom: 1px solid var(--c-border); }
  .about-row { grid-template-columns: 1fr; gap: 6px; padding: 18px 0; }
  .form-actions .btn { min-width: 0; width: 100%; }
}

/* ============ 13. Animations ============ */
@keyframes fadeUp {
  from { opacity: 0; transform: translateY(18px); }
  to   { opacity: 1; transform: translateY(0); }
}
@keyframes fade {
  from { opacity: 0; }
  to   { opacity: 1; }
}

@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after {
    animation-duration: .01ms !important;
    transition-duration: .01ms !important;
    scroll-behavior: auto !important;
  }
}

/* ============ 14. Responsive ============ */

/* Tablet */
@media (max-width: 1024px) {
  :root {
    --header-h: 100px;
  }
  .site-logo-img { width: 260px; height: 68px; }

  .nav-list { gap: 18px; }
  .nav-link { font-size: 13.5px; letter-spacing: .04em; }

  .hero-inner {
    grid-template-columns: 1fr;
    gap: 40px;
  }
  .hero-content { max-width: 720px; }
  .hero-visual { max-width: 720px; }

  .feature-inner {
    grid-template-columns: 1fr;
    gap: 40px;
  }
  .feature-visual { max-width: 720px; }
}

/* Mobile */
@media (max-width: 720px) {
  .br-pc { display: none; }
  .br-sp { display: inline; }

  .site-nav { display: none; }
  .nav-toggle { display: flex; }

  .hero {
    height: auto;
    min-height: 520px;
    padding-block: 56px 64px;
  }
  .hero-overlay {
    background: linear-gradient(180deg,
      rgba(6, 15, 38, .80) 0%,
      rgba(10, 31, 68, .88) 60%,
      rgba(6, 15, 38, .92) 100%
    );
  }
  .hero-title {
    font-size: clamp(28px, 7.5vw, 36px);
  }
  .hero-description br { display: none; }
  .hero-cta { flex-direction: column; align-items: stretch; gap: 12px; }
  .hero-cta .btn { width: 100%; min-width: 0; }

  .services { padding-block: 56px; }
  .services-grid {
    grid-template-columns: 1fr;
    gap: 18px;
  }

  .feature { padding-block: 48px; }
  .stats {
    grid-template-columns: 1fr;
    gap: 20px;
    padding-top: 24px;
  }
  .stat { padding-bottom: 20px; border-bottom: 1px solid var(--c-border); }
  .stat:last-child { padding-bottom: 0; border-bottom: 0; }

  .cta-inner {
    flex-direction: column;
    align-items: flex-start;
    gap: 20px;
  }
  .cta-actions { width: 100%; }
  .cta-actions .btn { width: 100%; }

  .footer-inner {
    grid-template-columns: 1fr;
    gap: 32px;
    padding-block: 40px 28px;
  }
  .footer-nav-wrap { gap: 28px; }
}

@media (max-width: 720px) {
  :root { --header-h: 80px; }
  .site-logo-img { width: 200px; height: 52px; }
}

@media (max-width: 420px) {
  .btn { min-width: 0; height: 56px; padding-inline: 20px 16px; font-size: 14px; }
}
