/* /www/contact/css/style.css */

body {
    font-family: sans-serif;
    background-color: #f4f4f4;
    color: #333;
    line-height: 1.6;
    padding: 20px;
}

/* --- フォーム全体のレイアウト（中央寄せ） --- */

h1 {
    text-align: center;
}

/* 導入文ブロックのスタイル */
.form-introduction {
    max-width: 600px;
    margin: 25px auto;
    padding: 25px;
    background-color: #f9f9f9;
    border-left: 5px solid #007bff; /* 左端にアクセントの青いライン */
    line-height: 1.8;
}
.form-introduction h2 {
    text-align: center;
    font-size: 18px;
    margin-top: 0;
    margin-bottom: 20px;
}
.form-introduction p {
    margin-bottom: 1em;
}
.form-introduction ul {
    list-style-type: none;
    padding-left: 15px;
    margin-bottom: 1.5em;
    text-align: left;
}
.form-introduction li {
    position: relative;
    padding-left: 1.2em;
    margin-bottom: 1.2em;
}
.form-introduction li::before {
    content: '＊';
    position: absolute;
    left: 0;
    color: #007bff;
    font-weight: bold;
}
.form-introduction .list-description {
    font-size: 14px;
    color: #555;
    margin-top: 5px;
    margin-bottom: 0;
    padding-left: 0.5em;
}
.form-introduction p:last-child {
    margin-bottom: 0;
}

/* 注釈文ブロック */
.form-note {
    max-width: 600px;
    margin: 15px auto;
    text-align: right;
    font-size: 14px;
    padding-right: 5px;
}
.required-mark {
    color: #dc3545;
    font-weight: bold;
    margin-left: 5px;
}

/* フォーム本体 */
form {
    max-width: 600px;
    margin: 0 auto;
    padding: 20px;
    background: #fff;
    border-radius: 8px;
    box-shadow: 0 2px 5px rgba(0,0,0,0.1);
}

/* --- フォーム内部のスタイル --- */

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

label {
    display: block;
    margin-bottom: 5px;
}

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

button {
    display: block;
    width: 100%;
    padding: 12px 24px;
    background-color: #ff8c00;
    color: #fff;
    border: none;
    border-radius: 5px;
    cursor: pointer;
    font-size: 16px;
}
button:hover {
    background-color: #e67e00;
}

/* --- 確認ページ（confirm.php）のスタイル --- */

.form-confirm {
    max-width: 600px;
    margin: 20px auto;
    padding: 20px;
    background: #fff;
    border-radius: 8px;
    box-shadow: 0 2px 5px rgba(0,0,0,0.1);
}
.confirm-item {
    margin-bottom: 20px;
    border-bottom: 1px solid #eee;
    padding-bottom: 10px;
}
.confirm-label {
    font-weight: bold;
    color: #555;
    margin: 0 0 5px;
}
.confirm-data {
    margin: 0;
    padding-left: 1em;
}
.confirm-buttons {
    display: flex;
    justify-content: space-between;
    margin-top: 30px;
}
.confirm-buttons button {
    width: 48%;
}
.confirm-buttons .back-btn {
    background-color: #777;
}
.confirm-buttons .back-btn:hover {
    background-color: #555;
}