@charset "utf-8";

/*===============================================
●画面の横幅が769px以上
===============================================*/
@media screen and (min-width : 769px ){
#pc------------------------------------------- {
}
.mphoto {
    background-image: url("../images/after/main_image.png");
    height: 540px;
    background-size: cover;
    background-position: center center;
    background-repeat: no-repeat;
    margin-bottom: 60px;
}
.mphoto2 {
    background-image: url("../images/after/photo01.png");
    height: 540px;
    background-size: cover;
    background-position: center center;
    background-repeat: no-repeat;
    margin-bottom: 60px;
    margin-top: 60px;
}
#about h2 {
    font-size: 32px;
    font-weight: bold;
}
#about h2+p {
    font-size: 18px;
    line-height: 2em;
    margin-top: 40px;
}
#about h3 {
    font-size: 32px;
    font-weight: bold;
}
#about h3+p {
    font-size: 18px;
    line-height: 2em;
    margin-top: 40px;
    margin-bottom: 60px;
}
#attention ul {
    display: flex;
	display: -webkit-flex; /* Safari */
    display: -ms-flexbox;
	justify-content: space-between;
	-webkit-justify-content: space-between; /* Safari */
    -ms-flex-pack: justify;
    display: flex;
	display: -webkit-flex; /* Safari */ 　
    display: -ms-flexbox;
    flex-wrap: wrap;
	-webkit-flex-wrap: wrap; /* Safari */
    width: 1280px;
    margin-left: auto;
    margin-right: auto;
    margin-top: 60px;
}
#attention ul li {
    width: 409px;
}
#attention ul li span {
    background-color: rgba(0,108,251,1.00);
    color: #fff;
    display: block;
    font-size: 17px;
    font-weight: bold;
    padding-top: 20px;
    padding-bottom: 16px;
}
#attention ul li {
    margin-bottom: 20px;
}
#banners ul {
    display: flex;
	display: -webkit-flex; /* Safari */
    display: -ms-flexbox;
	justify-content: space-between;
	-webkit-justify-content: space-between; /* Safari */
    -ms-flex-pack: justify;
    display: flex;
	display: -webkit-flex; /* Safari */ 　
    display: -ms-flexbox;
    flex-wrap: wrap;
	-webkit-flex-wrap: wrap; /* Safari */
    width: 1208px;
    margin-left: auto;
    margin-right: auto;
    margin-top: 30px;
}
#banners ul li {
    margin-bottom: 30px;
}
}



/*===============================================
●画面の横幅が768pxまで
===============================================*/
@media screen and (max-width:768px){
	
/*===============================================
●sp-tablet
===============================================*/
#sptablet------------------------------------------- {
}
#about h2 {
    font-size: 18px;
    font-weight: bold;
    margin-top: 5%;
}
#about h2+p {
    font-size: 12px;
    line-height: 2em;
    margin-top: 3%;
    margin-left: 5%;
    margin-right: 5%;
    margin-bottom: 5%;
}
#about h3 {
    font-size: 18px;
    font-weight: bold;
    margin-top: 5%;
}
#about h3+p {
    font-size: 12px;
    line-height: 2em;
    margin-top: 3%;
    margin-left: 5%;
    margin-right: 5%;
    margin-bottom: 8%;
}
#about ul {
    margin-left: 5%;
    margin-right: 5%;
    margin-top: 5%;
}
#about ul li {
    margin-bottom: 7%;
}
#about ul+p {
    font-size: 12px;
    line-height: 2em;
    margin-top: 5%;
    margin-left: 5%;
    margin-right: 5%;
}
#attention h2 {
    margin-left: 5%;
    margin-right: 5%;
}
#attention ul {
    margin-left: 8%;
    margin-right: 8%;
}
#attention ul li {
    margin-bottom: 8%;
}
#attention ul li span {
    background-color: rgba(0,108,251,1.00);
    color: #fff;
    display: block;
    font-size: 15px;
    font-weight: bold;
    padding-top: 20px;
    padding-bottom: 16px;
}
#banners ul li {
    margin-bottom: 3%;
}
}



/*===============================================
●画面の横幅が400pxまで
===============================================*/
@media screen and (max-width:400px){
/*===============================================
●sp400
===============================================*/
#sp400------------------------------------------- {
}
#attention ul li span {
    font-size: 13px;
    padding-top: 10px;
    padding-bottom: 10px;
    line-height: 1.6em;
}
}



/*===============================================
●画面の横幅が320pxまで
===============================================*/
@media screen and (max-width:320px){
/*===============================================
●sp320
===============================================*/
#sp320------------------------------------------- {
}
#attention ul li span {
    font-size: 11px;
}
}



/*===============================================
●画面の横幅が481pxから768pxまで
===============================================*/
@media screen and (min-width:481px) and (max-width:768px) {
/*===============================================
●tablet
===============================================*/
#tab------------------------------------------- {
}
}
