/* ========================================
   Inobit Corporate Site
   ======================================== */

:root {
  --color-navy: #0F3554;
  --color-navy-dark: #0A2946;
  --color-teal: #1898A0;
  --color-teal-dark: #0E7A82;
  --color-teal-light: #E7F6F7;
  --color-background: #F5F7F8;
  --color-white: #FFFFFF;
  --color-text: #17232D;
  --color-subtext: #5E6973;
  --color-muted: #8A95A0;
  --color-border: #D7DEE3;
  --color-border-soft: #E7ECF0;
  --color-error: #C0392B;

  --font-sans: "Zen Kaku Gothic New", "Hiragino Sans", "Hiragino Kaku Gothic ProN", "Noto Sans JP", sans-serif;
  --font-en: "Manrope", "Zen Kaku Gothic New", sans-serif;

  --header-h: 68px;
  --container: 1180px;
  --radius: 2px;
  --ease: cubic-bezier(0.22, 1, 0.36, 1);
}

@media (min-width: 768px) {
  :root {
    --header-h: 76px;
  }
}

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

html {
  -webkit-text-size-adjust: 100%;
  overflow-x: hidden;
}

/* 見出しで語の途中改行を防ぐまとまり（このまとまりの間でだけ折り返す） */
.wb-keep {
  display: inline-block;
}

/* なめらかスクロールはページ内リンクをクリックしたときだけ。
   常時 smooth だと、他ページから #アンカー付きで開いたときに移動が中断され先頭に止まるため */
html:focus-within {
  scroll-behavior: smooth;
}

html {
  background: var(--color-white);
}

body {
  font-family: var(--font-sans);
  font-size: 16px;
  line-height: 1.85;
  color: var(--color-text);
  background: var(--color-white);
  overflow-x: hidden;
  position: relative;
}

/* トップのみ：パーティクルが透けて見えるようにする */
body.page-home {
  background: transparent;
}

html:has(body.page-home) {
  background: #F5F7F8;
}

/* Site-wide particles (全ページ共通・常時表示) */
#site-particles {
  position: fixed;
  inset: 0;
  width: 100%;
  height: 100%;
  z-index: 0;
  pointer-events: none;
}

/* fullScreen モードで body 直下に作られる canvas */
body > .tsparticles-canvas-el,
#site-particles canvas {
  z-index: 0 !important;
  pointer-events: none !important;
}

.site-header,
.nav-drawer,
main,
.site-footer {
  position: relative;
  z-index: 2;
}

.site-header {
  position: fixed;
  z-index: 100;
}

.nav-drawer {
  z-index: 105;
}

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

a {
  color: inherit;
  text-decoration: none;
}

button,
input,
select,
textarea {
  font: inherit;
  color: inherit;
}

ul,
ol {
  list-style: none;
}

:focus-visible {
  outline: 2px solid var(--color-teal);
  outline-offset: 3px;
}

.skip-link {
  position: absolute;
  left: 16px;
  top: -100px;
  z-index: 1000;
  background: var(--color-navy);
  color: var(--color-white);
  padding: 10px 16px;
}

.skip-link:focus {
  top: 16px;
}

.container {
  width: min(100% - 32px, var(--container));
  margin-inline: auto;
}

@media (min-width: 480px) {
  .container {
    width: min(100% - 48px, var(--container));
  }
}

@media (min-width: 768px) {
  .container {
    width: min(100% - 112px, var(--container));
  }
}

@media (min-width: 1200px) {
  .container {
    width: min(100% - 160px, var(--container));
  }
}

/* デスクトップ向け強制改行（狭い画面では自然折り返し） */
.br-desktop {
  display: none;
}

@media (min-width: 720px) {
  .br-desktop {
    display: inline;
  }
}

/* Typography */
.en-label {
  display: inline-flex;
  align-items: center;
  gap: 14px;
  font-family: var(--font-en);
  font-size: 12px;
  font-weight: 700;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: var(--color-teal);
  margin-bottom: 20px;
}

.en-label::before {
  content: "";
  width: 32px;
  height: 1px;
  background: currentColor;
}

.section-title {
  font-size: clamp(1.9rem, 4.2vw, 3.1rem);
  font-weight: 700;
  line-height: 1.35;
  letter-spacing: 0.01em;
  color: var(--color-navy-dark);
  overflow-wrap: anywhere;
  word-break: normal;
  /* 語の途中で切れないよう文節単位で改行（未対応ブラウザは normal のまま） */
  word-break: auto-phrase;
  /* 折り返し時に行の長さを均等にし、末尾に数文字だけ残るのを防ぐ */
  text-wrap: balance;
}

.section-lead {
  margin-top: 24px;
  color: var(--color-subtext);
  font-size: 1.02rem;
  max-width: 42em;
}

.section {
  padding: 72px 0;
  background: var(--color-white);
}

@media (min-width: 768px) {
  .section {
    padding: 128px 0;
  }
}

.section--bg {
  background: var(--color-background);
}

.section--soft {
  background: rgba(255, 255, 255, 0.92);
}

body.page-home .section {
  background: rgba(255, 255, 255, 0.45);
}

body.page-home .section--bg {
  background: rgba(245, 247, 248, 0.55);
}

body.page-home .section--soft {
  background: rgba(255, 255, 255, 0.48);
}

body.page-home .hero {
  background: transparent;
}

body.page-home .final-cta {
  background:
    linear-gradient(125deg, rgba(9, 42, 66, 0.94) 0%, rgba(18, 59, 93, 0.92) 55%, rgba(15, 92, 98, 0.9) 100%);
}

body:not(.page-home) .page-hero {
  background:
    linear-gradient(180deg, var(--color-background) 0%, var(--color-white) 100%);
}

body:not(.page-home) .final-cta {
  background:
    linear-gradient(125deg, var(--color-navy-dark) 0%, var(--color-navy) 55%, #0F5C62 100%);
}

body:not(.page-home) .form-card {
  background: var(--color-white);
  backdrop-filter: none;
}

.section--navy {
  background: var(--color-navy-dark);
  color: var(--color-white);
}

.section--navy .section-title,
.section--navy .en-label {
  color: var(--color-white);
}

.section--navy .en-label {
  color: rgba(255, 255, 255, 0.65);
}

.section--navy .en-label::before {
  background: rgba(255, 255, 255, 0.65);
}

.section-head {
  margin-bottom: 56px;
  max-width: 760px;
}

@media (min-width: 768px) {
  .section-head {
    margin-bottom: 72px;
  }
}

.section-head--right {
  margin-left: auto;
  text-align: left;
}

/* 見出しブロックを中央寄せ（下の図解と中心をそろえるセクション用） */
.section-head--center {
  max-width: none;
  margin-left: auto;
  margin-right: auto;
  text-align: center;
}

.section-head--center .section-lead {
  margin-left: auto;
  margin-right: auto;
}

/* Buttons / links */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 12px;
  min-height: 52px;
  padding: 0 28px;
  border: 1px solid transparent;
  border-radius: var(--radius);
  font-weight: 700;
  font-size: 0.92rem;
  letter-spacing: 0.06em;
  transition: background-color 0.35s var(--ease), color 0.35s var(--ease), border-color 0.35s var(--ease), transform 0.35s var(--ease);
  cursor: pointer;
  text-align: center;
}

.btn:hover {
  transform: translateY(-2px);
}

.btn--primary {
  background: var(--color-navy);
  color: var(--color-white);
}

.btn--primary:hover {
  background: var(--color-navy-dark);
}

.btn--accent {
  background: var(--color-teal);
  color: var(--color-white);
}

.btn--accent:hover {
  background: var(--color-teal-dark);
}

.btn--outline {
  background: transparent;
  border-color: var(--color-navy);
  color: var(--color-navy);
}

.btn--outline:hover {
  background: var(--color-navy);
  color: var(--color-white);
}

.btn--outline-light {
  background: transparent;
  border-color: rgba(255, 255, 255, 0.5);
  color: var(--color-white);
}

.btn--outline-light:hover {
  background: var(--color-white);
  color: var(--color-navy);
}

.btn--light {
  background: var(--color-white);
  color: var(--color-navy);
}

.btn--light:hover {
  background: var(--color-teal-light);
}

.btn-arrow::after {
  content: "";
  width: 8px;
  height: 8px;
  border-right: 1.5px solid currentColor;
  border-top: 1.5px solid currentColor;
  transform: rotate(45deg);
  transition: transform 0.35s var(--ease);
}

.btn-arrow:hover::after {
  transform: rotate(45deg) translate(2px, -2px);
}

.text-link {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  margin-top: 28px;
  padding-block: 8px;
  font-weight: 700;
  color: var(--color-navy);
  border-bottom: 1px solid transparent;
  transition: color 0.3s var(--ease), border-color 0.3s var(--ease);
}

.text-link::after {
  content: "";
  width: 28px;
  height: 1px;
  background: currentColor;
  transition: width 0.35s var(--ease);
}

.text-link:hover {
  color: var(--color-teal-dark);
  border-bottom-color: currentColor;
}

.text-link:hover::after {
  width: 44px;
}

/* Header */
.site-header {
  position: fixed;
  inset: 0 0 auto 0;
  z-index: 100;
  height: var(--header-h);
  background: rgba(255, 255, 255, 0);
  border-bottom: 1px solid transparent;
  transition: background-color 0.35s var(--ease), border-color 0.35s var(--ease), box-shadow 0.35s var(--ease);
}

