a{
  text-decoration:none;
}
a:link {
  color:#0048a2;
}
a:visited{
  color:#803DAA;
}
a:active {
  color:#17A2B2;
}
a:hover {
  position:relative;
  color:#17A2B2;
  text-decoration:underline;
}
a:hover img{
  position: relative;
  top: 0; left: 0;
}

.bold,
.bold *{
  font-weight: bold;
}

/* HAMBURGER */
.menu-trigger,
.menu-trigger span {
  display: inline-block;
  transition: all .4s;
  box-sizing: border-box;
}
.menu-trigger {
  position: relative;
  width: 30px;
  height: 26px;
}
.menu-trigger:hover{
  cursor: pointer;
}
.menu-trigger span {
  position: absolute;
  left: 0;
  width: 100%;
  height: 4px;
  background-color: #002063;
  border-radius: 4px;
}
.menu-trigger span:nth-of-type(1) {
  top: 0;
}
.menu-trigger span:nth-of-type(2) {
  top: 11px;
}
.menu-trigger span:nth-of-type(3) {
  bottom: 0;
}
.menu-trigger.active span:nth-of-type(1) {
  -webkit-transform: translateY(11px) rotate(-45deg);
  transform: translateY(11px) rotate(-45deg);
}
.menu-trigger.active span:nth-of-type(2) {
  opacity: 0;
}
.menu-trigger.active span:nth-of-type(3) {
  -webkit-transform: translateY(-11px) rotate(45deg);
  transform: translateY(-11px) rotate(45deg);
}

/* ヘッダー */
#header{
  position: fixed;
  width: 100%;
  z-index: 999;
}
header{
  background-color: #ffffff;
}
.header_in{
  width: 100%;
  padding:0.5rem;
  box-sizing: border-box;
  border-bottom: 3px solid #002063;
}
.header_wrapper{
  display: flex;
  justify-content: space-between;
  align-items: center;
  width: 100%;
  box-sizing: border-box;
}
.header_left{
  display: inline-block;
  width: 55%;
}
.sns_icon a,
.header_left a{
  display: inline-block;
}
.header_left img{
  max-height: 32px;
}
.header_right{
  width: 45%;
  display: flex;
  justify-content: flex-end;
  align-items: center;
}
.sns_icon{
  text-align: right;
  margin-right: 0.5rem;
}
.sns_icon img{
  width: 24px;
  height: 24px;
}

.header_menu{
  display: none;
  background: #002063;
}
.header_menu_in{
  padding: 0.5rem;
  line-height: 1.5;
  display: flex;
  flex-direction: column;
}
.header_menu_in ul{
  display: flex;
  flex-wrap: wrap;
}
.header_menu_in li{
  border: 1px solid #ffffff;
  box-sizing: border-box;
  width: calc((100% - 0.5rem) / 2);
}
.header_menu_in li:nth-child(odd){
  margin-right: 0.5rem;
}
.header_menu_in li:nth-child(n + 3){
  margin-top: 0.5rem;
}
.header_menu a{
  color: #ffffff;
  display: inline-block;
  width: 100%;
  padding: 0.5em 0;
  box-sizing: border-box;
  text-align: center;
}
.header_menu a:hover{
  text-decoration: none;
  background: rgba(255, 255, 255, 0.3);
}
.header_menu_bg{
  display: none;
}
.header_menu_bg.active{
  display: block;
  width: 100vw;
  height: 100vh;
  background: rgba(0,0,0,0.2);
  position: fixed;
  z-index: 998;
}

.yahoo{
  padding-top: 0 !important;
}
.yahoo div:first-child{
  font-size: 80%;
}
.yahoo *{
  line-height: 1.0 !important;
}
.yahoo_form dl{
  display: flex;
  align-items: center;
  width: 100%;
}
.yahoo_form dt{
  width: calc((100% - 47px) - 0.5rem);
}
.yahoo_form dt input[type="text"]{
  width: 100%;
  box-sizing: border-box;
  border: 1px solid #cacaca;
  padding: 0.3rem;
}
.yahoo_form dd{
  margin-left: 0.5rem;
}

/* コンテンツ */
#contents{
  padding-top: 60px;
}
.contents_in *{
  line-height: 1.5;
}
.yahoo,
.article > *,
.page_navi,
.footer{
  width: 100%;
  box-sizing: border-box;
  padding: 1rem 0.5rem;
}
.article > * > div + div{
  margin-top: 1rem;
}

.small_title{
  padding: 0.5rem;
  margin: 0.5rem 0;
  border-top: 5px solid #b08600;
  border-bottom: 5px solid #b08600;
  text-align: center;
}
.small_title p{
  color: #b08600;
  font-weight: bold;
}
.image_wrapper{
  display: flex;
  justify-content: center;
  flex-direction: column;
  text-align: center;
}
.image_wrapper img{
  display: inline-block;
  width: 80%;
  margin: 0 auto;
}
.image_wrapper * + *{
  margin-top: 0.5rem !important;
}
.image_wrapper + .image_wrapper{
  margin-top: 1rem;
}

.bg{
  background: #fff9eb;
}

.top > p.bold{
  border-top: 3px solid #000000;
  padding: 0.5rem 0;
  font-size: 16px;
  color: #000099;
}
.top > p:nth-child(2){
  border-top: 2px solid #c0c0c0;
  border-bottom: 2px solid #c0c0c0;
  padding: 0.3rem 0;
}
.name{
  font-size: 24px;
  padding-top: 0.5rem;
}
.sub_name{
  font-size: 20px;
  border-bottom: 2px dashed #000000;
  padding-bottom: 0.5rem;
}
.sub_name + p{
  margin-top: 0.3rem;
}
.video{
  position: relative;
  width: 100%;
  height: 0;
  padding-top: 60%;
  margin-top: 1rem;
}
.video iframe{
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
}

.company_info{
  margin: 0.5rem 0;
}
.company_info p{
  border-bottom: 1px solid #c0c0c0;
}
.company_info span{
  display: inline-block;
  width: 7em;
}

.writing{
  text-align: right;
}

.page_navi,
.footer{
  display: flex;
  justify-content: center;
  border-top: 1px solid #c0c0c0;
}
.page_navi > div + div{
  margin-left: 1rem;
}
.page_navi a{
  display: inline-block;
  text-align: center;
}

/* アカデミーユーザ紹介 */
.academy_title{
  position: relative;
  text-align: center;
}
.academy_title .bold{
  position: absolute;
  left: 50%;
  top: 63%;
  color: #5B2C90;
  transform: translateX(-50%);
}
.academy .bg{
  background: #f4f8e8;
}
.academy .small_title{
  border-top: 5px solid #419446;
  border-bottom: 5px solid #419446;
}
.academy .small_title p{
  color: #419446;
}
.academy_box{
  box-sizing: border-box;
  border: 5px solid #419446;
  padding: 0.5rem;
}
.academy_box_title{
  text-align: center;
  margin-bottom: 0.5rem;
}
.academy_box_title p:first-child{
  color: #429447;
}
.academy_box_article{
  margin-top: 0.5rem;
}

@media screen and (min-width: 501px){
  .image_wrapper img{
    width: 50%;
  }
  .yahoo,
  .article > *,
  .page_navi,
  .footer{
    padding: 0.5rem 1rem 1rem;
  }
}
