:root {
  --ink: #2f261f;
  --muted: #7a6758;
  --line: #ead8c7;
  --surface: #ffffff;
  --surface-soft: #fff8f1;
  --brand: #d96216;
  --brand-dark: #a9430b;
  --accent: #f59e0b;
  --danger: #b42318;
  --danger-bg: #fff1f0;
  --shadow: 0 14px 34px rgba(84, 45, 20, 0.10);
  --radius: 14px;
  --content: 1100px;
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  color: var(--ink);
  background: var(--surface);
  font-family: -apple-system, BlinkMacSystemFont, "Hiragino Kaku Gothic ProN",
    "Yu Gothic", "YuGothic", Meiryo, sans-serif;
  line-height: 1.75;
  -webkit-font-smoothing: antialiased;
}

a {
  color: inherit;
}

.container {
  width: min(calc(100% - 40px), var(--content));
  margin-inline: auto;
}

.sr-only {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  white-space: nowrap;
  border: 0;
}

.site-header {
  position: sticky;
  top: 0;
  z-index: 20;
  background: rgba(255, 255, 255, 0.96);
  border-bottom: 1px solid var(--line);
  backdrop-filter: blur(10px);
}

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

.site-brand {
  display: inline-flex;
  flex-direction: column;
  text-decoration: none;
  line-height: 1.25;
  white-space: nowrap;
}

.site-brand-main {
  font-weight: 800;
  letter-spacing: 0.04em;
}

.site-brand-sub {
  margin-top: 3px;
  color: var(--brand);
  font-size: 0.82rem;
  font-weight: 700;
  letter-spacing: 0.12em;
}

.global-nav {
  display: flex;
  align-items: center;
  justify-content: flex-end;
  gap: 2px;
  font-size: 0.82rem;
  font-weight: 700;
}

.global-nav a {
  padding: 10px 8px;
  border-radius: 7px;
  text-decoration: none;
  transition: background 0.2s ease, color 0.2s ease;
}

.global-nav a:hover,
.global-nav a:focus-visible,
.global-nav a.is-current {
  color: var(--brand-dark);
  background: #fff1e5;
}

.nav-toggle {
  display: none;
  width: 44px;
  height: 44px;
  padding: 10px;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: var(--surface);
  cursor: pointer;
}

.nav-toggle span:not(.sr-only) {
  display: block;
  height: 2px;
  margin: 5px 0;
  background: var(--ink);
}

