@charset "UTF-8";

/* ---------------------
  - *基本設定
  - *タイトル
  - *メインビジュアル
  - *バナーエリア
  - *医院概要
  - *ご挨拶
  - *診療案内
  - *当院の特徴
  - *病状・病名から探す
  - *医療コラム
  - *無限スライダー
--------------------- */
@import url("variables.css");

/* ==================================================================================================================================

  *基本設定

================================================================================================================================== */
.front {
  overflow: hidden;
}

section .inner {
  padding: 100px 40px;
  max-width: 1400px;
}

.text > *:not(:last-child) {
  margin-bottom: 2em;
}

.btn01 > * {
  width: 100%;
}

/* ----- パララックス ----- */
.parallax {
  position: relative;
  z-index: 1;
  width: 100%;
  height: 500px;
}

/* 切り抜く範囲 */
.parallax_img {
  position: absolute;
  top: 0;
  left: 0;
  z-index: -1;
  display: block;
  width: 100%;
  height: 100%;
  clip-path: inset(0);
}

/* 固定する画像 */
.parallax_img::before {
  content: "";
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
}

/* ==============================================
  *SP 基本設定
============================================== */
@media screen and (max-width: 640px) {
  section .inner {
    padding: 70px 20px;
  }

  /* ----- パララックス ----- */
  .parallax {
    height: 300px;
  }
}

/* ==================================================================================================================================

  *タイトル

================================================================================================================================== */
.top_title {
  margin-bottom: 50px;
  line-height: 1.5;
  text-align: center;
  font-family: var(--font-jp);

  /* 左寄せ */
}

.top_title.title_left {
  text-align: start;
}

.top_title h2 {
  font-size: 220%;
}

.top_title .eng {
  display: inline-block;
  color: var(--main-color);
  font-family: var(--font-en);
  font-size: 550%;
  line-height: 0.9;
}

/* ==============================================
  *SP タイトル
============================================== */
@media screen and (max-width: 640px) {
  .top_title {
    margin-bottom: 40px;
  }

  .top_title h2 {
    margin: 5px 0 0;
    font-size: 24px;
  }

  .top_title .eng {
    font-size: 500%;
  }
}

/* ==================================================================================================================================

  *メインビジュアル

================================================================================================================================== */
.mainvisual {
  position: relative;
  height: 750px;
  z-index: 1;
}

.mvSlider::before,
.mainvisual::after {
  position: absolute;
  content: '';
}

.mvSlider::before {
  left: 270px;
  bottom: 0;
  width: 230px;
  height: 205px;
  background: url(../images/mv_dog.png) no-repeat center / cover;
  z-index: 1;
}

.mainvisual::after {
  position: absolute;
  bottom: -50px;
  left: 0;
  z-index: -1;
  display: block;
  width: 100%;
  height: calc(100% - 120px);
  background: var(--bg-color);
}

.mvSlider {
  position: relative;
  z-index: 1;
  width: 100%;
  height: 100%;
}

/* スライダーのArrowボタン */
.mvSlider .sliderBtn {
  position: absolute;
  top: 50%;
  z-index: 10;
  display: flex;
  justify-content: center;
  align-items: center;
  width: 60px;
  height: 60px;
  padding: 3px;
  background: rgba(255, 255, 255, 0.6);
  border-radius: 50%;
  color: #ffffff;
  cursor: pointer;
  transform: translateY(-50%);
}

.mvSlider .sliderBtn span {
  display: flex;
  justify-content: center;
  align-items: center;
  width: 100%;
  height: 100%;
  background: var(--main-color);
  border-radius: 50%;
  transition: background 0.2s;
}

.mvSlider .sliderBtn:hover span {
  background: var(--text-color);
}

.mvSlider .sliderBtn span::before {
  font-family: "Font Awesome 5 Free";
  font-style: normal;
  font-weight: 900;
  color: #ffffff;
  font-size: 20px;
  transition: color 0.2s;
}

.mvSlider #mv_btnPrev.sliderBtn {
  left: 20px;
}

.mvSlider #mv_btnPrev.sliderBtn span::before {
  content: "\f104";
}

.mvSlider #mv_btnNext.sliderBtn {
  right: 20px;
}

.mvSlider #mv_btnNext.sliderBtn span::before {
  content: "\f105";
  right: 20px;
}

/* 各スライダーのボタンは非表示に */
.mvSlider .splide__arrows {
  display: none;
}

/* ---------- MVの画像 ---------- */
.mvImg {
  width: 100%;
  height: 100%;
}

.mvImg .splide__track {
  width: 100%;
  height: 100%;
}

.mvImg .splide__slide {
  position: relative;
  z-index: 1;
  overflow: hidden;
}

.mvImg img {
  width: calc(100% - 340px)!important;
  height: 100%;
  object-fit: cover;
  padding: 0 40px 0 0;
}

.fade .mvImg .splide__slide img {
  position: absolute;
  top: 0;
  right: 0;
  z-index: 1;
  /*height: calc(100% + 50px);*/
  pointer-events: none;
}

/* アニメーションを実行 */
.fade.move .mvImg .splide__slide img {
  animation: hideTranslate 8s ease-out forwards;
}

.fade.move .mvImg .splide__slide.is-active img {
  animation: showTranslate 8s ease-out forwards;
}

/*  ----- MVのアニメーション ----- */
@keyframes hideImg {
  0% {
    opacity: 1;
  }
  10% {
    opacity: 0;
  }
  100% {
    opacity: 0;
  }
}

@keyframes showTranslate {
  /* 下降 */
  0% {
    transform: translate3d(0, 0px, 0);
  }
  100% {
    transform: translate3d(0, -30px, 0);
  }
}

@keyframes hideTranslate {
  /* 下降 */
  0% {
    transform: translate3d(0, -30px, 0);
  }
  100% {
    transform: translate3d(0, 0px, 0);
  }
}

