:root {
  --navy: #17324d;
  --navy-2: #0f253a;
  --blue: #2f5f86;
  --text: #333333;
  --muted: #64717c;
  --bg: #f5f7f9;
  --bg-soft: #eef3f6;
  --white: #ffffff;
  --accent: #b79045;
  --accent-soft: #f4ead8;
  --line: #dce3e8;
  --shadow: 0 16px 42px rgba(15, 37, 58, .10);
  --radius: 16px;
  --max: 1180px;
}

* {
  box-sizing: border-box;
}

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

body {
  margin: 0;
  color: var(--text);
  font-family: "Noto Sans JP", "Yu Gothic", YuGothic, "Hiragino Kaku Gothic ProN", Meiryo, Arial, sans-serif;
  font-size: 17px;
  line-height: 1.85;
  letter-spacing: .01em;
  overflow-x: hidden;
  background: var(--bg);
}

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

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

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

p,
li,
dd,
a {
  overflow-wrap: break-word;
}

.skip {
  position: absolute;
  left: -999px;
  top: 8px;
  z-index: 1000;
  background: #fff;
  padding: 10px 14px;
}

.skip:focus {
  left: 8px;
}

.container {
  width: min(var(--max), calc(100% - 48px));
  margin-inline: auto;
}

.site-header {
  position: sticky;
  top: 0;
  z-index: 60;
  overflow: visible;
  background: rgba(255, 255, 255, .96);
  backdrop-filter: blur(14px);
  border-bottom: 1px solid var(--line);
}

.header-inner {
  position: relative;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 28px;
  height: 86px;
}

.site-logo img {
  width: 230px;
  max-height: 68px;
  object-fit: contain;
}

.site-nav {
  display: flex;
  align-items: center;
  gap: 24px;
  color: var(--navy);
  font-size: 15px;
  font-weight: 700;
  white-space: nowrap;
}

.site-nav a {
  position: relative;
  padding: 8px 0;
}

.site-nav a:not(.nav-contact)::after {
  content: "";
  position: absolute;
  left: 0;
  right: 0;
  bottom: 1px;
  height: 2px;
  background: var(--accent);
  transform: scaleX(0);
  transform-origin: left;
  transition: .25s;
}

.site-nav a:hover::after {
  transform: scaleX(1);
}

.nav-contact,
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  border: 1px solid var(--navy);
  border-radius: 6px;
  background: var(--navy);
  color: #fff;
  font-weight: 700;
  padding: 12px 22px;
  box-shadow: none;
  transition: .2s;
}

.nav-contact:hover,
.btn:hover {
  background: var(--navy-2);
  border-color: var(--navy-2);
  transform: translateY(-1px);
}

.nav-toggle {
  display: none;
  background: transparent;
  border: 1px solid var(--line);
  border-radius: 6px;
  color: var(--navy);
  font-size: 14px;
  font-weight: 700;
  padding: 8px 12px;
}

.section {
  position: relative;
  padding: 82px 0;
}

.section-paper {
  background: var(--white);
}

.section-white {
  background: var(--bg);
}

