/* ===================================
   お問い合わせページ専用CSS
   =================================== */

/* ページヒーロー */
.contact-hero {
    background: linear-gradient(135deg, #1e40af 0%, #2563eb 100%);
    padding: 120px 20px 80px;
    text-align: center;
    color: #fff;
    margin-top: 80px;
}

.contact-hero-title {
    font-size: 42px;
    font-weight: 700;
    margin-bottom: 20px;
}

.contact-hero-lead {
    font-size: 18px;
    opacity: 0.95;
    max-width: 700px;
    margin: 0 auto;
    line-height: 1.8;
}

/* パンくずリスト */
.breadcrumb-section {
    background: #f9fafb;
    padding: 15px 0;
    border-bottom: 1px solid #e5e7eb;
}

.breadcrumb-list {
    display: flex;
    align-items: center;
    gap: 10px;
    font-size: 14px;
    color: #6b7280;
}

.breadcrumb-list a {
    color: #2563eb;
    text-decoration: none;
}

.breadcrumb-list a:hover {
    text-decoration: underline;
}

.breadcrumb-list i {
    font-size: 10px;
    color: #9ca3af;
}

/* キャンペーンバナー */
.contact-campaign {
    padding: 30px 0;
    background: #fff;
}

.campaign-banner {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 20px;
    background: linear-gradient(135deg, #fef3c7, #fde68a);
    border: 3px solid #f59e0b;
    border-radius: 12px;
    padding: 20px 40px;
    position: relative;
    overflow: hidden;
}

.campaign-badge {
    background: #dc2626;
    color: #fff;
    padding: 8px 20px;
    border-radius: 20px;
    font-size: 14px;
    font-weight: 700;
    animation: pulse 2s infinite;
}

@keyframes pulse {

    0%,
    100% {
        transform: scale(1);
    }

    50% {
        transform: scale(1.05);
    }
}

.campaign-content {
    text-align: center;
}

.campaign-title {
    font-size: 24px;
    font-weight: 700;
    color: #1f2937;
    margin-bottom: 5px;
}

.campaign-title .highlight {
    color: #dc2626;
    font-size: 32px;
}

.campaign-note {
    font-size: 14px;
    color: #6b7280;
}

/* セクションタイトル */
.section-title {
    text-align: center;
    margin-bottom: 20px;
    width: 100%;
}

.section-title .title-sub {
    display: block;
    font-size: 16px;
    color: #2563eb;
    font-weight: 600;
    margin-bottom: 8px;
    text-align: center;
}

.section-title .title-main {
    display: block;
    font-size: 32px;
    font-weight: 700;
    color: #1f2937;
    text-align: center;
}

.section-title-white .title-main {
    color: #fff;
}

.section-lead {
    text-align: center;
    font-size: 16px;
    color: #6b7280;
    margin-bottom: 40px;
}

/* お問い合わせ方法 */
.contact-methods {
    padding: 80px 0;
    background: #f9fafb;
}

.methods-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 30px;
}

.method-card {
    background: #fff;
    border-radius: 16px;
    padding: 40px 30px;
    text-align: center;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.08);
    border: 2px solid #e5e7eb;
    transition: all 0.3s ease;
}

.method-card:hover {
    transform: translateY(-8px);
    box-shadow: 0 12px 30px rgba(0, 0, 0, 0.15);
}

.method-phone:hover {
    border-color: #2563eb;
}

.method-line:hover {
    border-color: #06c755;
}

.method-mail:hover {
    border-color: #f59e0b;
}

.method-icon {
    width: 80px;
    height: 80px;
    margin: 0 auto 20px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
}

