@import url('https://fonts.googleapis.com/css?family=Merienda:700');
@import url('https://fonts.googleapis.com/css?family=Amaranth:400,700');
@import url('https://fonts.googleapis.com/css?family=PT+Sans+Caption:400,700');

/* -------------common element------------- */
::selection {
  background-color: rgba(0, 76, 132, .3);
}
* {
  box-sizing: border-box;
  transition: .2s ease;
  margin: 0;
  list-style-type: none;
}
html {
  font-size: 10px;
}
body {
  padding: 0;
  margin: 0;
  font-weight: 300;
  color: #343434;
  line-height: 1.8;
  background-color: #fefefe;
  font-size: 1.4rem;
  font-family: 'PT Sans Caption', sans-serif;
}
ul, ol {
  padding: 0;
  list-style: none;
}
[class*="Nav"]> ul {
  margin: 0;
  padding: 0;
}
img {
  max-width: 100%;
  height: auto;
}
a {
  color: #004c84;
  text-decoration: none;
}
h1, h2 {
  font-family: 'Merienda', cursive;
}
h3, h4, h5 {
  font-family: 'Amaranth', sans-serif;
}
.text-center {
  text-align: center;
}
.title {
  font-size: 2.8rem;
  text-transform: capitalize;
}
.button {
  background-color: rgb(0, 108, 202);
  color: #fefefe;
  box-shadow: 0px 1px 1px #808080c4;
  display: inline-block;
  padding: 1em 3em;
  letter-spacing: 2px;
}
.button:hover {
  background-color: rgb(0, 188, 202);
  color: #FFFFFF;
}
.icon {
  width: 1.8em;
  height: auto;
}
.container {
  max-width: 1080px;
  width: 100%;
  padding: 0 20px;
  margin: 0 auto;
}


/* -------------header------------- */
.header {
  width: 100%;
  padding: 10px 20px;
  display: flex;
  justify-content: space-between;
  align-items: center;
  position: fixed;
  top: 0;
  background-color: #fff;
  z-index: 10;
}
.header__logo{
  width: auto;
  height:32px;
}

.header__logo__img {
  width: auto;
  height: 32px;
}

