/* ============================================================
   Design Tokens（色・フォント変数）
   ============================================================ */
:root {
  --color-bg:           #fffefa;
  --color-bg-shade:  #f6f3ef;
  --color-text:         #4A3F35;  /* かもい */
  --color-text-light:   #c8c5c2;  /* かもい薄 */
  --color-muted:        #595E50; /* たたみグレーtext用 */
  --color-text-muted:   #4b5563; /* 旧muted */
  --color-accent:       #6b1d2f;  /* ボルドー */
  --color-accent-deep:  #6b2c24;  /* 海老茶 */
  --color-accent-green: #9FA88F;  /* たたみ */
  --color-accent-yellow:#D4A373;  /* らくだ */
  --color-accent-thinyellow:#efd8bd;  /* らくだ薄 */
  --color-accent-gray:  #678270;
  --color-blue:         #2563eb;
  --color-blue-text:    #1d4ed8;
  --color-white:        #ffffff;

  --color-border-thin:       #d1b9bc;  /* accent / 30% */ 
  --color-border:      #d2bbc0; /* accent / 30% */
  --font-serif: YakuHanMP, "Noto Serif JP", "Hiragino Mincho ProN", "Yu Mincho", YuMincho, serif;
  --font-sans: YakuHanJPs, "Noto Sans JP", "Hiragino Sans", "Hiragino Kaku Gothic ProN", Meiryo, sans-serif;
  --font-body: "Noto Sans JP", "Hiragino Sans", "Hiragino Kaku Gothic ProN", Meiryo, sans-serif;

  --container-padding-x: 2rem;
}
/* ▼ モバイル上書き */
@media (max-width: 767px) {
  :root {
    --container-padding-x: 1.25rem;
    /* ここに追加していく */
  }
}

/* ============================================================
   Reset & Base
   ============================================================ */


*::before,
*::after {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  padding: 0;
  background-color: var(--color-bg);
  color: var(--color-text);
  font-family: var(--font-body);
  font-size: 16px;
  line-height: 1.6;
  font-weight: 400;
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}

img {
  display: block;
  max-width: 100%;
}

em {
  font-style: normal;
}

a {
  text-decoration: none;
}

ol,  ul {
  list-style: none;
  padding: 0;
  margin: 0;
}

/* ============================================================
   page（bodyに付けるレイアウトラッパー）　　--共通構造
   ============================================================ */
.page {
  display: flex;
  flex-direction: column;
  min-height: 100vh;
  background-color: var(--color-bg);
  color: var(--color-text);
  font-family: var(--font-sans);
  letter-spacing: -0.01em;
}

.page__main {
  flex-grow: 1;
  container-type: inline-size;
}


/* ============================================================
   site-header　（サイトヘッダー）　　--共通構造
   ============================================================ */
.site-header {
  position: sticky;
  top: 0;
  z-index: 50;
  background-color: var(--color-bg);
  border-bottom: 1px solid var(--color-border);
}

.site-header__inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 5rem;           /* 80px */
  padding: 0 var(--container-padding-x);
  max-width: 1280px;
  margin: 0 auto;
}

.site-header__logo {
  font-family: var(--font-serif);
  font-weight: 900;
  font-size: 1.25rem;
  letter-spacing: 0.1em;
  color: var(--color-text);
}

.site-header__logo-link img {
  width: 150px;
  object-fit: contain;
  flex-shrink: 0;
}

@media (min-width: 768px) {
  .site-header__logo {
    font-size: 1.5rem;
  }
}

.site-header__logo-link {
  color: inherit;
  transition: color 0.2s;
}

.site-header__logo-link:hover {
  color: var(--color-accent);
}

@media (max-width: 768px) {
  .site-header__inner {
    justify-content: center;
  }
  .site-header__logo-link img {
  width: 130px;
  margin-right: 11px;
}
}


/* ============================================================
   nav-desktop（デスクトップ用ヘッダーメインナビ） --共通構造
   ============================================================ */
.nav-desktop {
  display: none;
}

