@charset "UTF-8";
.page-gallery #page-head {
  background-image: url(../images/title-back_gallery.webp);
}

#gallery {
  margin-top: 80px;
  margin-bottom: 80px;
}
#gallery .media-tags {
  display: flex;
  flex-wrap: wrap;
  gap: 0 10px;
}
#gallery .media-tags li {
  font-size: 0.75rem;
  line-height: 1.4;
  color: #666;
}
#gallery .media-tags li::before {
  content: "#";
  margin-right: 2px;
}
#gallery .pankuzu {
  margin-top: -60px;
  margin-bottom: 60px;
  display: flex;
}
#gallery .pankuzu li {
  font-size: 0.6875rem;
}
#gallery .pankuzu li:nth-child(n+2) {
  margin-left: 10px;
}
#gallery .pankuzu li:nth-child(n+2)::before {
  content: "/";
  margin-right: 10px;
}
#gallery .pankuzu li:last-child {
  font-weight: bold;
}
#gallery .pankuzu li a {
  text-decoration: underline;
}
#gallery .pankuzu li a:hover {
  text-decoration: none;
}
#gallery .guide-bt {
  margin-bottom: 60px;
}
#gallery .guide-bt ul {
  display: flex;
  justify-content: center;
  gap: 20px;
}
#gallery .guide-bt ul li a {
  display: flex;
  align-items: center;
  font-size: 1.25rem;
  line-height: 50px;
  border-radius: 40px;
  padding: 0 40px 2px;
  border: 2px solid #ee86a8;
  background: #fff;
}
#gallery .guide-bt ul li a span {
  letter-spacing: 2px;
  font-weight: 600;
}
#gallery .guide-bt ul li a i {
  font-size: 1.625rem;
  margin-right: 10px;
  color: #ee86a8;
  margin-top: 2px;
  transition: all 0.3s ease;
}
#gallery .guide-bt ul li a:hover {
  background: #ee86a8;
  color: #fff;
}
#gallery .guide-bt ul li a:hover i {
  color: #fff;
}
@media screen and (max-width: 680px) {
  #gallery .guide-bt ul {
    display: block;
  }
  #gallery .guide-bt ul li a {
    justify-content: center;
  }
  #gallery .guide-bt ul li:nth-child(n+2) {
    margin-top: 15px;
  }
}

/*
=================================================
	guide & terms
=================================================
*/
#gallery-guide h3, #gallery-terms h3 {
  font-size: 1.375rem;
  font-weight: bold;
  line-height: 1.4;
  background: #ee86a8 url(../images/diagonal.png) repeat-x left center;
  padding: 8px 15px 10px;
  color: #fff;
  margin-bottom: 20px;
  border-radius: 8px;
}
@media screen and (max-width: 768px) {
  #gallery-guide h3, #gallery-terms h3 {
    font-size: 1.25rem;
  }
}
@media screen and (max-width: 560px) {
  #gallery-guide h3, #gallery-terms h3 {
    font-size: 1.125rem;
    padding: 8px 10px;
  }
}
#gallery-guide h3, #gallery-terms h3 {
  margin-bottom: 30px;
}
#gallery-guide p, #gallery-guide li, #gallery-guide dt, #gallery-guide dd, #gallery-terms p, #gallery-terms li, #gallery-terms dt, #gallery-terms dd {
  line-height: 1.8;
}
#gallery-guide .guide-inner {
  display: flex;
  align-items: center;
}
#gallery-guide .guide-inner-fig {
  width: 540px;
  flex-basis: auto;
  margin-right: 60px;
  border: 1px solid #000;
}
#gallery-guide .guide-inner-text {
  width: 100%;
  flex-shrink: 9999;
}
#gallery-guide .guide-inner-text section:nth-child(n+2) {
  margin-top: 40px;
}
#gallery-guide .guide-inner-text h4 {
  font-size: 1.25rem;
  font-weight: bold;
  margin-bottom: 10px;
  display: flex;
  align-items: center;
}
#gallery-guide .guide-inner-text h4 span {
  width: 36px;
  line-height: 36px;
  background: #d00;
  color: #fff;
  text-align: center;
  font-weight: normal;
  border-radius: 30px;
  margin-right: 10px;
}
#gallery-guide .guide-inner-text a {
  text-decoration: underline;
}
#gallery-guide .guide-inner-text a:hover {
  text-decoration: none;
}
@media screen and (max-width: 1024px) {
  #gallery-guide .guide-inner-fig {
    width: 50%;
  }
}
@media screen and (max-width: 768px) {
  #gallery-guide .guide-inner {
    display: block;
  }
  #gallery-guide .guide-inner-fig {
    width: auto;
    margin-right: 0;
    margin-bottom: 40px;
  }
}
#gallery-terms {
  margin-top: 80px;
}
#gallery-terms section {
  margin-top: 30px;
}
#gallery-terms h4 {
  font-size: 1.125rem;
  font-weight: bold;
  line-height: 1.6;
  margin-bottom: 10px;
}
#gallery-terms ul {
  margin-top: 10px;
}
#gallery-terms ul li {
  margin-left: 20px;
  text-indent: -20px;
}
#gallery-terms ul li:nth-child(n+2) {
  margin-top: 5px;
}
#gallery-terms ul li .number {
  margin-right: 4px;
}
#gallery-terms ul li p, #gallery-terms ul li dl, #gallery-terms ul li dt, #gallery-terms ul li dd {
  text-indent: 0;
}
#gallery-terms ul li dl {
  display: flex;
  margin-top: 5px;
}
#gallery-terms ul li dl dt {
  white-space: nowrap;
}
@media screen and (max-width: 768px) {
  #gallery-terms {
    margin-top: 60px;
  }
}
@media screen and (max-width: 680px) {
  #gallery-terms ul li dl {
    display: block;
  }
}