/* -------------global-nav------------- */
.globalNav__menu {
  display: inline-block;
  margin-left: 2em;
}
.globalNav__menu a {
  color: #343434;
}
.globalNav__menu a:hover {
  color: #004c84;
}
/* hide checkbox of the hamburger menu*/
input[type="checkbox"]{
  display: none;
}
/* for hamburger menu */
@media screen and (max-width:768px){
  header{
    position: relative;
  }
  .globalNav{
    width:100%;
    text-align: right;
  }
  .globalNav__menu{
    display: block;
    margin-left: 0;
    text-align: left;
  }
  .globalNav__menu a{
    display: block;
    width:100%;
    padding: 15px 0;
    font-size:16px;
  }
  label{
    width:100%;
    top:0;
    right:0;
    height:30px;
    cursor:pointer;
  }
  /* menu is hidden until it has been clicked */
  .globalNav__content{
    position: absolute;
    top:50px;
    left:0;
    width:100vw;
    height:95vh;
    padding: 30px 18px;
    background: #fff;
    /* set animation on background */
    transform-origin:0% 0%;
    transform:translate(100%, 0);
    transition: transform .5s ease-in-out;
    z-index:2;
  }
  /* it opens when checkbox has been clicked */
  input:checked ~ .globalNav__content{
    transform:none;
  }
  .globalNav__menu{
    width:100%;
    height:40px;
    text-align: left;
  }
  .globalNav__menu-bar{
    display: inline-block;
    margin-right: auto;
    width:28px;
    height:23px;
    vertical-align: middle;
    z-index: 3;
    position: relative;
  }
  .globalNav__menu-bar span{
    position: absolute;
    left:0;
    width:100%;
    height:3px;
    background: #004c84;
    border-radius:3px;
  }
  /* set animation of nav opens*/
  .globalNav__menu-bar span:nth-of-type(1){
    top:0;
    animation: switch-top .75s backwards;
    -webkit-animation:switch-top .75s backwards;
  }
  .globalNav__menu-bar span:nth-of-type(2){
    top:10px;
    transition:all .25s .25s;
    opacity:1;
  }
  .globalNav__menu-bar span:nth-of-type(3){
    bottom: 0;
    animation: switch-btm .75s backwards;
    -webkit-animation: switch-btm .75s backwards;
  }
  @keyframes switch-top{
    0%{transform:translateY(10px) rotate(45deg);}
    50%{transform:translateY(10px) rotate(0);}
    100%{transform:translateY(0) rotate(0);}
  }
  @-webkit-keyframes switch-top{
    0%{-webkit-transform:translateY(10px) rotate(45deg);}
    50%{-webkit-transform:translateY(10px) rotate(0);}
    100%{-webkit-transform:translateY(0) rotate(0);}
  }
  @keyframes switch-btm {
    0%{transform:translateY(-10px) rotate(-45deg);}
    50%{transform:translateY(-10px) rotate(0);}
    100%{transform:translateY(0) rotate(0);}
  }
  @-webkit-keyframes switch-btm {
    0%{-webkit-transform:translateY(-10px) rotate(-45deg);}
    50%{-webkit-transform:translateY(-10px) rotate(0);}
    100%{-webkit-transform:translateY(0) rotate(0);}
  }

  /* set animation of nav closes */
  input:checked ~ .globalNav__menu-bar span:nth-of-type(1){
    animation:switch-top-active .75s forwards;
    -webkit-animtion:switch-top-active .75s forwards;
  }
  input:checked ~ .globalNav__menu-bar span:nth-of-type(2){
    opacity:0;
  }
  input:checked ~ .globalNav__menu-bar span:nth-of-type(3){
    animation:switch-btm-active .75s forwards;
    -webkit-animtion:switch-btm-active .75s forwards;
  }
  @keyframes switch-top-active{
    0%{transform:translateY(0) rotate(0);}
    50%{transform:translateY(10px) rotate(0);}
    100%{transform:translateY(10px) rotate(45deg);}
  }
  @-webkit-keyframes switch-top-active{
    0%{-webkit-transform:translateY(0) rotate(0);}
    50%{-webkit-transform:translateY(10px) rotate(0);}
    100%{-webkit-transform:translateY(10px) rotate(45deg);}
  }
  @keyframes switch-btm-active{
    0%{transform:translateY(0) rotate(0);}
    50%{transform:translateY(-10px) rotate(0);}
    100%{transform:translateY(-10px) rotate(-45deg);}
  }
  @-webkit-keyframes switch-btm-active{
    0%{-webkit-transform:translateY(0) rotate(0);}
    50%{-webkit-transform:translateY(-10px) rotate(0);}
    100%{-webkit-transform:translateY(-10px) rotate(-45deg);}
  }
}
/* -------------footer------------- */
.footer {
  background-color: #00bcca;
  padding: 4rem 20px 1rem;
}
.footer__content {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-top: 17px;
}
.footerNav__menu {
  display: inline-block;
  margin-right: 1em;
}
.footerNav__menu-link {
  color: #fefefe;
}
.footerNav__menu-link:hover {
  color: #004c85;
}
.footerLink__social {
  display: inline-block;
  margin-left: 1em;
}
.footerLink__social-link {
  color: #343434;
}
.footerLink__social-link:hover {
  color: #004c85;
}
.footer__logo {
  width: 80px;
  height: auto;
}
.copyright {
  font-size: 12px;
  text-align: center;
  color: #fefefe;
}
@media screen and (max-width:768px) {
  .header{
    padding: 10px 14px;
  }
  .header__logo{
    height: 35px;
    vertical-align: bottom;
  }
  .footer__logo{
    width:100px;
  }
  .footerNav__menu {
    display: block;
  }
  .footerLink{
    margin-top: auto;
  }
  .copyright{
    margin: 3rem .5rem 1rem;
  }
}
/* -------------index.html------------- */
.hero {
  background: url("../img/hero-bg.jpg") center center no-repeat;
  background-size: cover;
  background-attachment: fixed;
}
.hero__content {
  margin-top: 52px;
  min-height: 600px;
  height: calc(100vh - 52px);
  display: flex;
  align-items: center;
  justify-content: center;
  flex-wrap: wrap;
}
.hero__content-text {
  width: 50vw;
  text-align: center;
}
.hero__content-logo {
  max-width: 200px;
  width: 45vw;
  height: auto;
}
.imageList__wrap {
  padding: 2rem 0;
  display: flex;
  justify-content: space-between;
  align-items: center;
  flex-wrap: wrap;
}
.imageList__item {
  width: 25%;
  height: auto;
  padding: 0 10px;
}
@media screen and (max-width: 414px){
  .imageList__item {
    width: 50%;
    margin-bottom: 20px;
  }
}
.imageList__item-img {
  display: block;
}
@media screen and (min-width: 768px){
  .imageList__wrap {
    padding: 6rem;
  }
}
.concept {
  background: url("../img/concept-bg.jpg") center center no-repeat;
  background-size: cover;
  padding: 6rem 0;
  position: relative;
  background-attachment: fixed;
}
.concept::after {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background-color: rgba(255,255,255,.6);
  z-index: 1;
}
.concept__content {
  width: 80%;
  max-width: 600px;
  margin: 6rem auto;
  text-align: center;
  position: relative;
  z-index: 2;
}
.staff {
  padding: 6rem 0;
}
.staff__header {
  text-align: center;
  margin-bottom: 6rem;
}
.staff__content {
  margin-bottom: 6rem;
}
.staff__profile {
  width: 100%;
  max-width: 600px;
  margin: 0 auto;
}
@media screen and (min-width: 768px){
  .staff__content {
    display: flex;
    justify-content: space-between;
  }
  .staff__profile {
    width: 30%;
  }
  .staff-profile__name{
    margin:2rem 0 1rem;
  }
}
.staff-profile__img__wrap {
  max-width: 240px;
  width: 100%;
  max-height: 240px;
  border-radius: 50%;
  display: block;
  margin: 0 auto;
}
.staff-profile__img{
  width: 100%;
  border-radius: 50%;
  object-fit: cover;
  border:5px solid #ccc;
}

