@charset "utf-8";

/* area */
.area {
  padding-top: clamp(4.000rem, 3.083rem + 1.910vw, 5.375rem);
  overflow-x: clip;
}
.area__inner {
  padding-right: clamp(1.250rem, -1.917rem + 6.597vw, 6.000rem);
  padding-left: clamp(1.250rem, -5.917rem + 14.931vw, 12.000rem);
}
.area__container {
  position: relative;
  display: flex;
  flex-direction: column;
  width: 100%;
  min-width: 0;
}
.area .title1 {
  position: relative;
  z-index: 1;
  max-width: 864px;
  margin-top: clamp(0.000rem, -5.500rem + 11.458vw, 8.250rem);
}
.area__text {
  position: relative;
  z-index: 1;
  max-width: 620px;
  min-width: 0;
  margin-top: clamp(2.500rem, 1.833rem + 1.389vw, 3.500rem);
  font-size: clamp(0.875rem, 0.625rem + 0.521vw, 1.250rem);
  font-weight: 400;
  line-height: clamp(1.500rem, 1.167rem + 0.694vw, 2.000rem);
  color: #000;
  overflow-wrap: anywhere;
}
.area__img {
  position: absolute;
  top: 0;
  right: 0;
  z-index: 0;
  width: clamp(24.375rem, 1.625rem + 47.396vw, 58.500rem);
  max-width: none;
  height: auto;
  aspect-ratio: 936 / 708;
  object-fit: contain;
  pointer-events: none;
}

/* worries */
.worries {
  position: relative;
  z-index: 1;
  padding-top: clamp(6.250rem, 2.917rem + 6.944vw, 11.250rem);
}
.worries__inner {
  padding-inline: clamp(6.25rem, -7.75rem + 29.17vw, 27.25rem);
}
.worries__container {
  position: relative;
  display: flex;
  flex-direction: column;
  align-items: center;
  width: 100%;
  min-width: 0;
}
.worries__title {
  font-size: clamp(1.500rem, 0.500rem + 2.083vw, 3.000rem);
  font-weight: 500;
  line-height: clamp(2.188rem, 0.729rem + 3.038vw, 4.375rem);
  color: #0f3666;
  text-align: center;
}
.worries__box {
  position: relative;
  width: 100%;
  height: clamp(29.500rem, 24.583rem + 10.243vw, 36.875rem);
  margin-top: clamp(1.625rem, 1.042rem + 1.215vw, 2.500rem);
}
.worries__text {
  position: absolute;
  z-index: 1;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  background-image: url("https://heartfull-smile.jp/system_panel/uploads/images/hukidashi.png");
  background-repeat: no-repeat;
  background-position: center;
  background-size: contain;
  font-size: clamp(0.750rem, 0.417rem + 0.694vw, 1.250rem);
  font-weight: 500;
  line-height: 1.5;
  color: #fff;
  text-align: center;
}
.worries__text--1 {
  top: clamp(7.625rem, 7.542rem + 0.174vw, 7.750rem);
  left: 0;
  width: clamp(13.812rem, 7.646rem + 12.847vw, 23.062rem);
  height: clamp(11.562rem, 6.354rem + 10.851vw, 19.375rem);
}
.worries__text--2 {
  top: 0;
  left: 50%;
  width: clamp(14.688rem, 9.104rem + 11.632vw, 23.062rem);
  height: clamp(12.375rem, 7.708rem + 9.722vw, 19.375rem);
  font-size: clamp(0.750rem, 0.500rem + 0.521vw, 1.125rem);
  transform: translateX(-50%);
}
.worries__text--3 {
  top: clamp(7.625rem, 7.542rem + 0.174vw, 7.750rem);
  right: 0;
  width: clamp(13.812rem, 7.646rem + 12.847vw, 23.062rem);
  height: clamp(11.562rem, 6.354rem + 10.851vw, 19.375rem);
}
.worries__img {
  position: absolute;
  top: clamp(19.688rem, 19.146rem + 1.13vw, 20.5rem);
  left: 50%;
  z-index: 2;
  width: clamp(15.812rem, 9.812rem + 12.500vw, 24.812rem);
  max-width: none;
  height: auto;
  object-fit: contain;
  transform: translateX(-50%);
  pointer-events: none;
}

