@charset "utf-8";

/*---------wrapper---------*/

#wrapper {
width: 100%;
margin: 0 auto;
z-index: 600;
}


/*---メニュー---*/

header{
border-top: 5px solid #1F8977;
}

#spnavi {
display: block;
position: relative;
z-index: 999999;
}

.sp-search {
clear: both;
display: block;
margin: 0 auto;
padding: 2% 0;
background: #F4F4F4;
text-align: center;
}

.sp-search input[type="text"] {
width: 68%;
font-size: 0.9em;
}

.sp-search input[type="submit"] {
-webkit-appearance: none;
width:20%;
font-size: 1em;
font-weight: bold;
color: #fff;
background: #1F8977;
border: none;
cursor: pointer;
border-radius: 4px;
padding: 3px 0 3px 0;
}

.sp-search input[type="submit"]:hover {
background: #1F8977;
}

.splogo {
width: 20%;
display: block;
margin: 3.6% 0 0 10px;
position: absolute;
}

.hdtopbtn {
width: 65%;
display: block;
margin: 0 0 0 24%;
position: absolute;
}

.hdtopbtn li {
width: 38%;
display: inline-block;
margin: 8.5% 0 0 5%;
}

.hdtopbtn li img {
width: 100%;
}

.spheadolbtn{
display: block;
padding: 29px 0 8px 0;
position: absolute;
top: 4%;
margin-left: 100px;
}

.spheadrvbtn{
display: block;
padding: 29px 0 8px 0;
position: absolute;
top: 4%;
margin-left: 250px;
}


/*---メイン画像---*/

.wideslider {
clear: both;
margin: 0 0 0 0;
width: 100%;
text-align: left;
position: relative;
overflow: hidden;
}

.wideslider ul {
margin: 0px;
padding: 0px;
}

.wideslider ul,
.wideslider ul li {
float: left;
display: inline;
overflow: hidden;
}

.wideslider ul li img {
width: 100%;
display: none;
}

.wideslider_base {
top: 0;
position: absolute;
}

.wideslider_wrap {
top: 0;
position: absolute;
overflow: hidden;
}

.slider_prev,
.slider_next {
top: 0;
overflow: hidden;
position: absolute;
z-index: 100;
cursor: pointer;
}

.slider_prev {
background: #222 url(../images/top/prev.png) no-repeat right 25px center;
}

.slider_next {
background: #222 url(../images/top/next.png) no-repeat left 25px center;
}

.pagination {
bottom: 18px;
left: 0;
width: 100%;
height: 15px;
text-align: center;
position: absolute;
z-index: 200;
display: none;
}

.pagination a {
margin: 0 5px;
width: 15px;
height: 15px;
display: inline-block;
overflow: hidden;
background: #333;
}

.pagination a.active {
filter:alpha(opacity=100)!important;
-moz-opacity: 1!important;
opacity: 1!important;
}

.wideslider ul:after {
content: ".";
height: 0;
clear: both;
display: block;
visibility: hidden;
}

.wideslider ul {
display: inline-block;
overflow: hidden;
}



/*---------footer---------*/

footer {
width: 100%;
clear: both;
margin: 35px auto 0 auto;
padding: 25px 0;
background: #1F8977;
}

footer .copy {
display: block;
padding: 0 2% 0 2%;
color: #fff;
font-size: 11px;
font-weight: bold;
letter-spacing: 0.1em;
text-align: center;
}



/*---------ポップアップ用---------*/

.bg_onetime_popup {
    position: fixed;
    top: 0px;
    left: 0px;
    z-index: 99999999;
    width: 100vw;
    height: 100vh;
    background-color: rgba(0, 0, 0, 0.5);
    opacity: 0;
    visibility: hidden;
    transition: 0.5s;
}

.bg_onetime_popup.js_active {
    opacity: 1;
    visibility: visible;
}

.onetime_popup {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translateX(-50%) translateY(-50%);
    width: 85%;
    background-color: #fff;
    cursor: pointer;
}

.onetime_popup_title {
    position: relative;
    padding: 6%;
    margin: 0px;
    background-color: #3388dd;
    color: #fff;
    font-size: 1.7em;
    text-align: center;
    line-height: 1.5;
}
.onetime_popup_title::before,
.onetime_popup_title::after {
    position: absolute;
    top: 50%;
    right: 30px;
    transform: translateY(-50%);
    width: 30px;
    height: 4px;
    background-color: #fff;
    content: "";
}
.onetime_popup_title::before {
    transform: rotate(45deg);
}
.onetime_popup_title::after {
    transform: rotate(-45deg);
}

.onetime_popup_content {
    padding: 6%;
    text-align: center;
}

.poppcbtn{
clear: both;
display: block;
background: #3388dd;
padding: 3%;
text-align: center;
margin: 3% auto 0 auto;
border-radius: 4px;
font-weight: bold;
color: #fff;
}

