.sp_br {
    display: none;
}
/* スライダー */
.slider {
    position: relative;
    width: 100%;
    overflow: hidden;
}

.slider-container {
    position: relative;
    width: 100%;
    height: 0;
    padding-bottom: 56.25%; /* 16:9のアスペクト比を維持 */
}

.slider-item {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    opacity: 0;
    transition: opacity 1s ease-in-out;
}

.slider-item.active {
    opacity: 1;
}

.slider-item img,
.slider-item picture {
    width: 100%;
    height: 100%;
    display: block;
}

.slider-item picture img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

/* ページネーションドット */
.slider-dots {
    position: absolute;
    bottom: 20px;
    right: 45px;
    display: flex;
    gap: 10px;
}

.dot {
    width: 12px;
    height: 12px;
    border-radius: 50%;
    background-color: rgba(255, 255, 255, 0.8);
    border: 2px solid transparent;
    cursor: pointer;
    transition: all 0.3s ease;
}

.dot.active {
    background-color: transparent;
    border-color: rgba(255, 255, 255, 0.8);
}

.dot:hover {
    transform: scale(1.2);
}

/* セクション共通の背景色設定 */
section:nth-of-type(odd) {
    background-color: #ffffff;
}

section:nth-of-type(even) {
    background-color: #e3e4df;
}

/* aboutセクション */
.about-section {
    padding: 0;
}

.about-container {
    display: flex;
    gap: 0;
    align-items: stretch;
    max-width: 100%;
}

.about-image {
    flex: 0 0 50%;
}

.about-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
}

.about-content {
    flex: 1;
    padding: 100px 118px;
    display: flex;
    flex-direction: column;
    justify-content: center;
}

.about-title {
    font-size: 43pt;
    font-weight: 250;
    font-family: "Jost", sans-serif;
    margin-bottom: 10px;
    letter-spacing: 0.02em;
}

.about-subtitle {
    font-size: 30pt;
    font-weight: 250;
    margin-bottom: 28px;
    color: #000;
}

.about-text {
    font-size: 14pt;
    line-height: 33pt;
    color: #333;
    letter-spacing: 0.02em;
}

/* newsセクション */
.news-section {
    padding: 80px 45px;
}

.news-container {
    max-width: 100%;
    display: flex;
    gap: 40px;
}

.news-header {
    flex: 0 0 240px;
    text-align: right;
    padding-right: 40px;
}

.news-title {
    font-size: 55pt;
    font-weight: 300;
    font-family: "Jost", sans-serif;
    letter-spacing: 0.02em;
    margin: 0;
}

.news-list {
    flex: 1;
    display: flex;
    flex-direction: column;
    gap: 0;
}

.news-item {
    display: flex;
    gap: 40px;
    padding: 40px 0;
    border-bottom: 1px solid #ffffff;
    align-items: flex-start;
}

.news-item:first-child {
    padding-top: 0;
}

.news-item:last-child {
    border-bottom: none;
}

.news-image {
    flex: 0 0 240px;
    height: 160px;
}

.news-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
}

.news-content {
    flex: 1;
    padding-top: 10px;
}

.news-date {
    font-size: 14px;
    color: #666;
    display: block;
    margin-bottom: 15px;
    font-family: "Jost", sans-serif;
}

.news-headline {
    font-size: 20px;
    font-weight: 500;
    margin-bottom: 15px;
    line-height: 1.5;
}

.news-headline a {
    color: inherit;
    text-decoration: none;
    transition: opacity 0.3s ease;
}

.news-headline a:hover {
    opacity: 0.7;
}

a.news-image {
    display: block;
    transition: opacity 0.3s ease;
}

a.news-image:hover {
    opacity: 0.8;
}

.news-excerpt {
    font-size: 15px;
    line-height: 1.8;
    color: #333;
}

/* themeセクション */
.theme-section {
    padding: 0;
}

.theme-container {
    display: flex;
    gap: 0;
    align-items: stretch;
    max-width: 100%;
}

.theme-content {
    flex: 1;
    padding: 200px 118px;
    display: flex;
    flex-direction: column;
    justify-content: center;
}

.theme-image {
    flex: 0 0 50%;
}

.theme-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
}

