/*
Theme Name: FIRST SERVICE TEMPLATE
Theme URI: 
Description: 株式会社ファストサービステーマ

*/

@import url(common/css/about.css);
@import url(common/css/blog.css);
@import url(common/css/housing.css);
@import url(common/css/cleaning.css);
@import url(common/css/contact.css);
@import url(common/css/housecleaning.css);
@import url(common/css/teiki.css);


* {
  margin: 0;
  padding: 0;
  font-size : 100%;
  box-sizing:border-box;
}


html{
  scroll-behavior: smooth;
}

body{
color: #000;
font-family:"游ゴシック" ,Avenir , "Open Sans" , "Helvetica Neue" , Helvetica , Arial , Verdana , Roboto , "Yu Gothic" , "游ゴシック体" , "YuGothic" , "ヒラギノ角ゴ Pro W3" , "Hiragino Kaku Gothic Pro" , "Meiryo UI" , "メイリオ" , Meiryo , "ＭＳ Ｐゴシック" , "MS PGothic" , sans-serif;
font-size: 110%;
line-height: 1;
}

table{
border-collapse: collapse;
}

td,th{
text-align: left;
vertical-align: top;
}

.clearfix{
zoom: 1;
}

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

li{
list-style-type: none;
}

img{ 
display: block;
border:0;
max-width: 100%;
height: auto;
}


a:link{color: #5b657e;text-decoration: underline;}
a:visited{color: #5b657e;text-decoration: none;}
a:hover{color: #5b657e;text-decoration: none;}
a:active{color: #2177be;text-decoration: none;}


.img{
display: block;
width: 100%;
height: 100%;
object-fit: cover;
object-position: center center;
font-family: 'object-fit: cover; object-position: center center;'
}



a[href^="tel:"] {
    cursor: default;
    pointer-events: none;
color:#000;
text-decoration : none;
}

/* recapture */

.grecaptcha-badge {
    visibility: hidden;
}

.recaptcha_policy {
    padding-bottom: 35px;
    margin: 0;
    text-align: center;
    font-size: 11px !important;
    color: #444 !important;
}

.recaptcha_policy a {
    font-size: 11px !important;
    color: #111 !important;
}


.menu-trigger{
display: none;
}

.pc{
    display: block;
}

.sp{
    display: none;
}

@media (max-width: 959px) {
a[href^="tel:"] {
    cursor: pointer;
    pointer-events: auto;
}

.pc{
    display: none;
}

.sp{
    display: block;
}

.menu-trigger{
display: block;
}


.menu-trigger_container{
position: fixed;
top: 0;
right: 0;
z-index: 1000000000000000000000000000000000000000000000000000000000000000000000000000000000;
}


.menu-trigger{
width: 70px;
height: 70px;
transition: all .4s;
cursor: pointer;
background-color: #fff;
}


.menu-trigger span {
	display: inline-block;
	transition: all .4s;
	box-sizing: border-box;
	position: fixed;

}

.menu-trigger div{
	width: 28px;
	height: 44px;
	margin-left: 21px;
	position: relative;
}

.menu-trigger span {
position: absolute;
left: 0;
width: 100%;
height: 2px;
background-color: #00547C;
}
.menu-trigger span:nth-of-type(1) {
	top: 24px;
}
.menu-trigger span:nth-of-type(2) {
	top: 34px;
}
.menu-trigger span:nth-of-type(3) {
	top: 44px;
}


.menu-trigger.active span{
background-color: #00A0E9;
}

.menu-trigger.active span:nth-of-type(1) {
	width: 40%;
	-webkit-transform: translate3d(2px, 4px, 0) rotate(45deg);
	transform: translate3d(2px, 4px, 0) rotate(45deg);
}
.menu-trigger.active span:nth-of-type(2) {
	-webkit-transform: translate3d(0, 0, 0) rotate(-45deg);
	transform: translate3d(0, 0, 0) rotate(-45deg);
}
.menu-trigger.active span:nth-of-type(3) {
	width: 40%;
	-webkit-transform: translate3d(16px, -3px, 0) rotate(45deg);
	transform: translate3d(16px, -3px, 0) rotate(45deg);
}


}



/* blog_comment */

.comment-num,
#comment-area{
display: none;
}

header{
    width: 100%;
    height: 80px;
    background-color: #fff;
    position: fixed;
    left: 0;
    top: 0;
    z-index: 1000000000;
}

@media (max-width: 959px) {
    header{
        height: 70px;
    }
}

header h1{
    position: absolute;
    left: 40px;
    top: 16px;
    z-index: 10000;
}

#menu{
    position: relative;
    text-align: right;
    font-size: 0;
}

@media (max-width: 959px) {
    header h1{
top: 10px;
    }
    #menu{
        display: none;
    }
}

@media (max-width: 479px) {
    header h1{
        position: absolute;
        left: 20px;
        top: 16px;
        width: 210px;
    }
}

#menu li{
    display: inline-block;
    font-weight: 500;
    vertical-align: top;
    font-size: 18px;
}

#menu>ul>li>a{
    display: block;
color: #000;
text-decoration: none;
font-size: 95%;
padding-top: 30px;
margin-right: 45px;
height: 80px;
position: relative;
}

#menu>ul>li:last-child>a{
    margin-right: 15px;
}


#menu>ul>li>a:hover:before{
    content: " ";
display: block;
bottom: 0;
left: 0;
width: 100%;
height: 4px;
position: absolute;
z-index: 10;
background-color: #228df2;
}



.pulldown a span{
    padding-left: 17px;
    position: relative;
}

