@charset "utf-8";

html,
body,
main {
  height: 100%;
  background: #111;
}

h1 {
  color: #eee;
}

input,
textarea,
select {
  -webkit-appearance: none;
}

a {
  color: #fff;
}

.main {
  position: fixed;
  top: 70px;
  width: calc(100% + 260px);
  height: calc(100% - 140px);
}

.main > section {
  height: 100%;
}

.content_area {
  position: relative;
  left: -400px;
  display: -webkit-box;
  display: -ms-flexbox;
  display: flex;
  height: 100%;
  -webkit-transition: all 0.5s ease 0s;
  transition: all 0.5s ease 0s;
}

.salonlist_area {
  margin-top: 40px;
  position: relative;
  left: 0;
  overflow-y: scroll;
  width: calc(100% - 400px);
  height: 100%;
  -webkit-transition: all 0.5s ease 0s;
  transition: all 0.5s ease 0s;
  background: url(../images/glynico_bg.png) top 20px center no-repeat;
  background-size: 800px;
}

.salonlist_area h2 {
  width: 300px;
  margin: 140px auto 0;
  padding: 10px 0;
  color: #fff;
  background: #d20000;
  /* background: #777; */
}

.salonlist_area h2 span {
  font-size: 0.9em;
}

#salonlist {
  line-height: 1.3;
  position: relative;
  width: 100%;
  max-width: 1300px;
  margin: 0 auto 20px;
  text-align: left;
}

.salon {
  display: inline-block;
  /*border: solid 1px #ddd;*/
  -webkit-box-sizing: border-box;
  box-sizing: border-box;
  width: 48%;
  margin: 20px 1% 0;
  text-align: left;
  vertical-align: top;
  word-wrap: break-word;
  background: rgba(50, 50, 50, 0.95);
  -webkit-box-shadow: 3px 3px 0 #efefef;
  box-shadow: 3px 3px 0 #efefef;
  color: #efefef;
}

.salon dl {
  padding: 8%;
}

.salon li {
  margin-top: 4px;
  word-break: break-all;
}

.salonName {
  font-weight: bold;
  /* text-decoration: underline; */
  border-bottom: 1px solid #efefef;
}

.homepage a {
  font-size: inherit;
  display: inline-block;
  color: #52c2ff;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  text-rendering: auto;
}

.homepage a::after {
  font: normal normal normal 14px/1 FontAwesome;
  font-size: 14px;
  font-weight: 900;
  margin-left: 10px;
  content: "\f08e";
  color: #52c2ff;
}

.filter_area {
  position: relative;
  left: 400px;
  display: -webkit-box;
  display: -ms-flexbox;
  display: flex;
  width: auto;
  height: 100%;
}

.tooltip_area {
  font-size: 16px;
  position: absolute;
  top: -1px;
  left: 100%;
  padding: 20px 5px;
  content: "地域で絞り込む";
  cursor: pointer;
  color: #fff;
  border: 1px solid #ddd;
  border-left: none;
  border-radius: 0 10px 0 0;
  /* background: #555; */
  background: #d20000;
}

.tooltip_pref {
  font-size: 16px;
  position: absolute;
  top: 152px;
  left: 100%;
  padding: 20px 5px;
  content: "都道府県で絞り込む";
  cursor: pointer;
  color: #fff;
  border: 1px solid #ddd;
  border-left: none;
  border-radius: 0 0 10px;
  background: #900;
}

.tooltip_search {
  font: normal normal normal 14px/1 FontAwesome;
  font-size: 20px;
  position: absolute;
  right: 100%;
  bottom: 0;
  display: -webkit-box;
  display: -ms-flexbox;
  display: flex;
  -webkit-box-pack: center;
  -ms-flex-pack: center;
  justify-content: center;
  -webkit-box-align: center;
  -ms-flex-align: center;
  align-items: center;
  width: 26px;
  height: 100%;
  color: #eee;
  border-radius: 10px 0 0 10px;
  background: #777;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  text-rendering: auto;
}

.tooltip_search::after {
  content: "\f002";
  font-weight: 900;
}

.map_area {
  position: relative;
  z-index: 99;
  left: -400px;
  -webkit-box-sizing: border-box;
  box-sizing: border-box;
  width: 400px;
  height: 100%;
  padding: 40px;
  -webkit-transition: left 0.5s ease 0s;
  transition: left 0.5s ease 0s;
  border: 1px solid #ddd;
  background: #333;
}

