@charset "UTF-8";
@import url("https://fonts.googleapis.com/css2?family=Montserrat:wght@300;400;500;600&family=Shippori+Mincho+B1:wght@400;500;600;700&display=swap");
@import url("../fonts/gen-interface-jp/300.css");
@import url("../fonts/gen-interface-jp/400.css");
@import url("../fonts/gen-interface-jp/500.css");
@import url("../fonts/gen-interface-jp/600.css");
@import url("../fonts/gen-interface-jp/700.css"); /* ===== 1. Shared business diagram ===== */ /* Original SVG outlines; only the circles, dots and text groups are animated. */
.business-diagram {
  color: var(--white);
  display: block;
  width: min(var(--business-diagram-width), 100%);
  height: auto;
  flex-shrink: 0;
  overflow: visible;
}
.business-diagram {
  --diagram-draw-duration: 3s;
  --diagram-text-duration: 0.6s;
  --diagram-text-delay: 0.7s;
  --diagram-orbit-duration: 8s;
}
@media (max-width: 768px) {
  .business-diagram {
    aspect-ratio: 644 / 450;
  }
  .business-diagram__circle {
    transform-box: view-box;
  }
  .business-diagram__circle--left {
    transform-origin: 206px 206px;
    transform: translateX(19px) scale(1.092345);
  }
  .business-diagram__circle--right {
    transform-origin: 438px 206px;
    transform: translateX(-19px) scale(1.092345);
  }
  .business-diagram__text-artwork {
    transform-box: fill-box;
    transform-origin: center;
    transform: translate(var(--diagram-text-x, 0px), -19px) scale(1.5);
  }
  .business-diagram__text--left {
    --diagram-text-x: -10px;
  }
  .business-diagram__text--right {
    --diagram-text-x: 13px;
  }
}

