#contents {
  margin-top: 210px;
  position: relative;
}
@media screen and (max-width: 750px) {
  #contents {
    margin-top: 88px;
  }
  .ui_tit01>.en {
    letter-spacing: 0;
  }
}

#bgTop {
  background-image: url(../images/pic_pagetitle.png);
}
@media (min-width: 751px) and (-webkit-min-device-pixel-ratio: 2), (min-width: 751px) and (min-resolution: 2dppx) {
  #bgTop {
    background-image: url(../images/pic_pagetitle@2x.png);
  }
}
@media (max-width: 750px) {
  #bgTop {
    background-image: url(../images/pic_pagetitle_sp.png);
  }
}

/*******************************************************
 Search Form
 *******************************************************/
#search .ui_box01 {
  margin-top: 0;
}
#search form {
  padding: 40px;
  background: #f2f1e6;
}
#search .form_inner {
  padding: 40px;
  background: #fff;
}
#search .search_item {
  display: flex;
}
#search .search_item + .search_item {
  margin-top: 20px;
  padding-top: 20px;
  border-top: 1px solid #f2f1e6;
}
#search .search_item h3 {
  width: 150px;
}
#search .search_item dl,
#search .search_item > div,
#search .search_item > ul {
  display: flex;
  flex: 1;
}
#search .search_item dt {
  width: 200px;
}
#search .search_item .term_btn {
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 5px 0;
  background: #f19149;
  color: #fff;
  text-decoration: none;
}
#search .search_item dd {
  flex: 1;
  margin-left: 20px;
  padding-top: 5px;
}
#search .search_item > ul {
  flex-wrap: wrap;
}
#search .search_item > ul li {
  display: flex;
  align-items: center;
  margin-right: 20px;
}
#search .search_item .term_btn svg {
  margin-right: 5px;
  fill: #fff;
}
#search .search_item .tags span {
  margin-right: 20px;
}
#search .search_item input[type=text] {
  display: block;
  width: 100%;
  max-width: 300px;
  padding: 10px;
  border: 1px solid #666;
  line-height: 1;
}
#search .search_item input[type=checkbox] {
  display: none;
}
#search .search_item input[type=checkbox] + label {
  padding-left: 26px;
  position: relative;
}
#search .search_item input[type=checkbox] + label:before {
  content: '';
  display: block;
  width: 16px;
  height: 16px;
  margin: auto;
  background: #fff;
  border: 1px solid #666;
  position: absolute;
  top: 0;
  bottom: 0;
  left: 0;
}
#search .search_item input[type=checkbox] + label:after {
  content: '';
  display: block;
  width: 12px;
  height: 8px;
  margin: auto;
  border-left: 3px solid #d70b18;
  border-bottom: 3px solid #d70b18;
  position: absolute;
  top: -4px;
  bottom: 0;
  left: 2px;
  transform: rotate(-45deg);
  opacity: 0;
}
#search .search_item input[type=checkbox]:checked + label:after {
  opacity: 1;
}
#search .search_item select {
  display: block;
  width: 200px;
  margin-left: 10px;
  padding: 10px;
  border: 1px solid #666;
  line-height: 1;
}
@media screen and (max-width: 750px) {
  #search form {
    padding: 40px 0;
  }
  #search .search_item,
  #search .search_item dl,
  #search .search_item > div,
  #search .search_item > ul {
    display: block;
  }
  #search .search_item h3 {
    width: 100%;
    margin-bottom: 20px;
    font-size: 32px;
  }
  #search .search_item dt {
    width: 100%;
  }
  #search .search_item dd {
    margin: 20px auto 0;
    padding: 0;
  }
  #search .search_item > ul li {
    margin-right: 0;
  }
  #search .search_item > ul li + li {
    margin-top: 20px;
  }
  #search .search_item .term_btn {
    padding: 10px 0;
  }
  #search .search_item .term_btn svg {
    width: 32px;
    height: 32px;
  }
  #search .search_item select {
    flex: 1;
    margin-left: 20px;
    padding: 20px;
    border-width: 2px;
    font-size: 32px;
  }
  #search .search_item input[type=text] {
    max-width: 100%;
    padding: 20px;
    border-width: 2px;
    font-size: 32px;
  }
  #search .search_item input[type=checkbox] + label {
    padding-left: 52px;
  }
  #search .search_item input[type=checkbox] + label:before {
    width: 32px;
    height: 32px;
  }
  #search .search_item input[type=checkbox] + label:after {
    width: 24px;
    height: 16px;
    border-left-width: 6px;
    border-bottom-width: 6px;
    top: -8px;
    left: 4px;
  }
}

