/*==============================
　.home Home
===============================*/

/* .home-slider
---------------------------*/
.home-slider {
    position: relative;
    width: 100%;
    height: auto;
    background: #EFEFEF;
}

.home-slider img {
    width: 100%;
    object-fit: cover;
}

.slider-1-btn {
    position: absolute;
    top: 55%;
    left: 17%;
}

.slider-1-btn .btn {
    padding: 5px 10px;
    width: 11vw;
    font-size: 1vw;
}

/* .home-news
---------------------------*/
.home-news {
    width: 100%;
    padding-top: 60px;
    padding-bottom: 70px;
    background: #f6f6f6;

/*アルツハイマー月間中限定背景*/
/*    background-image: linear-gradient(180deg, rgba(255, 208, 127, 1), rgba(255, 255, 255, 1) 50%, rgba(255, 208, 127, 1)); */

    border-bottom: 1px solid #e8e8e8;
}
/*アルツハイマー月間中のみ背景色変更*/
/*元の色は　F6F6F6*/


.home-news h2 {
    margin-bottom: 60px;
}

.home-news h2:after {
    position: absolute;
    left: 50%;
    bottom: -18px;
    transform: translate(-50%,0);
    content: "";
    width: 97px;
    border-bottom: 2px solid #5b9b3b;
}

.home-news .home-news-box {
    position: relative;
    width: 29.5%;
    padding-bottom: 30px;
}

.home-news .home-news-list li {
    margin-bottom: 20px;
    font-size: 15px;
    line-height: 1.3;
}

.home-news .home-news-list li .date{
    margin-bottom: 10px;
}

.home-news .home-news-link-list {
    position: absolute;
    width: 100%;
    bottom: 0;
    text-align: center;
}

.home-news .home-news-link-list .btn {
    padding: 5px 10px;
    width: 126px;
    font-size: 14px;
}

/* .home-banner
---------------------------*/
.home-banner {
    padding-top: 60px;
    padding-bottom: 30px;
}

.home-banner .home-banner-list {
    display: flex;
    justify-content: center;
    align-items: flex-start;
    flex-wrap: wrap;
    text-align: center;
}

.home-banner .home-banner-list li {
    display: inline-block;
    width: 33%;
    margin-bottom: 30px;
    text-align: center;
}

.home-banner .home-banner-list li img {
    width: 312px;
    height: 90px;
    background: #EFEFEF;
}

.home-banner .home-banner-list li span{
    display: inline-block;
    width: 312px;
    margin-top: 10px;
}

.home-banner .home-banner-list li a:hover span{
    text-decoration: underline;
}



/* .home-banner2
---------------------------*/
.home-banner2 {
    padding-top: 60px;
    padding-bottom: 15px;
}

.home-banner .home-banner-list2 {
    display: flex;
    justify-content: center;
    align-items: flex-start;
    flex-wrap: wrap;
    text-align: center;
}

.home-banner .home-banner-list2 li {
    display: inline-block;
    width: 33%;
    margin-bottom: 30px;
    text-align: center;
}

.home-banner .home-banner-list2 li img {
    width: 312px;
    height: auto;
    background: #EFEFEF;
}

.home-banner .home-banner-list2 li span{
    display: inline-block;
    width: 312px;
    margin-top: 10px;
}

.home-banner .home-banner-list2 li a:hover span{
    text-decoration: underline;
}




/* .home-members
---------------------------*/
.home-members {
    width: 100%;
    padding-top: 60px;
    padding-bottom: 140px;
    background: #fdf9ee;
    border-top: 1px solid #edeae3;
}

.home-members .home-members-list {
    flex-wrap: wrap;
}

.home-members .home-members-list li{
    width: 45%;
    margin-bottom: 5px;
    line-height: 1.3;
    padding-left: 1em;
}

.home-members .home-members-list li::before {
    content: "\30FB";
    display: inline;
    margin-left: -1em;
}



/*==============================
　Page 共通
===============================*/

h2 {
    position: relative;
    margin-bottom: 55px;
    font-size: 20px;
    font-weight: bold;
    text-align: center;
}

.section-header h2 {
    position: relative;
    margin-bottom: 55px;
    font-size: 30px;
    font-weight: bold;
    text-align: center;
}

h2 span {
    display: block;
    margin-top: 10px;
    color: #999999;
    font-size: 10px;
    font-weight: normal;
    letter-spacing: 1px;
}

