:root {
  --navy: #08284a;
  --cyan: #00a9d6;
  --cyan-deep: #0ea1be;
  --bg-soft: #f0f4f7;
  --text: #333;
  --line: #6f7782;
  --card: #e8f0f5;
  --orange: #f49221;
  --orange-deep: #eb7f00;
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  font-family: "Hiragino Kaku Gothic ProN", "Yu Gothic", "YuGothic", "Meiryo", sans-serif;
  line-height: 1.6;
  color: var(--text);
  background: #fff;
}

header {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  background: linear-gradient(90deg, #0f7fbf 0%, #06a9cb 100%);
  color: #fff;
  padding: 8px 0;
  display: flex;
  justify-content: flex-end;
  align-items: center;
  z-index: 1000;
}

.container {
  width: min(100%, 1120px);
  margin: 0 auto;
  padding: 0 20px;
}

header .container {
  width: 100%;
  max-width: none;
  display: flex;
  justify-content: flex-end;
  align-items: center;
  padding: 0 20px;
}

header nav a {
  color: #fff;
  text-decoration: none;
  margin-left: 24px;
  font-size: 16px;
  font-weight: 700;
}

header nav a:hover {
  opacity: 0.7;
}

.hero {
  margin-top: 40px;
  min-height: 700px;
  display: flex;
  align-items: flex-start;
  background:
    url("bg.png") center/cover no-repeat;
}

.hero-inner {
  width: min(100%, 1120px);
  margin: 0 auto;
  padding: 74px 100px 0 0;
  transform: translateX(clamp(-210px, -14vw, -100px));
}

.hero h1 {
  margin: 0;
  font-size: clamp(34px, 5.3vw, 56px);
  line-height: 1.35;
  color: #fff;
  font-weight: 800;
  letter-spacing: 0.02em;
  text-shadow: 0 2px 10px rgba(0, 0, 0, 0.25);
}

.hero-em {
  color: #0b2340;
  text-shadow: none;
}

.hero .cta {
  margin-top: 28px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  background: linear-gradient(180deg, #ffad44 0%, var(--orange) 60%, var(--orange-deep) 100%);
  color: #fff;
  text-decoration: none;
  font-weight: 800;
  font-size: 26px;
  border-radius: 10px;
  width: 300px;
  height: 86px;
  box-shadow: 0 6px 12px rgba(0, 0, 0, 0.2);
  letter-spacing: 0.03em;
}

.stats {
  background: var(--navy);
  color: #00c1ef;
}

.stats .container {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  padding-top: 18px;
  padding-bottom: 18px;
}

.stat {
  text-align: center;
  font-size: clamp(30px, 4vw, 46px);
  line-height: 1.35;
  font-weight: 700;
  letter-spacing: 0.03em;
  border-right: 1px dotted rgba(255, 255, 255, 0.45);
}

.stat:last-child {
  border-right: none;
}

section {
  padding: 72px 0;
  text-align: center;
}

.section-lead {
  color: var(--cyan);
  font-size: 38px;
  font-weight: 800;
  margin: 0;
  letter-spacing: 0.03em;
}

.section-title {
  margin: 6px 0 28px;
  font-size: clamp(34px, 5.2vw, 50px);
  line-height: 1.2;
  color: #2f3338;
  letter-spacing: 0.03em;
}

.company-copy {
  max-width: 930px;
  margin: 0 auto 28px;
  font-size: clamp(10px, 1.5vw, 24px);
  line-height: 1.7;
  color: #3b3f45;
}

.company-table-wrap {
  max-width: 920px;
  margin: 0 auto;
  background: var(--card);
  border-radius: 10px;
  padding: 20px 28px;
}

.company-table {
  width: 100%;
  border-collapse: collapse;
  table-layout: fixed;
  font-size: clamp(16px, 2.1vw, 32px);
  text-align: left;
  font-weight: 700;
}

.company-table tr {
  border-bottom: 1px solid var(--line);
}

.company-table tr:last-child {
  border-bottom: none;
}

.company-table th,
.company-table td {
  padding: 10px 8px;
  vertical-align: top;
  line-height: 1.35;
}

.company-table th {
  width: 20%;
  color: var(--cyan);
  font-weight: 800;
  white-space: nowrap;
}

.company-table td {
  color: #333;
  word-break: keep-all;
}

#service {
  background: #fff;
}

.service-grid {
  max-width: 980px;
  margin: 0 auto;
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 18px;
  text-align: left;
}

.service-card {
  border: 1px solid #66c2de;
  border-radius: 12px;
  background: #fff;
  padding: 16px 18px;
}

.service-card h3 {
  margin: 0 0 8px;
  color: #2f3338;
  font-size: clamp(21px, 3.1vw, 36px);
  line-height: 1.3;
}

.service-card p {
  margin: 0;
  font-size: clamp(15px, 1.9vw, 18px);
  line-height: 1.5;
  color: #363b42;
}

.service-summary {
  max-width: 980px;
  margin: 28px auto 0;
  font-size: clamp(10px, 1.5vw, 24px);
  line-height: 1.7;
  color: #3b3f45;
}

#contact {
  background: var(--bg-soft);
}