.staff-profile__name_wrap{
  margin:2rem 5rem 6rem;
  text-align: center;
}

.staff-profile__name {
  font-family: 'Merienda', cursive;
  text-align: center;
  /* margin:2rem 0 5rem; */
  font-size: 1.75rem;
}
.price {
  background: url("../img/menu-bg.jpg") center center no-repeat;
  background-size: cover;
  padding: 6rem 0;
  background-attachment: fixed;
}
.price__content {
  width: 75vw;
  margin: 0px auto;
  margin-bottom: 25px;
  text-align: center;
}

.contact__content {
  text-align: center;
}
.contact__description{
  margin: 1rem 0;
}

.contact__reservation {
  border-bottom: 1px solid #ddd;
  padding-bottom: 5rem;
  margin-bottom: 3rem;
}
.contact__reservation .reservation__btn {
  margin: 1em auto 0;
  text-align: center;
}
@media screen and (min-width: 768px){
  .price__content{
    width:50vw;
  }
  .contact__content {
    display: flex;
    justify-content: space-between;
    text-align: left;
  }
  .contact__reservation {
    border-right: 1px solid #ddd;
    border-bottom: none;
    width: 50%;
    padding-right: 5%;
  }
  .contact__reservation .reservation__btn {
    margin: 1em 0 0;
  }
  .information {
    width: 40%;
  }
}
.contact {
  padding: 6rem 0;
}
.information__social__wrap {
  padding: 0;
  margin:1rem 0;
}
.information__social {
  display: inline-block;
  margin-right: 1em;
}
.onlineShop {
  background: url("../img/bg-img.jpg") center center no-repeat;
  background-size: cover;
  padding: 6rem 0;
  position: relative;
  background-position: 0 85%;
  background-attachment: fixed;
}
.onlineShop::after {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background-color: rgba(255,255,255,.6);
  z-index: 1;
}
.onlineShop__content {
  width: 50vw;
  margin: 6rem auto;
  text-align: center;
  position: relative;
  z-index: 2;
}

