@charset "utf-8";

/* top */
.top {
  padding-top: clamp(5.375rem, 3.333rem + 4.253vw, 8.438rem);
  overflow-x: clip;
}
.top__inner {
  padding-right: clamp(1.250rem, -9.917rem + 23.264vw, 18.000rem);
  padding-left: clamp(1.250rem, -9.917rem + 23.264vw, 18.000rem);
}
.top__container {
  display: flex;
  flex-direction: column;
  width: 100%;
  min-width: 0;
}
.top__content {
  display: flex;
  align-items: center;
  justify-content: space-between;
  width: 100%;
  min-width: 0;
  gap: clamp(1.250rem, -2.333rem + 7.465vw, 6.625rem);
  margin-top: clamp(1.250rem, -0.417rem + 3.472vw, 3.750rem);
}
.top__left,
.top__right {
  flex: 1;
  width: 50%;
  min-width: 0;
}
.top__img {
  width: 100%;
  aspect-ratio: 646 / 315;
  object-fit: cover;
  border-radius: clamp(0.625rem, 0.208rem + 0.868vw, 1.250rem);
}
.top__title {
  font-size: clamp(1.125rem, 0.625rem + 1.042vw, 1.875rem);
  font-weight: 500;
  line-height: 32px;
  color: #000;
}
.top__text {
  margin-top: clamp(1.125rem, 0.208rem + 1.910vw, 2.500rem);
  font-size: clamp(0.875rem, 0.792rem + 0.174vw, 1.000rem);
  font-weight: 400;
  line-height: clamp(1.500rem, 1.250rem + 0.521vw, 1.875rem);
  color: #000;
  overflow-wrap: anywhere;
}

/* users */
.users {
  padding-top: clamp(5.000rem, 0.292rem + 9.809vw, 12.062rem);
  overflow-x: clip;
}
.users__inner {
  padding-right: clamp(2.500rem, -3.833rem + 13.194vw, 12.000rem);
  padding-left: clamp(2.500rem, -3.833rem + 13.194vw, 12.000rem);
}
.users__container {
  display: flex;
  flex-direction: column;
  width: 100%;
  min-width: 0;
}
.users__items {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  align-items: stretch;
  width: 100%;
  min-width: 0;
  column-gap: clamp(1.250rem, -0.083rem + 2.778vw, 4.000rem);
  row-gap: 24px;
  margin-top: clamp(2.188rem, 1.938rem + 0.521vw, 2.562rem);
}
.users__item {
  display: grid;
  grid-template-rows: subgrid;
  grid-row: span 3;
  align-items: stretch;
  width: 100%;
  min-width: 0;
}
.users__img {
  align-self: end;
  width: 100%;
  height: auto;
  object-fit: contain;
}
.users__title {
  font-size: clamp(1.250rem, 1.083rem + 0.347vw, 1.500rem);
  font-weight: 500;
  line-height: 32px;
  color: #070707;
  text-align: center;
  white-space: nowrap;
}
.users__text {
  font-size: clamp(0.875rem, 0.792rem + 0.174vw, 1.000rem);
  font-weight: 400;
  line-height: 24px;
  color: #000;
  text-align: center;
  overflow-wrap: anywhere;
}

