/* ---------------------------------------------------- 

メインビジュアル

---------------------------------------------------- */
.section-mv{
  background-color: #28385e;
}

.section-mv::after{
  position: absolute;
  z-index: 1;
  right: 0;
  display: inline-block;
  width: 100px;
  height: auto;
  aspect-ratio: 168/198;
  content: "";
  transform: rotate(180deg);
  background: url(/img/common/bg-leaf_01.png) no-repeat;
  background-size: contain;
}
@media (min-width: 768px){
  .section-mv::after{
    width: 180px;
  }
}

.main-visual{
  position: relative;
  max-width: 1280px;
  height: 300px;
  margin: auto;
} 
@media (min-width: 768px){
  .main-visual{
    height: 480px;
  }
}

.main-visual__header{
  position: absolute;
  top: 43%;
  left: 16px;
  width: 100%;
  min-width: 10rem;
  max-width: 40%;
}
@media (min-width: 768px){
  .main-visual__header{
    left: 140px;
    min-width: 10rem;
    max-width: 20rem;
  }
}

.main-visual__header > img{
  filter: drop-shadow(1px 1px 2px rgba(0, 0, 0,.5));
}
@media (min-width: 768px){
  .main-visual__header > img{
    filter: drop-shadow(4px 4px 3px rgba(0, 0, 0,.5));
  }
}

.main-visual__header > span{
  display: block;
  color: #fff;
  font-size: .875rem;
  font-weight: normal;
}
@media (min-width: 768px){
  .main-visual__header > span{
    width: max-content;
    font-size: 1.5rem;
    line-height: 1;
  }
}

.main-visual__image{
  width: 1280px;
  height: 300px;
  object-fit: cover;
  object-position: 40%;
}
@media (min-width: 768px){
  .main-visual__image{
    height: 480px;
  }
}



/* ---------------------------------------------------- 

ページ内リンク

---------------------------------------------------- */
.pageLinks{
  margin: 2rem .5rem;
}

.pageLinks__list{
  display: flex;
  flex-direction: column;
  gap: .5rem;
  width: 100%;
  max-width: 30rem;
  margin: auto;
}
@media (min-width: 768px){
  .pageLinks__list{
    display: flex;
    flex-direction: row;
    gap: 2rem;
    width: 100%;
    max-width: 1000px;
    margin: auto;
  }
}

@media (min-width: 768px){
  .pageLinks__item{
    width: 100%;
  }
}

.pageLinks__link{
  position: relative;
  z-index: 2;
  display: grid;
  justify-items: center;
  grid-template-columns: 1fr max-content;
  align-items: center;
  width: 100%;
  min-height: 3.5rem;
  padding: 0 2rem;
  text-decoration: none;
  color: #28385e;
  border: solid 1px #28385e;
  border-radius: 9999px;
  background-color: #fff;
  font-weight: bold;
}@media (min-width: 768px){
  .pageLinks__link{
    font-size: 1.125rem;
  }
}



/* ---------------------------------------------------- 

ギャラリー

---------------------------------------------------- */
section{
  color: #28385e;
  scroll-margin-top: 50px;
}
@media (min-width: 768px){
  section{
    scroll-margin-top: 80px;
  }
}

section:not(:first-of-type){
  margin: 4rem 0 0 0;
}

.section__header{
  margin: 0 .5rem;
}
@media (min-width: 768px){
  .section__header{
    width: 100%;
    max-width: 1000px;
    margin: 0 auto;
  }
}

.section__title{
  position: static;
  display: grid;
  grid-template-columns: max-content auto 1fr;
  align-items: center;
  font-size: 1.5rem;
}

.section__title > span{
  font-size: 1rem;
  margin-top: .5rem;
}

.section__title::before{
  width: 32px;
  height: auto;
  aspect-ratio: 11/30;
  margin-right: -0.5rem;
  content: "";
  background: url(/img/common/title_bg_mark.svg) no-repeat;
  background-size: contain;
}

.section__body{
  margin: 1rem 0 0 0;
}
@media (min-width: 768px){
  .section__body{
    margin: 1rem 0 0 0;
  }
}

