:root {
  --font-body: "Manrope", "Zen Kaku Gothic New", sans-serif;
  --font-latin: "Manrope", sans-serif;
  --font-script: "Homemade Apple", "Manrope", cursive;

  --color-text: #5f4a39;
  --color-accent: #00a99d;
  --color-button: #3ab0a8;
  --color-panel: #d0eeee;
  --color-panel-soft: #c8f3f3;
  --color-surface: #f5f5f5;
  --color-surface-warm: rgba(251, 247, 192, 0.6);
  --color-white: #ffffff;
  --color-muted: #bfbfbf;
  --color-line: rgba(95, 74, 57, 0.2);

  --shadow-card: 0 4px 12px rgba(0, 0, 0, 0.09);
  --shadow-hero: 0 4px 34px rgba(0, 0, 0, 0.04);

  --radius-xs: 5px;
  --radius-sm: 8px;
  --radius-md: 16px;
  --radius-lg: 24px;
  --radius-xl: 50px;

  --space-2xs: 8px;
  --space-xs: 12px;
  --space-sm: 16px;
  --space-md: 24px;
  --space-lg: 32px;
  --space-xl: 40px;
  --space-2xl: 48px;
  --space-3xl: 64px;
  --space-4xl: 96px;
  --space-5xl: 120px;

  --text-xs: 0.875rem;
  --text-sm: 1rem;
  --text-md: 1.125rem;
  --text-lg: 1.25rem;
  --text-xl: 1.375rem;
  --text-2xl: 2.25rem;
  --text-hero: 2.125rem;

  --container-width: 1200px;
  --container-pad: 24px;
}

html {
  scroll-behavior: smooth;
  overflow-x: clip;
}

body {
  background: var(--color-white);
  color: var(--color-text);
  font-family: var(--font-body);
  line-height: 1.75;
  overflow-x: clip;
}

html.drawer-open,
body.drawer-open {
  overflow: hidden;
  overscroll-behavior: none;
}

body.drawer-open {
  touch-action: none;
}

.page {
  position: relative;
  overflow-x: clip;
}

.page-main {
  position: relative;
  isolation: isolate;
  padding-top: var(--header-offset, 90px);
}

[id] {
  scroll-margin-top: calc(var(--header-offset, 90px) + 20px);
}

.page-main::before {
  content: "";
  position: absolute;
  width: 33.875rem;
  height: 34.5rem;
  left: -127px;
  top: 98px;
  background: url("../images/page-main-background-blob.svg") center / 100% 100% no-repeat;
  transform: rotate(105.712deg);
  transform-origin: center;
  pointer-events: none;
  z-index: -1;
}

.page::before {
  content: "";
  position: absolute;
  top: -180px;
  right: -97px;
  width: 542px;
  height: 552px;
  background: url("../images/header-mint-decoration.svg") center/contain no-repeat;
  pointer-events: none;
  z-index: 0;
  opacity: 0.6;
}

@media (max-width: 1024px) {
  .page-main::before {
    width: 26rem;
    height: 26.5rem;
    left: -100px;
    top: 80px;
  }
}

@media (max-width: 768px) {
  .page-main::before {
    width: 22rem;
    height: 22.5rem;
    left: -80px;
    top: 60px;
  }

  .page::before {
    width: 340px;
    height: 347px;
    top: -120px;
    right: -60px;
  }
}

@media (max-width: 480px) {
  .page-main::before {
    width: 16rem;
    height: 16.5rem;
    left: -60px;
    top: 40px;
  }

  .page::before {
    width: 240px;
    height: 245px;
    top: -80px;
    right: -40px;
  }
}

.page-header,
.page-main,
.page-footer {
  position: relative;
  z-index: 1;
}

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

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

a:visited {
  color: inherit;
}

.sp {
    display: none;
}

:focus-visible {
  outline: 3px solid rgba(0, 169, 157, 0.45);
  outline-offset: 4px;
}

.site-container {
  width: min(var(--container-width), calc(100% - (var(--container-pad) * 2)));
  margin-inline: auto;
}

.section {
  padding: 50px 0;
}

.section-heading {
  margin-bottom: var(--space-xl);
}

.section-heading--with-action {
  display: flex;
  align-items: flex-end;
  justify-content: space-between;
  gap: var(--space-lg);
}

.section-heading__script {
  position: relative;
  z-index: 0;
  margin-bottom: 6px;
  color: var(--color-panel);
  font-family: var(--font-script);
  font-size: 3rem;
  line-height: 1;
}

.section-heading__title {
  position: relative;
  z-index: 1;
  font-size: var(--text-2xl);
  font-weight: 500;
  letter-spacing: 0.06em;
  line-height: 1.25;
}

/* ============================================================
   Section Heading Overlap（スクリプト・タイトル重なり共通）
   ============================================================ */
.section-heading--overlap {
  position: relative;
  min-height: 104px;
  margin-bottom: 37px;
}

.section-heading--overlap .section-heading__script {
  position: absolute;
  top: 22px;
  left: 114px;
  width: auto;
  margin: 0;
}

.section-heading--overlap .section-heading__title {
  position: absolute;
  top: 37px;
  left: 0;
  width: auto;
  margin: 0;
}

.button-link {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 16px;
  min-height: 62px;
  padding: 0 28px;
  border-radius: 999px;
  background:
    linear-gradient(120deg, rgba(255, 255, 255, 0.18), transparent 60%),
    linear-gradient(135deg, #3ab0a8 0%, #4dc1b8 100%);
  box-shadow: var(--shadow-card);
  color: var(--color-white);
  font-size: var(--text-sm);
  font-weight: 500;
  letter-spacing: 0.06em;
  white-space: nowrap;
  transition:
    transform 0.3s ease,
    box-shadow 0.3s ease,
    filter 0.3s ease;
}

.button-link:visited {
  color: var(--color-white);
}

.button-link span {
  transition: letter-spacing 0.3s ease;
}

.button-link img {
  width: 8px;
  height: auto;
  transition: transform 0.3s ease;
}

.button-link--header {
  width: 191px;
  height: 52px;
  min-width: 191px;
  min-height: 52px;
  padding: 0 17px 0 54px;
  justify-content: space-between;
  gap: 0;
  flex: 0 0 auto;
}

.button-link--header img {
  width: 9px;
  height: 7px;
  flex: 0 0 auto;
  --button-header-arrow-shift: 0px;
  transform: translateX(var(--button-header-arrow-shift)) rotate(90deg);
  transform-origin: center;
}

.button-link--small {
  min-height: 41px;
  padding: 0 24px;
  font-size: 0.95rem;
}

.button-link--large {
  position: relative;
  width: 289px;
  height: 62px;
  min-width: 289px;
  min-height: 62px;
  padding: 0;
  justify-content: center;
}

.button-link--large span {
  display: block;
  width: 100%;
  text-align: center;
}

.button-link--large img {
  position: absolute;
  top: 50%;
  right: 17px;
  width: 9px;
  height: 7px;
  --button-large-arrow-shift: 0px;
  transform: translateY(-50%) translateX(var(--button-large-arrow-shift)) rotate(90deg);
  transform-origin: center;
}

.button-link--large.is-back img {
  right: auto;
  left: 17px;
  transform: translateY(-50%) translateX(var(--button-large-arrow-shift)) rotate(-90deg);
}

/* Header */

.page-header {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  z-index: 100;
  padding: 18px 0 12px;
  background: transparent;
  transition:
    padding 0.3s ease,
    background-color 0.3s ease,
    box-shadow 0.3s ease;
}

.page-header.scrolled,
.page-header.is-menu-open {
  padding: 12px 0 10px;
  background: rgba(255, 255, 255, 0.96);
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.08);
  backdrop-filter: blur(8px);
}

.page-header__inner {
  width: min(1398px, calc(100% - 42px));
  margin-inline: auto;
  display: grid;
  grid-template-columns: auto 1fr auto;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  transition: width 0.3s ease, gap 0.3s ease;
}

.page-header__brand {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  min-width: 263px;
  position: relative;
  z-index: 104;
}

.page-header__logo {
  width: 84px;
  flex: 0 0 auto;
  transition: width 0.3s ease;
}

.page-header__brand-copy {
  display: grid;
  gap: 1px;
}

.page-header__brand-overline {
  font-size: 0.99rem;
  line-height: 1.45;
  letter-spacing: 0.04em;
}

.page-header__brand-name {
  font-size: 1.28rem;
  line-height: 1.35;
  letter-spacing: 0.04em;
}

.page-header__nav {
  justify-self: end;
}

.page-header__menu {
  position: relative;
  justify-self: end;
}

.page-header__menu-toggle {
  display: none;
  border: 0;
}

.page-header__scrim {
  display: none;
}

.page-header__nav-list {
  display: flex;
  align-items: center;
  justify-content: flex-end;
  gap: 24px;
  margin: 0;
  padding: 0;
  list-style: none;
  font-size: 16px;
  font-weight: 500;
  letter-spacing: 0.06em;
  line-height: 1;
  white-space: nowrap;
}

.page-header__nav-list a {
  transition: color 0.2s ease;
}

.page-header__nav-list a:hover {
  color: var(--color-accent);
}

/* ドロップダウン（PC） */
.page-header__nav-row {
  display: flex;
  align-items: center;
  gap: 4px;
}

.page-header__sub-toggle {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 20px;
  height: 20px;
  padding: 0;
  border: none;
  background: none;
  cursor: pointer;
  flex-shrink: 0;
}

.page-header__sub-toggle img {
  width: 8px;
  height: auto;
}

.page-header__dropdown {
  list-style: none;
  margin: 0;
  padding: 8px 0;
  position: absolute;
  top: 100%;
  margin-top: 16px;
  left: 50%;
  transform: translateX(-50%);
  min-width: 160px;
  background: #fff;
  border-radius: var(--radius-sm);
  box-shadow: 0 4px 16px rgba(0, 0, 0, 0.12);
  opacity: 0;
  visibility: hidden;
  pointer-events: none;
  transition: opacity 0.2s ease, visibility 0.2s ease;
  z-index: 200;
  white-space: nowrap;
}

/* margin-topのギャップをhoverゾーンで埋めるブリッジ */
.page-header__dropdown::before {
  content: '';
  position: absolute;
  top: -16px;
  left: 0;
  right: 0;
  height: 16px;
}

.has-dropdown {
  position: relative;
}

.has-dropdown:hover .page-header__dropdown,
.has-dropdown:focus-within .page-header__dropdown {
  opacity: 1;
  visibility: visible;
  pointer-events: auto;
}

.page-header__dropdown li a {
  display: block;
  padding: 10px 20px;
  font-size: 14px;
  font-weight: 500;
  color: var(--color-text);
  transition: background 0.15s ease, color 0.15s ease;
}

.page-header__dropdown li a:visited {
  color: var(--color-text);
}

.page-header__dropdown li a:hover {
  background: var(--color-surface);
  color: var(--color-accent);
}

.page-header__drawer-actions {
  display: none;
}

.page-header__drawer-button {
  position: relative;
  width: 100%;
  min-width: 0;
  min-height: 52px;
  margin-top: 28px;
  padding: 0 17px 0 24px;
  justify-content: center;
}

.page-header__drawer-button span {
  display: block;
  width: 100%;
  text-align: center;
}

.page-header__drawer-button img {
  position: absolute;
  top: 50%;
  right: 17px;
  width: 9px;
  height: 7px;
  transform: translateY(-50%) rotate(90deg);
}

.page-header.scrolled .page-header__logo,
.page-header.is-menu-open .page-header__logo {
  width: 76px;
}

/* Hero */

.hero {
  padding: 20px 0 0;
}

.hero__inner {
  position: relative;
  width: min(1210px, calc(100% - 40px));
  margin-inline: auto;
}

