@charset "utf-8";
/* CSS Document */
video{
	z-index: 9999;
	height: 100%;
	width: 100%;
}
/* タイトルボーダー*/
.cate_title:before {
  content: '';
  position: absolute;
  left: 50%;
	right: 50%;
  bottom:-25%;/*線の上下位置*/
  display: inline-block;
  width:90px;/*線の長さ*/
  height: 1px;/*線の太さ*/
  -moz-transform: translateX(-50%);
  -webkit-transform: translateX(-50%);
  -ms-transform: translateX(-50%);
  transform: translateX(-50%);/*位置調整*/
  background-color: #7dcdf5;/*線の色*/
  border-radius: 2px;/*線の丸み*/
}
.cate_title h2{
	transform:none;
}
/* スクロールボタン動き*/
.scroll{
	margin: auto;
	width:4%;
	margin-top: -200px;
}
.animation{
    animation-timing-function: ease-in-out;
    animation-iteration-count: infinite;
    animation-direction: alternate;
    animation-duration: 1.5s;
}
.keyframe{
    animation-name: anim_v;
}
@keyframes anim_v {
    0% {
        transform: translate(0, 0px);
    }
    100% {
        transform: translate(0, -15px);
    }
}

/* リンクボタン */
.button {
  position: relative;
  display: inline-block;
  padding: .7em 1.5em;
  color: #333;
  text-align: center;
  text-decoration: none;
  outline: none;
  transition: all .2s;
}
.button::before,
.button::after {
  position: absolute;
  z-index: 2;
  content: '';
  width: 0;
  height: 0;
  border: 1px solid transparent;
}
.button::before {
  top: -0px;
  left: -0px;
}
.button::after {
  bottom: -2px;
  right: -2px;
}
.button:hover {
  color: #333;
}
.button:hover::before,
.button:hover::after {
  width: 100%;
  height: 100%;
}
.button:hover::before {
  border-bottom-color: #333;
  border-left-color: #333;
  transition: height .3s, width .3s .3s;
}
.button:hover::after {
  border-top-color: #333;
  border-right-color: #333;
  transition: height .3s, width .3s .3s;
}
/* リンクボタン矢印 */
.button .transform{
-webkit-transform: skewX(210deg);
-moz-transform: skewX(210deg);
transform: skewX(210deg);
border-bottom: 1px solid #333;
border-right: 1px solid #333;
	margin-right:-35%;
	padding-right:35%;
	padding-left:5px;
	padding-bottom:3px;
  position: relative;
}
.button .transform:after {
  content: "";
  display: block;
  line-height: 0;
  overflow: hidden;
  position: absolute;
  left: 0;
right:-2%;
　top:0;
  bottom: 50%;
  height: 50%;
  border-right: 5px solid #fff;
}
.button .transform div{
display:block;
transform: skewX(-210deg);
padding:0 10px;
}
/* リンクボタン　スタッフver */
.staff .button {
  color: #fff;
}
.staff .button:hover {
  color: #fff;
}
.staff .button:hover::before {
  border-bottom-color: #fff;
  border-left-color: #fff;
}
.staff .button:hover::after {
  border-top-color: #fff;
  border-right-color: #fff;
}
/* リンクボタン矢印　スタッフver */
.staff .button .transform{
border-bottom: 1px solid #fff;
border-right: 1px solid #fff;
}
.staff .button .transform:after {
  border-right: 2px solid #7dcdf5;
	right:-1.5px;
}

/* 背景画像 */
main .back_img{
	background-image:url(../img/home_backimg.jpg);
	background-size: cover;
    background-attachment: fixed;
    background-repeat: no-repeat;
    background-position: center center;
position: relative;
}

/* ごあいさつ */
.first{
	margin-bottom: 250px;
	margin-top: 50px;
}
.first:after {
    content: '';
    width: 0px;
    height: 0px;
    position: absolute;
    left: 50%;
    -webkit-transform: translateX(-50%);
    -ms-transform: translateX(-50%);
    transform: translateX(-50%);
    bottom: -25px;
	border-top: 25px solid #fff;
	border-right: 50px solid transparent;
	border-left: 50px solid transparent;
}


