@charset "UTF-8";

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

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

.p-mv-section__catch {
  position: relative;
  z-index: 1;
  display: flex;
  grid-column: 1/1;
  align-items: center;
  grid-row: 1/1;
}

.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 {
  width: 100%;
  overflow: visible;
}

.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 {
  position: relative;
  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-clinic-info {
  padding-top: 2rem;
  margin-top: var(--section-gap-xs);
  margin-bottom: var(--section-gap-xs);
}

@media (orientation: portrait) {
  .p-clinic-info {
    animation-delay: 0.85s;
  }
}

.p-clinic-info__inner {
  display: grid;
  grid-template-columns: 1fr 0.8fr;
  gap: 8%;
}

@media (max-width: 1024px) {
  .p-clinic-info__inner {
    grid-template-columns: 1fr;
  }
}

.p-clinic-info__logo {
  display: block;
}

.p-clinic-info__box {
  display: flex;
  flex-wrap: wrap;
  gap: 1rem 2rem;
  margin-top: 1rem;
}

@media (max-width: 1024px) {
  .p-clinic-info__box {
    flex-direction: column;
  }
}

.p-clinic-info__tel {
  display: flex;
  align-items: baseline;
  width: fit-content;
  font-family: var(--font-serif);
  font-size: 4rem;
  line-height: 1.5;
  letter-spacing: 0.05em;
}

.p-clinic-info__tel small {
  margin-right: 0.5em;
  font-size: 0.5em;
  text-transform: uppercase;
}

.p-clinic-info__buttons {
  display: flex;
  flex-wrap: wrap;
  gap: 0.75rem;
  align-items: center;
  justify-content: center;
}

.p-clinic-info__line {
  --button-color: var(--color-brand-line);
}

.p-clinic-info__address {
  margin-top: 1.5rem;
}

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

.p-notice-section {
  container-type: inline-size;
  margin-top: var(--section-gap-xs);
  margin-bottom: var(--section-gap-xs);
}

.p-notice-section__inner {
  width: fit-content;
  padding: 4rem 8rem;
  margin-inline: auto;
}

@media (max-width: 1024px) {
  .p-notice-section__inner {
    padding: 4rem 3rem;
  }
}

@media (min-width: 1025px) {
  .p-notice-section__list {
    display: flex;
    column-gap: 8rem;
  }
}

@media (max-width: 1024px) {
  .p-notice-section__list {
    display: grid;
    row-gap: 3rem;
  }
}

@media (min-width: 1025px) {
  .p-notice {
    flex: 1;
    max-width: 41cqw;
  }
}

.p-notice__heading {
  margin-bottom: 0.5em;
  font-family: var(--font-serif);
  font-size: 2.5rem;
  color: var(--color-text-primary);
}

.p-notice__open {
  font-family: var(--font-serif);
  font-size: 2.5rem;
  line-height: 1.6;
}

.p-notice__open>em {
  font-size: 4.5rem;
  font-style: normal;
}

@media (max-width: 525px) {
  .p-notice__open>em {
    font-size: 3.9rem;
  }
}

.p-notice__message {
  margin-top: 1.25rem;
  font-size: 1.42rem;
}

.p-notice__preview__date {
  font-family: var(--font-serif);
  font-size: 2rem;
  line-height: 1.35;
}

.p-notice__preview__date>em {
  font-size: 3.85rem;
  font-style: normal;
}

@media (max-width: 525px) {
  .p-notice__preview__date>em {
    font-size: 3rem;
  }
}

.p-banner-section {
  background: #efe8e2;
  padding: 4.6vw 0;
}

.p-banner-section__link {
  display: block;
  width: 46.8vw;
  margin: 0 auto;
}

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

.p-info-section {
  --tab-active-bg-color: var(--color-primary);
  --tabs-y-padding: 1rem;
  margin-top: var(--section-gap-md);
  margin-bottom: var(--section-gap-md);
  isolation: isolate;
  container-type: inline-size;
}

.p-info-section__inner {
  position: relative;
  display: grid;
  grid-template-areas: "header body";
  grid-template-columns: auto 1fr;
  gap: 4rem 3rem;
}

@media (max-width: 1024px) {
  .p-info-section__inner {
    grid-template-areas: "header" "body";
    grid-template-columns: 1fr;
  }
}

.p-info-section__header {
  grid-area: header;
  min-width: 33rem;
  padding-inline: 2rem;
  margin-top: 5rem;
}

.p-info-section__body {
  grid-area: body;
}

.p-info-section__tabs {
  display: flex;
  gap: 1em;
  padding-bottom: var(--tabs-y-padding);
}

@media (width <=px) {
  .p-info-section__tabs {
    gap: 0.75em;
    font-size: var(--font-size-sm);
  }
}

.p-info-section__tab {
  max-width: 50%;
  min-height: 2em;
  padding: 0.75em 1.5em;
  line-height: 1;
  text-align: center;
  border-radius: var(--infinity);
  transition: color 0.12s, background 0.25s;
}

@media (width <=px) {
  .p-info-section__tab {
    padding-inline: 1em;
  }
}

.p-info-section__tab[aria-selected=true],
.p-info-section__tab:hover {
  color: var(--color-text-contrast);
  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;
}

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

.p-info-panel__main {
  --border: 1px solid currentcolor;
  --scrollbar-size: 10px;
  max-height: 28.5rem;
  border-block: var(--border-md) solid var(--color-text-base);
  opacity: 0;
  transition: opacity 0.2s;
}

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

@media (width <=px) {
  .p-info-panel__main {
    max-height: 14rem;
  }
}

@media (min-width: 1025px) {
  .p-info-panel__more-button {
    position: absolute;
    right: 0.8em;
    bottom: calc(100% + var(--tabs-y-padding));
  }
}

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

.p-info {
  --gap-y: 1em;
  --border-width: var(--border-md);
  --border-gap: calc(var(--border-width) * 2.5);
  --border-color: var(--color-text-base);
  padding: 1em;
}

.p-info+.p-info {
  background-image: radial-gradient(circle closest-side, var(--border-color) 99%, transparent 99%);
  background-repeat: repeat-x;
  background-size: calc(var(--border-width) + var(--border-gap)) var(--border-width);
}

.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-weight: var(--font-weight-bold);
  white-space: nowrap;
}

