@charset "UTF-8";

/*TOPPAGE*/

/*---------------------------------
Theme Name: 香川大学博物館
Description: PCファースト
Author:
Author URI:
Version: 202211
----------------------------------*/

/* container */

.container {
    background: #f0f0f0;
}

.inner {
    width: 100%;
    max-width: 1200px;
    margin: 0 auto;
}

.top-view {
    width: 100%;
    padding: 20px 0;
    background: #645a8c;
}

.top-view .inner {
    display: flex;
    align-items: stretch;
    justify-content: space-between;
}

/* slider */
.slider {
    width: 66%;
    max-width: 790px;
    /*height: 100%;*/
    overflow: hidden;
}

.slider .slick-arrow {
    position: absolute;
    bottom: 12px;
    width: 30px;
    height: 30px;
    overflow: hidden;
    z-index: 9;
}

.slider .slick-arrow::before {
    content: "";
    display: block;
    width: 30px;
    height: 30px;
    border: 2px solid #fff;
    box-sizing: border-box;
}

.slider .slick-prev.slick-arrow {
    left: 33%;
}

.slider .slick-prev.slick-arrow::before {
    background: url(../images/top/icon_slide_arrow.png) no-repeat center;
    background-size: 20px 20px;
}

.slider .slick-next.slick-arrow {
    right: 33%;
}

.slider .slick-next.slick-arrow::before {
    transform: rotateZ(-180deg);
    background: url(../images/top/icon_slide_arrow.png) no-repeat center;
    background-size: 20px 20px;
}

.slide-item {
    position: relative;
    background: #fff;
}

.slide-item .view-img {
    padding: 8px;
}

/* slide-dots */
.slider .slide-dots {
    position: absolute;
    bottom: 0;
    width: 100%;
    max-width: 790px;
    height: 55px;
    margin: 0 auto;
    line-height: 55px;
    text-align: center;
    background-color: rgba(0, 0, 0, 0.6);
}

.slider .slide-dots li {
    position: relative;
    display: inline-block;
    width: 10px;
    height: 10px;
    margin: 0 5px;
    padding: 0;
    cursor: pointer;
}

.slider .slide-dots li button {
    font-size: 0;
    line-height: 0;
    display: block;
    width: 20px;
    height: 20px;
    padding: 5px;
    cursor: pointer;
    color: transparent;
    border: 0;
    outline: none;
    background: transparent;
}

.slide-dots li button:before {
    content: "";
    position: absolute;
    top: 0;
    left: 0;
    width: 6px;
    height: 6px;
    display: inline-block;
    background-color: #fff;
}

.slider .slide-dots li.slick-active button:before {
    background-color: #e64c65;
}

/* top-calendar */
.top-calendar {
    width: 33%;
    max-width: 390px;
    padding: 20px;
    text-align: left;
    font-size: 1.5rem;
    background-color: #5e5867;
}

.top-calendar .fc .fc-view-harness:has(.fc-daygrid) {
    height: 252px !important;
}

.top-calendar .fc .fc-view-harness:has(.fc-list) {
    height: 355px !important;
}

.top-calendar .red-tag {
    display: inline-block;
    padding: 3px 10px;
    color: #fff;
    background: #e1667a;
}

.top-calendar .g-calendar {
    width: 100%;
    height: 425px;
    padding: 1em 0.5em;
    background: #fff;
    overflow: hidden;
}

.top-calendar dl {
    display: flex;
    flex-wrap: wrap;
    margin-top: 15px;
    color: #fff;
}

.top-calendar dl dt {
    width: 20%;
    font-weight: bold;
}

.top-calendar dl dd {
    width: 80%;
}

.top-calendar dl+p {
    font-size: 1.4rem;
    color: #fff;
}

.top-calendar table thead th {
    width: auto;
}

/* top-info */

.top-info {
    display: flex;
    justify-content: space-between;
    align-items: center;
    width: 100%;
    max-width: 1200px;
    margin: 30px auto 0;
    padding: 2em 0;
    font-size: 1.5rem;
    border: 2px solid #d14343;
    background-color: #ffeeee;
}

.top-info h2 {
    width: 15%;
    color: #d14343;
    font-weight: bold;
}

.top-info h2 img {
    width: 20px;
    height: auto;
    margin: 0 5px 3px 0;
}

.top-info ul {
    width: 90%;
    /*padding: 0 100px 0 70px;*/
    text-align: left;
    /*border-left: 1px solid #d14343;*/
}

.top-info .kTypoGraphy {
    padding: 0 0 0 70px;
    border-left: 1px solid #d14343;
    width: 85%;
}

.top-info .kTypoGraphy p {
    text-align: left;
    width: 90%;
}

