:root {
  --primary: #182987;
  --secondary: #009fe8;
  --tertiary: #8dc21f;
  --signal: #e50012;
  --ink: #1d1d1d;
  --text-secondary: #4c4c4c;
  --text-tertiary: #707070;
  --text-muted: #969d9d;
  --background: #ffffff;
  --section-bg-hero: url("../images/section-bg-hero.jpg");
  --section-bg-news: url("../images/section-bg-contact.jpg");
  --section-bg-service: url("../images/section-bg-contact.jpg");
  --section-bg-works: url("../images/section-bg-contact.jpg");
  --section-bg-contact: url("../images/section-bg-contact.jpg");
  --section-white: rgba(255, 255, 255, 0.88);
  --section-soft: rgba(247, 250, 250, 0.88);
  --surface: #ececec;
  --surface-raised: #d2d8d8;
  --deep-surface: #022738;
  --gallery-surface: #f7fafa;
  --border-subtle: #ececec;
  --border-medium: #d2d8d8;
  --shadow-hover: 0 0 20px 0 rgba(0, 0, 0, 0.1);
  --shadow-overlay: 0 12px 40px rgba(2, 39, 56, 0.16);
  --focus-ring: 0 0 0 3px rgba(0, 159, 232, 0.35);
  --font-display: "Noto Sans JP", sans-serif;
  --font-body: "Noto Sans JP", sans-serif;
}

@font-face {
  font-family: "Noto Sans JP";
  src: url("../Noto_Sans_JP/NotoSansJP-Thin.otf") format("opentype");
  font-weight: 100;
  font-style: normal;
  font-display: swap;
}

@font-face {
  font-family: "Noto Sans JP";
  src: url("../Noto_Sans_JP/NotoSansJP-Light.otf") format("opentype");
  font-weight: 300;
  font-style: normal;
  font-display: swap;
}

@font-face {
  font-family: "Noto Sans JP";
  src: url("../Noto_Sans_JP/NotoSansJP-Regular.otf") format("opentype");
  font-weight: 400;
  font-style: normal;
  font-display: swap;
}

@font-face {
  font-family: "Noto Sans JP";
  src: url("../Noto_Sans_JP/NotoSansJP-Medium.otf") format("opentype");
  font-weight: 500;
  font-style: normal;
  font-display: swap;
}

@font-face {
  font-family: "Noto Sans JP";
  src: url("../Noto_Sans_JP/NotoSansJP-Bold.otf") format("opentype");
  font-weight: 700;
  font-style: normal;
  font-display: swap;
}

@font-face {
  font-family: "Noto Sans JP";
  src: url("../Noto_Sans_JP/NotoSansJP-Black.otf") format("opentype");
  font-weight: 900;
  font-style: normal;
  font-display: swap;
}

* {
  box-sizing: border-box;
}

[hidden] {
  display: none !important;
}

html {
  scroll-behavior: smooth;
  scroll-padding-top: 92px;
}

body {
  margin: 0;
  color: var(--ink);
  background: var(--background);
  font-family: var(--font-body);
  font-size: 14px;
  line-height: 1.85;
  overflow-x: hidden;
}

body.nav-open {
  overflow: hidden;
}

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

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

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

button,
input,
select,
textarea {
  font: inherit;
}

button {
  cursor: pointer;
}

.skip-link {
  position: fixed;
  left: 16px;
  top: 16px;
  z-index: 1000;
  padding: 10px 16px;
  color: #ffffff;
  background: var(--primary);
  transform: translateY(-160%);
}

.skip-link:focus {
  transform: translateY(0);
}

.container {
  width: min(1120px, calc(100% - 48px));
  margin: 0 auto;
}

.site-header {
  position: sticky;
  top: 0;
  z-index: 100;
  background: rgba(255, 255, 255, 0.96);
  border-bottom: 1px solid var(--border-subtle);
  backdrop-filter: blur(12px);
  transition: background 0.2s ease-out, border-color 0.2s ease-out, box-shadow 0.2s ease-out;
}

.site-header.is-scrolled {
  background: rgba(255, 255, 255, 0.98);
  border-bottom-color: rgba(210, 216, 216, 0.88);
  box-shadow: 0 14px 34px rgba(2, 39, 56, 0.14);
}

.header-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  width: min(1200px, calc(100% - 48px));
  min-height: 78px;
  margin: 0 auto;
  gap: 30px;
}

.brand {
  display: inline-flex;
  align-items: center;
  flex: 0 0 auto;
}

.brand img {
  width: 246px;
  height: auto;
}

.site-nav {
  display: flex;
  align-items: center;
  justify-content: flex-end;
  gap: 22px;
  color: var(--text-secondary);
  font-family: var(--font-display);
  font-size: 13px;
  font-weight: 600;
}

.site-nav a {
  position: relative;
  transition: color 0.2s ease-out;
}

.site-nav a::after {
  position: absolute;
  left: 0;
  right: 0;
  bottom: -8px;
  height: 2px;
  background: var(--secondary);
  content: "";
  opacity: 0;
  transform: translateY(3px);
  transition: opacity 0.2s ease-out, transform 0.2s ease-out;
}

.site-nav .nav-social {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 38px;
  height: 38px;
  color: var(--secondary);
  background: #ffffff;
  border: 1px solid var(--border-medium);
  border-radius: 50%;
  transition: color 0.2s ease-out, background 0.2s ease-out, border-color 0.2s ease-out, transform 0.2s ease-out;
}

.site-nav .nav-social::after {
  display: none;
}

.site-nav .nav-social svg {
  width: 18px;
  height: 18px;
  fill: currentColor;
}

.site-nav .nav-social:hover,
.site-nav .nav-social:focus-visible {
  color: #ffffff;
  background: var(--secondary);
  border-color: var(--secondary);
  transform: translateY(-1px);
}

.site-nav a:hover,
.site-nav a:focus-visible,
.site-nav a.is-current {
  color: var(--primary);
}

.site-nav a:hover::after,
.site-nav a:focus-visible::after,
.site-nav a.is-current::after {
  opacity: 1;
  transform: translateY(0);
}

.site-nav .nav-contact {
  padding: 12px 18px;
  color: #ffffff;
  background: var(--secondary);
  border: 1px solid var(--secondary);
}

.site-nav .nav-contact::after {
  display: none;
}

