@charset "utf-8";

/* ---------------------------------------------------------
   01. Accordion（カテゴリ一覧ページ用）
   --------------------------------------------------------- */

.group {
  max-width: 700px;
  margin: 60px auto 24px;
  padding: 14px 20px;
  background: #fffbfe;              /* 淡いピンク背景 */
  border-left: 4px solid #f7cfe8;   /* 左ライン */
  border-radius: 12px;                /* 角丸 */
  line-height: 1.6;
  box-shadow: 0 2px 6px rgba(0,0,0,0.05); /* ほんのり影 */
}

.section-title {
  font-size: 1.4rem;
  font-weight: 600;
  color: #d88fb8;
}

.accordion-item,
.accordion-container {
  background: #fff7fc;
  border-radius: 12px;
  margin: 20px;
  box-shadow: 0 2px 6px rgba(0,0,0,0.05);
  border: 1px solid #f3d7f3;
}

/* アコーディオンのタイトル（ボタン） */
.accordion-title,
.title {
  width: 100%;
  text-align: left;
  padding: 16px 20px;
  background: none;
  border: none;
  font-size: 1.1rem;
  font-weight: 600;
  color: #9244c0;
  cursor: pointer;
}

/* アコーディオンの中身 */
.accordion-content {
  display: none;
  padding: 0 20px 20px;
}

/* アコーディオン内の説明文 */
.acc-desc {
  color: #3a3399;
  margin-bottom: 10px;
}

/* アコーディオン内のリスト */
.accordion-content ul {
  list-style: none;
  padding-left: 0;
}

.accordion-content li {
  margin: 8px 0;
}

.accordion-content a {
  color: #3a3399;
  text-decoration: none;
}

.accordion-content a:hover,
.content a:hover {
  text-decoration: underline;
}

.card-link {
  background-color: #e2e4ff;
  color: #3643ff;
  border-radius: 7px;
  padding: 10px;
  margin-bottom: 10px;
  gap: 10px;
  width: 200px;
}

.card-link a {
  text-decoration: none;
}

.card-link a:hover{
  opacity: 1;
  text-decoration: underline;
}

/* ---------------------------------------------------------
   02. 本文ページの共通レイアウト
   --------------------------------------------------------- */


/* セクション見出し（ADHD / ASD / LD など） */
.content-section-title {
  max-width: 700px;
  margin: 60px auto 24px;
  padding: 14px 20px;
  background: #fff7fc;              /* 淡いピンク背景 */
  border-left: 4px solid #f7cfe8;   /* 左ライン */
  border-radius: 12px;                /* 角丸 */
  font-size: 1.4rem;
  font-weight: 600;
  color: #d88fb8;
  line-height: 1.6;
  box-shadow: 0 2px 6px rgba(0,0,0,0.05); /* ほんのり影 */
}

/* 記事ブロック */
.content-block {
  max-width: 600px;
  margin: 0 auto 24px;
  background: #fff9ff;
  border-left: 4px solid #f7cfe8;
  padding: 16px 20px;
  border-radius: 12px;
  line-height: 1.9;
}

/* 小見出し・要約 */
.content-summary {
  font-size: 0.9rem;
  color: #d88fb8;
  margin: -4px 0 12px;
  padding-left: 4px;
  border-left: 3px solid #f7cfe8;
}

/* 記事ブロック内の h3 */
.content-block h3 {
  margin-top: 0;
  color: #d88fb8;
}

/* ---------------------------------------------------------
   03. 次・前リンク（本文ページ下部）
   --------------------------------------------------------- */

/* 次・前リンクの枠（旧 breast-next-prev） */
.content-next-prev {
  max-width: 600px;
  margin: 0 auto 32px;
  text-align: center;
}

/* 次・前リンクのボタン */
.content-next-prev a {
  display: inline-block;
  padding: 12px 20px;
  background: #f7cfe8;
  border-radius: 8px;
  text-decoration: none;
  color: #444;
  text-decoration: underline;
}

.content-next-prev a:hover {
  background: #f4bede;
}

/* 前ページリンク（旧 breast-prev-link） */
.content-prev-link {
  max-width: 600px;
  margin: 0 auto 16px;
  text-align: left;
}

.content-prev-link a {
  font-size: 0.85rem;
  color: #b57fa8;
  text-decoration: none;
  opacity: 0.8;
}

.content-prev-link a:hover {
  opacity: 1;
  text-decoration: underline;
}

/* ---------------------------------------------------------
   04. 汎用カード
   --------------------------------------------------------- */

.info-card {
  background: #fff7fc;
  border: 2px solid #f7c6e8;
  border-radius: 12px;
  padding: 16px 20px;
  margin: 16px auto;
  box-shadow: 0 2px 6px rgba(0,0,0,0.05);
  max-width: 700px;
}

.info-card a {
  text-decoration: none;
  color: #3a3399;
  display: block;
}

.info-card h4 {
  margin: 0 0 6px;
  font-size: 1.05rem;
  color: #9244c0;
}

.info-card p {
  margin: 0;
  font-size: 0.9rem;
  line-height: 1.5;
}