@charset "utf-8";
/* CSS Document */
h2 {
  font-size: 3.0rem;
  margin-top: 120px;
}
h3 {
  font-size: 1.0rem;
  text-align: center;
  font-family: 'Work Sans';
  font-weight: 400;
  margin: 10px 0 20px;
  color: #6AC9C6;
}
h4 {
  font-size: 1.4rem;
  text-align: center;
  font-weight: 400;
  margin: 0px auto 40px;
  position: relative;
}
.head_image {
  width: 320px;
  height: auto;
  display: block;
  margin: auto;
}
h5 {
  width: 335px;
  height: auto;
  margin: -24px auto 20px;
}
.more_big img {
  width: auto;
  height: 75px;
  margin-top: -10px;
}
.owner_head img {
  margin: -10px auto -40px auto;
  position: relative;
  display: block;
}
h6 {
  font-size: 1.2rem;
  font-weight: 400;
  width: 295px;
  height: 30px;
  color: #583C27;
}
.about_top {
  margin: 0 auto 120px;
}
.about_top p {
  line-height: 1.8rem;
  margin-bottom: 30px;
  margin: -25px auto 0px;
  width: 290px;
}
.about_design3_position {
  position: relative;
  width: 300px;
  height: 100px;
  display: block;
  margin: 0 auto;
}
.about_design {
  margin: 0 auto 120px;
  position: relative;
}
.about_special3_position {
  position: relative;
  width: 300px;
  height: 260px;
  margin: 80px auto 0;
}
.about_3 {
  width: 75px;
  height: auto;
  position: absolute;
  top: -50px;
  left: 50px;
  z-index: 1;
}
.about_cookie {
  position: relative;
}
.spesial {
  width: 85px;
  height: auto;
  position: absolute;
  z-index: 5;
  top: -40px;
  left: 0px;
}
.special_head {
  color: #F06E81;
  font-size: 2.0rem;
  font-weight: 500;
  line-height: 26px;
  width: 297px;
  display: block;
  margin: 40px auto 20px;
}
.special_discription {
  font-size: 1.4rem;
  line-height: 2.2rem;
  width: 297px;
  display: block;
  margin: 0 auto 80px;
}
.special_background {
  width: 325px;
  height: auto;
  display: block;
  margin: auto;
}
.owner_image {
  display: block;
  width: 300px;
  margin: 0 auto;
}
.about_owner {
  margin: 0 auto 120px;
}
.about_owner p {
  font-size: 1.2rem;
  line-height: 2.0rem;
  width: 317px;
  margin: 40px auto;
  display: block;
}
.lesson_button{
  width: 180px;
  margin-left: 20px;
  margin-top: -20px;
}

@media(min-width:768px){
  .ribbon1{
    font-size: 1.8rem;
  }
  
  h5{
    width: 450px;
  }
  .head_image{
    width: 400px;
  }
  .br-sp{
    display: none;
  }
  .about_top{
    margin-bottom: 150px;
  }
  .about_top p{
    width: 550px;
    text-align: center;
    font-size: 1.4rem;
  }
  .about_wrapper {
    display: flex;
    justify-content: center;
    align-items: center;
    margin: 0px auto 60px;
    gap: 10px;
    width: 600px;
  }
  .about_wrapper_reverse {
    display: flex;
    justify-content: center;
    align-items: center;
    flex-direction: row-reverse;
    margin: 0px auto 0px;
    gap: 10px;
    width:600px;
  }
  .about_3{
    width: 85px;
    top: -60px;
    left: 50px;
      }
  .special_discription{
    margin-bottom: 0px;
  }
  .about_design{
    margin-bottom: 150px;
  }
  .about_wrapper_owner {
    display: flex;
    justify-content: center;
    align-items: center;
    margin: 60px auto 0px;
    gap: 20px;
    
  }
  .owner_head img{
    width: 360px;
  }
    .about_owner p {
    font-size: 1.4rem;
      width: 360px;
      line-height: 2.4rem;
          }
  .lesson_button{
    margin-left: 30px;
  }
  
}
@media(min-width:1024px) {
    h2 {
    font-size: 4.4rem;
    margin-top: 200px;
  }
  h3 {
    font-size: 1.6rem;
    margin-top: 10px;
    margin-bottom: 60px;
  }
  h4 {
    font-size: 3.0rem;
    width: 430px;
    height: 65px;
    background-position: center;
    line-height: 65px;
    margin-bottom: 120px;
  }
  h4 img {
    height: 84px;
    width: auto;
  }
  .more_big img {
    height: 115px;
    margin-top: -10px;
  }
  h5 {
    width: 720px;
    height: auto;
    margin: -24px auto 30px;
  }
  @media(min-width:768px){
  .ribbon1{
    font-size: 2.4rem;
  }
  .head_image {
    width: 785px;
    display: block;
    margin: auto;
  }
  .about_top {
    margin-bottom: 200px;
  }
  .about_top_image {
    width: 820px;
    height: auto;
    margin-top: -50px;
  }
  .about_top p {
    font-size: 2.0rem;
    letter-spacing: 4px;
    line-height: 2.8rem;
    margin: -20px auto 40px;
    width: 925px;
    text-align: center;
  }
  .about_design {
    margin-bottom: 200px;
  }
  .about_design3_position {
    width: 420px;
      
  }
  .about_3 {
    width: 170px;
    top: -120px;
    left: -30px;
  }
  .about_top_designimage {
    width: 820px;
    height: auto;
    margin-top: -40px;
  }
  .about_top_cookieinmage {
    width: 820px;
    height: auto;
    margin-top: -40px;
  }
  .about_wrapper {
    display: flex;
    justify-content: center;
    align-items: center;
    margin: 100px auto 100px;
    gap: 60px;
    width: 1200px;
  }
  .about_wrapper_reverse {
    display: flex;
    justify-content: center;
    align-items: center;
    flex-direction: row-reverse;
    margin: 100px auto 100px;
    gap: 60px;
    width: 1200px;
  }
.about_special3_position {
      width: 420px;
    height: 300px;
    margin: 0 0 100px;
}
  .special_head {
    font-size: 2.6rem;
    letter-spacing: 1px;
    line-height: 40px;
    width: 470px;
    margin-bottom: 40px;
  }
  .special_discription {
    font-size: 1.6rem;
    line-height: 3.0rem;
    letter-spacing: 1px;
    width: 460px;
    margin-right: 0px;
  }
  .spesial {
        width: 140px;
    top: -60px;
    left: 10px;
  }
  .special_background {
    width: 500px;
  }
  .about_cookie {
    margin-bottom: 200px;
  }
  .about_owner {
    margin: 0 auto 200px;
    max-width: 1170px;
  }
  .owner_head img {
    width: 640px;
  }
  .about_wrapper_owner {
    display: flex;
    justify-content: center;
    align-items: center;
    margin: 100px auto 0px;
    gap: 100px;
  }
  .about_owner p {
    width: 600px;
    line-height: 42px;
    letter-spacing: 2px;
    font-size: 1.8rem;
    margin-top: 40px;
    
  }
  .owner_image {
    width: 450px;
    margin-top: 80px;
  }
   .lesson_button{
    margin-left: 50px;
     width: 220px;
  }
}