/****************************************
* main.css :ベース
* タグ要素、基本全て適用するデザイン
***************************************/
@charset "UTF-8";
html {
  scroll-behavior: smooth;
}

body {
  font-family: var(--font-maru);
  background-color: var(--color-base);
  color: var(--color-body);
  /* 行は先頭から詰めて折り返す（text-wrap: wrap）。
     ⚠ text-wrap: pretty を全体にかけるのは Chrome 系だけ（下の @supports）。
     iPhone の Safari（iOS 26〜）の pretty は段落全体の行の長さをそろえ直すため、
     行の途中で語が切れる・右側の余白が行ごとにバラバラになる・両端ぞろえの字間が開く、
     といった不自然な表示になった */
  text-wrap: wrap;
}

/* Chrome・Edge だけ：最終行が1〜2文字だけ残る折り返し（「連携しま／す。」）を避ける。
   word-break: auto-phrase は Chromium 系しか対応していないので、Chrome 系の判定に使っている */
@supports (word-break: auto-phrase) {
  body {
    text-wrap: pretty;
  }
}

/* 見出しは行の長さをそろえて折り返す */
h1, h2, h3 {
  text-wrap: balance;
}

a {
  display: block;
  color: currentcolor;
  cursor: pointer;
  text-decoration: none;
}

a:hover{
  cursor: pointer;
}

ul, li{
  margin-left: 0 !important;
  list-style: none !important;
}

.p-sub_pc_on {
  display: block;
}

.p-sub_sp_on {
  display: none !important;
}

table .p-sub_sp_on {
  display: none;
}

#page_no_side {
  width: 100%;
  margin: 0;
}

h1, h2, h3, section, [id] {
  scroll-margin-top: 230px; /* 追従ヘッダーの高さ分 */
}

/****************************************
* main.css :コンテンツ
* 役割:ボタン,カード,見出し,フォーム部品
***************************************/
/* コンテンツ */

/* トップページ：基本デザイン */
/* コンテンツのカラーを簡易変数化*/
:root {
  /* color */

  /* brand */
  --primary-color : #1D5CA6;
  --secondary-color : #42444C;
  
  /* text */
  --color-text: #333333;
  --color-text-light: #666666;
  --color-text-white: #ffffff;

  /* background */
  --color-bg: #ffffff;
  --color-bg-gray: #EDF4FD;
  --color-bg-dark: #42444C;

  /* fontsize */
  --top-head     :60px;
  --top-subhead  :36px;
  --top-text     :16px;
  --top-subtext  :16px;

  /* font */
  --font-meiryo: 'Meiryo', 'メイリオ', 'Hiragino Kaku Gothic ProN', 'Hiragino Sans', sans-serif;
  --font-mincho: var(--font-meiryo);
  --font-sans:   var(--font-meiryo);
  --font-en:     var(--font-meiryo);

  /* layout */
  --inner-max: 1300px;
  --inner-pad: 63px;

  /* ── コスモス成年後見サポートセンター 大阪府支部 ── */

  /* brand */
  --color-main      : #d9598b;
  --color-sub       : #3962ad;

  /* text */
  --color-body      : #2d2a27;
  --color-body-brown: #584138;
  --color-body-white: #fefdf7;

  /* background */
  --color-base      : #fbf6ee;
  --color-bg-pink   : #ffeff0;
  --color-bg-news   : #fdf8f8;   /* トップ COSMOS NOW の背景画像（bg_news）の地の色。SPで画像の間を埋める */
  --color-bg-blue   : #e8f6ff;
  --color-bg-cream  : #f2e4c9;
  --color-bg-bnr-yellow: #fff5b0;  /* ユキマサくんバナーの地色 */
  --color-bg-yellow : #fff4d6;
  --color-bg-dummy  : #d9d9d9;
  --color-bg-footer : rgba(217, 89, 139, .35);

  /* accent */
  --color-link-blue : #3b7dab;
  --color-link-pink : #a35861;
  --color-accent-yellow : #f2bb23;
  --color-accent-green  : #648c57;
  --color-accent-red    : #de4655;
  --color-accent-sky    : #46b0e1;   /* 実例「福祉関係者様」のカテゴリー色 */
  --color-contact   : #4d80ae;
  --color-line      : #8bb365;
  --color-border    : #f5e8d8;
  --color-border-gray: #606060;   /* 表の罫線 */
  --color-border-light: #e4e4e8;  /* 見出し下の細線 */
  --color-border-input: #e1e1e1;  /* フォーム入力欄の枠 */
  --color-placeholder: #b8b9ba;

  /* font */
  --font-maru   : var(--font-meiryo);
  --font-signika: var(--font-meiryo);

  /* layout（デザイン基準幅 1300px） */
  --design-w  : 1300px;
  --inner-main: 930px;
  --inner-wide: 1100px;
  --inner-side: 20px;
}

