@charset "UTF-8";
/* CSS Document */

.column_head{
  margin: 0;
  border-bottom: none;
  margin-bottom: 70px;
}

.column_head > div{
  width: 100%;
  padding: 0;
  margin: 0;
}

.column_head h1{
  margin: 0;
}

.tr_header{
  text-align: center;
  position: relative;
}

@media screen and (min-width: 981px) {
  .tr_header{
    background: url("/jp/-/media/medicom/training/quiz/mv_bk.png") center center no-repeat;
    background-size: cover;
  }
}

.tr_header > div{
  max-width: 1400px;
  width: 100%;
  margin: 0 auto;
  text-align: left;
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%,-50%)
}

.tr_header h1{
  font-family: 'UD Shin Go DemiBold', 'ヒラギノ角ゴ Pro W3', 'Hiragino Kaku Gothic Pro', 'Meiryo', 'メイリオ', 'ＭＳ Ｐゴシック', 'MS PGothic', sans-serif;
  font-size: 36px;
  line-height: 1;
  color: #FFF;
}

.tr_header h1 span{
  font-size: 28px;
  padding-right: .5em;
}

.tr_header p{
  font-family: 'UD Shin Go DemiBold', 'ヒラギノ角ゴ Pro W3', 'Hiragino Kaku Gothic Pro', 'Meiryo', 'メイリオ', 'ＭＳ Ｐゴシック', 'MS PGothic', sans-serif;
  font-size: 20px;
  color: #FFF;
  margin-top: 15px;
}

.tr_co h1{
  font-family: 'UD Shin Go DemiBold', 'ヒラギノ角ゴ Pro W3', 'Hiragino Kaku Gothic Pro', 'Meiryo', 'メイリオ', 'ＭＳ Ｐゴシック', 'MS PGothic', sans-serif;
  font-size: 36px;
  line-height: 1.3;
  padding-bottom: 35px;
  margin-bottom: 60px;
  position: relative;
}

.tr_co h1 span{
  font-size: 20px;
  display: block;
  margin-top: 5px;
}

.tr_co h1::before{
  content: "";
  width: 180px;
  height: 6px;
  background: #32938A;
  border-radius: 10px;
  position: absolute;
  bottom: 0;
  left: 0;
}

.title_bar{
  height: 80px;
  font-family: 'UD Shin Go DemiBold', 'ヒラギノ角ゴ Pro W3', 'Hiragino Kaku Gothic Pro', 'Meiryo', 'メイリオ', 'ＭＳ Ｐゴシック', 'MS PGothic', sans-serif;
  font-size: 24px;
  line-height: 80px;
  color: #FFF;
  padding: 0 20px;
  margin-bottom: 25px;
  background: url("/jp/-/media/medicom/training/common/title_bk.png") right center no-repeat;
  background-size: cover;
}

.title_bar span{
  font-size: 20px;
  padding-right: .5em;
}

.title_line{
  font-family: 'UD Shin Go DemiBold', 'ヒラギノ角ゴ Pro W3', 'Hiragino Kaku Gothic Pro', 'Meiryo', 'メイリオ', 'ＭＳ Ｐゴシック', 'MS PGothic', sans-serif;
  font-size: 24px;
  line-height: 1.3;
  color: #0056A8;
  padding-bottom: 10px;
  border-bottom: #0056A8 3px solid;
  margin-bottom: 20px;
}

.title_bl{
  font-family: 'UD Shin Go Regular', 'ヒラギノ角ゴ Pro W3', 'Hiragino Kaku Gothic Pro', 'Meiryo', 'メイリオ', 'ＭＳ Ｐゴシック', 'MS PGothic', sans-serif;
  font-size: 24px;
  line-height: 1.3;
  color: #0056A8;
  font-weight: normal;
  margin-bottom: 20px;
  margin-top: 30px;
}

.t_box{
  font-family: 'UD Shin Go DemiBold', 'ヒラギノ角ゴ Pro W3', 'Hiragino Kaku Gothic Pro', 'Meiryo', 'メイリオ', 'ＭＳ Ｐゴシック', 'MS PGothic', sans-serif;
  font-size: 20px;
  line-height: 1.3;
  color: #1e8a80;
  text-align: center;
  background: #eef4f7;
  border-radius: 10px;
  padding: 35px 0;
  margin-bottom: 30px;
}

