/*サイト全体*/
@media screen and (min-width:480px) {
html {
overflow: auto;
}
body {
overflow: hidden;
font-family: "Segoe UI", Verdana, "游ゴシック", YuGothic, "Hiragino Kaku Gothic ProN", Meiryo, sans-serif;
color: #666;

}
}
@media screen and (max-width:480px) {
html {
overflow: auto;
}
body {
overflow: hidden;
font-family: "Segoe UI", Verdana, "游ゴシック", YuGothic, "Hiragino Kaku Gothic ProN", Meiryo, sans-serif;
color: #666;

}
}












/* これが無いとモーダルウィンドウ表示の際に余白が出る */
*{
    margin: 0;
    padding: 0;
  }
  
  /* モーダル全体(背景＋本体) */
  .modal{
    display: none;
    position: fixed;
    top: 0;
    height: 100vh;
    width: 100%;
    z-index: 999;
  }
  @media screen and (min-width:768px) {
    .modal{
        width: 100vw;
        left: 50%;
        transform: translateX(-50%);
        z-index: 99;
      }
    }
  
  /* モーダル背景 */
  .modal-bg{
    position: absolute;
    height: 100vh;
    width: 100%;
    background: rgba(0, 0, 0, 0.8);
  }
  
  /* モーダル本体 */
  .modal-content{
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    overflow: scroll; /* はみ出た部分はスクロールさせる */
    height: 80%;/* これが無いと「overflow:scroll」が利かない */
    width: 90%;/* これが無いと「overflow:scroll」が利かない */
    background: white;
    padding-bottom: 20px;
  }
  @media screen and (min-width:768px) {
    .modal-content{
        height: 80%;/* これが無いと「overflow:scroll」が利かない */
        width: 60%;/* これが無いと「overflow:scroll」が利かない */
        padding: 40px;
        top: 50%;
      }
    }

  /* モーダルウィンドウ表示中に記事本体を固定 */
  body.fixed {
    position: fixed;
    width: 100%;
    height: 100%;
    left: 0;
  }


  .ModalBox a{
display: contents;

  }

  @media only screen and (min-width: 768px){
.ModalBox ul {
    margin: 30px auto 0;
     max-width: 1000px; 
}
  }
.ModalBox ul {
    display: flex;
    flex-wrap: wrap;
    justify-content: space-between;
}
ol, ul {
    list-style: none;
}
@media only screen and (max-width: 767px){
.ModalBox ul {
    margin: 30px 5% 0;
}
}

@media only screen and (min-width: 768px){
.ModalBox .Modalgroup li {
    width: 31%;
    cursor: pointer;
}
}
@media only screen and (max-width: 767px){
.ModalBox .Modalgroup li {
    width: 47%;
}
}

@media only screen and (min-width: 768px){
.ModalBox li figure {
    position: relative;
    width: 100%;
    overflow: hidden;
    border-radius: 5px 5px 0 0;
}
}
article, aside, details, figcaption, figure, footer, header, hgroup, menu, nav, section {
    display: block;
}


.ModalBox ul img {
    border-radius: 5px 5px 0 0;
    width: 100%;
}

@media only screen and (min-width: 768px){
.ModalBoxIn img {
    zoom: 0.5;
    max-width: 100%;
    height: auto;
}
}
img {
    vertical-align: middle;
}
@media only screen and (max-width: 767px){
.ModalBoxIn img {
    width: 100%;
    height: auto;
}
}

@media only screen and (max-width: 767px){
.is--responsive {
    width: 100%;
    height: auto;
}
}

@media only screen and (min-width: 768px){
.ModalBox h3 {
    font-size: 24px !important;
}
}
.ModalBox h3 {
    margin-top: 10px;
    font-size: 16px !important;
    color: #28325A;
    font-weight: 600;
    line-height: 1.4;
}


.ModalBox h3 span {
    color: #1396EC;
}



