

@media only screen and (min-width: 0rem) {
  #main-page {
    padding: clamp(15rem, 30vw, 0rem) 1rem clamp(3.75rem, 7.82vw, 6.25rem) 1rem;
    background-color: #FAF6F2;
    overflow: hidden;
    position: relative;
  }
  #main-page:before {
    content: "";
    width: 100%;
    height: 100%;
    background: linear-gradient(180deg, rgba(255, 255, 255, 0) 3.06%, #FFF 20.29%);
    position: absolute;
    top: 0;
    left: 0;
    z-index: 1;
  }
  #main-page .A {
    width: 100%;
    max-width: 44rem;
    margin: auto;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    gap: clamp(3rem, 6vw, 4rem);
    position: relative;
    z-index: 1;
  }
  #main-page .B {
    text-align: center;
    width: 100%;
    max-width: 59rem;
    display: flex;
    flex-direction: column;
    align-items: center;
  }
  #main-page .address {
    max-width: none;
  }
  #main-page .article-list {
    width: 100%;
    max-width: 80rem;
    margin: 0;
    padding: 0;
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    row-gap: 2.5rem;
    position: relative;
  }
  #main-page .article {
    text-align: center;
    list-style: none;
    width: 100%;
    display: flex;
    flex-direction: column;
    justify-content: flex-start;
    align-items: center;
    grid-column: span 12;
    gap: 1rem;
  }
  #main-page .flex {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 0.25rem;
  }
  #main-page .title {
    font-size: 1rem;
    font-weight: 700;
    line-height: 1.2em;
    text-align: inherit;
    margin: 0;
    color: var(--bodyTextColor);
  }
  #main-page .journal {
    font-size: 1rem;
    font-weight: 400;
    line-height: 1.5em;
    text-align: inherit;
    margin: 0;
    color: var(--bodyTextColor);
  }
  #main-page .big-picture img {
    width: 100%;
    height: 100%;
    opacity: 0.3;
    object-fit: cover;
    object-position: bottom;
    position: absolute;
    top: 0;
    left: 0;
  }
  #main-page .cornerpicture img {
    width: 27%;
    height: 27%;
    opacity: 1.0;
    
    object-fit: contain;
    position: absolute;
    top: 30px;
    right: 30px;
    
  }

}

@media only screen and (min-width: 48rem) {
  #main-page:before {
    background: linear-gradient(180deg, rgba(255, 255, 255, 0) 19.7%, #FFF 45.39%);
  }
  #main-page .article-list {
    gap: 2.5rem 5rem;
  }
  #main-page .article {
    text-align: left;
    align-items: flex-start;
    grid-column: span 1;
  }
  #main-page .flex {
    align-items: flex-start;
  }
}

@media only screen and (min-width: 64rem) {
  #main-page:before {
    background: linear-gradient(180deg, rgba(255, 255, 255, 0) 19.7%, rgba(255, 255, 255, 0.92) 59.51%);
  }
  #main-page .A {
    max-width: 80rem;
  }
  #main-page .article {
    grid-column: span 1;
  }
}

@media only screen and (min-width: 81.25rem) {
  #main-page .article {
    grid-column: span 1;
  }
}
                                