/**
 * File: main.css
 * Usage: トップページのスタイルを定義します。
*/

/* front^page(言語選択画面) */
.el_lead {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 12px;
  font-weight: bold;
  text-align: center;
}

.el_lead img {
  width: 16px;
}

.bl_switcher {
  max-width: 250px;
  margin: auto;
  margin-top: 40px;
  display: flex;
  flex-direction: column;
  justify-content: flex-start;
  align-items: flex-start;
  gap: 24px;
  font-weight: 500;
}

.bl_switcher a {
  display: flex;
  align-items: center;
  gap: 24px;
  width: 100%;
}
.bl_switcher img {
  width: 48px;
}

/* 大カテゴリページ */
.ly_cat {
  margin-top: 40px;
}

.bl_Lcat_itemWrap {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 15px;
  margin-top: 8px;
}

.bl_Lcat_item {
  position: relative;
  aspect-ratio: 3/2;
  display: flex;
  align-items: center;
  justify-content: center;
  border-radius: 4px;
  overflow: hidden;
}

.bl_Lcat_item::after {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background-color: rgba(0, 0, 0, 0.3);
  z-index: -1;
}

.bl_Lcat_item img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  position: absolute;
  top: 0;
  left: 0;
  z-index: -1;
}

.bl_Lcat_item p {
  text-align: center;
  color: white;
  font-weight: 500;
  padding: 8px;
}

/* 中カテゴリページ */
.bl_Lcat_wrapper .el_btn {
  margin-top: 0px;
}
.bl_Lcat_imgWrapper {
  position: relative;
  width: 100%;
  height: auto;
  object-fit: cover;
  z-index: 0;
  aspect-ratio: 3/2;
}

.bl_Lcat_imgWrapper img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  position: relative;
  z-index: 0;
}

.bl_Lcat_imgWrapper::after {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background-color: rgba(0, 0, 0, 0.3);
  z-index: 0;
}

.bl_Lcat_ttl {
  color: white;
  z-index: 1;
  position: absolute;
  bottom: 32px;
  line-height: 1.2;
}

/* 中カテゴリ*/
.category-child .bl_Lcat_imgWrapper {
  position: relative;
  width: 100%;
  height: auto;
  object-fit: cover;
  z-index: 0;
  aspect-ratio: auto;
}

.category-child .bl_Lcat_imgWrapper img {
  width: 100%;
  height: 100%;
}

.category-child .bl_Lcat_imgWrapper::after {
  content: none;
}

.category-child .bl_Lcat_ttl {
  color: black;
  z-index: 1;
  position: relative;
  text-align: center;
  line-height: 1.2;
  overflow: visible;
  margin-top: 60px;
}

.category-child .bl_Lcat_imgWrapper {
  position: relative;
  width: 100%;
  height: auto;
  object-fit: cover;
  z-index: 0;
  aspect-ratio: auto;
}

.category-child .bl_Lcat_imgWrapper img {
  width: 100%;
  height: 100%;
}

.category-child .bl_Lcat_imgWrapper::after {
  content: none;
}

.category-child .bl_Lcat_ttl {
  color: black;
  z-index: 1;
  position: relative;
  text-align: center;
  line-height: 1.2;
  overflow: visible;
  margin-top: 60px;
}

.bl_Mcat_list a {
  display: flex;
  align-items: center;
  gap: 12px;
  margin-top: 16px;
  border-radius: 4px;
  background-color: white;
  color: black;
  font-weight: 500;
}

.bl_Mcat_list_img {
  width: 100px;
  border-radius: 4px;
  aspect-ratio: 3/2;
  object-fit: cover;
}

.bl_Mcat_list_arrow {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 24px;
  margin-left: auto;
}

/* 中カテゴリ画面・店舗一覧 */
.bl_result_item {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-top: 16px;
  border-radius: 4px;
  background-color: white;
  color: black;
  font-weight: 500;
}

.el_notfound {
  text-align: center;
  font-weight: 500;
  margin-top: 20px;
}

.bl_result_item_link {
  display: flex;
  align-items: center;
  gap: 12px;
  width: 100%;
}

.bl_result_item img {
  width: 80px;
  min-width: 80px;
  border-radius: 4px;
  aspect-ratio: 3/2;
  object-fit: cover;
}

.bl_result_item_division {
  opacity: 0.5;
  font-size: 12px;
  font-weight: 400;
}

.bl_result_item_infoBtn {
  border: none;
  background: none;
  width: 24px;
  height: 24px;
  margin-left: auto;
}

.el_loading {
  text-align: center;;
}

/* itemシングル画面 */

/* サムメイルswiper */
.js_thumbSwiper {
  margin-top: 6px;
}
.bl_thumbSlide {
  width: 100% !important;
  margin-right: 0 !important;
  border-radius: 2px;
  overflow: hidden;
}

.bl_thumbSlide img {
  object-fit: cover;
  height: 100%;
}

.bl_thumbSlideWrapper {
  width: 100%;
  display: grid;
  grid-template-columns: 1fr 1fr 1fr 1fr;
  gap: 6px;
}

h1.bl_postTtl {
  font-size: 24px;
  line-height: 1.6;
  margin-block: 20px;
}