.theme-title {
    font-size: 43pt;
    font-weight: 250;
    font-family: "Jost", sans-serif;
    margin-bottom: 0px;
    letter-spacing: 0.02em;
}

.theme-subtitle {
    font-size: 30pt;
    font-weight: 250;
    margin-bottom: 28px;
    color: #000;
}

.theme-text {
    font-size: 14pt;
    line-height: 33pt;
    color: #333;
    letter-spacing: 0.02em;
}

.theme-text p {
    margin: 0 0 8px 0;
}

/* exhibitionsセクション */
.exhibitions-section {
    padding: 80px 0;
}

.exhibitions-header {
    text-align: center;
    margin-bottom: 60px;
    padding: 0 45px;
}

.exhibitions-title {
    font-size: 55pt;
    font-weight: 300;
    font-family: "Jost", sans-serif;
    margin-bottom: 10px;
    letter-spacing: 0.02em;
}

.exhibitions-subtitle {
    font-size: 24px;
    font-weight: 400;
    color: #333;
}

.exhibitions-container {
    max-width: 1600px;
    margin: 0 auto;
    padding: 0 100px;
}

.exhibition-item {
    display: flex;
    margin-bottom: 80px;
    padding-bottom: 80px;
    align-items: flex-start;
    gap: 20px;
    border-bottom: 1px solid #ffffff;
}

.exhibition-item:last-child {
    border-bottom: none;
    padding-bottom: 0;
}

.exhibition-item.reverse {
    flex-direction: row;
}

.exhibition-image {
    width: calc(50% + 30px);
    flex: 0 0 calc(50% + 30px);
    display: flex;
    align-items: center;
    justify-content: center;
}

.exhibition-item.reverse .exhibition-image {
    order: 2;
}

.exhibition-image img {
    max-width: 100%;
    width: auto;
    height: auto;
    object-fit: contain;
    display: block;
}


.exhibition-item:nth-child(1) .exhibition-image img {
    max-width: 80%;
}

.exhibition-item:nth-child(2) .exhibition-image img {
    max-width: 85%;
}

.exhibition-item:nth-child(3) .exhibition-image img {
    max-width: 90%;
}

.exhibition-item:nth-child(4) .exhibition-image img {
    max-width: 75%;
}

.exhibition-text {
    width: calc(50% - 30px);
    flex: 0 0 calc(50% - 30px);
    padding-top: 0;
}

.exhibition-item.reverse .exhibition-text {
    order: 1;
    text-align: left;
}

.exhibition-name {
    font-size: 36px;
    font-weight: 600;
    margin-bottom: 8px;
    color: #000;
}

.exhibition-name-en {
    font-size: 20px;
    font-family: "Jost", sans-serif;
    margin-bottom: 60px;
    color: #000;
}

.exhibition-caption {
    font-size: 23px;
    font-weight: 600;
    margin-bottom: 24px;
    color: #000;
}

.exhibition-description {
    font-size: 13px;
    line-height: 2;
    color: #333;
    letter-spacing: 0.02em;
}

.exhibition-profile {
    font-size: 13px;
    line-height: 2;
    color: #333;
    letter-spacing: 0.02em;
    margin-top: 32px;
}

/* overviewセクション */
.overview-section {
    padding: 100px 80px;
}

.overview-container {
    max-width: 100%;
    display: flex;
    flex-direction: column;
    align-items: center;
}

.overview-title {
    font-size: 55pt;
    font-weight: 300;
    font-family: "Jost", sans-serif;
    text-align: center;
    margin-bottom: 80px;
    letter-spacing: 0.02em;
}

.overview-content {
    display: flex;
    gap: 100px;
    align-items: center;
    justify-content: center;
    max-width: 1400px;
    margin: 0 auto;
}

.overview-logo {
    flex: 0 0 auto;
}

.overview-logo img {
    width: auto;
    height: 214px;
    display: block;
}

.overview-info {
    flex: 1;
    max-width: 800px;
}

.overview-event-title {
    font-size: 23pt;
    font-weight: 300;
    margin-bottom: 20px;
    line-height: 1.2;
    color: #000;
}

.overview-details {
    display: grid;
    grid-template-columns: auto 1fr;
    gap: 8px 2px;
    font-size: 14pt;
    line-height: 1.4;
}

