@charset "utf-8";

/* =====================
   基本リセット・共通
   ===================== */
body {
	color: #333333;
	background-color: #eeeeee;
	margin: 0;
	padding: 0;
	font: 14px/2 "メイリオ", Meiryo, "ＭＳ Ｐゴシック", Osaka, "ヒラギノ角ゴ Pro W3", "Hiragino Kaku Gothic Pro";
}

h1, h2, p, ul, li, dl, dt, dd {
	margin: 0;
	padding: 0;
}

ul {
	list-style-type: none;
}

input, textarea, select {
	font-size: 1em;
}

img {
	max-width: 100%;
	height: auto;
}

a {
	color: #333333;
}

a:hover {
	color: #ffe6f0;
	text-decoration: none;
}

/* =====================
   レイアウト
   ===================== */
#container {
	width: 981px;
	margin: 0 auto;
}

#container h1 {
	color: #bdbdae;
	font-size: 10px;
	text-align: right;
	line-height: 22px;
	font-weight: normal;
}

#contents {
	clear: left;
	width: 100%;
}

/* =====================
   ヘッダー・フッター
   ===================== */
header {
	margin: 0;
	padding: 0;
	width: 980px;
	font-size: 500%;
	font-family: "Times New Roman", Century, serif;
	color: white;
	text-align: center;
	text-shadow: 3px 3px 3px #cccccc;
	background: linear-gradient(to bottom, #ffe6f0, #cceeff);
}

footer {
	clear: both;
	width: 980px;
	color: white;
	padding: 0;
	font-size: 80%;
	font-family: Verdana, Arial, sans-serif;
	text-align: center;
	background: linear-gradient(to bottom, #cceeff, #ffe6f0);
}

/* =====================
   ナビゲーション（メインメニュー）
   ===================== */
nav#menu ul {
	background-color: #999999;
	height: 50px;
	box-shadow: 0 0 8px #999999;
	margin-bottom: 10px;
}

nav#menu ul li {
	float: left;
	width: 140px;
}

nav#menu ul li a {
	color: #999999;
	height: 42px;
	padding-top: 8px;
	line-height: 1.4;
	text-decoration: none;
	display: block;
	font-size: 14px;
	font-weight: bold;
	letter-spacing: 0.1em;
	text-shadow: 1.5px 1.5px 2px #cccccc;
	text-align: center;
	border-top: 1px solid #666666;
	border-bottom: 1px solid #666666;
	border-left: 1px solid #666666;
	background: linear-gradient(#ffe6f0, #cceeff);
}

nav#menu ul li a:hover {
	color: #cceeff;
	background: linear-gradient(#C8E6C9, #ffe6f0);
	box-shadow: none;
}

nav#menu ul li a span {
	font-size: 9px;
	display: block;
	font-weight: normal;
}

/* =====================
   メインコンテンツ
   ===================== */
#main {
	float: left;
	width: 710px;
	padding: 10px;
	box-shadow: 0 0 8px #cccccc;
	border: 1px solid #cccccc;
	margin-bottom: 30px;
	background: linear-gradient(#C8E6C9, #ffe6f0);
}

#main a {
	color: #ffffff;
}

#main a:hover {
	color: #cccccc;
}

#main h2 {
	font-size: 100%;
	color: #666666;
	padding: 7px 15px;
	clear: both;
	box-shadow: 1px 2px 5px #cccccc;
	background: linear-gradient(#ffe6f0, #cceeff);
	background-repeat: no-repeat;
	background-position: right center;
}

/* =====================
   セクション内テキスト
   ===================== */
section p.sec1,
section span.sec1 {
	color: #666666;
}

section p.sec2,
section p.sec3,
section span.sec2,
section span.sec3 {
	color: #666666;
	padding: 0;
}

section p.sec5 {
	text-align: center;
	color: #fffffe;
}

section p.sec1 {
	margin-left: 40px;
	padding: 8px;
}

section p.sec2 {
	margin-left: 80px;
}

section p.sec3 {
	margin-left: 120px;
}

section span.sec1 {
	margin-left: 120px;
	padding: 8px;
}

section span.sec2 {
	margin-left: 160px;
}

section span.sec3 {
	margin-left: 200px;
}

/* sec4：白ボックス（共通スタイル） */
section p.sec4 {
	background: #ffffff;
	padding: 10px;
	box-shadow: 0 0 8px #cccccc;
	border: 1px solid #cccccc;
	margin: 10px 80px;
	text-align: left;
	color: #696969;
}

/* =====================
   テーブル（sec1）
   ===================== */
section table.sec1 {
	border-top: 1px solid #cccccc;
	border-left: 1px solid #cccccc;
	border-right: 1px solid #cccccc;
	box-shadow: 2px 2px 2px #cccccc;
}

section table.sec1 td {
	text-align: center;
	font-size: 18px;
	color: #cccccc;
}

.iframe {
	width: 380px;
	height: 200px;
}

/* =====================
   サイドバー
   ===================== */
#sub {
	float: right;
	width: 220px;
	padding: 10px;
	box-shadow: 0 0 8px #cccccc;
	border: 1px solid #cccccc;
	margin-bottom: 30px;
	background: linear-gradient(#C8E6C9, #ffffff);
}

#sub h2 {
	font-size: 100%;
	text-align: center;
	padding: 3px 0;
	color: #ffffff;
	background: linear-gradient(#636363, #7d7d7d);
}

#sub ul.submenu {
	border-top: 1px solid #cccccc;
	border-right: 1px solid #cccccc;
	border-left: 1px solid #cccccc;
	margin-bottom: 15px;
}

