@charset "UTF-8";

/*
Theme Name: Bell-amc
Author: 株式会社NAVY
Version: 1.0
Description: ベル動物病院のオリジナルテーマです。
*/

/* ==========================================================================
   1. リセット & サイト全体・基本テキストの共通設定
   ========================================================================== */
   * {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
  list-style: none;
}

body {
  font-family: "Helvetica Neue", Arial, "Hiragino Kaku Gothic ProN", "Hiragino Sans", Meiryo, sans-serif;
  font-display: swap;
  background: url(image/body_bg.jpg);
  background-size: 100px 100px; /* タイル状に繰り返す */
  color: #604337; /* テキストのブラウン */
}

/* 本文テキストのベース */
.base-text {
  font-size: 1.2rem;
  line-height: 1.6;
  letter-spacing: 0.02em;
  text-align: justify;
}

.hours.sp{
  display: none;
}

/* PC時はハンバーガーボタンを隠す */
.hamburger-btn {
  display: none;
}

.fix-map-btn.sp{
  display: none;
}

.fix-tel-btn.sp{
  display: none;
}

/* ==========================================================================
   2. 見出し（h2, h3）の共通パーツ設定
   ========================================================================== */

/* セクション共通の大見出し（私たちについて、お知らせ、診察内容、アクセスなど） */
h2 {
  font-size: 1.8rem;
  color: #604337;
  font-weight: bold;
  letter-spacing: 0.1em;
  margin-bottom: 20px;
}

/* 中央寄せにする見出しの個別微調整 */
.news-header,
.top-diagnosis-container h2,
.top-access-container h2 {
  text-align: center;
}

.top-diagnosis-container h2 {
  margin-bottom: 50px;
}

.top-access-container h2 {
  margin-bottom: 30px;
}

/* 見出し内にあるアイコン・イラスト画像の共通設定 */
.top-about-content h2 img,
.top-trimming-content h2 img {
  width: 50px;
  margin-right: 10px;
  margin-bottom: -5px;
}

.top-diagnosis-container h2 img {
  display: block;
  margin: 0 auto 10px;
  width: 80px;
}

.top-access-container h2 img {
  display: block;
  margin: 0 auto 10px;
  width: 50px;
}

h2.center{
  text-align: center;
}

h2.icon img{
  display: block;
  margin: 0 auto 10px;
  width: 80px;
}

/* ==========================================================================
   3. ボタン（.more-btn）の共通スタイリング
   ========================================================================== */
.more-btn {
  width: 100%;
}

.more-btn a {
  display: block;
  width: 60%;
  margin: 30px auto 0;
  background: linear-gradient(to right, #f9cb35 0%, #ffb13b 50%, #f9cb35 100%);
  background-size: 150% auto;
  background-position: left center;
  color: #ffffff;
  text-decoration: none;
  text-align: center;
  font-weight: bold;
  font-size: 1.1rem;
  letter-spacing: 0.05em;
  padding: 14px 35px;
  border-radius: 30px;
  transition: transform 0.3s ease, box-shadow 0.3s ease, background-position 0.4s ease;
}

.more-btn a:hover {
  transform: translateY(-3px);
  box-shadow: 0 4px 20px rgba(0, 0, 0, 0.05);
  background-position: right center;
}

.more-btn a::after {
  content: "\f061";
  font-family: "Font Awesome 7 Pro";
   font-display: swap;
  margin-left: 8px;
  display: inline-block;
  transition: transform 0.3s ease;
}

.more-btn a:hover::after {
  transform: translateX(5px);
}


/* ==========================================================================
   4. 各種レイアウト・コンポーネント（ヘッダー、メインビジュアル等）
   ========================================================================== */
/* ヘッダー */
.site-header {
  width: 100%;
  padding: 20px 40px;
  position: sticky;
  top: 0;
  z-index: 9999;
}

.site-header::before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  z-index: -1;
  background: url(image/body_bg.jpg);
  background-size: 100px 100px;
  opacity: 0.8; 
}

.header-inner {
  max-width: 1200px;
  margin: 0 auto;
  display: flex;
  flex-wrap: nowrap;
  align-items: center;
  flex-wrap: wrap;
  justify-content: space-between;
}

.logo-area {
  display: flex;
  align-items: center;
}

.logo-image {
  display: block;
  height: 70px;
  width: auto;
  margin-bottom: 20px;
}

.nav-area {
  max-width: 1200px;
}

.nav-list {
  display: flex;
  justify-content: space-between;
  gap: 35px;
  align-items: flex-end;
}

.nav-item {
  flex: 1;
  text-align: center;
}

.nav-item.sp{
  display: none;
}

.nav-item a {
  display: flex;
  flex-direction: column;
  align-items: center;     /* これで中身（アイコンと文字）を完全に中央揃えにする */
  justify-content: center;
  width: 100%;             /* 親要素（li）と同じ幅いっぱいに広げる */
  text-decoration: none;
  color: #604337;
  transition: opacity 0.2s ease;
  margin: 0 auto;
}

.nav-item a:hover {
  opacity: 0.6;
  transition: .5s;
}

.nav-icon-wrap {
  width: 100%;
  height: 50px;
  display: flex;
  justify-content: center;
  align-items: flex-end;
  margin-bottom: 8px;
}

.nav-icon {
  max-height: 100%;
  width: auto;
  display: block;
}

.nav-label {
  font-size: 1.1rem;
  font-weight: bold;
  white-space: nowrap;
  letter-spacing: 0.05em;
}

/* ヒーローコンテナ */
.hero-container {
    position: relative;
    width: 100%;
    max-width: 1100px;
    margin: 20px 7% 0 auto;
}

.hero-image {
    width: 90%;
    margin-right: 0;
    margin-left: auto;
    position: relative;
    z-index: -1;
}

.hero-image img{
    width: 100%;
    height: auto;
    display: block; 
    border-radius: 30px;
}

/* 4枚の画像共通：すべて角丸を適応し、同じ場所に絶対配置で重ねる */
.hero-image .slider-img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block; 
    border-radius: 30px;
    position: absolute;
    top: 0;
    left: 0;
    opacity: 0; /* 基本はみんな透明 */
    transition: opacity 1.5s ease-in-out; /* 1.5秒かけてフェード */
    z-index: 1;
}

/* 1枚目、および現在アクティブな画像だけを表に出す */
.hero-image .slider-img.active {
    position: relative; /* 枠としての高さを保つためにこれだけrelativeにする */
    opacity: 1;         /* 不透明にして表示 */
    z-index: 2;         /* 前面にだす */
}

.hero-catch-wrapper {
    position: absolute;
    top: 10%;
    left: 10px;
    display: flex;
    gap: 15px;
    writing-mode: vertical-rl;
    text-orientation: mixed;
    flex-wrap: wrap;
    flex-direction: column;
}

.catch-item {
    color: #604337;
    font-weight: bold;
    font-size: 2.2rem;
    line-height: 1.5;
    letter-spacing: 0.1em;
    white-space: nowrap;
}

.catch-item span{
  background-color: #ffe361;
  padding: 15px 5px;
  border-radius: 10px;
}

/* 診療時間・案内 */
.hours{
  display: flex;
  justify-content: center;
  align-items: center;
  margin-top: -40px;
  position: relative;
  z-index: 1;
}

.phone-logo{
  width: 300px;
  display: block;
  margin: 0 auto 10px;
}

.phone-link {
  font-size: 2.5rem;
  letter-spacing: 0.05em;
  font-weight: bold;
  color: #70acb2;
  text-decoration: none;
  margin-left: 15px;
  white-space: nowrap;
}

.phone-link::before {
  font-family: "Font Awesome 7 Pro";
   font-display: swap;
  font-weight: 400;
  content: "\e11b";
  color: #70acb2;
  font-size: 2.1rem;
  margin-right: 5px;
}

.medical-hours-container {
  width: 750px;
  margin: 0 0 0 40px;
  color: #604337;
}

.medical-hours-table {
  width: 100%;
  border-collapse: separate;
  border-spacing: 0;
  border: 2px solid #c99f7d;
  border-radius: 12px;
  overflow: hidden;
  background-color: #fff;
  text-align: center;
  box-shadow: 5px 5px 10px rgba(96, 67, 55, 0.1);
}

.medical-hours-table thead th {
  background-color: #c99f7d;
  color: #fff;
  padding: 8px 15px;
  font-size: 1.2rem;
  font-weight: bold;
  border-bottom: 2px solid #c99f7d;
  width: 8%;
}

.medical-hours-table thead th:first-child {
  border-right: 1px solid #fff;
}

.medical-hours-table tbody td {
  padding: 20px 10px;
  vertical-align: middle;
}

.medical-hours-table tbody td img {
    width: 30px;
}

.medical-hours-table tbody tr:last-child td {
  border-top: 2px solid #c99f7d;
}

.medical-hours-table .time-cell {
  font-weight: bold;
  font-size: 1.15rem;
  letter-spacing: 0.05em;
  border-right: 2px solid #c99f7d;
  width: 20%;
}

.cross {
  display: inline-block;
  position: relative;
  width: 24px;
  height: 24px;
  vertical-align: middle;
}

.cross::before,
.cross::after {
  content: "";
  position: absolute;
  top: 0;
  left: 10px;
  width: 4px;
  height: 100%;
  background-color: #eda900;
  border-radius: 2px;
}

