/* access
---------------------------------------------------- */
.access {
  margin-top: 8.125rem;
  border-top: 1px solid rgb(228, 228, 228);
}
@media (max-width: 575.98px) {
  .access {
    margin-top: 100px;
  }
}
.access .heading {
  padding-top: 8.125rem;
}
.access .access__map {
  padding-top: 8.125rem;
}

/* history
---------------------------------------------------- */
.history .anchor-link {
  padding-bottom: 9.375rem;
}
@media (max-width: 575.98px) {
  .history .anchor-link {
    padding-bottom: 60px;
  }
}
.history .anchor-link__list {
  display: flex;
  flex-wrap: wrap;
  gap: 1em;
}
@media (max-width: 575.98px) {
  .history .anchor-link__list {
    gap: 0.5em;
  }
}
.history .anchor-link li {
  flex: 1;
}
@media (max-width: 1199.98px) {
  .history .anchor-link li {
    flex: 0 0 calc(33.333% - 1em);
  }
}
@media (max-width: 767.98px) {
  .history .anchor-link li {
    flex: 0 0 calc(50% - 0.5em);
  }
}
@media (max-width: 575.98px) {
  .history .anchor-link li {
    flex: 0 0 100%;
  }
}
.history .anchor-link__item {
  text-align: center;
  border: 1px solid rgb(188, 188, 188);
  padding: 0.8em 0;
  position: relative;
  background-color: transparent;
  transition: all 0.5s ease;
}
@media (max-width: 575.98px) {
  .history .anchor-link__item {
    padding: 0.5em 0;
  }
}
.history .anchor-link__item:hover {
  background-color: rgb(103, 103, 103);
  color: #fff;
}
@media (hover: none) {
  .history .anchor-link__item:hover {
    background-color: transparent;
    color: rgb(34, 34, 34);
  }
}
.history .anchor-link__item:hover .btn__icon {
  color: #fff;
}
@media (hover: none) {
  .history .anchor-link__item:hover .btn__icon {
    color: rgb(161, 161, 161);
  }
}
.history .anchor-link__item .btn__icon {
  position: absolute;
  right: 10px;
  top: 50%;
  transform: translateY(-50%);
  font-size: 13px;
  color: rgb(161, 161, 161);
  vertical-align: initial;
  transition: all 0.5s ease;
}
.history .historical-site {
  padding-bottom: 12.5rem;
}
@media (max-width: 575.98px) {
  .history .historical-site {
    padding-top: 30px;
    padding-bottom: 100px;
  }
}
.history .historical-site__text {
  padding-left: 0;
  padding-right: 0;
}
.history .historical-site__text .heading {
  padding-top: 0;
  padding-left: 1.5em;
  position: relative;
}
.history .historical-site__text .heading__decor .decor__item {
  display: none;
  position: absolute;
  z-index: -1;
}
@media (max-width: 991.98px) {
  .history .historical-site__text .heading__decor .decor__item {
    display: block;
  }
}
.history .historical-site__text .heading__decor .__01 {
  width: 19.6875rem;
  left: 50%;
  transform: translateX(80px);
}
@media (max-width: 575.98px) {
  .history .historical-site__text .heading__decor .__01 {
    transform: translateX(30px);
  }
}
.history .historical-site__text .heading__decor .__02 {
  width: 15.125rem;
  right: 50%;
  transform: translateX(-100px);
  bottom: 5rem;
}
@media (max-width: 575.98px) {
  .history .historical-site__text .heading__decor .__02 {
    transform: translateX(-50px);
  }
}
.history .historical-site__description {
  padding-left: 0;
  padding-right: 0;
  text-align: justify;
}
.history .historical-site__description .description__wrapper {
  position: relative;
}
@media (max-width: 767.98px) {
  .history .historical-site__description .description__wrapper {
    width: 100%;
  }
}
.history .historical-site__description .description__wrapper::before {
  content: "";
  position: absolute;
  top: 50%;
  transform: translateY(-55%);
  left: -50%;
  width: 120%;
  height: 160%;
  z-index: -1;
  background-image: url("../images/bg-washi.png");
  background-repeat: repeat;
}
@media (max-width: 991.98px) {
  .history .historical-site__description .description__wrapper::before {
    display: none;
  }
}
.history .historical-site__description .description__wrapper .description__1,
.history .historical-site__description .description__wrapper .description__2 {
  padding-bottom: 3em;
}
@media (max-width: 991.98px) {
  .history .historical-site__description .description__wrapper .description__3 {
    padding-bottom: 5em;
  }
}
.history .historical-site .historical-site__img {
  padding-left: 0;
  padding-right: 8em;
  aspect-ratio: 4/3;
  overflow: hidden;
}
@media (max-width: 1199.98px) {
  .history .historical-site .historical-site__img {
    padding-right: 5em;
  }
}
@media (max-width: 991.98px) {
  .history .historical-site .historical-site__img {
    margin: 0 auto;
    width: 50%;
    padding-right: 0;
    aspect-ratio: 36/59;
  }
}
@media (max-width: 575.98px) {
  .history .historical-site .historical-site__img {
    width: 80%;
  }
}
.history .historical-site .historical-site__img img {
  width: 100%;
  height: 100%;
  -o-object-fit: cover;
     object-fit: cover;
}
.history .origin {
  padding-top: 7.5rem;
  padding-bottom: 7.5rem;
  background-image: url("../images/section-bg.jpg");
  color: #fff;
}
@media (max-width: 991.98px) {
  .history .origin {
    padding-top: 100px;
    padding-bottom: 100px;
  }
}
@media (max-width: 575.98px) {
  .history .origin {
    background-image: url("../images/section-bg-sp.jpg");
  }
}
.history .origin .heading {
  padding-left: 1.5em;
}
.history .origin__text {
  padding-right: 8em;
  padding-left: 0;
}
@media (max-width: 1199.98px) {
  .history .origin__text {
    padding-right: 5em;
  }
}
@media (max-width: 991.98px) {
  .history .origin__text {
    padding-right: 0;
  }
}
.history .origin__description {
  text-align: justify;
}
.history .origin__description .description__1,
.history .origin__description .description__2 {
  padding-bottom: 3em;
}
@media (max-width: 991.98px) {
  .history .origin__description .description__3 {
    padding-bottom: 3em;
  }
}
.history .origin__img--wrapper {
  padding: 0;
}
@media (max-width: 991.98px) {
  .history .origin__img--wrapper {
    display: flex;
    gap: 15px;
  }
}
@media (max-width: 767.98px) {
  .history .origin__img--wrapper {
    display: block;
  }
}
@media (max-width: 767.98px) {
  .history .origin__img--wrapper .origin__img.__1,
  .history .origin__img--wrapper .origin__img.__2 {
    margin-bottom: 15px;
  }
}
.history .origin__img {
  padding-left: 0;
  padding-right: 0;
  aspect-ratio: 5/3;
  overflow: hidden;
  position: relative;
}
.history .origin__img.__1, .history .origin__img.__2 {
  margin-bottom: 15px;
}
@media (max-width: 991.98px) {
  .history .origin__img.__1, .history .origin__img.__2 {
    margin-bottom: 0;
  }
}
.history .origin__img img {
  width: 100%;
  height: 100%;
  -o-object-fit: cover;
     object-fit: cover;
}
.history .origin__img .origin__label {
  position: absolute;
  right: 0;
  bottom: 0;
  background: #fff;
  color: rgb(34, 34, 34);
  padding: 6px 12px;
  font-size: 15px;
  z-index: 10;
}
.history .origin__top {
  padding-bottom: 3em;
}
.history .origin__top .heading {
  padding-top: 0;
}
.history .origin__bottom {
  margin-top: -2em;
}
@media (max-width: 1599px) {
  .history .origin__bottom {
    margin-top: 0;
  }
}
.history .origin__bottom .origin__description {
  padding-left: 8em;
  padding-right: 0;
}
@media (max-width: 1199.98px) {
  .history .origin__bottom .origin__description {
    padding-left: 5em;
  }
}
@media (max-width: 767.98px) {
  .history .origin__bottom .origin__description {
    padding-left: 0;
    padding-bottom: 3em;
  }
}
@media (max-width: 767.98px) {
  .history .origin__bottom .origin__description .description__1 .left {
    display: none;
  }
}
.history .origin__bottom .origin__description .description__1 .bottom {
  display: none;
}
@media (max-width: 767.98px) {
  .history .origin__bottom .origin__description .description__1 .bottom {
    display: inline;
  }
}
.history .origin__bottom .origin__description .description__2 {
  padding-bottom: 0;
}
.history .origin__bottom .origin__img {
  aspect-ratio: 2/3;
  overflow: hidden;
}
@media (max-width: 767.98px) {
  .history .origin__bottom .origin__img {
    margin: 0 auto;
    width: 60%;
    min-width: 200px;
  }
}
.history .origin__bottom .origin__img img {
  width: 100%;
  height: 100%;
  -o-object-fit: cover;
     object-fit: cover;
}
.history .deity {
  padding-top: 7.5rem;
  padding-bottom: 7.5rem;
}
@media (max-width: 991.98px) {
  .history .deity {
    padding-top: 100px;
    padding-bottom: 100px;
  }
}
.history .deity .heading {
  padding-top: 0;
  flex: 2;
}
@media (max-width: 767.98px) {
  .history .deity .heading {
    padding-bottom: 6.25rem;
    padding-left: 1.5em;
  }
}
.history .deity .heading__decor .decor__item {
  position: absolute;
  z-index: -1;
}
.history .deity .heading__decor .__01 {
  width: 19.6875rem;
  left: 50%;
  transform: translateX(80px);
}
@media (max-width: 575.98px) {
  .history .deity .heading__decor .__01 {
    transform: translateX(30px);
  }
}
.history .deity .heading__decor .__02 {
  width: 15.125rem;
  right: 50%;
  transform: translateX(-100px);
  bottom: 5rem;
}
@media (max-width: 575.98px) {
  .history .deity .heading__decor .__02 {
    transform: translateX(-50px);
  }
}
.history .deity .description,
.history .deity .sentence {
  text-align: justify;
  margin-bottom: 3em;
}
.history .deity .description.__2 {
  margin-bottom: 0;
}
@media (max-width: 767.98px) {
  .history .deity .description.__2 {
    margin-bottom: 3em;
  }
}
.history .deity .sentence {
  font-weight: 700;
  text-align: center;
  font-size: 18px;
  background: none;
  border: 1px solid rgb(188, 188, 188);
  padding: 20px;
  position: relative;
  display: flex;
  align-items: center;
  justify-content: center;
  text-align: center;
}
@media (max-width: 1599px) {
  .history .deity .sentence {
    display: block;
  }
}
@media (max-width: 575.98px) {
  .history .deity .sentence {
    font-size: 16px;
  }
}
.history .deity .sentence:after {
  content: "";
  position: absolute;
  inset: 5px;
  border: 1px solid rgb(228, 228, 228);
  background: none;
  z-index: 1;
}
.history .deity .sentence .sub {
  font-weight: 400;
  font-size: 14px;
}
@media (max-width: 1599px) {
  .history .deity .sentence .sub {
    display: block;
  }
}
@media (max-width: 400px) {
  .history .deity .sentence .sub {
    font-size: 12px;
  }
}
.history .deity .sentence.__2 {
  margin-bottom: 1em;
}
.history .deity .sentence.__3 {
  margin-bottom: 0;
}
@media (max-width: 767.98px) {
  .history .deity .sentence.__3 {
    margin-bottom: 3em;
  }
}
.history .deity .deity__content.__top {
  display: flex;
  padding-bottom: 5em;
}
@media (max-width: 767.98px) {
  .history .deity .deity__content.__top {
    display: block;
    padding-bottom: 3em;
  }
}
.history .deity__content {
  display: flex;
  align-items: stretch;
}
@media (max-width: 767.98px) {
  .history .deity__content {
    display: block;
  }
}
.history .deity__content .top__description {
  padding-right: 8em;
  flex: 7;
}
@media (max-width: 1199.98px) {
  .history .deity__content .top__description {
    padding-right: 5em;
  }
}
@media (max-width: 767.98px) {
  .history .deity__content .top__description {
    padding-right: 0;
  }
}
.history .deity__content .bottom__description {
  padding-left: 8em;
  flex: 7;
}
@media (max-width: 1199.98px) {
  .history .deity__content .bottom__description {
    padding-left: 5em;
  }
}
@media (max-width: 767.98px) {
  .history .deity__content .bottom__description {
    padding-left: 0;
  }
}
.history .deity__content .deity__img {
  width: 100%;
  height: auto;
  overflow: hidden;
  flex: 3;
}
@media (max-width: 767.98px) {
  .history .deity__content .deity__img {
    height: 300px;
  }
}
.history .deity__content .deity__img img {
  width: 100%;
  height: 100%;
  -o-object-fit: cover;
     object-fit: cover;
}
.history .deity .__bottom {
  flex-direction: row-reverse;
}
.history .sacred-beyond {
  padding-top: 7.5rem;
  padding-bottom: 9.375rem;
  background-image: url("../images/section-bg.jpg");
  background-color: rgb(161, 161, 161);
  color: #fff;
}
@media (max-width: 991.98px) {
  .history .sacred-beyond {
    padding-top: 100px;
    padding-bottom: 100px;
  }
}
@media (max-width: 575.98px) {
  .history .sacred-beyond {
    background-image: url("../images/section-bg-sp.jpg");
  }
}
.history .sacred-beyond .heading {
  padding-top: 0;
  padding-left: 1.5em;
  padding-bottom: 5em;
}
.history .sacred-beyond__inner {
  display: flex;
  align-items: center;
}
@media (max-width: 767.98px) {
  .history .sacred-beyond__inner {
    display: block;
  }
}
.history .sacred-beyond__left {
  flex: 7;
}
@media (max-width: 991.98px) {
  .history .sacred-beyond__left {
    flex: 6;
  }
}
@media (max-width: 767.98px) {
  .history .sacred-beyond__left {
    padding-bottom: 5em;
  }
}
.history .sacred-beyond__text .title {
  font-size: max(1.5rem, 18px);
  padding-bottom: 0.2em;
  margin-bottom: 0.2em;
  border-bottom: 1px solid rgb(103, 103, 103);
  font-weight: 700;
}
.history .sacred-beyond .text.__1,
.history .sacred-beyond .text.__2,
.history .sacred-beyond .text.__3 {
  padding-bottom: 2em;
}
.history .sacred-beyond__right {
  padding-left: 8em;
  flex: 3;
}
@media (max-width: 1199.98px) {
  .history .sacred-beyond__right {
    padding-left: 5em;
  }
}
@media (max-width: 991.98px) {
  .history .sacred-beyond__right {
    flex: 4;
  }
}
@media (max-width: 767.98px) {
  .history .sacred-beyond__right {
    padding-left: 0;
  }
}
.history .sacred-beyond__img {
  width: 100%;
  height: auto;
  overflow: hidden;
}
@media (max-width: 767.98px) {
  .history .sacred-beyond__img {
    height: 350px;
  }
}
@media (max-width: 575.98px) {
  .history .sacred-beyond__img {
    height: 250px;
  }
}
.history .sacred-beyond__img img {
  width: 100%;
  height: 100%;
  -o-object-fit: cover;
     object-fit: cover;
}
.history .sacred-beyond .sacred-beyond__img.__1 {
  padding-bottom: 15px;
}

