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

/* ========================================
   パンくずリスト
   ======================================== */
.breadcrumb-section {
    margin-top: 90px;
    padding: 10px 0;
    background-color: var(--bg-light);
}

.breadcrumb {
    margin: 0;
    padding: 0;
    background-color: transparent;
}

.breadcrumb ol {
    display: flex;
    gap: 10px;
    list-style: none;
    align-items: center;
    font-size: 14px;
}

.breadcrumb ol li {
    display: flex;
    align-items: center;
}

.breadcrumb ol li:not(:last-child)::after {
    content: '›';
    margin-left: 10px;
    color: var(--text-gray);
    font-size: 16px;
}

.breadcrumb ol li a {
    color: var(--primary-color);
    text-decoration: none;
    transition: opacity 0.3s ease;
}

.breadcrumb ol li a:hover {
    opacity: 0.7;
}

.breadcrumb ol li:last-child {
    color: var(--text-gray);
}

/* ========================================
   ヒーローセクション（パターン1: 施工写真 + オーバーレイ）
   ======================================== */
.contact-hero {
    position: relative;
    padding: 120px 0 80px;
    background:
        linear-gradient(135deg, rgba(3, 107, 252, 0.9) 0%, rgba(5, 137, 255, 0.85) 100%),
        url('img/contact-hero-bg.png');
    background-size: 100% auto;
    background-position: center;
    background-repeat: no-repeat;
    background-attachment: scroll;
    color: white;
    text-align: center;
    overflow: hidden;
    border-bottom: 4px solid;
    border-image: linear-gradient(90deg, #D0A900 0%, #F5D76E 50%, #D0A900 100%);
    border-image-slice: 1;
}

.page-title {
    font-size: 48px;
    font-weight: 900;
    margin-bottom: 15px;
    position: relative;
    z-index: 1;
    text-shadow: 2px 2px 8px rgba(0, 0, 0, 0.3);
}

.page-title-en {
    font-family: var(--font-en);
    font-size: 18px;
    letter-spacing: 0.3em;
    opacity: 0.9;
    text-transform: uppercase;
    position: relative;
    z-index: 1;
}

/* ========================================
   お問い合わせ説明セクション
   ======================================== */
.contact-intro {
    padding: 60px 0;
    background-color: var(--bg-white);
    text-align: center;
}

.contact-intro .section-title {
    text-align: center;
}

.contact-intro .section-title::before {
    display: none;
}

.contact-intro .section-title-en {
    text-align: center;
    margin-bottom: 30px;
}

.contact-intro-text {
    font-size: 16px;
    line-height: 2;
    color: var(--text-gray);
    max-width: 800px;
    margin: 0 auto;
}

/* ========================================
   地図セクション
   ======================================== */
.map-section {
    padding: 60px 0;
    background-color: var(--bg-light);
}

.map-container {
    border-radius: 15px;
    overflow: hidden;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.1);
}

.map-container iframe {
    display: block;
    width: 100%;
}

/* ========================================
   お問い合わせ情報とフォームセクション
   ======================================== */
.contact-main-section {
    padding: 80px 0;
    background-color: var(--bg-white);
}

.contact-main-grid {
    display: grid;
    grid-template-columns: 1fr 2fr;
    gap: 60px;
    align-items: start;
}

/* ========================================
   左カラム：お問い合わせ情報
   ======================================== */
.contact-info-column {
    position: sticky;
    top: 120px;
}

.contact-info-column .section-title {
    font-size: 24px;
    margin-bottom: 10px;
}

.contact-info-column .section-title::before {
    display: none;
}

.contact-info-column .section-title-en {
    margin-bottom: 40px;
}

.contact-info-list {
    display: flex;
    flex-direction: column;
    gap: 35px;
}

.contact-info-item {
    border-bottom: 1px solid #e5e7eb;
    padding-bottom: 25px;
}

.contact-info-item:last-child {
    border-bottom: none;
}

.info-label {
    font-size: 16px;
    font-weight: 700;
    color: var(--text-dark);
    margin-bottom: 10px;
}

.info-content {
    font-size: 15px;
    line-height: 1.8;
    color: var(--text-gray);
    margin: 0;
}

.info-link {
    color: var(--primary-color);
    text-decoration: none;
    transition: color 0.3s ease;
    font-weight: 500;
}

.info-link:hover {
    color: var(--accent-color);
}

.info-hours {
    font-size: 13px;
    color: var(--text-gray);
    margin-top: 5px;
}

/* ========================================
   右カラム：お問い合わせフォーム
   ======================================== */
.contact-form-column {
    background-color: var(--bg-light);
    padding: 50px;
    border-radius: 15px;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.08);
}

/* フォームスタイル */
.contact-form {
    width: 100%;
}

.form-group {
    margin-bottom: 25px;
}

