@charset "UTF-8";
/*数値の設定
------------------------------------------*/
/*上記数値の設定を呼び出しているmixin
------------------------------------------*/
/*
よく使用するmixin
------------------------------------------*/
.wrapper, body {
  overflow: visible;
}

/*body::before{display: none;}*/
.cap {
  position: absolute;
  bottom: 0;
  right: 0;
  padding: 0 5px;
  line-height: 1.2;
  font-size: 1.1rem;
  color: #222;
  color: #fff;
  background: rgba(34, 34, 34, 0.8);
}

@media only screen and (max-width: 767px) {
  .pc_only {
    display: none;
  }
}

.sp_only {
  display: none;
}
@media only screen and (max-width: 767px) {
  .sp_only {
    display: block;
  }
}

.back_black {
  background: #222;
}
.back_black h3, .back_black h4 {
  color: #fff;
}
.back_black p {
  color: rgba(255, 255, 255, 0.5);
}

/* pageKv =============*/
#pageKv {
  position: relative;
  padding: 220px 0 0;
}
@media only screen and (max-width: 767px) {
  #pageKv {
    padding: 150px 0 0;
  }
}

.pageKv_textArea {
  display: flex;
  flex-wrap: wrap;
  padding: 0 60px 10vw;
}
@media only screen and (max-width: 991px) {
  .pageKv_textArea {
    padding: 0 40px 100px;
  }
}
@media only screen and (max-width: 767px) {
  .pageKv_textArea {
    padding: 0 20px 70px;
  }
}
.pageKv_textArea .pageKv_copy {
  width: 50%;
}
@media only screen and (max-width: 767px) {
  .pageKv_textArea .pageKv_copy {
    width: 100%;
    margin-bottom: 35px;
  }
}
.pageKv_textArea .pageKv_copy .getMy {
  display: block;
  font-size: clamp(18px, 2.5vw, 48px);
  font-weight: 500;
  line-height: 1;
}
.pageKv_textArea .pageKv_copy .title {
  font-size: clamp(70px, 12vw, 210px);
  font-weight: 300;
  line-height: 1;
}
.pageKv_textArea .pageKv_text {
  width: 50%;
  padding-top: 2vw;
}
@media only screen and (max-width: 767px) {
  .pageKv_textArea .pageKv_text {
    width: 100%;
    padding-top: 0;
  }
}
.pageKv_textArea .pageKv_text h3 {
  font-family: YuGothic, "Yu Gothic medium", "Hiragino Sans", Meiryo, "sans-serif";
  font-size: clamp(36px, 3.5vw, 68px);
  font-weight: normal;
  line-height: 1.2;
  margin-bottom: 60px;
}
@media only screen and (max-width: 767px) {
  .pageKv_textArea .pageKv_text h3 {
    margin-bottom: 35px;
  }
}
.pageKv_textArea .pageKv_text p {
  font-family: YuGothic, "Yu Gothic medium", "Hiragino Sans", Meiryo, "sans-serif";
  color: rgba(1, 1, 13, 0.5);
  font-size: clamp(17px, 1.3vw, 28px);
  font-weight: normal;
}

.pageKv_image {
  overflow: hidden;
  position: relative;
  clip-path: inset(0 var(--clip) 0 var(--clip));
}
.pageKv_image picture {
  position: relative;
}

