.gallery-inner {
  width: min(110rem, 100% - 6rem);
  margin: 0 auto;
}
@media screen and (max-width: 767px) {
  .gallery-inner {
    width: calc(100% - 3.2rem);
  }
}

.gallery-chip {
  display: inline-block;
  padding: 0.5rem 1rem 0.4rem;
  border: 1px solid #3bbbff;
  background: #fff;
  font-size: 1.2rem;
  font-weight: 800;
  line-height: 1.2;
  color: #3bbbff;
  letter-spacing: 0.05em;
}

a.gallery-chip {
  transition: background 0.2s, color 0.2s;
}
@media (hover: hover) {
  a.gallery-chip:hover {
    background: #3bbbff;
    color: #fff;
  }
}

.gallery-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 4rem 3rem;
  list-style: none;
}
@media screen and (max-width: 1199px) {
  .gallery-grid {
    gap: 3rem 2rem;
  }
}
@media screen and (max-width: 767px) {
  .gallery-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 2rem 1.2rem;
  }
}

.gallery-card {
  min-width: 0;
}
.gallery-card_link {
  display: flex;
  flex-direction: column;
  height: 100%;
  border: 1px solid #e4e4e4;
  background: #fff;
  transition: border-color 0.25s, box-shadow 0.25s;
}
@media (hover: hover) {
  .gallery-card_link:hover {
    border-color: #3bbbff;
    box-shadow: 0 1rem 2.4rem rgba(59, 187, 255, 0.18);
  }
  .gallery-card_link:hover img {
    transform: scale(1.05);
  }
}
.gallery-card_photo {
  overflow: hidden;
  aspect-ratio: 4/3;
  background: #eef9ff;
}
.gallery-card_photo img {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.4s ease;
}
.gallery-card_body {
  display: flex;
  flex-direction: column;
  flex: 1;
  gap: 1rem;
  padding: 1.8rem 2rem 1.6rem;
}
@media screen and (max-width: 767px) {
  .gallery-card_body {
    gap: 0.8rem;
    padding: 1.2rem 1.2rem 1rem;
  }
}
.gallery-card_cats {
  display: flex;
  flex-wrap: wrap;
  gap: 0.6rem;
  list-style: none;
}
@media screen and (max-width: 767px) {
  .gallery-card_cats .gallery-chip {
    padding: 0.4rem 0.6rem 0.3rem;
    font-size: 1rem;
  }
}
.gallery-card_title {
  display: -webkit-box;
  overflow: hidden;
  font-size: 1.7rem;
  font-weight: 800;
  line-height: 1.6;
  color: #3bbbff;
  letter-spacing: 0.05em;
  transition: opacity 0.25s;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
}
@media screen and (max-width: 767px) {
  .gallery-card_title {
    font-size: 1.4rem;
    line-height: 1.5;
    letter-spacing: 0.02em;
  }
}
.gallery-card_date {
  margin-top: auto;
  padding-top: 1rem;
  border-top: 1px solid #e4e4e4;
  font-family: "Josefin Sans", sans-serif;
  font-size: 1.3rem;
  line-height: 1;
  color: #a2a1a1;
  letter-spacing: 0.1em;
}
@media screen and (max-width: 767px) {
  .gallery-card_date {
    padding-top: 0.8rem;
    font-size: 1.1rem;
  }
}

