/* SOTSULOG — 白 × #036EB8 基調（画像なし・ロゴ除く） */
:root {
  --tech-bg: #fffcf9;
  --tech-bg-soft: #f4f9fd;
  --tech-surface: #ffffff;
  --tech-border: rgba(3, 110, 184, 0.18);
  --tech-accent: #036eb8;
  --tech-accent-dim: rgba(3, 110, 184, 0.08);
  --tech-blue: #036eb8;
  --tech-blue-light: #e8f4fc;
  --tech-blue-glow: rgba(3, 110, 184, 0.12);
  --tech-text: #272727;
  --tech-muted: #5c6b7a;
  --tech-grid: rgba(3, 110, 184, 0.07);
  --tech-grid-fine: rgba(3, 110, 184, 0.04);
  --tech-grid-major: rgba(3, 110, 184, 0.065);
  --tech-node: rgba(3, 110, 184, 0.1);
  --tech-line-blue: rgba(3, 110, 184, 0.07);
  --tech-line-teal: rgba(38, 183, 183, 0.06);
  --tech-node-strong: rgba(3, 110, 184, 0.2);
  --font-mono: "SF Mono", "Fira Code", "Consolas", monospace;
}

body.theme-tech {
  background: var(--tech-accent);
  color: var(--tech-text);
}

body.theme-tech.appear {
  position: relative;
  background-color: var(--tech-bg);
}

/* 全体背景 — ITグリッド（固定・非干渉） */
body.theme-tech.appear::before {
  content: "";
  position: fixed;
  inset: 0;
  z-index: 0;
  pointer-events: none;
  background-color: var(--tech-bg);
  background-image:
    linear-gradient(to right, var(--tech-grid-fine) 1px, transparent 1px),
    linear-gradient(to bottom, var(--tech-grid-fine) 1px, transparent 1px),
    linear-gradient(to right, var(--tech-grid-major) 1px, transparent 1px),
    linear-gradient(to bottom, var(--tech-grid-major) 1px, transparent 1px),
    radial-gradient(circle at center, var(--tech-node) 1px, transparent 1.5px);
  background-size: 24px 24px, 24px 24px, 96px 96px, 96px 96px, 24px 24px;
  animation: tech-bg-grid-drift 100s linear infinite;
}

body.theme-tech.appear::after {
  content: "";
  position: fixed;
  inset: 0;
  z-index: 0;
  pointer-events: none;
  background-image:
    radial-gradient(circle at 16% 20%, var(--tech-node-strong) 2px, transparent 3px),
    radial-gradient(circle at 84% 16%, rgba(38, 183, 183, 0.18) 2px, transparent 3px),
    radial-gradient(circle at 78% 82%, var(--tech-node-strong) 2px, transparent 3px),
    radial-gradient(circle at 14% 88%, rgba(38, 183, 183, 0.18) 2px, transparent 3px),
    repeating-linear-gradient(
      135deg,
      transparent 0,
      transparent 139px,
      var(--tech-line-blue) 139px,
      var(--tech-line-blue) 140px
    ),
    repeating-linear-gradient(
      45deg,
      transparent 0,
      transparent 139px,
      var(--tech-line-teal) 139px,
      var(--tech-line-teal) 140px
    );
  background-size:
    100% 100%,
    100% 100%,
    100% 100%,
    100% 100%,
    198px 198px,
    198px 198px;
  animation: tech-bg-lines-drift 55s linear infinite;
}

@keyframes tech-bg-grid-drift {
  to {
    background-position: 24px 24px, 24px 24px, 96px 96px, 96px 96px, 24px 24px;
  }
}

@keyframes tech-bg-lines-drift {
  0% {
    background-position:
      0 0,
      0 0,
      0 0,
      0 0,
      0 0,
      0 0;
  }
  100% {
    background-position:
      0 0,
      0 0,
      0 0,
      0 0,
      198px 198px,
      -198px 198px;
  }
}

/* データの流れ — 光の粒 */
.tech-bg-sparks {
  position: fixed;
  inset: 0;
  z-index: 0;
  pointer-events: none;
  overflow: hidden;
}

.tech-bg-sparks span {
  position: absolute;
  width: 5px;
  height: 5px;
  border-radius: 50%;
  background: var(--tech-accent);
  box-shadow: 0 0 10px rgba(3, 110, 184, 0.45);
  opacity: 0;
}

.tech-bg-sparks span:nth-child(1) {
  top: 22%;
  left: 0;
  animation: tech-spark-a 14s linear infinite;
}

.tech-bg-sparks span:nth-child(2) {
  top: 58%;
  left: 0;
  background: #26b7b7;
  box-shadow: 0 0 10px rgba(38, 183, 183, 0.45);
  animation: tech-spark-b 18s linear 4s infinite;
}

.tech-bg-sparks span:nth-child(3) {
  top: 38%;
  right: 0;
  animation: tech-spark-c 16s linear 2s infinite;
}

.tech-bg-sparks span:nth-child(4) {
  bottom: 18%;
  left: 0;
  background: #26b7b7;
  animation: tech-spark-d 20s linear 7s infinite;
}

@keyframes tech-spark-a {
  0% {
    transform: translate(-10px, 0);
    opacity: 0;
  }
  8% {
    opacity: 0.7;
  }
  92% {
    opacity: 0.5;
  }
  100% {
    transform: translate(100vw, 12vh);
    opacity: 0;
  }
}

@keyframes tech-spark-b {
  0% {
    transform: translate(-10px, 0);
    opacity: 0;
  }
  8% {
    opacity: 0.65;
  }
  100% {
    transform: translate(100vw, -8vh);
    opacity: 0;
  }
}

@keyframes tech-spark-c {
  0% {
    transform: translate(10px, 0);
    opacity: 0;
  }
  8% {
    opacity: 0.65;
  }
  100% {
    transform: translate(-100vw, 6vh);
    opacity: 0;
  }
}

