@charset "utf-8";

.bg_wrap {
  width: 100%;
  margin: 0;
  padding: 0;
  background: #fffadb;
}
.top_bnr {
  width: 100%;
  margin: 0 auto clamp(25px, 10vw, 50px);
}
.worries_wrap {
  width: 100%;
  margin: auto;
  .list_check {
    width: 100%;
    padding: clamp(2rem, 4vw, 4rem);
    background: #fffadb;
    display: flex;
    flex-wrap: wrap;
    gap: min(1.5vw, 2rem);
    li {
      width: 100%;
      display: flex;
      align-items: center;
      padding-bottom: 0.25em;
      border-bottom: 2px dotted #000;
    }
    li::before {
      content: "";
      display: block;
      width: auto;
      height: 1em;
      aspect-ratio: 20/17;
      margin-right: 0.5em;
      background: url(../img/check_pink_1.svg) no-repeat bottom left / contain;
    }
  }
}

.decluttering_block {
  width: 100%;
  display: flex;
  flex-direction: row-reverse;
  flex-wrap: nowrap;
  gap: min(2.5vw, 30px);
  figure {
    flex-shrink: 0;
    width: min(32.5%, 390px);
  }
  .block_text {
    width: min(65%, 780px);
  }
}
.decluttering_block:nth-of-type(1) {
  padding-bottom: clamp(25px, 10vw, 50px);
  border-bottom: 2px dotted #000;
  margin-bottom: clamp(25px, 10vw, 50px);
}
.step {
  width: 100%;
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  .step_img {
    flex-shrink: 0;
    width: min(32.5%, 390px);
  }
  .step_txt {
    width: min(65%, 780px);
  }
}
.step:not(:last-of-type) {
  margin-bottom: clamp(25px, 10vw, 50px);
}
.step h4 {
  width: 100%;
  display: flex;
  align-items: center;
  margin-bottom: 30px;
  font-size: 24px;
  font-weight: 600;
  padding: 0 10px 6px;
  border-bottom: 2px solid #333;
}
.step h4 span {
  color: #333;
  background: #fff100;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  padding: 5px 5px;
  margin-right: 10px;
  margin-top: 0px;
  width: 60px;
  height: 60px;
  font-size: 1.6rem;
  border-radius: 6px 6px 6px 6px;
  font-weight: normal;
  line-height: 1.1;
}
.step h4 span::after {
  counter-increment: number 1;
  content: "" counter(number) "";
  font-size: 160% !important;
}

.step .area {
  margin-top: clamp(2rem, 4vw, 4rem);
  padding: clamp(2rem, 4vw, 4rem);
  background: #fff;
  p {
    padding-bottom: 0.5em;
    border-bottom: 2px dotted #333;
    margin-bottom: 0.5em;
  }
}

strong {
  font-weight: bold;
  color: var(--base-color04);
}

@media (max-width: 768px) {
  .decluttering_block {
    flex-wrap: wrap;
    figure {
      width: 100%;
      margin: auto;
      flex-shrink: initial;
    }
    .block_text {
      width: 100%;
    }
  }
  .step {
    .step_img {
      width: 100%;
      margin: 1em auto 0;
    }
    .step_txt {
      width: 100%;
    }
  }
}

@media screen and (max-width: 599px) {
  .step h4 {
    width: 100%;
    display: flex;
    align-items: center;
    flex-direction: column;
    margin-bottom: 10px;
    font-size: 20px;
  }
  .step h4 span {
    display: flex;
    flex-direction: row;
    align-items: center;
    justify-content: center;
    padding: 5px 5px;
    margin-right: auto;
    margin-bottom: 10px;
    margin-top: 10px;
    width: 100%;
    height: auto;
  }
}

