@charset "UTF-8";



@keyframes slideOut {
    from {
        transform: translateY(0);
    }
    to {
        transform: translateY(-100%);
    }
}

/*ローディング*/
#loader {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100vh;
  z-index: 10;
  background-color: #FFEDDE;
  display: flex;
  align-items: center;
  justify-content: center;
   transition: transform 3s ease; /* スライドアニメーション */
}

#loader.hidden {
transform: translateY(-100%); /* 上にスライド */
  pointer-events: none; /* 非表示時のクリック無効化 */
}

.loader-slide {
  position: relative;
  width: 250px;
  height: 250px;
}

.loader-logo {
  position: absolute;
  top: 70%;
  left: 50%;
  transform: translate(-50%, -50%);
  max-width: 500px;
  height: auto;
  z-index: 2;
}

.rotating-wrapper {
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  width: 200px;
  height: 200px;
  z-index: 1;
}

.rotating-image {
  position: absolute;
  top: -70%;
  left: 50%;
  transform: translate(-50%, 0);
  max-width: 800px;
  height: auto;
  animation: rotate 20s linear infinite;
}

@keyframes rotate {
  from {
    transform: translate(-50%, 0) rotate(0deg);
  }
  to {
    transform: translate(-50%, 0) rotate(360deg);
  }
}





/* 内容 */
.top-img {
  position: relative;
  width: 100%;
  height: 80vh;
  overflow: hidden;
  display: flex;
  justify-content: center;
  align-items: center;
}

/* スライダー全体 */
.slider {
	margin-top: 80px;
  display: flex;
  width: 100%;
  height: 100%;
  position: absolute;
}

/* 各スライド */
.slide {
  position: absolute;
  width: 100%;
  height: 100%;
  background-size: cover;
  background-position: 70% center;
  clip-path: polygon(0 0, 100% 0%, 100% 70%, 50% 100%, 0 70%);
  opacity: 0;
  transition: opacity 1s ease-in-out;
}

/* アクティブなスライド */
.slide.active {
  opacity: 1;
}

/* h1のスタイル（テキストは固定） */
.top-img h1 {
  font-size: 2.5rem;
  line-height: 5rem;
  position: absolute;
  left: 30%;
  transform: translateX(-40%);
  padding: 10px;
  background: rgba(255, 255, 255, 0.5);
  backdrop-filter: blur(7px);
  border-radius: 5px;
  text-align: center;
  display: inline-block;
}

/* 画面幅が1100px以下のときの調整 */
@media screen and (max-width: 1100px) {
  .slide {
    clip-path: none;
  }
  
  .top-img h1 {
    font-size: 1.8rem;
    line-height: 3rem;
    left: 50%;
    top: 40%;
    transform: translateX(-50%);
	  width: 90%;
		max-width:350px;
  }
}




/* ルビ（rt）のスタイル */
.top-img rt {
  color: #F28688;
  font-size: 1.2rem;
  white-space: nowrap;
  text-align: center;
  display: ruby-text;
}


/*TOPテキスト*/
.top-text{
	width: 80%;
	margin: 80px auto 0;
}

.top-text span {
    font-size: 2rem;
    color: #FE9552;
    opacity: 0;
    transform: translateY(20px);
    transition: all 0.6s ease-out;
}

.top-text span.visible {
    opacity: 1;
    transform: translateY(0);
}

.top-text p{
	font-size: 1.5rem;
	line-height: 3rem;
	font-weight: 600;
	text-align: center;
}
@media screen and (max-width: 960px){
	.top-text{
		width: 90%;
	}
	.top-text p{
	font-size: 1.3rem;
	line-height: 2rem;

}
}


/*インスタバナー*/
.instagram{
	margin-top: 50px;
	width: 80%;
	margin: 50px auto 0;
}
.instagram img{
	background-color: #fff;
	border-radius: 20px;
	max-width: 450px;
	width: 90%;
}
/*お知らせ*/
.notice {
    width: 60%;
    margin: 50px auto 100px;
    background-color: #fff;
    border-radius: 20px;
    padding: 30px;
    border: 5px dashed #FE9552;
    animation: dashMove 2s linear infinite;
	text-align: left;
}

@keyframes dashMove {
    0% {
        border-style: dashed;
        border-offset: 0;
    }
    100% {
        border-offset: 20px;
    }
}

.notice h2{
	font-size: 2rem;
	color: #FE9552;
	margin: 10px 0;
	text-align: center;
	font-family:"ヒラギノ丸ゴ Pro W4","ヒラギノ丸ゴ Pro","Hiragino Maru Gothic Pro","ヒラギノ角ゴ Pro W3","Hiragino Kaku Gothic Pro","HG丸ｺﾞｼｯｸM-PRO","HGMaruGothicMPRO";
}
#new{
	color: #3C1E11;
	font-size: 1.5rem;
}
.notice dt{
	font-size: 1rem;
}
.notice dd{
	text-decoration: none;
	font-size: 1.5rem;
	color: #FE9552;
	
}
.notice dd:hover{
	color: #FE9552;
}
.notice a{
	text-decoration: none;
	color: #3C1E11;
	font-size: 1.5rem;
}
.notice a:hover{
	color: #FE9552;
}

