/* フォームセクション - 緑の背景 */
.contact {
    background: #1a5744;
    padding: 30px 20px;
}

.contact__inner {
    max-width: 560px;
    margin: 0 auto;
}

.contact__wrap {
    background: #ffffff;
    padding: 30px 25px;
    border-radius: 0;
    box-sizing: border-box;
}

/* フォーム全体 */
.form {
    width: 100%;
    margin: 10px 0 0 0;
}

/* フォーム項目 */
.form__wrap {
    margin-bottom: 20px;
    width: 100%;
}

.form__wrap dl,
.form__wrap dt,
.form__wrap dd {
    margin: 0;
    padding: 0;
}

.form__wrap dd {
    width: 100%;
    margin-top: 8px;
}

/* タイトル */
.contact__title {
    text-align: center;
    font-size: 12px;
    color: #d4af37;
    margin-bottom: 5px;
    font-weight: 400;
    letter-spacing: 0.2em;
}

.contact__title::before {
    content: 'Form';
    display: block;
    font-size: 12px;
    color: #d4af37;
    margin-bottom: 10px;
}

.contact__main-title {
    text-align: center;
    font-size: 26px;
    color: #ffffff;
    margin-bottom: 10px;
    font-weight: 600;
}

.contact__description {
    text-align: center;
    font-size: 15px;
    line-height: 1.8;
    color: #ffffff;
    margin: 5px 20px 20px 20px;
}

.contact__description b {
    font-weight: 600;
}

/* フォーム */
.form__wrap {
    margin-bottom: 20px;
}

.form__wrap dd {
    width: 100%;
}

.form__label {
    display: flex;
    align-items: center;
    font-size: 14px;
    font-weight: 600;
    color: #333;
    margin-bottom: 8px;
}

.form__label span {
    display: inline-block;
    background: #dc143c;
    color: #ffffff;
    font-size: 11px;
    padding: 2px 8px;
    border-radius: 2px;
    margin-left: 8px;
    font-weight: 600;
}

/* インプットフィールド */
.form-input,
.form-select,
.form-textarea,
.form-radio {
    width: 100%;
    box-sizing: border-box;
}

.form-input input,
.form-select select,
.form-textarea textarea {
    width: 100%;
    max-width: 100%;
    padding: 12px;
    font-size: 14px;
    border: none;
    background: #e8e8e8;
    color: #333;
    transition: all 0.3s ease;
    box-sizing: border-box;
    display: block;
}

.form-input input:focus,
.form-select select:focus,
.form-textarea textarea:focus {
    outline: none;
    background: #f5f5f5;
}

.form-input input::placeholder,
.form-textarea textarea::placeholder {
    color: #999;
}

/* セレクトボックス */
.form-select select {
    cursor: pointer;
    appearance: none;
    background-image: url('data:image/svg+xml;charset=UTF-8,<svg xmlns="http://www.w3.org/2000/svg" width="12" height="8" viewBox="0 0 12 8"><path fill="%23666" d="M6 8L0 0h12z"/></svg>');
    background-repeat: no-repeat;
    background-position: right 12px center;
    background-size: 12px;
    background-color: #e8e8e8;
    padding-right: 35px;
}

/* テキストエリア */
.form-textarea textarea {
    min-height: 100px;
    resize: vertical;
    font-family: inherit;
}

/* ラジオボタン */
.form-radio {
    width: 100%;
    max-width: 100%;
    display: flex;
    gap: 20px;
    padding: 12px;
    background: #e8e8e8;
    box-sizing: border-box;
}

.form-radio__label {
    display: flex;
    align-items: center;
    cursor: pointer;
    font-size: 14px;
    color: #333;
}

.form-radio__input {
    width: 18px !important;
    height: 18px !important;
    min-width: 18px !important;
    margin-right: 8px;
    cursor: pointer;
    appearance: auto !important;
    -webkit-appearance: radio !important;
    -moz-appearance: radio !important;
    opacity: 1 !important;
    position: static !important;
    display: inline-block !important;
    visibility: visible !important;
}

/* チェックボックス */
.form__wraps {
    margin: 30px 0;
    width: 100%;
    box-sizing: border-box;
}

.form-checkbox__label {
    display: flex;
    align-items: flex-start;
    cursor: pointer;
    font-size: 13px;
    color: #333;
}

.form-checkbox__input {
    width: 18px !important;
    height: 18px !important;
    min-width: 18px !important;
    margin-right: 8px;
    cursor: pointer;
    flex-shrink: 0;
    margin-top: 2px;
    appearance: auto !important;
    -webkit-appearance: checkbox !important;
    -moz-appearance: checkbox !important;
    opacity: 1 !important;
    position: static !important;
    display: inline-block !important;
    visibility: visible !important;
}

.form-checkbox__text {
    line-height: 1.6;
    color: #333;
}

/* 注意書き */
.form-notice {
    text-align: center;
    font-size: 16px;
    color: #333;
    margin-bottom: 0px;
}

/* 送信ボタン */
.form__button {
    text-align: center;
    margin-top: 5px;
    width: 100%;
}

.button {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
    width: 100%;
    max-width: 100%;
    background: linear-gradient(180deg, #1f6b52 0%, #1a5744 100%);
    color: #ffffff;
    font-size: 22px;
    font-weight: 600;
    padding: 18px 30px;
    border: none;
    cursor: pointer;
    transition: all 0.3s ease;
    font-family: 'Noto Serif JP', serif;
    box-sizing: border-box;
    box-shadow: 0 4px 12px rgba(26, 87, 68, 0.4);
    position: relative;
    overflow: hidden;
}

.button::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(180deg, rgba(255, 255, 255, 0.1) 0%, rgba(255, 255, 255, 0) 100%);
    pointer-events: none;
}

.button:hover {
    background: linear-gradient(180deg, #237b5f 0%, #1f6b52 100%);
    box-shadow: 0 6px 16px rgba(26, 87, 68, 0.5);
    transform: translateY(-2px);
}

.button:active {
    transform: translateY(0);
    box-shadow: 0 2px 8px rgba(26, 87, 68, 0.4);
}

.button::after {
    content: '›';
    font-size: 28px;
    font-weight: 300;
    transition: transform 0.3s ease;
}

.button:hover::after {
    transform: translateX(4px);
}

/* レスポンシブ */
@media (max-width: 768px) {
    .contact__inner {
        max-width: 100%;
    }

    .contact__wrap {
        padding: 25px 20px;
    }

    .contact__main-title {
        font-size: 20px;
    }

    .contact__description {
        font-size: 12px;
    }

    .form__label {
        font-size: 13px;
    }

    .form-input input,
    .form-select select,
    .form-textarea textarea {
        padding: 10px;
        font-size: 13px;
    }

    .button {
        font-size: 18px;
        padding: 16px 25px;
    }

    .button::after {
        font-size: 24px;
    }
}