@charset "UTF-8";
/* 日本語 */
* {
  box-sizing: border-box;
}

.sp_on {
  display: none;
}

figure {
  margin: 0;
}

picture, img {
  max-width: 100%;
}

.miki-outer {
  width: 100%;
  margin: 0 auto;
}

.miki-inner {
  width: 940px;
  margin: 0 auto;
}

.miki-top {
  width: 100%;
  height: calc(100vh - 170px);
  background: url(/wp-content/themes/yamasa-cms/dist/images/miki/main-image.jpg) top center no-repeat;
  background-size: cover;
}

.miki-why {
  background-color: #FFF7EE;
}

.miki-about {
  height: 712px;
  background: url(/wp-content/themes/yamasa-cms/dist/images/miki/about-bg.jpg) center center no-repeat;
  background-size: cover;
  position: relative;
}
.miki-about .about1 {
  width: 329px;
  height: 259px;
  position: absolute;
  top: 76px;
  right: 24vw;
}
.miki-about .about2 {
  width: 329px;
  height: 259px;
  position: absolute;
  top: 377px;
  right: 19vw;
}

.miki-how .miki-inner {
  padding: 50px 0 60px;
  text-align: center;
}
.miki-how .miki-inner h2 {
  margin-bottom: 40px;
}

.miki-why .miki-inner {
  padding: 45px 0;
}
.miki-why .miki-inner h2 {
  margin-bottom: 40px;
  text-align: center;
}
.miki-why .miki-inner .flexbox {
  display: flex;
  justify-content: space-between;
}
.miki-why .miki-inner .flexbox:nth-child(even) {
  flex-direction: row-reverse;
}
.miki-why .miki-inner .flexbox figure {
  width: 517px;
}
.miki-why .miki-inner .flexbox div {
  display: flex;
  width: 400px;
  align-items: center;
}
.miki-why .miki-inner .flexbox div p {
  font-size: 17px;
  line-height: 1.8;
}

.miki-what {
  height: 880px;
  background: url(/wp-content/themes/yamasa-cms/dist/images/miki/what-bg.jpg) center center no-repeat;
  background-size: cover;
  margin-bottom: 40px;
}
.miki-what .miki-inner {
  position: relative;
  padding: 50px 0 70px;
}
.miki-what .miki-inner h2 {
  text-align: center;
  margin-bottom: 50px;
}
.miki-what .miki-tokuchou {
  width: 430px;
  position: absolute;
  top: 170px;
  right: 100px;
}
.miki-what .miki-tokuchou > div {
  display: flex;
  flex-wrap: wrap;
  width: 370px;
  margin-left: 60px;
}
.miki-what .miki-tokuchou > div:nth-child(even) {
  margin-left: 0;
  margin-right: 60px;
}
.miki-what .miki-tokuchou > div h3, .miki-what .miki-tokuchou > div p {
  width: 100%;
}
.miki-what .miki-tokuchou > div p {
  font-size: 17px;
  line-height: 1.6;
  font-weight: bold;
}

.miki-center {
  padding-top: 20px;
  text-align: center;
}
.miki-center h2 {
  margin-bottom: 40px;
  color: #AB6342;
  font-weight: bold;
  font-size: 40px;
}
.miki-center .factory-link {
  display: block;
  width: 365px;
  margin: 0 auto;
  background: url(/wp-content/themes/yamasa-cms/dist/images/miki/arrow-right.png) center right 35px no-repeat #AB6342;
  height: 60px;
  border-radius: 30px;
  margin-top: 30px;
  color: #fff;
  font-size: 20px;
  line-height: 60px;
}

@media screen and (max-width: 768px) {
  .sp_on {
    display: block;
  }
  .miki-outer {
    width: 100%;
  }
  .miki-inner {
    width: 100%;
  }
  .miki-top {
    height: 86.4vw;
    background-image: url(/wp-content/themes/yamasa-cms/dist/images/miki/main-image@2x.jpg);
  }
  .miki-about {
    height: 192vw;
    background-image: url(/wp-content/themes/yamasa-cms/dist/images/miki/about-bg@2x.jpg);
    background-size: contain;
    position: relative;
  }
  .miki-about .about1, .miki-about .about2 {
    width: 60%;
    height: auto;
    position: relative;
    right: unset;
  }
  .miki-about .about1 {
    top: 15px;
    left: 5%;
  }
  .miki-about .about2 {
    top: 2vw;
    left: 33%;
  }
  .miki-how .miki-inner {
    padding: 30px 5%;
  }
  .miki-how .miki-inner h2 {
    width: 60%;
    margin: 0 auto 30px;
  }
  .miki-why .miki-inner {
    padding: 30px 3%;
  }
  .miki-why .miki-inner h2 {
    margin-bottom: 20px;
  }
  .miki-why .miki-inner .flexbox {
    display: block;
  }
  .miki-why .miki-inner .flexbox figure {
    width: 100%;
  }
  .miki-why .miki-inner .flexbox div {
    display: block;
    width: 100%;
  }
  .miki-why .miki-inner .flexbox div p {
    font-size: 14px;
  }
  .miki-what {
    height: 138.4vw;
    background-image: url(/wp-content/themes/yamasa-cms/dist/images/miki/what-bg@2x.jpg);
    background-size: contain;
    margin-bottom: 20px;
  }
  .miki-what .miki-inner {
    position: relative;
    padding: 30px 0 20px;
  }
  .miki-what .miki-inner h2 {
    width: 80%;
    margin: 0 auto 10px;
  }
  .miki-what .miki-tokuchou {
    width: 90%;
    margin: 0 auto;
    position: static;
    top: unset;
    right: unset;
  }
  .miki-what .miki-tokuchou > div {
    width: 80%;
    margin-left: 20%;
  }
  .miki-what .miki-tokuchou > div:nth-child(even) {
    margin-right: 20%;
  }
  .miki-what .miki-tokuchou > div h3,
  .miki-what .miki-tokuchou > div p {
    width: 100%;
  }
  .miki-what .miki-tokuchou > div h3 {
    margin-bottom: 5px;
  }
  .miki-what .miki-tokuchou > div h3 img {
    width: 120px;
  }
  .miki-what .miki-tokuchou > div p {
    margin-bottom: 0;
    font-size: 14px;
  }
  .miki-center {
    padding-top: 0;
  }
  .miki-center .miki-inner {
    width: 90%;
    margin: 0 auto;
  }
  .miki-center h2 {
    margin-bottom: 20px;
    font-size: 26px;
  }
  .miki-center .factory-link {
    width: 80%;
    height: 46px;
    border-radius: 23px;
    background-position: center right 20px;
    background-size: 9px 15px;
    line-height: 46px;
    font-size: 16px;
    margin-top: 20px;
  }
}
.fade-in {
  transition: 1.4s ease-in-out;
  transform: translateY(30px);
  opacity: 0;
}

.fade-in.on {
  transform: translateY(0px);
  opacity: 1;
}

.miki-brandsite-link a {
  font-size: 18px!important;
}

@media screen and (max-width: 768px) {
  .miki-brandsite-link a {
    font-size: 14px!important;
  }
}