@charset "UTF-8";

/* ==========================================================================
   1. リセット & 共通スタイル
   ========================================================================== */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, "Helvetica Neue", Arial, "Hiragino Kaku Gothic ProN", "Hiragino Sans", "Meiryo", sans-serif;
    color: #ffffff;
    font-size: 16px; /* 全体基準サイズを大きめに設定 */
    line-height: 1.8;

    /* トップページ背景 */
    background-color: #8bb72a;
    background-image: url('images/top_bg.jpg');
    background-repeat: no-repeat;
    background-position: center top;
    background-size: 100% auto;
}

/* 下層ページ用背景 */
body.subpage {
    background-image: url('images/page_bg.png');
    background-repeat: repeat;
    background-position: top center;
    background-size: auto;
}

a {
    color: inherit;
    text-decoration: none;
}

img {
    max-width: 100%;
    height: auto;
    vertical-align: bottom;
}

/* ==========================================================================
   2. ヘッダー & ナビゲーション
   ========================================================================== */
.site-header {
    width: 100%;
    padding: 18px 24px;
    background-color: #ffffff;
    position: relative;
    z-index: 100;
}

.header-inner {
    max-width: 1300px;
    margin: 0 auto;
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.site-title a {
    font-size: clamp(1.2rem, 2.2vw, 1.5rem);
    font-weight: bold;
    color: #333333;
    letter-spacing: 0.05em;
}

/* ハンバーガーボタン */
.hamburger-btn {
    background: none;
    border: none;
    cursor: pointer;
    width: 28px;
    height: 16px;
    position: relative;
    z-index: 101;
}

.hamburger-btn span {
    display: block;
    width: 100%;
    height: 2px;
    background-color: #333333;
    position: absolute;
    left: 0;
    transition: all 0.3s ease;
}

.hamburger-btn span:nth-child(1) { top: 0; }
.hamburger-btn span:nth-child(2) { top: 10px; }

.hamburger-btn.is-active span:nth-child(1) {
    transform: translateY(5px) rotate(45deg);
}
.hamburger-btn.is-active span:nth-child(2) {
    transform: translateY(-5px) rotate(-45deg);
}

.site-nav {
    position: fixed;
    top: 0;
    right: -100%;
    width: 100%;
    height: 100vh;
    background-color: rgba(255, 255, 255, 0.98);
    display: flex;
    align-items: center;
    justify-content: center;
    transition: right 0.3s ease;
    z-index: 99;
    overflow-y: auto;
}

.site-nav.is-active {
    right: 0;
}

.site-nav ul {
    list-style: none;
    text-align: center;
    padding: 30px 0;
}

.site-nav li {
    margin: 20px 0;
}

.site-nav a {
    font-size: 1.25rem;
    font-weight: bold;
    color: #333333;
}

/* ==========================================================================
   3. メインコンテンツ & 汎用カード
   ========================================================================== */
.main-container {
    width: 100%;
    padding: 0 24px;
    padding-top: calc(100vw * 1.15);
}

.subpage-main {
    padding-top: 50px;
}

.wide-section {
    max-width: 860px;
    margin: 70px auto 0;
}

.page-sub-container {
    max-width: 800px;
    margin: 0 auto;
}

/* 白枠カード共通 */
.white-info-card {
    background-color: #ffffff;
    color: #333333;
    border-radius: 8px;
    padding: 28px 24px;
    margin-bottom: 30px;
}

.card-text-dark {
    color: #333333;
    font-size: 0.98rem;
    font-weight: bold;
    line-height: 1.75;
    margin-bottom: 10px;
}

.card-links a {
    color: #001D87;
    font-size: 0.98rem;
    text-decoration: underline;
    font-weight: bold;
    display: inline-block;
    margin-top: 4px;
}

/* ==========================================================================
   4. トップページ要素
   ========================================================================== */
.top-section {
    max-width: 800px;
    margin: 0 auto;
    text-align: center;
}

/* ヒーローキャッチコピー */
.hero-lead-text {
    font-size: clamp(1.6rem, 3.2vw, 2.4rem);
    font-weight: bold;
    line-height: 1.85;
    color: #ffffff;
    margin-top: 160px;
    margin-bottom: 160px;
    padding: 10px 0;
}

/* 展示会案内カード */
.exhibition-card {
    background-color: #ffffff;
    color: #333333;
    border-radius: 8px;
    padding: 30px 28px;
    margin: 50px auto;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.1);
}

