@charset "utf-8";

/*================================================================================
	コンテンツ全体（#container）
================================================================================*/
#container {
	width: 100%;
	min-width: 250px;
	margin-right: auto;
	margin-left: auto;
	align-items:center;
}
#header {
	width: 100%;
	padding-bottom: 5px;
	height: 120px;
	position: fixed;
	top: 0;
	left: 0;
	z-index: 10;
	background-color: #ffb7b1;
}
#content {
	margin-top: 0px;
	display: flex;	/* Flexコンテナをつくる */
	background-color: #ffffff;
}
#footer {
	margin-top: 0px;
	padding-top: 10px;
	padding-bottom: 10px;
	margin-bottom: 0px;
	text-align: center;
	align-items:center;
	font-size: 12px;
	background-color: #ffb7b1;
}
#main {
	width: 100%;
	margin-top: 170px;
	padding-top: 15px;
	padding-left: 20px;
	padding-right: 20px;
	padding-bottom: 10px;
	background-color: #ffffff;
}

/*================================================================================
	ヘッダー部（#header）
================================================================================*/
#header img{
	margin-top: 10px;
	margin-left: 5px;
	height: 55px;	/* このように指定しておかないと、上下に余分な隙間があいてしまう場合がある */
	display: inline;
}
#header h1{	/* marginで指定すると#headerの背景画像がずれるので、padding-topで */
	margin-left: 0px;
	padding-top: 0px;
	font-size: 5.7vw;
	display: inline;
}
#header p{
	margin-left: 70px;
	font-size: 2vw;
	display: block;
}

/*================================================================================
	メインコンテンツ部（#main）
================================================================================*/
#main h1{
	padding-top: 10px;
	padding-left: 10px;
	margin-top: 10px;
	margin-bottom: 20px;
	border-left: solid 7px #ffb7b1;
	font-size: 140%;
	line-height: 1.4rem;
}
#main h2{
	padding-top: 15px;
	display: inline-block;
	border-bottom: 3px solid #ffb7b1;
	font-size: 100%;
}
#main p{
	font-size: 90%;
	line-height: 1.2rem;
}
#main .top div{
	margin-top: 10px;
	text-align: center;
}
#main .top img{
	text-align: center;
	margin-left: auto;
	margin-right: auto;
	width: 100%;
	height: 150px;
	object-fit: cover;
	border: 1px solid;
	border-color: #000;
}
#main .googlemap{
	position:relative;
	width:100%;
	height:0;
	padding-top:150px;
}
#main .googlemap iframe{
	position:absolute;
	top:0;
	left:0;
	width:100%;
	height:100%;
}
#main .top dt{
	float: right;
}
#main .top dl img{
	text-align: right;
	width: 100%;
	height: 150px;
	object-fit: cover;
}
#main .project img{
	margin-left: auto;
	margin-right: auto;
	margin-bottom: 10px;
	width: 100%;
	height: 160px;
	object-fit: cover;
	border: 1px solid;
	border-color: #000;
}
#main .project figure img{
	margin-left: auto;
	margin-right: auto;
	margin-bottom: none;
	width: 120px;
	height: 120px;
	display: flex;
	border: none;
}
#main .project figure .picture{
	margin-left: auto;
	margin-right: auto;
	margin-bottom: none;
	width: 100%;
	height: 100%;
	display: flex;
	border: none;
}
#main .project figcaption{
	padding: 0px;
	text-align: center;
}
#main .project dl{
	margin-top: 10px;
	margin-left: 10px;
	margin-right: 10px;
}
#main .project dd{
	padding-left: 10px;
}
#main .project table{
	margin-top: 15px;
	margin-left: 10px;
	margin-right: 10px;
	border-collapse: collapse;
	table-layout: fixed;
	width: 100%;
}
#main .project tr:nth-child(1) {
 	background-color: #ffb7b1;
}
#main .project th,td {
	border: solid 1px;
	padding: 5px;
}
#main .project th {
	width: 30%;
	text-align: center;
	background-color: #ffb7b1;
	font-weight: normal;
}
#main .project td {
	width: auto;
	text-align: center;
}
#main .profile img{
	margin-left: auto;
	margin-right: auto;
	margin-bottom: 10px;
	width: 100%;
	height: 120px;
	object-fit: cover;
	border: 1px solid;
	border-color: #000;
}
#main .table img{
	margin-left: auto;
	margin-right: auto;
	margin-bottom: 10px;
	width: 100%;
	object-fit: contain;
	border: none;
}

