@charset "utf-8";

/* -- Link
-------------------------------------------------------------------------------- */

#contact a {
	font-weight: 700;
	text-align: center;
	display: inline-block;
	position: relative;
}

#contact a::before,
.btn::before {
	line-height: 1;
	position: absolute;
	top: 50%;
	-webkit-transform: translateY(-50%);
	transform: translateY(-50%);
}


/* -- Form
-------------------------------------------------------------------------------- */

button[name="submit"],
#thanks .btn {
	font-size: 1.8rem;
	color: #222;
	background: #fff;
	display: block;
	padding: 22px 0;
	width: 240px;
	border: 5px solid #222;
	cursor: pointer;
}

button[name="submit"]::before,
#thanks .btn::before {
	font-size: 1.8rem;
	right: 20px;
}

input[type="text"],
input[type="email"],
input[type="tel"],
textarea,
select {
	font-size: 1.6rem;
	line-height: 1.5;
	padding: 5px 15px;
	border: solid 1px #ccc;
	box-sizing: border-box;
}


/* -- note -- */


/* -- error -- */

.error-style:placeholder-shown {
	color: #ee0000!important;
}


/* -- file -- */


/*.form-table .file-item{
	display: block;
}*/


/* -- Layout
-------------------------------------------------------------------------------- */

header,
main,
footer {
	text-align: left;
	width: 100%;
	box-sizing: border-box;
	position: relative;
}

main {
	padding-top: 80px;
	overflow: hidden;
}

main > section {
	max-width: 1120px;
	margin: auto;
	padding: 0 80px;
	box-sizing: border-box;
	position: relative;
}

main > section,
main > article,
main > div[id] {
	max-width: 1120px;
	margin: auto;
	padding: 0 80px;
	box-sizing: border-box;
	position: relative;
}

.bg-wide::before {
	content: "";
	background: #f5f5f5;
	display: block;
	width: 300%;
	height: 100%;
	position: absolute;
	top: 0;
	left: -100%;
	z-index: 0;
}

.bg-wide > * {
	position: relative;
}


/* -- Headerer
-------------------------------------------------------------------------------- */

header {
	background: #111;
	height: 80px;
	position: fixed;
	z-index: 7;
}


/* -- navigation -- */


/* -- Contents
-------------------------------------------------------------------------------- */


/* -- Breadcrumb -- */


/* -- Contact link -- */

#contact {
	display: table;
	padding: 60px 0;
	width: 30%;
}

#contact a {
	font-size: 3rem;
	color: #222;
	display: block;
	padding: 35px 0;
	border: 5px solid #222;
}

#contact a::before {
	font-size: 2rem;
	right: 35px;
}

#contact a:hover {
	color: #fff;
	background: #222;
}


/* -- News list -- */


/* -- Footer
-------------------------------------------------------------------------------- */

footer {
	font-family: 'Lato', "source-han-sans-japanese";
	background: #222;
	height: 150px;
	padding: 40px 0 0;
	margin-top: auto;
}

footer p {
	margin: 5px 0 15px;
	color: #c8c8c8;
	font-size: 1.4rem;
	line-height: 2.24rem;
}

footer svg {
	width: 200px;
}

footer h4 {
	font-size: 2.2rem;
	color: #fff;
	padding-top: 20px;
}


/* -- Varies with screen size
-------------------------------------------------------------------------------- */

@media screen and (max-width: 1000px) {
	main > section,
	footer {
		padding-left: 5.21%;
		padding-right: 5.21%;
	}
}