@charset "utf-8";

.wrapper{
    margin: 0 auto;
}

#contentsarea{
    margin: auto;
}

.contentsarea{
    max-width: 980px;
    margin: 0 auto;
}

#contents{
    max-width: 780px;
    margin: 0 auto;
    width: auto;
    box-sizing: border-box;
    width: 100%;
}

#rightSide {
    width: auto;
    margin: 0;
    float: none;
}

#bannerArearight {
    width: auto;
}

#bannerArearight li {
    width: auto;
    padding: 20px 20px 20px 0;
    margin: 0 20px;
}

#infoHeader{
    padding: 0;
    background: none;
    border-radius: 0;
}

#infoHeader h2{
    padding: 20px;
}

#infoList{
    padding: 0;
    border: none;
    border-radius: 0;
}

#bannerArearight li:hover{
    opacity: 1;
}

#bannerArearight li a:hover{
    opacity: 0.7;
}

@media screen and (min-width: 780.0px) {
    #contents{
        width: calc(100% - 220px);
        padding-right: 20px;
    }

    .side-flex{
        display: flex;
        flex-wrap: wrap;
        justify-content: space-between;
    }
}

.sidebar.is-pd{
    padding: 20px 0 40px;
}

#bannerArearight,
.sidebar-shadow{
    box-shadow: 0 0 6px #00000026;
    width: 220px;
    border-radius: 5px;
    background: #FCFCFC;
}

.sidebar-title{
    font-size: 16px;
    padding: 20px;
    box-sizing: border-box;
    font-weight: bold;
    background-color: #6A9E19;
    color: #fff;
    border-radius: 5px 5px 0 0;
    box-shadow: 0 0 6px #00000026;
}

.sidebar-list{
    font-size: 14px;
    margin: 0 20px;
    padding: 20px 20px 20px 0;
    border-bottom: 1px solid #D8D8D8;
    position: relative;
}

.is-no-lastborder .sidebar-list:last-child{
    border-bottom: none;
}

.sidebar-list::after{
    content: "";
    width: 8px;
    height: 8px;
    border-top: 2px solid #6A9E19;
    border-right: 2px solid #6A9E19;
    position: absolute;
    top: 50%;
    right: 5px;
    transform: translateY(-50%) rotate(45deg);
}

.sidebar-list.is-current a{
    color: #6A9E19;
    font-weight: 700;
}

.sidebar-list a:hover{
    opacity: 0.7;
}

.sidebar-list-date{
    font-size: 12px;
}

@media screen and (max-width: 780px) {
    #infoHeader h2 {
        padding: 1.8rem;
    }
    .sidebar-title{
        font-size: 1.4rem;
        padding: 1.4rem;
        border-radius: 0.5rem 0.5rem 0 0;
        box-shadow: 0 0 0.6rem #00000026;
    }
    .sidebar-list,
    #bannerArearight li {
        font-size: 1.3rem;
        margin: 0 1.8rem;
        padding: 1.8rem 1.8rem 1.8rem 0;
    }
    .sidebar-list::after {
        width: 0.8rem;
        height: 0.8rem;
        right: 0.5rem;
        border-top: 0.2rem solid #6A9E19;
        border-right: 0.2rem solid #6A9E19;
    }
}

/************************************************************************************
Custom CSS for each page.
*************************************************************************************/
@media screen and (max-width: 780px) {
    .eria-page.side-flex #rightSide {
        padding: 0 2rem;
    }
    .eria-page.side-flex .sidebar-shadow {
        width: 100%;
    }
    .eigyoPage .sidebar-shadow {
        width: 100%;
    }
    .eria-page.side-flex .sidebar-title {
        font-size: 1.4rem;
    }
    .eria-page.side-flex #bannerArearight,
    .eria-page.side-flex .sidebar-shadow {
        width: 100%;
    }

    .eria-page.side-flex #bannerArearight {
        display: block;
    }

    .eria-page.side-flex .Label::before,
    .eria-page.side-flex .Label::after {
        right: -1.1rem;
    }
}


/*---------------accordion-----------------*/
.toggle {
	display: none;
}

.Label {
	display: block;
}

.Label::before{
    content: "";
    width: 1.2rem;
    height: 0.2rem;
    background-color: #6A9E19;
    position: absolute;
    top: 50%;
    right: -2rem;
    transform: translateY(-50%);
}

.Label::after{
    content: "";
    width: 1.2rem;
    height: 0.2rem;
    background-color: #6A9E19;
    position: absolute;
    top: 50%;
    right: -2rem;
    transform: translateY(-50%) rotate(-90deg);
    transition: .5s;
}

.Label,
.accordion-content {
	-webkit-backface-visibility: hidden;
	backface-visibility: hidden;
	transform: translateZ(0);
	transition: all 0.3s;
}

.accordion-content {
	height: 0;
	overflow: hidden;
}

.toggle:checked + .Label + .accordion-content {
	height: auto;
	padding: 2rem 0 0;
	transition: all .3s;
}

.toggle:checked + .Label::after {
    transform: translateY(-50%) rotate(180deg);
    transition: .5s;
}

.sidebar-list-accordion,
#bannerArearight .sidebar-list-accordion{
    width: auto;
    font-size: 1.4rem;
    margin: 0 2rem;
    padding: 2rem 2rem 2rem 0;
    border-bottom: 1px solid #D8D8D8;
    position: relative;
}

.sidebar-list-accordion-link{
    display: block;
    font-size: 1.4rem;
    padding: 0.5rem 0.2rem;
    color: #444;
}