html, body,
ul, ol, li,
h1, h2, h3, h4, h5, h6, p, div, aside {
  margin: 0;
  padding: 0;
}
img {
    display: block;
    max-width: 1000px;
    height: auto;
}
a {
    text-decoration: none;
}
li {
    list-style: none;
}
* {
    box-sizing: border-box;
}
body {
    width: 1000px;
    height: 1500px;
    margin: 0 auto;
    font-family: "Yu Gothic","'arial",sans-serif;
}
header {
    width: 100%;
    margin: 0 auto;
    background-color: white;
}
.header-main {
    display: flex;
    justify-content: space-between;
    align-items: flex-end;
    border-bottom: 1px solid lightgray;
}
.header-absolute {
    margin-left: 20px;
}
.header-left {
    margin-left: 10px ;
    display: flex;
    justify-content: flex-end;
    align-items: flex-end;    
    margin-bottom: 5px;
}
.header-absolute a {
    font-size: 25px;
    font-weight: bold;
    color: black;
}
.header-absolute p {
    font-size: 12px;
    font-weight: normal;
}

.header-boxs {
    display: flex;
}
.header-right {
    margin-right: 20px;
    display: flex;
    justify-content: space-between;
    align-items: flex-end;
    margin-bottom: 5px;
}
.header-boxs {
    display: flex;
}
.header-box {
    width: 55px;
    height: 55px;
    margin-left: 10px;
}
.header-box img {
    width: 100%;
    height: 100%;
}
.header-responsive {
    display: none;
}

/* header-end */

.main-link {
    height: 70px;
    background-color: white;
}
.main-link-list {
    height: 70px;
    display: flex;
    align-items: center;
    justify-content: space-around;
}
.main-link-list li {
    color: black;
}

/* nav end */

.under-tab {
    display: none;
}

/* under-tab */

/* main */
.main-1-flex {
    overflow-x: scroll;
    -webkit-overflow-scrolling: touch;
    padding: 0 0 12px 8px;
    display: -ms-flexbox;
    display: flex; 
}
.main-1-flex > li:not(:last-child) {
    margin-right: 10px; 
}
.main-1-flex > li:last-child {
    padding-right: 5px; 
}
.main-1-flex img {
    vertical-align: bottom; 
}
.main-1 img {
    /* width: 35vw; */
    margin: 0;
}
.main-1 {
    position: relative;
}
.main-1res {
    display: none;
}
.p1 {
    position: absolute;
    top: 100px;
    left: 600px;
    font-size: 25px;
    font-weight: bold;
}
.p2 {
    position: absolute;
    top: 200px;
    left: 600px;
    font-size: 20px;
    font-weight: bold;
    margin-right: 5%;
}
.p3 {
    position: absolute;
    top: 300px;
    left: 600px;
    font-size: 20px;
}
.p4 {
    position: absolute;
    top: 90px;
    left: 600px;
    font-size: 25px;font-weight: bold;
}
.p5 {
    position: absolute;
    top: 200px;
    left: 600px;
    font-size: 20px;    
    margin-right: 20px;
}
.p6 {
    position: absolute;
    top: 370px;
    left: 600px;
    font-size: 20px;
    color: black;
    border-bottom: 1px solid black;
}
.p7 {
    position: absolute;
    top: 370px;
    left: 600px;
    font-size: 20px;
    margin-right: 20px;
    color: black;
    border-bottom: 1px solid black;
}
.p8 {
    position: absolute;
    top: 50px;
    left: 400px;
    font-size: 25px;
}
.p9 {
    position: absolute;
    top: 120px;
    left: 400px;
    font-size: 20px;
    margin-right: 2%;
}
.p10 {
    position: absolute;
    top: 170px;
    left: 400px;
    font-size: 20px;
    margin-right: 2%;
}
.p11 {
    position: absolute;
    top: 250px;
    left: 400px;
    font-size: 20px;
    /* font-weight: bold; */
    color: black;
    border-bottom: 1px solid black;
}
.main-2 {
    margin-top: 50px;
}
.sa2 {
    font-size: 18px;
    /*font-weight: bold;*/
}
.sa {
    display: flex;
    justify-content: space-between;
    margin: 10px 0;
}
.sa1 {
    position: relative;
}
.sa1-res {
    display: none;
}
.sa1 p {
    position: absolute;
    top: 10px;
    left: 10px;
    font-size: 18px;
    /*font-weight: bold;*/
}
.sa1 img {
    border: 1px solid lightgray;
}
.sa2 {
    font-size: 25px;
}
.main-3 {
    /* margin-left: 20px;
    margin-right: 20px; */
    margin-bottom: 20px;
    background-color: cornsilk;
    padding: 10px;
}
.main-3-1 {
    font-size: 25px;
    font-weight: bold;
    margin-bottom: 20px;
}
.main-3-2 li {
    /* list-style-type: disc; */
    margin-bottom: 10px;
}
.main-4 {
    margin: 20px 0;
    position: relative;
}
.main-4res {
    display: none;
}
.main-4-1-res {
    display: none;
}
.main-4 img {
    width: 100%;
    margin: 0 auto;
}
.main-4 a {
    color: black;
}
.main-4-1 {
    position: absolute;
    top: 20px;
    left: 20px;
    font-size: 25px;
    /*font-weight: bold;*/
}
.main-4-2 {
    position: absolute;
    top: 80px;
    left: 20px;
    font-size: 16px;
}
.main-4-link {
    position: absolute;
    top: 180px;
    left: 20px;
    font-size: 16px;
    border-bottom: 1px solid black;
}


