@charset "UTF-8";
/* ==========================================================================
   青葉はつが野動物病院 — 案2「整理して現代的に」
   モバイルファースト / CSS1枚 / JSなしでも成立する設計
   ========================================================================== */

/* --- トークン -------------------------------------------------------- */
:root{
  --blue:#3b9adc;        /* 白文字を載せる水色（現行#66b0e4のホバー色） */
  --blue-lt:#95ccf3;     /* 現行のボタン縁の水色 */
  --navy:#0c5fb6;        /* 見出し・リンク */
  --sky:#e3f2fd;         /* 淡い水色の地 */
  --sky-2:#d1e8f8;       /* 表のヘッダ */
  --sky-3:#f2f9fe;       /* カードの地 */
  --cream:#f8f2d3;       /* 表の本体 */
  --cream-bg:#fdf9e6;    /* 注意書きカード */
  --brown:#704f31;       /* 本文の茶 */
  --pink:#e8527a;        /* キャッチの差し色 */
  --teal:#2f9d87;
  --ink:#111;
  --gray:#555;
  --white:#fff;

  --r-s:18px; --r-m:24px; --r-l:32px;
  --gap:16px;
  --pad:16px;
  --tap:44px;            /* 最小タップ領域 */

  /* 現行と同じ丸ゴシック。Webフォントは読み込まない（0バイト） */
  --font:"ヒラギノ丸ゴ ProN W4","Hiragino Maru Gothic ProN","Zen Maru Gothic",
         "BIZ UDPGothic",Meiryo,"Helvetica Neue",Arial,sans-serif;
}

/* --- リセット -------------------------------------------------------- */
*,*::before,*::after{box-sizing:border-box}
html{scroll-behavior:smooth;-webkit-text-size-adjust:100%;
  scroll-padding-top:84px} /* 固定ヘッダーの下に見出しが隠れないように */
body{
  margin:0;padding:0;
  font-family:var(--font);
  font-size:15px;line-height:1.85;letter-spacing:.04em;
  color:var(--ink);background:var(--white);
  overflow-x:hidden;
}
h1,h2,h3,p,ul,figure,table{margin:0;padding:0}
ul{list-style:none}
img,svg{max-width:100%}
img{height:auto;display:block}
/* <picture> 自体は枠を作らせない。こうしないと flex / grid の子が
   img ではなく picture になり、幅や伸縮の指定が効かない。
   あわせて <source> を消す。display:contents にすると source まで
   子として数えられ、grid のセルを1つ余計に消費してしまうため
   （AVIFの出し分けには影響しない） */
picture{display:contents}
picture>source{display:none}
a{color:var(--navy);text-decoration:none}
a:hover{color:var(--blue)}
:focus-visible{outline:3px solid var(--blue);outline-offset:2px;border-radius:4px}

.sr-only{position:absolute;width:1px;height:1px;margin:-1px;padding:0;
  overflow:hidden;clip:rect(0 0 0 0);white-space:nowrap;border:0}