.p-sub_head{
  font-size: var(--top-subhead) !important;
  color: var(--primary-color);
  font-weight: 600;
  position: relative !important;
  margin-bottom: 4rem !important;
}

/*****************************************
 * コンポーネント　再利用パーツ 
 * Coponentのテーマカラー設定 
 * mainとsubの出し分けはデザインを見て判断
 ****************************************/

/* ボタン */

.c-btn{
  width: 280px;
  padding: 1.2rem;
  background-color: var(--primary-color);
  color: var(--color-text-white);
  font-family: var(--font-mincho);
  font-size: 16px;
  text-align: center;
  font-weight: bold;
  border-radius: 50px;
  position: relative;
  display: inline-block;
  box-sizing: border-box;
  border: 1px solid transparent;
  transition: background .5s cubic-bezier(0,0,0,1),
              color .5s cubic-bezier(0,0,0,1),
              border-color .5s cubic-bezier(0,0,0,1);
}
.c-btn::after {
  content: "";
  position: absolute;
  top: 50%;
  right: 33px;
  transform: translateY(-50%);
  width: 0; height: 0;
  border-left: 7px solid currentColor;
  border-top: 7px solid transparent;
  border-bottom: 7px solid transparent;
  transition: border-color .5s cubic-bezier(0,0,0,1);
}

.c-btn:hover {
  background: var(--color-bg);
  color: var(--primary-color);
  border-color: var(--primary-color);
}

.c-btn:hover::after {
  border-left-color: currentColor;
}

.c-btn:focus-visible{
  outline: 2px solid currentColor;
  outline-offset: 3px;
}

.c-btn.c-btn_return{
  width: 230px;
  color: var(--color-bg);
  background: var(--primary-color);
  border-color: transparent;
  padding-left: 3.2rem;
  padding-right: 1.8rem;
  position: relative;
}

.c-btn.c-btn_return::before{
  content: "";
  position: absolute;
  top: 50%;
  left: 33px;
  transform: translateY(-50%);
  width: 0; height: 0;
  border-right: 7px solid currentColor;
  border-top: 7px solid transparent;
  border-bottom: 7px solid transparent;
  transition: border-color .5s cubic-bezier(0,0,0,1);
}

.c-btn.c-btn_return::after{ content: none; }

.c-btn.c-btn_return:hover{
  background: var(--color-bg);
  color: var(--primary-color);
  border-color: var(--primary-color);
}

.c-btn.c-btn_return:focus-visible{
  outline: 2px solid currentColor;
  outline-offset: 3px;
}

.c-btn.c-btn_return:active{
  filter: brightness(0.96);
}

/* l-innerのスタイルはlayoutへ移動
   u-はとりあえず据え置きです。*/
.u-under_line {
  text-decoration: underline !important;
}

/* 英字ラベルの「\」「/」：Windowsの日本語フォントでは「\」が「¥」になるため欧文フォントで出す */
.u-slash {
  font-family: Arial, Helvetica, sans-serif;
}

/* 文節の塊（functions.php の cosmos_phrases() が出力）。inline-block にすると塊の中では折り返さず、
   塊と塊の間でだけ折り返す。word-break: auto-phrase が効かない Safari / Firefox でも改行位置が揃う */
