@charset "utf-8";
/* CSS Document */

/* Niikawa Information Center INC.
-----------------------------------------------------*/

#toppageHead {
	margin-bottom: 30px;
	position: relative;
}
#toppageHead::after {
	content: "";
	position: absolute;
	width: 100%;
	height: 60%;
	top: 50%;
	/*bottom: 0;*/
	background: #0168b7;
	z-index: -1;
}

@media screen and (max-width: 700px) {
	#toppageHead {
		margin-bottom: 0px;
	}
	#toppageHead::after {
		display: none;
	}
}


/* ==============================================
    topmain
============================================== */

#topmain {}

@media screen and (max-width: 700px) {
	#topmain {
		padding-bottom: 30px;
		background: #0168b7;
	}
}


/* ==============================================
    service_menu
============================================== */
/*#topbutton {
	background: #0168b7;
	padding: 10px 0 25px 0;
}*/

#service_menu {
	background: #0168b7;
	padding: 30px 0;
	margin-bottom: 40px;
}

#service_menu h2 {
	color: #fbdb16;
	text-align: center;
	font-size: 1.625em;
	font-weight: 500;
	margin-bottom: 20px;
}

#service_menu ul {
	list-style: none;
	display: flex;
	justify-content: space-between;
}

@media screen and (max-width: 1000px) {
	#service_menu li {
		margin: 0 10px;
	}
}

@media screen and (max-width: 700px) {
	#service_menu {
		padding: 0 0 10px 0;
	}
	#service_menu ul {
		flex-wrap: wrap;
		margin: 0 10px;
	}
	#service_menu li {
		width: 48%;
		margin: 0 auto 10px;
		text-align: center;
	}
}

/* ==============================================
    topcontents
============================================== */
#topcontents {
	margin-bottom: 70px;
}
#topcontents .inner {
	display: flex;
	justify-content: space-between;
	align-items: flex-start;
}
#topcontents section {
	width: 48%;
}

#topcontents section h2 {
	font-size: 1.625em;/*26px*/
	font-weight: 500;
	margin-bottom: 20px;
}
#topcontents section h2 span {
	font-size: 0.500em;
	line-height: 1;
	background: #fbdb16;
	padding: 2px 5px;
	margin-left: 10px;
	vertical-align: middle;
}

#topcontents section#newsSection h2 {
	color: #0068b6;
}
#topcontents section#informationSection h2 {
	color: #f5712d;
}



#topcontents section#newsSection .tit a,
#topcontents section#newsSection .link-more a {
	color: #0068b6;
}
#topcontents section#informationSection .tit a,
#topcontents section#informationSection .link-more a {
	color: #f5712d;
}

#topcontents section#newsSection .link-more a::after {
	background: url("image/arrow2.svg") no-repeat 0 0;
}
#topcontents section#informationSection .link-more a::after {
	background: url("image/arrow3.svg") no-repeat 0 0;
}

#topcontents section#informationSection .banner {
	margin-top: 40px;
}
#topcontents section#informationSection .banner ul {
	list-style: none;
	display: flex;
	flex-direction: column;
	justify-content: space-between;
	text-align: center;
}
#topcontents section#informationSection .banner li {
	margin-bottom: 12px;
}
/*#topcontents section#informationSection .banner li {
	width: 49%;
}
#topcontents section#informationSection .banner li:nth-child(3) {
	width: 100%;
	margin-top: 20px;
}*/


@media screen and (max-width: 700px) {
	#topcontents .inner {
		display: block;
	}
	#topcontents section {
		width: 100%;
		margin-bottom: 30px;
	}
    #topcontents section#informationSection h2 span {
        margin-left: 0px;
		display: inline-block;
		vertical-align: top;
		margin-top: 10px;
    }
	/*#topcontents section#informationSection .banner li {
		text-align: center;
	}*/
}


/* ==============================================
    topcheck
============================================== */
#topcheck {
	background: #df4132;
	padding: 0;
	position: relative;
}
#topcheck .inner {
	position: relative;
	padding-top: 50px;
}

