﻿
/* CSS Document */

/* 基本レイアウト ここから↓ */

body {
	background-color: #f3f2e9;
	color: #5f5039;
	line-height: 1.5;
}
#main {
	/*max-width: 980px;*/
	padding: 2em;
	background-color: #ffffff;
	margin: 0 auto;
	max-width: 400px;
}

@media (min-width:768px) {
#main {
	margin: 0 auto;
	max-width: 700px;
}
}
p {
	margin: 20px 0 20px 0;
}
.header {
	display: flex;
	justify-content: space-around;
}
.header a {
	margin: 0 3px;
}
.header a:last-child {
	margin-right: 0;
}
#header {
	margin-right: auto;
}
#contents {
	overflow: hidden;
}
#main h2 {
	margin-top: 0;
	margin-bottom: 17px;
	padding: 15px 0 15px 10px;
	background-image: url(../img/bg_h1_bottom.gif);
	background-repeat: repeat-x;
	background-position: left bottom;
	font-size: 140%;
}
footer {
	width: 100%;
	margin-left: auto;
	margin-right: auto;
	margin-bottom: 0;
	padding-top: 70px;
	text-align: center;
	float: left;
}
/* 基本レイアウト ここまで↑ */

/* トップページ ここから↓ */

.logo {
	width: 100%;
	height: 150px;
	background-image: url(../img/smalltop1.jpg);
	background-position: top;
	background-repeat: no-repeat;
	padding: 0 auto;
}
@media (min-width:768px) {
.logo {
	width: 100%;
	height: 270px;
	background-image: url(../img/top1.jpg);
	background-position: top;
	background-repeat: no-repeat;
	padding: 0 auto;
}
}

/* トップページ ここまで↑ */

/* nav */
#site-nav {
	background-color: #ffaf49;
	margin: 0;
}
.site-nav-list {
	width: 100%;
}

@media (min-width:768px) {
.site-nav-list {
	max-width: 980px;
	width: 768px;
	margin: 0 auto;
	border-left: 1px solid #ffe8c2;
	border-right: 1px solid #ffe8c2;
	display: flex;
	justify-content: center;
}
}
.site-nav-list li {
	list-style: none;
	text-align: center;
}

@media (min-width:768px) {
.site-nav-list li {
	width: 25%;
	border-right: 1px solid #ffe8c2;
}
.site-nav-list li:last-child {
	border-right-width: 0;
}
}
.site-nav-list a {
	display: block;
	padding: 10px;
	background-color: #ffaf49;
	color: #543726;
	font-size: 12px;
	text-decoration: none;
}

@media (min-width:768px) {
.site-nav-list a {
	font-size: 16px;
}
}
.site-nav-list a:hover {
	background-color: #fee99a;
	color: #bfbfbf;
}
/*ぱんくず  */
#breadcrumb {
	margin: 0 auto 5px auto;
	max-width: 460px;
}

@media (min-width:768px) {
#breadcrumb {
	margin: 0 auto 10px auto;
	max-width: 768px;
}
}
#breadcrumb ul {
	list-style-type: none;
}
#breadcrumb ul li {
	display: inline;
	margin-right: 5px;
}
#breadcrumb ul li a {
	padding-right: 15px;
}

/* 枠と見出し */
section.entry {
	margin-bottom: 2em;
}
.entry {
	margin-right: 1em;
}
.entry h3 {
	margin: 1em 0;
	padding: 0;
}

.entry p {
	margin: 0;
}
.entry img {
	width: 100%;
}
.plan-more {
	text-align: center;
	clear: left;
}
@media (min-width:768px) {
.item {
	display: flex;
}
.item img {
	width: 100%;
	height: 20%;
}
}
/* テーブル */
table {
	margin: 2em auto;
	font-size: 14px;
}
table thead tr th {
	background-color: #ffda66;
}
table tbody tr:nth-child(even)　 {
	background-color: #e5d8b5;
}
table.kengakuSchedule {
	border-collapse: collapse;
}
.kengakuSchedule th, .kengakuSchedule td {
	border: 1px solid #999999;
	padding: 1em;
}
@media (min-width:768px) {
	table {
		font-size: 18px;
	}
}
/* フォーム */
#main ul, #mainol {
	margin: 1em;
}
input[type="text"], input, textarea {
	padding: 0.8em;
	outline: none;
	border: 1px solid #DDD;
	-webkit-border-radius: 3px;
	-moz-border-radius: 3px;
	border-radius: 3px;
	font-size: 16px;
	-moz-box-shadow: inset 0 0 4px rgba(0,0,0,0.2);
	-webkit-box-shadow: inset 0 0 4px rgba(0, 0, 0, 0.2);
	box-shadow: inner 0 0 4px rgba(0, 0, 0, 0.2);
}
input {
	width: 300px;
}
input[type="checkbox"] {
	width: 15px;
}
input[type="text"]:focus, input:focus, textarea:focus {
	box-shadow: 0 0 7px #3498db;
	border: 1px solid #3498db;
}
input[type="text"] {
	-webkit-transition: all .3s;
	-moz-transition: all .3s;
	transition: all .3s;
	width: 200px;
}
input[type="text"]:focus {
	width: 300px;
}
input.sysNextSubmit {
	border-radius: 0;
	background: -moz-linear-gradient(top, #FFF 0%, #EEE);
	background: -webkit-gradient(linear, left top, left bottom, from(#FFF), to(#EEE));
	border: 1px solid #DDD;
	color: #111;
	padding: 10px 30px;
}
input.sysNextSubmit:hover {
	background: -moz-linear-gradient(top, #EFEFEF 0%, #EEE);
	background: -webkit-gradient(linear, left top, left bottom, from(#EFEFEF), to(#EEE));
}
/* カルーセル */


/* レスポンシブ */