.site-nav .nav-contact:hover,
.site-nav .nav-contact:focus-visible,
.site-nav .nav-contact.is-current {
  color: #ffffff;
  background: var(--primary);
  border-color: var(--primary);
}

.nav-toggle {
  display: none;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 6px;
  width: 46px;
  height: 46px;
  padding: 0;
  background: #ffffff;
  border: 1px solid var(--border-medium);
}

.nav-toggle span {
  display: block;
  width: 18px;
  height: 2px;
  margin: 0;
  background: var(--primary);
  transition: transform 0.2s ease-out, opacity 0.2s ease-out;
}

.nav-toggle[aria-expanded="true"] span:nth-child(1) {
  transform: translateY(8px) rotate(45deg);
}

.nav-toggle[aria-expanded="true"] span:nth-child(2) {
  opacity: 0;
}

.nav-toggle[aria-expanded="true"] span:nth-child(3) {
  transform: translateY(-8px) rotate(-45deg);
}

.hero {
  position: relative;
  overflow: hidden;
  background:
    linear-gradient(90deg, rgba(255, 255, 255, 0.88) 0%, rgba(255, 255, 255, 0.74) 48%, rgba(255, 255, 255, 0.48) 100%),

    #ffffff;
 
}



.hero-grid {
  position: relative;
  z-index: 1;
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(420px, 560px);
  align-items: center;
  gap: 70px;
  padding: 20px 0;
}

.eyebrow,
.section-kicker {
  margin: 0 0 15px;
  color: var(--text-secondary);
  font-family: var(--font-display);
  font-size: 16px;
  font-weight: 900;

  line-height: 1.4;
  letter-spacing: 0;
  text-transform: uppercase;
}

h1,
h2,
h3,
p {
  margin: 0;
}

h1,
h2 {
  font-family: var(--font-display);
  font-weight: 900;
  letter-spacing: 0;
}

h1 {
  max-width: 780px;
  margin-bottom: 15px;
  color: var(--primary);
  font-size: 42px;
  line-height: 1.22;
  overflow-wrap: break-word;
}

h2 {
  margin-bottom: 22px;
  color: var(--primary);
  font-size: 34px;
  line-height: 1.22;
  font-weight: 900;
}

h3 {
  margin-bottom: 12px;
  color: var(--ink);
  font-size: 16px;
  line-height: 1.55;
  font-weight: 600;
}

.hero-lead {
  max-width: 650px;
  margin-bottom: 34px;
  color: var(--text-secondary);
  font-size: 20px;
  font-weight: 500;
  line-height: 1.75;
}

.hero-statement {
  margin-bottom: 22px;
  color: var(--secondary);
  font-family: var(--font-display);
  font-size: 14px;
  font-weight: 700;
  line-height: 1.35;
}

.hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 14px;
}

.button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 12px;
  min-height: 50px;
  padding: 14px 28px;
  border: 1px solid transparent;
  font-size: 14px;
  font-weight: 500;
  line-height: 1.3;
  text-align: center;
  transition: color 0.2s ease-out, background 0.2s ease-out, border-color 0.2s ease-out, box-shadow 0.2s ease-out;
}

.button span,
.text-link span {
  font-family: var(--font-display);
}

.button-primary {
  color: #ffffff;
  background: var(--secondary);
  border-color: var(--secondary);
}

.button-primary:hover,
.button-primary:focus-visible {
  background: var(--primary);
  border-color: var(--primary);
  box-shadow: var(--shadow-hover);
}

.button-secondary {
  color: var(--primary);
  background: transparent;
  border-color: var(--border-medium);
}

.button-secondary:hover,
.button-secondary:focus-visible {
  color: var(--secondary);
  background: #ffffff;
  border-color: var(--secondary);
}

.button-white {
  color: var(--primary);
  background: #ffffff;
  border-color: #ffffff;
}

.button-white:hover,
.button-white:focus-visible {
  background: var(--surface);
  border-color: var(--surface);
}

.back-to-top {
  position: fixed;
  right: clamp(16px, 3vw, 32px);
  bottom: clamp(18px, 3vw, 34px);
  z-index: 90;
  display: grid;
  place-items: center;
  width: 52px;
  height: 52px;
  color: #ffffff;
  background: var(--secondary);
  border: 1px solid rgba(255, 255, 255, 0.72);
  border-radius: 50%;
  box-shadow: 0 14px 32px rgba(2, 39, 56, 0.22);
  opacity: 0;
  pointer-events: none;
  visibility: hidden;
  transform: translateY(14px);
  transition: opacity 0.2s ease-out, visibility 0.2s ease-out, transform 0.2s ease-out, background 0.2s ease-out;
}

.back-to-top.is-visible {
  opacity: 1;
  pointer-events: auto;
  visibility: visible;
  transform: translateY(0);
}

.back-to-top.is-visible:hover,
.back-to-top.is-visible:focus-visible {
  background: var(--primary);
  transform: translateY(-2px);
}

.back-to-top:focus-visible {
  outline: none;
  box-shadow: var(--focus-ring), 0 14px 32px rgba(2, 39, 56, 0.22);
}

.back-to-top-mark {
  position: relative;
  display: block;
  width: 18px;
  height: 22px;
}

.back-to-top-mark::before,
.back-to-top-mark::after {
  position: absolute;
  content: "";
}

.back-to-top-mark::before {
  top: 1px;
  left: 2px;
  width: 12px;
  height: 12px;
  border-top: 3px solid currentColor;
  border-left: 3px solid currentColor;
  transform: rotate(45deg);
}

.back-to-top-mark::after {
  top: 5px;
  left: 50%;
  width: 3px;
  height: 17px;
  background: currentColor;
  border-radius: 999px;
  transform: translateX(-50%);
}

.hero-visual {
  position: relative;
  display: flex;
  align-items: center;
  justify-content: flex-end;
  min-height: 350px;
  overflow: visible;
}

.hero-video {
  width: 100%;
  max-width: 560px;
  margin-left: 0;
  background: #ffffff;
  border: 1px solid var(--border-subtle);
  object-fit: contain;
}

.hero-strip {
  position: relative;
  z-index: 1;
  display: flex;
  gap: 0;
  overflow: hidden;
  border-top: 1px solid var(--border-subtle);
  background: #ffffff;
}

