  
/* ▼ 全体（PC3列） */
.home_post_wrapper {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 20px;
  max-width: 1200px;
  margin: 0 auto;
  padding: 40px 0;
  box-sizing: border-box;
}

/* ▼ 各カード */
.home_post_box {
  background: #000;
  color: #fff;
  text-align: left;
  display: flex;
  flex-direction: column;
}


/* ▼ 画像（245:170固定トリミング） */
.home_post_box_hover {
  position: relative;
  width: 100%;
 aspect-ratio: 245 / 150;
  overflow: hidden;
  background: #000;
}
.home_post_box_hover img {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center;
}


/* ▼ テキスト部分 */
.footer_list_box {
  padding: 12px 0 16px;
}
.footer_list_ttl a {
  display: inline-block;
  padding: 4px 0px;
  color: #fff;
  text-decoration: none;
  font-size: 14px;
  font-weight: 600;
  line-height: 1.5;
}
.footer_list_meta {
  margin-top: 0px;
  font-size: 12px;
  color: #b68e4a;
  line-height: 1.6;
  letter-spacing: 0.05em;
}
.footer_list_meta a {
  color: #b68e4a;
  text-decoration: none;
  margin-right: 6px;
}

.footer_list_meta a:hover{
  color:#ffffff;
}

/* ▼ スマホ（横並びに変更） */
@media (max-width: 768px) {
  .home_post_wrapper {
    grid-template-columns: 1fr;
    gap: 28px;
    padding: 24px 10px;
  }

  .home_post_box {
    flex-direction: row;
    align-items: flex-start;
    gap: 16px;
  }

  .home_post_box_hover {
    width: 45%;
  aspect-ratio: 245 / 150;
    flex-shrink: 0;
  }

  .footer_list_box {
    width: 55%;
    padding: 0;
    display: flex;
    flex-direction: column;
    justify-content: center;
  }

  .footer_list_ttl a {
    font-size: 14px;
    padding: 2px 0px;
    line-height: 1.4;
  }

  .footer_list_meta {
    font-size: 11px;
    margin-top: 8px;
  }
}




.home_post_box a img{
opacity:0.5;
filter: alpha(opacity=50);        /* ie lt 8 */
-ms-filter: "alpha(opacity=50)";  /* ie 8 */
-moz-opacity:0.5;                 /* FF lt 1.5, Netscape */
-khtml-opacity: 0.5;              /* Safari 1.x */
zoom:1;
-webkit-filter: grayscale(100%);
  -moz-filter: grayscale(100%);
  -ms-filter: grayscale(100%);
  -o-filter: grayscale(100%);
  filter: grayscale(100%);
  filter: gray; /* IE 6-9 */
}

.home_post_box a:hover img{
-webkit-filter: grayscale(0%);
  -moz-filter: grayscale(0%);
  -ms-filter: grayscale(0%);
  -o-filter: grayscale(0%);
  filter: grayscale(100%);
  filter:none; /* IE 6-9 */
opacity:1;
filter: alpha(opacity=100);        /* ie lt 8 */
-ms-filter: "alpha(opacity=100)";  /* ie 8 */
-moz-opacity:1;                 /* FF lt 1.5, Netscape */
-khtml-opacity: 1;              /* Safari 1.x */
zoom:1;
}

.home_post_box_last { margin-right: 0; }
  
  
  /* スマホ中段ナビ */

@media screen and (max-width: 768px) {
  div#contents_footer {
    width: 100%;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    margin: 60px 0 80px 0;
    padding: 0;
  }

  /* 左側全体を中央寄せ */
  #left_contents_footer {
    width: 100%;
    display: flex;
    justify-content: center;   /* ← 中央揃えのポイント① */
    margin: 0 auto 40px auto;
    padding: 0;
  }

  /* CONTACT / TELEPHONE */
  #left_contents_footer #left_contents {
    display: flex;
    flex-direction: row;
    justify-content: center;   /* ← 中央揃えのポイント② */
    align-items: center;
    gap: 15px;
    margin: 0;
    padding: 0;
  }

  #left_contents_footer #left_contents li img {
    height: 40px;
    display: block;
  }

  /* BACK / NEXT */
  #right_contents_footer {
    width: 100%;
    display: flex;
    justify-content: center;
    align-items: center;
  }

  #right_contents_footer ul#right_contents {
    text-align: center;
    margin: 0;
    padding: 0;
  }

  #right_contents_footer ul#right_contents li {
    display: inline-block;
    font-size: 15px;
    letter-spacing: 0.25em;
    position: relative;
    top:2px;
    margin: 0 10px; /* BACKとNEXTの間隔 */
  }
}


  /* スマホ中段ナビ */

@media screen and (max-width: 768px) {
  ul#contents_nav_sp {
    width: 90%;
    margin: 40px auto;
    padding: 0;
    list-style: none;
    display: flex;
    flex-direction: column;
    gap: 15px;
  }

  /* ▼ プルダウン共通スタイル（Archive / Categories） */
  ul#contents_nav_sp select {
    width:260px;
    padding: 6px 14px;
    font-size: 16px;
    line-height: 1.4;
    border: none;
    border-radius: 6px;
    background-color: #e0dfdf;
    color: #222;
    appearance: none;
    -webkit-appearance: none;
    -moz-appearance: none;
    background-image: url("data:image/svg+xml;utf8,<svg fill='%23666' height='24' viewBox='0 0 24 24' width='24' xmlns='http://www.w3.org/2000/svg'><path d='M7 10l5 5 5-5z'/></svg>");
    background-repeat: no-repeat;
    background-position: right 10px center;
    background-size: 18px;
  }

  /* ▼ 検索フォーム */
  
/* ▼ 全体コンテナ */
  .search-box {
    position: relative;
   width: 270px!important;
    margin: 0 auto;
  }

  /* ▼ 入力欄ラッパー */
  .search-input-wrap {
    width: 270px!important;
  }

  /* ▼ 入力欄 */
  #s {
    width: 270px!important;
    height: 34px!important;
    border: none;
    outline: none;
    font-size: 16px;
    color: #333;
    background-color: #e0dfdf;  /* ← Archive / Categories と同トーン */
    border-radius: 6px;
    padding: 0;     /* ← アイコン分の右余白を確保 */
    box-sizing: border-box;
  }

  /* ▼ 検索ボタン（右端に絶対配置） */
  #searchBtn {
    position: absolute;
    top:-32px!important;
    left:88%!important;
	margin: 0 0 0 0!important;
    width: 30px;
    height: 30px;
    background-color: #a77b46;  /* 茶色背景 */
    border-radius: 6px;
    padding: 5px;
    box-sizing: border-box;
  }

  /* ▼ ホバー時 */
  #searchBtn:hover {
    opacity: 0.85;
  }

  #footer_contents .page-header{
	margin:0px 0 20px 0;
	padding:0 0 30px 0;
  }

}

