/* ゆり眼科医院 */

/* PC用設定（基本設定）*/

* {
	margin: 0 0 0 0;
	padding: 0 0 0 0;
	box-sizing: border-box;
}

/* 背景色を指定 */

body {
	background: linear-gradient(white, #FFA500);
}

/* 外枠を左右中央に配置・横幅・色を指定 */
div#container {
	margin: 0 auto 0 auto;
	width:900px;
	background-color: white;
}

/* ヘッダーの指定 */
header {
	background-image: url(img/bgpic2.jpg);
	width: 900px;
	background-size: cover;
	height: 393px;
	display: flex;
	flex-wrap: wrap;
	justify-content: space-between;
}

.inner-title1 {
	width: 40%;
	height: 140px;
	padding: 1.5em 1em 0 1em;
}

.inner-title1 img {
	width: 100%;
	height: auto;
}


.inner-title2 {
	width: 22%;
	height: 140px;
	font-size: 18px;
	vertical-align: top;
	padding-top: 20px;
}

.inner-title2 a {
	text-decoration: none;
}

.tel {
	font-size: 140%;
	font-weight: bold;
	color: blue;
	line-height: 100%;
}

.inner-title3 {
	width: 33%;
	height: 140px;
	text-align: right;
	font-size: 18px;
	vertical-align: top;
	padding-top: 20px;
	padding-right: 8px;
}

