@charset "UTF-8";
/*---------------------------
wrap
----------------------------*/
#wrap {
    width: 100%;
    background-color: var(--site-background-color);
    margin: 0px;
    padding: 0px;
    position: relative;
}

@media only screen and (min-width: 641px) and (max-width: 768px) {
    #wrap {
        /*tablet*/
        overflow: hidden;
    }
}

@media screen and (max-width: 640px) {
    #wrap {
        /*sp*/
        overflow: hidden;
    }
}

/*---------------------------
header
----------------------------*/
header {
    width: 100%;
    height: 64px;
    background-color: var(--kyushu-base);
    &.gunma {
        background-color: var(--gunma-base);
    }
    &.tochigi {
        background-color: var(--tochigi-base);
    }
}

.header_content {
    width: 100%;
    height: 100%;
    max-width: 1100px;
    margin: 0 auto;
    padding: 0 12px;
    display: flex;
    align-items: center;
}

.site_title {
    flex: 1;
}

.site_top_link {
    display: flex;
    align-items: center;
    width: fit-content;
    text-decoration: none;
}

.site_logo {
    width: 40px;
    height: 40px;
}

.site_logo img {
    width: 100%;
    height: 100%;
    object-fit: contain;
}

.site_top_link h1 {
    color: var(--site-white-color);
    font-size: 16px;
    text-align: left;
    letter-spacing: 1px;
    margin-left: 12px;
}

.site_top_link h1 br {
    display: none;
    border: 1px solid #fff;
}

.site_top_link h1 span {
    margin-left: 4px;
}

.site_top_nav {
    width: fit-content;
    display: flex;
    align-items: center;
    gap: 12px;
}

.site_top_nav li {
    width: 96px;
    border: 1px solid var(--site-off-white-color);
    padding: 5px 0  6px;
    border-radius: 2px;
    list-style: none;
    transition: .2s;
}

.site_top_nav li:hover {
    cursor: pointer;
    opacity: 0.8;
}

.site_top_nav li a {
    color: var(--site-off-white-color);
    text-decoration: none;
    font-size: 13px;
    letter-spacing: 0.5px;
}

/* .site_top_link h1 span::before,
.site_top_link h1 span::after {
    display: inline-block;
    content: "";
    width: 16px;
    height: 4px;
    border-top: 1px solid #fff;
    margin: 0 2px;
} */

@media screen and (max-width: 640px) {
    .site_top_link {
        text-align: center;
    }

    .site_top_link h1 {
        font-size: 13px;
        line-height: 18px;
    }

    .site_top_link h1 br {
        display: inline-block;
    }

    .site_top_link h1 span {
        margin-left: 0;
    }

    .site_top_nav {
        display: none;
    }
}

header .inner {
    max-width: 1100px;
    padding: 2em 0;
}

header .inner .logo {
    width: 70%;
    font-size: 1.8em;
}

@media only screen and (min-width: 641px) and (max-width: 768px) {
    header .inner .logo {
        /*tablet*/
        width: 60%;
        float: none;
        font-size: 1em;
    }
}

@media screen and (max-width: 640px) {
    header .inner .logo {
        /*sp*/
        width: 85%;
        font-size: 0.6rem;
        height: 40px;
    }
}

header .inner .logo a {
    text-decoration: none;
    color: #fff;
}

header .inner .logo a:visited {
    color: #fff;
}

header .inner .logo h1 {
    display: -webkit-box;
    display: -ms-flexbox;
    display: flex;
    -ms-flex-wrap: wrap;
    flex-wrap: wrap;
    -webkit-box-pack: start;
    -ms-flex-pack: start;
    justify-content: flex-start;
    -webkit-justify-content: flex-start;
    -webkit-box-align: center;
    -ms-flex-align: center;
    align-items: center;
    -webkit-align-items: center;
    font-weight: normal;
}

header .inner .logo h1 span {
    display: block;
    /* vertical-align: middle; */
}

header .inner .logo h1 span:nth-of-type(1) {
    width: 75px;
}

header .inner .logo h1 span:nth-of-type(1) img {
    border-radius: 100px;
    max-width: 100%;
    height: auto;
}