.u-phrase {
  display: inline-block;
}

/* 文節で区切った短い文の入れ物は、行の割り付けを「先頭から詰める」方式に固定する。
   body の text-wrap: pretty（最終行が短くならないよう前の行から語を持ってくる）は
   Chrome と Safari で判断が違うため、同じ幅でも改行位置が変わってしまう */
.p-top-system__check-text,
.p-top-system__check-lead,
.p-top-system__card-text,
.p-houtei-type__text,
.p-top-foryou__card-text,
.p-top-support__card-text,
.p-gohonnin-worry__example-text,
.p-hukushi-worry__example-text,
.p-aboutus-org__block-area,
.p-top-news__head-title,
.c-system-notice__text,
.c-section-title__text {
  text-wrap: wrap;
}

.u-nowrap {
  white-space: nowrap;
}

.u-inline{
  display: inline;
}

.grecaptcha-badge {
  visibility: hidden;
}

/* 文字スライダー*/
.c-loop_wrapper{
  display: flex;
  align-items: center;
  overflow: hidden;
}

.c-loop_area {
  display: flex;
  animation: loop-slide 55s infinite linear 1s both;
  list-style: none !important;
  margin: 0 !important;
  padding: 0;
  width: calc( 1740px * 2);
}

.c-loop_text {
  width: 1740px;
  flex-shrink: 0;
}

@keyframes loop-slide {
  0% {
    transform: translateX(0%);
  }

  100% {
    transform: translateX(-50%);
  }
}

/* hover
 *  <ul class="c-hover-opacity p-top_business-list "> 
 *  カーソルが範囲に入るとフェードがかかる 
 *  適用例：<li class="c-hover-opacity p-top_business-list-item">
 */
.c-hover-opacity:hover {
  opacity: 0.7;
  transition: 0.3s;
}

/* セレクトボタン */
.c-category-box-container {
    display: flex;
    justify-content: space-between; 
    gap: 73px;
    width: 100%;
    max-width: 1100px;
    margin: 0 auto;
    padding: 0 0 20px 0;
}

.c-category-box {
    flex: 1;                       /* すべてのボタンを同じ幅にする */
    display: flex;
    align-items: center;
    justify-content: center;       /* テキストを中央寄せ */
    
    background-color: #f0f7ff;     /* 薄い青の背景 */
    border: 1px solid #1e50a2;     /* 紺色の枠線 */
    color: #1e50a2;                /* 文字色 */
    text-decoration: none;
    font-size: 14px;
    height: 50px;                  /* 高さの指定 */
    border-radius: 50px;           /* カプセル型にする */
    
    position: relative;            /* 矢印の位置基準 */
    padding: 0 30px;
}

/* 右側の小さな下矢印（▼） */
.c-category-box::after {
    content: "▼";
    font-size: 10px;
    position: absolute;
    right: 15px;
    top: 50%;
    transform: translateY(-50%);
}

/* ホバー時の演出（お好みで） */
.c-category-box:hover {
    background-color: #e0eeff;
}

/* slick  */
.c-slick-slider {
  position: relative;
  margin: 0;
  height: 100%;
}

.c-slick-list {
  height: 100%;
}

.c-slick-track {
  height: 100%;
}

.c-slick-slide img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

/* table  */
.c-table{
  border-collapse: collapse;
  border-spacing: 0;
  width: 100%;
  margin: 0 0 24px 0;
}

.c-table_th{
  background: #EDF4FD;
  border: 1px solid #E9E5DE;
  padding: 17px 25px;
  line-height: 2.2;
  border-top: 1px solid #E9E5DE;
  border-right: none;
  border-left: none;
  font-weight: bold;
  color: var(--color-text);
  vertical-align: middle;
}

.c-table_td{
  color: var(--color-text);
  border-top: 1px solid #E9E5DE;
  border-right: none;
  border-left: none;
  vertical-align: middle;
  border: 1px solid #E9E5DE;
  padding: 17px 25px;
  line-height: 2.2;
  background: #fff;
}

