@charset "utf-8";

.accordion {
    width: 100%;
    padding: 0 1em;
    overflow: hidden;
}

.accordion h3 {
    font-size: 110%;
    font-weight: bold;
    display: block;
    margin: 1em 0 !important;
    border-bottom: 2px solid #3689b2;
    color: #3689b2;
}

.accordion span {
    font-weight: bold;
}

.accordion span.small {
    font-weight: normal;
    font-size: 80%;
}

.accordion input {
    display: none;
}

.accordion label {
    cursor: pointer;
    display: block;
    text-decoration: none;
    color: #fff;
    line-height: 1;
    position: relative;
    margin: 0 0 0.5em;
    padding: 0;
}

.accordion ul {
    padding: 0;
    margin: 0 0.5em;
    list-style: none;
    text-align: left;
}

.accordion li {
    max-height: 0;
    overflow-y: hidden;
    -webkit-transition: all 0.5s;
    -moz-transition: all 0.5s;
    -ms-transition: all 0.5s;
    -o-transition: all 0.5s;
    transition: all 0.5s;
}

#accordion_bt_01:checked ~ #accordion_tx_01 li,
#accordion_bt_02:checked ~ #accordion_tx_02 li {
    max-height: 5000px;
    opacity: 1;
    -webkit-transition: all 0.5s;
    -moz-transition: all 0.5s;
    -ms-transition: all 0.5s;
    -o-transition: all 0.5s;
    transition: all 0.5s;
}

#accordion_bt_01:checked ~ #accordion_tx_01 li:last-child,
#accordion_bt_02:checked ~ #accordion_tx_02 li:last-child {
    margin-bottom: 20px;
}

.accordion label:after {
    content: "";
    display: block;
    position: absolute;
    background: url("img/accordion_bt_01_close.png") no-repeat right;
    background-size: contain;
    height: 100%;
    width: 100%;
    top: 0;
    right: 0;
}

.accordion input[type=checkbox]:checked + label:after {
    content: "";
    display: block;
    position: absolute;
    background: url("img/accordion_bt_02_close.png") no-repeat right;
    background-size: contain;
    height: 100%;
    width: 100%;
    top: 0;
    right: 0;
}

/*===========================================================
content_pc
============================================================= */
#fancl .content_pc .accordion {
    padding: 0 1.4em;
}

#fancl .content_pc .accordion label:after {
    background-size: auto;
}

#fancl .content_pc .accordion input[type=checkbox]:checked + label:after {
    background-size: auto;
}