.site-header.is-scrolled {
  background: rgba(255, 255, 255, 0.96);
  border-bottom-color: var(--color-border);
  box-shadow: 0 6px 20px rgba(9, 42, 66, 0.05);
}

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

.logo {
  display: inline-flex;
  align-items: center;
  position: relative;
  z-index: 110;
  line-height: 0;
  padding-block: 5px;
}

.logo img {
  display: block;
  height: 40px;
  width: auto;
  max-width: min(180px, 46vw);
}

@media (min-width: 960px) {
  .logo img {
    height: 46px;
    max-width: 220px;
  }
}

.nav-list {
  display: none;
  align-items: center;
  gap: 4px;
}

@media (min-width: 960px) {
  .nav-list {
    display: flex;
  }
}

.nav-list a {
  display: inline-flex;
  align-items: center;
  min-height: 40px;
  padding: 0 14px;
  font-size: 0.88rem;
  font-weight: 500;
  letter-spacing: 0.04em;
  color: var(--color-subtext);
  transition: color 0.3s var(--ease);
}

.nav-list a:hover,
.nav-list a[aria-current="page"] {
  color: var(--color-navy-dark);
}

.nav-list a[aria-current="page"] {
  font-weight: 700;
  position: relative;
}

.nav-list a[aria-current="page"]::after {
  content: "";
  position: absolute;
  left: 14px;
  right: 14px;
  bottom: 6px;
  height: 1px;
  background: var(--color-teal);
}

.nav-cta {
  margin-left: 8px;
  border: 1px solid var(--color-navy);
  color: var(--color-navy) !important;
  font-weight: 700 !important;
}

.nav-cta:hover,
.nav-cta[aria-current="page"] {
  background: var(--color-navy);
  color: var(--color-white) !important;
}

.nav-cta[aria-current="page"]::after {
  display: none;
}

.menu-toggle {
  display: inline-flex;
  flex-direction: column;
  justify-content: center;
  gap: 6px;
  width: 44px;
  height: 44px;
  border: 0;
  background: transparent;
  cursor: pointer;
  position: relative;
  z-index: 110;
}

@media (min-width: 960px) {
  .menu-toggle {
    display: none;
  }
}

.menu-toggle span {
  display: block;
  width: 22px;
  height: 1.5px;
  margin-inline: auto;
  background: var(--color-navy-dark);
  transition: transform 0.3s var(--ease), opacity 0.3s var(--ease);
}

.menu-toggle[aria-expanded="true"] span:nth-child(1) {
  transform: translateY(7.5px) rotate(45deg);
}

.menu-toggle[aria-expanded="true"] span:nth-child(2) {
  opacity: 0;
}

.menu-toggle[aria-expanded="true"] span:nth-child(3) {
  transform: translateY(-7.5px) rotate(-45deg);
}

.nav-drawer {
  position: fixed;
  inset: 0;
  overflow: hidden;
  background: rgba(9, 42, 66, 0.45);
  opacity: 0;
  visibility: hidden;
  transition: opacity 0.3s var(--ease), visibility 0.3s var(--ease);
  z-index: 105;
}

.nav-drawer.is-open {
  opacity: 1;
  visibility: visible;
}

.nav-drawer-panel {
  position: absolute;
  top: 0;
  right: 0;
  width: min(86vw, 340px);
  height: 100%;
  background: var(--color-white);
  padding: calc(var(--header-h) + 24px) 28px 40px;
  transform: translateX(100%);
  transition: transform 0.35s var(--ease);
  display: flex;
  flex-direction: column;
  gap: 4px;
}

.nav-drawer.is-open .nav-drawer-panel {
  transform: translateX(0);
}

.nav-drawer a {
  display: flex;
  align-items: center;
  min-height: 52px;
  border-bottom: 1px solid var(--color-border-soft);
  font-weight: 600;
  color: var(--color-navy-dark);
}

.nav-drawer a[aria-current="page"] {
  color: var(--color-teal);
}

.nav-drawer .nav-cta-mobile {
  margin-top: 24px;
  justify-content: center;
  border: 1px solid var(--color-navy);
  border-bottom: 1px solid var(--color-navy);
}

body.is-menu-open {
  overflow: hidden;
}

/* Page hero */
.page-hero {
  padding: calc(var(--header-h) + 48px) 0 56px;
  background:
    linear-gradient(180deg, rgba(245, 247, 248, 0.45) 0%, rgba(255, 255, 255, 0.3) 100%);
  border-bottom: 1px solid var(--color-border-soft);
}

@media (min-width: 768px) {
  .page-hero {
    padding: calc(var(--header-h) + 80px) 0 80px;
  }
}

.page-hero .section-title {
  max-width: 14em;
}

.page-hero-grid {
  display: grid;
  gap: 40px;
  align-items: center;
}

@media (min-width: 900px) {
  .page-hero-grid {
    grid-template-columns: 1.1fr 0.9fr;
    gap: 64px;
  }
}

/* Media frames (swappable images) */
.media-frame {
  position: relative;
  overflow: hidden;
  background: #F5F7F8;
  border: 1px solid var(--color-border);
  min-height: 240px;
}

.media-frame img {
  width: 100%;
  height: 100%;
  object-fit: contain;
  object-position: center;
  display: block;
  background: #F5F7F8;
}

.media-frame--about {
  min-height: 240px;
  height: 100%;
  aspect-ratio: 580 / 657;
  max-width: min(380px, 100%);
  margin-inline: auto;
  border: 0;
  background: transparent;
  overflow: visible;
}

.media-frame--about img {
  background: transparent;
  object-fit: contain;
}

.media-frame--services {
  min-height: 240px;
  height: 100%;
  aspect-ratio: 542 / 615;
  max-width: min(400px, 100%);
  margin-inline: auto;
  border: 0;
  background: transparent;
  overflow: visible;
}

.media-frame--services img {
  background: transparent;
  object-fit: contain;
}

.page-services .page-hero-grid {
  align-items: center;
}

.page-services .page-hero .section-title {
  font-size: clamp(1.45rem, 3.2vw, 2.35rem);
  line-height: 1.45;
  max-width: 12.5em;
  word-break: normal;
  overflow-wrap: anywhere;
  line-break: normal;
}

@media (min-width: 900px) {
  .page-services .page-hero-grid {
    grid-template-columns: minmax(0, 1.25fr) minmax(260px, 0.75fr);
    gap: 40px;
  }

  .page-services .media-frame--services {
    max-width: 360px;
  }
}

.media-frame--page {
  min-height: 280px;
  aspect-ratio: 4 / 3;
}

.media-frame--diagram {
  min-height: 220px;
  aspect-ratio: 1 / 1;
  border: 0;
  background: transparent;
  overflow: visible;
}

@media (min-width: 768px) {
  .media-frame--diagram {
    min-height: 320px;
  }
}

.media-frame--diagram img {
  background: transparent;
  padding: 0;
  object-fit: contain;
}

.media-frame--contact {
  min-height: 240px;
  aspect-ratio: 4 / 3;
  margin-top: 28px;
}

/* Home hero */
.hero {
  position: relative;
  min-height: 100vh;
  min-height: 100svh;
  display: flex;
  align-items: center;
  padding: calc(var(--header-h) + 28px) clamp(12px, 4vw, 72px) 48px;
  overflow: hidden;
  background: transparent;
}

@media (max-width: 719px) {
  .hero {
    min-height: 0;
    align-items: flex-start;
    padding-top: calc(var(--header-h) + 36px);
    padding-bottom: 64px;
  }
}

.hero .container {
  position: relative;
  z-index: 1;
  width: min(100%, var(--container));
  margin-inline: auto;
  padding-inline: clamp(8px, 2vw, 24px);
}

.hero-flow {
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
  width: 100%;
}

.hero-labels {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 10px 22px;
  margin-bottom: 22px;
}

.hero-labels .en-label {
  margin-bottom: 0;
}

.hero-title {
  font-size: clamp(2.2rem, 5.4vw, 3.6rem);
  font-weight: 700;
  line-height: 1.28;
  letter-spacing: 0.01em;
  color: var(--color-navy-dark);
  max-width: 14em;
}

.hero-desc {
  margin-top: 28px;
  color: var(--color-text);
  max-width: 46em;
  font-size: clamp(0.98rem, 1.5vw, 1.08rem);
  line-height: 2;
}

.hero-desc p + p {
  margin-top: 1.1em;
}

.hero-em {
  color: var(--color-teal-dark);
  font-weight: 700;
}

.hero-steps {
  display: flex;
  flex-direction: column;
  flex-wrap: nowrap;
  align-items: center;
  justify-content: center;
  gap: 28px;
  margin-top: 36px;
  width: 100%;
  max-width: 920px;
  list-style: none;
}

.hero-step {
  flex: 0 0 auto;
  width: 100%;
  max-width: 260px;
  display: grid;
  gap: 14px;
  justify-items: center;
}

@media (min-width: 560px) and (max-width: 719px) {
  .hero-steps {
    flex-direction: row;
    flex-wrap: wrap;
    gap: 20px 12px;
  }

  .hero-step {
    flex: 1 1 140px;
    max-width: 200px;
  }
}

.hero-step-icon {
  width: clamp(96px, 18vw, 128px);
  height: clamp(96px, 18vw, 128px);
}

.hero-step-icon svg,
.hero-step-icon img {
  width: 100%;
  height: 100%;
  display: block;
  object-fit: contain;
  background: transparent;
}

.hero-step p {
  font-size: 0.98rem;
  font-weight: 700;
  line-height: 1.55;
  color: var(--color-navy-dark);
}

