@charset "UTF-8";
/* Yuji Boku (タイトル用) と Noto Serif JP (本文用) を読み込み */
@import url('https://fonts.googleapis.com/css2?family=Noto+Serif+JP:wght@400;700&family=Yuji+Boku&display=swap');

/* --- Base Variables & Reset --- */
:root {
    --bg-hero: #121212;
    --bg-light: #f9f7f2; /* 生成り色のような温かい白 */
    --text-hero: #e0e0e0;
    --text-body: #4a3b32; /* 焦茶色で柔らかく */
    --accent-color: #d4af37; /* 落ち着いたゴールド */
    --font-heading: 'Yuji Boku', serif;
    --font-body: 'Noto Serif JP', serif; /* フォント変更 */
    --spacing-section: 80px;
    --spacing-inner: 20px;
}

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

html {
    scroll-behavior: smooth; /* スムーズスクロール */
}

body {
    background-color: var(--bg-light); /* 基本背景を明るく */
    color: var(--text-body); /* 基本文字色を濃く */
    font-family: var(--font-body);
    line-height: 2.0;
    -webkit-font-smoothing: antialiased;
}

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

a:hover {
    opacity: 0.7;
}

/* --- Utilities --- */
.container {
    width: 90%;
    max-width: 600px;
    margin: 0 auto;
}

section {
    padding: var(--spacing-section) 0;
    border-bottom: 1px solid rgba(0, 0, 0, 0.05); /* 区切り線を薄く */
}

h2 {
    font-family: var(--font-heading);
    font-size: 2rem;
    color: #8c6a38; /* アクセントより少し濃いブラウンゴールド */
    text-align: center;
    margin-bottom: 2.5rem;
    letter-spacing: 0.1em;
}

/* --- Hero Section (First View) --- */
#hero {
    height: 100vh;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    text-align: center;
    padding: 0 var(--spacing-inner);
    background-color: var(--bg-hero); /* ここだけ黒背景 */
    color: var(--text-hero); /* ここだけ白文字 */
    position: relative;
}

.hero-sub {
    font-size: 1rem;
    color: var(--accent-color);
    letter-spacing: 0.2em;
    margin-bottom: 0.5rem;
    opacity: 0;
    animation: fadeUp 2s ease-out 0.5s forwards;
}

.hero-title {
    font-family: var(--font-heading);
    font-size: 4.5rem;
    margin-bottom: 2rem;
    line-height: 1;
    opacity: 0;
    animation: fadeUp 2.5s ease-out 1s forwards; /* 1秒後に開始 */
}

.hero-desc {
    font-size: 0.95rem;
    max-width: 500px;
    opacity: 0;
    color: #bbb;
    /* タイトル(1s開始)から2秒後に表示させたいので3s遅延 */
    animation: fadeUp 2.5s ease-out 3s forwards; 
}

/* Scroll Down Button */
.scroll-down {
    position: absolute;
    bottom: 30px;
    left: 50%;
    transform: translateX(-50%);
    color: var(--text-hero);
    font-size: 0.8rem;
    opacity: 0;
    animation: fadeIn 2s ease-out 4s forwards;
    padding-bottom: 10px;
}

.scroll-down::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 50%;
    width: 1px;
    height: 40px;
    background: #666;
    animation: scrollLine 1.5s infinite;
}

@keyframes fadeUp {
    from { opacity: 0; transform: translateY(20px); }
    to { opacity: 1; transform: translateY(0); }
}

@keyframes fadeIn {
    to { opacity: 1; }
}

@keyframes scrollLine {
    0% { height: 0; top: 0; opacity: 0; }
    50% { height: 40px; top: 0; opacity: 1; }
    100% { height: 0; top: 40px; opacity: 0; }
}

/* --- Gallery Section --- */
#gallery {
    padding: 0;
    background-color: #fff;
}

.slider-container {
    position: relative;
    width: 100%;
    height: 50vh;
    background-color: #eee;
}

.slide {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    opacity: 0;
    transition: opacity 1.5s ease-in-out;
    object-fit: cover;
}

.slide.active {
    opacity: 1;
}

/* --- Info & Details Definition Lists --- */
dl {
    display: grid;
    grid-template-columns: 100px 1fr;
    gap: 20px 10px;
    font-size: 1rem;
}

dt {
    color: #8c6a38;
    font-weight: 700;
    border-left: 3px solid var(--accent-color);
    padding-left: 10px;
    height: fit-content;
}

dd {
    margin-bottom: 0.5rem;
}

.map-link {
    display: inline-block;
    margin-top: 8px;
    padding: 6px 16px;
    border: 1px solid #8c6a38;
    color: #8c6a38;
    font-size: 0.85rem;
    border-radius: 4px;
    background-color: #fff;
}

/* --- Message Section --- */
#message {
    background-color: #fff; /* 白背景で清潔感 */
}

.message-text {
    font-family: var(--font-heading);
    font-size: 1.3rem;
    text-align: center;
    line-height: 2.4;
    padding: 2rem 0;
    color: #333;
}

/* --- Details Section --- */
#details {
    background-color: var(--bg-light);
}

/* --- Footer --- */
footer {
    padding: 40px 0;
    text-align: center;
    font-size: 0.8rem;
    color: #888;
    background-color: #333; /* フッターは引き締める */
    color: #ccc;
}

/* --- Responsive for Desktop --- */
@media (min-width: 768px) {
    .container {
        max-width: 700px;
    }
    .hero-title {
        font-size: 6rem;
    }
    dl {
        grid-template-columns: 140px 1fr;
    }
}