@media only screen and (min-width: 768px){
.ModalBox p {
    padding: 0 20px 20px;
    font-size: 15px;
}
}

.ModalBox p {
    font-size: 12px;
    margin: 10px 0 0;
    padding: 0 10px 10px;
    line-height: 1.6;
}

@media only screen and (min-width: 768px){
.ModalInc .ModalInd {
    margin: 0 0 80px;
}
}
.ModalInc .ModalInd {
    margin: 0;
}

#ModalIn figure img {
    width: 100%;
    height: auto;
    border-radius: 5px 5px 0 0;
}

@media only screen and (min-width: 768px){
#ModalIn img {
    zoom: 1;
    max-width: 100%;
    height: auto;
}
}
@media only screen and (max-width: 767px){
.p-trial__2020_contents img {
    width: 100%;
    height: auto;
}
}

@media only screen and (max-width: 767px){
.is--responsive {
    width: 100%;
    height: auto;
}
}

@media only screen and (min-width: 768px){
#ModalIn h3 {
    font-size: 32px !important;
}
}

#ModalIn h3 {
    margin: 20px 0 10px !important;
    font-size: 22px !important;
    color: #28325A;
    font-weight: 600;
    line-height: 1.6;
    text-align: center;
}

@media only screen and (min-width: 768px){
#ModalIn h3 em {
    font-size: 24px !important;
}
}

#ModalIn h3 em {
    font-size: 16px !important;
    font-style: normal;
}

#ModalIn h3 span {
    color: #1396EC;
}

@media only screen and (min-width: 768px){
#ModalIn p {
    font-size: 18px;
    text-align: center;
}
}
#ModalIn p {
    font-size: 16px;
    margin: 0 4% 20px;
    line-height: 1.6;
    text-align: center;
}

@media only screen and (min-width: 768px){
#ModalInA div.content {
    width: 356px;
}
}

#ModalIn div.content {
    width: 100%;
    margin: 0 auto;
    text-align: center;
}
@media only screen and (min-width: 768px){
#ModalIn div.content {
    width: 80%;
}
}

#ModalIn div.content img {
    width: 100%;
}

@media only screen and (min-width: 768px){
#ModalIn .Modaltxt {
    font-size: 14px;
}
}

#ModalIn .Modaltxt {
    margin: 10px 0 0;
    padding: 0;
    font-size: 12px;
    color: #969BA1;
    text-align: center;
}

@media only screen and (min-width: 768px){
#ModalIn dl {
    margin: 30px 60px 0;
}
}

#ModalIn dl {
    margin: 20px 5% 10px;
}

#ModalIn dl h4 {
    font-size: 1.4rem;
    text-align: center;
    color: #fff;
    background: #13B5BB;
    font-weight: bold;
    padding: 5px;
}
@media only screen and (min-width: 768px){
#ModalIn dl h4 {
    font-size: 1.6rem;
}
}

#ModalIn dl dd.content2 {
    text-align: center;
}

@media only screen and (min-width: 768px){
#ModalIn dl dd {
    font-size: 14px;
}
}

#ModalIn dl dd {
    padding: 10px 0 20px;
    font-size: 12px;
    color: #3D3D3D;
    text-align: left;
}

#ModalIn dl dd h5 {
    font-size: 16px;
    font-weight: 600;
    text-align: center;
}


#ModalIn dl dd .Modaltxt2 {
    color: #969BA1;
    text-align: left;
    font-size: 12px;
    margin: 5px 0 0;
    font-weight: bold;
}
@media only screen and (min-width: 768px){
#ModalIn dl dd .Modaltxt2 {
    font-size: 14px;
}
}

#ModalIn .modalb {
    width: 150px;
    margin: 0 auto;
    padding: 10px;
    text-align: center;
    font-size: 14px;
    border: 1px solid #28325A;
    border-radius: 50px;
    cursor: pointer;
    margin: 10px;
}



