/* common */
@import url('https://fonts.googleapis.com/css2?family=M+PLUS+1p&family=M+PLUS+2&display=swap');

* {
    font-family: "M PLUS 1p", sans-serif;
    font-weight: 400;
    font-style: normal;
    margin: 0;
    padding: 0;
}

main {
    width: 80vw;
    margin: 120px auto;
    margin-bottom: 0;
}

/* ==================== header ==================== */
#header {
    position: fixed;
    height: 80px;
    text-align: left;
    margin-left: 50px;
    margin-right: 50px;
    margin-top: 20px;
    top: 0;
    left: 0;
    background-color: #fff;
}

.headerlogo {
    float: left;
    width: 300px;
    height: 80px;
}

.headerimg {
    width: 300px;
    height: 80px;
}

.header_menu_ul {
    margin-left: calc(100vw - 820px);
}

.header_menu_li {
    display: inline-block;
    line-height: 80px;
    margin-left: 50px;
}

.headerlink {
    text-decoration: none;
    color: #000;
    font-size: 20px;
}

.menu-icon {
    display: none !important;
}

@media screen and (max-width: 1150px) {
    #header {
        height: 16vw;
        margin-top: 10px;
        margin-bottom: 15px;
        margin-left: 0;
        margin-right: 10px;
        width: 100%;
    }
    .headerlogo {
        width: 60vw;
        height: 16vw;
        max-width: 300px;
        max-height: 80px;
        margin-left: 10px;
    }
    .headerimg {
        width: 60vw;
        height: 16vw;
        max-width: 300px;
        max-height: 80px;
    }
	.header_menu_ul {
        display: none;
    }
    .menu-icon {
        display: flex !important;
        justify-content: flex-end;
        z-index: 999;
        margin-right: 20px;
    }
}

.menu {
    list-style: none;
    position: absolute;
    width: 100%;
    height: auto;
    top: 0;
    margin-top: 0;
    padding: 0 0 10px 0;
    clear: both;
    background: var(--background-navbar);
    transition: 0.3192s cubic-bezier(0.04, 0.04, 0.12, 0.96) 0.1008s;
    transform: scale(1, 0);
    transform-origin: top;
    background-color: #fff;
}
  
/* Hamburger menu button */
.menu-btn:checked ~ .menu {
    transform: scale(1, 1);
    transform-origin: top;
    transition: 0.3192s cubic-bezier(0.04, 0.04, 0.12, 0.96) 0.1008s;
}
  
/* Hamburger menbu text */
.menu a {
    text-decoration: none;
    font-weight: 500;
    letter-spacing: 2px;
    font-size: 16px;
    text-transform: capitalize;
    color: #323335;
    opacity: 0;
    transition: 0.5s;
}
  
.menu li {
    border-top: 1px solid #323335;
    padding: 15px 0;
    margin: 0 54px;
    opacity: 0;
    transition: 0.5s;
}

.menu .top {
    margin-top: 52px;
}
  
.menu-btn:checked ~ .menu a,
.menu-btn:checked ~ .menu li {
    opacity: 1;
    transition: 0.3192s cubic-bezier(0.04, 0.04, 0.12, 0.96) 0.2s;
}
  
.menu-btn {
    display: none;
}
  
.menu-icon {
    display: inline-block;
    position: relative;
    cursor: pointer;
    padding: 24px 14px;
    -webkit-tap-highlight-color: rgba(0, 0, 0, 0);
}
  
.navicon {
    background: #323335;
    display: block;
    height: 3px;
    width: 26px;
    position: relative;
    transition: 0.3192s cubic-bezier(0.04, 0.04, 0.12, 0.96) 0.1008s;
    margin-top: 8px;
}
  
.navicon:before,
.navicon:after {
    content: "";
    display: block;
    height: 100%;
    width: 100%;
    position: absolute;
    background: #323335;
    transition: 0.3192s cubic-bezier(0.04, 0.04, 0.12, 0.96) 0.1008s;
}
  
