:root {
  --ink: #14243a;
  --muted: #5c6d7f;
  --paper: #ffffff;
  --base: #f7fafd;
  --blue-soft: #eaf4fb;
  --blue: #0876b9;
  --blue-dark: #07558e;
  --orange: #ee873d;
  --green: #79c9a2;
  --green-dark: #24765b;
  --pink: #ef5d9f;
  --violet: #765ed8;
  --line: rgba(20, 65, 98, 0.14);
  --shadow: 8px 8px 0 rgba(8, 118, 185, 0.12);
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  color: var(--ink);
  background: var(--paper);
  font-family: "Yu Gothic", "YuGothic", "Hiragino Kaku Gothic ProN", "Noto Sans JP", Meiryo, sans-serif;
  line-height: 1.8;
  text-rendering: optimizeLegibility;
}

body.menu-open {
  overflow: hidden;
}

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

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

button,
input,
textarea {
  font: inherit;
}

.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;
}

.section {
  padding: 112px 0;
}

section[id] {
  scroll-margin-top: 104px;
}

.section-inner {
  width: min(1160px, calc(100% - 48px));
  margin: 0 auto;
}

.section-kicker {
  margin: 0 0 12px;
  color: var(--blue);
  font-size: 0.82rem;
  font-weight: 900;
  text-transform: uppercase;
}

h1,
h2,
h3,
p,
figure {
  margin-top: 0;
}

h1,
h2,
h3 {
  line-height: 1.32;
  letter-spacing: 0;
}

h2 {
  margin-bottom: 24px;
  font-size: 2.75rem;
}

h3 {
  margin-bottom: 10px;
  font-size: 1.18rem;
}

p {
  color: var(--muted);
}

.button {
  display: inline-flex;
  min-height: 50px;
  align-items: center;
  justify-content: center;
  padding: 0 24px;
  border: 1px solid transparent;
  border-radius: 5px;
  font-weight: 900;
  line-height: 1.2;
  transition: transform 180ms ease, box-shadow 180ms ease, background 180ms ease;
}

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

.button.primary {
  color: #fff;
  background: var(--orange);
  box-shadow: 0 14px 32px rgba(238, 135, 61, 0.3);
}

.button.primary:hover {
  background: #dc742b;
}

.button.secondary {
  color: var(--blue-dark);
  border-color: rgba(8, 118, 185, 0.25);
  background: rgba(255, 255, 255, 0.84);
}

.site-header {
  position: fixed;
  z-index: 30;
  top: 16px;
  left: 50%;
  display: flex;
  width: min(1160px, calc(100% - 32px));
  min-height: 68px;
  transform: translateX(-50%);
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  padding: 10px 12px 10px 18px;
  border: 2px solid rgba(20, 36, 58, 0.12);
  border-radius: 8px;
  background: #fff;
  box-shadow: 7px 7px 0 rgba(8, 118, 185, 0.1);
}

.brand {
  display: inline-flex;
  min-width: 0;
  align-items: center;
  gap: 12px;
}

.brand-mark {
  display: grid;
  width: 42px;
  height: 42px;
  flex: 0 0 auto;
  place-items: center;
  border-radius: 50%;
  color: #fff;
  background: var(--blue);
  font-weight: 900;
  box-shadow: inset -9px -9px 0 rgba(121, 201, 162, 0.4);
}

.brand strong,
.brand small {
  display: block;
  white-space: nowrap;
}

.brand strong {
  font-size: 0.96rem;
  line-height: 1.2;
}

.brand small {
  color: var(--muted);
  font-size: 0.68rem;
  line-height: 1.2;
}

.site-nav {
  display: flex;
  align-items: center;
  gap: 20px;
  color: rgba(20, 36, 58, 0.76);
  font-size: 0.86rem;
  font-weight: 900;
}

.site-nav a {
  display: inline-flex;
  min-height: 40px;
  align-items: center;
}

.site-nav .nav-cta {
  padding: 0 18px;
  border-radius: 5px;
  color: #fff;
  background: var(--blue);
}

.menu-button {
  display: none;
  width: 44px;
  height: 44px;
  flex: 0 0 auto;
  place-items: center;
  border: 0;
  border-radius: 5px;
  background: var(--blue-dark);
  cursor: pointer;
}