.business-diagram__orbit {
  transform-box: view-box;
}
.business-diagram__orbit--left {
  transform-origin: 206px 206px;
  --diagram-turn: -360deg;
}
.business-diagram__orbit--right {
  transform-origin: 438px 206px;
  --diagram-turn: 360deg;
}
.business-diagram-motion .business-diagram:not(.is-started) {
  visibility: hidden;
}
.business-diagram-motion .business-diagram__line {
  stroke-dasharray: 1;
  stroke-dashoffset: 1;
}
.business-diagram-motion .is-started .business-diagram__line {
  animation: diagram-draw var(--diagram-draw-duration) linear both;
}
.business-diagram-motion .is-started .business-diagram__orbit {
  animation:
    diagram-orbit var(--diagram-draw-duration) linear both,
    diagram-orbit-loop var(--diagram-orbit-duration) linear var(--diagram-draw-duration) infinite;
}
.business-diagram-motion .is-started .business-diagram__text {
  animation: diagram-text-in var(--diagram-text-duration) ease-out both;
  animation-delay: calc(var(--diagram-text-delay) + var(--diagram-text-duration));
}
.business-diagram-motion .is-started .business-diagram__text--center {
  animation-delay: var(--diagram-text-delay);
}
@keyframes diagram-draw {
  from {
    stroke-dashoffset: 1;
  }
  to {
    stroke-dashoffset: 0;
  }
}
@keyframes diagram-orbit {
  from {
    transform: rotate(0deg);
  }
  to {
    transform: rotate(var(--diagram-turn));
  }
}
@keyframes diagram-orbit-loop {
  from {
    transform: rotate(0deg);
  }
  to {
    transform: rotate(var(--diagram-turn));
  }
}
@keyframes diagram-text-in {
  from {
    opacity: 0;
    transform: translateY(30px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}
@media (prefers-reduced-motion: reduce) {
  .business-diagram-motion .business-diagram:not(.is-started) {
    visibility: visible;
  }
  .business-diagram-motion
    .is-started
    :is(.business-diagram__line, .business-diagram__orbit, .business-diagram__text) {
    animation: none;
  }
  .business-diagram-motion .business-diagram__line {
    stroke-dashoffset: 0;
  }
}
/* ===== 2. Base, shared components and home layout ===== */
:root {
  /* 1440px: 1×; 1920px and wider: 1.2×. Shared text, spacing and layout lengths. */
  --fluid-unit: clamp(1px, calc(0.4px + 0.0416666667vw), 1.2px);
  --text-unit: var(--fluid-unit);
  /* Numeric font bases; SP remaps these once before fluid scaling. */
  --text-base-11: 11;
  --text-base-12: 12;
  --text-base-13: 13;
  --text-base-14: 14;
  --text-base-15: 15;
  --mobile-text-unit: 1px;
  --business-diagram-width: calc(800 * var(--fluid-unit));
  --font-size-base: calc(var(--text-base-13) * var(--text-unit));
  --font-size-fixed-base: 13px;
  --font-size-12: calc(var(--text-base-12) * var(--text-unit));
  --font-size-13: calc(var(--text-base-13) * var(--text-unit));
  --font-size-15: calc(15 * var(--text-unit));
  --font-size-16: calc(16 * var(--text-unit));
  --blue: #0197be;
  --ink: #141414;
  --white: #fff;
  --serif: "Shippori Mincho B1", serif;
  --sans: "Gen Interface JP", sans-serif;
  --en: "Montserrat", sans-serif;
}
/* Mobile text only: 365px = 1x, 768px = 1.4x; layout lengths stay separate. */
@media (max-width: 768px) {
  :root {
    --text-unit: clamp(1px, calc(0.6377171216px + 0.0992555831vw), 1.4px);
    --mobile-text-unit: var(--text-unit);
    --text-base-11: 13;
    --text-base-12: 14;
    --text-base-13: 14;
    --text-base-14: 15;
    --text-base-15: 16;
    /* Preserve existing token assignments; remap their SP bases above. */
    --font-size-13: calc(var(--text-base-14) * var(--text-unit));
    --font-size-base: calc(var(--text-base-15) * var(--text-unit));
    --font-size-fixed-base: var(--font-size-base);
  }
}
* {
  box-sizing: border-box;
}
html {
  scroll-behavior: smooth;
  scroll-padding-top: calc(90 * var(--fluid-unit));
}
body {
  margin: 0;
  color: var(--ink);
  background: var(--white);
  font-family: var(--sans);
  font-size: calc(14 * var(--text-unit));
  line-height: 2;
  letter-spacing: 0.08em;
}
@media (min-width: 769px) {
  a[href^="tel:"] {
    pointer-events: none;
  }
}

a {
  color: inherit;
  text-decoration: none;
}
button {
  font: inherit;
  cursor: pointer;
}
img {
  display: block;
  max-width: 100%;
  object-fit: cover;
}
a,
button {
  transition: opacity 0.25s;
}
a:hover,
button:hover {
  opacity: 0.65;
}
a:focus-visible,
button:focus-visible {
  outline: 2px solid var(--blue);
  outline-offset: 6px;
}
h1,
h2,
h3,
p {
  margin: 0;
}
h2 {
  font-family: var(--serif);
  font-size: calc(32 * var(--text-unit));
  font-weight: 500;
  letter-spacing: 0.13em;
  line-height: 1.5;
}
h2 small {
  display: block;
  font: calc(var(--text-base-11) * var(--text-unit))/1.8 var(--en);
  color: var(--blue);
  letter-spacing: 0.04em;
}
p {
  line-height: 2.2;
}
.header {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: calc(112 * var(--fluid-unit));
  padding: calc(28 * var(--fluid-unit)) 3.5%;
  display: flex;
  align-items: center;
  gap: calc(15 * var(--fluid-unit));
  z-index: 10;
}
.brand {
  width: calc(310 * var(--fluid-unit));
  flex-shrink: 0;
}
.brand img {
  width: 100%;
}
.header nav {
  display: flex;
  align-items: center;
  gap: calc(24 * var(--fluid-unit));
  margin-left: auto;
  font-size: calc(var(--text-base-11) * var(--text-unit));
  white-space: nowrap;
}
.pill {
  display: inline-flex;
  align-items: center;
  justify-content: space-between;
  gap: calc(24 * var(--fluid-unit));
  border: 1px solid var(--blue);
  border-radius: calc(30 * var(--fluid-unit));
  color: var(--blue);
  font-size: var(--font-size-12);
  line-height: 1.6;
  padding: calc(6 * var(--fluid-unit)) calc(20 * var(--fluid-unit));
}
.menu,
.drawer-close {
  width: calc(55 * var(--fluid-unit));
  height: calc(35 * var(--fluid-unit));
  padding: 0;
  border: 0.5px solid;
  border-radius: calc(40 * var(--fluid-unit));
  background: transparent;
}
.menu {
  border-color: #333;
  display: grid;
  align-content: center;
  justify-content: center;
  gap: calc(3 * var(--fluid-unit));
}
.menu span {
  width: calc(16 * var(--fluid-unit));
  height: 1px;
  background: #333;
}
.hero {
  height: calc(880 * var(--fluid-unit));
  position: relative;
  background:
    radial-gradient(ellipse at 9% 22%, #e8f6f8 0, transparent 30%),
    radial-gradient(ellipse at 83% 36%, #f0f8fa 0, transparent 35%);
}
.hero h1 {
  font: 500 calc(55 * var(--text-unit))/1.95 var(--serif);
  letter-spacing: 0.21em;
}
.hero em {
  font-style: normal;
  color: var(--blue);
}
.hero-copy p {
  color: var(--blue);
  font: calc(var(--text-base-11) * var(--text-unit)) var(--en);
  margin-top: calc(40 * var(--fluid-unit));
}
.scroll {
  position: absolute;
  right: calc(22 * var(--fluid-unit));
  bottom: calc(50 * var(--fluid-unit));
  writing-mode: vertical-rl;
  font-size: calc(8 * var(--text-unit));
  color: var(--blue);
  display: flex;
  align-items: center;
  gap: calc(12 * var(--fluid-unit));
}
.scroll span {
  height: calc(65 * var(--fluid-unit));
  width: 1px;
  background: var(--blue);
}
.wrap {
  max-width: calc(920 * var(--fluid-unit));
  margin: auto;
}
.news {
  padding: calc(35 * var(--fluid-unit)) 0 calc(80 * var(--fluid-unit));
}
.section-head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: calc(25 * var(--fluid-unit));
}
.news h2 {
  font-size: calc(28 * var(--text-unit));
}
.news-row {
  display: grid;
  grid-template-columns: calc(120 * var(--fluid-unit)) 1fr calc(15 * var(--fluid-unit));
  gap: calc(10 * var(--fluid-unit));
  padding: calc(17 * var(--fluid-unit)) 0;
  border-bottom: 1px solid #e5eeee;
  font-size: calc(var(--text-base-11) * var(--text-unit));
  align-items: center;
}
.home-page .news-row p {
  font-size: calc(14 * var(--text-unit));
}
.news-row time {
  color: #acb6b9;
  font-family: var(--en);
}
.news-row span {
  color: var(--blue);
}
.about {
  height: calc(1320 * var(--fluid-unit));
  position: relative;
  max-width: calc(1600 * var(--fluid-unit));
  margin: auto;
}
.about > img {
  position: absolute;
}
.about-main {
  left: 3.5%;
  top: calc(190 * var(--fluid-unit));
  width: 40%;
}
.about-top {
  right: 0;
  top: calc(80 * var(--fluid-unit));
  width: 24%;
}
.about-small {
  left: 3.5%;
  top: calc(805 * var(--fluid-unit));
  width: 27%;
}
.about-room {
  right: 3.5%;
  top: calc(980 * var(--fluid-unit));
  width: 17.5%;
}
.about-copy {
  position: absolute;
  left: 54%;
  top: calc(440 * var(--fluid-unit));
  max-width: 42%;
}
.about h3 {
  color: var(--blue);
  font-size: var(--font-size-16);
  font-family: var(--serif);
  margin: calc(25 * var(--fluid-unit)) 0 calc(10 * var(--fluid-unit));
}
.about-copy p {
  font-family: var(--serif);
  font-size: var(--font-size-16);
  line-height: 2.65;
}
.text-link {
  display: flex;
  align-items: center;
  gap: calc(20 * var(--fluid-unit));
  color: var(--blue);
  font-size: var(--font-size-13);
  margin-top: calc(35 * var(--fluid-unit));
}
.orbit {
  font-family: var(--en);
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: calc(45 * var(--fluid-unit));
  height: calc(45 * var(--fluid-unit));
  font-size: calc(25 * var(--text-unit));
  border-right: 3px solid;
  border-bottom: 3px solid;
  border-radius: 50%;
  transform: rotate(-20deg);
}
.family-photo {
  width: 100%;
  height: calc(940 * var(--fluid-unit));
  overflow: hidden;
}
.family-photo img {
  height: 100%;
  width: 100%;
}
.business-body {
  position: relative;
  background: #595a59;
  color: #fff;
  padding: 0 calc(20 * var(--fluid-unit)) calc(145 * var(--fluid-unit));
  min-height: calc(1250 * var(--fluid-unit));
}
.business-body:before {
  content: "";
  position: absolute;
  left: 0;
  right: 0;
  top: 0;
  height: calc(290 * var(--fluid-unit));
  background: radial-gradient(ellipse at 50% -45%, #c0c3c37a, transparent 70%);
  pointer-events: none;
}
.circles {
  display: flex;
  justify-content: center;
  position: relative;
  top: calc(-18 * var(--fluid-unit));
  padding-bottom: calc(90 * var(--fluid-unit));
}
.circle {
  width: calc(310 * var(--fluid-unit));
  height: calc(390 * var(--fluid-unit));
  border: 1px solid #ffffff50;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-direction: column;
  margin: 0 calc(-38 * var(--fluid-unit));
}
.circle b {
  font: calc(70 * var(--text-unit)) var(--serif);
  font-weight: 400;
}
.circle span {
  text-align: center;
  font: var(--font-size-13)/1.8 var(--serif);
  margin-top: calc(15 * var(--fluid-unit));
}
.circle.center {
  z-index: 1;
}
.circle.center b {
  font-size: calc(88 * var(--text-unit));
}
.business-copy {
  max-width: calc(610 * var(--fluid-unit));
  margin: auto;
}
.business-copy h2 {
  font-size: calc(34 * var(--text-unit));
}
.business-copy h2 small {
  color: #c0c4c5;
  margin-top: calc(4 * var(--fluid-unit));
}
.business-copy p {
  font-size: var(--font-size-16);
  margin-top: calc(30 * var(--fluid-unit));
}
.business-copy .text-link {
  color: #fff;
  justify-content: center;
  margin-top: calc(60 * var(--fluid-unit));
}
.company {
  padding: calc(160 * var(--fluid-unit)) 10.5% calc(150 * var(--fluid-unit));
  background: radial-gradient(ellipse at 30% 50%, #fff, #f0f7f8);
}
.company-inner {
  display: grid;
  grid-template-columns: 1.6fr 1fr;
  gap: calc(140 * var(--fluid-unit));
  max-width: calc(1200 * var(--fluid-unit));
  margin: auto;
}
.company-inner > img {
  width: 100%;
  height: calc(550 * var(--fluid-unit));
}
.company h2 {
  font-size: calc(38 * var(--text-unit));
}
.company-links {
  margin-top: calc(60 * var(--fluid-unit));
}
.company-links > a {
  display: grid;
  grid-template-columns: calc(160 * var(--fluid-unit)) 1fr calc(40 * var(--fluid-unit));
  gap: calc(15 * var(--fluid-unit));
  align-items: center;
  border-bottom: 1px solid #dce8ec;
  padding: calc(24 * var(--fluid-unit)) 0;
}
.company-links b {
  font-weight: 500;
  font-size: calc(16 * var(--text-unit));
}
.company-links p {
  font-size: var(--font-size-12);
  line-height: 1.8;
}
.arrow {
  display: inline-flex;
  justify-content: center;
  align-items: center;
  color: var(--blue);
  border: 1px solid var(--blue);
  border-radius: 50%;
  width: calc(36 * var(--fluid-unit));
  height: calc(36 * var(--fluid-unit));
  line-height: 1;
}
.recruit {
  height: calc(820 * var(--fluid-unit));
  background:
    linear-gradient(#0005, #0005),
    url("../images/home-recruit__img01.png.webp") center/cover;
  color: white;
}
.recruit-inner {
  height: 100%;
  max-width: calc(1240 * var(--fluid-unit));
  margin: auto;
  padding: calc(65 * var(--fluid-unit)) 0;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
}
.recruit h2,
.contact h2 {
  font: calc(52 * var(--text-unit))/1.3 var(--en);
  letter-spacing: 0.08em;
}
.recruit h2 small,
.contact h2 small {
  font: calc(var(--text-base-11) * var(--text-unit)) var(--sans);
  color: inherit;
}
.recruit-bottom > p {
  font-size: var(--font-size-13);
  margin-bottom: calc(20 * var(--fluid-unit));
}
.recruit-cards {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: calc(12 * var(--fluid-unit));
}
.recruit-cards > a {
  background: var(--white);
  color: var(--ink);
  position: relative;
  padding: calc(26 * var(--fluid-unit)) calc(32 * var(--fluid-unit));
  min-height: calc(175 * var(--fluid-unit));
}
.recruit-cards h3 {
  font: calc(24 * var(--text-unit)) var(--serif);
  color: var(--blue);
  margin-bottom: calc(20 * var(--fluid-unit));
}
.recruit-cards h3 small {
  font: calc(var(--text-base-11) * var(--text-unit)) var(--en);
  margin-left: calc(15 * var(--fluid-unit));
}
.recruit-cards p {
  font-size: var(--font-size-13);
}
.recruit-cards .arrow {
  position: absolute;
  bottom: calc(30 * var(--fluid-unit));
  right: calc(30 * var(--fluid-unit));
}
.contact {
  background: var(--ink);
  color: #eee;
  padding: calc(150 * var(--fluid-unit)) 14%;
}
.contact-inner {
  display: flex;
  align-items: flex-end;
  justify-content: space-between;
  gap: calc(60 * var(--fluid-unit));
  max-width: calc(1100 * var(--fluid-unit));
  margin: auto;
}
.contact p {
  font-size: calc(var(--text-base-11) * var(--text-unit));
  margin: calc(28 * var(--fluid-unit)) 0;
}
.contact img {
  width: 50%;
  margin-bottom: calc(6 * var(--fluid-unit));
}
.contact-button {
  border: 0;
  background: white;
  border-radius: calc(40 * var(--fluid-unit));
  padding: calc(12 * var(--fluid-unit)) calc(18 * var(--fluid-unit)) calc(12 * var(--fluid-unit)) calc(30 * var(--fluid-unit));
  display: flex;
  gap: calc(40 * var(--fluid-unit));
  align-items: center;
  font-size: var(--font-size-base);
  color: var(--ink);
}
.contact-button .arrow {
  width: calc(24 * var(--fluid-unit));
  height: calc(24 * var(--fluid-unit));
  color: var(--ink);
  border-color: #aaa;
}
footer {
  background: var(--ink);
  color: #c1c4c4;
}
.footer-main {
  border-top: 1px solid #343535;
  margin: 0 3.5%;
  padding: calc(80 * var(--fluid-unit)) 0 calc(110 * var(--fluid-unit));
  display: flex;
  justify-content: space-between;
}
.footer-brand {
  font: calc(18 * var(--text-unit)) var(--serif);
}
.brand-icon {
  font: calc(50 * var(--text-unit)) var(--en);
  color: var(--blue);
  vertical-align: middle;
}
.footer-main p {
  font-size: calc(var(--text-base-11) * var(--text-unit));
  margin-top: calc(20 * var(--fluid-unit));
}
.footer-nav {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: calc(24 * var(--fluid-unit)) calc(50 * var(--fluid-unit));
  font-size: calc(var(--text-base-11) * var(--text-unit));
  align-content: start;
}
.group {
  background: var(--ink);
  padding: calc(90 * var(--fluid-unit)) 3.5% calc(95 * var(--fluid-unit));
}
.group h3 {
  font-size: calc(17 * var(--text-unit));
  font-weight: 400;
  margin-bottom: calc(60 * var(--fluid-unit));
}
.group h3 small {
  font-size: var(--font-size-12);
  margin-left: calc(20 * var(--fluid-unit));
}
.group-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: calc(45 * var(--fluid-unit)) calc(55 * var(--fluid-unit));
}
.group h4 {
  font-size: var(--font-size-base);
  font-weight: 400;
  margin: 0 0 calc(12 * var(--fluid-unit));
  border-bottom: 1px solid #555;
  padding-bottom: calc(4 * var(--fluid-unit));
  display: inline-block;
}
.group p {
  font-size: var(--font-size-12);
}
.copyright {
  font-size: calc(var(--text-base-13) * var(--text-unit));
  display: flex;
  justify-content: space-between;
  background: var(--ink);
  border-top: 1px solid #353636;
  padding: calc(35 * var(--fluid-unit)) 3.5%;
  color: #858787;
}
@media (max-width: 1150px) {
  .header nav {
    gap: 14px;
    font-size: calc(9 * var(--mobile-text-unit));
  }
  .brand {
    width: 235px;
  }
  .wrap {
    width: 80%;
  }
  .company-inner {
    gap: 60px;
  }
  .company-links > a {
    grid-template-columns: 115px 1fr 30px;
  }
  .company-links b {
    font-size: var(--font-size-fixed-base);
  }
  .recruit-inner {
    padding: 60px 7%;
  }
  .about-copy {
    top: 370px;
  }
  .about {
    height: 1120px;
  }
  .about-small {
    top: 740px;
  }
  .about-room {
    top: 850px;
  }
  .family-photo {
    height: 70vw;
  }
  .footer-nav {
    gap: 20px;
  }
  .business-body {
    min-height: 1100px;
  }
}
@media (max-width: 768px) {
  .header {
    height: 80px;
    padding: 20px 6%;
    justify-content: space-between;
  }
  .brand {
    width: 220px;
  }
  .header nav {
    display: none;
  }
  .header.is-open nav {
    display: flex;
    position: absolute;
    top: 80px;
    left: 0;
    width: 100%;
    padding: 35px;
    background: var(--white);
    flex-direction: column;
    gap: 24px;
    font-size: var(--font-size-fixed-base);
    box-shadow: 0 15px 20px #00000008;
  }
  .hero {
    height: 670px;
  }
  .hero h1 {
    font-size: calc(36 * var(--mobile-text-unit));
    line-height: 2.1;
  }
  .hero-copy p {
    font-size: calc(9 * var(--mobile-text-unit));
    margin-top: 28px;
  }
  .scroll {
    right: 15px;
    bottom: 50px;
  }
  .wrap {
    width: 86%;
  }
  .news {
    padding: 0 0 45px;
  }
  .news h2 {
    font-size: calc(23 * var(--mobile-text-unit));
  }
  .pill {
    font-size: calc(9 * var(--mobile-text-unit));
    padding: 5px 13px;
    gap: 12px;
  }
  .news-row {
    grid-template-columns: minmax(0, 1fr) 12px;
    grid-template-areas: "date arrow" "title arrow";
    row-gap: 0;
    font-size: var(--font-size-12);
    padding: 15px 0;
  }
  .news-row time {
    grid-area: date;
  }
  .home-page .news-row p {
    grid-area: title;
    font-size: calc(13 * var(--text-unit));
  }
  .news-row > span {
    grid-area: arrow;
  }
  .about {
    height: auto;
    padding: 150px 7% 93%;
    display: flex;
    flex-direction: column;
  }
  .about .about-main {
    position: relative;
    left: -8%;
    top: auto;
    width: 82%;
    max-width: none;
  }
  .about .about-top {
    top: 40px;
    width: 33%;
  }
  .about-copy {
    position: relative;
    left: auto;
    top: auto;
    max-width: none;
    margin: 55px 0 0;
  }
  h2 {
    font-size: calc(25 * var(--mobile-text-unit));
  }
  .about-copy p {
    font-size: var(--font-size-13);
  }
  .about h3 {
    font-size: var(--font-size-13);
  }
  .about-small {
    top: auto !important;
    bottom: 8%;
    left: 0 !important;
    width: 60% !important;
  }
  .about-room {
    top: auto !important;
    bottom: 17%;
    right: 0;
    width: 30% !important;
  }
  .family-photo {
    height: 75vw;
  }
  .business-body {
    min-height: 0;
    padding: 0 8% 80px;
  }
  .circles {
    padding-bottom: 30px;
    top: -5px;
  }
  .circle {
    width: 140px;
    height: 190px;
    margin: 0 -15px;
    flex-shrink: 0;
  }
  .circle b {
    font-size: calc(37 * var(--mobile-text-unit));
  }
  .circle.center b {
    font-size: calc(49 * var(--mobile-text-unit));
  }
  .circle span {
    font-size: calc(8 * var(--mobile-text-unit));
  }
  .business-copy h2 {
    font-size: calc(23 * var(--mobile-text-unit));
  }
  .business-copy h2 br,
  .business-copy__quote {
    display: none;
  }
  .business-copy p {
    font-size: calc(var(--text-base-11) * var(--mobile-text-unit));
    line-height: 2.3;
  }
  .business-copy .text-link {
    margin-top: 35px;
  }
  .company {
    padding: 75px 8%;
  }
  .company-inner {
    grid-template-columns: 1fr;
    gap: 35px;
  }
  .company h2 {
    font-size: calc(28 * var(--mobile-text-unit));
  }
  .company-links {
    margin-top: 28px;
  }
  .company-links > a {
    grid-template-columns: 100px 1fr 30px;
    padding: 20px 0;
    gap: 10px;
  }
  .company-links p {
    font-size: calc(9 * var(--mobile-text-unit));
  }
  .company-links .arrow {
    width: 28px;
    height: 28px;
  }
  .company-inner > img {
    width: 55%;
    height: auto;
    margin-left: auto;
  }
  .recruit {
    height: 650px;
  }
  .recruit-inner {
    padding: 40px 7%;
  }
  .recruit h2,
  .contact h2 {
    font-size: calc(36 * var(--mobile-text-unit));
  }
  .recruit-bottom > p {
    font-size: var(--font-size-12);
  }
  .recruit-cards {
    grid-template-columns: 1fr;
  }
  .recruit-cards > a {
    min-height: 125px;
    padding: 20px;
  }
  .recruit-cards h3 {
    font-size: calc(21 * var(--mobile-text-unit));
    margin-bottom: 10px;
  }
  .recruit-cards p {
    font-size: var(--font-size-12);
  }
  .recruit-cards .arrow {
    bottom: 20px;
    right: 20px;
  }
  .contact {
    padding: 75px 8%;
  }
  .contact-inner {
    display: block;
  }
  .contact img {
    width: 100%;
    margin-top: 50px;
  }
  .footer-main {
    padding: 50px 4%;
    display: block;
  }
  .footer-brand {
    font-size: calc(var(--text-base-15) * var(--mobile-text-unit));
  }
  .footer-nav {
    margin-top: 40px;
    grid-template-columns: repeat(2, 1fr);
    font-size: var(--font-size-12);
  }
  .group {
    padding: 50px 8%;
  }
  .group h3 {
    font-size: var(--font-size-fixed-base);
    margin-bottom: 35px;
  }
  .group h3 small {
    display: block;
    margin: 8px 0;
  }
  .group-grid {
    grid-template-columns: 1fr 1fr;
    gap: 30px 25px;
  }
  .group h4 {
    font-size: calc(var(--text-base-11) * var(--mobile-text-unit));
  }
  .group p {
    font-size: calc(9 * var(--mobile-text-unit));
  }
  .copyright {
    padding: 25px 8%;
    flex-direction: column;
    gap: 10px;
  }
}
@media (prefers-reduced-motion: reduce) {
  html {
    scroll-behavior: auto;
  }
  a,
  button {
    transition: none;
  }
}
/* ブランドカラー：背景の濃淡は基準色から派生 */
.business-body {
  background: var(--ink);
  color: var(--white);
}
.recruit,
.contact {
  color: var(--white);
}
footer {
  color: var(--white);
}
/* 書き出し素材 */
.maincopy {
  width: calc(326 * var(--fluid-unit));
  height: auto;
  object-fit: contain;
}
.circles > img {
  width: min(calc(644 * var(--fluid-unit)), 100%);
  height: auto;
  object-fit: contain;
}
.link-mark {
  width: calc(56 * var(--fluid-unit));
  height: calc(54 * var(--fluid-unit));
  object-fit: contain;
}
.contact-gallery {
  display: flex;
  width: 50%;
  gap: calc(12 * var(--fluid-unit));
  overflow: hidden;
  margin-bottom: calc(6 * var(--fluid-unit));
}
.contact-gallery img {
  width: calc((100% - calc(36 * var(--fluid-unit))) / 4);
  flex-shrink: 0;
  aspect-ratio: 3/2;
  object-fit: cover;
  margin: 0;
}
.footer-brand img {
  width: calc(295 * var(--fluid-unit));
  height: auto;
  filter: brightness(0) invert(1);
}
@media (max-width: 768px) {
  .maincopy {
    width: 250px;
    max-width: 65vw;
  }
  .contact-gallery {
    width: 100%;
    margin-top: 50px;
    gap: 8px;
  }
  .contact-gallery img {
    width: calc((100% - 24px) / 4);
    margin: 0;
  }
  .footer-brand img {
    width: 245px;
  }
  .link-mark {
    width: 45px;
    height: 44px;
  }
}
/* 共通の右矢印アイコン */
.arrow-icon {
  display: inline-block;
  width: calc(15 * var(--fluid-unit));
  height: calc(10 * var(--fluid-unit));
  max-width: none;
  object-fit: contain;
  vertical-align: middle;
  flex-shrink: 0;
}
.contact .arrow-icon {
  width: calc(15 * var(--fluid-unit));
  height: calc(10 * var(--fluid-unit));
  margin: 0;
}
/* グローバルナビ：原稿の明朝体と文字サイズに合わせる */
.header nav {
  font-family: var(--serif);
  font-size: var(--font-size-16);
  font-weight: 500;
  line-height: 1.5;
  letter-spacing: 0.04em;
}
.header nav .pill {
  width: calc(165 * var(--fluid-unit));
  height: calc(35 * var(--fluid-unit));
  flex-shrink: 0;
  padding: 0 calc(30 * var(--fluid-unit));
  gap: calc(5 * var(--fluid-unit));
  justify-content: center;
  border-width: 0.5px;
  border-radius: calc(40 * var(--fluid-unit));
  font-family: var(--sans);
  font-size: var(--font-size-16);
  font-weight: 400;
  line-height: 1;
  letter-spacing: 0.04em;
}
.header nav .pill .arrow-icon {
  width: calc(13 * var(--fluid-unit));
  height: calc(9.479167 * var(--fluid-unit));
  flex-shrink: 0;
}
@media (min-width: 769px) and (max-width: 1150px) {
  .header nav,
  .header nav .pill {
    font-size: var(--font-size-13);
  }
  .header nav {
    gap: 12px;
  }
  .header nav .pill {
    width: auto;
    padding-inline: 12px;
    gap: 5px;
  }
}
@media (max-width: 768px) {
  .header.is-open nav,
  .header nav .pill {
    font-size: var(--font-size-16);
  }
}
/* グローバルナビのドロップダウン */
.nav-dropdown {
  position: relative;
}
.nav-trigger {
  display: flex;
  align-items: center;
  gap: calc(8 * var(--fluid-unit));
  border: 0;
  padding: 0;
  background: transparent;
  color: inherit;
  font: inherit;
  letter-spacing: inherit;
  line-height: inherit;
  white-space: nowrap;
}
.nav-trigger > img {
  width: calc(8 * var(--fluid-unit));
  height: calc(7 * var(--fluid-unit));
  object-fit: contain;
}
.nav-submenu {
  position: absolute;
  left: calc(-16 * var(--fluid-unit));
  top: 100%;
  min-width: calc(190 * var(--fluid-unit));
  margin: 0;
  padding: calc(20 * var(--fluid-unit)) calc(16 * var(--fluid-unit)) calc(16 * var(--fluid-unit));
  list-style: none;
  background: #fff;
  visibility: hidden;
  opacity: 0;
  pointer-events: none;
  transition:
    opacity 0.18s,
    visibility 0.18s;
}
.nav-submenu li {
  margin: 0;
  padding: 0;
}
.nav-submenu a {
  display: flex;
  align-items: center;
  gap: calc(6 * var(--fluid-unit));
  padding: calc(9 * var(--fluid-unit)) 0;
  font-family: var(--serif);
  font-size: var(--font-size-base);
  font-weight: 400;
  line-height: 1.3;
  letter-spacing: 0.06em;
  color: #777;
  white-space: nowrap;
}
.nav-submenu a:before {
  content: "";
  width: calc(10 * var(--fluid-unit));
  height: 1px;
  background: currentColor;
  flex-shrink: 0;
}
.nav-dropdown.is-open > .nav-submenu {
  visibility: visible;
  opacity: 1;
  pointer-events: auto;
}
@media (max-width: 768px) {
  .header.is-open nav {
    align-items: stretch;
    max-height: calc(100dvh - 80px);
    overflow-y: auto;
  }
  .nav-trigger {
    width: 100%;
    justify-content: space-between;
  }
  .nav-submenu {
    display: none;
    position: static;
    min-width: 0;
    padding: 12px 0 0 14px;
    background: transparent;
  }
  .nav-dropdown.is-open > .nav-submenu {
    display: block;
  }
  .nav-submenu a {
    padding: 11px 0;
  }
}
@media (prefers-reduced-motion: reduce) {
  .nav-submenu {
    transition: none;
  }
}
/* ドロップダウンの背景は透明 */
.nav-submenu {
  background: transparent;
}
/* Business: the city is a fixed section background, revealed after 15vh. */
.business {
  position: relative;
  isolation: isolate;
  background-color: var(--ink);
  background-image:
    linear-gradient(rgba(0, 0, 0, 0.7), rgba(0, 0, 0, 0.7)),
    url("../images/top-d-business-family-02.png.webp");
  background-position: center;
  background-size: cover;
  background-repeat: no-repeat;
  background-attachment: fixed;
}
.business .family-photo {
  position: relative;
  width: 100%;
  height: 130vh;
  overflow: hidden;
}
.business .family-photo > img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 130vh;
  object-fit: cover;
  object-position: center;
  transition: opacity 0.5s ease;
}
.business.is-landscape .family-photo-first {
  opacity: 0;
}
.business .business-body {
  position: relative;
  z-index: 1;
  min-height: 0;
  background: transparent;
  padding: 0 calc(20 * var(--fluid-unit)) 25vh;
  color: var(--white);
}
@media (prefers-reduced-motion: reduce) {
  .business {
    background-attachment: scroll;
  }
  .business .family-photo > img {
    transition: none;
  }
}
.business .business-body:before {
  content: none;
}
.business .circles {
  top: 0;
  padding-bottom: calc(90 * var(--fluid-unit));
}
.business .business-copy {
  text-shadow: 0 1px 8px #14141455;
}
@media (max-width: 768px) {
  .business {
    background: var(--ink);
  }
  .business .family-photo {
    height: auto;
  }
  .business .family-photo > img {
    position: static;
    height: auto;
    opacity: 1;
    transition: none;
  }
  .business .business-body {
    background:
      linear-gradient(rgba(0, 0, 0, 0.7), rgba(0, 0, 0, 0.7)),
      url("../images/top-d-business-family-02.png.webp") center/cover no-repeat;
    padding: 12vh 8% 20vh;
  }
  .business .circles {
    padding-bottom: 45px;
  }
}
/* ロゴとハンバーガーを画面上部に固定 */
.header {
  padding-left: calc(3.5% + calc(310 * var(--fluid-unit)) + calc(15 * var(--fluid-unit)));
  padding-right: calc(3.5% + calc(55 * var(--fluid-unit)) + calc(15 * var(--fluid-unit)));
}
.header .brand {
  position: fixed;
  top: calc(56 * var(--fluid-unit));
  left: 3.5%;
  transform: translateY(-50%);
  z-index: 12;
}
.header .menu {
  position: fixed;
  top: calc(56 * var(--fluid-unit));
  right: 3.5%;
  transform: translateY(-50%);
  z-index: 12;
}
@media (min-width: 769px) and (max-width: 1150px) {
  .header {
    padding-left: calc(3.5% + 235px + 15px);
  }
}
@media (max-width: 768px) {
  .header {
    padding: 20px 6%;
  }
  .header .brand {
    top: 40px;
    left: 6%;
  }
  .header .menu {
    top: 40px;
    right: 6%;
  }
  .header.is-open nav {
    position: fixed;
    top: 80px;
    z-index: 11;
  }
}
/* Full-screen drawer shared across all pages. */
.site-drawer {
  position: fixed;
  inset: 0;
  width: 100%;
  max-width: none;
  height: 100%;
  height: 100dvh;
  max-height: none;
  margin: 0;
  padding: 0;
  border: 0;
  color: #fff;
  background: #0197be;
  overflow-y: auto;
  overscroll-behavior: contain;
  scrollbar-gutter: stable;
  font-family: var(--sans);
}
.site-drawer::backdrop {
  background: transparent;
}
.site-drawer[open] {
  animation: drawer-enter 0.3s ease both;
}
@keyframes drawer-enter {
  from {
    opacity: 0;
  }
  to {
    opacity: 1;
  }
}
.drawer-close {
  position: fixed;
  right: 3.5%;
  top: calc(56 * var(--fluid-unit));
  transform: translateY(-50%);
  border-color: #ffffff70;
  z-index: 3;
  display: grid;
  place-items: center;
}
.drawer-close span {
  position: absolute;
  width: calc(16 * var(--fluid-unit));
  height: 1px;
  background: #fff;
  transform: rotate(30deg);
}
.drawer-close span + span {
  transform: rotate(-30deg);
}
.drawer-background {
  position: fixed;
  inset: 0;
  z-index: 0;
  overflow: hidden;
  pointer-events: none;
  user-select: none;
  filter: brightness(0) invert(1);
}
.drawer-layout {
  position: relative;
  z-index: 1;
  display: grid;
  grid-template-columns: 52% 38%;
  justify-content: space-between;
  min-height: 100%;
  --drawer-top: clamp(calc(24 * var(--fluid-unit)), 8dvh, calc(90 * var(--fluid-unit)));
  --drawer-bottom: clamp(calc(24 * var(--fluid-unit)), 4dvh, calc(40 * var(--fluid-unit)));
  padding: var(--drawer-top) 3.5% var(--drawer-bottom) 6.4%;
  gap: 6%;
}
.drawer-left {
  min-width: 0;
}
.drawer-left-inner {
  position: sticky;
  top: var(--drawer-top);
  height: calc(100dvh - var(--drawer-top) - var(--drawer-bottom));
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  gap: calc(32 * var(--fluid-unit));
  overflow-y: auto;
}
.drawer-copy {
  display: inline-block;
  align-self: flex-start;
  flex-shrink: 0;
}
.drawer-copy > span {
  font: 400 calc(48 * var(--text-unit))/1.85 var(--serif);
  letter-spacing: 0.18em;
}
.drawer-copy small {
  display: block;
  margin-top: calc(35 * var(--fluid-unit));
  font: calc(16 * var(--text-unit))/1.5 var(--en);
  color: #ffffff66;
  letter-spacing: 0.06em;
}
.drawer-company {
  align-self: flex-start;
  flex-shrink: 0;
  max-width: 100%;
}
.drawer-company img {
  width: calc(325 * var(--fluid-unit));
  max-width: 100%;
  height: auto;
  filter: brightness(0) invert(1);
}
.drawer-address {
  display: flex;
  gap: calc(20 * var(--fluid-unit));
  margin-top: calc(20 * var(--fluid-unit));
  font: calc(var(--text-base-14) * var(--text-unit))/1.8 var(--sans);
  letter-spacing: 0.06em;
  color: #ffffffa6;
}
.drawer-address p {
  line-height: 1.8;
}
.drawer-right {
  padding-top: calc(130 * var(--fluid-unit));
  min-width: 0;
}
.drawer-nav {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: calc(22 * var(--fluid-unit));
  font: 400 calc(18 * var(--text-unit))/1.5 var(--serif);
}
.drawer-subnav {
  list-style: none;
  margin: calc(16 * var(--fluid-unit)) 0 0;
  padding: 0;
  color: #fff;
  opacity: 0.7;
  font: var(--font-size-16)/1.8 var(--serif);
}
.drawer-subnav li + li {
  margin-top: calc(7 * var(--fluid-unit));
}
.drawer-recruit {
  margin-top: calc(8 * var(--fluid-unit));
}
.drawer-recruit .drawer-subnav {
  font-family: var(--sans);
  font-size: var(--font-size-base);
}
.drawer-contact {
  margin-top: 0;
}
.drawer-related {
  border-top: 1px solid #ffffff40;
  margin-top: calc(60 * var(--fluid-unit));
  padding-top: calc(55 * var(--fluid-unit));
}
.drawer-related h2 {
  font: 400 calc(18 * var(--text-unit))/1.8 var(--sans);
  letter-spacing: 0.04em;
}
.drawer-related h2 small {
  display: inline;
  font: calc(var(--text-base-11) * var(--text-unit)) var(--sans);
  color: #ffffff99;
  margin-left: calc(12 * var(--fluid-unit));
}
.drawer-service {
  margin-top: calc(45 * var(--fluid-unit));
}
.drawer-service h3 {
  font: 400 calc(17 * var(--text-unit))/1.6 var(--sans);
  text-decoration: underline;
  text-underline-offset: 6px;
  text-decoration-color: #ffffff70;
  margin-bottom: calc(22 * var(--fluid-unit));
  letter-spacing: 0.06em;
}
.drawer-service > a {
  display: block;
  width: fit-content;
  margin-top: calc(8 * var(--fluid-unit));
}
.drawer-service > a,
.drawer-service p,
.drawer-store-links {
  font: var(--font-size-13)/1.8 var(--sans);
  color: #ffffffbf;
}
.drawer-nav-block ._link-underline,
.drawer-address ._link-underline {
  display: inline-block;
}
.drawer-store-links {
  display: flex;
  gap: calc(22 * var(--fluid-unit));
  margin-top: calc(10 * var(--fluid-unit));
}
.drawer-bottom {
  border-top: 1px solid #ffffff40;
  margin-top: calc(85 * var(--fluid-unit));
  padding-top: calc(55 * var(--fluid-unit));
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  text-align: left;
  gap: calc(30 * var(--fluid-unit));
  justify-content: flex-start;
  color: #ffffff99;
  font: calc(13 * var(--text-unit))/1.8 var(--en);
}
.drawer-bottom > a {
  font-family: var(--sans);
  flex-shrink: 0;
}
.drawer-bottom small {
  font-size: inherit;
}
.site-drawer :focus-visible {
  outline: 2px solid #fff;
  outline-offset: 5px;
}
@media (max-width: 1100px) {
  .drawer-layout {
    grid-template-columns: 48% 46%;
    gap: 6%;
  }
  .drawer-copy > span {
    font-size: calc(40 * var(--mobile-text-unit));
  }
  .drawer-address {
    flex-direction: column;
    gap: 10px;
  }
  .drawer-bottom {
    gap: 15px;
  }
}
@media (max-width: 768px) {
  .drawer-close {
    top: 40px;
    right: 6%;
  }
  .drawer-layout {
    display: flex;
    flex-direction: column;
    padding: 80px 8% 60px;
    gap: 0;
  }
  .drawer-left-inner {
    position: static;
    height: auto;
    overflow: visible;
  }
  .drawer-copy > span {
    font-size: calc(32 * var(--mobile-text-unit));
    line-height: 1.8;
  }
  .drawer-copy small {
    margin-top: 20px;
  }
  .drawer-layout > .drawer-company {
    margin-top: 55px;
  }
  .drawer-company img {
    width: 250px;
  }
  .drawer-right {
    padding-top: 55px;
  }
  .drawer-nav {
    font-size: calc(18 * var(--mobile-text-unit));
    gap: 22px;
  }
  .drawer-subnav {
    font-size: var(--font-size-16);
  }
  .drawer-related {
    margin-top: 45px;
    padding-top: 35px;
  }
  .drawer-related h2 {
    font-size: calc(16 * var(--mobile-text-unit));
  }
  .drawer-related h2 small {
    display: block;
    margin: 8px 0 0;
  }
  .drawer-service h3 {
    font-size: calc(var(--text-base-15) * var(--mobile-text-unit));
  }
  .drawer-bottom {
    margin-top: 55px;
    padding-top: 30px;
  }
}
@media (prefers-reduced-motion: reduce) {
  .site-drawer[open] {
    animation: none;
  }
}
/* Recruit photography: Slick fade slideshow beneath the existing content. */
.recruit {
  position: relative;
  isolation: isolate;
  overflow: hidden;
  background: #141414;
}
.recruit-slider {
  position: absolute;
  inset: 0;
  z-index: -2;
  width: 100%;
  height: 100%;
  pointer-events: none;
}
.recruit-slider .slick-list,
.recruit-slider .slick-track,
.recruit-slide {
  height: 100%;
}
.recruit-slide img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center;
}
.recruit-slider:not(.slick-initialized) > .recruit-slide:not(:first-child) {
  display: none;
}
.recruit::before {
  content: "";
  position: absolute;
  inset: 0;
  z-index: -1;
  background: #0005;
  pointer-events: none;
}
.recruit-inner {
  position: relative;
}
/* Company: hover-linked visuals with slow horizontal panning. */
.company-inner {
  grid-template-columns: minmax(0, 1fr) calc(390 * var(--fluid-unit));
  gap: clamp(calc(40 * var(--fluid-unit)), 7vw, calc(140 * var(--fluid-unit)));
}
.company-visual {
  position: relative;
  width: calc(390 * var(--fluid-unit));
  height: calc(548 * var(--fluid-unit));
  overflow: hidden;
}
.company-visual-panel {
  position: absolute;
  inset: 0;
  opacity: 0;
  transition: opacity 0.65s ease;
  pointer-events: none;
}
.company-visual-panel.is-active {
  opacity: 1;
  z-index: 1;
}
.company-visual-panel img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center;
}
.company-visual-panel[data-company-panel="group"] img {
  object-fit: contain;
}
.company-visual-panel.is-pan.is-active img {
  animation: company-pan 20s linear infinite;
}
.company-visual-panel[data-company-panel="history"].is-active img {
  animation-direction: reverse;
}
@keyframes company-pan {
  from {
    object-position: 0% center;
  }
  to {
    object-position: 100% center;
  }
}
@media (min-width: 769px) {
  .company-links > a.is-active b {
    color: var(--blue);
  }
}
@media (min-width: 769px) and (max-width: 1000px) {
  .company-inner {
    grid-template-columns: minmax(0, 1fr) minmax(0, 1fr);
    gap: 30px;
  }
  .company-visual {
    width: 100%;
    height: auto;
    aspect-ratio: 390/548;
  }
  .company-links > a {
    grid-template-columns: 1fr 30px;
  }
  .company-links p {
    grid-row: 2;
    grid-column: 1;
  }
  .company-links .arrow {
    grid-column: 2;
    grid-row: 1/3;
  }
}
@media (max-width: 768px) {
  .company-inner {
    grid-template-columns: 1fr;
    gap: 35px;
  }
  .company-visual {
    width: min(100%, 390px);
    height: auto;
    aspect-ratio: 390/548;
    margin-left: auto;
  }
}
@media (prefers-reduced-motion: reduce) {
  .company-visual-panel {
    transition: none;
  }
  .company-visual-panel.is-pan.is-active img {
    animation: none;
  }
}
/* Shared soft diagonal reveal from bottom right to top left. */
.diagonal-reveal {
  -webkit-mask-image: linear-gradient(
    to top left,
    #000 0%,
    #000 33.333%,
    transparent 66.667%,
    transparent 100%
  );
  mask-image: linear-gradient(
    to top left,
    #000 0%,
    #000 33.333%,
    transparent 66.667%,
    transparent 100%
  );
  -webkit-mask-size: 300% 300%;
  mask-size: 300% 300%;
  -webkit-mask-repeat: no-repeat;
  mask-repeat: no-repeat;
  -webkit-mask-position: 0% 0%;
  mask-position: 0% 0%;
}
.diagonal-reveal.is-revealed {
  animation: diagonal-gradient-reveal 1.2s ease-out var(--diagonal-reveal-delay, 0ms) both;
}
@keyframes diagonal-gradient-reveal {
  from {
    -webkit-mask-position: 0% 0%;
    mask-position: 0% 0%;
  }
  to {
    -webkit-mask-position: 100% 100%;
    mask-position: 100% 100%;
  }
}
@media (prefers-reduced-motion: reduce) {
  .diagonal-reveal {
    -webkit-mask-image: none;
    mask-image: none;
    animation: none;
  }
}
/* Home background: four supplied SVGs, fixed independently of page scrolling. */
body {
  background: #fff url("../images/bg.jpg.webp") repeat;
}
body.has-site-bg {
  position: relative;
  isolation: isolate;
  background: #fff url("../images/bg.jpg.webp") repeat;
}
.has-site-bg #bg {
  position: fixed;
  inset: 0;
  z-index: -1;
  overflow: hidden;
  pointer-events: none;
  user-select: none;
  background: transparent;
}
.home-page .hero,
.home-page .company {
  background: transparent;
}
.bg-element {
  position: absolute;
  height: 0;
  transform-origin: 0 0;
  animation: bg-float 8s ease-in-out infinite normal;
  will-change: transform;
}
.bg-element img {
  width: 100%;
  height: auto;
  transform: translate(-50%, -50%);
  opacity: 0.5;
  filter: blur(38px) saturate(1);
  animation: bg-tone 6s ease-in-out infinite alternate;
}
.bg-element--01 {
  width: clamp(170px, 23vw, 360px);
  left: 22%;
  top: 22%;
  right: auto;
  bottom: auto;
  --drift-x: 40vw;
  --drift-y: 40vh;
  --turn: 48deg;
  animation-duration: 6s;
  animation-delay: -12s;
}
.bg-element--02 {
  width: clamp(220px, 31vw, 490px);
  left: 75%;
  top: 28%;
  right: auto;
  bottom: auto;
  --drift-x: -36vw;
  --drift-y: 32vh;
  --turn: -42deg;
  animation-duration: 7.5s;
  animation-delay: -21s;
}
.bg-element--03 {
  width: clamp(120px, 15vw, 240px);
  left: 24%;
  top: 74%;
  right: auto;
  bottom: auto;
  --drift-x: 48vw;
  --drift-y: -32vh;
  --turn: 60deg;
  animation-duration: 5.5s;
  animation-delay: -9s;
}
.bg-element--04 {
  width: clamp(310px, 41vw, 630px);
  left: 77%;
  top: 78%;
  right: auto;
  bottom: auto;
  --drift-x: -32vw;
  --drift-y: -48vh;
  --turn: -35deg;
  animation-duration: 8.5s;
  animation-delay: -28s;
}
.bg-element--02 img {
  animation-duration: 7.25s;
  animation-delay: -11s;
}
.bg-element--03 img {
  animation-duration: 5.5s;
  animation-delay: -16s;
}
.bg-element--04 img {
  animation-duration: 8.75s;
  animation-delay: -22s;
}
@keyframes bg-float {
  0% {
    opacity: 0;
    transform: translate3d(0, 0, 0) rotate(0deg) scale(0.5);
  }
  20%,
  75% {
    opacity: 1;
  }
  100% {
    opacity: 0;
    transform: translate3d(var(--drift-x), var(--drift-y), 0) rotate(var(--turn)) scale(1.725);
  }
}
@keyframes bg-tone {
  0% {
    opacity: 0.2;
    filter: blur(66px) saturate(0.9);
  }
  50% {
    opacity: 0.35;
    filter: blur(38px) saturate(1.1);
  }
  100% {
    opacity: 0.5;
    filter: blur(30px) saturate(1.3);
  }
}
@media (max-width: 768px) {
  .bg-element--01 {
    left: 24%;
    top: 20%;
    --drift-x: 32vw;
    --drift-y: 32vh;
  }
  .bg-element--02 {
    left: 76%;
    top: 37%;
    --drift-x: -32vw;
    --drift-y: 28vh;
  }
  .bg-element--03 {
    left: 26%;
    top: 72%;
    --drift-x: 32vw;
    --drift-y: -28vh;
  }
  .bg-element--04 {
    left: 76%;
    top: 80%;
    --drift-x: -32vw;
    --drift-y: -32vh;
  }
  .bg-element img {
    animation-duration: 7s;
  }
}
@media (prefers-reduced-motion: reduce) {
  .bg-element,
  .bg-element img {
    animation: none;
    will-change: auto;
  }
  .bg-element img {
    opacity: 0.5;
    filter: blur(38px);
  }
}
/* Top hero follows the viewport height, up to 1600px. */
.home-page .hero {
  display: flex;
  align-items: center;
  justify-content: center;
  height: 100vh;
  min-height: 800px;
  max-height: 1600px;
}
/* Start the hero reveal with the page fade, not behind the loading state. */
.home-page .hero-copy {
  transform: translateY(calc(50 * var(--fluid-unit)));
  animation: hero-copy-intro 1.5s ease-out both;
}
html.page-entering .home-page .hero-copy {
  animation-play-state: paused;
}
@keyframes hero-copy-intro {
  from {
    opacity: 0;
    filter: blur(50px);
  }
  to {
    opacity: 1;
    filter: blur(0);
  }
}
@media (prefers-reduced-motion: reduce) {
  .home-page .hero-copy {
    animation: none;
    opacity: 1;
    filter: none;
  }
}
/* Shared button hover/focus inversion. */
.pill,
.contact-button,
.text-link,
.menu,
.drawer-close,
.recruit-cards > a,
.arrow {
  transition:
    background-color 0.25s,
    color 0.25s,
    border-color 0.25s,
    opacity 0.25s;
}
.pill:is(:hover, :focus-visible) {
  background: var(--blue);
  color: #fff;
  opacity: 1;
}
.pill:is(:hover, :focus-visible) .arrow-icon {
  filter: brightness(0) invert(1);
}
.contact-button {
  box-shadow: inset 0 0 0 1px #fff;
}
.contact-button .arrow-icon {
  filter: brightness(0);
}
.contact-button:is(:hover, :focus-visible) {
  background: var(--ink);
  color: #fff;
  opacity: 1;
}
.contact-button:is(:hover, :focus-visible) .arrow {
  color: #fff;
  border-color: #fff;
}
.contact-button:is(:hover, :focus-visible) .arrow-icon {
  filter: brightness(0) invert(1);
}
.recruit-cards > a:is(:hover, :focus-visible) {
  opacity: 1;
}
.recruit-cards > a:is(:hover, :focus-visible) .arrow {
  background: var(--blue);
  border-color: var(--blue);
  color: #fff;
}
.recruit-cards > a:is(:hover, :focus-visible) .arrow-icon {
  filter: brightness(0) invert(1);
}
.company-links > a:is(:hover, :focus-visible) {
  opacity: 1;
}
.company-links > a:is(:hover, :focus-visible) .arrow {
  background: var(--blue);
  color: #fff;
}
.company-links > a:is(:hover, :focus-visible) .arrow-icon {
  filter: brightness(0) invert(1);
}
.text-link {
  width: fit-content;
}
.text-link:is(:hover, :focus-visible) {
  opacity: 1;
}
.business-copy .text-link {
  margin-inline: auto;
}
.menu:is(:hover, :focus-visible) {
  background: var(--ink);
  border-color: var(--ink);
  opacity: 1;
}
.menu:is(:hover, :focus-visible) span {
  background: #fff;
}
/* White header controls over business, recruitment and the shared footer. */
.header.is-light {
  color: #fff;
}
.header.is-light .brand img,
.header.is-light .nav-trigger > img,
.header.is-light .pill .arrow-icon {
  filter: brightness(0) invert(1);
}
.header.is-light .pill,
.header.is-light .menu {
  color: #fff;
  border-color: #fff;
  background: transparent;
}
.header.is-light .menu span {
  background: currentColor;
}
.header.is-light .pill:is(:hover, :focus-visible),
.header.is-light .menu:is(:hover, :focus-visible) {
  background: #ffffff1a;
}
.header.is-light :is(.brand, .nav-trigger, nav > a, .menu):focus-visible {
  outline-color: #fff;
}
.drawer-close:is(:hover, :focus-visible) {
  background: #fff;
  border-color: #fff;
  opacity: 1;
}
.drawer-close:is(:hover, :focus-visible) span {
  background: var(--blue);
}
@media (prefers-reduced-motion: reduce) {
  .pill,
  .contact-button,
  .text-link,
  .menu,
  .drawer-close,
  .recruit-cards > a,
  .arrow {
    transition: none;
  }
}
/* Scroll indicator: grow downward, then retract toward the bottom. */
.scroll span {
  animation: scroll-line 2s ease-in-out infinite;
  transform-origin: top;
}
@keyframes scroll-line {
  0% {
    transform: scaleY(0);
    transform-origin: top;
    opacity: 0;
  }
  15% {
    opacity: 1;
  }
  45% {
    transform: scaleY(1);
    transform-origin: top;
    opacity: 1;
  }
  46% {
    transform: scaleY(1);
    transform-origin: bottom;
  }
  85%,
  100% {
    transform: scaleY(0);
    transform-origin: bottom;
    opacity: 0;
  }
}
@media (prefers-reduced-motion: reduce) {
  .scroll span {
    animation: none;
    transform: none;
    opacity: 1;
  }
}
/* Fade only main content; keep header, footer and background visible. */
body.has-site-bg > main {
  opacity: 1;
  transition: opacity 0.3s ease;
}
html.page-entering body.has-site-bg > main,
html.page-leaving body.has-site-bg > main {
  opacity: 0;
  pointer-events: none;
}
@media (prefers-reduced-motion: reduce) {
  body.has-site-bg > main {
    transition: none;
  }
}
/* Shared contact photo marquee: design-sized photos with a cropped trailing edge. */
.contact-gallery {
  display: block;
  width: calc(620 * var(--fluid-unit));
  flex: 0 1 calc(620 * var(--fluid-unit));
  min-width: 0;
  overflow: hidden;
}
.contact-gallery__track {
  display: flex;
  width: max-content;
  will-change: transform;
}
.contact-gallery__set {
  display: flex;
  flex: none;
  gap: calc(12 * var(--fluid-unit));
  padding-right: calc(12 * var(--fluid-unit));
}
.contact-gallery__frame {
  position: relative;
  width: calc(180 * var(--fluid-unit));
  height: calc(120 * var(--fluid-unit));
  flex: none;
  overflow: hidden;
  border-radius: calc(3 * var(--fluid-unit));
}
.contact-gallery .contact-gallery__frame img {
  position: absolute;
  inset: 0 auto 0 0;
  width: 135%;
  height: 100%;
  max-width: none;
  margin: 0;
  object-fit: cover;
  transform: translate3d(-12.962963%, 0, 0);
  will-change: transform;
}
@media (max-width: 768px) {
  .contact-gallery {
    width: 100%;
    margin-top: 50px;
  }
}
@media (prefers-reduced-motion: reduce) {
  .contact-gallery__track {
    animation: none;
    will-change: auto;
  }
}
/* Figma detail pass: shared navigation and footer, plus home typography. */
.header nav {
  font-weight: 400;
}
.nav-submenu a {
  font-family: var(--sans);
  font-size: var(--font-size-13);
  letter-spacing: 0.1em;
}
@media (min-width: 1151px) {
  .header nav {
    gap: calc(20 * var(--fluid-unit));
  }
}
.home-page .about h2,
.home-page .company h2 {
  font-size: calc(42 * var(--text-unit));
  letter-spacing: 0.02em;
}
.home-page .about h2 small,
.home-page .company h2 small {
  font-size: var(--font-size-13);
  letter-spacing: 0.12em;
  margin-top: calc(10 * var(--fluid-unit));
}
.home-page .about h3 {
  font-size: calc(16 * var(--text-unit));
  margin: calc(48 * var(--fluid-unit)) 0 calc(14 * var(--fluid-unit));
  font-weight: 600;
}
.home-page .about-copy p {
  font-size: calc(16 * var(--text-unit));
  line-height: 2.875;
  letter-spacing: 0.02em;
}
.home-page .text-link {
  font-size: calc(16 * var(--text-unit));
  letter-spacing: 0.1em;
  gap: calc(16 * var(--fluid-unit));
  margin-top: calc(48 * var(--fluid-unit));
}
.home-page .text-link > span {
  border-bottom: 0.5px solid currentColor;
  padding-bottom: calc(3 * var(--fluid-unit));
}
.home-page .about > img,
.company-visual,
.recruit-cards > a {
  border-radius: calc(3 * var(--fluid-unit));
}
.home-page .business-copy {
  width: fit-content;
  max-width: 100%;
  margin-inline: auto;
}
.home-page .business-copy p {
  font-size: calc(17 * var(--text-unit));
  line-height: 2;
  letter-spacing: 0.1em;
}
.home-page .company-links b {
  font-family: var(--serif);
  font-size: calc(20 * var(--text-unit));
  letter-spacing: 0.02em;
}
.home-page .company-links p {
  font-size: var(--font-size-13);
  line-height: 1.5;
  letter-spacing: 0.1em;
}
.home-page .company-links .arrow,
.home-page .recruit-cards .arrow {
  width: calc(40 * var(--fluid-unit));
  height: calc(40 * var(--fluid-unit));
  border-width: 0.5px;
}
.home-page .recruit h2 {
  font-size: calc(55 * var(--text-unit));
}
.home-page .recruit h2 small {
  font-size: calc(18 * var(--text-unit));
  margin-top: calc(10 * var(--fluid-unit));
  letter-spacing: 0.1em;
}
.home-page .recruit-bottom > p {
  font-size: calc(18 * var(--text-unit));
  line-height: 2;
}
.home-page .recruit-cards h3 {
  font-size: calc(28 * var(--text-unit));
  color: var(--ink);
  letter-spacing: 0.02em;
}
.home-page .recruit-cards h3 > span {
  color: var(--blue);
  border-bottom: 1px dashed var(--blue);
  padding-bottom: calc(5 * var(--fluid-unit));
}
.home-page .recruit-cards h3 small {
  color: var(--blue);
}
.home-page .recruit-cards p {
  font-size: var(--font-size-16);
  line-height: 1.8;
  padding-right: calc(35 * var(--fluid-unit));
}
.home-page .recruit::before {
  background: #0006;
}
.contact h2 {
  font-size: calc(55 * var(--text-unit));
}
.contact h2 small {
  font-size: var(--font-size-13);
  letter-spacing: 0.1em;
}
.contact p {
  font-size: var(--font-size-16);
  line-height: 1.8;
}
.contact-button {
  width: calc(275 * var(--fluid-unit));
  height: calc(70 * var(--fluid-unit));
  padding: 0 calc(20 * var(--fluid-unit)) 0 calc(40 * var(--fluid-unit));
  justify-content: space-between;
  font-size: calc(16 * var(--text-unit));
  gap: calc(15 * var(--fluid-unit));
}
.contact-button .arrow {
  width: calc(30 * var(--fluid-unit));
  height: calc(30 * var(--fluid-unit));
  border-color: var(--ink);
}
.footer-brand {
  display: inline-block;
  max-width: 100%;
}
.footer-brand img {
  width: calc(323 * var(--fluid-unit));
  height: auto;
  filter: none;
}
.footer-address-line {
  display: block;
}
.footer-main {
  padding: calc(85 * var(--fluid-unit)) 0 calc(145 * var(--fluid-unit));
}
.footer-main .footer-address {
  padding-left: calc(20 * var(--fluid-unit));
  font-size: var(--font-size-13);
  line-height: 2;
  opacity: 0.8;
}
.footer-nav {
  grid-template-columns: repeat(3, max-content);
  gap: calc(50 * var(--fluid-unit));
  font: 500 var(--font-size-16)/1.4 var(--serif);
}
.footer-nav > div {
  display: flex;
  flex-direction: column;
  gap: calc(22 * var(--fluid-unit));
}
.footer-nav ul {
  list-style: none;
  padding: 0;
  margin: 0 0 calc(24 * var(--fluid-unit));
  font: 400 var(--font-size-13)/1.8 var(--sans);
  opacity: 0.8;
}
.footer-nav li + li {
  margin-top: calc(12 * var(--fluid-unit));
}
.group,
.copyright {
  background: #202020;
}
.group h3 {
  font-size: calc(20 * var(--text-unit));
}
.group h3 small {
  font-size: var(--font-size-13);
}
.group-grid {
  gap: calc(55 * var(--fluid-unit)) calc(40 * var(--fluid-unit));
}
.group h4 {
  font-size: calc(16 * var(--text-unit));
  line-height: 1.5;
  letter-spacing: 0.1em;
}
.group-grid a {
  display: block;
  font-size: var(--font-size-13);
  line-height: 1.8;
  margin-top: calc(10 * var(--fluid-unit));
}
.copyright {
  gap: calc(30 * var(--fluid-unit));
  align-items: center;
}
.copyright > div {
  display: flex;
  gap: calc(20 * var(--fluid-unit));
  align-items: center;
}
.copyright > span {
  flex-shrink: 0;
  font-family: var(--en);
}
.recaptcha-note {
  font-size: var(--font-size-12);
}
@media (min-width: 1151px) {
  .home-page .about-main {
    left: 0;
    width: 43.1944%;
    height: auto;
  }
  .home-page .about-copy {
    left: 54%;
    max-width: 44%;
  }
  .home-page .company {
    padding: calc(168 * var(--fluid-unit)) 6.875% calc(152 * var(--fluid-unit)) 10.4167%;
  }
  .home-page .company-inner {
    max-width: calc(1191 * var(--fluid-unit));
    grid-template-columns: minmax(0, calc(630 * var(--fluid-unit))) calc(390 * var(--fluid-unit));
    gap: clamp(calc(40 * var(--fluid-unit)), 11.875vw, calc(171 * var(--fluid-unit)));
  }
  .home-page .company-links {
    margin-top: calc(105 * var(--fluid-unit));
  }
  .home-page .company-links > a {
    grid-template-columns: calc(205 * var(--fluid-unit)) minmax(0, 1fr) calc(40 * var(--fluid-unit));
    padding: calc(29 * var(--fluid-unit)) 0;
  }
  .home-page .company-links > a:first-child {
    padding-top: 0;
  }
  .home-page .company-links p br {
    display: initial;
  }
}
@media (max-width: 1100px) {
  .footer-nav {
    gap: 25px;
  }
  .group-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
  .copyright,
  .copyright > div {
    flex-wrap: wrap;
  }
}
@media (max-width: 768px) {
  .home-page .about h2,
  .home-page .company h2 {
    font-size: calc(28 * var(--mobile-text-unit));
  }
  .home-page .about h3 {
    font-size: var(--font-size-fixed-base);
    margin-top: 30px;
  }
  .home-page .about-copy p {
    font-size: var(--font-size-fixed-base);
    line-height: 2.4;
  }
  .home-page .text-link {
    font-size: var(--font-size-16);
    margin-top: 30px;
  }
  .home-page .business-copy p {
    font-size: var(--font-size-fixed-base);
    letter-spacing: 0.04em;
  }
  .home-page .business-copy p br {
    display: none;
  }
  .home-page .company-links b {
    font-size: calc(var(--text-base-15) * var(--mobile-text-unit));
  }
  .home-page .company-links p {
    font-size: calc(var(--text-base-11) * var(--mobile-text-unit));
  }
  .home-page .company-links .arrow {
    width: 28px;
    height: 28px;
  }
  .home-page .recruit h2,
  .contact h2 {
    font-size: calc(36 * var(--mobile-text-unit));
  }
  .home-page .recruit h2 small {
    font-size: var(--font-size-fixed-base);
  }
  .home-page .recruit-bottom > p {
    font-size: var(--font-size-15);
  }
  .home-page .recruit-cards h3 {
    font-size: calc(23 * var(--mobile-text-unit));
  }
  .home-page .recruit-cards p {
    font-size: calc(var(--text-base-11) * var(--mobile-text-unit));
  }
  .home-page .recruit-cards .arrow {
    width: 30px;
    height: 30px;
  }
  .contact p {
    font-size: var(--font-size-13);
  }
  .contact-button {
    width: 245px;
    height: 60px;
    font-size: var(--font-size-16);
  }
  .footer-main {
    padding: 50px 4% 70px;
  }
  .footer-brand img {
    width: 265px;
  }
  .footer-main .footer-address {
    padding-left: 0;
    font-size: calc(var(--text-base-11) * var(--mobile-text-unit));
  }
  .footer-nav {
    grid-template-columns: 1fr;
    gap: 30px 20px;
    font-size: var(--font-size-fixed-base);
  }
  .group h3 {
    font-size: calc(16 * var(--mobile-text-unit));
  }
  .group h4 {
    font-size: var(--font-size-fixed-base);
  }
  .group-grid a {
    font-size: calc(var(--text-base-11) * var(--mobile-text-unit));
  }
  .group-grid {
    gap: 35px 20px;
  }
  .copyright {
    align-items: flex-start;
  }
  .copyright > div {
    align-items: flex-start;
  }
}
/* Dispersed paths: different origins, intermediate directions and exits. */
.bg-element--01 {
  left: 10%;
  top: 28%;
  --mid-x: 22vw;
  --mid-y: -20vh;
  --drift-x: 68vw;
  --drift-y: -10vh;
  --turn: 68deg;
}
.bg-element--02 {
  left: 85%;
  top: 12%;
  --mid-x: 8vw;
  --mid-y: 32vh;
  --drift-x: -8vw;
  --drift-y: 80vh;
  --turn: -55deg;
}
.bg-element--03 {
  left: 72%;
  top: 85%;
  --mid-x: -34vw;
  --mid-y: 8vh;
  --drift-x: -82vw;
  --drift-y: -18vh;
  --turn: 95deg;
}
.bg-element--04 {
  left: 12%;
  top: 84%;
  --mid-x: -6vw;
  --mid-y: -33vh;
  --drift-x: 20vw;
  --drift-y: -88vh;
  --turn: -75deg;
}
@keyframes bg-float {
  0% {
    opacity: 0;
    transform: translate3d(0, 0, 0) rotate(0deg) scale(0.5);
  }
  20%,
  75% {
    opacity: 1;
  }
  46% {
    transform: translate3d(var(--mid-x), var(--mid-y), 0) rotate(calc(var(--turn) * 0.35))
      scale(1.15);
  }
  100% {
    opacity: 0;
    transform: translate3d(var(--drift-x), var(--drift-y), 0) rotate(var(--turn)) scale(1.725);
  }
}
.sr-only {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip-path: inset(50%);
  white-space: nowrap;
  border: 0;
}
.external-icon {
  display: inline-block;
  width: calc(10 * var(--fluid-unit));
  height: auto;
  aspect-ratio: 1;
  flex-shrink: 0;
  max-width: none;
  object-fit: contain;
  margin-left: calc(5 * var(--fluid-unit));
  vertical-align: baseline;
}
.group h4 {
  border-bottom: 1px solid #fff;
  padding-bottom: calc(3 * var(--fluid-unit));
}
.group h3 small {
  opacity: 0.7;
}
.footer-nav ul {
  opacity: 1;
}
.footer-nav > div:first-child li {
  opacity: 0.6;
}
.footer-store-links {
  display: flex;
  gap: calc(20 * var(--fluid-unit));
  flex-wrap: wrap;
}
.home-page .recruit-cards h3 > span {
  border: 0;
  padding-bottom: 0;
}
.home-page .recruit-cards .recruit-label {
  padding-bottom: calc(5 * var(--fluid-unit));
  background: repeating-linear-gradient(to right, #828282 0 2px, transparent 2px 4px) left
    bottom/100% 1px no-repeat;
}
.home-page .recruit-label > span {
  color: var(--blue);
}
@media (min-width: 1400px) {
  .group-grid {
    grid-template-columns: 206fr 309fr 298fr 228fr;
    column-gap: calc(100 * var(--fluid-unit));
    row-gap: calc(60 * var(--fluid-unit));
  }
}
.home-page .recruit-cards .recruit-label {
  color: var(--ink);
}
/* Keep proportional alternate glyphs enabled, including elements using font shorthands. */
body,
body * {
  font-feature-settings: "palt" 1 !important;
}
/* Two stacked copies of each CTA character, clipped to the original line. */
.button-roll {
  display: inline-block;
  position: relative;
  white-space: nowrap;
  vertical-align: bottom;
}
.button-roll__visual {
  display: inline-block;
}
.button-roll__char {
  display: inline-block;
  position: relative;
  overflow: hidden;
  vertical-align: bottom;
  white-space: pre;
}
.button-roll__out,
.button-roll__in {
  display: block;
  transition: transform 0.2s ease;
  transition-delay: var(--char-delay);
}
.button-roll__in {
  position: absolute;
  inset: 0;
  transform: translateY(100%);
}
.has-button-roll:focus-visible .button-roll__out {
  transform: translateY(-100%);
}
.has-button-roll:focus-visible .button-roll__in {
  transform: translateY(0);
}
@media (hover: hover) {
  .has-button-roll:hover .button-roll__out {
    transform: translateY(-100%);
  }
  .has-button-roll:hover .button-roll__in {
    transform: translateY(0);
  }
}
@media (prefers-reduced-motion: reduce) {
  .button-roll__out,
  .button-roll__in {
    transition: none;
    transform: none !important;
  }
  .button-roll__in {
    display: none;
  }
}
/* Recruit: gently zoom out while each image is visible, including the fade. */
.recruit-slide {
  overflow: hidden;
}
.recruit-slide img {
  transform: scale(1.1);
}
.recruit-slide.is-zooming img {
  animation: recruit-zoom-out 4s linear both;
}
@keyframes recruit-zoom-out {
  from {
    transform: scale(1.1);
  }
  to {
    transform: scale(1);
  }
}
@media (prefers-reduced-motion: reduce) {
  .recruit-slide img,
  .recruit-slide.is-zooming img {
    animation: none;
    transform: scale(1);
  }
}
/* Underlines enter from the left and leave toward the right without dimming links. */
footer a:is(:hover, :focus-visible),
.group-card .group-card__link:is(:hover, :focus-visible),
.site-drawer ._link-underline:is(:hover, :focus-visible) {
  opacity: 1;
  text-decoration: none;
}
footer a:not(.footer-brand),
.group-card ._link-underline,
.site-drawer ._link-underline {
  width: fit-content;
  max-width: 100%;
  background-image: linear-gradient(
    color-mix(in srgb, currentColor 60%, transparent),
    color-mix(in srgb, currentColor 60%, transparent)
  );
  background-repeat: no-repeat;
  background-size: 0% 1px;
  background-position: right bottom;
  transition: background-size 0.3s ease;
}
footer a:not(.footer-brand):is(:hover, :focus-visible),
.group-card:has(.group-card__link):is(:hover, :focus-within) ._link-underline,
.site-drawer ._link-underline:is(:hover, :focus-visible) {
  background-size: 100% 1px;
  background-position: left bottom;
}
:is(footer, .site-drawer) :is(.footer-address, .drawer-address) a[href^="tel:"] {
  text-decoration: underline;
  text-underline-offset: 3px;
  background-image: none;
}
@media (min-width: 769px) {
  :is(footer, .site-drawer) :is(.footer-address, .drawer-address) a[href^="tel:"] {
    text-decoration: none;
  }
}
@media (prefers-reduced-motion: reduce) {
  footer a:not(.footer-brand),
  .group-card ._link-underline,
  .site-drawer ._link-underline {
    transition: none;
  }
}
/* Mobile layouts keep images readable without desktop-sized crops. */
@media (max-width: 768px) {
  .contact-button {
    width: 100%;
  }
  .group-grid {
    grid-template-columns: minmax(0, 1fr);
  }
  .home-page .hero-copy {
    transform: none;
  }
  .home-page .company-inner {
    position: relative;
    display: block;
  }
  .home-page .company h2 {
    width: 60%;
    min-height: 0;
  }
  .home-page .company-visual {
    display: none;
  }
  .home-page .company-links {
    margin-top: 30px;
  }
  .home-page .company-links > a {
    position: relative;
    grid-template-columns: minmax(0, 1fr);
    gap: 10px;
    padding-right: 44px;
  }
  .home-page .company-links .arrow {
    position: absolute;
    right: 0;
    top: 50%;
    transform: translateY(-50%);
  }
  .home-page .company-links br {
    display: none;
  }
  .home-page .recruit {
    --recruit-photo-height: calc(120vw * 1236 / 2160);
    height: auto;
    background: #202020;
  }
  .home-page .recruit-slider {
    inset: 0 auto auto -10%;
    width: 120%;
    height: var(--recruit-photo-height);
  }
  .home-page .recruit::before {
    bottom: auto;
    height: var(--recruit-photo-height);
  }
  .home-page .recruit-inner {
    padding-top: 0;
    padding-bottom: 40px;
    gap: 0;
  }
  .home-page .recruit h2 {
    min-height: var(--recruit-photo-height);
    padding-top: 40px;
  }
  .home-page .recruit-bottom {
    padding-top: 30px;
  }
  .home-page .recruit-slide img {
    animation: none;
    transform: none;
  }
}
/* Compact header uses the shared drawer up to and including 1200px. */
@media (max-width: 1200px) {
  .header nav,
  .header.is-open nav {
    display: none;
  }
}
/* ===== 3. Shared subpage layouts ===== */
/* Shared subpage layout: company overview is the base for the history list. */
.page-content {
  background:
    radial-gradient(ellipse 470px 390px at 5% 170px, #eaf7fa 0, transparent 85%),
    radial-gradient(ellipse 420px 440px at 97% 440px, #edf8fa 0, transparent 90%), #fcfefe;
}
.page-shell {
  width: calc(100% - calc(200 * var(--fluid-unit)));
  max-width: calc(1240 * var(--fluid-unit));
  margin-inline: auto;
}
.page-inner {
  width: calc(100% - calc(400 * var(--fluid-unit)));
  max-width: calc(1040 * var(--fluid-unit));
  margin-inline: auto;
}
.page-heading {
  padding-top: calc(230 * var(--fluid-unit));
}
.page-eyebrow {
  font: calc(var(--text-base-11) * var(--text-unit))/1.6 var(--en);
  color: var(--blue);
  letter-spacing: 0.08em;
}
.page-heading h1 {
  font: 400 calc(54 * var(--text-unit))/1.5 var(--serif);
  letter-spacing: 0.08em;
}
.breadcrumbs {
  display: flex;
  flex-wrap: wrap;
  justify-content: flex-end;
  align-items: center;
  gap: calc(10 * var(--fluid-unit));
  margin-top: calc(48 * var(--fluid-unit));
  padding-bottom: calc(26 * var(--fluid-unit));
  border-bottom: 1px solid #d9e1e3;
  color: var(--blue);
  font: var(--font-size-12)/1.5 var(--en);
}
.breadcrumbs [aria-current="page"] {
  min-width: 0;
  max-width: 70%;
  overflow-wrap: anywhere;
}
.page-tabs {
  display: flex;
  flex-wrap: wrap;
  gap: calc(10 * var(--fluid-unit));
  margin-top: calc(28 * var(--fluid-unit));
}
.page-tabs a {
  border: 1px solid #777;
  border-radius: calc(30 * var(--fluid-unit));
  padding: calc(3 * var(--fluid-unit)) calc(16 * var(--fluid-unit));
  font-size: calc(var(--text-base-11) * var(--text-unit));
  line-height: 1.6;
  letter-spacing: 0.04em;
}
.page-tabs a[aria-current="page"] {
  background: var(--ink);
  border-color: var(--ink);
  color: var(--white);
}
.page-section {
  padding-top: calc(126 * var(--fluid-unit));
}
.page-section h2,
.access-section h2 {
  font-size: calc(36 * var(--text-unit));
  font-weight: 400;
  line-height: 1;
  letter-spacing: 0.02em;
}
.page-section h2 small,
.access-section h2 small {
  margin-top: calc(10 * var(--fluid-unit));
  font: 300 var(--font-size-13)/1.25 var(--en);
  color: var(--blue);
  letter-spacing: 0.12em;
}
/* Shared definition-list structure; overview spacing is a modifier. */
.detail-list {
  --label-width: calc(140 * var(--fluid-unit));
  --row-padding: calc(36 * var(--fluid-unit));
  margin: calc(48 * var(--fluid-unit)) 0 0;
  border-top: 1px solid #e1e8ea;
  font: var(--font-size-15)/1.5 var(--sans);
  letter-spacing: 0.06em;
}
.detail-list__row {
  display: grid;
  grid-template-columns: var(--label-width) minmax(0, 1fr);
  padding-block: var(--row-padding);
  border-bottom: 1px solid #e1e8ea;
  min-height: calc(96 * var(--fluid-unit));
}
.detail-list dt,
.detail-list dd {
  margin: 0;
  font-weight: 400;
  overflow-wrap: anywhere;
}
.detail-list--ruled {
  --row-padding: calc(40 * var(--fluid-unit));
  margin-top: calc(50 * var(--fluid-unit));
  border-top: 0;
  position: relative;
  line-height: 1.2308;
  letter-spacing: 0.1em;
}
.detail-list--ruled::before,
.detail-list--ruled .detail-list__row::after {
  content: "";
  position: absolute;
  left: 0;
  right: 0;
  height: 1px;
  background: #e1e8ea;
  pointer-events: none;
}
.detail-list--ruled::before {
  top: -0.5px;
}
.detail-list--ruled .detail-list__row {
  position: relative;
  min-height: 0;
  border-bottom: 0;
}
.detail-list--ruled .detail-list__row::after {
  bottom: -0.5px;
}
.detail-list--ruled dt {
  letter-spacing: 0.12em;
}
.detail-list--overview dt {
  font-weight: 300;
}
.access-section {
  margin-top: calc(110 * var(--fluid-unit));
  border-top: 1px solid #d9e1e3;
  padding-top: calc(99 * var(--fluid-unit));
  padding-bottom: calc(140 * var(--fluid-unit));
}
.access-section .page-inner {
  width: calc(100% - calc(200 * var(--fluid-unit)));
}
.access-section address {
  font-style: normal;
  font-size: var(--font-size-15);
  line-height: 1.3846;
  letter-spacing: 0.1em;
  margin-top: calc(46 * var(--fluid-unit));
  margin-bottom: calc(12 * var(--fluid-unit));
}
.access-map {
  display: block;
  border: 0;
  width: 100%;
  height: auto;
  aspect-ratio: 1040/500;
}
.breadcrumbs--bottom {
  margin: 0;
  border-bottom: 0;
  border-top: 1px solid #d9e1e3;
  padding: calc(22 * var(--fluid-unit)) 0 calc(28 * var(--fluid-unit));
  color: #777;
}
/* History differences only: year headings and inter-year spacing. */
.history-content {
  padding-top: calc(126 * var(--fluid-unit));
  padding-bottom: calc(150 * var(--fluid-unit));
}
.history-year + .history-year {
  margin-top: calc(50 * var(--fluid-unit));
}
.history-year h2 {
  font: 500 calc(34 * var(--text-unit))/1.2059 var(--en);
  letter-spacing: 0.12em;
  color: var(--blue);
}
.detail-list--history {
  margin-top: calc(30 * var(--fluid-unit));
}
@media (max-width: 1150px) {
  .page-shell {
    width: 86%;
  }
  .page-inner {
    width: 72%;
  }
  .access-section .page-inner {
    width: 84%;
  }
}
@media (max-width: 768px) {
  .page-shell,
  .page-inner {
    width: 86%;
  }
  .page-heading {
    padding-top: 145px;
  }
  .page-heading h1 {
    font-size: calc(36 * var(--mobile-text-unit));
  }
  .breadcrumbs {
    margin-top: 30px;
    padding-bottom: 20px;
    font-size: calc(9 * var(--mobile-text-unit));
  }
  .page-tabs {
    gap: 8px;
    margin-top: 22px;
  }
  .page-tabs a {
    padding: 4px 12px;
    font-size: var(--font-size-12);
  }
  .page-section,
  .history-content {
    padding-top: 65px;
  }
  .page-section h2,
  .access-section h2 {
    font-size: calc(28 * var(--mobile-text-unit));
  }
  .detail-list {
    --label-width: 100px;
    --row-padding: 25px;
    margin-top: 30px;
  }
  .detail-list__row {
    min-height: 75px;
    column-gap: 12px;
  }
  .detail-list--ruled {
    line-height: 1.5;
  }
  .access-section {
    margin-top: 65px;
    padding-top: 60px;
    padding-bottom: 75px;
  }
  .access-section .page-inner {
    width: 100%;
  }
  .access-section address {
    margin-top: 28px;
  }
  .access-map {
    aspect-ratio: 1.5;
  }
  .history-content {
    padding-bottom: 80px;
  }
  .history-year + .history-year {
    margin-top: 35px;
  }
  .history-year h2 {
    font-size: calc(28 * var(--mobile-text-unit));
  }
  .detail-list--history {
    --label-width: 50px;
    margin-top: 20px;
  }
  .breadcrumbs--bottom {
    margin: 0;
    padding: 20px 0;
  }
}
/* Shared content and controls for the remaining subpages. */
.content-block {
  padding-top: calc(120 * var(--fluid-unit));
  padding-bottom: calc(150 * var(--fluid-unit));
}
.sr-only {
  position: absolute;
  width: 1px;
  height: 1px;
  overflow: hidden;
  clip-path: inset(50%);
  white-space: nowrap;
}
[hidden] {
  display: none !important;
}
.page-tabs button {
  border: 1px solid #777;
  border-radius: calc(30 * var(--fluid-unit));
  padding: calc(3 * var(--fluid-unit)) calc(16 * var(--fluid-unit));
  font: calc(var(--text-base-11) * var(--text-unit))/1.6 var(--sans);
  background: transparent;
  color: var(--ink);
  letter-spacing: 0.04em;
}
.page-tabs button[aria-pressed="true"] {
  background: var(--ink);
  border-color: var(--ink);
  color: #fff;
}
/* Group cards: Figma 292:13573, with editable ACF content. */
.group-cards {
  --group-card-gap: calc(20 * var(--fluid-unit));
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: calc(50 * var(--fluid-unit));
  padding-top: calc(126 * var(--fluid-unit));
}
.group-card {
  position: relative;
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: var(--group-card-gap);
  min-width: 0;
}
.group-logo {
  background: var(--white);
  aspect-ratio: 495/315;
  width: 100%;
  border-radius: calc(3.06 * var(--fluid-unit));
  display: flex;
  align-items: center;
  justify-content: center;
}
.group-logo img {
  transition: transform 0.3s ease;
  width: var(--group-logo-width, 55%);
  height: auto;
  max-width: 80%;
  object-fit: contain;
}
/* Stretch the existing official-site link across its card. */
.group-card__link::after {
  content: "";
  position: absolute;
  inset: 0;
  z-index: 1;
}
.group-card .group-card__link {
  border-bottom: 0;
  padding-bottom: 2px;
}
.group-card:has(.group-card__link):is(:hover, :focus-within) .group-logo img {
  transform: scale(1.1);
}
.group-card__link:focus-visible {
  outline: none;
}
.group-card:has(.group-card__link:focus-visible) {
  outline: 2px solid var(--blue);
  outline-offset: 5px;
}
@media (prefers-reduced-motion: reduce) {
  .group-logo img {
    transition: none;
  }
}
.group-logo--takumikobo {
  --group-logo-width: calc(248 * var(--fluid-unit));
}
.group-logo--freesia {
  --group-logo-width: calc(266.689 * var(--fluid-unit));
}
.group-logo--skynet {
  --group-logo-width: calc(244.999 * var(--fluid-unit));
}
.group-logo--miraie {
  --group-logo-width: calc(243.001 * var(--fluid-unit));
}
.group-card__content {
  display: flex;
  flex-direction: column;
  gap: calc(10 * var(--fluid-unit));
  width: 100%;
  overflow-wrap: anywhere;
}
.group-card h2 {
  font: 500 calc(20 * var(--text-unit))/1.45 var(--serif);
  letter-spacing: 0.4px;
}
.group-card p,
.group-card .group-card__link {
  font-size: calc(var(--text-base-14) * var(--text-unit));
}
.group-card p {
  line-height: 1.8;
  letter-spacing: 1.2px;
  min-height: calc(66 * var(--fluid-unit));
}
.external-link {
  display: inline-flex;
  align-items: center;
  gap: calc(10 * var(--fluid-unit));
  color: var(--blue);
  border-bottom: 1px solid currentColor;
  padding-bottom: 1px;
  font-size: var(--font-size-13);
  line-height: 1.1667;
  letter-spacing: 0.6px;
}
.external-link .external-icon {
  flex-shrink: 0;
  margin-left: 0;
}
/* Shared Figma heading, with optional section or category tabs. */
:is(.page-heading--with-tabs, .page-heading--standard) {
  padding-top: calc(236 * var(--fluid-unit));
}
:is(.page-heading--with-tabs, .page-heading--standard) .page-eyebrow {
  font-weight: 300;
  line-height: 1;
  letter-spacing: 1.32px;
}
:is(.page-heading--with-tabs, .page-heading--standard) h1 {
  margin-top: calc(10 * var(--fluid-unit));
  line-height: 1.1481;
  letter-spacing: 2.7px;
}
:is(.page-heading--with-tabs, .page-heading--standard) .breadcrumbs {
  margin-top: calc(62 * var(--fluid-unit));
  padding-bottom: calc(29 * var(--fluid-unit));
  line-height: 1;
  letter-spacing: 1.2px;
}
:is(.page-heading--with-tabs, .page-heading--standard) .page-tabs {
  margin-top: calc(30 * var(--fluid-unit));
}
:is(.page-heading--with-tabs, .page-heading--standard) .page-tabs a {
  padding: calc(5 * var(--fluid-unit)) calc(15 * var(--fluid-unit));
  border-color: var(--ink);
  font-size: var(--font-size-13);
  line-height: 1.1667;
  letter-spacing: 0.6px;
}
.breadcrumbs--section-end {
  padding: calc(24 * var(--fluid-unit)) 0 calc(30 * var(--fluid-unit));
  line-height: 1;
  letter-spacing: 1.2px;
}
.news-content {
  padding-top: calc(126 * var(--fluid-unit));
}
.news-list {
  position: relative;
}
.news-list::before,
.news-item::after {
  content: "";
  position: absolute;
  left: 0;
  right: 0;
  height: 1px;
  background: #e1e8ea;
  pointer-events: none;
}
.news-list::before {
  top: -0.5px;
}
.news-item {
  position: relative;
  display: grid;
  grid-template-columns: calc(120 * var(--fluid-unit)) calc(210 * var(--fluid-unit)) minmax(0, 1fr);
  align-items: start;
  padding: calc(40 * var(--fluid-unit)) 0;
  font-size: var(--font-size-15);
  line-height: 1.7692;
  letter-spacing: 0.1em;
}
.news-item::after {
  bottom: -0.5px;
}
.news-item time {
  padding-top: calc(2 * var(--fluid-unit));
  font-family: var(--en);
  line-height: 1.2308;
  letter-spacing: 0.12em;
}
.news-item__categories {
  display: flex;
  flex-wrap: wrap;
  align-items: flex-start;
  gap: calc(6 * var(--fluid-unit));
  padding-top: calc(2 * var(--fluid-unit));
  min-width: 0;
}
.news-item__title {
  overflow-wrap: anywhere;
}
.news-item .news-tag {
  line-height: 1;
  padding: calc(3 * var(--fluid-unit)) calc(7 * var(--fluid-unit));
  letter-spacing: 0.1em;
  white-space: normal;
}
.news-tag {
  font: var(--font-size-12)/1.4 var(--sans);
  color: var(--blue);
  border: 1px solid var(--blue);
  padding: 1px calc(4 * var(--fluid-unit));
  display: inline-block;
  justify-self: start;
  width: max-content;
  max-width: 100%;
  letter-spacing: 0;
}
.pagination {
  display: flex;
  align-items: center;
  justify-content: center;
  flex-wrap: wrap;
  gap: calc(20 * var(--fluid-unit));
  margin-top: calc(100 * var(--fluid-unit));
}
.pagination__arrow {
  display: inline-grid;
  place-items: center;
  width: calc(6 * var(--fluid-unit));
  height: calc(16 * var(--fluid-unit));
  position: relative;
}
.pagination__arrow::after {
  content: "";
  position: absolute;
  inset: calc(-8 * var(--fluid-unit));
}
.pagination__arrow[aria-disabled="true"] {
  opacity: 0.4;
}
.pagination__arrow img {
  max-width: none;
}
.pagination__arrow--next,
.pagination__arrow--previous {
  width: calc(3 * var(--fluid-unit));
}
.pagination__arrow--next img {
  transform: rotate(-90deg);
}
.pagination__arrow--previous img {
  transform: rotate(90deg);
}
.pagination button {
  border: 0;
  background: transparent;
  color: var(--blue);
  padding: calc(5 * var(--fluid-unit));
  font: var(--font-size-13) var(--en);
}
.pagination button[aria-current="page"] {
  text-decoration: underline;
  text-underline-offset: 7px;
}
.pagination button:disabled {
  opacity: 0.3;
  cursor: default;
}
.article-content,
.form-content {
  width: calc(100% - calc(500 * var(--fluid-unit)));
  max-width: calc(940 * var(--fluid-unit));
  margin: auto;
}
.form-content {
  font-size: var(--font-size-16);
}
.form-content.content-block {
  padding-top: calc(80 * var(--fluid-unit));
}
.status-content {
  min-height: calc(440 * var(--fluid-unit));
}
.status-content .text-link {
  font-size: calc(16 * var(--text-unit));
  margin-top: calc(65 * var(--fluid-unit));
  text-decoration: underline;
  text-underline-offset: 6px;
}
/* Policy sections share the same heading, divider and body rhythm. */
.policy-content {
  font-size: var(--font-size-16);
  line-height: 2;
  letter-spacing: 0.06em;
  padding-top: calc(79 * var(--fluid-unit));
  overflow-wrap: anywhere;
}
.policy-content p {
  line-height: inherit;
}
.policy-content section {
  margin-top: calc(47 * var(--fluid-unit));
}
.policy-content h2 {
  font-size: calc(32 * var(--text-unit));
  font-weight: 500;
  line-height: 1.4;
  letter-spacing: 0.02em;
  margin-bottom: calc(24 * var(--fluid-unit));
}
.policy-content h2::after {
  content: "";
  display: block;
  width: calc(160 * var(--fluid-unit));
  height: 1px;
  background: rgba(20, 20, 20, 0.2);
  margin-top: calc(24 * var(--fluid-unit));
}
.policy-content ul {
  margin: calc(24 * var(--fluid-unit)) 0 0;
  padding-left: 1.5em;
  list-style: disc;
}
.policy-content a {
  text-decoration: underline;
  text-underline-offset: 3px;
}
@media (min-width: 769px) {
  .policy-content a[href^="tel:"] {
    text-decoration: none;
  }
}
.policy-content .policy-section--contact h2 {
  font-size: calc(26 * var(--text-unit));
  line-height: 1.6;
  padding-bottom: calc(20 * var(--fluid-unit));
  border-bottom: 1px solid rgba(20, 20, 20, 0.1);
  margin-bottom: calc(47 * var(--fluid-unit));
}
.policy-content .policy-section--contact h2::after {
  display: none;
}
@media (max-width: 1150px) {
  .article-content,
  .form-content {
    width: 76%;
  }
  .news-item {
    grid-template-columns: 90px 135px 1fr;
    gap: 15px;
  }
}
@media (max-width: 768px) {
  .content-block {
    padding-top: 65px;
    padding-bottom: 80px;
  }
  .group-cards {
    grid-template-columns: 1fr;
    gap: 45px;
  }
  .group-card p {
    min-height: 0;
  }
  :is(.page-heading--with-tabs, .page-heading--standard) {
    padding-top: 145px;
  }
  :is(.page-heading--with-tabs, .page-heading--standard) h1 {
    line-height: 1.5;
    letter-spacing: 0.05em;
  }
  :is(.page-heading--with-tabs, .page-heading--standard) .breadcrumbs {
    margin-top: 30px;
    padding-bottom: 20px;
  }
  :is(.page-heading--with-tabs, .page-heading--standard) .page-tabs {
    margin-top: 22px;
  }
  .breadcrumbs--section-end {
    padding: 20px 0;
  }
  .news-item {
    grid-template-columns: 110px 1fr;
    gap: 12px;
    padding: 28px 0;
  }
  .news-item > span:last-child {
    grid-column: 1/-1;
  }
  .pagination {
    gap: 10px;
    margin-top: 45px;
  }
  .article-content,
  .form-content {
    width: 86%;
  }
  .form-content {
    font-size: var(--font-size-13);
  }
  .form-content.content-block {
    padding-top: 50px;
  }
  .status-content {
    min-height: 0;
  }
  .policy-content h2 {
    font-size: calc(25 * var(--mobile-text-unit));
  }
  .policy-content .policy-section--contact h2 {
    font-size: calc(22 * var(--mobile-text-unit));
  }
  .policy-content section {
    margin-top: 40px;
  }
}
/* Page controls use the same inverted hover treatment. */
.page-tabs a,
.page-tabs button,
.form-submit,
.pagination button {
  transition:
    background-color 0.25s,
    color 0.25s,
    border-color 0.25s;
}
.page-tabs a:is(:hover, :focus-visible),
.page-tabs button:is(:hover, :focus-visible) {
  background: var(--ink);
  color: #fff;
  opacity: 1;
}
.page-tabs a[aria-current="page"]:is(:hover, :focus-visible),
.page-tabs button[aria-pressed="true"]:is(:hover, :focus-visible) {
  background: #fff;
  color: var(--ink);
}
.pagination button:not(:disabled):is(:hover, :focus-visible) {
  background: var(--blue);
  color: #fff;
  opacity: 1;
}
@media (prefers-reduced-motion: reduce) {
  .page-tabs a,
  .page-tabs button,
  .form-submit,
  .pagination button {
    transition: none;
  }
}
/* All pages share the fixed animated background. */
.has-site-bg .page-content {
  background: transparent;
}
/* ===== 4. Home desktop typography and spacing ===== */
/* Exact PC typography from Figma 94:834. Percent tracking converts to em. */
@media (min-width: 1151px) {
  /* I148:4237;146:3959: tracking 2% */
  .home-page .company h2 {
    font-family: var(--serif);
    font-size: calc(42 * var(--text-unit));
    font-weight: 500;
    letter-spacing: 0.02em;
    line-height: 100%;
  }
  /* I148:4237;146:3960: tracking 12% */
  .home-page .company h2 small {
    font-family: var(--en);
    font-size: var(--font-size-13);
    font-weight: 300;
    letter-spacing: 0.12em;
    line-height: normal;
  }
  /* I148:4237;146:3965: tracking 2% */
  .home-page .company-links b {
    font-family: var(--serif);
    font-size: calc(20 * var(--text-unit));
    font-weight: 500;
    letter-spacing: 0.02em;
    line-height: normal;
  }
  /* I148:4237;146:3967: tracking 10% */
  .home-page .company-links p {
    font-family: var(--sans);
    font-size: var(--font-size-13);
    font-weight: 350;
    letter-spacing: 0.1em;
    line-height: 150%;
  }
  /* 94:1377: tracking 2% */
  .home-page .business-copy h2 {
    font-family: var(--serif);
    font-size: calc(40 * var(--text-unit));
    font-weight: 600;
    letter-spacing: 0.02em;
    line-height: normal;
  }
  /* 94:1378: tracking 12% */
  .home-page .business-copy h2 small {
    font-family: var(--en);
    font-size: var(--font-size-13);
    font-weight: 300;
    letter-spacing: 0.12em;
    line-height: normal;
  }
  /* 94:1379: tracking 10% */
  .home-page .business-copy p {
    font-family: var(--sans);
    font-size: calc(17 * var(--text-unit));
    font-weight: 400;
    letter-spacing: 0.1em;
    line-height: 200%;
  }
  /* 94:1383: tracking 10% */
  .home-page .business-copy .text-link {
    font-family: var(--sans);
    font-size: calc(16 * var(--text-unit));
    font-weight: 400;
    letter-spacing: 0.1em;
    line-height: normal;
  }
  /* 94:853: tracking 12% */
  .home-page .news-row time {
    font-family: var(--en);
    font-size: var(--font-size-13);
    font-weight: 400;
    letter-spacing: 0.12em;
    line-height: normal;
  }
  /* 94:854: tracking 10% */
  .home-page .news-row p {
    font-family: var(--sans);
    font-weight: 350;
    letter-spacing: 0.1em;
    line-height: normal;
  }
  /* 94:899: tracking 12% */
  .home-page .hero-copy p {
    font-family: var(--en);
    font-size: var(--font-size-13);
    font-weight: 300;
    letter-spacing: 0.12em;
    line-height: 100%;
  }
  /* 94:900: tracking 12% */
  .home-page .scroll {
    font-family: var(--en);
    font-size: var(--font-size-12);
    font-weight: 500;
    letter-spacing: 0.12em;
    line-height: 100%;
  }
  /* 94:980: tracking 2% */
  .home-page .about h2 {
    font-family: var(--serif);
    font-size: calc(42 * var(--text-unit));
    font-weight: 500;
    letter-spacing: 0.02em;
    line-height: 100%;
  }
  /* 94:981: tracking 12% */
  .home-page .about h2 small {
    font-family: var(--en);
    font-size: var(--font-size-13);
    font-weight: 400;
    letter-spacing: 0.12em;
    line-height: normal;
  }
  /* 94:983: tracking 2% */
  .home-page .about h3 {
    font-family: var(--serif);
    font-size: calc(16 * var(--text-unit));
    font-weight: 700;
    letter-spacing: 0.02em;
    line-height: 100%;
  }
  /* 94:984: tracking 2% */
  .home-page .about-copy p {
    font-family: var(--serif);
    font-size: calc(16 * var(--text-unit));
    font-weight: 500;
    letter-spacing: 0.02em;
    line-height: 100%;
  }
  /* 94:991: tracking 10% */
  .home-page .about .text-link {
    font-family: var(--sans);
    font-size: calc(16 * var(--text-unit));
    font-weight: 350;
    letter-spacing: 0.1em;
    line-height: normal;
  }
  /* 94:1003: tracking 2% */
  .home-page .news h2 {
    font-family: var(--serif);
    font-size: calc(32 * var(--text-unit));
    font-weight: 400;
    letter-spacing: 0.02em;
    line-height: normal;
  }
  /* 94:1004: tracking 12% */
  .home-page .news h2 small {
    font-family: var(--en);
    font-size: var(--font-size-13);
    font-weight: 400;
    letter-spacing: 0.12em;
    line-height: normal;
  }
  /* 94:1006: tracking 5% */
  .home-page .news .pill {
    font-family: var(--sans);
    font-size: var(--font-size-13);
    font-weight: 350;
    letter-spacing: 0.05em;
    line-height: normal;
  }
  /* I146:3389;135:2079: tracking 10% */
  .home-page .group h3 {
    font-family: var(--sans);
    font-size: calc(20 * var(--text-unit));
    font-weight: 350;
    letter-spacing: 0.1em;
    line-height: 120%;
  }
  /* I146:3389;135:2080: tracking 10% */
  .home-page .group h3 small {
    font-family: var(--sans);
    font-size: var(--font-size-13);
    font-weight: 400;
    letter-spacing: 0.1em;
    line-height: 120%;
  }
  /* I146:3389;135:2082: tracking 10% */
  .home-page .copyright > div > a {
    font-family: var(--sans);
    font-weight: 400;
    letter-spacing: 0.1em;
    line-height: normal;
  }
  /* I146:3389;135:2083: tracking 10% */
  .home-page .copyright > span {
    font-family: var(--en);
    font-weight: 400;
    letter-spacing: 0.1em;
    line-height: normal;
  }
  /* I146:3389;135:2121: tracking 10% */
  .home-page .footer-address {
    font-family: var(--sans);
    font-size: var(--font-size-13);
    font-weight: 350;
    letter-spacing: 0.1em;
    line-height: 120%;
  }
  /* I146:3389;135:2128: tracking 2% */
  .home-page .footer-nav > div > a {
    font-family: var(--serif);
    font-size: var(--font-size-16);
    font-weight: 500;
    letter-spacing: 0.02em;
    line-height: 140%;
  }
  /* I146:3389;135:2132: tracking 10% */
  .home-page .footer-nav li a {
    font-family: var(--sans);
    font-size: var(--font-size-13);
    font-weight: 350;
    letter-spacing: 0.1em;
    line-height: 120%;
  }
  /* I146:3389;135:2164: tracking 10% */
  .home-page .group h4 {
    font-family: var(--sans);
    font-size: calc(16 * var(--text-unit));
    font-weight: 350;
    letter-spacing: 0.1em;
    line-height: 120%;
  }
  /* I146:3389;135:2167: tracking 10% */
  .home-page .group-grid a {
    font-family: var(--sans);
    font-size: var(--font-size-13);
    font-weight: 350;
    letter-spacing: 0.1em;
    line-height: 120%;
  }
  /* I146:3389;135:2270: tracking 8% */
  .home-page .contact h2 {
    font-family: var(--en);
    font-size: calc(58 * var(--text-unit));
    font-weight: 500;
    letter-spacing: 0.08em;
    line-height: 120%;
  }
  /* I146:3389;135:2271: tracking 10% */
  .home-page .contact h2 small {
    font-family: var(--sans);
    font-size: var(--font-size-13);
    font-weight: 500;
    letter-spacing: 0.1em;
    line-height: 120%;
  }
  /* I146:3389;135:2272: tracking 10% */
  .home-page .contact p {
    font-family: var(--sans);
    font-size: var(--font-size-16);
    font-weight: 350;
    letter-spacing: 0.1em;
    line-height: 180%;
  }
  /* I146:3389;135:2274: tracking 10% */
  .home-page .contact-button {
    font-family: var(--sans);
    font-size: calc(16 * var(--text-unit));
    font-weight: 500;
    letter-spacing: 0.1em;
    line-height: 120%;
  }
  /* I146:3850;146:3691: tracking 2% */
  .home-page .recruit-cards h3 {
    font-family: var(--serif);
    font-size: calc(28 * var(--text-unit));
    font-weight: 500;
    letter-spacing: 0.02em;
    line-height: 120%;
  }
  /* I146:3850;146:3692: tracking 12% */
  .home-page .recruit-cards h3 small {
    font-family: var(--en);
    font-size: var(--font-size-13);
    font-weight: 400;
    letter-spacing: 0.12em;
    line-height: normal;
  }
  /* I146:3850;146:3694: tracking 10% */
  .home-page .recruit-cards p {
    font-family: var(--sans);
    font-size: var(--font-size-16);
    font-weight: 350;
    letter-spacing: 0.1em;
    line-height: 180%;
  }
  /* I146:3850;146:3712: tracking 8% */
  .home-page .recruit h2 {
    font-family: var(--en);
    font-size: calc(55 * var(--text-unit));
    font-weight: 500;
    letter-spacing: 0.08em;
    line-height: normal;
  }
  /* I146:3850;146:3711: tracking 10% */
  .home-page .recruit h2 small {
    font-family: var(--sans);
    font-size: calc(18 * var(--text-unit));
    font-weight: 500;
    letter-spacing: 0.1em;
    line-height: 100%;
  }
  /* I146:3850;146:3713: tracking 10% */
  .home-page .recruit-bottom > p {
    font-family: var(--sans);
    font-size: calc(18 * var(--text-unit));
    font-weight: 500;
    letter-spacing: 0.1em;
    line-height: 200%;
  }
  /* I227:938;94:1443: tracking 4% */
  /* I230:1727;94:1432: tracking 0% */
  .home-page .header nav > a:not(.pill),
  .home-page .header .nav-trigger {
    font-family: var(--serif);
    font-size: var(--font-size-16);
    font-weight: 400;
    letter-spacing: 0em;
    line-height: 100%;
  }
}
/* DOM grouping for Figma's separate text rows; safe at mobile sizes too. */
.home-page .footer-address-line {
  display: block;
}
.home-page .about-copy-lines {
  display: flex;
  flex-direction: column;
}
@media (min-width: 1151px) {
  .home-page .header nav {
    gap: calc(20 * var(--fluid-unit));
  }
  .home-page .nav-trigger {
    gap: calc(6 * var(--fluid-unit));
  }
  .home-page .news .pill {
    width: max-content;
    height: auto;
    min-height: calc(36 * var(--fluid-unit));
    padding: calc(10 * var(--fluid-unit)) calc(20 * var(--fluid-unit));
    gap: calc(5 * var(--fluid-unit));
    justify-content: center;
    border-width: 1px;
    border-radius: calc(50 * var(--fluid-unit));
    white-space: nowrap;
    flex-shrink: 0;
    font-feature-settings: "palt" 1;
  }
  .home-page .news .pill .arrow-icon {
    width: calc(15 * var(--fluid-unit));
    height: calc(9.479167 * var(--fluid-unit));
  }
  .home-page .news h2 small {
    margin-top: 0;
  }
  .home-page .about h2 small,
  .home-page .company h2 small {
    margin-top: calc(10 * var(--fluid-unit));
  }
  .home-page .about h3 {
    margin: calc(48 * var(--fluid-unit)) 0 calc(30 * var(--fluid-unit));
  }
  .home-page .about-copy-lines {
    gap: calc(30 * var(--fluid-unit));
  }
  .home-page .about .text-link,
  .home-page .business-copy .text-link {
    gap: calc(16 * var(--fluid-unit));
    padding: 0;
  }
  .home-page .text-link > span {
    padding: 0 0 calc(3 * var(--fluid-unit));
    border-bottom-width: 0.5px;
  }
  .home-page .text-link .link-mark {
    width: calc(55.613831 * var(--fluid-unit));
    height: calc(53.223083 * var(--fluid-unit));
  }
  .home-page .company-links > a {
    grid-template-columns: calc(220 * var(--fluid-unit)) minmax(0, 1fr) calc(40 * var(--fluid-unit));
    gap: 0;
    padding: calc(30 * var(--fluid-unit)) 0;
  }
  .home-page .company-links > a:first-child {
    padding-top: 0;
  }
  .home-page .company-links .arrow {
    width: calc(40 * var(--fluid-unit));
    height: calc(40 * var(--fluid-unit));
    border-width: 0.5px;
  }
  .home-page .company-links .arrow-icon {
    width: calc(16 * var(--fluid-unit));
    height: calc(11.375 * var(--fluid-unit));
  }
  .home-page .recruit-cards {
    gap: calc(12 * var(--fluid-unit));
  }
  .home-page .recruit-cards > a {
    padding: calc(30 * var(--fluid-unit));
    min-height: calc(180 * var(--fluid-unit));
    border-radius: calc(3 * var(--fluid-unit));
    display: flex;
    flex-direction: column;
    gap: calc(30 * var(--fluid-unit));
  }
  .home-page .recruit-cards h3 {
    margin: 0;
    min-height: calc(40 * var(--fluid-unit));
    display: flex;
    align-items: center;
    gap: 0;
  }
  .home-page .recruit-cards h3 small {
    margin-left: calc(15 * var(--fluid-unit));
  }
  .home-page .recruit-cards p {
    margin: 0;
    padding-right: calc(50 * var(--fluid-unit));
  }
  .home-page .recruit-cards .arrow {
    right: calc(30 * var(--fluid-unit));
    bottom: calc(30 * var(--fluid-unit));
    width: calc(40 * var(--fluid-unit));
    height: calc(40 * var(--fluid-unit));
    border-width: 0.5px;
  }
  .home-page .contact-button {
    width: calc(275 * var(--fluid-unit));
    height: calc(70 * var(--fluid-unit));
    padding: 0 calc(20 * var(--fluid-unit)) 0 calc(40 * var(--fluid-unit));
    gap: calc(10 * var(--fluid-unit));
    justify-content: space-between;
    border: 0;
    border-radius: calc(50 * var(--fluid-unit));
  }
  .home-page .contact-button .arrow {
    width: calc(30 * var(--fluid-unit));
    height: calc(30 * var(--fluid-unit));
    border-width: 1px;
  }
  .home-page .contact-button .arrow-icon {
    width: calc(12.5 * var(--fluid-unit));
    height: calc(8.531 * var(--fluid-unit));
  }
  .home-page .footer-address {
    display: flex;
    flex-direction: column;
    gap: calc(10 * var(--fluid-unit));
  }
  .home-page .footer-nav li + li {
    margin-top: calc(15 * var(--fluid-unit));
  }
  .home-page .footer-nav ul {
    margin-bottom: calc(24 * var(--fluid-unit));
  }
}
@media (min-width: 1151px) {
  /* Dropdown variant: Noto Sans JP DemiLight, tracking 10%, leading 120%. */
  .home-page .nav-submenu a {
    font-family: var(--sans);
    font-size: var(--font-size-13);
    font-weight: 350;
    letter-spacing: 0.1em;
    line-height: 120%;
  }
}
/* ===== 5. About page ===== */
/* About page: shared page shell, with a sticky service photograph. */
:where(.subpage--about) .about-philosophy {
  display: grid;
  grid-template-columns: calc(326 * var(--fluid-unit)) minmax(0, 1fr);
  gap: calc(114 * var(--fluid-unit));
  align-items: start;
  padding-block: calc(175 * var(--fluid-unit)) calc(85 * var(--fluid-unit));
}
:where(.subpage--about) .about-philosophy__copy > img {
  width: calc(286 * var(--fluid-unit));
  height: auto;
  object-fit: contain;
}
:where(.subpage--about) .about-philosophy__copy > p {
  font: var(--font-size-12)/1.5 var(--en);
  color: var(--blue);
  margin-top: calc(42 * var(--fluid-unit));
  letter-spacing: 0.06em;
}
:where(.subpage--about) .about-philosophy__text {
  padding-top: calc(106 * var(--fluid-unit));
  font: calc(18 * var(--text-unit))/2 var(--serif);
  letter-spacing: 0.04em;
}
:where(.subpage--about) .about-philosophy__text p {
  line-height: 2;
}
:where(.subpage--about) .about-philosophy__text p + p {
  margin-top: calc(24 * var(--fluid-unit));
}
:where(.subpage--about) .about-philosophy__text strong {
  color: var(--blue);
  font-weight: 600;
}
/* Preserve the image ratios and show the trailing half of the first photo. */
:where(.subpage--about) .about-photostrip {
  --photo-gap: calc(50 * var(--fluid-unit));
  --photo-offset: calc((100vw - calc(1440 * var(--fluid-unit))) / 2 - calc(242 * var(--fluid-unit)));
  overflow: hidden;
  padding: 0 0 calc(145 * var(--fluid-unit));
  height: calc(620 * var(--fluid-unit));
}
:where(.subpage--about) .about-photostrip__track {
  display: flex;
  width: max-content;
  margin-left: var(--photo-offset);
  will-change: transform;
}
:where(.subpage--about) .about-photostrip__set {
  display: flex;
  flex: none;
  align-items: flex-start;
  gap: var(--photo-gap);
  padding-right: var(--photo-gap);
  min-width: 100vw;
  justify-content: space-between;
}
:where(.subpage--about) .about-photostrip__frame {
  position: relative;
  flex: none;
  overflow: hidden;
  width: calc(500 * var(--fluid-unit));
  aspect-ratio: 750/513;
}
:where(.subpage--about) .about-photostrip__frame img {
  position: absolute;
  inset: 0 auto 0 0;
  width: 135%;
  max-width: none;
  height: 100%;
  object-fit: cover;
  transform: translate3d(-12.962963%, 0, 0);
  will-change: transform;
}
:where(.subpage--about) .about-photostrip__frame:first-child {
  aspect-ratio: 723/518;
  width: calc(482 * var(--fluid-unit));
  margin-top: calc(60 * var(--fluid-unit));
}
:where(.subpage--about) .about-photostrip__frame:nth-child(3) {
  aspect-ratio: 533/602;
  width: calc(355 * var(--fluid-unit));
  margin-top: calc(70 * var(--fluid-unit));
}
:where(.subpage--about) .about-photostrip__frame:nth-child(4) {
  aspect-ratio: 750/501;
  width: calc(500 * var(--fluid-unit));
  margin-top: calc(45 * var(--fluid-unit));
}
:where(.subpage--about) .about-business-heading {
  border-top: 1px solid #d9e1e3;
  padding-top: calc(95 * var(--fluid-unit));
  text-align: center;
  position: relative;
}
:where(.subpage--about) .about-business-heading h2 {
  font-size: calc(38 * var(--text-unit));
  letter-spacing: 0.05em;
}
:where(.subpage--about) .about-business-heading h2 small {
  font-size: var(--font-size-13);
}
:where(.subpage--about) .about-business-diagram {
  position: relative;
  margin: calc(60 * var(--fluid-unit)) auto calc(130 * var(--fluid-unit));
  width: min(var(--business-diagram-width), 90%);
  isolation: isolate;
}
:where(.subpage--about) .about-business-diagram:before {
  content: "";
  position: absolute;
  z-index: -1;
  width: 100vw;
  aspect-ratio: 2;
  left: 50%;
  bottom: calc(-70 * var(--fluid-unit));
  transform: translateX(-50%);
  background: url("../images/about-business-background.svg") center/contain no-repeat;
  pointer-events: none;
}
:where(.subpage--about) .about-business-diagram > .business-diagram {
  color: var(--blue);
}
.subpage--about .page-content {
  overflow: clip;
}
:where(.subpage--about) .about-services {
  display: grid;
  grid-template-columns: calc(480 * var(--fluid-unit)) minmax(0, 1fr);
  column-gap: calc(65 * var(--fluid-unit));
  position: relative;
  align-items: start;
  margin-bottom: calc(140 * var(--fluid-unit));
  --service-height: min(calc(624 * var(--fluid-unit)), calc(100svh - calc(150 * var(--fluid-unit))));
}
:where(.subpage--about) .about-services__visual {
  position: sticky;
  top: max(calc(100 * var(--fluid-unit)), calc((100svh - var(--service-height)) / 2));
  height: var(--service-height);
  width: 100%;
  overflow: hidden;
}
:where(.subpage--about) .about-services__visual img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  opacity: 0;
  transition: opacity 0.8s ease;
  pointer-events: none;
}
:where(.subpage--about) .about-services__visual img.is-active {
  opacity: 1;
}
:where(.subpage--about) .about-service {
  min-height: max(calc(624 * var(--fluid-unit)), 85svh);
  display: flex;
  flex-direction: column;
  justify-content: center;
  padding: calc(65 * var(--fluid-unit)) 0;
  scroll-margin-top: calc(120 * var(--fluid-unit));
}
:where(.subpage--about) .about-service:first-child,
:where(.subpage--about) .about-service:last-child {
  min-height: max(calc(624 * var(--fluid-unit)), 75svh);
}
:where(.subpage--about) .about-service h3 {
  font: 500 calc(25 * var(--text-unit))/1.6 var(--serif);
  letter-spacing: 0.06em;
  margin: 0 0 calc(24 * var(--fluid-unit));
}
:where(.subpage--about) .about-service p {
  font-size: var(--font-size-16);
  line-height: 2;
  letter-spacing: 0.06em;
}
:where(.subpage--about) .about-service__links {
  margin-top: calc(45 * var(--fluid-unit));
  border-top: 1px solid #d9e1e3;
  padding-top: calc(25 * var(--fluid-unit));
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: calc(10 * var(--fluid-unit));
}
:where(.subpage--about) .about-service__links a {
  color: var(--blue);
  font-size: var(--font-size-base);
  text-decoration: underline;
  text-underline-offset: 5px;
}
@media (min-width: 769px) {
  :where(.subpage--about) .about-service__links a {
    font-size: var(--font-size-16);
  }
}
:where(.subpage--about) .about-service__mobile-image {
  display: none;
}
:where(.subpage--about) .about-message {
  border-top: 1px solid #d9e1e3;
  padding: calc(100 * var(--fluid-unit)) 0 calc(150 * var(--fluid-unit));
}
:where(.subpage--about) .about-message__inner {
  display: grid;
  grid-template-columns: minmax(0, 1fr) calc(480 * var(--fluid-unit));
  gap: calc(65 * var(--fluid-unit));
}
:where(.subpage--about) .about-message h2 {
  font-size: calc(34 * var(--text-unit));
  letter-spacing: 0.04em;
  margin-bottom: calc(60 * var(--fluid-unit));
}
:where(.subpage--about) .about-message p {
  font: var(--font-size-16)/2 var(--serif);
  letter-spacing: 0;
  margin-bottom: calc(22 * var(--fluid-unit));
}
:where(.subpage--about) .about-message__portrait {
  width: 100%;
  height: auto;
}
:where(.subpage--about) .about-message__signature {
  font-family: var(--serif);
  font-size: calc(18 * var(--text-unit));
  font-weight: 600;
  border-top: 1px solid #d9e1e3;
  padding-top: calc(30 * var(--fluid-unit));
  margin-top: calc(35 * var(--fluid-unit));
}
@media (max-width: 1150px) {
  :where(.subpage--about) .about-philosophy {
    grid-template-columns: 35% 1fr;
    gap: 60px;
  }
  :where(.subpage--about) .about-services {
    grid-template-columns: 46% 1fr;
    gap: 45px;
  }
  :where(.subpage--about) .about-message__inner {
    grid-template-columns: 1fr 46%;
    gap: 45px;
  }
  :where(.subpage--about) .about-service h3 {
    font-size: calc(22 * var(--mobile-text-unit));
  }
}
@media (max-width: 768px) {
  :where(.subpage--about) .about-philosophy {
    grid-template-columns: 1fr;
    gap: 55px;
    padding-block: 75px 60px;
  }
  :where(.subpage--about) .about-philosophy__copy > img {
    width: 230px;
  }
  :where(.subpage--about) .about-philosophy__copy > p {
    margin-top: 28px;
  }
  :where(.subpage--about) .about-philosophy__text {
    padding-top: 0;
    font-size: var(--font-size-16);
  }
  :where(.subpage--about) .about-photostrip {
    --photo-gap: 20px;
    --photo-offset: -150px;
    height: 300px;
    padding-bottom: 50px;
  }
  :where(.subpage--about) .about-photostrip__frame {
    width: 250px;
  }
  :where(.subpage--about) .about-photostrip__frame:first-child {
    width: 240px;
    margin-top: 25px;
  }
  :where(.subpage--about) .about-photostrip__frame:nth-child(3) {
    width: 170px;
    height: auto;
    margin-top: 30px;
  }
  :where(.subpage--about) .about-photostrip__frame:nth-child(4) {
    width: 250px;
    margin-top: 15px;
  }
  :where(.subpage--about) .about-business-heading {
    padding-top: 60px;
  }
  :where(.subpage--about) .about-business-heading h2 {
    font-size: calc(28 * var(--mobile-text-unit));
  }
  :where(.subpage--about) .about-business-diagram {
    margin: 40px auto 70px;
    width: 100%;
  }
  :where(.subpage--about) .about-business-diagram:before {
    bottom: -25px;
  }
  :where(.subpage--about) .about-services {
    display: block;
    margin-bottom: 70px;
  }
  :where(.subpage--about) .about-services__visual {
    display: none;
  }
  :where(.subpage--about) .about-service,
  :where(.subpage--about) .about-service:first-child,
  :where(.subpage--about) .about-service:last-child {
    min-height: 0;
    padding: 0 0 65px;
  }
  :where(.subpage--about) .about-service__mobile-image {
    display: block;
    width: 100%;
    height: auto;
    aspect-ratio: 3 / 3;
    object-fit: cover;
    margin-bottom: 28px;
  }
  :where(.subpage--about) .about-service h3 {
    font-size: calc(22 * var(--mobile-text-unit));
    margin-bottom: 18px;
  }
  :where(.subpage--about) .about-service p {
    font-size: var(--font-size-fixed-base);
  }
  :where(.subpage--about) .about-service__links {
    margin-top: 25px;
    padding-top: 20px;
  }
  :where(.subpage--about) .about-message {
    padding: 60px 0 80px;
  }
  :where(.subpage--about) .about-message__inner {
    grid-template-columns: 1fr;
    gap: 35px;
  }
  :where(.subpage--about) .about-message h2 {
    font-size: calc(28 * var(--mobile-text-unit));
    margin-bottom: 35px;
  }
  :where(.subpage--about) .about-message p {
    font-size: var(--font-size-fixed-base);
  }
  :where(.subpage--about) .about-message__signature {
    font-size: var(--font-size-16);
  }
  :where(.subpage--about) .about-message__portrait {
    width: 80%;
    margin: auto;
  }
}
@media (prefers-reduced-motion: reduce) {
  :where(.subpage--about) .about-services__visual img {
    transition: none;
  }
}
:where(.subpage--about) .about-message__inner.page-inner {
  width: calc(100% - calc(200 * var(--fluid-unit)));
}
@media (max-width: 1150px) {
  :where(.subpage--about) .about-message__inner.page-inner {
    width: 84%;
  }
}
@media (max-width: 768px) {
  :where(.subpage--about) .about-message__inner.page-inner {
    width: 100%;
  }
}
@media (prefers-reduced-motion: reduce) {
  :where(.subpage--about) .about-photostrip__track,
  :where(.subpage--about) .about-photostrip__frame img {
    animation: none;
  }
}
@media (prefers-reduced-motion: reduce) {
  :where(.subpage--about) .about-photostrip__frame img {
    transform: translate3d(-12.962963%, 0, 0);
    will-change: auto;
  }
}
/* Incoming service photo reveals above the previous photo without a blank frame. */
:where(.subpage--about) .about-services__visual img {
  transition: none;
}
:where(.subpage--about) .about-services__visual img.is-previous {
  opacity: 1;
  z-index: 1;
}
:where(.subpage--about) .about-services__visual img.is-active {
  z-index: 2;
}
/* Service transitions follow the scroll direction. */
:where(.subpage--about) .about-services__visual img.service-reveal {
  -webkit-mask-image: linear-gradient(
    to top,
    #000 0%,
    #000 33.333%,
    transparent 66.667%,
    transparent 100%
  );
  mask-image: linear-gradient(to top, #000 0%, #000 33.333%, transparent 66.667%, transparent 100%);
  -webkit-mask-size: 100% 300%;
  mask-size: 100% 300%;
  -webkit-mask-repeat: no-repeat;
  mask-repeat: no-repeat;
  -webkit-mask-position: 0 0%;
  mask-position: 0 0%;
}
:where(.subpage--about) .about-services__visual img.service-reveal.is-revealed {
  animation: service-gradient-reveal 0.8s ease-out both;
}
:where(.subpage--about) .about-services__visual img.service-reveal--reverse {
  --service-mask-start: 100%;
  --service-mask-end: 0%;
  -webkit-mask-image: linear-gradient(
    to bottom,
    #000 0%,
    #000 33.333%,
    transparent 66.667%,
    transparent 100%
  );
  mask-image: linear-gradient(
    to bottom,
    #000 0%,
    #000 33.333%,
    transparent 66.667%,
    transparent 100%
  );
  -webkit-mask-position: 0 100%;
  mask-position: 0 100%;
}
@keyframes service-gradient-reveal {
  from {
    -webkit-mask-position: 0 var(--service-mask-start, 0%);
    mask-position: 0 var(--service-mask-start, 0%);
  }
  to {
    -webkit-mask-position: 0 var(--service-mask-end, 100%);
    mask-position: 0 var(--service-mask-end, 100%);
  }
}
@media (prefers-reduced-motion: reduce) {
  :where(.subpage--about) .about-services__visual img.service-reveal {
    -webkit-mask-image: none;
    mask-image: none;
    animation: none;
  }
}
/* Reveal the original band once, alongside the shared diagram entrance. */
.business-diagram-motion :where(.subpage--about) .about-business-diagram:before {
  clip-path: inset(0 100% 0 0);
}
.business-diagram-motion :where(.subpage--about) .about-business-diagram:has(> .is-started):before {
  animation: about-band-reveal 1s ease-out both;
}
@keyframes about-band-reveal {
  from {
    clip-path: inset(0 100% 0 0);
  }
  to {
    clip-path: inset(0);
  }
}
@media (prefers-reduced-motion: reduce) {
  .business-diagram-motion :where(.subpage--about) .about-business-diagram:before {
    clip-path: none;
    animation: none;
  }
}
/* Match the readable service text to the active sticky photograph. */
@media (min-width: 769px) {
  :where(.subpage--about) .about-services.is-ready .about-service {
    opacity: 0;
    pointer-events: none;
    transition: opacity 0.3s ease;
  }
  :where(.subpage--about) .about-services.is-ready .about-service:is(.is-active, :focus-within) {
    opacity: 1;
    pointer-events: auto;
  }
}
@media (prefers-reduced-motion: reduce) {
  :where(.subpage--about) .about-services.is-ready .about-service {
    transition: none;
  }
}
/* ===== 6. WordPress integration ===== */
/* WordPress and plugin integration; inherited source styles remain authoritative. */
body {
  font-feature-settings: "palt" 1;
}
.screen-reader-text {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  white-space: nowrap;
  border: 0;
}
.skip-link:focus {
  position: fixed;
  top: calc(12 * var(--fluid-unit));
  left: calc(12 * var(--fluid-unit));
  z-index: 10001;
  width: auto;
  height: auto;
  clip: auto;
  background: var(--white);
  color: var(--ink);
  padding: calc(12 * var(--fluid-unit)) calc(20 * var(--fluid-unit));
}
/* Front-end toolbar: reserve space below and open its menus upward. */
@media screen {
  body.admin-bar {
    --admin-bar-height: 32px;
    padding-bottom: var(--admin-bar-height);
  }
  body.admin-bar #wpadminbar {
    position: fixed;
    top: auto;
    bottom: 0;
  }
  body.admin-bar #wpadminbar .ab-top-menu > .menupop > .ab-sub-wrapper {
    bottom: 100%;
  }
}
@media screen and (max-width: 782px) {
  body.admin-bar {
    --admin-bar-height: 46px;
  }
}
.pagination .page-numbers {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-width: calc(10 * var(--fluid-unit));
  height: calc(16 * var(--fluid-unit));
  padding: 0;
  color: var(--blue);
  font-family: var(--en);
  font-size: var(--font-size-13);
  line-height: 1.25;
  letter-spacing: 0.12em;
}
.pagination .current {
  border-bottom: 1px solid currentColor;
  opacity: 0.4;
}
.pagination a:is(:hover, :focus-visible) {
  background: var(--blue);
  color: var(--white);
}
.wpcf7-form-control-wrap {
  display: block;
}
.wpcf7-list-item {
  margin: 0;
}
/* ===== 7. News articles ===== */
/* Article components, matched to Figma 253:3972. */
:where(.subpage--news-detail) .article-content {
  --article-rule: rgba(20, 20, 20, 0.1);
  --article-tint: #eef6f8;
  --article-table-fill: #fafcfd;
  padding-top: calc(147 * var(--fluid-unit));
  overflow-wrap: anywhere;
}
:where(.subpage--news-detail) .page-heading--article {
  padding-top: calc(166 * var(--fluid-unit));
}
:where(.subpage--news-detail) .page-heading--article h1 {
  font-size: calc(26 * var(--text-unit));
  line-height: 1;
  letter-spacing: 0.15em;
}
:where(.subpage--news-detail) .page-heading--article .page-eyebrow {
  margin-top: calc(5 * var(--fluid-unit));
  font-weight: 300;
  font-size: var(--font-size-12);
  line-height: 1;
  letter-spacing: 0.12em;
}
:where(.subpage--news-detail) .article-heading h2 {
  font-size: calc(40 * var(--text-unit));
  font-weight: 400;
  line-height: 1.4;
  letter-spacing: 0.04em;
}
:where(.subpage--news-detail) .article-meta {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: calc(20 * var(--fluid-unit));
  margin-top: calc(28 * var(--fluid-unit));
  padding-bottom: calc(39 * var(--fluid-unit));
  border-bottom: 1px solid var(--article-rule);
  min-height: calc(57 * var(--fluid-unit));
}
:where(.subpage--news-detail) .article-meta__categories {
  display: flex;
  flex-wrap: wrap;
  gap: calc(5 * var(--fluid-unit));
}
:where(.subpage--news-detail) .article-meta .news-tag {
  font-size: var(--font-size-12);
  font-weight: 300;
  line-height: 1.2222;
  letter-spacing: 0.05em;
  padding: calc(2 * var(--fluid-unit)) calc(8 * var(--fluid-unit));
}
:where(.subpage--news-detail) .article-meta time {
  flex-shrink: 0;
  margin-left: auto;
  font: 400 var(--font-size-12)/1.2 var(--en);
  letter-spacing: 0.12em;
  opacity: 0.4;
}
:where(.subpage--news-detail) .article-toc {
  background: var(--white);
  border-radius: calc(3 * var(--fluid-unit));
  padding: calc(40 * var(--fluid-unit));
  margin: calc(80 * var(--fluid-unit)) 0 0;
}
:where(.subpage--news-detail) .article-toc > p {
  font: 400 calc(20 * var(--text-unit))/1 var(--serif);
  letter-spacing: 0.15em;
}
:where(.subpage--news-detail) .article-toc ul {
  display: flex;
  flex-direction: column;
  gap: calc(10 * var(--fluid-unit));
  list-style: none;
  max-width: calc(818 * var(--fluid-unit));
  padding: 0;
  margin: calc(29 * var(--fluid-unit)) 0 0;
}
:where(.subpage--news-detail) .article-toc li {
  border-bottom: 1px dashed #c1c1c1;
  padding-bottom: calc(5 * var(--fluid-unit));
  font-size: var(--font-size-16);
  line-height: 1.7857;
  letter-spacing: 0.08em;
}
:where(.subpage--news-detail) .article-toc a {
  position: relative;
  display: block;
  padding-left: calc(15 * var(--fluid-unit));
  overflow-wrap: anywhere;
}
:where(.subpage--news-detail) .article-toc a::before {
  content: "";
  position: absolute;
  left: 0;
  top: calc(10 * var(--fluid-unit));
  width: calc(5 * var(--fluid-unit));
  height: calc(5 * var(--fluid-unit));
  background: url("../images/article-toc-dot.svg") center/contain no-repeat;
}
:where(.subpage--news-detail) .article-toc .article-toc__level-3 {
  line-height: 1.5714;
}
:where(.subpage--news-detail) .article-toc__level-3 a {
  padding-left: calc(52 * var(--fluid-unit));
}
:where(.subpage--news-detail) .article-toc__level-3 a::before {
  left: calc(38 * var(--fluid-unit));
  top: calc(10.5 * var(--fluid-unit));
  width: calc(8 * var(--fluid-unit));
  height: 1px;
  background: #777;
}
:where(.subpage--news-detail) .article-toc .article-toc__level-4 {
  line-height: 1.4286;
}
:where(.subpage--news-detail) .article-toc__level-4 a {
  padding-left: calc(58 * var(--fluid-unit));
}
:where(.subpage--news-detail) .article-toc__level-4 a::before {
  content: none;
}
:where(.subpage--news-detail) .article-image {
  width: 100%;
  height: auto;
  margin-top: calc(50 * var(--fluid-unit));
}
:where(.subpage--news-detail) .article-heading + .article-image,
:where(.subpage--news-detail) .article-heading + .article-body {
  margin-top: calc(80 * var(--fluid-unit));
}
:where(.subpage--news-detail) .article-body {
  display: flow-root;
  font-size: var(--font-size-16);
  line-height: 2;
  letter-spacing: 0.06em;
}
:where(.subpage--news-detail) .article-body > * {
  margin: 0;
}
:where(.subpage--news-detail) .article-body :is(h2, h3, h4) {
  letter-spacing: 0.04em;
  margin-top: calc(60 * var(--fluid-unit));
  overflow-wrap: anywhere;
  scroll-margin-top: calc(110 * var(--fluid-unit));
}
:where(.subpage--news-detail) .article-body h2 {
  font-size: calc(34 * var(--text-unit));
  font-weight: 400;
  line-height: 1.4;
}
:where(.subpage--news-detail) .article-body h2::after {
  content: "";
  display: block;
  width: min(calc(270 * var(--fluid-unit)), 100%);
  height: 1px;
  background: rgba(20, 20, 20, 0.2);
  margin-top: calc(40 * var(--fluid-unit));
}
:where(.subpage--news-detail) .article-body :is(h3, h4) {
  font-family: var(--serif);
}
:where(.subpage--news-detail) .article-body h3 {
  font-size: calc(26 * var(--text-unit));
  font-weight: 500;
  line-height: 1.6;
  padding-bottom: calc(30 * var(--fluid-unit));
  border-bottom: 1px solid var(--article-rule);
}
:where(.subpage--news-detail) .article-body h4 {
  font-size: calc(24 * var(--text-unit));
  font-weight: 500;
  line-height: 1.6;
}
:where(.subpage--news-detail) .article-body p {
  line-height: 2;
  margin-top: calc(40 * var(--fluid-unit));
}
:where(.subpage--news-detail) .article-body p + p {
  margin-top: calc(20 * var(--fluid-unit));
}
:where(.subpage--news-detail) .article-body h4 + p {
  margin-top: calc(30 * var(--fluid-unit));
}
:where(.subpage--news-detail) .article-body a {
  color: var(--blue);
  text-decoration: underline;
  text-underline-offset: 2px;
}

:where(.subpage--news-detail) .article-body blockquote {
  display: grid;
  grid-template-columns: calc(18 * var(--fluid-unit)) minmax(0, 1fr) calc(18 * var(--fluid-unit));
  align-items: center;
  gap: calc(10 * var(--fluid-unit));
  width: fit-content;
  max-width: 100%;
  min-height: calc(74 * var(--fluid-unit));
  border: 0;
  margin: calc(20 * var(--fluid-unit)) 0 0;
  padding: 0 calc(20 * var(--fluid-unit));
  background: var(--article-tint);
  color: var(--blue);
  font-weight: 700;
}
:where(.subpage--news-detail) .article-body blockquote::before,
:where(.subpage--news-detail) .article-body blockquote::after {
  font: 500 calc(46 * var(--text-unit))/1.6 var(--serif);
  letter-spacing: 0.04em;
}
:where(.subpage--news-detail) .article-body blockquote::before {
  content: "“";
  grid-column: 1;
  grid-row: 1;
}
:where(.subpage--news-detail) .article-body blockquote::after {
  content: "”";
  grid-column: 3;
  grid-row: 1;
}
:where(.subpage--news-detail) .article-body blockquote p {
  grid-column: 2;
  margin: 0;
}
:where(.subpage--news-detail) .article-body blockquote cite {
  grid-column: 2;
  font-size: var(--font-size-13);
}
:where(.subpage--news-detail) .article-body :is(ul, ol) {
  margin-top: calc(20 * var(--fluid-unit));
  padding-left: calc(16 * var(--fluid-unit));
  line-height: 2;
}
:where(.subpage--news-detail) .article-body ul {
  list-style: none;
  padding-left: 0;
}
:where(.subpage--news-detail) .article-body ul > li {
  position: relative;
  padding-left: calc(16 * var(--fluid-unit));
}
:where(.subpage--news-detail) .article-body ul > li::before {
  content: "";
  position: absolute;
  left: 0;
  top: calc(12 * var(--fluid-unit));
  width: calc(6 * var(--fluid-unit));
  height: calc(6 * var(--fluid-unit));
  background: url("../images/article-list-dot.svg") center/contain no-repeat;
}
:where(.subpage--news-detail) .article-body ol > li::marker {
  color: var(--blue);
}
:where(.subpage--news-detail) .article-body img {
  max-width: 100%;
  height: auto;
}
:where(.subpage--news-detail) .article-body > figure:not(.wp-block-table),
:where(.subpage--news-detail) .article-body > p:has(> img) {
  margin-top: calc(50 * var(--fluid-unit));
}
:where(.subpage--news-detail) .article-body > figure img {
  width: 100%;
}
:where(.subpage--news-detail) .article-body .table-scroll,
:where(.subpage--news-detail) .article-body .wp-block-table {
  overflow-x: auto;
  max-width: 100%;
  margin: calc(30 * var(--fluid-unit)) 0 0;
}
:where(.subpage--news-detail) .article-body table {
  border-collapse: collapse;
  table-layout: fixed;
  width: 100%;
  min-width: calc(940 * var(--fluid-unit));
  font-size: calc(var(--text-base-15) * var(--text-unit));
  line-height: 2;
  letter-spacing: 0.06em;
}
:where(.subpage--news-detail) .article-body th,
:where(.subpage--news-detail) .article-body td {
  border: 1px solid var(--blue);
  padding: calc(19.5 * var(--fluid-unit)) calc(20 * var(--fluid-unit));
  overflow-wrap: anywhere;
  background: var(--article-table-fill);
}
:where(.subpage--news-detail) .article-body th {
  color: var(--blue);
  background: var(--article-tint);
  font-weight: 700;
}
.wp-block-table thead {
  border-bottom: none;
}
.wp-block-table tfoot {
  border: none;
}
:where(.subpage--news-detail) .article-body thead th {
  text-align: center;
}
:where(.subpage--news-detail) .article-body tbody th {
  text-align: left;
}
:where(.subpage--news-detail) .article-body .table-scroll--compact table {
  min-width: 0;
  max-width: calc(440 * var(--fluid-unit));
}
:where(.subpage--news-detail) .article-table {
  position: relative;
  margin-top: calc(30 * var(--fluid-unit));
  max-width: 100%;
}
:where(.subpage--news-detail) .article-table > .table-scroll,
:where(.subpage--news-detail) .article-table > .wp-block-table {
  margin: 0;
}
:where(.subpage--news-detail) .article-table__hint {
  display: none;
  position: absolute;
  left: 50%;
  top: 50%;
  transform: translate(-50%, -50%);
  width: calc(123 * var(--fluid-unit));
  height: calc(90 * var(--fluid-unit));
  pointer-events: none;
}
:where(.subpage--news-detail)
  .article-table.is-scrollable:not(.is-scrolled)
  > .article-table__hint {
  display: block;
}
:where(.subpage--news-detail) .article-pager {
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto minmax(0, 1fr);
  align-items: center;
  gap: calc(30 * var(--fluid-unit));
  border-block: 1px solid var(--article-rule);
  padding: calc(49 * var(--fluid-unit)) 0;
  margin-top: calc(80 * var(--fluid-unit));
  color: var(--blue);
  font-size: var(--font-size-13);
  line-height: 1.3333;
  letter-spacing: 0.05em;
}
:where(.subpage--news-detail) .article-pager__link {
  display: flex;
  align-items: center;
  gap: calc(10 * var(--fluid-unit));
  min-width: 0;
}
:where(.subpage--news-detail) .article-pager__link img {
  flex-shrink: 0;
  max-width: none;
}
:where(.subpage--news-detail) .article-pager__link span {
  text-decoration: underline;
  text-underline-offset: 3px;
  overflow-wrap: anywhere;
}
:where(.subpage--news-detail) .article-pager__link--previous {
  justify-self: start;
}
:where(.subpage--news-detail) .article-pager__link--previous img {
  transform: scaleX(-1);
}
:where(.subpage--news-detail) .article-pager__link--next {
  justify-self: end;
  grid-column: 3;
}
:where(.subpage--news-detail) .article-pager__index {
  grid-column: 2;
  grid-row: 1;
  font-size: var(--font-size-16);
  line-height: 1.2143;
  white-space: nowrap;
}
@media (max-width: 768px) {
  :where(.subpage--news-detail) .page-heading--article {
    padding-top: 130px;
  }
  :where(.subpage--news-detail) .article-content {
    padding-top: 65px;
  }
  :where(.subpage--news-detail) .article-heading h2 {
    font-size: calc(28 * var(--mobile-text-unit));
  }
  :where(.subpage--news-detail) .article-meta {
    gap: 12px;
  }
  :where(.subpage--news-detail) .article-toc {
    padding: 20px;
    margin-top: 45px;
    font-weight: 400;
  }
  :where(.subpage--news-detail) .article-toc > p {
    font-size: 20px;
  }
  :where(.subpage--news-detail) .article-toc ul {
    gap: 6px;
  }
  :where(.subpage--news-detail) .article-toc li {
    font-size: 14px;
    line-height: 1.8;
  }
  :where(.subpage--news-detail) .article-toc__level-2:has(+ :is(.article-toc__level-3, .article-toc__level-4)) {
    border-bottom: 0;
  }
  :where(.subpage--news-detail) .article-toc :is(.article-toc__level-3, .article-toc__level-4) {
    font-size: 13px;
    border-bottom: 0;
  }
  :where(.subpage--news-detail) .article-toc li + :is(.article-toc__level-3, .article-toc__level-4) {
    margin-top: -6px;
  }
  :where(.subpage--news-detail) .article-toc :is(.article-toc__level-3, .article-toc__level-4):has(+ .article-toc__level-2) {
    border-bottom: 1px dashed #c1c1c1;
    padding-bottom: 10px;
  }
  :where(.subpage--news-detail) .article-toc .article-toc__level-3 {
    line-height: 1.6;
  }
  :where(.subpage--news-detail) .article-toc .article-toc__level-4 {
    line-height: 1.4;
  }
  :where(.subpage--news-detail) .article-toc__level-3 a {
    display: flex;
    align-items: baseline;
    gap: 6px;
    padding-left: 0;
  }
  :where(.subpage--news-detail) .article-toc__level-3 a::before {
    position: static;
    flex: 0 0 8px;
    align-self: flex-start;
    margin-top: 9.9px;
    background: var(--ink);
  }
  :where(.subpage--news-detail) .article-toc__level-4 a {
    padding-left: 14px;
  }
  :where(.subpage--news-detail) .article-body {
    font-size: var(--font-size-15);
  }
  :where(.subpage--news-detail) .article-body h2 {
    font-size: calc(28 * var(--mobile-text-unit));
  }
  :where(.subpage--news-detail) .article-body h3 {
    font-size: calc(24 * var(--mobile-text-unit));
  }
  :where(.subpage--news-detail) .article-body h4 {
    font-size: calc(22 * var(--mobile-text-unit));
  }
  :where(.subpage--news-detail) .article-pager {
    gap: 16px;
    padding: 30px 0;
  }
  :where(.subpage--news-detail) .article-pager__link {
    align-items: flex-start;
    gap: 6px;
  }
  :where(.subpage--news-detail) .article-pager__link img {
    margin-top: 4px;
  }
}
/* ===== 8. Contact form ===== */
/* Contact Form 7 layout. The shared page heading and content width live in pages.css. */
:where(.subpage--contact) .form-content {
  line-height: 1.8;
  letter-spacing: 0.1em;
}
:where(.subpage--contact) .form-content.content-block {
  padding-top: calc(79 * var(--fluid-unit));
}
:where(.subpage--contact) .form-content p {
  line-height: 1.8;
}
:where(.subpage--contact) .form-small {
  font-size: var(--font-size-13);
  letter-spacing: 0.1em;
  margin-top: calc(20 * var(--fluid-unit));
}
:where(.subpage--contact) .form-content form {
  margin-top: calc(79 * var(--fluid-unit));
}
:where(.subpage--contact) .form-content fieldset {
  border: 0;
  padding: 0;
  margin: 0;
  min-width: 0;
}
:where(.subpage--contact) .form-row {
  position: relative;
  display: grid;
  grid-template-columns: calc(220 * var(--fluid-unit)) minmax(0, 1fr);
  gap: calc(40 * var(--fluid-unit));
  align-items: center;
  padding: calc(40 * var(--fluid-unit)) 0;
}
:where(.subpage--contact) .form-row:first-of-type {
  padding-top: 0;
}
:where(.subpage--contact) .form-row:last-child {
  padding-bottom: 0;
}
:where(.subpage--contact) .form-row:not(:last-child)::after {
  content: "";
  position: absolute;
  bottom: -0.5px;
  left: 0;
  right: 0;
  height: 1px;
  background: #e1e8ea;
}
:where(.subpage--contact) .form-row > label {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: calc(12 * var(--fluid-unit));
  font-weight: 500;
}
:where(.subpage--contact) .required {
  background: #e95504;
  color: var(--white);
  font-size: var(--font-size-13);
  line-height: 1;
  padding: calc(3 * var(--fluid-unit)) calc(6 * var(--fluid-unit)) calc(2 * var(--fluid-unit));
  border-radius: calc(2 * var(--fluid-unit));
  white-space: nowrap;
}
:where(.subpage--contact) .form-row input,
:where(.subpage--contact) .form-row select,
:where(.subpage--contact) .form-row textarea {
  display: block;
  width: 100%;
  min-width: 0;
  border: 1px solid var(--blue);
  background: var(--white);
  color: var(--ink);
  padding: calc(20 * var(--fluid-unit));
  font: inherit;
  border-radius: 0;
  letter-spacing: inherit;
}
:where(.subpage--contact) .form-row input,
:where(.subpage--contact) .form-row select {
  height: calc(70 * var(--fluid-unit));
}
:where(.subpage--contact) .form-row input::placeholder,
:where(.subpage--contact) .form-row textarea::placeholder {
  color: #bdbdbd;
  opacity: 1;
}
:where(.subpage--contact) .form-row select {
  appearance: none;
  background: var(--white) url("../images/contact-select.svg") right 19.27px center/14.4656px
    9.15006px no-repeat;
  padding-right: calc(44 * var(--fluid-unit));
}
:where(.subpage--contact) .form-row select.is-placeholder {
  color: #bdbdbd;
}
:where(.subpage--contact) .form-row select option {
  color: var(--ink);
}
:where(.subpage--contact) .form-row textarea {
  resize: vertical;
  height: calc(170 * var(--fluid-unit));
  min-height: calc(170 * var(--fluid-unit));
}
:where(.subpage--contact) .postal-fields {
  display: flex;
  align-items: center;
  gap: calc(10 * var(--fluid-unit));
  margin-bottom: calc(11 * var(--fluid-unit));
}
:where(.subpage--contact) .postal-fields__symbol {
  flex: 0 0 calc(10.72 * var(--fluid-unit));
  height: calc(11.456 * var(--fluid-unit));
  margin-right: calc(10 * var(--fluid-unit));
  background: url("../images/contact-postal.svg") center no-repeat;
}
:where(.subpage--contact) .postal-fields__separator {
  flex: 0 0 calc(12 * var(--fluid-unit));
  height: calc(2 * var(--fluid-unit));
  background: var(--ink);
}
:where(.subpage--contact) .postal-fields .wpcf7-form-control-wrap {
  flex: 0 0 calc(85 * var(--fluid-unit));
}
:where(.subpage--contact) .postal-fields .wpcf7-form-control-wrap[data-name="postal1"] {
  flex-basis: calc(80 * var(--fluid-unit));
}
:where(.subpage--contact) .postal-status {
  font-size: var(--font-size-13);
  line-height: 1.8;
  margin: 0;
}
:where(.subpage--contact) .postal-address > [data-name="address"],
:where(.subpage--contact) #postal-choices {
  width: calc(100% - calc(31 * var(--fluid-unit)));
  margin-left: calc(31 * var(--fluid-unit));
}
:where(.subpage--contact) #postal-choices {
  margin-bottom: calc(11 * var(--fluid-unit));
}
:where(.subpage--contact) #postal-choices[hidden] {
  display: none;
}
:where(.subpage--contact) .consent {
  display: flex;
  justify-content: center;
  font-size: var(--font-size-16);
  margin: calc(60 * var(--fluid-unit)) 0 calc(20 * var(--fluid-unit));
}
:where(.subpage--contact) .consent .wpcf7-list-item > label {
  display: flex;
  align-items: center;
  gap: calc(17 * var(--fluid-unit));
}
:where(.subpage--contact) .consent .wpcf7-form-control-wrap,
:where(.subpage--contact) .consent .wpcf7-acceptance,
:where(.subpage--contact) .consent .wpcf7-list-item {
  display: block;
}
:where(.subpage--contact) .consent input {
  appearance: none;
  flex-shrink: 0;
  width: calc(24 * var(--fluid-unit));
  height: calc(24 * var(--fluid-unit));
  margin: 0;
  border: 1px solid var(--blue);
  background: var(--white);
}
:where(.subpage--contact) .consent input:checked {
  border: 0;
  background: var(--blue) url("../images/contact-checkbox-checked.svg") center/24px 24px no-repeat;
}
:where(.subpage--contact) .consent a {
  text-decoration: underline;
  text-underline-offset: 3px;
}
:where(.subpage--contact) .form-submit-wrap {
  position: relative;
  display: flex;
  justify-content: center;
  align-items: center;
  gap: calc(16 * var(--fluid-unit));
}
:where(.subpage--contact) .form-submit {
  border: 0;
  background: none;
  color: var(--blue);
  padding: 0;
  margin: 0;
  gap: calc(16 * var(--fluid-unit));
  align-items: center;
  font: inherit;
  font-size: calc(16 * var(--text-unit));
  font-weight: 350;
  line-height: 1.2;
  letter-spacing: 0.1em;
  cursor: pointer;
}
:where(.subpage--contact) .form-submit__label {
  padding-bottom: calc(3 * var(--fluid-unit));
  border-bottom: 0.5px solid currentColor;
}
:where(.subpage--contact) .form-submit .link-mark {
  width: calc(55.6138 * var(--fluid-unit));
  height: calc(53.2231 * var(--fluid-unit));
}
:where(.subpage--contact) .form-submit:disabled {
  opacity: 0.5;
  cursor: not-allowed;
  pointer-events: none;
}
:where(.subpage--contact) .wpcf7 .wpcf7-spinner {
  position: absolute;
  top: 100%;
  margin: calc(12 * var(--fluid-unit)) 0;
}
:where(.subpage--contact) .wpcf7-not-valid-tip {
  font-size: var(--font-size-13);
  margin-top: calc(8 * var(--fluid-unit));
}
:where(.subpage--contact) .wpcf7 form .wpcf7-response-output {
  margin: calc(24 * var(--fluid-unit)) 0;
}
:where(.subpage--contact) .form-row input:focus-visible,
:where(.subpage--contact) .form-row select:focus-visible,
:where(.subpage--contact) .form-row textarea:focus-visible,
:where(.subpage--contact) .consent input:focus-visible {
  outline: 2px solid var(--blue);
  outline-offset: 4px;
}
@media (max-width: 1150px) {
  :where(.subpage--contact) .form-row {
    grid-template-columns: 180px minmax(0, 1fr);
    gap: 25px;
  }
  :where(.subpage--contact) .postal-fields {
    flex-wrap: wrap;
  }
  :where(.subpage--contact) .postal-status {
    flex-basis: 100%;
    margin-left: 31px;
  }
}
@media (max-width: 768px) {
  :where(.subpage--contact) .form-content.content-block {
    padding-top: 50px;
  }
  :where(.subpage--contact) .form-content form {
    margin-top: 40px;
  }
  :where(.subpage--contact) .form-row {
    grid-template-columns: 1fr;
    gap: 15px;
    padding: 25px 0;
  }
  :where(.subpage--contact) .form-row > label {
    justify-content: flex-start;
    font-size: var(--font-size-16);
  }
  :where(.subpage--contact) .form-row input,
  :where(.subpage--contact) .form-row select,
  :where(.subpage--contact) .form-row textarea {
    font-size: calc(16 * var(--mobile-text-unit));
    padding: 15px;
  }
  :where(.subpage--contact) .form-row input,
  :where(.subpage--contact) .form-row select {
    height: 60px;
  }
  :where(.subpage--contact) .consent {
    margin: 40px 0 calc(20 * var(--fluid-unit));
    font-size: var(--font-size-13);
  }
  :where(.subpage--contact) .consent .wpcf7-list-item > label {
    align-items: flex-start;
    gap: 12px;
  }
}
/* Inline required errors and an accessible explanation beside the disabled action. */
:where(.subpage--contact) .form-field-error {
  display: block;
  font-size: var(--font-size-13);
  line-height: 1.6;
  margin-top: calc(8 * var(--fluid-unit));
  color: #c62828;
  letter-spacing: normal;
}
:where(.subpage--contact) .form-field-error[hidden] {
  display: none;
}
:where(.subpage--contact) .form-row .is-required-empty {
  border-color: #c62828;
}
:where(.subpage--contact) .form-submit-wrap {
  width: fit-content;
  max-width: 100%;
  margin-inline: auto;
}
:where(.subpage--contact) .wpcf7-turnstile {
  display: flex;
  justify-content: center;
  margin-bottom: calc(24 * var(--fluid-unit));
}
:where(.subpage--contact) .form-submit-wrap.is-disabled {
  cursor: not-allowed;
}
:where(.subpage--contact) .form-submit-wrap.is-submitting {
  cursor: wait;
}
:where(.subpage--contact) .form-submit-wrap:focus-visible {
  outline: 2px solid var(--blue);
  outline-offset: 8px;
}
:where(.subpage--contact) .form-submit-tooltip {
  position: absolute;
  z-index: 2;
  bottom: calc(100% + calc(16 * var(--fluid-unit)));
  left: 50%;
  transform: translateX(-50%);
  width: max-content;
  max-width: min(calc(320 * var(--fluid-unit)), 84vw);
  padding: calc(14 * var(--fluid-unit)) calc(18 * var(--fluid-unit));
  border-radius: calc(6 * var(--fluid-unit));
  background: var(--ink);
  color: var(--white);
  font-size: var(--font-size-13);
  line-height: 1.7;
  letter-spacing: normal;
  white-space: pre-line;
  visibility: hidden;
  opacity: 0;
  pointer-events: none;
}
:where(.subpage--contact) .form-submit-tooltip::after {
  content: "";
  position: absolute;
  top: 100%;
  left: 50%;
  transform: translateX(-50%);
  border: 7px solid transparent;
  border-top-color: var(--ink);
}
:where(.subpage--contact)
  .form-submit-wrap.has-missing-fields:is(:hover, :focus-within)
  .form-submit-tooltip {
  visibility: visible;
  opacity: 1;
}
/* CF7 may also report the same empty field after a change; show one message. */
:where(.subpage--contact) .form-row .is-required-empty ~ .wpcf7-not-valid-tip {
  display: none;
}
:where(.subpage--contact) .postal-fields.is-invalid .wpcf7-not-valid-tip {
  display: none;
}
:where(.subpage--contact) .postal-fields + .form-field-error:not([hidden]) {
  margin: calc(-3 * var(--fluid-unit)) 0 calc(11 * var(--fluid-unit)) calc(31 * var(--fluid-unit));
}
/* ===== 9. Shared circular link motion ===== */
/* Animate separate copies of the original artwork without changing CTA colors. */
@property --link-ring-angle {
  syntax: "<angle>";
  inherits: false;
  initial-value: 0deg;
}
.text-link .link-mark {
  position: relative;
  display: block;
  flex-shrink: 0;
  --link-ring: url("../images/icon-logo-link-ring.svg");
  --link-arrow: url("../images/icon-logo-link-arrow.svg");
}
.text-link .link-mark--white {
  --link-ring: url("../images/icon-logo-link-ring--white.svg");
  --link-arrow: url("../images/icon-logo-link-arrow--white.svg");
}
.home-page .text-link > .link-mark {
  border: 0;
  padding: 0;
}
.link-mark__ring,
.link-mark__arrows,
.link-mark__arrow {
  position: absolute;
  inset: 0;
}
.link-mark__ring {
  background: var(--link-ring) center/100% 100% no-repeat;
  transition: opacity 0.1s linear;
}
.link-mark__ring--draw {
  opacity: 0;
  mask-image: conic-gradient(
    from 270deg,
    transparent 0deg calc(360deg - var(--link-ring-angle)),
    #000 calc(360deg - var(--link-ring-angle)) 360deg
  );
}
.link-mark__arrows {
  overflow: hidden;
}
.link-mark__arrow {
  background: var(--link-arrow) center/100% 100% no-repeat;
  transition: transform 0.3s ease;
}
.link-mark__arrow--incoming {
  transform: translateX(-100%);
}
.text-link:focus-visible .link-mark__arrow {
  transform: translateX(100%);
}
.text-link:focus-visible .link-mark__arrow--incoming {
  transform: translateX(0);
}
@media (hover: hover) {
  .text-link:hover .link-mark__arrow {
    transform: translateX(100%);
  }
  .text-link:hover .link-mark__arrow--incoming {
    transform: translateX(0);
  }
}
@media (prefers-reduced-motion: reduce) {
  .text-link .link-mark .link-mark__ring:not(.link-mark__ring--draw) {
    opacity: 1;
    transition: none;
  }
  .text-link .link-mark .link-mark__ring--draw {
    animation: none;
    display: none;
  }
  .text-link .link-mark .link-mark__arrow {
    transition: none;
    transform: none;
  }
  .text-link .link-mark .link-mark__arrow--incoming {
    display: none;
  }
}