#main .right {
	display: flex;
	justify-content: flex-end;
}
#main .button {
	border: 0;
	line-height: 2.5;
	padding: 0 20px;
	margin-bottom: 20px;
	font-size: 1rem;
	text-align: center;
	color: #fff;
	text-shadow: 1px 1px 1px #000;
	border-radius: 3px;
	background-color: #009D58;
	background-image: linear-gradient(to top left, rgba(0, 0, 0, 0.2), rgba(0, 0, 0, 0.2) 30%, rgba(0, 0, 0, 0));
	box-shadow: inset 2px 2px 3px rgba(255, 255, 255, 0.6), inset -2px -2px 3px rgba(0, 0, 0, 0.6);
}
#main .button:hover {
	background-color: saddlebrown;
}
#main .button:active {
	box-shadow: inset -2px -2px 3px rgba(255, 255, 255, 0.6), inset 2px 2px 3px rgba(0, 0, 0, 0.6);
}


/*================================================================================
	フッター部（#footer）
================================================================================*/
#footer li{
	margin-top: 5px;
	margin-bottom: 5px;
	margin-left: 30px;
	margin-right: 30px;
	padding-top: 3px;
	padding-bottom: 3px;
	border-radius: 3px;
	background-color: #009d5b;
	font-size: 90%;
	line-height: 1.2rem;
    text-decoration:none; 
	display: block;
}
#footer a:link, a:visited, a:hover, a:active {
	display:block;
    text-decoration:none;
	color: #FFFFFF;
}
#footer p{
	display: block;
}

/*================================================================================
	ポップアップ（#popup）
================================================================================*/
#popup {
    width: 100%;
    height: 50px;
    position:fixed;
	right: auto;
    left: auto;
    top: 120px;
    z-index: 40;
	}
#popup .access{
	position: absolute;
	right: auto;
	left: 0;
    width: 50%;
	height: 50px;
	object-fit: cover;
    }
#popup .odenwa{
	position: absolute;
	right: 0;
	left: auto;
    width: 50%;
	height: 50px;
	object-fit: cover;
    }

/*================================================================================
	Tablet対応
================================================================================*/
@media (min-width:600px) {
	#header h1{
		margin-left: 0px;
		padding-top: 0px;
		font-size: 200%;
		display: inline;
	}
	#header p{
		margin-left: 70px;
		font-size: 70%;
		display: block;
	}
}
@media (min-width:600px) {
	#main .top img{
		width: 100%;
		height: 200px;
		object-fit: cover;
		border: 1px solid;
		border-color: #000;
	}
	#main .googlemap{
	    position:relative;
	    width:100%;
	    height:0;
	    padding-top:200px;
	}
	#main .top dl img{
		text-align: right;
		width: 100%;
		height: 200px;
		object-fit: cover;
	}
	#main ul{
		display: flex;
	    justify-content: space-between;
		flex-wrap: wrap;
	}
	#main li{
		width: calc(50% - 20px);
		margin-bottom: 170px;
		position: relative;
	}
	#main ul img{
	    display: block;
    	height: 100%;
    	width: 150px;
    	position: absolute;
    	top: 0; left: 0;
    	object-fit: cover;
	}
}
@media (min-width:600px) {
	#footer ul{
		margin-left: auto;
		margin-right: auto;
		display: flex;
		justify-content: space-between;
		width: 540px;
		flex-wrap: wrap;
	}
	#footer li{
	width: 200px;
	position: relative;
	}
	#popup{
		display: none;
	}
}
/*================================================================================
	PC対応
================================================================================*/
@media (min-width:900px) {
	.hamburger-menu{
		display: none;
	}
	#content{
		align-items: center;
		margin-left: auto;
		margin-right: auto;
	}
	#header p{
		position:fixed;
  		top: 27px;
  	  	right: 80px;
    	display: flex;
	}
	#main{
		margin-top: 130px;
		width: 900px;
		align-items: center;
		margin-left: auto;
		margin-right: auto;
	}
	#main .top img{
		height: 300px;
		object-fit: cover;
		border: 1px solid;
		border-color: #000;
	}
	#main .googlemap{
		position:relative;
		width:100%;
		height:300px;
		overflow: hidden;
		padding-top:300px;
		margin-bottom:-150px;
	}
	#main .googlemap iframe{
		position:absolute;
		top:0;
		left:0;
		width:100%;
		height:100%;
		margin-top:-150px;
	}
	#main ul{
		display: flex;
	  	justify-content: space-between;
		flex-wrap: wrap;
	}
	#main li{
		width: calc(50% - 20px);
		margin-bottom: 170px;
		position: relative;
	}
	#main li:nth-of-type(2n){
		margin-right: 0;
	}
	#main ul img{
		height: 100%;
		width: 200px;
		top: 0; left: 0;
 		object-fit: cover;
	}
	#main .project dl{
		margin-left: 20px;
		margin-right: 20px;
	}
	#main .project dt{
		float: left;
	}
	#main .project dd{
		margin-left: 100px;
	}
}
