@charset "UTF-8";

.p-mv-section {
  overflow: hidden;
  isolation: isolate;
}

.p-mv-section__inner {
  display: grid;
}

.p-mv-section__logo {
  width: 18.5vw;
  position: relative;
  z-index: 1;
  display: flex;
  grid-column: 1/1;
  align-items: flex-start;
  grid-row: 1/1;
  padding: 1.5vw 0 0 2.4vw;
}

@media (max-width: 1024px) {
  .p-mv-section__logo {
    width: 22.1rem;
  }
}

.p-mv-section__catch {
  position: relative;
  z-index: 1;
  display: flex;
  grid-column: 1/1;
  align-items: flex-end;
  grid-row: 1/1;
  padding: 0 0 6.25vw 16.6vw;
}

@media (max-width: 525px) {
  .p-mv-section__catch {
    padding: 0 0 30px 30px;
  }
}

.p-mv-section__visual {
  width: 100%;
  position: relative;
  z-index: -1;
  grid-column: 1/1;
  margin-left: auto;
}

@media (min-width: 1025px) {
  .p-mv-section__visual {
    grid-row: 1/1;
  }
}

@media (max-width: 1024px) {
  .p-mv-section__visual {
    grid-row: 1;
    width: 100%;
  }
}

.p-catch {
  color: var(--color-white);
  font-size: 3.2vw;
  font-weight: var(--font-weight-medium);
  line-height: 1.6;
  letter-spacing: 0.1em;
  text-shadow: 0 0 1vw #000;
  width: 100%;
  overflow: visible;
}

@media (max-width: 1024px) {
  .p-catch {
    font-size: 3rem;
    text-shadow: 0 0 10px #000;
  }
}

.p-catch__list {
  display: flex;
  align-items: center;
}

.p-catch__item {
  --blur: 0.5rem;
  --opacity: 0;
  --translate: -1rem;
  overflow: visible !important;
  font-size: 3.95rem;
}

.p-catch__item__inner {
  position: relative;
  display: flex;
  justify-content: center;
}

.p-catch__image {
  width: 100%;
  max-width: 27.7vw;
}

@media (max-width: 1024px) {
  .p-catch__image {
    max-width: 86.2vw;
  }
}

@keyframes mv-visual-fade-in {
  0% {
    -webkit-mask-size: 0% auto;
    mask-size: 0% auto;
    opacity: 0.15;
  }

  100% {
    -webkit-mask-size: 180% auto;
    mask-size: 180% auto;
    opacity: 1;
  }
}

@keyframes mv-visual-zoom-out {
  0% {
    scale: 1.03;
  }

  100% {
    scale: 1;
  }
}

.p-visual {
  width: 100%;
  height: 100%;
  opacity: 0;
  animation-name: mv-visual-fade-in;
  animation-duration: 1.65s;
  animation-timing-function: ease-in-out;
  animation-delay: 0.5s;
  animation-fill-mode: forwards;
}

.p-visual__inner {
  position: relative;
  width: 100%;
  height: 100%;
}

.p-visual__item {
  overflow: hidden;
}

.p-visual__item__inner {
  width: 100%;
  height: 100%;
  scale: 1;
  animation-name: mv-visual-zoom-out;
  animation-duration: 3s;
  animation-timing-function: var(--ease-in-out-quart);
  animation-delay: 0s;
  animation-fill-mode: forwards;
}

.p-visual__picture {
  display: block;
  width: 100%;
  height: 100%;
}

