:root {
  color-scheme: light;
  --paper: #f3efe5;
  --paper-2: #fffaf0;
  --ink: #1d1c18;
  --muted: #675f52;
  --line: #d8cdb8;
  --line-strong: #a99371;
  --accent: #1f5f87;
  --accent-2: #8c3b2d;
  --green: #4b7358;
  --shadow: 0 18px 44px rgba(56, 45, 28, 0.14);
}

* {
  box-sizing: border-box;
}

html {
  background: var(--paper);
  overflow-x: hidden;
}

body {
  margin: 0;
  overflow-x: hidden;
  color: var(--ink);
  font-family: "Yu Gothic", "Hiragino Sans", "Meiryo", system-ui, sans-serif;
  background:
    linear-gradient(90deg, rgba(29, 28, 24, 0.045) 1px, transparent 1px),
    linear-gradient(rgba(29, 28, 24, 0.032) 1px, transparent 1px),
    var(--paper);
  background-size: 32px 32px;
}

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

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

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

.site-header {
  position: sticky;
  top: 0;
  z-index: 10;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 18px;
  padding: 12px clamp(14px, 3vw, 34px);
  border-bottom: 1px solid rgba(116, 96, 62, 0.25);
  background: rgba(243, 239, 229, 0.92);
  backdrop-filter: blur(12px);
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  min-height: 40px;
  font-weight: 800;
}

.brand img {
  width: 36px;
  height: 36px;
  border-radius: 50%;
  object-fit: cover;
  box-shadow: 0 0 0 1px var(--line);
}

.top-nav {
  display: flex;
  flex-wrap: wrap;
  justify-content: flex-end;
  gap: 6px;
}

.top-nav a,
.button,
.quick-grid a {
  min-height: 36px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border: 1px solid var(--line);
  border-radius: 5px;
  background: rgba(255, 250, 240, 0.84);
  color: var(--ink);
  transition: border-color 140ms ease, transform 140ms ease, background 140ms ease;
}

.top-nav a {
  padding: 0 11px;
  font-size: 0.88rem;
}

.top-nav a:hover,
.top-nav a:focus-visible,
.button:hover,
.button:focus-visible,
.quick-grid a:hover,
.quick-grid a:focus-visible,
.entry-card:hover,
.entry-card:focus-visible {
  border-color: var(--accent);
  outline: none;
  transform: translateY(-1px);
}

.wrap {
  width: min(1180px, calc(100% - 28px));
  min-width: 0;
  margin: 0 auto;
  padding: clamp(24px, 5vw, 54px) 0 52px;
}

.hero {
  display: grid;
  grid-template-columns: minmax(0, 1.02fr) minmax(280px, 0.72fr);
  gap: clamp(18px, 4vw, 46px);
  align-items: center;
  margin-bottom: 30px;
}

.hero-copy {
  min-width: 0;
  padding: clamp(22px, 4vw, 42px);
  border: 1px solid var(--line);
  border-radius: 7px;
  background: rgba(255, 250, 240, 0.86);
  box-shadow: var(--shadow);
}

.eyebrow,
.section-kicker,
.entry-label {
  margin-bottom: 8px;
  color: var(--accent-2);
  font-size: 0.74rem;
  font-weight: 800;
  letter-spacing: 0;
  text-transform: uppercase;
}

h1 {
  margin-bottom: 14px;
  font-size: clamp(2.4rem, 7vw, 5.6rem);
  line-height: 0.98;
  letter-spacing: 0;
  overflow-wrap: anywhere;
  word-break: break-all;
}

.lead {
  max-width: 42rem;
  margin-bottom: 22px;
  color: var(--muted);
  font-size: clamp(1rem, 1.6vw, 1.12rem);
  line-height: 1.9;
  overflow-wrap: anywhere;
  word-break: break-all;
}

.hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 9px;
}

.button {
  padding: 0 14px;
  font-weight: 800;
}

.button.primary {
  border-color: var(--accent);
  background: #174f72;
  color: #fffdf7;
}

.hero-image {
  margin: 0;
  border: 1px solid var(--line);
  border-radius: 7px;
  overflow: hidden;
  background: #0e1110;
  box-shadow: var(--shadow);
}

.hero-image img {
  width: 100%;
  aspect-ratio: 1 / 1;
  object-fit: cover;
}