#gallery .gallery-list {
  padding-bottom: 15.5rem;
}
@media screen and (max-width: 767px) {
  #gallery .gallery-list {
    padding-bottom: 8rem;
  }
}
@media screen and (max-width: 767px) {
  #gallery .gallery-list_ttl {
    white-space: normal;
  }
}
#gallery .gallery-list_lead {
  text-align: center;
}
@media screen and (max-width: 767px) {
  #gallery .gallery-list_lead {
    text-align: left;
  }
}
#gallery .gallery-list_empty {
  padding: 6rem 0;
  text-align: center;
}
#gallery .gallery-tabs {
  margin: 5rem 0 5rem;
  scroll-margin-top: 10rem;
}
@media screen and (max-width: 767px) {
  #gallery .gallery-tabs {
    margin: 3.2rem 0 3rem;
    scroll-margin-top: 7rem;
  }
}
#gallery .gallery-tabs_list {
  display: grid;
  grid-template-columns: repeat(var(--cols, 4), minmax(0, 22rem));
  justify-content: center;
  gap: 0.8rem;
  padding-bottom: 1.2rem;
  border-bottom: 2px solid #3bbbff;
  list-style: none;
}
@media screen and (max-width: 1199px) {
  #gallery .gallery-tabs_list {
    grid-template-columns: repeat(var(--cols, 4), minmax(0, 20rem));
  }
}
@media screen and (max-width: 767px) {
  #gallery .gallery-tabs_list {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 0.8rem;
  }
}
@media screen and (max-width: 767px) {
  #gallery .gallery-tabs_item:first-child:nth-last-child(odd) {
    grid-column: 1/-1;
  }
}
#gallery .gallery-tabs_link {
  display: flex;
  justify-content: center;
  align-items: center;
  height: 100%;
  min-height: 5.6rem;
  padding: 1.2rem 1rem;
  border: 1px solid #3bbbff;
  background: #fff;
  font-size: 1.5rem;
  font-weight: 800;
  line-height: 1.4;
  color: #3bbbff;
  text-align: center;
  transition: background 0.2s, color 0.2s;
}
@media (hover: hover) {
  #gallery .gallery-tabs_link:hover {
    background: #cceeff;
  }
}
@media screen and (max-width: 767px) {
  #gallery .gallery-tabs_link {
    min-height: 4.8rem;
    padding: 1rem 0.6rem;
    font-size: 1.4rem;
    letter-spacing: 0.05em;
  }
}
#gallery .gallery-tabs_link.is-active {
  background: #3bbbff;
  color: #fff;
  pointer-events: none;
}
#gallery .c-pager-list-container {
  margin-top: 6rem;
}
@media screen and (max-width: 767px) {
  #gallery .c-pager-list-container {
    margin-top: 4rem;
  }
}

