/* Accessibility and conversion improvements */
.ref-message,
.ref-message * {
  font-family: "Yuji Syuku", "Klee One", "Hannotate SC", cursive;
}

/* Unique Japanese construction photography set */
.ref-hero {
  background-image: linear-gradient(90deg, rgba(5, 12, 17, .93) 0%, rgba(5, 12, 17, .55) 38%, rgba(5, 12, 17, .05) 75%), url('../images/keiyo-home-hero-v3.webp');
}

.ref-strength {
  background-image: linear-gradient(90deg, rgba(10, 10, 10, .98), rgba(10, 10, 10, .85)), url('../images/keiyo-home-strength-v3.webp');
}

.ref-about-photo {
  background-image: url('../images/keiyo-home-about-v3.webp');
}

.ref-contact-phone {
  background-image: linear-gradient(rgba(0, 0, 0, .78), rgba(0, 0, 0, .78)), url('../images/keiyo-home-contact-v3.webp');
}

.ref-promise-photo {
  background-image: linear-gradient(0deg, rgba(0, 0, 0, .3), transparent), url('../images/keiyo-home-detail-v3.webp');
}

.ref-recruit-photo {
  background-image: url('../images/keiyo-home-recruit-v3.webp');
}

.about-mission-photo {
  background-image: linear-gradient(0deg, rgba(0, 0, 0, .38), transparent 60%), url('../images/keiyo-home-detail-v3.webp');
}

.business-overview-photo {
  background-image: linear-gradient(0deg, rgba(0, 0, 0, .38), transparent), url('../images/keiyo-project-inspection-v3.webp');
}

.company-message-photo {
  background-image: linear-gradient(0deg, rgba(0, 0, 0, .42), transparent 58%), url('../images/keiyo-company-message-v3.webp');
}

.recruit-lead-photo {
  background-image: linear-gradient(0deg, rgba(0, 0, 0, .32), transparent), url('../images/keiyo-recruit-training-v3.webp');
}

/* Motion system */
:root {
  --scroll-progress: 0;
}

body::before {
  content: "";
  position: fixed;
  z-index: 99999;
  top: 0;
  right: 0;
  left: 0;
  height: 3px;
  background: var(--orange);
  transform: scaleX(var(--scroll-progress));
  transform-origin: left center;
  pointer-events: none;
}

.motion-ready .header {
  opacity: 0;
  transform: translateY(-18px);
}

.motion-ready.is-loaded .header {
  animation: keiyoHeaderIn .75s cubic-bezier(.22, 1, .36, 1) .08s forwards;
}

.motion-ready .ref-hero-copy > span,
.motion-ready .ref-hero-copy > h1,
.motion-ready .ref-hero-copy > p,
.motion-ready .page-hero > div > span,
.motion-ready .page-hero > div > h1 {
  opacity: 0;
  transform: translateY(34px);
}

.motion-ready.is-loaded .ref-hero-copy > span,
.motion-ready.is-loaded .page-hero > div > span {
  animation: keiyoHeroText .8s cubic-bezier(.22, 1, .36, 1) .3s forwards;
}

.motion-ready.is-loaded .ref-hero-copy > h1,
.motion-ready.is-loaded .page-hero > div > h1 {
  animation: keiyoHeroText 1s cubic-bezier(.22, 1, .36, 1) .46s forwards;
}

.motion-ready.is-loaded .ref-hero-copy > p {
  animation: keiyoHeroText .9s cubic-bezier(.22, 1, .36, 1) .68s forwards;
}

.motion-ready.motion-complete .header,
.motion-ready.motion-complete .ref-hero-copy > span,
.motion-ready.motion-complete .ref-hero-copy > h1,
.motion-ready.motion-complete .ref-hero-copy > p,
.motion-ready.motion-complete .page-hero > div > span,
.motion-ready.motion-complete .page-hero > div > h1 {
  opacity: 1 !important;
  transform: translateY(0) !important;
}

.motion-ready.is-loaded .ref-hero {
  animation: keiyoHeroDrift 14s ease-out both;
}

.ref-scroll i {
  animation: keiyoScrollLine 1.8s ease-in-out infinite;
  transform-origin: top;
}

.orange-line {
  animation: keiyoLineDraw 1s cubic-bezier(.22, 1, .36, 1) .5s both;
  transform-origin: left;
}

.reveal {
  filter: blur(5px);
  transform: translateY(54px) scale(.985);
  transition: opacity .85s ease, transform .95s cubic-bezier(.22, 1, .36, 1), filter .85s ease;
  transition-delay: var(--reveal-delay, 0ms);
  will-change: opacity, transform;
}

.reveal.is-visible {
  filter: blur(0);
  transform: translateY(0) scale(1);
}

.reveal .service-photo,
.reveal .ref-project > div,
.ref-blog-grid .reveal a > div,
.reveal .blog-card > div,
.reveal .recruit-lead-photo {
  transform: scale(1.055);
  transition: transform 1.25s cubic-bezier(.22, 1, .36, 1);
}

.reveal.is-visible .service-photo,
.reveal.is-visible .ref-project > div,
.ref-blog-grid .reveal.is-visible a > div,
.reveal.is-visible .blog-card > div,
.reveal.is-visible .recruit-lead-photo {
  transform: scale(1);
}

a b,
button b {
  display: inline-block;
  transition: transform .25s ease;
}

a:hover > b,
button:hover > b {
  transform: translateX(5px);
}

.menu-button i {
  transition: transform .3s ease, opacity .3s ease;
}

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

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

@keyframes keiyoHeaderIn {
  to { opacity: 1; transform: translateY(0); }
}

@keyframes keiyoHeroText {
  to { opacity: 1; transform: translateY(0); }
}

@keyframes keiyoHeroDrift {
  from { background-position: 62% center; }
  to { background-position: 58% center; }
}

@keyframes keiyoScrollLine {
  0%, 100% { opacity: .45; transform: scaleY(.35); }
  50% { opacity: 1; transform: scaleY(1); }
}

@keyframes keiyoLineDraw {
  from { opacity: 0; transform: scaleX(0); }
  to { opacity: 1; transform: scaleX(1); }
}

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

  .reveal {
    filter: blur(3px);
    transform: translateY(28px) scale(.99);
  }

  .motion-ready.is-loaded .ref-hero {
    animation-duration: 11s;
  }
}

