@charset "utf-8";
/* CSS Document */
/* ----- reset ----- */

* {
	margin: 0;
	padding: 0;
	border: none;
	text-decoration: none;
	list-style: none;
	vertical-align: baseline;
	background: transparent;
	outline: none;
	box-sizing: border-box;
}

/* ----- body ----- */

html, body {
	color: #333;
	font: normal 100% 'Trebuchet MS',YuGothic,'Yu Gothic','ヒラギノ角ゴシック','Hiragino Sans',sans-serif;
	font-size: 14px;
	height: 100%;
	padding: 0;
	margin: 0;
	-webkit-text-size-adjust: none;/* 縦横の文字の自動調整 */
	background: url(img/back.gif) repeat;
	text-align: justify;
}

/* ----- common ----- */

h1, h2, h3, h4 {
	line-height: 1.25;
	font-size: 1rem;
}
p ,dl {
	line-height: 2;
	letter-spacing: .05rem;
	margin: 0 0 30px;
}
a {
	color: #337ab7;
	text-decoration: none;
}

/* ----- heading2 ----- */

#koupan h2, #main .green2 {
	color: #6f6f6f;
	border-bottom: 2px solid #AACD37;
	padding: 0 0 7px 5px;
	margin: 0 0 10px 0;
}
#main h2 {
	color: #46403f;
	font-size: 18px;
	padding: 15px 10px;
	background: #fff6d5;
	border-radius: 2px;
	margin: 0 0 20px 0;
}
#main .red {
	color: #fff;
	background: #f88f91;
}
#main .green {
	color: #fff;
	background: #bed282;
}
#main .blue {
	color: #fff;
	background: #7f9adc;
}
#main .purple {
	color: #fff;
	background: #d0aede;
}
#main .orange {
	color: #fff;
	background: #e8b37d;
}
#main .green2 {
	font-size: 16px;
	background: transparent;
	border-radius: 0;
}
#main #yogo h2:not(:first-child) {
	display: block;
	color: #6f6f6f;
	border-bottom: 2px solid #377ecd;
	padding: 0 0 7px 5px;
	margin: 25px 0 20px 0;
	background: transparent;
}

#menu h2 {
	color: #6f6f6f;
	padding: 0 0 7px 5px;
	margin: 0 0 10px 0;
	font-size: 16px;
}
#repo h2 {
	border-bottom: 2px solid #f47c7c;
}
#what h2 {
	border-bottom: 2px solid #AACD37;
}
#tec h2 {
	border-bottom: 2px solid #377ecd;
}
#yuryo h2 {
	border-bottom: 2px solid #f7a355;
}
#taiken h2 {
	border-bottom: 2px solid #b785e9;
}
#info h2 {
	border-bottom: 2px solid #fcd02e;
}

/* ----- page ----- */

#page {
	width: 1220px;
	padding: 0 10px;
	margin: 0 auto;
	background: rgba(255, 255, 255, .7);
}

/* ----- header ----- */

#header {
	padding: 10px 0;
	position: relative;
}

#header h1 {
	width: 50%;
	font-size: 10px;
	font-weight: normal;
	text-align: center;
}

#header h1 a {
	width: 100%;
	height: 110px;
	color: #ffb786;
	display: block;
	background: url(img/h1.gif) center no-repeat;
	background-size: contain;
}
#header p:last-child {
	width: 50%;
	padding: 10px 0 0 0;
	margin: 0;
	text-align: right;
	position: absolute;
	top: 0;
	right: 0;
}
#sitemap {
	text-align: right;
	font-size: 12px;
}

/* ----- container ----- */

#container {
	width: 100%;
	margin-bottom: 10px;
}
.row {
	display: flex;
	-js-display: flex;
	flex-wrap: wrap;
	flex-direction: row;
	justify-content: space-between;
}

/* ----- yahoo ----- */

#yahoo {
	text-align: right;
	font-size: 10px;
	color: #999;
	padding: 10px 0;
}
#yahoo a {
	border-bottom: 1px solid #337ab7;
}

/* ----- koupan ----- */
#koupan {
	margin: 0 0 30px;
}
#koupan ul {
	font-size: 12px;
	display: flex;
	-js-display: flex;
	flex-wrap: wrap;
	flex-direction: row;
	justify-content: flex-start;
}

