:root {
  --color-text: #454545;
  --color-text-body: #5A514D;
  --color-text-body-soft: rgba(90, 81, 77, 0.8);
  --color-white: #FFFFFF;
  --color-black: #000000;
  --color-blue-light: #CAEDFB;
  --color-blue-light-hover: #ADE3F8;
  --color-blue-dark: #4FB6FF;
  --color-bg-section: #EFFAFE;
  --color-bg-tag: #E5F6FD;
  --color-bg-table: #FAFAF9;
  --color-bg-role: rgba(202, 237, 251, 0.5);
  --color-bg-role-hover: rgba(202, 237, 251, 0.85);
  --color-bg-footer: #DFF4FD;
  --color-footer-accent: #0069A1;
  --color-hero-overlay: rgba(0, 101, 170, 0.13);
  --color-eyebrow: rgba(69, 69, 69, 0.7);
  --color-map-label: #6D879B;
  --color-card-white: rgba(255, 255, 255, 0.7);
  --color-tel-link: #5EA9DE;
  --color-tel-link-hover: #3D8FC9;
  --color-line-table: rgba(69, 69, 69, 0.1);
  --color-tint-hover: rgba(79, 182, 255, 0.08);
  --font-jp: 'Zen Maru Gothic', sans-serif;
  --font-en: 'Comfortaa', sans-serif;
  --font-map: 'Zen Kaku Gothic Antique', sans-serif;
  --font-logo: 'Kumbh Sans', sans-serif;
  --shadow-hero-text: 0 4px 14px rgba(0, 0, 0, 0.34);
  --shadow-hover: 0 6px 16px rgba(79, 182, 255, 0.25);
  --shadow-drawer: -4px 0 12px rgba(0, 0, 0, 0.15);
  --site-header-height: 84px;
  --radius-pill: 60px;
  --radius-photo: 50px;
  --radius-table: 40px;
  --radius-card: 20px;
}

body {
  font-family: var(--font-jp);
  font-weight: 500;
  font-size: 16px;
  line-height: 1.6;
  color: var(--color-text);
  background-color: var(--color-white);
}

main {
  padding-top: var(--site-header-height);
  transition: padding-top 0.3s ease;
}

section[id] {
  scroll-margin-top: calc(var(--site-header-height) + 40px);
}

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

ul,
ol {
  list-style: none;
}

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

a:visited {
  color: inherit;
}

:focus-visible {
  outline: 2px solid var(--color-blue-dark);
  outline-offset: 2px;
}

/* ---- 共通部品 ---- */

.eyebrow {
  font-family: var(--font-en);
  font-weight: 700;
  font-size: 27px;
  line-height: 30px;
  letter-spacing: 0.07em;
  color: var(--color-eyebrow);
  width: fit-content;
}

.eyebrow__initial {
  color: var(--color-blue-dark);
}

.eyebrow--large {
  font-size: 47.7px;
  line-height: 53px;
}

.eyebrow--white {
  color: var(--color-white);
}

.eyebrow .eyebrow__rest {
  margin-right: -0.07em;
}

.site-logo {
  display: flex;
  align-items: flex-start;
  gap: 9.8px;
}

.site-logo__mark {
  display: block;
  flex: 0 0 auto;
  width: 51.2px;
  height: 50.9px;
}

.site-logo__text {
  display: flex;
  flex-direction: column;
  margin-top: 2px;
}

.site-logo__sub {
  font-size: 12px;
  line-height: 14px;
  letter-spacing: 0.07em;
}

.site-logo__title {
  font-size: 24px;
  line-height: 35px;
  letter-spacing: 0.08em;
  width: fit-content;
  white-space: nowrap;
}

/* ---- ヘッダー ---- */

.site-header {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  z-index: 100;
  background-color: var(--color-white);
  transition: box-shadow 0.3s ease;
}

.site-header__inner {
  max-width: 1440px;
  margin-inline: auto;
  height: var(--site-header-height);
  display: flex;
  align-items: center;
  padding-left: 20px;
  padding-right: 21px;
  transition: height 0.3s ease;
}

.site-header__logo {
  transform-origin: left center;
  transition: opacity 0.3s ease, transform 0.3s ease;
}

.site-header__nav {
  margin-left: auto;
  font-size: 16px;
  font-weight: 500;
  line-height: 40.9px;
  letter-spacing: 0.07em;
  color: var(--color-text);
}

.site-header__nav-list {
  display: flex;
  gap: 40px;
}

.site-header__nav-list li:last-child .site-header__nav-link {
  margin-right: -0.07em;
}

.site-header__nav-link {
  position: relative;
  display: block;
  white-space: nowrap;
  transition: color 0.3s ease;
}

.site-header__nav-link::after {
  content: "";
  position: absolute;
  left: 0;
  right: 0;
  bottom: 4px;
  height: 2px;
  border-radius: 1px;
  background-color: var(--color-blue-dark);
  transform: scaleX(0);
  transform-origin: left center;
  transition: transform 0.3s ease;
}

.site-header__cta {
  flex: 0 0 auto;
  margin-left: 33px;
  display: flex;
  align-items: center;
  justify-content: center;
  width: 228px;
  height: 63px;
  border-radius: var(--radius-pill);
  background-color: var(--color-blue-light);
  transition: background-color 0.3s ease, box-shadow 0.3s ease, height 0.3s ease;
}

.site-header__cta,
.site-header__cta:visited {
  color: var(--color-text);
}

.site-header__cta-label {
  font-size: 16px;
  line-height: 40.9px;
  letter-spacing: 0.07em;
  white-space: nowrap;
}

/* ---- ヘッダー：スクロール追従のコンパクト化 ---- */
/* main.js が scrollY >= 40 で body.is-scrolled を切り替える。
   --site-header-height は header 高・main 余白・アンカー位置と連動する。 */
body.is-scrolled {
  --site-header-height: 68px;
}

body.is-scrolled .site-header {
  box-shadow: 0 4px 14px rgba(0, 0, 0, 0.1);
}

@media (min-width: 769px) {
  body.is-scrolled .site-header__logo {
    transform: scale(0.94);
  }

  body.is-scrolled .site-header__cta {
    height: 50px;
  }
}

.site-header__toggle {
  display: none;
  position: relative;
  width: 48px;
  height: 48px;
  margin-left: auto;
  cursor: pointer;
  background: none;
  transition: opacity 0.3s ease;
}

.site-header__toggle span {
  position: absolute;
  left: 50%;
  width: 26px;
  height: 2px;
  border-radius: 2px;
  background-color: var(--color-text);
  transform: translateX(-50%);
  transition: transform 0.3s ease, top 0.3s ease, opacity 0.3s ease;
}

.site-header__toggle span:nth-child(1) { top: 15px; }
.site-header__toggle span:nth-child(2) { top: 23px; }
.site-header__toggle span:nth-child(3) { top: 31px; }

