/* =========================================================
   石井キャットクリニック /home/
   style.css 整理版 v30
   2026-10-13

   構成
   1. 共通
   2. PC  (min-width: 768px)
   3. SP  (max-width: 767px)
   4. 下層ページ（病院あんない・診療あんない）

   共通・PC・SP・下層ページの定義を統合。
   本文文字サイズは --body-copy-size で管理。
   ========================================================= */

/* ==================== COMMON ==================== */
/* 本文共通サイズ：全ページの本文はここで調整 */
:root { --body-copy-size: 16px; }

/* 横長CTA：角丸のイージングを共通管理 */
.coral-button,
.pet-banner-copy span,
.map-card a,
.contact-button,
.clinic-staff-link {
  transition: border-radius .75s cubic-bezier(.16, 1, .3, 1);
}

.coral-button:hover,
.pet-banner:hover .pet-banner-copy span,
.map-card a:hover,
.contact-button:hover,
.clinic-staff-link:hover {
  border-radius: 30px;
}


* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  color: #333;
  font-family: "M PLUS 1p", sans-serif;
  background: #fff;
  font-size: var(--body-copy-size);
}

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

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

main p {
  text-align: justify;
}

/* ==================================================
   ヘッダー
================================================== */
.site-header {
  height: 98px;
  display: flex;
  align-items: stretch;
  background: #fff;
  position: relative;
  z-index: 20;
}

.site-logo {
  width: 155px;
  display: grid;
  place-items: center;
  padding: 14px 22px;
}

.site-logo img {
  width: 95px;
  height: auto;
}

.header-nav {
  margin-left: auto;
  display: flex;
  align-items: stretch;
}

.header-nav img {
  display: block;
}

.header-utility {
  width: 88px;
  display: grid;
  grid-template-columns: 1fr 1fr;
  grid-template-rows: 1fr 1fr;
  border-left: 1px solid #eee;
}

.header-utility a {
  display: grid;
  place-items: center;
  border-right: 1px solid #eee;
  border-bottom: 1px solid #eee;
}

.header-utility a:nth-child(n/**/+3) {
  border-bottom: 0;
}

.header-utility img {
  width: 23px;
  height: 23px;
  object-fit: contain;
}

.header-small-link {
  transition: background-color .35s ease, color .35s ease;
}

.header-utility .header-small-link:hover,
.header-utility .header-small-link.is-current,
.header-social .header-small-link:hover,
.staff-label.header-small-link:hover {
  background: #ea6051;
  color: #fff;
}

.header-utility .header-small-link:hover img,
.header-utility .header-small-link.is-current img,
.header-social .header-small-link:hover img {
  filter: brightness(0) invert(1);
}

.header-main-link {
  width: 112px;
  border-left: 1px solid #eee;
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  gap: 6px;
  color: #007a35;
  font-size: 14px;
  font-weight: 700;
  transition: background-color .25s ease, color .25s ease;
}

.header-main-link img {
  width: 38px;
  height: 38px;
  object-fit: contain;
}

.header-main-link:hover,
.header-main-link.is-current,
.header-main-link.header-reservation:hover {
  background: #ea6051;
  color: #fff;
}

.header-main-link:hover img,
.header-main-link.is-current img {
  filter: brightness(0) invert(1);
}

.header-staff {
  width: 132px;
  border-left: 1px solid #eee;
  display: flex;
  flex-direction: column;
}

.header-social {
  height: 50%;
  display: grid;
  grid-template-columns: 1fr 1fr;
}

.header-social a {
  display: grid;
  place-items: center;
  border-right: 1px solid #eee;
  border-bottom: 1px solid #eee;
}

.header-social a:last-child {
  border-right: 0;
}

.header-social img {
  width: 23px;
  height: 23px;
  object-fit: contain;
}

.staff-label {
  flex: 1;
  display: grid;
  place-items: center;
  color: #007a35;
  font-size: 14px;
  font-weight: 700;
}

.header-reservation {
  width: 116px;
  background: #ffeb73;
}

.menu-button {
  width: 98px;
  border: 0;
  border-left: 1px solid #eee;
  background: #fff;
  display: grid;
  place-content: center;
  gap: 7px;
  cursor: pointer;
}

.menu-button span {
  display: block;
  width: 30px;
  height: 2px;
  background: #007a35;
}

/* ==================================================
   メインビジュアル・スライダー
================================================== */
.hero {
  height: min(760px, calc(100dvh - 98px));
  min-height: 520px;
  position: relative;
  overflow: hidden;
  margin: 0 24px;
}

.slides, .slide {
  position: absolute;
  inset: 0;
}

.slide {
  opacity: 0;
  transition: opacity .7s;
}

.slide.is-active {
  opacity: 1;
}

.slide img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.hero h1 {
  position: absolute;
  inset: 0;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  margin: 0;
  pointer-events: none;
  transform: translateY(80px);
}

.hero h1 span {
  display: inline;
  background: linear-gradient(
    to bottom,
    transparent 0 50%,
    rgba(234, 96, 81, .86) 50% 100%
  );
  color: #fff;
  font-size: clamp(34px, calc(4vw - 4px), 58px);
  font-weight: 600;
  line-height: 1.25;
  box-decoration-break: clone;
  -webkit-box-decoration-break: clone;
  padding: 0 .12em;
  margin: .06em;
}

.slide-dots {
  position: absolute;
  bottom: 42px;
  left: 50%;
  transform: translateX(-50%);
  display: flex;
  gap: 24px;
}

.slide-dots button {
  width: 7px;
  height: 7px;
  border: 0;
  border-radius: 50%;
  background: #fff;
  opacity: .65;
  padding: 0;
}

.slide-dots button.is-active {
  opacity: 1;
}

.hero-pet-banner {
  position: absolute;
  right: 0;
  bottom: 0;
  width: 220px;
  height: 220px;
  background: #00883d;
  background-image: repeating-linear-gradient(135deg, rgba(255, 255, 255, .035) 0 12px, transparent 12px 30px);
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  padding: 20px;
  gap: 12px;
}

