/* =========================================================
   aboutページ（ひと・まちについて）
   ========================================================= */

/* ---------------------------------------------------------
   レイアウト共通
   --------------------------------------------------------- */
.about-page {
  width: 100%;
}

.about-page .inner {
  width: 100%;
  max-width: 1100px;
  margin: 0 auto;
  padding-left: 20px;
  padding-right: 20px;
  box-sizing: border-box;
}

/* ---------------------------------------------------------
   セクション共通
   --------------------------------------------------------- */
.about-section {
  padding: 80px 0;
  scroll-margin-top: 140px;
}

/* 見出し2は common.css の .heading-2 を使用 */
.section-title {
  margin-bottom: 30px;
}

/* リード文 */
.about-lead {
  margin-bottom: 40px;
  line-height: 1.9;
  font-size: 15px;
  color: #333;
}

/* ---------------------------------------------------------
   ページ内ジャンプメニュー
   --------------------------------------------------------- */
.about-anchor-nav {
  position: sticky;
  top: 70px;
  z-index: 100;
  background: rgba(255, 255, 255, 0.96);
  border-bottom: 1px solid #d8e4dc;
  backdrop-filter: blur(6px);
}

.about-anchor-nav__list {
  display: flex;
  justify-content: center;
  align-items: center;
  gap: 16px;
  margin: 0;
  padding: 14px 0;
  list-style: none;
}

.about-anchor-nav__item {
  margin: 0;
  padding: 0;
}

.about-anchor-nav__link {
  display: inline-block;
  padding: 10px 22px;
  border: 1px solid #cfdccf;
  border-radius: 999px;
  background: #ffffff;
  font-size: 15px;
  font-weight: 700;
  line-height: 1.4;
  color: #333333;
  text-decoration: none;
  transition: all 0.2s ease;
}

.about-anchor-nav__link:hover {
  background: #5d8f70;
  border-color: #5d8f70;
  color: #ffffff;
}

/* ---------------------------------------------------------
   設立沿革
   --------------------------------------------------------- */
.history-list {
  display: flex;
  flex-direction: column;
  gap: 0;
  width: 100%;
}

.history-item {
  display: grid;
  grid-template-columns: 100px 1fr;
  gap: 24px;
  align-items: start;
  border-bottom: 1px solid #e5e5e5;
  padding: 22px 0;
  width: 100%;
  box-sizing: border-box;
}

.history-item .year {
  font-weight: 700;
  color: #5d8f70;
  line-height: 1.8;
}

.history-item .text {
  line-height: 1.9;
  font-size: 15px;
  color: #333;
  min-width: 0;
}

/* ---------------------------------------------------------
   会員募集
   --------------------------------------------------------- */
.about-section--member {
  padding-top: 40px;
}

.member-cards {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
  margin-top: 32px;
}

.member-card {
  padding: 28px 24px;
  border: 1px solid #e5e2da;
  border-radius: 18px;
  background: #ffffff;
  box-shadow: 0 8px 24px rgba(0, 0, 0, 0.04);
  box-sizing: border-box;
}

.member-card__label {
  margin: 0 0 10px;
  font-size: 12px;
  font-weight: 700;
  letter-spacing: 0.12em;
  color: #5d8f70;
}

.member-card__title {
  margin: 0 0 12px;
  font-size: 24px;
  line-height: 1.5;
  font-weight: 700;
  color: #222222;
}

.member-card__fee {
  margin: 0 0 14px;
  font-size: 20px;
  line-height: 1.6;
  font-weight: 700;
  color: #5d8f70;
}

.member-card__text {
  margin: 0;
  font-size: 15px;
  line-height: 1.9;
  color: #444444;
}

.member-note {
  margin-top: 24px;
}

.member-note__text {
  margin: 0;
  font-size: 15px;
  line-height: 1.9;
  color: #444444;
}

.member-payment {
  margin-top: 40px;
}

.member-payment__title {
  margin: 0 0 12px;
  font-size: 28px;
  line-height: 1.5;
  font-weight: 700;
  color: #1f2d3d;
}

.member-payment__lead {
  margin: 0 0 20px;
  font-size: 15px;
  line-height: 1.9;
  color: #444444;
}

.member-payment__box {
  padding: 28px 24px;
  border: 1px solid #e5e2da;
  border-radius: 18px;
  background: #ffffff;
  box-shadow: 0 8px 24px rgba(0, 0, 0, 0.04);
  box-sizing: border-box;
}

