@charset "utf-8";

.em {
  color: #E2731C;
}

.text-edge {
  color: #000;
  text-shadow:1px 1px 0 #FFF, -1px -1px 0 #FFF,
              -1px 1px 0 #FFF, 1px -1px 0 #FFF,
              0px 1px 0 #FFF,  0-1px 0 #FFF,
              -1px 0 0 #FFF, 1px 0 0 #FFF;
}

.large {
  font-size: 24px;
}

.medium {
  font-size: 18px;
}

.small {
  font-size: 16px;
}

.bold {
  font-weight: bold;
}

.transparent {
  background-color: rgba(255, 255, 255, 0.45);
}

h1 {
  font-weight: bold;
}
h2 {
  text-align: left;
  font-size: 150%;
  padding: 10px 0;
}
.main h2:nth-of-type(n+2) {
  margin-top: 20px;
}
.block {
  padding: 50px 0;
}

.btn-primary {
  padding: 20px 40px;
  font-size: 20px;
}
.btn-primary > span {
  background: #fff;
  color: #E2731C;
  padding: 5px;
  border-radius: 4px;
  margin-right: 10px;
}

.main.about {
  padding-top:0;
  background: #fff;
}
.mv {
  background-image: url("../img/about_mv.jpg");
  background-size: cover;
  height: auto;
  margin-bottom: 50px;
}

.mv > .transparent {
  padding: 40px 0;
}
.mv h2 {
  font-size: 22px;
  line-height: 1.6;
}
.mv p {
  font-size: 16px;
  line-height: 1.6;
  color: #000;
  text-shadow: 1px 1px 0 #ddd, -1px -1px 0 #ddd, -1px 1px 0 #ddd, 1px -1px 0 #ddd, 0px 1px 0 #ddd, 0-1px 0 #ddd, -1px 0 0 #ddd, 1px 0 0 #ddd;
}
.mv ul {
  color: #000;
  text-shadow: 1px 1px 0 #ddd, -1px -1px 0 #ddd, -1px 1px 0 #ddd, 1px -1px 0 #ddd, 0px 1px 0 #ddd, 0-1px 0 #ddd, -1px 0 0 #ddd, 1px 0 0 #ddd;
}
.merit img {
  width: 60%;
  border-radius: 30%;
  margin: auto;
  border: 10px solid #ddd;
}

.system h3 {
  margin-top: 100px;
  margin-bottom: 40px;
  line-height: 1.6;
}

.howto h3 {
  margin-bottom: 30px;
}
.howto h3 span{
  background: #E2731C;
  color: #fff;
  border-radius: 50%;
  padding: 10px 15px;
}
.howto > .row {
  margin-bottom: 30px;
}
.howto img {
  border-radius: 10px;
  margin: auto;
}

.flow h3 {
  background: #E2731C;
  border-radius: 20px;
  text-align: center;
  color: #fff;
  padding: 10px;
  font-size: 100%;
}
.flow img {
  border-radius: 50%;
  width: 140px;
  border: 5px solid #eee;
  margin: 10px auto;
}
.flow .flow-item {
  padding: 20px;
  position: relative;
}
.flow .flow-item::after {
  content: "";
  position: absolute;
  right:-20px;
  top:50%;
  border-top: 20px solid transparent;
  border-bottom: 20px solid transparent;
  border-left: 20px solid #E2731C;
}
.flow > .row div:last-child > .flow-item::after {
  display:none;
}

.advisor {
  padding: 0;
  margin-bottom: 40px;
  position: relative;
  background: #eee;
  border: 1px solid #ccc;
  border-radius: 20px;
}
.advisor > p {
  position: absolute;
  top: -50px;
  padding-left: 170px;
}
.advisor > p::before {
  content: "";
  position: absolute;
  left: 120px;
  top: -10px;
  width: 20px;
  height: 30px;
  background: #ed2a99;
}
.advisor > p::after {
  content: "";
  position: absolute;
  left: 110px;
  top: 20px;
  border-top: 20px solid #ed2a99;
  border-right: 20px solid transparent;
  border-left: 20px solid transparent;
}
.advisor .advisor-item img {
  width: 140px;
  margin: 10px auto;
}
.advisor .advisor-item h3 {
  text-align: center;
}
.advisor .advisor-item {
  padding: 20px;
  position: relative;
}
.advisor .advisor-item::after {
  content: "";
  position: absolute;
  right:-20px;
  top:50%;
  border-top: 20px solid transparent;
  border-bottom: 20px solid transparent;
  border-left: 20px solid #ed2a99;
}
.advisor > .row div:last-child > .advisor-item::after {
  display:none;
}