/* toggle button */
#search .toggle_button {
  display: flex;
  justify-content: center;
  margin-top: 20px;
}
#search .toggle_button a {
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 10px 30px;
  background: #fff;
  color: #000;
  text-decoration: none;
}
#search .toggle_button a span {
  margin-left: 10px;
}
@media screen and (max-width: 750px) {
  #search .toggle_button a {
    padding: 30px;
    line-height: 1;
  }
  #search .toggle_button a span {
    margin-left: 20px;
  }
  #search .toggle_button svg {
    width: 48px;
    height: 48px;
  }
}

/* search button */
@media screen and (max-width: 750px) {
  #search .btnDetail {
    width: 100%;
    padding: 0 40px;
  }
}


/*******************************************************
 Modal
 *******************************************************/
#overlay {
  display: none;
  align-items: center;
  justify-content: center;
  width: 100%;
  height: 100%;
  background: rgba(0,0,0,.26);
  position: fixed;
  top: 0;
  bottom: 0;
  z-index: 999;
}
#overlay.active {
  display: flex;
}
#overlay .content {
  display: flex;
  width: 100%;
  max-width: 768px;
  max-height: 90%;
  padding: 40px;
  background: #fff;
  position: relative;
}
#overlay .close_modal {
  display: flex;
  align-items: center;
  padding: 5px 10px;
  border: 1px solid #d70b18;
  color: #d70b18;
  line-height: 1;
  text-decoration: none;
  position: absolute;
  right: 40px;
  top: 40px;
  z-index: 2;
}
#overlay .close_modal svg {
  fill: #d70b18;
}
#overlay .content > div {
  display: grid;
  width: 100%;
  grid-template-rows: 70px 1fr;
  position: relative;
}
#overlay .content h2 {
  grid-column: 1;
  grid-row: 1;
  margin-bottom: 40px;
  font-size: 18px;
  letter-spacing: .024em;
  line-height: 30px;
}
#overlay .content .scroll {
  grid-column: 1;
  grid-row: 2;
  overflow-y: auto;
}
#overlay .content .flexbox {
  display: flex;
  border-top: 1px solid rgba(0,0,0,.3);
}
#overlay .content .flexbox:last-of-type {
  border-bottom: 1px solid rgba(0,0,0,.3);
}
#overlay .content .flexbox h4 {
  width: 200px;
  padding: 20px;
  background: #f2f1e6;
}
#overlay .content .flexbox > ul {
  padding: 20px;
}
#overlay .content .flexbox ul {
  flex: 1;
}
#overlay .content .flexbox li {
  width: 100%;
}
#overlay .content .flexbox > ul > li + li {
  margin-top: 20px;
  padding-top: 20px;
  border-top: 1px solid rgba(0,0,0,.1);
}
#overlay .content .flexbox li.g_child {
  width: 100%;
}
#overlay .content .flexbox li.g_child ul {
  display: flex;
  flex-wrap: wrap;
  margin-top: 10px;
}
#overlay .content .flexbox li.g_child ul li {
  width: auto;
  margin: 5px 20px 0 0;
}
#overlay .content .flexbox input {
  display: none;
}
#overlay .content .flexbox label {
  display: block;
  padding: 5px 5px 5px 26px;
  line-height: 1;
  position: relative;
}
#overlay .content .flexbox label:before {
  content: '';
  display: block;
  width: 16px;
  height: 16px;
  margin: auto;
  background: #fff;
  border: 1px solid rgba(0,0,0,.3);
  position: absolute;
  top: 0;
  bottom: 0;
  left: 0;
}
#overlay .content .flexbox input + label:after {
  content: '';
  display: block;
  width: 12px;
  height: 8px;
  margin: auto;
  border-left: 3px solid #d70b18;
  border-bottom: 3px solid #d70b18;
  opacity: 0;
  position: absolute;
  top: -4px;
  bottom: 0;
  left: 2px;
  transform: rotate(-45deg);
}
#overlay .content .flexbox input:checked + label:after {
  opacity: 1;
}
@media screen and (max-width: 750px) {
  #overlay .close_modal {
    padding: 15px 20px;
    font-size: 32px;
  }
  #overlay .close_modal svg {
    width: 32px;
    height: 32px;
    margin-right: 8px;
  }
  #overlay .content > div {
    grid-template-rows: 104px 1fr;
  }
  #overlay .content h2 {
    font-size: 32px;
    line-height: 64px;
  }
  #overlay .content .flexbox {
    flex-wrap: wrap;
  }
  #overlay .content .flexbox h4 {
    width: 100%;
    padding: 40px;
  }
  #overlay .content .flexbox ul {
    flex: none;
    width: 100%;
  }
  #overlay .content .flexbox > ul {
    padding: 40px 0;
  }
  #overlay .content .flexbox label {
    padding: 10px 10px 10px 52px;
  }
  #overlay .content .flexbox label:before {
    width: 32px;
    height: 32px;
  }
  #overlay .content .flexbox input + label:after {
    width: 24px;
    height: 16px;
    border-left-width: 6px;
    border-bottom-width: 6px;
    top: -8px;
    left: 4px;
  }
}


