.tag::before, .new_item_img::after, .article_item_img::after, .purchase_link::before, .breadcrumb ol li:not(:last-child)::after {
  /* use !important to prevent issues with browser extensions that change fonts */
  font-family: 'icomoon' !important;
  speak: none;
  font-style: normal;
  font-weight: normal;
  font-variant: normal;
  text-transform: none;
  line-height: 1;
  /* Better Font Rendering =========== */
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}

header .search .close::before, header .search .close::after, header .search::after, header .search.open .icon_search, .searchModal {
  transition: all .3s linear;
}

header .search .icon_search, header .search.open .close::before, header .search.open .close::after {
  transition: all .3s .3s linear;
}

/*----------------------------------------------------------
--------------------------common----------------------------
----------------------------------------------------------*/
.contents {
  max-width: 1100px;
  width: 100%;
  margin-left: auto;
  margin-right: auto;
}

.hover_wrap {
  overflow: hidden;
}

.hover img {
  transition: .3s;
}

.hover:hover img {
  transform: scale(1.2);
}

.tag {
  display: -ms-flexbox;
  display: flex;
  -ms-flex-flow: wrap;
      flex-flow: wrap;
  text-indent: -28px;
  padding-left: 24px;
  line-height: 1.4;
}

.tag::before {
  content: "\e90b";
  font-size: 2rem;
  vertical-align: -2px;
}

.tag span {
  text-indent: 0;
  display: inline-block;
}

.tag span:not(:last-child)::after {
  content: '/';
  margin: 0 2px;
}

.modal_on {
  width: 100vw;
  height: 100vh;
  overflow: hidden;
}

.close {
  display: inline-block;
  width: 30px;
  height: 30px;
  position: relative;
}

.close::before, .close::after {
  width: 32px;
  height: 4px;
  background: #000;
  content: '';
  display: inline-block;
  position: absolute;
  top: 13px;
  left: -1px;
}

.close::before {
  transform: rotate(45deg);
}

.close::after {
  transform: rotate(-45deg);
}

.pageTitle {
  background: #fceded;
  border-top: 1px solid #ec8787;
  line-height: 1.4;
  font-weight: bold;
}

.title {
  position: relative;
  text-align: center;
}

.title span:not([class]) {
  text-indent: -9999px;
  display: inline-block;
}

.title_img {
  position: relative;
  z-index: 2;
  background: #fff;
  display: inline-block;
}

.title::before {
  width: 100%;
  height: 1px;
  background: #ccc;
  position: absolute;
  left: 0;
  top: 50%;
  content: '';
  display: block;
  z-index: 1;
  margin-top: -1px;
}

.title .mb_8 {
  margin-bottom: 8px;
}

.title a {
  font-size: 1.4rem;
  position: absolute;
  right: 0;
  top: 50%;
  background: #fff;
  margin-top: -8px;
  z-index: 2;
  display: inline-block;
  padding-left: 12px;
}

.title a > span {
  margin-right: 8px;
}

.title.bold::before {
  height: 2px;
  background: #333;
  margin-top: -2px;
}

.lead {
  line-height: 1.6;
}

/*----------------------------------------------------------
-----------------------header-------------------------------
----------------------------------------------------------*/
header {
  position: relative;
}

header .contents {
  display: -ms-flexbox;
  display: flex;
  -ms-flex-align: center;
      align-items: center;
  -ms-flex-pack: justify;
      justify-content: space-between;
}

header * {
  outline: none;
}

header .logo img {
  height: auto;
  display: block;
}

header .search {
  width: 30px;
  height: 30px;
  position: relative;
  cursor: pointer;
}

header .search .icon_search,
header .search .close {
  position: absolute;
  top: 0;
  left: 0;
}

header .search .icon_search {
  font-size: 3rem;
}

header .search:not(.open) .close::before, header .search:not(.open) .close::after {
  transform: rotate(0);
  opacity: 0;
}

header .search::after {
  content: 'close';
  font-size: 0.8rem;
  position: absolute;
  bottom: -10px;
  left: 0;
  opacity: 0;
  width: 100%;
  display: block;
  text-align: center;
}

header .search.open .icon_search {
  transform: rotateY(-90deg);
  opacity: 0;
}

header .search.open::after {
  opacity: 1;
}

.searchModal {
  position: absolute;
  left: 0;
  width: 100%;
  height: 100vh;
  background: #fff;
  z-index: 9999;
  opacity: 0;
  pointer-events: none;
}

.searchModal.on {
  opacity: 1;
  pointer-events: auto;
}