.p-visual__image {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.p-visual__image:is([data-effect-type=fade] *) {
  --blur: 0;
  --opacity: 1;
  --scale: 1;
  filter: blur(var(--blur));
  opacity: var(--opacity);
  scale: var(--scale);
}

.p-visual__image:is([data-effect-type=fade] *):is(.after-once *) {
  --blur: 1.5rem;
  --opacity: 0;
  --scale: 1.05;
}

.p-visual__image:is([data-effect-type=fade] *):is(.swiper-slide-prev *, .swiper-slide-duplicate-prev *) {
  --blur: 1.5rem;
  --opacity: 0;
  --scale: 1;
  transition: opacity 1.2s, filter 1.85s;
}

.p-visual__image:is([data-effect-type=fade] *):is(.swiper-slide-next *) {
  --blur: 1.5rem;
  --opacity: 0;
  --scale: 1.05;
}

.p-visual__image:is([data-effect-type=fade] *):is(.swiper-slide-active *, .swiper-slide-duplicate-active *) {
  --blur: 0;
  --opacity: 1;
  --scale: 1;
  transition: opacity 1.2s, filter 1.85s, scale 3.5s var(--ease-out-expo);
}

.p-visual__image:is([data-effect-type=parallax] *) {
  --blur: 0;
  --translate: 0;
  filter: blur(var(--blur));
  transform-origin: left center;
  translate: var(--translate);
}

.p-visual__image:is([data-effect-type=parallax] *):is(.after-once *) {
  --blur: 0.55rem;
  --translate: -1.25rem;
}

.p-visual__image:is([data-effect-type=parallax] *):is(.swiper-slide-active *, .swiper-slide-duplicate-active *, .swiper-slide-prev *, .swiper-slide-duplicate-prev *) {
  --blur: 0rem;
  --translate: 0;
  transition: filter 1.85s, translate 1.85s var(--ease-out-quint);
}

.p-visual__image:is([data-effect-type=slide] *) {
  --blur: 0;
  --translate: 0;
  --opacity: 1;
  filter: blur(var(--blur));
  opacity: var(--opacity);
  translate: var(--translate);
}

.p-visual__image:is([data-effect-type=slide] *):is(.after-once *) {
  --blur: 0.75rem;
  --opacity: 0;
}

.p-visual__image:is([data-effect-type=slide] *):is(.swiper-slide-prev *, .swiper-slide-duplicate-prev *) {
  --translate: 2rem;
  --opacity: 0;
}

.p-visual__image:is([data-effect-type=slide] *):is(.swiper-slide-next *) {
  --translate: -2rem;
  --opacity: 0;
}

.p-visual__image:is([data-effect-type=slide] *):is(.swiper-slide-active *) {
  --blur: 0rem;
  --opacity: 1;
}

.p-visual__image:is([data-effect-type=slide] *):is(.swiper-slide-active *, .swiper-slide-duplicate-active *, .swiper-slide-prev *, .swiper-slide-duplicate-prev *) {
  transition: translate 1.75s var(--ease-out-quint), opacity 1.2s, filter 1.85s;
}

.p-info-section {
  --tab-active-bg-color: var(--color-primary);
  --tabs-y-padding: 1rem;
  isolation: isolate;
  container-type: inline-size;
  background: rgba(221, 210, 195, .5);
  padding: 3.9vw 0;
}

@media (max-width: 1024px) {
  .p-info-section {
    padding: 50px 0;
  }
}

.p-info-section__inner {
  display: flex;
  gap: 3.1vw;
}

@media (max-width: 1024px) {
  .p-info-section__inner {
    flex-direction: column;
    gap: 55px;
  }
}

.p-info-section__hours {
  letter-spacing: 0.1em;
  flex: 1;
}

.p-info-section__hours dt {
  color: var(--color-white);
  font-size: 1.2vw;
  font-weight: var(--font-weight-medium);
  text-align: center;
  height: 3.1vw;
  line-height: 3.1vw;
  background-color: #a59050;
}

@media (max-width: 1024px) {
  .p-info-section__hours dt {
    font-size: 2rem;
    height: 48px;
    line-height: 48px;
  }
}

.p-info-section__hours dd {
  height: calc(100% - 3.1vw);
  border: 1px solid #a59050;
  padding: 1.8vw;
}

@media (max-width: 1024px) {
  .p-info-section__hours dd {
    padding: 20px;
  }
}

.p-info-section__hours dd span {
  display: block;
  border-bottom: 1px solid #c2c2c2;
  margin-bottom: 1.5em;
  padding-bottom: 1.5em;
}

.p-info-section__body {
  flex: 1;
}

@media (max-width: 1024px) {
  .p-info-section__body {
    padding: 20px 0 0;
    position: relative;
    z-index: 1;
  }
}

@media (max-width: 1024px) {
  .p-info-section__body::before {
    content: "";
    width: calc(100 * var(--vw));
    height: calc(100% + 50px);
    background-color: #99b499;
    position: absolute;
    left: calc(50% - 50 * var(--vw));
    top: 0;
    z-index: -1;
  }
}

.p-info-section__header {
  text-align: left;
  margin: -1vw 0 1.5vw;
}

@media (max-width: 1024px) {
  .p-info-section__header {
    margin: 0 0 20px;
  }
}

.p-info-section__tabs {
  display: flex;
  gap: 3px;
}

.p-info-section__tab {
  width: 6.1vw;
  height: 2.3vw;
  line-height: 2.3vw;
  text-align: center;
  border-radius: 0.2vw 0.2vw 0 0;
  transition: color 0.3s, background 0.3s;
}

@media (max-width: 1024px) {
  .p-info-section__tab {
    width: 11.8rem;
    height: 4.6rem;
    line-height: 4.6rem;
    border-radius: 0.4rem 0.4rem 0 0;
  }
}

.p-info-section__tab {
  color: var(--color-text-contrast);
  position: relative;
  z-index: 1;
}

.p-info-section__tab#info-tab-news {
  background-color: #a59050;
}

.p-info-section__tab#info-tab-blog {
  background-color: var(--color-primary);
}

.p-info-section__tab::after {
  content: "";
  width: 0.9vw;
  height: 0.6vw;
  clip-path: polygon(0% 0%, 100% 0%, 50% 100%);
  position: absolute;
  left: calc(50% - 0.45vw);
  bottom: -0.6vw;
  z-index: -1;
}

@media (max-width: 1024px) {
  .p-info-section__tab::after {
    width: 1.8rem;
    height: 1.2rem;
    left: calc(50% - 0.9rem);
    bottom: -1.2rem;
    ;
  }
}

.p-info-section__tab[aria-selected=true]#info-tab-news::after {
  background-color: #a59050;
}

.p-info-section__tab[aria-selected=true]#info-tab-blog::after {
  background-color: var(--color-primary);
}

.p-info-section__panels {
  position: relative;
  display: grid;
  grid-template-rows: 1fr;
  grid-template-columns: 1fr;
}

.p-info-panel {
  position: relative;
  grid-row: 1/1;
  grid-column: 1/1;
  background-color: var(--color-white);
  padding: 1em;
}

.p-info-panel[aria-hidden=true] {
  visibility: hidden;
  opacity: 0;
}

.p-info-panel__main {
  --scrollbar-size: 10px;
  height: 16.1vw;
  opacity: 0;
  transition: opacity 0.3s;
}

@media (max-width: 1024px) {
  .p-info-panel__main {
    height: 310px;
  }
}

.p-info-panel__main[data-simplebar=init] {
  opacity: 1;
}

.p-info-panel__more-button {
  margin-left: auto;
  margin-top: 1.7vw;
}

@media (max-width: 1024px) {
  .p-info-panel__more-button {
    margin-top: 30px;
  }
}

.p-info {
  margin: 1em 1em 1em 0;
  padding-bottom: 1em;
  border-bottom: 1px solid #c2c2c2;
}

