@charset "utf-8";
body{
 font-family: serif;
}
.photo-container {
    display: flex;          /* 横並びにする */
    align-items: flex-start; /* 上揃え */
    justify-content: center; /* 写真とボタンを中央寄せにしたい場合 */
    margin: 20px 0;
    position: relative;     /* 必要に応じて */
}

.menu-photo {
 width: auto;              /* 横幅自動 */
    height: 90vh;             /* 画面高さの80%に制限 */
    max-width: 100%;          /* 幅は画面に収まる */
    object-fit: contain;      /* 画像比率を維持して収める */
    border-radius: 10px;    
}

/* ×ボタンを写真の右上に */
.close-btn {
    font-size: 48px;
    font-weight: bold;
    color: #333;
    text-decoration: none;
    margin-left: 10px; /* 写真との間隔 */
    margin-top: -20px;
    cursor: pointer;
    align-self: flex-start; /* 上揃え */
}

.close-btn:hover {
    color: red;
}
/* 📱スマホだけ超押しやすく */
@media (max-width: 768px) {

     .photo-container {
    margin-top: 0;   /* ← 上の余白消す */
  }


  .close-btn {
    position: absolute;

     top: 10px;   /* ← 少し下にする（ここ調整OK） */
    right: 10px;

    font-size: 76px;
    background: none;   
    border-radius: 0;  
  }
}