/* 共通リセット＆共通スタイル読込 */
@import url("reset.css");
@import url("common.css");

/* 共通レイアウト（全ページ） */
/* 単位はpxで統一（em, rem, mm は未使用） */

a {
	color: #0b79d0;
	text-decoration: none;
}
a:hover {
	text-decoration: underline;
}

#header {
	position: sticky;
	top: 0;
	z-index: 1000;
	background: #ffffff;
	border-bottom: 1px solid #e4e6eb;
	height: 70px;
}

.header-inner {
	display: flex;
	align-items: center;
	justify-content: space-between;
	max-width: 1200px;
	margin: 0 auto;
	padding: 12px 16px;
	height: 70px;
}

.site-title {
	font-weight: bold;
	font-size: 18px;
}

#menuToggle, #menuClose {
	border: 1px solid #cfd4d9;
	background: #ffffff;
	padding: 8px 12px;
	border-radius: 6px;
	cursor: pointer;
	margin: 14px 0;
}
#menuToggle:hover, #menuClose:hover {
	border: 1px solid #F00;
	background: #F66;
}

#offcanvas {
	position: fixed;
	top: 0;
	right: -400px;
	/* px換算: 400px */
	width: 400px;
	height: 100%;
	background: #fff;
	box-shadow: -2px 0 12px rgba(0,0,0,0.08);
	transition: right 200ms ease;
	z-index: 1500;
	padding: 16px;
}
#offcanvas.open {
	right: 0;
}

#overlay {
	position: fixed;
	inset: 0;
	background: rgba(0,0,0,0.25);
	opacity: 0;
	visibility: hidden;
	transition: opacity 200ms ease, visibility 200ms ease;
	z-index: 1400;
}
#overlay.open {
	opacity: 1;
	visibility: visible;
}

.menu ul {
	list-style: none;
	margin: 0;
	padding: 0;
}
.menu li {
	border-bottom: 1px solid #eee;
}
.menu a {
	display: block;
	padding: 12px 8px;
}

main.contents {
	max-width: 992px;/* 960px + padding(16px x 2) */
	margin: 24px auto;
	padding: 0 16px 48px 16px;
}

#footer {
	border-top: 1px solid #e4e6eb;
	background: #ffffff;
}
.footer-inner {
	max-width: 1200px;
	margin: 0 auto;
	padding: 16px;
	color: #666;
	font-size: 14px;
	text-align: center;
}

.form-flex { width: 100%; display: flex; flex-wrap: nowrap; }
.form-flex div { border: 1px solid #CCC; padding: 7px; height: 68px; line-height: calc(68px - 14px); font-size: 80%; }
.form-flex div:nth-child(1) { width: 30%; }
.form-flex div:nth-child(2) { width: 70%; }