.menu-button span:not(.sr-only) {
  display: block;
  width: 18px;
  height: 2px;
  margin: 3px auto;
  border-radius: 999px;
  background: #fff;
}

.hero {
  position: relative;
  display: grid;
  min-height: 86svh;
  overflow: hidden;
  place-items: center start;
  background: #fff;
}

.hero::after {
  position: absolute;
  inset: auto 0 0;
  height: 6px;
  background: linear-gradient(90deg, var(--blue) 0 70%, var(--orange) 70% 84%, var(--green) 84%);
  content: "";
}

.hero-bg {
  position: absolute;
  inset: 0;
  background-image: url("images/anime-v3-hero.webp");
  background-position: calc(100% - 36px) bottom;
  background-repeat: no-repeat;
  background-size: auto calc(100% - 72px);
}

.hero-bg::after {
  position: absolute;
  inset: 0;
  background: linear-gradient(90deg, #fff 0%, rgba(255, 255, 255, 0.98) 31%, rgba(255, 255, 255, 0.78) 45%, rgba(255, 255, 255, 0.08) 62%, transparent 70%);
  content: "";
}

.hero-inner {
  position: relative;
  z-index: 1;
  width: min(1240px, calc(100% - 48px));
  margin: 0 auto;
  padding: 122px 0 64px;
}

.eyebrow {
  margin-bottom: 18px;
  color: var(--blue);
  font-size: 0.84rem;
  font-weight: 900;
  text-transform: uppercase;
}

.hero h1 {
  max-width: 560px;
  margin-bottom: 24px;
  color: #102c4a;
  font-size: 3.85rem;
}

.hero-lead {
  max-width: 520px;
  margin-bottom: 30px;
  color: #435a70;
  font-size: 1.03rem;
  font-weight: 600;
}

.hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  margin-bottom: 0;
}

.story-section {
  position: relative;
  overflow: hidden;
  background: var(--paper);
}

.story-section::before {
  position: absolute;
  top: 54px;
  right: 4%;
  width: 176px;
  height: 126px;
  background: radial-gradient(circle, rgba(8, 118, 185, 0.2) 1.5px, transparent 1.8px) 0 0 / 12px 12px;
  content: "";
  opacity: 0.72;
  pointer-events: none;
}

.story-section::after {
  position: absolute;
  bottom: 64px;
  left: -24px;
  width: 230px;
  height: 12px;
  background: linear-gradient(90deg, var(--blue) 0 36%, transparent 36% 43%, var(--pink) 43% 67%, transparent 67% 74%, var(--orange) 74%);
  content: "";
  opacity: 0.18;
  pointer-events: none;
  transform: rotate(-8deg);
}

.story-section > .section-inner {
  position: relative;
  z-index: 1;
}

.story-tint {
  background: #f3f9fc;
}

.story-row {
  display: grid;
  grid-template-columns: minmax(0, 1.18fr) minmax(0, 0.82fr);
  gap: 56px;
  align-items: center;
}

.story-row.reverse .story-media {
  order: 2;
}

.story-media {
  position: relative;
  margin-bottom: 0;
}

.story-media::before {
  position: absolute;
  z-index: 0;
  top: -18px;
  left: -18px;
  width: 43%;
  height: 43%;
  border-radius: 6px;
  background:
    radial-gradient(circle, rgba(8, 118, 185, 0.28) 1.5px, transparent 1.7px) 0 0 / 10px 10px,
    var(--blue-soft);
  content: "";
}

.story-row.reverse .story-media::before {
  inset: auto -18px -18px auto;
  background: rgba(121, 201, 162, 0.24);
}

.story-media img {
  position: relative;
  z-index: 1;
  width: 100%;
  aspect-ratio: 4 / 3;
  border: 2px solid rgba(20, 36, 58, 0.14);
  border-radius: 6px;
  object-fit: cover;
  box-shadow: var(--shadow);
}

.story-copy {
  max-width: 560px;
}

.story-lead {
  color: #2f4a63;
  font-size: 1.08rem;
  font-weight: 800;
}

.inline-benefits {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 10px;
  margin: 34px 0 0;
  padding: 0;
  list-style: none;
}

