/* //////////////////////////////////////////////////

Title : index.scss
For   : hospis/

Created       : 2025-09-30
Last Modified : 2025-09-30

==========================================

Content

////////////////////////////////////////////////// */
/**
 * firstview
 */
.l-home-firstview {
  position: relative;
}

.c-home-firstview__visual {
  position: relative;
}
.c-home-firstview__lead {
  position: absolute;
}
.c-home-firstview__notes {
  position: absolute;
}
.c-home-firstview__scrollbar {
  position: absolute;
  right: calc(28000vw / var(--container-wide-value));
  bottom: 11.4rem;
  display: inline-block;
  -webkit-padding-end: 12.5rem;
          padding-inline-end: 12.5rem;
  font-size: 1.7rem;
  font-family: var(--font-combine);
  color: var(--color-base);
  text-transform: uppercase;
  writing-mode: vertical-lr;
}
.c-home-firstview__scrollbar-bar {
  position: absolute;
  left: 50%;
  transform: translateX(-50%);
  bottom: 0;
  width: 1px;
  height: 11rem;
  background-color: var(--color-base);
}
.c-home-firstview__scrollbar-bar::after {
  --scrollbar-icon-width: 1.2rem;
  content: "";
  position: absolute;
  bottom: 0;
  left: 0;
  right: 0;
  width: var(--scrollbar-icon-width);
  height: var(--scrollbar-icon-width);
  margin: auto;
  border: 1px solid var(--color-base);
  border-radius: 100vh;
  background-color: var(--color-white);
  -webkit-animation: scrollbar-icon-move 3s ease-in-out infinite, scrollbar-icon-hide 3s ease-out infinite;
          animation: scrollbar-icon-move 3s ease-in-out infinite, scrollbar-icon-hide 3s ease-out infinite;
}

/* --- for small viewport --- */
@media screen and (max-width: 767px) {
  .c-home-firstview__visual::after {
    content: "";
    position: absolute;
    bottom: -11rem;
    right: 0;
    width: 10.7rem;
    height: 14.2rem;
    background-image: url(../images/home/firstview-decoration-small.png);
    background-size: 100%;
  }
  .c-home-firstview__lead {
    top: calc(11000vw / var(--container-mobile-value));
    left: calc(1400vw / var(--container-mobile-value));
    width: calc(21000vw / var(--container-mobile-value));
  }
  .c-home-firstview__notes {
    bottom: calc(500vw / var(--container-mobile-value));
    left: 0;
    right: 0;
    width: calc(34000vw / var(--container-mobile-value));
    margin: auto;
  }
}
/* --- for large viewport --- */
@media screen and (min-width: 768px) {
  .c-home-firstview__lead {
    top: calc(17400vw / var(--container-wide-value));
    left: calc(20600vw / var(--container-wide-value));
    width: calc(80000vw / var(--container-wide-value));
  }
  .c-home-firstview__notes {
    bottom: calc(10000vw / var(--container-wide-value));
    right: calc(36000vw / var(--container-wide-value));
    width: calc(60000vw / var(--container-wide-value));
  }
}
/**
 * facilities
 */
/* --- for small viewport --- */
@media screen and (max-width: 767px) {
  #page-home .l-global-facilities {
    -webkit-margin-before: 5rem;
            margin-block-start: 5rem;
  }
}
/* --- for large viewport --- */
@media screen and (min-width: 768px) {
  #page-home .l-global-facilities {
    -webkit-margin-before: 10rem;
            margin-block-start: 10rem;
  }
}
/**
 * about
 */
.c-home-about__heading {
  --heading-text-align: center;
}
.c-home-about__description {
  letter-spacing: 0.05em;
}