/*
=================================================
	list
=================================================
*/
#gallery-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
}
@media screen and (max-width: 1024px) {
  #gallery-header {
    display: block;
  }
}
#gallery-count {
  display: flex;
  align-items: center;
  font-size: 1rem;
}
#gallery-count span {
  font-weight: bold;
  margin-right: 5px;
}
#gallery-count p {
  font-size: 1.5rem;
  line-height: 50px;
  border-right: 1px solid #000;
  padding-right: 15px;
  margin-right: 15px;
}
#gallery-count p span {
  color: #666;
  margin-right: 5px;
}
#gallery-select {
  display: flex;
  align-items: center;
  justify-content: flex-end;
  gap: 30px;
}
@media screen and (max-width: 1024px) {
  #gallery-select {
    justify-content: flex-start;
    margin-top: 25px;
  }
}
@media screen and (max-width: 680px) {
  #gallery-select {
    display: block;
  }
}
#gallery-category, #gallery-tag {
  display: flex;
  align-items: center;
  justify-content: flex-end;
}
#gallery-category label, #gallery-tag label {
  font-size: 0.875rem;
  margin-right: 5px;
  color: #333;
}
#gallery-category .box-inner, #gallery-tag .box-inner {
  width: 210px;
  max-width: 100%;
  position: relative;
}
#gallery-category .box-inner::after, #gallery-tag .box-inner::after {
  content: "";
  position: absolute;
  top: 50%;
  right: 20px;
  width: 10px;
  height: 10px;
  border-right: 2px solid #333;
  border-bottom: 2px solid #333;
  transform: translateY(-70%) rotate(45deg);
  pointer-events: none;
}
#gallery-category .box-inner select, #gallery-tag .box-inner select {
  width: 100%;
  height: 52px;
  padding: 0 52px 2px 20px;
  font-size: 1rem;
  font-weight: 500;
  color: #333;
  border: 1px solid #d7d7d7;
  border-radius: 999px;
  background: #fff;
  appearance: none;
  -webkit-appearance: none;
  -moz-appearance: none;
  cursor: pointer;
  transition: 0.25s;
}
#gallery-category .box-inner select:hover, #gallery-tag .box-inner select:hover {
  border-color: #999;
}
#gallery-category .box-inner select:focus, #gallery-tag .box-inner select:focus {
  outline: none;
  border-color: #222;
  box-shadow: 0 0 0 4px rgba(0, 0, 0, 0.08);
}
@media screen and (max-width: 680px) {
  #gallery-category, #gallery-tag {
    justify-content: flex-start;
    margin-top: 10px;
  }
  #gallery-category .box-inner, #gallery-tag .box-inner {
    width: 100%;
    flex-shrink: 9999;
  }
}
#gallery-list {
  margin-top: 40px;
}
#gallery-list .media-list {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 10px;
  list-style: none;
  padding: 0;
  margin: 0;
}
@media screen and (max-width: 1024px) {
  #gallery-list .media-list {
    grid-template-columns: repeat(3, 1fr);
  }
}
@media screen and (max-width: 768px) {
  #gallery-list .media-list {
    grid-template-columns: repeat(2, 1fr);
  }
}
@media screen and (max-width: 680px) {
  #gallery-list .media-list {
    grid-template-columns: repeat(1, 1fr);
    gap: 20px;
  }
}
#gallery-list .media-list .media-item {
  position: relative;
}
#gallery-list .media-list .media-item-text {
  padding: 10px 50px 10px 15px;
  min-height: 66px;
}
#gallery-list .media-list .media-item figure {
  display: flex;
  align-items: center;
  justify-content: center;
  aspect-ratio: 3/2;
  background: #d6d6d3;
  border-top-right-radius: 8px;
  border-top-left-radius: 8px;
  overflow: hidden;
  position: relative;
}
#gallery-list .media-list .media-item figure img {
  width: 100%;
  height: 100%;
  -o-object-fit: contain;
     object-fit: contain;
  display: block;
  transition: all 0.3s ease;
}
#gallery-list .media-list .media-item figure .movie-icon {
  display: inline-block;
  font-size: 0.75rem;
  background: #d00;
  line-height: 22px;
  color: #fff;
  padding: 0 10px 2px;
  border-radius: 7px;
}
#gallery-list .media-list .media-item figure .movie-icon i {
  margin-right: 5px;
}
#gallery-list .media-list .media-item figure .movie-icon {
  position: absolute;
  bottom: 10px;
  left: 10px;
}
#gallery-list .media-list .media-item .media-title {
  display: flex;
  align-items: flex-start;
}
#gallery-list .media-list .media-item .media-title .media-category {
  display: inline-block;
  padding: 3px 10px 4px;
  background: #ee86a8;
  border-radius: 20px;
  color: #fff;
  font-size: 0.75rem;
  line-height: 1;
  margin-top: 3px;
  margin-right: 7px;
}
#gallery-list .media-list .media-item .media-title .media-category.cat-pig {
  background: #3FA34D;
}
#gallery-list .media-list .media-item .media-title .media-category.cat-meat {
  background: #C94A4A;
}
#gallery-list .media-list .media-item .media-title .media-category.cat-cooking {
  background: #E89B17;
}
#gallery-list .media-list .media-item .media-title h3 {
  font-size: 1rem;
  line-height: 1.4;
  flex-shrink: 9999;
}
#gallery-list .media-list .media-item .media-tags {
  margin-top: 10px;
}
#gallery-list .media-list .media-item a {
  display: block;
  text-decoration: none;
  background: #fff;
  border-radius: 8px;
  box-shadow: 0 3px 12px rgba(0, 0, 0, 0.06);
  height: 100%;
}
#gallery-list .media-list .media-item a:hover {
  box-shadow: 0 8px 20px rgba(0, 0, 0, 0.12);
}
#gallery-list .media-list .media-item a:hover figure img {
  transform: scale(1.08);
}
#gallery-list .media-list .media-item .media-item-list-button {
  position: absolute;
  bottom: 13px;
  right: 13px;
  z-index: 5;
  display: flex;
  align-items: center;
  justify-content: center;
  width: 40px;
  height: 40px;
  color: #776;
  font-size: 2.5rem;
  opacity: 0;
  pointer-events: none;
  cursor: pointer;
  transition: opacity 0.2s ease, transform 0.2s ease, background 0.2s ease;
}
#gallery-list .media-list .media-item .media-item-list-button:hover {
  color: #ee86a8;
}
#gallery-list .media-list .media-item .media-item-list-button:focus-visible {
  outline: 3px solid #fff;
  outline-offset: 2px;
}
#gallery-list .media-list .media-item .media-item-list-button.is-selected, #gallery-list .media-list .media-item .media-item-list-button:disabled {
  color: #ee86a8;
  opacity: 1;
  transform: translateY(0);
  pointer-events: none;
  cursor: default;
}
#gallery-list .media-list .media-item:hover .media-item-list-button, #gallery-list .media-list .media-item:focus-within .media-item-list-button {
  opacity: 1;
  transform: translateY(0);
  pointer-events: auto;
}
@media (hover: none) {
  #gallery-list .media-list .media-item {
    opacity: 1;
    transform: translateY(0);
    pointer-events: auto;
  }
}
#gallery-list .media-list .media-detail-panel {
  grid-column: 1/-1;
  width: 100%;
  padding: 40px;
  background: #fff;
  box-shadow: 0 3px 12px rgba(0, 0, 0, 0.06);
  animation: media-detail-fade-in 0.3s ease both;
}
#gallery-list .media-list .media-detail-panel.is-closing {
  animation: media-detail-fade-out 0.3s ease both;
  pointer-events: none;
}
@media screen and (max-width: 768px) {
  #gallery-list .media-list .media-detail-panel {
    padding: 20px;
  }
}
@keyframes media-detail-fade-in {
  from {
    opacity: 0;
    transform: translateY(-10px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}
@keyframes media-detail-fade-out {
  from {
    opacity: 1;
    transform: translateY(0);
  }
  to {
    opacity: 0;
    transform: translateY(-10px);
  }
}
#gallery-list .media-list .media-item.is-active {
  outline: 3px solid #ee86a8;
  border-radius: 8px;
}
#gallery-list .media-list .media-detail-loading,
#gallery-list .media-list .media-detail-error {
  font-size: 0.875rem;
  grid-column: 1/-1;
  margin: 0;
  padding: 30px;
  text-align: center;
}
#gallery .pagination {
  display: flex;
  justify-content: center;
  gap: 8px;
  margin-top: 60px;
}
#gallery .pagination a,
#gallery .pagination span {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 40px;
  height: 40px;
  border-radius: 50%;
  background: #fff;
  font-size: 0.875rem;
}
#gallery .pagination .current {
  background: #333;
  color: #fff;
}
#gallery .pagination a {
  transition: opacity 0.3s;
}
#gallery .pagination a:hover {
  opacity: 0.7;
}