.hero__circle {
  position: absolute;
  border-radius: 50%;
  pointer-events: none;
  z-index: 1;
}

.hero__circle--a {
  left: -52px;
  top: 220px;
  width: 133px;
  height: 137px;
  background: rgba(208, 238, 238, 0.9);
}

.hero__circle--b {
  left: 132px;
  bottom: -22px;
  width: 66px;
  height: 66px;
  background: rgba(251, 246, 185, 0.9);
}

.hero__circle--c {
  right: -28px;
  top: 40px;
  width: 103px;
  height: 103px;
  background: rgba(251, 246, 185, 0.9);
}

.hero__card {
  position: relative;
  min-height: 480px;
  border-radius: var(--radius-xl);
  overflow: hidden;
  box-shadow: var(--shadow-hero);
}

.hero__background {
  position: absolute;
  inset: 0;
}

.hero__background {
  width: 100%;
  height: 100%;
  object-fit: cover;
  z-index: 0;
}

.hero__copy {
  position: relative;
  z-index: 2;
  padding: 230px 0 0 67px;
}

.hero__eyebrow {
  margin-bottom: var(--space-sm);
  color: var(--color-white);
  font-family: var(--font-script);
  font-size: 1.625rem;
  line-height: 1;
}

.hero__title {
  display: grid;
  gap: 14px;
}

.hero__chip {
  display: inline-block;
  width: fit-content;
  padding: 10px 18px;
  border-radius: 10px;
  background: rgba(255, 255, 255, 0.96);
  color: var(--color-text);
  font-size: var(--text-hero);
  font-weight: 500;
  line-height: 1.36;
  letter-spacing: 0.04em;
}

.hero__accent {
  color: var(--color-accent);
}

.hero__mascot {
  position: absolute;
  right: 18px;
  bottom: -63px;
  z-index: 3;
  text-align: center;
}

.hero__mascot img {
  width: 124px;
  margin-inline: auto;
}

.hero__mascot figcaption {
  margin-top: 6px;
  display: grid;
  gap: 2px;
  font-size: 0.875rem;
  line-height: 1.2;
}

/* News */

.news__heading {
  display: grid;
  grid-template-columns: 1fr auto;
  align-items: start;
  margin-bottom: 29px;
}

.news__heading-copy {
  position: relative;
  min-height: 94px;
  padding-top: 42px;
}

.news__heading .section-heading__script {
  position: absolute;
  top: 26px;
  left: 114px;
  margin: 0;
  width: 141px;
}

.news__heading .section-heading__title {
  margin: 0;
}

.news__button {
  position: relative;
  width: 171px;
  height: 41px;
  min-width: 171px;
  min-height: 41px;
  margin-top: 47px;
  padding: 0 26px 0 44px;
  justify-content: flex-start;
  gap: 0;
  font-size: 1rem;
  letter-spacing: 0.06em;
}

.news__button span {
  min-width: 0;
}

.news__button img {
  position: absolute;
  top: 50%;
  right: 13px;
  width: 9px;
  height: 7px;
  --news-button-arrow-shift: 0px;
  transform: translateY(-50%) translateX(var(--news-button-arrow-shift)) rotate(90deg);
  transform-origin: center;
}

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

.news-card {
  min-width: 0;
}

.news-card__link {
  position: relative;
  display: grid;
  grid-template-columns: 141px minmax(0, 1fr);
  align-items: start;
  column-gap: 15px;
  height: 100%;
  min-height: 120px;
  padding: 11px 15px 15px 16px;
  border-radius: var(--radius-sm);
  background: var(--color-surface);
  box-shadow: var(--shadow-card);
  transition:
    transform 0.3s ease,
    box-shadow 0.3s ease,
    background-color 0.3s ease;
}

.news-card__link:visited {
  color: inherit;
}

.news-card__link--no-image {
  grid-template-columns: 1fr;
}

.news-card__image {
  width: 141px;
  height: 94px;
  border-radius: var(--radius-xs);
  object-fit: cover;
}

.news-card__body {
  min-width: 0;
  padding-top: 8px;
}

.news-card__date {
  display: inline-block;
  margin-bottom: 11px;
  color: var(--color-accent);
  font-family: var(--font-latin);
  font-size: 1rem;
  font-weight: 500;
  line-height: 1.25;
  letter-spacing: 0.04em;
}

.news-card__title {
  max-width: 390px;
  font-size: 1rem;
  font-weight: 500;
  line-height: 1.4375;
  letter-spacing: 0.04em;
  transition: color 0.3s ease;
}

.news-card__category {
  position: absolute;
  top: 17px;
  right: 15px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  height: 24px;
  min-width: 102px;
  padding: 0 22px;
  border-radius: 3px;
  background: var(--color-panel);
  font-size: 0.875rem;
  line-height: 1;
  letter-spacing: 0.04em;
  text-align: center;
}

/* Search */

.search__panel {
  position: relative;
  overflow: visible;
  padding: 32px 80px 82px;
  border-radius: var(--radius-xl);
  background: linear-gradient(180deg, rgba(208, 238, 238, 0.95), rgba(200, 243, 243, 0.92));
}

.search__texture {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  border-radius: inherit;
  object-fit: cover;
  opacity: 0.25;
}

.search__circle {
  position: absolute;
  border-radius: 50%;
  pointer-events: none;
}

.search__circle--a {
  right: 48px;
  top: 49px;
  width: 39px;
  height: 39px;
  background: rgba(255, 255, 255, 0.7);
}

.search__circle--b {
  right: 87px;
  top: -38px;
  width: 93px;
  height: 93px;
  background: rgba(251, 246, 185, 0.8);
}

.search__heading,
.search__grid {
  position: relative;
  z-index: 1;
}

.search__heading {
  margin-bottom: 32px;
}

.search__heading-copy {
  position: relative;
  min-height: 98px;
  padding-top: 46px;
}

.search__heading .section-heading__script {
  position: absolute;
  top: 25px;
  left: 114px;
  width: 178px;
  margin: 0;
  color: rgba(255, 255, 255, 0.6);
}

.search__heading .section-heading__title {
  width: 265px;
  margin: 0;
  white-space: nowrap;
}

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

.search-tile {
  position: relative;
  display: grid;
  grid-template-columns: 78px minmax(0, 1fr);
  align-items: center;
  gap: 12px;
  min-height: 103px;
  padding: 18px;
  border-radius: var(--radius-sm);
  background: var(--color-white);
  box-shadow: 0 1px 0 rgba(255, 255, 255, 0.4) inset;
  transition:
    transform 0.3s ease,
    box-shadow 0.3s ease,
    background-color 0.3s ease;
}

.search-tile__icon {
  justify-self: center;
  object-fit: contain;
}

.search-tile__icon--map {
  width: 68px;
}

.search-tile__icon--outpatient {
  width: 51px;
  height: 52px;
}

.search-tile__icon--home-care {
  width: 62px;
  height: 52px;
}

.search-tile__icon--nighttime {
  width: 53px;
  height: 56px;
}

.search-tile__icon--holiday {
  width: 67px;
  height: 54px;
}

.search-tile__icon--function {
  width: 69px;
  height: 58px;
}

.search-tile__copy {
  display: grid;
  gap: 6px;
  min-width: 0;
}

.search-tile__title {
  font-size: var(--text-xl);
  font-weight: 500;
  letter-spacing: 0.06em;
  line-height: 1.3;
  transition: color 0.3s ease;
}

.search-tile__label {
  color: var(--color-muted);
  font-family: var(--font-latin);
  font-size: 0.875rem;
  font-weight: 500;
  letter-spacing: 0.13em;
  white-space: nowrap;
  transition: color 0.3s ease;
}

.search-tile__arrow {
  position: absolute;
  right: 9px;
  bottom: 15px;
  width: 13px;
  height: 9px;
  object-fit: fill;
  --search-tile-arrow-shift: 0px;
  transform: translateX(var(--search-tile-arrow-shift)) rotate(90deg);
  transform-origin: center;
  transition: transform 0.3s ease;
}

/* Greeting */

.greeting {
  position: relative;
}

.greeting::after {
  content: "";
  position: absolute;
  top: 0px;
  right: -105px;
  width: 600px;
  height: 464px;
  background: url("../images/greeting-background-blob.svg") left top / 100% 100% no-repeat;
  pointer-events: none;
  z-index: 0;
}

.greeting .site-container {
  position: relative;
  z-index: 1;
  transform: translateX(-12.41px);
}

.greeting__heading {
  display: grid;
  grid-template-columns: 284px minmax(0, 1fr);
  column-gap: 61px;
  margin-bottom: -23px;
}

.greeting__heading-copy {
  position: relative;
  grid-column: 2;
  min-height: 94px;
}

.greeting__heading .section-heading__script {
  position: absolute;
  top: 22px;
  left: 114px;
  width: auto;
  margin: 0;
}

.greeting__heading .section-heading__title {
  position: absolute;
  top: 37px;
  left: 0;
  width: auto;
  margin: 0;
  white-space: nowrap;
}

.greeting__layout {
  display: grid;
  grid-template-columns: 284px minmax(0, 1fr);
  gap: 61px;
  align-items: start;
}

.greeting__portrait {
  width: 284px;
  height: 314px;
  overflow: hidden;
  border-radius: 24px;
}

.greeting__portrait img {
  width: 100%;
  height: 100%;
  display: block;
  object-fit: cover;
  object-position: center center;
  border-radius: inherit;
}

.greeting__content {
  padding-top: 55px;
  font-size: 1rem;
  line-height: 29px;
  letter-spacing: 0.06em;
}

.greeting__content p {
  margin-bottom: 1.5em;
}

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

.greeting__signature {
  margin-top: 14px;
  text-align: right;
  font-weight: 500;
}

/* Activities */

.activities {
  position: relative;
  z-index: 1;
  isolation: isolate;
}

.activities::before {
  content: "";
  position: absolute;
  top: -12px;
  left: -98px;
  width: 736px;
  height: 569px;
  background: url("../images/activities-background-blob.svg") left top / 100% 100% no-repeat;
  pointer-events: none;
  z-index: 0;
}

.activities .site-container {
  position: relative;
  z-index: 1;
}

.activities__heading .section-heading__title {
  white-space: nowrap;
}

.activities__grid {
  position: relative;
  display: grid;
  grid-template-columns: repeat(3, 353px);
  column-gap: 49px;
  row-gap: 26px;
  justify-content: start;
  padding-left: 19px;
  isolation: isolate;
}

.activities__grid::before,
.activities__grid::after {
  content: "";
  position: absolute;
  pointer-events: none;
}

.activities__grid::before {
  top: -114px;
  right: 45px;
  width: 112px;
  height: 152px;
  background: url("../images/activities-mascot-decoration.png") center / contain no-repeat;
  z-index: 1;
}

.activities__grid::after {
  top: 526px;
  right: -68px;
  width: 192px;
  height: 185.16px;
  border-radius: 50%;
  background: rgba(164, 235, 235, 0.30);
  z-index: 0;
}

.activity-card {
  position: relative;
  display: grid;
  grid-template-rows: 185px 1fr;
  width: 353px;
  min-height: 350px;
  overflow: hidden;
  border-radius: var(--radius-lg);
  background: var(--color-surface);
  box-shadow: var(--shadow-card);
  z-index: 1;
}

.activity-card--offset {
  margin-top: 37px;
}

.activity-card__image {
  width: 100%;
  height: 185px;
  object-fit: cover;
}

.activity-card__body {
  display: grid;
  align-content: start;
  padding: 18px 24px 16px;
}

.activity-card__title {
  margin-bottom: 8px;
  font-size: 1.25rem;
  font-weight: 500;
  line-height: 1.45;
  text-align: center;
}

