html {
	font-size: 62.5%;
}

body{
	margin: 0px;
	padding: 0px;
	font-size:1.6em;
}

h1{
	font-size: 3.6rem;
	font-weight: bold;	
}

h2{
	font-size:2.2rem;
}

h3{
	font-size:1.8rem
}

.title-main{
	font-size:0.8rem;
	text-align: left;
	font-weight: normal;
	text-align: left!important;
	padding-left: 18px;
}

p {
	font-size: 1.6rem;
}
.font-10 {
	font-size: 1.0rem;
	vertical-align : top;
}
.font14 {
	font-size: 1.4rem;
}

.font20 {
	font-size: 2rem;
}

.text-pink {
	color: rgb(236, 103, 181);
}

.text-yellow {
	color:rgb(238, 91, 140);
}
.text-sky {
	color:rgb(102, 228, 245);
}

.text-orange {
	color:rgb(255, 124, 36);
}

.bg-orange {
	background-color:rgb(255, 124, 36);
	border-radius: 5px;
}

.bg-orange-2 {
	background-color: rgb(255,245,238);
}

.bg-pink {
	background-color: rgb(236, 103, 181);
}

.page-title{
	color:rgb(255, 255, 255); 
	background-color:rgb(255, 124, 36); 
	font-weight: 300;
	border-radius:5px;
}

.page-subtitle{
	color:rgb(255, 124, 36); 
	font-weight: 100;
	font-size: 25px;
}


.border-orange{
	border: 2px solid rgb(255, 124, 36);
	border-left: none;
	border-right: none;
}

.border-orange-2{
	border: 1px solid rgb(255, 124, 36);
	border-radius: 20px 20px 20px 20px;
}

.border-orange-3{
	border: 2px solid rgb(255, 124, 36);
}

.border-orange-4{
	border: 3px solid rgb(255, 124, 36);
}

.border-orange-5{
	border: 1.5px dotted rgb(255, 124, 33);
	border-left: none;
	border-right: none;
	border-top: none;
}

.round-5 {
	border-radius: 5px;
}

.img-round-25 {
	border-radius: 25px/10px;
}

.pad-1 {
	padding: 20px 10px;
}

.pad-2 {
	padding: 10px;
}
/* ヘッダー始まり*/
.header-img-2{
	top: 2%;
	right: 0%; 
	z-index: 2;
	position: absolute;
}

.header-img-2-xl{
	top: 2%;
	right: 8%; 
	z-index: 2;
	position: absolute;
}

.header-img-1{
	top: 0; 
	left: 0;  
	right: 0;  
	bottom: 0; 
	margin: auto; 
	z-index: 2;
	position: absolute;
	
}

.top-image-main {
	height: 60vw;
}

.top-image-main-xl {
	height: 55vw;
}

.top-image-main-sp {
	height: 60vw;
}


#fadein {
	width: 100%;
	height: 100%;
}

.header-no-slide {
	width: 100%;
	height: 100%;
}

.header-no-slide-xl {
	width: 100%;
	height: 100%;
}

.header-no-slide img{
	width: 100%;
	height: auto;
}

.header-no-slide-xl img{
	width: 88%;
	height: auto;
}


/*メニュー幅*/
.jumbotron {
	padding-top: 30px;
	padding-bottom: 0px;
}



/*スライドショー始まり*/
.slide {
	width: 100%;
	height: 100%;
	overflow: hidden;
	z-index: 1;
  }
  
.slide-xl {
	width: 100%;
	height: 100%;
	overflow: hidden;
	z-index: 1;
}

.slide img {
	width: 100%;
	height: auto;
	opacity: 0;
	animation :slideshow 30s linear infinite;
	margin-bottom: 10px;
	animation-name: header_img_scroll;
	overflow: hidden;
}

.slide-xl img{
	top: 0; 
	left: 0;  
	right: 0;  
	bottom: 0;
	width: 88%;
	height: auto;
	opacity: 0;
	animation :slideshow 30s linear infinite;
	margin-bottom: 10px;
	animation-name: header_img_scroll;
	overflow: hidden;
}

  
@keyframes header_img_scroll{
	0%{
	  opacity: 0;
	}
	10%{
	  opacity: 1;
	}
	28%{
	  opacity: 1
	}
	38%{
	  opacity: 0;
		transform: scale(1.2)
	}
	100%{
	  opacity: 0;
	}
  
}
/* xl以外始まり */
.slide img:nth-child(2){
	animation-delay: 10s;
}
  
