@charset "UTF-8";

.c-lead {
  font-size: 2.2rem;
  text-align: center;
  margin-bottom: 40px;
}

.ui--tab {
  display: none;
}

/*----------------------------------------------------
  access
----------------------------------------------------*/
.section-heading--info {
  width: 100%;
  line-height: 1.4;
  margin-bottom: 60px;
}

.section-heading--info .section-heading__title {
  display: flex;
  align-items: center;
}

.info .section-heading__label {
  margin-bottom: 0;
}

.section-heading--info .section-heading__title::after {
  display: block;
  content: '';
  flex: 1;
  border-top: 1px solid #DEDDE1;
  margin-left: 20px;
}

.l-col__info {
  justify-content: space-around;
}

.info-inner {
  width: 47.5%;
}

.clinic-info {
  display: flex;
  flex-wrap: wrap;
  margin-bottom: 20px;
}

.clinic-info__title {
  width: 120px;
  padding: 10px;
  box-sizing: border-box;
  line-height: 1.6;
  display: flex;
  align-items: center;
}

.clinic-info__title:not(:last-of-type) {
  border-bottom: 2px solid var(--bg-aqua-solid);
}

.clinic-info__desc:not(:last-of-type) {
  border-bottom: 1px solid var(--bg-aqua-solid2);
}

.clinic-info__desc {
  width: calc(100% - 120px);
  padding: 10px;
  box-sizing: border-box;
  line-height: 1.6;
}

.opening-list {
  list-style: none;
}

.clinic-info__tel {
  font-size: 2rem;
  letter-spacing: 0;
}

.info .clinic-hours {
  margin-bottom: 20px;
}

.info .clinic-notes {
  line-height: 1.8;
}

.info .clinic-notes--first {
  font-size: 1.4rem;
  margin-bottom: 10px;
}

.clinic-notes--info {
  box-sizing: border-box;
  padding-left: 14px;
}

.info .clinic-notes__item--s {
  font-size: 1.2rem;
}


.info__slider {
  position: relative;
  width: 45%;
  height: auto;
  overflow: hidden;
  aspect-ratio: 1/1;
}

.info__slide {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: auto;
  opacity: 0;
  transition: opacity 1s ease;
  pointer-events: none;
  border-radius: 10px;
}

.info__slide.active {
  opacity: 1;
  pointer-events: auto;
  z-index: 1;
}



/*----------------------------------------------------
  #access
----------------------------------------------------*/
section.access {
  padding-top: 0;
}

.l-col__access {
  margin-bottom: 80px;
  justify-content: space-around;
  align-items: center;
}

.access-inner {
  width: 50%;
}

.access-inner__title {
  margin-bottom: 20px;
  display: flex;
  align-items: center;
}

.access-inner__title::before {
  display: inline-block;
  content: '';
  width: calc(14px * 1.8);
  height: calc(13.22px * 1.8);
  background: url('../icon/icon-map.svg') center / contain no-repeat;
}

.access-box {
  display: flex;
  justify-content: space-between;
}

.access-box:nth-of-type(n+2) {
  margin-top: 14px;
}

p.access-box__title {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  line-height: 1.4;
  width: 40%;
  background: #e9f5fb;
  text-align: center;
  padding: 14px 20px;
  box-sizing: border-box;
  margin-bottom: 0;
}

.access-list {
  width: 57.5%;
  padding: 14px 20px 14px 34px;
  box-sizing: border-box;
}

.access-box__text {
  width: 57.5%;
  display: flex;
  align-items: center;
  padding: 10px 20px;
  box-sizing: border-box;
}

.access-item {
  line-height: 1.8;
}

.access-item__walk {
  margin-left: 5px;
  font-size: 2rem;
}

.access-img {
  width: 45%;
}

/*---route---*/
.route-title {
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  line-height: 1.6;
  margin-bottom: 50px;
}

.route-title__icon {
  width: 200px;
}

.route-title__main {
  font-size: 2.4rem;
}

.route-title__sub {
  font-size: 1.4rem;
}

.map {
  width: 100%;
  margin-bottom: 80px;
}

