@import url('https://fonts.googleapis.com/css2?family=Gabriela&family=M+PLUS+Rounded+1c:wght@400;500&family=Zen+Maru+Gothic:wght@500;700&display=swap');

*, *::before, *::after {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

body {
  background-color: #d3e2df;
  color: #8b8377;
  font-family: 'Hiragino Kaku Gothic ProN', 'Hiragino Sans', 'Yu Gothic', 'Meiryo', sans-serif;
  font-size: 15px;
  line-height: 1.85;
  font-weight: 400;
}

a {
  color: #cc9f16;
  text-decoration: none;
}

a:hover {
  color: rgba(204, 159, 22, 0.7);
  text-decoration: underline;
}

/* ===== LOGO ===== */
.top-bar-logo {
  display: flex;
  align-items: center;
  gap: 6px;
  color: #58a79d;
  font-family: 'Gabriela', 'Hiragino Maru Gothic ProN', 'Hiragino Sans', 'Yu Gothic', 'Meiryo', serif;
  font-size: 34px;
  line-height: 1;
}

.top-bar-logo img {
  display: none;
}

.top-bar-actions {
  display: flex;
  align-items: center;
  gap: 8px;
}

.top-mini-text {
  color: #9a9a9a;
  font-size: 11px;
  margin-right: 8px;
  letter-spacing: 0.03em;
}

.top-btn {
  background-color: #ffffff;
  color: #8f8f8f;
  font-size: 11px;
  padding: 4px 10px;
  border-radius: 2px;
  border: 1px solid #e1e1e1;
  white-space: nowrap;
  line-height: 1.4;
}

.top-btn:hover {
  background-color: rgba(232, 115, 42, 0.85);
  color: #ffffff;
  text-decoration: none;
}

.top-btn-login {
  background-color: #f5f5f5;
}

.top-btn-login:hover {
  background-color: rgba(74, 173, 147, 0.85);
}

/* ===== MAIN NAV ===== */
header {
  background-color: #ffffff;
  border-bottom: 1px solid #ececec;
}

nav {
  display: flex;
  justify-content: space-between;
  align-items: center;
  flex-wrap: wrap;
  max-width: 980px;
  margin: 0 auto;
  padding: 8px 18px;
}

.nav-links {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 0 8px;
}

.nav-break {
  display: none;
}

.sp-only-break {
  display: none;
}

.nav-links a {
  color: #555750;
  font-size: 12px;
  letter-spacing: 0.04em;
  padding: 8px 10px;
  display: block;
  font-weight: 600;
  line-height: 1.45;
  border: none;
  background: transparent;
  position: relative;
  transition: color 0.2s ease;
}

.nav-links a:first-child {
  border-left: none;
}

.nav-links a:hover {
  color: #333831;
  text-decoration: none;
}

.nav-links a.is-current {
  color: #3f4e44;
  font-weight: 700;
}

.nav-links a::after {
  content: '';
  position: absolute;
  left: 10px;
  right: 10px;
  bottom: 3px;
  height: 1px;
  background-color: #8ea59c;
  opacity: 0.35;
  transform: scaleX(0);
  transform-origin: center;
  transition: transform 0.2s ease, opacity 0.2s ease;
}

.nav-links a:hover::after {
  opacity: 0;
  transform: scaleX(0);
}

.nav-logo {
  flex-shrink: 0;
}

/* ===== HERO ===== */
.hero {
  max-width: 820px;
  margin: 34px auto 56px;
  padding: 0 22px;
  position: relative;
}

.hero-card {
  background-color: #ffffff;
  width: 52%;
  max-width: 252px;
  padding: 24px 22px;
  border: 1px solid #e2e2dd;
  box-shadow: 0 2px 8px rgba(98, 108, 101, 0.08);
  position: absolute;
  z-index: 2;
  top: 72px;
  left: 8px;
}

.hero-card::before {
  content: '';
  position: absolute;
  inset: 7px;
  border: 1px solid #ecece6;
  pointer-events: none;
}

.hero-card::after {
  content: '';
  position: absolute;
  inset: 10px;
  border: 1px solid #e6e6df;
  pointer-events: none;
}

.hero-card-header-title {
  font-family: 'Gabriela', 'Hiragino Kaku Gothic ProN', 'Hiragino Sans', 'Yu Gothic', 'Meiryo', sans-serif;
  font-size: 38px;
  color: #6f6552;
  letter-spacing: 0.07em;
  margin-bottom: 8px;
  font-weight: 500;
  white-space: nowrap;
}

.hero-tagline {
  font-size: 12px;
  color: #6f6656;
  margin-bottom: 14px;
  letter-spacing: 0.04em;
}

.hero-text {
  font-size: 12px;
  color: #8b8377;
  line-height: 1.8;
  margin-bottom: 12px;
}

.hero-rep {
  font-size: 12px;
  color: #6f6656;
}

.hero-photo {
  margin-left: 128px;
  border: 7px solid #edf4f3;
  min-height: 408px;
  overflow: hidden;
  background-color: #d0dbd9;
}

.hero-photo img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}

