/* ==========================================================================
   お問い合わせページ専用スタイル
   ========================================================================== */

/* ==========================================================================
   ページヘッダー（共通スタイル）
   ========================================================================== */
.page-header {
    position: relative;
    padding: 100px 0 60px;
    color: white;
    overflow: hidden;
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
}

.page-header::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(135deg, rgba(26, 61, 92, 0.85) 0%, rgba(46, 82, 102, 0.85) 100%);
    z-index: 1;
}

.page-header-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: url('data:image/svg+xml,%3Csvg width="60" height="60" viewBox="0 0 60 60" xmlns="http://www.w3.org/2000/svg"%3E%3Cg fill="none" fill-rule="evenodd"%3E%3Cg fill="%23ffffff" fill-opacity="0.03"%3E%3Cpath d="M36 34v-4h-2v4h-4v2h4v4h2v-4h4v-2h-4zm0-30V0h-2v4h-4v2h4v4h2V6h4V4h-4zM6 34v-4H4v4H0v2h4v4h2v-4h4v-2H6zM6 4V0H4v4H0v2h4v4h2V6h4V4H6z"/%3E%3C/g%3E%3C/g%3E%3C/svg%3E');
    z-index: 2;
}

.page-header .container {
    position: relative;
    z-index: 3;
}

.page-title {
    text-align: center;
}

.page-title .title-en {
    display: block;
    font-size: 14px;
    letter-spacing: 0.2em;
    margin-bottom: 8px;
    opacity: 0.8;
    font-weight: 400;
}

.page-title .title-ja {
    display: block;
    font-size: 36px;
    font-weight: 700;
    letter-spacing: 0.08em;
}

.breadcrumb {
    text-align: center;
    margin-top: 25px;
    font-size: 13px;
}

.breadcrumb a {
    color: white;
    text-decoration: none;
    opacity: 0.8;
    transition: opacity 0.3s ease;
}

.breadcrumb a:hover {
    opacity: 1;
}

.breadcrumb .separator {
    margin: 0 8px;
    opacity: 0.5;
}

/* ==========================================================================
   セクション共通
   ========================================================================== */
.section-title {
    text-align: center;
    font-size: 32px;
    color: #333;
    margin-bottom: 50px;
    font-weight: 700;
    position: relative;
}

.section-title::after {
    content: '';
    position: absolute;
    bottom: -15px;
    left: 50%;
    transform: translateX(-50%);
    width: 60px;
    height: 3px;
    background: #1976d2;
}

/* ==========================================================================
   お問い合わせ導入セクション
   ========================================================================== */
.contact-intro-section {
    padding: 60px 0;
    background: white;
    text-align: center;
}

.intro-content h2 {
    font-size: 28px;
    color: #1a3d5c;
    margin-bottom: 20px;
    font-weight: 600;
}

.intro-content p {
    font-size: 16px;
    color: #555;
    line-height: 1.8;
}

/* ==========================================================================
   お問い合わせフォームセクション
   ========================================================================== */
.contact-form-section {
    padding: 60px 0;
    background: #f8f9fa;
}

.contact-wrapper {
    display: grid;
    grid-template-columns: 2fr 3fr;
    gap: 40px;
    max-width: 1000px;
    margin: 0 auto;
}

/* 左側：お問い合わせ情報 */
.contact-info {
    background: white;
    padding: 40px;
    border-radius: 12px;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.06);
}

.contact-info h3 {
    font-size: 20px;
    color: #1a3d5c;
    margin-bottom: 30px;
    font-weight: 600;
}

.contact-method {
    display: flex;
    gap: 20px;
    margin-bottom: 30px;
    padding-bottom: 30px;
    border-bottom: 1px solid #eee;
}

.contact-method:last-of-type {
    border-bottom: none;
}

.method-icon {
    width: 50px;
    height: 50px;
    background: #e3f2fd;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: #1976d2;
    flex-shrink: 0;
}

.method-content h4 {
    font-size: 16px;
    color: #333;
    margin-bottom: 8px;
    font-weight: 600;
}

.method-content p {
    font-size: 14px;
    color: #666;
    line-height: 1.6;
    margin: 0;
}

.phone-number {
    font-size: 24px !important;
    color: #1976d2 !important;
    font-weight: 700;
    margin: 5px 0;
}

.business-hours,
.response-time {
    font-size: 13px !important;
    color: #999 !important;
}

.office-map {
    margin-top: 30px;
}

.office-map img {
    width: 100%;
    border-radius: 8px;
}

/* 右側：お問い合わせフォーム */
.contact-form {
    background: white;
    padding: 40px;
    border-radius: 12px;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.06);
}

.contact-form h3 {
    font-size: 24px;
    color: #1a3d5c;
    margin-bottom: 15px;
    font-weight: 600;
}

.form-intro {
    font-size: 14px;
    color: #666;
    margin-bottom: 30px;
    line-height: 1.6;
}

.contact-message {
    padding: 15px 20px;
    border-radius: 8px;
    margin-bottom: 25px;
    font-size: 14px;
    line-height: 1.6;
}

.contact-message.success {
    background: #e8f5e9;
    border: 1px solid #4caf50;
    color: #2e7d32;
}

.contact-message.error {
    background: #ffebee;
    border: 1px solid #f44336;
    color: #c62828;
}

.contact-message p {
    margin: 0;
}

.required {
    color: #d32f2f;
    font-weight: 600;
}