/* -------------styles.html------------- */
.staff__name{
  margin:20px 0 0;
  font-size:2.5rem;
}
main{
  margin: auto;
  width: 980px;
}
#heading-img{
  height: 400px;
  margin: 52px 0 0;
  /* background-image: url() */
  line-height: 400px;
  text-align: center;
  color:white;
}
.heading-img__cover{
  background-color: rgba(0, 0, 0, 0.35);
  font-size:40px;
}

#heading-img.styles{
  background-image: url('../img/styles.jpg');
  background-position: center center;
  background-size: cover;
  padding: 0;
}
#heading-img.price{
  background-image: url('../img/price.jpg');
  background-position: 50% 60%;
  background-size: cover;
  padding: 0;
}
#heading-img.access{
  background-image: url('../img/access.jpg');
  background-position: 50% 60%;
  background-size: cover;
  padding: 0;
}
#heading-img.contact{
  background-image: url('../img/contact.jpg');
  background-position: 50% 60%;
  background-size: cover;
  padding: 0;
}

.content__wrap{
  width: 980px;
  margin: 100px 0;
}

.access-information {
  width: 100%;
  margin: 150px 0;
  display: flex;
}

.content__wrap2 {
  display: flex;
  align-items: center;
  margin-top: -5%;
  text-align: center;
  justify-content: center;
  width: 100%;
}

.staff-styles__content {
  -webkit-display: flex;
  -moz-display: flex;
  -ms-display: flex;
  -o-display: flex;
  display: flex;
  align-items:center;
}
.staff-styles__img__wrap{
  margin-right:5rem;
  width:230px;
  height:230px;
  border-radius:50%;
  border:5px solid #ccc;
}
.staff-styles__img{
  width: 100%;
  height:100%;
  border-radius: 50%;
}

.staff-styles__wrap{
  -webkit-display: flex;
  -moz-display: flex;
  -ms-display: flex;
  -o-display: flex;
  display: flex;
  flex-direction: column;
  flex-wrap: wrap;
  width:70%;
  justify-content: center;
}

.staff-styles__profile__wrap{
  width: 75%;
  margin-left: 17px;
}
.staff-styles__profile{
  padding-bottom:1.25rem 
}

.staff-styles__profile-list{
  -webkit-display: flex;
  -moz-display: flex;
  -ms-display: flex;
  -o-display: flex;
  display: flex;
}
.profiles__th{
  width:25%;
  font-weight: bold;
}
.profiles__td{
  width:75%;
}