.scrollDown {
  position: absolute;
  bottom: 30px;
  right: 60px;
  font-size: clamp(11px, 0.9375vw, 18px) !important;
}
@media only screen and (max-width: 767px) {
  .scrollDown {
    bottom: 0;
    right: 4vw;
  }
}
.scrollDown a {
  display: flex;
  align-items: center;
}
.scrollDown a .icon-arrow-ring {
  width: 48px;
  margin-left: 10px;
}
@media only screen and (max-width: 767px) {
  .scrollDown a .icon-arrow-ring {
    width: 30px;
    margin-left: 5px;
  }
}
.scrollDown a .icon-arrow-ring::after {
  font-family: 'Material Symbols Outlined';
  content: "\e7cd";
  font-size: 30px;
  font-variation-settings: 'FILL' 0, 'wght' 200, 'GRAD' 0, 'opsz' 24;
  transition: .3s all;
}
@media only screen and (max-width: 767px) {
  .scrollDown a .icon-arrow-ring::after {
    font-size: 30px;
  }
}
.scrollDown a:hover .icon-arrow-ring::after {
  font-variation-settings: 'FILL' 1, 'wght' 200, 'GRAD' 0, 'opsz' 24;
}
.scrollDown .textWrap {
  position: relative;
  letter-spacing: -.1em;
}
.scrollDown .textWrap .text1 span {
  display: inline-block;
  animation: scrollDown 4s linear infinite;
  background: #fff;
}
.scrollDown .textWrap .text2 {
  position: absolute;
  top: 0;
  bottom: auto;
  left: 0;
  right: auto;
}
.scrollDown .textWrap .text2 span {
  display: inline-block;
  animation: scrollDown2 4s linear infinite;
  background: #F7F6F6;
  background: #fff;
}
.scrollDown .textWrap span:nth-of-type(1) {
  animation-delay: 0s;
}
.scrollDown .textWrap span:nth-of-type(2) {
  animation-delay: .1s;
}
.scrollDown .textWrap span:nth-of-type(3) {
  animation-delay: .2s;
}
.scrollDown .textWrap span:nth-of-type(4) {
  animation-delay: .3s;
}
.scrollDown .textWrap span:nth-of-type(5) {
  animation-delay: .4s;
}
.scrollDown .textWrap span:nth-of-type(6) {
  animation-delay: .5s;
}
.scrollDown .textWrap span:nth-of-type(7) {
  animation-delay: .6s;
}
.scrollDown .textWrap span:nth-of-type(8) {
  animation-delay: .7s;
}
.scrollDown .textWrap span:nth-of-type(9) {
  animation-delay: .8s;
}
.scrollDown .textWrap span:nth-of-type(10) {
  animation-delay: .9s;
}
.scrollDown .textWrap span:nth-of-type(11) {
  animation-delay: 1.0s;
}

@keyframes scrollDown2 {
  0% {
    transform: translate(0px, 0.5em) rotateY(5.7deg) rotateX(90deg);
  }
  25% {
    transform: translate(0px, 0px) rotateY(0) rotateX(0);
  }
  50% {
    transform: translate(0px, -0.5em) rotateY(-5.7deg) rotateX(-90deg);
  }
  75% {
    transform: translate(0px, 0px) rotateY(0) rotateX(0);
  }
  100% {
    transform: translate(0px, 0.5em) rotateY(5.7deg) rotateX(90deg);
  }
}
/* pageContents =============*/
#pageContents {
  position: relative;
}

#sideMenu {
  position: absolute;
  height: 100%;
  top: 0;
  left: 0;
  z-index: 100;
  width: 335px;
}
@media only screen and (max-width: 991px) {
  #sideMenu {
    width: 220px;
  }
}
@media only screen and (max-width: 767px) {
  #sideMenu {
    display: none;
  }
}
#sideMenu .sideMenu_inner {
  position: sticky;
  top: 0;
  left: 0;
  height: 100vh;
  display: flex;
  align-items: flex-start;
  padding: 200px 0 0 60px;
}
@media only screen and (max-width: 991px) {
  #sideMenu .sideMenu_inner {
    padding: 100px 0 0 40px;
  }
}
#sideMenu .sideMenu_list li {
  margin-bottom: 10px;
}
#sideMenu .sideMenu_list li a {
  font-size: 24px;
  /* font-weight: 500; */
  position: relative;
  transition: 0.3s ease;
}
@media only screen and (max-width: 991px) {
  #sideMenu .sideMenu_list li a {
    font-size: 18px;
  }
}
#sideMenu .sideMenu_list li a::after {
  content: "";
  position: absolute;
  bottom: 0;
  left: 0;
  width: 0;
  height: 2px;
  background: #000;
  transition: 0.3s ease;
}
#sideMenu .sideMenu_list li a:hover::after {
  width: 100%;
}
#sideMenu .sideMenu_list li a.is-current::after {
  width: 100%;
}

