:root {
  --ink: #0c1824;
  --muted: #657789;
  --line: #dce8ec;
  --paper: #f7fafb;
  --white: #ffffff;
  --blue: #10385f;
  --deep: #07131f;
  --cyan: #35c2dd;
  --green: #48b996;
  --radius: 8px;
  --max: 1160px;
}

* {
  box-sizing: border-box;
}

html {
  overflow-x: hidden;
  scroll-behavior: smooth;
}

body {
  margin: 0;
  overflow-x: hidden;
  font-family: "Zen Kaku Gothic New", "Noto Sans JP", system-ui, sans-serif;
  color: var(--ink);
  background: var(--paper);
  letter-spacing: 0;
}

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

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

.site-header {
  position: fixed;
  top: 0;
  left: 0;
  z-index: 20;
  width: 100%;
  display: grid;
  grid-template-columns: auto 1fr auto auto;
  align-items: center;
  gap: 30px;
  padding: 24px clamp(20px, 4vw, 56px);
  color: var(--white);
  transition: background 0.28s ease, color 0.28s ease, box-shadow 0.28s ease;
}

.site-header.is-scrolled,
.site-header.is-open {
  color: var(--ink);
  background: rgba(255, 255, 255, 0.96);
  box-shadow: 0 18px 50px rgba(12, 24, 36, 0.08);
}

.brand {
  display: inline-flex;
  align-items: center;
  width: 176px;
  height: 38px;
}

.brand-logo {
  width: 176px;
  height: auto;
  object-fit: contain;
  transition: filter 0.25s ease;
}

.site-header:not(.is-scrolled):not(.is-open) .brand-logo {
  filter: brightness(0) invert(1);
}

.nav {
  display: flex;
  justify-content: flex-end;
  gap: 28px;
  font-size: 0.82rem;
  font-weight: 900;
}

.header-contact,
.button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 46px;
  padding: 0 21px;
  border-radius: var(--radius);
  font-weight: 900;
  font-size: 0.9rem;
  white-space: nowrap;
}

.header-contact {
  color: var(--ink);
  background: var(--white);
}

.site-header.is-scrolled .header-contact,
.site-header.is-open .header-contact {
  color: var(--white);
  background: var(--ink);
}

.menu-button {
  display: none;
  width: 44px;
  height: 44px;
  border: 0;
  border-radius: var(--radius);
  color: inherit;
  background: rgba(255, 255, 255, 0.18);
}

.menu-button span {
  display: block;
  width: 20px;
  height: 2px;
  margin: 5px auto;
  background: currentColor;
}

.hero {
  position: relative;
  min-height: 760px;
  padding: 174px clamp(22px, 6vw, 76px) 78px;
  color: var(--white);
  overflow: hidden;
  background:
    radial-gradient(circle at 78% 30%, rgba(53, 194, 221, 0.28), transparent 26%),
    radial-gradient(circle at 18% 78%, rgba(72, 185, 150, 0.18), transparent 28%),
    linear-gradient(135deg, #06111c 0%, #0d2331 54%, #07131f 100%);
}

.hero::after {
  position: absolute;
  inset: 0;
  content: "";
  background:
    linear-gradient(90deg, rgba(7, 19, 31, 0.76) 0%, rgba(7, 19, 31, 0.52) 52%, rgba(7, 19, 31, 0.12) 100%),
    linear-gradient(rgba(255, 255, 255, 0.035) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255, 255, 255, 0.035) 1px, transparent 1px);
  background-size: auto, 72px 72px, 72px 72px;
  pointer-events: none;
}

.hero-visual {
  position: absolute;
  inset: 0;
  overflow: hidden;
}

.motion-grid {
  position: absolute;
  inset: -8%;
  opacity: 0;
  background:
    linear-gradient(115deg, transparent 0 45%, rgba(53, 194, 221, 0.18) 45.2% 45.8%, transparent 46% 100%),
    linear-gradient(25deg, transparent 0 48%, rgba(255, 255, 255, 0.12) 48.2% 48.7%, transparent 49% 100%);
  animation: gridEnter 1.2s 0.25s ease-out forwards, gridFlow 18s 1.2s linear infinite;
}

.motion-x {
  position: absolute;
  width: clamp(340px, 52vw, 820px);
  height: clamp(120px, 18vw, 270px);
  clip-path: polygon(0 48%, 100% 0, 72% 100%);
  mix-blend-mode: screen;
  will-change: transform, opacity;
}

