﻿@charset "UTF-8";


/*--リサーチcategory.cssからslide photoに関わる部分のみ移植--*/

body{
  -webkit-text-size-adjust: 100%;
  letter-spacing: 0.05em;
  /*font-feature-settings : "pkna";文字詰め*/
}

html{
  font-size: 62.5%;/* 16px x 0.625 = 10px(=1rem) */
}

/*--游ゴシックが不鮮明対策--*/
@font-face {
  font-family: "Yu Gothic";
  src: local("Yu Gothic Medium");
  font-weight: 100;
}
@font-face {
  font-family: "Yu Gothic";
  src: local("Yu Gothic Medium");
  font-weight: 200;
}
@font-face {
  font-family: "Yu Gothic";
  src: local("Yu Gothic Medium");
  font-weight: 300;
}
@font-face {
  font-family: "Yu Gothic";
  src: local("Yu Gothic Medium");
  font-weight: 400;
}
@font-face {
  font-family: "Yu Gothic";
  src: local("Yu Gothic Bold");
  font-weight: 600;
}

html,
body,
dl,
dt,
dd,
ul,
li,
figure{
  margin: 0;
  padding: 0;
}

body,
button,
input,
select,
textarea {
  font-family:"Hiragino Kaku Gothic ProN", "ヒラギノ角ゴ ProN W3","Hiragino Sans", ヒラギノ角ゴシック, Meiryo, "メイリオ", YuGothic, "游ゴシック", sans-serif;
}

h1,
h2,
h3,
h4,
h5,
h6,
article,
aside,
details,
figcaption,
figure,
footer,
header,
main,
menu,
nav,
section,
summary,
div,
span,
p,
ul,
ol,
li,
dl,
dt,
dd,
table,
tr,
th,
td,
a,
img,
*:after,
*:before {
  box-sizing: border-box;
}

ol,
ul {
  list-style: none;
}

p,
li,
dl,
table {
  line-break: strict;
  word-break: break-strict;
  word-wrap: break-word;
}

img {
  border: 0;
  height: auto;
  line-height: 1;
  vertical-align: bottom;
}

a {
  background: transparent;
  outline: 0 none;
  text-decoration: none;
}

a:hover {
  text-decoration: none;
}

.lock {
  overflow: hidden;
}


/* ============================================================================

title : ホームメイトリサーチ スライドフォト
scope : スライドフォトcss

last modify : 2017/07/12 156_goto 医療広告ガイドラインに基づく修正 注釈追加　#12367

 2017/05/09 230inagaki 新規作成
============================================================================ */


body {
  background: #000a0f;
  font-size: 1.6rem;
  height: 100vh;
  /* min-width: 1024px; */
  position: relative;
}


/*--svgおや非表示--*/

.svg_parent {
  display: none;
}


/*--全体wrap--*/

.main_wrap {
  height: 600px;
  left: 50%;
  margin: 0 auto;
  padding: 0;
  position: absolute;
  transform: translate(-50%, -50%);
  top: 50%;
  width: 860px;
}


/*--swiper--*/

.swiper-container {
  border-radius: 5px;
  height: 540px;
  margin: auto;
  position: relative;
  text-align: center;
  width: 720px;
}


/*--pagenation--*/

.swiper-pagination {
  background: rgba(5, 5, 5, 0.8);
  border-radius: 5px;
  color: #fff;
  font-size: 1.4rem;
  height: 30px;
  left: 85px;
  line-height: 30px;
  max-width: 105px;
  position: absolute;
  text-align: center;
  top: 10px;
  z-index: 5;
}

.swiper-pagination::after {
  content: "枚";
  margin-left: 3px;
}


/*--prev next--*/

.swiper-button-prev,
.swiper-button-next {
  background: none;
  color: #fff;
  font-size: 1.2rem;
  height: 70px;
  text-align: center;
  width: 45px;
}

.swiper-container-vertical~.swiper-button-prev {
  left: 805px;
  top: 33%;
}

.swiper-container-vertical~.swiper-button-next {
  top: 55%;
}

.icn_arr_l,
.icn_arr_r,
.icn_arr_u,
.icn_arr_d {
  height: 40px;
  margin: 0;
  width: 40px;
	padding:1px;
}

.icn_arr_l use,
.icn_arr_r use,
.icn_arr_u use,
.icn_arr_d use {
  fill: #fff;
}

.icn_arr_r {
  transform: rotate(180deg);
  -webkit-transform: rotate(180deg);
}

.icn_arr_u {
  margin: 5px 0 0 0;
  transform: rotate(90deg);
  -webkit-transform: rotate(90deg);
}