@media only screen and (min-width: 768px){
.modal-close {
    max-width: 590px;
}
}
@media only screen and (min-width: 768px){
.modal-close {
    top: 10%;
    width: 100%;
    max-width: 710px;
    left: 14%;
    right: 0;
    margin: 0 auto;
    text-align: right;
}
}
.modal-close {
   
    position: fixed;
    height: 50px;
    z-index: 20002;
    cursor: pointer;
}
@media only screen and (max-width: 767px){
.modal-close {
    top: 2%;
    left: 2%;
    width: 50px;
}
}

.modal-close img {
    width: 60%;
    height: auto;
}
@media only screen and (min-width: 768px){
.modal-close img {
    width: 30px !important;
}
}

@media only screen and (min-width: 768px){
.ModalBoxIn img {
    zoom: 0.5;
    max-width: 100%;
    height: auto;
}
}
@media only screen and (max-width: 767px){
.ModalBoxIn img {
    width: 100%;
    height: auto;
}
}

.ModalBox li {
    margin: 0 0 20px;
    padding: 0 0 5px;
    text-align: center;
    background: url(../images/top/ar.jpg) right 8px bottom 8px no-repeat;
    background-size: 10px auto;
    border-radius: 5px;
    box-shadow: none;
    box-sizing: border-box;
}
@media screen and (min-width:768px) { 
.ModalBox li {
    margin: 0 0 40px;
    background: url(../images/top/ar.jpg) right 15px bottom 15px no-repeat;
    background-size: 15px auto;
}
}

.ModalImg {
display: block;
    position: relative;
    z-index: 1;
    overflow: hidden;
}

.ModalBox .ModalContents {
    margin: 0;
    width: 70px;
    height: 70px;
    text-align: center;
    background: rgba(255, 255, 2555, 90%);
    position: absolute;
    top: 105px;
    left: 0;
    z-index: 1;
    -ms-justify-content: center;
    -webkit-justify-content: center;
    justify-content: center;
    -ms-align-items: center;
    -webkit-align-items: center;
    align-items: center;
}
@media screen and (max-width:767px) {
    .ModalBox .ModalContents {
        top: 20px;
    }
}

.ModalBox .ModalContents {
    margin: 0 0 10px 0;
    display: -webkit-box;
    display: -ms-flexbox;
    display: -webkit-flex;
    display: flex;
    -ms-flex-wrap: wrap;
    -webkit-flex-wrap: wrap;
    flex-wrap: wrap;
    -ms-align-items: flex-end;
    -webkit-align-items: flex-end;
    align-items: flex-end;
}

.ModalContentsIn {
    font-size: 10px;
    margin: 13px 0 2px 0;
}

.ModalContentsIn {
    font-size: 16px;
    margin-right: 10px;
    color: #000;
}

.ModalBox .ModalContentsIn2 {
    -ms-align-self: start;
    -webkit-align-self: start;
    align-self: start;
    font-size: 24px;
    margin: 0;
}

.ModalBox .ModalContentsIn2 {
    font-size: 2rem;
    margin-bottom: -2px;
    font-weight: 600;
}
.ModalBox .ModalContentsIn2 {
    color: #13b5bb;
}

.ModalTop.ModalTop2 {
    float: none;
    width: 100%;
    height: 450px;
    margin: 0 0 15px 0;
}

.ModalTop {
    display: inline-block;
    font-size: 16px;
    vertical-align: top;
    position: relative;
}
media="screen and (max-width: 1151px)"
@media screen and (max-width: 750px){
.ModalTop.ModalTop2 {
    margin: 0 0 35px 0;
}
}
media="screen and (max-width: 1151px)"
@media screen and (max-width: 950px){
.ModalTop.ModalTop2 {
    height: auto;
    margin: 0 0 52px 0;
}
}

.ModalTop.ModalTop2 .ModalTopImgAll {
    width: 740px;
    height: 100%;
}

.ModalTopImgAll {
    display: block;
    position: relative;
    z-index: 1;
    overflow: hidden;
}

