@charset "UTF-8";
/*
 例：font-size: g.vw(15); デザインデータ上で375pxで作成されていて、15pxの場合
 viewport 幅に応じてスケールする（375px 幅で $size px 相当）
 iOS Safari 互換のため calc(100vw * N / 375) 形式を使用する
*/
/*
 フォントサイズ用。vw スケールに加え、ブラウザの文字サイズ設定（rem）も下限として反映する
*/
.home-hero {
  position: relative;
  text-align: center;
  background-color: #f6f6f6;
}

.home-hero__heading {
  width: 100%;
  margin: 0;
  font-size: 0;
  line-height: 0;
  aspect-ratio: 1500/2320;
}
@media print, screen and (min-width: 768px) {
  .home-hero__heading {
    aspect-ratio: 3200/1440;
  }
}
.home-hero__heading picture,
.home-hero__heading img {
  display: block;
  width: 100%;
  height: auto;
}

.home-concept {
  color: #fff;
  padding-top: calc(100vw * 45 / 375);
  padding-bottom: calc(100vw * 60 / 375);
  background-size: cover;
  background-position: center;
  background-repeat: no-repeat;
  background-image: url("/brand/grandcare/ys/assets/images/home/concept_bg.png");
  background-image: image-set(url("/brand/grandcare/ys/assets/images/home/concept_bg.avif") type("image/avif"), url("/brand/grandcare/ys/assets/images/home/concept_bg.png") type("image/png"));
}
@media print, screen and (min-width: 768px) {
  .home-concept {
    padding-top: 80px;
    padding-bottom: 80px;
    background-image: url("/brand/grandcare/ys/assets/images/home/concept_bg_desktop.png");
    background-image: image-set(url("/brand/grandcare/ys/assets/images/home/concept_bg_desktop.avif") type("image/avif"), url("/brand/grandcare/ys/assets/images/home/concept_bg_desktop.png") type("image/png"));
  }
}

.home-concept__block {
  display: flex;
  flex-direction: column;
  gap: calc(100vw * 40 / 375);
}
@media print, screen and (min-width: 768px) {
  .home-concept__block {
    flex-direction: row;
    align-items: center;
    gap: 150px;
  }
}

.home-concept__heading {
  font-size: max(1.375rem, 100vw * 22 / 375);
  letter-spacing: 0.02em;
  line-height: 1.75em;
  font-weight: 400;
  margin: 0;
  width: 100%;
  min-width: 0;
}
@media print, screen and (min-width: 768px) {
  .home-concept__heading {
    line-height: 2.32em;
    font-size: 25px;
    align-self: center;
    max-width: 368px;
  }
}
.home-concept__heading img {
  display: block;
  width: 100%;
  height: auto;
}

.home-concept__text {
  width: 100%;
  min-width: 0;
}
@media print, screen and (min-width: 768px) {
  .home-concept__text {
    max-width: 390px;
  }
}

.home-concept__text__paragraph {
  font-size: max(0.875rem, 100vw * 14 / 375);
  font-weight: 400;
  line-height: 2em;
  letter-spacing: 0.025em;
  margin: 0;
  width: 100%;
}
@media print, screen and (min-width: 768px) {
  .home-concept__text__paragraph {
    font-size: 16px;
    letter-spacing: 0.05em;
  }
}
.home-concept__text__paragraph img {
  display: block;
  width: 100%;
  height: auto;
}
.home-concept__text__paragraph + .home-concept__text__paragraph {
  margin-top: calc(100vw * 20 / 375);
}
@media print, screen and (min-width: 768px) {
  .home-concept__text__paragraph + .home-concept__text__paragraph {
    margin-top: 20px;
  }
}

.home-concept__text__note {
  margin: calc(100vw * 30 / 375) 0 0;
  font-size: max(0.625rem, 100vw * 10 / 375);
  width: 100%;
}
@media print, screen and (min-width: 768px) {
  .home-concept__text__note {
    margin-top: 45px;
    font-size: 12px;
  }
}

.home-concept__heading {
  opacity: 0;
  transform: translate3d(calc(100vw * -24 / 375), 0, 0);
  filter: blur(12px);
  transition: opacity 3s cubic-bezier(0.16, 1, 0.3, 1), transform 3s cubic-bezier(0.16, 1, 0.3, 1), filter 3s cubic-bezier(0.16, 1, 0.3, 1);
}
@media print, screen and (min-width: 768px) {
  .home-concept__heading {
    transform: translate3d(-36px, 0, 0);
  }
}
.home-concept__block.is-inview .home-concept__heading {
  opacity: 1;
  transform: translate3d(0, 0, 0);
  filter: blur(0);
}