/* life */
.life {
  padding-top: clamp(6.250rem, 3.208rem + 6.337vw, 10.812rem);
  overflow-x: clip;
}
.life__inner {
  padding-inline: clamp(0.625rem, -19.232rem + 31.03vw, 18rem);
}
.life__container {
  display: flex;
  flex-direction: column;
  width: 100%;
  min-width: 0;
}
.life__text {
  max-width: 620px;
  margin-top: clamp(1.500rem, 0.833rem + 1.389vw, 2.500rem);
  margin-right: auto;
  margin-left: auto;
  font-size: clamp(0.875rem, 0.625rem + 0.521vw, 1.250rem);
  font-weight: 500;
  line-height: clamp(1.500rem, 1.167rem + 0.694vw, 2.000rem);
  color: #000;
  text-align: center;
  overflow-wrap: anywhere;
}
.life__items {
  display: flex;
  align-items: stretch;
  width: 100%;
  min-width: 0;
  gap: clamp(1.250rem, 0.750rem + 1.042vw, 2.000rem);
  margin-top: clamp(2.125rem, 1.875rem + 0.521vw, 2.500rem);
}
.life__item {
  display: flex;
  flex: 1;
  flex-direction: column;
  align-items: center;
  width: 100%;
  min-width: 0;
  padding: clamp(1.125rem, 0.417rem + 1.476vw, 2.188rem) clamp(1.250rem, 0.958rem + 0.608vw, 1.688rem) clamp(1.125rem, -1.042rem + 4.514vw, 4.375rem);
  background-color: #fae0c5;
  border-radius: clamp(0.625rem, 0.208rem + 0.868vw, 1.250rem);
}
.life-item__img {
  width: 100%;
  max-width: clamp(20.625rem, 18.792rem + 3.819vw, 23.375rem);
  aspect-ratio: 374 / 257;
  object-fit: cover;
  border-radius: clamp(0.312rem, 0.104rem + 0.434vw, 0.625rem);
}
.life-item__title {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: clamp(0.812rem, 0.521rem + 0.608vw, 1.250rem);
  width: 100%;
  margin-top: clamp(1.250rem, 0.167rem + 2.257vw, 2.875rem);
}
.life-item-title__icon {
  flex-shrink: 0;
  width: clamp(0.812rem, 0.562rem + 0.521vw, 1.188rem);
  height: clamp(0.812rem, 0.562rem + 0.521vw, 1.188rem);
  background-color: #ff880a;
  border-radius: 50%;
}
.life-item-title__main {
  min-width: 0;
  font-size: clamp(1.125rem, 0.696rem + 0.67vw, 1.5rem);
  font-weight: 500;
  line-height: 32px;
  color: #000;
  overflow-wrap: anywhere;
}
.life-item__text {
  width: 100%;
  margin-top: clamp(1.250rem, 0.625rem + 1.302vw, 2.188rem);
  font-size: clamp(0.875rem, 0.792rem + 0.174vw, 1.000rem);
  font-weight: 400;
  line-height: clamp(1.500rem, 1.250rem + 0.521vw, 1.875rem);
  color: #000;
  text-align: center;
  overflow-wrap: anywhere;
}