.bl_slideWrapper {
  aspect-ratio: 3/2;
}

.bl_itemSlide {
  display: flex;
  gap: 8px;
  overflow-x: auto;
  scroll-snap-type: x mandatory;
  scroll-behavior: smooth;
  border-radius: 4px;
}

.bl_itemSlide img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  scroll-snap-align: start;
}

.swiper-pagination-bullet,
.swiper-pagination-bullet-active {
  background-color: #fff !important;
}

.bl_postInfo_icon {
  width: 16px;
}

.bl_postInfo_inner {
  display: flex;
  align-items: center;
  gap: 12px;
  margin-top: 8px;
}

.bl_postInfo_txt {
  font-weight: 500;
}

.bl_postInfo_hours {
  padding-block: 16px;
  border-block: 1px solid #c5c5c5;
  margin-top: 24px;
}

.bl_postInfo_hours[open] summary img {
  transform: rotate(180deg);
}

.bl_postInfo_hours summary {
  display: flex;
  justify-content: space-between;
  align-items: center;
  font-weight: 500;
}

.bl_postInfo_hours_cont {
  padding: 16px;
}

.bl_postInfo_hours_cont_day {
  display: grid;
  grid-template-columns: 1fr 1fr;
  margin-top: 8px;
}

.bl_postInfo_hours.bl_postInfo_menu {
  margin-top: 0;
  border-top: 0;
}

.bl_postInfo_desc {
  margin-top: 24px;
}

.bl_postInfo_desc_ttl {
  font-weight: 500;
}

.bl_postInfo_desc_cont {
  margin-top: 16px;
}

.bl_scrollBtn {
  position: fixed;
  bottom: 0px;
  right: 0px;
  width: 100%;
  display: flex;
  align-items: center;
  justify-content: center;
  z-index: 100;
  padding: 13px;
  background: white;
  border-top: #e2e2e2 1px solid;
}

.bl_scrollBtn_item {
  background: #e73232;
  color: white;
  font-weight: 500;
  display: flex;
  align-items: center;
  justify-content: center;
  height: 48px;
  border-radius: 4px;
  width: 100%;
}

.bl_postInfo_img {
  margin-top: 24px;
}

iframe,
.grecaptcha-badge {
  opacity: 0 !important;
  visibility: hidden !important;
}

/* search.php */
.bl_result_ttl {
  margin-top: 32px;
  font-weight: 500;
}

.bl_result_ttl h1 {
  margin-top: 8px;
  padding-bottom: 16px;
  border-bottom: #c5c5c5 1px solid;
}

.location-search-btn {
  margin-top: 20px;
  background: #232323;
  color: #eaeaea;
  font-weight: 500;
  padding: 10px 8px;
  border-radius: 4px;
  border: #232323 1px solid;
  display: flex;
  align-items: center;
  gap: 6px;
  line-height: 1;
  height: 42px;
  width: 100%;
  justify-content: center;
}

.location-search-btn svg {
  width: 14px;
  height: 14px;
}

.ly_cont.ly_catChildCont {
  overflow: hidden;
}

.bl_googlemap {
  height: 200px;
}

@media screen and (min-width: 768px) {
  .bl_Lcat_itemWrap {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
  }
  .category-child .bl_Lcat_imgWrapper {
    position: relative;
    width: 100%;
    height: auto;
    object-fit: cover;
    z-index: 0;
    aspect-ratio: 766/250;
    margin-top: 20px;
    border-radius: 6px;
    overflow: hidden;
  }

  .category-child .bl_Lcat_imgWrapper img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    position: relative;
    z-index: 0;
  }

  .category-child .bl_Lcat_imgWrapper::after {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(0, 0, 0, 0.3);
    z-index: 0;
  }

  .category-child .bl_Lcat_ttl {
    color: white;
    z-index: 1;
    position: absolute;
    bottom: 32px;
    line-height: 1.2;
  }

  .bl_Lcat_wrapper {
    padding-inline: 48px;
  }

  .bl_Lcat_wrapper .el_btn {
    margin-top: 20px;
  }

  .bl_Lcat_imgWrapper {
    aspect-ratio: 766/250;
    margin-top: 20px;
    border-radius: 6px;
    overflow: hidden;
  }
  .ly_cont.bl_Mcat_listWrapper {
    display: flex;
    flex-wrap: wrap;
    gap: 16px;
    padding-inline: 0;
    margin-top: 24px;
  }

  .bl_Mcat_listWrapper li {
    width: calc(50% - 8px);
  }

  .bl_Mcat_list a {
    margin-top: 0px;
  }

  .ly_cont.ly_catChildCont {
    padding-inline: 0px;
  }

  .ly_cont.location-results {
    padding-inline: 0px;
  }

  .bl_result_item img {
    width: 180px;
  }

  .bl_result_item_link {
    gap: 24px;
  }

  .bl_result_item_ttl {
    font-size: 24px;
    line-height: 160%;
  }

  .bl_googlemap {
    height: 300px;
  }
}

@media screen and (min-width: 1760px) {
  .bl_scrollBtn {
    right: auto;
    left: 50%;
    transform: translateX(-50%);
  }
}