.contents-header {
    background: #f0f6ed;
    padding-top: 130px;
    padding-bottom: 45px;
    text-align: center;
    border-bottom: 1px solid #eeeeee;
}

.contents-header h1 {
    position: relative;
    font-size: 26px;
    font-weight: bold;
}

.contents-header h1:before {
    content: "";
    position: absolute;
    left: 50%;
    top: -80px;
    transform: translate(-50%,0);
    width: 60px;
    height: 60px;
    background: #FEFEFE;
}

.news .contents-header h1:before,
.single-news .contents-header h1:before,
.post-type-archive-news .contents-header h1:before,
.tax-cat_news .contents-header h1:before{
    background: url(../common_images/section_header_news.png) no-repeat;
    background-size: cover;
}

.about .contents-header h1:before {
    background: url(../common_images/section_header_about.png) no-repeat;
    background-size: cover;
}

.join .contents-header h1:before {
    background: url(../common_images/section_header_join.png) no-repeat;
    background-size: cover;
}

.event .contents-header h1:before {
    background: url(../common_images/section_header_event.png) no-repeat;
    background-size: cover;
}

.seminar .contents-header h1:before,
.single-seminar .contents-header h1:before,
.post-type-archive-seminar .contents-header h1:before{
    background: url(../common_images/section_header_seminar.png) no-repeat;
    background-size: cover;
}

.library .contents-header h1:before,
.single-library .contents-header h1:before,
.tax-cat_library .contents-header h1:before{
    background: url(../common_images/section_header_library.png) no-repeat;
    background-size: cover;
}

.related .contents-header h1:before,
.post-type-archive-kanrendantai .contents-header h1:before,
.tax-cat_kanrendantai .contents-header h1:before{
    background: url(../common_images/section_header_related.png) no-repeat;
    background-size: cover;
}

.recruit .contents-header h1:before {
    background: url(../common_images/section_header_recruit.png) no-repeat;
    background-size: cover;
}

.members .contents-header h1:before,
.post-type-archive-members .contents-header h1:before,
.single-members .contents-header h1:before{
    background: url(../common_images/section_header_members.png) no-repeat;
    background-size: cover;
}

.bread-crumbs {
    max-width: 1060px;
    margin-left: auto;
    margin-right: auto;
    padding-top: 10px;
    padding-bottom: 13px;
}

.bread-crumbs li {
    position: relative;
    display: inline-block;
    font-size: 13px;
}

.bread-crumbs li:after {
    content: ">";
    display: inline-block;
    margin-right: 0.5em;
    margin-left: 0.5em;
    vertical-align: text-bottom;
}

.bread-crumbs li:last-of-type::after {
    display: none;
}

.contents-notice-login {
    background: #f3f3f3;
    padding-top: 40px;
    padding-bottom: 40px;
    border-top: 1px solid #eeeeee;
    border-bottom: 1px solid #eeeeee;
    text-align: center;
}

.contents-notice-login-btn .btn{
    cursor: pointer;
    width: 212px;
    padding-top: 15px;
    padding-bottom: 15px;
    font-size: 20px;
}

.contents-notice-login-btn p {
    margin-top: 15px;
}

.main-section {
    margin-bottom: 120px;
}

.main-section:last-of-type {
    margin-bottom: 0;
}

.section-header {
    margin-bottom: 50px;
}

.section-header .page-anchor {
    margin-bottom: 50px;
}

.section-header .page-anchor li a{
    display: block;
    min-width: 240px;
    margin: 0 5px;
    padding: 7px 15px;
    border: 2px solid #5c9b3c;
    font-size: 15px;
    text-align: center;
    background: #FDF9EE;
}

.section-header .page-anchor li a span::before{
    content: ">";
    vertical-align: text-bottom;
    margin-right: 0.5em;
}

.section-header .page-anchor li a:hover,
.section-header .page-anchor li a:hover span {
    text-decoration: none;
}

.section-header h2{
    margin-bottom: 0;
}

.section-header h2::after {
    display: block;
    content: "";
    width: 66px;
    margin-top: 15px;
    margin-right: auto;
    margin-left: auto;
    border-bottom: 2px solid #5c9b3c;
}

.section-header .year-anchor {
    margin-top: 50px;
}

.section-header .year-anchor {
    text-align: center;
}

.section-header .year-anchor ul {
    font-size: 0;
}

.section-header .year-anchor li {
    display: inline-block;
    border-left: 1px solid #999;
}

.section-header .year-anchor li:first-of-type {
    border-left: none;
}