.p-info__tag {
  --dash-width: 1.25em;
  position: relative;
  display: flex;
  flex-wrap: wrap;
  row-gap: 0.25em;
  padding-left: calc(var(--dash-width) + 1em);
  font-size: var(--font-size-sm);
  line-height: 1;
  opacity: 0.75;
}

.p-info__tag::before {
  position: absolute;
  top: 0.5lh;
  left: 0;
  width: var(--dash-width);
  height: var(--border-md);
  content: "";
  background-color: currentcolor;
  translate: 0 -50%;
}

.p-info__tag__item:nth-child(n+2)::before {
  content: "・";
}

.p-info__body {
  margin-top: 0.5em;
}

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

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

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

.p-link-section {
  background: #eae8e1;
  padding-bottom: 4.7vw;
}

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

.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: 2.6vw;
}

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

.p-link {
  font-weight: var(--font-weight-medium);
  text-align: center;
  width: 26.5vw;
  background-color: var(--color-white);
  border-radius: 0.8vw;
  margin-top: -3.2vw;
  padding: 1.5vw 1.5vw 3.1vw;
  position: relative;
  z-index: 1;
  transition: ease .3s;
}

@media (max-width: 1024px) {
  .p-link {
    width: calc(50% - 7.5px);
  }
}

@media (max-width: 525px) {
  .p-link {
    border-radius: 6px;
    margin-top: -18.7vw;
    padding: 20px 5px 30px;
  }
}

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

.p-link::after {
  content: "";
  width: 2.6vw;
  height: 0.8vw;
  clip-path: polygon(0 0, 50% 100%, 100% 0);
  position: absolute;
  left: calc(50% - 1.3vw);
  bottom: 1.4vw;
  z-index: -1;
}

@media (max-width: 1024px) {
  .p-link::after {
    width: 24px;
    height: 8px;
    left: calc(50% - 12px);
    bottom: 12px;
  }
}

.p-link--endoscope::after {
  background-color: #a6c0bb;
}

.p-link--dental::after {
  background-color: #c8c4b2;
}

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

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

@media (max-width: 525px) {
  .p-link__heading {
    font-size: 5vw;
  }
}

.p-link--endoscope .p-link__heading {
  color: #397468;
}

.p-link--dental .p-link__heading {
  color: #756c3f;
}

.p-link__heading small {
  font-size: 0.8vw;
}

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

@media (max-width: 525px) {
  .p-link__heading small {
    font-size: 3.2vw;
  }
}

.p-link-schedule {
  margin-top: 1vw;
}

@media (max-width: 1024px) {
  .p-link-schedule {
    margin-top: 10px;
  }
}

.p-link-schedule__text {
  font-size: 0.9vw;
}

@media (max-width: 1024px) {
  .p-link-schedule__text {
    font-size: 1.1rem;
  }
}

@media (max-width: 525px) {
  .p-link-schedule__text span {
    width: fit-content;
    text-align: right;
    display: inline-block;
  }
}

/* 本日の診療時間（WPお知らせ） */
.p-schedule-section {
  background: #eae8e1;
  padding-bottom: 4.7vw;
}

