#main .main-inner {
  padding-top: 0;
}

.bg-gray {
  background-color: #2b2b2b !important;
}
.abelregular {
  font-family:'abelregular' !important;
}
.main-container {
  font-size: 16px;
  line-height: 2;
  letter-spacing: 0.02em;
}
.main-container img {
  max-width: 100%;
  height: auto;
}
.main-container figcaption {
  letter-spacing: 0;
  line-height: 1.3;
  margin-top: 1em;
}
.pb-0 {
	padding-bottom: 0 !important;
}
#anchor-03 .gr4mono-gallery-block figcaption {
	color: #fff;
	text-align: center;
	padding-top: 15px;
}
@media screen and (max-width: 640px) {
  .main-container figcaption {
    font-size: 14px;
  }
}
#tab-2 a.gr4mono-btn, #tab-2 a.gr4mono-btn:hover, #tab-2 a.gr4mono-btn:focus {
	border-bottom: 1px solid #fff;
	color: #fff;
}
#tab-2 a.gr4mono-btn:hover {
    background:#fff;
    color:#2b2b2b;
    text-decoration: none;
}
.note {
  margin-top: 1em;
}
.note.no-margin {
  margin-top: 0;
}

.note-maru {
  margin-top: 1em;
}
.note-maru.no-margin {
  margin-top: 0;
}

.txtlink:hover {
  text-decoration: underline !important;
}
.txtlink[target=_blank]:after {
  content: "";
  display: inline-block;
  width: 0.8em;
  height: 0.8em;
  background: #fff;
  mask-repeat: no-repeat;
  mask-size: contain;
  mask-image: url("../img/griv/icon-newtab.svg");
  margin-left: 3px;
}

.swiper-pagination-bullet {
  background: #8a8a8a;
  opacity: 1;
}
.swiper-pagination-bullet-active {
  background: #e65a24;
}

.app-blocks {
  display: flex;
  gap: 0 20px;
  margin-top: 30px;
}

.gr4mono-wrapper {
  max-width: 980px;
  margin: 0 auto;
}
@media screen and (max-width: 640px) {
  .gr4mono-wrapper {
    padding: 0 10px;
  }
}
.gr4mono-visual {
	width: 100%;
	overflow: hidden;
	padding-bottom: 40px;
}
@media screen and (max-width: 640px) {
  .gr4mono-visual {
    width: 100vw;
    margin-left: calc(50% - 50vw);
    margin-right: calc(50% - 50vw);
  }
}
.gr4mono-visual .swiper {
  overflow: visible; 
  padding-bottom: 12px;
}
@media screen and (max-width: 640px) {
  .gr4mono-visual .swiper {
    padding-bottom: calc(1em + 8px + 10px);
  }
}
.gr4mono-visual .swiper-slide {
  max-width: 1700px;
}
.gr4mono-visual .swiper-slide-img figcaption {
	text-align: right;
	font-size: 12px;
	max-width: 1500px;
	margin: 10px auto 0;
	padding: 0;
}
@media screen and (max-width: 640px) {
  .gr4mono-visual .swiper-slide-img figcaption {
    text-align: center;
    padding: 0;
    font-size: 11px;
  }
}
.gr4mono-visual .swiper-slide img {
  width: 100%;
  height: auto;
}
.gr4mono-visual .swiper-pagination {
  bottom: -5px !important;
}
.gr4mono-carousel {
  width: 100vw;
  margin-left: calc(50% - 50vw);
  margin-right: calc(50% - 50vw);
  overflow: hidden;
}
.gr4mono-carousel .swiper {
  padding-bottom: 38px;
}
.gr4mono-carousel .swiper-slide {
  width: 630px;
}
@media screen and (max-width: 640px) {
  .gr4mono-carousel .swiper-slide {
    width: calc(100% - 80px);
  }
}
.gr4mono-carousel .swiper-slide img {
  width: 100%;
  height: auto;
}
.gr4mono-carousel .swiper-pagination {
  bottom: 0 !important;
}
.gr4mono-nav {
  margin-top: 180px;
  margin-bottom: 120px;
}
@media screen and (max-width: 640px) {
  .gr4mono-nav {
    margin-top: 80px;
    margin-bottom: 80px;
  }
}
.gr4mono-nav-ul {
  display: flex;
  justify-content: space-between;
  gap: 0 15px;
}
@media screen and (max-width: 640px) {
  .gr4mono-nav-ul {
    flex-direction: column;
    gap: 5px 0;
  }
}
.gr4mono-nav-ul li {
  width: 100%;
}
.gr4mono-nav-ul a {
  display: flex;
  width: 100%;
  justify-content: center;
  align-items: center;
  background: #333333;
  font-weight: bold;
  padding: 8px 0;
}
.gr4mono-nav-ul a:hover {
  background: #e65a24;
}
.gr4mono-nav-last {
  margin-top: 150px;
  margin-bottom: 200px;
}
@media screen and (max-width: 640px) {
  .gr4mono-nav-last {
    margin-top: 100px;
    margin-bottom: 100px;
  }
}
.gr4mono-h2 {
  background: #444444;
  text-align: center;
  line-height: 1.3;
  padding: 12px 10px;
  font-size: 36px;
  letter-spacing: 0.2em;
}
@media screen and (max-width: 640px) {
  .gr4mono-h2 {
    font-size: 18px;
  }
}
.gr4mono-h3 {
  font-size: 21px;
  font-weight:bold;
  line-height: 1.4;
  margin-bottom: 25px;
}
.gr4mono-btn {
  max-width: 100%;
  width: 440px;
  display: block;
  text-align: center;
  color: #cccccc;
  padding: 14px 10px;
  font-size: 20px;
  border: 1px solid #cccccc;
}
.gr4mono-btn:hover {
  background: #fff;
  color: #2b2b2b !important;
}
.gr4mono-btn:hover:after {
  background: #2b2b2b !important;
}
.gr4mono-btn-txt {
  margin-top: 1em;
  line-height: 1.5;
}
@media screen and (max-width: 640px) {
  .gr4mono-btn-txt {
    font-size: 14px;
  }
}
.gr4mono-btn[target=_blank] {
  position: relative;
}
.gr4mono-btn[target=_blank]:after {
  position: absolute;
  right: 30px;
  top: 50%;
  transform: translateY(-50%);
  content: "";
  display: inline-block;
  width: 0.8em;
  height: 0.8em;
  background: #fff;
  mask-repeat: no-repeat;
  mask-size: contain;
  mask-image: url("../img/griv/icon-newtab.svg");
}
.gr4mono-visual .swiper {
	position: relative;
}
#tab-2 a.link-arrow {
	color: #fff;
}
#tab-2 .app-blocks a {
    color:#fff;
}
.gr4mono-sec {
  padding: 90px 0 90px;
}
@media screen and (max-width: 640px) {
  .gr4mono-sec {
    padding: 90px 0;
  }
}