.searchModal form {
  display: -ms-flexbox;
  display: flex;
  -ms-flex-align: start;
      align-items: flex-start;
  width: 100%;
}

.searchModal input {
  border: 1px solid #ccc;
  border-radius: 4px;
  height: 40px;
  padding: 0 14px;
  width: calc(100% - 72px);
  min-width: 1px;
}

.searchModal button {
  background: #ec8787;
  border-radius: 4px;
  padding: 14px 18px;
  color: #fff;
  font-size: 1.2rem;
  white-space: nowrap;
  margin-left: 10px;
}

/*----------------------------------------------------------
--------------------------ranking---------------------------
----------------------------------------------------------*/
.ranking {
  display: -ms-flexbox;
  display: flex;
  -ms-flex-align: start;
      align-items: flex-start;
  counter-reset: ranking;
}

.ranking_item {
  position: relative;
}

.ranking_item::before {
  border: 24px solid #333;
  border-left: 24px solid transparent;
  border-right: 24px solid transparent;
  border-top: 24px solid transparent;
  top: -16px;
  left: -16px;
  transform: rotate(-45deg);
  content: '';
  position: absolute;
  z-index: 2;
}

.ranking_item::after {
  position: absolute;
  counter-increment: ranking;
  content: counter(ranking) "";
  font-size: 1.2rem;
  font-weight: bold;
  color: #fff;
  z-index: 3;
}

.ranking_item_1::before {
  border-bottom-color: #ffcc00;
}

.ranking_item_1::after {
  color: #000;
}

.ranking_item_2::before {
  border-bottom-color: #cfe3e5;
}

.ranking_item_2::after {
  color: #000;
}

.ranking_item_3::before {
  border-bottom-color: #ab7c39;
}

.ranking_item_img {
  display: block;
  position: relative;
  z-index: 1;
}

.ranking_item_img img {
  width: 100%;
  height: auto;
  vertical-align: bottom;
  border: 4px solid transparent;
}

.ranking_item_1 .ranking_item_img img {
  border-color: #ffcc00;
}

.ranking_item_2 .ranking_item_img img {
  border-color: #cfe3e5;
}

.ranking_item_3 .ranking_item_img img {
  border-color: #ab7c39;
}

.ranking_item_info {
  line-height: 1.6;
}

.ranking_item_info * {
  font-weight: normal;
}

/*----------------------------------------------------------
-----------------------new----------------------------------
----------------------------------------------------------*/
.new {
  display: -ms-flexbox;
  display: flex;
  -ms-flex-flow: wrap;
      flex-flow: wrap;
  border-bottom: 1px solid #ccc;
}

.new_item:nth-child(-n+5):not(.new_old) .new_item_img::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  background: url(/mansion/cmn/img/icon_new.svg) no-repeat;
  background-size: 100%;
}

.new_item_img {
  width: 100%;
  margin-bottom: 14px;
  position: relative;
  display: block;
}

.new_item_img::after {
  width: 0;
  height: 0;
  content: '\e903';
  position: absolute;
  color: #ec8787;
  transform: rotate(45deg);
  line-height: 0.05;
  text-indent: -10px;
}

.new_item_img img {
  width: 100%;
  height: auto;
  vertical-align: bottom;
}

.new_item_info > span:not(.tag) {
  display: block;
}

.new_item_category {
  color: #d15858;
  font-size: 1.2rem;
  margin-bottom: 8px;
  line-height: 1.6;
}

.new_item_name {
  line-height: 1.6;
}

.new_item_name b {
  font-weight: normal;
}

.new_item_tag {
  font-size: 1.4rem;
  text-indent: -18px;
  padding-left: 16px;
}

.new_item_tag::before {
  font-size: 1.4rem;
  margin-top: 2px;
}

/*----------------------------------------------------------
-----------------------article------------------------------
----------------------------------------------------------*/
.article {
  display: -ms-flexbox;
  display: flex;
  -ms-flex-flow: wrap;
      flex-flow: wrap;
  border-bottom: 1px solid #ccc;
  counter-reset: ranking;
}

.article_item {
  padding-left: 0 !important;
  padding-right: 0 !important;
  margin-left: 0 !important;
}

.article_item_img {
  width: 100%;
  margin-bottom: 14px;
  position: relative;
  display: block;
}

.article_item_img::after {
  width: 0;
  height: 0;
  content: '\e903';
  position: absolute;
  color: #ec8787;
  transform: rotate(45deg);
  line-height: 0.05;
  text-indent: -10px;
}