.reason {
  display: flex;
  flex-wrap: nowrap;
  width: 100%;
  justify-content: space-between;
}
.reason_box {
  display: flex;
  flex-direction: column;
  justify-content: flex-start;
  width: calc(25% - (5% / 3));
  .reason_img {
    flex-shrink: 0;
    width: 80%;
    margin: auto;
    aspect-ratio: 1/1;
  }
  dt {
    font-size: 1.2em;
    margin-top: 0.5em;
    text-align: center;
    font-weight: bold;
    padding-bottom: 0.25em;
    border-bottom: 2px solid #333;
    margin-bottom: 0.25em;
  }
  dd {
    flex-grow: 1;
  }
}
@media (max-width: 768px) {
  .reason {
    flex-wrap: wrap;
    row-gap: 2em;
  }
  .reason_box {
    width: calc(50% - (5% / 2));
  }
}

.case h4 {
  font-size: 1.5em;
  font-weight: bold;
  text-align: center;
  margin: 1em auto;
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: center;
  span {
    display: block;
    width: 100%;
    font-size: 0.5em;
  }
}
.case h4::after {
  content: "";
  display: block;
  width: min(10%, 50px);
  height: 4px;
  margin: 1em auto 0;
  background: var(--base-color01);
}
.case_wrap {
  width: 100%;
}

.case_box {
  width: 100%;
  padding: 1em;
  background: #fffadb;
  border-radius: 12px;
  display: grid;
  justify-content: space-between;
  row-gap: 1em;
  column-gap: 1em;
  grid-template-columns: 40% 1fr;
  grid-template-rows: 2fr 3fr 3fr;
  grid-template-areas:
    "a b"
    "a c"
    "a d";
}
.case_img {
  grid-area: a;
}
.case_data {
  grid-area: b;
}
.case_calc {
  grid-area: c;
}
.case_price {
  grid-area: d;
}

.case_box:not(:last-of-type) {
  margin-bottom: min(10vw, 30px);
}

.case_img {
  position: relative;
  display: flex;
  justify-content: space-between;
  width: 100%;
  .before,
  .after {
    width: 47.5%;
    position: relative;
    span {
      position: absolute;
      bottom: 0;
      left: 0;
      display: flex;
      width: 100%;
      font-size: 1em;
      line-height: 1;
      padding: 0.25em 0 0.4em;
      background: var(--base-color01);
      align-items: center;
      justify-content: center;
      text-align: center;
    }
  }
  img {
    width: 100%;
    height: 100%;
    max-height: 600px;
    object-fit: cover;
  }
}
.case_img::after {
  content: "";
  display: block;
  width: 15%;
  height: 20%;
  background: var(--base-color04);
  clip-path: polygon(0 0, 0 100%, 100% 50%);
  position: absolute;
  top: 50%;
  left: 50%;
  z-index: 1;
  transform: translate(-50%, -50%);
}

.case_data {
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  dl {
    width: 31.5%;
    background: #fff;
    border-radius: 8px;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    dt {
      font-size: 1em;
      line-height: 1;
      text-align: center;
    }
    dd {
      font-size: 1.5em;
      line-height: 1;
      text-align: center;
      margin-top: 0.25em;
    }
  }
}

.case_calc {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 0.25em;
  width: 100%;
  background: #fff;
  border-radius: 8px;
  font-size: 1.8em;
  p {
    font-size: 1em;
    line-height: 1;
    text-align: center;
    display: flex;
    flex-direction: column;
    justify-content: center;
    span {
      font-size: 0.5em;
      line-height: 1;
      display: block;
      width: 100%;
    }
  }
}

.case_price {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 100%;
  padding: 1em;
  background: #fff;
  border-radius: 8px;
  p {
    font-size: 2.4em;
    line-height: 1;
    font-weight: bold;
    color: var(--base-color04);
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    align-items: flex-end;
    span.ttl {
      display: block;
      width: 100%;
      text-align: center;
      margin: auto;
      color: #333;
      font-size: 0.5em;
      font-weight: normal;
    }
  }
}

span.small {
  font-size: 0.5em;
  font-weight: inherit;
  margin-bottom: -5px;
}

