/*リセット CSS*/
/* http://meyerweb.com/eric/tools/css/reset/
v2.0 | 20110126
License: none (public domain)
*/

html, body, div, span, applet, object, iframe,
h1, h2, h3, h4, h5, h6, p, blockquote, pre,
a, abbr, acronym, address, big, cite, code,
del, dfn, em, img, ins, kbd, q, s, samp,
small, strike, strong, sub, sup, tt, var,
b, u, i, center,
dl, dt, dd, ol, ul, li,
fieldset, form, label, legend,
table, caption, tbody, tfoot, thead, tr, th, td,
article, aside, canvas, details, embed,
figure, figcaption, footer, header, hgroup,
menu, nav, output, ruby, section, summary,
time, mark, audio, video {
	margin: 0;
	padding: 0;
	border: 0;
/*	font-size: 100%;*/
/*	font: inherit;*/
	font-family: 'Kozuka Gothic Pr6N', sans-serif;
	vertical-align: baseline;
	text-decoration: none;
}
/* HTML5 display-role reset for older browsers */
article, aside, details, figcaption, figure,
footer, header, hgroup, menu, nav, section {
	display: block;
}
html, body {
	line-height: 1.4;
	background-color: #f0edec;
	height: 100%;
}
ol, ul {
	list-style: none;
}
blockquote, q {
	quotes: none;
}
blockquote:before, blockquote:after,
q:before, q:after {
	content: '';
	content: none;
}
table {
	border-collapse: collapse;
	border-spacing: 0;
}

/*ここまでリセット CSS*/

/*共通部分*/

.footerPositioner {
	width: 100%;
	position: relative;
	top:0;
	min-height: 100%;
}

.main {
	padding-bottom: 60px;
	min-height: calc(100vh - 60px);
}

h2 {
	margin: 0 0 0.5em 0;
	letter-spacing: 0.15em;
}

p, dl {
	margin: 20px 0;
}

.button {
	display: block;
	color: #ffffff;
	background-color: #d84216;
	width: 220px;
	height: 45px;
	text-align: center;
	line-height: 45px;
	margin: 20px auto;
}

.select {
	-webkit-appearance:none;
	width: 320px;
	height: 35px;
	font-size: 18px;
}

table {
	background-color: #ffffff;
	color: #333333;
	border: #ffffff 1px solid;
	width: 100%;
}

tr {
	height: 100px;
	border-bottom: #cccccc 1px solid;
}

tr:last-child {
	border: none;
}

th, td {
	text-align: left;
	padding: 1em 30px;
	vertical-align: middle;
	font-size: 18px;
	line-height: 1.4em;
}

th {
	border-right: #cccccc 1px solid;
}

td > p {
	margin: 0.5em auto;
}

/*テキストの折り返し調整用*/
td span {
	word-break: keep-all;
	display: inline-block;
}

/*ヘッダ*/

header {
	background-color: #ffffff;
	height: 76px;
}

header a.logo {
	display: inline-block;
	height: 56px;
	width: 56px;
	background: url(../images/LogoWithBottomText.svg) no-repeat;
	background-size: 56px;
	position: absolute;
	top: 10px;
	left: 10px;
}

header a.hamburger {
	display: inline-block;
	height: 54px;
	width: 54px;
	background: url(../images/hamburger.svg) no-repeat;
	background-size: 54px;
	position: absolute;
	right:10px;
	top: 11px;
}

/*ナビゲーション*/
nav {
	z-index: 1;
	width: 200%;
	height: auto!important;
	min-height: 100%;
	position: absolute;
	top:0;
	-js-display: flex;
	display: -webkit-flex;
	display: -moz-flex;
	display: -ms-flexbox;
	display: -ms-flex;
	display: -o-flex;
	display: flex;
	justify-content: flex-end;
	-ms-flex-pack:end;
	display: none;
}

#navshadow {
	background-color: rgba(49, 49, 49, 0);
	height: auto!important;
	min-height: 100%;
	margin: 0 0 0 0;
	flex: 1 1 auto;
}

#navcontent {
	flex: 0 1 260px;
	width: 260px;
	background-color: #ffffff;
}


#navcontent > a,
#navcontent img {
	display: block;
	width: 220px;
	margin: 20px auto;
}

