:root {
    --gold: #d4af37;
    --deep-blue: #10192d;
    --marble-white: #f9f9f9;
    --text-main: #333;
}

body,
html {
    margin: 0;
    padding: 0;
    font-family: 'Shippori Mincho', serif;
    background-color: #fbf9f6; /* 少し生成り（きなり）っぽい色に */
    background-image: url('image/canvas.jpg');
    background-repeat: repeat;
    /* 背景色と画像を重ね合わせる（multiplyは乗算、より布らしくなります） */
    background-blend-mode: multiply; 
    opacity: 0.95; /* 質感の強さを微調整 */
    color: var(--text-main);
    overflow-x: hidden;
    scroll-behavior: smooth;
}

/* ナビゲーション */
nav {
    position: fixed;
    top: 0;
    width: 100%;
    height: 70px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: rgba(255, 255, 255, 0.3);
    backdrop-filter: blur(10px);
    z-index: 1000;
    border-bottom: 2px solid rgba(212, 175, 55, 0.2);
}

/* ナビゲーションのサイン */
.nav-signature {
    height: 40px;
    /* お好みで調整 */
    width: auto;
    filter: brightness(0.8);
    /* 少し落ち着いたトーンにする場合 */
    transition: opacity 0.3s;
    margin-top: 5px;
}

.nav-signature:hover {
    opacity: 0.7;
}

/* ヒーローエリア */
/* 1. ヒーローエリア：高さを固定せず、中身に合わせて伸びるようにする */
.hero {
    position: relative;
    min-height: 100vh; /* 最低でも画面いっぱいの高さ、中身が増えれば伸びる */
    height: auto;      /* 固定高さを解除 */
    width: 100%;
    background: url('images/omote.jpg') no-repeat center center/cover;
    background-attachment: fixed;
    display: flex;
    flex-direction: column; /* 上から下に並べる */
    align-items: center;
    justify-content: center; /* 縦方向の中央寄せ */
    padding: 100px 0 60px;  /* 上下に十分な余白を確保 */
    box-sizing: border-box;
}

/* 2. ヒーローコンテンツ：中身が重ならないようマージンで制御 */
.hero-content {
    position: relative;
    text-align: center;
    color: #f0f0f0;
    text-shadow: 0 2px 10px rgba(0, 0, 0, 0.5);
    z-index: 2;
    display: flex;
    flex-direction: column;
    align-items: center;
    width: 100%;
}