.hero-strip span {
  flex: 1 0 auto;
  min-width: 200px;
  padding: 13px 22px;
  color: var(--text-tertiary);
  border-right: 1px solid var(--border-subtle);
  font-family: var(--font-display);
  font-size: 12px;
  font-weight: 600;
  text-align: center;
}

.section {
  padding: 30px 0;
}

.intro-section {
  background: #ffffff;
}

.two-column {
  display: grid;
  grid-template-columns: minmax(260px, 420px) minmax(0, 1fr);
  gap: 80px;
}

.lead-block {
  color: var(--text-secondary);
  font-size: 16px;
  line-height: 1.9;
}

.lead-block p:last-child,
.section-heading p:last-child,
.contact-band p:last-child,
.contact-side p:last-child,
.complete-panel p:last-child {
  margin-bottom: 0;
}

.section-heading {
  margin-bottom: 20px;
}

.section-kicker {
  font-weight: 900;
}

.section-heading p {
  color: var(--text-secondary);
  font-size: 16px;
}

.split-heading {
  display: grid;
  grid-template-columns: minmax(260px, 430px) minmax(0, 1fr);
  align-items: end;
  max-width: none;
  gap: 70px;
}

.news-card-section {
  padding-top: 20px;
  background: #ffffff;
  border-bottom: 1px solid var(--border-subtle);
}


.service-heading-band,
.works-heading-band {
  padding: 30px 0 30px;
  color: rgba(255, 255, 255, 0.84);
  background:
    linear-gradient(90deg, rgba(8, 51, 66, 0.96), rgba(11, 63, 82, 0.86)),
    var(--section-bg-contact) center / cover no-repeat,
    #0b3f52;
}


.service-heading,
.works-heading {
  margin-bottom: 0;
}

.service-heading-band .section-heading .section-kicker,
.works-heading-band .section-heading .section-kicker {
  color: var(--tertiary);
}


.service-heading-band h2,
.works-heading-band h2 {
  color: #ffffff;
}


.service-heading-band .section-heading p,
.works-heading-band .section-heading p {
  color: rgba(255, 255, 255, 0.78);
}

.news-card-heading {
  display: grid;
  grid-template-columns: minmax(260px, 420px) minmax(0, 1fr);
  align-items: end;
  gap: 44px;
}


.service-body,
.works-body {
  padding: 44px 0 30px;
}

.news-body
 {
  padding: 0px 0 30px;
}

.news-title
 {
   background-color: var(--primary);
   color:#ffffff;
  padding: 3px 10px 3px 10px;
      display: inline-block;
      margin-bottom: 10px;;
}


.news-card-grid {
  display: grid;
  grid-template-columns: repeat(5, minmax(0, 1fr));
  gap: 16px;
}

.news-card {
  display: flex;
  flex-direction: column;
  min-height: 300px;
  overflow: hidden;
  background: #ffffff;
  border: 1px solid var(--border-subtle);
  transition: border-color 0.2s ease-out, transform 0.2s ease-out, box-shadow 0.2s ease-out;
}

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

.news-card:hover,
.news-card:focus-within {
  border-color: var(--border-medium);
  box-shadow: var(--shadow-hover);
  transform: translateY(-3px);
}

.news-card-link {
  display: flex;
  flex: 1;
  flex-direction: column;
  min-height: inherit;
  color: inherit;
  text-decoration: none;
}

.news-card-link:focus-visible {
  outline: 0;
  box-shadow: inset var(--focus-ring);
}

.news-card-link:hover h3,
.news-card-link:focus-visible h3 {
  color: var(--secondary);
}

.news-card img {
  width: 100%;
  aspect-ratio: 16 / 10;
  object-fit: cover;
  background: var(--gallery-surface);
  border-bottom: 1px solid var(--border-subtle);
}

.news-card-body {
  display: flex;
  flex: 1;
  flex-direction: column;
  padding: 14px;
}

.news-card time {
  margin-bottom: 9px;
  color: var(--secondary);
  font-family: var(--font-display);
  font-size: 12px;
  font-weight: 700;
  line-height: 1.35;
}

.news-card h3 {
  margin-bottom: 8px;
  color: var(--primary);
  font-size: 15px;
  line-height: 1.45;
}

.news-card p {
  color: var(--text-tertiary);
  font-size: 12px;
  line-height: 1.65;
}

.news-pagination {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  margin-top: 26px;
}

.news-page-list {
  display: flex;
  gap: 8px;
}

.news-page-button,
.news-page-control {
  display: inline-grid;
  place-items: center;
  min-width: 42px;
  min-height: 40px;
  padding: 9px 13px;
  color: var(--primary);
  background: #ffffff;
  border: 1px solid var(--border-medium);
  border-radius: 6px;
  font-size: 13px;
  font-weight: 700;
  line-height: 1.2;
  transition: color 0.2s ease-out, background 0.2s ease-out, border-color 0.2s ease-out, opacity 0.2s ease-out;
}

.news-page-button:hover,
.news-page-button:focus-visible,
.news-page-button.is-active,
.news-page-control:hover,
.news-page-control:focus-visible {
  color: #ffffff;
  background: var(--secondary);
  border-color: var(--secondary);
}

.news-page-button[aria-current="page"] {
  color: #ffffff;
  background: var(--secondary);
  border-color: var(--secondary);
}

.news-page-control:disabled {
  cursor: default;
  opacity: 0.45;
}

.news-page-control:disabled:hover {
  color: var(--primary);
  background: #ffffff;
  border-color: var(--border-medium);
}

.service-section {
  padding: 0;
  color: var(--ink);
  background: #ffffff;
}

.service-layout {
  display: grid;
  grid-template-columns: 310px minmax(0, 1fr);
  gap: 34px;
  align-items: stretch;
}

.service-tabs {
  display: grid;
  align-content: start;
  gap: 0px;
}

.service-tab {
  width: 100%;
  min-height: 58px;
  padding: 14px 24px; /* 少し内側の余白を広げてゆとりを持たせる */
  color: var(--text-secondary);
  background: #ffffff;
  border: 1px solid var(--border-subtle);
  font-size: 14px;
  font-weight: 500;
  text-align: left;
  
  /* 精緻なアニメーションのための設定を追加 */
  position: relative;
  overflow: hidden;
  transition: color 0.4s cubic-bezier(0.25, 1, 0.5, 1), 
              background-color 0.4s cubic-bezier(0.25, 1, 0.5, 1), 
              border-color 0.4s cubic-bezier(0.25, 1, 0.5, 1),
              padding-left 0.4s cubic-bezier(0.25, 1, 0.5, 1);
}

