/* =======================================================================

##　ホームメイト・リサーチ RWD化共通CSS
 
last modify : 2020/09/28 header_rwd.inc用のcss追加
2018/01/22 325_manaka 新規作成

暫定対応につき、要見直し
========================================================================== */

/*=================================================
body
==================================================*/
@media screen and (max-width: 750px) {
  html {
    height: 100%;
    overflow: auto;
  }
  body {
    max-width: 100%;
    min-width: 375px;
  }
  body.is-open {
    height: 100%;
    overflow: hidden;
  }
}

.pc_hide {
  display: none !important;
}

@media screen and (max-width: 750px) {
  .pc_hide {
    display: block !important;
  }
  .sp_hide {
    display: none !important;
  }
}  


/*=================================================
header
==================================================*/
.header_buttons {
  display: none;
}

.btn_togglemenu {
  background-color: #d4436f;
  background: -webkit-gradient(linear, left top, left bottom, from(#f75586), to(#d4436f));
  background: linear-gradient(#f75586, #d4436f);
  border-radius: 4px;
  border: 1px solid #d4436f;
  box-shadow: 0 1px 0 0 rgba(0, 0, 0, 0.15);
  box-sizing: border-box;
  display: none;
  padding: 12px 28px 12px 0;
  position: relative;
  text-align: center;
  width: 115px;
}
.btn_togglemenu span {
  color: #fff;
  font-size: 16px;
  line-height: 1;
}
.btn_togglemenu .btn_togglemenu_arrow {
  display: block;
  height: 12px;
  position: absolute;
  right: 10px;
  top: 50%;
  transform: translateY(-50%);
  width: 20px;
}
.btn_togglemenu .btn_togglemenu_arrow:before,
.btn_togglemenu .btn_togglemenu_arrow:after {
  background-color: #fff;
  border-radius: 2px;
  bottom: 0;
  content: "";
  display: block;
  height: 2px;
  left: 0;
  position: absolute;
  width: 14px;
}
.btn_togglemenu .btn_togglemenu_arrow:before {
  transform-origin: right center;
  transform: translateX(-3px) rotate(45deg);
}
.btn_togglemenu .btn_togglemenu_arrow:after {
  transform-origin: right center;
  transform: translateX(-4px) rotate(135deg);
}

.btn_togglemenu.btn_togglemenu_close {
  background-color: #d4436f;
  background: -webkit-gradient(linear, left bottom, left top, from(#f75586), to(#d4436f));
  background: linear-gradient(#d4436f, #f75586);
}
.btn_togglemenu.btn_togglemenu_close .btn_togglemenu_arrow {
  transform: translateY(-50%) rotate(180deg);
}

@media screen and (max-width: 750px) {
  #anchor_wrap {
    display: none;
  }
  
  .header_buttons {
    display: block;
    position: absolute;
    right: 10px;
    top: 18px;
  }
  
  .btn_togglemenu_open {
    display: block;
  }

  .is-open .btn_togglemenu_open {
    display: none
  }

  .is-open .btn_togglemenu_close {
    display: block;
  }

  #header_wrap {
    min-width: auto;
  }
  .main_header {
    height: 75px;
    position: relative;
    z-index: 100;
  }
   .is-open #header_wrap {
    height: 75px;
  }
  .is-open .main_header {
    position: fixed;
    top: 0;
    width: 100%;
  }
  .main_header .site_logo {
    top: 6px;
    left: 10px;
    width: auto;
  }
  .main_header .site_logo span {
    width: 198px;
    font-size: 11px;
    height: 17px;
    line-height: 17px;
  }
  .main_header .site_logo a {
    width: 198px;
  }
  .main_header .site_logo a > img {
    width: 100%;
    height: auto;
  }
  .main_header .usr_area {
   display: none;
  }
  .main_header .cont {
    width: auto;
  }
  .main_header .count {
   display: none;
  }
  .main_header .search {
    display: none;
  }
  .main_nav {
    display: none;
  }
  #header_s_box {
    display: none !important;
  }
}

/*=================================================
sub_nav
==================================================*/
.sub_nav {
  background: #fce8f1;
  box-sizing: border-box;
  display: none;
  height: 100%;
  left: 0;
  overflow: hidden;
  padding-top: 75px;
  position: fixed;
  top: 0;
  width: 100%;
  z-index: 99;
}

.sub_nav_menu {
  height: 100%;
  overflow-y: auto;
  -webkit-overflow-scrolling : touch;
}

.sub_nav_menulist {
  border-bottom: 1px solid #f9a5be;
}
.sub_nav_menulist li {
  border-top: 1px solid #f9a5be;
  position: relative;
  text-align: left;
}
.siteheader_nav_list li:last-child {
  border-bottom: 1px solid #f781a4;
}

.sub_nav_menulist_sub {
  background: #fff;
  border-bottom: none;
}
.sub_nav_menulist_sub li:last-child {
  border-bottom: none;
}

.sub_nav_item {
  color: #ff3e6f;
  display: block;
  font-size: 16px;
  padding: 15px;
  position: relative;
}
.sub_nav_item:before {
  background: #e887a5;
  border-radius: 7px;
  content: "";
  display: inline-block;
  height: 14px;
  margin-right: 10px;
  width: 14px;
}
.sub_nav_item:after {
  background: url("/image_cmn/ico-arrow-pink-right.png") center center no-repeat;
  background-size: 8px auto;
  bottom: 0;
  content: "";
  display: block;
  height: 18px;
  position: absolute;
  right: 15px;
  top: 50%;
  transform: translateY(-50%);
  width: 8px;
}

.sub_nav_item.sub_nav_item_toggle:after {
  transform: translateY(-50%) rotateZ(90deg);
}
.is-subopen .sub_nav_item.sub_nav_item_toggle:after {
  transform: translateY(-50%) rotateZ(-90deg);
}

.sub_nav_subitem {
  align-items: center;
  color: #ff3e6f;
  display: flex;
  font-size: 16px;
  padding: 15px 15px 15px 46px;
  position: relative;
}
.sub_nav_subitem:before {
  background: #ff3e6f;
  border-radius: 2px;
  content: "";
  display: inline-block;
  height: 4px;
  margin-right: 10px;
  width: 4px;
}
.sub_nav_subitem:after {
  background: url("/image_cmn/ico-arrow-pink-right.png") center center no-repeat;
  background-size: 8px auto;
  bottom: 0;
  content: "";
  display: block;
  height: 18px;
  position: absolute;
  right: 15px;
  top: 50%;
  transform: translateY(-50%);
  width: 8px;
}

.sub_nav_item_body {
  display: none;
}

.sub_nav_btn {
  padding: 10px;
}
.sub_nav_btn .btn_togglemenu {
  margin: 0 auto;
}

.sub_nav_bnrlist {
  border-bottom: 1px solid #f9a5be;
  margin: 0 40px;
  padding: 30px;
}
.sub_nav_bnrlist > li {
  margin-top: 20px;
}
.sub_nav_bnrlist > li:first-child {
  margin-top: 0;
}
.sub_nav_bnrlist a {
  display: block;
}
.sub_nav_bnrlist a:hover img {
  opacity: 1;
}
.sub_nav_bnrlist img {
  height: auto;
  width: 100%;
}

@media screen and (max-width: 750px) {
  .sub_nav {
    display: block;
    transform: translateY(-110%);
    transition: transform ease 0.5s;
  }

  .is-open .sub_nav {
    transform: translateY(0);
  }
}
/*=================================================
siteroute
==================================================*/
@media screen and (max-width: 750px) {
  .siteroute_wrap {
    background: #fff;
    overflow-x: auto;
    min-width: 320px;
    -webkit-overflow-scrolling: touch;
  }

  #siteroute {
    display: flex;
    flex-wrap: nowrap;
    overflow: auto;
    overflow-y: hidden;
    padding: 0;
    width: auto;
  }
  
  #siteroute li {
    display: flex;
    flex-shrink: 0;
    float: none;
    margin: 0 0 0 10px;
  }
  #siteroute li:last-child {
    padding-right: 10px;
  }

  #siteroute li > a,
  #siteroute li > span {
    display: inline-block;
    line-height: 1;
    padding: 10px 0;
  }

  #siteroute li span {
    font-size: 12px;
  }

  ::-webkit-scrollbar {
    display: none;
  }
}

