@charset "UTF-8";

/* 全要素に適用推奨 */
* {
    box-sizing: border-box;
}
/* 全体のスタイル */
body {
	font-size: 13px;
	line-height: 200%;
	background-image: url(../object/back.gif);
	padding: 0px;
	width: 900px;
	margin-top: 0px;
	margin-right: auto;
	margin-bottom: 0px;
	margin-left: auto;
	background-repeat: repeat-x;
	font-family:  "ヒラギノ明朝 Pro W3", "Hiragino Mincho Pro","ＭＳ Ｐ明朝", "MS PMincho", serif;
	color: #333;
	background-attachment: fixed;
}

h1 {
    text-align: center;
    font-size: 24px;
    font-weight: normal;
    letter-spacing: 0.1em;
    margin-bottom: 50px;
    position: relative;
    padding-bottom: 15px;
}

h1::after {
    content: "";
    position: absolute;
    bottom: 0;
    left: 50%;
    transform: translateX(-50%);
    width: 40px;
    height: 1px;
    background-color: #333;
}

/* フォームのコンテナ */
form {
    max-width: 600px;
    margin: 0 auto;
}

/* 各入力項目のスタイル */
label {
    display: block;
    font-size: 15px;
    margin-bottom: 8px;
    font-weight: bold;
}

input[type="text"],
input[type="email"],
input[type="tel"],
textarea {
    width: 100%;
    padding: 12px;
    margin-bottom: 5px;
    border: 1px solid #ccc;
    border-radius: 0;
    box-sizing: border-box;
    font-size: 16px;
    background-color: #f9f9f9;
    transition: border-color 0.3s;
}

input:focus, textarea:focus {
    outline: none;
    border-color: #999;
    background-color: #fff;
}

/* エラーメッセージ */
.error-msg {
    color: #b33e3e;
    font-size: 13px;
    margin-bottom: 20px;
    margin-top: 0;
}

/* 送信ボタン */
.submit-area {
    text-align: center;
    margin-top: 40px;
}

input[type="submit"] {
    background-color: #333;
    color: #fff;
    padding: 15px 60px;
    border: none;
    cursor: pointer;
    font-size: 16px;
    letter-spacing: 0.1em;
    transition: opacity 0.3s;
}

input[type="submit"]:hover {
    opacity: 0.7;
}

/* 必須マーク（任意で追加する場合） */
.required::after {
    content: "必須";
    background-color: #b33e3e;
    color: #fff;
    font-size: 10px;
    padding: 2px 6px;
    margin-left: 8px;
    vertical-align: middle;
    font-weight: normal;
}