/* ホバー時にほんのりブランドカラーを感じさせ、少し右にスライドさせる */
.service-tab:hover,
.service-tab:focus-visible {
  color: var(--primary);
  background: rgba(24, 41, 135, 0.03); /* --primaryの極薄い色 */
  border-color: var(--border-medium);
  padding-left: 32px;
}

/* アクティブ時のベース（文字を白、背景をプライバリーに） */
.service-tab.is-active {
  color: #ffffff;
  background: var(--secondary);
  border-color: var(--secondary);
  padding-left: 32px;
}

/* アクティブ時に左端にアクセントライン（--secondary）をスッと伸ばす演出 */
.service-tab::before {
  content: "";
  position: absolute;
  left: 0;
  top: 0;
  width: 5px;
  height: 100%;
  background: var(--secondary); /* 鮮やかな水色アクセント */
  transform: scaleY(0);
  transform-origin: top;
  transition: transform 0.4s cubic-bezier(0.25, 1, 0.5, 1);
}

.service-tab.is-active::before {
  transform: scaleY(1);
}

.service-slider {
  position: relative;
  min-height: 350px;
  background: #ffffff;
  border: 1px solid var(--border-subtle);
  box-shadow: 0 16px 40px rgba(2, 39, 56, 0.1);
}

.service-slide {
  display: grid;
  grid-template-columns: minmax(280px, 44%) minmax(0, 1fr);
  min-height: 350px;
}

.service-slide[hidden] {
  display: none;
}

.service-slide > img {
  width: 100%;
  height: 100%;
  min-height: 360px;
  object-fit: cover;
  border-right: 1px solid var(--border-subtle);
}

/* スライドが表示されたときのアニメーション仕込み */
.service-slide:not([hidden]) {
  animation: slideFadeUp 0.6s cubic-bezier(0.34, 1.56, 0.64, 1) both;
}

/* イラストとテキストにわずかな時間差（ディレイ）を作る */
.service-slide:not([hidden]) > img {
  animation: slideFadeUp 0.6s cubic-bezier(0.25, 1, 0.5, 1) both;
}

.service-slide:not([hidden]) .service-slide-body {
  animation: slideFadeUp 0.7s cubic-bezier(0.25, 1, 0.5, 1) 0.1s both; /* 0.1秒遅れてスタート */
}

@keyframes slideFadeUp {
  from {
    opacity: 0;
    transform: translateY(20px); /* 20px下から */
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}




.service-slide-body {
  display: flex;
  flex-direction: column;
  justify-content: center;
  padding: 35px 42px 86px;
}

.service-tag {
  align-self: flex-start;
  margin-bottom: 22px;
  padding: 5px 12px;
  color: var(--primary);
  background: var(--surface);
  border-radius: 9999px;
  font-family: var(--font-display);
  font-size: 12px;
  font-weight: 700;
  letter-spacing: 0;
}

.service-slide h3 {
  color: var(--primary);
  font-size: 23px;
  font-weight: 600;
}

.service-slide p {
  margin-bottom: 0;
  color: var(--text-secondary);
}

.service-tools {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin-top: 22px;
}

.service-tools-three-lines {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 6px 8px;
  max-width: 360px;
  margin-top: 18px;
}

.tool-chip {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  min-height: 34px;
  padding: 7px 12px;
  color: var(--text-secondary);
  background: var(--gallery-surface);
  border: 1px solid var(--border-subtle);
  border-radius: 9999px;
  font-size: 12px;
  font-weight: 700;
  line-height: 1.2;
  white-space: nowrap;
}

.service-tools-three-lines .tool-chip {
  justify-content: center;
  min-height: 30px;
  padding: 6px 7px;
  gap: 5px;
  font-size: 11px;
}

.tool-chip img {
  width: 18px;
  height: 18px;
  object-fit: contain;
  opacity: 0.82;
}

.service-tools-three-lines .tool-chip img {
  width: 16px;
  height: 16px;
}

.logo-chip {
  background: #ffffff;
  border-color: var(--border-medium);
}

.text-chip {
  color: var(--primary);
  background: #ffffff;
  border-color: var(--border-medium);
}

.slider-controls {
  position: absolute;
  right: 28px;
  bottom: 10px;
  display: flex;
  gap: 10px;
}

.circle-button {
  display: inline-grid;
  place-items: center;
  width: 44px;
  height: 44px;
  color: var(--primary);
  background: #ffffff;
  border: 1px solid var(--border-medium);
  border-radius: 9999px;
  font-family: var(--font-display);
  transition: color 0.2s ease-out, background 0.2s ease-out, border-color 0.2s ease-out;
}

.circle-button:hover,
.circle-button:focus-visible {
  color: #ffffff;
  background: var(--secondary);
  border-color: var(--secondary);
}

.work-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 20px;
}

.work-filter {
  display: inline-grid;
  grid-template-columns: repeat(4, minmax(96px, 1fr));
  gap: 0;
  max-width: 560px;
  margin: 0 0 24px;
  padding: 4px;
  background: #ffffff;
  border: 1px solid var(--border-medium);
  border-radius: 8px;
}

.work-filter-button {
  position: relative;
  min-height: 40px;
  padding: 10px 16px;
  color: var(--primary);
  background: transparent;
  border: 0;
  border-radius: 5px;
  font-size: 13px;
  font-weight: 700;
  line-height: 1.2;
  text-align: center;
  transition: color 0.2s ease-out, background 0.2s ease-out;
}

.work-filter-button + .work-filter-button::before {
  position: absolute;
  top: 9px;
  bottom: 9px;
  left: -1px;
  width: 1px;
  background: var(--border-subtle);
  content: "";
}

.work-filter-button:hover,
.work-filter-button:focus-visible,
.work-filter-button.is-active {
  color: #ffffff;
  background: var(--secondary);
}

.work-filter-button:hover::before,
.work-filter-button:focus-visible::before,
.work-filter-button.is-active::before,
.work-filter-button.is-active + .work-filter-button::before {
  opacity: 0;
}