@media only screen and (min-width: 641px) and (max-width: 768px) {
    header .inner .logo h1 span:nth-of-type(1) {
        /*tablet*/
        width: 10%;
    }
}

@media screen and (max-width: 640px) {
    header .inner .logo h1 span:nth-of-type(1) {
        /*sp*/
        width: 10%;
    }
}

header .inner .logo h1 span:nth-of-type(2) {
    font-size: 1em;
    line-height: 1.4em;
    width: 85%;
    padding-left: 10px;
}

@media only screen and (min-width: 641px) and (max-width: 768px) {
    header .inner .logo h1 span:nth-of-type(2) {
        /*tablet*/
        font-size: 1rem;
        width: 88%;
    }
}

@media screen and (max-width: 640px) {
    header .inner .logo h1 span:nth-of-type(2) {
        /*sp*/
        font-size: 0.8rem;
        width: 88%;
    }
}

/* header .inner .snav {
    width: 30%;
    text-align: right;
    display: -webkit-box;
    display: -ms-flexbox;
    display: flex;
    -ms-flex-wrap: wrap;
    flex-wrap: wrap;
    -webkit-box-pack: end;
    -ms-flex-pack: end;
    justify-content: flex-end;
    -webkit-justify-content: flex-end;
    -webkit-box-align: start;
    -ms-flex-align: start;
    align-items: flex-start;
    -webkit-align-items: flex-start;
} */


/* header .inner .snav .search {
    display: -webkit-box;
    display: -ms-flexbox;
    display: flex;
    -ms-flex-wrap: wrap;
    flex-wrap: wrap;
    -webkit-box-pack: justify;
    -ms-flex-pack: justify;
    justify-content: space-between;
    -webkit-justify-content: space-between;
    -webkit-box-align: start;
    -ms-flex-align: start;
    align-items: flex-start;
    -webkit-align-items: flex-start;
}

header .inner .snav .search span {
    display: block;
    width: 30px;
    height: 30px;
    background: url("/assets/img/common/icon_search-5d2315ea.png");
    background-repeat: no-repeat;
    background-position: center;
    border: 1px solid #fff;
    padding: 0.5em;
    margin-left: 10px;
} */

/* header .inner .snav .search .box {
    display: none;
}

header .inner .snav .search .box input[type="text"] {
    width: 150px;
    height: 30px;
    padding: 5px;
    border: none;
}

header .inner .snav .search .box input[type="btn"],
header .inner .snav .search .box input[type="submit"] {
    width: 40px;
    height: 30px;
    border: none;
    text-align: center;
    background: #333;
    color: #fff;
} */

header .sp_nav {
    display: none;
    position: fixed;
    top: 12px;
    right: 12px;
    cursor: pointer;
    color: #fff;
    z-index: 1001;
    width: 40px;
    height: 40px;
    border-radius: 3px;
    background-color: rgba(var(--kyushu-main-rgb), 0.8);
    &.gunma {
        background-color: rgba(var(--gunma-main-rgb), 0.8);
    }
    &.tochigi {
        background-color: rgba(var(--tochigi-main-rgb), 0.8);
    }
}

header .sp_nav img {
    width: 26px;
    height: 26px;
    object-fit: contain;
    transition: .3s;
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    margin: auto;
    transform: rotate(0);
}

header .sp_nav img.open_icon {
    visibility: visible;
    opacity: 1;
}

header .sp_nav img.close_icon {
    visibility: hidden;
    opacity: 0;
}

header .sp_nav.active img.open_icon {
    visibility: hidden;
    transform: rotate(180deg);
    opacity: 0;
}

header .sp_nav.active img.close_icon{
    visibility: visible;
    transform: rotate(180deg);
    opacity: 1;
}

@media screen and (max-width: 640px) {
    header .sp_nav {
        /*sp*/
        display: block;
    }
}

.sp_event {
    display: none;
    padding: 8px;
    margin-top: 1rem;
}

.sp_event p {
    clip-path: polygon(0% 0%, 100% 0%, calc(100% - 8px) 100%, 0% 100%);
    letter-spacing: 0;
    margin-bottom: 0.5rem;
    border: 3px;
    font-size: 0.8rem;
    padding: 4px 16px 4px 8px;
    text-align: left;
    width: fit-content;
    background-color: var(--kyushu-accent);
}

