@charset "utf-8";

/* CSS Document */
h4 {
  font-size: 26px;
  font-weight: 600;
  letter-spacing: 0.04em;
  line-height: 1.4;
}

.moraie-txt-large {
  font-size: 34px;
  color: #ba0822;
}

.transaction {
  width: 900px;
  background: #f2f2f2;
  padding: 50px;
  margin: 40px auto 0;
}

.transaction-inner {
  position: relative;
  height: 558px;
  margin: 0;
}

.transaction-head {
  margin: 0 0 50px;
}

.transaction-head tr {
  display: table;
  width: 900px;
}

.transaction-head th {
  display: table-cell;
  width: 216px;
  margin: 0 0 50px;
  background-color: #f4ab33;
  font-size: 21px;
  color: #fff;
  text-align: center;
  font-weight: 600;
  line-height: 1.3;
  letter-spacing: 0.07em;
  vertical-align: middle;
  border-top-left-radius: 20px;
  border-bottom-left-radius: 20px;
}

.transaction-head th::after {
  content: "";
  position: absolute;
  width: 0;
  height: 0;
  border-style: solid;
  border-width: 25px 0 25px 42px;
  border-color: transparent transparent transparent #f4ab33;
  top: 55px;
  left: 200px;
}

.transaction-head th span {
  font-size: 33px;
}

.transaction-head td {
  vertical-align: middle;
  font-size: 20px;
  font-weight: 600;
  color: #000;
  line-height: 1.3;
  letter-spacing: 0.05em;
  padding: 17px 0 17px 50px;
  background-color: #fff;
}

.transaction-head td span {
  font-size: 34px;
  color: #ba0822;
}

.transaction-foot {
  background-color: #fff;
  padding: 50px 0;
}

.transaction-foot-img img {
  display: block;
  margin: 0 auto;
}

.transaction-foot-img .sp {
  display: none;
}

.title {
  text-align: center;
  font-size: 30px;
  font-weight: 600;
  margin: 0 0 20px;
}

.moraie-point {
  padding: 60px 0;
  margin: 0 0 55px;
  width: 100%;
  background-color: #f4ab33;
}

.point {
  width: 1000px;
  margin: 0 auto;
}

.point-wrap {
  display: block;
  overflow: hidden;
  padding: 0 25px;
}

.point-unit {
  width: 285px;
  height: 233px;
  margin: 70px 0 0 0;
  background-color: #f8cd85;
  border-radius: 25px;
  position: relative;
  float: left;
  text-align: center;
}

.point-unit:nth-child(2) {
  margin: 70px 47px 0;
}

.point-unit-inner {
  transform: translateY(-70px);
}

.point-icon {
  margin: 0 0 30px;
}

.point-unit:nth-child(3) .point-icon {
  margin: 0 0 17px;
}

.point-icon img {
  vertical-align: bottom;
}

.point-txt {
  font-size: 23px;
  font-weight: 600;
  letter-spacing: normal;
  line-height: 1.4;
}

.point-txt-red {
  color: #ba0822;
}

.point-txt-small {
  font-size: 11px;
  font-weight: 500;
  margin: 2px 0 7px;
}

.point-txt-btn {
  font-size: 15px;
  font-weight: 500;
  color: #000;
  background-color: #fff;
  border: 3px solid #000;
  border-radius: 40px;
  padding: 5px 27px;
  transition: .3s;
}

.point-txt-btn:hover {
  color: #fff;
  background-color: #000;
  border: 3px solid #000;
  transition: .3s;
}

.cash {
  border: 10px solid #f4ab33;
  border-radius: 20px;
  padding: 70px 0;
  position: relative;
}

.cash::before {
  content: '';
  display: inline-block;
  width: 144px;
  height: 166px;
  position: absolute;
  top: -85px;
  right: -45px;
  background-image: url(../img/moraie-icon04.svg);
  background-size: contain;
  vertical-align: middle;
}

.cash-title {
  font-size: 33px;
  font-weight: 600;
  text-align: center;
  line-height: 1.3;
  letter-spacing: normal;
  margin: 0 0 20px;
}

.cash-title span {
  font-size: 45px;
}

.cash-title-red {
  color: #ba0822;
}

