@charset "utf-8";

section:first-of-type img{
    width: 100%;
    height: 700px;
}

section:first-of-type h2{
    padding-left: 50px;
    margin-top: 10px;
    text-align: center;
}

table {
    margin: 30px auto 100px auto;
  border: 1px solid;
  width: 700px;
  font-size: 18px;
 
}

/* th, td に border */
table th,
table td{
  border: 1px solid;
 
}

th{
    width: 200px;
}

td{
    padding: 15px;
}
.mini h2{
     text-decoration: underline dotted 2px #000;
    text-underline-offset: 10px;
}

.mini{
    font-size: 18px;
}

table,
table th,
table td{
  border: 1px solid;
  border-collapse: collapse;
}

.page{
    padding-top: 10px;
    text-align: center;
    font-size: 30px;
    background-color: rgb(226, 200, 226);
    height: 70px;
    margin-bottom: 50px;
    
}

.flex{
    display: flex;
    justify-content: space-around;
}

.flex img{
    width: 500px;
}

.mini{
     background-color: rgb(243, 221, 234);
     width: 650px;
     padding-left: 10px;
     padding-bottom: 30px;
}

.mini ul li{
    list-style: none;
}

.txt{
   
    margin-top: 100px;
    line-height: 2;

}

.txt h2{
    font-size: 28px;
 text-align: center;
 margin-bottom: 10px;
   
}

section:nth-of-type(3) img{
    width: 100%;
    height: 700px;
    margin-top: 100px;
    outline: 3px #000 solid;
}
section:nth-of-type(4) img{
    margin-top: 100px;
    width: 100%;
    height: 700px;
    outline: 3px #000 solid;
}

section:nth-of-type(5){
    margin-bottom: 100px;
}

.txtbox h2{
     text-decoration: underline dotted 2px #000;
    text-underline-offset: 7px;
}

.txtbox {
    text-align: center;
    display: flex;
    justify-content: center;
    flex-direction: column;
    align-items: center;
    line-height: 2;
    background-color: rgb(243, 221, 234);
    width: 600px;
    display: block;
    margin: 50px auto 0 auto;
    padding-bottom: 20px;
   
}

.txtbox p{
     font-size: 18px;
}

.last{

   padding-top: 10px;
    text-align: center;
    font-size: 30px;
    background-color: rgb(226, 200, 226);
    height: 70px;
    margin-top: 100px;
margin-bottom: 50px;
}


.txtbox2 p{
     font-size: 18px;
}

.txtbox2{
    line-height: 2;
     background-color: rgb(243, 221, 234);
     padding: 10px 20px 10px 20px; 
}

.txtbox2 h2{
    text-decoration: underline dotted 2px #000;
    text-underline-offset: 7px;
}

.lastme{
     padding-top: 10px;
    text-align: center;
    font-size: 30px;
    background-color: rgb(226, 200, 226);
    height: 70px;
    margin-top: 100px;
margin-bottom: 50px;
}

.res{
    display: none;
}

@media (max-width:500px){
    body p{
    font-size: 16px;
}

body h2{
    font-size: 20px;
}
    section:nth-of-type(1) img{
       width: 100%;
       height: 300px;
    }
    section:nth-of-type(1) h2:nth-of-type(1){
        text-align: center;
        font-size: 30px;
        padding: 0;
        display: none;
    }
 .res{
    text-align: center;
    font-size: 28px;
    margin: 0 auto;
    display: block;
    padding: 0;
}

    table{
        width: 100%;

    }
    th{
        width: 100px;
    }
    th,td{
        font-size: 16px;
    }

    .flex{
        display: block;
    }
    section:nth-of-type(2) img,
    section:nth-of-type(3) img,
    section:nth-of-type(4) img{
        width: 100%;
        
    }
    section:nth-of-type(3) img,
    section:nth-of-type(4) img{
        height: 300px;
    }

    .mini{
        width: 100%;
    }

    .txtbox{
      width: 100%;
    }

    .flex img{
        width: 100%;
    }
    .lastme{
        font-size: 20px;
        height: 50px;
    }

    .last{
        font-size: 20px;
        height: 50px;
    }

    .textbox2{
        width: 100%;
    }
    .page{
        margin-top: 40px;
        margin-bottom: 40px;
        font-size: 20px;
        height: 50px;
    }
    table{
        margin-bottom: 0;
    }
    
.lastimg{
    margin-top: 0;
}

.last{
    margin-top: 40px;
    margin-bottom: 40px;
    font-size: 20px;
    height: 50px;
}

}