﻿.modal{display: none;}
.modal.active{display: block;}
.notice-list {
  margin: 20px 0;
}
.covid19-wrap{
  padding:0 2% 30px;
}
.covid19-inner{
  max-width: 860px;
  border:1px solid #ccc;
  margin:0 auto;
  padding:15px;
}

.modal span.colored0000{
  color:#ed0000;
}
.notice-list li:not(:last-child) {
    margin-bottom: 0.5em;
}
.notice-list li {
    font-size: 14px;
    line-height: 1.6;
    position: relative;
    list-style: none!important;
    padding-left: 16px;
    margin-left: 0px!important;
}
.notice-list li::before {
    position: absolute;
    top: 5px;
    left: 0;
    display: block;
    width: 10px;
    height: 10px;
    content: '';
    border-radius: 10px;
    background-color: #cccccc;
}


.modal {
    position: fixed;
    z-index: 9999;
    top: 0;
    right: 0;
    bottom: 0;
    left: 0;
    margin: auto;
    -webkit-transition: 0.3s;
    -o-transition: 0.3s;
    transition: 0.3s;
    opacity: 0;
    background-color: rgba(0,0,0,0.5);
    padding: 20px;
}

.modal.active {
    opacity: 1;
}
.modal_inner {
    position: absolute;
    top: 20px;
    left: 20px;
    right: 20px;
    bottom: 20px;
    margin: auto;
    overflow: auto;
}

.modal_box {
    position: relative;
    -webkit-box-sizing: border-box;
            box-sizing: border-box;
    max-width: 900px;
    padding: 40px;
    cursor: pointer;
    background-color: #ffffff;
    margin: auto;
    text-align: left;
}
.modal_box span.bold{
  font-weight: bold;
}
@media screen and (max-width: 640px){
.modal_box {
    padding: 40px;
}
}
.modal_box::before,
.modal_box::after {
    position: absolute;
    top: 10px;
    right: 20px;
    display: block;
    width: 2px;
    height: 24px;
    content: '';
    -webkit-transform: rotate(45deg);
        -ms-transform: rotate(45deg);
            transform: rotate(45deg);
    background-color: red;
}
.modal_box::after {
    -webkit-transform: rotate(-45deg);
        -ms-transform: rotate(-45deg);
            transform: rotate(-45deg);
}
.covid19-wrap .modal_box::before,
.covid19-wrap .modal_box::after {
  display: none;
}
.modal_box h2 {
    font-size: 18px !important;
    line-height: 1.8 !important;
    margin-bottom: 30px!important;
    text-align: center;
    font-weight: 500;
    color: #3c70a0;
    padding: 0 !important;
    float: none !important;
    height: auto !important;
    text-shadow: 0px 3px 12px rgba(0, 0, 0, 0);
}
@media screen and (max-width: 640px){
#index .modal_box h2 {
margin: 0px 0 15px;
}
}

.modal_box h3 {
    font-size: 16px;
    line-height: 1.8;
    margin-top: 40px!important;
    margin-bottom: 20px!important;
    text-align: left;
    font-weight: bold;
    text-decoration: underline;
    padding: 0;
}
.covid19 p,
.modal_box p {
    font-size: 14px;
    margin-bottom: 20px;
}
.modal_box img{
    max-width: 100%;
}
.modal_box ul {
    margin: 0 0 20px;
    padding: 0;
}

.modal_box li {
    list-style: disc;
    margin: 0 0 5px 20px;
}
.txt_right {
    text-align: right;
}
.txt_red{
    color: red;
}
.btn_modal a {
    position: relative;
    text-decoration: none;
    border: 1px solid #ccc;
    border-radius: 5px;
    padding: 10px;
    height: 50px;
    display: -webkit-box;
    display: -ms-flexbox;
    display: flex;
    -webkit-box-align: center;
        -ms-flex-align: center;
            align-items: center;
    -webkit-box-pack: center;
        -ms-flex-pack: center;
            justify-content: center;
    color: black;
    background: -webkit-gradient(linear, left top, left bottom, from(#ffffff), to(#efefef));
    background: -o-linear-gradient(#ffffff, #efefef);
    background: linear-gradient(#ffffff, #efefef);
    -webkit-box-shadow: 0 0 5px #d6d6d6;
            box-shadow: 0 0 5px #d6d6d6;
}

.btn_modal a:after {
    content: "";
    width: 0;
    height: 0;
    position: absolute;
    border: 5px solid transparent;
    border-left-color: black;
    right: 0;
    bottom: 0;
    -webkit-transform: rotate(45deg);
        -ms-transform: rotate(45deg);
            transform: rotate(45deg);
}
.btn_modal a:hover{
    opacity: .7;
}
@media screen and (min-width: 769px) {
    .pc_none {
        display: none !important;
    }
}
@media screen and (max-width: 768px) {
    .pc_none {
        display: block;
    }

    .sp_none {
        display: none;
    }
  .modal_box {
    padding: 30px 10px 20px;
  }
}