@charset "utf-8";

.flex-box-img {
    display: flex;
    flex-direction: row; /* PCでは横並び */
    align-items: flex-start;
    gap: 20px;
    margin-bottom: 20px;
}

.box-img img {
    max-width: 100%;
    height: auto;
    display: block;
}

.box-text {
    flex: 1;
}

/* スマホ（画面幅が768px以下）の場合 */
@media screen and (max-width: 768px) {
    .flex-box-img {
        flex-direction: column; /* スマホでは縦並び（画像→テキスト） */
    }
}






.supervision, .supervision * {
    font-size: 1em !important;
  }
.supervision {
    padding: 2em;
    display: flex;
    flex-wrap: wrap;
    gap: 20px;
    align-items: flex-start;
    justify-content: flex-start;
    border: 1px solid #e1e1e1;
  }
  .supervision-box {
    flex: 0 0 190px;
    text-align: center;
  }  
  .supervision-box img {
    border: 3px solid #d1d1d1;
    border-radius: 50%;
    background-color: white;
    padding: 0;
    width: 120px;
    height: auto;
    margin-bottom: 1em;
  }
  .supervision-text {
    flex: 1;
    border-left: 1px solid #e1e1e1;
    padding-left: 26px;
  }
    @media screen and (max-width: 768px) {
    .supervision {
      flex-direction: column;
    }
    .supervision-box,
    .supervision-text {
      flex: 1 1 100%;
      text-align: left;
    }
  }
  .supervision-box h2 {
    background-color: #f1f1f1;
    padding: .5em 1em;
    border-radius: 20px;
    position: relative;
    display: inline-block;
    font-size: 1.2em;
    margin-bottom: 1em;
  }
  .supervision-box h2::after {
    content: "";
    position: absolute;
    bottom: -15px;
    left: 30px;
    width: 0;
    height: 0;
    border-left: 10px solid transparent;
    border-right: 10px solid transparent;
    border-top: 15px solid #f1f1f1;
  }
  .supervision blockquote {
    margin: 0;
    padding: 0;
  }

  @media screen and (max-width: 768px) {
    .supervision-box {
      text-align: center;
      margin: 0 auto;
    }
    .supervision-box img {
      margin: 0 auto 1em;
      display: block;
    }
    .supervision-text {
        border-left: none;
        padding-left: 0;
        margin-left: 0;
      }
      .supervision {
        margin: 1em;
      }
  }



  .column-list {
    display: flex;
    flex-wrap: wrap;
    gap: 1em 2em;
    font-size: 16px;
    font-weight: bold;
  }
  
  .column-list ul {
    display: flex;
    flex-wrap: wrap;
    list-style: none;
    padding:0 1em 1em 1em;
    margin: 0;
    width: 100%;
    gap: 0em 1em;
  }
  
  .column-list li {
    width: 48%;
    box-sizing: border-box;
    position: relative;
    padding-left: .8em;
    margin-bottom: 0.8em;
    line-height: 1.6;
  }
  
  .column-list li::before {
    content: "›"; /* よりスマートで洗練された形 */
    position: absolute;
    left: 0;
    top: 0.1em;
    font-weight: 900; /* 太く */
    font-size: 12px;  /* 小さめに調整 */
    font-family: "Arial", sans-serif; /* スッキリ見える書体に */
    color: #0192d1;
  }
  
  .column-list li a {
    text-decoration: none;
    color: #1a1a1a; /* ベースカラー（住設ドットコムに合わせて） */
    display: inline-block;
    transition: color 0.3s ease;
  }
  
  /* マウスオーバー時の色変化 */
  .column-list li a:hover {
    color: #0088cc; /* ブルー系：リンク時にやや目立たせる */
  }

  @media screen and (max-width: 768px) {
    .column-list li {
      width: 100%;
    }
  }

  .time-data {
    font-size: 1em!important;
    color: #666;                 /* 全体グレー（アイコンも追随） */
    text-align: right;
    /* display:flex; は未使用のまま */
    justify-content: flex-end;
    align-items: baseline;
    gap: .5em;
    flex-wrap: wrap;
    line-height: 1.4;
    margin-bottom: .5em!important;
  }
  
  .time-data time {
    font-size: 1em!important;
    font-variant-numeric: tabular-nums;
    white-space: nowrap;
  }
  
  /* アイコン（共通スタイル） */
  .time-data .ico {
    display: inline-block;
    width: 1em; height: 1em;      /* テキストと同スケール */
    margin: 0 .35em 0 .5em;       /* ラベル前に余白 */
    vertical-align: -0.1em;       /* ベースライン微調整 */
    background-repeat: no-repeat;
    background-size: 100% 100%;
    /* currentColor を使うので、親の color に自動で馴染む */
  }
  
  /* 公開：ファイルアイコン（塗りつぶし） */
  .time-data .ico-file{
    background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='%23666'%3E%3Cpath d='M14 2H7a2 2 0 0 0-2 2v16a2 2 0 0 0 2 2h10a2 2 0 0 0 2-2V8l-5-6zM14 3.5L18.5 9H14V3.5z'/%3E%3C/svg%3E");
  }
  
  /* 更新：時計アイコン（線で描く＝黒丸にならない） */
  .time-data .ico-clock{
    background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23666' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Ccircle cx='12' cy='12' r='9'/%3E%3Cpath d='M12 7v6l4 2'/%3E%3C/svg%3E");
  }

  /* ダークモード（任意） */
  @media (prefers-color-scheme: dark){
    .time-data { color: #888; } /* アイコンも同時に薄くなる */
  }


 /* レイアウト：2カラム折り返し */
.columns-cards {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 20px;
  list-style: none;
  margin: 0 0 2em;
  padding: 0;
}

/* カード本体 */
.columns-cards .card {
  position: relative;
}
.columns-cards .card > a {
  display: block;
  height: 100%;
  border: 1px solid #e5e5e5;
  border-radius: 12px;
  overflow: hidden;
  background: #fff;
  text-decoration: none;
  transition: opacity .2s ease, transform .2s ease, box-shadow .2s ease;
  padding: 15px;
}
.columns-cards .card > a:hover {
  opacity: .85; /* マウスオーバーで半透明 */
  box-shadow: 0 6px 20px rgba(0, 0, 0, .08);
  transform: translateY(-2px);
}

/* 画像・テキスト */
.card-img {
  margin: 0 0 10px;
}
.card-img img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
  transition: none; /* ← 拡大アニメーションを無効化 */
}

