@charset "UTF-8";
@import url("root.css");

/***************************************
------------- TOP MAIN IMG -------------
***************************************/
#mv {
  width: 100%;
  height: auto;
  max-height: 600px;
  background: url(../img/main_bg.webp) no-repeat;
  background-position: top center;
  background-size: cover;
  display: flex;
  align-items: center;
  justify-content: center;
  .mv_wrap {
    position: relative;
    width: min(100%, 1500px);
    height: min(100%, 600px);
    margin: auto;
  }
  .container img {
    display: block;
    z-index: 2;
    width: min(100%, 1066px);
    aspect-ratio: 1066/456;
    object-fit: contain;
    margin: 6.7% auto 2.9%;
    position: relative;
  }
}
img.mv_item_l {
  position: absolute;
  top: 0;
  left: 0;
  width: auto;
  height: 100%;
  aspect-ratio: 550/600;
  object-fit: contain;
}
img.mv_item_r {
  position: absolute;
  top: 0;
  right: 0;
  width: auto;
  height: 100%;
  aspect-ratio: 530/600;
  object-fit: contain;
}
@media (max-width: 599px) {
  #mv {
    max-height: auto;
    .top_img_sp {
      margin-top: 65px;
    }
  }
}

/***************************************
------------- NEWS -------------
***************************************/
#news {
  margin-bottom: clamp(50px, 10vw, 100px);
}
.news_wrap {
  width: 94%;
  margin: auto;
}
.news_list {
  width: 100%;
  display: flex;
  flex-wrap: nowrap;
  align-items: flex-start;
  dt a,
  dd a {
    width: fit-content;
    display: flex;
    flex-shrink: 0;
    font-size: 1.8rem;
  }
  dd a:hover {
    text-decoration: underline;
  }
}
.news_list:not(:last-of-type) {
  padding-bottom: 2rem;
  border-bottom: 2px dotted #999;
  margin-bottom: 2rem;
}

@media (max-width: 599px) {
  .news_list {
    flex-wrap: wrap;
    dt {
      width: 100%;
      margin-bottom: 1rem;
    }
    dd {
      width: 100%;
    }
  }
}

/***************************************
------------- GREETING -------------
***************************************/
#greeting {
  width: 100%;
  padding: clamp(50px, 10vw, 100px) 0;
  background: url(../img/contents_bg01.webp) repeat;
  position: relative;
  z-index: -1;
}
#greeting::before {
  content: "";
  position: absolute;
  display: block;
  background: url(../img/contents_bg04.webp) no-repeat;
  background-position: top center;
  background-size: contain;
  width: clamp(150px, 33vw, 340px);
  height: auto;
  aspect-ratio: 340/150;
  object-fit: cover;
  top: 0;
  right: 2.5%;
  transform: translate(0, -50%);
  z-index: -1;
}
#greeting::after {
  content: "";
  position: absolute;
  display: block;
  background: url(../img/contents_bg02.webp) no-repeat;
  background-position: top center;
  background-size: contain;
  width: clamp(250px, 50vw, 550px);
  height: auto;
  aspect-ratio: 550/320;
  object-fit: cover;
  bottom: -5%;
  left: 10%;
  transform: translate(-50%, 0);
  z-index: -1;
}

#greeting h2 {
  font-size: min(6.4vw, 4.8rem);
  font-weight: 700;
  color: var(--base-color01);
  width: 100%;
  text-align: left;
  padding-bottom: 2rem;
  border-bottom: 2px solid var(--base-color01);
  margin-bottom: min(10vw, 5rem);
}

#greeting .contents_wrap {
  display: flex;
  flex-wrap: nowrap;
  gap: 5%;
  align-items: flex-start;
}
.greeting_img {
  flex-shrink: 0;
  width: calc(100% / 3);
}
.greeting_txt {
  flex-shrink: 1;
}
@media (max-width: 599px) {
  #greeting .contents_wrap {
    flex-wrap: wrap;
  }
  .greeting_img {
    flex-shrink: 0;
    width: 100%;
    margin: 0 auto clamp(15px, 3vw, 30px);
    text-align: center;
  }
  .greeting_txt {
    flex-shrink: 0;
    width: 100%;
  }
}

