@charset "Shift_JIS";

html {
  font-size: 62.5%;
}

body {
  overflow-x: hidden;
}

div.wrapper_ {
  font-size: 1.6rem;
  font-family: "Yu Gothic Medium", "游ゴシック Medium", YuGothic, "游ゴシック", "Hiragino Kaku Gothic Pro", Meiryo, sans-serif;
  color: #000;

  div.inner_L_ {
    width: 1130px;
    margin: 0 auto;
  }

  div.inner_M_ {
    width: 1020px;
    margin: 0 auto;
  }

  div.inner_ {
    width: 960px;
    margin: 0 auto;
  }

  .flex_ {
    display: flex;
    justify-content: space-between;
  }

  div#header {
    width: 960px;
    margin: 0 auto;
    padding-top: 20px;
    height: auto;
    padding-bottom: 20px;

    a {
      font-size: 13px;
      color: #363535;
      text-decoration: none;
      line-height: 23px;

      span {
        font-family: "Yu Gothic Medium", "游ゴシック Medium", YuGothic, "游ゴシック", "Hiragino Kaku Gothic Pro", Meiryo, sans-serif;

        &.pc_display_ {
          position: relative;
          bottom: -2px;
        }
      }
    }

    h1 {
      padding-left: 15px;
      float: left;

      img {
        margin-right: 15px;
      }
    }

    p {
      float: right;
      margin-right: 5px;
    }
  }

  #mainimg_ {
    text-align: center;
  }
}

#hakkoukajitsu {
  font-feature-settings: 'palt';
}

#mainimg_ {
  .inner_mv_ {
    margin: 0 auto;
    position: relative;
  }

  h2 {
    width: 50%;
    position: absolute;
    top: 23%;
    right: 8.8%;
    z-index: 10;

    &.copy02_ {
      width: 56%;
      top: 20%;
      right: 4%;
    }

    img {
      width: 100%;
      position: absolute;
      top: 0;
      right: 0;
      opacity: 0;
      transform: translateX(-100%);
      transition-duration: 2s;
      transition-property: transform, opacity;

      &.show {
        opacity: 1;
        transform: translateX(0);
      }
    }
  }

  .img_ {
    &.before_ {
      opacity: 0;
      transform: translateX(-50px);
      transition-duration: .8s;
      transition-property: transform, opacity;

      &.show {
        opacity: 1;
        transform: translateX(0);
      }
    }

    &.after_ {
      position: absolute;
      top: 0;
      left: 0;
      opacity: 0;
      transition-duration: .8s;
      transition-property: opacity;

      &.show {
        opacity: 1;
      }
    }

    img {
      width: 100%;
    }
  }

  .item_ {
    width: 17.5%;
    position: absolute;
    top: 10vw;
    left: 17%;
    opacity: 0;
    transform: translateY(-50px);
    transition-duration: 1.6s;
    transition-property: transform, opacity;

    &.show {
      opacity: 1;
      transform: translateY(0);
    }

    img {
      width: 100%;
    }
  }

  .txt_ {
    width: 17.5%;
    position: absolute;
    top: 6vw;
    left: 17%;
    opacity: 0;
    transform: translateY(50px);
    transition-duration: .8s;
    transition-property: transform, opacity;

    &.show {
      opacity: 1;
      transform: translateY(0);
    }

    img {
      width: 100%;
    }
  }
}

#intro {
  margin-top: 20px;

  .box_ {
    margin: 30px 30px 0;
    padding: 1.2em;
    color: #00b9c3;
    border: 2px solid #00b9c3;

    dt {
      width: 7em;
      font-size: 1.6rem;
    }

    dd {
      width: calc(100% - 7em);
      font-size: 1.5rem;

      span {
        display: inline-block;
        margin-top: 1em;
        font-size: 80%;
      }
    }
  }

  .menu_ {
    margin-top: 60px;

    li {
      width: calc((100% - 60px) / 4);
      height: auto;
      overflow: hidden;

      a:hover img {
        transform: translate(9px, 6px);
      }
    }
  }

  p {
    opacity: 0;
    transform: translateY(50px);
    transition-duration: .8s;
    transition-property: transform, opacity;

    &.show {
      opacity: 1;
      transform: translateY(0);
    }
  }
}

#about {
  margin-top: 120px;
  text-align: center;

  .wrap_ {
    margin-top: 60px;
  }

  .img_ {
    width: calc((100% - 40px) / 3);
  }

  p {
    margin-top: 3em;
    font-size: 1.2rem;
    color: #3c0000;
  }
}