/*=================================================
footer
==================================================*/
.mod_pagetop.bottom {
  bottom: 20px;
}

.main_footer_sp {
  display: none;
}

#btn_pagetop {
  right: 30px;
  width: 90px;
  z-index: 100;
  bottom: 30px;
  cursor: pointer;
  position: fixed;
  background: url(/search/image/dtl_new/bg_pagetop_btn.png) no-repeat 0 0;
}

@media screen and (max-width: 750px) {
  .main_footer {
    display: none;
  }

  .main_footer_sp {
    background: transparent url(/image_cmn/bg_footer_town_illust.png) no-repeat center top;
    background-size: 320px 61px;
    display: block;
    margin-top: 20px;
    padding-top: 61px;
  }
  .main_footer_sp .footer_contents {
    background: #0d2d5a;
    font-size: 13px;
    line-height: 24px;
    padding: 0 0 15px 0;
  }
  .main_footer_sp ul.footer_list li {
    box-sizing:border-box;
    border:1px solid #06162D;
    float: right;
    height: 40px;
    line-height: 16px;
    padding: 0 5%;
    width: 50%;
  }
  .main_footer_sp .footer_contents li.w_2 {
    width:100%;
    border-bottom: 2px solid #06162D;
  }
  .main_footer_sp .footer_contents li a {
    color: #fff;
    display: block;
    padding: 12px 0 12px 14px;
    position: relative;
  }
  .main_footer_sp .footer_contents li a:before {
    border-style: solid;
    border-width: 4px 0 4px 6.9px;
    border-color: transparent transparent transparent #b3a790;
    content: "";
    display: block;
    height: 0;
    left: 0;
    position: absolute;
    top: 50%;
    width: 0;
    transform: translateY(-50%);
  }
  .main_footer_sp .footer_contents li a.l_2 {
    padding: 3px 0 3px 14px;
  }
  .main_footer_sp .footer_list {
    margin: 0 auto;
    padding: 0;
    width: 100%;
  }
  .main_footer_sp .footer_text {
    color: #fff;
    font-size: 11px;
    line-height: 1.4;
    margin: 0 auto;
    padding: 15px 0 0;
    width: 310px;
    clear: both;
  }
  .main_footer_sp .footer_text a {
    color: #fff;
  }
  .main_footer_sp .footer_copy {
    background: #041327;
    color: #fff;
    font-size: 11px;
    line-height: 1.4;
    margin: 0;
    padding: 5px 0;
    text-align: center;
  }
  .main_footer_sp .page_top {
    height: 40px;
    width: 100%;
  }
  .main_footer_sp .page_top a {
    background: #0087dd;
    color: #fff;
    display: block;
    font-size: 15px;
    font-weight: bold;
    height: 40px;
    letter-spacing: 0.05em;
    line-height: 40px;
    position: relative;
    text-align: center;
    text-indent: 11px;
    width: 100%;
  }
  .main_footer_sp .page_top a::before {
    -ms-transform: rotate(-45deg);
    -webkit-transform: rotate(-45deg);
    border-right: 3px solid #fff;
    border-top: 3px solid #fff;
    content: "";
    display: block;
    height: 11px;
    left: 50%;
    margin-left: -65px;
    position: absolute;
    top: 17px;
    transform: rotate(-45deg);
    width: 11px;
  }
}