/* ---------- キャッチコピー ---------- */
.mvCatch {
  position: absolute !important;
  top: 47%;
  left: 0;
  width: 100%;
  transform: translateY(-50%);
  font-family: var(--font-jp);
  z-index: 3;
}

.mvCatch .inner {
  position: relative;
  max-width: none;
  z-index: 1;
}

.mvCatch .catch_box {
  padding: 65px 0 0 55px;
  writing-mode: vertical-rl;
  display: flex;
  flex-flow: column;
  gap: 10px;	
}

.mvCatch .catch_box p:nth-child(2) {
  display: block;
  margin-top: 40px;
}

.mvCatch .catch_box p:nth-child(3) {
  display: block;
  margin-top: 80px;
}

.mvCatch .catch_box p span {
  padding: 3px 0;
  font-size: 120%;
}

.mvCatch p {
  font-size: 160%;
  display: block;
  height: fit-content;
  padding: 30px 10px;
  border-radius: 5px;
  background: rgba(255, 255, 255, 0.95);
}

/* ---------- コンテンツ ---------- */
.mvContents {
  position: absolute !important;
  top: 0;
  z-index: 3;
  width: 100%;
  height: 100%;
}

.mvContents .inner {
  position: relative;
  z-index: 2;
  width: 100%;
  height: 100%;
  max-width: none;
}

.mvContents .splide__track {
  width: 100%;
  height: 100%;
}

.mv_bnr {
  display: flex;
  gap: 10px;
  position: absolute;
  bottom: 90px;
  right: 60px;
}

.mv_bnr > *:hover {
  opacity: 0.8;
}

.mv_bnr_online,.mv_bnr_diagnosis,.mv_bnr_first {
  width: 370px;
  height: 150px;
  /*border: 1px solid var(--line-color);*/
}

.mv_bnr_online {
  background: url(../images/bnr_01.jpg) no-repeat center / contain;
}

.mv_bnr_first {
  background: url(../images/bnr_03.png) no-repeat center / contain;	
}

.mv_bnr_diagnosis {
  display: flex;
  justify-content: center;
  position: absolute;
  bottom: 250px;
  right: 60px;
  background: url(../images/bnr_02.jpg) no-repeat center / contain;	
}

.mv_bnr_diagnosis_btn {
  display: flex;
  justify-content: center;
  position: absolute;
  bottom: 9px;
  gap: 10px;
}

.mv_bnr_diagnosis_btn a {
   position: relative;
   padding: 5px 45px 5px 35px;
   background: var(--btn-color);
   border: 1px solid var(--btn-color);
   color: #ffffff;
   font-family: var(--font-jp);
   border-radius: 5px;
}

 .mv_bnr_diagnosis_btn a::after {
  content: "";
  position: absolute;
  top: 50%;
  right: 10px;
  display: block;
  width: 15px;
  height: 15px;
  background: #fff;
  mask: url(../images/arrow.svg) no-repeat center / cover;
  -webkit-mask: url(../images/arrow.svg) no-repeat center / cover;
  transform: translateY(-50%);
  transition: right 0.2s, background 0.2s;
}

 .mv_bnr_diagnosis_btn a::after {
  content: "";
  position: absolute;
  top: 50%;
  right: 10px;
  display: block;
  width: 15px;
  height: 15px;
  background: #fff;
  mask: url(../images/arrow.svg) no-repeat center / cover;
  -webkit-mask: url(../images/arrow.svg) no-repeat center / cover;
  transform: translateY(-50%);
  transition: right 0.2s, background 0.2s;
}

 .mv_bnr_diagnosis_btn a:hover::after {
  right: 12px;
}


.open_bnr {
  position: absolute;
  bottom: 50px;
  display: inline-block;
  padding: 4px;
  background: rgb(255, 255, 255, 0.4);
  border-radius: 50%;
}

.open_bnr > * {
  display: flex;
  flex-flow: column;
  justify-content: center;
  align-items: center;
  width: 280px;
  height: 280px;
  padding: 15px;
  background: var(--main-color);
  border-radius: 50%;
  color: #ffffff;
  font-size: 110%;
  line-height: 1.5;
  text-align: center;
}

.open_bnr .date {
  font-size: 110%;
}

.open_bnr .open_text {
  margin: 0 0 10px;
  font-size: 180%;
}

.open_bnr .nairankai_tit {
  display: block;
  width: 100%;
  margin: 0 0 10px;
  padding: 5px 10px;
  background: #ffffff;
  border-radius: 300px;
  color: var(--main-color);
  font-size: 90%;
  text-align: center;
}

/* サブカラー */
.open_bnr.subcolor > * {
  background: var(--sub-color);
}

.open_bnr.subcolor .nairankai_tit {
  color: var(--sub-color);
}

/* ---------- RIBONバナー ---------- */
.mv_ribon {
  position: absolute;
  bottom: 70px;
  left: 60px;
}

.sp_only {
  display: none;
}

/*==============================================
  *SP メインビジュアル
==============================================*/
@media screen and (max-width: 640px) {
  .mainvisual {
    height: 400px;
  }

  .mainvisual::after {
    display: none;
  }

  .mvSlider::before {
    left: auto;
    right: 20px;
    width: 120px;
    height: 107px;
  }

  /* スライダーのArrowボタン */
  .mvSlider .sliderBtn {
    top: 50%;
    width: 40px;
    height: 40px;
    padding: 2px;
  }

  .mvSlider #mv_btnPrev.sliderBtn {
    left: 10px;
  }

  .mvSlider #mv_btnNext.sliderBtn {
    right: 10px;
  }

  .mvImg img {
    width: 100%!important;
    padding: 0;
  }
	
  .mvCatch {
    top: 50%;
  }
	
  .mvCatch .catch_box {
    padding: 0;
    gap: 5px;
  }

