/* 動画
================================================== */
/* ローディング画面 */
#loading {
    width: 100vw;
    height: 100vh;
    transition: all 0.5s;
    background: #022098;
    position: fixed;
    top: 0;
    left: 0;
    z-index: 9999;
}
.spinner {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    -webkit-transform: translate(-50%, -50%);
    -ms-transform: translate(-50%, -50%);
}
.spinner > div {
    width: 8px;
    height: 8px;
    margin-left: 10px;
    margin-right: 10px;
    background-color: #fff;
    border-radius: 100%;
    display: inline-block;
    -webkit-animation: sk-bouncedelay 1.4s infinite ease-in-out both;
    animation: sk-bouncedelay 1.4s infinite ease-in-out both;
}
.spinner .bounce1 {
    -webkit-animation-delay: -0.32s;
    animation-delay: -0.32s;
}
.spinner .bounce2 {
    -webkit-animation-delay: -0.16s;
    animation-delay: -0.16s;
}
@-webkit-keyframes sk-bouncedelay {
    0%, 80%, 100% { -webkit-transform: scale(0.5) }
    40% { -webkit-transform: scale(1.0) }
}
@keyframes sk-bouncedelay {
    0%, 80%, 100% {
        opacity: 0;
        -webkit-transform: scale(0.5);
        transform: scale(0.5);
    } 40% {
        opacity: 1;
        -webkit-transform: scale(1.0);
        transform: scale(1.0);
    }
}
.spinner .text {
    margin-left: 8px;
    margin-top: 20px;
    font-family: 'bebas';
    color: #fff;
    font-size: 10px;
    letter-spacing: 0.7em;
    text-align: center;
}
.loaded {
    opacity: 0;
    visibility: hidden;
}

/* スライダー */
.slider_wrap {
    padding-top: 126px;
    position: relative;
}
.sp-layer img {
    width: 3000px !important;
}
.layer {
    position: absolute;
    top: 126px;
    left: 0;
    width: 100%;
}
.layer img {
    width: 100%;
}

.slide_zoom_on img {
    animation: zoomUp 9s 0s both ease-out;
}
 @keyframes zoomUp {
    0% {
        transform: scale(1.1);
    }
    80% {
        transform: scale(1);
    }
    100% {
        transform: scale(1);
    }
}
@media only screen and (max-width: 767px) {
    .slider_wrap {
        padding-top: 0;
        overflow-x: hidden;
    }
    .layer {
        position: absolute;
        top: 100px;
        left: 0;
        width: 100%;
    }
    .layer img {
        scale: 1.5;
    }
}

.green_line {
    height: 20px;
    background: linear-gradient(-45deg, #fff 0%, #fff 70%, #09970d 70%, #09970d 100%);
}
@media only screen and (max-width: 767px) {
    .green_line {
        height: 10px;
        margin-bottom: 30px;
    }
}





/* メイン
================================================== */
#tp_main_bg {
    margin-top: -20px;
    padding: 100px 0 200px 0;
    background: linear-gradient(90deg, transparent 0%, transparent 55%, #f0f0f0 55%, #f0f0f0 100%);
}
#tp_main_bg h1 {
    margin-bottom: 20px;
    color: #022098;
    font-size: 34px;
    font-weight: bold;
    line-height: 1.3em;
}
@media only screen and (max-width: 767px) {
    #tp_main_bg {
        margin-top: -40px;
        padding: 30px 0;
    }
    #tp_mv_scroll {
        padding-top: 0;
        margin-top: 0;
    }
    #tp_main_bg .en_copy {
        font-size: 10px;
        letter-spacing: 0;
        margin-bottom: 10px;
        text-align: center;
    }
    #tp_main_bg .en {
        font-size: 60px;
        text-align: center;
    }
    #tp_main_bg h1 {
        margin-top: 10px;
        font-size: 22px;
        text-align: center;
        margin-bottom: 10px;
    }
}