/* ページネーション */
.c-pagination {
  display: flex;
  justify-content: center;
  align-items: center;
  margin-top: 40px;
  gap: 8px;
  width: 100%;
}

.c-pagination-inner {
  max-width: 210px;
  display: flex;
  align-items: center;
  gap: 8px;
  margin: 0 auto;
}

.page-nation {
  margin-top: 4vw;
}

.page-nation ul {
  display: flex;
  justify-content: center;
  align-items: center;
  list-style: none;
  gap: 1vw;
}
/* 数字ボタン */
.c-pagination-inner a.page-numbers,
.c-pagination-inner span.page-numbers {
  display: block;
  font-size: 14px;
  text-align: center;
  line-height: 40px;
  color: #333333;
  background-color: var(--color-bg-gray);
  width: 40px;
  height: 40px;
  border-radius: 50%;
}
/* 現在のページ */
.c-pagination-inner a.page-numbers.current,
.c-pagination-inner span.page-numbers.current {
  color: var(--color-bg);
  background-color: var(--primary-color);
  font-weight: bold;
}
/* 前へ・次へ */
.c-pagination-inner a.page-numbers.prev,
.c-pagination-inner a.page-numbers.next {
  font-size: 16px;
  color: var(--primary-color);
  background: none;
  font-weight: bold;
  width: auto;
  line-height: 40px;
  border-radius: 50%;
}

/* パンクズリスト */
.c-breadcrumb-wrap {
  width: var(--inner-wide);
  max-width: calc(100% - var(--inner-side) * 2);
  margin: 0 auto;
}

.c-breadcrumb {
  display: flex;
  /* 長い記事タイトルでも各項目がつぶれないよう折り返す */
  flex-wrap: wrap;
  gap: 4px;
  padding: 31px 0 0;
  font-size: 12px;
  color: #333a52;
}

.c-breadcrumb a {
  flex-shrink: 0;
  white-space: nowrap;
  color: #333a52;
  text-decoration: none;
  transition: opacity .3s;
}

.c-breadcrumb a:hover {
  opacity: .7;
}

.c-breadcrumb .sep {
  flex-shrink: 0;
  font-weight: 700;
}

.c-breadcrumb .current,
.c-breadcrumb .current-item {
  color: var(--color-main);
  font-weight: 700;
}

@media screen and (max-width: 950px) {
  .c-breadcrumb {
    padding: 20px 20px;
  }
}

/* 物件一覧スライダー */
.c-property-list {
  margin-left: calc((100vw - min(100vw, 1100px)) / 2 + var(--inner-pad, 40px)) !important;
  margin-right: 0;
  padding-left: 0;
  padding-right: 0;
  list-style: none;
  display: flex;
  gap: 40px;
  overflow-x: auto;
  scroll-snap-type: x mandatory;
  scroll-padding-left: 0;
  -webkit-overflow-scrolling: touch;
  scrollbar-width: none;
}

/* トップページの物件セクションは親側(.p-top-property__inner)で
   既に左余白を計算済みのため0にリセット */
.p-top-property__inner .c-property-list {
  margin-left: 0 !important;
}
 
.c-property-list::-webkit-scrollbar {
  display: none;
}
 
.c-property-list__item {
  flex: 0 0 auto;
  width: min(360px, 78vw);
  scroll-snap-align: start;
}
 
.c-property-list__img {
  display: block;
  aspect-ratio: 4 / 3;
  border-radius: 6px;
  overflow: hidden;
  margin-bottom: 20px;
}
 
.c-property-list__img img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
  transition: transform .4s ease;
}
 
.c-property-list__img:hover img {
  transform: scale(1.05);
}
 
.c-property-list__name {
  font-family: var(--font-mincho);
  font-size: 16px;
  color: var(--ss-navy);
  font-weight: 700;
  margin-bottom: 10px;
}
 
.c-property-list__body {
  font-family: var(--font-en);
  font-size: 13px;
  color: var(--ss-black);
  line-height: 1.8;
}

.c-voice-list {
  list-style: none;
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 40px;
}

.c-voice-list__item {
  background: #fff;
  border-radius: 8px;
  padding: 20px 24px;
}

