/* Base & Reset */
:root {
    --bg-deep: #050505;
    --text-main: #f0eadd;
    --accent-red: #a81c1c;
    --accent-gold: #cfb53b;
    --font-jp: 'Noto Serif JP', serif;
    --font-en: 'Cinzel', serif;
}

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: var(--font-jp);
    background-color: var(--bg-deep);
    color: var(--text-main);
    line-height: 1.8;
    -webkit-font-smoothing: antialiased;
    -webkit-overflow-scrolling: touch;
}

.container {
    padding: 0 25px;
    max-width: 600px;
    margin: 0 auto;
}

.highlight {
    color: var(--accent-red);
}

.gold-text {
    color: var(--accent-gold);
    font-weight: bold;
    font-size: 1.1em;
}

/* Top Bar */
.top-bar {
    background: #000;
    color: #4CAF50;
    font-family: monospace;
    font-size: 0.75rem;
    padding: 8px;
    text-align: center;
    position: fixed;
    top: 0;
    width: 100%;
    z-index: 1000;
    letter-spacing: 0.1em;
    border-bottom: 1px solid #111;
}

.pulse-dot {
    display: inline-block;
    width: 8px;
    height: 8px;
    background-color: #4CAF50;
    border-radius: 50%;
    margin-right: 5px;
    animation: blinker 1.5s linear infinite;
}

@keyframes blinker {
    50% { opacity: 0; }
}

/* Hero Section */
.hero {
    position: relative;
    /* 画像を追加したため、高さを固定せずコンテンツに合わせる */
    min-height: 100vh;
    display: flex;
    flex-direction: column;
    justify-content: center;
    padding: 60px 20px 40px;
    text-align: center;
}

.hero-bg {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(180deg, rgba(5,5,5,0.4) 0%, rgba(5,5,5,1) 100%), url('https://images.unsplash.com/photo-1542051812871-34f2cf77b102?auto=format&fit=crop&q=80&w=1000') center/cover;
    z-index: -1;
    filter: grayscale(30%) contrast(120%);
}

.location-badge {
    display: inline-block;
    border: 1px solid var(--accent-gold);
    background: rgba(0, 0, 0, 0.7);
    color: var(--accent-gold);
    padding: 8px 20px;
    border-radius: 4px;
    font-family: var(--font-en);
    font-size: 1.45rem;
    letter-spacing: 0.1em;
    margin-bottom: 25px;
    backdrop-filter: blur(5px);
}

.pre-headline {
    color: #ccc;
    font-size: 1rem;
    margin-bottom: 15px;
    letter-spacing: 0.05em;
}

.main-headline {
    font-size: 2.3rem;
    line-height: 1.3;
    margin-bottom: 25px;
    font-weight: 900;
    text-shadow: 0 4px 20px rgba(0,0,0,1);
}

.sub-headline {
    font-size: 1.15rem;
    color: #e0e0e0;
    line-height: 1.6;
    margin-bottom: 20px;
}

/* ★追加：Hero Image Styling (秘密のぞき見感の演出) */
.hero-image-wrapper {
    position: relative;
    max-width: 100%;
    margin: 0 auto 10px;
    border: 2px solid #222;
    border-radius: 4px;
    box-shadow: 0 15px 40px rgba(0,0,0,0.9), 0 0 20px rgba(207, 181, 59, 0.2);
    overflow: hidden;
    /* 金色の薄い光彩を当てて高級感を出す */
    border-bottom: 2px solid var(--accent-gold);
}

.secret-reveal-img {
    width: 100%;
    height: auto;
    display: block;
    /* 少し暗くしてミステリアスな雰囲気を強調 */
    filter: brightness(0.85) contrast(1.1);
    transition: filter 0.5s ease, transform 5s ease;
}

/* デジタルスキャンライン風のエフェクトで極秘ファイル感を演出 */
.image-scanline {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(
        to bottom,
        rgba(255,255,255,0),
        rgba(255,255,255,0) 50%,
        rgba(0,0,0,0.2) 50%,
        rgba(0,0,0,0.2)
    );
    background-size: 100% 4px;
    z-index: 2;
    pointer-events: none;
    opacity: 0.5;
}

