/*For Smart phone and other min screen
--------------------------------------------------------------------------------------------*/

@media screen and (min-width: 767px) {
  /* PC時はMENUボタンを非表示 */
  #open,
  #close {
    display: none !important;
  }

  #navi {
    display: block !important;
  }
}

/*////////////////////////////////////////////////////////////////////////////////////*/
@media screen and (max-width: 767px) {
  .container {
    padding: 0px 0px 0px 0px;
  }

  .slogan {
    display: none;
  }

  .logo {
    position: relative;
    display: flex;
    margin: 0px 0px 0px 0px;
    padding: 0px 0px 0px 0px;
    width: 100%;
    height: 100%;
  }

  .logo img {
    /* width: 68%; */
    /* height: auto; */
    height: 35px;
    margin: 15px 0px 0px 15px;
    padding: 0px 0px 0px 0px;
  }

  .logo a:hover {
    /* color: #afafaf; */
    opacity: 1;
  }

  .box {
    display: block;
  }

  .head {
    flex-direction: column;
    text-align: left;
    margin: 0px 0px 0px 0px;
  }

  .side {
    max-width: 100%;
    border-left: none;
    margin: 0px 0px 0px 0px;
    padding: 0px 0px 0px 0px;
    order: 2;
  }

  .main_box {
    order: 1;
    margin: 0px 0px 0px 0px;
    padding: 10px 10px 0px 10px;
  }

  .bread_list {
    margin: 10px 0px 30px 0px;
  }

  .tile_item {
    float: left;
    max-width: 50%;
    background-color: #ffffff;
    margin: 0px 0px 0px 0px;
    padding: 5px 5px 5px 5px;
  }

  .item_text {
    font-size: 11px;
    margin: 0px 5px 0px 5px;
  }

  .item_price {
    font-size: 35px;
    margin: 0px 0px 5px 0px;
  }

  .item_tax {
    /* display: none; */
    font-size: 7px;
    writing-mode: vertical-rl;
    margin: 0px 0px -5px -10px;
    padding: 0px 0px 0px 0px;
    font-weight: bold;
    letter-spacing: 1px;
  }

  .sideTitle {
    font-size: 18px;
  }

  .side li {
    width: calc(50% - 10px);
    float: left;
    border: 1px solid #eeeeee;
    margin: 5px 5px 5px 5px;
    padding: 0px 0px 0px 0px;
    background-color: #fff;
    border-radius: 5px 5px 5px 5px;
  }

  .side li:hover {
    /* width: calc(50% - 6px);
    float: left; */
    border: 1px solid #eeeeee;
    background-color: #f4f4f4;
    /* margin: 3px 3px 3px 3px;
    padding: 0px 0px 0px 0px;
    border-radius: 5px 5px 5px 5px; */
  }

  .side a {
    display: block;
    padding: 15px 7px 15px 7px;
    font-size: 13px;
  }

  .sideTitle {
    clear: both;
    margin: 20px 0px 20px 0px;
    padding: 20px 0px 0px 0px;
  }

  .side_tweet {
    margin: 250px 0px 0px 0px;
    padding: 0px 0px 0px 0px;
  }

  .telbox {
    margin-left: 0;
    text-align: center;
  }

  .head #open,
  #close {
    position: absolute;
    top: 15px;
    right: 10px;
  }

  nav {
    z-index: 9999;
  }

  nav ul {
    flex-direction: column;
  }

  nav li {
    padding-top: 0;
    border-bottom: 1px solid #ccc;
    margin-bottom: 0;
    background-color: #ffffff;
  }

  nav a {
    color: #131313;
  }

  .contact {
    width: 100%;
    height: auto;
    /* display: block; */
    margin: 0px 0px 0px 0px;
    border: 0px solid #f991a1;
  }

  .phone {
    font-size: 28px;
    letter-spacing: 0.03em;
  }

  .contact p {
    font-size: 15px;
    margin: 0px 15px 0px 15px;
    padding: 0px 0px 0px 0px;
  }

  .contact h2 {
    margin: 40px 15px 0px 15px;
    padding: 0px 0px 0px 0px;
  }

  /*item for SmartPhone
  -------------------------------------*/

  .contact {
    background-color: #fff;
  }

  .item_text {
    width: 100%;
    margin: 0px 0px 0px 0px;
    padding: 20px 15px 0px 15px;
    clear: both;
  }

  .item_photo {
    width: 100%;
    margin: 0px 0px 0px 0px;
    padding: 0px 0px 0px 0px;
  }

  .item_yahoo:hover {
    opacity: 1;
  }

  .item_amazon:hover {
    opacity: 1;
  }

  .item_manual:hover {
    opacity: 1;
  }

  /* open and close button */
  #open,
  #close {
    display: inline;
    width: 50px;
    border: none;
    top: 15px;
    right: 10px;
  }

  /* when smart phone view navi is none */
  #navi {
    display: none;
  }

  @media screen and (max-width: 550px) {
    .container {
      width: 95vw;
      display: block;
    }

    /*
--------------------------------------------------*/

    header {
      /* background-color: yellow; */
      display: none;
    }

    /* 
--------------------------------------------------*/

    .logo {
      background-color: yellow;
    }
    .front_logo img {
      width: 90%;
      left: 3px;
    }
    .logo img {
      display: none;
    }

    /*
--------------------------------------------------*/

    .item_caption {
      margin: 50px 0px 80px 0px;
      width: 100%;
    }
    .item_tile {
      width: 100%;
      padding: 0 0 0 0;
      margin: 0 0 100px 0;
    }

    .item_tile h3 {
      font-size: 36px;
    }
    .item_txt_01 {
      font-size: 50px;
      line-height: 60px;
    }

    .item_txt_02 {
      font-size: 50px;
      line-height: 60px;
    }

    .item_txt_03 {
      font-size: 60px;
      line-height: 80px;
      padding: 0 0 0 0;
      margin: 0 0 30px 0;
    }

    .item_txt_04 {
      padding: 0 0 0 0;
      margin: 0 0 150px 0;
      text-align: left;
    }

    /*
--------------------------------------------------*/

    .price_img {
      width: 100%;
      margin: 0 0 0 0;
      padding: 80px 0 0 0;
    }

    .price_img img {
      padding: 5px;
      background-color: #ffffff;
    }
    .price_text {
      width: 100%;
    }
    .price_txt_03 {
      font-size: 50px;
      line-height: 60px;
      margin: 0 0 0 0;
      padding: 0 0 100px 0;
    }

    /*factory
--------------------------------------------------*/

    .factory_text {
      width: 100%;
      padding: 0 0 0 0;
      margin: 50px 0 100px 0;
    }
    .factory_txt_01 {
      font-size: 50px;
      line-height: 60px;
    }
    .factory_txt_03 {
      font-size: 60px;
      line-height: 60px;
      margin: 60px 0 100px 0;
    }

    .factory_img {
      width: 100%;
      margin: 0 0 0 0;
    }

    /*
--------------------------------------------------*/

    .template_caption {
      text-align: center;
      margin: 0 auto;
    }
    .template_txt_01 {
      display: none;
      font-size: 70px;
      line-height: 80px;
      padding: 80px 0 0 0;
      margin: 0 0 0 0;
      text-align: center;
    }

    .template_txt_02 {
      font-size: 50px;
      line-height: 80px;
      padding: 60px 0 20px 0;
      margin: 0 0 0 0;
      text-align: center;
    }

    .template_text {
      width: 100%;
    }

    /*
--------------------------------------------------*/

    .template_dl_sheet {
      width: 100%;
      /* margin: 0px 0px 150px 0px; */
      padding: 0px 0px 100px 0px;
      display: block;
      border-collapse: collapse;
    }

    /*
--------------------------------------------------*/
    .index_jump_estimate {
      /* min-height: auto; */
      /* display: inline-block; */
      min-height: 100vh;
    }
    .jump_estimate_txt_01 {
      display: block;
      font-size: 50px;
      line-height: 60px;
      margin: 130px 0px 50px 0px;
    }

    .jump_estimate_txt_02 {
      display: block;

      font-size: 50px;
      line-height: 70px;
      text-decoration: underline 10px rgb(255, 242, 0);
      text-underline-offset: 0em;
      margin: 20px 0px 0px 0px;
      padding: 0px 0px 100px 0px;
    }

    /*
--------------------------------------------------*/
    .contact_text {
      width: 100%;
      padding: 0px 0px 100px 0px;
      margin: 0 0 0 0;
    }

    .contact_txt_01 {
      font-size: 60px;
      line-height: 60px;
      display: none;
    }

    .contact_txt_02 {
      margin: 20px 20px 20px 20px;
      /* margin: 20px 0px 0px 0px; */
      padding: 150px 0px 0px 0px;
    }

    .contact_arrow {
      display: none;
    }

    .contact_in_mobile{
      font-size: 22px;
      display: block;
      background-color: white;
      margin: 20px 20px 20px 20px;
      padding: 20px 0px 20px 0px;
      border-radius: 10px;
    }

    /*
--------------------------------------------------*/

    .logo img {
      height: 30px;
      margin: 20px 0px 0px 10px;
    }

    .qa .dt {
      padding: 3px 45px 3px 20px;
    }

    .akd_box h3 {
      font-size: 16px;
    }

    /*
--------------------------------------------------*/

    .item_title {
      font-size: 20px;
    }

    .tile_item {
      padding: 6px 6px 6px 6px;
    }

    /*
--------------------------------------------------*/

    .tile_title {
      font-size: 12px;
      line-height: 19px;
    }

    .tile_caption {
      font-size: 11px;
      line-height: 18px;
    }

    .tile_text {
      height: 70px;
    }

    .tile_price {
      font-size: 12px;
    }

    br {
      display: none;
    }

    /*
--------------------------------------------------*/

    footer br {
      display: block;
    }

    .footer_list {
      width: 100%;
    }

    /*
--------------------------------------------------*/

    .under_box p {
      font-size: 13px;
      line-height: 27px;
    }

    .under_box,
    .side,
    footer .container,
    .story {
      margin: 0px 10px 0px 10px;
    }
  }

  @media screen and (max-width: 350px) {
    .tile_title {
      font-size: 13px;
    }

    .tile_caption {
      font-size: 10px;
    }
  }
}