.exhibition-card-title {
    font-size: 1.45rem;
    font-weight: bold;
    color: #5c4a22;
    text-align: center;
    border-bottom: 2px solid #5c4a22;
    padding-bottom: 10px;
    margin-bottom: 24px;
}

.exhibition-card-body {
    display: flex;
    gap: 28px;
    align-items: center;
}

.exhibition-img-box {
    flex: 0 0 220px;
    border-radius: 4px;
    overflow: hidden;
    box-shadow: 0 2px 6px rgba(0, 0, 0, 0.15);
}

.exhibition-img-box img {
    width: 100%;
    height: auto;
    display: block;
}

.exhibition-detail-box {
    flex: 1;
    text-align: left;
}

.exhibition-sub {
    font-size: 0.95rem;
    font-weight: bold;
    color: #666666;
    margin-bottom: 6px;
}

.exhibition-main-title {
    font-size: clamp(1.5rem, 3vw, 2rem);
    font-weight: bold;
    color: #333333;
    line-height: 1.3;
    margin-bottom: 18px;
}

.exhibition-date-box {
    background-color: #f7f5ed;
    border-left: 5px solid #8bb72a;
    padding: 14px 18px;
    border-radius: 0 6px 6px 0;
    margin-bottom: 22px;
}

.date-highlight {
    display: block;
    font-size: 1.15rem;
    font-weight: bold;
    color: #d32f2f;
    margin-bottom: 4px;
}

.time-text {
    display: block;
    font-size: 1.05rem;
    font-weight: bold;
    color: #333333;
}

.exhibition-note {
    font-size: 0.88rem;
    color: #666666;
    margin-top: 6px;
    line-height: 1.4;
}

/* コンテンツグリッド */
.contents-section-block {
    margin-top: 75px;
}

.section-title {
    font-size: 1.55rem;
    font-weight: bold;
    color: #ffffff;
    margin-bottom: 24px;
    text-align: left;
}

.theme-card-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 40px 24px;
    margin-bottom: 70px;
}

.theme-card {
    position: relative;
    background-color: #ffffff;
    border-radius: 8px;
    padding: 20px;
    margin-top: 28px;
    text-align: left;
    color: #333333;
    display: flex;
    flex-direction: column;
}

.theme-card-title {
    font-size: clamp(1.2rem, 2.4vw, 1.4rem);
    font-weight: bold;
    color: #ffffff;
    line-height: 1.2;
    margin-top: -42px; 
    margin-bottom: 16px;
    padding-left: 2px;
}

.theme-card-img {
    border-radius: 4px;
    overflow: hidden;
    margin-bottom: 14px;
}

.theme-card-img img {
    width: 100%;
    aspect-ratio: 4 / 3;
    object-fit: cover;
}

.theme-card-desc {
    font-size: 0.9rem;
    color: #333333;
    line-height: 1.65;
    margin-bottom: 16px;
    flex-grow: 1;
}

.btn-red {
    display: block;
    width: 100%;
    background-color: #d32f2f;
    color: #ffffff;
    text-align: center;
    padding: 10px 0;
    border-radius: 6px;
    font-size: 0.95rem;
    font-weight: bold;
}

/* 下部ゼミ案内 */
.seminar-bottom-info {
    text-align: center;
    margin: 80px 0 60px;
}

.univ-name {
    font-size: 1.15rem;
    line-height: 1.6;
    margin-bottom: 12px;
    color: #ffffff;
    font-weight: bold;
}

.seminar-link-btn {
    font-size: 1.4rem;
    font-weight: bold;
    color: #ffffff;
    text-decoration: underline;
}

/* フッター上部の茶色タイトル */
.bottom-large-title {
    font-size: clamp(1.8rem, 4vw, 2.5rem);
    color: #5c4a22;
    font-weight: bold;
    letter-spacing: 0.05em;
    text-align: left;
    margin-top: 60px;
    margin-bottom: -2px;
    line-height: 1;
}

/* ==========================================================================
   5. サブページ共通スタイル (ikkyuji.html 等)
   ========================================================================== */
.title-with-icon-wrapper {
    position: relative;
    display: inline-block;
    margin-bottom: 35px;
}

.title-with-icon-wrapper.text-left {
    left: 0;
    transform: none;
}

