/* tab accordion 切り替え用 */

ul.resp-tabs-list, p {
    margin: 0px;
    padding: 0px;
}

.resp-tabs-list li {
  font-weight: 600;
  display: inline-block;
  padding: 0;
  margin-right: -2px;
  margin-bottom: -2px;
  list-style: none;
  cursor: pointer;
  float: left;
	/*border: 2px solid #39b5a4;*/
	width: 174px;
	background: url(/img/top/tabmenu_bg.png)repeat-x 0 bottom;
}

.resp-tabs-list li:last-child {
	width: 168px;
}

.resp-tabs-list li span {
  display: block;
  background: #f6d343;
  color: #000;
	padding: 15px 0;
	text-align: center;
	width: 168px;
  border-top: 2px solid #f6d343;
  border-left: 2px solid #f6d343;
  border-right: 2px solid #f6d343;
  border-radius: 4px 4px 0 0;
}

.resp-tabs-container {
    padding: 0px;
    background-color: #fff;
    clear: left;
}

h4.resp-accordion {
    cursor: pointer;
    padding: 5px;
	background-color: #f6d343;
    display: none;
		position: relative;
}

.resp-tab-content {
    display: none;
    padding: 15px 0;
}

.resp-tab-active {
    /*border: 1px solid #39b5a4;
    border-bottom: none;*/
    margin-bottom: -2px !important;
    /*padding: 12px 14px 14px 14px !important;*/
}

.resp-tab-active {
    border-bottom: none;
    /* background-color: #fff !important; */
}

.resp-tab-active span {
    background-color: #fff !important;
}

.resp-content-active, .resp-accordion-active {
    display: block;
}

.resp-tab-content {
/*    border: 2px solid #39b5a4; */
}

/* ------------------------------
   #tab Accordion
------------------------------ */

.resp-tab-content  li {
  float: left;
	border: 1px solid #cccccc;
	border-radius: 4px;
	margin: 0 0 10px 10px;
}

.resp-tab-content  li:nth-child(3n+1){ margin-left: 0;}

