@charset "UTF-8";

/* モモンガカーニバルのテーマカラー */
:root {
    --bg-color: #f6f5f0; 
    --text-main: #2c3e2e; 
    --link-color: #5c7a52; 
    --border-color: #b4aa99; 
}

/* すべての要素でRocknRoll Oneを適用し、太字を強制的に解除 */
* {
    font-family: 'RocknRoll One', sans-serif !important;
    font-weight: normal !important;
}

body { 
    background-color: var(--bg-color); 
    color: var(--text-main); 
    text-align: center; 
    padding: 40px 20px; 
    line-height: 1.8;
    margin: 0;
}

.wrapper {
    max-width: 700px;
    margin: 0 auto;
}

/* --- アプリ部分のスタイル --- */
.container { 
    background: #fff; 
    padding: 40px 30px; 
    border-radius: 10px; 
    box-shadow: 0 4px 15px rgba(0,0,0,0.05); 
    margin-bottom: 60px;
}

h1 { font-size: 24px; color: var(--text-main); letter-spacing: 0.05em; margin-top: 0;}
h3 { font-size: 16px; color: #666; margin-bottom: 25px; line-height: 1.6;}

textarea { 
    width: 100%; 
    height: 100px; 
    padding: 15px; 
    margin-top: 15px; 
    border: 1px solid #eae6df; 
    border-radius: 5px; 
    box-sizing: border-box; 
    font-size: 16px; 
    resize: vertical; 
}

button { 
    background-color: var(--link-color); 
    color: white; 
    border: none; 
    padding: 12px 30px; 
    margin-top: 20px; 
    font-size: 16px; 
    border-radius: 30px; 
    cursor: pointer; 
    transition: 0.3s; 
}

button:hover { 
    background-color: #4a6342; 
    transform: translateY(-2px); 
}

#result { 
    margin-top: 30px; 
    text-align: left; 
    line-height: 1.8; 
    white-space: pre-wrap; 
    padding: 25px; 
    background: #fffefb; 
    border-left: 4px solid var(--link-color); 
    display: none; 
}

.loading { 
    display: none; 
    margin-top: 20px; 
    color: var(--border-color); 
}

/* --- プロフィール部分のスタイル --- */
section { text-align: left; margin-bottom: 50px; }
h2 { font-size: 1.3rem; border-left: 3px solid var(--link-color); padding-left: 15px; margin-bottom: 25px; }
.profile-card { background-color: #fffefb; border: 1px solid #eae6df; border-radius: 8px; padding: 20px 25px; box-shadow: 0 2px 8px rgba(0,0,0,0.02); }
.profile-header { display: flex; align-items: center; gap: 15px; margin-bottom: 15px; border-bottom: 1px solid #eae6df; padding-bottom: 15px; }
.profile-icon { width: 60px; height: 60px; border-radius: 50%; object-fit: cover; border: 1px solid #eae6df; }
.profile-name { font-size: 1.15rem; margin: 0; color: var(--text-main); }
.profile-catchphrase { font-size: 1.1rem; color: var(--link-color); margin-top: 0; margin-bottom: 15px; }
.profile-desc { font-size: 0.95rem; line-height: 1.8; color: #4a5d4c; margin-bottom: 0; }

/* --- フッター部分のスタイル --- */
footer { text-align: center; margin-top: 60px; padding-top: 20px; font-size: 0.85rem; color: var(--border-color); border-top: 1px dashed var(--border-color); }
footer ul { list-style: none; padding: 0; display: flex; justify-content: center; gap: 20px; margin-bottom: 15px; }
footer a { color: var(--border-color); text-decoration: underline; transition: 0.3s;}
footer a:hover { color: var(--link-color); }

/* --- ルートドメインへの導線（追加分） --- */
.header-nav { 
    text-align: left; 
    margin-bottom: 20px; 
}

.header-nav a { 
    color: var(--link-color); 
    text-decoration: none; 
    font-size: 0.95rem; 
    transition: 0.3s; 
}

.header-nav a:hover { 
    opacity: 0.7; 
}

.profile-link-area { 
    text-align: center; 
    margin-top: 30px; 
    border-top: 1px dashed #eae6df; 
    padding-top: 25px;
}

.btn-home { 
    display: inline-block; 
    background-color: var(--bg-color); 
    color: var(--text-main); 
    border: 2px solid var(--border-color); 
    padding: 12px 30px; 
    border-radius: 30px; 
    text-decoration: none; 
    transition: all 0.3s ease; 
}

.btn-home:hover { 
    background-color: var(--link-color); 
    color: #fff; 
    border-color: var(--link-color); 
    transform: translateY(-2px); 
}