:root {
  --bg: #ffffff;
  --paper: #ffffff;
  --ink: #1d1d1f;
  --accent: #cc3b1e;
  --accent-dark: #9b2a13;
  --sub: #214a66;
  --line: #e8e8e8;
  --highlight: #ffe08a;
  --ok: #1f6b3b;
  --container: 1120px;
  --radius: 14px;
}

* {
  box-sizing: border-box;
}

html {
  scrollbar-gutter: stable;
  margin-top: 0 !important;
}

body {
  margin: 0;
  margin-top: 0 !important;
  overflow-y: scroll;
  color: var(--ink);
  background: #fff;
  font-family: "Noto Sans JP", "Hiragino Kaku Gothic ProN", "Yu Gothic", sans-serif;
  line-height: 1.65;
}

html[style] {
  margin-top: 0 !important;
}

body.admin-bar {
  margin-top: 0 !important;
}

body.is-loading {
  overflow: hidden;
}

.site-loader {
  position: fixed;
  inset: 0;
  z-index: 9999;
  display: grid;
  place-items: center;
  background: #000;
  opacity: 1;
  visibility: visible;
  transition: opacity 0.75s ease, visibility 0.75s ease;
}

.site-loader.is-complete {
  opacity: 0;
  visibility: hidden;
}

.site-loader-inner {
  display: grid;
  justify-items: center;
  gap: 20px;
}

.site-loader-logo-wrap {
  position: relative;
  width: min(260px, 55vw);
  overflow: visible;
  --loader-fill-delay: 1.8s;
  transform: translateY(14px) scale(0.92);
  opacity: 0;
  animation: loaderLogoIn 0.9s cubic-bezier(0.22, 0.61, 0.36, 1) forwards;
}

.site-loader-logo {
  display: block;
  width: 100%;
  height: auto;
  filter: brightness(0) invert(1);
  opacity: 1;
}

.site-loader-logo-svg {
  display: block;
  width: 100%;
  height: auto;
}

.site-loader-logo-wrap.is-svg-ready .site-loader-logo {
  display: none;
}

.site-loader-logo-wrap.is-svg-ready .site-loader-logo-svg path {
  fill: transparent;
  stroke: #fff;
  stroke-width: 10;
  stroke-linecap: round;
  stroke-linejoin: round;
  stroke-dasharray: var(--path-len);
  stroke-dashoffset: var(--path-len);
  animation:
    loaderPathDraw 1s cubic-bezier(0.22, 0.61, 0.36, 1) forwards,
    loaderPathFill 0.45s ease forwards;
  animation-delay: var(--path-delay), var(--loader-fill-delay);
}

.site-loader-logo-wrap.is-svg-ready::before {
  content: "";
  position: absolute;
  inset: -16px -14px;
  background: linear-gradient(
    115deg,
    rgba(255, 255, 255, 0) 0%,
    rgba(255, 255, 255, 0) 44%,
    rgba(255, 255, 255, 0.95) 50%,
    rgba(255, 255, 255, 0) 56%,
    rgba(255, 255, 255, 0) 100%
  );
  transform: translateX(-140%);
  opacity: 0.9;
  mix-blend-mode: screen;
  pointer-events: none;
  animation: loaderLogoShine 1.25s ease calc(var(--loader-fill-delay) - 0.15s) forwards;
}

.site-loader-line {
  display: none;
  width: min(280px, 46vw);
  height: 1px;
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.24);
  position: relative;
  overflow: hidden;
}

.site-loader-line::before {
  content: "";
  position: absolute;
  top: 50%;
  left: 50%;
  width: 72px;
  height: 1px;
  border-radius: 999px;
  background: linear-gradient(90deg, rgba(255, 255, 255, 0), rgba(255, 255, 255, 0.88), rgba(255, 255, 255, 0));
  transform: translate(-50%, -50%);
  opacity: 0.82;
}

@keyframes loaderLogoIn {
  0% {
    opacity: 0;
    transform: translateY(14px) scale(0.92);
  }
  70% {
    opacity: 1;
    transform: translateY(1px) scale(1.01);
  }
  to {
    opacity: 1;
    transform: translateY(0) scale(1);
  }
}

@keyframes loaderPathDraw {
  to {
    stroke-dashoffset: 0;
  }
}

@keyframes loaderPathFill {
  to {
    fill: #fff;
    stroke: transparent;
  }
}

@keyframes loaderLogoShine {
  0% {
    opacity: 0;
    transform: translateX(-140%);
  }
  18% {
    opacity: 1;
  }
  100% {
    opacity: 0;
    transform: translateX(140%);
  }
}

a {
  color: inherit;
  text-decoration: none;
}

.container {
  width: min(var(--container), 92%);
  margin: 0 auto;
}

.topline {
  background: #fff;
  color: #222;
  font-size: 12px;
  padding: 6px 0;
  border-bottom: 0.5px solid #e8e8e8;
  max-height: 40px;
  overflow: hidden;
  transition: max-height 0.35s ease, padding 0.35s ease, opacity 0.35s ease, border-color 0.35s ease;
}

.topline .container {
  width: 100%;
  max-width: none;
  margin: 0;
  padding-left: 50px;
  padding-right: 50px;
}

.site-header {
  position: sticky;
  top: 0;
  z-index: 30;
  background: #fff;
  border-bottom: 1px solid #ececec;
  transition: background-color 0.35s ease, border-color 0.35s ease;
}

.header-row {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  padding: 10px 0;
}

.header-modern {
  position: relative;
  width: 100%;
  max-width: none;
  margin: 0;
  min-height: 66px;
  padding: 0 50px;
  transition: min-height 0.35s ease, border-radius 0.35s ease, background-color 0.35s ease, box-shadow 0.35s ease;
}

.brand {
  font-weight: 800;
  letter-spacing: 0.03em;
}

.brand small {
  display: block;
  font-size: 11px;
  font-weight: 500;
  color: #555;
}

.brand-modern {
  display: inline-flex;
  align-items: center;
  margin: 14px 0;
  transition: color 0.35s ease, transform 0.35s ease;
}

.brand-modern small {
  display: none;
}

.brand-logo {
  display: block;
  height: 42px;
  width: auto;
}

.nav {
  display: flex;
  gap: 14px;
  align-items: center;
  font-size: 14px;
}

.nav a {
  padding: 8px 4px;
  border-radius: 0;
}

.nav a:hover,
.nav a.active {
  background: transparent;
}

.nav-modern {
  flex: none;
  margin-left: auto;
  justify-content: flex-end;
  gap: clamp(14px, 1.5vw, 26px);
}

.nav-modern a {
  position: relative;
  font-size: 15px;
  font-weight: 700;
  line-height: 1.2;
  letter-spacing: 0.01em;
  padding-bottom: 11px;
  white-space: nowrap;
  transition: color 0.35s ease;
}

.nav-modern a::after {
  content: "";
  position: absolute;
  left: 0;
  right: 0;
  bottom: 0;
  height: 2px;
  background: #1c223f;
  transform: scaleX(0);
  transform-origin: left;
  transition: transform 0.25s ease;
}

.nav-modern a:hover::after,
.nav-modern a.active::after {
  transform: scaleX(1);
}

.services-trigger {
  display: inline-flex;
  align-items: center;
  gap: 6px;
}

.services-trigger::before {
  content: "";
  width: 6px;
  height: 6px;
  border-right: 2px solid currentColor;
  border-bottom: 2px solid currentColor;
  transform: rotate(45deg) translateY(-1px);
  opacity: 0.74;
}

.services-mega {
  position: absolute;
  left: 0;
  right: 0;
  top: calc(100% - 1px);
  opacity: 0;
  visibility: hidden;
  pointer-events: none;
  transform: translateY(8px);
  transition: opacity 0.22s ease, transform 0.24s ease, visibility 0.22s ease;
  z-index: 35;
}

.services-mega.is-open {
  opacity: 1;
  visibility: visible;
  pointer-events: auto;
  transform: translateY(0);
}

.services-mega-inner {
  width: 100%;
  margin: 0;
  border: 1px solid #e6e8ef;
  border-radius: 0 0 10px 10px;
  background: #fff;
  box-shadow: 0 16px 34px rgba(13, 21, 38, 0.16);
  overflow: hidden;
}

.services-mega-grid {
  padding: 24px 22px 22px;
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 14px 28px;
}

.services-mega-col {
  padding: 4px 0;
}

.services-mega-col h3 {
  margin: 0;
  padding-bottom: 8px;
  border-bottom: 1px solid #e4e8f0;
  font-size: 22px;
  font-weight: 900;
  line-height: 1.2;
  color: #13182b;
}

.services-mega-col ul {
  margin: 10px 0 0;
  padding: 0;
  list-style: none;
  display: grid;
  gap: 8px;
}

.services-mega-col a {
  display: inline-block;
  font-size: 15px;
  line-height: 1.45;
  color: #363f55;
  transition: color 0.2s ease;
}

.services-mega-col a:hover {
  color: #111;
  text-decoration: underline;
}

.page-home-impact .services-mega-inner {
  background: rgba(255, 255, 255, 0.86);
  border-color: rgba(255, 255, 255, 0.58);
  box-shadow: 0 14px 28px rgba(9, 14, 29, 0.2);
  -webkit-backdrop-filter: blur(8px);
  backdrop-filter: blur(8px);
}

.page-home-impact .site-header:not(.is-scrolled) .services-mega-inner {
  width: min(1240px, 96vw);
  margin: 0 auto;
  border-radius: 10px;
}

.site-header.is-scrolled .services-mega {
  top: calc(100% - 1px);
}

.site-header.is-scrolled .services-mega-inner {
  border-color: rgba(255, 255, 255, 0.16);
  background: rgba(17, 17, 17, 0.9);
  box-shadow: 0 14px 30px rgba(0, 0, 0, 0.28);
}

.site-header.is-scrolled .services-mega-col h3 {
  border-bottom-color: rgba(255, 255, 255, 0.18);
  color: #fff;
}

.site-header.is-scrolled .services-mega-col a {
  color: rgba(255, 255, 255, 0.92);
}

.site-header.is-scrolled .services-mega-col a:hover {
  color: #fff;
}

.site-header.is-scrolled.services-mega-open .header-modern {
  border-bottom-left-radius: 0;
  border-bottom-right-radius: 0;
}

.header-actions {
  display: flex;
  align-items: center;
  gap: 8px;
  white-space: nowrap;
}

.header-actions .btn {
  height: 42px;
  border-radius: 8px;
  padding: 0 16px;
  font-size: 14px;
  position: relative;
  overflow: hidden;
  isolation: isolate;
  transition: color 0.32s ease, border-color 0.32s ease;
}

.nav-icon {
  width: 42px;
  height: 42px;
  background: #484d67;
  border: 1px solid #484d67;
  border-radius: 8px;
  display: inline-flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 4px;
  padding: 0;
  cursor: pointer;
  position: relative;
  overflow: hidden;
  isolation: isolate;
  transition: border-color 0.32s ease;
}

.nav-icon span {
  width: 4px;
  height: 4px;
  border-radius: 50%;
  background: #fff;
}

.mega-menu {
  position: fixed;
  inset: 0;
  z-index: 120;
  display: grid;
  grid-template-columns: minmax(320px, 46%) minmax(420px, 54%);
  opacity: 0;
  visibility: hidden;
  pointer-events: none;
  transition: opacity 0.35s ease, visibility 0.35s ease;
}

.mega-menu.is-open {
  opacity: 1;
  visibility: visible;
  pointer-events: auto;
}

.mega-menu-visual {
  position: relative;
  background:
    linear-gradient(140deg, rgba(16, 18, 29, 0.5), rgba(16, 18, 29, 0.5)),
    url("../images/mega-menu-visual-bg.webp");
  background-size: cover;
  background-position: center;
}

.mega-menu-visual::before {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(to top, rgba(5, 8, 14, 0.78), rgba(5, 8, 14, 0.1));
}

.mega-menu-visual-copy {
  position: absolute;
  left: 36px;
  bottom: 34px;
  z-index: 2;
  color: #fff;
}

.mega-menu-visual-copy small {
  display: block;
  opacity: 0.78;
  margin-top: 10px;
  font-size: 12px;
}

.mega-menu-visual-logo {
  display: block;
  width: min(280px, 78%);
  height: auto;
  filter: brightness(0) invert(1);
}

.mega-menu-panel {
  position: relative;
  background: #6a33d8;
  color: #fff;
  padding: 26px 42px 34px;
  overflow: auto;
}

.mega-menu-top {
  display: flex;
  justify-content: flex-end;
  align-items: center;
  gap: 14px;
}

.mega-menu-social {
  display: inline-flex;
  gap: 8px;
}

.mega-menu-social span {
  width: 22px;
  height: 22px;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.9);
  color: #5b4a8f;
  font-size: 11px;
  font-weight: 700;
  display: inline-flex;
  align-items: center;
  justify-content: center;
}

.mega-menu-close {
  width: 32px;
  height: 32px;
  border: 0;
  background: transparent;
  color: #fff;
  font-size: 34px;
  line-height: 1;
  cursor: pointer;
}

.mega-menu-links {
  margin-top: 22px;
  border-top: 1px solid rgba(255, 255, 255, 0.24);
}

.mega-menu-link {
  display: block;
  padding: 14px 0;
  border-bottom: 1px solid rgba(255, 255, 255, 0.2);
  font-size: 24px;
  line-height: 1.1;
  font-weight: 800;
}

body.menu-open {
  overflow: hidden;
}

.floating-online-banner {
  position: fixed;
  right: 18px;
  bottom: 10px;
  z-index: 40;
  width: min(330px, calc(100vw - 24px));
}

.floating-online-banner-link {
  display: grid;
  grid-template-columns: minmax(0, 1fr) 112px;
  gap: 4px;
  align-items: center;
  overflow: visible;
  min-height: 92px;
  padding: 10px 12px 8px 14px;
  border-radius: 12px;
  background: #6a33d8;
  color: #fff;
  box-shadow: 0 14px 30px rgba(63, 31, 132, 0.3);
  transition: transform 0.25s ease, box-shadow 0.25s ease;
}

.floating-online-banner-link:hover {
  transform: translateY(-2px);
  box-shadow: 0 18px 36px rgba(63, 31, 132, 0.38);
}

.floating-online-banner-catch {
  margin: 0;
  font-size: 16px;
  line-height: 1.24;
  font-weight: 900;
  letter-spacing: 0.01em;
}

.floating-online-banner-catch span {
  display: inline-block;
  margin-left: 5px;
  padding: 1px 8px 2px;
  border-radius: 999px;
  background: #ffffff;
  color: #4f26b5;
}

.floating-online-banner-text {
  margin: 0;
  font-size: 16px;
  line-height: 1.45;
  font-weight: 700;
  letter-spacing: 0.01em;
  color: rgba(255, 255, 255, 0.94);
}

.floating-online-banner-copy {
  display: flex;
  flex-direction: column;
  justify-content: center;
  gap: 8px;
}

.floating-online-banner-figure {
  margin: 0;
  align-self: end;
  transform: translateY(-30px);
  margin-bottom: -30px;
}

.floating-online-banner-figure img {
  display: block;
  width: 100%;
  max-height: 170px;
  object-fit: contain;
  height: auto;
}

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border: 0;
  padding: 12px 18px;
  border-radius: 999px;
  font-weight: 700;
  cursor: pointer;
}

.btn-primary {
  background: #2f334d;
  color: #fff;
  border: 1px solid #2f334d;
}

.btn-primary:hover {
  background: #232739;
  border-color: #232739;
  color: #fff;
}

.btn-outline {
  background: #fff;
  color: #1d1d1f;
  border: 1px solid #1d1d1f;
}

.btn-outline:hover {
  background: #1d1d1f;
  border-color: #1d1d1f;
  color: #fff;
}

