@charset "utf-8";

/* ----------------------------------------
	purchase.css
---------------------------------------- */

.h1-wrapper {
  padding-top: 12rem;
  position: relative;
  overflow: hidden;
}

.h1-wrapper::before {
  content: attr(data-en);
	position: absolute;
	top: 34%;
	left: -2%;
  z-index: -2;
	color: #E1F3E2;
	font-size: 15rem;
	font-family: "ZCOOL XiaoWei", sans-serif;
  font-weight: 400;
  line-height: 0;
  white-space: nowrap;
}

.h1-ttl {
  margin: 0 20% 2rem 20%;
}

.h1-ttl h1 {
  font-size: 1.5rem;
  font-weight: bold;
  margin-left: 1.5rem;
}

.h1-content {
  background-color: #39b54a;
  display: flex;
  justify-content: center;
  align-items: center;
  padding: 8rem 20%;
}

.h1-content p {
  color: #fff;
}

.h1-content-ttl {
  font-size: 1.3rem;
  font-weight: bold;
  text-align: center;
  margin-bottom: 2rem;
}

#metals,
#scraps,
#cables {
  background-color: #F2F2F2;
  padding: 8rem 15%;
}

#special-metals,
#precious-metals,
#boards {
  padding: 8rem 15%;
}

#purchase h2 {
  font-size: 1.5rem;
  margin-bottom: 4rem;
}

#purchase h2 span {
  color: #39b54a;
  font-family: "ZCOOL XiaoWei", sans-serif;
  font-size: 3rem;
  font-weight: 400;
  margin-right: 1rem;
}

.purchase-item-content {
  display: flex;
  align-items: center;
  gap: 6rem;
}

#metals .purchase-item-content {
  margin-bottom: 4rem;
}

#metals .purchase-item-content:last-of-type {
  margin-bottom: 0;
}

.purchase-item-content figure {
  flex: 1;
}

.purchase-item-content-text {
  flex: 1;
}

.purchase-item-content figure {
  display: flex;
}

.purchase-item-content figcaption {
  margin-left: 0.5rem;
}

.purchase-item-content figcaption p {
  font-family: "ZCOOL XiaoWei", sans-serif;
  font-size: 1.5rem;
  writing-mode: vertical-rl;
}

#purchase .fa-circle:before {
  color: #39b54a;
  padding-left: 1rem;
}

.purchase-item-content-text-ttl {
  font-size: 1.5rem;
  margin-bottom: 1rem;
}

/* 画面幅1180px以下：タブレット対応 */
@media screen and (max-width:1180px) {
  .h1-wrapper {
    padding-top: 8rem;
  }

  .h1-wrapper::before {
    font-size: 10rem;
    top: 32%;
  }

  .h1-content {
    padding: 4rem 15%;
  }

  .h1-ttl {
    margin: 0 15% 2rem 15%;
  }

  #metals,
  #scraps,
  #cables {
    padding: 8rem 6%;
  }

  #special-metals,
  #precious-metals,
  #boards {
    padding: 8rem 6%;
  }
}

/* 画面幅767px以下：スマホ対応 */
@media screen and (max-width:767px) {
  .h1-wrapper {
    padding-top: 4rem;
  }

  .h1-wrapper::before {
    font-size: 8rem;
    top: 24%;
  }

  .h1-content {
    padding: 4rem 6%;
  }

  .h1-ttl {
    margin: 0 6% 2rem 6%;
  }
  
  .purchase-item-content {
    display: block;
  }

  #metals,
  #scraps,
  #cables {
    padding: 4rem 6%;
  }

  #special-metals,
  #precious-metals,
  #boards {
    padding: 4rem 6%;
  }

  .purchase-item-content figure div {
    margin-bottom: 1rem;
  }
}

/* 画面幅575px以下：スマホ対応 */
@media screen and (max-width:575px) {
  .h1-wrapper::before {
    font-size: 6rem;
    top: 31%;
  }

  .h1-content {
    padding: 2rem 1rem;
  }

  .h1-ttl {
    margin: 0 1rem 3rem 1rem;
  }

  .h1-ttl h1 {
    font-size: 1.2rem;
  }

  .h1-content-ttl {
    font-size: 1.2rem;
    text-align: left;
    margin-bottom: 1rem;
  }

  #metals,
  #scraps,
  #cables {
    padding: 4rem 1rem;
  }

  #special-metals,
  #precious-metals,
  #boards {
    padding: 4rem 1rem;
  }

  #purchase h2 span {
    font-size: 2rem;
  } 

  #purchase h2 {
    font-size: 1.2rem;
    margin-bottom: 2rem;
  }

  #purchase .fa-circle:before {
    color: #39b54a;
    padding-left: 0.75rem;
  }

  .purchase-item-content figcaption p {
    font-size: 1.2rem;
  }

  .purchase-item-content-text-ttl {
    font-size: 1.2rem;
    font-weight: bold;
  }
}

/* 画面幅375px以下：スマホ対応 */
@media screen and (max-width:375px) {
  .h1-wrapper::before {
    font-size: 4rem;
    top: 28%;
  }
}
