﻿/* reset */
@charset "utf-8";

html, body, div, span, applet, object, iframe,
h1, h2, h3, h4, h5, h6, p, blockquote, pre,
a, abbr, acronym, address, big, cite, code,
del, dfn, em, img, ins, kbd, q, s, samp,
small, strike, strong, sub, sup, tt, var,
b, u, i, center,
dl, dt, dd, ol, ul, li,
fieldset, form, label, legend,
table, caption, tbody, tfoot, thead, tr, th, td,
article, aside, canvas, details, embed,
figure, figcaption, footer, header, hgroup,
menu, nav, output, ruby, section, summary,
time, mark, audio, video, button {
  margin: 0;
  padding: 0;
  border: 0;
  font-weight: 500;
  font-size: 100%;
  font-family: -apple-system, BlinkMacSystemFont, 'Helvetica Neue', 'Segoe UI', 'Hiragino Kaku Gothic ProN', 'Yu Gothic', sans-serif;
  vertical-align: baseline;
}

article, aside, details, figcaption, figure,
footer, header, hgroup, menu, nav, section {
  display: block;
}

html{
  overflow-x: hidden;
}

blockquote, q {
  quotes: none;
}

blockquote:before, blockquote:after,
q:before, q:after {
  content: '';
  content: none;
}

input, textarea,{
  margin: 0;
  padding: 0;
}

ol, ul{
    list-style:none;
}

table{
    border-collapse: collapse; 
    border-spacing:0;
}

caption, th{
    text-align: left;
}

a {
  transition: .45s;
}

a:focus {
  outline:none;
}

a:hover {
  opacity: .6;
}

.clearfix:after {
  content: "."; 
  display: block;
  clear: both;
  height: 0;
  visibility: hidden;
}

.clearfix {
  min-height: 1px;
}

* html .clearfix {
  height: 1px;
  /*¥*//*/
  height: auto;
  overflow: hidden;
  /**/
}

body{
  margin:0;
  min-width: 320px;
  min-height: 100vh;
  position: relative;
  padding-bottom: 5rem;
  box-sizing: border-box;
}

.wrapper{width: 100%;
  overflow: hidden;}

#main{
  position: relative;
  background-image: url(img/background.png);
  background-repeat: no-repeat;
  background-size: cover;
  background-position: 0% 50%;
  background-color: #000;
}

#main img{
  display: block;
  margin: 0 auto;
  padding-top: 2rem;
  padding-bottom: 2rem;
}

#contact{
  position: relative;
  padding: 2rem 0;
  box-sizing: border-box;
  height: 43vh;
  background-image: -webkit-linear-gradient(270deg,rgba(166,166,166,1.00) 0%,rgba(255,255,255,1.00) 14.51%,rgba(255,255,255,1.00) 83.94%,rgba(151,151,151,1.00) 100%);
  background-image: -moz-linear-gradient(270deg,rgba(166,166,166,1.00) 0%,rgba(255,255,255,1.00) 14.51%,rgba(255,255,255,1.00) 83.94%,rgba(151,151,151,1.00) 100%);
  background-image: -o-linear-gradient(270deg,rgba(166,166,166,1.00) 0%,rgba(255,255,255,1.00) 14.51%,rgba(255,255,255,1.00) 83.94%,rgba(151,151,151,1.00) 100%);
  background-image: linear-gradient(180deg,rgba(166,166,166,1.00) 0%,rgba(255,255,255,1.00) 14.51%,rgba(255,255,255,1.00) 83.94%,rgba(151,151,151,1.00) 100%);
  background-color: #FFFFFF;
}

#contact img{
  position: absolute;
  display: block;
  left:0;
  right: 0;
  margin:0 auto;
}

#merit img {
  display: block;
  margin: 0 auto;
  padding: 1.5rem 0;
}

.title_bg{
  background: #04182f;}

.merit_bg{
  background-image: url(img/tips2.png);
  background-repeat: no-repeat;
  margin: 0 auto;
  background-size: cover;
}

.shopbg{
  background-color: #e5e3e2;
}

.shopbg img{
  display: block;
  margin: 0 auto;
  padding: 1.5rem 0;
}

.shopbg img last-child{
  padding-bottom: 2rem ;
}

.contact{
  position: relative;
  background: #04182f;
  height: 42vh;
}

.contact img{
  position: absolute;
  display: block;
  margin: 0 auto;
  padding: 1.5rem 0;
  left: 0;
  right: 0;
}

#analitycs img{
  display: block;
  margin: 0 auto;
  padding-top: 2rem;
  padding-bottom: 1.5rem;
}

.anali_title{
  background-color: #147358;
  padding: 1rem 0;
  margin-top: 20px;
}

.treatment_img{
  padding-top: 2rem;
}

#type img{
  display: block;
  margin: 0 auto;
}

.title_bg img{
  padding: 1rem 0;
}

.type_bg{
  background-image: url(img/1.png);
  background-repeat: no-repeat;
  background-size: cover;
}

.type_bg img:first-child{
  padding-top: 3rem;
}

.type_bg img:last-child{
  padding-bottom: 4rem;
}

#salon img{
  display: block;
  margin: 0 auto;
}

#salon img:nth-child(3){
  padding-bottom: 2rem;
}

