html{
    scroll-behavior: smooth;
}
body{
    font-family: serif;
}
header{
    position: fixed;
    top: 0;
    width: 100%;
    z-index: 10;
}
.head{
    background-color: black;
    display: flex;
}
.head ul li{
    opacity: 0;
}


@media screen and (min-width: 1440px){
  .head{
    height: 80px;
  }
  .head a img{
    display: block;
    height: 80px;
  }
  .head a img:hover{
    opacity: .6;
    transition: .3s;
  }
  .head ul li{
    opacity: 1;
    display: flex;
  }
  .navi-sec ul {
    display: flex;
    padding: 20px;
    font-size: 20px;
    text-align: center;
  }
  .navi-sec ul li{
    width: 80px;
    color: white;
    padding: 20px 0;
    margin-top: -10px;
    width: 160px;
    text-align: center;
    justify-content: center;
    letter-spacing: 2px
  }
  .navi-sec ul a:hover{
    opacity: .6;
    transition: .3s;
  }
  .navi-sec ul a{
    text-decoration: none;
  }
  .head h1 a{
    font-size: 40px;
    width: 500px;
  }
  #red-h1{
    font-size: 22px;
    color: red;
    letter-spacing: 4px;
    font-weight: 600;
    padding-bottom: 4px;
    margin-top: -10px;
  }
 
  .hamburger{
    display: none;
  }
}
.head h1{
    padding: 22px 16px 10px;
    font-size: 22px;
    color: white;
    letter-spacing: 3px;
    text-align: center;
    margin-left: 10px;
}
.red-h1{
    font-size: 18px;
    color: red;
    letter-spacing: 2px;
    font-weight: 600;
    padding-bottom: 4px;
    text-align: center;
    font-family: serif;
}
.head h1 a:hover{
    opacity: .6;
    transition: .3s; 
}
.head h1 a{
    color: inherit;
    text-decoration: none;
}
.j936{
    float: right;
    font-family: serif;
}

@media screen and (max-width: 1440px){
    .head img{
        display: none;
    } 
}



/* 
hamburger(ハンバーガーアイコン)
=================================== */
.hamburger {
  position: absolute;
  right: 20px;
  top: 24px;
  width: 50px;
  height: 40px;
  cursor: pointer;
  z-index: 300;
}

.hamburger__line {
  position: absolute;
  width: 40px;
  height: 3px;
  right: 0;
  background-color: #000;
  transition: all 0.5s;
}

.hamburger__line--1 {
  top: -5px;
  background: white;
}

.hamburger__line--2 {
  top: 10px;
  height: 3px;
  background: firebrick;
}

.hamburger__line--3 {
  top: 24px;
  background: white;
}
  
  /*ハンバーガーがクリックされたら*/
  .open .hamburger__line--1 {
    transform: rotate(-45deg);
    top: 11px;
  }
  
  .open .hamburger__line--2 {
    opacity: 0;
  }
  
  .open .hamburger__line--3 {
    transform: rotate(45deg);
    top: 11px;
  }
  
  /* 
  sp-nav(ナビ)
  =================================== */
  .sp-nav {
    position: fixed;
    right: -100%; /*ハンバーガーがクリックされる前はWindow右側に隠す*/
    top: 0;
    width: 70%; /* 出てくるスライドメニューの幅 */
    height: 100vh;
    background-color: black;
    transition: all 1.0s;
    z-index: 200;
    overflow-y: auto; /* メニューが多くなったらスクロールできるように */
    opacity: 1;
  }

  .sp-nav ul{
      margin-top: 100px;
  }
  .sp-nav a{
      text-decoration: none
  }
  .sp-nav ul li{
      font-size: 28px;
      margin-top: 20px;
      text-align: center;
      color: white;
      opacity: 1;
      margin-top: 50px; 
      z-index: 10; 
      letter-spacing: 4px;
      font-weight: 600;
  }
  
  /*ハンバーガーがクリックされたら右からスライド*/
  .open .sp-nav {
    right: 0;
  }
  
  /* 
  black-bg(ハンバーガーメニュー解除用bg)
  =================================== */
  .black-bg {
    position: fixed;
    left: 0;
    top: 0;
    width: 100vw;
    height: 100vh;
    z-index: 5;
    background-color: #000;
    opacity: 0;
    visibility: hidden;
    transition: all 1.0s;
    cursor: pointer;
    z-index: 100;
  }
  
  /*ハンバーガーメニューが開いたら表示*/
  .open .black-bg {
    opacity: 0.5;
    visibility: visible;
  }

  /* --------------ヘッダーアイコン----------- */

  .head-icon{
    display: flex;
    margin: 6px 10px auto auto;
    justify-content: right;
  }
  .head-icon img{
    width: 28px;
    padding: 6px;
  }

  @media screen and (min-width: 481px){
    .head-icon img{
        width: 46px;
        padding: 12px;
        margin-right: 10px;
    }
    .head-icon img:hover{
        opacity: .7;
        transition: .3s;
        width: 50px;
    }
  }