/*
=================================================
	single
=================================================
*/
#gallery .media-detail {
  display: flex;
  align-items: flex-start;
}
@media screen and (max-width: 768px) {
  #gallery .media-detail {
    display: block;
  }
}
#gallery .media-detail-viewer {
  width: 60%;
  margin-right: 40px;
  flex-basis: auto;
  max-height: 480px;
  display: flex;
  align-items: center;
  justify-content: center;
}
#gallery .media-detail-viewer img, #gallery .media-detail-viewer video {
  display: block;
  max-width: 100%;
  max-height: 480px;
  width: auto;
  height: auto;
  margin: 0 auto;
}
#gallery .media-detail-viewer img {
  display: block;
}
#gallery .media-detail-viewer video {
  width: 100%;
  height: 100%;
  aspect-ratio: 16/9;
  -o-object-fit: cover;
     object-fit: cover;
  display: block;
}
@media screen and (max-width: 1024px) {
  #gallery .media-detail-viewer {
    width: 50%;
  }
}
@media screen and (max-width: 768px) {
  #gallery .media-detail-viewer {
    width: auto;
    margin-right: 0;
    margin-bottom: 30px;
  }
}
#gallery .media-detail-text {
  width: 100%;
  flex-shrink: 9999;
}
#gallery .media-detail-text h3 {
  font-size: 1.25rem;
  line-height: 1.4;
  display: flex;
  align-items: flex-start;
}
#gallery .media-detail-text h3 .movie-icon {
  display: inline-block;
  font-size: 0.75rem;
  background: #d00;
  line-height: 22px;
  color: #fff;
  padding: 0 10px 2px;
  border-radius: 7px;
}
#gallery .media-detail-text h3 .movie-icon i {
  margin-right: 5px;
}
#gallery .media-detail-text h3 .movie-icon {
  margin-right: 7px;
  margin-top: 3px;
}
#gallery .media-detail-text .media-tags {
  margin-top: 20px;
  margin-bottom: 25px;
}
#gallery .media-detail-text .media-tags li a:hover {
  color: #000;
  text-decoration: underline;
}
#gallery .media-detail-text .detail-inner {
  display: flex;
  flex-wrap: wrap;
  margin-top: 25px;
}
#gallery .media-detail-text .detail-inner dl {
  width: 50%;
  margin-bottom: 15px;
}
#gallery .media-detail-text .detail-inner dl dt {
  font-size: 0.75rem;
  margin-bottom: 5px;
  color: #666;
}
#gallery .media-detail-text .detail-inner dl dd a {
  text-decoration: underline;
}
#gallery .media-detail-text .detail-inner dl dd a:hover {
  text-decoration: none;
}
@media screen and (max-width: 680px) {
  #gallery .media-detail-text .detail-inner {
    display: block;
  }
  #gallery .media-detail-text .detail-inner dl {
    width: auto;
  }
}
#gallery .media-detail .detail-desc {
  font-size: 0.875rem;
  line-height: 1.6;
  margin-top: 10px;
}
@media screen and (max-width: 1024px) {
  #gallery .media-detail .detail-desc {
    font-size: 0.75rem;
  }
}
@media screen and (max-width: 680px) {
  #gallery .media-detail .detail-desc {
    margin-top: 20px;
  }
}
#gallery .media-detail-button {
  margin-top: 20px;
  display: inline-block;
}
#gallery .media-detail-button button {
  display: flex;
  align-items: center;
  border: 2px solid #000;
  border-radius: 40px;
  padding: 8px 30px 10px;
  font-weight: bold;
  transition: all 0.3s ease;
}
#gallery .media-detail-button button i {
  font-size: 1.5rem;
  color: #ee86a8;
  margin-top: 2px;
  margin-right: 7px;
}
#gallery .media-detail-button button:hover {
  color: #ee86a8;
  border-color: #ee86a8;
}
#gallery .media-detail-button button.is-selected, #gallery .media-detail-button button:disabled {
  border-color: #ccc !important;
  color: #ccc !important;
  cursor: default;
}
#gallery .media-detail-button button.is-selected i, #gallery .media-detail-button button:disabled i {
  color: #ccc !important;
}
#gallery .media-detail .guide-nav {
  margin-top: 30px;
  display: flex;
  justify-content: flex-end;
  border-right: 1px solid #999;
}
#gallery .media-detail .guide-nav li {
  border-left: 1px solid #999;
}
#gallery .media-detail .guide-nav li a {
  display: block;
  font-size: 0.875rem;
  line-height: 24px;
  text-decoration: underline;
  padding: 0 15px 2px;
}
#gallery .media-detail .guide-nav li a:hover {
  text-decoration: none;
}
#gallery .media-navigation {
  margin-top: 80px;
  display: flex;
}
#gallery .media-navigation li {
  margin-right: 10px;
}
#gallery .media-navigation li:last-child {
  margin-right: 0;
}
#gallery .media-navigation li a {
  display: block;
  font-size: 0.875rem;
  background: #fff;
  border: 1px solid #ccc;
  line-height: 36px;
  padding: 0 20px 2px;
  border-radius: 7px;
}
#gallery .media-navigation li a:hover {
  border-color: #000;
}
#gallery .media-navigation li a[hidden] {
  display: none;
}

