@charset "UTF-8";
/* Index CSS Document */

.pl_mv-area {
    width: 100%;
    height: 100%;
    padding: 0 40px 35px;
    box-sizing: border-box;
}

.pl_mv {
    position: relative;
    width: 100%;
    height: 100%;
    background-size: cover;
    background-position: center center;
    background-repeat: no-repeat;
}

.pl_sitename {
    position: absolute;
    bottom: 95px;
    left: 50px;
}

.pl_sitename>span {
    display: table;
    height: 65px;
    font-size: 43px;
    font-weight: 500;
    letter-spacing: 0.14em;
    line-height: 1;
    padding: 0 40px 0 20px;
    background-color: #fff;
    margin-bottom: 10px;
}

.pl_sitename>span:last-child {
    margin-bottom: 0;
}

.pl_sitename>span>* {
    display: table-cell;
    vertical-align: middle;
}

@media screen and (max-width: 375px) {
    .pl_mv-area {
        padding: 0 10px 10px;
        height: 525px;
    }

    .pl_sitename {
        left: 15px;
        bottom: 40px;
    }

    .pl_sitename>span {
        height: 40px;
        font-size: 24px;
        padding: 0 30px 0 20px;
    }
}

/*** news ***/
.pl_news {
    padding: 35px 0 55px;
    background-color: #FDF9F8;
}

.pl_news .p_ttl--wrap {
    padding: 15px 0 0;
}

.pl_news .p_ttl--section {
    margin-bottom: 30px;
}

.pl_news-area {
    width: 825px;
    margin-bottom: 30px;
}

@media screen and (max-width: 768px) {
    .pl_news {
        padding: 40px 0 25px;
    }

    .pl_news .p_ttl--wrap {
        width: 100%;
        padding: 0;
    }

    .pl_news .p_ttl--section {
        text-align: center;
        margin-bottom: 30px;
    }

    .pl_news-area {
        width: 100%;
        margin-bottom: 25px;
    }

    .pl_news .p_link-txt {
        display: block;
        text-align: right;
    }

    .l_news--item--link,
    .l_news--item a {
        flex-direction: column;
        gap: 8px;
    }

    .l_news--item--date {
        width: 100%;
        margin-right: 0;
        margin-bottom: 0;
    }

    .l_news--item--inner-box {
        width: 100%;
        margin-top: 0;
        gap: 8px;
    }
}

.l_news--item--link {
    display: flex;
    align-items: flex-start;
    gap: 20px;
}

.l_news--item a {
    position: relative;
    display: flex;
    align-items: flex-start;
    gap: 20px;
}

.l_news--item--inner-box {
    display: flex;
    flex-direction: column;
    gap: 5px;
    flex: 1;
}

.l_news--item--cat-wrap {
    display: flex;
    flex-wrap: wrap;
    gap: 5px;
}

.l_news--item--cat {
    display: inline-block;
    padding: 3px 15px;
    background-color: #fff;
    border: 1px solid #707070;
    color: #333;
    font-size: 12px;
    font-weight: 400;
    border-radius: 20px;
    white-space: nowrap;
    line-height: 1.2;
}

.l_news--item--ttl {
    width: auto !important;
    padding-left: 0 !important;
    font-size: 15px;
    font-weight: 700;
}

/* News List Wrapper for index */
.pl_news-list-wrap {
    width: 100%;
}

.p_link-btn-wrap {
    margin-top: 30px;
    display: flex;
    justify-content: center;
}

/* Category Filter Buttons */
.p_cat-list {
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
    margin-top: 20px;
    margin-bottom: 25px;
    width: 100%;
    justify-content: flex-start;
}

.cat-btn {
    display: inline-block;
    padding: 6px 18px;
    background-color: #fff;
    border: 1px solid #EE7C00;
    color: #EE7C00;
    font-size: 16px;
    font-weight: bold;
    border-radius: 20px;
    transition: all 0.3s ease;
    text-decoration: none;
    line-height: 1.2;
}

.cat-btn:hover,
.cat-btn.active {
    background-color: #EE7C00;
    color: #fff;
}

/* Single Page Category Label positioning */
.pl_ttl--detail .l_news--item--cat {
    display: block;
    width: fit-content;
    margin-bottom: 15px;
}

/*** top event ***/
#top-event {
    padding: 30px 0 80px;
}

.pl_top-event a {
    display: block;
}

/*** exhibition ***/
.pl_exhibition {
    /*padding: 0 0 80px;*/
    padding: 80px 0;
}