/* 事業内容
================================================== */
#tp_business_bg {
    margin-top: -100px;
    padding: 120px 0;
    background:
    url(../img/tp_business_bg.jpg) -50px center no-repeat;
    background-size: cover;
}
#tp_business_bg .circle {
    text-align: right;
}
#tp_business_bg .en {
    font-family: bebas;
    font-size: 76px;
    color: #fff;
    text-align: right;
}
#tp_business_bg h2 {
    color: #fff;
    font-size: 40px;
    font-weight: bold;
    text-align: right;
}
#tp_business_bg .text {
    margin-top: 30px;
    color: #fff;
    text-align: right;
}
@media only screen and (max-width: 767px) {
    #tp_business_bg {
        margin-top: 0;
        padding: 50px 0;
        background: url(../img/tp_business_bg.jpg) center center no-repeat;
        background-size: cover;
    }
    #tp_business_bg .circle {
        text-align: center;
    }
    #tp_business_bg .en {
        font-size: 40px;
        text-align: center;
    }
    #tp_business_bg h2 {
        font-size: 26px;
        text-align: center;
    }
    #tp_business_bg .text {
        margin-top: 20px;
        text-align: left;
        text-shadow:
        -1px -1px 5px #000,0px -1px 5px #000,0px 1px 5px #000,1px 0px 5px #000,-2px -2px 5px #000,0px -2px 5px #000,
        0px 2px 5px #000,2px 0px 5px #000,-3px -3px 5px #000,0px -3px 5px #000,0px 3px 5px #000,3px 0px 5px #000;
    }
}




/* 施工事例
================================================== */
#tp_works_bg {
    margin: 50px 0;
    padding: 50px 0;
    background: linear-gradient(90deg, #fff 0%, #fff 30%, #f0f0f0 30%, #f0f0f0 100%);
}
#tp_works_bg h2 {
    font-size: 40px;
    font-weight: bold;
}
#tp_works_bg h2 small {
    margin-left: 30px;
    font-size: 16px;
    font-weight: normal;
    vertical-align: middle;
}
@media only screen and (max-width: 767px) {
    #tp_works_bg {
        padding: 30px 0;
    }
    #tp_works_bg h2 {
        font-size: 24px;
        text-align: center;
    }
    #tp_works_bg h2 small {
        margin-left: 0;
        font-size: 13px;
        line-height: 1.3em;
    }
}

.tp_works {
    margin-right: calc(50% - 50vw);
    overflow: hidden;
}
.tp_works_wrap {
  margin-left: auto;
  margin-right: auto;
}
.swiper {
  overflow: visible;
  padding-right: 40px !important;
}
.tp_works .text {
    margin-top: 10px;
    font-size: 16px;
    font-weight: bold;
    letter-spacing: 0;
    line-height: 1.3em;
}
.tp_works .text small {
    font-size: 13px;
    font-weight: normal;
    line-height: 1.2em;
}
.swiper_btn_wrap {
    display: flex;
}
.swiper-button-prev,
.swiper-button-next {
    position: static !important;
    margin-top: 0 !important;
    display: block !important;
}
.swiper-button-prev:hover,
.swiper-button-next:hover {
    opacity: 0.8 !important;
}
.swiper-button-prev {
    margin-right: 20px;
}
.swiper-button-prev.swiper-button-disabled,
.swiper-button-next.swiper-button-disabled {
    opacity: 0.2 !important;
}
.swiper-slide-item {
    position: relative;
}
.swiper-slide-item .text {
    position: absolute;
    left: 10px;
    bottom: 10px;
    color: #333;
    text-shadow:
    -1px -1px 5px #fff,0px -1px 5px #fff,0px 1px 5px #fff,1px 0px 5px #fff,-2px -2px 5px #fff,0px -2px 5px #fff,
    0px 2px 5px #fff,2px 0px 5px #fff,-3px -3px 5px #fff,0px -3px 5px #fff,0px 3px 5px #fff,3px 0px 5px #fff;
}
@media only screen and (max-width: 767px) {
    .tp_works_wrap {
      margin-left: auto;
      margin-right: auto;
    }
    .swiper {
      overflow: visible;
      padding-right: 40px !important;
    }
    .swiper img {
        border-radius: 10px;
    }
    .tp_works .text {
        margin-top: 10px;
        font-size: 16px;
        line-height: 1.3em;
    }
    .tp_works .text small {
        font-size: 13px;
    }
    .swiper_btn_wrap {
        display: none;
    }
}





/* お知らせ
================================================== */
#tp_news_bg {
    padding: 80px 0;
    background: #f0f0f0;
}
#tp_news_bg h2 {
    font-size: 40px;
    font-weight: bold;
    text-align: center;
    margin-bottom: 50px;
}
.tp_news_list a {
    display: block;
    padding: 20px 50px;
    background: #fff;
    margin-bottom: 3px;
    color: #333;
    font-weight: bold;
}
@media only screen and (max-width: 767px) {
    #tp_news_bg {
        padding: 50px 0;
    }
    #tp_news_bg h2 {
        font-size: 24px;
        margin-bottom: 20px;
    }
    .tp_news_list a {
        display: block;
        padding: 10px 10px;
    }
}

