/* 業者バンクについてページのスタイル */

/* ヘッダーセクション */
.inquery {
    background: linear-gradient(135deg, #1A4473 0%, #2B5A8B 100%);
    position: relative;
    overflow: hidden;
}

.inquery::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: rgba(26, 68, 115, 0.1);
    backdrop-filter: blur(10px);
    z-index: 1;
}

.inquery .container-fluid {
    position: relative;
    z-index: 2;
}

.inquery h1 {
    font-weight: 700;
    text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.3);
    letter-spacing: 1px;
}

.inquery h5 {
    font-weight: 400;
    text-shadow: 1px 1px 2px rgba(0, 0, 0, 0.3);
    opacity: 0.9;
    letter-spacing: 0.5px;
}

/* メインコンテンツエリア */
.sample_box5 {
    display: inline-block;
    padding: 1rem 2rem;
    background: linear-gradient(135deg, #1A4473 0%, #2B5A8B 100%);
    color: white;
    border-radius: 50px;
    font-size: 1.5rem;
    font-weight: 700;
    text-shadow: 1px 1px 2px rgba(0, 0, 0, 0.3);
    box-shadow: 0 4px 15px rgba(26, 68, 115, 0.3);
    position: relative;
    overflow: hidden;
    transition: all 0.3s ease;
}

.sample_box5::before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.2), transparent);
    transition: left 0.5s ease;
}

.sample_box5:hover::before {
    left: 100%;
}

.sample_box5:hover {
    transform: translateY(-2px);
    box-shadow: 0 6px 20px rgba(26, 68, 115, 0.4);
}

/* 説明文のスタイル */
.p-description {
    font-size: 1rem;
    line-height: 1.8;
    color: #333;
    font-weight: 400;
    text-align: justify;
    margin-bottom: 1.5rem;
}

.p-description:first-of-type {
    font-size: 1.1rem;
    font-weight: 500;
    color: #1A4473;
}

/* パンくずナビ */
.small.text-muted {
    font-size: 0.875rem;
    color: #6c757d !important;
    margin-bottom: 2rem;
}

.small.text-muted a {
    color: #6c757d !important;
    text-decoration: none;
    transition: color 0.3s ease;
}

.small.text-muted a:hover {
    color: #1A4473 !important;
    text-decoration: underline;
}

.small.text-muted .fas {
    margin: 0 0.5rem;
    color: #adb5bd;
}

/* レスポンシブ対応 */
@media (max-width: 768px) {
    .inquery h1 {
        font-size: 1.75rem !important;
        margin-bottom: 0.5rem;
    }
    
    .inquery h5 {
        font-size: 1rem;
    }
    
    .sample_box5 {
        font-size: 1.25rem;
        padding: 0.75rem 1.5rem;
    }
    
    .p-description {
        font-size: 0.95rem;
        line-height: 1.7;
    }
    
    .p-description:first-of-type {
        font-size: 1rem;
    }
    
    .container {
        padding-left: 1rem;
        padding-right: 1rem;
    }
}

@media (max-width: 576px) {
    .inquery {
        padding: 3rem 0 !important;
    }
    
    .inquery h1 {
        font-size: 1.5rem !important;
    }
    
    .sample_box5 {
        font-size: 1.1rem;
        padding: 0.6rem 1.2rem;
    }
    
    .p-description {
        font-size: 0.9rem;
        text-align: left;
    }
}

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

.text-start > p {
    animation: fadeInUp 0.6s ease forwards;
}

.text-start > p:nth-child(1) {
    animation-delay: 0.1s;
}

.text-start > p:nth-child(2) {
    animation-delay: 0.2s;
}

.text-start > p:nth-child(3) {
    animation-delay: 0.3s;
}

/* フォーカス・アクセシビリティ */
.sample_box5:focus {
    outline: 3px solid #ffd700;
    outline-offset: 3px;
}

/* 印刷対応 */
@media print {
    .inquery {
        background: #1A4473 !important;
        color: white !important;
        -webkit-print-color-adjust: exact;
        print-color-adjust: exact;
    }
    
    .sample_box5 {
        background: #1A4473 !important;
        color: white !important;
        -webkit-print-color-adjust: exact;
        print-color-adjust: exact;
    }
}