.hero-pet-banner img {
  width: 145px;
  height: auto;
}

.hero-pet-banner span {
  width: 100%;
  background: #ea6051;
  color: #fff;
  text-align: center;
  padding: 9px 6px;
  font-size: 14px;
  font-weight: 700;
}

.pet-link-mobile {
  display: none;
}

/* ==================================================
   共通セクション
================================================== */
.section {
  padding: 78px 24px;
}

.section-inner {
  max-width: 1120px;
  margin: auto;
}

.section-title {
  display: flex;
  align-items: center;
  gap: 14px;
  color: #007a35;
  font-size: 23px;
  margin: 0 0 28px;
  font-weight: 800;
}

.section-title img {
  width: 32px;
  height: 32px;
}

.hours-icon {
  display: inline-block;
  width: 32px;
  height: 32px;
  border: 3px solid #007a35;
  border-radius: 50%;
  position: relative;
  flex: none;
}

.hours-icon:before {
  content: "";
  position: absolute;
  width: 2px;
  height: 9px;
  background: #007a35;
  left: 50%;
  top: 5px;
}

.hours-icon:after {
  content: "";
  position: absolute;
  width: 8px;
  height: 2px;
  background: #007a35;
  left: 50%;
  top: 14px;
  transform: rotate(25deg);
  transform-origin: left;
}

/* ==================================================
   お知らせ
================================================== */
.news-grid {
  display: grid;
  grid-template-columns: repeat(5, 1fr);
  gap: 30px;
}

.news-card .news-thumb {
  aspect-ratio: 1;
  background: #f2f2f2;
  overflow: hidden;
}

.news-thumb img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.news-card h3,
.news-card h2 {
  font-size: 16px;
  margin: 15px 0 0;
}

.news-card time {
  font-size: 14px;
}

.news-card p {
  font-size: 16px;
  line-height: 1.65;
  margin: 6px 0;
}

.news-excerpt-sp {
  display: none;
}

.coral-button {
  display: flex;
  width: 280px;
  height: 54px;
  margin: 42px auto 0;
  background: #ea6051;
  color: #fff;
  align-items: center;
  justify-content: center;
  font-weight: 700;
  position: relative;
  border-radius: 0;
}

.coral-button span {
  position: absolute;
  right: 20px;
  border: 1px solid;
  border-radius: 50%;
  width: 20px;
  height: 20px;
  display: grid;
  place-items: center;
}

/* ==================================================
   診療時間・診療科目
================================================== */
.two-col {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 38px;
}

.hours-table {
  width: 100%;
  border-collapse: collapse;
  text-align: center;
}

.hours-table th, .hours-table td {
  border: 1px solid #333;
  padding: 14px 8px;
  font-size: 16px;
}

.hours-table td {
  color: #ea6051;
}

.note {
  font-size: 14px;
}

.medical-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 9px;
}

.medical-grid span {
  border: 1px solid #777;
  padding: 11px 5px;
  text-align: center;
  font-size: 16px;
}

/* ==================================================
   施設・サービス紹介
================================================== */
.feature-grid {
  display: grid;
  grid-template-columns: 1fr 1fr 2fr;
  gap: 14px;
  margin-top: 35px;
}

.feature-card {
  position: relative;
}

.feature-card img {
  width: 100%;
  height: 190px;
  object-fit: cover;
}

.feature-card span {
  display: block;
  background: #ea6051;
  color: #fff;
  text-align: center;
  padding: 10px;
  font-size: 14px;
  font-weight: 700;
}

/* ==================================================
   石井ペットクリニック バナー
================================================== */
.pet-banner {
  background: #00883d;
  background-image: repeating-linear-gradient(135deg, rgba(255, 255, 255, .035) 0 12px, transparent 12px 30px);
  padding: 24px 26px;
  display: grid;
  grid-template-columns: 160px 1fr;
  gap: 24px;
  align-items: center;
  color: #fff;
}

.pet-banner > img {
  width: 160px;
  height: auto;
}

.pet-banner-copy p {
  font-size: 14px;
  line-height: 1.7;
  margin: 0 0 16px;
}

.pet-banner-copy span {
  display: flex;
  align-items: center;
  justify-content: center;
  min-height: 52px;
  background: #ea6051;
  color: #fff;
  font-size: 15px;
  font-weight: 700;
  padding: 8px 14px;
  border-radius: 0;
}

.pet-banner-copy b {
  font-size: 18px;
  margin-left: 12px;
}

/* ==================================================
   アクセス・お問い合わせ
================================================== */
.contact-area {
  background: #ea6051;
  padding: 76px 24px;
  background-image: repeating-linear-gradient(135deg, rgba(255, 255, 255, .035) 0 12px, transparent 12px 30px);
}

.contact-grid {
  max-width: 1120px;
  margin: auto;
  display: grid;
  grid-template-columns: 1fr 1fr 1fr;
  gap: 48px;
  align-items: stretch;
}

.map-card {
  height: 100%;
  background: transparent;
  padding-bottom: 0;
  display: flex;
  flex-direction: column;
}

.info-card {
  background: #fff;
  height: 100%;
  padding: 34px;
}

.map-card iframe {
  width: 100%;
  border: 0;
  display: block;
  background: #fff;
  margin-bottom: 14px;
  flex: 1 1 auto;
  height: auto;
  min-height: 390px;
}

.map-card a {
  height: 55px;
  display: flex;
  align-items: center;
  justify-content: center;
  color: #b35b54;
  background: #fff;
  border-top: 0;
  flex: 0 0 55px;
  border-radius: 0;
}

.info-card h2 {
  font-size: 22px;
  margin-top: 0;
}

.info-card p {
  font-size: 16px;
  line-height: 1.8;
}

.info-card > img {
  margin-top: 20px;
}

.hours-text {
  margin-top: 70px;
}

.tel {
  font-weight: 700;
}

.tel a {
  font-size: 29px;
}

.contact-button {
  height: 54px;
  background: #ea6051;
  display: grid;
  place-items: center;
  border-radius: 0;
}