.activity-card__body p {
  font-size: 1rem;
  line-height: 1.4375;
  text-align: left;
}

.activity-card__link {
  margin-top: 12px;
  width: 100%;
  justify-content: center;
}

.activity-card__link img {
  width: 9px;
  height: 7px;
  flex: 0 0 auto;
  transform: rotate(90deg);
}

/* Organization */

.organization__heading {
  margin-bottom: 16px;
}

.organization__heading .section-heading__title {
  white-space: nowrap;
}

.organization__intro {
  display: grid;
  grid-template-columns: 752px 343px;
  grid-template-areas:
    "lead diagram"
    "button diagram";
  column-gap: 60px;
  row-gap: 27px;
  align-items: start;
  margin-bottom: 76px;
}

.organization__lead {
  grid-area: lead;
  width: 752px;
}

.organization__lead p {
  max-width: none;
  margin-bottom: 0;
  font-size: 1.125rem;
  line-height: 35px;
}

.organization__button {
  grid-area: button;
  justify-self: start;
}

.organization__diagram {
  grid-area: diagram;
  position: relative;
  width: 343px;
  height: 190px;
  margin-top: -90px;
  background:
    linear-gradient(rgba(95, 74, 57, 0.4), rgba(95, 74, 57, 0.4)) 30px 42px / 1px 45px no-repeat,
    linear-gradient(rgba(95, 74, 57, 0.4), rgba(95, 74, 57, 0.4)) 30px 86px / 31px 1px no-repeat,
    linear-gradient(rgba(95, 74, 57, 0.4), rgba(95, 74, 57, 0.4)) 103px 107px / 1px 37px no-repeat,
    linear-gradient(rgba(95, 74, 57, 0.4), rgba(95, 74, 57, 0.4)) 103px 144px / 31px 1px no-repeat;
}

.organization__box {
  position: absolute;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 0;
  border-radius: 0;
  background: #f5f5f5;
  box-shadow: none;
  box-sizing: border-box;
  font-size: 0.875rem;
  font-weight: 500;
  line-height: 1.4285714286;
  letter-spacing: 0.06em;
  text-align: center;
}

.organization__box--top {
  top: 0;
  left: 0;
  width: 172px;
  height: 42px;
  background: rgba(208, 238, 238, 0.65);
}

.organization__box--middle {
  top: 65px;
  left: 61px;
  width: 172px;
  height: 42px;
}

.organization__box--bottom {
  top: 123px;
  left: 134px;
  width: 209px;
  height: 67px;
  flex-direction: column;
  justify-content: flex-start;
  gap: 0;
  padding-top: 11px;
}

.organization__box--bottom small {
  font-size: 0.875rem;
  line-height: 1.4285714286;
  letter-spacing: 0.06em;
}

.organization__links {
  display: grid;
  grid-template-columns: 574px 575.82px;
  gap: 25px;
  padding-left: 13px;
}

.link-card {
  position: relative;
  display: grid;
  grid-template-columns: 180px minmax(0, 1fr);
  align-items: center;
  width: 574px;
  max-width: 574px;
  margin-inline: auto;
  height: 157px;
  column-gap: 39px;
  padding-right: 62px;
  border-radius: 16.19px;
  background: rgba(251, 247, 192, 0.6);
  box-shadow: 0 3.238px 9.714px rgba(0, 0, 0, 0.09);
  overflow: hidden;
  transition:
    transform 0.3s ease,
    box-shadow 0.3s ease;
}

.link-card__image {
  width: 180px;
  height: 157px;
  object-fit: cover;
  border-radius: 16px 0 0 16px;
  transition: transform 0.3s ease;
}

.link-card__title {
  font-size: 1.25rem;
  font-weight: 700;
  line-height: 1.45;
  letter-spacing: 0.06em;
  white-space: nowrap;
}

.link-card__arrow {
  position: absolute;
  top: 65px;
  right: 62px;
  width: 27.52px;
  height: 27.52px;
  --link-card-arrow-y: 0px;
  --link-card-arrow-shift: 0px;
  transform: translateY(var(--link-card-arrow-y)) translateX(var(--link-card-arrow-shift));
  transition: transform 0.3s ease;
}

.link-card--center {
  width: 575.82px;
  column-gap: 31px;
}

.link-card--center .link-card__image {
  height: 156px;
}

.link-card--center .link-card__arrow {
  right: 30px;
}

/* Pharmacy */

.pharmacy {
  position: relative;
  isolation: isolate;
}

.pharmacy::after {
  content: "";
  position: absolute;
  top: -37px;
  right: -250px;
  width: 616.99px;
  height: 482.29px;
  background: url("../images/pharmacy-background-blob.svg") left top / 100% 100% no-repeat;
  pointer-events: none;
  z-index: 0;
  transform: rotate(317deg);
}

.pharmacy__layout {
  position: relative;
  min-height: 640px;
  z-index: 1;
}

.pharmacy__media {
  position: absolute;
  left: calc(-12.41px - ((100vw - 100%) / 2));
  top: 0;
  width: 677px;
  height: 533.19px;
  overflow: visible;
}

.pharmacy__photo {
  position: relative;
  display: block;
  width: 677px;
  aspect-ratio: 677 / 496.56;
  border-radius: 0 40px 40px 0;
  overflow: hidden;
}

.pharmacy__photo > .swiper {
  position: absolute;
  inset: 0;
  height: 100%;
}

.pharmacy__photo .swiper-slide img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}

.pharmacy__photo .swiper-pagination-bullet-active {
  background-color: var(--color-accent);
}

.js-top-pharmacy-pagination.swiper-pagination-bullets .swiper-pagination-bullet {
  width: 12px;
  height: 12px;
  background-color: #ccc;
  opacity: 1;
}

.js-top-pharmacy-pagination.swiper-pagination-bullets .swiper-pagination-bullet-active {
  background-color: var(--color-accent);
}

.pharmacy__dots {
  position: absolute;
  left: 50%;
  top: 517px;
  transform: translateX(-50%);
}

.pharmacy__mascot {
  position: absolute;
  left: 50px;
  top: 323px;
  width: 106px;
  height: 141px;
}

.pharmacy__panel {
  position: absolute;
  z-index: 1;
  left: 419px;
  top: 71px;
  width: min(769px, calc(100% - 419px));
  height: 569px;
  padding: 48px 57px 52px 57.59px;
  box-sizing: border-box;
  border-radius: 40px;
  background: rgba(251, 247, 244, 0.9);
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.09);
}

.pharmacy__title {
  display: grid;
  gap: 0;
  width: min(565px, 100%);
  margin-bottom: 26px;
  color: var(--color-button);
  font-weight: 500;
  letter-spacing: 1.9042px;
}

.pharmacy__title-kicker {
  display: block;
  font-size: 22.039px;
  line-height: 1.45;
  white-space: nowrap;
}

.pharmacy__title-line {
  display: flex;
  align-items: baseline;
  gap: 0;
  white-space: nowrap;
}

.pharmacy__title-main {
  font-size: 31.737px;
  line-height: 1.4375;
}

.pharmacy__title-sub {
  font-size: 24px;
  line-height: 1.4375;
}

.pharmacy__title-main,
.pharmacy__title-sub {
  white-space: nowrap;
}

.pharmacy__body {
  width: min(657px, 100%);
  margin: 0;
  font-size: 1rem;
  line-height: 30px;
  letter-spacing: 0.06em;
}

.pharmacy__body + .pharmacy__body {
  margin-top: 0;
}

.pharmacy__bullets {
  display: grid;
  width: min(533.42px, 100%);
  grid-template-columns: max-content max-content;
  column-gap: 106px;
  align-items: start;
  margin: 24px 0 42px 4px;
}

.pharmacy__bullets ul {
  margin: 0;
  padding: 0;
  list-style: none;
  display: grid;
  gap: 17px;
}

.pharmacy__bullets li {
  position: relative;
  padding-left: 27.23px;
  font-size: 1rem;
  line-height: 1.4375;
  letter-spacing: 0.06em;
  white-space: nowrap;
}

.pharmacy__bullets li::before {
  content: "";
  position: absolute;
  left: 0;
  top: 3.47px;
  width: 15.39px;
  height: 15.39px;
  background: url("../images/pharmacy-bullet-dot.svg") center/contain no-repeat;
}

.pharmacy__actions {
  display: grid;
  grid-template-columns: 289px 289px;
  gap: 22px;
  margin-left: 32px;
}

/* Contact band */

.contact-band {
  padding: 43px 0 87px;
}

.contact-band .site-container {
  position: relative;
}

.contact-band__panel {
  display: grid;
  grid-template-columns: minmax(0, 1fr) 1px minmax(0, 1fr);
  align-items: center;
  column-gap: clamp(24px, 5vw, 72px);
  width: min(1199px, calc(100% + 11.41px));
  min-height: 230px;
  padding: 40px clamp(24px, 6vw, 80px);
  box-sizing: border-box;
  border-radius: 40px;
  background: var(--color-panel);
  box-shadow: var(--shadow-card);
}

.contact-band__title {
  margin: 0;
  color: var(--color-text);
  font-size: 22px;
  font-weight: 500;
  line-height: normal;
  letter-spacing: 1.1px;
  white-space: nowrap;
}

.contact-band__info {
  display: grid;
  justify-items: center;
  min-width: 0;
}

.contact-band__info .contact-band__title,
.contact-band__fax {
  justify-self: center;
}

.contact-band__phone {
  display: inline-flex;
  align-items: center;
  gap: 4px;
  width: max-content;
  max-width: 100%;
  min-height: 44px;
  margin: 5px 0 11px;
  font-family: var(--font-latin);
  font-size: 36px;
  font-weight: 600;
  line-height: normal;
  letter-spacing: 1.08px;
  white-space: nowrap;
}

.contact-band__phone img {
  flex: none;
  width: 36px;
  height: 36px;
  object-fit: contain;
}

.contact-band__phone a {
  display: block;
  line-height: 1;
  transition: color 0.2s ease;
}

.contact-band__fax {
  margin: 0;
  font-family: var(--font-latin);
  font-size: 16px;
  font-weight: 500;
  line-height: normal;
  letter-spacing: 0.48px;
  white-space: nowrap;
}

.contact-band__divider {
  position: static;
  width: 1px;
  min-height: 110px;
  height: 100%;
  background: rgba(95, 74, 57, 0.16);
}

.contact-band__cta {
  display: grid;
  justify-items: center;
  row-gap: 23px;
  min-width: 0;
}

.contact-band__cta .button-link--large {
  width: min(289px, 100%);
  min-width: 0;
}

/* Footer */

.page-footer {
  position: relative;
  background: var(--color-surface);
}

.page-footer__inner {
  position: relative;
  width: min(1440px, 100%);
  margin-inline: auto;
  min-height: 446px;
  padding: 0;
}

.page-footer__brand {
  position: absolute;
  left: 80px;
  top: 65px;
  width: 325px;
  min-height: 257px;
}

.page-footer__overline {
  position: absolute;
  left: 0;
  top: 0;
  margin: 0;
  font-size: 21.773px;
  font-weight: 500;
  line-height: normal;
  letter-spacing: 0.871px;
}

.page-footer__name {
  position: absolute;
  left: 0;
  top: 31.1px;
  margin: 0;
  font-size: 27.993px;
  font-weight: 500;
  line-height: normal;
  letter-spacing: 1.12px;
  white-space: nowrap;
}

.page-footer__address {
  position: absolute;
  left: 0;
  top: 108px;
  display: grid;
  gap: 2px;
  width: 325px;
  margin: 0;
  font-style: normal;
  font-size: 15.826px;
  font-weight: 500;
  line-height: 1.45;
  letter-spacing: 0.633px;
}