/*
=================================================
	entry
=================================================
*/
/* 一覧ページ */
#bottom-list .selected-media-panel {
  display: none;
  background: #fff;
  position: fixed;
  right: 0;
  bottom: 0;
  left: 0;
  width: 100%;
  z-index: 1000;
  box-shadow: 0 -4px 20px rgba(0, 0, 0, 0.12);
  transform: translateY(calc(100% - 50px));
  transition: transform 0.3s ease;
}
#bottom-list .selected-media-panel.is-visible {
  display: block;
}
#bottom-list .selected-media-panel.is-open {
  transform: translateY(0);
}
#bottom-list .selected-media-panel .list-empty {
  line-height: 1.6;
  text-align: center;
  font-size: 0.875rem;
  padding: 60px 0;
}
#bottom-list .selected-media-panel-header {
  display: flex;
  align-items: flex-end;
  background: #776 url(../images/diagonal.png) repeat-x left center;
  padding: 0 40px 2px;
  color: #fff;
}
@media screen and (max-width: 768px) {
  #bottom-list .selected-media-panel-header {
    padding: 0 20px 2px;
  }
}
#bottom-list .selected-media-panel-title {
  font-size: 1.25rem;
  font-weight: bold;
  margin-right: 20px;
  line-height: 48px;
}
#bottom-list .selected-media-panel-desc {
  font-size: 0.875rem;
  line-height: 44px;
}
@media screen and (max-width: 680px) {
  #bottom-list .selected-media-panel-desc {
    display: none;
  }
}
#bottom-list .selected-media-panel .selected-media-toggle {
  position: absolute;
  top: 0;
  right: 10px;
  display: flex;
  align-items: center;
  justify-content: center;
  width: 50px;
  height: 50px;
  padding: 0;
  border: 0;
  background: transparent;
  cursor: pointer;
}
#bottom-list .selected-media-panel .selected-media-toggle-icon {
  width: 12px;
  height: 12px;
  border-top: 2px solid #fff;
  border-left: 2px solid #fff;
  transform: translateY(3px) rotate(45deg);
  transition: transform 0.3s ease;
}
#bottom-list .selected-media-panel.is-open .selected-media-toggle-icon {
  transform: translateY(-3px) rotate(225deg);
}
#bottom-list .selected-media-panel-body {
  padding: 20px 40px;
  display: flex;
  align-items: center;
  justify-content: center;
}
#bottom-list .selected-media-panel-body .selected-media-items {
  display: flex;
  justify-content: center;
  flex-shrink: 9999;
}
#bottom-list .selected-media-panel-body .selected-media-items li {
  flex-basis: auto;
  position: relative;
}
#bottom-list .selected-media-panel-body .selected-media-items li:nth-child(n+2) {
  margin-left: 10px;
}
#bottom-list .selected-media-panel-body .selected-media-items li a {
  position: relative;
}
#bottom-list .selected-media-panel-body .selected-media-items li a:hover {
  opacity: 0.8;
}
#bottom-list .selected-media-panel-body .selected-media-items li figure {
  max-height: 120px;
  display: flex;
  align-items: center;
  justify-content: center;
  position: relative;
}
#bottom-list .selected-media-panel-body .selected-media-items li figure img {
  display: block;
  max-width: 100%;
  max-height: 120px;
  width: auto;
  height: auto;
  margin: 0 auto;
}
#bottom-list .selected-media-panel-body .selected-media-items li figure .movie-icon {
  display: inline-block;
  font-size: 0.75rem;
  background: #d00;
  line-height: 22px;
  color: #fff;
  padding: 0 10px 2px;
  border-radius: 7px;
}
#bottom-list .selected-media-panel-body .selected-media-items li figure .movie-icon i {
  margin-right: 5px;
}
#bottom-list .selected-media-panel-body .selected-media-items li figure .movie-icon {
  position: absolute;
  bottom: 10px;
  left: 10px;
}
@media screen and (max-width: 680px) {
  #bottom-list .selected-media-panel-body .selected-media-items {
    flex-wrap: wrap;
    gap: 10px;
  }
  #bottom-list .selected-media-panel-body .selected-media-items li {
    max-width: 48%;
  }
  #bottom-list .selected-media-panel-body .selected-media-items li:nth-child(n+2) {
    margin-left: 0;
  }
}
#bottom-list .selected-media-panel-body .selected-media-items li .remove-media-button {
  position: absolute;
  top: -5px;
  right: -5px;
  z-index: 2;
  display: flex;
  align-items: center;
  justify-content: center;
  width: 26px;
  height: 25px;
  border: 1px solid #000;
  border-radius: 20px;
  padding-bottom: 1px;
  background: #fff;
  color: #000;
  font-size: 1rem;
  line-height: 1;
  cursor: pointer;
}
#bottom-list .selected-media-panel-body .selected-media-items li .remove-media-button:focus-visible {
  outline: 3px solid #fff;
  outline-offset: 2px;
}
@media screen and (max-width: 768px) {
  #bottom-list .selected-media-panel-body {
    display: block;
    padding: 20px;
  }
}
#bottom-list .selected-media-panel .selected-media-panel-actions {
  text-align: center;
  margin-left: 40px;
}
#bottom-list .selected-media-panel .selected-media-panel-actions .bt-permission {
  display: inline-block;
}
#bottom-list .selected-media-panel .selected-media-panel-actions .bt-permission button, #bottom-list .selected-media-panel .selected-media-panel-actions .bt-permission a {
  display: flex;
  align-items: center;
  line-height: 58px;
  padding: 0 10px 0 40px;
  background: #ee86a8;
  color: #fff;
  border-radius: 30px;
}
#bottom-list .selected-media-panel .selected-media-panel-actions .bt-permission button span, #bottom-list .selected-media-panel .selected-media-panel-actions .bt-permission a span {
  margin-bottom: 2px;
}
#bottom-list .selected-media-panel .selected-media-panel-actions .bt-permission button i, #bottom-list .selected-media-panel .selected-media-panel-actions .bt-permission a i {
  width: 40px;
  line-height: 40px;
  text-align: center;
  background: rgba(255, 255, 255, 0.2);
  border-radius: 30px;
  margin-left: 20px;
}
#bottom-list .selected-media-panel .selected-media-panel-actions .bt-permission button:hover, #bottom-list .selected-media-panel .selected-media-panel-actions .bt-permission a:hover {
  background-position: right center;
  background-size: 200% auto;
  animation: ripple 1.5s infinite;
}
#bottom-list .selected-media-panel .selected-media-panel-actions .bt-permission a {
  font-size: 1.25rem;
  font-weight: bold;
  letter-spacing: 3px;
}
@media screen and (max-width: 768px) {
  #bottom-list .selected-media-panel .selected-media-panel-actions {
    margin-top: 20px;
    margin-left: 0;
  }
}

