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: 450px;
}
}
.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;
}
.keywords{
    position: absolute;
    top: 0;
    left: 10px;
    display: flex;
    gap: 10px;
}
.keywords p{
    background-image: linear-gradient(90deg, #22d3ee, #5d7af7);
    font-weight: 600;
    padding: 4px;
}
.reserve {
    margin:auto ;
    display: flex;    
    flex-wrap: wrap;  
    gap: 16px; 
    justify-content: center;
}
.reserve p{
    width: 100%;
    font-size: 1.2rem;
    margin-bottom: 0;
    font-weight:500 ;
    text-align: center;
}
.reserve a{
    padding: 15px 25px;
    font-size:1.2rem ;
    font-weight: 550;
    border-radius: 30px;
}
.reason h2{
    color: white;
    text-align: center;
    font-size: 1.1rem;
    font-family: "Hiragino Kaku Gothic ProN","Yu Gothic","Meiryo","Noto Sans JP","Segoe UI","Roboto","Helvetica Neue","Arial",sans-serif !important;
}
.reason-detail {
    margin:auto ;
    display: flex;    
    flex-wrap: wrap;  
    gap: 16px; 
    justify-content: center;
}
.image {
    position: relative;
    width: 100%;
    max-width: 400px;
    height: 230px;
}
.image img{
    right: 5%;
    position: absolute;
    width:350px;
    height: 200px;
    z-index: 2;
}
.rectangle {
    position: absolute;
    width: 350px;
    height: 200px;
    border: 3px solid rgb(248, 17, 144);
    bottom: 10px;
    right: 0;
    z-index: 1;
}
.reason-text{
    width: 350px;   
    height: 250px;
}
.reason-text h3,p{
    text-align: left;
}
.title-text{
    font-size: 1.4rem;
    margin: 0;
    text-align: left;
    font-weight: 600;
    color: #7d7d7d;
}
.merit h2{
    color: white;
    text-align: center;
    font-family: "Hiragino Kaku Gothic ProN","Yu Gothic","Meiryo","Noto Sans JP","Segoe UI","Roboto","Helvetica Neue","Arial",sans-serif !important;
}
.merit-container{
    margin:auto ;
    display: flex;    
    flex-wrap: wrap;  
    gap: 16px; 
    justify-content: center;
}
.merit-item{
    width: 350px;
    text-align: center;
    background-color: white;
}
.merit-item img{
    width: 100px;
    height: 100px;
}
.merit-title{
    font-size: 1.5rem;
    color: #9b9b9b !important;
    font-weight: 600;
}
.merit-item h3{
    background: linear-gradient(90deg, #FF7F50, #FF1493);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
}
.merit-item p{
    color: #111;
    text-align: left;
    padding: 0 3px;
}
.bnner{
    width: 100%;
    height: 400px;
    text-align: center;
    background: linear-gradient(90deg, #FF7F50, #FF1493);
}
.bnner h2{
    padding-top: 30px;
    font-weight: 600;
    color: white;
}
.bnner h3{
    width: fit-content;
    padding: 3px 20px;
    font-size: 0.8rem;
    background-color: white;
    color: #FF1493;
    margin: auto;
}
.bnner p{
    font-size: 1.1rem;
    font-weight: 600;
    text-align: center;
}
.bnner a{
    padding: 15px 25px;
    font-size:1.2rem ;
    font-weight: 550;
    border-radius: 30px;
    background-color: #22d3ee;
}
.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;
}
