/* 日栄興業サイト：写真設定・基本レイアウト・各セクション・画面幅別調整 */

.hero-frame {
  --photo-ratio: 2401 / 921;
  --photo-radius: 0.00000% / 0.00000%;
}

.about-photo {
  --photo-ratio: 601 / 721;
  --photo-radius: 4.25881% / 3.56934%;
}

.service-image {
  --photo-ratio: 1001 / 871;
  --photo-radius: 4.99649% / 5.75310%;
}

.service-image.portrait {
  --photo-ratio: 801 / 1201;
  --photo-radius: 5.05456% / 3.40846%;
}

.recruit-main {
  --photo-ratio: 1281 / 1151;
  --photo-radius: 0.00000% / 0.00000%;
}

.recruit-photo {
  --photo-ratio: 801 / 526;
  --photo-radius: 0.00000% / 0.00000%;
}

:root {
  --teal: #007e7c;
  --blue: #5098d1;
  --ink: #303b3e;
  --light: #e5f4fa;
  --serif: "Shippori Mincho B1","Yu Mincho","Hiragino Mincho ProN","Noto Serif JP",serif;
}

* {
  box-sizing: border-box;
}

body {
  margin: 0;
  color: var(--ink);
  font-family: "LINE Seed JP","Noto Sans JP","Hiragino Kaku Gothic ProN","Yu Gothic",Meiryo,sans-serif;
  font-size: 16px;
  line-height: 1.95;
  letter-spacing: .07em;
}

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

button {
  font: inherit;
  cursor: pointer;
}

a,
button {
  -webkit-tap-highlight-color: transparent;
}

a:focus-visible,
button:focus-visible,
[tabindex]:focus-visible {
  outline: 3px solid #075f94;
  outline-offset: 5px;
}

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

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

h2,
h3,
h4 {
  font-weight: 500;
}

p+p {
  margin-top: 1em;
}

.container {
  width: min(1080px,84%);
  margin-inline: auto;
}

.narrow {
  width: min(880px,78%);
}

.section {
  position: relative;
  padding-block: 110px;
}

.serif {
  font-family: var(--serif);
  font-weight: 500;
  letter-spacing: .03em;
}

.section-label {
  font-size: 18px;
  font-weight: 700;
  letter-spacing: .22em;
  line-height: 1.8;
  display: flex;
  align-items: center;
  gap: 23px;
}

.section-label span {
  font-size: 14px;
  color: var(--teal);
  font-weight: 400;
  letter-spacing: .23em;
  border-left: 1px solid #758e95;
  padding-left: 23px;
}

.align-right {
  justify-content: flex-end;
}

.eyebrow {
  font-size: 14px;
  letter-spacing: .21em;
  color: var(--teal);
  line-height: 1.6;
}

.button {
  display: inline-flex;
  justify-content: center;
  align-items: center;
  background: var(--teal);
  color: white;
  border: 1px solid transparent;
  border-radius: 4px;
  padding: 10px 28px;
  min-height: 48px;
  font-size: 15px;
  letter-spacing: .15em;
  transition: background .2s,transform .2s;
}

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

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

.button.blue:hover {
  background: #337db7;
}

.button-row {
  display: flex;
  gap: 25px;
  margin-top: 28px;
}

.button-row .button {
  min-width: 225px;
}

.svg-defs {
  position: absolute;
  width: 0;
  height: 0;
  overflow: hidden;
}

.icon {
  width: 40px;
  height: 40px;
  flex-shrink: 0;
}

.skip-link {
  position: fixed;
  z-index: 100;
  left: 10px;
  top: -100px;
  background: white;
  padding: 12px;
  color: var(--teal);
}

.skip-link:focus {
  top: 10px;
}

.header {
  position: sticky;
  top: 0;
  z-index: 20;
}

.header-inner {
  max-width: 1320px;
  padding: 24px 38px;
  min-height: 150px;
  margin: auto;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 26px;
}

.brand {
  display: block;
  flex-shrink: 0;
  width: 310px;
}

.brand img {
  width: 100%;
  height: auto;
  mix-blend-mode: multiply;
}

.header-right {
  display: flex;
  align-items: flex-end;
  flex-direction: column;
  gap: 18px;
}

.header nav {
  display: flex;
  align-items: center;
}

.header nav a {
  font-size: 14px;
  line-height: 1.5;
  letter-spacing: .1em;
  white-space: nowrap;
  padding-inline: 19px;
  border-right: 1px solid #bccdd2;
}

.header nav a:last-child {
  border: 0;
  padding-right: 0;
}

.header nav a:hover,
.footer nav a:hover {
  text-underline-offset: 6px;
}

.header-tel {
  display: flex;
  align-items: center;
  gap: 12px;
  background: var(--teal);
  color: white;
  padding: 6px 14px;
  border-radius: 5px;
  line-height: 1.2;
}

.header-tel small {
  display: block;
  font-weight: 600;
  font-size: 13px;
  letter-spacing: .12em;
}

.header-tel strong {
  display: block;
  font-size: 28px;
  font-weight: 400;
  letter-spacing: .05em;
}

.menu-toggle {
  display: none;
}

.hero {
  margin: 24px auto 0;
  width: min(1180px,90%);
  position: relative;
  border-left: 7px solid white;
  border-right: 7px solid #eafaff;
  isolation: isolate;
}

.hero:after {
  content: "";
  position: absolute;
  inset: 0;
}

.hero-copy {
  position: absolute;
  right: 7%;
  top: 30%;
  z-index: 1;
  color: white;
  text-shadow: 0 2px 14px #123943;
}

.hero h1 {
  font-family: var(--serif);
  letter-spacing: .01em;
}

.hero-copy p {
  margin-top: 12px;
  font-size: 16px;
}

.intro-about {
  position: relative;
  overflow: hidden;
}

.intro {
  position: relative;
  padding-block: 56px 120px;
  z-index: 1;
}

.intro h2 {
  color: #5094c8;
  font-size: 30px;
  letter-spacing: .1em;
  margin-bottom: 22px;
}

.intro p {
  font-size: 16px;
  max-width: 620px;
}

.about {
  padding-top: 75px;
  padding-bottom: 110px;
}

.about-title {
  position: relative;
  z-index: 2;
  margin-top: 100px;
  padding-left: 8%;
}

.about-gallery {
  display: grid;
  grid-template-columns: repeat(4,1fr);
  margin: -15px auto 0;
  padding-inline: 24px;
  height: 470px;
  align-items: start;
}

.about-description {
  position: relative;
  margin-left: auto;
  margin-right: 9%;
  font-size: 16px;
}