.site-header__toggle.is-open span:nth-child(1) {
  top: 23px;
  transform: translateX(-50%) rotate(45deg);
}

.site-header__toggle.is-open span:nth-child(2) {
  opacity: 0;
}

.site-header__toggle.is-open span:nth-child(3) {
  top: 23px;
  transform: translateX(-50%) rotate(-45deg);
}

/* ---- ドロワー ---- */

.drawer {
  display: none;
  position: fixed;
  top: 0;
  right: -420px;
  width: 400px;
  height: 100svh;
  z-index: 90;
  background-color: var(--color-white);
  box-shadow: var(--shadow-drawer);
  visibility: hidden;
  overflow-y: auto;
  -webkit-overflow-scrolling: touch;
  padding: calc(var(--site-header-height) + 24px) 0 48px;
  transition: right 0.3s ease, visibility 0.3s ease;
}

.drawer.is-open {
  right: 0;
  visibility: visible;
}

.drawer__menu {
  padding: 0 32px;
}

.drawer__link {
  display: block;
  padding: 16px 8px;
  font-size: 16px;
  letter-spacing: 0.07em;
  border-bottom: 1px solid var(--color-line-table);
  transition: color 0.3s ease, background-color 0.3s ease;
}

.drawer__cta {
  padding: 32px 32px 0;
}

.drawer__cta-link {
  display: flex;
  align-items: center;
  justify-content: center;
  height: 56px;
  border-radius: var(--radius-pill);
  background-color: var(--color-blue-light);
  font-size: 16px;
  letter-spacing: 0.07em;
  transition: background-color 0.3s ease, box-shadow 0.3s ease;
}

.drawer__cta-link,
.drawer__cta-link:visited {
  color: var(--color-text);
}

body.is-drawer-open {
  overflow: hidden;
  position: fixed;
  width: 100%;
}

/* ---- ヒーロー ---- */

.hero {
  position: relative;
  overflow: hidden;
}

.hero__photo {
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 790px;
  pointer-events: none;
}

.hero__photo img {
  width: 100%;
  height: 100%;
  max-width: none;
  object-fit: cover;
}

.hero__photo::after {
  content: "";
  position: absolute;
  inset: 0;
  background-color: var(--color-hero-overlay);
}

.hero__inner {
  position: relative;
  width: min(1200px, 100% - 64px);
  margin-inline: auto;
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  padding-top: 74px;
  padding-bottom: 127px;
}

.hero__birds {
  position: absolute;
  left: -39px;
  top: 184px;
  width: 179px;
  height: 74px;
  pointer-events: none;
}

.hero__copy {
  min-width: 0;
}

.hero__subtitle {
  margin-top: 223px;
  font-family: var(--font-en);
  font-weight: 600;
  font-size: 23px;
  line-height: 26px;
  letter-spacing: 0.07em;
  color: var(--color-white);
  text-shadow: var(--shadow-hero-text);
  width: fit-content;
  white-space: nowrap;
}

/* 末尾の letter-spacing 分を相殺する。 */
.hero__subtitle > span {
  margin-right: -0.07em;
}

.hero__title {
  margin-top: 25px;
  font-size: 38.47px;
  font-weight: 500;
  line-height: 60.928px;
  letter-spacing: 0.07em;
  color: var(--color-white);
  text-shadow: var(--shadow-hero-text);
  width: fit-content;
}

.hero__map {
  position: relative;
  flex: 0 0 auto;
  width: 316px;
  aspect-ratio: 316 / 544;
  margin-right: 7.5%;
}

.hero__map-base {
  position: absolute;
  left: -10.7%;
  top: -5.57%;
  width: 121.4%;
  height: 112.61%;
  max-width: none;
  pointer-events: none;
}

.hero__map-borders {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  pointer-events: none;
}

.hero__map-label {
  position: absolute;
  font-family: var(--font-map);
  font-weight: 500;
  font-size: 14px;
  line-height: 20px;
  letter-spacing: 0.07em;
  color: var(--color-map-label);
  white-space: nowrap;
}

.hero__map-label--nagara { left: 20.25%; top: 12.13%; }
.hero__map-label--mobara { left: 50.32%; top: 11.58%; }
.hero__map-label--shirako { left: 80.38%; top: 11.58%; }
.hero__map-label--chosei { left: 72.78%; top: 22.61%; }
.hero__map-label--chonan { left: 30.38%; top: 30.88%; }
.hero__map-label--ichinomiya { left: 76.27%; top: 34.56%; }
.hero__map-label--mutsuzawa { left: 52.22%; top: 36.58%; }
.hero__map-label--isumi { left: 64.24%; top: 55.70%; }
.hero__map-label--otaki { left: 16.14%; top: 65.44%; }
.hero__map-label--onjuku { left: 64.87%; top: 76.84%; }
.hero__map-label--katsuura { left: 39.56%; top: 83.27%; }

.hero__wave {
  position: absolute;
  left: 0;
  right: 0;
  bottom: -274px;
  width: 100%;
  height: 401px;
  max-width: none;
  pointer-events: none;
}

/* ---- 薬局を探す ---- */

.search {
  position: relative;
  z-index: 1;
  padding: 31px 0 51px;
}

.search__inner {
  width: min(1200px, 100% - 64px);
  margin-inline: auto;
}

.search__heading-row {
  display: flex;
  align-items: center;
  gap: 9px;
}

.search__heading-icon {
  flex: 0 0 auto;
  display: flex;
  align-items: center;
  justify-content: center;
  width: 48px;
  height: 48px;
}

.search__heading-icon img {
  width: 39px;
  height: 39px;
}

.search__heading {
  font-size: 30px;
  font-weight: 500;
  line-height: 60.928px;
  letter-spacing: 0.09em;
  color: var(--color-text);
  width: fit-content;
}

.search-menu {
  display: flex;
  justify-content: center;
  gap: 35px;
  margin-top: 29px;
}

.search-menu__item {
  flex: 0 1 165px;
  min-width: 0;
}

.search-menu__item a {
  position: relative;
  display: block;
}

.search-menu__circle {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 100%;
  aspect-ratio: 1;
  border-radius: 50%;
  background-color: var(--color-bg-role);
  transition: background-color 0.3s ease;
}

.search-menu__icon {
  transition: transform 0.3s ease;
}

.search-menu__icon--map { width: 77px; height: 77px; }
.search-menu__icon--car { width: 80px; height: 80px; }
.search-menu__icon--home { width: 67px; height: 59px; }
.search-menu__icon--clock { width: 83px; height: 83px; }
.search-menu__icon--calendar { width: 80px; height: 80px; }
.search-menu__icon--pills { width: 67px; height: 67px; }

