/* contact.css */
/* お問い合わせページの特有スタイル */

/* ページヒーローセクション */
.page-hero {
    position: relative;
    min-height: 50vh;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 16rem 0 10rem;
    overflow: hidden;
    background: linear-gradient(135deg, #f8fafb 0%, #e8ecf0 100%);
    border-bottom: 1px solid #e0e6ed;
}

.hero-bg {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: 1;
}

.gradient-bg {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(135deg, rgba(26, 35, 126, 0.05) 0%, rgba(33, 150, 243, 0.03) 100%);
}

.page-hero-content {
    position: relative;
    z-index: 2;
    text-align: center;
    padding: 0 2rem;
}

.page-title {
    position: relative;
    display: inline-block;
    margin-bottom: 2rem;
    padding-bottom: 20px;
}

.page-title::before {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 60px;
    height: 3px;
    background: linear-gradient(135deg, #4a90e2 0%, #2e5ab8 100%);
}

.page-title .jp {
    display: block;
    font-size: 48px;
    font-weight: 700;
    letter-spacing: 0.05em;
    color: var(--text-dark);
    margin-bottom: 0.8rem;
}

.page-title .en {
    display: block;
    font-size: 16px;
    font-weight: 500;
    letter-spacing: 0.1em;
    color: #666666;
    text-transform: uppercase;
}

.page-subtitle {
    font-size: 16px;
    color: #666666;
    text-transform: uppercase;
    letter-spacing: 0.1em;
    position: relative;
    padding: 0 40px;
}

.page-subtitle::before,
.page-subtitle::after {
    content: '';
    position: absolute;
    top: 50%;
    width: 30px;
    height: 1px;
    background-color: #cccccc;
}

.page-subtitle::before {
    left: 0;
}

.page-subtitle::after {
    right: 0;
}

/* お問い合わせ方法セクション */
.contact-methods {
    padding: 12rem 0;
    position: relative;
    overflow: hidden;
}

.contact-methods-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 4rem;
    margin-top: 6rem;
}

.contact-method-card {
    background: #ffffff;
    border-radius: var(--radius-lg);
    border: 1px solid #e8eaed;
    padding: 4rem 3rem;
    text-align: center;
    position: relative;
    transition: var(--transition-normal);
    overflow: hidden;
}

.contact-method-card:hover {
    transform: translateY(-8px);
    box-shadow: 0 8px 32px rgba(26, 35, 126, 0.15);
}

.method-icon {
    width: 80px;
    height: 80px;
    margin: 0 auto 3rem;
    background: var(--gradient-primary);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: white;
    font-size: 2.4rem;
}

.method-title {
    font-size: 2rem;
    font-weight: 700;
    color: var(--text-dark);
    margin-bottom: 2rem;
}

.contact-phone,
.contact-email,
.contact-form-link {
    margin-bottom: 2rem;
}

.phone-number,
.email-address {
    display: inline-block;
    font-size: 2.2rem;
    font-weight: 700;
    color: var(--primary-color);
    text-decoration: none;
    margin-bottom: 0.5rem;
    transition: var(--transition-fast);
}

.phone-number:hover,
.email-address:hover {
    color: var(--secondary-color);
    transform: scale(1.05);
}

.phone-note,
.email-note,
.form-note {
    font-size: 1.3rem;
    color: var(--text-light);
    margin-bottom: 0;
}

.form-link-btn {
    display: inline-block;
    background: var(--gradient-primary);
    color: white;
    padding: 1.2rem 2.4rem;
    border-radius: var(--radius-md);
    font-size: 1.6rem;
    font-weight: 600;
    text-decoration: none;
    transition: var(--transition-normal);
    margin-bottom: 0.5rem;
}

.form-link-btn:hover {
    transform: translateY(-2px);
    box-shadow: 0 4px 16px rgba(26, 35, 126, 0.3);
}

.method-desc {
    font-size: 1.4rem;
    line-height: 1.7;
    color: var(--text-light);
}

/* お問い合わせフォームセクション */
.contact-form {
    padding: 12rem 0;
    position: relative;
    overflow: hidden;
}

.form-container {
    max-width: 80rem;
    margin: 0 auto;
    background: #ffffff;
    border-radius: var(--radius-lg);
    border: 1px solid #e8eaed;
    box-shadow: 0 8px 32px rgba(0, 0, 0, 0.08);
    padding: 6rem 5rem;
}

.contact-form-inner {
    width: 100%;
}

.form-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 3rem;
    margin-bottom: 3rem;
}

.form-group {
    margin-bottom: 3rem;
}

.form-label {
    display: block;
    font-size: 1.5rem;
    font-weight: 600;
    color: var(--text-dark);
    margin-bottom: 0.8rem;
    letter-spacing: 0.02em;
}