.page-footer__phone {
  position: absolute;
  left: 0;
  top: 200px;
  display: inline-flex;
  align-items: center;
  gap: 5px;
  margin: 0;
  font-family: var(--font-latin);
  font-size: 18px;
  font-weight: 500;
  line-height: normal;
  letter-spacing: 0.36px;
  white-space: nowrap;
}

.page-footer__phone img {
  width: 12px;
  height: 17.66px;
  object-fit: contain;
}

.page-footer__phone a {
  transition: opacity 0.2s ease;
}

.page-footer__phone a:hover {
  opacity: 0.6;
}

.page-footer__fax {
  position: absolute;
  left: 169px;
  top: 203px;
  margin: 0;
  font-family: var(--font-latin);
  font-size: 16px;
  font-weight: 500;
  line-height: normal;
  letter-spacing: 0.48px;
  white-space: nowrap;
}

.page-footer__bottom {
  position: relative;
  display: flex;
  align-items: center;
  justify-content: center;
  min-height: 36px;
  padding: 0 20px;
  background: var(--color-text);
}

.page-footer__copyright {
  margin: 0;
  font-family: var(--font-latin);
  font-size: 12px;
  font-weight: 400;
  line-height: normal;
  letter-spacing: 0.32px;
  color: var(--color-white);
  text-align: center;
  white-space: nowrap;
}

.page-footer__nav {
  position: absolute;
  left: 523px;
  top: 77px;
  display: flex;
  align-items: flex-start;
}

.page-footer__column,
.page-footer__column-group {
  display: grid;
  align-content: start;
  font-size: 15.826px;
  font-weight: 500;
  line-height: 1.45;
  letter-spacing: 0.633px;
}

.page-footer__column--primary {
  width: 99px;
  row-gap: 14px;
}

.page-footer__column--about {
  width: 190px;
  margin-left: 63px;
  row-gap: 6px;
}

.page-footer__column--pharmacy {
  width: 151px;
  margin-left: 63px;
  row-gap: 6px;
}

.page-footer__column-group {
  width: 243px;
  margin-left: 40px;
  row-gap: 28px;
}

.page-footer__column-group .page-footer__column {
  row-gap: 6px;
}

.page-footer__heading {
  position: relative;
  width: fit-content;
  padding-left: 13px;
  margin: 0 0 5px;
  font-weight: 500;
  white-space: nowrap;
  color: inherit;
  text-decoration: none;
  display: block;
}

.page-footer__heading::before {
  content: "";
  position: absolute;
  left: 0;
  top: 6px;
  width: 9px;
  height: 9.54px;
  background: url("../images/footer-heading-arrow.svg") center/contain no-repeat;
  transform: rotate(180deg);
  transform-origin: center;
}

.page-footer__column a {
  position: relative;
  width: fit-content;
  padding-left: 14px;
  transition: color 0.2s ease;
}

.page-footer__column a::before {
  content: "";
  position: absolute;
  left: 0;
  top: 11px;
  width: 8px;
  height: 1px;
  background: url("../images/footer-link-marker.svg") center/contain no-repeat;
  transition: transform 0.3s ease;
}

.page-footer__column--primary a::before {
  display: none;
}

a.page-footer__heading::before {
  top: 6px;
  width: 9px;
  height: 9.54px;
  background: url("../images/footer-heading-arrow.svg") center/contain no-repeat;
  transform: rotate(180deg);
  transform-origin: center;
}

.page-footer__column--primary a {
  padding-left: 0;
}

.page-footer__mascot {
  position: absolute;
  right: 48px;
  bottom: 100%;
  width: 104px;
  height: 146px;
}

@media (hover: hover) and (pointer: fine) {
  .button-link:hover {
    transform: translateY(-2px);
    box-shadow: 0 8px 24px rgba(0, 0, 0, 0.16);
    filter: brightness(1.02);
  }

  .button-link:hover span {
    letter-spacing: 0.08em;
  }

  .button-link--header:hover img {
    --button-header-arrow-shift: 4px;
  }

  .button-link--large:hover img {
    --button-large-arrow-shift: 4px;
  }

  .button-link--large.is-back:hover img {
    --button-large-arrow-shift: -4px;
  }

  .news__button:hover img {
    --news-button-arrow-shift: 4px;
  }

  .news-card__link:hover {
    transform: translateY(-2px);
    background-color: #fffcf8;
    box-shadow: 0 8px 24px rgba(172, 171, 164, 0.24);
  }

  .news-card__link:hover .news-card__title {
    color: var(--color-accent);
  }

  .search-tile:hover {
    transform: translateY(-2px);
    background-color: #fbffff;
    box-shadow: 0 8px 24px rgba(172, 171, 164, 0.24);
  }

  .search-tile:hover .search-tile__title {
    color: var(--color-accent);
  }

  .search-tile:hover .search-tile__arrow {
    --search-tile-arrow-shift: 4px;
  }

  .link-card:hover {
    transform: translateY(-4px);
    box-shadow: 0 8px 32px rgba(172, 171, 164, 0.3);
  }

  .link-card:hover .link-card__image {
    transform: scale(1.03);
  }

  .link-card:hover .link-card__arrow {
    --link-card-arrow-shift: 4px;
  }

  .recruit-index__link:hover {
    text-decoration-thickness: 2px;
    text-underline-offset: 5px;
  }

  .contact-band__phone a:hover,
  .page-footer__column a:hover {
    color: var(--color-accent);
  }

  .page-footer__column a:hover::before {
    transform: translateX(4px);
  }

  a.page-footer__heading:hover::before {
    transform: rotate(180deg);
  }

  .page-header__menu-toggle:hover {
    transform: translateY(-2px);
    box-shadow: 0 8px 20px rgba(0, 0, 0, 0.12);
  }
}

/* Responsive */

@media (min-width: 1441px) {
  .pharmacy__media {
    left: calc((var(--container-width) - 100vw) / 2);
    width: calc(677px + ((100vw - 1440px) / 2));
  }

  .pharmacy__photo {
    width: 100%;
  }

  .pharmacy__dots {
    left: 50%;
    transform: translateX(-50%);
  }
}

@media (max-width: 1354px) {
  .sp {
    display: block;
  }
  .page-footer__inner {
    display: grid;
    grid-template-columns: minmax(280px, 325px) minmax(0, 1fr) auto;
    align-items: start;
    min-height: 0;
    padding: 52px 28px 112px;
    column-gap: 32px;
    row-gap: 24px;
  }

  .page-footer__brand,
  .page-footer__nav,
  .page-footer__overline,
  .page-footer__name,
  .page-footer__address,
  .page-footer__phone,
  .page-footer__fax,
  .page-footer__copyright {
    position: static;
    left: auto;
    top: auto;
    right: auto;
    width: auto;
    height: auto;
    min-height: 0;
  }

  .page-footer__brand {
    display: grid;
    gap: 12px;
    max-width: 325px;
  }

  .page-footer__address {
    gap: 4px;
  }

  .page-footer__phone {
    gap: 6px;
  }

  .page-footer__fax,
  .page-footer__copyright {
    margin-top: 0;
  }

  .page-footer__nav {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
    gap: 24px 28px;
    min-width: 0;
  }

  .page-footer__column--primary,
  .page-footer__column--about,
  .page-footer__column--pharmacy,
  .page-footer__column-group {
    width: auto;
    margin-left: 0;
  }

  .page-footer__column-group {
    gap: 24px;
  }

  .page-footer__mascot {
    right: 28px;
    bottom: 100%;
    width: 76px;
    height: auto;
  }
}

@media (max-width: 1248px) {
  .activities__heading {
    min-height: 96px;
    margin-bottom: 32px;
  }

  .activities__heading .section-heading__script {
    width: auto;
  }

  .activities__heading .section-heading__title {
    top: 34px;
    width: auto;
  }

  .activities__grid {
    grid-template-columns: repeat(3, minmax(0, 1fr));
    column-gap: 40px;
    row-gap: 24px;
    justify-content: stretch;
    padding-left: 0;
  }

  .activity-card {
    width: auto;
    min-width: 0;
  }

  .activity-card--offset {
    margin-top: 24px;
  }

  .activities__grid::before {
    top: -92px;
    right: 16px;
    width: 92px;
    height: 125px;
  }

  .activities__grid::after {
    top: auto;
    right: -36px;
    bottom: 130px;
    width: 152px;
    height: 146px;
  }

  .organization__heading {
    min-height: 96px;
    margin-bottom: 24px;
  }

  .organization__heading .section-heading__script {
    width: auto;
  }

  .organization__heading .section-heading__title {
    width: auto;
  }

  .organization__intro {
    grid-template-columns: minmax(0, 1fr) 343px;
    grid-template-areas:
      "lead diagram"
      "button diagram";
    column-gap: 24px;
    row-gap: 20px;
    margin-bottom: 48px;
  }

  .organization__lead {
    width: auto;
    min-width: 0;
  }

  .organization__diagram {
    margin-top: 0;
    justify-self: end;
  }

  .organization__links {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 18px;
    padding-left: 0;
  }

  .link-card {
    width: auto;
    min-width: 0;
    grid-template-columns: 160px minmax(0, 1fr);
    column-gap: 20px;
    padding-right: 56px;
  }

  .link-card__image {
    width: 160px;
    height: 157px;
  }

  .link-card__title {
    min-width: 0;
    font-size: 1rem;
    white-space: normal;
  }

  .link-card__arrow {
    top: 50%;
    right: 20px;
    --link-card-arrow-y: -50%;
  }

  .pharmacy {
    --pharmacy-panel-left: clamp(340px, 34vw, 419px);
    --pharmacy-media-width: clamp(560px, 55vw, 677px);
  }

  .pharmacy::after {
    top: -8px;
    right: -180px;
    width: 500px;
    height: 391px;
  }

  .pharmacy__layout {
    min-height: 588px;
  }

  .pharmacy__media {
    width: var(--pharmacy-media-width);
    height: auto;
  }

  .pharmacy__photo {
    width: 100%;
    height: auto;
    border-radius: 0 40px 40px 0;
  }

  .pharmacy__dots {
    left: 50%;
    top: calc(100% + 20px);
    transform: translateX(-50%);
  }

  .pharmacy__mascot {
    left: 24px;
    top: calc(100% - 160px);
    width: 92px;
    height: auto;
  }

  .pharmacy__panel {
    left: var(--pharmacy-panel-left);
    top: 56px;
    width: calc(100% - var(--pharmacy-panel-left));
    height: auto;
    min-height: 520px;
    padding: 36px 36px 40px;
  }

  .pharmacy__title {
    width: auto;
    margin-bottom: 22px;
  }

  .pharmacy__title-kicker {
    font-size: clamp(18px, 1.7vw, 22.039px);
    white-space: normal;
  }

  .pharmacy__title-line {
    flex-wrap: wrap;
    row-gap: 2px;
    white-space: normal;
  }

  .pharmacy__title-main {
    font-size: clamp(26px, 2.45vw, 31.737px);
  }

  .pharmacy__title-sub {
    font-size: clamp(19px, 1.9vw, 24px);
  }

  .pharmacy__body,
  .pharmacy__bullets {
    width: auto;
  }

  .pharmacy__bullets {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    column-gap: 24px;
    margin: 20px 0 32px;
  }

  .pharmacy__bullets li {
    white-space: normal;
  }

  .pharmacy__actions {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 16px;
    margin-left: 0;
  }

  .pharmacy__actions .button-link--large {
    width: 100%;
    min-width: 0;
  }
}

