#gallery {
  display: block;
}
#gallery .container {
  width: 100%;
  max-width: 1440px;
  padding: 0 48px;
  margin: 96px auto;
  box-sizing: border-box;
}
@media only screen and (max-width: 480px) {
  #gallery .container {
    width: 100%;
    padding: 0 calc(var(--fluidPx) * 18);
    box-sizing: border-box;
  }
}
#gallery .gallery_mainvisual {
  aspect-ratio: 1440/784;
  display: flex;
  align-items: flex-start;
  justify-content: center;
  position: relative;
  flex-direction: column;
  overflow: hidden;
  padding: 0 48px;
  min-height: 784px;
  width: 100%;
  box-sizing: border-box;
}
@media only screen and (max-width: 480px) {
  #gallery .gallery_mainvisual {
    height: 100svh;
    min-height: auto;
    aspect-ratio: auto;
    padding: 0 20px 20px;
    margin-bottom: 30px;
    box-sizing: border-box;
  }
}
#gallery .gallery_mainvisual .mainvisual_inner {
  max-width: 1344px;
  margin: 0 auto;
  display: flex;
  align-items: flex-start;
  justify-content: center;
  position: relative;
  flex-direction: column;
  width: 100%;
  height: 100%;
}
#gallery .gallery_mainvisual h1 {
  color: #fff;
  margin-top: auto;
}
#gallery .gallery_mainvisual .gallery_button {
  margin-top: 48px;
  width: 100%;
  margin-bottom: auto;
}
#gallery .gallery_mainvisual img {
  position: absolute;
  top: 0;
  left: 0;
  -o-object-fit: cover;
     object-fit: cover;
  width: 100%;
  height: 100%;
  z-index: -1;
}
#gallery .gallery-block {
  margin-top: 96px;
}
#gallery .gallery-block form {
  margin: 0 auto;
  display: flex;
  align-items: center;
  justify-content: space-between;
}
@media only screen and (max-width: 480px) {
  #gallery .gallery-block form {
    flex-direction: column;
  }
}
#gallery .gallery-block form .form_block_wrap {
  width: calc(33% - 16px);
}
@media only screen and (max-width: 480px) {
  #gallery .gallery-block form .form_block_wrap {
    width: 100%;
    margin-bottom: 16px;
  }
}
#gallery .gallery-block form h3 {
  color: #121619;
  font-size: 12px;
  line-height: 16px;
  margin-bottom: 8px;
}
#gallery .gallery-block form .gallery-select-wrapper {
  position: relative;
  display: inline-block;
  -webkit-user-select: none;
     -moz-user-select: none;
          user-select: none;
  width: 100%;
  display: flex;
  align-items: center;
  justify-content: space-between;
}
#gallery .gallery-block form .gallery-select-wrapper select {
  display: none;
}
#gallery .gallery-block form .gallery-select {
  position: relative;
  display: inline-block;
  width: 100%;
}
#gallery .gallery-block form .gallery-select.opened .gallery-select-trigger {
  background: #0a0a14;
  color: #fff;
}
#gallery .gallery-block form .gallery-select-trigger {
  width: 100%;
  position: relative;
  display: block;
  padding: 1.25em 16px 16px 16px;
  font-size: 16px;
  color: #191919;
  background: #fff;
  cursor: pointer;
  transition: all 0.4s ease-in-out;
  border: 1px solid #191919;
  box-sizing: border-box;
}
#gallery .gallery-block form .gallery-select-trigger:after {
  position: absolute;
  display: block;
  content: "";
  width: 10px;
  height: 10px;
  top: 50%;
  right: 25px;
  margin-top: -3px;
  border-bottom: 1px solid #191919;
  border-right: 1px solid #191919;
  transform: rotate(45deg) translateY(-50%);
  transition: all 0.4s ease-in-out;
  transform-origin: 50% 0;
}
#gallery .gallery-block form .gallery-select.opened .gallery-select-trigger:after {
  border-bottom: 1px solid #fff;
  border-right: 1px solid #fff;
  margin-top: 3px;
  transform: rotate(-135deg) translateY(-50%);
}
#gallery .gallery-block form .custom-options {
  position: absolute;
  display: block;
  top: 100%;
  left: 0;
  right: 0;
  min-width: 100%;
  color: #697077;
  border-radius: 0px;
  box-sizing: border-box;
  box-shadow: 0px 1px 5px rgba(0, 0, 0, 0.25);
  background: #fff;
  transition: all 0.4s ease-in-out;
  opacity: 0;
  visibility: hidden;
  pointer-events: none;
  transform: translateY(-15px);
  z-index: 2;
}
#gallery .gallery-block form .gallery-select.opened .custom-options {
  opacity: 1;
  visibility: visible;
  pointer-events: all;
  transform: translateY(0);
}
#gallery .gallery-block form .custom-option {
  position: relative;
  display: block;
  border-bottom: 1px solid #191919;
  font-size: 14px;
  color: #191919;
  padding: calc(var(--fluidPx) * 14);
  cursor: pointer;
  transition: all 0.4s ease-in-out;
}
#gallery .gallery-block form .custom-option:first-of-type {
  border-radius: 4px 4px 0 0;
}
#gallery .gallery-block form .custom-option:last-of-type {
  border-bottom: 0;
  border-radius: 0 0 4px 4px;
}
#gallery .gallery-block form .custom-option:hover,
#gallery .gallery-block form .custom-option.selection {
  background: #0a0a14;
  color: #fff;
}
#gallery .gallery-list {
  margin-top: 90px;
}
#gallery .gallery-list ul {
  display: flex;
  justify-content: space-between;
  flex-wrap: wrap;
}
#gallery .gallery-list ul:after {
  content: "";
  width: calc(33% - 16px);
  height: 0;
  display: block;
}
#gallery .gallery-list li {
  width: calc(33% - 16px);
  margin-bottom: 40px;
  transition: opacity 0.3s;
}
@media only screen and (max-width: 860px) {
  #gallery .gallery-list li {
    width: calc(50% - 16px);
  }
}
@media only screen and (max-width: 480px) {
  #gallery .gallery-list li {
    width: 100%;
  }
}
#gallery .gallery-list li:hover {
  transition: opacity 0.3s;
  opacity: 0.8;
}
#gallery .gallery-list li a {
  text-decoration: none;
  color: #666;
}
#gallery .gallery-list li .picture {
  width: 100%;
  overflow: hidden;
  aspect-ratio: 400/280;
}
#gallery .gallery-list li img {
  -o-object-fit: cover;
     object-fit: cover;
  width: 100%;
  height: 100%;
}
#gallery .gallery-list li .title {
  margin: 12px 0 10px 0;
  color: #211655;
  font-size: 18px;
  font-weight: bold;
  line-height: 1;
}
#gallery .gallery-list li .data {
  display: flex;
  align-items: flex-start;
  justify-content: flex-start;
  flex-direction: column;
  font-size: 13px;
}
#gallery .gallery-list li .data .date {
  display: flex;
  justify-content: flex-start;
  align-items: center;
  margin-right: 30px;
}
#gallery .gallery-list li .data .date img {
  height: 13px;
  width: auto;
}
#gallery .gallery-list li .data .post_date {
  align-self: flex-end;
  font-size: 10px;
  opacity: 0.4;
}
#gallery .gallery-list li .data .mode {
  display: flex;
  justify-content: flex-start;
  align-items: center;
}
#gallery .gallery-list li .data .mode img {
  height: 18px;
  width: auto;
}

