@charset "UTF-8";

/*--------------------------------------------------------------*/
/* CSS and Graphics are released under Creative Commons Licence */
/* https://www.webplus.jp/                                      */
/* Copyright (C) Kiyonobu Horita @ WEBPLUS Inc.                 */
/*--------------------------------------------------------------*/


#fixed-top {
    display: -webkit-box;
    display: -ms-flexbox;
    display: flex;
    -webkit-box-align: center;
    -ms-flex-align: center;
    align-items: center;
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    padding: 1.0rem;
    background-color: rgba(255, 255, 255, 1.00);
    z-index: 700;
    -webkit-transition: all 0.3s ease-in-out;
    -o-transition: all 0.3s ease-in-out;
    transition: all 0.3s ease-in-out;
}

/* Brand */
.brand a div {
    display: inline;
}

.brand a {
    text-decoration: none;
    -webkit-transition: all 0.3s ease-in-out;
    -o-transition: all 0.3s ease-in-out;
    transition: all 0.3s ease-in-out;
}

.brand a:hover {
    opacity: 0.7;
}

.b-mark img {
    width: auto;
    height: 18.0vw;
    margin-right: 4.0vw;
}

.b-type img {
    position: relative;
    top: -1.0vw;
    width: auto;
    height: 8.0vw;
}

@media only screen and (min-width: 768px) {

    #fixed-top {
        padding: 1.0rem 1.5rem;
        background-color: rgba(255, 255, 255, 0);
    }

    #fixed-top.shrink {
        background-color: rgba(255, 255, 255, 1.00);
    }

    .b-mark img {
        height: 8.0rem;
        margin-right: 2.0rem;
    }

    .b-type img {
        top: -0.65rem;
        height: 4.0rem;
    }

}

@media only screen and (min-width: 1200px) {

    body.home #fixed-top {
        padding: 5.0rem 10.0rem;
    }

    #fixed-top {
        padding: 1.0rem 10.0rem;
    }

    body.home #fixed-top.shrink {
        padding: 1.0rem 10.0rem;
    }

    .b-mark img {
        height: 16.0rem;
        margin-right: 5.5rem;
        -webkit-transition: all 0.3s ease-in-out;
        -o-transition: all 0.3s ease-in-out;
        transition: all 0.3s ease-in-out;
    }

    #fixed-top.shrink .b-mark img {
        height: 8.0rem;
        margin-right: 2.0rem;
    }

    .b-type img {
        top: -1.3rem;
        height: 7.0rem;
        -webkit-transition: all 0.3s ease-in-out;
        -o-transition: all 0.3s ease-in-out;
        transition: all 0.3s ease-in-out;
    }

    #fixed-top.shrink .b-type img {
        top: -0.65rem;
        height: 4.0rem;
    }

}

/* ハンバーガーボタン */
.navbar-toggler {
    position: absolute;
    right: 1.0rem;
    font-size: 1.4rem;
    font-weight: 500;
    text-align: center;
    text-transform: uppercase;
    z-index: 999;
}

.navbar-toggler::after {
    color: rgba(31, 40, 111, 1.00);
    content: "MENU";
}

.navbar-toggler.active::after {
    color: rgba(0, 0, 0, 1.00);
    content: "CLOSE";
}

.menu-toggle {
    display: -webkit-box;
    display: -ms-flexbox;
    display: flex;
    -webkit-box-align: center;
    -ms-flex-align: center;
    align-items: center;
    -webkit-box-pack: center;
    -ms-flex-pack: center;
    justify-content: center;
    width: 5.0rem;
    height: 5.0rem;
    margin-bottom: 0.25rem;
    border-radius: 50.0%;
    background: rgba(86, 85, 153, 1.00);
    text-decoration: none;
    -webkit-transition: all 0.3s ease-in-out;
    -o-transition: all 0.3s ease-in-out;
    transition: all 0.3s ease-in-out;
}

.navbar-toggler.active .menu-toggle {
    background: rgba(0, 0, 0, 1.00);
}

.menu-toggle i {
    color: rgba(255, 255, 255, 1.00);
    font-size: 2.4rem;
}

/* メニュー（モバイルは右からスライドイン） */
#menu-wrapper {
    position: fixed;
    top: 0;
    right: 0;
    width: 100%;
    height: 100%;
    -webkit-transform: translateX(100%);
    -ms-transform: translateX(100%);
    transform: translateX(100%);
    background: -o-linear-gradient(top, rgba(255, 255, 255, 0.70) 0%, rgba(255, 255, 255, 0.70) 100%), url("../img/nav_bg.jpg") left bottom / auto 100% no-repeat;
    background: -webkit-gradient(linear, left top, left bottom, from(rgba(255, 255, 255, 0.70)), to(rgba(255, 255, 255, 0.70))), url("../img/nav_bg.jpg") left bottom / auto 100% no-repeat;
    background: linear-gradient(180deg, rgba(255, 255, 255, 0.70) 0%, rgba(255, 255, 255, 0.70) 100%), url("../img/nav_bg.jpg") left bottom / auto 100% no-repeat;
    z-index: 500;
    -webkit-transition: all 0.3s ease-in-out;
    -o-transition: all 0.3s ease-in-out;
    transition: all 0.3s ease-in-out;
}