.subpage-title-box {
    background-color: #ffffff;
    color: #5c4a22;
    font-size: clamp(1.4rem, 2.8vw, 1.8rem);
    font-weight: bold;
    padding: 8px 50px 8px 24px;
    border-radius: 4px;
    display: inline-block;
    letter-spacing: 0.05em;
}

.title-matsu-icon {
    position: absolute;
    right: -25px;
    bottom: -16px;
    width: 62px;
    height: auto;
}

.ikkyuji-card {
    padding: 40px 32px;
    border-radius: 4px;
    text-align: left;
    max-width: 800px;
    margin: 0 auto;
}

.ikkyuji-heading {
    color: #333333;
    font-size: 1.35rem;
    font-weight: bold;
    margin-top: 24px;
    margin-bottom: 14px;
}

.ikkyuji-heading:first-child {
    margin-top: 0;
}

.ikkyuji-text {
    color: #333333;
    font-size: 1rem;
    line-height: 1.85;
    margin-bottom: 24px;
}

.ikkyuji-img-box {
    width: 100%;
    margin-bottom: 28px;
    border-radius: 2px;
    overflow: hidden;
}

.ikkyuji-img-box img {
    width: 100%;
    height: auto;
    display: block;
}

/* 下部ボタン & リンクナビ */
.bottom-btn-area {
    margin-top: 40px;
    text-align: center;
}

.btn-red-wide {
    display: inline-block;
    background-color: #e50012;
    color: #ffffff;
    font-size: 1.05rem;
    font-weight: bold;
    padding: 14px 40px;
    border-radius: 10px;
    box-shadow: 0 3px 6px rgba(0, 0, 0, 0.16);
    transition: opacity 0.2s ease;
}

.btn-red-wide:hover {
    opacity: 0.85;
}

.bottom-top-link-area {
    margin-top: 40px;
    margin-bottom: 60px;
    text-align: center;
    display: flex;
    flex-direction: column;
    align-items: center;
}

.top-link-label {
    font-size: 1.3rem;
    color: #4a5e20;
    font-weight: normal;
    letter-spacing: 0.05em;
    margin-bottom: -4px;
    line-height: 1.2;
}

.top-logo-link {
    font-size: 1.5rem;
    font-weight: bold;
    color: #ffffff;
    letter-spacing: 0.05em;
    line-height: 1.2;
}

/* ==========================================================================
   6. 展示物紹介（items.html専用）スタイル
   ========================================================================== */

/* シンプルなお知らせエリア */
.items-notice-box {
    background-color: #ffffff;
    border-radius: 8px;
    padding: 22px 20px;
    text-align: center;
    margin-bottom: 45px;
    box-shadow: 0 3px 8px rgba(0, 0, 0, 0.08);
}

.items-notice-text {
    color: #333333;
    font-size: 1.1rem;
    font-weight: bold;
    line-height: 1.65;
    margin-bottom: 10px;
}

.items-notice-link {
    display: inline-block;
    color: #d32f2f;
    font-size: 1.05rem;
    font-weight: bold;
    text-decoration: underline;
    transition: opacity 0.2s ease;
}

.items-notice-link:hover {
    opacity: 0.8;
}

/* 作品カード（見出し上部はみ出しレイアウト） */
.white-info-card.items-card {
    position: relative;
    margin-top: 45px; /* 上へ飛び出た見出しの高さ分の余白 */
    margin-bottom: 45px;
    padding: 42px 30px 30px;
    border-radius: 8px;
}

/* 赤背景の角丸見出し（文字サイズ拡大・上部はみ出し） */
.items-heading {
    position: absolute;
    top: -24px; /* カード上枠から突出させる高さ */
    left: 20px;
    background-color: #d32f2f;
    color: #ffffff;
    display: inline-block;
    padding: 20px 20px 8px 20px;
    border-radius: 8px;
    font-size: 1.6rem;
    font-weight: bold;
    margin: 0;
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.15);
    z-index: 2;
    line-height: 1.3;
}

.items-heading rt {
    font-size: 0.5em;
}

/* 画像表示エリア */
.items-img-box {
    width: 100%;
    border-radius: 4px;
    overflow: hidden;
    margin-bottom: 22px;
}

.items-img-box img {
    width: 100%;
    height: auto;
    display: block;
}

/* 本文テキスト */
.items-text {
    color: #333333;
    font-size: 1rem;
    line-height: 1.85;
}

.items-text rt {
    font-size: 0.55em;
}

/* 下部ページネーション */
.items-pagination-area {
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 12px;
    margin: 45px 0 35px;
}

