@charset "UTF-8";
html {scroll-behavior: smooth;}

* {box-sizing: border-box;}

body {
  background-color: #f3f3f3;
  font-family: 'Noto Serif JP', serif;
  overflow-x: hidden;
}

.wrapper {
  width: 1000px;
  margin: 0 auto;
}

.inner {
  display: block;
  width: 90%;
  margin: 0 auto;
}

@media screen and (min-width: 1000px) {
  .inner {
    width: 1000px;
  }
}

p,
ul {
  color: #707070;
  font-size: 35px;
  line-height: 70px;
}

h1 {
  color: #707070;
  font-size: 38px;
}

.left-title {
  color: #707070;
  font-size: 50px;
  border-bottom: solid 1px #7a6c5d;
  padding-left: 20px;
  margin: 100px 200px 0 0;
}

.center-title {
  color: #707070;
  font-size: 50px;
  border-bottom: solid 1px #7a6c5d;
  margin: 100px 80px 0 80px;
  padding-top: 30px;
}

a.link {
  font-size: 35px;
  margin: 50px auto;
  display: block;
  padding: 0.6em 2em;
  background: #fff;
  border: 0.1em solid #918156;
  color: #918156;
  cursor: pointer;
  transition: all 0.3s ease 0s;
  text-align: center;
  width: 250px;
}

a.link:hover {
  background: #918156;
  color: #fff;
}


img {
  width: 100%;
}

ul li {
  list-style-type: none;
}

/* header */
.header {
  position: sticky;
  top: 0;
  z-index: 10;
  background-color: #D8D7C2;
}

.header .inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  opacity: 0.8;
}

.header img {
  width: 80px;
  margin-right: 15px;
}

.logo-wrap {
  display: flex;
  align-items: center;
}

.logo-wrap h1 {
  display: inline-block;
}

/*========= ナビゲーションのためのCSS =============*/
#g-nav {
  position: fixed;
  z-index: 999;
  top: 0;
  right: -100%;
  width: 100%;
  height: 100%;
  background: #dededecb;
  transition: all 0.6s;
}

#g-nav.panelactive {
  right: 0;
}

#g-nav ul {
  /*ナビゲーション天地中央揃え*/
  position: absolute;
  z-index: 99;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  padding: 0;
  margin: 0;
}

#g-nav li {
  list-style: none;
  text-align: center;
  font-size: 1.5em;
  line-height: 2em;
}

#g-nav li a {
  position: relative;
  color: #333;
  text-decoration: none;
  padding: 10px;
  display: block;
  text-transform: uppercase;
  font-weight: bold;
}

#g-nav li a:hover {
  color: #888;
}

#g-nav li a::after {
  content: '';
  position: absolute;
  bottom: 5%;
  left: 5%;
  width: 100%;
  height: 2px;
  background: #888;
  transition: all .3s;
  transform: scale(0, 1);
  transform-origin: left top;
}

#g-nav li a:hover::after {
  transform: scale(1, 1);
}

/*========= ボタンのためのCSS ===============*/
.openbtn {
  position: relative;
  width: 40px;
  height: 40px;
  z-index: 1000;
  cursor: pointer;
}

.openbtn span {
  position: absolute;
  display: block;
  border-radius: 2px;
  background-color: #666;
  width: 100%;
  height: 3px;
  transition: all .4s;
}

.openbtn span:nth-of-type(1) {
  top: 25%;
}

.openbtn span:nth-of-type(2) {
  top: 50%;
}

.openbtn span:nth-of-type(3) {
  top: 75%;
}

.openbtn.active span:nth-of-type(1) {
  top: 18px;
  transform: translateY(6px) rotate(-45deg);
}

.openbtn.active span:nth-of-type(2) {
  opacity: 0;
}

.openbtn.active span:nth-of-type(3) {
  top: 30px;
  transform: translateY(-6px) rotate(45deg);
}

/* main visual */
.main-slide {
  position: relative;
}

.main-logo {
  position: absolute;
  z-index: 9;
  width: 900px;
  margin: 100px 50px;
}

@media screen and (max-width: 1000px) {
  .main-logo {
    width: 90%;
  }
}

.bx-wrapper .bx-controls-direction a {
  z-index: 9 !important;
}

/* concept */
.concept {
  margin: 150px auto;
  width: 90%;
  display: block;
}

.concept p {
  text-align: center;
  border-top: solid #918156 1px;
  border-bottom: solid #918156 1px;
  font-size: 40px;
  padding: 30px ;
  /* margin: 0 10px; */
}

/* introduction */
.introduction .inner {
  position: relative;
}

.introduction-bg {
  margin-top: -50px;
  width: 80%;
  height: 105%;
  background-image: url(../images/backmarble1.jpg);
  background-repeat: no-repeat;
  position: absolute;
  left: 0;
  top: 0;
  z-index: -1;
}

.introduction h2 {
  padding-top: 50px;
}

.nailist {
  width: 650px;
  margin: 50px auto;
}

.introduction h3 {
  text-align: center;
}

.introduction p {
  text-align: center;
}


