body {
    background-color: #002364;
}

/* title-wrap
========================================================================== */
main .mv-wrap {
    aspect-ratio: auto;
    color: #FFF;
    padding-top: 13.1%;
    margin-bottom: 3.6%;
    overflow: visible;
}
.mv-wrap .text-wrap {
    position: absolute;
    top: 0;
    left: 0;
    animation: text-fadeIn 0.5s ease forwards 0.25s;
}
.mv-wrap .text-wrap h1 {
    left: 9.8%;
    bottom: 0;
    font-size: 10.0rem;
    font-size: 7.3vw;
}
.mv-wrap .text-wrap .line {
    position: absolute;
    bottom: -87.2%;
    left: -14%;
    width: 22.7%;
}
.mv-wrap .text-wrap .line img {
    filter: invert(100%) sepia(100%) saturate(0%) hue-rotate(320deg) brightness(107%) contrast(101%);
}

@keyframes text-fadeIn {
    0% {
        opacity: 0;
        transform: translate(var(--start-x, -50px), var(--start-y, 50px));
    }
    100% {
        opacity: 1;
        transform: translate(0, 0);
    }
}

.mv-wrap .jp_title-wrap {
    width: 77.4%;
    margin: 0 auto;
}
.mv-wrap .jp_title-wrap h2 {
    font-size: 3rem;
    font-size: 2.19vw;
    width: 64.9%;
    margin: 0 0 0 auto;
}

@media print, screen and (max-width: 768px) {
    main .mv-wrap {
        height: auto;
        padding-top: 40.1vw;
        margin-bottom: 8.6vw;
    }
    .mv-wrap .text-wrap {
        position: absolute;
        top: 0;
        left: 0;
        animation: text-fadeIn 1s ease forwards 0.5s;
    }
    .mv-wrap .text-wrap h1 {
        left: 17.5vw;
        bottom: 10.2vw;
        font-size: 16.8vw;
    }
    .mv-wrap .text-wrap .line {
        position: absolute;
        bottom: -19.5vw;
        left: -31.6vw;
        width: 47.2vw;
    }

    .mv-wrap .jp_title-wrap {
        width: 75.5vw;
        margin: 0 auto;
    }
    .mv-wrap .jp_title-wrap h2 {
        font-size: 4.6vw;
        width: 100%;
        margin: 0 auto;
        padding-left: 5.8vw;
        box-sizing: border-box;
    }

}

/* ==========================================================================
   パンくずリスト
========================================================================== */
.breadcrumb__list {
    display: flex;
    align-items: center;

    width: 26.1%;
    margin: 0 0 3.3%;
    color: #FFFFFF;
}
.breadcrumb__list a{
    color: #FFFFFF;
    text-decoration: none;
}
.breadcrumb__list a:hover {
    text-decoration: underline;
}
.breadcrumb__list li {
    letter-spacing: 0;

    font-size: 1.6rem;
    font-size: 1.17vw;
    line-height: 1;
}
.breadcrumb__list .breadcrumb__item::after {
    margin: 0 1em 0 0.75em;

    content: " > ";
}
.breadcrumb__list .breadcrumb__item:last-of-type:after {
    display: none;
}
@media print, screen and (max-width: 768px) {
    .breadcrumb__list {
        display: none;
    }
}

.event-cat-name {
    width: 64.9%;
    color: #FFF;
    margin-bottom: 3.3%;
    font-size: 2.4rem;
    font-size: clamp(1.6rem, 1.75vw, 2.4rem);
}
@media print, screen and (max-width: 768px) {
    .event-cat-name {
        display: none;
    }
}


/* event-wrap
========================================================================== */
.event-wrap {
    display: flex;
    flex-wrap: wrap;
    justify-content: space-between;
    width: 1058px;
    width: 77.4%;
    margin: 0 auto;
    padding: 0 0 6.9%;
}

@media print, screen and (max-width: 768px) {
    .event-wrap {
        display: block;
        width: 90vw;
        padding-bottom: 27.9vw;
    }
}

/* side-con
========================================================================== */
.side-con {
    width: 280px;
    width: 26.4%;
}

.side-con h3 {
    color: #FFF;
    font-size: 2.4rem;
    font-size: 1.7vw;
    font-weight: bold;
    margin-bottom: 2.6%;
}

.side-con ul.pc-terms {
    border-top: 1px solid #FFF;
    padding: 5.3% 0 0;
}
.side-con .sp-terms {
    display: none;
}