.mvCatch p {
	background: none;
	text-shadow: #fff 1px 1px 2px, #fff -1px 1px 2px, #fff 1px -1px 2px, #fff -1px -1px 2px;
    font-weight: bold;
}

  .mvCatch p {
    font-size: 110%;
    line-height: 0.75;
    padding: 10px;
  }

  .mvContents {
    display: none;
  }

  .sp_only {
    display: block;
    background: none !important;
  }

  .sp_only .inner {
    padding: 0 20px;
  }

  .sp_only_contents {
    display: flex;
    flex-flow: column;
    justify-content: center;
    align-items: center;
    gap: 10px;
    width: 100%;
  }

  .open_bnr {
    position: static;
  }

  .open_bnr {
    width: 100%;
    max-width: 350px;
    border-radius: 0;
  }

  .open_bnr > * {
    width: 100%;
    height: auto;
    padding: 15px 20px;
    border-radius: 0;
  }

  .mv_bnr {
    position: relative;
    right: 0;
    left: 0;
    bottom: 0;
    flex-wrap: wrap;
    margin: 0 auto 10px;
  }

  .mv_bnr_online,.mv_bnr_diagnosis,.mv_bnr_first {
    width: 100%;
  }

  .mv_bnr_diagnosis {
	position: relative;
	right: 0;
	bottom: 0;
    margin: 0 auto 10px;
  }
}

/* ==================================================================================================================================

  *バナーエリア

================================================================================================================================== */
/* ----- 共通設定 ----- */
.top_banner .banner_slide {
  display: flex;
  justify-content: center;
  align-items: center;
  height: 100%;
  color: var(--text-color);
}

/* 画像のみのバナー */
.top_banner .onlyimg .banner_slide {
  height: fit-content;
  padding: 0;
}

.top_banner .onlyimg .banner_slide img {
  width: 100%;
  height: auto;
  transition: opacity 0.2s;
}

.top_banner .onlyimg a.banner_slide:hover img {
  opacity: 0.5;
}

/* インプットバナー */
.top_banner .input .banner_slide {
  gap: 10px;
  width: 100%;
  height: 100%;
  padding: 15px;
  background: var(--bg-color);
}

.top_banner .input .banner_slide .slide_img {
  flex-shrink: 0;
  width: calc(30% - 10px);
  height: 100%;
}

.top_banner .input a.banner_slide:hover {
  background: #f5f5f5;
}

.top_banner .input .slide_img {
  flex-shrink: 0;
  width: calc(30% - 10px);
  height: 100%;
}

.top_banner .input .banner_slide .slide_img img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.top_banner .input .slide_inner {
  width: 100%;
  height: 100%;
  padding: 0 0 10px;
}

.top_banner .input .slide_title {
  margin: 0 auto 10px;
  padding: 5px;
  border-bottom: 1px solid var(--line-color);
  color: var(--main-color);
  font-size: 110%;
  line-height: 1.5;
}

.top_banner .input .slide_content {
  font-size: 90%;
}

/* ----- グリッドバナー ----- */
.banner_grid ul {
  display: flex;
  flex-flow: wrap;
  gap: 20px;
}

.banner_grid li {
  display: flex;
  justify-content: center;
  align-items: center;
  width: calc(33.3333333333% - 13.3333333333px);
}

/* ----- スライダーバナー ----- */
#bannerSlider .splide {
  position: relative;
  z-index: 1;
}

#bannerSlider .splide__inner {
  position: relative;
  z-index: 1;
  padding: 0 20px;
}

/* スライドの設定  */
#bannerSlider .splide__slide {
  display: flex;
  align-items: center;
  min-height: 200px;
}

/* スライダーのArrowボタン */
#bannerSlider .bannerSlider_arrow {
  position: absolute;
  top: 50%;
  z-index: 10;
  display: flex;
  justify-content: center;
  align-items: center;
  width: 45px;
  height: 45px;
  padding: 3px;
  background: rgba(255, 255, 255, 0.6);
  border-radius: 50%;
  color: #ffffff;
  cursor: pointer;
  transform: translateY(-50%);
}

#bannerSlider .bannerSlider_arrow i {
  display: flex;
  justify-content: center;
  align-items: center;
  width: 100%;
  height: 100%;
  padding: 0 0 1px 0;
  background: var(--main-color);
  border-radius: 50%;
  font-size: 80%;
  transition: background 0.2s;
}

#bannerSlider .bannerSlider_arrow:hover i {
  background: var(--text-color);
}

#bannerSlider .bannerSlider_arrow_prev {
  left: 0;
}

#bannerSlider .bannerSlider_arrow_prev span::before {
  content: "\f104";
}

#bannerSlider .bannerSlider_arrow_next {
  right: 0;
}

#bannerSlider .bannerSlider_arrow_next span::before {
  content: "\f105";
}

/* ページネーション */
#bannerSlider .bannerSlider_pagination {
  z-index: 1;
  display: flex;
  gap: 15px;
  margin: 30px auto 0;
}

#bannerSlider .bannerSlider_page {
  width: 10px;
  height: 10px;
  background-color: #e8e8e8;
  border-radius: 50%;
  transition: background 0.2s;
}

#bannerSlider .bannerSlider_page.is-active {
  background: var(--main-color);
}

/* ==============================================
  *SP バナーエリア（追加コンテンツ）
============================================== */
@media screen and (max-width: 640px) {
  /* ----- グリッドバナー ----- */
  .banner_grid li {
    width: 100%;
    max-width: 400px;
    margin: 0 auto;
  }

  /* ----- スライダーバナー ----- */
  #bannerSlider .splide__inner {
    position: relative;
    z-index: 1;
    padding: 0 15px;
  }

  /* スライダーのArrowボタン */
  #bannerSlider .bannerSlider_arrow {
    width: 40px;
    height: 40px;
  }

  #bannerSlider .bannerSlider_arrow i {
    padding: 0 0 1px 0;
  }

  /* ページネーション */
  #bannerSlider .bannerSlider_pagination {
    gap: 12px;
    margin: 20px auto 0;
  }

  #bannerSlider .bannerSlider_page {
    width: 8px;
    height: 8px;
  }
}

