@charset "UTF-8";

/*********************************
preset variables
*********************************/
:root {
    /* color preset */
    --mainColor: #ea8b00;
    --mainDarkColor: #fbe8cc;
    --mainLightColor: #fcefdb;
    --mainLightColor2: #f8dbb4;
    --subColor: #548235;
    --linkColor: #4685a8;
    --bgColor: #fff;
    /* width preset */
    --breakpoint: 700px;
    --gutter: 1.3rem;
    --gap: 3rem;
    --headerHeight: ;
    --contentWidth: 1200px;
}

/* OVERWRITE RADIX */

section {
    margin-top: 0;
}
a {
    color: var(--linkColor);
}
p {
    text-align: left;
}

/* OVERWRITE end */
/*************************************
* START header
*************************************/
header {
    padding: 0 0.5rem 0 1rem;
}

header .head-body {
    display: flex;
    justify-content: space-between;
    padding: 1rem 0;
}

header h1 {
    flex-grow: 1;
    margin-right: 1rem;
    background: url(../img/theme/toplogo_1.png) no-repeat left center;
    background-size: contain;
}

.site-config {
    display: flex;
    flex-direction: column;
    align-self: center;
    margin: 1rem 0;
}

.site-config .lang-switch {
    display: flex;
    justify-content: space-between;
    margin-bottom: 0.5rem;
}

.site-config .lang-switch a {
    display: block;
    padding: 0.2rem 1rem;
    background: var(--mainLightColor);
    color: var(--mainColor);
    text-align: center;
}

.site-config .lang-switch a.active {
    background: var(--mainColor);
    color: #fff;
}

.site-config a.contact {
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 0.5rem 1rem;
    background: var(--subColor);
    color: #fff;
    text-align: center;
    text-decoration: none;
    line-height: 1;
}

.site-config a.contact::before {
    content: "\f0e0";
    font-family: "font awesome 5 free";
    font-size: 1.5rem;
    margin-right: 0.5rem;
}

nav#global-nav {
    background: var(--mainColor);
}

nav#global-nav ul.centering {
    display: flex;
}

nav#global-nav li {
    flex-grow: 1;
}

nav#global-nav li a {
    display: block;
    width: 100%;
    height: 100%;
    padding: 1rem 0.5rem;
    color: #fff;
    font-weight: 600;
    text-align: center;
    text-decoration: none;
}

nav#global-nav li a:hover {
    background: #a36200;
}

/*************************************
* END header START main
*************************************/
main {
    padding: 0 1rem;
}

main.sub {
    padding: 2rem 1rem;
}

.breadcrumb {
    padding: 0.2rem 1rem;
    background: #e1dacf;
}
.breadcrumb ol.centering li {
    display: inline-block;
}
.breadcrumb ol.centering li:not(:last-child)::after {
    content: ">";
    margin: 0 1rem;
}
.breadcrumb a {
    color: var(--mainColor);
}

.page-title {
    background: url(../img/theme/top-lady.jpg) no-repeat center top;
    background-size: 70%;
    position: relative;
}
.page-title::after {
    content: "";
    background-color: rgba(252, 239, 220, 0.5);
    position: absolute;
    left: 0;
    right: 0;
    top: 0;
    bottom: 0;
}

.page-title h1.centering {
    padding: 6rem 1rem;
    font-size: 1.5rem;
    font-weight: 700;
    text-align: center;
    z-index: 1;
}

main h1 {
    position: relative;
    padding-bottom: 2px;
    margin-bottom: 3rem;
    color: var(--mainColor);
    font-size: 1.8rem;
    text-align: center;
}
main h1::after {
    content: "";
    display: block;
    width: 3rem;
    height: 3px;
    position: absolute;
    bottom: 0;
    left: 50%;
    transform: translateX(-50%);
    background: #666;
}
main h2 {
    padding: 0.5rem 0.7rem;
    margin-bottom: 2.5rem;
    background: var(--mainLightColor2);
    font-size: 1.3rem;
    font-weight: 700;
}
main h3 {
    padding-left: 0.7rem;
    margin-bottom: 1rem;
    font-size: 1.3rem;
    font-weight: 700;
    border-left: solid 10px var(--mainColor);
}
main h4 {
    padding-left: 0.5rem;
    margin-bottom: 0.5rem;
    border-left: 0.5rem solid var(--mainColor);
    font-size: 1.1rem;
    font-weight: 700;
    line-height: 1.2;
}
main p {
    margin-bottom: 3rem;
}

