﻿@charset "utf-8";

body {
	font-family: "Kosugi Maru", "メイリオ", "Meiryo", Osaka, 'ＭＳ Ｐゴシック', 'MS PGothic', sans-serif;
	line-height: 1.6;
}


/* 左→右に配置 */
.flex_LRTB {
	display: flex;
}

.flex1 {
	flex: 1;
}
.flex3 {
	flex: 3;
}
.flex2 {
	flex: 2;
}
.flex4 {
	flex: 4;
}
.flex6 {
	flex: 6;
}
.flex7 {
	flex: 7;
}
.flex8 {
	flex: 8;
}
.flex1, .flex2, .flex3, .flex4, .flex6, .flex7, .flex8 {
	padding: 0 1rem;
}


/* ColoredBox
-------------------------------*/
.colorbox {
	background-color: #FDF8D2;
	padding: 2rem;
	margin-bottom: 1rem;
}
.colorbox .title {
	font-size: 1.4rem;
	margin-bottom: 1rem;
	color: #68472C;
}



/* Link Button
-------------------------------*/
.linkbox a:link {
	display: inline-block;
	padding: 0.3rem 2rem;
	background-color: #9CC026;
	color: #ffffff;
}
.linkbox a:visited {
	color: #ffffff;
}
.linkbox a:hover {
	color: #ffffff;
	background-color: #77970D;
}


.indexA{
	border-bottom: 1px dashed #9CC026;
	color: #7C9E10;
	font-size: 120%;
	margin-bottom: 0.5rem;
	padding: 0.5rem 0.5rem 0.3rem 0;
}

.img{
	max-width: 100%;
	height: auto;
}
.h2_area{
	background: url("../images/back002.jpg") repeat;
	background-position: right bottom;
	background-size: cover;
	padding: 2rem 0;
	display: inline-block;
	text-align: center;
	width: 100%;
}
.area_beige{
	background: url("../images/info_back.png") repeat;
	padding: 2rem 1rem;
}
.area_white{
	background-color: #FFFFFF;
	padding: 2rem 1rem;
}
.wrapper:after{
	clear: both;
	content:" ";
}

.list_dot {
	margin-left: 1.2rem;
	margin-bottom: 1rem;
}
.list_dot li {
	list-style-type: disc;
}

.list_inline li {
	display: inline-block;
	margin-right: 1rem;
}
.list_inline li:before{
	font-family: FontAwesome;
	content:"\f14a\00a0";
	color: rgba(156,192,38,1.00);
}

.list_check {
	margin-left: 1.2rem;
	margin-bottom: 1rem;
}
.list_check li {
	list-style-type: none;
}
.list_check li:before{
	font-family: FontAwesome;
	content:"\f14a\00a0";
	color: #9CC026;
}


/* Font
-------------------------------*/
@font-face {
	font-family: "LogoTypeGothic";
	src: url('../font/07LogoTypeGothic7.ttf') format('truetype');
}

div.wrap{
	width: 100%;
	box-sizing: border-box;
}

.inner{
	width: 1110px;
	margin: 0 auto;
}
.inner820{
	max-width: 820px;
	margin: 0 auto;
}
.inner480{
	max-width: 480px;
	margin: 0 auto;
}

div.bd-bg{
	background: url("../images/header_line.png");
	background-repeat: repeat;
	height: 0.5rem;
}