/* walk
---------------------------------------------------- */
.walk .pagetitle__img img {
  -o-object-position: left center;
     object-position: left center;
}
.walk .map {
  padding-bottom: 6.25rem;
}
@media (max-width: 575.98px) {
  .walk .map {
    padding-bottom: 100px;
  }
}
.walk .map__wrapper {
  display: flex;
  justify-content: space-between;
  align-items: center;
}
@media (max-width: 991.98px) {
  .walk .map__wrapper {
    display: block;
  }
}
.walk .map__text {
  flex: 5;
}
.walk .map__text .heading {
  padding-top: 0;
  padding-left: 1.5em;
}
@media (max-width: 575.98px) {
  .walk .map__text .heading {
    margin-top: 90px;
  }
}
.walk .map__text .heading__decor .decor__item {
  position: absolute;
  z-index: -1;
}
.walk .map__text .heading__decor .__01 {
  width: 19.6875rem;
  left: 50%;
  transform: translateX(100px);
}
@media (max-width: 575.98px) {
  .walk .map__text .heading__decor .__01 {
    transform: translateX(30px);
  }
}
.walk .map__text .heading__decor .__02 {
  width: 15.125rem;
  right: 50%;
  transform: translateX(-100px);
  bottom: 5rem;
}
@media (max-width: 575.98px) {
  .walk .map__text .heading__decor .__02 {
    transform: translateX(-50px);
  }
}
.walk .map__description {
  text-align: center;
  padding-bottom: 3.125rem;
}
@media (max-width: 575.98px) {
  .walk .map__description {
    text-align: left;
    padding-bottom: 50px;
  }
}
.walk .map__img {
  flex: 5;
  padding-left: 3em;
  max-width: 700px;
}
@media (max-width: 991.98px) {
  .walk .map__img {
    padding-left: 0;
    margin: 0 auto;
  }
}
.walk .map__img img {
  max-width: 700px;
}
.walk .panorama {
  padding-top: 5rem;
  padding-bottom: 5rem;
  text-align: center;
  background-image: url("../images/bg-washi.png");
  background-repeat: repeat;
}
@media (max-width: 575.98px) {
  .walk .panorama {
    padding-top: 80px;
    padding-bottom: 80px;
  }
}
.walk .panorama__text {
  padding-bottom: 3.125rem;
}
.walk .panorama__title {
  font-size: max(1.5rem, 18px);
  padding-bottom: 0.5em;
}
.walk .panorama iframe {
  width: 100%;
  height: 500px;
}
.walk .route {
  padding-top: 6.25rem;
}
@media (max-width: 575.98px) {
  .walk .route {
    padding-top: 100px;
  }
}
.walk .route__title {
  padding-bottom: 4em;
  margin: 0 auto;
  position: relative;
}
@media (max-width: 575.98px) {
  .walk .route__title {
    padding-bottom: 3em;
  }
}
.walk .route__title .heading__jp {
  font-size: 28px;
}
.walk .route__title .heading__en {
  padding-top: 0.2em;
  font-size: 16px;
  line-height: 1;
}
.walk .route__title .heading__en::before {
  display: none;
}
.walk .route__title .decor__item {
  position: absolute;
  bottom: 2em;
  left: 50%;
  transform: translateX(-40%);
  z-index: -1;
  width: 9.375rem;
  min-width: 120px;
}
@media (max-width: 575.98px) {
  .walk .route__title .decor__item {
    bottom: 25px;
  }
}
.walk .route__text {
  padding-left: 0;
  padding-right: 0;
}
.walk .route__description {
  text-align: center;
}
@media (max-width: 767.98px) {
  .walk .route__description {
    padding-bottom: 3em;
  }
}
@media (max-width: 575.98px) {
  .walk .route__description {
    padding-bottom: 2em;
    text-align: left;
  }
}
@media (max-width: 1199.98px) {
  .walk .route__description br {
    display: none;
  }
}
.walk .route__img {
  aspect-ratio: 11/8;
  overflow: hidden;
  padding-left: 0;
  padding-right: 0;
}
.walk .route__img img {
  width: 100%;
  height: 100%;
  display: block;
  -o-object-fit: cover;
     object-fit: cover;
}
.walk .route__item {
  padding-bottom: 3.75rem;
}
@media (max-width: 575.98px) {
  .walk .route__item {
    padding-top: 40px;
  }
}
.walk .route__item.__1 .route__img, .walk .route__item.__3 .route__img, .walk .route__item.__5 .route__img, .walk .route__item.__7 .route__img, .walk .route__item.__9 .route__img {
  padding-left: 3em;
  padding-right: 0;
}
@media (max-width: 767.98px) {
  .walk .route__item.__1 .route__img, .walk .route__item.__3 .route__img, .walk .route__item.__5 .route__img, .walk .route__item.__7 .route__img, .walk .route__item.__9 .route__img {
    padding-left: 0;
  }
}
.walk .route__item.__1 {
  padding-top: 0;
}
.walk .route__item.__9 {
  padding-bottom: 0;
}
.walk .route__item.__2 .route__text, .walk .route__item.__4 .route__text, .walk .route__item.__6 .route__text, .walk .route__item.__8 .route__text {
  padding-left: 3em;
  padding-right: 0;
}
@media (max-width: 767.98px) {
  .walk .route__item.__2 .route__text, .walk .route__item.__4 .route__text, .walk .route__item.__6 .route__text, .walk .route__item.__8 .route__text {
    padding-left: calc(var(--bs-gutter-x) * 0.5);
  }
}