.cash-line {
  display: block;
  margin: 0 auto;
}

.cash-txt {
  font-size: 25px;
  font-weight: 600;
  text-align: center;
  line-height: 1.6;
  margin: 20px 0 0;
}

.triangle {
  width: 0;
  height: 0;
  border-style: solid;
  border-width: 40px 60px 0 60px;
  border-color: #005e8d transparent transparent transparent;
  margin: 42px auto;
}

.buysell-btn {
  width: 712px;
  margin: 0 auto;
  font-size: 38px;
  font-weight: 600;
  color: #005e8d;
  border: #005e8d solid 10px;
  border-radius: 70px;
  padding: 15px 0;
  text-align: center;
  transition: .3s;
}

.buysell-btn:hover {
  color: #fff;
  background-color: #005e8d;
  border: #005e8d solid 10px;
  transition: .3s;
}

@media (max-width: 1023px) {
  h4 {
    font-size: 21px;
    font-weight: 600;
    letter-spacing: 0.04em;
    line-height: 1.4;
    text-align: center;
  }

  .moraie-txt-large {
    font-size: 30px;
    color: #ba0822;
  }

  .transaction {
    width: 92%;
    background: #f2f2f2;
    padding: 4%;
    margin: 6% auto;
  }

  .transaction-inner {
    position: unset;
    height: unset;
    margin: 0;
  }

  .transaction-head {
    margin: 0 0 4%;
  }

  .transaction-head table {
    width: 100%;
  }

  .transaction-head tr {
    display: table;
    width: 100%;
  }

  .transaction-head th {
    display: table-cell;
    position: relative;
    width: 23%;
    margin: 0 0 50px;
    background-color: #f4ab33;
    font-size: 18px;
    line-height: 1.3;
    color: #fff;
    text-align: center;
    font-weight: 600;
    letter-spacing: 0.07em;
    vertical-align: middle;
    border-top-left-radius: 20px;
    border-bottom-left-radius: 20px;
  }

  .transaction-head th::after {
    content: "";
    position: absolute;
    width: 0;
    height: 0;
    border-style: solid;
    border-width: 25px 0 25px 30px;
    border-color: transparent transparent transparent #f4ab33;
    top: 50%;
    left: 0%;
    transform: translateY(-50%);
    -webkit-transform: translateY(-50%);
    -ms-transform: translateY(-50%);
    left: 90%;
  }

  .transaction-head th span {
    font-size: 27px;
  }

  .transaction-head td {
    vertical-align: middle;
    font-size: 16px;
    font-weight: 600;
    color: #000;
    line-height: 1.3;
    letter-spacing: normal;
    padding: 3% 0 3% 3.8%;
    background-color: #fff;
  }

  .transaction-head td span {
    font-size: 24px;
    color: #ba0822;
  }

  .transaction-head td .tb {
    display: block;
  }

  .transaction-foot {
    background-color: #fff;
    padding: 8% 0;
  }

  .transaction-foot-img img {
    display: block;
    margin: 0 auto;
    width: 90%;
  }

  .transaction-foot-img .sp {
    display: none;
  }

  .title {
    text-align: center;
    font-size: 4.5vw;
    font-weight: 600;
    margin: 0;
  }

  .title img {
    width: 70%;
  }

  .moraie-point {
    padding: 5% 0;
    margin: 0;
    width: 100%;
  }

  .point {
    width: 100%;
    margin: 0 auto;
  }

  .point-wrap {
    display: flex;
    overflow: hidden;
    padding: 0 7%;
  }

  .point-unit {
    width: 32%;
    height: unset;
    display: block;
    margin: 7% 0 3%;
    padding: 0 1.5%;
    background-color: #f8cd85;
    border-radius: 25px;
    position: relative;
    float: left;
    text-align: center;
  }

  .point-unit:nth-child(2) {
    margin: 7% 1.8% 3%;
  }

  .point-unit-inner {
    transform: translateY(-30px);
  }

  .point-icon {
    margin: 0 0 5%;
  }

  .point-unit:nth-child(3) .point-icon {
    margin: 0 0 5%;
  }

  .point-icon img {
    vertical-align: bottom;
    width: 35%;
  }

  .point-txt {
    font-size: 18px;
    font-weight: 600;
    letter-spacing: normal;
    line-height: 1.7;
  }

  .point-txt-red {
    color: #ba0822;
  }

  .point-txt-small {
    font-size: 10px;
    font-weight: 500;
    margin: 2% 0 7%;
  }

  .point-txt-btn {
    font-size: 14px;
    font-weight: 500;
    color: #000;
    background-color: #fff;
    border: 3px solid #000;
    border-radius: 40px;
    padding: 4% 12%;
    transition: .3s;
  }

  .point-txt-btn:hover {
    color: #fff;
    background-color: #000;
    border: 3px solid #000;
    transition: .3s;
  }

  .cash {
    border: 10px solid #f4ab33;
    border-radius: 20px;
    padding: 6% 0 2%;
    position: relative;
  }

  .cash::before {
    content: '';
    display: inline-block;
    width: 100px;
    height: 115px;
    position: absolute;
    top: -14%;
    right: -3%;
    background-image: url(../img/moraie-icon04.svg);
    background-size: contain;
    vertical-align: middle;
  }

  .cash-title {
    font-size: 21px;
    font-weight: 600;
    text-align: center;
    line-height: 1.6;
    letter-spacing: normal;
    margin: 0 0 20px;
  }

  .cash-title span {
    font-size: 28px;
  }

  .cash-title-red {
    color: #ba0822;
  }

  .cash-line {
    display: block;
    margin: 0 auto;
    width: 90%;
  }

  .cash-txt {
    font-size: 18px;
    font-weight: 600;
    text-align: center;
    line-height: 1.6;
    margin: 0;
    padding: 3%;
  }

  .triangle {
    width: 0;
    height: 0;
    border-style: solid;
    border-width: 40px 10vw 0 10vw;
    border-color: #005e8d transparent transparent transparent;
    margin: 6% auto
  }

  .buysell-btn {
    width: 95%;
    margin: 0 auto;
    font-size: 22px;
    font-weight: 600;
    color: #005e8d;
    border: #005e8d solid 10px;
    border-radius: 70px;
    padding: 15px 0;
    text-align: center;
    transition: .3s;
  }

  .buysell-btn:hover {
    color: #fff;
    background-color: #005e8d;
    border: #005e8d solid 10px;
    transition: .3s;
  }
}

