@charset "utf-8";

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

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

.transaction-inner {
  background-color: #fff;
  padding: 70px 45px;
  position: relative;
  height: 1100px;
  margin: 0;
}

.illust img {
  display: block;
  margin: 0 auto;
}

.transaction-head-txt {
  text-align: center;
  margin: 30px 0 40px;
}

.transaction-head-txt p:first-child {
  font-size: 18px;
  margin: 0 0 30px;
}

.transaction-head-txt p:last-child {
  width: 470px;
  margin: 0 auto;
  font-size: 24px;
  font-weight: 600;
  letter-spacing: 0.04em;
  background: linear-gradient(transparent 60%, #f4ab33 0%);
}

.transaction-foot-txt {
  text-align: center;
  border: 6px dotted #005e8d;
  padding: 23px 0;
  margin: 55px 0 0;
}

.transaction-foot-txt p {
  font-size: 24px;
  font-weight: 500;
  color: #005e8d;
  line-height: 1.4;
  letter-spacing: 0.05em;
}

.contents {
  margin: 100px 0 0;
}

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

.sell-group, .buy-group {
  border: 4px solid #005e8d;
  background-color: #f2f2f2;
  margin: 60px 0 0;
}

.buy-group {
  margin: 100px 0 0;
}

.buysell-group-title {
  text-align: center;
  padding: 10px 0 25px;
  background-color: #005e8d;
  color: #fff;
  font-size: 26px;
  line-height: 1.4;
}

.bauysell-group-title-main {
  font-size: 30px;
  vertical-align: bottom;
  font-weight: 600;
  letter-spacing: 0.05em;
}

.bauysell-group-title-main span {
  font-size: 40px;
  color: #f4ab33;
}

.buysell-group-inner {
  padding: 40px 45px;
}

.buysell-group-inner p {
  text-align: center;
}

.buysell-group-inner .pc {
  display: block;
  margin: 0 auto;
}

.buysell-group-inner .sp {
  display: none;
  margin: 0 auto;
}

.buysell-group-head, .buysell-group-foot {
  background-color: #fff;
  padding: 40px 0;
  margin: 0 0 40px;
}

.buysell-group-head p, .buysell-group-foot p {
  font-size: 26px;
  font-weight: 600;
  margin: 0 0 30px;
  letter-spacing: 0.03em;
}

.buysell-group-head span, .buysell-group-foot span {
  font-size: 21px;
  color: #005e8d;
}

.buysell-group-head .comment {
  text-align: center;
  font-size: 12px;
  font-weight: normal;
  margin: 20px 0 0;
}

.buysell-group-subtitle {
  font-size: 21px;
  font-weight: 600;
}

.buysell-group-subtitle img {
  margin: 0 auto 5px;
}

.sell-group .emphasis {
  font-size: 36px;
  font-weight: 600;
  letter-spacing: 0.05em;
}

.sell-group .emphasis span {
  color: #ba0822;
}

.sell-group-txt .main-txt {
  font-size: 18px;
  font-weight: 500;
  margin: 30px 0;
}

.sell-group-txt .main-txt span {
  color: #ba0822;
  background: linear-gradient(transparent 60%, #fff 0%);
  font-weight: 600;
}

.sell-group-txt .lead {
  font-size: 12px;
}

.buy-group-txt {
  background-color: #fff;
  padding: 40px 60px;
}

.buy-group-txt .main-txt {
  text-align: center;
  border: 6px dotted #005e8d;
  padding: 23px 0;
  margin: 35px 0 0;
}

.buy-group-txt .main-txt p {
  font-size: 18px;
  font-weight: 500;
}

.buy-group-txt .main-txt .icon {
  overflow: hidden;
  width: 750px;
  margin: 30px auto 0;
  color: #005e8d;
}

.buy-group-txt .main-txt .icon-unit {
  position: relative;
  width: 190px;
  height: 141px;
  margin: 0 30px;
  float: left;
}

.buy-group-txt .main-txt .icon-unit p {
  position: absolute;
  bottom: 0;
  font-size: 16px;
}

.buy-group-txt .main-txt .icon-unit:nth-child(2) p {
  left: 50%;
  transform: translateX(-50%);
  -webkit-transform: translateX(-50%);
  -ms-transform: translateX(-50%);
}

.buy-group-txt .main-txt .icon-unit:nth-child(3) p {
  left: 30%;
  transform: translateX(-20%);
  -webkit-transform: translateX(-20%);
  -ms-transform: translateX(-20%);
}

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

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

  .transaction-inner {
    background-color: #fff;
    padding: 70px 45px;
    position: unset;
    height: unset;
    margin: 0;
  }

  .illust img {
    display: block;
    margin: 0 auto;
  }

  .transaction-head-txt {
    text-align: center;
    margin: 30px 0 40px;
  }

  .transaction-head-txt p:first-child {
    font-size: 18px;
    margin: 0 0 30px;
  }

  .transaction-head-txt p:last-child {
    width: 100%;
    margin: 0 auto;
    font-size: 24px;
    font-weight: 600;
    letter-spacing: 0.04em;
    background: linear-gradient(transparent 60%, #f4ab33 0%);
  }

  .transaction-foot-txt {
    text-align: center;
    border: 6px dotted #005e8d;
    padding: 23px 0;
    margin: 55px 0 0;
  }

  .transaction-foot-txt p {
    font-size: 24px;
    font-weight: 500;
    color: #005e8d;
    line-height: 1.4;
    letter-spacing: 0.05em;
  }

  .contents {
    margin: 100px 0 0;
  }

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

  .contents .title img {
    width: 85%;
    display: block;
    margin: 0 auto;
  }

  .sell-group, .buy-group {
    border: 4px solid #005e8d;
    background-color: #f2f2f2;
    margin: 60px 0 0;
  }

  .buy-group {
    margin: 10% 0 0;
  }

  .buysell-group-title {
    text-align: center;
    padding: 10px 0 25px;
    background-color: #005e8d;
    color: #fff;
    font-size: 26px;
    line-height: 1.4;
  }

  .bauysell-group-title-main {
    font-size: 30px;
    vertical-align: bottom;
    font-weight: 600;
    letter-spacing: 0.05em;
  }

  .bauysell-group-title-main span {
    font-size: 40px;
    color: #f4ab33;
  }

  .buysell-group-inner {
    padding: 4%;
  }

  .buysell-group-inner p {
    text-align: center;
  }

  .buysell-group-inner .pc {
    display: block;
    margin: 0 auto;
    width: 90%;
  }

  .buysell-group-inner .sp {
    display: none;
    margin: 0 auto;
  }

  .buysell-group-head, .buysell-group-foot {
    background-color: #fff;
    padding: 7% 0;
    margin: 0 0 4%;
  }

  .buysell-group-head p, .buysell-group-foot p {
    font-size: 26px;
    font-weight: 600;
    margin: 0 0 30px;
    letter-spacing: 0.03em;
  }

  .buysell-group-head span, .buysell-group-foot span {
    font-size: 21px;
    color: #005e8d;
  }

  .buysell-group-head .comment {
    text-align: center;
    font-size: 12px;
    font-weight: normal;
    margin: 20px 0 0;
  }

  .buysell-group-subtitle {
    font-size: 21px;
    font-weight: 600;
  }

  .buysell-group-subtitle img {
    margin: 0 auto 5px;
  }

  .sell-group .emphasis {
    font-size: 36px;
    font-weight: 600;
    letter-spacing: 0.05em;
    line-height: 1.4;
  }

  .sell-group .emphasis span {
    color: #ba0822;
  }

  .sell-group-txt .main-txt {
    font-size: 18px;
    font-weight: 500;
    margin: 30px 0;
  }

  .sell-group-txt .main-txt span {
    color: #ba0822;
    background: linear-gradient(transparent 60%, #fff 0%);
    font-weight: 600;
  }

  .sell-group-txt .lead {
    font-size: 12px;
  }

  .buy-group-txt {
    background-color: #fff;
    padding: 4% 6%;
  }

  .buy-group-txt .main-txt {
    text-align: center;
    border: 6px dotted #005e8d;
    padding: 4%;
    margin: 2% 0 0;
  }

  .buy-group-txt .main-txt p {
    font-size: 16px;
    font-weight: 500;
  }

  .buy-group-txt .main-txt .tb {
    display: block;
  }

  .buy-group-txt .main-txt .icon {
    overflow: hidden;
    width: 100%;
    margin: 30px auto 0;
    color: #005e8d;
  }

  .buy-group-txt .main-txt .icon-unit {
    position: relative;
    width: 20%;
    height: unset;
    margin: 0 30px;
    float: left;
  }

  .buy-group-txt .main-txt .icon-unit p {
    position: absolute;
    bottom: 0;
    font-size: 16px;
  }

  .buy-group-txt .main-txt .icon-unit:nth-child(2) p {
    left: 0%;
    transform: translateX(0%);
    -webkit-transform: translateX(0%);
    -ms-transform: translateX(0%);
  }

  .buy-group-txt .main-txt .icon-unit:nth-child(3) p {
    left: 0%;
    transform: translateX(0%);
    -webkit-transform: translateX(0%);
    -ms-transform: translateX(0%);
  }
}

@media (max-width: 767px) {
  #buysell {
    width: 100%;
  }

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

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

  .transaction-inner {
    background-color: #fff;
    padding: 10% 5%;
    position: relative;
    height: unset;
    margin: 0;
  }

  .illust img {
    display: block;
    margin: 0 auto;
  }

  .transaction-head-txt {
    text-align: center;
    margin: 30px 0 40px;
  }

  .transaction-head-txt p:first-child {
    font-size: 12px;
    margin: 0 0 30px;
  }

  .transaction-head-txt p:last-child {
    width: 100%;
    margin: 0 auto;
    font-size: 16px;
    font-weight: 600;
    letter-spacing: 0.04em;
    background: linear-gradient(transparent 60%, #f4ab33 0%);
    display: inline;
  }

  .transaction-head-txt span {
    background: linear-gradient(transparent 60%, #f4ab33 0%);
    display: inline;
  }

  .transaction-foot-txt {
    text-align: center;
    border: 6px dotted #005e8d;
    padding: 5%;
    margin: 12% 0 0;
  }

  .transaction-foot-txt p {
    font-size: 15px;
    font-weight: 500;
    color: #005e8d;
    line-height: 1.4;
    letter-spacing: 0.05em;
  }

  .contents {
    width: 90%;
    margin: 15% auto 0;
  }

  .contents .title {
    text-align: center;
    font-size: 4.5vw;
    font-weight: 500;
    margin: 0 0 30px;
  }

  .contents .title img {
    width: 85%;
    display: block;
    margin: 0 auto;
  }

  .sell-group, .buy-group {
    border: 4px solid #005e8d;
    background-color: #f2f2f2;
    margin: 12% 0 0;
  }

  .buysell-group-title {
    text-align: center;
    padding: 3% 0;
    background-color: #005e8d;
    color: #fff;
    font-size: 4vw;
    line-height: 1.4;
  }

  .bauysell-group-title-main {
    font-size: 5.5vw;
    vertical-align: bottom;
    font-weight: 600;
    letter-spacing: 0.05em;
  }

  .bauysell-group-title-main span {
    font-size: 7vw;
    color: #f4ab33;
  }

  .buysell-group-inner {
    padding: 5%;
  }

  .buysell-group-inner p {
    text-align: center;
  }

  .buysell-group-inner .pc {
    display: none;
    margin: 0 auto;
  }

  .buysell-group-inner .sp {
    display: block;
    margin: 0 auto;
  }

  .buysell-group-head, .buysell-group-foot {
    background-color: #fff;
    padding: 8%;
    margin: 0 0 5%;
  }

  .buysell-group-head p, .buysell-group-foot p {
    font-size: 16px;
    font-weight: 600;
    margin: 0 0 5%;
    letter-spacing: 0.03em;
    line-height: 1.5;
  }

  .buysell-group-head span, .buysell-group-foot span {
    font-size: 13px;
    color: #005e8d;
  }

  .buysell-group-head .comment {
    text-align: center;
    font-size: 12px;
    font-weight: normal;
    margin: 20px 0 0;
  }

  .buysell-group-subtitle {
    font-size: 3.5vw;
    font-weight: 600;
  }

  .buysell-group-subtitle img {
    margin: 0 auto 5%;
  }

  .sell-group .emphasis {
    font-size: 6vw;
    font-weight: 600;
    letter-spacing: 0.05em;
    line-height: 1.4;
  }

  .sell-group .emphasis span {
    color: #ba0822;
  }

  .sell-group-txt .main-txt {
    font-size: 14px;
    font-weight: 500;
    margin: 5% 0;
  }

  .sell-group-txt .main-txt span {
    color: #ba0822;
    background: linear-gradient(transparent 60%, #fff 0%);
    font-weight: 600;
  }

  .sell-group-txt .lead {
    font-size: 12px;
  }

  .buy-group-txt {
    background-color: #fff;
    padding: 8%;
  }

  .buy-group-txt .main-txt {
    text-align: center;
    border: 4px dotted #005e8d;
    padding: 6%;
    margin: 5% 0 0;
  }

  .buy-group-txt .main-txt p {
    font-size: 12px;
    font-weight: 500;
    margin: 0 0 9%;
  }

  .buy-group-txt .main-txt .icon {
    overflow: hidden;
    width: 100%;
    margin: 9% 0 0;
    color: #005e8d;
  }

  .buy-group-txt .main-txt .icon-unit {
    position: unset;
    width: 90%;
    height: unset;
    margin: 0 auto 10%;
    float: none;
  }

  .buy-group-txt .main-txt .icon-unit img {
    width: 30%;
  }

  .buy-group-txt .main-txt .icon-unit:nth-child(2) img {
    width: 40%;
  }

  .buy-group-txt .main-txt .icon-unit p {
    position: unset;
    bottom: 0;
    font-size: 14px;
    margin: 4% 0 0;
  }

  .buy-group-txt .main-txt .icon-unit:nth-child(2) p {
    left: unset;
    transform: unset;
    -webkit-transform: unset;
    -ms-transform: unset;
  }

  .buy-group-txt .main-txt .icon-unit:nth-child(3) p {
    left: unset;
    transform: unset;
    -webkit-transform: unset;
    -ms-transform: unset;
  }
}
