/* Extra small devices (phones, 600px and down) */
/* Extra large devices (large laptops and desktops, 1100px and up) */
@media only screen and (max-width: 1100px) {
  video {
    width: 100%; }
  .content-wrapper-wide,
  .content-wrapper,
  .inner-wrapper {
    width: 94%;
    -webkit-box-sizing: border-box;
    box-sizing: border-box;
    margin-left: 3% !important;
    margin-left: 3% !important; }
  header#sub-top-header h1 {
    width: 100%; }
  #contact-form dt {
    width: 25%; }
  #contact-form dd {
    padding-left: 27%; } }

/* Large devices (laptops/desktops, 992px and up) */
@media only screen and (max-width: 992px) {
  .gradation-title {
    width: auto;
    padding: 10px; }
  #fixed-menu {
    display: none !important; }
  nav .flex-center {
    position: fixed;
    right: 10px;
    top: 20px;
    width: 50px;
    height: 50px;
    background-color: white;
    -webkit-box-sizing: border-box;
    box-sizing: border-box;
    border: 1px solid #9390d0;
    -webkit-transition: border 0.3s ease;
    transition: border 0.3s ease;
    z-index: 99; }
    nav .flex-center a {
      margin-left: 10px; }
  /* Important styles */
  #toggle {
    display: block;
    width: 28px; }
  #toggle span:after,
  #toggle span:before {
    content: "";
    position: absolute;
    left: 0;
    top: -9px; }
  #toggle span:after {
    top: 9px; }
  #toggle span {
    position: relative;
    display: block; }
  #toggle span,
  #toggle span:after,
  #toggle span:before {
    width: 100%;
    height: 5px;
    background-color: #888;
    -webkit-transition: all 0.3s;
    transition: all 0.3s;
    -webkit-backface-visibility: hidden;
    backface-visibility: hidden;
    border-radius: 2px; }
  /* on activation */
  /* on activation */
  #toggle.on span {
    background-color: transparent; }
  #toggle.on span:before {
    -webkit-transform: rotate(45deg) translate(5px, 5px);
    transform: rotate(45deg) translate(5px, 5px); }
  #toggle.on span:after {
    -webkit-transform: rotate(-45deg) translate(7px, -8px);
    transform: rotate(-45deg) translate(7px, -8px); }
  #global-nav.on {
    opacity: 1;
    visibility: visible;
    -webkit-transition: opacity .4s;
    transition: opacity .4s; }
  #modalwin {
    margin-top: 10px; }
  /* menu appearance*/
  #global-nav {
    position: fixed;
    right: 3%;
    top: 100px;
    color: #999;
    width: 200px;
    padding: 10px;
    margin: auto;
    text-align: center;
    border-radius: 4px;
    background: white;
    -webkit-box-shadow: 0 1px 8px rgba(0, 0, 0, 0.05);
    box-shadow: 0 1px 8px rgba(0, 0, 0, 0.05);
    /* just for this demo */
    opacity: 0;
    visibility: hidden;
    border: 1px solid #ccc; }
    #global-nav li {
      line-height: 50px; }
  #global-nav:after {
    position: absolute;
    top: -15px;
    left: 95px;
    content: "";
    display: block;
    border-left: 15px solid transparent;
    border-right: 15px solid transparent; }
  ul,
  li,
  li a {
    list-style: none;
    display: block;
    margin: 0;
    padding: 0; }
  li a {
    padding: 5px;
    -webkit-transition: all .2s;
    transition: all .2s; }
  #global-nav.flex-base {
    display: block; }
  .item-responsive-2 figure,
  .item-responsive-3 figure {
    text-align: center; }
  .item-responsive-2 img,
  .item-responsive-3 img {
    max-width: 100%; }
  .item-responsive-3 li {
    width: 30%; }
  #how-to-use .gradation-title {
    width: 100%; }
  #modalwin {
    width: 90% !important; }
  #mouth-line-middle .second-item ul li {
    width: 19%; }
    #mouth-line-middle .second-item ul li img {
      width: 100%; }
    #mouth-line-middle .second-item ul li p {
      font-size: 18px; }
  #inquiry .flex-base-sf-column {
    -webkit-box-orient: vertical;
    -webkit-box-direction: normal;
    -ms-flex-direction: column;
    flex-direction: column; }
  #inquiry-area {
    min-height: 340px;
    background-size: cover; }
  #amazon-area {
    margin-bottom: 3rem;
    padding: 1.5rem; }
  #amazon-area,
  #inquiry-area {
    width: 100% !important; } }