/* ラベルは絶対配置し、円だけをリンクのフロー高にする。 */
.search-menu__label {
  position: absolute;
  top: calc(100% - 6px);
  left: 50%;
  transform: translateX(-50%);
  width: max-content;
  font-size: 18px;
  font-weight: 500;
  line-height: 60.928px;
  letter-spacing: 0.01em;
  color: var(--color-black);
  white-space: nowrap;
  transition: color 0.3s ease;
}

/* ---- お知らせ ---- */

.news {
  position: relative;
  overflow-x: clip;
  padding: 142px 0 61px;
}

.news__watercolor {
  position: absolute;
  left: calc(50% + 363px);
  top: -87px;
  width: 859.7px;
  height: 463.5px;
  max-width: none;
  transform: rotate(180deg);
  pointer-events: none;
}

.news__inner {
  position: relative;
  z-index: 1;
  width: min(1200px, 100% - 64px);
  margin-inline: auto;
  display: flex;
  align-items: flex-start;
}

.news__head {
  flex: 0 0 314px;
  min-width: 0;
}

.news__eyebrow {
  margin-left: 4px;
}

.news__heading {
  margin-top: 5px;
  font-size: 36px;
  font-weight: 500;
  line-height: 52px;
  letter-spacing: 0.09em;
  color: var(--color-text);
  width: fit-content;
}

.news__more {
  display: grid;
  grid-template-columns: 1fr auto 1fr;
  align-items: center;
  width: 225px;
  height: 52px;
  margin-top: 92px;
  margin-left: 1px;
  border-radius: var(--radius-pill);
  background-color: var(--color-blue-light);
  transition: background-color 0.3s ease, box-shadow 0.3s ease;
}

.news__more,
.news__more:visited {
  color: var(--color-text);
}

.news__more-label {
  grid-column: 2;
  font-size: 16px;
  line-height: 40.9px;
  letter-spacing: 0.07em;
  white-space: nowrap;
}

.news__more-arrow {
  grid-column: 3;
  justify-self: end;
  margin-right: 14px;
  width: 12px;
  height: 10px;
  transform: rotate(90deg);
  transition: transform 0.3s ease;
}

.news__list {
  flex: 0 1 869px;
  min-width: 0;
  margin-top: 21px;
}

.news-item__link {
  position: relative;
  z-index: 1;
  display: flex;
  align-items: center;
  padding-left: 30px;
  border-radius: 8px;
  transition: background-color 0.3s ease;
}

.news-item__date {
  flex: 0 0 114px;
  font-family: var(--font-en);
  font-size: 16px;
  line-height: 18px;
  letter-spacing: 0.06em;
  color: var(--color-text-body);
}

.news-item__tag {
  flex: 0 0 114px;
  height: 27px;
  border-radius: 50px;
  background-color: var(--color-bg-tag);
  font-size: 13px;
  line-height: 27px;
  letter-spacing: -0.03em;
  color: var(--color-text-body);
  text-align: center;
}

.news-item__title {
  margin-left: 44px;
  min-width: 0;
  font-size: 16px;
  line-height: 18px;
  color: var(--color-text-body);
  transition: color 0.3s ease;
}

.news-item {
  position: relative;
}

.news-item::before {
  content: "";
  position: absolute;
  left: 0;
  right: 0;
  top: -22px;
  bottom: 2px;
  border-radius: 8px;
  background-color: transparent;
  transition: background-color 0.3s ease;
}

.news-item::after {
  content: "";
  position: relative;
  z-index: 1;
  display: block;
  height: 2px;
  margin-top: 28px;
  background: url("../images/line-dotted-news.svg") left center / 100% 2px no-repeat;
}

.news-item + .news-item {
  margin-top: 22px;
}

/* ---- 会長挨拶 ---- */

.greetings {
  position: relative;
  overflow: hidden;
  padding-top: 135px;
  padding-bottom: 45px;
}

/* greetings から activity へ続く背景帯。 */
.greetings::before {
  content: "";
  position: absolute;
  left: 0;
  right: 0;
  top: 358px;
  bottom: 0;
  background-color: var(--color-bg-section);
}

.greetings__wave {
  position: absolute;
  left: -823px;
  right: -49px;
  top: -212px;
  width: calc(100% + 872px);
  height: 590px;
  max-width: none;
  pointer-events: none;
}

.greetings__inner {
  position: relative;
  width: min(1200px, 100% - 64px);
  margin-inline: auto;
}

.greetings__cols {
  display: flex;
  align-items: flex-start;
}

.greetings__col--lead {
  flex: 0 0 438px;
  min-width: 0;
}

.greetings__eyebrow {
  margin-left: 7px;
}

.greetings__lead {
  margin-top: 29px;
  margin-left: 7px;
  font-size: 24px;
  font-weight: 500;
  line-height: 42px;
  letter-spacing: 0.13em;
  color: var(--color-text);
  width: max-content;
}

/* タブレット幅でのみ改行を有効化する。 */
.greetings__lead-break {
  display: none;
}

.greetings__col--body {
  flex: 1 1 auto;
  min-width: 0;
  margin-left: 118px;
}

.greetings__body {
  margin-top: 84px;
  margin-left: 47px;
  max-width: 596px;
  font-size: 16px;
  line-height: 2.16;
  color: var(--color-text-body);
}

.greetings__signature {
  margin-top: 26px;
  font-size: 16px;
  line-height: 2.24;
  color: var(--color-text-body);
  text-align: right;
}

.greetings__photo-sub {
  position: relative;
  overflow: hidden;
  margin-top: 80px;
  margin-left: 322px;
  width: 376px;
  aspect-ratio: 376 / 230;
  border-radius: 30px;
}

/* デザイン指定のクロップ位置。 */
.greetings__photo-sub img {
  position: absolute;
  left: -13.24%;
  top: -70.47%;
  width: 155.52%;
  height: 170.66%;
  max-width: none;
}

.greetings__photo-main {
  position: absolute;
  left: max(0px, calc(50% - 720px));
  top: 441px;
  width: 609px;
  aspect-ratio: 609 / 377;
  overflow: hidden;
  border-radius: 0 var(--radius-photo) var(--radius-photo) 0;
}

/* デザイン指定のクロップ位置。 */
.greetings__photo-main img {
  position: absolute;
  left: 0;
  top: -41.83%;
  width: 100%;
  height: 149.93%;
  max-width: none;
}

/* ---- わたしたちの活動 ---- */

.activity {
  position: relative;
  overflow-x: clip;
  padding: 40px 0 33px;
}

/* 背景帯を organization 上端まで延長する。 */
.activity::before {
  content: "";
  position: absolute;
  left: 0;
  right: 0;
  top: 0;
  bottom: -174px;
  background-color: var(--color-bg-section);
}

.activity__inner {
  position: relative;
  width: min(1200px, 100% - 64px);
  margin-inline: auto;
}

.activity__eyebrow {
  margin-left: 4px;
}