.required {
    color: #e74c3c;
    margin-left: 0.3rem;
}

.form-input,
.form-select,
.form-textarea {
    width: 100%;
    padding: 1.4rem 1.6rem;
    border: 2px solid #e8eaed;
    border-radius: var(--radius-md);
    font-size: 1.5rem;
    color: var(--text-dark);
    background: #ffffff;
    transition: var(--transition-fast);
    font-family: inherit;
}

.form-input:focus,
.form-select:focus,
.form-textarea:focus {
    outline: none;
    border-color: var(--primary-color);
    box-shadow: 0 0 0 3px rgba(26, 35, 126, 0.1);
}

.form-input.error,
.form-select.error,
.form-textarea.error {
    border-color: #e74c3c;
    box-shadow: 0 0 0 3px rgba(231, 76, 60, 0.1);
}

.form-textarea {
    resize: vertical;
    min-height: 120px;
}

.form-select {
    cursor: pointer;
    background-image: url("data:image/svg+xml,%3csvg xmlns='http://www.w3.org/2000/svg' fill='none' viewBox='0 0 20 20'%3e%3cpath stroke='%23666666' stroke-linecap='round' stroke-linejoin='round' stroke-width='1.5' d='m6 8 4 4 4-4'/%3e%3c/svg%3e");
    background-position: right 1rem center;
    background-repeat: no-repeat;
    background-size: 1.5rem;
    padding-right: 4rem;
    appearance: none;
}

.checkbox-group {
    margin-bottom: 4rem;
}

.checkbox-label {
    display: flex;
    align-items: flex-start;
    gap: 1rem;
    cursor: pointer;
    font-size: 1.4rem;
    line-height: 1.7;
}

.form-checkbox {
    display: none;
}

.checkbox-custom {
    width: 20px;
    height: 20px;
    border: 2px solid #e8eaed;
    border-radius: 4px;
    position: relative;
    flex-shrink: 0;
    transition: var(--transition-fast);
    margin-top: 2px;
}

.form-checkbox:checked + .checkbox-custom {
    background: var(--gradient-primary);
    border-color: var(--primary-color);
}

.form-checkbox:checked + .checkbox-custom::after {
    content: '✓';
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    color: white;
    font-size: 12px;
    font-weight: bold;
}

.privacy-link {
    color: var(--primary-color);
    text-decoration: underline;
}

.privacy-link:hover {
    color: var(--secondary-color);
}

.error-message {
    color: #e74c3c;
    font-size: 1.3rem;
    margin-top: 0.5rem;
    display: none;
}

.error-message.show {
    display: block;
}

.form-submit {
    text-align: center;
    margin-top: 4rem;
}

.btn-large {
    padding: 1.8rem 4rem;
    font-size: 1.8rem;
    font-weight: 700;
}

.btn i {
    margin-right: 0.8rem;
}

/* 営業時間・対応エリアセクション */
.business-info {
    padding: 12rem 0;
    position: relative;
    overflow: hidden;
}

.business-info-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 4rem;
    margin-top: 6rem;
}

.info-card {
    background: #ffffff;
    border-radius: var(--radius-lg);
    border: 1px solid #e8eaed;
    padding: 4rem 3rem;
    text-align: center;
    position: relative;
    transition: var(--transition-normal);
}

.info-card:hover {
    transform: translateY(-4px);
    box-shadow: 0 8px 24px rgba(0, 0, 0, 0.1);
}

.info-icon {
    width: 70px;
    height: 70px;
    margin: 0 auto 2.5rem;
    background: var(--gradient-primary);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: white;
    font-size: 2rem;
}

.info-title {
    font-size: 1.8rem;
    font-weight: 700;
    color: var(--text-dark);
    margin-bottom: 2rem;
}

.info-details {
    text-align: left;
}

.info-item {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 1rem;
    padding-bottom: 1rem;
    border-bottom: 1px solid #f0f0f0;
}

.info-item:last-of-type {
    border-bottom: none;
    margin-bottom: 0;
    padding-bottom: 0;
}

.label {
    font-size: 1.4rem;
    color: var(--text-light);
    font-weight: 500;
}

.value {
    font-size: 1.4rem;
    color: var(--text-dark);
    font-weight: 600;
}

.info-note {
    font-size: 1.2rem;
    color: var(--text-light);
    margin-top: 1.5rem;
    text-align: center;
    font-style: italic;
}

/* よくある質問セクション */
.faq {
    padding: 12rem 0;
    position: relative;
    overflow: hidden;
}

.faq-container {
    max-width: 80rem;
    margin: 0 auto;
}

.faq-list {
    display: flex;
    flex-direction: column;
    gap: 2rem;
}