.side-con li {
    line-height: 2.5;
}

.side-con li a {
    color: #FFF;
    font-size: 1.6rem;
    font-size: 1.17vw;
    font-weight: bold;
    text-decoration: none;
}
.side-con li a:hover,
.side-con li.current-cat a {
    color: #3B87FF;
    text-decoration: underline;
}

@media print, screen and (max-width: 768px) {
    .side-con {
        width: 74.6vw;
        margin: 0 auto 10.6vw;
    }
    .side-con .pc-terms {
        display: none;
    }
    .side-con .sp-terms {
        display: block;
    }

    .side-con h3 {
        display: none;

    }
    .side-con .sp-terms select {
        border: none;
        background-color: #002364;
        color: #FFF;
        width: 100%;
        padding: 3vw;
        padding-right: 6vw;
        box-sizing: border-box;
        background-image: url(../images/btn-arrow-bottom-white.svg);
        background-position: right 3vw center;
        background-repeat: no-repeat;
        background-size: 1em;
        -webkit-appearance: none;
        -moz-appearance: none;
        appearance: none;
        text-align: center;
        border-radius: 0;
        border: 1px solid #FFF;
    }
    .side-con .sp-terms select:focus {
        outline:none;
    }.side-con .sp-terms option {
        background-color: #002364;
    }
    .side-con .sp-terms option:checked {
        background-color: #3B87FF;
    }

}

/* pickup_events
========================================================================== */
.event-wrap .pickup_events {
    display: flex;
    align-items: flex-start;
    justify-content: space-between;
    flex-wrap: wrap;
    width: 64.9%;
}

.pickup_events section {
    width: 45.4%;
    color: #005AA0;
}
.pickup_events section:nth-child(n+3) {
    margin-top: 58.5px;
    margin-top: 8.5%;
}
.pickup_events section .photo {
    position: relative;
    width: 100%;
    aspect-ratio: 311 / 220;
    background-color: #00003C;
    display: flex;
    align-items: center;
    justify-content: center;
}
.pickup_events section .photo.img {
    background-color: #FFF;
}
.pickup_events section .photo.img img {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    width: 100%;
    /* height: 100%; */
    height: auto;
    object-fit: cover;
}
.pickup_events section .photo.text {
    font-size: 3.3rem;
    font-size: 2.4vw;
    font-weight: bold;
    text-align: center;
    letter-spacing: 0.14em;
    line-height: 1.3;
    color: #3B87FF;
}
.pickup_events section .photo.text a {
    text-decoration: none;
    width: 100%;
    height: 100%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: #3B87FF;
    flex-direction: column;
}
.pickup_events section .photo.text a span {
    font-size: 1.6rem;
    font-size: 1.1vw;
    letter-spacing: 0;
}

.pickup_events section .detail {
    margin-top: 6.3%;
    color: #FFF;
}
.pickup_events section .detail .category {
    font-size: clamp(1.25rem, 1.1vw, 1.6rem);
    background-color: #3B87FF;
    text-align: center;
    line-height: 1;
    padding: 5px 0;
    width: 100%;
    margin-bottom: 4.5%;
}
.pickup_events section .detail .category.life_science {
    background-color: #0073FF;
}
.pickup_events section .detail .category.carbon_neutral {
    background-color: #9AE600;
}
.pickup_events section .detail .category.digital {
    background-color: #EE8FFF;
}
.pickup_events section .detail .important-btn {
    font-size: clamp(1.25rem, 1.1vw, 1.6rem);
    background-color: #3B87FF;
    text-align: center;
    line-height: 1;
    padding: 5px 0;
    width: 100%;
    margin-top: -3%;
    margin-bottom: 4.5%;
}
.pickup_events section .detail .important-btn a {
    color: #FFF;
    text-decoration: none;
}
.pickup_events section .detail .category.life_science + .important-btn {
    background-color: #0073FF;
}
.pickup_events section .detail .category.carbon_neutral + .important-btn {
    background-color: #9AE600;
}
.pickup_events section .detail .category.digital + .important-btn {
    background-color: #EE8FFF;
}
.pickup_events section .detail .date {
    font-size: clamp(1.5rem, 1.46vw, 2.0rem);
    font-weight: bold;
}
.pickup_events section .detail p {
    font-size: 1.6rem;
    font-size: clamp(1.25rem, 1.1vw, 1.6rem);
    /* margin-top: 17px;
    margin-top: 5.4%; */
}

