
html {
    scroll-behavior: smooth;
    scroll-padding: 90px;
  }

body {
    font-family: 'Zen kaku Gothic New', sans-serif;
    overflow-x: hidden;
    height: 100%;
    
}


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

header {
    position: fixed;
    width: 90%;
    z-index: 3;
    display: flex;
    justify-content: space-between;
    margin: 0 auto;
    align-items: center;
    padding-top: 30px;
    padding-left: 12%;

}

.logo {
    font-size: 16px;
    font-weight: 700;
    letter-spacing: -0.04em; 
    color: #e0e0e0;
}
.logo span {
    color: #e0e0e0;
    font-size: 30px;
}
@media only screen and (max-width: 480px) {
    
    header .container {
        justify-content: space-between;
    }
    
    
    }

#header.active {
    background-color: #e0e0e0;

}
    #hmb {
        width: 40px;
        height: 26px;
        cursor: pointer;
        position: relative;
        padding-right: 80px;
        z-index: 30;
    }
    #hmb span {
        width: 32px;
        height: 3px;
        display: block;
        background-color: #e0e0e0;
        border-radius: 2px;
        position: absolute;
        transition: .2s;
    }
    #hmb span:first-child {top: 0;}
    #hmb span:nth-child(2) {top: 12px;}
    #hmb span:last-child {top: 24px;}
    nav {
        position: fixed;
        top: 0;
        right: 0;
        width: 100%;
        max-width: 400px;
        height: 100vh;
        display: flex;
        align-items: center;
        padding: 20px;
        background-color: rgb(141, 167, 231);
        z-index: 20;
        opacity: 0;
        visibility: hidden;
        transform: translateX(100%);
        transition-property: all;
        transition-duration: .2s;
    }
    nav ul li a {
        display: block;
        line-height: 80px;
        font-size: 20px;
        text-align: left;
        border-bottom: 1px solid #646566;
    }
    
    .active #hmb span:first-child{
        top: 12px;
        transform: rotate(45deg);
    }
    .active #hmb span:nth-child(2) {
        opacity: 0;
    } 
    .active #hmb span:last-child {
        top: 12px;
        transform: rotate(-45deg);
    }
    .active nav {
        visibility: visible;
        opacity: 1;
        transform: translateX(0);
        position: fixed;
    }
    .active::before {
        content: '';
        position: fixed;
        top: 0;
        right: 0;
        background-color: rgb(0, 0, 0);
        width: 100vw;
        height: 100vh;
        opacity: 0.4;
        z-index: 10;
    }
    
    @media only screen and (max-width: 481px) {
    #hmb span {
            margin-left: 30px;
        }
    nav {
        width: 60%;
         }
      nav ul li a {
        font-size: 15px;
        line-height: 60px;
         }
        }

#hero {
background-image: url(../images/image1.jpg);
background-position: center bottom;
    background-size: cover;
    height: 100vh;
    display: flex;
    align-items: center;
    margin-bottom: 90px;
   
}
#hero::before {
    content: '';
    width: 100%;
    height: 100%;
    background-color: #000000;
    position: absolute;
    top: 0;
    left: 0;
    opacity: 0.2;
    z-index: 1;

}
.hero_inner {
    z-index: 2;
    color: #ffffff;
    width: 100%;
    text-align: center;
}
.hero_inner p {
    font-size: 20px;
    font-weight: 500;
    margin-bottom: 16px;
    color: #3a50d0;
    letter-spacing: 1.5px;
}
.hero_inner h1 {
    font-size: 32px;
    font-weight: 700;
    margin-bottom: 30px;
    letter-spacing: 2px;
    line-height: 1.3;
}

#hero a {
    font-size: 16px;
    font-weight: 700;
    padding: 16px 40px 20px 40px;
    display: inline-block;
    background-color: #3a50d0;
    border-radius: 7px;
    letter-spacing: 1.5px;
    transition-duration: .2s;
}

#hero a:hover {
    background-color: #0c1f89;

}

@media only screen and (max-width: 481px) {
    #hero {height: 830px;}
    #hero::before {
        height: 830px;
        width: 100%;
    }
    .hero_inner p {font-size: 12px;}
    .hero_inner h1 {
        width: 90%;
        font-size: 19px;
        text-wrap: wrap;
    margin-left: 10px;}
    #hero a {
        font-size: 10px;
        padding: 12px 30px;    }
}



#concept {
        width: 90%;
        max-width: 1120%;
        margin: 0 auto;
        position: relative;
    margin-bottom: 120px;
}
.title {
    font-size: 20px;
    font-weight: 500;
    color: #3a50d0;
    margin-bottom: 40px;
}
#concept h3 {
    font-size: 20px;
    font-weight: 700;
    letter-spacing: 1.5;
    padding-bottom: 4px;
    border-bottom: solid 3px #3a50d0;
    display: inline;
}
.column-2 {
    width: 48%;
}
.text {
    line-height: 1.7;
    padding-top: 25px;
}
.concept-img {
    background-image: url(../images/concept.jpg);
    background-position: center;
    background-size: cover;
    height: 350px;
    border-radius: 12px;
}
.heading {
    font-family: 'Dancing Script', cursive;
    font-size: 250px;
    font-weight: 700;
    color: #3a50d0;
    opacity: 0.1;
    position: absolute;
    top: 0;
    right: 0;
    transform: translateY(-30%);
    z-index: -1;
}