.business {
  isolation: isolate;
  overflow: hidden;
  padding-top: 80px;
  padding-bottom: 0;
  background: linear-gradient(155deg,#e5f5fd,#eaf6fb 50%,#e0f2fb);
}

.business-intro {
  position: relative;
  padding-bottom: 75px;
}

.business-intro>.serif {
  margin-top: 35px;
  margin-bottom: 20px;
}

.business-intro>p {
  max-width: 650px;
}

.business-links {
  display: grid;
  margin-top: 100px;
}

.business-links .button {
  padding-inline: 12px;
  font-size: 14px;
}

.service {
  position: relative;
  scroll-margin-top: 160px;
  width: min(1280px,97%);
  margin: 20px auto 90px;
  padding: 105px 7%;
}

.service:before {
  right: 0;
  top: 0;
}

.service-inner {
  display: grid;
  grid-template-columns: 1.1fr 1fr;
  gap: 75px;
  align-items: center;
  max-width: 1040px;
  margin: auto;
}

.service-copy h3 {
  font-size: 22px;
  letter-spacing: .12em;
  margin-bottom: 30px;
}

.service-copy h4 {
  margin-bottom: 24px;
}

.service-copy>p:not(.eyebrow) {
  font-size: 15px;
  line-height: 2;
}

.service-image {
  border-radius: 20px;
  object-fit: cover;
}

.service-image.portrait {
  justify-self: end;
  object-position: 55% center;
}

.work-details {
  margin-top: 32px;
}

.work-details h5 {
  font-size: 15px;
  color: var(--teal);
  font-weight: 600;
}

.work-details p {
  font-size: 14px;
  line-height: 1.9;
}

.strength {
  position: relative;
  overflow: hidden;
  isolation: isolate;
  background: white;
  padding: 60px 0 80px;
  box-shadow: 0 4px 7px #4968791a;
}

.strength>.container {
  position: relative;
  z-index: 1;
}

.strength p:not(.eyebrow) {
  max-width: 740px;
  font-size: 15px;
}

.numbers {
  background: linear-gradient(110deg,#f9fcff,#e8f5fd);
  padding-top: 130px;
  overflow: hidden;
}

.numbers-heading {
  display: flex;
  justify-content: space-between;
  gap: 30px;
  align-items: start;
  margin-top: 26px;
}

.numbers-heading h4 {
  font-size: 20px;
}

.numbers-heading small {
  font-size: 12px;
}

.numbers-track {
  gap: 28px;
  overflow-x: auto;
  scrollbar-width: none;
}

.numbers-track::-webkit-scrollbar {
  display: none;
}

.number-card {
  position: relative;
}

.number-icon {
  font-size: 48px;
  line-height: 1.2;
  color: #74bcec;
  display: block;
  height: 65px;
  font-family: Arial,sans-serif;
}

.number-icon.pin {
  width: 42px;
  height: 55px;
  margin-bottom: 10px;
}

.number-card h4 {
  font-weight: 700;
}

.number-card small {
  position: absolute;
}

.number-value {
  text-align: right;
  letter-spacing: -.04em;
  color: #1e2a2e;
}

.number-value span {
  font-size: 22px;
  letter-spacing: 0;
  margin-left: 4px;
}

.number-value.region {
  white-space: nowrap;
}

.number-value.region span {
  display: inline-block;
  writing-mode: vertical-rl;
}

.carousel-controls {
  display: flex;
  justify-content: center;
  align-items: center;
  position: relative;
  z-index: 2;
}

.recruit {
  padding-top: 110px;
  background: linear-gradient(115deg,#d9eff8,#e9f5f8 80%);
  isolation: isolate;
  overflow: hidden;
}

.recruit:before {
  content: "";
  position: absolute;
  z-index: -1;
}

.recruit-layout {
  display: grid;
  margin: 100px -5% 0;
}

.recruit-main {
  object-position: center;
}

.recruit-copy {
  padding-top: 0;
}

.recruit-copy h3 {
  margin-top: -20px;
  margin-bottom: 35px;
}

.recruit-photos {
  display: flex;
  margin-bottom: 30px;
}

.recruit-photos>.photo-frame {
  box-shadow: 0 5px 7px #3456681c;
}

.recruit-copy h4 {
  font-size: 28px;
  margin-bottom: 15px;
}

.recruit-copy>p {
  font-size: 15px;
}

.recruit-requirements {
  position: relative;
  margin-top: 130px;
  padding: 90px 7%;
  width: min(1280px,96%);
  background: #ffffffbd;
  border-radius: 30px 70px 30px 30px;
  box-shadow: 3px 6px 12px #3355651c;
}

.recruit-requirements h3,
.recruit-requirements>.data-table {
  width: min(880px,100%);
  margin-inline: auto;
}

.recruit-requirements h3 {
  margin-bottom: 65px;
}

.data-table {
  margin: 0;
}

.data-table>div {
  display: grid;
  grid-template-columns: 25% 1fr;
  gap: 20px;
  border-bottom: 1px solid #bac9cd;
  padding: 22px 10px;
}

.data-table>div:last-child {
  border: 0;
}

.data-table dt {
  font-weight: 400;
  letter-spacing: .06em;
}

.data-table dd {
  margin: 0;
  font-size: 15px;
  line-height: 2.2;
  letter-spacing: .05em;
}

.data-table dd a:hover {
  text-decoration: underline;
}

.contact-panel {
  background: linear-gradient(90deg,#1a9e87de,#22a98bdd);
  color: white;
  text-align: center;
  padding: 55px 20px;
}

.recruit-contact {
  margin-top: 115px;
}

.contact-panel h3,
.contact-panel h2 {
  font-size: 27px;
  letter-spacing: .1em;
  font-weight: 400;
  margin-bottom: 12px;
}

.large-tel {
  display: inline-flex;
  align-items: center;
  gap: 20px;
  font-family: "Helvetica Neue",Arial,sans-serif;
  font-size: 52px;
  font-weight: 400;
  letter-spacing: .09em;
  line-height: 1.5;
  white-space: nowrap;
}

.large-tel .icon {
  width: 48px;
  height: 48px;
  --phone-fill: #52af98;
}

.contact-panel .contact-hours {
  margin-top: 0;
  letter-spacing: .12em;
}

.contact-panel>.button {
  margin-top: 30px;
  min-width: 300px;
}

.company {
  padding-top: 100px;
  isolation: isolate;
  background: linear-gradient(120deg,#eef6f8,#f5f8f8);
  overflow: hidden;
}

.company:before {
  content: "";
  position: absolute;
  z-index: -1;
}

.company-title {
  margin-top: 60px;
  margin-bottom: 120px;
}

.table-heading {
  font-weight: 700;
  letter-spacing: .2em;
  font-size: 20px;
  margin-bottom: 25px;
}

.company .data-table>div {
  padding-block: 23px;
}

.offices {
  display: grid;
  grid-template-columns: 20% 1fr;
  border: 1px solid #9ab0b1;
  margin-top: 90px;
}

.offices>h4 {
  background: #5db79d;
  color: white;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 16px;
  font-weight: 600;
}

.offices .data-table>div {
  grid-template-columns: 25% 1fr;
  padding: 15px 20px;
  gap: 15px;
}

.offices .data-table dt,
.offices .data-table dd {
  font-size: 14px;
}

.history {
  background: linear-gradient(110deg,#fff,#e8f5fc);
  overflow: hidden;
}

.history-layout {
  position: relative;
  display: grid;
  grid-template-columns: 33% 1fr;
  gap: 20px;
}

.history-layout>h2 {
  align-self: start;
  margin-top: 25px;
}

.timeline {
  list-style: none;
  padding: 0;
  margin: 0;
}

.timeline li {
  display: grid;
  grid-template-columns: 44% 1fr;
  gap: 25px;
  align-items: center;
  padding: 34px 10px;
  border-bottom: 1px solid #a9bbc3;
}

.timeline li:first-child {
  padding-top: 0;
}

.timeline li:last-child {
  border: 0;
}

.timeline strong {
  font-size: 68px;
  letter-spacing: -.06em;
  line-height: 1.3;
  color: #202c30;
}

.timeline strong span {
  font-size: 22px;
  font-family: "Yu Gothic",sans-serif;
  margin-left: 8px;
}

.timeline small {
  display: block;
  font-size: 13px;
  letter-spacing: .03em;
}

.timeline p {
  font-size: 15px;
}

.access {
  position: relative;
  display: grid;
  grid-template-columns: 40% 1fr;
  gap: 40px;
  margin-top: 115px;
}

.access h3 {
  font-size: 19px;
  margin-top: 42px;
  margin-bottom: 12px;
}

.access p {
  font-size: 15px;
}

.final-contact {
  padding-block: 65px;
  background: linear-gradient(90deg,#159f8bdf,#1ca186df);
}

.final-contact .eyebrow {
  color: white;
  margin-bottom: 25px;
}

.final-contact>p:last-child {
  margin-top: 20px;
}

.footer {
  padding: 65px 20px 30px;
  background: linear-gradient(110deg,#e0f3fb,#f7fcfe);
  text-align: center;
}

.footer .brand {
  margin: auto;
}

.footer nav {
  display: flex;
  justify-content: center;
  flex-wrap: wrap;
  gap: 35px;
  margin: 40px 0;
}

.footer nav a {
  font-size: 14px;
}

.footer>small {
  font-size: 12px;
  color: #57757e;
}

.back-to-top {
  position: fixed;
  bottom: 25px;
  right: 25px;
  width: 55px;
  height: 55px;
  background: var(--teal);
  color: white;
  display: flex;
  justify-content: center;
  align-items: center;
  border-radius: 50%;
  font-size: 12px;
  letter-spacing: .1em;
  opacity: 0;
  pointer-events: none;
  transform: translateY(10px);
  transition: .2s;
  z-index: 10;
}

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

.mobile {
  display: none;
}

@media (min-width:1500px) {
  .hero-copy {
    top: 32%;
  }

  .header-inner {
    max-width: 1400px;
  }
}

@media (max-width:1150px) {
  .header-inner {
    padding: 18px 25px;
    min-height: 125px;
  }

  .brand {
    width: 265px;
  }

  .header nav a {
    padding-inline: 11px;
    font-size: 12px;
  }

  .header-tel strong {
    font-size: 25px;
  }

  .header-tel .icon {
    width: 34px;
    height: 34px;
  }

  .service-inner {
    gap: 40px;
  }

  .service {
    padding: 85px 6%;
  }

  .service-copy h4 {
    font-size: 26px;
  }

  .number-card {
    flex-basis: calc((100% - 56px)/3);
  }

  .number-card:nth-child(even) {
    transform: translateY(0);
  }

  .recruit-layout {
    margin-inline: -4%;
  }

  .recruit-copy h4 {
    font-size: 24px;
  }

  .recruit-photos>.photo-frame {
    height: 175px;
  }

  .section-label {
    font-size: 16px;
    gap: 16px;
  }

  .section-label span {
    font-size: 12px;
    padding-left: 16px;
  }

  .history-layout {
    grid-template-columns: 30% 1fr;
  }

  .timeline strong {
    font-size: 58px;
  }
}

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

  .header-inner {
    min-height: 90px;
    padding: 12px 5%;
  }

  .header .brand {
    width: 230px;
  }

  .header-right {
    position: absolute;
    top: 100%;
    left: 0;
    right: 0;
    background: #eff9fc;
    box-shadow: 0 8px 12px #39646d1a;
    align-items: stretch;
    gap: 22px;
  }

  .header nav {
    display: flex;
    flex-direction: column;
    align-items: stretch;
  }

  .header nav a {
    border: 0;
    border-bottom: 1px solid #c4dade;
    padding: 15px 5px;
    font-size: 15px;
  }

  .header-tel {
    align-self: flex-start;
  }

  .menu-toggle {
    display: flex;
    position: relative;
    border: 0;
    background: transparent;
    color: var(--teal);
    width: 65px;
    min-height: 54px;
    padding: 5px 10px 20px;
    align-items: center;
    justify-content: center;
    flex-direction: column;
    gap: 6px;
  }

  .menu-toggle span {
    display: block;
    width: 28px;
    height: 2px;
    background: var(--teal);
  }

  .menu-toggle b {
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    font-size: 11px;
    font-weight: 500;
    letter-spacing: .03em;
  }

  .menu-toggle[aria-expanded=true] span:first-child {
    transform: translateY(4px) rotate(45deg);
  }

  .menu-toggle[aria-expanded=true] span:nth-child(2) {
    transform: translateY(-4px) rotate(-45deg);
  }

  .container {
    width: 86%;
  }

  .narrow {
    width: 86%;
  }

  .section {
    padding-block: 80px;
  }

  .hero {
    width: 94%;
    margin-top: 12px;
  }

  .hero-copy {
    right: 5%;
    top: auto;
    bottom: 65px;
  }

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

  .hero-copy p {
    font-size: 14px;
  }

  .hero:after {
    background: linear-gradient(0deg,#072b4d70,transparent 90%);
  }

  .intro {
    padding: 45px 0 100px;
  }

  .intro h2 {
    font-size: 25px;
  }

  .intro p {
    max-width: 580px;
    font-size: 15px;
  }

  .about-title {
    margin-top: 65px;
    padding: 0;
    font-size: 30px;
  }

  .about-gallery {
    gap: 14px;
    padding-inline: 18px;
    height: 370px;
  }

  .about-gallery>.photo-frame {
    height: 260px;
    border-radius: 10px;
  }

  .about-description {
    font-size: 15px;
  }

  .business-intro {
    padding-bottom: 45px;
  }

  .business-links {
    margin-top: 60px;
  }

  .business-links .button {
    padding: 12px;
    font-size: 15px;
  }

  .service {
    margin-bottom: 55px;
    padding: 70px 7%;
    scroll-margin-top: 115px;
  }

  .service-inner {
    grid-template-columns: 1fr 0.85fr;
    gap: 30px;
  }

  .service-copy h3 {
    font-size: 18px;
    margin-bottom: 20px;
  }

  .service-copy>p:not(.eyebrow) {
    font-size: 14px;
  }

  .service-image {
    height: 360px;
  }

  .service-image.portrait {
    width: 100%;
    height: 440px;
  }

  .work-details p {
    font-size: 13px;
  }

  .strength {
    padding: 55px 0;
  }

  .strength h2 {
    font-size: 27px;
  }

  .numbers-heading {
    display: block;
  }

  .numbers-heading>div {
    margin-top: 22px;
  }

  .numbers-track {
    width: 92%;
    margin-top: 30px;
  }

  .number-card {
    flex-basis: calc((100% - 28px)/2);
  }

  .recruit-layout {
    gap: 28px;
    margin: 80px -2% 0;
    align-items: center;
  }

  .recruit-copy h3 {
    font-size: 28px;
  }

  .recruit-copy h4 {
    font-size: 23px;
  }

  .recruit-photos {
    width: 115%;
    gap: 12px;
  }

  .recruit-photos>.photo-frame {
    width: calc(50% - 6px);
  }

  .recruit-copy>p {
    font-size: 14px;
  }

  .recruit-requirements {
    margin-top: 80px;
    padding: 65px 7%;
  }

  .data-table>div {
    grid-template-columns: 24% 1fr;
    padding: 20px 5px;
  }

  .data-table dt,
  .data-table dd {
    font-size: 14px;
  }

  .recruit-contact {
    margin-top: 80px;
  }

  .large-tel {
    font-size: 43px;
    gap: 12px;
  }

  .company-title {
    margin: 50px 0 80px;
  }

  .offices {
    grid-template-columns: 1fr;
    margin-top: 55px;
  }

  .offices>h4 {
    padding: 12px;
  }

  .offices .data-table>div {
    padding-inline: 15px;
  }

  .history-layout {
    grid-template-columns: 1fr;
    gap: 50px;
  }

  .timeline li {
    padding: 28px 5px;
  }

  .access {
    margin-top: 75px;
    grid-template-columns: 1fr 1.15fr;
    gap: 25px;
  }

  .access .section-label {
    flex-wrap: wrap;
    gap: 10px;
  }

  .access .section-label span {
    padding-left: 10px;
  }

  .footer nav {
    gap: 20px;
  }

  .desktop {
    display: none;
  }
}

@media (max-width:580px) {
  body {
    font-size: 16px;
    letter-spacing: .04em;
  }

  .header-inner {
    min-height: 83px;
    padding-block: 10px;
  }

  .header .brand {
    width: 200px;
  }

  .section {
    padding-block: 65px;
  }

  .section-label {
    font-size: 15px;
    gap: 12px;
    letter-spacing: .13em;
    flex-wrap: wrap;
  }

  .section-label span {
    font-size: 11px;
    padding-left: 12px;
    letter-spacing: .15em;
  }

  .align-right {
    justify-content: flex-start;
  }

  .hero {
    width: 94%;
    border-width: 4px;
  }

  .hero-copy {
    left: 7%;
    right: 4%;
  }

  .hero-copy p {
    letter-spacing: .02em;
    margin-top: 20px;
  }

  .intro {
    padding: 35px 0 95px;
  }

  .intro h2 {
    line-height: 1.7;
    margin-bottom: 22px;
  }

  .intro p {
    font-size: 14px;
    line-height: 2.1;
  }

  .button-row {
    gap: 12px;
    flex-wrap: wrap;
    margin-top: 25px;
  }

  .button-row .button {
    min-width: 0;
    flex: 1;
    padding: 10px 8px;
    font-size: 13px;
    letter-spacing: .05em;
  }

  .about {
    padding-top: 35px;
  }

  .about-title {
    margin-top: 45px;
    line-height: 1.9;
  }

  .about-gallery {
    grid-template-columns: repeat(4,1fr);
  }

  .about-gallery>.photo-frame {
    height: 220px;
    border-radius: 9px;
  }

  .about-description {
    font-size: 14px;
    margin-top: 20px;
  }

  .business-intro>.serif {
    font-size: 26px;
    margin-top: 30px;
  }

  .business-intro>p {
    font-size: 14px;
    line-height: 2;
  }

  .business-links {
    margin-top: 40px;
    gap: 10px;
  }

  .business-links .button {
    font-size: 14px;
  }

  .business {
    padding-bottom: 0;
  }

  .service {
    width: 94%;
    padding: 65px 7% 40px;
    border-radius: 20px 45px 20px 20px;
    margin-top: 0;
    margin-bottom: 35px;
  }

  .service:before {
    width: 24%;
    height: 30px;
  }

  .service-inner {
    grid-template-columns: 1fr;
    gap: 30px;
  }

  .eyebrow {
    font-size: 12px;
  }

  .service-copy h3 {
    font-size: 18px;
    margin-top: 5px;
  }

  .service-copy h4 {
    margin-bottom: 22px;
  }

  .service-copy>p:not(.eyebrow) {
    font-size: 14px;
    line-height: 2;
  }

  .service-image,
  .service-image.portrait {
    border-radius: 12px;
  }

  .service-image.portrait {
    object-position: 50% 60%;
  }

  .work-details {
    margin-top: 22px;
  }

  .work-details h5 {
    font-size: 14px;
  }

  .work-details p {
    font-size: 13px;
  }

  .strength {
    padding: 45px 0;
  }

  .strength p:not(.eyebrow) {
    font-size: 14px;
  }

  .numbers-heading h3 {
    font-size: 25px;
  }

  .numbers-heading h4 {
    font-size: 18px;
  }

  .numbers-heading>div {
    margin-top: 25px;
  }

  .numbers-track {
    gap: 18px;
    width: 93%;
    margin-left: 7%;
    padding-right: 7%;
    padding-left: 0;
  }

  .number-card {
    flex-basis: 80%;
    padding: 28px 30px;
    min-height: 320px;
  }

  .number-card h4 {
    font-size: 18px;
  }

  .number-card p {
    font-size: 14px;
  }

  .number-value.region {
    font-size: 47px;
  }

  .recruit {
    padding-top: 60px;
  }

  .recruit-layout {
    display: flex;
    flex-direction: column;
  }

  .recruit-main {
    order: 1;
  }

  .recruit-copy {
    display: contents;
  }

  .recruit-copy h3 {
    order: 0;
    font-size: 28px;
    width: 100%;
    margin: 0;
  }

  .recruit-photos {
    order: 2;
    z-index: 1;
  }

  .recruit-copy h4 {
    order: 3;
    font-size: 25px;
    margin: 0;
  }

  .recruit-copy>p {
    order: 4;
    margin-top: -18px;
  }

  .recruit-requirements {
    margin-top: 65px;
    width: 94%;
    padding: 50px 7%;
    border-radius: 20px 45px 20px 20px;
  }

  .recruit-requirements h3 {
    margin-bottom: 28px;
  }

  .data-table>div {
    display: block;
    padding: 20px 0;
  }

  .data-table dt {
    font-weight: 600;
    color: #42626a;
    margin-bottom: 8px;
  }

  .data-table dd {
    font-size: 14px;
    line-height: 2;
    letter-spacing: .02em;
  }

  .contact-panel {
    padding: 40px 6%;
  }

  .contact-panel h3,
  .contact-panel h2 {
    font-size: 22px;
    line-height: 1.8;
  }

  .contact-panel p {
    line-height: 1.9;
  }

  .large-tel {
    font-size: clamp(25px,7.4vw,38px);
    letter-spacing: .04em;
    gap: 10px;
    margin-top: 12px;
  }

  .large-tel .icon {
    width: 32px;
    height: 32px;
  }

  .contact-panel .contact-hours {
    letter-spacing: .04em;
  }

  .recruit-contact {
    width: 90%;
    margin-top: 60px;
  }

  .contact-panel>.button {
    min-width: 0;
    width: 90%;
    font-size: 13px;
    margin-top: 24px;
  }

  .company-title {
    margin: 40px 0 65px;
  }

  .table-heading {
    font-size: 18px;
  }

  .company .data-table>div {
    padding-block: 18px;
  }

  .company .data-table dt {
    font-weight: 500;
  }

  .offices {
    margin-top: 45px;
  }

  .offices .data-table>div {
    padding: 15px 18px;
  }

  .offices .data-table dt {
    margin-bottom: 3px;
  }

  .history-layout {
    gap: 40px;
  }

  .history-layout>h2 {
    margin-top: 0;
  }

  .timeline li {
    gap: 20px;
    grid-template-columns: 43% 1fr;
    padding: 25px 0;
  }

  .timeline strong {
    font-size: 48px;
  }

  .timeline strong span {
    font-size: 18px;
    margin-left: 5px;
  }

  .timeline small {
    font-size: 11px;
  }

  .timeline p {
    line-height: 1.9;
    letter-spacing: 0;
  }

  .access {
    grid-template-columns: 1fr;
    gap: 30px;
    margin-top: 70px;
  }

  .access h3 {
    margin-top: 28px;
    font-size: 18px;
  }

  .access p {
    font-size: 14px;
  }

  .final-contact {
    padding: 50px 7%;
  }

  .final-contact .eyebrow {
    margin-bottom: 15px;
  }

  .final-contact>p:last-child {
    margin-top: 22px;
  }

  .footer {
    padding: 45px 7% 25px;
  }

  .footer .brand {
    width: 260px;
  }

  .footer nav {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 18px 12px;
    margin: 30px 0;
  }

  .footer nav a:last-child {
    grid-column: 1/-1;
  }

  .back-to-top {
    width: 45px;
    height: 45px;
    bottom: 18px;
    right: 15px;
    font-size: 10px;
  }

  .mobile {
    display: block;
  }
}

@media (prefers-reduced-motion:reduce) {
  html {
    scroll-behavior: auto;
  }

  *,
  *:before,
  *:after {
    transition: none!important;
  }
}

.intro h2 {
  text-wrap: balance;
}

.number-icon:not(.pin) {
  width: 58px;
  height: 65px;
  margin-bottom: 5px;
}

.intro p,
.about-description,
.business-intro>p,
.service-copy>p:not(.eyebrow),
.strength p:not(.eyebrow),
.recruit-copy>p,
.data-table dd {
  font-size: 16px;
}

.data-table dt {
  font-size: 16px;
}

.numbers-heading p {
  font-size: 16px;
}

.offices .data-table dd {
  font-size: 15px;
}

.contact-panel p {
  font-size: 14px;
}

@media (max-width:580px) {
  .intro h2 {
    font-size: 22px;
  }

  .hero-copy p {
    font-size: 14px;
    line-height: 1.8;
  }

  .intro p,
  .about-description,
  .business-intro>p,
  .service-copy>p:not(.eyebrow),
  .strength p:not(.eyebrow),
  .recruit-copy>p,
  .data-table dd {
    font-size: 16px;
  }

  .data-table dt {
    font-size: 15px;
  }

  .offices .data-table dd {
    font-size: 15px;
  }

  .timeline p {
    font-size: 14px;
  }

  .contact-panel p {
    font-size: 14px;
  }

  .contact-panel .contact-hours {
    font-size: 12px;
  }

  .footer nav a {
    font-size: 14px;
  }

  .hero-copy {
    bottom: 40px;
  }
}

.serif {
  text-wrap: balance;
}

.intro-about,
.about,
.business,
.strength,
.numbers,
.recruit,
.history {
  isolation: isolate;
}

.design-curve {
  position: absolute;
  inset: 0;
  display: block;
  width: 100%;
  height: 100%;
  max-width: none;
  object-fit: fill;
  pointer-events: none;
  user-select: none;
  z-index: -1;
  mix-blend-mode: multiply;
}

.curve-intro {
  bottom: auto;
  height: auto;
  aspect-ratio: 1320.92 / 600;
}

.history:before {
  content: none;
}

.numbers {
  padding-bottom: 400px;
}

@media (max-width:850px) {
  .numbers {
    padding-bottom: 300px;
  }
}

@media (max-width:580px) {
  .curve-intro {
    top: 280px;
    width: 160%;
    left: -40%;
    aspect-ratio: 1320.92 / 600;
  }

  .curve-about {
    object-fit: cover;
    object-position: center;
  }

  .numbers {
    padding-bottom: 210px;
  }
}

.hero h1 {
  font-weight: 800;
}

.number-value {
  font-family: "Barlow Semi Condensed","Helvetica Neue",Arial,sans-serif;
  font-style: italic;
  font-weight: 300;
}

.number-value span {
  font-family: "LINE Seed JP","Yu Gothic",sans-serif;
  font-style: normal;
  font-weight: 400;
}

.number-value.region {
  font-family: "LINE Seed JP","Yu Gothic",sans-serif;
  font-style: normal;
  font-weight: 400;
}

.timeline strong {
  font-family: "LINE Seed JP","Helvetica Neue",Arial,sans-serif;
  font-weight: 100;
}

.timeline strong span,
.large-tel,
.header-tel strong {
  font-family: "LINE Seed JP","Yu Gothic",sans-serif;
  font-weight: 400;
}

.photo-frame {
  position: relative;
  display: block;
  overflow: hidden;
  min-width: 0;
  aspect-ratio: var(--photo-ratio);
  border-radius: var(--photo-radius,0);
}

.photo-frame img {
  position: absolute;
  display: block;
  left: 0;
  top: 0;
  width: 100%;
  height: 100%;
  max-width: none;
  margin: 0;
  border-radius: 0;
  object-fit: cover;
}

.hero>.hero-frame {
  position: relative;
  inset: auto;
  width: 100%;
  height: auto;
  aspect-ratio: var(--photo-ratio);
}

.hero:after {
  background: #b6c8e2;
  mix-blend-mode: overlay;
  pointer-events: none;
}

.about-gallery {
  max-width: 1320.92px;
  width: 100%;
  padding-left: 2.93205%;
  padding-right: 5.13127%;
  margin-top: -90px;
}

.about-gallery>.photo-frame {
  width: 100%;
  height: auto;
  aspect-ratio: var(--photo-ratio);
  border-radius: var(--photo-radius);
}

.about-gallery>.photo-frame:nth-child(1) {
  margin-top: 110px;
}

.about-gallery>.photo-frame:nth-child(2) {
  margin-top: 21px;
}

.about-gallery>.photo-frame:nth-child(3) {
  margin-top: -55px;
}

.about-gallery>.photo-frame:nth-child(4) {
  margin-top: 46px;
}

.service-image {
  height: auto;
  aspect-ratio: var(--photo-ratio);
  align-self: center;
}

.service-image.portrait {
  height: auto;
  aspect-ratio: var(--photo-ratio);
}

.recruit-layout {
  width: 100vw;
  grid-template-columns: 47.28676vw 1fr;
  gap: 6.97771vw;
  padding-left: .23090vw;
  padding-right: 5.65364vw;
  margin-left: calc((100% - 100vw)/2);
  margin-right: 0;
  align-items: start;
}

.recruit-main {
  width: 100%;
  height: auto;
  aspect-ratio: var(--photo-ratio);
}

.recruit-photos {
  width: 51.62165vw;
  margin-left: -11.90458vw;
  gap: 1.65339vw;
}

.recruit-photos>.photo-frame {
  width: calc((100% - 1.65339vw)/2);
  height: auto;
  aspect-ratio: var(--photo-ratio);
}

.company:before {
  inset: 12.66693vw 0 auto;
  height: 94.78240vw;
  background: url('assets/images/backgrounds/bg-company.png?v=20261125-photos') 1.46867vw top / 145.50465vw auto no-repeat;
  mix-blend-mode: overlay;
  opacity: 1;
}

.recruit:before {
  top: 0;
  left: 23.87428vw;
  right: auto;
  width: 78.93690vw;
  height: 46.57512vw;
  background: url('assets/images/backgrounds/bg-recruit.png?v=20261125-photos') -1.23247vw -10.87122vw / 76.31045vw 50.87364vw no-repeat;
  mix-blend-mode: overlay;
  opacity: 1;
}

.recruit-contact,
.final-contact {
  position: relative;
  isolation: isolate;
  background: rgba(60,170,128,.8);
}

.recruit-contact:before,
.final-contact:before {
  content: "";
  position: absolute;
  inset: 0;
  pointer-events: none;
  mix-blend-mode: soft-light;
  z-index: -1;
  background-repeat: no-repeat;
}

.recruit-contact:before {
  background-image: url('assets/images/backgrounds/bg-recruit-contact.jpg');
  background-size: 105.57577% auto;
  background-position: 48.06040% 30.04396%;
  opacity: .2;
}

.final-contact:before {
  background-image: url('assets/images/backgrounds/bg-contact.jpg');
  background-size: 139.53820% auto;
  background-position: 53.37493% 56.03614%;
  opacity: .3;
}

@media (min-width:1500px) {
  .hero {
    height: auto;
  }
}

@media (max-width:1150px) {
  .recruit-main {
    height: auto;
  }
}

@media (max-width:850px) {
  .hero {
    height: auto;
  }

  .about-gallery {
    margin-top: -65px;
  }

  .about-gallery>.photo-frame:nth-child(1) {
    margin-top: 85px;
  }

  .about-gallery>.photo-frame:nth-child(2) {
    margin-top: 18px;
  }

  .about-gallery>.photo-frame:nth-child(3) {
    margin-top: -35px;
  }

  .about-gallery>.photo-frame:nth-child(4) {
    margin-top: 40px;
  }

  .service-image,
  .service-image.portrait {
    height: auto;
  }

  .recruit-layout {
    margin-top: 80px;
  }

  .recruit-main {
    height: auto;
  }

  .recruit-photos>.photo-frame {
    height: auto;
  }
}

@media (max-width:580px) {
  .hero {
    height: 460px;
    aspect-ratio: auto;
  }

  .hero:after {
    background: linear-gradient(0deg,#072b4d70,transparent 90%);
    mix-blend-mode: normal;
  }

  .about-gallery {
    width: 140%;
    max-width: none;
    margin: 30px 0 0 -20%;
    padding: 0;
    height: 290px;
  }

  .about-gallery>.photo-frame:nth-child(1) {
    margin-top: 45px;
  }

  .about-gallery>.photo-frame:nth-child(2) {
    margin-top: 15px;
  }

  .about-gallery>.photo-frame:nth-child(3) {
    margin-top: 0;
  }

  .about-gallery>.photo-frame:nth-child(4) {
    margin-top: 55px;
  }

  .service-image,
  .service-image.portrait {
    width: 100%;
    height: auto;
  }

  .recruit-layout {
    width: auto;
    padding: 0;
    margin: 45px 0 0;
    gap: 35px;
  }

  .recruit-main {
    width: calc(100% + 16%);
    max-width: none;
    height: auto;
  }

  .recruit-photos {
    width: 100%;
    gap: 12px;
    margin: -70px -4% 0 9%;
  }

  .recruit-photos>.photo-frame {
    width: calc(50% - 6px);
    height: auto;
  }

  .company:before {
    height: 180vw;
    top: 160px;
    background-size: 240vw auto;
    background-position: 25% top;
    opacity: .8;
  }

  .recruit:before {
    width: 100%;
    height: 400px;
    left: 0;
    top: 0;
    background-size: cover;
    background-position: center;
  }
}

.hero-frame:after {
  content: "";
  position: absolute;
  inset: 0;
  background: #231815;
  opacity: .38;
  mix-blend-mode: multiply;
  pointer-events: none;
}

.about-gallery {
  gap: min(1.75332vw,23.16px);
}

.service-image {
  width: 105%;
  max-width: none;
  justify-self: end;
}

.service-image.portrait {
  width: 79.74225%;
}

@media (max-width:850px) {
  .service-image,
  .service-image.portrait {
    width: 100%;
  }
}

@media (max-width:580px) {
  .about-gallery {
    gap: 10px;
  }

  .service-image.portrait {
    width: 78%;
    justify-self: center;
  }

  .hero-frame:after {
    content: none;
  }
}

@media (max-width:580px) {
  .recruit-layout {
    align-items: center;
  }
}

html {
  scroll-behavior: auto;
  scroll-padding-top: calc(var(--header-height,160px) + 20px);
}

body {
  background: linear-gradient(112deg,#dff1fa 0%,#eaf7fc 50%,#f8fcfe 100%) 0 0/100% 2300px no-repeat,#f8fcfe;
}

.header {
  background: transparent;
  border-bottom: 0;
  backdrop-filter: none;
  transition: background-color .35s ease,box-shadow .35s ease,backdrop-filter .35s ease;
}

.header.scrolled {
  background: rgba(232,246,251,.96);
  backdrop-filter: blur(14px);
  box-shadow: 0 2px 14px #315e6c0c;
}

.intro-about {
  background: transparent;
}

a,
button {
  transition: color .25s ease,background-color .25s ease,opacity .25s ease,transform .3s ease,box-shadow .3s ease;
}

.header nav a,
.footer nav a {
  background-image: linear-gradient(currentColor,currentColor);
  background-repeat: no-repeat;
  background-size: 0 1px;
  background-position: center bottom;
  transition: color .25s ease,background-size .3s ease;
}

.header nav a:hover,
.footer nav a:hover {
  color: var(--teal);
  text-decoration: none;
  background-size: calc(100% - 30px) 1px;
}

.brand img {
  transition: opacity .3s ease;
}

.brand:hover img {
  opacity: .78;
}

.header-tel:hover,
.large-tel:hover {
  opacity: .78;
}

.serif,
.hero h1 {
  letter-spacing: -.06em;
  font-kerning: normal;
  font-feature-settings: normal;
  text-wrap: pretty;
}

.serif {
  font-size: clamp(26px,2.76625vw,36.54px);
  line-height: 1.862;
}

.hero h1 {
  font-size: clamp(27px,2.49675vw,32.98px);
  line-height: 1.756;
}

.service-copy h4 {
  font-size: clamp(25px,2.76625vw,36.54px);
  line-height: 1.533;
  letter-spacing: -.06em;
}

.recruit-copy h3 {
  line-height: 1.587;
}

.recruit-copy h4 {
  letter-spacing: -.06em;
}

.about-description {
  width: min(624px,47.240vw);
  margin: -60px 0 0 33.9551vw;
  line-height: 1.875;
  letter-spacing: .1em;
}

.business-links {
  grid-template-columns: repeat(3,minmax(0,1fr));
  gap: 30px;
}

.business-links .button {
  display: grid;
  grid-template-columns: minmax(0,1fr) 48px;
  padding: 0;
  gap: 0;
  min-height: 62px;
  border: 0;
  border-radius: 7px;
  overflow: hidden;
  background: #4c93d6;
  line-height: 1.5;
  letter-spacing: .1em;
}

.business-links .button-label {
  padding: 12px 8px;
  font-size: 15px;
}

.business-links .button-arrow {
  display: flex;
  align-items: center;
  justify-content: center;
  align-self: stretch;
  border-left: 1px solid #ffffffaa;
}

.button-arrow img {
  width: 14px;
  height: 12px;
  object-fit: contain;
  transition: transform .3s ease;
}

.business-links .button:hover {
  background: #357fbd;
  transform: translateY(-2px);
}

.business-links .button:hover .button-arrow img {
  transform: translateX(3px);
}

.service {
  background: none;
  border-radius: 0;
  box-shadow: none;
  filter: drop-shadow(2px 5px 5px #3457681c);
  isolation: isolate;
  padding-top: 90px;
}

.service:before {
  content: "";
  position: absolute;
  inset: 0;
  width: auto;
  height: auto;
  border-radius: 0;
  clip-path: none;
  background: rgba(255,255,255,.84);
  -webkit-mask: url('assets/images/decorations/service-panel.svg') 0 0/100% 100% no-repeat;
  mask: url('assets/images/decorations/service-panel.svg') 0 0/100% 100% no-repeat;
  z-index: -1;
  pointer-events: none;
}

.service-number {
  margin: 0 0 43px -2vw;
  font-size: 28.41px;
  line-height: 1.3;
  font-weight: 400;
  color: #00807c;
  letter-spacing: .05em;
  transform: scaleX(.92);
  transform-origin: left center;
}

.service-number span {
  letter-spacing: -.45em;
}

.strength h2 {
  font-family: "LINE Seed JP","Yu Gothic",sans-serif;
  font-size: clamp(27px,3.072vw,40.58px);
  line-height: 1.7;
  letter-spacing: 0;
  font-weight: 400;
  margin: 10px 0 20px;
}

.numbers-track {
  display: block;
  position: relative;
  width: 100%;
  height: 525px;
  min-height: 0;
  margin: 45px 0 0;
  padding: 20px 0 35px;
  overflow-x: auto;
  overflow-y: hidden;
  overscroll-behavior-x: contain;
  scroll-behavior: auto;
  scroll-snap-type: none;
  touch-action: auto;
  cursor: grab;
  user-select: none;
  outline-offset: -5px;
}

.numbers-track.dragging {
  cursor: grabbing;
}

.numbers-belt {
  display: flex;
  width: max-content;
  height: 490px;
  will-change: auto;
}

.numbers-set {
  --stat-gap: clamp(18px,1.94vw,25.6px);
  display: flex;
  align-items: flex-start;
  gap: var(--stat-gap);
  padding-right: var(--stat-gap);
  height: 490px;
  flex-shrink: 0;
}

.number-card {
  flex: none;
  width: clamp(265px,23.222vw,306.74px);
  height: 355px;
  min-height: 355px;
  padding: 40px 40px 24px;
  border-radius: 0;
  background: none;
  box-shadow: none;
  filter: drop-shadow(2px 4px 3px #2f4f601c);
  isolation: isolate;
  transform: translateY(var(--card-offset,0));
  scroll-snap-align: none;
}

.number-card:nth-child(even) {
  transform: translateY(var(--card-offset,0));
}

.number-card:before {
  content: "";
  position: absolute;
  inset: 0;
  background: rgba(255,255,255,.87);
  -webkit-mask: url('assets/images/decorations/stat-card.svg') 0 0/100% 100% no-repeat;
  mask: url('assets/images/decorations/stat-card.svg') 0 0/100% 100% no-repeat;
  z-index: -1;
}

.stat-card-history {
  --card-offset: 58px;
}

.stat-card-people {
  --card-offset: 0px;
}

.stat-card-area {
  --card-offset: 80px;
}

.stat-card-tenure {
  --card-offset: 137px;
}

.stat-card-bases {
  --card-offset: 39px;
}

.number-icon,
.number-icon:not(.pin) {
  display: block;
  width: 70px;
  height: 72px;
  object-fit: contain;
  object-position: left center;
  margin: 0 0 26px;
  pointer-events: none;
}

.number-icon.stat-area {
  width: 90px;
  height: 82px;
  margin-top: -10px;
}

.number-icon.stat-tenure {
  width: 78px;
}

.number-icon.stat-bases {
  width: 72px;
}

.number-card h4 {
  font-size: 19px;
  line-height: 1.65;
  letter-spacing: .12em;
}

.number-card p {
  font-size: 14px;
  line-height: 1.8;
  letter-spacing: .04em;
  white-space: nowrap;
}

.number-value {
  font-size: 84px;
  line-height: 1.05;
  margin-top: 35px;
}

.number-card small {
  bottom: 53px;
  left: 28px;
  font-size: 12px;
}

.number-value.region {
  font-size: 42px;
  margin-top: 49px;
  letter-spacing: .03em;
}

.number-value.region span {
  font-size: 16px;
}

.carousel-controls {
  margin-top: 15px;
  gap: 0;
}

.access-map {
  align-self: center;
  overflow: hidden;
}

.footer .brand {
  width: 302px;
  max-width: 85%;
}

.footer .brand img {
  mix-blend-mode: normal;
}

@media (max-width:1150px) {
  .number-card {
    padding-inline: 28px;
  }

  .number-card h4 {
    font-size: 17px;
  }

  .business-links {
    gap: 16px;
  }

  .business-links .button-label {
    font-size: 14px;
  }
}

@media (max-width:850px) {
  body.menu-open {
    overflow: hidden;
  }

  .header-right {
    display: flex;
    max-height: 0;
    overflow: hidden;
    padding: 0 7%;
    opacity: 0;
    visibility: hidden;
    pointer-events: none;
    transform: translateY(-9px);
    transition: max-height .42s cubic-bezier(.2,.7,.2,1),padding .35s ease,opacity .25s ease,transform .35s ease,visibility 0s .35s;
  }

  .header-right.open {
    display: flex;
    max-height: calc(100dvh - var(--header-height,90px));
    overflow-y: auto;
    padding: 20px 7% 30px;
    opacity: 1;
    visibility: visible;
    pointer-events: auto;
    transform: none;
    transition-delay: 0s;
  }

  .menu-toggle span {
    transition: transform .32s cubic-bezier(.2,.7,.2,1);
  }

  .about-description {
    width: 80%;
    margin: 0 auto;
    line-height: 1.9;
  }

  .business-links {
    grid-template-columns: 1fr;
    gap: 12px;
  }

  .business-links .button {
    grid-template-columns: 1fr 52px;
    min-height: 54px;
  }

  .service {
    padding-top: 70px;
  }

  .service-number {
    font-size: 26px;
    margin-left: 0;
    margin-bottom: 30px;
  }

  .service-copy h4 {
    font-size: clamp(24px,3.4vw,29px);
  }

  .numbers-track {
    height: 465px;
  }

  .numbers-belt,
  .numbers-set {
    height: 430px;
  }

  .number-card {
    width: 270px;
    height: 340px;
    min-height: 340px;
    padding: 32px 30px 22px;
  }

  .stat-card-tenure {
    --card-offset: 85px;
  }

  .stat-card-area {
    --card-offset: 55px;
  }

  .stat-card-history {
    --card-offset: 35px;
  }

  .number-icon,
  .number-icon:not(.pin) {
    margin-bottom: 22px;
  }

  .number-card h4 {
    font-size: 17px;
  }
}

@media (max-width:580px) {
  .serif {
    font-size: 26px;
    line-height: 1.85;
    letter-spacing: -.06em;
  }

  .about-title {
    font-size: 25px;
  }

  .company-title {
    font-size: 23px;
  }

  .hero h1 {
    font-size: 27px;
    line-height: 1.85;
  }

  .recruit-copy h3 {
    line-height: 1.65;
  }

  .recruit-copy h4 {
    line-height: 1.75;
  }

  .service-copy h4 {
    font-size: 26px;
    line-height: 1.7;
  }

  .about-description {
    width: 86%;
    margin: 20px auto 0;
    letter-spacing: .07em;
  }

  .business-links .button-label {
    font-size: 14px;
  }

  .service {
    padding-top: 55px;
  }

  .service-number {
    margin-bottom: 26px;
    font-size: 25px;
  }

  .strength h2 {
    font-size: 25px;
    line-height: 1.8;
  }

  .numbers-track {
    height: 455px;
    margin-top: 30px;
  }

  .numbers-belt,
  .numbers-set {
    height: 420px;
  }

  .number-card {
    width: 270px;
  }

  .stat-card-tenure {
    --card-offset: 75px;
  }

  .stat-card-area {
    --card-offset: 50px;
  }

  .stat-card-bases {
    --card-offset: 25px;
  }

  .stat-card-history {
    --card-offset: 32px;
  }

  .carousel-controls {
    margin-top: 0;
  }

  .number-value {
    font-size: 80px;
  }

  .access-map iframe {
    height: 290px;
  }
}

@media (prefers-reduced-motion:reduce) {
  a,
  button,
  .header,
  .header-right,
  .menu-toggle span,
  .brand img,
  .button-arrow img {
    transition: none!important;
  }
}

.business-links .button-label {
  text-align: center;
}

@media (min-width:851px) {
  .about-description {
    width: min(624px,50vw);
    letter-spacing: .07em;
  }
}

@media (prefers-reduced-motion:reduce) {
  a,
  button,
  .header,
  .header-right,
  .menu-toggle span,
  .brand img,
  .button-arrow img {
    transition-property: color,background-color,opacity,transform,box-shadow,max-height,padding,background-size,visibility!important;
    transition-duration: .16s!important;
    transition-delay: 0s!important;
  }
}

@media (max-width:580px) {
  .serif {
    text-wrap: balance;
  }
}

.title-baseline {
  display: inline-block;
  vertical-align: baseline;
  width: 0;
  height: 0;
  padding: 0;
  border: 0;
}

@media (min-width:851px) {
  .about-title {
    padding-left: 0;
    margin-left: calc(18.93907vw - (100vw - min(1080px,84vw))/2);
    transform: translateY(-.2453vw);
  }
}

.number-icon.stat-history {
  width: 70px;
  height: 72px;
}

.number-icon.stat-holidays {
  width: 72px;
  height: 72px;
}

.number-icon.stat-newcomers {
  width: 78px;
  height: 82px;
  margin-top: -10px;
}

.number-icon.stat-qualifications {
  width: 78px;
  height: 82px;
  margin-top: -10px;
}

.stat-card-holidays {
  --card-offset: 100px;
}

.stat-card-newcomers {
  --card-offset: 20px;
}

.stat-card-qualifications {
  --card-offset: 45px;
}

.number-card .number-note {
  position: absolute;
  top: calc(100% + 12px);
  margin: 0;
  padding: 0;
  font-size: 12px;
  font-weight: 400;
  line-height: 1.55;
  letter-spacing: 0;
  white-space: normal;
  text-align: left;
  color: var(--ink);
}

.access-map {
  border: 0;
  border-radius: 0;
  background: transparent;
  box-shadow: none;
}

.access-map iframe {
  display: block;
  width: 100%;
  height: auto;
  aspect-ratio: 2390 / 1041;
  border: 0;
  border-radius: 0;
}

@media (max-width:850px) {
  .stat-card-holidays {
    --card-offset: 55px;
  }

  .stat-card-newcomers {
    --card-offset: 0px;
  }

  .stat-card-qualifications {
    --card-offset: 25px;
  }
}

.number-card .number-note {
  left: 14%;
  right: auto;
  width: 72%;
}

.stat-card-qualifications .number-note {
  left: 12%;
  width: 68%;
}

.drag-hint {
  pointer-events: none;
  color: var(--teal);
  margin-top: 15px;
}

.drag-hint svg {
  display: block;
  width: 160px;
  height: 40px;
  fill: none;
  stroke: currentColor;
  stroke-width: 1.5;
  stroke-linecap: round;
  stroke-linejoin: round;
}

.offices .data-table dt {
  padding-left: 12px;
}

.hero {
  height: auto;
  aspect-ratio: auto;
}

.hero-frame picture {
  display: block;
}

@media (max-width:580px) {
  .hero>.hero-frame {
    aspect-ratio: 781 / 1001;
  }
}

/* Smartphone layout: compact spacing, undistorted artwork, and readable tables. */
@media (max-width: 580px) {
  .intro h2 {
    font-size: clamp(18px, 5.866667vw, 24px);
    letter-spacing: .04em;
    white-space: nowrap;
    text-wrap: nowrap;
  }

  .about-gallery {
    height: auto;
  }

  .service {
    padding-top: 32px;
  }

  .about-description {
    margin-top: 12px;
  }

  .service:before {
    background: none;
    -webkit-mask: none;
    mask: none;
    border: 1px solid transparent;
    border-image-source: url('assets/images/decorations/service-panel-mobile.svg');
    border-image-slice: 150 260 50 50 fill;
    border-image-width: 45px 78px 15px 15px;
    border-image-repeat: stretch;
    opacity: .84;
  }

  #parking .service-copy h4 br {
    display: none;
  }

  .numbers {
    padding-bottom: 56px;
  }

  .curve-business,
  .curve-numbers,
  .curve-recruit,
  .curve-history {
    inset: auto;
    top: 0;
    left: -40%;
    width: 180%;
    height: auto;
    object-fit: contain;
  }

  .curve-business {
    top: 20px;
  }

  .curve-numbers {
    top: 130px;
    left: -55%;
  }

  .curve-recruit {
    left: -25%;
    width: 160%;
  }

  .recruit-main {
    width: 100%;
    aspect-ratio: 4 / 3;
  }

  .recruit-main img {
    object-position: center 55%;
  }

  .recruit-photos {
    margin-top: -72px;
  }

  .recruit-copy h4 {
    font-size: clamp(18px, 5.6vw, 23px);
    line-height: 1.5;
    letter-spacing: -.04em;
    white-space: nowrap;
    text-wrap: nowrap;
  }

  .recruit-requirements {
    padding-top: 32px;
    padding-bottom: 32px;
    border-radius: 20px;
  }

  .recruit-requirements h3 {
    margin-bottom: 22px;
  }

  .recruit-requirements .data-table>div,
  .company>.container>.data-table>div {
    padding-top: 12px;
    padding-bottom: 12px;
  }

  .recruit-requirements .data-table dt,
  .company .data-table dt {
    font-size: 14px;
    margin-bottom: 4px;
    line-height: 1.6;
  }

  .recruit-requirements .data-table dd,
  .company .data-table dd {
    font-size: 15px;
    line-height: 1.65;
  }

  .offices .data-table dt {
    padding-left: 0;
  }
}