.home-concept__text__paragraph,
.home-concept__text__note {
  opacity: 0;
  filter: blur(10px);
  transition: opacity 2.8s cubic-bezier(0.16, 1, 0.3, 1), filter 2.8s cubic-bezier(0.16, 1, 0.3, 1);
}
.home-concept__block.is-inview .home-concept__text__paragraph,
.home-concept__block.is-inview .home-concept__text__note {
  opacity: 1;
  filter: blur(0);
}

.home-concept__block.is-inview .home-concept__text__paragraph:nth-child(1) {
  transition-delay: 0.75s;
}
.home-concept__block.is-inview .home-concept__text__paragraph:nth-child(2) {
  transition-delay: 1.05s;
}
.home-concept__block.is-inview .home-concept__text__paragraph:nth-child(3) {
  transition-delay: 1.35s;
}
.home-concept__block.is-inview .home-concept__text__paragraph:nth-child(4) {
  transition-delay: 1.65s;
}
.home-concept__block.is-inview .home-concept__text__note {
  transition-delay: 1.95s;
}

.home-product > .container,
.home-key > .container,
.home-media > .container {
  opacity: 0;
  transform: translateY(calc(100vw * 30 / 375));
  transition: opacity 0.8s ease, transform 0.8s ease;
}
@media print, screen and (min-width: 768px) {
  .home-product > .container,
  .home-key > .container,
  .home-media > .container {
    transform: translateY(30px);
  }
}
.home-product > .container.is-inview,
.home-key > .container.is-inview,
.home-media > .container.is-inview {
  opacity: 1;
  transform: translateY(0);
}
@media (prefers-reduced-motion: reduce) {
  .home-product > .container,
  .home-key > .container,
  .home-media > .container {
    opacity: 1;
    transform: none;
    transition: none;
  }
}

.home-how > .container {
  opacity: 0;
  transition: opacity 0.6s ease;
}
.home-how > .container.is-inview {
  opacity: 1;
}
@media (prefers-reduced-motion: reduce) {
  .home-how > .container {
    opacity: 1;
    transition: none;
  }
}

.home-how__step__card {
  opacity: 0;
  transform: translate3d(0, calc(100vw * 30 / 375), 0);
  transition: opacity 1s cubic-bezier(0.16, 1, 0.3, 1), transform 1s cubic-bezier(0.16, 1, 0.3, 1);
}
@media print, screen and (min-width: 768px) {
  .home-how__step__card {
    transform: translate3d(-24px, 0, 0);
  }
}
.home-how > .container.is-inview .home-how__step__card {
  opacity: 1;
  transform: translate3d(0, 0, 0);
}

.home-how__step__list__item:not(:first-child)::before {
  opacity: 0;
  transition: opacity 0.8s cubic-bezier(0.16, 1, 0.3, 1), transform 0.8s cubic-bezier(0.16, 1, 0.3, 1);
  transform: translate(-50%, calc(-100% - calc(100vw * 5 / 375))) rotate(90deg) translate3d(0, calc(100vw * 30 / 375), 0);
}
@media print, screen and (min-width: 768px) {
  .home-how__step__list__item:not(:first-child)::before {
    transform: translate(-100%, -50%) translate3d(-24px, 0, 0);
  }
}

.home-how > .container.is-inview .home-how__step__list__item:nth-child(1) .home-how__step__card {
  transition-delay: 0.35s;
}
.home-how > .container.is-inview .home-how__step__list__item:not(:first-child)::before {
  opacity: 1;
  transition-delay: 0.5s;
  transform: translate(-50%, calc(-100% - calc(100vw * 5 / 375))) rotate(90deg);
}
@media print, screen and (min-width: 768px) {
  .home-how > .container.is-inview .home-how__step__list__item:not(:first-child)::before {
    transform: translate(-100%, -50%);
  }
}
.home-how > .container.is-inview .home-how__step__list__item:nth-child(2) .home-how__step__card {
  transition-delay: 0.65s;
}

@media (prefers-reduced-motion: reduce) {
  .home-concept__heading,
  .home-concept__text__paragraph,
  .home-concept__text__note {
    opacity: 1;
    transform: none;
    filter: none;
    transition: none;
  }
}

@media (prefers-reduced-motion: reduce) {
  .home-how__step__card {
    opacity: 1;
    transform: none;
    transition: none;
  }
}

