/*
Theme Name: tamagawadental
Description: 医療法人 玉川医院　玉川内科・歯科クリニック ( Habakiri の子テーマ使用 )
Author: Hiromitsu Hita
Version: 1.0.0
Template: habakiri
*/

/*---------------------------------------------*/
/* このCSSはデスクトップファーストになっている
/*---------------------------------------------*/

@font-face {
  font-family: 'icomoon';
  src: url("fonts/icomoon/icomoon.eot?srf3rx");
  src: url("fonts/icomoon/icomoon.eot?srf3rx#iefix") format("embedded-opentype"), url("fonts/icomoon/icomoon.ttf?srf3rx") format("truetype"), url("fonts/icomoon/icomoon.woff?srf3rx") format("woff"), url("fonts/icomoon/icomoon.svg?srf3rx#icomoon") format("svg");
  font-weight: normal;
  font-style: normal;
}

html {
  scroll-behavior: smooth;
  font-size: 16px;
}

body {
  font-family: "Noto Sans JP", "游ゴシック Medium", YuGothic, YuGothicM, "Hiragino Kaku Gothic ProN", "Hiragino Kaku Gothic Pro", メイリオ, Meiryo, sans-serif;
  color: #6d6765;
  line-height: 1.8rem;
  font-size: 1rem;
}

.pc-view {
	display: block;
}
.sp-view {
	display: none;
}

@media screen and (max-width: 767px) {
	body {
		font-size: 0.8rem;
	}
	.pc-view {
		display: none;
	}
	.sp-view {
		display: block;
	}
}


/*-----------------------------*/
/* font系 ↓↓ */
/*-----------------------------*/

h1 {
	font-size: 3rem;
}
h2 {
	font-size: 2rem;
}
h3 {
	font-size: 1.5rem;
}
h4 {
	font-size: 1.25rem;
}

.font-small, small {
	font-size: 0.7rem;
}
.font-normal {
	font-size: 1rem;
}
.font-medium {
	font-size: 1.5rem;
}
.font-large {
	font-size: 2rem;
}
.font-more-large {
	font-size: 2.5rem;
}

.mincho {
	font-family: 游明朝, serif!important;
/*   font-weight: 400;
  letter-spacing: 1px; */
}

.l-h-2 {
	line-height: 2rem;
}
.l-h-25 {
	line-height: 2.5rem;
}
.l-h-3 {
	line-height: 3rem;
}


/*-----------------------------*/
/* 余白系 ↓↓ */
/*-----------------------------*/
p {
	margin: 0;
}

.col-p {
	padding-top: 15px;
	padding-bottom: 15px;
}

.row-not-p {
	padding-left: 0px;
	padding-right: 0px;
}

.p-1 {
	padding: 1rem;
}
.p-2 {
	padding: 2rem;
}
.p-3 {
	padding: 3rem;
}
.p-t-1 {
	padding-top: 1rem;
}
.p-t-2 {
	padding-top: 2rem;
}
.p-t-3 {
	padding-top: 3rem;
}
.p-b-1 {
	padding-bottom: 1rem;
}
.p-b-2 {
	padding-bottom: 2rem;
}
.p-b-3 {
	padding-bottom: 3rem;
}
.p-b-9 {
	padding-bottom: 9rem;
}
.m-t-1 {
	margin-top: 1rem;
}
.m-t-2 {
	margin-top: 2rem;
}
.m-t-3 {
	margin-top: 3rem;
}
.m-b-1 {
	margin-bottom: 1rem;
}
.m-b-2 {
	margin-bottom: 2rem;
}
.m-b-3 {
	margin-bottom: 3rem;
}

.section {
	padding-top: 8rem;
	padding-bottom: 8rem;
}
.section-tall {
	padding-top: 16rem;
	padding-bottom: 16rem;
}
.section-toptall {
	padding-top: 16rem;
	padding-bottom: 8rem;
}
.section-toponly {
	padding-top: 8rem;
	padding-bottom: 0rem;
}
.section-topless {
	padding-top: 0px;
	padding-bottom: 8rem;
}
@media screen and (max-width: 767px) {
	.section {
		padding-top: 4rem;
		padding-bottom: 4rem;
	}
}