/* 3. タイトル：上下に適切な余白を入れる */
h1 {
    font-size: clamp(2.5rem, 10vw, 6rem);
    letter-spacing: 0.8rem;
    margin: 30px 0; /* タイトルの上下余白 */
    background: linear-gradient(75deg, #d4af37 10%, #fff 50%, #d4af37 90%);
    background-size: 200% auto;
    -webkit-background-clip: text;
    background-clip: text;
    -webkit-text-fill-color: transparent;
    animation: shine 5s linear infinite;
    /* 背景グラデーションなどはそのまま */
}

/* 4. スケジュール：ここが動かないようにしっかりマージンを固定 */
.schedule-box {
    margin: 40px auto; /* 常に中央、かつ上下に40pxの距離を保つ */
    background: rgba(16, 25, 45, 0.6);
    backdrop-filter: blur(10px);
    padding: 25px 40px;
    border: 1px solid rgba(212, 175, 55, 0.6);
    display: inline-flex;
    flex-direction: column;
    gap: 10px;
}

.schedule-item {
    display: flex;
    align-items: baseline;
    gap: 20px;
}

.schedule-item .day {
    font-size: 1.1rem;
    letter-spacing: 0.1rem;
    color: var(--gold);
    font-weight: bold;
    min-width: 90px;
    text-align: left;
}

.schedule-item .day small {
    font-size: 0.7rem;
    margin-left: 5px;
}

.schedule-item .time {
    font-size: 1.3rem;
    letter-spacing: 0.1rem;
    font-family: 'Noto Serif JP', serif;
}

.schedule-divider {
    width: 100%;
    height: 1px;
    background: linear-gradient(to right, transparent, rgba(212, 175, 55, 0.5), transparent);
}

/* 5. スクロール：絶対配置をやめ、スケジュールの下に配置する */
.scroll-indicator {
    position: relative; /* absoluteから変更 */
    margin-top: 40px;   /* スケジュールとの距離を確実に作る */
    bottom: 0;
    left: 0;
    transform: none;
    font-size: 0.7rem;
    letter-spacing: 0.3rem;
    color: #fff;
    opacity: 0.8;
}

.eng-sub-title {
    font-family: 'Noto Serif JP', serif;
    /* 明朝体で上品に */
    font-weight: 200;
    font-size: 0.9rem;
    letter-spacing: 0.3rem;
    /* 文字間をしっかり空けて風通しを良く */
    color: #fff;
    margin-top: -20px;
    /* タイトルとの一体感を出す */
    margin-bottom: 40px;
    opacity: 0.8;
}


@keyframes shine {
    to {
        background-position: 200% center;
    }
}

.vertical-text {
    writing-mode: vertical-rl;
    margin: 0 auto;
    height: 180px;
    letter-spacing: 0.5rem;
    font-size: 1.2rem;
}

.vertical-text {
    writing-mode: vertical-rl;
    /* 1. marginを「auto」ではなく、上下の余白として指定 */
    margin: 40px auto; 
    
    /* 2. 高さを固定せず、中身（文字数）に合わせる */
    height: auto;
    max-height: 70vh; /* スマホ画面の高さ7割を超えないように制限 */
    
    /* 3. 意図しない改行を絶対に防ぐ */
    white-space: nowrap;
    
    /* 4. 中央揃えを確実にするための設定 */
    display: inline-block;
    
    letter-spacing: 0.5rem;
    font-size: 1.2rem;
    
}

/* スケジュールボックス */

/* 共通コンテナ・セクション */
.container {
    max-width: 900px;
    margin: 0 auto;
    padding: 0 20px;
}

section {
    padding: 120px 0;
    text-align: center;
}

h2 {
    font-family: 'Noto Serif JP', serif;
    font-weight: 700;
    color: var(--gold);
    letter-spacing: 0.4rem;
    margin-bottom: 50px;
    text-transform: uppercase;
    font-size: 1rem;
}

/* コンセプト */
.concept-section {
    background-color: #fff;
}

.concept-text {
    max-width: 700px;
    margin: 0 auto;
    line-height: 2.2;
}

.main-copy {
    font-size: 1.4rem;
    color: var(--text-main);
    margin-bottom: 40px;
    font-weight: 500;
    letter-spacing: 0.1rem;
}

.sub-text {
    font-size: 1rem;
    color: #555;
    margin-bottom: 30px;
    letter-spacing: 0.05rem;
}

/* コンセプト補足 */

.detail-item h3 {
    font-size: 0.8rem;
    color: var(--gold);
    letter-spacing: 0.2rem;
    margin-bottom: 15px;
}

.detail-item p {
    font-size: 0.85rem;
    line-height: 1.8;
    color: #666;
}

.exhibition-details {
    display: flex;
    flex-wrap: wrap; /* スマホで横幅が足りない時に自動で折り返す */
    justify-content: space-around;
    max-width: 800px;
    margin: 50px auto 0;
    gap: 40px;
    border-top: 2px solid rgba(212, 175, 55, 0.2);
    padding: 40px 20px 0; /* 左右に20pxの余白を追加 */
}

.detail-item {
    flex: 1;
    /* スマホで横幅いっぱいに広がるよう、最小幅を設定 */
    min-width: 250px; 
    text-align: left;
}

/* 作家紹介 */
.profile-section {
    background: var(--marble-white);
}

.profile-logo {
    display: block;
    width: 150px; /* PCでの表示サイズ：お好みで調整してください */
    height: auto;
    margin-bottom: 25px; /* ロゴとタイトルの間の余白 */
    /* 芸術的なロゴなので、少し浮き上がるような影をつけても素敵です */
    filter: drop-shadow(0 4px 8px rgba(0,0,0,0.1));
}

.profile-flex {
    display: flex;
    align-items: center;
    gap: 80px;
    text-align: left;
}

.profile-image {
    flex: 1;
    max-width: 400px;
}

.profile-image img {
    width: 100%;
    filter: sepia(0.1) contrast(1.05);
    box-shadow: 20px 20px 0px rgba(212, 175, 55, 0.1);
}

.profile-text {
    flex: 1.5;
}

.artist-name {
    font-size: 1.8rem;
    margin-bottom: 20px;
    letter-spacing: 0.2rem;
}

.artist-name small {
    font-size: 1rem;
    color: var(--gold);
    margin-left: 10px;
}

.bio {
    line-height: 2;
    margin-bottom: 30px;
    font-size: 0.95rem;
    text-align: justify;
}

.history ul {
    list-style: none;
    padding: 0;
}

.history li {
    display: flex;           /* 年号とタイトルを横に並べる */
        align-items: flex-start; /* 上揃えにする */
        gap: 10px;               /* 年号とタイトルの間の距離 */
        margin-bottom: 12px;
        line-height: 1.6;        /* 折り返した時の行間を適切に */
        text-align: left; 
    font-size: 0.85rem;
    color: #666;
    margin-bottom: 5px;
}

.history li span {
    display: inline-block;
    width: 80px;
    color: #999;
}

.past-exhibitions h3 {
    font-size: 0.9rem;
    color: var(--gold);
    border-bottom: 1px solid var(--gold);
    display: inline-block;
    padding-bottom: 5px;
    margin: 40px 0 20px;
}

.past-exhibitions ul {
    list-style: none;
    padding: 0;
}

.past-exhibitions li {
    font-size: 0.9rem;
    margin-bottom: 10px;
    color: #444;
}

.past-exhibitions li span {
    display: inline-block;
    width: 80px;
    color: #999;
}

/* 制作過程 */
.process-section {
    background-color: #fff;
}

.photo-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 40px;
    margin-bottom: 50px;
}