@media (prefers-reduced-motion: reduce) {
  .home-how__step__list__item:not(:first-child)::before {
    opacity: 1;
    transition: none;
    transform: translate(-50%, calc(-100% - calc(100vw * 5 / 375))) rotate(90deg);
  }
}
@media print and (prefers-reduced-motion: reduce), screen and (prefers-reduced-motion: reduce) and (min-width: 768px) {
  .home-how__step__list__item:not(:first-child)::before {
    transform: translate(-100%, -50%);
  }
}

.home-product {
  color: #fff;
  background-color: #162d18;
  padding-top: calc(100vw * 60 / 375);
  padding-bottom: calc(100vw * 60 / 375);
}
@media print, screen and (min-width: 768px) {
  .home-product {
    padding-top: 80px;
    padding-bottom: 80px;
  }
}

.home-product__subheading {
  position: relative;
  margin-top: calc(100vw * 40 / 375);
  font-family: "Roboto", sans-serif;
  font-weight: 300;
  font-size: max(1.25rem, 100vw * 20 / 375);
  letter-spacing: 0.05em;
  text-align: center;
}
@media print, screen and (min-width: 768px) {
  .home-product__subheading {
    margin-top: 50px;
    font-size: 20px;
  }
}
.home-product__subheading::before {
  content: "";
  position: absolute;
  top: 50%;
  left: 0;
  width: 100%;
  height: 1px;
  background-color: #fff;
}

.home-product__subheading span {
  background-color: #162d18;
  position: relative;
  z-index: 1;
  padding: 0 calc(100vw * 20 / 375);
}
@media print, screen and (min-width: 768px) {
  .home-product__subheading span {
    padding: 0 20px;
  }
}

.home-product__images {
  max-width: 90%;
  margin-inline: auto;
  display: flex;
  align-items: flex-end;
  justify-content: center;
  gap: calc(100vw * 50 / 375);
  margin-top: calc(100vw * 40 / 375);
}
@media print, screen and (min-width: 768px) {
  .home-product__images {
    max-width: none;
    gap: 100px;
    margin-top: 50px;
  }
}

.home-product__images__item {
  flex: 1 1 0;
  min-width: 0;
  margin: 0;
}
.home-product__images__item:nth-child(1) {
  flex-grow: 46;
}
.home-product__images__item:nth-child(2) {
  flex-grow: 54;
}
@media print, screen and (min-width: 768px) {
  .home-product__images__item {
    flex: 0 0 auto;
  }
  .home-product__images__item:nth-child(1) {
    flex-grow: 0;
    width: 280px;
  }
  .home-product__images__item:nth-child(2) {
    flex-grow: 0;
    width: 350px;
  }
}
.home-product__images__item picture,
.home-product__images__item img {
  display: block;
  width: 100%;
  height: auto;
}

.home-product__text {
  margin-top: calc(100vw * 60 / 375);
}
@media print, screen and (min-width: 768px) {
  .home-product__text {
    margin-top: 80px;
  }
}

.home-product__text__heading {
  max-width: calc(100vw * 273 / 375);
  margin: 0 auto;
}
@media print, screen and (min-width: 768px) {
  .home-product__text__heading {
    max-width: 627px;
  }
}
.home-product__text__heading picture,
.home-product__text__heading img {
  display: block;
  width: 100%;
  height: auto;
}

.home-product__text__paragraph {
  font-size: max(0.875rem, 100vw * 14 / 375);
  letter-spacing: 0.01em;
  font-weight: 400;
  text-align: center;
  margin-top: calc(100vw * 30 / 375);
  line-height: 1.875em;
}
@media print, screen and (min-width: 768px) {
  .home-product__text__paragraph {
    font-size: 16px;
    margin-top: 40px;
  }
}

.home-product__text__note {
  font-size: max(0.625rem, 100vw * 10 / 375);
  letter-spacing: 0.025em;
  text-align: center;
  margin-top: calc(100vw * 20 / 375);
}
@media print, screen and (min-width: 768px) {
  .home-product__text__note {
    font-size: 12px;
    margin-top: 40px;
    letter-spacing: 0.075em;
  }
}

.home-key {
  color: #fff;
  background-color: #162d18;
  padding-top: calc(100vw * 60 / 375);
  padding-bottom: calc(100vw * 60 / 375);
}
@media print, screen and (min-width: 768px) {
  .home-key {
    padding-top: 80px;
    padding-bottom: 80px;
  }
}

.home-key__columns {
  max-width: 940px;
  margin: calc(100vw * 40 / 375) auto 0;
  display: flex;
  flex-direction: column;
  gap: calc(100vw * 40 / 375);
}
@media print, screen and (min-width: 768px) {
  .home-key__columns {
    flex-direction: row;
    align-items: center;
    gap: 60px;
    margin-top: 60px;
  }
}