/* header */
header{	
	padding-top: 1rem;
}
.header-obj{
	display: flex;
	display: -webkit-flex;
	justify-content: space-between;
	align-items: center;
	margin-top: 1rem;
	width: 100%;
}
.header-obj-right{
	text-align: right;
}
h1{
	font-size: 0.6rem;
	font-weight: normal;
	text-align: right;
}
#Lower h2 {
	color: #555555;
	font-size: 200%;
	font-weight: normal;
	line-height: 2.2rem;
}
#Lower h3 {
	background-image: url(../images/stars.png);
	background-repeat: no-repeat;
	background-position: bottom center; 
	text-align: center;
	color: #42150A;
	font-size: 180%;
	font-weight: normal;
	padding: 1rem 0;
	margin-bottom: 1rem;
}
#Lower h4 {
	border-bottom: 1px solid #167F6A;
	color: #167F6A;
	font-size: 160%;
	font-weight: normal;
	margin-bottom: 0.5rem;
	padding: 0.5rem 0.5rem 0.3rem 0;
}
#Lower h5 {
	font-weight: normal;
	border-bottom: 1px dashed #60351B;
	color: #60351B;
	font-size: 140%;
	margin-bottom: 0.5rem;
	padding: 0.5rem 0.5rem 0.3rem 0;
}



/* nav */
nav ul{
	display: flex;
	margin-left: auto;		
}
nav ul li{
	display: block;
}
/* nav dropdownmenu */
nav ul#menu li{
    float: left;
    position: relative;
    margin: 0;
    display: block;
}
nav ul.child{
    display: none;
    position: absolute;
    margin-left: 0;
    padding: 0;
	z-index: 99;
}
nav ul.child li a{
	text-align: left;
	width: 160px;
	font-size: 0.8rem;
    padding: 5px 10px;
    margin-left: -5px;
    margin-right: -5px;
    display: block;
    color: #fff;
	background: #9CC026;
	text-decoration: none;
	margin-bottom: 1px;
}
nav ul.child li a::before {
  content: "\f054";
  font-family: "Font Awesome 5 Free";
  font-weight: 900;
  margin-right: 0.5rem;
}

section.wrap h3{
	font-size: 30px;
	line-height: 1em;
	color: #42150A;
	text-align: center;
	margin-top: 1em;
	letter-spacing: 0.1rem;
}
section.wrap h3:after {
  	content: url(../images/stars.png);
  	display: block;
}
.h3-span{
	text-align: center;
	margin-bottom: 10px;
	color: #b3b3b3;
}
.bd-bt{
	border-bottom: 3px #fff dashed;
	padding-bottom: 0.8em;
}

/* 当院の診療内容 */
.treatment-bg{
	width: 100%;
	background: url(../images/back001.jpg) no-repeat top center;
	background-size: 100% auto;	 
	padding: 2.7rem 0;
}
ul.treatment-img{
	width: 80%;
	margin: 0 auto;
	display: flex;
	justify-content: space-around;
	align-items: flex-start;
	flex-wrap: wrap;
	list-style: none;
}
ul.treatment-img li{
	width: 33%;
	height: auto;
}
ul.treatment-img li img{
	display: block;
	margin: 0 auto;
}

/* お知らせ */
.info-bg{
	background: url("../images/info_logo.png") right bottom no-repeat,url("../images/info_back.png") repeat;
	background-size: 35% auto, auto;
	padding: 1rem 0;
}
.info-bg dl{
	width: 80%;
	margin: 0 auto 1.5rem;
	display: block;
	padding: 1.5rem;
	border-top: solid 1px #42150A;
	border-bottom: solid 1px #42150A;
	overflow: scroll;
	overflow-x: hidden;
}
.info-bg dl dt{
	color: #EA6175;
	font-weight: bold;
	font-size: 1rem;
}
.info-bg dl dd{
	font-size: 1rem;
	margin-left: 0.5rem;
	margin-bottom: 1rem;
}

/* 医院概要 */
.gaiyo-bg .inner{
	padding: 1rem 0;
	display: flex;
	justify-content: center;
	align-items: center;
}
.gaiyo-bg dl{
	width: 30%;
	font-size: 0.8rem;
	vertical-align: top;
	color: #42150A;
	border-left: solid 1px #C9B580;
	border-right: solid 1px #C9B580;
	margin-left: 1rem;
	margin-right: 1rem;
	padding: 2rem 0 2rem 2rem	
}
.gaiyo-bg dl img{
	margin-right: 0.6rem;
	vertical-align: top;
}
.gaiyo-line{
	display: flex;
	margin-bottom: 0.3rem;
}
.gaiyo-line dt{
	width: 35%;
}
.gaiyo-line dd{
	width: 55%;
}