@media (max-width: 1024px) {
  .p-schedule-section {
    padding-bottom: 40px;
  }
}

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

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

.p-schedule {
  border: 2px solid #b9a68e;
  background-color: #f3eeeb;
}

.p-schedule__heading {
  font-size: 1.3vw;
  font-weight: var(--font-weight-medium);
  color: var(--color-white);
  text-align: center;
  letter-spacing: 0.1em;
  background-color: #b9a68e;
  padding: 0.7vw 1vw;
}

@media (max-width: 1024px) {
  .p-schedule__heading {
    font-size: 1.8rem;
    padding: 10px 15px;
  }
}

.p-schedule__content {
  font-size: 0.95vw;
  line-height: 1.9;
  padding: 1.8vw 2.6vw;
}

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

.p-schedule__content p + p {
  margin-top: 1em;
}

.p-schedule__content hr {
  border: none;
  border-top: 1px solid #b9a68e;
  margin: 1em 0;
}

.p-apo-web__intro {
  display: block;
  grid-area: intro;
  font-size: calc((var(--font-size-md) + var(--font-size-lg)) / 2);
  font-weight: var(--font-weight-bold);
}

@media (max-width: 1024px) {
  .p-apo-web__intro {
    width: fit-content;
    margin-inline: auto;
    margin-bottom: 1.5em;
  }
}

.p-apo-web__text {
  grid-area: text;
  margin-bottom: 1em;
  font-size: var(--font-size-sm);
}

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

.p-apo-web__buttons {
  display: flex;
  flex-wrap: wrap;
  gap: 0.75rem;
  align-items: center;
}

@media (max-width: 1024px) {
  .p-apo-web__buttons {
    justify-content: center;
  }
}

.p-apo-web__line {
  --button-color: var(--color-brand-line);
}

.p-concept {
  min-height: 82.1vw;
  background: #99b499;
  position: relative;
  display: flex;
  flex-direction: column;
}

.p-concept__inner {
  width: 22vw;
  margin: 7.5vw 0 7.5vw 29.2vw;
}

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

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

@media (max-width: 1024px) {
  .p-concept__header {
    font-size: 8.4rem;
    margin-bottom: 40px;
  }
}

.p-concept__lead {
  font-size: 2vw;
  font-family: var(--font-heading);
}

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

.p-concept__lead__text {
  display: block;
}

.p-concept__image,
.p-concept__figure picture {
  position: absolute;
}

.p-concept__figure picture:nth-child(1) {
  width: 40.4vw;
  right: 0;
  top: 0;
}

@media (max-width: 1024px) {
  .p-concept__figure picture:nth-child(1) {
    width: 100vw;
    position: static;
  }
}

.p-concept__figure picture:nth-child(1) img {
  width: 100%;
}

.p-concept__image:nth-child(2) {
  width: 17.2vw;
  left: 5.2vw;
  top: 6.2vw;
}

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

.p-concept__image:nth-child(3) {
  width: 17.2vw;
  left: 0;
  top: 32.9vw;
}

@media (max-width: 1024px) {
  .p-concept__image:nth-child(3) {
    width: 43vw;
    left: 20px;
    top: 60.5vw;
  }
}

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

@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-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-access-section {
  background: #ded2c4;
  padding-top: 7.5vw;
}

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

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

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

.p-access-section__map {
  display: flex;
  align-items: center;
  column-gap: 5.2vw;
  margin-bottom: 5.2vw;
}

@media (max-width: 1024px) {
  .p-access-section__map {
    flex-direction: column;
    margin-bottom: 60px;
  }
}

.p-access-section__map iframe {
  width: 55.2vw;
  height: 26vw;
}

@media (max-width: 1024px) {
  .p-access-section__map iframe {
    width: 100%;
    height: auto;
    aspect-ratio: 40/27;
  }
}

.p-access-section__title {
  color: #726357;
  font-size: 2.5vw;
  font-weight: var(--font-weight-bold);
  letter-spacing: 0.1rem;
  line-height: 1;
  margin-left: 9.8vw;
}

@media (max-width: 1024px) {
  .p-access-section__title {
    font-size: 2.6rem;
    margin: 0 0 40px 20px;
  }
}

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

@media (max-width: 1024px) {
  .p-access-section__main {
    margin-top: 0;
    background-color: #726357;
  }
}

.p-access-section__main::before {
  content: "";
  width: calc(100% - 9.8vw);
  height: calc(100% + 2.7vw);
  background-color: #726357;
  position: absolute;
  left: 9.8vw;
  top: -2.7vw;
}

@media (max-width: 1024px) {
  .p-access-section__main::before {
    width: 100%;
    height: 100%;
    left: 0;
    top: -40px;
  }
}

