@charset "utf-8";

/* 私たちの考え */
.box .text{
  line-height: 1.7;
  color: #4d4d4d;
  margin-bottom: 50px;
}
.box .text:first-of-type{
  font-size: 20px;
  font-weight: bold;
  margin: 150px 0 10px;
}
.box .sign p:nth-child(3){
  margin-bottom: 10px;
}
.box .sign p:last-child{
  font-size: 16px;
}
.box .sign p:not(:nth-child(2)){
  text-indent: -.5em;
}
.box .text:nth-of-type(7){
  margin-bottom: 10px;
}
.box .text:last-of-type{
  margin-bottom: 90px;
}
.box .photo{
  width: 60vw;
  margin: 0  auto 156px;
}
.box .photo img{
  width: 100%;
}

/* プロフィール */
.profile{
  margin-bottom: 170px;
}
.profile .subtitle{
  font-size: 20px;
  font-weight: bold;
  margin-bottom: 70px;
  border-bottom: .6px solid #4d4d4d;
  width: 6em;
  padding-bottom: 10px;
}
.profile .prphoto{
  width: 40vw;
  min-width: 315px;
  margin-right: 20px;
}
.profile .prphoto img{
  width: 100%;
}
.profile .flex .right{
  color: #4d4d4d;
}
.profile .flex .right .name{
  font-size: 24px;
  font-weight: bold;
  color: #333;
  margin-bottom: 32px;
}
.profile .flex .right .egname{
  font-size: 20px;
  margin-left: 49px;
}
.profile .flex .right dl .year{
  font-weight: bold;
  float: left;
  clear: left;
}
.profile .flex .right dl .ex{
  margin-left: 148px;
}
.profile .flex .right dl .career{
  line-height: 1.5;
  margin-bottom: 26px;
}
.profile .flex .right dl .career:last-child{
  margin-bottom: 72px;
}
main .profile .flex .right .license li{
  margin-bottom: 16px;
}
.profile .flex .right .license li:last-child{
  margin-bottom: 0;
}

@media screen and (max-width: 768px) {
  
  .photo,main .profile .flex .right{
    width: auto;
  }
  .profile{
    margin-bottom: 150px;
  }
  .profile .prphoto{
    width: auto;
    min-width: auto;
    margin: 0 0 60px 0;
  }
  .inner{
    width: 90vw;
  }
  .box .text{
    margin-bottom: 33px;
  }
  .box .sign p{
    font-size: 18px;
  }
  .box .sign p:last-child{
    font-size: 15px;
  }
  .box .text:first-of-type{
    margin-top: 0;
  }
  .box .text:nth-of-type(2), main .box .text:nth-of-type(3){
    margin-bottom: 60px;
  }
  .box .text:nth-of-type(3) p{
    margin-bottom: 10px;
  }
  .box .text:nth-of-type(6){
    margin-bottom: 70px;
  }
  .box .text:nth-of-type(7),main .box .text:last-of-type{
    font-weight: bold;
  }
  .box .photo{
    width: 90vw;
    margin: 0  auto 170px;
  }
  .profile .subtitle{
    font-size: 18px;
    margin-bottom: 34px;
  }
  .profile .flex .right .name{
    font-size: 24px;
    margin-bottom: 32px;
  }
  .profile .flex .right .egname{
    margin-left: 27px;
  }
  .profile .flex .right dl{
    margin-bottom: 70px;
  }
  .profile .flex .right .license li{
    margin-bottom: 14px;
  }
}