.work-card {
  display: flex;
  flex-direction: column;
  min-height: 310px;
  padding: 14px;
  background: #ffffff;
  border: 1px solid var(--border-subtle);
  transition: border-color 0.2s ease-out, transform 0.2s ease-out;
}

.work-card[hidden] {
  display: none;
}

.work-card:hover,
.work-card:focus-within {
  border-color: var(--border-medium);
  transform: translateY(-4px);
}

.work-card-link {
  display: flex;
  flex: 1;
  flex-direction: column;
  min-height: inherit;
  color: inherit;
  text-decoration: none;
}

.work-card-link:focus-visible {
  outline: 0;
  box-shadow: inset var(--focus-ring);
}

.work-card-link:hover h3,
.work-card-link:focus-visible h3 {
  color: var(--primary);
}

.work-card span {
  display: inline-block;
  margin-bottom: 0px;
  color: var(--secondary);
  font-family: var(--font-display);
  font-size: 12px;
  font-weight: 700;
}

.work-card img {
  width: 100%;
  aspect-ratio: 16 / 10;
  margin: 14px 0 12px;
  object-fit: cover;
  background: var(--gallery-surface);
  border: 1px solid var(--border-subtle);
}

.work-card h3 {
  color: var(--text-secondary);
}

.work-card p {
  margin-bottom: 0;
  color: var(--text-tertiary);
  font-size: 13px;
}

.news-card p,
.work-card-link > p:not(.work-client) {
  display: -webkit-box;
  overflow: hidden;
  -webkit-box-orient: vertical;
  -webkit-line-clamp: 3;
}

.work-client {
  margin-top: auto;
  padding-top: 8px;
  text-align: right;
}

.single-hero {
  padding: 76px 0 62px;
  background:
    linear-gradient(90deg, rgba(247, 250, 250, 0.86), rgba(247, 250, 250, 0.62)),
    var(--section-bg-hero) center / cover no-repeat,
    var(--gallery-surface);
  border-bottom: 1px solid var(--border-subtle);
}

.single-blog-hero {
  background:
    linear-gradient(90deg, rgba(247, 250, 250, 0.86), rgba(247, 250, 250, 0.62)),
    var(--section-bg-news) center / cover no-repeat,
    var(--gallery-surface);
}

.single-work-hero {
  background:
    linear-gradient(90deg, rgba(247, 250, 250, 0.86), rgba(247, 250, 250, 0.62)),
    var(--section-bg-works) center / cover no-repeat,
    var(--gallery-surface);
}

.single-hero-grid {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(280px, 420px);
  align-items: center;
  gap: 64px;
}

.single-hero-copy {
  min-width: 0;
}

.detail-back-link {
  display: inline-flex;
  margin-bottom: 18px;
  color: var(--secondary);
  font-size: 13px;
  font-weight: 700;
  transition: color 0.2s ease-out;
}

.detail-back-link:hover,
.detail-back-link:focus-visible {
  color: var(--primary);
}

.single-date,
.single-meta span {
  display: inline-flex;
  align-items: center;
  min-height: 32px;
  padding: 5px 12px;
  color: var(--primary);
  background: #ffffff;
  border: 1px solid var(--border-medium);
  font-family: var(--font-display);
  font-size: 12px;
  font-weight: 700;
  line-height: 1.35;
}

.single-meta {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin-top: 16px;
}

.single-hero h1 {
  max-width: 820px;
  margin-top: 18px;
  color: var(--primary);
  font-size: 48px;
  line-height: 1.18;
}

.single-hero-image {
  width: 100%;
  aspect-ratio: 16 / 10;
  object-fit: cover;
  background: #ffffff;
  border: 1px solid var(--border-subtle);
  box-shadow: var(--shadow-overlay);
}

.detail-section {
  background: #ffffff;
}

.detail-container {
  max-width: 900px;
}

.detail-content {
  color: var(--text-secondary);
  font-size: 16px;
  line-height: 2;
}

.detail-content::after {
  display: block;
  clear: both;
  content: "";
}

.detail-content > *:first-child {
  margin-top: 0;
}

.detail-content h2 {
  margin: 2.2em 0 0.8em;
  color: var(--primary);
  font-size: 28px;
  line-height: 1.35;
}

.detail-content h3 {
  margin: 2em 0 0.75em;
  color: var(--ink);
  font-size: 21px;
  line-height: 1.45;
}

.detail-content ul,
.detail-content ol {
  padding-left: 1.5em;
}

.detail-content a {
  color: var(--primary);
  text-decoration: underline;
  text-decoration-color: rgba(0, 159, 232, 0.45);
  text-decoration-thickness: 2px;
  text-underline-offset: 3px;
}

.detail-content img {
  margin: 32px 0;
  background: var(--gallery-surface);
  border: 1px solid var(--border-subtle);
}

.detail-content figure {
  margin: 32px 0;
}

.detail-content figure img {
  margin: 0;
}

.detail-content figcaption {
  margin-top: 8px;
  color: var(--text-tertiary);
  font-size: 13px;
  line-height: 1.6;
  text-align: center;
}

.detail-content .aligncenter {
  margin-right: auto;
  margin-left: auto;
  text-align: center;
}

.detail-content .alignleft {
  float: left;
  max-width: min(46%, 360px);
  margin: 8px 28px 18px 0;
}

.detail-content .alignright {
  float: right;
  max-width: min(46%, 360px);
  margin: 8px 0 18px 28px;
}

.detail-content .alignwide {
  width: min(1120px, calc(100vw - 48px));
  max-width: calc(100vw - 48px);
  margin-left: 50%;
  transform: translateX(-50%);
}

.detail-content .alignfull {
  width: calc(100vw - 32px);
  max-width: none;
  margin-left: 50%;
  transform: translateX(-50%);
}

.detail-content .wp-block-gallery,
.detail-content .wp-block-columns,
.detail-content .wp-block-media-text,
.detail-content .wp-block-embed {
  margin: 32px 0;
}

.detail-content .wp-block-columns {
  gap: 24px;
}

.detail-content .wp-block-table {
  overflow-x: auto;
}

.detail-content .wp-block-table table {
  width: 100%;
  border-collapse: collapse;
}