.scroll-space {
	margin-top: -150px; /* スクロール幅調整 */
    padding-top: 150px; /* スクロール幅調整 */
}


/*-----------------------------*/
/* bootstrapのrow系 ↓↓ */
/*-----------------------------*/
.row-eq-height {
    display: flex;
    flex-wrap: wrap;
	align-items: center; 
	padding-left: 1rem;
	padding-right: 1rem;
}
.row-eq-height-top {
    display: flex;
    flex-wrap: wrap;
	padding-left: 1rem;
	padding-right: 1rem;
}
.row-eq-height-rev {
    display: flex;
    flex-wrap: wrap;
	align-items: center; 
	flex-direction: row-reverse;
	padding-left: 1rem;
	padding-right: 1rem;
}
.row-eq-height-rev-top {
    display: flex;
    flex-wrap: wrap;
	flex-direction: row-reverse;
	padding-left: 1rem;
	padding-right: 1rem;
}


/*-----------------------------*/
/* ボタン系 ↓↓ */
/*-----------------------------*/

.btn_01 {
	display: block;
	text-align: center;
	vertical-align: middle;
	width: 100%;
	margin: auto;
	padding: 1rem 2.5rem;
	font-weight: bold;
	border: 2px solid #337ab7;
	color: #337ab7;
	transition: 0.5s;
}
.btn_01:hover {
	border: 2px solid #fff;
	color: #fff;
	background-color: #337ab7;
	opacity: 0.7;
}
.btn_01:after {
	content: "";
    display: block;
    position: absolute;
    top: calc(50% - 5px);
    right: 1.75rem;
    width: 0.5em;
    height: 0.5em;
    border: 2px solid;
    border-color: transparent transparent #337ab7 #337ab7;
    transform: rotate(-135deg);
    transition: .3s;
}
.btn_01:hover::after {
    right: 1.25rem;
	border-color: transparent transparent #fff #fff;
}



/*-----------------------------*/
/* 背景および背景画像系 ↓↓ */
/*-----------------------------*/

.bg-color-0 {
	background-color: #fff;
}
.bg-color-1 {
	background-color: #F3FAFF;/* #f7f5f2; */
}

.bg-image-1 {
	background-image: url("images/cleaning-2.jpg");
	background-position: 60% 30%;
	background-size: cover;
	background-repeat: no-repeat;
	padding: 5rem 0;
}

.bg-image-2 {
	background-image: url("images/interview02-3.jpg");
	background-size: cover;
	background-repeat: no-repeat;
	padding: 5rem 0;
}

.bg-image-3 {
	background-image: url("images/barrier-free-2.jpg");
	background-size: cover;
	background-repeat: no-repeat;
	padding: 5rem 0;
}

.bg-image-dr {
	background-image: url("images/wall.jpg");
/* 	background-position: 39% 36%; */
	background-size: cover;
	background-repeat: no-repeat;
	padding: 5rem 0;
}

/* 背景をぼかす start */
.background-blur {
	overflow: hidden;
	position: relative;
	z-index: 0;
}
.background-blur:before {
	content: " ";
	display: block;
	position: absolute;
	background: inherit;
	filter: blur(3px);
	-webkit-filter: blur(3px);
	top: -0.5rem;
	right: -0.5rem;
	bottom: -0.5rem;
	left: -0.5rem;
	z-index: -1;
	background-color: #003893;
}
/* 背景をぼかす end */


/*-----------------------------*/
/* 背景および背景画像系 ↓↓ */
/*-----------------------------*/

/*-----------------------------*/
/* 見出し系 */
/*-----------------------------*/

