* {
    box-sizing: border-box;
}

body {
    margin: 0 auto;
    color: #3f464d;
    font-family: 'Spoqa Han Sans Neo', 'sans-serif';
}

a {
    all: unset;
}

a:link {
    text-decoration: none;
    color: #3f464d;
}

a:visited {
    text-decoration: none;
    color: #3f464d;
}

a:active {
    text-decoration: none;
    color: #3f464d;
}

a:hover {
    text-decoration: none;
    color: #3f464d;
}

.inner {
    width: 100%;
    height: 100%;
    margin: 0 auto;
    padding: 0 2rem;
    overflow: hidden;
}

header {
    width: 100%;
    height: 60px;
    background-color: #ffffff;
    position: fixed;
    top: 0;
    left: 0;
    z-index: 1000;
}

.head-container {
    width: 100%;
    height: 100%;
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.head-container .logo {
    border: 1px solid;
    color: white;
}


.head-container .logo a:hover {
    color: #2186c4;
    cursor: pointer;
}


section {
    width: 100%;
    background-color: #fff;
    position: relative;
}

.main {
    height: 615px;
    background-image: url('/img/main_6.gif');
    background-size: contain;
    background-position: center;
    background-repeat: no-repeat;
    z-index: 1;
}

.main-container {
    width: 100%;
    height: 100%;
    background-color: rgb(47, 48, 89);
    opacity: 0.4;
    z-index: 2;
    margin-top: 60px;
}

.title-container {
    padding-top: 100px;
    padding-bottom: 100px;
}

.title {
    font-size: 2rem;
    font-weight: bold;
    color: #fff;
    padding-bottom: 0.8rem;
}

.message {
    font-size: 1.4rem;
    font-weight: normal;
    color: #fff;
    line-height: 2rem;
}

.mainimg{
    align-items: center;
}

.menu-container {
    width: 100%;
    height: 100%;
    display: flex;
    justify-content: space-around;
    align-items: center;
    padding: 1rem 0;
}

.menu {
    width: 25%;
    background-color: #fff;
    display: flex;
    align-items: center;
    border-radius: 9px;
    padding: 0.5rem 1rem;
    margin: 0 1rem;
    box-shadow: 10px 10px 10px -5px rgba(0, 0, 255, .2);
    transition: 0.4s;
}

.menu:hover {
    transform: translate(0, -5px)
}

.menu-icon {
    font-size: 2.3rem;
    margin: 0 7px;
}

.menu-title {
    display: flex;
    flex-direction: column;
    align-content: center;
}

.maintitle {
    font-weight: bold;
    color: #545e6f;
    margin-bottom: 0.2rem;
}

.subtitle {
    font-size: 0.9rem;
    color: #545e6f;
}

.company {
    color: #2186c4;
}

.product {
    color: rgb(27, 257, 39);
}

.sitemap {
    color: rgb(253, 133, 11);
}

.productmap-container {
    width: 100%;
    margin-top: 2rem;
}

.map1-title-container {
    width: 100%;
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.map1-title {
    font-size: 1.3rem;
    font-weight: bold;
    color: #545e6f;
}

.slide-prev {
    font-size: 2rem;
    cursor: pointer;
    color: rgb(47, 48, 89);
}

.slide-next {
    font-size: 2rem;
    cursor: pointer;
    color: #cfd8dc;
}

.slide-prev-hover:hover{
    transition: transform 0.5s;
    transform: translateX(-2px);
}

.slide-next-hover:hover{
    transition: transform 0.5s;
    transform: translateX(2px);
}

.arrow-container {
    display: flex;
}

.product-list {
    display: flex;
    list-style: none;
    padding: 1rem 0;
    margin: 1rem 0 0 0;
    overflow: none;
}

.product-card {
    width: 240px;
    box-shadow: 10px 10px 10px -5px rgba(25, 42, 70, 0.2);
    border-radius: 8px;
    margin: 0 10px;
    transition: 0.4s;
    flex-shrink: 0;
}

.product-card:hover{
    box-shadow: 10px 10px 10px 0px rgba(25, 42, 70, 0.2);
    transform: translate(0, -5px)
}

.product-image {
    width: 240px;
    /*|top-left|top-right|bottom-right | bottom-left |*/
    border-radius: 8px 8px 0 0;
    height: 150px;
}

.product-container {
    width: 100%;
    padding: 0.5rem 1rem 1rem 1rem;
}

.product-name {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.product-type {
    font-size: 0.9rem;
}

.product-format {
    font-size: 0.9rem;
    color: #fff;
    background-color: #0d47a1;
    padding: 0.2rem;
    border-radius: 3px;
}

.product-desc {
    width: 100%;
    margin-top: 0.5rem;
}

.product-title {
    font-weight: bold;
    color: #545e6f;
    width: 100%;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
    margin-bottom: 0.5rem;
}

.product-detail {
    font-size: 0.9rem;
    color: #545e6f;
    line-height: 1.5rem;
}

footer{
    border-top: 1px solid #e4e4e4;
    background-color: #f8f9fa;
    padding: 1rem 0;
    margin: 1rem 0;
}

.footer-message{
    font-weight: bold;
    color: #545e6f;
    margin: 0.3rem 0.5rem; 
}

.footer-contact{
    color: #545e6f;
    margin: 0rem 0.5rem;
}

.footer-copyright{
    color: #545e6f;
    margin: 1rem 0.5rem
}

#backtotop{
    background-color: rgb(47, 48, 89);
    width: 40px;
    height: 40px;
    text-align: center;
   
    border-radius: 20px;
    position: fixed;
    bottom: 30px;
    right: 30px;
    transition-property: background-color, opacity, visibility;
    transition-duration: 0.3s,0.5s,0.5s;
    opacity: 0;
    visibility: hidden;
    z-index: 999;
}

/*아이콘 작성*/
#backtotop::after{
    content: "\f077";
    font-family: FontAwesome;
    font-size: 1.5rem;
    line-height: 40px;
    color: #fff;
}

#backtotop.show:hover {
    cursor: pointer;
    background-color: #2186c4;
}

#backtotop.show{
    opacity: 1;
    visibility: visible;
    background-color: rgb(47, 48, 89);
}


@media only screen and (min-width: 1200px) {
    .inner {
        max-width: 1200px;
    }
}

@media only screen and (max-width: 980px) {
    .menu-container {
        display: none;
    }
}