/* PC SP 共通 */


/* PC */
@media print, all and (min-width: 641px) {
    .variable-box{
        display: flex;
    }
    .variable-box .text-box{
        flex: 1;
        margin-right: 50px;
    }

    .variable-box.reverse .text-box{
        margin-right: 0;
        order: 2;
    }
    .variable-box.reverse .image-box{
        order: 1;
        margin-right: 50px;
    }

    .hov_o{
        transition: .3s;
    }
    .hov_o:hover{
        opacity: .5;
    }

    /* pc-nav */
    #nav .nav-list li .subbox{
        z-index: -10;
    }
    #nav .nav-list li.open .subbox{
        z-index: 5;
    }


    /* 年度切り替えボタン */
    ul.age-list{
		width: 960px;
		margin: 0 auto 20px;
		display: flex;
		flex-wrap: wrap;
		justify-content: center;
		text-align: center;
	}
	ul.age-list li{
		font-size: 20px;
		box-sizing: border-box;
		width: 160px;
		margin-bottom: 15px;
	}
	ul.age-list li:not(:last-of-type){
		border-right: 1px solid black;
	}
    ul.age-list li a{
        display: inline-block;
        color: #000;
        text-decoration: none !important;
        transition: .3s;
    }
    ul.age-list li a:hover{
        opacity: .5;
    }

    /* カテゴリ切り替えボタン */
    .category_list{
        display: flex;
        justify-content: center;
        flex-wrap: wrap;
    }
    #content .category_list li{
        width: calc(100% / 4 );
        text-align: center;
        margin-bottom: 25px;
    }
    #content .category_list li a{
        font-size: 112.5%;
        color: #1c2768;
        border: 0.5px solid #1c2768;
        text-decoration: none;
        display: inline-block;
        width: 95%;
        padding: 10px 0;
        transition: .3s;
    }
    #content .category_list li.on a{
        color: #fff;
        font-weight: bold;
        background-color: #1c2768;
    }
    #content .category_list li a:hover{
        opacity: 0.5;
    }
    .category_list.btom_arrow li{
        position: relative;
    }
    .category_list.btom_arrow li a::after{
        content: "";
        display: block;
        width: 27px;
        height: 12px;
        background-image: url(../images/common/anchor-type01.png);
        background-position: center top;
        background-repeat: no-repeat;
        background-size: 27px auto;
        position: absolute;
        top: 54px;
        right: 46%;
        bottom: 0;
        margin: auto;
        transform: rotate(90deg);
    }
    
    /* ページ送り ボタン */
    .pagenavi-box  {
        text-align: center;
        margin-bottom: 40px;
    }
    .pagenavi-box .pages{
        display: none;
    }
    .wp-pagenavi span.current{
        font-weight: bold;
        color: #1c2768;
    }
    .wp-pagenavi a{
        color: #1c2768;
    }
    .wp-pagenavi span, .wp-pagenavi a{
        border-right: 1px solid #1c2768;
    }
}

/* SP */
@media only screen and (max-width: 640px) {
    .variable-box .text-box{
        margin-bottom: 15px;
    }
    .variable-box.reverse .text-box{
        order: 2;
    }
    .variable-box.reverse .image-box{
        order: 1;
    }

    /* 年度切り替えボタン */
    ul.age-list{
		width: 100%;
		max-width: 550px;
		margin: 0 auto 30px;
		display: flex;
		flex-wrap: wrap;
		justify-content: center;
		text-align: center;
	}
	ul.age-list li{
		font-size: 106.25%;
		box-sizing: border-box;
		width: calc( 100% /4);
		margin-bottom: 10px;
	}
	ul.age-list li:not(:last-of-type){
		border-right: 1px solid black;
	}
    ul.age-list li a{
        display: inline-block;
        color: #000;
        text-decoration: none !important;
    }

    /* カテゴリ切り替えボタン */
    .category_list{
        display: flex;
        justify-content: center;
        flex-wrap: wrap;
    }
    #content .category_list li{
        width: calc(100% /3 );
        text-align: center;
        margin-bottom: 30px;
    }
    #content .category_list li a{
		font-size: 106.25%;
        color: #1c2768;
        border: 0.5px solid #1c2768;
        text-decoration: none;
        display: inline-block;
        width: 95%;
        padding: 5px 0;
    }
    #content .category_list li.on a{
        color: #fff;
        font-weight: bold;
        background-color: #1c2768;
    }

    .category_list.btom_arrow li{
        position: relative;
    }
    .category_list.btom_arrow li a::after{
        content: "";
        display: block;
        width: 27px;
        height: 12px;
        background-image: url(../images/common/anchor-type01.png);
        background-position: center top;
        background-repeat: no-repeat;
        background-size: 27px auto;
        position: absolute;
        top: 54px;
        right: 39%;
        bottom: 0;
        margin: auto;
        transform: rotate(90deg);
    }    

    /* ページ送り ボタン */
    .pagenavi-box  {
        text-align: center;
        margin-bottom: 40px;
    }
    .pagenavi-box .pages{
        display: none;
    }
    .wp-pagenavi span.current{
        font-weight: bold;
        color: #1c2768;
    }
    .wp-pagenavi a{
        color: #1c2768;
    }
    .wp-pagenavi span, .wp-pagenavi a{
        border-right: 1px solid #1c2768;
    }
}