@keyframes tech-spark-d {
  0% {
    transform: translate(-10px, 0);
    opacity: 0;
  }
  10% {
    opacity: 0.6;
  }
  100% {
    transform: translate(85vw, -20vh);
    opacity: 0;
  }
}

/* スクロール出現 */
.js-reveal {
  opacity: 0;
  transform: translateY(36px);
  transition:
    opacity 0.75s cubic-bezier(0.22, 1, 0.36, 1),
    transform 0.75s cubic-bezier(0.22, 1, 0.36, 1);
  transition-delay: calc(var(--reveal-i, 0) * 0.1s);
}

.js-reveal.is-revealed,
.fadein.is-revealed {
  opacity: 1;
  transform: translateY(0);
}

@media (prefers-reduced-motion: reduce) {
  body.theme-tech.appear::before,
  body.theme-tech.appear::after,
  .tech-bg-sparks span,
  .hero-symbol.is-active .hero-symbol__svg,
  .hero-symbol.is-active .hero-symbol__link--teal,
  .hero-symbol.is-active .hero-symbol__link--blue,
  body.appear .hero-stage__scroll,
  body.appear .hero-stage__links a,
  .flow-orbit__ring-flow,
  .flow-orbit.is-revealed .flow-orbit__hub,
  .flow-orbit__node.is-revealed,
  .pillar-card.is-revealed,
  .service-tech-link.is-revealed i {
    animation: none !important;
  }

  .tech-bg-sparks {
    display: none;
  }

  .js-reveal {
    opacity: 1;
    transform: none;
    transition: none;
  }
}

body.theme-tech.appear main,
body.theme-tech.appear footer {
  position: relative;
  z-index: 1;
}

body.theme-tech #splash {
  background: var(--tech-accent);
}

body.theme-tech .splashbg1,
body.theme-tech .splashbg2 {
  background-color: var(--tech-accent) !important;
}

body.theme-tech .loading_text {
  font-family: "Noto Sans JP", sans-serif;
  letter-spacing: 0.12em;
  color: #fff;
}

body.theme-tech a {
  color: var(--tech-text);
}

body.theme-tech .openbtn1 {
  background: var(--tech-accent);
  border: none;
}

body.theme-tech .openbtn1 span,
body.theme-tech .openbtn1 small {
  color: #fff;
}

body.theme-tech #g-nav {
  background: var(--tech-accent);
}

body.theme-tech #g-nav::before {
  background-image: none;
  background: linear-gradient(135deg, rgba(255, 255, 255, 0.12) 0%, transparent 60%),
    repeating-linear-gradient(
      0deg,
      transparent,
      transparent 39px,
      rgba(255, 255, 255, 0.06) 39px,
      rgba(255, 255, 255, 0.06) 40px
    ),
    repeating-linear-gradient(
      90deg,
      transparent,
      transparent 39px,
      rgba(255, 255, 255, 0.06) 39px,
      rgba(255, 255, 255, 0.06) 40px
    );
  opacity: 1;
}

body.theme-tech #index .logo img,
body.theme-tech #common .logo img,
body.theme-tech footer .logo img {
  filter: none;
}

/* —— ヒーロー（RICHKA風ステージ） —— */
#main_visual.hero-stage,
#main_visual.hero-split,
#main_visual.hero-simple {
  position: relative;
  z-index: 1;
  margin: 0;
  width: 100%;
  height: auto;
  min-height: 100vh;
  min-height: 100dvh;
  border-radius: 0;
  display: flex;
  align-items: center;
  justify-content: center;
  overflow-x: hidden;
  overflow-y: visible;
  border: none;
  background: transparent;
}

.hero-stage__layout {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: clamp(24px, 4vw, 64px);
  width: min(96%, 1240px);
  margin: 0 auto;
  padding: clamp(100px, 12vh, 140px) 24px clamp(88px, 10vh, 120px);
  position: relative;
  z-index: 1;
  overflow: visible;
}

@media screen and (min-width: 992px) {
  .hero-stage__layout {
    display: grid;
    grid-template-columns: minmax(340px, 1fr) minmax(380px, 1.15fr);
    align-items: center;
    gap: clamp(16px, 3vw, 48px);
  }

  .hero-stage__inner {
    max-width: none;
  }

  .hero-symbol {
    width: 100%;
    max-width: min(58vw, 640px);
    justify-self: end;
    margin-right: clamp(-24px, -2vw, 0);
  }
}

/* シンボル — つながり（2つの環が中心で交わる） */
.hero-symbol {
  position: relative;
  flex: 1 1 420px;
  width: min(72vw, 520px);
  max-width: 640px;
  padding: clamp(24px, 4vh, 48px) 0;
  overflow: visible;
  opacity: 0;
  transform: scale(0.88);
}

.hero-symbol.is-active {
  animation: hero-symbol-in 1s cubic-bezier(0.22, 1, 0.36, 1) forwards;
}

@keyframes hero-symbol-in {
  to {
    opacity: 1;
    transform: scale(1);
  }
}

.hero-symbol__svg {
  width: 100%;
  height: auto;
  display: block;
  overflow: visible;
}

.hero-symbol__paths--teal path {
  fill: #26b7b7;
}

.hero-symbol__paths--blue path {
  fill: #379dd9;
}

/* 交差の中心を軸に、2環が寄ってつながり、離れる */
.hero-symbol__link--teal,
.hero-symbol__link--blue {
  transform-origin: 21.7px 18.74px;
  opacity: 0;
}

.hero-symbol.is-active .hero-symbol__svg {
  animation: hero-symbol-breathe 4.5s ease-in-out 0.5s infinite;
}

.hero-symbol.is-active .hero-symbol__link--teal {
  opacity: 1;
  transition: opacity 0.6s ease 0.1s;
  animation: hero-symbol-connect-teal 5.5s ease-in-out 0.5s infinite;
}

