/* テンプレート26: 右サイドバーナビ + 背景画像 + グレー系 */
@import url('https://fonts.googleapis.com/css2?family=Shippori+Mincho:wght@400;600;700&display=swap');

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

body {
    font-family: 'Shippori Mincho', 'Yu Mincho', serif;
    font-size: 16px;
    line-height: 2;
    color: #374151;
    background-color: #f3f4f6;
}

/* ヒーロー背景画像 */
.hero-bg {
    height: 350px;
    background: url('img/hero-bg.jpg') center center / cover no-repeat;
    position: relative;
}

.hero-overlay {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: linear-gradient(135deg, rgba(55, 65, 81, 0.85) 0%, rgba(17, 24, 39, 0.9) 100%);
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    text-align: center;
    padding: 30px;
}

.hero-title {
    font-size: 2.8rem;
    font-weight: 700;
    color: #fff;
    margin-bottom: 15px;
    letter-spacing: 0.1em;
}

.hero-subtitle {
    font-size: 1.1rem;
    color: rgba(255,255,255,0.8);
}

/* レイアウト */
.layout-wrapper {
    display: flex;
    max-width: 1200px;
    margin: 0 auto;
    padding: 50px 30px;
    gap: 40px;
}

/* メインコンテンツ */
.main-content {
    flex: 1;
    min-width: 0;
}

.content-box {
    background: #fff;
    border-radius: 4px;
    padding: 55px 65px;
    box-shadow: 0 2px 20px rgba(0,0,0,0.06);
    border: 1px solid #e5e7eb;
}

.section-block {
    margin-bottom: 40px;
    padding-bottom: 40px;
    border-bottom: 1px solid #e5e7eb;
}

.section-block:last-child {
    margin-bottom: 0;
    padding-bottom: 0;
    border-bottom: none;
}

.section-block h2 {
    font-size: 1.5rem;
    font-weight: 600;
    color: #1f2937;
    margin-bottom: 20px;
    padding-bottom: 12px;
    border-bottom: 2px solid #6b7280;
    display: inline-block;
}

.section-block p {
    margin-bottom: 18px;
    text-align: justify;
    color: #4b5563;
}

.section-block p:last-child {
    margin-bottom: 0;
}

/* 右サイドバーナビ */
.right-sidebar {
    width: 260px;
    flex-shrink: 0;
}

.sidebar-logo {
    background: linear-gradient(135deg, #4b5563 0%, #1f2937 100%);
    color: #fff;
    padding: 25px 20px;
    text-align: center;
    font-size: 1.3rem;
    font-weight: 700;
    border-radius: 4px 4px 0 0;
}

.sidebar-nav {
    background: #fff;
    border: 1px solid #e5e7eb;
    border-top: none;
}

.sidebar-nav ul {
    list-style: none;
}

.sidebar-nav li {
    border-bottom: 1px solid #f3f4f6;
}

.sidebar-nav li:last-child {
    border-bottom: none;
}

.sidebar-nav a {
    display: block;
    padding: 16px 22px;
    color: #4b5563;
    text-decoration: none;
    font-size: 0.95rem;
    transition: all 0.3s ease;
    position: relative;
}

.sidebar-nav a::before {
    content: '›';
    position: absolute;
    right: 20px;
    color: #9ca3af;
    transition: all 0.3s ease;
}

.sidebar-nav a:hover,
.sidebar-nav a.active {
    background: #f9fafb;
    color: #1f2937;
    padding-left: 28px;
}

.sidebar-nav a:hover::before,
.sidebar-nav a.active::before {
    right: 16px;
    color: #4b5563;
}

.sidebar-info {
    background: #f9fafb;
    padding: 20px;
    border: 1px solid #e5e7eb;
    border-top: none;
    border-radius: 0 0 4px 4px;
    font-size: 0.85rem;
    color: #6b7280;
    text-align: center;
}

/* フッター */
.site-footer {
    background: linear-gradient(135deg, #1f2937 0%, #111827 100%);
    color: rgba(255,255,255,0.7);
    text-align: center;
    padding: 30px;
    font-size: 0.85rem;
}

/* レスポンシブ */
@media (max-width: 1024px) {
    .layout-wrapper {
        padding: 40px 25px;
        gap: 30px;
    }
    
    .content-box {
        padding: 45px 50px;
    }
    
    .right-sidebar {
        width: 220px;
    }
}

@media (max-width: 768px) {
    .hero-bg {
        height: 280px;
    }
    
    .hero-title {
        font-size: 2rem;
    }
    
    .layout-wrapper {
        flex-direction: column;
        padding: 30px 20px;
    }
    
    .right-sidebar {
        width: 100%;
        order: -1;
    }
    
    .sidebar-logo {
        border-radius: 4px 4px 0 0;
    }
    
    .sidebar-nav ul {
        display: flex;
        flex-wrap: wrap;
    }
    
    .sidebar-nav li {
        flex: 1;
        min-width: 120px;
        border-bottom: none;
        border-right: 1px solid #f3f4f6;
    }
    
    .sidebar-nav li:last-child {
        border-right: none;
    }
    
    .sidebar-nav a {
        padding: 14px 15px;
        text-align: center;
        font-size: 0.85rem;
    }
    
    .sidebar-nav a::before {
        display: none;
    }
    
    .sidebar-nav a:hover,
    .sidebar-nav a.active {
        padding-left: 15px;
    }
    
    .sidebar-info {
        border-radius: 0 0 4px 4px;
    }
    
    .content-box {
        padding: 35px 28px;
    }
    
    .section-block h2 {
        font-size: 1.3rem;
    }
}

@media (max-width: 480px) {
    .hero-bg {
        height: 220px;
    }
    
    .hero-title {
        font-size: 1.6rem;
    }
    
    .content-box {
        padding: 28px 20px;
    }
    
    .section-block h2 {
        font-size: 1.2rem;
    }
    
    .sidebar-nav li {
        min-width: 100px;
    }
    
    .sidebar-nav a {
        padding: 12px 10px;
        font-size: 0.78rem;
    }
}

/* サイトマップ */
.sitemap-list {
    list-style: none;
    padding: 0;
    margin: 20px 0;
}

.sitemap-list li {
    margin-bottom: 15px;
    padding-left: 20px;
    position: relative;
}

.sitemap-list li::before {
    content: '›';
    position: absolute;
    left: 0;
    font-weight: bold;
}

.sitemap-list a {
    text-decoration: none;
    transition: all 0.3s ease;
}

.sitemap-list a:hover {
    opacity: 0.7;
}