@media only screen and (max-width: 481px) {
    .heading {
        font-family: 'Dancing Script', cursive;
        font-size: 120px;
        padding-bottom: 50px;
    }
    .concept-img {
        background-size: cover;
        height: 200px;
    }
    #concept h3 {
        font-size: 16px;
        line-height: 1.5;
    }
    .column-2 {
        width: 100%;

    }
    #concept .text {
        line-height: 1.7;
        font-size: 12px;
        padding-left: 25px;
    

    }
    .concept-img {margin-top: 30px;}
}

#service {
    width: 90%;
        max-width: 1120%;
        margin: 0 auto;
        position: relative;
    margin-bottom: 120px;
}
.service_inner {
    margin-bottom: 40px;
    position: relative;
}
.column-40 {
    width: 40%;
}
.column-55 {
    width: 55%;
}
.column-55 .heading {
    padding-bottom: 10%;
}
.column-55 .heading2 {
    font-family: 'Dancing Script', cursive;
    font-size: 250px;
    font-weight: 700;
    color: #3a50d0;
    opacity: 0.1;
    position: absolute;
    top: 0;
    right: 0;
    transform: translateY(-30%);
    z-index: -1;
}
.column-55 .heading3 {
    font-family: 'Dancing Script', cursive;
    font-size: 250px;
    font-weight: 700;
    color: #3a50d0;
    opacity: 0.1;
    position: absolute;
    top: 0;
    right: 0;
    transform: translateY(-30%);
    z-index: -1;
}

#service img {
    border-radius: 20px;
}
#service h3 {
    font-size: 24px;
    font-weight: 700;
    margin-bottom: 24px;
}

@media only screen and (max-width: 481px) {
    .column-40 {
        width: 100%;
        margin-bottom: 30px;
    }
    .column-55 {
        width: 100%;
        margin-bottom: 30px;
    }
    .column-55 .heading {
        top: 55%;
        font-size: 90px;
        letter-spacing: 1.2px;
    }
    .column-55 .heading2 {
        font-size: 90px;
        top: 58%;
        letter-spacing: 1.2px;
    }
    .column-55 .heading3 {
        font-size: 90px;
        top: 55%;
        letter-spacing: 1.2px;
    }
    #service h3 {
        font-size: 17px;
    }
    #service .text {
        line-height: 1.7;
        font-size: 12px;
        padding: 25px 10px 0px;
    }
}

#company {
    width: 90%;
        max-width: 1120%;
        margin: 0 auto;
        position: relative;
    margin-bottom: 120px;
}
#company .flex {
  align-items: stretch;
}
#company dl {
    max-width: 900px;
    margin-left: auto;
}
#company dt {
    width: 30%;
    padding: 48px 0;
    font-weight: 500;
    border-bottom: solid 1px #3a50d0;
}
#company dd {
    width: 70%;
    padding: 48px;
    border-bottom: solid 1px #3a50d0;
}

@media only screen and (max-width: 481px) {
    #company dt {
        font-size: 12px;
    }
    #company dl {
        font-size: 14px;
    }
}

#contact {
    width: 90%;
    max-width: 1120px;
    margin: 0 auto;
    position: relative;
    margin-bottom: 120px;
}

#contact form {
    max-width: 700px;
    margin: 0 auto;
}
#contact label {
    display: block;
    margin-bottom: 16px;
    font-weight: 500;
}
#contact input, #contact textarea {
    border: solid 2px #0c1f89;
    display: block;
    width: 100%;
    padding: 13px 16px;
    margin-bottom: 30px;
    color: #16161a;
}
#contact input[type=submit] {
    text-align: center;
    background-color: #3a50d0;
    color: #ffffff;
    font-weight: 700;
    padding: 20px 16px 22px;
    letter-spacing: 2px;
    border-radius: 7px;
    transition-duration: .2s;
    width: 200px;
    margin-left: 240px;
}

#contact input[type=submit]:hover {
    background-color: #0c1f89;
}

@media only screen and (max-width: 481px) {
    #contact {
        width: 80%;
    }
    #contact input[type=submit] {
        margin: 0 auto;
        font-weight: 200;
    padding: 12px 10px;
    letter-spacing: 1px;
    border-radius: 5px;
    transition-duration: .2s;
    width: 100px;
    
    }
}

.column-a {
    background-image: url(../images/bottom1.jpg);
    background-position: center;
    background-size: cover;
    width: 27%;
    height: 270px;
    border-radius: 17px;
}
.column-b {
    background-image: url(../images/bottom2.jpg);
    background-position: center;
    background-size: cover;
    width: 26%;
    height: 270px;
    border-radius: 17px;
}
.column-c {
    background-image: url(../images/bottom3.jpg);
    background-position: center;
    background-size: cover;
    width: 20%;
    height: 270px;
    border-radius: 17px;
}
.column-d {
    background-image: url(../images/bottom4.jpg);
    background-position: center;
    background-size: cover;
    width: 24%;
    height: 270px;
    border-radius: 17px;
}

@media only screen and (max-width: 481px) {
    .column-a, .column-b, .column-c, .column-d {
        width: 48%;
        height: 140px;
        margin: 1%;
    }
}

footer {
    text-align: center;
    margin: 90px 0;
}
.footer_logo {
    color: #000000;
    font-size: 20px;
}
.copyright {
    font-size: 12px;
    margin-top: 40px;
}