.hero-symbol.is-active .hero-symbol__link--blue {
  opacity: 1;
  transition: opacity 0.6s ease 0.28s;
  animation: hero-symbol-connect-blue 5.5s ease-in-out 0.5s infinite;
}

@keyframes hero-symbol-breathe {
  0%, 100% {
    transform: scale(1);
  }
  50% {
    transform: scale(1.04);
  }
}

@keyframes hero-symbol-connect-teal {
  0%, 100% {
    transform: rotate(-16deg);
  }
  50% {
    transform: rotate(5deg);
  }
}

@keyframes hero-symbol-connect-blue {
  0%, 100% {
    transform: rotate(16deg);
  }
  50% {
    transform: rotate(-5deg);
  }
}

@media (prefers-reduced-motion: reduce) {
  .hero-symbol.is-active .hero-symbol__svg,
  .hero-symbol.is-active .hero-symbol__link--teal,
  .hero-symbol.is-active .hero-symbol__link--blue {
    animation: none !important;
    opacity: 1;
    transition: none;
  }
}

.hero-stage__inner {
  position: relative;
  z-index: 2;
  flex: 1 1 420px;
  min-width: min(100%, 380px);
  max-width: 560px;
  padding: 0;
  text-align: left;
}

.hero-stage__brand {
  font-family: var(--font-mono);
  font-size: clamp(0.75rem, 0.7rem + 0.2vw, 0.9rem);
  font-weight: 600;
  letter-spacing: 0.18em;
  color: var(--tech-accent);
  margin-bottom: clamp(32px, 6vh, 64px);
  opacity: 0;
}

.hero-stage__brand span {
  opacity: 0.55;
  font-weight: 400;
}

@keyframes hero-stage-rise {
  from {
    opacity: 0;
    transform: translateY(28px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

body.appear .hero-stage__brand {
  animation: hero-stage-rise 0.85s cubic-bezier(0.22, 1, 0.36, 1) forwards;
}

.hero-stage__switch {
  font-family: "Archivo Narrow", sans-serif;
  font-size: clamp(1.75rem, 1.2rem + 2.5vw, 3.5rem);
  font-weight: 400;
  line-height: 1.1;
  letter-spacing: 0.02em;
  color: var(--tech-text);
  margin-bottom: clamp(8px, 2vh, 20px);
  opacity: 0;
}

body.appear .hero-stage__switch {
  animation: hero-stage-rise 0.9s cubic-bezier(0.22, 1, 0.36, 1) 0.08s forwards;
}

.hero-stage__catch {
  font-family: "Noto Sans JP", sans-serif;
  font-size: clamp(1.65rem, 1rem + 2.4vw, 3rem);
  font-weight: 700;
  line-height: 1.45;
  letter-spacing: 0.02em;
  color: var(--tech-accent);
  margin-bottom: clamp(28px, 4vh, 48px);
}

.hero-stage__catch-row {
  display: block;
  white-space: nowrap;
  width: fit-content;
  max-width: 100%;
  opacity: 0;
}

body.appear .hero-stage__catch-row:nth-child(1) {
  animation: hero-stage-rise 0.9s cubic-bezier(0.22, 1, 0.36, 1) 0.2s forwards;
}

body.appear .hero-stage__catch-row:nth-child(2) {
  animation: hero-stage-rise 0.9s cubic-bezier(0.22, 1, 0.36, 1) 0.36s forwards;
}

@media screen and (max-width: 767px) {
  .hero-stage__catch {
    font-size: clamp(1.4rem, 1.1rem + 1.8vw, 1.85rem);
    line-height: 1.55;
  }

  .hero-stage__catch-row {
    white-space: normal;
  }
}

.hero-stage__sub {
  font-size: 0.85rem;
  letter-spacing: 0.14em;
  color: var(--tech-muted);
  margin-bottom: 32px;
  opacity: 0;
}

body.appear .hero-stage__sub {
  animation: hero-stage-rise 0.85s ease 0.52s forwards;
}

.hero-stage__links {
  display: flex;
  flex-wrap: wrap;
  gap: 24px;
  margin-bottom: 48px;
  opacity: 0;
}

.hero-stage__links a {
  font-size: 0.8rem;
  font-weight: 600;
  letter-spacing: 0.12em;
  color: var(--tech-accent);
  text-decoration: underline;
  text-underline-offset: 6px;
}

body.appear .hero-stage__links {
  animation: hero-stage-rise 0.85s ease 0.68s forwards;
}

body.appear .hero-stage__links a {
  animation: hero-link-underline 2.4s ease-in-out 1.2s infinite;
}

@keyframes hero-link-underline {
  0%, 100% {
    opacity: 1;
  }
  50% {
    opacity: 0.65;
  }
}

.hero-stage__scroll {
  position: absolute;
  left: 50%;
  bottom: 40px;
  transform: translateX(-50%);
  font-family: var(--font-mono);
  font-size: 0.7rem;
  letter-spacing: 0.3em;
  text-transform: lowercase;
  color: var(--tech-muted);
  text-decoration: none;
  padding-bottom: 28px;
}

.hero-stage__scroll::after {
  content: "";
  position: absolute;
  left: 50%;
  bottom: 0;
  width: 1px;
  height: 20px;
  background: var(--tech-accent);
  transform: translateX(-50%);
  animation: hero-stage-scroll-line 1.1s ease-in-out infinite;
}

body.appear .hero-stage__scroll {
  animation: hero-scroll-bounce 2s ease-in-out 1s infinite;
}

@keyframes hero-scroll-bounce {
  0%, 100% {
    transform: translateX(-50%) translateY(0);
  }
  50% {
    transform: translateX(-50%) translateY(6px);
  }
}

@keyframes hero-stage-scroll-line {
  0%, 100% {
    transform: translateX(-50%) scaleY(0.35);
    opacity: 0.35;
  }
  50% {
    transform: translateX(-50%) scaleY(1);
    opacity: 1;
  }
}

@keyframes hero-stage-fade {
  to {
    opacity: 1;
  }
}

body.theme-tech #index {
  position: absolute;
  width: 100%;
  top: 0;
}

body.theme-tech main {
  margin-top: 0;
}

@media screen and (max-width: 991px) {
  .hero-stage__layout {
    flex-direction: column;
    text-align: center;
    padding-top: 88px;
  }

  .hero-stage__inner {
    flex: none;
    width: 100%;
    text-align: center;
  }

  .hero-symbol {
    flex: none;
    width: min(78vw, 400px);
    max-width: 440px;
    order: -1;
    margin-right: 0;
  }
}

@media screen and (max-width: 767px) {
  .hero-stage__switch {
    font-size: clamp(1.35rem, 1.1rem + 1.5vw, 2rem);
  }

  .hero-symbol {
    width: min(82vw, 340px);
  }
}

.btn-tech {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 14px 28px;
  font-size: 0.875rem;
  font-weight: 600;
  letter-spacing: 0.06em;
  border-radius: 4px;
  transition: transform 0.2s, box-shadow 0.2s, background 0.2s;
  text-decoration: none !important;
}

.btn-tech--primary {
  background: var(--tech-accent);
  color: #fff !important;
  box-shadow: 0 4px 20px rgba(3, 110, 184, 0.35);
}

.btn-tech--primary:hover {
  transform: translateY(-2px);
  box-shadow: 0 6px 28px rgba(3, 110, 184, 0.45);
  background: #025a9a;
}

.btn-tech--ghost {
  border: 1px solid var(--tech-accent);
  color: var(--tech-accent) !important;
  background: #fff;
}

.btn-tech--ghost:hover {
  background: var(--tech-accent-dim);
  color: var(--tech-accent) !important;
}

/* —— ホームセクション —— */
.home-section {
  padding: clamp(64px, 10vw, 120px) 0;
  position: relative;
}

.home-section--alt {
  background: rgba(244, 249, 253, 0.88);
  border-top: 1px solid var(--tech-border);
  border-bottom: 1px solid var(--tech-border);
}

.section-head__en {
  font-family: var(--font-mono);
  font-size: 0.7rem;
  letter-spacing: 0.25em;
  text-transform: uppercase;
  color: var(--tech-accent);
  margin-bottom: 12px;
}

.section-head__en--spaced {
  font-size: clamp(0.85rem, 0.8rem + 0.3vw, 1.15rem);
  letter-spacing: 0.45em;
}

.section-head__ja {
  font-size: clamp(1.25rem, 1rem + 1vw, 1.75rem);
  font-weight: 700;
  line-height: 1.5;
  color: var(--tech-text);
}

.section-head__ja span {
  display: block;
  font-size: 0.85em;
  font-weight: 400;
  color: var(--tech-muted);
  margin-top: 8px;
}

.pillar-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
}

@media (max-width: 991px) {
  .pillar-grid {
    grid-template-columns: 1fr;
  }
}

.pillar-card {
  padding: 32px 28px;
  background: var(--tech-surface);
  border: 1px solid var(--tech-border);
  border-radius: 12px;
  position: relative;
  overflow: hidden;
  transition: border-color 0.25s, transform 0.25s, box-shadow 0.25s;
  box-shadow: 0 2px 12px rgba(3, 110, 184, 0.06);
}

.pillar-card::before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 3px;
  background: var(--tech-accent);
  transform: scaleX(0);
  transform-origin: left;
  transition: transform 0.35s ease;
}