/* --- for small viewport --- */
@media screen and (max-width: 767px) {
  .l-home-about {
    -webkit-margin-before: 7.5rem;
            margin-block-start: 7.5rem;
    overflow: hidden;
  }
  .c-home-about__container {
    -webkit-margin-before: 3rem;
            margin-block-start: 3rem;
  }
  .c-home-about__shell {
    display: grid;
  }
  .c-home-about__shell[data-about-section=top] .c-home-about__thumbnail {
    transform: translateX(-3.5rem);
  }
  .c-home-about__shell[data-about-section=bottom] .c-home-about__thumbnail {
    transform: translateX(-2.5rem);
  }
  .c-home-about__shell[data-about-section=bottom] .c-home-about__thumbnail::before {
    content: "";
    position: absolute;
    top: -4rem;
    left: -6.67rem;
    width: 48.3rem;
    height: 39rem;
    background-image: url(../images/home/about-us-bottom-background-small.png);
    background-size: 100%;
    background-repeat: no-repeat;
    z-index: var(--zindex-behind);
  }
  .c-home-about__shell + .c-home-about__shell {
    -webkit-margin-before: 2.5rem;
            margin-block-start: 2.5rem;
  }
  .c-home-about__description {
    -webkit-margin-before: 5rem;
            margin-block-start: 5rem;
    padding-inline: 3.5rem;
    font-size: 1.5rem;
    line-height: 2;
  }
}
/* --- for large viewport --- */
@media screen and (min-width: 768px) {
  .l-home-about {
    -webkit-margin-before: 13rem;
            margin-block-start: 13rem;
  }
  .c-home-about__container {
    max-width: var(--container-wide);
    width: 100%;
    -webkit-margin-before: 9rem;
            margin-block-start: 9rem;
    margin-inline: auto;
    overflow: hidden;
  }
  .c-home-about__shell {
    display: grid;
  }
  .c-home-about__shell:nth-of-type(odd) {
    -webkit-padding-end: calc((var(--container-wide) - var(--container-middle)) / 2);
            padding-inline-end: calc((var(--container-wide) - var(--container-middle)) / 2);
  }
  .c-home-about__shell:nth-of-type(even) {
    -webkit-padding-start: calc((var(--container-wide) - var(--container-middle)) / 2);
            padding-inline-start: calc((var(--container-wide) - var(--container-middle)) / 2);
    -webkit-padding-end: 17.8rem;
            padding-inline-end: 17.8rem;
  }
  .c-home-about__shell:nth-of-type(even) .c-home-about__thumbnail {
    grid-column: 2;
    grid-row: 1;
  }
  .c-home-about__shell:nth-of-type(even) .c-home-about__description {
    grid-column: 1;
    grid-row: 1;
  }
  .c-home-about__shell[data-about-section=top] {
    grid-template-columns: 80.8rem 1fr;
    -moz-column-gap: 8.5rem;
         column-gap: 8.5rem;
  }
  .c-home-about__shell[data-about-section=top] .c-home-about__description {
    -webkit-padding-before: 5.7rem;
            padding-block-start: 5.7rem;
  }
  .c-home-about__shell[data-about-section=bottom] {
    grid-template-columns: 1fr 60.8rem;
    -moz-column-gap: 16.4rem;
         column-gap: 16.4rem;
  }
  .c-home-about__shell[data-about-section=bottom] .c-home-about__thumbnail::before {
    content: "";
    position: absolute;
    top: -16.9rem;
    right: -40rem;
    width: 107.5rem;
    height: 82.3rem;
    background-image: url(../images/home/about-us-bottom-background-large.png);
    background-size: 100%;
    background-repeat: no-repeat;
    z-index: var(--zindex-behind);
  }
  .c-home-about__shell[data-about-section=bottom] .c-home-about__description {
    -webkit-padding-before: 10.3rem;
            padding-block-start: 10.3rem;
  }
  .c-home-about__shell + .c-home-about__shell {
    -webkit-margin-before: 4.5rem;
            margin-block-start: 4.5rem;
  }
  .c-home-about__thumbnail {
    position: relative;
  }
  .c-home-about__description {
    -webkit-padding-before: 5.7rem;
            padding-block-start: 5.7rem;
    font-size: 1.8rem;
    line-height: 2.2222222222;
  }
}
/**
 * feature
 */
.l-home-feature {
  position: relative;
}
.l-home-feature::before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  background-repeat: no-repeat;
  z-index: var(--zindex-behind);
}