.cross::before { transform: rotate(45deg); }
.cross::after { transform: rotate(-45deg); }

.medical-hours-notes {
  margin-top: 12px;
  padding-left: 5px;
}

.medical-hours-notes p {
  margin: 4px 0;
  font-size: 0.9rem;
  letter-spacing: 0.03em;
  line-height: 1.5;
}

/* 救急対応 */
.emergency-container {
  width: 70%;
  margin: 30px auto;
  display: flex;
  align-items: center;
  gap: 30px;
  padding: 20px 30px;
  border-radius: 30px;
  box-shadow: 5px 5px 10px rgba(96, 67, 55, 0.1);
  background: #FFF;
}

.emergency-image img {
  width: 120px;
  height: auto;
  display: block;
}

.emergency-content h2 {
  font-size: 1.8rem;
  letter-spacing: 0.05em;
  color: #ff0033;
  margin-bottom: 10px;
}

.emergency-content h2::before {
  font-family: "Font Awesome 7 Pro";
   font-display: swap;
  content: "\f469";
  color: #ff0033;
  font-size: 1.8rem;
  margin-right: 8px;
}

.emergency-content p {
  font-size: 1.1rem;
  letter-spacing: 0.05em;
  color: #604337;
  line-height: 1.5;
}

/* 私たちについて / トリミング（左右対照のコンテンツ） */
.top-about-container,
.top-trimming-container {
  width: 90%;
  margin: 80px auto 140px;
  display: flex;
}

.top-trimming-container {
  flex-direction: row; /* 横並びにする */
}

.top-about-image,
.top-trimming-image {
  flex: 1.2;
  border-radius: 30px;
  overflow: hidden;
}

.top-trimming-image {
  position: relative;
  z-index: -1;
}

.top-about-image img,
.top-trimming-image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}

.top-about-content,
.top-trimming-content {
  flex: 1;
  background-color: #ffffff;
  padding: 50px 40px;
  border-radius: 30px;
  box-shadow: 0 4px 20px rgba(0, 0, 0, 0.05);
}

.top-about-content {
  margin: 80px 0 -50px -50px;
}

.top-trimming-content {
  margin: 80px 0 -50px -50px;
}

/* お知らせ (News) */
.news-section {
  max-width: 900px;
  margin: 80px auto;
  background-color: #ffffff;
  border-radius: 20px;
  padding: 50px 60px 80px;
  box-shadow: 0 4px 20px rgba(0, 0, 0, 0.02);
}

.news-header {
  margin-bottom: 40px;
}

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

.news-item {
  border-bottom: 1px solid #e0e0e0;
}

.news-item a {
  display: flex;
  align-items: center;
  padding: 25px 10px;
  text-decoration: none;
  color: #4a3728;
  transition: background-color 0.3s ease;
}

.news-item a::after {
  content: "\f061";
  font-family: "Font Awesome 7 Pro";
   font-display: swap;
  margin-left: auto;
  color: #604337;
  font-size: 1.2rem;
  transition: transform 0.3s ease;
}

.news-item a:hover {
  background-color: #fdfbf7;
}

.news-date {
  background-color: #ffe06f;
  color: #604337;
  font-weight: bold;
  font-size: 1.1rem;
  padding: 4px 18px;
  border-radius: 20px;
  letter-spacing: 0.05em;
  display: inline-block;
  flex-shrink: 0;
}

.news-title {
  text-align: left;
  font-size: 1.3rem;
  letter-spacing: 0.05em;
  font-weight: bold;
  color: #4a3728555;
  margin-left: 10px;
}

.arrow-icon {
  width: 28px;
  height: auto;
  transition: transform 0.3s ease;
}

.news-item a:hover .arrow-icon {
  transform: translateX(4px);
}

/* 診察内容 (Diagnosis) */
.top-diagnosis-container {
  max-width: 1000px;
  margin: 0 auto;
}

.card-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 20px;
  max-width: 900px;
  margin: 0 auto;
}

