@charset "utf-8";


/*  l-pageNav
--------------------------------------------------*/
.l-pageNav {
  padding-block: 12.0rem;
}
.pageNav-list {
  gap: 2.0rem .5rem;
}
.pageNav-list__item {
  display: block;
  position: relative;
  width: calc((100% - 2.0rem) / 5);
  padding-block: 3.1rem 2.6rem;
  filter: drop-shadow(0 5px 5px rgba(var(--black-rgb), .1));
  background-color: var(--white);
}
.pageNav-list__item__heading {
  font-size: 2.4rem;
  letter-spacing: .05em;
  text-align: center;
  margin-bottom: 1.5rem;
}
.pageNav-list__item__heading em {
  color: #914141;
}
.pageNav-list__item__desc {
  font-size: 1.6rem;
  line-height: 1.8;
  letter-spacing: .1em;
  text-align: center;
}
.pageNav-list__item__arrow {
  position: absolute;
  inset: auto 0 0 0;
  margin-inline: auto;
  transform: translateY(50%) rotate(90deg);
  width: 4.0rem;
  height: 5px;
  z-index: 1;
}
.pageNav--back .pageNav-list__item__arrow {
  inset: 0 0 auto 0;
  transform: translateY(-50%) rotate(-90deg);
}
.pageNav-list__item__arrow::before {
  content: '';
  position: absolute;
  left: 0;
  bottom: 0;
  width: 50%;
  height: 1px;
  background-color: #ceb87a;
}
.pageNav-list__item__arrow::after {
  content: '';
  position: absolute;
  right: 0;
  bottom: 0;
  width: 50%;
  height: 100%;
  background-color: #ceb87a;
  clip-path: polygon(calc(100% - 7px) calc(100% - 1px), calc(100% - 7px) 0, 100% 100%, 0 100%, 0 calc(100% - 1px));
}
@media (any-hover: hover){
  .pageNav-list__item {
    transition: background-color .3s linear;
  }
  .pageNav-list__item:hover {
    background-color: #665f57;
  }
  .pageNav-list__item__heading {
    transition: color .3s linear;
  }
  .pageNav-list__item:hover .pageNav-list__item__heading {
    color: #ffdc7c;
  }
  .pageNav-list__item__heading em {
    transition: color .3s linear;
  }
  .pageNav-list__item:hover .pageNav-list__item__heading em {
    color: #ffdc7c;
  }
  .pageNav-list__item__desc {
    transition: color .3s linear;
  }
  .pageNav-list__item:hover .pageNav-list__item__desc {
    color: var(--white);
  }
}
@media screen and (max-width: 768px){
  .l-pageNav {
    padding-block: 4.0rem;
  }
  .pageNav-list__item {
    width: 100%;
    padding-block: 2.0rem;
  }
  .pageNav--back .pageNav-list__item {
    padding-block: 2.6rem 1.4rem;
  }
  .pageNav-list__item__heading {
    font-size: 2.0rem;
    margin-bottom: .9rem;
  }
  .pageNav-list__item__desc {
    font-size: 1.4rem;
  }
  .pageNav-list__item__arrow {
    width: 3.0rem;
    height: 4px;
  }
  .pageNav-list__item__arrow::after {
    clip-path: polygon(calc(100% - 5px) calc(100% - 1px), calc(100% - 5px) 0, 100% 100%, 0 100%, 0 calc(100% - 1px));
  }
}




/*  merit-sec
--------------------------------------------------*/
.merit-sec {
  padding-block: 12.0rem;
  overflow: clip;
}
.merit-sec:nth-of-type(odd) {
  background: #fcfbf9;
}
.merit-ttl {
  position: relative;
  width: fit-content;
  font-size: 3.6rem;
  letter-spacing: .05em;
  padding-left: 4.0rem;
  margin-bottom: 2.5rem;
  z-index: 1;
}
.merit-ttl::after {
  content: '';
  position: absolute;
  right: 0;
  bottom: 0;
  width: 100vw;
  height: 1px;
  background: #a59e8d;
  z-index: -1;
}
.merit-ttl em {
  color: #914141;
}
.merit-contents {
  width: 100%;
}
.merit-sec:nth-of-type(even) .merit-contents {
  flex-direction: row-reverse;
}
.merit-heading {
  width: 100%;
  font-size: 3.2rem;
  line-height: 1.6;
  letter-spacing: .1em;
  text-align: center;
  margin-bottom: 3.5rem;
}
.merit-desc {
  font-size: 1.8rem;
  line-height: 2.5;
  letter-spacing: .05em;
  text-align: center;
  margin-top: -.8em;
  margin-bottom: 4.5rem;
}
#merit05 .merit-photo {
  width: min(100%,1000px);
  margin-inline: auto;
}
.merit-contents.flex .merit-heading {
  margin-bottom: 6.5rem;
}
.merit-contents.flex .merit-desc {
  text-align: justify;
  width: calc(560 / 1200 * 100%);
  margin-bottom: 0;
}
.merit-contents.flex .merit-photo {
  width: calc(580 / 1200 * 100%);
  margin-inline: 0;
  filter: drop-shadow(0 0 10px rgba(var(--black-rgb), .2));
}
@media screen and (max-width: 768px){
  .merit-sec {
    padding-block: 6.0rem;
  }
  .merit-ttl {
    font-size: 2.8rem;
    padding-left: .5rem;
    margin-bottom: 3.5rem;
  }
  .merit-heading {
    font-size: 2.0rem;
    margin-bottom: 1.5rem;
  }
  .merit-desc {
    font-size: 1.4rem;
    line-height: 2;
    letter-spacing: .1em;
    text-align: justify;
    margin-top: 0;
    margin-bottom: 0;
  }
  .merit-photo {
    margin-top: 3.5rem;
  }
  .merit-contents.flex .merit-heading {
    margin-bottom: 1.5rem;
  }
  .merit-contents.flex .merit-desc {
    width: 100%;
  }
  .merit-contents.flex .merit-photo {
    width: 100%;
  }
}


