@charset "utf-8";

/*header*/

.entrepreneur_header {
    background-image: url(/common_d/connect/future/entrepreneur/img/entrepreneur_header.jpg);
    background-size: cover;
    margin: 20px 0 0;
    height: 400px;
    position: relative;
}

.entrepreneur_ttl{
    position: absolute;
    bottom: 50px;
    left: 10%;
    margin-right: 10%;
    color: #fff;
    font-size: 40px;
    line-height: 1.2em;
    letter-spacing: 0.1em;
    font-weight: 600;
    font-family: "游明朝体", "Yu Mincho", YuMincho, "ヒラギノ明朝 Pro W3", "Hiragino Mincho Pro", "HiraMinProN-W3", 'Noto Serif JP', serif;
    text-shadow: #333 1px 0 10px;
    span{
       font-size: 1.2em; 
       font-weight: 700;
       font-family: 'Noto Sans JP', "ヒラギノ角ゴ Pro W3", "Hiragino Kaku Gothic Pro", "メイリオ", Meiryo, sans-serif;
    }
}

/*ヘッタータイトルアニメーション*/
.left_appear {
  white-space: nowrap;
  /*overflow: hidden;*/
  animation: flowing-anim 1.5s ease forwards;
}
@keyframes flowing-anim {
 0%{
     opacity: 0;
     transform: translateY(-20px);
   }
100%{
     opacity: 1;
     transform: translateY(0);
   }
}

.entrepreneur_inner{
width:90%;
max-width:1200px;
padding:0 5% 40px;
margin:0 auto;
}

.title_box {
  display: flex;
    margin: 30px auto 40px;
}
.start {
  position: relative;
  display: inline-block;
  width: 200px;
  height: 100px;
  margin-right: 30px;
  padding: 20px;
  border-radius: 5px;
  background-color: #585555;
  text-align: center;
  font-size: 20px;
  font-weight: 600;
  white-space: nowrap;
  color: #fff;
}

.start::after {
  content: "";
  position: absolute;
  top: 50%;
  right: 0;
  border-style: solid;
  border-width: 10px 0 10px 20px;
  border-color: transparent transparent transparent #585555;
  translate: 100% -50%;
}

span.title {
    display: inline-block;
    font-size: 2.0em;
    font-weight: 700;
    color: red;
    margin-bottom: 20px;
}

.qa_fbox {
  display: flex;
  align-items: flex-end;
}

.qa_box {
  position: relative;
  max-width: 800px;
  /*margin: 10px auto 2em;*/
  padding: 20px 30px;
  border-radius: 3px;
  box-shadow: 0 2px 3px rgb(0 0 0 / 20%);
  background-color: #f2f8ff;
  color: #333333;
}

.qa_box::before,
.qa_box::after {
  position: absolute;
  content: '';
}

.qa_box::before {
  top: -15px;
  right: 10px;
  height: 50px;
  width: 15px;
  border: 3px solid #999;
  border-radius: 10px;
  box-shadow: 1px 1px 2px rgb(0 0 0 / 30%);
  transform: rotate(10deg);
}

.qa_box::after {
  top: 0;
  width: 10px;
  right: 20px;
  border: solid 5px #f2f8ff;
}

.qa_ttl {
  font-size: 1.2em;
  font-weight: 600;
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 20px;
  .q {
    font-weight: 600;
    font-size: 60px;
    font-family: "Affogato-Bold";
  }
  .and {
      color: #ffffff;
      font-size: 1.6em;
      letter-spacing: 1px;
      text-shadow: 1px 1px 0px #ff0000, -1px 1px 0px #ff0000, 1px -1px 0px #ff0000, -1px -1px 0px #ff0000, 1px 0px 0px #ff0000, 0px 1px 0px #ff0000, -1px 0px 0px #ff0000, 0px -1px 0px #ff0000;
    }
  .a {
    font-weight: 600;
    font-size: 60px;
    color: red;
    font-family: "Affogato-Bold";
  }
  .red_b {
    background-color: red;
    padding: 0 5px;
    font-weight: 600;
    color: #fff;
    letter-spacing: -0.05em;
    margin-right: 0.5em;
  }
}

.question {
    position: relative;
    background-color: #fff;
    border: 1px solid #333;
    box-shadow: 3px 3px #333;
    font-size: 1.4em;
    padding: 0 15px;
    margin-left: 50px;
    margin-bottom: 10px;
    line-height: 1.6em;
}
.question::before {
    content: "Q";
    font-weight: 600;
    font-size: 60px;
    font-family: "Affogato-Bold";
    position: absolute;
    left: -50px;
}

.answer {
    position: relative;
    font-size: 1.6em;
    color: red;
    font-weight: 600;
    margin-left: 50px;
    line-height: 1.6em;
    span {
        vertical-align: top;
        font-size: 0.8em;
        color: #2c2c2c;
    }
}

.answer::before {
    content: "A";
    font-weight: 600;
    font-size: 55px;
    font-family: "Affogato-Bold";
    position: absolute;
    left: -45px;
}

.answer_txt {
    margin-left: 50px;
    margin-bottom: 30px;
}

.img_box {
  margin-left: 20px;
}

