/* 目的別詳細 */
.purpose.purpose-self {
  background-color: #fcf2f5;
}

.purpose.purpose-life {
  background-color: #faf6f0;
}

.purpose.purpose-hobby {
  background-color: #edf5f3;
}

.purpose.purpose-business {
  background-color: #f0f3fa;
}

.purpose_contents-title {
  width: 100%;
}
.purpose_contents-wrap {
  width: 100%;
  max-width: 650px;
  margin-left: auto;
  margin-right: auto;
  padding-top: 40px;
  display: grid;
  gap: 60px;
}

.purpose_contents-text {
  width: 100%;
}

@media screen and (max-width: 991px) {
  .purpose_contents-text {
    padding-left: 20px;
    padding-right: 20px;
  }
}

.purpose_contents-text .dashed-note {
  background-color: #fff; /* 背景色 */
  background-image: linear-gradient(90deg, transparent 0%, transparent 50%, #fff 50%, #fff 100%), /* 点線1の色 */ linear-gradient(180deg, #ccc 1px, transparent 1px); /* 点線2の色と太さ */
  background-size: 8px 100%, /* 点線1のサイズ */ 100% 2.5em; /* 点線2のサイズ */
  line-height: 2.5em; /* 文字の高さ */
  padding-bottom: 1px; /* 最終行の下にも罫線を引く */
}

.purpose_contents-text .dashed-note.purpose-self {
  background-color: #fcf2f5;
  background-image: linear-gradient(90deg, transparent 0%, transparent 50%, #fcf2f5 50%, #fcf2f5 100%), /* 点線1の色 */ linear-gradient(180deg, #ccc 1px, transparent 1px); /* 点線2の色と太さ */
}

.purpose_contents-text .dashed-note.purpose-life {
  background-color: #faf6f0;
  background-image: linear-gradient(90deg, transparent 0%, transparent 50%, #faf6f0 50%, #faf6f0 100%), /* 点線1の色 */ linear-gradient(180deg, #ccc 1px, transparent 1px); /* 点線2の色と太さ */
}

.purpose_contents-text .dashed-note.purpose-hobby {
  background-color: #edf5f3;
  background-image: linear-gradient(90deg, transparent 0%, transparent 50%, #edf5f3 50%, #edf5f3 100%), /* 点線1の色 */ linear-gradient(180deg, #ccc 1px, transparent 1px); /* 点線2の色と太さ */
}

.purpose_contents-text .dashed-note.purpose-business {
  background-color: #f0f3fa;
  background-image: linear-gradient(90deg, transparent 0%, transparent 50%, #f0f3fa 50%, #f0f3fa 100%), /* 点線1の色 */ linear-gradient(180deg, #ccc 1px, transparent 1px); /* 点線2の色と太さ */
}

.purpose_contents-text .dashed-note:first-child {
  background-position: 0px 0px, 0px -2.6em;
}

.purpose_contents-merit {
  width: 100%;
  background-color: #fff;
  border-radius: 10px;
  padding: 30px;
}

@media screen and (max-width: 991px) {
  .purpose_contents-merit {
    padding: 25px 20px;
  }
}

.purpose_contents-merit .title {
  width: 90%;
  max-width: 450px;
  margin-left: auto;
  margin-right: auto;
}

.purpose_contents-merit .items {
  width: 100%;
  margin-top: 30px;
  display: grid;
  grid-template-columns: repeat(2, 1fr);
}

@media screen and (max-width: 991px) {
  .purpose_contents-merit .items {
    grid-template-columns: 1fr;
    gap: 30px;
    max-width: 450px;
    margin-left: auto;
    margin-right: auto;
  }
}

.purpose_contents-merit .item {
  position: relative;
  width: 100%;
  padding: 20px;
}

@media screen and (max-width: 991px) {
  .purpose_contents-merit .item {
    padding: 0;
  }
}

.purpose_contents-merit .item:nth-child(2n)::after {
  content: '';
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  left: 0;
  width: 1px;
  height: 80%;
  background-color: #f2faf8;
}

@media screen and (max-width: 991px) {
  .purpose_contents-merit .item:nth-child(2n)::after {
    display: none;
  }
}

.purpose_contents-merit .item:nth-child(n + 3)::before {
  content: '';
  position: absolute;
  top: 0;
  left: 50%;
  transform: translateX(-50%);
  width: 80%;
  height: 1px;
  background-color: #f2faf8;
}

@media screen and (max-width: 991px) {
  .purpose_contents-merit .item:nth-child(n + 3)::before {
    display: none;
  }
}

.purpose_contents-merit .item-img {
  width: 100%;
  aspect-ratio: 590 / 250;
  overflow: hidden;
  border-radius: 5px;
}

.purpose_contents-merit .item-img img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.purpose_contents-merit .item-title {
  width: 100%;
  font-size: 18px;
  font-weight: bold;
  text-align: center;
  margin-top: 10px;
}

.purpose_contents-merit .self-title{
  color: #f66876;
}

.purpose_contents-merit .life-title{
  color: #e78318;
}

.purpose_contents-merit .hobby-title{
  color: #45bf97;
}

.purpose_contents-merit .business-title{
  color: #427aed;
}

.purpose_contents-merit .item-text {
  width: 100%;
  font-size: 14px;
  color: #505050;
  text-align: center;
  margin-top: 5px;
}

.purpose_list {
  margin-top: 80px;
}

@media screen and (max-width: 991px) {
  .purpose_list {
    margin-top: 30px;
  }
}

.purpose_list_title {
  width: 100%;
  max-width: 480px;
  margin-left: auto;
  margin-right: auto;
}

@media screen and (max-width: 991px) {
  .purpose_list_title {
    max-width: 230px;
  }
}

.purpose_list_title img {
  width: 100%;
}

.purpose_list_items {
  width: 100%;
  background-color: #facbd8;
  margin-top: 20px;
  padding: 20px 20px 45px;
}

@media screen and (max-width: 991px) {
  .purpose_list_items {
    background-color: initial !important;
    padding: 0;
  }
}

.purpose_list_items.purpose-self {
  background-color: #facbd8;
}

.purpose_list_items.purpose-life {
  background-color: #fbd388;
}

.purpose_list_items.purpose-hobby {
  background-color: #c6eade;
}

.purpose_list_items.purpose-business {
  background-color: #a8c0f2;
}

@media screen and (max-width: 991px) {
  .purpose_list_items {
    margin-top: 40px;
  }
}
