#contact {
    #sec-title {
        position: relative;
        height: 35dvh;
        background-color: white;

        .background-img {
            height: 100%;

            img {
                width: 100%;
                height: 100%;
                object-fit: cover;
            }
        }

        .title-container {
            position: absolute;
            top: 0;
            left: 0;
            width: 100%;
            height: 100%;
            display: flex;
            flex-direction: column;

            &.with-overlay {
                backdrop-filter: blur(2px);
                background: rgba(255, 255, 255, 0.6);
            }

            .title-text {
                padding: 0 40px;
                margin: auto 0;

                & h1 {
                    text-transform: uppercase;
                    font-family: 'Bayon', sans-serif;
                    font-size: 50px;
                    color: black;
                }

                .subtitle-container {
                    margin-top: 10px;
                    padding: 8px;
                    width: fit-content;
                    background: linear-gradient(to right, #FE5000, #FFC175);

                    h2 {
                        text-transform: uppercase;
                        font-size: 18px;
                        color: white;
                    }
                }
            }
        }
    }

    #sec-content {
        display: flex;
        flex-direction: row;
        /* align-items: center; */
        justify-content: center;
        margin: 40px auto;
        max-width: 1200px;
        /* padding: 40px; */

        .description {
            display: flex;
            flex-direction: column;
            align-items: center;
            gap: 60px;
            width: 40%;
            padding: 0 20px;

            .questions-button {
                font-size: 16px;
                color: #FF5900;
                cursor: pointer;
                background: transparent;
                border: 2px solid transparent;
                background-image: linear-gradient(white, white), linear-gradient(to right, #FF5900, #FF8001);
                background-origin: border-box;
                background-clip: padding-box, border-box;
                padding: 20px 48px;
                border-radius: 35px;
                position: relative;
                transition: transform 0.3s ease;

                &:hover {
                    transform: scale(1.05);
                    box-shadow: 0 0 10px 0 rgba(0, 0, 0, 0.1);
                }
            }

            .description-text {
                margin: 0 20px;
                font-size: 16px;
                line-height: 1.6;
                max-width: 600px;
                text-align: justify;
            }

            .sns-buttons {
                display: flex;
                flex-direction: row;
                align-items: center;
                justify-content: center;
                gap: 30px;

                .sns-button {
                    background: linear-gradient(to top right, #FF5900, #FF8001);
                    padding: 15px;
                    display: flex;
                    align-items: center;
                    justify-content: center;
                    border-radius: 29px;

                    & img {
                        width: 28px;
                        height: 28px;
                    }
                }
            }
        }

        .form-container {
            width: 60%;
            padding: 0 20px;
            display: flex;
            justify-content: center;

            & form {
                display: flex;
                flex-direction: column;
                align-items: flex-start;
                gap: 20px;
                width: 100%;
                max-width: 600px;

                & p {
                    display: flex;
                    flex-direction: row;
                    gap: 10px;
                    width: 100%;
    
                    & label {
                        font-size: 16px;
                        width: 100%;
                        display: flex;
                        flex-direction: column;
                        font-weight: bold;
                        gap: 5px;

                        & a {
                            &::after {
                                content: "【必須】";
                                color: #FF5900;
                                font-size: 14px;
                                margin-left: 15px;
                            }
                        }
        
                        & span {
                            & input, & textarea {
                                font-size: 16px;
                                width: 100%;
                                padding: 12px 10px;
                                border-radius: 5px;
                                border: 1px solid #9D9D9D;
                            }

                            & span {
                                margin-top: 10px;
                            }
                        }
                    }

                    #submit {
                        font-size: 14px;
                        width: 100%;
                        color: white;
                        cursor: pointer;
                        background: linear-gradient(to right, #FF5900, #FF8001);
                        padding: 10px 40px;
                        border-radius: 35px;
                        transition: transform 0.3s ease;
                        border: none;
                        margin: 0 20px;
        
                        &:hover {
                            transform: scale(1.01);
                            box-shadow: 0 0 10px 0 rgba(0, 0, 0, 0.1);
                        }
                    }
                }

                & p:has([name="your-name"]),
                & p:has([name="your-subject"]) {
                    display: none;
                }

                & div:last-child {
                    width: 90%;
                    padding: 10px;
                    margin: 0 auto;
                    border-radius: 5px;
                    text-align: center;
                }
            }
        }
    }
}

/* Responsive Design */
@media (max-width: 768px) {
    #contact {
        #sec-title .title-text {
            padding: 0 20px;

            & h1 {
                font-size: 2.5rem;
            }
        }

        #sec-title .subtitle-container h2 {
            font-size: 1.1rem;
        }

        #sec-content {
            flex-direction: column;
            margin-top: 0;
            margin-bottom: 40px;
            padding: 0 15px;
            gap: 50px;
            
            .description {
                width: 100%;
                padding: 0;
                gap: 30px;

                .description-text {
                    margin: 0;
                    padding: 0 10px;
                }
            }

            .form-container {
                width: 100%;
                display: flex;
                justify-content: center;
                padding: 0 10px;

                & form {
                    align-items: center;
                    width: 100%;
                    max-width: 100%;
                }

                /* & p:nth-last-child(3) {
                    display: flex;
                    flex-direction: column;
                    align-items: center;
                    justify-content: center;
                    gap: 10px;
                    margin: 0;
                    border-radius: 5px;
                    width: 100%;
                } */
            }
        }
    }

    .page-content-container {
        padding: 40px 0;
    }

    .page-content {
        padding: 0 15px;
    }

    .page-content h1 {
        font-size: 2rem;
    }

    .page-content h2 {
        font-size: 1.7rem;
    }

    .page-content h3 {
        font-size: 1.4rem;
    }

    .page-content p,
    .page-content li {
        font-size: 1rem;
    }

    .page-content table {
        font-size: 0.9rem;
    }

    .page-content th,
    .page-content td {
        padding: 10px;
    }
}