/* google map */
.gmap {
	width: 100%;
	min-height: 25rem;
	margin-bottom: -1.5rem;
}

/* footer */
footer{
	width: 100%;
	background: url("../images/wood.png"),url("../images/footer_back.png");
	background-repeat: repeat-x, repeat;
	background-position: top, center;
}
footer .inner{
	display: flex;
	justify-content: space-between;
	align-items: center;
	padding-top: 2.5rem;	
	padding-bottom: 1.5rem;		
}
footer ul{
	display: flex;
	justify-content: flex-start;
	flex-wrap: wrap;	
	width: 60%;
}
footer ul li{
	width: 20%;
	font-size: 0.8rem;
}
footer ul li a:link{
	text-decoration: none;
	color:#42150A; 
}
footer ul li a:visited{
	text-decoration: none;
	color:#42150A; 
}
footer ul li a:hover{
	opacity: 0.7;
}
address{
	color: #fff;
	background: #42150A;
	font-style: normal;
	text-align: center;
	font-size: 0.6rem;
	padding: 0.5rem 0;
}

/* PCの時非表示 */
.sp-view{
		display: none;
	}
/* PCの時表示 */
.pc-view{
	display: block;
}

.mgbt1rem{
	margin-bottom: 1rem;
}
.mgtp1rem{
	margin-top: 1rem;
}

.center-block{
	display: block;
	margin: 0 auto;
}
/*	院長紹介
-------------------------------*/
.bio dt {
	float: left;
	width: 5rem;
	clear: both;
}
.bio dd {
	margin-left: 5rem;
}


/* テキスト＋挿絵専用コンポーネント float_TB */
.L20 {
	float: left;
	width: 20%;
}
.L30 {
	float: left;
	width: 30%;
}
.L40 {
	float: left;
	width: 40%;
}
.L50 {
	float: left;
	width: 50%;
}
.L60 {
	float: left;
	width: 60%;
}
.L70 {
	float: left;
	width: 70%;
}
.L80 {
	float: right;
	width: 80%;
}
.R20 {
	float: right;
	width: 20%;
}
.R30 {
	float: right;
	width: 30%;
}
.R40 {
	float: right;
	width: 40%;
}
.R50 {
	float: right;
	width: 50%;
}
.R60 {
	float: right;
	width: 60%;
}
.R70 {
	float: right;
	width: 70%;
}
.R80 {
	float: right;
	width: 80%;
}
.LBP {
	padding: 0 2rem 1rem 0 !important;
}
.RBP {
	padding: 0 0 1rem 2rem !important;
}
.float_TB p{
	margin-bottom: 1rem;
}
	/* テキスト＋挿絵専用コンポーネント float_TB */
.float_TB::after {
	height: 0;
	content: "";
	display: block;
	clear: both;
}	


.cardiobox{
	text-align: center;
	padding:2rem;
	background-image: url(../images/cardiotitle.png);
	background-repeat: no-repeat;
	background-position: center center;
	background-size: contain;
	font-size: 1.2rem;
	color:#5B371C;
	margin-bottom: 1rem;
}

/* PC-Smartphone Swithcer
-------------------------------------------*/
.pc_n {
	display: none !important;
}
.sp_n {
	display: block !important;
}
.sp_n_il {
	display: inline !important;
}

.photos ul{
	/* flex化 */
	display: flex;
	display: -webkit-flex;
	flex-wrap: wrap;
	-webkit-flex-wrap: wrap;
	-webkit-justify-content: center;
	justify-content: center;
	margin-top:1em;
}
.photos li{
	width: 20%;
	margin:0 0.8em;
	font-size:14px;
	line-height:1.4em;
	text-align:center;
	list-style-type:none;
}
 .photos img{
	margin-bottom:0.3em;
}