.home-key__columns__column {
  width: 100%;
}

.home-key__text__copy {
  font-size: max(1.125rem, 100vw * 18 / 375);
  letter-spacing: 0.05em;
  line-height: 1.5em;
  text-align: center;
}
@media print, screen and (min-width: 768px) {
  .home-key__text__copy {
    font-size: 18px;
    text-align: left;
  }
}

.home-key__text__heading {
  margin-top: calc(100vw * 20 / 375);
  font-size: max(1.375rem, 100vw * 22 / 375);
  text-align: center;
}
@media print, screen and (min-width: 768px) {
  .home-key__text__heading {
    margin-top: 20px;
    font-size: 38px;
    text-align: left;
  }
}
.home-key__text__heading span {
  display: inline-block;
  position: relative;
  padding: 0 calc(100vw * 24 / 375);
}
@media print, screen and (min-width: 768px) {
  .home-key__text__heading span {
    padding: 0 24px;
  }
}
.home-key__text__heading span::before {
  content: "";
  background-image: url("/brand/grandcare/ys/assets/images/home/key_heading_deco.svg");
  background-repeat: no-repeat;
  background-size: contain;
  position: absolute;
  top: calc(100vw * 3 / 375);
  left: 0;
  width: calc(100vw * 10 / 375);
  height: calc(100vw * 24 / 375);
}
@media print, screen and (min-width: 768px) {
  .home-key__text__heading span::before {
    top: 3px;
    width: 14px;
    height: 40px;
  }
}
.home-key__text__heading span::after {
  content: "";
  background-image: url("/brand/grandcare/ys/assets/images/home/key_heading_deco.svg");
  background-repeat: no-repeat;
  background-size: contain;
  position: absolute;
  top: calc(100vw * 3 / 375);
  right: 0;
  width: calc(100vw * 10 / 375);
  height: calc(100vw * 24 / 375);
  transform: rotate(180deg);
}
@media print, screen and (min-width: 768px) {
  .home-key__text__heading span::after {
    top: 3px;
    width: 14px;
    height: 40px;
  }
}

.home-key__text__paragraph {
  font-size: max(0.875rem, 100vw * 14 / 375);
  font-weight: 400;
  line-height: 1.875em;
  letter-spacing: 0.01em;
  margin-top: calc(100vw * 20 / 375);
  padding: 0 calc(100vw * 15 / 375);
}
@media print, screen and (min-width: 768px) {
  .home-key__text__paragraph {
    font-size: 16px;
    margin-top: 30px;
    padding: 0;
  }
}

.home-how {
  color: #fff;
  background-color: #162d18;
  padding-top: calc(100vw * 60 / 375);
  padding-bottom: calc(100vw * 60 / 375);
}
@media print, screen and (min-width: 768px) {
  .home-how {
    padding-top: 80px;
    padding-bottom: 80px;
  }
}

.home-how__step {
  max-width: 900px;
  margin: calc(100vw * 60 / 375) auto 0;
}
@media print, screen and (min-width: 768px) {
  .home-how__step {
    margin-top: 60px;
  }
}

.home-how__step__heading {
  position: relative;
  font-size: max(1.0625rem, 100vw * 17 / 375);
  letter-spacing: 0.025em;
  line-height: 1.5em;
  font-weight: 400;
  text-align: center;
}
@media print, screen and (min-width: 768px) {
  .home-how__step__heading {
    text-align: left;
    letter-spacing: 0.15em;
  }
}
.home-how__step__heading::before {
  content: "";
  background-image: url("/brand/grandcare/ys/assets/images/home/how_heading_deco.svg");
  background-repeat: no-repeat;
  background-size: contain;
  position: absolute;
  bottom: calc(100vw * 30 / 375);
  left: 0;
  width: calc(100vw * 67 / 375);
  height: calc(100vw * 67 / 375);
}
@media print, screen and (min-width: 768px) {
  .home-how__step__heading {
    font-size: 28px;
    padding-left: 150px;
  }
  .home-how__step__heading::before {
    bottom: 0px;
    width: 115px;
    height: 115px;
  }
}

.home-how__step__list {
  margin-top: calc(100vw * 40 / 375);
  display: flex;
  flex-direction: column;
  gap: calc(100vw * 50 / 375);
}
@media print, screen and (min-width: 768px) {
  .home-how__step__list {
    flex-direction: row;
    gap: 0 57px;
    margin-top: 40px;
  }
}