/* saiji
---------------------------------------------------- */
.saiji .heading__s {
  font-size: 24px;
}
@media (max-width: 767.98px) {
  .saiji .heading__s {
    font-size: 20px;
  }
}
@media (max-width: 575.98px) {
  .saiji .event {
    margin-top: 90px;
  }
}
.saiji .event__no-bg {
  position: relative;
}
.saiji .event__no-bg .decor__item {
  position: absolute;
  z-index: 1;
  bottom: 6em;
  right: -5em;
  width: 18.75rem;
}
@media (max-width: 575.98px) {
  .saiji .event__no-bg .decor__item {
    display: none;
  }
}
.saiji .event__bg {
  background-image: url("../images/bg-washi.png");
  background-repeat: repeat;
  position: relative;
}
.saiji .event__bg .decor__item {
  position: absolute;
  z-index: 1;
  bottom: 6em;
  left: -10em;
  width: 31.25rem;
}
@media (max-width: 575.98px) {
  .saiji .event__bg .decor__item {
    display: none;
  }
}
.saiji .event__wrapper {
  position: relative;
  z-index: 2;
}
.saiji .event__item {
  padding-top: 6.25rem;
  padding-bottom: 6.25rem;
}
@media (max-width: 575.98px) {
  .saiji .event__item {
    padding-top: 60px;
    padding-bottom: 60px;
  }
}
.saiji .event__item.__1 {
  padding-top: 0;
}
.saiji .event__text {
  display: flex;
  flex-direction: row-reverse;
  justify-content: center;
  height: 400px;
}
@media (max-width: 575.98px) {
  .saiji .event__text {
    display: block;
    flex-direction: row;
    justify-content: center;
    height: auto;
  }
}
@media (max-width: 575.98px) {
  .saiji .event .heading__inner {
    writing-mode: horizontal-tb;
    text-orientation: mixed;
  }
}
.saiji .event__title {
  padding-left: 1.5em;
  border-left: 1px solid rgb(188, 188, 188);
  margin-left: 1.5em;
  font-weight: 700;
}
@media (max-width: 575.98px) {
  .saiji .event__title {
    width: 100%;
    padding-left: 0;
    padding-bottom: 1em;
    margin-left: 0;
    margin-bottom: 1em;
    border-left: none;
    border-bottom: 1px solid rgb(188, 188, 188);
  }
}
.saiji .event__title .heading__jp {
  font-size: 28px;
}
@media (max-width: 767.98px) {
  .saiji .event__title .heading__jp {
    font-size: 24px;
  }
}
@media (max-width: 575.98px) {
  .saiji .event__title .heading__jp {
    writing-mode: horizontal-tb;
    text-orientation: mixed;
  }
}
.saiji .event__description {
  writing-mode: vertical-rl;
  text-orientation: upright;
}
@media (max-width: 575.98px) {
  .saiji .event__description {
    writing-mode: horizontal-tb;
    text-orientation: mixed;
    padding-bottom: 3em;
  }
}
.saiji .event__img {
  height: 500px;
  overflow: hidden;
}
@media (max-width: 575.98px) {
  .saiji .event__img {
    height: 300px;
  }
}
.saiji .event__img img {
  width: 100%;
  height: 100%;
  display: block;
  -o-object-fit: cover;
     object-fit: cover;
}
.saiji .event .__4 img {
  -o-object-position: 30% center;
     object-position: 30% center;
}

