@font-face {
    font-family: '魔法少女まどかマギカ';
    src: url('../fonts/Hangyaku-G3rpg.ttf') format('truetype');
    font-weight: normal;
    font-style: normal;
}

@font-face {
    font-family: 'さなフォン飾';
    src: url('../fonts/SNsanafonKazariJ284.ttf') format('truetype');
    font-weight: normal;
    font-style: normal;
}

.body {
  opacity: 0;
  transition: opacity 0.6s ease;
}



.body.fade-in {
  opacity: 1;
}


.header,
.menu {
    position: relative; 
    z-index: 2;      
}


.line-break {
  display: none;
}

@media (max-width: 600px) {
  .line-break {
    display: inline;
  }

  .header {
    font-size: 32px; 
    transform: scaleX(1); 
  }
}


.body {
    background: #D5F6F8;
    margin: 0;
}

.header {
    background: linear-gradient(to bottom, #B4E5E4, #90D1D0);
    color: #EFFEFF;
    font-size: 50px;
    padding: 20px;
    text-align: center;

    font-family: '魔法少女まどかマギカ', sans-serif; 
    transform: scaleX(1.3);
    letter-spacing: 0.05em;	
}




.menu {
    background: linear-gradient(to bottom, #90D1D0, #CCABAC);
    display: flex;
    justify-content: center; 
}

.menu-in {
    width: auto;
    max-width: 1000px;
    display: flex;
    justify-content: center;
    gap: 10px;
    margin: 0 auto;
    flex-wrap: nowrap;
}

.menu-item {
    color: #FFFFFF;
    padding: 15px 20px;
    font-size: 18px;
    text-align: center;
    text-decoration: none;
    display: flex;
    justify-content: center;
    align-items: center;
    white-space: nowrap;
    min-width: 140px;
    border-right: 2px solid #FFFFFF;
    box-sizing: border-box;
	font-family: 'さなフォン飾', sans-serif; 
	font-weight: 550;
}

.menu-item:last-child {
    border-right: none;
}


.modal {
  display: none;
  position: fixed;
  z-index: 999;
  padding: 20px;
  left: 0;
  top: 0;
  width: 100vw;
  height: 100vh;
  overflow: auto;
  background-color: rgba(0,0,0,0.8);
  justify-content: center;
  align-items: center;
}

.modal img {
  max-width: 90%;
  max-height: 90%;
  border-radius: 10px;
}

.modal.show {
  display: flex;
}

@media (max-width: 600px) {
  .menu-in {
    flex-wrap: wrap;
    justify-content: center;
  }

  .menu-item {
    flex: 1 1 45%;
    min-width: auto;
    font-size: 16px;
    padding: 10px;
    border-bottom: 1px solid #FFFFFF;
    border-right: none;
    box-sizing: border-box;
  }

  .menu-item:nth-child(3),
  .menu-item:nth-child(4) {
    border-bottom: none;
  }
}










/* .bt01 {
    background:#BF747D; 
    color: #FFFFFF;
    padding: 8px;
    width: 70px;
    text-align: center;
    border-radius: 5px;
    transition-duration: 0.3s;
}
*/