#menu-wrapper.active {
    right: 100%;
    width: 100%;
    overflow-y: scroll;
    -webkit-transition: all 0.3s ease-in-out;
    -o-transition: all 0.3s ease-in-out;
    transition: all 0.3s ease-in-out;
}

.navigation {
    position: absolute;
    top: 30.0vw; /* ページ上部からの距離 */
    width: 100%;
}

/* 会社案内・事業内容の下余白 */
.navigation div[class^="col"]:nth-of-type(-n+2) {
    margin-bottom: 2.0rem;
}

/* 会社案内・事業内容の親メニュー */
.navigation dt {
    display: -webkit-box;
    display: -ms-flexbox;
    display: flex;
    -webkit-box-align: center;
    -ms-flex-align: center;
    align-items: center;
    height: 4.0rem;
    margin-bottom: 1.5rem;
    padding: 0 2.0rem;
    border: 0.1rem solid rgba(0, 0, 0, 0.50);
    background-color: rgba(0, 0, 0, 0.10);
    color: rgba(0, 0, 0, 1.00);
    font-weight: 400;
}

/* 子メニュー */
.navigation dd {
    display: block;
    margin-left: 2.0rem;
}

.navigation dd:nth-of-type(n+2) {
    margin-top: 1.5rem;
}

.navigation dd::before {
    content: "├";
}

/* リンク */
.navigation dd a {
    padding-left: 0.5rem;
    color: rgba(0, 0, 0, 1.00);
    text-decoration: none;
    -webkit-transition: 0.3s ease-in-out;
    -o-transition: 0.3s ease-in-out;
    transition: 0.3s ease-in-out;
}

.navigation dd a:hover {
    color: rgba(86, 85, 153, 1.00);
}

/* マウスオーバー時の矢印 */
.navigation dd a::after {
    visibility: hidden;
    margin-left: 1.0rem;
    color: transparent;
    font-family: 'Font Awesome 6 Free';
    font-weight: 700;
    content: "\f061";
    -webkit-transition: 0.3s ease-in-out;
    -o-transition: 0.3s ease-in-out;
    transition: 0.3s ease-in-out;
}

.navigation dd a:hover::after {
    visibility: visible;
    color: rgba(86, 85, 153, 1.00);
}

/* 施工事例～お知らせの親メニュー（リンク部分） */
.navigation .row div[class^="col"]:nth-last-of-type(-n+2) a {
    display: -webkit-box;
    display: -ms-flexbox;
    display: flex;
    -webkit-box-align: center;
    -ms-flex-align: center;
    align-items: center;
    position: relative;
    width: 100%;
    height: 4.0rem;
    margin-bottom: 2.0rem;
    padding: 0 2.0rem;
    border: 0.1rem solid rgba(86, 85, 153, 0.50);
    background: rgba(86, 85, 153, 0.15);
    color: rgba(0, 0, 0, 1.00);
    text-decoration: none;
    line-height: 100%;
    -webkit-transition: all 0.3s ease-in-out;
    -o-transition: all 0.3s ease-in-out;
    transition: all 0.3s ease-in-out;
}

/* リンク部分の矢印 */
.navigation .row div[class^="col"]:nth-last-of-type(-n+2) a::after {
    position: absolute;
    right: 2.0rem;
    font-family: 'Font Awesome 6 Free';
    font-weight: 700;
    content: "\f061";
    -webkit-transition: all 0.3s ease-in-out;
    -o-transition: all 0.3s ease-in-out;
    transition: all 0.3s ease-in-out;
}

/* お問い合わせアイコン */
.navigation .row div[class^="col"]:last-of-type div:last-of-type a::after {
    font-size: 180%;
    font-weight: 500;
    content: "\f0e0";
}

/* マウスオーバー時の処理 */
.navigation .row div[class^="col"]:nth-last-of-type(-n+2) a:hover {
    border: 0.1rem solid rgba(86, 85, 153, 0.50);
    background: rgba(86, 85, 153, 0.25);
    color: rgba(77, 70, 134, 1.00);
}

.navigation .row div[class^="col"]:nth-last-of-type(-n+2) a:hover::after {
    color: rgba(77, 70, 134, 1.00);
}

@media only screen and (min-width: 576px) {

    .navbar-toggler {
        font-size: 1.8rem;
    }

    .menu-toggle {
        width: 7.5rem;
        height: 7.5rem;
    }

    .menu-toggle i {
        font-size: 3.6rem;
    }

}