.items-pagination-area .page-num {
    display: flex;
    justify-content: center;
    align-items: center;
    width: 44px;
    height: 44px;
    background-color: #ffffff;
    color: #5c4a22;
    font-weight: bold;
    border-radius: 6px;
    font-size: 1.15rem;
    box-shadow: 0 2px 5px rgba(0, 0, 0, 0.1);
    transition: all 0.2s ease;
}

.items-pagination-area .page-num:hover {
    background-color: #f7f5ed;
}

.items-pagination-area .page-num.is-current {
    background-color: #5c4a22;
    color: #ffffff;
    pointer-events: none;
}

/* ==========================================================================
   7. レスポンシブ対応（スマートフォン）
   ========================================================================== */
@media (max-width: 540px) {
    .theme-card-grid {
        grid-template-columns: 1fr;
        gap: 50px 20px;
    }

    .exhibition-card-body {
        flex-direction: column;
        text-align: center;
    }

    .exhibition-img-box {
        flex: initial;
        width: 200px;
        margin: 0 auto;
    }

    .exhibition-detail-box {
        text-align: center;
    }

    .exhibition-date-box {
        text-align: left;
    }

    .items-heading {
        font-size: 1.2rem;
        top: -20px;
        left: 16px;
        padding: 6px 18px;
    }

    .white-info-card.items-card {
        padding: 36px 20px 24px;
    }
}

/* ==========================================================================
   8. フッター
   ========================================================================== */
.site-footer {
    background-color: #5c4a22;
    color: #ffffff;
    padding: 45px 24px;
    font-size: 0.92rem;
    line-height: 1.85;
}

.footer-inner {
    max-width: 360px;
    margin: 0 auto;
    text-align: left;
}

/* ==========================================================================
   展示会について（exhibition.html）スタイル
   ========================================================================== */

/* exhibition_card：背景色なし・枠線や影を解除 */
.white-info-card.exhibition_card {
    background-color: transparent !important;
    box-shadow: none !important;
    padding: 0;
    margin-bottom: 50px;
}

/* 見出しスタイル */
.exhibition_card .exhibition-heading {
    font-size: 1.5rem;
    font-weight: bold;
    color: #ffffff;
    margin-top: 24px;
    margin-bottom: 16px;
    text-align: left;
}

/* 画像エリア */
.exhibition_card .exhibition-img-box {
    width: 100%;
    border-radius: 8px;
    overflow: hidden;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.15);
}

.exhibition_card .exhibition-img-box img {
    width: 100%;
    height: auto;
    display: block;
}

/* イベント詳細（装飾エリア） */
.exhibition-event {
    background-color: #ffffff;
    color: #333333;
    border-radius: 12px;
    padding: 28px 24px;
    margin-top: 20px;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.1);
    border-top: 5px solid #d32f2f; /* 上部に赤いアクセントライン */
}

/* 主催者テキスト */
.exhibition-organizer {
    font-size: 1.05rem;
    font-weight: bold;
    color: #5c4a22;
    text-align: center;
    border-bottom: 1px dashed #d0c8b6;
    padding-bottom: 12px;
    margin-bottom: 20px;
}

/* 会期・時間レイアウト */
.exhibition-detail-item {
    display: flex;
    align-items: flex-start;
    gap: 14px;
    margin-bottom: 16px;
}

.detail-label {
    background-color: #5c4a22;
    color: #ffffff;
    font-weight: bold;
    font-size: 0.85rem;
    padding: 3px 12px;
    border-radius: 4px;
    white-space: nowrap;
    margin-top: 2px;

}

.detail-val {
    font-size: 1rem;
    font-weight: bold;
    color: #333333;
    line-height: 1.6;
}

.detail-val.highlight-date {
    font-size: 1.15rem;
    color: #d32f2f;
}

.detail-note {
    display: block;
    font-size: 0.85rem;
    color: #666666;
    font-weight: normal;
    margin-top: 4px;
}

/* メッセージ文 */
.exhibition-message {
    background-color: #f8f6f0;
    border-radius: 6px;
    padding: 14px;
    text-align: center;
    font-weight: bold;
    color: #333333;
    line-height: 1.7;
    margin-top: 20px;
}

/* アクセステキスト */
.exhibition-text {
    color: #ffffff;
    font-size: 1.1rem;
    line-height: 1.8;
    text-align: left;
    margin-top: 20px;
    font-weight: bold;
}