/* 医院について */
.about_wrap{
	background:linear-gradient(180deg,rgba(125,205,245,0.1) 0%,rgba(125,205,245,0.1) 78%,white 78%,white 100%);
}
/* 診療案内 */
.guide .box_wrap .cate_box{
	width: 18%!important;
	margin-bottom: 80px;
	margin-right: 120px;
	background-image: url(../img/guide_back.jpg);
	background-repeat: no-repeat;
	background-position: bottom right;
	background-size: 10px;
}
.guide .box_wrap .cate_box:nth-child(3n){
	margin-right: 0px;
}
/* 院長・スタッフ紹介 */
.staff{
	background: linear-gradient(-90deg, rgba(125,205,245,0.3), rgba(125,205,245, 1.0));
	background-size: cover;
}
.staff h3:last-of-type{
	text-indent: 4em;
}
/* お知らせ */
.news .cate_box{
	padding-bottom: 15px;
}
.news .cate_box:last-of-type{
	margin-bottom: 0px;
}
/* gallery */
.gallery .cate_box img{
	width:300px;
	height: 200px;
	object-fit: cover;
}
.gallery .cate_box {
	width:300px!important;
	height: 200px!important;
	object-fit: cover!important;
	object-position: 50% 50%!important;
	font-family: 'object-fit: cover; object-position: 50% 50%;';
}

/*ここからタブレット用（768px以下）環境の設定
---------------------------------------------------------------------------*/
/*表示を切り替えるウィンドウサイズの指定*/
@media screen and (max-width: 768px){
/* スクロールボタン動き*/
video{
	z-index: 9999;
	width: 100vw!important;
	height: auto!important;
	
}
.scroll{
	margin: auto;
	width:7%;
	margin-top: -60px;
}
/* 医院について */
.about_wrap{
	background:linear-gradient(180deg,rgba(125,205,245,0.1) 0%,rgba(125,205,245,0.1) 90%,white 90%,white 100%);
}
/* 院長・スタッフ紹介 */
.staff h3:last-of-type{
	text-indent: 1em;
}
/* ギャラリー */
/* gallery */
.gallery .cate_box img{
	width:250px;
	height: 150px;
	object-fit: cover;
}
.gallery .cate_box {
	width:250px!important;
	height: 150px!important;
	object-fit: cover!important;
	object-position: 50% 50%!important;
	font-family: 'object-fit: cover; object-position: 50% 50%;';
}
}
/*ここからスマホ用（667px以下）環境の設定
---------------------------------------------------------------------------*/
/*表示を切り替えるウィンドウサイズの指定*/
@media screen and (max-width: 667px){
video{
	z-index: 9999;
	width: 100vw!important;
	height: auto!important;
	
}
.scroll{
	display: none;
}	
.first{
	margin-top: -10px;
}
/* 背景画像 */
main .back_img{
	background-image:none;
}
  .back_img::before {
        content: "";
        display: block;
        min-width: 100vw;
        min-height: 100vh;
        background-image: url("../img/home_backimg.jpg");
        background-position: center center;
        background-size: cover;
        background-repeat: no-repeat;
        position: fixed;
        top: 0;
        left: 0;
        z-index: -999;
    }
/* リンクボタン */
.button {
  position: relative;
  display: inline-block;
  padding: .7em 0em;
  color: #333;
  text-align: center;
  text-decoration: none;
  outline: none;
  transition: all .2s;
}
/* リンクボタン矢印 */
.button .transform{
-webkit-transform: skewX(210deg);
-moz-transform: skewX(210deg);
transform: skewX(210deg);
border-bottom: 1px solid #333;
border-right: 1px solid #333;
	margin-right:-10%;
	padding-right:10%;
	padding-left:5px;
	padding-bottom:3px;
  position: relative;
}	
/* ごあいさつ */
.first{
	margin-bottom: 150px;
}
/* 医院について */
.about_wrap{
	background:linear-gradient(180deg,rgba(125,205,245,0.1) 0%,rgba(125,205,245,0.1) 35%,white 35%,white 100%);
}
.about_wrap .width_1000-max div{
	margin-left: auto;
}
/* 診療案内 */
.guide{
	padding-top: 80px;
}
.guide .box_wrap .cate_box{
	width: 42%!important;
	margin-bottom: 50px!important;
	margin-right: 40px;
	background-image: url(../img/guide_back.jpg);
	background-repeat: no-repeat;
	background-position: bottom right;
	background-size: 10px;
}
.guide .box_wrap .cate_box:nth-child(2n){
	margin-right: 0px!important;
}
.guide .box_wrap .cate_box:nth-child(3n){
	margin-right: 40px;
}
/* お知らせ */
.news{
	padding-top: 70px;
}
/* gallery */
.gallery .cate_box img{
	width:200px;
	height: 100px;
	object-fit: cover;
}
.gallery .cate_box {
	width:200px!important;
	height: 100px!important;
	object-fit: cover!important;
	object-position: 50% 50%!important;
	font-family: 'object-fit: cover; object-position: 50% 50%;';
}
}
@media  screen and (max-width: 321px){
}