@media only screen and (min-width: 768px) {

    .navbar-toggler {
        right: 1.5rem;
        font-size: 1.6rem;
    }

    .menu-toggle {
        width: 6.0rem;
        height: 6.0rem;
    }

    .menu-toggle i {
        font-size: 3.0rem;
    }

    #menu-wrapper {
        background: -o-linear-gradient(top, rgba(255, 255, 255, 0.50) 0%, rgba(255, 255, 255, 0.50) 100%), url("../img/nav_bg.jpg") left bottom / auto 100% no-repeat;
        background: -webkit-gradient(linear, left top, left bottom, from(rgba(255, 255, 255, 0.50)), to(rgba(255, 255, 255, 0.50))), url("../img/nav_bg.jpg") left bottom / auto 100% no-repeat;
        background: linear-gradient(180deg, rgba(255, 255, 255, 0.50) 0%, rgba(255, 255, 255, 0.50) 100%), url("../img/nav_bg.jpg") left bottom / auto 100% no-repeat;
        overflow: inherit;
    }

    .navigation {
        top: 14.0rem;
    }

    /* すべての親メニュー */
    .navigation dt,
    .navigation .row div[class^="col"]:nth-last-of-type(-n+2) a {
        -webkit-box-pack: center;
        -ms-flex-pack: center;
        justify-content: center;
        height: 7.0rem;
        font-size: 2.4rem;
    }

    .navigation .row div[class^="col"]:nth-last-of-type(-n+2) a::after {
        margin-top: 0.25rem; /* 矢印の位置調整 */
    }

    /* お問い合わせアイコン位置調整 */
    .navigation .row div[class^="col"]:last-of-type div:last-of-type a::after {
        position: absolute;
        left: 21.2rem;
        bottom: 0.9rem;
        font-size: 3.0rem;
    }

    .navigation dd {
        margin-left: 4.0rem;
    }

    .navigation dd::before,
    .navigation dd a {
        font-size: 1.8rem;
    }

}

@media only screen and (min-width: 992px) {

    /* メニュー（PCは上からスライドイン） */
    #menu-wrapper {
        top: 0;
        right: inherit;
        -webkit-transform: translateY(-100%);
        -ms-transform: translateY(-100%);
        transform: translateY(-100%);
        background-position: center bottom;
        background-size: cover;
    }

    #menu-wrapper.active {
        top: 100%;
        right: inherit;
        overflow: hidden;
    }

    .navigation .row div[class^="col"]:last-of-type div:last-of-type a::after {
        left: 19.2rem;
    }

}

@media only screen and (min-width: 1200px) {

    .navbar-toggler {
        right: 10.0rem;
        font-size: 2.0rem;
        -webkit-transition: all 0.3s ease-in-out;
        -o-transition: all 0.3s ease-in-out;
    }

    #fixed-top.shrink .navbar-toggler {
        font-size: 1.6rem;
    }

    .menu-toggle {
        width: 10.0rem;
        height: 10.0rem;

    }

    #fixed-top.shrink .menu-toggle {
        width: 6.0rem;
        height: 6.0rem;
    }

    .menu-toggle i {
        font-size: 5.0rem;
        -webkit-transition: all 0.3s ease-in-out;
        -o-transition: all 0.3s ease-in-out;
        transition: all 0.3s ease-in-out;
    }

    #fixed-top.shrink .menu-toggle i {
        font-size: 3.0rem;
    }

    .navigation {
        top: 30.0rem;
        -webkit-transition: all 0.3s ease-in-out;
        -o-transition: all 0.3s ease-in-out;
        transition: all 0.3s ease-in-out;
    }

    #menu-wrapper.shrink .navigation {
        top: 14.0rem;
    }

    .navigation .row div[class^="col"]:last-of-type div:last-of-type a::after {
        left: 17.5rem;
    }

}

@media only screen and (min-width: 1400px) {

    .navbar-toggler {
        right: 10.0rem;
        font-size: 2.4rem;
    }

    .menu-toggle {
        width: 12.0rem;
        height: 12.0rem;
    }

    .menu-toggle i {
        font-size: 6.0rem;
    }

    .navigation .row div[class^="col"]:last-of-type div:last-of-type a::after {
        left: 19.75rem;

    }

}

@media only screen and (min-width: 1920px) {

    .navigation dt,
    .navigation .row div[class^="col"]:nth-last-of-type(-n+2) a {
        height: 8.4rem;
        font-size: 3.4rem;
    }

    .navigation .row div[class^="col"]:nth-last-of-type(-n+2) a::after {
        font-size: 3.0rem;
    }

    .navigation dd,
    .navigation dd:nth-of-type(n+2) {
        margin-top: 5.0rem;
    }

    .navigation dd::before,
    .navigation dd a {
        font-size: 3.0rem;
    }

    .navigation .row div[class^="col"]:nth-last-of-type(-n+2) div:nth-of-type(n+2) {
        margin-top: 5.0rem;
    }

    .navigation .row div[class^="col"]:last-of-type div:last-of-type a::after {
        bottom: 0.45rem;
        left: 22.0rem;
        font-size: 4.2rem;
    }

}


/* ---- End of file --------------------------------------- */