button {
  padding: 0;
  border: none;
  outline: none;
  font: inherit;
  color: inherit;
  background: none
}#favDialog{
    width: 100%;
    max-width: 100%;
    max-height: 100%;
    border: none;
    background-color: transparent;
    position: fixed;
    z-index:1000;
    left: 0;
    top: 0;
    padding: 0;
    margin: auto;

    user-select: text;
    visibility: visible;
    inset-block-start: 0;
    inset-block-end: 0;
}
#favDialog::backdrop{
    display: none;
}
#favDialog::before{
    content: "";
    display: block;
    position: fixed;
    left: 0;
    right: 0;
    top: 0;
    bottom: 0;
    background: #000000aa;
}

#favDialog,
#favDialog::before{
    animation: fadeout 500ms ease forwards;
}

#favDialog[open],
#favDialog[open]::before{
    animation: fadein 500ms ease forwards;
}

#favDialog form{
    display: block;
    padding: 40px 0 30px 0;
    position: relative;
}
#favDialog .btns{
    text-align: center;
}

#favDialog .btn-close{
    position: absolute;
    top: -35px;
    right: 0;
    width: 30px;
    height: 30px;
    border: none;
    background-color: transparent;
    padding: 0;
}
#favDialog .btn-close:before{
    content: "";
    display: block;
    width: 30px;
    height: 2px;
    background-color: #ffffff;
    transform: rotate(-45deg);
    transform-origin: 50% 50%;
}
#favDialog .btn-close:after{
    content: "";
    display: block;
    width: 30px;
    height: 2px;
    background-color: #ffffff;
    transform: translate(0,-2px) rotate(45deg);
    transform-origin: 50% 50%;
}

#favDialog .content-wrap{
    background-color: #ffffff;
    max-width: 500px;
    width:100%;
    margin: 0 auto;
    padding: 2rem;
    border-radius: 10px;
    border: 1px solid #000000;
    position: relative;
    z-index: 2;
}

@keyframes fadein{
    0%{
        opacity: 0;
    }
    100%{
        opacity: 1;
    }
}
@keyframes fadeout{
    0%{
        opacity: 1;
        display: block;
    }
    99%{
        opacity: 0;
        display: block;
    }
    100%{
        opacity: 0;
        display: none;
    }
}

.modal-content {
  background: #fff;             /* モーダル内は白背景 */
  padding: 2rem;                /* 内側の余白を広めにとる */
  border-radius: 8px;          /* 角を丸くして柔らかい印象に */
  max-height: 90vh;            /* 高さは画面の90%以内に制限 */
  overflow: auto;              /* 内容が多い場合にスクロールできるように */
}
.modal-content table{border-spacing:0 10px;}
.modal-content h2{font-size: 30px;margin-bottom: 0}
.modal-content .button{text-align: center;margin-top: 30px;}
.showDialog{padding: 1.0416666667vw 1.6666666667vw 1.7708333333vw;}
@media only screen and (max-width: 1023px) {.showDialog{padding: 1em 0 1em 1em !important;}}

.modal-content form input,form textarea {
    border: solid 1px;
	width: 100%;
}

.content-wrap {
    width: fit-content;
    margin: auto;
}
.content-wrap th {
    text-align: left;
    vertical-align:top;
	padding-right: 20px
}