@charset "utf-8";

.category_midashi {
    height: 1.5em;
    line-height: 1.7em;
    background: #336666;
    color: #ffffff;
    font-size: 1.8em;
    font-weight: normal;
    text-indent: 1.7em;
    margin: 30px 0 15px;
    background-image: url(https://bicklycarpet.photo/mat/category/mat_houseico.gif);
    background-position: 10px center;
    background-repeat: no-repeat;
    background-size: 1em 1em;
    position: relative;
  }

  .category_midashi:after {
    content: ' ';
    width: 0;
    height: 0;
    position: absolute;
    border: 10px solid transparent;
    border-top-color: #336666;
    top: 100%;
    left: 5%;
  }

  .rail_top h3 {
    padding: 0 !important;
    margin-bottom: -2% !important;
  }

  .rail_top img {
    padding-bottom: 0 !important;
    margin-bottom: 0 !important;
  }

  .a_link {
    border: solid 1px #ccc;
  }

  .sp_br {
    display: none;
  }

  .rail_disc {
    background: #336666;
    padding: 1rem;
    margin: 0;
    color: #fff;
    text-align: center;
  }

  .rail_h4 {
    display: block;
    position: relative;
    margin-bottom: 20px;
  }

  .rail_h4 span {
    font-size: 120%;
    color: #336666;
    font-weight: bold;
    background: #fff;
    padding: 0 15px 0 0;
    z-index: 2;
  }

  .rail_h4:before {
    position: absolute;
    display: block;
    content: "";
    top: 50%;
    width: 775px;
    height: 2px;
    margin-top: -1px;
    background: #EFEFEF;
    z-index: -1;
    text-align: center;
  }

  .midashi4 span {
    display: block;
    text-align: center;
    color: #ccc;
    font-size: 1rem;
    font-family: 'Yellowtail', cursive;
    font-weight: normal;
  }

  .midashi4 {
    border-top: 2px dotted #ccc;
    margin-top: 5rem;
    text-align: center;
    color: #336666;
    font-size: 2.5em;
    line-height: 150%;
    font-family: 'Noto Sans JP', sans-serif;
    font-weight: normal;
  }

  .rail_price {
    font-size: 1rem;
    display: block;
    text-align: right;
    color: #cc0000;
  }

  .kinou_wrap {
    border: 1px solid #ccc;
    margin: 20px 0 0;
    display: flex;
    width: 100%;
    flex-wrap: wrap;
    justify-content: space-between;
  }

  .kinou_wrap a {
    display: block;
    width: 50%;
  }

  .kinou_wrap img {
    padding-bottom: 0 !important;
    margin-bottom: 0 !important;
  }

  @media (max-width: 767px) {
    .sp_br {
      display: block;
    }

    .midashi4 {
      font-size: 2em;
    }

    .category_midashi {
      text-indent: 1.5em;
    }

    .kinou_wrap a {
      display: block;
      width: 100%;
    }

    .rail_price {
      font-size: 1rem !important;
      color: #cc0000;
    }

    .rail_h4:before {
      width: 100%;
    }
  }

  /*伸縮式カーテンレールのnav*/
  #cu-rail_wrap a {
    color: #333;
    text-decoration: none;
  }

  .glaymenu_wrap {
    display: flex;
    justify-content: center;
    text-align: center;
    margin-top: 50px;
    margin-bottom: 50px;
  }

  .glaymenu_wrap .glaymenu {
    width: 30%;
    padding: 6px 22px;
    margin: 0 10px;
    border: 10px #f3f3f3 solid;
    font-size: 0.9rem;
    font-weight: bold;
  }

  .glaymenu .border_b {
    padding-bottom: 0.5rem;
  }

  .glaymenu .menu_type {
    padding-top: 0.5rem;
    font-size: 1rem;
    display: inline-block;
  }

  .sinsyuku_midasi {
    padding-left: 15px;
    text-align: left;
    border-left: 6px double #000;
    font-weight: 600;
    font-size: 1.4rem;
  }

  .sp_br {
    display: none;
  }

  @media screen and (max-width: 480px) {
    .glaymenu_wrap {
    margin-top: 40px;
    margin-bottom: 40px;
}
    .glaymenu_wrap .glaymenu {
      width: 45%;
    }

    .sinsyuku_midasi {
      font-size: 1.1rem;
      margin-left: 10px;
    }

    .sp_br {
      display: block;
    }
  }
  /*装飾レール-ナチュラルデザイン*/
  #natural_rail{
    justify-content: space-evenly;
  }