.faq-item {
    background: #ffffff;
    border-radius: var(--radius-lg);
    border: 1px solid #e8eaed;
    overflow: hidden;
    transition: var(--transition-normal);
}

.faq-item:hover {
    box-shadow: 0 4px 16px rgba(0, 0, 0, 0.08);
}

.faq-question {
    width: 100%;
    background: none;
    border: none;
    padding: 3rem;
    text-align: left;
    cursor: pointer;
    display: flex;
    justify-content: space-between;
    align-items: center;
    transition: var(--transition-fast);
}

.faq-question:hover {
    background: rgba(26, 35, 126, 0.02);
}

.question-text {
    font-size: 1.7rem;
    font-weight: 600;
    color: var(--text-dark);
    line-height: 1.5;
    padding-right: 2rem;
}

.faq-icon {
    font-size: 1.4rem;
    color: var(--primary-color);
    transition: var(--transition-fast);
    flex-shrink: 0;
}

.faq-item.active .faq-icon {
    transform: rotate(45deg);
}

.faq-answer {
    max-height: 0;
    overflow: hidden;
    transition: max-height 0.3s ease;
}

.faq-item.active .faq-answer {
    max-height: 200px;
}

.answer-content {
    padding: 0 3rem 3rem;
}

.answer-content p {
    font-size: 1.5rem;
    line-height: 1.7;
    color: var(--text-light);
    margin: 0;
}

/* フッター追加スタイル */
.footer-contact-btn {
    display: inline-block;
    background: var(--gradient-primary);
    color: white;
    padding: 1rem 2rem;
    border-radius: var(--radius-md);
    font-size: 1.4rem;
    font-weight: 600;
    text-decoration: none;
    transition: var(--transition-normal);
    margin-top: 1rem;
    margin-bottom: 2rem;
}

.footer-contact-btn:hover {
    transform: translateY(-2px);
    box-shadow: 0 4px 12px rgba(26, 35, 126, 0.3);
}

/* レスポンシブ対応 */
@media (max-width: 1200px) {
    .contact-methods-grid,
    .business-info-grid {
        gap: 3rem;
    }
    
    .form-container {
        padding: 5rem 4rem;
    }
}

@media (max-width: 992px) {
    .page-title .jp {
        font-size: 4rem;
    }
    
    .contact-methods-grid,
    .business-info-grid {
        grid-template-columns: 1fr;
        gap: 3rem;
    }
    
    .form-grid {
        grid-template-columns: 1fr;
        gap: 2rem;
    }
    
    .form-container {
        padding: 4rem 3rem;
    }
}

@media (max-width: 768px) {
    .page-hero {
        padding: 12rem 0 8rem;
    }
    
    .page-title .jp {
        font-size: 3.2rem;
    }
    
    .page-title .en {
        font-size: 1.4rem;
    }
    
    .contact-methods,
    .contact-form,
    .business-info,
    .faq {
        padding: 8rem 0;
    }
    
    .section-header {
        margin-bottom: 4rem;
    }
    
    .contact-method-card,
    .info-card {
        padding: 3rem 2rem;
    }
    
    .form-container {
        padding: 3rem 2rem;
        margin: 0 1rem;
    }
    
    .phone-number,
    .email-address {
        font-size: 1.8rem;
    }
    
    .method-title,
    .info-title {
        font-size: 1.8rem;
    }
    
    .faq-question {
        padding: 2rem;
    }
    
    .question-text {
        font-size: 1.5rem;
    }
    
    .answer-content {
        padding: 0 2rem 2rem;
    }
}

@media (max-width: 576px) {
    .page-title .jp {
        font-size: 2.8rem;
    }
    
    .page-subtitle {
        padding: 0 20px;
    }
    
    .page-subtitle::before,
    .page-subtitle::after {
        width: 15px;
    }
    
    .contact-method-card,
    .info-card {
        padding: 2.5rem 1.5rem;
    }
    
    .form-container {
        padding: 2.5rem 1.5rem;
        margin: 0;
    }
    
    .form-input,
    .form-select,
    .form-textarea {
        padding: 1.2rem 1.4rem;
    }
    
    .btn-large {
        padding: 1.5rem 3rem;
        font-size: 1.6rem;
    }
    
    .phone-number,
    .email-address {
        font-size: 1.6rem;
    }
    
    .method-title,
    .info-title {
        font-size: 1.6rem;
    }
    
    .faq-question {
        padding: 1.5rem;
    }
    
    .question-text {
        font-size: 1.4rem;
    }
    
    .answer-content {
        padding: 0 1.5rem 1.5rem;
    }
    
    .answer-content p {
        font-size: 1.4rem;
    }
    
    .info-item {
        flex-direction: column;
        align-items: flex-start;
        gap: 0.5rem;
    }
}