.section-green {
  background: linear-gradient(135deg, #eef5f1 0%, #f8faf9 100%);
}

.section-dark {
  background: var(--navy-2);
  color: #fff;
}

.wave-top::before {
  display: none;
}

.section:where(.section-paper, .section-white, .section-green)::after {
  content: "";
  position: absolute;
  left: 0;
  right: 0;
  bottom: 0;
  height: 1px;
  background: var(--line);
  opacity: .75;
}


.hero-mobile-media {
  display: none;
}

.hero {
  position: relative;
  isolation: isolate;
  display: flex;
  align-items: center;
  min-height: 690px;
  padding: 120px 0 124px;
  overflow: hidden;
  background: #f7f9fb;
}

.hero::before {
  content: "";
  position: absolute;
  inset: 0;
  z-index: -3;
  background-image: url(../img/hero-company-bg.webp);
  background-repeat: no-repeat;
  background-size: cover;
  background-position: right bottom;
  transform: none;
  transform-origin: right bottom;
  pointer-events: none;
}

.hero::after {
  content: "";
  position: absolute;
  inset: 0;
  z-index: -2;
  background: linear-gradient(90deg,
      rgba(255, 255, 255, .98) 0%,
      rgba(255, 255, 255, .95) 28%,
      rgba(255, 255, 255, .74) 39%,
      rgba(255, 255, 255, .22) 48%,
      rgba(255, 255, 255, .06) 56%,
      rgba(255, 255, 255, 0) 66%);
  pointer-events: none;
}

.hero-grid {
  position: relative;
  z-index: 1;
  display: block;
}

.hero-grid::before {
  content: "";
  position: absolute;
  left: calc((100vw - var(--max)) / -2);
  top: -120px;
  bottom: -124px;
  z-index: -1;
  width: min(48vw, 660px);
  background:
    linear-gradient(90deg, rgba(255, 255, 255, .48), rgba(255, 255, 255, .18), rgba(255, 255, 255, 0)),
    linear-gradient(90deg, rgba(23, 50, 77, .022) 0 1px, transparent 1px),
    linear-gradient(0deg, rgba(23, 50, 77, .020) 0 1px, transparent 1px);
  background-size: 100% 100%, 64px 64px, 64px 64px;
  opacity: .45;
  pointer-events: none;
}

.hero-copy {
  width: min(610px, 50%);
  padding: 18px 0;
}

.eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  margin: 0 0 16px;
  color: var(--blue);
  font-size: 13px;
  font-weight: 700;
  line-height: 1.4;
  letter-spacing: .14em;
  text-transform: uppercase;
}

.eyebrow::before {
  content: "";
  width: 42px;
  height: 2px;
  border-radius: 999px;
  background: var(--accent);
}

h1,
h2,
h3 {
  margin: 0 0 18px;
  color: var(--navy);
  font-size: 24px;
  font-weight: 700;
  line-height: 1.42;
  letter-spacing: .02em;
}

.section-dark h1,
.section-dark h2,
.section-dark h3 {
  color: #fff;
}

.hero h1 {
  margin-bottom: 16px;
  font-size: 24px;
}

.hero p {
  max-width: 640px;
  margin: 0 0 18px;
  color: var(--text);
  font-size: 17px;
}

.hero-copy > p:first-of-type {
  color: var(--text);
  font-size: 17px;
  font-weight: 400;
}

.section-head {
  margin-bottom: 34px;
}

.company-layout {
  display: grid;
  grid-template-columns: 1fr .9fr;
  gap: 26px;
  align-items: start;
}

.info-card,
.text-card,
.mini-card,
.contact-card,
.message-card,
.initial-card {
  background: #fff;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 34px;
  box-shadow: 0 10px 28px rgba(15, 37, 58, .07);
}

.company-list {
  display: grid;
  gap: 0;
  margin: 0;
}

.company-list div {
  display: grid;
  grid-template-columns: 210px 1fr;
  gap: 22px;
  padding: 15px 0;
  border-bottom: 1px solid var(--line);
}

.company-list div:last-child {
  border-bottom: 0;
}

.company-list dt {
  color: var(--navy);
  font-weight: 700;
}

.company-list dd {
  margin: 0;
}

.accent-card {
  background: linear-gradient(135deg, #ffffff 0%, #f6f8fa 100%);
  border-top: 4px solid var(--accent);
}

ul {
  margin: 0;
  padding-left: 1.25em;
}

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

.check-list li {
  position: relative;
  margin: 9px 0;
  padding-left: 28px;
}

.check-list li::before {
  content: "";
  position: absolute;
  left: 0;
  top: .68em;
  width: 14px;
  height: 14px;
  border: 2px solid var(--accent);
  border-radius: 3px;
  background: #fff;
  transform: translateY(-50%);
}

.check-list li::after {
  content: "";
  position: absolute;
  left: 5px;
  top: .68em;
  width: 5px;
  height: 9px;
  border-right: 2px solid var(--navy);
  border-bottom: 2px solid var(--navy);
  transform: translateY(-64%) rotate(42deg);
}

.two-col {
  columns: 2;
  column-gap: 28px;
}

.cards-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
}