.photo-item {
    background: #fff;
    padding: 15px 15px 40px;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.05);
    transform: rotate(-2deg);
    transition: 0.5s;
}

.photo-item:nth-child(even) {
    transform: rotate(2deg);
}

.photo-item:hover {
    transform: rotate(0) scale(1.05);
    z-index: 10;
}

.photo-item img {
    width: 100%;
    height: auto;
}

/* ギャラリーの外枠 */
.gallery-slider {
    width: 100%;
    overflow: hidden;
    background: #fff; /* 背景色は適宜調整 */
    padding: 40px 0;
}

/* 流れるトラック */
.slider-track {
    display: flex;
    width: calc(280px * 10); /* 250px + 30px(余白) = 280px */
    animation: scroll 30s linear infinite;
}

.slider-track img {
    width: 250px; /* 作品のサイズ */
    height: 350px;
    object-fit: cover;
    margin: 0 15px;
    box-shadow: 0 4px 15px rgba(0,0,0,0.1);
    transition: transform 0.3s ease;
}

/* マウスを乗せると止まる演出（お好みで） */
.slider-track:hover {
    animation-play-state: paused;
}

/* アニメーション定義 */
@keyframes scroll {
    0% { transform: translateX(0); }
    100% { transform: translateX(calc(-280px * 5)); } /* オリジナル5枚分だけ左に送る */
}


/* 遷移ボタン */
.view-all-container {
    text-align: center;
    padding: 20px 20px;
    background: #fff;
}

.view-all-container p {
    font-size: 0.9rem;
    margin-bottom: 20px;
    letter-spacing: 0.1rem;
    color: #666;
}

.gold-button {
    display: inline-block;
    padding: 15px 40px;
    border: 1px solid var(--gold);
    color: var(--gold);
    text-decoration: none;
    letter-spacing: 0.2rem;
    transition: 0.4s;
}

.gold-button:hover {
    background: var(--gold);
    color: #fff;
    box-shadow: 0 5px 15px rgba(212, 175, 55, 0.3);
}

/* アクセス */
.access-section {
    background-color: var(--marble-white);
}

.address {
    margin-bottom: 20px;
    line-height: 2;
    letter-spacing: 0.1rem;
    font-weight: bold;
}

.train-info {
    /* display: inline-block; から変更 */
    display: table; 
    margin: 20px auto; /* これで左右中央になります */
    max-width: 500px;
    text-align: left;
    border-left: 2px solid var(--gold);
    padding-left: 20px;
}

.route {
    margin-bottom: 12px;
    font-size: 0.95rem;
    color: #555;
    /* flexを追加して横並びを制御 */
    display: flex;
    align-items: baseline;
}

.station {
    font-weight: bold;
    color: var(--text-main);
    display: inline-block;
    width: 5em; /* 文字数に合わせて調整（5文字分） */
    margin-right: 15px;
    flex-shrink: 0; /* 幅が狭まらないように固定 */
}

