@charset "UTF-8";

#commercial {
    padding-bottom: 16rem;
    background-color: #F2F4EF;


    @media screen and (max-width: 767px) {
        padding-bottom: 8rem;
    }

    .title {
        margin-bottom: 7.8rem;

        @media screen and (max-width: 767px) {
            margin-bottom: 5rem;
        }
    }

    .table {
        border-top: 1px solid #B9B9B9;

        & table {
            width: 100%;

            & tr {
                border-bottom: 1px solid #B9B9B9;

                @media screen and (max-width: 767px) {
                    display: flex;
                    flex-direction: column;
                    gap: 0.4rem;
                    padding: 2rem 1.2rem;
                }

                & th,
                & td {
                    font-style: normal;
                    font-size: 1.6rem;
                    line-height: 180%;
                    letter-spacing: 0.1em;
                    text-align: left;
                    color: #000000;

                    @media screen and (max-width: 767px) {
                        font-size: 1.4rem;
                    }
                }

                & th {
                    padding: 3rem 4rem 3rem 2.4rem;
                    width: 25%;
                    font-weight: 600;
                    vertical-align: top;

                    @media screen and (max-width: 767px) {
                        padding: 0;
                        width: 100%;
                    }
                }

                & td {
                    padding: 3rem 2.4rem 3rem 4rem;
                    font-weight: 400;

                    @media screen and (max-width: 767px) {
                        padding: 0;
                        width: 100%;
                    }


                    & a {
                        &[href] {
                            text-decoration: underline;

                            @media (hover: hover) and (pointer: fine) {
                                &:hover {
                                    text-decoration: none;
                                }
                            }

                            &[target="_blank"] {
                                &::after {
                                    content: "";
                                    display: inline-block;
                                    margin-left: 0.3rem;
                                    margin-bottom: -0.5rem;
                                    width: 2.4rem;
                                    height: 2.4rem;
                                    background-image: url("../../common/img/parts/out-link.svg");
                                    background-size: 100% 100%;
                                    background-repeat: no-repeat;
                                }
                            }

                        }

                        @media screen and (min-width: 768px){
                            &[href^="tel:"] {
                                text-decoration: none;
                            }
                        }
                    }
                }
            }
        }
    }
}