.sp_event img {
    width: 100%;
    border-radius: 3px;
    overflow: hidden;
    border: 1px solid var(--site-off-white-color);
}

@media screen and (max-width: 640px) {
    .sp_event {
        display: block;
        color: white;
    }

}

/*---------------------------
nav
-----------------------------*/
nav {
    width: 100%;
    height: 48px;
    margin: auto;
    background: var(--kyushu-main);
    &.gunma {
        background: var(--gunma-main);
    }
    &.tochigi {
        background: var(--tochigi-main);
    }
}

@media screen and (max-width: 640px) {
    nav, nav.gunma, nav.tochigi {
        /*sp*/
        width: 78%;
        height: 100%;
        position: fixed;
        top: 0;
        right: 0;
        z-index: 1000;
        transform: translateX(100%);
        transition: .5s;
        background: var(--site-background-color);
        overflow: scroll;
    }
}

.sp_login_block {
    display: none;
    width: calc(100% - 52px);
    height: 64px;
    padding: 12px;
}

@media screen and (max-width: 640px) {
    .sp_login_block {
        display: block;
    }
}

.sp_login_btn {
    width: 100%;
    height: 40px;
    border-radius: 3px;
    background-color: var(--site-white-color);
    transition: .2s;
    border: 1px solid var(--kyushu-main);
    box-shadow: 0 2px rgba(var(--kyushu-main-rgb), 0.5);
    &.gunma {
        border: 1px solid var(--gunma-main);
        box-shadow: 0 2px rgba(var(--gunma-main-rgb), 0.5);
    }
    &.tochigi {
        border: 1px solid var(--tochigi-main);
        box-shadow: 0 2px rgba(var(--tochigi-main-rgb), 0.5);
    }
}

.sp_login_btn a {
    text-decoration: none;
    font-size: 15px;
    line-height: 37px;
    width: 100%;
    height: 100%;
    display: block;
    color: var(--kyushu-main);
    &.gunma {
        color: var(--gunma-main);
    }
    &.tochigi {
        color: var(--tochigi-main);
    }
}

.sp_login_btn:active {
    box-shadow: none;
    transform: translateY(2px);
}

.nav_list {
    width: 100%;
    max-width: 1100px;
    display: flex;
    align-items: center;
    margin: 0 auto;
    height: 100%;
}

.nav_list li {
    height: 100%;
    flex: 1;
    list-style: none;
    display: flex;
    align-items: center;
    justify-content: center;
    border-right: 1px solid var(--kyushu-base);
    cursor: pointer;
    &.gunma {
        border-right: 1px solid var(--gunma-base);
    }
    &.tochigi {
        border-right: 1px solid var(--tochigi-base);
    }
}

.nav_list li:hover {
    background-color: rgba(var(--kyushu-base-rgb), 0.5);
    &.gunma {
        background-color: rgba(var(--gunma-base-rgb), 0.5);
    }
    &.tochigi {
        background-color: rgba(var(--tochigi-base-rgb), 0.5);
    }
}


.nav_list li.sp {
    display: none;
}

.nav_list li.on {
    background-color: var(--kyushu-base);
    &.gunma {
        background-color: var(--gunma-base);
    }
    &.tochigi {
        background-color: var(--tochigi-base);
    }
    &.on:hover {
    background-color: var(--kyushu-base);
    }
    &.gunma:hover {
        background-color: var(--gunma-base);
    }
    &.tochigi:hover {
        background-color: var(--tochigi-base);
    }
}

.nav_list li:first-child {
    border-left: 1px solid var(--kyushu-base);
    &.gunma {
        border-left: 1px solid var(--gunma-base);
    }
    &.tochigi {
        border-left: 1px solid var(--tochigi-base);
    }
}

.nav_list li a {
    width: 100%;
    height: 100%;
    line-height: 46px;
    text-decoration: none;
    font-size: 15px;
    letter-spacing: 1px;
    text-align: center;
    display: block;
    color: var(--site-off-white-color);
}