#sub ul.submenu li a {
	border-bottom: 1px solid #cccccc;
	text-decoration: none;
	display: block;
	padding: 5px 0 5px 10px;
	transition: 0.5s;
	background: linear-gradient(#eaeaea, #ffffff);
	box-shadow: 0 0 0 1px #ffffff inset;
}

#sub ul.submenu li a:hover {
	background: #cceeff;
	color: #ffffff;
	box-shadow: none;
}

/* =====================
   フォームテーブル
   ===================== */
.ta {
	width: 100%;
}

.ta,
.ta td,
.ta th {
	border: 1px solid #cccccc;
	line-height: 2;
}

.ta td {
	padding: 10px;
}

.ta th {
	width: 180px;
	padding: 10px;
	text-align: center;
	background-color: #e2e2e3;
}

.ta th.ti {
	width: auto;
	text-align: left;
	color: #666666;
	background: linear-gradient(#4b4b4b, #333333);
}

/* =====================
   フォームボタン
   ===================== */
input[type="submit"],
input[type="reset"],
input[type="button"] {
	width: 80px;
	padding: 2px;
	margin-bottom: 8px;
	font-size: 12px;
	letter-spacing: 0.1em;
	border: 1px solid #999999;
	background: linear-gradient(#666666, #dcdcdc);
	box-shadow: 1px 2px 5px #cccccc;
}

input[type="submit"]:hover,
input[type="reset"]:hover,
input[type="button"]:hover {
	background: linear-gradient(#dcdcdc, #666666);
}

/* =====================
   ユーティリティ
   ===================== */
.m15 {
	margin-bottom: 15px;
}

.clear {
	clear: both;
}

.qa {
	width: 95%;
}

.ctr {
	text-align: center;
}

/* =====================
   メディアクエリ：タブレット (481px〜800px)
   ===================== */
@media screen and (min-width: 481px) and (max-width: 800px) {
	#container {
		width: auto;
		margin: 15px;
	}

	#container h1 {
		display: none;
	}

	header {
		width: auto;
		height: 70px;
		font-size: 30px;
	}

	footer {
		width: auto;
		background-size: 80%;
		border: none;
		border-bottom: 1px solid #666666;
	}

	nav#menu ul {
		height: auto;
		overflow: hidden;
	}

	nav#menu ul li {
		width: 50%;
	}

	nav#menu ul li a {
		border: none;
		border-bottom: 1px solid #666666;
	}

	nav#menu ul li:nth-child(2n+1) {
		border-left: 1px solid #666666;
		box-sizing: border-box;
	}

	nav#menu ul li:first-child {
		display: none;
	}

	#contents {
		width: auto;
	}

	#main, #sub {
		float: none;
		width: auto;
	}

	section p.sec1 {
		margin-left: 20px;
		padding: 8px;
	}

	section p.sec2 {
		margin-left: 30px;
	}

	section p.sec3 {
		margin-left: 40px;
	}

	section p.sec4 {
		margin: 10px 40px;
	}

	section span.sec1 {
		margin-left: 40px;
		padding: 8px;
	}

	section span.sec2 {
		margin-left: 60px;
	}

	section span.sec3 {
		margin-left: 60px;
	}

	section table.sec1 {
		box-shadow: 2px 2px 5px #cccccc;
		position: relative;
		width: 100%;
		padding: calc(200 / 380 * 100%) 0 0;
	}

	body.s-n #sub {
		display: none;
	}
}

/* =====================
   メディアクエリ：スマートフォン (〜480px)
   ===================== */
@media screen and (max-width: 480px) {
	body {
		background-color: #666666;
		font-size: 12px;
	}

	#container {
		width: auto;
	}

	header {
		width: auto;
		height: 50px;
		font-size: 20px;
	}

	footer {
		width: auto;
		height: 90px;
		background-size: 80%;
		border: none;
		border-bottom: 1px solid #666666;
	}

	nav#menu ul {
		height: auto;
		overflow: hidden;
		margin-bottom: 0;
	}

	nav#menu ul li {
		width: 50%;
	}

	nav#menu ul li a {
		border: none;
		border-bottom: 1px solid #666666;
	}

	nav#menu ul li:nth-child(2n+1) {
		border-left: 1px solid #666666;
		box-sizing: border-box;
	}

	nav#menu ul li:first-child {
		display: none;
	}

	#contents {
		width: auto;
	}

	#main, #sub {
		float: none;
		width: auto;
		margin-bottom: 0;
	}

	#main {
		box-shadow: none;
		border: none;
	}

	#main h2 {
		padding: 4px 10px;
	}

	#main p {
		padding: 0.5em 5px 1em;
	}

	#sub {
		box-shadow: none;
		border: none;
	}

	section p.sec1 {
		margin-left: 20px;
		padding: 0;
	}

	section p.sec2 {
		margin-left: 30px;
	}

	section p.sec3 {
		margin-left: 40px;
	}

	section p.sec4 {
		margin: 10px 20px;
	}

	section span.sec1 {
		margin-left: 20px;
		padding: 0;
	}

	section span.sec2 {
		margin-left: 40px;
	}

	section span.sec3 {
		margin-left: 40px;
		color: #ffffff;
	}

	section table.sec1 {
		display: block;
		width: auto;
		box-shadow: 2px 2px 5px #cccccc;
	}

	section table.sec1 iframe {
		display: block;
		width: auto;
	}

	.ta td {
		width: auto;
		padding: 2px;
	}

	.ta th {
		width: 100px;
		padding: 2px;
	}

	body.s-n #sub {
		display: none;
	}
}