#sideMenu.text_white .sideMenu_list li a {
  color: #fff;
}
#sideMenu.text_white .sideMenu_list li a::after {
  background: #fff;
}

#mainContent .inner {
  padding: 0 60px 0 365px;
}
@media only screen and (max-width: 991px) {
  #mainContent .inner {
    padding: 0 40px 0 220px;
  }
}
@media only screen and (max-width: 767px) {
  #mainContent .inner {
    padding: 0 20px;
  }
}

/* content_nav =============*/
#content_nav {
  background: #F7F6F6;
  padding: 200px 0 140px;
}
@media only screen and (max-width: 991px) {
  #content_nav {
    padding: 80px 0 40px;
  }
}
#content_nav .inner {
  padding: 0 60px;
}
@media only screen and (max-width: 991px) {
  #content_nav .inner {
    padding: 0 40px;
  }
}
@media only screen and (max-width: 767px) {
  #content_nav .inner {
    padding: 0 20px;
  }
}
#content_nav .content_nav_title {
  margin-bottom: 80px;
  padding-top: clamp(30px, 2.6041666667vw, 50px);
  font-size: clamp(21px, 1.4583333333vw, 28px);
  font-weight: 500;
  border-top: 1px solid #101010;
}
@media only screen and (max-width: 767px) {
  #content_nav .content_nav_title {
    margin-bottom: 35px;
    padding-top: 15px;
  }
}
#content_nav .content_nav_wrap {
  display: flex;
  flex-wrap: wrap;
  margin-left: -30px;
  margin-right: -30px;
}
@media only screen and (max-width: 991px) {
  #content_nav .content_nav_wrap {
    margin-left: -10px;
    margin-right: -10px;
  }
}
#content_nav .content_nav_wrap .content_nav_box {
  width: calc(100% / 4);
  padding: 0 30px;
  margin-bottom: 60px;
}
@media only screen and (max-width: 991px) {
  #content_nav .content_nav_wrap .content_nav_box {
    padding: 0 10px;
    margin-bottom: 30px;
  }
}
@media only screen and (max-width: 767px) {
  #content_nav .content_nav_wrap .content_nav_box {
    width: calc(100% / 2);
  }
}
#content_nav .content_nav_wrap .content_nav_box .content_nav_image {
  margin-bottom: 10px;
}
#content_nav .content_nav_wrap .content_nav_box .content_nav_image figure {
  overflow: hidden;
}
#content_nav .content_nav_wrap .content_nav_box .content_nav_image figure img {
  transition: 0.3s ease;
}
#content_nav .content_nav_wrap .content_nav_box ul {
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
}
#content_nav .content_nav_wrap .content_nav_box ul li:nth-child(1) {
  font-size: 15px;
  font-weight: 500;
}
@media only screen and (max-width: 991px) {
  #content_nav .content_nav_wrap .content_nav_box ul li:nth-child(1) {
    font-size: 11px;
  }
}
#content_nav .content_nav_wrap .content_nav_box ul li:nth-child(2) {
  font-size: 14px;
  font-weight: 700;
  text-align: right;
}
@media only screen and (max-width: 991px) {
  #content_nav .content_nav_wrap .content_nav_box ul li:nth-child(2) {
    font-size: 11px;
  }
}
#content_nav .content_nav_wrap .content_nav_box a:hover .content_nav_image figure img {
  transform: scale(1.05);
}

/*スマホ スクロール*/
.scroll_icon {
  display: none;
}

@media screen and (max-width: 767px) {
  .scroll_wrap {
    width: 100%;
    overflow-x: scroll;
    position: relative;
  }

  .scroll_icon {
    display: block;
    position: absolute;
    top: 50px;
    left: 40%;
    z-index: 2;
    animation: scroll_icon 1s ease-in-out infinite alternate;
  }

  @keyframes scroll_icon {
    0% {
      transform: translate(-30%, 0);
    }
    100% {
      transform: translate(-70%, 0);
    }
  }
}
#annotation_are {
  padding: 50px 0;
}
#annotation_are .inner {
  padding: 0 60px;
}
@media only screen and (max-width: 991px) {
  #annotation_are .inner {
    padding: 0 40px;
  }
}
@media only screen and (max-width: 767px) {
  #annotation_are .inner {
    padding: 0 20px;
  }
}
#annotation_are p {
  font-size: 11px;
  line-height: 1.7;
  padding-left: 13px;
  position: relative;
}
#annotation_are p.asterisk::before {
  content: "※";
  position: absolute;
  left: 0;
  top: 0;
}