.skip{position:absolute;left:-9999px;top:0;z-index:100;background:var(--navy);
  color:#fff;padding:12px 20px;border-radius:0 0 8px 0}
.skip:focus{left:0;color:#fff}

.in{width:min(100% - 32px,1120px);margin-inline:auto}

/* アイコン（インラインSVG・線画） */
.i{width:1em;height:1em;fill:none;stroke:currentColor;stroke-width:2.2;
  stroke-linecap:round;stroke-linejoin:round;flex:none}

/* 肉球（見出しの先頭マーク） */
.paw{display:inline-block;width:1em;height:1em;margin-right:.35em;
  background:url(../img/paw.svg) no-repeat 50%/contain;vertical-align:-.12em}

/* --- ヘッダー -------------------------------------------------------- */
.hd{position:sticky;top:0;z-index:50;background:var(--white);
  box-shadow:0 2px 12px rgb(12 95 182 / .08)}
.hd__bar{width:min(100% - 24px,1160px);margin-inline:auto;
  min-height:60px;display:flex;align-items:center;gap:12px}
.hd__logo{flex:1 1 auto;min-width:0;line-height:0}
.hd__logo img{width:min(240px,100%);height:auto}
.hd__nav{display:none}
.hd__tel{
  flex:none;display:grid;place-items:center;
  width:var(--tap);height:var(--tap);border-radius:50%;
  background:var(--blue);color:#fff;
}
.hd__tel .i{width:20px;height:20px}
.hd__telNo{display:none}

/* --- ヒーロー -------------------------------------------------------- */
.hero{
  position:relative;
  background:var(--sky) url(../img/paw-bg.svg) repeat 0 0;
  background-size:90px 90px;
  padding:24px 0 48px;
}
/* 下端の白いスカラップ（画像を使わずCSSで描く：0バイト） */
.hero::after{
  content:"";position:absolute;left:0;right:0;bottom:-1px;height:12px;
  background:radial-gradient(circle at 10px 12px,var(--white) 6.5px,#0000 7px) repeat-x 0 0/20px 12px;
}
.hero__in{width:min(100% - 24px,1120px);margin-inline:auto;
  display:flex;flex-direction:column;gap:16px}

/* メインビジュアル。現行の画像をそのまま使う（文字は画像に入っている）。
   スマホでは文字が2行に入る切り出しに差し替える */
.mv{margin:0;line-height:0}
/* スマホ用の切り出しは角が四角いのでCSSで丸める。
   PC用の画像は角丸が焼き込まれているので768px以上では0に戻す */
.mv img{width:100%;height:auto;display:block;border-radius:24px}

/* 帯の下に並ぶ3枚のカード */
.status3{display:flex;flex-direction:column;gap:10px}
.stCard{
  display:flex;flex-direction:column;justify-content:center;
  min-height:72px;box-sizing:border-box;
  background:var(--white);border:3px solid var(--sky-2);
  border-radius:20px;padding:12px 20px;color:var(--ink);
}
.stCard__label{font-size:13px;font-weight:700;color:var(--navy)}
.stCard__time{margin-left:8px;font-size:11px;font-weight:400;color:var(--gray)}

/* 今日の診療 */
.stCard .status{
  display:flex;align-items:center;flex-wrap:wrap;gap:2px 6px;
  background:none;box-shadow:none;border-radius:0;padding:0;
  font-weight:700;font-size:18px;
}
/* 受付時刻。括弧の途中で折り返さないよう、ひとかたまりで扱う */
.status__sub{
  font-size:13px;font-weight:700;color:#a2762f;white-space:nowrap;
}
.status__dot{width:11px;height:11px;border-radius:50%;flex:none;background:var(--gray)}
.status.is-open .status__dot{background:#2f9d87}
.status.is-closed .status__dot{background:#c2703a}

/* 今日の診療 ＋ 待ち人数（1枚にまとめた）
   待ち人数は受付時間内だけ出る。休診日に「休診です」と「0人待ち」が
   並ぶと矛盾して見えるため、時間外は app.js が要素ごと消す。 */
.stCard--today{gap:10px}
.stCard__main{display:flex;flex-direction:column}
.stCard__wait{
  display:flex;align-items:baseline;gap:10px;flex-wrap:wrap;
  padding-top:10px;border-top:2px dotted var(--sky-2);
}
.stCard__num{font-size:22px;font-weight:700;color:var(--navy);line-height:1.2;white-space:nowrap}
.stCard__num b{font-size:30px;font-weight:700}
.stCard__wait .stCard__time{margin-left:0;font-size:12px;color:var(--gray)}

/* はじめての方へ */
.stCard--first{
  flex-direction:row;align-items:center;justify-content:space-between;gap:12px;
  background:var(--cream);border-color:#ecdc9a;color:var(--brown);
}
.stCard--first:hover{background:#f5edc4;color:var(--brown)}
.stCard--first .stCard__body{display:flex;flex-direction:column}
.stCard--first .stCard__label{color:#8a5a18}
.stCard__first{font-size:17px;font-weight:700}
/* 日本語は文字どうしの間ならどこでも改行されるので、
   「11:30／17:00 まで」がバラけないようひとかたまりにする
   （Chrome以外で「で」だけ次行に落ちていた） */
.nb{white-space:nowrap}
.stCard--first .i{width:18px;height:18px;stroke-width:3;color:#a2762f;flex:none}

/* --- ボタン（全ページ共通） ------------------------------------------- */
.btn{
  display:inline-flex;align-items:center;justify-content:center;
  min-height:52px;padding:0 24px;
  border:3px solid var(--blue-lt);border-radius:26px;
  background:var(--white);color:var(--navy);
  font-weight:700;font-size:15px;text-align:center;
  cursor:pointer;font-family:inherit;
}
.btn:hover{background:var(--sky);color:var(--navy)}
.btn--fill{background:var(--blue);color:#fff}
.btn--fill:hover{background:var(--navy);color:#fff}
.btn--block{width:100%}
.btnRow{display:flex;flex-wrap:wrap;gap:12px}

/* --- セクション共通 --------------------------------------------------- */
.sec{padding:56px 0 0}
.sec--bottom{padding-bottom:8px}
.secHead{display:flex;flex-direction:column;margin-bottom:20px}
.secHead__en{font-size:11px;letter-spacing:.2em;font-weight:700;color:#5aa0cf}
.secHead__ja{font-size:24px;font-weight:700;display:flex;align-items:center}
.secHead--center{align-items:center;text-align:center}

.card{background:var(--white);border:3px solid var(--sky-2);
  border-radius:var(--r-l);padding:20px}
/* 受付時間の注意書き。見落とされると来院が無駄足になるので、
   時間そのものをマーカーで強調して目立たせる */
.card--cream{
  background:var(--cream-bg);border-color:#e6d28a;color:var(--brown);
  box-shadow:0 6px 20px rgb(168 120 30 / .12);
}

/* --- 診療時間 -------------------------------------------------------- */
.hours{display:flex;flex-direction:column;gap:16px}
/* スマホでは横スクロールさせない。
   列幅を固定し、見出しを「午前診／9:00～12:00」の2段に折って枠内に収める。
   白紙のときに横へ流れると、日曜・祝日の欄が見落とされるため。 */
.tableWrap{overflow-x:auto}
.timeTable{width:100%;table-layout:fixed;border-collapse:separate;border-spacing:1px;
  text-align:center;font-size:11px}
.timeTable th,.timeTable td{padding:8px 0;vertical-align:middle}
.timeTable thead th{background:var(--sky-2);font-weight:700;border-radius:5px}
.timeTable th:first-child{width:88px}
.timeTable tbody th{background:var(--cream);text-align:left;font-weight:700;
  padding-left:6px;border-radius:5px;line-height:1.35;letter-spacing:0}
/* 時刻は絶対に折り返させない。
   丸ゴシックが無い端末では別のフォントになって少し広くなるため、
   nowrap で2段を保証しつつ、列幅にも余裕（約20%）を持たせている。 */
.timeTable tbody th .tt__hr{display:block;font-size:10px;
  white-space:nowrap;letter-spacing:-.02em}
.timeTable tbody td{background:var(--cream);border-radius:5px}
.x__d{display:none}
.timeTable .o::before{content:"";display:block;width:13px;height:13px;margin:0 auto;
  background:url(../img/paw.svg) no-repeat 50%/contain}
.timeTable .x{background:#f0f0f0;color:var(--gray);font-size:11px;letter-spacing:0}
.note{margin-top:12px;font-size:13px;color:var(--gray)}

.hours__notes h3{
  display:flex;align-items:center;gap:8px;
  font-size:18px;font-weight:700;color:#9a5a18;
  margin:-2px 0 14px;padding-bottom:12px;
  border-bottom:2px dotted #e0c98a;
}
.hours__notes h3 .i{width:22px;height:22px;stroke-width:2.4;color:#c07a2a}
.hours__notes .pawList{font-size:15px;gap:12px}
/* 時刻はマーカーで引く */
.hours__notes b{
  font-weight:700;color:#8a3a12;
  background:linear-gradient(transparent 60%,#ffdf8a 60%);
  padding:0 2px;
}
.pawList{display:flex;flex-direction:column;gap:9px;font-size:14px;line-height:1.7}
/* li は grid にしない。<b> などのインライン要素が
   グリッドアイテムになって縦組みに崩れるため、
   マーカーは絶対配置で置く */
.pawList li{position:relative;padding-left:24px}
.pawList li::before{content:"";position:absolute;left:0;top:.45em;
  width:15px;height:15px;
  background:url(../img/paw.svg) no-repeat 50%/contain}

/* --- 当院について ----------------------------------------------------- */
.aboutHead__lead{font-size:15px;line-height:1.9;color:var(--brown);margin-bottom:24px}
.menu{display:flex;flex-direction:column;gap:12px}
.menu__card{
  display:grid;grid-template-columns:76px 1fr auto;
  align-items:center;column-gap:14px;
  background:var(--sky-3);border-radius:var(--r-m);padding:14px 16px;color:var(--ink);
}
.menu__card:hover{background:var(--sky);color:var(--ink)}
/* 現行サイトと同じ作り。
   ・写真の後ろに一回り大きい色つきの円（緑／水色／ピンク）を敷く
   ・丸い形は画像に焼き込まれているのでCSSでは切り抜かない
   ・枠の高さは写真の円の直径ぶん。下端を揃えるので、子猫のように
     円からはみ出した頭と前足は自然に上へ出る
   円は写真の110%（現行の 140px に対する 154px と同じ比率）。 */
.menu__img{position:relative;width:76px;height:76px;
  display:flex;align-items:flex-end;justify-content:center}
.menu__img::before{
  content:"";position:absolute;top:-5%;left:-5%;width:110%;height:110%;
  border-radius:50%;background:var(--ring,#e3f2fd);
}
.menu__img img{position:relative;width:100%;height:auto;max-width:none}
/* 現行サイトと同じ配色 */
.menu li:nth-child(1) .menu__img{--ring:#d2efc2}  /* 病院案内   */
.menu li:nth-child(2) .menu__img{--ring:#d6eaf9}  /* スタッフ紹介 */
.menu li:nth-child(3) .menu__img{--ring:#fcdee2}  /* 獣医師勤務表 */
.menu__ttl{font-size:18px;font-weight:700;color:var(--navy)}
.menu__more{display:grid;place-items:center;
  width:28px;height:28px;font-size:0;color:var(--blue)}
.menu__more .i{width:18px;height:18px;stroke-width:3}

/* --- お知らせ／アクセス ----------------------------------------------- */
.bottom{display:flex;flex-direction:column;gap:48px}
.news li+li{border-top:1px solid var(--sky)}
.news a{
  display:grid;grid-template-columns:1fr auto;align-items:center;gap:12px;
  min-height:var(--tap);padding:13px 2px;color:var(--ink);
}
.news a:hover{color:var(--navy)}
.news__date{grid-row:1;font-size:12px;font-weight:700;color:var(--navy);display:block}
.news__ttl{grid-row:2;grid-column:1;font-size:15px}
.news__arw{grid-row:1/3;grid-column:2;width:16px;height:16px;
  stroke-width:3;color:var(--blue)}

.insurance{margin-top:20px;display:flex;align-items:center;gap:16px;flex-wrap:wrap;
  border:3px solid var(--sky-2);border-radius:var(--r-m);padding:16px 18px}
.insurance img{width:210px;height:auto}
.insurance p{font-size:13px;line-height:1.6}

.access{padding:0;overflow:hidden;display:flex;flex-direction:column}
/* 地図は埋め込み（iframe）。案内図の画像は270pxしかなく、
   カード幅まで引き伸ばすとぼやけるため差し替えた。
   loading="lazy" なので、ここまでスクロールされて初めて読み込む。 */
.access__map{display:block;line-height:0;aspect-ratio:270/220}
.access__map iframe{width:100%;height:100%;border:0;display:block}
.access__body{padding:18px;display:flex;flex-direction:column;gap:14px}
.access__add{font-size:15px;line-height:1.75}
.btnRow--stack{display:flex;flex-direction:column;gap:8px;margin:0}
.access__sub{font-size:13px;color:var(--gray)}

/* --- フッター -------------------------------------------------------- */
.ft{
  position:relative;margin-top:64px;padding:52px 0 96px;
  background:var(--sky);
}
/* 現行のストライプ帯を画像ではなくCSSで（2.5KB -> 0バイト） */
.ft::before{
  content:"";position:absolute;left:0;right:0;top:0;height:30px;
  background:repeating-linear-gradient(-45deg,#eaf5fe 0 6px,#f4fafe 6px 12px);
}
/* 現行と同じく、PAGE TOPボタンのすぐ左に犬のシルエットを置く */
.ft__dog{
  position:absolute;top:-26px;right:calc(50% + 46px);width:56px;height:26px;
  background:url(../img/dog-sil.svg) no-repeat 0 0/contain;
}
.ft__pagetop{
  position:absolute;top:0;left:50%;transform:translateX(-50%);
  width:80px;min-height:56px;border-radius:0 0 40px 40px;
  background:var(--white);color:#3b8fd0;
  display:flex;flex-direction:column;align-items:center;justify-content:center;gap:2px;
  font-size:10px;font-weight:700;line-height:1.2;
}
.ft__pagetop .i{width:18px;height:11px;stroke:var(--blue-lt);stroke-width:3}
.ft__in{display:flex;flex-direction:column;gap:20px;text-align:center;
  align-items:center;padding-top:18px}
.ft__id img{margin-inline:auto}
.ft__id p{margin-top:10px;font-size:13px;line-height:1.9}
.ft__id a{color:var(--ink)}
.ft__nav ul{display:flex;flex-wrap:wrap;justify-content:center;gap:8px 20px;
  font-size:13px;font-weight:700}
.ft__nav li a{display:inline-flex;align-items:center;min-height:36px}
.copyright{margin-top:10px;font-size:10px;letter-spacing:0;color:var(--gray)}

/* --- モバイルのタブバー ------------------------------------------------ */
.tabbar{
  position:fixed;left:12px;right:12px;bottom:12px;z-index:60;
  height:64px;background:var(--white);border-radius:32px;
  box-shadow:0 8px 24px rgb(12 95 182 / .22);
  display:grid;grid-template-columns:repeat(5,1fr);padding:0 6px;
}
.tabbar a{
  display:flex;flex-direction:column;align-items:center;justify-content:center;gap:1px;
  font-size:10px;font-weight:700;letter-spacing:0;line-height:1.3;color:var(--navy);
  border-radius:26px;margin:6px 0;
}
.tabbar a.is-current{background:var(--sky)}
.tabbar .i{width:22px;height:22px;stroke:#51ade2;stroke-width:1.75}

/* ==========================================================================
   タブレット以上
   ========================================================================== */
@media (min-width:768px){
  body{font-size:16px}
  .hero{padding:40px 0 64px}
  .hero__in{gap:24px}
  .mv img{border-radius:0}
  .status3{flex-direction:row;align-items:stretch}
  .stCard--today{flex:1 1 60%;flex-direction:row;align-items:center;gap:22px}
  .stCard--first{flex:1 1 40%}
  .stCard__main{flex:1 1 auto}
  .stCard__wait{
    flex:none;flex-direction:column;align-items:flex-end;gap:0;
    padding:0 0 0 22px;border-top:0;border-left:2px dotted var(--sky-2);
  }
  .stCard{min-height:86px;padding:14px 24px;border-radius:22px}
  .stCard .status{font-size:19px}
  .status__sub{font-size:13px}
  .stCard__num{font-size:30px}
  .stCard__num b{font-size:38px}
  .stCard__first{font-size:18px}

  .sec{padding:72px 0 0}
  .secHead__ja{font-size:28px}
  .card{padding:28px}

  .hours{flex-direction:row;align-items:flex-start}
  .hours__table{flex:1 1 62%}
  .hours__notes{flex:1 1 38%}
  /* PCでは元どおり1行に戻す */
  .timeTable{font-size:15px;table-layout:auto;border-spacing:2px}
  .timeTable th,.timeTable td{padding:14px 4px}
  .timeTable th:first-child{width:auto;min-width:170px}
  .timeTable tbody th{padding-left:18px;letter-spacing:.04em}
  .timeTable tbody th .tt__nm{margin-right:.8em}
  .timeTable tbody th .tt__hr{display:inline;font-size:inherit;white-space:normal;letter-spacing:inherit}
  .timeTable .o::before{width:19px;height:19px}
  .timeTable .x{font-size:13px;letter-spacing:.04em}
  .x__d{display:inline}

  .menu{flex-direction:row;gap:20px}
  .menu li{flex:1 1 0}
  .menu__card{
    grid-template-columns:1fr;
    justify-items:center;text-align:center;row-gap:14px;padding:28px 24px;
  }
  .menu__img{width:130px;height:130px}
  .menu__ttl{font-size:21px}
  .menu__more{
    width:auto;height:auto;font-size:14px;font-weight:700;
    display:inline-flex;align-items:center;gap:6px;
    min-height:40px;padding:0 20px;border-radius:20px;
    background:var(--white);border:3px solid var(--blue-lt);
  }

  .bottom{flex-direction:row;gap:48px;align-items:flex-start}
  .bottom__news{flex:1 1 58%}
  .bottom__access{flex:1 1 42%}
  .news a{grid-template-columns:104px 1fr auto;padding:15px 2px}
  .news__date{grid-row:1;grid-column:1}
  .news__ttl{grid-row:1;grid-column:2;font-size:16px}
  .news__arw{grid-row:1;grid-column:3}

  .ft{padding:56px 0 40px}
  .ft__dog{top:-30px;width:64px;height:30px}
  .ft__pagetop{min-height:70px}
  .access__map{aspect-ratio:270/175}
  .ft__in{flex-direction:row;justify-content:space-between;align-items:flex-end;
    text-align:left;padding-top:24px}
  .ft__id img{margin-inline:0}
  .ft__nav{display:flex;flex-direction:column;align-items:flex-end}
  .ft__nav ul{gap:22px;font-size:14px}

  .tabbar{display:none}
}

/* ==========================================================================
   デスクトップ
   ========================================================================== */
@media (min-width:1024px){
  .hd{background:#0000;box-shadow:none;padding-top:20px}
  .hd__bar{
    background:var(--white);border-radius:38px;
    min-height:72px;padding:0 14px 0 26px;gap:24px;
    box-shadow:0 8px 24px rgb(12 95 182 / .10);
  }
  .hd__logo{flex:0 0 auto}
  .hd__logo img{width:274px}
  .hd__nav{display:flex;flex:1 1 auto;justify-content:center;gap:4px}
  .hd__nav a{display:inline-flex;align-items:center;min-height:var(--tap);
    padding:0 14px;border-radius:22px;font-weight:700;font-size:15px}
  .hd__nav a:hover{background:var(--sky);color:var(--navy)}
  .hd__tel{
    width:auto;height:52px;border-radius:26px;padding:0 24px;gap:8px;
    display:inline-flex;align-items:center;
    font-weight:700;font-size:19px;letter-spacing:.04em;color:#fff;
  }
  .hd__tel:hover{background:var(--navy);color:#fff}
  .hd__telNo{display:inline}

  .hero{margin-top:-92px;padding:112px 0 96px}
  .hero__in{gap:28px}

  .sec{padding:96px 0 0}
  .secHead__ja{font-size:32px}

  .aboutHead{display:grid;grid-template-columns:minmax(0,2fr) minmax(0,3fr);
    gap:56px;align-items:center;margin-bottom:36px}
  .aboutHead .secHead{margin-bottom:0}
  .aboutHead__lead{margin-bottom:0;font-size:16px}

  .menu{gap:28px}
  .menu__img{width:140px;height:140px}
  .hours{gap:28px}

  .ft{margin-top:120px}
}

/* ==========================================================================
   下層ページ共通
   ========================================================================== */
.pageTit{
  position:relative;
  background:var(--sky) url(../img/paw-bg.svg) repeat 0 0;
  background-size:90px 90px;
  padding:28px 0 40px;margin-bottom:8px;
}
.pageTit::after{
  content:"";position:absolute;left:0;right:0;bottom:-1px;height:12px;
  background:radial-gradient(circle at 10px 12px,var(--white) 6.5px,#0000 7px) repeat-x 0 0/20px 12px;
}
.pageTit h1{display:flex;flex-direction:column;line-height:1.3}
.pageTit .en{order:-1;font-size:11px;letter-spacing:.2em;font-weight:700;color:#4a90c4}
.pageTit .ja{font-size:28px;font-weight:700;display:flex;align-items:center}
.pageTit .ja::before{content:"";display:inline-block;width:.9em;height:.9em;margin-right:.35em;
  background:url(../img/paw.svg) no-repeat 50%/contain}

.lead{font-size:15px;line-height:1.95;color:var(--brown)}
.sec--pad{padding:44px 0 0}
.blockTit{font-size:19px;font-weight:700;color:var(--navy);margin-bottom:6px}

/* --- 病院案内 ---------------------------------------------------------- */
.feature{display:flex;flex-direction:column;gap:20px;
  background:var(--sky-3);border-radius:var(--r-l);padding:20px;margin-top:8px}
.feature__img{width:100%;height:auto;border-radius:var(--r-m);aspect-ratio:490/280;object-fit:cover}
.feature__body{display:flex;flex-direction:column;gap:14px;align-items:flex-start}
.feature__body p{font-size:15px;line-height:1.95;color:var(--brown)}

.rooms{display:flex;flex-direction:column;gap:20px}
.room{background:var(--white);border:3px solid var(--sky-2);border-radius:var(--r-l);
  overflow:hidden;display:flex;flex-direction:column}
.room__img{width:100%;height:auto;aspect-ratio:5/3;object-fit:cover}
.room__body{padding:18px 20px}
.room__body p{font-size:14px;line-height:1.85}

.facilities{display:flex;flex-direction:column;gap:14px}
.fcl{display:grid;grid-template-columns:84px 1fr;gap:14px;align-items:start;
  background:var(--sky-3);border-radius:var(--r-m);padding:16px}
.fcl__img{width:84px;height:84px;border-radius:14px;object-fit:cover}
.fcl__tit{font-size:15px;font-weight:700;color:var(--navy);line-height:1.5}
.fcl__tit span{display:block;font-size:12px;color:var(--gray);font-weight:400}
.fcl p{font-size:13px;line-height:1.75;margin-top:4px}

/* --- スタッフ紹介 ------------------------------------------------------- */
.staff{display:flex;flex-direction:column;gap:20px}
.staffCard{background:var(--white);border:3px solid var(--sky-2);
  border-radius:var(--r-l);padding:22px 20px;
  display:flex;flex-direction:column;align-items:center;gap:16px}
.staffCard--head{background:var(--sky-3)}
.staffCard__img{width:160px;height:160px;border-radius:50%;object-fit:cover;
  border:5px solid var(--white);box-shadow:0 8px 20px rgb(12 95 182 / .12);flex:none}
.staffCard__body{width:100%;display:flex;flex-direction:column;gap:10px}
.staffName{display:flex;flex-wrap:wrap;align-items:baseline;gap:8px;justify-content:center}
.staffName .pos{font-size:12px;font-weight:700;color:#fff;background:var(--blue);
  padding:2px 12px;border-radius:999px}
.staffName .nm{font-size:21px;font-weight:700}
.staffName .en{font-size:11px;letter-spacing:.12em;color:#5aa0cf;font-weight:700}
.staffName .breed{font-size:12px;color:var(--gray)}
.staffName .sex{font-size:13px;font-weight:700;color:#e07a9a}
.degree{font-size:13px;font-weight:700;color:var(--teal);text-align:center}
.staffCard p{font-size:14px;line-height:1.9}

.subBlock{margin-top:4px;background:var(--sky-3);border-radius:var(--r-s);padding:14px 16px}
.staffCard--head .subBlock{background:var(--white)}
.subBlock h4{font-size:13px;font-weight:700;color:var(--navy);margin-bottom:6px;
  display:flex;align-items:center;gap:6px}
.subBlock h4::before{content:"";width:13px;height:13px;
  background:url(../img/paw.svg) no-repeat 50%/contain}
.profileList{display:grid;grid-template-columns:auto 1fr;gap:2px 12px;font-size:13px;line-height:1.7}
.profileList dt{font-weight:700;color:var(--navy);white-space:nowrap}
.profileList dd{margin:0}
.confList{display:flex;flex-wrap:wrap;gap:6px}
.confList li{font-size:12px;background:var(--white);border:2px solid var(--sky-2);
  border-radius:999px;padding:2px 12px}
.staffCard--head .confList li{background:var(--sky-3)}

.staffGrid{display:flex;flex-direction:column;gap:16px}
.staffGrid .staffCard{padding:20px 18px}
.staffGrid .staffCard__img{width:130px;height:130px}

/* --- 獣医師勤務表 ------------------------------------------------------- */
.calBar{display:flex;align-items:center;justify-content:space-between;gap:12px;margin-bottom:14px}
.calBar__now{font-size:22px;font-weight:700;color:var(--navy);letter-spacing:.06em}
.calBar__btns{display:flex;gap:8px}
/* 月送りボタンも現行と同じ色（通常 #66b0e4、今月 #67c0ab） */
.calBtn{display:inline-flex;align-items:center;justify-content:center;
  min-width:var(--tap);min-height:var(--tap);padding:0 14px;
  border:2px solid #fff;border-radius:22px;background:#66b0e4;
  color:#fff;font-weight:700;font-size:14px;cursor:pointer;font-family:inherit}
.calBtn:hover{background:#3b9adc}
#calToday{background:#67c0ab}
#calToday:hover{background:#4fa893}
.calBtn .i{width:16px;height:16px;stroke-width:3;stroke:#fff}

/* 配色は現行サイトと同じ。
   枠の地 #d1e8f8、罫線 #cde6f7、今日 #fcf9e8、日曜 #ea5a6a、土曜 #0f78e6 */
.calGrid{display:grid;grid-template-columns:repeat(7,minmax(0,1fr));gap:1px;
  background:#cde6f7;border:10px solid #d1e8f8;border-radius:10px;overflow:hidden}
.calGrid__dow{background:#d1e8f8;text-align:center;font-size:12px;font-weight:400;padding:7px 0}
.calGrid__dow.sun{color:#ea5a6a}
.calGrid__dow.sat{color:#0f78e6}
.calCell{background:var(--white);min-height:78px;padding:3px 2px;
  display:flex;flex-direction:column;gap:1px}
.calCell--out{background:#fafafa}
.calCell--today{background:#fcf9e8}
.calCell__d{font-size:12px;font-weight:400;text-align:right;padding:0 4px;color:var(--ink)}
.calCell--out .calCell__d{color:#bbb}
.calCell.sun .calCell__d{color:#ea5a6a}
.calCell.sat .calCell__d{color:#0f78e6}
/* 予定のラベル。地色は calendar.js が入れる（現行と同じ濃い色＋白文字） */
.calEv{font-size:10px;line-height:1.5;border-radius:3px;color:#fff;
  padding:1px 5px;overflow:hidden;text-overflow:ellipsis;white-space:nowrap}
.calNote{margin-top:14px;font-size:13px;color:var(--gray)}
.calMsg{margin-top:12px;background:var(--cream-bg);border-radius:var(--r-s);
  padding:14px 16px;font-size:13px;line-height:1.8;color:var(--brown)}

/* --- アクセス ---------------------------------------------------------- */
/* 地図。以前は案内図の画像を出してボタンで差し替えていたが、
   最初からGoogleマップを埋め込む形にした（js/map.js は不要になり削除） */
.mapBox{border:3px solid var(--sky-2);border-radius:var(--r-l);overflow:hidden;
  aspect-ratio:270/220}
.mapBox iframe{width:100%;height:100%;border:0;display:block}
.addList{display:grid;grid-template-columns:auto 1fr;gap:6px 16px;font-size:15px;
  margin-top:18px;line-height:1.8}
.addList dt{font-weight:700;color:var(--navy);white-space:nowrap}
.addList dd{margin:0}
.accessBottom{display:flex;flex-direction:column;gap:24px}
.accessBottom>img{width:100%;height:auto;border-radius:var(--r-m);
  aspect-ratio:490/280;object-fit:cover}
.traffic{display:flex;flex-direction:column;gap:18px}
.traffic .blockTit{display:flex;align-items:center;gap:8px}
.traffic .blockTit::before{content:"";width:18px;height:18px;flex:none;
  background:url(../img/paw.svg) no-repeat 50%/contain}
.traffic p{font-size:14px;line-height:1.95}

@media (min-width:768px){
  .pageTit{padding:36px 0 52px}
  .pageTit .ja{font-size:34px}
  .sec--pad{padding:64px 0 0}
  .lead{font-size:16px}

  .feature{flex-direction:row;align-items:center;gap:32px;padding:28px}
  .feature__img{width:400px;flex:none}

  .rooms{gap:24px}
  .room{flex-direction:row;align-items:stretch}
  .room:nth-child(even){flex-direction:row-reverse}
  /* 画像はカードの高さいっぱいに伸ばす */
  .room__img{width:340px;flex:none;aspect-ratio:auto;height:auto;
    align-self:stretch;object-fit:cover;min-height:180px}
  .room__body{flex:1 1 auto;padding:24px 28px;
    display:flex;flex-direction:column;justify-content:center}

  .facilities{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:18px}
  .fcl{grid-template-columns:100px 1fr;gap:16px;padding:18px}
  .fcl__img{width:100px;height:100px}
  .fcl__tit{font-size:16px}

  .staffCard{flex-direction:row;align-items:flex-start;gap:28px;padding:28px}
  .staffCard__img{width:180px;height:180px}
  .staffCard__body{width:auto;flex:1 1 auto}
  .staffName{justify-content:flex-start}
  .degree{text-align:left}
  .staffGrid{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:20px}
  .staffGrid .staffCard{flex-direction:column;align-items:center;text-align:center}
  .staffGrid .staffCard .staffName{justify-content:center}
  .staffGrid .staffCard__img{width:150px;height:150px}
  .animals{grid-template-columns:repeat(2,minmax(0,1fr))}
  .animals .staffCard{flex-direction:row;align-items:center;text-align:left}
  .animals .staffCard .staffName{justify-content:flex-start}
  .animals .staffCard__img{width:120px;height:120px}

  .calBar__now{font-size:26px}
  .calCell{min-height:108px;padding:6px 5px}
  .calCell__d{font-size:13px}
  .calEv{font-size:11px;padding:2px 6px}
  .calGrid__dow{font-size:13px;padding:9px 0}

  .accessTop{display:grid;grid-template-columns:minmax(0,1fr) minmax(0,1fr);
    gap:40px;align-items:center}
  .mapBox{aspect-ratio:4/3}
  .traffic{flex-direction:row;gap:32px}
  .traffic>div{flex:1 1 0}
  .accessBottom{display:grid;grid-template-columns:360px minmax(0,1fr);gap:32px;align-items:start}
}

@media (min-width:1024px){
  .pageTit{margin-top:-92px;padding:124px 0 56px}
  .sec--pad{padding:80px 0 0}
  .facilities{gap:22px}
  .staffCard__img{width:200px;height:200px}
}

/* ==========================================================================
   お知らせ（/topics/ のCGIが出力する一覧）
   マークアップは topics/tmpl/*.html 側。CGI本体は変更していない。
   ========================================================================== */
.newsList{display:flex;flex-direction:column;gap:14px}
.topic{background:var(--sky-3);border-radius:var(--r-l);padding:20px}
.topic__date{font-size:13px;font-weight:700;color:var(--navy);margin-bottom:4px}
.topic__tit{font-size:18px;font-weight:700;line-height:1.6;margin-bottom:8px}
.topic__txt{font-size:15px;line-height:1.95;color:#2b332e;word-break:break-word}
.topic__txt a{text-decoration:underline}
.topic__txt img{max-width:100%;height:auto;border-radius:12px;margin-top:10px}

/* ページ送り（CGIが <ul class="pager"> を出力する） */
.pager{display:flex;flex-wrap:wrap;justify-content:center;gap:8px;
  margin-top:28px;padding:0;list-style:none}
.pager li{margin:0}
.pager a,.pager span{
  display:flex;align-items:center;justify-content:center;
  min-width:var(--tap);min-height:var(--tap);padding:0 12px;
  border-radius:22px;font-weight:700;font-size:15px;
}
.pager a{background:var(--white);border:3px solid var(--sky-2);color:var(--navy)}
.pager a:hover{background:var(--sky);color:var(--navy)}
.pager span{background:var(--blue);color:#fff;border:3px solid var(--blue)}

.backLink{margin-top:32px;display:flex;flex-wrap:wrap;gap:12px;justify-content:center}

/* キーワード検索 */
.findForm{background:var(--white);border:3px solid var(--sky-2);
  border-radius:var(--r-l);padding:20px;margin-bottom:24px;
  display:flex;flex-direction:column;gap:12px}
.findForm__row{display:flex;flex-wrap:wrap;align-items:center;gap:10px}
.findForm__label{font-size:14px;font-weight:700;color:var(--navy);flex:none}
.findForm__input,.findForm__select{
  min-height:var(--tap);box-sizing:border-box;
  border:2px solid var(--sky-2);border-radius:12px;padding:0 14px;
  font-family:inherit;font-size:15px;color:var(--ink);background:var(--white);
}
.findForm__input{flex:1 1 220px}

.errBox h2{font-size:19px;font-weight:700;margin-bottom:8px}
.errBox__msg{font-size:15px;line-height:1.9}

@media (min-width:768px){
  .topic{display:grid;grid-template-columns:120px minmax(0,1fr);gap:20px;padding:24px 28px}
  .topic__date{margin-bottom:0;padding-top:2px}
  .topic__tit{font-size:19px}
  .backLink{justify-content:flex-start}
}

/* --- 動きを減らす設定の尊重 -------------------------------------------- */
@media (prefers-reduced-motion:reduce){
  html{scroll-behavior:auto}
  *{transition:none!important;animation:none!important}
}

/* --- 印刷 -------------------------------------------------------------- */
@media print{
  .hd,.tabbar,.ft__pagetop,.btn{display:none}
  body{font-size:11pt;color:#000}
  .hero{background:none}
}