/* flow */
.flow {
  padding-top: clamp(5.000rem, 0.333rem + 9.722vw, 12.000rem);
  overflow-x: clip;
}
.flow__inner {
  padding-right: clamp(1.250rem, -1.500rem + 5.729vw, 5.375rem);
  padding-left: clamp(1.250rem, -9.917rem + 23.264vw, 18.000rem);
}
.flow__container {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  width: 100%;
  min-width: 0;
}
.flow__left {
  display: flex;
  flex-direction: column;
  flex: 1;
  width: 100%;
  min-width: 370px;
}
.flow__items {
  display: flex;
  flex-direction: column;
  row-gap: clamp(2.250rem, 1.667rem + 1.215vw, 3.125rem);
  margin-top: clamp(1.438rem, 0.729rem + 1.476vw, 2.500rem);
}
.flow__item {
  position: relative;
  display: flex;
  align-items: flex-start;
  gap: clamp(2.406rem, 1.802rem + 1.259vw, 3.312rem);
  width: 100%;
  min-width: 0;
}
.flow__item:not(:last-child)::after {
  content: "";
  position: absolute;
  top: clamp(1.000rem, 0.479rem + 1.085vw, 1.781rem);
  left: clamp(2.109rem, 1.120rem + 2.062vw, 3.594rem);
  z-index: 0;
  width: 0;
  height: calc(100% + clamp(2.250rem, 1.667rem + 1.215vw, 3.125rem));
  border-left: 2px solid #0f3666;
  transform: translateX(-50%);
}
.flow__time {
  position: relative;
  z-index: 1;
  display: flex;
  flex-shrink: 0;
  align-items: center;
  justify-content: center;
  width: clamp(4.219rem, 2.240rem + 4.123vw, 7.188rem);
  height: clamp(2.000rem, 0.958rem + 2.170vw, 3.562rem);
  background-color: #0f3666;
  border-radius: clamp(0.188rem, 0.104rem + 0.174vw, 0.312rem);
  font-family: "Poppins", sans-serif;
  font-size: clamp(1.125rem, 0.542rem + 1.215vw, 2.000rem);
  font-weight: 500;
  line-height: 1;
  color: #fff;
}
.flow-item__right {
  display: flex;
  flex-direction: column;
  min-width: 0;
}
.flow__title {
  font-size: clamp(1.250rem, 1.083rem + 0.347vw, 1.500rem);
  font-weight: 500;
  line-height: 2.000rem;
  color: #000;
}
.flow__text {
  width: 100%;
  margin-top: 4px;
  font-size: clamp(0.875rem, 0.792rem + 0.174vw, 1.000rem);
  font-weight: 400;
  line-height: clamp(1.250rem, 0.833rem + 0.868vw, 1.875rem);
  color: #000;
  overflow-wrap: anywhere;
}
.flow__right {
  position: relative;
  flex-shrink: 0;
  width: clamp(24.188rem, 0.675rem + 48.985vw, 59.457rem);
  height: clamp(27.125rem, 0.740rem + 54.969vw, 66.703rem);
  margin-top: clamp(-12.000rem, 10.188rem - 18.490vw, 1.312rem);
}
.flow__deco {
  position: absolute;
  top: 0;
  left: 0;
  z-index: 0;
  width: 100%;
  height: 100%;
  max-width: none;
  object-fit: fill;
  pointer-events: none;
}
.flow__img1,
.flow__img2 {
  position: absolute;
  z-index: 1;
  object-fit: cover;
  border-radius: clamp(0.312rem, 0.104rem + 0.434vw, 0.625rem);
}
.flow__img1 {
  top: clamp(2.773rem, -7.339rem + 21.066vw, 17.941rem);
  left: clamp(3.429rem, -0.774rem + 8.757vw, 9.734rem);
  width: clamp(16.374rem, 3.790rem + 26.217vw, 35.250rem);
  aspect-ratio: 564 / 325;
}
.flow__img2 {
  top: clamp(13.137rem, -6.106rem + 40.091vw, 42.003rem);
  left: clamp(8.056rem, 1.104rem + 14.484vw, 18.484rem);
  width: clamp(14.748rem, 3.414rem + 23.614vw, 31.750rem);
  aspect-ratio: 508 / 304;
}