.hero {
  position: relative;
  overflow: hidden;
  color: white;
  background: linear-gradient(135deg, #a9430b 0%, #d96216 55%, #f28a2c 100%);
}

.hero::after {
  content: "";
  position: absolute;
  width: 380px;
  height: 380px;
  right: -110px;
  top: -190px;
  border: 76px solid rgba(255, 255, 255, 0.10);
  border-radius: 50%;
}

.hero-inner {
  position: relative;
  z-index: 1;
  padding-block: 72px 62px;
}

.eyebrow,
.section-kicker {
  margin: 0 0 8px;
  font-size: 0.78rem;
  font-weight: 800;
  letter-spacing: 0.16em;
  text-transform: uppercase;
}

.eyebrow {
  color: #ffead6;
}

.hero h1 {
  max-width: 850px;
  margin: 0;
  font-size: clamp(2rem, 4.7vw, 3.8rem);
  line-height: 1.28;
  letter-spacing: 0.02em;
}

.hero-lead {
  max-width: 720px;
  margin: 26px 0 0;
  color: #fff5ec;
  font-size: 1rem;
  font-weight: 600;
}

.page-grid {
  display: grid;
  grid-template-columns: minmax(0, 1fr) 340px;
  gap: 54px;
  padding-block: 64px 72px;
}

.section-heading {
  margin-bottom: 24px;
}

.section-heading.compact {
  margin-bottom: 16px;
}

.section-kicker {
  color: var(--brand);
}

.section-heading h2 {
  margin: 0;
  font-size: 1.7rem;
  line-height: 1.3;
}

.news-list {
  list-style: none;
  margin: 0;
  padding: 0;
}

.news-list li {
  padding: 17px 0;
  border-top: 1px solid var(--line);
}

.news-list li:first-child {
  border-top: 0;
  padding-top: 0;
}

.news-list time {
  display: block;
  color: var(--brand);
  font-size: 0.78rem;
  font-weight: 800;
  letter-spacing: 0.04em;
}

.news-list p {
  margin: 4px 0 0;
  line-height: 1.65;
}

.news-list-large {
  padding: 28px 30px;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: var(--surface);
  box-shadow: 0 5px 18px rgba(84, 45, 20, 0.04);
}

.text-link {
  color: var(--brand-dark);
  font-weight: 800;
  text-decoration-thickness: 1px;
  text-underline-offset: 3px;
}

.office-panel {
  align-self: start;
  position: sticky;
  top: 106px;
  padding: 26px;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: var(--surface-soft);
}

.office-address {
  font-style: normal;
  color: var(--muted);
  font-size: 0.92rem;
}

.office-address p {
  margin: 3px 0;
}

.office-address strong {
  color: var(--ink);
}

.office-link {
  display: flex;
  justify-content: space-between;
  gap: 12px;
  margin-top: 22px;
  padding-top: 16px;
  border-top: 1px solid var(--line);
  color: var(--brand-dark);
  font-weight: 800;
  text-decoration: none;
}

.quick-links {
  padding-block: 64px 80px;
  background: var(--surface-soft);
  border-top: 1px solid var(--line);
}

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

.guide-card {
  min-height: 110px;
  display: grid;
  grid-template-columns: auto 1fr auto;
  align-items: center;
  gap: 16px;
  padding: 20px 22px;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: var(--surface);
  text-decoration: none;
  box-shadow: 0 3px 12px rgba(84, 45, 20, 0.04);
  transition: transform 0.2s ease, box-shadow 0.2s ease, border-color 0.2s ease;
}

.guide-card:hover,
.guide-card:focus-visible {
  transform: translateY(-2px);
  border-color: #e6a978;
  box-shadow: var(--shadow);
}

.guide-no {
  color: var(--brand);
  font-size: 0.76rem;
  font-weight: 800;
  letter-spacing: 0.08em;
}

.guide-title {
  font-size: 1.02rem;
  font-weight: 800;
}

.guide-arrow {
  color: var(--brand);
  font-size: 1.3rem;
}

.site-footer {
  color: #f8e7da;
  background: #4b2b1a;
}

.footer-inner {
  display: flex;
  justify-content: space-between;
  gap: 36px;
  padding-block: 34px;
  font-size: 0.84rem;
}

.footer-inner p {
  margin: 4px 0;
}

.copyright {
  align-self: end;
  color: #d8bca8;
  text-align: right;
}

.mobile-only {
  display: none;
}

@media (max-width: 960px) {
  .nav-toggle {
    display: block;
  }

  .global-nav {
    display: none;
    position: absolute;
    left: 20px;
    right: 20px;
    top: 68px;
    flex-direction: column;
    align-items: stretch;
    padding: 12px;
    border: 1px solid var(--line);
    border-radius: 12px;
    background: white;
    box-shadow: var(--shadow);
  }

  .global-nav.is-open {
    display: flex;
  }

  .global-nav a {
    padding: 10px 12px;
  }

  .page-grid {
    grid-template-columns: 1fr;
    gap: 48px;
  }

  .office-panel {
    position: static;
  }

  .guide-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}

@media (max-width: 680px) {
  .container {
    width: min(calc(100% - 28px), var(--content));
  }

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

  .site-brand-main {
    font-size: 0.92rem;
  }

  .site-brand-sub {
    font-size: 0.72rem;
  }

  .hero-inner {
    padding-block: 50px 44px;
  }

  .mobile-only {
    display: inline;
  }

  .page-grid {
    padding-block: 46px 56px;
  }

  .news-list-large {
    padding: 22px;
  }

  .guide-grid {
    grid-template-columns: 1fr;
  }

  .quick-links {
    padding-block: 50px 60px;
  }

  .footer-inner {
    flex-direction: column;
  }

  .copyright {
    align-self: auto;
    text-align: left;
  }
}