.activity__heading {
  margin-top: 5px;
  font-size: 42px;
  font-weight: 500;
  line-height: 61px;
  letter-spacing: 0.09em;
  color: var(--color-text);
  width: fit-content;
}

.activity__cards {
  margin-top: 54px;
  margin-left: -5px;
  width: calc(100% + 4px);
}

.activity-card {
  display: flex;
  align-items: flex-start;
  gap: 69px;
}

.activity-card--reverse {
  flex-direction: row-reverse;
}

.activity-card + .activity-card {
  margin-top: 85px;
}

.activity-card--reverse + .activity-card {
  margin-top: 88px;
}

.activity-card__photo {
  position: relative;
  flex: 0 1 607px;
  min-width: 0;
}

.activity-card__photo > img:first-child {
  width: 100%;
  aspect-ratio: 607 / 414;
  object-fit: cover;
  border-radius: var(--radius-photo);
}

.activity-card__photo-wave {
  position: absolute;
  left: -7px;
  bottom: 0;
  width: calc(100% + 35px);
  height: 61px;
  max-width: none;
  pointer-events: none;
}

.activity-card--reverse .activity-card__photo-wave {
  height: 57.7px;
}

.activity-card__text {
  flex: 0 1 528px;
  min-width: 0;
  padding-top: 49px;
}

.activity-card--reverse .activity-card__text {
  padding-top: 72px;
}

.activity-card__title {
  font-size: 30px;
  font-weight: 500;
  line-height: 60.928px;
  letter-spacing: 0.09em;
  color: var(--color-text);
  width: fit-content;
}

.activity-card__line {
  margin-top: 16px;
  width: 508px;
  max-width: 100%;
  height: 2px;
  background: url("../images/line-dotted-card.svg") left center / 100% 2px no-repeat;
}

.activity-card--reverse .activity-card__line {
  margin-top: 19px;
}

.activity-card__body {
  margin-top: 22px;
  font-size: 18px;
  line-height: 34.9px;
  letter-spacing: 0.1em;
  color: var(--color-text);
}

.activity-card--reverse .activity-card__body {
  margin-top: 38px;
}

/* ---- 役員リスト ---- */

.organization {
  position: relative;
  overflow: hidden;
  padding: 219px 0 79px;
}

.organization__wave {
  position: absolute;
  left: -118px;
  right: -754px;
  top: -203px;
  width: calc(100% + 872px);
  height: 590px;
  max-width: none;
  transform: scaleX(-1);
  pointer-events: none;
}

.organization__watercolor {
  position: absolute;
  max-width: none;
  pointer-events: none;
}

.organization__watercolor--left {
  left: max(-421.5px, calc(50% - 1141.5px));
  top: 106.9px;
  width: 630.9px;
  height: 272.6px;
  transform: rotate(180deg);
}

.organization__watercolor--right {
  left: calc(50% + 446.5px);
  top: 441.5px;
  width: 715.1px;
  height: 339px;
}

.organization__inner {
  position: relative;
  z-index: 1;
  width: min(1200px, 100% - 64px);
  margin-inline: auto;
}

.organization__inner[id] {
  scroll-margin-top: calc(var(--site-header-height) + 40px);
}

.organization__eyebrow {
  margin-left: 4px;
}

.organization__heading {
  margin-top: 5px;
  font-size: 42px;
  font-weight: 500;
  line-height: 61px;
  letter-spacing: 0.09em;
  color: var(--color-text);
  width: fit-content;
}

.organization__table {
  margin-top: 40px;
  background-color: var(--color-bg-table);
  border-radius: var(--radius-table);
  overflow: hidden;
  font-size: 18px;
  line-height: 26px;
  letter-spacing: 0.07em;
  color: var(--color-black);
}

.organization__row {
  display: grid;
  grid-template-columns: 196px 1fr;
}

.organization__row + .organization__row {
  border-top: 1px solid var(--color-line-table);
}

.organization__role-cell {
  background-color: var(--color-bg-role);
  padding: 20px 0 19px 60px;
}

.organization__row:first-child .organization__role-cell {
  padding-top: 25px;
}

.organization__names {
  display: flex;
  flex-wrap: wrap;
  column-gap: 24px;
  row-gap: 16px;
  padding: 20px 40px 19px 53px;
}

.organization__row:first-child .organization__names {
  padding-top: 25px;
}

.organization__names--wrap {
  display: block;
  max-width: calc(888px + 93px);
  padding-bottom: 34px;
}

.organization__names-list {
  display: flex;
  flex-wrap: wrap;
  column-gap: 24px;
  row-gap: 16px;
}

/* ---- 入会・お問い合わせ ---- */

.contact {
  position: relative;
  overflow: hidden;
  padding: 190px 0 221px;
}

.contact__bg {
  position: absolute;
  left: -4px;
  right: -40px;
  top: 7px;
  width: calc(100% + 44px);
  height: 646px;
  max-width: none;
  object-fit: cover;
  object-position: center top;
  pointer-events: none;
}

.contact__birds {
  position: absolute;
  left: calc(50% - 358px);
  top: 116px;
  width: 179px;
  height: 74px;
  pointer-events: none;
}

.contact__inner {
  position: relative;
  width: min(1200px, 100% - 64px);
  margin-inline: auto;
  display: flex;
  align-items: flex-start;
}

.contact__copy {
  flex: 0 1 506px;
  min-width: 0;
}

.contact__eyebrow {
  margin-left: 4px;
}

.contact__heading {
  margin-top: 5px;
  font-size: 42px;
  font-weight: 500;
  line-height: 61px;
  letter-spacing: 0.09em;
  color: var(--color-white);
  width: fit-content;
}

.contact__body {
  margin-top: 51px;
  margin-left: 7px;
  max-width: 420px;
  font-size: 18px;
  line-height: 1.9;
  color: var(--color-white);
}

.contact-card {
  flex: 0 1 694px;
  min-width: 0;
  margin-top: 21px;
  border-radius: var(--radius-card);
  background-color: var(--color-card-white);
  padding: 44px 55px 38px;
}

.contact-card__title {
  font-size: 18px;
  font-weight: 500;
  line-height: 33px;
  color: var(--color-text-body);
}

.contact-card__line {
  margin-top: 7px;
  height: 2px;
  background: url("../images/line-dotted-card.svg") left center / 100% 2px no-repeat;
}

.contact-card__address {
  margin-top: 16px;
  font-size: 16px;
  line-height: 1.84;
  color: var(--color-text-body-soft);
}

.contact-card__tel {
  margin-top: 2px;
  font-family: var(--font-en);
  font-size: 16px;
  line-height: 1.84;
  letter-spacing: 0.07em;
  color: var(--color-text-body-soft);
}

/* TEL/FAX 単位で改行を抑止する。 */
.contact-card__tel-group {
  white-space: nowrap;
}

.contact-card__tel-unit {
  font-size: 13.6px;
}