.article_item_img img {
  width: 100%;
  height: auto;
  vertical-align: bottom;
}

.article_item_info > span:not(.tag) {
  display: block;
}

.article_item_category {
  color: #d15858;
  font-size: 1.2rem;
  margin-bottom: 8px;
  line-height: 1.6;
}

.article_item_name {
  line-height: 1.6;
}

.article_item_name b {
  font-weight: normal;
}

.article_item_tag {
  font-size: 1.4rem;
  text-indent: -18px;
  padding-left: 16px;
}

.article_item_tag::before {
  font-size: 1.4rem;
  margin-top: 2px;
}

/*----------------------------------------------------------
-----------------------pagination---------------------------
----------------------------------------------------------*/
.pagination {
  display: -ms-flexbox;
  display: flex;
  -ms-flex-pack: center;
      justify-content: center;
  -ms-flex-align: center;
      align-items: center;
  -ms-flex-flow: wrap;
      flex-flow: wrap;
  margin-bottom: 40px;
}

.pagination_item {
  width: 36px;
  height: 36px;
  margin-right: 10px;
  margin-bottom: 10px;
}

.pagination_item:last-child {
  margin-right: 0;
}

.pagination_item a, .pagination_item span {
  display: -ms-flexbox;
  display: flex;
  -ms-flex-align: center;
      align-items: center;
  -ms-flex-pack: center;
      justify-content: center;
  width: 100%;
  height: 100%;
  font-weight: bold;
  font-size: 1.6rem;
}

.pagination_item a,
.pagination_item .dots {
  border: 1px solid #ec8787;
  color: #ec8787;
  cursor: pointer;
}

.pagination_item span:not(.dots) {
  background: #ec8787;
  color: #fff;
}

/*----------------------------------------------------------
-----------------------purchase---------------------------
----------------------------------------------------------*/
.purchase .contents {
  background: #fceded;
}

.purchase_title {
  color: #333;
  text-align: center;
  line-height: 1.6;
}

.purchase_title span {
  position: relative;
}

.purchase_title span:before {
  width: 6px;
  height: 6px;
  position: absolute;
  left: 50%;
  top: -10px;
  margin-left: -4px;
  content: '';
  background: #ec8787;
  border-radius: 50%;
}

.purchase_head {
  font-weight: bold;
  background: #fff268;
  text-align: center;
}

.purchase_box {
  background-color: #fff;
  position: relative;
}

.purchase_box > img {
  position: absolute;
}

.purchase_list li {
  background: url(/mansion/cmn/img/icon_check.svg) no-repeat;
  color: #333;
  line-height: 1.8;
}

.purchase_induction {
  line-height: 1.8;
}

.purchase_link {
  display: block;
  max-width: 540px;
  width: 100%;
  background: #ec8787;
  color: #fff;
  font-weight: bold;
  border-radius: 6px;
  margin: auto;
  text-align: center;
  position: relative;
  letter-spacing: 2px;
}

.purchase_link::before {
  position: absolute;
  content: "\e903";
  top: 50%;
  right: 14px;
  font-size: 1.2rem;
  margin-top: -0.6rem;
}

/*----------------------------------------------------------
-----------------------breadcrumb---------------------------
----------------------------------------------------------*/
.breadcrumb {
  background: #fceded;
}

.breadcrumb ol {
  display: -ms-flexbox;
  display: flex;
  -ms-flex-flow: wrap;
      flex-flow: wrap;
  padding: 10px 0;
}

.breadcrumb ol li {
  font-size: 1.2rem;
  margin: 4px 0;
  display: inline-block;
}

.breadcrumb ol li:not(:last-child)::after {
  content: "\e903";
  color: #ec8787;
  margin: 0 12px;
  font-size: 0.8rem;
  vertical-align: 1px;
}

.breadcrumb ol li:last-child {
  padding-right: 12px;
}

/*----------------------------------------------------------
-----------------------footer-------------------------------
----------------------------------------------------------*/
.footer {
  background: #f8f7f3;
}

.footer_title {
  font-weight: bold;
}

.footer_link {
  max-width: 750px;
}

.footer_list li a {
  display: block;
  padding-left: 24px;
  font-size: 1.4rem;
  line-height: 1.8;
}

.footer_list li a > span {
  margin-left: -24px;
  margin-right: 8px;
}

small.contents_wrap {
  padding: 22px 0;
  display: block;
}

small.contents_wrap span {
  font-size: 1.2rem;
  line-height: 1.4;
  display: block;
  font-weight: bold;
  color: #333;
}