.c-voice-list__header {
  display: flex;
  align-items: center;
  gap: 12px;
  margin-bottom: 14px;
}

.c-voice-list__avatar {
  display: block;
  width: 80px;
  height: 80px;
  border-radius: 50%;
  object-fit: cover;
  flex-shrink: 0;
}

.c-voice-list__name {
  font-size: 16px;
  font-weight: 700;
  color: var(--ss-navy);
}

.c-voice-list__text {
  font-size: 16px;
  color: var(--ss-black);
  line-height: 1.8;
}

.c-column-list {
  grid-column: 2;
  grid-row: 1 / -1;
  list-style: none;
}

.c-column-list__item {
  border-top: 1px solid #ddd6c8;
}

.c-column-list__item:last-child {
  border-bottom: 1px solid #ddd6c8;
}

.c-column-list__link {
  display: block;
  position: relative;
  padding: 20px 40px 20px 0;
  text-decoration: none;
}

.c-column-list__meta {
  display: flex;
  align-items: center;
  gap: 12px;
  margin-bottom: 8px;
}

.c-column-list__date {
  font-size: 14px;
  color: #999;
}

.c-column-list__cat {
  display: inline-flex;
  align-items: center;
  font-size: 12px;
  color: #fff;
  background: #b5834a;
  border-radius: 3px;
  padding: 3px 10px;
}

.c-column-list__cat--news {
  background: #4a7ab5;
}

.c-column-list__cat--seller {
  background: #b5834a;
}

.c-column-list__title {
  font-size: 16px;
  color: var(--ss-black);
}

.c-column-list__arrow {
  position: absolute;
  right: 0;
  top: 50%;
  transform: translateY(-50%);
  font-size: 14px;
  color: var(--ss-navy);
}

.c-instagram-list {
  list-style: none;
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 16px;
  margin-bottom: 40px;
}

.c-instagram-list__item a {
  display: block;
  aspect-ratio: 1 / 1;
}

.c-instagram-list__item img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
  transition: opacity .2s ease;
}

.c-instagram-list__item a:hover img {
  opacity: .85;
}

.c-btn_view-more:hover .c-btn_view-more_arrow.column circle {
  fill: #E5EEFA;
}

/* スクロールフェードイン（トップページ各セクション） */
.js-fade-in {
  opacity: 0;
  transform: translateY(40px);
  transition: opacity 1s cubic-bezier(0.16, 1, 0.3, 1),
              transform 1s cubic-bezier(0.16, 1, 0.3, 1);
  transition-delay: var(--fade-delay, 0s);
}

.js-fade-in.is-visible {
  opacity: 1;
  transform: translateY(0);
}

@media (prefers-reduced-motion: reduce) {
  .js-fade-in {
    opacity: 1;
    transform: none;
    transition: none;
  }
}

/* 表示タイミングをずらす（同じ行に並ぶカードなど） */
.u-delay-1 { --fade-delay: .15s; }
.u-delay-2 { --fade-delay: .3s; }
.u-delay-3 { --fade-delay: .45s; }

/* ── キャラクターのアニメーション ── */
/* ぴょこぴょこ跳ねる（2回弾んで少し休む） */
@keyframes c-bounce {
  0%, 60%, 100% { transform: translateY(0); }
  15% { transform: translateY(-14px); }
  30% { transform: translateY(0); }
  40% { transform: translateY(-5px); }
  50% { transform: translateY(0); }
}

.u-anim-bounce {
  animation: c-bounce 2.8s ease-in-out infinite;
}

/* ゆらゆら揺れる（のぞき込み・ぶら下がり用） */
@keyframes c-sway {
  0%, 100% { transform: rotate(0); }
  25% { transform: rotate(-5deg); }
  75% { transform: rotate(5deg); }
}

.u-anim-sway {
  transform-origin: 50% 100%;
  animation: c-sway 3.2s ease-in-out infinite;
}

.u-anim-sway--top {
  transform-origin: 50% 0;
}