#item {
  margin-top: 60px;
  padding: 18vw 0 60px;
  background: url(/img/usr/free_page/hanaclear/item_bg.png) no-repeat center top/126%;

  h3 img {
    width: 60%;
    display: block;
    margin: 0 auto;
  }

  h4 {
    margin-bottom: .5em;
    padding: .5em;
    font-size: 2.4rem;
    font-weight: 700;
    text-align: center;
    color: #fff;
    background-color: #3c0000;

    span {
      font-size: 70%;
      font-weight: 400;
      vertical-align: bottom;
      display: inline-block;
    }
  }

  h5 {
    margin-top: 1.5em;
    font-size: 2.4rem;
    font-weight: 700;
    text-align: center;
  }

  p {
    font-size: 2.2rem;
    font-weight: 700;
    line-height: 1.3;
    color: #3c0000;

    &.notes_ {
      font-size: 1.6rem;
      line-height: 1.6;
      margin-top: 1em;
    }
  }

  .wrap_ {
    width: calc(60% - 40px);
    padding: 0 20px;
    margin: 20px auto 0;

    .txt_ {
      margin-left: 20px;
    }

    .img_ {
      padding-top: 10px;

      img {
        width: 210px;
      }
    }

    &+p.notes_ {
      text-align: center;
      padding: 15px 0;
      margin: 15px auto;
      background: #fff;
      width: calc(60% - 40px);
    }
  }

  .box_ {
    margin-top: .2em;
    padding: .5em .8em;
    border: 1px solid #3c0000;

    p {
      font-size: 1.6rem;

      span {
        display: block;
        font-size: 80%;
        margin-top: 1em;
      }
    }
  }

  .box_notes_ {
    width: 38%;
    margin: 30px auto 0;

    h4 {
      font-size: 90%;
      padding: .2em;

      &+span {
        display: block;
        text-align: center;
        font-size: 80%;
        font-weight: 700;
      }
    }

    p {
      font-size: 100%;
      margin-top: 1em;
      text-align: center;

      span {
        font-size: 80%;
        margin-top: -.5em;
        display: block;
      }
    }

    dl {
      margin-top: .5em;
    }

    dd,
    dt {
      font-size: 1.2rem;
      font-weight: 700;
      line-height: 1.4;
      color: #3c0000;
    }

    dt span {
      background-color: #3c0000;
      color: #fff;
      display: inline-block;
      padding: .3em .5em .2em .5em;
      margin-bottom: .5em;
    }
  }

  .btn_ {
    width: 65%;
    margin: 20px auto 0;
    justify-content: center;

    li {
      text-align: center;
      margin-left: 1em;
      margin-right: 1em;
      margin-bottom: 1em;

      &:last-child {
        text-align: center;
        margin-bottom: 0;
      }
    }
  }
}

#recommend {
  margin-top: 120px;
  padding: 0 0 120px;

  h3 img {
    width: 55%;
  }

  ul li {
    margin-top: 60px;

    &:nth-child(1) {
      text-align: left;
    }

    &:nth-child(2) {
      text-align: right;
      padding-right: 40px;
    }

    &:nth-child(3) {
      text-align: center;
    }
  }
}

#lacticacid {
  margin-top: 120px;
  text-align: center;
  background: url(/img/usr/free_page/hanaclear/lacticacid_bg2.png) no-repeat center top/100%;

  .inner_L_ {
    padding: 170px 0 100px;
  }

  h4 {
    width: 75%;
    margin: 0 auto 0;
  }

  h3 {
    &.js-fade {
      transform: translateX(-50px);

      &.show {
        transform: translateX(0);
      }
    }
  }

  p {
    font-size: 2.4rem;
    font-weight: 700;
    line-height: 1.4;
    color: #3c0000;
    margin-top: 1em;

    &.catch_ {
      font-size: 220%;
      margin-top: 1em;
    }

    &.notes_ {
      font-size: 80%;
      margin-top: 3em;
    }
  }

  .img_txt_ {
    margin-top: 50px;

    &.js-fade {
      transform: scale(0);
      transform-origin: bottom center;

      &.show {
        transform: scale(0);
        animation: bound .8s ease-out forwards;
      }
    }
  }

  .img_ {
    margin-top: 50px;
    position: relative;

    .txt_ {
      position: absolute;
      top: 50%;
      right: 20%;
      transform: translate(0, -50%);
    }

    &.js-fade {
      .txt_ {
        opacity: 0;
        transform: translate(-20%, -50%);
        transition-duration: .8s;
        transition-property: transform, opacity;
      }

      &.show .txt_ {
        opacity: 1;
        transform: translate(0, -50%);
        transition-delay: .4s;
      }
    }
  }

  .box_ {
    width: 80%;
    margin: 70px auto 0;
    padding: 3em 6em;
    background-color: rgba(255, 255, 255, .6);
    box-sizing: border-box;

    p:first-of-type {
      margin-top: 0;
    }

    p.notes_ {
      font-size: 120%;
      line-height: 1.3;
      text-align: left;
      margin-top: 2em;

      &:last-child {
        margin-top: .5em;
      }

      span {
        display: inline-block;
        font-size: 70%;
      }
    }

    .img_ {
      margin-top: 30px;

      img {
        display: block;
        width: 100%;
      }
    }
  }

  small.graph_notice {
    position: absolute;
    bottom: 250px;
    right: 120px;
  }
}