/* Medium devices (landscape tablets, 768px and up) */
@media only screen and (max-width: 768px) {
  .fluid_img_sf {
    width: 100%; }
  #prevention-top {
    margin-top: 20px; }
    #prevention-top div {
      width: 100%; }
    #prevention-top figure {
      position: relative;
      top: 0;
      widows: 60%;
      margin: 0 auto; }
    #prevention-top div {
      float: none;
      padding: 2rem; }
      #prevention-top div table {
        display: block;
        width: 100%;
        overflow-x: auto;
        font-size: 0.8em; }
  #prevention-bottom.flex-base {
    display: block; }
    #prevention-bottom.flex-base h4 {
      width: 100%; }
  #mouth-line-top div {
    padding-left: 80px; }
  #history .flex-base {
    -webkit-box-orient: vertical;
    -webkit-box-direction: reverse;
    -ms-flex-direction: column-reverse;
    flex-direction: column-reverse; }
  #history .flex-base div {
    margin-top: 1rem;
    width: 100%; }
  #bottom-menu span {
    width: auto; }
  #prevention-bottom div {
    width: 100%; }
  #doctor {
    padding: 2rem;
    margin: 5rem auto 0rem; }
  #doctor.flex-base {
    -webkit-box-orient: vertical;
    -webkit-box-direction: normal;
    -ms-flex-direction: column;
    flex-direction: column; }
  .doctor__left {
    width: 100% !important; }
    .doctor__left img {
      width: 30%;
      margin-top: -50px;
      float: left;
      position: relative; }
    .doctor__left dl {
      position: relative;
      top: 0;
      padding-left: 0;
      margin-bottom: 2rem;
      margin-top: 0; }
    .doctor__left dd {
      margin-left: 0; }
    .doctor__left::after {
      display: table;
      content: " ";
      clear: both; }
  .doctor__inner {
    margin-top: 0px; }
  .doctor__right {
    width: 100% !important;
    padding-left: 0; } }

@media only screen and (max-width: 674px) {
  #information,
  #blog {
    width: 100%; 
    margin-bottom: 3rem;}
  #mouth-line-middle .second-item ul {
    -ms-flex-wrap: wrap;
    flex-wrap: wrap; }
    #mouth-line-middle .second-item ul li {
      width: 48%;
      position: relative; }
      #mouth-line-middle .second-item ul li p {
        line-height: 20px;
        bottom: 5px;
        height: 20px;
        top: inherit; }
  #sub-info-area.flex-base-sf {
    display: block; }
  #product-info .flex-base {
    display: block; }
  #product-info dl {
    width: 100%; } }