.contact-card__tel-link {
  text-decoration: underline;
  text-underline-offset: 3px;
  transition: color 0.3s ease;
}

.contact-card__tel-link,
.contact-card__tel-link:visited {
  color: var(--color-tel-link);
}

/* ---- フッター ---- */

.site-footer {
  background-color: var(--color-bg-footer);
}

.site-footer__inner {
  max-width: 1440px;
  margin-inline: auto;
  padding: 72px 83px 77px 74px;
  display: grid;
  grid-template-columns: 1fr auto;
  grid-template-areas:
    "logo nav"
    "addr copy"
    "tel  .";
  align-items: start;
}

.site-footer__logo {
  grid-area: logo;
}

.site-footer__nav {
  grid-area: nav;
  width: fit-content;
  margin-left: auto;
  margin-top: 37px;
  font-size: 16px;
  font-weight: 500;
  line-height: 40.9px;
  letter-spacing: 0.07em;
  color: var(--color-text);
}

.site-footer__nav-list {
  display: flex;
  flex-wrap: wrap;
  justify-content: flex-end;
  gap: 40px;
}

.site-footer__nav-list li:last-child .site-footer__nav-link {
  margin-right: -0.07em;
}

.site-footer__nav-link {
  display: block;
  white-space: nowrap;
  transition: color 0.3s ease, opacity 0.3s ease;
}

.site-footer__address {
  grid-area: addr;
  margin-top: 9px;
  font-size: 16px;
  line-height: 1.84;
  color: var(--color-text);
}

.site-footer__address-line {
  display: inline;
}

.site-footer__copyright {
  grid-area: copy;
  margin-top: 21px;
  justify-self: end;
  font-family: var(--font-en);
  font-size: 16px;
  line-height: 22px;
  letter-spacing: 0.07em;
  color: var(--color-footer-accent);
}

.site-footer__copyright-name {
  font-weight: 700;
}

.site-footer__tel {
  grid-area: tel;
  font-family: var(--font-en);
  font-size: 16px;
  line-height: 1.84;
  letter-spacing: 0.07em;
  color: var(--color-text);
}

/* TEL/FAX 単位で改行を抑止する。 */
.site-footer__tel-group {
  white-space: nowrap;
}

.site-footer__tel-unit {
  font-size: 14px;
}

.site-footer__tel-link {
  text-decoration: underline;
  text-underline-offset: 3px;
  transition: color 0.3s ease;
}

.site-footer__tel-link,
.site-footer__tel-link:visited {
  color: var(--color-text);
}

.site-footer__bottom {
  background-color: var(--color-footer-accent);
}

.site-footer__strip {
  max-width: 1440px;
  margin-inline: auto;
  height: 33px;
  background-color: var(--color-footer-accent);
}

/* ---- hover（ポインタ環境のみ） ---- */

@media (hover: hover) and (pointer: fine) {
  .site-header__logo:hover {
    opacity: 0.75;
  }

  .site-header__nav-link:hover {
    color: var(--color-blue-dark);
  }

  .site-header__nav-link:hover::after {
    transform: scaleX(1);
  }

  .site-header__cta:hover,
  .drawer__cta-link:hover,
  .news__more:hover {
    background-color: var(--color-blue-light-hover);
    box-shadow: var(--shadow-hover);
    color: var(--color-text);
  }

  .news__more:hover .news__more-arrow {
    transform: rotate(90deg) translateY(-4px);
  }

  .site-header__toggle:hover {
    opacity: 0.7;
  }

  .search-menu__item a:hover .search-menu__circle {
    background-color: var(--color-bg-role-hover);
  }

  .search-menu__item a:hover .search-menu__icon {
    transform: translateY(-3px);
  }

  .search-menu__item a:hover .search-menu__label {
    color: var(--color-blue-dark);
  }

  .news-item:hover::before {
    background-color: var(--color-tint-hover);
  }

  .news-item:hover .news-item__title {
    color: var(--color-blue-dark);
  }

  .drawer__link:hover {
    color: var(--color-blue-dark);
    background-color: var(--color-tint-hover);
  }

  .contact-card__tel-link:hover {
    color: var(--color-tel-link-hover);
  }

  .site-footer__nav-link:hover {
    color: var(--color-blue-dark);
    opacity: 0.85;
  }

  .site-footer__tel-link:hover {
    color: var(--color-tel-link-hover);
  }
}

/* ---- 中間帯（1025–1218px） ---- */

@media (max-width: 1218px) {
  .site-header__nav-list {
    gap: 28px;
  }

  .site-header__cta {
    margin-left: 24px;
  }

  .hero__map {
    margin-right: min(7.5%, 60px);
  }

  .greetings__photo-sub {
    margin-left: min(322px, calc(100% - 376px));
  }

  .contact__heading {
    font-size: 36px;
    line-height: 52px;
  }
}

@media (max-width: 1416px) {
  .site-footer__address-line {
    display: block;
  }
}

@media (max-width: 1068px) {
  .site-footer__nav {
    display: none;
  }

  .site-footer__inner {
    grid-template-columns: 1fr;
    grid-template-areas:
      "logo"
      "addr"
      "tel"
      "copy";
    padding: 48px 24px 64px;
  }

  .site-footer__address {
    margin-top: 28px;
  }

  .site-footer__copyright {
    justify-self: start;
    margin-top: 28px;
  }
}

/* ---- タブレット（〜1024px） ---- */

