/**全体**/
body {
    line-height: normal;
    background-color: #f4f5f7;
}
.wrapper {
    text-align: center;
}

/**メイン**/
h2 {
    font-size: 2.5em;
    font-family: 'Noto Serif JP', serif;
    font-weight: 600;
    padding: 0 .2em;
    margin: 104px 0 60px;
    display: inline-block;
    border-bottom: 3px solid #6162a2;
}
.box {
    width: 75%;
    min-height: 55vh;
    margin: 0 auto;
    padding: 40px 40px 150px;
    border-radius: 20px;
    background-color: #fff;
    box-shadow: 2px 6px 10px 0px rgba(0, 0, 0, 0.3);
    text-align: left;
    margin-bottom: 40px;
}

h3 {
    font-weight: 400;
    color: #2799ba;
    margin-bottom: 40px;
}
.content {
    text-align: center;
}
.event {
    width: 100%;
    height: auto;
    text-align: left;
    display: inline-block;
}
time {
    color: #6162a2;
}
h4 {
    font-size: 1.5em;
    font-weight: 600;
    margin-bottom: 64px;
    color: #6162a2;
    line-height: 1em;
}
h4 span {
    font-size: 1rem;
}
h5 {
    font-weight: 600;
    margin-bottom: 0.5em;
}
h5 span {
    display: inline-block;
}
.event p {
    text-align: center;
    font-size: 1.2rem;
    margin-bottom: 1.5em;
}
ul {
    font-size: 1.2rem;
    padding: 0 30px;
    margin-bottom: 2em;
}
li {
    margin-bottom: 1em;
}
.event .event_text {
  font-size: 1rem;
  text-align: left;
  margin-left: 2em;
  margin-bottom: 2em;
}
/**
.event .last_text {
    display: flex;
    justify-content: center;
}
**/

.gallery {
    display: flex;
    flex-wrap: wrap;
    justify-content: space-around;
    margin-bottom: 18px;
}
.gallery img {
    margin-bottom: 16px;
    width: 33vw;
    height: calc(33vw*0.75);
    object-fit: cover;
}

/* 戻るボタン */
.back {
    padding: 40px;
    font-size: 1.5em;
}




/** レスポンシブ設定 **/
@media screen and (max-width:990px) {
    .gallery img {
        width: 100%;
        height: auto;
    }
    .box {
        width: 90%;
    }
}

@media screen and (max-width:750px) {
  .box {
    padding: 20px 20px 40px;
  }
  h2 {
    font-size: 2em;
  }
  .gallery {
    display: block;
    justify-content: center;
  }
  h3 {
    margin-bottom: 40px;
  }
  h4 {
    font-size: 1.4em;
  }
  ul {
    padding: 0;
  }
  .event .event_text {
    margin-left: 0;
  }
}
