/* Google Fontを全体に適用 */
body {
    font-family: 'M PLUS Rounded 1c', sans-serif;
    background-color: #fdf2f8;
    display: flex;
    justify-content: center;
    align-items: center;
    min-height: 100vh;
    margin: 0;
    padding: 20px;
    box-sizing: border-box;
}

.container {
    background-color: #ffffff;
    padding: 30px 40px;
    border-radius: 20px;
    box-shadow: 0 6px 20px rgba(219, 39, 119, 0.15);
    text-align: center;
    width: 100%;
    max-width: 450px;
}

h1 {
    color: #db2777;
    margin-bottom: 15px; /* 少し調整 */
    font-weight: 700;
}

.site-description {
    font-size: 14px;
    color: #666;
    line-height: 1.7;
    margin-bottom: 25px;
    padding: 0 10px;
}

.privacy-container, .contact-container {
    max-width: 700px;
    text-align: left;
}
.privacy-content h2 { color: #333; font-size: 18px; border-bottom: 2px solid #fbcfe8; padding-bottom: 5px; margin-top: 30px; margin-bottom: 15px; }
.privacy-content p { font-size: 14px; line-height: 1.8; color: #555; }
.privacy-content a { color: #db2777; text-decoration: none; }
.privacy-content a:hover { text-decoration: underline; }
.back-link { display: inline-block; margin-top: 30px; font-weight: bold; color: #db2777; text-decoration: none; }

.form-wrapper {
    margin-top: 20px;
}
.form-wrapper iframe {
    width: 100%;
    height: 600px;
    border: none;
}

.selector-container {
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 15px;
    margin-bottom: 25px;
}

select {
    font-family: 'M PLUS Rounded 1c', sans-serif;
    font-size: 16px;
    padding: 10px;
    border-radius: 12px;
    border: 2px solid #fbcfe8;
    cursor: pointer;
    background-color: #fff;
}

select:focus {
    outline-color: #f472b6;
}

span {
    color: #888;
    font-weight: 700;
}

button {
    font-family: 'M PLUS Rounded 1c', sans-serif;
    font-size: 16px;
    font-weight: 700;
    color: #fff;
    background: linear-gradient(45deg, #f472b6, #db2777);
    border: none;
    padding: 12px 25px;
    border-radius: 12px;
    cursor: pointer;
    transition: transform 0.2s, box-shadow 0.2s;
    box-shadow: 0 4px 10px rgba(219, 39, 119, 0.3);
}

button:hover {
    transform: scale(1.05);
    box-shadow: 0 6px 15px rgba(219, 39, 119, 0.4);
}

#resultArea {
    margin-top: 25px;
    padding: 20px;
    background-color: #fff7fa;
    border: 2px dashed #fbcfe8;
    border-radius: 15px;
    min-height: 150px;
    white-space: normal;
    text-align: left;
    line-height: 1.7;
}

.result-title { font-size: 14px; color: #888; margin-bottom: 10px; }
.result-rank { font-size: 20px; font-weight: 700; color: #db2777; margin-bottom: 15px; }
.result-comment { font-size: 15px; color: #333; margin: 0; }

#share-container { margin-top: 20px; padding-top: 20px; border-top: 1px solid #fce7f3; }
#share-container.hidden { display: none; }
#share-container p { font-size: 14px; color: #aaa; margin: 0 0 10px 0; }
.share-buttons { display: flex; justify-content: center; gap: 15px; }
.share-btn { display: inline-block; padding: 8px 16px; border-radius: 20px; color: #fff; text-decoration: none; font-size: 14px; font-weight: bold; transition: opacity 0.2s; }
.share-btn:hover { opacity: 0.8; }
.share-btn.twitter { background-color: #1DA1F2; }
.share-btn.line { background-color: #00B900; }

.disclaimer {
    font-size: 11px;
    color: #b8b8b8;
    margin-top: 25px;
    line-height: 1.5;
    text-align: left;
}

.site-footer {
    margin-top: 25px;
    padding-top: 15px;
    border-top: 1px solid #fce7f3;
    text-align: center;
}
.site-footer a { font-size: 12px; color: #aaa; text-decoration: none; margin: 0 5px;}
.site-footer a:hover { text-decoration: underline; }
.footer-divider { font-size: 12px; color: #ddd; }
.copyright {
    font-size: 11px;
    color: #ccc;
    margin-top: 15px;
}