.header-actions .btn::before,
.nav-icon::before {
  content: "";
  position: absolute;
  top: -2px;
  right: -48%;
  bottom: -2px;
  left: -48%;
  z-index: -1;
  background: var(--slide-fill, #000);
  transform: translateX(-120%) skewX(-24deg);
  transition: transform 0.42s cubic-bezier(0.22, 0.61, 0.36, 1);
}

.header-actions .btn:hover::before,
.header-actions .btn:focus-visible::before,
.nav-icon:hover::before,
.nav-icon:focus-visible::before {
  transform: translateX(0) skewX(-24deg);
}

.header-actions .btn:hover,
.nav-icon:hover {
  transform: none;
}

.site-header:not(.is-scrolled) .header-actions .btn::before,
.site-header:not(.is-scrolled) .nav-icon::before {
  background: #fff;
}

.site-header:not(.is-scrolled) .header-actions .btn {
  background: #000;
  color: #fff;
  border-color: #000;
}

.site-header:not(.is-scrolled) .nav-icon {
  background: #000;
  border-color: #000;
}

.site-header:not(.is-scrolled) .nav-icon span {
  background: #fff;
}

.site-header:not(.is-scrolled) .header-actions .btn:hover {
  background: #fff;
  border-color: #000;
  color: #000;
}

.site-header:not(.is-scrolled) .nav-icon:hover {
  background: #fff;
  border-color: #000;
}

.site-header:not(.is-scrolled) .nav-icon:hover span {
  background: #000;
}

.site-header.is-scrolled .header-actions .btn::before,
.site-header.is-scrolled .nav-icon::before {
  background: #000;
}

.site-header.is-scrolled .header-actions .btn {
  background: #fff;
  color: #000;
  border-color: #fff;
}

.site-header.is-scrolled .nav-icon {
  background: #fff;
  border-color: #fff;
}

.site-header.is-scrolled .nav-icon span {
  background: #000;
}

.site-header.is-scrolled .header-actions .btn:hover {
  background: #111;
  border-color: #fff;
  color: #fff;
}

.site-header.is-scrolled .nav-icon:hover {
  background: #111;
  border-color: #fff;
}

.site-header.is-scrolled .nav-icon:hover span {
  background: #fff;
}

.btn-sub {
  background: #fff;
  color: var(--sub);
  border: 1px solid var(--sub);
}

.site-header.is-scrolled {
  top: 20px;
  background: transparent;
  border-bottom-color: transparent;
}

.site-header.is-scrolled .header-modern {
  width: calc(100% - 32px);
  min-height: 50px;
  margin: 20px 16px 0 16px;
  padding: 0 22px;
  border-radius: 6px;
  background: rgba(17, 17, 17, 0.9);
  box-shadow: 0 10px 24px rgba(20, 22, 33, 0.22);
  transform: translateZ(0);
  will-change: transform;
}

.site-header.is-scrolled .brand-modern {
  margin: 12px 0;
  color: #fff;
  transform: scale(0.96);
}

.site-header.is-scrolled .brand-logo {
  filter: brightness(0) invert(1);
}

.site-header.is-scrolled .nav-modern a {
  color: #fff;
}

.site-header.is-scrolled .nav-modern a::after {
  background: #fff;
}

body.is-scrolled .topline {
  max-height: 0;
  padding: 0;
  opacity: 0;
  border-color: transparent;
}

.hero {
  padding: 56px 0 44px;
}

.brand-kv {
  padding: 16px 0;
}

.brand-kv-inner {
  width: 100%;
  overflow: visible;
}

.brand-kv-list {
  width: 100%;
  overflow: hidden;
  margin-bottom: 18px;
  background: #fff;
  opacity: 0;
  transition: opacity 0.24s ease;
}

.brand-kv-list.is-ready {
  opacity: 1;
}

.brand-kv-track {
  position: relative;
  height: min(600px, 78vw);
}

.brand-kv-slide {
  --offset: 0;
  margin: 0;
  position: absolute;
  top: 0;
  left: 50%;
  width: min(600px, 78vw);
  height: min(600px, 78vw);
  border: 2px solid #0f1427;
  border-radius: 8px;
  overflow: hidden;
  background: #fff;
  opacity: 0.46;
  transform: translateX(calc(-50% + (var(--offset) * (min(600px, 78vw) + 40px)))) scale(0.84);
  transition: transform 0.75s ease, opacity 0.75s ease;
}

.brand-kv-slide.is-active {
  opacity: 1;
  transform: translateX(-50%) scale(1);
  z-index: 3;
}

.brand-kv-slide.is-prev,
.brand-kv-slide.is-next {
  opacity: 0.72;
  transform: translateX(calc(-50% + (var(--offset) * (min(600px, 78vw) + 40px)))) scale(0.9);
  z-index: 2;
}

.brand-kv-slide.is-hidden {
  opacity: 0;
  z-index: 1;
}

.brand-kv-slide a {
  display: block;
  width: 100%;
  height: 100%;
}

.brand-kv-slide img {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.kv-loop {
  width: 100%;
  overflow: hidden;
  padding: 30px 0;
  background: #fff;
}

.kv-loop-row {
  overflow: hidden;
}

.kv-loop-row + .kv-loop-row {
  margin-top: 4px;
}

.kv-loop-row .kv-loop-track {
  display: flex;
  gap: clamp(24px, 3vw, 40px);
  width: max-content;
  font-family: "Montserrat", "Noto Sans JP", "Yu Gothic", sans-serif;
  font-weight: 900;
  letter-spacing: 0.03em;
  line-height: 1;
  color: #13182b;
}

.kv-loop-track span {
  white-space: nowrap;
}

.kv-loop-row-a .kv-loop-track {
  font-size: clamp(40px, 6vw, 92px);
  animation: kvTextSlide 30s linear infinite;
}

.kv-loop-row-b .kv-loop-track {
  font-size: clamp(26px, 4.1vw, 58px);
  animation: kvTextSlideSlow 36s linear infinite;
}

@keyframes kvTextSlide {
  from { transform: translateX(0); }
  to { transform: translateX(-50%); }
}

@keyframes kvTextSlideSlow {
  from { transform: translateX(0); }
  to { transform: translateX(-50%); }
}

.brand-kv.brand-kv-impact {
  position: relative;
  overflow: hidden;
  padding: 0;
  min-height: clamp(420px, 46vw, 740px);
  background: transparent;
}

.brand-kv-impact .container {
  width: 100%;
  max-width: none;
  padding-left: clamp(14px, 2.2vw, 38px);
  padding-right: clamp(14px, 2.2vw, 38px);
}

.brand-kv-impact::after {
  content: none;
}

.brand-kv-impact-shell {
  position: relative;
  z-index: 2;
  display: grid;
  grid-template-columns: minmax(0, 0.48fr) minmax(0, 0.52fr);
  gap: clamp(12px, 1.6vw, 26px);
  align-items: end;
  min-height: clamp(420px, 46vw, 740px);
}

.brand-kv-impact-visual {
  margin: 0;
  margin-left: -25px;
  margin-bottom: 0;
  align-self: end;
  position: relative;
  display: flex;
  align-items: flex-end;
  height: 100%;
}

.brand-kv-impact-visual img {
  display: block;
  width: auto;
  max-width: 100%;
  max-height: clamp(528px, 55vw, 1034px);
  margin: 0 auto;
  transform: none;
  filter: none;
}

.brand-kv-impact-copy {
  position: relative;
  z-index: 3;
  align-self: start;
  padding-top: clamp(20px, 3vw, 64px);
  padding-left: clamp(18px, 2.4vw, 44px);
  margin-left: 25px;
  color: #0f1427;
  transform: scale(1.2);
  transform-origin: left top;
}

.brand-kv-impact-subtitle-svg {
  display: block;
  width: clamp(260px, 31vw, 620px);
  max-width: 100%;
  height: auto;
  margin: 0 0 clamp(6px, 1vw, 14px);
}

.brand-kv-impact-title {
  margin: 0;
  line-height: 1;
}

.brand-kv-impact-title-svg {
  display: block;
  width: clamp(420px, 46vw, 980px);
  max-width: 100%;
  height: auto;
}

.page-home-impact .topline,
.page-home-impact .site-header {
  background: transparent;
}

.page-home-impact .topline {
  display: none;
}

.page-home-impact .site-header {
  border-bottom: 0;
}

.page-home-impact .site-header.is-scrolled {
  background: transparent;
}

.page-home-impact .brand-kv-impact-shell {
  background: transparent;
}

.page-home-impact {
  position: relative;
  background: #fff;
  --home-impact-bg-height: calc(clamp(420px, 46vw, 740px) + 220px);
}

.page-home-impact::before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: var(--home-impact-bg-height);
  background: linear-gradient(120deg, #ff4d4d 0%, #ff9a3d 16%, #ffd84d 32%, #5bd85b 48%, #4db8ff 64%, #7a5cff 80%, #ff66c4 100%);
  background-size: 240% 240%;
  animation: heroRainbowFlow 14s ease infinite;
  z-index: 0;
  pointer-events: none;
}

.page-home-impact .brand-kv.brand-kv-impact {
  position: relative;
  z-index: 1;
}

body.is-scrolled .page-home-impact .topline {
  max-height: 40px;
  padding: 6px 0;
  opacity: 1;
  border-color: transparent;
}

.brand-kv-impact-text {
  margin: clamp(8px, 1.2vw, 14px) 0 0;
  max-width: min(96%, 860px);
  font-size: clamp(13px, 1.05vw, 18px);
  line-height: 1.55;
  font-weight: 700;
}

.brand-kv-impact-badges {
  margin: clamp(10px, 1.4vw, 18px) 0 0;
  padding: 0;
  list-style: none;
  display: flex;
  flex-wrap: wrap;
  gap: clamp(6px, 0.9vw, 10px);
}

.brand-kv-impact-badges li {
  padding: clamp(7px, 0.8vw, 9px) clamp(10px, 1.2vw, 14px);
  border-radius: 999px;
  border: 2px solid rgba(15, 20, 39, 0.18);
  background: rgba(255, 255, 255, 0.88);
  font-size: clamp(12px, 0.95vw, 15px);
  font-weight: 900;
  line-height: 1;
}

.brand-kv-impact-bgword {
  position: absolute;
  left: 0;
  bottom: clamp(8px, 1.1vw, 16px);
  margin: 0;
  white-space: nowrap;
  font-family: "Montserrat", sans-serif;
  font-size: clamp(48px, 8.4vw, 180px);
  font-weight: 900;
  letter-spacing: 0.06em;
  color: rgba(245, 219, 71, 0.86);
  pointer-events: none;
  user-select: none;
  animation: heroBgWordSlide 24s linear infinite;
}

@keyframes heroBgWordSlide {
  from {
    transform: translateX(0);
  }
  to {
    transform: translateX(-33.33%);
  }
}

@keyframes heroRainbowFlow {
  0% {
    background-position: 0% 50%;
  }
  50% {
    background-position: 100% 50%;
  }
  100% {
    background-position: 0% 50%;
  }
}

.page-home-impact .brand-kv-impact-visual,
.page-home-impact .brand-kv-impact-copy {
  will-change: transform, opacity;
}

.page-home-impact:not(.hero-impact-ready) .brand-kv-impact-visual {
  opacity: 0;
  transform: translateX(140px) scale(0.94);
}

.page-home-impact:not(.hero-impact-ready) .brand-kv-impact-copy {
  opacity: 0;
  transform: translateX(-120px) scale(1.2);
}

.page-home-impact.hero-impact-ready .brand-kv-impact-visual {
  animation: heroVisualIn 2.8s cubic-bezier(0.2, 0.9, 0.22, 1) 2.05s both;
}

.page-home-impact.hero-impact-ready .brand-kv-impact-copy {
  animation: heroCopyIn 2.8s cubic-bezier(0.2, 0.88, 0.24, 1) 0.45s both;
}

.page-home-impact .brand-kv-impact-badges li {
  opacity: 0;
  transform: translateY(8px);
}

.page-home-impact.hero-impact-ready .brand-kv-impact-badges li {
  animation: heroBadgeIn 0.42s ease both;
}

.page-home-impact.hero-impact-ready .brand-kv-impact-badges li:nth-child(1) { animation-delay: 2.95s; }
.page-home-impact.hero-impact-ready .brand-kv-impact-badges li:nth-child(2) { animation-delay: 3.1s; }
.page-home-impact.hero-impact-ready .brand-kv-impact-badges li:nth-child(3) { animation-delay: 3.25s; }

@keyframes heroVisualIn {
  from {
    opacity: 0;
    transform: translateX(140px) scale(0.94);
  }
  to {
    opacity: 1;
    transform: translateX(0) scale(1);
  }
}

@keyframes heroCopyIn {
  from {
    opacity: 0;
    transform: translateX(-120px) scale(1.2);
  }
  to {
    opacity: 1;
    transform: translateX(0) scale(1.2);
  }
}

@keyframes heroBadgeIn {
  from {
    opacity: 0;
    transform: translateY(8px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

.hero-main-full {
  position: relative;
  min-height: 86vh;
  overflow: hidden;
  background: linear-gradient(180deg, #f5efe4 0%, #ece4d6 100%);
}

.hero-bg-lines {
  position: absolute;
  inset: 0;
  background-image:
    linear-gradient(to right, rgba(12, 27, 44, 0.07) 1px, transparent 1px),
    linear-gradient(to bottom, rgba(12, 27, 44, 0.06) 1px, transparent 1px);
  background-size: 52px 52px;
  opacity: 0.5;
  mask-image: linear-gradient(to bottom, #000 40%, transparent 100%);
}

.hero-main {
  padding-top: 72px;
}

.hero-main-wrap {
  position: relative;
  z-index: 2;
  display: grid;
  grid-template-columns: 1.2fr 0.8fr;
  gap: 24px;
  align-items: center;
  min-height: 72vh;
}

.hero-main-copy {
  padding-bottom: 12px;
}

.hero-main-en {
  margin: 6px 0 18px;
  font-size: clamp(44px, 8.2vw, 128px);
  line-height: 0.92;
  letter-spacing: 0.01em;
  font-weight: 900;
  color: #111;
  text-transform: uppercase;
  animation: riseIn 1s ease both;
}

.hero-main-jp {
  margin: 0 0 22px;
  font-size: clamp(15px, 1.5vw, 18px);
  line-height: 1.8;
  color: #2c2c2c;
  max-width: 760px;
  animation: riseIn 1.2s ease both;
}

.hero-motion {
  position: relative;
  height: min(70vh, 620px);
  min-height: 380px;
}

.motion-orb {
  position: absolute;
  border-radius: 999px;
  filter: blur(1px);
  opacity: 0.9;
}

.orb-a {
  width: 280px;
  height: 280px;
  background: radial-gradient(circle at 30% 30%, #ffcf6f 0%, #d65117 62%, #61240f 100%);
  right: 14%;
  top: 4%;
  animation: driftA 8s ease-in-out infinite alternate;
}

.orb-b {
  width: 190px;
  height: 190px;
  background: radial-gradient(circle at 30% 30%, #98dbff 0%, #2f658f 68%, #102739 100%);
  left: 10%;
  bottom: 16%;
  animation: driftB 6.8s ease-in-out infinite alternate;
}

.orb-c {
  width: 100px;
  height: 100px;
  background: radial-gradient(circle at 50% 40%, #fff 0%, #e4cfb5 100%);
  right: 44%;
  bottom: 6%;
  animation: pulseC 3.2s ease-in-out infinite;
}

.motion-ring {
  position: absolute;
  border: 1px solid rgba(17, 17, 17, 0.28);
  border-radius: 999px;
}

.ring-a {
  width: 340px;
  height: 340px;
  right: 8%;
  top: 2%;
  animation: spinSlow 24s linear infinite;
}

.ring-b {
  width: 240px;
  height: 240px;
  left: 2%;
  bottom: 8%;
  animation: spinSlowReverse 18s linear infinite;
}

.motion-grid {
  position: absolute;
  inset: 12% 4% 0 18%;
  border-radius: 16px;
  border: 1px solid rgba(17, 17, 17, 0.24);
  background-image:
    linear-gradient(to right, rgba(17, 17, 17, 0.08) 1px, transparent 1px),
    linear-gradient(to bottom, rgba(17, 17, 17, 0.08) 1px, transparent 1px);
  background-size: 22px 22px;
  transform: perspective(760px) rotateY(-16deg) rotateX(8deg);
}

@keyframes driftA {
  from { transform: translateY(0) translateX(0); }
  to { transform: translateY(20px) translateX(-16px); }
}

@keyframes driftB {
  from { transform: translateY(0) translateX(0); }
  to { transform: translateY(-15px) translateX(16px); }
}

@keyframes pulseC {
  0%, 100% { transform: scale(1); opacity: 0.9; }
  50% { transform: scale(1.16); opacity: 0.6; }
}

@keyframes spinSlow {
  from { transform: rotate(0deg); }
  to { transform: rotate(360deg); }
}

@keyframes spinSlowReverse {
  from { transform: rotate(360deg); }
  to { transform: rotate(0deg); }
}

@keyframes riseIn {
  from { opacity: 0; transform: translateY(16px); }
  to { opacity: 1; transform: translateY(0); }
}

.hero-grid {
  display: grid;
  grid-template-columns: 1.1fr 0.9fr;
  gap: 26px;
  align-items: stretch;
}

.hero-copy {
  background: var(--paper);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 30px;
  box-shadow: 0 8px 20px rgba(0, 0, 0, 0.05);
}

.kicker {
  display: inline-block;
  font-size: 12px;
  padding: 4px 9px;
  border-radius: 999px;
  background: #f2e4cd;
  margin-bottom: 10px;
}

.hero h1 {
  margin: 0 0 14px;
  font-size: clamp(28px, 4vw, 46px);
  line-height: 1.2;
}

.marker {
  background: linear-gradient(transparent 62%, var(--highlight) 62%);
}

.hero p {
  margin: 0 0 20px;
  color: #333;
}

.cta-row {
  display: flex;
  gap: 12px;
  flex-wrap: wrap;
}

.flyer-box {
  background: #fff;
  border: 2px solid var(--accent);
  border-radius: var(--radius);
  padding: 22px;
  position: relative;
  box-shadow: 0 16px 28px rgba(204, 59, 30, 0.16);
}

.flyer-tag {
  position: absolute;
  top: -14px;
  left: 18px;
  background: var(--accent);
  color: #fff;
  padding: 6px 12px;
  border-radius: 999px;
  font-size: 12px;
  font-weight: 700;
}

.flyer-box h3 {
  margin: 10px 0 6px;
  font-size: 24px;
}

.flyer-box ul {
  margin: 14px 0 0;
  padding-left: 18px;
}

.section {
  padding: 56px 0;
}

/* Full-bleed section background utility for lower pages.
   Usage:
   1) add `section-bg-full` to a section under `.lower-master-body`
   2) set color with CSS var: style="--section-bg:#f5f7fb;" */
.lower-master-body > .section.section-bg-full {
  position: relative;
  isolation: isolate;
}

.lower-master-body > .section.section-bg-full::before {
  content: "";
  position: absolute;
  inset: 0 auto 0 50%;
  width: 100vw;
  transform: translateX(-50%);
  background: var(--section-bg, transparent);
  z-index: -1;
}

.lower-master-body > .section.section-bg-surface {
  --section-bg: #f8f9fc;
}

.lower-master-body > .section.section-bg-muted {
  --section-bg: #f3f3f3;
}

.lower-master-body > .section.section-bg-dark {
  --section-bg: #111;
  color: #fff;
}

.lower-master-body > .section.section-bg-dark .check-list div {
  color: #111;
}

.section-title {
  margin: 0 0 18px;
  font-size: 32px;
  line-height: 1.25;
}

.section-title-center {
  text-align: center;
}

.lower-master-body .section-title.section-title-center {
  margin-bottom: 50px;
}

.lp-hero {
  background: linear-gradient(120deg, #17344d 0%, #2e678f 100%);
  color: #fff;
  border-radius: 16px;
  padding: 34px;
}

.lp-hero h1 {
  margin: 0 0 12px;
  font-size: clamp(30px, 5vw, 56px);
  line-height: 1.08;
}

.lp-hero p {
  margin: 0;
  max-width: 780px;
}

.check-list {
  display: grid;
  gap: 10px;
  margin: 16px 0 0;
}

.check-list div {
  padding: 11px 14px;
  border: 1px solid #dfd4c2;
  border-radius: 10px;
  background: #fff;
}

.section-sub {
  margin: 0 0 26px;
  color: #4e4e4e;
}

.tosoweb-summary {
  background: #f3f3f3;
  padding-top: 102px;
  padding-bottom: 0;
  width: 100%;
  margin: 0;
}

.tosoweb-summary .tosoweb-about {
  width: 1120px;
  max-width: calc(100% - 32px);
  margin: 0 auto;
}

.tosoweb-services {
  background: #000;
  color: #fff;
  padding-top: 102px;
}

.services-intro {
  display: grid;
  grid-template-columns: minmax(420px, 1fr) minmax(420px, 1fr);
  gap: clamp(28px, 4vw, 58px);
  align-items: center;
  margin-bottom: 56px;
}

.services-intro-visual {
  margin: 0;
  aspect-ratio: 16 / 10;
  border-radius: 14px;
  position: relative;
  background: #132344 url("../images/services-intro-visual.webp") center / cover no-repeat;
  overflow: hidden;
}

.services-intro-badge {
  position: absolute;
  top: 18px;
  right: 18px;
  font-family: "Montserrat", "Noto Sans JP", sans-serif;
  letter-spacing: 0.08em;
  font-size: 13px;
  color: rgba(255, 255, 255, 0.88);
}

.services-intro-copy {
  max-width: 620px;
}

.services-intro-label {
  margin: 0 0 10px;
  font-size: 14px;
  font-weight: 700;
  letter-spacing: 0.03em;
}

.services-intro-title {
  margin: 0 0 16px;
  font-size: 50px;
  line-height: 1.1;
  letter-spacing: 0.01em;
  font-weight: 900;
}

.services-intro-text {
  margin: 0 0 24px;
  font-size: 14px;
  line-height: 1.65;
  color: rgba(255, 255, 255, 0.9);
}

.tosoweb-services .btn-sub {
  height: 46px;
  padding: 0 20px;
  border-radius: 8px;
  border: 1px solid #fff;
  background: transparent;
  color: #fff;
  font-size: 14px;
  transition: background-color 0.3s ease, color 0.3s ease, border-color 0.3s ease;
}

.tosoweb-services .btn-sub:hover {
  background: #fff;
  color: #000;
  border-color: #fff;
}

.services-page .service-link-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 10px;
  margin-top: 14px;
}

.services-page .services-layout {
  display: grid;
  gap: 16px;
}

.services-page .services-main-card {
  width: 100%;
}

.services-page .services-sub-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 16px;
}

.services-page .service-link-grid .service-link-btn {
  width: 100%;
  justify-content: flex-start;
}

.services-page .service-link-btn {
  min-height: 46px;
  border-radius: 8px;
  border: 1px solid #000;
  background: #fff;
  color: #000;
  font-size: 14px;
  font-weight: 700;
  position: relative;
  overflow: hidden;
  isolation: isolate;
  z-index: 0;
  transition: color 0.32s ease, border-color 0.32s ease;
}

.services-page .service-link-btn::before {
  content: "";
  position: absolute;
  top: -2px;
  right: -48%;
  bottom: -2px;
  left: -48%;
  z-index: -1;
  background: #000;
  transform: translateX(-120%) skewX(-24deg);
  transition: transform 0.42s cubic-bezier(0.22, 0.61, 0.36, 1);
}

.services-page .service-link-btn:hover,
.services-page .service-link-btn:focus-visible {
  color: #fff;
  border-color: #000;
}

.services-page .service-link-btn:hover::before,
.services-page .service-link-btn:focus-visible::before {
  transform: translateX(0) skewX(-24deg);
}

.web-paint-page .web-paint-hero {
  display: grid;
  grid-template-columns: 1.35fr 1fr;
  gap: 20px;
  padding: 22px;
  border-radius: 10px;
  background: #0f1738;
  color: #fff;
}

.web-paint-page .web-paint-hero h2 {
  margin: 0 0 10px;
  font-size: clamp(28px, 3.2vw, 42px);
  line-height: 1.2;
}

.web-paint-page .web-paint-hero p {
  margin: 0;
  line-height: 1.8;
  font-size: 14px;
}

.web-paint-page .web-paint-hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin-top: 16px;
  justify-content: center;
}

.web-paint-page .web-paint-hero-box {
  border: 1px dashed rgba(255, 255, 255, 0.45);
  border-radius: 10px;
  padding: 16px;
  background: rgba(255, 255, 255, 0.04);
}

.web-paint-page .web-paint-kicker {
  margin: 0 0 14px;
  font-size: 12px;
  letter-spacing: 0.08em;
  font-weight: 700;
}

.web-paint-page .web-paint-kpi-list {
  list-style: none;
  margin: 0;
  padding: 0;
  display: grid;
  gap: 10px;
}

.web-paint-page .web-paint-kpi-list li {
  display: flex;
  flex-direction: column;
  gap: 2px;
}

.web-paint-page .web-paint-kpi-list strong {
  font-size: 24px;
  line-height: 1.1;
}

.web-paint-page .web-paint-kpi-list span {
  font-size: 12px;
  opacity: 0.88;
}

.web-paint-page .web-paint-problem-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 16px;
}

.web-paint-page .web-paint-problem-title {
  text-align: center;
}

.web-paint-page .web-paint-phase-head {
  margin-bottom: 20px;
  text-align: center;
}

.web-paint-page .web-paint-phase-en {
  margin: 0 0 4px;
  font-size: clamp(46px, 8vw, 74px);
  line-height: 0.9;
  font-weight: 900;
  letter-spacing: 0.05em;
  color: rgba(17, 17, 17, 0.12);
}

.web-paint-page .web-paint-phase-head .section-title {
  margin: 0;
}

.web-paint-page .web-paint-problem-to-solution {
  margin: 20px 0 10px;
  display: flex;
  justify-content: center;
}

.web-paint-page .web-paint-problem-to-solution span {
  position: relative;
  width: 75px;
  height: 115px;
}

.web-paint-page .web-paint-problem-to-solution span::before,
.web-paint-page .web-paint-problem-to-solution span::after {
  content: "";
  position: absolute;
  left: 50%;
  width: 30px;
  height: 30px;
  border-right: 6px solid #111;
  border-bottom: 6px solid #111;
  transform: translate(-50%, 0) rotate(45deg);
  opacity: 0;
  animation: webPaintDownArrow 1.2s ease-in-out infinite;
}

.web-paint-page .web-paint-problem-to-solution span::before {
  top: 16px;
}

.web-paint-page .web-paint-problem-to-solution span::after {
  top: 52px;
  animation-delay: 0.2s;
}

.web-paint-page .web-paint-phase-head--solution {
  margin-top: 6px;
  margin-bottom: 0;
}

.web-paint-page .web-paint-problem-visual {
  display: flex;
  align-items: flex-end;
  justify-content: center;
  gap: 10px;
}

.web-paint-page .web-paint-problem-visual img {
  width: min(158px, 24vw);
  height: auto;
  object-fit: contain;
}

.web-paint-page .web-paint-problem-list {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 8px;
}

.web-paint-page .web-paint-problem-list p {
  margin: 0;
  min-height: 42px;
  padding: 10px 12px;
  border: 1px solid #d9d9d9;
  border-radius: 4px;
  display: flex;
  align-items: center;
  font-size: 12px;
  line-height: 1.45;
  font-weight: 600;
}

.web-paint-page .web-paint-issues .section-title {
  margin: 0 0 50px;
  text-align: left;
}

.web-paint-page .web-paint-issues {
  position: relative;
  z-index: 0;
}

.web-paint-page .web-paint-issues::before {
  content: "";
  position: absolute;
  left: 50%;
  top: 0;
  width: 100vw;
  height: 196px;
  transform: translateX(-50%);
  background: #fff;
  z-index: -1;
}

.web-paint-page .web-paint-issues .problem-title {
  position: relative;
  width: fit-content;
  max-width: 100%;
  margin: 0 auto -24px;
  padding: 18px 36px;
  background: #000;
  color: #fff;
  font-size: clamp(34px, 4.2vw, 58px);
  line-height: 1.2;
  text-align: center;
  z-index: 2;
}

.web-paint-page .web-paint-issues .problem-title::after {
  content: "";
  position: absolute;
  left: 50%;
  bottom: -13px;
  width: 0;
  height: 0;
  border-left: 14px solid transparent;
  border-right: 14px solid transparent;
  border-top: 14px solid #000;
  transform: translateX(-50%);
}

.web-paint-page .web-paint-issues-list-bg {
  position: relative;
  padding: 58px 0 28px;
}

.web-paint-page .web-paint-issues-list-bg::before {
  content: "";
  position: absolute;
  inset: 0 auto 0 50%;
  width: 100vw;
  transform: translateX(-50%);
  background: #f3f4f6;
  z-index: -1;
}

.web-paint-page .web-paint-soft-band {
  position: relative;
  isolation: isolate;
  z-index: 0;
  padding-top: 64px;
  padding-bottom: 64px;
}

.web-paint-page .web-paint-soft-band::before {
  content: "";
  position: absolute;
  inset: 0 auto 0 50%;
  width: 100vw;
  transform: translateX(-50%);
  background: #f3f4f6;
  z-index: -1;
}

.web-paint-page .web-paint-issues .section-sub {
  margin-bottom: 20px;
}

.web-paint-page .web-paint-phase-eyebrow {
  margin: 0 0 6px;
  text-align: left;
  font-size: 20px;
  line-height: 1.2;
  font-weight: 700;
  letter-spacing: 0.05em;
}

.web-paint-page .web-paint-issues .web-paint-phase-eyebrow {
  text-align: center;
  margin-bottom: 12px;
}

.web-paint-page .web-paint-issue-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 12px;
}

.web-paint-page .web-paint-issue-card {
  display: grid;
  grid-template-columns: 112px minmax(0, 1fr);
  align-items: center;
  gap: 14px;
  padding: 25px;
  border: 1px solid #d9d9d9;
  border-radius: 8px;
  background: #fff;
}

.web-paint-page .web-paint-issue-icon {
  margin: 0;
  width: 112px;
  aspect-ratio: 1 / 1;
}

.web-paint-page .web-paint-issue-icon img {
  width: 100%;
  height: 100%;
  object-fit: contain;
  display: block;
}

.web-paint-page .web-paint-issue-copy h3 {
  margin: 0 0 15px;
  font-size: 28px;
  line-height: 1.2;
}

.web-paint-page .web-paint-issue-copy p {
  margin: 0;
  font-size: 14px;
  line-height: 1.6;
  font-weight: 600;
}

.web-paint-page .web-paint-phase-head--solution {
  text-align: center;
}

.web-paint-page .web-paint-phase-head--solution .web-paint-phase-en {
  margin: 0 0 6px;
  text-align: center;
  font-size: 20px;
  line-height: 1.2;
  font-weight: 700;
  letter-spacing: 0.05em;
  color: #111;
}

.web-paint-page .web-paint-phase-head--solution .section-title {
  margin: 0 0 50px;
  text-align: center;
}

.web-paint-page #web-solution {
  padding-bottom: 100px;
}

.web-paint-page .web-paint-solution-panel {
  display: grid;
  grid-template-columns: minmax(360px, 420px) minmax(0, 1fr);
  grid-template-areas:
    "image copy"
    "thought thought";
  column-gap: 18px;
  row-gap: 18px;
  position: relative;
  isolation: isolate;
  align-items: start;
  padding: 40px;
  border: 1px solid #d9d9d9;
  border-radius: 8px;
  background: #fff;
  box-shadow: 0 0 0 rgba(0, 203, 247, 0);
  animation: webPaintSolutionPanelGlow 3.2s ease-in-out infinite;
}

.web-paint-page .web-paint-solution-panel::before {
  content: "";
  position: absolute;
  inset: -1px;
  border-radius: 9px;
  padding: 1.5px;
  background: linear-gradient(
    120deg,
    rgba(0, 203, 247, 0.08) 0%,
    rgba(0, 203, 247, 0.85) 22%,
    rgba(255, 255, 255, 0.2) 40%,
    rgba(0, 203, 247, 0.95) 58%,
    rgba(0, 203, 247, 0.08) 100%
  );
  background-size: 220% 100%;
  -webkit-mask: linear-gradient(#000 0 0) content-box, linear-gradient(#000 0 0);
  -webkit-mask-composite: xor;
  mask-composite: exclude;
  pointer-events: none;
  z-index: 0;
  animation: webPaintSolutionBorderFlow 3.2s linear infinite;
}

.web-paint-page .web-paint-solution-panel > * {
  position: relative;
  z-index: 1;
}

.web-paint-page .web-paint-solution-image {
  grid-area: image;
  min-height: 0;
  aspect-ratio: 4 / 3;
  width: 100%;
  max-width: 100%;
  margin: 0;
  display: flex;
  align-items: center;
  justify-content: center;
  border: 1px solid #d9d9d9;
  border-radius: 8px;
  background: linear-gradient(145deg, #f2f2f2 0%, #dcdcdc 100%);
  color: #333;
  font-size: 20px;
  font-weight: 800;
  letter-spacing: 0.04em;
  overflow: hidden;
}

.web-paint-page .web-paint-solution-image img {
  width: 100%;
  height: 100%;
  display: block;
  object-fit: cover;
}

.web-paint-page .web-paint-solution-copy {
  grid-area: copy;
  display: grid;
  align-content: start;
  padding: 0;
  border: 0;
  border-radius: 0;
  background: transparent;
  font-size: 14px;
  line-height: 1.7;
}

.web-paint-page .web-paint-solution-copy > p {
  margin: 0 0 14px;
}

.web-paint-page .web-paint-solution-copy p strong {
  position: relative;
  display: block;
  font-size: 28px;
  line-height: 1.35;
  font-weight: 700;
  letter-spacing: 0.01em;
}

.web-paint-page .web-paint-solution-copy ul {
  margin: 0;
  padding-left: 24px;
  display: grid;
  gap: 12px;
  font-size: 18px;
  font-weight: 700;
  line-height: 1.5;
}

.web-paint-page .web-paint-solution-thought {
  grid-area: thought;
  padding-top: 30px;
  border-top: 1px solid #9b9b9b;
}

.web-paint-page .web-paint-solution-thought-title {
  position: relative;
  margin: 0 0 20px;
  padding-top: 0;
  border-top: 0;
  font-size: 28px;
  line-height: 1.35;
  font-weight: 700;
  letter-spacing: 0.01em;
}

.web-paint-page .web-paint-solution-thought-text {
  margin: 0;
  max-width: none;
  font-size: 14px;
  line-height: 1.6;
  font-weight: 600;
}

.web-paint-page .web-paint-solution-thought-text + .web-paint-solution-thought-text {
  margin-top: 12px;
}

.web-paint-page .web-paint-solution-menu {
  margin-top: 30px;
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 8px;
}

.web-paint-page .web-paint-solution-menu-title {
  margin: 0 0 6px;
  grid-column: 1 / -1;
  font-size: 24px;
  line-height: 1.3;
  font-weight: 800;
}

.web-paint-page .web-paint-solution-menu span {
  min-height: 52px;
  display: inline-flex;
  align-items: center;
  justify-content: flex-start;
  text-align: left;
  padding: 10px 12px;
  border-radius: 8px;
  border: 1px solid #000;
  background: #000;
  color: #fff;
  font-size: 14px;
  line-height: 1.35;
  font-weight: 700;
}

.web-paint-page .web-paint-problem-card {
  padding: 0;
  border: 0;
  background: transparent;
  box-shadow: none;
}

.web-paint-page .web-paint-problem-card figure {
  margin: 0 0 12px;
  border-radius: 0;
  overflow: hidden;
  border: 0;
  background: transparent;
}

.web-paint-page .web-paint-problem-card img {
  display: block;
  width: 100%;
  height: auto;
  max-height: 420px;
  object-fit: contain;
}

.web-paint-page .web-paint-problem-card h3 {
  margin: 0 0 6px;
  font-size: 29px;
  line-height: 1.5;
  color: #000;
}

.web-paint-page .web-paint-problem-card p {
  margin: 0;
  line-height: 1.75;
  font-size: 14px;
}

.web-paint-page .web-paint-reason-list {
  display: grid;
  gap: 10px;
}

.web-paint-page .web-paint-reason-item {
  display: grid;
  grid-template-columns: 52px 1fr;
  gap: 12px;
  padding: 14px;
  border: 1px solid #d7dbe8;
  border-radius: 8px;
  background: #fff;
}

.web-paint-page .web-paint-reason-item > span {
  width: 52px;
  height: 52px;
  border-radius: 6px;
  background: #0f1738;
  color: #fff;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  font-weight: 800;
}

.web-paint-page .web-paint-reason-item h3 {
  margin: 0 0 6px;
}

.web-paint-page .web-paint-reason-item p {
  margin: 0;
}

.web-paint-page .web-paint-pillars {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 14px;
}

.web-paint-page .web-paint-pillars .card,
.web-paint-page .web-paint-case.card {
  position: relative;
  box-shadow:
    0 12px 24px rgba(20, 28, 44, 0.12),
    0 0 18px rgba(0, 203, 247, 0.2);
}

.web-paint-page .web-paint-pillars .card {
  padding: 25px;
}

.web-paint-page .web-paint-pillars .card h3 {
  margin: 0 0 8px;
}

.web-paint-page .web-paint-pillars .web-paint-pillar-label,
.web-paint-page .web-paint-pillars .web-paint-pillar-title {
  display: block;
}

.web-paint-page .web-paint-pillars .web-paint-pillar-label {
  font-size: 16px;
}

.web-paint-page .web-paint-pillars .web-paint-pillar-title {
  font-size: 20px;
}

.web-paint-page .web-paint-select-reasons {
  display: grid;
  gap: 14px;
}

.web-paint-page .web-paint-select-reason-card {
  display: grid;
  grid-template-columns: minmax(190px, 250px) minmax(0, 1fr);
  gap: 16px;
  padding: 25px;
  border: 1px solid #d9d9d9;
  border-radius: 8px;
  background: #fff;
}

.web-paint-page .web-paint-select-reason-image {
  margin: 0;
  border: 1px solid #d9d9d9;
  border-radius: 8px;
  overflow: hidden;
  line-height: 0;
}

.web-paint-page .web-paint-select-reason-image img {
  width: 100%;
  height: auto;
  display: block;
}

.web-paint-page .web-paint-cta h2 {
  font-size: 50px;
  line-height: 1.2;
}

.web-paint-page .web-paint-select-reason-content h3 {
  margin: 0 0 10px;
  font-size: 29px;
  line-height: 1.35;
}

.web-paint-page .web-paint-select-reason-content p {
  margin: 0;
  font-size: 14px;
  line-height: 1.8;
  font-weight: 600;
}

.web-paint-page .web-paint-case {
  display: grid;
  gap: 14px;
  padding: 30px;
}

.web-paint-page .web-paint-case-layout {
  display: grid;
  grid-template-columns: minmax(220px, 0.9fr) minmax(0, 1.1fr);
  gap: 18px;
  align-items: start;
}

.web-paint-page .web-paint-case-image {
  margin: 0;
  aspect-ratio: 4 / 3;
  border: 1px solid #d9d9d9;
  border-radius: 8px;
  overflow: hidden;
  background: #f3f3f3;
}

.web-paint-page .web-paint-case-image img {
  width: 100%;
  height: 100%;
  display: block;
  object-fit: cover;
}

.web-paint-page .web-paint-case-content {
  display: grid;
  gap: 14px;
}

.web-paint-page .web-paint-case-label {
  margin: 0 0 6px;
  font-size: 11px;
  color: #d33043;
  font-weight: 700;
  letter-spacing: 0.08em;
}

.web-paint-page .web-paint-case-head {
  display: grid;
  grid-template-columns: 132px minmax(0, 1fr);
  gap: 14px;
  align-items: center;
}

.web-paint-page .web-paint-case-logo {
  margin: 0;
  aspect-ratio: 4 / 3;
  border: 1px solid #d9d9d9;
  border-radius: 8px;
  background: #fff;
  display: flex;
  align-items: center;
  justify-content: center;
  overflow: hidden;
}

.web-paint-page .web-paint-case-logo img {
  width: 84%;
  height: 84%;
  object-fit: contain;
  display: block;
}

.web-paint-page .web-paint-case-company-wrap {
  min-width: 0;
}

.web-paint-page .web-paint-case-company {
  margin: 0;
  font-size: 20px;
  line-height: 1.35;
  font-weight: 700;
  letter-spacing: 0.01em;
  color: #111;
}

.web-paint-page .web-paint-case-meta {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
}

.web-paint-page .web-paint-case-meta span {
  padding: 7px 10px;
  border-radius: 999px;
  border: 1px solid #d9d9d9;
  background: #f8f9fc;
  font-size: 12px;
  line-height: 1.2;
  font-weight: 700;
}

.web-paint-page .web-paint-case-title {
  margin: 0;
  font-size: 28px;
  line-height: 1.35;
  font-weight: 700;
  letter-spacing: 0.01em;
}

.web-paint-page .web-paint-case-text {
  margin: 0;
  font-size: 15px;
  line-height: 1.8;
}

.web-paint-page .web-paint-case-categories {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
}

.web-paint-page .web-paint-case-categories span {
  padding: 6px 10px;
  border-radius: 4px;
  background: #111;
  color: #fff;
  font-size: 12px;
  line-height: 1.2;
  font-weight: 700;
}

.web-paint-page .web-paint-plan-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 14px;
}

.web-paint-page .web-paint-pricing-intro {
  display: grid;
  gap: 12px;
  margin: 0 0 24px;
}

.web-paint-page .web-paint-pricing-intro p {
  margin: 0;
  font-size: 15px;
  line-height: 1.85;
  font-weight: 600;
}

.web-paint-page .web-paint-pricing-card {
  margin: 0;
  padding: 30px 28px;
  border-radius: 12px;
  border: 1px solid #111;
  background:
    linear-gradient(140deg, rgba(255, 255, 255, 0.07), rgba(255, 255, 255, 0)) ,
    #0d0d0d;
  color: #fff;
  text-align: center;
  box-shadow: 0 14px 30px rgba(17, 17, 17, 0.18);
}

.web-paint-page .web-paint-pricing-normal {
  margin: 0 0 10px;
  font-size: 19px;
  color: #b9b9b9;
}

.web-paint-page .web-paint-pricing-special {
  margin: 0 0 14px;
  font-size: 14px;
  font-weight: 800;
  color: #e4bc67;
  letter-spacing: 0.1em;
}

.web-paint-page .web-paint-pricing-initial-label {
  margin: 0;
  font-size: 22px;
  color: #d5d5d5;
}

.web-paint-page .web-paint-pricing-initial-price {
  margin: 6px 0 12px;
  line-height: 1.1;
}

.web-paint-page .web-paint-pricing-initial-price strong {
  font-size: clamp(48px, 6.2vw, 68px);
  font-weight: 900;
  color: #e4bc67;
}

.web-paint-page .web-paint-pricing-initial-price span {
  margin-left: 6px;
  font-size: 16px;
  color: #a9a9a9;
}

.web-paint-page .web-paint-pricing-zero {
  margin: 0 0 10px;
  font-size: 19px;
  color: #d4d4d4;
}

.web-paint-page .web-paint-pricing-monthly {
  margin: 0;
  font-size: 20px;
  line-height: 1.5;
  color: #ededed;
}

.web-paint-page .web-paint-pricing-breakdown-title {
  margin: 26px 0 12px;
  font-size: 28px;
  line-height: 1.3;
  text-align: left;
}

.web-paint-page .web-paint-pricing-breakdown {
  margin: 0;
  border: 1px solid #d9d9d9;
  border-radius: 10px;
  overflow: hidden;
  background: #fff;
}

.web-paint-page .web-paint-pricing-breakdown > div {
  display: grid;
  grid-template-columns: 280px minmax(0, 1fr);
}

.web-paint-page .web-paint-pricing-breakdown > div + div {
  border-top: 1px solid #e3e3e3;
}

.web-paint-page .web-paint-pricing-breakdown dt {
  margin: 0;
  padding: 16px 18px;
  background: #f5f7fb;
  font-size: 14px;
  line-height: 1.55;
  font-weight: 800;
}

.web-paint-page .web-paint-pricing-breakdown dd {
  margin: 0;
  padding: 16px 18px;
  font-size: 15px;
  line-height: 1.75;
  font-weight: 600;
}

.web-paint-page .web-paint-pricing-breakdown-link {
  margin-top: 10px;
  text-decoration: none;
}

.web-paint-page .web-paint-issue-copy p,
.web-paint-page .web-paint-solution-thought-text,
.web-paint-page .web-paint-pillars .card p,
.web-paint-page .web-paint-select-reason-content p,
.web-paint-page .web-paint-case-text,
.web-paint-page .web-paint-pricing-intro,
.web-paint-page .web-paint-pricing-intro p,
.web-paint-page .web-paint-pricing-breakdown dd,
.web-paint-page .web-paint-flow span {
  font-size: 14px;
  line-height: 1.7;
  font-weight: 400;
  letter-spacing: 0;
}

.web-paint-page .web-paint-plan-grid ul {
  margin: 10px 0 0;
  padding-left: 18px;
}

.web-paint-page .web-paint-price {
  margin: 10px 0 0;
  font-size: 30px;
  line-height: 1.1;
  font-weight: 900;
  color: #111a3a;
}

.web-paint-page .web-paint-plan-featured {
  border-color: #d33043;
  box-shadow: 0 10px 22px rgba(15, 23, 56, 0.08);
}

.web-paint-page .web-paint-talk {
  padding-top: 0;
}

.web-paint-page .web-paint-talk-copy p {
  margin: 0;
  font-size: clamp(22px, 2.5vw, 34px);
  line-height: 1.72;
  letter-spacing: 0.01em;
  font-weight: 700;
}

.web-paint-page .web-paint-talk-copy p + p {
  margin-top: 6px;
}

.web-paint-page .web-paint-talk-copy .highlight-line {
  display: inline;
  background-image: linear-gradient(transparent 68%, rgba(255, 228, 92, 0.92) 68%);
}

.web-paint-page .web-paint-talk-title {
  margin: 40px 0 16px;
  font-size: 28px;
  font-weight: 900;
}

.web-paint-page .web-paint-talk-points {
  display: grid;
  gap: 12px;
}

.web-paint-page .web-paint-talk-points article {
  border-left: 4px solid #111a3a;
  background: #f8f9fc;
  padding: 14px 16px;
}

.web-paint-page .web-paint-talk-points .num {
  margin: 0 0 4px;
  font-size: 13px;
  font-weight: 700;
  color: #4b5270;
}

.web-paint-page .web-paint-talk-points h4 {
  margin: 0;
  font-size: 20px;
  line-height: 1.4;
}

.web-paint-page .web-paint-talk-points article > p:last-child {
  margin: 6px 0 0;
  font-size: 15px;
  line-height: 1.8;
}

.web-paint-page .web-paint-story {
  margin-top: 32px;
}

.web-paint-page .web-paint-story h3 {
  margin: 0 0 14px;
  font-size: 28px;
}

.web-paint-page .web-paint-story p {
  margin: 0;
  line-height: 1.95;
}

.web-paint-page .web-paint-story p + p {
  margin-top: 8px;
}

.web-paint-page .web-paint-talk-cta {
  margin-top: 26px;
  padding: 20px;
  background: #111a3a;
  color: #fff;
  border-radius: 10px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
}

.web-paint-page .web-paint-talk-cta p {
  margin: 0;
  font-size: 22px;
  line-height: 1.45;
  font-weight: 800;
}

.web-paint-page .web-paint-talk-cta p span {
  font-size: 15px;
  font-weight: 600;
  color: rgba(255, 255, 255, 0.86);
}

.web-paint-page .web-paint-flow {
  list-style: none;
  margin: 0;
  padding: 0;
  display: grid;
  grid-template-columns: repeat(6, minmax(0, 1fr));
  gap: 8px;
}

.web-paint-page .web-paint-flow li {
  border: 1px solid #d7dbe8;
  border-radius: 8px;
  padding: 12px;
  text-align: center;
  background: #fff;
}

.web-paint-page .web-paint-flow strong {
  display: block;
  margin-bottom: 4px;
  font-size: 20px;
}

.web-paint-page .faq-list details {
  border: 1px solid #d7dbe8;
  border-radius: 8px;
  background: #fff;
  padding: 12px 14px;
}

.web-paint-page .faq-list details + details {
  margin-top: 10px;
}

.web-paint-page .faq-list summary {
  font-weight: 700;
  cursor: pointer;
}

.web-paint-page .faq-list p {
  margin: 8px 0 0;
  line-height: 1.75;
}

.web-paint-page .service-link-btn {
  min-height: 46px;
  border-radius: 8px;
  border: 1px solid #000;
  background: #fff;
  color: #000;
  font-size: 14px;
  font-weight: 700;
  position: relative;
  overflow: hidden;
  isolation: isolate;
  z-index: 0;
  transition: color 0.32s ease, border-color 0.32s ease;
}

.web-paint-page .service-link-btn::before {
  content: "";
  position: absolute;
  top: -2px;
  right: -48%;
  bottom: -2px;
  left: -48%;
  z-index: -1;
  background: #000;
  transform: translateX(-120%) skewX(-24deg);
  transition: transform 0.42s cubic-bezier(0.22, 0.61, 0.36, 1);
}

.web-paint-page .service-link-btn:hover,
.web-paint-page .service-link-btn:focus-visible {
  color: #fff;
}

.web-paint-page .service-link-btn:hover::before,
.web-paint-page .service-link-btn:focus-visible::before {
  transform: translateX(0) skewX(-24deg);
}

.service-detail {
  display: grid;
  grid-template-columns: minmax(0, 1.05fr) minmax(0, 1fr) minmax(0, 1fr);
  align-items: center;
  gap: clamp(22px, 3vw, 46px);
  padding: clamp(28px, 6vw, 80px) 0;
  border-top: 1px solid rgba(255, 255, 255, 0.26);
}

.service-detail:last-of-type {
  border-bottom: 1px solid rgba(255, 255, 255, 0.26);
}

.service-detail-main {
  max-width: 620px;
  min-width: 0;
}

.service-detail-kicker {
  margin: 0 0 8px;
  font-size: 14px;
  font-weight: 700;
  letter-spacing: 0.08em;
  color: rgba(255, 255, 255, 0.82);
}

.service-detail-title {
  margin: 0 0 14px;
  font-size: 36px;
  line-height: 1.15;
  font-weight: 900;
}

.service-detail-title span {
  color: #fff;
}

.service-detail-text {
  margin: 0 0 20px;
  font-size: 14px;
  line-height: 1.75;
}

.service-detail-list {
  list-style: none;
  margin: 0;
  padding: 0;
  border-top: 1px solid rgba(255, 255, 255, 0.26);
  min-width: 0;
}

.service-detail-list li {
  border-bottom: 1px solid rgba(255, 255, 255, 0.26);
  padding: 0;
  position: relative;
}

.service-detail-list li a {
  display: block;
  padding: 14px 36px 14px 0;
  position: relative;
  font-size: 18px;
  line-height: 1.3;
  font-weight: 800;
  color: #fff;
  transition: color 0.25s ease, transform 0.25s ease;
}

.service-detail-list li a::after {
  content: "\2192";
  position: absolute;
  right: 4px;
  top: 50%;
  transform: translateY(-50%);
  font-size: 17px;
  color: #fff;
  transition: transform 0.25s ease, color 0.25s ease;
}

.service-detail-list li a:hover {
  color: #dcdcdc;
  transform: translateX(4px);
}

.service-detail-list li a:hover::after {
  color: #dcdcdc;
  transform: translate(4px, -50%);
}

.service-detail-media {
  margin: 0;
  width: 100%;
  max-width: 100%;
  aspect-ratio: 4 / 3;
  min-height: 300px;
  border-radius: 12px;
  background-position: center;
  background-repeat: no-repeat;
  background-size: cover;
  overflow: hidden;
}

.service-detail-media--1 {
  background-image: url("../images/service-detail-1.webp");
}

.service-detail-media--2 {
  background-image: url("../images/service-detail-2.webp");
}

.service-detail-media--3 {
  background-image: url("../images/service-detail-3.webp");
}

.service-detail-media--4 {
  background-image: url("../images/service-detail-4.webp");
}

.growth-record {
  background: #fff;
  border-top: 1px solid #e8e8e8;
  padding-top: 102px;
}

.growth-eyebrow {
  margin: 0 0 8px;
  font-family: "Montserrat", "Noto Sans JP", sans-serif;
  font-size: 18px;
  letter-spacing: 0.08em;
  font-weight: 800;
}

.growth-title {
  margin: 0 0 28px;
  font-size: 50px;
  line-height: 1.35;
  font-weight: 900;
  padding-bottom: 16px;
  border-bottom: 1px solid #111;
}

.growth-subtitle {
  margin: 0 0 26px;
  font-size: 20px;
  line-height: 1.6;
}

.growth-columns-head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 14px;
  margin-bottom: 14px;
}

.growth-columns-head h3 {
  margin: 0;
  font-size: 24px;
  font-weight: 900;
}

.growth-columns-head a {
  font-size: 14px;
  font-weight: 700;
  border-bottom: 1px solid #111;
}

.growth-columns-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 14px;
  margin-bottom: 28px;
}

.growth-column-card {
  border: 1px solid #d6d6d6;
  border-radius: 10px;
  background: #fff;
  overflow: hidden;
}

.growth-column-card a {
  display: block;
  padding: 12px;
}

.growth-column-image {
  aspect-ratio: 16 / 10;
  border-radius: 8px;
  margin-bottom: 10px;
  background:
    linear-gradient(130deg, #273750, #64728a),
    radial-gradient(circle at 20% 20%, rgba(255, 255, 255, 0.25), transparent 35%);
  display: flex;
  align-items: center;
  justify-content: center;
  color: rgba(255, 255, 255, 0.9);
  font-family: "Montserrat", "Noto Sans JP", sans-serif;
  font-size: 12px;
  letter-spacing: 0.06em;
}

.growth-column-meta {
  display: flex;
  align-items: center;
  gap: 8px;
  margin-bottom: 8px;
  font-size: 12px;
  color: #555;
}

.growth-column-cat {
  display: inline-block;
  padding: 2px 8px;
  border-radius: 999px;
  background: #111;
  color: #fff;
  font-size: 11px;
  font-weight: 700;
}

.growth-column-card h4 {
  margin: 0;
  font-size: 16px;
  line-height: 1.5;
  font-weight: 800;
  transition: color 0.25s ease;
}

.growth-column-card:hover h4 {
  color: #be4728;
}

.column-hero {
  margin-bottom: 20px;
}

.column-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 16px;
}

.column-detail-wrap {
  display: grid;
  gap: 18px;
}

.single-column .column-detail-wrap,
.single-growth_report .column-detail-wrap {
  padding-top: 80px;
}

.column-detail-header {
  display: grid;
  gap: 12px;
}

.column-detail-header .section-title {
  margin: 0;
  font-size: clamp(34px, 4vw, 58px);
  line-height: 1.15;
}

.column-detail-top {
  display: grid;
  gap: 12px;
}

.column-detail-top .section-title {
  margin: 0;
  font-size: 40px;
  line-height: 1.15;
  padding-bottom: 50px;
}

.column-detail-divider {
  width: 100%;
  height: 1px;
  background: #d4d7df;
}

.column-detail-layout {
  display: grid;
  grid-template-columns: minmax(0, 1fr) clamp(280px, 30vw, 375px);
  gap: clamp(24px, 3.2vw, 52px);
  align-items: start;
  overflow: visible;
}

.column-detail-main {
  min-width: 0;
  padding-top: 50px;
}

.column-detail-aside {
  min-width: 0;
  position: sticky;
  top: var(--aside-sticky-top, 96px);
  align-self: start;
  height: fit-content;
  padding-top: 50px;
}

.column-aside-sticky {
  position: relative;
  top: auto;
  display: grid;
  gap: 14px;
}

.column-aside-block {
  border: 1px solid #d9dce4;
  border-radius: 12px;
  background: #fff;
  padding: 18px;
}

.column-aside-title {
  margin: 0 0 12px;
  font-size: 18px;
  line-height: 1.4;
}

.column-aside-meta {
  margin: 0;
  display: grid;
  gap: 10px;
}

.column-aside-meta div {
  display: grid;
  gap: 2px;
}

.column-aside-meta dt {
  margin: 0;
  font-size: 12px;
  color: #666;
}

.column-aside-meta dd {
  margin: 0;
  font-size: 14px;
  font-weight: 700;
  color: #111;
}

.column-aside-links {
  margin: 0;
  padding: 0;
  list-style: none;
  display: grid;
  gap: 10px;
}

.column-aside-links li {
  margin: 0;
  font-size: 14px;
  line-height: 1.6;
}

.column-aside-links a {
  color: #111;
}

.column-detail-back {
  margin: 18px 0 0;
}

.column-aside-latest {
  display: grid;
  gap: 12px;
}

.column-aside-cards {
  display: grid;
  gap: 16px;
}

.column-aside-cards .t-column-card h4 {
  font-size: 16px;
  margin: 10px 0 8px;
}

.column-aside-cards .t-column-meta {
  font-size: 11px;
}

.column-aside-cta {
  border-radius: 12px;
  border: 1px solid #d9dce4;
  background: linear-gradient(145deg, #f8f9fc 0%, #eef2f9 100%);
  padding: 18px;
  display: grid;
  gap: 10px;
}

.column-aside-cta-text {
  margin: 0 0 4px;
  font-size: 14px;
  line-height: 1.6;
  font-weight: 700;
  color: #131a2c;
}

.column-aside-cta-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 46px;
  border-radius: 8px;
  border: 1px solid #101010;
  font-size: 14px;
  font-weight: 700;
  text-decoration: none;
  transition: background-color 0.25s ease, color 0.25s ease, border-color 0.25s ease;
}

.column-aside-cta-btn.is-primary {
  background: #111;
  color: #fff;
}

.column-aside-cta-btn.is-primary:hover {
  background: #fff;
  color: #111;
}

.column-aside-cta-btn.is-secondary {
  background: #fff;
  color: #111;
}

.column-aside-cta-btn.is-secondary:hover {
  background: #111;
  color: #fff;
}

.column-cover {
  aspect-ratio: 16 / 8;
  border-radius: 12px;
  background: #dbe5ef url("../images/column-prime-contractor.webp") center / cover no-repeat;
}

.column-content {
  background: #fff;
  border: 0;
  border-radius: 12px;
  padding: 22px 0;
}

.column-content p,
.column-content li,
.column-content td,
.column-content th {
  font-size: 14px;
  line-height: 1.8;
}

.column-content h2 {
  margin: 26px 0 10px;
  font-size: 28px;
  line-height: 1.35;
}

.column-content ul {
  margin: 8px 0 0;
  padding-left: 20px;
}

.column-content table {
  display: block;
  width: 100%;
  max-width: 100%;
  overflow-x: auto;
  -webkit-overflow-scrolling: touch;
  border-collapse: collapse;
  margin-top: 12px;
  border: 1px solid #d9dce4;
  background: #fff;
}

.column-content th,
.column-content td {
  border: 1px solid #e2e5ec;
  padding: 10px 12px;
  text-align: left;
  vertical-align: top;
  overflow-wrap: anywhere;
  word-break: break-word;
}

.column-content th {
  background: #f5f7fb;
  font-weight: 700;
}

@media (max-width: 1100px) {
  .column-detail-layout {
    grid-template-columns: minmax(0, 1fr) clamp(240px, 32vw, 320px);
    gap: 24px;
  }
}

@media (max-width: 760px) {
  .column-detail-layout {
    display: block;
  }

  .column-detail-aside {
    display: none;
  }

  .column-detail-header .section-title,
  .column-detail-top .section-title {
    font-size: clamp(28px, 8.8vw, 42px);
    line-height: 1.2;
  }

  .column-content {
    padding: 18px;
  }
}

.okunomichi-detail {
  gap: 22px;
}

.okunomichi-hero {
  padding: 18px;
}

.okunomichi-hero .lower-master-label {
  margin-bottom: 6px;
}

.okunomichi-hero .lower-master-title {
  margin: 0 0 10px;
}

.okunomichi-quick-points {
  margin-top: 14px;
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 10px;
}

.okunomichi-quick-points div {
  border: 1px solid #e2e5ec;
  border-radius: 10px;
  padding: 10px 12px;
  background: #fff;
}

.okunomichi-quick-points strong {
  display: block;
  font-size: 16px;
  line-height: 1.4;
}

.okunomichi-quick-points span {
  display: block;
  margin-top: 2px;
  font-size: 12px;
  line-height: 1.6;
  color: #5d6474;
}

.okunomichi-detail-lead {
  margin: 0;
  font-size: 16px;
  line-height: 1.8;
  font-weight: 700;
  color: #5d6474;
}

.okunomichi-fixed-row {
  display: grid;
  grid-template-columns: minmax(320px, 0.9fr) minmax(0, 1.1fr);
  gap: 16px;
  align-items: stretch;
}

.okunomichi-fixed-info .section-title,
.okunomichi-fixed-graph .section-title {
  margin: 0 0 12px;
}

.okunomichi-fixed-info .section-title {
  font-size: 40px;
}

.okunomichi-fixed-graph .section-title {
  font-size: 40px;
}

.okunomichi-fixed-info,
.okunomichi-fixed-graph {
  height: 100%;
}

.okunomichi-fixed-info {
  display: flex;
  flex-direction: column;
}

.okunomichi-fixed-info.card,
.okunomichi-fixed-graph.card {
  padding: 0;
  border: 0;
  background: transparent;
  border-radius: 0;
}

.okunomichi-fixed-graph {
  display: flex;
  flex-direction: column;
}

.okunomichi-fixed-graph .okunomichi-chart-wrap {
  flex: 1;
  display: flex;
  flex-direction: column;
}

.okunomichi-fixed-graph .okunomichi-line-chart {
  flex: 1;
  min-height: 280px;
}

.okunomichi-metric-list {
  margin: 0;
  padding: 0;
  padding-left: 0 !important;
  list-style: none;
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  grid-template-rows: repeat(3, minmax(0, 1fr));
  align-content: stretch;
  gap: 10px;
  flex: 1;
}

.okunomichi-metric-list li {
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  align-items: flex-start;
  gap: 8px;
  padding: 14px 14px;
  border: 1px solid #e5d9d2;
  border-radius: 12px;
  background: linear-gradient(180deg, #fffdfb 0%, #fff8f3 100%);
  min-height: 112px;
  height: 100%;
  box-shadow: 0 4px 12px rgba(10, 17, 39, 0.04);
}

.okunomichi-metric-list span {
  font-size: 18px;
  line-height: 1.4;
  color: #465067;
  font-weight: 700;
}

.okunomichi-metric-list strong {
  font-size: 24px;
  line-height: 1;
  color: #be4728;
  font-weight: 900;
  letter-spacing: -0.01em;
}

.okunomichi-fixed-grid {
  display: grid;
  grid-template-columns: 1.2fr 1fr;
  gap: 14px;
  align-items: start;
}

.okunomichi-fixed-main,
.okunomichi-fixed-sub {
  margin: 0;
}

.okunomichi-fixed-photo {
  margin-top: 12px;
  aspect-ratio: 16 / 10;
  border-radius: 10px;
  border: 1px solid #e2e5ec;
  background: #dbe5ef url("../images/growth-summary-photo.webp") center / cover no-repeat;
}

.okunomichi-snapshot .card,
.okunomichi-detail > .card {
  margin: 0;
}

.okunomichi-kpi-grid {
  margin-top: 12px;
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 12px;
}

.okunomichi-kpi-grid div {
  padding: 12px;
  border: 1px solid #e2e5ec;
  border-radius: 10px;
  background: #fff;
}

.okunomichi-kpi-grid p {
  margin: 0;
  font-size: 12px;
  color: #848b99;
}

.okunomichi-kpi-grid strong {
  display: block;
  margin-top: 4px;
  font-size: 28px;
  line-height: 1.2;
}

.okunomichi-kpi-grid span {
  display: block;
  margin-top: 4px;
  font-size: 12px;
  color: #5d6474;
  font-weight: 700;
}

.okunomichi-sec-title {
  margin: 0 0 14px;
  font-size: 28px;
  line-height: 1.35;
  font-weight: 900;
}

.okunomichi-chart-wrap {
  border: 1px solid #2c3b59;
  border-radius: 10px;
  padding: 16px;
  background:
    radial-gradient(circle at 88% 8%, rgba(62, 189, 255, 0.18), transparent 38%),
    linear-gradient(160deg, #111b2f 0%, #1a2842 55%, #1b2f4e 100%);
  box-shadow: 0 12px 28px rgba(17, 27, 47, 0.32);
}

.okunomichi-line-chart {
  width: 100%;
  height: auto;
  display: block;
}

.okunomichi-line-chart text {
  font-size: 12px;
  fill: #9fb4d7;
  font-weight: 700;
}

.ok-chart-ylabels text {
  font-size: 11px;
  fill: #c5d4ee;
  font-weight: 700;
  text-anchor: end;
  dominant-baseline: middle;
}

.ok-chart-bars rect {
  fill: rgba(110, 197, 255, 0.7);
  transform-box: fill-box;
  transform-origin: center bottom;
  transform: scaleY(0);
  filter: drop-shadow(0 0 8px rgba(98, 186, 255, 0.45));
  animation: okChartBarRise 0.8s cubic-bezier(0.2, 0.8, 0.2, 1) forwards;
}

.ok-chart-bars rect.is-latest {
  fill: #ff7f5b;
  filter: drop-shadow(0 0 10px rgba(255, 127, 91, 0.65));
}

.ok-chart-labels text.is-latest {
  fill: #ffd5ca;
  font-weight: 900;
}

.ok-chart-bars rect:nth-child(1) { animation-delay: 0.05s; }
.ok-chart-bars rect:nth-child(2) { animation-delay: 0.1s; }
.ok-chart-bars rect:nth-child(3) { animation-delay: 0.15s; }
.ok-chart-bars rect:nth-child(4) { animation-delay: 0.2s; }
.ok-chart-bars rect:nth-child(5) { animation-delay: 0.25s; }
.ok-chart-bars rect:nth-child(6) { animation-delay: 0.3s; }
.ok-chart-bars rect:nth-child(7) { animation-delay: 0.35s; }
.ok-chart-bars rect:nth-child(8) { animation-delay: 0.4s; }
.ok-chart-bars rect:nth-child(9) { animation-delay: 0.45s; }
.ok-chart-bars rect:nth-child(10) { animation-delay: 0.5s; }
.ok-chart-bars rect:nth-child(11) { animation-delay: 0.55s; }
.ok-chart-bars rect:nth-child(12) { animation-delay: 0.6s; }

.ok-chart-line {
  stroke-width: 5;
  stroke-dasharray: 1200;
  stroke-dashoffset: 1200;
  filter: drop-shadow(0 3px 6px rgba(190, 71, 40, 0.28));
  animation: okChartLineDraw 1.3s ease forwards 0.35s;
}

.ok-chart-dots circle {
  fill: #be4728;
  opacity: 0;
  transform-origin: center;
  animation: okChartDotPop 0.35s ease forwards;
}

.ok-chart-dots circle:nth-child(1) { animation-delay: 0.5s; }
.ok-chart-dots circle:nth-child(2) { animation-delay: 0.56s; }
.ok-chart-dots circle:nth-child(3) { animation-delay: 0.62s; }
.ok-chart-dots circle:nth-child(4) { animation-delay: 0.68s; }
.ok-chart-dots circle:nth-child(5) { animation-delay: 0.74s; }
.ok-chart-dots circle:nth-child(6) { animation-delay: 0.8s; }
.ok-chart-dots circle:nth-child(7) { animation-delay: 0.86s; }
.ok-chart-dots circle:nth-child(8) { animation-delay: 0.92s; }
.ok-chart-dots circle:nth-child(9) { animation-delay: 0.98s; }
.ok-chart-dots circle:nth-child(10) { animation-delay: 1.04s; }
.ok-chart-dots circle:nth-child(11) { animation-delay: 1.1s; }
.ok-chart-dots circle:nth-child(12) { animation-delay: 1.16s; }

.ok-chart-dots circle:nth-child(9) {
  fill: #9f3218;
}

.ok-chart-note {
  font-size: 12px;
  fill: #4f5562;
  font-weight: 700;
}

.okunomichi-chart-legend {
  margin-top: 8px;
  display: flex;
  gap: 16px;
  flex-wrap: wrap;
  font-size: 12px;
  color: #d2def3;
  font-weight: 700;
}

.okunomichi-chart-legend span {
  display: inline-flex;
  align-items: center;
  gap: 6px;
}

.okunomichi-chart-legend i {
  width: 16px;
  height: 2px;
  display: inline-block;
}

.okunomichi-chart-legend .is-sales {
  background: linear-gradient(90deg, #87d6ff 0%, #56b8ff 100%);
}

.okunomichi-chart-legend .is-leads {
  background: #5d6474;
}

@keyframes okChartLineDraw {
  to {
    stroke-dashoffset: 0;
  }
}

@keyframes okChartBarRise {
  to {
    transform: scaleY(1);
  }
}

@keyframes okChartDotPop {
  0% {
    opacity: 0;
    transform: scale(0.4);
  }
  100% {
    opacity: 1;
    transform: scale(1);
  }
}

.okunomichi-timeline {
  display: grid;
  gap: 10px;
}

.okunomichi-timeline article {
  border: 1px solid #e2e5ec;
  border-radius: 10px;
  background: #fff;
  padding: 12px;
}

.okunomichi-timeline h3 {
  margin: 0;
  font-size: 18px;
  line-height: 1.45;
  font-weight: 800;
}

.okunomichi-timeline p {
  margin: 6px 0 0;
  font-size: 14px;
  line-height: 1.8;
}

.okunomichi-voice blockquote {
  margin: 0;
  padding: 14px;
  border-left: 4px solid #be4728;
  background: #fff7f4;
  border-radius: 8px;
  font-size: 14px;
  line-height: 1.85;
  font-weight: 700;
  color: #4f5562;
}

.okunomichi-next-list {
  margin: 0;
  padding-left: 20px;
  display: grid;
  gap: 8px;
}

.okunomichi-next-list li {
  font-size: 14px;
  line-height: 1.8;
}

.okunomichi-related {
  display: grid;
  gap: 14px;
}

.okunomichi-related .t-column-head {
  align-items: center;
}

.okunomichi-related .t-column-label {
  margin: 0;
  font-size: 28px;
}

.okunomichi-report-list .t-column-grid {
  grid-template-columns: repeat(2, minmax(0, 1fr));
}

.okunomichi-report-list .t-column-card.is-featured {
  grid-column: 1 / -1;
}

.okunomichi-card-summary {
  margin: 0 0 10px;
  font-size: 14px;
  line-height: 1.8;
  color: #5d6474;
}

.okunomichi-related-image::before {
  background: #dbe5ef url("../images/growth-summary-photo.webp") center / cover no-repeat;
}

@media (max-width: 980px) {
  .okunomichi-fixed-row {
    grid-template-columns: 1fr;
  }

  .okunomichi-fixed-info .section-title,
  .okunomichi-fixed-graph .section-title {
    font-size: 28px;
  }

  .okunomichi-fixed-graph .okunomichi-line-chart {
    min-height: 240px;
  }

  .okunomichi-metric-list strong {
    font-size: 26px;
  }

  .okunomichi-metric-list {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .okunomichi-metric-list li {
    min-height: 96px;
  }

  .okunomichi-quick-points,
  .okunomichi-fixed-grid,
  .okunomichi-report-list .t-column-grid {
    grid-template-columns: 1fr;
  }

  .okunomichi-report-list .t-column-card.is-featured {
    grid-column: auto;
  }

  .okunomichi-kpi-grid {
    grid-template-columns: 1fr;
  }

  .okunomichi-sec-title {
    font-size: 24px;
  }
}

@media (max-width: 640px) {
  .okunomichi-metric-list {
    grid-template-columns: 1fr;
  }
}

.column-raw-text {
  margin: 0;
  white-space: pre-wrap;
  word-break: break-word;
  font-family: "Noto Sans JP", "Hiragino Kaku Gothic ProN", "Yu Gothic", sans-serif;
  font-size: 14px;
  line-height: 1.8;
}

.growth-summary {
  border: 1px solid #d8d8d8;
  border-radius: 10px;
  padding: 0;
  background: #fff;
  overflow: hidden;
}

.growth-summary-layout {
  display: grid;
  grid-template-columns: minmax(320px, 4fr) minmax(0, 5fr);
  gap: 24px;
  align-items: start;
}

.growth-summary-photo {
  margin: 0;
  aspect-ratio: 1 / 1;
  border-radius: 10px;
  border: 1px solid #d6d6d6;
  background: #dbe5ef url("../images/growth-summary-photo.webp") center / cover no-repeat;
}

@media (max-width: 980px) {
  .growth-summary-layout {
    grid-template-columns: 1fr;
  }
}

.growth-summary-head {
  padding: 12px 14px;
  background: #090b10;
}

.growth-summary-kicker {
  display: inline-flex;
  margin: 0;
  padding: 3px 10px;
  border: 1px solid #9ea3ad;
  color: #e6e8ed;
  font-family: "Noto Sans JP", "Hiragino Kaku Gothic ProN", "Yu Gothic", sans-serif;
  font-size: 12px;
  font-weight: 700;
  letter-spacing: 0.08em;
}

.growth-summary-body {
  padding: 14px;
  border-bottom: 1px solid #ececec;
}

.growth-summary-company {
  margin: 0;
  font-size: 24px;
  line-height: 1.2;
  font-weight: 900;
}

.growth-summary-sub {
  margin: 8px 0 0;
  font-size: 14px;
  line-height: 1.7;
  color: #6a707f;
}

.growth-summary-tags {
  margin-top: 14px;
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
}

.growth-summary-tags span {
  display: inline-flex;
  align-items: center;
  min-height: 30px;
  padding: 0 10px;
  border-radius: 999px;
  border: 1px solid #e1e1e1;
  background: #f6f7fa;
  font-size: 14px;
  font-weight: 700;
  line-height: 1;
}

.growth-summary-tags span:first-child {
  border-color: #edcfc4;
  background: #fff3ee;
  color: #be4728;
}

.growth-summary-copy {
  padding: 14px;
  border-bottom: 1px solid #ececec;
}

.growth-summary-copy h4 {
  margin: 0;
  font-size: 30px;
  line-height: 1.35;
  font-weight: 900;
}

.growth-summary-copy p {
  margin: 10px 0 0;
  font-size: 14px;
  line-height: 1.8;
  color: #5d6474;
  font-weight: 500;
}

.growth-summary-result {
  padding: 14px;
  border-bottom: 1px solid #ececec;
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 16px;
  align-items: end;
}

.growth-result-item {
  min-width: 0;
}

.growth-result-date {
  margin: 0;
  font-size: 12px;
  line-height: 1.5;
  color: #a0a6b5;
  font-weight: 700;
}

.growth-result-value {
  margin: 6px 0 0;
  line-height: 1;
  display: inline-flex;
  align-items: baseline;
  gap: 2px;
}

.growth-result-value strong {
  font-size: 36px;
  font-weight: 900;
  letter-spacing: -0.02em;
}

.growth-result-value span {
  font-size: 22px;
  font-weight: 800;
}

.growth-result-label {
  margin: 8px 0 0;
  font-size: 12px;
  line-height: 1.6;
  color: #a0a6b5;
  font-weight: 700;
}

.growth-result-item--end {
  text-align: right;
}

.growth-result-item--end .growth-result-value,
.growth-result-item--end .growth-result-date {
  justify-content: flex-end;
}

.growth-result-item--end .growth-result-value strong,
.growth-result-item--end .growth-result-value span,
.growth-result-item--end .growth-result-label {
  color: #be4728;
}

.growth-result-bar {
  grid-column: 1 / -1;
  height: 9px;
  border-radius: 999px;
  background: #efefef;
  overflow: hidden;
}

.growth-result-bar i {
  display: block;
  width: 100%;
  height: 100%;
  background: linear-gradient(90deg, #f0c1b2 0%, #be4728 100%);
}

.growth-summary-note {
  margin: 0;
  padding: 12px 14px;
  border-bottom: 1px solid #ececec;
  font-size: 13px;
  line-height: 1.75;
  color: #8e95a5;
  font-weight: 500;
}

.growth-summary-foot {
  padding: 14px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
}

.growth-summary-foot-label {
  margin: 0;
  font-size: 13px;
  line-height: 1.4;
  color: #8e95a5;
  font-weight: 700;
}

.growth-summary-foot-value {
  margin: 2px 0 0;
  font-size: 14px;
  line-height: 1.5;
  font-weight: 800;
}

.growth-summary-status {
  display: inline-flex;
  align-items: center;
  min-height: 30px;
  padding: 0 12px;
  border-radius: 999px;
  border: 1px solid #edcfc4;
  color: #be4728;
  background: #fff3ee;
  font-size: 12px;
  font-weight: 700;
  white-space: nowrap;
}

@media (min-width: 981px) {
  .growth-summary--fit-photo {
    overflow: auto;
    scrollbar-gutter: stable;
  }

  .growth-summary--fit-photo .growth-summary-head,
  .growth-summary--fit-photo .growth-summary-body,
  .growth-summary--fit-photo .growth-summary-copy,
  .growth-summary--fit-photo .growth-summary-result,
  .growth-summary--fit-photo .growth-summary-note,
  .growth-summary--fit-photo .growth-summary-foot {
    padding-left: 12px;
    padding-right: 12px;
  }

  .growth-summary--fit-photo .growth-summary-head {
    padding-top: 10px;
    padding-bottom: 10px;
  }

  .growth-summary--fit-photo .growth-summary-body,
  .growth-summary--fit-photo .growth-summary-copy,
  .growth-summary--fit-photo .growth-summary-result {
    padding-top: 8px;
    padding-bottom: 8px;
  }

  .growth-summary--fit-photo .growth-summary-company {
    font-size: 20px;
  }

  .growth-summary--fit-photo .growth-summary-sub,
  .growth-summary--fit-photo .growth-summary-copy p {
    font-size: 12px;
    line-height: 1.65;
  }

  .growth-summary--fit-photo .growth-summary-copy h4 {
    font-size: 18px;
    line-height: 1.3;
  }

  .growth-summary--fit-photo .growth-summary-tags span {
    min-height: 28px;
    font-size: 12px;
    padding: 0 9px;
  }

  .growth-summary--fit-photo .growth-result-value strong {
    font-size: 28px;
  }

  .growth-summary--fit-photo .growth-result-value span {
    font-size: 16px;
  }

  .growth-summary--fit-photo .growth-result-date,
  .growth-summary--fit-photo .growth-result-label,
  .growth-summary--fit-photo .growth-summary-note {
    font-size: 11px;
  }

  .growth-summary--fit-photo .growth-summary-foot-value {
    font-size: 12px;
  }
}

@media (max-width: 1400px) {
  .growth-summary-company,
  .growth-summary-copy h4 {
    font-size: 22px;
  }

  .growth-summary-tags span {
    font-size: 13px;
  }

  .growth-summary-copy p {
    font-size: 14px;
  }

  .growth-result-value strong {
    font-size: 30px;
  }

  .growth-result-value span {
    font-size: 18px;
  }
}

@media (max-width: 640px) {
  .growth-summary-head,
  .growth-summary-body,
  .growth-summary-copy,
  .growth-summary-result,
  .growth-summary-note,
  .growth-summary-foot {
    padding-left: 14px;
    padding-right: 14px;
  }

  .growth-summary-company,
  .growth-summary-copy h4 {
    font-size: 20px;
    line-height: 1.4;
  }

  .growth-summary-tags span {
    min-height: 30px;
    font-size: 13px;
    padding: 0 10px;
  }

  .growth-summary-copy p,
  .growth-result-label {
    font-size: 14px;
  }

  .growth-result-value strong {
    font-size: 28px;
  }

  .growth-result-value span {
    font-size: 16px;
  }

  .growth-summary-note {
    font-size: 13px;
  }

  .growth-summary-foot {
    flex-direction: column;
    align-items: flex-start;
  }
}

.growth-logs-head {
  margin: 30px 0 14px;
  font-size: 16px;
  font-weight: 800;
}

.growth-logs {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 28px 24px;
}

.growth-log-card {
  border: 0;
  border-radius: 0;
  background: transparent;
  overflow: visible;
}

.growth-log-link {
  display: block;
  padding: 0;
}

.growth-log-image {
  min-height: 0;
  aspect-ratio: 16 / 10;
  border-radius: 10px;
  border: 0;
  position: relative;
  overflow: hidden;
  margin-bottom: 12px;
}

.growth-log-image::before {
  content: "";
  position: absolute;
  inset: 0;
  background:
    linear-gradient(130deg, #2f415f, #7d8ca5),
    radial-gradient(circle at 22% 20%, rgba(255, 255, 255, 0.24), transparent 40%);
  transform: scale(1);
  transition: transform 0.45s cubic-bezier(0.22, 1, 0.36, 1);
}

.growth-log-image.has-post-image::before {
  display: none;
}

.growth-log-image::after {
  content: none;
}

.growth-log-link h4 {
  margin: 0 0 10px;
  font-size: 18px;
  line-height: 1.5;
  font-weight: 800;
  display: -webkit-box;
  -webkit-line-clamp: 3;
  -webkit-box-orient: vertical;
  overflow: hidden;
  transition: color 0.35s ease;
}

.growth-log-card:hover .growth-log-image::before,
.t-column-card:hover .t-column-image::before {
  transform: scale(1.06);
}

.growth-log-card:hover .growth-log-link h4,
.t-column-card:hover h4 {
  color: #be4728;
}

.growth-log-meta {
  display: flex;
  align-items: center;
  gap: 8px;
  color: #676b79;
  font-size: 12px;
}

.growth-milestone {
  margin-top: 26px;
  padding: 18px;
  border: 1px solid #d6d6d6;
  border-radius: 10px;
  background: #fff;
}

.growth-milestone h3 {
  margin: 0 0 12px;
  font-size: 16px;
}

.growth-milestone ul {
  margin: 0;
  padding: 0;
  list-style: none;
  display: grid;
  gap: 8px;
}

.growth-milestone li {
  position: relative;
  padding-left: 18px;
  font-size: 15px;
  line-height: 1.65;
}

.growth-milestone li::before {
  content: "\25cf";
  position: absolute;
  left: 0;
  top: 0;
  color: #111;
  font-size: 11px;
  line-height: 1.7;
}

.growth-cta {
  margin: 18px 0 0;
  font-size: 16px;
  font-weight: 800;
}

.growth-cta a {
  display: inline-block;
  border-bottom: 1px solid #111;
}

.t-column {
  background: #fff;
  padding: 102px 0 0;
}

.t-column-head {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 18px;
}

.t-column-label {
  margin: 0 0 8px;
  font-size: 28px;
  font-weight: 900;
}

.t-column-title {
  margin: 0;
  width: 100%;
  max-width: none;
  font-size: 50px;
  line-height: 1.14;
  font-weight: 900;
}

.t-column-intro {
  margin: 8px 0 24px;
  display: block;
}

.t-column-link {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 46px;
  padding: 0 18px;
  border: 1px solid #000;
  border-radius: 8px;
  background: #fff;
  color: #000;
  font-size: 14px;
  font-weight: 700;
  white-space: nowrap;
  position: relative;
  overflow: hidden;
  isolation: isolate;
  z-index: 0;
  transition: color 0.32s ease, border-color 0.32s ease;
}

.t-column-link::before {
  content: "";
  position: absolute;
  top: -2px;
  right: -48%;
  bottom: -2px;
  left: -48%;
  z-index: -1;
  background: #000;
  transform: translateX(-120%) skewX(-24deg);
  transition: transform 0.42s cubic-bezier(0.22, 0.61, 0.36, 1);
}

.t-column-link:hover,
.t-column-link:focus-visible {
  color: #fff;
  border-color: #000;
}

.t-column-link:hover::before,
.t-column-link:focus-visible::before {
  transform: translateX(0) skewX(-24deg);
}

.lead.typesquare_option {
  margin: 0;
  max-width: 430px;
  justify-self: end;
  font-size: 14px;
  line-height: 1.9;
}

.t-column-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 28px 24px;
}

.t-column-card {
  min-width: 0;
}

.t-column-card a {
  display: block;
}

.t-column-image {
  aspect-ratio: 16 / 10;
  border-radius: 10px;
  position: relative;
  overflow: hidden;
}

.t-column-image::before {
  content: "";
  position: absolute;
  inset: 0;
  background:
    linear-gradient(130deg, #2f415f, #7d8ca5),
    radial-gradient(circle at 22% 20%, rgba(255, 255, 255, 0.24), transparent 40%);
  transform: scale(1);
  transition: transform 0.45s cubic-bezier(0.22, 1, 0.36, 1);
}

.t-column-image.has-post-image::before {
  display: none;
}

.t-column-image--prime::before {
  background: #dbe5ef url("../images/column-prime-contractor.webp") center / cover no-repeat;
}

.t-column-image::after {
  content: none;
}

.t-column-card h4 {
  margin: 12px 0 10px;
  font-size: 18px;
  line-height: 1.5;
  font-weight: 900;
  transition: color 0.35s ease;
}

.t-column-meta {
  display: flex;
  align-items: center;
  gap: 8px;
  color: #676b79;
  font-size: 12px;
}

.t-column-cat {
  display: inline-block;
  padding: 2px 9px;
  border-radius: 4px;
  background: #f1f2f5;
  color: #222;
  border: 1px solid #d9dce4;
  font-size: 11px;
  font-weight: 700;
}

.supported-industries {
  margin-top: 72px;
}

.supported-industries-title {
  margin: 0 0 8px;
  font-size: 50px;
  line-height: 1.2;
  font-weight: 900;
}

.supported-industries-subtitle {
  margin: 0 0 24px;
  font-size: 20px;
  line-height: 1.7;
}

.supported-industries-grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 24px;
}

.industry-card {
  background: #fff;
  border: 1px solid #e0e0e0;
  border-radius: 10px;
  padding: 12px;
}

.industry-card-image {
  margin: 0 0 12px;
  border-radius: 8px;
  overflow: hidden;
  aspect-ratio: 1 / 1;
}

.industry-card-image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}

.industry-card h4 {
  margin: 0 0 8px;
  font-size: 24px;
  line-height: 1.3;
  font-weight: 900;
}

.industry-card p {
  margin: 0;
  font-size: 14px;
  line-height: 1.7;
}

.tosoweb-about {
  display: grid;
  gap: 0;
}

.tosoweb-about-title {
  margin: 0;
  margin-bottom: 50px;
  text-align: center;
  font-size: 64px;
  line-height: 1.12;
  font-weight: 900;
  letter-spacing: 0.01em;
  color: #0c1329;
  white-space: nowrap;
  width: 100%;
}

.tosoweb-about-title-main,
.tosoweb-about-title-mark {
  display: inline-block;
}

.tosoweb-about-title-mark {
  position: relative;
  z-index: 0;
}

.tosoweb-about-title-mark::after {
  content: "";
  position: absolute;
  left: 0;
  right: 0;
  bottom: 0.1em;
  height: 0.2em;
  background: #f2e300;
  z-index: -1;
}

.tosoweb-about-layout {
  display: grid;
  grid-template-columns: minmax(0, 0.47fr) minmax(0, 0.53fr);
  gap: clamp(28px, 3vw, 54px);
  align-items: start;
}

.tosoweb-about-issues {
  margin: 0;
  padding: 0;
  list-style: none;
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 10px;
}

.tosoweb-about-issues li {
  background: #060b18;
  color: #fff;
  border-radius: 3px;
  padding: 12px 16px;
  font-size: 16px;
  line-height: 1.25;
  font-weight: 900;
  text-align: center;
}

.tosoweb-about-issues li:first-child,
.tosoweb-about-issues li:last-child {
  grid-column: 1 / -1;
}

.tosoweb-about-visual {
  margin: 22px 0 0;
  position: relative;
  max-width: 560px;
}

.tosoweb-about-person {
  display: block;
  width: min(46.8%, 258px);
  height: auto;
  margin-left: 150px;
  margin-top: 50px;
  margin-bottom: 0;
}

.tosoweb-about-mark {
  position: absolute;
  opacity: 0.24;
  pointer-events: none;
  animation: tosowebMarkFloat 3.1s ease-in-out infinite;
  filter: grayscale(100%);
}

.tosoweb-about-mark-question {
  width: min(64px, 12%);
  left: 118px;
  top: -16px;
}

.tosoweb-about-mark-scribble {
  width: min(66px, 12.5%);
  left: 315px;
  top: 38px;
  animation-delay: 0.5s;
}

.tosoweb-about-right {
  padding-top: 0;
}

.tosoweb-about-right p {
  margin: 0;
  font-size: 14px;
  line-height: 1.9;
  font-weight: 700;
  color: #0f1a32;
  max-width: 760px;
}

.tosoweb-about-cta {
  margin-top: 28px;
  width: 100%;
  min-width: 0;
  max-width: 100%;
  min-height: 72px;
  border: 1px solid #000;
  border-radius: 8px;
  box-shadow: none;
  background: #fff;
  color: #000;
  font-size: 16px;
  line-height: 1.2;
  font-weight: 700;
  letter-spacing: 0.01em;
  justify-content: center;
  position: relative;
  overflow: hidden;
  isolation: isolate;
  z-index: 0;
  transition: color 0.32s ease, border-color 0.32s ease;
}

.tosoweb-about-cta::before {
  content: "";
  position: absolute;
  top: -2px;
  right: -48%;
  bottom: -2px;
  left: -48%;
  z-index: -1;
  background: #000;
  transform: translateX(-120%) skewX(-24deg);
  transition: transform 0.42s cubic-bezier(0.22, 0.61, 0.36, 1);
}

.tosoweb-about-cta:hover,
.tosoweb-about-cta:focus-visible {
  color: #fff;
  border-color: #000;
}

.tosoweb-about-cta:hover::before,
.tosoweb-about-cta:focus-visible::before {
  transform: translateX(0) skewX(-24deg);
}

@keyframes tosowebMarkFloat {
  0%,
  100% {
    transform: translateY(0);
  }
  50% {
    transform: translateY(-9px);
  }
}

@media (max-width: 1024px) {
  .tosoweb-summary {
    padding-top: 36px;
  }

  .tosoweb-summary .tosoweb-about {
    width: auto;
    max-width: calc(100% - 28px);
  }

  .tosoweb-about-title {
    text-align: left;
    font-size: clamp(40px, 6vw, 62px);
    white-space: normal;
  }

  .tosoweb-about-layout {
    grid-template-columns: 1fr;
    gap: 24px;
  }

  .tosoweb-about-left {
    max-width: 700px;
    margin: 0 auto;
  }

  .tosoweb-about-right {
    max-width: 700px;
    margin: 0 auto;
    padding-top: 0;
  }

  .tosoweb-about-cta {
    min-width: min(100%, 700px);
  }
}

@media (max-width: 760px) {
  .tosoweb-summary {
    padding-top: 20px;
  }

  .tosoweb-about-title {
    font-size: clamp(34px, 11vw, 48px);
    line-height: 1.16;
  }

  .tosoweb-about-title-main,
  .tosoweb-about-title-mark {
    display: inline;
  }

  .tosoweb-about-issues {
    grid-template-columns: 1fr;
  }

  .tosoweb-about-issues li:first-child,
  .tosoweb-about-issues li:last-child {
    grid-column: auto;
  }

  .tosoweb-about-person {
    width: min(50.4%, 216px);
    margin-left: 0;
    margin-top: 24px;
    margin-bottom: 0;
  }

  .tosoweb-about-mark-question {
    width: 72px;
    left: 2px;
    top: 24px;
  }

  .tosoweb-about-mark-scribble {
    width: 78px;
    left: 56%;
    top: 50px;
  }

  .tosoweb-about-right p {
    font-size: 14px;
    line-height: 1.8;
  }

  .tosoweb-about-cta {
    min-height: 58px;
    font-size: 17px;
    box-shadow: 0 5px 0 #060b18;
  }
}

.summary-lead {
  margin: 0;
  text-align: center;
  font-size: clamp(34px, 4.2vw, 52px);
  line-height: 1.2;
  letter-spacing: 0.01em;
  font-weight: 900;
  animation: subtleFadeUp 0.8s ease both;
  width: fit-content;
  max-width: 100%;
  margin-left: auto;
  margin-right: auto;
}

.summary-grid {
  margin: 100px auto;
  display: grid;
  grid-template-columns: 1fr auto 1fr auto 1fr auto 1fr;
  align-items: center;
  gap: 14px;
}

.summary-item {
  text-align: center;
  animation: subtleFadeUp 0.8s ease both;
}

.summary-item:nth-child(1) { animation-delay: 0.08s; }
.summary-item:nth-child(3) { animation-delay: 0.14s; }
.summary-item:nth-child(5) { animation-delay: 0.2s; }
.summary-item:nth-child(7) { animation-delay: 0.26s; }

.summary-item h3 {
  margin: 0 0 10px;
  font-size: clamp(32px, 3vw, 48px);
  font-weight: 900;
  line-height: 1;
}

.summary-item p {
  margin: 0;
  font-size: clamp(17px, 1.2vw, 20px);
  line-height: 1.35;
}

.summary-cross {
  font-size: clamp(38px, 2.6vw, 52px);
  font-weight: 700;
  line-height: 1;
  color: #111;
  transform: translateY(-8px);
  animation: subtleFadeUp 0.8s ease both;
}

.summary-text {
  margin: 0 0 8px;
  font-size: clamp(34px, 4.2vw, 50px);
  line-height: 1.35;
  font-weight: 900;
  letter-spacing: 0.01em;
  animation: subtleFadeUp 0.9s ease both;
  animation-delay: 0.32s;
  width: fit-content;
  max-width: 100%;
  margin-left: auto;
  margin-right: auto;
}

.summary-strong {
  margin: 0;
  font-size: 50px;
  line-height: 1.3;
  font-weight: 900;
  animation: subtleFadeUp 0.9s ease both;
  animation-delay: 0.4s;
  width: fit-content;
  max-width: 100%;
  margin-left: auto;
  margin-right: auto;
}

.highlight-line {
  display: inline;
  -webkit-box-decoration-break: clone;
  box-decoration-break: clone;
  background-image: linear-gradient(transparent 62%, #ffe45c 62%);
  background-repeat: no-repeat;
  background-size: 0% 100%;
  transition: background-size 0.8s ease;
}

.highlight-line.is-active {
  background-size: 100% 100%;
}

.supported-industries-note {
  margin: 22px 0 0;
  font-size: 14px;
  line-height: 1.8;
  text-align: center;
}

@keyframes subtleFadeUp {
  from {
    opacity: 0;
    transform: translateY(10px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

.cards {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 16px;
}

.card {
  background: var(--paper);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 20px;
}

.card h3 {
  margin: 0 0 8px;
  font-size: 21px;
}

.price-box {
  border: 2px solid #d7c8af;
}

.price-box strong {
  color: var(--accent);
}

.timeline {
  border-left: 4px solid #ccb08f;
  padding-left: 20px;
  display: grid;
  gap: 18px;
}

.t-item {
  background: #fff;
  border: 1px solid var(--line);
  border-radius: 12px;
  padding: 16px;
}

.t-item h4 {
  margin: 0 0 6px;
}

.notice {
  background: #fffbe6;
  border: 1px solid #efdc92;
  border-radius: 12px;
  padding: 15px;
  margin-top: 10px;
}

.table-wrap {
  overflow: auto;
  background: #fff;
  border-radius: 12px;
  border: 1px solid var(--line);
}

table {
  width: 100%;
  border-collapse: collapse;
  min-width: 780px;
}

th,
td {
  padding: 14px;
  border-bottom: 1px solid #eee6d8;
  vertical-align: top;
  text-align: left;
}

th {
  background: #f4efe5;
}

.company-profile-page {
  background: #f1f1f1;
}

.company-profile-table {
  border-top: 1px solid #b8b8b8;
}

.company-profile-row {
  display: grid;
  grid-template-columns: 180px minmax(0, 1fr);
  gap: 30px;
  border-bottom: 1px solid #b8b8b8;
  padding: 20px 0;
}

.company-profile-key,
.company-profile-val {
  font-size: 14px;
  line-height: 2;
}

.company-profile-key {
  font-weight: 700;
}

.company-profile-body {
  width: min(760px, 100%);
}

.lower-master-page {
  background: #f1f1f1;
}

.lower-master-container {
  position: relative;
  padding-top: 26px;
}

.lower-master-label {
  margin: 0 0 18px;
  padding-top: 12px;
  font-size: 14px;
  font-weight: 700;
  text-decoration: underline;
  text-underline-offset: 4px;
}

.lower-master-title {
  margin: 0;
  padding-bottom: 30px;
  border-bottom: 0;
  font-size: 56px;
  font-weight: 900;
  letter-spacing: 0;
  line-height: 0.98;
}

.lower-master-eyecatch {
  margin: 0;
  width: 100vw;
  margin-left: calc(50% - 50vw);
  margin-right: calc(50% - 50vw);
}

.lower-master-eyecatch img {
  display: block;
  width: 100%;
  height: 400px;
  object-fit: cover;
}

.web-paint-page .web-paint-eyecatch {
  position: relative;
  background: #050505;
  color: #fff;
  min-height: clamp(420px, 56vw, 760px);
  overflow: hidden;
  display: flex;
  align-items: flex-start;
  padding: 34px 0;
}

.web-paint-page .lower-master-container {
  padding-top: 0;
}

.section.lower-master-page.lower-master-b-page {
  padding-top: 0;
}

.web-paint-page .web-paint-top-head {
  position: absolute;
  top: 22px;
  left: 50%;
  transform: translateX(-50%);
  width: 100vw;
  padding: 0 24px 10px;
  border-bottom: 0.5px solid rgba(255, 255, 255, 0.9);
  z-index: 3;
  color: #fff;
}

.web-paint-page .web-paint-top-head .lower-master-label {
  margin: 0 0 8px;
  padding-top: 0;
  font-size: 11px;
  color: rgba(255, 255, 255, 0.82);
  text-decoration: none;
  letter-spacing: 0.08em;
}

.web-paint-page .web-paint-top-head .lower-master-title {
  margin: 0;
  padding: 0;
  font-size: 20px;
  line-height: 1.2;
  color: #fff;
}

.web-paint-page .web-paint-eyecatch::before {
  content: "";
  position: absolute;
  inset: -30% auto auto -10%;
  width: 50vw;
  height: 50vw;
  min-width: 380px;
  min-height: 380px;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(26, 88, 255, 0.3), rgba(26, 88, 255, 0));
  filter: blur(18px);
  animation: webPaintPulse 6s ease-in-out infinite alternate;
}

.web-paint-page .web-paint-eyecatch::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(110deg, transparent 35%, rgba(255, 255, 255, 0.12) 50%, transparent 65%);
  transform: translateX(-120%);
  animation: webPaintSweep 5s ease-in-out infinite 0.6s;
}

.web-paint-page .web-paint-eyecatch-inner {
  position: relative;
  z-index: 2;
  width: min(1200px, calc(100% - 48px));
  margin: 0 auto;
  text-align: center;
}

.web-paint-page .web-paint-eyecatch-kicker {
  margin: 0 0 12px;
  font-size: 12px;
  letter-spacing: 0.14em;
  font-weight: 700;
  color: rgba(255, 255, 255, 0.84);
  opacity: 0;
  animation: webPaintFadeUp 0.6s ease forwards;
}

.web-paint-page .web-paint-eyecatch-main {
  margin: 0;
  font-size: clamp(34px, 5vw, 66px);
  line-height: 1.12;
  font-weight: 900;
  letter-spacing: 0.01em;
}

.web-paint-page .web-paint-eyecatch-main span {
  display: block;
  opacity: 0;
  transform: translateY(18px);
  animation: webPaintFadeUp 0.7s cubic-bezier(0.2, 0.8, 0.2, 1) forwards;
}

.web-paint-page .web-paint-eyecatch-main span:nth-child(2) {
  animation-delay: 0.18s;
}

.web-paint-page .web-paint-eyecatch-sub {
  margin: 16px 0 0;
  width: min(820px, 100%);
  margin-left: auto;
  margin-right: auto;
  font-size: clamp(15px, 1.4vw, 20px);
  line-height: 1.75;
  color: rgba(255, 255, 255, 0.94);
  opacity: 0;
  transform: translateY(18px);
  animation: webPaintFadeUp 0.7s cubic-bezier(0.2, 0.8, 0.2, 1) forwards 0.32s;
}

.web-paint-page .web-paint-scroll-cue {
  position: absolute;
  left: 50%;
  bottom: 24px;
  transform: translateX(-50%);
  z-index: 4;
  display: inline-flex;
  flex-direction: column;
  align-items: center;
  gap: 8px;
  color: rgba(255, 255, 255, 0.9);
  text-decoration: none;
  letter-spacing: 0.12em;
}

.web-paint-page .web-paint-scroll-cue-text {
  font-size: 11px;
  font-weight: 700;
}

.web-paint-page .web-paint-scroll-cue-icon {
  position: relative;
  width: 26px;
  height: 42px;
  border: 1px solid rgba(255, 255, 255, 0.74);
  border-radius: 16px;
}

.web-paint-page .web-paint-scroll-cue-icon::before {
  content: "";
  position: absolute;
  left: 50%;
  top: 8px;
  width: 4px;
  height: 7px;
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.95);
  transform: translateX(-50%);
  animation: webPaintScrollWheel 1.6s ease-in-out infinite;
}

.web-paint-page .web-paint-scroll-cue::after {
  content: "";
  width: 1px;
  height: 28px;
  background: rgba(255, 255, 255, 0.64);
  transform-origin: top;
  animation: webPaintScrollLine 1.6s ease-in-out infinite;
}

@keyframes webPaintFadeUp {
  from {
    opacity: 0;
    transform: translateY(18px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

@keyframes webPaintSweep {
  0% {
    transform: translateX(-120%);
  }
  40% {
    transform: translateX(130%);
  }
  100% {
    transform: translateX(130%);
  }
}

@keyframes webPaintPulse {
  from {
    transform: translateX(0) translateY(0) scale(1);
    opacity: 0.8;
  }
  to {
    transform: translateX(18px) translateY(12px) scale(1.08);
    opacity: 1;
  }
}

@keyframes webPaintScrollWheel {
  0% {
    opacity: 0;
    transform: translateX(-50%) translateY(0);
  }
  25% {
    opacity: 1;
  }
  80% {
    opacity: 0.2;
    transform: translateX(-50%) translateY(16px);
  }
  100% {
    opacity: 0;
    transform: translateX(-50%) translateY(18px);
  }
}

@keyframes webPaintScrollLine {
  0% {
    transform: scaleY(0.2);
    opacity: 0.2;
  }
  45% {
    transform: scaleY(1);
    opacity: 0.9;
  }
  100% {
    transform: scaleY(0.2);
    opacity: 0.2;
  }
}

@keyframes webPaintDownArrow {
  0% {
    opacity: 0;
    transform: translate(-50%, -8px) rotate(45deg);
  }
  35% {
    opacity: 1;
  }
  100% {
    opacity: 0;
    transform: translate(-50%, 26px) rotate(45deg);
  }
}

@keyframes webPaintSolutionBorderFlow {
  0% {
    background-position: 200% 50%;
  }
  100% {
    background-position: -20% 50%;
  }
}

@keyframes webPaintSolutionPanelGlow {
  0%,
  100% {
    box-shadow: 0 0 0 rgba(0, 203, 247, 0);
  }
  50% {
    box-shadow: 0 0 22px rgba(0, 203, 247, 0.35);
  }
}

@media (prefers-reduced-motion: reduce) {
  .web-paint-page .web-paint-solution-panel,
  .web-paint-page .web-paint-solution-panel::before {
    animation: none;
  }
}

.lower-master-body {
  width: min(760px, 100%);
  margin: 86px auto 0;
  padding: 78px 0 72px;
  border-top: 1px solid #b8b8b8;
  border-bottom: 1px solid #b8b8b8;
}

.lower-master-body h2 {
  margin: 0 0 40px;
  font-size: clamp(42px, 4.3vw, 58px);
  font-weight: 900;
  line-height: 1.15;
}

.lower-master-b-page {
  background: #fff;
}

.lower-master-b-page .lower-master-container {
  background: #fff;
}

.lower-master-b-page .lower-master-body {
  width: 100%;
  margin-top: 48px;
  padding: 0;
  border: 0;
}

.consulting-content p,
.consulting-content li,
.consulting-content .check-list div,
.consulting-content .notice,
.consulting-content blockquote {
  font-size: 14px;
  line-height: 1.7;
  font-weight: 400;
}

.consulting-content ul {
  margin: 8px 0 0;
  padding-left: 18px;
}

.consulting-content .consulting-note {
  margin-top: 12px;
  opacity: 0.9;
}

.consulting-content .consulting-kpi-strip {
  grid-template-columns: repeat(4, minmax(0, 1fr));
  margin-top: 20px;
}

.consulting-content .consulting-kpi-strip .card {
  background: rgba(255, 255, 255, 0.06);
  border-color: rgba(255, 255, 255, 0.22);
  color: #fff;
  padding: 16px;
}

.consulting-content .consulting-kpi-label,
.consulting-content .consulting-kpi-unit {
  margin: 0;
  opacity: 0.88;
}

.consulting-content .consulting-kpi-value {
  margin: 6px 0 4px;
  font-size: 28px;
  line-height: 1.15;
  font-weight: 800;
  color: #e4bc67;
}

.consulting-content .consulting-timeline {
  margin-top: 16px;
}

.consulting-content .consulting-timeline .t-item h3 {
  margin: 0 0 8px;
  font-size: 22px;
  line-height: 1.4;
}

.consulting-content .consulting-timeline .t-item p + p {
  margin-top: 8px;
}

.consulting-content .consulting-quote {
  margin: 20px 0 0;
  padding: 14px 16px;
  border-left: 4px solid #ccb08f;
  background: #f8f9fc;
}

.consulting-content .consulting-cta-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
}

.lower-master-page .service-link-btn {
  min-height: 46px;
  border-radius: 8px;
  border: 1px solid #000;
  background: #fff;
  color: #000;
  font-size: 14px;
  font-weight: 700;
  position: relative;
  overflow: hidden;
  isolation: isolate;
  z-index: 0;
  transition: color 0.32s ease, border-color 0.32s ease;
}

.lower-master-page .service-link-btn::before {
  content: "";
  position: absolute;
  top: -2px;
  right: -48%;
  bottom: -2px;
  left: -48%;
  z-index: -1;
  background: #000;
  transform: translateX(-120%) skewX(-24deg);
  transition: transform 0.42s cubic-bezier(0.22, 0.61, 0.36, 1);
}

.lower-master-page .service-link-btn:hover,
.lower-master-page .service-link-btn:focus-visible {
  color: #fff;
  border-color: #000;
}

.lower-master-page .service-link-btn:hover::before,
.lower-master-page .service-link-btn:focus-visible::before {
  transform: translateX(0) skewX(-24deg);
}

@media (max-width: 980px) {
  .consulting-content .consulting-kpi-strip {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}

@media (max-width: 640px) {
  .consulting-content .consulting-kpi-strip {
    grid-template-columns: 1fr;
  }

  .consulting-content .consulting-cta-actions {
    width: 100%;
  }

.consulting-content .consulting-cta-actions .btn {
    width: 100%;
  }
}

.ops-content p,
.ops-content li,
.ops-content .check-list div,
.ops-content .notice,
.ops-content .ops-note {
  font-size: 14px;
  line-height: 1.7;
  font-weight: 400;
}

.ops-content h3 {
  margin: 0 0 8px;
  font-size: 22px;
  line-height: 1.4;
}

.ops-content .section-title + p {
  font-size: 16px;
  line-height: 1.65;
  font-weight: 700;
}

.ops-content .check-list div {
  font-weight: 700;
}

.ops-content .cards {
  margin-top: 16px;
}

.ops-content .ops-note {
  margin-top: 12px;
}

.ops-content .ops-pricing-layout {
  margin-top: 14px;
  display: grid;
  grid-template-columns: minmax(300px, 0.9fr) minmax(0, 1.1fr);
  gap: 14px;
  align-items: start;
}

.ops-content .ops-pricing-main {
  background: #111;
  color: #fff;
  border: 1px solid #111;
  box-shadow: 0 12px 24px rgba(20, 28, 44, 0.14);
}

.ops-content .ops-pricing-label {
  margin: 0 0 8px;
  color: rgba(255, 255, 255, 0.82);
}

.ops-content .ops-pricing-block + .ops-pricing-block {
  margin-top: 12px;
  padding-top: 12px;
  border-top: 1px solid rgba(255, 255, 255, 0.2);
}

.ops-content .ops-pricing-price {
  margin: 0 0 8px;
  font-size: 42px;
  line-height: 1.1;
  font-weight: 900;
  color: #e4bc67;
}

.ops-content .ops-pricing-price span {
  font-size: 16px;
  color: rgba(255, 255, 255, 0.82);
}

.ops-content .ops-pricing-sub-price {
  margin: 0;
  font-size: 30px;
  line-height: 1.2;
  font-weight: 800;
  color: #ededed;
}

.ops-content .ops-pricing-sub-price span {
  font-size: 14px;
  color: rgba(255, 255, 255, 0.82);
}

.ops-content .ops-pricing-sub .check-list {
  margin-top: 10px;
}

.ops-content .faq-list details {
  border: 1px solid #d7dbe8;
  border-radius: 8px;
  background: #fff;
  padding: 12px 14px;
}

.ops-content .faq-list details + details {
  margin-top: 10px;
}

.ops-content .faq-list summary {
  font-weight: 700;
  cursor: pointer;
}

.ops-content .faq-list p {
  margin: 8px 0 0;
  line-height: 1.75;
}

@media (max-width: 640px) {
  .ops-content .cta-band .btn {
    width: 100%;
  }

  .ops-content .ops-pricing-layout {
    grid-template-columns: 1fr;
  }

  .ops-content .ops-pricing-price {
    font-size: 34px;
  }

  .ops-content .ops-pricing-sub-price {
    font-size: 26px;
  }
}

.seo-content p,
.seo-content li,
.seo-content .check-list div,
.seo-content .seo-note {
  font-size: 14px;
  line-height: 1.7;
  font-weight: 400;
}

.seo-content h3 {
  margin: 0 0 8px;
  font-size: 22px;
  line-height: 1.4;
}

.seo-content .cards {
  margin-top: 16px;
}

.seo-content ul {
  margin: 8px 0 0;
  padding-left: 18px;
}

.seo-content .seo-note {
  margin-top: 12px;
}

.seo-content .section-bg-dark .section-title + p {
  font-size: 16px;
  line-height: 1.65;
  font-weight: 700;
}

@media (max-width: 640px) {
  .seo-content .cta-band .btn {
    width: 100%;
  }
}

@media (max-width: 760px) {
  .seo-content .cta-band,
  .ops-content .cta-band,
  .consulting-content .cta-band {
    padding: 18px;
    gap: 12px;
  }

  .seo-content .cta-band h2,
  .ops-content .cta-band h2,
  .consulting-content .cta-band h2 {
    font-size: clamp(32px, 10vw, 40px) !important;
    line-height: 1.12 !important;
  }

  .seo-content .cta-band p,
  .ops-content .cta-band p,
  .consulting-content .cta-band p {
    font-size: clamp(14px, 4.2vw, 16px) !important;
    line-height: 1.55 !important;
  }

  .seo-content .cta-band .btn,
  .ops-content .cta-band .btn,
  .consulting-content .cta-band .btn {
    width: 100%;
    justify-content: center;
    font-size: clamp(15px, 4.6vw, 18px);
  }
}

.contact-page .lower-master-body p,
.contact-page .lower-master-body li,
.contact-page .check-list div,
.consultation-page .lower-master-body p,
.consultation-page .lower-master-body li,
.consultation-page .check-list div,
.inquiry-note {
  font-size: 14px;
  line-height: 1.7;
  font-weight: 400;
}

.contact-page .check-list div,
.consultation-page .check-list div {
  font-weight: 700;
}

.contact-page .section-bg-dark .section-title,
.consultation-page .section-bg-dark .section-title,
.seo-content .section-bg-dark .section-title,
.ops-content .section-bg-dark .section-title,
.consulting-content .section-bg-dark .section-title {
  font-size: 40px;
}

.inquiry-layout {
  display: grid;
  grid-template-columns: minmax(0, 1fr) 300px;
  gap: 16px;
  align-items: start;
}

.inquiry-side {
  display: grid;
  gap: 12px;
}

.form-card .section-title {
  margin-bottom: 16px;
}

.required {
  margin-left: 6px;
  font-size: 11px;
  color: #b33040;
  font-weight: 700;
}

.inquiry-note {
  margin: 10px 0 0;
}

.schedule-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 10px;
}

@media (max-width: 980px) {
  .inquiry-layout {
    grid-template-columns: 1fr;
  }
}

@media (max-width: 640px) {
  .schedule-grid {
    grid-template-columns: 1fr;
  }

  .form-card .btn {
    width: 100%;
  }
}

.privacy-item {
  margin-top: 26px;
}

.privacy-item h3 {
  margin: 0 0 10px;
  font-size: 22px;
  line-height: 1.45;
}

.privacy-item p {
  margin: 0;
  font-size: 14px;
  line-height: 2;
}

.privacy-item p + p {
  margin-top: 8px;
}

.privacy-list {
  margin: 8px 0 0;
  padding-left: 0;
  list-style: none;
}

.privacy-list li {
  margin-top: 4px;
  font-size: 14px;
  line-height: 2;
}

.privacy-date {
  margin: 44px 0 0;
  font-size: 14px;
  font-weight: 500;
}

.cta-band {
  background: #000;
  color: #fff;
  border-radius: 14px;
  padding: 26px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 18px;
  flex-wrap: wrap;
}

.cta-band-link {
  border: 1px solid #000;
  transition: background-color 0.3s ease, color 0.3s ease, border-color 0.3s ease;
}

.cta-band-link:hover {
  background: #fff;
  color: #000;
}

.footer {
  margin-top: 60px;
  border-top: 0.5px solid #ececec;
  background: #fff;
  color: #000;
  padding: 34px 0 20px;
}

.footer-inner {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: flex-start;
  gap: 24px;
}

.footer-brand {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 10px;
  order: 2;
}

.footer-logo {
  display: block;
  width: min(96px, 30vw);
  height: auto;
}

.footer-links {
  display: flex;
  flex-wrap: wrap;
  gap: 10px 20px;
  justify-content: center;
  max-width: 920px;
  order: 1;
}

.footer-links a {
  font-size: 14px;
  line-height: 1.5;
  color: #000;
  opacity: 1;
  font-weight: 700;
}

.footer-links a:hover {
  text-decoration: underline;
}

.footer-copy {
  margin: 0;
  font-size: 13px;
  line-height: 1.5;
  color: rgba(0, 0, 0, 0.8);
  text-align: center;
}

.hamburger {
  display: none;
  border: 1px solid var(--line);
  background: #fff;
  border-radius: 9px;
  padding: 7px 10px;
}

.form {
  display: grid;
  gap: 12px;
}

label {
  font-weight: 700;
  font-size: 14px;
}

input,
textarea,
select {
  width: 100%;
  border: 1px solid #cfbfaa;
  border-radius: 10px;
  padding: 11px;
  font: inherit;
  background: #fff;
}

textarea {
  min-height: 130px;
  resize: vertical;
}

@media (max-width: 1200px) {
  .topline {
    display: none;
  }

  .topline .container {
    padding-left: 20px;
    padding-right: 20px;
  }

  .header-modern {
    min-height: 64px;
    padding: 0 20px;
  }

  .nav {
    display: none;
  }

  .services-mega {
    display: none;
  }

  .nav.open {
    position: absolute;
    right: 20px;
    top: 74px;
    z-index: 40;
    display: flex;
    width: min(440px, calc(100vw - 40px));
    background: #fff;
    border: 1px solid #dbdde6;
    border-radius: 10px;
    padding: 14px;
    box-shadow: 0 12px 24px rgba(0, 0, 0, 0.08);
    flex-direction: column;
    align-items: flex-start;
    gap: 10px;
  }

  .site-header.is-scrolled .header-modern {
    width: calc(100% - 20px);
    margin: 15px 10px 0 10px;
    padding: 0 12px;
  }

  .header-actions {
    gap: 0;
    margin-left: auto;
  }

  .header-actions .btn {
    display: none !important;
  }

  .site-header,
  .site-header.is-scrolled {
    background: transparent;
    border-bottom-color: transparent;
  }

  .site-header.is-scrolled {
    top: 0;
  }

  .site-header.is-scrolled .header-modern {
    width: 100%;
    margin: 0;
    min-height: 66px;
    padding: 0 20px;
    border-radius: 0;
    background: transparent;
    box-shadow: none;
  }

  .site-header.is-scrolled .header-actions .btn {
    display: none !important;
  }

  .site-header.is-scrolled .brand-modern {
    margin: 14px 0;
    transform: none;
  }

  .site-header.is-scrolled .brand-logo {
    filter: none;
  }

  .site-header.is-scrolled .nav-icon {
    background: #000;
    border-color: #000;
  }

  .site-header.is-scrolled .nav-icon span {
    background: #fff;
  }

  .mega-menu {
    grid-template-columns: 1fr;
  }

  .mega-menu-visual {
    display: none;
  }

  .mega-menu-panel {
    padding: 22px 24px 28px;
  }

  .mega-menu-link {
    font-size: 24px;
  }
}

@media (max-width: 980px) {
  .brand-kv {
    padding-top: 26px;
  }

  .brand-kv.brand-kv-impact {
    min-height: clamp(420px, 56vw, 620px);
  }

  .brand-kv-impact-shell {
    grid-template-columns: minmax(0, 0.46fr) minmax(0, 0.54fr);
    gap: 12px;
    min-height: clamp(420px, 56vw, 620px);
  }

  .brand-kv-impact-visual {
    margin-left: 0;
    margin-bottom: 0;
  }

  .brand-kv-impact-visual img {
    max-height: clamp(420px, 56vw, 620px);
    margin-bottom: 0;
    transform: none;
  }

  .brand-kv-impact-title {
    max-width: 100%;
  }

  .brand-kv-impact-title-svg {
    width: clamp(290px, 40vw, 520px);
  }

  .brand-kv-impact-subtitle-svg {
    width: clamp(200px, 30vw, 410px);
    margin-bottom: 6px;
  }

  .brand-kv-impact-text {
    font-size: clamp(12px, 1.1vw, 14px);
    line-height: 1.5;
  }

  .brand-kv-impact-copy {
    padding-top: clamp(8px, 1.5vw, 18px);
    padding-left: 8px;
    margin-left: 0;
  }

  .brand-kv-impact-badges li {
    font-size: clamp(11px, 0.95vw, 13px);
    padding: 6px 9px;
  }

  .brand-kv-impact-bgword {
    bottom: 10px;
    font-size: clamp(30px, 7vw, 68px);
    letter-spacing: 0.04em;
  }

  .brand-kv-track {
    height: min(78vw, 600px);
  }

  .brand-kv-slide {
    width: min(78vw, 600px);
    height: min(78vw, 600px);
    transform: translateX(calc(-50% + (var(--offset) * (min(78vw, 600px) + 16px)))) scale(0.84);
  }

  .brand-kv-slide.is-prev,
  .brand-kv-slide.is-next {
    transform: translateX(calc(-50% + (var(--offset) * (min(78vw, 600px) + 16px)))) scale(0.9);
  }

  .kv-loop {
    padding: 7px 0;
  }

  .hero-main-wrap {
    grid-template-columns: 1fr;
    align-items: center;
  }

  .hero-main {
    padding-top: 42px;
  }

  .hero-main-en {
    line-height: 0.95;
  }

  .hero-motion {
    height: 320px;
    min-height: 320px;
  }

  .hero-grid,
  .cards {
    grid-template-columns: 1fr;
  }

  .summary-grid {
    grid-template-columns: 1fr;
    gap: 12px;
    margin: 30px auto 34px;
  }

  .summary-cross {
    transform: none;
  }

  .services-intro {
    grid-template-columns: 1fr;
    margin-bottom: 34px;
  }

  .service-detail {
    grid-template-columns: 1fr;
    gap: 18px;
    padding: 24px 0;
  }

  .service-detail-list li {
    font-size: inherit;
  }

  .service-detail-media {
    order: -1;
    max-width: 460px;
  }

  .growth-logs {
    grid-template-columns: 1fr;
  }

  .growth-columns-grid,
  .column-grid {
    grid-template-columns: 1fr;
  }

  .services-page .services-sub-grid {
    grid-template-columns: 1fr;
  }

  .services-page .service-link-grid {
    grid-template-columns: 1fr;
  }

  .web-paint-page .web-paint-hero {
    grid-template-columns: 1fr;
  }

  .web-paint-page .web-paint-problem-grid,
  .web-paint-page .web-paint-pillars,
  .web-paint-page .web-paint-plan-grid,
  .web-paint-page .web-paint-flow,
  .web-paint-page .web-paint-issue-grid {
    grid-template-columns: 1fr;
  }

  .web-paint-page .web-paint-case {
    padding: 16px;
  }

  .web-paint-page .web-paint-select-reason-card {
    grid-template-columns: 1fr;
    gap: 12px;
    padding: 14px;
  }

  .web-paint-page .web-paint-select-reason-content h3 {
    font-size: 24px;
  }

  .web-paint-page .web-paint-cta h2 {
    font-size: clamp(30px, 8vw, 50px);
  }

  .web-paint-page .web-paint-case-layout {
    grid-template-columns: 1fr;
    gap: 14px;
  }

  .web-paint-page .web-paint-case-head {
    grid-template-columns: 1fr;
    gap: 10px;
  }

  .web-paint-page .web-paint-case-logo {
    width: min(220px, 100%);
  }

  .web-paint-page .web-paint-case-company {
    font-size: 18px;
  }

  .web-paint-page .web-paint-case-title {
    font-size: 28px;
  }

  .web-paint-page .web-paint-talk-cta {
    flex-direction: column;
    align-items: flex-start;
  }

  .web-paint-page .web-paint-talk-copy p {
    font-size: clamp(18px, 6vw, 26px);
  }

  .web-paint-page .web-paint-eyecatch {
    min-height: clamp(320px, 56vw, 500px);
    padding: 18px 0 10px;
  }

  .web-paint-page .web-paint-eyecatch-inner {
    width: min(1200px, calc(100% - 28px));
  }

  .web-paint-page .web-paint-top-head {
    top: 14px;
    padding: 0 14px 8px;
  }

  .web-paint-page .web-paint-top-head .lower-master-title {
    font-size: 20px;
  }

  .web-paint-page .web-paint-scroll-cue {
    bottom: 12px;
  }

  .web-paint-page .web-paint-problem-visual img {
    width: min(140px, 30vw);
  }

  .web-paint-page .web-paint-problem-list {
    grid-template-columns: 1fr;
  }

  .web-paint-page .web-paint-issues .problem-title {
    padding: 12px 18px;
    font-size: clamp(24px, 7.2vw, 36px);
    margin-bottom: -16px;
  }

  .web-paint-page .web-paint-issues .problem-title::after {
    bottom: -10px;
    border-left-width: 10px;
    border-right-width: 10px;
    border-top-width: 10px;
  }

  .web-paint-page .web-paint-issues-list-bg {
    padding: 36px 0 20px;
  }

  .web-paint-page .web-paint-soft-band {
    padding-top: 48px;
    padding-bottom: 48px;
  }

  .web-paint-page .web-paint-issues::before {
    height: 138px;
  }

  .web-paint-page .web-paint-solution-panel {
    grid-template-columns: 1fr;
    grid-template-areas:
      "image"
      "copy"
      "thought";
    padding: 12px;
    gap: 16px;
  }

  .web-paint-page .web-paint-solution-image {
    width: 100%;
  }

  .web-paint-page .web-paint-solution-copy {
    padding: 0;
  }

  .web-paint-page .web-paint-solution-menu {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .web-paint-page .web-paint-solution-menu-title {
    font-size: 22px;
  }

  .web-paint-page .web-paint-solution-menu span {
    min-height: 40px;
    padding: 8px 10px;
    font-size: 12px;
  }

  .web-paint-page .web-paint-pricing-card {
    padding: 22px 16px;
  }

  .web-paint-page .web-paint-pricing-normal,
  .web-paint-page .web-paint-pricing-zero,
  .web-paint-page .web-paint-pricing-monthly {
    font-size: 17px;
  }

  .web-paint-page .web-paint-pricing-breakdown > div {
    grid-template-columns: 1fr;
  }

  .web-paint-page .web-paint-issue-card {
    grid-template-columns: 92px minmax(0, 1fr);
    gap: 10px;
    padding: 25px;
  }

  .web-paint-page .web-paint-issue-icon {
    width: 92px;
  }

  .web-paint-page .web-paint-issue-copy h3 {
    font-size: 28px;
  }

  .web-paint-page .web-paint-issue-copy p {
    font-size: 14px;
    line-height: 1.7;
  }

  .t-column-head {
    align-items: flex-start;
    flex-direction: column;
  }

  .lead.typesquare_option {
    max-width: none;
    justify-self: start;
  }

  .t-column-intro {
    grid-template-columns: 1fr;
    margin: 10px 0 18px;
  }

  .t-column-grid {
    grid-template-columns: 1fr;
    gap: 18px;
  }

  .supported-industries-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .footer {
    padding: 28px 0 18px;
  }

  .footer-inner {
    align-items: center;
    gap: 18px;
  }

  .footer-links {
    justify-content: center;
    gap: 8px 14px;
  }

  .company-profile-row {
    grid-template-columns: 1fr;
    gap: 6px;
    padding: 14px 0;
  }

  .lower-master-title {
    font-size: clamp(38px, 11vw, 56px);
    line-height: 1.03;
  }

  .lower-master-body {
    margin-top: 52px;
    padding: 46px 0 42px;
  }

  .lower-master-body h2 {
    font-size: clamp(32px, 9vw, 44px);
    margin-bottom: 24px;
  }

  .privacy-item h3 {
    font-size: 19px;
  }

  .growth-company {
    font-size: 18px;
  }

  .growth-start,
  .growth-end {
    font-size: 22px;
  }

  .header-row {
    flex-wrap: nowrap;
  }

  .header-actions {
    width: auto;
    justify-content: flex-end;
  }

  .btn {
    padding: 10px 12px;
    font-size: 13px;
  }

  .header-actions .btn {
    height: 38px;
    border-radius: 8px;
    padding: 0 10px;
  }

  .nav-icon {
    width: 42px;
    height: 38px;
  }

  .floating-online-banner {
    right: 8px;
    bottom: 10px;
    width: min(330px, calc(100vw - 16px));
  }

  .floating-online-banner-link {
    grid-template-columns: minmax(0, 1fr) 76px;
    gap: 4px;
    min-height: 78px;
    padding: 8px 10px 7px;
    border-radius: 10px;
  }

  .floating-online-banner-catch {
    font-size: 13px;
    line-height: 1.22;
  }

  .floating-online-banner-text {
    font-size: 13px;
    line-height: 1.4;
  }

  .floating-online-banner-figure {
    transform: translateY(-20px);
    margin-bottom: -20px;
  }

  .floating-online-banner-figure img {
    max-height: 120px;
  }
}

@media (max-width: 760px) {
  .brand-logo {
    height: 34px;
  }

  .header-actions .btn {
    display: none !important;
  }

  .nav-icon {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    flex-direction: column;
    gap: 4px;
    width: 46px;
    height: 46px;
    border-radius: 2px;
    padding: 0;
  }

  .nav-icon span {
    width: 20px;
    height: 2px;
    margin: 0;
    border-radius: 999px;
  }

  .brand-kv-impact-copy {
    transform: none;
    transform-origin: left top;
    padding-top: 14px;
    padding-left: 0;
    padding-right: 0;
    margin-left: 0;
    width: 100%;
  }

  .brand-kv-impact-subtitle-svg {
    display: none;
  }

  .page-home-impact .brand-kv-impact-title {
    margin: 0 0 2px;
  }

  .page-home-impact .brand-kv-impact-title-line {
    font-size: clamp(66px, 17.4vw, 92px);
    line-height: 0.9;
    white-space: nowrap;
  }

  .brand-kv-impact-text {
    margin-top: 10px;
    max-width: 100%;
    font-size: clamp(12px, 3.3vw, 13px);
    line-height: 1.5;
    font-weight: 700;
  }

  .brand-kv-impact-badges {
    display: none;
  }

  .brand-kv-impact-bgword {
    display: none;
  }

  .tosoweb-summary {
    padding-top: 24px;
  }

  .tosoweb-about-title {
    text-align: left;
    font-size: clamp(42px, 12vw, 58px);
    line-height: 1.06;
    margin-bottom: 22px;
  }

  .tosoweb-about-issues {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 8px;
  }

  .tosoweb-about-issues li {
    min-height: 44px;
    font-size: 13px;
    line-height: 1.35;
    padding: 10px 10px;
  }

  .tosoweb-about-issues li:first-child,
  .tosoweb-about-issues li:last-child {
    grid-column: 1 / -1;
  }

  .tosoweb-about-visual {
    margin-top: 14px;
  }

  .web-paint-page .web-paint-top-head {
    position: static;
    left: auto;
    transform: none;
    width: auto;
    padding: 0 12px 10px;
    border-bottom: 0;
  }

  .web-paint-page .web-paint-top-head .lower-master-label {
    font-size: 10px;
    margin-bottom: 6px;
  }

  .web-paint-page .web-paint-top-head .lower-master-title {
    font-size: clamp(30px, 8.5vw, 38px);
    line-height: 1.08;
  }

  .web-paint-page .web-paint-eyecatch {
    min-height: auto;
    padding: 18px 0;
  }

  .web-paint-page .web-paint-eyecatch-inner {
    width: calc(100% - 24px);
    padding: 8px 12px 0;
  }

  .web-paint-page .web-paint-eyecatch-main {
    font-size: clamp(24px, 10vw, 42px);
    line-height: 1.08;
  }

  .web-paint-page .web-paint-eyecatch-sub {
    font-size: clamp(12px, 4vw, 16px);
    line-height: 1.5;
  }

  .web-paint-page .web-paint-scroll-cue {
    display: none;
  }

  .floating-online-banner {
    right: 10px;
    bottom: max(8px, env(safe-area-inset-bottom));
    width: min(300px, calc(100vw - 20px));
  }

  .floating-online-banner-link {
    grid-template-columns: minmax(0, 1fr) 68px;
    min-height: 70px;
    padding: 8px 10px;
  }

  .floating-online-banner-catch,
  .floating-online-banner-text {
    font-size: 12px;
  }

  .floating-online-banner-figure {
    transform: translateY(-10px);
    margin-bottom: -10px;
  }

  .floating-online-banner-figure img {
    max-height: 92px;
  }

  .brand-kv.brand-kv-impact {
    min-height: calc(100svh - 78px);
    min-height: calc(100dvh - 78px);
    padding-top: 0;
  }

  .brand-kv-impact .container {
    width: min(1200px, calc(100% - 24px));
    max-width: 1200px;
    margin: 0 auto;
    padding-left: 0;
    padding-right: 0;
  }

  .brand-kv-impact-shell {
    grid-template-columns: 1fr;
    min-height: calc(100svh - 78px);
    min-height: calc(100dvh - 78px);
    gap: 10px;
    align-items: end;
  }

  .brand-kv-impact-visual {
    justify-self: center;
    margin-bottom: 0;
    width: 100%;
  }

  .brand-kv-impact-visual img {
    max-height: min(64vw, 400px);
    transform: none;
    margin: 0 auto;
  }

  .brand-kv-impact-copy {
    padding-bottom: 4px;
  }

  .tosoweb-about-visual {
    display: flex;
    justify-content: center;
    align-items: flex-end;
    max-width: none;
    margin-top: 14px;
  }

  .tosoweb-about-person {
    width: min(72%, 320px);
    margin: 0 auto;
  }

  .tosoweb-about-mark {
    display: none;
  }

  .tosoweb-about-cta {
    margin-top: 14px;
    min-height: 56px;
    font-size: 14px;
  }

  .services-intro-title {
    font-size: clamp(28px, 8.4vw, 36px);
    line-height: 1.18;
  }

  .services-intro-text {
    font-size: 13px;
    line-height: 1.6;
  }

  .brand-kv-impact-title-svg {
    width: min(100%, 92vw);
  }

  .brand-kv-impact-subtitle-svg {
    width: min(78vw, 420px);
  }
}

.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;
}

@media (max-width: 640px) {
  .supported-industries-grid {
    grid-template-columns: 1fr;
  }
}

/* Global mobile typography normalization */
@media (max-width: 760px) {
  body {
    font-size: 14px;
    line-height: 1.6;
  }

  .lower-master-title {
    font-size: clamp(34px, 9.5vw, 46px) !important;
    line-height: 1.04 !important;
  }

  .section-title {
    font-size: clamp(30px, 8.2vw, 40px) !important;
    line-height: 1.14 !important;
  }

  .services-intro-title,
  .t-column-title,
  .growth-title {
    font-size: clamp(32px, 8.6vw, 44px) !important;
    line-height: 1.16 !important;
  }

  .hero p,
  .brand-kv-impact-text,
  .services-intro-text,
  .growth-subtitle,
  .tosoweb-about-right p,
  .column-content p,
  .column-content li,
  .lower-master-body p,
  .lower-master-body li {
    font-size: 14px !important;
    line-height: 1.65 !important;
  }

  .t-column-card h4,
  .growth-log-card h4,
  .service-detail-title {
    font-size: clamp(20px, 5.6vw, 28px) !important;
    line-height: 1.25 !important;
  }

  .t-column-meta,
  .t-column-meta span,
  .t-column-meta time {
    font-size: 12px !important;
  }

  .cta-band h2,
  .cta-band h2[style] {
    font-size: clamp(28px, 8vw, 36px) !important;
    line-height: 1.16 !important;
  }

  .cta-band p,
  .cta-band p[style] {
    font-size: 14px !important;
    line-height: 1.6 !important;
  }

  .btn,
  .service-link-btn,
  .btn-sub,
  .btn-primary,
  .btn-outline {
    font-size: 14px !important;
    line-height: 1.2;
  }
}

/* Strong global SP typography control */
@media (max-width: 760px) {
  :root {
    --sp-h1-size: clamp(34px, 9vw, 44px);
    --sp-h2-size: clamp(28px, 7.6vw, 36px);
    --sp-h3-size: clamp(22px, 6vw, 28px);
    --sp-body-size: 14px;
    --sp-body-line: 1.65;
  }

  main h1,
  .entry-content h1,
  .section-head h1,
  .hero h1 {
    font-size: var(--sp-h1-size) !important;
    line-height: 1.06 !important;
    letter-spacing: -0.01em;
  }

  main h2,
  .entry-content h2,
  .section-head h2,
  .cta-band h2 {
    font-size: var(--sp-h2-size) !important;
    line-height: 1.15 !important;
    letter-spacing: -0.01em;
  }

  main h3,
  .entry-content h3,
  .section-head h3 {
    font-size: var(--sp-h3-size) !important;
    line-height: 1.2 !important;
  }

  main p,
  main li,
  .entry-content p,
  .entry-content li,
  .services-intro p,
  .tosoweb-summary p,
  .lower-master-body p {
    font-size: var(--sp-body-size) !important;
    line-height: var(--sp-body-line) !important;
  }

  .hero .lower-master-title {
    font-size: clamp(46px, 12vw, 64px) !important;
    line-height: 0.98 !important;
  }

  .hero .lower-master-body,
  .hero .lower-master-body p {
    font-size: clamp(13px, 3.6vw, 15px) !important;
    line-height: 1.55 !important;
  }

  .services-intro-title,
  .service-top-title,
  .service-detail-title {
    font-size: clamp(28px, 8vw, 38px) !important;
    line-height: 1.14 !important;
  }

  .services-intro-text,
  .service-detail-copy {
    font-size: 14px !important;
    line-height: 1.65 !important;
  }
}

/* SP floating banner layout (full-width in content bounds) */
@media (max-width: 760px) {
  .floating-online-banner {
    left: 50% !important;
    right: auto !important;
    transform: translateX(-50%);
    bottom: max(8px, env(safe-area-inset-bottom));
    width: min(1200px, calc(100% - 24px)) !important;
    max-width: 1200px;
  }

  .floating-online-banner-link {
    grid-template-columns: minmax(0, 1fr) 86px;
    min-height: 66px;
    padding: 8px 12px 7px;
    border-radius: 12px;
    overflow: visible;
  }

  .floating-online-banner-catch,
  .floating-online-banner-text {
    font-size: 11px !important;
    line-height: 1.35;
  }

  .floating-online-banner-figure {
    align-self: end;
    transform: translateY(-16px);
    margin-bottom: -16px;
  }

  .floating-online-banner-figure img {
    max-height: 96px;
  }

  .tosoweb-about-cta {
    margin-bottom: 92px !important;
  }
}

/* SP header/menu redesign (reference-like) */
@media (max-width: 760px) {
  .home .header-row,
  .page-home-impact .header-row {
    align-items: flex-start;
    padding-top: 8px;
    padding-bottom: 6px;
  }

  .home .brand-modern,
  .page-home-impact .brand-modern {
    margin: 8px 0 0;
    align-self: flex-start;
  }

  .home .brand-logo,
  .page-home-impact .brand-logo {
    height: 44px;
  }

  .home .header-actions,
  .page-home-impact .header-actions {
    margin-left: auto;
    align-self: flex-start;
  }

  .home .nav-icon,
  .home .site-header.is-scrolled .nav-icon,
  .page-home-impact .nav-icon,
  .page-home-impact .site-header.is-scrolled .nav-icon {
    width: 74px;
    height: 74px;
    border-radius: 0;
    border: 2px solid #111 !important;
    background: #fff !important;
    color: #111;
    padding: 12px 8px 8px;
    gap: 6px;
    justify-content: flex-start;
    align-items: center;
  }

  .home .nav-icon::before,
  .page-home-impact .nav-icon::before {
    display: none !important;
  }

  .home .nav-icon span,
  .home .site-header.is-scrolled .nav-icon span,
  .page-home-impact .nav-icon span,
  .page-home-impact .site-header.is-scrolled .nav-icon span {
    width: 34px;
    height: 3px;
    border-radius: 0;
    background: #111 !important;
  }

  .home .nav-icon::after,
  .page-home-impact .nav-icon::after {
    content: "MENU";
    display: block;
    margin-top: 4px;
    font-family: "Montserrat", "Noto Sans JP", sans-serif;
    font-size: 11px;
    line-height: 1;
    font-weight: 700;
    letter-spacing: 0.03em;
    color: #111;
  }
}

/* SP hero rollback + stable viewport height */
@media (max-width: 760px) {
  .page-home-impact .brand-kv-impact-title-svg {
    display: block !important;
    width: min(100%, 92vw) !important;
    max-width: 100%;
    height: auto;
  }

  .page-home-impact .brand-kv-impact-title-line {
    display: none !important;
  }

  .page-home-impact .brand-kv-impact-title .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;
  }

  .page-home-impact {
    --home-impact-bg-height: calc(100svh + 120px);
  }

  .brand-kv.brand-kv-impact,
  .brand-kv-impact-shell {
    min-height: calc(100svh - 78px) !important;
  }
}

/* ===== SP lock: home hero + floating banner (safe override) ===== */
@media (max-width: 760px) {
  /* Keep header transparent but in normal sticky flow */
  .home .site-header,
  .home .site-header.is-scrolled,
  .page-home-impact .site-header,
  .page-home-impact .site-header.is-scrolled {
    position: sticky !important;
    top: 0;
    background: transparent !important;
    border-bottom: 0 !important;
    z-index: 60;
  }

  .home .header-modern,
  .page-home-impact .header-modern {
    min-height: 64px;
    padding: 0 14px;
    background: transparent !important;
    box-shadow: none !important;
  }

  .home .brand-modern,
  .page-home-impact .brand-modern {
    position: fixed;
    top: calc(env(safe-area-inset-top) + 20px);
    left: 12px;
    margin: 0;
    z-index: 80;
    line-height: 1;
  }

  .home .brand-logo,
  .page-home-impact .brand-logo {
    height: 34px;
  }

  /* Hero: keep original SVG title (no text replacement) */
  .home .brand-kv-impact-title-svg,
  .page-home-impact .brand-kv-impact-title-svg {
    display: block !important;
    width: min(100%, 89vw) !important;
    max-width: 100%;
    height: auto;
    margin: 0 auto;
    transform: translateY(-10px);
  }

  .home .brand-kv-impact-subtitle-svg,
  .page-home-impact .brand-kv-impact-subtitle-svg {
    display: block !important;
    width: min(103vw, 554px);
    max-width: 100%;
    height: auto;
    margin: 0 auto 8px !important;
    transform: translateY(-70px) !important;
  }

  .home .brand-kv-impact-title,
  .page-home-impact .brand-kv-impact-title {
    display: flex;
    justify-content: center;
    transform: translateY(-28px);
    margin: 0 0 12px !important;
  }

  .home .brand-kv-impact-title .sr-only,
  .page-home-impact .brand-kv-impact-title .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;
  }

  /* Animated gradient behind header + hero (same model as desktop) */
  .home,
  .page-home-impact {
    position: relative;
    background: #fff;
    --home-impact-bg-height: calc(clamp(420px, 46vw, 740px) + 200px);
  }

  .home::before,
  .page-home-impact::before {
    content: "";
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: var(--home-impact-bg-height);
    background: linear-gradient(120deg, #ff4d4d 0%, #ff9a3d 16%, #ffd84d 32%, #5bd85b 48%, #4db8ff 64%, #7a5cff 80%, #ff66c4 100%);
    background-size: 240% 240%;
    animation: heroRainbowFlow 14s ease infinite;
    z-index: 0;
  pointer-events: none;
}

@media (min-width: 981px) {
  .brand-kv-impact-bgword {
    font-size: clamp(48px, 8.4vw, 180px);
  }
}

  .home .brand-kv.brand-kv-impact,
  .page-home-impact .brand-kv.brand-kv-impact {
    background: transparent !important;
    min-height: auto !important;
    padding-top: 58px;
    position: relative;
    z-index: 1;
  }

  .home .brand-kv-impact-shell,
  .page-home-impact .brand-kv-impact-shell {
    min-height: auto !important;
  }

  /* Hero: same content-width behavior as other sections */
  .home .brand-kv-impact .container,
  .page-home-impact .brand-kv-impact .container {
    width: min(1200px, calc(100% - 24px));
    max-width: 1200px;
    margin: 0 auto;
    padding-left: 12px;
    padding-right: 12px;
  }

  /* Hero: body copy slightly smaller */
  .home .brand-kv-impact-text,
  .page-home-impact .brand-kv-impact-text {
    margin-top: -20px !important;
    font-size: clamp(14px, 3.9vw, 16px) !important;
    line-height: 1.5 !important;
    max-width: 100%;
    overflow-wrap: anywhere;
    word-break: break-word;
    transform: translateY(-10px);
  }

  .home .brand-kv-impact-copy,
  .page-home-impact .brand-kv-impact-copy {
    transform: none !important;
    width: 100%;
    max-width: 100%;
    padding-left: 0;
    padding-right: 0;
  }

  .home .brand-kv-impact-visual,
  .page-home-impact .brand-kv-impact-visual {
    width: 100%;
  }

  .home .brand-kv-impact-visual img,
  .page-home-impact .brand-kv-impact-visual img {
    width: auto;
    max-width: 100%;
    max-height: min(78vw, 480px);
    height: auto;
    margin: -20px auto 0;
  }

  .home .brand-kv-impact-bgword,
  .page-home-impact .brand-kv-impact-bgword {
    display: block !important;
    left: 0;
    bottom: 18px;
    font-size: clamp(176px, 56vw, 304px);
    letter-spacing: 0.04em;
    opacity: 0.2;
    animation: heroBgWordSlide 24s linear infinite;
    z-index: 0;
    pointer-events: none;
  }

  .home .brand-kv-impact-copy,
  .page-home-impact .brand-kv-impact-copy,
  .home .brand-kv-impact-visual,
  .page-home-impact .brand-kv-impact-visual {
    position: relative;
    z-index: 2;
  }

  .home .nav-icon,
  .home .site-header.is-scrolled .nav-icon,
  .page-home-impact .nav-icon,
  .page-home-impact .site-header.is-scrolled .nav-icon {
    position: fixed !important;
    top: calc(env(safe-area-inset-top) + 8px);
    right: 12px;
    width: 58px;
    height: 58px;
    padding: 8px 6px 6px;
    z-index: 80;
  }

  .home .nav-icon span,
  .home .site-header.is-scrolled .nav-icon span,
  .page-home-impact .nav-icon span,
  .page-home-impact .site-header.is-scrolled .nav-icon span {
    width: 26px;
    height: 3px;
  }

  .home .nav-icon::after,
  .page-home-impact .nav-icon::after {
    margin-top: 2px;
    font-size: 9px;
    letter-spacing: 0.02em;
  }

  /* Floating banner: full-width in content bounds */
  .floating-online-banner {
    left: 50% !important;
    right: auto !important;
    transform: translate(-50%, 16px);
    bottom: max(8px, env(safe-area-inset-bottom));
    width: min(1200px, calc(100% - 24px)) !important;
    max-width: 1200px;
    opacity: 0;
    visibility: hidden;
    pointer-events: none;
    transition: opacity 0.45s ease, transform 0.45s ease, visibility 0.45s ease;
  }

  body.floating-banner-visible .floating-online-banner {
    opacity: 1;
    visibility: visible;
    pointer-events: auto;
    transform: translate(-50%, 0);
  }

  .floating-online-banner-link {
    grid-template-columns: minmax(0, 1fr) 86px;
    min-height: 66px;
    padding: 8px 12px 7px;
    overflow: visible;
  }

  .floating-online-banner-catch,
  .floating-online-banner-text {
    font-size: 11px !important;
    line-height: 1.35;
  }

  .floating-online-banner-figure {
    align-self: end;
    transform: translateY(-16px);
    margin-bottom: -16px;
  }

  .floating-online-banner-figure img {
    max-height: 96px;
  }

  /* Reserve visual space below the about CTA */
  .tosoweb-about-cta {
    margin-top: 10px !important;
    margin-bottom: 92px !important;
    min-height: 56px;
    border-radius: 999px;
    border: 1px solid var(--sub) !important;
    background: #fff !important;
    color: var(--sub) !important;
    transition: color 0.32s ease, border-color 0.32s ease;
  }

  .tosoweb-about-cta::before {
    background: var(--sub);
  }

  .tosoweb-about-cta:hover,
  .tosoweb-about-cta:focus-visible {
    color: #fff !important;
    border-color: var(--sub) !important;
  }
}

/* SP global lock: header/menu + white->black button hover text */
@media (max-width: 760px) {
  /* Apply top-page header/menu look to all pages */
  .site-header,
  .site-header.is-scrolled {
    position: sticky !important;
    top: 0 !important;
    z-index: 60;
    background: transparent !important;
    border-bottom: 0 !important;
  }

  .header-modern,
  .site-header.is-scrolled .header-modern {
    width: 100% !important;
    min-height: 64px;
    margin: 0 !important;
    padding: 0 14px;
    border-radius: 0 !important;
    background: transparent !important;
    box-shadow: none !important;
  }

  .brand-modern,
  .site-header.is-scrolled .brand-modern {
    position: fixed;
    top: calc(env(safe-area-inset-top) + 20px);
    left: 12px;
    margin: 0 !important;
    z-index: 80;
    transform: none !important;
  }

  .brand-logo,
  .site-header.is-scrolled .brand-logo {
    height: 34px;
    filter: none !important;
  }

  .header-actions .btn {
    display: none !important;
  }

  .nav-icon,
  .site-header.is-scrolled .nav-icon {
    position: fixed !important;
    top: calc(env(safe-area-inset-top) + 8px);
    right: 12px;
    width: 58px;
    height: 58px;
    padding: 8px 6px 6px;
    border-radius: 0;
    border: 2px solid #111 !important;
    background: #fff !important;
    z-index: 80;
    justify-content: flex-start;
    align-items: center;
    gap: 6px;
  }

  .nav-icon::before {
    display: none !important;
  }

  .nav-icon span,
  .site-header.is-scrolled .nav-icon span {
    width: 26px;
    height: 3px;
    border-radius: 0;
    background: #111 !important;
  }

  .nav-icon::after {
    content: "MENU";
    display: block;
    margin-top: 2px;
    font-family: "Montserrat", "Noto Sans JP", sans-serif;
    font-size: 9px;
    line-height: 1;
    font-weight: 700;
    letter-spacing: 0.02em;
    color: #111;
  }

  /* Make tosoweb-about-cta match service-link-btn style */
  .tosoweb-about-cta {
    margin-top: 10px !important;
    min-height: 46px;
    border-radius: 8px;
    border: 1px solid #000 !important;
    background: #fff !important;
    color: #000 !important;
    font-size: 14px;
    font-weight: 700;
    position: relative;
    overflow: hidden;
    isolation: isolate;
    z-index: 0;
    transition: color 0.32s ease, border-color 0.32s ease;
  }

  .tosoweb-about-cta::before {
    background: #000 !important;
  }
}

/* Global fix: white button -> black hover must keep white text */
.services-page .service-link-btn:hover,
.services-page .service-link-btn:focus-visible,
.lower-master-page .service-link-btn:hover,
.lower-master-page .service-link-btn:focus-visible,
.web-paint-page .service-link-btn:hover,
.web-paint-page .service-link-btn:focus-visible,
.service-link-btn:hover,
.service-link-btn:focus-visible,
.tosoweb-about-cta:hover,
.tosoweb-about-cta:focus-visible,
.header-actions .btn:hover,
.header-actions .btn:focus-visible,
.btn-sub:hover,
.btn-sub:focus-visible,
.btn:hover,
.btn:focus-visible,
.btn-outline:hover,
.btn-outline:focus-visible {
  color: #fff !important;
}

/* Final enforce: button hover/focus/active text color */
.services-page .service-link-btn:hover,
.services-page .service-link-btn:focus-visible,
.services-page .service-link-btn:active,
.lower-master-page .service-link-btn:hover,
.lower-master-page .service-link-btn:focus-visible,
.lower-master-page .service-link-btn:active,
.web-paint-page .service-link-btn:hover,
.web-paint-page .service-link-btn:focus-visible,
.web-paint-page .service-link-btn:active,
.service-link-btn:hover,
.service-link-btn:focus-visible,
.service-link-btn:active,
.tosoweb-about-cta:hover,
.tosoweb-about-cta:focus-visible,
.tosoweb-about-cta:active,
.header-actions .btn:hover,
.header-actions .btn:focus-visible,
.header-actions .btn:active,
.btn-sub:hover,
.btn-sub:focus-visible,
.btn-sub:active,
.btn-outline:hover,
.btn-outline:focus-visible,
.btn-outline:active,
.btn:hover,
.btn:focus-visible,
.btn:active {
  color: #fff !important;
}

/* Final enforce: PC top running text size */
@media (min-width: 981px) {
  .brand-kv-impact-bgword {
    font-size: clamp(48px, 8.4vw, 180px) !important;
    line-height: 0.9 !important;
  }
}

/* =====================================================================
   Service WEB Production: lower-master-container restore (PC / SP)
   Keep this page isolated from later global mobile overrides.
   ===================================================================== */
.page-service-web-production.web-paint-page .lower-master-container {
  position: relative;
  margin-top: 0 !important;
  padding-top: 0 !important;
}

.page-service-web-production .lower-master-container {
  margin-top: 0 !important;
  padding-top: 0 !important;
}

.lower-master-page.lower-master-b-page > .lower-master-container:has(.web-paint-eyecatch) {
  margin-top: 0 !important;
  padding-top: 0 !important;
}

.page-service-web-production.web-paint-page.section.lower-master-page.lower-master-b-page,
.page-service-web-production .section.lower-master-page.lower-master-b-page {
  margin-top: 0 !important;
  padding-top: 0 !important;
}

.page-service-web-production.web-paint-page .web-paint-eyecatch {
  position: relative;
  background: #050505;
  color: #fff;
  min-height: calc(100vh - 96px);
  overflow: hidden;
  display: flex;
  align-items: center;
  padding: 34px 0;
}

.page-service-web-production.web-paint-page .web-paint-top-head {
  position: absolute;
  top: 22px;
  left: 50%;
  transform: translateX(-50%);
  width: 100vw;
  padding: 0 24px 10px;
  border-bottom: 0.5px solid rgba(255, 255, 255, 0.9);
  z-index: 3;
  color: #fff;
}

.page-service-web-production.web-paint-page .web-paint-top-head .lower-master-label {
  margin: 0 0 8px;
  padding-top: 0;
  font-size: 11px !important;
  color: rgba(255, 255, 255, 0.82);
  text-decoration: none;
  letter-spacing: 0.08em;
}

.page-service-web-production.web-paint-page .web-paint-top-head .lower-master-title {
  margin: 0;
  padding: 0;
  font-size: 20px !important;
  line-height: 1.2 !important;
  color: #fff;
}

.page-service-web-production.web-paint-page .web-paint-eyecatch-inner {
  position: relative;
  z-index: 2;
  width: min(1200px, calc(100% - 48px));
  margin: 0 auto;
  text-align: center;
}

.page-service-web-production.web-paint-page .web-paint-eyecatch-main {
  margin: 0;
  font-size: clamp(34px, 5vw, 66px) !important;
  line-height: 1.12 !important;
  font-weight: 900;
  letter-spacing: 0.01em;
}

.page-service-web-production.web-paint-page .web-paint-eyecatch-sub {
  margin: 16px auto 0;
  width: min(820px, 100%);
  font-size: clamp(15px, 1.4vw, 20px) !important;
  line-height: 1.75 !important;
  color: rgba(255, 255, 255, 0.94);
}

.page-service-web-production.web-paint-page .lower-master-body p,
.page-service-web-production.web-paint-page .lower-master-body li {
  font-size: 14px !important;
  line-height: 1.7 !important;
}

@media (max-width: 980px) {
  .page-service-web-production.web-paint-page .web-paint-eyecatch {
    min-height: clamp(320px, 56vw, 500px);
    padding: 18px 0 10px;
  }

  .page-service-web-production.web-paint-page .web-paint-eyecatch-inner {
    width: min(1200px, calc(100% - 28px));
  }

  .page-service-web-production.web-paint-page .web-paint-top-head {
    top: 14px;
    padding: 0 14px 8px;
  }
}

@media (max-width: 760px) {
  .page-service-web-production.web-paint-page .web-paint-eyecatch-main {
    font-size: clamp(24px, 10vw, 42px) !important;
    line-height: 1.08 !important;
  }

  .page-service-web-production.web-paint-page .web-paint-eyecatch-sub {
    font-size: clamp(12px, 4vw, 16px) !important;
    line-height: 1.5 !important;
  }

  .page-service-web-production.web-paint-page .web-paint-scroll-cue {
    display: none;
  }

  .page-service-web-production.web-paint-page .web-paint-issue-card {
    grid-template-columns: 92px minmax(0, 1fr);
    gap: 10px;
    padding: 25px;
  }

  .page-service-web-production.web-paint-page .web-paint-issue-icon {
    width: 92px;
  }

  .page-service-web-production.web-paint-page .web-paint-issue-copy h3 {
    font-size: 28px !important;
    line-height: 1.25 !important;
  }
}

/* Final enforce: SP top running text size only */
@media (max-width: 760px) {
  .brand-kv.brand-kv-impact .brand-kv-impact-bgword {
    display: block !important;
    font-size: clamp(176px, 56vw, 304px) !important;
    animation: heroBgWordSlide 24s linear infinite !important;
  }
}

/* Final enforce: SP about CTA == service-link-btn */
@media (max-width: 760px) {
  .btn.btn-sub.tosoweb-about-cta {
    margin-top: 10px !important;
    min-height: 46px !important;
    border-radius: 8px !important;
    border: 1px solid #000 !important;
    background: #fff !important;
    color: #000 !important;
    font-size: 14px !important;
    font-weight: 700 !important;
    box-shadow: none !important;
    position: relative;
    overflow: hidden;
    isolation: isolate;
    z-index: 0;
    transition: color 0.32s ease, border-color 0.32s ease;
  }

  .btn.btn-sub.tosoweb-about-cta::before {
    content: "";
    position: absolute;
    top: -2px;
    right: -48%;
    bottom: -2px;
    left: -48%;
    z-index: -1;
    background: #000 !important;
    transform: translateX(-120%) skewX(-24deg);
    transition: transform 0.42s cubic-bezier(0.22, 0.61, 0.36, 1);
  }

  .btn.btn-sub.tosoweb-about-cta:hover,
  .btn.btn-sub.tosoweb-about-cta:focus-visible,
  .btn.btn-sub.tosoweb-about-cta:active {
    color: #fff !important;
    border-color: #000 !important;
  }

  .btn.btn-sub.tosoweb-about-cta:hover::before,
  .btn.btn-sub.tosoweb-about-cta:focus-visible::before,
  .btn.btn-sub.tosoweb-about-cta:active::before {
    transform: translateX(0) skewX(-24deg);
  }
}

/* Final enforce: white button -> black hover always keeps white text */
a.btn-sub:hover,
a.btn-sub:focus-visible,
a.btn-sub:active,
a.btn-outline:hover,
a.btn-outline:focus-visible,
a.btn-outline:active,
a.service-link-btn:hover,
a.service-link-btn:focus-visible,
a.service-link-btn:active,
a.tosoweb-about-cta:hover,
a.tosoweb-about-cta:focus-visible,
a.tosoweb-about-cta:active,
button.btn-sub:hover,
button.btn-sub:focus-visible,
button.btn-sub:active,
button.btn-outline:hover,
button.btn-outline:focus-visible,
button.btn-outline:active {
  color: #fff !important;
}

/* Final enforce v2: keep text white during dark-hover states (all pages) */
a.btn-sub:hover,
a.btn-sub:focus-visible,
a.btn-sub:active,
a.btn-sub:visited:hover,
a.btn-sub:visited:focus-visible,
a.btn-sub:visited:active,
a.btn-outline:hover,
a.btn-outline:focus-visible,
a.btn-outline:active,
a.btn-outline:visited:hover,
a.btn-outline:visited:focus-visible,
a.btn-outline:visited:active,
a.service-link-btn:hover,
a.service-link-btn:focus-visible,
a.service-link-btn:active,
a.service-link-btn:visited:hover,
a.service-link-btn:visited:focus-visible,
a.service-link-btn:visited:active,
a.tosoweb-about-cta:hover,
a.tosoweb-about-cta:focus-visible,
a.tosoweb-about-cta:active,
a.tosoweb-about-cta:visited:hover,
a.tosoweb-about-cta:visited:focus-visible,
a.tosoweb-about-cta:visited:active,
button.btn-sub:hover,
button.btn-sub:focus-visible,
button.btn-sub:active,
button.btn-outline:hover,
button.btn-outline:focus-visible,
button.btn-outline:active,
button.service-link-btn:hover,
button.service-link-btn:focus-visible,
button.service-link-btn:active,
button.tosoweb-about-cta:hover,
button.tosoweb-about-cta:focus-visible,
button.tosoweb-about-cta:active {
  color: #fff !important;
  -webkit-text-fill-color: #fff !important;
}

a.btn-sub:hover *,
a.btn-sub:focus-visible *,
a.btn-sub:active *,
a.btn-outline:hover *,
a.btn-outline:focus-visible *,
a.btn-outline:active *,
a.service-link-btn:hover *,
a.service-link-btn:focus-visible *,
a.service-link-btn:active *,
a.tosoweb-about-cta:hover *,
a.tosoweb-about-cta:focus-visible *,
a.tosoweb-about-cta:active *,
button.btn-sub:hover *,
button.btn-sub:focus-visible *,
button.btn-sub:active *,
button.btn-outline:hover *,
button.btn-outline:focus-visible *,
button.btn-outline:active *,
button.service-link-btn:hover *,
button.service-link-btn:focus-visible *,
button.service-link-btn:active *,
button.tosoweb-about-cta:hover *,
button.tosoweb-about-cta:focus-visible *,
button.tosoweb-about-cta:active * {
  color: #fff !important;
  -webkit-text-fill-color: #fff !important;
}

@media (min-width: 981px) {
  .front-page .topline,
  .home .topline,
  .page-home-impact .topline {
    display: none !important;
  }

  .front-page .site-header,
  .front-page .site-header.is-scrolled,
  .home .site-header,
  .home .site-header.is-scrolled,
  .page-home-impact .site-header,
  .page-home-impact .site-header.is-scrolled {
    position: absolute !important;
    top: 0;
    left: 0;
    right: 0;
    background: transparent !important;
    border-bottom: 0 !important;
    z-index: 70;
  }

  .front-page .header-modern,
  .front-page .site-header.is-scrolled .header-modern,
  .home .header-modern,
  .home .site-header.is-scrolled .header-modern,
  .page-home-impact .header-modern,
  .page-home-impact .site-header.is-scrolled .header-modern {
    background: transparent !important;
    border: 0 !important;
    box-shadow: none !important;
  }

  .page-home-impact::before {
    display: none !important;
  }

  .page-home-impact .brand-kv.brand-kv-impact {
    margin-bottom: 0 !important;
    padding-top: 18px !important;
    background: linear-gradient(120deg, #ff4d4d 0%, #ff9a3d 16%, #ffd84d 32%, #5bd85b 48%, #4db8ff 64%, #7a5cff 80%, #ff66c4 100%) !important;
    background-size: 240% 240% !important;
    animation: heroRainbowFlow 14s ease infinite !important;
  }

  .home .brand-kv-impact-bgword,
  .page-home-impact .brand-kv-impact-bgword {
    bottom: clamp(8px, 1.1vw, 16px) !important;
  }

  .front-page .tosoweb-summary,
  .home .tosoweb-summary,
  .page-home-impact .tosoweb-summary {
    padding-top: 0 !important;
    margin-top: 0 !important;
  }

  .page-home-impact .tosoweb-about-title {
    margin-top: 0 !important;
  }
}

/* Final enforce: web-paint eyecatch layout restore (PC/SP) */
.web-paint-page .lower-master-eyecatch.web-paint-eyecatch {
  position: relative !important;
  width: 100vw !important;
  margin: 0 !important;
  margin-left: calc(50% - 50vw) !important;
  margin-right: calc(50% - 50vw) !important;
  background: #050505 !important;
  color: #fff !important;
  min-height: calc(100vh - 96px) !important;
  overflow: hidden !important;
  display: flex !important;
  align-items: center !important;
  padding: 34px 0 !important;
}

.web-paint-page .lower-master-container {
  padding-top: 0 !important;
}

.web-paint-page .web-paint-top-head {
  position: absolute !important;
  top: 22px !important;
  left: 50% !important;
  transform: translateX(-50%) !important;
  width: 100vw !important;
  padding: 0 24px 10px !important;
  border-bottom: 0.5px solid rgba(255, 255, 255, 0.9) !important;
  z-index: 3 !important;
  color: #fff !important;
}

.web-paint-page .web-paint-top-head .lower-master-label {
  margin: 0 0 8px !important;
  padding-top: 0 !important;
  font-size: 11px !important;
  color: rgba(255, 255, 255, 0.82) !important;
  text-decoration: none !important;
  letter-spacing: 0.08em !important;
}

.web-paint-page .web-paint-top-head .lower-master-title {
  margin: 0 !important;
  padding: 0 !important;
  font-size: 20px !important;
  line-height: 1.2 !important;
  color: #fff !important;
}

.web-paint-page .web-paint-eyecatch-inner {
  position: relative !important;
  z-index: 2 !important;
  width: min(1200px, calc(100% - 48px)) !important;
  margin: 0 auto !important;
  text-align: center !important;
}

.web-paint-page .web-paint-eyecatch-main {
  margin: 0 !important;
  font-size: clamp(34px, 5vw, 66px) !important;
  line-height: 1.12 !important;
  font-weight: 900 !important;
  letter-spacing: 0.01em !important;
}

.web-paint-page .web-paint-eyecatch-sub {
  margin: 16px auto 0 !important;
  width: min(820px, 100%) !important;
  font-size: clamp(15px, 1.4vw, 20px) !important;
  line-height: 1.75 !important;
  color: rgba(255, 255, 255, 0.94) !important;
}

@media (max-width: 980px) {
  .web-paint-page .lower-master-eyecatch.web-paint-eyecatch {
    min-height: clamp(320px, 56vw, 500px) !important;
    padding: 18px 0 10px !important;
  }

  .web-paint-page .web-paint-eyecatch-inner {
    width: min(1200px, calc(100% - 28px)) !important;
  }

  .web-paint-page .web-paint-top-head {
    top: 14px !important;
    padding: 0 14px 8px !important;
  }
}

@media (max-width: 760px) {
  .web-paint-page .web-paint-eyecatch-kicker {
    margin-top: 30px !important;
  }

  .web-paint-page .web-paint-eyecatch-main {
    font-size: clamp(14.4px, 6vw, 25.2px) !important;
    line-height: 1.08 !important;
  }

  .web-paint-page .web-paint-eyecatch-sub {
    font-size: clamp(12px, 4vw, 16px) !important;
    line-height: 1.5 !important;
  }

  .web-paint-page .web-paint-scroll-cue {
    display: none !important;
  }
}

/* Final stabilize: PC top header/hero seam + about spacing (Chrome/Edge) */
@media (min-width: 981px) {
  .front-page .topline,
  .home .topline,
  .page-home-impact .topline {
    display: none !important;
  }

  .front-page .site-header,
  .home .site-header,
  .page-home-impact .site-header,
  .page-home-impact .site-header {
    position: absolute !important;
    top: 0 !important;
    left: 0 !important;
    right: 0 !important;
    border: 0 !important;
    background: transparent !important;
    box-shadow: none !important;
    z-index: 80 !important;
  }

  .front-page .site-header.is-scrolled,
  .home .site-header.is-scrolled,
  .page-home-impact .site-header.is-scrolled {
    position: fixed !important;
    top: 20px !important;
    left: 0 !important;
    right: 0 !important;
    background: transparent !important;
    z-index: 90 !important;
  }

  .front-page .header-modern,
  .home .header-modern,
  .page-home-impact .header-modern,
  .page-home-impact .header-modern {
    min-height: 92px !important;
    background: transparent !important;
    border: 0 !important;
    box-shadow: none !important;
  }

  .front-page .site-header.is-scrolled .header-modern,
  .home .site-header.is-scrolled .header-modern,
  .page-home-impact .site-header.is-scrolled .header-modern {
    width: calc(100% - 32px) !important;
    min-height: 50px !important;
    margin: 20px 16px 0 16px !important;
    padding: 0 22px !important;
    border-radius: 6px !important;
    background: rgba(17, 17, 17, 0.9) !important;
    box-shadow: 0 10px 24px rgba(20, 22, 33, 0.22) !important;
  }

  .home,
  .page-home-impact {
    position: relative !important;
    background: #e9e9eb !important;
    --home-impact-bg-height: clamp(860px, 72vw, 1200px) !important;
  }

  .home::before,
  .page-home-impact::before {
    display: block !important;
    content: "" !important;
    position: absolute !important;
    top: 0 !important;
    left: 0 !important;
    right: 0 !important;
    width: auto !important;
    height: var(--home-impact-bg-height) !important;
    background: linear-gradient(120deg, #ff4d4d 0%, #ff9a3d 16%, #ffd84d 32%, #5bd85b 48%, #4db8ff 64%, #7a5cff 80%, #ff66c4 100%) !important;
    background-size: 240% 240% !important;
    background-repeat: no-repeat !important;
    animation: heroRainbowFlow 14s ease infinite !important;
    will-change: background-position !important;
    pointer-events: none !important;
    z-index: 0 !important;
  }

  .home .brand-kv.brand-kv-impact,
  .page-home-impact .brand-kv.brand-kv-impact {
    position: relative !important;
    z-index: 1 !important;
    overflow: hidden !important;
    margin: 0 !important;
    padding-top: 48px !important;
    padding-bottom: 12px !important;
    background: transparent !important;
  }

  .front-page .brand-kv-impact-copy,
  .home .brand-kv-impact-copy,
  .page-home-impact .brand-kv-impact-copy {
    transform: scale(1.2) !important;
    transform-origin: left top !important;
  }

  .home .brand-kv-impact-bgword,
  .page-home-impact .brand-kv-impact-bgword {
    bottom: 0 !important;
  }

  /* Keep character above title/copy when overlap happens */
  .front-page .brand-kv-impact-copy,
  .home .brand-kv-impact-copy,
  .page-home-impact .brand-kv-impact-copy {
    position: relative !important;
    z-index: 2 !important;
  }

  .front-page .brand-kv-impact-visual,
  .home .brand-kv-impact-visual,
  .page-home-impact .brand-kv-impact-visual {
    position: relative !important;
    z-index: 4 !important;
  }

  .front-page .tosoweb-summary,
  .home .tosoweb-summary,
  .page-home-impact .tosoweb-summary {
    margin-top: 0 !important;
    padding-top: 50px !important;
    position: relative !important;
    z-index: 2 !important;
  }

  .front-page .tosoweb-about-title,
  .home .tosoweb-about-title,
  .page-home-impact .tosoweb-about-title {
    margin-top: 0 !important;
    line-height: 1.12 !important;
    overflow: visible !important;
  }

  .front-page .tosoweb-about-title-main,
  .front-page .tosoweb-about-title-mark,
  .home .tosoweb-about-title-main,
  .home .tosoweb-about-title-mark,
  .page-home-impact .tosoweb-about-title-main,
  .page-home-impact .tosoweb-about-title-mark {
    vertical-align: top !important;
  }
}


/* Final fix: header buttons on non-scrolled hover must keep black text on white bg */
@media (min-width: 981px) {
  .site-header:not(.is-scrolled) .header-actions .btn:hover,
  .site-header:not(.is-scrolled) .header-actions .btn:focus-visible {
    color: #000 !important;
    -webkit-text-fill-color: #000 !important;
  }

.site-header:not(.is-scrolled) .header-actions .btn:hover *,
.site-header:not(.is-scrolled) .header-actions .btn:focus-visible * {
  color: #000 !important;
  -webkit-text-fill-color: #000 !important;
}

/* TOP services buttons final lock (PC/SP) */
@media (min-width: 981px) {
  /* サービス紹介を見る */
  .tosoweb-services .services-intro-copy .btn.btn-sub {
    border: 1px solid #fff !important;
    background: transparent !important;
    color: #fff !important;
    -webkit-text-fill-color: #fff !important;
  }

  .tosoweb-services .services-intro-copy .btn.btn-sub:hover,
  .tosoweb-services .services-intro-copy .btn.btn-sub:focus-visible,
  .tosoweb-services .services-intro-copy .btn.btn-sub:active {
    background: #fff !important;
    border-color: #fff !important;
    color: #000 !important;
    -webkit-text-fill-color: #000 !important;
  }

  .tosoweb-services .services-intro-copy .btn.btn-sub:hover *,
  .tosoweb-services .services-intro-copy .btn.btn-sub:focus-visible *,
  .tosoweb-services .services-intro-copy .btn.btn-sub:active * {
    color: #000 !important;
    -webkit-text-fill-color: #000 !important;
  }

  /* WEB/SEO-AIO/運用支援/伴走コンサル 詳細を見る */
  .tosoweb-services .service-detail-main .btn.btn-sub {
    background: #000 !important;
    border: 1px solid #fff !important;
    color: #fff !important;
    -webkit-text-fill-color: #fff !important;
  }
}

@media (max-width: 760px) {
  /* SP: サービス紹介を見る hover */
  .tosoweb-services .services-intro-copy .btn.btn-sub:hover,
  .tosoweb-services .services-intro-copy .btn.btn-sub:focus-visible,
  .tosoweb-services .services-intro-copy .btn.btn-sub:active {
    background: #fff !important;
    border-color: #fff !important;
    opacity: 1 !important;
    color: #000 !important;
    -webkit-text-fill-color: #000 !important;
  }

  .tosoweb-services .services-intro-copy .btn.btn-sub:hover *,
  .tosoweb-services .services-intro-copy .btn.btn-sub:focus-visible *,
  .tosoweb-services .services-intro-copy .btn.btn-sub:active * {
    color: #000 !important;
    -webkit-text-fill-color: #000 !important;
  }
}
}

/* SP TOP: "会社の集客、止まっていませんか？" keep stable 2-line layout */
@media (max-width: 760px) {
  .front-page .tosoweb-summary,
  .home .tosoweb-summary,
  .page-home-impact .tosoweb-summary {
    padding-top: 40px !important;
  }

  .front-page .tosoweb-about-title,
  .home .tosoweb-about-title,
  .page-home-impact .tosoweb-about-title {
    margin-top: 30px !important;
    margin-bottom: 22px !important;
    font-size: clamp(30px, 9.2vw, 38px) !important;
    line-height: 1.2 !important;
    white-space: normal !important;
  }

  .front-page .tosoweb-about-title-main,
  .front-page .tosoweb-about-title-mark,
  .home .tosoweb-about-title-main,
  .home .tosoweb-about-title-mark,
  .page-home-impact .tosoweb-about-title-main,
  .page-home-impact .tosoweb-about-title-mark {
    display: block !important;
    white-space: nowrap !important;
  }
}



/* Final button contrast lock: ensure text color always inverts with bg */

/* 1) TOP services buttons: black/white -> white/black */
.tosoweb-services .service-detail-main .btn.btn-sub {
  background: #000 !important;
  border: 1px solid #fff !important;
  color: #fff !important;
  -webkit-text-fill-color: #fff !important;
}

.tosoweb-services .service-detail-main .btn.btn-sub:hover,
.tosoweb-services .service-detail-main .btn.btn-sub:focus-visible,
.tosoweb-services .service-detail-main .btn.btn-sub:active {
  background: #fff !important;
  border-color: #000 !important;
  color: #000 !important;
  -webkit-text-fill-color: #000 !important;
}

.tosoweb-services .service-detail-main .btn.btn-sub:hover *,
.tosoweb-services .service-detail-main .btn.btn-sub:focus-visible *,
.tosoweb-services .service-detail-main .btn.btn-sub:active * {
  color: #000 !important;
  -webkit-text-fill-color: #000 !important;
}

/* 2) White base -> dark hover buttons: keep white text on hover */
.btn-outline:hover,
.btn-outline:focus-visible,
.btn-outline:active,
.service-link-btn:hover,
.service-link-btn:focus-visible,
.service-link-btn:active,
.tosoweb-about-cta:hover,
.tosoweb-about-cta:focus-visible,
.tosoweb-about-cta:active,
.column-aside-cta-btn.is-secondary:hover,
.column-aside-cta-btn.is-secondary:focus-visible,
.column-aside-cta-btn.is-secondary:active {
  color: #fff !important;
  -webkit-text-fill-color: #fff !important;
}

.btn-outline:hover *,
.btn-outline:focus-visible *,
.btn-outline:active *,
.service-link-btn:hover *,
.service-link-btn:focus-visible *,
.service-link-btn:active *,
.tosoweb-about-cta:hover *,
.tosoweb-about-cta:focus-visible *,
.tosoweb-about-cta:active *,
.column-aside-cta-btn.is-secondary:hover *,
.column-aside-cta-btn.is-secondary:focus-visible *,
.column-aside-cta-btn.is-secondary:active * {
  color: #fff !important;
  -webkit-text-fill-color: #fff !important;
}

/* 3) Dark base -> light hover buttons: keep black text on hover */
.site-header:not(.is-scrolled) .header-actions .btn:hover,
.site-header:not(.is-scrolled) .header-actions .btn:focus-visible,
.site-header:not(.is-scrolled) .header-actions .btn:active,
.column-aside-cta-btn.is-primary:hover,
.column-aside-cta-btn.is-primary:focus-visible,
.column-aside-cta-btn.is-primary:active {
  color: #000 !important;
  -webkit-text-fill-color: #000 !important;
}

.site-header:not(.is-scrolled) .header-actions .btn:hover *,
.site-header:not(.is-scrolled) .header-actions .btn:focus-visible *,
.site-header:not(.is-scrolled) .header-actions .btn:active *,
.column-aside-cta-btn.is-primary:hover *,
.column-aside-cta-btn.is-primary:focus-visible *,
.column-aside-cta-btn.is-primary:active * {
  color: #000 !important;
  -webkit-text-fill-color: #000 !important;
}

/* TOP header behavior restore (matches previous working spec) */
@media (min-width: 981px) {
  .front-page .site-header,
  .home .site-header,
  .page-home-impact .site-header {
    background: transparent !important;
    border-bottom: 0 !important;
  }

  .front-page .site-header.is-scrolled,
  .home .site-header.is-scrolled,
  .page-home-impact .site-header.is-scrolled {
    top: 20px !important;
    background: transparent !important;
    border-bottom-color: transparent !important;
  }

  .front-page .site-header.is-scrolled .header-modern,
  .home .site-header.is-scrolled .header-modern,
  .page-home-impact .site-header.is-scrolled .header-modern {
    width: calc(100% - 32px) !important;
    min-height: 50px !important;
    margin: 20px 16px 0 !important;
    padding: 0 22px !important;
    border-radius: 6px !important;
    background: rgba(17, 17, 17, 0.9) !important;
    box-shadow: 0 10px 24px rgba(20, 22, 33, 0.22) !important;
    transform: translateZ(0) !important;
    will-change: transform !important;
    border: 0 !important;
  }

  .front-page .site-header.is-scrolled .brand-modern,
  .home .site-header.is-scrolled .brand-modern,
  .page-home-impact .site-header.is-scrolled .brand-modern {
    margin: 12px 0 !important;
    color: #fff !important;
    transform: scale(0.96) !important;
  }

  .front-page .site-header.is-scrolled .brand-logo,
  .home .site-header.is-scrolled .brand-logo,
  .page-home-impact .site-header.is-scrolled .brand-logo {
    filter: brightness(0) invert(1) !important;
  }

  .front-page .site-header.is-scrolled .nav-modern a,
  .home .site-header.is-scrolled .nav-modern a,
  .page-home-impact .site-header.is-scrolled .nav-modern a {
    color: #fff !important;
  }

  .front-page .site-header.is-scrolled .nav-modern a::after,
  .home .site-header.is-scrolled .nav-modern a::after,
  .page-home-impact .site-header.is-scrolled .nav-modern a::after {
    background: #fff !important;
  }
}

/* FINAL: TOP rainbow slide only (no header changes) */
@media (min-width: 981px) {
  .front-page,
  .home,
  .page-home-impact {
    position: relative !important;
    --home-impact-bg-height: calc(clamp(420px, 46vw, 740px) + 220px) !important;
    background: #fff !important;
  }

  .front-page::before,
  .home::before,
  .page-home-impact::before {
    display: block !important;
    content: "" !important;
    position: absolute !important;
    top: 0 !important;
    left: 0 !important;
    right: 0 !important;
    height: var(--home-impact-bg-height) !important;
    background: linear-gradient(120deg, #ff4d4d 0%, #ff9a3d 16%, #ffd84d 32%, #5bd85b 48%, #4db8ff 64%, #7a5cff 80%, #ff66c4 100%) !important;
    background-size: 240% 240% !important;
    background-repeat: no-repeat !important;
    background-position: 0% 50% !important;
    animation: heroRainbowFlow 14s ease-in-out infinite alternate !important;
    z-index: 0 !important;
    pointer-events: none !important;
    will-change: background-position !important;
  }

  .front-page .brand-kv.brand-kv-impact,
  .home .brand-kv.brand-kv-impact,
  .page-home-impact .brand-kv.brand-kv-impact {
    background: linear-gradient(120deg, #ff4d4d 0%, #ff9a3d 16%, #ffd84d 32%, #5bd85b 48%, #4db8ff 64%, #7a5cff 80%, #ff66c4 100%) !important;
    background-size: 240% 240% !important;
    background-repeat: no-repeat !important;
    background-position: 0% 50% !important;
    animation: heroRainbowFlow 14s ease-in-out infinite alternate !important;
    will-change: background-position !important;
    position: relative !important;
    z-index: 1 !important;
  }
}

/* FINAL FORCE: class-independent rainbow animation on hero element */
@media (min-width: 981px) {
  .brand-kv.brand-kv-impact {
    background: linear-gradient(120deg, #ff4d4d 0%, #ff9a3d 16%, #ffd84d 32%, #5bd85b 48%, #4db8ff 64%, #7a5cff 80%, #ff66c4 100%) !important;
    background-size: 240% 240% !important;
    background-repeat: no-repeat !important;
    background-position: 0% 50% !important;
    animation: heroRainbowForceFlow 14s linear infinite !important;
    animation-play-state: running !important;
    will-change: background-position !important;
  }
}

@keyframes heroRainbowForceFlow {
  0% { background-position: 0% 50%; }
  50% { background-position: 100% 50%; }
  100% { background-position: 0% 50%; }
}

/* TOP rainbow final override (desktop): single source + JS-driven smooth motion */
@media (min-width: 981px) {
  body.front-page,
  body.home,
  body.page-home-impact {
    --home-impact-bg-height: calc(clamp(420px, 46vw, 740px) + 220px);
    --hero-rainbow-pos: 30%;
    position: relative;
    background: #fff;
  }

  body.front-page::before,
  body.home::before,
  body.page-home-impact::before {
    display: block !important;
    content: "" !important;
    position: absolute !important;
    top: 0 !important;
    left: 0 !important;
    right: 0 !important;
    height: var(--home-impact-bg-height) !important;
    background: linear-gradient(120deg, #ff4d4d 0%, #ff9a3d 16%, #ffd84d 32%, #5bd85b 48%, #4db8ff 64%, #7a5cff 80%, #ff66c4 100%) !important;
    background-size: 240% 240% !important;
    background-repeat: no-repeat !important;
    background-position: var(--hero-rainbow-pos) 50% !important;
    animation: none !important;
    z-index: 0 !important;
    pointer-events: none !important;
    will-change: background-position !important;
  }

  body.front-page .brand-kv.brand-kv-impact,
  body.home .brand-kv.brand-kv-impact,
  body.page-home-impact .brand-kv.brand-kv-impact {
    background: transparent !important;
    animation: none !important;
    position: relative;
    z-index: 1;
  }
}