.section-block {
  margin-top: 26px;
  padding: clamp(18px, 3vw, 28px);
  border: 1px solid var(--line);
  border-radius: 7px;
  background: rgba(255, 250, 240, 0.7);
}

.section-block.compact {
  background: transparent;
}

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

.section-head h2 {
  margin-bottom: 0;
  font-size: clamp(1.35rem, 3vw, 2.2rem);
}

.entry-grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 14px;
}

.entry-card {
  min-height: 100%;
  display: grid;
  grid-template-rows: auto auto auto 1fr;
  gap: 8px;
  padding: 12px;
  border: 1px solid var(--line);
  border-radius: 7px;
  background: var(--paper-2);
  box-shadow: 0 8px 24px rgba(56, 45, 28, 0.08);
}

.entry-card img {
  width: 100%;
  aspect-ratio: 4 / 3;
  object-fit: cover;
  border: 1px solid rgba(116, 96, 62, 0.24);
  border-radius: 5px;
  background: #fff;
}

.entry-card h3 {
  margin-bottom: 0;
  font-size: 1.08rem;
}

.entry-card p {
  margin-bottom: 0;
  color: var(--muted);
  line-height: 1.65;
}

.entry-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 7px;
  align-self: end;
  margin-top: 2px;
}

.entry-actions a {
  display: inline-flex;
  align-items: center;
  min-height: 32px;
  padding: 5px 9px;
  border: 1px solid var(--line);
  border-radius: 5px;
  background: var(--paper);
  color: var(--ink);
  font-size: 0.86rem;
  line-height: 1.2;
  text-decoration: none;
}

.entry-actions a:hover,
.entry-actions a:focus-visible {
  border-color: var(--accent);
  color: var(--accent-strong);
}

.feature-card {
  grid-column: span 2;
}

.feature-card img {
  aspect-ratio: 2 / 1;
}

.quick-grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 10px;
}

.quick-grid a {
  padding: 10px 12px;
  justify-content: flex-start;
  line-height: 1.45;
}

.map-grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 12px;
}

.map-item {
  min-width: 0;
  display: grid;
  grid-template-columns: 56px minmax(0, 1fr);
  gap: 12px;
  align-items: center;
  padding: 12px;
  border: 1px solid var(--line);
  border-radius: 7px;
  background: rgba(255, 250, 240, 0.72);
  transition: border-color 140ms ease, transform 140ms ease, background 140ms ease;
}

.map-item:hover,
.map-item:focus-visible {
  border-color: var(--accent);
  outline: none;
  transform: translateY(-1px);
}

.map-item img {
  width: 56px;
  height: 56px;
  border: 1px solid rgba(116, 96, 62, 0.24);
  border-radius: 6px;
  object-fit: cover;
  background: #fff;
}

.map-item h3 {
  margin: 0 0 4px;
  font-size: 1rem;
}

.map-item p {
  margin: 0;
  color: var(--muted);
  font-size: 0.92rem;
  line-height: 1.55;
}

.site-footer {
  width: min(1180px, calc(100% - 28px));
  margin: 0 auto;
  padding: 0 0 34px;
  color: var(--muted);
}

.site-footer p {
  border-top: 1px solid var(--line);
  margin-bottom: 0;
  padding-top: 18px;
}

@media (max-width: 980px) {
  .hero,
  .entry-grid,
  .quick-grid,
  .map-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}

@media (max-width: 720px) {
  .site-header {
    position: static;
    align-items: flex-start;
    flex-direction: column;
  }

  .top-nav {
    width: 100%;
    display: grid;
    grid-template-columns: 1fr;
    justify-content: stretch;
  }

  .top-nav a {
    min-width: 0;
    padding-inline: 8px;
    overflow-wrap: anywhere;
  }

  .hero-actions {
    display: grid;
    grid-template-columns: 1fr;
  }

  .button,
  .quick-grid a {
    min-width: 0;
    width: 100%;
    overflow-wrap: anywhere;
  }

  .hero,
  .entry-grid,
  .quick-grid,
  .map-grid {
    grid-template-columns: 1fr;
  }

  .hero-copy {
    padding: 18px;
  }

  h1 {
    font-size: clamp(2.05rem, 11vw, 3.2rem);
  }

  .feature-card {
    grid-column: auto;
  }
}