@media (max-width: 1024px) {
  .site-header__nav,
  .site-header__cta {
    display: none;
  }

  .site-header__toggle {
    display: block;
  }

  .drawer {
    display: block;
  }

  .hero__inner {
    padding-top: 64px;
    padding-bottom: 110px;
  }

  .hero__subtitle {
    margin-top: 200px;
    font-size: 18px;
    line-height: 22px;
  }

  .hero__title {
    margin-top: 15px;
    font-size: 30px;
    line-height: 48px;
  }

  .hero__photo {
    height: 100%;
  }

  .hero__birds {
    left: 0;
    top: 60px;
  }

  .hero__map {
    width: 240px;
    margin-right: 0;
  }

  /* 地図内に収まるようラベルを縮小する。 */
  .hero__map-label {
    font-size: 12px;
    line-height: 16px;
  }

  /* search: 3列グリッド */
  .search-menu {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 165px));
    justify-content: center;
    column-gap: min(48px, 4%);
    row-gap: 84px;
  }

  .search {
    padding-bottom: 80px;
  }

  /* news: 2カラム維持 */
  .news {
    padding: 96px 0 56px;
  }

  /* CTA をリスト最下部へ寄せる。 */
  .news__inner {
    align-items: stretch;
  }

  .news__head {
    flex: 0 0 260px;
    display: flex;
    flex-direction: column;
  }

  .news__more {
    margin-top: auto;
  }

  .news-item__link {
    flex-wrap: wrap;
    padding-left: 0;
    padding-bottom: 4px;
  }

  .news-item__title {
    flex-basis: 100%;
    margin-left: 0;
    margin-top: 10px;
    line-height: 1.6;
  }

  /* greetings: 2カラム維持 */
  .greetings {
    padding-top: 130px;
  }

  .greetings::before {
    top: 280px;
  }

  .greetings__col--lead {
    flex: 0 0 280px;
  }

  .greetings__lead {
    font-size: 20px;
    line-height: 36px;
  }

  .greetings__col--body {
    margin-left: 40px;
  }

  .greetings__body {
    margin-top: 24px;
    margin-left: 0;
  }

  .greetings__photo-sub {
    margin-top: 32px;
    margin-left: auto;
    width: min(376px, 70%);
  }

  /* 下段左の写真はビューポート左端に合わせる。 */
  .greetings__photo-main {
    position: absolute;
    left: 0;
    top: auto;
    bottom: 45px;
    width: min(456px, 52%);
    margin-top: 0;
  }

  .activity__cards {
    margin-left: 0;
    width: 100%;
  }

  .activity-card {
    gap: 40px;
  }

  .activity-card__text,
  .activity-card--reverse .activity-card__text {
    padding-top: 8px;
  }

  .organization__row {
    grid-template-columns: 140px 1fr;
  }

  .organization__role-cell {
    padding-left: 32px;
  }

  .organization__names {
    padding-left: 32px;
    padding-right: 24px;
  }

  .contact__heading {
    font-size: 32px;
    line-height: 46px;
  }

  .contact__body {
    margin-top: 32px;
  }

  .contact__inner {
    gap: 32px;
  }

}

/* ---- タブレット 2 カラム帯のみ（769–1024px） ---- */

@media (min-width: 769px) and (max-width: 1024px) {
  .contact__bg {
    top: 0;
    height: 100%;
  }

  /* リード列の折り返しを有効化する。 */
  .greetings__lead-break {
    display: inline;
  }

  /* タイトルを1行に保つ。 */
  .activity-card__title {
    font-size: 26px;
  }

  .activity-card__line,
  .activity-card--reverse .activity-card__line {
    margin-top: 0;
  }

  /* 見出しを1行に保つ。 */
  .contact__heading {
    font-size: 28px;
    line-height: 40px;
    white-space: nowrap;
  }
}

/* ---- 狭タブレット（〜768px） ---- */

@media (max-width: 768px) {
  /* SP のヘッダー基準高。関連余白は --site-header-height と連動する。 */
  :root {
    --site-header-height: 64px;
  }

  /* SP のスクロール時ヘッダー高。 */
  body.is-scrolled {
    --site-header-height: 56px;
  }

  .site-logo {
    gap: 7px;
  }

  .site-logo__mark {
    width: 40px;
    height: 40px;
  }

  .site-logo__sub {
    font-size: 10px;
    line-height: 12px;
  }

  .site-logo__title {
    font-size: 18px;
    line-height: 26px;
  }

  .drawer {
    width: 100%;
    right: -100%;
    box-shadow: none;
  }

  /* SP hero は写真上に地図・コピー・カモメを重ねる。 */
  .hero__inner {
    display: block;
    flex-direction: initial;
    align-items: initial;
    position: relative;
    /* 写真下に波の表示領域を確保する。 */
    min-height: min(150vw, 705px);
    padding-top: 12px;
    padding-bottom: 0;
  }

  /* 写真は 440:619 基準で高さ方向にクロップする。 */
  .hero__photo {
    height: min(141vw, 677px);
  }

  /* コピー可読性のため写真に青みを加える。 */
  .hero__photo::after {
    background-color: rgba(2, 137, 203, 0.3);
  }

  /* 地図は写真右上に重ね、203:350を維持する。 */
  .hero__map {
    position: absolute;
    top: clamp(14px, 5vw, 24px);
    right: clamp(0px, 1vw, 5px);
    width: clamp(150px, 50vw, 240px);
    margin: 0;
  }

  /* 地図サイズに連動してラベルを縮小する。 */
  .hero__map-label {
    font-size: clamp(8px, 2.2vw, 11px);
    line-height: 1.2;
  }

  /* 地図と重ならない位置にコピーを重ねる。 */
  .hero__copy {
    position: absolute;
    left: 0;
    right: 0;
    top: 63%;
  }

  /* 440px 幅基準でスケールする。 */
  .hero__subtitle {
    margin-top: 0;
    width: auto;
    white-space: normal;
    font-size: clamp(13px, 3.46vw, 15.2px);
    line-height: 1.35;
  }

  /* 440px 幅基準でスケールし、狭幅では折り返す。 */
  .hero__title {
    margin-top: 10px;
    width: auto;
    font-size: clamp(19px, 5.78vw, 25.4px);
    line-height: 1.585;
  }

  /* カモメは写真左中に重ねる。 */
  .hero__birds {
    left: 0;
    top: 50%;
    bottom: auto;
    width: 92px;
  }

  /* 波の青帯を hero 内に残し、白地は下にはみ出してクリップする。 */
  .hero__wave {
    --hero-wave-h: min(46vw, 215px);
    height: var(--hero-wave-h);
    bottom: calc(var(--hero-wave-h) * -0.55);
  }

  /* SP: 見出し、リスト、CTA の順に積む。 */
  .news__inner {
    flex-direction: column;
  }

  .news__head {
    display: contents;
  }

  .news__more {
    margin-top: 36px;
    margin-left: 0;
    order: 1;
    align-self: center;
  }

  .news__list {
    flex: 0 0 auto;
    width: 100%;
    margin-top: 32px;
  }

  /* 波と重ならないよう上余白を確保する。 */
  .greetings {
    padding-top: 150px;
  }

  .greetings__cols {
    flex-direction: column;
  }

  .greetings__col--lead {
    flex: 0 0 auto;
    width: 100%;
  }

  .greetings__col--body {
    margin-left: 0;
    width: 100%;
  }

  .greetings__body {
    margin-top: 32px;
    max-width: none;
  }

  .greetings__photo-sub,
  .greetings__photo-main {
    display: none;
  }

  .activity-card,
  .activity-card--reverse {
    flex-direction: column;
    gap: 0;
  }

  .activity-card__photo {
    flex: 0 0 auto;
    width: 100%;
  }

  /* 縦積み時は flex-basis を高さにしない。 */
  .activity-card__text,
  .activity-card--reverse .activity-card__text {
    flex: 0 0 auto;
    width: 100%;
    padding-top: 24px;
  }

  .activity-card + .activity-card,
  .activity-card--reverse + .activity-card {
    margin-top: 64px;
  }

  .activity__heading,
  .organization__heading {
    font-size: 32px;
    line-height: 48px;
  }

  /* SP: 役員表は行ごとに縦積みする。 */
  .organization__row {
    display: block;
  }

  .organization__role-cell,
  .organization__row:first-child .organization__role-cell {
    padding: 12px 24px;
  }

  .organization__names,
  .organization__row:first-child .organization__names {
    padding: 14px 24px 18px;
  }

  .organization__names--wrap {
    max-width: none;
    padding-bottom: 18px;
  }

  .organization__table {
    border-radius: 24px;
  }

  .contact {
    padding: 120px 0 140px;
  }

  .contact__bg {
    top: 0;
    height: 100%;
  }

  .contact__birds {
    left: 24px;
    top: 48px;
  }

  .contact__inner {
    flex-direction: column;
  }

  .contact__copy {
    flex: 0 0 auto;
  }

  .contact-card {
    flex: 0 0 auto;
    width: 100%;
    margin-top: 40px;
    padding: 32px 32px 28px;
  }

  .news__heading {
    font-size: 30px;
    line-height: 44px;
  }

  .search__heading {
    font-size: 26px;
    line-height: 48px;
  }

  .greetings__eyebrow.eyebrow--large {
    font-size: 36px;
    line-height: 40px;
  }
}