#post-gallery {
  width: 100% !important;
  padding: 0;
  max-width: 100%;
}
#post-gallery.content-single {
  margin: 0 auto 96px;
}
#post-gallery .post-gallery_mainvisual {
  position: relative;
  display: flex;
  align-items: center;
  justify-content: center;
  margin-top: 0;
}
#post-gallery .post-gallery_mainvisual h1 {
  position: absolute;
  top: 196px;
  width: 100%;
  max-width: 1440px;
  padding: 0 48px;
  box-sizing: border-box;
  margin: 0 auto;
  z-index: 2;
  color: #fff;
  font-size: 46px;
  text-shadow: calc(var(--fluidPx) * 0) calc(var(--fluidPx) * 0) calc(var(--fluidPx) * 4) #0a0a14;
}
@media only screen and (max-width: 800px) {
  #post-gallery .post-gallery_mainvisual h1 {
    padding: 0 calc(var(--fluidPx) * 62);
  }
}
@media only screen and (max-width: 480px) {
  #post-gallery .post-gallery_mainvisual h1 {
    width: 100%;
    box-sizing: border-box;
    padding: 0 calc(var(--fluidPx) * 18);
  }
}
#post-gallery .post-gallery_mainvisual img {
  width: 100%;
}
#post-gallery .post-gallery_content {
  width: 100%;
  max-width: 1440px;
  padding: 0 48px;
  margin: 0 auto;
  box-sizing: border-box;
}
@media only screen and (max-width: 800px) {
  #post-gallery .post-gallery_content {
    padding: 0 calc(var(--fluidPx) * 62);
  }
}
@media only screen and (max-width: 480px) {
  #post-gallery .post-gallery_content {
    width: 100%;
    box-sizing: border-box;
    padding: 0 calc(var(--fluidPx) * 18);
  }
}
#post-gallery .post-gallery_content .content_detail {
  margin: 74px 0 40px;
}
@media only screen and (max-width: 480px) {
  #post-gallery .post-gallery_content .content_detail {
    margin: 36px 0 20px;
  }
}
#post-gallery .post-gallery_content .data {
  display: flex;
  align-items: center;
  margin-bottom: 90px;
}
@media only screen and (max-width: 960px) {
  #post-gallery .post-gallery_content .data {
    flex-wrap: wrap;
  }
}
@media only screen and (max-width: 480px) {
  #post-gallery .post-gallery_content .data {
    margin-bottom: 40px;
  }
}
#post-gallery .post-gallery_content .data div {
  display: inline-flex;
  align-items: center;
  justify-content: flex-start;
  margin-right: 32px;
}
#post-gallery .post-gallery_content .data div img {
  height: 18px;
  margin-right: 8px;
}
#post-gallery .post-gallery_content .data .country img {
  height: 21px;
}
#post-gallery .post-gallery_content .data .mode img {
  height: 24px;
}
#post-gallery .post-gallery_content .read {
  margin-bottom: 60px;
}
#post-gallery .post-gallery_content .read b {
  font-size: 22px;
}
#post-gallery .post-gallery_content iframe {
  height: 620px;
}

html.jp #gallery .gallery-block form .gallery-select-trigger {
  padding: 16px;
}