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

/* 基本設定 */
body {
    font-family: 'Noto Serif JP', serif;
    line-height: 1.6;
    color: #333;
    background-color: #fff;
}

.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
}

/* ヘッダー */
.header {
    background: linear-gradient(135deg, #fff 0%, #f8f8f8 100%);
    border-bottom: 2px solid #d4af37;
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    z-index: 1000;
    backdrop-filter: blur(10px);
    position: relative;
}

.header::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background-image: 
        /* 菱形文様 */
        repeating-linear-gradient(
            45deg,
            transparent,
            transparent 15px,
            rgba(139, 0, 0, 0.05) 15px,
            rgba(139, 0, 0, 0.05) 16px
        ),
        repeating-linear-gradient(
            -45deg,
            transparent,
            transparent 15px,
            rgba(212, 175, 55, 0.03) 15px,
            rgba(212, 175, 55, 0.03) 16px
        );
    pointer-events: none;
}

.header .container {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 1rem 20px;
    position: relative;
    z-index: 1;
}

.site-title {
    font-size: 2rem;
    font-weight: 600;
    color: #8b0000;
    text-shadow: 1px 1px 2px rgba(0,0,0,0.1);
}

.site-title a {
    text-decoration: none;
    color: #8b0000;
    transition: color 0.3s ease;
}

.site-title a:hover {
    color: #a00000;
}

.nav ul {
    display: flex;
    list-style: none;
    gap: 2rem;
}

.nav a {
    text-decoration: none;
    color: #333;
    font-weight: 500;
    transition: color 0.3s ease;
    position: relative;
}

.nav a:hover {
    color: #8b0000;
}

.nav a::after {
    content: '';
    position: absolute;
    bottom: -5px;
    left: 0;
    width: 0;
    height: 2px;
    background: linear-gradient(90deg, #8b0000, #d4af37);
    transition: width 0.3s ease;
}

.nav a:hover::after {
    width: 100%;
}

/* メインビジュアル */
.hero {
    position: relative;
    min-height: 100vh;
    display: flex;
    align-items: center;
    background: linear-gradient(135deg, #fff 0%, #f8f8f8 100%);
    margin-top: 80px;
}

.hero-content {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 4rem;
    width: 100%;
}

.hero-image {
    max-width: 50%;
    height: auto;
    border-radius: 20px;
    box-shadow: 0 20px 40px rgba(0,0,0,0.1);
    border: 3px solid #d4af37;
}

.hero-text {
    flex: 1;
}

.hero-title {
    font-size: 3.5rem;
    font-weight: 700;
    line-height: 1.2;
    color: #8b0000;
    text-shadow: 2px 2px 4px rgba(0,0,0,0.1);
    margin-bottom: 2rem;
    position: relative;
}

.hero-title::before {
    content: '';
    position: absolute;
    top: -20px;
    left: -20px;
    width: 60px;
    height: 60px;
    background: linear-gradient(45deg, #8b0000, #d4af37);
    border-radius: 50%;
    z-index: -1;
    opacity: 0.1;
}

/* セクション共通 */
.section-title {
    font-size: 2.5rem;
    font-weight: 600;
    color: #8b0000;
    margin-bottom: 2rem;
    position: relative;
    text-align: center;
}

.section-title::after {
    content: '';
    position: absolute;
    bottom: -10px;
    left: 50%;
    transform: translateX(-50%);
    width: 80px;
    height: 3px;
    background: linear-gradient(90deg, #8b0000, #d4af37);
    border-radius: 2px;
}

/* 桃山きよ志セクション */
.about {
    padding: 6rem 0;
    background-image: url('kiyoshi.png');
    background-size: cover;
    background-position: center;
    background-attachment: fixed;
    position: relative;
}

.about::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: rgba(255, 255, 255, 0.9);
}

.about-content {
    text-align: center;
    max-width: 800px;
    margin: 0 auto;
    position: relative;
    z-index: 1;
}

.about-description {
    font-size: 1.3rem;
    line-height: 2;
    color: #555;
    margin-bottom: 2rem;
}

/* サービスセクション */
.service {
    padding: 6rem 0;
    background: #fff;
    position: relative;
}

/* ご祈願・お守りセクション */
#prayer {
    background-image: url('negai.png');
    background-size: cover;
    background-position: center;
    background-attachment: fixed;
}

#prayer::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: rgba(255, 255, 255, 0.9);
}

/* 巫女スクールセクション */
#school {
    background-image: url('school.png');
    background-size: cover;
    background-position: center;
    background-attachment: fixed;
}

#school::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: rgba(255, 255, 255, 0.9);
}

/* 講演・出演のご依頼セクション */
#lecture {
    background-image: url('lecture.png');
    background-size: cover;
    background-position: center;
    background-attachment: fixed;
}

#lecture::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: rgba(255, 255, 255, 0.9);
}

.service-content {
    display: flex;
    align-items: center;
    gap: 4rem;
    position: relative;
    z-index: 1;
}

.service.reverse .service-content {
    flex-direction: row-reverse !important;
}

.service-text {
    flex: 1;
}

.service-description {
    font-size: 1.1rem;
    line-height: 1.8;
    color: #555;
    margin-bottom: 2rem;
}

.service-image {
    flex: 1;
    display: flex;
    justify-content: center;
}

.image-placeholder {
    width: 400px;
    height: 300px;
    background: linear-gradient(135deg, #f0f0f0 0%, #e0e0e0 100%);
    border: 2px dashed #d4af37;
    border-radius: 15px;
    display: flex;
    align-items: center;
    justify-content: center;
    color: #8b0000;
    font-weight: 500;
    font-size: 1.1rem;
}

/* ボタン */
.btn {
    background: linear-gradient(135deg, #8b0000 0%, #a00000 100%);
    color: #fff;
    border: none;
    padding: 1rem 2rem;
    font-size: 1.1rem;
    font-weight: 500;
    border-radius: 50px;
    cursor: pointer;
    transition: all 0.3s ease;
    box-shadow: 0 4px 15px rgba(139, 0, 0, 0.3);
    position: relative;
    overflow: hidden;
}

.btn::before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg, transparent, rgba(255,255,255,0.2), transparent);
    transition: left 0.5s ease;
}

.btn:hover {
    transform: translateY(-2px);
    box-shadow: 0 6px 20px rgba(139, 0, 0, 0.4);
}

.btn:hover::before {
    left: 100%;
}

/* フッター */
.footer {
    background: linear-gradient(135deg, #8b0000 0%, #6b0000 100%);
    color: #fff;
    text-align: center;
    padding: 2rem 0;
    margin-top: 4rem;
}

/* レスポンシブデザイン */
@media (max-width: 768px) {
    .header .container {
        flex-direction: column;
        gap: 1rem;
    }
    
    .nav ul {
        gap: 1rem;
    }
    
    .hero-content {
        flex-direction: column;
        text-align: center;
        gap: 2rem;
    }
    
    .hero-image {
        max-width: 100%;
    }
    
    .hero-title {
        font-size: 2.5rem;
    }
    
    .service-content {
        flex-direction: column;
        gap: 2rem;
    }
    
    .service.reverse .service-content {
        flex-direction: column-reverse;
    }
    
    .image-placeholder {
        width: 100%;
        max-width: 400px;
    }
    
    .section-title {
        font-size: 2rem;
    }
}

@media (max-width: 480px) {
    .hero-title {
        font-size: 2rem;
    }
    
    .section-title {
        font-size: 1.8rem;
    }
    
    .about-description {
        font-size: 1.1rem;
    }
    
    .service-description {
        font-size: 1rem;
    }
}