/* kito
---------------------------------------------------- */
.kito .worship__wrapper .heading {
  padding-top: 0;
  padding-left: 1.5em;
}
@media (max-width: 575.98px) {
  .kito .worship__wrapper .heading {
    margin-top: 90px;
  }
}
.kito .worship__wrapper .heading__decor .decor__item {
  position: absolute;
  z-index: -1;
}
.kito .worship__wrapper .heading__decor .__01 {
  width: 19.6875rem;
  top: -3.125rem;
  left: 50%;
  transform: translateX(100px);
}
@media (max-width: 767.98px) {
  .kito .worship__wrapper .heading__decor .__01 {
    top: -0.625rem;
    transform: translateX(50px);
  }
}
@media (max-width: 575.98px) {
  .kito .worship__wrapper .heading__decor .__01 {
    top: -3.125rem;
    transform: translateX(30px);
  }
}
.kito .worship__wrapper .heading__decor .__02 {
  width: 15.125rem;
  right: 50%;
  transform: translateX(-100px);
  bottom: 2.5rem;
}
@media (max-width: 767.98px) {
  .kito .worship__wrapper .heading__decor .__02 {
    transform: translateX(-60px);
  }
}
@media (max-width: 575.98px) {
  .kito .worship__wrapper .heading__decor .__02 {
    bottom: 5.625rem;
    transform: translateX(-40px);
  }
}
.kito .worship__text {
  justify-content: center;
}
@media (max-width: 575.98px) {
  .kito .worship__text {
    display: block;
    flex-direction: row;
    justify-content: center;
    height: auto;
  }
}
.kito .worship__description {
  text-align: center;
  padding-bottom: 5em;
}
@media (max-width: 575.98px) {
  .kito .worship__description {
    text-align: left;
  }
}
.kito .worship__img {
  height: 400px;
  overflow: hidden;
  background-image: url("../images/worship-01.jpg");
  background-size: cover;
  position: relative;
  overflow: hidden;
  width: 100%;
}
@media (max-width: 767.98px) {
  .kito .worship__img {
    height: 300px;
  }
}
@media (max-width: 575.98px) {
  .kito .worship__img {
    height: 200px;
  }
}
.kito .contents {
  padding-bottom: 6.25rem;
}
@media (max-width: 575.98px) {
  .kito .contents {
    padding-bottom: 100px;
  }
}
.kito .contents .heading {
  padding-left: 3.125rem;
  padding-bottom: 0;
}
@media (max-width: 767.98px) {
  .kito .contents .heading {
    padding-bottom: 6.25rem;
  }
}
@media (max-width: 575.98px) {
  .kito .contents .heading {
    padding-bottom: 60px;
  }
}
.kito .contents__inner {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
}
@media (max-width: 767.98px) {
  .kito .contents__inner {
    display: block;
  }
}
.kito .contents__item--wrapper {
  width: 80%;
  padding-top: 9.375rem;
  text-align: center;
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 15px;
}
@media (max-width: 1599px) {
  .kito .contents__item--wrapper {
    grid-template-columns: repeat(3, 1fr);
  }
}
@media (max-width: 991.98px) {
  .kito .contents__item--wrapper {
    grid-template-columns: repeat(2, 1fr);
  }
}
@media (max-width: 767.98px) {
  .kito .contents__item--wrapper {
    padding-top: 0;
    width: 100%;
  }
}
@media (max-width: 575.98px) {
  .kito .contents__item--wrapper {
    gap: 10px;
  }
}
.kito .contents__item {
  min-width: 230px;
  background: none;
  border: 1px solid rgb(188, 188, 188);
  padding: 20px;
  position: relative;
  display: flex;
  align-items: center;
  justify-content: center;
  text-align: center;
}
@media (max-width: 767.98px) {
  .kito .contents__item {
    padding: 15px;
  }
}
@media (max-width: 575.98px) {
  .kito .contents__item {
    min-width: auto;
    flex-direction: column;
    padding: 10px;
  }
}
.kito .contents__item:after {
  content: "";
  position: absolute;
  inset: 5px;
  border: 1px solid rgb(228, 228, 228);
  background: none;
  z-index: 1;
}
.kito .contents__text-bottom {
  text-align: end;
  padding-bottom: 3em;
}
@media (max-width: 991.98px) {
  .kito .contents__text-bottom {
    padding-top: 1em;
  }
}
@media (max-width: 575.98px) {
  .kito .contents__text-bottom {
    padding-bottom: 3em;
  }
}
.kito .contents__reception {
  background-image: url("../images/bg-washi.png");
  background-repeat: repeat;
  padding: 3.125rem;
  padding-top: 2.5rem;
}
@media (max-width: 575.98px) {
  .kito .contents__reception {
    padding-top: 25px;
    padding-bottom: 35px;
  }
}
.kito .contents__reception .container-custom {
  padding: 0;
}
.kito .contents__title {
  font-size: max(1.5rem, 18px);
  padding-bottom: 0.5em;
  margin-bottom: 0.5em;
  border-bottom: 1px solid rgb(161, 161, 161);
}
.kito .__ceremony {
  background-image: url("../images/bg-washi.png");
  background-repeat: repeat;
  padding-bottom: 9.375rem;
}
@media (max-width: 575.98px) {
  .kito .__ceremony {
    padding-bottom: 90px;
  }
}
.kito .__ceremony .contents__item {
  background-image: url("../images/bg-noise.png");
  background-repeat: repeat;
}
@media (max-width: 575.98px) {
  .kito .__ceremony .__long {
    grid-column: 1/-1;
  }
}
.kito .__ceremony .description__1 a {
  display: inline-block;
}
.kito .__ceremony .contents__reception {
  background-image: url("../images/bg-noise.png");
  background-repeat: repeat;
}
@media (max-width: 575.98px) {
  .kito .__ceremony .contents__reception .contents__description {
    line-height: 2.5;
  }
}