.contact-button img {
  filter: brightness(0) invert(1);
  width: 24px;
  height: 24px;
  object-fit: contain;
}

/* ==================================================
   ページトップ
================================================== */
.page-top {
  text-align: center;
  padding: 36px;
  color: #007a35;
  font-size: 11px;
  font-weight: 700;
}

/* ==================================================
   フッター
================================================== */
.site-footer {
  background: #006d35;
  color: #fff;
  padding: 60px 24px;
}

.footer-inner {
  max-width: 1120px;
  margin: auto;
  display: grid;
  grid-template-columns: 1.5fr 1.5fr;
  gap: 40px;
}

.footer-logo {
  width: 125px;
  filter: brightness(0) invert(1);
}

.footer-clinic > p {
  font-size: 16px;
  line-height: 1.8;
}

.footer-hours h2 {
  font-size: 14px;
  display: flex;
  gap: 8px;
  align-items: center;
}

.footer-hours .hours-icon {
  border-color: #fff;
  width: 26px;
  height: 26px;
}

.footer-hours .hours-icon:before, .footer-hours .hours-icon:after {
  background: #fff;
}

.footer-hours table {
  border-collapse: collapse;
  font-size: 14px;
  text-align: center;
  margin-bottom: 15px;
}

.footer-hours th, .footer-hours td {
  border: 1px solid #fff;
  padding: 10px 12px;
}

.footer-hours td {
  color: #ea6051;
}

.footer-hours small {
  font-size: 14px;
  line-height: 1.6;
}

.footer-nav {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 20px;
  font-size: 14px;
  line-height: 1.8;
}

.footer-nav .child {
  padding-left: 10px;
}

.footer-nav .child-continuation {
  display: inline-block;
  padding-left: .65em;
}

.footer-banners {
  grid-column: 2;
  justify-content: flex-end;
  align-self: flex-start;
  display: flex;
  align-items: flex-start;
  gap: 20px;
  margin-top: 18px;
}

/* ==================================================
   ハンバーガーメニュー・ドロワー
================================================== */
.drawer-backdrop {
  position: fixed;
  inset: 0;
  background: rgba(0, 0, 0, .12);
  z-index: 49;
  opacity: 0;
  visibility: hidden;
  transition: .25s;
}

.drawer {
  position: fixed;
  right: 0;
  top: 0;
  width: 400px;
  max-width: 100%;
  height: 100dvh;
  background: #ea6051;
  color: #fff;
  z-index: 50;
  padding: 80px 50px 40px;
  transform: translateX(100%);
  transition: .3s;
  overflow: auto;
}

.drawer.is-open {
  transform: none;
}

.drawer-backdrop.is-open {
  opacity: 1;
  visibility: visible;
}

.drawer-close {
  position: absolute;
  right: 42px;
  top: 42px;
  width: 36px;
  height: 36px;
  border: 0;
  background: none;
}

.drawer-close:before, .drawer-close:after {
  content: "";
  position: absolute;
  left: 17px;
  top: 0;
  width: 2px;
  height: 36px;
  background: #fff;
}

.drawer-close:before {
  transform: rotate(45deg);
}

.drawer-close:after {
  transform: rotate(-45deg);
}

.drawer nav a, .drawer-heading {
  display: block;
  width: max-content;
  max-width: 100%;
  font-size: 16px;
  font-weight: 700;
  line-height: 1.8;
  margin: 0;
  border-bottom: 1px dotted #fff;
}

.drawer .child {
  border: 0;
  padding-left: 18px;
}

.drawer .ext:after {
  opacity: .7;
  content: none;
}

.drawer .ext {
  display: flex;
  align-items: center;
  gap: 8px;
}

.drawer .ext img {
  flex: none;
  width: 18px;
  height: auto;
  filter: none;
}

.hours-icon-img {
  width: 32px;
  height: 32px;
  object-fit: contain;
  flex: none;
}

.footer-hours .hours-icon-img {
  width: 26px;
  height: 26px;
  filter: brightness(0) invert(1);
}




.footer-banners img {
  max-width: none;
  transform-origin: left top;
  display: block;
  transform: none;
  margin: 0;
  width: auto;
  height: auto;
}

.button-icon {
  width: 24px;
  height: 24px;
  object-fit: contain;
  flex: 0 0 24px;
  margin-left: 12px;
}

.button-icon-external {
  width: 18px;
  height: auto;
  flex: 0 0 18px;
}


.footer-clinic {
  align-items: flex-start;
  gap: 18px;
  display: block;
}

.footer-clinic > img {
  height: 72px;
  width: auto;
  object-fit: contain;
}

.site-footer .footer-inner {
  align-items: flex-start;
}

.news-more::after, .more-button::after {
  width: 24px;
  height: 24px;
  content: none;
  display: none;
  background: none;
}

.button-icon-arrow {
  width: 20px;
  height: 20px;
  flex: 0 0 20px;
  object-fit: contain;
}

.contact-button .button-icon, .contact-card .button-icon, .info-card .button-icon {
  width: 24px;
  height: 24px;
  flex: 0 0 24px;
}

.footer-clinic-head .footer-logo {
  flex: none;
  height: 81.6px;
  width: auto;
  object-fit: contain;
  filter: none;
  opacity: 1;
}

.footer-clinic-copy {
  display: flex;
  flex-direction: column;
  justify-content: center;
  min-height: 0;
  height: auto;
}

.footer-hours {
  margin-top: 42px;
}

.news-list-button::before, .news-list-button::after, .news-list-button span::before, .news-list-button span::after {
  content: none;
  display: none;
}

.googlemap-button {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 12px;
  flex-direction: row;
  white-space: nowrap;
}

.googlemap-button::before, .googlemap-button::after {
  content: none;
  display: none;
}

.footer-clinic-head {
  display: flex;
  align-items: center;
  gap: 28px;
}

.footer-clinic-copy p {
  margin: 0;
  font-size: 16px;
  font-weight: 500;
  line-height: 1.7;
  white-space: nowrap;
}

