
/* タブレット以下 */
@media (max-width:767px) {
    #content img {
        max-width: 100% !important;
        height: auto !important;
    }
    
    .innerBox{
        width: auto;
        
    }
    .innerBox img {
        max-width: 100%;
        height: auto
    }
    .arconix-tabs-horizontal ul.arconix-tabs {
        border-bottom: none;
    }
    .arconix-panes {
        border-top: 1px solid #cccccc !important;
    }
    
    /* ヘッダー　*/
    #header {
        padding: 5px 0 0;
    }
    #header #headerInner,
    #header .logo,
    #header .head-contact{
       display: block;
        text-align: center;
    }
    #header .logo {
        padding-bottom: 5px;
        padding-top: 10px;
    }
    
    #header .innerBox {
        margin: 0 3%;
        text-align: center;
    }
    
    #header #site-title {
        text-align: center;
    }
    #header #headContact {
        text-align: center;
        width: auto;
    }
    #header #headContact #headContactTel {
        font-size: 22px;
    }
    #headerTop #site-description {
        text-align: center;
    }

    #gMenu{display: none;}
    button#responsive-menu-button {
        border-radius: 5px;
        z-index: 100000;
    }
    #responsive-menu .menu-item {
        border-bottom: 1px solid #444;
    }
    /* スライドショー*/
    
    #topMainBnrFrame {
        position: relative;
        height: auto;
        display: block;
        margin: 0 auto;
        width: 96%;
        min-height: inherit;
    }
    /*　フッター*/
    
    #footer a{color: #fff;}
    
    #footer #footerOutline {
        float: none;
        text-align: center;
        width: auto;
        font-size: 12px;
    }

    #footerSiteMap {
        box-sizing: border-box;
        display: block;
        overflow: hidden;
        padding: 15px 2% 0;
        width: 100%;
    }
    
    #footerSiteMap .menu li {
        margin:0 0 8px;
    }
    
    #footerSiteMap .menu li a {
        font-size: 14px;
        background-position: left 2px;
        padding: 0px 20px 4px 18px;
    }
    #footerSiteMap .menu li ul {
        margin: 0;
    }
    #footerSiteMap .menu {
        font-size: 12px;
    }
    #footerSiteMap .menu li li a {
        background-position: 3px 3px;
        padding: 0px 20px 0px 18px;
        font-size: 11px;
    }
    #main {
        width: 100%;
        margin: 0px auto;
    }

    #main #container {
        overflow: visible;
    }

    #main #container #content,
    #main #container #content.wide{
        padding: 0 2%;
        padding-bottom: 20px;
        width: auto;
        margin-bottom: 0;
        float: none;
    }
    

    #main #container #sideTower {
        box-sizing: border-box;
        display: block;
        float: none;
        overflow: hidden;
        padding: 0 2%;
        width: 100%;
    }
    
    table.block-table,
    table.block-table tbody,
    table.block-table tr,
    table.block-table th,
    table.block-table td {
        display: block;
    }
    .block-table img {
        display: block;
        margin-left: auto !important;
        margin-right: auto !important;
    }
    
    /* TrustForm*/
    
    #trust-form {
        height: auto;
        width: 100%;
    box-sizing: border-box;
    }
    #trust-form table,
    #trust-form tbody,
    #trust-form tr,
    #trust-form th,
    #trust-form td{
        display: block;
        overflow: hidden;
    }
            
    div#trust-form.contact-form table th {
        width: 100%;
        float: none;
    }
    
    /* other */
    #panList {
        padding: 0 2%;
        box-sizing: border-box;
    }
    
    .amazingslider-nav-container-1 {
        margin: 0 !important;
    }
    .amazingslider-bullet-wrapper-1 {
        margin-top: 0 !important;
    }
    .amazingslider-bullet-wrapper-1 > div {
        box-sizing: border-box;
        width: 32% !important;
        padding: 0 !important;
        margin-right: 2% !important;
    }
        .amazingslider-bullet-wrapper-1 > div:nth-child(3n) {
        margin-right: 0 !important;
    }
    .amazingslider-bullet-wrapper-1 > div > div {
        width: 100% !important;
    }
    .amazingslider-bullet-wrapper-1 > div > div img{
        margin-top: 0 !important;
    }
    header .head-contact {
    display: block;
    text-align: center;
    vertical-align: middle;
	width: 100% !important;
}
    #header .head-contact{
        width: 100%
    }
    .box1000{
	width: 100%;
	margin-left: auto;
	margin-right: auto;
}
    #headerInner img{
        display: block;
        margin-left: auto !important;
        margin-right:  auto !important;
        margin-bottom: 10px;
    }
    #headerInner table,    #headerInner tbody,    #headerInner tr,    #headerInner td{
        display: block;
    }
    .box1 p{
        font-size: 13px;
    }
    body, p, td {
    font-size: 13px;
}
    .kiji-midashi {
     font-size: 23px;
    }
    .sec2 h4{
        font-size: 19px;
    }
    .td21 li {
    float: none;
    width: 100%;
    margin-right: auto;
    position: relative;
        margin-bottom: 20px;
}
    .sec2 p {

        font-size: 13px;
    }
    .sec3_L {
    float: none;
    width: 100%;
    padding: 10px 20px 20px 20px;
}
    .sec3_R {
   float: none;
    width: 100%;
    padding: 0px 0px 0px;
}
    .news_L {
    width: 100%;
    float: none;
}
    .news_R {
     width: 100%;
    float: none;
}
    .news-title {
    font-size: 24px;
    margin: 20px 0 10px;
    text-align: center;
}
    .promo h2 {
    color: #fff;
    font-size: 21px;
    font-weight: 400;
}
    #panList{
        margin-top: 0
    }
    .link1 ul {
    list-style: none;
    margin: 20px 0px 5px;
    padding: 0px;
    display: block;
}
    .works .infoListBox {
    width: 85%;
    margin-right: auto !important;
    margin-bottom: 30px;
    float: none;
    margin-left: auto !important;
}
    .works_sub {
    width: 90%;
    margin: 20px auto 40px;
}
    .table1 th{
        width: 33%
    }
    #responsive-menu-container #responsive-menu li.responsive-menu-item .responsive-menu-item-link{font-size: 14px !important}
    .contact1 {
    float: none;
    width: 100%;
    padding-top: 18px;
    font-size: 16px;
    font-weight: 400;
}
    .link2 a {
    margin-left: auto !important;
    margin-right: auto!important;
}
    .merit th span {
     font-size: 16px;
    width: 30px;
    height: 30px;
    line-height: 30px;
    left: 0px;
    top: 13px;
}
    .merit th {
    font-size: 20px;
    color: #0062aa;
    position: relative;
    width: 100%;
    padding: 10px 0px;
    padding-left: 35px;
    border-bottom: solid 2px #ccc;
}
    .link1 li {
    float: none;
    width: 100%;
    margin-right: 0px;
        margin-bottom: 10px;
    position: relative;
}
    .contact2 {
    color: #fff;
    float: none;
    width: 100%;
    font-size: 34px;
    font-weight: 600;
    line-height: 1.2;
    padding-top: 5px;
}
    .contact_box {
    background-repeat: repeat;
        padding-bottom: 15px;
}.cp1 {
    font-size: 22px;
    }
    .footer2{
        display: none !important
    }
    .contact4 {
    color: #fff;
    float: none;
    width: 100%;
    padding-top: 10px;
    padding-bottom: 10px;
}
    .contact3 {
    color: #fff;
    float: none;
    width: 100%;
    text-align: center;
    padding-top: 0px;
    font-size: 13px;
}
    .news-box {
    height: auto;
    max-height: 160px;
    }
    .box5 {
    background-color: #ededed;
    padding: 20px 10px;
}
    .box4 {
    background-color: #006ab9;
    padding: 10px 10px 5px;
}
    .button2 a {
    background-color: #fff;
    display: inline-block;
    text-align: center;
    width: 100%;
    float: none;
    height: 73px;
    font-size: 18px;
    line-height: 1.5;
    font-weight: 400;
    padding-top: 10px;
    margin-left: auto;
    margin-right: auto;
    color: #000;
    transition: all 0.5s ease 0s;
    -webkit-transition: all 0.5s ease 0s;
}
    .bktable table,.bktable tbody,.bktable tr,.bktable th,.bktable td{
        display: block
    }
    .cp2 {
    font-size: 20px;
    line-height: 1.5;
    margin: 0px 0px 10px;
}
    .button1 {
    width: 100%;
    }
    .pl40 {
    padding-left: 0px;
}
    .works_sub h4 span {
    font-weight: 200;
    font-size: 16px;
    display: block;
    color: #c9c9c9;
}
    #content h1 {
    font-size: 1.5em;
}
    #main img{
        display: block;
        margin-left: auto;
        margin-right: auto
    }
    .bktable img{
        margin-top: 15px !important;
        display: block;
        margin-left: auto !important;
        margin-right: auto !important
    }
    
    .bktable.table1 th{
        width: 100% !important;
        border-bottom: none !important;
    }
    .link12 {
    list-style: none;
    margin: 20px 0px;
    padding: 0px;
    display: flex;
    flex-wrap: wrap;
    justify-content: flex-start;
}
    .link12 li {
    width: 48%;
    margin-right: 2%;
    margin-block-end: 10px;
}
    .box_rinen th {
    padding: 10px 0px 10px 15px;
    font-size: 16px;
    color: #005497;
    border-bottom: solid 1px #c1dbf0;
}
    .table2 th {
    width: 25%;
}
    .box_rinen td {
    padding: 15px 15px 15px 5px;
    font-size: 13px;
    border-bottom: solid 1px #c1dbf0;
}
    .works_sub h4 {
    color: #0066b2;
    font-size: 20px;
    line-height: 1.4;
    margin: 20px 0px;
}
    
.scroll table{
width:600px;
}
.scroll{
overflow: auto;　
white-space: nowrap;
}
.scroll::-webkit-scrollbar{
 height: 5px;
}
.scroll::-webkit-scrollbar-track{
 background: #F1F1F1;
}
.scroll::-webkit-scrollbar-thumb {
 background: #BCBCBC;
}
    
}