.motion-x-a {
  top: 17%;
  right: 4%;
  background: linear-gradient(90deg, rgba(72, 185, 150, 0), rgba(53, 194, 221, 0.94));
  animation:
    xSliceInA 1.15s cubic-bezier(0.16, 1, 0.3, 1) forwards,
    xBreatheA 7s 1.15s ease-in-out infinite alternate;
}

.motion-x-b {
  right: -8%;
  top: 30%;
  opacity: 0;
  background: linear-gradient(90deg, rgba(255, 255, 255, 0), rgba(72, 185, 150, 0.78));
  animation:
    xSliceInB 1.2s 0.12s cubic-bezier(0.16, 1, 0.3, 1) forwards,
    xBreatheB 8s 1.25s ease-in-out infinite alternate;
}

.motion-sweep {
  position: absolute;
  width: 58vw;
  height: 2px;
  opacity: 0;
  background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.92), transparent);
  transform-origin: center;
  will-change: transform, opacity;
}

.sweep-a {
  top: 32%;
  right: -8%;
  transform: rotate(-34deg) translateX(-80vw);
  animation: sweepAcrossA 0.8s 0.18s ease-out forwards;
}

.sweep-b {
  top: 47%;
  right: -12%;
  transform: rotate(146deg) translateX(80vw);
  animation: sweepAcrossB 0.9s 0.26s ease-out forwards;
}

.motion-ring {
  position: absolute;
  top: 19%;
  right: 20%;
  width: clamp(190px, 24vw, 340px);
  aspect-ratio: 1;
  border: 1px solid rgba(255, 255, 255, 0.18);
  border-radius: 50%;
  box-shadow: inset 0 0 0 42px rgba(255, 255, 255, 0.018);
  opacity: 0;
  animation: ringAppear 1.1s 0.7s ease-out forwards, slowSpin 22s 1.8s linear infinite;
}

.motion-ring::before,
.motion-ring::after {
  position: absolute;
  content: "";
  border-radius: 50%;
  background: var(--cyan);
}

.motion-ring::before {
  top: 16%;
  left: 8%;
  width: 10px;
  height: 10px;
}

.motion-ring::after {
  right: 18%;
  bottom: 8%;
  width: 7px;
  height: 7px;
  background: var(--green);
}

.motion-panel {
  position: absolute;
  border: 1px solid rgba(255, 255, 255, 0.12);
  border-radius: var(--radius);
  background: rgba(255, 255, 255, 0.045);
}

.panel-a {
  right: 14%;
  top: 48%;
  width: 220px;
  height: 118px;
  opacity: 0;
  animation: panelEnter 0.9s 0.8s ease-out forwards, panelFloat 7s 1.7s ease-in-out infinite alternate;
}

.panel-b {
  right: 31%;
  bottom: 17%;
  width: 148px;
  height: 86px;
  opacity: 0;
  animation: panelEnter 0.9s 0.95s ease-out forwards, panelFloat 8.5s 1.85s ease-in-out infinite alternate-reverse;
}

.motion-dot {
  position: absolute;
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: var(--cyan);
  box-shadow: 0 0 28px rgba(53, 194, 221, 0.8);
}

.dot-a {
  top: 36%;
  right: 40%;
  animation: dotPulse 2.8s 1s ease-in-out infinite;
}

.dot-b {
  top: 62%;
  right: 21%;
  animation: dotPulse 3.4s 1.1s ease-in-out infinite;
}

.dot-c {
  bottom: 24%;
  right: 48%;
  background: var(--green);
  animation: dotPulse 3s 1.2s ease-in-out infinite;
}

.hero-content {
  position: relative;
  z-index: 1;
}

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

.hero h1 {
  margin: 0;
  font-size: clamp(2.7rem, 5.15vw, 5.45rem);
  line-height: 1.08;
  letter-spacing: 0;
  font-weight: 900;
  text-wrap: balance;
}

.hero h1 > span {
  display: block;
  opacity: 0;
  transform: translateY(36px);
  animation: titleRise 0.9s cubic-bezier(0.16, 1, 0.3, 1) forwards;
}

.hero h1 > span:nth-child(2) {
  animation-delay: 0.16s;
}

.hero h1 > span:nth-child(3) {
  animation-delay: 0.28s;
}

.hero-line-tech {
  white-space: nowrap;
}

