/*
Theme Name: あさひ動物病院
Theme URI: http://www.asahivet.info/
Author: あさひ動物病院
Author URI: http://www.asahivet.info/
Description: あさひ動物病院のカスタムWordPressテーマ
Version: 1.0
License: GNU General Public License v2 or later
License URI: http://www.gnu.org/licenses/gpl-2.0.html
Text Domain: asahivet2025
Tags: custom, responsive
*/

@charset "utf-8";

/*slide.cssの読み込み
------------------------------------------------------------------------------------------------------------------------------------------------------*/
@import url(slide.css);

/*全端末（PC・タブレット・スマホ）共通設定
------------------------------------------------------------------------------------------------------------------------------------------------------*/

/*全体の設定
---------------------------------------------------------------------------*/
:root {
  --main-color: #7fcbaa;
  --sub-color: #0daa8b;
}

body {
  margin: 0px;
  padding: 0px;
  color: #333; /*全体の文字色*/
  font-family: "M PLUS Rounded 1c", "ヒラギノ角ゴ Pro W3",
    "Hiragino Kaku Gothic Pro", "メイリオ", Meiryo, Osaka, "ＭＳ Ｐゴシック",
    "MS PGothic", sans-serif; /*フォント種類*/
  font-size: 18px; /*文字サイズ*/
  line-height: 2; /*行間*/
  background: #faf9f1; /*背景色*/
  -webkit-text-size-adjust: none;
}
h1,
h2,
h3,
h4,
h5,
p,
ul,
ol,
li,
dl,
dt,
dd,
form,
figure,
form,
select,
input,
textarea {
  margin: 0px;
  padding: 0px;
  /* font-size: 100%; */
  font-size: 17px;
  font-weight: normal;
}
ul {
  list-style-type: none;
}
img {
  border: none;
  max-width: 100%;
  height: auto;
  vertical-align: middle;
}
table {
  border-collapse: collapse;
  /* font-size: 100%; */
  font-size: 17px;
  border-spacing: 0;
}
iframe {
  width: 100%;
}
video,
audio {
  max-width: 100%;
}

/*リンク（全般）設定
---------------------------------------------------------------------------*/
a {
  color: #333; /*リンクテキストの色*/
  transition: 0.5s; /*マウスオン時の移り変わるまでの時間設定。0.5秒。*/
}
a:hover {
  color: var(--sub-color); /*マウスオン時の文字色*/
  text-decoration: none; /*マウスオン時に下線を消す設定。残したいならこの１行削除。*/
}

/*container（footer以外を囲むブロック）
---------------------------------------------------------------------------*/
#container {
  /* max-width: 1500px; */
  margin: 0 auto;
  position: relative;
  padding: 0 10%; /*上下、左右へのボックス内の余白*/
}

/*ヘッダー（ロゴが入った最上段のブロック）
---------------------------------------------------------------------------*/
/*ヘッダーブロック*/
header {
  float: left; /*左に回り込み*/
  width: 20%; /*幅*/
  z-index: 10;
  position: sticky;
}
/*ロゴ画像ブロック*/
header #logo {
  margin-bottom: 50px; /*画像ブロックの下に空けるスペース*/
  background: var(--main-color); /*背景色*/
  border-radius: 0px 0px 10px 10px; /*角丸のサイズ。左上、右上、右下、左下の順番の指定。*/
}

/*メニューブロック
---------------------------------------------------------------------------*/
/*メニューブロック全体*/
.submenu {
  overflow: hidden;
  border-radius: 10px; /*角丸のサイズ*/
  border: 3px solid var(--main-color); /*枠線の幅、線種、色*/
  margin-bottom: 20px; /*ブロックの下に空けるスペース*/
}
/*メニュー１個あたりの設定*/
.submenu li {
  text-align: center; /*文字をセンタリング*/
  border-top: 1px solid #ccc; /*上の線の幅、線種、色*/
  font-size: 18px; /*文字サイズ*/
}
.submenu li a {
  display: block;
  text-decoration: none;
  padding: 25px 5px; /*上下、左右へのメニュー内の余白*/
  background: #fff; /*背景色*/
}
/*マウスオン時*/
.submenu li a:hover {
  background: #d3f2e5; /*背景色*/
}
/*１つ目のメニューへの追加指定*/
.submenu li:first-child {
  border: none; /*上の線を消す*/
}
/*飾り文字*/
.submenu li span {
  display: block;
  font-size: 11px; /*文字サイズ*/
  font-weight: normal; /*文字を太字でなく標準に戻す設定*/
  letter-spacing: 0.2em; /*文字間隔を少しあける設定*/
  color: var(--main-color); /*文字色*/
}

/* ハンバーガーメニューボタン
------------------------------------------------------------------------------------------------------------------------------------------------------*/
.hamburger-menu {
  position: fixed;
  top: 20px;
  right: 20px;
  width: 50px;
  height: 50px;
  border: 2px solid #fff;
  cursor: pointer;
  padding: 7px;
  display: none;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  gap: 4px;
  z-index: 1001;
  border-radius: 50%;
  background: var(--main-color);
}

.hamburger-line {
  width: 95%;
  height: 3px;
  background-color: #fff;
  border-radius: 2px;
  transition: all 0.3s ease-in-out;
}

/* アクティブ状態（Xアニメーション） */
.hamburger-menu.active .hamburger-line:nth-child(1) {
  transform: rotate(45deg) translate(4px, 4px);
}