nav ul {
	height: auto!important;
}

nav ul li {
	height: 25px;
	padding: 25px 0 25px 22px;
	font-size:20px;
	vertical-align: middle;
	color: #333333;
	border-bottom: #aaaaaa 1px solid;
/*	background-image: url(../images/arrow.svg);*/ /*JSで有効化*/
	background: no-repeat 155px center;
	background-size: 25px;
}

/*トップ画像部分*/

h1 {
	background: url(../images/top.jpg) no-repeat;
	background-size: cover;
	height: 0;
	padding:calc(21.875% - 1em) 0 calc(21.875% + 2em);
	color: #ffffff;
	text-align: center;
	font-size: 29.61px;
	letter-spacing: 0.15em;
	text-shadow: 0px 1px 3px rgba(0, 0, 0, 0.75);
}

/*共通*/

.required{
	color: #d84216;
}

/*ニュース*/

.section-default {
	padding: 37px 20px 20px;
}

dl dt {
	padding: 21px 22px 0;
	background-color: #ffffff;
	color: #d84216;
	font-size: 21px;
	font-weight: bold;
}

dl dd {
	padding: 0.5em 22px 20px;
	background-color: #ffffff;
	font-size: 23.32px;
}

dl dd + dt {
	border-top: #cccccc solid 1px;
}

#news-button-arrow {
	display: none;
}

/*実績部分*/

.works {
	color:#ffffff;
	padding-bottom: 40px;
}

.works > div {
	padding: 1px 0 20px;
}

.works > div > *:first-child {
	margin-top: 24px;
}

.works-logo {
	background-color: #ffffff;
	width: 100%;
	height: 64px;
}

.works-logo img {
	height: 60%;
	position: relative;
	top:20%;
	left: 40px;
}

.works h2 {
	margin: 20px 40px 13px;
}

.works p {
	margin: 0 40px;
}

.works > .works-background {
	padding-top: 56.25%;
}

/*360度サンプル部分*/

.samples {
	color:#ffffff;
	padding-bottom: 40px;
}

.samples > div {
	padding: 1px 0 20px;
}

.samples > div > *:first-child {
	margin-top: 24px;
}

.samples-logo {
	background-color: #ffffff;
	width: 100%;
	height: 64px;
}

.samples-logo img {
	height: 60%;
	position: relative;
	top:20%;
	left: 40px;
}

.samples h2 {
	margin: 20px 40px 13px;
}

.samples p {
	margin: 0 40px;
}

.samples > .samples-background {
	padding-top: 56.25%;
}

/*3アイコン部分*/

.others {
	padding:20px 40px;
}

.otherItem {
	margin: 20px 0;
}

.otherItemIcon,
.otherItem > p {
	display: table-cell;
	vertical-align: middle;
}

.otherItemIcon {
	width: 160px;
	line-height: 0;
	padding: 20px 0;
}

.otherItem > p {
	padding-left: 20px;
}

.otherItemIcon > span {
	color: #d84216;
	text-align: center;
	display: block;
	position: relative;
	top: -40px;
}

/*フッター*/

footer {
	background-color: #4c4745;
	color: #ffffff;
	width: 100%;
	height: 60px;
	text-align: center;
	font-size: 14.38px;
	line-height: 60px;
	position: absolute;
	bottom: 0;
}

/*小さい画面でのレイアウト調整*/
@media (max-width:450px) {
	h1 {
		font-size: 25px;
	}
	
	dl dt,
	dl dd {
		font-size: 18px;
	}
}

@media (max-width:375px) {
	h1 {
		font-size: 20px;
	}
	
	dl dt,
	dl dd {
		font-size: 15px;
	}
	
	.works h2 {
		margin: 20px 20px 13px;
	}

	.works p {
		margin: 0 20px;
	}
	
	.samples h2 {
		margin: 20px 20px 13px;
	}

	.samples p {
		margin: 0 20px;
	}
	
	.others {
		padding: 20px;
	}
	
	.otherItemIcon {
		width: 128px;
	}
	
	.otherItemIcon > span {
		top: -32px;
	}
}