.map iframe {
  width: 100%;
  border-radius: 10px;
}

.route-box {
  width: 100%;
  padding: 60px 40px;
  box-sizing: border-box;
  background: #fff;
  border-radius: 20px;
}

.route-box:nth-of-type(n+2) {
  margin-top: 30px;
}

.route-box__title {
  font-size: 2.2rem;
  font-weight: 500;
  display: flex;
  align-items: center;
  margin-bottom: 30px;
  padding-bottom: 10px;
  border-bottom: 4px solid var(--bg-aqua-solid2);
  position: relative;
}

.route-box__title::after {
  display: block;
  content: '';
  width: 10%;
  border-top: 4px solid var(--bg-aqua-solid);
  position: absolute;
  bottom: -4px;
  left: 0;
}

.route-list {
  display: flex;
  justify-content: space-between;
  flex-wrap: wrap;
  list-style: none;
}

.route-item {
  width: calc(100%/3);
  display: flex;
  justify-content: space-between;
  align-items: center;
}

.route-item:nth-of-type(n+4) {
  margin-top: 30px;
}

.route-item__image {
  width: 40%;
  border-radius: 50vh;
}

.route-item__inner {
  width: 60%;
  line-height: 1.6;
  font-size: 1.4rem;
}

.route-item__icon {
  width: 30px;
  margin: 0 auto 10px auto;
}

.route-item__icon2 {
  width: 36px;
  margin: 0 auto 20px auto;
}

.route-item:not(:last-of-type) .route-item__text {
  border-top: 2px solid var(--bg-aqua-solid2);
}

.route-item__text {
  padding-left: 5%;
  padding-right: 5%;
  padding-top: 20px;
  box-sizing: border-box;
}

.route-item:last-of-type .route-item__text {
  padding-top: 10px;
}

@media screen and (max-width:1280px) {
  .info__slider {
    aspect-ratio: 1/1;
  }

  .info__slide {
    height: 100%;
    object-fit: cover;
    object-position: center;
  }
}

@media screen and (max-width:1024px) {

  /*---info---*/
  .l-col__info {
    width: 85%;
    flex-direction: column;
    margin-left: auto;
    margin-right: auto;
  }

  .info__slider {
    width: 100%;
    aspect-ratio: 10/7.5;
    margin-bottom: 40px;
  }

  .info-inner {
    width: 100%;
  }

  /*---access---*/
  .l-col__access {
    width: 75%;
    flex-direction: column;
    align-items: center;
    margin-left: auto;
    margin-right: auto;
  }

  .access-inner {
    width: 100%;
    margin-bottom: 50px;
  }

  .access-img {
    width: 100%;
  }

  .route-item {
    width: 50%;
  }

  .route-item:nth-of-type(n+3) {
    margin-top: 30px;
  }
}

@media screen and (max-width:896px) {

  /*---info---*/
  .l-col__info,
  .l-col__access {
    width: 100%;
  }
}

@media screen and (max-width:786px) {

  /*---access---*/
  .route-item {
    width: 100%;
    position: relative;
  }

  .route-item:not(:last-of-type)::after {
    display: block;
    content: '';
    width: 16px;
    height: 16px;
    position: absolute;
    top: calc(100% + 14px);
    left: calc(12.5% - 8px);
    transform: translate(0, -50%);
    background: url('../img/common/icon-arrow--down-gradi.svg');
  }

  .route-item:nth-of-type(n+2) {
    margin-top: 24px;
  }

  .route-item__image {
    width: 25%;
  }

  .route-item__inner {
    width: 75%;
  }
}

@media screen and (max-width:680px) {

  /*---access---*/
  .route-item {
    width: 100%;
    position: relative;
  }

  .route-item:not(:last-of-type)::after {
    display: block;
    content: '';
    width: 16px;
    height: 16px;
    position: absolute;
    top: calc(100% + 14px);
    left: calc(12.5% - 8px);
    transform: translate(0, -50%);
    background: url('../img/common/icon-arrow--down-gradi.svg');
  }

  .route-item:nth-of-type(n+2) {
    margin-top: 24px;
  }

  .route-item__image {
    width: 25%;
  }

  .route-item__inner {
    width: 75%;
  }
}