.map-container {
    filter: grayscale(100%) contrast(90%);
    max-width: 700px;
    margin: 40px auto 50px;
    border: 1px solid #eee;
}

.map-container iframe {
    width: 100%;
    height: 350px;
    display: block;
}

.note-quote-section {
    padding: 80px 0;
    background: rgba(212, 175, 55, 0.03); /* ほんの少しだけ色を変えて「特別な空間」に */
    text-align: center;
}

.quote-content {
    max-width: 600px;
    margin: 0 auto;
    position: relative;
}

.quote-mark {
    font-family: 'Shippori Mincho', serif;
    font-size: 4rem;
    color: rgba(212, 175, 55, 0.2);
    position: absolute;
    top: -40px;
    left: 50%;
    transform: translateX(-50%);
}

.quote-text {
    font-size: 1.2rem;
    line-height: 2.2;
    color: var(--text-main);
    letter-spacing: 0.1em;
    margin-bottom: 20px;
    font-weight: 500;
}

.quote-source {
    font-size: 0.8rem;
    color: #888;
    margin-bottom: 30px;
}

.note-link-button {
    display: inline-block;
    padding: 10px 25px;
    font-size: 0.8rem;
    color: var(--gold);
    border: 1px solid var(--gold);
    text-decoration: none;
    letter-spacing: 0.1em;
    transition: all 0.3s ease;
}

.note-link-button:hover {
    background: var(--gold);
    color: #fff;
}

.sns-links {
    margin-top: 50px;
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 30px;
}

.sns-item {
    text-decoration: none;
    color: var(--text-main);
    display: flex;
    flex-direction: column;
    align-items: center;
    transition: 0.3s;
}

.sns-item:hover {
    color: var(--gold);
}

.sns-icon {
    font-weight: 600;
    font-size: 1rem;
    letter-spacing: 0.1em;
}

.sns-text, .sns-id {
    font-size: 0.7rem;
    color: #888;
    margin-top: 5px;
}

.sns-divider {
    color: #ccc;
    font-size: 1.5rem;
    font-weight: 100;
}

footer {
    padding: 60px;
    background: #fff;
    text-align: center;
    font-size: 0.8rem;
    color: #999;
    letter-spacing: 0.1rem;
}

/* スマホ対応 */
@media (max-width: 768px) {
    h1 {
        font-size: 1.8rem;
        letter-spacing: 0.4rem;
    }

    /* スマホ用のメディアクエリを追加 */
    .vertical-text {
        font-size: 1.1rem;      /* 文字を少し小さく */
        letter-spacing: 0.3rem; /* 文字間を少し詰めると収まりが良い */
        margin-top: 20px;
        margin-bottom: 20px;
    }


    .hero {
        background-attachment: scroll;
    }

    section {
        padding: 80px 0;
    }

    .eng-sub-title {
        font-size: 0.75rem;
        letter-spacing: 0.2rem;
        margin-top: -15px;
    }

    .schedule-box {
        padding: 15px 20px;
    }

    .schedule-item {
        gap: 10px;
    }

    .schedule-item .day {
        min-width: 70px;
        font-size: 0.9rem;
    }

    .schedule-item .time {
        font-size: 1.1rem;
    }

    .main-copy {
        font-size: 1.2rem;
        text-align: center;
    }

    .sub-text {
        font-size: 0.95rem;
        text-align: center;
    }

    .profile-flex {
        flex-direction: column;
        gap: 40px;
        padding: 0 30px;
    }

    .profile-image {
        max-width: 100%;
    }

    .photo-item {
        transform: rotate(0deg) !important;
        margin-bottom: 20px;
    }

    .artist-name {
        font-size: 1.4rem;  /* スマホに合わせて少し小さく */
        text-align: left;
    }

    .artist-name small {
        display: block;     /* 名前と英語名をスマホでは縦に並べる（改行） */
        margin-left: 0;
        margin-top: 5px;
        font-size: 0.8rem;
    }

    .profile-text .history .past-exhibitions {
        text-align: left;
    }

    .train-info {
        border-left: none;
        border-top: 2px solid var(--gold);
        padding: 20px 0 0;
        text-align: center;
    }

    .note-quote-section {
        padding: 60px 20px;

    }
    .quote-text {
        font-size: 1.05rem; /* スマホで圧迫感が出ないよう少し小さく */
        text-align: center;    /* 短い文章なので、スマホでは左寄せ（中央寄り）も綺麗です */
        display: inline-block;
    }
    
}

