/* responsive style */


@media screen and (min-width:1024px){

.mob {
	display: none !important;
}
.mob-header {
	display: none !important;
}

} /* /min-width:1024px *********************************************************************/


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

* {box-sizing:border-box;max-width:100%;}
table {table-layout:fixed; width:100%;}
img { max-width:100% !important; height:auto; image-rendering: -webkit-optimize-contrast;}
head + body {margin: 0px;padding: 0 0 73px 0;height: auto; font-size: 15px;line-height: 1.5;}
iframe { max-width:100% !important;}
object { max-width:100% !important;}


.pc {
	display: none !important;
}
div#container {
    width: 100%;
    min-height: auto;
    padding: 0;
    display: flex;
    flex-wrap: wrap;
}
div#header {
    background-size: cover;
    background-position: center;
}
div#body {
    margin-left: auto;
    width: 100%;
    top: auto;
    padding-left: 15px;
    padding-right: 15px;
}
div#leftnav {
    top: 0;
    float: none;
    position: fixed;
    display: flex;
    left: -400px;
    /* flex-direction: column-reverse; */
    height: 100vh;
    background-color: #fff;
    z-index: 999;
    width: 280px;
    padding: 0 5px;
    overflow-y: auto;
    justify-content: left;
    transition-duration: 0.4s;
    overflow: scroll;
    flex-wrap: wrap;
}
div#leftnav.open {
	left: 0;
}
div#leftnav div {
    width: 100%;
    border-left: none;
    border-right: none;
    border-top: none;
    /*border-bottom: solid 1px #ccc;*/
    position: relative;
}
div#leftnav div ul a {
    font-size: 1rem;
    display: block;
    padding: 10px 10px 10px 15px;
}
div#leftnav div > ul {
    margin-bottom: 15px;
}
.mob-header {
    position: fixed;
    bottom: 0;
    width: 100%;
    background-color: #fff;
    display: flex;
    padding: 5px 15px;
    justify-content: space-between;
    border-top: 1px solid #ccc;
    z-index: 99;
}
span.mob-item {
    display: flex;
    flex-direction: column;
    line-height: 1;
}
div#mainnav {
    position: fixed;
    top: 0;
    right: -400px;
    width: 280px;
    height: 100vh;
    overflow-y: auto;
    background-color: #fff;
    z-index: 999;
    background-image: none;
    transition-duration: 0.4s;
}
div#mainnav.open {
    right: 0;
}
.close_main_nav {
    order: -1;
    display: flex;
    border: none !important;
    width: 100%;
    justify-content: flex-end;
    padding: 7px 10px !important;
}
.close_top_nav {
    display: flex;
    width: 100%;
    justify-content: flex-end;
    padding: 7px 10px;
}
div#mainnav > p {
    display: flex;
    flex-direction: column;
    width: 100%;
}
div#mainnav > p > img {
    display: none;
}
body.open-menu::before {
    content: "";
    position: fixed;
    width: 100%;
    height: 100%;
    background: #000;
    z-index: 999;
    left: 0;
    top: 0;
    opacity: 0.8;
}
div#mainnav a:not(.close_button) {
    display: block;
    margin: auto;
    width: 100%;
    text-align: left;
    padding: 10px 10px;
    font-size: 1rem;
    font-weight: 500;
    border-bottom: solid 1px #eee;
}
body.open-menu {
    overflow: hidden;
}
#leftnav .boxContentLeft {
    order: 1;
    border-bottom: none;
}
#leftnav #david-info {
    order: 2;
}
#leftnav .boxTitleLeft {
    order: 3;
}
font[size="2"] {
    font-size: 0.9rem;
}
font[size="1"] {
    font-size: 0.8rem;
}
div#david-info {
    font-size: 0.8rem;
}
#footer ul.submenu {
    display: none;
}
#leftnav .boxContentLeft > img {
    width: 100%;
    height: auto;
}
#leftnav #david-info > img {
    width: 100%;
    height: auto;
}
form #fcf2 div.r {
    display: flex;
    width: 100%;
    justify-content: space-between;
}
form #fcf2 {
    position: relative;
}
form #fcf2 label {
    width: auto;
    text-align: left;
    font-size: 0.9rem;
}
form #fcf2 input {
    height: 35px;
}
#footer > span {
    width: calc(100% - 70px);
    display: flex;
}









} /* /max-width:1023px *********************************************************************/


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

span.mob-item svg {
    width: 30px;
    height: 30px;
}
span.mob-item span {
    font-size: 0.7rem;
}
html body {
    padding-bottom: 54.2px;
}
form div#fcf2 div.r {
    flex-direction: column;
    margin-bottom: 15px;
}
form #fcf2 input.submit {
    padding: 10px 30px;
    height: auto;
    font-size: 1rem;
}
tr {
    display: flex;
}




} /* /max-width:767px **********************************************************************/