.c-home-feature__heading {
  --heading-flex-direction: row;
  --heading-text-align: left;
  --heading-main-line-height: 1;
  --heading-sub-line-height: 1;
  align-items: end;
}
.c-home-feature__container {
  overflow: hidden;
}
.c-home-feature__shell {
  display: grid;
  grid-template-columns: 100%;
}
.c-home-feature__block {
  position: relative;
  background-color: var(--color-white);
}
.c-home-feature__block::before, .c-home-feature__block::after {
  position: absolute;
  border-radius: 100%;
  pointer-events: none;
}
.c-home-feature__sub-heading {
  display: flex;
  align-items: center;
}
.c-home-feature__sub-heading--number {
  color: var(--color-theme-light);
  font-family: var(--font-combine);
  font-weight: 300;
}
.c-home-feature__sub-heading--text {
  font-weight: 600;
  letter-spacing: 0.05em;
}
.c-home-feature__thumbnail {
  position: relative;
  z-index: var(--zindex-overlay);
}

/* --- for small viewport --- */
@media screen and (max-width: 767px) {
  .l-home-feature {
    -webkit-margin-before: 5rem;
            margin-block-start: 5rem;
    -webkit-padding-before: 7.5rem;
            padding-block-start: 7.5rem;
  }
  .l-home-feature::before {
    height: 104.3010752688%;
    background-image: url(../images/home/feature-background-small.jpg);
    background-size: 100%;
  }
  .c-home-feature__heading {
    --heading-gap: 1.5rem;
    padding-inline: 1.5rem;
  }
  .c-home-feature__heading .c-heading__sub {
    -webkit-padding-after: 0.5em;
            padding-block-end: 0.5em;
  }
  .c-home-feature__shell {
    row-gap: 3rem;
    -webkit-margin-before: 3.5rem;
            margin-block-start: 3.5rem;
  }
  .c-home-feature__block {
    width: 37rem;
    -webkit-padding-before: 1rem;
            padding-block-start: 1rem;
    -webkit-padding-after: 2rem;
            padding-block-end: 2rem;
    border-radius: 1rem;
  }
  .c-home-feature__block:nth-of-type(odd) {
    -webkit-margin-start: auto;
            margin-inline-start: auto;
    transform: translateX(3rem);
  }
  .c-home-feature__block:nth-of-type(odd) .c-home-feature__sub-heading {
    -webkit-padding-start: 2rem;
            padding-inline-start: 2rem;
  }
  .c-home-feature__block:nth-of-type(odd) .c-home-feature__thumbnail {
    transform: translateX(2rem);
  }
  .c-home-feature__block:nth-of-type(odd) .c-home-feature__description {
    -webkit-padding-start: 3rem;
            padding-inline-start: 3rem;
    -webkit-padding-end: 4.8rem;
            padding-inline-end: 4.8rem;
  }
  .c-home-feature__block:nth-of-type(even) {
    transform: translateX(-2rem);
  }
  .c-home-feature__block:nth-of-type(even) .c-home-feature__sub-heading {
    justify-content: flex-end;
    -webkit-padding-end: 3rem;
            padding-inline-end: 3rem;
  }
  .c-home-feature__block:nth-of-type(even) .c-home-feature__thumbnail {
    transform: translateX(-5.5rem);
  }
  .c-home-feature__block:nth-of-type(even) .c-home-feature__description {
    -webkit-padding-start: 5rem;
            padding-inline-start: 5rem;
    -webkit-padding-end: 1.5rem;
            padding-inline-end: 1.5rem;
  }
  .c-home-feature__sub-heading {
    gap: 1rem;
  }
  .c-home-feature__sub-heading--number {
    font-size: 4rem;
    line-height: 1.25;
  }
  .c-home-feature__sub-heading--text {
    font-size: 2rem;
    line-height: 1.65;
  }
  .c-home-feature__thumbnail {
    width: 41rem;
    -webkit-margin-before: 1rem;
            margin-block-start: 1rem;
  }
  .c-home-feature__description {
    -webkit-margin-before: 3rem;
            margin-block-start: 3rem;
    font-size: 1.5rem;
    line-height: 1.8;
    letter-spacing: 0.05em;
  }
}
/* --- for large viewport --- */
@media screen and (min-width: 768px) {
  .l-home-feature {
    -webkit-margin-before: 9rem;
            margin-block-start: 9rem;
    -webkit-padding-before: 9.5rem;
            padding-block-start: 9.5rem;
  }
  .l-home-feature::before {
    height: 120.8762886598%;
    background-image: url(../images/home/feature-background-large.jpg);
    background-size: min(100%, 192rem) auto;
    background-position: top center;
  }
  .c-home-feature__heading {
    --heading-gap: 4rem;
    width: var(--container-middle);
    margin-inline: auto;
  }
  .c-home-feature__heading .c-heading__sub {
    -webkit-padding-after: 1em;
            padding-block-end: 1em;
  }
  .c-home-feature__shell {
    row-gap: 5rem;
    width: var(--container-wide);
    -webkit-margin-before: 7rem;
            margin-block-start: 7rem;
    margin-inline: auto;
  }
  .c-home-feature__block {
    display: grid;
    grid-template-rows: auto 1fr;
    row-gap: 3rem;
    width: 173.5rem;
    padding-block: 7rem;
    border-radius: 5rem;
  }
  .c-home-feature__block:nth-of-type(odd) {
    grid-template-columns: 1fr 85.5rem;
    -moz-column-gap: 6rem;
         column-gap: 6rem;
    -webkit-margin-start: auto;
            margin-inline-start: auto;
    -webkit-padding-start: 5rem;
            padding-inline-start: 5rem;
    -webkit-padding-end: 10rem;
            padding-inline-end: 10rem;
    transform: translateX(17.5rem);
  }
  .c-home-feature__block:nth-of-type(even) {
    grid-template-columns: 82rem 1fr;
    -moz-column-gap: 6.5rem;
         column-gap: 6.5rem;
    padding-inline: 10rem;
    transform: translateX(-17.5rem);
  }
  .c-home-feature__block:nth-of-type(even) .c-home-feature__sub-heading {
    grid-column: 2;
  }
  .c-home-feature__block:nth-of-type(even) .c-home-feature__thumbnail {
    grid-column: 1;
  }
  .c-home-feature__block:nth-of-type(even) .c-home-feature__description {
    grid-column: 2;
  }
  .c-home-feature__block:nth-of-type(1)::after {
    content: "";
    right: 6.6rem;
    bottom: -25.6rem;
    width: 30.4rem;
    height: 25.6rem;
    background-color: #fffa88;
    opacity: 0.19;
    filter: blur(5rem);
  }
  .c-home-feature__block:nth-of-type(2)::before {
    content: "";
    left: 27.3rem;
    bottom: -12.2rem;
    width: 29.5rem;
    height: 24.3rem;
    background-color: #bedbff;
    opacity: 0.76;
    z-index: var(--zindex-front);
    filter: blur(5rem);
  }
  .c-home-feature__block:nth-of-type(2)::after {
    content: "";
    left: 8.5rem;
    bottom: -34.8rem;
    width: 30.4rem;
    height: 25.6rem;
    background-color: #fffa88;
    opacity: 0.19;
    filter: blur(5rem);
  }
  .c-home-feature__sub-heading {
    grid-row: 1;
    gap: 3rem;
  }
  .c-home-feature__sub-heading--number {
    font-size: 7.6rem;
    line-height: 1.2236842105;
  }
  .c-home-feature__sub-heading--text {
    font-size: 3rem;
    line-height: 1.4333333333;
  }
  .c-home-feature__thumbnail {
    grid-row: 1/span 2;
  }
  .c-home-feature__description {
    grid-row: 2;
    font-size: 1.8rem;
    line-height: 1.8888888889;
  }
}
/**
 * reasons
 */