@media (max-width: 1024px) {
  :root {
    --container-pad: 20px;
    --text-2xl: 2rem;
    --text-hero: 1.8rem;
  }

  .page-header {
    padding-top: 12px;
  }

  .page-header__inner {
    width: min(var(--container-width), calc(100% - 40px));
    grid-template-columns: minmax(0, 1fr) auto;
    align-items: center;
    gap: 12px;
  }

  .page-header__brand {
    min-width: 0;
    grid-column: 1;
    grid-row: 1;
  }

  .page-header__menu-toggle {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 4px;
    width: 48px;
    height: 48px;
    padding: 0;
    border: 1px solid rgba(95, 74, 57, 0.18);
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.94);
    box-shadow: var(--shadow-card);
    cursor: pointer;
    position: relative;
    z-index: 103;
    transition: transform 0.25s ease, box-shadow 0.25s ease;
  }

  .page-header__menu-toggle span {
    display: block;
    width: 22px;
    height: 2px;
    border-radius: 999px;
    background: var(--color-text);
    transition: transform 0.2s ease, opacity 0.2s ease;
  }

  .page-header__scrim {
    display: block;
    position: fixed;
    inset: 0;
    background: rgba(95, 74, 57, 0.18);
    opacity: 0;
    visibility: hidden;
    transition: opacity 0.3s ease, visibility 0.3s ease;
    z-index: 101;
  }

  .page-header.is-menu-open .page-header__scrim {
    opacity: 1;
    visibility: visible;
  }

  .page-header.is-menu-open .page-header__menu-toggle span:nth-child(1) {
    transform: translateY(6px) rotate(45deg);
  }

  .page-header.is-menu-open .page-header__menu-toggle span:nth-child(2) {
    opacity: 0;
  }

  .page-header.is-menu-open .page-header__menu-toggle span:nth-child(3) {
    transform: translateY(-6px) rotate(-45deg);
  }

  .page-header__nav {
    position: fixed;
    top: 0;
    right: 0;
    width: min(400px, 100vw);
    height: 100vh;
    padding: 96px 32px 40px;
    border-radius: 0;
    background: rgba(255, 255, 255, 0.98);
    box-shadow: -4px 0 12px rgba(0, 0, 0, 0.15);
    z-index: 102;
    overflow-y: auto;
    -webkit-overflow-scrolling: touch;
    visibility: hidden;
    pointer-events: none;
    transform: translateX(100%);
    transition:
      transform 0.3s ease,
      visibility 0s linear 0.3s;
  }

  .page-header.is-menu-open .page-header__nav {
    visibility: visible;
    pointer-events: auto;
    transform: translateX(0);
    transition-delay: 0s;
  }

  .page-header__nav-list {
    flex-direction: column;
    align-items: flex-start;
    gap: 0;
    font-size: 15px;
    width: 100%;
  }

  .page-header__nav-list li {
    width: 100%;
    border-bottom: 1px dashed var(--color-line);
  }

  .page-header__nav-list a {
    display: block;
    width: 100%;
    padding: 18px 0;
    font-size: 1rem;
    line-height: 1.5;
  }

  /* ハンバーガー：ドロップダウン */
  .page-header__nav-row {
    width: 100%;
    justify-content: space-between;
  }

  .page-header__nav-row a {
    flex: 1;
  }

  .page-header__sub-toggle {
    width: 44px;
    height: 56px;
  }

  .page-header__sub-toggle img {
    transform: none;
  }

  .page-header__dropdown {
    position: static;
    margin-top: 0;
    transform: none;
    box-shadow: none;
    border-radius: 0;
    opacity: 1;
    visibility: visible;
    pointer-events: auto;
    display: none;
    padding: 0;
  }

  .page-header__dropdown::before {
    display: none;
  }

  .has-dropdown.is-open .page-header__dropdown {
    display: block;
  }

  .page-header__dropdown li {
    border-bottom: none;
  }

  .page-header__dropdown li a {
    padding: 12px 16px 12px 24px;
    font-size: 0.9rem;
    color: var(--color-text);
  }

  .page-header__drawer-actions {
    display: block;
  }

  .button-link--header {
    display: none;
  }

  .page-header__menu {
    grid-column: 2;
    grid-row: 1;
  }

  .hero__copy {
    position: absolute;
    bottom: 40px;
    left: 32px;
    padding: 0;
  }

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

  .greeting__layout,
  .pharmacy__layout {
    grid-template-columns: 1fr;
  }

  .greeting {
    padding-top: 72px;
    padding-bottom: 88px;
  }

  .greeting::after {
    width: 420px;
    height: 328px;
    right: -150px;
  }

  .activities::before {
    top: 20px;
    left: -180px;
    width: 600px;
    height: 495px;
  }

  .section-heading--overlap .section-heading__script {
    left: 68px;
  }

  .activities__heading {
    min-height: 96px;
    margin-bottom: 32px;
  }

  .activities__heading .section-heading__title {
    top: 34px;
  }

  .activities__grid {
    column-gap: 24px;
    row-gap: 24px;
    justify-content: stretch;
    padding-left: 0;
  }

  .activity-card {
    width: auto;
  }

  .activity-card--offset {
    margin-top: 0;
  }

  .activities__grid::before {
    top: -92px;
    right: 16px;
    width: 92px;
    height: 125px;
  }

  .activities__grid::after {
    top: auto;
    right: -36px;
    bottom: 130px;
    width: 152px;
    height: 146px;
  }

  .greeting__heading {
    grid-template-columns: 1fr;
    margin-bottom: 24px;
  }

  .greeting .site-container {
    transform: none;
  }

  .greeting__heading-copy {
    grid-column: auto;
  }

  .greeting__heading .section-heading__script {
    left: 68px;
  }

  .greeting__content {
    padding-top: 0;
  }

  .organization__heading {
    min-height: 96px;
    margin-bottom: 24px;
  }

  .organization__intro {
    grid-template-columns: minmax(0, 1fr) 300px;
    column-gap: 20px;
    row-gap: 32px;
    margin-bottom: 48px;
  }

  .organization__lead {
    width: auto;
  }

  .organization__diagram {
    margin-top: 0;
    justify-self: start;
  }

  .pharmacy {
    padding-top: 48px;
    padding-bottom: 72px;
  }

  .pharmacy::after {
    display: none;
  }

  .pharmacy__layout {
    display: grid;
    grid-template-columns: 1fr;
    gap: 32px;
    min-height: 0;
  }

  .pharmacy__media,
  .pharmacy__panel {
    position: relative;
    left: auto;
    top: auto;
    width: auto;
    height: auto;
  }

  .pharmacy__media {
    padding-bottom: 40px;
  }

  .pharmacy__photo {
    width: 100%;
    height: auto;
    border-radius: 32px;
  }

  .pharmacy__dots {
    position: static;
    display: block;
    width: auto;
    transform: none;
    margin: 16px auto 0;
  }

  .pharmacy__mascot {
    left: 16px;
    top: auto;
    bottom: 50px;
    width: 65px;
  }

  .pharmacy__panel {
    min-height: 0;
    padding: 40px 32px;
  }

  .pharmacy__title,
  .pharmacy__body,
  .pharmacy__bullets {
    width: auto;
  }

  .pharmacy__bullets {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    column-gap: 28px;
    margin: 24px 0 32px;
  }

  .pharmacy__bullets li {
    white-space: normal;
  }

  .pharmacy__actions {
    grid-template-columns: repeat(2, minmax(0, 289px));
    gap: 18px;
  }

  .organization__links {
    gap: 24px;
    padding-left: 0;
  }

  .link-card {
    width: auto;
  }

  .organization__diagram {
    width: 300px;
    justify-self: end;
  }

  .contact-band__panel {
    width: auto;
    min-height: 0;
    padding: 32px 24px;
    column-gap: 18px;
  }

  .contact-band__info,
  .contact-band__cta {
    width: auto;
  }

  .contact-band__info {
    justify-items: center;
  }

  .contact-band__title {
    white-space: normal;
    text-align: center;
  }

  .contact-band__info .contact-band__title,
  .contact-band__fax {
    justify-self: center;
  }

  .contact-band__phone {
    margin: 8px 0;
    font-size: clamp(1.25rem, 3vw, 2rem);
  }

  .contact-band__divider {
    width: 1px;
    min-height: 92px;
    height: 100%;
  }

  .contact-band__cta {
    row-gap: 18px;
  }

  .page-footer__inner {
    grid-template-columns: minmax(260px, 300px) minmax(0, 1fr) auto;
    column-gap: 24px;
  }
}

@media (max-width: 768px) {
  :root {
    --container-pad: 16px;
    --text-2xl: 1.75rem;
    --text-hero: 1.5rem;
    --radius-xl: 20px;
  }

  .section {
    padding: 48px 0;
  }

  .page-header__logo {
    width: 64px;
  }

  .page-header__brand-overline {
    font-size: 0.85rem;
  }

  .page-header__brand-name {
    font-size: 1.05rem;
  }

  .news__heading {
    display: grid;
    grid-template-columns: minmax(0, 1fr) auto;
    align-items: end;
    gap: 16px;
    margin-bottom: 24px;
  }

  .news__heading-copy {
    min-height: auto;
    padding-top: 34px;
  }

  .news__heading .section-heading__script {
    top: 0;
    left: 0;
    width: auto;
  }

  .news__button {
    margin-top: 0;
    justify-self: end;
    align-self: end;
  }

  .search__heading-copy {
    min-height: auto;
    padding-top: 34px;
  }

  .search__heading .section-heading__script {
    top: 0;
    left: 0;
    width: auto;
  }

  .search__heading .section-heading__title {
    width: auto;
  }

  .section-heading__script {
    font-size: 2.35rem;
  }

  .page-header {
    padding-top: 12px;
  }

  .page-header__inner {
    grid-template-columns: minmax(0, 1fr) auto;
    align-items: start;
  }

  .page-header__menu {
    grid-column: 2;
    grid-row: 1;
  }

  .page-header__nav {
    width: 100vw;
    padding: 88px 24px 32px;
  }

  .hero {
    padding-top: 5px;
  }

  .hero__card {
    min-height: 520px;
  }

  .hero__copy {
    bottom: 32px;
    left: 24px;
  }

  .hero__title {
    gap: 12px;
  }

  .hero__chip {
    font-size: var(--text-hero);
  }

  .hero__mascot {
    right: 12px;
    bottom: 78px;
    width: 65px;
  }

  .hero__mascot figcaption {
    display: none;
  }

  .news__grid,
  .search__grid,
  .activities__grid,
  .organization__links {
    grid-template-columns: 1fr;
  }

  .news-card__link {
    grid-template-columns: 110px minmax(0, 1fr);
  }

  .news-card__category {
    grid-column: 2;
    justify-self: start;
    margin-top: 8px;
    min-width: 120px;
  }

  .search__panel {
    padding: 28px 20px 32px;
  }

  .activities::before {
    top: 72px;
    left: -170px;
    width: 460px;
    height: 379px;
  }

  .greeting__heading-copy {
    min-height: 56px;
  }

  .greeting__heading .section-heading__script {
    top: 0;
    left: 60px;
  }

  .greeting__heading .section-heading__title {
    top: 20px;
  }

  .section-heading--overlap {
    min-height: 56px;
    margin-bottom: 28px;
  }

  .section-heading--overlap .section-heading__script {
    top: 0;
    left: 60px;
  }

  .section-heading--overlap .section-heading__title {
    top: 20px;
  }

  .activities__grid {
    row-gap: 20px;
  }

  .activities__grid::before {
    top: -78px;
    right: 8px;
    width: 76px;
    height: 103px;
  }

  .activities__grid::after {
    right: -28px;
    bottom: 84px;
    width: 116px;
    height: 112px;
  }

  .search-tile {
    grid-template-columns: 64px minmax(0, 1fr) 14px;
    padding-left: 18px;
  }

  .greeting__layout {
    gap: 28px;
  }

  .greeting {
    padding-top: 64px;
    padding-bottom: 72px;
  }

  .greeting::after {
    width: 300px;
    height: 234px;
    top: 40px;
    right: -120px;
  }

  .greeting__portrait {
    max-width: 320px;
  }

  .activity-card--offset {
    margin-top: 0;
  }

  .organization__intro {
    grid-template-columns: 1fr;
    grid-template-areas:
      "lead"
      "diagram"
      "button";
    row-gap: 24px;
    margin-bottom: 82px;
  }

  .organization__diagram {
    width: 100%;
    max-width: 343px;
    justify-self: start;
  }

  .link-card,
  .link-card--center {
    width: auto;
  }

  .link-card {
    grid-template-columns: 140px minmax(0, 1fr);
    align-items: center;
    gap: 20px;
    min-height: 157px;
    padding: 0 52px 0 0;
    height: auto;
  }

  .link-card__image {
    width: 140px;
    height: 157px;
    margin: 0;
    border-radius: 16px 0 0 16px;
  }

  .link-card__title {
    padding-right: 0;
  }

  .link-card__arrow {
    top: 50%;
    right: 18px;
    bottom: auto;
    --link-card-arrow-y: -50%;
  }

  .pharmacy__bullets {
    grid-template-columns: 1fr;
    margin: 24px 0 32px;
  }

  .pharmacy__bullets ul:first-of-type {
    margin-bottom: 17px;
  }

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

  .button-link--large {
    width: 100%;
  }

  .contact-band__panel {
    padding: 24px 16px;
    column-gap: 12px;
  }

  .contact-band__title {
    font-size: 1.125rem;
  }

  .contact-band__phone {
    font-size: 1.25rem;
    gap: 3px;
  }

  .contact-band__phone img {
    width: 24px;
    height: 24px;
  }

  .contact-band__fax {
    font-size: 0.875rem;
  }

  .page-footer__inner {
    grid-template-columns: 1fr;
    padding: 48px 20px 112px;
    gap: 32px;
  }

  .page-footer__overline {
    font-size: 0.875rem;
  }

  .page-footer__name {
    font-size: 1.1rem;
  }

  .page-footer__nav {
    grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
  }

  .page-footer__mascot {
    right: 20px;
    bottom: 100%;
    width: 64px;
    height: auto;
  }
}

