﻿@charset "UTF-8";
/*=================================
 * きぼうの家共通
 *=================================*/
html {
}

body {
	font-size:14px;
	font-family: "ヒラギノ角ゴ Pro W3", "Hiragino KaKu Gothic Pro", "ＭＳ Ｐゴシック", "MS P Gothic", Osaka, sans-serif;
	color:#333333;
	-webkit-text-size-adjust: 100%;
}

img {
	vertical-align: bottom;
}

a {
	text-decoration:none;
}

a:hover {
	text-decoration:underline;
}

header, footer {
	background-color:#FFEFD5;
}

header {
	border-bottom:solid 1px;
}

article {
	width:100%;
	max-width:960px;
	margin:auto;
}

#headerWrap {
	position:relative;
	height:40px;
}


#headerWrap h1 {
	position:absolute;
	top:10px;
}

#headerAddress {
	position:absolute;
	top:10px;
	right:0px;
}

#headerAddress ul li {
	float:left;
	font-size:20px;
}

#headerAddress ul li:nth-child( odd ) {
	margin-left:20px;
}

#headerAddress ul li img {
	width:auto;
	height:20px;
}

#headerAddress ul li a {
	color:#660000;
	font-weight:bold;
}


#globalnav {
	width:100%;
	max-width:430px;
	margin-left:auto;
}

#globalnav li {
	float:left;
	width:calc( ( 100% / 4 ) - ( 30px / 4 ) );
	height:50px;
	margin-right:10px;
}

#globalnav li:last-child {
	margin-right:0px;
}

#globalnav li a {
	display:block;
	width:100%;
	height:calc( 100% - 10px );
	border-top-left-radius:15px;
	border-top-right-radius:15px;
	font-weight:bold;
	text-align:center;
	line-height:40px;
}

#globalnav li:nth-child(1) a {
	border-top:solid 10px #00cc00;
	border-left:solid 1px #00cc00;
	border-right:solid 1px #00cc00;
	background-color:#eeffff;
}

#globalnav li:nth-child( 2 ) a {
	border-top:solid 10px #ff0066;
	border-left:solid 1px #ff0066;
	border-right:solid 1px #ff0066;
	background-color:#FAEBD7;
}

#globalnav li:nth-child( 3 ) a {
	border-top:solid 10px #3399cc;
	border-left:solid 1px #3399cc;
	border-right:solid 1px #3399cc;
	background-color:#F0F8FF;
}

#globalnav li:nth-child( 4 ) a {
	border-top:solid 10px #ffcc00;
	border-left:solid 1px #ffcc00;
	border-right:solid 1px #ffcc00;
	background-color:#ffffcc;
}

#mainImg img {
	width:100%;
	max-width:960px;
}


h2 {
	position: relative;
	background: #dfefff;
	box-shadow: 0px 0px 0px 5px #dfefff;
	border: dashed 2px white;
	padding: 0.4em 0.5em;
	font-size:26px;
	color: #454545;
	text-align:center;
}

h2:after {
	position: absolute;
	content: '';
	left: -7px;
	top: -7px;
	border-width: 0 0 15px 15px;
	border-style: solid;
	border-color: #fff #fff #a8d4ff;
	box-shadow: 1px 1px 1px rgba(0, 0, 0, 0.15);
}

h3 {
	position: relative;
	padding: 0.5em;
	background: #a6d3c8;
	text-indent:20px;
}

h3::before {
	position: absolute;
	content: '';
	top: 100%;
	left: 0;
	border: none;
	border-bottom: solid 15px transparent;
	border-right: solid 20px rgb(149, 158, 155);
}



#greeting,
#factory,
#dayPlan,
#company {
	padding:20px 0px;
	font-size:16px;
	letter-spacing:2px;
	line-height:150%;
}


#greeting {
	background-color:#ffffcc;
}

#company {
	background-color:#FFFACD;
}

.innerWrap {
	margin:0px 0px 20px 20px;;
	padding:10px 0px 10px 20px;
	background-color:#ffffff;
	font-size:16px;
}


.dlTable {
	display:flex;
	flex-wrap: wrap;
	margin:20px auto;
	border: 1px solid #ccc;
	border-top: none;
}

.dlTable dt{
	background: #ddd;
	width: 30%;
	padding: 10px;
	box-sizing: border-box;
	border-top: 1px solid #ccc; 
}

.dlTable dd{
	padding: 10px;
	margin: 0;
	border-left: 1px solid #ccc;
	border-top: 1px solid #ccc; 
	width: 70%;
	background: #fff;
	box-sizing: border-box;
}

.discList {
	margin:0px 0px 0px 10px;
}

.discList li {
	list-style-type:disc;
	margin-left:20px;
	letter-spacing:2px;
	line-height:150%;
}

.numericList {
	margin:10px 0px 20px 10px;
}

.numericList li {
	list-style-type:decimal;
	margin-left:20px;
}

.pc {
	display: block;
}
.sp {
	display: none;
}

@media screen and (max-width: 640px) {
	dl{
		flex-flow: column nowrap;
	}

	dt,
	dd{
		width: 100%;
	}
	dd{
		border-left: none;
	}
	#headerWrap h1 {
		margin-top: 20px;
	}
	ul#globalnav {
		margin-top: 70px;
	}
	.pc {
		display: none;
	}
	.sp {
		display: block;
	}
}


footer p {
	padding:10px 0px;
	text-align:center;
}

/*================================================
 *  ページトップへの戻り
 ================================================*/
.totop {
	position:fixed;
	bottom:15px;
	right:15px;
}
.totop a {
	display:block;
	text-decoration:none;
}
.totop img {
	background:#ff0099;
}
.totop img:hover {
	background:#ff33ff;
}


#new dl {
	background: #fff;	/*背景色*/
	padding: 20px;		/*ブロック内の余白*/
	border-radius: 4px;	/*角丸のサイズ*/
}
/*日付設定*/
#new dt {
	float: left;
	width: 7em;		/*幅*/
	margin-bottom:10px;
	color: #33a5d5;	/*文字色*/
	letter-spacing: 0.1em;
}
/*記事設定*/
#new dd {
	margin-bottom:10px;
	padding-left: 7em;
}
