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

/* ページヘッダー */
.page-header {
    position: relative;
    height: 300px;
    overflow: hidden;
}

.page-header__bg {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg, #0A2A8A 0%, #0047A0 50%, #0066CC 100%);
    z-index: 1;
}

.page-header__graphic {
    position: absolute;
    top: 0;
    left: 0;
    width: 50%;
    height: 100%;
    background-image: url('../images/contact-graphic.png');
    background-size: contain;
    background-repeat: no-repeat;
    background-position: left center;
    opacity: 0.2;
    z-index: 2;
}

.page-header__content {
    position: relative;
    z-index: 3;
    padding: 110px 0 0 0;
}

.page-header__title {
    font-size: 36px;
    font-weight: 700;
    color: #FFFFFF;
    margin-bottom: 10px;
}

.page-header__subtitle {
    font-size: 20px;
    color: #A9A082;
    font-weight: 400;
    font-family: 'Times New Roman', serif;
    margin-bottom: 15px;
}

.page-header__line {
    width: 50px;
    height: 2px;
    background-color: #A9A082;
}

/* パンくずリスト */
.breadcrumb {
    padding: 15px 0;
    background-color: #F5F5F5;
}

.breadcrumb__list {
    display: flex;
    align-items: center;
    flex-wrap: wrap;
}

.breadcrumb__item {
    font-size: 14px;
    color: #666;
    position: relative;
    padding-right: 20px;
    margin-right: 10px;
}

.breadcrumb__item:not(:last-child)::after {
    content: '>';
    position: absolute;
    right: 0;
    top: 50%;
    transform: translateY(-50%);
    color: #CCC;
}

.breadcrumb__link {
    color: #0047A0;
    text-decoration: none;
}

.breadcrumb__link:hover {
    text-decoration: underline;
}

.breadcrumb__home-icon {
    display: inline-block;
    width: 14px;
    height: 14px;
    background-image: url('../images/icon-home.png');
    background-size: contain;
    background-repeat: no-repeat;
    background-position: center;
}

/* お問い合わせフォーム */
.contact-form {
    padding: 80px 0;
}

.contact-form__inner {
    max-width: 800px;
    margin: 0 auto;
}

.contact-form__lead {
    text-align: center;
    margin-bottom: 40px;
    line-height: 1.8;
}

.form__group {
    margin-bottom: 30px;
}

.form__label {
    display: block;
    font-weight: 700;
    margin-bottom: 10px;
}

.form__required {
    display: inline-block;
    background-color: #E74C3C;
    color: white;
    font-size: 12px;
    padding: 2px 8px;
    border-radius: 3px;
    margin-left: 10px;
    font-weight: normal;
}

.form__input,
.form__textarea {
    width: 100%;
    padding: 12px 15px;
    border: 1px solid #DDD;
    border-radius: 4px;
    font-size: 16px;
    transition: border-color 0.3s;
}

.form__input:focus,
.form__textarea:focus {
    border-color: #0047A0;
    outline: none;
}

.form__radio-group {
    display: flex;
    flex-wrap: wrap;
    gap: 20px;
}

.form__radio,
.form__checkbox {
    display: flex;
    align-items: center;
    cursor: pointer;
}

.form__radio input,
.form__checkbox input {
    margin-right: 8px;
}

.form__privacy {
    text-align: center;
    margin: 40px 0;
}

.form__privacy-link {
    color: #0047A0;
    text-decoration: underline;
}

.form__submit {
    text-align: center;
}

.form__button {
    background-color: #0047A0;
    color: white;
    border: none;
    padding: 15px 60px;
    font-size: 18px;
    font-weight: 700;
    border-radius: 4px;
    cursor: pointer;
    transition: background-color 0.3s;
}

.form__button:hover {
    background-color: #003A80;
}


/* レスポンシブ対応 */
@media (max-width: 768px) {
    .page-header {
        height: 200px;
    }
    
    .page-header__title {
        font-size: 28px;
    }
    
    .page-header__subtitle {
        font-size: 18px;
    }
    
    .contact-form{
        padding: 60px 0;
    }
    
    .form__radio-group {
        gap: 15px;
    }
    
    .form__button {
        padding: 12px 40px;
        font-size: 16px;
    }
    
}

@media (max-width: 480px) {
    .page-header {
        height: 150px;
    }
    
    .page-header__title {
        font-size: 24px;
    }
    
    .page-header__subtitle {
        font-size: 16px;
    }
    
    .contact-form__lead br {
        display: none;
    }
    
    .form__radio-group {
        flex-direction: column;
        gap: 10px;
    }
    
}