.news-list-button {
  display: flex;
  align-items: center;
  justify-content: center;
  position: relative;
  overflow: hidden;
}


.news-list-button .icon-arrow-circle {
  display: block;
  position: absolute;
  right: 24px;
  top: 50%;
  transform: translateY(-50%);
  width: 20px;
  height: 20px;
  max-width: 20px;
  object-fit: contain;
  margin: 0;
}

.googlemap-button .icon-external {
  display: block;
  width: 18px;
  height: 18px;
  max-width: 18px;
  object-fit: contain;
  filter: none;
  margin: 0;
  flex: 0 0 18px;
}

.footer-nav a {
  display: table;
  line-height: 2;
  text-decoration: none;
  border-bottom: 1px dotted transparent;
  padding-bottom: 1px;
  margin-bottom: 1px;
  white-space: nowrap;
}

.footer-nav a:hover {
  border-bottom-color: currentColor;
}

.footer-banners a {
  display: block;
  flex: none;
}

.footer-banners a:first-child img {
  width: 238px;
}

.footer-banners a:nth-child(2) img {
  width: 520px;
}


/* ==================================================
   下層ページ 共通
================================================== */
.subpage-main {
  min-height: 50vh;
  padding: 180px 25px 80px;
}

.anchor-point {
  scroll-margin-top: 180px;
}


/* ==================================================
   お知らせ一覧・ページネーション
================================================== */
.news-page {
  padding: 0;
}

.news-hero > img {
  object-position: center center;
}

.news-page .section {
  padding-top: 60px;
  padding-bottom: 100px;
}

.pagination {
  display:flex;
  flex-wrap:wrap;
  justify-content:center;
  align-items:center;
  gap:8px;
  margin-top:40px;
}

.pagination a,
.pagination .current {
  min-width:40px;
  height:40px;
  padding:0 10px;
  display:grid;
  place-items:center;
  border:1px solid #007a35;
  text-decoration:none;
  transition: background-color .25s ease, border-color .25s ease, color .25s ease;
}

.pagination a {
  color:#007a35;
  background:#fff;
}

.pagination a:hover,
.pagination a:focus-visible,
.pagination .current {
  color:#fff;
  background:#ea6051;
  border-color:#ea6051;
}


/* ==================================================
   404ページ
================================================== */
.error-page {
  display:grid;
  place-items:center;
  text-align:center;
}

.error-page-inner {
  width:min(100%, 720px);
  margin:0 auto;
}

.error-page .error-code {
  margin:0 0 10px;
  color:#007a35;
  font-size:64px;
  font-weight:700;
  line-height:1;
}

.error-page h1 {
  margin:0 0 24px;
  font-size:28px;
}

.error-page p {
  margin:0 0 20px;
  line-height:1.8;
}

.error-page a {
  color:#007a35;
  font-weight:700;
}

/* ==================================================
   病院あんない
================================================== */
.clinic-page {
  background: #fff;
}

.clinic-hero {
  position: relative;
  margin: 25px;
  height: 470px;
  overflow: hidden;
}

.clinic-hero > img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center 48%;
}

.clinic-hero h1 {
  position: absolute;
  left: 50%;
  bottom: 42px;
  transform: translateX(-50%);
  margin: 0;
  color: #007a35;
  font-size: 32px;
  line-height: 1.2;
  font-weight: 700;
  white-space: nowrap;
  -webkit-text-stroke: 5px #fff;
  paint-order: stroke fill;
}

.clinic-section {
  padding: 76px 25px 0;
  scroll-margin-top: 30px;
}

.clinic-inner {
  width: min(1120px, 100%);
  margin: 0 auto;
}

.clinic-inner-wide {
  width: min(1380px, 100%);
}

.clinic-section-title {
  display: flex;
  align-items: center;
  gap: 12px;
  margin: 0 0 32px;
  color: #007a35;
  font-size: 24px;
  line-height: 1.3;
  font-weight: 700;
}

.clinic-facility .clinic-section-title {
  width: min(1120px, 100%);
  margin-left: auto;
  margin-right: auto;
}

.clinic-section-title img {
  width: 34px;
  height: 34px;
  object-fit: contain;
}

.clinic-two-column {
  display: grid;
  grid-template-columns: minmax(0, 1.08fr) minmax(0, .92fr);
  gap: 64px;
  align-items: start;
}

.clinic-photo img {
  width: 100%;
  height: auto;
}

.clinic-copy {
  font-size: var(--body-copy-size);
  line-height: 2;
}

.clinic-copy p {
  margin: 0 0 1em;
}

.clinic-facility {
  padding-top: 92px;
}

.facility-slider {
  overflow: hidden;
}

.facility-track {
  display: flex;
  gap: 28px;
  overflow-x: auto;
  scroll-snap-type: x mandatory;
  scrollbar-width: none;
  padding-bottom: 4px;
}

.facility-track::-webkit-scrollbar {
  display: none;
}

.facility-slide {
  flex: 0 0 calc((100% - 56px) / 3);
  margin: 0;
  scroll-snap-align: start;
}

.facility-slide img {
  width: 100%;
  aspect-ratio: 1.42 / 1;
  object-fit: cover;
}

.facility-slide figcaption {
  margin-top: 10px;
  text-align: center;
  font-size: 14px;
  color: #555;
}

.facility-pagination {
  width: fit-content;
  margin: 30px auto 0;
  padding: 10px 22px;
  display: flex;
  align-items: center;
  gap: 8px;
  background: #ea6051;
  border-radius: 30px;
}

.facility-pagination button {
  width: 24px;
  height: 24px;
  padding: 0;
  border: 0;
  border-radius: 50%;
  background: transparent;
  color: #fff;
  font: inherit;
  font-size: 12px;
  cursor: pointer;
}

.facility-pagination button.is-active {
  border: 1px solid #fff;
}

.clinic-staff {
  padding-top: 96px;
  padding-bottom: 100px;
}

.clinic-staff-layout {
  align-items: stretch;
}

.clinic-staff-copy {
  display: flex;
  flex-direction: column;
}