.section__footer{
  background-color: #fff;
}
@media (min-width: 768px){
  .section__footer{
    margin: 2rem 0 0 0;
  }
}



/* ---------------------------------------------------- 

写真

---------------------------------------------------- */
.photo{
  padding: 2rem .5rem 2rem;
  background: radial-gradient(#f3f5f6, #d6dced);
}
@media (min-width: 768px){
  .photo{
    padding: 2rem calc((100% - 1000px) / 2) 2rem;
  }
}

.photo__contents:not(:first-of-type){
  margin: 2rem 0 0 0;
}
@media (min-width: 768px){
  .photo__contents:not(:first-of-type){
    margin: 3rem 0 0 0;
  }
}

.photo__h3{
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: .5rem 1.25rem;
  color: #fff;
  border-radius: 9999px;
  background: #28385e;
  font-size: 1rem;
  font-weight: normal;
  line-height: 1;
}

.photo__container{
  display: grid;
  gap: .5rem 2rem;
  margin: .5rem 0 0 0;
}
@media (min-width: 768px){
  .photo__container{
    display: grid;
    grid-template-columns: repeat(2,1fr);
    gap: 1rem 2rem;
    margin: 1rem 0 0 0;
    padding: 0 0 0 1.25rem;
  }
}

.photo__item{
  display: flex;
  gap: 2rem;
}

.photo__open{
  display: inline-grid;
  grid-template-columns: 1fr 1rem;
  align-items: center;
  gap: .5rem;
  text-decoration: none;
  color: #28385e;
}
.photo__open:not(:first-of-type){
  display: none;
}


.links{
  margin: 0 auto;
  padding: 2rem .5rem;
  background: #fff;
}
@media (min-width: 768px){
  .links{
    width: 100%;
    max-width: 1000px;
    padding: 4rem 0;
  }
}

@media (min-width: 768px){
  .links__copy{
    text-align: center;
  }
}

.links__wrapper{
  display: grid;
  gap: 1rem;
  width: 100%;
  margin: 1rem auto 0;
}
@media (min-width: 768px){
.links__wrapper{
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 2rem;
  width: 100%;
  max-width: 760px;
  margin: 1rem auto 0;
}
}

.link{
  display: flex;
  align-items: center;
  flex-direction: column;
  justify-content: center;
  gap: 1rem;
  width: 100%;
  min-height: 128px;
  border-radius: 1rem;
  background-color: #fef7ee;
  font-size: .875rem;
}
@media (min-width: 768px){
  .link{
    display: flex;
    align-items: center;
    flex-direction: column;
    justify-content: center;
    gap: 1rem;
    width: 100%;
    min-width: auto;
    min-height: 128px;
    border-radius: 1rem;
    background-color: #fef7ee;
    font-size: .875rem;
  }
}

.link > .btn-primary{
  gap: .25rem;
  max-width: 205px;
  min-height: 38px;
}



/* ---------------------------------------------------- 

動画

---------------------------------------------------- */
.movie{
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 1.5rem .75rem;
  padding: 0 .5rem;
  margin: 0 0 4rem 0;
}
@media (min-width: 768px){
  .movie{
    grid-template-columns: repeat(3, 1fr);
    gap: 3rem 1rem;
    width: 100%;
    max-width: 1000px;
  margin: 0 auto 4rem;
  }
}

.movie__content:first-of-type{
  grid-column: 1/3;
  grid-row: 1/2;
  padding: 1rem;
  background-color: #f2f2f2;
}
@media (min-width: 768px){
  .movie__content:first-of-type{
    grid-column: 1/4;
    grid-row: 1/2;
    padding: 1rem;
    background-color: #f2f2f2;
  }
}

.movie__content > iframe{
  overflow: hidden;
  width: 100%;
  height: auto;
  aspect-ratio: 16 / 9;
  transform: translateY(0px);
  border-radius: .5rem;
}

.movie__title{
  margin: 0 0 1rem 0;
  text-align: center;
  font-size: 1.25rem;
  font-weight: bold;
}

.movie__desc{
  font-size: .875rem;
  font-weight: bold;
}