.pl_exhibition .p_ttl--section {
    text-align: center;
    margin-bottom: 30px;
}

.pl_exhibition--item {
    display: block;
    background-size: cover;
    background-position: center center;
    background-repeat: no-repeat;
    /*margin-bottom: 45px;*/
}

.pl_exhibition--item::before {
    padding-top: 42.727272%;
}

.pl_exhibition .p_btn {
    margin: 0 auto;
}

@media screen and (max-width: 375px) {
    .pl_exhibition {
        padding: 45px 0;
    }



    .pl_exhibition--item::before {
        /*padding-top: 88.0597014%;*/
        padding-top: 73.73134328%
    }
}


/* ----- 背景用の動画ファイル ----- */
.wrap {
    position: relative;
    height: 80vh;
}

.video-bg {
    position: relative;
    width: 100%;
    padding-top: 56.25%;
    overflow: hidden;
}

.video-bg iframe {
    display: block;
    position: absolute;
    background-position: center center;
    top: -60px;
    right: 0;
    width: 100% !important;
    height: 100% !important;
    z-index: -10;
}

.background {
    display: none;
}

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

    .background {
        display: block;
        background-size: cover;
        position: relative;
        z-index: -2;
        width: 100%;
        height: 300px;
        margin: 0 auto;
        overflow: hidden;
    }

    .background-wrap {
        position: relative;
        top: -96px;
        left: 0;
        z-index: -1;
        width: 100%;
        height: 100%;
        overflow: hidden;
    }

    .background-movie {
        display: flex;
        justify-content: center;
        overflow: hidden;
    }

    #background-movie-player {
        position: absolute;
        width: 100%;
        height: 400px;
        flex: none;
        overflow: hidden;
    }
}


/*** event ***/
.pl_event {
    padding: 0 0 80px;
}

.pl_event .p_ttl--section {
    text-align: center;
    margin-bottom: 30px;
}

.l_event {
    margin-bottom: 45px;
}

.pl_event-area .p_btn {
    margin: 0 auto;
}

@media screen and (max-width: 375px) {
    .pl_event {
        padding: 45px 0 40px;
    }
}

/*** about ***/
#about {
    margin-bottom: 80px;
}

#about .p_ttl--section {
    text-align: center;
    margin-bottom: 30px;
}

#about .about-item {
    width: 360px;
        margin-bottom: 50px
}

#about .about-item dt {
    font-size: 18px;
    font-weight: bold;
    padding-top: 20px;
    padding-bottom: 20px;
    position: relative;
}

#about .about-item dt:after {
    content: '';
    position: absolute;
    display: block;
    width: 8px;
    height: 8px;
    border-bottom: 2px solid #000;
    border-right: 2px solid #000;
    transform: rotate(-45deg);
    right: 15px;
    top: 25px;
}

@media screen and (max-width: 768px) {
    #about .about-item {
        width: 100%;
        margin-bottom: 25px;
    }

    #about .about-item dt {
        font-size: 16px;
        padding-top: 18px;
        padding-bottom: 18px;
    }
}

/*** time,price***/
#facility {
    margin-bottom: 80px;
}

.pl_facility--item dt {
    font-size: 20px;
    font-weight: bold;
    border-bottom: 2px solid #E2E2E2;
    line-height: 1;
    padding-bottom: 8px;
    padding-left: 15px;
    position: relative;
    box-sizing: border-box;
    margin-bottom: 25px;
}

.pl_facility--item dt::before {
    content: "";
    display: block;
    background-color: #F58A32;
    width: 5px;
    height: 22px;
    position: absolute;
    top: 0;
    left: 0;
}

.pl_facility--item dd table {
    width: 100%;
    border-collapse: collapse;
    text-align: left;
    margin-bottom: 20px;
}

.pl_facility--item dd table th {
    width: 33.3%;
    border: 1px solid #E2E2E2;
    background-color: #F5F5F5;
    padding: 15px;
    box-sizing: border-box;
}

.pl_facility--item dd table td {
    border: 1px solid #E2E2E2;
    padding: 15px;
    box-sizing: border-box;
}

.data-inner>.p_btn {
    margin: 40px auto;
}

.pl_opening-hours--item {
    width: 100%;
}

.pl_opening-hours--item ul li {
    padding-bottom: 20px;
    border-bottom: 1px solid #E3E3E3;
    margin-bottom: 20px;
}