/* -------------main-------------- */

main {
    padding-top: 60px;
    background-color: rgb(44, 44, 44);
}

/* ----------section1---------------- */

.head-text1{
    display: none;
}
.head-text2{
    display: none;
}
.head-text3{
    display: none;
}
.head-text4{
    font-size: 22px;
    font-weight: 600;
    letter-spacing: 2px;
    line-height: 70px;
    color: white;
    text-align: left;
    margin: 80px auto 10px;
    text-align: center;
    border-left: #fff 4px solid;
    width: 80%;
}
.head-text5{
    font-size: 22px;
    font-weight: 600;
    letter-spacing: 2px;
    line-height: 70px;
    color: white;
    text-align: right;
    margin: 60px auto;
    text-align: center;
    border-right: #fff 4px solid;
    width: 80%;
}
.head-text6{
    font-size: 22px;
    font-weight: 600;
    letter-spacing: 2px;
    line-height: 34px;
    color: white;
    text-align: left;
    margin: 30px auto 120px;
    width: 80%;
    border-left: #fff 4px solid;
    text-align: center;
}

.main-head img{
    background-position: center;
    background-size: cover;
    width: 100%;
    height: auto;
    display: block;
    opacity: .4;
}
.black-cover{
    width: 100%;
    height: 300px;
    position: absolute;
    top: 60px;
}

@media screen and (min-width: 481px){
    
    .main-head img{
        /* height: 600px; */
        background-position: center;
        background-size: cover;
        object-fit: cover;
        width: 100%;
        height: 600px;
        display: block;
        opacity: .4;
    }

    .head-text1{
        font-size: 54px;
        font-weight: 600;
        letter-spacing: 6px;
        line-height: 70px;
        color: white;
        position: absolute;
        top: 170px;
        left: 8%;
        display: block;
    }
    .head-text2{
        font-size: 54px;
        font-weight: 600;
        letter-spacing: 6px;
        line-height: 70px;
        color: white;
        position: absolute;
        top: 320px;
        right: 12%;
        display: block;
    }
    .head-text3{
        font-size: 54px;
        font-weight: 600;
        letter-spacing: 6px;
        line-height: 70px;
        color: white;
        position: absolute;
        top: 470px;
        left: 12%;
        display: block;
    }
    .head-text4{
        display: none;
    }
    .head-text5{
        display: none;
    }
    .head-text6{
        display: none;
    }
}

.hair-model img{
    width: 80%;
    display: block;
    margin: 70px auto;
}

/* -----------------kasutamu---------------- */

.kasutamu {
    color: #fff;
    width: 90%;
    margin: 70px auto 0;
    font-family: serif;
    text-align: center;
}
.kasutamu h2{
    font-size: 20px;
    margin-bottom: 10px;
}
.kasutamu p{
    font-size: 18px;
    text-align: left;
    line-height: 26px;
    margin-bottom: 40px;
}
.kasutamu img{
    width: 90%;
    padding: 4px;
}
.kasutamu-img1{
    display: none;
}
@media screen and (min-width: 481px){
    .kasutamu {
        color: #fff;
        width: 90%;
        margin: 100px auto 0;
        display: flex;
    }
    .kasutamu h2{
        font-size: 36px;
        margin-bottom: 30px;
    }
    .kasutamu p{
        font-size: 30px;
        line-height: 40px;
    }
    .kasutamu img{
        width: 80%;
        margin-left: 30px;
    }
}
/* ------------------section2---------------- */

.about-us-h2{
    color: #fff;
    font-size: 26px;
    margin-left: 8%;
    letter-spacing: 6px;
    border-bottom: firebrick 3px solid;
    width: 90%;
    margin-top: 40px;
}

@media screen and (min-width: 481px){
    .about-us-h2{
        font-size: 50px;
        width: 80%;
        letter-spacing: 10px;
        margin-top: 80px;
    }
    
}