.pulldown a span::before{
    content: " ";
    display: block;
    top: 6px;
    left: 0;
    width: 6px;
    height: 6px;
    border-bottom: 2px solid #228df2;
    border-left: 2px solid #228df2;
    -webkit-transform: rotate(-45deg);
    transform: rotate(-45deg);
    position: absolute;
    z-index: 10;
}

.pulldown a:hover span::before{
    top: 12px;
    -webkit-transition: .3s;
transition: .3s;
}


#menu_contact a{
    padding-top: 15px !important;
}

#menu_contact a:hover::before{
    display: none !important;
}

#menu_contact a span{
    display: inline-block;
    background: url(img/ico_mail.png) no-repeat left 35px center  / 15px auto;
    padding: 15px 35px 15px 60px;
    border: 1px solid #4f87a2;
    -moz-border-radius: 23px;
    -webkit-border-radius: 23px;
    border-radius: 23px;
}


#menu_contact a:hover span{
    background: url(img/ico_mail.png) no-repeat left 43px center / 15px auto;
    -webkit-transition: .3s;
transition: .3s;
}

#menu_contact a:hover span{
    border: 1px solid #228df2;
    -webkit-transition: .3s;
    transition: .3s;
    box-shadow: 0 0 0 4px #A7D1FA;
}

@media (max-width: 1150px) {
    #menu_contact a{
        padding-top: 0 !important;
        margin-top: -5px;
    }
    #menu_contact a span{
        font-size: 0;
        padding: 0;
        width: 60px;
        height: 60px;
        background: url(img/ico_mail.png) no-repeat center center  / 15px auto;
        -moz-border-radius: 50%;
        -webkit-border-radius: 50%;
        border-radius: 50%;
    }
    #menu_contact a:hover span{
        background: url(img/ico_mail.png) no-repeat center center / 15px auto;
        -webkit-transition: .3s;
    transition: .3s;
    }
}

@media (max-width: 1010px) {
    #menu>ul>li>a{
    margin-right: 25px;
    }
}


.megamenu{
    display: none;
}



.megamenu ul{
    display: block;
    width: 100%;
    max-width: 1324px;
    background-color: #fff;
    z-index: 1001;
    position: fixed;
    margin: 0 auto;
    top: 80px;
    left: 0;
    right: 0;
    padding: 15px;
    box-shadow: 0 2200px 2000px 2000px rgba(0,0,0,0.2);
}

.megamenu ul li{
    display: block;
    width: 49.5%;
    float: left;
}

.megamenu ul li:first-child{
    margin-right: 1%;
}

.megamenu ul li a{
    display: block;
    width: 100%;
    height: 338px !important;
    color: #fff !important;
    position: relative;
    padding-left: 70px;
    text-decoration: none;
font-size: 95%;
}

.megamenu a:hover{
background-blend-mode:multiply;
}

.megamenu ul li a::before{
    display: block;
    content: " ";
top: 50%;
right: 70px;
left: auto;
width: 66px;
height: 66px;
margin-top: -33px;
position: absolute;
z-index: 10;
-moz-border-radius:50%;
-webkit-border-radius: 50%;
border-radius: 50%;
border: 1px solid #fff;
background: url(img/arrow2.png) no-repeat center center / 16px auto;
}

.megamenu ul li a:hover::before{
background: url(img/arrow2.png) no-repeat center right / 16px auto;
-webkit-transition: .3s;
transition: .3s;
}

.megamenu ul li a strong{
    display: block;
    text-align: left;
    font-size: 120%;
    line-height: 1;
    padding-top: 147px;
    padding-bottom: 10px;
}

.megamenu ul li a span{
    display: block;
    text-align: left;
    font-family: 'Josefin Sans', sans-serif;
    padding-left: 0;
}

.megamenu ul li a span::before{
    display: none;
}


.megamenu1 a{
    background: url(img/submenu1_1.jpg) no-repeat center center / cover rgba(0,0,0,0.2);
}
.megamenu2 a{
    background: url(img/submenu1_2.jpg) no-repeat center center / cover rgba(0,0,0,0.2);
}
.megamenu3 a{
    background: url(img/submenu2_1.jpg) no-repeat center center / cover rgba(0,0,0,0.2);
}
.megamenu4 a{
    background: url(img/submenu2_2.jpg) no-repeat center center / cover rgba(0,0,0,0.2);
}


#main{
    position: relative;
    padding-top: 80px;
}

@media (max-width: 959px) {
    #main{
        padding-top: 70px;
    }
}

#main h2{
    position: absolute;
    left: 5%;
    top: 25%;
    z-index: 2;
}

#main figure{
    width: 100%;
    height: calc(100vh - 80px);
    position: relative;
}

#main figure::before{
    content: " ";
display: block;
bottom: 50px;
left: 50%;
margin-left: -37px;
width: 74px;
height: 74px;
border: 3px solid #fff;
position: absolute;
z-index: 10;
-moz-border-radius:50%;
-webkit-border-radius: 50%;
border-radius: 50%;
background: url(img/arrow.png) no-repeat top 26px center / 22px auto;
animation: circlemove 0.9s infinite;
}

@keyframes circlemove {
    0% {
        background: url(img/arrow.png) no-repeat top 20px center / 22px auto;
    }
    90% {
        background: url(img/arrow.png) no-repeat top 35px center / 22px auto;
    }
}

#top #block1_container{
    padding-top: 120px;
    width: 90%;
    max-width: 1540px;
    margin: 0 auto;
}


