/* base.css */
:root {
  --blue: #0068b7;
  --blue-deep: #073f78;
  --blue-bright: #00a0e9;
  --navy: #071827;
  --black-blue: #06101d;
  --black: #05070a;
  --black-soft: #171b20;
  --dark: #111820;
  --gray: #5e6872;
  --white: #fff;
  --orange-hot: #ff7a1a;
  --orange-red: #e94b2e;
  --border: #d8e0e7;
  --shadow: 0 22px 55px rgba(7, 24, 39, .14);
  --font-base: "ヒラギノ角ゴ W3 JIS2004", "Hiragino Kaku Gothic W3", "Hiragino Kaku Gothic ProN", "Hiragino Sans", "Yu Gothic Medium", "Yu Gothic", YuGothic, Meiryo, sans-serif;
  --font-heading: "ヒラギノ角ゴ W3 JIS2004", "Hiragino Kaku Gothic W3", "Hiragino Kaku Gothic ProN", "Hiragino Sans", "Yu Gothic", YuGothic, Meiryo, sans-serif;
  --font-hero: "ヒラギノ角ゴ W3 JIS2004", "Hiragino Kaku Gothic W3", "Hiragino Kaku Gothic ProN", "Hiragino Sans", "Yu Gothic", YuGothic, Meiryo, sans-serif;
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
  -webkit-text-size-adjust: 100%;
}