.top-items {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
}

.top-items a {
    position: relative;
    text-decoration: none;
    margin: 0 0.3rem 1rem;
}

.top-items a span {
    display: block;
    width: 100%;
    position: absolute;
    bottom: 0;
    z-index: 2;
    padding: 0.2rem 2rem 0.2rem 0.5rem;
    background: rgba(234, 139, 0, 0.7);
    color: #fff;
    font-size: 1.1rem;
}

.top-items a span::after {
    content: "\f35a";
    font-family: "font awesome 5 free";
    position: absolute;
    top: 50%;
    right: 0.3rem;
    transform: translateY(-50%);
    font-size: 1.4rem;
    line-height: 1;
}

/* START bx-slider */
.slider-wrapper {
    max-width: 1400px;
}

.bx-wrapper .bx-pager {
    display: flex;
    justify-content: center;
    padding: 1rem;
}

.bx-wrapper .bx-pager a.bx-pager-link {
    display: block;
    width: 0.7rem;
    height: 0.7rem;
    margin: 0 0.5rem;
    background: #bbb;
    color: transparent;
    font: 0/0 a;
}

.bx-wrapper .bx-pager a.bx-pager-link.active {
    background: var(--mainColor);
}

/* END bx-slider */

/* START whats_new_wrapper */
.whats_new_wrapper {
    padding: 5rem 1rem;
    background: #fdf6eb;
}

.whats_new_wrapper #filter-form {
    display: flex;
}

.whats_new_wrapper #filter-form label {
    width: 100%;
    position: relative;
    padding: 1.5rem 0.5rem;
    box-shadow: 0 0 0 1px #000;
    text-align: center;
    cursor: pointer;
    font-weight: bold;
    background: #fff;
}

.whats_new_wrapper #filter-form label.active {
    color: #fff;
    background: #1f86be;
}

.whats_new_wrapper #filter-form label input {
    display: none;
}

/*
.whats_new_wrapper .category label.checked {
background: #000;
}
*/
.whats_new_wrapper #filter-target li {
    display: flex;
    padding: 2rem 0;
    border-bottom: solid 1px #ddd;
}

.whats_new_wrapper #filter-target .info {
    font-weight: bold;
    display: flex;
    justify-content: flex-start;
    white-space: nowrap;
}

.whats_new_wrapper #filter-target .date {
    margin: 0 1rem 0.5rem 0;
}

.whats_new_wrapper #filter-target .tags {
    display: flex;
    flex-direction: column;
    align-content: flex-start;
    margin-right: 1rem;
}

.whats_new_wrapper #filter-target .tags span {
    display: inline-block;
    text-align: center;
    width: 9rem;
    margin: 0 0.5rem 0.5rem 0;
    padding: 0.3rem 0.5rem;
    color: #fff;
    font-weight: 400;
    line-height: 1.2;
}

.whats_new_wrapper #filter-target .tags span.news {
    background: var(--mainColor);
}
.whats_new_wrapper #filter-target .tags span.event_schedule {
    background: var(--subColor);
}
.whats_new_wrapper #filter-target .tags span.event_record {
    background: #1f86be;
}
.whats_new_wrapper #filter-target .tags span.event_report_posted {
    background: #79497e;
}

.whats_new_wrapper #filter-target .content {
}

.whats_new_wrapper #filter-target .content > div:nth-child(1) {
    color: var(--mainColor);
}
.whats_new_wrapper #filter-target .content > div:nth-child(2) {
    white-space: pre-wrap;
}

.whats_new_wrapper .to_more_button {
    display: block;
    border: solid 1px #000;
    width: 240px;
    height: 70px;
    margin: 0 auto;
    text-align: center;
    line-height: 70px;
    position: relative;
    color: #000;
}