@media (max-width: 1280px) {
    #top #block1_container{
        padding-top: 60px;
    }

    #main h2{
    position: absolute;
    left: 5%;
    top: 30%;
    z-index: 2;
    width: 550px;
}
}

@media (max-width: 959px) {
    #main h2{
    left: 50%;
    top: 120px;
    width: 550px;
    margin-left: -275px;
}
}

@media (max-width: 660px) {
    #main h2{
    width: 400px;
    margin-left: -200px;
}
}

@media (max-width: 479px) {
    #main h2{
    width: 300px;
    margin-left: -150px;
}
}


#top #block1_title h3{
    width: 50%;
    float: left;
    margin-bottom: 50px;
}

#top #block1_title h3 span{
    display: block;
    width: 100%;
    padding-top: 128px;
    text-align: center;
    line-height: 1;
    font-size: 180%;
    letter-spacing: .05em;
}

#top #block1_title h3.no1 span{
    background: url(img/top/block1_ico1.png) no-repeat top 35px center / 98px auto;
    color: #228df2;
}

#top #block1_title h3.no2 span{
    background: url(img/top/block1_ico2.png) no-repeat top center / 216px auto;
    color: #1a8588;
}

@media (max-width: 1280px) {
    #top #block1_title h3 span{
        padding-top: 128px;
        font-size: 160%;
    }
}

@media (max-width: 959px) {
    #top #block1_title h3 span{
        padding-top: 88px;
        font-size: 120%;
    }
    #top #block1_title h3.no1 span{
        background: url(img/top/block1_ico1.png) no-repeat top 15px center / 70px auto;
    }
    
    #top #block1_title h3.no2 span{
        background: url(img/top/block1_ico2.png) no-repeat top center / 150px auto;
    }
}

@media (max-width: 599px) {
    #top #block1_title h3{
        margin-bottom: 30px;
    }
    #top #block1_title h3 span{
        padding-top: 88px;
        font-size: 100%;
    }
    #top #block1_title h3.no1 span{
        background: url(img/top/block1_ico1.png) no-repeat top 15px center / 60px auto;
    }
    
    #top #block1_title h3.no2 span{
        background: url(img/top/block1_ico2.png) no-repeat top center / 130px auto;
    }
}


@media (max-width: 479px) {

    #top #block1_title h3 span{
        font-size: 90%;
    }
}

@media (max-width: 400px) {
    #top #block1_title h3 span{
        font-size: 80%;
    }
}

@media (max-width: 350px) {
    #top #block1_title h3 span{
        font-size: 70%;
    }
}

#top .block1_content_in1{
    width: 100%;
}

#top .b1c{
    display: block;
    width: 23.125%;
    float: left;
    margin-right: 2.5%;
    position: relative;
    text-align: center;
}

@media (max-width: 759px) {
    #top .block1_content_in2{
        width: 49%;
        float: left;
        margin-right: 2%;
    }
    
    #top .block1_content_in2:last-child{
        margin-right: 0;
    }

    
    #top .b1c{
    width: 100%;
    margin-right: 0;
    margin-bottom: 15px;
}
#top .b1c:last-child{
    margin-right: 0;
    margin-bottom: 0;
}
}
    


#top .b1c a{
    display: block;
    width: 100%;
    float: left;
    z-index: 100;
    -moz-border-radius: 0.5in;
    -webkit-border-radius: 0.5in;
    border-radius: 0.5in;
    color: #000;
    text-decoration: none;
}

#top .b1c.bg_b a:hover{
    box-shadow: 0 0 0 5px rgba(34, 141, 242, 0.4);
    -webkit-transition: .3s;
    transition: .3s;
}

#top .b1c.bg_g a:hover{
    box-shadow: 0 0 0 5px rgba(26, 133, 136, 0.4);
    -webkit-transition: .3s;
    transition: .3s;
}

#top .b1c span{
    display: block;
    position: absolute;
    left: 0;
    top: 35px;
    font-size: 750%;
    line-height: 1;
    color: #fff;
    font-family: 'Josefin Sans', sans-serif;
    font-weight: 300;
    width: 100%;
    text-align: center;
}

#top .b1c img{
    position: absolute;
    left: 0;
    right: 0;
    top: 60px;
    margin: 0 auto;
}

#top .b1c:nth-child(1) img{
    top: 55px;
}

#top .b1c:nth-child(4) img{
    top: 75px;
}

#top .b1c a strong{
    display: block;
    padding-top: 220px;
    padding-bottom: 70px;
    font-size: 120%;
    font-weight: 400;
}


@media (max-width: 1280px) {
    #top .b1c a strong{
        padding-top: 180px;
        padding-bottom: 60px;
        font-size: 100%;
    }
    #top .b1c.no1 img{
        width: 160px;
        top: 45px;
    }
    #top .b1c.no2 img,
    #top .b1c.no3 img{
        width: 120px;
        top: 55px;
    }
    #top .b1c.last img{
        width: 120px;
        top: 65px;
    }
}


@media (max-width: 959px) {
    #top .b1c a strong{
        font-size: 90%;
    }
}


@media (max-width: 479px) {
    #top .b1c a strong{
        padding-top: 140px;
        padding-bottom: 60px;
        font-size: 80%;
    }
    #top .b1c span{
        top: 25px;
        font-size: 650%;
    }
    #top .b1c.no1 img{
        width: 140px;
        top: 25px;
    }
    #top .b1c.no2 img,
    #top .b1c.no3 img{
        width: 100px;
        top: 35px;
    }
    #top .b1c.last img{
        width: 80px;
        top: 45px;
    }
    #top .b1c a{
        -moz-border-radius: 0.25in;
        -webkit-border-radius: 0.25in;
        border-radius: 0.25in;
    }
}

