@charset "UTF-8";

/*##############################
診療内容案内-タイトル
##############################*/
.title, .title2, .title3 {
padding: 120px 20px;
text-align: center;
}

.title {
background-image: url("../guide/img/guide_t_bg.jpg");
background-repeat:no-repeat;
background-position:center center;
background-size:cover;
}

.title2 {
background-image: url("../flow/img/flow_t_bg.jpg");
background-repeat:no-repeat;
background-position:center center;
background-size:cover;
}

.title3 {
background-image: url("../guide/img/side_t_bg.jpg");
background-repeat:no-repeat;
background-position:center center;
background-size:cover;
}

.title h1, .title2 h1, .title3 h1 {
color: #333333;
font-size: 40px;
font-family: 'Lato', 'Merriweather', sans-serif;
margin-bottom: 5px;
}

.title h1 span, .title2 h1 span, .title3 h1 span {
color: #666666;
}

.title p, .title2 p, .title3 p {
color: #000000;
font-size: 18px;
}

/* ##############################
コンテンツ
############################## */
/* 枠の基本はcommon内 */
/* 共通見出し */
.midashi {
margin-bottom: 20px;
border-bottom: 1px solid #dddddd;
}

.midashi img {
max-width: 100%;
height: auto;
vertical-align: bottom;
margin-bottom: 7px;
}

/* //////////診療内容・診療の流れのページ/////////// */
.discription, .discription_l {
margin-bottom: 40px;
}

.discription h1, .discription_l h1 {
margin-bottom: 5px;
font-size: 18px;
font-weight: bold;
color: #529fcd;
}

.discription h2, .discription_l h2 {
margin-bottom: 5px;
font-size: 18px;
font-weight: bold;
color: #999999;
}

.discription p, .discription_l p {
margin-bottom: 40px;
font-size: 16px;
line-height: 180%;
}

.discription p i {
margin-right: 5px;
color: #999999;
}

.discription h2 i, .discription_l h2 i {
font-size: 20px;
margin-right: 5px;
position:relative;
top:0px;
}

.blue {
color: #529fcd;
}

.red {
color: #cd5252;
}

/* 写真とテキストを横に並べる設定 */
.discription_l:after {
content: "";
display: block;
clear: both;
}

.discription_l img {
float: right;
width: 350px;
height: auto;
margin-left: 20px;
margin-bottom: 10px;
}

/* 横写真の可変幅設定 */
.implant img, .whitening img {
width: 100%;
height: auto;
border: none;
vertical-align: bottom;
}

.implant, .whitening {
margin-bottom: 40px;
}

/* 各詳細ページへのリンクボタン */
.button-link {
width: 250px;
height: 40px;
border: 2px solid #666666;
text-align: center;
cursor: pointer;
position: relative;
box-sizing: border-box;
overflow: hidden;
margin-top:20px;
margin-bottom: 40px;
margin-left: auto;
margin-right: auto;
}

.button-link a {
font-size: 16px;
color: #ffffff;
text-decoration: none;
line-height: 37px;
transition: all .5s ease;
z-index: 2;
position: relative;
}

.effect {
width: 250px;
height: 40px;
border: 110px solid #666666;
position: absolute;
transition: all .5s ease;
z-index: 1;
box-sizing: border-box;
}

.button-link:hover .effect {
border: 0px solid #666666;
}
.button-link:hover a {
color: #666666;
}

/* 詳細ページ小見出し */
.komidashi h1 {
background-color: #eee;
border-left: 5px solid #888;
padding: 5px 10px;
margin-bottom: 20px;
font-size: 20px;
}
