@charset "utf-8";
/* CSS Document */
/* all */
.title{
	width: 120px;
	height:120px;
}
.title h2 {
  display: inline-block;
}
.title h2:before {
  content: '';
  position: absolute;
  left: 50%;
  bottom: -7px; /*下線の上下位置調整*/
  display: inline-block;
  width: 30px; /*下線の幅*/
  height: 1px; /*下線の太さ*/
  -moz-transform: translateX(-50%);
  -webkit-transform: translateX(-50%);
  -ms-transform: translateX(-50%);
  transform: translate(-50%); /*位置調整*/
  background-color: #007b60; /*下線の色*/
}


/* メインイメージ */
.main_img{
	overflow: hidden;
}
.video_wrap {
    height: 50vw;
}
.video_wrap::before {
    position: absolute;
    height: 100%;
    width: 100%;
    content: "";
    display: block;
    background-image: url(../img/dotte2.png);
    z-index: 9;
}
.video_wrap .video {
    top: 50%;
    left: 50%;
    -ms-transform: translate(-50%,-50%);
    -webkit-transform: translate(-50%,-50%);
    transform: translate(-50%,-50%);
}


/* 挨拶 */
.first_box{
	padding-top: 80px;
}
.first{
	background-color: #f6fbfa;
	width: 95%;
}
.first div{
	width: 99%;
}
.first div h2{
	background-color: #f6fbfa;
	margin-bottom: -6px;
	display: inline-block;
}
.first .first_txt{
  background-image: linear-gradient(90deg, rgba(255, 254, 243, 0) 0%, rgba(255, 254, 243, 0) 49%, #f6fbfa 50%, #f6fbfa 100%), linear-gradient(180deg, rgba(255, 254, 243, 0) 0%, rgba(255, 254, 243, 0) 98.5%, #81d8d0 98.6%);
  background-repeat: repeat-x,repeat-y;
  background-size: 4px 100%,100% 2.5em;
  line-height: 2.5;
}

/* 入れ歯について */
.denture .title{
	top:40px;
	left:30px;
	background-color: rgba(255,255,255,0.50)
}
.denture figure{
	margin-right: 65px;
}
.denture .more{
	border-radius: 50px;
}

/* 診療案内*/
.guide{
	background-image: url(../img/guide_img.jpg);
	background-repeat: no-repeat;
	background-size: cover;
	background-attachment: fixed;
}
.guide .guide_box{
	background-color: rgba(170,215,205,0.7);
	padding-bottom: 75px;
}
.guide .title{
	margin-bottom: 80px;
}
.guide .box_link{
	margin-right:45px;
	margin-left:45px;
	margin-bottom: 80px;
}
.guide .box_link:hover{
/*	box-shadow: 8px 8px 15px rgba(0,103,96,0.5);*/
	box-shadow: 7px 7px 15px rgba(0,0,0,0.5);
	border-radius: 50%;
	transition: box-shadow 0.5s;
}
.guide .cate_box{
	width: 135px;
	height:135px;
	position: relative;
	border-radius: 50%;
	box-shadow: 0px 0px 0px 8px #007b60;
    border: solid 1px #007b60;
    padding: 10px 10px;
}
.guide .cate_box:hover{
    border: solid 1px #ffffff;
	transition: border 0.5s;
}
.guide .cate_box .box_item{
	padding-top: 55%;
}

.guide .cate_box .box_title1{
	letter-spacing: 1.8px;
}


/* 求人募集 */
.recruit .title{
	top:37px;
	left:30px;
	background-color: rgba(255,255,255,0.50)
}
.recruit figure{
	margin-right: 65px;
}
.recruit .more{
	border-radius: 50px;
}

/* ニュース */
.news{
	width: 95%;
}
.news .box_title1{
	width: 85%;
}
.news .box_title1 a{
	color: #333333;
}
.news .cate_box:last-of-type{
	margin-bottom: 0px;
}
/* 入れ歯について */
@media all and (-ms-high-contrast: none){
.first .first_txt{
  padding-top: 3px;
}
.denture .more{
	padding-top: 8px;
}
.recruit .more{
	padding-top: 8px;
}
.news .cate_box{
	padding-bottom: 10px;
}
}
/*ここからタブレット用（768px以下）環境の設定
---------------------------------------------------------------------------*/
/*表示を切り替えるウィンドウサイズの指定*/
@media screen and (max-width: 768px){

/* 挨拶 */
.first{
	width: 90%;
}
	
/* 診療案内*/
.guide{
	background-size: 150% 100vh;
}
/* 入れ歯について */
.denture .title{
	top:100px;
	left:20px;
}
.denture figure{
	margin-right: 30px;
}
.denture .box_item{
	width: 53%!important;
}
	
/* 求人募集 */
.recruit .title{
	top:50px;
}
.recruit .box_item{
	width: 53%!important;
}
.recruit figure{
	margin-right: 30px;
}
/* ニュース */
.news{
	width: 80%;
}
}
/*ここからスマホ用（667px以下）環境の設定
---------------------------------------------------------------------------*/
/*表示を切り替えるウィンドウサイズの指定*/
@media screen and (max-width: 667px){
/* all */
.title{
	width: 110px;
	height:110px;
}
.video_wrap {
    height: 115vw;
}

.video_wrap .video {
    width: auto!important;
    height: 100%;
}
/* 挨拶 */
.first .first_txt{
   background-image: linear-gradient(90deg, rgba(255, 254, 243, 0) 0%, rgba(255, 254, 243, 0) 49%, #f6fbfa 50%, #f6fbfa 100%), linear-gradient(180deg, rgba(255, 254, 243, 0) 0%, rgba(255, 254, 243, 0) 98.5%, #81d8d0 98.6%);
  background-repeat: repeat-x,repeat-y;
  background-size: 4px 100%,100% 3em;
  line-height: 3;
}
/* 入れ歯について */
.denture .title{
	top:50px;
	left:15px;
}
.denture figure{
	margin-right: 0px;
}
.denture .box_item{
	width: 90%!important;
}
/* 診療案内*/
.guide{
	background-image: none;
}
.guide::before {
        content: "";
        display: block;
        min-width: 100vw;
        min-height: 100vh;
        background-image: url("../img/guide_img.jpg");
        background-position: center center;
        background-size: cover;
        background-repeat: no-repeat;
        position: fixed;
        top: 0;
        left: 0;
        z-index: -999;
    }
.guide .guide_box{
	padding-bottom: 0px;
}
.guide .title{
	margin-bottom: 30px;
}
.guide .box_link{
	margin-right:25px;
	margin-left:25px;
}
.guide .cate_box{
	width: 105px;
	height:105px;
}
.guide .cate_box .box_title1{
	letter-spacing: 1px;
}
.guide .cate_box .box_item{
	padding-top: 35%;
}
/* 求人募集 */
.recruit .title{
	top:50px;
	left:15px;
}
.recruit .box_item{
	width: 90%!important;
}
.recruit figure{
	margin-right: 0px;
}
/* ニュース */
/* ニュース */
.news{
	width: 100%;
	padding-left: 10%;
	padding-right: 10%;
}
}
@media  screen and (max-width: 321px){
}