.menu-card {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: space-between;
  background: linear-gradient(to bottom, #ffcb2b, #ffa817);
  border-radius: 20px;
  padding: 40px 25px 30px;
  text-decoration: none;
  box-shadow: 0 4px 15px rgba(255, 168, 23, 0.15);
  transition: transform 0.3s ease, box-shadow 0.3s ease;
  aspect-ratio: 1 / 1;
  border: solid 8px #FFF;
  position: relative;
}

.menu-card::after {
  content: "\f0a9";
  font-family: "Font Awesome 7 Pro";
   font-display: swap;
  font-size: 1.4rem;
  display: inline-block;
  position: absolute;
  right: 15px;
  bottom: 35px;
  transform: translateY(-50%);
  color: #FFF;
}

.menu-card h3{
  width: 100%;
  text-align: center;
  font-size: 1.4rem;
  letter-spacing: 0.05em;
  font-weight: bold;
  color: #FFF;
}

.card-icon-wrap {
  flex: 1;
  display: flex;
  align-items: center;
  justify-content: center;
  width: 100%;
}

.card-illustration {
  max-height: 130px;
  width: auto;
  object-fit: contain;
}

.menu-card:hover {
  transform: translateY(-6px);
  box-shadow: 0 12px 25px rgba(255, 168, 23, 0.35);
  transition: .5s;
}

.menu-card:hover::after {
  right: 10px;
  transition: .5s;  
}

.menu-card:hover .card-illustration {
  opacity: 0.6;
  transition: .5s;
}

/* アクセス */
.top-access-container {
  max-width: 900px;
  margin: 80px auto 50px;
}

.google-map {
  width: 100%;
  height: 400px;
  border: solid 10px #FFF;
  border-radius: 20px;
  box-shadow: 0 4px 20px rgba(0, 0, 0, 0.05);
}

.google-map iframe{
  width: 100%;
  height: 100%;
  border: none;
  border-radius: 20px;
}

.address-list {
  margin: 30px auto 0 20%;
  padding: 0;
}

.address-list li {
  display: flex;
  align-items: flex-start;
  font-size: 1.2rem;
  font-weight: bold;
  letter-spacing: 0.05em;
  margin-bottom: 10px;
  line-height: 1.5;
}

.address-list li span {
  color: #604337;
  border: solid 1px #604337;
  padding: 1px 10px;
  font-size: 0.8rem;
  font-weight: normal;
  text-align: center;
  width: 70px;
  display: inline-block;
  flex-shrink: 0;
  margin-right: clamp(10px, 4%, 10px); 
  margin-top: 3px; 
}


/* ==========================================================================
   5. フッターエリア（保険バナー、各種SNS・リンク）
   ========================================================================== */
.footer-hours {
  background: rgba(255, 250, 177, 0.2);
  padding: 50px 0;
  display: flex;
  justify-content: center;
}

.footer-hours .phone-container{
  margin-top: 30px;
}

.footer-hours-address{
  font-size: 1rem;
  letter-spacing: 0.1em;
  line-height: 1.5;
  text-align: center;
  font-weight: bold;
  color: #604337;
  margin-top: 10px;
}

.footer-insurance-container {
  width: 100%;
  margin: 0 auto;
  background-color: rgba(203, 227, 235, 0.7);
  padding: 40px 5% 40px 10%;
  display: flex;
  align-items: center;
  gap: min(4%, 40px);
}

.insurance-banners {
  display: flex;
  gap: 15px;
  flex-shrink: 0;
}

.insurance-img {
  height: 90px;
  object-fit: contain;
  display: block;
}

.insurance-info {
  flex: 1;
}

.insurance-info .base-text {
  color: #6f8c95;
  font-size: 1.3rem;
  font-weight: bold;
  line-height: 1.7;
  letter-spacing: 0.03em;
  margin: 0;
}

.footer-nav-container {
    display: flex;
    justify-content: space-between;
    align-items: start; /* 上揃えにする */
    gap: 30px;          /* メニューとSNSボタンの間の余白 */
    width: 100%;
    padding: 50px;
    background: #775540;
}

/* フッターメニューを3縦×3横のグリッドにする設定 */
.footer-links {
    display: grid;
    grid-template-columns: repeat(5, 1fr);
    grid-template-rows: repeat(5, auto);
    grid-auto-flow: column;
    gap: 20px 100px;
    list-style: none;
    padding: 0;
    margin: 0;
    max-width: 50%;
}

/* 各メニュー項目の調整 */
.footer-links .menu-item {
    margin: 0;
    padding: 0;
}

/* リンク文字の調整（お好みに合わせて変更してください） */
.footer-links .menu-item a {
    display: block;
    text-decoration: none;
    white-space: nowrap;
    color: #fff4ee;
    font-size: 1.2rem;
    font-weight: bold;
    letter-spacing: 0.05em;
}

.footer-links a:hover {
  opacity: 0.7;
}

.footer-links a::after {
  content: "\f0a9";
  font-family: "Font Awesome 7 Pro";
   font-display: swap;
  margin-left: 8px;
  color: #fff4ee;
  font-size: 1rem;
  font-weight: 100;
}

.footer-links a:hover::after {
  padding-left: 3px;
  transition: .5s;
}

.sns-button-container {
    width: 320px; /* 全体の30%の幅に固定 */
    display: flex;
    flex-direction: column;
    gap: 15px;
}

.sns-btn {
  display: flex;
  align-items: center;
  padding: 25px;
  border-radius: 16px;
  text-decoration: none;
  color: #ffffff;
  box-sizing: border-box;
  transition: transform 0.3s ease, opacity 0.2s ease;
}

.sns-btn:hover {
  transform: translateY(-2px);
  opacity: 0.95;
}

.btn-line {
  background-color: #06c755;
}

.btn-instagram {
  background: linear-gradient(135deg, #f752a2 0%, #b865f2 100%);
}

.sns-icon-wrap {
  display: flex;
  align-items: center;
  justify-content: center;
  margin-right: 15px;
  flex-shrink: 0;
}

.sns-text-wrap {
  display: flex;
  flex-direction: column;
  justify-content: center;
  text-align: left;
}

.sns-icon-wrap i {
    font-size: 2.5rem;
}

.sns-sub-text {
  font-size: 1rem;
  font-weight: bold;
  letter-spacing: 0.05em;
  margin-bottom: 2px;
  line-height: 1.2;
}

.sns-main-text {
  font-size: 1.3rem;
  font-weight: bold;
  letter-spacing: 0.02em;
  line-height: 1.2;
  white-space: nowrap;
}

.copyright {
    background-color: #775540;
    text-align: center;
    font-size: 0.8rem;
    color: #fff4ee;
    padding-bottom: 20px;
    letter-spacing: 0.1em;
}


/* ==========================================================================
   6. 固定パーツ & ドロワー（診療時間案内ポップアップ）
   ========================================================================== */
.fix-fours a.js-open-hours{
  display: block;
  position: fixed;
  z-index: 9999;
  top: 220px;
  right: 0;
  width: 70px;
  height: 200px;
  background: linear-gradient(to bottom, #ffcb2b, #ffa817); 
  box-shadow: 0 4px 10px rgba(0, 0, 0, 0.2);
  border-radius: 20px 0 0 20px;
  padding: 10px 15px;
  writing-mode: vertical-rl;
  text-orientation: mixed;
  text-decoration: none;
  color: #fff;
  text-align: center;
  font-size: 1.5rem;
  letter-spacing: 0.05em;
  font-weight: bold; 
}

.fix-fours a.js-open-hours:hover {
  scale: calc(1.1);
  transition: .5s;
}

.fix-fours a.js-open-hours::before {
  content: "\f073";
  font-family: "Font Awesome 7 Pro";
   font-display: swap;
  margin-bottom: 8px;
  color: #fff;
  font-size: 1.5rem;
  font-weight: 300;
}

.fix-fours .medical-hours-container {
  position: fixed;
  top: 220px;
  right: 0;
  width: 60%;
  height: fit-content;
  max-width: 100%;
  background-color: #fffbee;
  z-index: 10000;
  padding: 40px 20px;
  box-sizing: border-box;
  overflow-y: auto;
  transform: translateX(100%);
  transition: transform 0.4s ease;
  border-radius: 30px 0 0 30px;
}

.fix-fours .medical-hours-container.is-active {
  transform: translateX(0);
  box-shadow: -5px 0 25px rgba(0, 0, 0, 0.15);
}

.fix-fours .medical-hours-container.is-active .medical-hours-table {
  box-shadow: none;
}

.fix-fours .close-btn-wrap {
  text-align: right;
  margin-bottom: 20px;
}

.js-close-hours {
  display: inline-block;
  cursor: pointer;
  padding: 5px 15px;
  background-color: #f5f5f5;
  border-radius: 20px;
  font-size: 0.9rem;
  font-weight: bold;
  color: #666666;
  transition: background-color 0.2s;
}

.hours-overlay {
  position: fixed;
  top: 0;
  left: 0;
  width: 100vw;
  height: 100vh;
  z-index: 9999;
  background-color: rgba(255, 255, 255, 0.3);
  backdrop-filter: blur(10px);
  opacity: 0;
  pointer-events: none;
  transition: opacity 0.4s ease;
}

.hours-overlay.is-active {
  opacity: 1;
  pointer-events: auto;
}

.fix-fours-box {
  text-align: center;
  margin-bottom: 30px;
}

.fix-fours-logo img {
  display: block;
  width: 300px;
  height: auto;
  margin: 0 auto 10px;
}

/* ==========================================================================
   ページヘッダー
   =========================================================================*/
.page-header {
  width: 100%;
  padding: 40px 0 40px 10%;
  display: flex;
  align-items: center;
}

.page-title h1{
  font-size: 1.8rem;
  color: #604337;
  font-weight: bold;
  letter-spacing: 0.1em;
  position: relative;
  padding-left: 25px; 
  display: inline-block;
}

.page-title h1::before {
  content: "";
  position: absolute;
  top: 50%;
  left: 0;
  transform: translateY(-50%);
  width: 50px;
  height: 50px;
  background-color: #ffe361;
  border-radius: 50%;
  z-index: -1;
}

.page-header-image {
  width: 100%;
  max-width: 55%;
  height: 180px;
  margin-left: auto;
  margin-right: 0;
  overflow: hidden;
}

.page-header-image img {
  width: 100%;
  height: 180px;
  display: block;
  object-fit: cover;
  border-radius: 90px 0 0 90px; 
}

/* ==========================================================================
   aboutページ
   =========================================================================
   */

.about-container {
  width: 90%;
  margin: 80px auto 80px;
  display: flex;
}

.about-image-container {
  flex: 1.2;
}

.inoue-image-01 {
  width: 100%;
  border-radius: 30px;
  overflow: hidden;
}

.inoue-image-01 img,
.inoue-image-02 img{
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}

.inoue-image-02 {
  width: 60%;
  border-radius: 30px;
  overflow: hidden;
  margin: -50px 0 0 50px;
}

.about-content-container {
  flex: 1;
}

.about-content {
  background-color: #ffffff;
  padding: 50px 40px;
  border-radius: 30px;
  box-shadow: 0 4px 20px rgba(0, 0, 0, 0.05);
}

.about-content {
  margin: 80px 0 50px -50px;
}

.about-content h2 img {
  width: 50px;
  margin-right: 10px;
  margin-bottom: -5px;
}

.about-staff-container img {
    width: 250px;
}

.about-sign{
  margin: 30px 0 0 auto;
  text-align: right;
}

/* 全体のコンテナ（2列を横並びにする） */
.profile-container {
  max-width: 900px;
  margin: 0 auto;
  padding: 40px 20px;
  display: flex;
  justify-content: space-between;
  gap: clamp(20px, 3%, 80px);
}

/* 左右の各カラム */
.profile-column {
  flex: 2;
}

.profile-column.affiliation{
  flex: 1;
}

/* 各タイトルのデザイン（下部の点線を含む） */
.profile-title {
  font-size: 1rem;
  color: #4a3728;
  font-weight: bold;
  letter-spacing: 0.05em;
  margin-bottom: 25px;
  padding-bottom: 5px;
  border-bottom: 1px dashed #4a3728;
}

/* --- 左側：経歴リストの調整 --- */
.history-list {
  margin: 0;
}

.history-item {
  display: flex;
  align-items: flex-start;
  font-size: 0.9rem;
  letter-spacing: 0.03em;
  line-height: 1.2;
  margin-bottom: 8px;
  color: #4a3728;
}

/* 「年」の部分：幅を固定して縦のラインを揃える */
.history-item dt {
  width: 95px;
  font-weight: 500;
  flex-shrink: 0;
}

.history-item dd {
  margin: 0;
  font-weight: 500;
}

/* --- 右側：所属リストの調整 --- */
.affiliation-list {
  list-style: none;
  padding: 0;
  margin: 0;
}

.affiliation-list li {
  font-size: 0.9rem;
  letter-spacing: 0.03em;
  line-height: 1.2;
  margin-bottom: 8px;
  color: #4a3728;
}

.about-staff-container {
    display: flex;
    align-items: center;
}

.about-staff-container img{
  width: 80%;
}

.about-staff-text {
    font-size: 1.4rem;
    font-weight: bold;
    line-height: 1.6;
    letter-spacing: 0.05em;
}

.about-equipment-container {
  max-width: 1100px;
  margin: 60px auto;
  padding: 0 20px;
}

/* 3カラムのグリッド配置（画面幅に合わせて自動調整） */
.equipment-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 40px 30px;
}

/* 各設備カードの白ボックススタイル */
.equipment-card {
  background-color: #ffffff;
  border-radius: 20px;
  box-shadow: 0 4px 15px rgba(96, 67, 55, 0.05);
  overflow: hidden;
  display: flex;
  flex-direction: column;
}

/* 画像エリア */
.equipment-img {
  width: 100%;
  aspect-ratio: 4 / 3;
  margin: 0;
  overflow: hidden;
  padding: 20px 20px 0;
}

.equipment-img img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
  border-radius: 20px;
}

/* テキストコンテンツエリア */
.equipment-content {
  padding: 25px 20px 30px;
  display: flex;
  flex-direction: column;
  flex: 1;
}

/* 装置の名前（h2タグ） */
.equipment-content h3 {
  font-size: 1.35rem;
  color: #604337;
  font-weight: bold;
  letter-spacing: 0.03em;
  margin-bottom: 12px;
  text-align: left;
  position: relative;
  padding-left: 12px;
  display: inline-block;
  z-index: 10;
}

.equipment-content h3::before {
  content: "";
  position: absolute;
  top: 50%;
  left: 0;
  transform: translateY(-50%);
  width: 25px;
  height: 25px;
  background-color: #ffe361;
  border-radius: 50%; 
  z-index: -1;
}


/* 説明文 */
.equipment-content p {
  font-size: 1rem;
  color: #4a3728;
  line-height: 1.6;
  letter-spacing: 0.02em;
  text-align: justify;
  margin: 0;
}


/* ==========================================================================
   serviceページ
   =========================================================================
   */

/* メインコンテナ（白角丸のカード） */
.clinic-section {
  width: 90%;
  max-width: 1100px;
  margin: 60px auto 130px auto;
  background-color: #ffffff;
  border-radius: 30px;
  box-shadow: 0 4px 20px rgba(0, 0, 0, 0.05);
  position: relative;
}

.inner-container {
  padding: 70px 40px 40px 40px;
}

/* アイコンバッジ */
.icon-badge {
  width: 100px;
  height: 100px;
  background: linear-gradient(to bottom, #ffcb2b, #ffa817);
  border-radius: 18px;
  position: absolute;
  top: -50px;
  left: 50%;
  transform: translateX(-50%);
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow: 0 4px 20px rgba(0, 0, 0, 0.05);
}

.icon-badge img {
  width: 80%;
  height: auto;
  display: block;
} 


/* タイトルエリア */
.section-title {
  text-align: center;
  color: #634a35; /* 茶色 */
  font-size: 1.8rem;
  font-weight: bold;
  letter-spacing: 0.1em;
  margin-bottom: 10px;
}

.subtitle {
  text-align: center;
  color: #634a35;
  font-size: 1.2rem;
  font-weight: bold;
  margin-bottom: 40px;
}

/* コンテンツ配置（横並び） */
.content-wrapper {
  display: flex;
  justify-content: space-between;
  align-items: flex-start;
  gap: 40px;
}

.content-wrapper.row-reverse {
  flex-direction: row-reverse;
}

/* 左側テキスト */
.text-area {
  flex: 1;
  margin-bottom: 50px;
}

.text-area-wrap{
  margin-bottom: 40px;
}

.check-title {
  font-size: 1.4rem;
  color: #4a3728;
  margin-bottom: 15px;
  position: relative;
  padding-left: 15px;
  display: inline-block;
  z-index: 2;
}

/* タイトルの左側にある黄色い丸 */
.check-title::before {
  content: "";
    position: absolute;
    top: 50%;
    left: 0;
    transform: translateY(-50%);
    width: 25px;
    height: 25px;
    background-color: #ffe361;
    border-radius: 50%;
    z-index: -1;
}

/* 症状リスト */
.symptom-list {
  list-style: none;
  margin-bottom: 30px;
}

.symptom-list li {
  font-size: 1.6rem;
  font-weight: bold;
  color: #4a3728;
  margin-bottom: 14px;
  line-height: 1.4;
}

/* 黄色の蛍光ペン風マーカー線 */
.marker {
  background: linear-gradient(transparent 50%, #fff3b3 50%);
  padding: 0 4px;
}

/* 右側画像エリア */
.clinic-image {
  width: 40%;
  margin-right: -10%;
}

.clinic-image img {
  aspect-ratio: 1 / 1;
  width: 100%;
  display: block;
  border-radius: 50%;
  object-fit: cover;
  box-shadow: 0 4px 20px rgba(0, 0, 0, 0.1);
}

img.service-illust {
    border-radius: 0;
    box-shadow: none;
    width: 60%;
    margin: 50px 0 0 auto;
}

.content-wrapper.row-reverse .clinic-image{
  margin-right: auto;
  margin-left: -10%;
}

.clinic-image.contraception {
    width: 30%;
    margin-top: -100px;
}


.price-table-container {
    width: 100%;
    flex: 1;
}

/* テーブル全体のスタイル */
.price-table {
  width: 100%;
  max-width: 500px;
  border-collapse: collapse;
  font-family: sans-serif;
   font-display: swap;
  color: #4a4a4a; 
  margin: 0 0 50px;
  overflow: hidden;
}

/* すべてのセルの基本設定 */
.price-table th,
.price-table td {
  border: 2px solid #eef2f3;
  padding: 14px 18px;
  text-align: center;
  font-size: 15px;
}

/* --- オス（前半グループ）の配色 --- */
.group-male .gender-cell {
  background-color: #eef4f7;
  color: #5298be;
  font-weight: bold;
}
.group-male td {
  background-color: #ffffff;
}

/* --- メス（後半グループ）の配色 --- */
.group-female .gender-cell {
  background-color: #fff5ee;
  color: #c86332;
  font-weight: bold;
}
.group-female td {
  background-color: #fffdfb;
}

/* --- 金額セルの共通調整 --- */
.price-table .price {
  text-align: right;
  padding-right: 30px;
  font-weight: bold;
  color: #333333;
  font-variant-numeric: tabular-nums;
}

/* カードを包むコンテナ */
.medical-check-container {
  display: flex;
  flex-direction: row; /* 横並びにする */
  align-items: flex-start;
  gap: 30px;
  max-width: 1100px;
  margin: 0 auto 60px;
  padding: 20px 30px;
  background: #fffdf4;
  border-radius: 15px;   
}

/* 各カードのスタイル */
.medical-check-card {
  flex: 1;
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: left;
}

/* オレンジ色のバッジ */
.badge {
  display: inline-block;
  border-bottom: 3px solid;
  border-image: linear-gradient(180deg, #ffca28 0%, #ffa000 100%) 1; /* グラデーション */
  color: #4a3728;
  font-weight: bold;
  font-size: 1.3rem;
  letter-spacing: 0.05em;
  padding: 0 0 5px;
  width: 100%;
  text-align: center;
  margin-bottom: 20px;
}

/* 説明テキスト */
.description {
  color: #4a3728;
  font-size: 1rem;
  line-height: 1.7;
  margin: 0;
  word-break: break-all;
}

/* 2列のグリッドを作るコンテナ */
.disease-grid-container {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 40px;
  max-width: 1200px;
  margin: 0 auto 40px;
  
}

/* 各カードのスタイル */
.disease-card {
  display: flex;
  flex-direction: column;
  align-items: center; 
  padding: 40px 35px;
  border-radius: 15px;
  background: #fff6ee;
}

/* ベージュのバッジ */
.disease-badge {
  display: inline-block;
  border-bottom: 3px solid;
  border-image: linear-gradient(180deg, #d3b593 0%, #ba9670 100%) 1;
  color: #4a3728;
  font-weight: bold;
  font-size: 1.3rem;
  letter-spacing: 0.05em;
  padding: 0 0 5px;
  width: 100%;
  text-align: center;
  margin-bottom: 20px;
}

/* 説明テキストエリア */
.disease-description {
  width: 100%;
  color: #4a3728;
  font-size: 1rem;
  line-height: 1.7;
  text-align: left;
}

/* 各段落の調整 */
.disease-description p {
  margin: 0 0 1.2em 0;
}
.disease-description p:last-child {
  margin-bottom: 0;
}

/* 「胸腰部の椎間板ヘルニア」などの小見出し */
.sub-title {
  font-size: 1.2rem;
  color: #4a3728;
  font-weight: bold;
  margin: 25px 0 10px 0;
}

/* 赤文字の強調 */
.alert-text {
  color: #e53935;
  font-weight: bold;
}


/* ==========================================================================
   健康診断
   ========================================================================== */

   .clinic-image.health{
      margin-bottom: 60px;
   }

   /* テーブル全体のスタイル */
  .health-price-table {
      border-collapse: collapse;
      width: 100%;
      max-width: 1100px;
      font-size: 1.2rem;
      color: #333333;
      border: 1px solid #dcd1b4;
      letter-spacing: 0.05em;
}
  .health-price-table th, .health-price-table td {
      border: 1px solid #dcd1b4;
      padding: 12px 15px;
      vertical-align: middle;
      text-align: left;
}
        /* コース名列のスタイル（濃い目の薄黄色） */
  .health-price-table .course-title {
      font-weight: bold;
      width: 15%;
      white-space: nowrap;
      text-align: center;
}

  .health-price-table .course-title.basic{
      background-color: #6fc7e1;
      color: #FFF;
}

  .health-price-table .basic{
      background-color: #f0f9fc;
}

  .health-price-table .course-title.special{
      background-color: #ffa883;
      color: #FFF;
  }

  .health-price-table .special{
      background-color: #fff6f2;
  }

  /* 検査内容列のスタイル（薄黄色） */
  .health-price-table .course-details {
      width: 50%;
      line-height: 1.6;
      font-size: ;
  }
  .health-price-table .condition {
      width: 15%;
  }
  .health-price-table .price {
      text-align: right;
      width: 20%;
      font-weight: bold;
      padding-right: 25px;
  }

.option-contaner {
  display: flex;
  gap: 30px;
  margin: 20px 0 60px;
}

.health-check-about {
  display: flex;
  gap: 30px;
  align-items: baseline;
  margin-bottom: 20px;
}

.health-check-about p{
  margin-top: 8px;
}

.check-title.health{
  margin-bottom: 20px;
}

.health-check-about h4{
  display: inline-block;
    color: #4a3728;
    font-weight: bold;
    font-size: 1.2rem;
    letter-spacing: 0.05em;
    padding: 5px 0 5px;
    width: 20%;
    text-align: center;
    background: #fff1cc;
    flex: 0 0 auto ;
    border-radius: 999px;
}

.health-check-about h5 {
    background: #e6e2d8;
    display: inline-block;
    font-size: 1.1rem;
    padding: 5px 25px;
    border-radius: 9999px;
}

.health-check-about-wrap{
  flex: 1;
}

.health-check-about-wrap p{
  margin-bottom: 20px;
}

.health-check-about .base-text span{
  color: #8a6766;
  font-weight: bold;
}

.health-check-dogcat{
  margin-top: 60px;
  display: flex;    
}

.health-check-dogcat-wrap{
  flex: 1;
}

.health-check-dogcat-wrap h4 {
    width: 30%;
}

.health-check-dogcat-wrap .health-check-about{
  gap: 15px;
  margin-bottom: 15px;
}

.health-check-dogcat-wrap .health-check-about.two-line{
  align-items: flex-start;
}

.health-check-dogcat-wrap .health-check-about.two-line h4 {
  font-size: 1rem;
}

/* ==========================================================================
   トリミング・ペットホテル
   ========================================================================== */

.trimming-container,
.pet-hotel-container {
  width: 90%;
  max-width: 1100px;
  margin: 60px auto 80px auto;
  padding: 40px 40px 40px 40px;
  background-color: #ffffff;
  border-radius: 30px;
  box-shadow: 0 4px 20px rgba(0, 0, 0, 0.05);
}

/* 左側：コンテンツエリア */
.trimming-content,
.pet-hotel-content {
  display: flex;
  gap: 40px;
  flex: 1.2; /* 写真より少し幅を広く */
}

.trimming-content{
  justify-content: center;
}

/* 大見出し */
.main-title{
  text-align: center;
}

.main-title img {
    display: block;
    margin: 0 auto 10px;
    width: 80px;
}

.main-title small {
    display: block;
    font-size: 0.9rem;
    font-weight: normal;
}

/* 中見出し（黄色の丸ドット付き） */
.sub-title {
  display: flex;
  align-items: center;
  font-size: 18px;
  color: #333333;
  margin: 0 0 20px 0;
  font-weight: bold;
}
.sub-title::before {
  content: "";
  display: inline-block;
  width: 12px;
  height: 12px;
  background-color: #ffd54f; /* 画像の黄色のドット */
  border-radius: 50%;
  margin-right: 10px;
}

/* メニューと価格予定地の横並びエリア */
.menu-box {
  display: flex;
  align-items: center;
  gap: 30px;
  margin-bottom: 35px;
}

/* メニューの箇条書き */
.menu-list {
  list-style: none;
  padding: 0;
  margin: 0;
}
.menu-list li {
  font-size: 1.4rem;
  font-weight: bold;
  letter-spacing: 0.05em;
  color: #4a3728;
  line-height: 2;
}
.menu-list li::before {
  content: "・";
  margin-right: 5px;
}

.menu-list li.contact-text{
  font-size: 1rem;
  font-weight: normal;
}

.menu-list li.contact-text::before{
  display: none;
}

/* 価格記載予定の薄赤のボックス */
.price-placeholder {
  background-color: #ffebee; /* 薄い赤色の背景 */
  padding: 15px 25px;
  text-align: center;
}
.price-placeholder p {
  margin: 0;
  line-height: 1.6;
}

/* 説明テキスト */
.description-text {
  color: #444444;
  font-size: 15px;
  line-height: 1.8;
  margin-bottom: 40px;
}
.description-text p {
  margin: 0 0 1.2em 0;
}
.description-text p:last-child {
  margin-bottom: 0;
}

/* 注意事項 */
.notice-area {
  margin: 50px 0;
}
.notice-text {
  font-size: 1.1rem;
  margin: 0 0 1.5em 0;
}
.notice-item:last-child {
  margin-bottom: 0;
}

/* 赤文字強調 */
.alert-red {
  color: #d32f2f;
  font-weight: bold;
  font-size: 15px;
}
.notice-red {
  color: #d32f2f;
  font-weight: bold;
}

.clinic-image.trimming {
    width: 25%;
    margin-top: auto;
    margin-bottom: 30px;
}

.price-content{
  display: flex;
  align-items: flex-end;
}

.price-content .pet-hotel-image{
  width: 45%;
}

.price-content .pet-hotel-image img{
  width: 100%;
}

/* ==========================================================================
   アクセス
   ========================================================================== */

.access-container {
  width: 90%;
  max-width: 1100px;
  margin: 60px auto 80px auto;
  padding: 40px 40px 40px 40px;
  background-color: #ffffff;
  border-radius: 30px;
  box-shadow: 0 4px 20px rgba(0, 0, 0, 0.05);
}

.google-map.access-map{
  margin-top: 30px;
  border: none;
}

.footer-hours.access-hours{
  background: none;
}

.title-icon.car-icon{
  width: 120px;
}

.parking-map{
  width: 100%;
  max-width: 1100px;
  margin: 30px auto;
  display: flex;
  flex-direction: column;
  gap: 20px; /* セクション間の隙間 */
}

/* 2段に分けるための共通グリッド設定 */
  .grid-row {
    display: grid;
    grid-template-columns: repeat(2, 1fr); /* PC時は横に2枚並べる */
    gap: 20px; /* 画像と画像の隙間 */
        }

  /* 画像を囲む枠 */
  .image-box {
      background-color: #ffffff;
      border-radius: 10px;
      overflow: hidden;
      box-shadow: 0 2px 5px rgba(0,0,0,0.05);
      display: flex;
      align-items: center;
      justify-content: center;
}

   /* 画像自体のレスポンシブ設定 */
  .image-box img {
      width: 100%;
      height: auto;
      display: block;
      object-fit: cover;
}

/* ==========================================================================
   アクセス
   ========================================================================== */

.company-container {
  width: 90%;
  max-width: 1100px;
  margin: 60px auto 80px auto;
  padding: 40px 40px 40px 40px;
  background-color: #ffffff;
  border-radius: 30px;
  box-shadow: 0 4px 20px rgba(0, 0, 0, 0.05);
}

.info-list{
  max-width: 600px;
  margin: 50px auto;
}

.info-item{
  display: flex;
  align-items: baseline;
  gap: 20px;
  margin-bottom: 40px;
}

.info-label {
    display: inline-block;
    color: #4a3728;
    font-weight: bold;
    font-size: 1.3rem;
    letter-spacing: 0.05em;
    padding: 8px 0;
    width: 30%;
    text-align: center;
    background: #fff1cc;
    flex: 0 0 auto;
    border-radius: 999px;
}

.info-content{
  font-size: 1.3rem;
  letter-spacing: 0.05em;
}

.info-content a{
  color: #ffa817;
  text-decoration: none;
}

.info-content a:hover{
  color: #ffcd77;
  transition: .5s;
}

.info-content a.map-link{
  display: inline-block;
  margin-top: 10px;
}

.info-small{
  font-size: 1rem;
  margin-top: 10px;
}


/* ==========================================================================
   7. プライバシーポリシー   ========================================================================== */

.privacy-container {
  width: 90%;
  max-width: 1100px;
  margin: 60px auto 80px auto;
  padding: 40px 40px 40px 40px;
  background-color: #ffffff;
  border-radius: 30px;
  box-shadow: 0 4px 20px rgba(0, 0, 0, 0.05);
}

.privacy-wrap{
  width: 80%;
  margin: 40px auto;
}

.privacy-h2 {
    display: flex;
    align-items: center; /* 横並びにしたとき、数字の丸とテキストの上下中央を揃える */
    font-size: 1.4rem;   /* 見出しの文字サイズ（お好みで調整） */
    color: #4a3728;      /* テキストの色（画像に合わせた濃い茶色系） */
}

/* 数字を囲むカスタムタグ（またはspanタグ）のスタイル */
.privacy-h2 .privacy-num {
    display: inline-flex;
    justify-content: center;
    align-items: center;
    width: 45px;
    height: 45px;
    padding-left: 3px;
    padding-bottom: 1px;
    background-color: #ffd953;
    border-radius: 50%;
    color: #4a3728;  
    font-weight: bold;
    font-size: 1.5rem;
    margin-right: 10px;
    font-style: normal;
    line-height: 1;
}

.base-text.privacy{
  margin-bottom: 40px;
}

.privacy-h3{
  border-bottom: dashed #CCC 2px;
  padding-bottom: 5px;
  margin-bottom: 10px;
}

.privacy-list{
    padding-left: 10px;
    margin-bottom: 30px;
}

.privacy-list li {
    list-style: disc;
    list-style-position: inside;
    font-size: 1.2rem;
    font-weight: bold;
}

.privacy-info-list{
  font-size: 1rem;
  letter-spacing: 0.1em;
  background: #fff9e4;
  border-radius: 20px;
  padding: 30px;
}

.privacy-info-list li{
  margin-bottom: 8px;
}


/* ==========================================================================
   お知らせ - 記事ページ
   ========================================================================== */

.news-container {
  width: 90%;
  max-width: 1100px;
  margin: 60px auto 50px auto;
  padding: 40px 40px 40px 40px;
  background-color: #ffffff;
  border-radius: 30px;
  box-shadow: 0 4px 20px rgba(0, 0, 0, 0.05);
}

.entry_title{
  display: flex;
  justify-content: space-between;
}

.day {
    font-size: 1.1rem;
    letter-spacing: 0.1em;
}

.entry_cat a{
  font-size: 0.9rem;
  display: inline-block;
  color: #FFF;
  font-weight: bold;
  text-decoration: none;
  padding: 8px 25px;
  border-radius: 999px;
  background: linear-gradient(to right, #f9cb35 0%, #ffb13b 100%);
}

.single_title{
  font-size: 1.8rem;
  letter-spacing: 0.05em;
  padding-bottom: 5px;
  border-bottom: dotted 1px #4a3728;
}

.wp-block-image {
    margin: 30px 0;
}

.wp-block-image img {
    border-radius: 30px;
}

.nav-links{
  width: 90%;
  max-width: 1100px;
  margin: 0 auto 80px;
  display: flex;
  justify-content: space-between;
}

.nav-links a{
  font-size: 1.2rem;
  display: inline-block;
  color: #FFF;
  font-weight: bold;
  text-decoration: none;
  padding: 8px 40px;
  border-radius: 999px;
  background: linear-gradient(to right, #f9cb35 0%, #ffb13b 100%);
}

.nav-links .nav-previous a::before{
  content: "\f0a8";
  font-family: "Font Awesome 7 Pro";
   font-display: swap;
  margin-right: 8px;
  margin-left: 5px;
  font-size: 1.2rem;
  font-weight: 400;
}

.nav-links .nav-previous a:hover{
  scale: calc(1.1);
  transition: .5s;
}

.nav-links .nav-next a::after{
  content: "\f0a9";
  font-family: "Font Awesome 7 Pro";
   font-display: swap;
  margin-left: 8px;
  font-size: 1.2rem;
  font-weight: 400;
}

.nav-links .nav-next a:hover{
  scale: calc(1.1);
  transition: .5s;
}



/* ==========================================================================
  アーカイブページ
========================================================================== */

.archive-container {
  width: 90%;
  margin: 60px auto 50px auto;
  padding: 40px 40px 40px 40px;
}

.post-cards-grid {
    display: flex;
    flex-wrap: wrap;
    margin: 0 -15px; /* 親要素の左右を広げてカードの左右余白を相殺 */
}

/* ==========================================================================
    カード単体のスタイル
    ========================================================================== */
.post-card {
    display: block; /* リンク全体をブロック化してカード全体をクリック可能に */
    text-decoration: none;
    color: inherit;
    width: calc(33.333% - 30px); /* パソコン時は3段組（横に3個並ぶ） */
    margin: 0 15px 30px 15px;
    background-color: #ffffff;
    border-radius: 20px;
    overflow: hidden; /* 角丸を内部の画像にも適用させる */
    box-shadow: 0 4px 10px rgba(0, 0, 0, 0.05);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

/* ホバー時のアニメーション効果 */
.post-card:hover {
    transform: translateY(-5px); /* 少し上に浮き上がる */
    box-shadow: 0 8px 20px rgba(0, 0, 0, 0.12); /* 影を深くする */
}

/* アイキャッチ画像エリア */
.card-thumbnail {
    width: 100%;
    aspect-ratio: 16 / 9; /* 画像の比率を16:9に固定（崩れ防止） */
    background-color: #e0e0e0;
    position: relative;
    overflow: hidden;
}

.card-thumbnail img {
    width: 100%;
    height: 100%;
    object-fit: cover; /* 比率を保ったままエリア全体を綺麗に埋める */
    transition: transform 0.3s ease;
}

/* ホバー時に画像を少しズーム */
.post-card:hover .card-thumbnail img {
    transform: scale(1.04);
}

/* カテゴリータグ */
.card-category {
    position: absolute;
    top: 12px;
    right: 12px;
    background: linear-gradient(to right, #f9cb35 0%, #ffb13b 100%);
    color: #ffffff;
    font-size: 0.75rem;
    font-weight: bold;
    padding: 4px 20px;
    border-radius: 20px;
    z-index: 1;
}

/* テキストコンテンツエリア */
.card-content {
    padding: 20px;
}

/* 投稿日 */
.card-meta {
    font-size: 1.1rem;
    letter-spacing: 0.1em;
    margin-bottom: 15px;
}

/* 記事タイトル */
.card-title {
    font-size: 1.1rem;
    color: #4a3728;
    font-weight: bold;
    margin-bottom: 10px;
    line-height: 1.4;
    /* 2行以上になったら自動で「...」で省略する設定 */
    display: -webkit-box;
    -webkit-box-orient: vertical;
    -webkit-line-clamp: 2;
    overflow: hidden;
}

/* 記事の抜粋文 */
.card-excerpt {
    font-size: 1rem;
    color: #4a3728;
    line-height: 1.5;
    /* 3行以上になったら自動で「...」で省略する設定 */
    display: -webkit-box;
    -webkit-box-orient: vertical;
    -webkit-line-clamp: 3;
    overflow: hidden;
}



/* ==========================================================================
   メディアクエリ（レスポンシブ対応）
   ========================================================================== */

/* --------------------------------------------------------------------------
   スマホ中サイズ境界 (画面幅 600px 以下)
   -------------------------------------------------------------------------- */
@media (max-width: 600px) {
html, body {
  overflow-x: hidden; /* 横方向のはみ出しを強制的に非表示にしてスクロールを消す */
}

h2 {
    font-size: 1.6rem;
    letter-spacing: 0.05em;
    margin-bottom: 15px;
}

  .site-header{
    padding: 0;
    position: fixed;
    height: 50px;
  }

  .logo-image {
    height: 40px;
    margin: 5px;
  }

  .header-inner {
    justify-content: space-between; /* ロゴとボタンを両端に */
    text-align: left;
    align-items: flex-start;
  }

  .phone-container{
    margin-bottom: 10px;
    text-align: center;
  }

  .phone-logo {
    width: 200px;
    margin: 0 auto 5px;
}

  .phone-link {
    font-size: 2rem;
    margin-left: auto;
  }

  .phone-link::before {
    font-size: 1.8rem;
  }

  .hours {
    flex-direction: column;
    width: 95%;
    overflow: hidden;
    margin: 0 auto;
}

  .hours.sp {
    width: 100%;
    margin-top: 0;
}

  .medical-hours-container {
    width: 100%;
    margin: 0 auto;
  }

  .medical-hours-table {
    border-radius: 7px;
  }

  .medical-hours-table .time-cell {
    font-size: 0.8rem;
    width: 15%;
  }

  .medical-hours-table thead th {
    background-color: #c99f7d;
    color: #fff;
    padding: 5px;
    font-size: 0.8rem;
  }

  .medical-hours-table tbody td {
    padding: 5px;
  }

  .medical-hours-table tbody td img {
    width: 20px;
  }

  .medical-hours-notes p {
    font-size: 0.7rem;
  }

  /* --- ハンバーガーボタンを表示・デザイン --- */
  .hamburger-btn {
    display: block;
    border: none;
    background: linear-gradient(to right, #f9cb35 0%, #ffb13b 100%);
    width: 50px;
    height: 50px;
    position: relative;
    cursor: pointer;
    z-index: 9999; /* メニューより前面へ */
  }

  /* 三本線の共通スタイル */
  .hamburger-btn span {
    display: block;
    position: absolute;
    width: 28px;
    height: 3px;
    background-color: #FFF; /* 病院のイメージカラー */
    left: 12px;
    transition: all 0.3s ease;
  }
  .hamburger-btn span:nth-child(1) { top: 14px; }
  .hamburger-btn span:nth-child(2) { top: 22px; }
  .hamburger-btn span:nth-child(3) { top: 30px; }

  /* ボタンがアクティブ（×印）になったときのアニメーション */
  .hamburger-btn.active span:nth-child(1) {
    transform: translateY(8px) rotate(-45deg);
  }
  .hamburger-btn.active span:nth-child(2) {
    opacity: 0;
  }
  .hamburger-btn.active span:nth-child(3) {
    transform: translateY(-8px) rotate(45deg);
  }

  .hours.sp{
    display: block;
  }

  .nav-item.sp{
    display: block;
  }

  /* --- ナビゲーションエリアを画面外に隠す（ドロワーメニュー化） --- */
  .nav-area {
    position: fixed;
        top: 0;
        right: -100%; /* メニューが閉まっている時の位置 */
        width: 100%;  /* 横幅いっぱいに広げる */
        
        /* 💡【超重要】高さを画面ぴったりに固定し、中身が溢れたら縦スクロールさせる設定 */
        height: 100vh !important; 
        overflow-y: auto !important;
        -webkit-overflow-scrolling: touch; /* スマホでのスクロールを滑らかにする */
        
        /* 上部にヘッダーやバツボタンがある場合の余白調整（デザインに合わせて調整してください） */
        padding-top: 80px; 
        padding-bottom: 60px; /* 一番下の項目が隠れないように下部にも余白を作る */
        box-sizing: border-box;
        
        background-color: #fffbf7; /* メニューの背景色 */
        transition: right 0.3s ease;
        z-index: 999;
    }

  /* メニューがアクティブ（開いた状態）になったら画面内に滑り込ませる */
  .nav-area.active {
    right: 0;
    padding-top: 10px;
  }

  /* リストを縦並びに変更 */
  .nav-list {
    display: flex;
    flex-direction: column;
    height: auto;
    gap: 0;
    align-items: flex-start;
  }

  .nav-item {
    width: 100%;
    border-bottom: 1px solid #eeeeee;
  }

  .nav-item a {
    display: flex;
    flex-direction: row; 
    padding: 2px 15px; 
  }

  .nav-item a::after{
    content: "\f0a9";
    font-family: "Font Awesome 7 Pro";
     font-display: swap;
    font-weight: 300;
    margin-left: auto;
    font-size: 1.2rem;
  }

  .nav-icon-wrap {
    display: flex;
    justify-content: center;
    align-items: center;
    width: 50px;
    height: 40px;
    margin-right: 20px;
    flex-shrink: 0;
  }

  .nav-label {

  }

  .nav-list li:first-child .nav-icon{
    height: 30px;
  }

  .nav-icon{
    height: 40px;
  }


 /* メインビジュアル */
  .hero-container {
    position: relative;
    width: 100%;
    max-width: 1100px;
    margin: 70px 7% 0 auto;
}

.hero-image {
    width: 100%;
    aspect-ratio: 16 / 9; 
    margin: 0 auto 20px;
    border-radius: 30px;
    overflow: hidden;
    height: 390px;
    margin-left: -10%;
}

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

.hero-image img.img-02, .hero-image img.img-03 {
    object-position: right center;
}

.hero-catch-wrapper {
    right: 10px;
    gap: 10px;
}
  .catch-item {
    font-size: 1.6rem;
}


.emergency-container {
    width: 95%;
    gap: 10px;
    padding: 20px 30px;
    border-radius: 15px;
    flex-direction: column;
}

.emergency-content h2 {
    font-size: 1.6rem;
}

.emergency-image img {
    width: 70px;
}

.emergency-content p {
    font-size: 1rem;
    text-align: justify;
}

.top-about-container, .top-trimming-container {
    width: 95%;
    margin: 40px auto;
    flex-direction: column;
}

.top-about-content, .top-trimming-content {
    margin: -20px auto;
    border-radius: 15px;
}

.top-about-image, .top-trimming-image {
    border-radius: 15px;
    margin-left: -10%;
    margin-right: 10%;
}

.top-about-content, .top-trimming-content {
    padding: 30px;
}

.base-text {
    font-size: 1rem;
    text-align: justify;
}

.more-btn a {
    width: 100%;
}

.news-section {
    width: 95%;
    margin: 50px auto;
    border-radius: 15px;
}

.news-item a {
    padding: 25px 10px;
    flex-direction: column;
    align-items: flex-start;
}

.news-date {
    font-size: 0.9rem;
    margin-bottom: 10px;
}

.news-item a::after {
    font-size: 1.2rem;
    margin-top: -25px;
}


/* 1. 親のグリッドを3列から「2列（横並び）」に変更 */
  .card-grid {
    grid-template-columns: repeat(2, 1fr); 
    gap: 12px;       /* スマホ画面に合わせてカード同士の隙間を少し狭く（12px〜15px） */
    padding: 0 12px; /* 画面の左右ギリギリに張り付かないように余白を入れる */
    box-sizing: border-box;
  }

  /* 2. カード単体のサイズ調整 */
  .menu-card {
        aspect-ratio: auto;
        width: 100%;
        max-width: 100%;
        border: solid 5px #FFF;
        padding: 15px 10px 20px;
        box-sizing: border-box;
    }

  .menu-card::after {
    font-size: 1rem;
    right: 46%;
    bottom: 3px;
}

  /* 3. イラストのサイズ調整（2列だと中身が狭くなるため最重要） */
  .card-icon-wrap {
    flex: 1;
    margin-bottom: 5px;
  }
  
  .card-illustration {
    max-height: 65px;  /* ★イラストを2列の枠に収まるサイズに縮小 */
    width: auto;
  }

  /* 4. タイトルの文字サイズ調整 */
  .menu-card h3 {
    font-size: 1rem;  /* ★文字が2行に折れて溢れないように少し小さく */
    padding-right: 5px; /* 右側の矢印（→）と文字が被らないようにガード */
    box-sizing: border-box;
    white-space: nowrap; /* 文字を絶対に改行させず1行に収めたい場合はこれを入れる */
  }

  
.google-map {
    width: 95%;
    height: 300px;
    margin: 0 auto;
}

.address-list {
    margin: 20px auto;
    width: 90%;
}

.address-list li {
    flex-direction: column;
    align-items: center;
    text-align: center;
    margin-bottom: 15px;
}

.address-list li span {
    margin-top: 0;
    margin-bottom: 5px;
}

.footer-hours {
    flex-direction: column;
    padding: 0 10px 20px;
}

.footer-hours .phone-container{
  text-align: center;
}

.footer-insurance-container {
    flex-direction: column;
    padding: 20px;
}

.insurance-banners {
    margin-bottom: 15px;
}

.insurance-info .base-text {
    font-size: 1rem;
    line-height: 1.5;
}

.footer-nav-container {
    gap: 0;
    flex-direction: column;
    padding: 30px 0;
}

.footer-links {
    flex-direction: column;
    display: flex;
    row-gap: 0;
    width: 100%;
    max-width: 90%;
    margin: 0 auto 30px;
}


.footer-links .menu-item a{
  font-size: 1rem;
  padding: 15px;
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.footer-links .menu-item a::after {
    margin-left: auto;
}

.footer-links .menu-item a:hover::after{
  padding-right: 5px;
  transition: .5s;
}

.footer-links li {
    border-bottom: solid 1px #8d6f57;
}

.sns-button-container {
    margin: 0 auto;
}

.sns-btn {
    padding: 10px 25px;
}

.copyright {
  padding-bottom: 110px;
} 

  /* ニュース */
  .news-section {
    padding: 30px 20px;
  }
  
  .news-meta {
    flex-direction: column;
    align-items: flex-start;
    gap: 8px;
  }
  
  .news-header h2 {
    font-size: 20px;
  }


  .fix-fours a.js-open-hours {
    top: auto;
    bottom: 0;
    left: 0;
    right: auto;
    width: auto;
    height: 100px;
    box-shadow: none;
    border-radius: 0;
    padding: 20px 0;
    writing-mode: lr;
    font-size: 1rem;
    position: relative;
}

.fix-fours a.js-open-hours::before {
  display: block;
  font-size: 2rem;
}
 
.fix-fours .medical-hours-container {
    top: 150px;
    right: auto;
    left: auto;
    width: 100%;
    height: auto;
    border-radius: 15px;
}

.fix-fours-button {
    display: grid;
    grid-template-columns: repeat(3, 1fr); /* ★3つのボタンを全く同じ大きさに */
    position: fixed;
    bottom: 0;
    left: 0;
    width: 100%;
    z-index: 200; /* メニューやコンテンツより手前に表示 */
    box-shadow: 0 -2px 10px rgba(0, 0, 0, 0.1);
  }

.fix-map-btn.sp{
  display: block;
  color: #FFF;
  text-decoration: none;
  font-size: 1.1rem;
  letter-spacing: 0.1em;
  text-align: center;
  background: linear-gradient(to bottom, #7ab0d9 0%, #5f8db0 100%);
  padding-top: 20px;
}

.fix-map-btn.sp::before{
  content: "\f606";
  font-family: "Font Awesome 7 Pro";
   font-display: swap;
  display: block;
  transition: transform 0.3s ease;
  font-size: 2rem;
  margin-bottom: 8px;
  font-weight: 300;
}

.fix-tel-btn.sp{
  display: block;
  color: #FFF;
 text-decoration: none;
  font-size: 1.1rem;
  letter-spacing: 0.1em;
  text-align: center;
  background: linear-gradient(to bottom, #70acb2 0%, #5c9297 100%);
  padding-top: 20px;
}

.fix-tel-btn.sp::before{
  content: "\e11b";
  font-family: "Font Awesome 7 Pro";
   font-display: swap;
  display: block;
  transition: transform 0.3s ease;
  font-size: 1.8rem;
  margin-bottom: 8px;
  font-weight: 300;
}

/* ==========================================================================
  ページヘッダー
========================================================================== */

.page-header {
    width: 100%;
    padding: 0;
    margin: 100px auto 0;
    flex-direction: column;
}

.page-header h1{
  font-size: 1.5rem;
  padding-left: 0;
}

.page-title h1::before {
    left: -30px;
}

.page-header-image {
    width: 60%;
    max-width: 85%;
    height: 130px;
    margin-left: auto;
    margin-right: 0;
    overflow: hidden;
}

.page-header-image img {
    width: 100%;
    height: 100px;
    display: block;
    object-fit: cover;
    border-radius: 50px 0 0 50px;
    margin-top: 20px;
}

/* ==========================================================================
  aboutページ
========================================================================== */

.about-container {
    width: 95%;
    margin: 20px auto 40px;
    flex-direction: column;
}

.about-content {
    margin: 20px auto 0;
}

.about-image-container {
    display: flex;
}

.inoue-image-01 {
    width: 60%;
    height: 60%;
    border-radius: 0 15px 15px 0;
    margin-left: -5%;
    aspect-ratio: 1 / 1;
}

.inoue-image-02 {
    width: 60%;
    height: 60%;
    border-radius: 15px 0 0 15px;
    margin: 40px -5% 0 -20px;
    aspect-ratio: 1 / 1;
}

.about-content {
    margin-bottom: 30px;
    padding: 30px 30px;
    border-radius: 15px;
}

.profile-container {
    padding: 20px 0;
    flex-direction: column;
}

.about-staff-container figure {
    width: 30%;
}

.about-staff-container img {
    width: 90%;
}

.about-staff-text {
    font-size: 1.1rem;
}

.equipment-img {
    aspect-ratio: 4 / 2;
}

  .equipment-grid {
    grid-template-columns: 1fr;
    gap: 25px;
  }
  
  .equipment-content {
    padding: 20px 15px 25px;
  }
  
  .equipment-content h2 {
    font-size: 1.25rem;
  }

/* ==========================================================================
  診療案内ページ
========================================================================== */

.icon-badge {
    width: 70px;
    height: 70px;
    top: -35px;
}

.clinic-section {
    width: 95%;
    margin: 50px auto 0;
    border-radius: 15px;
}

.inner-container {
    padding: 60px 20px 20px;
    margin-bottom: 80px;
}

.section-title {
    font-size: 1.6rem;
}

.subtitle {
    font-size: 1rem;
    margin-bottom: 30px;
}

.content-wrapper {
    gap: 0;
    flex-direction: column;
    margin-top: 30px;
}

.content-wrapper.row-reverse {
    flex-direction: column;
}

.check-title {
    font-size: 1.2rem;
}

.symptom-list li {
    font-size: 1.1rem;
    margin-bottom: 10px;
}

.symptom-list {
    margin-bottom: 20px;
}

.clinic-image{
  width: 100%;
  margin: -30px auto 30px;
}

.clinic-image img {
    aspect-ratio: 4 / 2;
    width: 100%;
    border-radius: 15px;
}

.content-wrapper.row-reverse .clinic-image {
    margin-right: auto;
    margin-left: auto;
}

.clinic-image img.service-illust {
    width: 30%;
    aspect-ratio: 1 / 1;
    margin: 20px auto 0;
}

.clinic-image.contraception {
    width: 100%;
    margin-top: -30px;
}

.price-table {
  margin: 0 0 30px;
}

.price-table th, .price-table td {
  padding: 14px 5px;
}

.price-table th, .price-table td {
  font-size: 0.8rem;
}

.check-title.two-line::before{
  top: 25%;
}

.illust-dog {
    margin: -30px 5% 10px auto;
}

.illust-cat {
    margin: -30px auto 10px 5%;
}

.medical-check-container {
    padding: 20px;
    flex-direction: column;
}

.badge, .disease-badge {
    font-size: 1.2rem;
    margin-bottom: 10px;
}

.disease-grid-container {
    gap: 0;
    flex-direction: column;
    display: flex;
}

.disease-card {
  padding: 20px;
}

.sub-title {
    font-size: 1.1rem;
    margin: 0 0 5px 0;
}

/* ==========================================================================
  健康診断ページ
========================================================================== */

  /* テーブルの構造を解除 */
  .health-price-table, 
  .health-price-table tbody, 
  .health-price-table tr, 
  .health-price-table td {
      display: block;
      width: 100% !important;
      box-sizing: border-box;
  }

  .health-price-table {
      font-size: 1rem;
      border: none; /* 外枠を一旦リセット */
  }

  .health-price-table tr {
      border: 1px solid #dcd1b4;
      overflow: hidden;
      background-color: #fff; /* 背景を白に固定 */
  }

  .health-price-table td {
      border: none !important;
      padding: 8px 15px; /* 上下の余白を狭く */
      text-align: left;
  }

  .health-price-table .course-title {
      font-size: 1.1rem;
      padding: 12px 15px;
      text-align: center;
  }

  .health-price-table .course-details {
      padding-top: 15px; /* 上だけ少しあける */
      font-size: 0.95rem;
  }

  .health-price-table .condition {
      display: none;
  }

  .health-price-table .price {
      text-align: right;
      font-size: 1.3rem;
      padding-top: 10px;
      padding-bottom: 15px; /* 下に余裕をもたせる */
  }
  .health-price-table .price::before {
      content: "【一律】";
      font-size: 0.9rem;
      color: #333;
      font-weight: normal;
  }

  .health-price-table .price.special::before {
      content: "【20kg以下】";
  }

  .health-price-table .price.special.over-20kg::before {
      content: "【20kg以上】";
  }

  .option-contaner {
    gap: 10px;
    margin: 20px 0 0;
    flex-direction: column;
}

  .option-text {
    font-size: 0.9rem;
}

.health-check-dogcat-wrap {
    margin-bottom: 30px;
}

  .health-check-about {
    gap: 10px;
    flex-direction: column;
}

.health-check-about h4 {
    font-size: 1.1rem;
    width: 100%;
}

.health-check-about h5 {
    display: block;
    font-size: 1rem;
    margin: 15px auto 0;
    width: 50%;
    text-align: center;
}

.health-check-dogcat {
    margin-top: 0;
    flex-direction: column;
}

.health-check-dogcat-wrap .health-check-about {
    gap: 5px;
    margin-bottom: 20px;
}

/* ==========================================================================
  トリミングページ
========================================================================== */

.trimming-container, .pet-hotel-container {
    width: 95%;
    margin: 20px auto 40px;
    padding: 20px;
    flex-direction: column;
    border-radius: 15px;
}

.trimming-container .main-title img {
    width: 60px;
}

.trimming-content {
    flex-direction: column;
}

.menu-box {
  gap: 0;
} 

.menu-list li {
    font-size: 1.2rem;
    line-height: 1.5;
    margin-bottom: 5px;
}

.clinic-image.trimming {
    width: 100%;
    margin-top: -50px;
    margin-bottom: 30px;
}

.notice-area {
    margin: 20px 0;
}

.notice-text {
    font-size: 1rem;
    margin: 0 0 1.5em 0;
    text-align: justify;
}

.main-title img {
    width: 60px;
}

.price-content {
    flex-direction: column;
    align-items: baseline;
}

.price-content .pet-hotel-image {
    width: 70%;
    margin: 0 auto;
}

/* ==========================================================================
  アクセスページ
========================================================================== */

.access-container {
    width: 95%;
    margin: 20px auto 40px;
    padding: 20px;
    flex-direction: column;
    border-radius: 15px;
}

.access-container .main-title img {
    width: 40px;
}

.access-container .main-title img {
    width: 70px;
    margin-top: 30px;
}

.parking-map {
    margin: 30px auto 0;
}

.grid-row {
    display: flex;
    flex-direction: column;
}

/* ==========================================================================
  病院ページ
========================================================================== */

.company-container {
    width: 95%;
    margin: 20px auto 40px;
    padding: 20px;
    flex-direction: column;
    border-radius: 15px;
}

.company-container .main-title img {
    width: 50px;
}

.info-list {
    margin: 50px auto -40px;
}

.info-item {
    flex-direction: column;
}

.info-label {
    width: 100%;
}

.info-content{
  width: 100%;
  text-align: center;
}

.info-small {
    font-size: 0.9rem;
    text-align: justify;
    letter-spacing: 0.01em;
}

/* ==========================================================================
  プライバシーページ
========================================================================== */

.privacy-container {
    width: 95%;
    margin: 20px auto 40px;
    padding: 20px;
    flex-direction: column;
    border-radius: 15px;
}

.privacy-container .main-title img {
    width: 50px;
}

.privacy-wrap {
    width: 100%;
    margin: 40px auto 0;
}

.privacy-h2 {
    font-size: 1.3rem;
}

.privacy-h2 .privacy-num {
    width: 35px;
    height: 35px;
}

.privacy-list {
    padding-left: 1.5rem;
}

.privacy-list li {
    list-style-position: outside;
    font-size: 1rem;
    margin-bottom: 8px;
}

.privacy-h3 {
    font-size: 1.1rem;
}

.privacy-info-list {
    font-size: 0.9rem;
    border-radius: 15px;
    padding: 20px 30px;
}

/* ==========================================================================
  記事ページ
========================================================================== */

.news-container {
    width: 95%;
    margin: 20px auto;
    padding: 20px;
    flex-direction: column;
    border-radius: 15px;
}

.entry_title {
    margin-bottom: 10px;
    align-items: center;
}

.day {
    font-size: 0.9rem;
}

.entry_cat a {
    font-size: 0.8rem;
}

.single_title {
    font-size: 1.4rem;
}

.wp-block-image {
    margin: 15px 0;
}

.wp-block-image img {
    border-radius: 15px;
}

.nav-links {
    width: 95%;
    flex-direction: column;
    margin-bottom: 30px;
}

.nav-links a {
    font-size: 1rem;
    width: 100%;
    padding: 15px 20px;
    margin-bottom: 15px;
}

.nav-previous a {
    text-align: left;
}

.nav-next a {
    text-align: right;
}

/* ==========================================================================
  お知らせアーカイブページ
========================================================================== */

.archive-container {
    width: 95%;
    margin: 20px auto;
    padding: 20px;
    flex-direction: column;
    border-radius: 15px;
}

.archive-container {
    width: 95%;
    margin: 20px auto;
    padding: 20px;
    flex-direction: column;
    border-radius: 15px;
}
 .post-card {
    width: calc(100% - 30px);
    margin-bottom: 30px;
    border-radius: 15px;
  }

  .card-title {
    font-size: 1.1rem;
  }

  .card-meta {
    font-size: 0.9rem;
  }

  .card-excerpt {
    font-size: 0.9rem;
  }

}

}