.home-how__step__list__item {
  flex: none;
}
@media print, screen and (min-width: 768px) {
  .home-how__step__list__item {
    flex: 1;
  }
}
.home-how__step__list__item:not(:first-child) {
  position: relative;
}
.home-how__step__list__item:not(:first-child)::before {
  content: "";
  background-image: url("/brand/grandcare/ys/assets/images/home/how_step_arrow.svg");
  background-repeat: no-repeat;
  background-size: contain;
  position: absolute;
  top: 0;
  left: 50%;
  width: calc(100vw * 20 / 375);
  height: calc(100vw * 40 / 375);
}
@media print, screen and (min-width: 768px) {
  .home-how__step__list__item:not(:first-child)::before {
    top: 50%;
    left: -15px;
    width: 20px;
    height: 40px;
  }
}

.home-how__step__card {
  background-color: #fff;
  border-radius: calc(100vw * 10 / 375);
  display: grid;
  grid-template-columns: calc(100vw * 147 / 375) 1fr;
  gap: calc(100vw * 10 / 375);
  color: #162d18;
  padding: calc(100vw * 18 / 375) calc(100vw * 20 / 375);
}
@media print, screen and (min-width: 768px) {
  .home-how__step__card {
    display: flex;
    border-radius: 10px;
    gap: 0 20px;
    padding: 18px 20px;
  }
}

.home-how__step__card__text {
  display: contents;
}
@media print, screen and (min-width: 768px) {
  .home-how__step__card__text {
    display: block;
  }
}

.home-how__step__card__image {
  grid-column: 1;
  grid-row: 2;
  align-self: center;
  width: 100%;
}
.home-how__step__card__image img {
  display: block;
  width: 100%;
  height: auto;
}
@media print, screen and (min-width: 768px) {
  .home-how__step__card__image {
    grid-column: auto;
    grid-row: auto;
    flex-shrink: 0;
    width: 147px;
  }
}

.home-how__step__card__text__heading {
  grid-column: 1/-1;
  grid-row: 1;
  justify-self: center;
  width: calc(100vw * 80 / 375);
}
.home-how__step__card__text__heading img {
  display: block;
  width: 100%;
  height: auto;
}
@media print, screen and (min-width: 768px) {
  .home-how__step__card__text__heading {
    grid-column: auto;
    grid-row: auto;
    justify-self: auto;
    width: 80px;
  }
}

.home-how__step__card__text__paragraph {
  grid-column: 2;
  grid-row: 2;
  align-self: center;
  font-size: max(0.6875rem, 100vw * 11 / 375);
  letter-spacing: -0.025em;
  margin-top: 0;
  line-height: 1.7em;
}
@media print, screen and (min-width: 768px) {
  .home-how__step__card__text__paragraph {
    grid-column: auto;
    grid-row: auto;
    align-self: auto;
    font-size: 14px;
    margin-top: 20px;
  }
}

.home-media {
  color: #fff;
  background-color: #162d18;
  padding-top: calc(100vw * 60 / 375);
  padding-bottom: calc(100vw * 120 / 375);
}
@media print, screen and (min-width: 768px) {
  .home-media {
    padding-top: 80px;
    padding-bottom: 80px;
  }
}

.home-media__button {
  margin-top: calc(100vw * 30 / 375);
  max-width: 600px;
  margin-inline: auto;
  text-align: center;
}
@media print, screen and (min-width: 768px) {
  .home-media__button {
    margin-top: 30px;
  }
}

.home-media__button__anchor {
  position: relative;
  display: block;
  font-size: max(1rem, 100vw * 16 / 375);
  letter-spacing: 0.02em;
  color: #162d18;
  background-color: #fff;
  padding: calc(100vw * 10 / 375) calc(100vw * 55 / 375) calc(100vw * 10 / 375) calc(100vw * 10 / 375);
  transition: opacity 0.4s ease;
}
@media print, screen and (min-width: 768px) {
  .home-media__button__anchor {
    font-size: 21px;
    padding: 12px 55px 12px 10px;
  }
}
.home-media__button__anchor::after {
  content: "";
  position: absolute;
  right: calc(100vw * 30 / 375);
  top: 50%;
  transform: translateY(-50%);
  width: calc(100vw * 11 / 375);
  height: calc(100vw * 21 / 375);
  background: url("/brand/grandcare/ys/assets/images/home/media_arrow.svg") no-repeat center/contain;
}
@media print, screen and (min-width: 768px) {
  .home-media__button__anchor::after {
    right: 30px;
    width: 11px;
    height: 21px;
  }
}
@media (hover: hover) {
  .home-media__button__anchor:hover {
    opacity: 0.7;
  }
}