.overview-details dt {
    font-weight: 500;
    color: #333;
}

.overview-details dd {
    margin: 0;
    color: #333;
}

/* accessセクション */
.access-section {
    padding: 100px 45px;
}

.access-container {
    max-width: 100%;
}

.access-title {
    font-size: 55pt;
    font-weight: 300;
    font-family: "Jost", sans-serif;
    text-align: center;
    margin-bottom: 80px;
    letter-spacing: 0.02em;
}

.access-content {
    display: flex;
    gap: 37px;
    align-items: flex-start;
    max-width: 1200px;
    margin: 0 auto;
}

.access-map {
    flex: 0 0 500px;
}

.access-map iframe {
    width: 100%;
    height: 400px;
    border: 0;
}

.access-info {
    flex: 1;
    padding-left: 40px;
}

.access-venue {
    margin-bottom: 40px;
}

.access-venue h3,
.access-car h3,
.access-bus h3 {
    font-size: 18px;
    font-weight: 500;
    margin-bottom: 15px;
    color: #000;
}

.access-venue h4 {
    font-size: 18px;
    font-weight: 500;
    margin-bottom: 10px;
    color: #000;
}

.access-venue p,
.access-car p,
.access-bus p {
    font-size: 16px;
    line-height: 1.8;
    color: #333;
    margin-bottom: 8px;
}

.access-car {
    margin-bottom: 40px;
}

.access-bus {
    margin-bottom: 40px;
}

.access-map-link {
    text-align: left;
    margin-top: 40px;
    font-family: "Jost", sans-serif !important;
}

.access-map-link a {
    display: inline-block;
    text-decoration: none;
    transition: opacity 0.3s ease;
    font-family: "Jost", sans-serif !important;
}

.access-map-link a:hover {
    opacity: 0.7;
}

.access-map-link a img {
    display: block;
    width: auto;
    height: 50px;
}

/* 写真セクション */
.photo-section {
    padding: 0;
}

.photo-container {
    width: 100%;
}

.photo-container img {
    width: 100%;
    height: auto;
    display: block;
}

/* 南九州市についてセクション */
.about-minami-section {
    padding: 100px 45px;
    background-color: #e3e4df !important;
}

.about-minami-container {
    display: flex;
    gap: 100px;
    align-items: center;
    max-width: 1200px;
    margin: 30px auto;
}

.about-minami-map {
    flex: 0 0 400px;
    position: relative;
    padding-left: 80px;
}

.about-minami-map img {
    width: 130%;
    height: auto;
    display: block;
}

.map-label {
    position: absolute;
    bottom: 80px;
    left: 20px;
    font-size: 16px;
    color: #333;
    font-weight: 500;
}

.about-minami-content {
    flex: 1;
    padding: 0 80px;
}

.about-minami-title {
    font-size: 20pt;
    font-weight: 500;
    margin-bottom: 35px;
    color: #000;
}

.about-minami-text {
    font-size: 14pt;
    line-height: 33pt;
    color: #333;
    letter-spacing: 0.02em;
}

.about-minami-text p {
    margin: 0 0 8px 0;
}

/* 2カラム写真セクション */
.photo-grid-section {
    padding: 0;
}

.photo-grid-container {
    display: flex;
    width: 100%;
}

.photo-grid-item {
    flex: 1;
    width: 50%;
}

.photo-grid-item img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
}

/* レスポンシブスタイル */
@media (max-width: 1024px) {
    /* タブレットサイズは特に設定なし */
}