.img_box P {
  margin: 20px auto 30px 30px;
  padding: 10px;
  background-color: #fff;
  border: 2px dotted red;
  transform: rotate(-10deg); 
  span {
    font-size: 1.2em;
    font-weight: 600;
  }
  
}

.prog_box {
  position: relative;
  width: 100%;
  margin: 50px auto;
  /*padding: 30px 0;*/
  border-radius: 3px;
  box-shadow: 0 2px 3px rgb(0 0 0 / 20%);
  background-color: #fff4ea;
  color: #333333;
}

.prog_box::before,
.prog_box::after {
  position: absolute;
  content: '';
}

.prog_box::before {
  top: -15px;
  left: 10px;
  height: 50px;
  width: 15px;
  border: 3px solid #999;
  border-radius: 10px;
  box-shadow: 1px 1px 2px rgb(0 0 0 / 30%);
  transform: rotate(-10deg);
}

.prog_box::after {
  top: 0;
  width: 10px;
  left: 20px;
  border: solid 5px #fff4ea;
}

.prog_ttl {
  font-weight: 600;
  font-size: 1.4em;
  text-align: center;
  padding: 30px 30px 0;
}

.prog_txt {
  padding: 10px 50px;
}

.fbox {
    display: flex;    
}

.half_box {
  width: 50%;
  margin: 10px 25px;
}

.lab_ttl {
  border: 1px solid red;
  background-color: #fff;
  padding: 5px 10px;
  text-align: center;
  border-radius: 50px;
  font-weight: 600;
  margin-bottom: 10px;
  span {
    font-size: 1.4em;
    color: red;
  }
}

.lab_txt span {
  font-weight: 600;
  color: red;
} 

.lab_list {
  font-weight: 600;
  color: red;
  text-decoration: underline dotted;
  padding-left: 1.3em;
  text-indent: -1.3em;
  margin: 20px 0;
}

.center_box {
  margin: 20px auto;
  text-align: center;
  img {
    width: 100%;
    max-width: 350px;
  }
}


/*モーションCSS*/
.bottom {
  transform: translateY(30px);
  opacity: 0;
  transition: opacity 1s, transform 0.5s;
}
.in {
  opacity: 1;
  transform: translateX(0);
  transform: translateY(0);
}
.in_mb {
  opacity: 1;
  transform: translateX(0);
  transform: translateY(0);
}

/*=================タブレット==============*/
@media screen and (max-width: 1024px){
    .qa_fbox {
      flex-direction: column;
    }

    .fbox {
      flex-direction: column;
      padding: 0 30px;
    }

    .half_box {
      width: 100%;
      margin: 20px auto;
    }

    .entrepreneur_header {
      background-position: center;
    }

    .entrepreneur_ttl {
      font-size: 35px;
      left: 5%;
    }

    .img_box {
      margin: 20px auto;
      position: relative;
      padding-right: 30%;
    }

    .img_box img {
        height: 300px;
        width: 300px;
        border-radius: 150px;
        object-fit: cover;
        object-position: top 10px left 30px;
        background-color: #e9efff;
    }

    .img_box P {
        position: absolute;
        top: 100px;
        left: 50%;
        white-space: nowrap;
    }

    .prog_ttl {
      text-align: left;
    }

    .prog_txt {
      padding: 10px 30px;
    }
}



/*=================スマホ==============*/
@media screen and (max-width: 599px){

    .entrepreneur_header {
        height: 250px;
        background-position: center;
    }

    .entrepreneur_ttl {
        left: 10px;
        margin-right: 10px;
        font-size: 1.6em;
        line-height: 1.2em;
        letter-spacing: -0.01em;
        bottom: 15px;
    }

    .entrepreneur_inner {
      padding: 0;
    }

    .title_box {
      flex-direction: column;
    }

    .start {
      width: 100%;
      height: 100%;
      padding: 10px;
      margin-left: 0;
      margin-bottom: 20px;
    }

    .start::after {
      top: 55%;
      right: auto;
      left: 50%;
      border-width: 20px 10px 0 10px;
      border-color: #585555 transparent transparent;
      translate: -50% 100%;
    }

    span.title {
        line-height: 1.2;
    }

    .qa_fbox {
      flex-direction: column;
    }

    .qa_box {
      padding: 20px 15px 20px 5px;
    }

    .qa_ttl {
      display: inline-block;
      text-align: center;
      white-space: nowrap;
      width: 100%;
      .red_b {
        display: inline-block;
        width: 90%;
        margin-bottom: 5px;
      }
    }


    .img_box {
    margin: 20px auto;
    position: relative;
    padding-right: inherit;
    }

    .img_box img {
    height: 300px;
    width: 300px;
    border-radius: 150px;
    object-fit: cover;
    object-position: top 20px left 20px;
    background-color: #f2f8ff;
    }

    .img_box P {
      position: absolute;
      bottom: -50px;
      right: -10px;
      top: auto;
      left: auto;
    }

    .fbox {
        flex-direction: column;
        padding: 0 10px;
    }

    .prog_ttl {
        padding: 40px 10px 0;
        line-height: 1.4em;
    }

    .prog_txt {
    padding: 10px 10px;
    }

}