/* モーダルが開いている時の背景（グレーの層） */
dialog::backdrop {
  background-color: rgba(0, 0, 0, 0.4); /* 黒の70%透明 */
  backdrop-filter: blur(5px);           /* 背景をぼかす（最近の流行り） */
}

/* モーダル本体のスタイル */
dialog {
  border: none;
  /* border-radius: 8px; */
  /* padding: 20px; */
  width:80%;
  max-width: 360px;
  position: fixed;
  top:50%;
  left: 50%;
  transform: translate(-50%,-50%);
  overflow: hidden;
  background-color: #ffffff00;
  overflow: visible; /*はみ出し対応*/
  padding: 30px; /*ボタンの余白*/
}
/* モーダルリンクで線が出る箇所の対応 */
dialog a {
    outline: none;
}
dialog a:focus, 
dialog a:active {
    outline: none;
    -webkit-tap-highlight-color: rgba(0,0,0,0);
}

dialog div{
    position: relative;
    border: none;
}
dialog img{
    width:100%;
    vertical-align: bottom;
}
dialog i {
    font-size: 30px;
    font-weight: bold;
    color: #fff;
}
/* dialog button{
    position: absolute;
    top:0;
    left:0;
    padding: 5px;
    display: flex;
    align-items: center;
    justify-content: center;
} */

/* 3. ボタンの配置を外側に飛ばす */
dialog button {
  position: absolute;
  /* マイナス値を指定して画像の外へ */
  top: -30px; 
  left: -10px; 
  background: #ffffff00;
  border: none;
  width: 30px;
  height: 30px;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
}

.dep21_info{
    display: none;
}

.dep21_info_pc{
    position: absolute;
    top:10px;
    right: 10px;
    width: 180px !important;
}
.top_img{
    position: relative;
}
@media screen and (max-width: 767px) {
    .dep21_info.show{
    display: block;
    position: absolute;
    bottom:10px;
    right: 10px;
    width: 110px !important;
}
.dep21_info_pc{
    display: none;
}
}