.inline-benefits li {
  min-width: 0;
  padding: 14px 12px 16px;
  border: 2px solid rgba(20, 36, 58, 0.1);
  border-radius: 6px;
  background: #fff;
  box-shadow: 6px 6px 0 rgba(8, 118, 185, 0.1);
  text-align: center;
}

.inline-benefits li:nth-child(2) {
  border-color: rgba(36, 118, 91, 0.18);
}

.inline-benefits li:nth-child(3) {
  border-color: rgba(238, 135, 61, 0.2);
}

.benefit-icon {
  display: grid;
  width: 86px;
  height: 86px;
  margin: 0 auto 9px;
  place-items: center;
  border: 2px solid rgba(8, 118, 185, 0.18);
  border-radius: 6px;
  color: var(--blue-dark);
  background: #f5fbff;
  box-shadow: 4px 4px 0 rgba(8, 118, 185, 0.1);
}

.benefit-icon svg {
  width: 39px;
  height: 39px;
  stroke-width: 1.8;
}

.inline-benefits li:nth-child(2) .benefit-icon {
  color: var(--green-dark);
  border-color: rgba(36, 118, 91, 0.22);
  background: #f2fbf7;
}

.inline-benefits li:nth-child(3) .benefit-icon {
  color: #d86c26;
  border-color: rgba(238, 135, 61, 0.24);
  background: #fff8f2;
}

.inline-benefits li > strong,
.inline-benefits li > span:not(.benefit-icon) {
  display: block;
}

.inline-benefits strong {
  margin-bottom: 3px;
  color: var(--ink);
  font-size: 0.9rem;
}

.inline-benefits span {
  color: var(--muted);
  font-size: 0.7rem;
  line-height: 1.55;
}

.services {
  position: relative;
  overflow: hidden;
  background:
    linear-gradient(135deg, transparent 0 72%, rgba(239, 93, 159, 0.08) 72% 74%, transparent 74%),
    var(--blue-soft);
}

.services::before {
  position: absolute;
  top: 52px;
  right: 4%;
  width: 180px;
  height: 120px;
  background: radial-gradient(circle, rgba(8, 118, 185, 0.2) 1.5px, transparent 1.8px) 0 0 / 12px 12px;
  content: "";
  pointer-events: none;
}

.services > .section-inner {
  position: relative;
  z-index: 1;
}

.section-heading {
  max-width: 780px;
  margin-bottom: 42px;
}

.section-heading p:last-child {
  margin-bottom: 0;
}

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

.service-card {
  position: relative;
  display: flex;
  min-height: 430px;
  overflow: hidden;
  flex-direction: column;
  justify-content: space-between;
  padding: 30px;
  border: 2px solid rgba(20, 36, 58, 0.16);
  border-radius: 6px;
  color: var(--ink);
  box-shadow: 8px 8px 0 rgba(8, 118, 185, 0.12);
  isolation: isolate;
}

.service-card::before {
  position: absolute;
  inset: 0;
  z-index: -2;
  background-image: var(--service-image);
  background-position: center;
  background-size: cover;
  content: "";
  opacity: 0.94;
  transform: scale(1.01);
  transition: transform 320ms ease;
}

.service-card::after {
  position: absolute;
  inset: 0;
  z-index: -1;
  background: linear-gradient(180deg, transparent 0 58%, rgba(255, 255, 255, 0.14) 72%, rgba(255, 255, 255, 0.48) 100%);
  content: "";
}

.service-card:hover::before {
  transform: scale(1.07);
}

.service-web { --service-image: url("images/anime-v2-service-web.webp"); }
.service-illustration { --service-image: url("images/anime-v2-service-design.webp"); }
.service-sns-video { --service-image: url("images/anime-v2-service-social.webp"); }
.service-music { --service-image: url("images/anime-v2-service-music.webp"); }
.service-print { --service-image: url("images/anime-v2-service-print.webp"); }
.service-goods { --service-image: url("images/anime-v2-service-goods.webp"); }

.service-card > div {
  margin: auto -30px 0;
  padding: 14px 24px 7px;
  border-top: 2px solid rgba(20, 36, 58, 0.12);
  background: rgba(255, 255, 255, 0.82);
}