.gr4mono-sec-opening {
  margin-top: 48px;
  text-align: center;
}
.gr4mono-sec-opening-ttl {
  font-size: 36px;
  line-height: 1.5;
  letter-spacing: 0.15em;
}

@media screen and (max-width: 640px) {
  .gr4mono-sec-opening-ttl {
    font-size: 24px;
  }
}
@media screen and (min-width: 641px) {
  .gr4mono-sec-opening-ttl.min {
    font-size: 30px;
  }
}
.gr4mono-sec-opening-txt {
  margin-top: 40px;
  font-size: 21px;
  font-weight: 600;
  line-height: 1.5;
  letter-spacing: 0.2em;
}
@media screen and (max-width: 640px) {
  .gr4mono-sec-opening-txt {
    font-size: 16px;
  }
}
.gr4mono-sec-opening + .gr4mono-block {
  margin-top: 100px;
}
@media screen and (max-width: 640px) {
  .gr4mono-sec-opening + .gr4mono-block {
    margin-top: 60px;
  }
}
#anchor-03 .gr4mono-sec-opening + .gr4mono-block {
  margin-top: 100px;
}
@media screen and (max-width: 640px) {
  #anchor-03 .gr4mono-sec-opening + .gr4mono-block {
    margin-top: 60px;
  }
}
.gr4mono-sec-btns {
  display: flex;
  flex-direction: column;
  align-items: center;
  margin-top: 100px;
}
@media screen and (max-width: 640px) {
  .gr4mono-sec-btns {
    margin-top: 60px;
  }
}
.gr4mono-sec-interval img {
  width: 100%;
}
.gr4mono-block {
  margin-top: 100px;
}
@media screen and (max-width: 640px) {
  .gr4mono-block {
    margin-top: 60px;
  }
}
.gr4mono-block > p {
  margin-top: 1.5em;
}
.gr4mono-block > p:first-child {
  margin-top: 0;
}
.gr4mono-block img {
  width: 100%;
  height: auto;
}
.gr4mono-block-clmImg {
  display: flex;
  gap: 0 14px;
  margin-top: 20px;
}
.gr4mono-block-clmImg img {
  width: 59.5744680851%;
}
.gr4mono-block-clmImg figcaption {
  width: 37.4468085106%;
  margin: 0;
  font-size: 14px !important;
  line-height: 1.5;
  text-align: left !important;
}
.gr4mono-2clm {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  justify-content: space-between;
  gap: 40px;
  margin-top: 50px;
}
@media screen and (max-width: 640px) {
  .gr4mono-2clm {
    display: flex;
    flex-direction: column;
    gap: 40px 0;
    margin-top: 40px;
  }
}
@media screen and (min-width: 641px) {
  .gr4mono-2clm-hanten {
    direction: rtl;
  }
}
@media screen and (min-width: 641px) {
  .gr4mono-2clm-hanten .gr4mono-2clm-block {
    direction: ltr; /* 子要素のテキストは通常の向きに戻す */
  }
}
.gr4mono-2clm-block figcaption {
    padding-top:15px;
    color:#fff;
}
.gr4mono-2clm-block > p {
  margin-top: 1.5em;
}
.gr4mono-2clm-block > p:first-child {
  margin-top: 0;
}
.gr4mono-2clm-imgs figcaption {
	text-align: right;
	font-size: 12px;
	padding-top: 10px;
}
#tab-2 a.txtlink {
	color: #fff;
}
.gr4mono-2clm-imgs figcaption.f14 {
  font-size: 14px;
}
.gr4mono-3clm {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  justify-content: space-between;
  gap: 25px;
  margin-top: 50px;
}
@media screen and (max-width: 640px) {
  .gr4mono-3clm {
    display: flex;
    flex-direction: column;
    gap: 40px 0;
    margin-top: 40px;
  }
}
@media screen and (min-width: 641px) {
  .gr4mono-3clm-hanten {
    direction: rtl;
  }
}
@media screen and (min-width: 641px) {
  .gr4mono-3clm-hanten .gr4mono-3clm-block {
    direction: ltr; /* 子要素のテキストは通常の向きに戻す */
  }
}
.gr4mono-imgbox dt {
  position: relative;
  margin-bottom: 10px;
  padding-left: 1em;
  line-height: 1.4;
  letter-spacing: 0;
}
.gr4mono-imgbox dt:before {
  content: "■";
  position: absolute;
  left: 0;
  top: 0;
}
.gr4mono-imgbox dt .min {
  font-size: 12px;
}
.gr4mono-imgbox dd {
  margin-top: 20px;
}
.gr4mono-imgbox dd:first-of-type {
  margin-top: 0;
}
.gr4mono-imgbox figcaption {
	font-size: 14px;
	margin-top: 16px;
}
.gr4mono-carousel {
  margin-top: 50px;
  position: relative;
}
.gr4mono-gallery {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  flex-wrap: wrap;
  gap: 50px 25px;
  margin-top: 50px;
}
.mfp-gallery a .img_wrap {
  position: relative;
  display: block;
}
.mfp-gallery a .img_wrap:after {
  content: "";
  display: block;
  position: absolute;
  right: 10px;
  bottom: 10px;
  width: 20px;
  height: 20px;
  background-image: url("../img/griv/icon-plus.svg");
  background-size: 100%;
}
@media screen and (max-width: 640px) {
  .gr4mono-gallery {
    grid-template-columns: repeat(2, 1fr);
    gap: 40px 20px;
  }
}
.gr4mono-gallery img {
  width: 100%;
  height: auto;
}

