@charset "UTF-8";

/* 全体の基本スタイル */
body {
    margin: 0;
    padding: 0;
    font-family: "游明朝", "Yu Mincho", "Shippori Mincho", serif;
    color: #4a4a4a;
    background-color: #fdfaf6;
}

/* ヘッダー全体 */
.site-header {
    background-color: #fffaf0;
    padding: 30px 20px;
    border-bottom: 1px solid #ccc;
    text-align: center;
}

/* タイトル構成 */
.site-title {
    display: flex;
    justify-content: center;
    align-items: baseline;
    gap: 20px;
    flex-wrap: wrap;
    font-family: "Shippori Mincho", serif;
    margin-bottom: 30px;
}

.title-left,
.title-center,
.title-right {
    color: #7a6c5d;
    letter-spacing: 1px;
}

.title-left {
    font-size: 14px;
    font-style: italic;
    letter-spacing: 0.5px;
    margin-top: 4px;
}

.title-center {
    font-size: 32px;
    font-weight: bold;
    text-shadow: 1px 1px 2px #ccc;
    margin-top: 0;
}

.title-right {
    font-size: 16px;
    font-style: italic;
    font-weight: 500px;
    opacity: 0.9;
    margin-top: 4px;
}

/* ナビゲーションメニュー */
.main-nav ul {
    list-style: none;
    display: flex;
    justify-content: center;
    gap: 30px;
    padding: 0;
    margin-top: 50px;
}

.main-nav a {
    text-decoration: none;
    color: #4a4a4a;
    font-weight: bold;
    transition: color 0.3s ease;
}

.main-nav a:hover {
    color: #a67c52;
}
/* ==========================================================================
   4. AI Art Gallery 専用スタイル（世界観を壊さず少しモダンに）
   ========================================================================== */
.category {
    padding: 3em 1em; /* 少しゆとりを持たせて贅沢な空間に */
    border-top: 1px dashed #ccc;
}

/* 最初のセクションだけ線を表示しない */
.category:first-of-type {
    border-top: none;
}

/* カテゴリ名（タイトルを小さく、より上品に） */
.category h2 {
    text-align: center;
    font-size: 0.85rem;      /* さらに小さく（1rem = 16pxなので約13.6px） */
    color: #8a7d7d;         /* 少し色を薄くして存在感を抑える */
    margin-top: 0;
    margin-bottom: 1.5rem;  /* 下の画像との距離も少し詰めました */
    font-family: "Shippori Mincho", serif;
    letter-spacing: 0.15em; /* 文字の間隔を広げて「余白の美」を出す */
    font-weight: normal;    /* 太字を解除して軽やかに */
    opacity: 0.7;           /* 少し透かすことで背景に馴染ませる */
}

.gallery {
    display: flex;
    flex-wrap: wrap;
    gap: 2em; /* 画像同士の間隔を広げてギャラリー感を出す */
    justify-content: center;
}

/* AI画像：アナログ作品と差を出すために少しだけ「角丸」と「柔らかい影」に */
.gallery img {
    width: 100%;       /* レスポンシブ対応 */
    max-width: 400px;  /* AI画像は少し大きく見せても綺麗です */
    height: auto;
    border: 8px solid #fff; /* 写真のフチのような白枠 */
    border-radius: 2px;
    box-shadow: 0 10px 25px rgba(0,0,0,0.08); /* 影をより柔らかく */
    transition: transform 0.5s ease, box-shadow 0.5s ease;
}

.gallery img:hover {
    transform: translateY(-10px); /* 上にふわっと浮き上がる */
    box-shadow: 0 20px 40px rgba(0,0,0,0.12);
}

/* フッター */
.site-footer {
    background-color: #faf3ea;
    color: #7a6c5d;
    text-align: center;
    padding: 30px 20px;
    font-family: "Shippori Mincho", serif;
    font-size: 0.9em;
    border-top: 1px solid #d8cfc0;
    margin-top: 60px;
    position: relative;
}

.footer-text {
    margin: 0;
    font-weight: bold;
    letter-spacing: 0.5px;
}

.footer-subtext {
    margin-top: 8px;
    font-style: italic;
    opacity: 0.8;
}

/* スマホ対応 */
@media (max-width: 600px) {
    .main-nav ul {
        flex-direction: column;
        gap: 15px;
    }
    .site-title {
        flex-direction: column;
        align-items: center;
        gap: 5px;
    }
}