.service-icon {
  position: absolute;
  z-index: 2;
  top: 18px;
  left: 18px;
  display: grid;
  width: 62px;
  height: 62px;
  place-items: center;
  border: 2px solid #fff;
  border-radius: 8px;
  color: var(--blue-dark);
  background: rgba(255, 255, 255, 0.94);
  box-shadow: 5px 5px 0 rgba(20, 36, 58, 0.18);
}

.service-icon svg {
  width: 31px;
  height: 31px;
  stroke-width: 1.8;
}

.service-illustration .service-icon { color: var(--violet); }
.service-sns-video .service-icon { color: var(--pink); }
.service-music .service-icon { color: var(--blue); }
.service-print .service-icon { color: var(--green-dark); }
.service-goods .service-icon { color: #d86c26; }

.service-card h3 {
  margin-bottom: 6px;
  color: var(--ink);
  font-size: 1.28rem;
}

.service-card p {
  margin-bottom: 0;
  color: #3e5266;
  font-size: 0.87rem;
  line-height: 1.62;
}

.service-card ul {
  display: flex;
  flex-wrap: wrap;
  gap: 7px;
  margin: 0 -30px -30px;
  padding: 7px 24px 17px;
  background: rgba(255, 255, 255, 0.82);
  list-style: none;
}

.service-card li {
  padding: 5px 9px;
  border: 1px solid rgba(8, 118, 185, 0.2);
  border-radius: 4px;
  background: rgba(255, 255, 255, 0.9);
  color: var(--blue-dark);
  font-size: 0.75rem;
  font-weight: 800;
}

.quality-intro {
  max-width: 820px;
  margin-bottom: 54px;
  text-align: center;
}

.quality-intro .story-lead {
  margin-right: auto;
  margin-left: auto;
}

.quality-system {
  position: relative;
  margin-bottom: 0;
  padding: 28px;
  border: 2px solid rgba(20, 36, 58, 0.12);
  border-radius: 8px;
  background: #fff;
  box-shadow: 9px 9px 0 rgba(8, 118, 185, 0.1);
}

.quality-system > img {
  width: 100%;
  aspect-ratio: 16 / 9;
  border-radius: 6px;
  object-fit: contain;
}

.quality-system figcaption {
  position: absolute;
  inset: 28px;
  pointer-events: none;
}

.quality-note {
  position: absolute;
  width: min(270px, 28%);
  padding: 14px 16px;
  border: 2px solid rgba(20, 36, 58, 0.14);
  border-left: 7px solid var(--blue);
  border-radius: 0 5px 5px 0;
  background: #fff;
  box-shadow: 5px 5px 0 rgba(20, 36, 58, 0.1);
}

.quality-note strong,
.quality-note span {
  display: block;
}

.quality-note strong {
  margin-bottom: 4px;
  color: var(--ink);
  font-size: 0.96rem;
}

.quality-note span {
  color: var(--muted);
  font-size: 0.74rem;
  line-height: 1.6;
}

.note-contact {
  top: 3%;
  left: 1%;
}

.note-team {
  top: 3%;
  right: 1%;
  border-color: var(--green-dark);
}

.note-safety {
  bottom: 2%;
  left: 3%;
  border-color: var(--orange);
}

.value-tags {
  display: flex;
  flex-wrap: wrap;
  gap: 9px;
  margin-top: 28px;
}

.value-tags span {
  padding: 7px 12px;
  border: 1px solid rgba(8, 118, 185, 0.18);
  border-radius: 4px;
  color: var(--blue-dark);
  background: var(--blue-soft);
  font-size: 0.78rem;
  font-weight: 900;
}

.works {
  position: relative;
  overflow: hidden;
  background:
    linear-gradient(145deg, transparent 0 82%, rgba(121, 201, 162, 0.09) 82% 84%, transparent 84%),
    var(--base);
}

.works::before {
  position: absolute;
  top: 58px;
  right: 5%;
  width: 184px;
  height: 112px;
  background: radial-gradient(circle, rgba(118, 94, 216, 0.18) 1.5px, transparent 1.8px) 0 0 / 12px 12px;
  content: "";
  pointer-events: none;
}

.works-heading {
  display: grid;
  max-width: none;
  grid-template-columns: 1fr 1fr;
  gap: 56px;
  align-items: end;
}

.works-heading h2 {
  margin-bottom: 0;
}

.work-carousel {
  width: 100%;
  overflow-x: auto;
  overflow-y: hidden;
  cursor: grab;
  scrollbar-width: none;
  touch-action: pan-y;
  user-select: none;
  overscroll-behavior-x: contain;
}

.work-carousel::-webkit-scrollbar {
  display: none;
}

.work-carousel:focus-visible {
  outline: 3px solid rgba(8, 118, 185, 0.25);
  outline-offset: -3px;
}

.work-carousel.is-dragging {
  cursor: grabbing;
}

.work-track {
  display: flex;
  width: max-content;
  gap: 18px;
  padding: 10px 24px 28px;
}

.work-card {
  width: 360px;
  overflow: hidden;
  flex: 0 0 auto;
  border: 2px solid rgba(20, 36, 58, 0.12);
  border-radius: 6px;
  background: var(--paper);
  box-shadow: 7px 7px 0 rgba(8, 118, 185, 0.1);
  transition: transform 220ms ease, box-shadow 220ms ease;
}

.work-card:hover {
  transform: translateY(-5px) scale(1.012);
  box-shadow: 10px 10px 0 rgba(239, 93, 159, 0.12);
}

.work-image {
  position: relative;
  aspect-ratio: 4 / 3;
  overflow: hidden;
  background: #dceaf2;
}

.work-image img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  pointer-events: none;
  object-fit: cover;
  transition: opacity 280ms ease, transform 280ms ease;
}