@media screen and (max-width: 960px){
	.notice {
		width: 90%;}
}

/*保険医療機関における掲示事項*/

.hokeniryou{
	width: 70%;
	margin: 0 auto;
}
.hokeniryou h1 {
    display: inline-block; /* ボタン風に */
    background-color: #FE9552; /* 背景色 */
    padding: 12px 24px; /* 余白を大きめに */
    text-decoration: none; /* 下線を削除 */
    color: #fff; /* 文字色を白に */
    font-weight: bold; /* 文字を太く */
    font-size: 16px; /* 文字サイズ調整 */
    border-radius: 8px; /* 角を丸く */
    cursor: pointer; /* マウスオーバーでポインター変更 */
    text-align: center;
    transition: background-color 0.3s ease, transform 0.2s ease; /* なめらかな変化 */
    border: none; /* 枠線なし */
    box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1); /* 影をつける */
}

.hokeniryou h1:hover {
    background-color: #FFC263; /* ホバー時の背景色 */
    transform: translateY(-2px); /* 浮き上がる */
}

.hokeniryou h1:active {
    background-color: #E66A24; /* クリック時の背景色 */
    transform: translateY(1px); /* 少し沈む */
}

.hokeniryou p{
	margin-top: 10px;
	font-size: 1.2rem;
}

@media screen and (max-width: 800px){
	.hokeniryou{
	width: 90%;
	margin: 0 auto;
}
	.hokeniryou h1{
		padding: 7px 14px; /* 余白を大きめに */
	}
	.hokeniryou p{
		font-size: 1rem;
		line-height: 1.5rem;
	}
}

/*コンテンツ*/
.background-img {
    width: 100%;
    max-height: 40vh;
  margin-top: 100px;
	margin-bottom: 0;
}
.contents{
	display: flex;
	flex-wrap: wrap;
	background-color: #fff;
	margin-bottom: 50px;
}

/*共通デザイン*/
.houmon,.iryou,.about{
	width: 30%;
	min-width: 400px;
	margin: 50px auto;
	
	border-radius: 20px;
	padding: 50px 20px;
	position: relative;
	 opacity: 0;
  transform: translateY(50px);
  transition: opacity 0.6s ease, transform 0.6s ease;
}
@media screen and (max-width: 960px){
	.houmon,.iryou,.about{
		min-width: 200px;
	}
}
.show {
  opacity: 1;
  transform: translateY(0);
}
/* 遅延設定用クラス */
.houmon {
  transition-delay: 0.2s;
}

.iryou {
  transition-delay: 0.4s;
}

.about {
  transition-delay: 0.6s;
}

.houmon img,.iryou img,.about img{
	width: 100px;
}
.houmon h2,.iryou h2,.about h2{
 font-size: 1.5rem;
}
.houmon p,.iryou p,.about p{
 font-size: 1.2rem;
	text-align: left;
	margin-bottom: 20px;
}
.houmon a,.iryou a,.about a{
 font-size: 1.2rem;
	text-align: right;
	background-color: #FE9552;
	padding: 7px 20px;
	border-radius: 15px;
	text-decoration: none;
	position: absolute;
	right: 10px;
	bottom: 10px;
	color: #fff;
	font-weight: 700;
	font-weight: 500;
}
.houmon a:hover,.iryou a:hover,.about a:hover{
	background-color: #FFC263;
}
@media screen and (max-width: 1100px){
	.houmon,.iryou,.about{
		width: 87%;
		margin: 0 auto　50px;
	}
	.houmon a,.iryou a,.about a{
		right: 0px;
		margin-right: 50px;
		
	}
}


/*診療地域*/

.chiiki {
	max-width: 900px;
  width: 60%;
  margin: 150px auto 100px;
  justify-content: center;
  position: relative; /* relativeに変更 */

}
.chiiki-back{
	 background-color: #FFF7EE;
	 z-index: 0; 
	display: block;
}

.chiiki-01{
	display: flex;
}
.chiiki img{
	border-radius: 20px;
	max-width: 45%;
	object-fit: cover;
}

.chiiki h1{
	font-size: 1.5rem;
	margin-bottom: 20px;
}
.chiiki p{
	text-align: left;
	font-size: 1.2rem;
	font-weight: 700;
	margin-left: 20px;
}
@media screen and (max-width: 1100px){
	.chiiki-01{
	display: block;
}
	.chiiki {
		width: 90%;
		margin: 50px auto;
		
	}
	.chiiki img{
		max-width: 90%;
	}
	.chiiki p{
text-align: center;
		margin-top: 20px;
	font-size: 1rem;
		margin-left: 25px;
	
}
	
}
/*ロゴ回転*/