/* service */
.service {
  position: relative;
  z-index: 2;
  margin-top: clamp(-4.188rem, 0.292rem - 3.733vw, -1.500rem);
  padding-top: clamp(5.188rem, 3.896rem + 2.691vw, 7.125rem);
  overflow-x: clip;
}
.service::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/hu-bg.png");
  background-repeat: no-repeat;
  background-position: center;
  background-size: 100% 100%;
  transform: translateX(-50%);
  pointer-events: none;
}
.service__inner {
  position: relative;
  z-index: 1;
  padding-right: clamp(1.250rem, -5.917rem + 14.931vw, 12.000rem);
  padding-left: clamp(1.250rem, -5.917rem + 14.931vw, 12.000rem);
}
.service__container {
  display: flex;
  flex-direction: column;
  width: 100%;
  min-width: 0;
}
.service__text {
  margin-top: 40px;
  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;
  overflow-wrap: anywhere;
}
.service__content {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  width: 100%;
  min-width: 0;
  margin-top: clamp(-2.000rem, 1.333rem - 2.778vw, 0.000rem);
  gap: clamp(1.250rem, -0.208rem + 3.038vw, 3.438rem);
}
.service__left {
  position: relative;
  flex-shrink: 0;
  width: clamp(22.500rem, 5.875rem + 34.635vw, 47.438rem);
  height: clamp(25.000rem, -4.917rem + 62.326vw, 69.875rem);
}
.service__deco {
  position: absolute;
  top: 0;
  left: clamp(-13.250rem, 6.750rem - 16.667vw, -1.250rem);
  z-index: 0;
  width: clamp(18.438rem, -3.604rem + 45.920vw, 51.500rem);
  max-width: none;
  height: auto;
  object-fit: fill;
  pointer-events: none;
}
.service__img {
  position: absolute;
  z-index: 1;
  max-width: none;
  object-fit: cover;
  border-radius: clamp(0.312rem, 0.104rem + 0.434vw, 0.625rem);
}
.service__img--1 {
  top: clamp(2.188rem, -2.604rem + 9.983vw, 9.375rem);
  left: clamp(0.000rem, 1.042rem - 0.868vw, 0.625rem);
  width: clamp(15.312rem, 1.812rem + 28.125vw, 35.562rem);
  aspect-ratio: 569 / 295;
}
.service__img--2 {
  top: clamp(10.812rem, -3.479rem + 29.774vw, 32.250rem);
  left: clamp(5.375rem, 1.833rem + 7.378vw, 10.688rem);
  width: clamp(15.875rem, 1.958rem + 28.993vw, 36.750rem);
  aspect-ratio: 588 / 394;
}
.service__right {
  display: flex;
  flex-direction: column;
  flex-shrink: 0;
  width: clamp(21.875rem, 7.292rem + 30.382vw, 43.750rem);
  min-width: 0;
  margin-top: clamp(0.000rem, -4.417rem + 9.201vw, 6.625rem);
}
.service__item {
  padding-top: clamp(2.062rem, 1.229rem + 1.736vw, 3.312rem);
  padding-bottom: clamp(1.875rem, 1.042rem + 1.736vw, 3.125rem);
  border-top: 1px dotted #000;
}
.service__item:last-child {
  border-bottom: 1px dotted #000;
}
.service-item__top {
  display: flex;
  align-items: center;
  gap: clamp(0.688rem, 0.312rem + 0.781vw, 1.250rem);
}
.service-item__icon {
  flex-shrink: 0;
  width: clamp(0.688rem, 0.354rem + 0.694vw, 1.188rem);
  height: clamp(0.688rem, 0.354rem + 0.694vw, 1.188rem);
  background-color: #ff880a;
  border-radius: 50%;
}
.service-item__title {
  min-width: 0;
  font-size: clamp(1.125rem, 0.625rem + 1.042vw, 1.875rem);
  font-weight: 500;
  line-height: clamp(1.125rem, 0.542rem + 1.215vw, 2.000rem);
  color: #000;
  overflow-wrap: anywhere;
}
.service-item__text {
  margin-top: clamp(1.250rem, 0.833rem + 0.868vw, 1.875rem);
  font-size: clamp(0.75rem, 0.583rem + 0.35vw, 1rem);
  font-weight: 400;
  line-height: clamp(1.500rem, 1.250rem + 0.521vw, 1.875rem);
  color: #000;
  overflow-wrap: anywhere;
}

