@charset "utf-8";

.section-shopguide {
  padding-bottom: 160px;
}
.page-title {
  margin-block: 70px 80px;
}
.tab-list {
  display: flex;
  justify-content: center;
  gap: 20px;
  padding-inline: 30px;
  border-bottom: 1px solid var(--border-color2);
}
.tab-list li {
  width: 250px;
  height: 56px;
  line-height: 1.2;
  border-radius: 10px 10px 0 0;
  background-color: var(--border-color);
}
.tab-list li a {
  display: flex;
  position: relative;
  align-items: center;
  justify-content: center;
  gap: 10px;
  width: 100%;
  height: 100%;
  font-size: 1.6rem;
  transition: border 0.3s ease-in-out, background-color 0.3s ease-in-out,font-weight 0.3s ease-in-out,font-size 0.3s ease-in-out;
}
.tab-list li #tab2 img {
  width: 16px;
}
.tab-list li #tab3 img {
  width: 24px;
}
@media (any-hover: hover) {
  .tab-list li a:hover {
    border: 1px solid var(--border-color2);
    border-bottom: none;
    border-radius: 10px 10px 0 0;
    background-color: #fff;
    opacity: 1;
  }
}
.tab-list li a:active {
  border-color: var(--border-color);
}

.tab-list li .active {
  color: var(--accent-color);
  font-size: 1.8rem;
  font-weight: bold;
  border: 1px solid var(--border-color2);
  border-bottom: none;
  border-radius: 10px 10px 0 0;
  background-color: #fff;
  pointer-events: none;
}
.tab-list li .active::before {
  content: "";
  position: absolute;
  bottom: -2px;
  left: 0;
  z-index: 10;
  width: 100%;
  height: 4px;
  border-radius: 10px 10px 0 0;
  background-color: #fff;
}
.tab-list li:nth-child(2) .desvg {
  width: 16px;
}
.tab-list li:nth-child(3) .desvg {
  width: 24px;
}
.tab-list li .active .desvg path {
  fill: var(--accent-color);
}

.search-type {
  padding-bottom: 30px;
  font-size: 1.8rem;
  text-align: center;
}
.search-type:first-of-type {
  padding-top: 80px;
}
.sub-category-list + .search-type {
  padding-top: 20px;
}
form [class*="-list"]:not(.sub-category-list, .genre-list),
.floor-search .area-list,
.floor-search .floor-list {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  width: 810px;
  max-width: calc(100% - 60px);
  margin-inline: auto;
}
.category-list {
  gap: 20px;
  margin-bottom: 25px;
}
.place-list {
  gap: 20px;
  margin-bottom: 45px;
}
.gojuon-list,
.floor-list {
  gap: 14px;
  margin-bottom: 80px;
}
.purpose-list {
  gap: 20px;
  margin-bottom: 45px;
}
.floor-search .area-list {
  width: 980px;
  gap: 20px;
  margin-bottom: 70px;
}
@media (max-width: 1040px) {
  .floor-search .area-list {
    width: 500px;
  }
}

/* ----------------------------------------------------
   リスト項目の共通スタイル（labelとaの両方に対応）
   ---------------------------------------------------- */
[class*="-list"]:not(.sub-category-list, .genre-list) > label,
[class*="-list"]:not(.sub-category-list, .genre-list) > a,
.category-list label.category-link,
.category-list a.category-link,
.floor-search .area-list a,
.floor-search .area-list label {
  display: flex;
  align-items: center;
  justify-content: center;
  position: relative;
  height: 68px;
  font-size: 1.6rem;
  border: 1px solid var(--border-color2);
  border-radius: 10px;
  overflow: hidden;
  cursor: pointer;
  text-decoration: none;
  color: inherit;
  background: #fff;
  transition: all 0.2s ease;
}

/* ----------------------------------------------------
   各リストの個別スタイル（labelとaを併記）
   ---------------------------------------------------- */
.floor-list label,
.floor-list a,
.floor-search .area-list a,
.floor-search .area-list label {
  display: flex;
  align-items: center;
  justify-content: center;
  height: 68px;
  font-size: 1.6rem;
  border: 1px solid var(--border-color2);
  border-radius: 10px;
  text-decoration: none;
  color: inherit;
  cursor: pointer;
}

.category-list label,
.category-list a {
  justify-content: flex-start;
  gap: 10px;
  width: 230px;
}

.place-list label.place-link,
.place-list a.place-link {
  justify-content: center;
  width: 120px;
  height: 60px;
}

.gojuon-list label.gojuon-link,
.gojuon-list a.gojuon-link,
.floor-list label,
.floor-list a {
  justify-content: center;
  width: 68px;
}

.purpose-list label.purpose-link,
.purpose-list a.purpose-link {
  justify-content: center;
  width: 200px;
  height: 60px;
}