/* ===== CONTAINER ===== */
.container {
  max-width: 820px;
  margin: 0 auto;
  padding: 0 22px;
}

/* ===== SECTION TITLE ===== */
.section {
  padding: 24px 0 36px;
}

.section-title {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 18px;
  width: 100%;
  font-family: 'Gabriela', 'ヒラギノ明朝 ProN W3', 'Hiragino Mincho ProN', 'Yu Mincho', 'MS PMincho', serif;
  font-size: 40px;
  color: #6f6552;
  letter-spacing: 0.03em;
  margin-bottom: 20px;
  font-weight: 500;
}

.section-title::before,
.section-title::after {
  content: '';
  flex: 1;
  height: 7px;
  background:
    linear-gradient(to bottom,
      #9ea49c 0 1px,
      transparent 1px 3px,
      #b7bcae 3px 4px,
      transparent 4px 6px,
      #9ea49c 6px 7px);
}

/* ===== BLOG / SNS ===== */
.blog-links {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, auto));
  justify-content: center;
  gap: 12px 14px;
  max-width: 560px;
  margin: 0 auto;
}

.blog-link-card {
  display: block;
  flex: 0 0 auto;
  transition: opacity 0.2s;
}

.blog-link-card.wide {
  width: 270px;
}

.blog-link-card.center {
  width: 270px;
  grid-column: 1 / -1;
  justify-self: center;
}

.blog-link-card:hover {
  opacity: 0.75;
  text-decoration: none;
}

.blog-link-card img {
  width: 100%;
  height: auto;
  display: block;
  border: 1px solid #d8d8d2;
  background-color: #ffffff;
  box-shadow: 0 1px 3px rgba(98, 108, 101, 0.08);
}

/* ===== NEWS ===== */
.news-box {
  background-color: #ffffff;
  border: 1px solid #e1e1dc;
  padding: 10px 14px;
  min-height: 268px;
  position: relative;
  box-shadow: 0 2px 8px rgba(98, 108, 101, 0.06);
}

.news-box::before {
  content: '';
  position: absolute;
  inset: 7px;
  border: 1px solid #ecece6;
  pointer-events: none;
}

.news-box::after {
  content: '';
  position: absolute;
  inset: 10px;
  border: 1px solid #e6e6df;
  pointer-events: none;
}

.news-list {
  list-style: none;
  padding: 16px;
}

.news-list li {
  border-bottom: 1px solid #f0f0ec;
  padding: 12px 0 11px;
  display: flex;
  align-items: baseline;
  gap: 10px;
}

.news-list li:last-child {
  border-bottom: none;
}

.news-list.news-archive .news-date {
  min-width: 132px;
}

.news-date {
  font-family: 'M PLUS Rounded 1c', 'Hiragino Maru Gothic ProN', 'Hiragino Sans', 'Yu Gothic', 'Meiryo', sans-serif;
  font-size: 14px;
  font-weight: 500;
  color: #b7b0a3;
  letter-spacing: 0.02em;
  white-space: nowrap;
  min-width: 98px;
  display: inline-block;
  margin-bottom: 0;
}

.news-title {
  color: #8b8377;
  font-size: 15px;
  line-height: 1.7;
  display: block;
  flex: 1;
}

.news-title:hover {
  color: rgba(204, 159, 22, 0.7);
}

.news-more-wrap {
  text-align: center;
  margin-top: 18px;
}

