@import url("https://fonts.googleapis.com/css2?family=Klee+One:wght@400;600&display=swap");
@import url("https://fonts.googleapis.com/css2?family=Noto+Serif+JP:wght@500;700&display=swap");
.ly_cont {
  margin: 0 auto;
  width: 1088px;
  padding: 0;
}
.ly_cont_img {
  line-height: 0;
}
.ly_img {
  line-height: 0;
}
.ly_img img {
  width: 100%;
  height: 280px;
  object-fit: cover;
}

body#matching {
  background-color: #201B1B;
}

#matching .content_header {
  margin: 140px auto 120px;
  display: flex;
  flex-direction: column;
  row-gap: 30px;
}
#matching .content_header_ttl_en {
  font-weight: 400;
  margin: 0;
  font-size: 46px;
  line-height: 62px;
}
#matching .content_header h1 {
  font-weight: 400;
  margin: 0;
  font-size: 24px;
  line-height: 32px;
}

body#history {
  background-color: #F5EDDF;
}

#history .content {
  padding-top: 0;
}
#history .content_header {
  background-color: #EBDABB;
  position: relative;
  line-height: 0;
  margin-bottom: 85px;
}
#history .content_header h1 {
  position: absolute;
  top: 62%;
  width: 100%;
  font-family: "Noto Serif JP";
  font-weight: 500;
  font-size: 40px;
  text-align: center;
  color: #695944;
}
#history .content_header img {
  width: 100%;
  max-width: 1366px;
  object-fit: cover;
}