/* history */
.history {
  margin-top: 50px;
  padding-bottom: 90px;
}

.history .inner {
  position: relative;
}

.history-bg {
  width: 80%;
  height: 101%;
  background-image: url(../images/backmuji1.jpg);
  background-repeat: no-repeat;
  position: absolute;
  right: 0;
  top: 0;
  z-index: 1;
}

.history h2 {
  padding-top: 50px;
}

.history-text {
  position: relative;
  display: block;
  margin: 0;
  z-index: 2;
}

/* contents */
.contents .left-title {
  margin-top: 0;
}

.contents .inner {
  background-image: url(../images/backschool.jpg);
  background-repeat: no-repeat;
  padding: 50px 10px 0px 10px;
}

.bold {
  color: #7a6c5d;
  font-size: 40px;
}

.contents-image1 {
  width: 100%;
}

/* recommend */
.recommend {
  margin-bottom: 30px;
}

.recommend .inner {
  position: relative;
}

.recommend-bg {
  width: 80%;
  height: 100%;
  background-image: url(../images/backmuji1.jpg);
  background-repeat: no-repeat;
  position: absolute;
  left: 0;
  top: 0;
  z-index: -1;
}

.recommend img{
  margin-bottom: 100px;
}

/* Q&A */
.qa i{
  font-size: 40px;
  color: #918156;
}

.qa .q{
  color: #918156;
}

.qa .inner{
  position: relative;
}

.qa-bg{
  width: 80%;
  height: 104%;
  background-image: url(../images/backmuji1.jpg);
  background-repeat: no-repeat;
  position: absolute;
  right: 0;
  top: 0;
  z-index: -1;
}

/* contact */
.contact {
  text-align: center;
  position: relative;
  padding: 50px 0;
  overflow: hidden;
}

.contact-bg {
  background-image: url(../images/backmarble2.jpg);
  background-repeat: no-repeat;
  width: 100%;
  height: 60%;
  position: absolute;
  z-index: -1;
  background-size: cover;
  background-position: center;
}

.sns-link {
  margin: 0 auto;
  font-size: 50px;
  display: flex;
  justify-content: center;
}

.sns-link a {
  color: #918156;
  margin: 30px;
}

.sns-link a:hover {
  opacity: 0.8;
  transition: ease 0.5s;
}

/* access */
.access {
  text-align: center;
}

.salonname {
  font-size: 40px;
}

/* salon-data */
.salon-data {
  text-align: center;
}

/* footer */
.end {
  text-align: center;
}

/* ナビコンテンツ */
.nav-container {
  position: absolute;
  display: flex;
  justify-content: center;
  width: 200%;
  height: 100vh;
  top: 120vh;
  right: 5vw;
  left: 5vw;
  background-color: #f7f7f7;
  overflow: hidden;

  /* @media (min-width: 1024px) {
        flex-direction: row;
    } */
}

/*== ボタン共通設定 */
.more-btn {
  /*アニメーションの起点とするためrelativeを指定*/
  position: absolute;
  bottom: 0;
  right: 0;
  overflow: hidden;
  /*ボタンの形状*/
  width: 20%;
  text-decoration: none;
  display: inline-block;
  border: 1px solid #555;
  /* ボーダーの色と太さ */
  border-radius: 25px;
  padding: 10px 30px;
  text-align: center;
  outline: none;
  /*アニメーションの指定*/
  transition: ease .2s;
}

/*ボタン内spanの形状*/
.more-btn span {
  position: relative;
  z-index: 12;
  /*z-indexの数値をあげて文字を背景よりも手前に表示*/
  color: #333;
}

.more-btn:hover span {
  color: #fff;
}

/*hoverした際の形状*/
.more-btn:hover {
  background-color: #333;
  z-index: 10;
}


/* スライダー */

.bxslider_thumbnail {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  margin-top: 30px;
  list-style: none;
}

.bxslider_thumbnail>li {
  width: calc(100% / 5);
}

.bxslider_thumbnail>li>a {
  display: block;
  position: relative;
  padding-top: 75%;
}

.bxslider_thumbnail>li>a>img {
  position: absolute;
  top: 0px;
  left: 50%;
  transform: translateX(-50%);
  max-width: 100%;
  max-height: 100%;
}

.bx-wrapper {
  background-color: transparent;
  margin: 0px auto;
  border: none;
  box-shadow: none;
}

.bx-wrapper img {
  display: block;
  width: 100%;
}


/* 追記 */

.contents-image {
  margin-top: 0px;
  margin-left: auto;
  margin-right: auto;
  width: 1000px;
  height: auto;
}

ul.shool-text {
  padding-bottom: 2em;
  margin-bottom: 0;
}









@media screen and (max-width:990px) {

  article.contact {
    width: 90%;
    margin: 0 auto;
  }

  .contact-bg {
    background-image: url(../images/backmarble2.jpg);
    background-repeat: no-repeat;
    width: 95%;
    height: 60%;
    position: absolute;
    z-index: -1;
    background-size: cover;
    background-position: center;
  }


  .contents-image {
    width: 90%;

  }

}