.staff-styles__gallery__wrap{
  -webkit-display: flex;
  -moz-display: flex;
  -ms-display: flex;
  -o-display: flex;
  display: flex;
  flex-direction: row;
  /* margin-left: 25px; */
  align-items: flex-end;
}
.staff-styles__gallery__block{
  width: 90%;
  margin-left: 10%;
}
@media only screen and (max-width:768px){
  main{
    width:100%;
  }
  .content__wrap{
    width:100%;
  }
  .access-information {
    flex-direction: column;
    align-items: center;
    margin: 50px 0;
  }
  .staff-styles__content{
    -webkit-display: flex;
    -moz-display: flex;
    -ms-display: flex;
    -o-display: flex;
    display: flex;
    flex-direction: column;
    align-items: center;
    margin: 0 5% 5%;
  }
  .staff__name{
    text-align: center;
    margin-bottom: 0;
  }
  .staff-styles__img__wrap{
    width:230px;
    height:230px;
    margin:2rem 0 3rem;
    align-items:center;
  }
  .staff-styles__wrap{
    width:100%;
  }
  .staff-styles__profile__wrap{
    width: 100%;
    margin: 0;
  }
  .staff-styles__profile{
    padding-bottom: 2.5rem;
  }
  .profiles__th{
    width:35%;
  }
  .staff-styles__gallery__wrap{
    flex-wrap: wrap;
    justify-content: center;
  }
  .staff-styles__gallery__dt{
    width:49%;
  }
  .staff-styles__gallery__dt.left{
    margin:0 .45rem 0 0;
  }
  .staff-styles__gallery__dt.right{
    margin:0 0 0 .45rem;
  }
  .staff-styles__gallery__block{
    margin:0;
    width:100%;
  }
}
@media only screen and (min-width:320px){
  .staff-styles__gallery__dt{
    width: 48.7%;
  }
} 

/* -------------price.html------------- */
.price__title {
  font-family: 'Merienda', cursive;
  font-size:25px;
  text-align: center;
  margin:30px 0 25px;
}

*:before, *:after {
  box-sizing: inherit;
}

.price__column {
  float: left;
  width: 33.3%;
  margin-bottom: 100px;
  padding: 0 8px;
  margin-left: auto;
  margin-right: auto;
}
.price__circle {
  border-radius: 50%;
  width: 260px;
  height: 260px;
  position: relative;
  margin: auto;
  overflow: hidden;
  box-shadow: 0 4px 8px 0 rgba(0, 0, 0, 0.2);
  background-color: #746f6d;
}

.price__circle__img{
  border-radius: 50%;
  height: 260px;
  opacity: 0.5;
  -webkit-transform: scale(1);
  transform: scale(1);
 }

.price__circle__img:hover{
  height: 260px;
  opacity: 1;
  -webkit-transition: opacity 0.35s, -webkit-transform 0.35s;
  transition: opacity 0.35s, transform 0.35s;
  -webkit-transform: scale(1.12);
  transform: scale(1.12);
 }

.price__menu-subject{
  text-align: center;
  margin-top: 15px;
  font-size: 18px;
 }

.price__menu-price{
  font-family: 'Merienda', cursive;
  /* font-family: 'Amaranth', sans-serif; */
  font-size:27px;
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  color: white;
  text-shadow: 1px 1px 1px #8080805e;
  white-space: normal;
 }

@media only screen and (max-width:768px){
  .price__wrap{
    margin: 30px 0 0;
    display: inline-block;
  }
  .price__title{
    text-align: center;
    margin:30px 0 40px;
  }
    .price__column {
    width: 100%;
    margin-bottom: 40px;
    display: block;
  }
}

/* -------------access.html------------- */
.access__information{
  -webkit-display:flex;
  display:flex;
  align-items: flex-end;
  margin:0 0 3.5rem;
}
.googlemap__wrap {
  margin: 30px auto;
  /* text-align: center; */
  width: 100%;
}

.googlemap__wrap iframe {
  width: 100%;
  height: 450px;
}

.access__table {
  max-width: 655px;
  width: 100%;
  border-collapse: collapse;
  margin: 25px 0 25px 25px;
}

.access__slideshow {
  background-color: white;
  position: relative;
  width: 300px;
  height: 225px;
  margin: 25px 0;
  overflow: hidden;
  background-color: white;
}

.access__slideshow img {
  animation-name: album;
  -webkit-animation-name: album;
  animation-duration: 10s;
  -webkit-animation-duration: 10s;
  animation-iteration-count: infinite;
  -webkit-animation-iteration-count: infinite;
  opacity: 0;

}

.access__slideshow_img1 {
  margin: 0 auto;
  width: 100%;
}

.access__slideshow_img2 {
  animation-delay: 5s;
  -webkit-animation-delay: 5s;
  position: absolute;
  top: 0;
}

