@charset "UTF-8";

body {
    background-color: #ebebeb;
}

/*トップイメージ*/
#top-image {
    width: 100%;
    height: 100vh;
    background-image: url(../../images/Top-Image_small.JPG);
    background-size: cover;
    background-position: center center;
    position: relative;
    overflow: hidden;
}

#catch-copy {
    position: absolute;
    top: 20%;
    left: 5%;
}

#copy-name-size {
    width: 80%;
}

#new-kengakukai {
    width: 130px;
    position: absolute;
    right: 25px;
    bottom: 25px;
}

#nk-item01 {
    display: none;
}

#nk-item1-2 {
    width: 100%;
}

#nk-item02 {
    width: 30%;
}

.nk-size {
    width: 100%;
}


/*お知らせ*/
#news {
    width: 100vw;
    background-color: #505050;
}

#news-container {
    width: 90vw;
    height: 150px;
    display: flex;
    flex-direction: column;
    margin: 0 auto;
}

.news-item {
    width: 100%;
}

.news-item h1 {
    color: #fff;
    font-family: serif;
    margin: 0 auto;
    text-align: center;
    padding-top: 20px;
    font-size: 1.3em
}

.news-item dl {
    width: 100%;
    color: #fff;
    line-height: 2em;
    font-size: 0.65em;
    margin: 15px auto;
}

.news-item dl dt {
    float: left;
    padding-right: 16px
}

.news-item dl a {
    color: #fff;
    text-decoration: underline;
}

#news-btn {
    display: block;
    text-align: center;
    padding-bottom: 20px;
}

#news-btn img {
    width: 40%;
}

/*コンセプト*/


#concept {
    width: 90vw;
    text-align: center;
    margin: 40px auto;

}

#concept h1 {
    font-family: serif;
    font-weight: bold;
    font-size: 1.4em;
    letter-spacing: 0.2em;
}

#concept p {
    font-family: sans-serif;
    font-size: 0.8em;
    line-height: 1.6;
    margin: 20px 0;
}

#concept img {
    width: 40%;
}

.concept-container {
    width: 100vw;
    margin-bottom: 40px;
}

.s-container {
    margin-bottom: 10vw;
}

.concept-item img {
    width: 100%;
}

/*実績紹介*/
#zisseki {
    padding-bottom: 60px;
    width: 90vw;
    margin: 0 auto;
    margin-top: 2vw;
    border-top: solid 1px;
    padding-top: 20px
}

#zisseki h1 {
    text-align: center;
    margin: 0 auto;
    border-bottom: solid 1px;
    padding-bottom: 5px;
    width: 100px;
    font-weight: bold;
    font-family: sans-serif;
    font-size: 1.4em;
}

#zisseki-btn {
    display: block;
    text-align: center;
    margin-top: 10px;
}

#zisseki-btn img {
    width: 40%;
}

.zisseki-container {
    width: 90vw;
    margin: 40px auto 0 auto;
}

.zisseki-item {
    display: block;
    text-align: center;
    width: 100%;
    margin-bottom: 15px;

}

.zisseki-item img {
    width: 100%;
}

.zisseki-item:last-child {
    display: none;
}

/*お問い合わせ*/
#contact {
    border-top: solid 1px #555;
    width: 90vw;
    margin: 0 auto 40px auto;
}

.contact-container {
    width: 90vw;
    margin: 20px auto;
    display: flex;
    flex-direction: column;
}

.contact-item {
    width: 100%;
    margin-top: 20px;
}

#contact-text {
    font-family: sans-serif;
    font-size: 0.7em
}

#contact-tel {
    font-size: 0.75em;
    font-weight: bold;
    text-align: center;
    margin: 0;
}

#contact-btn {
    display: block;
    text-align: center;
}

#contact-btn img {
    width: 60%;
}

#contact-time {
    font-size: 0.7em;
    font-weight: bold;
    text-align: center;
    margin: 5px 0;
}

footer {
    width: 100vw;
    height: 400px;
    background-color: #505050;
}

/*ボックススライド*/
.box {
    width: 100%;
    height: 100%;
    margin: 0 0 2% 0;
    overflow: hidden;
}

.box .boxInner {
    width: inherit;
    height: inherit;
    line-height: 100%;
    font-size: 1.5em;
    text-align: center;
    color: #555;
    background-color: #ebebeb;
    opacity: 0;
}

.isPlay {
    animation-name: play;
    animation-duration: .5s;
    animation-fill-mode: forwards;
    animation-timing-function: cubic-bezier(.8, 0, .5, 1);
    position: relative;
    opacity: 1 !important;
}

.isPlay:before {
    animation-name: maskOut;
    animation-duration: .5s;
    animation-delay: .5s;
    animation-fill-mode: forwards;
    animation-timing-function: cubic-bezier(.8, 0, .5, 1);
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    z-index: 1;
    width: 100%;
    height: 100%;
    background-image: linear-gradient(109.6deg, rgba(17, 17, 17, 1) 11.2%, rgba(17, 17, 17, 1) 91.1%);
}

@keyframes play {
    from {
        transform: translateX(-100%);
    }

    to {
        transform: translateX(0);
    }
}

@keyframes maskOut {
    from {
        transform: translateX(0);
    }

    to {
        transform: translateX(101%);
    }
}