/* カタログページ全体の背景 */
.catalog-page { background: #fff; }

/* ヘッダー装飾 */
.back-link {font-size: 0.7rem; 
    color: #aaa; 
    letter-spacing: 0.3rem; 
    text-transform: uppercase; 
    margin: 0;}
.catalog-header { padding: 140px 0 80px; text-align: center; }
.catalog-header h1 { 
    font-family: 'Noto Serif JP', serif; font-weight: 200; 
    color: var(--gold); font-size: 2rem; letter-spacing: 0.5rem; margin-bottom: 10px;
}
.sub-intro { font-size: 0.85rem; color: #999; margin-top: 15px; letter-spacing: 0.1rem; }

/* グリッドレイアウト */
.catalog-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(350px, 1fr));
    gap: 100px 60px;
    padding-bottom: 60px;
}

/* 作品カード */
.work-card { display: flex; flex-direction: column; background: #fff; }
.work-visual {
    width: 100%; aspect-ratio: 3 / 4;
    background: var(--marble-white); overflow: hidden; margin-bottom: 25px;
    box-shadow: 0 10px 40px rgba(0,0,0,0.03);
}
.work-visual img { width: 100%; height: 100%; object-fit: cover; transition: transform 0.6s ease; }
.work-card:hover .work-visual img { transform: scale(1.05); }

/* 作品情報 */
.meta-main { display: flex; justify-content: space-between; align-items: baseline; margin-bottom: 20px; border-bottom: 1px solid #f0f0f0; padding-bottom: 10px; }
.work-title { font-size: 1.2rem; color: var(--text-main); font-family: 'Shippori Mincho', serif; margin: 0; }
.work-year { font-size: 0.8rem; color: #999; }

.work-details-list { margin-bottom: 20px; }
.detail-row { display: flex; font-size: 0.8rem; margin-bottom: 6px; }
.detail-label { width: 65px; color: var(--gold); font-weight: bold; }
.detail-value { color: #666; flex: 1; }

.work-story { font-style: italic; color: #444; margin: 20px 0; padding: 15px 0; border-top: 1px solid #f9f9f9; font-size: 0.9rem; }

.contact-btn {
    display: block; text-align: center; border: 1px solid #eee; color: #999;
    text-decoration: none; font-size: 0.75rem; padding: 12px; letter-spacing: 0.1rem; transition: 0.3s;
}
.contact-btn:hover { border-color: var(--gold); color: var(--gold); background: rgba(212, 175, 55, 0.02); }

/* Lightbox（拡大時）のカスタマイズ */
.lum-lightbox { background: rgba(255, 255, 255, 0.98) !important; }
.lum-img { box-shadow: 0 30px 60px rgba(0,0,0,0.1) !important; }
.lum-caption { font-family: 'Shippori Mincho', serif !important; color: var(--gold) !important; margin-top: 20px !important; letter-spacing: 0.1rem; }

.catalog-footer-nav { 
    padding: 100px 0 60px; 
    text-align: center; 
}

.footer-divider { 
    width: 40px; 
    height: 1px; 
    background: var(--gold); 
    margin: 0 auto 50px; 
    opacity: 0.5; 
}

/* リンク部分：中身を縦並びにして中央に寄せる */
.footer-logo-link {
    display: flex;
    flex-direction: column;
    align-items: center;
    text-decoration: none; /* 下線を消す */
    transition: opacity 0.3s; /* ホバー時の動き */
    cursor: pointer;
}

/* ホバー時に少し薄くして「押せる」ことを伝える */
.footer-logo-link:hover {
    opacity: 0.6;
}

.footer-signature { 
    width: 220px; 
    height: auto; 
    margin-bottom: 15px; 
}

.back-text { 
    font-size: 0.7rem; 
    color: #aaa; 
    letter-spacing: 0.3rem; 
    text-transform: uppercase; 
    margin: 0; /* 余計なマージンをリセット */
}

.final-message { 
    margin-top: 60px; 
    font-size: 0.85rem; 
    color: #888; 
    letter-spacing: 0.1rem; 
}