.btn-more {
  display: inline-block;
  border: 1px solid #e2e2dd;
  color: #8b8377;
  font-size: 12px;
  padding: 8px 42px;
  letter-spacing: 0.08em;
  transition: background-color 0.2s;
  background-color: #f7f7f7;
}

.btn-more:hover {
  background-color: #f4f3f1;
  color: #998e7c;
  text-decoration: none;
}

/* ===== CONTACT ===== */
.contact-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  justify-content: center;
  gap: 12px;
}

.contact-card {
  background-color: #ffffff;
  border: 1px solid #e1e1dc;
  padding: 18px 16px 16px;
  text-align: center;
  position: relative;
  min-height: 178px;
  box-shadow: 0 2px 8px rgba(98, 108, 101, 0.06);
}

.contact-card::before {
  content: '';
  position: absolute;
  inset: 7px;
  border: 1px solid #ecece6;
  pointer-events: none;
}

.contact-card::after {
  content: '';
  position: absolute;
  inset: 10px;
  border: 1px solid #e6e6df;
  pointer-events: none;
}

.contact-card-header {
  margin-bottom: 10px;
}

.contact-card-header h3 {
  color: #6f6552;
  font-size: 20px;
  font-weight: 700;
  letter-spacing: 0.01em;
  font-family: 'Hiragino Kaku Gothic ProN', 'Hiragino Sans', 'Yu Gothic', 'Meiryo', sans-serif;
}

.contact-card-body {
  font-size: 13px;
  color: #8b8377;
  line-height: 2.05;
  letter-spacing: 0.01em;
}

.contact-kind {
  color: #aaa190;
  font-size: 12px;
  margin-bottom: 8px;
  letter-spacing: 0.02em;
}

.contact-card-body a {
  color: #cc9f16;
}

/* ===== FOOTER ===== */
footer {
  text-align: center;
  padding: 12px 20px 28px;
  margin-top: 4px;
  font-size: 9px;
  color: #b2aa9f;
  line-height: 2;
}

.footer-link {
  color: #b6aea2;
}

/* ===== POLICY PAGE ===== */
.policy-container {
  max-width: 900px;
  padding-top: 18px;
  padding-bottom: 24px;
}

.policy-page-title {
  text-align: center;
  font-family: 'Gabriela', 'ヒラギノ明朝 ProN W3', 'Hiragino Mincho ProN', 'Yu Mincho', 'MS PMincho', serif;
  color: #6f6552;
  font-size: 42px;
  font-weight: 500;
  margin: 28px 0 14px;
  letter-spacing: 0.02em;
}

.policy-container .section-title {
  font-size: 34px;
  text-align: center;
  line-height: 1.35;
}

.policy-box {
  background-color: #ffffff;
  border: 1px solid #e1e1dc;
  padding: 34px 36px;
  position: relative;
  box-shadow: 0 2px 8px rgba(98, 108, 101, 0.06);
}

.policy-box::before {
  content: '';
  position: absolute;
  inset: 7px;
  border: 1px solid #ecece6;
  pointer-events: none;
}

.policy-box::after {
  content: '';
  position: absolute;
  inset: 10px;
  border: 1px solid #e6e6df;
  pointer-events: none;
}

.policy-box p {
  font-size: 13px;
  line-height: 2;
  color: #8b8377;
  margin-bottom: 12px;
}

.policy-box p:last-child {
  margin-bottom: 0;
}

/* ===== STAFF PAGE ===== */
.staff-intro {
  margin-bottom: 18px;
}

.staff-subtitle {
  text-align: center;
  color: #7e756a;
  font-size: 13px;
  margin-bottom: 10px;
}

.staff-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  column-gap: 16px;
  row-gap: 16px;
  margin-bottom: 10px;
}

.staff-grid .staff-card:nth-child(-n+3) {
  margin-bottom: 18px;
}

.staff-card {
  background-color: transparent;
  border: none;
  padding: 0;
  display: flex;
  flex-direction: column;
}

.staff-photo {
  width: 100%;
  height: 220px;
  object-fit: contain;
  object-position: center;
  background-color: #ffffff;
  display: block;
  margin-bottom: 5px;
}

.staff-meta {
  padding: 6px 8px 10px;
  text-align: center;
  min-height: 98px;
  display: flex;
  flex-direction: column;
  justify-content: flex-start;
}

