@charset "UTF-8";

* {
    box-sizing: border-box;
    font-family: Lato, YuGothic;
}

body {
    width: 100%;
    margin: 0;
}
header {
    width: 100%;
    margin: 0 auto;
}
.header_wrapper {
    width: 100%;
    height: 800px;
    margin: 0 auto;
    background: url(../img/main.png)no-repeat;
    background-size: cover;
    position: relative;
}
.header_wrapper img {
    position: absolute;
    top: 10px;
    left: 20%;
    width: 150px;
}
h1 {
    font-size: 40px;
    color: black;
    position: absolute;
    top: 220px;
    left: 40%;
}
.gnav {
    color: black;
    display: flex;
    position: absolute;
    top: 20px;
    right: 20%;
}
.gnav a {
    color: black;
    display: inline-block;
    text-decoration: none;
}
.gnav li {
    font-size: 16px;
    padding: 0 10px;
    display: inline-block;
}
.gnav a:hover {
    color: yellow;
}
h2 {
    font-size: 36px;
    text-align: center;
    padding-bottom: 70px;
}
h3 {
    font-size: 24px;
    padding: 30px auto;
}
.sp {
    display: none;
}
#information {
    margin-top: 200px;
    margin-bottom: 200px;
}
.row-unit {
    display: flex;
    margin-top: 20px;
    margin-bottom: 20px;
    margin-left: 30%;
}
.dateandinfo {
    display: flex;
}
.infoicon {
    border: 1px solid black;
    margin-left: 20px;
    margin-right: 20px;
}
hr {
    width: 70%;
    margin: 0 auto;
}
.case1 {
    display: flex;
}
.unit1 {
    width: 40%;
    text-align: center;
    align-items: center;
}
.ph {
    width: 100%;
    padding: 30px auto;
}
.detail {
    width: 50%;
    padding-top: 30px;
}
.spacer1 {
    width: 5%;
}
.spacer2 {
    width: 10%;
}
.itiran {
    width: 15%;
    margin-left: 40%;
    margin-top: 50px;
    margin-bottom: 100px;
    padding: 5px;
    border: 1px solid black;
    text-align: center;
}
.itiran p {
    font-size: 24px;
}
.t-wrapper {
    display: flex;
}
.no1 {
    width: 33.3%;
}
.no1 img {
    width: 100%;
}
.no1 img:hover {
    opacity: 0.5;
}
.footer {
    background-color: black;
    color: white;
    width: 100%;
    height: 200px;
    position: relative;
}
.footer img {
    position: absolute;
    top: 20px;
    left: 20%;
    text-align: center;
}
.gnav1 {
    color: white;
    display: flex;
    position: absolute;
    top: 20px;
    right: 20%;
}
.gnav1 a {
    color: white;
    display: inline-block;
    text-decoration: none;
}
.gnav1 li {
    font-size: 16px;
    padding: 0 10px;
    display: inline-block;
}
.gnav1 a:hover {
    color: yellow;
}
.footer p {
    position: absolute;
    bottom: 5px;
    left: 45%;
    font-size: 11px;
}

@media screen and (max-width:420px) {
    .header_wrapper {
        height: 400px;
    }
    .header_wrapper img {
        left: 5px;
        width: 80px;
    }
    h1 {
        position: absolute;
        top: 100px;
        left: 20%;
        font-size: 24px;
    }
    .gnav {
        display: none;
    }
    h2 {
        padding-bottom: 30px;
    }
    #information {
        margin-top: 30px;
        margin-bottom: 30px;
    }
    .row-unit {
        display: block;
        margin-left: 20%;
    }
    hr {
        width: 90%;
        margin: 0 auto;
    }
    .case1 {
        display: block;
    }
    .unit1 {
        width: 100%;
    }
    .ph {
        width: 90%;
        padding: 10px auto;
    }
    .detail {
        padding-top: 10px;
    }
    .spacer1 {
        display: none;
    }
    .spacer2 {
        display: none;
    }
    .itiran {
        width: 40%;
        margin-top: 20px;
        margin-bottom: 100px;
        margin-left: 30%;
    }
    .t-wrapper {
        display: block;
    }
    .no1 {
        width: 100%;
    }
    .footer img {
        position: absolute;
        top: 130px;
        left: 35%;
        width: 100px;
    }
    .gnav1 {
        display: block;
        right: 40%;
    }
    .gnav1 li {
        display: block;
        text-align: center;
    }
    .footer p {
        left: 30%;
    }
}