#area_tab {
    position: relative;
}

#sub_list {
    width: 100%;
    display: none;
    position: absolute;
    top: 49px;
    left: 0;
    z-index: 1000;
    background: var(--kyushu-main);
}

#sub_list li {
    list-style: none;
    border-left: none;
    border-right: none;
    height: 45px;
    border-bottom: 1px solid var(--kyushu-base);
}

#sub_list li a {
    display: block;
    white-space: nowrap;
    color: var(--site-off-white-color);
    text-decoration: none;
}

#sub_list a:hover {
    background-color: rgba(var(--kyushu-base-rgb), 0.5);
}

@media screen and (max-width: 1100px) {
    .nav_list li:first-child {
        border-left: none;
    }

    .nav_list li:nth-last-of-type(2) {
        border-right: none;
    }
}

@media screen and (max-width: 640px) {
    .nav_list {
        flex-direction: column;
        align-items: flex-start;
        padding: 4px 0 2rem;
        height: fit-content;
        overflow: scroll;
    }

    .nav_list li {
        flex: 0;
        width: 100%;
        height: 56px;
        border-top: 1px solid var(--site-off-white-color);
        border-right: none;
        &.gunma, &.tochigi {
            border-right: none;
        }
    }

    .nav_list li.sp {
        display: block;
    }

    .nav_list li:last-of-type {
        border-bottom: 1px solid var(--site-off-white-color);
    }

    .nav_list li a {
        height: 100%;
        padding: 0 24px;
        color: var(--site-gray-color);
        text-align: left;
        letter-spacing: 1px;
    }

    .nav_list li.on {
        background-color: rgba(var(--kyushu-base-rgb), 0.85);
        &.gunma {
            background-color: rgba(var(--gunma-base-rgb), 0.85);
        }
        &.tochigi {
            background-color: rgba(var(--tochigi-base-rgb), 0.85);
        }
    }

    .nav_list li.on a {
        color: var(--site-white-color);
        font-weight: bold;
    }

    .nav_list li:hover, .nav_list li.on:hover, #sub_list a:hover {
        background-color: transparent;
    }

    #area_tab {
        display: block;
    }

    #sub_list {
        background: var(--site-background-color);
        position: static;
    }

    #sub_list li {
        border-top: 1px dotted var(--site-off-white-color);
        border-bottom: none;
        justify-content: flex-start;
        padding: 0 8px;
    }
    
    #sub_list li a {
        font-size: 13px;
        color: var(--site-gray-color);
    }
}


.open {
    -webkit-transform: translateX(-280px);
    transform: translateX(-280px);
}

.overlay {
    content: "";
    display: block;
    width: 100%;
    width: 0;
    height: 0;
    background-color: rgba(0, 0, 0, 0.8);
    position: absolute;
    top: 0;
    left: 0;
    z-index: 2;
    opacity: 0;
    -webkit-transition: opacity 0;
    transition: opacity 0;
}

.overlay.on {
    width: 100%;
    height: 100%;
    opacity: 1;
}

nav.open {
    -webkit-transform: translateZ(0);
    transform: translateZ(0);
}

/*----------------------
main
------------------------*/
main {
    width: 100%;
    display: block;
}

main.content {
    background: #fff;
}

main.content > .inner {
    max-width: 1300px;
}

main > .inner {
    display: -webkit-box;
    display: -ms-flexbox;
    display: flex;
    -ms-flex-wrap: wrap;
    flex-wrap: wrap;
    -webkit-box-pack: justify;
    -ms-flex-pack: justify;
    justify-content: space-between;
    -webkit-justify-content: space-between;
    -webkit-box-align: start;
    -ms-flex-align: start;
    align-items: flex-start;
    -webkit-align-items: flex-start;
    padding: 3em 0;
}

main > .inner > .main {
    width: 70%;
}

@media only screen and (min-width: 641px) and (max-width: 768px) {
    main > .inner > .main {
        /*tablet*/
        width: 100%;
        margin-bottom: 1rem;
    }
}

@media screen and (max-width: 640px) {
    main > .inner > .main {
        /*sp*/
        width: 100%;
        margin-bottom: 1rem;
    }

    main.content > .inner {
        padding: 1.5rem 0 2rem;
    }
}