/* タイトル */
.card-title {
  font-size: 1rem !important;
  line-height: 1.3;
  margin: 0 0 .3em !important;
  color: #111;
}

/* 説明文 */
.card-desc {
  margin: 0;
  color: #555;
  font-size: .8rem !important;
  line-height: 1.7;
}

/* レスポンシブ */
@media (max-width: 1024px) {
  .columns-cards {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}
@media (max-width: 600px) {
  .columns-cards {
    grid-template-columns: 1fr;
  }
}



/* ベース */
.pagination {
  display: flex;
  justify-content: center;
  margin: 28px 0;
  font-family: inherit;
}

.pager {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  list-style: none;
  padding: 0;
  margin: 0;
}

/* ボタン（丸） */
.page-link,
.page-ellipsis {
  display: inline-flex;
  justify-content: center;
  align-items: center;
  width: 42px;
  height: 42px;
  border-radius: 999px;               /* 丸 */
  border: 1px solid #e5e5e5;
  background: #fff;
  color: #222;
  text-decoration: none;
  font-weight: 600;
  line-height: 1;
  transition: transform .15s ease,
              box-shadow .15s ease,
              background-color .15s ease,
              color .15s ease,
              border-color .15s ease;
  user-select: none;
}

/* 矢印などの中抜きボタン感を少し出す */
.page-link:hover {
  transform: translateY(-1px);
  box-shadow: 0 6px 18px rgba(0,0,0,.06);
  border-color: #dcdcdc;
}

/* アクティブ（現在ページ） */
.page-item.is-current .page-link,
.page-item.is-current .page-link:focus {
  background: #ff8a00;          /* 住設のアクセント寄せ（例） */
  color: #fff;
  border-color: #ff8a00;
  cursor: default;
  box-shadow: 0 6px 18px rgba(255,138,0,.25);
}

/* 無効（先頭/最後の抑制用に） */
.page-item.is-disabled .page-link {
  opacity: .45;
  pointer-events: none;
}

/* 省略記号 */
.page-ellipsis {
  border: none;
  width: auto;
  padding: 0 6px;
  font-weight: 700;
  color: #999;
  background: transparent;
}

/* フォーカスリング（アクセシビリティ） */
.page-link:focus-visible {
  outline: 3px solid rgba(255,138,0,.35);
  outline-offset: 2px;
}

/* コンパクト表示（スマホ） */
@media (max-width: 640px) {
  .pager {
    gap: 6px;
  }
  .page-link {
    width: 38px;
    height: 38px;
    font-weight: 600;
  }
  /* 省略記号はモバイルでは間引くなど運用で可 */
}




.marker-blue {
  font-weight: bold;
  padding: 0 0.2em;
  border-radius: 0.2em;

  /* 行ごとに下半分だけ薄い青を塗る */
  background: linear-gradient(transparent 50%, #e6f0fa 50%);
  box-decoration-break: clone;
  -webkit-box-decoration-break: clone;

  display: inline;
  line-height: inherit;
  white-space: normal;
  word-break: break-word;
}

/* 念のため疑似要素は完全に殺す */
.marker-blue::before,
.marker-blue::after {
  content: none !important;
}



.marker-red {
  color: #d32f2f;
  font-weight: bold;
}