/* 全体のスタイル */

body {
  font-family: 'メイリオ', 'Meiryo', 'Hiragino Kaku Gothic ProN', 'ヒラギノ角ゴ ProN W3', sans-serif;
  overflow-x: hidden;
  overflow-y: scroll;
  -webkit-overflow-scrolling: touch;
  background-color: #fff;
}
a {
  color: #00796B;
}
.small{
	font-size: 60%;
	font-weight: normal;
}
.botan_w {
  background-color: #fff;
  padding: 5px;
  margin: 5px 5px;
  display: inline-block;
  width: 300px;
  height: auto;
  text-decoration: none;
  color: #575757;
  font-size: 100%;
  font-weight: bold;
  border-radius: 10px;
  text-align: center;
  box-shadow: 5px 5px 3px #A2B59F;
}

.fixed-header {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
	height: 50px;
  background: white;
  padding: 0px 10px;
  box-shadow: 0 2px 5px rgba(0,0,0,0.1);
  z-index: 1000;
  display: flex;
  align-items: center;
}
.logo {
  display: block;
  height: 50px; 
}

.blog-title {
  margin-top: 60px;  
}

h1 {
  text-align: center;
  margin-bottom: 40px;
}

.blog-list {
  display: flex;
  flex-wrap: wrap;
  gap: 20px;
  justify-content: center;
}

.blog-box {
  display: block;
  width: 300px;
  background: white;
  border-radius: 12px;
  box-shadow: 0 4px 8px rgba(0,0,0,0.1);
  text-decoration: none;
  color: inherit;
  transition: transform 0.2s, box-shadow 0.2s;
  overflow: hidden;
}

.blog-box img {
  width: 100%;
  height: 180px;
  object-fit: cover;
}

.blog-box h2 {
  font-size: 18px;
  margin: 16px;
}

.blog-box .date {
  font-size: 14px;
  color: #777;
  margin: 0 16px 16px;
}

.blog-box:hover {
  transform: translateY(2px);
  box-shadow: 0 2px 4px rgba(0,0,0,0.2);
}

.blog-thumb {
  width: 100%;
  max-width: 300px;
  height: auto;
  aspect-ratio: 3 / 2;
  object-fit: cover;
}

.pagination {
  display: flex;
  gap: 10px;
  justify-content: center;
  margin: 30px 0;
}

.pagination a {
  display: inline-block;
  padding: 8px 14px;
  border: 1px solid #ccc;
  text-decoration: none;
  color: #333;
  border-radius: 4px;
  transition: background-color 0.3s;
}

.pagination a:hover {
  background-color: #eee;
}

.pagination a.current {
  background-color: #007bff;
  color: white;
  border-color: #007bff;
  pointer-events: none; /* クリック不可 */
}

footer {
  width: 100%;
  height: auto;
  background: rgb(201, 225, 197);
  background: linear-gradient(0deg, rgba(201, 225, 197, 1) 50%, rgba(236, 231, 214, 1) 100%);
  padding: 2em 0px;
	margin: 1em 0em;
  text-align: center;
}

.small-img {
  width: 300px;
  height: auto; /* アスペクト比を維持 */
}

@media screen and (min-width: 768px) {
  .blog-box {
    display: flex;
    flex-direction: row;
    align-items: stretch;
    width: 700px; /* 横に広げる */
    height: auto;
  }

  .blog-box img.blog-thumb {
    width: 50%;
    height: auto;
    object-fit: cover;
    aspect-ratio: unset; /* PCでは縦横比を固定しない */
  }

  .blog-box h2,
  .blog-box .date {
    margin: 10px 16px;
  }

  .blog-box h2 {
    font-size: 20px;
  }

  .blog-box .date {
    font-size: 14px;
    color: #666;
  }

  .blog-box:hover {
    transform: translateY(0);
    box-shadow: 0 2px 10px rgba(0,0,0,0.15);
  }

  .blog-box > * {
    flex: 1;
  }

  .blog-box-text {
    padding: 16px;
    display: flex;
    flex-direction: column;
    justify-content: center;
  }
}