* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

html, body {
    overflow-x: hidden;
}

body {
    font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, 'Helvetica Neue', Arial, sans-serif;
}

/* image-container�̒��̃����N���u���b�N�v�f�ɂ��Č��Ԃ�h�� */
.image-container a {
    display: block;
    width: 100%
;
}
.image-container {
    display: flex;
    flex-direction: column;
    width: 1125px;
    margin: 0 auto;
    max-width: 100%;
}

.image-container img {
    max-width: 100%;
    height: auto;
    display: block;
}

.form-container {
    padding: 40px 20px;
    width: 1125px;
    margin: 0 auto;
    max-width: 100%;
    box-sizing: border-box;
}

.form-title {
    font-size: 1.5rem;
    font-weight: 600;
    margin-bottom: 2rem;
    text-align: center;
}

.contact-form {
    width: 100%;
}

.form-group {
    margin-bottom: 1.5rem;
}

.form-group label {
    display: block;
    margin-bottom: 0.5rem;
    font-weight: 500;
}

.required {
    color: #ef4444;
}

.radio-group {
    display: flex;
    flex-direction: column;
    gap: 0.75rem;
}

.radio-label {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    cursor: pointer;
    padding: 0.5rem;
    border-radius: 4px;
    transition: background-color 0.2s ease;
}

.radio-label:hover {
    background-color: #f9fafb;
}

.radio-label input[type="radio"] {
    width: auto;
    margin: 0;
    cursor: pointer;
    flex-shrink: 0;
}

.radio-label span {
    font-weight: normal;
    cursor: pointer;
}

.datetime-group {
    display: flex;
    gap: 1rem;
}

.datetime-group input {
    flex: 1;
}

.form-group input,
.form-group textarea {
    width: 100%;
    padding: 1rem;
    border: 2px solid #e5e7eb;
    border-radius: 8px;
    font-size: 1rem;
    font-family: inherit;
}

.form-group input:focus,
.form-group textarea:focus {
    outline: none;
    border-color: #6366f1;
}

.form-group input.is-invalid {
    border-color: #dc2626;
    background-color: #fef2f2;
}

.form-group input.is-invalid:focus {
    border-color: #dc2626;
}

.form-error {
    margin-top: 0.35rem;
    font-size: 0.875rem;
    color: #dc2626;
}

.form-container .form-notice {
    margin-bottom: 1rem;
    padding: 0.75rem 1rem;
    border-radius: 8px;
    font-size: 0.875rem;
}

.form-container .form-notice.is-error {
    background-color: #fef2f2;
    color: #b91c1c;
    border: 1px solid #fecaca;
}

.char-count {
    text-align: right;
    font-size: 0.875rem;
    color: #6b7280;
    margin-top: 0.25rem;
}

.submit-button {
    width: 100%;
    background: #53240d;
    color: white;
    padding: 1rem 2rem;
    border: none;
    border-radius: 8px;
    font-size: 1.1rem;
    font-weight: 600;
    cursor: pointer;
    transition: background 0.3s ease;
}

.submit-button:hover {
    background: #6b2f10;
}

.footer-logo {
    text-align: center;
    padding: 2rem 0;
}

.footer-logo img {
    display: inline-block;
    max-width: 100%;
    height: auto;
}

.floating-button {
    position: fixed;
    bottom: 0;
    left: 50%;
    transform: translateX(-50%);
    width: 800px;
    max-width: 100%;
    z-index: 1000;
    opacity: 0;
    visibility: hidden;
    transition: opacity 0.3s ease, visibility 0.3s ease;
    cursor: pointer;
    display: block;
}

.floating-button.show {
    opacity: 1;
    visibility: visible;
}

.floating-button img {
    width: 100%;
    max-width: 100%;
    height: auto;
    display: block;
    animation: pulse 2s ease-in-out infinite;
}

@keyframes pulse {
    0%, 100% {
        transform: scale(1);
    }
    50% {
        transform: scale(1.1);
    }
}

/* 確認モーダル */
.modal {
    position: fixed;
    inset: 0;
    z-index: 2000;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 1rem;
    opacity: 0;
    visibility: hidden;
    transition: opacity 0.3s ease, visibility 0.3s ease;
}

.modal.is-open {
    opacity: 1;
    visibility: visible;
}

.modal-overlay {
    position: absolute;
    inset: 0;
    background: rgba(0, 0, 0, 0.5);
}

.modal-content {
    position: relative;
    background: #fff;
    border-radius: 12px;
    max-width: 480px;
    width: 100%;
    max-height: 90vh;
    overflow-y: auto;
    box-shadow: 0 8px 32px rgba(0, 0, 0, 0.2);
}

.modal-title {
    padding: 1.25rem 1.5rem 0;
    font-size: 1.25rem;
}

.confirm-body {
    padding: 1rem 1.5rem;
}

.confirm-list {
    display: grid;
    gap: 0.75rem;
}

.confirm-list dt {
    font-size: 0.85rem;
    color: #666;
    font-weight: 600;
}

.confirm-list dd {
    margin: 0;
    padding: 0.5rem 0;
    border-bottom: 1px solid #eee;
    font-size: 1rem;
}

.confirm-list dd:last-of-type {
    border-bottom: none;
}

.modal-buttons {
    display: flex;
    gap: 1rem;
    padding: 1rem 1.5rem 1.5rem;
}

.modal-btn {
    flex: 1;
    padding: 0.75rem 1rem;
    border-radius: 8px;
    font-size: 1rem;
    font-weight: 600;
    cursor: pointer;
    transition: background 0.2s ease;
}

.modal-btn-back {
    background: #e5e7eb;
    color: #374151;
    border: none;
}

.modal-btn-back:hover {
    background: #d1d5db;
}

.modal-btn-submit {
    background: #53240d;
    color: #fff;
    border: none;
}

.modal-btn-submit:hover:not(:disabled) {
    background: #6b2f10;
}

.modal-btn-submit:disabled {
    opacity: 0.7;
    cursor: not-allowed;
}

/* Thanks ページ */
.thanks-container {
    min-height: 60vh;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    padding: 2rem;
    text-align: center;
}

.thanks-title {
    font-size: 1.5rem;
    font-weight: 600;
    margin-bottom: 1rem;
    color: #1f2937;
}

.thanks-message {
    margin-bottom: 1.5rem;
    color: #4b5563;
    line-height: 1.7;
}

.thanks-redirect {
    font-size: 0.875rem;
    color: #6b7280;
}

@media (max-width: 768px) {
    .floating-button {
        width: 60%;
    }

    .form-container {
        padding: 40px 15px;
    }
}

@media (max-width: 480px) {
    .form-container {
        padding: 40px 10px;
    }
}