.method-phone .method-icon {
    background: linear-gradient(135deg, #2563eb, #1e40af);
}

.method-line .method-icon {
    background: linear-gradient(135deg, #06c755, #04a847);
}

.method-mail .method-icon {
    background: linear-gradient(135deg, #f59e0b, #d97706);
}

.method-icon i {
    font-size: 36px;
    color: #fff;
}

.method-title {
    font-size: 20px;
    font-weight: 700;
    color: #1f2937;
    margin-bottom: 12px;
}

.method-desc {
    font-size: 15px;
    color: #6b7280;
    line-height: 1.7;
    margin-bottom: 25px;
}

.method-btn {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    padding: 18px 30px;
    border-radius: 50px;
    font-weight: 600;
    text-decoration: none;
    transition: all 0.3s ease;
    margin-bottom: 15px;
}

.phone-btn {
    background: linear-gradient(135deg, #2563eb, #1e40af);
    color: #fff;
}

.phone-btn:hover {
    background: linear-gradient(135deg, #1e40af, #1e3a8a);
    transform: scale(1.03);
}

.phone-btn .btn-label {
    font-size: 12px;
    opacity: 0.9;
}

.phone-btn .btn-number {
    font-size: 24px;
    font-weight: 700;
}

.line-btn {
    background: #06c755;
    color: #fff;
    flex-direction: row;
    gap: 10px;
}

.line-btn:hover {
    background: #04a847;
    transform: scale(1.03);
}

.line-btn i {
    font-size: 24px;
}

.line-btn span {
    font-size: 16px;
}

.mail-btn {
    background: linear-gradient(135deg, #f59e0b, #d97706);
    color: #fff;
    flex-direction: row;
    gap: 10px;
}

.mail-btn:hover {
    background: linear-gradient(135deg, #d97706, #b45309);
    transform: scale(1.03);
}

.mail-btn i {
    font-size: 20px;
}

.mail-btn span {
    font-size: 16px;
}

.method-hours {
    font-size: 13px;
    color: #9ca3af;
}

.method-hours i {
    margin-right: 5px;
}

/* 選ばれる理由 */
.contact-reasons {
    padding: 60px 0;
    background: linear-gradient(135deg, #1f2937, #374151);
}

.reasons-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 25px;
    margin-top: 40px;
}

.reason-item {
    text-align: center;
    color: #fff;
}

.reason-icon {
    width: 60px;
    height: 60px;
    margin: 0 auto 15px;
    background: rgba(255, 255, 255, 0.1);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
}

.reason-icon i {
    font-size: 24px;
    color: #fbbf24;
}

.reason-item h3 {
    font-size: 18px;
    font-weight: 700;
    margin-bottom: 8px;
}

.reason-item p {
    font-size: 14px;
    opacity: 0.8;
}

/* メールフォームセクション */
.contact-form-section {
    padding: 80px 0;
    background: #fff;
}

/* トップから表示する場合 */
.contact-form-top {
    padding-top: 150px;
    margin-top: 80px;
}

.form-container {
    max-width: 800px;
    margin: 0 auto;
    background: #f9fafb;
    border-radius: 16px;
    padding: 50px;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.05);
}

.contact-form {
    display: flex;
    flex-direction: column;
    gap: 25px;
}

.form-group {
    display: flex;
    flex-direction: column;
    gap: 10px;
}

.form-group-half {
    max-width: 300px;
}

.form-label {
    display: flex;
    align-items: center;
    gap: 10px;
    font-size: 16px;
    font-weight: 600;
    color: #1f2937;
}

.required {
    background: #dc2626;
    color: #fff;
    padding: 2px 8px;
    border-radius: 4px;
    font-size: 11px;
    font-weight: 600;
}

.optional {
    background: #9ca3af;
    color: #fff;
    padding: 2px 8px;
    border-radius: 4px;
    font-size: 11px;
    font-weight: 600;
}

.form-input,
.form-textarea {
    width: 100%;
    padding: 15px 18px;
    border: 2px solid #e5e7eb;
    border-radius: 8px;
    font-size: 16px;
    color: #1f2937;
    background: #fff;
    transition: all 0.3s ease;
}

.form-input:focus,
.form-textarea:focus {
    outline: none;
    border-color: #2563eb;
    box-shadow: 0 0 0 3px rgba(37, 99, 235, 0.1);
}

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

.form-textarea {
    resize: vertical;
    min-height: 150px;
}

.form-hint {
    font-size: 13px;
    color: #6b7280;
    margin-top: 5px;
}

/* ラジオボタン・チェックボックス */
.radio-group,
.checkbox-group {
    display: flex;
    flex-direction: column;
    gap: 12px;
}

.radio-inline {
    flex-direction: row;
    flex-wrap: wrap;
    gap: 15px;
}

.radio-item,
.checkbox-item {
    display: flex;
    align-items: center;
    gap: 10px;
    cursor: pointer;
    line-height: 1.4;
}

.radio-item input[type="radio"],
.checkbox-item input[type="checkbox"] {
    width: 20px;
    height: 20px;
    min-width: 20px;
    cursor: pointer;
    accent-color: #2563eb;
    margin: 0;
    flex-shrink: 0;
}

.radio-text,
.checkbox-text {
    font-size: 15px;
    color: #374151;
    line-height: 1.4;
}

.checkbox-text a {
    color: #2563eb;
    text-decoration: underline;
}

.form-agreement {
    padding-top: 10px;
    border-top: 1px solid #e5e7eb;
}

.agreement-check {
    justify-content: center;
}

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

.submit-btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 12px;
    padding: 20px 60px;
    background: linear-gradient(135deg, #2563eb, #1e40af);
    color: #fff;
    border: none;
    border-radius: 50px;
    font-size: 18px;
    font-weight: 700;
    cursor: pointer;
    transition: all 0.3s ease;
    box-shadow: 0 4px 15px rgba(37, 99, 235, 0.3);
}

.submit-btn:hover {
    background: linear-gradient(135deg, #1e40af, #1e3a8a);
    transform: translateY(-3px);
    box-shadow: 0 8px 25px rgba(37, 99, 235, 0.4);
}

.submit-btn i {
    font-size: 20px;
}

/* 対応の流れ */
.contact-flow {
    padding: 80px 0;
    background: #f9fafb;
}

.flow-steps {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 15px;
    margin-top: 40px;
}

.flow-step {
    display: flex;
    flex-direction: column;
    align-items: center;
    text-align: center;
    max-width: 200px;
}

.flow-number {
    width: 60px;
    height: 60px;
    background: linear-gradient(135deg, #2563eb, #1e40af);
    color: #fff;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 24px;
    font-weight: 700;
    margin-bottom: 15px;
}

.flow-content h3 {
    font-size: 16px;
    font-weight: 700;
    color: #1f2937;
    margin-bottom: 8px;
}

.flow-content p {
    font-size: 14px;
    color: #6b7280;
    line-height: 1.6;
}

.flow-arrow {
    color: #d1d5db;
    font-size: 24px;
}

/* よくある質問（簡易版） */
.contact-faq {
    padding: 80px 0;
    background: #fff;
}

.faq-simple-list {
    max-width: 800px;
    margin: 0 auto 40px;
}

.faq-simple-item {
    background: #f9fafb;
    border-radius: 12px;
    padding: 25px;
    margin-bottom: 15px;
    border: 2px solid #e5e7eb;
}

.faq-simple-q,
.faq-simple-a {
    display: flex;
    align-items: flex-start;
    gap: 15px;
}

.faq-simple-q {
    margin-bottom: 15px;
}

.faq-simple-q .q-icon,
.faq-simple-a .a-icon {
    width: 32px;
    height: 32px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 14px;
    font-weight: 700;
    flex-shrink: 0;
}

.faq-simple-q .q-icon {
    background: linear-gradient(135deg, #2563eb, #1e40af);
    color: #fff;
}

.faq-simple-a .a-icon {
    background: linear-gradient(135deg, #f59e0b, #d97706);
    color: #fff;
}

.faq-simple-q p {
    font-size: 16px;
    font-weight: 600;
    color: #1f2937;
    padding-top: 4px;
}

.faq-simple-a p {
    font-size: 15px;
    color: #4b5563;
    line-height: 1.7;
    padding-top: 4px;
}

.faq-link {
    text-align: center;
}

.btn-link {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    color: #2563eb;
    font-size: 16px;
    font-weight: 600;
    text-decoration: none;
    transition: all 0.3s ease;
}

.btn-link:hover {
    color: #1e40af;
}

.btn-link i {
    transition: transform 0.3s ease;
}

.btn-link:hover i {
    transform: translateX(5px);
}

/* 対応エリア */
.contact-area {
    padding: 60px 0;
    background: #f9fafb;
}

.area-badges {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 10px;
    max-width: 900px;
    margin: 0 auto;
}

.area-badge {
    display: inline-block;
    padding: 8px 16px;
    background: #fff;
    border: 1px solid #e5e7eb;
    border-radius: 20px;
    font-size: 14px;
    color: #374151;
    transition: all 0.3s ease;
}

.area-badge:hover {
    background: #2563eb;
    border-color: #2563eb;
    color: #fff;
}

.area-badge-more {
    display: inline-block;
    padding: 8px 16px;
    background: #2563eb;
    border-radius: 20px;
    font-size: 14px;
    color: #fff;
    font-weight: 600;
}

/* レスポンシブ */
@media (max-width: 1024px) {
    .methods-grid {
        grid-template-columns: 1fr;
        max-width: 500px;
        margin: 0 auto;
    }

    .reasons-grid {
        grid-template-columns: repeat(2, 1fr);
    }

    .flow-steps {
        flex-direction: column;
        gap: 20px;
    }

    .flow-arrow {
        transform: rotate(90deg);
    }

    .flow-step {
        max-width: 100%;
    }
}

@media (max-width: 768px) {
    .contact-hero {
        padding: 100px 20px 60px;
        margin-top: 0;
    }

    .contact-hero-title {
        font-size: 28px;
    }

    .contact-hero-lead {
        font-size: 15px;
    }

    .campaign-banner {
        flex-direction: column;
        padding: 20px;
    }

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

    .campaign-title .highlight {
        font-size: 26px;
    }

    .section-title .title-main {
        font-size: 26px;
    }

    .contact-form-section,
    .contact-flow,
    .contact-faq {
        padding: 60px 0;
    }

    .contact-form-top {
        padding-top: 120px;
        margin-top: 0;
    }

    .form-container {
        padding: 30px 20px;
    }

    .radio-inline {
        flex-direction: column;
    }

    .submit-btn {
        width: 100%;
        padding: 18px 30px;
    }

    .reasons-grid {
        grid-template-columns: 1fr 1fr;
        gap: 20px;
    }

    .reason-item h3 {
        font-size: 16px;
    }

    .reason-item p {
        font-size: 13px;
    }
}

@media (max-width: 480px) {
    .method-card {
        padding: 30px 20px;
    }

    .phone-btn .btn-number {
        font-size: 20px;
    }

    .form-input,
    .form-textarea {
        padding: 12px 15px;
        font-size: 16px;
    }

    .area-badge {
        padding: 6px 12px;
        font-size: 12px;
    }

    /* チェックボックス・ラジオボタンのスマホ対応 */
    .radio-item,
    .checkbox-item {
        gap: 8px;
    }

    .radio-item input[type="radio"],
    .checkbox-item input[type="checkbox"] {
        width: 18px;
        height: 18px;
        min-width: 18px;
    }

    .radio-text,
    .checkbox-text {
        font-size: 14px;
    }

    .checkbox-group {
        gap: 10px;
    }

    .section-title .title-main {
        font-size: 22px;
    }

    .section-title .title-sub {
        font-size: 14px;
    }
}