.top-info .kTypoGraphy ul:not([class]) {
    margin-top: 0px;
}

.top-info ul li {
    margin-top: 1em;
}

.top-info a {
    color: #d14343;
    text-decoration: underline;
}

.top-info strong {
    color: #d14343;
    font-weight: normal;
}

/* content */

.content {
    width: 100%;
    max-width: 100%;
    text-align: center;
    padding-bottom: 0px;
}

.content h2 {
    margin: 0;
    padding: 0;
    color: #282828;
    font-size: 4.8rem;
    font-weight: bold;
    font-family: 'Barlow', sans-serif;
    background-color: transparent;
    border: none;
}

.content h2 span {
    display: block;
    font-size: 1.8rem;
}

.content p {
    margin-top: 20px;
}

/* event-area */

.event-area {
    width: 100%;
    max-width: 1200px;
    margin: 0 auto;
    padding-bottom: 100px;
}

.event-area h2 {
    margin-top: 80px;
}


.event-box {
    position: relative;
    display: flex;
    justify-content: flex-end;
    margin: 40px auto 0;
    padding: 80px 20px 20px;
    text-align: left;
    background: #fff;
}

.event-tag {
    position: absolute;
    top: 0;
    left: 0;
}

.event-txt {
    width: 67%;
    max-width: 770px;
}

@media only screen and (min-width:1025px) {
    .event-txt {
        min-height: 410px;
    }
}

.event-txt h3 {
    margin: 20px 0 0;
    padding: 0;
    font-size: 3.7rem;
    font-weight: bold;
    border: none;
}

.event-txt .event-info {
    display: flex;
    flex-wrap: wrap;
    margin: 30px 0 0;
    font-weight: bold;
}

.event-txt .event-info dt,
.event-txt .event-organizer dt {
    width: 10%;
}

.event-txt .event-info dd,
.event-txt .event-organizer dd {
    width: 90%;
}

.event-txt .event-organizer {
    display: flex;
    flex-wrap: wrap;
    margin-top: 30px;
    padding-top: 20px;
    font-size: 1.6rem;
    border-top: 1px solid #d1d1d1;
}

.event-txt .day {
    margin: 40px 0 0;
    text-align: right;
}

.event-img {
    position: absolute;
    left: 0;
    top: 80px;
    width: 100%;
    max-width: 410px;
    padding: 0 0 0 80px;
}

.event-img img {
    max-width: 260px;
    height: auto;
}

.event-img p.pdf-link {
    margin-top: 0;
}


/* access-area */

.access-area {
    position: relative;
    width: 100%;
    padding: 100px 0;
    background: #fff;
}

.access-area .inner {
    text-align: left;
    display: flex;
    flex-wrap: nowrap;
}

.access-area .inner .map-text {
    margin-right: 20px;
}

.access-area .inner .map {
    /* position: absolute;
    top: 110px;
    right: 0; 
    width: 760px; */
    width: 665px;
}

/* about-area */

.about-area {
    position: relative;
    width: 100%;
    height: 710px;
    padding-top: 312px;
    color: #fff;
    text-align: left;
    background: linear-gradient(180deg, rgba(0, 0, 0, 0) 31%, rgba(0, 0, 0, 0.6) 31%), url(../images/top/bg_about.jpg) no-repeat center 0;
    background-size: cover;
}

.about-area .inner {
    display: flex;
    justify-content: space-around;
}

.about-area h2 {
    color: #fff;
    max-width: 294px;
}

.about-area .about-txt {
    max-width: 770px;
    margin: 0 20px;
}

/* introduction-area */

.introduction-area {
    display: flex;
    justify-content: center;
    max-width: 1200px;
    margin: 100px auto 0;
}

.intro-box {
    width: 460px;
    margin: 0 20px;
}

.intro-box h2 {
    font-size: 2.4rem;
    color: #645a8c;
}

.intro-box dl {
    display: flex;
    flex-direction: column;
    margin-top: 30px;
    height: 460px;
    background: #fff;
    box-shadow: 0px 5px 15px 0px rgba(0, 0, 0, 0.1);
}

.intro-box dl dt {
    order: 2;
    margin: 20px 0 10px;
    padding: 0 30px;
    font-size: 2rem;
    color: #645a8c;
    font-weight: bold;
}

.intro-box dl dd.i-img {
    order: 1;
    height: 278px;
}

.intro-box dl dd.i-txt {
    order: 3;
    padding: 0 30px;
}

.intro-box dl dd.type02+dd.i-txt {
    text-align: left;
}

.type01 {
    background: #ececec;
}

.i-img.type02 {
    padding: 20px 40px;
    background: #645a8c;

}

