/* tab to accordion
===========================================================*/

h3 { color:#F15A24;}
.demo { width: 980px; margin: 0px auto 30px;}
.demo ul { margin-bottom:16px;}
.demo li { list-style:square inside;}
.note { position:relative; color:#333; overflow:hidden;}
.note:after {
    content:"";
    position:absolute;
    bottom:0;
    right:0;
    border-width:30px 30px 0 0 ; /* This trick side-steps a webkit bug */
    border-style:solid;
    border-color:#90b44b #F5F5F5 #F5F5F5 #90b44b; /* A bit more verbose to work with .rounded too */
    background:#90b44b url(../img/htag-bg.png) repeat fixed; /* For Opera when also applying a border-radius */
    display:block; width:0; /* Only for Firefox 3.0 damage limitation */
/* Optional: shadow */
    -webkit-box-shadow:0 1px 1px rgba(0,0,0,0.3), -1px 1px 1px rgba(0,0,0,0.2);
    -moz-box-shadow:0 1px 1px rgba(0,0,0,0.3), -1px 1px 1px rgba(0,0,0,0.2);
    box-shadow:0 1px 1px rgba(0,0,0,0.3), -1px 1px 1px rgba(0,0,0,0.2);
}

@media only screen and (max-width: 768px) {
.demo { margin: 5%; width: 90%;}
.note { background: #90b44b url(../img/htag-bg.png) repeat fixed;padding-bottom:30px;}
}


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

.resp-tabs-list li {
   /* text-shadow: 0px 0px 3px #f5f8fa;*/
    color: #00008b;
    display: inline-block;
    padding: 13px 15px;
    margin-right: -2px;
    margin-bottom: -2px;
    list-style: none;
    cursor: pointer;
    float: left;
    background: #f7f5ed url(../img/htag-bg.png) repeat fixed;
    border: 2px solid #90b44b;
font-size: 1.27rem;
}


/*TOPのNEWアイコン*/
span#topnew {
    font-size: 0.6em;
    color: crimson;
    border: 1px solid crimson;
    background: #ffffff;
    vertical-align: top;
} 

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

h2.resp-accordion {
    cursor: pointer;
    padding: 5px;
background: #f7f5ed url(../img/htag-bg.png) repeat fixed !important;
color:  darkblue;
    display: none;
}

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

.resp-tab-active {
    border: 1px solid #90b44b;
    border-bottom: none;
    margin-bottom: -2px !important;
    padding: 12px 14px 14px 14px !important;
}

.resp-tab-active {
    border-bottom: none;
    background: #90b44b url(../img/htag-bg.png) repeat fixed !important;
}

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

.resp-tab-content {
    border: 2px solid #90b44b;
border-radius: 0 0 15px 15px;
}

h2.resp-accordion {
    font-size: 13px;
    border: 2px solid #90b44b;
    border-top: 0px solid #90b44b;
    margin: 0px;
    padding: 10px 15px;
}

h2.resp-tab-active {
    border-bottom: 0px solid #90b44b !important;
    margin-bottom: 0px !important;
    padding: 10px 15px !important;
}

h2.resp-tab-title:last-child {
    border-bottom: 12px solid #90b44b !important;
    background: blue url(../img/htag-bg.png) repeat fixed;
}
/*-----------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 #90b44b;
    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 #90b44b;
    border-right: none;
    background: #90b44b url(../img/htag-bg.png) repeat fixed;
    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 darkblue;
}

h2.resp-tab-active span.resp-arrow {
    border: none;
    border-left: 6px solid transparent;
    border-right: 6px solid transparent;
    border-bottom: 12px solid #9B9797;
}

/*-----------Accordion styles-----------*/
h2.resp-tab-active {
    background: #90b44b url(../img/htag-bg.png) repeat fixed !important;
}
.resp-easy-accordion  h2.resp-accordion {
        display: block;
}
.resp-easy-accordion .resp-tab-content {
    border: 2px solid #90b44b;
}

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

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

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

h2.resp-accordion:first-child {
    border-top: 2px solid #90b44b !important;
}

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

    h2.resp-accordion {
        display: block;
    }

    .resp-vtabs .resp-tab-content {
        border: 2px solid #90b44b;
    }

    .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 #90b44b !important;
    }
}

