*{
    font-family: "Noto Sans JP";
    box-sizing: border-box;
}
p{margin: 0;}
main{
    padding: 0 10px;
}

h2 {
    margin-bottom: 20px;
    font-size: 1.5rem;
    color: #333;
}

h2 + p{
    margin-bottom: 40px;
    text-align: left;
}

/* 戻る */
#page-back{
    max-width: 400px;
    width: 100%;
    margin: 50px auto;
    padding: 20px;
    background: #e8f7ff;
    border-radius: 10px;
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.1);
    text-align: center;
}
#page-back a{
    text-decoration: none;
    color: #222;
    font-weight: 500;
}

/* 履歴 */
#reserve-history {
    max-width: 400px;
    width: 100%;
    margin: 50px auto;
    padding: 20px;
    background: #e8f7ff;
    border-radius: 10px;
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.1);
    text-align: center;
}

#reserve-history .wrap{
    width: 100% - 10px;
    margin: auto;
    margin-bottom: 20px;
    padding-bottom: 20px;
    display: flex;
    align-items: center;
    justify-content: space-between;
    border-bottom: 1px solid #222;
}
#reserve-history button{
    background:#FFF;
    border: none;
    padding: 5px;
    border: 2px solid #3a5f97;
    font-weight: 600;
    cursor: pointer;
}


/* 最小限で Safari / iOS の既定見た目を消す */
input, select, textarea, button {
  -webkit-appearance: none;
  appearance: none;
  border-radius: 0;
}


/* フォーム */
#reserve-form-wrap {
    max-width: 400px;
    margin: 50px auto;
    padding: 20px;
    background: #e8f7ff;
    border-radius: 10px;
    text-align: center;
}
#reserve-form .wrap {
    margin-bottom: 15px;
    text-align: left;
}
#reserve-form label {
    display: block;
    font-weight: bold;
    margin-bottom: 5px;
    color: #444;
}

#reserve-form input{
    box-sizing: border-box;
}

#reserve-form input[type="text"],
#reserve-form input[type="number"],
#reserve-form input[type="date"] {
    width: 100%;
    padding: 10px;
    border: 1px solid #ccc;
    border-radius: 5px;
    font-size: 1rem;
    background:#FFF;
    min-height: 40px;
}

#reserve-form input[type="submit"] {
    width: 100%;
    padding: 10px;
    background: #007bff;
    color: #fff;
    border: none;
    border-radius: 5px;
    font-size: 1rem;
    cursor: pointer;
    transition: background 0.3s;
}

#reserve-form input[type="submit"]:hover {
    background: #0056b3;
}


#modalWrap{
    position: fixed;
    width: 100%;
    height: 100vh;
    left: 0;
    top: 0;
    background:#0057b39d;
    z-index: 2;
}
#modalContent{
    overflow-y: scroll;
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    width: 90%;
    max-width: 600px;
    max-height: 90vh;
    background:#FFF;
    border-radius: 10px;
    padding: 30px;
    z-index: 3;
}
#modal-delete{
    position: absolute;
    line-height: 1;
    top: 10px;
    right: 10px;
    padding: 5px;
    border-radius: 5px;
    cursor: pointer;
    color: #FFF;
    background:#cf5757;
}
#modalContent p{
    margin-bottom: 20px;    
}
#modalContent #button-wrap{
    display: flex;
    align-items: center;
    justify-content: space-between;
    flex-wrap: wrap;
}
#modalContent #button-wrap button{
    font-weight: 500;
    background: #FFF;
    border:2px solid #0057b3;
    border-radius: 5px;
    padding: 10px;
    cursor: pointer;
}

#modalContent .wrap {
    margin-bottom: 15px;
    text-align: left;
}
#modalContent label {
    display: block;
    font-weight: bold;
    margin-bottom: 5px;
    color: #444;
}

#modalContent input{
    box-sizing: border-box;
}

#modalContent input[type="text"],
#modalContent input[type="number"],
#modalContent input[type="date"] {
    width: 100%;
    padding: 10px;
    border: 1px solid #ccc;
    border-radius: 5px;
    font-size: 1rem;
}