@keyframes album {
  0% {
    opacity: 0;
  }

  12.5% {
    opacity: 1;
  }

  37.5% {
    opacity: 1;
  }
  50% {
    opacity: 0;
  }
}

@-webkit-keyframes album {
  0% {
    opacity: 0;
  }

  12.5% {
    opacity: 1;
  }

  37.5% {
    opacity: 1;
  }
  50% {
    opacity: 0;
  }
}

.access__table th, .access__table td{
  padding: 1rem;
  border-bottom:1px solid #aaa;
}

.access__table td {
  font-size: 15px;
  margin: 20px;
}

.access__table_subject {
  padding-left: 25px;
}
.content__wrap2.access {
  margin:1.35rem 0;
}
.salon-info__title{
  font-family: 'Amaranth', sans-serif;
  font-size:2.5rem;
}
.salon-info__description{
  font-size:15px;
  text-align: left;
  padding: 5px 20px 0;
}
@media only screen and (max-width:768px){
  .access__information{
    flex-direction: column;
    align-items: center;
  }
  .access__table{
    /* max-width: fit-content; */
    width:92%;
    margin:0 20px;
  }
  .access__slideshow{
    width:90%;
    margin:0 0 25px;
  }
  .googlemap__wrap{
    padding: 20px;
  }
  .googlemap__wrap iframe{
    height:420px;
  }
}
/* -------------contact.html------------- */
#contact {
  max-width: 540px;
  margin:0 auto;
}
.form-group {
  margin-bottom: 4em;
  position: relative;
}
.form-group > input, .form-group > textarea {
  border: 0;
  border-bottom: 1px solid #ccc;
  width: 100%;
  font-size: 1.5em;
  padding: 5px;
  outline: none;
  position: relative;
}
.form-group > textarea {
  min-height: 140px;
}
.form-group > label {
  position: absolute;
  top: 0;
  left: 0;
  padding-left: 10px;
  width: 100%;
  transition: all .2s;
  font-size: 1.3em;
  color: #dddddd;
}
.form-group > input:focus + label, .form-group > input:valid + label {
  top: -2em;
  padding-left: 0;
  font-size: .9em;
  color: #343434;
}
.form-group > textarea:focus + label, .form-group > textarea:valid + label {
  top: -2em;
  padding-left: 0;
  font-size: .9em;
  color: #343434;
}
.form-group .submit {
  border: none;
  padding: 1em 3em;
  text-align: center;
  text-decoration: none;
  display: inline-block;
  font-size: 16px;
  margin: 4px 2px;
  -webkit-transition-duration: 0.4s; /* Safari */
  transition-duration: 0.4s;
  cursor: pointer;
  background-color: rgb(0, 108, 202);
  color: #fefefe;
  box-shadow: 0px 1px 1px #808080c4;
  letter-spacing: 2px;
}

#contact .submit:hover {
  background-color: rgb(0, 188, 202);
  color: #FFFFFF;
}

@media screen and (max-width: 768px) {
  form{
    width:90%;
    margin: auto;
  }
  #contact {
    /* font-size: 60px; */
    width: 100%;
    margin: 0 auto;
    text-align: left;
  }

  #contact .submit{
    margin: 2rem 0;
  }
}

/* Reservation Section */
.reservation{
  text-align: center;
  margin:2rem;
}
.reservation__title {
  font-size: 35px;
}
.reservation__btn{
  display: block;
  width: 220px;
  margin: 1rem auto 5rem;
  padding: 1.2rem 0;
  background-color: #d04c1c;
  color: #fefefe;
  box-shadow: 0px 1px 1px #808080c4;
  letter-spacing: 2px;
  -webkit-transition-duration: 0.4s; /* Safari */
  transition-duration: 0.4s;
  cursor: pointer;
}
.reservation__btn:hover {
  background-color: #ff4400;
  color: #FFFFFF;
}