/* テンプレート54: アコーディオン型 */
@import url('https://fonts.googleapis.com/css2?family=Libre+Baskerville:wght@400;700&family=Noto+Serif+JP:wght@400;600&display=swap');
* { margin: 0; padding: 0; box-sizing: border-box; }
body { font-family: 'Noto Serif JP', serif; font-size: 16px; line-height: 2; color: #2c3e50; background: linear-gradient(180deg, #faf8f5 0%, #f5f0e8 100%); }

.site-header { background: #2c3e50; padding: 0 40px; display: flex; justify-content: space-between; align-items: center; }
.logo { font-family: 'Libre Baskerville', serif; font-size: 1.5rem; color: #f5f0e8; padding: 25px 0; }
.main-nav ul { list-style: none; display: flex; }
.main-nav a { display: block; padding: 28px 22px; color: rgba(245, 240, 232, 0.8); text-decoration: none; font-size: 0.9rem; transition: all 0.3s; }
.main-nav a:hover { color: #f5f0e8; background: rgba(255,255,255,0.1); }

.hero-section { background: url('../img/header.jpg') center / cover no-repeat; padding: 100px 40px; text-align: center; }
.hero-section h1 { font-family: 'Libre Baskerville', serif; font-size: 2.5rem; color: #f5f0e8; margin-bottom: 20px; }
.hero-section p { color: rgba(245, 240, 232, 0.8); font-size: 1.1rem; }

.main-content { padding: 80px 0; }
.container { max-width: 900px; margin: 0 auto; padding: 0 30px; }

/* アコーディオン */
.accordion { margin-bottom: 50px; }
.accordion-item { background: #fff; border-radius: 12px; margin-bottom: 15px; box-shadow: 0 4px 20px rgba(44, 62, 80, 0.08); overflow: hidden; }
.accordion-item.fade-in { opacity: 0; transform: translateY(20px); transition: all 0.5s; }
.accordion-item.fade-in.visible { opacity: 1; transform: translateY(0); }
.accordion-header { padding: 25px 30px; cursor: pointer; display: flex; justify-content: space-between; align-items: center; transition: all 0.3s; }
.accordion-header:hover { background: #faf8f5; }
.accordion-header h3 { font-size: 1.2rem; color: #2c3e50; font-weight: 600; }
.accordion-icon { font-size: 1.5rem; color: #2c3e50; transition: transform 0.3s; }
.accordion-item.active .accordion-icon { transform: rotate(45deg); }
.accordion-content { max-height: 0; overflow: hidden; transition: max-height 0.4s ease; }
.accordion-item.active .accordion-content { max-height: 500px; }
.accordion-body { padding: 0 30px 30px; }
.accordion-body p { color: #5d6d7e; }
.accordion-body img { width: 100%; border-radius: 8px; margin-top: 20px; }

.content-box { background: #fff; border-radius: 12px; padding: 50px; box-shadow: 0 4px 20px rgba(44, 62, 80, 0.08); border-top: 4px solid #2c3e50; }
.content-box h2 { font-family: 'Libre Baskerville', serif; font-size: 1.6rem; color: #2c3e50; margin-bottom: 20px; }

.site-footer { background: #2c3e50; color: rgba(245, 240, 232, 0.7); padding: 50px 40px; text-align: center; }
.footer-nav { margin-bottom: 20px; }
.footer-nav a { color: rgba(245, 240, 232, 0.7); text-decoration: none; margin: 0 15px; transition: color 0.3s; }
.footer-nav a:hover { color: #f5f0e8; }

.hamburger { display: none; width: 28px; height: 20px; position: relative; cursor: pointer; }
.hamburger span { display: block; position: absolute; width: 100%; height: 2px; background: #f5f0e8; transition: all 0.3s; }
.hamburger span:nth-child(1) { top: 0; }
.hamburger span:nth-child(2) { top: 9px; }
.hamburger span:nth-child(3) { top: 18px; }
.mobile-nav { display: none; position: fixed; top: 0; right: -100%; width: 280px; height: 100vh; background: #2c3e50; padding: 80px 30px; transition: right 0.4s; z-index: 999; }
.mobile-nav.open { right: 0; }
.mobile-nav a { display: block; padding: 15px 0; color: #f5f0e8; text-decoration: none; border-bottom: 1px solid #34495e; }

.back-to-top { display: none; position: fixed; bottom: 30px; right: 30px; width: 50px; height: 50px; background: #2c3e50; color: #f5f0e8; border: none; border-radius: 50%; cursor: pointer; z-index: 998; }

.sitemap-list { list-style: none; }
.sitemap-list li { margin-bottom: 15px; padding-left: 25px; position: relative; }
.sitemap-list li::before { content: '▸'; position: absolute; left: 0; color: #2c3e50; }
.sitemap-list a { color: #2c3e50; text-decoration: none; }

@media (max-width: 768px) {
    .main-nav { display: none; }
    .hamburger { display: block; }
    .mobile-nav { display: block; }
    .hero-section h1 { font-size: 1.8rem; }
    .accordion-header { padding: 20px; }
    .accordion-body { padding: 0 20px 20px; }
    .content-box { padding: 30px 25px; }
}