/* リストページ */
#gallery .selected-media-panel {
  position: static;
  border-radius: 20px;
  overflow: hidden;
  transform: translateY(0);
}

/*
=================================================
	request
=================================================
*/
#gallery #request {
  max-width: 940px;
  margin: 0 auto;
}
@media screen and (max-width: 1024px) {
  #gallery #request {
    max-width: 100%;
  }
}
#gallery #request .wpcf7-not-valid-tip {
  display: block;
  margin-top: 5px;
  color: #c00;
  font-size: 0.875rem;
  font-weight: 700;
}
#gallery #request .selected-media-form .wpcf7-not-valid-tip {
  text-align: center;
}
#gallery #request .wpcf7-response-output,
#gallery #request .page-request .wpcf7-spinner {
  display: none;
}
#gallery #request .wpcf7 form.invalid .wpcf7-response-output,
#gallery #request .wpcf7 form.failed .wpcf7-response-output {
  display: block;
}
#gallery #request h3 {
  font-size: 1.25rem;
  font-weight: bold;
  border-left: 5px solid #ee86a8;
  line-height: 40px;
  padding-left: 15px;
  margin-bottom: 20px;
}
#gallery #request p {
  line-height: 1.6;
}
#gallery #request-form {
  margin-top: 40px;
}
#gallery #request-form .form-item {
  background: #fff;
  padding: 20px;
  margin-bottom: 5px;
}
#gallery #request-form .form-item input, #gallery #request-form .form-item textarea {
  width: 100%;
  box-sizing: border-box;
  border: 1px solid #999;
  background: #fff;
  line-height: 1.6;
  padding: 8px 10px;
  border-radius: 7px;
}
#gallery #request-form .form-item textarea {
  min-height: 180px;
  padding: 16px;
  resize: vertical;
}
#gallery #request-form .form-item label {
  display: flex;
  align-items: center;
}
@media screen and (max-width: 768px) {
  #gallery #request-form .form-item label {
    display: block;
  }
}
#gallery #request-form .form-item .form-title {
  display: flex;
  align-items: center;
  line-height: 1;
  padding-bottom: 2px;
  width: 18em;
}
@media screen and (max-width: 768px) {
  #gallery #request-form .form-item .form-title {
    width: auto;
    line-height: 20px;
    margin-bottom: 10px;
    padding-bottom: 0;
  }
}
#gallery #request-form .form-item .form-input {
  width: 100%;
  flex-shrink: 9999;
}
#gallery #request-form .form-item.must .form-title::after {
  content: "必須";
  display: inline-block;
  color: #fff;
  background: #ee86a8;
  font-size: 0.8125rem;
  line-height: 20px;
  padding: 0 8px;
  border-radius: 20px;
  margin-top: 2px;
  margin-left: 7px;
}
#gallery #request-form .selected-media-form {
  margin: 5px 0;
  background: #fff;
}
#gallery #request-form .selected-media-form h4 {
  background: #776 url(../images/diagonal.png) repeat-x left center;
  padding: 0 20px 2px;
  color: #fff;
  font-size: 1.25rem;
  font-weight: bold;
  line-height: 48px;
}
#gallery #request-form .selected-media-form #selected-media-form-list {
  display: flex;
  justify-content: center;
  flex-shrink: 9999;
}
#gallery #request-form .selected-media-form #selected-media-form-list li {
  flex-basis: auto;
  position: relative;
}
#gallery #request-form .selected-media-form #selected-media-form-list li:nth-child(n+2) {
  margin-left: 10px;
}
#gallery #request-form .selected-media-form #selected-media-form-list li a {
  position: relative;
}
#gallery #request-form .selected-media-form #selected-media-form-list li a:hover {
  opacity: 0.8;
}
#gallery #request-form .selected-media-form #selected-media-form-list li figure {
  max-height: 120px;
  display: flex;
  align-items: center;
  justify-content: center;
  position: relative;
}
#gallery #request-form .selected-media-form #selected-media-form-list li figure img {
  display: block;
  max-width: 100%;
  max-height: 120px;
  width: auto;
  height: auto;
  margin: 0 auto;
}
#gallery #request-form .selected-media-form #selected-media-form-list li figure .movie-icon {
  display: inline-block;
  font-size: 0.75rem;
  background: #d00;
  line-height: 22px;
  color: #fff;
  padding: 0 10px 2px;
  border-radius: 7px;
}
#gallery #request-form .selected-media-form #selected-media-form-list li figure .movie-icon i {
  margin-right: 5px;
}
#gallery #request-form .selected-media-form #selected-media-form-list li figure .movie-icon {
  position: absolute;
  bottom: 10px;
  left: 10px;
}
@media screen and (max-width: 680px) {
  #gallery #request-form .selected-media-form #selected-media-form-list {
    flex-wrap: wrap;
    gap: 10px;
  }
  #gallery #request-form .selected-media-form #selected-media-form-list li {
    max-width: 48%;
  }
  #gallery #request-form .selected-media-form #selected-media-form-list li:nth-child(n+2) {
    margin-left: 0;
  }
}
#gallery #request-form .selected-media-form #selected-media-form-list {
  padding: 20px 20px 15px;
}
@media screen and (max-width: 680px) {
  #gallery #request-form .selected-media-form #selected-media-form-list {
    display: block;
  }
}
#gallery #request-form .selected-media-form #selected-media-form-list li {
  position: relative;
}
#gallery #request-form .selected-media-form #selected-media-form-list li .media-no {
  font-size: 0.6875rem;
  line-height: 1;
  margin-top: 5px;
}
#gallery #request-form .selected-media-form #selected-media-form-list li .media-title {
  font-size: 0.8125rem;
  line-height: 1.4;
  margin-top: 3px;
}
#gallery #request-form .selected-media-form #selected-media-form-list li .remove-media-button {
  position: absolute;
  top: -5px;
  right: -5px;
  z-index: 2;
  display: flex;
  align-items: center;
  justify-content: center;
  width: 26px;
  height: 25px;
  border: 1px solid #000;
  border-radius: 20px;
  padding-bottom: 1px;
  background: #fff;
  color: #000;
  font-size: 1rem;
  line-height: 1;
  cursor: pointer;
}
#gallery #request-form .selected-media-form #selected-media-form-list li .remove-media-button:focus-visible {
  outline: 3px solid #fff;
  outline-offset: 2px;
}
@media screen and (max-width: 680px) {
  #gallery #request-form .selected-media-form #selected-media-form-list li {
    text-align: center;
  }
  #gallery #request-form .selected-media-form #selected-media-form-list li:nth-child(n+2) {
    margin-top: 20px;
  }
}
#gallery #request-form .selected-media-form .bt-back {
  padding: 0 20px 20px;
  display: flex;
  justify-content: center;
}
#gallery #request-form .selected-media-form .bt-back a {
  display: flex;
  align-items: center;
  justify-content: center;
  border: 1px solid #000;
  border-radius: 40px;
  padding: 0 20px 2px;
  line-height: 38px;
  transition: all 0.3s ease;
  background: #fff;
  width: 200px;
}
#gallery #request-form .selected-media-form .bt-back a i {
  font-size: 1.25rem;
  color: #ee86a8;
  margin-top: 2px;
  margin-right: 5px;
}
#gallery #request-form .selected-media-form .bt-back a:hover {
  color: #999;
  border-color: #999;
}
#gallery #request-form .selected-media-form #download-list-error[hidden] {
  display: none;
}
#gallery #request-form .form-agree {
  margin-top: 40px;
}
#gallery #request-form .form-agree a {
  text-decoration: underline;
}
#gallery #request-form .form-agree a:hover {
  text-decoration: none;
}
#gallery #request-form .form-agree .form-agree-text {
  border: 1px solid #000;
  padding: 30px;
  overflow-y: auto;
  height: 300px;
  font-size: 0.875rem;
  margin-bottom: 30px;
}
@media screen and (max-width: 680px) {
  #gallery #request-form .form-agree .form-agree-text {
    padding: 20px;
  }
}
#gallery #request-form .form-agree .form-agree-text .inner-text:nth-child(n+2) {
  margin-top: 30px;
  padding-top: 30px;
  border-top: 1px dotted #000;
}
#gallery #request-form .form-agree .form-agree-text h4 {
  font-size: 1.125rem;
  font-weight: bold;
  line-height: 1.6;
  margin-bottom: 15px;
}
#gallery #request-form .form-agree .form-agree-text h5 {
  font-weight: bold;
  line-height: 1.8;
  margin-top: 15px;
}
#gallery #request-form .form-agree .form-agree-text h5::before {
  content: "◎";
  margin-right: 3px;
}
#gallery #request-form .form-agree .form-agree-text ol {
  margin-left: 1.5em;
}
#gallery #request-form .form-agree .form-agree-text ol li {
  line-height: 1.8;
  list-style: decimal;
  padding-left: 0.25em;
}
#gallery #request-form .form-agree dl {
  margin-bottom: 20px;
}
#gallery #request-form .form-agree dl dt, #gallery #request-form .form-agree dl dd {
  line-height: 1.6;
}
#gallery #request-form .form-agree dl dt {
  font-weight: bold;
}
#gallery #request-form .form-agree dl dd {
  font-size: 0.875rem;
}
#gallery #request-form .form-agree-check li {
  margin-left: -10px;
}
#gallery #request-form .form-agree-check li:nth-child(n+2) {
  margin-top: 15px;
}
#gallery #request-form .form-agree-check li input[type=checkbox] {
  transform: scale(1.8);
  margin: 0 12px 4px 0;
}
#gallery #request-form .form-agree-check .wpcf7-not-valid-tip {
  display: block;
  margin-top: 7px;
  margin-left: 10px;
  font-size: 0.875rem;
}
#gallery #request-form .form-submit {
  margin-top: 40px;
}
#gallery #request-form .form-submit input {
  display: block;
  width: 320px;
  font-size: 1.5rem;
  background: #ee86a8;
  color: #fff;
  line-height: 80px;
  margin: 0 auto;
  padding-bottom: 2px;
  text-align: center;
  text-decoration: none;
  cursor: pointer;
  transition: all 0.3s ease;
  border-radius: 50px;
}
@media screen and (max-width: 768px) {
  #gallery #request-form .form-submit input {
    display: block !important;
  }
}
#gallery #request-form .form-submit input:hover {
  background: #333;
}
@media screen and (max-width: 1024px) {
  #gallery #request-form .form-submit input:hover {
    background: transparent;
    color: #ee86a8;
  }
}
@media screen and (max-width: 768px) {
  #gallery #request-form .form-submit input {
    width: 100%;
  }
}
#gallery #request-thanks {
  text-align: center;
}
#gallery #request-thanks h3 {
  font-size: 1.25rem;
  font-weight: bold;
  line-height: 1.4;
  margin-bottom: 40px;
}
#gallery #request-thanks p {
  margin: 20px 0;
  line-height: 1.6;
}
#gallery #request-thanks .bt-back {
  display: inline-block;
  margin-top: 20px;
}
#gallery #request-thanks .bt-back a {
  display: flex;
  align-items: center;
  justify-content: center;
  border: 1px solid #000;
  border-radius: 40px;
  padding: 0 20px 2px;
  line-height: 38px;
  transition: all 0.3s ease;
  background: #fff;
}
#gallery #request-thanks .bt-back a i {
  font-size: 1.25rem;
  color: #ee86a8;
  margin-top: 2px;
  margin-right: 5px;
}
#gallery #request-thanks .bt-back a:hover {
  color: #999;
  border-color: #999;
}

