@media screen and (max-width: 1024px) {
    .productMainImg {
        width: 100%;
        height: auto;
    }
    .productMainImg img {
        width: 100%;
        height: auto;
    }
    .productMainImg .img_fit, .img_fit {
        width: fit-content;
        max-width: 100%;
    }
 
    .productMainImg {
		flex-direction: column;
	}
	.productMainImg .res_img {
		max-width: 100%;
	}
}

@media screen and (max-width: 810px) {

    .res_img {
        width: 100%;
        height: auto;
    }

    .res_img_md {
        width: 100%;
        height: auto;
    }

    .res_br {
        display: none;
    }
    .res_show_br {
    	display: inline;
    }
    .container-fluid {
        width: 100%;
        padding-left: 15px;
        padding-right: 15px;
        box-sizing: border-box;
    }

    .contents-ec {
        display: block;
        padding: 0;
    }

    #headerTopWrapper {
        padding: 0;
    }


    #headerWrapp {
        transition-property: all;
        transition-duration: 0.5s;
        transition-timing-function: ease;
        transition-delay: 0s;
    }
    #header {
        width: 100%;
        padding: 7px 15px 7px 18px;
    }
    #headerNyBranch,
    #upload_btn {
        
    }
    .headerContactBtn {
        /* display: none; */
    }
    .headerBtnMenu {
        display: block;
        position: static;
        box-shadow: none;
        padding: 0;
        border-bottom: 1px dotted #ccc;
    }
    .onPageCtaDropdown .headerBtnMenu {
        transform: none;
    }
    .onPageCtaDropdown .headerBtnMenu li a {
        font-size: 12px;
    }
    #userGuideBtn .headerBtnMenu li a,
    #locationBtn .headerBtnMenu li a,
    #waBtn .headerBtnMenu li a {
        font-size: 12px;
    }
    .headerBtnMenu li a {
        background-color: transparent;
        padding: 17px 15px 17px 5px;
        display: flex;
        margin-left: 42px;
        border-bottom: 1px dotted #ccc;
        width: calc(100% - 42px);
        gap: 6px;

    }

    .headerBtnMenu li:last-child a, .headerBtnMenu li:last-child.menu-expand li:last-child a{
        border-bottom:none;
    }

    .headerBtnMenu li a:hover {
        text-decoration: none;
    }

    .headerBtnMenu li:last-child.menu-expand a{
        border-bottom: 1px dotted #ccc;
    }

    /* #headerDirections > .headerBtnMenu {
        display: block !important; 
    } */

    #locationList {
        display: none; 
    }
    .productMenu li a {
        font-weight: bold;
        padding: 17px 5px;
        margin-left: 77px;
        width: calc(100% - 77px);
        /* background-color: #f5f5f5; */
    }
    .productMenu li:last-child a {
        border-bottom: 1px dotted #ccc;
    }


    #mainLogo {
        width: 100%;
    }
    #mainLogo img {
        max-width: 240px;
        max-height: 54px;
    }
    #header .site_brand {
        width: 70%;
        box-sizing: border-box;
        margin: 0 auto;
        float: none;
        padding: 10px 0;
    }
    #header .site_brand .logo {
        width: 100%;
        height: auto;
    }

    .topTtlWrapper {
        margin-bottom: 0;
    }

    #nav {
        padding: 0;
		font-size: 14px;
    }
    #nav-menu-list {
        width: 100%;
    }
    .nav-parent-item > .nav-child {
    }
    .nav-parent-item > .nav-parent2 {
        padding: 0;
    }
    .nav-parent-item {
        display: table;
        float: left;
        width: 25%;
    }
    .nav-parent-item > .nav-link {
        font-size: 14px;
        background-image: none;
    }

    .nav-parent-item > .nav-link::after {
        content: none;
    	padding-left: 0;
    }
    .nav-parent-item.active-menu > .nav-link::after {
        content: none;
    }
    .nav-parent-item .nav-item .nav-link {
        padding: 12px 10px;
        border-bottom: 1px solid #eee;
    }
    .nav-parent-item .nav-item {

    }
    .nav-parent2-list > .nav-item > .nav-link {
        padding: 15px 10px;
        border: none;
    }
    .nav-parent2-list > .nav-item > .nav-link:hover {
        text-decoration: none;
    }
    #nav-menu-list > .nav-parent-item > .nav-link {
        vertical-align: middle;
        padding: 0 5px;
        height: 4em;
        display: table-cell;
    }

	.nav-item > .nav-child .nav-link {
		font-size: 14px;
	}

    .nav-item .nav-link {
        padding: 20px 10px;
    }
    .nav-parent2-list {
        float: none;
        margin-right: 0;
        width: 100%;
    }
    .nav-parent2-list > .nav-item {
        margin-bottom: 0;
        border-bottom: 1px solid #CCC;
    }
    .nav-parent2-item > .nav-child {
        position: relative;
        display: none;
    }
    .nav-parent2-item.active > .nav-child {
        padding-bottom: 0;
    }
    .nav-parent2-item > .nav-child li {
        padding: 0 10px;
    }
    .nav-parent2-item > .nav-child .nav-link {
        padding: 12px 10px;
        padding-left: 20px;
        font-size: 14px;
        border-top: 1px solid #eee;
        border-bottom: none;
    }
    .nav-parent2-list .nav-parent2-item > .nav-link {
        background-image: url(../images/menu_bottom_arrow_gray.png);
        background-repeat: no-repeat;
        background-position: 97% 50%;
    }
    .nav-parent2-list .nav-parent2-item.active > .nav-link {
        background-image: url(../images/menu_top_arrow_gray.png);

    }
    .nav-child .nav-link {
        background-image: none;
    }
    .nav-item-sp-first .nav-parent2 {
        display: block;
    }


    #mainContent {
        box-sizing: border-box;
    }




    .box_50p {
    	width: 100%;
    	float: none;
    }
    .box_50p_left {
    	margin-right: 0;
    }




    /*下層ページ*/

    #breadcrumb {
        padding: 5px;
    }

    #breadcrumb,
    #breadcrumb a {
        font-size: 10px;
    }

    .section {
        margin-bottom: 20px;
    }
    .caption_r,
    .caption {
    	font-size: 12px;
        line-height: 1.6;
    }
    /*ページ内メニュー*/
    #subMenuWrapper {
    	width: 100%;
    }
    #subMenu.subMenu--hidden {
        display: none;
    }
    #subMenu .menu_item a {
        line-height: 20px;
        font-size: 12px;
    }
    .subCtrlContainer {
        padding-right: 70px;
        position: relative;
    }
    .subMenuCtrl {
        position: absolute;
        right: 22px;
        top: 22%;
    }
    .menu-trigger,
    .menu-trigger span {
    	display: inline-block;
    	transition: all .4s;
    	box-sizing: border-box;
    }
    .menu-trigger {
    	width: 26px;
        height: 20px;
    }
    .menu-trigger span {
    	position: absolute;
    	left: 0;
    	width: 100%;
    	height: 4px;
    	background-color: #333;
    	border-radius: 4px;
    }
    .menu-trigger span:nth-of-type(1) {
    	top: 0;
    }
    .menu-trigger span:nth-of-type(2) {
    	top: 8px;
    }
    .menu-trigger span:nth-of-type(3) {
    	bottom: 0;
    }

    .menu-trigger.subMenuCtrlOpen span:nth-of-type(1) {
    	-webkit-transform: translateY(8px) rotate(135deg);
    	transform: translateY(8px) rotate(135deg);
    }
    .menu-trigger.subMenuCtrlOpen span:nth-of-type(2) {
    	opacity: 0;
    }
    .menu-trigger.subMenuCtrlOpen span:nth-of-type(3) {
    	-webkit-transform: translateY(-8px) rotate(45deg);
    	transform: translateY(-8px) rotate(45deg);
    }

    .sub_left .global_menu .menu_item {
        float: none;
    }

    

    .topTtl {
        font-size: 16px;
        min-height: 1em;
    }
    .topTtl .smallText{
        display: block;
    }

    .line_on th, .line_off th,.line_on td, .line_off td  {
        padding: 15px 10px;
    }

    .priceTtl {
        font-size: 20px;
        line-height: 1.2;
        margin-bottom: 15px;
        box-shadow: rgba(0, 0, 0, 0.1) 0px 10px 15px -3px, rgba(0, 0, 0, 0.05) 0px 4px 6px -2px;
    }

    /* responsive table */

    .restableWrapper{
        width: 100%;
        max-width: 100%;
        box-sizing: border-box;
        overflow-x: auto;
        -webkit-overflow-scrolling: touch;
    }

    .restableWrapper > .line_on,
    .restableWrapper > .line_off {
        min-width: 640px;
        width: auto;
    }

    #mainContent table.fixed{
        width: auto;
        min-width: 100%;
    }

    table.resTable tr td {
        min-width: 100px;
    }

    .restableWrapper > .line_on.resTable > tbody > tr > td:first-child, .restableWrapper > .line_off.resTable > tbody > tr > td:first-child {
        position: sticky;
        /* top: 0; */
        left: 0;
        background-color: #ebeaed;
        /* min-width: 120px; */
    }

    .restableWrapper > .line_on.resTable > thead th:first-child, .restableWrapper > .line_off.resTable > thead th, .resTable > thead th:first-child {
        position: sticky;
        /* top: 0; */
        left: 0;
        background-color: #3a4457;
    }

    .restableWrapper > .line_on.resTable > tbody > tr:nth-child(odd) > td:first-child{
        background-color: #fbfbfb;
    }
    
    .restableWrapper::-webkit-scrollbar {
        height: 8px;
    }

    table.resTable tbody tr td .bt-content {
        vertical-align: middle !important;
        font-size: 14px;
        line-height: 1.3em;
    }

    
    #mainContent table.priceTable {
        min-width: 568px;
        width: auto;
    }

    #mainContent table.priceTable--wide {
        min-width: 1700px;
    }

    .priceTable th,
    .priceTable td {
        font-size: 14px;
        line-height: 1.25;
        padding: 14px 8px;
    }

    .priceTable > thead th:first-child,
    .priceTable > tbody > tr > td:first-child {
        min-width: 120px;
        width: 120px;
    }

    .priceTable > thead th:not(:first-child),
    .priceTable > tbody > tr > td:not(:first-child) {
        min-width: 112px;
        width: 112px;
    }

    .restableWrapper > .line_on.resTable.priceTable > thead th:first-child {
        background-color: #434E64;
    }

    .restableWrapper > .line_on.resTable.priceTable > thead th:not(:first-child) {
        background-color: #4d536d;
        color: #fff;
        font-weight: bold;
    }

    .restableWrapper > .line_on.resTable.priceTable > tbody > tr > td:first-child {
        background-color: #fbfbfb;
        box-shadow: 1px 0 0 #d8d8d8;
        font-weight: normal;
    }

    .restableWrapper > .line_on.resTable.priceTable > tbody > tr:nth-of-type(2n) > td:first-child {
        background-color: #EFEFEF;
    }

    
    
	.res-block {
		clear: both;
		display: block;
		float: none;
	}


    /* コンタクトバナー */
    .contacts {
        margin-bottom: 20px;
        margin-top: 0;
        text-align: center;
    }
    .contacts .left_cell,
    .contacts .right_cell {
        float: left;
        width: 100%;
    }


    /* フッターメニュー */
    .footerTitle {
        font-size: 16px;
    }
    #footerNav {
        padding-top: 0;
    }
    #footerNav dl {
        width: 100%;
        height: auto;
        float: none;
        padding: 0;
        margin-bottom: 0;
        border-bottom: 2px solid #333;
    }
    #footerNav1 dl a {
        margin-bottom: 0;
        padding: 5px 0;
    }
    #footerNav1 dl dd a,
    #footerNav2 dl dd a {
        padding: 10px 0 10px 10px;
    }
    #footerNav1 dl {
        border-bottom: 1px solid #666;
        margin-bottom: 0;
    }
    #footerNav2 dl a {
        margin-bottom: 0;
        padding: 5px 0;
    }
    #footerNav2 dl {
        border-bottom: 1px solid #999;
        margin-bottom: 0;
    }
    #footerNav dt {
        padding: 10px 10px;
    }
    #footerNav1 dt a {
        font-size: 12px;
    }
    #footerNav2 dt a {
        font-size: 12px;
    }
    #footerWrapp dd {
        display: none;
    }
    #footerNav dd li a {
        padding: 10px 20px;
        display: block;
        border-top: 1px solid #444;
    }
    .footerNav_col {
        float: none;
        width: 100%;
    }
    .footer_corp {
        font-size: 11px;
    }