.hamburger-menu.active .hamburger-line:nth-child(2) {
  opacity: 0;
}

.hamburger-menu.active .hamburger-line:nth-child(3) {
  transform: rotate(-45deg) translate(6px, -6px);
}

/* スライドメニュー */
.slide-menu {
  position: fixed;
  top: 0;
  right: -300px;
  width: 300px;
  height: 100vh;
  background: var(--main-color);
  transition: right 0.3s ease-in-out;
  z-index: 1000;
  box-shadow: -2px 0 10px rgba(0, 0, 0, 0.1);
  overflow-y: auto;
  overflow-x: hidden;
}

.slide-menu.active {
  right: 0;
}

.slide-menu-logo {
  display: block;
  margin-top: 80px;
  text-align: center;
}

.slide-menu-logo img {
  max-height: 180px;
}

.menu-list {
  list-style: none;
  padding: 0;
  margin: 0;
}

.menu-list li {
  margin: 0;
  padding: 15px 30px;
}

.menu-list a {
  display: inline-block;
  color: #fff;
  text-decoration: underline;
  font-size: 18px;
  font-weight: 500;
  transition: background-color 0.3s ease;
  text-underline-offset: 10px;
}

/* オーバーレイ */
.overlay {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100vh;
  background: rgba(0, 0, 0, 0.5);
  opacity: 0;
  visibility: hidden;
  transition: opacity 0.3s ease-in-out;
  z-index: 999;
}

.overlay.active {
  opacity: 1;
  visibility: visible;
}

/*contents
---------------------------------------------------------------------------*/
#contents {
  clear: both;
  overflow: hidden;

  display: flex;
  justify-content: space-between;
}

/*mainコンテンツ
---------------------------------------------------------------------------*/
/*mainブロック全体の設定*/
#main {
  float: right; /*右に回り込み*/
  width: 75%; /*ブロックの幅*/
}
/*トップページでのmainコンテンツへの追加設定*/
.home #main,
.single-notice #main {
  margin-top: 20%; /*上に空けるスペース。スライドショーとのバランスをとって設定して下さい。*/
}
/*mainコンテンツのh2タグ設定*/
#main h2 {
  clear: both;
  font-size: 30px;
  font-family: "M PLUS Rounded 1c", sans-serif;
  font-weight: 700;
  color: var(--sub-color);
  margin-bottom: 20px;
  padding: 12px 20px 12px 60px;
  background-image: url(images/nikukyu_main.png);
  background-repeat: no-repeat;
  background-position: 0 65%;
  background-size: 45px;
  line-height: normal;
  border-bottom: 2px dotted var(--sub-color);
}
/*mainコンテンツのh3タグ設定*/
#main h3 {
  color: var(--sub-color);
  position: relative;
  padding-left: 30px;
  margin-bottom: 1rem;
}

#main h3::before {
  content: "";
  position: absolute;
  left: 0px;
  top: 50%;
  transform: translateY(-50%);
  height: 1px;
  width: 20px;
  background-color: var(--sub-color);
}

/*mainコンテンツの段落タグ設定*/
#main p {
  padding: 0px 20px 20px; /*上、左右、下への余白*/
}
/*他。微調整。*/
#main p + p {
  margin-top: -5px;
}
#main h2 + p,
#main h3 + p {
  margin-top: -10px;
}
#main section + section {
  margin-top: 30px;
}

/*subコンテンツ
---------------------------------------------------------------------------*/
/*subブロック全体の設定*/
#sub {
  float: left; /*左に回り込み*/
  font-size: 14px; /*文字サイズ*/
  line-height: 1.5;
  width: 20%; /*ブロックの幅*/
}
#sub h2 {
  font-size: 18px; /*文字サイズ*/
  margin-bottom: 5px;
}
#sub h2::first-letter {
  border-left: 3px solid var(--main-color);
  padding-left: 10px;
}
#sub .box h2::first-letter {
  border-left: 3px solid #fff;
}

#sub h2:not(:first-child) {
  margin-top: 10px;
}

#sub address ul {
  list-style: disc;
  padding-left: 20px;
}

#sub .tel-img {
  max-width: 280px;
  width: 100%;
}

/*subコンテンツ内のbox
---------------------------------------------------------------------------*/
#sub .box {
  background: var(--main-color); /*背景色*/
  color: #fff; /*文字色*/
  padding: 20px; /*ボックス内の余白*/
  border-radius: 10px; /*角丸の指定*/
  margin-bottom: 20px; /*ボックスの下(外側)に空けるスペース*/
}
/*リンクテキストの文字色*/
#sub .box a {
  color: #fff;
}

/*subコンテンツ内のaddress
---------------------------------------------------------------------------*/
#sub address {
  font-style: normal; /*デフォルトで斜体になるのでノーマルに*/
}

/*フッター設定
---------------------------------------------------------------------------*/
footer {
  clear: both;
  padding-top: 40px;
  text-align: center;
  font-size: 85%;
}
footer .pr {
  display: block;
  font-size: 80%;
}

/*フッターメニュー
---------------------------------------------------------------------------*/
/*ボックス全体*/
#footermenu {
  padding: 10px;
}
/*メニュー１個あたり*/
#footermenu li {
  display: inline-block; /*横並びにさせる*/
  padding: 2px 10px; /*上下、左右への余白*/
}

