/* Extra small devices (phones, 600px and down) */
@media only screen and (max-width: 600px) {

    body, main, section {
        overflow-x: hidden;
    }

    :root {
        --header-height: 64px;
        --size-small: 10px;
        --size-med: 12px;
        --size-big: 26px;
        --padding-default: 0.5rem;
    }

    header {
        /*background-color: red;*/
    }

    header .logo {
        /*min-width: 48px;*/
        margin-right: 0.5rem;
        height: 70%;
    }

    main{
        grid-template-rows: 300px 1fr 1fr;
    }

    header .nav-item {
        margin: 0 0.4rem;
        font-size: var(--size-med);
    }

    .pc-header{
        display: none;
    }

    .mobile-header{
        display: block;
    }

    .hide-mobile {
        display: none;
    }

    .section-1-text{
        font-size: 24px;
    }

    .s1t-header {
        font-size: 20px;
    }


    .section-2 {
        grid-template-columns: 1fr;
        grid-template-rows: repeat(4, 1fr);
    }

    .s2i {
        padding: 0.5rem;
        height: 170px;
    }

    .s2i.bg-diff {
        background-color: white;
    }

    /*#other-modal div{*/
    /*    background-color: #F0F0F0 !important;*/
    /*}*/
    .s2i-text {
        justify-content: center !important;
    }

    .sm-bg-diff {
        background-color: #F0F0F0 !important;
    }

    .section-about-us {
        display: none;
    }

    .section-4 {
        padding-top: 1rem;
        padding-left: 1.5rem;
        padding-right: 1.5rem;
        grid-template-columns: 1fr !important;
        grid-template-rows: 0.1fr 1fr 1fr;
        grid-gap: 0;
        grid-row-gap: 1rem;
    }

    .map {
        grid-row-start: 3;
        width: 100%;
        height: 100%;
    }

    .contact-info {
        grid-row-start: 2;
        grid-column-start: 1;
        padding: .2rem;
        grid-template-columns: 1fr;
        /*grid-row-gap: .3rem;*/
        font-size: 16px;
    }

    .footer-contact-label{
        font-size: 28px;
    }

    .contact-info div:nth-child(2), .contact-info div:nth-child(4), .contact-info div:nth-child(6) {
        margin-bottom: 1rem;
    }

    .cp{
        font-size: 11px;
        padding-bottom: 15px;
    }
    .modal-container{
        display: none;
    }
}