#koupan li {
	margin: 0 10px 0 0;
	padding: 0 15px 0 0;
	line-height: 2;
	position: relative;
}
#koupan li:before {
	content: "/";
	color: #6f6f6f;
	position: absolute;
	top: 0;
	bottom: 0;
	right: 0;
	margin: auto;
}
#koupan li a {
	color: #6f6f6f;
	transition: .3s color ease-in-out, 1s border-bottom ease-in-out;
	border-bottom: 1px solid transparent;
}
#koupan li a:hover {
	color: #afafaf;
	border-bottom: 1px solid #afafaf;
}
#koupan.update {
	margin: 0;
}
#koupan.update li {
	padding: 0;
}
#koupan.update li:before {
	display: none;
}
#koupan.update li span {
	color: #fcd02e;
	padding: 0 0 0 15px;
	font-weight: bold;
	position: relative;
}
#koupan.update li span:before {
	content: "/";
	color: #6f6f6f;
	position: absolute;
	top: 0;
	bottom: 0;
	left: 5px;
	margin: auto;
}

/* ----- main ----- */

#main {
	width: 760px;
}
.tuduki {
	text-align: right;
	font-size: 14px;
	margin: 0 0 30px;
}

.hatena {
	background: url(img/hatena.gif) no-repeat bottom right;
	background-size: contain;
}

p span {
	color: #ff4c4c;
	padding-bottom: 7px;
	margin: 0px 5px;
	background: url(img/hasen.gif) repeat-x bottom;
}

.komoji {
	font-size: 12px;
	color: #999;
	display: block;
	margin: 10px 0 0 0;
	padding: 0;
	background: none;
}

.yoten {
	padding: 0 0 0 15px;
	border-left: 5px solid #ffcccd;
}

/* ----- ol ----- */

ol {
	counter-reset: item;
	margin: 0 0 30px 0;
	background: #f8f8f8;
	border: 1px solid #ddd;
	padding: 10px 15px;
}
ol li {
	padding: 0 0 0 20px;
	position: relative;
}
ol li:not(:last-child) {
	margin: 0 0 10px 0;
}
ol li:before {
	counter-increment: item;
	content: counter(item)'.';
	position: absolute;
	top: .2rem;
	left: 0;
	font-weight: bold;
}

/* ----- table ----- */

table {
	width: 100%;
	margin: 0 0 30px;
	border-collapse: collapse;
	border: 1px solid #ddd;
}
tr:not(:last-child) {
	border-bottom: 1px solid #ddd;
}
th {
	background: #f3f3f3;
	border-right: 1px solid #ddd;
}
th, td {
	vertical-align: middle;
	padding: 10px 15px;
}
table img {
	margin: 0 10px 0 0;
}
#point th {
	width: 30%;
}

/* ----- column ----- */

#column {
	margin: 0 0 30px;
}
#column h2 {
	position: relative;
	background: transparent;
	padding: 15px 10px 15px 20px;
}
#column h2:before {
	content: '';
	width: 5px;
	height: calc(100% - 30px);
	background: #fcd02e;
	border-radius: 5px;
	position: absolute;
	top: 0;
	bottom: 0;
	left: 0;
	margin: auto;
}
#column p:last-child {
	margin: 0;
}

/* ----- yogo ----- */

#yogo ul {
	display: flex;
	-js-display: flex;
	flex-wrap: wrap;
	flex-direction: row;
	justify-content: flex-start;
}
#yogo li {
	width: 25%;
	padding: 0 10px;
	border-left: 5px solid #c7dbf1;
	margin: 0 0 20px 0;
}

/* ----- dl ----- */

dl {
	display: flex;
	-js-display: flex;
	flex-wrap: wrap;
	flex-direction: column;
}
dt {
	width: 100%;
	padding: 0 10px;
	border-left: 5px solid #c7dbf1;
	font-weight: bold;
	margin: 0 0 10px 0;
}
dt span {
	display: block;
	color: #666;
	font-size: 10px;
	font-weight: normal;
}
dd {
	width: 100%;
	font-size: 12px;
	margin: 0 0 30px;
	padding: 0 0 10px 15px;
	border-bottom: 1px solid #ddd;
}

/* ----- num_list ----- */

.num_list {
	counter-reset: item;
	margin: 0 0 30px 0;
	background: #fefcf6;
	border: 1px solid #e2ddcf;
	padding: 10px 15px;
}
.num_list li {
	padding: 0 0 0 25px;
	position: relative;
}
.num_list li:not(:last-child) {
	margin: 0 0 10px 0;
}
.num_list li:before {
	counter-increment: item;
	content: counter(item);
	width: 15px;
	height: 15px;
	line-height: 15px;
	border-radius: 100%;
	background: #666;
	color: #fff;
	font-size: 10px;
	position: absolute;
	top: .2rem;
	left: 0;
	text-align: center;
}

