:root {
  --navy: #0b2341;
  --navy-dark: #07182d;
  --blue: #1e5a92;
  --line: #06c755;
  --white: #ffffff;
  --gray-50: #f7f9fb;
  --gray-100: #eef2f6;
  --gray-200: #dce3ea;
  --gray-600: #596775;
  --gray-900: #1f2933;
  --shadow: 0 16px 40px rgba(11, 35, 65, 0.10);
  --radius: 8px;
  --header-height: 72px;
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
  scroll-padding-top: var(--header-height);
}

body {
  margin: 0;
  color: var(--gray-900);
  background: var(--white);
  font-family: "Hiragino Kaku Gothic ProN", "Yu Gothic", Meiryo, sans-serif;
  line-height: 1.8;
  letter-spacing: 0;
}

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

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

.container {
  width: min(1080px, calc(100% - 40px));
  margin: 0 auto;
}

.site-header {
  position: sticky;
  top: 0;
  z-index: 50;
  background: rgba(255, 255, 255, 0.96);
  border-bottom: 1px solid var(--gray-200);
  backdrop-filter: blur(12px);
}

.header-inner {
  min-height: var(--header-height);
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
}

.site-logo {
  display: flex;
  align-items: center;
  gap: 12px;
  min-width: 220px;
}

.logo-box {
  width: 50px;
  height: 50px;
  display: grid;
  place-items: center;
  overflow: hidden;
  border: 1px solid var(--gray-200);
  border-radius: var(--radius);
  background: var(--white);
}

.logo-box img {
  width: 100%;
  height: 100%;
  object-fit: contain;
}

.logo-fallback {
  display: none;
  width: 100%;
  height: 100%;
  place-items: center;
  background: var(--navy);
  color: var(--white);
  font-size: 12px;
  font-weight: 800;
}

.logo-text {
  display: grid;
  line-height: 1.35;
}

.logo-text strong {
  color: var(--navy);
  font-size: 17px;
}

.logo-text small {
  color: var(--gray-600);
  font-size: 12px;
}

.site-nav {
  display: flex;
  align-items: center;
  gap: 12px;
  color: var(--gray-600);
  font-size: 13px;
  font-weight: 700;
}

.site-nav a:hover {
  color: var(--blue);
}

.menu-button {
  display: none;
  width: 44px;
  height: 44px;
  padding: 10px;
  border: 1px solid var(--gray-200);
  border-radius: var(--radius);
  background: var(--white);
}

.menu-button span {
  display: block;
  height: 2px;
  margin: 6px 0;
  background: var(--navy);
}