.ModalTopImg {
    width: 100%;
    height: auto;
    -webkit-transition: transform 0.5s ease;
    transition: transform 0.5s ease;
    -webkit-transform: scale(1.1);
    transform: scale(1.1);
}

.ModalTopImg {
    width: 100%;
    height: 100% !important;
    display: block;
    overflow: hidden;
    position: relative;
    z-index: 2;
}

@media screen and (max-width: 1151px){
.ModalTop.ModalTop2 .ModalTopTitle {
    width: calc(50% - 20px);
    padding: 40px 30px;
}
}
.ModalTop.ModalTop2 .ModalTopTitle {
    width: 430px;
    padding: 58px;
    position: absolute;
    right: 0px;
    background: rgba(255, 255, 255, 90%);
    z-index: 1;
    top: 50%;
    -ms-transform: translateY(-50%);
    -webkit-transform: translateY(-50%);
    transform: translateY(-50%);
    -moz-box-sizing: border-box;
    -webkit-box-sizing: border-box;
    box-sizing: border-box;
}

.ModalTop .ModalContents {
    margin: 0 0 10px 0;
    display: -webkit-box;
    display: -ms-flexbox;
    display: -webkit-flex;
    display: flex;
    -ms-flex-wrap: wrap;
    -webkit-flex-wrap: wrap;
    flex-wrap: wrap;
    -ms-align-items: flex-end;
    -webkit-align-items: flex-end;
    align-items: flex-end;
}

.ModalTop .ModalContentsIn {
    font-size: 16px;
    margin-right: 10px;
    color: #000;
    font-weight: bold;
}

.ModalTop .ModalContentsIn2 {
    font-size: 30px;
    font-weight: 600;
    margin: 0px 2px;
}

.ModalContentsIn2 {
    color: #13b5bb;
}

.ModalTop.ModalTop2 .title {
    font-size: 26px;
}

.ModalTop.ModalTop2 .title {
    font-size: 26px;
    font-weight: 600;
    line-height: 1.6;
    word-wrap: break-word;
    word-break: break-all;
}

@media screen and (max-width: 750px){
.ModalTop.ModalTop2 .ModalTopTitle {
    margin: -40px 20px 0;
    padding: 20px 20px 0;
}
}

@media screen and (max-width: 950px){
.ModalTop.ModalTop2 .ModalTopTitle {
    width: auto;
    margin: -20px 20px 0;
    padding: 20px 30px 20px;
    position: relative;
    right: auto;
    top: auto;
    -ms-transform: translateY(0%);
    -webkit-transform: translateY(0%);
    transform: translateY(0%);
}
}


@media screen and (max-width: 950px){
.ModalTop.ModalTop2 .ModalTopImgAll {
    width: 100%;
    height: 400px;
}
}
@media screen and (max-width: 750px){
.ModalTop.ModalTop2 .ModalTopImgAll {
    height: 200px;
}
}

@media screen and (max-width: 750px){
.ModalTop.ModalTop2 .title {
    font-size: 20px;
}
}

@media screen and (max-width: 950px){
.ModalTop.ModalTop2 {
    height: auto;
    margin: 0 0 52px 0;
}
}
@media screen and (max-width: 750px){
.ModalTop.ModalTop2 {
    margin: 0 0 15px 0;
}
}

.BasicTitle {
    color: #13B5BB;
    margin: -10px auto 20px;
    text-align: center;
    }
      .BasicTitle:after {
        font-family: "Font Awesome 5 Free";
        content: '\f138';
        font-weight: bold;
        margin-left: 2px;
    }



    @media only screen and (min-width: 768px){
        .ModalBoxT {
            font-size: 24px !important;
        }
        }
        .ModalBoxT {
            margin-top: 10px;
            font-size: 16px !important;
            color: #28325A;
            font-weight: 600;
            line-height: 1.4;
        }
        
        
        .ModalBoxT span {
            color: #1396EC;
        }