html {
    scroll-behavior: smooth;
}

.modal-wrapper {
  z-index: 999;
  position: fixed;
  top: 0;
  right: 0;
  bottom: 0;
  left: 0;
  padding: 40px 10px;
  text-align: center;
  z-index: 9999;
}

.modal-button {
    color: #4f96f6;
    background-color: #eeeeee;
    font-weight: bold;
    text-align: center;
    cursor :pointer;
    transition: all 0.3s;
    display: block;
    margin-top: 40px;
    margin-bottom: 1px;
    padding: 12px 2px;
    max-width:300px;
    text-decoration: none;
}

.modal-button:active {
  /*ボタンを押したとき*/
  -webkit-transform: translateY(2px);
  transform: translateY(2px);/*下に動く*/

}

/*アイコンを表示*/
.modal-button:after {
font-family: "Font Awesome 5 Free";
  content: "\f2d0";
    padding-left: 8px;
}

/*ラベルホバー時*/
.modal-button:hover {
  color: #FFFFFF;
  background-color: #4f96f6;
  transition: .6s;
}

.modal-wrapper:not(:target) {
  opacity: 0;
  visibility: hidden;
  transition: opacity .3s, visibility .3s;
}

.modal-wrapper:target {
  opacity: 1;
  visibility: visible;
  transition: opacity .4s, visibility .4s;
}

.modal-wrapper::after {
  display: inline-block;
  height: 100%;
  margin-left: -.05em;
  vertical-align: middle;
  content: ""
}


.modal-wrapper a:hover{
  opacity: 1 !important;
}

@media screen and (min-width: 767px) {
.modal-wrapper .modal-window {
    box-sizing: border-box;
    display: inline-block;
    z-index: 20;
    position: relative;
    width: 100%;
    padding: 0%;
    border-radius: 2px;
    background: #000;
    vertical-align: middle;
    border-radius: 0px;
    font-weight: normal;
    max-width: 1000px;
}

.vk_outer-width-fullmodal.vk_outer-paddingLR-nonemodal {
    padding-left: calc(30vw - 50%);
    padding-right: calc(30vw - 50%);
    width: 80%;
    margin: 0 auto;
}

.modal_title {
  font-size: 120%;
    position: relative;
    overflow: hidden;
  padding: 0;
  font-weight: bold;
  text-align: center;
  color: #fff;
}


.modal_title_cast {
  font-size: 160%;
    position: relative;
    overflow: hidden;
  padding: 0;
  font-weight: bold;
  text-align: center;
  color: #fff;
}

.modal_title_catch {
  font-size: 140%;
  color: #e40012;
    position: relative;
    overflow: hidden;
  padding: 0;
  font-weight: bold;
  text-align: center;
}



.modal-wrapper .modal-close {
    z-index: 20;
    position: absolute;
    top: 5%;
    right: 5%;
    width: 35px;
    color: #fff !important;
    font-size: 40px;
    font-weight: 700;
    line-height: 35px;
    text-align: center;
    text-decoration: none;
    text-indent: 0;
}
.modal-wrapper .modal-close:hover {
  color: #fff !important
}



.modal-wrapper .modal-window .modal-content {
    max-height: 80vh;
    overflow-y: auto;
    text-align: left;
    width: 90%;
    margin: 5% auto;
    padding: 2%;
  color: #fff;
  line-height: 1.5;
}

.modal-wrapper .modal-window .modal-content .comment{
  font-size: 18px;
}



}

@media screen and (max-width: 767px) {

table{
  width: 100%;
}

.modal_title_cast {
  font-size: 130%;
    position: relative;
    overflow: hidden;
  padding: 0;
  font-weight: bold;
  text-align: center;
  color: #fff;
}

.modal-wrapper .modal-window .modal-content .comment{
  font-size: 15px;
}

.modal_title {
  font-size: 12px;
    position: relative;
    overflow: hidden;
  padding: 0;
  font-weight: bold;
  text-align: center;
}
.modal-wrapper .modal-window .modal-content {
    max-height: 75vh;
    overflow-y: auto;
    text-align: left;
    width: 90%;
    margin: 5% auto;
    padding: 2%;
  color: #fff;
  line-height: 1.5;
}
.modal-wrapper .modal-close {
    z-index: 20;
    position: absolute;
    top: 3%;
    right: 5%;
    width: 35px;
    color: #fff !important;
    font-size: 40px;
    font-weight: 700;
    line-height: 35px;
    text-align: center;
    text-decoration: none;
    text-indent: 0;
}
.modal-wrapper .modal-close:hover {
  color: #fff !important
}



.modal-wrapper .modal-window {
  box-sizing: border-box;
  display: inline-block;
  z-index: 20;
  position: relative;
  width: 100%;
  max-width: 95%;
  padding: 0;
  border-radius: 0;
  background: #000;
  vertical-align: middle;
  font-weight: normal;
  max-height: 80vh;
  font-size: 14px;
}

.vk_outer-width-fullmodal.vk_outer-paddingLR-nonemodal {
    padding-left: 0;
    padding-right: 0;
    width: 100%;
    margin: 0 auto;
}

.wp-block-group__inner-container {
    max-width: 80% !important;
    margin-left: auto;
    margin-right: auto;
}

.modal_title {
  font-size: 16px;
    position: relative;
    overflow: hidden;
  padding: 0;
  font-weight: bold;
  text-align: center;
}

.modal_title_catch {
  font-size: 110%;
  color: #e40012;
    position: relative;
    overflow: hidden;
  padding: 0;
  font-weight: bold;
  text-align: center;
}



}



.modal_title::before,
.modal_title::after{
    content: "";
    position: absolute;
    bottom: 0;
}


.modal-content p {
  margin: 10px 0 0 0;
}

.modal-overlay {
  z-index: 10;
  position: absolute;
  top: 0;
  right: 0;
  bottom: 0;
  left: 0;
  background: rgba(0, 0, 0, .8)
}



.is-style-vk-heading-both_ends::before, .is-style-vk-heading-both_ends::after, .editor-styles-wrapper .block-editor-block-list__layout .is-style-vk-heading-both_ends::before, .editor-styles-wrapper .block-editor-block-list__layout .is-style-vk-heading-both_ends::after {
    border-bottom: 2px solid #ff6900;
}




.youtube__aspect-ratio {
    width: 100%;
    aspect-ratio: 16 / 9;
}
.youtube__aspect-ratio iframe {
    width: 100%;
    height: 100%;
}

.profilebtn {
    position: relative;
    display: block;
    background-color: #000;
    font-weight: normal;
    padding: 15px 0 0px;
    cursor: pointer;
    font-size: 21px;
    color: #fff;
    margin-top: 10px;
    padding-bottom: 12px;
    font-family: 'english';
    width: 70%;
    margin: 0 auto;
}

@media screen and (min-width: 767px) {
.profilebtn2 {
    position: relative;
    display: block;
    background-color: #000;
    font-weight: normal;
    cursor: pointer;
    font-size: 21px;
    color: #fff;
    margin-top: 15px;
    width: 120px;
    margin: 0 auto;
    text-align: center;
    font-family: 'english';
    line-height: 1.6;
    padding-top: 3px;
}
}


@media screen and (max-width: 767px) {
.profilebtn2 {
    position: relative;
    display: block;
    background-color: #000;
    font-weight: normal;
    cursor: pointer;
    font-size: 17px;
    color: #fff;
    margin-top: 15px;
    width: 100px;
    margin: 0 auto 0 0;
    text-align: center;
    font-family: 'english';
    line-height: 1.5;
    padding-top: 4px;
}
}