@charset "UTF-8";

/*##########################################
#-980px
###########################################*/
@media (max-width:980px) {
#logo {
    width: 140px;
    height: 66px;
    position: absolute;
    left: 8px;
}


}/*-end*/

/*##########################################
#-720px
###########################################*/
@media (max-width:720px) {

#base_ad {
    display: block;
}
#screen,
#bnr_area {
    width: 100%;
}

}/*-end*/

/*##########################################
#-640px
###########################################*/
@media (max-width:640px) {
#pagehead {
    background-position: 420px -4px;
    height: 88px;
}
#logo {
    width: 90px;
    height: 46px;
    right:8px;
    left:auto;
}
#pagehead .inr {
    padding: 10px 0 0;
}
#pagehead h1 {
    font-size: 14px;
    margin-bottom:3px;
    text-align:left;
    padding-left:20px;
}
#pagehead h2 {
	font-size: 32px;
	text-align:left;
    padding-left:20px;
    text-shadow:0 0 6px #8dbaf5;
}
#main_inr {
    display: block;
    padding: 8px 0;
}
#side1,
#side2 {
    width: 100%;
    min-height: 1px;
}
#content {
    width: auto;
    margin: 0 auto;
    padding:0 10px;
    min-height: 1px;
}
#base_ad {
	margin-top:8px;
}

.pbox {
	width:30%;
	display:inline-block;
    margin: 0 0 1% 10px;
    background-color: #fff;
    border-radius: 6px;
    overflow: hidden;
    height: auto;
    max-height: 350px;
}
.pbox:last-child {
    margin: 0 0 1% 10px;
}
.pbox figure {
    height: auto;
}
#base_content {
    margin-top: 8px;
}
#base_content h2 {
	font-size:28px;
}
#base_association {
    margin: 15px 0;
}
#base_association ul {
    display: block;
    text-align:center;
}
#base_association li {
    width: 30%;
    display:inline-block;
    margin-bottom:8px;
    margin-right:8px;
}
#base_association li:nth-child(3n),
#base_association li:last-child {
	margin-right:0;
}

/*##########################################
#-520px
###########################################*/
@media (max-width:520px) {
.sp_block {
	display:block;
}
#base_content h2 {
    font-size: 36px;
    margin-bottom:16px;
}

#base_association li {
    width: 48%;
    display:inline-block;
    margin-bottom:8px;
    margin-right:8px;
}
#base_association li:nth-child(3n) {
	margin-right:8px;
}
#base_association li:nth-child(2n) {
	margin-right:0;
}
#side1,
#side2 {
	display:flex;
	justify-content:space-between;
	flex-wrap:wrap;
	padding:0 8px;
	width:auto;
}
.pbox {
	width:49%;
	display:inline-block;
	margin: 0 0 8px 0;
	height: auto;
    max-height: 350px;
}
.pbox figure {
	height: auto;
}
.pbox:last-child {
    margin: 0 0 8px 0;
}
#base_content {
    padding: 8px;
}
#base_content dl {
    position: relative;
    padding: 40px 10px 10px 10px;
    min-height: 40px;
    text-align:center;
}
#base_content dt {
    font-size: 20px;
    width: 100%;
    border-radius: 5px 5px 0 0;
    padding: 5px 0;
    left: 0;
    top: 0;
}
#base_content dd {
    margin:0 0 10px 0;
}
#base_content dd a {
    background-color: #488edd;
    color: #fff;
    padding:8px 12px;
    border-radius:8px;
    text-decoration:none;
    display:block;
}





}/*-end*/