.case h2 {
  margin-bottom: 40px;
}
.case .case-item {
  background: #eee;
  padding: 40px;
  margin-bottom: 20px;
}

.case img {
  width: 100%;
  height: auto;
  object-fit: contain;
  border-radius: 50%;  
}
.case .img + p{
  font-weight: bold;
  color: #7b4004;
  padding-top: 5px;
  padding-left: 10px;
  margin-bottom: 20px;
}
.case .case-salary  {
  margin: 30px auto 0;
  width: 240px;
}
.case .case-salary p > span {
  font-size: 20px;
  font-weight: bold;
}
.case .case-before {
  float: left;
  position: relative;
  background: #fff;
  color: #888;
  width: 110px;
  height: 100px;
  padding: 35px 0 0 30px;
}
.case .case-before::after {
  content: "";
  position: absolute;
  right:-20px;
  top:0;
  border-top: 50px solid transparent;
  border-bottom: 50px solid transparent;
  border-left: 20px solid #fff;
}
.case .case-after {
  float: left;
  width: 130px;
  height: 100px;
  padding: 35px 0 0 40px;
  background: #f3dbb2;
  color: #ba5a11;
}
.qa h2 {
  margin-bottom: 40px;
}
.qa .panel-heading:hover {
  opacity: 0.6;
}
.qa .panel-heading {
  cursor: pointer;
  position: relative;
  padding-right: 27px;
}
.qa .panel-heading > .glyphicon {
  position: absolute;
  right: 10px;
  top: 15px;
  color: #666;
}
.qa .panel-body {
  display: none;
}
.qa .panel-body p > a{
  color: #7b4004;
}

@media (min-width: 1200px) {
}
@media (min-width: 993px) and (max-width: 1119px) { 
}
@media (min-width: 768px) and (max-width: 992px) { 
  .mv {
    background-position: 1000px;
  }
  .flow .flow-item {
    height: 300px;
  }
  .advisor .advisor-item::after {
    right: 30px;
  }
}
@media (max-width: 767px) {
  .btn-primary {
    padding: 20px;
    font-size: 16px;
  }
  .main {
    padding-left: 0;
    padding-right: 0;
  }
  .mv {
    background-position: 700px;
    margin-bottom: 10px;
  }
  h1 {
    font-size: 24px;
  }
  .mv h2 {
    font-size: 18px;
  }
  .mv p {
    font-size: 14px;
  }
  .block {
    padding: 10px 0;
  }
  .merit img {
    width: 40%;
  }
  .system h3 {
    margin-top: 20px;
    margin-bottom: 20px;
  }
  .howto img {
    width: 50%;
  }
  .flow .flow-item {
    padding: 10px 20px;
  }
  .flow .flow-item::after {
    border-right: 20px solid transparent;
    border-top: 20px solid #e2731c;
    border-left: 20px solid transparent;
    top: unset;
    right: unset;
    bottom: -40px;
    left: calc(50% - 20px);    
  }
  .advisor {
    margin-top: 80px;
  }

  .advisor .advisor-item {
    padding: 10px 20px;
  }  
  .advisor .advisor-item::after {
    border-right: 20px solid transparent;
    border-top: 20px solid #ed2a99;
    border-left: 20px solid transparent;
    top: unset;
    right: unset;
    bottom: -40px;
    left: calc(50% - 20px);    
  }
  .advisor > p {
    top: -60px;
    padding-left: 80px;
  }
  .advisor > p::before {
    left: 40px;
    top: -10px;
  }
  .advisor > p::after {
    left: 30px;
  }


}