main > .inner > .main .inner {
    max-width: 100%;
}

/* 2024/12/26〜 */
main {
    width: 100%;
}

main.content {
    background: var(--site-white-color);
}

.front_default_wrapper {
    width: 100%;
    max-width: 1200px;
    margin: 0 auto;
    padding: 2rem 0 3rem;
}

.exist_sidebar_wrapper {
    display: grid;
    grid-template-columns: 1fr 296px;
    gap: 1.5rem;
}

.contents_main,
.contents_side {
    width: 100%;
    overflow: hidden;
}

@media screen and (max-width: 1200px) {
    .front_default_wrapper {
        padding: 1rem 1rem 3rem;
    }

    .exist_sidebar_wrapper {
        gap: 1rem;
    }
}

@media screen and (max-width: 1024px) {
    .exist_sidebar_wrapper {
        grid-template-columns: 1fr;
    }

}

@media screen and (max-width: 640px) {
    .front_default_wrapper {
        padding: 0.5rem 0.5rem 3rem;
    }
}

/*----------------------
pageprev
------------------------*/
.pageprev {
    text-align: right;
    padding-top: 2em;
    border-bottom: 1px dotted #ccc;
}

.pageprev a {
    width: 25%;
    display: inline-block;
    /* background: url("/assets/img/common/slash_bg02-4d8379f1.png"); */
    background-size: 100% 100%;
    background-repeat: no-repeat;
    padding: 0.5em;
    text-decoration: none;
    color: #fff;
    font-size: 0.8em;
    text-align: center;
}

.pageprev .red {
    background: url("/assets/img/common/slash_bg_red2-4d8379f1.png");
    background-size: 100% 100%;
    background-repeat: no-repeat;
}

.pageprev .blue {
    background: url("/assets/img/common/slash_bg_blue2-4d8379f1.png");
    background-size: 100% 100%;
    background-repeat: no-repeat;
}

@media screen and (max-width: 640px) {
    .pageprev a {
        /*sp*/
        width: 50%;
    }
}

/*---------------------------
共通
-----------------------------*/
* .inner {
    max-width: 1000px;
    margin: auto;
}

@media only screen and (min-width: 769px) and (max-width: 1000px) {
    * .inner {
        /*769px~1000px(inner1000pxの場合)*/
        max-width: 100%;
    }
}

@media only screen and (min-width: 641px) and (max-width: 768px) {
    * .inner {
        /*tablet*/
        max-width: 100%;
    }
}

@media screen and (max-width: 640px) {
    * .inner {
        /*sp*/
        max-width: 100%;
    }
}

* {
    -webkit-box-sizing: border-box;
    box-sizing: border-box;
}

.is-fixed {
    position: fixed;
    top: 0;
    left: 0;
    z-index: 2;
    width: 100%;
}

.content_title {
    width: 100%;
    text-align: left;
    background-color: var(--kyushu-base);
    &.gunma {
        background-color: var(--gunma-base);
    }
    &.tochigi {
        background-color: var(--tochigi-base);
    }
}

.content_title .inner {
    padding: 3em 4px;
}

.year_list {
    padding: 1em 0 0 0;
    background: #c5dbde;
}

.year_list .inner {
    max-width: 1100px;
    margin: auto;
}

.year_list .inner ul {
    display: flex;
    display: -webkit-flex;
    flex-wrap: wrap;
    justify-content: flex-start;
    -webkit-justify-content: flex-start;
    align-items: flex-start;
    -webkit-align-items: flex-start;
}

.year_list .inner ul li {
    width: 19%;
    margin-right: 1%;
    margin-bottom: 20px;
    list-style: none;
    position: relative;
}

.year_list .inner ul li a:hover {
    background: #000b29;
    color: #fff;
}

.year_list .inner ul li.on a {
    background: rgb(47 47 129);
    color: #fff;
}

.year_list .inner ul li a {
    display: block;
    border: 1px solid rgb(47 47 129);
    padding: 0.7em 1.5em;
    text-align: center;
    color: #000b29;
    background: #fff;
    text-decoration: none;
    font-size: 1.2em;
    font-weight: bold;
    position: relative;
}