#product {
  text-align: center;
  background: url(/img/usr/free_page/hanaclear/product_bg.jpg) no-repeat center top/cover;

  .inner_L_ {
    padding: 70px 0 90px;
  }

  .inner_in_ {
    width: 80%;
    margin: 0 auto;
    padding: 6em 3em;
    background-color: #fff;
    box-shadow: 5px 5px 0 0 rgba(0, 0, 0, .3);
  }

  h3 {
    &.js-fade {
      transform: scale(0);

      &.show {
        animation: bound .8s ease-out forwards;
      }
    }
  }

  h4 {
    width: fit-content;
    margin: 1em auto 0;
    padding: .5em 1em;
    font-size: 2.4rem;
    font-weight: 700;
    text-align: center;
    color: #fff;
    background-color: #3c0000;

    span {
      font-size: 70%;
      font-weight: 400;
      vertical-align: bottom;
      display: inline-block;
    }
  }

  h5 {
    margin-top: 2em;
    font-size: 2.4rem;
    font-weight: 700;
    text-align: center;
  }

  p {
    font-size: 2.4rem;
    font-weight: 700;
    line-height: 1.4;
    color: #3c0000;
    margin-top: 2em;

    &.notes_ {
      font-size: 100%;
      margin-top: 1em;
    }

    &.col_orange_ {
      color: #ff8b00;
      font-size: 110%;
      margin-top: 2em;
    }
  }

  .img_ {
    margin-top: 40px;
  }

  .box_ {
    width: 60%;
    margin: 20px auto 0;
    padding: .8em 1em;
    border: 1px solid #3c0000;

    p {
      font-size: 1.6rem;
      text-align: left;
      margin-top: 0;

      span {
        display: block;
        font-size: 80%;
        margin-top: 1em;
      }
    }
  }

  .box_notes_ {
    margin-top: 50px;

    h4 {
      font-size: 100%;
      padding: .2em 2.2em;

      &+span {
        font-size: 80%;
        display: block;
        text-align: center;
        margin-top: .5em;
        font-weight: 700;
      }
    }

    p {
      font-size: 100%;
      font-weight: 700;
      margin-top: 1em;

      span {
        font-size: 80%;
        margin-top: -.5em;
        display: block;
      }
    }

    dl {
      margin-top: 1em;
      text-align: center;
      display: inline-block;
    }

    dd,
    dt {
      font-size: 90%;
      font-weight: 700;
      text-align: left;
      line-height: 1.4;
      color: #3c0000;
    }

    dt span {
      background-color: #3c0000;
      color: #fff;
      display: inline-block;
      padding: .3em .5em .2em .5em;
      margin-bottom: .5em;
    }
  }

  .btn_ {
    margin-top: 20px;
    justify-content: center;

    li {
      margin: 0 .5em 1em;
    }
  }

  .banner_ {
    margin-top: 60px;
    justify-content: center;

    li {
      margin: 0 10px;
    }
  }
}

.banner_event_ {
  margin-top: 60px;
}

.banner_interview_ {
  text-align: center;
  padding: 5rem 5%;
}

.float_btn_ {
  position: fixed;
  right: 0;
  bottom: 96px;
  transition-duration: .3s;
  cursor: pointer;

  &:hover {
    opacity: .7;
  }

  &.bottom {
    bottom: 150px;
  }
}