/* ---- モバイル（〜480px） ---- */

@media (max-width: 480px) {
  .hero__inner,
  .search__inner,
  .news__inner,
  .greetings__inner,
  .activity__inner,
  .organization__inner,
  .contact__inner {
    width: calc(100% - 40px);
  }

  .search-menu {
    grid-template-columns: repeat(2, minmax(0, 165px));
    column-gap: 24px;
    row-gap: 80px;
  }

  .search-menu__circle {
    max-width: 165px;
    margin-inline: auto;
  }

  .search__heading {
    font-size: 22px;
    line-height: 40px;
  }

  .search__heading-icon {
    width: 40px;
    height: 40px;
  }

  .eyebrow {
    font-size: 22px;
    line-height: 26px;
  }

  .greetings__eyebrow.eyebrow--large {
    font-size: 30px;
    line-height: 34px;
  }

  .news__heading {
    font-size: 26px;
    line-height: 40px;
  }

  .activity__heading,
  .organization__heading,
  .contact__heading {
    font-size: 26px;
    line-height: 40px;
  }

  .activity-card__title {
    font-size: 24px;
    line-height: 40px;
  }

  .greetings__lead {
    font-size: 18px;
    line-height: 32px;
    width: auto;
  }

  .greetings__photo-main {
    width: calc(100% - 20px);
    border-radius: 0 30px 30px 0;
  }

  .greetings__photo-sub {
    width: min(376px, 85%);
  }

  .organization__role-cell,
  .organization__row:first-child .organization__role-cell {
    padding: 12px 20px;
  }

  .organization__names,
  .organization__row:first-child .organization__names {
    padding: 14px 20px 18px;
  }

  .contact-card {
    padding: 28px 24px 24px;
  }

  .contact__body {
    font-size: 16px;
  }

  .site-footer__inner {
    padding: 40px 20px 56px;
  }

  /* コピーライトは1行表示を維持する。 */
  .site-footer__copyright {
    white-space: nowrap;
    font-size: clamp(11px, 3.7vw, 16px);
  }
}

/* ==== 固定ページ・404 ==== */

.page-shell,
.not-found {
  position: relative;
  overflow-x: clip;
  padding: 72px 0 120px;
}

.page-shell__inner,
.not-found__inner {
  width: min(960px, 100% - 64px);
  margin-inline: auto;
}

.page-shell__eyebrow,
.not-found__eyebrow {
  margin-bottom: 10px;
}

.page-shell__title,
.not-found__title {
  font-size: 42px;
  font-weight: 500;
  line-height: 1.45;
  letter-spacing: 0.09em;
  color: var(--color-text);
}

.page-shell__content,
.not-found__content {
  margin-top: 36px;
  font-size: 16px;
  line-height: 2;
  letter-spacing: 0.04em;
  color: var(--color-text-body);
}

.page-shell__content > * + *,
.not-found__content > * + * {
  margin-top: 1.4em;
}

.page-shell__content h2,
.page-shell__content h3,
.page-shell__content h4,
.page-shell__content h5,
.page-shell__content h6 {
  color: var(--color-text);
  font-weight: 500;
  letter-spacing: 0.08em;
}

.page-shell__content h2 {
  position: relative;
  margin-top: 56px;
  padding-left: 20px;
  font-size: 26px;
  line-height: 1.6;
}

.page-shell__content h2::before {
  content: "";
  position: absolute;
  left: 0;
  top: 0.32em;
  width: 6px;
  height: 1.1em;
  border-radius: 3px;
  background-color: var(--color-blue-dark);
}

.page-shell__content h3 {
  margin-top: 44px;
  padding-bottom: 12px;
  border-bottom: 2px dotted rgba(79, 182, 255, 0.55);
  font-size: 22px;
  line-height: 1.6;
}

.page-shell__content h4,
.page-shell__content h5,
.page-shell__content h6 {
  margin-top: 34px;
  font-size: 18px;
  line-height: 1.7;
}

.page-shell__content ul,
.page-shell__content ol {
  list-style: revert;
  padding-left: 1.4em;
}

.page-shell__content li + li {
  margin-top: 8px;
}

.page-shell__content strong {
  font-weight: 700;
}

.page-shell__content a {
  color: var(--color-footer-accent);
  text-decoration: underline;
  text-underline-offset: 0.18em;
}

.page-shell__content img {
  width: auto;
  border-radius: var(--radius-card);
}

/* ==== お知らせ詳細ページ（news.html） ==== */

.news-detail {
  position: relative;
  overflow-x: clip;
  padding: 72px 0 120px;
}

/* 一覧と同じ水彩背景。 */
.news-detail__watercolor {
  position: absolute;
  left: calc(50% + 363px);
  top: -120px;
  width: 859.7px;
  height: 463.5px;
  max-width: none;
  transform: rotate(180deg);
  pointer-events: none;
  z-index: 0;
}

.news-detail__inner {
  position: relative;
  z-index: 1;
  width: min(800px, 100% - 64px);
  margin-inline: auto;
}

/* ---- 記事ヘッダー ---- */

.article__eyebrow {
  margin-left: 2px;
}

.article__header {
  margin-top: 14px;
}

.article__meta {
  display: flex;
  align-items: center;
  gap: 20px;
}

.article__date {
  font-family: var(--font-en);
  font-size: 16px;
  line-height: 18px;
  letter-spacing: 0.06em;
  color: var(--color-text-body);
}

.article__tag {
  display: inline-block;
  min-width: 114px;
  height: 27px;
  padding: 0 16px;
  border-radius: 50px;
  background-color: var(--color-bg-tag);
  font-size: 13px;
  line-height: 27px;
  letter-spacing: -0.03em;
  color: var(--color-text-body);
  text-align: center;
}