@media (prefers-reduced-motion: reduce) {
  body::before {
    display: none;
  }

  *,
  *::before,
  *::after {
    scroll-behavior: auto !important;
    animation-duration: .01ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: .01ms !important;
    transition-delay: 0ms !important;
  }

  .motion-ready .header,
  .motion-ready .ref-hero-copy > span,
  .motion-ready .ref-hero-copy > h1,
  .motion-ready .ref-hero-copy > p,
  .motion-ready .page-hero > div > span,
  .motion-ready .page-hero > div > h1,
  .reveal {
    opacity: 1;
    filter: none;
    transform: none;
  }
}

.ref-message-title > span {
  font-family: "Yuji Syuku", "Klee One", "Hannotate SC", cursive;
  font-size: 14px;
  font-weight: 400;
  letter-spacing: .16em;
}

.ref-message-title h2 {
  font-size: 25px;
  font-weight: 400;
  letter-spacing: .08em;
}

.ref-message-body h3 {
  font-family: "Yuji Syuku", "Klee One", "Hannotate SC", cursive;
  font-size: clamp(36px, 3.3vw, 52px);
  font-weight: 400;
  letter-spacing: .025em;
  line-height: 1.65;
}

.ref-message-columns p {
  color: #3f4144;
  font-size: 15px;
  line-height: 2.35;
  letter-spacing: .035em;
}

.ref-signature > span {
  font-size: 13px;
  letter-spacing: .06em;
}

.ref-signature b {
  display: flex;
  align-items: baseline;
  justify-content: flex-end;
  gap: 16px;
}

.ref-signature b small {
  font-family: "Yuji Syuku", "Klee One", "Hannotate SC", cursive;
  font-size: 17px;
  font-weight: 400;
  letter-spacing: .08em;
}

.ref-signature b strong {
  position: relative;
  display: inline-block;
  padding: 1px 8px 7px;
  font-family: "Yuji Syuku", "Klee One", "Hannotate SC", cursive;
  font-size: 34px;
  font-weight: 400;
  letter-spacing: .06em;
  line-height: 1.25;
  transform: rotate(-2deg);
}

.ref-signature b strong::after {
  content: "";
  position: absolute;
  right: 0;
  bottom: 1px;
  left: 0;
  height: 2px;
  background: var(--orange);
  opacity: .72;
  transform: rotate(-1deg) scaleX(.94);
  transform-origin: left;
}

html,
body {
  max-width: 100%;
  overflow-x: hidden;
}

a:focus-visible,
button:focus-visible,
input:focus-visible,
select:focus-visible,
textarea:focus-visible,
summary:focus-visible {
  outline: 3px solid #f15a24;
  outline-offset: 3px;
}

.ref-contact-phone .phone-link {
  display: block;
  color: #fff;
  font: 700 34px var(--font-en);
  letter-spacing: .05em;
}

.contact-phone-link {
  display: block;
  color: var(--orange);
  font: 600 28px var(--font-en);
  margin-top: 40px;
}

.footer-top > div,
.footer-links {
  min-width: 0;
}

.footer-top p a:hover,
.footer-top p a:focus-visible {
  color: var(--orange);
}

/* Company page */
.company-message {
  display: grid;
  grid-template-columns: 46% 54%;
  min-height: 650px;
  background: #111214;
  color: #fff;
}

.company-message-photo {
  background: linear-gradient(0deg, rgba(0, 0, 0, .42), transparent 58%), url('../images/keiyo-company-message-v3.webp') center/cover;
}

.company-message > div:last-child {
  padding: 105px 9vw 90px 7vw;
}

.company-message > div:last-child > span,
.company-services > div:first-child > span,
.company-access span,
.safety-points > div:first-child > span {
  color: var(--orange);
  font: 600 12px var(--font-en);
  letter-spacing: .2em;
}

.company-message h2 {
  margin: 22px 0 35px;
  font-size: clamp(34px, 4vw, 56px);
  line-height: 1.5;
}

.company-message p {
  color: #aaa;
  font-size: 13px;
  line-height: 2.2;
}

.company-sign {
  margin-top: 45px;
  padding-top: 25px;
  border-top: 1px solid #333;
  text-align: right;
}

.company-sign span {
  display: block;
  color: #888;
  font-size: 11px;
}

.company-sign b {
  display: block;
  margin-top: 8px;
  font-size: 18px;
}

.company-services {
  padding: 110px 7vw 125px;
  background: #f2f2ef;
}

.company-services > div:first-child h2,
.company-access h2,
.safety-points h2 {
  margin: 12px 0 18px;
  font-size: 38px;
}

.company-services > div:first-child p {
  color: #666;
  font-size: 12px;
}

.company-services > div:last-child {
  display: grid;
  grid-template-columns: repeat(5, minmax(0, 1fr));
  margin-top: 55px;
  border-top: 1px solid #bbb;
}

.company-services a {
  display: flex;
  min-height: 260px;
  padding: 32px 24px;
  border-right: 1px solid #ccc;
  flex-direction: column;
  transition: background .25s, color .25s;
}

.company-services a:hover {
  background: var(--orange);
  color: #fff;
}

.company-services a > b {
  color: var(--orange);
  font: 700 13px var(--font-en);
}

.company-services a:hover > b {
  color: #fff;
}

.company-services h3 {
  margin: auto 0 18px;
  font-size: 20px;
}

.company-services a > span {
  color: #777;
  font: 600 9px var(--font-en);
  letter-spacing: .12em;
}

.company-services a:hover > span {
  color: #fff;
}

.company-access {
  padding: 100px 12vw;
  background: #111214;
  color: #fff;
}

.company-access p {
  margin: 30px 0 40px;
  color: #aaa;
  font-size: 13px;
  line-height: 2;
}

.company-access > div > div {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 12px;
}

.company-access a {
  display: flex;
  justify-content: space-between;
  padding: 20px;
  border: 1px solid #444;
  font-size: 12px;
  font-weight: 700;
}

.company-access a:last-child {
  border-color: var(--orange);
  background: var(--orange);
}

/* Safety page */
.safety-points {
  padding: 110px 7vw 130px;
}

.safety-points > div:last-child {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  margin-top: 55px;
  border-top: 1px solid #bbb;
}

.safety-points article {
  min-height: 300px;
  padding: 35px 28px;
  border-right: 1px solid #ccc;
}

