@media screen and (max-width: 768px) {
  .l-header {
    position: relative;
    box-shadow: 0px 0px 14px #00000014;
  }
}

main {
  /*  background: #FFF; */
   padding-top: 30px;
   padding-bottom: 0;
   border-bottom: solid 1px #E9E9E9;
 }
 @media screen and (max-width: 767px) {
  main {
    padding-top: 0;
  }
}
 
 .mypage-content {
   max-width: calc(100% - 200px - 46px);
 }
 @media screen and (max-width: 768px) {
   .mypage-content {
     max-width: calc(100% - 20px);
   } 
 }
 

/* PC用 サイドメニュー 検索窓 */
form.form-search {
  position: relative;
  display: flex !important;
}
.bg {
  background-color: #333333;
  width: 40px;
  height: 100%;
  position: absolute;
  right: -7px;
  border-radius: 0 8px 8px 0;
}
.form-control {
  border-color: #CCCCCC;
  border-radius: 8px;
  height: 40px;
  font-size: 15px;
  padding-top: 0;
  padding-bottom: 0;
}
form.form-search .search {
  box-sizing: border-box;
  color: #333;
  padding: 0 45px 0 10px !important;
  width: 100%;
}
form.form-search .search::placeholder {
  color: #BCBCBC;
  /*padding-left: 10px;*/
}
form.form-search .submit {
  box-sizing: border-box;
  position: absolute;
  right: 0;
  top: 0;
  color: #FFFFFF !important; 
  padding: 0;
  width: 40px;
  height: 40px;
  font-size: 22px;
  background-color: #333 !important;
  border: none;
  border-radius: 0 8px 8px 0;
}
form.form-search .submit i {
  font-weight: 700;
}

/* PC用 サイドメニュー */
main li {
  border-bottom: 1px solid #E9E9E9;
  padding: 20px 10px;
}
.list-unstyled li:hover {
  background-color: #F4F4F4;
}
.list-unstyled li.side-nav_header:hover {
  background-color: transparent;
}
.mypage-side-bar {
  max-width: 268px;
  padding-right: 20px;
}
.mypage-side-menu >ul >li {
  margin-top: 0;
  font-size: 16px;
}
.side-menu_header {
  padding-top: 20px;
  padding-left: 0;
}
.mypage-side-menu ul li a {
  font-weight: normal;
}
.mypage-side-menu i.fa-angle-right {
  color: #8A8A8A;
  font-family: "Font Awesome 5 Free";
  font-style: normal;
  font-weight: 600;
  float: right;
  padding-right: 10px;
}

/* パンくず */
.breadcrumb-wrapper {
  background-color: #FFF !important;
  border-top: none;
}
@media screen and (max-width: 767px){
  .breadcrumb {
    margin-bottom: 0;
  }
}
h1.title {
  font-size: 28px;
  font-weight: bold;
  color: #333;
  letter-spacing: 1.96px;  
  margin-bottom: 30px;
}
h1.title span:not(:first-child) {
  margin-right: 10px;
}
h1.title span.addText {
  font-size: 16px;
  font-weight: 500;
  letter-spacing: 1.12px;  
  padding-left: 5px;
  margin-left: 0;
}

.search-results-wrapper {
  background: #F4F4F4;
  color: #333;
  font-size: 24px;
  font-weight: bold;
  text-align: left; 
  justify-content: flex-start;
  align-items: center;  
  width: 100%;
  min-height: 60px;
  margin: 0 auto 60px;  
  border-radius: 18px;
}

.search-results-wrapper .search-hit-total {
  flex-shrink: 0;
  display: flex;
  align-items: center;
}
.search-results-wrapper .search-hit-total .search-left {
  flex-shrink: 0;
  display: inline-block;
  letter-spacing: 1.68px;
  margin-left: 25px;
  width: auto;
  max-width: 150px;
}