@media (max-width: 1024px) and (min-width: 769px) {
  .greeting .site-container {
    transform: none;
  }

  .greeting {
    padding-top: 64px;
    padding-bottom: 72px;
  }

  .greeting::after {
    width: 380px;
    height: 294px;
    top: 12px;
    right: -120px;
  }

  .greeting__heading {
    grid-template-columns: 236px minmax(0, 1fr);
    column-gap: 28px;
    margin-bottom: -14px;
  }

  .greeting__heading-copy {
    position: relative;
    grid-column: 2;
    min-height: 80px;
  }

  .greeting__layout {
    grid-template-columns: 236px minmax(0, 1fr);
    gap: 28px;
    align-items: start;
  }

  .greeting__portrait {
    width: 236px;
    height: 261px;
    max-width: none;
  }

  .greeting__content {
    padding-top: 36px;
    font-size: 0.95rem;
    line-height: 1.85;
  }

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

  .activities__grid .activity-card {
    margin-top: 0;
  }

  .activities__grid .activity-card:nth-child(even) {
    margin-top: 37px;
  }

  .organization__intro {
    grid-template-columns: minmax(0, 1fr) 343px;
    grid-template-areas:
      "lead diagram"
      "button diagram";
    column-gap: 16px;
    row-gap: 20px;
    align-items: start;
  }

  .organization__lead {
    width: auto;
  }

  .organization__lead p {
    margin-bottom: 20px;
    font-size: 1rem;
    line-height: 1.8;
  }

  .organization__diagram {
    width: min(343px, 100%);
    max-width: 100%;
    justify-self: end;
    margin-top: 0;
  }

  .pharmacy {
    --pharmacy-panel-left: 262px;
    --pharmacy-media-width: 442px;
    padding-top: 48px;
    padding-bottom: 32px;
  }

  .pharmacy::after {
    top: -18px;
    right: -180px;
    width: 430px;
    height: 335px;
    display: block;
  }

  .pharmacy__layout {
    display: block;
    min-height: 510px;
  }

  .pharmacy__media {
    position: absolute;
    left: calc(-16px - ((100vw - 100%) / 2));
    top: 0;
    width: var(--pharmacy-media-width);
    height: auto;
    padding-bottom: 0;
  }

  .pharmacy__photo {
    width: 100%;
    height: auto;
    border-radius: 0 32px 32px 0;
  }

  .pharmacy__dots {
    position: absolute;
    left: 50%;
    top: calc(100% + 16px);
    transform: translateX(-50%);
    margin: 0;
  }

  .pharmacy__mascot {
    position: absolute;
    left: 14px;
    top: calc(100% - 122px);
    width: 74px;
    height: auto;
  }

  .pharmacy__panel {
    position: absolute;
    left: var(--pharmacy-panel-left);
    top: 34px;
    width: calc(100% - var(--pharmacy-panel-left));
    height: auto;
    min-height: 438px;
    padding: 40px 40px 30px 40px;
  }

  .pharmacy__title {
    width: auto;
    margin-bottom: 18px;
  }

  .pharmacy__title-kicker {
    font-size: 17px;
    white-space: normal;
  }

  .pharmacy__title-line {
    flex-wrap: wrap;
    row-gap: 2px;
    white-space: normal;
  }

  .pharmacy__title-main {
    font-size: 26px;
  }

  .pharmacy__title-sub {
    font-size: 18px;
    white-space: normal;
  }

  .pharmacy__body {
    width: auto;
    font-size: 0.95rem;
    line-height: 1.75;
  }

  .pharmacy__bullets {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    width: auto;
    column-gap: 20px;
    margin: 18px 0 24px;
  }

  .pharmacy__bullets li {
    white-space: normal;
    padding-left: 24px;
    font-size: 0.95rem;
  }

  .pharmacy__actions {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 12px;
    margin-left: 0;
  }

  .pharmacy__actions .button-link--large {
    width: 100%;
    min-width: 0;
  }
}

@media (max-width: 480px) {
  :root {
    --text-2xl: 1.5rem;
    --text-hero: 1.25rem;
  }

  .page-header__brand {
    min-width: 0;
  }

  .page-header__logo {
    width: 72px;
  }

  .page-header__brand-name {
    font-size: 1.1rem;
  }

  .hero__inner {
    width: calc(100% - 20px);
  }

  .hero__card {
    min-height: 430px;
  }

  .hero__copy {
    bottom: 24px;
    left: 18px;
  }

  .hero__eyebrow {
    font-size: 1.2rem;
  }

  .hero__chip {
    padding: 10px 14px;
  }

  .hero__mascot img {
    width: 98px;
  }

  .greeting__layout {
    grid-template-columns: 1fr;
    gap: 24px;
  }

  .greeting__portrait {
    justify-self: center;
    width: min(284px, 100%);
    max-width: 284px;
    margin-inline: auto;
  }

  .greeting__portrait img {
    object-position: center center;
  }

  .greeting__content {
    padding-top: 0;
  }

  .organization__diagram {
    justify-self: center;
  }

  .organization__button {
    justify-self: stretch;
  }

  .organization__links {
    gap: 16px;
  }

  .link-card {
    grid-template-columns: 132px minmax(0, 1fr);
    align-items: center;
    gap: 16px;
    min-height: 156px;
    padding: 0 48px 0 0;
  }

  .link-card__image {
    width: 132px;
    height: 156px;
    margin: 0;
    border-radius: 16px 0 0 16px;
  }

  .link-card__title {
    padding-right: 0;
    font-size: 0.95rem;
    line-height: 1.55;
  }

  .link-card__arrow {
    top: 50%;
    right: 16px;
    bottom: auto;
    --link-card-arrow-y: -50%;
  }

  .news-card__link {
    grid-template-columns: 1fr;
  }

  .pharmacy__panel {
    order: 1;
  }

  .pharmacy__media {
    order: 2;
  }

  .news__button {
    width: 171px;
    min-width: 171px;
    justify-self: end;
  }

  .news-card__image {
    width: 100%;
    height: 180px;
  }

  .search-tile__title {
    font-size: 1.1rem;
  }

  .pharmacy__title {
    font-size: 1.875rem;
    line-height: 1.35;
  }

  .pharmacy__title-kicker {
    font-size: 1rem;
    white-space: normal;
  }

  .pharmacy__title-line {
    flex-wrap: wrap;
    row-gap: 2px;
    white-space: normal;
  }

  .pharmacy__title-main {
    font-size: 1.875rem;
  }

  .pharmacy__title-sub {
    font-size: 1rem;
  }

  .pharmacy__title-main,
  .pharmacy__title-sub {
    white-space: normal;
  }

  .contact-band__title {
    font-size: 1.5rem;
  }

  .contact-band__panel {
    grid-template-columns: 1fr;
    row-gap: 20px;
    width: 100%;
    padding: 28px 20px;
  }

  .contact-band__info,
  .contact-band__cta {
    justify-items: center;
    text-align: center;
  }

  .contact-band__divider {
    width: 100%;
    height: 1px;
    min-height: 0;
  }

  .contact-band__phone {
    justify-content: center;
    width: 100%;
  }

  .contact-band__cta {
    row-gap: 16px;
  }

  .contact-band__phone {
    font-size: 1.9rem;
  }
}


/* ============================================================
   Page Header Hero（共通コンポーネント）
   ============================================================ */
.page-header-hero {
  padding: 20px 0 0;
  margin-bottom: 64px;
}

.page-header-hero__inner {
  position: relative;
  width: min(1210px, calc(100% - 40px));
  margin-inline: auto;
  min-height: 300px;
  border-radius: var(--radius-xl);
  overflow: hidden;
  box-shadow: var(--shadow-hero);
}

.page-header-hero__image {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  z-index: 0;
}

.page-header-hero__copy {
  position: absolute;
  bottom: 40px;
  left: 67px;
  z-index: 2;
}

.page-header-hero__eyebrow {
  margin-bottom: var(--space-sm);
  color: var(--color-white);
  font-family: var(--font-script);
  font-size: 1.625rem;
  line-height: 1;
}

.page-header-hero__chip {
  display: inline-block;
  padding: 10px 18px;
  border-radius: 10px;
  background: rgba(255, 255, 255, 0.96);
  color: var(--color-text);
  font-size: var(--text-hero);
  font-weight: 500;
  line-height: 1.5;
  letter-spacing: 0.04em;
}

@media (max-width: 768px) {
  .page-header-hero {
    margin-bottom: 0;
  }

  .page-header-hero__inner {
    width: 100%;
    min-height: 200px;
    border-radius: 0;
  }

  .page-header-hero__copy {
    bottom: 20px;
    left: 18px;
  }

  .page-header-hero__eyebrow {
    font-size: 1.2rem;
  }

  .page-header-hero__chip {
    font-size: var(--text-xl);
    padding: 10px 14px;
  }
}


/* ============================================================
   Page Overview（法人概要等 左文章・右画像）
   ============================================================ */
.page-overview__inner {
  display: grid;
  grid-template-columns: minmax(0, 1fr) 420px;
  gap: 64px;
  align-items: center;
}


.page-overview__body {
  margin-top: 32px;
  font-size: var(--text-sm);
  line-height: 1.9;
}

.page-overview__media {
  border-radius: var(--radius-md);
  overflow: hidden;
}

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

@media (max-width: 1024px) {
  .page-overview__inner {
    grid-template-columns: 1fr;
    gap: 40px;
  }

  .page-overview__media {
    max-width: 480px;
    margin-inline: auto;
    order: -1;
  }
}