.pillar-card.is-revealed {
  animation: pillar-card-float 5s ease-in-out infinite;
  animation-delay: calc(var(--reveal-i, 0) * 0.35s);
}

@keyframes pillar-card-float {
  0%, 100% {
    transform: translateY(0);
  }
  50% {
    transform: translateY(-5px);
  }
}

.pillar-card.is-revealed:hover,
.pillar-card:hover {
  border-color: var(--tech-accent);
  transform: translateY(-6px);
  box-shadow: 0 8px 24px rgba(3, 110, 184, 0.12);
  animation: none;
}

.pillar-card:hover::before {
  transform: scaleX(1);
}

.pillar-card__icon {
  width: 48px;
  height: 48px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.25rem;
  color: var(--tech-accent);
  border: 1px solid var(--tech-border);
  border-radius: 8px;
  margin-bottom: 20px;
  background: var(--tech-accent-dim);
}

.pillar-card__num {
  font-family: var(--font-mono);
  font-size: 0.65rem;
  color: var(--tech-muted);
  letter-spacing: 0.15em;
  margin-bottom: 8px;
}

.pillar-card h3 {
  font-size: 1.1rem;
  font-weight: 700;
  margin-bottom: 12px;
  color: var(--tech-text);
}

.pillar-card p {
  font-size: 0.875rem;
  line-height: 1.9;
  color: var(--tech-muted);
}

/* About — 円形フロー（中央 SOTSULOG） */
.flow-orbit {
  position: relative;
  container-type: inline-size;
  width: min(100%, 520px);
  aspect-ratio: 1;
  margin: clamp(48px, 8vw, 72px) auto 0;
  list-style: none;
  /* SVG r=158 / viewBox 400 → 中心から 39.5% */
  --orbit-r: 39.5cqi;
  --node-size: clamp(112px, 28cqi, 148px);
}

.flow-orbit.js-reveal {
  opacity: 0;
  transform: none;
  transition: opacity 0.8s ease;
}

.flow-orbit.js-reveal.is-revealed {
  opacity: 1;
  transform: none;
}

.flow-orbit__ring {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  pointer-events: none;
}

.flow-orbit__ring-track {
  stroke: rgba(3, 110, 184, 0.14);
  stroke-width: 1.5;
  stroke-dasharray: 5 9;
}

