﻿@charset "utf-8";
/*--------------------------------------------------------------------------------

  page visual

--------------------------------------------------------------------------------*/
.l-pv-ttl {
  border-bottom: 0;
  padding-bottom: 0;
}

/*--------------------------------------------------------------------------------
 
  search

--------------------------------------------------------------------------------*/
/*--------------------------------------------------------------------------------
  .search-ttl
--------------------------------------------------------------------------------*/
.search-ttl {
  font-size: var(--fs-m);
  font-weight: bold;
}
@media (min-width: 641px) {
  .search-ttl {
    pointer-events: none;
    padding-bottom: 1rem;
    border-bottom: 1px solid var(--border-color);
  }
}
@media (max-width: 640px) {
  .search-ttl {
    display: flex;
    justify-content: space-between;
    align-items: center;
    column-gap: 1rem;
    cursor: pointer;
    padding: 0.65rem 1rem;
    border: 1px solid var(--border-color);
  }
  .search-ttl:after {
    content: "";
    width: 1em;
    height: 1em;
    line-height: 1;
    background: currentColor;
    color: currentColor;
    mask: var(--icon-plus) no-repeat center center;
    mask-size: 80% auto;
  }
  .search-ttl.is-open:after {
    mask-image: var(--icon-minus);
  }
}

/*--------------------------------------------------------------------------------
  .search
--------------------------------------------------------------------------------*/
.search {
  padding-bottom: var(--space-l);
}
.search form {
  padding-top: var(--space-s);
}
.search_tag {
  font-size: var(--fs-s);
  display: flex;
  flex-wrap: wrap;
  gap: 0.75rem;
  line-height: 1.6;
}
.search_tag label {
  display: block;
  padding: 0.25em 1em;
  background-color: #FFF;
  border: 1px solid #FFF;
  border-radius: 9999px;
  transition: var(--hover-trans);
}
.search_tag label:has(:checked) {
  background-color: var(--color-primary);
  border-color: var(--color-primary);
  color: #FFF;
}
@media (hover: hover) {
  .search_tag label:not(:has(:checked)):hover {
    border-color: var(--color-primary);
    color: var(--color-primary);
  }
}

/*--------------------------------------------------------------------------------
  .search-results
--------------------------------------------------------------------------------*/
.search-results {
  padding-bottom: var(--space-s);
  display: flex;
  justify-content: space-between;
  align-items: center;
}
.search-results .num {
  font-weight: bold;
  font-size: var(--fs-m);
  display: inline-block;
  margin-right: 0.25rem;
}
.search-results .clear-btn {
  cursor: pointer;
  line-height: 1.6;
  display: inline-flex;
  column-gap: 0.5rem;
  align-items: center;
  padding: 0.35em 1.5em;
  font-size: var(--fs-s);
  border: 1px solid var(--color-secondary);
  border-radius: 9999px;
  transition: var(--hover-trans);
}
.search-results .clear-btn:before {
  content: "";
  width: 1em;
  height: 1em;
  line-height: 1;
  background: currentColor;
  color: currentColor;
  mask: var(--icon-cancel) no-repeat center center;
  mask-size: 80% auto;
}
@media (hover: hover) {
  .search-results .clear-btn:hover {
    background-color: var(--color-secondary);
    color: #FFF;
  }
}

/*--------------------------------------------------------------------------------
 
  gallery

--------------------------------------------------------------------------------*/
@media (min-width: 1200px) { .gallery { --columns: 3; } }
@media (max-width: 1199px) { .gallery { --columns: 2; } }
@media (max-width: 640px) { .gallery { --columns: 1; } }
.gallery {
  display: grid;
  grid-template-columns: repeat(var(--columns), 1fr);
  gap: var(--space-s) 1.5rem;
}
.gallery_item {
  width: 100%;
  height: 100%;
  display: flex;
  flex-direction: column;
  background-color: #FFF;
}
.gallery_item .img img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  aspect-ratio: 3 / 2;
}
.gallery_item .txt {
  flex-grow: 1;
  display: flex;
  flex-direction: column;
  padding: var(--box-space);
}
.gallery_item .txt_ttl {
  flex-grow: 1;
  font-weight: bold;
  font-size: var(--fs-m);
  line-height: 1.6;
}
.gallery_item .txt_tag {
  font-size: var(--fs-2s);
  padding-top: 2rem;
}