/* 送信中オーバーレイ */
#request-loading {
  position: fixed;
  inset: 0;
  display: flex;
  align-items: center;
  justify-content: center;
  background: rgba(255, 255, 255, 0.85);
  opacity: 0;
  visibility: hidden;
  transition: opacity 0.3s, visibility 0.3s;
  z-index: 9999;
}
#request-loading.is-open {
  opacity: 1;
  visibility: visible;
}
#request-loading .loading-inner {
  text-align: center;
}
#request-loading p {
  margin-top: 20px;
  line-height: 1.8;
  font-weight: bold;
}
#request-loading .loading-spinner {
  width: 54px;
  height: 54px;
  margin: 0 auto;
  border: 6px solid #ddd;
  border-top-color: #d71920;
  border-radius: 50%;
  animation: loading-spin 0.8s linear infinite;
}

@keyframes loading-spin {
  to {
    transform: rotate(360deg);
  }
}
/*
=================================================
	download
=================================================
*/
#gallery .download-media-desc {
  margin-bottom: 40px;
  text-align: center;
}
#gallery .download-media-desc p {
  line-height: 1.6;
}
@media screen and (max-width: 680px) {
  #gallery .download-media-desc {
    text-align: left;
  }
}
#gallery .download-information {
  margin-top: 40px;
  text-align: center;
  border: 1px solid #999;
  background: #fff;
  padding: 20px;
}
#gallery .download-information dl {
  display: flex;
  justify-content: center;
}
#gallery .download-information dl div {
  display: flex;
  align-items: center;
}
#gallery .download-information dl div:nth-child(n+2) {
  margin-left: 30px;
}
#gallery .download-information dl div dt {
  display: inline-block;
  font-size: 0.875rem;
  line-height: 24px;
  padding: 0 15px;
  background: #000;
  color: #fff;
  border-radius: 20px;
  margin-right: 10px;
}
#gallery .download-information dl div dd {
  font-size: 1.25rem;
  margin-top: -3px;
}
@media screen and (max-width: 680px) {
  #gallery .download-information dl {
    display: block;
  }
  #gallery .download-information dl div {
    justify-content: flex-start;
  }
  #gallery .download-information dl div:nth-child(n+2) {
    margin-top: 10px;
    margin-left: 0;
  }
}
#gallery .download-error {
  margin-top: 40px;
  text-align: center;
}
#gallery .download-error h3 {
  font-weight: bold;
  color: #c00;
  margin-bottom: 10px;
}
#gallery .download-error p {
  line-height: 1.6;
}
#gallery .download-media-list {
  display: flex;
  align-items: center;
  justify-content: center;
}
#gallery .download-media-list .download-media-item {
  flex-basis: auto;
  position: relative;
}
#gallery .download-media-list .download-media-item:nth-child(n+2) {
  margin-left: 10px;
}
#gallery .download-media-list .download-media-item img {
  display: block;
  max-width: 100%;
  max-height: 160px;
  width: auto;
  height: auto;
  margin: 0 auto;
}
#gallery .download-media-list .download-media-item h3 {
  text-align: center;
  font-size: 0.875rem;
  font-weight: bold;
  line-height: 1.4;
  margin-top: 7px;
}
@media screen and (max-width: 680px) {
  #gallery .download-media-list {
    display: block;
  }
  #gallery .download-media-list .download-media-item:nth-child(n+2) {
    margin-top: 20px;
    margin-left: 0;
  }
}
#gallery .download-media-submit {
  text-align: center;
  margin-top: 40px;
}
#gallery .download-media-submit .bt-download {
  display: inline-block;
}
#gallery .download-media-submit .bt-download button, #gallery .download-media-submit .bt-download a {
  display: flex;
  align-items: center;
  line-height: 58px;
  padding: 0 10px 0 40px;
  background: #ee86a8;
  color: #fff;
  border-radius: 30px;
}
#gallery .download-media-submit .bt-download button span, #gallery .download-media-submit .bt-download a span {
  margin-bottom: 2px;
}
#gallery .download-media-submit .bt-download button i, #gallery .download-media-submit .bt-download a i {
  width: 40px;
  line-height: 40px;
  text-align: center;
  background: rgba(255, 255, 255, 0.2);
  border-radius: 30px;
  margin-left: 20px;
}
#gallery .download-media-submit .bt-download button:hover, #gallery .download-media-submit .bt-download a:hover {
  background-position: right center;
  background-size: 200% auto;
  animation: ripple 1.5s infinite;
}