/*==================================================================================================================================

  *医院概要（パターン02）

==================================================================================================================================*/
.clinic {
  position: relative;
  z-index: 1;
  background: var(--bg-color);
}

/* ----- お知らせ ----- */
.clinic .news {
  position: relative;
  z-index: 1;
}

.clinic .news .inner {
  position: relative;
  z-index: 1;
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 80px;
  padding: 60px 40px 40px;
}

.clinic .news .news_left {
  flex-shrink: 0;
  width: 20%;
}

.clinic .news .top_title {
  margin: 0 0 30px;
}

.clinic .news .btn01 {
  margin-top: 30px;
  text-align: center;
}

/* ----- 医院概要 ----- */
.clinic .info .inner {
  display: flex;
  gap: 40px;
  padding: 30px 40px 80px;
}

.clinic .info .inner > * {
  width: calc(50% - 20px);
}

.clinic .info address > * {
  position: relative;
  z-index: 1;
  min-height: 40px;
}

.clinic .info address > *::before {
  position: absolute;
  top: 0;
  left: 0;
  display: flex;
  flex-shrink: 0;
  justify-content: center;
  align-items: center;
  width: 40px;
  height: 40px;
  padding: 0 0 0 2px;
  background: #eae5ca;
  border-radius: 50%;
  font-family: "Font Awesome 5 Free";
  font-weight: 900;
  color: var(--main-color);
  font-size: 16px;
}

.clinic .info address .location {
  padding: 5px 0 5px 50px;
}

.clinic .info address .location::before {
  content: "\f3c5";
}

.clinic .info address .location .zipcode {
  margin-right: 10px;
}

.clinic .info address .tel {
  margin-top: 15px;
  padding: 5px 0 35px 50px;
  font-size: 34px;
  line-height: 0.8;
  font-family: var(--font-num);
}

.clinic .info address .tel::before {
  content: "\f3cd";
}

.clinic .info address .fax {
  margin-top: 15px;
  padding: 5px 0 5px 50px;
  font-size: 30px;
  line-height: 1;
}

.clinic .info address .fax::before {
  content: "\f249";
}

.clinic .info address .note {
  margin-top: 20px;
  padding-left: 12px;
  font-size: 90%;
}

.clinic .info .speciality {
  display: flex;
  align-items: center;
  justify-content: center;
 /* gap: 20px;*/
  padding: 20px;
  background: #eae7d8;
  border-radius: 8px;
  font-family: var(--font-jp);
}

.clinic .info .speciality .title {
  flex-shrink: 0;
  width: fit-content;
  padding: 10px 30px;
  background: var(--main-color);
  color: #ffffff;
  text-align: center;
}

.clinic .info .office_hour:first-child {
  margin-top: 30px;
}

.clinic .info .list_access {
  margin-top: 5px;
}

.clinic .info .calendar_text {
  margin-top: 20px;
}

.clinic .info .btn01 {
  margin-top: 30px;
  text-align: center;
}

.clinic .info .googlemap iframe {
  height: 350px;
}

@media screen and (max-width: 640px) {

  .clinic .news .news_left {
    width: 100%;
  }

  .clinic .news .inner {
    flex-flow: column;
    gap: 0;
    padding: 60px 20px;
  }

  .clinic .info .inner {
    flex-flow: column;
    padding: 0 20px 70px;
  }

  .clinic .info .inner > * {
    width: 100%;
  }

  .clinic .info .speciality {
    flex-flow: column;
    gap: 10px;
    padding: 10px;
  }

  .clinic .info .speciality .title {
    width: 100%;
  }
}


/* ==================================================================================================================================

  *ご挨拶

================================================================================================================================== */
.greeting_box {
  position: relative;
  z-index: 1;
}

.greeting_flex {
  display: flex;
  gap: 50px;
}

.greeting_box:not(:last-child) {
  margin-bottom: 70px;
}

.greeting_left {
  flex-shrink: 0;
  width: 60%;
}

.greeting_text > *:not(:last-child) {
  margin-bottom: 2em;
}

.greeting_profile {
  padding: 20px;
  background: var(--main-color);
  color: #ffffff;
  line-height: 1.75;
  text-align: center;
}

.greeting_profile .position {
  font-size: 130%;
}

.greeting_profile .name {
  font-size: 150%;
}

.greeting_btn {
  margin-top: 50px;
  text-align: center;
}

/* ==============================================
  *SP ご挨拶
============================================== */
@media screen and (max-width: 640px) {
  .greeting_flex {
    flex-flow: column-reverse;
    gap: 25px;
  }

  .greeting_left {
    width: 100%;
  }

  .greeting_btn {
    margin-top: 40px;
  }
}