/* can */
.can {
  padding-top: clamp(5.000rem, 3.583rem + 2.951vw, 7.125rem);
  overflow-x: clip;
}
.can__inner {
  padding-right: clamp(0.625rem, -14.083rem + 30.642vw, 22.688rem);
  padding-left: clamp(0.625rem, -14.083rem + 30.642vw, 22.688rem);
}
.can__container {
  display: flex;
  flex-direction: column;
  width: 100%;
  min-width: 0;
}
.can__text {
  max-width: 544px;
  margin-top: 40px;
  margin-right: auto;
  margin-left: auto;
  font-size: clamp(0.875rem, 0.792rem + 0.174vw, 1.000rem);
  font-weight: 500;
  line-height: 24px;
  color: #000;
  text-align: center;
  overflow-wrap: anywhere;
}
.can__content {
  position: relative;
  width: 100%;
  max-width: clamp(23.875rem, 4.875rem + 39.583vw, 52.375rem);
  margin-top: clamp(2.500rem, 0.417rem + 4.340vw, 5.625rem);
  margin-right: auto;
  margin-left: auto;
}
.can__header,
.can__item {
  position: relative;
  z-index: 1;
  display: grid;
  grid-template-columns: clamp(7.438rem, 1.354rem + 12.674vw, 16.562rem) minmax(0, 1fr);
  width: 100%;
}
.can__header {
  z-index: 2;
  margin-bottom: clamp(-2.312rem, 2.792rem - 4.253vw, 0.750rem);
}
.can-header__left,
.can-header__right {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 100%;
  height: clamp(1.875rem, 0.042rem + 3.819vw, 4.625rem);
  margin-right: auto;
  margin-left: auto;
  border-radius: 37px;
}
.can-header__left {
  max-width: clamp(6.938rem, 0.771rem + 12.847vw, 16.188rem);
  background-color: #0f3666;
}
.can-header__right {
  max-width: clamp(9.688rem, 0.438rem + 19.271vw, 23.562rem);
  background-color: #ff880a;
}
.can-header__left h3,
.can-header__right h3 {
  font-weight: 500;
  line-height: 1;
  color: #fff;
  text-align: center;
  white-space: nowrap;
}
.can-header__left h3 {
  font-size: clamp(0.750rem, 0.250rem + 1.042vw, 1.500rem);
}
.can-header__right h3 {
  font-size: clamp(0.750rem, 0.083rem + 1.389vw, 1.750rem);
}
.can__item {
  min-height: clamp(6.625rem, 0.250rem + 13.281vw, 16.188rem);
}
.can__item + .can__item {
  margin-top: clamp(1.500rem, 2.542rem - 0.868vw, 2.125rem);
}
.can-item__left,
.can-item__right {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  min-width: 0;
  min-height: clamp(6.625rem, 0.250rem + 13.281vw, 16.188rem);
  padding: 8px;
}
.can-item__left {
  background-color: #fff;
  border-radius: clamp(0.312rem, 0.104rem + 0.434vw, 0.625rem) 0 0 clamp(0.312rem, 0.104rem + 0.434vw, 0.625rem);
}
.can-item__right {
  position: relative;
  background-color: #facb9a;
  border-radius: 0 clamp(0.312rem, 0.104rem + 0.434vw, 0.625rem) clamp(0.312rem, 0.104rem + 0.434vw, 0.625rem) 0;
}
.can__item:not(:last-of-type) .can-item__right::after {
  content: "";
  position: absolute;
  bottom: 0;
  left: 50%;
  z-index: 2;
  width: 0;
  height: 0;
  border-style: solid;
  border-width: clamp(0.938rem, 0.021rem + 1.910vw, 2.312rem) clamp(0.875rem, 0.021rem + 1.780vw, 2.156rem) 0;
  border-color: #0f3666 transparent transparent;
  transform: translate(-50%, 50%);
}
.can-item__title {
  font-size: clamp(0.750rem, 0.250rem + 1.042vw, 1.500rem);
  font-weight: 500;
  line-height: 1.4;
  color: #000;
  text-align: center;
  overflow-wrap: anywhere;
}
.can-item__main {
  font-size: clamp(1.000rem, 0.500rem + 1.042vw, 1.750rem);
  font-weight: 500;
  line-height: 1.4;
  color: #000;
  text-align: center;
  overflow-wrap: anywhere;
}
.can-item__text {
  margin-top: clamp(0.375rem, 0.042rem + 0.694vw, 0.875rem);
  font-size: clamp(0.750rem, 0.500rem + 0.521vw, 1.125rem);
  font-weight: 400;
  line-height: clamp(1.000rem, 0.333rem + 1.389vw, 2.000rem);
  color: #000;
  text-align: center;
  overflow-wrap: anywhere;
}
.can__img {
  position: absolute;
  z-index: 3;
  max-width: none;
  height: auto;
  object-fit: contain;
  pointer-events: none;
}
.can__img--1 {
  top: clamp(7.750rem, 5.083rem + 5.556vw, 11.750rem);
  left: clamp(-9.812rem, 6.542rem - 13.628vw, 0.000rem);
  width: clamp(5.562rem, -1.146rem + 13.976vw, 15.625rem);
}
.can__img--2 {
  top: clamp(17.000rem, 8.958rem + 16.753vw, 29.062rem);
  right: clamp(-9.938rem, 6.625rem - 13.802vw, 0.000rem);
  width: clamp(6.875rem, -0.708rem + 15.799vw, 18.250rem);
}
.can__img--3 {
  top: clamp(25.375rem, 11.125rem + 29.688vw, 46.750rem);
  left: clamp(-12.250rem, 14.729rem - 22.483vw, 3.938rem);
  width: clamp(6.125rem, -1.000rem + 14.844vw, 16.812rem);
}
.can__img--4 {
  top: clamp(34.562rem, 13.688rem + 43.490vw, 65.875rem);
  right: clamp(-8.812rem, 5.875rem - 12.240vw, 0.000rem);
  width: clamp(6.688rem, -1.979rem + 18.056vw, 19.688rem);
}