.form-label {
    display: block;
    font-size: 14px;
    font-weight: 600;
    color: var(--text-dark);
    margin-bottom: 8px;
}

.required {
    background-color: var(--accent-color);
    color: white;
    font-size: 11px;
    padding: 3px 8px;
    border-radius: 3px;
    margin-left: 8px;
    font-weight: 500;
}

.optional {
    background-color: var(--text-gray);
    color: white;
    font-size: 11px;
    padding: 3px 8px;
    border-radius: 3px;
    margin-left: 8px;
    font-weight: 500;
}

.form-input,
.form-select,
.form-textarea {
    width: 100%;
    padding: 12px 15px;
    font-size: 14px;
    font-family: var(--font-ja);
    border: 2px solid #e5e7eb;
    border-radius: 8px;
    background-color: white;
    transition: all 0.3s ease;
    outline: none;
}

.form-input:focus,
.form-select:focus,
.form-textarea:focus {
    border-color: var(--primary-color);
    box-shadow: 0 0 0 4px rgba(26, 77, 143, 0.1);
}

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

.form-select {
    cursor: pointer;
    appearance: none;
    background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='12' viewBox='0 0 12 12'%3E%3Cpath fill='%23666' d='M6 9L1 4h10z'/%3E%3C/svg%3E");
    background-repeat: no-repeat;
    background-position: right 15px center;
    padding-right: 45px;
}

/* チェックボックス */
.form-checkbox-group {
    margin-top: 30px;
    padding-top: 25px;
    border-top: 1px solid #e5e7eb;
}

.form-checkbox-label {
    display: flex;
    align-items: center;
    cursor: pointer;
    font-size: 13px;
    color: var(--text-dark);
}

.form-checkbox {
    width: 18px;
    height: 18px;
    margin-right: 10px;
    cursor: pointer;
    accent-color: var(--primary-color);
}

.checkbox-text {
    line-height: 1.6;
}

.privacy-link {
    color: var(--primary-color);
    text-decoration: underline;
    transition: opacity 0.3s ease;
}

.privacy-link:hover {
    opacity: 0.7;
}

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

.form-submit-button {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    padding: 16px 50px;
    font-size: 15px;
    font-weight: 700;
    color: white;
    background: linear-gradient(135deg, var(--primary-color) 0%, var(--primary-light) 100%);
    border: none;
    border-radius: 50px;
    cursor: pointer;
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    box-shadow: 0 4px 15px rgba(26, 77, 143, 0.3);
}

.form-submit-button:hover {
    transform: translateY(-3px);
    box-shadow: 0 8px 25px rgba(26, 77, 143, 0.4);
    background: linear-gradient(135deg, var(--primary-light) 0%, var(--primary-color) 100%);
}

.form-submit-button:active {
    transform: translateY(-1px);
}

.form-submit-button svg {
    transition: transform 0.3s ease;
}

.form-submit-button:hover svg {
    transform: translateX(5px);
}

/* ========================================
   レスポンシブ対応
   ======================================== */
@media (max-width: 1024px) {
    .contact-main-grid {
        grid-template-columns: 1fr;
        gap: 40px;
    }

    .contact-info-column {
        position: static;
    }

    .contact-form-column {
        padding: 40px 30px;
    }
}

@media (max-width: 768px) {
    .page-title {
        font-size: 36px;
    }

    .page-title-en {
        font-size: 14px;
    }

    .contact-intro {
        padding: 40px 0;
    }

    .map-section {
        padding: 40px 0;
    }

    .contact-main-section {
        padding: 50px 0;
    }

    .contact-form-column {
        padding: 30px 20px;
    }

    .form-submit-button {
        width: 100%;
        justify-content: center;
    }
}

/* ========================================
   アニメーション
   ======================================== */
.contact-info-item,
.form-group {
    opacity: 0;
    transform: translateY(20px);
    animation: fadeInUp 0.6s ease forwards;
}

.contact-info-item:nth-child(1) {
    animation-delay: 0.1s;
}

.contact-info-item:nth-child(2) {
    animation-delay: 0.2s;
}

.contact-info-item:nth-child(3) {
    animation-delay: 0.3s;
}

.form-group:nth-child(1) {
    animation-delay: 0.1s;
}

.form-group:nth-child(2) {
    animation-delay: 0.15s;
}

.form-group:nth-child(3) {
    animation-delay: 0.2s;
}

.form-group:nth-child(4) {
    animation-delay: 0.25s;
}

.form-group:nth-child(5) {
    animation-delay: 0.3s;
}

.form-group:nth-child(6) {
    animation-delay: 0.35s;
}

.form-group:nth-child(7) {
    animation-delay: 0.4s;
}

@keyframes fadeInUp {
    from {
        opacity: 0;
        transform: translateY(20px);
    }

    to {
        opacity: 1;
        transform: translateY(0);
    }
}