/*---------------------------------
    Mobile Styling
---------------------------------*/

/*　　アウトライン　
*{
    outline: 2px rgb(227, 239, 7) solid;
}*/

@media screen and (max-width: 480px) {

    h1 {
        font-size: 1rem;
    }

    h2 {
        font-size: 1.5rem;
    }
    
    h3 {
        font-size: 1rem;
    }

    h4 {
        font-size: 0.7rem;
    }

    p {
        font-size: 0.7rem;
    }

    /* ---------------------------------
            Reusable Classes
    ---------------------------------- */

    .container {
        width: 90%;
        margin: 0 auto;
    }

    .top-tittle {
        padding-top: 90px;
        width: 70vw;
        margin-bottom: 40px;
    }

    .top-tittle h3 {
        margin-bottom: 30px;
    }

    :root {
        --sbgreen: #1ea33e;
        --sborenge: #f18e2c;
        --gray: #343434;
        --white: #fff;
    }
    /* ---------------------------------
            Header
    ---------------------------------- */

    .header {
        flex-wrap: wrap;
        padding: 5px 15px;
    }

    .header-logo img {
        width: 80px;
        margin-bottom: 10px;
    }

    .header-nav-menu a {
        display: none;
    }

    .btn-menu {
        display: block;
        position: absolute;
        top: 10px;
        right: 10px;
        border: 1px solid #fff;
        box-shadow: 2px 2px 5px #343434;
        background: #1ea33e;
        border-radius: 10%;
        color: #fff;
        font-weight: bold;
        padding: .3rem .3rem
    }
    
    .menu-list {
        display: block;
        background: #343434;
        color: #fdfdfd;
        text-align: center;
        width: 0; 
        position: absolute;
        z-index: 2;
        top: 50px;
        right: 0;
        overflow: hidden;
        transition: .5s;
        line-height: 1rem;
    }
    .menu-list li {
        text-align: center;
        margin: 30px 0;
    }

    .menu-list-item a {
        font-size: 1.5rem;
        color: rgb(251, 215, 230);
    }

    .menu-list.open-menu {
        width: 100%;
        height: 100vh;
    }


    /*-----------------------------------
            Main - Hero 
    ------------------------------------*/

    .main-hero {
        padding-top: 60px;
        margin-bottom: 30px;
    }

    .main-hero-copy {
        top: 70px;
    }
    .main-hero-logo img {
        width: 100px;
    }

    /* -----------------------------------------
            Main - Works 
    ------------------------------------------*/

    .main-works {
        margin: 30px 0;
    }

    .main-works-button {
        font-size: 0.5rem;
        margin-bottom: 30px;
    }

    /* -----------------------------------------
        Main - News 
    ------------------------------------------*/

    .main-news {
        padding: 30px 0;
    }

    .main-news-table td {
        font-size: 0.8rem;
    }

    .main-news-button {
        font-size: 0.8rem;
        padding: 5px 15px 5px 5px;
    }

    .main-news-button :after {
        content: '';
        width: 0;
        height: 0;
        border-style: solid;
        border-width: 6px 0 6px 9px;
        border-color: transparent transparent transparent #ffffff;
        position: absolute;
        top: 11%;
        left: 52px;
    }

    /* -----------------------------------------
            Main - ACCESS
    ------------------------------------------*/

    .main-access {
        padding: 30px 0;
    }

    .main-access-flow {
        flex-wrap: wrap;
    }
    
    .main-access h2{
        padding-bottom: 10px;
    }
    .main-access-img {
        width: 100%;
    }
    
    .main-access-address {
        width: 100%;
        padding-top: 10px;
        padding-left: 0;

    }


    /* -----------------------------------------
                Footer
    ------------------------------------------*/

    .footer-info {
        flex-wrap: wrap-reverse;
        justify-content: center;
        padding: 10px 10px;
    }

    .footer-info-logo img {
        width: 100px;
        margin-top: 10px;
    }
    
    .footer-info-nav-menu a {
        margin: 0 5px;
        font-size: 0.75rem;
    }

    /* -----------------------------------------
        COMPANY - STYLING
    ------------------------------------------*/

    .company-top img {
        width: 100px;
        padding-bottom: 10px;
    }

    .company-top h1, h3 {
        padding-bottom: 7px;
    }

    .company-table {
        flex-wrap: wrap;
    }

    .company-profile1, .company-profile2 {
        width: 100%;
    }

    .company-table td {
        font-size: 0.8rem;
    }

    .company-table td:nth-of-type(1) {
        width: 25%;
    }
    
    .company-profile2 {
        margin-bottom: 60px;
    }

    /* -----------------------------------------
         WORKS - STYLING
    ------------------------------------------*/

    .works-top h1, h3 {
        padding-bottom: 7px;
    }

    .works-tittle {
        margin-bottom: 30px;
    }

    .works-items {
        gap: 10px;
        margin-bottom: 60px;
    }

    .works-items {
        font-size: 0.8rem;
    }

    /* -----------------------------------------
        TOP MESSAGE - STYLING
    ------------------------------------------*/

    .tm-message {
        flex-wrap: wrap-reverse;
        justify-content: center;
    }

    .tm-text {
        width: 100%;
    }

    .tm-photo {
        width: 50%;
        padding-bottom: 10px;
    }

    .tm-message {
        padding-bottom: 60px;
    }

    /* -----------------------------------------
            CONTACT - STYLING
    ------------------------------------------*/

    .contact-table td {
        font-size: 0.8rem;
        padding: 5px 10px;
    }
    
    .contact-must::after {
        text-align: left;
        margin-left: 20px;
    }

    .contact-must::after {
        font-size: 7px;
        margin-left: 2px;
    }

    .contact-submit {
    margin: 0 auto;
    }

    /*
    SLIDE MENU

    /*開閉ボタン
    .btn-menu {
        position: fixed;
        right: 15px;
        top: 5px;
        z-index: 100;

        border: 1px solid var(--brown);
        border-radius: 10%;
        height: 2rem;
        width: 2rem;
        transition:  .4s;
    }
    .btn-menu svg {
        fill: var(--brown);
        height: 1.5rem;
        width: 1.5rem;
    }

    /*閉じるボタン
    #menu-close {
        border: 100px solid var(--#1EA33E);
    }
    #menu-close svg {
        fill: var(--#1EA33E);
    }

    /*スライドメニューパネル
    #menu-panel {
        position: fixed;
        top: 0;
        right: 0;
        z-index: 100;
        padding: 8rem 2rem 2rem;
        width: max(32vw, 20rem);
        height: 100vh;
        background-color: var(--brown);
        box-shadow: 0 0 2rem var(--brown);
        font-family: var(--oswald-font);
        translate: 100vw;
    }
    .menu-list {
        list-style: none;
    }
    .menu-list li {
        margin: 1.5rem 0;
        opacity: 0;
    }
    .menu-list a {
        color: var(--light-green);
        text-decoration: none;
        font-size: 2rem;
    }
    ================================================ */
}