.floor-search .area-list a,
.floor-search .area-list label {
  justify-content: center;
  width: 230px;
}

/* ----------------------------------------------------
   input要素（チェックボックス/ラジオ）を非表示にする
   ---------------------------------------------------- */
[class*="-list"]:not(.sub-category-list, .genre-list) > label input {
  position: absolute;
  opacity: 0;
  width: 0;
  height: 0;
  pointer-events: none;
}

/* ----------------------------------------------------
   選択状態のデザイン
   (.activeクラス または input:checked の両方に対応)
   ---------------------------------------------------- */
/* labelのchecked時、labelのactive時、aのactive時すべてに対応 */
[class*="-list"]:not(.sub-category-list, .genre-list) > label:has(input:checked),
[class*="-list"]:not(.sub-category-list, .genre-list) > label.active,
[class*="-list"]:not(.sub-category-list, .genre-list) > a.active {
  color: #fff;
  font-weight: bold;
  border: 1px solid var(--accent-color);
  background-color: var(--accent-color);
}

/* SVGアイコンの色変更（選択時） */
.category-list label:has(input:checked) .change,
.category-list label.active .change,
.category-list a.active .change {
  fill: var(--accent-color);
}
.category-list label:has(input:checked) .change-w,
.category-list label.active .change-w,
.category-list a.active .change-w {
  fill: #fff;

}
/* アイコンパス自体の色変更（desvg用） */
.category-list label:has(input:checked) .desvg path,
.category-list label.active .desvg path,
.category-list a.active .desvg path {
  /*fill: none;*/
  stroke: #fff;
  stroke-width: 0.1px;
  stroke-linejoin: round;
  stroke-linecap: round;
}


form .sub-category-list {
  display: none;
  width: 730px;
  max-width: calc(100% - 60px);
  margin: 30px auto 25px;
  padding: 30px;
  font-size: 1.6rem;
  background: var(--bg-menu);
}
.sub-category-list.active {
  display: block;
}
.genre-list {
  display: flex;
  flex-wrap: wrap;
  justify-content: flex-start;
  gap: 30px;
  width: 730px;
  max-width: calc(100% - 60px);
  margin: 0 auto 45px;
  padding: 30px;
  font-size: 1.6rem;
  background: var(--bg-menu);
}
.sub-category-list > div {
  display: none;
  flex-wrap: wrap;
  justify-content: flex-start;
  align-items: center;
  gap: 30px;
}
.sub-category-list > div.active {
  display: flex;
}
.sub-category-list label,
.genre-list label,
.genre-list a.genre-link {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  line-height: 1;
  cursor: pointer;
  text-decoration: none;
  color: inherit;
}
.sub-category-list label input,
.genre-list label input {
  appearance: none;
  position: relative;
  width: 20px;
  height: 20px;
  border: 1px solid var(--bg-calendar);
  border-radius: 5px;
  background-color: #fff;
  cursor: pointer;
}
.sub-category-list label input:checked::after,
.genre-list label input:checked::after {
  content: "";
  position: absolute;
  top: 4px;
  left: 3px;
  width: 11px;
  height: 5px;
  border-bottom: 2px solid var(--text-color);
  border-left: 2px solid var(--text-color);
  transform: rotate(-45deg);
}
.search-result {
  margin-bottom: 30px;
  font-size: 1.8rem;
  font-weight: 500;
  text-align: center;
}
.search-result span {
  font-size: 2.8rem;
  font-weight: bold;
}

.map-title {
  margin-bottom: 40px;
  font-size: 2.2rem;
  font-weight: bold;
  text-align: center;
}
.map-note {
  width: 800px;
  max-width: calc(100% - 60px);
  margin: 0 auto 20px;
  font-size: 1.6rem;
}
.map-image {
  max-width: calc(100% - 60px);
  margin: 0 auto 50px;
  text-align: center;
}
.area-map .map-image {
  margin-bottom: 100px;
}


.shop-list {
  max-width: 1140px;
  margin: 0 auto;
  padding: 0 20px;
  display: grid;
  justify-content: center;
  grid-template-columns: repeat(auto-fill, 254px);
  gap: 50px 28px;
}
.shop-list .list-image {
  position: relative;
  display: flex;
  align-items: center;
  justify-content: center;
  width: 100%;
  max-width: 274px;
  aspect-ratio: 1 / 1;
  margin-bottom: 10px;
  overflow: hidden;
}
.shop-list .list-image.logo {
	border: 1px solid #f5f5f5;
}
.shop-list.logo .list-image {
  border: 1px solid var(--border-color3);
}
.shop-list.logo .list-image img {
  position: relative;
  z-index: 5;
  object-fit: contain;
}
.shop-list .list-image img:nth-child(2) {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  z-index: -1;
  object-fit: cover;
  filter: blur(20px);
}
.shop-list .s-open {
  position: relative;
  display: inline-block;
  margin-bottom: 10px;
  padding: 2px 14px 2px 6px;
  color: #fff;
  font-size: 1.4rem;
  font-weight: bold;
  line-height: 1.5;
  background: var(--accent-color);
}
.shop-list .s-open::after {
  content: "";
  position: absolute;
  width: 0;
  height: 0;
}
.shop-list .s-open::after {
  top: 0;
  right: 0;
  border-width: 13px 6px 13px 0;
  border-style: solid;
  border-color: transparent #fff transparent transparent;
}

