@charset "UTF-8";
header .logo {
    width: 50%;
    max-width: 255px;
    margin: 50px auto 0;
}
.head_area{
    text-align: center;
}
.head_area h1{
    margin-top: 40px;
}
.head_area h2{
    font-size: 28px;
    line-height: 1.4;
    margin-bottom: .5em;
}
.link .title,.bosyu .title{
    text-align: center;
    font-size: 20px;
    margin-bottom: 25px;
}
.link .btn_area{
    display: flex;
    justify-content: center;
    text-align: center;
}
.link .btn_area a{
    width: 208px;
    display: block;
    margin: 0 17px;
}
.link .btn_area a:hover{
    transform: translateY(-5px);
}
.link .btn_area a p{
    font-size: 13px;
    text-decoration: underline;
}
.bosyu{
    width: 100%;
    max-width: 634px;
    margin: 100px auto 0;
}
.bosyu ul{
    width: 100%;
    margin: auto;
    display: flex;
    flex-wrap: wrap;
    justify-content: space-between;
}
.bosyu ul li{
    width: 31.545%;
    text-align: center;
    position: relative;
}
.bosyu ul li a .photo{
    padding-bottom: 30px;
    background-color: #fff;
    overflow: hidden;
}
.bosyu ul li a p{
    background-color: #595757;
    color: #fff;
    width: 100%;
    height: 30px;
    line-height: 30px;
    position: absolute;
    bottom: 0;
    transition: all 0.3s ease;
}
/*.bosyu ul li a:hover p{
    height: 100%;
    opacity: .85;
    display: flex;
    align-items: center;
    justify-content: center;
}*/
.link_box ul {
  width: 164px;
}
footer .footer_origin{display: none;}

@media screen and (max-width: 850px) {	
    #wrapper{padding-bottom: 0;}
    header .logo {
        margin: 10.666vw auto 0;
    }
    footer{
        position: static;
        height: auto;
        padding: 0 0 20px;
    }
    footer .footer_origin{
        display: block;
    }
    footer .footer_origin ul.footer_linkbox{
        width: 100%;
        max-width: 392px;
        margin: auto;
        display: flex;
        justify-content: space-between;
    }
    footer .footer_origin ul.footer_linkbox li{
        width: 33.333%;
        display: block;
    }
    footer .footer_origin ul.footer_nav {
        display: flex;
        justify-content: center;
        margin: 1em 0;
    }
    footer .footer_origin ul.footer_nav li::after {
        content: "｜";
        padding-left: 1em;
        margin-right: 1em;
    }
    footer .footer_origin ul.footer_nav li:last-child::after{
        content: "";
        margin-right: 0;
    }
    footer .footer_origin ul.footer_linkbox {
        justify-content: center;
    }
}
@media screen and (max-width: 520px) {	
    .head_area{
        padding-left: 0;
        padding-right: 0;
        padding-bottom: 70px;
    }
    .head_area h2{
        font-size: 22px;
    }
    .link .title,.bosyu.title{
        font-size: 18px;
        margin-bottom: 15px;
    }
    .link .btn_area a{
        margin: 0 10px;
    }
    .link .btn_area a p{
        font-size: 12px;
        line-height: 1.3;
        letter-spacing: 0;
        margin-top: 5px;
    }
    .bosyu{
        width: 110%;
        margin-top: 70px;
        margin-left: -5%;
    }
    .bosyu ul{
        width: 100%;
    }
    .bosyu ul li{
        width: 100%;
        margin-bottom: 15px;
    }
    .bosyu ul li a .photo{
        position: relative;
        width: 100%;
        overflow: hidden;
    }
    .bosyu ul li a .photo:before {
        content:"";
        display: block;
        padding-top: 40.714%;
    }
    .bosyu ul li a .photo img{
        position: absolute;
        width: 100%;
        height: 100%;
        right: 0;
        bottom: 20px;
        left: 0;
        margin: auto;
        object-fit: cover;
    }
    footer .footer_origin ul.footer_nav {
        display: block;
        border-top: 1px solid #ccc;
    }
    footer .footer_origin ul.footer_nav li::after {
        content: "";
        padding-left: 0;
        margin-right: 0;
    }
    footer .footer_origin ul.footer_nav li a{
        width: 100%;
        display: block;
        border-bottom: 1px solid #ccc;
        padding: .5em 0;
        margin-bottom: .5em;
    }
}


/*スワイプ*/
.head_area .swiper{
    margin: 50px auto 50px;
    padding-bottom: 40px;
}
.swiper-horizontal > .swiper-pagination-bullets{
    bottom: 0;
}
.swiper-pagination-bullet{
    border: 1px solid #595757;
    background-color: transparent;
    opacity: 1;
    width: 10px;
    height: 10px;
    margin: 0 5px!important;
}
.swiper-pagination-bullet-active {
  background: #595757;
}
@media screen and (max-width: 520px) {	
    .head_area .swiper{
        width: 110%;
        margin-top: 15px;
        margin-bottom: 20px;
        margin-left: -5%;
    }
}


/*ポップアップ*/
.pop_bg {
    width: 90%;
	height:auto;
	max-height:90%;
	position: relative;
	top: 50%;
	left: 0;
	transform: translateY(-50%);
	margin:10px auto;
	max-width: 600px;
	background: #fff;
	padding: 20px 20px 50px;
    text-align: center;
    font-size: 14px;
    line-height: 1.5;
	overflow-y:auto;
    color: #5b5c57;
}
.mfp-close-btn-in .mfp-close {
    color: #5b5c57;
    background-image: url("img/close.svg");
    background-repeat: no-repeat;
}
.pop_bg .logo{
    width: 114px;
    margin: 40px auto 20px;
}
.pop_bg .image{
    width: 310px;
    margin: auto;
}
.pop_bg .image img{
    margin-bottom: 10px;
}
.pop_bg h3{
    font-size: 22px;
    line-height: 1.4;
    font-weight: normal;
    margin: 15px auto 20px;
}
.pop_bg h3 span{
    font-size: 16px;
    display: block;
}
.pop_bg a.linklink{
    display:block;
    width: 170px;
    height:40px;
    margin: 2em auto 0;
    text-align:center;
    border:1px solid #595757;
    border-radius:10px;
    line-height:40px;
    font-size:16px;
}
.pop_bg a.linklink:hover{
    background-color:#595757;
    color:#fff;
}
.mfp-fade.mfp-bg {
    opacity: 0.001;
    -webkit-transition: all 0.15s ease-out;
    -moz-transition: all 0.15s ease-out;
    transition: all 0.15s ease-out;
}
.mfp-fade.mfp-bg.mfp-ready {
    opacity: 0.8;
}
.mfp-fade.mfp-bg.mfp-removing {
    opacity: 0;
}
.mfp-fade.mfp-wrap .mfp-content {
    opacity: 0;
    -webkit-transition: all 0.15s ease-out;
    -moz-transition: all 0.15s ease-out;
    transition: all 0.15s ease-out;
}
.mfp-fade.mfp-wrap.mfp-ready .mfp-content {
    opacity: 1;
	position: fixed;
	top:0;
	bottom:0;
	left:0;
	right:0;
	margin:auto;
}
.mfp-fade.mfp-wrap.mfp-removing .mfp-content {
    opacity: 0;
}
@media screen and (max-width: 520px) {	
    .mfp-arrow {
        width: 60px;
		position: fixed;
    }
    .mfp-arrow-left {
        left: -20px;
    }
}