/* ==================================================================================================================================

  *診療案内（犬・猫）

================================================================================================================================== */
.medical_wrap {
  background: #e8e6de;
  background-image: radial-gradient(#f3f1eb 15%, transparent 15%), radial-gradient(#dedbcf 15%, transparent 15%);
  background-size: 25px 25px;
  background-position: 0 0, 13px 13px;
  border-top: 8px solid #fff;
}

.medical_wrap .inner {
  padding: 60px 40px 150px;
  max-width: 1500px;
}

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

.dog,.cat {
  width: calc(50% - 10px);
}

/*
.dog_list {
  padding: 0 0 0 50px;
}

.cat_list {
  padding: 0 50px 0 0;
}
*/

.dog_list,.cat_list {
  display: flex;
  flex-wrap: wrap;
  gap: 15px;
}

.dog_item,.cat_item {
  position: relative;
  z-index: 1;
  width: calc((100% / 3) - (30px / 3));
  height: auto;
  border-radius: 10px;
  overflow: hidden;
}

.dog_item:hover,
.cat_item:hover{
  transform: translateY(-3px);
  filter: drop-shadow(0 0 5px #ccc);
}

.dog_img,.cat_img {
  position: absolute;
  z-index: -1;
  top: 50%;
  left: 50%;
  width: 100%;
  height: 100%;
  transform: translate(-50%,-50%);
  transition: background 0.2s;
}

.dog_img img,.cat_img img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.dog_inner,.cat_inner {
  display: flex;
  flex-flow: column;
  align-items: center;
  justify-content: center;
  gap: 10px;
  width: 100%;
  height: 100%;
  min-height: 230px;
  padding: 20px 0 25px;
  border-radius: 10px;
  text-align: center;
  background: #fff/*rgba(255, 255, 255, 0.8)*/;
  position: relative;
  z-index: 0;
}

.dog_item:hover .dog_inner,
.cat_item:hover .cat_inner{
  background: rgb(255 255 255 / 90%);
} 

.dog_inner::after,.cat_inner::after{
  content: "";
  position: absolute;
  right: 9px;
  bottom: 0;
  display: block;
  width: 17px;
  height: 17px;
  background: #eeb722;
  mask: url(../images/arrow.svg) no-repeat center / cover;
  -webkit-mask: url(../images/arrow.svg) no-repeat center / cover;
  transform: translateY(-50%);
}

.cat_inner::after{
  background: #bce2e8;
}

.dog_inner > *:not(:last-child),
.cat_inner > *:not(:last-child) {
  margin-bottom: 15px;
}

.dog_icon,.cat_icon {
  width: 70%;
  max-width: 100px;
  margin-bottom: 10px!important;
  padding: 5px;
  border-radius: 50%;
}

.dog_icon{
  background: #f6e7b8;
}

.cat_icon{
  background: #d5eff4;
}

.dog_title h3,.cat_title h3 {
  color: var(--text-color);
  font-size: 110%;
  line-height: 1.4;
}

.dog_title_eng,.cat_title_eng {
  color: var(--main-color);
  font-size: 12px;
  line-height: 1;
  letter-spacing: 1px;
  text-align: center;
  -webkit-writing-mode: vertical-rl;
  -ms-writing-mode: tb-rl;
  writing-mode: vertical-rl;
  position: absolute;
  top: 13px;
  left: 13px;
}

.dog_text,.cat_text {
  color: var(--text-color);
}

.dog_btn span,
.cat_btn span {
  position: relative;
  z-index: 1;
  display: inline-block;
  margin: 0 auto;
  padding: 7px 25px 7px 15px;
  background: var(--main-color);
  border: 1px solid var(--main-color);
  color: #ffffff;
  letter-spacing: 1px;
  text-align: center;
  transition: padding 0.2s , color 0.2s , background 0.2s;
}

.dog_btn span::after,
.cat_btn span::after {
  content: "\f105";
  position: absolute;
  top: 50%;
  right: 10px;
  display: inline-block;
  font-family: "Font Awesome 5 Free";
  font-weight: 900;
  font-size: 10px;
  transform: translateY(-50%);
}

.dog_item:hover .dog_btn span,
.cat_item:hover .cat_btn span {
  background: #ffffff;
  color: var(--main-color);
}

/* 先頭が大きいタイプ */
.dog_item:first-of-type,
.cat_item:first-of-type {
  width: 100%;
  min-height: 350px;
}

.dog_item:first-child .dog_icon,
.cat_item:first-child .cat_icon {
  max-width: 200px;
  margin-bottom: 10px!important;
  padding: 0;
  background: none!important;
  z-index: 0;
}

.dog_item:first-child .dog_title h3,
.cat_item:first-child .cat_title h3 {
  font-size: 170%;
}

.dog_item:first-child .dog_title_eng,
.cat_item:first-child .cat_title_eng {
  font-size: 14px;
}

/*==============================================
  *SP　診療案内
==============================================*/
@media screen and (max-width: 640px) {
  .medical_wrap .inner{
    padding: 50px 20px 70px;
  }
  
  .medical_list_wrap{
    display: block;
  }

  .medical_list_wrap > div{
    width: 100%;
  }

  .dog{
    padding-bottom: 20px;
    width: 100%;
  }

  .cat {
    padding-bottom: 0;
    width: 100%;
  }

  .dog_list,
  .cat_list {
    gap: 10px;
  }

  .dog_item,
  .cat_item {
    width: calc(50% - 5px);
  }

  .dog_item:hover,
  .cat_item:hover {
    transform: translateY(-5px);
  }

  .dog_inner,
  .cat_inner {
    min-height: auto;
    padding: 20px 10px;
  }
	
  .dog_inner::after, .cat_inner::after{
    right: 5px;
    width: 13px;
    height: 13px;
  }

  .dog_icon,
  .cat_icon {
    width: 60%;
    margin-bottom: 0!important;
  }

  .dog_title h3,
  .cat_title h3 {
    font-size: 100%;
  }
	
  .dog_title_eng, .cat_title_eng {
    font-size: 10px;
  }
	
  /* 最初の1つ */
  .dog_item:first-of-type,
  .cat_item:first-of-type {
    width: 100%;
    min-height: auto;
  }

  .dog_item:first-of-type .dog_inner,
  .cat_item:first-of-type .cat_inner {
    padding: 20px 10px 30px;
  }

  .dog_item:first-of-type .dog_title h3,
  .cat_item:first-of-type .cat_title h3 {
    font-size: 130%;
  }

  .dog_item:first-of-type .dog_icon,
  .cat_item:first-of-type .cat_icon {
    padding: 5px;
    width: 30%;
  }
}

/* ==================================================================================================================================

  *当院の特徴（パターン01）

================================================================================================================================== */
.feature {
  position: relative;
  background: #fff9e7;
  z-index: 0;
}

.feature::before,
.feature::after{
  position: absolute;
  content: '';
  pointer-events: none;
}

.feature::before {
  top: -40px;
  left: 0;
  width: 1050px;
  height: 1000px;
  background: url(../images/top_feature_bg.png) center center / cover no-repeat;
  z-index: -1;
}

.feature::after {
  top: 30px;
  right: 0;
  width: 547px;
  height: 656px;
  background: url(../images/top_feature_bg02.png) center center / cover no-repeat;
  opacity: 0.8;
  z-index: -2;
}

@media screen and (max-width: 1580px) {
	.feature::after {
		max-width: 23%;
		background-size: contain;
		background-position: top center;
	}
}
.feature_list {
  display: flex;
  flex-flow: wrap;
/*   gap: 50px 20px; */
	gap: 50px 30px;
}

.feature_item {
  position: relative;
  display: flex;
  flex-flow: column;
/*   width: calc(25% - 15px); */
	width: calc(50% - 15px);
  height: auto;
}

.feature_num {
  margin: 0 0 0 !important;
  font-size: 150%;
}

.feature_num span {
  color: #8fc8d3;
  font-size: 250%;
  line-height: 1;
  font-family: var(--font-num);
  position: absolute;
  right: 20px;
  top: -30px;
  text-shadow: 3px 3px 0 #fff, 3px -3px 0 #fff, -3px 3px 0 #fff, 3px -3px 0 #fff, 0px 3px 0 #fff, -3px 0 #fff, -3px 0 0 #fff, 3px 0 0 #fff;
}

.feature_img img {
  border-radius: 8px 8px 0 0;
  box-shadow: 0px 0px 10px 0px rgb(237 234 223);
}

.feature_inner {
  display: flex;
  flex-flow: column;
  height: 100%;
  padding: 25px 20px 30px;
  background: #ffffff;
  border-radius: 0 0 8px 8px;
  box-shadow: 0px 0px 10px 0px rgb(237 234 223);
}

.feature_inner > *:not(:last-child) {
  margin-bottom: 30px;
}

.feature_inner p {
  line-height: 1.7;
}

.feature_title {
  display: flex;
  flex-flow: column;
  justify-content: center;
  min-height: 90px;
  margin-bottom: 25px !important;
  padding: 0 0 20px;
  border-bottom: 1px dashed var(--line-color);
}

.feature_title h3 {
  color: var(--text-color);
  font-size: 140%;
  line-height: 1.5;
  text-align: center;
}

.feature_item .btn01 {
/*   margin-top: auto; */
  text-align: center;
}

/* ---- 横並びボタン ----- */
.btnflex_feature {
  display: flex;
  flex-flow: wrap;
  align-items: center;
  gap: 5px;
  margin-top: auto;
}

.btnflex_feature .btn01 {
  width: calc(50% - 2.5px);
}

.btnflex_feature .btn01 > * {
  width: 100%;
}

@media screen and (max-width: 640px) {
  .feature_list {
    gap: 30px;
  }

  .feature_item {
    width: 100%;
  }

  .feature_num span {
    top: 20px;
  }

  .feature_title {
    min-height: auto;
    margin-bottom: 15px !important;
  }

  /* ---- 横並びボタン ----- */
  .btnflex_feature .btn01 {
    width: 100%;
  }
}

/* ==================================================================================================================================

  *病状、症状から探す

================================================================================================================================== */
.search {
/*   background: url(../images/search_bg01.jpg) no-repeat top left / 570px,
	   url(../images/search_bg02.jpg) no-repeat top right / 800px,
	   url(../images/search_bg03.png) no-repeat bottom left 50px / 500px; */
/*   border-top: 8px solid #fff; */
	  background: url(../images/search_bg03.png) no-repeat bottom left 50px / 500px;
}

.search .inner {
  position: relative;
  padding: 80px 40px;
}

.search .inner::before,
.search .inner::after{
  position: absolute;
  content: '';
  pointer-events: none;
  z-index: 1;
}

.search .inner::before {
  top: -50px;
  right: 100px;
  width: 180px;
  height: 174px;
  background: url(../images/search_dog.png) center center / cover no-repeat;
}

.search .inner::after {
/*   top: 290px; */
	top: 132px;
  left: 70px;
  width: 93px;
  height: 208px;
  background: url(../images/search_cat.png) center center / cover no-repeat;
}

.top_search_txt {
  font-family: var(--font-jp);
  max-width: 830px;
  margin: 0 auto 50px;
}

.search .tab_list {
  gap: 10px;
}

.search .tab_list .tab {
  padding: 25px 20px;
}

.search .panel {
  position: relative;
  z-index: 1;
  padding: 25px;
  background: rgb(161, 206, 213, 0.9);
  border-radius: 0 0 8px 8px;
}

.search_list {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  height: fit-content;
}

.search_list li {
  width: calc(33.3333333333% - 8.3333333333px);
  height: auto;
}

/* ----- リンクボタン ----- */
.search_list li a {
  position: relative;
  z-index: 1;
  display: flex;
  justify-content: center;
  align-items: center;
  width: 100%;
  height: 100%;
  min-height: 60px;
  padding: 20px 45px 20px 30px;
  background: #fff;
  color: var(--text-color);
  font-family: var(--font-jp);
  font-size: 110%;
  border-radius: 8px;
}

.search_list li a::before {
  content: "";
  position: absolute;
  top: 50%;
  right: 10px;
  display: block;
  width: 15px;
  height: 15px;
  background: rgb(161, 206, 213, 0.9);
  mask: url(../images/arrow.svg) no-repeat center / cover;
  -webkit-mask: url(../images/arrow.svg) no-repeat center / cover;
  transform: translateY(-50%);
  transition: right 0.2s, background 0.2s;
}

.search_list li a:hover::after {
  right: 12px;
}

/* ----- 画像あり ----- */
.panel_flex.active {
  display: flex;
  flex-flow: wrap;
  gap: 20px;
}

.search_img {
  width: calc(50% - 10px);
  margin: 0 !important;
}

.search_img img {
  border-radius: 8px;
}

.panel_flex .search_list {
  width: calc(50% - 10px);
}

.panel_flex .search_list li {
  width: calc(50% - 10px);
}

/* ==============================================
  *SP 病状、症状から探す
============================================== */
@media screen and (max-width: 640px) {
  .search {
/*     background: url(../images/search_bg01.jpg) no-repeat top left / 330px,
      url(../images/search_bg03.png) no-repeat bottom left -70px / 500px; */
	      background: url(../images/search_bg03.png) no-repeat bottom left -70px / 500px;
  }

  .search .inner::before {
    top: -30px;
    right: 40px;
    width: 100px;
    height: 95px;
  }

  .search .inner::after {
    top: -30px;
    left: 30px;
    width: 45px;
    height: 97px;
  }
	
  .search .tab_list {
    flex-flow: column;
    gap: 7px;
    margin: 0 0 8px;
  }

  .search .tab_list .tab {
    width: 100%;
    min-height: auto;
    padding: 5px !important;
    font-size: 120%;
    transform: translate(0, 0) !important;
    border-radius: 5px;
  }

  .search .panel {
    padding: 12px;
    border-radius: 5px;
  }

  .search_list {
    gap: 10px;
  }

  .search_list li {
    width: 100%;
  }

  .search_list li a {
    min-height: auto;
    padding: 6px 40px;
  }

  /* ----- 画像あり ----- */
  .search .panel_flex.active {
    gap: 20px;
  }

  .search_img {
    width: 100%;
  }

  .panel_flex .search_list {
    width: 100%;
  }

  .panel_flex .search_list li {
    width: 100%;
  }
}

/*==================================================================================================================================

  *お悩みの部位から探す - 追加コンテンツ

==================================================================================================================================*/
.body-parts {
  background: url(../images/top_body_search.jpg) no-repeat top center / 1920px,#fff9e7;
}

.body-parts .inner {
  padding: 90px 40px 140px;
}

.body-parts_wrap {
  position: relative;
  z-index: 1;
  max-width: 1400px;
  margin: 0 auto;
}

/* ----- 体の画像 ----- */
.body-parts_img {
  max-width: 482px;
  margin: 0 auto;
  padding: 50px 0;
}

/* ----- 各部位の共通設定 ----- */
.body_parts_list > li {
  position: absolute;
  display: block;
  padding: 15px;
  background: #fff;
  min-width: 310px;
  border-radius: 10px;
  box-shadow: 0px 0px 10px 0px rgb(237 234 223);
}

/* ----- 犬各部位の位置 ----- */
#body-parts1 .body_parts_title,
#body-parts2 .body_parts_title,
#body-parts3 .body_parts_title,
#body-parts4 .body_parts_title,
#body-parts5 .body_parts_title {
  background: #da9f00;
  border: 1px solid #da9f00;
}

#body-parts1 {
  top: -70px;
  left: 0;
}

