/* アコーディオンの幅を定義します。 */
.ac-container{
    width: 180px;
}
/* ラベルのスタイルです。*/
/* グラデーションやシャドウを与え、クリック可能なボタンのようにデザインします。*/
.ac-container label{
    border: #808080 1px solid;
    font-family: 'Meiryo UI', 'Arial Narrow', Arial, sans-serif;
    font-size: 11pt;
    padding: 3px 10px 0px 10px;
    position: relative;
    z-index: 20;
    display: block;
    height: 24px;
    cursor: pointer;
    color: #444;
    text-shadow: 1px 1px 1px rgba(255,255,255,0.8);
    background: #ffffff;
    background: -moz-linear-gradient(top, #ffffff 1%, #eaeaea 100%);
    background: -webkit-gradient(linear, left top, left bottom, color-stop(1%,#ffffff), color-stop(100%,#eaeaea));
    background: -webkit-linear-gradient(top, #ffffff 1%,#eaeaea 100%);
    background: -o-linear-gradient(top, #ffffff 1%,#eaeaea 100%);
    background: -ms-linear-gradient(top, #ffffff 1%,#eaeaea 100%);
    background: linear-gradient(top, #ffffff 1%,#eaeaea 100%);
    filter: progid:DXImageTransform.Microsoft.gradient( startColorstr='#ffffff', endColorstr='#eaeaea',GradientType=0 );
    box-shadow: 2px 2px 2px rgba(155,155,155,0.3);
}
/* ラベルのホバー時には、背景カラーを変更します。*/
.ac-container label:hover{
    background: #c6e1ec;
    background: -moz-linear-gradient(top,  #c6e1ec 0%, #99b9db 100%);
    background: -webkit-gradient(linear, left top, left bottom, color-stop(0%,#c6e1ec), color-stop(100%,#99b9db));
    background: -webkit-linear-gradient(top,  #c6e1ec 0%,#99b9db 100%);
    background: -o-linear-gradient(top,  #c6e1ec 0%,#99b9db 100%);
    background: -ms-linear-gradient(top,  #c6e1ec 0%,#99b9db 100%);
    background: linear-gradient(to bottom,  #c6e1ec 0%,#99b9db 100%);
    filter: progid:DXImageTransform.Microsoft.gradient( startColorstr='#c6e1ec', endColorstr='#99b9db',GradientType=0 );
}
/* チェックボックスがチェックされた際のスタイルを定義します。*/
.ac-container input:checked + label, .ac-container input:checked + label:hover{
    background: #c6e1ec;
    background: -moz-linear-gradient(top,  #c6e1ec 0%, #99b9db 100%);
    background: -webkit-gradient(linear, left top, left bottom, color-stop(0%,#c6e1ec), color-stop(100%,#99b9db));
    background: -webkit-linear-gradient(top,  #c6e1ec 0%,#99b9db 100%);
    background: -o-linear-gradient(top,  #c6e1ec 0%,#99b9db 100%);
    background: -ms-linear-gradient(top,  #c6e1ec 0%,#99b9db 100%);
    background: linear-gradient(to bottom,  #c6e1ec 0%,#99b9db 100%);
    filter: progid:DXImageTransform.Microsoft.gradient( startColorstr='#c6e1ec', endColorstr='#99b9db',GradientType=0 );
    color: #3d7489;
    text-shadow: 0px 1px 1px rgba(255,255,255, 0.6);
    box-shadow: 2px 2px 2px rgba(155,155,155,0.3);
}
/* 隣接セレクタを使い、ホバー時に小さいアローアイコンを加えます。*/
.ac-container label:hover:after, .ac-container input:checked + label:hover:after{
    position: absolute;
    right: 13px;
    top: 7px;
    font: 100% 'FontAwesome';
    content: "\f107";
}
/* アローアイコンは、選択された状態の時は上向きのアローにします。*/
.ac-container input:checked + label:hover:after{
    font: 100% 'FontAwesome';
    content: "\f106";
}
/* input要素（チェックボックスやラジオボタン）が見えることは望まないので、非表示にします。*/
.ac-container input{
    display: none;
}
/* コンテンツのスタイルを定義します。*/
/* デフォルト時は「height: 0px;」にし非表示にし、立体感を出すためにbox-shadowを使用します。*/
.ac-container article{
    background: rgba(255, 255, 255, 0.5);
/* margin-top: -1px;*/
    margin-bottom: 1px;
    overflow: auto;

    height: 0px;
    position: relative;
    z-index: 10;
    -webkit-transition: height 0.3s ease-in-out, box-shadow 0.6s linear;
    -moz-transition: height 0.3s ease-in-out, box-shadow 0.6s linear;
    -o-transition: height 0.3s ease-in-out, box-shadow 0.6s linear;
    -ms-transition: height 0.3s ease-in-out, box-shadow 0.6s linear;
    transition: height 0.3s ease-in-out, box-shadow 0.6s linear;
}
.ac-container input:checked ~ article{
    border-left: #808080 1px solid;
    border-right: #808080 1px solid;
    border-bottom: #808080 1px solid;
    -webkit-transition: height 0.5s ease-in-out, box-shadow 0.1s linear;
    -moz-transition: height 0.5s ease-in-out, box-shadow 0.1s linear;
    -o-transition: height 0.5s ease-in-out, box-shadow 0.1s linear;
    -ms-transition: height 0.5s ease-in-out, box-shadow 0.1s linear;
    transition: height 0.5s ease-in-out, box-shadow 0.1s linear;
    box-shadow: 2px 0px 0px 0px rgba(155,155,155,0.3);
    height: auto;
}

/* コンテンツ内のテキストも少しスタイルを整えてみます。*/
.ac-container article div {
    border-bottom: #e5e5e5 1px solid;
    color: #444;
    font-family: Meiryo UI;
    font-size: 10pt;
    padding: 5px 0px 5px 15px;
}
.ac-container article div:hover {
    background: #eaeaea;
    cursor: pointer;
}
.ac-container article div a {
    color: #444;
    display: block;
}