.p-info:last-child {
  border: none;
}

.p-info__meta {
  display: flex;
  flex-wrap: wrap;
  row-gap: 0.3em;
  column-gap: 0.5em;
  align-items: center;
}

.p-info__date {
  flex-shrink: 0;
  margin-top: 0.22em;
  font-size: 0.7vw;
  font-weight: var(--font-weight-medium);
  letter-spacing: 0.05em;
  white-space: nowrap;
}

@media (max-width: 1024px) {
  .p-info__date {
    font-size: 1.4rem;
  }
}

.p-info__tag {
  font-size: 0.7vw;
  line-height: 1;
  letter-spacing: 0.1em;
  width: 4.1vw;
  height: 1.3vw;
  line-height: 1.3vw;
  text-align: center;
  background-color: #ede9dc;
  border-radius: 100vh;
}

@media (max-width: 1024px) {
  .p-info__tag {
    font-size: 1.4rem;
    width: 79px;
    height: 24px;
    line-height: 24px;
  }
}

.p-info__body {
  letter-spacing: 0.1em;
  margin-top: 0.25em;
}

.p-info__title {
  font-weight: var(--font-weight-bold);
}

.p-info__title::before {
  content: "[";
}

.p-info__title::after {
  content: "]";
}

.p-link-section {
  background: #d7ccc8;
  padding: 2vw 0;
}

@media (max-width: 1024px) {
  .p-link-section {
    padding: 25px 0;
  }
}

.p-link-section__inner {
  width: 55.7vw;
  margin: 0 auto;
}

@media (max-width: 1024px) {
  .p-link-section__inner {
    width: auto;
    margin: 0 20px;
  }
}

.p-link-section__body {
  display: flex;
  justify-content: center;
  column-gap: 3.7vw;
}

@media (max-width: 1024px) {
  .p-link-section__body {
    column-gap: 10px;
  }
}

.p-link {
  font-weight: var(--font-weight-medium);
  width: 16.6vw;
  height: 4.1vw;
  background-color: var(--color-white);
  border: 1px solid #397468;
  display: flex;
  align-items: center;
  padding: 1vw;
  transition: ease .3s;
}

@media (max-width: 1024px) {
  .p-link {
    width: 50%;
    height: auto;
    padding: 10px;
  }
}

.p-link:hover {
  transform: translateY(0.5vw)
}

.p-link__heading {
  font-size: 0.9vw;
  font-weight: var(--font-weight-bold);
  line-height: 1.2;
}

@media (max-width: 1024px) {
  .p-link__heading {
    font-size: 1.6rem;
  }
}

.p-link__icon {
  width: 1.3vw;
  transform: rotate(90deg);
  margin-left: auto;
}

@media (max-width: 1024px) {
  .p-link__icon {
    width: 1.6rem;
  }
}

.p-link__icon img {
  filter: invert(47%) sepia(21%) saturate(735%) hue-rotate(328deg) brightness(96%) contrast(87%);
}

.p-outline-section {
  color: var(--color-white);
  background: #99b499;
  padding: 3.1vw 0;
}

@media (max-width: 1024px) {
  .p-outline-section {
    padding: 55px 0;
  }
}

.p-outline-section__inner {
  max-width: 46.8vw;
}

@media (max-width: 1024px) {
  .p-outline-section__inner {
    max-width: none;
    margin: 0 20px;
  }
}

.p-concept {
  color: var(--color-white);
  min-height: 43.3vw;
  background: #557767;
  position: relative;
  display: flex;
  flex-direction: column;
}

@media (max-width: 1024px) {
  .p-concept {
    min-height: 0;
  }
}

.p-concept__inner {
  width: 41.6vw;
  height: 100%;
  margin: 0 0 auto auto;
  padding: 5.2vw 10vw 0 0;
}

@media (max-width: 1024px) {
  .p-concept__inner {
    width: auto;
    margin: 40px 20px 40vw;
    padding: 0;
  }
}

.p-concept__header {
  font-size: 4.6vw;
  text-align: left;
  white-space: nowrap;
  margin-bottom: 3.1vw;
}

@media (max-width: 1024px) {
  .p-concept__header {
    font-size: 5.6rem;
    text-align: center;
    margin-bottom: 30px;
  }
}

.p-concept__lead {
  font-size: 2vw;
}

@media (max-width: 1024px) {
  .p-concept__lead {
    font-size: 2.8rem;
    text-align: center;
  }
}

.p-concept__lead__text {
  line-height: 1.6;
  letter-spacing: 0.15em;
  display: block;
}

.p-concept__image {
  position: absolute;
}

.p-concept__image:nth-child(1) {
  width: 50vw;
  height: 100%;
  aspect-ratio: 96/83.3;
  object-fit: cover;
  left: 0;
  top: 0;
}

@media (max-width: 1024px) {
  .p-concept__image:nth-child(1) {
    width: 100%;
    aspect-ratio: 400/246;
    object-position: center top;
    ;
    position: static;
  }
}

.p-concept__image:nth-child(2) {
  width: 13.1vw;
  right: 27.3vw;
  bottom: -8.4vw;
}

@media (max-width: 1024px) {
  .p-concept__image:nth-child(2) {
    width: 42vw;
    right: auto;
    left: 20px;
    bottom: -25vw;
  }
}

.p-concept__image:nth-child(3) {
  width: 13.1vw;
  right: 12.3vw;
  bottom: -5.9vw;
}

@media (max-width: 1024px) {
  .p-concept__image:nth-child(3) {
    width: 42vw;
    right: 20px;
    bottom: -17vw;
  }
}

.p-concept__content {
  font-size: 0.8vw;
  margin-top: 3.1em;
}