body {
  margin: 0;
  color: var(--dark);
  background:
    radial-gradient(circle at 12% 8%, rgba(0, 160, 233, .08), transparent 28%),
    linear-gradient(180deg, #fff 0%, #f1f5f8 48%, #fff 100%);
  font-family: var(--font-base);
  line-height: 1.85;
  letter-spacing: .035em;
  font-feature-settings: "palt" 1;
  overflow-x: hidden;
}

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

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

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

:focus-visible {
  outline: 3px solid rgba(0, 160, 233, .75);
  outline-offset: 4px;
}

.skip-link {
  position: absolute;
  left: 16px;
  top: -80px;
  z-index: 100;
  background: var(--navy);
  color: #fff;
  padding: 10px 16px;
  border-radius: 8px;
  font-family: var(--font-heading);
  font-weight: 800;
}

.skip-link:focus {
  top: 16px;
}

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

.section {
  padding: 92px 0;
  background:
    radial-gradient(circle at top right, rgba(0, 160, 233, .07), transparent 34%),
    linear-gradient(180deg, #fff 0%, #f6f8fa 100%);
}

.section + .section {
  border-top: 1px solid rgba(7, 24, 39, .06);
}

.section-light {
  background:
    radial-gradient(circle at top left, rgba(0, 160, 233, .10), transparent 30%),
    radial-gradient(circle at bottom right, rgba(5, 7, 10, .08), transparent 34%),
    linear-gradient(135deg, #fff 0%, #edf3f7 48%, #dfe6eb 100%);
}

.section-dark {
  background:
    radial-gradient(circle at top right, rgba(0, 160, 233, .20), transparent 36%),
    linear-gradient(135deg, var(--blue-deep) 0%, var(--black-blue) 48%, var(--blue) 100%);
  color: #fff;
}

.eyebrow {
  color: var(--blue);
  font-family: var(--font-heading);
  font-size: 12.5px;
  font-weight: 800;
  letter-spacing: .18em;
  margin: 0 0 14px;
}

.section-dark .eyebrow,
.cta .eyebrow {
  color: var(--blue-bright);
}

h1,
h2,
h3 {
  font-family: var(--font-heading);
  line-height: 1.38;
  margin: 0;
  font-weight: 800;
  letter-spacing: .04em;
}

h1 {
  font-size: clamp(26px, 3.2vw, 38px);
}

h2 {
  font-size: clamp(20px, 2.2vw, 26px);
  margin-bottom: 20px;
}

h3 {
  font-size: 18px;
  margin-bottom: 10px;
}

p {
  margin: 0;
}

.lead {
  font-size: clamp(14.5px, 1.6vw, 16px);
  color: var(--gray);
  max-width: 820px;
}

.lead + .lead {
  margin-top: 14px;
}

.section-dark .lead {
  color: rgba(255, 255, 255, .84);
}

.btn-row {
  display: flex;
  gap: 14px;
  flex-wrap: wrap;
  margin-top: 32px;
}

.btn-row-center {
  justify-content: center;
}

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 52px;
  padding: 0 26px;
  border: 0;
  border-radius: 999px;
  font-family: var(--font-heading);
  font-weight: 800;
  font-size: 14.5px;
  line-height: 1.4;
  cursor: pointer;
  transition: .22s ease;
}

.btn-primary {
  color: #fff;
  background: linear-gradient(135deg, var(--orange-hot), var(--orange-red));
  box-shadow: 0 14px 30px rgba(240, 100, 35, .34);
}

.btn-primary:hover {
  transform: translateY(-2px);
  box-shadow: 0 18px 40px rgba(233, 75, 46, .42);
}

.btn-secondary {
  color: var(--navy);
  background: #fff;
  border: 1px solid var(--border);
  box-shadow: 0 12px 28px rgba(7, 24, 39, .08);
}

.btn-secondary:hover {
  color: var(--blue);
  border-color: var(--blue-bright);
}

.site-header {
  position: sticky;
  top: 0;
  z-index: 30;
  background: rgba(255, 255, 255, .97);
  backdrop-filter: blur(14px);
  border-bottom: 4px solid var(--navy);
  box-shadow: 0 10px 30px rgba(7, 24, 39, .08);
}

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

.site-logo,
.footer-logo {
  display: inline-flex;
  align-items: center;
  flex-shrink: 0;
  background: #fff;
}

.site-logo img {
  width: 190px;
}

.nav {
  display: flex;
  align-items: center;
  gap: 18px;
  font-family: var(--font-heading);
  font-size: 13px;
  font-weight: 800;
  color: #27323c;
}

.nav a {
  white-space: nowrap;
  transition: .2s;
}

.nav a:hover,
.nav a[aria-current="page"] {
  color: var(--blue);
}

.nav .nav-contact {
  color: #fff;
  background: linear-gradient(135deg, var(--blue), var(--blue-bright));
  padding: 10px 17px;
  border-radius: 999px;
  box-shadow: 0 8px 22px rgba(0, 104, 183, .22);
}

.nav .nav-contact:hover,
.nav .nav-contact[aria-current="page"] {
  color: #fff;
  background: linear-gradient(135deg, var(--orange-hot), var(--orange-red));
}

.menu-toggle {
  position: absolute;
  opacity: 0;
  pointer-events: none;
}

.menu-button {
  display: none;
  width: 46px;
  height: 46px;
  border: 1px solid var(--border);
  border-radius: 12px;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  background: linear-gradient(135deg, var(--blue-deep), var(--black-blue), var(--blue));
}

.menu-button span,
.menu-button span::before,
.menu-button span::after {
  content: "";
  display: block;
  width: 22px;
  height: 2px;
  background: #fff;
  border-radius: 999px;
  transition: .2s;
  position: relative;
}

.menu-button span::before {
  position: absolute;
  top: -7px;
}

.menu-button span::after {
  position: absolute;
  top: 7px;
}

.mobile-nav {
  display: none;
  position: sticky;
  top: 82px;
  z-index: 25;
  background: #fff;
  border-bottom: 1px solid var(--border);
  box-shadow: 0 14px 30px rgba(7, 24, 39, .08);
}

.mobile-nav-inner {
  width: min(1140px, calc(100% - 40px));
  margin: 0 auto;
  padding: 18px 0 24px;
  display: grid;
  gap: 10px;
}

.mobile-nav a {
  font-family: var(--font-heading);
  font-weight: 800;
  padding: 13px 14px;
  border-radius: 12px;
  background: linear-gradient(180deg, #fff, #eef2f5);
  border: 1px solid var(--border);
}

.mobile-nav a:hover,
.mobile-nav a.mobile-current,
.mobile-nav a[aria-current="page"] {
  color: var(--blue);
  border-color: rgba(0, 160, 233, .48);
}

.mobile-nav a.mobile-contact {
  color: #fff;
  background: linear-gradient(135deg, var(--orange-hot), var(--orange-red));
  border-color: transparent;
  text-align: center;
}

.page-hero {
  position: relative;
  overflow: hidden;
  color: #fff;
  background:
    linear-gradient(135deg, rgba(7, 63, 120, .68), rgba(6, 16, 29, .60), rgba(0, 104, 183, .46)),
    radial-gradient(circle at bottom left, rgba(0, 160, 233, .18), transparent 34%),
    url("../img/e52b6938-4dc3-47ed-8b0a-820bc590244e.jpg") center / cover no-repeat;
}

.page-hero::after,
.cta::after {
  content: "";
  position: absolute;
  inset: auto 0 0;
  height: 12px;
  background: linear-gradient(90deg, var(--blue-deep), var(--black-blue), var(--blue-bright));
  pointer-events: none;
}

.page-hero-inner {
  position: relative;
  z-index: 2;
  min-height: 430px;
  display: grid;
  align-items: center;
  padding: 82px 0;
}

.page-hero h1 {
  font-family: var(--font-hero);
  color: #fff;
  text-shadow: 0 18px 45px rgba(0, 0, 0, .28);
}

.page-hero .lead {
  color: rgba(255, 255, 255, .92);
  margin-top: 20px;
  text-shadow: 0 8px 24px rgba(0, 0, 0, .24);
}

.breadcrumb {
  display: flex;
  align-items: center;
  flex-wrap: wrap;
  gap: 10px;
  margin-top: 34px;
  color: rgba(255, 255, 255, .82);
  font-family: var(--font-heading);
  font-size: 13px;
  font-weight: 800;
}

.page-lead-layout {
  display: grid;
  grid-template-columns: .82fr 1.18fr;
  gap: 64px;
  align-items: start;
}

.section-title {
  position: sticky;
  top: 116px;
}

.page-text {
  color: #313b45;
  font-size: 15.5px;
}

.page-text p + p {
  margin-top: 22px;
}

.page-text ul,
.page-text ol {
  margin: 16px 0 0;
  padding-left: 1.4em;
  color: #313b45;
}

.section-dark .page-text,
.section-dark .page-text p,
.section-dark .page-text ul,
.section-dark .page-text ol {
  color: rgba(255, 255, 255, .84);
}

.company-info {
  display: grid;
  gap: 0;
  margin-top: 36px;
  overflow: hidden;
  border: 1px solid rgba(216, 224, 231, .95);
  border-radius: 24px;
  background: #fff;
  box-shadow: 0 18px 42px rgba(7, 24, 39, .11);
}

.company-row {
  display: grid;
  grid-template-columns: 220px 1fr;
  gap: 22px;
  margin: 0;
  padding: 20px 24px;
  border-bottom: 1px solid rgba(7, 24, 39, .08);
}

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

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

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

.service-card,
.feature-card,
.category-card,
.strength-item,
.case-card,
.step-item,
.faq-item,
.equipment-item {
  position: relative;
  overflow: hidden;
  background: linear-gradient(180deg, #fff 0%, #f4fbff 100%);
  border: 1px solid rgba(216, 224, 231, .95);
  border-radius: 24px;
  padding: 26px 22px;
  box-shadow: 0 18px 42px rgba(7, 24, 39, .11);
}

.service-card::before,
.feature-card::before,
.category-card::before,
.strength-item::before,
.case-card::before,
.step-item::before,
.faq-item::before,
.equipment-item::before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 6px;
  background: linear-gradient(90deg, var(--blue-deep), var(--black-soft), var(--blue-bright));
}

.service-number,
.feature-number,
.category-number {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 38px;
  height: 38px;
  margin-bottom: 18px;
  color: #fff;
  background: linear-gradient(135deg, var(--blue), var(--blue-deep));
  border-radius: 50%;
  font-family: var(--font-heading);
  font-weight: 800;
  font-size: 13px;
}

.cta {
  position: relative;
  overflow: hidden;
  background:
    linear-gradient(135deg, rgba(7, 63, 120, .78), rgba(6, 16, 29, .70), rgba(0, 104, 183, .58)),
    url("../img/36a9e0646c784912a6310d61.png") center / cover no-repeat;
  color: #fff;
  text-align: center;
  padding: 94px 20px;
}

.cta .container {
  position: relative;
  z-index: 2;
}

.cta .lead {
  color: rgba(255, 255, 255, .92);
  margin-left: auto;
  margin-right: auto;
  text-shadow: 0 8px 24px rgba(0, 0, 0, .24);
}

.cta h2 {
  color: #fff;
  text-shadow: 0 12px 32px rgba(0, 0, 0, .25);
}

.site-footer {
  background: #fff;
  color: var(--dark);
  border-top: 4px solid var(--navy);
  padding: 46px 0 28px;
}

.footer-inner {
  display: flex;
  justify-content: space-between;
  gap: 34px;
  flex-wrap: wrap;
  align-items: center;
}

.footer-logo img {
  width: 170px;
}

.footer-nav {
  display: flex;
  gap: 18px;
  flex-wrap: wrap;
  font-family: var(--font-heading);
  font-size: 13px;
  font-weight: 800;
  color: #52606b;
  max-width: 720px;
  justify-content: flex-end;
}

.footer-nav a:hover,
.footer-nav a[aria-current="page"] {
  color: var(--blue);
}

.copyright {
  margin-top: 34px;
  color: #7a858e;
  font-size: 13px;
}

@media (max-width: 1100px) {
  .nav {
    display: none;
  }

  .menu-button {
    display: inline-flex;
  }

  .menu-toggle:checked ~ .mobile-nav {
    display: block;
  }

  .menu-toggle:checked + .site-header .menu-button span {
    background: transparent;
  }

  .menu-toggle:checked + .site-header .menu-button span::before {
    top: 0;
    transform: rotate(45deg);
  }

  .menu-toggle:checked + .site-header .menu-button span::after {
    top: 0;
    transform: rotate(-45deg);
  }
}

@media (max-width: 980px) {
  .container {
    width: min(100% - 36px, 1140px);
  }

  .site-logo img {
    width: 170px;
  }

  .section {
    padding: 70px 0;
  }

  .page-hero-inner {
    min-height: auto;
    padding: 78px 0;
  }

  .page-lead-layout {
    grid-template-columns: 1fr;
  }

  .section-title {
    position: static;
  }
}

@media (max-width: 600px) {
  .container {
    width: min(100% - 28px, 1140px);
  }

  .header-inner {
    min-height: 70px;
  }

  .site-logo img {
    width: 148px;
  }

  .mobile-nav {
    top: 70px;
  }

  .mobile-nav-inner {
    width: min(100% - 28px, 1140px);
    max-height: calc(100vh - 70px);
    overflow-y: auto;
  }

  h1 {
    font-size: clamp(25px, 7vw, 32px);
  }

  h2 {
    font-size: clamp(20px, 5.5vw, 24px);
  }

  .btn {
    width: 100%;
    min-height: 54px;
  }

  .company-row {
    grid-template-columns: 1fr;
    gap: 6px;
    padding: 18px 20px;
  }

  .service-card,
  .feature-card,
  .category-card,
  .strength-item,
  .case-card,
  .step-item,
  .faq-item,
  .equipment-item {
    padding: 24px 20px;
  }

  .footer-inner {
    display: grid;
    gap: 26px;
  }

  .footer-nav {
    justify-content: flex-start;
  }
}

@media (max-width: 380px) {
  body {
    letter-spacing: .02em;
  }

  .container {
    width: min(100% - 24px, 1140px);
  }

  .site-logo img {
    width: 138px;
  }
}

@media (hover: none) {
  .btn-primary:hover,
  .btn-secondary:hover {
    transform: none;
  }
}

@media (prefers-reduced-motion: reduce) {
  html {
    scroll-behavior: auto;
  }

  *,
  *::before,
  *::after {
    transition: none !important;
  }
}
