/*リセットCSS*/
@import url("reset.css");

/*テーマカラー*/
:root {
    --primary-color: #ccffcc;
}

html,body{
	height:100%;
	font-size:16px;
	background-image: url("../images/bg_ground.png");
	background-repeat: repeat-x;
}

main a{
	color: blue;
	text-decoration:underline;
    text-decoration-color: blue;
}

main a:hover {
	font-weight: bold;
}

body{
	font-family:"ヒラギノ丸ゴ Pro W3", "Hiragino Maru Gothic Pro", "メイリオ", Meiryo, Osaka, "ＭＳ Ｐゴシック", "MS PGothic", sans-serif;
	-webkit-text-size-adjust: none;
	background: white;/*再設定*/
	color: #333333;
	line-height: 1.4em;
}

#ground{
	width:100%;
	background-image: url("../images/bg_ground.png");
	background-repeat: repeat-x;
}

#container{
	width:950px;
	margin-left:auto;
	margin-right:auto;
	overflow:hidden;
}

#head{
	height:100px;
	width:950px;
	position:relative;
	display:flex;
	background-image: url("../images/bg_ground.png");
	background-repeat: repeat-x;
	align-items: center;
}

#logo_area{
	width:502px;
	height:100px;
	margin: 0px;
}

h1{
	font-size:14px;
}

#menubar{
	margin-left: auto;

}

#menubar ul{
	padding-right: 10px;
	display:flex;
	align-items: center;
	list-style: none;
}

#menubar li{
	text-align: center;
}

#menubar a {
	text-decoration: none;
	display: block;
	color: inherit;
	padding: 0.7rem 0.5rem;
	border-right: 1px solid #fff;
}
#firstmenu{
	border-left: 1px solid #fff;
}

#menubar a:hover {
	color: blue;
	font-weight: bold;
	background: radial-gradient(
		ellipse at center,
		#a6ff8b65 0%,
		#a6ff8b65 20%,
		#f3ffe7 100%
	);
}

#chapter{
	padding-left:25px;
	padding-right: 25px;
	padding-bottom: 20px;
	padding-top: 10px;
	background: white;/*再設定*/
}

.paragraph p{
	margin:0px;
	padding-right: 5px;
	padding-left: 5px;
	padding-top: 0px;
	padding-bottom: 0px;
	font-size: 15px;
	line-height: 1.5em;
	letter-spacing: -0.0em;
}

h2{
	font-size:22px;
	margin-right: 0px;
	margin-left: 0px;
	margin-top: 20px;
	margin-bottom: 15px;
	font-weight: normal;
	letter-spacing: 1px;
	background-image: url(../images/logo_h2.png);
	background-position: bottom 1px left 0px;
	background-repeat: no-repeat;
	padding-top:10px;
	padding-bottom: 1.5px;
	padding-left: 55px;
	border-bottom: 2px solid green;
}

h3{
	font-size:16px;
	margin-right: 0px;
	margin-left: 0px;
	margin-top: 10px;
	margin-bottom: 10px;
	font-weight: normal;
	letter-spacing: 1px;
	color: rgb(0, 65, 0);
	border-left: 3px solid #99ff00;
	padding-left: 5px;
	padding-top: 4px;
	background-color: #eeffde;
}

h4{
	font-size:16px;
	margin-right: 0px;
	margin-left: 0px;
	margin-top: 5px;
	margin-bottom: 2px;
	font-weight: bold;

}

h4:before {
	content: '●';
	color: #66ff00;
	margin-right: 8px;
  }

#if_info{
	width: 900px;
	
}

#if_first{
	margin-top: 0px;
}


h5{
	margin:0px;
	padding-left: 3px;
	padding-bottom: 3px;
	font-size: 18px;
	font-weight: bold;
}

#board ul{
	padding-left: 10px;
}

#board li{
	list-style-type: disc;
	list-style-position:inside;
	font-size: 15px;
}

#doc_img{
	width: 200px;
	border-radius: 8%;
}

#doc_frame{
	float: left;
	text-align: center;
	padding-left: 5px;
	padding-right: 5px;
	padding-top: 5px;
	margin-right: 5px;
}

#doc_gre{
	display: flex;
	align-items: center;
}

#doc_gre p{
	align-items: center;
}

#gmap{
	width: 100%;
	height: 600px;
}

#facade_frame{
	text-align: center;
}

#facade_frame p{
	font-size: 1.5em;
}

#facade{
	border: solid 4px #CCC;
	width: 400px;
}

#interior_frame{
	width: 100%;
	height: 100%;
	display: flex;
	align-items: center;
	justify-content: center;
}

#interior_frame img{
	margin-left: 5px;
	margin-right: 5px;
	margin-top: 10px;
}

#interior_table tr td{
	text-align: center;
	vertical-align: middle;
}

#desk{
	border: solid 4px #CCC;
	width: 400px;
}
#wating{
	border: solid 4px #CCC;
	width: 400px;
}
#kame{
	border: solid 4px #CCC;
	width: 400px;
}

#map{
	width: 500px;
}

#map_frame{
	text-align: center;
}

#map_table tr td{
	text-align: center;
	vertical-align: middle;
}

#bikeport{
	margin-top: 20px;
	border: solid 4px #CCC;
	width: 400px;
}