@media (max-width: 1024px) {
  .p-concept__content {
    font-size: 1.4rem;
    margin-top: 30px;
  }
}

.p-concept__bg {
  margin-top: auto;
}

.p-concept__bg img {
  width: 100%;
}

.p-features-section {
  background: #d7ccc8;
  padding: 8.8vw 0;
}

@media (max-width: 1024px) {
  .p-features-section {
    padding: 35vw 0 80px;
  }
}

.p-features-section__inner {
  max-width: 70.5vw;
}

@media (max-width: 1024px) {
  .p-features-section__inner {
    max-width: none;
    margin: 0 20px;
  }
}

.p-features-section__header {
  width: fit-content;
  margin-bottom: 5.2vw;
}

@media (max-width: 1024px) {
  .p-features-section__header {
    text-align: left;
    margin-bottom: 30px;
  }
}

.p-features-section__body {
  container-type: inline-size;
}

.p-features-section__list {
  display: flex;
  flex-wrap: wrap;
  gap: 5.9vw;
}

@media (max-width: 1024px) {
  .p-features-section__list {
    flex-direction: column;
    flex-wrap: nowrap;
    gap: 80px;
  }
}

.p-feature {
  width: 32.2vw;
  display: flex;
  flex-direction: column;
}

@media (max-width: 1024px) {
  .p-feature {
    width: 100%;
  }
}

.p-feature:nth-child(even) {
  margin-top: 5.2vw;
}

@media (max-width: 1024px) {
  .p-feature:nth-child(even) {
    margin-top: 0;
  }
}

.p-feature__lead {
  color: #000;
  font-size: 1.4vw;
  font-weight: var(--font-weight-medium);
  letter-spacing: 0.1em;
  margin-bottom: 1vw;
}

@media (max-width: 1024px) {
  .p-feature__lead {
    font-size: 2.6rem;
    margin-bottom: 30px;
  }
}

@media (max-width: 1024px) {
  .p-feature__content {
    margin-right: 20px;
  }
}

.p-feature__buttons {
  display: flex;
  flex-wrap: wrap;
  justify-content: flex-end;
  margin-top: 1vw;
}

@media (max-width: 1024px) {
  .p-feature__buttons {
    margin-top: 20px;
  }
}

.p-feature__figure {
  margin-bottom: 1vw;
}

@media (max-width: 1024px) {
  .p-feature__figure {
    margin: 0 -20px 30px 20px;
  }
}

@media (max-width: 1024px) {
  .p-feature__main {
    margin-left: 20px;
  }
}

.p-symptoms-section {
  background: #99b499;
  padding: 6.9vw 0;
}

@media (max-width: 1024px) {
  .p-symptoms-section {
    padding: 40px 0 55px;
  }
}

.p-symptoms-section__header {
  margin-bottom: 5.2vw;
}

@media (max-width: 1024px) {
  .p-symptoms-section__header {
    text-align: left;
    margin-bottom: 60px;
  }
}

.p-symptoms-section__header .c-heading01__caption {
  margin-top: 2vw;
}

.p-symptoms-section__header .c-heading01__caption span {
  font-size: 2vw;
  position: relative;
}

@media (max-width: 1024px) {
  .p-symptoms-section__header .c-heading01__caption span {
    font-size: 2.2rem;
    letter-spacing: 0;
  }
}

.p-symptoms-section__header .c-heading01__caption span::after {
  content: "";
  display: inline-block;
  background: #000;
  width: 100%;
  height: 1px;
  position: absolute;
  left: 0;
  bottom: -0.5vw;
}

.p-symptoms-section__content {
  display: flex;
  justify-content: space-between;
  gap: 4vw;
}

@media (max-width: 1024px) {
  .p-symptoms-section__content {
    flex-direction: column;
    gap: 80px;
    margin: 0 -15px;
  }
}

.p-symptoms {
  width: 50%;
  padding: 0 1.5vw;
  position: relative;
  z-index: 1;
}

@media (max-width: 1024px) {
  .p-symptoms {
    width: 100%;
    padding: 0 20px;
  }
}

.p-symptoms::before {
  content: "";
  width: 100%;
  height: 18.7vw;
  background-color: var(--color-white);
  position: absolute;
  left: 0;
  top: 0;
  z-index: -1;
}

@media (max-width: 1024px) {
  .p-symptoms::before {
    height: 27vw;
  }
}

@media (max-width: 525px) {
  .p-symptoms::before {
    width: calc(100% - 5px);
    height: 68.7vw;
  }
}

.p-symptoms__title {
  color: var(--color-white);
  font-size: 1.3vw;
  text-align: center;
  background-color: #333;
  margin: -1.5vw -0.5vw 1.5vw -2.2vw;
  padding: 0.5vw;
}

@media (max-width: 1024px) {
  .p-symptoms__title {
    font-size: 1.8rem;
    letter-spacing: 0;
    margin: -20px 0 20px 0;
    padding: 5px 10px;
  }
}

@media (max-width: 525px) {
  .p-symptoms__title {
    margin: -25px -10px 20px -40px;
  }
}

.p-symptoms__title span {
  color: #b8cab8;
}

  .p-symptoms__text {
    padding: 0 1vw;
  }

@media (max-width: 525px) {
  .p-symptoms__text {
    padding: 0 10px;
  }
}

.p-symptoms__list {
  color: var(--color-white);
  min-height: 20.5vw;
  background-color: #7c7763;
  margin-top: 1vw;
  padding: 1.5vw;
  display: flex;
  align-items: center;
  align-content: center;
  flex-wrap: wrap;
  gap: 1vw;
}