.clinic-staff-copy h3 {
  margin: 0 0 18px;
  font-size: 20px;
  color: #333;
}

.clinic-staff-link {
  width: 100%;
  min-height: 54px;
  margin-top: auto;
  padding: 12px 54px 12px 20px;
  display: flex;
  align-items: center;
  justify-content: center;
  position: relative;
  background: #ea6051;
  color: #fff;
  font-weight: 700;
  text-align: center;
  border-radius: 0;
}

.clinic-staff-link img {
  position: absolute;
  right: 18px;
  width: 22px;
  height: 22px;
  filter: brightness(0) invert(1);
}

/* ==================================================
   PC表示（768px以上）
================================================== */
@media (min-width: 768px) {
  .clinic-greeting .clinic-photo img,
  .clinic-staff .clinic-photo img {
    aspect-ratio: 1 / 1;
    object-fit: cover;
  }

  .clinic-greeting .clinic-photo img {
    object-position: center center;
  }

  .clinic-staff .clinic-photo img {
    object-position: center center;
  }

  .site-header {
    position: absolute;
    top: 25px;
    left: 25px;
    right: 25px;
    height: 150px;
    background: transparent;
    z-index: 30;
    align-items: stretch;
    pointer-events: none;
    --nav-size: 92px;
    --nav-gap: 6px;
    --nav-small: calc((var(--nav-size) - var(--nav-gap)) / 2);
  }

  .site-header a, .site-header button, .site-header .header-utility, .site-header .header-staff {
    pointer-events: auto;
  }

  .site-logo {
    width: var(--header-logo);
    height: var(--header-logo);
    padding: 18px;
    background: #fff;
    align-self: flex-start;
    flex: 0 0 var(--header-logo);
  }

  .site-logo img {
    width: 114px;
    height: 114px;
    object-fit: contain;
  }

  .header-nav {
    margin-left: auto;
    height: var(--header-large);
    gap: var(--header-gap);
    align-items: stretch;
  }

  .header-utility {
    width: var(--header-large);
    background: transparent;
    border: 0;
    gap: var(--header-gap);
    height: var(--header-large);
    display: grid;
    grid-template-columns: repeat(2, var(--header-small));
    grid-template-rows: repeat(2, var(--header-small));
  }

  .header-utility a {
    background: #fff;
    border: 0;
    width: var(--header-small);
    height: var(--header-small);
  }

  .header-main-link {
    width: 92px;
    background: #fff;
    border: 0;
    font-size: 14px;
  }

  .header-main-link.header-reservation {
    background: #ffeb73;
  }

  .header-main-link img {
    width: 31px;
    height: 31px;
  }

  .header-staff {
    width: var(--header-large);
    background: transparent;
    border: 0;
    height: var(--header-large);
    display: grid;
    grid-template-rows: var(--nav-small) var(--nav-small);
    gap: var(--header-gap);
  }

  .header-social {
    gap: var(--header-gap);
    background: transparent;
    height: var(--header-small);
    display: grid;
    grid-template-columns: repeat(2, var(--header-small));
  }

  .header-social a {
    background: #fff;
    border: 0;
    width: var(--header-small);
    height: var(--header-small);
  }

  .staff-label {
    font-size: 14px;
    background: #fff;
    margin-top: 0;
    width: var(--header-large);
    height: var(--header-small);
    margin: 0;
    min-height: var(--header-small);
    padding: 0 4px;
    white-space: nowrap;
  }

  .header-reservation {
    width: 96px;
  }

  .menu-button {
    width: 72px;
    height: 72px;
    margin-left: 10px;
    border: 0;
    background: #fff;
  }

  .hero {
    margin: 25px;
    height: min(760px, calc(100dvh - 48px));
  }

  .header-main-link, .header-reservation, .menu-button {
    width: var(--header-large);
    height: var(--header-large);
    flex: 0 0 var(--header-large);
  }

  :root {
    --header-unit: 72px;
    --header-gap: 10px;
    --header-small: 45px;
    --header-logo: 150px;
    --header-large: 100px;
  }

  .header-main-link img, .header-reservation img {
    width: 40px;
    height: 40px;
    object-fit: contain;
  }

  .menu-button span {
    width: 28px;
  }

  .header-utility img {
    width: 22px;
    height: 22px;
    object-fit: contain;
  }

  .header-social img {
    width: 22px;
    height: 22px;
    object-fit: contain;
  }

  .footer-inner {
    display: grid;
    grid-template-columns: minmax(440px, 1.15fr) minmax(420px, .85fr);
    column-gap: 70px;
    align-items: start;
  }

  .footer-clinic {
    grid-column: 1;
    grid-row: 1 / span 3;
  }

  .footer-nav {
    grid-column: 2;
    grid-row: 1;
  }

  .footer-banners {
    grid-column: 2;
    grid-row: 2;
  }

  .copyright {
    grid-column: 1;
  }
}