.pen {
	background: linear-gradient(transparent 55%, #FF33CC 90%);
}

.title-container {

}

h1 {
	margin-top: 60px;
	padding-left: 20px;
	padding-right: 280px;
	font-size: 150%;
	font-weight: normal;
	color: maroon;
}

/* ナビゲーションバーの設定 */

nav ul {
	display: flex;
	list-style-type: none;
	margin: 0;
	padding: 0;
	width: 100%;
}

nav ul li {
	flex: 1;
	font-size: 110%;
	text-align: center;
	background-image: url(img/nav.png);
	background-size: cover;
	height: 50px;
}

nav ul li a {
	display: block;
	line-height: 50px;
	text-decoration: none;
	font-weight: bold;
	color: blue;
}

nav ul li.mobile {
	display: none;
}


/* =============================================== */
/* コンテンツブロック（メインブロックとサイドブロック） */
/* =============================================== */

/* 親要素の設定 */
.contents_block {
	display: flex;
}

/* =============================================== */
/* メインブロックの設定 */
/* =============================================== */

.main_block {
	flex-basis: 75%;
	margin-right: 4px;
}

.main_block p {
	padding-left: 2em;
	font-size: 110%;
}


/* =============================================== */
/* h2タグの設定 */
/* =============================================== */

h2 {
	font-size: 120%;
	color: green;
	background-color: #FFDDFF;
	margin-top: 10px;
/*h2の見出し文字列を1文字内側へ寄せて、高さを指定*/
	padding: 3px 0 3px 1em;
}

/* =============================================== */
/* サイドブロック（「サイドバー」と「その他の情報」 */
/* =============================================== */

div.side_block {
	flex-basis: 25%;
	overflow: hidden;
}

/* =============================================== */
/* サイドのメニュー表示用ボックス */
/* =============================================== */

div.menu_box {
	display: inline-box;
	width: 100%;
	height: 60px;
	margin-bottom: 2px;
	text-align: center;
	padding-top: 1em;
	color: white;
	font-size: 20px;
	background: linear-gradient(90deg, #FFEEFF, #FF00FF);
}

/* =============================================== */
/* サイドバーの設定 */
/* =============================================== */

div.side_bar {
	padding: 1px 0;
	text-align: center;
}

div.side_bar ul {
	margin: 0;
	padding: 0;
	list-style-type: none;
	width: 100%;
}

div.side_bar ul li{
	width: 100%;
	padding: 18px 0;
	text-align: center;
	background-image: url(img/button14.png);
	font-size: 110%;
	font-weight: bold;
}

div.side_bar a {
	display: block;	/* ナビバー全体をボタンにする */
	color: blue;
	text-decoration: none;
}

/* =============================================== */
/* 「その他の情報」の設定 */
/* =============================================== */

div.information {
	width: 100%;
	margin-top: 12px;	/* サイドバーとの間隔を空けるため */
	margin-bottom: 8px;	/* サイドブロックとヘッダーの間隔を空ける */
	border: solid 1px silver;
}

div.info_title {
	background-color: #FFDDFF;
	text-align: center;
	padding: 5px 0;
	font-weight: bold;
}

.info_contents p {
	padding-left: 6px;
	padding-right: 6px;
	font-size: 95%;
}

p.park_info {
	padding-left: 1em;
}


/* =============================================== */
/* フッターの設定 */
/* =============================================== */

footer {
	text-align: center;
	color: gray;
	font-size: 80%;
	padding: 6px;
	background-color: #FFDDFF;
}

footer a {
	color: gray;
	text-decoration: none;
}

/* =============================================== */
/* 各ページの設定*/
/* =============================================== */


/*index*/

.offer {
	font-size: 90%;
}

.offer li {
	font-size: 110%;
	margin-top: 20px;
	list-style: none;
	padding-left: 2em;
	line-height: 50%;
}


.news {
	text-align: center;
}

div.timetable {
	font-size: 140%;
}

table.timetable {
	width: 98%;
	margin-left: auto;
	margin-right: auto;
	border-collapse: collapse;
}

table.timetable th {
	font-weight: normal;
	text-align: right;
	border: solid 1px silver;
	border-width: 1px 0 1px 0;
	width: 30%;
	padding-right: 10px;
}

table.timetable td {
	border: solid 1px silver;
	border-width: 1px 0 1px 0;
	padding: 10px 10px;
	text-align: center;
	color: red;
	font-weight: bold;
}

table.timetable tr:nth-child(1) {
	background-color: #E6FFE9;
}

table.timetable tr:nth-child(1) td {
	color: black;
	font-weight: normal;
}

ul.notice {
	background-color: #FFFFCC;
    list-style: none;
}

ul.notice li {
	margin-left: 1em;
	background-image: url("img/hana.png");
	background-repeat: no-repeat;
	padding: 4px 2px 4px 1.5em;
	font-size: 110%;
	background-position: left 8px;
	margin-top: 10px;
}

.gaikan {
	text-align: center;
}

.gaikan img {
	width: 95%;
}

	/* ================ */
	/* page2 挨拶	*/
	/* ================ */

.hello p {
	line-height: 180%;
}

.doctor img {
	width: 30%;
	float: right;
}

	/* ================ */
	/* page3 医院案内	*/
	/* ================ */

ul.guide {
    margin-left: 0; /* デフォルトのマージンをリセット */
	padding-left: 0; /* デフォルトのパディングをリセット */
    list-style: none;
    }

ul.guide li {
	margin-left: 1em;/*行頭文字の始まり位置指定*/
	background-image: url("img/hana.png");/*行頭文字を背景画像にする*/
	padding-left: 1.5em;/*背景画像と文字を重ねない設定（0.5空ける）*/
	background-repeat: no-repeat;
	background-position: left 4px;/*画像の垂直位置を4px下げる*/
	background-size: 1em;/*行頭文字のサイズ調整*/
	font-size: 110%;
	margin-top: 20px;
}

ul.mini {
	border: solid 1px silver;
	margin: 10px 50% 10px 20px;
}

ul.mini li {
	background-image: none;
	font-size: 105%;
	margin-top: 5px;
	padding-left: 0;
	list-style: none ;
}


div.group {
	float: right;
	margin-top: 10px;
	margin-right: 0px;
	margin-left: 6px;
	margin-bottom: 10px;
}

.note {
	font-size: 90%;;
}



/* page4 スケジュール*/


#gcal {
	margin-right: -7px;
	text-align: center;
	margin-top: 12px;
}

.cal_error{
	display: none;
}


/* page5 アクセス*/

ul.access {
	padding-left: 0;
	list-style: none;
}

ul.access li {
	margin-left: 1em;
	background-image: url("img/hana.png");
	background-repeat: no-repeat;
	padding-left: 1.5em;
	background-position: left 3px;
	font-size: 110%;
	margin-top: 20px;
}

div.parking {
	text-align: center;
	margin-bottom: 10px;
}

.gmap {
	text-align: center;
}

.mobile {
	display: none;
}

/********************************/
/* スマホ設定 */

@media (max-width: 768px) {

	#container {
		max-width: 100%; /* max-widthの制限を解除 */
		width: 100%;
		margin: 0;
	}

	header {
		max-width: 100%; /* max-widthの制限を解除 */
		width: 100%;
		height: auto; /* 最低の高さを指定 */
		margin: 0;
		background-image: url(img/bgpic2.jpg);
		background-size: cover;
		background-position: center;
		background-repeat: no-repeat;
		display: flex;
		flex-wrap: wrap;
		align-items: flex-start; /* 上に寄せる */
	}
	
	.inner-title1 {
		width: 100%;
		max-width: 100%;
		height: auto;
		margin-top: 0;
		margin-bottom: 10px;
		padding: 1em 1em;
		text-align: center;
	}
	
	.inner-title1 img {
		width: 90%;
		height: auto;
	}
	
	.inner-title2 {
		width: 42%;
		height: 140px;
		padding-left: 10px;
		padding-right: 0;
		font-size: 18px;
		vertical-align: top;
		overflow: hidden;
	}

	.tel {
		font-size: 140%;
		font-weight: bold;
		color: blue;
		line-height: 100%;
	}

	.inner-title3 {
		width: 58%;
		height: 140px;
		text-align: right;
		padding-right: 4px;
		padding-left: 0;
		font-size: 18px;
		vertical-align: top;
		overflow: hidden;
	}

	.pen {
		background: linear-gradient(transparent 55%, #FF33CC 90%);
	}

	.title-container {
	margin-top: 0;
	margin-bottom: 5px;
		width: 100%;
	}

	h1 {
		margin-top: 0;
		padding-left: 20px;
		padding-right: 0;
		font-size: 120%;
		font-weight: normal;
		color: maroon;
	}


/*ナビゲーションバー*/

	ul#nav-bar {
		display: flex;
		flex-wrap: wrap;
		justify-content: space-around;
		margin: 0;
		padding: 0;
		list-style-type: none;
		background-color: #F5F5DC;
	}

	ul#nav-bar li{
		flex: none; /* flex-grow, flex-shrink, flex-basisを無効化 */
		width: 50%;
		height: 50px;
		text-align: center;
		font-size: 120%;
		background-image: url(img/nav.png);/* ナビバーのボタン画像*/
		background-size: cover; /*ボタン画像のサイズを指定*/
	}

	nav ul li.mobile {
		display: block;
	}

	.main_block {
		flex-basis: 100%; /*幅72％をリセット*/
		width: 100%;
	}

	.side_block {
		display: none;
	}
	
	.news iframe {
		width: 100%;
		height: auto;
	}
		
	/*タイムテーブル*/
	
	table.timetable {
		width: 98%;
		margin-left: auto;
		margin-right: auto;
		border-collapse: collapse;
	}

	table.timetable th {
		font-size: 80%;
		font-weight: normal;
		text-align: right;
		border: solid 1px silver;
		border-width: 1px 0 1px 0;
		width: 30%;
		padding-right: 10px;
	}

	table.timetable td {
		border: solid 1px silver;
		border-width: 1px 0 1px 0;
		padding: 10px 10px;
		text-align: center;
		color: red;
		font-size: 70%;
		font-weight: bold;
	}

	table.timetable tr:nth-child(1) {
		background-color: #E6FFE9;
	}

	table.timetable tr:nth-child(1) td {
		color: black;
		font-weight: normal;
	}
	
	/*院内案内の医療機関*/
	
	ul.mini {
		border: solid 1px silver;
		margin: 10px 80px 10px 20px;
	}
	
	/*Googleカレンダー*/
	
		.cal_error {/*iPhoneのSafari対策*/
		display: block;
		margin-top: 10px;
	}
	
	.cal_error p {
		text-align: left;
		padding-left: 4px;
		font-size: 90%;
	}
	
	.cal_error a {
		text-decoration: none;
		font-weight: bold;
		color: red;
	}
	
	#gcal {
		margin-right: 0;
		text-align: center;
		margin-top: 12px;
	}
	
	/*Googleマップ*/
	
	iframe {
		width: 98%;
		height: 600px;
		border: 0;
	}
	
	
	/*問い合わせ*/
	
	.mobile {
		display: block;
	}
	
	.tel1 {
		background-color: #E6FFE9;
		margin-top: -6px;
		padding-top: 10px;
		font-size: 200%;
		font-weight: bold;
		text-align: center;
	}

	.tel1 a {
		text-decoration: none;
	}

	.what_about {
		font-size: 140%;
		text-align: center;
	}

	
}