/* support */
.support {
  position: relative;
  z-index: 1;
  overflow-x: clip;
  padding-top: clamp(5.000rem, 4.208rem + 1.649vw, 6.188rem);
  padding-bottom: clamp(7.812rem, 8.333rem - 0.434vw, 8.125rem);
}
.support::before {
  content: "";
  position: absolute;
  top: 0;
  left: 50%;
  z-index: 0;
  width: auto;
  height: 100%;
  min-width: 100%;
  aspect-ratio: 1 / 1;
  background-image: url("https://heartfull-smile.jp/system_panel/uploads/images/h-bg.png");
  background-repeat: no-repeat;
  background-position: center;
  background-size: 100% 100%;
  transform: translateX(-50%);
  pointer-events: none;
}
.support__inner {
  position: relative;
  z-index: 1;
  padding-right: clamp(0.625rem, -19.292rem + 41.493vw, 30.500rem);
  padding-left: clamp(0.625rem, -19.292rem + 41.493vw, 30.500rem);
}
.support__container {
  display: flex;
  flex-direction: column;
  width: 100%;
  min-width: 0;
}
.support__text {
  margin-top: clamp(2.500rem, 2.917rem - 0.347vw, 2.750rem);
  font-size: clamp(0.875rem, 0.625rem + 0.521vw, 1.250rem);
  font-weight: 500;
  line-height: clamp(1.500rem, 1.167rem + 0.694vw, 2.000rem);
  color: #000;
  text-align: center;
  overflow-wrap: anywhere;
}
.support__items {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  column-gap: clamp(1.250rem, -0.542rem + 3.733vw, 3.938rem);
  row-gap: clamp(1.250rem, 0.000rem + 2.604vw, 3.125rem);
  width: 100%;
  min-width: 0;
  margin-top: clamp(2.812rem, 2.104rem + 1.476vw, 3.875rem);
}
.support__item {
  display: flex;
  flex-direction: column;
  align-items: center;
  width: 100%;
  min-width: 0;
  padding: clamp(1.188rem, 0.104rem + 2.257vw, 2.812rem) clamp(1.188rem, -0.271rem + 3.038vw, 3.375rem) clamp(1.438rem, 1.021rem + 0.868vw, 2.062rem);
  background-color: #f5f3ec;
  border-radius: clamp(0.312rem, 0.104rem + 0.434vw, 0.625rem);
}
.support-item__img {
  width: 100%;
  object-fit: contain;
}
.support-item__img1 {
  max-width: 333px;
  aspect-ratio: 333 / 199;
}
.support-item__img2 {
  max-width: clamp(13.812rem, 13.021rem + 1.649vw, 15.000rem);
  aspect-ratio: 240 / 211;
}
.support-item__img3 {
  max-width: clamp(14.438rem, 12.646rem + 3.733vw, 17.125rem);
  aspect-ratio: 274 / 233;
}
.support-item__img4 {
  max-width: clamp(16.750rem, 15.833rem + 1.910vw, 18.125rem);
  aspect-ratio: 290 / 199;
}
.support-item__title {
  display: flex;
  align-items: center;
  justify-content: center;
  width: fit-content;
  max-width: 100%;
  height: 38px;
  margin-top: clamp(1.750rem, 1.417rem + 0.694vw, 2.250rem);
  padding: 0 clamp(0.938rem, 0.854rem + 0.174vw, 1.062rem);
  background-color: #0f3666;
  border-radius: 66px;
  font-size: clamp(1.000rem, 0.917rem + 0.174vw, 1.125rem);
  font-weight: 500;
  line-height: 1;
  color: #fff;
  text-align: center;
  white-space: nowrap;
}
.support-item__text {
  width: 100%;
  margin-top: clamp(0.750rem, 0.000rem + 1.562vw, 1.875rem);
  font-size: 16px;
  font-weight: 500;
  line-height: 24px;
  color: #000;
  text-align: center;
  overflow-wrap: anywhere;
}