/* ==================== SP ==================== */
/* ==================================================
   スマートフォン表示（767px以下）
================================================== */
@media (max-width: 767px) {
  .site-header {
    position: absolute;
    top: 20px;
    left: 20px;
    right: 20px;
    height: 120px;
    background: transparent;
    z-index: 30;
    align-items: flex-start;
    pointer-events: none;
  }

  .site-logo {
    width: 120px;
    height: 120px;
    padding: 12px;
    background: #fff;
    flex: 0 0 120px;
    pointer-events: auto;
  }

  .site-logo img {
    width: 96px;
    height: 96px;
    object-fit: contain;
  }

  .header-nav {
    display: none;
  }

  .menu-button {
    margin-left: auto;
    width: 50px;
    height: 50px;
    border: 0;
    background: #fff;
    pointer-events: auto;
  }

  .menu-button span {
    width: 23px;
  }

  .hero {
    margin: 20px;
    height: calc(100dvh - 40px);
    min-height: 470px;
    max-height: 680px;
  }

  .hero h1 span {
    font-size: 26px;
  }

  .slide-dots {
    bottom: 24px;
    gap: 18px;
  }

  .slide-dots button {
    width: 5px;
    height: 5px;
  }

  .hero-pet-banner {
    display: none;
  }

  .pet-link-mobile {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 22px;
    margin: 16px 20px 0;
    padding: 34px 22px 22px;
    background: #00883d;
    background-image: repeating-linear-gradient(135deg, rgba(255, 255, 255, .035) 0 12px, transparent 12px 30px);
  }

  .pet-link-mobile > img {
    width: min(78%, 290px);
    height: auto;
  }

  .pet-link-mobile > span {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 100%;
    min-height: 58px;
    padding: 8px 14px;
    background: #ea6051;
    color: #fff;
    font-size: 18px;
    font-weight: 700;
    text-align: center;
  }

  .section {
    padding: 42px 18px;
  }

  .section-title {
    font-size: 17px;
    margin-bottom: 18px;
    gap: 8px;
  }

  .section-title img, .hours-icon {
    width: 24px;
    height: 24px;
  }

  .news-grid {
    display: block;
  }

  .news-card a {
    display: grid;
    grid-template-columns: 100px 1fr;
    column-gap: 12px;
    margin-bottom: 8px;
  }

  .news-card .news-thumb {
    grid-row: 1/5;
    aspect-ratio: 1;
  }

  .news-card h3,
  .news-card h2 {
    font-size: 16px;
    margin: 2px 0;
  }

  .news-card time {
    font-size: 14px;
  }

  .news-card p {
    font-size: 14px;
    margin: 2px 0;
  }

  .news-excerpt-pc {
    display: none;
  }

  .news-excerpt-sp {
    display: block;
  }

  .coral-button {
    width: 100%;
    margin-top: 14px;
  }

  .two-col {
    display: block;
  }

  .two-col > div + div {
    margin-top: 38px;
  }

  .hours-table th, .hours-table td {
    font-size: 12px;
    padding: 9px 4px;
  }

  .note {
    font-size: 14px;
  }

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

  .medical-grid span {
    font-size: 14px;
    padding: 8px 3px;
  }

  .feature-grid {
    display: block;
    margin-top: 35px;
  }

  .feature-card {
    display: block;
    margin-bottom: 10px;
  }

  .feature-card img {
    height: auto;
  }

  .pet-banner {
    display: none;
  }

  .contact-area {
    padding: 24px 18px;
  }

  .contact-grid {
    display: flex;
    flex-direction: column;
    gap: 20px;
  }

  .info-card {
    padding: 26px;
  }

  .map-card {
    order: 2;
  }

  .contact-grid .info-card:first-of-type {
    order: 1;
  }

  .contact-grid .info-card:last-child {
    order: 3;
  }

  .map-card iframe {
    height: 300px;
    margin-bottom: 14px;
  }

  .hours-text {
    margin-top: 45px;
  }

  .page-top {
    padding: 26px;
  }

  .site-footer {
    padding: 42px 22px;
  }

  .footer-inner {
    display: block;
  }

  .footer-logo {
    width: 90px;
    margin: auto;
  }

  .footer-clinic > p {
    text-align: center;
    font-size: 10px;
  }

  .footer-hours {
    margin-top: 28px;
  }

  .footer-hours table {
    width: 100%;
  }

  .footer-nav {
    grid-template-columns: 1fr 1fr;
    margin-top: 28px;
    font-size: 10px;
  }

  .footer-banners {
    margin-top: 25px;
    display: flex;
    justify-content: center;
    gap: 8px;
  }

  .footer-banners img {
    height: auto;
    max-width: 48%;
  }

  .copyright {
    margin-top: 25px;
  }

  .drawer {
    width: calc(100% - 39px);
    padding: 75px 50px 35px;
  }

  .drawer-close {
    right: 30px;
    top: 28px;
  }

  .drawer nav a, .drawer-heading {
    font-size: 17px;
  }

  .drawer .child {
    padding-left: 15px;
  }

  .hours-icon-img {
    width: 24px;
    height: 24px;
  }

  .site-footer, .footer-nav, .footer-hours, .footer-hours table, .footer-hours small, .copyright {
    font-size: 14px;
  }

  .footer-clinic-head {
    display: block;
  }

  .footer-clinic-head .footer-logo {
    display: block;
    width: 150px;
    height: auto;
    margin: 0 auto 28px;
  }

  .footer-clinic-copy {
    display: block;
    width: 100%;
    min-height: 0;
    text-align: left;
  }

  .footer-clinic-copy p {
    margin: 0;
    font-size: 16px;
    font-weight: 400;
    line-height: 1.8;
    white-space: normal;
  }


  /* 病院あんない */
  .clinic-hero {
    margin: 20px;
    height: 360px;
  }

  .clinic-hero > img {
    object-position: 58% center;
  }

  .clinic-hero h1 {
    bottom: 28px;
    font-size: 32px;
  }

  .clinic-section {
    padding: 58px 20px 0;
    scroll-margin-top: 90px;
  }

  .clinic-section-title {
    margin-bottom: 24px;
    font-size: 21px;
  }

  .clinic-section-title img {
    width: 30px;
    height: 30px;
  }

  .clinic-two-column {
    display: flex;
    flex-direction: column;
    gap: 28px;
  }

  .clinic-copy {
    font-size: 15px;
    line-height: 1.9;
  }

  .clinic-facility {
    padding-top: 66px;
  }

  .facility-track {
    gap: 14px;
    margin-right: -20px;
  }

  .facility-slide {
    flex-basis: 82%;
  }

  .facility-slide figcaption {
    text-align: left;
  }

  .facility-pagination {
    max-width: 100%;
    gap: 2px;
    padding: 8px 10px;
  }

  .facility-pagination button {
    width: 22px;
    height: 22px;
    font-size: 11px;
  }

  .clinic-staff {
    padding-top: 70px;
    padding-bottom: 70px;
  }

  .clinic-staff-copy h3 {
    font-size: 18px;
  }

  .clinic-staff-link {
    margin-top: 18px;
    font-size: 14px;
  }
}

