@charset "utf-8";

/*********************************************************************
Copyright (C) 2009 WEB DESIGN LAB (http://www.webdlab.com/)
Licensed under the MIT License:
http://www.opensource.org/licenses/mit-license.php
*********************************************************************/

/*--Reset-----------------------------------------------------------*/

* {
	margin: 0;
	padding: 0;
}

html {
	overflow-y: scroll;
}

html,body {
	height: 100%;
}

img {
	border: none;
}

ul,ol {
	list-style: none;
}

table {
	border-collapse: collapse;
	border-spacing: 0;
}

body {
	font-size: 100%;
	line-height: 1.6;
	font-family: "ヒラギノ角ゴ Pro W3","Hiragino Kaku Gothic Pro","メイリオ",Meiryo,"ＭＳ Ｐゴシック","MS PGothic",sans-serif;
}

h1,h2,h3,h4,h5,h6 {
	font-size: 100%;
}

a,a:link,a:visited {
	color: #4776AF;
	text-decoration: none;
}

a:hover,a:active {
	color: #9fb7d4;
}

article,aside,details,footer,header,main,menu,nav,section,summary {
	display: block;
}

/*------------------------------------------------------------------*/

h1,h2,h3 {
	padding: 10px;
}

article section p {
	padding: 10px;
}

#copyright {
	padding: 10px;
}

/*--sample1---------------------------------------------------------*/

.tab5 {
	width: 100%;/*横幅はここで設定します。100%にすれば可変になります。*/
	min-width: 300px;
	margin: 0 auto;
}

.tab5 .tab-content {
	margin: 0 10px;
}

.tab5 label {
	display: inline-block;
	margin: 0;
	padding: 0;
}

.tab5 label {
	display: inline-block;
	width: 40px;
	padding: 3px 10px;
	cursor: pointer;
	background: #ddd;
	color: #777;
	margin-right: -2px;
}

.tab5 label:hover {
	background: #eee;
}

.tab5 input:checked + label {
	background: #9fb7d4;
	color: white;
	padding: 5px 10px 3px 10px;
}

.tab5 input {
	display: none;
}

.tab5 #tab5-b1,
.tab5 #tab5-b2,
.tab5 #tab5-b3,
.tab5 #tab5-b4 {
	display: none;
	padding: 10px;
}

.tab5 #tab5-1:checked ~ #tab5-b1,
.tab5 #tab5-2:checked ~ #tab5-b2,
.tab5 #tab5-3:checked ~ #tab5-b3,
.tab5 #tab5-4:checked ~ #tab5-b4 {
	display: block;
	border: 1px solid #9fb7d4;
}