.hero-section {
  padding: 68px 0;
  background: linear-gradient(120deg, #ffffff 0%, #f3f7fb 58%, #e4edf5 100%);
}

.hero-grid,
.section-grid,
.contact-grid,
.contact-layout,
.footer-inner {
  display: grid;
  grid-template-columns: 0.9fr 1.1fr;
  gap: 48px;
  align-items: center;
}

.hero-copy {
  max-width: 680px;
}

.label {
  margin: 0 0 10px;
  color: var(--blue);
  font-size: 12px;
  font-weight: 800;
  letter-spacing: 0;
}

.label-light {
  color: #9bd5ff;
}

h1,
h2,
h3,
p {
  overflow-wrap: anywhere;
}

h1 {
  margin: 0;
  color: var(--navy);
  font-size: clamp(34px, 5.4vw, 56px);
  line-height: 1.15;
  font-weight: 900;
}

h2 {
  margin: 0 0 18px;
  color: var(--navy);
  font-size: clamp(24px, 3.2vw, 34px);
  line-height: 1.35;
  font-weight: 900;
}

h3 {
  margin: 0 0 10px;
  color: var(--navy);
  font-size: 18px;
  line-height: 1.45;
}

p {
  margin: 0;
}

.hero-lead {
  margin-top: 16px;
  color: var(--navy);
  font-size: clamp(18px, 2.2vw, 22px);
  font-weight: 800;
  line-height: 1.6;
}

.hero-text,
.section-grid p,
.section-title p,
.customer-card p {
  color: var(--gray-600);
}

.hero-text {
  margin-top: 18px;
}

.button-group {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  margin-top: 24px;
}

.button {
  min-height: 48px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border: 1px solid transparent;
  border-radius: var(--radius);
  padding: 12px 20px;
  font-weight: 800;
  line-height: 1.4;
  transition: transform 0.2s ease, box-shadow 0.2s ease;
}

.button:hover {
  transform: translateY(-1px);
  box-shadow: 0 10px 24px rgba(11, 35, 65, 0.16);
}

.button-primary {
  background: var(--navy);
  color: var(--white);
}

.button-outline {
  background: var(--white);
  color: var(--navy);
  border-color: var(--gray-200);
}

.button-white {
  background: var(--white);
  color: var(--navy);
}

.button-outline-white {
  color: var(--white);
  border-color: rgba(255, 255, 255, 0.45);
}

.button-disabled,
.button-disabled-dark {
  cursor: not-allowed;
  transform: none;
  box-shadow: none;
}

.button-disabled {
  background: var(--gray-100);
  color: var(--gray-600);
  border-color: var(--gray-200);
}

.button-disabled-dark {
  background: rgba(255, 255, 255, 0.14);
  color: #d8e5f0;
  border-color: rgba(255, 255, 255, 0.18);
}

.hero-card {
  min-height: 260px;
  display: flex;
  flex-direction: column;
  justify-content: flex-end;
  gap: 12px;
  padding: 28px;
  border-radius: var(--radius);
  background:
    linear-gradient(135deg, rgba(11, 35, 65, 0.94), rgba(30, 90, 146, 0.84)),
    repeating-linear-gradient(45deg, #e8eef5 0 12px, #dfe7ef 12px 24px);
  color: var(--white);
  box-shadow: var(--shadow);
}

.hero-card p {
  color: #b9d7f0;
  font-weight: 800;
}

.hero-card strong {
  font-size: clamp(24px, 3.4vw, 34px);
  line-height: 1.3;
}

.hero-card span {
  color: #e8f1f8;
}

.section {
  padding: 64px 0;
}

.section-light {
  background: var(--gray-50);
}

.notice-section {
  padding: 44px 0;
}

.notice-box {
  padding: 30px;
  border: 1px solid var(--gray-200);
  border-left: 5px solid var(--blue);
  border-radius: var(--radius);
  background: var(--white);
  box-shadow: var(--shadow);
}

.notice-box p {
  color: var(--gray-600);
}

.section-heading {
  align-self: start;
}

.section-title {
  max-width: 760px;
  margin-bottom: 26px;
}

.feature-grid,
.service-grid,
.customer-grid {
  display: grid;
  gap: 16px;
}

.feature-grid {
  grid-template-columns: repeat(2, 1fr);
  margin-top: 22px;
}

.simple-card,
.customer-card {
  padding: 22px;
  border: 1px solid var(--gray-200);
  border-radius: var(--radius);
  background: var(--white);
}

.simple-card p {
  color: var(--gray-600);
}

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

.service-grid span {
  min-height: 78px;
  display: flex;
  align-items: center;
  padding: 18px;
  border-radius: var(--radius);
  border-left: 4px solid var(--blue);
  background: var(--white);
  color: var(--navy);
  font-weight: 800;
  box-shadow: 0 8px 22px rgba(11, 35, 65, 0.06);
}

.customer-grid {
  grid-template-columns: repeat(2, 1fr);
}

.customer-card {
  min-height: 210px;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
}

.text-link {
  margin-top: 20px;
  color: var(--blue);
  font-weight: 800;
}

.pill-list {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin: 24px 0 0;
  padding: 0;
  list-style: none;
}

.pill-list li,
.payment-list span {
  padding: 10px 14px;
  border-radius: 999px;
  background: var(--white);
  border: 1px solid var(--gray-200);
  color: var(--navy);
  font-weight: 800;
}

.small-note {
  margin-top: 20px;
  padding: 16px;
  border-radius: var(--radius);
  background: #fff;
  border: 1px solid var(--gray-200);
  font-size: 14px;
}

.price-table-block {
  margin-top: 26px;
  padding: 22px;
  border: 1px solid var(--gray-200);
  border-radius: var(--radius);
  background: var(--white);
  box-shadow: 0 8px 22px rgba(11, 35, 65, 0.06);
}

.price-table-head h3 {
  margin-bottom: 8px;
}

.price-table-head p {
  font-size: 14px;
}

.price-table-wrap {
  margin-top: 18px;
  overflow-x: auto;
}

.price-table {
  width: 100%;
  border-collapse: collapse;
  min-width: 520px;
  background: var(--white);
}

.price-table th,
.price-table td {
  padding: 13px 15px;
  border-bottom: 1px solid var(--gray-200);
  text-align: left;
  vertical-align: top;
}

.price-table th {
  background: var(--navy);
  color: var(--white);
  font-size: 14px;
}

.price-table td:last-child {
  color: var(--navy);
  font-weight: 800;
}

.price-table-note {
  margin-top: 16px;
  padding: 14px 16px;
  border-radius: var(--radius);
  background: var(--gray-50);
  border: 1px solid var(--gray-200);
  color: var(--gray-600);
  font-size: 14px;
}

.payment-list {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin-top: 24px;
}

.area-card {
  display: grid;
  grid-template-columns: 1.1fr 0.9fr;
  gap: 28px;
  align-items: center;
  padding: 34px;
  border-radius: var(--radius);
  background: var(--white);
  box-shadow: var(--shadow);
}

.area-card p {
  color: var(--gray-600);
}

.area-card strong {
  padding: 22px;
  border-radius: var(--radius);
  background: var(--navy);
  color: var(--white);
  font-size: 20px;
  line-height: 1.6;
}

.company-list {
  margin: 0;
  border-top: 1px solid var(--gray-200);
}

.company-list div {
  display: grid;
  grid-template-columns: 150px 1fr;
  gap: 20px;
  padding: 17px 0;
  border-bottom: 1px solid var(--gray-200);
}

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

.company-list dd {
  margin: 0;
  color: var(--gray-600);
}

.contact-section {
  background: var(--navy);
  color: var(--white);
}

.contact-section h2,
.contact-section h3 {
  color: var(--white);
}

.contact-section p {
  color: #d8e5f0;
}

.contact-layout {
  grid-template-columns: 1fr 0.55fr;
}

.contact-main {
  max-width: 760px;
}

.contact-button-group {
  display: grid;
  grid-template-columns: repeat(2, minmax(220px, 1fr));
  gap: 12px;
  margin-top: 26px;
}

.contact-button-group .button {
  min-height: 58px;
  font-size: 17px;
}

.contact-note {
  margin-top: 20px;
  font-size: 14px;
}

.contact-info {
  display: grid;
  gap: 4px;
  margin-top: 18px;
  padding: 16px;
  border-radius: var(--radius);
  background: rgba(255, 255, 255, 0.10);
}

.contact-info p {
  color: var(--white);
  font-weight: 800;
}

.contact-line-note {
  margin-top: 18px;
  padding: 14px 16px;
  border-radius: var(--radius);
  background: rgba(255, 255, 255, 0.10);
  color: var(--white);
  font-weight: 800;
}

.form-status {
  align-self: start;
  padding: 22px;
  border-radius: var(--radius);
  background: rgba(255, 255, 255, 0.08);
  border: 1px solid rgba(255, 255, 255, 0.16);
}

.form-status h3 {
  color: var(--white);
}

.form-status .button {
  width: 100%;
  margin-top: 18px;
}

.site-footer {
  padding: 34px 0 82px;
  background: var(--navy-dark);
  color: var(--white);
}

.footer-inner {
  grid-template-columns: 1fr auto;
  gap: 24px;
}

.site-footer p,
.site-footer a {
  color: #c8d7e4;
}

.footer-links {
  display: flex;
  flex-wrap: wrap;
  gap: 14px;
  font-weight: 700;
}

.copyright {
  width: min(1080px, calc(100% - 40px));
  margin: 20px auto 0;
  color: #8fa5b8;
  font-size: 13px;
}

.mobile-fixed-buttons {
  display: none;
}

@media (max-width: 980px) {
  .site-nav {
    gap: 10px;
    font-size: 13px;
  }

  .service-grid {
    grid-template-columns: repeat(2, 1fr);
  }
}

@media (max-width: 820px) {
  :root {
    --header-height: 68px;
  }

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

  .logo-text small {
    display: none;
  }

  .site-logo {
    min-width: 0;
  }

  .menu-button {
    display: block;
  }

  .site-nav {
    position: absolute;
    top: var(--header-height);
    left: 0;
    right: 0;
    display: none;
    grid-template-columns: 1fr;
    gap: 0;
    padding: 8px 20px 20px;
    border-bottom: 1px solid var(--gray-200);
    background: var(--white);
    box-shadow: var(--shadow);
  }

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

  .site-nav a {
    padding: 13px 0;
    border-bottom: 1px solid var(--gray-200);
  }

  .hero-section {
    padding: 48px 0 54px;
  }

  .hero-grid,
  .section-grid,
  .contact-grid,
  .contact-layout,
  .footer-inner,
  .area-card {
    grid-template-columns: 1fr;
    gap: 30px;
  }

  .section {
    padding: 52px 0;
  }

  .notice-section {
    padding: 34px 0;
  }

  .hero-card {
    min-height: 260px;
  }

  .feature-grid,
  .customer-grid {
    grid-template-columns: 1fr;
  }

  .button-group {
    display: grid;
    grid-template-columns: 1fr;
  }

  .button {
    width: 100%;
  }

  .contact-button-group {
    grid-template-columns: 1fr;
  }

  .price-table {
    min-width: 0;
  }

  .price-table,
  .price-table thead,
  .price-table tbody,
  .price-table tr,
  .price-table th,
  .price-table td {
    display: block;
  }

  .price-table thead {
    display: none;
  }

  .price-table tr {
    margin-bottom: 10px;
    padding: 14px;
    border: 1px solid var(--gray-200);
    border-radius: var(--radius);
    background: var(--white);
  }

  .price-table td {
    display: flex;
    justify-content: space-between;
    gap: 16px;
    padding: 6px 0;
    border-bottom: 1px dashed var(--gray-200);
  }

  .price-table td:last-child {
    border-bottom: 0;
    text-align: right;
  }

  .price-table td::before {
    content: attr(data-label);
    color: var(--gray-600);
    font-size: 13px;
    font-weight: 800;
    text-align: left;
  }

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

  .mobile-fixed-buttons {
    position: fixed;
    left: 12px;
    right: 12px;
    bottom: 12px;
    z-index: 60;
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 8px;
    padding: 8px;
    border: 1px solid var(--gray-200);
    border-radius: var(--radius);
    background: rgba(255, 255, 255, 0.96);
    box-shadow: var(--shadow);
  }

  .mobile-fixed-buttons a,
  .mobile-fixed-buttons span {
    min-height: 46px;
    display: grid;
    place-items: center;
    border-radius: 6px;
    background: var(--navy);
    color: var(--white);
    font-weight: 800;
  }

  .mobile-fixed-buttons .mail {
    background: var(--navy);
    color: var(--white);
  }
}

@media (max-width: 520px) {
  h1 {
    font-size: 34px;
  }

  h2 {
    font-size: 25px;
  }

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

  .notice-box,
  .hero-card,
  .area-card,
  .simple-card,
  .customer-card {
    padding: 22px;
  }
}