#top .b1c.last{
    margin-right: 0 !important;
}

#top .b1c.bg_b a{
    background-color: #ebf4fc;
}

#top .b1c.bg_g a{
    background-color: #f2f8f7;
}

#top .b1c::before{
content: " ";
display: block;
bottom: 18px;
left: 0;
right: 0;
margin: 0 auto;
width: 28px;
height: 29px;
position: absolute;
z-index: 10;
-webkit-transition: .3s;
transition: .3s;
}

#top .b1c:hover:before{
    bottom: 5px;
}

#top .b1c.bg_b::before{
    background: url(img/arrow_b.png) no-repeat 0 0 / 100% auto;
}
#top .b1c.bg_g::before{
    background: url(img/arrow_g.png) no-repeat 0 0 / 100% auto;
}

@media (max-width: 479px) {
    #top .b1c::before{
        bottom: 18px;
        width: 18px;
        height: 19px;
        }
}

#top #block1_read{
    width: 90%;
    max-width: 1050px;
    margin: 45px auto 0;
    font-size: 110%;
    line-height: 1.8;
}

@media (max-width: 959px) {
    #top #block1_read{
        margin: 35px auto 55px;
        font-size: 90%;
    }
}

#top #block2_title{
    line-height: 1;
    text-align: center;
    padding-bottom: 55px;
    padding-top: 115px;
}

#top #block2_title strong{
    display: block;
    font-size: 220%;
font-weight: 400;
    margin-bottom: 15px;
    font-weight: 100;
}

#top #block2_title span{
    display: block;
    font-size: 110%;
    letter-spacing: .05em;
}



@media (max-width: 759px) {
    #top #block2_title{
        padding-top: 65px;
        font-size: 80%;
    }
}

@media (max-width: 479px) {
    #top #block2_title{
        font-size: 60%;
    }
}

#top .block2_in{
    width: 90%;
    max-width: 1100px;
    margin: 0 auto 50px;
}

#top .block2_in figure{
    width: 37.3%;
    float: left;
}

#top .block2_content{
    width: 62.7%;
    float: left;
    padding-left: 7%;
}

#top .block2_content h3{
    font-size: 140%;
    line-height: 1;
    padding-top: 50px;
    padding-bottom: 30px;
}

#top .block2_content p{
    font-size: 96%;
    line-height: 1.8;
}

#top .block2_content li{
    text-align: right;
    margin-top: 20px;
}

#top .block2_content li a{
    display: inline-block;
    padding-right: 72px;
    padding-top: 35px;
    position: relative;
    color: #005178;
    text-decoration: none;
    font-weight: 600;
}

#top .block2_content li a span{
    display: inline-block;
    position: relative;
    z-index: 100;
}

#top .block2_content li a::before{
    content: " ";
display: block;
top: 40px;
right: 40px;
width: 0;
height: 0;
position: absolute;
z-index: 10;
border: 4px solid #228df2;
-moz-border-radius:50%;
-webkit-border-radius: 50%;
border-radius: 50%;
}

#top .block2_content li a:hover::before{
    right: -4px;
    -webkit-transition: .3s;
    transition: .3s;
    
}

#top .block2_content li a::after{
    content: " ";
    display: block;
    top: 0;
    right: 0;
    width: 0;
    height: 0;
    position: absolute;
    z-index: 1;
    border: 45px solid #f2f8f7;
    -moz-border-radius:50%;
    -webkit-border-radius: 50%;
    border-radius: 50%; 
}

#top .block2_content li a:hover::after{
    border: 1px solid #f2f8f7;
    width: 90px;
    height: 90px;
    -webkit-transition: .3s;
transition: .3s;
}

@media (max-width: 959px) {
    #top .block2_content h3{
        padding-top: 0;
        padding-bottom: 20px;
    }
    #top .block2_content li{
        font-size: 90%;
    }
}

@media (max-width: 759px) {
    #top .block2_in{
        max-width: 410px;
        margin: 0 auto 80px;
    }
    #top .block2_in figure{
        width: 100%;
        float: none;
        padding-bottom: 35px;
    }
    
    #top .block2_content{
        width: 100%;
        float: none;
        padding-left: 0;
    }
}

@media (max-width: 479px) {
    #top .block2_content h3{
        font-size: 100%;
    }
    #top .block2_content p{
        font-size: 85%;
    }
    #top #top .block2_content li{
        font-size: 80%;
    }
}


#top #block3{
    padding-top: 70px;
}


@media (max-width: 479px) {
    #top #block3{
        padding-top: 0;
    }
}

#top #block4_container{
    width: 100%;
    background-color: #f2f8f7;
    padding-top: 120px;
    padding-bottom: 120px;
}

#top .block4{
width: 100%;
max-width: 1920px;
margin: 80px auto 40px;
position: relative;
min-height: 758px;
padding-top: 45px;
}

#top .block4:last-child{
    margin: 80px auto 0;
}

#top .block4 figure{
    display: block;
    width: 35.6%;
    height: 758px;
    position: absolute;
    left: 0;
    top: 0;
    overflow: hidden;
}
#top .block4.no2 figure{
    left: auto;
    right: 0;
}

#top .block4.no1 figure,
#top .block4.no3 figure{
    -moz-border-radius: 0 1.99in 1.99in 0;
-webkit-border-radius: 0 1.99in 1.99in 0;
border-radius: 0 1.99in 1.99in 0;
}