.slide img:nth-child(3){
	animation-delay: 20s;
}

/* xl以外終わり */

/* xl用始まり */
.slide-xl img:nth-child(2){
	animation-delay: 10s;
}
  
.slide-xl img:nth-child(3){
	animation-delay: 20s;
}

/* xl用終わり */

/*スライドショー終わり*/

/* ヘッダー終わり*/


/* ナビゲーション始まり*/


.nav-clinic-name {
	width: 100%;
	height: auto;
	transition-duration: 0.3s;
}

.nav-clinic-name-xs {
	width: 70%;
	height: auto;
}

.nav-clinic-icon {
	width: 100%;
	height: auto;
	transition-duration: 0.3s;

}

.nav-clinic-name:hover,.nav-clinic-icon:hover {
	opacity: 0.5;
  	transition-duration: 0.3s;
}

.nav-tbl{
	table-layout: fixed;
} 

.nav-clinic-icon-sp {
	width: 100%;
	height: auto;
}
/* ナビゲーション終わり*/

#hos,#q2,#q3{
	padding-top: 200px; 
	margin-top: -200px;
}

/* メイン1始まり*/
.bg-01 {
	width: 100%;
	height: auto;
}

.bg-01 img{
	width: 100%;
	height: auto;
}

.text-01 {
	font-size: calc(1.2em);	
}

.text-02 {
	font-size: calc(1.2em);	
}

.text-01-tab {
	font-size: calc(0.8em);	
}

.text-02-tab {
	font-size: calc(0.8em);	
}

.text-01_sp {
	font-size: calc(1.2em);
	
}

.text-02_sp {
	font-size: calc(1.2em);
	
}

.btn-01 {
	top: 55%;
	left: 25%;
	width: 50%;
	height: auto;
}
/* メイン1終わり*/

/* メイン2始まり*/
.main2 p {
	font-size:1.6rem;
}

.top_icon_pc {
	width:3%;
	height: auto;
}
.top_icon_tab {
	width:5%;
	height: auto;
}
.top_icon_sp {
	width:10%;
	height: auto;
}

/* メイン2終わり*/

/*マップ始まり*/
.gg-ad {
	width:100vw;
	height:50vh;
}
/*マップ終わり*/

/*フッター始まり*/
.footer-16{
	font-size: 1.6rem;
}

.footer-12{
	font-size: 1.2rem;
}


.footer-tbl p{
	font-size: 1.2rem;
	margin: 0;
}

.footer-tbl td th{
	padding: 0;
}

/*フッター終わり*/


/*ハンバーガーボタン始まり*/
.btn-trigger {
  position: relative;
  width: 40px;
  height: 44px;
}
.btn-trigger span {
  position: absolute;
  left: 0;
  width: 100%;
  height: 4px;
  background-color: #000;
  border-radius: 4px;
}
.btn-trigger, .btn-trigger span {
  display: inline-block;
  transition: all .5s;
  box-sizing: border-box;
}
.btn-trigger span:nth-of-type(1) {
  top: 0;
}
.btn-trigger span:nth-of-type(2) {
  top: 15px;
}
.btn-trigger span:nth-of-type(3) {
  bottom: 10px;
}


/*=============================
#btn01
=============================*/
#btn01.active span:nth-of-type(1) {
  -webkit-transform: translateY(15px) rotate(-45deg);
  transform: translateY(15px) rotate(-45deg);
}
#btn01.active span:nth-of-type(2) {
  opacity: 0;
}
#btn01.active span:nth-of-type(3) {
  -webkit-transform: translateY(-15px) rotate(45deg);
  transform: translateY(-15px) rotate(45deg);
}

.btn-trigger02 {
	position: relative;
	width: 40px;
	height: 44px;
  }
  .btn-trigger02 span {
	position: absolute;
	left: 0;
	width: 100%;
	height: 4px;
	background-color: #000;
	border-radius: 4px;
  }
  .btn-trigger02, .btn-trigger02 span {
	display: inline-block;
	transition: all .5s;
	box-sizing: border-box;
  }
  
  .btn-trigger02 span:nth-of-type(1) {
	-webkit-transform: translateY(15px) rotate(-45deg);
	transform: translateY(15px) rotate(-45deg);
  }
  .btn-trigger02 span:nth-of-type(2) {
	opacity: 0;
  }
  .btn-trigger02 span:nth-of-type(3) {
	-webkit-transform: translateY(-15px) rotate(45deg);
	transform: translateY(15px) rotate(45deg);
  }