#topcheck .inner::before {
	content: "";
	display: block;
	background: url("image/top_icon_check.png") no-repeat 0 0;
	background-size: contain;
	width: 80px;
	height: 80px;
	position: absolute;
	top: -40px;
	left: 75px;
}
#topcheck h2 {
	float: left;
	margin-right: 50px;
}
#topcheck #checkSlider {
	float: right;
	width: 700px;
}
#topcheck .slider li {
	padding: 0 10px;
}
#topcheck .slider li img {
	box-shadow: 3px 3px #c30d23;
}

#topcheck .slider .slick-dots li.slick-active button:before {
	background: #fbdb16;
}

@media screen and (max-width: 1100px) {
	#topcheck h2 {
		width: 20%;
	}
	#topcheck #checkSlider {
		width: 70%;
		padding-right: 30px;
	}
	
}

@media screen and (max-width: 700px) {
	#topcheck {
		padding-bottom: 10px;
	}
	#topcheck .inner::before {
		left: 50%;
		margin-left: -40px;
	}
	#topcheck h2,
	#topcheck #checkSlider {
		float: none;
	}
	#topcheck h2 {
		margin: 0 auto 10px;
		text-align: center;
		width: 40%;
	}
	
	#topcheck #checkSlider {
		width: 90%;
		margin: 0 auto;
		padding-right: 0px;
	}
}


/* ==============================================
    topcommunity
============================================== */
#topcommunity {
	background: #efefef;
	padding: 40px 0;
}

#topcommunity h2 {
	font-size: 1.750em;
	color: #df4132;
	font-weight: 700;
	text-align: center;
	margin-bottom: 30px;
}

#topcommunity .content {
	display: flex;
	justify-content: space-between;
}
#topcommunity .photo {
	width: 30%;
}
#topcommunity .textarea {
	flex: 1;
	margin: 0 30px;
}
#topcommunity .photo figure img {
	width: 100%;
}

#topcommunity .tit {
	color: #0068b6;
	font-size: 1.125em;
	font-weight: 700;
	margin-bottom: 10px;
}
#topcommunity .text {
	font-size: 0.875em;
	line-height: 1.8;
}

#topcommunity .textarea a.midokoro {
	display: block;
	background: #0068b6;
	border-radius: 4px;
	padding: 10px 0;
	text-align: center;
	color: #fbdb16;
	font-size: 1.125em;
	font-weight: 700;
	margin-top: 30px;
	position: relative;
}
#topcommunity .textarea a.midokoro::after {
	content: "";
	display: block;
	position: absolute;
	background: url("image/arrow_next.svg") no-repeat 0 0;
	background-size: contain;
	width: 14px;
	height: 14px;
	top: 50%;
	margin-top: -7px;
	right: 10px;
}
#topcommunity .textarea a.midokoro:hover {
	text-decoration: none;
}

#topcommunity .banner ul {
	list-style: none;
}
#topcommunity .banner li {
	margin-bottom: 10px;
	text-align: center;
}
#topcommunity .banner li:last-child {
	margin-top: 30px;
	margin-bottom: 0px;
}


@media screen and (max-width: 700px) {
	#topcommunity .content {
		display: block;
	}
	#topcommunity .photo {
		width: 100%;
}
	#topcommunity .content figure {
		text-align: center;
		margin-bottom: 20px;
	}
	#topcommunity .textarea {
		margin: 0 0 30px;
	}

	#topcommunity .banner ul {
		display: flex;
		align-items: flex-start;
		justify-content: space-between;
		flex-wrap: wrap;
		margin-top: 40px;
	}
	#topcommunity .banner li {
		width: 49%;
		margin-bottom: 20px;
		text-align: center;
	}
	#topcommunity .banner li:last-child {
		margin-top: 0px;
		margin-bottom: 10px;
	}
}


/* ==============================================
    topbanner
============================================== */
#topbanner {
	margin: 40px 0 0;
}

#topbanner ul {
	display: flex;
	justify-content: space-between;
	flex-wrap: wrap;
	list-style: none;
}
#topbanner ul::before,
#topbanner ul::after {
	content: "";
	display: block;
	width: 24%;
	height: 0;
}
#topbanner ul::before {
	order: 1;
}

#topbanner li {
	width: 24%;
	margin-bottom: 20px;
}

@media screen and (max-width: 700px) {
	#topbanner li {
		width: 49%;
		text-align: center;
	}
}




