:root {
    --wind-particle-color: var(--base-text-color);
    --wind-particle-count: 5;
}

#windCanvas {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: 1;
    pointer-events: none;
}

/* Email欄、Website欄、Previewボタンを非表示にする */
/* 親要素ごと非表示 (:has対応ブラウザ用) */
.isso-auth-section .isso-input-wrapper:has(input[name="email"]),
.isso-auth-section .isso-input-wrapper:has(input[name="website"]),
.isso-auth-section .isso-post-action:has(input[name="preview"]) {
    display: none !important;
}

/* フォールバック: 中身の要素を直接非表示（:has非対応ブラウザ用） */
.isso-auth-section input[name="email"],
.isso-auth-section label[for="isso-postbox-email"],
.isso-auth-section input[name="website"],
.isso-auth-section label[for="isso-postbox-website"],
.isso-auth-section input[name="preview"] {
    display: none !important;
}

#isso-thread,
#isso-thread textarea,
#isso-thread input {
    font-family: 'Montserrat', sans-serif;
    font-weight: 300;
}

/* Issoのコメント本文の行間を詰める */
#isso-thread .isso-text p {
    margin-top: 0.2em;
    margin-bottom: 0.2em;
    line-height: 1.4;
}

/* コメントラッパーのパディングを調整 */
#isso-thread .isso-text-wrapper {
    padding: 0.6em;
}

/* アバターを非表示にする（JS設定ではなくCSSで制御してエラーを防ぐ） */
#isso-thread .isso-avatar {
    display: none !important;
}
/* アバター分の左余白を削除して詰める */
#isso-thread .isso-text-wrapper {
    margin-left: 0 !important;
}

/* 投票機能（いいね・よくないね）を非表示にする */
.isso-comment-footer .isso-votes,
.isso-comment-footer .isso-upvote,
.isso-comment-footer .isso-spacer,
.isso-comment-footer .isso-downvote {
    display: none !important;
}

/* コメント間の余白調整 */
.isso-comment:not(:first-of-type),
.isso-follow-up .isso-comment {
    margin-bottom: 0 !important;
}

/* Isso内のリンクを無効化（詐欺サイト対策） */
/* たとえHTMLでリンクになっていても、見た目と機能を無効化する */
#isso-thread .isso-text a {
    pointer-events: none !important;
    cursor: text !important;
    text-decoration: none !important;
    color: inherit !important;
}

#isso-thread .isso-comment-footer {
    margin-top: 0 !important;
    line-height: 1 !important;
    font-size: 0.8rem;
}
#isso-thread .isso-reply {
    padding: 0 !important;
    margin: 0 !important;
}

/* 子コメント（.isso-follow-up内）以降の返信リンクを非表示にする */
.isso-follow-up .isso-reply {
    display: none !important;
}

.back-link-container {
    text-align: center;
}

/* スマホモード */
@media screen and (max-width: 768px) {
    /* contactが上方にめり込むのを防ぐ */
    .section.contact-section {
        padding-top: 70px;
    }
}

.caution-text {
    color: #e63946;
    text-decoration: underline;
    font-size: 0.6rem;
    font-weight: bold;
    font-family: 'Montserrat', sans-serif;
}