.pickup_events section .detail .textlink {
    line-height: 1.2;
}

.pickup_events section .detail .textlink + .textlink {
    margin-top: 0.5em;
}
.pickup_events section .detail .textlink a {
    font-size: 1.6rem;
    font-size: clamp(1.25rem, 1.1vw, 1.6rem);
    color: #FFF;
}

@media print, screen and (max-width: 768px) {
    .event-wrap .pickup_events {
        width: 72.6vw;
        margin: 0 auto;
    }

    .pickup_events section {
        width: 100%;
    }
    .pickup_events section:nth-child(n+2) {
        margin-top: 13.4vw;
    }
    .pickup_events section .photo.text {
        font-size:7vw;
        line-height: 1.16;
    }
    .pickup_events section .detail {
        margin-top: 4.7vw;
    }
    .pickup_events section .detail .category {
        font-size: 3.7vw;
        padding: 0.9vw 0;
        margin-bottom: 3.2vw;
    }
    .pickup_events section .detail .important-btn {
        margin-top: -1.5vw;
        margin-bottom: 3.2vw;
    }
    .pickup_events section .detail .date {
        font-size: 4.6vw;
    }
    .pickup_events section .detail p,
    .pickup_events section .detail .textlink a {
        font-size: 4.6vw;
    }
}

/* event-footer
========================================================================== */
.event-footer {
    width: 100%;
}

.pagination {
    margin: 20px 0 100px;
}

.screen-reader-text {
    border: 0;
    clip: rect(1px, 1px, 1px, 1px);
    -webkit-clip-path: inset(50%);
    clip-path: inset(50%);
    height: 1px;
    margin: -1px;
    overflow: hidden;
    padding: 0;
    position: absolute !important;
    width: 1px;
    word-wrap: normal !important;
}

.screen-reader-text:focus {
    background-color: #eee;
    clip: auto !important;
    -webkit-clip-path: none;
    clip-path: none;
    color: #444;
    display: block;
    font-size: 1em;
    height: auto;
    left: 5px;
    line-height: normal;
    padding: 15px 23px 14px;
    text-decoration: none;
    top: 5px;
    width: auto;
    z-index: 100000;
    /* Above WP toolbar. */
}

.page-numbers {
    display: flex;
    justify-content: center;
}

.page-numbers li {
    margin: 0 5px;
}
.page-numbers li a {
    color: #FFF;
}

.page-numbers li .page-numbers {
    border: 1px solid #FFF;
    display: flex;
    align-items: center;
    justify-content: center;
    width: 42px;
    height: 42px;
}

.page-numbers li .page-numbers.current {
    background-color: #b7975a;
    border-color: #b7975a;
}

.page-numbers li a.page-numbers:hover {
    background-color: #b7975a;
    border-color: #b7975a;
    opacity: 1;
}

.page-numbers li .page-numbers.prev,
.page-numbers li .page-numbers.next,
.page-numbers li .page-numbers.dots {
    border: none;
    width: auto;
}

.page-numbers li .page-numbers.prev:hover,
.page-numbers li .page-numbers.next:hover {
    background-color: inherit;
    text-decoration: underline;
}

.page-numbers li .page-numbers.prev {
    margin-right: 15px;
}

.page-numbers li .page-numbers.next {
    margin-left: 15px;
}

@media print, screen and (max-width: 768px) {
    .pagination {
        margin: 16vw 0 26vw;
    }

    .page-numbers {
        font-size: 14px;
    }

    .page-numbers li {
        margin: 0 1.3vw;
    }

    .page-numbers li .page-numbers {
        width: 10vw;
        height: 10vw;
    }

    .page-numbers li .page-numbers.prev {
        margin-right: 1.3vw;
    }

    .page-numbers li .page-numbers.next {
        margin-left: 1.3vw;
    }

    .event-foote {
        margin-top: 22.4vw;
    }

}

.btn-wrap .btn-box a {
    border-color: #3B87FF;
    color: #3B87FF;
}
.btn-wrap .btn-box a::after {
    background-image: url(../images/btn-arrow-h_blue.svg);
}

.btn-wrap .btn-box a:hover {
    border-color: #FFF;
    background-color: #FFF;
    color: #160064;
}
.btn-wrap .btn-box a:hover::after {
    background-image: url(../images/btn-arrow-d_blue.svg);
}
@media print, screen and (max-width: 768px) {
    .btn-wrap .btn-box {
        width: 75.5vw;
    }
}