/* ==================================================
   診療あんない
================================================== */
.medical-hero > img { object-position: center 48%; }
.medical-page .clinic-section { scroll-margin-top: 40px; }
.medical-page .clinic-section-title { margin-bottom: 24px; }
.medical-intro { padding-top: 86px; }
.medical-top-grid { display:grid; grid-template-columns: 1fr 1fr; gap: 52px; }
.medical-block { min-width:0; scroll-margin-top: 100px; }
.medical-price-table,.medical-detail-table { width:100%; border-collapse:collapse; font-size:var(--body-copy-size); }
.medical-price-table th,.medical-price-table td,.medical-detail-table th,.medical-detail-table td { border:1px solid #888; padding:12px 7px; }
.medical-hours-table td { color:#ea6051; font-weight:700; }
.medical-hours-table td:first-of-type { color:#666; }
.medical-small-note { margin:8px 0 0; font-size:12px; line-height:1.7; }
/* 診療科目：トップページと同じ .medical-grid を使用 */
/* ペットホテル */
.medical-hotel { padding-top:95px; }
.medical-hotel-grid { display:grid; grid-template-columns:1fr 1fr; gap:52px; }
.medical-price-table { text-align:center; table-layout:fixed; }
.medical-price-table th,.medical-price-table td { width:33.333%; }
.medical-price-table thead th { font-weight:500; }
.medical-paragraphs { font-size:var(--body-copy-size); line-height:2; }
.medical-wavy-warning { text-decoration-line:underline; text-decoration-style:wavy; text-decoration-color:#e34b4b; text-decoration-thickness:1.5px; text-underline-offset:4px; }
.medical-paragraphs p { margin:0 0 9px; }
.medical-hotel-notes { margin:0; padding-left:1.5em; }
.medical-hotel-notes li { margin-bottom:9px; }
/* 猫ふれあいルーム「ちこまる」 */
.medical-chikomaru { padding-top:105px; }
.medical-split { display:grid; grid-template-columns:1fr 1fr; gap:45px; align-items:start; }
.medical-highlight { margin:0 0 12px; padding:13px 17px; background:#eee; font-size:var(--body-copy-size); font-weight:700; line-height:1.8; }
.medical-image { margin:0; }
.medical-image img,.medical-image-stack img { display:block; width:100%; height:auto; }
/* 猫の保護 */
.medical-protection { padding-top:100px; padding-bottom:100px; }
.medical-protection-layout { margin-top:28px; }
.medical-detail-table { text-align:left; }
.medical-detail-table th { width:24%; font-weight:500; }
.medical-detail-table td { line-height:1.8; }
.medical-protection .medical-detail-table th,
.medical-protection .medical-detail-table td { padding-left:20px; padding-right:20px; }
.medical-subtitle { margin:46px 0 16px; color:#007a35; font-size:19px; }
.medical-condition { padding:24px 26px; background:#eee; font-size:var(--body-copy-size); line-height:2; }
/* ちこまるの条件：指定項目のマークと強調表示 */
.medical-condition .medical-star-item,
.medical-condition .medical-caution-item { list-style:none; position:relative; }
.medical-condition .medical-star-item::before,
.medical-condition .medical-caution-item::before { position:absolute; right:100%; margin-right:6px; }
.medical-condition .medical-star-item::before { content:"★"; color:#e34b4b; }
.medical-condition .medical-caution-item::before { content:"⚠️"; }
.medical-condition .medical-emphasis-red { color:#e34b4b; }
.medical-condition ul,.medical-condition ol { margin:0; padding-left:20px; }
.medical-image-stack { display:grid; gap:32px; }
@media (max-width: 767px) {
 .medical-hero > img { object-position: 55% center; }
 .medical-intro { padding-top:58px; }
 .medical-top-grid,.medical-hotel-grid,.medical-split { grid-template-columns:1fr; gap:38px; }
 .medical-block { scroll-margin-top:95px; }
 .medical-hours-table { font-size:11px; }
 .medical-hours-table th,.medical-hours-table td { padding:11px 3px; }
 .medical-hotel,.medical-chikomaru,.medical-protection { padding-top:68px; }
 .medical-protection { padding-bottom:75px; }
 .medical-detail-table th,.medical-detail-table td { padding-top:10px; padding-bottom:10px; }
 .medical-condition { padding:20px; }
 .medical-subtitle { margin-top:34px; }
}

/* ==================================================
   お問い合わせページ
================================================== */
.contact-page-hero { position:relative; margin:25px; height:470px; overflow:hidden; background:#f5f8f4; }
.contact-page-hero > img { display:block; width:100%; height:100%; object-fit:cover; object-position:center 54%; }
.contact-page-hero h1 { position:absolute; left:0; right:0; bottom:42px; margin:0; color:#007a35; font-size:32px; font-weight:700; text-align:center; -webkit-text-stroke:5px #fff; paint-order:stroke fill; }
.contact-page-section { padding:75px 25px 0; }
.contact-page-heading { width:min(900px,100%); margin:0 auto 32px; color:#007a35; font-size:22px; line-height:1.3; text-align:left; }
.contact-page-intro { margin:0 auto 40px; max-width:900px; text-align:left; line-height:2; font-size:var(--body-copy-size); }
.contact-page-intro p { margin:0 0 12px; }
.contact-methods { display:grid; width:min(900px,100%); margin:0 auto; grid-template-columns:repeat(4,minmax(0,1fr)); gap:18px; }
.contact-method { display:flex; flex-direction:column; align-items:center; min-height:210px; padding:26px 12px 20px; border:1px solid #df7c70; background:#df7c70; color:#fff; text-align:center; transition:background .25s,border-color .25s,transform .25s,border-radius .75s cubic-bezier(.16,1,.3,1); }
.contact-method:hover { background:#cb665c; border-color:#cb665c; border-radius:30px; transform:translateY(-3px); }
.contact-method img { width:auto; height:32px; max-width:100%; object-fit:contain; margin-bottom:15px; filter:brightness(0) invert(1); }
.contact-method strong { color:#fff; font-size:18px; margin-bottom:10px; }
.contact-method > span { font-size:14px; line-height:1.6; }
.contact-method .contact-method-detail { margin-top:auto; padding-top:14px; font-size:18px; font-weight:700; color:#fff; }
.contact-method img.contact-method-link-icon { width:20px; height:20px; margin: auto 0 0; padding-top:12px; box-sizing:content-box; }
.contact-method-reservation { border-color:#df7c70; background:#df7c70; }
.contact-method-reservation:hover { border-color:#cb665c; background:#cb665c; }
.contact-method-reservation strong { color:#fff; }
.contact-form-section { padding-bottom:115px; scroll-margin-top:30px; }
.contact-form-lead { width:min(900px,100%); margin:0 auto 28px; text-align:left; line-height:1.9; }
.contact-form { width:min(900px,100%); margin:0 auto; }
.contact-form-row { display:grid; grid-template-columns:260px minmax(0,1fr); border-bottom:1px solid #e2e2e2; }
.contact-form-row:first-child { border-top:1px solid #e2e2e2; }
.contact-form-row > label { padding:25px 18px; background:#efefef; font-weight:700; }
.contact-form-row > div { padding:18px 20px; }
.contact-form input:not([type=checkbox]),.contact-form textarea { display:block; width:100%; padding:14px 16px; border:1px solid #cbd5cd; border-radius:3px; background:#fff; color:#333; font:inherit; font-size:var(--body-copy-size); }
.contact-form textarea { resize:vertical; min-height:190px; }
.contact-form input:focus-visible,.contact-form textarea:focus-visible,.contact-form button:focus-visible,.contact-method:focus-visible { outline:3px solid #e99c92; outline-offset:2px; }
.contact-required,.contact-optional { display:inline-block; margin-left:10px; font-size:12px; font-weight:700; vertical-align:middle; }
.contact-required { color:#df7c70; }
.contact-optional { color:#5e7164; background:#e5eae5; }
.contact-form-privacy { margin:35px auto 0; text-align:center; }
.contact-form-privacy label { display:inline-flex; align-items:center; gap:10px; line-height:1.7; cursor:pointer; }
.contact-form-privacy input { width:20px; height:20px; accent-color:#007a35; flex:none; }
.contact-form-privacy a { color:#007a35; text-decoration:underline; text-underline-offset:3px; }
.contact-form-note { margin:25px auto 0; max-width:900px; color:#666; font-size:14px; line-height:1.9; }
.contact-form-actions { margin-top:35px; text-align:center; }
.contact-form-actions button { min-width:310px; padding:18px 28px; border:0; border-radius:3px; background:#df7c70; color:#fff; font:inherit; font-weight:700; cursor:pointer; transition:background .25s,border-radius .75s cubic-bezier(.16,1,.3,1); }
.contact-form-actions button:hover { background:#cb665c; border-radius:30px; }
.contact-form-actions button span { margin-left:15px; }
@media (max-width:767px) {
  .contact-page-hero { margin:20px; height:360px; }
  .contact-page-hero > img { object-position:center center; }
  .contact-page-hero h1 { bottom:28px; font-size:32px; }
  .contact-page-section { padding:55px 20px 0; }
  .contact-page-heading { margin-bottom:24px; }
  .contact-page-intro { text-align:left; margin-bottom:28px; }
  .contact-methods { grid-template-columns:repeat(2,minmax(0,1fr)); gap:10px; }
  .contact-method { min-height:190px; padding:18px 9px; }
  .contact-method img { height:32px; }
  .contact-method strong { font-size:15px; }
  .contact-method > span { font-size:12px; }
  .contact-form-section { padding-bottom:75px; }
  .contact-form-lead { text-align:left; }
  .contact-form-row { display:block; }
  .contact-form-row > label { display:block; padding:13px 15px; }
  .contact-form-row > div { padding:14px 0 18px; }
  .contact-form-actions button { width:100%; min-width:0; }
}

/* 個人情報の保護・サイト利用規約 */
/* ==================== 個人情報保護・サイト利用規約 ==================== */
.policy-hero { position:relative; margin:25px; height:470px; background:#f0f0f0; }
.policy-hero h1 { position:absolute; left:0; right:0; bottom:42px; margin:0; color:#007a35; font-size:32px; line-height:1.2; font-weight:700; text-align:center; -webkit-text-stroke:5px #fff; paint-order:stroke fill; }
.policy-page { padding:76px 25px 110px; }
.policy-container { width:min(100%,960px); margin:0 auto; }
.policy-intro { margin:0 auto 45px; font-size:var(--body-copy-size); line-height:2; }
.policy-jump { display:grid; grid-template-columns:repeat(2,minmax(0,1fr)); gap:18px; margin-bottom:75px; }
.policy-jump a { border:1px solid #df7c70; background:#df7c70; color:#fff; padding:22px 18px; text-decoration:none; text-align:center; font-weight:700; transition:background-color .25s,border-radius .75s cubic-bezier(.16,1,.3,1); }
.policy-jump a:hover { background:#cb665c; border-radius:30px; }
.policy-jump span { margin-left:8px; }
.policy-section { scroll-margin-top:30px; margin-bottom:80px; }
.policy-section > h2 { font-size:22px; color:#007a35; margin:0 0 32px; }
.policy-item { margin-bottom:31px; }
.policy-item h3 { font-size:16px; font-weight:700; line-height:1.6; color:#333; margin:0 0 10px; }
.policy-item p { font-size:var(--body-copy-size); line-height:2; margin:0; color:#444; }
@media screen and (max-width:767px) {
  .policy-hero { margin:20px; height:360px; }
  .policy-hero h1 { bottom:28px; font-size:32px; }
  .policy-page { padding:55px 20px 65px; }
  .policy-intro { margin-bottom:35px; }
  .policy-jump { grid-template-columns:1fr; gap:12px; margin-bottom:55px; }
  .policy-jump a { padding:17px 12px; }
  .policy-section { margin-bottom:60px; }
}