.pl_opening-hours--item ul li cite {
    display: block;
    font-size: 18px;
    font-weight: bold;
    margin-bottom: 10px;
    line-height: 1;
}

.pl_opening-hours--item ul li cite.parking {
    color: #F58A32;
}

.pl_opening-hours--item ul li p {
    font-size: 16px;
}

.pl_access--item {
    width: 460px;
}

.pl_access--item h3 {
    
    margin-bottom: 35px;
    font-weight: bold;
    line-height: 1;
    letter-spacing: 0;
}

.data-inner {
    padding-left: 40px;
    padding-right: 40px;
    box-sizing: border-box;
    margin-bottom: 60px;
    width: 100%;
}

.pl_access--item ul li {
    padding-bottom: 20px;
    border-bottom: 1px solid #E3E3E3;
    margin-bottom: 20px;
}

.pl_access--item ul li:last-child {
    border: none;
}

.pl_access--item ul li cite {
    display: block;
    font-size: 16px;
    font-weight: bold;
    margin-bottom: 10px;
    line-height: 1;
}

.pl_access--item ul li cite.parking {
    color: #F58A32;
}

.pl_access--item ul li p {
    font-size: 16px;
}

.access--flow {
    max-width: 650px;
    margin: 40px auto;
}

.access--flow img {
    width: 100%;
}


/*** access ***/
#access {
    padding: 90px 0;
    margin-top: -90px;
}

#access .p_ttl--section {
    text-align: center;
    margin-bottom: 30px;
}

.access--item .img {
    width: 542px;
}

.access--item .txt-area {
    width: 488px;
}

.access--item--ttl {
    font-size: 25px;
    font-weight: 700;
    line-height: 1;
    margin-bottom: 30px;
}

.access--item--txt p {
    font-size: 16px;
    font-weight: 700;
    line-height: 1.45;
    margin-bottom: 15px;
}

.access--item--txt p:nth-child(2) {
    margin-bottom: 35px;
}

.mgnbtm10 {
    margin-bottom: 10px !important;
}

@media screen and (max-width: 375px) {
    .data-inner {
        padding-left: 0;
        padding-right: 0;
    }
}

@media screen and (max-width: 375px) {
    #access {
        padding: 60px 0 90px;
        margin-top: -60px;
    }

    .access--item .img {
        width: 100%;
        margin-bottom: 25px;
    }

    .access--item .txt-area {
        width: 100%;
    }

    .access--item--ttl {
        font-size: 18px;
    }

    .access--item--txt p {
        font-size: 16px;
    }
}

/* 追加CSS */
.pl_exhibition,
.pl_event,
.pl_about,
.pl_facility {
    background-color: #FFF;
}

.mgn-top {
    margin-top: 20px;
}













/* Top Page 2-Column Layout */
.top_2col_wrap {
    display: flex;
    justify-content: space-between;
    align-items: flex-start;
    margin-top: 60px;
    /* Adjust spacing from News */
}

.top_left_col {
    width: 60%;
}

.top_right_col {
    width: 25%;
}

/* Adjust Section Styles inside Columns */
.top_left_col .pl_exhibition,
.top_left_col .pl_event {
    padding: 0 0 60px;
    /* Adjust padding */
}

/* Event 2x2 Grid */
.l_event {
    flex-wrap: wrap;
    justify-content: space-between;
}

.l_event>* {
    width: 48%;
    /* Fit 2 items per row */
    margin-bottom: 20px;
}

.l_event-item .aspect {
    margin-bottom: 10px;
}

/* Sidebar Styles */
.side_widget {
    margin-bottom: 40px;
    background: #fff;
    /* Optional styling */
}

.side_widget_title {
    font-size: 18px;
    font-weight: bold;
    border-bottom: 2px solid #E2E2E2;
    line-height: 1;
    padding-bottom: 8px;
    padding-left: 15px;
    position: relative;
    box-sizing: border-box;
    margin-bottom: 25px;
}

.side_widget_title::before {
    content: "";
    display: block;
    background-color: #F58A32;
    width: 5px;
    height: 20px;
    position: absolute;
    top: 0;
    left: 0;
}

/* Responsive */
@media screen and (max-width: 768px) {
    .top_2col_wrap {
        display: block;
    }

    .top_left_col,
    .top_right_col {
        width: 100%;
    }

    .l_event>* {
        width: 100%;
        /* Back to 1 column for SP */
    }

    /* Ensure widgets have spacing on mobile */
    .side_widget {
        margin-top: 40px;
    }
}