.search-results-wrapper .search-hit-total .search-right {
  flex-grow: 0;
  display: inline-block;
  transform: translateY(2px);  
  font-size: 16px;
  font-weight: normal;
  letter-spacing: 1.12px;
}

.search-results-wrapper .search-keywords {
  display: flex;
  flex-wrap: wrap;
  justify-content: flex-start;
  padding: 5px 20px 10px;
}
.search-results-wrapper .search-keywords .tag,
.search-tag-wrapper .tag {
  flex-shrink: 0;
  background: #8A8A8A;
  color: #FFF;
  font-size: 12px;
  margin: 5px 5px 0 0;
  padding: 5px 10px;
  margin-right: 5px;
}

.search-results-wrapper .search-keywords .tag-close,
.search-tag-wrapper .tag .tag-close {
  font-size: 6px;
  font-weight: normal;  
  padding-left: 5px;
  vertical-align: top;

  cursor: pointer;
}

@media screen and (max-width: 767px){
  .search-results-wrapper {
    background: none;
    font-size: 18px;
    height: auto;
    padding-left: 10px;
    margin-top: 25px;
    margin-bottom: 20px;
    align-items: flex-end;
  }
  .search-results-wrapper .search-hit-total {

  }
  .search-results-wrapper .search-hit-total .search-left {
    margin-left: 0;
  }
  .search-results-wrapper .search-hit-total .search-right {
    transform: translateY(-2px);
    font-size: 12px;
    margin-right: 5px;
  }
  
  .search-results-wrapper .number {
    margin-left: 10px;
  }
}



/* SP用 サイドメニュー 検索窓 */
@media screen and (max-width: 767px){
  .side-menu {
    padding-left: 0;
    padding-right: 0;
  }
  .side-menu_search {
    padding-top: 15px;
    background: #F4F4F4; 
  }
  .bg {
    margin-right: 15px;
    height: 40px;
  }
  .side-menu_search .search {
    background-color: #ffffff;
  }
  .search::placeholder {
    color: #333333;
  }
  .side-menu_search form.form-search {
    margin: 0 15px 15px;
    padding: 0;
  }
  .side-menu_search form.form-search .submit.button-search {
    background-color: transparent;
    right: 0px;
  }
  .search-tag-wrapper {
    margin-right: 0;
    margin-left: 0;

    padding: 0 15px 0;

    overflow-x: auto;
  }
}

/* @media screen and (max-width: 768px){
  .search-tag-wrapper {
    background: #F4F4F4;    
    padding-top: 15px;
    padding-bottom: 15px;
  }
} */

/*sp版ショップカテゴリーを選択のボタン*/
@media screen and (max-width: 767px){
  .button {
    background: #505050;
    border-radius: 12px;  
    width: 100%;
    height: 50px;
    margin-bottom: 30px;    
    justify-content: center;
    align-items: center;
  }
  
  .button .btn {
    color: #FFF;
    font-weight: bold;
    letter-spacing: 0.7px;    
    padding: 0;
    font-size: 14px;
  }
}

/*sp版 ショップカテゴリー 一覧*/
@media screen and (max-width: 767px) {
  main li {
    border-bottom: none;
  }
  main .offcanvas .navbar {
    position: fixed;
    width: 100%;
    max-width: 400px;
    box-shadow: 0px 0px 14px #00000014;
    height: 81px;
  }
  .list-group {
    margin-top: 82px;
    overflow-y: scroll;
    height: 100%;
  }
  .list-header {
    padding: 30px;
  }
  .list-header h5, .list-header span {
    font-size: 18px;
    font-weight: bold;
  }
  .list-header h5 {
    margin: 0 auto;
  }
  .list-group-item {
    padding: 2.5rem;
    font-weight: 500;
  }
  .list-group-item span {
    font-size: 16px;
  }
}