.shop-list .s-category {
  margin-bottom: 10px;
  font-size: 1.4rem;
}
.shop-list .s-name {
  margin-bottom: 10px;
  font-size: 1.8rem;
  font-weight: bold;
}
.shop-list .s-floor {
  font-size: 1.4rem;
  color: var(--accent-color);
}


@media (max-width: 950px) {
  form .gojuon-list:not(.ex),
  form .floor-list:not(.ex) {
    max-width: 430px;
  }
}

@media (max-width: 767.999px) {
  .section-shopguide {
    padding-bottom: 90px;
  }
  .page-title {
    margin-block: 35px 30px;
  }
  .search-type {
    padding-bottom: 20px;
    font-size: 1.4rem;
  }
  .search-type:first-of-type {
    padding-top: 40px;
  }
  form .category-list:not(.ex) {
    gap: 10px;
    width: 500px;
    max-width: 100%;
    margin-bottom: 20px;
    padding-inline: 15px;
  }
  /* labelとaの両対応 */
  .category-list label,
  .category-list a.category-link {
    max-width: calc(50% - 5px);
    font-size: 1.2rem;
  }
  .category-list label span,
  .category-list a.category-link span {
    display: inline-block;
  }
  form .sub-category-list {
    width: 470px;
    max-width: calc(100% - 30px);
    margin-block: 20px;
    padding: 15px;
    font-size: 1.4rem;
  }
  .sub-category-list > div {
    gap: 14px 30px;
  }
  .sub-category-list label,
  .genre-list label,
  .genre-list a.genre-link {
    gap: 4px;
    font-size: 1.4rem;
  }
  .sub-category-list label input,
  .genre-list label input {
    width: 14px;
    height: 14px;
  }
  .sub-category-list label input:checked::after,
  .genre-list label input:checked::after {
    top: 3px;
    left: 2px;
    width: 6px;
    height: 3px;
  }
  .genre-list {
    width: 400px;
  }
  form .genre-list:not(.ex),
  form .place-list:not(.ex),
  form .purpose-list:not(.ex) {
    max-width: calc(100% - 30px);
    margin-bottom: 40px;
  }
  form .gojuon-list:not(.ex),
  form .floor-list:not(.ex) {
    gap: 10px;
    max-width: 340px;
    margin-bottom: 40px;
  }
  form .floor-list:not(.ex) {
    width: 280px;
  }
  /* labelとaの両対応 */
  .gojuon-list:not(.ex) label,
  .gojuon-list:not(.ex) a.gojuon-link,
  .floor-list:not(.ex) label,
  .floor-list a {
    width: 50px;
    height: 50px;
  }
  .purpose-list label,
  .purpose-list a.purpose-link {
    width: 120px;
  }
  .floor-search .area-list {
    margin-bottom: 30px;
  }
  .floor-search .area-list a,
  .floor-search .area-list label {
    width: 160px;
    max-width: calc(50% - 5px);
    height: 45px;
    font-size: 1.4rem;
  }
  [class*="-list"]:not(.sub-category-list, .genre-list) > label {
    font-size: 1.4rem;
  }
  .map-title {
    margin-bottom: 15px;
    font-size: 1.7rem;
  }
  .map-note {
    margin-bottom: 20px;
    font-size: 1.2rem;
  }
  .map-image {
    max-width: inherit;
    margin-bottom: 30px;
  }
  .tab-list {
    gap: 9px;
    padding-inline: 15px;
  }
  .tab-list li {
    height: 40px;
  }
  .tab-list li a {
    padding-inline: 10px;
    font-size: 1.2rem;
  }
  .tab-list li .active {
    font-size: 1.3rem;
  }
  .search-result {
    margin-bottom: 20px;
    font-size: 1.4rem;
  }
  .search-result span {
    font-size: 2.2rem;
  }
  .shop-list {
    grid-template-columns: repeat(auto-fill, calc(50% - 10px));
    gap: 30px 20px;
    max-width: 450px;
    padding: 0 15px;
  }
  .shop-list:has(+ .btn-box) {
    padding-bottom: 40px;
  }
    .shop-list li {
    width: 274px;
    max-width: 100%;
    margin: 0;
  }
  .shop-list .list-image {
    width: 100%;
    max-width: 274px;
    margin-bottom: 10px;
  }
  .shop-list .new-shop {
    inset: -12px auto auto -12px;
    width: 65px;
  }
  .shop-list .list-text {
    font-size: 1.4rem;
  }
  .shop-list .s-open {
    margin-bottom: 10px;
    font-size: 1rem;
    line-height: 1.2;
  }
  .shop-list .s-open span {
    display: block;
  }
  .shop-list .s-open::after {
    border-width: 15px 6px 15px 0;
  }
  .shop-list .s-category {
    margin-bottom: 10px;
    font-size: 1.1rem;
    line-height: 1.4;
  }
  .shop-list .s-name {
    margin-bottom: 10px;
    font-size: 1.4rem;
    line-height: 1.4;
  }
  .shop-list .s-floor {
    font-size: 1rem;
  }
  .shop-list .calendar-date {
    padding-top: 3px;
    font-size: 1.1rem;
  }
}


