@charset "UTF-8";

.container {
    display: grid;
}
body {
    margin: 0 auto;
    padding: 0;
}
a {
    color: #000000;
    text-decoration: none;
}
a:hover {
    color: #8385ff;
}
p {
    font-size: 16px;
    line-height: 1.8;
    padding: 8px;
}
h1 {
    font-size: 20px;
    line-height: 1.2;
    padding: 5px;
}
h2 {
    font-size: 16px;
    line-height: 1.2;
    padding: 5px;
}
#heager-top {
    display: flex;
    flex-direction: row;
}
.logo {
    background-color: #39773898;
    border-radius: 70%;
    margin: 10px 10px;
}
.heager-title {
    width: 150px;
    margin-top: 45px;
}
#heager-lien {
    display: flex;
    flex-direction: column;
    width: 300px;
    margin: 0 auto;
    padding: 0;
}
.lien-sns {
    margin-top: -80px;
}
#heager-img {
    margin-top: 20px;
}
#content {
    margin-top: 50px;
}
.content5 {
    margin-left: 10%;
    padding: 0;
    margin-bottom: 100px;
}
.substitute2 {
    margin-bottom: 100px;
}
.sentence {
    width: 120px;
    margin-top: -5px;
    margin-left: 0;
    border-bottom-style: solid;
    border-color: rgb(4, 170, 18);
}
.substitute3 {
    margin-bottom: 100px;
}
.sentence3 {
    width: 220px;
    margin-top: -5px;
    margin-left: 0;
    border-bottom-style: solid;
    border-color: rgb(4, 170, 18);
}
.substitute5 {
    margin-bottom: 100px;
}
.sentence5 {
    width: 240px;
    margin-top: -5px;
    margin-left: 0;
    border-bottom-style: solid;
    border-color: rgb(4, 170, 18);
}
.substitute6 {
    margin-bottom: 100px;
}
.sentence7 {
    width: 290px;
    font-size: 18px;
    margin-top: -5px;
    margin-left: 0;
    border-bottom-style: solid;
    border-color: rgb(4, 170, 18);
}
.oversixed-garbage8 {
    margin-bottom: 100px;
}
.item5 {
    background-color: #39773898;
}
.footer1 {
    width: 70%;
    margin: 0 auto;
    text-align: center;
    display: flex;
    flex-direction: column;
}
.footer2 {
    margin-bottom: 0;
}
.detecitve2 {
    margin-top: 10px;
    margin-bottom: 20px;
}
.handyman2 {
    margin-top: 10px;
    margin-bottom: 20px;
}
.lien-img {
    width: 400px;
    margin: 0 auto;
}
.lien-download,.lien-friend {
    color: chartreuse;
}
.lien-download {
    margin-left: 20px;
}
.lien-friend {
margin-left: 80px;
}
@media (min-width: 640px) {
    .container {
        display: grid;
        grid-template-columns: 1fr 6fr 1fr;
    }
    .item1 {
        grid-column-start: 1;
        grid-column-end: 4;
    }
    .item5 {
        grid-column-start: 1;
        grid-column-end: 4;
    }
    .content4 {
        width: 360px;
        height: 220px;
    }
}
@media (min-width: 1024px) {
    .container {
        grid-template-columns: 1fr 3fr 1fr;
    }
    p {
        font-size: 18px;
    }
    h1 {
        font-size: 22px;
    }
    h2 {
        font-size: 20px;
    }
    #heager-top {
        float: left;
    }
    .heager-title {
        width: 200px;
    }
    #heager-lien {
        display: block;
        float: right;
        width: 550px;
    }
    .mail {     
        width: 220px;
        height: 150px;
    }
    .lien-sns {
        margin-top: 0;
        width: 220px;
        height: 150px;
        margin-left: 30px;
    }
    .sentence {
        width: 135px;
    }
    .sentence3 {
        width: 245px;
    }
    .sentence5 {
        width: 270px;
    }
    .sentence7 {
        width: 355px;
    }
    .content4 {
        width: 400px;
        height: 250px;
    }
    .footer1 {
        width: 80%;
        height: 120px;
        flex-direction: row;
        justify-content: space-around;
    }
    .detecitve2 {
        margin-top: 20px;
        margin-bottom: 0;
    }
    
    .footer3,.detecitve2,.handyman2 {
        margin-top: 40px;
    }
}
@media (min-width: 1440px) {
    .container {
        grid-template-columns: 1fr 2fr 1fr;
    }
    #heager-img {
        width: 70%;
        margin: 0 auto;
        padding: 0;
    }
    .heager-img2 {
        height: 60%;
    }
}
@media (min-width: 1920px) {
    .container {
        grid-template-columns: 1fr 1fr 1fr;
    }
    .logo {
        margin-top: 20px;
        margin-left: 100px;
    }
    .heager-title {
        margin-top: 50px;
    }
    #heager-lien {
        width: 700px;
    }
    .mail {
        width: 300px;
        height: 180px;
    }
    .lien-sns {
        width: 300px;
        height: 180px;
    }
    .footer1 {
        width: 50%;
    }
}
@media (min-width: 2560px) {
    p {
        font-size: 22px;
    }
    h1 {
        font-size: 24px;
    }
    h2 {
        font-size: 22px;
    }
    h4 {
        font-size: 18px;
    }
    a {
        font-size: 20px;
    }
    .logo {
        margin-left: 500px;
    }
    .heager-title {
        margin-top: 50px;
    }
    #heager-lien {
        width: 900px;
    }
    .mail {
        width: 320px;
        height: 200px;
    }
    .lien-sns {
        width: 320px;
        height: 200px;
    }
    .sentence {
        width: 145px;
    }
    .sentence3 {
        width: 265px;
    }
    .sentence5 {
        width: 290px;
    }
    .sentence7 {
        width: 385px;
    }
    .content4 {
        width: 480px;
        height: 300px;
    }
}
