:root {
  --blue: #1687d9;
  --blue-dark: #0b619d;
  --blue-pale: #eaf6fe;
  --ink: #17324d;
  --body: #40566b;
  --muted: #718394;
  --sage: #78a891;
  --sage-pale: #eaf3ee;
  --coral: #ef745f;
  --cream: #f7f3ea;
  --yellow: #f3c969;
  --line: #dbe5ec;
  --surface: #ffffff;
  --shadow: 0 16px 46px rgba(23, 50, 77, 0.10);
  --shadow-soft: 0 7px 24px rgba(23, 50, 77, 0.07);
  --radius: 22px;
  --radius-sm: 14px;
}

* {
  box-sizing: border-box;
}

html {
  max-width: 100%;
  overflow-x: hidden;
  scroll-behavior: smooth;
}

body {
  max-width: 100%;
  overflow-x: hidden;
  margin: 0;
  color: var(--body);
  background: #fff;
  font-family: -apple-system, BlinkMacSystemFont, "Noto Sans JP", "Yu Gothic",
    "Hiragino Kaku Gothic ProN", Meiryo, sans-serif;
  font-size: 15px;
  line-height: 1.75;
  -webkit-font-smoothing: antialiased;
}

/*
 * 横幅を超える装飾やカードがあっても、ページ全体は左右へ動かさない。
 * 対応ブラウザではclipを使い、内側の横スクロール領域はそのまま残す。
 */
@supports (overflow: clip) {
  html,
  body {
    overflow-x: clip;
  }
}

button,
input,
select {
  font: inherit;
}

button,
a {
  -webkit-tap-highlight-color: transparent;
}

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

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

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

.section {
  padding: 76px 0;
}

.section.soft {
  background: #f6f9fb;
}

.section.cream {
  background: var(--cream);
}

.eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  margin-bottom: 10px;
  color: var(--blue-dark);
  font-size: 12px;
  font-weight: 800;
  letter-spacing: 0.12em;
}

.eyebrow::before {
  width: 22px;
  height: 3px;
  background: var(--coral);
  border-radius: 99px;
  content: "";
}

h1,
h2,
h3,
p {
  margin-top: 0;
}

h1,
h2,
h3 {
  color: var(--ink);
  line-height: 1.4;
}

h1 {
  font-size: clamp(34px, 4.2vw, 58px);
  letter-spacing: -0.04em;
}

h2 {
  margin-bottom: 14px;
  font-size: 30px;
  letter-spacing: -0.025em;
}

h3 {
  font-size: 19px;
}

.section-head {
  display: flex;
  align-items: flex-end;
  justify-content: space-between;
  gap: 24px;
  margin-bottom: 30px;
}

.section-head p {
  margin-bottom: 0;
  color: var(--muted);
}

.text-link {
  display: inline-flex;
  flex: 0 0 auto;
  align-items: center;
  gap: 7px;
  color: var(--blue-dark);
  font-size: 14px;
  font-weight: 800;
}

.text-link::after {
  content: "→";
  transition: transform 0.2s ease;
}

.site-header {
  position: relative;
  z-index: 20;
  border-bottom: 1px solid rgba(219, 229, 236, 0.8);
  background: rgba(255, 255, 255, 0.96);
}

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

.brand {
  display: flex;
  flex: 0 0 auto;
  align-items: center;
}

.brand img {
  width: 225px;
  height: auto;
}

.global-nav {
  display: flex;
  align-items: center;
  gap: 28px;
}

.global-nav a {
  color: #334e67;
  font-size: 14px;
  font-weight: 700;
}

.global-nav a.active {
  color: var(--blue-dark);
}

.header-actions {
  display: flex;
  align-items: center;
  gap: 10px;
}

.header-search {
  display: flex;
  width: 250px;
  height: 42px;
  align-items: center;
  gap: 8px;
  padding: 0 14px;
  border: 1px solid var(--line);
  border-radius: 99px;
  background: #f8fafb;
  color: var(--muted);
  font-size: 13px;
}