.staff-card h3 {
  font-size: 14px;
  color: #6f6552;
  margin-bottom: 2px;
  font-weight: 700;
}

.staff-card p {
  font-size: 11px;
  line-height: 1.6;
  margin-bottom: 0;
}

.staff-card-last {
  grid-column: 2;
}

.staff-note-box {
  background-color: #ffffff;
  border: 1px solid #e1e1dc;
  box-shadow: inset 0 0 0 1px #ecece6;
  padding: 12px 14px;
  margin-top: 10px;
}

.staff-note-box p {
  margin: 0;
  font-size: 12px;
  line-height: 1.8;
}

.staff-character-wrap {
  text-align: center;
  margin-top: 14px;
}

.staff-character-wrap img {
  width: 320px;
  max-width: 100%;
  height: auto;
}

.facility-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 12px;
  margin: 6px 0 10px;
}

.facility-card {
  background-color: transparent;
  border: none;
  padding: 0;
}

.facility-card img {
  width: 100%;
  height: 230px;
  object-fit: contain;
  object-position: center;
  background-color: #ffffff;
  display: block;
  margin-bottom: 6px;
}

.facility-card figcaption {
  font-size: 12px;
  font-weight: 700;
  text-align: center;
  color: #7e756a;
  padding: 2px 6px 0;
}

/* ===== ACCESS PAGE MAP ===== */
.access-map-embed {
  position: relative;
  width: 100%;
  aspect-ratio: 16 / 11;
  min-height: 220px;
  max-height: 380px;
  margin: 0 0 10px;
  border: 1px solid #e1e1dc;
  overflow: hidden;
  background-color: #e8eeec;
}

.access-map-embed iframe {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  border: 0;
}

.policy-box .access-map-google {
  margin: 0 0 14px;
  font-size: 12px;
  text-align: center;
  line-height: 1.6;
}

/* ===== お知らせ記事（news/*.html） ===== */
.policy-box .news-article {
  margin: 0;
  padding: 0;
  border: none;
  background: transparent;
}

.policy-box .news-article__inner {
  max-width: 100%;
}

.policy-box .news-article__header {
  background-color: transparent;
  border: none;
  padding: 0;
}

.policy-box .news-article__date {
  display: block;
  font-family: 'M PLUS Rounded 1c', 'Hiragino Maru Gothic ProN', 'Hiragino Sans', 'Yu Gothic', 'Meiryo', sans-serif;
  font-size: 14px;
  font-weight: 500;
  color: #b7b0a3;
  letter-spacing: 0.02em;
  margin-bottom: 10px;
}

.policy-box .news-article__body > .news-article__title {
  background-color: transparent;
  border: none;
  border-bottom: 1px dashed #c5bcaf;
  padding: 0 0 16px;
  margin: 0 0 20px;
}

.policy-box .news-article__headline {
  font-family: 'Zen Maru Gothic', 'Hiragino Maru Gothic ProN', 'Hiragino Sans', 'Yu Gothic', 'Meiryo', sans-serif;
  font-size: 22px;
  font-weight: 700;
  color: #6f6552;
  line-height: 1.55;
  margin: 0;
}

.policy-box .news-body p {
  margin-bottom: 12px;
}

.policy-box .news-body p:last-child {
  margin-bottom: 0;
}

.policy-box .news-body__embed {
  margin: 12px 0;
  overflow-x: auto;
}

.policy-box .news-body table {
  width: 100%;
  border-collapse: collapse;
  font-size: 12px;
  margin: 12px 0;
  table-layout: fixed;
}

.policy-box .news-body table td {
  border: 1px solid #e1e1dc;
  padding: 8px 6px;
  vertical-align: top;
  color: #8b8377;
  background-color: #ffffff;
  word-break: break-word;
}

/* 3列（例：月日・曜日・プログラム）の学習会スケジュール表 — 概要列を広く
   （table の直下は tbody になるため、> tr では一致しない） */
.policy-box .news-body table:has(tr:first-child > td:nth-child(3):last-child) td:nth-child(1) {
  width: 7.25em;
  max-width: 24%;
  white-space: nowrap;
}

.policy-box .news-body table:has(tr:first-child > td:nth-child(3):last-child) td:nth-child(2) {
  width: 5em;
  max-width: 18%;
  white-space: nowrap;
}