/* hopefull */
.hopefull {
  padding-top: clamp(5.000rem, 4.167rem + 1.736vw, 6.250rem);
  overflow-x: clip;
}
.hopefull__inner {
  padding-right: clamp(0.625rem, -19.292rem + 41.493vw, 30.500rem);
  padding-left: clamp(0.625rem, -19.292rem + 41.493vw, 30.500rem);
}
.hopefull__container {
  display: flex;
  flex-direction: column;
  width: 100%;
  min-width: 0;
}
.hopefull__items {
  display: flex;
  flex-direction: column;
  width: 100%;
  min-width: 0;
  margin-top: clamp(2.188rem, 1.979rem + 0.434vw, 2.500rem);
  overflow: hidden;
  background-color: #fff;
}
.hopefull__item {
  display: grid;
  grid-template-columns: clamp(6.562rem, 2.479rem + 8.507vw, 12.688rem) minmax(0, 1fr);
  align-items: stretch;
  width: 100%;
  min-height: clamp(3.062rem, 1.979rem + 2.257vw, 4.688rem);
  border-bottom: 1px solid #a55500;
}
.hopefull-item__left,
.hopefull-item__right {
  display: flex;
  align-items: center;
  min-width: 0;
  font-size: clamp(0.750rem, 0.583rem + 0.347vw, 1.000rem);
  font-weight: 500;
  line-height: 24px;
  color: #000;
}
.hopefull-item__left {
  justify-content: center;
  padding: 4px 2px;
  background-color: #fae0c5;
  text-align: center;
}
.hopefull-item__right {
  padding-right: 12px;
  padding-left: clamp(1.562rem, -0.062rem + 3.385vw, 4.000rem);
  overflow-wrap: anywhere;
}
.hopefull-item__right a {
  color: #000;
}
.hopefull__new {
  display: grid;
  grid-template-columns: clamp(8.125rem, -1.083rem + 19.184vw, 21.938rem) minmax(0, 1fr);
  align-items: stretch;
  width: 100%;
  min-width: 0;
  max-width: 100%;
  min-height: clamp(8.500rem, 5.833rem + 5.556vw, 12.475rem);
  margin-top: clamp(0.938rem, 0.271rem + 1.389vw, 1.938rem);
  background-color: #efede9;
  border-radius: clamp(0.312rem, 0.104rem + 0.434vw, 0.625rem);
}
.hopefull-new__img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  border-radius: clamp(0.312rem, 0.104rem + 0.434vw, 0.625rem) 0 0 clamp(0.312rem, 0.104rem + 0.434vw, 0.625rem);
}
.hopefull-new__rihgt {
  display: flex;
  flex-direction: column;
  justify-content: center;
  min-width: 0;
  max-width: 100%;
  padding: clamp(0.562rem, 0.062rem + 1.042vw, 1.312rem) clamp(0.625rem, -0.667rem + 2.691vw, 2.562rem) clamp(0.562rem, 0.062rem + 1.042vw, 1.312rem) clamp(1.250rem, -0.333rem + 3.299vw, 3.625rem);
}
.hopefull-new__sub {
  display: flex;
  align-items: center;
  justify-content: center;
  width: fit-content;
  height: clamp(1.062rem, 0.521rem + 1.128vw, 1.875rem);
  padding: 0 clamp(0.438rem, 0.146rem + 0.608vw, 0.875rem);
  background-color: #ffb96f;
  border-radius: 15px;
  font-size: clamp(0.625rem, 0.375rem + 0.521vw, 1.000rem);
  font-weight: 500;
  line-height: 1;
  color: #000;
  white-space: nowrap;
}
.hopefull-new__title {
  min-width: 0;
  margin-top: clamp(0.562rem, 0.354rem + 0.434vw, 0.875rem);
  padding-bottom: clamp(0.500rem, 0.417rem + 0.174vw, 0.625rem);
  border-bottom: 1px solid #445d7c;
  font-size: clamp(1.000rem, 0.500rem + 1.042vw, 1.750rem);
  font-weight: 700;
  line-height: clamp(1.250rem, 0.750rem + 1.042vw, 2.000rem);
  color: #0f3666;
  white-space: normal;
  overflow-wrap: anywhere;
  word-break: break-all;
}
.hopefull-new__text {
  min-width: 0;
  margin-top: clamp(0.500rem, 0.417rem + 0.174vw, 0.625rem);
  font-size: clamp(0.625rem, 0.375rem + 0.521vw, 1.000rem);
  font-weight: 500;
  line-height: clamp(1.000rem, 0.667rem + 0.694vw, 1.500rem);
  color: #0f3666;
  overflow-wrap: anywhere;
  word-break: break-all;
}

@media (max-width: 1023px) {
  .users__inner {
    padding-right: clamp(1.250rem, 0.417rem + 1.736vw, 2.500rem);
    padding-left: clamp(1.250rem, 0.417rem + 1.736vw, 2.500rem);
  }
  .users__items {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    max-width: 700px;
    margin-right: auto;
    margin-left: auto;
    column-gap: clamp(1.250rem, 0.417rem + 1.736vw, 2.500rem);
    row-gap: 40px;
  }
  .life__items {
        flex-direction: column;
    max-width: 370px;
    margin-inline: auto;
  }
}

