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

:root {
  --blue: #003cd8;
  --blue-2: #0253fd;
  --navy: #0e2344;
  --text: #31435b;
  --muted: #6b7b90;
  --line: #d7e5ff;
  --white: #ffffff;
  --shadow: 0 16px 40px rgba(0, 60, 216, 0.10);
  --header-height: 74px;
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  color: var(--text);
  font-family: "Noto Sans JP", "Yu Gothic", "Hiragino Kaku Gothic ProN", sans-serif;
  background: var(--white);
  letter-spacing: 0.02em;
}

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

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

button {
  font: inherit;
}

/* =========================
   header
========================= */

.site-header {
  position: fixed;
  top: 0;
  left: 0;
  z-index: 100;
  width: 100%;
  background: rgba(255, 255, 255, 0.94);
  border-bottom: 1px solid rgba(215, 229, 255, 0.9);
  backdrop-filter: blur(16px);
}

.header-inner {
  width: min(1180px, calc(100% - 32px));
  height: var(--header-height);
  margin: 0 auto;
  display: flex;
  align-items: center;
  gap: 28px;
}

.site-logo {
  display: inline-flex;
  align-items: center;
  flex: 0 0 auto;
  margin-right: auto;
}

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

.global-nav {
  display: flex;
  align-items: center;
  gap: 28px;
  color: var(--navy);
  font-size: 13px;
  font-weight: 900;
  line-height: 1;
}

.global-nav a {
  position: relative;
  display: inline-flex;
  align-items: center;
  min-height: 42px;
  padding: 0;
  white-space: nowrap;
}

.global-nav a::after {
  position: absolute;
  left: 0;
  bottom: 4px;
  width: 0;
  height: 2px;
  content: "";
  background: var(--blue-2);
  border-radius: 999px;
  transition: width 0.24s ease;
}

.global-nav a:hover::after,
.global-nav a[aria-current="page"]::after {
  width: 100%;
}

.site-header .global-nav a[href*="contact"] {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 42px;
  padding: 0 22px;
  color: var(--white);
  background: linear-gradient(135deg, var(--blue-2), var(--blue));
  border-radius: 999px;
  font-size: 13px;
  font-weight: 900;
  line-height: 1;
  white-space: nowrap;
  box-shadow: 0 14px 30px rgba(0, 60, 216, 0.24);
}

.site-header .global-nav a[href*="contact"]::after {
  display: none;
}

.menu-button {
  display: none;
}

/* =========================
   common parts
========================= */

.page-label,
.section-label {
  margin: 0 0 12px;
  color: var(--blue-2);
  font-family: Inter, "Noto Sans JP", sans-serif;
  font-size: 13px;
  font-weight: 900;
  line-height: 1;
  letter-spacing: 0.14em;
}

.pc-only {
  display: inline;
}

.sp-only {
  display: none;
}

/* =========================
   footer
========================= */

.site-footer {
  padding: 44px 0 34px;
  background: var(--white);
  border-top: 1px solid var(--line);
}

.footer-inner {
  width: min(1180px, calc(100% - 32px));
  margin: 0 auto;
  display: grid;
  gap: 18px;
  justify-items: center;
  text-align: center;
}

.footer-logo img {
  width: 132px;
  height: auto;
}

.footer-nav {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 14px 24px;
  color: var(--text);
  font-size: 13px;
  font-weight: 700;
}

.footer-copy {
  margin: 0;
  color: var(--muted);
  font-family: Inter, "Noto Sans JP", sans-serif;
  font-size: 12px;
}

/* =========================
   responsive
========================= */

@media (max-width: 960px) {
  .global-nav {
    gap: 18px;
    font-size: 12px;
  }

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

  .site-header .global-nav a[href*="contact"] {
    min-height: 40px;
    padding: 0 16px;
    font-size: 12px;
  }
}

@media (max-width: 640px) {
  :root {
    --header-height: 64px;
  }

  .header-inner {
    width: min(100% - 28px, 1180px);
    height: var(--header-height);
  }

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

  .pc-only {
    display: none;
  }

  .sp-only {
    display: inline;
  }

  .menu-button {
    position: relative;
    z-index: 102;
    display: inline-flex;
    flex-direction: column;
    justify-content: center;
    gap: 6px;
    width: 44px;
    height: 44px;
    margin-left: auto;
    padding: 0;
    background: transparent;
    border: none;
    cursor: pointer;
  }

  .menu-button span {
    display: block;
    width: 26px;
    height: 2px;
    margin-left: auto;
    background: var(--navy);
    border-radius: 999px;
    transition: transform 0.24s ease, opacity 0.24s ease;
  }

  .site-header.is-open .menu-button span:nth-child(1) {
    transform: translateY(8px) rotate(45deg);
  }

  .site-header.is-open .menu-button span:nth-child(2) {
    opacity: 0;
  }

  .site-header.is-open .menu-button span:nth-child(3) {
    transform: translateY(-8px) rotate(-45deg);
  }

  .global-nav {
    position: fixed;
    top: var(--header-height);
    left: 0;
    z-index: 101;
    display: none;
    width: 100%;
    padding: 24px 28px 30px;
    background: rgba(255, 255, 255, 0.98);
    border-bottom: 1px solid rgba(215, 229, 255, 0.95);
    box-shadow: 0 20px 44px rgba(0, 60, 216, 0.10);
    backdrop-filter: blur(16px);
  }

  .site-header.is-open .global-nav {
    display: grid;
    gap: 6px;
  }

  .global-nav a {
    display: flex;
    align-items: center;
    min-height: 48px;
    padding: 0 4px;
    color: var(--navy);
    font-size: 14px;
    font-weight: 900;
    border-bottom: 1px solid rgba(215, 229, 255, 0.72);
  }

  .global-nav a::after {
    display: none;
  }

  .global-nav a:nth-last-child(2) {
    border-bottom: none;
  }

  .site-header .global-nav a[href*="contact"] {
    justify-content: center;
    min-height: 52px;
    margin-top: 14px;
    padding: 0 22px;
    color: #ffffff;
    background: linear-gradient(135deg, var(--blue-2), var(--blue));
    border-bottom: none;
    border-radius: 999px;
    box-shadow: 0 14px 30px rgba(0, 60, 216, 0.22);
  }

  .page-label,
  .section-label {
    font-size: 11px;
  }

  .footer-nav {
    gap: 12px 18px;
    font-size: 12px;
  }
}