#head-key .key-img img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position:  center;

}


@media screen and (min-width: 768px) {
  #breadcrumb {
    padding-top: 8px;
  }
  section .c-ttl span:last-child {
    margin-top: 21px;
  }
  #end {
    padding-top: 174px;
    padding-bottom: 256px;
  }
}
/*--------------------------------------
    lead
--------------------------------------*/
#lead {
  padding: 16vw 0;
}
#lead .row {
  gap: 7vw;
}
#lead .row h2 {
  margin-bottom: 6vw;
}
@media screen and (min-width: 768px) {
  #lead {
    padding: 139px 0 100px;
  }
  #lead .row {
    gap: 64px;
  }
  #lead .row .content {
    width: 440px;
    margin-top: -22px;
  }
  #lead .row h2 {
    line-height: 60px;
    letter-spacing: 0.05em;
    margin-bottom: 21px;
  }
}

/*--------------------------------------
    history
--------------------------------------*/
#history {
  background: url('../img/shared/bg2.jpg') repeat;
  padding: 16vw 0;
}
#history .row {
  margin-top: 10vw;
  gap: 7vw;
}
#history .row h3 {
  margin-bottom: 6vw;
}
@media screen and (min-width: 768px) {
  #history {
    padding: 93px 0 71px;
  }
  #history .row {
    margin: 69px -38px 0 0;
    flex-direction: row-reverse;
    justify-content: center;
    gap: 40px;
  }
  #history .row .content {
    display: -webkit-flex;
    display: -moz-flex;
    display: -ms-flex;
    display: -o-flex;
    display: flex;
    flex-direction: row-reverse;
    gap: 22px;
  }
  #history .row .content h3 {
    line-height: 48px;
    margin-top: -2px;
    letter-spacing: 0.05em;
    width: 96px;
  }
  #history .row .content .txt {
    height: 310px;
  }
}

/*--------------------------------------
    gifujo
--------------------------------------*/
#gifujo {
  padding: 16vw 0;
}
#gifujo .set {
  margin-top: 12vw;
}
#gifujo .set .set-ttl {
  text-align: center;
  margin-bottom: 6vw;
}
#gifujo .set .set-ttl span {
  color: #4b6388;
}
#gifujo .set1 .photo1 {
  height: 100vw;
  margin: 0 -5%;
}
#gifujo .set1 .photo1 img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}
#gifujo .set1 h4 {
  text-align: center;
  margin: 5vw 0;
}
#gifujo .set1 .row {
  gap: 4vw;
}
#gifujo .set1 .row .photo {
  position: relative;
  width: 80%;
  margin: 0 auto;
}
#gifujo .set1 .row .photo::before {
  content: '';
  position: absolute;
  right: 8px;
  bottom: 8px;
  background: url('../img/about/open.png') no-repeat center;
  background-size: contain;
  width: 30px;
  height: 30px;
  z-index: 2;
}
#gifujo .set1 .sl-fade {
  margin-top: 10vw;
}
#gifujo .set1 .sl-fade .slick-dots {
  position: static;
  text-align: left;
  margin-top: 5vw;
}
#gifujo .set1 .sl-fade .slick-dots li {
  width: 57px;
}
#gifujo .set1 .sl-fade h5 {
  --gap: -1.1vw;
  margin: 5vw 0 6vw;
}
#gifujo .set2 .row {
  gap: 7vw;
}
#gifujo .set2 .row h4 {
  --gap: -0.2vw;
  margin-bottom: 6vw;
}
#gifujo .set2 .row .txt + h4 {
  margin-top: 8vw;
}
@media screen and (min-width: 768px) {
  #gifujo {
    padding: 95px 0;
  }
  #gifujo .wrap {
    max-width: 1200px;
  }
  #gifujo .set {
    margin-top: 106px;
  }
  #gifujo .set .set-ttl {
    letter-spacing: 0.1em;
    margin-left: 3px;
    margin-bottom: 17px;
  }
  #gifujo .set1 .photo1 {
    margin: 0;
    height: auto;
  }
  #gifujo .set1 h4 {
    margin: 32px 0;
    letter-spacing: 0.05em;
  }
  #gifujo .set1 .row {
    width: 100%;
    margin: 0 auto;
    gap: 41px;
    max-width: 800px;
    flex-direction: row-reverse;
    justify-content: start;
  }
  #gifujo .set1 .row .photo {
    width: 278px;
  }
  #gifujo .set1 .row .txt {
    margin-top: -4px;
  }
  #gifujo .set1 .sl-fade {
    width: 100%;
    max-width: 805px;
    margin: 93px auto 0;
  }
  #gifujo .set1 .sl-fade .slick-dots {
    display: block;
    margin: 0;
    position: absolute;
    bottom: 82px;
    left: -3px;
  }
  #gifujo .set1 .sl-fade .slick-dots li {
    margin: 0 7px;
  }
  #gifujo .set1 .sl-fade .slick-list {
    overflow: visible;
  }
  #gifujo .set1 .sl-fade .item .photo {
    margin-right: -97px;
  }
  #gifujo .set1 .sl-fade .item .inner {
    display: -webkit-flex;
    display: -moz-flex;
    display: -ms-flex;
    display: -o-flex;
    display: flex;
    flex-direction: row-reverse;
    gap: 30px;
    justify-content: space-between;
  }
  #gifujo .set1 .sl-fade .item .content {
    width: 391px;
  }
  #gifujo .set1 .sl-fade .item .content h5 {
    margin: -6px 0 17px;
    letter-spacing: 0.05em;
  }
  #gifujo .set2 {
    margin-top: 91px;
  }
  #gifujo .set2 .set-ttl {
    margin-bottom: 46px;
  }
  #gifujo .set2 .row {
    width: 100%;
    max-width: 998px;
    margin: 0 auto;
    gap: 20px;
    justify-content: space-between;
  }
  #gifujo .set2 .row .content {
    width: 559px;
    margin-top: -8px;
  }
  #gifujo .set2 .row .content h4 {
    letter-spacing: 0.03em;
    margin-bottom: 13px;
  }
  #gifujo .set2 .row .content .txt + h4 {
    margin-top: 53px;
  }
}