.flow-orbit__ring-flow {
  stroke: var(--tech-accent);
  stroke-width: 2;
  stroke-linecap: round;
  stroke-dasharray: 48 944;
  opacity: 0.75;
  transform-origin: 200px 200px;
  animation: flow-orbit-dash 12s linear infinite;
}

@keyframes flow-orbit-dash {
  to {
    stroke-dashoffset: -992;
  }
}

.flow-orbit.is-revealed .flow-orbit__ring-flow {
  opacity: 1;
}

.flow-orbit__hub {
  position: absolute;
  left: 50%;
  top: 50%;
  z-index: 2;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  width: clamp(108px, 26vw, 148px);
  height: clamp(108px, 26vw, 148px);
  border-radius: 50%;
  background: var(--tech-accent);
  color: #fff;
  text-align: center;
  box-shadow: 0 8px 32px rgba(3, 110, 184, 0.35);
  transform: translate(-50%, -50%) scale(0.85);
  opacity: 0;
  transition:
    opacity 0.7s cubic-bezier(0.22, 1, 0.36, 1),
    transform 0.7s cubic-bezier(0.22, 1, 0.36, 1);
}

.flow-orbit.is-revealed .flow-orbit__hub {
  opacity: 1;
  transform: translate(-50%, -50%) scale(1);
  animation: flow-hub-pulse 4s ease-in-out infinite;
}

.flow-orbit.is-revealed .flow-orbit__node--1 {
  opacity: 1;
  transform: rotate(-90deg) translateX(var(--orbit-r)) rotate(90deg) scale(1);
  transition-delay: 0.1s;
}

.flow-orbit.is-revealed .flow-orbit__node--2 {
  opacity: 1;
  transform: rotate(0deg) translateX(var(--orbit-r)) rotate(0deg) scale(1);
  transition-delay: 0.22s;
}

.flow-orbit.is-revealed .flow-orbit__node--3 {
  opacity: 1;
  transform: rotate(90deg) translateX(var(--orbit-r)) rotate(-90deg) scale(1);
  transition-delay: 0.34s;
}

.flow-orbit.is-revealed .flow-orbit__node--4 {
  opacity: 1;
  transform: rotate(180deg) translateX(var(--orbit-r)) rotate(-180deg) scale(1);
  transition-delay: 0.46s;
}

@keyframes flow-hub-pulse {
  0%, 100% {
    box-shadow: 0 8px 32px rgba(3, 110, 184, 0.35);
  }
  50% {
    box-shadow: 0 8px 40px rgba(3, 110, 184, 0.5), 0 0 0 8px rgba(3, 110, 184, 0.08);
  }
}

.flow-orbit__brand {
  font-family: var(--font-mono);
  font-size: clamp(0.7rem, 1.8vw, 0.88rem);
  font-weight: 700;
  letter-spacing: 0.22em;
  line-height: 1.2;
}

.flow-orbit__hub-sub {
  margin-top: 6px;
  font-size: 0.62rem;
  letter-spacing: 0.28em;
  opacity: 0.85;
}

.flow-orbit__steps {
  position: absolute;
  inset: 0;
  margin: 0;
  padding: 0;
  list-style: none;
}

.flow-orbit__node {
  position: absolute;
  left: 50%;
  top: 50%;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  width: var(--node-size);
  height: var(--node-size);
  margin-left: calc(var(--node-size) / -2);
  margin-top: calc(var(--node-size) / -2);
  padding: 14px 12px;
  border-radius: 50%;
  border: 2px solid rgba(3, 110, 184, 0.35);
  background: rgba(255, 255, 255, 0.92);
  text-align: center;
  box-shadow: 0 6px 28px rgba(3, 110, 184, 0.1);
  opacity: 0;
  transform: rotate(-90deg) translateX(var(--orbit-r)) rotate(90deg) scale(0.88);
  transition:
    opacity 0.65s cubic-bezier(0.22, 1, 0.36, 1),
    transform 0.65s cubic-bezier(0.22, 1, 0.36, 1),
    border-color 0.3s,
    box-shadow 0.3s;
}

.flow-orbit__node--2 {
  transform: rotate(0deg) translateX(var(--orbit-r)) rotate(0deg) scale(0.88);
}

.flow-orbit__node--3 {
  transform: rotate(90deg) translateX(var(--orbit-r)) rotate(-90deg) scale(0.88);
}

.flow-orbit__node--4 {
  transform: rotate(180deg) translateX(var(--orbit-r)) rotate(-180deg) scale(0.88);
}

.flow-orbit.is-revealed .flow-orbit__node {
  border-color: var(--tech-accent);
  animation: flow-node-glow 3.5s ease-in-out infinite;
}

.flow-orbit.is-revealed .flow-orbit__node--1 { animation-delay: 0.1s; }
.flow-orbit.is-revealed .flow-orbit__node--2 { animation-delay: 0.35s; }
.flow-orbit.is-revealed .flow-orbit__node--3 { animation-delay: 0.6s; }
.flow-orbit.is-revealed .flow-orbit__node--4 { animation-delay: 0.85s; }

@keyframes flow-node-glow {
  0%, 100% {
    box-shadow: 0 6px 28px rgba(3, 110, 184, 0.1);
  }
  50% {
    box-shadow: 0 8px 32px rgba(3, 110, 184, 0.22), 0 0 0 4px rgba(3, 110, 184, 0.06);
  }
}

.flow-orbit__num {
  display: block;
  font-family: var(--font-mono);
  font-size: 0.62rem;
  letter-spacing: 0.2em;
  color: var(--tech-accent);
  margin-bottom: 6px;
}

.flow-orbit__node strong {
  display: block;
  font-size: clamp(0.78rem, 2vw, 0.88rem);
  font-weight: 700;
  line-height: 1.35;
  margin-bottom: 6px;
  color: var(--tech-text);
}