/* Shared English philosophy caption sizing. */
.home-page .hero-copy p,
.subpage--about .about-philosophy__copy > p,
.drawer-copy small {
  font-size: calc(var(--caption-font-size, 16) * var(--text-unit));
  margin-left: calc(var(--caption-margin-left, 7) * var(--fluid-unit));
}
.subpage--about .about-philosophy__copy > p {
  --caption-font-size: var(--text-base-15);
  --caption-margin-left: 5;
  font-weight: 300;
  letter-spacing: 0.12em;
}

@media (max-width: 768px) {
  .home-page .hero-copy p,
  .subpage--about .about-philosophy__copy > p,
  .drawer-copy small {
    --caption-font-size: 11;
  }
}

/* Shared drawer/footer external-link text size. */
.site-drawer a[target="_blank"],
footer :is(.footer-nav, .group-grid) a[target="_blank"] {
  font-size: calc(var(--text-base-13) * var(--text-unit));
}

/* Container widths retain their 1440px viewport ratio, capped at 1920px.
   Keep typography, vertical spacing and media/icon sizing on their existing units. */
@media (min-width: 1441px) {
  :root {
    --container-unit: min(0.069444444444vw, 1.333333333333px);
  }
  .home-page .hero-copy {
    --fluid-unit: var(--container-unit);
    --text-unit: var(--container-unit);
  }
  .wrap {
    max-width: calc(920 * var(--container-unit));
  }
  .home-page .about {
    max-width: calc(1440 * var(--container-unit));
  }
  .home-page .about-copy {
    width: calc(471.25 * var(--container-unit));
  }
  .business .business-body {
    max-width: calc(1440 * var(--container-unit));
    margin-inline: auto;
    padding-inline: calc(20 * var(--container-unit));
  }
  .home-page .business-copy {
    width: calc(612 * var(--container-unit));
  }
  .home-page .company-inner {
    max-width: calc(1191 * var(--container-unit));
    grid-template-columns: minmax(0, 630fr) minmax(0, 390fr);
    column-gap: calc(171 * var(--container-unit));
  }
  .company-visual {
    width: 100%;
  }
  .recruit-inner {
    max-width: calc(1240 * var(--container-unit));
  }
  .home-page .recruit-cards {
    column-gap: calc(12 * var(--container-unit));
  }
  .contact {
    padding-inline: calc((100% - 1036.8 * var(--container-unit)) / 2);
  }
  .contact-inner {
    max-width: calc(1036.8 * var(--container-unit));
    column-gap: calc(60 * var(--container-unit));
  }
  .contact-gallery {
    width: calc(620 * var(--container-unit));
    flex-basis: calc(620 * var(--container-unit));
  }
  .footer-main {
    width: calc(1339.2 * var(--container-unit));
    margin-inline: auto;
  }
  footer > .group,
  .copyright {
    padding-inline: calc((100% - 1339.2 * var(--container-unit)) / 2);
  }
  .group-grid {
    column-gap: calc(100 * var(--container-unit));
  }
  .drawer-layout {
    max-width: calc(1440 * var(--container-unit));
    margin-inline: auto;
    padding-left: calc(92.16 * var(--container-unit));
    padding-right: calc(50.4 * var(--container-unit));
  }
  .page-shell {
    width: calc(100% - 200 * var(--container-unit));
    max-width: calc(1240 * var(--container-unit));
  }
  .page-inner {
    width: calc(100% - 400 * var(--container-unit));
    max-width: calc(1040 * var(--container-unit));
  }
  .access-section .page-inner,
  :where(.subpage--about) .about-message__inner.page-inner {
    width: calc(100% - 200 * var(--container-unit));
  }
  .article-content,
  .form-content {
    width: calc(100% - 500 * var(--container-unit));
    max-width: calc(940 * var(--container-unit));
  }
  .detail-list {
    --label-width: calc(140 * var(--container-unit));
  }
  .group-cards {
    column-gap: calc(50 * var(--container-unit));
  }
  .news-item {
    grid-template-columns: calc(120 * var(--container-unit)) calc(210 * var(--container-unit)) minmax(0, 1fr);
  }
  :where(.subpage--about) .about-philosophy {
    grid-template-columns: calc(326 * var(--container-unit)) minmax(0, 1fr);
    column-gap: calc(114 * var(--container-unit));
  }
  :where(.subpage--about) .about-business-diagram {
    width: calc(800 * var(--container-unit));
  }
  :where(.subpage--about) .about-business-diagram > .business-diagram {
    margin-inline: auto;
  }
  :where(.subpage--about) .about-services {
    grid-template-columns: calc(480 * var(--container-unit)) minmax(0, 1fr);
    column-gap: calc(65 * var(--container-unit));
  }
  :where(.subpage--about) .about-message__inner {
    grid-template-columns: minmax(0, 1fr) calc(480 * var(--container-unit));
    column-gap: calc(65 * var(--container-unit));
  }
  :where(.subpage--news-detail) .article-toc {
    padding-inline: calc(40 * var(--container-unit));
  }
  :where(.subpage--news-detail) .article-toc ul {
    max-width: calc(818 * var(--container-unit));
  }
  :where(.subpage--contact) .form-row {
    grid-template-columns: calc(220 * var(--container-unit)) minmax(0, 1fr);
    column-gap: calc(40 * var(--container-unit));
  }
}

@media (min-width: 769px) {
  :is(.page-heading--with-tabs, .page-heading--standard) .page-tabs a {
    padding: calc(6 * var(--fluid-unit)) calc(18 * var(--fluid-unit)) calc(5 * var(--fluid-unit));
    font-size: var(--font-size-15);
  }
}

.group-grid .store-label {
  margin-top: calc(10 * var(--fluid-unit));
  font-size: calc(13 * var(--text-unit));
  line-height: 1.8;
}
.about-service__links .store-label {
  font-size: var(--font-size-base);
}
@media (min-width: 769px) {
  .about-service__links .store-label {
    font-size: var(--font-size-16);
  }
}