@media screen and (max-width: 750px) {
  #btn_pagetop {
    display: none !important;
  }
}

@media screen and (max-width: 750px) {
  /* header SP */
#site_ttl,.cont{
    z-index: 999;
 }
 .cont a{
   line-height: 1.15;
 }
header#header.header_rwd{
  align-items: center;
  box-sizing: border-box;
  display: flex;
  height: 70px;
  justify-content: space-between;
  width: 100%;
  background: #faf5ed;
}

* > #header.header_rwd #ttl_area {
    width: 100%;
    background: #f75586;
}

* > #header.header_rwd #ttl_area #site_ttl img{
  padding: 10px 0 0 10px;
  vertical-align: middle;
  width: 205px;
}
* > #header.header_rwd #ttl_area{
  background: none;
}

#siteroute  {
  box-shadow: 0px 5px 3px -3px rgba(0,0,0,0.2);
}
#siteroute li:not([class]):last-child > a span, .breadcrumb li:not([class]):last-child > a span, #siteroute li .last_crumbs, .breadcrumb li .last_crumbs{
  letter-spacing: 0;
  font-size: 12px;
 }
}


/*---------------------------------
  自社広告バナー
---------------------------------*/
.ad_bnrbox_token {
  border: none;
  border-top: 2px solid #FFA5C9;
  display: flex;
  justify-content: space-between;
  margin: 30px auto 25px;
  padding: 43px 0 105px;
  position: relative;
  width: 814px;
}
.ad_bnrbox_token .ad_box {
  width: 240px;
}
.ad_bnrbox_token .ad_box a {
  display: block;
  height: auto;
  width: 100%;
}