.header-search .search-mark {
  color: var(--blue);
  font-size: 20px;
  line-height: 1;
}

.round-action {
  display: grid;
  width: 42px;
  height: 42px;
  place-items: center;
  border: 1px solid var(--line);
  border-radius: 50%;
  background: #fff;
  color: var(--blue-dark);
  font-size: 18px;
}

.menu-button {
  display: none;
  width: 42px;
  height: 42px;
  padding: 10px;
  border: 0;
  border-radius: 50%;
  background: var(--blue-pale);
}

.menu-button span {
  display: block;
  height: 2px;
  margin: 4px 0;
  background: var(--blue-dark);
  border-radius: 99px;
}

.btn {
  display: inline-flex;
  min-height: 48px;
  align-items: center;
  justify-content: center;
  gap: 8px;
  padding: 0 22px;
  border: 1px solid transparent;
  border-radius: 13px;
  font-weight: 800;
}

.btn-primary {
  background: var(--blue);
  box-shadow: 0 9px 20px rgba(22, 135, 217, 0.23);
  color: #fff;
}

.btn-outline {
  border-color: #a9cce4;
  background: #fff;
  color: var(--blue-dark);
}

.btn-pale {
  background: var(--blue-pale);
  color: var(--blue-dark);
}

.breadcrumbs {
  padding: 18px 0;
  color: var(--muted);
  font-size: 12px;
}

.breadcrumbs span {
  margin: 0 7px;
  color: #a6b4bf;
}

.ad-slot {
  display: grid;
  width: 100%;
  min-height: 98px;
  place-items: center;
  border: 1px dashed #cbd5dc;
  border-radius: 12px;
  background: #f8fafb;
  color: #a0acb6;
  font-size: 10px;
  letter-spacing: 0.12em;
}

.ad-slot.tall {
  min-height: 270px;
}

.site-footer {
  padding: 56px 0 28px;
  background: var(--ink);
  color: #d7e4ed;
}

.footer-grid {
  display: grid;
  grid-template-columns: 1.8fr 1fr 1fr 1fr;
  gap: 46px;
}

.footer-brand {
  display: inline-block;
  margin-bottom: 16px;
  padding: 10px 16px;
  border-radius: 12px;
  background: #fff;
}

.footer-brand:focus-visible {
  outline: 3px solid #78c9ff;
  outline-offset: 3px;
}

.footer-brand img {
  width: 190px;
}

.footer-copy {
  max-width: 330px;
  margin-bottom: 0;
  color: #a9c0d0;
  font-size: 13px;
}

.footer-col h3 {
  margin: 5px 0 16px;
  color: #fff;
  font-size: 14px;
}

.footer-col a {
  display: block;
  margin: 9px 0;
  color: #bdd0dd;
  font-size: 13px;
}

.footer-bottom {
  display: flex;
  margin-top: 42px;
  padding-top: 22px;
  border-top: 1px solid #31506a;
  justify-content: space-between;
  color: #87a1b4;
  font-size: 11px;
}

.chip {
  display: inline-flex;
  min-height: 30px;
  align-items: center;
  padding: 4px 10px;
  border-radius: 99px;
  background: #f0f5f8;
  color: #547086;
  font-size: 12px;
  font-weight: 700;
}

.chip.blue {
  background: var(--blue-pale);
  color: var(--blue-dark);
}

.chip.sage {
  background: var(--sage-pale);
  color: #4c7f68;
}

.chip.coral {
  background: #fff0ed;
  color: #c75947;
}

.status {
  display: inline-flex;
  align-items: center;
  gap: 7px;
  color: #3d7d61;
  font-size: 13px;
  font-weight: 800;
}

.status::before {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: #59a77d;
  box-shadow: 0 0 0 4px #e7f4ed;
  content: "";
}

.status.closed {
  color: #a35e52;
}

.status.closed::before {
  background: var(--coral);
  box-shadow: 0 0 0 4px #fff0ed;
}