#top .block4.no2 figure{
    -moz-border-radius: 1.99in 0 0 1.99in;
-webkit-border-radius: 1.99in 0 0 1.99in;
border-radius: 1.99in 0 0 1.99in;
}

@media (max-width: 1600px) {
    #top .block4 figure{
        width: 30%;
    }
}

@media (max-width: 1280px) {
    #top .block4 figure{
        width: 25%;
    }
}

@media (max-width: 959px) {
    
    #top .block4{
    min-height: auto;
    margin: 0 auto !important;
}
#top .block4 figure{
        width: 94%;
        height: 250px;
        position: relative;
        margin: 0 auto 45px;
        left: auto;
        right: auto;
        top: auto;
        bottom: auto;
        -moz-border-radius: 0.5in !important;
        -webkit-border-radius: 0.5in !important;
        border-radius: 0.5in !important;
    }
}

#top .block4_content{
    width: 90%;
    max-width: 1100px;
    margin: 0 auto 50px;
    padding-left: 25%;
}
#top .block4.no2 .block4_content{
    padding-left: 0;
    padding-right: 25%;
}
@media (max-width: 959px) {
    #top .block4_content{
        padding-left: 0;
        margin: 0 auto;
    }
    #top .block4.no2 .block4_content{
        padding-right: 0;
    }
}



#top .block4_top{
    position: relative;
    width: 100%;
    padding-bottom: 50px;
}

#top .block4_top h2 span{
    display: block;
    font-size: 220%;
    font-weight: 400;
    padding-top: 10px;
    padding-bottom: 15px;
}

#top .block4_top h2 strong{
    display: block;
    font-size: 110%;
}
@media (max-width: 759px) {
    #top .block4_top h2 span{
        font-size: 170%;
    }
    #top .block4_top h2 strong{
        font-size: 90%;
    }
}


@media (max-width: 479px) {
    #top .block4_top h2 span{
        font-size: 120%;
    }
}

#top .block4_top ul a{
    position: absolute;
    top: 0;
    right: 0;
    padding-right: 72px;
    text-align: right;
    color: #005178;
    text-decoration: none;
    font-weight: 600;
    padding-top: 30px;
    padding-bottom: 30px;
}

@media (max-width: 759px) {
    #top .block4_top ul a{
        font-size: 90%;
    }
}

@media (max-width: 599px) {
    #top .block4_top ul{
        text-align: right;
        padding-top: 25px;
        padding-bottom: 25px;
    }
    #top .block4_top ul a{
        position: relative;
        top: 0;
        right: 0;
    }
}

#top .block4_top ul li a span{
    display: inline-block;
    position: relative;
    z-index: 100;
    padding-top: 5px;
}

#top .block4_top ul li a::before{
    content: " ";
display: block;
top: 40px;
right: 40px;
width: 0;
height: 0;
position: absolute;
z-index: 10;
border: 4px solid #228df2;
-moz-border-radius:50%;
-webkit-border-radius: 50%;
border-radius: 50%;
}

#top .block4_top ul li a:hover::before{
    right: -4px;
    -webkit-transition: .3s;
    transition: .3s;
    
}

#top .block4_top ul li a::after{
    content: " ";
    display: block;
    top: 0;
    right: 0;
    width: 0;
    height: 0;
    position: absolute;
    z-index: 1;
    border: 45px solid #fff;
    -moz-border-radius:50%;
    -webkit-border-radius: 50%;
    border-radius: 50%; 
}

#top .block4_top ul li a:hover::after{
    border: 1px solid #fff;
    width: 90px;
    height: 90px;
    -webkit-transition: .3s;
transition: .3s;
}

#top .block4_top p{
    padding-top: 45px;
}

@media (max-width: 680px) {
    #top .block4_top p{
        font-size: 90%;
        line-height: 1.8;
    }
}

#top .block4_ico li{
    width: 31.6%;
    float: left;
    background-color: #fff;
    -moz-border-radius: 0.33in;
-webkit-border-radius: 0.33in;
border-radius: 0.33in;
margin-right: 2.5%;
margin-bottom: 18px;
font-size: 90%;
line-height: 1.6;
text-align: center;
font-weight: 600;
}

#top .block4_ico li:nth-child(3n){
    margin-right: 0;
}


@media (max-width: 599px) {
    #top .block4_ico li{
        width: 49%;
        margin-right: 2%;
        font-size: 80%;
    }
    
    #top .block4_ico li:nth-child(3n){
        margin-right: 2%;
    }
    #top .block4_ico li:nth-child(2n){
        margin-right: 0;
    }
}

#top .block4_ico li span{
    display: block;
    padding-top: 130px;
    padding-bottom: 35px;
}


#top .block4.no1 .block4_ico li:nth-child(1) span{
    background: url(img/top/ico_block4_2.png) no-repeat top 58px center / 115px auto;
}

#top .block4.no1 .block4_ico li:nth-child(2) span{
    background: url(img/top/ico_block4_3.png) no-repeat top 50px center / 135px auto;
}

#top .block4.no1 .block4_ico li:nth-child(3) span{
    background: url(img/top/ico_block4_4.png) no-repeat top 50px center / 56px auto;
}

#top .block4.no1 .block4_ico li:nth-child(4) span{
    background: url(img/top/ico_block4_5.png) no-repeat top 48px center / 66px auto;
}

#top .block4.no1 .block4_ico li:nth-child(5) span{
    background: url(img/top/ico_block4_6.png) no-repeat top 50px center / 56px auto;
}