.hero-step-arrow {
  display: none;
  align-items: flex-start;
  justify-content: center;
  flex: 0 0 auto;
  width: clamp(48px, 8vw, 76px);
  padding-top: clamp(40px, 7.5vw, 52px);
}

.hero-arrow-img {
  width: 100%;
  height: auto;
  display: block;
  object-fit: contain;
  background: transparent;
}

@media (min-width: 720px) {
  .hero-steps {
    flex-direction: row;
    flex-wrap: nowrap;
    gap: 6px 10px;
    margin-top: 44px;
  }

  .hero-step {
    flex: 1 1 0;
    max-width: 220px;
  }

  .hero-step-arrow {
    display: flex;
  }
}

.hero-cta {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 14px;
  margin-top: 40px;
}

/* Reveal / hero anim */
/* 既定は表示。JS有効時のみ入場アニメ用に一旦隠す */
.reveal {
  opacity: 1;
  transform: none;
}

html.js .reveal:not(.is-visible) {
  opacity: 0;
  transform: translateY(32px);
  transition: opacity 0.9s var(--ease), transform 0.9s var(--ease);
}

html.js .reveal.is-visible {
  opacity: 1;
  transform: translateY(0);
}

.hero-anim .hero-labels,
.hero-anim .hero-title,
.hero-anim .hero-desc,
.hero-anim .hero-steps,
.hero-anim .hero-cta {
  opacity: 1;
  transform: none;
}

html.js .hero-anim:not(.is-ready) .hero-labels,
html.js .hero-anim:not(.is-ready) .hero-title,
html.js .hero-anim:not(.is-ready) .hero-desc,
html.js .hero-anim:not(.is-ready) .hero-steps,
html.js .hero-anim:not(.is-ready) .hero-cta {
  opacity: 0;
  transform: translateY(28px);
}

html.js .hero-anim.is-ready .hero-labels,
html.js .hero-anim.is-ready .hero-title,
html.js .hero-anim.is-ready .hero-desc,
html.js .hero-anim.is-ready .hero-steps,
html.js .hero-anim.is-ready .hero-cta {
  animation: fadeUp 0.95s var(--ease) forwards;
}

html.js .hero-anim.is-ready .hero-labels { animation-delay: 0.05s; }
html.js .hero-anim.is-ready .hero-title { animation-delay: 0.14s; }
html.js .hero-anim.is-ready .hero-desc { animation-delay: 0.28s; }
html.js .hero-anim.is-ready .hero-steps { animation-delay: 0.42s; }
html.js .hero-anim.is-ready .hero-cta { animation-delay: 0.58s; }