.small-cards {
  margin-top: 26px;
}

.mini-card {
  position: relative;
  overflow: hidden;
  border-top: 4px solid var(--navy);
}

.mini-card::before {
  display: none;
}

.mini-card img {
  width: 52px;
  height: 52px;
  object-fit: contain;
  margin-bottom: 18px;
}

.mini-card h3,
.mini-card p,
.mini-card ul {
  position: relative;
}

.mini-card li {
  margin: 8px 0;
}

.mini-card p {
  margin: 0 0 10px;
}

.certificate-grid {
  display: grid;
  grid-template-columns: .8fr 1.2fr;
  gap: 44px;
  align-items: center;
}

.certificate-grid p {
  margin: 0 0 16px;
}

.certificate-images {
  display: grid;
  grid-template-columns: 1fr .72fr;
  gap: 22px;
  align-items: center;
}

.certificate-images figure {
  margin: 0;
  background: #fff;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 14px;
  box-shadow: 0 10px 28px rgba(15, 37, 58, .08);
}

.certificate-images img {
  width: 100%;
  border-radius: 8px;
}

.split-section {
  display: grid;
  grid-template-columns: .42fr 1fr;
  gap: 44px;
  align-items: start;
}

.sticky-head {
  position: sticky;
  top: 112px;
}

.text-card p {
  margin: 0 0 18px;
}

.text-card p:last-child {
  margin-bottom: 0;
}

.philosophy-grid {
  display: grid;
  grid-template-columns: .92fr 1.08fr;
  gap: 32px;
  align-items: stretch;
}

.highlight-card {
  background: #fff;
  border-left: 6px solid var(--accent);
}

.initial-card ul {
  list-style: none;
  padding: 0;
  margin: 0;
}

.initial-card li {
  display: grid;
  grid-template-columns: 96px 1fr;
  gap: 16px;
  align-items: start;
  padding: 14px 0;
  border-bottom: 1px solid var(--line);
}

.initial-card li:last-child {
  border-bottom: 0;
}

.initial-card span {
  color: var(--blue);
  font-size: 18px;
  font-weight: 700;
}

.message-layout {
  display: grid;
  grid-template-columns: .34fr 1fr;
  gap: 40px;
  align-items: start;
}

.message-photo {
  display: flex;
  justify-content: center;
  align-items: center;
  margin-top: 28px;
  background: #fff;
  border: 1px solid rgba(255, 255, 255, .18);
  border-radius: var(--radius);
  padding: 14px;
  box-shadow: 0 18px 46px rgba(0, 0, 0, .18);
}

.message-photo img {
  margin-inline: auto;
  border-radius: 10px;
}

.message-card {
  background: #fff;
  color: var(--text);
}

.message-card p {
  margin: 0 0 18px;
}

.message-card .signature {
  margin-top: 28px;
  color: var(--navy);
  font-weight: 700;
  text-align: right;
}

.contact-grid {
  display: grid;
  grid-template-columns: .42fr 1fr;
  gap: 38px;
  align-items: start;
}

.tel-box {
  background: #fff;
  border: 1px solid var(--line);
  border-top: 4px solid var(--accent);
  border-radius: var(--radius);
  padding: 30px;
  box-shadow: 0 10px 28px rgba(15, 37, 58, .07);
}

.tel-box p {
  margin: 0 0 10px;
  color: var(--navy);
  font-weight: 700;
}

.tel-box a {
  color: var(--navy);
  font-size: 28px;
  font-weight: 700;
  letter-spacing: .03em;
  white-space: nowrap;
}

.static-form {
  display: grid;
  gap: 17px;
}

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

.static-form .form-field > label {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 8px;
  color: var(--navy);
  font-weight: 700;
}

.static-form input,
.static-form select,
.static-form textarea {
  width: 100%;
  background: #fff;
  border: 1px solid #cfd8df;
  border-radius: 8px;
  color: var(--text);
  padding: 13px 14px;
}

.static-form input:focus,
.static-form select:focus,
.static-form textarea:focus {
  outline: 3px solid rgba(47, 95, 134, .16);
  border-color: var(--blue);
}