@media (min-width: 768px) {
  .nav-desktop {
    display: block;
  }
}

.nav-desktop__list {
  display: flex;
  gap: 2rem;
  list-style: none;
  margin: 0;
  padding: 0;
}

.nav-desktop__item {
  /* 構造のみ。スタイルはlinkに持たせる */
}

.nav-desktop__link {
  font-size: 0.875rem;
  font-weight: 500;
  color: var(--color-muted);
  border-bottom: 1px solid transparent;
  padding-bottom: 0.25rem;
  transition: color 0.2s, border-color 0.2s;
}

.nav-desktop__link:hover {
  color: var(--color-accent);
  border-color: var(--color-accent);
}


/* ============================================================
   nav-mobile（モバイル用フッター固定メインナビ）--共通構造
   ============================================================ */
.nav-mobile {
  display: block;          /* モバイルでは表示 */
  position: fixed;
  bottom: 0;
  left: 0;
  right: 0;
  z-index: 9999;
  background-color: rgba(253, 252, 248, 0.9);
  backdrop-filter: blur(8px);
  -webkit-backdrop-filter: blur(8px);
  border-top: 1px solid var(--color-border);
  box-shadow: 0px -8px 10px -9px rgba(0, 0, 0, 0.2);
}

@media (min-width: 768px) {
  .nav-mobile {
    display: none;         /* デスクトップでは非表示 */
  }
}

.nav-mobile__list {
  display: flex;
  justify-content: space-around;
  align-items: center;
  height: 4rem;           /* 64px */
  list-style: none;
  margin: 0;
  padding: 0;
}

.nav-mobile__item {
  flex: 1;
  text-align: center;
}

.nav-mobile__link {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  color: var(--color-muted);
  transition: color 0.2s;
}

.nav-mobile__link:hover {
  color: var(--color-accent);
}

.nav-mobile__icon {
  font-size: 1.25rem;
  line-height: 1;
  margin-bottom: 0.25rem;
  transition: transform 0.2s;
}
.nav-mobile__link .nav-mobile__icon img {
  height:20px;
}

.nav-mobile__link:hover .nav-mobile__icon {
  transform: scale(1.1);
}
.nav-mobile__link:hover .nav-mobile__icon img {
  height:20px;
}

.nav-mobile__label {
  font-size: 0.625rem;    /* 10px */
  letter-spacing: -0.03em;
}

/* ============================================================
   site-footer　（サイトフッター）--共通構造
   ============================================================ */
.site-footer {
  background-color: var(--color-bg);
  border-top: 4px solid var(--color-accent);
  margin-top: auto;
  padding-bottom: 1rem;
}

.site-footer__inner {
  display: flex;
  flex-direction: column;
  gap: 2rem;
  max-width: 1280px;
  margin: 0 auto;
  padding: 4rem var(--container-padding-x);
}

@media (min-width: 768px) {
  .site-footer__inner {
    flex-direction: row;
    align-items: center;
    justify-content: space-between;
  }
}

.site-footer__brand {
  display: flex;
  flex-direction: column;
  gap: 0.5rem;
}

.site-footer__brand-name {
  font-family: var(--font-serif);
  font-weight: 700;
  font-size: 1.25rem;
  color: var(--color-text);
}

.site-footer__brand-tagline {
  font-size: 0.75rem;
  color: var(--color-accent);
  letter-spacing: 0.1em;
  text-transform: uppercase;
  opacity: 0.7;
}

.site-footer__right {
  display: flex;
  flex-direction: column;
  gap: 1rem;
  align-items: flex-start;
}

@media (min-width: 768px) {
  .site-footer__right {
    align-items: flex-end;
  }
}

.site-footer__nav-list {
  display: flex;
  gap: 1.5rem;
  list-style: none;
  margin: 0;
  padding: 0;
}

.site-footer__nav-link {
  font-size: 0.75rem;
  color: var(--color-muted);
  letter-spacing: -0.02em;
}