/* ----- back_n ----- */

#back_n {
	width: 100%;
}
#back_n ul {
	width: 100%;
	font-weight: bold;
	margin: 0 0 30px 0;
	display: flex;
	-js-display: flex;
	flex-wrap: wrap;
	flex-direction: row;
	justify-content: space-between;
}

#back_n li {
	width: 48%;
	border-bottom: 1px solid #ddd;
}

#back_n a {
	padding: 15px 0 15px 30px;
	display: block;
	position: relative;
}
#back_n a:after {
	content: '';
	width: 0;
	height: 0;
	border-top: 5px solid transparent;
	border-bottom: 5px solid transparent;
	border-left: 8px solid #f47c7c;
	position: absolute;
	top: 0;
	bottom: 0;
	left: 5px;
	margin: auto;
}

/* ----- form ----- */

#form {
	margin: 0 0 30px 0;
}
.message {
	margin: 0 0 20px 0;
}
input[type="text"], textarea, select {
	border: 1px solid #ddd;
	padding: .5rem;
}
.title {
	margin: 0 0 10px 0;
}
.comment {
	margin: 0 0 20px 0;
}
input[name="name"] {
	width: 30%;
}
input[name="text1"], input[name="mail"], input[name="text2"], input[name="text3"] {
	width: 70%;
}
.taiken_form input[name="text3"] {
	width: 20% !important;
}
textarea {
	width: 100%;
	resize: vertical;
}
.submit {
	text-align: right;
}
input[type="button"] {
	width: 100px;
	height: 30px;
	line-height: 30px;
	text-align: center;
	background: #f3f3f3;
	border: 1px solid #ddd;
}

/* ----- menu ----- */

#menu {
	width: 400px;
}
#menu div:not(:last-child) {
	margin: 0 0 30px;
}

#menu1 ul {
	display: flex;
	-js-display: flex;
	flex-wrap: wrap;
	flex-direction: row;
	justify-content: space-between;
	align-items: center;
	align-content: center;
}
#menu1 li {
	width: 50%;
}
#menu1 a {
	width: 100%;
	max-width: 88px;
	display: block;
	margin: 0 auto 0 0;
}
#menu1 img {
	width: 100%;
	height: auto;
	display: block;
}

#menu2 ul:not(:last-child) {
	margin: 0 0 30px;
}
#menu2 li {
	border-bottom: 1px solid #ddd;
}
#menu2 li a {
	display: block;
	padding: 10px 0;
}

/* ----- i2i ----- */

#i2i {
	line-height: 2;
}

/* ----- footer ----- */

#footer {
	width: 100%;
	padding: 10px 0;
	text-align: center;
	font-size: 12px;
}
#footer p {
	margin: 0;
}

/* ----- 最強！ポータルサイトバナー ----- */
/* ----- main1m ----- */

#main #saikyo h2 {
	color: #ff3882;
	border-bottom: 2px solid	#ff3882;
	position: relative;
	padding: 0 0 7px 25px;
	margin: 0 0 10px 0;
	background: transparent;
}
#main #saikyo h2:before {
	content: '';
	width: 20px;
	height: 20px;
	background: url(img/saikyoicon.png) left center no-repeat;
	background-size: contain;
	position: absolute;
	top: 1px;
	left: 0;
}

#main1m, #saikyo {
	width: 100%;
	margin: 0 auto 50px;
}
#main1m a, #saikyo a {
	width: 100%;
	max-width: 600px;
	margin: 0 auto;
	display: block;
}
#main1m img, #saikyo img {
	width: 100%;
	height: auto;
	display: block;
}
#main1m p {
	margin: 0 0 10px 0;
	text-align: center;
	color: #377ecd;
}



@media screen and (max-width: 479px) {
	#page, #main, #menu {
		width: 100%;
	}
	#header h1 {
		width: 100%;
	}
	#header h1 a {
		height: 80px;
	}
	#header p {
		text-align: justify !important;
	}
	#header p:last-child {
		width: 100%;
		padding: 0;
		position: static;
	}
	#yahoo {
		margin: 0 0 30px;
	}
	#koupan {
		display: none;
	}
	#main {
		margin: 0 0 50px 0;
	}
	#yogo li {
		width: calc(100% / 3);
	}
	#back_n li {
		width: 100%;
	}
	input[name="name"] {
		width: 50%;
	}
	input[name="text2"], input[name="text3"] {
		width: 100%;
	}
	input[name="text1"], input[name="mail"] {
		width: 100%;
	}
}