@media screen and (max-width: 640px) {
    .year_list .inner ul li {
        width: 32%;
        margin-right: 1.5%;
    }

    .year_list .inner ul li a {
        padding: 0.5em 1em;
        font-size: 1rem;
    }

    .year_list .inner {
        width: 90%;
    }
}

@media only screen and (min-width: 641px) and (max-width: 768px) {
    .content_title .inner {
        /*tablet*/
        padding: 2rem 2%;
    }
}

@media screen and (max-width: 640px) {
    .content_title .inner {
        /*sp*/
        padding: 30px 8px;
    }
}

.content_title .inner h1 {
    color: var(--site-white-color);
    font-size: 1.5em;
    line-height: 1.7rem;
    letter-spacing: 4px;
}

.content_title .inner h1.sp_title {
    display: none;
}

.content_title .inner p {
    color: var(--site-gray-color);
    font-size: 1rem;
    letter-spacing: 1px;
    margin-top: 0.75rem;
}

@media only screen and (max-width: 768px) {
    .content_title .inner h1 {
        /*tablet*/
        font-size: 1.1rem;
        line-height: 1.4rem;
        letter-spacing: 2px;
        text-align: center;
    }

    .content_title .inner p {
        font-size: 0.85rem;
        text-align: center;
    }
}

@media screen and (max-width: 640px) {
    .content_title .inner h1.pc_title {
        display: none;
    }

    .content_title .inner h1.sp_title {
        display: block;
    }
}

.content_stitle .inner {
    max-width: 1100px;
}

.content_stitle .inner h2 {
    font-size: 1.6em;
    padding: 1.5em 0;
    border-bottom: 2px solid #021c32;
    color: #021c32;
    letter-spacing: 10px;
}

h3 {
    text-align: left;
}

h3.bar {
    font-size: 1.4em;
    font-weight: 500;
    color: #ac6ba8;
    margin-bottom: 40px;
    padding-bottom: 30px;
    border-bottom: 3px solid #ac6ba8;
}

.pager {
    width: 100%;
    padding: 2rem 0;
    background: var(--site-white-color);
}

.pager nav {
    display: block;
    width: 100%;
    background: var(--site-white-color);
    transform: none;
    height: auto;
    position: initial;
}

.pager ul {
    list-style: none;
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    align-items: center;
    gap: 0.5rem;
}

.pager ul li a,
.pager ul li span {
    display: block;
    padding: 4px 12px;
    border: 1px solid var(--site-background-color);
    text-decoration: none;
    color: var(--site-text-color);
}

.pager ul li.disabled span {
    color: var(--site-gray-color);
    border: none;
}

.pager ul li.active span {
    background-color: var(--site-background-color);
}

.pager ul li a:hover {
    color: var(--site-white-color);
    background-color: var(--site-gray-color);
}

/*-----------------
スワイプ時のテキスト
------------------*/
* .sp_note {
    top: 0px;
    left: 0;
    width: 100%;
    height: 28px;
    line-height: 28px;
    background: #555;
    color: #fff;
    font-size: 0.8em;
    display: none;
}

@media screen and (max-width: 640px) {
    * .sp_note {
        /*sp*/
        display: block;
    }
}

/*-----------------
パンくずリスト
------------------*/
.bc {
    font-size: 0.8em;
    text-align: left;
    background: var(--site-background-color);
    border-bottom: 1px solid #fff;
    overflow-x: scroll;
    width: 100%;
    white-space: nowrap;
}

@media screen and (max-width: 640px) {
    .bc {
        display: none;
    }
}

.bc::-webkit-scrollbar {
    display: none;
}

.bc span {
    display: inline-block;
    border-right: 1px solid #ccc;

}

.bc span a {
    display: block;
    text-decoration: none;
    padding: 0.25rem 1rem;
}

.bc span:nth-of-type(1) {
    background: #333;
}

.bc span:nth-of-type(1) a {
    color: #fff;
}


.period_list {
    padding: 2em 0 0 0;
}

.period_list > .inner {
    max-width: 1100px;
    margin: auto;
}