/*******************************************************
 Sort
 *******************************************************/
#sort {
  margin-bottom: 40px;
}
#sort ul {
  display: flex;
}
#sort ul li {
  flex: 1;
  padding: 12px 0;
  border: 1px solid #f2f1e6;
  color: #d70b18;
  text-align: center;
}
#sort ul li.button {
  border-left: none;
  cursor: pointer
}
#sort ul.new li.new,
#sort ul.old li.old,
#sort ul.views li.views {
  background: #d70b18;
  border-color: #d70b18;
  color: #fff;
}
#sort ul li:first-of-type {
  background: #f2f1e6;
  border-color: #f2f1e6;
  color: #333;
}
@media screen and (max-width: 750px) {
  #sort ul {
    flex-wrap: wrap;
  }
  #sort ul li:first-of-type {
    flex: none;
    width: 100%;
    padding: 0;
    margin-bottom: 20px;
    background: none;
    border: none;
    font-weight: 600;
    line-height: 1;
    text-align: left;
  }
  #sort ul li:nth-of-type(2) {
    border-left: 1px solid #f2f1e6;
  }
}


/*******************************************************
 Offer List
 *******************************************************/
.offer_list {
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  position: relative;
  z-index: 1;
}
.offer_list .item {
  width: -webkit-calc(50% - 50px);
  width: calc(50% - 50px);
}
.offer_list .item .image {
  padding-top: 52%;
}
.offer_list .item .info {
  display: flex;
  align-items: center;
  flex-wrap: wrap;
  gap: 0 20px;
  margin-top: 10px;
}
.offer_list .item .info p {
  display: flex;
  align-items: center;
  font-size: 14px;
}
.offer_list .item .info svg {
  width: 20px;
  height: 20px;
}
.offer_list .item .tags {
  display: flex;
  flex-wrap: wrap;
}
.offer_list .item .tags span {
  display: block;
  margin: 10px 10px 0 0;
  padding: 10px;
  background: #f6aa5a;
  cursor: pointer;
  color: #fff;
  font-size: 14px;
  line-height: 1;
}
.offer_list .item .tags span.sub {
  background: #f2f1e6;
  color: #444;
}
@media screen and (min-width: 751px) {
  .offer_list .item:nth-of-type(n + 3) {
    margin-top: 100px;
  }
}
@media screen and (max-width: 750px) {
  .offer_list .item {
    width: 100%;
  }
  .offer_list .item + .item {
    margin-top: 120px;
  }
  .offer_list .item .info {
    gap: 0 40px;
    margin-top: 20px;
  }
  .offer_list .item .info p {
    font-size: 28px;
  }
  .offer_list .item .info svg {
    width: 40px;
    height: 40px;
  }
  .offer_list .item .tags span {
    margin: 20px 20px 0 0;
    padding: 20px;
    font-size: 28px;
  }
}