@keyframes fadeUp {
  from {
    opacity: 0;
    transform: translateY(28px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

@media (prefers-reduced-motion: no-preference) {
  .flow-dot { animation: pulseDot 4s ease-in-out infinite; }
  .flow-dot.d2 { animation-delay: 0.7s; }
  .flow-dot.d3 { animation-delay: 1.4s; }
  .flow-dot.d4 { animation-delay: 2.1s; }
  .flow-line {
    stroke-dasharray: 5 9;
    animation: dashMove 12s linear infinite;
  }
  .flow-panel { animation: floatY 8s ease-in-out infinite; }
  .flow-panel.p2 { animation-delay: 1.4s; }
}

@keyframes pulseDot {
  0%, 100% { opacity: 0.4; }
  50% { opacity: 1; }
}

@keyframes dashMove {
  to { stroke-dashoffset: -90; }
}

@keyframes floatY {
  0%, 100% { transform: translateY(0); }
  50% { transform: translateY(-10px); }
}

/* About split */
.about-grid {
  display: grid;
  gap: 36px;
}

@media (min-width: 900px) {
  .about-grid {
    grid-template-columns: minmax(260px, 0.78fr) minmax(0, 1.42fr);
    gap: 48px;
    align-items: center;
  }
}

.about-visual {
  position: relative;
  min-height: 280px;
  background: transparent;
  display: flex;
  justify-content: center;
}

@media (min-width: 900px) {
  .about-visual {
    justify-content: flex-start;
  }
}

.about-visual .media-frame {
  min-height: 240px;
  width: 100%;
  height: auto;
  border: 0;
  background: transparent;
}

@media (min-width: 768px) {
  .about-visual .media-frame {
    min-height: 360px;
  }
}

.about-copy {
  max-width: none;
}

.about-copy .section-title {
  max-width: 18em;
}

.about-copy p {
  max-width: 42em;
}

.about-visual-caption {
  position: absolute;
  left: 0;
  right: 0;
  bottom: 0;
  z-index: 2;
  padding: 28px 24px;
  background: linear-gradient(180deg, transparent, rgba(9, 42, 66, 0.82));
  color: var(--color-white);
  font-size: clamp(1.2rem, 2.2vw, 1.6rem);
  font-weight: 700;
  line-height: 1.55;
  pointer-events: none;
}

.about-copy p + p {
  margin-top: 1.1em;
  color: var(--color-subtext);
}

.about-copy p:first-child {
  color: var(--color-text);
  font-size: 1.05rem;
}

/* Services editorial rows */
.service-board {
  border-top: 1px solid var(--color-border);
}

.service-line {
  display: grid;
  grid-template-columns: auto minmax(0, 1fr);
  gap: 12px 18px;
  padding: 28px 0;
  border-bottom: 1px solid var(--color-border);
  position: relative;
  transition: background-color 0.35s var(--ease), padding 0.35s var(--ease);
}

.service-line .service-arrow {
  grid-column: 2;
  justify-self: start;
}

@media (min-width: 860px) {
  .service-line {
    grid-template-columns: 96px minmax(0, 1fr) 48px;
    gap: 36px;
    align-items: center;
    padding: 42px 8px;
  }

  .service-line .service-arrow {
    grid-column: auto;
    justify-self: center;
  }
}

.service-line:hover {
  background: linear-gradient(90deg, rgba(232, 245, 244, 0.55), transparent 70%);
}

.service-line .num {
  font-family: var(--font-en);
  font-size: clamp(2rem, 3.5vw, 2.8rem);
  font-weight: 700;
  color: var(--color-teal);
  letter-spacing: 0.04em;
  line-height: 1;
}

.service-line h3 {
  font-size: clamp(1.25rem, 2.2vw, 1.65rem);
  font-weight: 700;
  color: var(--color-navy-dark);
  line-height: 1.4;
  margin-bottom: 10px;
}

.service-line p {
  color: var(--color-subtext);
  font-size: 0.98rem;
  max-width: 52em;
}

.service-line p.service-note {
  margin-top: 10px;
  font-size: 0.86rem;
  color: var(--color-muted);
}

.service-arrow {
  width: 42px;
  height: 42px;
  border: 1px solid var(--color-border);
  display: inline-flex;
  align-items: center;
  justify-content: center;
  color: var(--color-navy);
  transition: background-color 0.35s var(--ease), border-color 0.35s var(--ease), color 0.35s var(--ease), transform 0.35s var(--ease);
}

.service-arrow::before {
  content: "";
  width: 8px;
  height: 8px;
  border-right: 1.5px solid currentColor;
  border-top: 1.5px solid currentColor;
  transform: rotate(45deg);
  transition: transform 0.35s var(--ease);
}

.service-line:hover .service-arrow {
  background: var(--color-navy);
  border-color: var(--color-navy);
  color: var(--color-white);
  transform: translateX(4px);
}

.service-line:hover .service-arrow::before {
  transform: rotate(45deg) translate(1px, -1px);
}

.service-line::after {
  content: "";
  position: absolute;
  left: 0;
  bottom: -1px;
  width: 0;
  height: 1px;
  background: var(--color-teal);
  transition: width 0.45s var(--ease);
}

.service-line:hover::after {
  width: 100%;
}

/* Development structure */
.structure-grid {
  display: grid;
  gap: 48px;
}

@media (min-width: 960px) {
  .structure-grid {
    grid-template-columns: minmax(0, 1fr) minmax(0, 480px);
    gap: 72px;
    align-items: center;
  }
}

.structure-copy p {
  color: var(--color-subtext);
  max-width: 36em;
}

.structure-copy p:first-child {
  color: var(--color-text);
  font-size: 1.05rem;
  font-weight: 700;
}

.structure-copy p + p {
  margin-top: 1.1em;
}

.structure-figure {
  --sf-first: 56px;
  --sf-gap: 36px;
  position: relative;
  padding-right: 60px;
}

.structure-flow {
  display: grid;
  gap: var(--sf-gap);
  list-style: none;
}

.structure-node {
  position: relative;
  padding: 16px 20px;
  border: 1px solid var(--color-border);
  background: var(--color-white);
  text-align: center;
  line-height: 1.6;
}

.structure-node strong {
  display: block;
  font-size: 1.05rem;
  font-weight: 700;
  color: var(--color-navy-dark);
}

.structure-node span {
  display: block;
  margin-top: 4px;
  font-size: 0.86rem;
  color: var(--color-subtext);
}

.structure-node + .structure-node::before {
  content: "";
  position: absolute;
  left: 50%;
  top: calc(var(--sf-gap) * -1 + 6px);
  width: 2px;
  height: calc(var(--sf-gap) - 20px);
  margin-left: -1px;
  background: var(--color-teal);
  opacity: 0.55;
}

.structure-node + .structure-node::after {
  content: "";
  position: absolute;
  left: 50%;
  top: -14px;
  margin-left: -7px;
  border-left: 7px solid transparent;
  border-right: 7px solid transparent;
  border-top: 8px solid var(--color-teal);
}

.structure-node--customer {
  display: flex;
  align-items: center;
  justify-content: center;
  height: var(--sf-first);
  padding-block: 0;
}

.structure-node--inobit {
  background: var(--color-navy);
  border-color: var(--color-navy);
  box-shadow: 0 14px 30px -18px rgba(10, 41, 70, 0.6);
}

.structure-node--inobit strong {
  color: var(--color-white);
  font-family: var(--font-en);
  font-size: 1.2rem;
  letter-spacing: 0.04em;
}

.structure-node--inobit span {
  color: rgba(255, 255, 255, 0.82);
}

.structure-node--team {
  margin-inline: 8%;
  padding-block: 12px;
  border-style: dashed;
  background: rgba(245, 247, 248, 0.9);
}

.structure-node--team strong {
  font-size: 0.95rem;
  color: var(--color-subtext);
}

.structure-node--team span {
  color: var(--color-muted);
}

.structure-node--joint {
  border: 2px solid var(--color-navy);
  background: var(--color-teal-light);
}

.structure-bracket {
  position: absolute;
  top: calc(var(--sf-first) + var(--sf-gap));
  right: 0;
  bottom: 0;
  width: 48px;
  display: flex;
  align-items: center;
  justify-content: flex-end;
}

.structure-bracket::before {
  content: "";
  position: absolute;
  left: 0;
  top: 0;
  bottom: 0;
  width: 12px;
  border: 2px solid var(--color-teal);
  border-left: 0;
  border-radius: 0 6px 6px 0;
}

.structure-bracket span {
  writing-mode: vertical-rl;
  padding: 14px 6px;
  background: var(--color-teal-light);
  color: var(--color-navy-dark);
  font-size: 0.86rem;
  font-weight: 700;
  letter-spacing: 0.12em;
  line-height: 1.4;
}

.structure-partners {
  margin-top: 56px;
  padding-top: 24px;
  border-top: 1px solid var(--color-border-soft);
}

.structure-partners-label {
  font-family: var(--font-en);
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--color-muted);
}

.structure-partners-logos {
  display: flex;
  flex-wrap: wrap;
  gap: 16px 28px;
  margin-top: 12px;
  list-style: none;
}

.structure-partners-logos img {
  width: auto;
  height: 32px;
  filter: grayscale(1);
  opacity: 0.7;
}

/* Approach */
.approach-lead p + p {
  margin-top: 0.8em;
}

/* Our Approach - branch diagram */
.branch-flow {
  --bf-icon: 88px;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 6px;
  margin: 0 auto 72px;
  list-style: none;
}

.branch-node {
  width: 100%;
  max-width: 240px;
  display: grid;
  justify-items: center;
  gap: 10px;
}

.branch-icon {
  width: var(--bf-icon);
  height: var(--bf-icon);
}

.branch-icon svg,
.branch-icon img {
  width: 100%;
  height: 100%;
  display: block;
  object-fit: contain;
  background: transparent;
}

.branch-node p {
  font-size: 0.95rem;
  font-weight: 700;
  line-height: 1.5;
  color: var(--color-navy-dark);
  text-align: center;
}

.branch-arrow {
  display: flex;
  align-items: center;
  justify-content: center;
  height: 40px;
}

.branch-arrow img {
  width: 36px;
  height: auto;
  transform: rotate(90deg);
}

.branch-split {
  position: relative;
  width: 100%;
  max-width: 420px;
  padding: 26px 0;
}

.branch-split::before,
.branch-split::after {
  content: "";
  position: absolute;
  left: 25%;
  right: 25%;
  height: 18px;
  border: 2px solid var(--color-teal);
  opacity: 0.6;
}

.branch-split::before {
  top: 0;
  border-bottom: 0;
  border-radius: 6px 6px 0 0;
}

.branch-split::after {
  bottom: 0;
  border-top: 0;
  border-radius: 0 0 6px 6px;
}

.branch-options {
  display: grid;
  grid-template-columns: 1fr 1fr;
  list-style: none;
}

.branch-node--option {
  max-width: none;
  padding-inline: 6px;
}

@media (min-width: 1024px) {
  .branch-flow {
    --bf-icon: 104px;
    --bf-opt-w: 176px;
    --bf-bracket: 28px;
    --bf-gap: 64px;
    flex-direction: row;
    justify-content: center;
    gap: 0;
    padding-bottom: 64px;
    margin-bottom: 88px;
  }

  .branch-node {
    position: relative;
    display: block;
    flex: 0 0 auto;
    width: var(--bf-icon);
    max-width: none;
  }

  .branch-node p {
    position: absolute;
    top: 100%;
    left: 50%;
    width: 11em;
    margin: 12px 0 0 -5.5em;
  }

  .branch-arrow {
    flex: 0 0 auto;
    width: 76px;
    height: auto;
  }

  .branch-arrow img {
    width: 44px;
    transform: none;
  }

  .branch-split {
    flex: 0 0 auto;
    width: auto;
    max-width: none;
    padding: 0 var(--bf-bracket);
  }

  .branch-split::before,
  .branch-split::after {
    top: calc(var(--bf-icon) / 2);
    bottom: calc(var(--bf-icon) / 2);
    width: calc(var(--bf-bracket) + (var(--bf-opt-w) - var(--bf-icon)) / 2);
    height: auto;
    border: 2px solid var(--color-teal);
  }

  .branch-split::before {
    left: 0;
    right: auto;
    border-right: 0;
    border-radius: 6px 0 0 6px;
  }

  .branch-split::after {
    left: auto;
    right: 0;
    border-left: 0;
    border-radius: 0 6px 6px 0;
  }

  .branch-options {
    display: flex;
    flex-direction: column;
    gap: var(--bf-gap);
  }

  .branch-node--option {
    width: var(--bf-opt-w);
    padding-inline: 0;
  }

  .branch-node--option .branch-icon {
    position: relative;
    z-index: 1;
    margin-inline: auto;
  }

  .branch-node--option p {
    left: 0;
    width: 100%;
    margin-left: 0;
  }
}

/* Our Approach - timeline UI */
.approach-flow {
  position: relative;
  max-width: 820px;
  margin-top: 8px;
  padding-left: 28px;
}

.approach-flow::before {
  content: "";
  position: absolute;
  left: 7px;
  top: 12px;
  bottom: 40px;
  width: 1px;
  background: var(--color-border);
}

.approach-block {
  position: relative;
  padding: 0 0 56px;
}

.approach-block:last-child {
  padding-bottom: 0;
}

.approach-block::before {
  content: "";
  position: absolute;
  left: -28px;
  top: 0.55em;
  width: 0;
  height: 0;
  border-left: 7px solid transparent;
  border-right: 7px solid transparent;
  border-top: 9px solid var(--color-teal);
  z-index: 1;
}

.approach-step {
  margin: 0 0 6px;
  font-family: var(--font-en);
  font-size: 0.8rem;
  font-weight: 700;
  letter-spacing: 0.16em;
  line-height: 1.4;
  color: var(--color-teal);
}

.approach-block-title {
  font-size: clamp(1.6rem, 3vw, 2.1rem);
  font-weight: 700;
  color: var(--color-navy-dark);
  line-height: 1.4;
  margin: 0 0 20px;
  letter-spacing: 0.02em;
}

.approach-block-body {
  border-left: 3px solid var(--color-teal);
  padding: 4px 0 4px 28px;
}

.approach-icon {
  display: inline-flex;
  color: var(--color-teal);
  margin-bottom: 14px;
}

.approach-icon img {
  width: 40px;
  height: 40px;
  object-fit: contain;
  display: block;
  background: transparent;
}

.approach-block-label {
  display: flex;
  align-items: center;
  gap: 8px;
  font-size: 1.05rem;
  font-weight: 700;
  color: var(--color-teal);
  margin-bottom: 12px;
  line-height: 1.5;
}

.approach-block-label::before {
  content: "";
  width: 0;
  height: 0;
  border-top: 5px solid transparent;
  border-bottom: 5px solid transparent;
  border-left: 7px solid var(--color-teal);
  flex-shrink: 0;
}

.approach-block-body p {
  color: var(--color-subtext);
  font-size: 0.98rem;
  line-height: 1.9;
  max-width: 40em;
  margin: 0;
}

@media (min-width: 768px) {
  .approach-flow {
    padding-left: 40px;
  }

  .approach-block::before {
    left: -40px;
  }

  .approach-block {
    padding-bottom: 72px;
  }

  .approach-block-body {
    padding-left: 36px;
  }
}

@media (min-width: 900px) {
  .approach-flow {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 56px 28px;
    max-width: none;
    padding-left: 0;
  }

  .approach-flow::before {
    display: none;
  }

  .approach-block,
  .approach-block:last-child {
    padding: 26px 0 0;
    border-top: 1px solid var(--color-border);
  }

  .approach-block::before {
    left: 0;
    top: -6px;
    border-top: 5px solid transparent;
    border-bottom: 5px solid transparent;
    border-left: 9px solid var(--color-teal);
    border-right: 0;
  }

  .approach-block-title {
    font-size: 1.3rem;
    margin-bottom: 16px;
  }

  .approach-block-body {
    padding-left: 20px;
  }

  .approach-block-body p {
    font-size: 0.92rem;
    line-height: 1.85;
  }
}

@media (min-width: 1200px) {
  .approach-flow {
    grid-template-columns: repeat(5, minmax(0, 1fr));
    gap: 24px;
  }

  .approach-block-title {
    font-size: 1.15rem;
  }

  .approach-block-body {
    padding-left: 16px;
  }
}

/* Solve */
.solve-grid {
  display: grid;
  gap: 0;
  border-top: 1px solid var(--color-border);
}

.solve-item {
  display: grid;
  gap: 8px;
  padding: 26px 0;
  border-bottom: 1px solid var(--color-border);
  transition: padding-left 0.35s var(--ease);
}

@media (min-width: 800px) {
  .solve-item {
    grid-template-columns: 1fr auto;
    align-items: center;
    gap: 24px;
    padding: 28px 0;
  }
}

.solve-item:hover {
  padding-left: 8px;
}

.solve-item strong {
  display: block;
  font-size: 1.05rem;
  color: var(--color-navy-dark);
  font-weight: 700;
}

.solve-tag {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  box-sizing: border-box;
  /* 全ボタンを最長ラベル「業務システム・Webシステム開発」と同じ幅にそろえる */
  width: 18em;
  min-width: max-content;
  max-width: 100%;
  min-height: 2.5em;
  padding: 8px 12px;
  font-family: var(--font-sans);
  font-size: 0.78rem;
  font-weight: 700;
  letter-spacing: 0.04em;
  text-align: center;
  color: var(--color-teal-dark);
  border: 1px solid rgba(20, 154, 150, 0.35);
  background: rgba(255, 255, 255, 0.7);
  white-space: normal;
  transition: background-color 0.3s var(--ease), color 0.3s var(--ease);
}

@media (min-width: 480px) {
  .solve-tag {
    justify-self: start;
    white-space: nowrap;
  }
}

@media (min-width: 800px) {
  .solve-tag {
    min-height: 2.75em;
    justify-self: end;
    white-space: nowrap;
  }
}

.solve-item:hover .solve-tag {
  background: var(--color-teal);
  color: var(--color-white);
  border-color: var(--color-teal);
}

/* Company teaser */
.company-teaser {
  display: grid;
  gap: 36px;
}

@media (min-width: 900px) {
  .company-teaser {
    grid-template-columns: 1.1fr 0.9fr;
    gap: 72px;
    align-items: center;
  }
}

.company-panel {
  position: relative;
  min-height: 240px;
  overflow: visible;
  background: transparent;
}

.company-panel .media-frame--diagram {
  min-height: 240px;
  height: 100%;
}

@media (min-width: 768px) {
  .company-panel {
    min-height: 340px;
  }

  .company-panel .media-frame--diagram {
    min-height: 340px;
  }
}

.company-panel-caption {
  position: absolute;
  inset: auto 0 0 0;
  z-index: 2;
  padding: 28px 24px;
  background: linear-gradient(180deg, transparent, rgba(9, 42, 66, 0.85));
  color: var(--color-white);
  font-size: 1.25rem;
  font-weight: 700;
  line-height: 1.6;
  pointer-events: none;
}

/* Latest / News */
.latest-section {
  background: transparent;
}

body.page-home .latest-section {
  background: rgba(245, 247, 248, 0.42);
}

.latest-head {
  margin-bottom: 28px;
}

.latest-title {
  font-size: clamp(1.9rem, 4vw, 2.6rem);
  font-weight: 700;
  color: var(--color-navy-dark);
  line-height: 1.3;
}

.latest-en {
  margin-top: 10px;
  font-family: var(--font-en);
  font-size: 0.95rem;
  font-weight: 600;
  letter-spacing: 0.18em;
  color: var(--color-teal);
  position: relative;
  display: inline-block;
  padding-top: 12px;
}

.latest-en::before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  width: 36px;
  height: 2px;
  background: var(--color-teal);
}

.latest-filters {
  display: grid;
  grid-template-columns: 1fr;
  gap: 14px;
  margin-bottom: 40px;
  width: 100%;
}

@media (min-width: 720px) {
  .latest-filters {
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 20px;
  }
}

.latest-filter {
  appearance: none;
  border: 0;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  width: 100%;
  min-height: 58px;
  padding: 16px 28px 16px 32px;
  color: var(--color-white);
  font-weight: 700;
  font-size: clamp(1rem, 1.8vw, 1.2rem);
  letter-spacing: 0.06em;
  border-radius: 999px;
  background: linear-gradient(100deg, #3bb5a8 0%, #2a8f9c 42%, #2f6f96 100%);
  box-shadow: 0 10px 24px rgba(20, 120, 125, 0.18);
  transition: transform 0.25s var(--ease), filter 0.25s var(--ease), box-shadow 0.25s var(--ease), opacity 0.25s var(--ease);
  opacity: 0.88;
}

@media (min-width: 720px) {
  .latest-filter {
    min-height: 68px;
    padding: 18px 34px 18px 40px;
  }
}

.latest-filter-arrow {
  width: 0;
  height: 0;
  border-style: solid;
  border-width: 7px 0 7px 11px;
  border-color: transparent transparent transparent #fff;
  flex: 0 0 auto;
}

.latest-filter:hover {
  opacity: 1;
  transform: translateY(-2px);
  box-shadow: 0 14px 28px rgba(20, 120, 125, 0.24);
}

.latest-filter.is-active {
  opacity: 1;
  filter: saturate(1.08) brightness(1.02);
  box-shadow: 0 14px 30px rgba(10, 41, 70, 0.2);
}

.latest-grid {
  display: grid;
  gap: 28px;
}

@media (min-width: 640px) {
  .latest-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 24px;
  }
}

@media (min-width: 960px) {
  .latest-grid {
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 28px;
  }
}

.latest-card {
  display: flex;
  flex-direction: column;
  color: inherit;
  min-height: 100%;
  transition: transform 0.35s var(--ease);
}

.latest-card:hover {
  transform: translateY(-4px);
}

.latest-card-thumb {
  aspect-ratio: 16 / 9;
  overflow: hidden;
  background: #fff;
  border: 0;
  line-height: 0;
  padding: 0;
  margin: 0;
}

.latest-card-thumb img {
  width: 100%;
  height: 100%;
  max-width: none;
  object-fit: cover;
  object-position: left center;
  display: block;
  border: 0;
  background: #fff;
}

.latest-card-body {
  display: flex;
  flex-direction: column;
  gap: 14px;
  padding: 18px 2px 0;
  flex: 1;
}

.latest-card-meta {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 10px 14px;
}

.latest-card-tag {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 28px;
  padding: 4px 12px;
  border: 1px solid rgba(20, 154, 150, 0.45);
  color: var(--color-teal-dark);
  font-size: 0.78rem;
  font-weight: 700;
  letter-spacing: 0.04em;
  background: rgba(255, 255, 255, 0.55);
}

.latest-card-date {
  font-family: var(--font-en);
  font-size: 0.86rem;
  color: var(--color-subtext);
  letter-spacing: 0.02em;
}

.latest-card-title {
  font-size: 1.02rem;
  font-weight: 700;
  line-height: 1.65;
  color: var(--color-navy-dark);
}

.latest-card-foot {
  margin-top: auto;
  padding-top: 16px;
  border-top: 1px solid var(--color-border);
  display: flex;
  justify-content: flex-end;
}

.latest-card-arrow {
  width: 28px;
  height: 28px;
  border: 1px solid rgba(20, 154, 150, 0.4);
  color: var(--color-teal);
  display: inline-flex;
  align-items: center;
  justify-content: center;
  transition: background-color 0.3s var(--ease), color 0.3s var(--ease), border-color 0.3s var(--ease);
}

.latest-card-arrow::before {
  content: "";
  width: 7px;
  height: 7px;
  border-right: 1.5px solid currentColor;
  border-top: 1.5px solid currentColor;
  transform: rotate(45deg);
  margin-left: -2px;
}

.latest-card:hover .latest-card-arrow {
  background: var(--color-teal);
  border-color: var(--color-teal);
  color: var(--color-white);
}

.latest-empty {
  display: grid;
  gap: 10px;
  padding: 48px 28px;
  border: 1px dashed rgba(20, 154, 150, 0.35);
  background: rgba(255, 255, 255, 0.55);
  text-align: center;
  color: var(--color-subtext);
}

.latest-empty[hidden] {
  display: none !important;
}

.latest-empty-title {
  font-size: 1.15rem;
  font-weight: 700;
  color: var(--color-navy-dark);
}

.latest-empty-text {
  font-size: 0.98rem;
  line-height: 1.8;
  max-width: 28em;
  margin-inline: auto;
  word-break: auto-phrase;
}

.latest-empty-text a {
  color: var(--color-teal-dark);
  text-decoration: underline;
  text-underline-offset: 3px;
}

/* Post detail */
.post-hero {
  padding: calc(var(--header-h) + 48px) 0 24px;
}

.post-meta {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 12px 16px;
  margin: 20px 0 28px;
}

.post-article {
  max-width: 760px;
}

.post-article .post-thumb {
  margin: 0 0 36px;
  border: 0;
  background: #E8F5F4;
  overflow: hidden;
}

.post-article .post-thumb img {
  width: 100%;
  height: auto;
  display: block;
  aspect-ratio: 16 / 9;
  object-fit: cover;
  object-position: left center;
  background: #fff;
}

.post-content {
  font-size: 1.02rem;
  line-height: 2;
  color: var(--color-text);
  overflow-wrap: anywhere;
}

.post-content img,
.post-content video,
.post-content iframe {
  max-width: 100%;
  height: auto;
}

.post-content table {
  display: block;
  width: 100%;
  overflow-x: auto;
  border-collapse: collapse;
}

.post-content pre {
  overflow-x: auto;
  max-width: 100%;
  padding: 12px 14px;
  background: rgba(232, 245, 244, 0.55);
}

.post-content > * + * {
  margin-top: 1.1em;
}

.post-content h1,
.post-content h2,
.post-content h3 {
  color: var(--color-navy-dark);
  font-weight: 700;
  line-height: 1.45;
  margin-top: 1.6em;
}

.post-content h1 { font-size: 1.5rem; }
.post-content h2 { font-size: 1.28rem; }
.post-content h3 { font-size: 1.1rem; }

.post-content ul,
.post-content ol {
  padding-left: 1.4em;
  list-style: disc;
}

.post-content ol {
  list-style: decimal;
}

.post-content a {
  color: var(--color-teal-dark);
  text-decoration: underline;
  text-underline-offset: 3px;
}

.post-content code {
  font-family: ui-monospace, SFMono-Regular, Menlo, Consolas, monospace;
  font-size: 0.92em;
  background: rgba(232, 245, 244, 0.8);
  padding: 0.1em 0.35em;
}

.post-back {
  margin: 48px 0 80px;
}

.post-content blockquote {
  padding: 14px 20px;
  border-left: 3px solid var(--color-teal);
  background: rgba(232, 245, 244, 0.5);
  color: var(--color-subtext);
}

.post-content blockquote > * + * {
  margin-top: 0.8em;
}

.post-content table {
  font-size: 0.95rem;
}

.post-content th,
.post-content td {
  padding: 10px 14px;
  border: 1px solid var(--color-border);
  text-align: left;
  vertical-align: top;
  line-height: 1.7;
}

.post-content th {
  background: var(--color-background);
  color: var(--color-navy-dark);
  font-weight: 700;
}

.post-content pre {
  line-height: 1.7;
}

.post-content pre code {
  background: none;
  padding: 0;
}

.post-content hr {
  border: 0;
  border-top: 1px solid var(--color-border);
  margin-block: 2.4em;
}

.post-content li + li {
  margin-top: 0.3em;
}

.post-content strong {
  color: var(--color-navy-dark);
  font-weight: 700;
}

/* Breadcrumb */
.breadcrumb {
  margin-bottom: 32px;
  font-size: 0.82rem;
  line-height: 1.6;
  color: var(--color-muted);
}

.breadcrumb ol {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  row-gap: 4px;
}

.breadcrumb li {
  display: inline-flex;
  align-items: center;
  min-width: 0;
}

.breadcrumb li + li::before {
  content: "";
  display: inline-block;
  flex-shrink: 0;
  width: 6px;
  height: 6px;
  margin: 0 12px 0 10px;
  border-right: 1px solid currentColor;
  border-top: 1px solid currentColor;
  transform: rotate(45deg);
}

.breadcrumb a {
  color: var(--color-subtext);
  text-decoration: underline;
  text-decoration-color: var(--color-border);
  text-underline-offset: 3px;
  transition: color 0.3s var(--ease);
}

.breadcrumb a:hover {
  color: var(--color-teal-dark);
}

.breadcrumb li[aria-current="page"] {
  display: block;
  flex: 1 1 10em;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
  color: var(--color-text);
}

/* Blog article */
.post-article .post-title {
  font-size: clamp(1.45rem, 3.6vw + 0.6rem, 2.4rem);
  line-height: 1.45;
}

.post-tags,
.blog-card-tags {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
}

.post-article--blog .post-content h2 {
  position: relative;
  margin-top: 2.2em;
  padding-bottom: 12px;
  border-bottom: 1px solid var(--color-border);
  font-size: clamp(1.25rem, 2.4vw, 1.45rem);
}

.post-article--blog .post-content h2::after {
  content: "";
  position: absolute;
  left: 0;
  bottom: -1px;
  width: 48px;
  height: 2px;
  background: var(--color-teal);
}

.post-article--blog .post-content h3 {
  margin-top: 1.9em;
  padding-left: 14px;
  border-left: 3px solid var(--color-teal);
  font-size: 1.15rem;
  line-height: 1.5;
}

.post-article--blog .post-content h4 {
  margin-top: 1.6em;
  font-size: 1.02rem;
  color: var(--color-navy-dark);
}

.post-article--blog .post-content img {
  height: auto;
}

.post-cta {
  display: grid;
  justify-items: start;
  gap: 18px;
  margin-top: 64px;
  padding: 28px 24px;
  background: var(--color-teal-light);
  border-left: 3px solid var(--color-teal);
}

.post-cta-text {
  font-size: 1.02rem;
  font-weight: 700;
  line-height: 1.7;
  color: var(--color-navy-dark);
  word-break: auto-phrase;
}

@media (min-width: 720px) {
  .post-cta {
    grid-template-columns: minmax(0, 1fr) auto;
    align-items: center;
    gap: 28px;
    padding: 32px 36px;
  }
}

.post-article--blog .post-back {
  margin-top: 40px;
}

/* Blog share buttons */
.post-share {
  margin-top: 56px;
  padding-top: 28px;
  border-top: 1px solid var(--color-border);
}

.post-share-label {
  margin: 0 0 14px;
  font-size: 0.9rem;
  font-weight: 700;
  letter-spacing: 0.04em;
  color: var(--color-navy-dark);
}

.post-share-list {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin: 0;
  padding: 0;
  list-style: none;
}

.share-btn {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  min-height: 42px;
  padding: 0 16px;
  border: 1px solid var(--color-border);
  border-radius: 999px;
  background: var(--color-white);
  color: var(--color-text);
  font: inherit;
  font-size: 0.88rem;
  font-weight: 700;
  line-height: 1;
  text-decoration: none;
  cursor: pointer;
  transition: border-color 0.2s var(--ease), color 0.2s var(--ease), background-color 0.2s var(--ease);
}

.share-btn svg {
  flex: none;
  fill: currentColor;
}

.share-btn:hover,
.share-btn:focus-visible {
  border-color: currentColor;
}

.share-btn--x:hover, .share-btn--x:focus-visible { color: #000; }
.share-btn--linkedin:hover, .share-btn--linkedin:focus-visible { color: #0A66C2; }
.share-btn--facebook:hover, .share-btn--facebook:focus-visible { color: #1877F2; }
.share-btn--line:hover, .share-btn--line:focus-visible { color: #06C755; }
.share-btn--copy:hover, .share-btn--copy:focus-visible,
.share-btn--more:hover, .share-btn--more:focus-visible { color: var(--color-teal-dark); }

.share-btn.is-copied {
  border-color: var(--color-teal);
  background: var(--color-teal-light);
  color: var(--color-teal-dark);
}

@media (max-width: 479px) {
  .post-share-list {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .share-btn {
    width: 100%;
    justify-content: center;
  }
}

/* Blog index */
.blog-list-section {
  padding: 56px 0 80px;
}

@media (min-width: 768px) {
  .blog-list-section {
    padding: 80px 0 112px;
  }
}

.blog-grid {
  display: grid;
  gap: 40px;
}

@media (min-width: 640px) {
  .blog-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 44px 24px;
  }
}

@media (min-width: 960px) {
  .blog-grid {
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 48px 28px;
  }
}

.blog-grid > li {
  display: flex;
  min-width: 0;
}

.blog-card {
  width: 100%;
}

.blog-card .latest-card-thumb {
  border: 1px solid var(--color-border-soft);
  background: var(--color-background);
}

.blog-card .latest-card-title {
  font-size: 1.08rem;
  transition: color 0.3s var(--ease);
}

.blog-card:hover .latest-card-title {
  color: var(--color-teal-dark);
}

.blog-card-excerpt {
  display: -webkit-box;
  -webkit-box-orient: vertical;
  -webkit-line-clamp: 3;
  line-clamp: 3;
  overflow: hidden;
  font-size: 0.9rem;
  line-height: 1.8;
  color: var(--color-subtext);
}

.page-blog .final-cta h2 {
  word-break: auto-phrase;
  text-wrap: balance;
}

.latest-more {
  margin-top: 36px;
  text-align: center;
}

.latest-more .text-link {
  margin-top: 0;
}

/* Final CTA */
.final-cta {
  background:
    linear-gradient(125deg, rgba(9, 42, 66, 0.94) 0%, rgba(18, 59, 93, 0.92) 55%, rgba(15, 92, 98, 0.9) 100%);
  color: var(--color-white);
  padding: 72px 0;
}

@media (min-width: 768px) {
  .final-cta {
    padding: 120px 0;
  }
}

.final-cta .en-label {
  color: rgba(255, 255, 255, 0.65);
}

.final-cta .en-label::before {
  background: rgba(255, 255, 255, 0.65);
}

.final-cta h2 {
  font-size: clamp(1.9rem, 4vw, 3rem);
  line-height: 1.35;
  font-weight: 700;
  max-width: 14em;
}

.final-cta p {
  margin-top: 22px;
  color: rgba(255, 255, 255, 0.85);
  max-width: 34em;
}

.final-cta .btn {
  margin-top: 36px;
}

body.page-home .final-cta h2 {
  font-size: clamp(1.6rem, 3.4vw, 2.6rem);
  max-width: 22em;
}

.cta-voices {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin-top: 28px;
  list-style: none;
}

.cta-voices li {
  padding: 6px 14px;
  border: 1px solid rgba(255, 255, 255, 0.35);
  background: rgba(255, 255, 255, 0.08);
  color: var(--color-white);
  font-size: 0.9rem;
  font-weight: 700;
  line-height: 1.6;
}

.final-cta .cta-voices + p {
  margin-top: 18px;
}

.sr-only {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  white-space: nowrap;
  border: 0;
}

/* Company page */
.message-block {
  display: grid;
  gap: 22px;
  max-width: 46em;
  margin-bottom: 72px;
}

.message-block p {
  color: var(--color-subtext);
  font-size: 1.05rem;
}

.profile-table {
  width: 100%;
  border-collapse: collapse;
  border-top: 1px solid var(--color-border);
}

.profile-table th,
.profile-table td {
  padding: 16px 0;
  border-bottom: 1px solid var(--color-border);
  text-align: left;
  vertical-align: top;
  font-weight: 400;
  display: block;
  width: 100%;
}

.profile-table th {
  width: auto;
  padding-bottom: 4px;
  color: var(--color-muted);
  font-size: 0.88rem;
}

.profile-table td {
  padding-top: 0;
  padding-bottom: 18px;
  overflow-wrap: anywhere;
}

@media (min-width: 640px) {
  .profile-table th,
  .profile-table td {
    display: table-cell;
    width: auto;
    padding: 24px 16px;
  }

  .profile-table th {
    width: 8.5em;
    font-size: 0.92rem;
    padding-bottom: 24px;
  }

  .profile-table td {
    padding-top: 24px;
    padding-bottom: 24px;
  }
}

.profile-table a {
  color: var(--color-navy);
  text-decoration: underline;
  text-underline-offset: 3px;
}

.profile-table a:hover {
  color: var(--color-teal);
}

.section-title--md {
  font-size: clamp(1.45rem, 3.2vw, 2.4rem);
}

.title-chunk {
  display: inline-block;
}

.section-title--sm {
  font-size: clamp(1.5rem, 3vw, 2rem);
  margin-bottom: 28px;
}

.page-company .page-hero .section-title {
  max-width: none;
  font-size: clamp(1.75rem, 3.6vw, 2.75rem);
}

.page-company .final-cta h2 {
  word-break: auto-phrase;
  text-wrap: balance;
}

.page-company .final-cta p,
.page-hero-lead,
.name-story,
.name-message-sub,
.mission-copy p,
.issue-list li,
.stance-title + p {
  word-break: auto-phrase;
}

.page-hero-lead {
  display: grid;
  gap: 0.8em;
  margin-top: 28px;
  max-width: 44em;
  color: var(--color-subtext);
  font-size: 1.02rem;
  line-height: 2;
}

/* 会社紹介ページ: ファーストビューを中央寄せ（下の Innovation × bit と中心をそろえる） */
.page-company .page-hero {
  text-align: center;
}

.page-company .page-hero-lead {
  margin-left: auto;
  margin-right: auto;
}

/* Our Name: Innovation × bit */
.name-formula {
  margin: 0 auto 56px;
  text-align: center;
}

.name-formula-main {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 0.08em;
  font-family: var(--font-en);
  font-weight: 700;
  font-size: clamp(2.4rem, 12vw, 4rem);
  line-height: 1.1;
  letter-spacing: -0.01em;
}

@media (min-width: 640px) {
  .name-formula-main {
    flex-direction: row;
    justify-content: center;
    align-items: baseline;
    gap: 0.3em;
    font-size: clamp(3rem, 7vw, 5.25rem);
  }
}

.name-formula-word--innovation {
  color: var(--color-navy-dark);
}

.name-formula-times {
  color: var(--color-teal);
  font-weight: 500;
  font-size: 0.7em;
}

.name-formula-word--bit {
  display: inline-flex;
  align-items: flex-start;
  color: var(--color-teal);
  font-size: 1.06em;
}

.name-formula-bits {
  flex-shrink: 0;
  width: 0.4em;
  height: 0.4em;
  margin-left: 0.08em;
  margin-top: 0.04em;
}

.name-formula-result {
  margin-top: 18px;
  font-family: var(--font-en);
  font-weight: 600;
  font-size: clamp(1.1rem, 2.2vw, 1.5rem);
  letter-spacing: 0.12em;
  color: var(--color-navy);
}

.name-story {
  display: grid;
  gap: 1.2em;
  max-width: 44em;
  margin-inline: auto;
  font-size: 1.02rem;
  line-height: 2;
}

.name-message {
  max-width: 44em;
  margin: 56px auto 0;
  padding: 36px 0;
  border-top: 1px solid var(--color-border);
  border-bottom: 1px solid var(--color-border);
  text-align: center;
}

.name-message span {
  display: inline-block;
}

.name-message-main {
  font-family: var(--font-en);
  font-weight: 700;
  font-size: clamp(1.4rem, 3.4vw, 2.1rem);
  line-height: 1.5;
  color: var(--color-navy-dark);
}

.name-message-main em {
  font-style: normal;
  color: var(--color-teal);
}

.name-message-sub {
  margin-top: 12px;
  font-weight: 700;
  font-size: clamp(1rem, 1.8vw, 1.15rem);
  color: var(--color-subtext);
}

.bit-flow {
  display: grid;
  gap: 32px;
  max-width: 360px;
  margin: 56px auto 0;
}

.bit-flow-item {
  position: relative;
  display: flex;
  align-items: center;
  gap: 20px;
  padding: 16px 20px;
  background: var(--color-white);
  border: 1px solid var(--color-border);
}

.bit-flow-item:not(:last-child)::after {
  content: "";
  position: absolute;
  left: 37px;
  bottom: -22px;
  width: 10px;
  height: 10px;
  border-right: 1.5px solid var(--color-teal);
  border-bottom: 1.5px solid var(--color-teal);
  transform: rotate(45deg);
}

.bit-flow-item--goal {
  border-color: var(--color-teal);
  background: var(--color-teal-light);
}

.bit-flow-blocks {
  flex-shrink: 0;
  width: 44px;
  height: 44px;
}

.bit-flow-label {
  font-weight: 700;
  font-size: 1rem;
  line-height: 1.5;
  color: var(--color-navy-dark);
}

.bit-flow-en {
  display: block;
  font-family: var(--font-en);
  font-weight: 600;
  font-size: 0.75rem;
  letter-spacing: 0.14em;
  color: var(--color-teal-dark);
}

@media (min-width: 900px) {
  .bit-flow {
    grid-template-columns: repeat(4, minmax(0, 1fr));
    gap: 36px;
    max-width: 960px;
  }

  .bit-flow-item {
    flex-direction: column;
    justify-content: center;
    gap: 16px;
    padding: 28px 12px 24px;
    text-align: center;
  }

  .bit-flow-item:not(:last-child)::after {
    left: auto;
    right: -24px;
    bottom: auto;
    top: 50%;
    margin-top: -5px;
    transform: rotate(-45deg);
  }

  .bit-flow-blocks {
    width: 56px;
    height: 56px;
  }
}

/* Our Mission */
.mission-grid {
  display: grid;
  gap: 48px;
}

@media (min-width: 960px) {
  .mission-grid {
    grid-template-columns: minmax(0, 1.35fr) minmax(0, 0.65fr);
    gap: 64px;
    align-items: center;
  }
}

.mission-copy p {
  font-size: 1.02rem;
  line-height: 2;
}

.mission-copy p + p {
  margin-top: 1.1em;
}

.issue-list {
  display: grid;
  gap: 10px;
  margin: 28px 0 32px;
}

@media (min-width: 560px) {
  .issue-list {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}

.issue-list li {
  display: flex;
  align-items: flex-start;
  gap: 12px;
  padding: 14px 18px;
  background: var(--color-white);
  border: 1px solid var(--color-border-soft);
  font-weight: 700;
  font-size: 0.95rem;
  line-height: 1.6;
  color: var(--color-navy-dark);
}

.issue-list li::before {
  content: "";
  flex-shrink: 0;
  width: 7px;
  height: 7px;
  margin-top: 0.6em;
  background: var(--color-teal);
}

.media-frame.mission-figure {
  min-height: 0;
  height: auto;
  width: 100%;
  max-width: 420px;
  margin-inline: auto;
  aspect-ratio: 464 / 435;
}

/* Our Stance */
.stance-grid {
  display: grid;
  gap: 20px;
}

@media (min-width: 960px) {
  .stance-grid {
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 24px;
  }
}

.stance-card {
  position: relative;
  padding: 32px 28px 36px;
  background: var(--color-white);
  border: 1px solid var(--color-border);
}

.stance-card::before {
  content: "";
  position: absolute;
  left: -1px;
  top: -1px;
  width: 48px;
  height: 3px;
  background: var(--color-teal);
}

.stance-num {
  margin-bottom: 18px;
  font-family: var(--font-en);
  font-weight: 700;
  font-size: 2.2rem;
  line-height: 1;
  letter-spacing: 0.04em;
  color: var(--color-teal);
}

.stance-title {
  margin-bottom: 14px;
  font-size: clamp(1.15rem, 2vw, 1.3rem);
  line-height: 1.55;
  color: var(--color-navy-dark);
  word-break: auto-phrase;
  text-wrap: balance;
}

.stance-title + p {
  color: var(--color-subtext);
  font-size: 0.96rem;
  line-height: 1.9;
}

/* Company Profile */
.profile-wrap {
  max-width: 920px;
}

.profile-chunk {
  display: inline-block;
}

.profile-note {
  font-size: 0.9em;
  color: var(--color-subtext);
}

.profile-list li {
  display: flex;
  align-items: flex-start;
  gap: 10px;
}

.profile-list li + li {
  margin-top: 4px;
}

.profile-list li::before {
  content: "";
  flex-shrink: 0;
  width: 6px;
  height: 6px;
  margin-top: 0.75em;
  background: var(--color-teal);
}

/* Services detail - equal blocks */
.service-detail {
  padding: 56px 0;
  border-top: 1px solid var(--color-border);
  scroll-margin-top: calc(var(--header-h) + 20px);
}

@media (min-width: 768px) {
  .service-detail {
    padding: 80px 0;
  }
}

.service-detail:first-of-type {
  border-top: 0;
  padding-top: 24px;
}

.service-detail .num {
  font-family: var(--font-en);
  font-size: 0.85rem;
  font-weight: 700;
  letter-spacing: 0.16em;
  color: var(--color-teal);
  margin-bottom: 16px;
}

.service-detail h2 {
  font-size: clamp(1.7rem, 3vw, 2.3rem);
  color: var(--color-navy-dark);
  line-height: 1.35;
  margin-bottom: 14px;
}

.service-detail .catch {
  font-size: clamp(1.15rem, 2.2vw, 1.45rem);
  font-weight: 700;
  color: var(--color-teal-dark);
  line-height: 1.55;
  margin-bottom: 24px;
  max-width: 20em;
}

.service-detail .overview {
  color: var(--color-subtext);
  max-width: 48em;
}

.service-detail .overview p + p {
  margin-top: 1em;
}

.detail-grid {
  display: grid;
  gap: 32px;
  margin-top: 40px;
}

@media (min-width: 900px) {
  .detail-grid {
    grid-template-columns: 1fr 1fr;
    gap: 48px;
  }
}

.detail-box h3 {
  font-size: 0.95rem;
  color: var(--color-navy-dark);
  margin-bottom: 16px;
  padding-bottom: 12px;
  border-bottom: 1px solid var(--color-border);
}

.detail-box ul {
  display: grid;
  gap: 10px;
}

.detail-box li {
  position: relative;
  padding-left: 16px;
  color: var(--color-subtext);
  font-size: 0.95rem;
  line-height: 1.65;
}

.detail-box li::before {
  content: "";
  position: absolute;
  left: 0;
  top: 0.8em;
  width: 6px;
  height: 1px;
  background: var(--color-teal);
}

.meta-list {
  display: grid;
  gap: 0;
  margin-top: 36px;
  border-top: 1px solid var(--color-border);
}

.meta-list li {
  display: grid;
  grid-template-columns: 1fr;
  gap: 4px;
  padding: 14px 0;
  border-bottom: 1px solid var(--color-border-soft);
  font-size: 0.95rem;
}

@media (min-width: 641px) {
  .meta-list li {
    grid-template-columns: 9.5em 1fr;
    gap: 12px;
  }
}

.meta-list .label {
  color: var(--color-muted);
}

.meta-list .value {
  font-weight: 500;
}

.note-box {
  margin-top: 24px;
  padding: 18px 20px;
  background: var(--color-teal-light);
  border-left: 3px solid var(--color-teal);
  color: var(--color-subtext);
  font-size: 0.92rem;
}

.service-detail .actions {
  margin-top: 36px;
}

.term-note {
  color: var(--color-muted);
  font-size: 0.85rem;
}

/* Contact */
.contact-layout {
  display: grid;
  gap: 40px;
}

@media (min-width: 900px) {
  .contact-layout {
    grid-template-columns: minmax(240px, 0.78fr) minmax(0, 1.22fr);
    gap: 64px;
    align-items: start;
  }
}

.contact-info {
  display: grid;
  gap: 14px;
  margin-top: 28px;
  padding: 28px 0 0;
  border-top: 1px solid var(--color-border);
  font-size: 1.02rem;
  line-height: 1.9;
  color: var(--color-subtext);
}

.contact-info strong {
  color: var(--color-navy-dark);
  font-size: 1.12rem;
}

.contact-info a {
  color: var(--color-navy);
  text-decoration: underline;
  text-underline-offset: 3px;
}

.contact-info a:hover {
  color: var(--color-teal);
}

.contact-note {
  margin-top: 28px;
  max-width: 22em;
  font-size: 0.95rem;
  line-height: 1.85;
  color: var(--color-muted);
}

.form-card {
  background: rgba(255, 255, 255, 0.92);
  border: 1px solid var(--color-border);
  padding: 28px 24px;
  backdrop-filter: blur(6px);
}

@media (min-width: 768px) {
  .form-card {
    padding: 40px 36px;
  }
}

.form-row {
  display: grid;
  gap: 16px;
}

@media (min-width: 640px) {
  .form-row {
    grid-template-columns: 1fr 1fr;
  }
}

.form-field {
  display: flex;
  flex-direction: column;
  gap: 8px;
  margin-bottom: 18px;
}

.form-field label {
  font-size: 0.9rem;
  font-weight: 700;
  color: var(--color-navy-dark);
}

.req {
  color: var(--color-error);
  margin-left: 4px;
  font-size: 0.85rem;
}

.form-field input,
.form-field select,
.form-field textarea {
  width: 100%;
  border: 1px solid var(--color-border);
  border-radius: var(--radius);
  background: var(--color-background);
  padding: 12px 14px;
  transition: border-color 0.25s var(--ease), background-color 0.25s var(--ease);
}

.form-field input:focus,
.form-field select:focus,
.form-field textarea:focus {
  outline: none;
  border-color: var(--color-teal);
  background: var(--color-white);
  box-shadow: 0 0 0 3px rgba(20, 154, 150, 0.14);
}

.form-field textarea {
  min-height: 140px;
  resize: vertical;
}

.form-check {
  display: flex;
  align-items: flex-start;
  gap: 10px;
  margin: 8px 0 22px;
  font-size: 0.9rem;
  color: var(--color-subtext);
}

.form-check input {
  margin-top: 5px;
  width: 18px;
  height: 18px;
  accent-color: var(--color-teal);
  flex-shrink: 0;
}

.hp-field {
  position: absolute;
  left: -9999px;
  opacity: 0;
  height: 0;
  width: 0;
  overflow: hidden;
}

.form-note {
  margin-top: 14px;
  font-size: 0.82rem;
  color: var(--color-muted);
  line-height: 1.7;
}

.form-submit {
  width: 100%;
}

/* Footer */
.site-footer {
  background: rgba(9, 42, 66, 0.96);
  color: rgba(255, 255, 255, 0.75);
  padding: 72px 0 32px;
}

.footer-grid {
  display: grid;
  gap: 40px;
  padding-bottom: 40px;
  border-bottom: 1px solid rgba(255, 255, 255, 0.12);
}

@media (min-width: 800px) {
  .footer-grid {
    grid-template-columns: 1.4fr 1fr 1fr;
    gap: 48px;
  }
}

.footer-brand .logo {
  margin-bottom: 18px;
}

.footer-brand .logo img {
  height: 38px;
  max-width: 200px;
}

.footer-brand p {
  font-size: 0.95rem;
  line-height: 1.85;
  max-width: 22em;
}

.footer-nav h3,
.footer-contact h3 {
  font-family: var(--font-en);
  font-size: 0.8rem;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: rgba(255, 255, 255, 0.45);
  margin-bottom: 18px;
}

.footer-nav ul {
  display: grid;
  gap: 12px;
}

.footer-nav a:hover,
.footer-contact a:hover {
  color: var(--color-white);
}

.footer-contact a {
  text-decoration: underline;
  text-underline-offset: 3px;
}

.footer-contact p + p {
  margin-top: 8px;
}

.footer-copy {
  padding-top: 24px;
  font-size: 0.78rem;
  color: rgba(255, 255, 255, 0.4);
  font-family: var(--font-en);
}

@media (max-width: 640px) {
  .btn {
    width: 100%;
  }

  .hero-cta .btn,
  .final-cta .btn,
  .service-detail .actions .btn {
    width: 100%;
  }

  .latest-filter {
    min-height: 52px;
    padding: 14px 22px 14px 24px;
    font-size: 0.95rem;
    letter-spacing: 0.04em;
  }

  .hero-title {
    font-size: clamp(1.85rem, 8vw, 2.4rem);
    max-width: none;
  }

  .hero-desc {
    margin-top: 22px;
    font-size: 0.95rem;
    line-height: 1.9;
    text-align: left;
  }

  .hero-labels {
    gap: 8px 14px;
  }

  .section-title {
    font-size: clamp(1.55rem, 7vw, 2.2rem);
  }

  .section-head {
    margin-bottom: 40px;
  }

  .site-footer {
    padding: 56px 0 28px;
  }

  .footer-brand .logo img {
    height: 34px;
    max-width: 160px;
  }

  .form-card {
    padding: 22px 18px;
  }

  .nav-drawer-panel {
    width: min(92vw, 340px);
    padding-inline: 22px;
  }

  .service-arrow {
    justify-self: start;
  }

  .company-panel-caption,
  .about-visual-caption {
    padding: 20px 16px;
    font-size: 1.05rem;
  }
}

@media (max-width: 380px) {
  .hero-labels .en-label {
    font-size: 11px;
    letter-spacing: 0.14em;
  }

  .solve-item strong {
    font-size: 0.98rem;
  }

  .cta-voices li {
    padding: 6px 8px;
    font-size: 0.8rem;
    letter-spacing: 0;
  }
}

@media (prefers-reduced-motion: reduce) {
  html {
    scroll-behavior: auto;
  }

  *,
  *::before,
  *::after {
    animation-duration: 0.01ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.01ms !important;
  }

  .reveal,
  .hero-anim .hero-labels,
  .hero-anim .hero-title,
  .hero-anim .hero-desc,
  .hero-anim .hero-steps,
  .hero-anim .hero-cta {
    opacity: 1 !important;
    transform: none !important;
  }

  #site-particles {
    display: none;
  }
}