.p-access-section__transit {
  letter-spacing: 0.1em;
  display: flex;
  flex-direction: column;
  row-gap: 3.1vw;
}

@media (max-width: 1024px) {
  .p-access-section__transit {
    margin-top: 40px;
    row-gap: 40px;
  }
}

.p-access-section__transit dl {
  background-repeat: no-repeat;
  background-position: left center;
  padding-left: 4.6vw;
}

@media (max-width: 1024px) {
  .p-access-section__transit dl {
    padding-left: 60px;
  }
}

.p-access-section__transit--train {
  background-image: url(../../images/ico_train_01.svg);
  background-size: 2.8vw;
}

@media (max-width: 1024px) {
  .p-access-section__transit--train {
    background-size: 35px;
  }
}

.p-access-section__transit--bus {
  background-image: url(../../images/ico_bus_01.svg);
  background-size: 3vw;
}

@media (max-width: 1024px) {
  .p-access-section__transit--bus {
    background-size: 39px;
  }
}

.p-access-section__transit--car {
  background-image: url(../../images/ico_car_01.svg);
  background-size: 3.3vw;
}

@media (max-width: 1024px) {
  .p-access-section__transit--car {
    background-size: 42px;
  }
}

.p-access-section__transit dt {
  font-size: 1.2vw;
}

@media (max-width: 1024px) {
  .p-access-section__transit dt {
    font-size: 2rem;
  }
}

.p-access-section__transit dd {
  color: #333;
  font-size: 0.8vw;
}

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

.p-access-section__list {
  --slides-per-view: 6;
  --slide-gap: 3rem;
  margin-bottom: 100px;
}

@media (max-width: 1024px) {
  .p-access-section__list {
    --slides-per-view: 3.35;
    --slide-gap: 18px;
  }
}

@media (max-width: 525px) {
  .p-access-section__list {
    --slides-per-view: 1.8;
    --slide-gap: 16px;
  }
}

.p-access-section__list.swiper-wrapper {
  transition-timing-function: linear;
}

.p-facility__number {
  font-size: 1.8vw;
  font-family: var(--font-brigade);
  text-align: center;
  width: 2.6vw;
  height: 2.6vw;
  line-height: 2.6vw;
  background-color: #000;
  position: absolute;
  left: 0;
  bottom: 0;
  z-index: 1;
}

@media (max-width: 1024px) {
  .p-facility__number {
    font-size: 7vw;
    width: 10vw;
    height: 10vw;
    line-height: 10vw;
  }
}

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

.swiper-backface-hidden .swiper-slide {
  transform: none !important;
}

@media (max-width: 1024px) {
  .p-facility__thumb img {
    aspect-ratio: 32/18;
    object-fit: cover;
  }
}

.p-facility__button {
  width: 1.7vw;
  position: absolute;
  right: -1.25vw;
}

@media (max-width: 1024px) {
  .p-facility__button {
    width: 7vw;
    right: -3.5vw;
  }
}

.p-facility:last-child .p-facility__button {
  display: none;
}

.p-facility__button::after {
  display: none;
}

.p-facility p {
  font-size: 0.8vw;
  margin-top: 1vw;
}

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

.p-access-section__image {
  width: 100%;
  overflow: hidden;
}

@media (max-width: 1024px) {
  .p-access-section__image {
    margin-top: -30px;
    position: relative;
  }
}

.p-access-section__marquee {
  display: flex;
  width: max-content;
  animation: loop-marquee 30s linear infinite;
}

.p-access-section__picture {
  flex-shrink: 0;
  width: 100vw;
}

@media (max-width: 525px) {
  .p-access-section__picture {
    width: 300vw;
  }
}

.p-access-section__picture img {
  width: 100%;
  height: auto;
  display: block;
}

@keyframes loop-marquee {
  0% {
    transform: translateX(0);
  }
  100% {
    transform: translateX(-50%);
  }
}


.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-greeting2 {
  color: var(--color-white);
  background: #a59050;
  padding: 7.2vw 0;
}

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

.p-greeting2__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-greeting2__inner {
    grid-template-areas: "header" "sub" "main";
    grid-auto-columns: 1fr;
    grid-template-columns: 1fr;
    grid-template-rows: auto auto auto;
  }
}

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

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

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

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

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

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

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

.p-greeting2__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-greeting2__lead {
    font-size: 2.6rem;
    margin-bottom: 20px;
  }
}

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

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

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

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

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

.p-greeting2__button {
  color: #000;
  background: #c8c4b2;
}

.p-greeting2__button .c-button02__icon img {
  filter: invert(41%) sepia(21%) saturate(1200%) hue-rotate(15deg) brightness(95%) contrast(88%);
}

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

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

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

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

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

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