/* フッター完全削除 */
footer.footer { display: none !important; }
.kei-footer {
  margin-top: 100px;
  padding: 48px 32px;
  font-size: 14px;
  color: rgba(0,0,0,0.55);
}

.kei-footer-inner {
  max-width: 1200px;
  margin: 0 auto;
  display: flex;
  justify-content: space-between;
  align-items: center;
}
.kei-footer-home {
  font-weight: normal;
}
.kei-footer {
  margin-top: 10px;
}


/* ナビボタン非表示 */
#top-link {
  display: none !important;
}

/* トップページのロゴだけ明朝 */
body .logo {
 font-family: "YuMincho", "Hiragino Mincho ProN", "Yu Mincho", "MS PMincho", serif;
  font-weight: normal;
  letter-spacing: 0.02em;
}

/* 展示室の余白 */
main.main {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0px 32px;
}

/* 最後の写真の下だけ詰める */
.post-content img:last-child {
  margin-bottom: 64px;
}

body { background: #f4f3ef; }
.post-content img { background: #fff; }

/* 文字はブラウザ標準に寄せる */
html { font-size: 16px; }
body { line-height: 1.6; }

/* リンクのアンダーラインを消す */
a, a:link, a:visited {
  text-decoration: none !important;
  border-bottom: none !important;
  box-shadow: none !important;
  background-image: none !important;
  background-size: 0 0 !important;
}

/* 本文内リンク */
.post-content a, .entry-content a, .content a {
  text-decoration: none !important;
  border-bottom: none !important;
  box-shadow: none !important;
  background-image: none !important;
}

/* hoverだけ“文字の下線”を出す */
a:hover {
  text-decoration: underline !important;
}

/* 写真 */
.post-content img {
  display: block;
  max-width: 960px;
  width: 100%;
  margin: 160px auto;
}

/* 壁（背景） */
html, body, .main, .page, .wrapper, .container {
  background: #f4f3ef !important; /* 紙っぽい白 */
}

/* 写真に白マット */
.post-content img {
  background: #fff;
  padding: 8px;
  box-sizing: border-box;
}
box-shadow: 0 1px 4px rgba(0,0,0,0.06);

/* works 目録（確実にグリッド化） */
main .works-grid{
  max-width: 1200px;
  margin: 0 auto;
  padding: 140px 32px;

  display: grid !important;
  grid-template-columns: repeat(auto-fit, minmax(260px, 1fr)) !important;
  gap: 56px 32px !important;
}

main .work-card{
  display: block;
  text-decoration: none !important;
}

main .work-thumb{
  display: block;
  width: 100%;
  height: auto;

  background: #fff;
  padding: 8px;
  box-sizing: border-box;
  filter: contrast(0.95);
}

main .work-title{
  margin-top: 14px;
  font-size: 14px;
  color: rgba(0,0,0,0.65);
}


/* works 目録（グリッド） */
.works-grid{
  max-width: 1200px;
  margin: 0 auto;
  padding: 140px 32px;

  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
  gap: 56px 32px;
}

/* 作品カード */
.work-card{
  display: block;
  text-decoration: none !important;
}

/* サムネ（白マット＋静かな置き方） */
.work-thumb{
  display: block;
  width: 100%;
  height: auto;

  background: #fff;
  padding: 8px;            /* マット幅：シリーズと揃える */
  box-sizing: border-box;

  border-radius: 4px;      /* 角丸いらなければ0に */
}

/* タイトル（控えめ） */
.work-title{
  margin-top: 14px;
  font-size: 14px;
  line-height: 1.4;
  color: rgba(0,0,0,0.65);
}

/* hover：やりすぎない */
.work-card:hover .work-title{
  text-decoration: underline;
}

/* ヘッダ直下〜本文までを詰める（全ページ共通） */
main.main {
  padding-top: 72px;
  padding-bottom: 10px

}

/* ページタイトル周りの余白を削る */
.post-single,
.post-content {
  margin-top: 0;
}

/* 一覧・トップ共通のタイトル余白も削る */
.page-header,
.first-entry {
  margin-top: 0;
  margin-bottom: 0;
}