.ad_bnrbox_token .ad_box a.how_to {
  left: 50%;
  margin: 24px auto;
  position: absolute;
  transform: translateX(-50%);
  text-align: center;
}
.ad_bnrbox_token .ad_box .how_to > img {
  max-width: 400px;
}
.ad_bnrbox_token .ad_box a:hover{
  opacity: .8;
}
.ad_bnrbox_token .ad_box img {
  height: auto;
  width: 100%;
}
.ad_bnrbox_token .sp{
  display: none;
}
@media screen and (max-width: 750px) {
  .ad_bnrbox_token {
    display: block;
    padding: 0;
    margin: 2em auto 4em;
    width: 100%;
    box-sizing: border-box;
    border-top: none;
  }
  .ad_bnrbox_token .pc{
    display: none;
  }
  .ad_bnrbox_token .sp{
    display: block;
  }
  .ad_bnrbox_token .ad_box {
    width: 100%;
    padding: 0 20px;
    margin-bottom: 20px;
  }
  .ad_bnrbox_token .ad_box a.how_to {
    margin: 10px auto;
    position: unset;
    transform: translateX(0);
  }
  .ad_bnrbox_token .ad_box .how_to > img {
    margin-top: 20px;
    max-width: none;
    width: 100%;
  }
}

.ad_bnrbox_tokencm {
  border-top: none;
  margin-bottom: 0;
  max-width: 680px;
  padding: 0;
}
.ad_bnrbox_tokencm .ad_box {
  width: 300px;
}
@media screen and (max-width: 750px) {
  .ad_bnrbox_tokencm .ad_box {
    padding: 0;
  }
}

.ad_bnrbox.col2 .ad_box .ad_box_link {
  display: block;
  height: 205px;
  width: 246px;
}

.ad_box .ad_box_img {
  width: 100%;
}

/* ----------------------------------------------------------
 ページ下部 2-3つ並びバナー (footer: 2-3 banner) _ad_bnrbox
---------------------------------------------------------- */
.ad_bnrbox02.col3.rwd {
  border-top: 4px solid #ffa5c9;
  margin: 40px auto 0;
  overflow: hidden;
  padding: 40px 0 0;
  text-align: center;
  width: 646px;
}