/*ここから PC 用レイアウト*/
@media (min-width:1024px) {
	
	.mobileonly {
		display: none;
	}
	
	.PC-reverse {
		-ms-flex-direction: row-reverse;
		flex-direction: row-reverse;
	}
	
	.button {
		width: 160px;
		margin: 20px; /*ページ読み込み時にレイアウトが崩れる問題を修正*/
	}
	
	th {
		width: 8em;
	}
	
	.main {
		max-width: 1220px;
		margin: 0 auto;
		overflow: hidden;
		-js-display: flex;
		display: -webkit-flex;
		display: -moz-flex;
		display: -ms-flexbox;
		display: -ms-flex;
		display: -o-flex;
		display: flex;
	}
	
	.contents {
		width: calc(100% - 200px);
		max-width: 1020px;
		z-index: 1;
		background-color: #f0edec;
		min-height: calc(100vh - 60px);
	}
	
	header {
		width: 200px;
		height: 222px;
		border-bottom: #aaaaaa 1px solid;

	}
	
	header a.logo {
		height: 160px;
		width: 160px;
		background-size: 160px;
		position: relative;
		left: 20px;
		top:23px;
	}
	
	header a.hamburger {
		display: none;
	}
	
	.sidebar {
		height: auto!important;
		min-width: 200px;
		max-width: 200px; /*IE9*/
		width: 200px; /*IE9*/
		min-height: 100%;
		background-color: #ffffff; /*Safari*/
	}
	
	nav {
		position: static;
		width: 200px;
		display: block;
		height: auto!important;
		background-color: #ffffff;
	}
	
	nav > #navshadow {
		display: block;
		position: static;
		height: auto!important;
		min-height: 100%;
	}
	
	#navcontent > a,
	#navcontent img {
		width: 160px;
		margin: 20px;
	}
	
	#navcontent > a > img {
		margin: 0;
	}
	
	nav ul li {
		width: 200px; /*IE9*/
		margin-right: -22px; /*IE9*/
		padding-right: -22px;
	}
	
	/*トップ画像部分*/
	h1 {
		font-size:35px;
		padding:calc(21.875% - 1em) 0 calc(21.875% + 0.5em);
	}
	
	/*ニュース*/
	.section-default {
		padding: 50px 80px;
		position: relative;
	}
	
	#news-button {
		color: #333333;
		background-color: transparent;
		width: auto;
		height: 0;
		margin: 45px 0;
		position: absolute;
		top: 0px;
		right: 100px;
		letter-spacing: 0.2em;
	}
	
	#news-button-arrow {
		display: inline;
		position: absolute;
		top: 0px;
		right: 80px;
		width: 20px;
		margin: 62px 0 0 0.2em;
		padding: 0;
	}
	
	dl dt {
		padding: 30px 30px auto;
	}
	
	dl dd {
		padding: auto 30px 30px;
	}
	
	.works {
		-js-display: flex;
		display: -webkit-flex;
		display: -moz-flex;
		display: -ms-flexbox;
		display: -ms-flex;
		display: -o-flex;
		display: flex;
		-ms-align-items: stretch;
		align-items: stretch;
	}
	
	.works > div {
		width: 568px;
	}
	
	.works-logo {
		height: 100px;
	}
	
	.works h2 {
		margin: 20px 80px;
	}
	
	.works p {
		margin: 0 80px;
	}
	
	.works .works-background {
		width: 452px;
		padding: 0;
	}
	
	.samples {
		-js-display: flex;
		display: -webkit-flex;
		display: -moz-flex;
		display: -ms-flexbox;
		display: -ms-flex;
		display: -o-flex;
		display: flex;
		-ms-align-items: stretch;
		align-items: stretch;
	}
	
	.samples > div {
		width: 1024px;
	}
	
	.samples-logo {
		height: 100px;
	}
	
	.samples h2 {
		margin: 20px 80px;
	}
	
	.samples p {
		margin: 0 80px;
	}
	
	.samples .samples-background {
		width: 452px;
		padding: 0;
	}
	
	/*3アイコン部分*/
	.otherItem {
		display: table-cell;
		width: calc(940px/3);
		max-width: calc(940px/3);
	}
	
	.otherItemIcon,
	.otherItem > p {
		display: block;
		width: 200px;
		margin: 0 auto;
	}
	
	.otherItemIcon {
		width: 160px;
		padding: 20px;
	}
	
	.otherItem > p {
		padding-left: 0;
		text-align: center;
	}
}