@charset "utf-8";

/* 全体 */
*,
::before,
::after {
    padding: 0px;
    margin: 0px;
    box-sizing: border-box;
    font-family: 'Noto Sans JP', sans-serif;
    font-weight: 300;
}

.wrapper {
    width: 800px;
    margin: 0px auto;
}

main p {
    line-height: 1.8em;
    margin: 5px 30px 15px;
}

/* ヘッダー */
header {
    display: flex;
    justify-content: space-between;
    height: 65px;
}

header .headerBox {
    display: flex;
    width: 600px;
    margin: 10px;
}

header .headerBox .companyLogo {
    display: block;
    height: 50px;
    width: 70px;
}

header .headerBox .companyLogo:hover {
    opacity: 0.7;
    transition: 0.4s;
}

header .headerBox .companyLogo img {
    height: 50px;
    width: 70px;
}

header nav {
    display: block;
    width: 570px;
    height: 50px;
    margin: 0px 8px;
}

header nav ul {
    display: flex;
    list-style-type: none;
    color: white;
}

header nav li {
    height: 50px;
    width: 100px;
    border-left: 1px solid white;
    border-right: 1px solid white;
    color: rgb(239, 125, 31);
    border: 1px solid;
    margin: 0px 1px;
}

header nav li a {
    font-size: 14px;
    display: block;
    height: 100%;
    width: 100%;
    text-align: center;
    padding: 16px;
    font-weight: 500;
}

#sekigaisen a {
    padding: 16px 5px;
}

header nav li a:hover {
    color: white;
    background-color: rgb(239, 125, 31);
    transition: 0.4s;

}

header .address {
    width: 130px;
    margin: 14px;
    font-size: 15px;
    text-align: center;
    line-height: 1em;
    font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
    color: rgb(239, 125, 31);
}

header .address span {
    font-size: 10px;
    line-height: 1px;
    color: black;
}


/* フッター */

footer {
    display: flex;
    height: 400px;
    margin: 15px 0px;
    background-color: rgb(239, 125, 31);
}

footer img[src*="logo2"] {
    display: block;
    height: 50px;
    width: 70px;
    margin: 20px;
}

footer p {
    margin: 5px;
    color: white;
    line-height: 1.5em;
}

footer .syamei {
    font-size: 25px;
    margin: 5px;
}


/*====================ブレイクポイント PC：768px以下====================*/
@media only screen and (max-width:768px) {

    /*-----------------------ラッパー-----------------------*/
    .wrapper {
        width: 100%;
    }

    /*-----------------------ヘッダー-----------------------*/
    header {
        justify-content: flex-start;
    }


    /*-- ハンバーガーボタン --*/
    .menuToggle {
        display: block;
        position: absolute;
        right: 0;
        top: 0;
        width: 80px;
        height: 80px;
        cursor: pointer;
        z-index: 11000;
    }

    .menuToggle span {
        display: block;
        position: absolute;
        left: 10px;
        width: 60px;
        border-bottom: 7px solid rgb(239, 125, 31);
        -webkit-transition: .35s ease-in-out;
        -moz-transition: .35s ease-in-out;
        transition: .35s ease-in-out;
    }

    .menuToggle span:nth-child(1) {
        top: 20px;
    }

    .menuToggle span:nth-child(2) {
        top: 36px;
    }

    .menuToggle span:nth-child(3) {
        top: 52px;
    }

    .menuToggle.active span:nth-child(1) {
        top: 28px;
        left: 9px;
        -webkit-transform: rotate(-45deg);
        -moz-transform: rotate(-45deg);
        transform: rotate(-45deg);
    }

    .menuToggle.active span:nth-child(2),
    .menuToggle.active span:nth-child(3) {
        top: 28px;
        -webkit-transform: rotate(45deg);
        -moz-transform: rotate(45deg);
        transform: rotate(45deg);
    }

    /*-- グローバルナビ -- */
    header .headerBox {
        text-align: left;
        display: block;
        width: 100px;
    }

    header .address {
        padding: 10px;
        font-size: 25px;
        width: 200px;
    }

    header .address span {
        display: none;
    }

    .headerBox .navi_box {
        position: fixed;
        background-color: rgb(239, 125, 31);
        margin: 15px 0px;
        z-index: 1;
        width: 100%;
        height: 100%;
        right: -100%;
    }

    .headerBox .NavMenu {
        display: block;
        padding-inline-start: 0px;
    }

    /*ナビ*/
    .headerBox nav {
        width: 100%;
        margin: 0px;
    }

    .headerBox .navi {
        display: block;
        box-sizing: border-box;
        width: 100%;
        margin: 20px auto;
        text-align: center;
        font-size: 30px;
        font-weight: bold;
        list-style-type: none;
    }

    .headerBox .navi a {
        color: white;
        font-weight: 100;
        display: block;
        line-height: 50px;
        font-size: 30px;
    }

    main p {
        line-height: 1.8em;
        margin: 5px 10px 15px;
        font-weight: 400;
    }


}