
/* -----------------------------
	委託販売ページ
  ----------------------------- */
:root {
    --consign-section-w: 60%;
    --consign-section-mar: 120px;
}

@media screen and (max-width: 1024px) {
    :root {
        --consign-section-w: 90%;
    }
}

@media screen and (max-width: 480px) {
    :root {
        --consign-section-w: 100%;
        --consign-section-mar: 40px;
    }
}


.consign-top {
	display: flex;
	width: var(--consign-section-w);
	    justify-content: center;
    /* 水平方向の中央寄せ */
    align-items: center;
    /* 垂直方向の中央寄せ */
    margin-left: auto;
    margin-right: auto;
	margin-top: 40px;
	height: auto;
}


.consign-top p {
	text-align: left;
	align-content: center;
	font-size: var(--res-p);
	margin-left: 20px;
}

.consign-section-mar {
	margin-top: var(--consign-section-mar);
}

.comparison {
	width: 70%;
	    justify-content: center;
    /* 水平方向の中央寄せ */
    align-items: center;
    /* 垂直方向の中央寄せ */
    margin-left: auto;
    margin-right: auto;
}

.comparison p {
	text-align: left;
	    justify-content: center;
    /* 水平方向の中央寄せ */
    align-items: center;
    /* 垂直方向の中央寄せ */
    margin-left: auto;
    margin-right: auto;
    
    text-align: center;
}

.comparison img {
	width: var(--consign-section-w);
}

.small-txt {
    font-size: var(--small-txt);
}

.consignment {
  background: linear-gradient(135deg, #ffffff 0%, #fcfdff 100%);
  border-radius: 1rem;
  padding: 3rem 2rem;
  box-shadow: 0 8px 20px rgba(0, 0, 0, 0.05);
  margin: 3rem auto;
  max-width: 900px;
  transition: all 0.3s ease;
  margin-top: var(--consign-section-mar);
}

.consignment-title {
  text-align: center;
  font-size: 1.8rem;
  font-weight: 600;
  color: #333;
  margin-bottom: 2rem;
  position: relative;
}

/* タイトル下にアクセントライン */
.consignment-title::after {
  content: "";
  display: block;
  width: 80px;
  height: 3px;
  background: #839ba5;
  margin: 1rem auto 0;
  border-radius: 3px;
}

.consignment-body {
  display: flex;
  align-items: flex-start;
  gap: 2rem;
  text-align: left;
}

.consignment-image img {
  width: 200px;
  height: auto;
  object-fit: contain;
}

.consignment-text {
  flex: 1;
  line-height: 1.8;
  color: #444;
  font-size: 1rem;
}

/* --- スマホ時の対応 --- */
@media (max-width: 488px) {
  .consignment-body {
    flex-direction: column;
    align-items: center;
    
  }

  .consignment-image {
    display: none; /* スマホでは画像を非表示 */
  }

  .consignment {
    padding: 2rem 1.5rem;
  }

  .consignment-title {
    font-size: 1.5rem;
  }

  .consignment-text {
    font-size: 0.95rem;
  }
}
