h1.favo_title {
  position: relative;
  height: 0;
  padding-top: 58.86524822695%;
  overflow: hidden;
  white-space: nowrap;
  text-indent: 110%;
  background-size: 100%;
  background-repeat: no-repeat;
  background-color: inherit;
}
h1.favo_title span {
  display: block;
  position: absolute;
  left: 0;
  top: 0;
  width: 100% !important;
  height: 100% !important;
}
p.favo_present {
  position: relative;
  height: 0;
  padding-top: 35.483870967742%;
  overflow: hidden;
  white-space: nowrap;
  text-indent: 110%;
  background-size: 100%;
  background-repeat: no-repeat;
}
p.favo_present span {
  display: block;
  position: absolute;
  left: 0;
  top: 0;
  width: 100% !important;
  height: 100% !important;
}
.favorite h2 {
  box-sizing: border-box;
}
@media all and (min-width: 768px) {
    .favorite div.wrap {
    margin-top:50px;
    padding: 0 90px 50px;
  }
  h1.favo_title {
    width: 800px;
    margin: 0 auto;
    background-repeat: no-repeat;
    background-size: 75%;
    background-position: center;
  }
  h1.result_title {
    width: 800px;
    margin: 0 auto;
    background-repeat: no-repeat;
    background-size: 100%;
    height: 200px;
    background-position: center;
  }
  h2.result_bangai {
    width: 800px;
    margin: 0 auto;
    background-repeat: no-repeat;
    background-size: 100%;
    height: 200px;
    background-position: center;
  }

  p.favo_present {
    width: 620px;
    margin: 0 auto;
  }
}
@media all and (max-width: 767px) {
  h1.result_title {
    padding-top: 24%;
    margin: 0 -4% 4%;
  }
}
/*	result
============================== */
div.rk1box {  background-color: #fff4c3;}
div.rk2box {  background-color: #e8f2f6;}
div.rk3box {  background-color: #f9e6d4;}
div.rk4box {  background-color: #f0f8e9;}
div.rk5box {  background-color: #f0f8e9;}
div.bangai {  background-color: #fef1de;}

div.rkbox p.rk1 {  background-image: url(../img/favorite/rk1.png);}
div.rkbox p.rk2 {  background-image: url(../img/favorite/rk2.png);}
div.rkbox p.rk3 {  background-image: url(../img/favorite/rk3.png);}
div.rkbox p.rk4 {  background-image: url(../img/favorite/rk4.png);}
div.rkbox p.rk5 {  background-image: url(../img/favorite/rk5.png);}

div.rkbox p.rk {
  background-size: 100%;
  background-repeat: no-repeat;
  background-position: center top;
  overflow: hidden;
  white-space: nowrap;
  text-indent: 110%;
  filter: drop-shadow(5px 5px 5px rgba(0,0,0,0.3));
}
.scene_pic, .scene_pic span {
  background-color: #fff;
}

@media all and (min-width: 768px) {
  div.rkbox {
    box-shadow:3px 3px 16px -9px rgba(5,5,5,0.45);
    border-radius:20px;
    padding: 25px;
    margin-bottom: 2em;
  }
  div.rkbox p.rk {
    width: 69px;
    height: 97px;
    float: left;
  }
  div.scene {
    width: 660px;
    float: right;
  }
  div.ipr {
    /* float: left; */
  }
  p.scene_title {
    font-size: 28px;
    line-height: 1.4;
    /* margin-bottom: 0.5em; */
  }
  .scene_pic, .scene_pic span {
    width: 280px;
    height: 187px;
    margin: 0;
  }
  .scene_picbox {
    float: right;
    z-index: 10;
    position: relative;
    margin: 0 0 1em 1em;
  }
}
@media all and (max-width: 767px) {
  div.rkbox {
    box-shadow:3px 3px 16px -9px rgba(5,5,5,0.45);
    border-radius:20px;
    padding: 1em;
    position: relative;
    margin-bottom: 2em;
  }
  div.rkbox p.rk {
    width: 17%;
    height: 37%;
    float: left;
    z-index: 10;
    position: absolute;
    left: -2%;
    top: -2%;
  }
  .scene_pic {
    margin: 0 0 1em;
  }
  p.scene_title {
    font-size: 5vw;
    line-height: 1.4;
    /* margin-bottom: 0.5em; */
  }
}
/*	dot list
============================== */
.dotlist {
	line-height: 1.5;
	background-color: #fff;
	position: relative;
	z-index: 8!important;
	box-shadow: 3px 3px 16px -9px rgba(5,5,5,0.45);
}
.dotlist::before {
  content: '';
  position: absolute;
  display: block;
  width: 0;
  height: 0;
  }
.dotlist li {
	position: relative;
	text-align: justify;
	line-height: 1.2;
}
.dotlist li:before {
	content: "";
	position: absolute;
	left: 10px;
	display: block;
	width: 0.5em;
	height: 0.5em;
	border-radius: 50%;
	background: #439139;
	top: 0;
	margin-top: 1.25em;
	-moz-transform: translateY(-50%);
	-webkit-transform: translateY(-50%);
	-o-transform: translateY(-50%);
	-ms-transform: translateY(-50%);
	transform: translateY(-50%);
}
@media all and (min-width: 768px) {
  .dotlist {
  	padding: 0.3em 1em 1em 0.5em;
  	margin: 1em 2em 0em 0em;
  	border-radius: 30px;
  }
  .dotlist::before {
    left: 27px;
    top: -16px;
    border-bottom: 28px solid #fff;
    /* border-top: 27px solid #368C33; */
    border-right: 15px solid transparent;
    border-left: 15px solid transparent;
    }
  .dotlist li {
  	padding: 0.7em 0em 0em 1.5em;
  }
  .norank div.scene {
    width: 100%;
  }
}
@media all and (max-width: 767px) {
  .dotlist {
  	padding: 0.3em 1em 1em 0.5em;
  	margin: 1em 0em 0em 0em;
  	border-radius: 10px;
  }
  .dotlist::before {
    left: 27px;
    top: -11px;
    border-bottom: 21px solid #fff;
    /* border-top: 27px solid #368C33; */
    border-right: 15px solid transparent;
    border-left: 15px solid transparent;
    }
  .dotlist li {
  	padding: 0.7em 0em 0em 1.5em;
  }
  .nopic p.scene_title {
    margin-left: 2.5em;
  }
}

p.result_bangai {
  position: relative;
  height: 0;
  padding-top: 21.6666666666667%;
  overflow: hidden;
  white-space: nowrap;
  text-indent: 110%;
  background-size: 100%;
  background-repeat: no-repeat;
}
p.result_bangai span {
  display: block;
  position: absolute;
  left: 0;
  top: 0;
  width: 100% !important;
  height: 100% !important;
}
/*	bknm
============================== */
#bknm h3 {
    color: #439139;
    text-align: left;
    font-size: 1.7rem;
    letter-spacing: .05em;
    font-weight: bold;
    margin: 1em 0;
}
#bknm ul {
    margin: 1.5em 0 0 -15px;
    text-align: left;
}
#bknm li {
    display: inline-block;
    margin: 0 0 25px 29px;
    position: relative;
}
#bknm li a {
    display: inline-block;
    position: relative;
    overflow: hidden;
    box-shadow: 2px 5px 10px rgba(3, 47, 63, 0.1);
    border: 3px solid #fff;
}
#favorite #bknm li a,
#gallery #bknm li a {
    width: 160px;
    height: 107px;
    text-align: center;
}

#bknm li a:after {
    position: absolute;
    content: "";
    display: block;
    width: 100%;
    height: 100%;
    top: 0;
    background-size: cover;
    background-repeat: no-repeat;
    background-position: center center;
    -moz-transition: all .3s ease-out;
    -ms-transition: all .3s ease-out;
}
#favorite #bknm li.bk1 a:after {
    background-image: url(../img/favorite/scn_1_1.jpg);
}
#favorite #bknm li.bk2 a:after {
    background-image: url(../img/favorite/scn_2_1.jpg);
}
#favorite #bknm li.bk3 a:after {
    background-image: url(../img/favorite/scn_3_1.jpg);
}
#favorite #bknm li.bk4 a:after {
    background-image: url(../img/favorite/scn_4_1.jpg);
}
#favorite #bknm li.bk5 a:after {
    background-image: url(../img/favorite/scn_5_1.jpg);
}
#favorite #bknm li.bk6 a:after {
    background-image: url(../img/favorite/scn_6_1.jpg);
}
#favorite #bknm li.bk7 a:after {
    background-image: url(../img/favorite/scn_7_1.jpg);
}
#favorite #bknm li.bk8 a:after {
    background-image: url(../img/favorite/scn_8_1.jpg);
}
#favorite #bknm li.bk9 a:after {
    background-image: url(../img/favorite/scn_9_1.jpg);
}
#favorite #bknm li.bk10 a:after {
    background-image: url(../img/favorite/scn_10_1.jpg);
}
#bknm li span.epn {
    padding: 0% 5%;
    font-size: 100%;
    color: #fff;
    position: absolute;
    padding: 0.5em;
    left: 0;
    bottom: 0;
    margin: 0 auto;
    background-color: #439139;
    border-radius: 0 10px 0 0;
}
#bknm li span.epn strong {
    font-size: 160%;
}
@media all and (min-width: 768px) {
}
@media all and (max-width: 767px) {
  #favorite #bknm {
    margin: 3em 0 0 -0.7em;
    box-shadow: none;
  }
  #bknm {
    padding: 0;
  }
  #favorite #bknm h3 {
    font-size: 6.5vw;
    margin: -6% 5% 4%;
  }
  #favorite #bknm ul {
      margin: 0 auto;
  }
  #bknm ul {
      margin: 0 auto;
      letter-spacing: 0;
      text-align: left;
  }
  #favorite #bknm li {
      width: 29%;
      height: auto;
      margin: 0 0 3% 3%;
  }
  #favorite #bknm li a {
      width: 100%;
      height: 0;
      padding: 66.6% 0 0;
  }
  #favorite #bknm li a img {
      position: absolute;
      left: 0;
      top: 0;
      width: 100%;
      height: 100%;
  }
  #favorite #bknm li span {
      font-size: 3.5vw;
  }
}