.search_area {
  position: absolute;
  top: 0;
  right: 0;
  display: -webkit-box;
  display: -ms-flexbox;
  display: flex;
  -webkit-box-pack: center;
  -ms-flex-pack: center;
  justify-content: center;
  -webkit-box-align: center;
  -ms-flex-align: center;
  align-items: center;
  -webkit-box-sizing: border-box;
  box-sizing: border-box;
  width: 25%;
  height: 3em;
  background: #555;
}

.inner_search {
  z-index: 1;
  width: 100%;
}

#search-text {
  width: 60%;
  height: 24px;
  padding: 0;
  padding-left: 1em;
  border: 0;
}

.search_btn {
  height: 2em;
  margin: 0;
  padding: 0 1em;
  cursor: pointer;
  color: #fff;
  border: 0;
  background: #333;
}

.map_area:last-child {
  z-index: 99;
  left: -400px;
  padding: 30px 20px;
}

.filter_off {
  position: absolute;
  left: -400px;
  -webkit-transition: all 0.5s ease 0s;
  transition: all 0.5s ease 0s;
}

.map_all {
  z-index: 99;
  width: 100%;
}

.map_all ul {
  top: 0;
  left: 0;
  width: 100%;
}

.map_all ul li {
  padding: 16px 5px;
  cursor: pointer;
  border: 1px solid #ddd;
  border-radius: 5px;
  background: #fff;
}

.prefectures,
.map_all {
  overflow-y: auto;
}

.prefectures::-webkit-scrollbar,
.map_all::-webkit-scrollbar {
  width: 5px;
}

.prefectures::-webkit-scrollbar-track,
.map_all::-webkit-scrollbar-track {
  background: #eee;
}

.prefectures::-webkit-scrollbar-thumb,
.map_all::-webkit-scrollbar-thumb {
  background: #000;
}

.map_all img {
  width: 60%;
}

.prefectures {
  text-align: left;
}

.prefectures dt {
  margin-top: 16px;
  color: #fff;
}

.prefectures dl:first-child dt {
  margin-top: 0;
}

.prefectures dd {
  margin-top: 6px;
}

.prefectures li {
  font-size: 14px;
  display: inline-block;
  padding: 4px 8px;
  cursor: pointer;
  border-radius: 5px;
  background: #fff;
}

.move_right {
  z-index: 100;
  left: 0 !important;
  -webkit-transition: left 0.5s ease 0s;
  transition: left 0.5s ease 0s;
}

.move_right02 {
  left: 400px !important;
  -webkit-transition: all 0.5s ease 0s;
  transition: all 0.5s ease 0s;
}

a[href^="tel:"] {
  pointer-events: none;
}

.salonNum {
  width: auto;
}

@media screen and (max-width: 1200px) {
  main {
    height: auto;
  }

  .main {
    position: static;
    width: 100%;
    height: auto;
    margin-top: 80px;
  }

  .content_area {
    left: 0;
    overflow-x: hidden;
    overflow-y: visible;
    width: 100%;
    height: auto;
  }

  .salonlist_area {
    left: 28px;
    overflow: hidden;
    width: calc(100% - 32px);
    background-attachment: fixed;
    background-position-x: calc(50% + 17px);
    background-position-y: 140px;
    background-size: 700px;
  }

  .salon {
    width: 48%;
    min-height: 250px;
    margin: 20px 1% 0;
  }

  .filter_area {
    position: fixed;
    top: 80px;
    left: 0;
    transform: translate(1px);
  }

  .map_area {
    width: calc(100% - 24px);
  }

  .map_area:last-child {
    left: calc(-100% + 24px);
  }

  .tooltip_pref {
    top: 124px;
  }

  .filter_off {
    left: calc(-100% + 24px);
  }

  .tooltip_area,
  .tooltip_pref {
    font-size: 12px;
  }

  .prefectures li {
    margin-top: 10px;
  }

  #salonlist {
    margin-bottom: 120px;
  }

  .search_area {
    position: fixed;
    z-index: 100;
    top: auto;
    bottom: 47px;
    width: calc(100% - 26px);
  }

  .tooltip_search {
    border-radius: 0;
  }
}