.section-header .year-anchor li a {
    font-size: 15px;
    margin: 0 5px;
    padding: 0 5px;
}

.post-list li a,
.post-list li .multi-file{
    display: flex;
    padding-top: 15px;
    padding-bottom: 12px;
    line-height: 1.5;
    border-bottom: 1px dotted #999;
}

.post-list li .multi-file a {
    display: block;
    border-bottom: none;
    padding-top: 0;
}

.post-list li:first-of-type a{
    padding-top: 0;
}

.post-list li a:hover {
    text-decoration: none;
}

.post-list li a:hover .title{
    text-decoration: underline;
}

.post-list li .title a:hover{
    text-decoration: underline;
}

.post-list li .date{
    width: 10em;
    font-size: 16px;
    color: #000;
}

.post-list li .title {
    flex: 1;
}

.post-list li .title .new{
    display: inline-block;
    margin-left: 1em;
    padding-right: 5px;
    padding-left: 5px;
    color: #FFF;
    font-size: 12px;
    font-weight: bold;
    background: #930A00;
}

.page-contents h3 {
    margin-bottom: 0.5em;
    font-size: 18px;
    font-weight: bold;
    line-height: 1.5;
}

.page-contents p {
    margin-bottom: 0.5em;
    line-height: 1.5;
}

.page-contents .contents-btn .btn,
.blog-contents .contents-btn .btn{
    display: inline-block;
    margin-top: 20px;
    padding: 10px 25px;
    background: none;
    color: #5c9b3c;
    border: 2px solid #5c9b3c;
    border-radius: 0;
    font-size: 15px;
    font-weight: normal;
    transition: all 0.2s ease;
}

.page-contents .contents-btn .btn:hover,
.blog-contents .contents-btn .btn:hover {
    background: #5c9b3c;
    color: #FFF;
}

.page-contents .contents-btn .word.btn:after,
.blog-contents .contents-btn .word.btn:after {
    display: inline-block;
    content: "";
    width: 24px;
    height: 31px;
    margin-left: 0.5em;
    background: url(../common_images/icon_large_word.png) no-repeat;
    vertical-align: middle;
}

.page-contents .contents-btn .excel.btn:after,
.blog-contents .contents-btn .excel.btn:after {
    display: inline-block;
    content: "";
    width: 24px;
    height: 31px;
    margin-left: 0.5em;
    background: url(../common_images/icon_large_excel.png) no-repeat;
    vertical-align: middle;
}

.page-contents .contents-btn .pdf.btn:after,
.blog-contents .contents-btn .pdf.btn:after {
    display: inline-block;
    content: "";
    width: 24px;
    height: 31px;
    margin-left: 0.5em;
    background: url(../common_images/icon_large_pdf.png) no-repeat;
    vertical-align: middle;
}


/*==============================
　.news News お知らせ
===============================*/
.blog-wrap {
    margin-top: 30px;
    display: flex;
    justify-content: space-between;
}

.blog-contents {
    width: 730px;
}

.blog-contents article {
    margin-bottom: 50px;
    padding-bottom: 50px;
    border-bottom: 1px dotted #CCCCCC;
}

.blog-contents h2 {
    margin-bottom: 25px;
    font-size: 24px;
    text-align: left;
    line-height: 1.5;
}

.blog-contents h2::after {
    display: block;
    content: "";
    width: 66px;
    margin-top: 15px;
    border-bottom: 2px solid #5c9b3c;
}

.blog-contents h2 a {
    color: #000;
}

.blog-contents .date {
    margin-bottom: 5px;
    font-size: 14px;
    color: #666;
}

.blog-contents .article-content {
    line-height: 1.5;
}

.blog-contents .article-content p {
    line-height: 1.5;
}

.blog-contents .article-function {
    margin-top: 25px;
}

.blog-contents .article-function p {
    line-height: 1.5;
}

.blog-contents .article-function .btn {
    margin-top: 20px;
    padding: 10px 25px;
    background: none;
    color: #5c9b3c;
    border: 2px solid #5c9b3c;
    border-radius: 0;
    font-size: 15px;
    font-weight: normal;
    transition: all 0.2s ease;
}

.blog-contents .article-function .btn:hover {
    background: #5c9b3c;
    color: #FFF;
}

aside {
    width: 220px;
}

aside .aside-inner {
    background: #fdf9ee;
}

aside .aside-inner .aside-box {
    padding-top: 10px;
    padding-bottom: 20px;
}

