@charset "utf-8";

h1 {
    font-family: 'Questrial', sans-serif;
    font-size: 36px;
    font-weight: 400;
    letter-spacing: 0.1em;
    padding-left: 40px;
    max-width: 1600px;
    margin-left: auto;
    margin-right: auto;
    padding-top: 72px;
}

h1::after {
    content: '';
    display: block;
    width: 230px;
    height: 2px;
    background-color: #00213B;
}

.workshop-wrap {
    padding-left: 40px;
    padding-right: 40px;
    padding-top: 72px;
    margin-left: auto;
    margin-right: auto;
    max-width: 1600px;
}

/* スライドショーの設定 */

.slider {
    width: 90%;
    margin: 0 auto;
}

.slider img {
    width: 100%;
    height: auto;
    flex-shrink: 0;
    object-fit: cover;
}

.slider .slick-slide {
    margin:0 10px;
}

/* 矢印の設定 */
/* 戻る、次へ矢印の位置 */

.slick-prev,
.slick-next {
    position: absolute;/*絶対配置にする*/
    top: 42%;
    cursor: pointer;/*マウスカーソルを指マークに*/
    outline: none;/*クリックをしたら出てくる枠線を消す*/
    border-top: 2px solid #00213B;/*矢印の色*/
    border-right: 2px solid #00213B;/*矢印の色*/
    height: 13px;
    width: 13px;
}

.slick-prev {/*戻る矢印の位置と形状*/
    left: -1.5%;
    transform: rotate(-135deg);
}

.slick-next {/*次へ矢印の位置と形状*/
    right: -1.5%;
    transform: rotate(45deg);
}

/*ドットナビゲーションの設定*/

.slick-dots {
    text-align:center;
	margin:20px 0 0 0;
}

.slick-dots li {
    display:inline-block;
	margin:0 5px;
}

.slick-dots button {
    color: transparent;
    outline: none;
    border: none;
    width:8px;/*ドットボタンのサイズ*/
    height:8px;/*ドットボタンのサイズ*/
    display:block;
    border-radius:50%;
    background:#d9d9d9;/*ドットボタンの色*/
}

.slick-dots .slick-active button{
    background:#00213B;/*ドットボタンの現在地表示の色*/
}

.workshop-container {
    margin-top: 96px;
    margin-left: auto;
    margin-right: auto;
    max-width: 920px;
    width: fit-content;
}

.hishigata {
    width: 16px;
    height: 16px;
    background-image: url(../img/exhibitions/hishigata.png);
    background-size: contain;
    background-position: center center;
    background-repeat: no-repeat;
}

.title h2 {
    font-size: 18px;
    font-weight: 600;
    margin-left: 16px;
}

.title {
    display: flex;
    align-items: center;
}

.contents {
    margin-top: 72px;
}

.contents li {
    display: flex;
    max-width: 920px;
    margin-top: 48px;
    padding-left: 20px;
    padding-right: 20px;
}

.contents li:first-child {
    margin-top: 0px;
}

.contents li .year {
    flex: 1;
    margin-right: 48px;
}

.contents li .text {
    flex: 2;

}

.contents li .text a {
    text-decoration: underline;
    overflow-wrap: anywhere;
}

.footer {
    margin-top: 128px;
}

@media (max-width: 800px) {
    h1 {
        padding-top: 32px;
        font-size: 20px;
    }

    h1::after {
        width: 125px;
        height: 1px;
    }

    .workshop-wrap {
        padding-left: 20px;
        padding-right: 20px;
        padding-top: 48px;
    }

    .workshop-container {
        margin-top: 48px;
    }

    .slick-prev,
.slick-next {
    border-top: 2px solid #00213B;/*矢印の色*/
    border-right: 2px solid #00213B;/*矢印の色*/
    height: 10px;
    width: 10px;
}

.slick-dots button {
    width:6px;/*ドットボタンのサイズ*/
    height:6px;/*ドットボタンのサイズ*/
}

.slick-dots {
    margin-top: 10px;
}

    .hishigata {
        width: 14px;
        height: 14px;
    }

    .title h2 {
        font-size: 16px;
        font-weight: 500;
        margin-left: 8px;
    }

    .contents {
        margin-top: 24px;
    }

    .contents li {
        flex-direction: column;
        margin-top: 32px;
    }

    .contents li:first-child {
        margin-top: 0px;
    }

    .contents li .year {
        flex: 1;
        margin-right: 0px;
        font-size: 14px;
        font-weight: 600;
    }

    .contents li .text {
        margin-top: 16px;
        flex: 2;
        font-size: 14px;
    }

    .footer {
        margin-top: 48px;
    }
}