.pswp__button--close svg,
.pswp__button--arrow svg {
  display: none;
}

.pswp__button--close {
  width: 30px;
  height: 30px;
  top: calc(50vh + 17vw);
}

.pswp__button--close::before {
  content: '';
  position: relative;
  width: 100%;
  height: 100%;
  display: block;
  background: url('../img/about/close.png') center/cover;
}

.pswp__button--zoom {
  display: none !important;
}

@media screen and (min-width: 768px) {
  .pswp__button--close {
    top: calc(50vh + 166px);
    right: calc(50% - 289px);
  }
}
/*--------------------------------------
    buddha
--------------------------------------*/
#buddha {
  padding: 16vw 0;
  background: url('../img/shared/bg2.jpg') repeat;
}
#buddha h3 small {
  font-size: 14px;
  margin-right: 6px;
  position: relative;
  top: -1vw;
}
#buddha .c-row {
  margin-top: 12vw;
}
#buddha .c-row .photo {
  margin: 6vw 0;
}
#buddha .row3 {
  margin-top: 12vw;
}
#buddha .row3 h3 {
  --gap: -1.2vw;
}
#buddha .row3 h3 small {
  top: -0.2vw;
}
#buddha .row3 .photo {
  margin: 6vw 0;
}
#buddha .row3 h4 {
  margin: 8vw 0 6vw;
}
#buddha .row3 .button a {
  text-decoration: none;
  border-bottom: 1px solid #808080;
}
#buddha .row3 .button a:after {
  content: '';
  display: inline-block;
  background: url('../img/shared/icon_pop.png') no-repeat center;
  width: 10px;
  height: 9px;
  background-size: contain;
  margin-left: 6px;
  margin-right: 3px;
  margin-bottom: 2px;
}
@media screen and (min-width: 768px) {
  #buddha {
    padding: 92px 0 99px;
  }
  #buddha .wrap {
    max-width: 900px;
  }
  #buddha .c-ttl span:last-child {
    width: 80px;
  }
  #buddha h3 {
    letter-spacing: 0.05em;
  }
  #buddha h3 small {
    margin-right: 17px;
    top: -4px;
    letter-spacing: 0.2em;
    font-size: 16px;
  }
  #buddha .c-row {
    margin-top: 71px;
  }
  #buddha .c-row .photo {
    float: left;
    margin: 0;
  }
  #buddha .c-row h3 {
    float: right;
    width: 460px;
    margin-top: 189px;
  }
  #buddha .c-row .txt {
    float: right;
    width: 458px;
    margin-top: 7px;
  }
  #buddha .c-row + .c-row {
    margin-top: 63px;
  }
  #buddha .row3 {
    margin-top: 165px;
    position: relative;
  }
  #buddha .row3 h3 {
    margin-top: -7px;
    letter-spacing: 0.03em;
  }
  #buddha .row3 h3 small {
    margin-right: 14px;
    top: -4px;
  }
  #buddha .row3 .photo {
    margin: 0;
    width: auto;
    position: absolute;
    right: 0;
    top: 7px;
  }
  #buddha .row3 .txt {
    width: 460px;
    margin-top: 16px;
  }
  #buddha .row3 h4 {
    margin: 32px 0 -8px;
    letter-spacing: 0.02em;
  }
  #buddha .row3 .button {
    text-align: left;
    margin-top: 15px;
    margin-left: -3px;
  }
  #buddha .row3 .button a {
    line-height: 14px;
    display: table;
  }
  #buddha .row3 .button a:hover {
    border-color: transparent;
  }
}

