@import url('https://fonts.googleapis.com/css2?family=M+PLUS+Rounded+1c:wght@400;700;900&display=swap');

body {
    font-family: 'M PLUS Rounded 1c', 'Noto Sans JP', sans-serif;
    background: linear-gradient(180deg, #E3F2FD 0%, #FFFFFF 300px);
    color: #3C4043;
    line-height: 1.8;
}
.container {
    max-width: 900px;
    margin: 0 auto;
    padding: 40px 20px;
}
.hero { text-align: center; margin-bottom: 80px; }
.hero-image { width: 200px; height: 200px; margin: 0 auto 20px; position: relative; }
.hero-image svg { width: 100%; height: 100%; filter: drop-shadow(0 5px 15px rgba(0,160,233,0.2)); }
.hero h1 { font-size: 4rem; font-weight: 900; color: #00A0E9; margin: 0; }
.hero p { font-size: 1.3rem; font-weight: 700; color: #555; }

.toc {
    background: rgba(255,255,255,0.7);
    backdrop-filter: blur(10px);
    padding: 30px;
    border-radius: 12px;
    border: 1px solid #fff;
    box-shadow: 0 8px 32px 0 rgba(0,160,233,0.1);
    margin-bottom: 80px;
}
.toc h2 { margin-top: 0; font-weight: 900; color: #00A0E9; }
.toc ul { list-style: none; padding: 0; margin: 0; display: grid; grid-template-columns: repeat(2, 1fr); gap: 10px; }
.toc li a { text-decoration: none; color: #01579B; font-weight: 700; transition: color 0.3s; }
.toc li a:hover { color: #00A0E9; }

.chapter { margin-bottom: 80px; }
.chapter h2 {
    font-size: 2.5rem; font-weight: 900; color: #00A0E9;
    border-bottom: 4px solid;
    border-image: linear-gradient(to right, #FFD700, #00A0E9) 1;
    padding-bottom: 15px; margin-bottom: 40px;
}
.chapter h3 {
    font-size: 1.8rem; font-weight: 700; color: #333;
    border-left: 6px solid #00A0E9; padding-left: 20px; margin-top: 50px;
}

.profile-table {
    width: 100%; border-collapse: collapse; background: #fff;
    border-radius: 8px; overflow: hidden; box-shadow: 0 4px 15px rgba(0,0,0,0.05);
}
.profile-table th, .profile-table td { padding: 20px; border-bottom: 1px solid #f0f0f0; text-align: left; }
.profile-table tr:last-child th, .profile-table tr:last-child td { border-bottom: none; }
.profile-table th { width: 1%; white-space: nowrap; padding-right: 1.5em; font-weight: 700; background: #f9f9f9; }

.expression-gallery {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(130px, 1fr));
    gap: 30px;
}
.expression-item {
    text-align: center;
    position: relative;
    transition: transform 0.3s cubic-bezier(0.175, 0.885, 0.32, 1.275);
}
.expression-item:hover {
    transform: translateY(-10px);
}
.expression-item img {
    width: 100%; height: auto;
    background: #fff; border-radius: 50%;
    box-shadow: 0 5px 20px rgba(0,160,233,0.1);
    margin-bottom: 10px;
}
.expression-item p {
    font-weight: bold; font-size: 1rem;
    color: #555;
}

.relation-chart { display: none; } /* 関係図は複雑すぎるため、一旦非表示に */

.observation-log .log-item { background: #fff; padding: 20px; border-radius: 8px; border-left: 4px solid #FFD700; margin-bottom: 20px; box-shadow: 0 4px 15px rgba(0,0,0,0.05); }
.observation-log .log-date { font-weight: bold; color: #777; font-size: 0.9rem; margin-bottom: 10px; }

.creator-memo {
    background: #3C4043; color: #fff; padding: 40px; border-radius: 12px;
    box-shadow: 0 10px 30px rgba(0,0,0,0.2);
}
.creator-memo h3 { color: #FFD700; border: none; padding: 0; }
.creator-memo p { opacity: 0.9; }