.safety-points article > b {
  color: var(--orange);
  font: 700 13px var(--font-en);
}

.safety-points h3 {
  margin: 85px 0 18px;
  font-size: 20px;
}

.safety-points p {
  color: #666;
  font-size: 12px;
  line-height: 2;
}

/* Business page */
.business-overview {
  display: grid;
  grid-template-columns: 48% 52%;
  min-height: 590px;
  background: #111214;
  color: #fff;
}

.business-overview > div:first-child {
  padding: 100px 8vw;
}

.business-overview > div:first-child > span,
.business-standard > div:first-child > span,
.business-consult > div > span {
  color: var(--orange);
  font: 600 12px var(--font-en);
  letter-spacing: .2em;
}

.business-overview h2 {
  margin: 22px 0 35px;
  font-size: clamp(34px, 4vw, 56px);
  line-height: 1.5;
}

.business-overview p {
  color: #aaa;
  font-size: 13px;
  line-height: 2.2;
}

.business-overview-photo {
  background: linear-gradient(0deg, rgba(0, 0, 0, .38), transparent), url('../images/keiyo-project-inspection-v3.webp') center/cover;
}

.business-page .service-list {
  padding-top: 120px;
}

.service-details {
  display: grid;
  grid-template-columns: 1fr;
  gap: 0;
  margin: 30px 0 0;
  padding: 0;
  list-style: none;
  border-top: 1px solid #ccc;
}

.service-details li {
  padding: 12px 0;
  border-bottom: 1px solid #d5d5d2;
  color: #555;
  font-size: 12px;
}

.service-details li::before {
  content: "■";
  margin-right: 10px;
  color: var(--orange);
  font-size: 7px;
}

.business-page .service-list article > div:last-child > b {
  margin-top: 30px;
}

.business-standard {
  padding: 110px 7vw 125px;
  background: #f2f2ef;
}

.business-standard > div:first-child h2,
.business-consult h2 {
  margin: 12px 0 45px;
  font-size: 38px;
}

.business-standard > div:last-child {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  border-top: 1px solid #bbb;
}

.business-standard article {
  min-height: 300px;
  padding: 38px 32px;
  border-right: 1px solid #ccc;
}

.business-standard article > b,
.business-consult p > b {
  color: var(--orange);
  font: 700 13px var(--font-en);
}

.business-standard h3 {
  margin: 85px 0 18px;
  font-size: 21px;
}

.business-standard p {
  color: #666;
  font-size: 12px;
  line-height: 2;
}

.business-consult {
  padding: 110px 15vw 125px;
  background: #fff;
}

.business-consult > div > div {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  border-top: 1px solid #bbb;
}

.business-consult p {
  margin: 0;
  padding: 24px 15px;
  border-bottom: 1px solid #ccc;
  font-size: 14px;
  font-weight: 700;
}

.business-consult p:nth-child(odd) {
  border-right: 1px solid #ccc;
}

.business-consult p > b {
  display: inline-block;
  width: 50px;
}

.business-consult small {
  display: block;
  margin-top: 24px;
  color: #777;
  text-align: right;
}

/* About page */
.about-mission {
  display: grid;
  grid-template-columns: 50% 50%;
  min-height: 630px;
  background: #111214;
  color: #fff;
}

.about-mission-photo {
  background: linear-gradient(0deg, rgba(0, 0, 0, .38), transparent 60%), url('../images/keiyo-home-detail-v3.webp') center/cover;
}

.about-mission > div:last-child {
  padding: 105px 9vw 90px 7vw;
}

.about-mission > div:last-child > span,
.about-eyebrow,
.about-fields > div:first-child > span,
.about-future > div > span {
  color: var(--orange);
  font: 600 12px var(--font-en);
  letter-spacing: .2em;
}

.about-mission h2,
.about-fields h2,
.about-future h2 {
  margin: 22px 0 35px;
  font-size: clamp(34px, 4vw, 56px);
  line-height: 1.5;
}

.about-mission p {
  color: #aaa;
  font-size: 13px;
  line-height: 2.2;
}

.about-page .values > div:first-child h2 {
  margin-top: 12px;
}

.about-page .values article p {
  font-size: 12px;
  line-height: 2;
}

.about-fields {
  display: grid;
  grid-template-columns: 38% 62%;
  gap: 7vw;
  padding: 115px 8vw 125px;
}

.about-fields > div:first-child p,
.about-future p {
  color: #666;
  font-size: 13px;
  line-height: 2.2;
}

.about-fields > div:first-child a {
  display: flex;
  justify-content: space-between;
  width: 230px;
  margin-top: 35px;
  padding: 15px 0;
  border-bottom: 1px solid;
  font-size: 11px;
  font-weight: 700;
}

.about-fields > div:last-child {
  border-top: 1px solid #bbb;
}

.about-fields article {
  display: grid;
  grid-template-columns: 70px 1fr;
  align-items: center;
  min-height: 110px;
  padding: 18px 10px;
  border-bottom: 1px solid #ccc;
}

.about-fields article > b {
  color: var(--orange);
  font: 700 13px var(--font-en);
}

.about-fields h3 {
  margin: 0 0 7px;
  font-size: 19px;
}

.about-fields article span {
  color: #888;
  font: 600 9px var(--font-en);
  letter-spacing: .14em;
}

.about-page .about-policy > div > div {
  grid-template-columns: repeat(4, minmax(0, 1fr));
}

.about-page .about-policy article {
  padding: 34px 28px;
}

.about-future {
  padding: 120px 15vw;
  background: #f2f2ef;
}

.about-future > div > p {
  width: 58%;
  margin-left: auto;
}

.about-future > div > div {
  display: flex;
  justify-content: flex-end;
  gap: 12px;
  margin-top: 45px;
}

.about-future a {
  display: flex;
  justify-content: space-between;
  width: 220px;
  padding: 18px;
  border: 1px solid #999;
  font-size: 11px;
  font-weight: 700;
}

.about-future a:first-child {
  border-color: var(--orange);
  background: var(--orange);
  color: #fff;
}

/* Business partners page */
.partner-info {
  display: grid;
  grid-template-columns: 36% 64%;
  gap: 7vw;
  padding: 115px 8vw 125px;
  background: #f2f2ef;
}

.partner-info-head > span {
  color: var(--orange);
  font: 600 12px var(--font-en);
  letter-spacing: .2em;
}