.un_matching_content p {
  margin: 0;
  padding: 80px 92px;
  text-align: left;
}
.un_matching_question {
  margin-bottom: 1.3em;
  display: block;
  font-weight: 500;
  text-align: left;
  font-size: 24px;
  color: #a49300;
}
.un_matching_list_area {
  background: url("../images/matching/pattern-matching-bg.svg");
  padding: 80px 0;
  display: flex;
  justify-content: center;
  color: #FFF;
}
.un_matching_list_area_wrapper {
  background-color: #201B1B;
}
.un_matching_list_area_inner {
  width: 1088px;
  max-width: 90%;
}
.un_matching_list_area h2 {
  margin: 0;
  height: 75px;
  background: #362E2E;
  display: flex;
  justify-content: center;
  align-items: center;
  font-weight: 700;
  font-size: 24px;
  letter-spacing: 0.1em;
}
.un_matching_list_area ol {
  display: flex;
  flex-direction: column;
  row-gap: 10px;
  margin: 0;
  padding: 40px;
  background: #655B5B;
  counter-reset: number 0;
}
.un_matching_list_area li {
  display: flex;
  flex-direction: column;
  row-gap: 11px;
  padding: 10px 10px 10px 70px;
  position: relative;
}
.un_matching_list_area li h3 {
  margin: 0;
  text-align: left;
  font-weight: 700;
  font-size: 22px;
}
.un_matching_list_area li p {
  margin: 0;
  padding-left: 60px;
  text-align: left;
  font-weight: 400;
  font-size: 16px;
  position: relative;
}
.un_matching_list_area li p:before {
  position: absolute;
  top: calc(0.5em + 5.5px);
  left: 10px;
  transform: translateY(-50%);
  width: 60px;
  height: 1em;
  content: "";
  background: no-repeat url("../images/matching/icon-ol-arrow.svg");
}
.un_matching_list_area li:before {
  grid-area: number;
  display: block;
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  left: 0;
  width: 32px;
  height: 61px;
  content: "";
  background-repeat: no-repeat;
  background-size: contain;
}
.un_matching_list_area li:nth-child(1)::before {
  background-image: url("../images/matching/icon_li_1.png");
}
.un_matching_list_area li:nth-child(2)::before {
  background-image: url("../images/matching/icon_li_2.png");
}
.un_matching_list_area li:nth-child(3)::before {
  background-image: url("../images/matching/icon_li_3.png");
}
.un_matching_list_area li:nth-child(4)::before {
  background-image: url("../images/matching/icon_li_4.png");
}
.un_matching_question_area {
  background: #362E2E;
  margin-top: -160px;
  padding-top: 160px;
}
.un_matching_mama_message {
  padding: 80px 92px;
  display: flex;
  gap: 56px;
}
.un_matching_mama_message p {
  padding: 0;
}
.un_history_content {
  display: grid;
}
.un_history_content#mama_history {
  grid-template-areas: "head image" "list image";
  grid-template-rows: auto 1fr;
  grid-template-columns: 1fr auto;
  column-gap: 50px;
}
.un_history_content#mama_history img {
  margin-right: -5em;
}
.un_history_content#jardin_history {
  margin-top: -5em;
  grid-template-areas: "head ." "comment comment" "image list";
  grid-template-rows: auto auto 1fr;
  grid-template-columns: auto 1fr;
  column-gap: 50px;
}
.un_history_content#jardin_history img {
  margin-left: -5em;
}
.un_history_content_comment {
  grid-area: comment;
  width: 23em;
  margin: 0 auto 50px;
  font-family: "Klee One";
  font-weight: 600;
  font-size: 30px;
  line-height: 44px;
  text-align: center;
  color: #695944;
}
.un_history_content h2 {
  grid-area: head;
  color: #4A3822;
  text-align: left;
}
.un_history_content h2 span {
  font-family: "Klee One";
  font-weight: 600;
  font-size: 32px;
  line-height: 46px;
  display: inline-block;
  position: relative;
  background: linear-gradient(transparent 65%, #FFE200 0%);
}
.un_history_content h2 span::after {
  display: block;
  position: absolute;
  top: -40px;
  left: -20px;
  width: 80px;
  height: 70px;
  content: "";
  z-index: -1;
  background: url("../images/history/icon-flower.svg");
}
.un_history_content ul {
  grid-area: list;
  text-align: left;
  margin: 0;
  padding: 0;
}
.un_history_content ul li {
  margin-bottom: 0.75em;
  display: flex;
  gap: 1em;
  font-family: "Klee One";
  font-weight: 600;
  font-size: 20px;
  line-height: 29px;
  color: #000;
}
.un_history_content ul li span {
  text-wrap: nowrap;
}
.un_history_content ul li p {
  margin: 0;
}
.un_history_content picture {
  grid-area: image;
}
.un_history_content_mama {
  text-align: center;
  margin: 0 auto;
  padding: 0;
}
.un_history_content_mama_head {
  display: inline-block;
  margin-top: 90px;
  margin-bottom: 0;
  padding: 10px 20px;
  background-color: #695944;
  font-family: "Klee One";
  font-size: 24px;
  line-height: 35px;
  text-align: center;
  color: #fff;
}
.un_history_content_mama_list_area {
  border: solid 1px #B1A597;
  border-radius: 4px;
  padding: 20px;
  margin: -40px 60px 150px;
}
.un_history_content_mama_list_area ul {
  text-align: left;
  margin: 0;
  padding: 100px 60px 60px;
  background-color: #E5D6BC;
  border-radius: 4px;
  display: flex;
  flex-direction: column;
  row-gap: 20px;
}
.un_history_content_mama_list_area ul li {
  display: flex;
  gap: 1em;
  font-family: "Klee One";
  font-weight: 600;
  font-size: 16px;
}
.un_history_content_mama_list_area ul li span {
  text-wrap: nowrap;
  font-family: "Noto Serif JP";
  font-weight: 700;
  color: #695944;
  margin-right: 3em;
}
.un_history_content_mama_list_area ul li p {
  margin: 0;
  font-family: HiraginoCustom, "Hiragino Kaku Gothic ProN", Meiryo;
  font-weight: 400;
  color: #000;
}

.hp_add_pb {
  padding-bottom: 40px;
}
.hp_minus_mr {
  margin-right: -6%;
}
.hp_minus_ml {
  margin-left: -6%;
}

@media screen and (max-width: 1250px) {
  .ly_cont {
    width: auto;
    margin-left: 60px;
    margin-right: 60px;
  }
  #history .content_header {
    height: 45vh;
    z-index: -1;
  }
  #history .content_header::before, #history .content_header::after {
    position: absolute;
    display: block;
    height: 40%;
    aspect-ratio: 435/260;
    content: "";
    mix-blend-mode: overlay;
  }
  #history .content_header::before {
    top: 60px;
    background: no-repeat center/cover url("../images/history/img_history_top_lt.png");
  }
  #history .content_header::after {
    bottom: 0;
    right: 0;
    background: no-repeat center/cover url("../images/history/img_history_top_rb.png");
  }
  #history .content_header img {
    position: absolute;
    top: 40%;
    right: 60%;
    width: 184px;
    max-width: 40%;
    height: auto;
  }
  #history .content_header h1 {
    font-size: 32px;
    z-index: 1;
  }
  .un_history_content#mama_history img, .un_history_content#jardin_history img {
    margin: 0;
  }
}
@media screen and (max-width: 1024px) {
  .ly_cont {
    margin: 20px 20px 0;
  }
  .ly_cont_img img {
    object-fit: cover;
    width: 100%;
    height: auto;
  }
  .ly_img img {
    object-fit: cover;
    width: 100%;
    height: auto;
  }
  #matching .content_header {
    padding: 0 20px;
  }
  #history .content_header {
    margin-bottom: 0;
  }
  .un_matching_content p {
    padding: 40px 0;
  }
  .un_matching_question {
    font-size: 16px;
  }
  .un_matching_list_area {
    width: auto;
    padding: 40px 0;
  }
  .un_matching_list_area_inner {
    width: 90%;
  }
  .un_matching_list_area h2 {
    padding: 20px 10px;
    height: auto;
    font-size: 20px;
  }
  .un_matching_list_area ol {
    padding: 30px 10px;
    row-gap: 30px;
  }
  .un_matching_list_area li {
    display: flex;
    flex-direction: column;
    padding: 0 10px;
    position: relative;
  }
  .un_matching_list_area li h3 {
    margin: 0;
    font-size: 20px;
    line-height: 1.5em;
    text-indent: 2em;
  }
  .un_matching_list_area li p {
    padding: 0;
    font-size: 14px;
  }
  .un_matching_list_area li p:before {
    content: none;
  }
  .un_matching_list_area li:before {
    width: auto;
    height: 40px;
    aspect-ratio: 32/61;
    top: -6px;
    left: 10px;
    transform: none;
  }
  .un_matching_question_area {
    background: #362E2E;
    margin-top: 0;
    padding-top: 0;
  }
  .un_matching_mama_message {
    padding: 0;
    flex-direction: column-reverse;
    gap: 10px;
  }
  .un_matching_mama_message p {
    padding: 40px 0;
  }
  .un_matching_mama_message img {
    object-fit: cover;
    width: 100%;
    height: auto;
  }
  .un_history_content#mama_history {
    grid-template-areas: "head" "image" "list";
    grid-template-rows: 1fr;
    grid-template-columns: 1fr;
    row-gap: 10px;
  }
  .un_history_content#mama_history img {
    margin-right: -20px;
    width: 100%;
  }
  .un_history_content#jardin_history {
    margin-top: 0;
    grid-template-areas: "head" "comment" "image" "list";
    grid-template-rows: 1fr;
    grid-template-columns: 1fr;
    row-gap: 10px;
  }
  .un_history_content#jardin_history img {
    margin-left: 0;
    width: 100%;
  }
  .un_history_content_comment {
    width: 100%;
    margin: 0;
    font-size: 20px;
    line-height: 1.5em;
    text-align: left;
  }
  .un_history_content h2 {
    margin-bottom: 0.5em;
    text-align: center;
  }
  .un_history_content h2 span {
    font-size: 24px;
    line-height: 1.5em;
  }
  .un_history_content h2 span::after {
    top: -30px;
    left: -40px;
  }
  .un_history_content ul li {
    display: block;
    margin-bottom: 1.5em;
    font-size: 18px;
  }
  .un_history_content ul li span {
    margin-right: 0.5em;
  }
  .un_history_content_mama {
    margin: 0;
    padding: 0;
    width: 100%;
  }
  .un_history_content_mama_head {
    font-size: 20px;
    margin-top: 30px;
  }
  .un_history_content_mama_list_area {
    padding: 10px;
    margin: -35px 20px 50px;
  }
  .un_history_content_mama_list_area ul {
    padding: 40px 10px 20px;
  }
  .un_history_content_mama_list_area ul li {
    display: block;
    margin-bottom: 0.5em;
    font-size: 16px;
    line-height: 1.5em;
  }
  .un_history_content_mama_list_area ul li span {
    margin-right: 1.5em;
  }
}/*# sourceMappingURL=add_style.css.map */