#footer{
    background-color: #EAEAEA;
    /* display: flex; */
    /* justify-content: space-between; */
    /* padding: 30px 3.33%; */
}

.footer_container{
    height: auto;/*666px*/
    width: auto;
    /* background-color: #EAEAEA; */
    display: flex;
    justify-content: space-between;
    padding: 60px 6.66%;
    /* position: relative; */
}

.footer_logo{
	width: 350px;
	height: auto;
    /* margin-bottom: 60px; */
}

.footer_left li{
    list-style:none;
    font-size: 1.2rem;
    margin-bottom: 15px;
    line-height:1.5;
}

.consultation_time{
    border: solid 1px #707070;
    border-radius: 10px;
    background-color: #FFFFFF;
    /* width: auto; */
    margin: 0 auto;
}

.consultation_time th{
    padding: 0.5em 0;
    width: 3.1em;
    text-align: center;
    line-height:1.5;
    letter-spacing: 0.05em;
    color: #707070;
}

.consultation_time th span{
    font-size: 0.9rem;

}

.time th,
.time_afternoon th {
    font-size: 15px;
    width: auto;
}

.time th span,
.time_afternoon th span{
    font-size: 13px;
}

.consultation_time td{
    padding: 0.5em 0;
    width: 2em;
    text-align: center;
    line-height:1.5;
    letter-spacing: 0.05em;
    color: #707070;
    font-size: 1.5rem;
    vertical-align:  middle;
}

.time{
    border-bottom: 2px solid #707070;
}

.time_container{
    margin: 2% 3%;
}

.map_container{
    margin-top: 1.5rem;
    width: 38rem;
    height: 17rem;
    border: solid 1px #707070;
    border-radius: 10px;
    background-color: #FFFFFF;
}

.copyright p{
    font-size: 1.5rem;
    line-height:1.5;
    padding: 10px 6.66% 60px 6.66%;
}
/* @media (1201px <= width <= 1440px){ */
.consultation_time{
    width: 600px;
}

.time_container {
    margin: 2% auto;
}

.map_container{
    width: auto;
    height: 17rem;
}

.time th{
    vertical-align: middle;
}

.footer_left img{
    margin-bottom: 1rem;
}

    /* .copyright p {
        font-size: 1.2rem;
        position: absolute;
        top: 3900px; 
        left: 0;
    } */

    /* .sub-text{
        display: none;
    } */
/* } */
/* @media (1600 <= width){
    .footer_container{
        width: 1600px;
        margin: 0 auto;
    }
} */


@media (1600px <= width){
    .footer_container{
        width: 1600px;
        margin: 0 auto;
        /* position: relative; */
    }

    .footer_right{
        padding-left: 100px;
    }

    .address{
        width: 450px;
    }
    
    .copyright p {
        /* font-size: 1.2rem; */
        /* position: absolute;
        top: 26%;
        left: 34.8%;
        transform: translate(-50%, -50%); */
        display: none;
    }

    .sub-text{
        font-size: 1.2rem;
        padding-top: 150px;
    }

    .map_container iframe{
        width:600px;
        height:270px;
    }
}

@media (1201px <= width <=1599px){
    #footer{
        background-color: #EAEAEA;
        height: 680px;
    }
    .sub-text{
        font-size: 1.2rem;
        padding-top: 150px;
    }
    .copyright p{
        display: none;
    }

    .map_container iframe{
        width:100%;/*595px*/
        height:270px;/*66px*/
    }
}

@media (1101px <= width <= 1200px){
    #footer{
        background-color: #EAEAEA;
        height: 650px;
    }
    .consultation_time td{
        padding: 0.5em 0;
        width: 1em;
        text-align: center;
        line-height:1.5;
        letter-spacing: 0.05em;
        color: #707070;
        font-size: 1rem;
    }

    .time th {
        font-size: 15px;
        padding: 10px 10px;
    }
    
    .time_afternoon th{
        font-size: 14px;
        width: auto;
        padding: 10px 2px;
    }

    .time th span,
    .time_afternoon th span{
        font-size: 10px;
    }

    .consultation_time{
        width: 460px;
    }

    .time_container {
        margin: 2% auto;
    }

    .map_container{
        width: auto;
        height: 17rem;
    }
    
    /* .copyright p {
        font-size: 1.2rem;
        position: absolute;
        top: 900px;
        left: 0;
    } */
    .sub-text{
        font-size: 1.2rem;
        padding-top: 150px;
    }
    .copyright p{
        display: none;
    }

    .map_container iframe{
        width:99%;/*595px*/
        height:265px;/*66px*/
    }
}

@media (1024px <= width <= 1100px){/*1440*/
    #footer{
        background-color: #EAEAEA;
        height: 650px;
    }
    .footer_container{
        position: relative;
    }
    .footer_right{
        padding-left: 5vw;
    }
    .consultation_time {
        /* width: fit-content; */
        width: 390px;
    }
    .consultation_time th{
        width: initial;
    }
    .map_container{
        width: auto;
        height: 17rem;
    }
    .morning{
        vertical-align: middle;
        width: 8rem;
    }
    
    .copyright p {
        /* top: 3750px; */
        display: none;
    }

    .sub-text{
        padding-top: 150px;
    }
