@charset "UTF-8";

.event{
    display: flex;
    flex-direction: column;
    flex-wrap: nowrap;
    margin: auto;
    width: 80%;
    height: auto;
}

.event h2{
    font-size: 50px;
}
.event h3{
    font-size: 3rem;
    text-align: center;
    background: #ffdd21;
    color: #000;
    padding: 10px 0;
    margin: 20px 0;
    border: 5px solid #ff9920;
    border-radius: 10px;
}
.event h3 span{
    font-size: 2rem;
}
.event p.lead{
    text-align: center;
    font-family: "vdl-v7gothic", sans-serif;
    font-weight: 700;
    font-style: normal;
    font-size: 2.2rem;
    color: #000;
    margin-bottom:50px;
}
.event div{
    display:flex;
    align-items: center;
    flex-direction: column;
    flex-wrap: nowrap;
    padding:20px;
    font-family: "vdl-v7gothic", sans-serif;
    font-weight: 700;
    font-style: normal;
    font-size:16px;
    font-weight:nomal;
    background: #ffffff5c;
    margin: 2rem auto;
}

.event div.guest-photo {
    display: flex;
    flex-direction: column;
    justify-content: center; /* 追加 */
    max-width: 100%; /* 追加 */
    overflow: hidden; /* 追加 */
    background: none;
    margin: 0 auto;
}

.event div.guest-photo img {
    width: 200px;
    height: auto;
    margin: 0.5rem;
    object-fit: contain;
}

.event div.event_guest{
    display: flex;
    flex-direction: row;
    background: none;
    flex-wrap: wrap;
}

.event div span{
    margin: 0 1.5rem;
}

#goods .goods img{
    width: 70%;
    height: auto;
    display: block;
    margin: 0;
    margin-bottom: 3rem;
}

.event h4{
    font-family: "vdl-v7gothic", sans-serif;
    font-weight: 700;
    font-weight: bold;
    font-size: 2rem;
    border-bottom: #fa4d99 solid 3px;
    margin: 15px 0;
    line-height: 1.5em;
    color: #fa4d99;
}

.event p{
    font-family: "vdl-v7gothic", sans-serif;
    font-weight: 700;
    font-style: normal;
    font-size: 2rem;
}
.event p span{
    display: inline-block;
}
.event a{
    word-break: break-all;
}

#top h1 a img{
    width: 50%;
    height: auto;
    display: flex;
    margin: auto;
}

attention{
    color: #fa4d99;
    font-size: 1.8rem;
}

/*tabel2*/
table.ta2{
}
.ta2{
  margin: 0 auto;
  text-align: left;
  border-collapse: collapse;
  table-layout: fixed;
  margin-top: 20px;
  display: flex;
}
.ta2 tr:nth-child(odd){
}

.ta2 th{
  text-align: center;
  vertical-align: middle;
  padding-right: 3rem;
  font-size: 2rem;
}
.ta2 td{
  padding-left: 5px;
  padding-bottom: 10px;
  display: flex;
  line-height: 1.5;
  flex-direction: column;
  flex-wrap: nowrap;
}
.ta2 a{
  text-decoration: underline;
  color: #fa4d99;
}
.ta2 a:hover{
  color: #ff9920;
  text-decoration: underline;
}
/* .ta2 td a{
 padding-left: 20px;
} */
.ta2 th a{
  text-decoration: none;
  padding: 1rem;
  font-size: 2rem;
/*  border-bottom: #ff9920 solid 3px;*/
}
.event_main{
    display: flex;
    justify-content: center;
}

.event_main img{
    width: 60%;
    height: auto;
    margin-top: 50px;
}

.goods_bnr{
    width: 50%;
    margin: 2rem auto;
}

.goods_bnr img{
    width: 100%;
    height: auto;
    display: block;
    margin: 0;
    transition: 0.3s;
}
.goods_bnr img:hover{
    transform: scale(1.05);
    transition: 0.3s;
    }

 .bnr_viewing {
    position: fixed;
    right: 20px;
    top: 140px;
    z-index: 100; }
 .bnr_viewing ul li {
      width: 300px;
      margin-bottom: 10px; }
     .bnr_viewing ul li a img {
        width: 100%;
        transition: 0.3s;
        box-shadow: 3px 3px 3px rgba(0, 0, 0, 0.15);
    }
     .bnr_viewing ul li:hover a img {
        transform: scale(1.05);
        transition: 0.3s; }
  @media screen and (max-width: 767px) {
 .bnr_viewing {
      position: fixed;
      right: 0;
      left: 0;
      top: 130px;
      z-index: 100; }
     .bnr_viewing ul {
        display: flex;
        justify-content: flex-end;
        align-items: center;
        gap: 20px; }
     .bnr_viewing ul li {
          width: 170px;
          margin-right: 1rem;
          transition: all 0.5s;
          margin-bottom: 0; }
          main#fumfumun .bnr_viewing ul li li:hover {
            transform: translateY(5px); }
          main#fumfumun .bnr_viewing ul li img {
            width: 100%; } }

@media only screen and (max-width: 769px) {
    .event{
        display: flex;
        flex-wrap: now-wrap;
        width: 90%;
        height: auto;
        margin: 0 auto;
    }

    .event_main img{
    width: 100%;
    height: auto;
    margin-top: 50px;
    }

    #top h1 a img {
        width: 90%;
        height: auto;
    }

    .event h2 {
        font-size: 35px;
        padding: 0;
        line-height: 1.2;
    }

    .event h3{
        border: 3px solid #ff9920;
        font-size: 2.5rem;
        line-height: 1;
    }

    .event h3 span {
    font-size: 1.8rem;
    }

    .event p{
        font-size: 1.5rem;
        margin: 1rem;
        text-align: center;
        line-height: 1.5;
    }

    .event p.lead {
        font-size: 12px;
    }

    .event div {
    display: flex;
    align-items: center;
    padding: 0;
    font-size: 16px;
    flex-direction: column;
    flex-wrap: nowrap;
    margin-bottom: 10px;
    }

    .event p.lead {
        margin-bottom: 10px;
    }

    .ta2 {
    margin: 0.5rem;
    }

    .ta2 th{
        padding: 0;
        font-size: 1.3rem;
        width: 30%;
        height: auto;
    }

    .ta2 a {
    font-size: 1.2rem;
    }

    .ta2 td{
        font-size: 1rem;
        width:  90%;
    }
    .event_main{
    padding-top: 50px;
    padding-bottom: 20px;
    width: 90%;
    height: auto;
    margin: auto;
    }

    attention {
        font-size: 1.2rem;
        padding: 2rem;
    }

    .event div.guest-photo {
        flex-direction: column;
        align-items: center; /* 追加 */
        margin-bottom: 2rem;
    }

    .event div.guest-photo img {
        width: 80%; /* スマホで適切な幅に調整 */
        max-width: none; /* 最大幅制限を解除 */
        margin: 0.5rem 0; /* 上下のみマージン */
    }

    .event div.event_guest {
        flex-direction: column;
    }

    .goods_bnr{
    width: 100%;
    }
}
