@charset "UTF-8";

#keyvisual {
  min-width: 1000px;
  height: 398px;

  color: #fff;
  font-size: 30px;

  line-height: 398px;
  text-align: center;

  background-image:url(images/title_bg.jpg);
  background-position: center;
  background-repeat: no-repeat;
  background-size: cover;

  letter-spacing: 0.15em;
}

/*****************************
********** 実績一覧 **********
******************************/
.dealslist {
  font-size: 14px;
  background: #eee;
  padding: 40px;
  width: 920px;
  margin: 0 auto 40px;
}
.jouto{
  float: left;
  width: 41%;
}
.yuzuriuke {
  float: left;
  width: 41%;
}
.jouto {
  position: relative;
  padding-right: 18%;
}
.jouto:before {
  position: absolute;
  right: 8.5%;
  bottom: 50%;
  content: "株式譲渡";
  color: #fff;
  text-align: center;
  line-height: 50px;
  background-color: #666;
  height: 50px;
  width: 75px;
  padding-left: 6px;
  margin-bottom: -25px;
}
.jouto.hoka:before {
  content: "株式譲渡他";
}
.jouto.nado:before {
  content: "株式譲渡等";
}
.jouto.mbo:before {
  content: "MBO";
}
.jouto:after {
  position: absolute;
  content: "";
  width: 0;
  height: 0;
  border: 35px solid transparent;
  border-left: 20px solid #666;
  right: -1.5%;
  bottom: 50%;
  margin-bottom: -35px;
}

table {
  width: 100%;
  border-collapse: collapse;
}
table tr  {
  border-top: solid 1px #888;
}
table th  {
  color: #fff;
  letter-spacing: 0.1em;
  line-height: 1.5;
  padding: 15px;
  background: #666;
  vertical-align: middle;
  width: 6.8em;
}
.yuzuriuke table tr  {
  border-top: solid 1px #30aee7;
}
.yuzuriuke table th  {
  background: #00A0E9;
}
table td  {
  letter-spacing: 0.1em;
  line-height: 1.5;
  text-align: center;
  padding: 15px 10px;
  border-right: solid 1px #888;
}
.yuzuriuke table td {
    border-right: solid 1px #30aee7;
}
table td.campany  {
  font-weight: bold;
  font-size: 22px;
}
table td.area  {
  width: 5.5em;
}
table td:last-child  {
  border-right: 0;
}

.details {
  margin-top: 30px;
}
.detailsTxt  {
  float: left;
  letter-spacing: 0.1em;
  line-height: 1.5;
  padding: 20px 0 0 30px;
  display: none;
}
.detailsBtn {
  float: left;
  position: relative;
  color: #fff;
  font-size: 16px;
  font-weight: bold;
  letter-spacing: 0.1em;
  background: linear-gradient(to top, #00A0E9 0%, #0181CC 51%, #00A0E9 100%);
  background-size: auto 200%;
  padding: 20px 0 20px 39px;
  width: 86px;
  border-radius: 5px;
  transition: all .3s;
}
.detailsBtn:hover {
  cursor: pointer;
}
.detailsBtn.active {
  background-color: #0181CC;
  background-position: bottom center;
}
.detailsBtn:before {
  position: absolute;
  top: 20px;
  left: 15px;
  content: "＋";
}
.detailsBtn.active:before {
  left: 17px;
  content: "−";
}


@media screen and (max-width: 480px) {

#keyvisual {
  width: 100%;
  min-width: 320px;
  height: 200px;

  color: #fff;
  font-size: 20px;
  text-shadow: 0px 0px 5px #000;
  line-height: 1;
  text-align: center;

  background-image:url(images/title_bg_sp.jpg);
  background-position: bottom right;
  background-repeat: no-repeat;
  background-size: auto;
}

  #keyvisual p {
    position: relative;
    top: 50%;
    -webkit-transform: translateY(-50%); /* Safari用 */
    transform: translateY(-50%);
  }


.dealslist {
  width: 96%;
  padding: 40px 2%;
}

.jouto{
  float: none;
  width: 100%;
}
.yuzuriuke {
  float: none;
  width: 100%;
}
.jouto {
  padding-right: 0;
  margin-bottom: 130px;
}
.jouto:before {
  right: 50%;
  bottom: -80px;
  width: 100px;
  padding-left: 0;
  margin-bottom: 0;
  margin-right: -50px;
}
.jouto:after {
  border: 60px solid transparent;
  border-top: 20px solid #666;
  right: 50%;
  margin-right: -60px;
  bottom: -159px;;
  margin-bottom: 0;
}

table th  {
  width: 25%;
  padding: 15px;
  min-width: 6.8em;
}
table td  {
  padding: 10px;
}
table td.area  {
  width: auto;
  min-width: 4.7em;
}



.detailsBtn {
  float: none;
  margin: 0 auto;
}
.detailsTxt {
  float: none;
  padding: 20px 0 0 0;
}

}