#body-parts1 .body_parts_title::before {
  top: 80%;
  right: -194px;
  width: 200px;
  transform: rotate(20deg);
}

#body-parts2 {
  top: 60px;
  left: 0;
}

#body-parts2 .body_parts_title::before {
  top: 85%;
  right: -194px;
  width: 194px;
}

#body-parts3 {
  top: 191px;
  left: 0;
}

#body-parts3 .body_parts_title::before {
  top: 50%;
  right: -225px;
  width: 225px;
}

#body-parts4 {
  bottom: 117px;
  left: 0;
}

#body-parts4 .body_parts_title::before {
  top: 50%;
  right: -204px;
  width: 206px;
}

#body-parts5 {
  bottom: -14px;
  left: 0;
}

#body-parts5 .body_parts_title::before {
  top: 43%;
  right: -148px;
  width: 150px;
}

/* ----- 猫各部位の位置 ----- */

#body-parts6 {
  top: -70px;
  right: 0;
}

#body-parts6 .body_parts_title::before {
  top: 135%;
  left: -213px;
  width: 260px;
  transform: rotate(310deg);
}

#body-parts7 {
  top: 60px;
  right: 0;
}

#body-parts7 .body_parts_title::before {
  top: 140%;
  left: -182px;
  width: 200px;
  transform: rotate(327deg);
}