/* SP版(トグル) 検索ページ固有 サイドメニュー ヘッダー */
@media screen and (max-width: 767px){
  .sp-side-menu.show {
    padding-bottom: 136px;
  }
  .navbar {
    padding: 0;
  }
  .navbar .header-middle {
    padding: 1.6rem 1.2rem 1rem;
  }
  .navbar .header-middle-menu button {
    padding: 0;
    background: transparent;
    border: none;
  }
  .navbar .keywordArea {
    visibility: hidden;
    opacity: 0;
    width: 0;
    position: absolute;
    top: 0.8rem;
    right: 7.5rem;
    background-color: #fff;
    border-radius: 2.4rem;
    -webkit-box-shadow: 0 0 1.2rem rgb(0 0 0 / 15%);
    box-shadow: 0 0 1.2rem rgb(0 0 0 / 15%);
  }
  .navbar .logo {
    width: 12rem;
  }
  .navbar .logo .logo-anchor img {
    width: 100%;
      max-width: 118px;
      height: auto;
  }
  .navbar .user-name {
    font-size: 10px;
  }
}
/* ここまで */

.contact-tab-group {
  display: flex;
  justify-content: flex-start;
  align-items: flex-end; 
  margin: 0px 0px 25px;
  padding: 0 0 0;
  border-bottom: solid 1px #E9E9E9;
  /*overflow-x: auto;*/
  white-space: nowrap;
}

/*タブとセレクトボックスの箇所、幅はみ出すのでブレイクポイント955pxにしました。
他同じようにはみ出すところも同じブレイクポイントの記述にしました*/
@media screen and (max-width: 955px){
  .contact-tab-group {
    flex-direction: column;
    border-bottom: none;
    margin: 0px 0px 30px;
  }
}

.tab-wrapper {
  display: flex;
  justify-content: flex-start;
  align-items: flex-end;
  width: 100%;
}

.tab {
  height: 100%;
  margin: 0 2.5px 0 0;
  background: #E9E9E9;
  border : solid 1px #E9E9E9;
  border-bottom: none;
  border-radius: 12px 12px 0 0;    
  cursor: pointer;
  white-space: nowrap;
  display: flex;
  flex-direction: row;
  align-items: flex-end;
}

.tab a {
  color: #333;
  text-decoration: none;  
  padding: 10px 25px;
  font-family: "Noto Sans JP";
}

.is-active {
  margin-bottom: -2px;
  height: 100%;
  background: #FFF;
  border-bottom : solid 2px #fff;
  color: #333;
  font-weight: bold;
}

.is-active a {
   padding: 15px 30px;
}

@media screen and (max-width: 767px){
  .tab-wrapper {
    display: flex;
    justify-content: flex-start;
    align-items: flex-end;
    width: 100%;   
    border-bottom: solid 1px #E9E9E9;
  }
}

.search-wrapper {
  display: flex;
  justify-content: flex-end;
  align-items: center;
  width: 100%;  
  margin-bottom: 10px;
}

@media screen and (max-width: 955px){
  .tab-wrapper {
    border-bottom: solid 1px #E9E9E9;
  }
  .search-wrapper  {
    margin-top: 15px;
    margin-bottom: 0;
  }
}

.cp_ipselect {
  /*padding-bottom: 10px;*/
  margin-left: 15px;  
  position: relative;
}

@media screen and (max-width: 955px){
  .cp_ipselect   {
    padding-bottom: 0;
    margin-left: 30px;
  }
}

.cp_ipselect::before {
  content: "|";
  position: absolute;
  pointer-events: none;
  color: #CCCCCC;
  font-size: 15px;
  top: 9px;
  right: 20px;
}
.cp_ipselect::after {
  content: "▼";
  position: absolute;
  pointer-events: none;
  color: #333;
  font-size: 10px;
  transform: scale(0.5);
  top: 13px;
  right: 5px;  
  padding-left: 10px;
  /* border-left: solid 1px #CCCCCC; */
}