.detail-content .wp-block-table th,
.detail-content .wp-block-table td {
  padding: 10px 12px;
  border: 1px solid var(--border-subtle);
}

.detail-nav {
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto minmax(0, 1fr);
  align-items: center;
  gap: 18px;
  margin-top: 48px;
  padding-top: 24px;
  border-top: 1px solid var(--border-subtle);
}

.detail-nav a:not(.button) {
  display: grid;
  gap: 4px;
  color: var(--primary);
  font-weight: 700;
  line-height: 1.45;
}

.detail-nav a:not(.button):hover,
.detail-nav a:not(.button):focus-visible {
  color: var(--secondary);
}

.detail-nav a:not(.button) span {
  color: var(--secondary);
  font-size: 12px;
  line-height: 1.3;
}

.detail-nav-next {
  text-align: right;
}

.detail-nav-back {
  white-space: nowrap;
}

.privacy-hero-grid {
  grid-template-columns: minmax(0, 1fr);
}

.privacy-lead {
  max-width: 740px;
  color: var(--text-secondary);
  font-size: 17px;
}

.privacy-policy-content h2 {
  padding-bottom: 10px;
  border-bottom: 1px solid var(--border-subtle);
}

.not-found-hero {
  min-height: calc(100vh - 92px);
  padding: 88px 0;
  display: flex;
  align-items: center;
  background:
    linear-gradient(90deg, rgba(247, 250, 250, 0.88), rgba(247, 250, 250, 0.68)),
    var(--section-bg-hero) center / cover no-repeat,
    var(--gallery-surface);
}

.not-found-grid {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(260px, 380px);
  align-items: center;
  gap: 64px;
}

.not-found-code {
  margin-bottom: 2px;
  color: var(--secondary);
  font-family: var(--font-display);
  font-size: 88px;
  font-weight: 900;
  line-height: 1;
}

.not-found-copy h1 {
  max-width: 680px;
  color: var(--primary);
  font-size: 48px;
}

.not-found-copy > p:not(.section-kicker):not(.not-found-code) {
  max-width: 660px;
  color: var(--text-secondary);
  font-size: 16px;
}

.not-found-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 14px;
  margin-top: 26px;
}

.not-found-links {
  display: grid;
  gap: 12px;
}

.not-found-links a {
  display: grid;
  gap: 4px;
  padding: 18px 20px;
  color: var(--text-secondary);
  background: #ffffff;
  border: 1px solid var(--border-subtle);
  transition: border-color 0.2s ease-out, box-shadow 0.2s ease-out, transform 0.2s ease-out;
}

.not-found-links a:hover,
.not-found-links a:focus-visible {
  border-color: var(--border-medium);
  box-shadow: var(--shadow-hover);
  transform: translateY(-2px);
}

.not-found-links span {
  color: var(--primary);
  font-family: var(--font-display);
  font-size: 13px;
  font-weight: 800;
  letter-spacing: 0;
}

.works-section {
  padding: 0;
  background: #ffffff;
}

.text-link {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  color: var(--primary);
  font-weight: 600;
  transition: color 0.2s ease-out;
}

.text-link:hover,
.text-link:focus-visible {
  color: var(--secondary);
}

.contact-band {
  padding: 30px 0;
  color: #ffffff;
  background:
    linear-gradient(90deg, rgba(2, 39, 56, 0.9), rgba(2, 39, 56, 0.68)),
    var(--section-bg-contact) center / cover no-repeat,
    var(--deep-surface);
}

.contact-band .section-kicker {
  color: var(--tertiary);
}

.contact-band h2 {
  max-width: 760px;
  margin-bottom: 16px;
  color: #ffffff;
  font-size: 46px;
  line-height: 1.08;
}

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

.contact-band-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 36px;
}

.site-footer {
  padding: 30px 0 0;
  color: var(--text-secondary);
  background: #ffffff;
}

.footer-grid {
  display: flex;
  align-items: center;
  justify-content: space-evenly;
  gap: 50px;
  border-bottom: 1px solid var(--border-subtle);
}

.footer-logo {
  width: 220px;
  margin-bottom: 5px;
}

.footer-grid p {
  font-size: 13px;
}

.footer-nav {
  display: flex;
  gap: 10px 28px;
  align-content: start;
  color: var(--ink);
  font-size: 13px;
  font-weight: 600;
  
}

.footer-nav a:hover,
.footer-nav a:focus-visible {
  color: var(--secondary);
}

.copyright {
  width: min(1120px, calc(100% - 48px));
  padding:10px 0;
  margin: 0 auto 0;
  text-align: center;
  color: var(--text-muted);
  font-size: 12px;
}

.page-hero {
  padding: 76px 0 62px;
  background:
    linear-gradient(90deg, rgba(247, 250, 250, 0.82), rgba(247, 250, 250, 0.58)),
    var(--section-bg-hero) center / cover no-repeat,
    var(--gallery-surface);
  border-bottom: 1px solid var(--border-subtle);
}

.page-hero-grid {
  display: grid;
  grid-template-columns: minmax(0, 1fr) 360px;
  align-items: center;
  gap: 70px;
}

.page-hero h1 {
  font-size: 58px;
}

.page-hero p {
  max-width: 650px;
  color: var(--text-secondary);
  font-size: 17px;
}

.page-hero img {
  width: 100%;
  aspect-ratio: 1 / 1;
  object-fit: cover;
  background: #ffffff;
  border: 1px solid var(--border-subtle);
}

.surface-section {
  background:
    linear-gradient(rgba(247, 250, 250, 0.74), rgba(247, 250, 250, 0.82)),
    var(--section-bg-service) center / cover no-repeat,
    var(--gallery-surface);
}

.value-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 20px;
}

.value-item {
  min-height: 250px;
  padding: 32px 30px;
  background: #ffffff;
  border: 1px solid var(--border-subtle);
}

.value-item span {
  display: inline-block;
  margin-bottom: 44px;
  color: var(--secondary);
  font-family: var(--font-display);
  font-weight: 700;
}

.value-item p {
  margin-bottom: 0;
  color: var(--text-secondary);
}

.company-table-wrap {
  overflow-x: auto;
}

.company-table {
  width: 100%;
  min-width: 680px;
  border-collapse: collapse;
}

.company-table th,
.company-table td {
  padding: 10px 15px;
  border-bottom: 1px solid var(--border-subtle);
  text-align: left;
  vertical-align: top;
}

