/* -----友田の共通css移植----- */
body {
  margin: 0;
  padding: 0;
  display: grid;
  place-items: center;
  font-family: "Kiwi Maru", serif;
  background-color: #686c89;
}
main {
  display: flex;
  flex-direction: column;
  align-items: center;
  margin: 0;
  padding: 1rem 2rem;
  width: 100%;
  max-width: 430px;
  min-height: 100svh;
  color: white;
  box-sizing: border-box;
}
.popup-area {
  width: 100%;
  margin-top: 2rem;
  display: flex;
  flex-direction: column;
  gap: 40px;

  .exhibit {
    width: 100%;
  }

  .content-image {
    width: 100%;
    height: auto;
  }
}
/* ----------------------- */

.event_title{
  margin: 30px auto 0px;
  color: #333;
  font-size: 64px;
  background-color: #4A6483;
  border: 8px solid #fff;
  width: 280px;
  height: 112px;
  border-radius: 15px;
  display: flex;
  justify-content: center;
  text-align: center;
  align-items: center;
}
h1 { 
  font-weight: 370;
  color: #fff;
  text-align: center;
  font-size: 64px;
  margin: auto;
}
.event_attention{
  color: #fff;
  text-align: center;
  font-size: 24px;
  margin: 20px auto;
}

.event-date-select-wrapper {
  display: flex;
  gap: 15px;
  margin-bottom: 20px;
}

.event-date-select {
  margin: 20px 0 18px;
  position: relative;
}

.event-date {
  color: #333;
  font-size: 26px;
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
}
.event-list-wrapper {
  position: relative;
  margin: auto;
}
.event-popup-wrapper {
  z-index: 1;
  margin: 20px auto;
  width: fit-content;
}
.event-popup-detail {
  width: 85%;
  max-height: 30vh;
  margin: 40px auto 10px;
  background-color: #fff;
  border-radius: 20px;
  color: #333;
  padding: 15px 10px 15px 20px;
  overflow: auto;
  font-size: 20px;
  -ms-overflow-style: none; /* IE/Edgeレガシー */
}
.event-popup-detail::-webkit-scrollbar {
  display: none;
}
.event-list-frame {
  position: absolute;

  /* ↓↓イベント一覧，サイズ修正が必要ならここを編集 */
  width: 220px;
  height: 264px;
  transform: translate(-10px, -10px);
  /* ↑↑ */
  object-fit: cover;
}
.event-list-image {
  width: 200px;
  margin-top: 20px;
}

.event-list-title {
  margin: 0 auto;
  color: #333;
  font-size: 24px;
  background-color: #fff;
  width: 220px;
  border-radius: 15px;
  justify-content: center;
  display: flex;
  text-align: center;
}
.event-list-title p {
  padding-top: 24px;
  padding-bottom: 24px;
  line-height: 20px;
}

.event-subtitle {
  text-align: center;
}

/* レスポンシブ */
@media screen and (max-width: 480px){
 .event_title{
  width: 180px;
  height: 72px;
  }
  h1{
  font-size:32px;
  }
  .bazaar_attention{
  font-size:18px;
  }
)