@charset "UTF-8";

/* =========================================================
  docs gallery photo
========================================================= */

/* terms
----------------------------------------------- */
#terms.overlay {
  position: fixed;
  top: 0;
  left: 0;
  z-index: 99999;
  width: 100%;
  height: 100%;
  padding: 80px;
  background: rgba(0,0,0,0.6);
}

#terms.overlay .pieceContainer {
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  width: 100%;
  max-width: 800px;
  max-height: calc(100vh - 160px);
  margin: 0 auto;
  padding: 20px 20px 30px;
  background-color: var(--mono-color-9);
  -webkit-overflow-scrolling: touch;
  overflow-scrolling: touch;
  overflow-y: scroll;
  overscroll-behavior: contain;
}

#terms.agree {
  margin-bottom: 70px;
}

#terms.agree .pieceHeader {
  display: none;
}

#terms.agree .pieceBody h3 {
  margin-bottom: 0;
  padding: 15px 35px 15px 20px;
  border: 1px solid var(--ac-color-blue-2);
  border-radius: 8px;
  background: url(/_themes/minamiawa/site/images/navi-arrow.svg) right 25px center no-repeat var(--ac-color-blue-2);
  font-weight: 700;
  font-size: 1.125rem;
  cursor: pointer;
}

#terms.agree .pieceBody h3:hover {
  opacity: 0.6;
}

#terms.agree .pieceBody h3 + div {
  display: none;
}

#terms.agree .pieceBody h3::before {
  display: none;
}

#terms.agree .pieceBody h3.open {
  background-image: url(/_themes/minamiawa/site/images/navi-arrow02.svg);
}

#terms.agree .pieceBody h3.open + div {
  display: block;
  padding: 15px 15px 0;
}

#terms .pieceHeader h2 {
  margin-bottom: 20px;
  padding: 20px 80px;
  background-color: var(--ac-color-blue-1);
  color: var(--mono-color-9);
  font-weight: 700;
  font-size: 1.5rem;
  text-align: center;
}

#terms .pieceBody ul.btn {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 15px;
  list-style: none;
  margin: 15px 0 0;
  padding: 0;
}

#terms .pieceBody ul.btn li {
  display: flex;
  justify-content: center;
  align-items: center;
  position: relative;
  width: calc((100% - 15px) / 2);
  margin: 0;
  padding: 10px;
  border: 1px solid #b3b3b3;
  background: linear-gradient(to bottom, #fff, #f2f2f2);
}

#terms .pieceBody ul.btn li:nth-child(even) {
  margin-right: 0;
}

#terms .pieceBody ul.btn li a::after {
  content: "";
  position: absolute;
  top: 0;
  right: 0;
  bottom: 0;
  left: 0;
  background: transparent !important;
}

@media only screen and (max-width: 959px) {
  #terms.overlay {
    padding: 40px 30px;
  }

  #terms.overlay .pieceContainer {
    max-width: calc(100vw - 60px);
    max-height: calc(95vh - 80px);
    padding: 15px 15px 30px;
  }

  #terms.agree {
    margin-bottom: 40px;
  }

  #terms.agree .pieceBody h3 {
    padding: 15px 25px 15px 10px;
    font-size: 1rem;
  }

  #terms .pieceHeader h2 {
    padding: 10px;
    font-size: 1.125rem;
  }

  #terms .pieceBody ul.btn li {
    flex-basis: 100%;
  }
}

/* contentGpArticleDocs
----------------------------------------------- */
.contentGpArticleDocs .docs ul {
  display: flex;
  flex-wrap: wrap;
}

.contentGpArticleDocs .docs ul li {
  flex-grow: 0;
  flex-shrink: 1;
  flex-basis: calc((100% - 69px) / 4);
  margin-right: 23px;
  margin-bottom: 50px;
}

.contentGpArticleDocs .docs ul li:nth-child(4n) {
  margin-right: 0;
}

.contentGpArticleDocs .docs ul li a {
  display: block;
  position: relative;
  width: 100%;
  margin-bottom: 12px;
  padding-top: 75%;
  overflow: hidden;
  border-radius: 10px;
  background: var(--mono-color-9);
  color: inherit !important;
  text-decoration: none;
}

.contentGpArticleDocs .docs ul li span {
  display: block;
  line-height: 1.1;
}

.contentGpArticleDocs .docs ul li span.image {
  display: block;
  position: absolute;
  top: 50%;
  left: 0;
  right: 0;
  transform: translate(0, -50%);
  transition: ease 0.25s;
}

.contentGpArticleDocs .docs ul li span.image img {
  width: 100%;
}

.contentGpArticleDocs .docs ul li a:hover span.image {
  opacity: 0.5;
}

.contentGpArticleDocs .docs ul li span.title {
  margin-bottom: 10px;
  font-size: 1.25rem;
}

.contentGpArticleDocs .docs ul li span.category span {
  display: inline-block;
  margin-right: 15px;
  background: #fafafa;
  color: #5e5e5e;
  font-size: 0.875rem;
}

.contentGpArticleDocs .docs ul li span.category span:last-child {
  margin-right: 0;
}

.contentGpArticleDocs .docs ul li span.category span[class^="genre"] {
  padding: 5px;
  background: none !important;
}

.contentGpArticleDocs .docs ul li span.category span.genre-shizen {
  background: #dffbea;
}

.contentGpArticleDocs .docs ul li span.category span.genre-shoku {
  background: #fbdfe5;
}

.contentGpArticleDocs .docs ul li span.category span.genre-rekishi {
  background: #eedffb;
}

.contentGpArticleDocs .docs ul li span.category span.genre-matsuri {
  background: #fbfadf;
}

.contentGpArticleDocs .docs ul li span.category span.genre-sonota {
  background: #dfeffb;
}

.contentGpArticleDocs .docs ul li span.category span[class^="area"] {
  padding: 5px 0 5px 25px;
  background: url(/_themes/minamiawa/site/images/ic-area.svg) left center / 24px 24px no-repeat;
}

@media only screen and (max-width: 959px) {
  .contentGpArticleDocs .docs ul li {
    flex-basis: calc((100% - 15px) / 2);
    margin: 0 15px 35px 0 !important;
  }

  .contentGpArticleDocs .docs ul li:nth-child(2n) {
    margin-right: 0 !important;
  }

  .contentGpArticleDocs .docs ul li span {
    font-size: 0.875rem;
  }

  .contentGpArticleDocs .docs ul li span.title {
    font-size: 1.125rem;
  }

  .contentGpArticleDocs .docs ul li span.category span[class^="area"] {
    background-size: 18px 18px;
  }
}

/* searchInfo
----------------------------------------------- */
.searchInfo {
  margin: 0 0 30px;
  padding-bottom: 10px;
  border-bottom: 2px solid var(--ac-color-blue-1);
}

.searchInfo span.label::after {
  content: "：";
}

@media only screen and (max-width: 534px) {
  .searchInfo {
    font-size: 0.875rem;
  }
}