@media screen and (max-width:600px) {

  p.access-box__title,
  .access-list,
  .access-box__text {
    width: 50%;
  }
}

@media screen and (max-width:480px) {

  /*---info---*/
  .info .l-inner {
    width: 90%;
  }

  .section-heading--info {
    flex-direction: column;
    margin-bottom: 30px;
  }

  .section-heading--info::before {
    display: none;
  }

  .section-heading--info .section-heading__title {
    text-align: center;
    margin: 0;
  }

  .section-heading--info .section-heading__title::after {
    margin-left: 10px;
  }

  .section-heading--info .section-heading__title .ui--sp {
    display: block;
  }

  .info__slider {
    margin-bottom: 20px;
  }

  .clinic-info__title {
    width: 90px;
    padding: 10px 5px;
  }

  .clinic-info__desc {
    width: calc(100% - 90px);
    padding: 10px 5px;
    display: flex;
    flex-direction: column;
  }

  .clinic-info__desc--flex {
    margin-left: 0;
  }

  .clinic-notes--first {
    font-size: 1.3rem;
  }

  /*---access---*/
  .access-inner {
    margin-bottom: 10px;
  }

  .access-inner__title {
    font-size: 1.6rem;
    letter-spacing: 0;
  }

  .access-inner__title::before {
    width: calc(14px * 1.2);
    height: calc(13.22px * 1.2);
  }

  .access-box {
    flex-direction: column;
  }

  .access-box:nth-of-type(n+2) {
    margin-top: 8px;
  }

  p.access-box__title,
  .access-list,
  .access-box__text {
    width: 100%;
  }

  .access-inner__title {
    justify-content: center;
  }

  p.access-box__title .ui--pc {
    display: none;
  }

  .access-list {
    padding: 10px 20px 10px 34px;
  }

  .route-title {
    margin-bottom: 30px;
  }

  .route-title__main {
    font-size: 2rem;
  }

  .route-title__sub {
    font-size: 1.2rem;
  }

  .route-title__icon {
    width: 40%;
  }

  .map {
    margin-bottom: 30px;
  }

  .map::after {
    display: block;
    content: '';
    width: 100%;
    height: 0;
    padding-top: 100%;
  }

  .map iframe {
    width: 100%;
    height: 100%;
    position: absolute;
    top: 0;
    left: 0;
    bottom: 0;
  }

  .route-box {
    width: 100%;
    padding: 30px 20px;
  }

  .route-item:not(:last-of-type)::after {
    display: block;
    content: '';
    width: 16px;
    height: 16px;
    position: absolute;
    top: calc(100% + 14px);
    left: calc(15% - 8px);
    transform: translate(0, -50%);
    background: url('../img/common/icon-arrow--down-gradi.svg');
  }

  .route-item:nth-of-type(1):after {
    animation: blink 2s infinite linear;
  }

  .route-item:nth-of-type(2):after {
    animation: blink 2s infinite .5s linear;
  }

  .route-item:nth-of-type(3):after {
    animation: blink 2s infinite 1s linear;
  }

  .route-item:nth-of-type(4):after {
    animation: blink 2s infinite .15s linear;
  }

  .route-item:nth-of-type(5):after {
    animation: blink 2s infinite 2s linear;
  }

  @keyframes blink {
    0% {
      opacity: 0;
    }

    50% {
      opacity: 1;
    }

    100% {
      opacity: 0;
    }
  }

  .route-item__image {
    width: 30%;
  }

  .route-item__inner {
    width: 70%;
  }

  .route-box__title {
    font-size: 1.4rem;
    margin-bottom: 20px;
  }

  .route-item__icon {
    width: 24px;
    margin: 0 auto 5px auto;
  }

  .route-item__icon2 {
    width: 24px;
  }

  .route-item__text {
    padding: 5px 5px 0 5px;
    font-size: 1.3rem;
    line-height: 1.4;
  }

  .route-item:last-of-type .route-item__text {
    padding-top: 2.5px;
  }
}