@media (max-width: 1024px) {
  .p-symptoms__list {
    min-height: 0;
    margin-top: 20px;
    padding: 20px;
    gap: 5px 20px;
  }
}

.p-symptoms__item {
  font-size: 0.9vw;
  display: flex;
  align-items: center;
  gap: 0.5vw;
  flex: 0 0 auto;
}


@media (max-width: 1024px) {
  .p-symptoms__item {
    font-size: 1.5rem;
    gap: 5px;
  }
}

.p-symptoms--gastro .p-symptoms__item.c-text--full {
  width: 100%;
}

.p-symptoms__icon {
  width: 1.2vw;
  display: block;
}

@media (max-width: 1024px) {
  .p-symptoms__icon {
    width: 15px;
  }
}

.p-symptoms__note {
  text-align: center;
  margin-top: 3.1vw;
}

@media (max-width: 1024px) {
  .p-symptoms__note {
    font-size: 1.4rem;
    text-align: left;
    margin: 15px 5px 0;
  }
}

.p-symptoms__buttons {
  display: flex;
  justify-content: center;
  margin-top: 2vw;
}

@media (max-width: 1024px) {
  .p-symptoms__buttons {
    margin-top: 50px;
  }
}

.p-endoscopy-section {
  text-align: center;
  background-color: rgba(221, 210, 195, .5);
  padding-top: 7vw;
}

@media (max-width: 1024px) {
  .p-endoscopy-section {
    padding-top: 45px;
  }
}

.p-endoscopy-section__header {
  margin-bottom: 4.1vw;
}

@media (max-width: 1024px) {
  .p-endoscopy-section__header {
    margin-bottom: 25px;
  }
}

.p-endoscopy__title {
  font-size: 2vw;
  font-weight: var(--font-weight-medium);
  letter-spacing: 0.1em;
  line-height: 1.6;
}

@media (max-width: 1024px) {
  .p-endoscopy__title {
    font-size: 3.2rem;
    text-align: left;
  }
}

.p-endoscopy-section__content {
  display: flex;
  gap: 3.1vw;
  margin-bottom: 7vw;
}

@media (max-width: 1024px) {
  .p-endoscopy-section__content {
    flex-direction: column;
    gap: 37px;
    margin-bottom: 70px;
  }
}

.p-endoscopy {
  color: var(--color-white);
  padding: 4.1vw 4.6vw;
  background-size: cover;
  background-repeat: no-repeat;
  background-position: center center;
  position: relative;
  z-index: 1;
}

@media (max-width: 525px) {
  .p-endoscopy {
    padding: 40px 30px 30px
  }
}

.p-endoscopy--gastro {
  background-image: url(../../images/top/endoscopy_01.jpg);
}

@media (max-width: 525px) {
  .p-endoscopy--gastro {
    margin-left: -20px;
  }
}

.p-endoscopy--colon {
  background-image: url(../../images/top/endoscopy_02.jpg);
}

@media (max-width: 525px) {
  .p-endoscopy--colon {
    margin-right: -20px;
  }
}

.p-endoscopy::before {
  content: "";
  width: 100%;
  height: 100%;
  background: rgba(53, 116, 91, .8);
  mix-blend-mode: multiply;
  position: absolute;
  left: 0;
  top: 0;
  z-index: -1;
}

.p-endoscopy__name {
  font-size: 2.5vw;
  font-weight: var(--font-weight-medium);
  letter-spacing: 0.1em;
  margin-bottom: 3.1vw;
  position: relative;
}

@media (max-width: 1024px) {
  .p-endoscopy__name {
    font-size: 3.2rem;
    margin-bottom: 50px;
  }
}

.p-endoscopy__name::after {
  content: "";
  width: 9.2vw;
  height: 1px;
  background-color: rgba(255, 255, 255, .5);
  position: absolute;
  left: calc(50% - 4.6vw);
  bottom: -1.5vw;
}

@media (max-width: 1024px) {
  .p-endoscopy__name::after {
    width: 105px;
    left: calc(50% - 52.5px);
    bottom: -20px;
  }
}

.p-endoscopy__name span {
  color: #ffffbe;
}

.p-endoscopy__text {
  text-align: left;
}

@media (max-width: 525px) {
  .p-endoscopy__text {
    margin: 0 20px;
  }
}

.p-endoscopy__button {
  color: #000;
  background-color: #b0c7c3;
  margin: 2vw auto 0;
}

@media (max-width: 1024px) {
  .p-endoscopy__button {
    margin: 40px auto 0;
  }
}

.p-endoscopy__button .c-button02__icon img {
  filter: invert(33%) sepia(21%) saturate(1210%) hue-rotate(113deg) brightness(95%) contrast(90%);
}

.p-endoscopy-section__image img {
  width: 100%;
}

.p-disease-section {
  text-align: center;
  background-color: #99b499;
  padding: 4.6vw 0;
}

@media (max-width: 1024px) {
  .p-disease-section {
    padding: 40px 0 55px;
  }
}

.p-disease-section__header {
  margin-bottom: 2.6vw;
}

@media (max-width: 1024px) {
  .p-disease-section__header {
    margin-bottom: 25px
  }
}

.p-disease__title {
  font-size: 2vw;
  font-weight: var(--font-weight-medium);
  letter-spacing: 0.1em;
  line-height: 1.4;
}

@media (max-width: 1024px) {
  .p-disease__title {
    font-size: 3.2rem;
  }
}

@media (max-width: 525px) {
  .p-disease__title {
    text-align: left;
  }
}

.p-disease-section__content {
  max-width: 50.3vw;
  display: flex;
  gap: 1.7vw;
  margin: 0 auto;
}

@media (max-width: 1024px) {
  .p-disease-section__content {
    max-width: none;
    flex-direction: column;
    gap: 24px;
  }
}