/* htmlにBootStrap4準拠で記述するとうまく動作しないのでここに記述 */
#menu {
	display : none;
	position : fixed;
	z-index : 99;
	background-color: #ffffff;
	height : 100%;
	margin-top : 130px;
	margin-left : -8px;
	margin-right : 1px;
	top : 0;
	left : 0;
}
/*ハンバーガーボタン終わり*/

.director-tbl {
	table-layout: fixed;
	width: 620px;
	border-collapse: separate;
	border-spacing: 0;
	border-radius: 5px;
}


/* 診療時間ページ始まり */

/* 診療時間テーブル始まり */
.time-tbl {
	background-color: rgb(248, 213, 96);
}

.time-tbl td{
	padding: 0;
	margin: 0 auto;
}

.time-tbl span{
	font-size: calc(0.8em + 0.3vw);
	margin: 0,8px;
	display: inline-block;
	margin-bottom: 9px;
}
/* 診療時間テーブル終わり */
.time-tyui {
	font-size: calc(0.5em + 0.3vw);
}

/* 交通手段の始まり */

.traffic-meth {
	border-bottom-style:dotted ;
}

/* 交通手段の終わり */

/* 診療時間ページ終わり */

/* 診療ページ始まり */
.consul-reason {
	border-style: dotted;
	border: orange 1px solid;
}

.under {
	border-bottom:solid red;
}
/* 遷移ボタン始まり */
.consul_hunin_btn{
	background: url("../images/consul_hunin_btn_on.jpg") no-repeat;
}

.consul_naishikyou_btn{
	background: url("../images/consul_naishikyou_btn_on.jpg") no-repeat;
}

.consul_hairan_btn{
	background: url("../images/consul_hairan_btn_on.jpg") no-repeat;
}

.consul_hunin_btn_tab{
	background: url("../images/consul_hunin_btn_tab_on.jpg") no-repeat;
}

.consul_naishikyou_btn_tab{
	background: url("../images/consul_naishikyou_btn_tab_on.jpg") no-repeat;
}

.consul_hairan_btn_tab{
	background: url("../images/consul_hairan_btn_tab_on.jpg") no-repeat;
}

.consul_hunin_btn,.consul_naishikyou_btn,.consul_hairan_btn,
.consul_hunin_btn_tab,.consul_naishikyou_btn_tab,.consul_hairan_btn_tab{
	display: inline-block;
}
.consul_hunin_btn:hover,.consul_naishikyou_btn:hover,.consul_hairan_btn:hover,
.consul_hunin_btn_tab:hover,.consul_naishikyou_btn_tab:hover,.consul_hairan_btn_tab:hover{
	background-color: transparent;
} 

.consul_hunin_btn:hover img,.consul_naishikyou_btn:hover img,.consul_hairan_btn:hover img,
.consul_hunin_btn_tab:hover img,.consul_naishikyou_btn_tab:hover img,.consul_hairan_btn_tab:hover img{
	visibility: hidden;
}
/* 遷移ボタン終わり */

/* 診療ページ終わり */

/* 診療解説内視鏡ページ始まり */
.border-left01 {
	border-left:double rgb(102, 228, 245);
}

.naishikyou-bg01 {
	background-color:rgb(245, 189, 85);
}

/* 診療解説内視鏡ページ終わり */


/* 診療解説排卵障害治療編ページ始まり */

.border-left02 {
	border-left:double 6px rgb(255, 124, 36);;
}

/* 吹き出し始まり */

.hukidashi{
	position: relative;
	background-color:#ffffff;
	border: 2px solid #222222;;
	border-radius: 10px;         /* 角丸を指定 */
	display: inline-block;
  }
  /* 三角アイコン - 枠線付きの吹き出し */