.whats_new_wrapper .to_more_button::after {
    font-family: "Font Awesome 5 Free";
    content: "\f35a";
    font-weight: 900;
    position: absolute;
    top: 0;
    right: 1rem;
    font-size: 1.5em;
}

/*END whats_new_wrapper */

main.sub ul {
    margin-bottom: 2.5rem;
    list-style-type: none;
}
main.sub ul li {
    margin-bottom: 1rem;
}
main.sub ul li:last-child {
    margin-bottom: 0;
}
main.sub ol {
    padding-left: 1.5em;
    margin-bottom: 1.7rem;
    list-style-type: decimal;
}
main.sub ol.decimal-br {
    list-style-type: none;
    counter-reset: count-br;
}
main.sub ol.decimal-br li::before {
    content: counter(count-br) ") ";
    counter-increment: count-br;
}
main.sub img {
    display: inline-block;
}

main.sub table.simple {
    margin-bottom: 1.3rem;
    width: 100%;
    min-width: max-content;
    border: 1px solid var(--mainColor);
}
main.sub table.simple thead {
    background: var(--mainColor);
    color: #fff;
    text-align: center;
}
main.sub table.simple tbody th {
    background: #ccc;
}
main.sub table.simple tbody th,
main.sub table.simple tbody td {
    padding: 0.2rem 0.5rem;
}
main.sub table.simple tbody tr:nth-child(2n) {
    background: var(--mainLightColor);
}
main.sub dl.simple {
    display: flex;
    flex-wrap: wrap;
    margin-bottom: 1.5rem;
    border: 1px solid var(--mainColor);
}
main.sub dl.simple dt {
    display: grid;
    place-items: center;
    width: 30%;
    padding: 0.2rem 0.5rem;
    background: var(--mainColor);
    border-top: 1px solid #fff;
    color: #fff;
}
main.sub dl.simple dt:first-child {
    border-top: 1px solid var(--mainColor);
}
main.sub dl.simple dd {
    width: 70%;
    padding: 0.2rem 0.5rem;
}
main.sub dl.simple dd:nth-of-type(2n-1) {
    background: var(--mainLightColor);
}

.container {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
}

.item1 {
    flex-basis: 50%;
    padding: 10px;
}

/*************************************
* END main START footer
*************************************/
.banner {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    padding: 3rem 1rem;
    border-top: 5px solid #eee;
}

footer .to-top {
    display: block;
    width: 100px;
    height: 100px;
    position: absolute;
    right: 5px;
    top: -68px;
    background: url(../img/theme/pagetop.png) no-repeat center center;
    background-size: contain;
}

footer {
    padding: 0 1rem;
    background: var(--mainDarkColor);
}

footer .centering {
    /*
  display: flex;
  justify-content: space-between;
  */
    padding: 2rem 0;
}
/*
footer .centering::before {
  content: "";
  display: block;
  flex-grow: 1;
  background: url(../img/theme/footer.png) no-repeat left center;
  background-size: contain;
}
*/
footer .foot-body {
    align-self: center;
    margin: 4rem 0;
}

footer .foot-body ul {
    display: flex;
    justify-content: space-between;
    flex-wrap: wrap;
}

footer .foot-body ul li {
    margin: 0 0.5rem 4rem;
}

footer .foot-body ul a {
    color: inherit;
    font-weight: 700;
}

footer .foot-body .foot-bottom {
    display: flex;
    flex-direction: column;
    align-items: center;
    border-top: 1px solid var(--mainColor);
    padding-top: 2rem;
}

footer h1 {
    font-size: 1.2rem;
    font-weight: 700;
    margin-bottom: 2rem;
}

footer .foot-body .foot-bottom .info {
    display: flex;
    justify-content: space-between;
    flex-wrap: wrap;
    color: #7d7a75;
}

.copyright {
    padding: 0.3rem 1rem;
    background: var(--mainColor);
    color: #fff;
    text-align: right;
}