#top .block4.no2 .block4_ico li:nth-child(1) span{
    background: url(img/top/ico_block5_1.png) no-repeat top 58px center / 115px auto;
}

#top .block4.no2 .block4_ico li:nth-child(2) span{
    background: url(img/top/ico_block5_2.png) no-repeat top 30px center / 83px auto;
}

#top .block4.no2 .block4_ico li:nth-child(3) span{
    background: url(img/top/ico_block5_3.png) no-repeat top 50px center / 135px auto;
}

#top .block4.no2 .block4_ico li:nth-child(4) span{
    background: url(img/top/ico_block5_4.png) no-repeat top 55px center / 111px auto;
}

#top .block4.no2 .block4_ico li:nth-child(5) span{
    background: url(img/top/ico_block5_5.png) no-repeat top 48px center / 61px auto;
}

#top .block4.no3 .block4_ico li:nth-child(1) span{
    background: url(img/top/ico_block6_1.png) no-repeat top 58px center / 115px auto;
}

#top .block4.no3 .block4_ico li:nth-child(2) span{
    background: url(img/top/ico_block6_2.png) no-repeat top 48px center / 122px auto;
}

#top .block4.no3 .block4_ico li:nth-child(3) span{
    background: url(img/top/ico_block6_3.png) no-repeat top 30px center / 83px auto;
}

#top .block4.no3 .block4_ico li:nth-child(4) span{
    background: url(img/top/ico_block6_4.png) no-repeat top 50px center / 135px auto;
}

#top .block4.no3 .block4_ico li:nth-child(5) span{
    background: url(img/top/ico_block6_5.png) no-repeat top 30px center / 61px auto;
}

#top .block4.no3 .block4_ico li:nth-child(6) span{
    background: url(img/top/ico_block6_6.png) no-repeat top 40px center / 83px auto;
}


#block5_area{
    width: 50%;
    float: left;
    padding: 60px 0;
}

#block5_area_in{
    width: 86%;
    max-width: 800px;
    margin: 0 auto;
}

#block5_area_in figure{
    width: 50%;
    float: left;
    padding: 45px;
}

#block5_area_content{
    width: 50%;
    float: left;
}

#block5_area_content h2{
    text-align: center;
    padding-top: 70px;
}

#block5_area_content h2 strong{
    display: block;
    font-size: 180%;
    font-weight: 400;
    line-height: 1;
}

#block5_area_content h2 span{
    font-family: 'Josefin Sans', sans-serif;
    font-size: 200%;
    font-weight: 300;
    line-height: 1;
    display: block;
    color: #005178;
    letter-spacing: -0.05em;
    padding-top: 5px;
}

#block5_area_content h3{
    text-align: center;
    font-size: 130%;
    padding-top: 5px;
    padding-bottom: 50px;
}

#block5_area_content p{
    font-size: 90%;
    line-height: 2.1;
}


@media (max-width: 1640px) {
    #block5_area_content h2{
        padding-top: 30px;
    }
    #block5_area_content h3{
        padding-bottom: 30px;
        font-size: 110%;
    }
}

@media (max-width: 1280px) {
    #block5_area{
        width: 100%;
        float: none;
    }
}

@media (max-width: 759px) {
    #block5_area_content h2{
        padding-top: 0 !important;
    }
}


@media (max-width: 599px) {
    #block5_area_in figure{
        width: 60%;
        float: none;
        padding: 0;
        margin: 0 auto;
    }
    
    #block5_area_content{
        width: 100%;
        float: none;
    }
    #block5_area_content h2{
        padding-top: 35px !important;
    }
    #block5_area_content h2 strong{
        font-size: 140%;
    }
    
    #block5_area_content h2 span{
        font-size: 150%;
                padding-top: 5px;
    }
    
    #block5_area_content h3{
        font-size: 100%;
        padding-top: 5px;
        padding-bottom: 30px;
    }
}

#block5_contact{
    width: 50%;
    float: left;
    background: url(img/bg_g.jpg) no-repeat 0 0 / cover;
    position: relative;
    padding: 105px 0;
}

#block5_contact_in{
    background-color: #fff;
    width: 65%;
    margin: auto;
    padding-bottom: 85px;
}

#block5_contact_in h2{
    text-align: center;
    font-size: 130%;
    letter-spacing: .05em;
    font-weight: 400;
    padding-top: 85px;
}

#block5_tel{
    text-align: center;
    padding-top: 35px;
}

#block5_tel a{
    display: inline-block;
    padding-left: 40px;
    font-family: 'Josefin Sans', sans-serif;
    font-size: 260%;
    line-height: 1;
    letter-spacing: .05em;
    font-weight: 300;
    color: #005178;
    background: url(img/ico_phone.png) no-repeat 0 0 / 33px auto;
}

#block5_mail a span{
    display: inline-block;
    padding-left: 26px;
    background: url(img/ico_mail.png) no-repeat 0 0 / 15px auto;
    font-size: 90%;
}

#block5_mail a{
    display: block;
    text-align: center;
    width: 80%;
    max-width: 290px;
    margin: 15px auto 0;
    color: #000;
    padding: 23px 0;
    -moz-border-radius: 0.39in;
-webkit-border-radius: 0.39in;
border-radius: 0.39in;
border: 1px solid #4f87a2;
}

#block5_mail a:hover span{
    background: url(img/ico_mail.png) no-repeat 10px 0 / 15px auto;
    -webkit-transition: .3s;
transition: .3s;
}

#block5_mail a:hover{
    border: 1px solid #228df2;
    -webkit-transition: .3s;
    transition: .3s;
    box-shadow: 0 0 0 4px #A7D1FA;
}