/* 複数のキャラクターが同時に動かないようにずらす */
.u-anim-delay-1 { animation-delay: .7s; }
.u-anim-delay-2 { animation-delay: 1.4s; }
.u-anim-delay-3 { animation-delay: 2.1s; }

@media (prefers-reduced-motion: reduce) {
  .u-anim-bounce,
  .u-anim-sway {
    animation: none;
  }
}

/****************************************
* コスモス 共通コンポーネント
***************************************/

/* ── border-box 基準（新デザイン領域のみ／既存ページには影響させない） ── */
.l-header, .l-subheader, .l-contact, .l-bnr, .l-footer, .l-inner,
.p-top-kv, .p-top-foryou, .p-top-about, .p-top-system,
.p-top-cta, .p-top-news, .p-top-support,
.l-header *, .l-subheader *, .l-contact *, .l-bnr *, .l-footer *,
.p-top-kv *, .p-top-foryou *, .p-top-about *, .p-top-system *,
.p-top-cta *, .p-top-news *, .p-top-support *,
.p-letter, .p-letter *,
[class*="p-aboutus-"], [class*="p-aboutus-"] *,
[class*="p-activity-"], [class*="p-activity-"] *,
[class*="p-aboutsystem-"], [class*="p-aboutsystem-"] *,
[class*="p-nini-"], [class*="p-nini-"] *,
[class*="p-houtei-"], [class*="p-houtei-"] *,
[class*="p-muryousoudan-"], [class*="p-muryousoudan-"] *,
[class*="p-404"], [class*="p-404"] *,
[class*="p-contact-complete"], [class*="p-contact-complete"] *,
.p-page, .p-page *,
[class*="p-gohonnin-"], [class*="p-gohonnin-"] *,
[class*="p-hukushi-"], [class*="p-hukushi-"] *,
[class*="p-shigyou-"], [class*="p-shigyou-"] *,
[class*="p-sanjokaiin"], [class*="p-sanjokaiin"] *,
.p-privacy, .p-privacy *,
.p-contact, .p-contact *,
.p-contact-form-sec, .p-contact-form-sec *,
.p-faq, .p-faq *,
.p-column, .p-column *,
.c-pager, .c-pager * {
  box-sizing: border-box;
}

/* ── サブページ セクション見出し（★アイコン付き） ── */
.c-section-title {
  display: flex;
  /* 見出しが2行以上になっても花アイコンは1行目の横に置く */
  align-items: flex-start;
  gap: 17px;
  font-size: 32px;
  font-weight: 700;
  line-height: 1.2;
  color: var(--color-body);
}

.c-section-title__icon {
  flex-shrink: 0;
  width: 36px;
  height: 35px;
  /* 1行目の文字の高さ(1.2em=38.4px)に対して上下中央に置く */
  margin-top: 2px;
}

/* ── 英字ラベル（\FOR YOU/ 等） ── */
.c-label-en {
  height: 49px;
  font-size: 24px;
  font-weight: 700;
  line-height: 46px;
  letter-spacing: 0.12em;
  color: var(--color-main);
  text-align: center;
}

/* ── セクション見出し ── */
.c-heading {
  height: 49px;
  font-size: 32px;
  font-weight: 700;
  line-height: 46px;
  letter-spacing: 0.12em;
  color: var(--color-body);
  text-align: center;
}

/* ── もっと見るリンク ── */
.c-more {
  display: block;
  width: fit-content;
  font-size: 20px;
  font-weight: 700;
  line-height: 46px;
  letter-spacing: 0.12em;
  color: var(--color-main);
  transition: opacity .3s;
}

.c-more:hover {
  opacity: .7;
}

.c-more--sub {
  color: var(--color-sub);
}

.c-more--blue {
  color: var(--color-link-blue);
}

.c-more--pink {
  color: var(--color-link-pink);
}

.c-more--sm {
  font-size: 16px;
  letter-spacing: 0.12em;
}