.hukidashi::before{
	content: '';
	position: absolute;
	display: block;
	left: 40%;
  	bottom: -15px;
	border-top: 10px solid #222222;
	border-right: 15px solid transparent;
	border-left: 15px solid transparent;
}
.hukidashi::after{
	content: '';
	position: absolute;
	display: block;
	left: 40%;
  	bottom: -15px;
	border-top: 15px solid #ffffff;
	border-right: 15px solid transparent;
	border-left: 15px solid transparent;
}

/* 吹き出し終わり */

/* 診療解説排卵障害治療編ページ終わり */

/* 診療解説不妊治療編始まり */
/* .hunin-sp {
	height: 50vw;
}

.hunin-slide {
	width: 100%;
	height: 100%;
	overflow: hidden;
	z-index: 1;
  }

.hunin-slide img {
	width: 100%;
	height: auto;
	opacity: 0;
	animation :slideshow 20s linear infinite;
	margin-bottom: 10px;
	left: 0;
	right: 0;
	margin: auto;
	animation-name: hunin_img_scroll;
}

@keyframes hunin_img_scroll{
	0%{
	  opacity: 0;
	}
	10%{
	  opacity: 1;
	}
	28%{
	  opacity: 1
	}
	38%{
	  opacity: 0;
	}
	100%{
	  opacity: 0;
	}
  
}
.hunin-slide img:nth-child(2){
	animation-delay: 5s;
}
  
.hunin-slide img:nth-child(3){
	animation-delay: 10s;
}

.hunin-slide img:nth-child(4){
	animation-delay: 15s;
}

.hunin-slide-02 {
	width: 100%;
	height: 100%;
	overflow: hidden;
	z-index: 1;
  }

.hunin-slide-02 img {
	width: 100%;
	height: auto;
	opacity: 0;
	animation :slideshow 15s linear infinite;
	margin-bottom: 10px;
	left: 0;
	right: 0;
	margin: auto;
	animation-name: hunin_img_scroll_02;
}

@keyframes hunin_img_scroll_02{
	0%{
	  opacity: 0;
	}
	10%{
	  opacity: 1;
	}
	28%{
	  opacity: 1
	}
	38%{
	  opacity: 0;
	}
	100%{
	  opacity: 0;
	}
  
}
.hunin-slide-02 img:nth-child(2){
	animation-delay: 5s;
}
  
.hunin-slide-02 img:nth-child(3){
	animation-delay: 10s;
}
 */

/* .man-reason {
	border: dotted pink;
	border: orange 1px solid;
} */

/* 診療解説不妊治療編終わり */

/* footer */
.sousyoku{
	width: 100%;
	margin-top: 50px;
}


/* お問い合わせ */
.tel {
	width:7%;
	height:auto;
}

.contact-time-tbl {
	table-layout: auto;
}

.contact-time-tbl td{
	width: 33%;
}

.contact-time-tbl th{
	width: 33%;
	font-size:1.8rem;
}


/* Q&A吹き出し始まり */

/* 吹き出し本体 */
.balloon_a{
  position: relative;
  padding: 20px;
  border-radius: 10px;
  color: #ffffff;
  background-color: #ff7b22;
  margin-left: 250px;          /* 左に余白を設ける */
  margin-right: 130px;          /* 右に余白を設ける */	
  margin-bottom: 40px;
  
}
/* 画像 - 絶対配置で左上に配置 */
.balloon_a .icon{
	position: absolute;
	left: -170px;
	top: 0;
	width: 105px;
}
/* 三角アイコン */
.balloon_a::before{
  content: '';
  position: absolute;
  display: block;
  width: 0;
  height: 0;
  left: -15px;
  top: 20px;
  border-right: 15px solid #ff7b22;
  border-top: 15px solid transparent;
  border-bottom: 15px solid transparent;
}

/* 吹き出し本体 */
.balloon_b{
  position: relative;
  padding: 20px;
  border-radius: 10px;
  color: #ffffff;
  background-color: #28a745;
  margin-right: 280px;          /* 右に余白を設ける */
  margin-left: 110px;          /* 左に余白を設ける */
  margin-bottom: 40px;
}
/* 画像 - 絶対配置で右上に配置 */
.balloon_b .icon{
  position: absolute;
  right: -180px;
  top: 0;

}
/* 三角アイコン */
.balloon_b::before{
  content: '';
  position: absolute;
  display: block;
  width: 0;
  height: 0;
  right: -15px;
  top: 20px;
  border-left: 15px solid #28a745;
  border-top: 15px solid transparent;
  border-bottom: 15px solid transparent;
}