.l-home-reasons {
  max-width: var(--container-middle);
  width: 100%;
  margin-inline: auto;
}

.c-home-reasons__container {
  display: grid;
}
.c-home-reasons__item {
  position: relative;
  min-height: var(--reasons-item-container-size);
  background-image: url(../images/home/reasons-background.png);
  background-size: var(--reasons-item-container-size);
  background-repeat: no-repeat;
}
.c-home-reasons__icon {
  position: absolute;
  margin: auto;
}
.c-home-reasons__description dt {
  color: var(--color-theme-light);
  font-weight: 600;
  text-align: center;
  letter-spacing: 0.05em;
}

/* --- for small viewport --- */
@media screen and (max-width: 767px) {
  .l-home-reasons {
    -webkit-margin-before: 6rem;
            margin-block-start: 6rem;
  }
  .c-home-reasons__container {
    grid-template-columns: 100%;
    -webkit-margin-before: 2rem;
            margin-block-start: 2rem;
  }
  .c-home-reasons__heading {
    -webkit-padding-end: calc(var(--global-gutter) * 2);
            padding-inline-end: calc(var(--global-gutter) * 2);
  }
  .c-home-reasons__item {
    --reasons-item-container-size: 26rem;
    -webkit-padding-before: 7rem;
            padding-block-start: 7rem;
    -webkit-padding-after: 1rem;
            padding-block-end: 1rem;
  }
  .c-home-reasons__item:nth-of-type(odd) {
    background-position: top left;
  }
  .c-home-reasons__item:nth-of-type(odd) .c-home-reasons__icon {
    left: calc((var(--reasons-item-container-size) - var(--reasons-icon-size)) / 2);
  }
  .c-home-reasons__item:nth-of-type(even) {
    background-position: top right;
  }
  .c-home-reasons__item:nth-of-type(even) .c-home-reasons__icon {
    right: calc((var(--reasons-item-container-size) - var(--reasons-icon-size)) / 2);
  }
  .c-home-reasons__item:nth-of-type(even) .c-home-reasons__description dt {
    -webkit-margin-start: auto;
            margin-inline-start: auto;
  }
  .c-home-reasons__item + .c-home-reasons__item:nth-of-type(odd) {
    -webkit-margin-before: 6rem;
            margin-block-start: 6rem;
  }
  .c-home-reasons__item + .c-home-reasons__item:nth-of-type(even) {
    -webkit-margin-before: 3rem;
            margin-block-start: 3rem;
  }
  .c-home-reasons__icon {
    width: var(--reasons-icon-size);
  }
  .c-home-reasons__icon[data-reason-icon="01"] {
    --reasons-icon-size: 12rem;
    top: -2.4rem;
  }
  .c-home-reasons__icon[data-reason-icon="02"] {
    --reasons-icon-size: 6.6rem;
    top: -1.8rem;
  }
  .c-home-reasons__icon[data-reason-icon="03"] {
    --reasons-icon-size: 11.7rem;
    top: -4.7rem;
  }
  .c-home-reasons__icon[data-reason-icon="04"] {
    --reasons-icon-size: 5.5rem;
    top: -1.3rem;
  }
  .c-home-reasons__description dt {
    width: 26rem;
    font-size: 2.1rem;
    line-height: 1.2857142857;
  }
  .c-home-reasons__description dd {
    -webkit-margin-before: 2.5rem;
            margin-block-start: 2.5rem;
    padding-inline: 3.5rem;
    font-size: 1.5rem;
    line-height: 1.8;
  }
}
/* --- for large viewport --- */
@media screen and (min-width: 768px) {
  .l-home-reasons {
    -webkit-margin-before: 16rem;
            margin-block-start: 16rem;
  }
  .c-home-reasons__container {
    grid-template-columns: repeat(2, 1fr);
    -moz-column-gap: 8rem;
         column-gap: 8rem;
    row-gap: 1.5rem;
  }
  .c-home-reasons__item {
    --reasons-item-container-size: 36rem;
    -webkit-padding-before: 8rem;
            padding-block-start: 8rem;
    background-position: top center;
  }
  .c-home-reasons__item:nth-of-type(even) {
    -webkit-margin-before: 8.5rem;
            margin-block-start: 8.5rem;
  }
  .c-home-reasons__icon {
    left: 0;
    right: 0;
  }
  .c-home-reasons__icon[data-reason-icon="01"] {
    width: 16.7rem;
    top: -3.6rem;
  }
  .c-home-reasons__icon[data-reason-icon="02"] {
    width: 8.5rem;
    top: -2rem;
  }
  .c-home-reasons__icon[data-reason-icon="03"] {
    width: 15rem;
    top: -5.4rem;
  }
  .c-home-reasons__icon[data-reason-icon="04"] {
    width: 8.3rem;
    top: -2.5rem;
  }
  .c-home-reasons__description dt {
    font-size: 2.7rem;
    line-height: 1.2592592593;
  }
  .c-home-reasons__description dd {
    -webkit-margin-before: 4.5rem;
            margin-block-start: 4.5rem;
    padding-inline: 1.5rem;
    font-size: 1.8rem;
    line-height: 1.5;
  }
}
/*# sourceMappingURL=index.css.map */