/* ── ジャンルバッジ ── */
.c-badge {
  display: flex;
  align-items: center;
  justify-content: center;
  min-width: 76px;
  padding: 0 8px;
  height: 27px;
  border-radius: 13.5px;
  background-color: var(--color-main);
  font-size: 12px;
  font-weight: 500;
  letter-spacing: 0.12em;
  color: var(--color-text-white);
  white-space: nowrap;
  font-feature-settings: "palt"; /* 「（」「）」「・」の前後の空きを詰め、左右の余白をそろえる */
}

.c-badge--sub {
  background-color: var(--color-sub);
}

/* ── カテゴリー別の色（お知らせ・コラム） ── */
.c-badge--cosmos-report,
.c-badge--column-learn {
  background-color: var(--color-main);
}

.c-badge--cosmos-event {
  background-color: var(--color-sub);
}

.c-badge--cosmos-consultation,
.c-badge--column-activity {
  background-color: var(--color-accent-yellow);
}

.c-badge--column-think {
  background-color: var(--color-accent-green);
}

.c-badge--column-chief {
  background-color: var(--color-accent-red);
}

/* ── カテゴリーの色の丸（サイドバー「カテゴリから探す」） ── */
.c-cat-dot {
  flex-shrink: 0;
  width: 12px;
  height: 12px;
  border-radius: 50%;
  background-color: var(--color-main);
}

.c-cat-dot--cosmos-event {
  background-color: var(--color-sub);
}

.c-cat-dot--cosmos-consultation,
.c-cat-dot--column-activity {
  background-color: var(--color-accent-yellow);
}

.c-cat-dot--column-think {
  background-color: var(--color-accent-green);
}

.c-cat-dot--column-chief {
  background-color: var(--color-accent-red);
}

/* ── 日付＋バッジ＋タイトルの1行リスト ── */
.c-postlist__item {
  border-bottom: 1px solid var(--color-border);
}

.c-postlist__link {
  display: grid;
  grid-template-columns: max-content auto 1fr;
  align-items: center;
  column-gap: 11px;
  height: 52px;
  transition: opacity .3s;
}

.c-postlist__link:hover {
  opacity: .7;
}

.c-postlist__date,
.c-postlist__title {
  font-size: 16px;
  font-weight: 700;
  letter-spacing: 0.12em;
  color: var(--color-body);
}

.c-postlist__title {
  overflow: hidden;
  white-space: nowrap;
  text-overflow: ellipsis;
}

/* ── ピル型ボタン ── */
.c-pill {
  display: flex;
  align-items: center;
  justify-content: center;
  border-radius: 999px;
  background-color: var(--color-main);
  font-weight: 700;
  color: var(--color-text-white);
  transition: opacity .3s;
}

.c-pill:hover {
  opacity: .8;
}

.c-pill--sub {
  background-color: var(--color-sub);
}
/* ── ページネーション（サブページ一覧） ── */
.c-pager {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  margin-top: 54px;
}

.c-pager .page-numbers {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 38px;
  height: 38px;
  background-color: var(--color-bg);
  font-size: 14px;
  color: var(--color-body);
  transition: opacity .3s;
}

.c-pager a.page-numbers:hover {
  opacity: .7;
}

.c-pager .page-numbers.current {
  background-color: var(--color-main);
  font-size: 16px;
  font-weight: 700;
  color: var(--color-text-white);
}

.c-pager .page-numbers.prev,
.c-pager .page-numbers.next {
  width: auto;
  height: auto;
  background: none;
  font-size: 16px;
  font-weight: 700;
  color: var(--color-main);
}

/* ── 制度改正のお知らせ（成年後見・任意後見・法定後見の3ページ共通） ── */
.c-system-notice {
  margin-top: 64px;
  margin-bottom: 80px;
  padding: 24px 32px;
  border-radius: 12px;
  background-color: var(--color-bg-blue);
}

.c-system-notice__title {
  font-size: 18px;
  font-weight: 700;
  line-height: 1.6;
  letter-spacing: 0.08em;
  color: var(--color-sub);
}

.c-system-notice__text {
  margin-top: 10px;
  font-size: 16px;
  font-weight: 500;
  line-height: 1.9;
  color: var(--color-body);
}