@media screen and (max-width: 990px) {
  h1 {
    font-size: 3vw;
  }

  .salon {
    width: 100%;
    min-height: auto;
    margin: 20px auto 0;
  }

  #salonlist {
    margin-bottom: 200px;
  }

  .search_area {
    bottom: 92px;
  }
}

@media screen and (max-width: 600px) {
  .filter_area {
    z-index: 1;
    height: 1px;
  }

  .map_area {
    height: 100vh;
  }

  .salonlist_area {
    background: none;
    z-index: 0;
  }

  .salonlist_area::before {
    content: "";
    display: block;
    position: absolute;
    top: 0;
    left: 0;
    transform: translate3d(0, 0, -1px);
    width: 100%;
    height: 100%;
    background: url(../images/glynico_bg.png) top 100px center no-repeat;
    background-size: 350px;
  }

  .smpfixbg::before {
    content: "";
    display: block;
    position: fixed;
    top: 0;
    left: 12px;
    transform: translate3d(0, 0, -1px);
    width: 100%;
    height: 100%;
    background: url(../images/hena_bg_s.png) top 130px center no-repeat;
    background-size: 350px;
  }

  .salonlist_area h2 {
    margin-top: 20px;
    margin-bottom: 300px;
    transform: translateZ(1px);
  }

  input[type=text] {
    font-size: 16px;
  }

  .move_right02 {
    left: calc(100% + 24px) !important;
    height: 100px;
  }

  .footer div {
    display: none;
  }

  a[href^="tel:"] {
    font-size: inherit;
    display: inline-block;
    pointer-events: auto;
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
    text-rendering: auto;
  }

  a[href^="tel:"]::after {
    font: normal normal normal 14px/1 FontAwesome;
    font-size: 16px;
    font-weight: 900;
    margin-left: 10px;
    content: "\f095";
  }

  #salonlist {
    margin-bottom: 40px;
  }

  .search_area {
    position: fixed;
    z-index: 100;
    top: auto;
    bottom: 37px;
    width: calc(100% - 26px);
    -webkit-transition: bottom 0.1s linear 0s;
    transition: bottom 0.1s linear 0s;
  }

  .SNS {
    -webkit-transition: bottom 0.1s linear 0s;
    transition: bottom 0.1s linear 0s;
  }

  .tooltip_search {
    border-radius: 0;
  }

  .sa_hide {
    bottom: -48px;
  }

  .sa_hide_btn::before {
    font-size: 0.5em;
    font-weight: bold;
    position: absolute;
    top: -25px;
    left: calc(50% - 39px);
    display: inline-block;
    width: 0;
    height: 0;
    content: "";
    cursor: pointer;
    -webkit-transform: rotate(45deg);
    transform: rotate(45deg);
    color: #fff;
    border: 25px solid transparent;
    border-top: 25px solid #333;
    border-left: 25px solid #333;
    border-radius: 50%;
  }

  .sa_hide_btn::after {
    position: absolute;
    top: -18px;
    left: calc(50% - 20.5px);
    display: inline-block;
    width: 8px;
    height: 8px;
    content: "";
    -webkit-transform: rotate(-135deg);
    transform: rotate(-135deg);
    color: #fff;
    border-top: 3px solid #fff;
    border-left: 3px solid #fff;
    background: #333;
  }

  .sa_show_btn::after {
    position: absolute;
    top: -14px;
    left: calc(50% - 20.5px);
    display: inline-block;
    width: 8px;
    height: 8px;
    content: "";
    -webkit-transform: rotate(45deg);
    transform: rotate(45deg);
    color: #fff;
    border-top: 3px solid #fff;
    border-left: 3px solid #fff;
    background: #333;
  }

  .bg_change {
    background: #fff;
  }

  .nav_button::before,
  .nav_button::after {
    z-index: 1;
  }

  .nav_button {
    top: 2px;
    right: 0;
    padding: 6px 8px 24px;
    border-radius: 4px;
    background: #111;
  }
}

.header .header_wrapper {
  background: #fff;
  position: relative;
  z-index: 100000;
}

@media screen and (max-width: 768px) {
  .header .header_wrapper {
    background: #fff;
    position: relative;
    z-index: 1;
  }
}