.partner-info-head h2 {
  margin: 18px 0 28px;
  font-size: clamp(34px, 4vw, 54px);
  line-height: 1.5;
}

.partner-info-head p {
  color: #666;
  font-size: 12px;
  line-height: 2;
}

.partner-info-grid {
  border-top: 1px solid #bbb;
}

.partner-info-grid article {
  display: grid;
  grid-template-columns: 64px 1fr;
  align-items: center;
  min-height: 90px;
  padding: 18px 10px;
  border-bottom: 1px solid #ccc;
}

.partner-info-grid article > b {
  color: var(--orange);
  font: 700 13px var(--font-en);
}

.partner-info-grid h3 {
  margin: 0;
  font-size: 17px;
}

.partner-faq {
  background: #f2f2ef;
}

.partner-faq .faq-page-list details p {
  background: #fff;
}

@media (max-width: 900px) {
  .nav {
    width: 100%;
    max-width: 100vw;
  }

  .footer-links {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 22px 16px;
    width: 100%;
  }

  .footer-links a,
  .footer-top p {
    overflow-wrap: anywhere;
  }

  .ref-contact-phone .phone-link {
    font-size: 28px;
  }

  .contact-phone-link {
    font-size: 24px;
  }

  .company-message {
    display: block;
  }

  .company-message-photo {
    height: 380px;
  }

  .company-message > div:last-child,
  .company-services,
  .company-access,
  .safety-points {
    padding: 80px 7vw;
  }

  .company-services > div:last-child,
  .safety-points > div:last-child {
    grid-template-columns: 1fr;
  }

  .company-services a,
  .safety-points article {
    min-height: 190px;
    border-right: 0;
    border-bottom: 1px solid #ccc;
  }

  .company-services h3,
  .safety-points h3 {
    margin-top: 48px;
  }

  .company-access > div > div {
    grid-template-columns: 1fr;
  }

  .business-overview {
    display: block;
  }

  .business-overview > div:first-child {
    padding: 80px 7vw;
  }

  .business-overview-photo {
    height: 360px;
  }

  .business-page .service-list {
    padding-top: 80px;
  }

  .business-standard,
  .business-consult {
    padding: 80px 7vw;
  }

  .business-standard > div:last-child,
  .business-consult > div > div {
    grid-template-columns: 1fr;
  }

  .business-standard article {
    min-height: 210px;
    border-right: 0;
    border-bottom: 1px solid #ccc;
  }

  .business-standard h3 {
    margin-top: 48px;
  }

  .business-consult p:nth-child(odd) {
    border-right: 0;
  }

  .business-consult small {
    text-align: left;
    line-height: 1.8;
  }

  .about-mission,
  .about-fields {
    display: block;
  }

  .about-mission-photo {
    height: 380px;
  }

  .about-mission > div:last-child,
  .about-fields,
  .about-future {
    padding: 80px 7vw;
  }

  .about-fields > div:last-child {
    margin-top: 55px;
  }

  .about-page .about-policy > div > div {
    grid-template-columns: 1fr;
  }

  .about-future > div > p {
    width: 100%;
    margin: 0;
  }

  .about-future > div > div {
    display: grid;
    grid-template-columns: 1fr;
  }

  .about-future a {
    width: 100%;
  }

  .partner-info {
    display: block;
    padding: 80px 7vw;
  }

  .partner-info-grid {
    margin-top: 45px;
  }
}

@media (max-width: 420px) {
  .footer-links {
    grid-template-columns: 1fr;
  }
}

/* Contact page */
.blog-topics {
  padding: 100px 8vw 115px;
  background: #111214;
  color: #fff;
}

.blog-topics > div:first-child > span,
.blog-list-head span {
  color: var(--orange);
  font: 600 12px var(--font-en);
  letter-spacing: .2em;
}

.blog-topics > div:first-child h2,
.blog-list-head h2 {
  margin: 12px 0 45px;
  font-size: 38px;
}

.blog-topics > div:last-child {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  border-top: 1px solid #333;
}

.blog-topics article {
  min-height: 280px;
  padding: 35px 30px;
  border-right: 1px solid #333;
}

.blog-topics article > b {
  color: var(--orange);
  font: 700 13px var(--font-en);
}

.blog-topics h3 {
  margin: 75px 0 18px;
  font-size: 20px;
}

.blog-topics p {
  color: #aaa;
  font-size: 12px;
  line-height: 2;
}

.blog-home .blog-list {
  padding-top: 100px;
}

.blog-list-head {
  display: flex;
  align-items: end;
  justify-content: space-between;
  margin-bottom: 55px;
}

.blog-list-head h2 {
  margin-bottom: 0;
}

.blog-list-head nav {
  display: flex;
  gap: 24px;
  padding-bottom: 10px;
  border-bottom: 1px solid #bbb;
  font-size: 11px;
}

.blog-list-head nav b {
  color: var(--orange);
}

.blog-card-featured {
  display: grid;
  grid-column: 1 / -1;
  grid-template-columns: 58% 42%;
  grid-template-rows: auto auto auto 1fr;
  min-height: 430px;
  background: #fff;
}

.blog-card-featured > div {
  grid-row: 1 / 6;
  height: 100%;
  min-height: 430px;
}

.blog-card-featured > time,
.blog-card-featured > h2,
.blog-card-featured > p,
.blog-card-featured > b {
  margin-right: 48px;
  margin-left: 48px;
}

.blog-card-featured > time {
  margin-top: 55px;
}

.blog-card-featured > h2 {
  margin-top: 12px;
  margin-bottom: 18px;
  font-size: 27px;
}

.blog-card-featured > p {
  font-size: 12px;
  line-height: 2;
}

.blog-card-featured > b {
  align-self: end;
  margin-bottom: 48px;
}

.blog-empty {
  grid-column: 1 / -1;
  padding: 80px;
  border: 1px solid #ddd;
  color: #777;
  text-align: center;
}

.faq-directory {
  padding: 120px 10vw 110px;
}

.faq-directory > div:first-child > span,
.faq-category-head > span {
  color: var(--orange);
  font: 600 12px var(--font-en);
  letter-spacing: .2em;
}

.faq-directory > div:first-child h2 {
  margin: 20px 0 28px;
  font-size: clamp(38px, 5vw, 68px);
  line-height: 1.45;
}

