.main {
    padding: 0;
}

.breadcrumb-section {
    background-color: var(--secondary-color);
    padding: 15px 0;
    margin-top: 0;
    margin-bottom: 0;
}

.breadcrumb {
    font-size: 14px;
    color: var(--white);
}

.breadcrumb a {
    color: var(--white);
    text-decoration: none;
}

.breadcrumb a:hover {
    text-decoration: underline;
}

.breadcrumb .separator {
    margin: 0 10px;
    color: var(--white);
}

.breadcrumb .current {
    color: var(--white);
    font-weight: 500;
}

.page-title-section {
    text-align: center;
    margin-bottom: 0;
    background-color: var(--white);
    padding: 40px 0;
}

.page-title {
    font-size: 36px;
    font-weight: 700;
    color: var(--text-color);
    margin-bottom: 30px;
}

.hero-image {
    width: 100%;
    border-radius: 10px;
    overflow: hidden;
    margin-top: 30px;
}

.hero-image img {
    width: 100%;
    height: 300px;
    object-fit: cover;
    display: block;
}

.contact-intro-section {
    text-align: center;
    padding: 40px 0;
    margin-bottom: 0;
    background-color: var(--white);
}

.contact-intro-text {
    font-size: 18px;
    line-height: 1.8;
    color: var(--light-text);
    margin-bottom: 40px;
    max-width: 800px;
    margin-left: auto;
    margin-right: auto;
}

.phone-contact {
    background-color: transparent;
    padding: 20px;
    border-radius: 0;
    box-shadow: none;
    display: inline-block;
}

.phone-label {
    font-size: 20px;
    color: var(--text-color);
    margin-bottom: 15px;
    font-weight: 500;
}

.phone-number {
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 36px;
    font-weight: 700;
    color: var(--primary-color);
    text-decoration: none;
    margin-bottom: 10px;
    transition: color 0.3s ease;
}

.phone-number:hover {
    color: #002c6a;
}

.phone-number i {
    margin-right: 15px;
    font-size: 30px;
}

.phone-time {
    font-size: 16px;
    color: var(--light-text);
}

.clients-logos-section {
    margin-bottom: 0;
    background-color: var(--white);
    padding: 40px 0;
}

.clients-title {
    font-size: 24px;
    font-weight: 700;
    text-align: center;
    margin-bottom: 40px;
    color: var(--text-color);
}

.clients-logos {
    background-color: var(--white);
    padding: 40px 20px;
    border-radius: 10px;
}

.logo-row {
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 30px;
    margin-bottom: 30px;
    flex-wrap: wrap;
}

.logo-row:last-child {
    margin-bottom: 0;
}

.logo-row img {
    height: 40px;
    max-width: 150px;
    object-fit: contain;
    opacity: 1;
}

.logo-row img:hover {
    opacity: 1;
}

.contact-form-section {
    background-color: var(--white);
    padding: 50px;
    border-radius: 15px;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.05);
    margin-bottom: 60px;
}

.contact-form {
    max-width: 800px;
    margin: 0 auto;
}

.form-group {
    margin-bottom: 30px;
}

.form-label {
    display: block;
    font-size: 16px;
    font-weight: 700;
    color: var(--text-color);
    margin-bottom: 8px;
}

.required {
    background-color: var(--accent-color);
    color: var(--white);
    font-size: 12px;
    font-weight: 700;
    padding: 2px 8px;
    border-radius: 3px;
    margin-left: 8px;
}

.form-input,
.form-textarea {
    width: 100%;
    padding: 15px;
    border: 2px solid var(--border-color);
    border-radius: 8px;
    font-size: 16px;
    font-family: inherit;
    transition: border-color 0.3s ease, box-shadow 0.3s ease;
    background-color: var(--white);
}

.form-input:focus,
.form-textarea:focus {
    outline: none;
    border-color: var(--primary-color);
    box-shadow: 0 0 0 3px rgba(0, 59, 131, 0.1);
}