@media (max-width: 560px) {
  .category-list {
    padding: 0;
  }
  /* labelとaの両対応 */
  .category-list:not(.ex) label,
  .category-list:not(.ex) a.category-link {
    height: 46px;
  }
  .tab-list li a span {
    width: 4.5em;
  }
  .tab-list li:nth-child(1) .desvg {
    width: 26px;
  }
  .tab-list li:nth-child(2) .desvg {
    width: 12px;
  }
  .tab-list li:nth-child(3) .desvg {
    width: 18px;
  }
  .category-list label:nth-child(1) img,
  .category-list label:nth-child(1) svg,
  .category-list a.category-link:nth-child(1) img,
  .category-list a.category-link:nth-child(1) svg {
    width: 31px;
  }
  .category-list label:nth-child(2) img,
  .category-list label:nth-child(2) svg,
  .category-list a.category-link:nth-child(2) img,
  .category-list a.category-link:nth-child(2) svg {
    width: 30px;
  }
  .category-list label:nth-child(3) img,
  .category-list label:nth-child(3) svg,
  .category-list a.category-link:nth-child(3) img,
  .category-list a.category-link:nth-child(3) svg {
    width: 21px;
  }
  .category-list label:nth-child(4) img,
  .category-list label:nth-child(4) svg,
  .category-list a.category-link:nth-child(4) img,
  .category-list a.category-link:nth-child(4) svg {
    width: 18px;
  }
  .category-list label:nth-child(5) img,
  .category-list label:nth-child(5) svg,
  .category-list a.category-link:nth-child(5) img,
  .category-list a.category-link:nth-child(5) svg {
    width: 22px;
  }
  .category-list label:nth-child(6) img,
  .category-list label:nth-child(6) svg,
  .category-list a.category-link:nth-child(6) img,
  .category-list a.category-link:nth-child(6) svg {
    width: 27px;
  }
  .place-list,
  .purpose-list {
    gap: 10px;
  }
  /* labelとaの両対応 */
  .place-list:not(.ex) label,
  .place-list:not(.ex) a.place-link,
  .purpose-list:not(.ex) label,
  .purpose-list:not(.ex) a.purpose-link {
    width: 90px;
    max-width: calc(33% - 6px);
    height: 46px;
  }
  .floor-search .area-list {
    width: 490px;
    gap: 10px;
  }
}


@media (max-width: 470px) {
  .tab-list li a span span {
    white-space: nowrap;
  }
  form .gojuon-list:not(.ex), form .floor-list{
    gap: 10px;
    max-width: min(100%, 340px);
  }
}

/* 検索ボタンエリア */
.search-btn-area {
  display: flex;
  justify-content: center;
  margin-top: 40px;    
  margin-bottom: 60px; 
}

.search-btn {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 230px;        
  height: 60px;       
  font-size: 1.8rem;   
  font-weight: bold;
  color: #fff;        
  background-color: var(--accent-color); 
  border-radius: 10px; 
  text-decoration: none;
  transition: opacity 0.3s;
  border: none;
  cursor: pointer;
}

.search-btn:hover {
  opacity: 0.8;
}

@media (max-width: 767.999px) {
  .search-btn-area {
    margin-top: 20px;
    margin-bottom: 40px;
  }
  .search-btn {
    width: 200px;
    height: 50px;
    font-size: 1.6rem;
  }
}

/* --------------------------------------------------
   検索結果0件時のテキストを中央寄せにする
   -------------------------------------------------- */
#shop-list-container1,
#shop-list-container2 {
  text-align: center;
  min-height: 100px;
}

#shop-list-container1 .shop-list,
#shop-list-container2 .shop-list {
  text-align: left; 
  margin-inline: auto; 
}