#page_title {
    background: url('../images/about/page_title.webp') no-repeat top center;
}


/* リセットCSS */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

/* 基本設定 */
body {
    font-family: 'Helvetica Neue', Arial, 'Hiragino Kaku Gothic ProN', 'Hiragino Sans', Meiryo, sans-serif;
    line-height: 1.6;
    color: #333;
    background-color: #f5f5f5;
}

.container {
    max-width: 900px;
    margin: 40px auto;
    padding: 20px;
}

/* ヘッダー部分 */
h1 {
    font-size: 28px;
    color: #2c3e50;
    margin-bottom: 30px;
    padding-bottom: 15px;
    border-bottom: 3px solid #3498db;
}

.introduction {
    background-color: #fff;
    padding: 20px;
    margin-bottom: 30px;
    border-radius: 5px;
    box-shadow: 0 2px 4px rgba(0,0,0,0.1);
}

/* セクション共通 */
section {
    background-color: #fff;
    padding: 30px;
    margin-bottom: 30px;
    border-radius: 5px;
    box-shadow: 0 2px 4px rgba(0,0,0,0.1);
}

h2 {
    font-size: 20px;
    color: #2c3e50;
    margin-bottom: 20px;
    padding-left: 10px;
    border-left: 4px solid #3498db;
}

/* フォーム要素共通 */
.form-group {
    margin-bottom: 25px;
}

label {
    display: block;
    margin-bottom: 8px;
    font-weight: bold;
    color: #2c3e50;
}

/* 必須マーク */
.required:after {
    content: "※";
    color: #e74c3c;
    margin-left: 5px;
}

/* 入力フィールド */
input[type="text"],
input[type="email"],
input[type="tel"],
select,
textarea {
    width: 100%;
    padding: 10px;
    border: 1px solid #ddd;
    border-radius: 4px;
    margin: 0 0 20px;
    font-size: 16px;
    transition: border-color 0.3s;
}

input[type="text"]:focus,
input[type="email"]:focus,
input[type="tel"]:focus,
select:focus,
textarea:focus {
    border-color: #3498db;
    outline: none;
    box-shadow: 0 0 5px rgba(52,152,219,0.3);
}

/* セレクトボックス */
select {
    appearance: none;
    background-image: url('data:image/svg+xml;utf8,<svg fill="%23333" height="24" viewBox="0 0 24 24" width="24" xmlns="http://www.w3.org/2000/svg"><path d="M7 10l5 5 5-5z"/></svg>');
    background-repeat: no-repeat;
    background-position: right 10px center;
    background-color: #fff;
}

/* チェックボックスとラジオボタン */
.checkbox-group,
.radio-group {
    display: flex;
    flex-wrap: wrap;
    gap: 15px;
    margin-top: 5px;
}

input[type="checkbox"],
input[type="radio"] {
    margin-right: 5px;
}

/* テキストエリア */
textarea {
    min-height: 150px;
    resize: vertical;
}

/* 文字数カウント */
.character-count {
    text-align: right;
    color: #666;
    font-size: 14px;
    margin-top: 5px;
}

/* ファイルアップロード */
.file-upload {
    margin-top: 10px;
}

.file-upload .note {
    font-size: 14px;
    color: #666;
    margin-top: 5px;
}

/* 送信ボタン */
.form-buttons {
    text-align: center;
    margin-top: 40px;
}

button {
    padding: 15px 40px;
    font-size: 16px;
    border: none;
    border-radius: 4px;
    cursor: pointer;
    transition: background-color 0.3s;
}

button[type="submit"] {
    background-color: #3498db;
    color: #fff;
    margin-right: 15px;
}

button[type="submit"]:hover {
    background-color: #2980b9;
}

button[type="reset"] {
    background-color: #95a5a6;
    color: #fff;
}

button[type="reset"]:hover {
    background-color: #7f8c8d;
}

/* お問い合わせ先 */
.contact-info {
    background-color: #fff;
    padding: 20px;
    border-radius: 5px;
    box-shadow: 0 2px 4px rgba(0,0,0,0.1);
    margin-top: 30px;
}

.contact-info h3 {
    color: #2c3e50;
    margin-bottom: 10px;
}

/* エラーメッセージ */
.error-message {
    color: #e74c3c;
    font-size: 14px;
    margin-top: 5px;
}

/* レスポンシブ対応 */
@media screen and (max-width: 768px) {
    .container {
        padding: 15px;
        margin: 20px auto;
    }

    section {
        padding: 20px;
    }

    .checkbox-group,
    .radio-group {
        flex-direction: column;
        gap: 10px;
    }

    button {
        width: 100%;
        margin-bottom: 10px;
    }

    button[type="submit"] {
        margin-right: 0;
    }
}

/* 入力補助 */
.input-group {
    display: flex;
    gap: 10px;
    margin-bottom: 10px;
}

.input-group input,
.input-group select {
    flex: 1;
}

/* 日付選択 */
.date-select {
    display: flex;
    gap: 10px;
    align-items: center;
}

.date-select select {
    width: auto;
}

/* 職歴入力 */
.work-history {
    border: 1px solid #ddd;
    padding: 15px;
    border-radius: 4px;
    margin-bottom: 15px;
}

/* 資格情報 */
.qualification-item {
    padding: 10px;
    border-bottom: 1px solid #eee;
}

.qualification-item:last-child {
    border-bottom: none;
}

/* アニメーション効果 */
@keyframes fadeIn {
    from { opacity: 0; transform: translateY(20px); }
    to { opacity: 1; transform: translateY(0); }
}

section {
    animation: fadeIn 0.5s ease-out;
}

/* ホバー効果 */
input[type="text"]:hover,
input[type="email"]:hover,
input[type="tel"]:hover,
select:hover,
textarea:hover {
    border-color: #bdc3c7;
}

input[name="lastName"],
input[name="firstName"],
input[name="lastNameKana"],
input[name="firstNameKana"]{
    width: 240px;
    margin: 0 20px 20px 0;
}


#genderBox label,
#genderBox input{
    display: inline-block;
}

#genderBox label{
    margin: 0 40px 0 0;
}

#postalCode{
    width: 8em;
}

#formSonota input,
#formSonota label{
    display: inline-block;
}

.privacy-policy{
    height: 20em;
    overflow: auto;
    margin: 0 0 30px;
    font-size: 85%;
    padding: 20px;
    background: #f3f3f3;
}

#privacyCheck label,
#privacyCheck input{
    display: inline-block;
}

#privacyCheck {
    text-align: center;
}