.form-textarea {
    resize: vertical;
    min-height: 120px;
    line-height: 1.6;
}

.checkbox-group {
    margin-bottom: 40px;
}

.checkbox-label {
    display: flex;
    align-items: flex-start;
    cursor: pointer;
    font-size: 14px;
    line-height: 1.6;
}

/* Contact Form 7のacceptanceフィールド用のスタイル */
.wpcf7-acceptance {
    display: flex;
    align-items: flex-start;
    margin-bottom: 20px;
}

.wpcf7-acceptance input[type="checkbox"] {
    margin-right: 12px;
    margin-top: 2px;
    width: 20px;
    height: 20px;
    cursor: pointer;
    border: 1px solid var(--border-color);
    display: inline-block !important;
    opacity: 1 !important;
    position: static !important;
    visibility: visible !important;
    pointer-events: auto !important;
    z-index: 1 !important;
    appearance: auto !important;
    -webkit-appearance: auto !important;
    -moz-appearance: auto !important;
}

.wpcf7-acceptance input[type="checkbox"]:checked {
    background-color: var(--primary-color);
    border-color: var(--primary-color);
    background-image: url("data:image/svg+xml,%3csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 20 20'%3e%3cpath fill='none' stroke='%23fff' stroke-linecap='round' stroke-linejoin='round' stroke-width='3' d='m6 10 3 3 6-6'/%3e%3c/svg%3e");
    background-size: 12px;
    background-repeat: no-repeat;
    background-position: center;
}

.wpcf7-acceptance .wpcf7-list-item {
    margin: 0;
    display: flex;
    align-items: flex-start;
    pointer-events: auto !important;
}

.wpcf7-acceptance .wpcf7-list-item-label {
    font-size: 14px;
    line-height: 1.6;
    color: var(--text-color);
    cursor: pointer;
    pointer-events: auto !important;
}

/* チェックボックスグループ内のContact Form 7チェックボックスを確実に表示 */
.checkbox-group .wpcf7-acceptance input[type="checkbox"] {
    opacity: 1 !important;
    position: static !important;
    visibility: visible !important;
    display: inline-block !important;
    width: 20px !important;
    height: 20px !important;
    margin-right: 12px !important;
    margin-top: 2px !important;
    cursor: pointer !important;
}

/* チェックボックスグループ内のContact Form 7要素のスタイル */
.checkbox-group .wpcf7-acceptance {
    display: flex !important;
    align-items: flex-start !important;
    margin-bottom: 0 !important;
}

.checkbox-group .wpcf7-acceptance .wpcf7-list-item {
    margin: 0 !important;
    display: flex !important;
    align-items: flex-start !important;
}

.checkbox-group .wpcf7-acceptance .wpcf7-list-item-label {
    font-size: 14px !important;
    line-height: 1.6 !important;
    color: var(--text-color) !important;
    cursor: pointer !important;
}

/* 既存のカスタムチェックボックス用（他のフォームで使用する場合） */
.checkbox-label input[type="checkbox"] {
    position: absolute;
    opacity: 0;
    cursor: pointer;
}

.checkmark {
    width: 20px;
    height: 20px;
    border: 2px solid var(--border-color);
    border-radius: 3px;
    margin-right: 12px;
    flex-shrink: 0;
    position: relative;
    background-color: var(--white);
    transition: all 0.3s ease;
}

.checkbox-label input[type="checkbox"]:checked + .checkmark {
    background-color: var(--primary-color);
    border-color: var(--primary-color);
}

.checkbox-label input[type="checkbox"]:checked + .checkmark:after {
    content: "✓";
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    color: var(--white);
    font-weight: 700;
    font-size: 12px;
}

.checkbox-text {
    color: var(--text-color);
    margin-top: 1px;
}

.privacy-link {
    color: var(--primary-color);
    text-decoration: underline;
}

.privacy-link:hover {
    color: #002c6a;
}