footer .inner {
  display: flex;
  flex-wrap: wrap;
  gap: 20px;
  margin: 0 auto;
  padding: 50px;
  max-width: 1500px;
}

footer .inner address {
  text-align: left;
  font-style: normal;
  width: calc(50% - 20px);
}

footer .inner div .attention {
  text-align: left;
}

footer .inner h2 {
  font-size: 1.5rem;
  font-weight: bold;
}

#footer-logo a {
  display: flex;
  align-items: center;
  gap: 10px;
  text-decoration: none;
  color: var(--sub-color);
  font-size: 2rem;
}

#footer-logo a:hover {
  color: var(--sub-color);
}

footer .inner dl {
  display: flex;
  justify-content: space-between;
  align-items: start;
  flex-wrap: wrap;
}

footer .inner dt {
  width: 30%;
  margin: 0 0 5px;
  padding: 0 5px;
  background: #d3f2e5;
  border: 1px solid var(--sub-color);
  box-sizing: border-box;
  color: #333;
  font-weight: bold;
  text-align: center;
  border-radius: 6px;
}

footer .inner dd {
  width: calc(70% - 10px);
  margin: 0 0 5px;
  box-sizing: border-box;
}

footer .inner div {
  font-size: 17px;
  flex: 1 1 415px;
}

footer .inner .footer-tel {
  display: inline-block;
  width: 50%;
  max-width: 250px;
  margin-bottom: 20px;
}

.bt-map-wrapper {
  height: 30vh;
}

.bt-map-wrapper iframe {
  width: 100%;
  height: 100%;
}

.footer-address {
  margin-top: 10px;
}

/*コピーライト
---------------------------------------------------------------------------*/
#copyright {
  clear: both;
  background: #333; /*背景色*/
  color: #fff; /*文字色*/
}
#copyright a {
  text-decoration: none;
  color: #fff; /*文字色*/
}

/*トップページ内「更新情報・お知らせ」ブロック
---------------------------------------------------------------------------*/
/*ブロック全体の設定*/
#new dl {
  padding-left: 1rem;
  margin-bottom: 20px;
  display: flex;
  flex-wrap: wrap;
}
/*日付設定*/
#new dt {
  padding-top: 10px;
  width: 10em;
  color: var(--sub-color);
  letter-spacing: 0.1em;
}
/*記事設定*/
#new dd {
  padding-top: 10px;
  border-bottom: 1px solid #ccc;
  width: calc(100% - 10em);
}

#new dd h5 {
  margin-bottom: 5px;
  padding: 0px 20px 0;
  font-weight: bold;
}

/*listブロック
---------------------------------------------------------------------------*/
/*ブロック１個あたりの設定*/
.list {
  overflow: hidden;
  width: 26.4%; /*幅*/
  float: left; /*左に回り込み*/
  margin: 0 0 20px 2%; /*上、右、下、左へのボックスの外側に空けるスペース*/
  border: 1px solid #ccc; /*枠線の幅、線種、色*/
  box-shadow: 3px 4px 2px rgba(0, 0, 0, 0.1); /*ボックスの影。右へ、下へ、ぼかし幅、色。0,0,0は黒の事で、0.1は色が10%出た状態。*/
  padding: 2%; /*ボックス内の余白*/
  border-radius: 3px; /*角丸のサイズ。ほんの少し角が丸くなってます。*/
  background: #fff; /*背景色*/
}
.list a {
  display: block;
  text-decoration: none;
  overflow: hidden;
  margin: -2%; /*ボックスのマージン。リンク設定する場合に、上の.listのpaddingを相殺するため。*/
  padding: 2%; /*ボックス内の余白*/
  background: #fff url(images/arrow1.png) no-repeat right bottom / 40px; /*リンク設定した際の右下の矢印マークの読み込み。right（右）、bottom（下）、40pxは画像の幅。*/
}
/*マウスオン時の設定*/
.list a:hover {
  position: relative;
  left: 1px; /*マウスオン時に右に1px移動する*/
  top: 1px; /*マウスオン時に下に1px移動する*/
}
/*h4（見出し）タグの設定*/
.list h4 {
  color: var(--main-color); /*文字色*/
  font-size: 120%; /*文字サイズ*/
  text-align: center; /*文字をセンタリング*/
  height: 2em; /*高さ*/
  overflow: hidden; /*高さを超えた場合に非表示にする*/
}
/*p（段落）タグの設定*/
.list p {
  padding: 0 !important;
  line-height: 1.5; /*行間を少し狭くする。デフォルトは最上部のbodyにあります。*/
  font-size: 90%; /*文字サイズを少し小さく*/
  color: #333; /*文字色*/
  height: 6em; /*高さ。1.5emを１行分とカウントして下さい。6emなら４行です。*/
  overflow: hidden; /*高さを超えた場合に非表示にする*/
}

/*サムネイル画像の設定
---------------------------------------------------------------------------*/
.thumbnail {
  width: 70px; /*サムネイル画像の幅*/
  margin: 5px; /*画像同士に空けるスペース*/
  opacity: 0.7; /*透明度。色が70%出た状態。*/
}
/*マウスオン時*/
.thumbnail:hover {
  opacity: 1; /*透明度。色が100%出た状態。*/
}