/* -----------section3-------------- */

.message{
    margin: 80px auto;
    color: #fff;
}
.message h2{
    font-size: 24px;
    color: #000;
    background-color: rgb(199, 199, 199);
    width: 140px;
    margin: 30px auto;
    padding: 2px;
    text-align: center;
}
.message img{
    width: 70%;
    display: block;
    margin: 0 auto;
}
.message p{
    width: 90%;
    font-size: 14px;
    line-height: 22px;
    margin: 40px auto;
}
.oner-mes{
    margin: 0px;
    text-align: right;
}

@media screen and (min-width: 481px){
    .message{
        width: 80%;
    }
    .message h2{
        font-size: 40px;
        width: 260px;
        margin-top: 100px;
    }
    .message-logo{
        display: flex;
        margin: 80px auto;
    }
    .message p{
        font-size: 18px;
        line-height: 32px;
        margin-top: -10px;
    }
}

/* ------------section4---------- */

.conpany ul{
    color: #fff;
    padding: 30px 0;
}
.conpany h2{
    font-size: 24px;
    color: #000;
    background-color: rgb(199, 199, 199);
    width: 140px;
    margin: 30px auto 0;
    padding: 2px;
    text-align: center;
}
.conpany ul{
    width: 90%;
    margin: 0 auto;
}
.conpany ul li{
    padding: 10px;
    list-style: none;
    font-size: 16px;
    border-bottom: #fff 1px solid;
}
.conpany ul li:nth-child(even){
    background-color: rgb(51, 51, 51);
    line-height: 22px;
    font-size: 14px;
}

@media screen and (min-width: 481px){
    .conpany{
        width: 70%;
        margin: 0 auto;
    }
    .conpany ul li{
        padding: 20px;
        font-size: 20px;
    }
    .conpany ul li:nth-child(even){
        font-size: 20px;
        line-height: 34px;
    }
    .conpany h2{
        font-size: 40px;
        width: 260px;
        margin-top: 100px;
    }
}

/* ---------section5--------- */

.contact{
    margin: 20px auto 0;
    color: #fff;
    position: relative;
}
.contact img{
    background-position: center;
    background-size: cover;
    object-fit: cover;
    width: 100%;
    height: 300px;
    display: block;
    opacity: .4;
}
.contact-text{
    font-size: 14px;
    text-align: center;
    line-height: 22px;
    position: absolute;
    top: 120px;
    left: 50%;
    transform: translate(-50%, -50%);
}
.contact-text h3{
    font-size: 18px;
    padding: 15px;
    letter-spacing: 2px;
}
.botan p{
    padding: 5px;
    background-color: rgba(178, 34, 34, 0.49);
    border-radius: 20px;
    width: 220px;
    text-align: center;
    margin: 10px auto 0;
    color: #fff;
}
a{
    text-decoration: none;
}
.tel a{
    color: #fff;
    font-size: 16px;
    border-bottom: #fff 1px solid;
    letter-spacing: 2px;  
    padding: 0 10px;
}
.tel:hover{
    opacity: .6;
    transition: .3s;
}

@media screen and (min-width: 481px){
    .contact{
        position: relative;
    }
    .contact img{
        height: 520px;
        background-position: center;
        background-size: cover;
        background-position: center;
    }
    .contact-text{
        position: absolute;
        top: 260px;
        left: 50%;
        transform: translate(-50%, -50%);
    }
    .contact-text h3{
        font-size: 28px;
        padding-bottom: 40px;
        letter-spacing: 4px;
    }
    .contact-text p{
        font-size: 18px;
        line-height: 38px;
        letter-spacing: 2px;
    }
    .botan p{
        width: 340px;
        padding: 8px;
        letter-spacing: 2px;
        margin-top: 40px;
        cursor: pointer;
        color: #fff;
    }
    .botan:hover{
        opacity: .8;
        transition: .3s;
    }
    a{
        text-decoration: none;
    }
    .tel{
        margin-top: 40px;
    }
    .tel a{
        color: #fff;
        font-size: 18px;
        border-bottom: #fff 1px solid;
        letter-spacing: 2px;  
        padding: 0 10px;
    }
    .tel:hover{
        opacity: .6;
        transition: .3s;
    }
}

/* -------------営業時間---------------- */

