@charset "UTF-8";

/* スライドショー */
@keyframes slideshow{
    0%{opacity: 0;}
    1.5%{opacity: 1; z-index: 1;}
    25%{opacity: 1;}
    27%{opacity: 1;}
    28.5%{opacity: 0; z-index: 0;}
}
/* レスポンシブ対応 */
@media(min-width:570px) and (max-width:767px){
    .wrapper{
        width: auto;
        margin: 0 8px;
    }
    .header{
        width: auto;
        height: 150px;
        padding: 0;
    }
    .header-logo img{
        margin: 10px;
    }
}

html{
    font-family: Georgia, serif;
    box-sizing: border-box;
}
body{
    margin: 0 auto;
    width: 100%;
    min-width: 767px;
    max-width: 960px;
}
.wrapper{
    overflow: hidden;
}
img{
    display: block;
    max-width: 100%;
    height: auto;
}
.header{
    display: flex;
    height: 150px;
    padding: 25px 0;
}
.header-logo{
    flex-shrink: 0;
}
.header-logo img{
    height: 90px;
    margin: 25px 0 0 30px;
}
.a-header{
    display: flex;
    width: 100%;
    margin: 10px;
}
.concept{
    width: 520px;
    /* iPadPro用 */
    flex: 1;
}
.bigConcept{
    color: #517D99;
    margin: 20px 20px 0 20px;
    text-align: center;
    font-size: 28px;
}
.work{
    color:#517D99;
    margin: 8px 0 0 0;
    text-align: center;
    font-weight: 500;
    font-size: 1.2em;
}
.nav{
    margin-right: 15px;
    width: 130px;
    font-family: ui-rounded;
}
.nav ul{
    margin: 20px 15px 0 0;
    padding: 0;
}
.nav li{
    list-style: none;
    flex: 1;
    text-align: right;
    font-size: 17px;
}
.nav p{
    margin: 0;
}
.btn-simple{
    position: relative;
    display: inline-block;
    font-weight: bold;
    padding: 0.25em 0.5em;
    text-decoration: none;
    color: #508c97;
    transition: .4s;
}
.btn-simple:hover{
    background: #508c97;
    color: white;
}

/* スライドショー */
.slideshow{
    position: relative;
    width: 800px;
    height: 500px;
    margin: 0 auto 60px auto;
}
.slideshow img{
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    width: 100%;
    height: 510px;
    opacity: 0;
    animation: slideshow 18s linear infinite;
}
.slideshow img:nth-child(2){
    animation-delay: 4.5s;
}
.slideshow img:nth-child(3){
    animation-delay: 9s;
}
.slideshow img:last-child{
    animation-delay: 13.5s;
}
/* あいさつ */
#char{
	font-size: 30px;
    font-weight: 700;
    padding-top: 20px;
	border-bottom: solid 3px #508c97;
}
.greeting{
	font-size: 20px;
    text-align: center;
    line-height: 2em;
    padding: 40px 0;
    background: rgb(247, 247, 247);
}
.description{
    margin-top: 45px;
}
.name{
	font-size:22px;
    padding: 20px;
}

/* 施工写真スライド */
.slide_section{
    text-align: center;
    font-family: ui-serif;
    font-size: 30px;
    color: #517D99;
    margin-top: 50px;
    border-bottom: 2px dotted #517D99;
}
.slide{
    margin: 0 auto;
    border-bottom: 1px solid #517D99;
    background-color: #517D99;
}
.toolbar{
    overflow: hidden;
    text-align: center;
}
.way{
    display: flex;
    justify-content: center;
    align-items: center;
}
#prev{
    margin-right: 0.5rem;
    width: 30px;
    height: 30px;
    background-repeat: no-repeat;
}
#next{
    margin-left: 0.5rem;
    width: 30px;
    height: 30px;
    background-repeat: no-repeat;
}
#page{
    color: white;
    font-family: ui-serif;
}
#prev, #next:hover{
    cursor: pointer;
}

/* フッター */
.footer{
    background-color:  rgb(247, 247, 247);
    font-family: sans-serif;
    text-align: center;
}
.footer-nav a{
    text-decoration: none;
}
.footer-nav a:hover{
    color:rgb(75, 199, 199)
}
#info{
    margin: 0;
    padding: 40px;
}
.logo {
    text-align: center;
    margin: 0;
    padding: 20px 0 30px 0;
}
.logo img{
    display: inline;
    width: 100px;
    height: 100px;
}
dd{
    margin: 0;
    line-height: 1.6;
}
.rights{
    padding: 20px 0;
}