@charset "utf-8";

/*
Template: giraffe
Theme Name:giraffe-child
Theme URI:http://junichi-manga.com/giraffe/
Description:Giraffeの子テーマです
Author:JUNICHI
Version:0.1
*/ 

/****************************************************************************************************
 *
 * 領域1　すべての端末で適用（スマホ＆タブレット＆PC）
 *
 *****************************************************************************************************/

/*----------------------------------------------------------------------------------------------------
 * 色設定
 *----------------------------------------------------------------------------------------------------*/
body{
	background-color:#FEEEED;
}

#header-upper-area a, #header-upper-area .descr{
	color:#FFFFFF;
}
#header-upper-area, #accordion, #navi-large-area{
	background-color:#E86B79;
}
#footer{
	background-color: #753b15;
}



/*----------------------------------------------------------------------------------------------------
 * ヘッダー
 *----------------------------------------------------------------------------------------------------*/
#logo .descr{
	font-size:14px;
}


/*----------------------------------------------------------------------------------------------------
 * メニュー
 *----------------------------------------------------------------------------------------------------*/

/*----- PC用 ----------*/
#main-navigation li a{
	font-size:18px;
}
#navi-large-area.sticking {
	width: 100%;
	z-index: 999;
}


/*----- モバイル用 ----------*/ 
#accordion{
	text-align:center;
	color:#FFFFFF;
	padding:0px;
}
#accordion p{
	margin:0px;
}
#accordion .op{
	font-size:24px;
}

/*----------------------------------------------------------------------------------------------------
 * 基本
 *----------------------------------------------------------------------------------------------------*/
body.single main,
body.page-template-page-one-column-top main{
	max-width: 1100px;
	margin-right: auto;
	margin-left: auto;
	background-color: #fff;
	border-radius: 4px;
}
body.home #contentInner h2{
	display: flex;
	flex-direction: row;
	flex-wrap: wrap;
	justify-content: flex-start;
	align-items: center;
	background-color:#7CC28E;
	color:#FFFFFF;
}
body.home #contentInner h2 .emj {
	font-size: 32px;
	margin-right: 5px;
}

#topnews h3{
	border:none;
}

.entry-title{
	border-bottom: 2px solid #E86B79;
	margin-bottom: 30px;
}
.entry-title .emj {
	font-size: 28px;
	margin-right: 5px;
}

/*----- コンテンツ余白 ----------*/
#content main {
	padding: 20px 20px;
}


/*----- レスポンシブテーブル ----------*/
.post .responsive-table{
	border:none;
}
.post .responsive-table th,
.post .responsive-table td{
	text-align:center;
}
.post .responsive-table .column-1{
	width:15%;
}
.post .responsive-table .column-2,
.post .responsive-table .column-3,
.post .responsive-table .column-4,
.post .responsive-table .column-5,
.post .responsive-table .column-6,
.post .responsive-table .column-7,
.post .responsive-table .column-8 {
	width:10%;
}


/*----------------------------------------------------------------------------------------------------
 * クリニックギャラリー
 *----------------------------------------------------------------------------------------------------*/
#gallery-1 {
	margin: auto;
}
#gallery-1 .gallery-item {
	float: left;
	margin-top: 10px;
	text-align: center;
	width: 33%;
}
#gallery-1 img {
	border: 2px solid #cfcfcf;
}
#gallery-1 .gallery-caption {
	margin-left: 0;
}
#gallery-1 .gallery-item{
	width:30% !important;
	margin-left:2%;
}
.gallery .gallery-item a{
	overflow:hidden;
	border-radius: 30px;
	border: 2px solid #cfcfcf;
	position:relative;
	outline: none;
}
.gallery .gallery-item a:before{
	font-family: dashicons;
	content:'\f148';
	color:#BBBBBB;
	background:#FFFFFF;
	font-size:50px;
	display:inline-block;
	position:absolute;
	z-index:10;
	padding:1px;
	margin:10px;
	border-radius:80px;
	transition: .3s ease-in-out;
	opacity: 0;
	transform: rotate(0deg);
}
.gallery .gallery-item a:hover:before{
	opacity: 1;
	transform: rotate(180deg);
}
.gallery .gallery-item a:hover img{
	opacity: 1;
	transform: scale(1.5);
}
.gallery .gallery-item a img{
	border:none !important;
	transform: scale(1);
	transition: .3s ease-in-out;
}