.co_box{
  padding: 0 20px 80px;
}

.co_box p{
  font-size: 16px;
  line-height: 1.9;
  margin: 0;
}

.co_box p + h3,
.co_box p + p{
  margin-top: 35px;
}

.p_nav{
  display: flex;
  justify-content: flex-start;
  gap: 0 15px
}

.p_nav li a{
  width: 240px;
  height: 80px;
  font-size: 18px;
  line-height: 70px;
  text-align: center;
  color: #39988F;
  border: 4px solid #BFDDDA;
  display: block;
  border-radius: 50px;
  position: relative;
  box-sizing: border-box;
}

.p_nav li a::after{
  content: "";
  width: 0;
  height: 0;
  border-style: solid;
  border-right: 7px solid transparent;
  border-left: 7px solid transparent;
  border-top: 12px solid #39988F;
  border-bottom: 0;
  position: absolute;
  bottom: 7px;
  left: 50%;
  transform: translateX(-50%)
}

.p_nav li:nth-of-type(2) a{
  color: #FFF;
  border: 4px solid #4CAFA6;
  background: #4CAFA6;
}

.p_nav li:nth-of-type(2) a::after{
  border-top: 12px solid #FFF;
}

.q_list{
  display: flex;
  justify-content: flex-start;
  flex-flow: wrap;
  gap: 65px 2%;
}

.q_list li{
  width: 32%;
  text-align: center;
  cursor: pointer;
  transition: .6s opacity;
}

.q_list li p{
  font-size: 16px;
  line-height: 1.3;
  margin-top: 20px;
}
@media screen and (min-width: 981px) {
  .q_list li:hover{
    opacity: .6;
  }
}

.quiz_box h2 img {
  width: 100%;
  height: auto;
}

.quiz_box {
  position: fixed;
  inset: 0;
  width: 100%;
  height: 100%;
  background: rgba(0,0,0,.8);
  display: none; 
  overscroll-behavior: contain;
  z-index: 9999;
}

.quiz_inner {
  width: 95%;
  height: 100%;
  max-width: 995px;
  max-height: 80vh;
  position: fixed;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
}

.quiz_waku {
  width: 100%;
  height: 100%;
  border-radius: 20px;
  border: 3px solid #81ade2;
  background: #FFF;
  overflow: hidden;
  display: flex;
  flex-direction: column;
}

.iframe_box {
  flex: 1 1 auto;
  width: 100%;
  overflow: hidden;
}

.iframe_box > div {
  width: 100%;
  height: 100%;
  overflow: auto;
}

.iframe_box iframe {
  width: 100%;
  height: 100%;
  min-height: 660px;
  border: none;
  display: block;
}

.quiz_box .close {
  width: 50px;
  position: absolute;
  top: -60px;
  right: -10px;
  cursor: pointer;
  z-index: 10;
}

.thanks{
  width: 100%;
  padding-top: 20px;
  margin: 0 auto;
  text-align: center;
}

.thanks img,
.thanks picture{
  width: 100%;
  max-width: 90%;
  display: block;
  margin: 0 auto;
}

.thanks p{
  font-size: 16px;
  line-height: 1;
  padding: 13px 25px;
  color: #39988F;
  border: 1px solid #39988F;
  border-radius: 50px;
  display: inline-block;
  margin: 70px 0 60px;
  cursor: pointer;
  transition: .3s opacity;
}

@media screen and (min-width: 981px) {
  .thanks p:hover{
    opacity: .6;
  }
}

body.sc_none{
  overflow: hidden;
}

