/* 基本リセット */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body, html {
    height: 100%;
    background-color: #000; /* Vegas読み込み前の保険 */
}

/* --- 背景の固定設定 --- */
#vegas-bg {
    position: fixed; /* これでスクロール時に動かない */
    top: 0;
    left: 0;
    width: 100%;
    height: 100vh;
    z-index: 0; /* 一番奥 */
}

/* Vegasが生成する背景画像に「タイル（繰り返し）」を強制する */
.vegas-slide-inner {
    background-repeat: repeat !important;
    background-size: auto !important; /* coverではなくautoにすることでタイル化 */
}

/* --- 中央1/3のレイアウト --- */
.scroll-wrapper {
    width: 100%;
    display: flex;
    justify-content: center; /* 横方向の中央寄せ */
}

.content-center {
    width: 33.3333%; /* 画面の1/3 */
    min-width: 380px; /* 細くなりすぎ防止 */
    background-color: rgba(255, 255, 255, 1.00); /* わずかに透かす高級感 */
    min-height: 100vh;
    padding: 60px 40px;
    box-shadow: 0 0 40px rgba(0,0,0,0.5);
    z-index: 10;
	position: relative; /* z-indexを有効にするために必要 */
}

/* --- 装飾 --- */
.shop-header {
    text-align: center;
    margin-bottom: 80px;
}

.shop-header h1 {
    font-family: serif;
    letter-spacing: 0.4em;
    border-bottom: 1px solid #333;
    display: inline-block;
    padding-bottom: 10px;
}

.content-section {
    margin-bottom: 60px;
}

.content-section h2 {
    font-size: 1.1rem;
    color: #666;
    margin-bottom: 15px;
    text-transform: uppercase;
}

.content-section p {
    line-height: 2;
    font-size: 0.95rem;
    color: #333;
    text-align: justify;
}

/* C++コードの表示 */
.code-block {
    background: #1e1e1e;
    padding: 20px;
    margin-top: 20px;
    border-left: 4px solid #0078d4;
}

pre {
    color: #d4d4d4;
    font-family: 'Consolas', monospace;
    font-size: 0.85rem;
    overflow-x: auto;
}

.shop-footer {
    margin-top: 100px;
    text-align: center;
    font-size: 0.7rem;
    color: #999;
}