/*footerCV
------------------------------------------*/
.footerCV {
  padding: 9vw 0;
  background: #101010;
}
@media only screen and (max-width: 767px) {
  .footerCV {
    padding: 36vw 5.333333333333334vw;
  }
}
.footerCV .entryBox {
  display: flex;
  justify-content: center;
  /*margin-top: 60px;*/
  /*.btnArea {
  	margin-top: clamp(20px, 1.3vw, 25px);
  	a {
  		display: flex;
  		justify-content: center;
  		align-items: center;
  		width: 291px;
  		height: 68px;
  		margin: 0 auto;
  		border-radius: 34px;
  		background: $accent;
  		font-size: clamp(14px, .9375vw, 18px);
  		transition: .3s all;
  		@include smp{
  			width: 100%;
  			height: 54px;
  		}
  		&:hover {
  			filter: brightness(1.2);
  		}
  	}
  }
  .subText + .btnArea {
  	margin-top: clamp(25px, 2.083333333333333vw, 40px);
  }*/
}
.footerCV .entryBox .title {
  margin-bottom: clamp(20px, 1.3vw, 25px);
  font-size: clamp(12px, 0.7291666667vw, 14px);
  color: #FC9453;
  font-weight: 400;
  line-height: 1;
}
.footerCV .entryBox .text {
  font-size: clamp(28px, 2.9166666667vw, 56px);
  /*font-weight: $font_b;*/
  color: #fff;
}
.footerCV .entryBox .subText {
  margin-top: clamp(20px, 1.3vw, 25px);
  font-size: clamp(15px, 1.09375vw, 21px);
  /*font-weight: $font_b;*/
  color: rgba(255, 255, 255, 0.5);
}
.footerCV .entryBox_cvArea {
  margin-top: 60px;
}
.footerCV .entryBox_cvArea .inner {
  padding: 0 6.25vw;
}
@media only screen and (max-width: 767px) {
  .footerCV .entryBox_cvArea .inner {
    padding: 0;
  }
}
.footerCV .entryBox_cvArea .flex {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
}
.footerCV .entryBox_cvArea .cvBtn {
  width: 32%;
  padding: 0 2%;
  margin-top: clamp(20px, 2vw, 25px);
}
@media only screen and (max-width: 767px) {
  .footerCV .entryBox_cvArea .cvBtn {
    width: 100%;
    padding: 0;
  }
}
.footerCV .entryBox_cvArea .cvBtn a {
  display: flex;
  justify-content: center;
  align-items: center;
  /*width: 291px;
  height: 68px;*/
  padding: 24px 0;
  margin: 0 auto;
  border-radius: 34px;
  background: #FC9453;
  font-size: clamp(14px, 0.9375vw, 18px);
  transition: .3s all;
}
@media only screen and (max-width: 767px) {
  .footerCV .entryBox_cvArea .cvBtn a {
    width: 100%;
    /*height: 54px;*/
  }
}
.footerCV .entryBox_cvArea .cvBtn a:hover {
  filter: brightness(1.2);
}
.footerCV .entryBox_cvArea .cvBtn a.pink {
  background: #c9324e;
  color: #fff;
}
.footerCV .entryBox_cvArea .cvBtn a.blue {
  background: #50ADB7;
  color: #fff;
}
.footerCV .entryBox_cvArea .cvBtn a.gray {
  background: #607d8b;
  color: #fff;
}
.footerCV .entryBox_cvArea + .entryBox_cvArea {
  margin-top: 0;
}

.entryBox_cvArea .cvBtn.touroku a:nth-child(1) {
  display: none;
}