.article__title {
  margin-top: 18px;
  font-size: 32px;
  font-weight: 500;
  line-height: 1.6;
  letter-spacing: 0.07em;
  color: var(--color-text);
}

.article__divider {
  margin-top: 28px;
  height: 2px;
  background: url("../images/line-dotted-news.svg") left center / 100% 2px no-repeat;
}

/* ---- 記事本文 ---- */

.article__body {
  margin-top: 44px;
  font-size: 16px;
  line-height: 2.16;
  letter-spacing: 0.04em;
  color: var(--color-text-body);
}

.article__body > * {
  margin-top: 26px;
}

.article__body > *:first-child {
  margin-top: 0;
}

.article__body h2,
.article__body h3,
.article__body h4,
.article__body h5,
.article__body h6 {
  color: var(--color-text);
  font-weight: 500;
  letter-spacing: 0.08em;
}

.article__subheading,
.article__body h2 {
  position: relative;
  margin-top: 52px;
  padding-left: 18px;
  font-size: 22px;
  font-weight: 500;
  line-height: 1.6;
  letter-spacing: 0.08em;
  color: var(--color-text);
}

.article__subheading::before,
.article__body h2::before {
  content: "";
  position: absolute;
  left: 0;
  top: 0.32em;
  width: 6px;
  height: 1.06em;
  border-radius: 3px;
  background-color: var(--color-blue-dark);
}

.article__body h3 {
  margin-top: 44px;
  padding-bottom: 12px;
  border-bottom: 2px dotted rgba(79, 182, 255, 0.55);
  font-size: 20px;
  line-height: 1.6;
}

.article__body h4,
.article__body h5,
.article__body h6 {
  margin-top: 34px;
  font-size: 18px;
  line-height: 1.7;
}

.article__list,
.article__body ul {
  padding-left: 4px;
  list-style: none;
}

.article__list li,
.article__body ul > li {
  position: relative;
  padding-left: 26px;
}

.article__list li + li,
.article__body li + li {
  margin-top: 12px;
}

.article__list li::before,
.article__body ul > li::before {
  content: "";
  position: absolute;
  left: 4px;
  top: 0.78em;
  width: 9px;
  height: 9px;
  border-radius: 50%;
  background-color: var(--color-blue-dark);
}

.article__body ol {
  padding-left: 1.6em;
  list-style: decimal;
}

.article__body ol > li::marker {
  color: var(--color-blue-dark);
  font-family: var(--font-en);
  font-weight: 700;
}

.article__body strong {
  font-weight: 700;
}

.article__body a {
  color: var(--color-footer-accent);
  text-decoration: underline;
  text-underline-offset: 0.18em;
}

.article__figure,
.article__body figure,
.article__body .wp-block-image {
  margin-top: 36px;
}

.article__figure img,
.article__body figure img,
.article__body .wp-block-image img {
  width: 100%;
  aspect-ratio: 16 / 8;
  object-fit: cover;
  border-radius: var(--radius-card);
}

.article__figure figcaption,
.article__body figcaption {
  margin-top: 12px;
  font-size: 13px;
  line-height: 1.7;
  letter-spacing: 0.04em;
  color: var(--color-text-body-soft);
  text-align: center;
}

.article__body > img {
  width: auto;
  max-width: 100%;
  height: auto;
  border-radius: var(--radius-card);
}

/* ---- 一覧へ戻る ---- */

.article__nav {
  margin-top: 64px;
  display: flex;
  justify-content: center;
}

.article__back {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 14px;
  min-width: 260px;
  height: 60px;
  padding: 0 36px;
  border-radius: var(--radius-pill);
  background-color: var(--color-blue-light);
  font-size: 16px;
  line-height: 1;
  letter-spacing: 0.07em;
  transition: background-color 0.3s ease, box-shadow 0.3s ease;
}

.article__back,
.article__back:visited {
  color: var(--color-text);
}

.article__back-arrow {
  width: 12px;
  height: 10px;
  transform: rotate(-90deg);
  transition: transform 0.3s ease;
}

/* ---- お知らせ一覧 ---- */

.news-archive__heading {
  margin-top: 6px;
  font-size: 42px;
  font-weight: 500;
  line-height: 61px;
  letter-spacing: 0.09em;
  color: var(--color-text);
  width: fit-content;
}

.news-archive__list {
  margin-top: 36px;
}

.news-pagination {
  margin-top: 52px;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 12px;
  flex-wrap: wrap;
}

.news-pagination .page-numbers {
  min-width: 42px;
  height: 42px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 0 14px;
  border-radius: 999px;
  background-color: var(--color-bg-tag);
  color: var(--color-text-body);
  font-family: var(--font-en);
  font-size: 15px;
  line-height: 1;
}

.news-pagination .page-numbers.current {
  background-color: var(--color-blue-dark);
  color: var(--color-white);
}

.news-pagination a.page-numbers {
  transition: background-color 0.3s ease, box-shadow 0.3s ease;
}

.news-archive__empty {
  padding: 22px 30px;
  border-radius: 8px;
  background-color: var(--color-bg-tag);
  color: var(--color-text-body);
}

@media (hover: hover) and (pointer: fine) {
  .article__back:hover {
    background-color: var(--color-blue-light-hover);
    box-shadow: var(--shadow-hover);
    color: var(--color-text);
  }

  .article__back:hover .article__back-arrow {
    transform: translateX(-4px) rotate(-90deg);
  }

  .news-pagination a.page-numbers:hover {
    background-color: var(--color-blue-light-hover);
    box-shadow: var(--shadow-hover);
  }
}

@media (max-width: 768px) {
  .page-shell,
  .not-found,
  .news-detail {
    padding: 48px 0 90px;
  }

  .page-shell__title,
  .not-found__title {
    font-size: 32px;
  }

  .article__title {
    font-size: 26px;
  }

  .article__subheading,
  .article__body h2 {
    margin-top: 44px;
    font-size: 20px;
  }

  .article__body h3 {
    font-size: 20px;
  }

  .page-shell__content h2 {
    font-size: 23px;
  }

  .page-shell__content h3 {
    font-size: 20px;
  }

  .news-archive__heading {
    font-size: 32px;
    line-height: 48px;
  }
}

@media (max-width: 480px) {
  .page-shell__inner,
  .not-found__inner,
  .news-detail__inner {
    width: calc(100% - 40px);
  }

  .page-shell__title,
  .not-found__title {
    font-size: 26px;
  }

  .article__title {
    font-size: 22px;
    line-height: 1.55;
  }

  .article__meta {
    gap: 14px;
  }

  .article__body {
    margin-top: 36px;
  }

  .article__figure img,
  .article__body figure img,
  .article__body .wp-block-image img {
    aspect-ratio: 16 / 10;
    border-radius: 16px;
  }

  .article__back {
    min-width: 0;
    width: 100%;
  }

  .news-archive__heading {
    font-size: 26px;
    line-height: 40px;
  }
}