.static-form fieldset {
  display: grid;
  gap: 8px;
  border: 1px solid #cfd8df;
  border-radius: 8px;
  padding: 16px 18px;
}

.static-form legend {
  color: var(--navy);
  font-weight: 700;
  padding: 0 8px;
}

.static-form fieldset label {
  display: flex;
  align-items: flex-start;
  gap: 8px;
  color: var(--navy);
  font-weight: 500;
  line-height: 1.6;
}

.static-form fieldset input {
  flex: 0 0 auto;
  width: auto;
  margin-top: .32em;
}

.form-required {
  display: inline-flex;
  align-items: center;
  border-radius: 999px;
  background: #edf4f8;
  color: var(--navy);
  font-size: 12px;
  font-weight: 700;
  line-height: 1;
  padding: 4px 8px;
}

.form-error {
  display: none;
  color: #b42318;
  font-size: 14px;
  font-weight: 700;
  line-height: 1.6;
}

.form-error.is-visible {
  display: block;
}

.static-form input[aria-invalid="true"],
.static-form textarea[aria-invalid="true"],
.static-form select[aria-invalid="true"] {
  border-color: #b42318;
  background: #fff8f7;
}

.static-form fieldset[aria-invalid="true"] {
  border-color: #b42318;
  background: #fff8f7;
}

.static-form input[aria-invalid="true"]:focus,
.static-form textarea[aria-invalid="true"]:focus {
  border-color: #b42318;
  outline-color: rgba(180, 35, 24, .18);
}

.form-note {
  margin: 0;
  color: var(--muted);
  font-size: 14px;
}

.site-footer {
  padding: 66px 0 42px;
  background: #eef3f6;
  border-top: 1px solid var(--line);
}

.footer-grid {
  display: grid;
  grid-template-columns: 1.15fr .75fr .75fr;
  gap: 42px;
}

.site-footer h2,
.site-footer h3 {
  color: var(--navy);
  font-size: 16.8px;
}

.site-footer p {
  margin: 0 0 14px;
}

.site-footer ul {
  list-style: none;
  padding: 0;
  margin: 0;
}

.site-footer li {
  margin: 9px 0;
}

.site-footer a {
  color: var(--blue);
  font-weight: 700;
}

.footer-emphasis {
  color: var(--navy);
  font-weight: 800;
}