/*body#topPage .entryBox .entryBox_cvArea .cvBtn a.topPageOnly {
	display: block;
}*/
.c-btn,
a.c-btn {
  display: flex;
  justify-content: center;
  align-items: center;
  height: 68px;
  background: #797774;
  color: #FFF;
  position: relative;
  border-radius: 100px;
  width: 100%;
  box-sizing: border-box;
  padding: 5px 50px 5px 20px;
  cursor: pointer;
}
.c-btn .c-btn__txt,
a.c-btn .c-btn__txt {
  font-size: 18px;
  line-height: 1.3;
  font-weight: 500;
  padding: 2px 0 0 0;
}
@media only screen and (max-width: 767px) {
  .c-btn .c-btn__txt,
  a.c-btn .c-btn__txt {
    font-size: 16px;
  }
}
.c-btn .c-btn__icon,
a.c-btn .c-btn__icon {
  position: absolute;
  width: 50px;
  height: 50px;
  background: #E1641D;
  border-radius: 50%;
  display: flex;
  justify-content: center;
  align-items: center;
  right: 9px;
  bottom: 0;
  top: 0;
  margin: auto;
}

#pxBase .c-btn__icon img {
  max-width: 12px;
  margin-left: 2px;
}

#pxBase .c-btn.is-plus .c-btn__icon img {
  max-width: 15px;
  margin-left: 0;
}

.c-btn.is-green,
a.c-btn.is-green {
  background: #13390B;
}

.c-btn.is-green .c-btn__icon,
a.c-btn.is-green .c-btn__icon {
  background: #13390B;
}

.c-btn.is-black,
a.c-btn.is-black {
  background: #292827;
  border: #6A6968 1px solid;
}

.c-btn.is-black .c-btn__icon,
a.c-btn.is-black .c-btn__icon {
  background: #292827;
}

.c-btn.is-orange,
a.c-btn.is-orange {
  background: #E1641D;
}

.c-btn.is-orange .c-btn__icon,
a.c-btn.is-orange .c-btn__icon {
  background: #E1641D;
}

.c-btn.is-blue,
a.c-btn.is-blue {
  background: #5f6985;
}

.c-btn.is-blue .c-btn__icon,
a.c-btn.is-blue .c-btn__icon {
  background: #5f6985;
}

.secN-note {
  /*padding: 80px 3.25vw 80px;
  @include smp {
    padding: 54px 5.333333333333334vw 0px;
  }*/
}
.secN-noteInner {
  max-width: 1600px;
  margin: 0 auto;
}
.secN-noteFrame {
  /*padding-bottom: 73px;
  position: relative;
  @include smp {
    padding-bottom: 55px;
  }
  &:before {
    content: '';
    background: #A7A4A1;
    display: block;
    bottom: 0;
    left: 0;
    position: absolute;
    width: 0;
    height: 1px;
    transition: 0.8s ease;
  }*/
}
.secN-note__title {
  font-size: clamp(20px, 3vw, 36px);
  line-height: 1.5;
  text-align: center;
  font-weight: 400;
  margin-bottom: 23px;
}
.secN-noteBtn {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
}
.secN-noteBtnItem {
  margin: 7px 15px;
  width: 360px;
  transform: scale(1.05);
  opacity: 0;
  transition: 0.8s ease;
}
@media only screen and (max-width: 767px) {
  .secN-noteBtnItem {
    margin: 10px 0;
    width: 100%;
  }
}
.secN-noteBtnItem.visitor {
  /*width: 300px;*/
}
@media only screen and (max-width: 767px) {
  .secN-noteBtnItem.visitor {
    width: 100%;
  }
}
.secN-note.is-view .secN-noteFrame:before {
  width: 100%;
  transition-delay: 2s;
}
.secN-note.is-view .secN-noteBtnItem {
  transform: scale(1);
  opacity: 1;
}
.secN-note.is-view .secN-noteBtnItem:nth-of-type(1) {
  transition-delay: 1s;
}
.secN-note.is-view .secN-noteBtnItem:nth-of-type(2) {
  transition-delay: 1.2s;
}
.secN-note.is-view .secN-noteBtnItem:nth-of-type(3) {
  transition-delay: 1.4s;
}
.secN-note.is-view .secN-noteBtnItem:nth-of-type(4) {
  transition-delay: 1.6s;
}