.faq-directory > div:first-child > p {
  width: 55%;
  margin-left: auto;
  color: #666;
  font-size: 13px;
  line-height: 2;
}

.faq-index-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  margin-top: 65px;
  border-top: 1px solid #bbb;
}

.faq-index-grid a {
  position: relative;
  display: flex;
  min-height: 210px;
  padding: 30px 26px;
  border-right: 1px solid #ccc;
  flex-direction: column;
  transition: background .25s, color .25s;
}

.faq-index-grid a:hover {
  background: var(--orange);
  color: #fff;
}

.faq-index-grid a > b {
  color: var(--orange);
  font: 700 13px var(--font-en);
}

.faq-index-grid a:hover > b {
  color: #fff;
}

.faq-index-grid a > span {
  margin-top: auto;
  font-size: 19px;
  font-weight: 700;
}

.faq-index-grid a > i {
  position: absolute;
  top: 28px;
  right: 25px;
  color: var(--orange);
  font-style: normal;
}

.faq-index-grid a:hover > i {
  color: #fff;
}

.faq-category {
  display: grid;
  grid-template-columns: 30% 70%;
  gap: 7vw;
  padding: 110px 10vw;
  scroll-margin-top: 20px;
}

.faq-category:nth-of-type(even) {
  background: #f2f2ef;
}

.faq-category-head {
  position: sticky;
  top: 35px;
}

.faq-category-head h2 {
  margin: 16px 0 24px;
  font-size: 32px;
  line-height: 1.55;
}

.faq-category-head > b {
  color: #999;
  font: 600 10px var(--font-en);
  letter-spacing: .18em;
}

.faq-category:nth-of-type(even) .faq-page-list details p {
  background: #fff;
}

.contact-guide {
  padding: 115px 8vw 125px;
  background: #f2f2ef;
}

.contact-guide-head > span,
.contact-flow > div:first-child > span {
  color: var(--orange);
  font: 600 12px var(--font-en);
  letter-spacing: .2em;
}

.contact-guide-head h2 {
  margin: 20px 0 25px;
  font-size: clamp(36px, 4.5vw, 62px);
  line-height: 1.5;
}

.contact-guide-head > p {
  width: 55%;
  margin-left: auto;
  color: #666;
  font-size: 13px;
  line-height: 2;
}

.contact-guide-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  margin-top: 60px;
  border-top: 1px solid #bbb;
}

.contact-guide-grid a {
  position: relative;
  display: flex;
  min-height: 300px;
  padding: 35px 30px;
  border-right: 1px solid #ccc;
  flex-direction: column;
  transition: background .25s, color .25s;
}

.contact-guide-grid a:hover {
  background: var(--orange);
  color: #fff;
}

.contact-guide-grid a > b {
  color: var(--orange);
  font: 700 13px var(--font-en);
}

.contact-guide-grid a:hover > b {
  color: #fff;
}

.contact-guide-grid a > span {
  margin: auto 0 18px;
  font-size: 20px;
  font-weight: 700;
}

.contact-guide-grid a > p {
  max-width: 320px;
  margin: 0;
  color: #666;
  font-size: 12px;
  line-height: 2;
}

.contact-guide-grid a:hover > p {
  color: #fff;
}

.contact-guide-grid a > i {
  position: absolute;
  top: 32px;
  right: 28px;
  color: var(--orange);
  font-style: normal;
}

.contact-guide-grid a:hover > i {
  color: #fff;
}

.contact-page .contact-wrap {
  scroll-margin-top: 20px;
}

.contact-prep {
  margin-top: 55px;
  padding: 28px;
  background: #f2f2ef;
}

.contact-prep > b {
  font-size: 13px;
}

.contact-prep ul {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 10px 20px;
  margin: 22px 0 0;
  padding: 20px 0 0;
  border-top: 1px solid #ccc;
  list-style: none;
}

.contact-prep li {
  color: #666;
  font-size: 11px;
}

.contact-prep li::before {
  content: "■";
  margin-right: 9px;
  color: var(--orange);
  font-size: 7px;
}

.contact-page .contact-wrap form {
  padding: 55px;
  background: #f7f7f5;
}

.contact-page .contact-wrap input:not([type=checkbox]),
.contact-page .contact-wrap select,
.contact-page .contact-wrap textarea {
  background: #fff;
}

.contact-page .contact-wrap button {
  min-height: 68px;
  align-items: center;
}

.contact-flow {
  padding: 110px 8vw 125px;
  background: #111214;
  color: #fff;
}

.contact-flow > div:first-child h2 {
  margin: 15px 0 50px;
  font-size: 38px;
}

.contact-flow > div:last-child {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  border-top: 1px solid #333;
}

.contact-flow article {
  position: relative;
  min-height: 280px;
  padding: 35px 30px;
  border-right: 1px solid #333;
}

.contact-flow article > b {
  color: var(--orange);
  font: 700 13px var(--font-en);
}

.contact-flow h3 {
  margin: 80px 0 18px;
  font-size: 20px;
}

.contact-flow p {
  color: #aaa;
  font-size: 12px;
  line-height: 2;
}