.copyright {
  margin-top: 34px;
  padding-top: 24px;
  border-top: 1px solid var(--line);
  color: var(--muted);
  font-size: 14px;
  text-align: center;
}

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

  .header-inner {
    min-height: 76px;
    height: auto;
    padding: 12px 0;
  }

  .site-logo img {
    width: min(210px, 56vw);
  }

  .nav-toggle {
    display: inline-flex;
    align-items: center;
    justify-content: center;
  }

  .site-nav {
    position: absolute;
    left: 0;
    right: 0;
    top: calc(100% + 8px);
    display: none;
    flex-direction: column;
    align-items: stretch;
    gap: 0;
    background: #fff;
    border: 1px solid var(--line);
    border-radius: 12px;
    padding: 14px;
    box-shadow: var(--shadow);
  }

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

  .site-nav a {
    padding: 11px 8px;
  }

  .nav-contact {
    justify-content: center;
    margin-top: 8px;
  }

  .company-layout,
  .certificate-grid,
  .split-section,
  .philosophy-grid,
  .message-layout,
  .contact-grid,
  .footer-grid {
    grid-template-columns: 1fr;
  }

  .cards-grid {
    grid-template-columns: 1fr;
  }

  .sticky-head {
    position: static;
  }

  .message-photo {
    max-width: 220px;
  }
}

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

  body {
    background: #f4f7f9;
    color: #1f2f3a;
    font-size: 15px;
    line-height: 1.78;
    letter-spacing: .01em;
  }

  .container {
    width: min(100% - 28px, var(--max));
  }

  .site-header {
    background: rgba(255, 255, 255, .98);
  }

  .header-inner {
    min-height: 72px;
    padding: 10px 0;
    gap: 12px;
  }

  .site-logo img {
    width: min(184px, 54vw);
    max-height: 54px;
  }

  .nav-toggle {
    min-width: 70px;
    min-height: 46px;
    padding: 7px 10px;
    border-radius: 9px;
    background: #fff;
    color: var(--navy);
    font-size: 13px;
    line-height: 1;
  }

  .site-nav {
    top: calc(100% + 6px);
    padding: 10px;
    border-radius: 14px;
  }

  .site-nav a {
    padding: 11px 10px;
    border-bottom: 1px solid rgba(23, 50, 77, .08);
  }

  .site-nav a:last-child {
    border-bottom: 0;
  }

  .section {
    padding: 38px 0;
  }

  .section-head {
    margin-bottom: 18px;
  }

  .eyebrow {
    gap: 9px;
    margin-bottom: 11px;
    color: var(--blue);
    font-size: 12px;
    letter-spacing: .12em;
  }

  .eyebrow::before {
    width: 34px;
  }

  h1,
  h2,
  h3 {
    margin-bottom: 13px;
    line-height: 1.38;
    letter-spacing: .01em;
  }

  h1,
  h2,
  h3 {
    font-size: 22px;
  }

  p {
    margin-top: 0;
  }

  .hero {
    display: flex;
    align-items: center;
    min-height: clamp(430px, 86vw, 540px);
    padding: 64px 0 54px;
    overflow: hidden;
    background: #f7f9fb;
  }

  .hero::before {
    display: block;
    background-size: cover;
    background-position: 88% center;
  }

  .hero::after {
    display: block;
    background:
      linear-gradient(90deg,
        rgba(255, 255, 255, .98) 0%,
        rgba(255, 255, 255, .92) 44%,
        rgba(255, 255, 255, .68) 62%,
        rgba(255, 255, 255, .24) 78%,
        rgba(255, 255, 255, 0) 100%),
      linear-gradient(180deg,
        rgba(255, 255, 255, .08) 0%,
        rgba(255, 255, 255, .24) 56%,
        rgba(255, 255, 255, .82) 100%);
  }

  .hero-grid::before {
    display: none;
  }

  .hero-mobile-media {
    display: none;
  }

  .hero-grid {
    padding-top: 0;
  }

  .hero + .section {
    padding-top: 28px;
  }

  .hero-copy {
    width: min(430px, 76%);
    max-width: none;
    padding: 0;
  }

  .hero h1 {
    margin-bottom: 12px;
    font-size: 22px;
  }

  .hero p {
    max-width: none;
    margin-bottom: 10px;
    color: #1f2f3a;
    font-size: 15px;
    line-height: 1.78;
  }

  .hero-copy > p:first-of-type {
    margin-bottom: 10px;
    color: var(--navy);
    font-size: 16px;
    font-weight: 800;
  }

  .hero-copy > p:last-of-type {
    margin-bottom: 0;
  }

  .company-layout,
  .certificate-grid,
  .split-section,
  .philosophy-grid,
  .message-layout,
  .contact-grid {
    gap: 20px;
  }

  .cards-grid {
    gap: 17px;
  }

  .small-cards {
    margin-top: 20px;
  }

  .info-card,
  .text-card,
  .mini-card,
  .contact-card,
  .message-card,
  .initial-card,
  .tel-box {
    border-radius: 15px;
    padding: 22px;
    box-shadow: 0 8px 22px rgba(15, 37, 58, .06);
  }

  .company-list div {
    grid-template-columns: 1fr;
    gap: 4px;
    padding: 12px 0;
  }

  .company-list dt {
    font-size: 14px;
  }

  .company-list dd {
    font-size: 15px;
  }

  .check-list.two-col {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 8px 12px;
    columns: auto;
  }

  .check-list li {
    margin: 0;
    padding-left: 22px;
    font-size: 14px;
    line-height: 1.55;
  }

  .check-list li::before {
    top: .78em;
    width: 12px;
    height: 12px;
  }

  .check-list li::after {
    left: 4px;
    top: .78em;
    width: 4px;
    height: 8px;
  }

  .mini-card img {
    width: 42px;
    height: 42px;
    margin-bottom: 12px;
  }

  .mini-card li,
  .mini-card p {
    font-size: 14px;
    line-height: 1.72;
  }

  .section-green {
    background: #eef5f1;
  }

  .certificate-grid p {
    margin-bottom: 12px;
  }

  .certificate-images {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 10px;
    align-items: start;
  }

  .certificate-images figure {
    padding: 8px;
    border-radius: 12px;
  }

  .certificate-images img {
    border-radius: 7px;
  }

  .split-section .section-head,
  .message-layout .section-head {
    margin-bottom: 0;
  }

  .text-card p,
  .message-card p {
    margin-bottom: 13px;
    font-size: 15px;
    line-height: 1.82;
  }

  .highlight-card {
    border-left-width: 5px;
  }

  .highlight-card p:first-of-type {
    color: var(--navy);
    font-weight: 800;
  }

  .initial-card {
    padding: 18px;
  }

  .initial-card li {
    display: grid;
    grid-template-columns: 48px 1fr;
    gap: 11px;
    align-items: center;
    padding: 10px 0;
    border-bottom: 1px solid rgba(23, 50, 77, .10);
    font-size: 14px;
    line-height: 1.65;
  }

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

  .initial-card li:last-child {
    padding-bottom: 0;
    border-bottom: 0;
  }

  .initial-card span {
    display: inline-flex;
    min-width: 42px;
    min-height: 30px;
    align-items: center;
    justify-content: center;
    border-radius: 999px;
    background: var(--navy);
    color: #fff;
    font-size: 12px;
    font-weight: 800;
    letter-spacing: 0;
  }

  .initial-card li:last-child span {
    min-width: 52px;
    padding-inline: 10px;
  }

  .message-photo {
    display: none;
  }

  .section-dark {
    background: #102a43;
  }

  .message-card {
    padding: 22px;
  }

  .message-card .signature {
    margin-top: 18px;
  }

  .tel-box {
    padding: 20px;
  }

  .tel-box a {
    display: inline-block;
    font-size: clamp(22px, 6vw, 24px);
    white-space: normal;
  }

  .static-form {
    gap: 14px;
  }

  .static-form input,
  .static-form select,
  .static-form textarea {
    padding: 12px 13px;
    font-size: 15px;
  }

  .static-form fieldset {
    padding: 14px;
  }

  .static-form legend {
    padding: 0 4px;
    font-size: 15px;
  }

  .static-form fieldset label {
    font-size: 14px;
  }

  .static-form .btn {
    width: 100%;
  }

  .form-note,
  .form-error {
    font-size: 13px;
  }

  .site-footer {
    padding: 34px 0 22px;
    background: #eaf1f5;
    font-size: 14px;
    line-height: 1.68;
    text-align: center;
  }

  .footer-grid {
    display: grid;
    max-width: 560px;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 14px;
    align-items: stretch;
    margin-inline: auto;
  }

  .footer-grid > div:first-child {
    grid-column: 1 / -1;
    padding: 18px 16px;
    border: 1px solid rgba(23, 50, 77, .12);
    border-radius: 16px;
    background: rgba(255, 255, 255, .66);
  }

  .footer-grid > div:not(:first-child) {
    display: flex;
    min-height: 188px;
    flex-direction: column;
    align-items: center;
    padding: 15px 8px;
    border: 1px solid rgba(23, 50, 77, .10);
    border-radius: 14px;
    background: rgba(255, 255, 255, .50);
  }

  .site-footer h2 {
    margin-bottom: 10px;
    color: var(--navy);
    font-size: 15.4px;
    line-height: 1.35;
  }

  .site-footer h3 {
    margin-bottom: 11px;
    color: var(--navy);
    font-size: 15.4px;
    line-height: 1.35;
  }

  .site-footer p {
    margin-bottom: 7px;
  }

  .site-footer ul {
    display: grid;
    width: 100%;
    gap: 7px;
  }

  .site-footer li {
    margin: 0;
  }

  .site-footer a {
    display: inline-block;
    color: #1d5b84;
    font-size: 13px;
    line-height: 1.5;
  }

  .footer-emphasis {
    display: inline-block;
    color: #0f3c5c;
    font-weight: 900;
  }

  .copyright {
    width: min(560px, calc(100% - 28px));
    margin: 16px auto 0;
    padding-top: 14px;
    text-align: center;
    color: #5c6b75;
    font-size: 12px;
  }
}