/* shiori
---------------------------------------------------- */
.shiori .spirit {
  padding-bottom: 7.5rem;
}
@media (max-width: 575.98px) {
  .shiori .spirit {
    padding-bottom: 100px;
  }
}
.shiori .spirit__text {
  padding-left: 0;
  padding-right: 0;
}
.shiori .spirit .heading {
  padding-top: 6.25rem;
  padding-left: 3.125rem;
}
.shiori .spirit .heading__decor .decor__item {
  position: absolute;
  z-index: -1;
}
.shiori .spirit .heading__decor .__01 {
  width: 19.6875rem;
  top: 3.125rem;
  left: 50%;
  transform: translateX(50px);
}
@media (max-width: 767.98px) {
  .shiori .spirit .heading__decor .__01 {
    top: 1.25rem;
    transform: translateX(50px);
  }
}
@media (max-width: 575.98px) {
  .shiori .spirit .heading__decor .__01 {
    top: 0.625rem;
    transform: translateX(30px);
  }
}
.shiori .spirit .heading__decor .__02 {
  width: 15.125rem;
  right: 50%;
  transform: translateX(-100px);
  bottom: 4.375rem;
}
@media (max-width: 767.98px) {
  .shiori .spirit .heading__decor .__02 {
    transform: translateX(-60px);
  }
}
@media (max-width: 575.98px) {
  .shiori .spirit .heading__decor .__02 {
    bottom: 5.625rem;
    transform: translateX(-40px);
  }
}
.shiori .spirit__description {
  text-align: justify;
}
.shiori .spirit__description .description__1 {
  padding-bottom: 3em;
}
@media (max-width: 767.98px) {
  .shiori .spirit__description .description__2 {
    padding-bottom: 3em;
  }
}
.shiori .spirit__img--wrapper {
  position: relative;
  padding-left: 0;
  padding-right: 0;
}
.shiori .spirit__img--wrapper .spirit__img {
  position: absolute;
  overflow: hidden;
}
@media (max-width: 767.98px) {
  .shiori .spirit__img--wrapper .spirit__img {
    position: static;
  }
}
.shiori .spirit__img--wrapper .spirit__img img {
  width: 100%;
  height: 100%;
  -o-object-fit: cover;
     object-fit: cover;
}
.shiori .spirit__img--wrapper .__1 {
  width: 70%;
  height: 250px;
}
@media (max-width: 767.98px) {
  .shiori .spirit__img--wrapper .__1 {
    display: none;
  }
}
.shiori .spirit__img--wrapper .__2 {
  width: 60%;
  height: 600px;
  top: 100px;
  right: 0;
}
@media (max-width: 767.98px) {
  .shiori .spirit__img--wrapper .__2 {
    width: 100%;
    height: 300px;
  }
}
.shiori .spirit__top {
  padding-bottom: 8.125rem;
}
@media (max-width: 767.98px) {
  .shiori .spirit__top {
    padding-bottom: 3em;
  }
}
.shiori .spirit__bottom .spirit__img--wrapper {
  position: relative;
}
.shiori .spirit__bottom .spirit__img--wrapper .spirit__img {
  position: static;
  width: 78%;
  height: 350px;
}
@media (max-width: 767.98px) {
  .shiori .spirit__bottom .spirit__img--wrapper .spirit__img {
    width: 100%;
    height: 300px;
  }
}
.shiori .etiquette {
  padding-top: 7.5rem;
  padding-bottom: 9.375rem;
  background-image: url(../images/section-bg.jpg);
}
@media (max-width: 575.98px) {
  .shiori .etiquette {
    padding-top: 100px;
    padding-bottom: 100px;
    background-image: url("../images/section-bg-sp.jpg");
  }
}
.shiori .etiquette__text {
  color: #fff;
}
.shiori .etiquette__text .heading {
  padding-top: 0;
  padding-left: 3.125rem;
}
.shiori .etiquette__top, .shiori .etiquette__bottom {
  text-align: justify;
  display: flex;
  align-items: center;
}
@media (max-width: 767.98px) {
  .shiori .etiquette__top, .shiori .etiquette__bottom {
    display: block;
  }
}
.shiori .etiquette__top .description, .shiori .etiquette__bottom .description {
  flex: 7;
  padding-right: 8em;
}
@media (max-width: 1199.98px) {
  .shiori .etiquette__top .description, .shiori .etiquette__bottom .description {
    padding-right: 5em;
  }
}
@media (max-width: 767.98px) {
  .shiori .etiquette__top .description, .shiori .etiquette__bottom .description {
    padding-right: 0;
    padding-bottom: 3em;
  }
}
.shiori .etiquette__top .etiquette__link, .shiori .etiquette__bottom .etiquette__link {
  margin-top: 1em;
  margin-bottom: 1em;
  display: inline-block;
  transition: opacity 0.5s ease;
}
.shiori .etiquette__top .etiquette__link:hover, .shiori .etiquette__bottom .etiquette__link:hover {
  opacity: 0.6;
}
.shiori .etiquette__top .etiquette__icon, .shiori .etiquette__bottom .etiquette__icon {
  font-size: 11px;
  padding-left: 0.5em;
  padding-bottom: 0.2em;
}
.shiori .etiquette__top {
  padding-bottom: 3em;
}
.shiori .etiquette__bottom {
  flex-direction: row-reverse;
}
.shiori .etiquette__bottom .description {
  padding-left: 8em;
  padding-right: 0;
}
@media (max-width: 1199.98px) {
  .shiori .etiquette__bottom .description {
    padding-left: 5em;
  }
}
@media (max-width: 767.98px) {
  .shiori .etiquette__bottom .description {
    padding-left: 0;
  }
}
.shiori .etiquette__img {
  flex: 3;
  height: auto;
  overflow: hidden;
  aspect-ratio: 4/3;
}
@media (max-width: 767.98px) {
  .shiori .etiquette__img {
    height: 350px;
    aspect-ratio: auto;
  }
}
.shiori .etiquette__img img {
  width: 100%;
  height: 100%;
  display: block;
  -o-object-fit: cover;
     object-fit: cover;
}
.shiori .blessing {
  padding-top: 7.5rem;
  padding-bottom: 7.5rem;
}
@media (max-width: 991.98px) {
  .shiori .blessing {
    padding-top: 100px;
    padding-bottom: 100px;
  }
}
.shiori .blessing__title {
  padding-left: 0;
  padding-right: 0;
}
.shiori .blessing__title .heading {
  padding-top: 0;
  padding-left: 3.125rem;
  position: relative;
}
.shiori .blessing__title .heading__decor .decor__item {
  position: absolute;
  z-index: -1;
}
.shiori .blessing__title .heading__decor .__01 {
  width: 18.75rem;
  bottom: -3.125rem;
  left: 50%;
  transform: translateX(-60px);
}
@media (max-width: 767.98px) {
  .shiori .blessing__title .heading__decor .__01 {
    top: auto;
    bottom: -0.625rem;
    transform: translateX(-50px);
  }
}
@media (max-width: 575.98px) {
  .shiori .blessing__title .heading__decor .__01 {
    width: 200px;
  }
}
.shiori .blessing__title .heading__decor .__01 img {
  transform: scaleX(-1);
}
.shiori .blessing__title .blessing__img {
  width: 100%;
  aspect-ratio: 4/3;
  overflow: hidden;
}
@media (max-width: 991.98px) {
  .shiori .blessing__title .blessing__img {
    height: 350px;
  }
}
.shiori .blessing__title .blessing__img img {
  width: 100%;
  height: 100%;
  -o-object-fit: cover;
     object-fit: cover;
}
.shiori .blessing__description {
  padding-top: 7.5rem;
  padding-left: 0;
  padding-right: 0;
  text-align: justify;
}
@media (max-width: 767.98px) {
  .shiori .blessing__description {
    padding-top: 3em;
  }
}
.shiori .blessing__description .description__wrapper {
  position: relative;
  width: 90%;
}
@media (max-width: 767.98px) {
  .shiori .blessing__description .description__wrapper {
    width: 100%;
  }
}
.shiori .blessing__description .description__wrapper::before {
  content: "";
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  left: 40%;
  width: 90%;
  height: 130%;
  z-index: -1;
  background-image: url("../images/bg-washi.png");
  background-repeat: repeat;
}
@media (max-width: 767.98px) {
  .shiori .blessing__description .description__wrapper::before {
    display: none;
  }
}
.shiori .blessing__description .description__wrapper .description__1,
.shiori .blessing__description .description__wrapper .description__2 {
  padding-bottom: 3em;
}
.shiori .festivals-bring {
  padding-top: 7.5rem;
  padding-bottom: 9.375rem;
  background-image: url(../images/shiori-bg.jpg);
}
@media (max-width: 575.98px) {
  .shiori .festivals-bring {
    padding-top: 100px;
    padding-bottom: 100px;
  }
}
.shiori .festivals-bring .heading {
  padding-top: 0;
  padding-left: 3.125rem;
}
.shiori .festivals-bring__text {
  color: #fff;
}
.shiori .festivals-bring__description {
  text-align: justify;
}
.shiori .festivals-bring__description .description__1,
.shiori .festivals-bring__description .description__2,
.shiori .festivals-bring__description .description__3 {
  padding-bottom: 3em;
}
.shiori .festivals-bring__description .description__2 {
  background: none;
  padding: 1em 2em;
  margin-bottom: 3em;
  text-align: center;
  background-color: rgba(255, 255, 255, 0.8);
  color: rgb(34, 34, 34);
  font-weight: 700;
  display: inline-block;
}
@media (max-width: 767.98px) {
  .shiori .festivals-bring__description .description__2 {
    padding: 15px;
    display: flex;
    justify-content: center;
    text-align: center;
  }
}
@media (max-width: 575.98px) {
  .shiori .festivals-bring__description .description__2 {
    min-width: auto;
    flex-direction: column;
    padding: 15px;
  }
}