.work-image img:first-child {
  opacity: 1;
}

.work-image img:nth-child(2) {
  opacity: 0;
}

.work-card:hover .work-image img:first-child {
  opacity: 0;
  transform: scale(1.055);
}

.work-card:hover .work-image img:nth-child(2) {
  opacity: 1;
  transform: scale(1.055);
}

.work-body {
  min-height: 178px;
  padding: 22px;
}

.work-body p {
  margin-bottom: 8px;
  color: var(--blue);
  font-size: 0.76rem;
  font-weight: 900;
}

.work-body h3 {
  margin-bottom: 8px;
  font-size: 1.04rem;
}

.work-body span {
  display: block;
  color: var(--muted);
  font-size: 0.88rem;
}

.flow {
  position: relative;
  overflow: hidden;
  background: #eef5f8;
}

.flow-bg {
  position: absolute;
  inset: 0;
  background-image:
    linear-gradient(90deg, rgba(255, 255, 255, 0.9) 0%, rgba(255, 255, 255, 0.78) 52%, rgba(255, 255, 255, 0.58) 100%),
    url("images/anime-v2-flow-bg.webp");
  background-position: center;
  background-size: cover;
}

.flow-layout {
  position: relative;
  display: grid;
  grid-template-columns: 0.74fr 1.26fr;
  gap: 72px;
  align-items: start;
}

.flow-heading {
  position: sticky;
  top: 116px;
}

.timeline {
  position: relative;
  display: grid;
  gap: 18px;
  margin: 0;
  padding: 0;
  list-style: none;
}

.timeline::before {
  position: absolute;
  top: 72px;
  bottom: 72px;
  left: 60px;
  width: 2px;
  background: linear-gradient(var(--blue), var(--green), var(--orange));
  content: "";
}

.timeline li {
  position: relative;
  display: grid;
  min-height: 140px;
  grid-template-columns: 122px 1fr;
  gap: 24px;
  align-items: center;
}

.timeline-visual {
  position: relative;
  z-index: 1;
  width: 122px;
  height: 122px;
  padding: 10px;
  border: 2px solid rgba(20, 36, 58, 0.14);
  border-radius: 8px;
  display: grid;
  place-items: center;
  color: var(--blue-dark);
  background: #fff;
  box-shadow: 6px 6px 0 rgba(8, 118, 185, 0.12);
}

.timeline-visual img {
  width: 100%;
  height: 100%;
  border-radius: 5px;
  object-fit: cover;
}

.timeline-icon {
  width: 52px;
  height: 52px;
  stroke-width: 1.75;
}

.timeline li:nth-child(3n + 2) .timeline-icon {
  color: var(--green-dark);
}

.timeline li:nth-child(3n) .timeline-icon {
  color: #d86c26;
}