.step_tri{
  display: block;
  position: relative;
  background: #e1e1e1;}

.title_bg2{
  background: #b41d25;}

.title_bg2 img{
  padding-top: 2rem;
  padding-bottom: 1rem;
  margin-bottom: 2rem;
}

#use{
  margin-top: 2rem;
}

#use img{
  display: block;
  margin: 0 auto;
  padding-top: 1.5rem;
}

.use_bg{
  background-color: #e5e3e2;
}

.use_bg img:nth-child(2){
  padding-bottom: 2rem;}
.use_bg img:last-child{
  padding-bottom: 3rem;}

#spec img{
  display: block;
  margin: 0 auto;
}

.bg{
  padding-bottom: 1rem;
  background-image: url(img/1.png);
  background-repeat: no-repeat;
  background-size: cover;
}

.bg img {
  padding: 20px 0;
}

.footer_contact{
  position: relative;
  height: 30vh;
  background: #212121;
  padding-top: 2rem;
  padding-bottom: 4rem;
}

.footer_contact img{
  position: absolute;
  display: block;
  left: 0;
  right: 0;
}

.step_tri{
    padding-bottom: 0.8rem;
    margin-top:1.3rem;
    margin-bottom: 1.3rem;
  }


@media screen and (max-width:640px){
  img{
    max-width: 100%;
    display: block;
    margin: 0 auto;
    height:auto;}
  .wrapper{width: 100%;
  overflow: hidden;}
  .bg img{
    display: block;
    max-width: 95%; 
    margin: 0 auto;
    padding-top: 20px;
    padding-bottom: 20px;}
  .merit_title{max-width: 90%;}
  .anali_title img{max-width: 98%;}
  #type img{max-width: 90%}
  .title_bg2 img{
    max-width: 95%;
    padding: 1rem 0;}
  #analitycs img{
    padding: 0.5rem 0 0.3rem 0;}
  .use_title{width: 30%;}
  .spec_title{width: 50%;}
  .step{
    width: 98%;
    margin:0 auto;}

  #salon img {
    margin-bottom: 1.3rem;
  }
  #merit img{
    width: 95%;
  }
  #contact{
    height: 25vh;
  }
  .contact{
    height: 25vh;
  }
  .footer_contact{
    height: 15vh;
  }  
}

header {
  border-bottom: 1px solid #ccc;
  border-top: 5px solid #C39B00;
}

h2.title_bg {
  margin-bottom: 1em;
  padding: 1rem 0;
  text-align: center;
  font-weight: bold;
  font-size: 2rem;
  color: #fff;
}

input[type="text"], input[type="email"], select, textarea {
  box-sizing: border-box;
  width: 100%;
  padding: 0 .75em;
  border: none;
  border: 1px solid #ccc;
  border-radius: .5em;
  box-shadow: 0 .25em .25em rgba(0,0,0,.1) inset;
}

textarea {
  padding: .75em;
  line-height: 1.5rem;
}

label {
  margin-right: 1rem;
  cursor: pointer;
}

input[type="text"], input[type="email"], label {
  height: 2.5rem;
  line-height: 2.5rem;
}

form {
  position: relative;
}

.mailform p {
  margin-bottom: 1em;
}

.mailform dl {
  margin-bottom: 2em;
}

.mailform dt {
  background: #ececec;
}

.mailform dt, .mailform dd {
  padding: 1em;
}

.t_center {
  text-align: center;
}

.sec_btn {
  padding: .5em 2em;
  background: #ff582b;
  cursor: pointer;
  color: #fff;
}

.back {
  font-size: .875em;
  text-decoration: none;
  color: inherit;
}

.req {
  color: red;
  font-size: .65em;
  position: relative;
  top: -.35em;
}

.p_center {
  text-align: center;
  font-size: 1.25rem;
}

footer {
  line-height: 2rem;
  background: #f7f7f7;
  text-align: center;
  font-size: .75rem;
  position: absolute;
  bottom: 0;
  width: 100%;
}

@media screen and (min-width:951px){
  header div {
    width: 1130px;
    margin: auto;
    height: 85px;
  }

    header div img {
      margin-top: 11px;
    }

  .mailform {
    width: 950px;
    margin: auto;
  }

  .mailform dl {
    display: -webkit-flex;
    display: flex;
    -webkit-flex-wrap: wrap;
    flex-wrap: wrap;
    border-bottom: 1px solid #d0d0d0;
  }

  .mailform dt, .mailform dd {
    box-sizing: border-box;
    border-left: 1px solid #d0d0d0;
    border-top: 1px solid #d0d0d0;
  }

  .mailform dt {
    width: 30%;
    line-height: 2.5em;
  }

  .mailform dd {
    width: 70%;
    border-right: 1px solid #d0d0d0;
  }

  .mailform.conf dd {
    padding: 1.5em 1em;
  }

  .back {
    position: absolute;
    right: 0;
    top: 50%;
    margin-top: -.5rem;
  }
}

@media screen and (max-width:950px){
  h2.title_bg {
    font-size: 1.5em;
  }

  .mailform p {
    padding-left: .5em;
  }

  .mailform dt, .mailform dd {
    padding: .5em;
  }

  input[type="text"], input[type="email"], select, textarea {
    font-size: 1rem;
  }

  label {
    display: inline-block;
  }

  .p_back {
    text-align: center;
  }
}