/*----------------------------------------------------------------------------------------------------
 * 検索フォーム
 *----------------------------------------------------------------------------------------------------*/
#searchform{
	position:relative;
}


/*----------------------------------------------------------------------------------------------------
 * お問い合わせフォーム
 *----------------------------------------------------------------------------------------------------*/
.wpcf7{
	background-color:transparent;
	border:none;
	text-align:center;
}
.wpcf7 .wpcf7-form{
	margin:0px auto;
	width:720px;
	text-align:left;
}
.wpcf7 .wpcf7-form .mt-text-center{
	text-align:center;
}
.wpcf7 .wpcf7-form .wpcf7-submit{
	font-weight:bold;
	padding: 0.4em 0.5em;
	text-decoration: none;
	color: #00BCD4;
	background: #ECECEC;
	/*border:none;*/
	border:1px solid #00BCD4;
	border-radius: 0 15px 15px 0;
	transition: .4s;
}
.wpcf7 .wpcf7-form .wpcf7-submit:hover {
	background: #636363;
	cursor:pointer;
}
.wpcf7 .wpcf7-form .wpcf7-submit[disabled]{
	cursor: default;
	color: #999;
	background: #fafafa;
	border:1px solid #fafafa;
}

/****************************************************************************************************
 *
 * 領域2　スマホ＆タブレット
 *
 *****************************************************************************************************/
@media only screen and (max-width: 780px) {

	#accordion{
		padding:10px 0px;
	}

	/*----- レスポンシブテーブル ----------*/
	.post .responsive-table { 
		display: block;
		width: 100%;
		margin: 10px 10px;
	}
	.post .responsive-table thead{ 
		display: block; 
		float: left;
		overflow-x:scroll;
	}
	.post .responsive-table tbody{ 
		display: block; 
		width: auto; 
		overflow-x: auto; 
		white-space: nowrap;
	}
	.post .responsive-table tbody tr{ 
		display: inline-block; 
		margin: 0 -3px;
	}
	.post .responsive-table tbody .column-1{ 
		padding:10px 5px;
	}
	.post .responsive-table th{ 
		display: block;
		border-bottom: none;
		width:auto !important;
	}
	.post .responsive-table th:not(:first-child){
		border-top: 1px solid #ddd !important;
	}
	.post .responsive-table td{ 
		display: block;
		width:auto !important;
	}
	.post .responsive-table td:first-child{
		border-top: none;
	}
	.post .responsive-table td:not(:first-child){
		border-top: 1px solid #ddd !important;
	}
	
	/*----- 診察時間 ----------*/
	.consultation-time th,
	.consultation-time td{
		padding:10px 16px;
	}
	
	/*----- クリニックギャラリー ----------*/
	#gallery-1:after {
		content: "";
		display: block;
		clear: both;
	}
	#gallery-1 .gallery-item{
		width:45% !important;
		margin-left:2%;
	}
	#gallery-1 br{
		display:none;
	}
	
	/*----- お問い合わせフォーム ----------*/
	.wpcf7 .wpcf7-form{
		width:100%;
	}
}


/****************************************************************************************************
 *
 * 領域3　タブレット＆PC
 *
 *****************************************************************************************************/
@media only screen and (min-width: 420px) {
}


/****************************************************************************************************
 *
 * 領域4　スマホ
 *
 *****************************************************************************************************/
@media only screen and (max-width: 420px) {

	/*----- クリニックギャラリー ----------*/
	#gallery-1 .gallery-item{
		width:90% !important;
		margin-left:2%;
	}

}


/****************************************************************************************************
 *
 * 領域5　PCサイズ
 *
 *****************************************************************************************************/
@media only screen and (min-width: 781px) {
}