.modal {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100vh;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: opacity .3s;
  pointer-events: none;
  opacity: 0;
  z-index: 100;
  background-color: rgba(0, 0, 0, .5);

  &__content {
    position: relative;
    width: 58.924vh;
    height: 80vh;

    .swiper-slide img {
      width: 100%;
      height: 80vh;
      object-fit: contain;
    }
  }

  &__close-btn {
    position: absolute;
    right: -1.5vw;
    top: -1vw;
    cursor: pointer;
    z-index: 10;
    background: 0 0;
    border: none;

    img {
      height: 6vh;
    }
  }
}

.js-fade {
  opacity: 0;
  transform: translateY(50px);
  transition-duration: .8s;
  transition-property: transform, opacity;

  &.show {
    opacity: 1;
    transform: translateY(0);
  }
}

@keyframes scaleUp {
  0% {
    transform: scale(0);
  }

  50% {
    transform: scale(1.1);
  }

  80% {
    transform: scale(1.2);
  }

  100% {
    transform: scale(1);
  }
}

@keyframes bound {
  0% {
    transform: scale(0);
  }

  40% {
    transform: scale(1.2);
  }

  50% {
    transform: scale(1.3);
  }

  60% {
    transform: scale(.8);
  }

  70% {
    transform: scale(1.2);
  }

  100% {
    transform: scale(1);
  }
}

.new_note_box_ {
  margin: 70px auto 0;

  img {
    width: 905px;
  }
}

.click_here {
  position: fixed;
  bottom: 150px;
  right: 20px;
  z-index: 100;

  a {
    display: block;
    max-width: 150px;

    img {
      width: 100%;
    }
  }
}

/* =========================================
   Media Queries
========================================= */

@media screen and (min-width: 768px) and (max-width: 1260px) {
  #item {
    padding-top: 260px;
    background-size: 1600px auto;
  }
}

@media screen and (min-width: 768px) and (max-width: 960px) {
  #campaign li img {
    height: 15vw;
  }
}