@media (max-width: 1280px) {
    #block5_contact_in{
        background-color: #fff;
        width: 80%;
        margin: auto;
        padding-bottom: 45px;
    }
    #block5_contact_in h2{
        font-size: 110%;
        letter-spacing: .05em;
        padding-top: 45px;
    }
    
    #block5_contact{
        width: 100%;
        float: none;
        padding: 60px 0;
    }
    #block5_area_content h2{
        padding-top: 80px;
    }
    #block5_tel{
        padding-top: 25px;
    }
    
}

@media (max-width: 479px) {
    #block5_contact_in h2{
        font-size: 100%;
    }
    #block5_mail a{
        padding: 15px 0;
    }
    #block5_mail a span{
        padding-left: 20px;
        background: url(img/ico_mail.png) no-repeat 0 0 / 12px auto;
        font-size: 80%;
    }
    #block5_mail a:hover span{
        background: url(img/ico_mail.png) no-repeat 5px 0 / 12px auto;
    }
}


@media (max-width: 620px) {
    #block5_tel a{
        font-size: 160%;
        background: url(img/ico_phone.png) no-repeat 0 0 / 25px auto;
    }
}

#foot_copy{
    background-color: #f2f8f7;
    text-align: center;
    height: 120px;
    position: relative;
}

#foot_copy p{
    font-family: 'Josefin Sans', sans-serif;
    font-size: 90%;
    line-height: 1;
    padding-top: 55px;
    color: #005178;
}

#foot_copy ul{
    width: 120px;
    height: 120px;
    position: absolute;
    right: 0;
    top: 0;
}

#foot_copy ul a{
    display: block;
    width: 120px;
    height: 120px;
    position: relative;
    background-color: #e4f3f0;
}

#foot_copy ul a:hover{
    background-color: #fff;
    -webkit-transition: .3s;
transition: .3s;
}

#foot_copy ul a img{
    position: absolute;
    left: 0;
    top: 0;
    right: 0;
    bottom: 0;
    margin: auto;
}

#foot_copy ul a:hover img{
    top: -15px;
    -webkit-transition: .3s;
    transition: .3s;
}

@media (max-width: 599px) {
    #foot_copy{
        height: 80px;
    }
    
    #foot_copy p{
        font-size: 70%;
        padding-top: 35px;
    }
    
    #foot_copy ul{
        width: 80px;
        height: 80px;
    }
    
    #foot_copy ul a{
        width: 80px;
        height: 80px;
    }

}


@media (max-width: 479px) {
    #foot_copy p{
        text-align: left;
        padding-left: 25px;
    }
}

footer{
    background: url(img/bg_foot.jpg) no-repeat right bottom;
}

#footer_in{
    width: 90%;
    max-width: 1400px;
    margin: 0 auto;
    padding-top: 120px;
    padding-bottom: 340px;
}

#footer_about{
    width: 45%;
    float: left;
    padding-left: 220px;
    position: relative;
}

#footer_about h2{
    position: absolute;
    left: 0;
    top: 0;
}

#footer_about dt{
    font-weight: 600;
    display: block;
    padding-top: 5px;
    padding-bottom: 25px;
}

#footer_about dd{
    font-size: 86%;
    line-height: 1.6;
}

#footer_txtlink{
    width: 55%;
    float: right;
}

#footer_txtlink a{
    text-decoration: none;
    color: #000;
}

#footer_txtlink a:hover{
    text-decoration: underline;
}

#footer_txtlink1{
    width: 31%;
    float: left;
}

.footer_txtlink_in{
    float: left;
}

.footer_txtlink_in h3{
    padding-bottom: 25px;
}

.footer_txtlink_in.no1{
    width: 27%;
}

.footer_txtlink_in.no2{
    width: 26%;
}

#footer_txtlink1 a{
    font-weight: 600;
}

#footer_txtlink1 a,
.footer_txtlink_in li a{
    display: block;
    padding-left: 18px;
    position: relative;
    font-size: 90%;
}

#footer_txtlink1 li,
.footer_txtlink_in li{
    padding-bottom: 15px;
}

#footer_txtlink1 a::before,
.footer_txtlink_in li a::before{
    content: " ";
display: block;
top: 4px;
left: 0;
width: 7px;
height: 7px;
border-top: 2px solid #228df2;
border-right: 2px solid #228df2;
-webkit-transform: rotate(45deg);
transform: rotate(45deg);
position: absolute;
z-index: 10;
}

#footer_txtlink2{
    width: 16%;
    float: left;
    font-size: 90%;
}

#footer_txtlink2 a{
    display: inline-block;
    padding-left: 24px;
    background: url(img/ico_mail.png) no-repeat 0 0 / 14px auto;
    font-weight: 600;
}

@media (max-width: 1580px) {
    #footer_about{
        width: 100%;
        max-width: 530px;
        float: none;
        padding-left: 220px;
        margin: 65px auto 0;
    }
    
    #footer_txtlink{
        width: 100%;
        max-width: 800px;
        float: none;
        margin: 0 auto;
    }
    
    #footer_txtlink::after{
        content: ".";
        display: block;
        clear: both;
        height: 0;
        visibility: hidden;
    }
}

