/* Kaname「静かな居場所」（コミュニティ）。
   賑やかさより余白。煽らない・競争しない“共在”のための静かなポップ。
   既存 kaname_pop / member / qa の配色・余白感に合わせる。
   方針: ランキング・いいね数・通知バッジなどダークパターンは作らない。
   注: 横スクロール禁止のため、要素幅は box-sizing:border-box ＋ min()/vw で抑える（割合フル幅リテラルは使わない）。 */

.kt-co-sec { margin: 26px 0; }
.kt-co-h2 {
  font-size: 1.08rem; font-weight: 700; color: #2c2a24; margin: 0 0 8px;
  display: flex; align-items: center; gap: 8px;
}
.kt-co-sec-lead { font-size: 0.9rem; color: #6f6a5e; line-height: 1.7; margin: 0 0 14px; }
.kt-co-empty {
  font-size: 0.9rem; color: #6b675a; line-height: 1.7;
  background: #faf7f1; border: 1px dashed #ddd5c6; border-radius: 14px;
  padding: 16px 18px; margin: 0;
}

/* PRG / 共有結果の控えめな通知。 */
.kt-co-flash { border-radius: 12px; padding: 9px 13px; margin: 12px 0; font-size: 0.9rem; line-height: 1.6; }
.kt-co-flash--ok { background: #eef6ec; color: #2f6a37; border: 1px solid #cfe6cd; }
.kt-co-flash--warn { background: #fbf3e8; color: #8a5a1c; border: 1px solid #f0ddc2; }

/* ── 🌱 今月のチャレンジ（同じテーマに匿名でゆるく“共在”・競争にしない） ──
   静かな共在の焦点として、ほんの少しだけ色味を上げた“やわらかい囲い”。
   ランキング・順位・FOMO演出はしない。参加状態は本人の安心のためだけに静かに示す。 */
.kt-co-challenge {
  margin: 22px 0 26px; padding: 17px 18px 16px; box-sizing: border-box;
  background: linear-gradient(180deg, #f3f8ef, #fbfaf4);
  border: 1px solid #dde9d2; border-radius: 18px;
}
.kt-co-ch-lead { font-size: 0.9rem; color: #5f6a56; line-height: 1.7; margin: 0 0 13px; }
.kt-co-ch-theme {
  background: #fffdf9; border: 1px solid #e2ead8; border-radius: 14px;
  padding: 12px 14px; margin: 0 0 12px; box-sizing: border-box;
}
.kt-co-ch-theme-tag {
  display: inline-block; font-size: 0.72rem; font-weight: 600; color: #4d7a52;
  background: #e8f2e6; border: 1px solid #cfe2cd; border-radius: 999px;
  padding: 2px 10px; margin-bottom: 7px;
}
.kt-co-ch-theme-name {
  margin: 0; font-size: 1.04rem; font-weight: 700; color: #2c3a2c; line-height: 1.55;
  overflow-wrap: anywhere;
}
.kt-co-ch-count {
  font-size: 0.92rem; color: #4d6a4f; line-height: 1.7; margin: 0 0 12px;
}
.kt-co-ch-joined[hidden] { display: none; }
.kt-co-ch-joined {
  display: flex; align-items: center; gap: 7px;
  font-size: 0.94rem; font-weight: 600; color: #3f6a44; line-height: 1.6;
  background: #eaf4e8; border: 1px solid #cde0cb; border-radius: 12px;
  padding: 10px 13px; margin: 0 0 6px; box-sizing: border-box;
}
.kt-co-ch-form[hidden] { display: none; }
.kt-co-ch-form { display: flex; margin: 0; }
.kt-co-ch-btn { align-self: flex-start; }
.kt-co-ch-flash {
  border-radius: 12px; padding: 9px 13px; margin: 8px 0 0; font-size: 0.9rem; line-height: 1.6;
  background: #eef6ec; color: #2f6a37; border: 1px solid #cfe6cd; box-sizing: border-box;
}
.kt-co-ch-flash--warn { background: #fbf3e8; color: #8a5a1c; border-color: #f0ddc2; }
.kt-co-ch-note { font-size: 0.79rem; color: #636b57; line-height: 1.7; margin: 9px 0 0; }
.kt-co-ch-free {
  font-size: 0.9rem; color: #5a564c; line-height: 1.7; margin: 4px 0 0;
  background: #faf7f1; border: 1px dashed #ddd5c6; border-radius: 14px;
  padding: 13px 15px; box-sizing: border-box;
}

/* ── みんなの相談（読み物Q&A） ── */
.kt-co-qa {
  border: 1px solid #ece6da; border-radius: 16px; padding: 15px 17px;
  margin-bottom: 14px; background: #fffdfa;
}
.kt-co-q { margin: 0 0 9px; font-weight: 600; color: #2c2a24; line-height: 1.65; }
.kt-co-a-head { margin: 0 0 5px; display: flex; align-items: center; gap: 8px; }
.kt-co-a-body { margin: 0; line-height: 1.75; color: #3a382f; }
.kt-co-tag {
  display: inline-block; width: 1.4em; height: 1.4em; line-height: 1.4em; text-align: center;
  border-radius: 50%; font-size: 0.78rem; margin-right: 6px; color: #fff; vertical-align: middle;
  flex: none;
}
.kt-co-tag--q { background: #b08a4f; }
.kt-co-tag--a { background: #6c8a6e; }
.kt-co-badge {
  font-size: 0.74rem; padding: 2px 9px; border-radius: 999px; font-weight: 600;
  background: #e7f1e6; color: #2f6a37; border: 1px solid #cfe6cd;
}

/* ── みんなの一歩（共在として穏やかに並べる・競争にしない） ── */
.kt-co-steps { list-style: none; margin: 0; padding: 0; display: flex; flex-direction: column; gap: 12px; }
.kt-co-step {
  border: 1px solid #ece6da; border-radius: 16px; padding: 14px 16px;
  background: #fffdfa; box-sizing: border-box;
}
.kt-co-step-cat {
  display: inline-block; font-size: 0.72rem; color: #7a6a4a; font-weight: 600;
  background: #f5efe2; border: 1px solid #ece0c8; border-radius: 999px;
  padding: 2px 9px; margin-bottom: 8px;
}
.kt-co-step-text { margin: 0; line-height: 1.75; color: #3a382f; overflow-wrap: anywhere; }
.kt-co-step-foot {
  display: flex; align-items: center; justify-content: space-between; gap: 10px;
  margin-top: 10px; flex-wrap: wrap;
}
.kt-co-step-time { font-size: 0.76rem; color: #6b675a; }

/* 控えめな共感ボタン。数は出さない＝競争・ランキングを作らないため。 */
.kt-co-empathy {
  font: inherit; font-size: 0.82rem; color: #6b6355; cursor: pointer;
  background: #f7f3ec; border: 1px solid #e6ddcd; border-radius: 999px;
  padding: 4px 14px; transition: background .15s ease, color .15s ease, transform .12s ease;
}
.kt-co-empathy:hover { background: #f1ebdf; }
.kt-co-empathy:active { transform: scale(0.97); }
.kt-co-empathy[aria-pressed="true"] {
  background: #eef4ec; color: #4d7a52; border-color: #cfe2cd;
}

/* ── そっと共有フォーム ── */
.kt-co-share {
  margin: 30px 0 8px; padding: 18px 18px 16px;
  background: #fbf8f2; border: 1px solid #ece4d4; border-radius: 18px;
}
.kt-co-share-lead { font-size: 0.9rem; color: #6f6a5e; line-height: 1.7; margin: 0 0 12px; }
.kt-co-share-form { display: flex; flex-direction: column; gap: 8px; }
.kt-co-label { font-size: 0.92rem; font-weight: 600; color: #3a3a3a; }
.kt-co-textarea {
  /* flex column の子として親幅へ自然に伸びる（align-items:stretch 既定）。
     明示の vw/割合幅は付けない＝親の内側にとどまり横はみ出しを構造的に避ける（border-box）。 */
  box-sizing: border-box;
  padding: 11px 13px; border: 1px solid #d8d2c6; border-radius: 12px;
  font: inherit; line-height: 1.65; background: #fffdf9; resize: vertical;
}
.kt-co-textarea:focus { outline: 2px solid #c9a96a; outline-offset: 1px; }
.kt-co-select {
  width: min(60vw, 14rem); box-sizing: border-box; padding: 9px 12px;
  border: 1px solid #d8d2c6; border-radius: 12px; font: inherit; background: #fffdf9; color: #3a382f;
}
.kt-co-select:focus { outline: 2px solid #c9a96a; outline-offset: 1px; }
.kt-co-share-notes {
  margin: 4px 0 6px; padding-left: 1.1em; font-size: 0.8rem; color: #6b6355; line-height: 1.7;
}
.kt-co-share-notes li { margin: 2px 0; }
.kt-co-share-btn { align-self: flex-start; }
.kt-co-share-flash {
  border-radius: 12px; padding: 9px 13px; margin: 6px 0 0; font-size: 0.9rem; line-height: 1.6;
  background: #eef6ec; color: #2f6a37; border: 1px solid #cfe6cd;
}
.kt-co-share-flash--warn { background: #fbf3e8; color: #8a5a1c; border-color: #f0ddc2; }

/* ── free 向け：閲覧のみの静かな案内（煽らない） ── */
.kt-co-locked {
  margin: 30px 0 8px; padding: 16px 18px;
  background: #faf7f1; border: 1px dashed #ddd5c6; border-radius: 16px;
}
.kt-co-locked-body { margin: 0 0 8px; color: #5a564c; line-height: 1.7; }

.kt-co-disclaimer { font-size: 0.8rem; color: #6b675a; margin-top: 24px; line-height: 1.7; }
.kt-co-back { margin-top: 14px; }