.navicon:before {
    top: 9px;
}
  
.navicon:after {
    bottom: 9px;
}
  
/* Hamburger Menu Animation Start */
.menu-btn:checked ~ .menu-icon .navicon:before {
    transform: rotate(-45deg);
}
  
.menu-btn:checked ~ .menu-icon .navicon:after {
    transform: rotate(45deg);
}
  
.menu-btn:checked ~ .menu-icon:not(.steps) .navicon:before {
    top: 0;
}
  .menu-btn:checked ~ .menu-icon:not(.steps) .navicon:after {
    bottom: 0;
}
  
.menu-btn:checked ~ .menu-icon .navicon {
    background: rgba(0, 0, 0, 0);
    transition: 0.2192s cubic-bezier(0.04, 0.04, 0.12, 0.96) 0.1008s;
}
/* Hamburger Menu Animation End */

/* Navbar Container */
.navtext-container {
  width: 100%;
  height: 52px;
  position: absolute;
  box-sizing: border-box;
  display: flex;
  justify-content: center;
  align-items: center;
}

/* Navbar Text */
.navtext {
  position: absolute;
  text-transform: uppercase;
  color: #323335;
  letter-spacing: 4px;
  font-size: 20px;
}

/* ==================== footer ==================== */
#footer {
    background-color: #323335;
    height: 160px;
}

.footerlogo {
    height: 65px;
}

.footerimg {
    height: 65px;
    margin-top: 15px;
    margin-left: 15px;
}

.footertext {
    margin-top: 45px;
    margin-left: 50px;
    float: left;
    color: #fff;
    font-size: 15px;
}

.footer_menu_ul {
    margin-left: calc(100vw - 560px);
    margin-top: -23px;
}

.footer_menu_li {
    display: inline-block;
    background-color: #fff;
    height: 80px;
    margin-left: 20px;
}

.footerlinkimg {
    height: 80px;
}

@media screen and (max-width: 1400px) {
    .footertext {
        max-width: 500px;
    }
    #footer {
        height: 220px;
    }
}

@media screen and (max-width: 1100px) {
    #footer {
        height: 270px;
    }
    .footertext {
        margin-right: 50px;
    }
    .footer_menu_ul {
        text-align: center;
        margin-left: 0;
    }
    .footer_menu_li {
        margin-top: 30px;
        margin-left: 0;
        height: 50px;
    }
    .footer_menu_li:last-child {
        margin-left: 20px;
    }
    .footerlinkimg {
        width: auto;
        height: 50px;
    }
    .footerlinkimg:last-child {
        width: 100%;
        height: 50px;
    }
}

@media screen and (max-width: 520px) {
    #footer {
        height: 300px;
    }
}

/* ==================== Top-page ==================== */
.top {
    height: 100vh;
}

.toptitle {
    text-align: center;
    margin-top: 17vh;
}

.topmotto {
    text-align: center;
    margin-top: 3vh;
}

.toplinkouter {
    display: flex;
    justify-content: center;
    align-items: center;
    background-color: #323335;
    width: 120px;
    height: 40px;
    margin: 30px auto;
    justify-content: center;
    border-radius: 10px;
}

.toplink {
    text-decoration: none;
    color: #ffffff;
}

.topunderlink_outer {
    display: flex;
    flex-wrap: wrap;
    margin-bottom: 70px;
    justify-content: space-around;
}

.topunderlink {
    margin-top: 20vh;
    width: 300px;
    border: 1px solid #000;
}

@media screen and (max-width: 1150px) {
    .topunderlink {
        display: none;
    }
}

/* ==================== company-info ==================== */
.company-det {
    width: 60%;
    margin: 50px auto;
}

.company {
    margin-bottom: 25px;
    height: 80px;
}

.company p {
    margin-left: 20px;
    margin-top: 10px;
}

.companyinfoimg {
    height: 80px;
    float: right;
}

.undercc {
    padding-left: 30px;
}