/*よく頂く質問
---------------------------------------------------------------------------*/
/*外側ブロック*/
.faq {
  padding: 0px 20px; /*上下、左右への余白*/
}
/*質問*/
.faq dt {
  color: var(--main-color); /*文字色*/
  font-weight: bold; /*太字にする設定*/
  padding-left: 30px; /*背景アイコンに重ならないよう左に余白を作る*/
  background: url(../images/faq_q.png) no-repeat left top / 30px; /*「Q」アイコン*/
}
/*回答*/
.faq dd {
  padding-left: 30px; /*背景アイコンに重ならないよう左に余白を作る*/
  margin-bottom: 20px; /*ボックスの下側（外側）に空けるスペース*/
  padding-bottom: 20px; /*ボックス内の下側に空けるスペース*/
  border-bottom: 1px solid #ccc; /*下線の幅、線種、色*/
  background: url(../images/faq_a.png) no-repeat left top / 30px; /*「A」アイコン*/
}

/*テーブル
---------------------------------------------------------------------------*/
/*テーブル１行目に入った見出し部分（※caption）*/
.ta1 caption {
  border: 1px solid #ccc; /*テーブルの枠線の幅、線種、色*/
  border-bottom: none; /*下線だけ消す*/
  text-align: left; /*文字を左寄せ*/
  background: #eee; /*背景色*/
  color: #666; /*文字色*/
  font-weight: bold; /*太字に*/
  padding: 10px; /*ボックス内の余白*/
}
/*ta1設定*/
.ta1 {
  table-layout: fixed;
  width: 100%;
  margin: 0 auto 20px;
  background: #fff; /*背景色*/
  color: #666; /*文字色*/
}
.ta1,
.ta1 td,
.ta1 th {
  word-break: break-all;
  border: 1px solid #ccc; /*テーブルの枠線の幅、線種、色*/
  padding: 10px; /*ボックス内の余白*/
}
/*ta1の左側ボックス*/
.ta1 th {
  width: 140px; /*幅*/
  text-align: center; /*センタリング*/
}

/*テーブル（ta2）サブブロックの受付テーブルに使用。
---------------------------------------------------------------------------*/
/*テーブル１行目に入った見出し部分（※caption）*/
.ta2 caption {
  border: 1px solid #b7b7b7; /*テーブルの枠線の幅、線種、色*/
  border-bottom: none; /*下線だけ消す*/
  text-align: center;
  background: #fff; /*背景色*/
  color: #333;
  font-weight: bold; /*太字に*/
  padding: 10px; /*ボックス内の余白*/
}
/*ta2設定*/
.ta2 {
  table-layout: fixed;
  width: 100%;
  margin-bottom: 20px;
  text-align: center; /*センタリング*/
  background: #fff; /*背景色*/
  color: #333;
}
.ta2,
.ta2 td,
.ta2 th {
  word-break: break-all;
  border: 1px solid #b7b7b7; /*テーブルの枠線の幅、線種、色*/
}
/*曜日*/
.ta2 th {
  background: #fffbe3;
}

/*テーブル
---------------------------------------------------------------------------*/
.ta3 {
  table-layout: fixed;
  width: 95%;
  margin: 0 auto 20px;
  background: #fff; /*背景色*/
  color: #666; /*文字色*/
}

.ta3 th {
  width: 200px;
  background: #d3f2e5;
  text-align: left;
}

.ta3 th,
.ta3 td {
  border-top: solid 1px var(--sub-color);
  border-bottom: solid 1px var(--sub-color);
  padding: 10px 20px 10px;
  letter-spacing: 0.05em;
  line-height: 38px;
}

/*inputボタン
---------------------------------------------------------------------------*/
#main input[type="submit"].btn,
#main input[type="button"].btn,
#main input[type="reset"].btn {
  padding: 5px 10px;
  border: 1px solid #ccc;
  font-size: 18px;
  border-radius: 3px;
  background: #eee;
}
/*マウスオン時の設定*/
#main input[type="submit"].btn:hover,
#main input[type="button"].btn:hover,
#main input[type="reset"].btn:hover {
  border: 1px solid #999;
  background: #fff;
}

/*box（info1.htmlやstaff.htmlで使っている枠色がついたタイプのボックス）
---------------------------------------------------------------------------*/
/*box*/
#main .box {
  width: 90%;
  overflow: hidden;
  border: 3px solid var(--main-color); /*枠線の幅、線種、色*/
  padding: 20px; /*ボックス内の余白*/
  border-radius: 10px; /*角丸のサイズ。この１行を削除すれば角のとれた長方形になります。*/
  margin: 0 auto 20px;
  background: #fff; /*背景色*/
}
/*box内のh4タグ*/
#main .box h4 {
  color: var(--main-color); /*文字色*/
  font-size: 130%; /*文字サイズ*/
}
/*box内のpタグ*/
#main .box p {
  padding: 0 !important;
}
/*box内のfrとflスタイルのリセット*/
#main .box .fr,
#main .box .fl {
  margin-bottom: 0;
}

/*ページ内メニュー（info.htmlで使用）
---------------------------------------------------------------------------*/
/*ブロック全体*/
.menu {
  overflow: hidden;
  margin-bottom: 20px; /*下に空けるスペース*/
  text-align: center; /*内容をセンタリング*/
}
/*メニュー１個あたりの指定*/
.menu li {
  display: inline; /*横並びになる指定*/
  border-right: 1px solid #999; /*右側の線の幅、線種、色*/
}
.menu li a {
  padding: 10px; /*メニュー内余白*/
}
/*最初のメニューへの追加指定*/
.menu li:first-child {
  border-left: 1px solid #999; /*左側の線の幅、線種、色*/
}