/*--------------------------------------
    pray
--------------------------------------*/
#pray {
  padding: 16vw 0;
}
#pray .photo1 {
  height: 100vw;
  margin: 8vw -5% 10vw;
}
#pray .photo1 img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}
#pray .row {
  gap: 8vw;
  margin-bottom: 10vw;
}
#pray .row .txt {
  margin: 6vw 0;
}
#pray .row .btn-cus {
  margin-left: 0;
}
@media screen and (min-width: 768px) {
  #pray {
    padding: 95px 0 160px;
  }
  #pray .c-ttl span:last-child {
    width: 80px;
  }
  #pray .photo1 {
    margin: 70px 3px 76px 0;
    height: auto;
  }
  #pray .row {
    flex-direction: row-reverse;
    gap: 30px;
    margin-bottom: 73px;
    justify-content: space-between;
  }
  #pray .row .content {
    width: 519px;
    margin-top: -10px;
  }
  #pray .row .content .txt {
    margin: 27px -9px 28px 0;
    line-height: 30px;
  }
  #pray .row .content .btn-cus a:before {
    right: 29px;
    width: 10px;
  }
  #pray .text {
    text-align: center;
    letter-spacing: 0.02em;
  }
}

/*--------------------------------------
    message
--------------------------------------*/
#message .deco {
  width: 25vw;
  margin: 0 auto 10vw;
}
#message .row {
  margin-top: 10vw;
  gap: 7vw;
}
#message .row h3 {
  margin-bottom: 6vw;
}
@media screen and (min-width: 768px) {
  #message .deco {
    width: 137px;
    position: relative;
    left: -1px;
    margin-bottom: 150px;
  }
  #message .c-ttl span:last-child {
    margin-top: 12px;
  }
  #message .row {
    margin-top: 78px;
    flex-direction: row-reverse;
    gap: 40px;
    justify-content: center;
    margin-right: 8px;
  }
  #message .row .content {
    display: -webkit-flex;
    display: -moz-flex;
    display: -ms-flex;
    display: -o-flex;
    display: flex;
    flex-direction: row-reverse;
    gap: 22px;
  }
  #message .row .content h3 {
    margin-top: -2px;
    line-height: 48px;
    letter-spacing: 0.05em;
  }
  #message .row .content .txt {
    height: 310px;
  }
}

/*# sourceMappingURL=about.css.map */