.timeline-visual span {
  position: absolute;
  z-index: 2;
  top: -11px;
  left: -11px;
  display: grid;
  width: 56px;
  height: 56px;
  place-items: center;
  border: 4px solid #fff;
  border-radius: 50%;
  color: #fff;
  background: var(--blue);
  font-size: 1.12rem;
  font-weight: 900;
  box-shadow: 0 9px 24px rgba(8, 118, 185, 0.25);
}

.timeline li:nth-child(3n + 2) .timeline-visual span {
  background: var(--green-dark);
}

.timeline li:nth-child(3n) .timeline-visual span {
  background: var(--orange);
}

.timeline-copy {
  padding: 10px 20px 22px 0;
  border-bottom: 1px solid rgba(20, 65, 98, 0.15);
}

.timeline p {
  margin-bottom: 0;
}

.faq {
  position: relative;
  overflow: hidden;
  background:
    linear-gradient(135deg, transparent 0 77%, rgba(239, 93, 159, 0.06) 77% 79%, transparent 79%),
    linear-gradient(25deg, transparent 0 12%, rgba(8, 118, 185, 0.055) 12% 14%, transparent 14%),
    var(--paper);
}

.faq::before {
  position: absolute;
  top: 70px;
  left: 5%;
  width: 180px;
  height: 120px;
  background: radial-gradient(circle, rgba(8, 118, 185, 0.18) 1.5px, transparent 1.8px) 0 0 / 12px 12px;
  content: "";
  pointer-events: none;
}

.faq::after {
  position: absolute;
  right: -24px;
  bottom: 86px;
  width: 230px;
  height: 12px;
  background: linear-gradient(90deg, var(--green) 0 34%, transparent 34% 42%, var(--orange) 42% 67%, transparent 67% 75%, var(--pink) 75%);
  content: "";
  opacity: 0.2;
  pointer-events: none;
  transform: rotate(9deg);
}

.faq-layout {
  position: relative;
  z-index: 1;
  display: grid;
  grid-template-columns: 0.7fr 1.3fr;
  gap: 64px;
  align-items: start;
}

.faq-heading {
  position: sticky;
  top: 116px;
}

.faq-list {
  display: grid;
  gap: 10px;
}

details {
  border: 2px solid rgba(20, 36, 58, 0.1);
  border-radius: 5px;
  background: var(--paper);
  box-shadow: 5px 5px 0 rgba(8, 118, 185, 0.075);
}

summary {
  position: relative;
  min-height: 64px;
  padding: 18px 58px 18px 22px;
  cursor: pointer;
  color: var(--ink);
  font-weight: 900;
  list-style: none;
}

summary::-webkit-details-marker {
  display: none;
}

summary::after {
  position: absolute;
  top: 50%;
  right: 20px;
  display: grid;
  width: 28px;
  height: 28px;
  place-items: center;
  border-radius: 50%;
  color: #fff;
  background: var(--blue);
  content: "+";
  transform: translateY(-50%);
}

details[open] summary::after {
  background: var(--green-dark);
  content: "−";
}

details p {
  margin: 0;
  padding: 0 22px 22px;
}

.contact {
  color: #fff;
  background:
    linear-gradient(115deg, rgba(5, 69, 112, 0.98), rgba(8, 118, 185, 0.95)),
    var(--blue-dark);
}

.contact-grid {
  display: grid;
  grid-template-columns: 0.88fr 1.12fr;
  gap: 68px;
  align-items: start;
}

.contact .section-kicker,
.contact p {
  color: rgba(255, 255, 255, 0.78);
}

.contact h2 {
  color: #fff;
}

.contact-note {
  margin-top: 34px;
  padding: 22px;
  border: 1px solid rgba(255, 255, 255, 0.2);
  border-radius: 5px;
  background: rgba(255, 255, 255, 0.09);
}

.contact-note strong,
.contact-note span {
  display: block;
}

.contact-note strong {
  margin-bottom: 8px;
}

.contact-note span {
  color: rgba(255, 255, 255, 0.75);
}

.contact-form {
  display: grid;
  gap: 16px;
  padding: 30px;
  border: 1px solid rgba(255, 255, 255, 0.22);
  border-radius: 6px;
  background: rgba(255, 255, 255, 0.11);
  box-shadow: 0 24px 70px rgba(2, 38, 66, 0.25);
  backdrop-filter: blur(16px);
}