.flow-orbit__node > span:last-child {
  font-size: 0.65rem;
  line-height: 1.55;
  color: var(--tech-muted);
}

@media (max-width: 520px) {
  .flow-orbit {
    width: min(100%, 340px);
    --node-size: clamp(96px, 29cqi, 108px);
  }

  .flow-orbit__node {
    padding: 10px 8px;
  }

  .flow-orbit__node strong {
    font-size: 0.72rem;
  }

  .flow-orbit__node > span:last-child {
    font-size: 0.58rem;
    line-height: 1.45;
  }

  .flow-orbit__hub {
    width: clamp(88px, 24cqi, 100px);
    height: clamp(88px, 24cqi, 100px);
  }

  .flow-orbit__brand {
    font-size: 0.62rem;
    letter-spacing: 0.16em;
  }
}

@media (prefers-reduced-motion: reduce) {
  .flow-orbit__ring-flow,
  .flow-orbit.is-revealed .flow-orbit__hub,
  .flow-orbit__node.is-revealed {
    animation: none !important;
  }
}

.service-tech-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 20px;
}

@media (max-width: 767px) {
  .service-tech-grid {
    grid-template-columns: 1fr;
  }
}

.service-tech-link {
  display: block;
  padding: 28px 24px;
  background: var(--tech-surface);
  border: 1px solid var(--tech-border);
  border-radius: 10px;
  text-decoration: none !important;
  transition: all 0.25s;
  box-shadow: 0 2px 12px rgba(3, 110, 184, 0.05);
}

.service-tech-link:hover {
  border-color: var(--tech-accent);
  background: var(--tech-blue-light);
  box-shadow: 0 6px 20px rgba(3, 110, 184, 0.1);
}

.service-tech-link i {
  display: inline-block;
  color: var(--tech-accent);
  margin-right: 10px;
  transition: transform 0.25s;
}

.service-tech-link.is-revealed i {
  animation: service-icon-pop 3.2s ease-in-out infinite;
  animation-delay: calc(var(--reveal-i, 0) * 0.25s);
}

@keyframes service-icon-pop {
  0%, 100% {
    transform: scale(1);
  }
  50% {
    transform: scale(1.15);
  }
}

.service-tech-link:hover i {
  transform: scale(1.2) rotate(-6deg);
  animation: none;
}

.service-tech-link h3 {
  font-size: 1rem;
  margin: 12px 0 8px;
  color: var(--tech-text);
}

.service-tech-link p {
  font-size: 0.8rem;
  color: var(--tech-muted);
  line-height: 1.8;
}

.card-tech {
  padding: 28px 24px;
  background: var(--tech-surface);
  border: 1px solid var(--tech-border);
  border-radius: 10px;
  height: 100%;
  transition: transform 0.3s, border-color 0.2s, box-shadow 0.2s;
  box-shadow: 0 2px 12px rgba(3, 110, 184, 0.05);
}

.card-tech.is-revealed:hover {
  transform: translateY(-5px);
  border-color: var(--tech-accent);
  box-shadow: 0 10px 28px rgba(3, 110, 184, 0.12);
}

.card-tech:hover {
  border-color: var(--tech-accent);
  box-shadow: 0 6px 20px rgba(3, 110, 184, 0.1);
}

.card-tech__meta {
  font-family: var(--font-mono);
  font-size: 0.7rem;
  color: var(--tech-accent);
  letter-spacing: 0.1em;
  margin-bottom: 12px;
}

.card-tech__thumb-placeholder {
  aspect-ratio: 16 / 10;
  background: linear-gradient(135deg, var(--tech-accent-dim), var(--tech-blue-light));
  border-radius: 8px;
  margin-bottom: 16px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-family: var(--font-mono);
  font-size: 0.65rem;
  letter-spacing: 0.2em;
  color: var(--tech-accent);
  border: 1px dashed var(--tech-border);
}

/* 制作事例カード（アーカイブ等・トップと共通） */
.sot-work-card {
  display: flex;
  flex-direction: column;
  height: 100%;
  padding: 0;
  background: var(--tech-surface);
  border: 1px solid var(--tech-border);
  border-radius: 10px;
  overflow: hidden;
  transition: transform 0.3s, border-color 0.2s, box-shadow 0.2s;
  box-shadow: 0 2px 12px rgba(3, 110, 184, 0.05);
}

.sot-work-card:hover {
  transform: translateY(-4px);
  border-color: var(--tech-accent);
  box-shadow: 0 10px 28px rgba(3, 110, 184, 0.12);
}

.sot-work-card__media {
  display: block;
  position: relative;
  width: 100%;
  aspect-ratio: 16 / 10;
  overflow: hidden;
  line-height: 0;
  margin: 0;
  padding: 0;
  background: linear-gradient(135deg, var(--tech-accent-dim), var(--tech-blue-light));
}

.sot-work-card__media img {
  position: absolute;
  inset: 0;
  width: 100% !important;
  height: 100% !important;
  max-width: none !important;
  max-height: none !important;
  margin: 0;
  padding: 0;
  border: 0;
  object-fit: cover;
  object-position: center;
  display: block;
  transition: transform 0.45s ease;
}

.sot-work-card:hover .sot-work-card__media img {
  transform: scale(1.04);
}

.sot-work-card__placeholder {
  position: absolute;
  inset: 0;
  display: flex;
  align-items: center;
  justify-content: center;
  width: 100%;
  height: 100%;
  font-family: var(--font-mono);
  font-size: 0.65rem;
  letter-spacing: 0.2em;
  color: var(--tech-accent);
}

.sot-work-card__body {
  display: flex;
  flex-direction: column;
  flex: 1;
  padding: 20px 22px 22px;
}

.sot-work-card__client {
  margin: 0 0 8px;
  font-family: var(--font-mono);
  font-size: 0.7rem;
  letter-spacing: 0.1em;
  color: var(--tech-accent);
}

