@charset "utf-8";

#ie {
  display: none;
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  padding: 30px;
  text-align: center;
  background: #ff0;
  color: #000;
  z-index: 500;
}
#ie .title {
  font-size: 3.0rem;
  padding-bottom: 10px;
  color: #000;
}
#noscript {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  padding: 30px;
  text-align: center;
  background: #ff0;
  color: #000;
  font-size: 2.0rem;
  z-index: 300;
}
#noscript p {
  color: #000;
}

/* html */
body {
  width: 100%;
  height: 100%;
  margin: 0;
  padding: 0;
	background: #CC6600;
	color: #220000;
  font-family: "ヒラギノ角ゴ Pro W3", "Hiragino Kaku Gothic Pro", "メイリオ", Meiryo, Osaka, "ＭＳ Ｐゴシック", "MS PGothic", sans-serif;
  font-size: 14px;
  line-height: 1.8;
  -webkit-text-size-adjust: 100%;
}
a, a:link {
	color: #002DB2;
	text-decoration: underline;
}
a:visited {
	color: #00468C;
}
a:hover {
	color: #D93600;
	text-decoration: none;
}
ul, li {
  list-style: none;
}
table {
  border-collapse: collapse;
  margin: auto;
}
table tr > * {
  vertical-align: top;
}

/* New Style */
.container {
  width: 900px;
  margin: auto;
  padding: 30px 0 20px;
  text-align: center;
}
.container * {
  margin: 0 auto;
  padding: 0;
  font-weight: normal;
  box-sizing: border-box;
}
.container strong {
  font-weight: bold;
}
.bg-black .container {
	color: #fff;
}
.bg-black .container a:link,
.bg-black .container a:visited {
	color: #9999FF;
}