.form-submit {
    text-align: center;
}

.submit-button {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    background-color: var(--primary-color);
    color: var(--white);
    padding: 18px 60px;
    border: none;
    border-radius: 50px;
    font-size: 18px;
    font-weight: 700;
    cursor: pointer;
    transition: all 0.3s ease;
    box-shadow: 0 4px 15px rgba(0, 59, 131, 0.3);
}

.submit-button:hover {
    background-color: #002c6a;
    transform: translateY(-2px);
    box-shadow: 0 6px 20px rgba(0, 59, 131, 0.4);
}

.submit-button i {
    margin-left: 10px;
    transition: transform 0.3s ease;
}

.submit-button:hover i {
    transform: translateX(5px);
}

@media (max-width: 992px) {
    .contact-form-section {
        padding: 30px;
    }
    
    .page-title {
        font-size: 28px;
    }
    
    .contact-intro-text {
        font-size: 16px;
    }
    
    .phone-number {
        font-size: 24px;
    }
    
    .clients-logos {
        padding: 30px 15px;
    }
    
    .logo-row {
        gap: 20px;
    }
    
    .logo-row img {
        height: 35px;
        max-width: 120px;
    }
}

@media (max-width: 768px) {
    .main {
        padding-top: 30px;
    }
    
    .breadcrumb-section {
        padding: 0;
        margin-bottom: 0;
        margin-top: 0;
    }
    
    .page-title {
        font-size: 24px;
        margin-bottom: 20px;
    }
    
    .hero-image img {
        height: 200px;
    }
    
    .contact-intro-section {
        padding: 30px 0;
        margin-bottom: 30px;
    }
    
    .contact-intro-text {
        font-size: 14px;
        margin-bottom: 30px;
        padding: 0 20px;
    }
    
    .phone-contact {
        padding: 20px;
    }
    
    .phone-number {
        font-size: 20px;
    }
    
    .phone-number i {
        font-size: 18px;
    }
    
    .clients-title {
        font-size: 20px;
        margin-bottom: 30px;
        padding: 0 20px;
    }
    
    .clients-logos {
        padding: 20px 10px;
    }
    
    .logo-row {
        gap: 15px;
        margin-bottom: 20px;
    }
    
    .logo-row img {
        height: 30px;
        max-width: 100px;
    }
    
    .contact-form-section {
        padding: 20px;
        margin-bottom: 40px;
    }
    
    .form-group {
        margin-bottom: 20px;
    }
    
    .form-label {
        font-size: 14px;
        margin-bottom: 6px;
    }
    
    .form-input,
    .form-textarea {
        padding: 12px;
        font-size: 14px;
    }
    
    .submit-button {
        padding: 15px 40px;
        font-size: 16px;
    }
}

@media (max-width: 576px) {
    .breadcrumb {
        font-size: 12px;
    }
    
    .breadcrumb .separator {
        margin: 0 5px;
    }
    
    .page-title {
        font-size: 20px;
    }
    
    .hero-image img {
        height: 150px;
    }
    
    .contact-intro-text {
        font-size: 13px;
        padding: 0 20px;
    }
    
    .phone-contact {
        padding: 15px;
    }
    
    .phone-number {
        font-size: 18px;
        flex-direction: column;
        gap: 5px;
    }
    
    .phone-number i {
        margin-right: 0;
        font-size: 16px;
    }
    
    .clients-title {
        font-size: 18px;
        padding: 0 20px;
    }
    
    .logo-row {
        gap: 10px;
        justify-content: space-around;
    }
    
    .logo-row img {
        height: 25px;
        max-width: 80px;
    }
    
    .contact-form-section {
        padding: 15px;
    }
    
    .checkbox-label {
        font-size: 12px;
    }
    
    .checkmark {
        width: 18px;
        height: 18px;
        margin-right: 10px;
    }
    
    .submit-button {
        padding: 12px 30px;
        font-size: 14px;
    }
} 