@charset "utf-8";

body{
    background-color: #000;
    color: #a41919;
}

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;
}

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

td{
    padding-left: 10px;
}


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

.box{
font-family: "my-font";
}
@font-face {
    font-family: 'my-font';
    src: url('../onryou.TTF') format('truetype');
}

.box h2{
      padding-left: 50px;
    margin-top: 10px;
    text-align: center;
    font-size: 50px;
    text-decoration: underline dotted #a41919 2px;
    text-underline-offset: 7px;
}
.box p{
    margin-top: 10px;
    text-align: center;
}

.box img{
    width: 500px;
    height: 600px;
}

.imgbox{
    position: relative;
}

.imgbox p{
    position: absolute;
    top: 100px;
    left: 350px;
}

.flex{
    margin-top: 50px;
    display: flex;
    justify-content: space-around;
}

.lastme{
    margin-top: 100px;
    text-align: center;
    margin-bottom: 100px;
}

section:nth-of-type(1) h2:nth-of-type(2){
    display: none;
}

.box .at1{
 display: none;
}

@media (max-width:500px){
    section:nth-of-type(1) img{
        width: 100%;
        height: 300px;
    }
    section:nth-of-type(1) h2:nth-of-type(1){
        display: none;
    }
    section:nth-of-type(1) h2:nth-of-type(2){
    display: block;
}
table{
    width: 100%;
}
td,th{
    font-size: 16px;
}
th{
    width: 100px;
}

.box h2{
    font-size: 30px;
    text-align: center;
}
.box .at{
    display: none;
}
.box .at1{
  display: block;
}

.flex{
    display: block;
}
.imgbox{
    position: static;
}

.imgbox p{
    display: block;
}

.imgbox img{
    width: 100%;
    height: 400px;
}

.imgbox p{
    position: static;
}

.box img{
    width: 100%;
    height: 500px;
    display: block;
}
.buttonbox button{
        margin: 0 auto;
    display: block;
}

}