@font-face {
  font-family: "NexaHeavy";
  src: url('../font/Nexa-Heavy.ttf');
}

html,
body {
    margin: 0;
    padding: 0;
    font-family: "Carlito", sans-serif;
    font-weight: 400;
    font-style: normal;
}
h1, h2, h3 {
    font-family: "NexaHeavy";
    font-weight: 700;
}
body {
    padding-top: 76px;
}

/* Header */
nav.navbar {
    transition: 0.5s ease-in-out;
}
.navbar.scrolled {
    box-shadow: 0px 1px 10px #999;
}
.navbar-brand img {
    width: 120px;
    height: 60px;
    object-fit: contain;
}
.navbar .nav-link {
    color: #333;
    font-weight: 700;
    text-decoration: none;
    position: relative;
    overflow: hidden;
}
.navbar .nav-link::before,
.navbar .nav-link::after {
    content: "";
    position: absolute;
    width: 0;
    height: 2px;
    background: #333;
    transition: all 0.5s;
}
.navbar .nav-link::before {
    top: 0;
    left: 0;
}
.navbar .nav-link::after {
    bottom: 0;
    right: 0;
}
.navbar .nav-link:hover::before {
    width: 100%;
    transition: width 0.25s ease-in-out;
}
.navbar .nav-link:hover::after {
    width: 100%;
    transition: width 0.25s ease-in-out 0.25s;
}

/* Footer */
footer {
    margin-top: 96px;
}

/* Common */
h2.title-section {
    font-size: 48px;
}
.txt-red {
    color: #b5292e;
}
.btn-download {
    transition: 0.5s;
    text-decoration: none;
    color: #333;
    border: 2px solid #333;
    padding: 6px 12px;
    line-height: 1;
    width: auto;
}
.btn-download:hover {
    box-shadow: inset 6.5em 0 0 0 #333;
    color: #FFFFFF;
}
p.phone img,
p.mail img {
    width: 20px;
    height: auto;
    margin-right: 8px;
}
p.phone a,
p.mail a {
    line-height: 1;
    text-decoration: none;
    color: #333;
}
.social-media-box a img {
    width: 60px;
}

@media only screen and (max-width: 991px) {
    nav.navbar .container {
        max-width: 100%;
    }
    .navbar-collapse {
        height: 0;
        opacity: 0;
        transition: 0.5s ease-in-out;
    }
    .navbar-collapse.show {
        opacity: 1;
        height: calc(100vh - 66px);
    }
    .navbar-toggler:focus {
        box-shadow: none;
    }
    .menu-sp {
        width: 25px;
        display: block;
        height: 1px;
        background-color: #b5292e;
        margin: 8px auto;
        transition: 0.3s ease-in-out;
    }
    .menu-sp:nth-child(2) {
        opacity: 0;
    }
    .menu-sp:first-child {
        transform: rotate(45deg) translate(6px, 7px);
    }
    .menu-sp:last-child {
        transform: rotate(-45deg) translate(6px, -7px);
    }
    .collapsed .menu-sp:nth-child(2) {
        opacity: 1;
    }
    .collapsed .menu-sp {
        transform: rotate(0);
    }
    .sp-accordion-topnav {
        overflow-y: auto;
        height: 100%;
        max-height: calc(100vh - 54px);
    }
    .sp-accordion-topnav .accordion-item a {
        padding: 16px;
    }
    .sp-accordion-topnav .accordion-item a.accordion-button::after {
        background-image: url(../images/ic-arrowright.svg);
        background-size: contain;
        width: 14px;
        height: 7px;
    }

    footer {
        margin-top: 64px;
    }
    .social-media-box a img {
        width: 26px;
    }
}