/*PAGE TOP（↑）設定
---------------------------------------------------------------------------*/
/*アニメーションのキーグレーム設定（変更不要）*/
@keyframes scroll {
  0% {
    opacity: 0;
  }
  100% {
    opacity: 1;
  }
}
body .nav-fix-pos-pagetop a {
  display: block;
}
/*ボタンの設定*/
body.is-fixed-pagetop .nav-fix-pos-pagetop a {
  display: block;
  z-index: 100;
  position: fixed;
  width: 100px; /*幅*/
  bottom: 20px; /*下からの配置場所指定*/
  right: 2%; /*右からの配置場所指定*/
  animation-name: scroll; /*上のアニメーションで指定しているkeyframesの名前（scroll）*/
  animation-duration: 0.5s; /*アニメーションの実行時間*/
  animation-fill-mode: forwards; /*アニメーションの完了後、最後のキーフレームを維持する*/
  border-radius: 50%;
  background: var(--main-color); /*背景色（古いブラウザ用）*/
}
/*マウスオン時*/
/* body.is-fixed-pagetop .nav-fix-pos-pagetop a:hover {
  background: #fff;
} */

/*pdfアイコン
---------------------------------------------------------------------------*/
a[href$=".pdf"] {
  display: inline-block;
  background: url(../images/PDF_32.png) no-repeat right center;
  padding: 5px 40px 5px 0px;
}

/*トップページのNEWアイコン
---------------------------------------------------------------------------*/
.newicon {
  background: #f00; /*背景色*/
  color: #fff; /*文字色*/
  font-size: 70%;
  line-height: 1.5;
  padding: 2px 5px;
  border-radius: 2px;
  margin: 0px 5px;
  vertical-align: text-top;
}

/*checkブロック。赤い注意書きブロックです。
---------------------------------------------------------------------------*/
p.check {
  background: #ff0000;
  color: #fff;
  padding: 10px 25px !important;
  margin-bottom: 20px;
}
#sub p.check {
  padding: 5px !important;
}
p.check a {
  color: #fff;
}

/*ul.disc,olタグ
---------------------------------------------------------------------------*/
ul.disc {
  list-style: disc;
  padding: 0 20px 20px 40px;
}
ol {
  padding: 0 20px 20px 45px;
}

/*その他
---------------------------------------------------------------------------*/
.look {
  background: #eee;
  border: 1px solid #ccc;
  padding: 5px 10px;
  border-radius: 4px;
}

.mt10 {
  margin-top: 10px !important;
}
.mt20 {
  margin-top: 20px !important;
}

.mb15,
.mb1em {
  margin-bottom: 15px !important;
}
.mb10 {
  margin-bottom: 10px !important;
}
.mb20 {
  margin-bottom: 20px !important;
}
.mb30 {
  margin-bottom: 30px !important;
}
.mb50 {
  margin-bottom: 50px !important;
}
.clear {
  clear: both;
}
.color1,
.color1 a {
  color: var(--main-color);
}
.color2,
.color2 a {
  color: var(--sub-color);
}
.bgcolor1 {
  background: #f2f2f2 !important;
}
.bgcolor2 {
  background: #dbebf7 !important;
}
.pr {
  font-size: 10px;
}
.wl {
  width: 96%;
}
.ws {
  width: 50%;
}
.w40p {
  width: 40%;
}
.w30p {
  width: 30%;
}
.w20p {
  width: 20%;
}
.c {
  text-align: center;
}
.r {
  text-align: right;
}
.l {
  text-align: left;
}
.fr {
  float: right;
  margin-left: 2%;
  margin-bottom: 20px;
}
.fl {
  float: left;
  margin-right: 2%;
  margin-bottom: 20px;
}
.big1 {
  font-size: 24px;
  letter-spacing: 0.2em;
}
#sub .big1 {
  font-size: 20px;
  letter-spacing: normal;
}
.mini1 {
  font-size: 11px;
  display: inline-block;
  line-height: 1.5;
}
.sh {
  display: none;
}
.dn {
  display: none;
}
.attention {
  color: #e24a4f;
  font-weight: bold;
}

.fw-b {
  font-weight: bold;
}

.fs-80p {
  font-size: 80%;
}

.pc {
  display: block;
}

.sp {
  display: none;
}

.sm {
  display: block;
}

.xs {
  display: none;
}

/* 受付時間
------------------------------------------------------------------------------------------------------------------------------------------------------*/
.schedule_table {
  overflow: hidden;
  table-layout: fixed;
  width: 100%;
  border-collapse: separate;
  border-radius: 6px;
  border: 1px solid var(--sub-color);
  background: #fff;
}

.schedule_table thead th {
  /* border-top: 1px solid var(--sub-color); */
  /* border-right: 1px solid var(--sub-color); */
}

.schedule_table tr {
  border-bottom: 1px solid var(--sub-color);
}

.schedule_table tr th {
  border-right: 1px solid var(--sub-color);
  border-bottom: 1px solid var(--sub-color);
  padding: 8px 0;
  font-weight: bold;
}