#body-parts8 {
  top: 191px;
  right: 0;
}

#body-parts8 .body_parts_title::before {
  top: 94%;
  left: -168px;
  width: 175px;
  transform: rotate(338deg);
}

#body-parts9 {
  bottom: 117px;
  right: 0;
}

#body-parts9 .body_parts_title::before {
  top: 80%;
  left: -170px;
  width: 170px;
}

#body-parts10 {
  bottom: -14px;
  right: 0;
}

#body-parts10 .body_parts_title::before {
  top: 46%;
  left: -170px;
  width: 170px;
}

/* ----- 各部位のタイトル ----- */
.body_parts_title {
  display: block;
  margin: 0 auto 20px;
  padding: 5px 15px;
  background: #8fc8d3;
  border: 1px solid #8fc8d3;
  color: #ffffff;
  font-size: 120%;
  text-align: center;
  font-family: var(--font-jp);
  border-radius: 8px;
}

.body_parts_title:hover {
  background: #ffffff!important;
  color: var(--main-color);
  border: 1px solid var(--main-color)!important;
}

.body_parts_title::before {
  content: "";
  position: absolute;
  display: block;
  height: 1px;
  background: #a7aaad;
}

/* -----　部位ごとの病状・病名　----- */
.body-parts_search {
  margin: 10px 0 0;
  display: flex;
  flex-wrap: wrap;
  gap: 0 10px;
}