/* gallery_pageKv
------------------------------------------*/
#gallery_pageKv {
  position: relative;
  background: url("../img/pages/gallery/kv-img.jpg") no-repeat center center;
  background-size: cover;
  height: 825px;
}
@media only screen and (max-width: 767px) {
  #gallery_pageKv {
    background: url("../img/pages/gallery/kv-img.jpg") no-repeat center center;
    background-size: cover;
    height: 490px;
  }
}

#gallery_pageKv:before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: rgba(0, 0, 0, 0.5);
}

#gallery_pageKv .pageKv_copy {
  color: #fff;
  position: absolute;
  top: 50%;
  left: 8vw;
  transform: translateY(-50%);
  z-index: 1;
}
@media only screen and (max-width: 767px) {
  #gallery_pageKv .pageKv_copy {
    padding-right: 8vw;
  }
}

#gallery_pageKv .pageKv_copy h3 {
  font-size: clamp(24px, 7vw, 120px);
  font-weight: 300;
  line-height: 1;
  /*margin-bottom: 30px;*/
}

#gallery_pageKv .pageKv_copy p {
  font-size: clamp(14px, 1.4vw, 18px);
}

/* ページ内共通パーツ
------------------------------------------*/
main p {
  font-size: clamp(14px, 1.3vw, 18px);
}

.compact_contentsWrap {
  background: #F7F3ED;
  padding: clamp(80px, 7vw, 120px) 0 clamp(80px, 10vw, 180px);
}

.compact_contentsWrap > .inner {
  max-width: 1290px;
  margin: 0 auto;
  padding: 0 20px;
}

.bk_gray01 {
  background: #666;
  color: #fff;
}

.bk_gray02 {
  background: #292827;
  color: #fff;
}

.secTitle {
  font-size: clamp(24px, 2vw, 36px);
}

.secTitle span {
  display: block;
  font-size: clamp(11px, 1.4vw, 18px);
}

.anno {
  font-size: 11px;
  padding-top: 10px;
}

/* gallery_intro
------------------------------------------*/
.gallery_intro {
  margin-bottom: 168px;
  text-align: center;
}
@media only screen and (max-width: 767px) {
  .gallery_intro {
    margin-bottom: 84px;
  }
}

.gallery_intro h3 {
  font-size: 36px;
  margin-bottom: 40px;
}
@media only screen and (max-width: 767px) {
  .gallery_intro h3 {
    font-size: 24px;
  }
}

/* gallery_main
------------------------------------------*/
.gallery_main h3 {
  font-size: clamp(14px, 1.3vw, 18px);
  margin-bottom: 40px;
}

.gallery_main h3 span {
  font-size: 80px;
  font-weight: 300;
  line-height: 1.2;
}
@media only screen and (max-width: 767px) {
  .gallery_main h3 span {
    font-size: 40px;
  }
}

/* merit
------------------------------------------*/
.merit_navi {
  display: flex;
  justify-content: space-between;
  text-align: center;
}

.merit_navi li {
  width: 32%;
}

.merit_navi li a {
  background: #F7F3ED;
  display: block;
  display: flex;
  flex-direction: column;
}

.merit_navi li a span:nth-child(1) {
  color: #E1641D;
  padding: 20px 0 10px;
}
@media only screen and (max-width: 767px) {
  .merit_navi li a span:nth-child(1) {
    font-size: 10px;
  }
}

.merit_navi li a span:nth-child(2) {
  font-size: 24px;
  line-height: 1.4;
  padding-bottom: 60px;
  position: relative;
}
@media only screen and (max-width: 767px) {
  .merit_navi li a span:nth-child(2) {
    font-size: 12px;
  }
}

.merit_navi li a span:nth-child(2):before {
  content: '';
  position: absolute;
  bottom: 15px;
  left: 50%;
  transform: translateX(-50%);
  width: 30px;
  height: 30px;
  background: url("../img/pages/gallery/icon_orange_arrow.svg") no-repeat center center;
  background-size: cover;
}