@media (max-width: 360px) {
  .container {
    width: min(100% - 24px, var(--max));
  }

  .site-logo img {
    width: min(168px, 54vw);
  }

  .nav-toggle {
    min-width: 64px;
    min-height: 42px;
    font-size: 12px;
  }

  .hero-mobile-media img {
    height: 280px;
    object-position: 100% center;
  }

  .check-list.two-col {
    gap: 7px 8px;
  }

  .check-list li {
    font-size: 13px;
  }

  .info-card,
  .text-card,
  .mini-card,
  .contact-card,
  .message-card,
  .initial-card,
  .tel-box {
    padding: 19px;
  }

  .footer-grid {
    gap: 12px;
  }

  .footer-grid > div:first-child {
    padding: 16px 14px;
  }

  .footer-grid > div:not(:first-child) {
    min-height: 180px;
    padding: 14px 6px;
  }

  .site-footer a {
    font-size: 12.5px;
  }
}

/* Mobile-only hero final adjustment: text readability and photo balance */
.hero-description .sp-line {
  display: inline;
}

@media (max-width: 640px) {
  .hero {
    display: flex;
    align-items: flex-end;
    min-height: clamp(382px, 100vw, 465px);
    padding: clamp(112px, 31vw, 155px) 0 18px;
    overflow: hidden;
    background: #f7f9fb;
  }

  .hero::before {
    display: block;
    background-size: auto 116%;
    background-position: 82% 60%;
  }

  .hero::after {
    display: block;
    background:
      linear-gradient(180deg,
        rgba(255, 255, 255, .03) 0%,
        rgba(255, 255, 255, 0) 48%,
        rgba(255, 255, 255, .18) 74%,
        rgba(255, 255, 255, .46) 100%),
      linear-gradient(90deg,
        rgba(255, 255, 255, .20) 0%,
        rgba(255, 255, 255, .05) 38%,
        rgba(255, 255, 255, 0) 72%);
  }

  .hero-grid::before,
  .hero-mobile-media {
    display: none;
  }

  .hero-grid {
    padding-top: 0;
  }

  .hero-copy {
    display: inline-block;
    width: fit-content;
    max-width: calc(100vw - 28px);
    padding: 16px 17px 15px;
    border: 1px solid rgba(255, 255, 255, .78);
    border-radius: 16px;
    background: rgba(255, 255, 255, .78);
    box-shadow: 0 12px 30px rgba(15, 37, 58, .10);
    backdrop-filter: blur(5px);
  }

  .hero .eyebrow {
    margin-bottom: 8px;
    font-size: 11px;
    letter-spacing: .12em;
  }

  .hero .eyebrow::before {
    width: 30px;
  }

  .hero h1 {
    margin-bottom: 7px;
    font-size: clamp(18px, 5.1vw, 20px);
    line-height: 1.34;
    white-space: nowrap;
  }

  .hero-copy > p:first-of-type {
    margin-bottom: 0;
    font-weight: 400;
  }

  .hero p {
    max-width: none;
    margin-bottom: 7px;
    color: #1f2f3a;
    font-size: 14px;
    line-height: 1.72;
    letter-spacing: 0;
    white-space: nowrap;
  }

  .hero-description .sp-line {
    display: block;
  }

  .hero-description .pc-br {
    display: none;
  }

  .hero-copy > p:last-of-type {
    margin-bottom: 0;
  }

  .hero + .section {
    padding-top: 28px;
  }
}

@media (max-width: 370px) {
  .hero {
    min-height: 450px;
    padding-bottom: 22px;
  }

  .hero-copy {
    width: fit-content;
    max-width: calc(100vw - 24px);
    padding: 15px 15px 14px;
  }
}