#interior_frame p{
	font-size: 1.5em;
}

#DX{
	border: solid 4px #CCC;
	width: 300px;
}
#DX_frame{
	text-align: center;
}

.here{
	color:blue;
}

table tr td {
	line-height: 1.4em;
}


.timeline_hd {
	background-color: #eee;
	font-weight: bold;
}

.timeline_lf{
	font-weight: bold;
}

.timeline_time{
	font-size: 18px;
}

.timeline_rep{
	font-size: 12px;
	color: blue;
}

.timeline tr td {
	padding: 5px;
	text-align: center;
	vertical-align: middle;
	border-right-width: 1px;
	border-bottom-width: 1px;
	border-right-style: solid;
	border-bottom-style: solid;
	border-right-color: #ccc;
	border-bottom-color: #ccc;
}

.timeline_cell {
	color: #66ff00;
	font-size: 22px;
}

.timeline {
	border-top-width: 1px;
	border-left-width: 1px;
	border-top-style: solid;
	border-left-style: solid;
	border-top-color: #ccc;
	border-left-color: #CCC;
	margin-top: 10px;
}

.emphasis_boldred{
	font-weight: bold;
	color:red;
}
.emphasis_ured{
	color: red;
	text-decoration:underline;
    text-decoration-color: red;
}
.emphasis_boldblue{
	font-weight: bold;
	color:blue;
}
.emphasis_big{
	font-size: 20px;
	font-weight: bold;
}

.de-empha{
	font-size:0.8em;
}

.empha_list{
	font-size: 14px;
	color: #BBB;
	font-weight: bold;
}

#footer{
	text-align:left;
	width:940px;
	border-top:solid 1px #CCCCCC;
	position:relative;
	background-color:#FFFFFF;
	margin-top: 10px;
	margin-right: auto;
	margin-bottom: 0;
	margin-left: auto;
	padding-top: 10px;
	padding-right: 10px;
}
#footer p {
	font-size: 12px;
	text-align: right;
}

#footer a{
	color: blue;
	text-decoration:underline;
	text-decoration-color: blue;
}

#footer a:hover {
	font-weight: bold;
}

address {
	font-size: 12px;
	color: #333333;
	font-style: normal;
	line-height: 1.2em;
	letter-spacing: 0.1em;
	text-align: right;
}


/*@media screen and (min-width:768px) and ( max-width:1024px) {
	#head{
		background: rebeccapurple;
	}
}*/

@media screen and (max-width:550px){ 

	h1{
		font-size: 10px;
	}
	
	#container{
		width:100%;/*ここ*/
	}
	
	#head{
		height:150px;/*ここ*/
		width:100%;/*ここ*/
		display:block;/*ここ*/
	}
	
	#logo_area{
		width:100%;
		padding-left: 5px;
		padding-right: 5px;
		display: flex;
		align-items: center;
	}

	#logo{
		width:100%;/*ここ*/

	}
	
	
	#menubar{
		margin-right: auto;/*ここ*/
	}

	
	#menubar ul{
		width:96%;/*ここ*/
		padding-right: 0px;
		padding-left: 0px;/*ここ*/
		margin-left: auto;/*ここ*/
		margin-right: auto;/*ここ*/
	}
	
	#menubar li{
		width:24%;/*ここ*/
	}
	
	#menubar a {
		padding-left: 0.2em;/*ここ*/ 
		padding-right:0.2em;/*ここ*/
		padding-top: 0.4em;/*ここ*/
		padding-bottom: 0.4em;/*ここ*/
		font-size: 13px;/*ここ*/
	}
	
	#chapter{
		margin:2%;/*ここ*/ 
		padding: 2%;
	}

	#board h2{
		font-size: 18px;
	}
	
	.paragraph p{
		margin:0px;
		padding-right: 5px;
		padding-left: 5px;
		padding-top: 0px;
		padding-bottom: 0px;
		font-size:clamp(14px, calc(0.9rem + 0.625vw), 1.6rem);
	}

	#if_info{
		width: 100%;
	}

	h2{
		margin-bottom: 7px;/*ここ*/
		font-size:22px;
		margin-right: 0px;
		margin-left: 0px;
		margin-top: 10px;/*ここ*/
		margin-bottom: 15px;
		font-weight: normal;
		letter-spacing: 1px;
	}

	#doc_frame{
		float: none;
		margin-bottom: 10px;
	}

	#doc_img{
		width: 100%;
		border-radius: 8%;
	}

	#facade{
		width: 100%;
	}

	#DX{
		width: 100%;
	}

	#interior_table tr td{
		width:100%;
		display:block;
	}

	#facade_frame p{
		font-size: 1.0em;
	}

	#interior_frame p{
		font-size: 1.0em;
	}

	#map_table tr td{
		width:100%;
		display:block;
	}

	#map{
		width: 100%;
	}

	#bikeport{
		width: 100%;
	}

	#footer{
		width:98%;/*ここ*/
		padding-right: 2%;
		padding-bottom: 10px; 
	}
	#footer p {
		font-size: 12px;
		text-align: right;
	}
	
	address {
		font-size: 12px;
		color: #333333;
		font-style: normal;
		line-height: 1.2em;
		letter-spacing: 0.1em;
		text-align: right;
	}
}