aside .aside-inner .aside-box:last-of-type {
    padding-bottom: 5px;
}

aside .aside-inner .aside-box h2 {
    margin-bottom: 10px;
    padding-right: 15px;
    padding-bottom: 10px;
    padding-left: 15px;
    border-bottom: 1px dotted #CCC;
    text-align: left;
}

aside .aside-inner .aside-box h2 span {
    display: block;
    margin-top: 0;
    font-size: 16px;
    font-weight: bold;
    color: #000;
    transform: scale(0.8, 1);
    transform-origin: top left;
}

aside .aside-inner .aside-box li {
    position: relative;
    margin-bottom: 5px;
    margin-left: 1em;
    padding-right: 15px;
    padding-left: 15px;
    font-size: 14px;
    line-height: 1.5;
}

aside .aside-inner .aside-box li:before {
	position: absolute;
	content: '';
	top: 0.5em;
	left: 0.2em;
	height: 0;
	width: 0;
	border-style: solid;
	border-width: 3px 0 3px 6px;
	border-color: transparent transparent transparent #666666;
}


/*==============================
　.about About us 当会について
===============================*/
#about-greetings article p {
    text-indent: 1em;
}

#about-greetings article p.sign {
    margin-top: 2em;
    text-align: right;
}

.about-chairman {
    float: right;
    width: 220px;
    height: auto;
    background: #999;
    margin-left: 1em;
    margin-bottom: 1em;
}

.history-list-box h3 {
    padding: 5px 20px;
    font-size: 18px;
    font-weight: normal;
    line-height: 1.3;
    color: #000;
    background: #fdf9ee;
}

.history-list-box dl {
    margin-bottom: 30px;
    padding: 0 20px;
}

.history-list-box dl dt {
    clear: both;
    float: left;
    line-height: 1.5;
    font-weight: normal;
    margin-bottom: 5px;
}

.history-list-box dl dt .year{
    display: inline-block;
    width: 5em;
}

.history-list-box dl dt .month{
    display: inline-block;
    width: 3em;
}

.history-list-box dl dd {
    width: 100%;
    margin-bottom: 5px;
    padding-left: 8em;
    line-height: 1.5;
}

.about-files {
    width: 100%;
    padding-top: 60px;
    padding-bottom: 60px;
    background: #fdf9ee;
    border-top: 1px solid #edeae3;
}

.about-files-list {
    flex-wrap: wrap;
}

.about-files-list .about-files-list-box {
    clear: both;
    margin-bottom: 80px;
    width: 45%;
}

.about-files-list .about-files-list-box h3 {
    font-size: 16px;
    font-weight: bold;
    text-align: center;
}

.about-files-list .about-files-list-box h3::after {
    display: block;
    content: "";
    width: 66px;
    margin-top: 15px;
    margin-right: auto;
    margin-left: auto;
    border-bottom: 2px solid #5c9b3c;
}

.about-files-list .about-files-list-box li {
    position: relative;
    margin-top: 30px;
}

.about-files-list .about-files-list-box li.pdf a,
.about-files-list .about-files-list-box li.word a,
.about-files-list .about-files-list-box li.excel a {
    padding-left: 34px;
}

.about-files-list .about-files-list-box li.pdf a:before {
    content: "";
    position: absolute;
    display: block;
    top: 50%;
    left: 0;
    transform: translate(0,-50%);
    width: 24px;
    height: 31px;
    background: url(../common_images/icon_large_pdf.png) no-repeat;
    background-size: cover;
}

.about-files-list .about-files-list-box li.word a:before {
    content: "";
    position: absolute;
    display: block;
    top: 50%;
    left: 0;
    transform: translate(0,-50%);
    width: 24px;
    height: 31px;
    background: url(../common_images/icon_large_word.png) no-repeat;
    background-size: cover;
}

.about-files-list .about-files-list-box li.excel a:before {
    content: "";
    position: absolute;
    display: block;
    top: 50%;
    left: 0;
    transform: translate(0,-50%);
    width: 24px;
    height: 31px;
    background: url(../common_images/icon_large_excel.png) no-repeat;
    background-size: cover;
}



/*==============================
　.join Join us 入退会・各種申請
===============================*/
.join-box-wrap h3 {
    font-size: 24px;
    padding-top: 40px;
}

.join-box-wrap p.attention {
    margin-bottom: 20px;
}