/* message
---------------------------------------------------- */
.message .pagetitle {
  margin-bottom: 6.25rem;
}
@media (max-width: 767.98px) {
  .message .pagetitle {
    margin-bottom: 60px;
  }
}
.message .pagetitle__img img {
  -o-object-position: right center;
     object-position: right center;
}
.message .category {
  padding-bottom: 5rem;
}
@media (max-width: 767.98px) {
  .message .category {
    padding-bottom: 60px;
  }
}
.message .category__title .title__text {
  font-size: max(2rem, 24px);
  border-bottom: 1px solid rgb(188, 188, 188);
  padding-bottom: 0.5em;
  margin-bottom: 1.5em;
}
@media (max-width: 575.98px) {
  .message .category__title .title__text {
    text-align: center;
  }
}
.message__inner {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  -moz-column-gap: 30px;
       column-gap: 30px;
  width: 100%;
}
@media (max-width: 991.98px) {
  .message__inner {
    grid-template-columns: repeat(1, 1fr);
  }
}
.message__item-wrapper {
  border-bottom: 1px solid rgb(228, 228, 228);
}
.message__item {
  width: 100%;
  display: flex;
  gap: 4.375em;
  transition: opacity 0.3s ease;
}
@media (max-width: 575.98px) {
  .message__item {
    display: block;
  }
}
.message__item:hover .btn--small::after {
  transform: scale(0, 1);
  transform-origin: right top;
}
.message__item:hover .message__thumb .photo-ofi {
  filter: brightness(70%);
}
.message__top {
  display: flex;
  align-items: center;
  gap: 1.75em;
  padding-bottom: 1em;
}
.message__date {
  font-size: 15px;
}
.message__category {
  display: inline-block;
  padding: 0.3em 2em 0.5em;
  line-height: 1;
  background-color: rgb(103, 103, 103);
  font-size: 13px;
  color: #fff;
}
.message__text {
  padding-bottom: 1em;
  font-weight: 700;
}
.message__thumb {
  flex: 0 0 11.25rem;
  padding: 2em 0 2.2em;
}
@media (max-width: 575.98px) {
  .message__thumb {
    height: auto;
    margin: 0 auto;
    padding-bottom: 0;
  }
}
.message__content {
  padding: 2em 0 2.2em;
}

