@import url('https://fonts.googleapis.com/css2?family=Noto+Sans+JP:wght@100;300;400&family=Roboto:wght@100;300&display=swap');

body {
    background-image: url(bg_art.png);
    font-family: 'Noto Sans JP', 'Roboto', sans-serif;
    font-weight: 300;
    font-size: 1.1rem;
    background-color: #fff;
    color: #242424;
    margin: 0;
    text-align: center;
    height: 100vh;
    display: grid;
    grid-template: 
    "...... ...... ...... ...... ......" 10px
    "...... header aside  aside  ......"
    "...... ...... aside  aside  ......" 30px
    "...... m1     aside  aside  ......"
    "...... ...... ...... ...... ......" 300px
    "m2     m2     m2     m2     m2    "
    "...... ...... ...... ...... ......" 300px
    "...... button button button ......"
    "...... ...... ...... ...... ......" 300px 
    "m3     m3     m3     m3     m3    "
    "...... ...... ...... ...... ......" 10px
    "...... bottom bottom bottom ......"
    "...... ...... ...... ...... ......" 100px
    "footer footer footer footer footer"
    "...... ...... ...... ...... ......" 100px  
    /5% 30% 30% 30% 5%;
}

img {
    border-radius: 30px;
    margin: 0;
    height: 100%;
    width: 100%;
    object-fit: cover;
    overflow: hidden;
}

header {
    grid-area: header;
    text-align: left;
    position: relative;
    top: 100px;
    left: 80px;
}

header img {
    width: 300px;
    object-fit: none;
}

.main1 {
    grid-area: m1;
}

.msg {
    text-align: left;
    position: relative;
    top: 30px;
    left: 180px;
}

h1 {
    font-size: 4rem;
    line-height: 90px;
    margin: 0;
    padding-top: 3rem;
    font-weight: 100;
}

#copy {
    background-color: #fff;
}

.sub {
    font-size: 1.3rem;
    line-height: 70px;
    margin: 0;
    padding-bottom: 2rem;
    font-weight: 100;
}

h2 {
    font-size: 2rem;
    margin-bottom: 0;
    padding-bottom: 0;
    font-weight: 100;
}

.sub2 {
    font-size: 0.8rem;
    margin-bottom: 70px;
    color: rgb(34, 99, 197);
}

aside {
    grid-area: aside;
}

.main2 {
    grid-area: m2;
    position: relative;
    font-size: 1.1rem;
    line-height: 30px;
    text-align: left;
}

.msg2 {
    text-align: center;
}

h3 {
    text-align: left;
    font-weight: 300;
    font-size: 1.5rem;
    margin-top: 5rem;
    margin-bottom: 5rem;
    position: relative;
    color: #333;
    text-shadow: 0 0 2px white;
}

h3:before {
    content: "";
    position: absolute;
    background: #d6e3ff;
    width: 50px;
    height: 40px;
    border-radius: 50%;
    top: 40%;
    /* border: dashed 1px white; */
    left: -30px;
    -webkit-transform: translateY(-50%);
    transform: translateY(-50%);
    z-index: -1;
}

.container {
    width: 95%;
    display: flex;
    justify-content: space-around;
    border-bottom: 0.1px solid rgb(228, 228, 228);
    margin: auto;
}

.reverse {
    display: flex;
}

.left {
    margin: 100px 20px;
    padding: 0 25px;
    width: 50%;
}

.right {
    margin: 100px 20px;
    padding: 0 25px;
    width: 50%;
}

.main3 {
    grid-area: m3;
}

table {
    width: 70%;
    margin: auto;
    border-spacing: 100px 100px;
    list-style: none;
}

th {
    text-align: left;
    font-size: 1.3rem;
    border-bottom: 1px solid rgb(177, 177, 177);
    width: 25%;
    vertical-align: bottom;
    font-weight: 300;
    padding-bottom: 10px;
}

td {
    text-align: left;
    font-size: 1.2rem;
    border-bottom: 1px solid rgb(177, 177, 177);
    width: 75%;
    padding-bottom: 10px;

}