.icn_arr_d {
  transform: rotate(-90deg);
  -webkit-transform: rotate(-90deg);
}


/*--img--*/

.swiper-slide {
  margin: 0 auto;
  text-align: center;
  width: 100%;
  height: 100%;
}


/*--caption--*/

.caption {
  background: #fff;
  bottom: 0px;
  border-radius: 5px;
  display: none;
  font-size: 1.5rem;
	height: 42px;
  line-height: 42px;
  margin: 20px auto 0;
  padding: 0 15px 0 55px;
  position: relative;
  text-align: left;
  vertical-align: middle;
  width: 720px;
}

.caption::after {
  bottom: 100%;
  border: solid transparent;
  border-color: rgba(255, 255, 255, 0);
  border-bottom-color: #fff;
  border-width: 12px;
  content: "";
  height: 0;
  left: 50%;
  margin-left: -12px;
  position: absolute;
  pointer-events: none;
  width: 0;
}

.comm {
  display: inline-block;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
  vertical-align: middle;
  width: 410px;
}

.post {
  font-size: 1.3rem;
}

.post::before {
  content: "投稿者:";
  margin-left: 1.6rem;
}

.icn_cam {
  height: 33px;
  left: 15px;
  position: absolute;
  top: 3px;
  width: 35px;
}

.icn_cam use {
  fill: #0087dd;
}


/*--close--*/

.btn_close {
  color: #fff;
  display: block;
  font-size: 1.2rem;
  height: 60px;
  position: absolute;
  right: 10px;
  text-align: center;
  top: 0;
  width: 40px;
  z-index: 5;
}

.icn_close {
  height: 40px;
  margin-bottom: 5px;
  width: 40px;
}

.icn_close use {
  fill: #fff;
}


/*--切替--*/

.btn_switch {
  bottom: 2px;
  color: #fff;
  display: block;
  font-size: 1.2rem;
  height: 70px;
  line-height: 1.6rem;
  position: absolute;
  right: 2px;
  text-align: center;
  width: 54px;
  z-index: 5;
}

.icn_switch {
  height: 40px;
  width: 40px;
}

.icn_switch use {
  fill: #fff;
}

/*--医療機関のみ表示--*/

.main_wrap.slide_up{
  margin-top: -20px;
}

.lead_about_post{
  color: #fff;
  font-size: 13px;
  left: 50%;
  margin: 295px 0 0 -430px;
  padding: 0;
  position: absolute;
  text-align: center;
  top: 50%;
  width: 860px;
}

@media only screen and (min-device-width: 481px) and (max-device-width: 1024px) {}

.photo_slide_mobile {
  height: 50vh;
  max-width: 380px;
  transform: translate(-50%, calc(-50% - 30px));
  width: calc(100% - 20px);
}
.photo_slide_mobile .swiper-container {
  height: 100%;
  width: 100%;
}
.photo_slide_mobile .caption {
  height: 62px;
  line-height: 1.5;
  padding: 10px 10px 10px 50px;
  width: 100%;
}
.photo_slide_mobile .comm {
  padding-left: 10px;
  width: 100%;
}
.photo_slide_mobile .post {
  display: inline-block;
}
.photo_slide_mobile .post::before {
  margin-left: 10px;
}
.photo_slide_mobile .btn_switch {
  height: 30px;
  left: 0;
  top: -35px;
  width: 90px;
}
.photo_slide_mobile .icn_switch {
  float: left;
  height: 30px;
  width: 30px;
}
.photo_slide_mobile .swiper-pagination {
  left: 5px;
  top: 5px;
}
.photo_slide_mobile .btn_close {
  color: transparent;
  height: 30px;
  right: 0;
  top: -35px;
  width: 30px;
}
.photo_slide_mobile .icn_close {
  height: 30px;
  width: 30px;
}
.photo_slide_mobile .swiper-button-prev,
.photo_slide_mobile .swiper-button-next {
  color: transparent;
  height: 30px;
  width: 30px;
}
.photo_slide_mobile .icn_arr_l,
.photo_slide_mobile .icn_arr_r,
.photo_slide_mobile .icn_arr_u,
.photo_slide_mobile .icn_arr_d {
  height: 30px;
  width: 30px;
}
.photo_slide_mobile .swiper-container-vertical~.swiper-button-next {
  left: calc(50% - 15px);
  top: calc(100% - 15px);
}
.photo_slide_mobile .swiper-container-vertical~.swiper-button-prev {
  left: calc(50% - 15px);
  top: 10px;
}