.contact-lead {
  margin: 0 auto 28px;
  max-width: 800px;
  font-size: clamp(12px, 2.7vw, 24px);
  line-height: 1.7;
  color: #3b3f45;
}

.contact-form {
  max-width: 700px;
  margin: 0 auto;
  text-align: left;
}

.contact-form label {
  display: block;
  margin-bottom: 8px;
  font-size: clamp(16px, 2.2vw, 28px);
  font-weight: 700;
  color: #2f3338;
}

.required {
  color: #dd3131;
  margin-left: 6px;
}

.contact-form input,
.contact-form textarea {
  width: 100%;
  border: 1px solid #98a2ad;
  border-radius: 4px;
  padding: 14px 16px;
  font-size: clamp(16px, 2.1vw, 26px);
  font-family: inherit;
  margin-bottom: 18px;
  background: #fff;
}

.contact-form textarea {
  min-height: 130px;
  resize: vertical;
}

.privacy {
  display: flex;
  align-items: center;
  gap: 8px;
  margin-bottom: 18px;
  font-size: clamp(15px, 1.9vw, 24px);
  color: #2f3338;
}

.privacy input {
  width: 15px;
  height: 15px;
  margin: 0;
}

.submit-wrap {
  text-align: center;
  margin-top: 50px;
}

.submit-btn {
  width: 260px;
  max-width: 100%;
  height: 68px;
  border: none;
  border-radius: 8px;
  background: var(--cyan-deep);
  color: #fff;
  font-size: clamp(18px, 2.2vw, 26px);
  font-weight: 700;
  cursor: pointer;
}

footer {
  background: var(--navy);
  color: #fff;
  text-align: center;
  padding: 28px 20px 14px;
  font-size: clamp(15px, 1.8vw, 22px);
}

footer {
  line-height: 1.8;
}

.footer-nav {
  margin-top: 14px;
  display: flex;
  justify-content: flex-end;
  gap: 22px;
  flex-wrap: wrap;
}

.footer-nav a {
  color: #fff;
  text-decoration: none;
}

@media (max-width: 768px) {
  .hero-inner {
    padding: 28px 20px 0;
    transform: none;
  }

  header nav a {
    margin-left: 14px;
    font-size: 13px;
  }

  .hero {
    min-height: 420px;
  }

  .hero .cta {
    width: 220px;
    height: 62px;
    font-size: 24px;
    border-radius: 8px;
  }

  .stats .container {
    grid-template-columns: 1fr;
    gap: 12px;
  }

  .stat {
    border-right: none;
    border-bottom: 1px dotted rgba(255, 255, 255, 0.45);
    padding-bottom: 10px;
  }

  .stat:last-child {
    border-bottom: none;
    padding-bottom: 0;
  }

  .company-table-wrap {
    padding: 14px;
  }

  .company-table,
  .company-table tbody,
  .company-table tr,
  .company-table th,
  .company-table td {
    display: block;
    width: 100%;
  }

  .company-table th {
    padding-bottom: 4px;
  }

  .company-table td {
    padding-top: 0;
    padding-bottom: 10px;
  }

  .service-grid {
    grid-template-columns: 1fr;
  }

  .submit-btn {
    height: 62px;
  }
}

@media (max-width: 460px) {
  header {
    padding: 6px 0;
  }

  header nav {
    display: flex;
    gap: 10px;
  }

  header nav a {
    margin-left: 0;
    font-size: 12px;
  }

  .footer-nav {
    flex-wrap: nowrap;
    gap: 10px;
    font-size: 11px;
  }

  .footer-nav a {
    white-space: nowrap;
  }
}