/* topics
---------------------------------------------------- */
.topics .pagetitle {
  margin-bottom: 6.25rem;
}
.topics .pagetitle__img img {
  -o-object-position: right center;
     object-position: right center;
}
.topics__top {
  margin-bottom: 3em;
  padding-bottom: 2em;
  border-bottom: 1px solid rgb(188, 188, 188);
}
.topics__pretitle {
  display: flex;
  padding-bottom: 1.5em;
}
.topics__date {
  font-size: 15px;
  padding-right: 1em;
}
.topics__category {
  display: inline-block;
  padding: 0.3em 2em 0.5em;
  line-height: 1;
  background-color: rgb(103, 103, 103);
  font-size: 13px;
  color: #fff;
}
.topics__title {
  font-size: max(1.375rem, 18px);
  font-weight: 700;
}
.topics__bottom {
  display: flex;
  gap: 3em;
}
@media (max-width: 767.98px) {
  .topics__bottom {
    display: block;
  }
}
.topics__thumb {
  overflow: hidden;
  flex: 0 0 40%;
}
@media (max-width: 767.98px) {
  .topics__thumb {
    width: 80%;
    height: auto;
    margin: 0 auto;
    margin-bottom: 3em;
  }
}
@media (max-width: 575.98px) {
  .topics__thumb {
    width: 100%;
  }
}
.topics .btn__wrapper {
  padding-top: 5rem;
  text-align: center;
}
@media (max-width: 575.98px) {
  .topics .btn__wrapper {
    padding-top: 60px;
  }
}
.topics .btn__wrapper .btn--large {
  padding: 1.5em 3em 1.5em 1em;
}
.topics .btn__wrapper .btn--large .btn__icon {
  padding-left: 0;
  padding-right: 4em;
  font-size: 14px;
  color: rgb(161, 161, 161);
  vertical-align: initial;
}
.topics .topics__img-main {
  margin-bottom: 1em;
}

/* area
---------------------------------------------------- */
.area__introduction {
  width: 100%;
}
.area__introduction .heading {
  padding-top: 0;
  padding-left: 1.5em;
}
@media (max-width: 575.98px) {
  .area__introduction .heading {
    margin-top: 90px;
  }
}
.area__introduction .heading__decor .decor__item {
  position: absolute;
  z-index: -1;
}
.area__introduction .heading__decor .__01 {
  width: 19.6875rem;
  top: -3.125rem;
  left: 50%;
  transform: translateX(100px);
}
@media (max-width: 767.98px) {
  .area__introduction .heading__decor .__01 {
    top: -0.625rem;
    transform: translateX(50px);
  }
}
@media (max-width: 575.98px) {
  .area__introduction .heading__decor .__01 {
    top: -3.125rem;
    transform: translateX(30px);
  }
}
.area__introduction .heading__decor .__02 {
  width: 15.125rem;
  right: 50%;
  transform: translateX(-100px);
  bottom: 2.5rem;
}
@media (max-width: 767.98px) {
  .area__introduction .heading__decor .__02 {
    transform: translateX(-60px);
  }
}
@media (max-width: 575.98px) {
  .area__introduction .heading__decor .__02 {
    bottom: 5.625rem;
    transform: translateX(-40px);
  }
}
.area .introduction__description {
  text-align: center;
  padding-bottom: 6.25rem;
}
@media (max-width: 991.98px) {
  .area .introduction__description {
    text-align: left;
  }
}
@media (max-width: 575.98px) {
  .area .introduction__description {
    padding-bottom: 70px;
  }
}
.area__content {
  padding-top: 6.25rem;
  background-image: url("../images/bg-washi.png");
  background-repeat: repeat;
}
@media (max-width: 575.98px) {
  .area__content {
    padding-top: 70px;
  }
}
.area__item {
  display: flex;
  -moz-column-gap: 3em;
       column-gap: 3em;
  align-items: center;
  padding: 3.5em 3em;
  margin-bottom: 3em;
  background-image: url("../images/bg-noise.png");
  background-repeat: repeat;
  border: 1px solid rgb(188, 188, 188);
  position: relative;
}
.area__item:after {
  content: "";
  position: absolute;
  inset: 5px;
  border: 1px solid rgb(228, 228, 228);
  background: none;
  z-index: 1;
  pointer-events: none;
}
@media (max-width: 767.98px) {
  .area__item {
    display: block;
  }
}
@media (max-width: 575.98px) {
  .area__item {
    padding: 2em;
  }
}
.area__item:last-child {
  margin-bottom: 0;
}
.area__thumb {
  flex: 0 0 35%;
  overflow: hidden;
}
@media (max-width: 767.98px) {
  .area__thumb {
    width: 80%;
    height: auto;
    margin: 0 auto;
    margin-bottom: 2em;
  }
}
@media (max-width: 575.98px) {
  .area__thumb {
    width: 100%;
  }
}
.area__title {
  padding-bottom: 1em;
  margin-bottom: 1em;
  line-height: 1.5;
  font-size: 24px;
  font-weight: 700;
  border-bottom: 1px solid rgb(188, 188, 188);
}
@media (max-width: 1199.98px) {
  .area__title {
    font-size: 20px;
  }
}
.area__description {
  padding-bottom: 2em;
}
.area__map-wrapper {
  text-align: end;
}
.area__map {
  display: inline-block;
  color: #fff;
  background-color: rgb(103, 103, 103);
  padding: 0.3em 1.5em;
  font-size: 14px;
  transition: background-color 0.5s ease;
}
.area__map:hover {
  background-color: rgb(34, 34, 34);
}
.area__map .map__icon {
  padding-left: 1em;
  padding-bottom: 2px;
  font-size: 12px;
}
.area .slide-panel {
  position: fixed;
  top: 75px;
  right: -920px;
  width: 920px;
  height: 308px;
  background-image: url("../images/bg-noise.png");
  background-repeat: repeat;
  transition: right 0.8s;
  z-index: 20;
  overflow-y: auto;
  padding: 3em;
  font-size: 14px;
}
@media (max-width: 991.98px) {
  .area .slide-panel {
    display: none;
  }
}
.area .slide-panel:after {
  content: "";
  position: absolute;
  inset: 5px;
  border: 1px solid rgb(228, 228, 228);
  background: none;
  z-index: 1;
}
.area .slide-panel-content {
  margin: 0 auto;
}
.area .slide-panel.open {
  right: 0;
  box-shadow: -2px 0 8px rgba(0, 0, 0, 0.2);
}
.area .slide-button {
  writing-mode: vertical-rl;
  position: fixed;
  top: 75px;
  right: 0;
  background-color: rgb(103, 103, 103);
  padding: 0.5em 1em;
  cursor: pointer;
  box-shadow: 0 2px 6px rgba(0, 0, 0, 0.15);
  z-index: 20;
  transition: right 0.8s;
  height: 308px;
  display: flex;
  align-items: center;
  color: #fff;
  justify-content: space-between;
  padding-top: 3em;
  opacity: 0;
  pointer-events: none;
  transition: opacity 0.6s ease, right 0.8s;
}
@media (max-width: 991.98px) {
  .area .slide-button {
    display: none;
  }
}
.area .slide-button:after {
  content: "";
  position: absolute;
  inset: 5px;
  border: 1px solid rgb(161, 161, 161);
  background: none;
  z-index: 1;
}
.area #buttonIcon {
  padding-bottom: 1em;
  writing-mode: horizontal-tb;
  display: inline-block;
}
.area .slide-button.show {
  opacity: 1;
  pointer-events: auto;
}
.area .paging {
  background-image: url("../images/bg-washi.png");
  background-repeat: repeat;
  padding-bottom: 8.125rem;
}
@media (max-width: 575.98px) {
  .area .paging {
    padding-bottom: 100px;
  }
}