.hero-nowrap {
  white-space: nowrap;
}

.hero-lead {
  max-width: 700px;
  margin: 30px 0 0;
  color: rgba(255, 255, 255, 0.86);
  font-size: clamp(1rem, 1.5vw, 1.22rem);
  line-height: 2;
  font-weight: 700;
  opacity: 0;
  transform: translateY(22px);
  animation: titleRise 0.9s 0.32s cubic-bezier(0.16, 1, 0.3, 1) forwards;
}

section {
  scroll-margin-top: 110px;
  padding: 104px clamp(22px, 6vw, 76px);
}

.service,
.concept,
.voice,
.news,
.recruit,
.company,
.contact {
  max-width: calc(var(--max) + 152px);
  margin: 0 auto;
}

.section-head {
  display: grid;
  grid-template-columns: 220px minmax(0, 1fr);
  gap: 58px;
  margin-bottom: 60px;
}

.eyebrow {
  margin: 0 0 16px;
  color: var(--green);
  font-family: "Oswald", sans-serif;
  font-size: 0.9rem;
  font-weight: 700;
  text-transform: uppercase;
}

.section-head h2,
.company h2,
.recruit h2,
.contact h2 {
  margin: 0;
  font-size: clamp(2rem, 4.4vw, 4.5rem);
  line-height: 1.13;
  font-weight: 900;
  text-wrap: balance;
}

.service-list {
  border-top: 1px solid var(--line);
}

.service-item {
  display: grid;
  grid-template-columns: 170px minmax(0, 1fr);
  gap: 60px;
  padding: 46px 0;
  border-bottom: 1px solid var(--line);
}

.service-number {
  margin: 0;
  color: var(--blue);
  font-family: "Oswald", sans-serif;
  font-size: 3.2rem;
  font-weight: 700;
}

.service-item h3 {
  margin: 0 0 24px;
  font-size: clamp(1.55rem, 2.8vw, 2.7rem);
  line-height: 1.28;
  font-weight: 900;
}

.service-item h4 {
  margin: 30px 0 10px;
  color: var(--blue);
  font-size: 1.18rem;
}

.service-item p,
.mission-grid p,
.voice-grid p,
.company-copy p {
  margin: 0;
  color: var(--muted);
  font-size: 1.03rem;
  line-height: 2.05;
  font-weight: 700;
}

.service-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  margin-top: 28px;
}

.service-button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 52px;
  padding: 0 22px;
  border-radius: var(--radius);
  font-weight: 900;
  transition: transform 0.2s ease, box-shadow 0.2s ease, background 0.2s ease;
}

.service-button::after {
  margin-left: 12px;
  content: "↗";
  font-size: 0.95rem;
}

.service-button.primary {
  color: var(--white);
  background: var(--ink);
  box-shadow: 0 14px 34px rgba(12, 24, 36, 0.16);
}

.service-button.secondary {
  border: 1px solid rgba(16, 56, 95, 0.2);
  color: var(--blue);
  background: var(--white);
}

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

.service-button.primary:hover {
  background: var(--blue);
}