@media (max-width: 768px) {
    .sp_br {
        display: inline;
    }
    /* スライダー */
    .slider-container {
        padding-bottom: 161.2%; /* 1500x2418の実際の画像比率に合わせる */
    }

    .slider-dots {
        bottom: 15px;
        right: 20px;
        gap: 8px;
    }

    .dot {
        width: 10px;
        height: 10px;
    }

    /* aboutセクション */
    .about-container {
        flex-direction: column;
    }

    .about-image {
        flex: none;
        width: 100%;
        height: 300px;
        order: 2;
    }

    .about-content {
        padding: 60px 30px;
        order: 1;
    }

    .about-title {
        font-size: 40pt;
    }

    .about-subtitle {
        font-size: 28pt;
        margin-bottom: 30px;
    }

    .about-text {
        font-size: 14pt;
        line-height: 2;
    }

    /* newsセクション */
    .news-section {
        padding: 60px 20px;
    }

    .news-container {
        flex-direction: column;
        gap: 30px;
    }

    .news-header {
        flex: none;
        text-align: left;
        padding-right: 0;
    }

    .news-title {
        font-size: 40pt;
    }

    .news-item {
        flex-direction: column;
        gap: 20px;
        padding: 30px 0;
    }

    .news-image {
        flex: none;
        width: 100%;
        height: auto;
        aspect-ratio: 3 / 2;
    }

    .news-content {
        padding-top: 0;
    }

    .news-headline {
        font-size: 18px;
    }

    /* themeセクション */
    .theme-container {
        flex-direction: column;
    }

    .theme-content {
        padding: 60px 30px;
        order: 2;
    }

    .theme-image {
        flex: none;
        width: 100%;
        height: 300px;
        order: 1;
    }

    .theme-title {
        font-size: 40pt;
    }

    .theme-subtitle {
        font-size: 28pt;
        margin-bottom: 30px;
    }

    .theme-text {
        font-size: 14pt;
        line-height: 2;
    }

    /* exhibitionsセクション */
    .exhibitions-section {
        padding: 60px 0;
    }

    .exhibitions-header {
        margin-bottom: 40px;
        padding: 0 20px;
    }

    .exhibitions-title {
        font-size: 40pt;
    }

    .exhibitions-subtitle {
        font-size: 20px;
    }

    .exhibitions-container {
        max-width: 100%;
        padding: 0 20px;
    }

    .exhibition-item {
        flex-direction: column;
        margin-bottom: 60px;
        padding-bottom: 60px;
        gap: 30px;
    }

    .exhibition-item.reverse {
        flex-direction: column;
    }

    .exhibition-image {
        width: 100%;
        flex: none;
        display: flex;
        justify-content: center;
        align-items: center;
    }

    .exhibition-item.reverse .exhibition-image {
        order: 0;
    }

    .exhibition-image img {
        max-width: 100%;
        width: auto;
        height: auto;
    }

    /* SP版では画像サイズ制限をリセット */
    .exhibition-item:nth-child(1) .exhibition-image img,
    .exhibition-item:nth-child(2) .exhibition-image img,
    .exhibition-item:nth-child(3) .exhibition-image img,
    .exhibition-item:nth-child(4) .exhibition-image img {
        max-width: 100%;
    }

    .exhibition-text {
        width: 100%;
        padding: 0;
        text-align: left;
    }

    .exhibition-item.reverse .exhibition-text {
        order: 1;
        padding: 0;
    }

    .exhibition-name {
        font-size: 29px;
        font-weight: 600;
    }

    .exhibition-name-en {
        font-size: 20px;
        margin-bottom: 30px;
    }

    .exhibition-caption {
        font-size: 18px;
        font-weight: 600;
        margin-bottom: 24px;
    }

    .exhibition-description {
        font-size: 13px;
        line-height: 2;
    }

    .exhibition-profile {
        font-size: 13px;
        line-height: 2;
        margin-top: 32px;
    }

    /* overviewセクション */
    .overview-section {
        padding: 60px 20px;
    }

    .overview-title {
        font-size: 40pt;
        margin-bottom: 60px;
    }

    .overview-content {
        flex-direction: column;
        gap: 50px;
    }

    .overview-logo {
        flex: none;
        width: 250px;
        margin: 0 auto;
    }

    .overview-logo img {
        width: 100%;
        height: auto;
    }

    .overview-info {
        max-width: 100%;
    }

    .overview-event-title {
        font-size: 24px;
        margin-bottom: 30px;
        text-align: center;
    }

    /* accessセクション */
    .access-section {
        padding: 60px 20px;
    }

    .access-title {
        font-size: 40pt;
        margin-bottom: 60px;
    }

    .access-content {
        flex-direction: column;
        gap: 40px;
    }

    .access-map {
        flex: none;
        width: 100%;
    }

    .access-map iframe {
        height: 300px;
    }

    .access-info {
        padding-left: 0;
    }
    .access-map-link {
        margin-top: 30px;
        text-align: center;
    }

    /* 南九州市についてセクション */
    .about-minami-section {
        padding: 60px 20px;
    }

    .about-minami-container {
        flex-direction: column;
        gap: 40px;
    }

    .about-minami-map {
        flex: none;
        width: 100%;
        max-width: 300px;
        margin: 0 auto;
        order: 3;
        padding-left: 0;
        text-align: center;
    }

    .about-minami-map img {
        width: 100%;
        margin: 0 auto;
    }

    .about-minami-content {
        padding: 0;
        order: 1;
    }

    .about-minami-title {
        font-size: 28px;
        margin-bottom: 30px;
        text-align: left;
    }

    .about-minami-text {
        font-size: 14pt;
        line-height: 2;
        text-align: left;
    }
}