/* Fix Exhibition Button Margin */
.pl_exhibition .p_btn {
    margin-top: 40px;
}

/* Fix Calendar Widget Layout - Restore Grid */
.side_widget .fc-header {
    margin-bottom: 10px;
}

@media screen and (max-width: 768px) {

    .side_widget .fc-header,
    .side_widget .fc-header tbody,
    .side_widget .fc-header tr,
    .side_widget .fc-header td {
        display: block !important;
        width: 100% !important;
        box-sizing: border-box;
    }

    .side_widget .fc-header td {
        padding: 5px 0 !important;
    }

    .side_widget .fc-header-left,
    .side_widget .fc-header-right,
    .side_widget .fc-header-center {
        text-align: center !important;
    }

    .pl_facility--item dd table {
        font-size: 0.8rem;
}

.flex {
    justify-content: space-around;
}


}

.side_widget .fc-toolbar select,
.side_widget .fc-header select {
    width: 100%;
    height: 48px;
    border: 1px solid #969A9C;
    border-radius: 5px;
    background-color: #fff;
    padding: 0 10px;
    box-sizing: border-box;
    font-size: 15px;
    max-width: 100% !important;
}

/* Ensure buttons are visible and balanced */
.side_widget .fc-button {
    height: 36px;
    line-height: 34px;
    padding: 0 15px;
}


.eo-fullcalendar-reset div, .eo-fullcalendar-reset footer, .eo-fullcalendar-reset h2, .eo-fullcalendar-reset header, .eo-fullcalendar-reset table, .eo-fullcalendar-reset tbody, .eo-fullcalendar-reset td, .eo-fullcalendar-reset tfoot, .eo-fullcalendar-reset th, .eo-fullcalendar-reset thead, .eo-fullcalendar-reset tr {
    font-size: 0.8rem;
}



/* カレンダー内のイベントタイトルの長さを制限 */
.fc-view .fc-title {
    display: inline-block;
    max-width: 90%;          /* 枠に対しての幅 */
    overflow: hidden;        /* はみ出た部分を隠す */
    white-space: nowrap;     /* 改行させない */
    text-overflow: ellipsis; /* 語尾を「...」にする */
    
    font-size: 0.7rem !important;
}

.fc-toolbar h2 {
    
    font-size: 1.0rem !important;
}

/* モバイルで見づらい場合はこちらも調整 */
.fc-event {
    padding: 1px 2px;
}

.fc-ltr .fc-basic-view .fc-day-number {
    font-size: 0.8rem;
}



/* Tippyの箱自体のスタイル */
.tippy-box[data-theme~='google'] {
    background-color: #ffffff !important;
    color: #3c4043 !important;
    box-shadow: 0 1px 3px rgba(60,64,67,0.3), 0 4px 8px 3px rgba(60,64,67,0.15) !important;
    border-radius: 8px !important;
    border: 1px solid #dadce0 !important;
}
.tippy-content {
    padding: 12px !important;
}
.gcal-tooltip {
    max-width: 200px;
    text-align: left;
    line-height: 1.4;
}
.gcal-date {
    font-size: 11px;
    color: #70757a;
    margin-bottom: 4px;
}
.gcal-title {
    font-size: 14px;
    font-weight: bold;
    color: #1a73e8; /* Googleっぽく少し青に */
}

.tippy-box[data-theme~='google-white'] {
    background-color: white !important;
    color: #3c4043 !important;
    box-shadow: 0 4px 12px rgba(0,0,0,0.2) !important;
    border-radius: 8px !important;
    border: 1px solid #dadce0 !important;
    z-index: 9999 !important; /* 他の要素より手前に出す */
}

.fc-more {
    color: #70757a !important; /* Google風のグレー */
    font-size: 11px !important;
    font-weight: 500 !important;
    padding: 2px 5px !important;
    text-decoration: none !important;
}

.fc-more:hover {
    background-color: #f1f3f4 !important;
    border-radius: 4px;
}

/* ポップアップ（+マーククリック時）の枠を綺麗にする */
.fc-more-popover {
    box-shadow: 0 1px 3px rgba(60,64,67,0.3), 0 4px 8px 3px rgba(60,64,67,0.15) !important;
    border-radius: 8px !important;
    border: 1px solid #dadce0 !important;
}

.fc-more-popover .fc-header {
    background: #fff !important;
    border-bottom: 1px solid #dadce0 !important;
    padding: 8px !important;
    border-radius: 8px 8px 0 0 !important;
}