@media (max-width: 767px) {
  .top__inner {
    padding-right: 20px;
    padding-left: 20px;
  }
  .top__content {
    flex-direction: column;
    align-items: stretch;
  }
  .top__left,
  .top__right {
    flex: none;
    width: 100%;
  }
  .top .title1__main {
    max-width: 240px;
  }
  .users__inner {
    padding-right: 20px;
    padding-left: 20px;
  }
  .users__items {
    grid-template-columns: minmax(0, 1fr);
    max-width: 370px;
  }
  .life__text {
    padding-right: 10px;
    padding-left: 10px;
  }
  .life__text br {
    display: none;
  }
  .life__item {
    flex: none;
  }
  .life-item-title__main {
    line-height: 20px;
    font-size: 20px;
  }
  .flow__inner {
    padding-right: 20px;
    padding-left: 20px;
  }
  .flow__container {
    flex-direction: column;
  }
  .flow__left {
    flex: none;
    width: 100%;
    min-width: 0;
  }
  .flow__item:not(:last-child)::after {
    border-left-width: 1px;
  }
  .flow__right {
    flex: none;
    width: 100%;
    max-width: 387px;
    height: auto;
    aspect-ratio: 387 / 434;
    margin-top: 21px;
    margin-right: auto;
    margin-left: auto;
  }
  .flow__img1 {
    top: 10.23%;
    left: 14.19%;
    width: 67.73%;
  }
  .flow__img2 {
    top: 48.43%;
    left: 33.32%;
    width: 61.01%;
  }
  .support__inner {
    padding-right: 10px;
    padding-left: 10px;
  }
  .support__text {
    padding-right: 10px;
    padding-left: 10px;
  }
  .support__items {
    grid-template-columns: 1fr;
    max-width: 370px;
    margin-right: auto;
    margin-left: auto;
  }
  .support-item__title {
    white-space: normal;
  }
  .hopefull__inner {
    padding-right: 10px;
    padding-left: 10px;
  }
  .hopefull .title1 {
    padding-right: 10px;
    padding-left: 10px;
  }
  .hopefull__item {
    border-bottom-width: 0.5px;
  }
  .hopefull-item__left,
  .hopefull-item__right {
    line-height: 15px;
  }
  .hopefull__new {
    grid-template-columns: 120px minmax(0, 1fr);
    align-items: start;
    min-height: 0;
  }
  .hopefull-new__img {
    width: 100%;
    height: 136px;
  }
  .hopefull-new__rihgt {
    padding-top: 9px;
    padding-right: 10px;
    padding-bottom: 9px;
    padding-left: 16px;
  }
  .hopefull-new__title,
  .hopefull-new__text {
    width: 100%;
    max-width: 100%;
    word-break: break-all;
  }
  .hopefull-new__title {
    display: -webkit-box;
    -webkit-box-orient: vertical;
    -webkit-line-clamp: 2;
    overflow: hidden;
    border-bottom-width: 0.5px;
    font-size: 14px;
    line-height: 20px;
  }
  .hopefull-new__text {
    display: -webkit-box;
    -webkit-box-orient: vertical;
    -webkit-line-clamp: 3;
  }
}

@media (max-width: 389px) {
  .top__inner {
    padding-right: 16px;
    padding-left: 16px;
  }
  .top__title {
    font-size: 16px;
  }
  .users__inner {
    padding-right: 16px;
    padding-left: 16px;
  }
  .life__inner,
  .support__inner,
  .hopefull__inner {
    padding-right: 16px;
    padding-left: 16px;
  }
  .life__items,
  .support__items,
  .users__items {
    max-width: none;
  }
  .life__item {
    padding-inline: 10px;
  }
  .life-item-title__main {
    font-size: 18px;
  }
  .life__text,
  .support__text {
    font-size: 14px;
  }
  .flow__inner {
    padding-right: 16px;
    padding-left: 16px;
  }
  .flow__item {
    gap: 20px;
  }
  .support-item__title {
    font-size: 14px;
    white-space: nowrap;
  }
  .hopefull__item {
    grid-template-columns: 72px minmax(0, 1fr);
  }
  .hopefull-item__right {
    padding-right: 8px;
    padding-left: 10px;
  }
  .hopefull-new__text {
    font-size: 10px;
  }
}