.policy-box .news-body table:has(tr:first-child > td:nth-child(3):last-child) td:nth-child(3) {
  width: auto;
}

.policy-box .news-quote {
  margin: 12px 0;
  padding: 12px 14px;
  border-left: 3px solid #c5bcaf;
  background-color: #fafaf8;
  font-size: 13px;
  line-height: 1.85;
  color: #8b8377;
}

.policy-box .news-quote p {
  margin-bottom: 10px;
}

.policy-box .news-quote p:last-child {
  margin-bottom: 0;
}

.news-pager {
  margin-top: 22px;
}

.news-pager--adjacent {
  width: 100%;
}

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

.news-pager__link {
  display: block;
  padding: 10px 0;
  border-top: 1px solid #f0f0ec;
  color: #8b8377;
  font-size: 13px;
  text-decoration: none;
}

.news-pager__link:hover {
  color: rgba(204, 159, 22, 0.85);
  text-decoration: none;
}

.news-pager__meta {
  display: block;
  font-family: 'M PLUS Rounded 1c', 'Hiragino Maru Gothic ProN', 'Hiragino Sans', 'Yu Gothic', 'Meiryo', sans-serif;
  font-size: 12px;
  font-weight: 500;
  color: #b7b0a3;
  letter-spacing: 0.02em;
  margin-bottom: 4px;
}

.news-pager__label {
  display: block;
  line-height: 1.6;
}

/* 記事ボックス外：左＝過去、右＝新しい記事。等幅2カラム・中央に隙間・白地枠（参考デザイン準拠） */
.news-pager--adjacent .news-pager__list {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 12px 16px;
  align-items: stretch;
  width: 100%;
}

.news-pager--adjacent .news-pager__item {
  display: flex;
  min-width: 0;
  max-width: 100%;
}

.news-pager--adjacent .news-pager__item--next {
  grid-column: 1;
  grid-row: 1;
}

.news-pager--adjacent .news-pager__item--prev {
  grid-column: 2;
  grid-row: 1;
}

/* 片方だけのときも 2 列を維持し、欠けた側を空欄にする */
.news-pager--adjacent .news-pager__item:only-child.news-pager__item--next {
  grid-column: 1;
}

.news-pager--adjacent .news-pager__item:only-child.news-pager__item--prev {
  grid-column: 2;
}

.news-pager--adjacent .news-pager__link {
  flex: 1;
  width: 100%;
  min-height: 72px;
  padding: 14px 16px;
  border: 1px solid #e1e1dc;
  border-radius: 0;
  background-color: #ffffff;
  box-sizing: border-box;
  color: #6f6552;
  font-size: 13px;
  text-decoration: none;
}

.news-pager--adjacent .news-pager__meta {
  margin-bottom: 4px;
}

.news-pager--adjacent .news-pager__label {
  font-size: 13px;
  line-height: 1.55;
  color: #6f6552;
}

/* 左ボックス：左矢印＋日付・タイトル（左揃え） */
.news-pager--adjacent .news-pager__item--next .news-pager__link {
  display: grid;
  grid-template-columns: auto 1fr;
  grid-template-rows: auto auto;
  align-items: center;
  column-gap: 12px;
  row-gap: 0;
  text-align: left;
}

.news-pager--adjacent .news-pager__item--next .news-pager__link::before {
  content: '';
  grid-row: 1 / -1;
  grid-column: 1;
  justify-self: start;
  align-self: center;
  width: 0;
  height: 0;
  border-style: solid;
  border-width: 6px 8px 6px 0;
  border-color: transparent #c5c0b5 transparent transparent;
}

.news-pager--adjacent .news-pager__item--next .news-pager__link > .news-pager__meta {
  grid-column: 2;
  grid-row: 1;
}

.news-pager--adjacent .news-pager__item--next .news-pager__link > div {
  grid-column: 2;
  grid-row: 2;
  min-width: 0;
}

/* 右ボックス：日付・タイトル（左揃え）＋右矢印 */
.news-pager--adjacent .news-pager__item--prev .news-pager__link {
  display: grid;
  grid-template-columns: 1fr auto;
  grid-template-rows: auto auto;
  align-items: center;
  column-gap: 12px;
  row-gap: 0;
  text-align: left;
}