/* Gallery Section */
.gallery-wrap {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 0 40px;
  margin-top: 40px;
  padding-bottom: 0px;
}
@media screen and (max-width: 640px) {
  .gallery-wrap {
    gap: 0;
    padding-bottom: 50px;
  }
}
.gallery-wrap .gallery-block {
  margin-bottom: 30px;
}
@media screen and (max-width: 640px) {
  .gallery-wrap .gallery-block {
    width: 100%;
    margin-bottom: 60px;
  }
}
.gallery-wrap .gallery-block .photo {
  width: 250px;
}
@media screen and (max-width: 640px) {
  .gallery-wrap .gallery-block .photo {
    width: 42%;
    margin: 0 auto;
  }
}
.gallery-wrap .gallery-block .photo img {
  width: 100%;
  height: auto;
}
.gallery-wrap .gallery-block .txt-block {
  margin-top: 20px;
}
#tab-13 .gallery-wrap .gallery-block .txt-block .title {
	font-size: 17px;
	margin-top: 20px;
	margin-bottom: 5px;
  font-weight:bold;
}
#tab-13 .gallery-detail .main-inner .top-part h2.text-title-lv2 {
	font-weight: normal;
	font-size: 30px;
	background: #444444;
	margin: 0;
	padding: 17px 0 14px;
	width: 830px;
	margin: 30px auto 0;
  max-width:100%;
}
@media screen and (max-width: 640px) {
  .gallery-wrap .gallery-block .txt-block .title {
    text-align: center;
  }
  #tab-13 .gallery-detail .main-inner .top-part h2.text-title-lv2 {
	font-weight: normal;
	font-size: 24px;
  padding-top:10px;
  padding-bottom:10px;
}
}
.gallery-wrap .gallery-block .txt-block .simple {
  font-size: 12px;
}
@media screen and (max-width: 640px) {
  .gallery-wrap .gallery-block .txt-block .simple {
    text-align: center;
  }
}
.gallery-wrap .gallery-block .txt-block .name {
  font-size: 15px;
}
@media screen and (max-width: 640px) {
  .gallery-wrap .gallery-block .txt-block .name {
    text-align: center;
  }
}
.gallery-wrap .gallery-block .txt-block .name.new:after {
  content: "NEW";
  color: #e65a24;
  font-size: 14px;
  display: inline-block;
  margin-left: 10px;
}