/* Medium devices (landscape tablets, 768px and up) */
@media only screen and (max-width: 500px) {
  .entry-title {
    line-height: 1.4;}
  .item-responsive-2 div,
  .item-responsive-2 li {
    width: 100% !important; }
  .fluid-img {
    width: 100% !important; }
  .hide_as_sf {
    display: none; }
  .hide_as_pc {
    display: block; }
  .round-title {
    width: 100%; }
  .inner-wrapper {
    -webkit-box-sizing: border-box;
    box-sizing: border-box; }
  .flex-base-sf {
    display: block; }
  .flex-base-sf-reverse {
    -webkit-box-orient: vertical;
    -webkit-box-direction: reverse;
    -ms-flex-direction: column-reverse;
    flex-direction: column-reverse; }
  .flex-base-sf-column {
    -webkit-box-orient: vertical;
    -webkit-box-direction: normal;
    -ms-flex-direction: column;
    flex-direction: column; }
  .item-responsive-3 li {
    width: 70%;
    text-align: center;
    margin: 3rem auto; }
  .item-responsive-3 li:first-child {
    margin-top: 0; }
  .item-responsive-3 li:last-child {
    margin-bottom: 0; }
  .doctor__name::after {
    display: table;
    clear: both;
    content: " "; }
  .doctor__left img {
    margin-top: -1.5rem;
    margin-left: -1rem; }
  #secondary,
  #index_wrap {
    padding: 1rem; }
  #blog-wrapper {
    margin-top: 15px; }
  .post .flex-base-sf > div {
    width: 100%; }
  .post .post-thumbnail {
    width: 80%;
    margin: 0 auto; }
  #pagenation-area {
    margin-top: 0;
    border-bottom: 1px solid #ccc;
    padding-bottom: 2rem; }
  .section-header {
    margin: 3.5rem 0 1.7rem 0; }
  #mechanism .flex-base > div {
    margin: 2rem 0; }
  #about p,
  #history p {
    padding: 0; }
  #about figure {
    width: 100% !important; }
  #history {
    margin-bottom: 0px; }
    #history .content-wrapper {
      -webkit-box-shadow: none;
      box-shadow: none;
      padding: 1rem; }
  #how-to-use .gradation-title {
    width: 110%;
    margin: -50px auto 0 -5%;
    -webkit-box-sizing: border-box;
    box-sizing: border-box; }
  #bottom-menu {
    margin-top: 0; }
    #bottom-menu a {
      width: 100%;
      margin: 2rem 0; }
    #bottom-menu span {
      width: 100%; }
  #sub-info-area {
    /*margin-top: 1rem;*/ }
  #information,
  #amazon-area {
    margin-bottom: 3rem; }
  #blog .flex-base li {
    margin-bottom: 2rem;
    width: 45% !important; }
  #blog .flex-base {
    -ms-flex-pack: distribute;
    justify-content: space-around; }
  header#sub-top-header h1 {
    font-size: 25px;
    padding: 55px 0;
    line-height: 1.2; }
    header#sub-top-header h1 span {
      display: block; }
  #main-header {
    margin-top: 40px; }
    #main-header h2 {
      font-size: 2.5em;
      line-height: 1.2; }
    #main-header p {
      font-size: 1em; }
  .sub-section-header h3 {
    margin-top: 70px; }
  #mouth-line-top {
    margin-top: 20px; }
    #mouth-line-top figure,
    #mouth-line-top div {
      width: 100%; }
    #mouth-line-top figure {
      position: relative;
      top: 0; }
    #mouth-line-top div {
      float: none;
      padding: 2rem; }
  #about-mechanism {
    margin-top: 100px; }
    #about-mechanism h2 {
      font-size: 2em;
      letter-spacing: -2px; }
  #prevention-top figure {
    width: 100%; }
  #graph-area-step {
    display: block; }
    #graph-area-step div {
      width: 100%;
      margin-bottom: 2rem; }
  #parts-area {
    width: 80%;
    margin: 0 auto; }
    #parts-area::after {
      width: 140%;
      left: -20%; }
  #step01 .flex-base {
    width: 100%; }
    #step01 .flex-base p {
      padding: 0 0.5rem; }
    #step01 .flex-base img {
      width: 100%;
      height: auto; }
  #step01,
  #step02,
  #step03,
  #step04 {
    padding: 90px 1rem 1rem; }
  #maintenance .flex-base {
    display: block; }
    #maintenance .flex-base div {
      width: 100%;
      margin-bottom: 2rem; }
      #maintenance .flex-base div img {
        width: 100%; }
  #frequent-question {
    margin-top: 50px; }
  #use-tips ul li {
    margin-top: 10px !important; }
  #inquiry-area p {
    width: 100%; }
  footer ul li a {
    padding-right: 1rem; }
  #contact-form dt {
    float: none;
    width: 100%; }
  #contact-form dd {
    padding-left: 0; }
    #contact-form dd input,
    #contact-form dd textarea {
      border: 1px solid #ddd; }
  #frequent-question dl dd {
    padding-left: 0; }
  #mouth-line-middle .second-item ul li p {
    font-size: 16px;
    bottom: 5px; }
  #how-to-put-on h2,
  #maintenance h2 {
    font-size: 2.5em; }
  .sub-section-header h3 {
    font-size: 2.5em;
    padding: 50px 0; }
  #maintenance .flex-base {
    margin-top: 50px; }
  #step01 div {
    width: 70%;
    margin-top: 1.8rem; }
  #step01::before,
  #step02::before,
  #step03::before,
  #step04::before {
    margin-left: -68px; }
  #primary {
    padding: 1rem; }
  #company .flex-base {
    display: block; } }

/* narrow devices  */