.ad_bnrbox02.col3.rwd {
  width: 850px;
}

.ad_bnrbox02.col3.rwd .ad_box02 {
  display: inline-block;
  padding: 0 8px;
  vertical-align: top;
}

.ad_bnrbox02.col3.rwd .ad_box02 {
  padding: 0 10px;
}

.ad_bnrbox02.col3.rwd .ad_box02 .ad_box02_link {
  display: block;
  height: 205px;
  width: 246px;
}

.ad_bnrbox02.col3.rwd .ad_box02 .ad_box02_img {
  width: 100%;
}

@media screen and (max-width: 767px) {
  .ad_bnrbox02.col3.rwd {
    border-width: 3px;
    margin: 31px 15px 0;
    padding-top: 32px;
    width: calc(100% - 30px);
  }

  .ad_bnrbox02.col3.rwd .ad_box02 {
    display: block;
    margin: 0 auto;
    padding: 0;
    width: 300px;
  }

  .ad_bnrbox02.col3.rwd .ad_box02 + .ad_box02 {
    margin-top: 15px;
  }

  .ad_bnrbox02.col3.rwd .ad_box02 .ad_box02_link {
    height: auto;
    width: 100%;
  }
}

.useful.fix_mt .ad_bnrbox02.col3.rwd {
  margin-top: 50px;
  padding-top: 50px;
}

.ad_bnrbox02.col3.rwd img.sp {
  display: none;
}

@media screen and (max-width: 767px) {
  .useful.fix_mt .ad_bnrbox02.col3.rwd {
    margin-top: 31px;
    padding-top: 32px;
  }

  .ad_bnrbox02.col3.rwd img.sp {
    display: inline;
  }

  .ad_bnrbox02.col3.rwd img.pc {
    display: none;
  }
}

.ad_bnrbox02.col3.rwd + .mod_prtxt {
  margin-top: 35px;
}

/*******************
下部広告バナー
*******************/
.ad_bnrbox_normal{
  border-top: 2px solid #FFA5C9;
  display: flex;
  justify-content: space-between;
  flex-wrap: wrap;
  margin: 37px auto 80px;
  padding: 28px 0px 0;
  width: 800px;
}

.ad_bnrbox_normal li{
  font-size: 0;
  margin: 0 13px;
  max-height: 240px;
  width: 240px;
}

.ad_bnrbox_normal li a:hover{
  opacity: .8;
}

.ad_bnrbox_normal li img{
  width: 100%;
}

.ad_bnrbox_normal li.ad_bnrbox_normal_list_wide{
  font-size: 0;
  margin: 0;
  max-height: none;
  width: 400px;
  flex: 0 0 100%;
  margin: auto;
  display: flex;
  align-items: center;
  justify-content: center;
  margin-top: 40px;
}

.ad_bnrbox_normal li.ad_bnrbox_normal_list_wide a{
  width: 420px;
}

@media screen and (max-width: 767px) {
  .ad_bnrbox_normal .pc {
    display: none;
  }

  .ad_bnrbox_normal {
    border-top: 2px solid #ffcfe2;
    margin: 26px 15px 50px;
    padding-top: 13px;
    width: auto;
    flex-direction: column;
  }

  .ad_bnrbox_normal li{
    width: 100%;
    margin: 15px 0 0;
  }

  .ad_bnrbox_normal li a{
    display: block;
  }

  .ad_bnrbox_normal li img{
    width: 100%;
  }

  .ad_bnrbox_normal li.ad_bnrbox_normal_list_wide{
    width: 100%;
    margin: 15px 0 0;
  }

  .ad_bnrbox_normal li.ad_bnrbox_normal_list_wide a{
    width: 100%;
  }

  .ad_bnrbox_normal li.ad_bnrbox_normal_list_replace{
    order: 1;
  }
}

@media screen and (min-width: 768px) {
  .ad_bnrbox_normal .sp {
      display: none;
  }
}