.p-disease {
  color: var(--color-white);
  background-color: #557767;
}

.p-disease__name {
  font-size: 1.3vw;
  font-weight: var(--font-weight-medium);
  letter-spacing: 0.05em;
  padding: 0.5vw;
}

@media (max-width: 1024px) {
  .p-disease__name {
    font-size: 2rem;
    padding: 2px;
  }
}

.p-disease__name span {
  color: #ffffbe;
}

.p-disease__image {
  border-left: 1px solid #557767;
  border-right: 1px solid #557767;
}

.p-disease__table {
  width: calc(100% - 2vw);
  margin: 1vw;
}

@media (max-width: 1024px) {
  .p-disease__table {
    font-size: 1.2rem;
    line-height: 1.6;
    width: calc(100% - 20px);
    margin: 15px;
  }
}

.p-disease__table th,
.p-disease__table td {
      letter-spacing: 0;
  padding: 0.2vw 0;
}

@media (max-width: 1024px) {

  .p-disease__table th,
  .p-disease__table td {
    padding: 2px 0;
  }
}

.p-disease__table th {
  width: 5.4vw;
}

@media (max-width: 1024px) {
  .p-disease__table th {
    width: 8rem;
  }
}

.p-disease__table th span {
  color: #000;
  letter-spacing: 0.1em;
  text-align: center;
  width: 5vw;
  height: 1.1vw;
  line-height: 1.1vw;
  display: inline-block;
  background-color: var(--color-white);
  clip-path: polygon(100% 0%, calc(100% - 0.6vw) 100%, 0% 100%, 0% 0%);
}

@media (max-width: 1024px) {
  .p-disease__table th span {
    width: 7.4rem;
    height: 1.7rem;
    ;
    line-height: 1.7rem;
    clip-path: polygon(100% 0%, calc(100% - 10px) 100%, 0% 100%, 0% 0%);
  }
}

.p-disease__table td {
  text-align: left;
}

.p-disease__buttons {
  display: flex;
  justify-content: center;
  margin-top: 3.1vw;
}

@media (max-width: 1024px) {
  .p-disease__buttons {
    margin: 50px 20px 0;
  }
}

.p-greeting {
  color: var(--color-white);
  background: #557767;
  padding: 7.2vw 0;
}

@media (max-width: 1024px) {
.p-greeting {
  padding: 40px 0 60px;
}
}

.p-greeting__inner {
  position: relative;
  display: grid;
  grid-template-areas: "header sub" "main sub";
  grid-auto-columns: 1fr;
  grid-template-columns: 1fr 1fr;
  grid-template-rows: auto auto;
  column-gap: 3.6rem;
  container-type: inline-size;
}

@media (max-width: 1024px) {
  .p-greeting__inner {
    grid-template-areas: "header" "sub" "main";
    grid-auto-columns: 1fr;
    grid-template-columns: 1fr;
    grid-template-rows: auto auto auto;
  }
}

.p-greeting__header {
  text-align: left;
  grid-area: header;
  margin-bottom: 3.1vw;
}

@media (max-width: 1024px) {
  .p-greeting__header {
    text-align: center;
    margin-bottom: 30px;
  }
}

.p-greeting__header .c-heading01__caption {
  margin-top: 1vw;
}

@media (max-width: 1024px) {
.p-greeting__header .c-heading01__caption {
  margin-top: 0;
}
}

.p-greeting__main {
  max-width: 27.6vw;
  display: flex;
  flex-direction: column;
  grid-area: main;
}

@media (max-width: 1024px) {
.p-greeting__main {
  max-width: none;
}
}

.p-greeting__main .c-heading01__caption {
  margin-top: 1vw;
}

.p-greeting__lead {
  font-size: 2vw;
  font-family: var(--font-heading);
  line-height: 1.6;
  letter-spacing: 0.1em;
  margin-bottom: 2.6vw;
}

@media (max-width: 1024px) {
  .p-greeting__lead {
    font-size: 2.6rem;
     margin-bottom: 20px;
  }
}

.p-greeting__content {
  grid-area: content;
}

.p-greeting__sign {
  justify-content: flex-end;
  margin-top: 2vw;
}

@media (max-width: 1024px) {
.p-greeting__sign {
  margin-top: 40px;
}
}

.p-greeting__buttons {
  grid-area: buttons;
  margin-top: 3.1vw;
}

@media (max-width: 1024px) {
.p-greeting__buttons {
  margin-top: 60px;
}
}

.p-greeting__button {
  color: #000;
  background: #b0c7c3;
}

.p-greeting__button .c-button02__icon img {
  filter: invert(32%) sepia(21%) saturate(1212%) hue-rotate(114deg) brightness(97%) contrast(88%);
}

.p-greeting__sub {
  grid-area: sub;
}

@media (max-width: 1024px) {
  .p-greeting__sub {
    display: contents;
  }
}

.p-greeting__portrait {
  position: relative;
  z-index: 0;
  margin-right: -16.6vw;
}

@media (max-width: 1024px) {
  .p-greeting__portrait {
    margin: 0 0 3rem;
  }
}

@media (max-width: 525px) {
  .p-greeting__portrait {
    margin: 0 -20px 3rem;
  }
}

.p-greeting__portrait>img {
  display: block;
  width: 100%;
}

.p-services-section {
  text-align: center;
  background-color: #d7ccc8;
  padding: 7.5vw 0;
}

@media (max-width: 1024px) {
  .p-services-section {
    padding: 60px 0 0;
  }
}

.p-services-section__inner {
  max-width: 66.6vw;
  margin: 0 auto;
}