.rotate-svg {
  display: block;
  margin: 0 auto;
  width: 400px;
  height: auto;
  animation: reverse-rotate 30s linear infinite;
  position: absolute;
  top: -15%; /* 親要素の中心に配置 */
  left: -20%;
  transform: translate(-50%, -50%); /* 完全に中央寄せ */
  z-index: -5; /* 背面に配置 */
}

@keyframes reverse-rotate {
  0% {
    transform: rotate(0deg);
  }
  100% {
    transform: rotate(-360deg); /* 反時計回り */
  }
}
@media screen and (max-width: 800px){
	.rotate-svg{
		display: none;
	}
}



/*24h365日対応*/

.time{
	width: 80%;
	margin: 0 auto;
}
.time h1{
	font-size: 2rem;
	line-height: 3rem;
}
.time span{
	font-size: 3rem;
	color:  #FE9552;
}
.time p{
	font-size: 1.2rem;
}
@media screen and (max-width: 800px){
	.time h1{
		font-size: 1.5rem;
	}
}



/*Q&A*/
.Q-a-wrapper {
  position: relative;
 background-image: url("img/index-img/background-img01.png");
  overflow: hidden;
  margin: 100px auto;

}
.Q-a-wrapper::before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background-color: rgba(255, 255, 255, 0.6); /* 白色の半透明レイヤー */
  z-index: 1;
}

.Q-a-wrapper > * {
  position: relative;
  z-index: 2; /* コンテンツを半透明レイヤーの上に配置 */
}

.Q-a{
	background-color: #fff;
	border-radius: 30px;
	padding: 10px;
	max-width: 850px;
	margin:50px auto;
}
.Q-a h1 {
  margin-top: 50px;
  font-size: 1.5rem;
  color: #FC843A;
  font-weight: 700;
  position: relative;
  z-index: 1;
}

.Q-a h1::before {
  content: "Q&A"; /* 装飾テキスト */
  position: absolute;
  top: 50%; /* 縦位置調整 */
  left: 50%; /* 横位置調整 */
  transform: translate(-50%, -50%); /* 中央揃え */
  font-size: 6rem; /* 大きな文字サイズ */
  color: rgba(255,168,82,0.3); /* 半透明の黒色 */
  font-weight: bold;
  z-index: -1; /* 背後に配置 */
  pointer-events: none; /* テキストがクリックなどの操作を妨げないようにする */
}
.Qa-Box {
  width: 80%;
  margin: 0 auto;

}

.Qa-Box .Qa {
	max-width: 800px;
	margin: 0 auto;
  padding: 20px 0;
  border-bottom: 1px solid #c8c8c8;
}

.Qa-Box .Qa dt,
.Qa-Box .Qa dd {
  display: flex;
  align-items: baseline;
  margin: 15px 0;
}

.Qa-Box .Qa dt p {
  margin: 0;
  padding-left: 15px;
  font-size: 1.2rem;
  width: 100%;
	text-align: left;
}

.Qa-Box .Qa dd p {
  margin: 0;
  padding-left: 15px;
	font-size: 1.2rem;
  width: 100%;
	text-align: left;
}

.Qa-Box .Qa:last-of-type {
  border-bottom: none;
}

.Qa-Box .Qa dt::before {
  content: "Q";
  display: flex;
  justify-content: center;
  align-items: center;
  color: #fff;
  background: #6699b7;
  width: 2em;
  height: 2em;
	border-radius: 50%;
}

.Qa-Box .Qa dd::before {
  content: "A";
  display: flex;
  justify-content: center;
  align-items: center;
  color: #fff;
  background: #d65556;
  width: 2em;
  height: 2em;
	border-radius: 50%;
}

@media screen and (max-width: 960px) {
  .Qa-Box {
    width: 95%;
  }
}

/*地図*/
.map{
	
	width: 60%;
	margin: 0 auto ;
}
.map h1{
	font-size: 1.5rem;
	text-align: left;
}
.map p{
	text-align: left;
}

iframe{
	width: 100%;
	min-height: 400px;
}
@media screen and (max-width: 960px){
	.map{
		width: 90%;
	}
}


/* 犬のイラスト */
.car-dog {
  margin-top: 0;
  display: flex;
  align-items: center;
  justify-content: center;
  position: relative;
  overflow: hidden;

}

.car-dog-img {
  position: relative;
  transform: translateX(300%); /* 初期位置を画面外に設定 */
  transition: transform 3s ease-out; /* スライドアニメーション */
  width: 300px; /* 適切なサイズに調整 */
  z-index: 2; /* 犬の画像を前面に */
}

.car-dog.active .car-dog-img {
  transform: translateX(110%); /* 元の位置に移動 */
}

@media screen and (max-width: 960px){
	.car-dog.active .car-dog-img {
  transform: translateX(10%); /* 元の位置に移動 */
}
}