@charset "UTF-8";
/* ================================================
   # 変数・Mixin
   ================================================ */
/* ================================================
   # アーカイブページ
   ================================================ */
.archive-hero {
  color: white;
  position: relative;
  overflow: hidden;
}
@media screen and (max-width: 767.98px) {
  .archive-hero {
    padding: 2.5rem 0;
  }
}
.archive-hero__title {
  font-size: 2.5rem;
  font-weight: 700;
  margin-bottom: 1rem;
  position: relative;
  z-index: 1;
}
@media screen and (max-width: 767.98px) {
  .archive-hero__title {
    font-size: 1.8rem;
  }
}
.archive-hero__desc {
  font-size: 1.1rem;
  opacity: 0.9;
  line-height: 1.6;
  position: relative;
  z-index: 1;
}
@media screen and (max-width: 767.98px) {
  .archive-hero__desc {
    font-size: 1rem;
  }
}

.archive-content {
  display: grid;
  grid-template-columns: 1fr 300px;
  gap: 3rem;
  padding: 3rem 0;
}
@media screen and (max-width: 767.98px) {
  .archive-content {
    grid-template-columns: 1fr;
    gap: 2rem;
    padding: 2rem 0;
  }
}

.archive-main {
  min-width: 0;
}

.posts-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(350px, 1fr));
  gap: 2rem;
  margin-bottom: 3rem;
}
@media screen and (max-width: 767.98px) {
  .posts-grid {
    grid-template-columns: 1fr;
    gap: 1.5rem;
    margin-bottom: 2rem;
  }
}

.post-card {
  background: white;
  border-radius: 12px;
  overflow: hidden;
  -webkit-box-shadow: 0 4px 20px rgba(0, 0, 0, 0.08);
          box-shadow: 0 4px 20px rgba(0, 0, 0, 0.08);
  -webkit-transition: all 0.3s ease;
  transition: all 0.3s ease;
}
.post-card:hover {
  -webkit-transform: translateY(-4px);
          transform: translateY(-4px);
  -webkit-box-shadow: 0 8px 30px rgba(0, 0, 0, 0.15);
          box-shadow: 0 8px 30px rgba(0, 0, 0, 0.15);
}
.post-card:hover .post-card__overlay {
  opacity: 0.3;
}
.post-card:hover .post-card__image img {
  -webkit-transform: scale(1.05);
          transform: scale(1.05);
}
.post-card__link {
  display: block;
  text-decoration: none;
  color: inherit;
}
.post-card__image {
  position: relative;
  height: 200px;
  overflow: hidden;
}
.post-card__image img {
  width: 100%;
  height: 100%;
  -o-object-fit: cover;
     object-fit: cover;
  -webkit-transition: -webkit-transform 0.3s ease;
  transition: -webkit-transform 0.3s ease;
  transition: transform 0.3s ease;
  transition: transform 0.3s ease, -webkit-transform 0.3s ease;
}
.post-card__overlay {
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background: linear-gradient(45deg, #c93b3b, transparent);
  opacity: 0;
  -webkit-transition: opacity 0.3s ease;
  transition: opacity 0.3s ease;
}
.post-card__content {
  padding: 1.5rem;
}
.post-card__meta {
  display: -webkit-box;
  display: -ms-flexbox;
  display: flex;
  -webkit-box-align: center;
      -ms-flex-align: center;
          align-items: center;
  gap: 1rem;
  margin-bottom: 1rem;
  font-size: 0.9rem;
  color: #666;
}
.post-card__date {
  display: -webkit-box;
  display: -ms-flexbox;
  display: flex;
  -webkit-box-align: center;
      -ms-flex-align: center;
          align-items: center;
}
.post-card__date::before {
  content: "📅";
  margin-right: 0.3rem;
}
.post-card__category {
  background: #c93b3b;
  color: white;
  padding: 0.2rem 0.6rem;
  border-radius: 12px;
  font-size: 0.8rem;
  font-weight: 500;
}
.post-card__title {
  font-size: 1.2rem;
  font-weight: 600;
  line-height: 1.4;
  margin-bottom: 1rem;
  color: #333;
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
}
.post-card__excerpt {
  color: #666;
  line-height: 1.6;
  margin-bottom: 1.5rem;
  display: -webkit-box;
  -webkit-line-clamp: 3;
  -webkit-box-orient: vertical;
  overflow: hidden;
}
.post-card__footer {
  display: -webkit-box;
  display: -ms-flexbox;
  display: flex;
  -webkit-box-pack: justify;
      -ms-flex-pack: justify;
          justify-content: space-between;
  -webkit-box-align: center;
      -ms-flex-align: center;
          align-items: center;
}
.post-card__readmore {
  color: #c93b3b;
  font-weight: 600;
  font-size: 0.9rem;
}
.post-card__readmore::after {
  content: " →";
  -webkit-transition: margin-left 0.3s ease;
  transition: margin-left 0.3s ease;
}
.post-card:hover .post-card__readmore::after {
  margin-left: 0.3rem;
}
.post-card__comments {
  color: #999;
  font-size: 0.9rem;
}
.post-card__comments .icon-comment::before {
  content: "💬";
  margin-right: 0.3rem;
}

.no-posts {
  text-align: center;
  padding: 4rem 2rem;
}
.no-posts__content {
  max-width: 400px;
  margin: 0 auto;
}
.no-posts__icon {
  font-size: 4rem;
  display: block;
  margin-bottom: 1.5rem;
}
.no-posts__title {
  font-size: 1.5rem;
  font-weight: 600;
  margin-bottom: 1rem;
  color: #333;
}
.no-posts__desc {
  color: #666;
  margin-bottom: 2rem;
  line-height: 1.6;
}
.no-posts__button {
  display: inline-block;
  background: #c93b3b;
  color: white;
  padding: 0.8rem 2rem;
  border-radius: 25px;
  text-decoration: none;
  font-weight: 600;
  -webkit-transition: all 0.3s ease;
  transition: all 0.3s ease;
}
.no-posts__button:hover {
  background: #d94545;
  -webkit-transform: translateY(-2px);
          transform: translateY(-2px);
  -webkit-box-shadow: 0 4px 15px rgba(201, 59, 59, 0.3);
          box-shadow: 0 4px 15px rgba(201, 59, 59, 0.3);
}

@media screen and (max-width: 767.98px) {
  .post-card__image {
    height: 180px;
  }
  .post-card__content {
    padding: 1.2rem;
  }
  .post-card__title {
    font-size: 1.1rem;
  }
}