@charset "utf-8";

/*============================
MV
============================*/
#wrap .cont_wrap .mv .mv-content {
  background-image: url(../img/gallery/mv.jpg);
}

#wrap .lead_box .text {
  font-size: 0.18rem;
  font-weight: bold;
  text-align: center;
  line-height: 2;
  margin-bottom: 0.3rem;
}
@media screen and (max-width: 640px) {
  #wrap .lead_box .text {
    font-size: 0.16rem;
  }
}
/*============================
リスト
============================*/
#wrap .cont_wrap .text_wrap .list {
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  box-sizing: border-box;
  padding-left: 0.5rem;
  padding-right: 0.5rem;
  margin-bottom: 1rem;
}

@media screen and (max-width: 640px) {
  #wrap .cont_wrap .text_wrap .list {
    padding-left: 0;
    padding-right: 0;
  }
}
#wrap .cont_wrap .text_wrap .list .item {
  width: 48%;
  margin-bottom: 0.5rem;
}
@media screen and (max-width: 640px) {
  #wrap .cont_wrap .text_wrap .list .item {
    width: 100%;
  }
}
#wrap .cont_wrap .text_wrap .list .item a {
  color: #000;
}

#wrap .cont_wrap .text_wrap .list .item .ph_wrap {
  width: 100%;
  height: 3rem;
  overflow: hidden;
}
@media screen and (max-width: 640px) {
  #wrap .cont_wrap .text_wrap .list .item .ph_wrap {
    height: 2.5rem;
  }
}

#wrap .cont_wrap .text_wrap .list .item .ph_wrap img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: all .3s;
}
@media screen and (max-width: 640px) {
  #wrap .cont_wrap .text_wrap .list .item .ph_wrap img {
    height: 100%;
  }
}
#wrap .cont_wrap .text_wrap .list .item a:hover .ph_wrap img {
  transform: scale(1.05);
}
@media screen and (max-width: 640px) {
  #wrap .cont_wrap .text_wrap .list .item a:hover .ph_wrap img {
    transform: scale(1.05);
  }
}
/*============================
モーダル
============================*/
.modal {
  display: none;
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  z-index: 9999;
  opacity: 0;
}

.modal.is-open {
  display: flex;
  align-items: center;
  justify-content: center;
}

.modal-overlay {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background-color: rgba(0, 0, 0, 0.9);
  cursor: pointer;
}

.modal-content {
  position: relative;
  z-index: 1;
  max-width: 90%;
  max-height: 90%;
  display: flex;
  align-items: center;
  justify-content: center;
}

.modal-close {
  position: absolute;
  top: -0.4rem;
  right: 0rem;
  width: 0.4rem;
  height: 0.4rem;
  background: transparent;
  border: none;
  cursor: pointer;
  z-index: 2;
  padding: 0;
  display: flex;
  align-items: center;
  justify-content: center;
}

.modal-close img {
  width: 100%;
  height: 100%;
  object-fit: contain;
}

.modal-image-wrap {
  max-width: 100%;
  max-height: 90vh;
  display: flex;
  align-items: center;
  justify-content: center;
}

.modal-image {
  max-width: 100%;
  max-height: 90vh;
  object-fit: contain;
  display: block;
}

#wrap .cont_wrap .text_wrap .list .item .list_text {
  padding-top: 0.1rem;
}
@media screen and (max-width: 640px) {
  #wrap .cont_wrap .text_wrap .list .item .list_text {
    padding-top: 0.15rem;
  }
}
#wrap .cont_wrap .text_wrap .list .item .list_text .date {
  font-size: 0.14rem;
}

#wrap .cont_wrap .text_wrap .list .item .list_text .title {
  font-size: 0.16rem;
  line-height: 2;
}


/*============================
詳細
============================*/
#detail .text_wrap {
  padding: 0 0.5rem;
  box-sizing: border-box;
}