.join-box-wrap h4{
    padding: 15px 10px;
    margin-bottom: 15px;
    font-size: 18px;
    font-weight: bold;
    line-height: 1.3;
    color: #000;
    background: #fdf9ee;
}

.join-box-wrap .join-box {
    position: relative;
    margin-bottom: 90px;
}

.join-box-wrap .join-box:after {
    content: "";
    position: absolute;
    bottom: -57px;
    left: 15px;
    width: 37px;
    height: 37px;
    background: url(../nyukai/images/nyukai_arrow_down.png) no-repeat;
    background-size: cover;
}

.join-box-wrap .join-box-noarrow {
    margin-bottom: 70px;
}

.join-box-wrap .join-box-noarrow:after,
.join-box-wrap .join-box:last-of-type:after {
    display: none;
}

.join-box-wrap .join-box .contents-btn {
    margin-bottom: 10px;
}

.join-box-wrap .join-box p strong {
    color: #930A00;
    font-weight: normal;
}

.join-box-wrap .join-box a.link::before {
    content: ">";
    display: inline-block;
    margin-right: 0.25em;
}

.join-box-wrap .join-box span.link {
    color: #5b9b3b;
}

#join-mailmagazine .form-mailmagazine {
    background: #fdf9ee;
    margin: 20px 0;
    padding: 20px;
}

#join-mailmagazine .form-mailmagazine label{
    display: block;
    font-size: 18px;
    font-weight: bold;
}

#join-mailmagazine .form-mailmagazine br {
    display: none;
}

#join-mailmagazine .form-mailmagazine input[type="text"],
#join-mailmagazine .form-mailmagazine input[type="email"]{
    width: 100%;
    font-size: 16px;
    padding: 0.5em;
    margin-top: 0.5em;
    margin-bottom: 1em;
    background: #FFF;
    border: 1px solid #EFEFEF;
}

#join-mailmagazine .form-mailmagazine input[type="submit"]{
    cursor: pointer;
    position: relative;
    display: inline-block;
    background: #5b9b3b;
    color: #FFF;
    font-weight: bold;
    border-radius: 4px;
    padding: 0.5em 1em;
    margin-right: 2em;
}

#join-mailmagazine .form-mailmagazine input[type="submit"]:hover{
    color: #FFF;
    text-decoration: none;
    background: #64aa41;
}

#join-mailmagazine .form-mailmagazine .es_subscription_message{
    display: block;
    margin-top: 1em;
}



/*==============================
　.event Event Schedule 行事予定
===============================*/




/*==============================
　.seminar Seminar 研修会情報
===============================*/
.article-form {
    margin-top: 60px;
}

#kamt-box .kamt-list li{
    display: flex;
    justify-content: flex-start;
    align-items: center;
    padding: 2em 0 2em 0;
    border-top: 1px solid #EFEFEF;
}

#kamt-box .kamt-list li .kamt-list-ttl-box{
    display: block;
    vertical-align: middle;
}

#kamt-box .kamt-list li .kamt-form-ttls {
    display: flex;
    justify-content: flex-start;
    align-items: center;
}

#kamt-box .kamt-list li .kamt-form-ttls span {
    display: block;
}

#kamt-box .kamt-list li .kamt-list-ttl{
    font-weight: bold;
    width: 9em;
    display: inline-block;
    padding-right: 2em;
    font-family: 'Noto Sans JP', sans-serif;
    color: #333;
}

#kamt-box .kamt-list li .kamt-att-1 {
    margin-right: 3em;
    background: red;
    border-radius: 4px;
    color: #FFF;
    padding: 2px 8px;
    font-weight: bold;
    font-size: 14px;
    font-family: 'Noto Sans JP', sans-serif;
}

#kamt-box .kamt-list li .kamt-item-box {
    display: block;
    flex: 1;
    max-width: 100%;
}

#kamt-box .kamt-list li .wpcf7-list-item {
    margin: 0 1em 0 0;
}

#kamt-box .kamt-list li input[type="text"],
#kamt-box .kamt-list li input[type="tel"],
#kamt-box .kamt-list li input[type="email"],
#kamt-box .kamt-list li select,
#kamt-box .kamt-list li textarea{
    border: 1px solid #EFEFEF;
    padding: 0.5em;
    width: 100%;
}

#kamt-box .kamt-list li input[type="radio"]{
    vertical-align: 0;
}


#kamt-box .kamt-list li select {
    appearance: auto;
    width: auto;
}

.kamt-btn-box {
    text-align: center;
}