.news-pager--adjacent .news-pager__item--prev .news-pager__link::after {
  content: '';
  grid-row: 1 / -1;
  grid-column: 2;
  justify-self: end;
  align-self: center;
  width: 0;
  height: 0;
  border-style: solid;
  border-width: 6px 0 6px 8px;
  border-color: transparent transparent transparent #c5c0b5;
}

.news-pager--adjacent .news-pager__item--prev .news-pager__link > .news-pager__meta {
  grid-column: 1;
  grid-row: 1;
}

.news-pager--adjacent .news-pager__item--prev .news-pager__link > div {
  grid-column: 1;
  grid-row: 2;
  min-width: 0;
}

.news-pager--adjacent .news-pager__link:hover {
  border-color: rgba(204, 159, 22, 0.45);
  background-color: #fffdf8;
}

.news-pager--adjacent .news-pager__link:hover .news-pager__label {
  color: rgba(204, 159, 22, 0.92);
}

/* ===== RESPONSIVE ===== */
@media (max-width: 740px) {
  body {
    font-size: 14px;
  }

  nav {
    justify-content: center;
    gap: 8px;
    padding: 10px 12px 8px;
  }

  .top-bar-logo {
    font-size: 28px;
    width: 100%;
    justify-content: center;
    margin-bottom: 4px;
  }

  .nav-links {
    width: 100%;
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 2px 10px;
    background-color: rgba(201, 220, 214, 0.32);
    border-radius: 4px;
    padding: 6px 8px;
  }

  .nav-links a {
    font-size: 12px;
    padding: 8px 6px;
  }

  .nav-break {
    display: block;
    flex-basis: 100%;
    height: 0;
  }

  .sp-only-break {
    display: inline;
  }

  .hero {
    display: flex;
    flex-direction: column;
    max-width: 640px;
    margin: 0 auto 46px;
    padding: 0 12px;
  }

  .hero-card {
    position: relative;
    width: 68%;
    max-width: 320px;
    margin: -16px auto 36px;
    padding: 20px 18px;
    order: 2;
  }

  .hero-card::before {
    inset: 6px;
  }

  .hero-card::after {
    inset: 9px;
  }

  .hero-photo {
    margin-left: 0;
    margin-top: 16px;
    min-height: 290px;
    order: 1;
  }

  .container {
    padding: 0 12px;
  }

  .section {
    padding: 18px 0 26px;
  }

  .section-title {
    font-size: 30px;
    gap: 12px;
    margin-bottom: 16px;
  }

  .section-title::before,
  .section-title::after {
    height: 6px;
  }

  .blog-links {
    grid-template-columns: 1fr 1fr;
    gap: 10px 10px;
    max-width: 100%;
  }

  .blog-link-card.wide {
    width: 100%;
    max-width: 100%;
  }

  .blog-link-card.center {
    width: 100%;
  }

  .news-box {
    padding: 8px 10px;
  }

  .news-list {
    padding: 12px;
  }

  .news-list li {
    padding: 10px 0 9px;
    display: block;
  }

  .news-date {
    min-width: 92px;
    font-size: 13px;
    margin-bottom: 3px;
    display: block;
  }

  .news-title {
    font-size: 14px;
  }

  .policy-box .news-article__body > .news-article__title {
    padding-bottom: 14px;
  }

  .policy-box .news-article__headline {
    font-size: 20px;
  }

  .btn-more {
    font-size: 12px;
    padding: 8px 34px;
  }

  .contact-grid {
    grid-template-columns: 1fr;
    gap: 10px;
  }

  .contact-card {
    min-height: 0;
    padding: 16px 14px 14px;
  }

  .contact-card-header h3 {
    font-size: 18px;
  }

  .contact-card-body {
    font-size: 12px;
    line-height: 1.95;
  }

  .policy-container {
    padding-top: 6px;
  }

  .policy-page-title {
    font-size: 34px;
    margin: 18px 0 10px;
  }

  .policy-container .section-title {
    font-size: 26px;
  }


  .policy-box {
    padding: 24px 24px;
  }

  .policy-box p {
    font-size: 12px;
    line-height: 1.9;
    margin-bottom: 10px;
  }

  /* 前後2件：縦並びで読みやすく */
  .news-pager--adjacent .news-pager__list:not(:has(> .news-pager__item:only-child)) {
    grid-template-columns: 1fr;
    gap: 12px;
  }

  .news-pager--adjacent .news-pager__list:not(:has(> .news-pager__item:only-child)) .news-pager__item--next {
    grid-column: 1;
    grid-row: 1;
    justify-self: stretch;
    width: 100%;
  }

  .news-pager--adjacent .news-pager__list:not(:has(> .news-pager__item:only-child)) .news-pager__item--prev {
    grid-column: 1;
    grid-row: 2;
    justify-self: stretch;
    width: 100%;
  }

  /* 1件のみ：2列のまま、もう片方の列を空ける */
  .news-pager--adjacent .news-pager__list:has(> .news-pager__item:only-child) {
    grid-template-columns: 1fr 1fr;
    gap: 10px 12px;
  }

  .news-pager--adjacent .news-pager__list:has(> .news-pager__item:only-child) .news-pager__item--next,
  .news-pager--adjacent .news-pager__list:has(> .news-pager__item:only-child) .news-pager__item--prev {
    grid-row: 1;
  }

  .news-pager--adjacent .news-pager__item--prev .news-pager__link {
    text-align: left;
  }

  .staff-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    column-gap: 12px;
    row-gap: 18px;
  }

  .staff-photo {
    height: 180px;
  }

  .staff-card-last {
    grid-column: auto;
  }

  .staff-grid .staff-card:nth-child(-n+3) {
    margin-bottom: 0;
  }

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

  .facility-card img {
    height: 190px;
  }

  .access-map-embed {
    min-height: 200px;
    max-height: 320px;
  }
}