/***************************************
------------- 買取実績 -------------
***************************************/
#result {
  margin-bottom: clamp(50px, 10vw, 100px);
}
#result .desc {
  text-align: center;
  margin: 0 auto clamp(15px, 3vw, 30px);
}
#result .contents_wrap {
  display: flex;
  flex-wrap: wrap;
  align-items: flex-start;
  gap: clamp(25px, 5vw, 50px) 2%;
}
.result_box {
  width: calc(94% / 4);
}
.result_box .result_img img {
  aspect-ratio: 5 / 3;
  object-fit: cover;
  width: 100%;
  height: auto;
  display: block;
}
.txt_wrap p.cat {
  width: 100%;
  background: #333;
  padding: 5px;
  text-align: center;
  font-size: 1.4rem;
  color: #fff;
  font-weight: 700;
  margin: 0;
}
.txt_wrap .date {
  text-align: right;
  width: 100%;
  justify-content: flex-end;
  margin: 10px 0;
  line-height: 1;
}
@media (max-width: 768px) {
  .result_box {
    width: calc(96% / 3);
  }
  #result .desc {
    text-align: left;
  }
}
@media (max-width: 599px) {
  .result_box {
    width: calc(98% / 2);
  }
}
/***************************************
------------- 買取品目 -------------
***************************************/
#itemlist {
  width: 100%;
  background: url(../img/contents_bg01.webp) repeat;
  position: relative;
  z-index: -1;
}
#itemlist::before {
  content: "";
  position: absolute;
  display: block;
  background: url(../img/contents_bg04.webp) no-repeat;
  background-position: top center;
  background-size: contain;
  width: clamp(150px, 33vw, 340px);
  height: auto;
  aspect-ratio: 340/150;
  object-fit: cover;
  top: 0;
  right: 2.5%;
  transform: translate(0, -50%);
}
#itemlist::after {
  content: "";
  position: absolute;
  display: block;
  background: url(../img/contents_bg02.webp) no-repeat;
  background-position: top center;
  background-size: contain;
  width: clamp(250px, 50vw, 550px);
  height: auto;
  aspect-ratio: 550/320;
  object-fit: cover;
  bottom: -5%;
  left: 10%;
  transform: translate(-50%, 0);
  z-index: -1;
}

#itemlist .midashi_ttl {
  margin: 0 auto;
  padding: clamp(50px, 10vw, 100px) 0 clamp(35px, 7vw, 70px);
}

#itemlist .contents_wrap {
  display: flex;
  flex-wrap: wrap;
  align-items: flex-start;
  gap: clamp(25px, 5vw, 50px) 2%;
  padding-bottom: clamp(50px, 10vw, 100px);
}
.itemlist_box {
  width: calc(92% / 5);
}
.itemlist_box p {
  text-align: center;
}
@media (max-width: 768px) {
  .itemlist_box {
    width: calc(96% / 3);
  }
}

@media (max-width: 599px) {
  .itemlist_box {
    width: calc(98% / 2);
  }
}
/***************************************
------------- 査定方法 -------------
***************************************/

#method .desc {
  text-align: center;
  margin: 0 auto clamp(15px, 3vw, 30px);
}

#method .contents_wrap {
  display: flex;
  flex-wrap: wrap;
  align-items: flex-start;
  gap: clamp(25px, 5vw, 50px) 5%;
  justify-content: center;
}
.method_box {
  width: calc(95% / 2);
}
.method_txt {
  margin-top: clamp(10px, 2vw, 20px);
}
.method_box p {
  text-align: center;
}
.method_txt a {
  width: clamp(200px, 50vw, 240px);
  background: linear-gradient(90deg, var(--base-color01) 30%, #4545b0);
  color: #fff;
  font-size: clamp(1.4rem, 2vw, 1.6rem);
  line-height: 1;
  margin: clamp(10px, 2vw, 20px) auto;
  padding: 10px 20px 13px 10px;
  display: flex;
  align-items: center;
  justify-content: center;
  border-radius: 4px;
  position: relative;
}
.method_txt a::after {
  content: "";
  position: absolute;
  display: block;
  background: url(../img/svg/icn_arw_right_gd.svg) no-repeat;
  background-position: top center;
  background-size: contain;
  width: 10px;
  height: auto;
  aspect-ratio: 10 / 14;
  object-fit: cover;
  top: 50%;
  right: min(10%, 20px);
  transform: translate(-50%, -50%);
}

@media (max-width: 768px) {
  #method .desc {
    text-align: left;
  }
}

@media (max-width: 599px) {
  .method_box {
    width: 100%;
  }
}
.method_line,
.method_clean {
  width: 100%;
}

.method_line.method_line01 {
  width: 50%;
}

@media (max-width: 768px) {
  .method_line.method_line01 {
    width: 100%;
  }
}