.resp-tab-content  li a { display: block; width: 220px; padding: 20px 10px 20px 50px; text-decoration: none; color: #000; background-position: 10px 50%; background-repeat: no-repeat; }
.resp-tab-content  li a:hover { background-color: #fffbe0; text-decoration: none; color: #000;}

.resp-tab-content  li a.ic01 { background-image:url(/img/top/icon_m01.png);}
.resp-tab-content  li a.ic02 { background-image:url(/img/top/icon_m02.png);}
.resp-tab-content  li a.ic03 { background-image:url(/img/top/icon_m03.png);}
.resp-tab-content  li a.ic04 { background-image:url(/img/top/icon_m04.png);}
.resp-tab-content  li a.ic05 { background-image:url(/img/top/icon_m05.png);}
.resp-tab-content  li a.ic06 { background-image:url(/img/top/icon_m06.png);}
.resp-tab-content  li a.ic07 { background-image:url(/img/top/icon_m07.png);}
.resp-tab-content  li a.ic08 { background-image:url(/img/top/icon_m08.png);}
.resp-tab-content  li a.ic09 { background-image:url(/img/top/icon_m09.png);}
.resp-tab-content  li a.ic10 { background-image:url(/img/top/icon_m10.png);}
.resp-tab-content  li a.ic11 { background-image:url(/img/top/icon_m11.png);}
.resp-tab-content  li a.ic12 { background-image:url(/img/top/icon_m12.png);}
.resp-tab-content  li a.ic13 { background-image:url(/img/top/icon_m13.png);}
.resp-tab-content  li a.ic14 { background-image:url(/img/top/icon_m14.png);}
.resp-tab-content  li a.ic15 { background-image:url(/img/top/icon_m15.png);}
.resp-tab-content  li a.ic16 { background-image:url(/img/top/icon_m16.png);}
.resp-tab-content  li a.ic17 { background-image:url(/img/top/icon_m17.png);}
.resp-tab-content  li a.ic18 { background-image:url(/img/top/icon_m18.png);}
.resp-tab-content  li a.ic19 { background-image:url(/img/top/icon_m19.png);}
.resp-tab-content  li a.ic20 { background-image:url(/img/top/icon_m20.png);}
.resp-tab-content  li a.ic21 { background-image:url(/img/top/icon_m21.png);}
.resp-tab-content  li a.ic22 { background-image:url(/img/top/icon_m22.png);}
.resp-tab-content  li a.ic23 { background-image:url(/img/top/icon_m23.png);}
.resp-tab-content  li a.ic24 { background-image:url(/img/top/icon_m24.png);}
.resp-tab-content  li a.ic25 { background-image:url(/img/top/icon_m25.png);}
.resp-tab-content  li a.ic26 { background-image:url(/img/top/icon_m26.png);}
.resp-tab-content  li a.ic27 { background-image:url(/img/top/icon_m27.png);}
.resp-tab-content  li a.ic28 { background-image:url(/img/top/icon_m28.png);}


/*____*/

h4.resp-accordion {
  clear: both;
  font-size: 100%;
	text-align: center;
  border: 2px solid #f6d343;
  margin: 0 0 10px 0;
  padding: 10px 15px;
	border-top: 2px solid #f6d343;
	border-left: 2px solid #f6d343;
	border-right: 2px solid #f6d343;
	border-bottom: 2px solid #f6d343;
	border-radius: 4px;
}

h4.resp-tab-active {
    margin-bottom: 0px !important;
    padding: 10px 15px !important;
}

h4.resp-tab-title:last-child {
    border-bottom: 12px solid #f6d343 !important;
    background: blue;
}
/*-----------Vertical tabs-----------*/
.resp-vtabs ul.resp-tabs-list {
    float: left;
    width: 30%;
}

.resp-vtabs .resp-tabs-list li {
    display: block;
    padding: 15px 15px !important;
    margin: 0;
    cursor: pointer;
    float: none;
}

.resp-vtabs .resp-tabs-container {
    padding: 0px;
    background-color: #fff;
    border: 2px solid #39b5a4;
    float: left;
    width: 68%;
    min-height: 250px;
    border-radius: 4px;
    clear: none;
}

.resp-vtabs .resp-tab-content {
    border: none;
}

.resp-vtabs li.resp-tab-active {
    border: 2px solid #39b5a4;
    border-right: none;
    background-color: #39b5a4;
    position: relative;
    z-index: 1;
    margin-right: -1px !important;
    padding: 14px 15px 15px 14px !important;
}

.resp-arrow {
    width: 0;
    height: 0;
    float: right;
    margin-top: 3px;
    border-left: 6px solid transparent;
    border-right: 6px solid transparent;
    border-top: 12px solid #f6d343;
}

h4.resp-tab-active span.resp-arrow {
border-left: 6px solid transparent;
border-right: 6px solid transparent;
border-top: 12px solid #f6d343;
position: absolute;
bottom: -14px;
left: 48%;
}

/*-----------Accordion styles-----------*/
h4.resp-tab-active {
    background: #fff !important;
}
.resp-easy-accordion  h4.resp-accordion {
        display: block;
}
.resp-easy-accordion .resp-tab-content {
    border: 2px solid #39b5a4;
}

.resp-easy-accordion .resp-tab-content:last-child {
    border-bottom: 2px solid #39b5a4 !important;
}

.resp-jfit {
    width: 100%;
    margin: 0px;
}

.resp-tab-content-active {
    display: block;
}

h4.resp-accordion:first-child {
    border-top: 2px solid #f6d343 !important;
}

/*Here your can change the breakpoint to set the accordion, when screen resolution changed*/
@media only screen and (max-width: 670px) {
    ul.resp-tabs-list {
        display: none;
    }

    h4.resp-accordion {
        display: block;
    }

    .resp-vtabs .resp-tab-content {
        border: 2px solid #39b5a4;
    }

    .resp-vtabs .resp-tabs-container {
        border: none;
        float: none;
        width: 100%;
        min-height: initial;
        clear: none;
    }
    .resp-accordion-closed {
        display:none !important;
    }
    .resp-vtabs .resp-tab-content:last-child {
        border-bottom: 2px solid #39b5a4 !important;
    }
		
		/* ------------------------------
   #tab Accordion
------------------------------ */

.resp-tab-content  li {
  float: left;
	border-top: none;
	border-left: none;
	border-bottom: 1px solid #cccccc;
	border-radius: 0;
	margin: 0;
	width: 33%; 
	text-align: center;
	font-size: 88%;
}

.resp-tab-content  li:nth-child(3n+1){ clear: both; margin-left: 0; border-left: 1px solid #cccccc;}

.resp-tab-content  li:nth-child(-n+3){ border-top: 1px solid #cccccc;}
.resp-tab-content  li:first-child { border-radius: 4px 0 0 0;}
.resp-tab-content  li:nth-child(3) { border-radius: 0 4px 0 0;}

.resp-tab-content  li a { display: block; width: 100%; min-height: 80px; padding: 30px 0 8px; text-decoration: none; color: #000; background-position: center 8px; background-repeat: no-repeat; background-size: auto 24px;}
.resp-tab-content  li a:hover { background-color: #fffbe0; text-decoration: none; color: #000;}

.resp-tab-content  li a.ic01 { background-image:url(/img/top/icon_m01.png);}
.resp-tab-content  li a.ic02 { background-image:url(/img/top/icon_m02.png);}
.resp-tab-content  li a.ic03 { background-image:url(/img/top/icon_m03.png);}
.resp-tab-content  li a.ic04 { background-image:url(/img/top/icon_m04.png);}
.resp-tab-content  li a.ic05 { background-image:url(/img/top/icon_m05.png);}
.resp-tab-content  li a.ic06 { background-image:url(/img/top/icon_m06.png);}
.resp-tab-content  li a.ic07 { background-image:url(/img/top/icon_m07.png);}
.resp-tab-content  li a.ic08 { background-image:url(/img/top/icon_m08.png);}

}

#horizontalTab2 .resp-tabs-list li {
    width: 139px;
}
#horizontalTab2 .resp-tabs-list li:last-child {
    width: 133px;
}
#horizontalTab2 .resp-tabs-list li > span {
    width: 133px;
}
#horizontalTab2 .resp-tab-content a {
    padding: 20px 10px;
    width: 162px;
}
#horizontalTab2 .resp-tab-content li:nth-child(3n+1) {
    margin-left: 10px;
}
#horizontalTab2 .resp-tab-content li:nth-child(4n+1) {
    margin-left: 0;
}