@media (max-width: 768px) {
  .case_img::after {
    width: min(15vw, 60px);
    height: min(15vw, 60px);
  }
  .case_box {
    grid-template-columns: 1fr;
    grid-template-rows: 5fr 2fr 2fr 2fr;
    grid-template-areas:
      "a"
      "b"
      "c"
      "d";
  }
}

.case-list {
  list-style: none;
  padding: 0;
  margin: 0;
}

.case-card {
  display: flex;
  flex-wrap: wrap;
  background: #fff;
  border-radius: 16px;
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.1);
  margin-bottom: 2rem;
  overflow: hidden;
  border: 1px solid #eee;
}

.case-images {
  flex: 1 1 300px;
  display: flex;
  flex-direction: column;
  padding: 1rem;
  gap: 1rem;
  background-color: #fafafa;
}

.case-images .label {
  font-size: 0.75rem;
  font-weight: bold;
  color: #888;
  margin-bottom: 0.25rem;
}

.case-images img {
  width: 100%;
  border-radius: 8px;
  object-fit: cover;
}

.case-details {
  flex: 1 1 300px;
  padding: 1rem 1.5rem;
  display: flex;
  flex-direction: column;
  justify-content: center;
  gap: 1.5rem;
}

.case-info {
  display: flex;
  justify-content: space-between;
  text-align: center;
  font-size: 0.9rem;
  color: #333;
}

.case-pricing {
  display: flex;
  flex-wrap: wrap;
  gap: 1rem;
}

.price-box {
  flex: 1 1 30%;
  padding: 0.75rem;
  border-radius: 10px;
  text-align: center;
  background: #f5f5f5;
}

.price-box .label {
  font-size: 0.75rem;
  color: #666;
}

.price-box .value {
  font-size: 1.2rem;
  font-weight: bold;
  margin-top: 0.25rem;
}

.price-box.sale {
  background: #e0f7e9;
  color: #2e7d32;
}

.price-box.fee {
  background: #fff8e1;
  color: #ef6c00;
}

.price-box.receive {
  background: #fce4ec;
  color: #d81b60;
}

/* モバイル対応 */
@media (max-width: 768px) {
  .case-card {
    flex-direction: column;
  }

  .case-info {
    flex-direction: column;
    gap: 0.5rem;
  }

  .case-pricing {
    flex-direction: column;
  }

  .price-box {
    flex: 1 1 100%;
  }
}

/* 20250620 */
.case-summary-list {
  display: flex;
  justify-content: center;
  gap: 2rem;
  width: 100%;
  margin: 2rem 0;
}

.case-summary-card {
  background: #fff;
  border-radius: 8px;
  box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
  padding: 1.5rem;
  width: 48%;
  border: 4px solid #fff100;
}

.case-info-list,
.case-price-list {
  list-style: none;
  font-size: clamp(1.2rem, 1.7vw, 2rem);
  padding: 0;
  margin: 0 0 1rem;
}

.case-price-list .case-price-item {
  display: flex;
  padding: 0.5rem 0;
  border-bottom: 1px dashed #ddd;
  font-size: clamp(1rem, 1.5vw, 1.8rem);
  align-items: center;
}

.case-price-list .total {
  font-weight: bold;
  font-size: clamp(1.5rem, 2vw, 2.5rem);
  margin-top: 0.5rem;
}

.case-price {
  font-weight: bold;
}

.case-price.plus {
  color: #28a745;
}

.case-price.minus {
  color: #d6336c;
}

.case-price-item .icon {
  margin-right: 0.5em;
  font-size: 1.2em;
  color: #888;
  vertical-align: middle;
}

@media (max-width: 768px) {
  .case-info-list,
  .case-price-list {
    font-size: clamp(1.2rem, 3vw, 4rem);
  }

  .case-price-list .case-price-item {
    font-size: clamp(1.6rem, 2.5vw, 2.8rem);
  }

  .case-price-list .total {
    font-size: clamp(1.8rem, 3vw, 3.5rem);
  }
  .case-summary-list {
    flex-direction: column;
  }
  .case-summary-card {
    width: 100%;
  }
}