/* Refined smartphone layout */
@media (max-width: 600px) {
  body {
    -webkit-font-smoothing: antialiased;
  }

  h1,
  h2,
  h3 {
    text-wrap: balance;
  }

  .header {
    height: 68px;
    padding: 0 16px;
    border-bottom-color: rgba(255, 255, 255, .18);
  }

  .official-logo {
    height: 40px;
    padding: 3px 6px;
    background: rgba(255, 255, 255, .58);
  }

  .official-logo img {
    width: 145px;
  }

  .menu-button {
    width: 68px;
    height: 68px;
  }

  .menu-button i {
    width: 22px;
  }

  .nav {
    padding: 78px 24px 30px;
  }

  .nav > a {
    padding: 14px 8px;
    font-size: 15px;
  }

  .ref-hero {
    height: 650px;
    min-height: 650px;
    background-position: 64% center;
  }

  .ref-hero-copy {
    left: 24px;
    right: 22px;
    top: 47%;
  }

  .ref-hero-copy > span {
    font-size: 9px;
    line-height: 1.8;
  }

  .ref-hero-copy h1 {
    margin: 17px 0 22px;
    font-size: 39px;
    line-height: 1.34;
    letter-spacing: .025em;
  }

  .ref-hero-copy p {
    font-size: 11px;
    line-height: 2;
  }

  .ref-scroll {
    left: 24px;
  }

  .ref-news {
    gap: 20px;
    padding: 30px 24px 28px;
  }

  .ref-news:before {
    left: 8%;
    font-size: 74px;
  }

  .ref-news-list time {
    width: 92px;
  }

  .ref-news-list p {
    display: grid;
    grid-template-columns: 92px 1fr;
    padding: 12px 0;
    line-height: 1.7;
  }

  .ref-message,
  .ref-service,
  .ref-projects,
  .ref-blog {
    padding: 68px 24px 76px;
  }

  .ref-message-title {
    margin-bottom: 38px;
  }

  .ref-message-body h3 {
    margin-bottom: 35px;
    font-size: 30px;
    font-weight: 400;
    line-height: 1.7;
  }

  .ref-message-columns {
    gap: 22px;
  }

  .ref-message-columns p {
    font-size: 14px;
    line-height: 2.25;
  }

  .ref-signature {
    margin-top: 34px;
  }

  .ref-signature b {
    gap: 10px;
  }

  .ref-signature b small {
    font-size: 14px;
  }

  .ref-signature b strong {
    font-size: 29px;
  }

  .ref-service-intro {
    margin-bottom: 34px;
  }

  .ref-service-intro h2,
  .ref-about-copy h2 {
    font-size: 30px;
  }

  .ref-service-intro > a,
  .ref-strength-copy > a,
  .ref-about-copy > a {
    width: 100%;
  }

  .ref-service-cards {
    display: flex;
    gap: 12px;
    margin-right: -24px;
    padding: 0 24px 8px 0;
    overflow-x: auto;
    scroll-snap-type: x mandatory;
    scrollbar-width: none;
  }

  .ref-service-cards::-webkit-scrollbar {
    display: none;
  }

  .ref-service-cards > .reveal {
    flex: 0 0 76vw;
    scroll-snap-align: start;
  }

  .ref-service-card {
    height: 360px;
    padding: 26px 22px;
  }

  .ref-service-card p {
    max-width: 230px;
  }

  .ref-strength {
    min-height: 0;
    padding: 68px 24px 76px;
  }

  .ref-strength-bg {
    left: 12px;
    font-size: 60px;
  }

  .ref-strength-copy {
    margin-bottom: 34px;
  }

  .ref-strength-copy h2 {
    font-size: 30px;
  }

  .ref-strength-grid article {
    height: auto;
    min-height: 205px;
    padding: 30px 22px;
  }

  .ref-strength-grid article > span {
    height: 60px;
    font-size: 48px;
  }

  .ref-strength-grid h3 {
    margin: 14px 0;
  }

  .ref-promise > div:first-child,
  .ref-about-copy {
    padding: 68px 24px;
  }

  .ref-promise h2 {
    font-size: 30px;
    line-height: 1.55;
  }

  .ref-promise-photo {
    height: 280px;
  }

  .ref-section-head {
    margin-bottom: 38px;
  }

  .ref-section-head h2,
  .ref-numbers h2,
  .ref-faq h2,
  .about-policy h2,
  .recruit-benefits h2 {
    font-size: 30px;
    line-height: 1.5;
  }

  .ref-section-head > a {
    width: 100%;
  }

  .ref-project > div,
  .ref-project-large > div {
    height: 260px;
  }

  .ref-recruit-photo {
    height: 280px;
  }

  .ref-recruit-block > div:last-child {
    padding: 64px 24px 70px;
  }

  .ref-recruit-block h2 {
    margin: 20px 0;
    font-size: 30px;
  }

  .ref-recruit-block a {
    width: 100%;
  }

  .ref-blog-grid a > div {
    height: 230px;
  }

  .ref-contact-mail {
    height: 125px;
    padding: 0 24px;
    justify-content: flex-start;
  }

  .ref-contact-mail > span {
    font-size: 32px;
  }

  .ref-contact-mail p {
    font-size: 12px;
  }

  .ref-contact-phone {
    min-height: 205px;
    padding: 30px 24px;
  }

  .ref-contact-phone .phone-link {
    font-size: 26px;
  }

  .footer {
    padding: 52px 24px 22px;
  }

  .official-footer-logo {
    padding: 9px 12px;
  }

  .official-footer-logo img {
    width: 210px;
  }

  .footer-top p {
    margin-top: 25px;
    font-size: 11px;
  }

  .footer-links {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 0 18px;
    margin-top: 34px;
    border-top: 1px solid #252629;
  }

  .footer-links a {
    padding: 13px 0;
    border-bottom: 1px solid #252629;
    font-size: 11px;
    line-height: 1.6;
  }

  .footer-bottom {
    display: block;
    margin-top: 38px;
  }

  .footer-bottom span {
    display: block;
    max-width: none;
    line-height: 1.8;
  }

  .footer-bottom small {
    display: block;
    margin-top: 15px;
  }

  .page-hero {
    height: 410px;
    padding: 0 24px 42px;
    background-position: 60% center;
  }

  .page-hero:after {
    left: 24px;
    height: 28px;
  }

  .page-hero div span {
    font-size: 10px;
    line-height: 1.8;
  }

  .page-hero h1 {
    margin-top: 13px;
    font-size: 35px;
    line-height: 1.35;
    letter-spacing: .035em;
  }

  .sub-intro,
  .recruit-message,
  .partner-lead,
  .partner-fields,
  .partner-values,
  .partner-info,
  .partner-flow,
  .faq-page,
  .legal-page,
  .contact-wrap,
  .company-services,
  .company-access,
  .safety-points,
  .business-standard,
  .business-consult,
  .about-fields,
  .about-future,
  .recruit-jobs,
  .recruit-growth,
  .recruit-day,
  .recruit-person,
  .recruit-faq {
    padding: 68px 24px 76px;
  }

  .sub-intro h2,
  .recruit-message h2,
  .partner-lead h2,
  .contact-lead h2,
  .thanks h2,
  .partner-info-head h2 {
    font-size: 31px;
    line-height: 1.55;
  }

  .partner-lead {
    min-height: 0;
  }

  .partner-lead p {
    font-size: 12px;
    line-height: 2.05;
  }

  .partner-fields > div:nth-child(2) {
    grid-template-columns: 1fr;
  }

  .partner-fields article {
    display: grid;
    grid-template-columns: 44px 1fr;
    align-content: center;
    height: 96px;
    padding: 16px 10px;
    border-right: 0;
    border-bottom: 1px solid #ccc;
  }

  .partner-fields article h3 {
    margin: 0 0 5px;
  }

  .partner-fields article > span {
    grid-column: 2;
  }

  .partner-fields > p {
    text-align: left;
    line-height: 1.8;
  }

  .partner-value-grid {
    margin-top: 34px;
  }

  .partner-value-grid article {
    min-height: 205px;
    padding: 28px 24px;
  }

  .partner-value-grid h3 {
    margin: 52px 0 14px;
  }

  .partner-info-grid {
    margin-top: 34px;
  }

  .partner-info-grid article {
    grid-template-columns: 48px 1fr;
    min-height: 76px;
    padding: 14px 4px;
  }

  .partner-info-grid h3 {
    font-size: 15px;
  }

  .partner-flow > div:nth-child(2) {
    margin-top: 34px;
  }

  .partner-flow article {
    min-height: 160px;
    padding: 26px 20px;
  }

  .partner-flow h3 {
    margin: 38px 0 12px;
  }

  .faq-page-lead {
    margin-bottom: 34px;
  }

  .faq-page-lead h2 {
    font-size: 29px;
  }

  .faq-page-list summary {
    gap: 14px;
    padding: 22px 4px;
  }

  .faq-page-list summary span {
    font-size: 13px;
    line-height: 1.7;
  }

  .page-cta {
    padding: 58px 24px 64px;
  }

  .page-cta h2 {
    font-size: 27px;
    line-height: 1.55;
  }

  .page-cta > a {
    min-height: 56px;
    align-items: center;
  }

  .contact-guide,
  .contact-flow {
    padding: 68px 24px 76px;
  }

  .blog-intro,
  .blog-topics,
  .blog-home .blog-list {
    padding: 68px 24px 76px;
  }

  .blog-intro h2 {
    font-size: 31px;
  }

  .blog-intro p {
    font-size: 12px;
    line-height: 2;
  }

  .blog-topics > div:first-child h2,
  .blog-list-head h2 {
    margin: 12px 0 34px;
    font-size: 30px;
    line-height: 1.5;
  }

  .blog-topics > div:last-child {
    grid-template-columns: 1fr;
  }

  .blog-topics article {
    min-height: 185px;
    padding: 28px 20px;
    border-right: 0;
    border-bottom: 1px solid #333;
  }

  .blog-topics h3 {
    margin: 42px 0 12px;
  }

  .blog-list-head {
    display: block;
    margin-bottom: 38px;
  }

  .blog-list-head nav {
    gap: 20px;
    margin-right: -24px;
    padding: 0 24px 14px 0;
    overflow-x: auto;
    white-space: nowrap;
    scrollbar-width: none;
  }

  .blog-list-head nav::-webkit-scrollbar {
    display: none;
  }

  .blog-card-featured {
    display: block;
    min-height: 0;
    padding-bottom: 30px;
  }

  .blog-card-featured > div {
    height: 230px;
    min-height: 0;
  }

  .blog-card-featured > time,
  .blog-card-featured > h2,
  .blog-card-featured > p,
  .blog-card-featured > b {
    margin-right: 22px;
    margin-left: 22px;
  }

  .blog-card-featured > time {
    margin-top: 24px;
  }

  .blog-card-featured > h2 {
    margin-top: 10px;
    margin-bottom: 14px;
    font-size: 20px;
  }

  .blog-card-featured > b {
    display: block;
    margin-top: 22px;
    margin-bottom: 0;
  }

  .faq-directory,
  .faq-category {
    padding: 68px 24px 76px;
  }

  .faq-directory > div:first-child h2 {
    margin: 17px 0 22px;
    font-size: 31px;
    line-height: 1.55;
  }

  .faq-directory > div:first-child > p {
    width: 100%;
    margin: 0;
    font-size: 12px;
  }

  .faq-index-grid {
    grid-template-columns: 1fr;
    margin-top: 38px;
  }

  .faq-index-grid a {
    min-height: 112px;
    padding: 22px 18px;
    border-right: 0;
    border-bottom: 1px solid #ccc;
  }

  .faq-index-grid a > span {
    margin-top: 28px;
    font-size: 17px;
  }

  .faq-index-grid a > i {
    top: 20px;
    right: 18px;
  }

  .faq-category {
    display: block;
  }

  .faq-category-head {
    position: static;
    margin-bottom: 34px;
  }

  .faq-category-head h2 {
    margin: 13px 0 15px;
    font-size: 28px;
  }

  .contact-guide-head h2,
  .contact-flow > div:first-child h2 {
    margin: 17px 0 22px;
    font-size: 30px;
    line-height: 1.55;
  }

  .contact-guide-head > p {
    width: 100%;
    margin: 0;
    font-size: 12px;
  }

  .contact-guide-grid {
    grid-template-columns: 1fr;
    margin-top: 38px;
  }

  .contact-guide-grid a {
    min-height: 190px;
    padding: 26px 20px;
    border-right: 0;
    border-bottom: 1px solid #ccc;
  }

  .contact-guide-grid a > span {
    margin: 44px 0 12px;
    font-size: 18px;
  }

  .contact-guide-grid a > i {
    top: 24px;
    right: 18px;
  }

  .contact-page .contact-wrap {
    padding-top: 68px;
  }

  .contact-page .contact-wrap form,
  .contact-page .thanks {
    margin-top: 52px;
  }

  .contact-page .contact-wrap form {
    margin-right: -24px;
    margin-left: -24px;
    padding: 40px 24px 48px;
  }

  .contact-prep {
    margin-top: 38px;
    padding: 24px 20px;
  }

  .contact-prep ul {
    grid-template-columns: 1fr;
  }

  .contact-flow > div:first-child h2 {
    margin-bottom: 36px;
  }

  .contact-flow > div:last-child {
    grid-template-columns: 1fr;
  }

  .contact-flow article {
    min-height: 180px;
    padding: 28px 20px;
    border-right: 0;
    border-bottom: 1px solid #333;
  }

  .contact-flow h3 {
    margin: 42px 0 12px;
    font-size: 18px;
  }

  .reveal {
    transform: translateY(20px);
    transition-duration: .6s;
  }

  @media (prefers-reduced-motion: reduce) {
    .reveal {
      opacity: 1;
      transform: none;
      transition: none;
    }
  }
}

