.imargin {
  display: block;
  width: 85%;
  margin: 2em auto;
}

.tBox {
  width: 85%;
  margin: 0 auto;
  padding: 0;
  font-family: "source-han-sans-jp-variable", sans-serif;
  font-variation-settings: 'wght' 450;
  font-size: clamp(0.938rem, 0.791rem + 0.28vw, 1.188rem);
  /* 15-19 / 851-2300 */
  font-feature-settings: palt;
  -webkit-font-feature-settings: "palt";
  color: #4c4c4c;
  line-height: 1.8;
  letter-spacing: 1px;
  text-align: left;
  text-justify: inter-ideograph;
  overflow-wrap: break-word;
  word-wrap: break-word;
}

.photoArea {
  width: 85%;
  margin: 3em auto;
}

.photoArea .galleryA {
  columns: 4;
  padding: 0;
  margin: 0;
}

.photoArea .galleryA li {
  margin-bottom: 1px;
  list-style: none;
}

.photoArea .galleryA img {
  width: 100%;
  height: auto;
}

.photoArea .gallery {
  columns: 3;
  padding: 0;
  margin: 0;
}

.photoArea .gallery li {
  margin-bottom: 15px;
  list-style: none;
}

.photoArea .gallery img {
  width: 100%;
  height: auto;
}

.next_b {
  width: 85%;
  margin: 5em auto 3em;
}

.next_b ul {
  display: flex;
  flex-direction: row;
  justify-content: space-around;
  list-style-type: none;
  padding: 0;
}

.next_b li {
  /* font-family: Noto Sans JP;
  font-weight: 300;
  font-size: clamp(0.938rem, 0.791rem + 0.28vw, 1.188rem); */
  /* 15-19 / 851-2300 */
  font-family: "source-han-sans-jp-variable", sans-serif;
  font-variation-settings: 'wght' 450;
  font-size: 18px;
  font-feature-settings: palt;
  -webkit-font-feature-settings: "palt";
  color: #4c4c4c;
  line-height: 1.8;
  letter-spacing: 1px;
}

.next_b li a {
  text-decoration: underline;
}

.event-box {
  display: flex;
  flex-direction: row;
  justify-content: space-around;
  flex-wrap: wrap;
  max-width: 1000px;
  width: 100%;
  margin: 0 auto 0;
  padding: 0;
}

.frameBox {
  flex: 0 0 48%;
  min-width: 390px;
  height: 370px;
  background: url(../../images/event/frame.webp);
  background-position: center center;
  background-size: contain;
  background-repeat: no-repeat;
  position: relative;
  margin-bottom: 20px;
}

.txArea {
  width: 72%;
  margin: 0 auto;
  position: absolute;
  top: 15%;
  left: 14%;
}

.frameDate {
  font-family: trajan-pro-3, serif;
  font-size: 24px;
  margin-bottom: 10px;
  /* position: absolute;
  top: 50px;
  left: 55px; */
}

.frameLead {
  font-family: trajan-pro-3, source-han-serif-jp-variable, serif;
  font-variation-settings: "wght" 450;
  font-size: 23px;
  margin-top: 0;
  line-height: 1.4;
  /* position: absolute;
  top: 50px;
  left: 55px; */
}


.partBox {
  margin: 0;
  padding: 0;
}

.partBox ul {
  display: flex;
  flex-direction: row;
  justify-content: space-around;
  width: 72%;
  margin: 0 auto;
  padding: 0;
}

.partBox li {
  font-family: trajan-pro-3, source-han-serif-jp-variable, serif;
  font-variation-settings: "wght" 450;
  list-style-type: none;
  font-size: 1.2rem;
}

.partBox li a {
  text-decoration: underline;
}

.sub-title {
  font-family: source-han-serif-jp-variable, serif;
  font-variation-settings: "wght" 600;
  font-size: 2.2em;
}

.sub-title span {
  display: inline-block;
  font-size: 0.7em;
}

.tBox span.obi {
  display: inline-block;
  width: 100%;
  background-color: #0009;
  margin: 0 auto 0.7em;
  padding: 5px;
  font-family: source-han-serif-jp-variable, serif;
  font-variation-settings: "wght" 450;
  font-size: 1.1em;
  /* 18-22 / 850-1200 */
  color: white;
}

@media only screen and (max-width:850px) {

  .goods-box {
    max-width: 800px;
    width: 95%;
    margin: 0 auto 0;
    padding: 0;
  }

  .sub-title {
    width: 85%;
    font-family: trajan-pro-3, serif;
    font-size: calc(100vw * 55 / 850);
    text-align: center;
    margin: 0 auto 1.3em;
  }

  .sub-title span {
    display: inline-block;
    font-size: 1.1rem;
    line-height: 1.4;
  }

  .frameBox {
    flex: 0 0 60%;
    min-width: 360px;
    height: 430px;
  }

  .txArea {
    width: 80%;
    top: 24%;
    left: 10%;
  }

  .frameDate {
    font-size: 21px;
  }

  .frameLead {
    font-size: 21px;
  }

  .next_b li {
    font-size: 16px;
  }
}

@media only screen and (max-width:500px) {
  .frameBox {
    flex: 0 0 90%;
    min-width: 420px;
    height: 370px;
  }

  .partBox li {
    font-size: 18px;
  }
}

@media only screen and (max-width:420px) {
  .frameBox {
    flex: 0 0 90%;
    min-width: 400px;
    height: 360px;
  }

  .frameDate {
    font-size: 19px;
  }

  .frameLead {
    font-size: 19px;
  }

}


@media only screen and (max-width:390px) {
  .frameBox {
    flex: 0 0 90%;
    min-width: 360px;
    height: 320px;
  }

  .txArea {
    top: 21%;
  }

  .frameDate {
    font-size: 18px;
  }

  .frameLead {
    font-size: 18px;
  }

  .partBox li {
    font-size: 0.9rem;
  }

}