.sot-work-card__title {
  font-size: 1.0625rem;
  font-weight: 700;
  line-height: 1.45;
  margin: 0 0 10px;
}

.sot-work-card__title a {
  color: var(--tech-text);
  text-decoration: none;
}

.sot-work-card__title a:hover {
  color: var(--tech-accent);
}

.sot-work-card__excerpt {
  margin: 0 0 14px;
  font-size: 0.875rem;
  line-height: 1.75;
  color: var(--tech-muted);
  flex: 1;
}

.sot-work-card__tags {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin: 0 0 14px;
  padding: 0;
  list-style: none;
}

.sot-work-card__tags li {
  padding: 4px 10px;
  border-radius: 999px;
  border: 1px solid var(--tech-border);
  background: var(--tech-accent-dim);
  font-family: var(--font-mono);
  font-size: 0.625rem;
  color: var(--tech-accent);
}

.sot-work-card__more {
  margin: 0;
  padding-top: 12px;
  border-top: 1px solid var(--tech-border);
}

.sot-work-card__more a {
  font-size: 0.8125rem;
  font-weight: 600;
  color: var(--tech-accent);
  text-decoration: none;
}

.sot-work-card__more a:hover {
  text-decoration: underline;
}

.sot-works-archive .sot-works-grid.row {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
}

.sot-works-archive .sot-works-grid__item {
  width: 100%;
  max-width: none;
  padding: 0;
  margin-bottom: 0;
}

@media (max-width: 991px) {
  .sot-works-archive .sot-works-grid.row {
    grid-template-columns: 1fr;
  }
}

/* 制作事例 詳細 */
.sot-work-single__figure {
  margin: 0 0 32px;
  border-radius: 12px;
  overflow: hidden;
  border: 1px solid var(--tech-border);
}

.sot-work-single__figure img {
  width: 100%;
  height: auto;
  display: block;
  vertical-align: middle;
}

.sot-work-single__client {
  margin: 0 0 10px;
  font-family: var(--font-mono);
  font-size: 0.75rem;
  letter-spacing: 0.12em;
  color: var(--tech-accent);
}

.sot-work-single__title {
  font-size: clamp(1.5rem, 1.1rem + 1.5vw, 2.25rem);
  font-weight: 700;
  line-height: 1.35;
  margin: 0 0 16px;
}

.sot-work-single__tags {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin: 0 0 28px;
  padding: 0;
  list-style: none;
}

.sot-work-single__tags li {
  padding: 5px 12px;
  border-radius: 999px;
  border: 1px solid var(--tech-border);
  background: var(--tech-accent-dim);
  font-family: var(--font-mono);
  font-size: 0.6875rem;
  color: var(--tech-accent);
}

.sot-work-single__content {
  margin-bottom: 48px;
}

.sot-work-single__back a {
  font-weight: 600;
  color: var(--tech-accent);
  text-decoration: none;
}

.sot-work-single__back a:hover {
  text-decoration: underline;
}

.card-tech h3 a:hover {
  color: var(--tech-accent);
}

.card-tech ul li {
  font-size: 0.7rem;
  padding: 4px 10px;
  border: 1px solid var(--tech-border);
  border-radius: 999px;
  color: var(--tech-muted);
  background: var(--tech-bg-soft);
}

body.theme-tech .contactBox,
body.theme-tech .partner_information {
  background: rgba(244, 249, 253, 0.88);
  border-top: 1px solid var(--tech-border);
}

body.theme-tech .contactBox .ict,
body.theme-tech .partner_information .ctt {
  color: var(--tech-accent);
}

body.theme-tech .contactBox p,
body.theme-tech .partner_information p {
  color: var(--tech-muted);
}

.partner-badge {
  padding: 12px 20px;
  border: 1px solid var(--tech-border);
  border-radius: 6px;
  font-size: 0.75rem;
  font-family: var(--font-mono);
  letter-spacing: 0.05em;
  color: var(--tech-muted);
  background: #fff;
}

.snsBox-tech {
  display: flex;
  flex-direction: column;
  gap: 12px;
  width: 100%;
  max-width: 360px;
  margin-inline: auto;
  padding: 24px;
  background: #fff;
  border: 2px solid var(--tech-border);
  border-radius: 12px;
  box-shadow: 0 2px 12px rgba(3, 110, 184, 0.06);
}

.snsBox-tech__icon {
  font-size: 1.75rem;
  line-height: 1;
}

.snsBox-tech .textbox {
  display: block;
  padding: 0;
  text-align: left;
}

.snsBox-tech .textbox h3 {
  margin: 0;
  font-size: 1rem;
  font-weight: 700;
  line-height: 1.45;
  color: var(--tech-text);
}

.snsBox-tech .textbox h3 span {
  display: block;
  margin-top: 4px;
  font-size: 0.8125rem;
  font-weight: 600;
  font-family: var(--font-mono);
  letter-spacing: 0.04em;
  text-transform: uppercase;
}

.snsBox-tech ul {
  display: flex;
  flex-wrap: wrap;
  gap: 8px 12px;
  margin: 4px 0 0;
  padding: 14px 0 0;
  border-top: 1px solid var(--tech-border);
}

.snsBox-tech ul li {
  width: auto;
  flex: 1 1 calc(50% - 8px);
  margin: 0;
  text-align: left;
}

.snsBox-tech ul li a {
  font-size: 0.6875rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.04em;
  text-decoration: none;
}

.snsBox-tech ul li a::after {
  content: " →";
}

body.theme-tech footer .snsBox.snsBox-tech--instagram {
  border-color: #d62976;
}

.snsBox-tech--instagram {
  border-color: #d62976;
}

body.theme-tech footer .snsBox-tech--instagram .snsBox-tech__icon,
body.theme-tech footer .snsBox-tech--instagram .textbox h3 span,
body.theme-tech footer .snsBox-tech--instagram ul li a,
.snsBox-tech--instagram .snsBox-tech__icon,
.snsBox-tech--instagram .textbox h3 span,
.snsBox-tech--instagram ul li a {
  color: #d62976;
}