.kamt-btn-box .btn {
    cursor: pointer;
    width: 158px;
    padding-top: 15px;
    padding-bottom: 15px;
    font-size: 13px;
    text-align: center;
}

.wpcf7 form .wpcf7-response-output {
    padding: 1em 1em;
}

.wpcf7-not-valid-tip {
    margin-top: 0.5em;
}

.wpcf7 .ajax-loader {
    display: block;
}

/*==============================
　.library Library ライブラリー
===============================*/
.library-list ul li{
    display: flex;
    justify-content: space-between;
    margin-bottom: 50px;
}

.library-list ul li:last-of-type {
    margin-bottom: 0;
}

.library-list ul li .library-list-thumbnail {
    width: 150px;
    max-width: 100%;
    margin-right: 20px;
}

.library-list ul li .library-list-thumbnail img {
    width: 150px;
    height: 205px;
    background: #999;
}

.library-list ul li .library-list-content {
    flex: 1;
}

.library-list ul li .library-list-content .title {
    padding: 5px 20px;
    font-size: 18px;
    line-height: 1.3;
    color: #000;
    background: #fdf9ee;
}

.library-list ul li .library-list-content .text {
    padding-right: 20px;
    padding-left: 20px;
    margin-top: 25px;
    font-size: 16px;
    line-height: 1.3;
    color: #000;
}
.library-list ul li .library-list-content a:hover{
    text-decoration: none;
}

.library-list ul li .library-list-content .contents-btn {
    padding-right: 20px;
    padding-left: 20px;
}

.library-list ul li .library-list-content .contents-btn a{
    margin-top: 22px;
}




/*==============================
　.related Related Organizations 関連団体
===============================*/
.blog-full .blog-contents {
    width: 100%;
}

.post-list .organization {
    width: 6em;
    margin-right: 1em;
    height: 24px;
    font-size: 14px;
    text-align: center;
    line-height: 24px;
    color: #FFF;
}

.post-list .organization.gishirenmei {
    background: #5b9b3b;
}

.post-list .organization.nichiringi {
    background: #278fa8;
}

.post-list .organization.gyousei {
    background: #f1c000;
}

.post-list .organization.hyoushou {
    background: #930A00;
}

.related-category {
    margin-top: 30px;
    text-align: center;
}

.related-category ul li{
    display: inline-block;
    margin: 0 5px;
}

.related-category ul li a{
    display: block;
    width: 6em;
    color: #FFF;
    font-size: 16px;
    line-height: 1.5;
    transition: all 0.2s ease;
}

.related-category ul li a:hover {
    text-decoration: none;
    opacity: 0.6;
}

.related-category ul li.all a{
    background: #999999;
}

.related-category ul li.gishirenmei a{
    background: #5b9b3b;
}

.related-category ul li.nichiringi a{
    background: #278fa8;
}

.related-category ul li.gyousei a{
    background: #f1c000;
}

.related-category ul li.hyoushou a{
    background: #930A00;
}


/*==============================
　.recruit Recruit 求人
===============================*/




/*==============================
　.contact Contact お問い合わせ
===============================*/



/*==============================
　.members Members 会員ページ
===============================*/
.members .header-nav li:first-of-type a{
    color: #999;
}

.members #header-function .header-nav li:nth-of-type(1) a:before {
    background: url(../common_images/header_function_member_on.png) no-repeat center center;
    background-size: cover;
}



/*==============================
　.その他
===============================*/
/* ページネーション */
.pagenation{
    margin-top: 40px;
}

.pagenation ul{
    display: flex;
    justify-content: center;
    list-style: none;
}

.pagenation ul li{
    display: inline-block;
    margin: 0 2px;
}

.pagenation ul li a,
.pagenation ul li span{
    display: block;
    padding: 3px 4px;
    border: 1px solid #999999;
    font-size: 14px;
    color: #000;
    line-height: 1;
}

.pagenation ul li.pagepos span{
    padding: 4px 4px;
    font-size: 12px;
}

.pagenation ul li a:hover,
.pagenation ul li .current{
    background: #000;
    color: #FFF;
    border-color: #000;
    text-decoration: none;
}

@media only screen and (max-width : 767px) {
    .pagenation{
        margin-top: 4vw;
    }
    .pagenation ul li{
        display: inline-block;
        margin: 0 4px;
    }

    .pagenation ul li a,
    .pagenation ul li span{
        padding: 2px 3px;
        border: 1px solid #999999;
        font-size: 16px;
    }
}