@media screen and (max-width: 980px) {
  
  .column_head{
    margin: 0;
    border-bottom: none;
    margin-bottom: 15vw;
  }

  .column_head > div{
    width: 100%;
    padding: 0;
    margin: 0;
  }

  .column_head h1{
    margin: 0;
  }

  .tr_header > div{
    width: auto;
    left: 5vw;
    transform: translateY(-50%);
  }

  .tr_header h1{
    font-size: 6vw;
    line-height: 1.3;
    color: #FFF;
  }

  .tr_header h1 span{
    font-size: 4.5vw;
    padding-right: 0;
    display: block;
    margin-bottom: 2vw;
  }

  .tr_header p{
    font-size: 4vw;
    line-height: 1.4;
    margin-top: 4vw;
  }

  .tr_co h1{
    font-size: 8vw;
    line-height: 1.3;
    padding-bottom: 15vw;
    margin-bottom: 15vw;
    position: relative;
  }

  .tr_co h1 span{
    font-size: 4.5vw;
    padding-right: 0;
    display: block;
    margin-bottom: 2vw;
  }

  .tr_co h1::before{
    content: "";
    width: 180px;
    height: 6px;
    background: #32938A;
    border-radius: 10px;
    position: absolute;
    bottom: 0;
    left: 0;
  }

  .title_bar{
    height: 18vw;
    font-size: 5vw;
    line-height: 1;
    color: #FFF;
    padding: 7vw 4vw 0;
    box-sizing: border-box;
    margin-bottom: 5vw;
    overflow: hidden;
  }
  
  .title_bar.sm{
    font-size: 4.5vw;
  }
  
  .title_bar.ssm.tb{
    padding-top: 3.5vw;
    font-size: 4vw;
  }
  
  .title_bar.tb{
    padding-top: 3vw;
    line-height: 1.3;
  }

  .title_bar span{
    font-size: 3.8vw;
    padding-right: 0;
    display: block;
    margin-bottom: 2vw;
  }
  
  .title_bar.w span{
    display: inline-block;
    padding-right: .3em;
  }
  
  .title_bar.w.tb{
    padding-top: 3vw
  }

  .title_line{
    font-size: 5.5vw;
    line-height: 1.3;
    padding-bottom: 2vw;
    border-bottom: #0056A8 3px solid;
    margin-bottom: 5vw;
  }
  
  .title_bl{
    font-size: 5.5vw;
    line-height: 1.3;
    font-weight: normal;
    margin-bottom: 3vw;
    margin-top: 5vw;
  }
  
  .t_box{
    font-size: 3.8vw;
    border-radius: 1vw;
    padding: 5vw 0;
    margin-bottom: 5vw;
  }
  
  .co_box{
    padding: 0 0 15vw;
  }

  .co_box p{
    font-size: 3.8vw;
    line-height: 1.9;
    margin: 0;
  }

  .co_box p + h3,
  .co_box p + p{
    margin-top: 10vw;
  }
  
  .p_nav{
    display: flex;
    justify-content: space-between;
    gap: auto;
  }
  
  .p_nav li{
    width: 48%;
  }

  .p_nav li a{
    width: 100%;
    height: 16vw;
    font-size: 4vw;
    line-height: 14vw;
    border: 3px solid #BFDDDA;
    border-radius: 10vw;
  }

  .p_nav li a::after{
    border-right: 1.5vw solid transparent;
    border-left: 1.5vw solid transparent;
    border-top: 2.2vw solid #39988F;
    bottom: 1.5vw;
  }

  .p_nav li:nth-of-type(2) a{
    border: 3px solid #4CAFA6;
  }

  .p_nav li:nth-of-type(2) a::after{
    border-top: 2.2vw solid #FFF;
  }

  .q_list{
    display: block;
    padding: 0 5vw;
  }

  .q_list li{
    width: 100%;
    text-align: center;
    cursor: pointer;
  }
  
  .q_list li + li{
    margin-top: 8vw;
  }

  .q_list li p{
    font-size: 3.8vw;
    margin-top: 3vw;
  }


  .quiz_inner {
    width: 90vw;
    height: 100%;
    max-height: 70vh;
    position: fixed;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
  }

  .quiz_waku {
    width: 100%;
    height: 100%;
    border-radius: 3vw;
    border: 2px solid #81ade2;
  }

  .iframe_box {
    flex: 1 1 auto;
    width: 100%;
    overflow: hidden;
  }
  
  .iframe_box > div {
    padding: 1px;
    box-sizing: border-box;
  }

  .iframe_box iframe {
    width: 100%;
    height: 100%;
    min-height: 100vh;
    border: none;
    display: block;
  }

  .quiz_box .close {
    width: 10vw;
    top: -13vw;
    right: -2vw;
  }
  
  .thanks{
    width: 100%;
    max-width: inherit;
    padding-top: 5vw;
  }

  .thanks img,
  .thanks picture{
    max-width: 95%;
  }

  .thanks p{
    font-size: 3.5vw;
    line-height: 1;
    padding: 3vw 6vw;
    color: #39988F;
    border-radius: 10vw;
    margin: 8vw 0 15vw;
  }


}