.device-mock {
  position: relative;
  width: min(100vw - 44px, 1080px);
  margin: 44px 0 14px calc((170px + 60px) * -1);
  padding: 52px 38px 34px;
  overflow: hidden;
  border-radius: var(--radius);
  background:
    radial-gradient(circle at 76% 28%, rgba(53, 194, 221, 0.13), transparent 28%),
    linear-gradient(180deg, #ffffff, #f5f7f7);
}

.laptop-device {
  position: relative;
  width: min(900px, 94%);
  margin: 0 auto;
}

.laptop-screen {
  position: relative;
  aspect-ratio: 16 / 9;
  overflow: hidden;
  border: 14px solid #080a0d;
  border-bottom-width: 18px;
  border-radius: 16px 16px 8px 8px;
  background: #efefeb;
  box-shadow: inset 0 0 0 1px rgba(255, 255, 255, 0.18), 0 26px 80px rgba(12, 24, 36, 0.22);
}

.laptop-camera {
  position: absolute;
  top: 8px;
  left: 50%;
  z-index: 2;
  width: 7px;
  height: 7px;
  border-radius: 50%;
  background: #1e2227;
  transform: translateX(-50%);
}

.laptop-screen::after {
  position: absolute;
  top: -12%;
  left: 6%;
  width: 34%;
  height: 140%;
  content: "";
  opacity: 0.12;
  background: linear-gradient(105deg, transparent, #ffffff 42%, transparent 68%);
  transform: rotate(18deg);
  pointer-events: none;
}

.laptop-base {
  position: relative;
  height: 20px;
  margin: 0 -9%;
  border-radius: 0 0 40px 40px;
  background: linear-gradient(90deg, #bfc2c5, #f0f0ef 18%, #9da1a5 50%, #f3f3f2 82%, #aeb2b5);
  box-shadow: 0 18px 36px rgba(12, 24, 36, 0.16);
}

.laptop-base span {
  position: absolute;
  top: 0;
  left: 50%;
  width: 130px;
  height: 10px;
  border-radius: 0 0 14px 14px;
  background: linear-gradient(180deg, #9fa3a6, #d9dada);
  transform: translateX(-50%);
}

.mock-app {
  width: 100%;
  height: 100%;
  min-width: 0;
}

.caremaru-desktop {
  display: grid;
  grid-template-columns: 108px minmax(0, 1fr);
  color: #171a22;
  background: #efefeb;
}

.mock-sidebar {
  display: grid;
  align-content: start;
  gap: 20px;
  border-right: 1px solid #deded8;
  background: #ffffff;
}

.mock-logo {
  display: flex;
  align-items: center;
  gap: 7px;
  min-height: 30px;
  padding: 0 8px;
  border-bottom: 1px solid #deded8;
  font-size: 0.6rem;
  font-weight: 900;
}

.mock-logo img {
  width: 17px;
  height: 17px;
  flex: 0 0 17px;
  display: block;
}

.mock-sidebar nav {
  display: grid;
  gap: 16px;
  padding: 0 9px;
}

.mock-sidebar nav span {
  color: #20242b;
  font-size: 0.5rem;
  font-weight: 900;
  white-space: nowrap;
}

.mock-sidebar nav span.active {
  color: #11161d;
}

.mock-main {
  min-width: 0;
}

.mock-topbar {
  display: flex;
  align-items: center;
  justify-content: space-between;
  min-height: 30px;
  padding: 0 12px 0 18px;
  border-bottom: 1px solid #deded8;
  background: #ffffff;
}

.mock-topbar div,
.mock-topbar small {
  display: flex;
  align-items: center;
  gap: 10px;
}

.mock-topbar strong {
  color: #118c4b;
  font-size: 0.5rem;
  font-weight: 900;
}

.mock-topbar span,
.mock-topbar em,
.mock-topbar i {
  color: #6a6f7b;
  font-size: 0.5rem;
  font-style: normal;
  font-weight: 800;
}

.mock-appbar {
  display: flex;
  align-items: center;
  gap: 16px;
  min-height: 30px;
  padding: 0 12px;
  border-bottom: 1px solid #deded8;
  background: #ffffff;
  color: #171a22;
}

.mock-brand {
  display: flex;
  align-items: center;
  gap: 8px;
  font-size: 0.6rem;
  font-weight: 900;
}

.mock-brand span {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: #24c229;
}

.mock-appbar small {
  margin-left: auto;
  color: #6a6f7b;
  font-weight: 700;
  font-size: 0.58rem;
}

.mock-workspace {
  display: block;
  height: calc(100% - 30px);
  min-height: 0;
  max-height: none;
  padding: 0;
  overflow: hidden;
  background: #efefeb;
}

.setup-screen {
  min-height: 100%;
}

.setup-inner {
  width: min(520px, 66%);
  margin: 0 auto;
  padding: 18px 0 20px;
}

.setup-inner h4 {
  margin: 0;
  color: #171a22;
  font-size: 0.78rem;
  font-weight: 900;
}

.setup-lead {
  margin: 3px 0 15px;
  color: #767b86;
  font-size: 0.5rem;
  font-weight: 700;
}

.setup-progress,
.setup-list article {
  border-radius: 12px;
  background: #ffffff;
  box-shadow: 0 4px 18px rgba(12, 24, 36, 0.08);
}

.setup-progress {
  padding: 12px 14px;
  margin-bottom: 9px;
}

.setup-progress h5 {
  margin: 0 0 8px;
  color: #171a22;
  font-size: 0.6rem;
  font-weight: 900;
}

.setup-progress div {
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  gap: 16px;
  align-items: center;
}

.setup-progress span {
  height: 6px;
  border-radius: 999px;
  background: #24c229;
}

.setup-progress em {
  color: #6b707b;
  font-size: 0.5rem;
  font-style: normal;
  font-weight: 900;
}

.setup-list {
  display: grid;
  gap: 9px;
}

.setup-list article {
  display: grid;
  grid-template-columns: auto minmax(0, 1fr) auto;
  gap: 8px;
  align-items: start;
  padding: 10px 12px;
}

.setup-list span {
  display: inline-grid;
  place-items: center;
  min-width: 26px;
  padding: 2px 6px;
  border: 1px solid #90e49a;
  border-radius: 999px;
  color: #118023;
  background: #eaffed;
  font-size: 0.46rem;
  font-weight: 900;
}

.setup-list h5 {
  margin: 0 0 3px;
  color: #171a22;
  font-size: 0.58rem;
  font-weight: 900;
}

.setup-list p {
  margin: 0;
  color: #767b86;
  font-size: 0.48rem;
  line-height: 1.35;
  font-weight: 700;
}

.setup-list b {
  color: #7d828d;
  font-size: 0.64rem;
}

.concept {
  overflow: hidden;
}

.section-sub {
  margin: 0 0 28px;
  color: var(--muted);
  font-weight: 900;
}

.statement {
  padding: 36px 0;
  border-top: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
  color: var(--ink);
  font-size: clamp(2.2rem, 6.4vw, 6.2rem);
  font-weight: 900;
  line-height: 1.08;
}

.mission-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 1px;
  margin-top: 54px;
  background: var(--line);
}

.mission-grid article {
  min-height: 330px;
  padding: 38px;
  background: var(--white);
}

.mission-grid span {
  color: var(--blue);
  font-family: "Oswald", sans-serif;
  font-size: 0.88rem;
  font-weight: 700;
}

.mission-grid h3 {
  margin: 44px 0 18px;
  font-size: clamp(1.45rem, 2.7vw, 2.5rem);
  line-height: 1.25;
}

.voice-lead {
  margin: -34px 0 48px 278px;
  color: var(--muted);
  font-size: 1.05rem;
  font-weight: 900;
}

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

.voice-grid article {
  min-height: 280px;
  padding: 30px;
  border: 1px solid var(--line);
  background: var(--white);
}

.voice-grid span {
  display: block;
  margin-top: 30px;
  color: var(--blue);
  font-weight: 900;
}

.news-list {
  border-top: 1px solid var(--line);
}

.news-list button {
  display: grid;
  grid-template-columns: 130px 130px minmax(0, 1fr);
  gap: 28px;
  align-items: start;
  width: 100%;
  padding: 28px 0;
  border-bottom: 1px solid var(--line);
  border-top: 0;
  border-right: 0;
  border-left: 0;
  color: inherit;
  text-align: left;
  background: transparent;
  cursor: pointer;
  font: inherit;
  transition: background 0.2s ease, padding-left 0.2s ease;
}

.news-list time,
.news-list span {
  color: var(--muted);
  font-family: "Oswald", sans-serif;
  font-weight: 700;
}

.news-list span {
  color: var(--blue);
}

.news-list p {
  margin: 0;
  font-size: 1.08rem;
  font-weight: 900;
  line-height: 1.6;
}

.news-list small {
  grid-column: 3;
  color: var(--muted);
  font-size: 0.94rem;
  font-weight: 700;
  line-height: 1.75;
}

.news-list button:hover {
  padding-left: 12px;
  background: rgba(16, 56, 95, 0.035);
}

.news-modal[hidden] {
  display: none;
}

.news-modal {
  position: fixed;
  inset: 0;
  z-index: 40;
  display: grid;
  place-items: center;
  padding: 22px;
}

.news-modal-backdrop {
  position: absolute;
  inset: 0;
  background: rgba(7, 19, 31, 0.62);
}

.news-modal-panel {
  position: relative;
  z-index: 1;
  width: min(720px, 100%);
  max-height: min(760px, 88vh);
  padding: clamp(26px, 5vw, 48px);
  overflow: auto;
  border-radius: var(--radius);
  background: var(--white);
  box-shadow: 0 28px 90px rgba(7, 19, 31, 0.28);
}

.news-modal-close {
  position: absolute;
  top: 18px;
  right: 18px;
  display: grid;
  place-items: center;
  width: 38px;
  height: 38px;
  border: 1px solid var(--line);
  border-radius: 50%;
  color: var(--ink);
  background: var(--white);
  cursor: pointer;
  font-size: 1.4rem;
  line-height: 1;
}

.news-modal-meta {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  margin-bottom: 22px;
  color: var(--blue);
  font-family: "Oswald", sans-serif;
  font-weight: 700;
}

.news-modal h3 {
  margin: 0;
  font-size: clamp(1.8rem, 4vw, 3rem);
  line-height: 1.25;
}

.news-modal p {
  margin: 22px 0 0;
  color: var(--muted);
  font-weight: 800;
  line-height: 1.9;
}

.news-modal-body {
  margin-top: 30px;
  padding-top: 24px;
  border-top: 1px solid var(--line);
  color: var(--ink);
  font-weight: 700;
  line-height: 2;
}

.news-modal-body p {
  margin: 0 0 16px;
}

.recruit {
  color: var(--white);
  background:
    linear-gradient(135deg, rgba(53, 194, 221, 0.24), transparent 52%),
    var(--blue);
}

.recruit p:not(.eyebrow) {
  max-width: 720px;
  margin: 28px 0 36px;
  color: rgba(255, 255, 255, 0.82);
  font-size: 1.08rem;
  font-weight: 900;
}

.button.primary {
  color: var(--ink);
  background: var(--white);
}

.company {
  display: grid;
  grid-template-columns: 0.78fr 1.22fr;
  gap: 62px;
}

.company-table {
  margin: 0;
  border-top: 1px solid var(--line);
}

.company-table div {
  display: grid;
  grid-template-columns: 150px 1fr;
  gap: 28px;
  padding: 24px 0;
  border-bottom: 1px solid var(--line);
}

.company-table dt {
  color: var(--muted);
  font-weight: 900;
}

.company-table dd {
  margin: 0;
  line-height: 1.85;
  font-weight: 900;
}

.contact {
  display: grid;
  grid-template-columns: 0.85fr 1.15fr;
  gap: 48px;
  align-items: start;
  margin-bottom: 60px;
  color: var(--white);
  background: var(--ink);
}

.contact-form {
  display: grid;
  gap: 18px;
  padding: clamp(24px, 4vw, 38px);
  border-radius: var(--radius);
  color: var(--ink);
  background: var(--white);
}

.contact-form h3 {
  margin: 0 0 6px;
  font-size: clamp(1.3rem, 2vw, 1.7rem);
}

.contact-form label {
  display: grid;
  gap: 8px;
  font-weight: 900;
}

.contact-form label > span,
.privacy-check-link,
.privacy-agree {
  color: var(--ink);
  font-size: 0.92rem;
}

.contact-form b {
  display: inline-grid;
  place-items: center;
  min-width: 42px;
  margin-right: 8px;
  padding: 3px 8px;
  border-radius: 999px;
  color: var(--white);
  background: var(--green);
  font-size: 0.72rem;
  font-weight: 900;
}

.contact-form input,
.contact-form select,
.contact-form textarea {
  width: 100%;
  min-height: 48px;
  padding: 12px 14px;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  color: var(--ink);
  background: #f8fbfc;
  font: inherit;
  font-weight: 900;
}

.contact-form textarea {
  min-height: 150px;
  resize: vertical;
}

.privacy-check-link {
  color: var(--blue);
  font-weight: 900;
}

.privacy-check-link strong {
  color: #c92828;
}

.privacy-agree {
  display: flex !important;
  grid-template-columns: none;
  flex-direction: row;
  align-items: center;
  gap: 10px !important;
}

.privacy-agree input {
  width: 18px;
  min-height: 18px;
}

.contact-form button {
  justify-self: start;
  min-width: 150px;
  min-height: 52px;
  border: 0;
  border-radius: var(--radius);
  color: var(--white);
  background: var(--ink);
  cursor: pointer;
  font: inherit;
  font-weight: 900;
}

.footer {
  display: grid;
  grid-template-columns: auto 1fr auto;
  align-items: center;
  gap: 34px;
  padding: 36px clamp(22px, 6vw, 76px);
  border-top: 1px solid var(--line);
  background: var(--white);
}

.footer-links {
  display: flex;
  flex-wrap: wrap;
  gap: 18px;
  color: var(--muted);
  font-size: 0.86rem;
  font-weight: 900;
}

.footer p {
  margin: 0;
  color: var(--muted);
  font-size: 0.84rem;
  font-weight: 900;
}

.policy-page {
  background: var(--white);
}

.policy-main {
  padding: 150px clamp(22px, 6vw, 76px) 90px;
}

.policy-content {
  max-width: 880px;
  margin: 0 auto;
}

.policy-content h1 {
  margin: 0 0 40px;
  font-size: clamp(2.2rem, 5vw, 4.4rem);
  line-height: 1.12;
}

.policy-content h2 {
  margin: 42px 0 14px;
  font-size: clamp(1.2rem, 2.2vw, 1.65rem);
  line-height: 1.5;
}

.policy-content p {
  margin: 0 0 16px;
  color: var(--muted);
  font-size: 1rem;
  font-weight: 700;
  line-height: 2;
}

[data-reveal] {
  opacity: 0;
  transform: translateY(42px);
  transition: opacity 0.85s cubic-bezier(0.16, 1, 0.3, 1), transform 0.85s cubic-bezier(0.16, 1, 0.3, 1);
}

[data-reveal].is-visible {
  opacity: 1;
  transform: translateY(0);
}

@keyframes titleRise {
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

@keyframes gridFlow {
  to {
    transform: translate3d(-72px, 72px, 0);
  }
}

@keyframes gridEnter {
  from {
    opacity: 0;
    transform: scale(1.04);
  }

  to {
    opacity: 0.42;
    transform: scale(1);
  }
}

@keyframes xSliceInA {
  from {
    opacity: 0;
    transform: translate3d(-92vw, -18vh, 0) rotate(-34deg) scaleX(1.18);
  }

  70% {
    opacity: 1;
  }

  to {
    opacity: 0.96;
    transform: translate3d(0, 0, 0) rotate(-34deg) scaleX(1);
  }
}

@keyframes xSliceInB {
  from {
    opacity: 0;
    transform: translate3d(92vw, 18vh, 0) rotate(146deg) scaleX(1.18);
  }

  70% {
    opacity: 0.88;
  }

  to {
    opacity: 0.72;
    transform: translate3d(0, 0, 0) rotate(146deg) scaleX(1);
  }
}

@keyframes xBreatheA {
  from {
    transform: translate3d(0, 0, 0) rotate(-34deg) scaleX(1);
  }

  to {
    transform: translate3d(-28px, 20px, 0) rotate(-34deg) scaleX(1.04);
  }
}

@keyframes xBreatheB {
  from {
    transform: translate3d(0, 0, 0) rotate(146deg) scaleX(1);
  }

  to {
    transform: translate3d(22px, -18px, 0) rotate(146deg) scaleX(1.04);
  }
}

@keyframes sweepAcrossA {
  0% {
    opacity: 0;
    transform: rotate(-34deg) translateX(-80vw);
  }

  24% {
    opacity: 0.9;
  }

  100% {
    opacity: 0;
    transform: rotate(-34deg) translateX(42vw);
  }
}

@keyframes sweepAcrossB {
  0% {
    opacity: 0;
    transform: rotate(146deg) translateX(80vw);
  }

  24% {
    opacity: 0.72;
  }

  100% {
    opacity: 0;
    transform: rotate(146deg) translateX(-42vw);
  }
}

@keyframes ringAppear {
  from {
    opacity: 0;
    transform: scale(0.82);
  }

  to {
    opacity: 1;
    transform: scale(1);
  }
}

@keyframes slowSpin {
  to {
    transform: rotate(360deg);
  }
}

@keyframes panelFloat {
  from {
    transform: translateY(0);
  }

  to {
    transform: translateY(-22px);
  }
}

@keyframes panelEnter {
  from {
    opacity: 0;
    transform: translateY(18px);
  }

  to {
    opacity: 1;
    transform: translateY(0);
  }
}

@keyframes dotPulse {
  0%,
  100% {
    opacity: 0.35;
    transform: scale(0.86);
  }

  50% {
    opacity: 1;
    transform: scale(1.35);
  }
}

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

@media (max-width: 900px) {
  .site-header {
    grid-template-columns: auto 1fr auto;
    gap: 14px;
  }

  .brand,
  .brand-logo {
    width: 154px;
  }

  .nav {
    position: absolute;
    top: 80px;
    left: 18px;
    right: 18px;
    display: none;
    flex-direction: column;
    padding: 18px;
    border: 1px solid var(--line);
    border-radius: var(--radius);
    color: var(--ink);
    background: var(--white);
  }

  .nav.is-open {
    display: flex;
  }

  .header-contact {
    display: none;
  }

  .menu-button {
    display: block;
    justify-self: end;
  }

  .hero {
    min-height: 760px;
    padding-top: 138px;
  }

  .section-head,
  .service-item,
  .company,
  .contact,
  .news-list button {
    grid-template-columns: 1fr;
  }

  .mission-grid,
  .voice-grid {
    grid-template-columns: 1fr;
  }

  .voice-lead {
    margin-left: 0;
  }

  .news-list small {
    grid-column: 1;
  }

  .footer {
    grid-template-columns: 1fr;
  }

  .device-mock {
    width: 100%;
    margin-left: 0;
  }

  .mock-app {
    min-width: 0;
  }

  .laptop-device {
    width: 96%;
    margin: 0 auto;
  }
}

@media (max-width: 620px) {
  .site-header {
    padding: 18px 20px;
    color: var(--ink);
    background: var(--white);
    box-shadow: 0 12px 34px rgba(12, 24, 36, 0.08);
  }

  .site-header:not(.is-scrolled):not(.is-open) .brand-logo {
    filter: none;
  }

  .brand,
  .brand-logo {
    width: 132px;
  }

  .menu-button {
    width: 40px;
    height: 40px;
    background: transparent;
  }

  .hero {
    min-height: 780px;
    padding-bottom: 58px;
  }

  .hero h1 {
    font-size: clamp(2.35rem, 10.5vw, 3.45rem);
    line-height: 1.08;
  }

  .hero-line-tech {
    white-space: normal;
  }

  .hero-line-tech > span {
    display: inline-block;
  }

  section {
    scroll-margin-top: 92px;
    padding: 70px 24px;
  }

  .service-item {
    padding: 36px 0;
  }

  .service-number {
    font-size: 1.2rem;
  }

  .service-item h3 {
    margin-bottom: 18px;
    font-size: 1.55rem;
    line-height: 1.45;
  }

  .service-item h4 {
    font-size: 1.02rem;
  }

  .service-item p,
  .mission-grid p,
  .voice-grid p,
  .company-copy p {
    font-size: 0.92rem;
    line-height: 2;
  }

  .service-actions {
    display: grid;
    gap: 12px;
    max-width: 300px;
    margin: 24px auto 0;
  }

  .service-button {
    min-height: 50px;
    padding: 0 16px;
    font-size: 0.88rem;
  }

  .statement {
    font-size: clamp(2.1rem, 11vw, 4rem);
  }

  .company-table div {
    grid-template-columns: 1fr;
    gap: 8px;
  }

  .device-mock {
    width: min(100%, 360px);
    margin: 32px auto 14px;
    padding: 18px 10px 16px;
  }

  .laptop-device {
    width: 94%;
  }

  .laptop-screen {
    display: block;
    border-width: 7px;
    border-bottom-width: 10px;
    border-radius: 12px 12px 6px 6px;
  }

  .laptop-base {
    height: 12px;
  }

  .mock-app {
    min-width: 0;
  }

  .caremaru-desktop {
    position: absolute;
    top: 0;
    left: 50%;
    width: 760px;
    height: 427.5px;
    transform: translateX(-50%) scale(0.39);
    transform-origin: top center;
  }

  .mock-sidebar {
    gap: 20px;
  }

  .mock-workspace {
    height: calc(100% - 30px);
    min-height: 0;
    padding: 0;
  }

  .mock-appbar {
    gap: 8px;
    padding: 0 10px;
  }

  .mock-appbar small,
  .mock-brand {
    font-size: 0.54rem;
  }

  .setup-inner {
    width: 76%;
    padding: 16px 0 24px;
  }

  .setup-lead,
  .setup-list p {
    font-size: 0.46rem;
  }

  .setup-progress {
    padding: 10px 12px;
  }

  .setup-list article {
    gap: 7px;
    padding: 9px 11px;
  }

  .setup-list h5 {
    font-size: 0.54rem;
  }

  .setup-list span {
    min-width: 24px;
    padding: 2px 5px;
    font-size: 0.48rem;
  }
}

@media (max-width: 390px) {
  .device-mock {
    width: min(100%, 334px);
  }

  .caremaru-desktop {
    transform: translateX(-50%) scale(0.36);
  }

  .service-actions {
    max-width: 286px;
  }

  .service-button {
    font-size: 0.82rem;
  }
}
