@media screen and (max-width:767px) {

  /*freespace*/
  .block-genre-page>h1 {
    padding-left: 15px;
  }

  .block-genre-page--header-freespace {
    padding: 0 10px;
    margin-bottom: 40px;
  }

  .block-genre-page h1 {
    margin: 0 0 10px;
    padding: 20px 0 0;
  }

  .genre--img {
    margin-bottom: 10px;
    display: block;
  }

  /*list*/
  .block-thumbnail-t--goods-image figure {
    padding: 0;
  }

  .block-thumbnail-t--goods-name {
    margin-bottom: 5px;
    font-weight: bold;
  }

  .variation-name {
    margin-bottom: 5px;
  }

  .block-thumbnail-t--price-infos {
    text-align: right;
  }

  /*bottom*/
  .lineup:after {
    content: "";
    display: block;
    width: 100vw;
    height: 160px;
    background-image: url("/img/usr/top/bg_sec_2_sp.png");
    background-size: cover;
    position: absolute;
    left: 0;
    bottom: 0px;
    z-index: 1;
  }

  .lineup_inr {
    background-color: #a89786;
    width: 100%;
    margin: 0 auto;
    -webkit-padding-before: 40px;
    padding-block-start: 40px;
    -webkit-padding-after: 120px;
    padding-block-end: 160px;
    position: relative;
    z-index: 1;
  }

  h2.lineup_ttl {
    width: 100%;
    margin: 0;
    padding: 0 15px;
    display: -webkit-box;
    display: -ms-flexbox;
    display: flex;
    -webkit-box-align: center;
    -ms-flex-align: center;
    align-items: center;
  }

  h2.lineup_ttl:before,
  h2.lineup_ttl:after {
    content: "";
    height: 2px;
    -webkit-box-flex: 1;
    -ms-flex-positive: 1;
    flex-grow: 1;
    background-color: #191512;
    margin-top: 20px;
  }

  h2.lineup_ttl img {
    width: 186px;
    height: 114px;
    margin: 0 12px;
  }

  .lineup_items {
    width: 100%;
    padding: 15px 15px 0;
    display: -ms-grid;
    display: grid;
    gap: 30px;
  }

  .lineup_item {
    width: 100%;
  }

  .lineup_item_container {
    background: #fff;
    border: 2px solid #000;
    position: relative;
  }

  .lineup_item_num {
    margin-bottom: 14px;
    font-family: "Oswald", sans-serif;
    font-size: 70px;
    font-weight: 500;
    line-height: 1.1;
    color: #524840;
  }

  .lineup_item_head {
    width: auto;
    height: 46px;
    padding: 0 0.75em;
    display: -webkit-box;
    display: -ms-flexbox;
    display: flex;
    -webkit-box-align: center;
    -ms-flex-align: center;
    align-items: center;
    -webkit-box-pack: center;
    -ms-flex-pack: center;
    justify-content: center;
    background: #524840;
    color: #fff;
    font-size: 19px;
    position: absolute;
    top: -25px;
    left: -2px;
  }

  .lineup_item_img_container {
    width: 100%;
    -webkit-padding-before: 40px;
    padding-block-start: 40px;
    -webkit-padding-after: 20px;
    padding-block-end: 20px;
    display: -webkit-box;
    display: -ms-flexbox;
    display: flex;
    -webkit-box-align: center;
    -ms-flex-align: center;
    align-items: center;
    -webkit-box-pack: center;
    -ms-flex-pack: center;
    justify-content: center;
    gap: 15px;
    background: #e3d8cd;
  }

  .lineup_item_img_left {
    width: 100px;
    height: 180px;
  }

  .lineup_item_img_right {
    width: 189px;
    height: 153px;
    -webkit-padding-before: 2px;
    padding-block-start: 2px;
  }

  .lineup_item_misc {
    width: 100%;
    margin: 0 auto;
    padding: 20px;
    font-weight: 600;
    color: #000;
  }

  .lineup_item_catch {
    font-size: 24px;
  }

  .lineup_item_name {
    margin-top: 5px;
    font-size: 18px;
  }

  .lineup_item_note {
    font-size: 13px;
    font-weight: 400;
    margin-top: 10px;
  }

  .lineup_item_price {
    margin-top: 15px;
    display: -webkit-box;
    display: -ms-flexbox;
    display: flex;
    -webkit-box-align: end;
    -ms-flex-align: end;
    align-items: flex-end;
    -webkit-box-pack: end;
    -ms-flex-pack: end;
    justify-content: flex-end;
  }

  .lineup_item_price .main {
    font-size: 20px;
  }

  .lineup_item_price .sub {
    -webkit-padding-after: 5px;
    padding-block-end: 5px;
    -webkit-padding-start: 5px;
    padding-inline-start: 5px;
    font-size: 12px;
  }

  a.lineup_item_buttom {
    width: 100%;
    height: 57px;
    margin-top: 20px;
    display: -webkit-box;
    display: -ms-flexbox;
    display: flex;
    -webkit-box-align: center;
    -ms-flex-align: center;
    align-items: center;
    -webkit-box-pack: center;
    -ms-flex-pack: center;
    justify-content: center;
    background: #191512;
    font-size: 16px;
    font-weight: 600;
    color: #fff;
    text-decoration: none;
    position: relative;
    -webkit-transition: opacity 0.3s ease;
    transition: opacity 0.3s ease;
  }

  a.lineup_item_buttom:after {
    content: '';
    display: block;
    width: 23px;
    height: 8px;
    background-image: url("/img/usr/icon/icon_arrow_wht.svg");
    background-position: left bottom;
    background-repeat: no-repeat;
    position: absolute;
    top: calc(50% - 4px);
    right: 18px;
  }


  .lineup_notice {
    background: #fff;
    margin: 20px auto 0;
    padding: 10px 15px;
    text-align: center;
    font-weight: bold;
    width: calc(100% - 30px);
  }

  .lineup_notice h5 {
    font-size: 16px;
    text-decoration: underline;
    line-height: 2;
    font-weight: bold;
    color: crimson;
  }

  #category-grid {
    display: flex;
    flex-wrap: wrap;
    gap: 15px;
    padding: 15px;
  }

  .block-category-style-p--item {
    width: calc((100% - 15px) / 2);
    background: #fff;
    border: 2px solid #191512;
    padding: 15px;
  }

  .block-category-style-p--item:first-child {
    display: none;
  }

  .block-category-style-p--item a {
    text-decoration: none;
  }

  h3.block-category-style-p--item-name {
    padding: 0;
    margin-bottom: 10px;
    font-size: 16px;
  }

}

@media screen and (min-width:787px) {
  .block-genre-page--header-freespace {
    display: grid;
    grid-template-columns: 25% auto;
    grid-template-rows: 50px auto;
    margin-bottom: 40px;
  }

  h1.h1.block-genre-page--header {
    grid-column: 2 / 3;
    grid-row: 1 / 2;
    margin: 0 0 10px;
    padding-left: 20px;
  }

  .genre--img {
    grid-column: 1 / 2;
    grid-row: 1 / 3;
  }

  p.genre--comment {
    padding-left: 20px;
    grid-column: 2 / 3;
    grid-row: 2 / 3;
  }
}