.schedule_table tbody tr:last-child th {
  border-bottom: none;
}

.schedule_table tr th:last-child {
  border-right: none;
}

.home .schedule_table tr th {
  font-size: 90%;
}

.schedule_table tr td {
  border-right: 1px solid var(--sub-color);
  border-bottom: 1px solid var(--sub-color);
  text-align: center;
  padding: 5px;
  color: var(--sub-color);
}

.schedule_table tbody tr:last-child td {
  border-bottom: none;
}

.schedule_table tr td:last-child {
  border-right: none;
}

.schedule_table thead th {
  background: #d3f2e5;
  font-weight: bold;
}

.schedule_table thead th:first-child {
  width: 30%;
  text-align: center;
}

.schedule_note {
  font-size: 80%;
  margin-top: 0;
  padding: 0 !important;
  text-align: right;
}

.schedule_note span {
  color: var(--sub-color);
}

.schedule_bottom {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-top: 10px;
}

.close_time {
  display: flex;
  align-items: center;
  gap: 10px;
  font-size: 0.9rem;
  line-height: 1;
  /* margin-top: 15px; */
}

.close_time dt {
  border: 1px solid var(--main-color);
  padding: 3px 15px;
}

.shinryo-animal-img {
  max-width: 200px;
}

/* スタッフ紹介
------------------------------------------------------------------------------------------------------------------------------------------------------*/
h4.name {
  position: relative;
  font-size: 1.3rem;
  margin-bottom: 10px;
}

h4.name::before {
  content: "";
  display: block;
  position: absolute;
  top: 0;
  width: 4px;
  height: 100%;
  background: var(--sub-color);
}

#main h4.name p {
  padding-left: 20px;
}

h4.name span {
  font-size: 1rem;
  font-family: "Noto Sans Japanese", sans-serif;
  display: inline-block;
  margin-left: 25px;
}

img.director-img {
  max-height: 320px;
  width: 30%;
  object-fit: contain;

  float: right;
  margin-left: 2%;
  margin-bottom: 20px;
}

/* 経歴
------------------------------------------------------------------------------------------------------------------------------------------------------*/
#main .career {
  width: 90%;
  margin: 0px auto;
  padding: 20px;
  border: 2px var(--main-color) solid;
  border-radius: 10px;
  font-size: 90%;
}

#main .career h5 {
  color: var(--sub-color);
  font-weight: bold;
}

#main .career h5::before {
  content: "■";
  display: inline-block;
  margin-right: 5px;
  font-size: 80%;
}

#main .career p {
  padding: 0px 5px 5px;
}

/* 地図
------------------------------------------------------------------------------------------------------------------------------------------------------*/
.map-wrapper {
  text-align: center;
}

.map-wrapper iframe {
  width: 95%;
}

/* 診療のご案内 > 受付時間
------------------------------------------------------------------------------------------------------------------------------------------------------*/
.three_column.dl_sinryo {
  display: flex;
  justify-content: space-between;
  gap: 20px;
  flex-wrap: wrap;
}

.three_column.dl_sinryo div {
  flex: 1;
  /* border: var(--main-color) 2px solid;
  border-radius: 10px;
  background: #fff; */
}

.three_column.dl_sinryo dl {
  height: 100%;
  border: var(--sub-color) 1px solid;
  border-radius: 6px;
  background: #fff;
}

.dl_sinryo dl dt {
  background: #d3f2e5;
  text-align: center;
  color: #333333;
  padding: 5px 0;
  border-bottom: var(--sub-color) 1px solid;
  border-radius: 6px 6px 0 0;
}

.dl_sinryo dl dd {
  text-align: center;
  padding: 5px 10px;
  /* border-bottom: var(--sub-color) 1px solid;
  border-left: var(--sub-color) 1px solid;
  border-right: var(--sub-color) 1px solid;
  border-radius: 0 0 6px 6px; */
}

/* お問い合わせ
------------------------------------------------------------------------------------------------------------------------------------------------------*/
.two_grid {
  display: flex;
  display: -webkit-flex;
  flex-wrap: wrap;
  -webkit-flex-wrap: wrap;
  justify-content: space-between;
  -webkit-justify-content: space-between;
  width: 95%;
  margin: 0 auto;
}

.two_grid > * {
  width: calc(50% - 1.5%);
  margin-bottom: 20px;
}

.dl_contact dl {
  border-radius: 6px;
  background: #fff;
  border: var(--sub-color) 1px solid;
}

.dl_contact dl dt {
  background: #d3f2e5;
  text-align: center;
  color: #333333;
  padding: 5px 0;
  border-radius: 5px 5px 0 0;
  border-bottom: var(--sub-color) 1px solid;
}
.dl_contact dl dd {
  text-align: center;
  padding: 5px 10px 10px;
  border-radius: 0 0 6px 6px;
}

#main .dl_contact dl dd p {
  padding: 0px 20px 10px;
}

.telContent_wrap {
  width: 304px;
  margin: 6px auto 0 auto;
}

.telContent {
  display: flex;
  display: -webkit-flex;
  justify-content: space-between;
  -webkit-justify-content: space-between;
  font-size: 80%;
  align-items: baseline;
  -webkit-align-items: baseline;
}

.telContent:not(:last-child) {
  margin-bottom: 5px;
}

.telContent p:first-child {
  width: 72px;
  border: 1px solid var(--sub-color);
  line-height: 1.5em;
  padding: 0 !important;
}