@media (max-width: 768px) {
  .page-overview__inner {
    gap: 32px;
  }
}


/* ============================================================
   Page Hero（一覧・詳細ページ共通ヘッダー）
   ============================================================ */
.page-hero {
  padding: 56px 0 48px;
  background-color: var(--color-panel);
}

.page-hero__script {
  font-family: var(--font-script);
  font-size: 1rem;
  color: var(--color-accent);
  margin-bottom: 8px;
}

.page-hero__title {
  font-size: var(--text-xl);
  font-weight: 700;
  color: var(--color-text);
}


/* ============================================================
   News Archive（お知らせ一覧）
   ============================================================ */
.news-archive {
  padding: 56px 0 80px;
}

.news-archive__filter {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin-bottom: 40px;
}

.news-archive__filter-btn {
  display: inline-block;
  padding: 6px 20px;
  border-radius: var(--radius-xl);
  border: 1.5px solid var(--color-accent);
  font-size: var(--text-xs);
  color: var(--color-accent);
  text-decoration: none;
  transition: background-color 0.2s ease, color 0.2s ease;
}

.news-archive__filter-btn:visited {
  color: var(--color-accent);
}

.news-archive__filter-btn.is-active,
.news-archive__filter-btn:hover {
  background-color: var(--color-accent);
  color: var(--color-white);
}

.news-archive__list {
  display: flex;
  flex-direction: column;
  gap: 0;
}

/* 一覧用: カードを全幅ボーダーリスト形式に */
.news-card--wide {
  border-bottom: 1px solid var(--color-line);
}

.news-card--wide:first-child {
  border-top: 1px solid var(--color-line);
}

.news-card--wide .news-card__link {
  padding: 20px 8px;
  border-radius: 0;
  background-color: transparent;
  box-shadow: none;
}

.news-card--wide .news-card__link:hover {
  background-color: #fffcf8;
  transform: none;
  box-shadow: none;
}

.news-card--wide .news-card__title {
  font-size: var(--text-sm);
  max-width: none;
}

.news-archive__pagination {
  display: flex;
  justify-content: center;
  gap: 4px;
  margin-top: 48px;
}

.news-archive__pagination .page-numbers {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 40px;
  height: 40px;
  border-radius: 50%;
  border: 1.5px solid var(--color-line);
  font-size: var(--text-xs);
  color: var(--color-text);
  text-decoration: none;
  transition: background-color 0.2s ease, color 0.2s ease, border-color 0.2s ease;
}

.news-archive__pagination .page-numbers:visited {
  color: var(--color-text);
}

.news-archive__pagination .page-numbers.current,
.news-archive__pagination .page-numbers:hover {
  background-color: var(--color-accent);
  border-color: var(--color-accent);
  color: var(--color-white);
}

.news-archive__empty {
  text-align: center;
  color: var(--color-muted);
  padding: 48px 0;
}


/* ============================================================
   News Single（お知らせ詳細）
   ============================================================ */
.news-single {
  padding: 56px 0 80px;
}

.news-single__inner {
  max-width: 800px;
}

.news-single__header {
  margin-bottom: 40px;
  padding-bottom: 32px;
  border-bottom: 1px solid var(--color-line);
}

.news-single__meta {
  display: flex;
  align-items: center;
  gap: 12px;
  margin-bottom: 16px;
}

.news-single__meta .news-card__date {
  margin-bottom: 0;
}

.news-card__category--inline {
  position: static;
  display: inline-flex;
  align-self: center;
}

.news-single__title {
  font-size: var(--text-xl);
  font-weight: 700;
  line-height: 1.6;
  color: var(--color-text);
}

.news-single__thumbnail {
  margin-bottom: 40px;
  border-radius: var(--radius-md);
  overflow: hidden;
  max-width: 400px;
  margin-left: auto;
  margin-right: auto;
}

.news-single__thumbnail img {
  width: 100%;
  height: auto;
  display: block;
}

.news-single__body {
  margin-bottom: 48px;
}

.news-single__actions {
  display: flex;
  justify-content: center;
}

.news-single__actions .button-link {
  max-width: 320px;
  width: 100%;
}


/* ============================================================
   Post Body（本文コンテンツスタイル）
   ============================================================ */
.post-body {
  font-size: var(--text-sm);
  line-height: 1.9;
  color: var(--color-text);
}

.post-body > * + * {
  margin-top: 1.5em;
}

.post-body h2 {
  font-size: var(--text-xl);
  font-weight: 700;
  padding: 10px 16px;
  border-left: 4px solid #d0eeee;
  background-color: #f5f5f5;
  border-radius: 0 var(--radius-xs) var(--radius-xs) 0;
  margin-top: 2.5em;
}

.post-body h3 {
  font-size: var(--text-lg);
  font-weight: 700;
  padding-left: 12px;
  border-left: 4px solid var(--color-accent);
  margin-top: 2em;
}

.post-body h4 {
  font-size: var(--text-md);
  font-weight: 700;
  color: var(--color-accent);
  margin-top: 1.5em;
}

.post-body h5 {
  font-size: var(--text-md);
  font-weight: 700;
  margin-top: 1.5em;
}

.post-body a {
  color: var(--color-accent);
  text-decoration: underline;
  text-underline-offset: 3px;
  transition: opacity 0.2s ease;
}

.post-body a:visited {
  color: var(--color-accent);
}

.post-body a:hover {
  opacity: 0.7;
}

.post-body ul,
.post-body ol {
  padding-left: 1.5em;
}

.post-body ul {
  list-style: none;
  padding-left: 0;
}

.post-body ul li {
  padding-left: 1.25em;
  position: relative;
}

.post-body ul li::before {
  content: '';
  position: absolute;
  left: 0;
  top: 0.65em;
  width: 7px;
  height: 7px;
  border-radius: 50%;
  background-color: var(--color-accent);
}

.post-body ol {
  list-style: decimal;
}

.post-body ol li {
  padding-left: 0.25em;
}

.post-body li + li {
  margin-top: 0.5em;
}

.post-body img {
  display: block;
  max-width: 600px;
  width: 100%;
  height: auto;
  border-radius: var(--radius-sm);
  margin-left: auto;
  margin-right: auto;
}

.table-wrapper {
  overflow-x: auto;
  -webkit-overflow-scrolling: touch;
}

.post-body table {
  width: 100%;
  border-collapse: collapse;
  font-size: var(--text-sm);
}

.post-body th,
.post-body td {
  padding: 12px 16px;
  text-align: left;
  vertical-align: top;
  border-bottom: 1px solid rgba(95, 74, 57, 0.12);
}

.post-body thead th {
  background-color: var(--color-surface);
  font-weight: 700;
  font-size: var(--text-sm);
  color: var(--color-text-muted);
  letter-spacing: 0.04em;
  border-bottom: 2px solid rgba(95, 74, 57, 0.18);
}

.post-body tbody th {
  background-color: var(--color-surface);
  font-weight: 700;
  white-space: nowrap;
  vertical-align: middle;
}

.post-body tbody tr:last-child td,
.post-body tbody tr:last-child th {
  border-bottom: none;
}

.organization-members {
  display: inline-flex;
  flex-wrap: wrap;
  align-items: flex-start;
  vertical-align: top;
  white-space: normal;
  gap: 0.4em 1.2em;
}

.organization-member {
  display: inline-block;
}

.post-body td .organization-members br {
  display: none;
}

@media (max-width: 768px) {
  .post-body .table-wrapper {
    overflow-x: visible;
  }

  .post-body table,
  .post-body tbody,
  .post-body tr,
  .post-body th,
  .post-body td {
    display: block;
  }

  .post-body table {
    border: 1px solid rgba(95, 74, 57, 0.12);
    border-radius: var(--radius-md);
    overflow: hidden;
    background-color: var(--color-white);
  }

  .post-body tr + tr {
    border-top: 1px solid rgba(95, 74, 57, 0.12);
  }

  .post-body th,
  .post-body td {
    width: 100%;
    border-bottom: none;
  }

  .post-body th {
    padding: 12px 16px 10px;
    background-color: var(--color-surface);
    color: var(--color-text-muted);
    font-size: var(--text-sm);
    font-weight: 700;
    letter-spacing: 0.04em;
    line-height: 1.5;
    white-space: normal;
  }

  .post-body td {
    padding: 12px 16px 14px;
    font-size: var(--text-sm);
    line-height: 1.5;
    word-break: break-word;
  }

  .post-body td + td {
    padding-top: 0;
  }

  .post-body tr td:first-child:not([colspan]) {
    font-weight: 700;
  }

  .post-body th[rowspan] {
    border-bottom: 1px solid rgba(95, 74, 57, 0.12);
  }

  .post-body td[colspan] {
    padding-top: 14px;
  }

  .post-body td br {
    content: "";
    display: block;
    margin-top: 0.35em;
  }

  .organization-members {
    display: flex;
    flex-direction: column;
    gap: 0.35em;
  }

  .post-body td .organization-members br {
    display: none;
    margin-top: 0;
  }
}


/* ============================================================
   Pharmacy Page
   ============================================================ */

/* ページ内アンカーナビ */
.pharmacy-nav {
  position: sticky;
  top: 0;
  z-index: 100;
  padding: 16px 0;
}

.pharmacy-nav__list {
  display: flex;
  justify-content: center;
  gap: 12px;
  list-style: none;
  flex-wrap: wrap;
}

.pharmacy-nav__btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 12px;
  width: 210px;
  min-height: 52px;
  padding: 0 20px;
  border-radius: 999px;
  background-color: #f5f5f5;
  font-size: var(--text-sm);
  font-weight: 500;
  color: var(--color-text);
  text-decoration: none;
  letter-spacing: 0.06em;
  white-space: nowrap;
  transition: filter 0.2s ease;
}

.pharmacy-nav__btn:visited {
  color: var(--color-text);
}

.pharmacy-nav__btn:hover {
  filter: brightness(0.94);
}

.pharmacy-nav__btn img {
  width: 8px;
  height: auto;
}

/* 薬局情報 */

.pharmacy-info__layout {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 48px;
  align-items: start;
  margin-bottom: 48px;
}

.pharmacy-info__body {
  margin-bottom: 24px;
  font-size: var(--text-sm);
  line-height: 1.9;
}

.pharmacy-info__table {
  margin-bottom: 32px;
  font-size: var(--text-sm);
}

.pharmacy-info__row {
  display: grid;
  grid-template-columns: 80px 1fr;
  gap: 8px 16px;
  padding: 14px 0;
  border-bottom: 1px solid var(--color-line);
}

.pharmacy-info__row:first-child {
  border-top: 1px solid var(--color-line);
}

.pharmacy-info__row dt {
  font-weight: 700;
  color: var(--color-accent);
}

.pharmacy-info__row dd a {
  color: inherit;
  text-decoration: underline;
  text-underline-offset: 3px;
  transition: opacity 0.2s ease;
}

.pharmacy-info__row dd a:visited {
  color: inherit;
}

.pharmacy-info__row dd a:hover {
  opacity: 0.6;
}

.pharmacy-map-link {
  display: inline-flex;
  align-items: center;
  gap: 4px;
  margin-left: 10px;
  padding: 2px 10px;
  border: 1px solid var(--color-accent);
  border-radius: 100px;
  color: var(--color-accent);
  font-size: var(--text-xs);
  text-decoration: none;
  white-space: nowrap;
  vertical-align: middle;
}

.pharmacy-map-link:visited {
  color: var(--color-accent);
}

