@charset "utf-8";

/* mainview */
.mainview {
	margin-bottom: 40px;
    background-position: center bottom;
    background-size: cover;
}

#index header {
	padding: 25px 0;
	background-color: inherit;
}

.siteName{
    text-indent: -9999em;
    background-image: url("../images/logo.png");
    width: 230px;
    height: 70px;
}
.siteName a{
    display: block;
    width: 100%;
    height: 100%;
}

/*mainviewの中のテキスト*/
.mainview article h2{
    text-indent: -9999em;
    width: 440px;
    height: 134px;
    background-image: url("../images/index/mainview_title.png");
    background-repeat: no-repeat;
    background-position: center;
    margin: 0 0 35px;
}
.mainview article p{
    text-indent: -9999em;
    background-repeat: no-repeat;
    background-position: center;
    margin: 0 0 25px;
}
.mainview article .txt01{
    background-image: url("../images/index/mainview_txt01.png");
    width: 396px;
    height: 75px;
}
.mainview article .txt02{
    background-image: url("../images/index/mainview_txt02.png");
    width: 340px;
    height: 47px;
}
.mainview article .btn01 a{
    background-image: url("../images/renmei_ni_tuite.png");
}

.btn01 a {
    display: block;
    text-indent: -9999em;
    background-color: #f39700;
    background-position: left 28px center;
    background-repeat: no-repeat;
    width: 360px;
    padding: 13px 28px 14px;
    border-radius: 28px;
}

#message h2 {
	margin: 0 auto 20px auto;
	width: 698px;
	height: 54px;
	background-image: url(../images/index/message_hl.jpg);
	background-position: center center;
	background-repeat: no-repeat;
	text-indent: -10000em;
}
#message p { text-align: center; margin-bottom: 25px;}

#contentslist {
	margin-bottom: 50px;
}

#contentslist h2 {
	margin: 0 auto 35px auto;
	width: 391px;
	height: 54px;
	background-image: url(../images/index/contentslist_hl.jpg);
	background-position: center center;
	background-repeat: no-repeat;
	text-indent: -10000em;
}
#contentslist ul li {
	margin-right: 20px;
	float: left;
	width: 260px;
}
#contentslist ul li:nth-child(4n) { margin-right: 0; }
#contentslist ul li dl {
	padding-top: 160px;
	position: relative;
}
#contentslist ul li dl dt {
	margin-bottom: 5px;
	color: #333 !important;
	text-align: center;
	font-size: 1.2em;
	font-weight: 700;
}
#contentslist ul li dl dd.image {
	position: absolute;
	left: 0;
	top: 0;
}

@media (min-width:641px){
    
/*mainview*/
.siteName{
	float: left;
}
.mainview{
	background-image: url("../images/index/mainview.jpg");
	height: 620px;
}

/*mainviewの中のテキスト*/
.mainview article{
	padding: 37px 0;
}

}

@media (max-width:640px){
    
/*mainview*/
.mainview{
	height: 540px;
	background-image: url("../images/index/mainview_sp.jpg");
}

/*navの設定*/
header nav{
	position: fixed;
	top: 0;
	left: 0;
	display: none;
	background-color: hsla(213,98%,84%,0.95);
	width: 100%;
	height: 100%;
}
header nav dd{
	border-bottom: solid 2px #fff;
}
header nav dd a,
header nav dd span{
	margin: 0 auto;
	width: 100%;
	padding: 20px 0;
	background-position: center;
}
.menu{
	position: absolute;
	top: 20px;
	right: 20px;
	text-indent: -9999em;
	background-image: url("../images/sp_menu.png");
	background-color: hsla(210,100%,71%,0.55);
	background-repeat: no-repeat;
	background-position: center;
	width: 70px;
	height: 65px;
	border: solid 3px #fff;
	border-radius: 3px;
}
.close span{
	background-image: url("../images/nav_close.png");
}

#message h2 {
	margin: 0 auto 20px auto;
	width: 525px;
	height: 96px;
	background-image: url(../images/index/message_hl_sp.jpg);
	background-position: center center;
	background-repeat: no-repeat;
	text-indent: -10000em;
}

#contentslist ul li {
	margin-right: 4%;
	margin-bottom: 1em;
	float: left;
	width: 48%;
}
#contentslist ul li:nth-child(2n) { margin-right: 0; }
#contentslist ul li dl { padding-top: 170px; }
#contentslist ul li dl dd.image { width: 100%; }
#contentslist ul li dl dd.image img { width: 100%; }

}