/* 基本設定 */
.request-process,
.main-contact {
    max-width: 900px; 
    margin: 80px auto;
    padding: 0 20px;
}

.section-title-wrapper {
    margin-bottom: 40px;
    text-align: center;
}

.section-title-box {
    font-size: 1.8rem;
    font-weight: bold;
    display: inline-block;
    position: relative;
    padding-bottom: 15px;
    color: #333;
}

.section-title-box::after {
    content: "";
    position: absolute;
    left: 50%;
    bottom: 0;
    transform: translateX(-50%);
    width: 60px;
    height: 4px;
    background-color: #a0d8ef;
}

/* --- ご依頼の流れ --- */
.about-content-box {
    background-color: #f2f8fc;
    padding: 40px;
    border-radius: 25px;
}

.about-content-box h3 {
    font-size: 1.25rem;
    font-weight: bold;
    color: #0070bc;
    margin-top: 30px;
    margin-bottom: 10px;
    display: flex;
    align-items: center;
}

.about-content-box h3:first-child { margin-top: 0; }

.about-content-box p {
    font-size: 0.95rem;
    line-height: 1.8;
    color: #444;
    margin-left: 1.5em;
    text-indent: -1em;
}

/* --- お問い合わせフォーム --- */
.main-contact .form_input {
    background-color: #fff;
    padding: 40px;
    border: 1px solid #dce8f0;
    border-radius: 20px;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.05);
}

.main-contact .form_input > div {
    padding: 20px 0;
    border-bottom: 1px dashed #e0e0e0;
    display: flex;
    align-items: flex-start;
}

.main-contact .form_input > div:last-child {
    border-bottom: none;
}

/* ラベル部分 */
.main-contact label {
    width: 300px;
    flex-shrink: 0;
    font-weight: bold;
    font-size: 0.95rem;
    color: #333;
    padding-top: 10px;
}

/* 必須・任意ラベルの装飾 */
.main-contact span {
    margin-left: 8px;
    padding: 2px 8px;
    color: #fff;
    border-radius: 4px;
    font-size: 0.7rem;
    font-weight: normal;
}

.main-contact .red { background-color: #e74c3c; }
.main-contact .light-green { background-color: #8cc63f; } 

.main-contact .description {
    color: #e74c3c !important;
    background-color: transparent;
    padding: 0;
}

/* 入力フィールド */
.main-contact input[type="text"],
.main-contact select,
.main-contact textarea {
    flex: 1;
    padding: 12px 15px;
    border: 1px solid #ccc;
    border-radius: 8px;
    background-color: #fcfcfc;
    font-size: 1rem;
    box-sizing: border-box;
    transition: all 0.3s;
}

.main-contact input[type="text"]:focus,
.main-contact select:focus,
.main-contact textarea:focus {
    border-color: #a0d8ef;
    background-color: #fff;
    box-shadow: 0 0 8px rgba(160, 216, 239, 0.4);
    outline: none;
}

/* 送信ボタン */
.img-submit-btn {
    display: block !important;
    margin: 60px auto 0 !important;
    width: 240px !important; 
    height: 60px !important;
    
    background: transparent url('../images/contact/button.png') no-repeat center / contain !important;
    border: none !important;
    box-shadow: none !important;
    border-radius: 0 !important;
    outline: none;
    cursor: pointer;
    
    appearance: none !important;
    -webkit-appearance: none !important;
    
    transition: transform 0.2s ease, opacity 0.2s ease;
}

.img-submit-btn:hover {
    transform: scale(1.05);
    opacity: 0.8;
}

.img-submit-btn:active {
    transform: scale(0.98);
}

/* レスポンシブ対応 */
@media screen and (max-width: 768px) {
    .main-contact .form_input {
        padding: 20px;
        border-radius: 15px;
    }

    .main-contact .form_input > div {
        flex-direction: column;
        padding: 15px 0;
    }

    .main-contact label {
        width: 100%;
        margin-bottom: 8px;
        padding-top: 0;
    }

    .main-contact input[type="text"],
    .main-contact select,
    .main-contact textarea {
        width: 100%;
    }

    .img-submit-btn {
        width: 200px !important;
        margin: 40px auto 0;
    }
}