@charset "utf-8";

/* ----------------------------------------
	business.css
---------------------------------------- */
#business {
  padding-top: 90px;
}

/* 事業内容 intro */
.business-intro-text {
  position: relative;
  margin-top: 8rem;
  padding: 8rem 20%;
  border-radius: 30px;
  background-color: #3067d1;
  overflow: hidden;
}

.business-intro-text p {
  color: #fff;
}

.business-intro-text-ttl {
  font-size: 2rem;
  font-weight: bold;
  margin-bottom: 1rem;
}

/* loop-text */
.loop-text {
  position: absolute;
  top: 50%;
  left: 0;
  width: 100%;
  overflow: hidden;
  transform: translateY(-50%);
  white-space: nowrap;
  pointer-events: none;
}

.loop-text p {
  display: inline-block;
  font-family: "Montserrat", sans-serif;
  font-size: 10rem;
  font-weight: bold;
  color: rgba(255,255,255,0.05);
  padding-right: 4rem;
  animation: loop-scroll 180s linear infinite;
}

/* アニメーション */
@keyframes loop-scroll {
  0%   { transform: translateX(0); }
  100% { transform: translateX(-100%); }
}

/* 画面幅1180px以下 */
@media screen and (max-width: 1180px) {
  .business-intro-text {
    padding: 8rem 6%;
  }

  .business-intro-text-ttl {
    font-size: 1.5rem;
  }
}

/* 画面幅767px以下 */
@media screen and (max-width: 767px) {
  .business-intro-text {
    margin-top: 4rem;
    padding: 4rem 6%;
    border-radius: 15px;
  }

  .business-intro-text-ttl {
    font-size: 1.3rem;
  }
}

/* 画面幅575px以下 */
@media screen and (max-width: 575px) {
  .business-intro-text-ttl {
    font-size: 1.2rem;
  }
}

/* 非鉄金属の分類 */
#metal-type {
  margin: 8rem 15%;
}

#metal-type figure {
  background-image: url(../images/metal_type_bg.webp);
  background-repeat: no-repeat;
  background-size: cover;
  background-position: center;
  padding: 2rem;
  text-align: center;
  margin-bottom: 4rem;
  border-radius: 20px;
  box-shadow: 0 3px 10px rgba(0, 0, 0, 0.1);
}

.metal-type-container {
  margin: 0 10%;
}

#metal-type li:not(:last-child) {
  margin-bottom: 4rem;
}

#metal-type li p i {
  color: #3067d1;
}

#metal-type li p:first-child {
  font-weight: 700;
  margin-bottom: 1rem;
}

#metal-type li p:nth-child(n+2) {
  line-height: 2;
  margin-left: 1.5rem;
  margin-bottom: 0.75rem;
}

/* 画面幅1180px以下 */
@media screen and (max-width: 1180px) {
  #metal-type {
    margin: 8rem 6%;
  }

  .metal-type-container {
    margin: 0;
  }

  #metal-type li p:nth-child(n+2) {
    margin-left: 0;
  }
}

/* 画面幅767px以下 */
@media screen and (max-width: 767px) {
  #metal-type {
    margin: 4rem 6%;
  }

  #metal-type figure {
    border-radius: 15px;
  }
}

/* 画面幅575px以下 */
@media screen and (max-width: 575px) {
  #metal-type {
    margin: 4rem 1rem;
  }
}

/* 主な取扱品目 */
#metal-items {
  margin: 8rem 15%;
}

.metal-items-container {
  margin: 0 10%;
}

/* table design */
table {
	width: 100%;
	border-collapse: collapse;
}

table th,td {
	padding: 1rem 2rem;
}

table th {
	background: #eaf0fa;
	width: 30%;
	border: 1px solid #2589d0;
}

table td {
	border: 1px solid #bac7cc;
}

/* 画面幅1180px以下 */
@media screen and (max-width: 1180px) {
  #metal-items {
    margin: 8rem 6%;
  }

  .metal-items-container {
    margin: 0;
  }
}

/* 画面幅767px以下 */
@media screen and (max-width: 767px) {
  #metal-items {
    margin: 4em 6%;
  }

  table th,td {
		width: auto;
		display: block;
	}

  table th {
    border-bottom: none;
  }

  table td {
    border-top: none;
    border-right: 1px solid #3067d1;
    border-bottom: none;
    border-left: 1px solid #3067d1;
  }

  table tr:last-child td {
    border-bottom: 1px solid #3067d1;
  }
}

/* 画面幅575px以下 */
@media screen and (max-width: 575px) {
  #metal-items {
    margin: 4em 1rem;
  }
}