/* フォームスタイル */
.inquiry-form .form-group {
    margin-bottom: 25px;
}

.inquiry-form .form-row {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 20px;
}

.inquiry-form label {
    display: block;
    font-size: 14px;
    color: #333;
    margin-bottom: 8px;
    font-weight: 500;
}

.inquiry-form input[type="text"],
.inquiry-form input[type="email"],
.inquiry-form input[type="tel"],
.inquiry-form select,
.inquiry-form textarea {
    width: 100%;
    padding: 12px 16px;
    border: 1px solid #ddd;
    border-radius: 6px;
    font-size: 15px;
    transition: all 0.3s ease;
}

.inquiry-form input:focus,
.inquiry-form select:focus,
.inquiry-form textarea:focus {
    border-color: #1976d2;
    outline: none;
    box-shadow: 0 0 0 3px rgba(25, 118, 210, 0.1);
}

.inquiry-form select {
    cursor: pointer;
}

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

.privacy-check {
    display: flex;
    align-items: flex-start;
    gap: 8px;
    cursor: pointer;
}

.privacy-check input[type="checkbox"] {
    margin-top: 3px;
    cursor: pointer;
}

.privacy-check a {
    color: #1976d2;
    text-decoration: none;
}

.privacy-check a:hover {
    text-decoration: underline;
}

.form-submit {
    margin-top: 30px;
    text-align: center;
}

.submit-button {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    background: #1976d2;
    color: white;
    padding: 15px 40px;
    border: none;
    border-radius: 30px;
    font-size: 16px;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.3s ease;
}

.submit-button:hover {
    background: #1565c0;
    transform: translateY(-2px);
    box-shadow: 0 5px 20px rgba(25, 118, 210, 0.3);
}

/* Contact Form 7 スタイル調整 */
.wpcf7 input[type="text"],
.wpcf7 input[type="email"],
.wpcf7 input[type="tel"],
.wpcf7 select,
.wpcf7 textarea {
    width: 100%;
    padding: 12px 16px;
    border: 1px solid #ddd;
    border-radius: 6px;
    font-size: 15px;
    transition: all 0.3s ease;
}

.wpcf7 input:focus,
.wpcf7 select:focus,
.wpcf7 textarea:focus {
    border-color: #1976d2;
    outline: none;
    box-shadow: 0 0 0 3px rgba(25, 118, 210, 0.1);
}

.wpcf7 .wpcf7-form-control-wrap {
    display: block;
    margin-bottom: 25px;
}

.wpcf7 .wpcf7-submit {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    background: #1976d2;
    color: white;
    padding: 15px 40px;
    border: none;
    border-radius: 30px;
    font-size: 16px;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.3s ease;
}

.wpcf7 .wpcf7-submit:hover {
    background: #1565c0;
    transform: translateY(-2px);
    box-shadow: 0 5px 20px rgba(25, 118, 210, 0.3);
}

.wpcf7 .wpcf7-not-valid-tip {
    color: #d32f2f;
    font-size: 13px;
    margin-top: 5px;
}

.wpcf7 .wpcf7-response-output {
    margin: 20px 0;
    padding: 15px;
    border-radius: 6px;
}

/* ==========================================================================
   よくあるご質問セクション
   ========================================================================== */
.faq-section {
    padding: 60px 0;
    background: white;
}

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

.faq-item {
    background: #f8f9fa;
    border-radius: 8px;
    margin-bottom: 15px;
    overflow: hidden;
    transition: all 0.3s ease;
}

.faq-item.active {
    background: white;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.08);
}

.faq-question {
    display: flex;
    align-items: center;
    gap: 15px;
    padding: 20px 25px;
    cursor: pointer;
    transition: all 0.3s ease;
}

.faq-question:hover {
    background: #e8e8e8;
}

.faq-item.active .faq-question {
    background: #f5f5f5;
}

.faq-icon {
    width: 35px;
    height: 35px;
    background: #1976d2;
    color: white;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: 700;
    flex-shrink: 0;
}

.faq-question h4 {
    flex: 1;
    font-size: 16px;
    color: #333;
    margin: 0;
    font-weight: 500;
}

.faq-toggle {
    font-size: 24px;
    color: #666;
    font-weight: 300;
    transition: transform 0.3s ease;
}

.faq-answer {
    display: none;
    padding: 0 25px 20px;
    gap: 15px;
    align-items: flex-start;
}

.faq-answer .faq-icon {
    background: #4ade80;
}

.faq-answer p {
    flex: 1;
    font-size: 15px;
    color: #555;
    line-height: 1.7;
    margin: 0;
}

/* ==========================================================================
   レスポンシブ対応
   ========================================================================== */
@media (max-width: 768px) {
    .page-header {
        padding: 80px 0 50px;
    }
    
    .page-title .title-ja {
        font-size: 28px;
    }
    
    .page-title .title-en {
        font-size: 12px;
    }
    
    .section-title {
        font-size: 26px;
    }
    
    .contact-wrapper {
        grid-template-columns: 1fr;
        gap: 30px;
    }
    
    .contact-info,
    .contact-form {
        padding: 30px 20px;
    }
    
    .inquiry-form .form-row {
        grid-template-columns: 1fr;
    }
    
    .phone-number {
        font-size: 20px !important;
    }
    
    .faq-question {
        padding: 15px 20px;
    }
    
    .faq-question h4 {
        font-size: 15px;
    }
    
    .faq-icon {
        width: 30px;
        height: 30px;
        font-size: 14px;
    }
}