/* Mobile polish v1.3.1 */
@media (max-width: 600px) {
  html,
  body {
    width: 100%;
    max-width: 100%;
    overflow-x: clip;
  }

  .header {
    width: 100%;
    height: 64px;
    padding: 0 12px;
  }

  .official-logo {
    height: 38px;
    padding: 3px 5px;
  }

  .official-logo img {
    width: 138px;
    max-width: 100%;
  }

  .menu-button {
    width: 64px;
    height: 64px;
  }

  .nav {
    inset: 0;
    width: 100%;
    max-width: 100vw;
    height: 100dvh;
    min-height: 100dvh;
    padding: 74px 22px 28px;
    justify-content: flex-start;
    overflow-y: auto;
    opacity: 0;
    visibility: hidden;
    pointer-events: none;
    transform: none;
    clip-path: inset(0 0 0 100%);
    transition: clip-path .35s ease, opacity .25s ease, visibility 0s linear .35s;
  }

  .nav.open {
    opacity: 1;
    visibility: visible;
    pointer-events: auto;
    clip-path: inset(0);
    transition: clip-path .35s ease, opacity .25s ease;
  }

  .nav > a {
    display: flex;
    min-height: 48px;
    align-items: center;
    padding: 12px 8px;
    font-size: 14px;
  }

  .ref-hero {
    height: 640px;
    min-height: 640px;
    background-position: 66% center;
  }

  .ref-hero-copy {
    left: 22px;
    right: 20px;
    top: 48%;
  }

  .ref-hero-copy h1 {
    margin: 14px 0 18px;
    font-size: clamp(35px, 10vw, 40px);
    line-height: 1.34;
  }

  .ref-hero-copy p {
    font-size: 10.5px;
    line-height: 1.9;
  }

  .ref-scroll {
    left: 22px;
  }

  .ref-news {
    gap: 16px;
    padding: 28px 22px 26px;
  }

  .ref-message,
  .ref-service,
  .ref-projects,
  .ref-blog {
    padding: 58px 22px 64px;
  }

  .ref-message-title {
    margin-bottom: 28px;
  }

  .ref-message-body h3 {
    margin-bottom: 28px;
    font-size: 27px;
    line-height: 1.62;
  }

  .ref-message-columns {
    gap: 18px;
  }

  .ref-message-columns p {
    font-size: 13px;
    line-height: 2.05;
  }

  .ref-signature {
    margin-top: 28px;
  }

  .ref-signature b strong {
    font-size: 26px;
  }

  .ref-service-intro {
    margin-bottom: 28px;
  }

  .ref-service-intro h2,
  .ref-about-copy h2,
  .ref-strength-copy h2,
  .ref-promise h2,
  .ref-recruit-block h2,
  .ref-section-head h2 {
    font-size: 28px;
    line-height: 1.5;
  }

  .ref-service-cards {
    margin-right: -22px;
    padding-right: 22px;
  }

  .ref-service-cards > .reveal {
    flex-basis: 78vw;
  }

  .ref-service-card {
    height: 340px;
  }

  .ref-strength {
    padding: 58px 22px 64px;
    background-position: 58% center;
  }

  .ref-strength-copy {
    margin-bottom: 28px;
  }

  .ref-strength-grid article {
    min-height: 170px;
    padding: 22px 18px;
  }

  .ref-strength-grid article > span {
    height: 46px;
    font-size: 40px;
  }

  .ref-strength-grid h3 {
    margin: 10px 0;
  }

  .ref-promise > div:first-child,
  .ref-about-copy {
    padding: 58px 22px 62px;
  }

  .ref-promise-photo,
  .ref-recruit-photo {
    height: 250px;
  }

  .ref-section-head {
    margin-bottom: 30px;
  }

  .ref-project > div,
  .ref-project-large > div {
    height: 235px;
  }

  .ref-recruit-block > div:last-child {
    padding: 56px 22px 62px;
  }

  .ref-blog-grid {
    gap: 38px;
  }

  .ref-blog-grid a > div {
    height: 215px;
  }

  .ref-contact-mail {
    height: 116px;
    padding: 0 22px;
  }

  .ref-contact-phone {
    min-height: 195px;
    padding: 27px 22px;
  }

  .ref-contact-phone .phone-link {
    font-size: 24px;
  }

  .footer {
    padding: 46px 22px 20px;
  }

  .official-footer-logo img {
    width: 200px;
    max-width: 100%;
  }

  .page-hero {
    height: 390px;
    padding: 0 22px 38px;
  }

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

  .sub-intro,
  .recruit-message,
  .partner-lead,
  .partner-fields,
  .partner-values,
  .partner-info,
  .partner-flow,
  .faq-page,
  .legal-page,
  .contact-wrap,
  .company-services,
  .company-access,
  .safety-points,
  .business-standard,
  .business-consult,
  .about-fields,
  .about-future,
  .recruit-jobs,
  .recruit-growth,
  .recruit-day,
  .recruit-person,
  .recruit-faq,
  .contact-guide,
  .contact-flow,
  .blog-intro,
  .blog-topics,
  .blog-home .blog-list,
  .faq-directory,
  .faq-category {
    padding: 58px 22px 64px;
  }

  .sub-intro h2,
  .recruit-message h2,
  .partner-lead h2,
  .contact-lead h2,
  .thanks h2,
  .partner-info-head h2,
  .blog-intro h2,
  .faq-directory > div:first-child h2,
  .contact-guide-head h2,
  .contact-flow > div:first-child h2 {
    font-size: 29px;
    line-height: 1.5;
  }

  .page-cta {
    padding: 52px 22px 58px;
  }

  .page-cta h2 {
    font-size: 25px;
  }

  .contact-page .contact-wrap form {
    margin-right: -22px;
    margin-left: -22px;
    padding: 36px 22px 44px;
  }

  input,
  select,
  textarea,
  button {
    font-size: 16px;
  }

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

  .reveal {
    transform: translateY(14px);
  }
}

/* Keep navigation legible on white blog article headers. */
body.single-post .header { color: #171717; border-bottom-color: #dedede; }
body.single-post .nav-contact { color: #fff; }
@media (max-width: 900px) { body.single-post .nav { color: #fff; } }
