.archive-grid-item {
    display: flex;
    flex-direction: column;
    justify-content: flex-start;
    box-sizing: border-box;
    text-align: left;
    overflow: hidden;
    padding-bottom:30px;
    border-bottom: 1px solid rgb(180, 180, 180);
  }

  .archive-wrapper {
    max-width: 750px;
    margin: 0 auto;
    box-sizing: border-box;
  }
  
  .archive-title-section {
    z-index:2000;
    width:100%;
    padding-top:60px;
    padding-bottom: 20px;
    font-size: 1rem;
    font-weight: 500;
    box-sizing: border-box;
    border-bottom: 1px solid #B4B4B4;
  }

  .archive-title-section-bottom{
    margin-bottom: 5rem;
    box-sizing: border-box;
    text-align: center;
  }

  .archive-title-section h2 {
    margin: 0;
    font-size: 1.2rem;
    font-weight: 500;
  }

  .archive-title-section h3 {
    margin: 0;
    font-size: 0.8rem;
    font-weight: bold;
  }

  .title{
    font-size:16px;
  }

  .grid-link {
    display: flex;
    flex-direction: column;
    align-items: stretch;
    width: 100%;
    height: 100%;
    text-decoration: none;
    color: inherit;
  }
  
  .image-wrapper {
    flex: 0 0 auto;
    display: flex;
    align-items: center;
    aspect-ratio: 1 / 1;
    text-align: center;
    transition: background-color 0.5s cubic-bezier(0.2, 0.6, 0.3, 1);
  }

  
  .image-wrapper img {
    max-width: 100%;
    max-height: 100%;
    object-fit: contain;
    margin: 0 auto;
    align-items: center;
  }
  
  .number {
    font-size: 16px;
    font-weight: 400;
    line-height: 3
  }
  
  .archive_title{
    margin-top: 8px;
    font-size: 12px;
    font-weight: 500;
    line-height: 2;
  }
  
  .author {
    font-size: 12px;
    font-weight:500;
    line-height: 2;

  }

  /* グリッド全体 */
.grid-container{
  display: grid;
  grid-template-columns: repeat(3, 1fr); /* 2列 */
  gap: 80px;
  max-width: 1000px;
  margin: 0 auto;
  padding: 60px 0px;
}

.image-wrapper img {
  max-width: 100%;
  max-height: 100%;
  object-fit: contain;
  margin: 0 auto;
  display: block;
  transition: transform 0.6s cubic-bezier(0.25, 0.1, 0.25, 1), 
              filter 0.6s cubic-bezier(0.25, 0.1, 0.25, 1);
  will-change: transform, filter;
}

.image-wrapper:hover img {
  transform: scale(1.05); 
  filter: drop-shadow(0 8px 30px rgba(0, 0, 0, 0.05));
}

.archive-wrapper{
  max-width:950px;
}

.kikite{
  text-align: center;

  p{
    line-height: 2;
  }
}

  /* big-tablet */
@media (max-width: 1300px) {
    .archive-title-section {
    padding-top:100px;
  }

}

  /* big-tablet */


  /* tablet */
@media (max-width: 700px) {
  .grid-container{
    grid-template-columns: repeat(2, 1fr);
  }

  .archive-grid-item {
    margin-bottom: 0px;
  }
}


 /* sp */
@media (max-width: 414px) {
  .grid-container {
    grid-template-columns: repeat(1, 1fr);
    }

  .archive-grid-item {
    display: block;
    margin-bottom: 0px;
  }

  .grid-container {
    gap:30px;
  }

  .number{
    margin-bottom:5px;
  }

  .archive-grid-item .grid-link {
    display: flex;
    gap: 1em;
  }

  .archive-grid-item .image-wrapper {
    flex-shrink: 0;
    width: 50%;
  }

  .archive-grid-item .image-wrapper img {
    width: 100%;
    height: auto;
    display: block;
  }

  .archive-grid-item .grid-link > div:not(.image-wrapper) {
    flex: 1;
  }

  .grid-link{
    flex-direction: row;
    align-items: flex-start;
  }

    .number {
    font-size: 14px;
    font-weight: 400;
    line-height: 2
  }
  
  .archive_title{
    margin-top: 8px;
    font-size: 12px;
    font-weight: 500;
    line-height: 2;
  }
  
  .author {
    font-size: 12px;
    font-weight:500;
    line-height: 2;

  }

}