.snsBox-tech--instagram ul li a:hover {
  color: #a21f5c;
}

body.theme-tech footer .snsBox.snsBox-tech--line {
  border-color: #06c755;
}

.snsBox-tech--line {
  border-color: #06c755;
}

body.theme-tech footer .snsBox-tech--line .snsBox-tech__icon,
body.theme-tech footer .snsBox-tech--line .textbox h3 span,
body.theme-tech footer .snsBox-tech--line ul li a,
.snsBox-tech--line .snsBox-tech__icon,
.snsBox-tech--line .textbox h3 span,
.snsBox-tech--line ul li a {
  color: #06c755;
}

.snsBox-tech--line ul li a:hover {
  color: #049a42;
}

body.theme-tech footer {
  background: transparent;
  border-top: 1px solid var(--tech-border);
  color: var(--tech-text);
}

body.theme-tech footer .sitemap {
  background: var(--tech-accent);
  color: #fff;
}

body.theme-tech footer .sitemap address,
body.theme-tech footer .sitemap .tel,
body.theme-tech footer .sitemap h5,
body.theme-tech footer .sitemap small {
  color: rgba(255, 255, 255, 0.92);
}

body.theme-tech footer .sitemap .tel {
  color: #fff;
}

body.theme-tech footer .sitemap ul li a {
  color: #fff !important;
}

body.theme-tech footer .sitemap ul li a:hover {
  color: rgba(255, 255, 255, 0.82) !important;
}

body.theme-tech footer .sitemap a:hover {
  color: rgba(255, 255, 255, 0.82);
}

body.theme-tech footer a:hover {
  color: var(--tech-accent);
}

body.theme-tech footer .sitemap a:hover {
  color: rgba(255, 255, 255, 0.82);
}

body.theme-tech #page_visual {
  background: rgba(244, 249, 253, 0.88);
  border-bottom: 1px solid var(--tech-border);
}

body.theme-tech #page_visual h2,
body.theme-tech .page_title {
  color: var(--tech-accent);
}

body.theme-tech #page_visual h2 span {
  color: var(--tech-muted);
}

.service-visual-block {
  min-height: 280px;
  background: var(--tech-blue-light);
  border: 1px solid var(--tech-border);
  border-radius: 12px;
  position: relative;
  overflow: hidden;
}

.service-visual-block::before {
  content: "";
  position: absolute;
  inset: 0;
  background: repeating-linear-gradient(
      0deg,
      transparent,
      transparent 23px,
      var(--tech-grid) 23px,
      var(--tech-grid) 24px
    ),
    repeating-linear-gradient(
      90deg,
      transparent,
      transparent 23px,
      var(--tech-grid) 23px,
      var(--tech-grid) 24px
    );
}

.service-visual-block__label {
  position: absolute;
  bottom: 24px;
  left: 24px;
  font-family: var(--font-mono);
  font-size: 0.7rem;
  color: var(--tech-accent);
  letter-spacing: 0.2em;
  z-index: 1;
}

.inline-pc {
  display: inline;
}

@media (max-width: 767px) {
  .inline-pc {
    display: none;
  }
}

body.theme-tech .entry-content img:not([src*="logo.svg"]),
body.theme-tech main img:not([src*="logo.svg"]):not(.sot-top-visual__img):not(.sot-top-product-card__img):not(.sot-top-strength-card__img):not(.sot-top-project-card__media img):not(.sot-top-hub__center-symbol),
body.theme-tech .wp-block-image {
  display: none !important;
}

body.sot-home-v2 main img.sot-top-visual__img,
body.sot-home-v2 .sot-top-product-card__img,
body.sot-home-v2 .sot-top-strength-card__img,
body.sot-home-v2 .sot-top-project-card__media img {
  display: block !important;
}

body.sot-home-v2.appear::before,
body.sot-home-v2.appear::after {
  display: none !important;
  content: none !important;
  background: none !important;
  animation: none !important;
}

body.theme-tech .img-responsive {
  display: none !important;
}

/* 制作事例：カード画像はメディア枠いっぱいに cover（.sot-work-card__media 内のみ） */
body.theme-tech .sot-work-card__media img,
body.theme-tech .sot-works-archive .sot-work-card__media img {
  display: block !important;
  position: absolute;
  inset: 0;
  width: 100% !important;
  height: 100% !important;
  max-width: none !important;
  max-height: none !important;
  object-fit: cover !important;
  object-position: center;
}

/* 制作事例：詳細・ギャラリーは従来どおり可変 */
body.theme-tech .sot-work-single__figure img,
body.theme-tech .sot-work-single__content img,
body.theme-tech .sot-work-single__content .img-responsive,
body.theme-tech .sot-work-single__content .wp-block-image,
body.theme-tech .used_slider img,
body.theme-tech ul.thumbnail img {
  display: block !important;
  max-width: 100%;
  height: auto;
}

body.theme-tech .concept,
body.theme-tech .service,
body.theme-tech .our_service,
body.theme-tech .works {
  color: var(--tech-text);
}

body.theme-tech .concept h3,
body.theme-tech .service h2,
body.theme-tech .our_service a h2 {
  color: var(--tech-text);
}

body.theme-tech .cookie-consent {
  background: #fff;
  border-color: var(--tech-border);
  color: var(--tech-muted);
}

body.theme-tech .cookie-agree {
  background: var(--tech-accent);
  color: #fff;
}

/* 既存コンポーネントの上書き */
body.theme-tech .ict {
  color: var(--tech-accent) !important;
}

body.theme-tech .ict span {
  color: var(--tech-muted) !important;
}

body.theme-tech main {
  background: transparent;
}

/* about ページ: css/sot-home.css（body.sot-about） */
body.sot-about main {
  overflow-x: clip;