/*************************************
* END footer START only for sp
*************************************/
@media only screen and (max-width: 800px) {
    .sp-hide {
        visibility: hidden;
        opacity: 0;
    }

    .sp-visible {
        visibility: visible;
        opacity: 1;
    }

    .sp-none {
        display: none !important;
    }

    .btn {
        display: block;
    }

    #toggle-nav {
        width: 50px;
        height: 70px;
        color: var(--mainColor);
    }

    nav#global-nav {
        max-height: 700px;
        overflow: hidden;
        transition: 0.3s ease-in-out;
    }

    nav#global-nav:not(.opened) {
        max-height: 5px;
    }

    nav#global-nav ul.centering {
        flex-direction: column;
    }

    .site-config .lang-switch a {
        width: 50%;
    }

    .site-config .lang-switch a.active {
        background: #a36200;
    }

    .page-title h1.centering {
        padding: 3rem 1rem;
    }

    .container .item1,
    .container .item2 {
        width: 100%;
    }

    .top-items {
        padding-top: 50px;
        /*
    background-size: contain;
    padding-top: calc(100% * 330 / 730);
    */
    }

    .page-title {
        background-size: 100%;
    }

    .prof {
        text-align: center;
        margin-bottom: 10px;
    }

    footer {
        margin-top: 30px;
    }

    footer .to-top {
        height: 80px;
        width: 80px;
        top: -53px;
        right: 50%;
        transform: translateX(50%);
    }

    footer .centering {
        flex-direction: column;
    }

    footer .centering::before {
        padding-top: calc(100% * 380 / 460);
        background-position: center center;
    }

    footer .foot-body {
        margin: 1rem 0 0;
    }

    .whats_new_wrapper #filter-form {
        position: relative;
        flex-wrap: wrap;
    }

    .whats_new_wrapper #filter-form label {
        width: 50%;
        padding: 0.5rem;
        line-height: 1.5rem;
    }
    main.sub.whats_new_wrapper #filter-form label {
        width: 100%;
    }

    .whats_new_wrapper #filter-form label span {
        line-height: inherit;
    }

    .whats_new_wrapper #filter-target li {
        position: relative;
        padding-left: 1.5rem;
        flex-direction: column;
    }

    .whats_new_wrapper #filter-target li:before {
        position: absolute;
        left: 0;
    }

    .whats_new_wrapper #filter-target .info {
        flex-wrap: wrap;
    }

    .whats_new_wrapper #filter-target .tags {
        flex-direction: row;
        flex-wrap: wrap;
    }

    .whats_new_wrapper #filter-target .info,
    .whats_new_wrapper #filter-target .content {
        width: 100%;
    }

    main.sub dl.simple dt,
    main.sub dl.simple dd {
        width: 100%;
    }
    main.sub dl.simple dd:nth-of-type(2n-1) {
        background-color: transparent;
    }
    footer .foot-body ul {
        display: block;
        text-align: center;
    }
    footer .foot-body ul li {
        margin: 0 0 0.5rem;
    }
}

/*************************************
* END only for sp START only for pc
*************************************/
@media print, screen and (min-width: 800px) {
    .pc-hide {
        visibility: hidden;
        opacity: 0;
    }

    .pc-visible {
        visibility: visible;
        opacity: 1;
    }

    .pc-none {
        display: none !important;
    }
    .top-items {
        padding-top: 380px;
        background: url(../img/theme/web-1.jpg) no-repeat center top;
        background-size: 75%;
    }
    .site-config .lang-switch::before {
        content: "";
        display: block;
        margin: 0 0.3rem;
        border-left: 1px solid var(--mainColor);
        order: 2;
    }
    .container {
        flex-wrap: nowrap;
    }
    .site-config .lang-switch a.jp {
        order: 1;
    }

    .site-config .lang-switch a.en {
        order: 3;
    }

    .prof img {
        float: right;
        margin: 0 1.5rem 1rem;
    }

    footer .centering::before {
        min-width: 400px;
    }

    /*

    .whats_new_wrapper .category label::after {
    content: "";
    display: block;
    height: 100%;
    max-height: 0;
    position: absolute;
    top: 100%;
    left: 50%;
    z-index: 2;
    transform: translate(-50%, -50%);
    border-left: 1px solid #000;
    transition: .3s max-height ease-in-out;
}

    */
    .whats_new_wrapper .category label:not(:last-child) {
        border-right: none;
    }
}
