@charset "UTF-8";

/* basic css */
body {
    font-family: "Roboto", Poppins, sans-serif;
}

/* reset, normalize, sanitize */
body,
h1,
h2,
h3,
h4,
h5,
h6,
p,
ul,
figure {
    margin: 0;
    padding: 0;
}

a {
    color: inherit;
    text-decoration: none;
}

a:hover {
    opacity: 0.8;
}

/* header */
.site {
    display: flex;
    align-items: center;
}

.site img {
    width: 42px;
    margin-top: 10px;
}

.site .name {
    color: #333;
    font-size: 14px;
    font-weight: 900;
    line-height: 1.2;
}

.nav-button {
    box-sizing: content-box;
    padding: 0;
    outline: none;
    border: none;
    background: none;
    width: 20px;
    height: 14px;
    cursor: pointer;
    color: #2e5180;
   
}

.nav-button::before,
.nav-button::after {
    content: "";
    display: block;
    height: 2px;
    background-color: currentColor;
    transform: translateY(5px);
    transition: 0.3s ease-in-out;
}

.nav-button::before {
    transform: translateY(-5px);
    box-shadow: 0 6px currentColor;
}


/* Nav close button */
.open .nav-button {
    z-index: 1000;
    color: #fff;
}

.open .nav-button::before {
    transform: translateY(1px) rotate(45deg);
    box-shadow: none;
}


.open .nav-button::after{
    transform: translateY(-1px) rotate(-45deg);
}










.sr-only {
    border: 0;
    clip: rect(0 0 0 0);
    height: 1px;
    margin: -1px;
    padding: 0;
    overflow: hidden;
    position: absolute;
    width: 1px;
}

.container {
    width: 84%;
    margin: 0 auto;
}

.header .container {
    display: flex;
    justify-content: space-between;
    align-items: center;
    height: 74px;
}

/* hero */
.hero {
    height: 400px;
    background-image: url(img/hero.jpg);
    background-position: center;
    background-size: cover;
    display: flex;
}

.hero img {
    max-width: 100%;
    height: auto;
    vertical-align: bottom;
}

.hero .headline {
    flex: auto;
    align-self: flex-end;
    padding: 33px 0;
    background-color: rgba(255, 255, 255, 0.76);
}

.hero .container {
    display: flex;
    flex-direction: column-reverse;
    align-items: center;
}

.hero p {
    font-size: 15px;
    color: #2e5180;
    margin-bottom: 15px;
}

/* message */
.message {
    padding: 67px 0;
    background-color: #2e5180;
    color: #fff;
}

.message h2 {
    margin-bottom: 38px;
    font-size: 26px;
    line-height: 1.62;
    text-align: center;
}

.message p {
    max-width: 640px;
    margin: auto;
    font-size: 15px;
    line-height: 1.73;
}

/* Service */
.service {
    padding: 67px 0;
    text-align: center;
}

.service h2 {
    display: inline-block;
    margin-bottom: 16px;
    padding-bottom: 9px;
    border-bottom: dotted 2px currentColor;
    font-size: 64px;
    color: #2e5180;
}

.service h2+p {
    color: #2e5180;
    font-size: 16px;
}

/* Service Features */
.features {
    margin-top: 53px;
    color: #333;
}

.feature:not(:last-child) {
    margin-bottom: 67px;
}

.feature h3 {
    margin-bottom: 17px;
    font-size: 22px;
    line-height: 1.6;
}

.feature p {
    max-width: 264px;
    margin: 0 auto 25px;
    font-size: 13px;
    line-height: 1.85;
}

.feature figure img {
    max-width: 100%;
    height: 246px;
    object-fit: cover;
    margin-bottom: 22px;
    vertical-align: bottom;
}

.btn {
    display: block;
    width: 208px;
    margin: 0 auto;
    padding: 13px 13px 14px;
    box-sizing: border-box;
    border: solid 2px currentcolor;
    border-radius: 24px;
    color: #2e5180;
    font-size: 16px;
    font-weight: bold;
    text-align: center;
}

.btn:hover {
    color: #fff;
    background-color: #2e5180;
    transition: .1s ease-in;
}

/* Contact Us */
.contact {
    padding: 62px 0;
    background-color: #eef4f8;
    color: #333;
}

.contact h2 {
    margin-bottom: 42px;
    font-size: 26px;
}

.contact h2+p {
    font-size: 13px;
    line-height: 2;
}

/* Contact Us Form */
.form {
    margin-top: 46px;
}

.form input[type="text"],
.form input[type="email"],
.form textarea {
    width: 100%;
    margin-bottom: 17px;
    padding: 14px 20px 15px;
    border: solid 1px #cdd6dd ;
    box-sizing: border-box;
    border-radius: 0;
    -webkit-appearance: none;
}

.form textarea {
    height: 150px;
    /* font style type */
    -webkit-appearance: none;
    color: #333;
    font-family: 'Roboto', sans-serif;
    font-size: 16px;
    resize: none;
}

.form ::placeholder {
    color: #cdd6dd;
}

.btn {
    display: block;
    width: 208px;
    margin: 0 auto;
    padding: 11px 11px 13px;
    box-sizing: border-box;
    border: solid 2px currentColor;
    border-radius: 24px;
    color: #2e5180;
    font-size: 16px;
    font-weight: bold;
    text-align: center;
}

