body {
    font-family: Arial, sans-serif;
    margin: 0 auto;
    max-width: 1024px;
    padding: 0;
    background-color: #111;
}
html {
    scroll-padding-top: 60px;
  }
p{
    font-family: "Kosugi Maru", "Hiragino Sans", "Meiryo", sans-serif;
    letter-spacing: 0.05em;
    line-height: 1.6;
    color: white;
    text-align: center;
}
h1{
    margin-top: 60px;
    color: white;
    font-size: 1rem;
    font-style: italic;
    text-align: center;
}
h2{
    font-family: Impact, Haettenschweiler, 'Arial Narrow Bold', sans-serif;
    margin: 10px auto 0 auto;
}
h3{
    margin-bottom: 5px;
    text-align: center;
    color: white;
}
h4{
    text-align: center;
    color: white;
}
a {
    color: white;
    text-decoration: none;
}
a:visited {
    color: white;
}
button {
    border: none;
    cursor: pointer;
    padding: 10px;
}
li {
    color: white;
    font-family: "Kosugi Maru", "Hiragino Sans", "Meiryo", sans-serif;
    letter-spacing: 0.05em;
    line-height: 1.7;
}

.header {
    background-color: #111;
    display: flex;
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;                
    height: 60px;
    align-items: center;        
    z-index: 1000;              
}
.logo {
    font-family: Impact, Haettenschweiler, 'Arial Narrow Bold', sans-serif;
    font-weight: 600;
    font-size: 1.4rem;
    color: white;
    padding-left: 20px;
}
.instagram {
    height: 40px;
    width: 40px;
    margin: auto;
    margin-right: 0;
}
.instagram img{
    height: 100%;
    width: 100%;
}
.menu {
    background: #1944a1;
    position: fixed;
    top: 0px;
    right: -250px;
    width: 250px;
    height: 100%;
    z-index: 4;
    color: white;
    transition: 0.3s;
    padding-top: 20px;
    z-index: 3;
}
.menu-label {
  display: block;
  text-align: center;
  font-size: 0.9em;
  margin-top: 4px;
  color: white;
}

.menu a {
    display: flex;
    align-items: center;
    padding: 12px 16px;    
    margin-bottom: 13px;     
    font-size: 16px;
    min-height: 48px;       
    color: white;
    text-decoration: none;     
    user-select: none;     
}

.menu a:hover {
    background: rgb(100, 100, 194);
}
.header-btn {
    background-color: transparent;
    color: white;
    font-size: 2rem;
}
.overlay {
    display: none;
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: transparent;
    z-index: 1;
}
.admission {
    width: 60px;
    height: 60px;
    text-align: center;
    background-color: rgb(232, 0, 0);
}
.admission img{
    width: 30px;
    height: 30px;
    margin-top: 5px;
}
.admission p{
    margin-top: -5px;
    font-size: 0.7rem;
}
.hero {
    position: relative;
    margin-bottom: 0;
}
.hero picture,
.hero img {
    width: 100%;
    max-width: 1024px;
    height: 450px;
    object-fit: cover;
    display: block;
    opacity: 80%;
}
@media (min-width: 501px) {
    .hrro picture,
    .hero img {
    height: 550px;
}
}
.hero h2{
    position: absolute;
    top: 20%;
    left: 50%;
    transform: translateX(-50%);
    padding: 0;
    margin: 0;
    color: white;
    font-size: 3.8rem;
    font-weight: 700;
    z-index: 100;
    text-align: center;
}
.class-schedule {
    position: absolute;
    bottom: 10%;
    left: 50%;
    transform: translateX(-50%);
    padding: 12px 20px;
    width: 200px;
    background-color: white;
    color: black !important;
    text-align: center;
    border-radius: 6px;
    transition: background-color 0.3s;
    z-index: 100;
}
.class-schedule:hover {
    background-color: #7d7d7d;
}
.merit h2{
    text-align: center;
    color: white;
}
.merit-container{
    display: flex;    
    flex-wrap: wrap;  
    gap:10px;
    padding: 0 30px;
    margin-top: 0;
}
.merit-card{
    width: 230px;
    height: 80px;
    background: white;
    transform:skewX(-20deg);
    margin: auto;
    padding: 6px 20px;
}
.merit-card p{
    transform:skewX(20deg);
    color: black;
    margin: 0;
}
.merit-card h3{
    transform:skewX(20deg);
    color: #111;
    margin: 0;
    text-align: left;
}
.abouthyrox{
    display: flex;    
    flex-wrap: wrap;  
    margin-top: 20px;
}
.abouthyrox img{
    width:300px;
    object-fit: cover;
    margin: auto;
}
.abouthyrox-text {
    width: 350px;
    margin: auto;
}
.abouthyrox-text h2{
    color: white;
    text-align: center;
}
.abouthyrox-text p{
    padding: 0 5px;
    text-align: left;
}
.class h2{
    text-align: center;
    color: rgb(203, 164, 36);
}
.class p{
    padding: 0 5px;
}
.rule h2{
    text-align: center;
    color: white;
}
.line {
    border-top: 1px solid #ccc916; 
    width: 95%;             
    margin: 20px auto 0 auto; 
}
.event{
    display: flex;    
    flex-wrap: wrap;  
    margin-top: 20px;
}
.event-title{
    font-weight: 700;
    font-size: 1.5rem;
}
.event img{
    width:300px;
    object-fit: cover;
    margin: auto;
}
.event-detail{
    width: 350px;
    margin: auto;
}
.INFORMATION {
  width: 100%;
  max-width: 1920px;
  margin: 20px auto 0 auto;
  color: white;
  min-height: 800px; 
  background-color: #111;
}
.INFORMATION h2,
.INFORMATION h3 {
    color: white;
    padding: 0 20px;
}
.INFORMATION p {
  font-size: 0.8rem;
  line-height: 1.5;
  padding-top: 10px;
  color: white;
}
.INFORMATION iframe {
  width: 100%;
  height: 400px; 
  max-width: 1920px;
  margin: 0 auto;
  display: block;
  background-color: #ccc; 
}

.footer {    
    width: 100%;
    height: 230px;
    color: white;
    display: flex;
    justify-content: space-between;
    background-color: #111;
    margin-top: -20px;
}
.footer ul{
    list-style: none;
}
.footer li{
    min-width: 80px;
    font-size: 0.7rem;
    min-height: 36px;
    margin-bottom: 8px;
}