@media (max-width: 1024px) {
  .p-services-section__inner {
    max-width: none;
    margin: 0 20px;
  }
}

.p-services-section__header {
  margin-bottom: 4.1vw;
}

@media (max-width: 1024px) {
  .p-services-section__header {
    text-align: left;
    margin-bottom: 30px;
  }
}

.p-services-section__list {
  display: flex;
  justify-content: space-between;
}

@media (max-width: 1024px) {
  .p-services-section__list {
    flex-direction: column;
    row-gap: 30px;
  }
}

.p-service {
  width: 31.2vw;
}

@media (max-width: 1024px) {
  .p-service {
    width: 100%;
    position: relative;
  }
}

.p-service--endoscope {
  background: #a4c9c0;
}

@media (max-width: 1024px) {
  .p-service--endoscope {
    left: -20px;
  }
}

.p-service--dental {
  background: #dfd7b3;
}

@media (max-width: 1024px) {
  .p-service--dental {
    right: -20px;
  }
}

.p-services-section__buttons {
  display: flex;
  flex-wrap: wrap;
  gap: 3rem 5rem;
  justify-content: center;
  margin-top: var(--section-gap-sm);
}

.p-service__inner {
  color: var(--color-white);
  text-shadow: 0 0 0.5vw #000;
  display: flex;
  flex-direction: column;
  justify-content: center;
  aspect-ratio: 60/27;
  background-size: cover;
  background-position: center cnter;
}

@media (max-width: 1024px) {
  .p-service__inner {
    aspect-ratio: auto;
    padding: 30px;
  }
}

.p-service--endoscope .p-service__inner {
  background-image: url(../../images/top/services_01.jpg);
}

.p-service--dental .p-service__inner {
  background-image: url(../../images/top/services_02.jpg);
}

.p-service__name {
  font-size: 2.2vw;
  letter-spacing: 0.15em;
  width: 20.4vw;
  display: block;
  margin: 0 auto 1vw;
}

@media (max-width: 1024px) {
  .p-service__name {
    font-size: 3rem;
    width: 57.2vw;
    margin: 0 auto 20px;
    ;
  }
}

.p-service__name span {
  display: block;
  border-bottom: 1px solid var(--color-white);
  padding-bottom: 1vw;
}

@media (max-width: 1024px) {
  .p-service__name span {
    padding-bottom: 10px;
  }
}

.p-service__lead {
  font-size: 1.2vw;
  letter-spacing: 0.1em;
}

@media (max-width: 1024px) {
  .p-service__lead {
    font-size: 1.8rem;
  }
}

.p-service__text {
  font-size: 0.9vw;
  line-height: 2;
  text-align: left;
  display: block;
  position: relative;
  padding: 1.5vw 2vw;
}

@media (max-width: 1024px) {
  .p-service__text {
    font-size: 1.4rem;
    padding: 20px 20px 45px;
  }
}

.p-service__button {
  width: 3.3vw;
  position: absolute;
  right: 2vw;
  bottom: 1.5vw;
}

@media (max-width: 1024px) {
  .p-service__button {
    width: 46px;
    right: 25px;
    bottom: 15px;
  }
}

.p-service__link:hover .p-service__button .c-button__icon {
  margin-right: -20%;
}

.p-service--endoscope .p-service__button .c-button__icon {
  filter: invert(32%) sepia(21%) saturate(1210%) hue-rotate(113deg) brightness(94%) contrast(89%);
}

.p-service--endoscope .p-service__dental .c-button__icon {
  filter: invert(41%) sepia(21%) saturate(738%) hue-rotate(9deg) brightness(96%) contrast(85%);
}

.p-clinic-section {
  background: #d7ccc8;
  padding-top: 5.7vw;
}

@media (max-width: 1024px) {
  .p-clinic-section {
    padding-top: 50px;
  }
}

.p-clinic-section__inner {
  margin-bottom: 5.7vw;
}

@media (max-width: 1024px) {
  .p-clinic-section__inner {
    margin-bottom: 60px;
  }
}

.p-clinic-section__header {
  margin-bottom: 3.1vw;
}

@media (max-width: 1024px) {
  .p-clinic-section__header {
    text-align: left;
    margin: 0 20px 20px;
  }
}

.p-clinic-section__lead {
  font-size: 1vw;
  text-align: center;
}

@media (max-width: 1024px) {
  .p-clinic-section__lead {
    font-size: 1.6rem;
    text-align: left;
    margin: 0 20px;
  }
}

.p-clinic-section__main {
  color: var(--color-text-contrast);
  margin-top: 3.1vw;
  position: relative;
}

@media (max-width: 1024px) {
  .p-clinic-section__main {
    margin-top: 45px;
  }
}

.p-clinic-section__image img {
  width: 100%;
}

.p-clinic-section .swiper {
  overflow: visible;
}

.p-clinic-section .swiper-pagination {
  height: 1.1vw;
  bottom: -4.2vw;
  font-size: 0;
}

@media (max-width: 1024px) {
  .p-clinic-section .swiper-pagination {
    height: 10px;
    bottom: -32px;
  }
}

.p-clinic-section .swiper-pagination-bullet {
  width: 1.1vw;
  height: 1.1vw;
  background-color: var(--color-white);
  opacity: 1;
}

@media (max-width: 1024px) {
  .p-clinic-section .swiper-pagination-bullet {
    width: 10px;
    height: 10px;
  }
}

.p-clinic-section .swiper-pagination-bullet-active {
  background-color: #ffffbe;
}

.p-clinic-section .swiper-button-prev,
.p-clinic-section .swiper-button-next {
  width: 2.4vw;
  height: 1.8vw;
  top: auto;
  bottom: -4.6vw;
}

