:root {
  color-scheme: light;
  --blue: #1b43dc;
  --blue-dark: #1032b2;
  --ink: #172338;
  --muted: #5c6678;
  --line: #dfe4ed;
  --paper: #f5f7fb;
  --radius: 8px;
  --header-height: 68px;
  font-family:
    "Noto Sans JP", "Yu Gothic", "Hiragino Kaku Gothic ProN", Meiryo, sans-serif;
  font-synthesis: none;
  color: var(--ink);
  background: #fff;
}
* {
  box-sizing: border-box;
}
html {
  scroll-behavior: smooth;
  scroll-padding-top: calc(var(--header-height) + 24px);
}
body {
  margin: 0;
  font-size: 1rem;
  line-height: 1.8;
  letter-spacing: 0.035em;
  overflow-wrap: anywhere;
}
button,
a {
  -webkit-tap-highlight-color: transparent;
}
button {
  font: inherit;
  cursor: pointer;
}
a {
  color: inherit;
  text-decoration: none;
}
button,
a {
  touch-action: manipulation;
}
button {
  letter-spacing: inherit;
}
h1,
h2,
h3,
p {
  margin: 0;
}
h1,
h2,
h3 {
  font-weight: 700;
  line-height: 1.5;
}
button:focus-visible,
a:focus-visible,
input:focus-visible,
textarea:focus-visible,
[tabindex]:focus-visible {
  outline: 3px solid #111;
  outline-offset: 3px;
  box-shadow: 0 0 0 6px #ffe45c;
}
button:disabled {
  cursor: default;
}
[hidden] {
  display: none !important;
}
.page-width {
  max-width: 1200px;
  width: calc(100% - 112px);
  margin-inline: auto;
}
.icon-library {
  position: absolute;
  width: 0;
  height: 0;
  overflow: hidden;
}
.icon {
  width: 24px;
  height: 24px;
  fill: none;
  stroke: currentColor;
  stroke-width: 1.6;
  stroke-linecap: round;
  stroke-linejoin: round;
  flex: none;
}
.skip-link {
  position: fixed;
  top: 12px;
  left: 12px;
  z-index: 100;
  padding: 10px 18px;
  background: #fff;
  transform: translateY(-160%);
}
.skip-link:focus {
  transform: none;
}
.mobile-only {
  display: none;
}
.site-header {
  position: sticky;
  top: 0;
  z-index: 20;
  background: rgb(255 255 255 / 96%);
  border-bottom: 1px solid rgb(223 228 237 / 65%);
  backdrop-filter: blur(12px);
}
.header-inner {
  min-height: var(--header-height);
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 32px;
}
.wordmark {
  display: inline-flex;
  align-items: center;
  gap: 9px;
  flex: none;
  min-height: 44px;
  border-radius: 4px;
  line-height: 1.4;
}
.brand-symbol {
  display: block;
  width: 48px;
  height: 32px;
  flex: none;
  overflow: hidden;
}
.brand-name {
  font-size: 1.25rem;
  font-weight: 800;
  letter-spacing: 0.08em;
  white-space: nowrap;
}
.desktop-nav {
  display: flex;
  align-items: center;
  gap: 34px;
  font-size: 0.875rem;
  font-weight: 700;
}
.desktop-nav > a:not(.button) {
  padding: 12px 0;
  position: relative;
}
.desktop-nav > a:not(.button):after {
  position: absolute;
  content: "";
  height: 2px;
  background: var(--blue);
  bottom: 4px;
  left: 0;
  right: 0;
  transform: scaleX(0);
  transform-origin: left;
  transition: transform 0.2s;
}
.desktop-nav > a:hover:after {
  transform: scaleX(1);
}
.button {
  min-height: 48px;
  border: 1px solid transparent;
  border-radius: var(--radius);
  display: inline-flex;
  justify-content: center;
  align-items: center;
  gap: 14px;
  padding: 11px 24px;
  font-size: 0.9375rem;
  font-weight: 700;
  line-height: 1.6;
  transition:
    background 0.18s,
    transform 0.18s,
    box-shadow 0.18s;
}
.button:active {
  transform: translateY(1px);
}
.button-primary {
  background: var(--blue);
  color: white;
}
.button-primary:hover {
  background: var(--blue-dark);
}
.header-contact {
  padding-inline: 22px;
}
.menu-toggle {
  display: none;
}
.mobile-nav {
  border-top: 1px solid var(--line);
  padding: 12px 24px 20px;
  background: white;
}
.mobile-nav a {
  display: block;
  padding: 13px 0;
  border-bottom: 1px solid var(--line);
  font-weight: 700;
}
.hero {
  padding-block: 56px 52px;
  display: grid;
  grid-template-columns: minmax(0, 0.9fr) minmax(0, 1.1fr);
  column-gap: 6%;
  align-items: center;
}
.hero-copy {
  min-width: 0;
}
.hero-photo {
  margin: 0;
  min-width: 0;
}
.hero-photo img {
  display: block;
  width: 100%;
  height: auto;
}
.eyebrow {
  display: flex;
  align-items: center;
  gap: 12px;
  font-size: 0.875rem;
  font-weight: 500;
  letter-spacing: 0.035em;
  color: var(--muted);
}
.eyebrow > span {
  display: none;
  width: 18px;
  height: 2px;
  background: var(--blue);
}
.hero h1 {
  font-size: clamp(2rem, 3.5vw, 3rem);
  letter-spacing: 0.025em;
  line-height: 1.36;
  margin: 22px 0 0;
  font-weight: 800;
}
.hero h1 > span {
  color: var(--blue);
}
.hero-intro {
  margin-top: 18px;
  font-size: 1rem;
  line-height: 2.1;
  letter-spacing: 0.07em;
  color: #465368;
}
.business-section {
  padding: 51px 0 58px;
  margin-top: 0;
  background: var(--paper);
}
.section-heading {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  margin-bottom: 30px;
}
.section-heading h2 {
  font-size: 1.75rem;
  letter-spacing: 0.06em;
  flex: none;
}
.section-heading > p {
  font-size: 0.875rem;
  color: var(--muted);
}
.gallery-arrows {
  position: absolute;
  inset: 0 20px 0;
  z-index: 4;
  display: flex;
  justify-content: space-between;
  align-items: center;
  pointer-events: none;
}
.gallery-arrows button {
  flex: none;
  display: grid;
  place-items: center;
  width: 44px;
  height: 44px;
  border: 1px solid #cdd5e4;
  border-radius: 50%;
  background: #ffffffed;
  box-shadow: 0 2px 12px #0b1a3920;
  color: var(--ink);
  font-size: 1.75rem;
  line-height: 1;
  pointer-events: auto;
}
.gallery-arrows button:hover {
  border-color: var(--blue);
  color: var(--blue);
}
.service-gallery {
  overflow: clip;
}
.service-stage {
  position: relative;
  padding-block: 12px 36px;
}
.service-stage .gallery-arrows {
  top: 12px;
  bottom: 36px;
}
.service-gallery.is-ready .service-panels {
  display: grid;
  isolation: isolate;
  padding-inline: 42px;
  touch-action: pan-y pinch-zoom;
}
.service-gallery.is-ready .service-panel {
  grid-area: 1 / 1;
  min-width: 0;
  margin: 0;
  transform-origin: 50% 70%;
  transition: transform 650ms cubic-bezier(0.22, 1, 0.36, 1), opacity 500ms, filter 500ms;
  box-shadow: 0 12px 28px #1428450c;
}
.service-panel[data-side="active"] {
  z-index: 3;
  transform: translate(0, 0) rotate(0) scale(1);
  opacity: 1;
  filter: none;
}
.service-panel[data-side="previous"],
.service-panel[data-side="next"] {
  z-index: 1;
  opacity: 0.32;
  filter: blur(1.5px);
  pointer-events: none;
}
.service-panel[data-side="previous"] {
  transform: translate(-14%, 18px) rotate(-5deg) scale(0.88);
}
.service-panel[data-side="next"] {
  transform: translate(14%, 18px) rotate(5deg) scale(0.88);
}
.service-tabs {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  max-width: 690px;
  margin: 0 auto;
  padding: 8px;
  gap: 12px;
}
.service-tabs button {
  display: flex;
  align-items: center;
  gap: 10px;
  min-height: 64px;
  min-width: 0;
  background: transparent;
  border: 0;
  border-bottom: 2px solid transparent;
  border-radius: 0;
  padding: 6px 2px 10px;
  color: var(--muted);
  text-align: left;
  font-size: 0.8125rem;
  font-weight: 700;
  line-height: 1.55;
}
.service-tabs button:hover {
  color: var(--blue);
}
.service-tabs button[aria-selected="true"] {
  color: var(--blue);
  border-bottom-color: var(--blue);
}
.service-tabs button img {
  flex: none;
  width: 64px;
  height: 43px;
  object-fit: cover;
  border-radius: 4px;
  opacity: 0.55;
}
.service-tabs button[aria-selected="true"] img {
  opacity: 1;
}
.tab-label > span {
  display: block;
}
.tab-word {
  display: inline-block;
}
.visually-hidden {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  overflow: hidden;
  clip-path: inset(50%);
  white-space: nowrap;
}
.service-panel {
  background: white;
  padding: 34px 42px 35px;
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(0, 1.05fr);
  grid-template-areas: "copy photo" "details photo";
  gap: 22px 38px;
  border: 1px solid #dfe5f0;
  border-radius: 12px;
}
.service-panel + .service-panel {
  margin-top: 24px;
}
.service-category {
  font-size: 0.875rem;
  font-weight: 700;
  color: var(--muted);
  margin-bottom: 12px;
}
.service-main {
  grid-area: copy;
  min-width: 0;
}
.service-photo {
  grid-area: photo;
  min-width: 0;
  margin: 0;
  align-self: center;
}
.service-photo img {
  display: block;
  width: 100%;
  height: auto;
  aspect-ratio: 3 / 2;
}
.service-main h3 {
  font-size: 1.9375rem;
  line-height: 1.55;
  letter-spacing: 0.06em;
}
.service-main > p:last-child {
  font-size: 1rem;
  color: var(--muted);
  margin-top: 17px;
  line-height: 1.95;
}
.service-aside {
  grid-area: details;
  min-width: 0;
  display: flex;
  align-items: flex-start;
  flex-direction: column;
  justify-content: center;
}
.service-symbol {
  width: 52px;
  height: 52px;
  display: none;
  place-items: center;
  background: #eef2ff;
  border-radius: 12px;
  color: var(--blue);
  margin-bottom: 14px;
}
.service-symbol .icon {
  width: 28px;
  height: 28px;
}
.service-aside > p {
  font-size: 1rem;
  font-weight: 700;
}
.service-tags {
  display: flex;
  gap: 7px;
  flex-wrap: wrap;
  list-style: none;
  padding: 0;
  margin: 12px 0 15px;
}
.service-tags li {
  font-size: 0.75rem;
  line-height: 1.6;
  padding: 0;
  color: #576174;
}
.service-tags li + li::before {
  content: "／";
  margin-right: 7px;
  color: #8b95a5;
}
.service-link {
  font-size: 0.875rem;
  min-height: 44px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  width: 100%;
  gap: 15px;
  font-weight: 700;
  border-bottom: 1px solid var(--line);
}
.service-link > span {
  font-size: 1.3125rem;
  color: var(--blue);
  flex: none;
}
.service-link:hover {
  color: var(--blue);
  border-color: var(--blue);
}
.about-section {
  padding-block: 60px 64px;
}
.about-section .section-heading {
  margin-bottom: 34px;
}
.about-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 10%;
}
.stance .eyebrow {
  font-size: 0.75rem;
  color: var(--muted);
}
.stance h3 {
  font-size: 2rem;
  line-height: 1.65;
  letter-spacing: 0.08em;
  margin: 15px 0 17px;
}
.stance > p:not(.eyebrow) {
  font-size: 1rem;
  color: var(--muted);
  line-height: 2.05;
}
.name-story {
  display: flex;
  gap: 18px;
  margin-top: 0;
  align-self: center;
  align-items: stretch;
}
.story-line {
  display: none;
  flex: none;
  width: 2px;
  background: linear-gradient(var(--blue), #ccd7ff);
}
.name-story p {
  min-width: 0;
  font-size: 0.875rem;
  color: var(--muted);
  line-height: 2;
}
.company {
  padding-top: 2px;
}
.company > h3 {
  font-size: 1.0625rem;
  margin-bottom: 18px;
}
.company dl {
  margin: 0;
  border-top: 1px solid #aeb8c9;
}
.company dl > div {
  display: grid;
  grid-template-columns: 85px 1fr;
  gap: 16px;
  padding: 19px 0;
  border-bottom: 1px solid var(--line);
  font-size: 0.875rem;
}
.company dt {
  font-weight: 700;
}
.company dd {
  margin: 0;
  color: #4e5b6e;
  line-height: 2;
  overflow-wrap: anywhere;
}
.company-page {
  min-height: 100svh;
  display: flex;
  flex-direction: column;
}
.company-main {
  flex: 1;
  max-width: 900px;
  padding-block: 32px 56px;
}
.breadcrumbs {
  display: flex;
  align-items: center;
  gap: 12px;
  font-size: 0.875rem;
  color: var(--muted);
  margin-bottom: 24px;
}
.breadcrumbs a {
  display: inline-flex;
  align-items: center;
  min-height: 44px;
}
.breadcrumbs a:hover {
  color: var(--blue);
  text-decoration: underline;
}
.company-title {
  font-size: 2.125rem;
  margin-bottom: 30px;
}
.company-page .company dl > div {
  grid-template-columns: 140px minmax(0, 1fr);
  padding-block: 20px;
  font-size: 1rem;
}
.company-page .company [data-company-field] dd {
  white-space: pre-line;
}
.company-page .company a {
  color: var(--blue);
  text-decoration: underline;
  text-underline-offset: 4px;
}
.company-return {
  margin-top: 28px;
  border-color: var(--line);
  background: #fff;
}
.company-return:hover {
  background: var(--paper);
  border-color: #aeb8c9;
}
.agency-main {
  padding-block: 28px 52px;
}
.agency-intro {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(0, 1fr);
  gap: 40px;
  align-items: center;
}
.agency-intro h1 {
  font-size: clamp(1.625rem, 3vw, 2.125rem);
  line-height: 1.6;
  margin-bottom: 20px;
}
.agency-intro p {
  color: var(--muted);
  line-height: 1.95;
  margin-top: 14px;
}
.agency-intro img {
  display: block;
  width: 100%;
  height: auto;
  border-radius: 8px;
}
.agency-body {
  max-width: 720px;
  margin-top: 44px;
}
.agency-body h2 {
  font-size: clamp(1.25rem, 2.2vw, 1.5rem);
  line-height: 1.7;
  margin-bottom: 16px;
}
.agency-body p {
  color: var(--muted);
  line-height: 2;
}
.agency-contact {
  margin-top: 32px;
  padding-top: 24px;
  border-top: 1px solid var(--line);
}
.agency-contact .button {
  margin-top: 20px;
}
.agency-intro .page-category {
  color: var(--blue);
  font-size: 0.8125rem;
  margin: 0 0 12px;
}
.detail-section + .detail-section {
  margin-top: 36px;
}
.detail-section p + p {
  margin-top: 14px;
}
.detail-list {
  padding-left: 1.4em;
  color: var(--muted);
  line-height: 1.9;
  margin-bottom: 16px;
}
.detail-list li + li { margin-top: 8px; }
.service-scope { margin: 0 0 20px; }
.service-scope > div {
  border-bottom: 1px solid var(--line);
  padding: 18px 0;
}
.service-scope > div:first-child { padding-top: 0; }
.service-scope dt { font-weight: 700; margin-bottom: 6px; }
.service-scope dd { margin: 0; color: var(--muted); line-height: 1.9; }
.detail-steps { padding-left: 1.4em; }
.detail-steps li { padding-left: 8px; margin-bottom: 20px; }
.detail-steps li::marker { color: var(--blue); font-weight: 700; }
.text-link { display: inline-block; color: var(--blue); padding-block: 10px; text-decoration: underline; text-underline-offset: 4px; }
.footer-links { display: flex; flex-wrap: wrap; gap: 4px 20px; }
.form-status { font-size: 0.875rem; line-height: 1.7; }
.form-status[data-state="error"] { color: #ad2432; }
.form-status[data-state="success"] { color: #166534; }
.contact-submit:disabled { opacity: 0.65; cursor: wait; }
.form-honeypot { display: none; }
.contact-section {
  background: var(--blue);
  color: white;
}
.contact-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 30px;
  padding-block: 39px;
}
.contact-inner h2 {
  font-size: 1.75rem;
  letter-spacing: 0.06em;
}
.contact-inner > div > p {
  font-size: 0.875rem;
  margin-top: 8px;
  color: #e0e6ff;
}
.button-light {
  background: #fff;
  color: var(--blue);
  padding: 17px 34px;
  min-width: 224px;
}
.button-light:hover {
  background: #e9eeff;
  box-shadow: 0 5px 15px rgb(0 0 0 / 10%);
}
.site-footer {
  display: flex;
  align-items: center;
  gap: 25px;
  min-height: 68px;
  padding-block: 10px;
}
.site-footer .brand-symbol {
  width: 36px;
  height: 24px;
}
.site-footer .brand-name {
  font-size: 1rem;
}
.site-footer > p {
  font-size: 0.75rem;
  color: var(--muted);
  margin-left: auto;
  white-space: nowrap;
}
.footer-company-link {
  display: inline-flex;
  align-items: center;
  min-height: 44px;
  font-size: 0.875rem;
  white-space: nowrap;
  flex: none;
}
.footer-company-link:hover,
.footer-company-link[aria-current="page"] {
  color: var(--blue);
  text-decoration: underline;
  text-underline-offset: 4px;
}
.back-to-top {
  display: flex;
  align-items: center;
  gap: 16px;
  min-height: 44px;
  font-size: 0.75rem;
  margin-left: 35px;
}
.back-to-top > span[aria-hidden] {
  font-size: 1.1875rem;
}
.back-to-top:hover {
  color: var(--blue);
}
.has-open-dialog {
  overflow: hidden;
}
dialog {
  border: 1px solid var(--line);
  border-radius: 16px;
  padding: 32px;
  width: min(520px, calc(100% - 32px));
  max-height: calc(100dvh - 32px);
  overflow-y: auto;
  overscroll-behavior: contain;
  color: var(--ink);
  box-shadow: 0 18px 70px rgb(15 28 59 / 18%);
  text-align: left;
}
dialog::backdrop {
  background: rgb(16 29 58 / 40%);
  backdrop-filter: blur(4px);
}
.dialog-close {
  position: absolute;
  right: 8px;
  top: 8px;
  min-width: 44px;
  min-height: 44px;
  border: 0;
  background: transparent;
  border-radius: 6px;
  font-size: 1.625rem;
  color: var(--muted);
}
.dialog-close:hover {
  background: var(--paper);
}
dialog h2 {
  font-size: 1.3125rem;
  padding-right: 24px;
}
dialog p {
  font-size: 0.875rem;
  color: var(--muted);
  margin-top: 8px;
  line-height: 1.7;
}
.contact-form {
  display: grid;
  gap: 16px;
  margin-top: 22px;
  min-width: 0;
}
.form-field {
  display: grid;
  gap: 6px;
  min-width: 0;
}
.form-field label {
  font-size: 0.875rem;
  font-weight: 700;
}
.form-field input,
.form-field textarea {
  width: 100%;
  min-width: 0;
  border: 1px solid #8b95a5;
  border-radius: 6px;
  padding: 10px 12px;
  font: inherit;
  font-size: 1rem;
  letter-spacing: normal;
  line-height: 1.6;
  color: var(--ink);
  background: #fff;
}
.form-field textarea {
  resize: vertical;
  min-height: 112px;
}
.contact-form .form-help,
.contact-form .form-fallback {
  margin: 0;
  font-size: 0.75rem;
}
.contact-submit {
  width: 100%;
}
.form-fallback a {
  color: var(--blue);
  text-decoration: underline;
  text-underline-offset: 3px;
}
@media (min-width: 1450px) {
  .hero {
    padding-top: 75px;
  }
}
@media (max-width: 1100px) {
  .page-width {
    width: calc(100% - 72px);
  }
  .desktop-nav {
    gap: 24px;
  }
  .hero {
    padding-top: 48px;
  }
  .hero-intro {
    font-size: 1rem;
  }
  .service-panel {
    gap: 30px;
    padding: 30px;
  }
  .about-grid {
    gap: 7%;
  }
  .company dl > div {
    grid-template-columns: 70px 1fr;
    gap: 10px;
    font-size: 0.875rem;
  }
  .contact-inner h2 {
    font-size: 1.5625rem;
  }
}
@media (max-width: 760px) {
  :root {
    --header-height: 60px;
  }
  .page-width {
    width: calc(100% - 40px);
  }
  .header-inner {
    gap: 10px;
  }
  .brand-symbol {
    width: 42px;
    height: 28px;
  }
  .brand-name {
    font-size: clamp(1rem, 4.3vw, 1.125rem);
  }
  .desktop-nav {
    display: none;
  }
  .menu-toggle {
    display: flex;
    align-items: center;
    gap: 12px;
    min-height: 44px;
    padding: 7px 4px 7px 12px;
    background: transparent;
    border: 0;
    border-radius: 4px;
    color: var(--ink);
    font-size: 0.75rem;
    font-weight: 700;
    flex: none;
  }
  .menu-lines {
    position: relative;
    width: 20px;
    height: 14px;
    border-top: 2px solid currentColor;
    border-bottom: 2px solid currentColor;
    transition: transform 0.2s;
  }
  .menu-toggle[aria-expanded="true"] .menu-lines {
    border-bottom-color: transparent;
    border-top-color: transparent;
  }
  .menu-toggle[aria-expanded="true"] .menu-lines:before,
  .menu-toggle[aria-expanded="true"] .menu-lines:after {
    content: "";
    position: absolute;
    top: 4px;
    left: 0;
    width: 20px;
    height: 2px;
    background: currentColor;
    transform: rotate(45deg);
  }
  .menu-toggle[aria-expanded="true"] .menu-lines:after {
    transform: rotate(-45deg);
  }
  .hero {
    display: block;
    padding-block: 22px 26px;
  }
  .hero-copy {
    display: block;
  }
  .hero h1 {
    font-size: clamp(1.625rem, 7.6vw, 2rem);
    line-height: 1.5;
    letter-spacing: 0;
    margin-top: 8px;
    margin-bottom: 12px;
    font-weight: 700;
  }
  .hero h1 br {
    display: none;
  }
  .hero .eyebrow {
    font-size: 0.75rem;
  }
  .hero-intro {
    margin-top: 0;
    font-size: clamp(0.875rem, 3.7vw, 1rem);
    line-height: 1.9;
    letter-spacing: 0.025em;
  }
  .hero-photo {
    margin-top: 18px;
  }
  .hero-photo img {
    height: clamp(120px, 38vw, 156px);
    object-fit: cover;
    object-position: center 40%;
  }
  .business-section {
    margin-top: 0;
    padding: 31px 0 36px;
  }
  .section-heading {
    align-items: start;
    gap: 15px;
    margin-bottom: 23px;
  }
  .section-heading h2 {
    font-size: 1.4375rem;
  }
  .section-heading > p {
    font-size: 0.75rem;
    text-align: right;
    line-height: 1.7;
  }
  .mobile-only {
    display: block;
  }
  .service-tabs {
    gap: 8px;
    padding-inline: 8px;
  }
  .service-tabs button {
    flex-direction: column;
    align-items: center;
    gap: 7px;
    padding: 4px 0 8px;
    min-height: 44px;
    text-align: center;
    font-size: 0.75rem;
    letter-spacing: 0;
    line-height: 1.65;
  }
  .tab-label {
    min-width: 0;
  }
  .tab-label > span {
    display: block;
  }
  .service-tabs button img {
    width: 66px;
    height: 44px;
  }
  .service-stage {
    padding-block: 8px 24px;
  }
  .service-stage .gallery-arrows {
    inset: 8px 0 24px;
  }
  .service-gallery.is-ready .service-panels {
    padding-inline: 22px;
  }
  .service-panel[data-side="previous"] {
    transform: translate(-12%, 12px) rotate(-3deg) scale(0.9);
  }
  .service-panel[data-side="next"] {
    transform: translate(12%, 12px) rotate(3deg) scale(0.9);
  }
  .service-panel {
    grid-template-columns: minmax(0, 1fr);
    grid-template-areas: "visual" "summary" "details";
    grid-template-rows: auto 1fr auto;
    gap: 0;
    padding: 0;
  }
  .service-main {
    display: contents;
  }
  .service-photo {
    position: relative;
    grid-area: visual;
    align-self: stretch;
    overflow: hidden;
    border-radius: 11px 11px 0 0;
  }
  .service-photo img {
    aspect-ratio: 2 / 1;
    object-fit: cover;
    object-position: center 40%;
  }
  .service-photo::after {
    content: "";
    position: absolute;
    inset: 0;
    background: linear-gradient(0deg, #091730ed, #091730b3 48%, #09173000 100%);
  }
  .service-main h3 {
    grid-area: visual;
    align-self: end;
    z-index: 1;
    margin: 0 26px 14px;
    color: #fff;
    text-shadow: 0 1px 6px #0005;
    font-size: clamp(1.125rem, 5.5vw, 1.375rem);
    line-height: 1.55;
    letter-spacing: 0.01em;
  }
  .service-category,
  .service-description-extra,
  .service-aside > p,
  .service-tags {
    display: none;
  }
  .service-main > p:last-child {
    grid-area: summary;
    margin: 12px 20px 0;
    font-size: 0.875rem;
    line-height: 1.75;
  }
  .service-aside {
    padding: 0 20px 8px;
    display: block;
  }
  .service-symbol {
    display: none;
  }
  .service-link {
    font-size: 0.8125rem;
    border-bottom: 0;
  }
  .about-section {
    padding-block: 35px 38px;
  }
  .about-section .section-heading {
    margin-bottom: 26px;
  }
  .about-grid {
    grid-template-columns: minmax(0, 1fr);
    gap: 33px;
  }
  .stance h3 {
    font-size: clamp(1.5rem, 6.5vw, 1.875rem);
    margin-top: 11px;
    margin-bottom: 13px;
  }
  .stance > p:not(.eyebrow) {
    font-size: clamp(0.9375rem, 3.8vw, 1rem);
  }
  .stance > p:not(.eyebrow) br {
    display: none;
  }
  .name-story {
    margin-top: 0;
  }
  .name-story p {
    font-size: 0.875rem;
    letter-spacing: 0.01em;
  }
  .company > h3 {
    font-size: 1rem;
    margin-bottom: 14px;
  }
  .company dl > div {
    font-size: 0.875rem;
    grid-template-columns: 65px 1fr;
    padding: 16px 0;
  }
  .company-main {
    padding-block: 18px 34px;
  }
  .breadcrumbs {
    font-size: 0.75rem;
    margin-bottom: 14px;
  }
  .company-title {
    font-size: 1.75rem;
    margin-bottom: 24px;
  }
  .agency-main {
    padding-block: 18px 34px;
  }
  .agency-main .breadcrumbs {
    flex-wrap: wrap;
    gap: 8px;
  }
  .agency-intro {
    grid-template-columns: minmax(0, 1fr);
    gap: 22px;
  }
  .agency-intro h1 {
    margin-bottom: 12px;
  }
  .agency-intro p,
  .agency-body p {
    font-size: 0.9375rem;
  }
  .agency-body {
    margin-top: 30px;
  }
  .agency-intro img { max-height: 260px; object-fit: cover; }
  .service-scope, .detail-list, .detail-steps { font-size: 0.9375rem; }
  .footer-links { gap: 0 12px; }
  .company-page .company dl > div {
    grid-template-columns: 4.5rem minmax(0, 1fr);
    gap: 12px;
    font-size: 0.875rem;
    padding-block: 16px;
  }
  .contact-inner {
    flex-direction: column;
    align-items: start;
    padding-block: 29px;
    gap: 22px;
  }
  .contact-inner h2 {
    font-size: clamp(1.25rem, 5.6vw, 1.4375rem);
    letter-spacing: 0.035em;
  }
  .contact-inner > div > p {
    font-size: 0.75rem;
    margin-top: 7px;
  }
  .contact-action {
    width: 100%;
  }
  .button-light {
    width: 100%;
    min-width: 0;
    padding-block: 14px;
    font-size: 0.875rem;
  }
  .site-footer {
    display: grid;
    grid-template-columns: minmax(0, 1fr) 44px;
    gap: 0 8px;
    min-height: 60px;
    padding-block: 8px;
    flex-wrap: wrap;
  }
  .site-footer .wordmark {
    display: none;
  }
  .site-footer .brand-name {
    display: none;
  }
  .site-footer > p {
    grid-column: 1;
    grid-row: 2;
    margin: 0;
    font-size: 0.75rem;
    min-width: 0;
    white-space: normal;
  }
  .footer-company-link {
    font-size: 0.75rem;
  }
  .site-footer .footer-links { grid-column: 1; grid-row: 1; }
  .back-to-top {
    grid-column: 2;
    grid-row: 1 / span 2;
    margin-left: 0;
    flex: none;
    width: 44px;
    font-size: 0.75rem;
    justify-content: center;
    min-height: 44px;
  }
  .back-to-top-label {
    display: none;
  }
  dialog {
    width: min(520px, calc(100% - 24px));
    max-height: calc(100dvh - 24px);
    padding: 24px 18px 20px;
  }
  dialog h2 {
    font-size: 1.1875rem;
  }
  .contact-form {
    margin-top: 18px;
    gap: 12px;
  }
}
@media (max-width: 360px) {
  .page-width {
    width: calc(100% - 32px);
  }
}
@media (prefers-reduced-motion: reduce) {
  html {
    scroll-behavior: auto;
  }
  *,
  *:before,
  *:after {
    transition: none !important;
    animation: none !important;
  }
}
@media print {
  .site-header,
  .service-tabs,
  .gallery-arrows,
  .contact-section,
  .site-footer,
  dialog {
    display: none !important;
  }
  .page-width {
    width: 100%;
    max-width: none;
  }
  .hero {
    display: block;
    padding-top: 0;
  }
  .hero h1 {
    font-size: 2.5rem;
  }
  .business-section {
    margin-top: 20px;
    padding: 20px 0;
  }
  .service-gallery {
    overflow: visible;
  }
  .service-stage {
    padding: 0;
  }
  .service-gallery.is-ready .service-panels {
    display: block;
    padding: 0;
  }
  .service-gallery.is-ready .service-panel {
    transform: none;
    filter: none;
    opacity: 1;
  }
  .service-panel {
    break-inside: avoid;
    grid-template-columns: minmax(0, 1fr);
    grid-template-areas: "copy" "photo" "details";
    border: 1px solid var(--line) !important;
    margin: 12px 0 !important;
    padding: 20px;
  }
  .service-main {
    display: block;
  }
  .service-main h3 {
    margin: 0;
    color: var(--ink);
    text-shadow: none;
  }
  .service-main > p:last-child {
    margin: 12px 0;
  }
  .service-description-extra {
    display: inline;
  }
  .service-photo {
    grid-area: photo;
  }
  .service-photo::after {
    display: none;
  }
  .about-section {
    padding: 25px 0;
  }
  .about-grid {
    gap: 35px;
  }
  .service-link {
    display: none;
  }
  .hero h1 > span {
    color: var(--ink);
  }
}
