@font-face {
    font-family: 'GennoNijimi';
    src: url('fonts/幻ノにじみ明朝.woff2') format('woff2');
}
@font-face {
    font-family: 'ShipporiGothic';
    src: url('fonts/しっぽり太ゴシック.woff2') format('woff');
}

body, html {
    margin: 0; padding: 0; background: #fff; color: #000;
    font-family: 'GennoNijimi', serif; overflow-x: hidden;
}

/* 共通タイトル */
.section-title {
    font-family: 'ShipporiGothic', sans-serif;
    text-align: center;
    font-size: 40px;
    margin: 100px 0 60px;
    letter-spacing: 0.1em;
}

/* 1. Thumbnail */
.hero-section { width: 100vw; height: 100vh; position: relative; }
.hero-image-wrapper { width: 100%; height: 100%; }
.hero-image { width: 100%; height: 100%; object-fit: cover; }
.hero-caption { position: absolute; bottom: 5%; left: 5%; font-size: 18px; }

/* 2. SNAP */
:root {
    /* 余白の数値 (〇px) */
    --gap-width: 60px; 
}

/* 1. セクション全体のパディングを左右の余白として設定 */
.snap-section {
    /* 左右に 〇px の余白を強制 */
    padding: 0 var(--gap-width) 100px;
    box-sizing: border-box; /* パディングを含めて幅100%にする */
}

.snap-row {
    display: flex;
    margin-bottom: 80px; /* 行間の余白 */
    width: 100%;
}

/* 2. 縦写真2枚の行：中央に 〇px の余白を作る */
.portrait-row {
    display: flex;
    justify-content: space-between;
    gap: var(--gap-width); /* 中央の余白を 〇px に固定 */
}

/* 3. 縦写真の幅計算：100%から中央の余白を引いた残りを2等分 */
.portrait-row .snap-item {
    /* これにより、左右・中央の余白がすべて均一になります */
    width: calc((100% - var(--gap-width)) / 2);
}

/* 4. 横写真の幅：常に100% */
.wide-row .snap-item {
    /* セクションのpaddingにより、自動的に左右に 〇px の余白が生まれます */
    width: 100%;
}

/* 画像自体の制御 */
.snap-item img {
    width: 100%;
    height: auto;
    display: block;
    object-fit: cover; 
}

/* 演出の初期状態 */
.snap-item {
    opacity: 0;
    filter: blur(20px);
    transform: translateY(40px);
}
/* 3. VISUAL CONTENTS */
.visual-contents-section { padding-bottom: 100px; }
.marquee-wrapper { width: 100%; overflow: hidden; white-space: nowrap; margin-bottom: 50px; cursor: pointer; }
.marquee-content { display: inline-flex; gap: 40px; padding-right: 40px; }
.marquee-content img { height: 280px; width: auto; object-fit: cover; }
.portrait-marquee img { height: 420px; }
.logo-marquee img { height: 280px; object-fit: contain; }

/* 4. Thought Fragments */
@font-face {
    font-family: 'GennoNijimi';
    src: url('fonts/幻ノにじみ明朝.woff2') format('woff2');
    font-display: swap;
}

/* セクション全体 */
.thought-section {
    width: 100%;
    height: 100vh;
    position: relative;
    overflow: hidden;
    background-color: #ffffff; /* 背景が広がる前は黒（または白） */
}

/* 赤丸背景レイヤー */
.thought-bg-ink {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-image: url('背景.jpg');
    background-size: cover;
    background-position: center;
    background-color: #ff0000; /* 画像がない時の保険 */
    
    /* 初期状態：中心の点 */
    clip-path: circle(0% at 50% 50%);
    -webkit-clip-path: circle(0% at 50% 50%);
    
    z-index: 1; /* 一番奥 */
}

/* 文字・ロゴのコンテナ */
.thought-pin-container {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    display: flex;
    justify-content: center;
    align-items: center;
    z-index: 2; /* 背景より上 */
    pointer-events: none;
}

/* 文字のデザイン */
.thought-block {
    position: absolute; /* 同じ位置に重ねる */
    font-family: 'GennoNijimi', serif;
    font-size: 32px;
    color: #fff; /* 背景が赤や黒なら白文字 */
    text-align: center;
    opacity: 0;
    filter: blur(20px);
    visibility: hidden;
}

/* 最後のロゴ */
.final-logo {
    position: absolute;
    max-width: 300px;
    height: auto;
    opacity: 0;
    visibility: hidden;
    filter: blur(20px);
}