/* amulet
---------------------------------------------------- */
.amulet__inner {
  display: grid;
  gap: 3em;
  grid-template-columns: repeat(4, 1fr);
}
@media (max-width: 1199.98px) {
  .amulet__inner {
    grid-template-columns: repeat(3, 1fr);
  }
}
@media (max-width: 767.98px) {
  .amulet__inner {
    grid-template-columns: repeat(2, 1fr);
    gap: 2em;
    row-gap: 3em;
  }
}
.amulet__inner .amulet__img {
  transition: 0.6s;
  position: relative;
  overflow: hidden;
  aspect-ratio: 1/1;
  margin-bottom: 1em;
}
.amulet__inner .amulet__img::after {
  content: "";
  position: absolute;
  bottom: 8px;
  right: 8px;
  width: 28px;
  height: 28px;
  background-image: url("../images/icon-zoom.png");
  background-size: contain;
  background-repeat: no-repeat;
  pointer-events: none;
}
.amulet__inner .amulet__img img {
  width: 100%;
  height: 100%;
  -o-object-fit: cover;
     object-fit: cover;
  display: block;
}
.amulet__inner .amulet__title {
  text-align: center;
  font-size: 18px;
  border: 1px solid rgb(188, 188, 188);
  position: relative;
  padding: 0.5em;
}
.amulet__inner .amulet__title:after {
  content: "";
  position: absolute;
  inset: 5px;
  border: 1px solid rgb(228, 228, 228);
  background: none;
  z-index: 1;
  pointer-events: none;
}
@media (max-width: 767.98px) {
  .amulet__inner .amulet__title {
    font-size: 16px;
  }
}
.amulet__inner .js-modal:hover .amulet__img {
  filter: brightness(60%);
}

.modaal-content .modal__name {
  margin-top: 1em;
  padding-bottom: 0.5em;
  font-size: 20px;
  text-align: center;
}
@media (max-width: 575.98px) {
  .modaal-content .modal__name {
    width: calc(100vw - 106px);
  }
}

/* gallery
---------------------------------------------------- */
@media (max-width: 767.98px) {
  .gallery .pagetitle .heading {
    height: 280px;
  }
}
.gallery__item {
  background-color: #fff;
  border: 1px solid rgb(188, 188, 188);
  position: relative;
  padding: 1em;
}
.gallery__item:after {
  content: "";
  position: absolute;
  inset: 5px;
  border: 1px solid rgb(228, 228, 228);
  background: none;
  z-index: 1;
  pointer-events: none;
}
.gallery__inner {
  display: grid;
  gap: 2.5em;
  row-gap: 2.5em;
  grid-template-columns: repeat(4, 1fr);
}
@media (max-width: 991.98px) {
  .gallery__inner {
    grid-template-columns: repeat(3, 1fr);
  }
}
@media (max-width: 767.98px) {
  .gallery__inner {
    grid-template-columns: repeat(2, 1fr);
  }
}
@media (max-width: 575.98px) {
  .gallery__inner {
    grid-template-columns: repeat(1, 1fr);
  }
}
.gallery .gallery__title {
  padding: 0.8em;
}
.gallery .gallery__img {
  transition: 0.6s;
  position: relative;
}
.gallery .gallery__img::after {
  content: "";
  position: absolute;
  bottom: 8px;
  right: 8px;
  width: 24px;
  height: 24px;
  background-image: url("../images/icon-zoom.png");
  background-size: contain;
  background-repeat: no-repeat;
  pointer-events: none;
}
.gallery .js-modal:hover .gallery__img {
  filter: brightness(60%);
}

.modaal-container {
  width: 35%;
}
@media (max-width: 1199.98px) {
  .modaal-container {
    width: 50%;
  }
}
@media (max-width: 991.98px) {
  .modaal-container {
    width: 70%;
  }
}
@media (max-width: 767.98px) {
  .modaal-container {
    width: 100%;
  }
}

.modaal-content {
  position: relative;
  padding: 2em;
}
.modaal-content:after {
  content: "";
  position: absolute;
  inset: 5px;
  border: 1px solid rgb(216, 216, 216);
  background: none;
  z-index: 1;
  pointer-events: none;
}
.modaal-content .modal__title {
  margin-top: 1em;
  margin-bottom: 1em;
  padding-bottom: 0.8em;
  border-bottom: 1px solid rgb(188, 188, 188);
  font-size: 18px;
}/*# sourceMappingURL=sub.css.map */