/* ipad・ipad pro */
@media only screen and (max-width: 1190px) {

	.inner{
		width: 96%;
	}
	.inner img{
		max-width: 100%;
		height: auto;
	}
	.treatment-bg{
		background-size: 210%;
	}
	.gaiyo-bg dl{
		width: 40%;
	}
	.info-bg{
		background-size: 60% auto, auto;
	}
	footer .inner img{
		align-items: center;
	}
}

/* ipad */
@media only screen and (max-width: 990px) {
	header{	
		padding-top: 0.5rem;
	}
	.header-obj{
		margin-top: 0.5rem;
	}
	.gaiyo-bg .inner{
		display: block;
	}
	.gaiyo-bg dl{
		width: 70%;
		display: block;
		margin-left: auto;
		margin-right: auto;
		font-size: 1.2rem;
		vertical-align: top;
	}
	.gaiyo-bg dl img{
		vertical-align: middle;
	}
	.gaiyo-bg .inner img.gaiyo-obj{
		display: block;
		margin: 0.5rem auto;
	}
	.info-bg{
		background-size: 75% auto, auto;
	}	
	footer .inner ul{
		width: 60%;
		margin-left: 2rem;
	}
	footer ul li{
		width: 25%;
		}
}





/* SP */
@media only screen and (max-width: 767px) {
	
	
	
	/* PC-Smartphone Swithcer
-------------------------------------------*/
.pc_n {
	display: block !important;
}
.sp_n {
	display: none !important;
}
.sp_n_il {
	display: inline !important;
}
	
	
	/* 縦に並べる */
.flex_LRTB {
	flex-direction: column;
}
	.flex1, .flex2, .flex3, .flex4, .flex6, .flex7, .flex8 {
	padding: 0;
}
	
	
	


.L20, .L30, .L40, .L50, .L60, .L70, .L80, .R20, .R30, .R40, .R50, .R60, .R70, .R80 {
	width: 100%;
	float: none;
}

	
	
	header{
		margin-bottom: 1rem
	}
	h1{
		display: none;
	}
	.header-obj{
		display: block;
		text-align: center;
	}
	.header-obj-right{
		text-align: center;
	}
	nav ul{
		display: block;
		text-align: left;
		border-top:solid 1px #9CC026;
	}
	nav ul li{
		width: 50%;
		border-bottom:solid 1px #9CC026;
		padding: 0.5rem 0;
	}
	nav ul li img{
		display: block;
	}
	nav ul.child{
		margin-left: 15%;
	}
	nav ul#menu li ul.child li{
    	float: none;
		background: #fff;
		padding: 0
	}
	.sp-wrap .inner{
		width: 100%;
	}
	
	.sp-inner{
		width: 96%;
		display: block;
		margin-left: auto;
		margin-right: auto;
	}
	.sp-inner img{
		margin-left: auto;
		margin-right: auto;
	}
	.sp-view{
		display: block;
	}	
	.pc-view{
		display: none;
	}
	
	.wrap .inner img{
		margin-bottom: 0.5rem;
		margin-top: 1rem;
	}
	
	.treatment-bg{
		padding: 2rem 0;
		background-size: 400%;
	}
	
	ul.treatment-img li{
		width: 47.5%;
	}
	
	.gaiyo-bg dl{
		display: block;
		margin:  1.5rem auto;
		padding-top: 0;
		padding-bottom: 0;
		width: 90%;
		font-size: 1.2rem;
	}
	.gaiyo-line{
		display: block;
		margin-bottom: 0.5rem;
	}
	.gaiyo-bg dl dt{
		width: 100%;
	}
	.gaiyo-bg dl dd{
		width: 100%;
		margin-left: 1.3rem;
	}
	.info-bg{
		background-size: 200%, auto;
	}	
	footer .inner{
		display: block;
	}
	footer .inner img{
		display: block;
		margin: 1rem auto;
	}
	footer .inner ul{
		width: 80%;
		margin: auto;
	}
	footer .inner ul li{
		width: 40%;
		margin-left: 1rem;		
	}
	
	.photos li{
	width: 40%;
}
	
	
}