/* ページ下部のマップ案内 */
    #bottomLocationWrapper {
    	padding: 10px 0;
    }
    #bottomLocation {
    	margin-bottom: 40px;
    }

    #bottomLocation .row {
    	padding-top: 20px;
    	padding-bottom: 20px;
    }
    #bottomLocation .col-sm-6 {
        width: 100%;
        float:none;
        padding-right: 0;
    	padding-left: 0;
    }
    #bottomLocation .loc_dataList h3 {
        font-size: 18px;
    }
    #bottomLocation .loc_map .gmapbox {
        margin-right: 0;
    	margin-left: 0;
    }
    #bottomLocation .loc_dataList {
        margin-bottom: 20px;
    }
    table.mapadd tr td {
        line-height: 1.2;
        font-size: 14px;
    }
    #bottomLocation hr {
        margin-bottom: 0px;
    }


/* ヘッダー電話番号 */

    .topMenu {
	    display: none;
	}

    #toTopBtn img {
        width: 35px;
        height: 35px;
    }

    .note_indent {
        padding: 0px;
    }
    .top_copy {
        font-size: 12px;
    }

/* side index */

    .index_l {
        width: auto;
        margin: 10px 0 0;
        top: 110px;
        padding: 7px;
        border-radius: 5px;
        border: 1px solid #434e64;
        position: static;
        /* max-width: 35%; */
    }

    .index_l li {
        padding: 7px;
    }

    .sm-HmbIcon {
        font-size: 20px;
        color:#434e64;
    }

    .sm-HmbIcon.acIcon--plus {
        transform: rotate(45deg);
        width: fit-content;
        font-size: 15px;
    }

    .secTtl {
        margin:0;
    }

    .guide_w_index {
        display: block;
    }

    .hmb {
        display: flex;
        justify-content: space-between;
        padding: 3px 7px;
        color: #434e64;
        font-weight: bold;
        font-size: 14px;
    }

    /* card box */
    .card-box{
        display: flex;
        flex-direction: column;
    }

    .card-box:nth-child(even){
        flex-direction: column-reverse;
    }

    .card-box .content{
        width: auto;
        padding: 17px;
    }

    .card-box img{
        width: 100%;
    }


}
@media screen and (max-width: 480px) {
    .sec--menu.slide-down{
        overflow: scroll;
    }
}

.head_fix {
	position: fixed;
	width: 100%;
	z-index: 1000;
}