.site-footer__nav-link:hover {
  color: var(--color-accent);
}

.site-footer__copyright {
  font-size: 0.625rem;    /* 10px */
  color: #9ca3af;         /* gray-400 */
  font-family: var(--font-sans);
  letter-spacing: 0.2em;
}


/* ============================================================
   main div.content（メインコンテンツ領域）---共通構造
   ============================================================ */
.content {
  max-width: 800px; /*1280*/
  margin: 0 auto;
  padding: 1rem var(--container-padding-x);
  padding-bottom: 6rem;  /* モバイルnavの高さ分の余白 */
  display: flex;
  flex-direction: column;
  gap: 1.5rem;
}


/* ──────────────────────────────────────────────    document   */

/*============================================================
  body.page-document   <main><content> --document
============================================================ */

.page-document .content {
  gap: 0rem;
}
.page-document .content p{
  margin: 0rem 0 1rem 0;
}
.page-document .content ul {
  margin-left: 2rem;
  margin-bottom: 1rem;
}

/* ──────────────────────────────────────────────    article   */

/*============================================================
   article   <main><content><article> --コンテンツ本体共通
============================================================ */

article ol {
  list-style-type: decimal;
  padding: 1rem 1rem 0.5rem 2rem;
  line-height: 1.5;
  border:1px solid var(--color-accent-thinyellow);
  margin: 0 3rem 1rem 3rem;
  display: flex;
  flex-direction: column;
  background-color: var(--color-accent-thinyellow);
  background-image: linear-gradient(55deg, #fffefa 40%, transparent);
  box-shadow: 0px -8px 10px -9px rgba(0, 0, 0, 0.1);
}

article ol li {
  padding-left: 0.25rem;
  margin-bottom: 0.75rem;
}
article ul {
  list-style-type: disc;
  padding-left: 1.5rem;
  line-height: 1.5;
  margin: 1rem 3rem 1rem 0.5rem;
}

article ul li {
  padding-left: 0.25rem;
  margin-bottom: 0.75rem;
}

article strong {
  font-weight: 700;
  display: inline;
  text-decoration: underline;
  text-decoration-color: var(--color-accent-green);
  text-decoration-thickness: 2px;
  text-underline-offset: 3px;  /* 文字との距離調整 */
}

@media (max-width: 480px) {
  article ol, article ul  {
    font-size: 0.875rem;
    margin: 0 0rem 0 0.875rem;
  }
}

/* ============================================================
   breadcrumb（パンくずリスト）---共通コンポーネント
   ============================================================ */
.breadcrumb {
  padding: 0.5rem 0rem 0rem 0rem;
  max-width: 1280px;
}

.breadcrumb__list {
  display: flex;
  align-items: center;
  gap: 0.25rem;
  list-style: none;
  margin: 0;
  padding: 0;
  flex-wrap: wrap;
}

.breadcrumb__item {
  display: flex;
  align-items: center;
  font-size: 0.75rem;     /* 12px */
  color: var(--color-muted);
}

.breadcrumb__item + .breadcrumb__item::before {
  content: '›';
  margin: 0 0.375rem;
  color: var(--color-muted);
}

.breadcrumb__link {
  display: flex;
  align-items: center;
  gap: 0.25rem;
  color: var(--color-muted);
  transition: color 0.2s;
}

.breadcrumb__link:hover {
  color: var(--color-accent);
}

.breadcrumb__home-icon {
  font-size: 0.75rem;
}

.breadcrumb__item--current {
  color: var(--color-muted);
}

  /*============================================================
   link-card (ブックマークブロック) ---共通コンポーネント
   ============================================================ */

.link-card {
  font-size:0.875rem;
  display: flex;
  gap: 1rem;
  align-items: stretch;   /* ← center から stretch に変更 */
  /* 他はそのまま */
  padding: 0 0 0 0;
  border-right: 1px solid #eee5e5;  
  border-bottom: 1px solid #eee5e5;
  border-left: 1px solid #fff5f5;  
  border-top: 1px solid #fff5f5;
  border-radius: 4px;
  text-decoration: none;
  color: inherit;
  background-color: var(--color-white);
  width: 100%;
  margin: 1rem 0;
  box-shadow: 0px -8px 10px -9px rgba(0, 0, 0, 0.1);
}

.link-card img {
  display: block;
  width: 120px;
  height: 100%;           /* ← 固定値をやめる */
  min-height: 120px;       /* ← 最低限の高さは確保 */
/*  margin:1rem;ｖ*/
  object-fit: cover;
  border-radius: 4px 0 0 4px;  /* ← カード左側だけ角丸に */
  flex-shrink: 0;
  align-self: stretch;    /* ← 親の高さにぴったり合わせる */
}
.link-card img.is-logo {
  width: 90px;
  padding-left: 1rem;
  object-fit: contain;     /* トリミングせず全体表示 */
  background: var(--color-white);     /* 余白部分の背景色 */
}

.link-card__body {
  display: flex;
  flex-direction: column;
  flex: 1; 
  gap: 4px;
  text-align: justify;
  text-justify: inter-ideograph; /* Edge */
  line-break: strict;
  word-break: break-word;
  overflow-wrap: break-word;
  word-wrap: break-word;
  margin: 1rem 1rem 0rem 0rem;
}

strong.link-card__title {  text-decoration: none;}
.link-card__title { font-size: 1rem;
  border-bottom: 2px solid var(--color-accent-green);
}
.link-card__desc  { font-size: 0.875rem; color: #666; }
.link-card__url   { font-size: 0.75rem; color: #999; 
  word-break: break-all;    /* URLは文字単位で折り返す */
  overflow-wrap: anywhere;  /* どこでも折り返せるように */
  text-align: left;         /* justifyをURLだけ解除 */
}

/* モバイル */
@media (max-width: 480px) {
  .link-card img {
    width: 80px;      /* 画像を少し小さく */
  }
  .link-card img.is-logo {
    width: 70px;      /* 画像を少し小さく */
    padding-left: 0.5rem;
  }
  .link-card__title {
    font-size: 0.75rem;
  }

  .link-card__desc {
    font-size: 0.8125rem;
  }

  .link-card__url {
    font-size: 0.6875rem;
  }
}
/*============================================================
   post-nav（前後ナビ）---共通コンポーネント
   ============================================================ */

.post-nav {
  display: flex;
  justify-content: space-between;
  gap: 1rem;
  margin-top: 3rem;
}

.post-nav__prev,
.post-nav__next {
  flex: 1;
}

.post-nav__prev { text-align: left; }
.post-nav__next { text-align: right; }

.post-nav a:hover {
  background-color: #f9f9f9;
  border-color: var(--color-border);
}

/*============================================================
   related-posts ---共通コンポーネント  
   ============================================================ */  

/* カード（横に並ぶ） */
.related-posts__list {
  display: flex;
  flex-direction: row;     /* 横方向（これがデフォルト） */
  flex-wrap: wrap;         /* 幅が足りなければ折り返す */
  gap: 1rem;
}

.related-posts__item {
  flex: 1 1 200px;  /* 最小200px、余白は均等に伸びる */
}







/* ──────────────────────────────────────────────    POST PAGE   */

/* ============================================================
   article.post　（記事コンテンツのスタイル） --- POST PAGE
============================================================ */

.post {
  color: var(--color-text);
  flex-direction: column;
}

.post p{
  padding: 0 1rem;
  font-size: 1.125rem;
  line-height: 2.0;
  margin: 1.5rem 0 2rem;
  font-family: var(--font-sanserif);
  font-weight: 400;
  text-align: justify;
  text-justify: inter-ideograph; /* Edge */
  line-break: strict;
  word-break: break-word;
  overflow-wrap: break-word;
  word-wrap: break-word;
}

.post h1,.post h2,.post h3,.post h4,.post h5,.post h6{
  font-family: var(--font-serif);
  color: var(--color-text);
    text-align: justify;
  text-justify: inter-ideograph; /* Edge */
  line-break: strict;
  word-break: break-word;
  overflow-wrap: break-word;
  word-wrap: break-word;
}

.post h1{
  font-size: 3.75rem;
  font-weight: 800;
  line-height: 1.15;
  letter-spacing: -0.03em;
  text-align: center;
  color: var(--color-accent);
    /* 上側のゆったり感（5rem）はキープ */
  padding-top: 5rem; 
  /* 【重要】下のpaddingは0にして、marginだけでspanとの距離を測る */
  padding-bottom: 0;
  margin: 0; /* 下マージンを絞る */
}

.post-header {
  display: flex;
  flex-direction: column;
  align-items: center;
  width: 100%;
  gap: 0;
}
.post-header__subtitle {
    font-size: 1rem;
    font-weight: 400;
    color: var(--color-muted);
    letter-spacing: 0.4rem;
    text-align: center;
    display: inline-block;   /*長体に必須*/
    transform: scaleX(0.85); /*長体*/
    max-width: 600px;
    margin: 1rem auto 5rem auto; /* 上1rem、下5remのマージン */
}

.post h2{
  font-size: 1.75rem;
  font-weight: 600;
  line-height: 1.5;
  margin: 4rem 0 2rem 0;
  padding: 1.5rem 1rem 1.5rem 1rem;
  background-color: var(--color-bg-shade);
  background-image: linear-gradient(55deg, #fffefa 42%, transparent);
  border-top:5px solid var(--color-border-thin);
  border-bottom:0px solid var(--color-border-thin);
}

/* --- 通常のテキスト段落のルール --- */
/* h2の直後にある最初の段落の上マージンを消す */
.post h2 + p, .post h1 ~ p:first-of-type {
  margin-top: 0;
}

/* 画像入りの p タグ自体の余白を設定 */
.post p:has(> img) {
  margin: 1.5rem 0;
}
/* 最初の要素が画像入りの p タグなら上マージンを消す */
.post p:has(> img):first-child {
  margin-top: 0;
}

/* --- 画像自体のスタイル --- */
.post p:has(> img) img {
  display: block;
  max-width: 100%;
  margin: 0 auto;
  height: auto;
  object-fit: cover; /* 画像のアスペクト比を保ちつつ、枠に収める */
}

.post hr {
  border: none;
  border-top: 1px solid var(--color-accent-thinyellow);
  color: var(--color-accent-yellow);
  overflow: visible;
  text-align: center;
  height: 5px;
  margin: 3rem 0;
}

.post hr::after {
  background: var(--color-bg);
  content: "☙ ⁂ ❧";
  font-family: var(--font-serif);
  padding: 0 10px;
  position: relative;
  top: -13px;
}


.post .post-meta {
  flex-direction: row;
  font-size: 0.75rem;
  font-weight: 400;
  color: var(--color-muted);
  letter-spacing: 0.0em;
  text-align: center;
  align-items: center; /* 上下の中央揃え */
 
  display: inline-block;
  transform: scaleX(1.0);

  padding: 0;
  margin: 0;
  margin-top: 1rem;
  margin-bottom: 2rem;
  width: 100%;
  gap: 0rem;
}
.post .post-meta time {
  display: inline-flex;
  align-items: center;
  gap: 0.25rem;
  line-height: 1.5rem;
  padding: 0rem 0.5rem;
}

.post .post-meta time::before {
  content: '';
  display: block;
  width: 1.2rem;
  height: 1.2rem;
  background-image: url("../images/icons/icon-meta-time_tatami.svg");
  background-repeat: no-repeat;
  background-size: contain;
  background-position: center;
  flex-shrink: 0;
  opacity: 0.9;
}
article.post ul{
  padding-right: 2.5rem;
  margin-left: 2rem;
}
article.post ol {
  margin-right: 2rem;
}

@media (max-width: 480px) {
  .post h1{
    padding-top: 3rem;
    font-size: 2.25rem;
  }
  .post h2{
    font-size: 1.375rem;
    font-weight: 700;
    padding: 1rem 1rem 1rem 0.5rem;
  }
  .post p{
    font-size: 1rem;
    line-height: 1.8;
    padding: 0 1rem 0 0.5rem;
  }
  .post-header__subtitle {
    max-width: 300px;
    margin-bottom: 3rem; /*下の余白 */
    font-size: 0.875rem;
  }
  .post .post-meta {
    margin-top: 0.5rem;
    margin-bottom: 0.5rem;
  }
  .post .post-meta time {
    font-size: 0.75rem;
  }
  article.post ul{
  padding-right: 1.5rem;
  margin-left: 1rem;
}
article.post ol {
  margin-right: 1rem;
}
}





/* ──────────────────────────────────────────────    TOP PAGE   */

/* ============================================================
   .home-page .content__header --- TOP PAGE (HOME)
   ============================================================ */

.home-page .site-header{
  /*background-color: transparent;*/
  background-color:rgba(97, 23, 23, 0.027);
  border-bottom: none;
}

.home-page img.content__image{
  width: 100vw;
    margin-left: calc(50% - 50vw);
    margin-right: calc(50% - 50vw);
    margin-top: -5rem;
    max-width: none;
    /* 親のmax-widthを打ち消す */
    object-fit: cover;
    min-height: 500px;
}

.home-page .content{
  min-width: 100%;
  padding:0 0 
}
.home-page .content__header {

    display: flex;
  flex-direction: row-reverse; 
  flex-wrap: nowrap;
  gap: 1rem;

  
}
.floating-block {
  position: absolute; /* 親要素を基準にする（ここではビューポート） */
  top: 7rem;           /* 上からの距離を%で指定して可変に */
  right: 10%;          /* 左からの距離を%で指定して可変に */
  width: 650px;        /* ブロックの幅を指定 */
  /*height: 500px;        ブロックの高さを指定 */
  /*background-color: rgba(255, 255, 255, 0.8);  背景色を半透明に */
  /*padding: 40px;        内側の余白を指定 */
  /*box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1);  影をつけて立体感を出す */
  z-index: 10;         /* メインコンテンツよりも手前に表示 */
}

.home-page .content__header .content__title{
  flex: 1 3;
    /*flex: 1 3 100px;   最小200px、余白は均等に伸びる */
        writing-mode: vertical-rl;
        font-family: var(--font-serif);
        font-weight: 800;
        font-size: 3.5rem;
        color: var(--color-accent-deep);
              text-shadow: var(--color-bg) 0px 0px 3px;
}
.home-page .content__header .content__title-version{
  display: block;
          font-family: var(--font-serif);
          font-weight: 200;
            color: var(--color-accent-green);
            font-size: 1.25rem;
}

.home-page .content__header .content__description{
    flex: 1 1 200px;  /* 最小200px、余白は均等に伸びる */
}

.home-page .content__header .content__description p{
      text-shadow: #ffffff 0px 0px 3px;
      padding-top: 2rem;
      text-align: right;
}
.home-page .content__title {
  font-size: 2.25rem;
  font-weight: 700;
  color: var(--color-text);
  letter-spacing: -0.02em;
  margin: 0;
  line-height: 2.5rem;
}




.post-list__item a{
  font-size: 1rem;
  font-weight: 500;
  color: var(--color-muted);
  padding-bottom: 0.25rem;
  transition: color 0.2s, border-color 0.2s;
}

.post-list__item a:hover {
  color: var(--color-accent);
  text-decoration: underline;
    text-decoration-color: var(--color-text-light);
    text-underline-offset: 5px;
  font-size: 1rem;
  font-weight: 500;
  color: var(--color-accent);
  padding-bottom: 0.25rem;
  transition: color 0.2s, border-color 0.2s;
}


@media (max-width: 767px) {
  .home-page .site-header{
    background: none;
  position: relative;
}
.home-page .content__header .content__title{
  font-size: 2.5rem;
  font-weight: 800;
  flex: 1 6 80px;
  white-space: nowrap;
}
.home-page .content__header .content__description{
  display: block;
  position: absolute;
  top: -50px;
  right: 96px;
  width: 200px;
}
}




/* ============================================================
   post-list（記事リスト） --- 汎用  / top(home)
   ============================================================ */


.post-list__heading {
  display: block;
  padding: 0.5rem 1rem;
  background-color: var(--color-accent-deep);
  color: var(--color-bg);
  font-size: 1rem;
  font-weight: 700;
  font-family: var(--font-serif);
  margin: 0 0 1rem;
}

.post-list__items {
  list-style: none;
  margin: 0;
  padding: 0;
}
.post-list__item {
  display: flex;
  flex-direction: column;
}

.post-list .post-meta time {
  display: inline-flex;
  align-items: center;
  gap: 0.25rem;
  line-height: 1.5rem;
  padding: 0rem 0.5rem 0 0;
  color: var(--color-muted);
  font-size: 0.75rem;
}

.post-list .post-meta time::before {
  content: '';
  display: block;
  width: 1.2rem;
  height: 1.2rem;
  background-image: url("../images/icons/icon-meta-time_tatami.svg");
  background-repeat: no-repeat;
  background-size: contain;
  background-position: center;
  flex-shrink: 0;
  opacity: 0.9;
}
.post-list__item {
  margin-bottom: 0.5rem;
  padding: 0 0.5rem;
}

.post-list__link {
  color: var(--color-blue-text);
}

.post-list__link:hover {
  text-decoration: none;
}

.home-page .post-list{
  max-width: 800px;
  margin: 0 auto;
  padding: 1rem 1rem 6rem 0rem; /* 下はモバイルnavの高さ分の余白 */
  display: flex;
  align-items: stretch; /* 見出しの箱をリストと同じ高さまで伸ばす */
  flex-direction: row;
  gap: 1.5rem;
  z-index: 20;
}

.home-page .post-list__heading{
  min-width: 120px;
  height: 120px;
    flex-grow: 0;
  padding:0;
  display: flex;
  align-items: center;     /* 縦中央 */
  justify-content: center; /* 横中央（必要なければ削ってOK） */
  text-align: center;
  letter-spacing: 0.1em;
}
.home-page .post-list__item{
  min-width: 202px;
  flex-grow: 1;

}
@media (max-width: 767px) {
.home-page .post-list{
    width: 370px;
}
}
@media (min-width: 768px) {
.home-page .post-list{
    width: 680px;
}
}
/* ============================================================
   status-card（ステータスカード） --- TOP PAGE
   ============================================================ */
.status-card {
  background-color: var(--color-white);
  padding: 1.5rem;
  border-radius: 0.75rem;
  border: 1px solid #f3f4f6;  /* gray-100 */
  box-shadow: 0 1px 3px rgba(0, 0, 0, 0.1), 0 1px 2px rgba(0, 0, 0, 0.06);
  transition: box-shadow 0.2s;
}

.status-card:hover {
  box-shadow: 0 10px 25px rgba(0, 0, 0, 0.15);
}

.status-card__title {
  font-size: 1.5rem;
  font-weight: 700;
  color: #1d4ed8;           /* blue-700 */
  margin: 0 0 0.75rem;
}

.status-card__list {
  list-style: disc;
  list-style-position: inside;
  margin: 0;
  padding: 0;
  color: #374151;           /* gray-700 */
  display: flex;
  flex-direction: column;
  gap: 0.5rem;
}

.status-card__item {
  /* 装飾はリスト側で持つ */
}

/* ============================================================
   tag-cloud（タグクラウド） --- TOP PAGE
   ============================================================ */
.tag-cloud {
  display: flex;
  flex-wrap: wrap;
  gap: 0.5rem;
}

.tag { text-decoration: none; }
.tag--sm { font-size: 0.8rem; }
.tag--md { font-size: 1rem; }
.tag--lg { font-size: 1.3rem; }