/*-------------------------------------*/
    .consultation_time td{
        padding: 0.5em 0;
        width: 1em;
        text-align: center;
        line-height:1.5;
        letter-spacing: 0.05em;
        color: #707070;
        font-size: 1rem;
    }

    .time th{
        font-size: 14px;
        width: auto;
        padding: 10px 8px;
    }
    
    .time_afternoon th{
        font-size: 14px;
        width: auto;
        padding: 10px 2px;
    }

    .time th span,
    .time_afternoon th span{
        font-size: 10px;
    }

    .map_container iframe{
        width:385px;
        height:265px;
    }
}

/*#############################
tablet
###############################*/
@media (width <= 1023px) {/*768*/
    #footer{
        background-color: #EAEAEA;
        height: 1050px;
    }

    .footer_container{
        /* height: auto;
        width: auto; */
        /* background-color: #EAEAEA; */
        display:block;
        justify-content: space-between;
        padding: 6.66%;
        text-align: center;
    }

    .footer_right{
        padding-top: 2rem;
    }

    .footer_logo img{
        width: 200px;
        height: auto;
        margin-bottom: 30px;
    }

    .consultation_time{
        width: fit-content;
        margin: auto;
    }

    .consultation_time td{
        padding: 0.5em 0;
        width: 1em;
        text-align: center;
        line-height:1.5;
        letter-spacing: 0.05em;
        color: #707070;
        font-size: 1rem;
    }

    .time_container {
        margin: 2% 3%;
    }

    .time th,
    .time_afternoon th{
        font-size: 12px;
        width: auto;
        padding: 10px 8px;
    }

    .time_afternoon th{
        font-size: 11px;
    }

    .time th span,
    .time_afternoon th span{
        font-size: 10px;
    }

    .footer_left li{
        list-style:none;
        font-size: 15px;
        margin-bottom: 10px;
    }

    .map_container{
        margin: 0 auto;
        margin-top: 3rem;
        width: 468.812px;
        height: 16rem;
        /* border: solid 1px #707070;
        border-radius: 10px;
        background-color: #FFFFFF; */
    }

    .copyright p{
        font-size: 1rem;
        line-height:1.5;
        padding: 6.66%;
        text-align: center;
        position: static;
    }
    
    .time .morning{
        width: 15rem;/*10rem*/
    }

    .sub-text{
        display: none;
    }

    .map_container iframe{
        width:460px;
        height:250px;
    }
}

/*#############################
mobile
###############################*/
@media (width <= 543px) {/*430 375 425*/
    #footer{
        background-color: #EAEAEA;
        height: 800px;/*menuBarを付けた為固定*/
    }

    .footer_container{
        height: auto;/*666px*/
        width: auto;
        /* background-color: #EAEAEA; */
        display:block;
        justify-content: space-between;
        padding: 6.66%;
    }

    .logo img{
        width: 200px;
        height: auto;
        margin-bottom: 30px;
    }

    .consultation_time td{
        padding: 0.5em 0;
        width: 1em;
        text-align: center;
        line-height:1.5;
        letter-spacing: 0.05em;
        color: #707070;
        font-size: 1rem;
    }

    .time th{
        font-size: 12px;
        width: auto;
        padding: 10px 8px;
    }
    
    .time_container {
        margin: 2% 3%;
    }

    .time_afternoon th{
        font-size: 12px;
        width: auto;
        padding: 10px 2px;
    }

    .time th span,
    .time_afternoon th span{
        font-size: 10px;
    }

    .footer_left{
        text-align: left;
    }

    .footer_left li{
        list-style:none;
        font-size: 15px;
        margin-bottom: 10px;
    }

    .map_container{
        margin-top: 1rem;
        width: auto;
        height: 10rem;
        /* border: solid 1px #707070;
        border-radius: 10px;
        background-color: #FFFFFF; */
    }

    .sub-text{
        display: none;
    }

    .copyright p{
        font-size: 0.7rem;
        line-height:1.5;
        padding: 6.66%;
        position: static;
    }

    .map_container iframe{
        width:100%;
        height:155px;
    }
}

@media (width <= 375px){
    .time th {
        padding: 10px 5px;
    }

    .map_container iframe{
        width:98%;
        height:155px;
    }
    .footer_logo img{
        width: 200px;
        height: auto;
        margin-bottom: 30px;
    }
}


/* @media (width >= 360px){
    .consultation_time{
        width: fit-content;
    }
} */

@media (331px <= width <= 374px){
    .time th {
        padding: 10px 0.5vw;
    }

    .map_container iframe{
        width:98%;
        height:155px;
    }
}

@media (width <= 330px) {
    .time_afternoon th span{
        font-size: 8px;
    }
    .time th {
        padding: 10px 0px;
    }
    .map_container iframe{
        width:280px;
        height:155px;
    }
}

@media (300px <= width <= 329px) {
    .map_container iframe{
        width:99%;
        height:100%;
    }
}