@media (max-width: 959px) {
    footer{
        background: url(img/bg_foot.jpg) no-repeat right bottom / 50% auto #fff;
        position: fixed;
        top: 70px;
        left: 0;
        width: 100%;
        height: calc(100% - 70px);
        z-index: 100;
        content: " ";
overflow-y: auto;
display: none;
    }
    #footer_in{
        width: 80%;
        max-width: 1400px;
        margin: 0 auto;
        padding-top: 40px;
        padding-bottom: 100px;
    }
    #footer_about{
        width: 100%;
        float: none;
        padding-left: 220px;
        position: relative;
    }
    
    #footer_about h2{
        position: absolute;
        left: 0;
        top: 0;
    }
    
    #footer_about dt{
        font-weight: 600;
        display: block;
        padding-top: 5px;
        padding-bottom: 25px;
    }
    
    #footer_about dd{
        font-size: 86%;
        line-height: 1.6;
    }
    
    #footer_txtlink{
        width: 100%;
        float: none;
    }
    #footer_txtlink::after{
        content: ".";
        display: block;
        clear: both;
        height: 0;
        visibility: hidden;
        }

        #footer_txtlink a{
    display: block;
    padding-left: 18px;
    padding-top: 18px;
    padding-bottom: 18px;
    position: relative;
    font-size: 90%;
    border-bottom: 1px solid #eee;
}

#footer_txtlink1 a::before,
.footer_txtlink_in li a::before{
top: 21px;
}

        #footer_txtlink1{
            width: 100%;
            float: left;
        }
        
        .footer_txtlink_in{
            float: left;
        }
        
        .footer_txtlink_in h3{
            padding-top: 25px;
            padding-bottom: 15px;
        }
        
        .footer_txtlink_in.no1{
            width: 50%;
        }
        
        .footer_txtlink_in.no2{
            width: 50%;
        }
        #footer_txtlink2{
            width: 100%;
            float: left;
            font-size: 100%;
            margin-top: 15px;
        }
        #footer_txtlink2 a{
            padding-left: 24px;
            background: url(img/ico_mail.png) no-repeat left top 18px / 14px auto;
            font-weight: 600;
        }
        #footer_about{
            margin-top: 65px;
        }
}

@media (max-width: 599px) {
    #footer_about{
        padding-left: 150px;
    }
    
    #footer_about h2{
        width: 110px;
    }
}


@media (max-width: 479px) {
    #footer_about h2{
        position: relative;
        margin: 0 auto 45px;
    }
    #footer_about{
        padding-left: 0;
    }
    .footer_txtlink_in{
        font-size: 80%;
    }
}

@media (max-width: 379px) {
    .footer_txtlink_in{
        font-size: 100%;
    }
    .footer_txtlink_in.no1{
        width: 100%;
    }
    
    .footer_txtlink_in.no2{
        width: 100%;
    }
}


/*

contents

*/

#main_c{
    width: 100%;
    max-width: 1920px;
    margin: 80px auto 0;
    height: 372px;
    position: relative;
    overflow: hidden;
}

#main_c h2{
    position: absolute;
    left: 0;
    right: 0;
    top: 50%;
    bottom: 0;
    margin: auto;
    width: 90%;
    max-width: 1100px;
    z-index: 3;
    margin-top: -45px;
}

#main_c figure img{
    display: block;
    position: absolute;
    left: 50%;
    top: 0;
    width: 1920px;
    max-width: none;
    height: 372px;
    z-index: 1;
    margin-left: -960px;
}

@media (max-width: 1280px) {
#main_c{
    height: 248px;
}

#main_c figure img{
    width: 1280px;
    height: 248px;
    margin-left: -640px;
}

#main_c h2{
    margin-top: -30px;
}

#main_c h2 img{
    height: 60px;
    width: auto;
}

}

@media (max-width: 959px) {
#main_c{
    height: 186px;
}

#main_c figure img{
    width: 959px;
    height: 186px;
    margin-left: -479px;
}

}

@media (max-width: 599px) {
#main_c{
    height: 116px;
}

#main_c figure img{
    width: 599px;
    height: 116px;
    margin-left: -300px;
}

#main_c h2{
    margin-top: -20px;
}

#main_c h2 img{
    height: 40px;
}

}

@media (max-width: 379px) {
#main_c h2{
    margin-top: -15px;
}

#main_c h2 img{
    height: 30px;
}
}

.title2{
    text-align: center;
    line-height: 1;
}

.title2 strong{
    font-size: 230%;
    font-weight: 500;
    padding-top: 130px;
    display: block;
}

.title2 span{
    font-family: 'Josefin Sans', sans-serif;
    display: block;
    font-size: 120%;
    letter-spacing: .05em;
    padding-top: 20px;
    font-weight: 400;
    color: #228df2;
}

.title2.colorg span{
    color: #1a8588;
}

@media (max-width: 959px) {
    .title2 strong{
        font-size: 200%;
        padding-top: 130px;
    }
}

@media (max-width: 759px) {
    .title2 strong{
        font-size: 180%;
    }
}

@media (max-width: 599px) {
    .title2 strong{
        font-size: 140%;
        padding-top: 100px;
    }
    .title2 span{
        font-size: 90%;
    }
}

@media (max-width: 400px) {
    .title2 strong{
        font-size: 120%;
    }
    .title2 span{
        font-size: 80%;
    }
}


.slide figure a{
    display: block;
    position: relative;
}

.slide figure a:hover img{
    transform: scale(1.1);
transition-duration: 0.3s;
}

.slide figure a::before{
    content: " ";
    display: block;
    position: absolute;
    width: 100%;
    height: 100%;
    background: url(img/ico_zoom.png) no-repeat center center / 46px auto rgba(0,0,0,0.6);
    z-index: 3;
}

.slide figure a:hover::before{
    opacity: 0;
    -webkit-transition: .3s;
transition: .3s;s
}