.balloon_h{
	height: 210px;
}

.balloon_h_pc_1{
	height: 250px;
}

.balloon_h_pc_2{
	height: 180px;
}

.balloon_h_pc_3{
	height: 420px;
}

.balloon_h_pc_4{
	height: 290px;
}
.balloon {
	position: relative; /* 三角の位置を固定するために設定 */
	/* display: inline-block; */
	margin: 10px 20px 20px; /* 上 左右 下のマージン */
	padding: 8px 15px; /* ふきだし内の余白 */
	border-radius: 15px;
}
.balloonL {
	background-color: #ff7b22;
}
.balloonR {
	background-color:#28a745;
}
.balloon::after {
	content: '';
	border: 14px solid transparent;
	position: absolute;
	top: 0;
}
.balloonL::after {
	border-top-color:#ff7b22;
	margin-left: 10px
}
.balloonR::after {
	border-top-color:#28a745;
	margin-right: 10px
}
.left .balloon::after { /* 左側からの三角の位置 */
	left: 0.8rem;
	top: 98%;
}
.right .balloon::after { /* 右側からの三角の位置 */
	right: 0.8rem;
	top: 98%;
}

.qa-bold{
	font-weight: bold;
	margin: 0px 3px;
	font-size: 18px;
}
/* Q&A吹き出し終わり */

/* ～～～～～～～～Q&A差し替えCSS～～～～～～～～～～～～ */
/*吹き出し*/
.balloon_l,
.balloon_r{
  margin: 20px 0;
  display:flex;
  justify-content: flex-start;
  align-items: flex-start; /*縦位置を上揃え*/
/*   align-items: center; */ /*縦位置を真ん中揃え*/
}
.balloon_l{
  margin-right: 25px;
}
.balloon_r{
  margin-left: 25px;
  justify-content:flex-end;
}
.faceicon img{
  width: 150px; /*任意のサイズ*/
  height: auto;
}
.balloon_r .faceicon{
  margin-left:25px;
}
.balloon_l .faceicon{
  margin-right:25px;
}
.balloon_r .faceicon{
  order:2 !important;
}
.says_a {
  max-width:800px; /*最大幅は任意*/
  flex-wrap: wrap;
  position: relative;
  padding: 17px 13px 15px 18px;
  border-radius: 12px;
  background: #ff7b22;/*色は任意*/
  box-sizing:border-box;
  margin:0 !important;
  line-height:1.5;
  align-items: center;
}
.says_q {
	max-width:800px; /*最大幅は任意*/
	display: flex;
	flex-wrap: wrap;
	position: relative;
	padding: 17px 13px 15px 18px;
	border-radius: 12px;
	background: #28a745;/*色は任意*/
	box-sizing:border-box;
	margin:0 !important;
	line-height:1.5;
  }
.says_a p,
.says_q p{
  margin:8px 0 0 !important; 
}
.says_a p:first-child,
.says_q p:first-child{
  margin-top:0 !important;
}
.says_a:after,
.says_q:after {
  content: "";
  position: absolute;
  border: 10px solid transparent;
}
.balloon_l .says_a:after {
  left: -30px;
  top: 20px;
  border-right: 22px solid #ff7b22;
}
.balloon_r .says_q:after {
  right: -30px;
  top: 20px;
  border-left: 22px solid #28a745;
}
/* ～～～～～～～～Q&A差し替えCSS～～～～～～～～～～～～ */

/* ～～～～～～～～文字幅調整～～～～～～～～～～～～～ */
/* トップページ調整 */
.index-mb5 {
	margin-bottom: 24px;
}
/* トップページ調整終了 */

/*診療内容ページ調整 */
.consul-mb5 {
	margin-bottom: 23px;
}



/*トピックス　サムネイル画像用CSS*/
.wp-post-image{
	display: block;
	margin: auto;
	border-radius: 10px;
	max-height: 150%;
	height: auto;
	max-width: 150%;
	margin-bottom: 50px;
}

/*サムネイル画像　スマートフォン用サイズ*/
@media screen and (max-width: 479px) {
	.wp-post-image{
		width: 95%;
		margin: auto;
		margin-bottom: 50px;
	}
}