.pharmacy-map-link::after {
  content: '';
  display: inline-block;
  width: 10px;
  height: 10px;
  background: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 12 12' fill='none' stroke='%2300897b' stroke-width='1.5'%3E%3Cpath d='M2 10L10 2M10 2H5M10 2v5'/%3E%3C/svg%3E") center / contain no-repeat;
}

/* 機能アイコン */
.pharmacy-features {
  display: flex;
  flex-wrap: wrap;
  gap: 16px;
  list-style: none;
  padding: 0;
}

.pharmacy-feature {
  display: flex;
  flex-direction: column;
  align-items: center;
  background: #FBF8F5;
  justify-content: center;
  gap: 8px;
  width: 120px;
  max-width: 120px;
  aspect-ratio: 1 / 1;
  text-align: center;
  font-size: 0.8rem;
  font-weight: 600;
  line-height: 1.5;
}

.pharmacy-feature__icon {
  width: 56px;
  max-width: 100%;
  height: 56px;
  object-fit: contain;
}

/* Swiperスライダー */
.pharmacy-slider {
  position: relative;
  z-index: 1;
  width: 100%;
  height: 320px;
  border-radius: var(--radius-md);
  overflow: hidden;
}

.pharmacy-slider .swiper-slide {
  width: 100%;
  height: 100%;
}

.pharmacy-slider .swiper-slide img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}

.pharmacy-slider .swiper-pagination-bullet-active {
  background-color: var(--color-accent);
}

/* アクセス */
.pharmacy-access {
  display: grid;
  grid-template-columns: minmax(0, 1fr) 420px;
  gap: 48px;
  align-items: stretch;
  background-color: var(--color-surface);
  border-radius: var(--radius-md);
  padding: 40px;
}

.pharmacy-access__title {
  font-size: var(--text-md);
  font-weight: 700;
  margin-bottom: 16px;
}

.pharmacy-access__content p {
  font-size: var(--text-sm);
  line-height: 1.9;
  margin-bottom: 16px;
}

.pharmacy-access__map {
  border-radius: var(--radius-sm);
  overflow: hidden;
  min-height: 240px;
}

.pharmacy-access__map iframe {
  width: 100%;
  height: 100%;
  display: block;
}

/* 薬局の取り組み */
.pharmacy-activities {
  position: relative;
  z-index: 1;
  isolation: isolate;
}

.pharmacy-activities::after {
  content: "";
  position: absolute;
  top: 0;
  right: -105px;
  width: 600px;
  height: 464px;
  background: url("../images/greeting-background-blob.svg") left top / 100% 100% no-repeat;
  pointer-events: none;
  z-index: -1;
}

.pharmacy-activities__grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
}

.pharmacy-activity-card {
  position: relative;
  border-radius: var(--radius-md);
  overflow: hidden;
  background-color: var(--color-white);
  box-shadow: var(--shadow-card);
}

.pharmacy-activity-card img,
.pharmacy-activity-card__placeholder {
  width: 100%;
  aspect-ratio: 16 / 9;
  object-fit: cover;
  display: block;
}

.pharmacy-activity-card__tag {
  position: absolute;
  top: 0;
  left: 0;
  padding: 10px 24px;
  background-color: #d0eeee;
  font-size: var(--text-xs);
  font-weight: 500;
  color: var(--color-text);
  border-radius: var(--radius-md) 0  var(--radius-md) 0;
  line-height: 1.4;
}

.pharmacy-activity-card__placeholder {
  background-color: #f5f5f5;
}

.pharmacy-activity-card__body {
  padding: 16px 20px 20px;
}

.pharmacy-activity-card__body h3 {
  font-size: var(--text-lg);
  font-weight: 600;
  margin-bottom: 8px;
}

.pharmacy-activity-card__body p {
  font-size: var(--text-xs);
  line-height: 1.8;
  color: var(--color-text);
}

/* 設備紹介 */
.pharmacy-facilities {
  position: relative;
  z-index: 1;
  isolation: isolate;
}

.pharmacy-facilities::before {
  content: "";
  position: absolute;
  top: -12px;
  left: -98px;
  width: 736px;
  height: 569px;
  background: url("../images/activities-background-blob.svg") left top / 100% 100% no-repeat;
  pointer-events: none;
  z-index: -1;
}

.pharmacy-facilities__grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
}

.pharmacy-facility {
  position: relative;
  border-radius: var(--radius-md);
  overflow: hidden;
  box-shadow: var(--shadow-card);
  margin: 0;
}

.pharmacy-facility img {
  width: 100%;
  aspect-ratio: 4 / 3;
  object-fit: cover;
  display: block;
}

.pharmacy-facility figcaption {
  position: absolute;
  bottom: 0;
  left: 0;
  display: inline-block;
  padding: 10px 32px;
  background-color: rgba(208, 238, 238, 0.9);
  font-size: var(--text-sm);
  font-weight: 500;
  border-radius: 0 var(--radius-md) 0 var(--radius-md);
  color: var(--color-text);
}

.pharmacy-facility__sub {
  display: block;
  font-size: 14px;
  font-weight: 400;
  margin-top: 2px;
}

/* 採用情報 */
.pharmacy-recruit__inner {
  display: grid;
  grid-template-columns: 280px minmax(0, 1fr);
  gap: 64px;
  align-items: start;
}

.pharmacy-recruit__content {
  padding-top: 104px;
}

.pharmacy-recruit__content p {
  font-size: var(--text-sm);
  line-height: 1.9;
  margin-bottom: 32px;
}

.pharmacy-recruit__btn {
  margin-top: 8px;
}

/* レスポンシブ */
@media (max-width: 1024px) and (min-width: 796px) {
  .pharmacy-nav__btn {
    width: 180px;
    padding: 0 14px;
  }
}

@media (max-width: 871px) {
  .pharmacy-features {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 8px;
  }

  .pharmacy-feature {
    width: 100%;
    max-width: none;
    min-width: 0;
  }
}

@media (max-width: 795px) {
  .pharmacy-nav {
    position: static;
  }

  .pharmacy-nav__list {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 8px;
  }

  .pharmacy-nav__list li {
    width: auto;
  }

  .pharmacy-nav__btn {
    width: 100%;
    font-size: var(--text-xs);
    min-height: 44px;
    border: 1px solid rgba(95, 74, 57, 0.18);
  }
}

@media (max-width: 768px) {
  .pharmacy-features {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 8px;
  }

  .pharmacy-feature {
    width: 100%;
    min-width: 0;
    max-width: none;
  }


  .pharmacy-info__layout,
  .pharmacy-access {
    grid-template-columns: 1fr;
    gap: 32px;
  }

  .pharmacy-access {
    padding: 24px;
  }

  .pharmacy-activities::after {
    width: 420px;
    height: 328px;
    right: -150px;
  }

  .pharmacy-facilities::before {
    top: 20px;
    left: -180px;
    width: 600px;
    height: 495px;
  }

  .pharmacy-activities__grid,
  .pharmacy-facilities__grid {
    grid-template-columns: 1fr;
    gap: 24px;
  }

  .pharmacy-recruit__inner {
    grid-template-columns: 1fr;
    gap: 0;
  }

  .pharmacy-recruit__content {
    padding-top: 0;
  }
}


/* ============================================================
   General Page Content（固定ページ汎用）
   ============================================================ */
.page-content__body {
  max-width: 860px;
  margin-left: auto;
  margin-right: auto;
}

.page-content.section {
  padding-top: 0;
}


/* ============================================================
   Recruit Archive（募集要項）
   ============================================================ */
.recruit-archive__inner {
  max-width: 860px;
}

.recruit-index {
  margin-bottom: 48px;
}

.recruit-index__list {
  list-style: none;
  padding: 0;
  display: flex;
  flex-direction: row;
  flex-wrap: wrap;
  justify-content: center;
  gap: 10px 24px;
}

.recruit-index__link {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  color: var(--color-accent);
  font-size: var(--text-sm);
  font-weight: 500;
  text-decoration: underline;
  text-decoration-thickness: 1px;
  text-underline-offset: 3px;
  transition:
    text-decoration-thickness 0.2s ease,
    text-underline-offset 0.2s ease;
}

.recruit-index__link:visited {
  color: var(--color-accent);
}

.recruit-index__link img {
  width: 8px;
  height: auto;
  flex-shrink: 0;
}

.recruit-detail__title {
  font-size: var(--text-xl);
  font-weight: 700;
  margin-bottom: 32px;
  padding-bottom: 16px;
  border-bottom: 2px solid var(--color-accent);
}

.recruit-table {
  width: 100%;
  border-collapse: collapse;
  margin-bottom: 48px;
  font-size: var(--text-sm);
}

.recruit-table__row {
  border-bottom: 1px solid var(--color-line);
}


.recruit-table__label {
  width: 200px;
  padding: 16px 16px 16px 0;
  font-weight: 500;
  color: var(--color-accent);
  vertical-align: top;
  white-space: nowrap;
}

.recruit-table__value {
  padding: 16px;
  line-height: 1.8;
  vertical-align: top;
}

.pharmacy-recruit__empty {
  color: var(--color-muted);
  font-size: var(--text-sm);
  margin-top: 8px;
}

/* 薬局内掲示物 */
.pharmacy-notices__list {
  list-style: none;
  padding: 0;
  margin: 0;
  display: flex;
  flex-direction: column;
  gap: 0;
}

.pharmacy-notice-item__link {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  padding: 6px 16px;
  font-size: var(--text-sm);
  color: var(--color-text);
  text-decoration: none;
  transition: color 0.2s;
}

a.pharmacy-notice-item__link:hover {
  color: var(--color-accent);
}

.pharmacy-notice-item__link--no-pdf {
  opacity: 0.6;
}

.pharmacy-notice-item__icon {
  width: 20px;
  height: 20px;
  flex-shrink: 0;
}

@media (max-width: 1024px) {
  .pharmacy-notice-item + .pharmacy-notice-item {
    border-top: 1px solid rgba(0, 0, 0, 0.08);
  }
}

.recruit-archive__back {
  display: flex;
  justify-content: center;
  margin-top: 48px;
}

/* Mobile Pharmacy */

.mobile-pharmacy-intro__body {
  display: flex;
  flex-direction: column;
  gap: 16px;
  font-size: var(--text-base);
  line-height: 1.8;
  max-width: 860px;
}

.mobile-pharmacy-intro .pharmacy-info__layout {
  margin-bottom: 0;
}

.mobile-pharmacy-intro__image img {
  width: 100%;
  height: auto;
  border-radius: var(--radius-lg);
  display: block;
}

.mobile-pharmacy-facilities__heading {
  margin-bottom: 40px;
}

/* Activities page */

.activities-page__grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 32px;
}

.activities-page__grid .activity-card {
  width: 100%;
}

@media (max-width: 1024px) {
  .activities-page__grid {
    grid-template-columns: repeat(2, 1fr);
  }
}

@media (max-width: 600px) {
  .activities-page__grid {
    grid-template-columns: 1fr;
  }
}

@media (max-width: 768px) {
  .recruit-table,
  .recruit-table tbody,
  .recruit-table__row,
  .recruit-table__label,
  .recruit-table__value {
    display: block;
    width: 100%;
  }

  .recruit-table__label {
    padding: 16px 0 4px;
    border-bottom: none;
  }

  .recruit-table__value {
    padding: 0 0 16px;
  }

  .recruit-index__list {
    flex-direction: column;
    align-items: center;
    gap: 10px;
  }
}


/* ============================================================
   Responsive
   ============================================================ */
@media (max-width: 768px) {
  .page-hero {
    padding: 40px 0 32px;
  }

  .news-archive {
    padding: 40px 0 64px;
  }

  .news-single {
    padding: 40px 0 64px;
  }

  .news-single__title {
    font-size: var(--text-lg);
  }

  .post-body h2 {
    font-size: var(--text-sm);
  }
}