.member-payment__label {
  margin: 0 0 10px;
  font-size: 12px;
  font-weight: 700;
  letter-spacing: 0.12em;
  color: #5d8f70;
}

.member-payment__account {
  margin: 0 0 10px;
  font-size: 32px;
  line-height: 1.4;
  font-weight: 700;
  color: #5d8f70;
}

.member-payment__name {
  margin: 0;
  font-size: 15px;
  line-height: 1.9;
  color: #444444;
}

/* ---------------------------------------------------------
   事務所の地図
   --------------------------------------------------------- */
.about-section--access {
  padding-top: 40px;
}

.access-layout {
  display: grid;
  grid-template-columns: 1.4fr 0.9fr;
  gap: 32px;
  align-items: stretch;
  margin-top: 32px;
}

.access-map__frame {
  width: 100%;
  border-radius: 18px;
  overflow: hidden;
  border: 1px solid #e5e2da;
  box-shadow: 0 8px 24px rgba(0, 0, 0, 0.04);
  background: #f8f8f8;
  line-height: 0;
}

.access-map__frame iframe {
  display: block;
  width: 100%;
  height: 420px;
  border: 0;
}

.access-info {
  background: #ffffff;
  border: 1px solid #e5e2da;
  border-radius: 18px;
  padding: 28px 24px;
  box-shadow: 0 8px 24px rgba(0, 0, 0, 0.04);
  box-sizing: border-box;
}

.access-info__label {
  margin: 0 0 12px;
  font-size: 12px;
  font-weight: 700;
  letter-spacing: 0.12em;
  color: #5d8f70;
}

.access-info__title {
  margin: 0 0 16px;
  font-size: 18px;
  font-weight: 700;
  line-height: 1.7;
  color: #222222;
}

.access-info__list {
  margin: 0;
}

.access-info__row {
  padding: 16px 0;
  border-top: 1px solid #ece8de;
}

.access-info__row:first-child {
  border-top: none;
  padding-top: 0;
}

.access-info__row dt {
  margin: 0 0 8px;
  font-size: 14px;
  font-weight: 700;
  color: #5d8f70;
}

.access-info__row dd {
  margin: 0;
  font-size: 15px;
  line-height: 1.9;
  color: #444444;
}

/* ---------------------------------------------------------
   レスポンシブ
   --------------------------------------------------------- */
@media screen and (max-width: 767px) {
  .about-section {
    padding: 56px 0;
  }

  .section-title {
    margin-bottom: 24px;
  }

  .about-lead {
    font-size: 14px;
    line-height: 1.9;
    margin-bottom: 28px;
  }

  .history-item {
    grid-template-columns: 1fr;
    gap: 8px;
    padding: 18px 0;
  }

  .history-item .year {
    font-size: 18px;
  }

  .history-item .text {
    font-size: 14px;
  }

  .access-layout {
    grid-template-columns: 1fr;
    gap: 18px;
    margin-top: 24px;
  }

  .access-info {
    padding: 22px 18px;
    border-radius: 14px;
  }

  .access-map__frame {
    border-radius: 14px;
  }

  .access-map__frame iframe {
    height: 300px;
  }

  .access-info__title {
    font-size: 17px;
  }

  .access-info__row dt {
    font-size: 13px;
  }

  .access-info__row dd {
    font-size: 14px;
  }

  .about-anchor-nav {
    top: 56px;
  }

  .about-anchor-nav__list {
    justify-content: flex-start;
    gap: 10px;
    padding: 12px 0;
    overflow-x: auto;
    white-space: nowrap;
    -webkit-overflow-scrolling: touch;
  }

  .about-anchor-nav__list::-webkit-scrollbar {
    display: none;
  }

  .about-anchor-nav__link {
    padding: 9px 16px;
    font-size: 14px;
  }

  .about-section {
    scroll-margin-top: 120px;
  }

  .member-cards {
    grid-template-columns: 1fr;
    gap: 16px;
    margin-top: 24px;
  }

  .member-card {
    padding: 22px 18px;
    border-radius: 14px;
  }

  .member-card__title {
    font-size: 22px;
  }

  .member-card__fee {
    font-size: 18px;
  }

  .member-card__text,
  .member-note__text,
  .member-payment__lead,
  .member-payment__name {
    font-size: 14px;
  }

  .member-payment {
    margin-top: 32px;
  }

  .member-payment__title {
    font-size: 24px;
  }

  .member-payment__box {
    padding: 22px 16px;
    border-radius: 14px;
  }

  .member-payment__account {
    font-size: 24px;
    line-height: 1.5;
  }
}