@charset "UTF-8";

:root {
  --about-bg: #eef3f8;
  --about-surface: #ffffff;
  --about-border: #d6dee8;
  --about-text: #28405f;
  --about-heading: #143f69;
  --about-accent: #c63b2d;
  --about-shadow: 0 8px 24px rgba(20, 63, 105, 0.06);
  --about-radius: 14px;
}

html {
  scroll-behavior: smooth;
}

.about-page {
  background: var(--about-bg);
  color: var(--about-text);
}

.about-page .container {
  width: min(1100px, calc(100% - 40px));
  margin-inline: auto;
}

/* =========================
   ページ見出し
========================= */

.about-hero {
  padding: 24px 0 32px;
  background: linear-gradient(180deg, #edf3f8 0%, #e8eff6 100%);
  border-bottom: 1px solid #d9e2ec;
}

.about-kicker {
  margin: 0 0 10px;
  color: var(--about-accent);
  font-size: 0.92rem;
  font-weight: 700;
  letter-spacing: 0.05em;
}

.about-title {
  margin: 0;
  font-size: clamp(2rem, 3vw, 3rem);
  line-height: 1.2;
  font-weight: 800;
  letter-spacing: 0.02em;
  color: var(--about-heading);
}

.about-lead {
  max-width: 900px;
  margin: 18px 0 0;
  font-size: 1.05rem;
  line-height: 2;
  color: #47617f;
}

/* =========================
   ページ内メニュー
========================= */

.local-nav {
  margin-top: 28px;
}

.local-nav ul {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  margin: 0;
  padding: 0;
  list-style: none;
}

.local-nav a {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 46px;
  padding: 0 18px;
  border: 1px solid var(--about-border);
  border-radius: 999px;
  background: #ffffff;
  color: var(--about-heading);
  font-weight: 700;
  text-decoration: none;
  transition:
    background-color 0.2s ease,
    color 0.2s ease,
    border-color 0.2s ease,
    transform 0.2s ease;
}

.local-nav a:hover,
.local-nav a:focus {
  background: var(--about-heading);
  border-color: var(--about-heading);
  color: #ffffff;
  transform: translateY(-1px);
}

/* =========================
   セクション
========================= */

.about-section {
  padding: 22px 0;
}

.about-section:first-of-type {
  padding-top: 26px;
}

.content-card {
  background: var(--about-surface);
  border: 1px solid var(--about-border);
  border-radius: var(--about-radius);
  box-shadow: var(--about-shadow);
  padding: 28px 28px 30px;
}

.section-title {
  position: relative;
  margin: 0 0 22px;
  padding-left: 18px;
  font-size: clamp(1.4rem, 2vw, 2rem);
  line-height: 1.3;
  font-weight: 800;
  color: var(--about-heading);
}

.section-title::before {
  content: "";
  position: absolute;
  left: 0;
  top: 0.15em;
  width: 6px;
  height: 1.2em;
  border-radius: 999px;
  background: var(--about-heading);
}

.section-body p {
  margin: 0 0 1.2em;
  line-height: 2.1;
  font-size: 1.02rem;
}

.section-body p:last-child {
  margin-bottom: 0;
}

/* =========================
   定義リスト
========================= */

.history-list,
.org-summary,
.access-list {
  margin: 0;
}

.history-item,
.org-row,
.access-row {
  display: grid;
  grid-template-columns: 180px 1fr;
  gap: 18px;
  padding: 16px 0;
  border-top: 1px solid #e3e9f0;
}

.history-item:first-child,
.org-row:first-child,
.access-row:first-child {
  border-top: none;
  padding-top: 0;
}

.history-item dt,
.org-row dt,
.access-row dt {
  margin: 0;
  font-weight: 700;
  color: var(--about-heading);
}

.history-item dd,
.org-row dd,
.access-row dd {
  margin: 0;
  line-height: 1.9;
}

/* =========================
   箇条書き
========================= */

.business-list {
  margin: 20px 0 0;
  padding-left: 1.4em;
}

.business-list li {
  margin-bottom: 12px;
  line-height: 1.95;
}

/* =========================
   リンクボタン
========================= */

.org-links {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  margin-top: 24px;
}

.org-links a {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 48px;
  padding: 0 20px;
  border-radius: 10px;
  border: 1px solid var(--about-border);
  background: #f7fafc;
  color: var(--about-heading);
  text-decoration: none;
  font-weight: 700;
  transition:
    background-color 0.2s ease,
    color 0.2s ease,
    border-color 0.2s ease,
    transform 0.2s ease;
}

.org-links a:hover,
.org-links a:focus {
  background: var(--about-heading);
  border-color: var(--about-heading);
  color: #ffffff;
  transform: translateY(-1px);
}

/* =========================
   地図
========================= */

.access-map {
  margin-top: 20px;
  text-align: center;
}

.access-map img {
  max-width: 100%;
  height: auto;
  border-radius: 6px;
  border: 1px solid #d9e2ec;
}

/* =========================
   上へ戻るボタン
========================= */

.back-to-top {
  position: fixed;
  right: 25px;
  bottom: 25px;
  width: 46px;
  height: 46px;
  background: #143f69;
  color: #ffffff;
  display: flex;
  align-items: center;
  justify-content: center;
  border-radius: 50%;
  font-size: 18px;
  text-decoration: none;
  box-shadow: 0 4px 10px rgba(0, 0, 0, 0.2);
  transition: background-color 0.2s ease, transform 0.2s ease;
}

.back-to-top:hover {
  background: #c63b2d;
  transform: translateY(-3px);
}

/* =========================
   レスポンシブ
========================= */

@media (max-width: 767px) {
  .about-hero {
    padding: 22px 0 26px;
  }

  .about-title {
    font-size: clamp(1.85rem, 7vw, 2.5rem);
  }

  .content-card {
    padding: 22px 18px 24px;
  }

  .history-item,
  .org-row,
  .access-row {
    grid-template-columns: 1fr;
    gap: 8px;
  }

  .about-lead,
  .section-body p,
  .history-item dd,
  .org-row dd,
  .access-row dd,
  .business-list li {
    line-height: 1.9;
  }

  .local-nav ul {
    gap: 10px;
  }

  .local-nav a {
    min-height: 44px;
    padding: 0 16px;
  }

  .back-to-top {
    right: 18px;
    bottom: 18px;
    width: 42px;
    height: 42px;
    font-size: 16px;
  }
}