.contact-form label {
  display: grid;
  gap: 7px;
  color: rgba(255, 255, 255, 0.9);
  font-size: 0.86rem;
  font-weight: 900;
}

.contact-form input,
.contact-form textarea {
  width: 100%;
  border: 1px solid rgba(255, 255, 255, 0.28);
  border-radius: 4px;
  outline: 0;
  color: var(--ink);
  background: rgba(255, 255, 255, 0.97);
}

.contact-form input {
  min-height: 50px;
  padding: 0 14px;
}

.contact-form textarea {
  min-height: 146px;
  padding: 13px 14px;
  resize: vertical;
}

.contact-form input:focus,
.contact-form textarea:focus {
  border-color: var(--green);
  box-shadow: 0 0 0 4px rgba(121, 201, 162, 0.2);
}

.contact-form .button {
  width: 100%;
}

.form-message {
  min-height: 24px;
  margin-bottom: 0;
  color: #d6f8e7 !important;
  font-weight: 900;
}

.form-message.is-error {
  color: #ffe1df !important;
}

.contact-hp {
  position: absolute !important;
  left: -10000px !important;
  width: 1px !important;
  height: 1px !important;
  overflow: hidden !important;
}

.admin-bar .site-header {
  top: 48px;
}

.site-footer {
  padding: 42px 0 24px;
  color: rgba(255, 255, 255, 0.72);
  background: #092f4c;
}

.footer-grid {
  display: grid;
  grid-template-columns: 1.1fr 1fr 0.9fr;
  gap: 36px;
}

.footer-grid strong {
  display: block;
  margin-bottom: 8px;
  color: #fff;
}

.footer-grid p,
.footer-grid address,
.copyright {
  margin: 0;
  color: rgba(255, 255, 255, 0.66);
  font-style: normal;
}

.footer-grid nav {
  display: flex;
  flex-wrap: wrap;
  gap: 10px 18px;
}

.footer-grid a {
  color: rgba(255, 255, 255, 0.82);
  font-weight: 800;
}

.copyright {
  width: min(1160px, calc(100% - 48px));
  margin: 28px auto 0;
  padding-top: 20px;
  border-top: 1px solid rgba(255, 255, 255, 0.14);
  font-size: 0.8rem;
}

@media (max-width: 1020px) {
  .section {
    padding: 88px 0;
  }

  h2 {
    font-size: 2.2rem;
  }

  .site-header {
    top: 10px;
    width: calc(100% - 20px);
  }

  .menu-button {
    display: block;
  }

  .site-nav {
    position: fixed;
    top: 76px;
    right: 10px;
    left: 10px;
    display: none;
    flex-direction: column;
    align-items: stretch;
    gap: 0;
    padding: 14px;
    border: 1px solid var(--line);
    border-radius: 7px;
    background: rgba(255, 255, 255, 0.98);
    box-shadow: var(--shadow);
  }

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

  .site-nav a {
    min-height: 50px;
    padding: 0 14px;
  }

  .site-nav .nav-cta {
    justify-content: center;
    margin-top: 8px;
  }

  .hero {
    min-height: 82svh;
  }

  .hero-bg {
    background-position: calc(100% - 20px) bottom;
    background-size: auto calc(100% - 72px);
  }

  .hero-bg::after {
    background: linear-gradient(90deg, rgba(255, 255, 255, 0.97) 0%, rgba(255, 255, 255, 0.88) 43%, rgba(255, 255, 255, 0.22) 72%);
  }

  .hero h1 {
    font-size: 3.25rem;
  }

  .story-row,
  .story-row.reverse {
    grid-template-columns: 1fr;
    gap: 44px;
  }

  .story-row.reverse .story-media {
    order: 0;
  }

  .story-media {
    max-width: 760px;
  }

  .story-copy {
    max-width: 760px;
  }

  .service-grid {
    grid-template-columns: repeat(2, 1fr);
  }

  .quality-system {
    padding: 20px;
  }

  .quality-system figcaption {
    inset: 20px;
  }

  .quality-note {
    width: 31%;
  }

  .flow-layout,
  .faq-layout,
  .contact-grid,
  .footer-grid {
    grid-template-columns: 1fr;
    gap: 38px;
  }

  .flow-heading,
  .faq-heading {
    position: static;
  }
}