.company-table th {
  width: 220px;
  color: var(--primary);
  font-weight: 600;
  background: var(--gallery-surface);
}

.company-table td {
  color: var(--text-secondary);
}

.access-section {
  background:
    linear-gradient(rgba(255, 255, 255, 0.78), rgba(255, 255, 255, 0.86)),
    var(--section-bg-works) center / cover no-repeat,
    #ffffff;
}

.access-grid {
  display: grid;
  grid-template-columns: minmax(260px, 380px) minmax(0, 1fr);
  gap: 70px;
}

.access-list {
  display: flex;
  gap: 10px;
  flex-direction: column;
    justify-content: flex-end;
}

.access-list article {
  padding: 10px 30px;
  border: 1px solid var(--border-subtle);
}

.access-list p {
  color: var(--text-secondary);
}

.contact-grid {
  display: grid;
  grid-template-columns: 330px minmax(0, 1fr);
  gap: 58px;
  align-items: start;
}

.contact-side {
  position: sticky;
  top: 110px;
  padding: 32px 30px;
  background: var(--gallery-surface);
  border: 1px solid var(--border-subtle);
}

.contact-side h2 {
  font-size: 30px;
  line-height: 1.18;
}

.contact-side p {
  color: var(--text-secondary);
}

.contact-method {
  padding: 18px 0;
  border-top: 1px solid var(--border-medium);
}

.contact-method span {
  display: block;
  color: var(--secondary);
  font-family: var(--font-display);
  font-size: 12px;
  font-weight: 700;
}

.contact-method a,
.contact-method p {
  margin: 0;
  color: var(--primary);
  font-family: var(--font-display);
  font-size: 24px;
  font-weight: 700;
  line-height: 1.3;
}

.form-panel {
  padding: 38px;
  border: 1px solid var(--border-subtle);
}

.form-steps {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  margin-bottom: 34px;
  border: 1px solid var(--border-medium);
}

.form-steps span {
  padding: 11px 12px;
  color: var(--text-tertiary);
  border-right: 1px solid var(--border-medium);
  font-size: 13px;
  font-weight: 600;
  text-align: center;
}

.form-steps span:last-child {
  border-right: 0;
}

.form-steps span.is-active {
  color: #ffffff;
  background: var(--primary);
}

.contact-form {
  display: grid;
  gap: 20px;
}

.form-row {
  display: grid;
  gap: 8px;
}

.form-row label,
.privacy-check {
  color: var(--text-secondary);
  font-size: 13px;
  font-weight: 600;
}

.form-row label span {
  display: inline-block;
  margin-left: 8px;
  padding: 2px 6px;
  color: #ffffff;
  background: var(--signal);
  font-size: 11px;
  line-height: 1.3;
}

input,
select,
textarea {
  width: 100%;
  color: var(--ink);
  background: #ffffff;
  border: 1px solid var(--border-medium);
  border-radius: 0;
  outline: none;
  transition: border-color 0.2s ease-out, box-shadow 0.2s ease-out;
}

input,
select {
  min-height: 48px;
  padding: 12px 16px;
}

textarea {
  min-height: 160px;
  padding: 14px 16px;
  resize: vertical;
}

input:focus,
select:focus,
textarea:focus {
  border-color: var(--secondary);
  box-shadow: var(--focus-ring);
}

input[aria-invalid="true"],
select[aria-invalid="true"],
textarea[aria-invalid="true"] {
  border-color: var(--signal);
}

.field-error {
  min-height: 18px;
  margin: 0;
  color: var(--signal);
  font-size: 13px;
  line-height: 1.4;
}

.honeypot {
  position: absolute;
  left: -9999px;
  width: 1px;
  height: 1px;
  overflow: hidden;
}

.privacy-check {
  display: flex;
  align-items: flex-start;
  gap: 10px;
  line-height: 1.6;
}

.privacy-check input {
  width: 18px;
  min-width: 18px;
  height: 18px;
  min-height: 18px;
  margin-top: 4px;
  accent-color: var(--secondary);
}

.privacy-check a {
  color: var(--primary);
  text-decoration: underline;
  text-decoration-color: rgba(0, 159, 232, 0.45);
  text-decoration-thickness: 2px;
  text-underline-offset: 3px;
}

.privacy-check a:hover,
.privacy-check a:focus-visible {
  color: var(--secondary);
}

.form-submit {
  justify-self: start;
  margin-top: 4px;
}

.confirm-panel h2,
.complete-panel h2 {
  font-size: 36px;
  line-height: 1.15;
}

.confirm-panel dl {
  display: grid;
  margin: 0 0 30px;
  border-top: 1px solid var(--border-medium);
}

.confirm-panel div.confirm-row {
  display: grid;
  grid-template-columns: 180px minmax(0, 1fr);
  border-bottom: 1px solid var(--border-subtle);
}

.confirm-panel dt,
.confirm-panel dd {
  margin: 0;
  padding: 16px 14px;
}

.confirm-panel dt {
  color: var(--primary);
  font-weight: 600;
  background: var(--gallery-surface);
}

.confirm-panel dd {
  white-space: pre-wrap;
  overflow-wrap: anywhere;
}

.confirm-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 14px;
}

.complete-panel {
  padding: 34px;
  background: var(--gallery-surface);
  border: 1px solid var(--border-subtle);
}

@media (max-width: 1000px) {
  .brand img {
    width: 210px;
  }

  .site-nav {
    gap: 14px;
    font-size: 12px;
  }

  .hero-grid {
    grid-template-columns: 1fr;
    gap: 42px;
    padding-top: 72px;
  }

  .hero-visual {
    min-height: auto;
  }

  .hero-video {
    width: 100%;
    max-width: 760px;
    margin-left: 0;
  }

  h1 {
    font-size: 40px;
  }

  h2 {
    font-size: 34px;
  }

  .page-hero h1 {
    font-size: 45px;
  }

  .single-hero-grid {
    grid-template-columns: 1fr;
    gap: 32px;
  }

  .single-hero-image {
    max-width: 520px;
  }

  .service-layout,
  .split-heading,
  .news-card-heading,
  .two-column,
  .access-grid,
  .contact-grid {
    grid-template-columns: 1fr;
    gap: 40px;
  }

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

  }

  .page-hero-grid {
    grid-template-columns: 1fr 260px;
    gap: 36px;
  }

  .news-card-grid {
    grid-template-columns: repeat(3, minmax(0, 1fr));
  }

  .contact-side {
    position: static;
  }
}

