@charset "UTF-8";
.open-btn:hover{
  cursor: pointer;
  background-color : rgba(255, 255, 255, 0.7)!important;
}
.close-btn{
  position: absolute;
  top: 1rem;
  right: 1rem;
  font-size : 1.6rem;
  background: transparent;
  border: none;
  cursor: pointer;
  transition: transform 0.3s ease;
}
/* モーダル背景 */
    .modal{
  display: none;
  position: fixed;
  top: 0;
  left: 0;
  justify-content: center;
  align-items: center;
  width: 100%;
  height: 100%;
  background: rgba(0, 0, 0, 0.5);
  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);
  z-index: 1000000;
  opacity: 0;
  pointer-events: none;
  transition: opacity 0.3s ease;
}
/* モーダル表示状態 */
    .modal.active{
  display: flex;
  opacity: 1;
  pointer-events: auto;
}
/* モーダルの中身*/
.modal-content{
  background-color: rgba(0, 0, 0, 1);
  padding: 1rem;
  border-radius: 1rem;
  width: 80vw;
  height: 70vh;
  max-width: 40rem;
  max-height : 71rem;
  box-shadow: 0 8px 20px rgba(0, 0, 0, 0.2);
  position: relative;
  opacity: 0;
  transform: scale(0.8);
  transition: all 0.3s ease;
  overflow-y: auto;
  overflow-x: hidden;
}
.modal-content p{
  padding-bottom : 1rem;
  z-index: 3;
}
.modal-content p.str{
  font-weight : 900;
}
/* アニメーション*/
    .modal.active .modal-content {
  animation: fadeInScale 0.4s ease forwards;
}
@keyframes fadeInScale {
  0% {
  opacity: 0;
  transform: scale(0.8);
}
100% {
  opacity: 1;
  transform: scale(1);
}
}
.modal h3{
  display: flex;
  flex-wrap:wrap;
  align-items: flex-end;
  align-content: flex-end;
  justify-content : start;
  font-size : 1.8rem;
  font-weight : 900;
  border-bottom-width : 0.5rem;
  border-bottom-style : groove;
  border-bottom-color : #ffffff;
  padding : 1rem;
  margin-bottom : 1rem;
}
.modal h3 i{
  font-size : 1.4rem;
  font-weight: 600;
  display: block;
  width:100%;
  font-style : normal;
  padding-bottom : .5rem;
}
.modal h3 span,.modal h3 small{
  margin:0;
}
.modal h3 small{
  font-size : 1.4rem;
  font-weight: 600;
}
.modal .ogp,.modal .ogp span{
  display:flex;
}
.modal .ogp{
  gap:1rem;
  border-radius: .2rem;
  border: solid 2px #000;
  box-shadow: 0 0 0 2px #fff;
  color : #000000;
  background-color : #ffffff;
  padding:.5rem 1rem;
  margin:0 auto 1rem;
  width:calc(100% - 2rem);
  height : 6rem;
}
.modal .ogp span{
  flex-direction: column;
  gap:.4rem;
  font-size : 1.3rem;
  line-height : 1.1;
  overflow : hidden;
  border-left : 1px solid #000000;
  padding-left : 1rem;
}
.modal .ogp span strong{
  font-size:1.3rem;
  margin:0;
  color : #1d208a;
}
.modal .ogp picture{
  margin:0;
  height:100%;
  aspect-ratio: 1 / 1;
}
.modal .ogp picture img{
  width: 100%;
  height: 100%;
  object-fit: contain;
}