/*******************************************************
 Pagination
 *******************************************************/
.page_navi {
  margin-top: 80px;
}
.page_navi .pagination {
  display: flex;
  flex-wrap: wrap;
}
.page_navi .pagination .page-item {
  line-height: 1;
}
.page_navi .pagination .page-numbers {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 40px;
  height: 40px;
  margin-right: 10px;
  border: 1px solid #d70b18;
  cursor: pointer;
  color: #d70b18;
}
.page_navi .pagination .page-numbers.current {
  background: #d70b18;
  color: #fff;
}
.page_navi .pagination .page-numbers.prev,
.page_navi .pagination .page-numbers.next {
  background: #f2f1e6;
  border-color: #f2f1e6;
  color: #444;
  position: relative;
}
.page_navi .pagination .page-numbers.prev:before,
.page_navi .pagination .page-numbers.next:before {
  content: '';
  display: block;
  width: 24px;
  height: 24px;
  margin: auto;
  background: transparent center / contain no-repeat;
  position: absolute;
  top: 0;
  bottom: 0;
  left: 0;
  right: 0;
  pointer-events: none;
}
.page_navi .pagination .page-numbers.prev:before {
  background-image: url('data:image/svg+xml;charset=utf8,%3Csvg%20role%3D%22img%22%20xmlns%3D%22http%3A%2F%2Fwww.w3.org%2F2000%2Fsvg%22%20width%3D%2224px%22%20height%3D%2224px%22%20viewBox%3D%220%200%2024%2024%22%20aria-labelledby%3D%22chevronLeftIconTitle%22%20stroke%3D%22%23444%22%20stroke-width%3D%222%22%20stroke-linecap%3D%22square%22%20stroke-linejoin%3D%22miter%22%20fill%3D%22none%22%20color%3D%22%23444%22%3E%20%3Ctitle%20id%3D%22chevronLeftIconTitle%22%3EChevron%20Left%3C%2Ftitle%3E%20%3Cpolyline%20points%3D%2214%2018%208%2012%2014%206%2014%206%22%2F%3E%20%3C%2Fsvg%3E');
}
.page_navi .pagination .page-numbers.next:before {
  background-image: url('data:image/svg+xml;charset=utf8,%3Csvg%20role%3D%22img%22%20xmlns%3D%22http%3A%2F%2Fwww.w3.org%2F2000%2Fsvg%22%20width%3D%2224px%22%20height%3D%2224px%22%20viewBox%3D%220%200%2024%2024%22%20aria-labelledby%3D%22chevronRightIconTitle%22%20stroke%3D%22%23444%22%20stroke-width%3D%222%22%20stroke-linecap%3D%22square%22%20stroke-linejoin%3D%22miter%22%20fill%3D%22none%22%20color%3D%22%23444%22%3E%20%3Ctitle%20id%3D%22chevronRightIconTitle%22%3EChevron%20Right%3C%2Ftitle%3E%20%3Cpolyline%20points%3D%2210%206%2016%2012%2010%2018%2010%2018%22%2F%3E%20%3C%2Fsvg%3E');
}