@import url("https://fonts.googleapis.com/css2?family=Noto+Sans+JP:wght@400;500;600;700&family=Noto+Serif+JP:wght@400;500;600&display=swap");

:root {
  --navy: #173d65;
  --blue: #2572ae;
  --blue-dark: #19518b;
  --contact-blue: #2d75c4; /* Sky blue with 4.72:1 contrast against white text. */
  --green: #347a55;
  --ink: #243c51;
  --muted: #536576;
  --line: #dce8f0;
  --pale: #f0f7fc;
  --serif: "Noto Serif JP", YuMincho, "Yu Mincho", serif;
  --sans:
    "Noto Sans JP", -apple-system, BlinkMacSystemFont,
    "Hiragino Kaku Gothic ProN", sans-serif;
  --header-height: 76px;
}
* {
  box-sizing: border-box;
}
html {
  scroll-behavior: smooth;
}
body {
  margin: 0;
  color: var(--ink);
  background: #fff;
  font-family: var(--sans);
  font-size: 15px;
  line-height: 1.85;
}
a {
  color: inherit;
  text-decoration: none;
}
button {
  font: inherit;
}
img {
  max-width: 100%;
}
a:focus-visible,
button:focus-visible {
  outline: 3px solid #e9a436;
  outline-offset: 4px;
}
.skip-link {
  position: absolute;
  left: 12px;
  top: -100px;
  z-index: 30;
  padding: 8px 14px;
  background: #fff;
  color: var(--navy);
}
.skip-link:focus {
  top: 10px;
}
.container {
  width: min(100% - 96px, 1160px);
  margin-inline: auto;
}
.eyebrow {
  margin: 0 0 13px;
  color: var(--blue);
  font-size: 11px;
  font-weight: 700;
  line-height: 1.5;
  letter-spacing: 0.19em;
}
.eyebrow span {
  margin: 0 0.5em;
  color: #8ab4d0;
}
h1,
h2,
h3,
p {
  margin-top: 0;
}
h1,
h2,
h3 {
  font-family: var(--serif);
  color: var(--navy);
  font-weight: 600;
  line-height: 1.5;
}
h2 {
  font-size: clamp(26px, 2.5vw, 35px);
  letter-spacing: 0.04em;
}
p {
  margin-bottom: 0;
}
.site-header {
  position: relative;
  z-index: 20;
  height: 76px;
  background: rgba(255, 255, 255, 0.97);
  box-shadow: 0 2px 14px rgba(23, 61, 101, 0.06);
}
.header-inner {
  width: min(100% - 72px, 1280px);
  height: 100%;
  margin: auto;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 28px;
}
.site-name {
  display: inline-flex;
  align-items: center;
  min-height: 44px;
  font-size: 16px;
  font-weight: 700;
  letter-spacing: 0.025em;
  white-space: nowrap;
  color: #162d42;
  transition: color 0.18s ease;
}
.site-name:hover {
  color: var(--blue);
}
.site-nav {
  height: 100%;
  display: flex;
  align-items: center;
  gap: clamp(15px, 2.2vw, 33px);
  font-size: 13px;
  font-weight: 500;
}
.site-nav > a:not(.nav-contact) {
  height: 100%;
  display: inline-flex;
  align-items: center;
  position: relative;
  white-space: nowrap;
  transition: color 0.18s ease;
}
.site-nav > a:not(.nav-contact):hover,
.site-nav .current {
  color: var(--blue-dark);
}
.site-nav .current:after {
  content: "";
  position: absolute;
  bottom: 14px;
  left: 0;
  right: 0;
  height: 2px;
  background: var(--blue);
}
.nav-contact {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 13px;
  padding: 10px 24px;
  border-radius: 100px;
  background: var(--contact-blue);
  color: #fff;
  white-space: nowrap;
  transition: background-color 0.18s ease;
}
.button-primary:hover { background: #255f9f; }
.button-primary:active { background: #1c4d83; }
.nav-contact:hover,
.button-primary.contact-button:hover { background: #255f9f; }
.nav-contact:active,
.button-primary.contact-button:active { background: #1c4d83; }
.menu-toggle {
  display: none;
}
.hero {
  position: relative;
  min-height: calc(100svh - var(--header-height));
  isolation: isolate;
  display: flex;
  align-items: center;
  overflow: hidden;
}
.hero-image,
.hero-wash {
  position: absolute;
  inset: 0;
  z-index: -1;
}
.hero-image {
  background: url("autumn-sky.webp?v=2") center 37% / cover no-repeat;
}
.hero-wash {
  background: linear-gradient(
    90deg,
    rgba(255, 255, 255, 0.98) 0%,
    rgba(255, 255, 255, 0.93) 22%,
    rgba(255, 255, 255, 0.7) 38%,
    rgba(255, 255, 255, 0.28) 58%,
    rgba(255, 255, 255, 0) 78%
  );
}
.hero-content {
  padding-block: clamp(40px, 7svh, 80px);
}
.hero-kicker {
  margin: 26px 0 0;
  color: #246ca4;
}
.hero h1 {
  max-width: 820px;
  margin-bottom: 18px;
  font-size: clamp(36px, 3.55vw, 52px);
  letter-spacing: 0.065em;
  line-height: 1.55;
}
.hero-lead {
  font-size: 15px;
  line-height: 1.9;
  color: #1d3b58;
}
.button-row {
  display: flex;
  gap: 14px;
  flex-wrap: wrap;
  margin-top: 28px;
}
.button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 22px;
  min-height: 48px;
  padding: 10px 26px;
  border: 1px solid var(--blue);
  border-radius: 100px;
  font-size: 13px;
  font-weight: 700;
  line-height: 1.35;
  transition:
    background 0.2s,
    color 0.2s;
}
.button-primary {
  background: var(--contact-blue);
  color: #fff;
}
.contact-button {
  border-color: var(--contact-blue);
  background: var(--contact-blue);
}
.button-outline {
  background: rgba(255, 255, 255, 0.87);
  color: var(--blue-dark);
}
.button-outline:hover {
  background: #e5f3fb;
}
.button-outline:active {
  background: #d6eaf6;
}
.section {
  padding-block: 74px 82px;
}
.services {
  background: var(--pale);
}
.section-intro {
  display: flex;
  align-items: end;
  justify-content: space-between;
  gap: 48px;
  margin-bottom: 30px;
}
.section-intro h2 {
  margin-bottom: 0;
}
.section-intro > p {
  max-width: 430px;
  padding-bottom: 4px;
  color: var(--muted);
  font-size: 13px;
}
.service-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 22px;
}
.service-card {
  position: relative;
  min-height: 316px;
  overflow: hidden;
  background: #fff;
}
.service-card-image {
  position: absolute;
  inset: 0;
  background-size: cover;
  background-position: center;
}
.service-it .service-card-image {
  background-image: url("it-desk.webp");
  background-position: center;
}
.service-iso .service-card-image {
  background-image: url("iso-leaves.webp");
  background-position: center;
}
.service-card-content {
  position: relative;
  z-index: 1;
  width: min(77%, 430px);
  padding: 30px 28px 25px;
}
.service-card .eyebrow {
  margin-bottom: 9px;
}
.service-iso .eyebrow,
.service-iso .service-tagline,
.service-iso .text-link {
  color: var(--green);
}
.service-card h3 {
  margin-bottom: 2px;
  font-size: 26px;
}
.service-tagline {
  margin-bottom: 22px;
  color: var(--blue-dark);
  font-size: 13px;
  font-weight: 600;
}
.service-description {
  min-height: 93px;
  color: #334657;
  font-size: 12px;
  line-height: 1.85;
}
.text-link {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  min-height: 44px;
  margin-top: 14px;
  padding: 0 6px 4px 0;
  border-bottom: 1px solid currentColor;
  color: var(--blue-dark);
  font-size: 13px;
  font-weight: 700;
  transition: color 0.18s ease;
}
.text-link > span {
  display: inline-block;
  line-height: 1;
  transition: transform 0.2s ease-out;
}
.text-link:hover {
  color: #0d487b;
}
.service-iso .text-link:hover {
  color: #276846;
}
@media (hover: hover) {
  .text-link:hover > span {
    transform: translateX(3px);
  }
}
.text-link:focus-visible > span {
  transform: translateX(3px);
}
.about {
  padding-block: 75px 78px;
}
.about-grid {
  display: grid;
  grid-template-columns: 1fr 0.95fr;
  gap: 70px;
  align-items: center;
}
.about-copy h2 {
  font-size: clamp(24px, 2.2vw, 31px);
  margin-bottom: 17px;
}
.about-copy > p:not(.eyebrow) {
  max-width: 575px;
  color: var(--muted);
  font-size: 14px;
}
.about-points {
  display: grid;
  gap: 13px;
  margin: 0;
  padding: 0;
  list-style: none;
}
.about-points li {
  color: var(--blue-dark);
  font-family: var(--serif);
  font-size: 17px;
  font-weight: 500;
  line-height: 1.65;
}
.contact {
  position: relative;
  isolation: isolate;
  min-height: 210px;
  display: flex;
  align-items: center;
  background: #dcecf7 url("contact-landscape.webp") center 50% / cover no-repeat;
}
.contact:before {
  content: "";
  position: absolute;
  inset: 0;
  z-index: -1;
  background: rgba(244, 250, 252, 0.56);
}
.iso-page ~ .contact::before {
  background: rgba(229, 244, 255, 0.86);
}
.contact-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 35px;
  padding-block: 34px;
}
.contact h2 {
  margin-bottom: 0;
  font-size: clamp(23px, 2.25vw, 32px);
}
.site-footer {
  background: #fff;
}
.footer-top {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 30px;
  min-height: 92px;
}
.footer-top nav {
  display: flex;
  flex-wrap: wrap;
  gap: 18px;
  font-size: 12px;
}
.footer-top nav a {
  display: inline-flex;
  align-items: center;
  min-height: 44px;
  transition: color 0.18s ease;
}
.footer-top nav a:hover {
  text-decoration: underline;
  color: var(--blue);
}
.back-top {
  display: grid;
  place-items: center;
  width: 44px;
  height: 44px;
  flex: none;
  border: 1px solid #7f91a0;
  border-radius: 50%;
  font-size: 20px;
  line-height: 1;
  transition:
    background-color 0.18s ease,
    border-color 0.18s ease,
    color 0.18s ease;
}
.back-top:hover {
  background: #edf6fc;
  border-color: var(--blue);
  color: var(--blue-dark);
}
.back-top:active {
  background: #dcecf6;
}
.footer-bottom {
  display: flex;
  justify-content: space-between;
  gap: 20px;
  padding-block: 0 28px;
  color: #5f7080;
  font-size: 11px;
}
.footer-bottom small {
  font-size: 11px;
}

.page-hero {
  position: relative;
  isolation: isolate;
  min-height: 355px;
  overflow: hidden;
  background: #eff7fc;
}
.page-hero-image {
  position: absolute;
  inset: 0;
  z-index: -2;
  background: url("it-desk.webp") center 55% / cover no-repeat;
}
.page-hero:before {
  content: "";
  position: absolute;
  inset: 0;
  z-index: -1;
  background: linear-gradient(
    90deg,
    rgba(248, 252, 255, 0.98) 0%,
    rgba(248, 252, 255, 0.93) 35%,
    rgba(248, 252, 255, 0.34) 71%,
    rgba(248, 252, 255, 0.04)
  );
}
.page-hero-inner {
  padding-top: 25px;
  padding-bottom: 56px;
}
.breadcrumbs {
  display: flex;
  align-items: center;
  gap: 12px;
  margin-bottom: 54px;
  color: #5f7487;
  font-size: 11px;
}
.breadcrumbs a {
  display: inline-flex;
  align-items: center;
  min-height: 44px;
  padding: 0 6px;
  margin: -12px -6px;
  text-decoration: underline;
}
.page-hero h1 {
  margin-bottom: 9px;
  font-size: clamp(34px, 3.4vw, 48px);
}
.page-hero-inner > p:last-child {
  font-size: 16px;
  font-weight: 500;
  line-height: 1.8;
}
.page-nav {
  position: sticky;
  top: 0;
  z-index: 10;
  background: #fff;
  border-bottom: 1px solid var(--line);
  box-shadow: 0 4px 16px rgba(31, 83, 125, 0.04);
}
.page-nav-inner {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
}
.page-nav a {
  display: grid;
  place-items: center;
  min-height: 63px;
  padding: 10px 6px;
  border-right: 1px solid var(--line);
  color: var(--navy);
  font-size: 13px;
  font-weight: 600;
  text-align: center;
  transition:
    background-color 0.18s ease,
    color 0.18s ease;
}
.page-nav a:first-child {
  border-left: 1px solid var(--line);
}
.page-nav a:hover,
.page-nav a.active {
  background: #edf6fc;
  color: var(--blue-dark);
}
.page-nav a:active {
  background: #dcecf6;
}
.detail-section {
  padding-block: 86px;
  scroll-margin-top: 76px;
}
.detail-section.tint {
  background: var(--pale);
}
.detail-section h2 {
  margin-bottom: 25px;
}
.detail-two-col {
  display: grid;
  grid-template-columns: 0.75fr 1.25fr;
  gap: 80px;
}
.detail-body {
  max-width: 720px;
  color: #344a5d;
}
.detail-body > p:first-child {
  font-size: 16px;
  line-height: 2.15;
}
.source-note {
  margin-top: 25px;
  color: #52687a;
  font-size: 12px;
  line-height: 1.8;
}
.section-lead {
  margin-bottom: 26px;
  color: #435a6d;
}
.concern-list {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 15px;
  margin: 0;
  padding: 0;
  list-style: none;
}
.concern-list li {
  min-height: 92px;
  display: flex;
  align-items: center;
  padding: 17px 2px 14px;
  border-top: 1px solid #bfd4e3;
  color: var(--navy);
  font-weight: 600;
}
.support-list {
  display: grid;
  gap: 0;
  margin: 28px 0 0;
  padding: 0;
  list-style: none;
}
.support-list li {
  padding: 13px 0;
  border-top: 1px solid var(--line);
  font-weight: 500;
}
.support-list li:last-child {
  border-bottom: 1px solid var(--line);
}
.flow-list {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 20px;
  margin: 28px 0 0;
  padding: 0;
  list-style: none;
}
.flow-list li {
  min-height: 136px;
  padding: 20px 2px 0;
  border-top: 2px solid #8cbddd;
}
.flow-list span {
  color: #4a8db8;
  font-family: var(--serif);
  font-size: 24px;
}
.flow-list h3 {
  margin: 6px 0 4px;
  font-size: 20px;
}
.flow-list p {
  color: #536b7d;
  font-size: 13px;
}
.detail-contact {
  min-height: 230px;
}

@media (max-width: 1100px) {
  .header-inner {
    width: min(100% - 40px, 1280px);
    gap: 16px;
  }
  .site-name {
    font-size: 14px;
  }
  .site-nav {
    gap: 15px;
    font-size: 12px;
  }
  .nav-contact {
    padding-inline: 16px;
  }
  .container {
    width: min(100% - 72px, 1160px);
  }
  .service-card-content {
    width: 88%;
  }
  .about-grid {
    gap: 34px;
  }
  .footer-top nav {
    gap: 12px;
  }
}
@media (max-width: 820px) {
  .site-header {
    height: 66px;
  }
  .menu-toggle {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 5px;
    width: 44px;
    height: 44px;
    padding: 0;
    border: 0;
    background: transparent;
    cursor: pointer;
  }
  .menu-toggle span {
    width: 22px;
    height: 2px;
    background: var(--navy);
    transition:
      transform 0.2s,
      opacity 0.2s;
  }
  .menu-toggle[aria-expanded="true"] span:first-child {
    transform: translateY(7px) rotate(45deg);
  }
  .menu-toggle[aria-expanded="true"] span:nth-child(2) {
    opacity: 0;
  }
  .menu-toggle[aria-expanded="true"] span:last-child {
    transform: translateY(-7px) rotate(-45deg);
  }
  .site-nav {
    display: none;
    position: absolute;
    top: 66px;
    left: 0;
    right: 0;
    height: auto;
    padding: 15px 36px 25px;
    background: #fff;
    box-shadow: 0 14px 25px rgba(25, 81, 139, 0.12);
  }
  .site-nav.open {
    display: flex;
    flex-direction: column;
    align-items: stretch;
    gap: 0;
  }
  .site-nav > a:not(.nav-contact) {
    height: auto;
    min-height: 49px;
    border-bottom: 1px solid var(--line);
  }
  .site-nav .current:after {
    display: none;
  }
  .nav-contact {
    margin-top: 18px;
    min-height: 48px;
  }
  .hero-image {
    background-position: 61% 34%;
  }
  .hero-wash {
    background: linear-gradient(
      90deg,
      rgba(255, 255, 255, 0.98),
      rgba(255, 255, 255, 0.87) 41%,
      rgba(255, 255, 255, 0.25) 100%
    );
  }
  .hero h1 {
    font-size: clamp(35px, 5vw, 44px);
  }
  .service-card-content {
    width: 95%;
    padding: 27px 23px;
  }
  .service-card-image {
    opacity: 0.62;
  }
  .service-card h3 {
    font-size: 23px;
  }
  .service-description {
    min-height: 120px;
  }
  .about-grid {
    grid-template-columns: 1fr;
  }
  .about-points {
    max-width: 600px;
  }
  .footer-top {
    align-items: start;
    flex-direction: column;
    padding-block: 30px 15px;
    gap: 20px;
  }
  .back-top {
    position: absolute;
    right: 36px;
  }
  .footer-bottom {
    padding-top: 10px;
  }
  .detail-two-col {
    gap: 45px;
  }
  .concern-list li {
    padding: 17px 2px;
    font-size: 13px;
  }
  .flow-list li {
    padding: 18px 2px 0;
  }
}
@media (max-width: 620px) {
  body {
    font-size: 14px;
  }
  .container {
    width: calc(100% - 40px);
  }
  .header-inner {
    width: calc(100% - 32px);
  }
  .site-name {
    font-size: 13px;
    letter-spacing: -0.02em;
  }
  .hero-image {
    background-position: 64% top;
    background-size: auto 68%;
    background-color: #e8f5fd;
  }
  .hero-wash {
    background: linear-gradient(
      0deg,
      #fff 0%,
      rgba(255, 255, 255, 0.98) 38%,
      rgba(255, 255, 255, 0.75) 65%,
      rgba(255, 255, 255, 0.08) 100%
    );
  }
  .hero-kicker {
    font-size: 10px;
  }
  .hero h1 {
    font-size: clamp(27px, 7vw, 34px);
    line-height: 1.48;
    letter-spacing: 0.015em;
    white-space: normal;
  }
  .hero-lead {
    font-size: 13px;
  }
  .hero-lead br {
    display: none;
  }
  .button-row {
    margin-top: 24px;
    gap: 10px;
  }
  .button {
    min-height: 48px;
    width: 100%;
    justify-content: space-between;
    font-size: 13px;
  }
  .section {
    padding-block: 59px 65px;
  }
  .section-intro {
    display: block;
    margin-bottom: 25px;
  }
  .section-intro h2 {
    font-size: 26px;
  }
  .section-intro > p {
    margin-top: 15px;
    font-size: 12px;
  }
  .service-grid {
    grid-template-columns: 1fr;
    gap: 15px;
  }
  .service-card {
    min-height: 295px;
  }
  .service-card-image {
    opacity: 0.9;
  }
  .service-card-content {
    width: 88%;
    padding: 27px 22px;
  }
  .service-card h3 {
    font-size: 24px;
  }
  .service-description {
    min-height: 0;
    margin-bottom: 10px;
  }
  .service-it .service-card-image {
    background-position: 65% center;
  }
  .service-iso .service-card-image {
    background-position: 60% center;
  }
  .about-grid {
    gap: 29px;
  }
  .about-copy h2 {
    font-size: 24px;
  }
  .about-copy > p:not(.eyebrow) {
    font-size: 13px;
  }
  .about-points li {
    font-size: 15px;
  }
  .contact-inner {
    display: block;
    padding-block: 36px;
  }
  .contact h2 {
    font-size: 21px;
  }
  .footer-top nav {
    gap: 0 14px;
    padding-right: 50px;
  }
  .footer-bottom {
    display: block;
    padding-block: 5px 25px;
  }
  .footer-bottom small {
    display: block;
    margin-top: 5px;
  }
  .page-hero {
    min-height: 335px;
  }
  .page-hero-image {
    background-position: 70% center;
    opacity: 0.72;
  }
  .page-hero:before {
    background: linear-gradient(
      90deg,
      rgba(248, 252, 255, 0.98),
      rgba(248, 252, 255, 0.84) 57%,
      rgba(248, 252, 255, 0.4)
    );
  }
  .page-hero-inner {
    padding-top: 15px;
    padding-bottom: 45px;
  }
  .breadcrumbs {
    margin-bottom: 47px;
  }
  .page-hero h1 {
    font-size: 34px;
  }
  .page-hero-inner > p:last-child {
    font-size: 14px;
  }
  .page-nav-inner {
    width: 100%;
    grid-template-columns: repeat(2, 1fr);
  }
  .page-nav a {
    min-height: 48px;
    font-size: 12px;
  }
  .page-nav a:nth-child(n + 3) {
    border-top: 1px solid var(--line);
  }
  .detail-section {
    padding-block: 58px;
    scroll-margin-top: 106px;
  }
  .detail-section h2 {
    font-size: 26px;
    margin-bottom: 17px;
  }
  .detail-two-col {
    grid-template-columns: 1fr;
    gap: 0;
  }
  .detail-body > p:first-child {
    font-size: 14px;
  }
  .section-lead {
    font-size: 13px;
  }
  .concern-list,
  .flow-list {
    grid-template-columns: 1fr;
    gap: 10px;
  }
  .concern-list li {
    min-height: 55px;
    padding: 11px 2px;
  }
  .flow-list li {
    min-height: 0;
    display: flex;
    align-items: start;
    gap: 17px;
  }
  .flow-list h3 {
    margin: 0 0 2px;
  }
  .flow-list p {
    font-size: 12px;
  }
}
@media (max-width: 380px) {
  .site-name {
    font-size: 12px;
  }
  .hero h1 {
    font-size: 27px;
  }
  .service-card-content {
    width: 93%;
  }
}
@media (prefers-reduced-motion: reduce) {
  html {
    scroll-behavior: auto;
  }
  *,
  *:before,
  *:after {
    transition-duration: 0.01ms !important;
    animation-duration: 0.01ms !important;
  }
}

.mobile-only {
  display: none;
}
@media (max-width: 620px) {
  .mobile-only {
    display: inline;
  }
}
@media (min-width: 821px) and (max-width: 1100px) {
  .site-header {
    height: 66px;
  }
  .services {
    padding-block: 40px 45px;
  }
  .section-intro {
    margin-bottom: 22px;
  }
  .service-card {
    min-height: 268px;
  }
  .service-card-content {
    padding-top: 22px;
    padding-bottom: 20px;
  }
  .service-description {
    min-height: 74px;
  }
  .about {
    padding-block: 38px 42px;
  }
  .contact {
    min-height: 190px;
  }
}
@media (min-width: 821px) {
  .detail-section {
    padding-block: 74px;
  }
}
@media (min-width: 621px) and (max-width: 820px) {
  .detail-two-col {
    grid-template-columns: 0.9fr 1.1fr;
    gap: 36px;
  }
  .concern-list {
    grid-template-columns: 1fr;
    gap: 0;
  }
  .concern-list li {
    min-height: 55px;
    padding-block: 11px;
  }
}

/* Production Phase 1: approved system extended to five static pages. */
.contact-button {
  flex-shrink: 0;
  min-width: 240px;
}
.body-follow {
  margin-top: 24px;
}
.standard-entry {
  padding-block: 21px;
  border-top: 1px solid var(--line);
}
.standard-entry:last-child {
  border-bottom: 1px solid var(--line);
}
.standard-entry h3 {
  margin-bottom: 8px;
  font-size: 26px;
}
.iso-page {
  background: #f0f7f2;
}
.iso-page .page-hero-image {
  background-image: url("iso-leaves.webp");
}
.iso-page .eyebrow {
  color: var(--green);
}
.company-page .page-hero-image,
.contact-page .page-hero-image {
  background-image: url("autumn-sky.webp");
  background-position: center 35%;
}
.company-table {
  margin: 0;
}
.company-table > div {
  display: grid;
  grid-template-columns: 135px 1fr;
  gap: 24px;
  padding-block: 19px;
  border-top: 1px solid var(--line);
}
.company-table > div:last-child {
  border-bottom: 1px solid var(--line);
}
.company-table dt {
  color: var(--navy);
  font-weight: 600;
}
.company-table dd {
  margin: 0;
}
.list-detail {
  font-size: 13px;
  color: var(--muted);
}
.contact-form-layout {
  display: grid;
  grid-template-columns: 0.8fr 1.2fr;
  gap: 80px;
}
.form-intro > p:not(.eyebrow) {
  color: var(--muted);
}
.preview-notice {
  margin-top: 28px;
  padding-top: 20px;
  border-top: 1px solid var(--line);
  font-size: 13px;
}
.inquiry-form {
  min-width: 0;
}
.form-field {
  margin-bottom: 24px;
}
.form-field label {
  display: flex;
  gap: 13px;
  align-items: center;
  margin-bottom: 9px;
  font-weight: 600;
}
.required-label {
  font-size: 11px;
  color: var(--blue-dark);
  font-weight: 500;
}
input,
textarea {
  width: 100%;
  min-height: 48px;
  padding: 12px 14px;
  border: 1px solid #94a9ba;
  border-radius: 2px;
  background: #fbfdff;
  color: var(--ink);
  font: inherit;
  line-height: 1.6;
}
textarea {
  resize: vertical;
}
input:focus-visible,
textarea:focus-visible {
  outline: 3px solid #2572ae;
  outline-offset: 2px;
}
.form-guidance {
  font-size: 12px;
  color: var(--muted);
  margin-bottom: 25px;
}
.button:disabled {
  opacity: 1;
  background: #526a7e;
  border-color: #526a7e;
  cursor: not-allowed;
}
@media (max-width: 1100px) {
  :root {
    --header-height: 66px;
  }
  .contact-form-layout {
    gap: 40px;
  }
}
@media (max-width: 820px) {
  .site-nav {
    max-height: calc(100svh - 66px);
    overflow-y: auto;
  }
  .contact-form-layout {
    grid-template-columns: 1fr;
    gap: 36px;
  }
}
@media (max-width: 620px) {
  .hero-content {
    padding-top: clamp(125px, 25svh, 205px);
    padding-bottom: 35px;
  }
  .contact-button {
    margin-top: 24px;
    min-width: 0;
  }
  .company-table > div {
    grid-template-columns: 1fr;
    gap: 6px;
    padding-block: 16px;
  }
  .contact-page h1 {
    font-size: 32px;
  }
}
@media (max-height: 620px) and (min-width: 621px) {
  .hero-content {
    padding-block: 35px;
  }
}

.copy-unit { display: inline-block; }

.detail-body > p { text-wrap: pretty; }

/* Narrow screens: keep long Japanese headings readable without orphaned characters. */
@media (max-width: 340px) {
  .hero h1,
  .section-intro h2 {
    font-size: 23px;
    letter-spacing: 0;
  }
  .page-hero:not(.company-page):not(.contact-page) h1 {
    font-size: 30px;
  }
  .contact h2 {
    font-size: 17px;
    letter-spacing: 0;
    text-wrap: balance;
  }
}