.telContent p:last-child {
  width: calc(100% - 72px - 12px);
  text-align: left;
  line-height: 1.5em;
  padding: 0 !important;
}

p.caution {
  margin-top: 6px;
  text-align: left;
  font-size: 13px;
  padding-left: 1em;
  text-indent: -1em;
  line-height: 1.35em;
}

/*画面幅1100px以下の設定
------------------------------------------------------------------------------------------------------------------------------------------------------*/
@media screen and (max-width: 1100px) {
  /*container（footer以外を囲むブロック）
---------------------------------------------------------------------------*/
  #container {
    padding: 0 3%; /*上下、左右へのボックス内の余白*/
  }

  /*mainコンテンツ
---------------------------------------------------------------------------*/
  /*トップページでのmainコンテンツへの追加設定*/
  .home #main {
    margin-top: 15%; /*上に空けるスペース。スライドショーとのバランスをとって設定して下さい。*/
  }
}

/*画面幅900px以下の設定
------------------------------------------------------------------------------------------------------------------------------------------------------*/
@media screen and (max-width: 900px) {
  ol {
    padding: 0 20px 20px 35px;
  }

  /*ヘッダー（ロゴが入った最上段のブロック）
---------------------------------------------------------------------------*/
  /*ヘッダーブロック*/
  header {
    position: absolute;
    left: 3%; /*画面の左からの配置場所指定*/
    top: 0px; /*画面の上からの配置場所指定*/
  }
  /*ロゴ画像ブロック*/
  header #logo {
    width: 170px; /*ロゴ画像の幅*/
  }

  /*contents
---------------------------------------------------------------------------*/
  /*トップページのcontentsブロック*/
  .home #contents {
    padding-top: 50%; /*上のスライドショーとのバランスをとって下さい*/
  }
  /*トップページ以外のcontentsブロック*/
  #contents {
    padding-top: 200px;

    flex-direction: column;
  }

  /*メインメニュー
---------------------------------------------------------------------------*/
  /*アニメーションのフレーム設定。全100コマアニメーションだと思って下さい。透明(0%)から色を100%出すアニメーション指定。*/
  @keyframes menu1 {
    0% {
      opacity: 0;
    }
    100% {
      opacity: 1;
    }
  }
  /*PC用メニューを非表示にする*/
  #menubar {
    display: none;
  }

  .hamburger-menu {
    display: flex;
  }

  /*header,main,sub
---------------------------------------------------------------------------*/
  header,
  #main,
  #sub {
    float: none;
    width: auto;
    overflow: hidden;
  }

  .home #main {
    margin-top: -10%;
  }

  #sub {
    order: 1;
    /* margin-top: 50px; */
    font-size: 100%;
  }

  #sub .tel-img {
    max-width: 200px;
  }

  img.director-img {
    float: none;
    width: 100%;
  }

  #main .career {
    width: 85%;
  }

  .map-wrapper iframe {
    display: block;
    border: none;
    width: 93%;
    max-width: 100%;
  }

  /*フッター
---------------------------------------------------------------------------*/
  footer .inner {
    padding: 15px;
  }

  footer .inner address {
    width: 100%;
  }

  /*その他
---------------------------------------------------------------------------*/
  body.s-n #sub,
  body.s-n #side {
    display: none;
  }

  .schedule_bottom {
    flex-direction: column;
  }

  .schedule_note {
    text-align: left;
    font-size: 16px;
  }

  .ta3 {
    background: none;
  }

  .ta3 th,
  .ta3 td {
    border-bottom: none;
    display: block;
    width: 95%;
    padding: 10px 15px;
  }

  .ta3 td {
    background: #fff;
  }

  .ta3 tr:last-child td {
    border-bottom: solid 1px var(--sub-color);
  }

  .two_grid {
    flex-direction: column;
    gap: 15px;
  }

  .two_grid > * {
    width: 95%;
    margin: 0 auto;
  }

  .sp-fs-100p {
    font-size: 100% !important;
  }
}

/*画面幅600px以下の設定
------------------------------------------------------------------------------------------------------------------------------------------------------*/
@media screen and (max-width: 600px) {
  /*mainコンテンツ
---------------------------------------------------------------------------*/
  /*mainコンテンツのh2タグ設定*/
  #main h2 {
    padding: 10px 20px 10px 60px; /*上、右、下、左への見出し内の余白*/
  }

  #main .box {
    width: 85%;
  }

  /*PAGE TOP（↑）設定
---------------------------------------------------------------------------*/
  /*ボタンの設定*/
  body.is-fixed-pagetop .nav-fix-pos-pagetop a {
    width: 75px; /*幅*/
  }

  .three_column.dl_sinryo {
    flex-direction: column;
    gap: 15px;
  }
}

@media screen and (max-width: 576px) {
  .sm {
    display: none;
  }

  .xs {
    display: block;
  }
}