@media (max-width: 767px) {
  h4 {
    width: 90%;
    margin: 3% auto 0;
    font-size: 4.3vw;
    font-weight: 500;
    letter-spacing: initial;
    line-height: 1.8;
    text-align: center;
  }

  .moraie-txt-large {
    font-weight: 600;
    font-size: 7.3vw;
    color: #ba0822;
    line-height: 1.5;
  }

  .transaction {
    width: 90%;
    background: #f2f2f2;
    padding: 10% 5%;
    margin: 15% auto 0;
  }

  .transaction-inner {
    position: relative;
    height: unset;
    margin: 0;
  }

  .transaction-head {
    margin: 0 0 4%;
  }

  .transaction-head table {
    width: 100%;
  }

  .transaction-head tr {
    display: block;
    width: 100%;
  }

  .transaction-head th {
    display: block;
    position: relative;
    width: 100%;
    margin: 0 0 9%;
    padding: 3% 0;
    background-color: #f4ab33;
    font-size: 16px;
    line-height: 1.3;
    color: #fff;
    text-align: center;
    font-weight: 600;
    letter-spacing: 0.07em;
    vertical-align: middle;
    border-radius: 20px;
  }

  .transaction-head th::after {
    content: "";
    position: absolute;
    bottom: -18%;
    top: unset;
    left: 50%;
    transform: translateX(-50%);
    -webkit-transform: translateX(-50%);
    -ms-transform: translateX(-50%);
    z-index: 0;
    width: 0;
    height: 0;
    border-style: solid;
    border-width: 20px 7vw 0 7vw;
    border-color: #f4ab33 transparent transparent transparent;
  }

  .transaction-head th span {
    font-size: 26px;
  }

  .transaction-head td {
    display: block;
    width: 100%;
    font-size: 17px;
    text-align: center;
    font-weight: 600;
    color: #000;
    line-height: 1.5;
    letter-spacing: 0.08em;
    padding: 5% 0;
    background-color: #fff;
  }

  .transaction-head td span {
    font-size: 23px;
    color: #ba0822;
  }

  .transaction-foot {
    background-color: #fff;
    padding: 8% 0;
  }

  .transaction-foot-img img {
    display: block;
    margin: 0 auto;
    width: 90%;
  }

  .transaction-foot-img .sp {
    display: block;
  }

  .transaction-foot-img .pc {
    display: none;
  }

  .title {
    text-align: center;
    font-size: 4.5vw;
    font-weight: 600;
    margin: 0 0 8%;
  }

  .title img {
    width: 77%;
  }

  .moraie-top, .moraie-point {
    padding: 15% 0;
    margin: 0;
    width: 100%;
  }

  .point {
    width: 100%;
    margin: 0 auto;
  }

  .point-wrap {
    display: block;
    overflow: hidden;
    padding: 0 10%;
  }

  .point-unit {
    width: 100%;
    height: unset;
    display: block;
    margin: 15% auto 8%;
    background-color: #f8cd85;
    border-radius: 25px;
    position: relative;
    float: left;
    text-align: center;
  }

  .point-unit:nth-child(2) {
    margin: 15% 0 8% 0;
  }

  .point-unit:nth-child(3) {
    margin: 15% 0 0 0;
  }

  .point-unit-inner {
    transform: translateY(-40px);
  }

  .point-icon {
    margin: 0 0 5%;
  }

  .point-unit:nth-child(3) .point-icon {
    margin: 0 0 5%;
  }

  .point-icon img {
    vertical-align: bottom;
    width: 35%;
  }

  .point-txt {
    font-size: 23px;
    font-weight: 600;
    letter-spacing: normal;
    line-height: 1.7;
  }

  .point-txt-red {
    color: #ba0822;
  }

  .point-txt-small {
    font-size: 11px;
    font-weight: 500;
    margin: 1% 0 3%;
  }

  .point-txt-btn {
    font-size: 15px;
    font-weight: 500;
    color: #000;
    background-color: #fff;
    border: 3px solid #000;
    border-radius: 40px;
    padding: 5px 27px;
    transition: .3s;
  }

  .point-txt-btn:hover {
    color: #fff;
    background-color: #000;
    border: 3px solid #000;
    transition: .3s;
  }

  .cash {
    border: 10px solid #f4ab33;
    border-radius: 20px;
    padding: 17% 0 6%;
    position: relative;
  }

  .cash::before {
    content: '';
    display: inline-block;
    width: 70px;
    height: 81px;
    position: absolute;
    top: -14%;
    left: 50%;
    transform: translateX(-50%);
    -webkit-transform: translateX(-50%);
    -ms-transform: translateX(-50%);
    right: 0;
    background-image: url(../img/moraie-icon04.svg);
    background-size: contain;
    vertical-align: middle;
  }

  .cash-title {
    font-size: 18px;
    font-weight: 600;
    text-align: center;
    line-height: 1.6;
    letter-spacing: normal;
    margin: 0 0 20px;
  }

  .cash-title span {
    font-size: 24px;
  }

  .cash-title-red {
    color: #ba0822;
  }

  .cash-line {
    display: block;
    margin: 0 auto;
    width: 90%;
  }

  .cash-txt {
    font-size: 16px;
    font-weight: 600;
    text-align: center;
    line-height: 1.6;
    margin: 0;
    padding: 5%;
  }

  .triangle {
    width: 0;
    height: 0;
    border-style: solid;
    border-width: 40px 15vw 0 15vw;
    border-color: #005e8d transparent transparent transparent;
    margin: 10% auto;
  }

  .buysell-btn {
    width: 95%;
    margin: 0 auto;
    font-size: 22px;
    font-weight: 600;
    color: #005e8d;
    border: #005e8d solid 10px;
    border-radius: 70px;
    padding: 15px 0;
    text-align: center;
    transition: .3s;
  }

  .buysell-btn:hover {
    color: #fff;
    background-color: #005e8d;
    border: #005e8d solid 10px;
    transition: .3s;
  }
}
