@charset "utf-8";

/* -------------------------------
   共通スタイル初期設定
-------------------------------- */

/* リスト項目（全般） */
li {
	position: relative;
}

li a {
	position: absolute;
	top: 0;
	left: 0;
	width: 100%;
	height: 100%;
	color: #000000;
}

.caption {
	margin-top: 10px;
	color: #fff;
	font-weight: bold;
	background-color: #002b5c;
	padding: 10px;
}

.caption2 {
	color: #777;
	font-weight: bold;
	background-color: #faf0e6;
	margin-top: 10px;
}

/* Google翻訳 select 調整 */
#google_translate_element select {
	padding: 0;
	width: 200px;
	max-width: 40%;
}

/* 設定とカテゴリ 初期非表示 */
#setting,
#category {
	display: none;
}

/* フッターサブメニュー */
.footer_sub_menu {
	width: 18%;
	margin: 1%;
}

/* ポップアップ背景 */
.popup_back {
	display: none;
	position: absolute;
	top: 0;
	left: 0;
	width: 100%;
	background-color: #000;
	opacity: 0.5;
	z-index: 8000;
}

/* ポップアップ本体 */
.popup_element {
	display: none;
	position: fixed;
	border-radius: 6px;
	left: 0;
	top: 0;
	width: 100%;
	height: 100%;
	overflow: auto;
	-webkit-overflow-scrolling: touch;
	background: #fff;
	z-index: 9000;
}

/* グラデ背景メニュー */
.pupup_menus {
	padding: 20px;
	background-image: url("../img/arrow.png"), linear-gradient(to bottom, #fff, #ccc);
	/* モダンブラウザ */
	background-repeat: no-repeat, no-repeat;
	background-position: right center, center;
	background-color: #002b5c;
	color: #000;
}

/* 選択状態のリスト */
.li_selected {
	background-image: linear-gradient(to bottom, #666, #eee);
	background-color: #002b5c;
	color: #000;
}

/* 共通ボタンスタイル */
.button {
	width: 100%;
	height: 50px;
	margin: 10px 0;
	font-size: 1.25em;
	color: #ffffff;
	text-align: center;
	line-height: 50px;
	border-radius: 6px;
	border: none;
	cursor: pointer;

	/* ▼ IE8 / IE9 向けグラデーション */
	filter: progid:DXImageTransform.Microsoft.gradient(startColorstr='#333333', endColorstr='#000000');
	-ms-filter: "progid:DXImageTransform.Microsoft.gradient(startColorstr='#333333', endColorstr='#000000')";

	/* ▼ モダンブラウザ */
	background-image: url("../img/arrow.png"), linear-gradient(to bottom, #333333, #000000);
	background-repeat: no-repeat, no-repeat;
	background-position: right center, center;
	background-color: #000000;
}

/* ホバー時のカラー変更 */
.button:hover {
	background-color: #555555;
	color: #ffffff;
}

/* キャンセルボタン別スタイル */
.cancel_button {
	/* IE8 / IE9 */
	filter: progid:DXImageTransform.Microsoft.gradient(startColorstr='#ffffff', endColorstr='#cccccc');
	-ms-filter: "progid:DXImageTransform.Microsoft.gradient(startColorstr='#ffffff', endColorstr='#cccccc')";

	background-image: linear-gradient(to bottom, #ffffff, #cccccc);
	background-color: #ffffff;
	color: #000000;
	border: none;
}

.cancel_button:hover {
	background-color: #dddddd;
}

/* SELECT ボックス */
select {
	padding: 10px;
	border: 1px solid #dddddd;
	border-radius: 4px;
	color: #555555;
	width: 100%;
	font-size: 1em;
	background-image: url("../img/arrow.png"), linear-gradient(to bottom, #ffffff, #cccccc);
	background-repeat: no-repeat, no-repeat;
	background-position: right center, center;
	background-color: #ffffff;

	-webkit-appearance: none;
	-moz-appearance: none;
	appearance: none;
}

select:hover {
	background: #ffffff url("../img/arrow.png") right 50% no-repeat;
}

/* モバイルスクロール対応 */
.mobile-scroll {
	overflow-x: auto;
	-webkit-overflow-scrolling: touch;
	width: 100%;
}

/* レスポンシブ */
@media (min-width: 500px) {
	#setting {
		display: block;
		float: right;
		margin: 0 10px;
		padding: 0 10px;
	}

	#category {
		display: block;
	}
}

@media (min-width: 1000px) {
	#header {
		padding: 0 1%;
	}

	.wrap {
		padding: 1%;
	}

	#navigation_wrap {
		position: relative;
	}

	#searchForm {
		text-align: left;
	}

	#user_setting {
		background-color: #ff5000;
		position: absolute;
		right: 0;
		top: 0;
		border: 1px dotted;
		margin: 10px;
		padding: 10px;
	}

	#contents {
		padding: 0 1%;
	}

	#category {
		padding: 0 0 1% 0.5%;
	}

	.close_button {
		position: absolute;
		right: 5px;
		top: 5px;
	}

	.close_window {
		background: #ddd;
		color: #fff;
		font-size: 1.25em;
		border: none;
	}

	#footer {
		background-color: #dcdcdc;
		padding: 10px;
	}

	.link_li:hover {
		opacity: 0.3;
	}
}