@charset "utf-8";

/* ------------------------------------------------------------------------------------------------------ Top Info */

.topinfo {
    margin-bottom: 20px;
    padding: 0 10px;
}

.topinfo ul {
    margin: 0;
    padding: 0;
    border-top: 1px solid #ccc;
    list-style: none;
}

.topinfo ul li {
    margin: 0;
    padding: 10px 0;
    border-bottom: 1px solid #ccc;
}

.topinfo ul li time {
    display: block;
	font-size: 12px;
	font-size: 1.2rem;
	line-height: 1.0em;
}

.topinfo ul li a {
    color: #092a35;
}


@media screen and (min-width: 321px) {

.topinfo {
	padding: 0 20px;
}

} /* min 321px -- */

@media screen and (min-width: 481px) {

.topinfo {
    margin-bottom: 30px;
	padding: 0 30px;
}

.topinfo ul li {
    position: relative;
    padding: 14px 0 14px 100px;
}

.topinfo ul li time {
    display: inline-block;
    position: absolute;
    top: 50%;
    left: 15px;
    margin-top: -0.5em;
}

} /* min 481px -- */

@media screen and (min-width: 641px) {

.topinfo {
    max-width: 510px;
    margin: 0 auto 40px;
	padding: 0;
}

.topinfo ul li {
    padding: 18px 0 18px 120px;
}

} /* min 641px -- */

@media screen and (min-width: 769px) {

.topinfo {
    margin-bottom: 50px;
}

} /* min 769px -- */



/* ------------------------------------------------------------------------------------------------------ Top Mnue */

.topmenu {
	padding: 0 10px;
}

.topmenu ul {
	margin: -10px 0 0;
	padding: 0 10px 0 0;
	list-style: none;
	*zoom:1;
}
.topmenu ul:before,
.topmenu ul:after { content: ""; display: table; }
.topmenu ul:after { clear: both; }

.topmenu ul li {
	position: relative;
	float: left;
	width: 50%;
	margin: 10px 10px 0 0;
	padding: 0;
	background-size: 70px 70px;
	background-position: center 33%;
	border: 1px solid #ccc;
	border-radius: 16px;
}

.topmenu ul li[title="住所から郵便番号検索"]     { background-image: url("../images/icon_postcode.svg"); }
.topmenu ul li[title="郵便番号から住所検索"]     { background-image: url("../images/icon_address.svg"); }
.topmenu ul li[title="西暦から元号検索"]         { background-image: url("../images/icon_era.svg"); }
.topmenu ul li[title="和暦から西暦検索"]         { background-image: url("../images/icon_year.svg"); }
.topmenu ul li[title="生年月日から年齢検索"]     { background-image: url("../images/icon_age.svg"); }
.topmenu ul li[title="入社年月から勤続年数検索"] { background-image: url("../images/icon_working.svg"); }
.topmenu ul li[title="入籍日から結婚記念日検索"] { background-image: url("../images/icon_wedding.svg"); }

.topmenu ul li:nth-child(even) {
	margin-right: -10px;
}

.topmenu ul li:not([title="広告"]):before {
	content: "";
	display: block;
	padding-top: 100%;
}

.topmenu ul li:not([title="広告"]) a {
	display: block;
	position: absolute;
	bottom: 12%;
	left: 0;
	width: 100%;
	text-align: center;
	font-size: 12px;
	font-size: 1.2rem;
	line-height: 1.25em;
	color: #092a35;
}

.topmenu ul li a strong {
	display: block;
	font-size: 14px;
	font-size: 1.4rem;
	line-height: 1.25em;
}


@media screen and (min-width: 321px) {

.topmenu {
	padding: 0 20px;
}

.topmenu ul {
	margin-top: -20px;
	padding-right: 20px;
}

.topmenu ul li {
	margin: 20px 20px 0 0;
	background-size: 80px 80px;
	background-position: center 33%;
}

.topmenu ul li:nth-child(even) {
	margin-right: -20px;
}

} /* min 321px -- */

@media screen and (min-width: 481px) {

.topmenu {
	padding: 0 30px;
}

.topmenu ul {
	padding-right: 40px;
}

.topmenu ul li {
	width: 33.33%;
}

.topmenu ul li:nth-child(even) {
	margin-right: 20px;
}

.topmenu ul li:nth-child(3n) {
	margin-right: -40px;
}

} /* min 481px -- */

@media screen and (min-width: 641px) {

.topmenu {
	padding: 0 40px;
}

.topmenu ul {
	padding-right: 60px;
}

.topmenu ul li {
	width: 25%;
}

.topmenu ul li:nth-child(3n) {
	margin-right: 20px;
}

.topmenu ul li:nth-child(4n) {
	margin-right: -60px;
}

} /* min 641px -- */

@media screen and (min-width: 769px) {

.topmenu {
	max-width: 960px;
	margin: 0 auto;
	padding: 0;
}

.topmenu ul li {
    position: relative;
	background-size: 100px 100px;
	background-position: center 38%;
}

.topmenu ul li:after {
    content: "";
    display: block;
    position: absolute;
    top: 50%;
    left: 50%;
    width: 0;
    height: 0;
    background-color: #23a4cf;
    border-radius: 50%;

	-webkit-transition: 0.5s;
	-moz-transition: 0.5s;
	-ms-transition: 0.5s;
	-o-transition: 0.5s;
	transition: 0.5s;
}

.topmenu ul li:nth-child(5n+1):after,
.topmenu ul li:nth-child(5n+3):after {
    background-color: #d2e85d;
}


.topmenu ul li:not([title="広告"]):hover:after {
    top: 0;
    left: 0;
    z-index: -1;
    width: 100%;
    height: 100%;
    border-radius: 16px;
}

.topmenu ul li a {
	font-size: 14px;
	font-size: 1.4rem;
	line-height: 1.25em;
}

.topmenu ul li a:hover {
    text-decoration: none;
}

.topmenu ul li a strong {
	font-size: 18px;
	font-size: 1.8rem;
	line-height: 1.25em;
}

} /* min 769px -- */