.body-parts_search li {
  line-height: 1.5;
}

.body-parts_search li:not(:last-child) {
  margin-bottom: 5px;
}

.body-parts_search li a {
  font-size: 95%;
  background: #f3f1eb;
  padding: 10px;
  font-family: var(--font-jp);
  border-radius: 5px;
  color: var(--text-color);
}

.body-parts_search li a:hover {
  background: #f7f7f7;
}

.ore {
  color: #da9f00;
}

.sky {
  color: #8fc8d3;
}

/*==============================================
  *SP　お悩みの部位から探す（追加コンテンツ）
==============================================*/
@media screen and (max-width: 640px) {
  .body-parts .inner {
    flex-flow: column;
    gap: 0;
    padding: 80px 20px;
  }

  .body-parts_wrap {
    max-width: 450px;
  }

  .body-parts_img {
    width: 85%;
    padding: 0 0 40px;
  }

  /* ----- 各部位の共通設定 ----- */
  .body_parts_list {
    display: flex;
    flex-wrap: wrap;
    gap: 6px;
  }

  /* ----- 各部位の共通設定 ----- */
  .body_parts_list > li {
    padding: 8px;
    position: relative;
    min-width: inherit;
    width: calc(50% - 5px);
  }

  /* ----- 各部位の位置 ----- */
  #body-parts1 {
    top: 0;
    left: 0;
  }

  #body-parts2 {
    top: 0;
    right: 0;
  }

  #body-parts3 {
    top: 0;
    left: 0;
  }

  #body-parts4 {
    top: 0;
    right: 0;
  }

  #body-parts5 {
    top: 0;
    left: 0;
  }

  #body-parts6 {
    top: 0;
    right: 0;
  }

  #body-parts7 {
    top: 0;
    left: 0;
  }

  #body-parts8 {
    top: 0;
    right: 0;
  }

  #body-parts9 {
    bottom: 0;
  }

  #body-parts10 {
    bottom: 0;
  }

  .body-parts_search {
    gap: 5px;
    margin: 10px 0 0;
  }

  .body-parts_search li {
    min-width: 54px;
  }

  .body-parts_search li a {
    display: inline-block;
    padding: 5px;
    width: 100%;
    text-align: center;
  }

  /* ----- 各部位のタイトル ----- */
  .body_parts_title {
    padding: 10px 15px;
    margin-bottom: 10px;
    font-size: 110%;
    line-height: 1.5;
    min-height: 70px;
    display: flex;
    justify-content: center;
    align-items: center;
  }

  .body_parts_title::before {
    display: none;
  }

  /* -----　部位ごとの病状・病名　----- */
/*  .body-parts_search {
    display: none;
  }*/
}

/* ==================================================================================================================================

  *医療コラム（パターン01）

================================================================================================================================== */
.column {
  background: url(../images/column_bg01.png) no-repeat bottom left / 450px,
	   url(../images/column_bg02.png) no-repeat bottom right / 620px,
	   url(../images/column_bg03.png) no-repeat top right -10px / 215px,#fff9e7;
}

.column .inner {
	/*   padding: 0 40px 140px; */
	padding: 80px 40px 140px;
}

.column_list {
  display: flex;
  flex-flow: wrap;
  justify-content: center;
  gap: 50px 20px;
}

.column_box {
  width: calc(25% - 18.75px);
  border-radius: 8px;
  background: #ffffff;
  box-shadow: 0px 0px 10px 0px rgb(237 234 223);
}

.column_box dt a {
  display: block;
  padding: 20px 15px;
  background: #da9f00;
  color: #ffffff;
  font-size: 130%;
  font-weight: 500;
  text-align: center;
  border-radius: 8px 8px 0 0;
  font-family: var(--font-jp);
}

.column_box:nth-child(2) dt a {
  background: #8fc8d3;
}

.column_box:nth-child(3) dt a {
  background: #b6c8a7;
}

.column_box:nth-child(4) dt a {
  background: #dc959a;
}

.column_box dd {
  padding: 15px 10px;
  border-bottom: 1px dashed var(--line-color);
  text-align: center;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
  font-family: var(--font-jp);
}

.column_box dd:last-of-type {
  border: none;
}

.column_box dd a {
  color: var(--text-color);
}

.column_box dd a:hover {
  color: var(--main-color);
}

/* ==============================================
  *SP 医療コラム
============================================== */
@media screen and (max-width: 640px) {
  .column {
    background: url(../images/column_bg01.png) no-repeat bottom left / 450px,
    url(../images/column_bg03.png) no-repeat top right / 115px,#fff9e7;
  }
	
	.column .inner {
		/*     padding: 0 20px 80px; */
		padding: 80px 20px;
	}
	
  .column_list {
    gap: 20px;
  }

  .column_box {
    width: 100%;
  }
  
  .column_box dt a{
    padding: 15px;
  }
	
  .column_box dd{
    padding: 10px;
  }
	
}

/* ==================================================================================================================================

  *無限スライダー

================================================================================================================================== */
#infinitySlider {
  padding: 90px 0 30px;
}

.infinitySlider {
  position: relative;
}

.infinitySlider::before {
  position: absolute;
  content: '';
  top: -80px;
  right: 50px;
  width: 220px;
  height: 180px;
  background: url(../images/slider_dog.png) center center / cover no-repeat;
  pointer-events: none;
  z-index: 1;
}

#infinitySlider .splide__list {
  gap: 20px;
}

#infinitySlider .splide__slide {
  width: 380px !important;
}

/* ==============================================
  *SP 無限スライダー
============================================== */
@media screen and (max-width: 640px) {

  .infinitySlider::before {
    top: 0;
    right: 40px;
    width: 120px;
    height: 95px;
  }

  #infinitySlider .splide__slide {
    width: 200px !important;
  }
}
