@charset "UTF-8";

/* ----------------------------------------
Top トップページ
------------------------------------------*/
/* top共通 */
.top_ttl1 {
    font-size: 7rem;
    letter-spacing: .4rem;
    position: relative;
    font-weight: 400;
    background-image: linear-gradient(70deg,rgb(211, 209, 209, 0.3)  45%, #fff 50%,rgb(211, 209, 209, 0.3) 55% );
    background-size: 300% 100%;
    background-clip: text;
    -webkit-background-clip: text;
    color: transparent;
    animation: shine 4.5s infinite;
    display: inline-block;
}
@keyframes shine {
    0% {
        background-position: 100% 50%;
    }
    100% {
        background-position: 0% 50%;
    }
}
/* .top_ttl1::first-letter {
    font-size: 6rem;
    color: #6B5251;
} */
.bc {
    position: relative;
}
.bc::before {
    position: absolute;
    content: "";
    background: #333;
    width: 1px;
    height: 100%;
    top: 0;
    left: 50%;
    transform: translateX(-50%);
    z-index: -1;
}

/* top_view_sec */
.top_view_contents {
    position: relative;
    border-bottom: 1px solid #333;
}
.top_view_catch {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
}
.top_view_catch_main {
    font-size: 7.5rem;
    line-height: 1.4;
}
.top_view_catch_sub {
    font-size: 2rem;
    text-align: center;
}

/* top_youtube_sec */
.top_youtube_sec {
    border-bottom: 1px solid #333;
}

/* top_products_sec */
.top_products_sec .section_head {
    margin-bottom: 0;
}
.top_products_sec::before {
    position: absolute;
    content: "";
    top: 0;
    left: 0;
    background: url(../images/top/product_bg.jpg) no-repeat center / contain;
    width: 100%;
    height: 100%;
    z-index: -1;
}
.section.products_sec {
    padding: 0;
}
.products_wrap {
    position: relative;
    padding-right: 25rem;
    width: 65%;
}
.products_contents {
    display: flex;
    flex-wrap: wrap;
    justify-content: space-between;
}
.products_item {
    margin: 0 10px 20px 0;
    width: calc(100% / 3 - 10px);
}
.products_item:nth-child(3n) {
    margin-right: 0;
}
.products_thumbnail_wrap {
    margin-bottom: 10px;
}
.products_ttl {
    text-align: center;
}
.products_wrap .btn_wrap {
    position: absolute;
    right: 0;
    bottom: 50px;
}

/* top_media_sec */
.top_media_contents .media_img_wrap div {
    position: relative;
}
.top_media_contents .media_img_wrap div::before {
    position: absolute;
    content: "";
    /* background: #261F1E; */
    background: #191919;
    width: 100%;
    height: 100%;
    z-index: -1;
    top: 20px;
}
.top_media_contents:nth-child(1) .media_img_wrap div::before {
    right: -20px;
}
.top_media_contents:nth-child(2) .media_img_wrap div::before {
    left: -20px;
}
.top_media_contents:nth-child(1) {
    margin-bottom: 100px;
}
.top_media_contents .media_img_wrap {
    width: 50%;
}
.top_media_contents .media_content_wrap {
    width: 50%;
    padding: 10rem;
    border-top: 1px solid #333;
    border-bottom: 1px solid #333;
}
.top_media_contents .media_content_ttl {
    font-size: 4.5rem;
    letter-spacing: .4rem;
}
.top_media_contents .media_content_ttl::first-letter {
    font-size: 6rem;
    color: #6B5251;
}

/* top_news_sec */
.top_news_sec .top_ttl1 {
    padding-left: 18rem;
}
.top_news_sec .top_ttl1::before {
    position: absolute;
    content: "";
    top: 50%;
    left: 0;
    transform: translateY(-50%);
    width: 150px;
    height: 1px;
    background: #333;
}
.top_news_sec {
    border-top: 1px solid #333;
    background: #111110;
}
.top_news_sec .news_contents {
    width: 90%;
    margin: auto;
    padding: 2rem 4rem;
}

@media (max-width: 1024px) {
    .products_wrap {
        width: 75%;
    }
}
@media (max-width: 820px) {
    .top_view_catch_main {
        font-size: 4.5rem;
    }
    .youtube_res_wrap iframe {
        height: 350px;
    }
    .products_wrap {
        padding-right: 0;
        width: 100%;
    }
    .section.top_products_sec {
        padding: 6rem 0 20rem;
    }
    .top_products_sec::before {
        top: 450px;
        background: url(../images/top/product_bg.jpg) no-repeat center / contain;
    }
    .top_media_contents:nth-child(1) .media {
        flex-direction: column-reverse;
    }
    .top_media_contents .media_img_wrap {
        width: 95%;
    }
    .top_media_contents .media_content_wrap {
        width: 100%;
        padding: 4rem;
        border-top: 0;
        border-bottom: 0;
    }
    .bc::before {
        display: none;
    }
    .top_media_contents:nth-child(2) .media_content_head {
        text-align: right;
    }
    .products_wrap .btn_wrap {
        right: unset;
        left: 0;
        bottom: -50px;
    }
    .top_news_sec .news_contents {
        width: 100%;
        padding: 0;
    }
}
@media (max-width: 768px) {
}
@media (max-width: 767px) {
    .top_view_contents video {
        height: 50vh;
        object-fit: cover;
    }
    .top_view_catch_main {
        font-size: 2.4rem;
    }
    .top_view_catch_sub {
        font-size: 1.6rem;
    }
    .top_ttl1 {
        font-size: 3.5rem;
    }
    .products_item {
        width: calc(100% / 2 - 10px);
    }
    .products_item:nth-child(2n) {
        margin-right: 0;
    }
    .top_media_contents .media_img_wrap {
        width: 90%;
    }
    .top_media_contents .media_content_wrap {
        padding: 0 2rem;
    }
}

/* ----------------------------------------
Page 下層ページ
------------------------------------------*/
/* 下層ページ共通 */
.xb {
    position: relative;
}
.xb::before {
    position: absolute;
    content: "";
    background: #333;
}
.xb::before {
    width: 100%;
    height: 1px;
    top: 70px;
    left: 0;
}
.xb .innerS {
    border-left: 1px solid #333;
}
.xb .innerS > .section {
    padding: 10rem 2rem;
}

@media (max-width: 767px) {
    .xb .innerS > .section {
        padding: 10rem 0;
    }
}

/* ----------------------------------------
Products 施工実績
------------------------------------------*/
.products_sec .products_wrap {
    padding-right: 0;
    width: 100%;
    position: relative;
}
.products_sec .products_wrap::before {
    position: absolute;
    content: "";
    top: 50%;
    left: 0;
    transform: translateY(-50%);
    width: 100%;
    height: 1px;
    background: #333;
}
.products_sec .products_item {
    padding: 4rem;
}
.products_sec .products_item:nth-child(n+4) {
    margin: 20px 10px 0 0;
}
.products_sec .products_item:last-child {
    margin: 20px 0 0 0;
}
.needle::before,
.needle::after {
    position: absolute;
    content: "";
    display: inline-block;
}
.products_sec .needle::before,
.products_sec .needle::after {
    top: 0;
    width: 1px;
    height: 100%;
    background: #333;
}
.products_sec .needle::before {
    left: 36.5%;
}
.products_sec .needle::after {
    right: 36.5%;
}
.tax-faq-taxonomy .pagination_sec,
.post-type-archive-products .pagination_sec {
    padding: 4rem 0;
    background: #111110;
    border-top: 1px solid #333;
    text-align: center;
}
.post-type-archive-products .page-numbers,
.tax-faq-taxonomy .page-numbers {
    border: 1px solid #333;
    padding: .5rem 1rem;
    margin-right: 10px;
}
.post-type-archive-products .page-numbers.current,
.tax-faq-taxonomy .page-numbers.current {
    background: #000;
}

@media (max-width: 1180px) {
    .products_sec .needle::before {
        left: 33.5%;
    }
    .products_sec .needle::after {
        right: 33.5%;
    }
}
@media (max-width: 1024px) {

}
@media (max-width: 820px) {
.products_detail_contents {
    padding: 4rem;
}
}
@media (max-width: 768px) {
    .products_sec .products_item {
        padding: 2rem;
    }
}
@media (max-width: 767px) {
    .products_detail_sec {
        padding-bottom: 0;
    }
    .products_detail_contents {
        padding: 4rem 4rem 0 4rem;
    }
    .products_sec .products_wrap::before {
        top: 0;
        left: 50%;
        transform: translateX(-50%);
        width: 1px;
        height: 100%;
    }
    .products_sec .needle::before, .products_sec .needle::after {
        top: unset;
        left: 0;
        width: 100%;
        height: 1px;
    }
    .products_sec .needle::before {
        top: 33%;
    }
    .products_sec .needle::after {
        bottom: 34%;
    }
    .products_sec .products_item {
        margin: 0;
    }
    .products_sec .products_item:nth-child(n+4) {
        margin: 0;
    }
    .products_sec .products_item:not(:nth-child(2n)) {
        margin-right: 10px;
    }
}

/* ----------------------------------------
service 工事内容
------------------------------------------*/
.service_catch_sec:nth-child(1) {
    padding: 8rem 0 0;
}
.service_catch_sec:nth-child(1) .service_catch_contents {
    width: 90%;
    margin-right: auto;
}
.service_catch_sec:nth-child(1) .service_catch_contents .media_img_wrap div:last-child {
    padding: 75px 0;
    position: relative;
    text-align: right;
    border-right: 1px solid #333;
}
.service_catch_sec:nth-child(1) .service_catch_contents .media_img_wrap div:last-child img {
    width: 65%;
}
.service_catch_sec:nth-child(1) .service_catch_contents .media_img_wrap div:last-child::before {
    position: absolute;
    content: "";
    background: #000;
    width: 200px;
    height: 100%;
    top: 0;
    left: 0;
    border-right: 1px solid #333;
}
.service_catch_sec:nth-child(1) .service_catch_contents .media_content_head {
    margin-bottom: 30px;
}
.service_catch_sec:nth-child(1) .service_catch_contents .content div:not(:last-child), .content p:not(:last-child) {
    margin-bottom: 30px;
}
.service_catch_sec:nth-child(2) {
    border-top: 1px solid #333;
    padding: 0;
}
.service_catch_sec:nth-child(2) .media_content_wrap {
    padding-top: 4rem;
}
.service_calc_sec {
    border-top: 1px solid #333;
    background: #111110;
}

@media (max-width: 1180px) {
    .service_catch_sec:nth-child(1) .service_catch_contents .media_img_wrap div:last-child::before {
        width: 100px;
    }
    .service_catch_sec:nth-child(1) .service_catch_contents .media_img_wrap div:last-child img {
        width: 100%;
    }
}
@media (max-width: 1024px) {
    .service_catch_sec:nth-child(1) .service_catch_contents {
        width: 98%;
        margin-bottom: 50px;
    }
    .service_catch_sec:nth-child(1) .service_catch_contents .media_img_wrap div:last-child {
        border-right: 0;
    }
    .service_catch_sec:nth-child(1) .service_catch_contents .media_img_wrap div:last-child::before {
        display: none;
    }
}
@media (max-width: 820px) {
    .service_catch_sec:nth-child(1) .service_catch_contents {
        width: 95%;
        margin: 0 auto 50px;
    }
    .service_catch_sec:nth-child(2) .media {
        flex-direction: column-reverse;
    }
}
@media (max-width: 768px) {

}
@media (max-width: 767px) {
    .service_catch_sec:nth-child(1) .service_catch_contents .media_img_wrap div:last-child {
        padding: 10px 0;
    }
    .service_catch_sec:nth-child(2) {
        border-top: 0;
    }
}

/* ----------------------------------------
flow 工事の流れ
------------------------------------------*/
.section.flow_step_sec {
    padding: 8rem 0 0;
}
.flow_step_contents {
    position: relative;
}
.flow_step_contents::before {
    position: absolute;
    content: "";
    top: 0;
    left: 0;
    width: 100%;
    height: 1px;
    background: #333;
    z-index: -1;
}
.flow_step_contents:after {
    position: absolute;
    content: "";
    top: 0;
    left: 33%;
    width: 1px;
    height: 100%;
    background: #333;
    z-index: -1;
}
.flow_step_contents:first-child::after {
    top: -100px;
    height: 150%;
}
.flow_step_contents .media {
    position: relative;
    padding-top: 2rem;
    width: 70%;
    margin: 0 auto;
}
.flow_step_contents .media_img_wrap {
    width: 20%;
}
.flow_step_contents .media_content_wrap {
    width: 70%;
    padding: 4rem 10rem;
    position: relative;
}
.flow_step_contents:not(:last-child) .media .media_content_wrap::before {
    position: absolute;
    content: "";
    bottom: -20px;
    left: 50%;
    transform: translateX(-50%);
    width: 0;
    height: 0;
    border-style: solid;
    border-width: 30px 20px 0 20px;
    border-color: #6b5251 transparent transparent transparent;
}
.hashnum {
    color: #535353;
    position: absolute;
    top: 0;
    left: 30px;
    z-index: -1;
}
.hash {
    font-size: 4rem;
    font-weight: 900;
    line-height: 2;
    vertical-align: top;
}
.num {
    font-size: 6rem;
    font-weight: 900;
}

@media (max-width: 1180px) {

}
@media (max-width: 1024px) {

}
@media (max-width: 820px) {
    .flow_step_contents .media {
        width: 90%;
    }
    .flow_step_contents .media_content_wrap {
        padding: 6rem 0rem 0rem 8rem;
    }
    .flow_step_contents .media_img_wrap {
        width: 30%;
    }
    .flow_step_contents .media_content_wrap {
        width: 70%;
    }
    .flow_step_contents .media_img {
        object-fit: contain;
    }
    .flow_step_contents:after {
        left: 34.5%;
    }
}
@media (max-width: 768px) {

}
@media (max-width: 767px) {
    .flow_step_contents:not(:last-child) {
        margin-bottom: 70px;
    }
    .flow_step_contents .media_img_wrap {
        width: 100%;
    }
    .flow_step_contents .media_content_wrap {
        width: 100%;
        padding: 6rem 0rem 0rem 0rem;
    }
    .hashnum {
        left: unset;
        right: 0;
    }
    .hash {
        font-size: 5rem;
    }
    .num {
        font-size: 9rem;
    }
    .flow_step_contents:not(:last-child) .media .media_content_wrap::before {
        bottom: -45px;
        border-width: 20px 20px 0 20px;
    }
    .flow_step_contents::before,
    .flow_step_contents::after {
        display: none;
    }
}




.products_contents {
    position: relative;
}
/* productslider */
#canvas {
    position: absolute;
    top: 0;
    right: 0;
    left: 0;
    height: 100vh;
    z-index: 1;
}
#content {
    position: relative;
    z-index: 2;
    overflow: hidden;
}
/* #title {
    position: fixed;
    top: 20px;
    right: 20px;
    left: 20px;
    z-index: 1;
    pointer-events: none;
    font-size: 1.5em;
    line-height: 1;
    margin: 0;
    text-transform: uppercase;
    color: white;
    text-align: center;
} */
#planes {
    width: calc(((100vw / 1.75) + 10vw) * 8);
    height: 100vh;
    display: flex;
    align-items: center;
    cursor: move;
}
.plane-wrapper {
    position: relative;
    width: calc(100vw / 1.75);
    height: 70vh;
    margin: auto 5vw;
}
#planes.dragged .plane-wrapper {
    pointer-events: none;
    -webkit-touch-callout: none;
    -webkit-user-select: none;
    -khtml-user-select: none;
    -moz-user-select: none;
    -ms-user-select: none;
    user-select: none;
}
.plane-title {
    position: absolute;
    top: 50%;
    left: 50%;
    z-index: 1;
    transform: translate3D(-50%, -50%, 0);
    font-size: 4vw;
    font-weight: 700;
    line-height: 1.2;
    text-transform: uppercase;
    color: black;
    text-stroke: 1px white;
    -webkit-text-stroke: 1px white;
    opacity: 0;
    transition: color 0.5s, opacity 0.5s;
}
#planes.dragged .plane-title {
    color: transparent;
}
.plane-wrapper.loaded .plane-title {
    opacity: 1;
}
.plane {
    position: absolute;
    top: 0;
    right: 0;
    bottom: 0;
    left: 0;
}
.plane img {
    display: none;
    pointer-events: none;
    -webkit-user-drag: none;
    -khtml-user-drag: none;
    -moz-user-drag: none;
    -o-user-drag: none;
    user-drag: none;
}
.no-curtains #planes {
    transition: background-color 0.5s;
}
.no-curtains #planes.dragged {
    background-color: #0d0d0d;
}
/* .no-curtains .plane-title {
    opacity: 1;
} */
.no-curtains .plane {
    display: flex;
    overflow: hidden;
    transition: filter 0.5s;
}
.no-curtains #planes.dragged .plane {
    filter: grayscale(1);
}
.no-curtains .plane img {
    display: block;
    min-width: 100%;
    min-height: 100%;
    object-fit: cover;
}

/* @media screen and (orientation: portrait) {
    #content {
        max-height: 100vh;
    }
    #planes {
        overflow: hidden;
        width: 100vw;
        padding: 2.5vh 0;
        height: auto;
        flex-direction: column;
    }
    .plane-wrapper {
        position: relative;
        width: 70vw;
        height: calc(100vh / 1.75);
        margin: 5vw 0;
    }
    .plane-title {
        font-size: 10vw;
    }
} */

.tkyflex{
    display: flex;
    flex-wrap: wrap;
    justify-content: flex-start;
    align-items: flex-start;
}
.tkyfbox1{
    width: 25%;
    margin-right: 20px;
}
.tkyfbox2{
    width: 71%;
}
@media only screen and (max-width: 767px) {
    .tkyfbox1 {
        width: 100%;
        margin-right: 0;
        margin-bottom: 20px;
    }
    .tkyfbox2{
        width: 100%;
    }
}