@media (max-width: 1024px) {

  .p-clinic-section .swiper-button-prev,
  .p-clinic-section .swiper-button-next {
    width: 22px;
    height: 16px;
    bottom: -35px;
  }
}

.p-clinic-section .swiper-button-prev {
  transform: rotate(180deg);
  left: calc(50% - 11vw);
}

@media (max-width: 1024px) {
  .p-clinic-section .swiper-button-prev {
    left: calc(50% - 110px);
  }
}

.p-clinic-section .swiper-button-next {
  right: calc(50% - 11vw);
}

@media (max-width: 1024px) {
  .p-clinic-section .swiper-button-next {
    right: calc(50% - 110px);
  }
}

.p-clinic-section .swiper-button-prev:after,
.p-clinic-section .swiper-button-next:after {
  display: none;
}

.p-clinic-section .swiper-button-prev img,
.p-clinic-section .swiper-button-next img {
  filter: invert(33%) sepia(21%) saturate(1210%) hue-rotate(113deg) brightness(95%) contrast(90%);
}

.p-clinic__buttons {
  display: flex;
  justify-content: center;
  margin-top: 8.6vw;
}

@media (max-width: 1024px) {
  .p-clinic__buttons {
    margin: 80px 20px 0;
  }
}

.p-reserve-section {
  text-align: center;
  background-color: #f1eee5;
  padding: 5.2vw 0;
}

@media (max-width: 1024px) {
  .p-reserve-section {
    padding: 50px 0;
  }
}

.p-reserve-section__header {
  margin-bottom: 2vw;
}

@media (max-width: 1024px) {
  .p-reserve-section__header {
    margin-bottom: 20px;
  }
}

.p-reserve-section__title {
  font-size: 2vw;
  font-weight: var(--font-weight-medium);
  letter-spacing: 0.1em;
}

@media (max-width: 1024px) {
  .p-reserve-section__title {
    font-size: 2.6rem;
  }
}

.p-reserve-section__lead {
  font-size: 0.9vw;
  letter-spacing: 0.05em;
}

@media (max-width: 1024px) {
  .p-reserve-section__lead {
    font-size: 1.6rem;
    text-align: left;
  }
}

.p-reserve__buttons {
  display: flex;
  justify-content: center;
  margin-top: 2vw;
  gap: 1.1vw;
}

@media (max-width: 1024px) {
  .p-reserve__buttons {
  	flex-direction: column;
    margin-top: 40px;
    gap: 10px;
  }
}

.p-others-section {
  text-align: center;
  background-color: #99b499;
  padding: 5.2vw 0;
}

@media (max-width: 1024px) {
  .p-others-section {
    padding: 60px 0;
  }
}

.p-others-section__header {
  margin-bottom: 2vw;
}

@media (max-width: 1024px) {
  .p-others-section__header {
    margin-bottom: 20px;
  }
}

.p-others-section__title {
  font-size: 2vw;
  font-weight: var(--font-weight-medium);
  letter-spacing: 0.1em;
}

@media (max-width: 1024px) {
  .p-others-section__title {
    font-size: 2.6rem;
  }
}

.p-others-section__lead {
  font-size: 0.9vw;
  letter-spacing: 0.05em;
}

@media (max-width: 1024px) {
  .p-others-section__lead {
    font-size: 1.6rem;
    text-align: left;
  }
}

.p-others-section__content {
  display: flex;
  justify-content: center;
  gap: 1.1vw;
  margin-top: 1.5vw;
}

@media (max-width: 1024px) {
  .p-others-section__content {
    flex-direction: column;
    gap: 20px;
    margin-top: 40px;
  }
}

.p-others {
  width: 18.7vw;
  background-color: var(--color-white);
}

@media (max-width: 1024px) {
  .p-others {
    width: 100%;
  }
}

.p-others__title {
  color: var(--color-white);
  font-size: 1vw;
  letter-spacing: 0.1em;
  background-color: #557767;
  padding: 0.2vw;
}

@media (max-width: 1024px) {
  .p-others__title {
    font-size: 2rem;
    padding: 0;
  }
}

.p-others__text {
  border: 1px solid #557767;
  padding: 0.5vw;
}

@media (max-width: 1024px) {
  .p-others__text {
    padding: 10px;
  }
}

.p-others__text span {
  color: #557767;
}

.p-others__buttons {
  display: flex;
  justify-content: center;
  margin-top: 3.1vw;
}

@media (max-width: 1024px) {
  .p-others__buttons {
    margin-top: 40px;
  }
}

.p-movie-section {
  text-align: center;
  background-color: #d7ccc8;
  padding: 5.2vw 0;
}

@media (max-width: 1024px) {
  .p-movie-section {
    padding: 60px 0;
  }
}

.p-movie-section__header {
  margin-bottom: 2vw;
}

@media (max-width: 1024px) {
  .p-movie-section__header {
    margin-bottom: 20px;
  }
}

.p-movie-section__title {
  font-size: 2vw;
  font-weight: var(--font-weight-medium);
  letter-spacing: 0.1em;
}

@media (max-width: 1024px) {
  .p-movie-section__title {
    font-size: 2.6rem;
  }
}

.p-movie-section__content {
  display: flex;
  justify-content: center;
  gap: 1.1vw;
  margin-top: 1.5vw;
}

@media (max-width: 1024px) {
  .p-movie-section__content {
    flex-direction: column;
    gap: 20px;
    margin-top: 40px;
  }
}

.p-movie {
  width: 18.7vw;
  aspect-ratio: 560/315;
}

@media (max-width: 1024px) {
  .p-movie {
    width: 100%;
  }
}

.p-movie iframe {
  width: 100%;
  aspect-ratio: 560/315;
}