@media (max-width: 600px) {
  nav {
    padding: 10px 10px 6px;
  }

  .top-bar-logo {
    font-size: 24px;
  }

  .nav-links a {
    font-size: 11px;
    padding: 7px 6px;
    letter-spacing: 0.01em;
  }

  .hero {
    margin: 0 auto 40px;
    padding: 0 10px;
  }

  .hero-card {
    width: 68%;
    max-width: 320px;
  }

  .hero-card-header-title {
    font-size: 34px;
  }

  .hero-tagline,
  .hero-text,
  .hero-rep {
    font-size: 11px;
  }

  .hero-photo {
    min-height: 240px;
    border-width: 5px;
  }

  .container {
    padding: 0 10px;
  }

  .section-title {
    font-size: 26px;
    gap: 10px;
  }

  .section-title::before,
  .section-title::after {
    height: 5px;
  }

  .blog-links {
    grid-template-columns: 1fr;
    gap: 8px;
  }

  .blog-link-card.center {
    width: 100%;
  }

  .news-list {
    padding: 10px;
  }

  .news-date {
    min-width: 86px;
    font-size: 12px;
    margin-bottom: 2px;
  }

  .news-title {
    font-size: 13px;
  }

  .policy-box .news-article__body > .news-article__title {
    padding-bottom: 12px;
  }

  .policy-box .news-article__headline {
    font-size: 18px;
  }

  .policy-box .news-article__date {
    font-size: 13px;
    margin-bottom: 8px;
  }

  .contact-card-header h3 {
    font-size: 17px;
  }

  .contact-kind {
    font-size: 11px;
  }

  .contact-card-body {
    font-size: 11px;
  }

  footer {
    font-size: 10px;
    padding: 10px 14px 22px;
  }

  .policy-page-title {
    font-size: 29px;
  }

  .policy-container .section-title {
    font-size: 22px;
  }


  .policy-box {
    padding: 20px 20px;
  }

  .policy-box::before {
    inset: 6px;
  }

  .policy-box::after {
    inset: 9px;
  }

  .policy-box p {
    font-size: 11px;
    line-height: 1.85;
  }

  .staff-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    column-gap: 10px;
    row-gap: 14px;
  }

  .staff-photo {
    height: 160px;
  }

  .staff-card h3 {
    font-size: 15px;
  }

  .staff-card p {
    font-size: 11px;
  }

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

  .facility-card img {
    height: 200px;
  }

  .staff-grid .staff-card:nth-child(-n+3) {
    margin-bottom: 0;
  }

  .access-map-embed {
    min-height: 180px;
    max-height: 280px;
  }
}