@media (max-width: 767px) {
  .area__inner {
    padding-right: 0;
    padding-left: 0;
  }
  .area__container {
    min-height: 0;
  }
  .area .title1 {
    margin-top: 0;
    padding-right: 20px;
    padding-left: 20px;
  }
  .area .title1__main br {
    display: none;
  }
  .area__text {
    max-width: none;
    padding-right: 20px;
    padding-left: 20px;
  }
  .area__img {
    position: relative;
    top: auto;
    right: auto;
    width: 100%;
    margin-top: 20px;
  }
  .worries__inner {
    padding-inline: clamp(1.25rem, -10.388rem + 47.75vw, 12.5rem);
  }
  .worries__box {
    height: auto;
    aspect-ratio: 350 / 400;
  }
  .worries__text {
    padding: 20% 12%;
    font-size: 11px;
    line-height: 1.5;
    white-space: nowrap;
  }
  .worries__text--1 {
    top: 36%;
    left: -12%;
    width: 68%;
    height: 48%;
  }
  .worries__text--2 {
    top: 0;
    left: 50%;
    width: 68%;
    height: 48%;
    font-size: 11px;
    transform: translateX(-50%);
  }
  .worries__text--3 {
    top: 36%;
    right: -12%;
    width: 68%;
    height: 48%;
  }
  .worries__img {
    position: relative;
    top: auto;
    left: auto;
    z-index: 0;
    width: 56%;
    max-width: 210px;
    margin-top: -28%;
    margin-right: auto;
    margin-bottom: -72px;
    margin-left: auto;
    transform: none;
  }
  .service__inner {
    padding-right: 20px;
    padding-left: 20px;
  }
  .service .title1__main {
    max-width: 240px;
  }
  .service__text br {
    display: none;
  }
  .service__content {
    flex-direction: column;
    margin-top: 0;
  }
  .service__left {
    flex: none;
    width: 100%;
    max-width: 360px;
    height: auto;
    aspect-ratio: 360 / 400;
    margin-right: auto;
    margin-left: auto;
  }
  .service__deco {
    left: -20px;
    width: 295px;
  }
  .service__img--1 {
    top: 35px;
    left: 10px;
    width: 245px;
  }
  .service__img--2 {
    top: 173px;
    left: 86px;
    width: 254px;
  }
  .service__right {
    flex: none;
    width: 100%;
    max-width: 350px;
    margin-top: 22px;
    margin-right: auto;
    margin-left: auto;
  }
  .can__inner {
    padding-right: 20px;
    padding-left: 20px;
  }
  .can__text br {
    display: none;
  }
  .can__img--1 {
    top: 124px;
    left: -6px;
    width: 89px;
  }
  .can__img--2 {
    top: 272px;
    right: 0;
    width: 110px;
  }
  .can__img--3 {
    top: 406px;
    left: 63px;
    width: 98px;
  }
  .can__img--4 {
    top: 553px;
    right: 0;
    width: 107px;
  }
}

@media (max-width: 389px) {
  .area .title1,
  .area__text {
    padding-right: 10px;
    padding-left: 10px;
  }
  .worries__inner {
    padding-right: 16px;
    padding-left: 16px;
  }
  .worries__title {
    font-size: 20px;
  }
  .worries__box {
    aspect-ratio: 320 / 400;
  }
  .worries__text {
    padding: 22% 11%;
    font-size: 10px;
  }
  .worries__text--1 {
        top: 50%;
    left: -16%;
    width: 75%;
    height: 48%;
  }
  .worries__text--2 {
        width: 70%;
    height: 48%;
  }
  .worries__text--3 {
        top: 34%;
    right: -16%;
    width: 84%;
    height: 48%;
  }
  .worries__img {
    left: auto;
    width: 54%;
    max-width: 180px;
    margin-top: -12%;
    margin-right: auto;
    margin-bottom: -64px;
    margin-left: auto;
  }
  .service__inner,
  .can__inner {
    padding-right: 16px;
    padding-left: 16px;
  }
  .service__img--2 {
    width: 70%;
  }
  .can-item__title,
  .can-item__text,
  .can-header__left h3,
  .can-header__right h3 {
    white-space: normal;
  }
  .can-item__right {
    padding: 5px;
  }
  .can-item__main {
    font-size: clamp(0.75rem, -0.409rem + 5.8vw, 1rem);
  }
  .can-item__text {
    font-size: clamp(0.625rem, 0.045rem + 2.9vw, 0.75rem);
  }
}
