/**
 * 新着記事風のアーカイブページスタイル
 * 参考: https://www.medicarelife.com/study/data/
 */

/* コンテナ */
.sqd-content-gray {
    background-color: #f5efec;
  }
  
  .sqd-inner {
    max-width: 1132px;
    width: 100%;
    margin: auto;
    padding: 60px 15px;
  }
  
  .sqd-inner > :first-child {
    margin-top: 0;
  }
  
  .sqd-inner > :last-child {
    margin-bottom: 0;
  }
  
  /* 見出しラベル */
  .sqd-hdg-label-02 {
    position: relative;
    text-align: center;
    margin-bottom: 60px;
  }
  
  .sqd-hdg-label-02__txt {
    display: inline-block;
    font-size: 2.4rem;
    font-weight: 700;
    color: #5b3d2d;
  }
  
  /* 記事ボックス */
  .sqd-box {
    padding: 0 40px;
    background-color: #fff;
    border-radius: 5px;
  }
  
  .sqd-box__item {
    padding: 40px 0;
  }
  
  .sqd-box__item + .sqd-box__item {
    border-top: 1px solid #d2bdb2;
  }
  
  /* 日付付き見出し */
  .sqd-hdg-date {
    color: #5b3d2d;
    margin-bottom: 32px;
  }
  
  .sqd-hdg-date__date {
    display: inline-block;
    padding: 3px 15px;
    background-color: #fff4dc;
    border-radius: 13px;
    font-size: 1.5rem;
    font-weight: 400;
  }
  
  .sqd-hdg-date__txt {
    display: block;
    margin-top: 7px;
    font-size: 2rem;
    font-weight: 700;
  }
 
  /* タグスタイル（一覧ページ用） */
  .sqd-tags {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
    margin-top: 12px;
    margin-bottom: -12px;
  }

  .post-tag {
    display: inline-block;
    padding: 4px 14px;
    background-color: #e8f4f8;
    border-radius: 15px;
    font-size: 1.3rem;
    color: #4a90a4;
    text-decoration: none;
  }

  .post-tag::before {
    content: "#";
    margin-right: 2px;
    opacity: 0.7;
  }

 
  /* メディアレイアウト */
  .sqd-media-lyt {
    display: flex;
    flex-direction: row-reverse;
  }
  
  .sqd-media-lyt__head {
    width: 100%;
    margin-left: 60px;
  }
  
  .sqd-media-lyt__head p {
    margin-bottom: 15px;
    line-height: 1.8;
    color: #5b3d2d;
  }
  
  .sqd-media-lyt__body {
    flex-shrink: 0;
    text-align: center;
  }
  
  .sqd-media-lyt__body img {
    max-width: 200px;
    height: auto;
    border-radius: 5px;
  }
  
  .sqd-media-lyt__placeholder {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 200px;
    height: 150px;
    background-color: #f5efec;
    border-radius: 5px;
    color: #d2bdb2;
  }
  
  /* 続きを読むリンク */
  .list-link-a {
    list-style: none;
    padding: 0;
    margin: 15px 0 0;
  }
  
  .list-link-a li {
    margin-bottom: 8px;
  }
  
  /* アイコンは master.css のスプライト画像指定をそのまま使う（ここでは上書きしない） */
  .list-link-a > li > a {
    color: #ff6e14;
  }

  .list-link-a > li > a:hover {
    text-decoration: underline;
  }
  
  /* ページネーション */
  .sqd-pagination {
    margin-top: 40px;
    text-align: center;
  }
  
  .sqd-pagination .nav-links {
    display: flex;
    justify-content: center;
    gap: 10px;
  }
  
  .sqd-pagination .page-numbers {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-width: 40px;
    height: 40px;
    padding: 0 12px;
    background-color: #fff;
    border: 1px solid #d2bdb2;
    border-radius: 5px;
    color: #5b3d2d;
    text-decoration: none;
    transition: all 0.3s ease;
  }
  
  .sqd-pagination .page-numbers:hover {
    background-color: #ff6e14;
    border-color: #ff6e14;
    color: #fff;
  }
  
  .sqd-pagination .page-numbers.current {
    background-color: #ff6e14;
    border-color: #ff6e14;
    color: #fff;
  }
  
  /* 検索結果件数 */
  .sqd-search-count {
    text-align: center;
    color: #837167;
    font-size: 1.4rem;
    margin: -40px 0 40px;
  }

  /* 記事がない場合 */
  .sqd-no-results {
    padding: 60px 40px;
    background-color: #fff;
    border-radius: 5px;
    text-align: center;
  }
  
  .sqd-no-results__title {
    font-size: 2rem;
    font-weight: 700;
    color: #5b3d2d;
    margin-bottom: 20px;
  }
  
  .sqd-no-results__message {
    color: #5b3d2d;
    margin-bottom: 30px;
  }
  
  /* レスポンシブ対応 */
  @media screen and (max-width: 768px) {
    .sqd-inner {
      padding: 40px 15px;
    }
  
    .sqd-hdg-label-02 {
      margin-bottom: 30px;
    }
  
    .sqd-hdg-label-02__txt {
      font-size: 2rem;
    }
  
    .sqd-box {
      padding: 0 25px;
    }
  
    .sqd-box__item {
      padding: 30px 0;
    }
  
    .sqd-hdg-date__txt {
      font-size: 1.8rem;
    }
  
    .sqd-media-lyt {
      flex-direction: column-reverse;
    }
  
    .sqd-media-lyt__head {
      margin-top: 30px;
      margin-left: 0;
    }
  
    .sqd-media-lyt__body img {
      max-width: 100%;
    }
  }
  