.cp_ipselect select {
  width: 140px;
  padding: 10px;
  border: solid 1px #CCCCCC;
  border-radius: 4px; 
  -webkit-appearance: none;
  appearance: none;
}

.cp_ipselect select::-ms-expand {
  display: none;
}

/*1〜52件(3,628件)のところ*/
.number {
  letter-spacing: 0.98px;
  color: #333;
  
  margin-bottom: 40px;
}

@media screen and (max-width: 767px){
  .number {
    font-size: 10px;
    font-weight: normal;
    letter-spacing: 0.7px;
    transform: translateY(-2px);
    
    margin-bottom: 0;
  }
}
/*1〜52件(3,628件)のところここまで*/

/*検索結果一覧ここから*/
.gallery-item-body {
  justify-content: flex-start;
  align-items: flex-start;
}

.gallery-item {
  /*max-width: 230px;
  width: 100%;
  margin-right: 30px;*/
  margin-bottom: 50px;
}

@media screen and (max-width: 767px){
  .gallery-item {
    /*max-width: 170px;*/
    /*margin: 0 10px 30px 0;*/
    margin-bottom: 30px;
  }
}

.innerbox-c {
  width: 100%;
  border-radius: 24px;
  object-fit: cover;
  aspect-ratio: 1 / 1;
}

.item-tag-wrapper {
  justify-content: flex-start;
  flex-wrap: wrap;  
  margin-top: 10px;
  margin-bottom: 10px;
  gap: 5px;
}

.item-tag {
  display: flex;
  justify-content: center;
  align-items: center;
  color: #FFF;
  font-size: 12px;
  font-weight: 300; 
  height: 100%;
  border-radius: 24px;
  padding: 5px 0;
}

.item-tag:nth-of-type(3n-1):nth-last-of-type(1){
  margin-right: auto;
  margin-left: 5px;
}

/*.item-tag:nth-of-type(3n-1):nth-last-of-type(1)のmargin-left:5pxが3段になった時にきいて、
レイアウト崩れるのでブレイクポイント1400pxにしました*/
@media screen and (max-width: 1400px){
  .item-tag:nth-of-type(3n-1):nth-last-of-type(1){
    margin-left: 0;
  } 
}

.item-tag-feature-01 {
  display: inline-flex;
  padding: 3px 8px;
  background: #a018c2;
  width: unset;
  font-family: var(--font-family-sans-serif);
}

.item-tag-store {
  background: #85CDD9;
  width: 48px;
}

.item-tag-gourmet {
  background: #F0AD4D;
  width: 60px;
}

.item-tag-beauty {
  background: #ED7EA0;
  width: 94px;
}

.item-tag-web-tickets {
  background: #88C67B;
  width: 106px;
}

.item-tag-farm {
  background: #BD987A;
  width: 70px;
}

.text-left p {
  margin-top: 5px;
  margin-bottom: 10px;
}

.text-left a {
  color: #333;
  font-size: 16px;
  text-decoration: none;
  line-height: 24px;
}

.text-clamp {
  display: -webkit-box;
  -webkit-box-orient: vertical;
  -webkit-line-clamp: 4;
  overflow: hidden;
}

@media screen and (max-width: 767px){
  .text-left a {
    font-size: 14px;
    line-height: 18px;
  }
}

.shop-category {
  font-size: 12px;
  letter-spacing: 0.6px;
  color: #979DA3;
}

.shop-category a {
  font-size: 12px;
  letter-spacing: 0.6px;
  color: #979DA3;
  text-decoration: none;
}


/* pager */
@media screen and (max-width:768px) {
  main .pager-wrapper {
    margin-top: 0;
    margin-bottom: 0;
  } 
  main .pager-wrapper nav ul {
    margin-bottom: 50px;
  }
}

/* 修正箇所 */
body {
  overflow: auto !important;
}

@media screen and (min-width: 768px) {
  .modal-backdrop {
    display: none;
  }
}
