/* コンタクトページ専用スタイル */

/* サブトップ（画像なし・白背景。他下層の英字タイトル＋パンくずに相当） */
.contact-subtop-header {
    background: #fff;
    padding: 140px 0 28px;
    text-align: center;
}

.contact-subtop-en {
    font-size: 3rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 3px;
    color: #333;
    margin: 0 0 1rem;
    line-height: 1.2;
}

.contact-subtop-breadcrumb {
    font-size: 0.9rem;
    color: #666;
}

.contact-subtop-breadcrumb a {
    color: #555;
    text-decoration: none;
}

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

@media (max-width: 768px) {
    .contact-subtop-header {
        padding: 120px 0 20px;
    }
    .contact-subtop-en {
        font-size: 2rem;
        letter-spacing: 2px;
    }
}

@media (max-width: 480px) {
    .contact-subtop-en {
        font-size: 1.35rem;
        letter-spacing: 1px;
    }
    .contact-subtop-breadcrumb {
        font-size: 0.8rem;
    }
}

/* コンタクトセクション（サブトップ下〜地図の上まで） */
.contact-section {
    padding: 48px 0 80px;
    background-color: #fff;
}

/* ページタイトル */
.page-title {
    text-align: center;
    margin-bottom: 50px;
}

.page-title h1 {
    font-size: 2.5rem;
    font-weight: 700;
    color: #333;
    margin-bottom: 15px;
    position: relative;
}

.page-title h1::after {
    content: '';
    position: absolute;
    bottom: -10px;
    left: 50%;
    transform: translateX(-50%);
    width: 60px;
    height: 3px;
    background: linear-gradient(45deg, #007bff, #0056b3);
    border-radius: 2px;
}

.page-title p {
    font-size: 1.1rem;
    color: #666;
    margin-top: 20px;
}

/* コンタクトフォーム */
.contact-form {
    background: white;
    padding: 40px;
    border-radius: 15px;
    box-shadow: 0 10px 30px rgba(0,0,0,0.1);
    transition: all 0.3s ease;
}

.contact-form:hover {
    transform: translateY(-5px);
    box-shadow: 0 15px 40px rgba(0,0,0,0.15);
}

.contact-form h3 {
    color: #333;
    font-weight: 600;
    margin-bottom: 30px;
    position: relative;
}

.contact-form h3::before {
    content: '';
    position: absolute;
    left: 0;
    bottom: -10px;
    width: 40px;
    height: 2px;
    background: #007bff;
}

/* フォーム要素 */
.form-control {
    border: 2px solid #e9ecef;
    border-radius: 8px;
    padding: 12px 15px;
    transition: all 0.3s ease;
    font-size: 0.95rem;
}

.form-control:focus {
    border-color: #007bff;
    box-shadow: 0 0 0 0.2rem rgba(0,123,255,0.25);
    outline: none;
}

.form-label {
    font-weight: 600;
    color: #555;
    margin-bottom: 8px;
}

.text-danger {
    color: #dc3545 !important;
}

/* 送信ボタン */
.btn-submit {
    background: linear-gradient(45deg, #007bff, #0056b3);
    border: none;
    padding: 15px 40px;
    border-radius: 25px;
    color: white;
    font-weight: 600;
    transition: all 0.3s ease;
    font-size: 1rem;
    text-transform: uppercase;
    letter-spacing: 1px;
}

.btn-submit:hover {
    transform: translateY(-2px);
    box-shadow: 0 5px 15px rgba(0,123,255,0.4);
    background: linear-gradient(45deg, #0056b3, #004085);
    color: white;
}

.btn-submit:active {
    transform: translateY(0);
}

.btn-submit:disabled,
.btn-submit.btn-submit--disabled {
    background: #adb5bd;
    color: #fff;
    cursor: not-allowed;
    transform: none;
    box-shadow: none;
}

.btn-submit:disabled:hover,
.btn-submit.btn-submit--disabled:hover {
    background: #adb5bd;
    transform: none;
    box-shadow: none;
}

/* コンタクト情報 */
.contact-info {
    background: white;
    padding: 30px;
    border-radius: 15px;
    box-shadow: 0 10px 30px rgba(0,0,0,0.1);
    height: fit-content;
    position: sticky;
    top: 120px;
    text-align: left;
}

.contact-info .contact-info-item {
    padding-bottom: 1rem;
    margin-bottom: 1rem;
    border-bottom: 1px solid #dee2e6;
}

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

.company-image {
    text-align: center;
    padding: 20px 0;
    border-bottom: 1px solid #e9ecef;
}

.company-image img {
    max-width: 320px;
    width: 100%;
    height: auto;
    filter: brightness(1);
    transition: filter 0.3s ease;
}

.company-image img:hover {
    filter: brightness(0.85);
}

/* 公式LINEバナー：上のロゴと同じ幅で表示 */
.contact-line-banner img {
    max-width: 320px;
    width: 100%;
    height: auto;
    display: block;
}

.contact-info h3 {
    color: #333;
    font-weight: 600;
    margin-bottom: 25px;
    position: relative;
}

.contact-info h3::before {
    content: '';
    position: absolute;
    left: 0;
    bottom: -8px;
    width: 30px;
    height: 2px;
    background: #007bff;
}

.contact-info h5 {
    color: #555;
    font-weight: 600;
    margin-bottom: 10px;
    font-size: 1rem;
}

.contact-info i {
    color: #b19879;
    margin-right: 10px;
    width: 20px;
    text-align: center;
}

.contact-info p {
    color: #666;
    line-height: 1.6;
    margin-bottom: 0;
}

.contact-info a {
    color: #b19879;
    text-decoration: none;
    transition: color 0.3s ease;
}

.contact-info a:hover {
    color: #0056b3;
    text-decoration: underline;
}

/* チェックボックス */
.form-check-input:checked {
    background-color: #007bff;
    border-color: #007bff;
}

.form-check-label {
    color: #555;
    font-size: 0.9rem;
}

.form-check-label a {
    color: #007bff;
    text-decoration: none;
}

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

/* レスポンシブ対応 */
@media (max-width: 768px) {
    .contact-section {
        padding: 32px 0 60px;
    }
    
    .page-title h1 {
        font-size: 2rem;
    }
    
    .page-title p {
        font-size: 1rem;
    }
    
    .contact-form {
        padding: 25px;
    }
    
    .contact-info {
        margin-top: 30px;
        position: static;
    }
    
    .btn-submit {
        padding: 12px 30px;
        font-size: 0.9rem;
    }
}

@media (max-width: 576px) {
    .contact-form {
        padding: 20px;
    }
    
    .contact-info {
        padding: 20px;
    }
    
    .page-title h1 {
        font-size: 1.8rem;
    }
}

/* アニメーション */
@keyframes fadeInUp {
    from {
        opacity: 0;
        transform: translateY(30px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.contact-form,
.contact-info {
    animation: fadeInUp 0.6s ease-out;
}

.contact-info {
    animation-delay: 0.2s;
}

/* フォーカス時のアニメーション */
.form-control:focus {
    animation: pulse 0.3s ease-in-out;
}

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

.line-banner {
    width: 100%;
}

.line-banner img {
    display: block;
    width: 100%;
    height: auto;
    max-height: 200px;
    object-fit: cover;
    border-radius: 8px;
    transition: opacity 0.3s ease;
}

.line-banner img:hover {
    opacity: 0.9;
}