.i-img.type02 a {
    display: flex;
    align-items: center;
    justify-content: space-around;
    color: #fff;
}

.i-img.type02 span {
    display: inline-block;
    font-size: 2rem;
    font-weight: bold;
    text-align: left;
}

/* bn-area */
.bn-area {
    display: flex;
    justify-content: center;
    flex-wrap: wrap;
    margin: 100px auto 0;
    background-color: #E3E3E3;
    padding: 100px 0px;
}

.bn-area li {
    width: 580px;
}


/* ------------------------------------------------------
 sp設定
-------------------------------------------------------*/

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


    .content {
        padding: 0 0 100px;
    }

    .top-view .inner {
        display: block;
    }

    .top-view {
        padding: 20px 0 0;
    }


    /* slider */

    .slider {
        width: 90%;
        height: 41vh;
        margin: 0 auto 20px;
    }

    .slider .slick-prev.slick-arrow {
        left: 5%;
    }

    .slider .slick-next.slick-arrow {
        right: 5%;
    }

    .slide-item .view-img {
        height: 35vh;
    }

    .slide-item .view-img img {
        object-fit: cover;
        width: 100%;
        height: 100%;
    }


    /* top-calendar */

    .top-calendar {
        width: 100%;
        max-width: 100%;
    }

    .top-calendar .g-calendar {
        height: auto;
    }

    .top-calendar .g-calendar .fc-daygrid table thead th,
    .top-calendar .g-calendar .fc-daygrid table tbody td {
        display: table-cell;
    }

    .top-calendar .fc .fc-view-harness:has(.fc-daygrid),
    .top-calendar .fc .fc-view-harness:has(.fc-list) {
        height: 355px !important;
    }

    /* top-info */

    .top-info {
        display: block;
        width: 90%;
    }

    .top-info h2 {
        width: auto;
    }

    .top-info ul {
        width: auto;
        border: none;
        padding: 0 20px 20px;
    }

    .top-info .kTypoGraphy {
        padding: 0 0 0 0;
        border-left: none;
        margin-top: 30px;
    }

    .top-info .kTypoGraphy p {
        text-align: left;
        width: 100%;
        padding: 0 20px 20px;
    }

    .top-info .kTypoGraphy ul:not([class]) {
        margin-top: 0px;
    }

    /* event-area */

    .event-area {
        padding: 0 5% 50px;
    }

    .event-area h2 {
        margin-top: 50px;
        text-align: left;
        line-height: 1.5;
    }

    .event-box {
        display: block;
        padding: 0;
    }

    .event-tag {
        display: block;
        width: 100%;
    }

    .event-txt {
        width: auto;
        padding: 50px 10px 10px;
    }

    .event-img {
        position: static;
        padding: 0;
        max-width: 100%;
        text-align: center;
    }

    .event-txt h3 {
        font-size: 2.8rem;
    }

    .event-txt .event-info dt,
    .event-txt .event-organizer dt {
        width: 20%;
    }

    .event-txt .event-info dd,
    .event-txt .event-organizer dd {
        width: 80%;
    }

    /* access-area */

    .access-area {
        padding: 50px 5%;
    }

    /* .access-area .inner .map{
        position: static;
        width: auto;
    } */

    .access-area .inner {
        text-align: left;
        display: flex;
        flex-wrap: wrap;
    }

    .access-area .inner .map-text {
        margin-right: 0px;
    }

    .access-area .inner .map-text .more-btn {
        margin-top: 20px;
    }

    .access-area .inner .map {
        width: 100%;
        margin-top: 20px;
    }

    /* about-area */

    .about-area {
        height: auto;
        padding: 150px 5% 50px;
        background: linear-gradient(180deg, rgba(0, 0, 0, 0) 15%, rgba(0, 0, 0, 0.6) 15%), url(../images/top/bg_about.jpg) no-repeat center 0;
        background-size: cover;
    }

    .about-area .inner {
        display: block;
    }

    .about-area h2 {
        max-width: 100%;
        padding: 0 10px;
    }

    .about-area .about-txt {
        max-width: 100%;
        margin: 0 auto;
    }

    .about-area .about-txt p {
        padding: 0 10px;
    }

    /* introduction-area */

    .introduction-area {
        display: block;
        margin: 20px auto;
    }

    .intro-box {
        width: 100%;
        margin: 40px auto 0;
        padding: 0 5%;
    }

    .intro-box dl {
        margin-top: 20px;
        height: auto;
        padding-bottom: 30px;
    }

    .intro-box dl dd.i-img {
        height: auto;
    }

    /* bn-area */

    .bn-area li {
        width: 90%;
        margin: 0 auto;
    }

    .i-img.type02 a {
        display: block;
    }











}