@media (max-width: 750px) {
  html {
    scroll-padding-top: 82px;
  }

  .container,
  .header-inner,
  .copyright {
    width: min(100% - 32px, 1120px);
  }

  .header-inner {
    min-height: 70px;
  }

  .brand img {
    width: 190px;
  }

  .nav-toggle {
    display: flex;
  }

  .site-nav {
    position: fixed;
    inset: 70px 16px auto;
    display: none;
    flex-direction: column;
    align-items: stretch;
    gap: 0;
    padding: 18px;
    background: #ffffff;
    border: 1px solid var(--border-medium);
    box-shadow: var(--shadow-overlay);
  }

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

  .site-nav a {
    padding: 14px 8px;
    border-bottom: 1px solid var(--border-subtle);
  }

  .site-nav a::after {
    display: none;
  }

  .site-nav .nav-social {
    align-self: flex-start;
    width: 42px;
    height: 42px;
    margin: 10px 0 0;
    padding: 0;
    border-bottom: 1px solid var(--border-medium);
  }

  .site-nav .nav-contact {
    margin-top: 14px;
    padding: 14px 18px;
    text-align: center;
  }

  .hero {
    background:
      linear-gradient(rgba(255, 255, 255, 0.82), rgba(255, 255, 255, 0.78)),
      var(--section-bg-hero) center / cover no-repeat,
      #ffffff;
  }

  .hero::before {
    display: none;
  }

  .hero-grid {
    padding: 56px 0 42px;
  }

  .hero-lead {
    font-size: 17px;
  }

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

  .single-hero {
    padding: 58px 0 48px;
  }

  .single-hero h1 {
    font-size: 36px;
  }

  .detail-nav {
    grid-template-columns: 1fr;
  }

  .detail-nav-next {
    text-align: left;
  }

  .detail-nav-back {
    justify-self: start;
  }

  .detail-content .alignleft,
  .detail-content .alignright {
    float: none;
    max-width: 100%;
    margin: 24px 0;
  }

  .detail-content .alignwide,
  .detail-content .alignfull {
    width: 100%;
    max-width: 100%;
    margin-left: 0;
    transform: none;
  }

  .not-found-hero {
    min-height: auto;
    padding: 64px 0;
  }

  .not-found-grid {
    grid-template-columns: 1fr;
    gap: 36px;
  }

  .not-found-code {
    font-size: 68px;
  }

  .not-found-copy h1 {
    font-size: 36px;
  }

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

  .button {
    width: 100%;
  }

  .back-to-top {
    right: 16px;
    bottom: 18px;
    width: 48px;
    height: 48px;
  }

  .hero-visual {
    min-height: auto;
  }

  .hero-strip {
    flex-wrap: wrap;
    overflow: visible;
  }

  .hero-strip span {
    flex: 1 1 50%;
    min-width: 0;
  }

  .section {
    padding: 68px 0;
  }

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

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

  .service-slide > img {
    height: auto;
    min-height: 0;
    aspect-ratio: 16 / 11;
    border-right: 0;
    border-bottom: 1px solid var(--border-subtle);
  }

  .service-slide-body {
    padding: 30px 24px 96px;
  }

  .service-tools-three-lines {
    grid-template-columns: repeat(4, minmax(0, 1fr));
    max-width: none;
  }

  .service-tools-three-lines .tool-chip {
    min-height: 28px;
    padding: 5px 4px;
    gap: 4px;
    font-size: 10px;
  }

  .service-tools-three-lines .tool-chip img {
    width: 14px;
    height: 14px;
  }

  .slider-controls {
    left: 24px;
    right: auto;
    bottom: 24px;
  }

  .work-grid,
  .news-card-grid,
  .value-grid {
    grid-template-columns: 1fr;
  }

  .footer-grid {
    display: grid;
    grid-template-columns: 1fr;
    align-items: start;
    justify-content: start;
    gap: 16px;
    padding-bottom: 22px;
    text-align: left;
  }

  .footer-logo {
    width: 190px;
    margin-bottom: 0;
  }

  .footer-grid p {
    margin: 0;
  }

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

  .footer-nav a {
    padding: 4px 0;
  }

  .news-card {
    min-height: 0;
  }

  .news-pagination {
    align-items: stretch;
    display: grid;
    grid-template-columns: 1fr auto 1fr;
  }

  .news-page-list {
    justify-content: center;
  }

  .work-filter {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    max-width: none;
  }

  .work-filter-button:nth-child(3)::before {
    display: none;
  }

  .contact-band-inner {
    display: grid;
  }

  .contact-band h2 {
    font-size: 30px;
  }

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

  .page-hero img {
    max-width: 320px;
  }

  .company-table {
    min-width: 620px;
  }

  .form-panel {
    padding: 24px 18px;
  }

  .confirm-panel div.confirm-row {
    grid-template-columns: 1fr;
  }

  .confirm-panel dt {
    padding-bottom: 4px;
  }

  .confirm-panel dd {
    padding-top: 4px;
  }
}

@media (max-width: 520px) {
  .brand img {
    width: 168px;
  }

  h1 {
    font-size: 32px;
    line-height: 1.08;
  }

  h2,
  .page-hero h1 {
    font-size: 34px;
  }

  .single-hero h1 {
    font-size: 32px;
  }

  .detail-content {
    font-size: 15px;
  }

  .hero-lead,
  .page-hero p {
    font-size: 16px;
  }

  .hero-visual {
    min-height: auto;
  }

  .service-slide h3 {
    font-size: 19px;
  }

  .contact-method a,
  .contact-method p {
    font-size: 20px;
  }
}

@media (max-width: 374px) {
  .brand img {
    width: 154px;
  }

  h1 {
    font-size: 30px;
  }

  h2,
  .page-hero h1 {
    font-size: 32px;
  }

  .hero-visual {
    min-height: auto;
  }

  .button {
    padding-right: 18px;
    padding-left: 18px;
  }

  .service-tab {
    min-height: 54px;
    padding-right: 14px;
    padding-left: 14px;
  }
}

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