.period_list > .inner ul {
    width: 100%;
    display: -webkit-flex;
    display: flex;
    justify-content: flex-start;
    -webkit-justify-content: flex-start;
    align-items: flex-start;
    -webkit-align-items: flex-start;
    list-style: none;
}

.period_list > .inner ul li {
    width: 100%;
    margin-right: 1.25%;
    margin-bottom: 8px;
}

.period_list > .inner ul li.on a {
    background: rgb(47 47 129);
    color: #fff;
}

.period_list > .inner ul li a {
    display: block;
    padding: 1em;
    border: 1px solid rgb(47 47 129);
    text-decoration: none;
    color: rgb(47 47 129);
    font-size: 1.1em;
    cursor: pointer;
}

/*-----------------
パート
------------------*/
.part_list {
    padding: 2em 0;
}

@media screen and (max-width: 640px) {
    .part_list {
        /*sp*/
        padding: 1rem 0;
    }
}

.part_list > .inner {
    max-width: 1100px;
}

@media only screen and (min-width: 641px) and (max-width: 768px) {
    .part_list > .inner {
        /*tablet*/
        max-width: 100% !important;
    }
}

@media screen and (max-width: 640px) {
    .part_list > .inner {
        /*sp*/
        max-width: 100% !important;
    }
}

.part_list > .inner ul {
    width: 100%;
    display: -webkit-box;
    display: -ms-flexbox;
    display: flex;
    -ms-flex-wrap: wrap;
    flex-wrap: wrap;
    -webkit-box-pack: start;
    -ms-flex-pack: start;
    justify-content: flex-start;
    -webkit-justify-content: flex-start;
    -webkit-box-align: start;
    -ms-flex-align: start;
    align-items: flex-start;
    -webkit-align-items: flex-start;
    list-style: none;
}

.part_list > .inner ul li {
    width: 23.5%;
    margin-right: 2%;
    margin-bottom: 8px;
}

@media screen and (max-width: 640px) {
    .part_list > .inner ul li {
        /*sp*/
        width: 30%;
        margin-right: 5%;
    }
}

.part_list > .inner ul li:nth-of-type(4n) {
    margin-right: 0;
}

@media screen and (max-width: 640px) {
    .part_list > .inner ul li:nth-of-type(4n) {
        /*sp*/
        margin-right: 5%;
    }
}

@media screen and (max-width: 640px) {
    .part_list > .inner ul li:nth-of-type(3n) {
        /*sp*/
        margin-right: 0;
    }
}

.part_list > .inner ul li a {
    display: block;
    padding: 0.5em 1em;
    border: 1px solid #002c65;
    text-decoration: none;
    color: #002c65;
    font-size: 1.1em;
}

@media screen and (max-width: 640px) {
    .part_list > .inner ul li a {
        /*sp*/
        font-size: 0.9rem;
        padding: 0.25rem;
    }
}

.part_list > .inner ul li a:hover {
    color: #fff;
    background: #002c65;
}

/*-----------------
タブ切り替え
------------------*/
.tab {
    margin: 5px 0px;
}

.tab li:nth-of-type(1).current {
    background-color: #7ba613;
    color: #fff;
}

.tab li:nth-of-type(1).current .selecting {
    display: block !important;
}

.tab li:nth-of-type(2).current {
    background-color: #faa32d;
    color: #fff;
}

.tab li:nth-of-type(2).current .selecting {
    display: block !important;
}

.box.tab-contents {
    display: none;
}

.box.current {
    display: block;
}
/*-----------------
forelse時のemptyメッセージ
------------------*/
.nodata {
    font-size: 0.9rem;
    letter-spacing: 1px;
    color: var(--gray-text-color);
    text-align: center;
    padding: 2rem;
    border-radius: 3px;
    width: 98%;
    margin: 0 auto;
    grid-column: 1 / -1;
    background: repeating-linear-gradient(-45deg, var(--site-background-color),
            var(--site-white-color) 4px,
            var(--site-background-color) 4px,
            var(--site-white-color) 8px);
}

@media screen and (max-width: 640px) {
    .nodata {
        font-size: 0.85rem;
    }
}