/* vim:set ts=4 sts=4 sw=4 bs=2 ai si noet nu ff=dos ft=css: */
/* $Id$ */
/* Last Change: 09-February-2020 11:56:25. */

@media screen and (max-width: 860px) {

	body {
		width: 100%;
		font-size: 30px;
		padding-top: 10rem;
	}

	#container {
		position: relative;
		min-width: 860px;
		max-width: 860px;
	}

	#gbutton {
		display: block;
		padding: 3rem;
		margin: 0 auto;
		text-align: center;
		background-color: #f1d57c;
		color: white;
		font-weight: bold;
		letter-spacing: 20px;
		cursor: pointer;
		position: fixed;
		top: 0;
		left: 0;
		width: 100%;
		z-index: 5;
	}

#header {
	margin-bottom: 0;
}

#headerimage { 	width:800px;
				margin:0 auto;}
				
#headerimage img { margin:0 auto;} 

#header #tel{
	display: none;
}


#header h1 {
/* 	margin-top: 10rem; */
	font-size: 3rem;
	height: auto;
	padding: 2.3rem;
	text-align: center;
}

#contents h2 {
	font-size: 2rem;
}

#header #gnavi {
	background-color: #f1d57c;
	height: auto;
	padding: 2em;
	color: white;
	display: none;
}

#header #gnavi.open #gclose {
	display: block;
    color: white;
    background-color: black;
    padding: 2rem;
    text-align: center;
    z-index: 30;
    position: fixed;
    width: 96%;
    top: 1rem;
    left: 0;
    right: 0;
    margin: 0 auto;
}

#header #gnavi.open {
	display: block;
}
	#header #gnavi ul {
		display: none;
		margin: 0 auto;
	}

	#header #gnavi.open ul {
		display: block;
		width: 100%;
		margin: 0 auto;
		position: fixed;
		top: 0;
		left: 0;
		height: 100%;
		z-index: 10;
		background-color: #f1d57c;
		padding: 10rem 2rem 2rem;
	}

#header #gnavi ul li {
	display: block;
	text-align: left;
	border: none;
	padding: 2rem;
	font-size:40px;
}

#header #gnavi ul li:last-child {
	border-right: none;
}

	#contents {
		width: 95%;
		padding: 1rem;
	}

	#contents h1 {
		font-size: 2rem;
	}

	#sec1,
	#sec2,
	#sec3,
	#sec4,
	#sec5
	{
		border: none;
		border-radius: 0;
		padding: 1rem;
		margin-bottom: 2rem;
		box-shadow: none;
	}


#scroll {
	display: none;
}

#bnavi {
	display: block;
	position: absolute;
	bottom: 0;
	left: 0;
	width: 100%;
	height: auto;
	font-size: 3rem;
	padding: 2rem;
	background-color: #f1d57c;
}

#bnavi ul {
	display: table;
	width: 100%;
}

#bnavi li {
	display: table-cell;
	text-align: center;
	vertical-align: middle;
}

#bnavi i {
	font-size: 5rem;
	vertical-align: middle;
	margin-right: 0.5rem;
}

#bnavi a:link,
#bnavi a:active,
#bnavi a:visited
{
	color: white;
	text-decoration: none;
}


#footer {
	padding: 3rem 2rem 10rem;
/* 	background-color: #f1d57c; */
	background-color: #eaeaea;
	color: black;
/* 	position: absolute; */
/* 	margin-top: 3em; */
	margin-top: auto;
	height: auto;
	width: 100%;
/* 	bottom: 0; */
/* 	left: 0; */
}

#footer {
	font-size: 2rem;
	text-align: center;
}

#footer p {
	line-height: 2;
	margin-bottom: 1em;
}






.dropdown select {
	font-size: 2rem;
}


input[type="checkbox"] {
  display: none;
}
input[type="checkbox"]:checked + label span {
  background-color: white;
/*   transform: scale(1.25); */
  transform: scale(2.00);
}
input[type="checkbox"]:checked + label span:after {
  width: 10px;
  background: #1790b5;
  transition: width 150ms ease 100ms;
}
input[type="checkbox"]:checked + label span:before {
  width: 5px;
  background: #1790b5;
  transition: width 150ms ease 100ms;
}


input[type="submit"]
{
	width: auto;
	height: 150px;
	padding: 0.5em;
	border:0;
	padding:1rem;
	font-size:2rem;
	font-family:Arial, sans-serif;
	/* color:#aaa; */
	border:solid 1px #666;
	/* margin:0 0 20px; */
	/* width:300px; */
	-webkit-border-radius: 3px;
	-moz-border-radius: 3px;
	border-radius: 3px;
	-moz-box-shadow: outset 0 0 4px rgba(0,0,0,0.2);
	-webkit-box-shadow: outset 0 0 4px rgba(0, 0, 0, 0.2);
	box-shadow: inner 0 0 4px rgba(0, 0, 0, 0.2);
	background: -moz-linear-gradient(to bottom,#FFF,#eee 30%,#eaeaea); 
	background: -webkit-linear-gradient(to bottom,#FFF,#eee 30%,#eaeaea); 
	background: linear-gradient(to bottom,#FFF,#eee 30%,#eaeaea); 
}

input[type="button"]
{
	padding: 0.3em;
	border:0;
	padding:10px;
	font-size:2rem;
	font-family:Arial, sans-serif;
	/* color:#aaa; */
	border:solid 1px #666;
	/* margin:0 0 20px; */
	/* width:300px; */
	-webkit-border-radius: 3px;
	-moz-border-radius: 3px;
	border-radius: 3px;
	-moz-box-shadow: outset 0 0 4px rgba(0,0,0,0.2);
	-webkit-box-shadow: outset 0 0 4px rgba(0, 0, 0, 0.2);
	box-shadow: inner 0 0 4px rgba(0, 0, 0, 0.2);


	background: -moz-linear-gradient(to bottom,#FFF,#eee 30%,#eaeaea); 
	background: -webkit-linear-gradient(to bottom,#FFF,#eee 30%,#eaeaea); 
	background: linear-gradient(to bottom,#FFF,#eee 30%,#eaeaea); 

}

table td input[type="text"],
table td input[type="password"],
table td textarea
{
	width: 100%;
	padding: 1rem;
	border:0;
	font-size:2rem;
	font-family:Arial, sans-serif;
	/* color:#aaa; */
	border:solid 1px #d4bdbd;
	/* margin:0 0 20px; */
	/* width:300px; */
	-webkit-border-radius: 3px;
	-moz-border-radius: 3px;
	border-radius: 3px;
	-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);
}

table,
thead,
tbody,
table th,
table td
{
	width: 100%;
	display: block;
	border: 0;
}

table tr
{
	width: 100%;
	display: block;
}

#contents .entry h2 {
	font-size: 2rem;
}

.entry table tr
{
	border: 0;
}

.entry table th
{
	text-align: left;
	border: 1px solid gray;
}

.entry table td
{
	padding: 1rem 0;
}

br.sp {
	display: inline;
}

}