@media (max-width: 720px) {

  .admin-bar .site-header {
    top: 62px;
  }

  .section {
    padding: 72px 0;
  }

  .section-inner,
  .hero-inner {
    width: min(100% - 28px, 1160px);
  }

  h2 {
    font-size: 1.78rem;
  }

  .brand small {
    display: none;
  }

  .brand strong {
    max-width: 190px;
    overflow: hidden;
    text-overflow: ellipsis;
  }

  .hero {
    min-height: 860px;
    align-items: end;
  }

  .hero-bg {
    background-position: right 82px;
    background-size: auto 38%;
    background-repeat: no-repeat;
  }

  .hero-bg::after {
    background:
      linear-gradient(0deg, #f5fafd 0%, rgba(245, 250, 253, 0.98) 42%, rgba(245, 250, 253, 0.18) 70%),
      linear-gradient(90deg, rgba(255, 255, 255, 0.82), transparent 68%);
  }

  .hero-inner {
    padding: 418px 0 36px;
  }

  .hero h1 {
    margin-bottom: 18px;
    font-size: 2.4rem;
  }

  .hero-lead {
    margin-bottom: 22px;
    font-size: 0.94rem;
  }

  .hero-actions {
    display: grid;
    grid-template-columns: 1fr 1fr;
  }

  .story-row {
    gap: 36px;
  }

  .story-media::before {
    top: -10px;
    left: -10px;
  }

  .inline-benefits {
    grid-template-columns: 1fr;
  }

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

  .service-card {
    min-height: 430px;
    padding: 24px;
  }

  .service-card > div {
    margin: auto -24px 0;
    padding: 14px 20px 7px;
  }

  .service-card ul {
    margin: 0 -24px -24px;
    padding: 7px 20px 16px;
  }

  .service-icon {
    width: 56px;
    height: 56px;
  }

  .service-icon svg {
    width: 28px;
    height: 28px;
  }

  .quality-intro {
    text-align: left;
  }

  .quality-system {
    margin-top: 50px;
    padding: 12px;
  }

  .quality-system > img {
    aspect-ratio: 3 / 2;
    object-fit: contain;
  }

  .quality-system figcaption {
    position: static;
    display: grid;
    gap: 10px;
    margin-top: 12px;
  }

  .quality-note {
    position: static;
    width: auto;
  }

  .works-heading {
    grid-template-columns: 1fr;
    gap: 14px;
  }

  .works-heading p {
    font-size: 0.82rem;
  }

  .work-card {
    width: min(82vw, 320px);
  }

  .flow-bg {
    background-image:
      linear-gradient(rgba(255, 255, 255, 0.91), rgba(255, 255, 255, 0.91)),
      url("images/anime-v2-flow-bg.webp");
  }

  .timeline {
    padding-left: 0;
  }

  .timeline::before {
    top: 54px;
    bottom: 54px;
    left: 44px;
  }

  .timeline li {
    min-height: 110px;
    grid-template-columns: 90px 1fr;
    gap: 14px;
  }

  .timeline-visual {
    width: 90px;
    height: 90px;
    padding: 7px;
  }

  .timeline-icon {
    width: 38px;
    height: 38px;
  }

  .timeline-visual span {
    top: -8px;
    left: -6px;
    width: 40px;
    height: 40px;
    border-width: 3px;
    font-size: 0.84rem;
  }

  .timeline-copy {
    padding-top: 4px;
  }

  .contact-form {
    padding: 22px;
  }
}

@media (max-width: 430px) {
  .hero {
    min-height: 920px;
  }

  .hero-actions {
    grid-template-columns: 1fr;
  }

  .button {
    width: 100%;
  }
}

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

/* Small disclosure shown below every landing-page topic. */
.sample-disclaimer {
  position: relative;
  z-index: 1;
  width: min(1160px, calc(100% - 48px));
  margin: clamp(28px, 4vw, 48px) auto 0;
  padding-top: 14px;
  border-top: 1px solid currentColor;
  color: inherit;
  font-size: 0.72rem;
  font-weight: 400;
  line-height: 1.7;
  text-align: center;
  opacity: 0.62;
}

/* Keeps editorial heading breaks at natural phrase boundaries. */
.heading-line {
  display: block;
}
