/* テンプレート35: サンセット系グラデーション */
@import url('https://fonts.googleapis.com/css2?family=Rounded+Mplus+1c:wght@400;500;700&display=swap');

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

body {
    font-family: 'Rounded Mplus 1c', 'M PLUS Rounded 1c', sans-serif;
    font-size: 16px;
    line-height: 1.9;
    color: #5d4e37;
    background: linear-gradient(135deg, #ffecd2 0%, #fcb69f 50%, #ff9a9e 100%);
    min-height: 100vh;
}

.layout-wrapper { display: flex; min-height: 100vh; }

.fixed-sidebar {
    position: fixed;
    top: 0;
    left: 0;
    width: 270px;
    height: 100vh;
    background: linear-gradient(180deg, #ff7e5f 0%, #feb47b 100%);
    padding: 40px 0;
    box-shadow: 4px 0 25px rgba(255, 126, 95, 0.3);
}

.sidebar-logo { font-size: 1.4rem; font-weight: 700; color: #fff; text-align: center; padding: 0 20px 30px; border-bottom: 1px solid rgba(255,255,255,0.3); margin-bottom: 25px; }
.sidebar-nav ul { list-style: none; }
.sidebar-nav a { display: block; padding: 15px 30px; color: rgba(255,255,255,0.9); text-decoration: none; font-size: 0.95rem; transition: all 0.3s; border-left: 4px solid transparent; }
.sidebar-nav a:hover, .sidebar-nav a.active { background: rgba(255,255,255,0.15); border-left-color: #fff; color: #fff; }
.sidebar-footer { position: absolute; bottom: 30px; left: 0; right: 0; text-align: center; color: rgba(255,255,255,0.7); font-size: 0.8rem; padding: 0 20px; }

.main-content { flex: 1; margin-left: 270px; padding: 50px; }

.content-box {
    background: linear-gradient(180deg, #ffffff 0%, #fff9f5 100%);
    border-radius: 25px;
    padding: 55px 65px;
    box-shadow: 0 15px 50px rgba(255, 126, 95, 0.15);
    border: 2px solid #feb47b;
    max-width: 850px;
}

.content-box h1 { font-size: 1.9rem; color: #ff7e5f; margin-bottom: 30px; }

.text-section { margin-bottom: 35px; }
.text-section h2 { font-size: 1.35rem; color: #e85d04; margin-bottom: 18px; padding: 12px 20px; background: linear-gradient(90deg, #ffecd2 0%, transparent 100%); border-radius: 10px; }
.text-section p { margin-bottom: 16px; color: #5d4e37; }

.bottom-image { text-align: center; margin: 35px 0 0; }
.bottom-image img { max-width: 100%; height: auto; max-height: 320px; border-radius: 15px; box-shadow: 0 10px 35px rgba(255, 126, 95, 0.2); border: 3px solid #fcb69f; }

.content-footer { text-align: center; margin-top: 40px; color: #a0785c; font-size: 0.85rem; }
.content-footer p { color: #a0785c; margin: 0; }

.sitemap-list { list-style: none; padding: 0; }
.sitemap-list li { margin-bottom: 12px; padding-left: 20px; position: relative; }
.sitemap-list li::before { content: '☀'; position: absolute; left: 0; color: #ff7e5f; font-size: 0.8rem; }
.sitemap-list a { color: #e85d04; text-decoration: none; }
.sitemap-list a:hover { color: #fcb69f; }

@media (max-width: 900px) {
    .fixed-sidebar { position: relative; width: 100%; height: auto; padding: 25px 0; }
    .sidebar-nav ul { display: flex; flex-wrap: wrap; justify-content: center; padding: 0 15px; }
    .sidebar-nav a { padding: 10px 15px; font-size: 0.85rem; border-left: none; }
    .sidebar-footer { display: none; }
    .layout-wrapper { flex-direction: column; }
    .main-content { margin-left: 0; padding: 30px 20px; }
    .content-box { padding: 35px 28px; }
}

/* アニメーション追加 */
.fade-in { opacity: 0; transform: translateY(30px); transition: all 0.7s ease; }
.fade-in.visible { opacity: 1; transform: translateY(0); }

.back-to-top {
    display: none; position: fixed; bottom: 30px; right: 30px;
    width: 50px; height: 50px; background: linear-gradient(135deg, #ff7e5f 0%, #feb47b 100%);
    color: #fff; border: none; border-radius: 50%; cursor: pointer;
    font-size: 1.2rem; box-shadow: 0 5px 20px rgba(255, 126, 95, 0.4);
    transition: all 0.3s; z-index: 998;
}
.back-to-top:hover { transform: translateY(-5px); }

.mobile-menu-btn {
    display: none; position: fixed; top: 20px; left: 20px; z-index: 1001;
    width: 45px; height: 45px; background: #ff7e5f; border: none;
    border-radius: 50%; color: #fff; font-size: 1.3rem; cursor: pointer;
}

@media (max-width: 900px) {
    .mobile-menu-btn { display: block; }
    .fixed-sidebar { transform: translateX(-100%); transition: transform 0.4s; }
    .fixed-sidebar.show { transform: translateX(0); }
    body.sidebar-open { overflow: hidden; }
    .main-content { margin-left: 0 !important; }
}