.form .btn {
    width: 100%;
    margin: 0;
    border: none;
    background-color: #2e5180;
    color: #fff;
    font-family: 'Roboto', sans-serif;
    cursor: pointer;
    -webkit-appearance: none;
}

.form .btn:hover{
    background-color: #fff;
    color: #2e5180;
    transition: 0.3s all ease-in;
    border: 2px solid #2e5180;
}

/* Footer */
.footer {
    padding: 38px 0 56px;
    background-color: #2e5180;
}

.footer .site .name {
    color: #fff;
    font-size: 18px;
}

.footer .site img {
    width: 47px;
    margin-right: 14px;
}

.footer .add {
    margin: 20px 0 36px 64px;
    color: #fff;
    font-size: 12px;
    line-height: 2;
}

.footer .sns {
    display: flex;
    margin-left: 61px;
    list-style: none;
}

.footer .sns li:not(:first-child) {
    margin-left: 25px;
}

.footer .sns img {
    width: 35px;
}


/* fade-in effect */
body {
    animation: fade 5s;
}


@keyframes fade {
    0% {
        opacity: 0;
    }

    100% {
        opacity: 1;
    }
}






/* Navigation Menu on Mobile */
@media (max-width: 899px) {
	html.open, .open body {
		height: 100%;
		overflow: hidden;
	}

	.open .form {
		display: none;
	}

	.open nav {
		left: 0;
	}

	.header {
		position: relative;
	}

	.nav {
		position: absolute;
		top: 0;
		left: 100%;
		width: 100%;
		height: 100vh;
		background: rgba(0,0,0,0.8);
		color: #ffffff;
		display: flex;
		justify-content: center;
		align-items: center;
		transition: left 0.5s;
	}

	html, body {
		overflow-x: hidden;
	}

	.nav ul {
		list-style: none;
		font-weight: bold;
		text-align: center;
	}

	.nav li:not(:last-child) {
		margin-bottom: 40px;
	}

	.nav .btn {
		color: inherit;
	}
}

/* Navigation Menu on Desktop */
@media (min-width: 900px) {
	.nav-button {
		display: none;
	}

	.nav ul {
		display: flex;
		align-items: center;
		list-style: none;
		color: #333333;
	}

	.nav li:not(:last-child) {
		margin-right: 23px;
	}

	.nav .btn {
		width: 148px;
		border-color: #CDD6DD;
	}
}


/* responsive breakpoints */
@media screen and (min-width: 900px) {
 
    /* make image and text increase their size */
    .site img {
        width: 59px;
        margin-right: 18px;
    }

    .site .name {
        font-size: 22px;
    }

    .site .desc {
        font-size: 12px;
    }

    /* width and height setting in 900px larger */
    .container {
        width: 91%;
        max-width: 1240px;
    }

    .header .container {
        height: 100px;
    }

    /* hero */
    .hero {
        height: 700px;
    }

    .hero .headline {
        padding: 47px 0 44px;
    }

    .hero p {
        font-size: 18px;
        margin-bottom: 22px;
    }

    /* message */
    .message {
        padding: 81px 0;
    }

    .message h2 {
        font-size: 36px;
        line-height: 1.33;
    }

    /* Service */
    .service {
        padding: 95px 0 87px;
    }

    .service h2 {
        font-size: 36px;
    }

    /* Features */
    .features {
        display: flex;
        margin-top: 75px;
    }

    .feature {
        flex: 1;
        margin-right: 3.22%;
    }

    .feature:first-child {
        margin-left: 3.22%;
    }

    .feature:not(:last-child) {
        margin-bottom: 0;
    }

    .feature h3 {
        margin-bottom: 26px;
        font-size: 30px;
        line-height: 1.4;
    }

    .feature p {
        width: 78%;
        max-width: none;
    }

    .feature figure img {
        height: 300px;
        margin-bottom: 33px;
    }

    .feature {
        display: flex;
        flex-direction: column;
    }

    .feature .btn {
        margin-top: auto;
    }

    /* Contact */
    .contact h2 {
        font-size: 36px;
    }

    .contact h2 + p {
        font-size: 15px;
        line-height:  1.73;
    }

    .form .btn {
        width: 272px;
    }

    .contact {
        background: none;
        padding: 0;
        position: relative;
        z-index: 2;
    }

    .contact .container {
        display: flex;
        justify-content: space-between;
        padding: 96px 9% 62px;
        box-sizing: border-box;
        background-color: #eef4f8;
    }

    .contact .text {
        flex: 0 0 auto;
    }

    .contact .form {
        flex: 1 1 auto;
        max-width: 457px;
        margin-left: 1em;
        margin-top: 0;
    }

    /* footer */
    .footer {
        margin-top: -48px;
        padding: 105px 0 88px;
    }

    .footer .container {
        display: flex;
        justify-content: space-between;
    }

    .footer .site img {
        width: 59px;
        margin-right: 18px;
    }

    .footer .site .name {
        font-size: 22px;
    }

    .footer .add {
        margin: 22px 0 0 77px;
    }

    .footer .sns {
        height: 59px;
        align-items: center;
    }
}

/* smaller screen */
@media screen and (max-width: 374px) {

    .site .name,
    .site .desc {
        display: none;
    }

    .message h2 {
        font-size: 20px;
    }

    /* Service */
    .service {
        padding: 67px 0;
    }
}