#gallery-detail .gallery-detail {
  margin: 8rem 0 15.5rem;
}
@media screen and (max-width: 767px) {
  #gallery-detail .gallery-detail {
    margin: 4rem 0 8rem;
  }
}
#gallery-detail .gallery-detail_inner {
  width: min(90rem, 100% - 6rem);
  margin: 0 auto;
}
@media screen and (max-width: 767px) {
  #gallery-detail .gallery-detail_inner {
    width: calc(100% - 3.2rem);
  }
}
#gallery-detail .gallery-detail_meta {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 1.2rem 1.6rem;
}
#gallery-detail .gallery-detail_cats {
  display: flex;
  flex-wrap: wrap;
  gap: 0.6rem;
  list-style: none;
}
#gallery-detail .gallery-detail_date {
  font-family: "Josefin Sans", sans-serif;
  font-size: 1.4rem;
  line-height: 1;
  color: #a2a1a1;
  letter-spacing: 0.1em;
}
#gallery-detail .gallery-detail_title {
  margin-top: 1.6rem;
  font-size: 3rem;
  font-weight: 800;
  line-height: 1.5;
  color: #3bbbff;
  letter-spacing: 0.1em;
}
@media screen and (max-width: 767px) {
  #gallery-detail .gallery-detail_title {
    font-size: 2.2rem;
    letter-spacing: 0.05em;
  }
}
#gallery-detail .gallery-detail_section {
  margin-top: 7rem;
}
@media screen and (max-width: 767px) {
  #gallery-detail .gallery-detail_section {
    margin-top: 5rem;
  }
}
#gallery-detail .gallery-detail_label {
  padding: 0.2rem 0 0.2rem 1.4rem;
  border-left: 5px solid #3bbbff;
  font-size: 2.2rem;
  font-weight: 800;
  line-height: 1.5;
  color: #3bbbff;
  letter-spacing: 0.1em;
}
@media screen and (max-width: 767px) {
  #gallery-detail .gallery-detail_label {
    font-size: 1.9rem;
  }
}
#gallery-detail .gallery-detail_label + * {
  margin-top: 2.4rem;
}
@media screen and (max-width: 767px) {
  #gallery-detail .gallery-detail_label + * {
    margin-top: 1.8rem;
  }
}
#gallery-detail .gallery-detail_back {
  margin-top: 5rem;
  text-align: center;
}
#gallery-detail .gallery-ba {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 6rem;
  margin-top: 3rem;
}
@media screen and (max-width: 767px) {
  #gallery-detail .gallery-ba {
    grid-template-columns: minmax(0, 1fr);
    gap: 5rem;
  }
}
#gallery-detail .gallery-ba_item {
  margin: 0;
}
#gallery-detail .gallery-ba_item.after {
  position: relative;
}
#gallery-detail .gallery-ba_item.after::before {
  content: "";
  position: absolute;
  top: calc(50% + 2.4rem);
  left: -3.9rem;
  border-top: 1.4rem solid transparent;
  border-bottom: 1.4rem solid transparent;
  border-left: 1.8rem solid #3bbbff;
  transform: translateY(-50%);
}
@media screen and (max-width: 767px) {
  #gallery-detail .gallery-ba_item.after::before {
    top: -3.4rem;
    left: 50%;
    border-top: 1.8rem solid #3bbbff;
    border-right: 1.4rem solid transparent;
    border-bottom: 0;
    border-left: 1.4rem solid transparent;
    transform: translateX(-50%);
  }
}
#gallery-detail .gallery-ba_item.after .gallery-ba_label {
  background: #3bbbff;
}
#gallery-detail .gallery-ba_label {
  padding: 1rem 1.6rem 0.8rem;
  background: #727070;
  font-family: "Alata", sans-serif;
  font-size: 2.6rem;
  line-height: 1.2;
  color: #fff;
  letter-spacing: 0.15em;
  text-align: center;
}
@media screen and (max-width: 767px) {
  #gallery-detail .gallery-ba_label {
    padding: 0.8rem 1.2rem 0.6rem;
    font-size: 2.2rem;
  }
}
#gallery-detail .gallery-ba_img {
  display: block;
  width: 100%;
  aspect-ratio: 3/2;
  background: #eef9ff;
  object-fit: cover;
}
#gallery-detail .gallery-ba_single {
  margin-top: 3rem;
}
#gallery-detail .gallery-ba_single img {
  display: block;
  width: 100%;
}
#gallery-detail .gallery-vehicle {
  display: grid;
  grid-template-columns: repeat(var(--cols, 3), minmax(0, 1fr));
  gap: 1px;
  border: 1px solid #e4e4e4;
  background: #e4e4e4;
}
@media screen and (max-width: 767px) {
  #gallery-detail .gallery-vehicle {
    grid-template-columns: minmax(0, 1fr);
  }
}
#gallery-detail .gallery-vehicle_item {
  padding: 1.6rem 2rem;
  background: #fff;
}
@media screen and (max-width: 767px) {
  #gallery-detail .gallery-vehicle_item {
    display: flex;
    align-items: baseline;
    gap: 1.6rem;
    padding: 1.2rem 1.6rem;
  }
}
#gallery-detail .gallery-vehicle dt {
  font-size: 1.2rem;
  font-weight: 800;
  line-height: 1.5;
  color: #3bbbff;
}
@media screen and (max-width: 767px) {
  #gallery-detail .gallery-vehicle dt {
    flex: 0 0 6em;
  }
}
#gallery-detail .gallery-vehicle dd {
  margin-top: 0.4rem;
  font-size: 1.8rem;
  font-weight: 800;
  line-height: 1.5;
  color: #555;
  word-break: break-all;
}
@media screen and (max-width: 767px) {
  #gallery-detail .gallery-vehicle dd {
    margin-top: 0;
    font-size: 1.6rem;
  }
}
#gallery-detail .gallery-spec {
  margin-top: 1.6rem;
  border: 1px solid #e4e4e4;
}
#gallery-detail .gallery-spec_row {
  display: flex;
  border-top: 1px solid #e4e4e4;
}
@media screen and (max-width: 767px) {
  #gallery-detail .gallery-spec_row {
    flex-direction: column;
  }
}
#gallery-detail .gallery-spec_row:first-child {
  border-top: none;
}
#gallery-detail .gallery-spec dt {
  flex: 0 0 24rem;
  padding: 1.6rem 2rem;
  background: #eef9ff;
  font-size: 1.5rem;
  font-weight: 800;
  line-height: 1.7;
  color: #3bbbff;
}
@media screen and (max-width: 767px) {
  #gallery-detail .gallery-spec dt {
    flex: none;
    padding: 1rem 1.6rem;
    font-size: 1.4rem;
  }
}
#gallery-detail .gallery-spec dd {
  flex: 1 1 auto;
  min-width: 0;
  padding: 1.6rem 2rem;
  font-size: 1.5rem;
  line-height: 1.8;
}
@media screen and (max-width: 767px) {
  #gallery-detail .gallery-spec dd {
    padding: 1.2rem 1.6rem;
    font-size: 1.4rem;
  }
}
#gallery-detail :where(.gallery-body-box, .gallery-body-box > .wp-block-group__inner-container) > * + * {
  margin-top: 2.4rem;
}
#gallery-detail .gallery-body {
  line-height: 2;
}
#gallery-detail .gallery-body > * + * {
  margin-top: 2.4rem;
}
#gallery-detail .gallery-body p {
  font-size: 1.5rem;
}
#gallery-detail .gallery-body a:not(:has(img)) {
  color: #3bbbff;
  text-decoration: underline;
}
#gallery-detail .gallery-body h2 {
  position: relative;
  margin-top: 5rem;
  padding-bottom: 1rem;
  border-bottom: 2px solid #e4e4e4;
  font-size: 2.2rem;
  font-weight: 800;
  line-height: 1.5;
  color: #555;
  letter-spacing: 0.08em;
}
@media screen and (max-width: 767px) {
  #gallery-detail .gallery-body h2 {
    margin-top: 4rem;
    font-size: 1.9rem;
  }
}
#gallery-detail .gallery-body h2::before {
  content: "";
  position: absolute;
  bottom: -2px;
  left: 0;
  width: 8rem;
  height: 2px;
  background: #3bbbff;
}
#gallery-detail .gallery-body h3 {
  margin-top: 4rem;
  padding-left: 1.2rem;
  border-left: 4px solid #3bbbff;
  font-size: 1.9rem;
  font-weight: 800;
  line-height: 1.5;
  color: #555;
}
@media screen and (max-width: 767px) {
  #gallery-detail .gallery-body h3 {
    font-size: 1.7rem;
  }
}
#gallery-detail .gallery-body h4 {
  margin-top: 3.2rem;
  font-size: 1.7rem;
  font-weight: 800;
  line-height: 1.5;
  color: #3bbbff;
}
@media screen and (max-width: 767px) {
  #gallery-detail .gallery-body h4 {
    font-size: 1.6rem;
  }
}
#gallery-detail .gallery-body ul {
  list-style: none;
}
#gallery-detail .gallery-body ul li {
  position: relative;
  padding-left: 2rem;
  font-size: 1.5rem;
}
#gallery-detail .gallery-body ul li + li {
  margin-top: 0.6rem;
}
#gallery-detail .gallery-body ul li::before {
  content: "";
  position: absolute;
  top: 1.2rem;
  left: 0.4rem;
  width: 0.7rem;
  height: 0.7rem;
  border-radius: 50%;
  background: #3bbbff;
}
#gallery-detail .gallery-body ol {
  padding-left: 2.4rem;
}
#gallery-detail .gallery-body ol li {
  font-size: 1.5rem;
}
#gallery-detail .gallery-body figure {
  margin-right: 0;
  margin-left: 0;
}
#gallery-detail .gallery-body img {
  display: block;
  max-width: 100%;
  height: auto;
}
#gallery-detail .gallery-body img.is-zoomable {
  cursor: zoom-in;
  transition: opacity 0.2s;
}
@media (hover: hover) {
  #gallery-detail .gallery-body img.is-zoomable:hover {
    opacity: 0.85;
  }
}
#gallery-detail .gallery-body img.is-zoomable:focus-visible {
  outline: 3px solid #ffb500;
  outline-offset: 2px;
}
#gallery-detail .gallery-body .gallery-zoom {
  position: relative;
  display: block;
  width: fit-content;
  max-width: 100%;
}
#gallery-detail .gallery-body .gallery-zoom_icon {
  position: absolute;
  top: 1rem;
  right: 1rem;
  display: flex;
  justify-content: center;
  align-items: center;
  width: 3.2rem;
  height: 3.2rem;
  border-radius: 0.4rem;
  background: rgba(255, 255, 255, 0.85);
  box-shadow: 0 0.1rem 0.4rem rgba(0, 0, 0, 0.15);
  color: #3bbbff;
  pointer-events: none;
  transition: background 0.2s, color 0.2s;
}
@media screen and (max-width: 767px) {
  #gallery-detail .gallery-body .gallery-zoom_icon {
    top: 0.8rem;
    right: 0.8rem;
    width: 2.8rem;
    height: 2.8rem;
  }
}
#gallery-detail .gallery-body .gallery-zoom_icon svg {
  width: 1.6rem;
  height: 1.6rem;
}
@media screen and (max-width: 767px) {
  #gallery-detail .gallery-body .gallery-zoom_icon svg {
    width: 1.4rem;
    height: 1.4rem;
  }
}
@media (hover: hover) {
  #gallery-detail .gallery-body .gallery-zoom:hover > :last-child {
    background: #3bbbff;
    color: #fff;
  }
}
#gallery-detail .gallery-body figcaption {
  margin-top: 1rem;
  font-size: 1.3rem;
  line-height: 1.6;
  color: #a2a1a1;
  text-align: center;
}
#gallery-detail .gallery-body .wp-block-gallery {
  gap: 1rem;
}
#gallery-detail .gallery-cta {
  margin-top: 8rem;
  padding: 5rem 3rem;
  border: 1px solid #3bbbff;
  background: #eef9ff;
  text-align: center;
}
@media screen and (max-width: 767px) {
  #gallery-detail .gallery-cta {
    margin-top: 6rem;
    padding: 3.6rem 2rem;
  }
}
#gallery-detail .gallery-cta_title {
  font-size: 2.2rem;
  font-weight: 800;
  line-height: 1.5;
  color: #3bbbff;
  letter-spacing: 0.1em;
}
@media screen and (max-width: 767px) {
  #gallery-detail .gallery-cta_title {
    font-size: 1.8rem;
    letter-spacing: 0.05em;
  }
}
#gallery-detail .gallery-cta_text {
  margin-top: 1.2rem;
  font-size: 1.5rem;
  text-align: center;
}
@media screen and (max-width: 767px) {
  #gallery-detail .gallery-cta_text {
    font-size: 1.4rem;
  }
}
#gallery-detail .gallery-cta .c-btn {
  margin-top: 3rem;
}
@media screen and (max-width: 767px) {
  #gallery-detail .gallery-cta .c-btn {
    margin-top: 2.4rem;
  }
}
#gallery-detail .gallery-back {
  display: inline-flex;
  justify-content: center;
  align-items: center;
  gap: 1.2rem;
  min-width: 30rem;
  padding: 2rem 3rem;
  border: 1px solid #3bbbff;
  background: #fff;
  font-size: 1.5rem;
  font-weight: 800;
  line-height: 1.2;
  color: #3bbbff;
  transition: background 0.2s, color 0.2s;
}
@media (hover: hover) {
  #gallery-detail .gallery-back:hover {
    background: #3bbbff;
    color: #fff;
  }
}
@media screen and (max-width: 767px) {
  #gallery-detail .gallery-back {
    min-width: 0;
    width: 100%;
  }
}
#gallery-detail .gallery-back::before {
  content: "";
  width: 0.8rem;
  height: 0.8rem;
  border-bottom: 2px solid currentColor;
  border-left: 2px solid currentColor;
  transform: rotate(45deg);
}
#gallery-detail .gallery-float {
  position: fixed;
  right: 7rem;
  bottom: 1rem;
  z-index: 90;
  display: flex;
  align-items: center;
  gap: 1rem;
  height: 5rem;
  padding: 0 2.6rem;
  background: #ffb500;
  box-shadow: 0 0.6rem 2rem rgba(0, 0, 0, 0.2);
  font-size: 1.5rem;
  font-weight: 800;
  line-height: 1.2;
  color: #fff;
  letter-spacing: 0.08em;
  transition: opacity 0.3s, transform 0.3s, visibility 0.3s;
}
@media (hover: hover) {
  #gallery-detail .gallery-float:hover {
    opacity: 0.85;
  }
}
@media screen and (max-width: 767px) {
  #gallery-detail .gallery-float {
    right: 0;
    bottom: 0;
    left: 0;
    justify-content: center;
    height: calc(5.4rem + env(safe-area-inset-bottom));
    padding: 0 1rem env(safe-area-inset-bottom);
  }
}
#gallery-detail .gallery-float.is-hidden {
  visibility: hidden;
  opacity: 0;
  transform: translateY(2rem);
}
#gallery-detail .gallery-float i {
  font-size: 1.7rem;
}

