/* PC & スマホ共通スタイル */
body {
    font-family: sans-serif;
    line-height: 1.6;
    background-color: #f4f4f4;
    color: #333;
    padding: 20px;
}

.container {
    max-width: 800px;
    margin: 0 auto;
    background: #fff;
    padding: 20px;
    border-radius: 8px;
    box-shadow: 0 0 10px rgba(0, 0, 0, 0.1);
}

.inline-container {
    display: inline-block;
}

h1 {
    text-align: center;
    color: #007BFF;
    border-bottom: 2px solid #007BFF;
    padding-bottom: 10px;
    margin-bottom: 20px;
}

.form-group {
    margin-bottom: 15px;
}

label {
/*    display: block; */
    font-weight: bold;
/*    font-weight: normal;*/
    margin-bottom: 5px;
}

input[type="text"],
input[type="email"],
select {
    width: 100%;
    padding: 10px;
    box-sizing: border-box;
    border: 1px solid #ccc;
    border-radius: 4px;
}

.radio-group label {
    display: inline-block;
/*    font-weight: normal; */
    font-weight: bold;
    margin-right: 20px;
}

button {
    display: block;
    width: 100%;
    padding: 15px;
    font-size: 18px;
    color: #fff;
    background-color: #007BFF;
    border: none;
    border-radius: 5px;
    cursor: pointer;
    margin-top: 20px;
}

button:hover {
    background-color: #0056b3;
}

.message {
    padding: 15px;
    border-radius: 5px;
    margin-bottom: 20px;
    text-align: center;
}

.message.closed {
    background-color: #f8d7da;
    color: #721c24;
    border: 1px solid #f5c6cb;
}

.message.error {
    background-color: #f8d7da;
    color: #721c24;
    border: 1px solid #f5c6cb;
}

.modal-overlay {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(0, 0, 0, 0.5);
    display: flex;
    justify-content: center;
    align-items: center;
    z-index: 1000;
}

.confirm-content {
    background-color: #fff;
    padding: 30px;
    border-radius: 8px;
    width: 80%;
    height: 80%;
    max-width: 600px;
    overflow: scroll;
    box-shadow: 0 4px 6px rgba(0,0,0,0.1);
}

.confirm-content h2 {
    text-align: center;
    margin-bottom: 20px;
}

.confirm-content p {
    margin: 5px 0;
}

.confirm-buttons {
    display: flex;
    gap: 10px;
    margin-top: 20px;
}

.confirm-buttons button {
    flex: 1;
}

/* スマホ向けスタイル */
@media (max-width: 600px) {
    body {
        padding: 10px;
    }

    h1 {
        font-size: 24px;
    }

    button {
        font-size: 16px;
        padding: 12px;
    }

    .confirm-content {
        padding: 20px;
    }
}