.hero-image-wrapper:hover .secret-reveal-img {
    filter: brightness(1.1) contrast(1.1);
    transform: scale(1.05);
}

/* Narrative Section */
.narrative-section {
    padding: 3rem 0 4rem;
    background: #0a0a0a;
}

.section-title {
    font-size: 1.6rem;
    color: var(--accent-gold);
    text-align: center;
    margin-bottom: 2rem;
    line-height: 1.5;
}

.story-text p {
    margin-bottom: 1.8rem;
    font-size: 1.05rem;
    color: #d0c8b8;
    text-align: justify;
}

/* Trust Section */
.trust-section {
    padding: 0 0 4rem;
    background: #0a0a0a;
}

.trust-grid {
    display: flex;
    flex-direction: column;
    gap: 1.5rem;
}

.trust-item {
    background: rgba(255, 255, 255, 0.03);
    border-left: 3px solid var(--accent-gold);
    padding: 1.5rem;
}

.trust-item h4 {
    font-family: var(--font-en);
    color: var(--accent-gold);
    font-size: 1.1rem;
    margin-bottom: 0.5rem;
}

.trust-item p {
    font-size: 0.95rem;
    color: #aaa;
}

/* Passcode Section */
.passcode-section {
    padding: 2rem 0 4rem;
    background: #050505;
}

.passcode-box {
    border: 1px solid #333;
    background: linear-gradient(135deg, rgba(20,20,20,1) 0%, rgba(5,5,5,1) 100%);
    padding: 2.5rem 1.5rem;
    border-radius: 8px;
    text-align: center;
    box-shadow: 0 10px 30px rgba(0,0,0,0.8);
    position: relative;
    overflow: hidden;
}

.passcode-box::before {
    content: '';
    position: absolute;
    top: 0; left: 0; right: 0; height: 3px;
    background: linear-gradient(90deg, transparent, var(--accent-gold), transparent);
}

.box-title {
    font-family: var(--font-en);
    color: #fff;
    font-size: 1.2rem;
    margin-bottom: 1rem;
    letter-spacing: 0.1em;
}

.box-desc {
    font-size: 0.95rem;
    margin-bottom: 1.5rem;
    color: #ccc;
}

.passcode-word {
    font-family: var(--font-en);
    font-size: 1.8rem;
    color: var(--accent-gold);
    border: 1px dashed var(--accent-gold);
    padding: 15px 10px;
    margin-bottom: 1.5rem;
    background: rgba(207, 181, 59, 0.05);
    letter-spacing: 0.05em;
}

.bonus-text {
    font-size: 0.85rem;
    color: #aaa;
    line-height: 1.5;
}

/* Sticky Bottom CTA */
.bottom-spacer {
    height: 160px;
}

.sticky-cta {
    position: fixed;
    bottom: 0;
    left: 0;
    width: 100%;
    background: rgba(5, 5, 5, 0.98);
    backdrop-filter: blur(15px);
    padding: 10px 20px 25px;
    border-top: 1px solid #222;
    z-index: 999;
}

.urgency-bar {
    text-align: center;
    font-size: 0.85rem;
    color: #ccc;
    margin-bottom: 12px;
}

.blink {
    color: #ff4d4d;
    font-weight: bold;
    animation: blinker 2s linear infinite;
}

.action-button {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    background: linear-gradient(to right, var(--accent-red), #7a1010);
    color: white;
    text-decoration: none;
    padding: 15px;
    border-radius: 6px;
    box-shadow: 0 5px 20px rgba(168, 28, 28, 0.4);
    border: 1px solid #ff4d4d;
    transition: transform 0.2s;
}

.action-button:active {
    transform: scale(0.97);
}

.btn-subtitle {
    font-family: var(--font-en);
    font-size: 0.75rem;
    letter-spacing: 0.15em;
    opacity: 0.8;
    margin-bottom: 4px;
}

.btn-title {
    font-size: 1.3rem;
    font-weight: 900;
}

.micro-copy {
    text-align: center;
    font-size: 0.7rem;
    color: #666;
    margin-top: 12px;
}