@media screen and (max-width: 767px) {
  html {
    font-size: 2.3vw;
  }

  div.wrapper_ {

    div.inner_L_,
    div.inner_M_,
    div.inner_ {
      width: 100%;
    }

    img {
      width: 100%;
    }

    div#header {
      width: 100%;
      padding-top: 1.5vw;
      padding-bottom: 3vw;

      h1 {
        padding-left: 2vw;

        img {
          width: 50vw;
        }
      }

      a span {
        font-size: 2.5vw;
      }

      p {
        margin-right: 1vw;

        img {
          width: 20vw;
          margin-top: 5vw;
        }
      }
    }
  }

  #mainimg_ {
    h2 {
      width: 75%;
      top: 6%;
      right: 15%;

      &.copy02_ {
        width: 80%;
        top: 5%;
        right: 10%;
      }
    }

    .item_ {
      width: 38.5%;
      top: 55vw;
      left: 31%;
    }

    .txt_ {
      width: 38.5%;
      top: 47vw;
      left: 31%;
    }
  }

  #intro {
    .box_ {
      margin: 15px 15px 0;
      padding: .8em 1em;
      border-width: 1px;

      dl {
        display: block;

        &+span {
          font-size: 85%;
          line-height: 1.5;
        }
      }

      dd,
      dt {
        width: 100%;
      }
    }

    .menu_ {
      margin: 30px 10px 0;

      li {
        width: calc((100% - 12px) / 4);
      }
    }
  }

  #about {
    margin-top: 40px;
    display: block;

    .wrap_ {
      margin: 20px 25px -60px;
      display: block;
    }

    .img_ {
      width: 50%;

      &:nth-child(even) {
        margin: 0 0 0 auto;
      }

      &:nth-child(2) {
        transform: translateY(-30%);
      }

      &:nth-child(3) {
        transform: translateY(-60%);
      }
    }

    h3 {
      width: 70%;
      margin: 0 auto;
    }

    p {
      margin: 0 15px;
    }
  }

  #item {
    margin-top: 40px;
    padding: 180px 0 60px;
    background: url(/img/usr/free_page/hanaclear/item_bg_sp.png) no-repeat center top/127%;

    h4 {
      width: fit-content;
      margin: 0 auto;
    }

    h3 img {
      width: 80%;
    }

    .wrap_ {
      width: 100%;
      padding: 0 15px;
      margin: 20px auto 0;
      display: block;
      box-sizing: border-box;

      .txt_ {
        margin: 20px 0 0;
      }

      p {
        margin: 1em 0 0;
        text-align: center;
      }

      .img_ {
        width: 40%;
        margin: 20px auto 0;
        padding-top: 0;

        img {
          width: 100%;
        }
      }

      &+p.notes_ {
        font-size: 3.5vw;
        width: calc(100% - 30px);
      }
    }

    .box_ {
      margin-top: 1em;
      padding: .8em 1em;

      p {
        margin: 0;
        font-size: 1.6rem;
        text-align: left;
      }
    }

    .box_notes_ {
      width: 90%;
      margin: 20px auto 0;

      h4 {
        padding: .2em 1em;
      }
    }

    .btn_ {
      display: block;
      width: 80%;
      margin: 20px auto 0;

      li:not(:last-child) {
        margin-bottom: 10px;
      }
    }
  }

  #recommend {
    margin-top: 60px;
    padding: 20px 0 100px;

    h3 img {
      width: 80%;
      margin: 0 auto;
      display: block;
    }

    ul li {
      width: 70%;
      margin: 40px auto 0;

      &:nth-child(1),
      &:nth-child(2),
      &:nth-child(3) {
        text-align: center;
      }

      &:nth-child(2) {
        padding-right: 0;
      }
    }
  }

  #lacticacid {
    margin-top: 60px;

    .inner_L_ {
      padding: 80px 15px 40px;
      background-image: url(/img/usr/free_page/hanaclear/lacticacid_bg2_sp.png);
      background-size: 110% auto;
      box-sizing: border-box;
    }

    h4 {
      width: 95%;
      margin: 0 auto 0;
      padding-top: 0;

      img {
        width: 100%;
        margin: 0 auto;
      }
    }

    p {
      font-size: 2rem;

      &.catch_ {
        font-size: 130%;
        margin-top: 1em;
      }

      &.notes_ {
        margin-top: 2em;
      }
    }

    .img_txt_ {
      width: 30%;
      margin: 30px auto 0;
    }

    .img_ {
      margin: 30px auto 0;
      width: 50%;

      .txt_ {
        width: 50%;
        right: -52%;
      }
    }

    .box_ {
      width: 100%;
      margin: 30px auto 0;
      padding: 1.2em 1em;

      p.notes_ {
        font-size: 90%;
        margin-top: 1em;
      }

      .img_ {
        margin-top: 10px;
        width: 100%;
      }
    }

    small.graph_notice {
      position: absolute;
      bottom: 46vw;
      right: 30px;
    }
  }

  #product {
    text-align: center;

    .inner_L_ {
      padding: 40px 0 60px;
    }

    .inner_in_ {
      width: 84%;
      padding: 2em 1em;
    }

    h4,
    h5 {
      font-size: 2rem;
    }

    p {
      font-size: 1.8rem;
    }

    .img_ {
      width: 50%;
      margin: 20px auto 0;
    }

    .box_ {
      width: 100%;
      box-sizing: border-box;

      p {
        font-size: 1.4rem;
      }
    }

    .box_notes_ {
      margin-top: 20px;

      h4 {
        font-size: 90%;
        padding: .2em 1.2em;
      }

      p {
        font-size: 100%;
        font-weight: 700;
        margin-top: 1em;
      }

      dd,
      dt {
        font-size: 60%;
      }
    }

    .btn_ {
      margin-top: 0;
      display: block;

      li {
        width: 80%;
        margin: 10px auto 0;
      }
    }

    .banner_ {
      margin-top: 30px;
      display: block;

      li {
        width: 80%;
        margin: 10px auto 0;
      }
    }

    .banner_event_ {
      padding: 0 10%;
    }
  }

  .float_btn_ {
    width: 28%;
    bottom: 22vw;

    &.bottom {
      bottom: 66vw;
    }
  }

  .modal__content {
    position: relative;
    width: 70vw;
    height: auto;

    .swiper-slide img {
      width: 70vw;
      height: auto;
    }
  }

  .modal__close-btn {
    right: -4.5vw;
    top: -3vw;

    img {
      height: 10vw;
      width: auto !important;
    }
  }

  .new_note_box_ {
    margin: 15px auto 0;
  }

  .click_here {
    position: fixed;
    bottom: 120px;
    text-align: left;

    a {
      right: auto;
      position: inherit;
      left: 15px;

      img {
        max-width: 25vw;
      }
    }
  }
}

@media screen and (max-width: 320px) {
  div.wrapper_ div#header p img {
    width: 18vw;
    margin-top: 6.5vw;
  }
}