.mock-map {
  position: relative;
  min-height: 360px;
  overflow: hidden;
  border-radius: var(--radius);
  background-color: #eaf3ee;
  background-image:
    linear-gradient(28deg, transparent 48%, rgba(255,255,255,.9) 49%, rgba(255,255,255,.9) 52%, transparent 53%),
    linear-gradient(116deg, transparent 47%, rgba(255,255,255,.8) 48%, rgba(255,255,255,.8) 51%, transparent 52%),
    linear-gradient(71deg, transparent 49%, rgba(199,220,207,.8) 50%, rgba(199,220,207,.8) 52%, transparent 53%);
  background-size: 210px 150px, 280px 190px, 165px 130px;
}

.mock-map::before,
.mock-map::after {
  position: absolute;
  height: 10px;
  border: 4px solid #fff;
  background: #9fc5dc;
  content: "";
  transform: rotate(-12deg);
}

.mock-map::before {
  top: 38%;
  right: -8%;
  left: -5%;
}

.mock-map::after {
  top: 60%;
  right: 8%;
  left: 25%;
  transform: rotate(21deg);
}

.map-pin {
  position: absolute;
  z-index: 2;
  display: grid;
  width: 40px;
  height: 40px;
  place-items: center;
  border: 4px solid #fff;
  border-radius: 50% 50% 50% 10%;
  background: var(--coral);
  box-shadow: 0 5px 14px rgba(23, 50, 77, 0.22);
  color: #fff;
  font-size: 13px;
  font-weight: 900;
  transform: rotate(-45deg);
}

.map-pin span {
  transform: rotate(45deg);
}

.map-pin.main {
  top: 42%;
  left: 49%;
  width: 52px;
  height: 52px;
  background: var(--blue);
}

.map-pin.p2 {
  top: 22%;
  left: 24%;
}

.map-pin.p3 {
  right: 20%;
  bottom: 20%;
}

.map-label {
  position: absolute;
  z-index: 3;
  top: calc(42% + 58px);
  left: calc(49% - 88px);
  width: 210px;
  padding: 10px 13px;
  border-radius: 10px;
  background: #fff;
  box-shadow: var(--shadow-soft);
  color: var(--ink);
  font-size: 12px;
  font-weight: 800;
  text-align: center;
}

.page-heading {
  padding: 22px 0 38px;
}

.page-heading h1 {
  margin-bottom: 8px;
  font-size: 38px;
}

.page-heading p {
  margin-bottom: 0;
  color: var(--muted);
}

.count {
  color: var(--blue);
  font-weight: 900;
}

@media (max-width: 980px) {
  .global-nav,
  .header-search {
    display: none;
  }

  .menu-button {
    display: block;
  }

  .footer-grid {
    grid-template-columns: 1.4fr 1fr 1fr;
  }

  .footer-col:last-child {
    display: none;
  }
}

@media (max-width: 700px) {
  body {
    font-size: 14px;
  }

  .container {
    width: min(100% - 32px, 620px);
  }

  .section {
    padding: 54px 0;
  }

  .header-inner {
    min-height: 68px;
    gap: 10px;
  }

  .brand img {
    width: 175px;
  }

  .header-actions {
    gap: 7px;
  }

  .round-action {
    width: 40px;
    height: 40px;
  }

  .section-head {
    display: block;
    margin-bottom: 22px;
  }

  .section-head .text-link {
    margin-top: 10px;
  }

  h2 {
    font-size: 25px;
  }

  .breadcrumbs {
    overflow: hidden;
    padding: 14px 0;
    white-space: nowrap;
  }

  .page-heading {
    padding: 14px 0 28px;
  }

  .page-heading h1 {
    font-size: 28px;
  }

  .footer-grid {
    grid-template-columns: 1fr 1fr;
    gap: 32px 22px;
  }

  .footer-about {
    grid-column: 1 / -1;
  }

  .footer-copy {
    max-width: none;
  }

  .footer-bottom {
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    gap: 5px;
  }
}