#detail #wrap .lead_box .text {
  font-size: 0.23rem;
  text-align: left;
}


#detail #wrap .lead_box .date {
  font-size: 0.15rem;
}


#detail .cont_wrap {
  /* max-width: 8rem; */
  width: 100%;
  margin: auto;
  margin-bottom: 1rem;
}

/* 日付、カテゴリー */
#detail .cont_wrap .title_wrap .cate_wrap {
  display: flex;
  align-items: center;
  gap: 0 0.1rem;
  padding-bottom: 0.15rem;
}

#detail .cont_wrap .title_wrap .cate_wrap .date {
  font-size: 0.13rem;
  font-family: "Outfit", sans-serif;
}

#detail .cont_wrap .title_wrap .cate_wrap .category {
  font-size: 0.12rem;
}

#detail .cont_wrap .title_wrap .cate_wrap .category span {
  border: 1px solid #000;
  display: inline-block;
  padding: 0.02rem 0.05rem 0.03rem;
  border-radius: 0.03rem;
}

/* タイトル */
#detail .cont_wrap .title_wrap .detail_title {
  font-size: 0.26rem;
  font-weight: 600;
  letter-spacing: 0.07em;
  line-height: 1.65;
  margin-bottom: 0.25rem;
}
@media screen and (max-width: 640px) {
  #detail .cont_wrap .title_wrap .detail_title {
    font-size: 0.18rem;
    margin-bottom: 0.15rem;
  }
}

/* 写真 */
#detail .cont_wrap img {
  width: 100%;
  margin-bottom: 0.4rem;
}
@media screen and (max-width: 640px) {
  #detail .cont_wrap img {
    margin-bottom: 0.15rem;
  }
}

/* テキスト */
#detail .cont_wrap h1 {
  font-size: 0.24rem;
  font-weight: 700;
  line-height: 1.5;
  border-left: 0.05rem solid #011062;
  padding: 0.01rem 0 0.01rem 0.15rem;
  margin-bottom: 0.2rem;
}
@media screen and (max-width: 640px) {
  #detail .cont_wrap h1 {
    font-size: 0.22rem;
    padding-bottom: 0.1rem;
  }
}

#detail .cont_wrap h2 {
  font-size: 0.22rem;
  font-weight: 700;
  line-height: 1.5;
  padding-bottom: 0.1rem;
  margin-bottom: 0.2rem;
  border-bottom: 1px solid #011062;
}
@media screen and (max-width: 640px) {
  #detail .cont_wrap h2 {
    font-size: 0.2rem;
    padding-bottom: 0.1rem;
  }
}

#detail .cont_wrap h3 {
  font-size: 0.2rem;
  font-weight: 700;
  line-height: 1.5;
  padding-bottom: 0.15rem;
}
@media screen and (max-width: 640px) {
  #detail .cont_wrap h3 {
    font-size: 0.18rem;
    padding-bottom: 0.1rem;
  }
}

#detail .cont_wrap h4,
#detail .cont_wrap h5,
#detail .cont_wrap h6 {
  font-size: 0.18rem;
  font-weight: 700;
  line-height: 1.5;
  padding-bottom: 0.1rem;
}
@media screen and (max-width: 640px) {
  #detail .cont_wrap h4 {
    font-size: 0.16rem;
    padding-bottom: 0.1rem;
  }
}

#detail .cont_wrap p {
  font-size: 0.16rem;
  line-height: 2;
  letter-spacing: 0.07em;
  margin-bottom: 0.2rem;
}

#detail .cont_wrap a {
  color: #011062;
  text-decoration: underline;
  word-break: break-all;
}

#detail .cont_wrap a:hover {
  opacity: 0.7;
}

/* 一覧に戻る */
#detail .cont_wrap .list_btn a {
  color: #fff;
  margin: 0.5rem auto 0;
  text-decoration: none;
}

#detail .cont_wrap .list_btn a:hover {
  color: #011062;
}