.contact {
    position: fixed;
    bottom: 0;
    right: 0;
    background: rgba(255, 255, 255, 0.389);
    padding: 10px 20px 10px 20px;
    border-radius: 20px 0 0 0;
    font-weight: bold;
}

.cbt {
    display: inline-block;
    padding: 10px 20px;
    text-decoration: none;
    border: 1px;
    background: #06C755;
    color: #fff;
    font-weight: bold;
    border-radius: 5px;
    box-shadow: 0 2px 4px #575;
    font-family: 'Noto Sans JP', 'Roboto', sans-serif;
}

.cbt:hover {
    transform: translateY(4px);
    box-shadow: none;
}

.Company {
    grid-area: bottom;
}

footer {
    grid-area: footer;
    padding-bottom: 100px;
}



@media screen and (max-width: 1000px) {
    body {
        /* background-image: url(bg_art_mob.png); */
        background-size: auto;
        font-size: 1rem;
        grid-template:
            "...... ...... ...... ...... ......" 10px
            "...... header ...... ...... ......"
            "...... ...... ...... ...... ......" 10px
            "...... aside  aside  aside  ......" 
            "...... ...... ...... ...... ......" 10px
            "...... m1     m1     ...... ......"
            "...... ...... ...... ...... ......" 100px
            "...... m2     m2     m2     ......"
            "...... ...... ...... ...... ......" 100px 
            "m3     m3     m3     m3     m3    "
            "...... ...... ...... ...... ......" 100px 
            "...... bottom bottom bottom ......"
            "...... ...... ...... ...... ......" 50px 
            "footer footer footer footer footer"
            "...... ...... ...... ...... ......" 100px 
            /5% 30% 30% 30% 5%;
    }

    img {
        border-radius: 10px;
    }

    header {
        position: static;
    }

    header img {
        display: block;
        width: 150px;
        margin: 10px 0;
        object-fit: scale-down;
    }

    .msg {
        position: relative;
        top: 10px;
        left: 10px;
    }

    .msg2 {
        font-size: 0.9rem;
    }

    h1 {
        font-size: 2rem;
        line-height: 50px;
    }

    h2 {
        font-size: 1.4rem;
    }

    .sub {
        font-size: 0.8rem;
    }

    .sub2 {
        font-size: 0.2rem;
        margin-bottom: 0;
    }

    .container {
        flex-flow: column;
        border-style: none;
    }

    .reverse {
        display: flex;
        flex-direction: column-reverse;
    }

    /* .container img {
        width: 100%;
    } */

    .left {
        margin: auto;
        padding: 0;
        width: 100%;
    }
    
    .right {
        margin: auto;
        padding: 0;
        width: 100%;
    }

    h3 {
        font-size: 1.3rem;
        margin-top: 80px;
        margin-bottom: 30px;
        margin-left: 10px;
    }

    .container p {
        font-size: 0.9rem;
        padding-bottom: 15px;
        line-height: 25px;
    }

    h3:before {
        width: 30px;
        height: 22px;
        border-radius: 50%;
        left: -18px;
    }

    table {
        border-spacing: 30px 30px;
        list-style: none;
    }
    
    th {
        text-align: left;
        font-size: 0.8rem;
        border-bottom: 1px solid rgb(177, 177, 177);
        /* width: 25%; */
        vertical-align: bottom;
        font-weight: 300;
        padding-bottom: 10px;
        padding-top: 40px;
        border-style: none;
    }
    
    td {
        text-align: left;
        font-size: 1rem;
        border-bottom: 1px solid rgb(177, 177, 177);
        /* width: 75%; */
        padding-bottom: 10px;
    }

    table,tbody,tr,td,th {
        width: 95%;    /* 幅を100%にする */
        display: block; /* ブロック要素にする */
        margin: auto;
    }

    .contact {
        left: 0;
        font-size: 0.85rem;
        padding: 0px;
    }

    #cmsg {
        display: none;
    }

    .cbt {
        margin: 5px 0 5px 0;
        padding: 5px 10px;
    }

    footer {
        padding-bottom: 80px;
    }

}

@media screen and (max-width: 480px) {
    body {
        background-image: url(bg_art_mob.png);
    }
}