@charset "utf-8";

/* ============================================================
   reset.css — kagemoto commission page (Cleaned & Optimized)
   ============================================================ */

html {
    scroll-behavior: smooth;
    box-sizing: border-box;
}

*, *::before, *::after {
    margin: 0;
    padding: 0;
    box-sizing: inherit;
}

body {
    position: relative;
    font-weight: 300;
}

/* シックなカラーのテキスト選択ハイライト */
::selection {
    background-color: var(--ink);
    color: var(--paper);
}

ul, ol {
    margin: 0;
    padding: 0;
    list-style: none;
}

a {
    text-decoration: none;
    color: inherit;
    transition: color 0.2s;
}

h1, h2, h3, h4, h5, h6 {
    font-weight: normal;
    margin: 0;
    padding: 0;
}

img {
    max-width: 100%;
    height: auto;
    display: block;
}

/* ギャラリー用モーダルウィンドウ（script.jsで使用） */
.addWindow {
    position: fixed;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    top: 0;
    left: 0;
    z-index: 1000;
    width: 100%;
    height: 100%;
    background: rgba(15, 14, 13, 0.95); /* Noirのインク色を基調としたダークオーバーレイ */
    transition: opacity 0.25s ease-out;
    cursor: zoom-out;
}

.addWindow > img {
    position: relative;
    object-fit: scale-down;
    max-width: 90%;
    max-height: 80%;
    margin-bottom: 1.5rem;
    box-shadow: 0 8px 30px rgba(0, 0, 0, 0.5);
    cursor: zoom-out;
}

.addWindow > p {
    font-family: var(--ff-mono);
    font-size: 0.9rem;
    letter-spacing: 0.1em;
    color: var(--paper);
    text-align: center;
    max-width: 80%;
}