@media screen and (max-width: 767px) {
  .single-gallery_post #js-container {
    padding-bottom: 5.4rem;
  }
}
@media screen and (max-width: 767px) {
  .single-gallery_post .c-pagetop {
    bottom: calc(6.4rem + env(safe-area-inset-bottom));
  }
}

.is-gallery-lb-open {
  overflow: hidden;
}
.is-gallery-lb-open body {
  overflow: hidden;
}

.gallery-lb {
  position: fixed;
  inset: 0;
  z-index: 10000;
  display: none;
  justify-content: center;
  align-items: center;
  padding: 7rem 2.4rem 4rem;
  background: rgba(8, 18, 24, 0.9);
}
.gallery-lb.is-open {
  display: flex;
}
.gallery-lb_stage {
  position: relative;
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  width: 100%;
  max-width: 100rem;
  height: 100%;
}
.gallery-lb_figure {
  position: relative;
  display: flex;
  justify-content: center;
  align-items: center;
  min-height: 0;
}
.gallery-lb_img {
  display: block;
  max-width: 100%;
  max-height: calc(100vh - 16rem);
  object-fit: contain;
}
.gallery-lb_count {
  margin-top: 1.4rem;
  font-family: "Josefin Sans", sans-serif;
  font-size: 1.4rem;
  color: #cfd8df;
  text-align: center;
  letter-spacing: 0.1em;
}
.gallery-lb_close, .gallery-lb_nav {
  position: absolute;
  display: flex;
  justify-content: center;
  align-items: center;
  border: none;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.15);
  color: #fff;
  cursor: pointer;
  transition: background 0.2s;
}
@media (hover: hover) {
  .gallery-lb_close:hover, .gallery-lb_nav:hover {
    background: rgba(255, 255, 255, 0.3);
  }
}
.gallery-lb_close:focus-visible, .gallery-lb_nav:focus-visible {
  outline: 2px solid #fff;
  outline-offset: 2px;
}
.gallery-lb_close {
  top: -5.4rem;
  right: 0;
  width: 4.4rem;
  height: 4.4rem;
}
.gallery-lb_close::before, .gallery-lb_close::after {
  content: "";
  position: absolute;
  width: 2rem;
  height: 2px;
  background: #fff;
  transform: rotate(45deg);
}
.gallery-lb_close::after {
  transform: rotate(-45deg);
}
.gallery-lb_nav {
  top: 50%;
  width: 4.8rem;
  height: 4.8rem;
  transform: translateY(-50%);
}
.gallery-lb_nav::before {
  content: "";
  width: 1.2rem;
  height: 1.2rem;
  border-top: 2px solid #fff;
  border-left: 2px solid #fff;
}
.gallery-lb_nav.prev {
  left: -1rem;
}
@media screen and (max-width: 767px) {
  .gallery-lb_nav.prev {
    left: -1.4rem;
  }
}
.gallery-lb_nav.prev::before {
  margin-left: 0.4rem;
  transform: rotate(-45deg);
}
.gallery-lb_nav.next {
  right: -1rem;
}
@media screen and (max-width: 767px) {
  .gallery-lb_nav.next {
    right: -1.4rem;
  }
}
.gallery-lb_nav.next::before {
  margin-right: 0.4rem;
  transform: rotate(135deg);
}
.gallery-lb.is-single .gallery-lb_nav {
  display: none;
}

.gallery-top {
  padding: 8.5rem 0 8.5rem;
  text-align: center;
}
@media screen and (max-width: 767px) {
  .gallery-top {
    padding: 5rem 0 5.5rem;
  }
}
@media screen and (max-width: 767px) {
  .gallery-top_ttl {
    padding-bottom: 3.5rem;
  }
}
.gallery-top_list {
  grid-template-columns: repeat(var(--cols, 3), minmax(0, 1fr));
  gap: 2.4rem;
  text-align: left;
}
@media screen and (max-width: 1199px) {
  .gallery-top_list {
    gap: 2rem;
  }
}
@media screen and (max-width: 767px) {
  .gallery-top_list {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 1.2rem;
  }
}
@media screen and (max-width: 767px) {
  .gallery-top_list .gallery-card:nth-child(n+3) {
    display: none;
  }
}
.gallery-top_list .gallery-card_title {
  font-size: 1.6rem;
}
@media screen and (max-width: 767px) {
  .gallery-top_list .gallery-card_title {
    font-size: 1.4rem;
  }
}
.gallery-top_btn {
  margin-top: 4rem;
}