.eigyo{
    color: #fff;
    padding-bottom: 10px;
}
.eigyo-out h3{
    font-size: 24px;
    color: #000;
    background-color: rgb(199, 199, 199);
    width: 280px;
    margin: -120px auto 0;
    padding: 2px;
    text-align: center;
}
.eigyo ul{
    border-bottom: #fff 1px solid;
    width: 80%;
    margin: 40px auto;
    padding-bottom: 50px;
}
.eigyo ul li{
    list-style: none;
    font-size: 18px;
    line-height: 28px;
}
.map iframe{
    width: 80%;
    height: 50%;
    display: block;
    margin: 0 auto;
    padding-bottom: 60px;
}

@media screen and (min-width: 481px){
    .eigyo-in{
        display: flex;
        padding-bottom: 50px;
        text-align: center;
    }
    .eigyo-out h3{
        font-size: 40px;
        width: 260px;
        margin-top: -220px;
        background-color: rgb(199, 199, 199);
    }
    .eigyo{
        width: 50%;
    }
    .eigyo ul{
        width: 100%;
        margin-top: 70px;
        border-bottom: none;
    }
    .eigyo ul li{
        font-size: 20px;
        line-height: 50px;
        letter-spacing: 4px;
        text-align: left;
        padding: 6px;
        margin-left: 10%;
    }
    .map{
        width: 50%;
        margin-top: 70px;
        border-left: #fff 1px solid;
    }
    .map iframe{
        height: 320px;
        margin-top: 30px;
    }
}

/* -------hotpepper----- */

.hp-p{
    color: #fff;
    font-size: 18px;
    line-height: 28px;
    width: 80%;
    margin: 20px auto 0;
}

/* ---twitter----- */

.twitter-timeline{
    margin: 0 auto;
    padding: 30px 0;
    width: 70%;
}
.pc-twi{
    display: none;
}
.twi-p{
    /* padding: 10px; */
    width: 80%;
    padding-top: 20px;
    margin: 0 auto;
    color: #fff;
    font-size: 18px;
    line-height: 28px;
}

@media screen and (min-width: 481px){
    
    .twi{
        width: 100%;
    }
    .twitter-timeline{
        border-top: none;
    }
    .ios-twi{
        display: none;
    }
    .pc-twi{
        /* padding: 10% 0 0 20%; */
        display: block;
    }

}

/* --------footer-------- */

footer ul{
    background-color: rgb(0, 0, 0);
    color: #fff;
    padding: 50px 0 80px;
    border-top: #fff 2px solid;
}
footer h3{
    color: #fff;
    background-color: #000;
    padding: 20px;
}
footer ul li{
    width: 80%;
    text-align: center;
    padding: 12px;
    font-size: 14px;
    letter-spacing: 4px;
    border-bottom: firebrick 2px solid;
    margin: 0 auto;
    list-style: none;
}
.footer3 {
    display: flex;
    color: #fff;
    background-color: #000;
    justify-content: center;
    padding: 40px 20px;
}
.footer3 img{
    width: 80px;
}
.footer3-text p{
    padding: 20px;
    color: #fff;
    font-size: 14px;
    letter-spacing: 2px;
}
.top p{
    margin: 30px 0 0;
    font-size: 13px;
    letter-spacing: 1px;
    padding: 10px 3px;
    border: #fff 2px solid;
    color: #fff;
}
.top p:hover{
    opacity: .6;
    transition: .3s;
}
@media screen and (min-width: 481px){
    footer ul li{
        font-size: 18px;
        padding: 24px;
        letter-spacing: 8px;
        width: 60%;
    }
    footer ul li:hover{
        opacity: .6;
        transition: .3s;
        cursor: pointer;
    }
    .footer3-text p{
        font-size: 26px;
        padding: 90px 60px;
        letter-spacing: 4px;
    }
    .footer3{
        padding-left: 180px;
        /* padding-right: 50px; */
    }
    .footer3 img{
        width: 160px;
        padding-top: 50px;
    }
    .top p{
        margin: 120px 70px 60px;
        font-size: 20px;
        letter-spacing: 4px;
        padding: 16px;
        border: #fff 2px solid;
        color: #fff;
    }
    .top p:hover{
        opacity: .6;
        transition: .3s;
    }
}



/* -------------API--------------- */

span {
    display: block;
    opacity: 0;
    transform: translateY(50px);
    transition: opacity .4s, transform .4s;
  }
  
  span.appear{
    display: block;
    opacity: 1;
    transform: translateY(0);
  }