@media(max-width: 770px) {
    body {
        height: auto;
        width: 100%;
        /* margin: 0 auto; */
    }    
    div {
        margin: 0 auto;
        padding: 0;
    }
    .main-link {
        display: none;
    }
    
    /* header */

   .header-main {
        border-bottom: none;
        align-items: flex-end;
        margin-top: 5px;
    }
    .header-responsive {
        display: block;
    } 
    .header-responsive p {
        font-size: 3vw;
        margin-left: 10px;
    }   
    .header-absolute {
        margin: 0;
    }
    .header-absolute a {
        font-size: 5vw;
    }
    
    .header-absolute-p {
        display: none;
    }
    .header-left {
        margin: 0 0 5px 10px;
    }   
    .header-right {
        margin-right: 10px;
        display: flex;
        justify-content: space-between;
        align-items: flex-end;
        margin-bottom: 5px;
    }
    .header-boxs {
        display: flex;
    }
    .header-box {
        width: 30px;
        height: 30px;
        /* margin-left: 10px; */
    }
    .header-box img {
        width: 100%;
        height: 100%;
        /* margin-left: 10px; */
    }

    /* main */
    
    .main-1 img {
        width: 260px;
    }
    .main-1res {
        display: block;
        width: 90%;
        margin-top: 10px;
    }
    .main-1-flex {
        /* overflow-x: inherit; */
        padding: 0 8px 6px; 
    }
    .main-1-flex > li {
        min-width: inherit; 
    }
    .main-1-flex > li:last-child {
        padding-right: 0; 
    }  
    .main-1-gazou {
        position: relative;
    }  
    .p1-res {
        top: 35px;
        left: 145px;
        font-size: 15px;
        /*font-weight: bold;*/
        position: absolute;
    }
    .p2-res {
        font-size: 13px;
        /*font-weight: bold;*/
    }
    .p3-res {
        font-size: 10px;
    }
    .p4-res {
        background-color: lightgray;
        margin: 10px 0;
        font-size: 13px;
        padding: 5px 0; 
        text-align: center;
        color: black;
    }
    .p5-res {
        background-color: lightgray;
        margin-top: 36px;
        font-size: 13px;
        padding: 5px 0; 
        text-align: center;
        color: black;
    }
    .p8-res {
        position: absolute;
        top: 35px;
        left: 110px;
        font-size: 15px;
        /*font-weight: bold;*/
    }
    .p9-res {
        font-size: 10px;
    }
    .p10-res {        
        font-size: 10px;
    }
    .p12-res {
        top: 35px;
        left: 170px;
        font-size: 15px;
        /*font-weight: bold;*/
        position: absolute;
    }
    .p13-res {
        background-color: lightgray;
        margin: 10px 0;
        font-size: 10px;
        padding: 5px 0; 
        text-align: center;
        color: black;
    }
    .p14-res {
        background-color: lightgray;
        margin-top: 36px;
        font-size: 13px;
        padding: 5px 0; 
        text-align: center;
        color: black;
    }
    .p1 {
        display: none;
    }
    .p2 {
        display: none;
    }
    .p3 {
        display: none;
    }
    .p4 {
        display: none;
    }
    .p5 {
        display: none;
    }
    .p6 {
        display: none;
    }
    .p7 {
        display: none;
    }
    .p8 {
        display: none;
    }
    .p9 {
        display: none;
    }
    .p10 {
        display: none;
    }
    .p11 {
        display: none;
    }
    .main-2 {
        width: 100%;
        margin: 0 auto;
    }
    .sa {
        display: flex;
        flex-direction: column;
        margin: 0 auto;
    }
    .sa1 {
        display: none;
    }
    .sa1-res {
        /* margin-bottom: 10px;
        width: 100%;
        margin: 0 auto; */
        position: relative;
        display: block;
    }
    .sa1-res p {
        border-bottom: 1px solid black;
    }
    .sa1-res img {
        width: 95%;
        margin: 10px auto;
        border: 1px solid lightgray;
    }
    .sa1-res p {
        position: absolute;
        top: 20px;
        left: 20px;
        /*font-weight: bold;*/
    }
    .sa1-res a {
        color: black;
    }
    .sa2 {
        font-size: 5vw;
        margin-left: 10px;
    }
    .main-3-1 {
        font-size: 5vw;
    }
    .main-3-2 li {
        font-size: 4vw;
    }
    .main-4-1 {        
        top: 2%;
        left: 2%;
        font-size: 5vw;
        /*font-weight: bold;*/
    }
    .main-4-2 {
        display: none;        
    }
    .main-4-link {
        display: none;
    }
    .main-4res {
        display: block;
        margin: 10px;
    }
    .main-4-1 {
        display: none;
    }
    .main-4-1-res {
        display: block;
        position: absolute;
        top: 0;
        left: 0;
        font-size: 5vw;
        /*font-weight: bold;*/
        margin-left: 10px;
    }

    .main-4res p {
        font-size: 4vw;
    }
    .main-4reslink {
        margin-top: 10px;
        background-color: lightgray;
        padding: 10px;
        font-size: 4vw;
    }
   
    /* under-tab */

    .under-tab {
        display: block;
        position: fixed;
        bottom: 0;
        width: 100%;
        z-index: 10;
    }
    .under-boxs {
        background-color: lightgray;
        display: flex;
        justify-content: space-around;
    }
    .under-box {
        width: 65px;
        height: 55px;
        background-color: lightgray;
        color: gray;
        display: flex;
        justify-content: center;
        flex-direction: column;
        align-items: center;
    }
    .under-box p {
        font-size: 10px;
        margin-top: 3px;
    }
    .fas {
        font-size: 25px;
    }
    p {
        display: block;
        margin-block-start: 0px;
        margin-block-end: 0px;
        margin-inline-start: 0px;
        margin-inline-end: 0px;
    }
}