/*画面幅480px以下の設定
------------------------------------------------------------------------------------------------------------------------------------------------------*/
@media screen and (max-width: 480px) {
  /*全体の設定
---------------------------------------------------------------------------*/
  body {
    font-size: 12px;
    font-size: 2.93vw;
  }

  /*ヘッダー（ロゴが入った最上段のブロック）
---------------------------------------------------------------------------*/
  /*ロゴ画像ブロック*/
  header #logo {
    width: 150px; /*ロゴ画像の幅*/
  }
  /*contents
---------------------------------------------------------------------------*/
  /*トップページのcontentsブロック*/
  .home #contents {
    padding-top: 85%; /*上のスライドショーとのバランスをとって下さい*/
  }
  /*トップページ以外のcontentsブロック*/
  #contents {
    padding-top: 180px;
  }

  /*mainコンテンツ
---------------------------------------------------------------------------*/
  .home #main {
    margin-top: 0;
  }

  /*mainコンテンツのh3タグ設定*/
  #main h3::first-letter {
    border-left: none;
    padding-left: 0;
  }
  /*mainコンテンツの段落タグ設定*/
  #main p {
    padding: 0px 0px 20px; /*上、左右、下への余白*/
  }

  /*listブロック
---------------------------------------------------------------------------*/
  /*ブロック１個あたりの設定*/
  .list {
    overflow: hidden;
    width: 26.4%; /*幅*/
    float: left; /*左に回り込み*/
    margin: 0 0 20px 2%; /*上、右、下、左へのボックスの外側に空けるスペース*/
    border: 1px solid #ccc; /*枠線の幅、線種、色*/
    box-shadow: 3px 4px 2px rgba(0, 0, 0, 0.1); /*ボックスの影。右へ、下へ、ぼかし幅、色。0,0,0は黒の事で、0.1は色が10%出た状態。*/
    padding: 2%; /*ボックス内の余白*/
    border-radius: 3px; /*角丸のサイズ。ほんの少し角が丸くなってます。*/
  }
  .list a {
    display: block;
    text-decoration: none;
    overflow: hidden;
    margin: -2%; /*ボックスのマージン。リンク設定する場合に、上の.listのpaddingを相殺するため。*/
    padding: 2%; /*ボックス内の余白*/
    background: url(images/arrow1.png) no-repeat right bottom / 40px; /*リンク設定した際の右下の矢印マークの読み込み。right（右）、bottom（下）、40pxは画像の幅。*/
  }
  /*マウスオン時の設定*/
  .list a:hover {
    position: relative;
    left: 1px; /*マウスオン時に右に1px移動する*/
    top: 1px; /*マウスオン時に下に1px移動する*/
  }
  /*h4（見出し）タグの設定*/
  .list h4 {
    color: var(--main-color); /*文字色*/
    font-size: 120%; /*文字サイズ*/
    text-align: center; /*文字をセンタリング*/
    height: 2em; /*高さ*/
    overflow: hidden; /*高さを超えた場合に非表示にする*/
  }
  /*p（段落）タグの設定*/
  .list p {
    padding: 0 !important;
    line-height: 1.5; /*行間を少し狭くする。デフォルトは最上部のbodyにあります。*/
    font-size: 90%; /*文字サイズを少し小さく*/
    color: #333; /*文字色*/
    height: 6em; /*高さ。1.5emを１行分とカウントして下さい。6emなら４行です。*/
    overflow: hidden; /*高さを超えた場合に非表示にする*/
  }

  /*トップページ内「更新情報・お知らせ」ブロック
---------------------------------------------------------------------------*/
  /*ブロック全体の設定*/
  #new dl {
    flex-direction: column;
    padding-left: 10px;
    padding-right: 10px;
  }

  #new dt,
  #new dd {
    width: 100%;
  }

  #new dd h5 {
    padding: 0;
  }

  /*よく頂く質問
---------------------------------------------------------------------------*/
  .faq {
    padding: 0px;
  }
  .faq dt,
  .faq dd {
    background-size: 25px;
  }

  /*テーブル（ta1）
---------------------------------------------------------------------------*/
  /*テーブル１行目に入った見出し部分（※caption）*/
  .ta1 caption {
    padding: 5px; /*ボックス内の余白*/
  }
  /*ta1設定*/
  .ta1,
  .ta1 td,
  .ta1 th {
    padding: 5px; /*ボックス内の余白*/
  }
  /*ta1の左側ボックス*/
  .ta1 th {
    width: 100px;
  }

  /*その他
---------------------------------------------------------------------------*/
  .ws,
  .wl {
    width: 94%;
  }
  .big1 {
    font-size: 18px;
    letter-spacing: normal;
  }
  .sh {
    display: block;
  }
  .pc {
    display: none;
  }
}

/* ページネーション
------------------------------------------------------------------------------------------------------------------------------------------------------*/
.pagination {
  display: flex;
  justify-content: center;
  align-items: center;
  width: 100%;
  margin-top: 20px;
}

.pagination span:not(.dots) {
  margin: 0 12px;
  padding: 3px 12px;
  background-color: var(--sub-color);
  color: #fff;
  border: 2px solid var(--sub-color);
  border-radius: 2px;
  display: block;
}

.pagination a {
  margin: 0 12px;
  padding: 3px 12px;
  border: 2px solid var(--sub-color);
  border-radius: 2px;
  display: block;
  transition: all 0.3s linear;
  text-decoration: none;
  color: var(--sub-color);
}

.pagination a:hover {
  background-color: var(--sub-color);
  color: #fff;
}

button {
  -webkit-appearance: none;
  -moz-appearance: none;
  appearance: none;
  vertical-align: middle;
  border: 0;
  background: transparent;
  border-radius: 0;
  text-align: inherit;
}

button:hover {
  cursor: pointer;
}