/* header */
.container header {
	background: url(../../images/title02_kyusei4.gif) no-repeat center bottom;
	padding-bottom: 47px;
}
.container.result header {
	background: none;
	padding-bottom: 0;
}
.bg-black .container header {
	background: none;
	padding-bottom: 20px;
}
.container header h1 img {
	display: block;
}
.container header h1 + p {
	width: 400px;
	border-radius: 4px;
	line-height: 2;
}
/* main */
.container main h2 {
	font-size: 120%;
	margin-top: 25px;
}
.container main hr {
	border: none;
	margin: 15px auto;
}
.container main hr.line1 {
	background: url(../sharedimg/line/line_01.png) no-repeat center;
	height: 15px;
}
.container main hr.line2 {
	background: url(../sharedimg/line/line_02.png) no-repeat center;
	height: 15px;
}
.container main form {
	font-size: 110%;
	padding-bottom: 20px;
}
.container main form > * + * {
	margin-top: 10px;
}
.container main form input, .container main form select {
	font-family: "ヒラギノ角ゴ Pro W3", "Hiragino Kaku Gothic Pro", "メイリオ", Meiryo, Osaka, "ＭＳ Ｐゴシック", "MS PGothic", sans-serif;
	font-size: 110%;
}
.container main form input[type='submit'] {
	display: inline-block;
	margin-top: 30px;
	width: 200px;
	font-size: 120%;
	line-height: 2.4;
	border: 1px solid #400000;
	border-radius: 6px;
	background: #400000;
	background: -webkit-linear-gradient(#840000 0%, #400000 100%);
	background: -o-linear-gradient(#840000 0%, #400000 100%);
	background: linear-gradient(#840000 0%, #400000 100%);
	box-shadow: 0 1px 1px rgba(255,255,255,.3) inset;
	color: #fff;
	transition: .5s;
}
.container main form input[type='submit']:hover {
	opacity: .7;
}
.container main .kaisetsu {
	width: 81%;
	margin-top: 20px;
}
.container main .kaisetsu dt {
	font-size: 120%;
	font-weight: bold;
	padding-bottom: 15px;
}
.container main .kaisetsu dd {
	text-align: left;
}
.container main .kaisetsu dd p + p {
	margin-top: 10px;
}
.container main .wrap {
	background: #fff;
	width: 80%;
	padding: 30px;
}
.container main .wrap.dark {
	background: #660000;
	color: #fff;
}
.container main .wrap.dark a:link,
.container main .wrap.dark a:visited {
	color: #537FE5;
}
.container main .wrap > * + * {
	margin-top: 15px;
}
.container main .wrap h2 {
	margin-bottom: 20px;
}
.container main .wrap .body + h2 {
	margin-top: 50px;
}
.container main .wrap h3 {
	font-size: 110%;
	margin-bottom: 5px;
}
.container main .wrap * + h3 {
	margin-top: 20px;
}
.container main .wrap .body p {
	text-align: left;
}
.container main .wrap .body p + p {
	margin-top: 15px;
}
.container main h1 {
	font-size: 120%;
}
.container main .l_row.sample {
	margin-top: 20px;
}
.container main .l_row.sample > div:nth-child(1) {
	width: 307px;
}
.container main .l_row.sample > div:nth-child(1) img {
	display: block;
}
.container main .l_row.sample > div:nth-child(2) {
	text-align: left;
	padding-left: 30px;
}
.container main .l_row.sample > div:nth-child(2) h3 {
	position: relative;
	font-size: 110%;
	padding-left: 30px;
}
.container main .l_row.sample > div:nth-child(2) h3 img {
	position: absolute;
	top: .2em;
	left: 0;
}
.container main .l_row.sample > div:nth-child(2) p {
	padding-left: 30px;
	font-size: 90%;
}
.container main .l_row.sample > div:nth-child(2) * + h3 {
	margin-top: 20px;
}

/* footer */
.container footer .sub_footer_link {
	padding: 20px 0;
}
.container footer .sub_footer_link ul {
	display: table;
	width: 82%;
	table-layout: fixed;
	border-spacing: 5px;
	margin-top: 15px;
}
.container footer .sub_footer_link ul li {
	display: table-cell;
	vertical-align: middle;
	background: rgba(255,255,255,.3);
}

.container footer .sub_footer_link ul li:hover {
	background: #660000;
}
.container footer .sub_footer_link ul li a {
	display: block;
	width: 100%;
	height: 100%;
	text-decoration: none;
	color: #000;
	font-size: 90%;
	line-height: 1.4;
	padding: 5px;
}
.container footer .sub_footer_link ul li:hover a {
	color: #fff;
}
.container footer .sub_footer_link ul + ul {
	margin-top: -5px;
}
.container footer small {
	font-size: 80%;
	color: #FFFFCC;
}

.l_row {
  display: table;
  table-layout: fixed;
  width: 100%;
  margin: auto;
}
.l_row > * {
  display: table-cell;
  vertical-align: top;
}
.table1 {
  margin: 10px auto;
}
.table1 tr > * {
  border: 1px solid #999;
  padding: 5px 10px;
}
.table1 tr > th {
  background: #5b6894;
  color: #fff;
}
.table1 tr > td {
  text-align: left;
}
.table2 {
	width: 100%;
	table-layout: fixed;
  margin: 10px auto;
}
.table2 + .table2 {
	margin-top: 20px;
}
.table2 tr > * {
	border: 1px solid #000;
	color: #000;
	line-height: 1.4;
	vertical-align: middle;
}
.table2 tr > th {
	padding: 3px;
}
.table2 tr > td {
	background: #fff;
	padding: 5px;
}
.table2 thead th {
	background: #ccc;
	font-weight: bold;
}
.table2 tbody th {
	background: #fff;
}
.table2.honmei tr > td:nth-child(1),
.table2.honmei tr > td:nth-child(4),
.table2.honmei tr > td:nth-child(7),
.table2.getsumei .dosei {background: #C5B092;}
.table2.honmei tr > td:nth-child(2),
.table2.getsumei .suisei {background: #86AACF;}
.table2.honmei tr > td:nth-child(3),
.table2.getsumei .kasei {background: #AB92BC;}
.table2.honmei tr > td:nth-child(5),
.table2.honmei tr > td:nth-child(6),
.table2.getsumei .kinsei {background: #D9C86D;}
.table2.honmei tr > td:nth-child(8),
.table2.honmei tr > td:nth-child(9),
.table2.getsumei .mokusei {background: #79AF71;}
.table2.keisha tr > *:nth-child(4),
.table2.keisha tr > *:nth-child(7) {
	border-left: 3px double #000;
}
.table2.keisha tbody tr:nth-child(odd) > * {
	background: #F0F0F0;
}
.table2.keisha .kita strong {color: #003399;}
.table2.keisha .minami strong {color: #FF0066;}
.table2.keisha .higashi strong {color: #006633;}
.table2.keisha .nishi strong {color: #CC3300;}
.table2.keisha .seihoku strong {color: #660033;}
.table2.keisha .tonan strong {color: #666600;}
.table2.keisha .seinan strong {color: #CC0099;}
.table2.keisha .tohoku strong {color: #6600CC;}
.table2.aishou tr th {font-weight: bold;}
.table2.aishou tr:nth-child(1) th {background: #FF6666;}
.table2.aishou tr:nth-child(2) th {background: #FF9999;}
.table2.aishou tr:nth-child(3) th {background: #FFCC99;}
.table2.aishou tr:nth-child(4) th {background: #C0E0E0;}
.table2.aishou tr:nth-child(5) th {background: #A8C4E0;}

.list > li {
  position: relative;
  padding-left: 1.2em;
  text-align: left;
}
.list > li::before {
  position: absolute;
  top: 0;
  left: 0;
}
.list.kome > li::before {
  content: '※';
}
.list.smldot > li::before {
  content: '・';
}
.list.dia > li::before {
  content: '◆';
}
.wrap.dark .list.dia > li::before {
	color: #CC6600;
}


.serif {font-family: 'Kokoro', serif;}
.fs-xsmall {font-size: 80%;}
.fs-small {font-size: 90%;}
.fs-large {font-size: 110%;}
.fs-xlarge {font-size: 120%;}
.white {color: #fff;}
.red {color: #CC0033;}
.blue {color: #5b6894;}
.lblue {color: #66CCCC;}
.yellow {color: #FF9900;}
.yellow2 {color: #FFCC00;}
.purple {color: #6666FF;}
.bg-brown {background: #660000;}
.bg-black {background: #000;}
.bg-yellow {background: #FFFF99;}
.mt0 {margin-top: 0 !important;}
.mt05 {margin-top: 5px !important;}
.mt10 {margin-top: 10px !important;}
.mt20 {margin-top: 20px !important;}
.mt30 {margin-top: 30px !important;}
.mt40 {margin-top: 40px !important;}
.mt50 {margin-top: 50px !important;}
.mt60 {margin-top: 60px !important;}
.mt70 {margin-top: 70px !important;}
.mt80 {margin-top: 80px !important;}
.mb0 {margin-bottom: 0 !important;}
.mb10 {margin-bottom: 10px !important;}
.mb20 {margin-bottom: 20px !important;}
.txt-left {text-align: left !important;}
ul.inline li {
	display: inline-block;
	white-space: nowrap;
}
ul.inline li + li {
	margin-left: 20px;
}

.result .box {
	background: #fff;
	border: 2px solid #660000;
	width: 85%;
	margin-top: 15px;
}
.result .box .heading {
	background: #660000;
	color: #fff;
	padding: 10px;
}
.result .box .heading .keisha {
	display: inline-block;
	background: #FFE27C;
	color: #000;
	font-size: 90%;
	padding: 2px 10px;
	margin-left: 20px;
}
.result .box .body {
	padding: 20px 30px 30px;
}
.result .box .body .bg-yellow {
	padding: 10px 20px;
	margin-top: 15px;
}
.result .box .body * + h3 {
	margin-top: 50px;
}

.error .box {
  border: none;
}
.error .box h1 {
  font-size: 20px;
  margin-bottom: 20px;
  color: #666;
}
.error .box ul li {
  color: #CC0033;
  font-size: 130%;
}
.error .box button {
  display: inline-block;
  margin-top: 30px;
  font-family: "ヒラギノ角ゴ Pro W3", "Hiragino Kaku Gothic Pro", "メイリオ", Meiryo, Osaka, "ＭＳ Ｐゴシック", "MS PGothic", sans-serif;
  font-size: 110%;
  padding: 5px 30px;
}



/* sns */
.sns li {
  display: inline-block;
  line-height: 21px;
  height: 21px;
  vertical-align: middle;
}
.sns li + li {
  margin-left: 10px;
}
form + .sns {
  margin-top: 30px;
}

/* footer */
#footer .footer_link {
  text-align: center;
}
#footer .footer_link a {
  display: inline-block;
  line-height: 1;
  padding: 0 10px;
}
#footer .footer_link a + a {
  border-left: 1px solid #fff;
}
#footer .footer_link + .footer_link {
  margin-top: 20px;
}