.u-h2 {
	margin: 0 0 2rem 0;
	font-weight: 300;
	color: #444;
	position: relative;
	padding-bottom: 1rem;
	line-height: 4rem;
	text-align: center;
}
.u-h2::after {
	content: "";
	position: absolute;
	width: 5rem;
	height: 1px;
	background: #2b96d4;
	left: 50%;
	margin-left: -2.5rem;
	bottom: 0;
}

.u-h3 {
    color: #61a7c7;
    letter-spacing: 0.08rem;
	padding-top: 1.4rem;
    padding-bottom: 1rem;
    position: relative;
}
.u-h3::after {
    content: "";
    display: block;
    width: 100%;
    height: 1.5px;
    margin-top: 10px;
    background: -moz-linear-gradient(left, #61a7c7 0%,#61a7c7 10%,#cfcfcf 10.1%,#f3f3f3 100%);
    background: -webkit-linear-gradient(left, #61a7c7 0%,#61a7c7 10%,#cfcfcf 10.1%,#f3f3f3 100%);
    background: linear-gradient(to right, #61a7c7 0%,#61a7c7 10%,#cfcfcf 10.1%,#f3f3f3 100%);
}

.b-h2 {
    font-size: 1.5rem;
    background-color: #f5f5f5;
    padding: 1rem;
    border-top: 2px solid #337ab7;
    border-bottom: 1px solid #e9e9e9;
}





/*-----------------------------*/
/* その他のパーツ系 ↓↓ */
/*-----------------------------*/

a:hover {
	text-decoration: none;
	color: inherit;
}



.well {
	border: none;
	box-shadow: 0 0rem 1rem hsl(0 0% 0% / 20%);
}

.box {
	background:#ddd;
	border: 1px #ff0000 solid;
	padding: 15px;
}

/* テキストを左詰めのまま真ん中に寄せる方法 start */
.front-content-wide {
	background: rgba(255,255,255,.9);
    padding: 10rem 8rem;
}
@media screen and (max-width: 767px) {
	.front-content-wide {
		padding: 4rem 1rem;
	}
}
.text-content-outer {
	text-align: center;
}
.text-content-outer .text-content-inner {
	display: inline-block;
	text-align: left;
}
/* テキストを左詰めのまま真ん中に寄せる方法 end */


/* テーブルの２列をスマホの場合１列にする */
.recruit-table {
	width: 100%;
}
.recruit-table th {
	width: 25%;
	background: #F3FAFF;
	text-align: center;
}
@media screen and (max-width: 767px) {
	.recruit-table th, .recruit-table td {
		display: block;
		width: 100%;
		border-bottom: none;
	}
	.table-responsive {
		border: none;
	}
}


/* グローバルメニューのエフェクト start --------- */
.header--fixed, .header.header--fixed--is_scrolled {
	box-shadow: 0 0 10px rgba(0,0,0,.2);
}
@media screen and (min-width:992px){
  /* 画面サイズが992px以上の場合読み込む */
  .responsive-nav a {
    position: relative;
    display: inline-block;
    transition: .3s;
	font-size: 0.9rem!important;
  }
  .responsive-nav a::after {
    position: absolute;
    bottom: 0;
    left: 50%;
    content: '';
    width: 0;
    height: 2px;
    background-color: #2b96d4;
    transition: .3s;
    -webkit-transform: translateX(-50%);
    transform: translateX(-50%);
  }
  /* 線の長さを調整 */
  .responsive-nav a:hover::after {
    width: 80%;
  }
  /* カレントページのリンク */
  .current_page_item a {
    position: relative;
    display: inline-block;
  }
  .current_page_item a::after {
    position: absolute;
    bottom: 0;
    left: 50%;
    content: '';
    width: 0;
    height: 2px;
    background-color: #2b96d4;
    width: 80%;
  }
}
/* グローバルメニューのエフェクト end --------- */


/* フッター start ------- */
.footer-widget-area {
	padding: 30px 0 5px;
	background-color: #2b96d4;
/* 	font-size: 16px; */
	filter:alpha(opacity=90);
	-moz-opacity: 0.9;
	opacity: 0.9;
}

.copyright {
    background-color: #2b96d4;
    filter:alpha(opacity=90);
    -moz-opacity: 0.9;
    opacity: 0.9;
    color: #fff;
    padding: 15px 0;
    text-align: center;
}
/* フッター end --------- */



/* タイムライン start --------- */

.timeline ul {
	list-style-type: none;
	border-left: 2px #e5e5d1 solid;
	padding: 10px 5px;
}

.timeline ul li {
	padding: 20px 20px;
	position: relative;
}

.timeline ul li span {
	display: inline-block;
	padding: 2px 5px;
/* 	font-size: 1rem; */
	color: #8a6d3b;
	text-align: center;
}

.timeline ul li .content p {
	padding: 5px 0px 15px 0px;
}

.timeline ul li:before {
	position: absolute;
	content: '';
	width: 10px;
	height: 10px;
	background-color: #8a6d3b;
	border-radius: 50%;
	left: -11px;
	top: 28px;
	transition: .5s;
}

@media (max-width:300px) {
	.timeline {
		width: 100%;
		padding: 30px 5px 30px 10px;
	}
	.timeline ul li .content h3 {
/* 		color: #34ace0; */
/* 		font-size: 15px; */
	}
}
/* タイムライン end --------- */




/* 共通部品 end-- -----------------------------------------------------------------*/




/* 診療時間 start ---------------------------- */
.th-medical-care-time {
	background: #2b96d4;
	color: #fff;
}
.tbody-medical-care-time td {
	vertical-align: middle!important;
}
.tbody-medical-care-time td.tiny {
	line-height: 1.1!important;
}
.tbody-medical-care-time td.tiny small {
	font-size: 70%!important;
}
/* 診療時間 end ---------------------------- */



/* アクセス start ---------------------------- */
.access-info {
	padding: 0;
	margin: 0;
}

.access-info li {
	position: relative;
	padding: 0;
	margin: 0;
	list-style: none;
}
.access-info li i {
	position: absolute;
	top: .2em;
	left: 0;
}
/* アクセス end ---------------------------- */



/* アニメーション */
.slide-image {
	animation: animationZoom 40s ease 0s infinite normal;;
/* 	animation: animationZoom 40s linear 2s infinite normal;; */
}
/*イメージをズームさせるCSS3アニメーション*/
@keyframes animationZoom {
	50%{ transform:scale(1.2); }        
}

/*拡大した画像のはみ出した部分を隠すためのクラス*/
.slidewrap{
	width:100%;
	height:100%!important;
	overflow: hidden;
}

/* カルーセルの無限ループスライド 参考：https://em-wc.com/2021/06/24/%E3%81%9A%E3%81%A3%E3%81%A8%E5%8F%B3%E3%81%8B%E3%82%89%E5%B7%A6%E3%81%B8%E6%B5%81%E3%82%8C%E7%B6%9A%E3%81%91%E3%82%8B%E7%94%BB%E5%83%8F%E3%82%AE%E3%83%A3%E3%83%A9%E3%83%AA%E3%83%BC%E3%82%A2%E3%83%8B/  */
.slider1 {
	display: flex;
	margin: 0 calc(50% - 50vw);
	width: 100vw;
	height: 100%;
	overflow: hidden;
}
.slider1 ul{
	display: flex;
	padding: 0;
	margin: 0;
}
.slider1 li{
	width: 600px;
	list-style: none;
}
@media (max-width: 767px) {
	.slider1 li{
		width: 400px;
	}
}

.slider1 ul:first-child {
	animation: slide1 150s -75s linear infinite;
}

.slider1 ul:last-child {
	animation: slide2 150s linear infinite;
}
@keyframes slide1 {
	0% {
		transform: translateX(100%);
	}
	to {
		transform: translateX(-100%);
	}
}

@keyframes slide2 {
	0% {
		transform: translateX(0);
	}
	to {
		transform: translateX(-200%);
	}
}
li {
	list-style-type:none;		/*リストマーカー無しにする*/
}