@media (max-width: 480px) {
    .sp_br {
        display: inline;
    }
    
    /* aboutセクション */
    .about-image {
        height: 250px;
    }

    .about-content {
        padding: 40px 20px;
    }

    .about-title {
        font-size: 32pt;
    }

    .about-subtitle {
        font-size: 24pt;
        margin-bottom: 25px;
    }

    .about-text {
        font-size: 12pt;
        line-height: 1.8;
    }

    /* newsセクション */
    .news-section {
        padding: 40px 15px;
    }

    .news-title {
        font-size: 32pt;
    }

    .news-item {
        padding: 25px 0;
    }

    .news-image {
        height: auto;
        aspect-ratio: 3 / 2;
    }

    .news-headline {
        font-size: 16px;
    }

    .news-excerpt {
        font-size: 14px;
    }

    /* themeセクション */
    .theme-content {
        padding: 40px 20px;
    }

    .theme-image {
        height: 250px;
    }

    .theme-title {
        font-size: 32pt;
    }

    .theme-subtitle {
        font-size: 24pt;
        margin-bottom: 25px;
    }

    .theme-text {
        font-size: 12pt;
        line-height: 1.8;
    }

    /* exhibitionsセクション */
    .exhibitions-section {
        padding: 40px 0;
    }

    .exhibitions-header {
        margin-bottom: 30px;
        padding: 0 20px;
    }

    .exhibitions-title {
        font-size: 32pt;
    }

    .exhibitions-subtitle {
        font-size: 18px;
    }

    .exhibitions-container {
        padding: 0 20px;
    }

    .exhibition-item {
        margin-bottom: 50px;
        padding-bottom: 50px;
        gap: 30px;
    }

    .exhibition-image img {
        height: auto;
    }

    .exhibition-name {
        font-size: 29px;
        font-weight: 600;
    }

    .exhibition-name-en {
        font-size: 20px;
        margin-bottom: 30px;
    }

    .exhibition-caption {
        font-size:  19px;
        font-weight: 600;
        margin-bottom: 24px;
    }

    .exhibition-description {
        font-size: 13px;
        line-height: 2;
    }

    .exhibition-profile {
        font-size: 13px;
        line-height: 2;
        margin-top: 32px;
    }

    /* overviewセクション */
    .overview-section {
        padding: 40px 15px;
    }

    .overview-title {
        font-size: 32pt;
        margin-bottom: 40px;
    }

    .overview-logo {
        width: 250px;
    }

    .overview-logo img {
        width: 100%;
        height: auto;
    }

    .overview-event-title {
        font-size: 20px;
    }

    .overview-details {
        font-size: 14px;
    }

    /* accessセクション */
    .access-section {
        padding: 40px 15px;
    }

    .access-title {
        font-size: 32pt;
        margin-bottom: 40px;
    }

    .access-map iframe {
        height: 250px;
    }

    .access-map-link a img {
        height: 40px;
    }

    /* 南九州市についてセクション */
    .about-minami-section {
        padding: 40px 15px;
    }

    .about-minami-map {
        max-width: 250px;
    }

    .about-minami-title {
        font-size: 24px;
        margin-bottom: 25px;
        text-align: left;
    }

    .about-minami-text {
        font-size: 12pt;
        line-height: 1.8;
        text-align: left;
    }

    /* 2カラム写真セクション */
    .photo-grid-container {
        flex-direction: row;
    }

    .photo-grid-item {
        width: 50%;
        height: 200px;
    }
}