/* merit_contents
------------------------------------------*/
.merit_contents {
  padding-top: 100px;
}
@media only screen and (max-width: 767px) {
  .merit_contents {
    padding-top: 50px;
  }
}

.merit_contents figure {
  position: relative;
  z-index: 0;
}

.merit_box {
  background: rgba(41, 40, 39, 0.8);
  max-width: 1040px;
  margin: -20px auto 0;
  padding: 60px;
  display: flex;
  justify-content: space-between;
  position: relative;
  z-index: 1;
}
@media only screen and (max-width: 767px) {
  .merit_box {
    display: block;
    margin: 0 auto;
    padding: 30px;
  }
}

.merit_box .left {
  width: 11%;
  border-right: 1px solid #fff;
  color: #E1641D;
  font-size: 15px;
}
@media only screen and (max-width: 767px) {
  .merit_box .left {
    width: 100%;
    border-right: none;
    font-size: 12px;
    margin-bottom: 10px;
  }
}

.merit_box .right {
  width: 89%;
  padding-left: 40px;
}
@media only screen and (max-width: 767px) {
  .merit_box .right {
    width: 100%;
    padding-left: 0;
  }
}

.merit_box .right h3 {
  font-size: 28px;
  margin-bottom: 30px;
}
@media only screen and (max-width: 767px) {
  .merit_box .right h3 {
    font-size: 20px;
    margin-bottom: 15px;
  }
}

/* gallery_main
------------------------------------------*/
@media only screen and (max-width: 991px) {
  .gallerysliderWrap {
    display: none;
  }
}

/* スライダーカスタム
------------------------------------------*/
.galleryslider {
  position: relative;
}

.arrow_box {
  display: flex;
  align-items: center;
  justify-content: flex-end;
  margin: 20px 0 0;
  position: relative;
}

.prev-arrow,
.next-arrow {
  display: block;
  width: 60px;
  height: 60px;
  background: #292827;
  transition: all .3s ease;
  cursor: pointer;
  position: absolute;
  top: 50%;
  z-index: 2;
}

.prev-arrow {
  left: 15px;
  transform: rotate(180deg);
}

.next-arrow {
  right: 15px;
}

.prev-arrow::before,
.next-arrow::before {
  position: absolute;
  content: "";
  width: 16px;
  height: 16px;
  border-right: 1px solid #FFF;
  border-top: 1px solid #FFF;
  top: 55%;
  left: 28%;
  margin: auto;
  transform: rotate(45deg) translate(-50%, -50%);
}

.meritslider {
  position: relative;
}
@media only screen and (max-width: 767px) {
  .meritslider .slick-dots {
    bottom: inherit;
    top: -30px;
  }
}
@media only screen and (max-width: 767px) {
  .meritslider .slick-dots li {
    width: 8px;
    height: 8px;
  }
}
@media only screen and (max-width: 767px) {
  .meritslider .slick-dots li button {
    width: 8px;
    height: 8px;
    padding: 0;
  }
}

/* SP 自動横スライド
------------------------------------------*/
.SP-gallery {
  display: none;
}
@media only screen and (max-width: 991px) {
  .SP-gallery {
    display: block;
    margin-left: -20px;
    margin-right: -20px;
  }
}

.loop {
  display: flex;
  overflow: hidden;
}

.loop_box {
  display: flex;
  animation: loop_slide 80s linear infinite;
}

.loop_box li {
  position: relative;
  width: 24vw;
  margin: 0 20px;
  padding-bottom: 50px;
}
@media only screen and (max-width: 991px) {
  .loop_box li {
    width: 580px;
    margin: 0 20px;
  }
}

@keyframes loop_slide {
  from {
    transform: translateX(0);
  }
  to {
    transform: translateX(-100%);
  }
}
/* SP モーダルウィンドウ
------------------------------------------*/
.SP-gallery02 {
  display: none;
}
@media only screen and (max-width: 991px) {
  .SP-gallery02 {
    display: block;
  }
}

.js-modal {
  display: flex;
  flex-wrap: wrap;
}

.js-modal li {
  width: 23%;
  margin: 1%;
}
