@charset "utf-8";

/*top*/
header {
  position: absolute;
}
.header_inner .header_logo .logo_w {
  display: block;
}
.header_inner .header_logo .logo {
  display: none;
}
.header_inner .header_logo a span,
.header_inner .reserve li a,
.header_inner .navi li a {
  color: #fff;
  background: none;
}
.header_inner .header_logo a span::after {
	background: rgba(255, 255, 255, 0.6);
}
.header_totaltop a {
  background: rgba(50, 91, 154, 0.8);
}
.header_inner .reserve .li_reserve a {
  background: rgba(50, 91, 154, 0.8);
}
header.fixed .header_totaltop a {
  background: #325B9A;
}
#contentsmain_wrap {
  top: 0;
}
#contentsmain {
  margin-bottom: 0 !important;
}
header.open.fixd .header_inner .access li a .bt_access_w, header.fixd #gnavi .access li a .bt_access {
  display: inline-block;
}
h2 span {
  padding-left: 90px;
}
h2 span::before {
  content: "";
  width: 80px;
  height: 1px;
  background: #253752;
  margin: auto;
  position: absolute;
  left: 0;
  top: 0;
  bottom: 0;
}
#contentsmain .topmainimg {
  position: relative;
}
#contentsmain .topmainimg::before {
  content: "";
  width: 100%;
  height: 100%;
  position: absolute;
  top: 0;
  left: 0;
  display: block;
  z-index: 100;
  background: rgba(50, 91, 154, 0.2);
}
@keyframes zoom-in {
  0% {
    transform: scale(1);
  }
  100% {
    transform: scale(1.1);
  }
}
.topmainimg .swiper-slide-active .slide-img, .topmainimg .swiper-slide-duplicate-active .slide-img, .topmainimg .swiper-slide-prev .slide-img {
  animation: zoom-in 10s linear 0s 1 normal both;
}
/*お知らせ*/
#sec_news .link01 {
  width: 185px;
  text-align: left;
  margin-bottom: 5px;
}
#sec_news .news {
  border-top: 1px solid #ccc;
}
#sec_news .news li {
  display: -webkit-box;
  display: -ms-flexbox;
  display: flex;
  flex-flow: wrap;
  border-bottom: 1px solid #ccc;
}
#sec_news .news li p {
  display: -webkit-box;
  display: -ms-flexbox;
  display: flex;
  flex-flow: wrap;
  width: 100%;
}
#sec_news .news li p a {
  font-size: 12px;
  font-weight: bold;
  line-height: 1.4;
  color: #253752;
  background: #D7E2F3;
  border-radius: 100px;
  padding: 0 20px;
}
#sec_news .news li .date {
  font-family: "Heebo", "Yu Gothic", "游ゴシック", "ヒラギノ角ゴ Pro W3", "Hiragino Kaku Gothic Pro", "メイリオ", "Meiryo", sans-serif;
  font-weight: normal;
  color: #8E8E8E;
}
#sec_news .news li .title a {
  font-weight: bold;
}
/*診療時間*/
#sec_about figure {
  display: -ms-flexbox;
  display: -webkit-box;
  display: flex;
  -webkit-flex-direction: column;
  flex-direction: column;
  -webkit-justify-content: center;
  justify-content: center;
  -webkit-align-items: center;
  align-items: center;
  width: 100%;
  height: 300px;
  margin-bottom: 30px;
  overflow: hidden;
  position: relative;
}
#sec_about figure::before {
  content: "";
  display: block;
  width: 100%;
  height: 100vh;
  background: rgba(50, 91, 154, 0.2);
  z-index: 100;
  position: absolute;
  top: 0;
  left: 0;
}
#sec_about figure img {
  -webkit-transform: translate3d(-50%, -150px, 0);
  -ms-transform: translate3d(-50%, -150px, 0);
  transform: translate3d(-50%, -150px, 0);
}
#sec_about figure h2 {
  color: #fff;
  position: absolute;
  left: 0;
  bottom: 0;
  z-index: 101;
  margin-bottom: 30px;
}
figure h2 span::before {
  background: #fff;
}
#sec_about .timetable {
  width: 100%;
  line-height: 4;
  margin-bottom: 100px;
}
#sec_about .timetable th, #sec_about .timetable td {
  font-size: 14px;
  text-align: center;
  border-bottom: 1px solid #ccc;
  padding: 10px 5px;
}
#sec_about .timetable tr th:nth-of-type(n+2) {
  width: 11%;
}
#sec_about .timetable tr:first-of-type th {
  color: #253752;
}
#sec_about .timetable tr:nth-of-type(n+2) th {
  font-weight: normal;
  font-family: "Heebo", "Yu Gothic", "游ゴシック", "ヒラギノ角ゴ Pro W3", "Hiragino Kaku Gothic Pro", "メイリオ", "Meiryo", sans-serif;
  text-align: left;
}
#sec_about .div_topics01 {
  margin-bottom: 30px;
}
#sec_about .div_topics01 .reserve {
  font-size: 24px;
  font-family: 'Heebo', "YuMincho", "Yu Mincho", "游 明朝", "ヒラギノ明朝 Pro W3", "Hiragino Mincho Pro", "ＭＳ Ｐ明朝", "MS PMincho", serif;
  font-feature-settings: "palt";
  letter-spacing: 1px;
  line-height: 1.4;
}
#sec_about .div_topics01 .reserve span {
  font-size: 14px;
  font-family: 'Cormorant Garamond', "YuMincho", "Yu Mincho", "游 明朝", "ヒラギノ明朝 Pro W3", "Hiragino Mincho Pro", "ＭＳ Ｐ明朝", "MS PMincho", serif;
  position: relative;
  bottom: 2px;
}
#sec_about .div_topics01 .reserve span:nth-of-type(1) {
  font-size: 18px;
}
#sec_about .div_topics01 dl {
  display: -webkit-box;
  display: -ms-flexbox;
  display: flex;
  font-family: "Heebo","Yu Gothic","游ゴシック","ヒラギノ角ゴ Pro W3","Hiragino Kaku Gothic Pro","メイリオ","Meiryo",sans-serif;
  color: #5C5C5C;
  margin-bottom: 10px;
}
#sec_about .div_topics01 dt {
  margin-right: 5px;
}
#sec_about .link01 {
  margin: auto;
}
/*メニュー*/
#sec_topics .topics {
  display: -webkit-box;
  display: -ms-flexbox;
  display: flex;
  flex-flow: wrap;
  justify-content: space-between;
  width: 100%;
  max-width: 728px;
  margin: auto;
}
#sec_topics .topics div a {
  display: -webkit-box;
  display: -ms-flexbox;
  display: flex;
  align-items: center;
  justify-content: center;
  width: 100%;
  height: 100%;
  background: #F6FAFF;
}
#sec_topics .topics div a span {
  font-weight: bold;
  text-align: center;
  color: #253752;
}
#sec_topics .topics div a span span {
  display: inline-block;
  color: #325B9A;
}
/*お問い合わせ*/
#sec_contact, #sec_other {
  margin-top: 0;
  margin-bottom: 0;
}
#sec_contact {
  text-align: center;
  background: #f4f4f4;
}
#sec_contact .tel {
  font-weight: bold;
  margin-bottom: 10px;
}
#sec_contact .link_tel {
  display: inline-block;
  font-size: 30px;
  font-family: 'Heebo', "YuMincho", "Yu Mincho", "游 明朝", "ヒラギノ明朝 Pro W3", "Hiragino Mincho Pro", "ＭＳ Ｐ明朝", "MS PMincho", serif;
  font-feature-settings: "palt";
  letter-spacing: 1px;
  line-height: 1;
  color: #151515;
  margin-bottom: 50px;
}
#sec_contact .link_tel img {
  width: 28px;
  position: relative;
  top: 3px;
  left: -2px;
}
#sec_contact .contact {
  font-weight: bold;
  margin-bottom: 20px;
}
#sec_contact .link_contact {
  display: block;
  max-width: 400px;
  font-size: 20px;
  font-family: 'Cormorant Garamond', "YuMincho", "Yu Mincho", "游 明朝", "ヒラギノ明朝 Pro W3", "Hiragino Mincho Pro", "ＭＳ Ｐ明朝", "MS PMincho", serif;
  text-align: center;
  color: #fff;
  border: none;
  background: #253752;
  padding: 20px;
  margin: auto;
}
/*他*/
#sec_other ul {
  position: relative;
}
#sec_other ul li {
  display: -webkit-box;
  display: -ms-flexbox;
  display: flex;
  align-items: center;
  justify-content: center;
  position: relative;
}
#sec_other ul li::before {
  content: "";
  display: block;
  width: 100%;
  height: 100%;
  background: rgba(50, 91, 154, 0.2);
  position: absolute;
  top: 0;
  left: 0;
  transition: all .5s ease;
  z-index: 100;
}
#sec_other ul li:hover::before {
  background: rgba(50, 91, 154, 0.1);
}
#sec_other ul li.obstetrics {
  background: url(../../lib/img/common/obstetrics.jpg) no-repeat center/100%;
}
#sec_other ul li.gynecology {
  background: url(../../lib/img/common/gynecology.jpg) no-repeat center bottom 35% /100%;
}
#sec_other ul li.infertility {
  background: url(../../lib/img/common/infertility.jpg) no-repeat center/150%;
}
#sec_other ul li a {
  width: 100%;
  font-weight: bold;
  font-family: "YuMincho", "Yu Mincho", "游 明朝", "ヒラギノ明朝 Pro W3", "Hiragino Mincho Pro", "ＭＳ Ｐ明朝", "MS PMincho", serif;
  text-align: center;
  line-height: 1.6;
  color: #fff;
  padding: 15% 0;
  z-index: 101;
}
#sec_other ul li a:hover {
  opacity: 1;
}
#sec_other ul li a span {
  font-weight: normal;
  font-family: 'Cormorant Garamond', "YuMincho", "Yu Mincho", "游 明朝", "ヒラギノ明朝 Pro W3", "Hiragino Mincho Pro", "ＭＳ Ｐ明朝", "MS PMincho", serif;
}
.footer_top .contact {
  max-width: 365px;
}
@media (min-width: 1190px) {
  /*  header  */
  .header_inner .navi li::before {
	background: #fff;
  }
  .header_inner .reserve .li_contact::before {
	background: rgb(255,255,255,.6);
  }
  .header_inner .reserve .li_sideber .bt_voice_w,
  .header_inner .reserve .li_sideber .bt_instagram_w {
	display: inline-block;
  }
  .header_inner .reserve .li_sideber .bt_voice,
  .header_inner .reserve .li_sideber .bt_instagram {
	display: none;
  }
  header.fixed .header_inner .reserve .li_sideber .bt_voice_w,
  header.fixed .header_inner .reserve .li_sideber .bt_instagram_w {
	display: none;
  }
  header.fixed .header_inner .reserve .li_sideber .bt_voice,
  header.fixed .header_inner .reserve .li_sideber .bt_instagram {
	display: inline-block;
  }
  /*  header end  */
}
@media (min-width: 870px) {
  #sec_about figure {
    height: 400px;
  }
  #sec_about figure img {
    -webkit-transform: translate3d(-50%, -200px, 0);
    -ms-transform: translate3d(-50%, -200px, 0);
    transform: translate3d(-50%, -200px, 0);
  }
}
@media (min-width: 680px) {
  #contentsmain .topmainimg {
	max-width: 100%;
	height: 100vh;
	position: relative;
	overflow: hidden;
	z-index: 1;
  }
  #contentsmain .topmainimg .slider {
	width: 100%;
	position: relative;
	overflow: hidden;
  }
  #contentsmain .topmainimg .swiper-wrap {
	max-width: 100vw;
	position: relative;
	overflow: hidden;
  }
  #contentsmain .topmainimg .slide-img img {
	object-fit: cover;
	width: 100%;
	height: 100vh;
  }
  #contentsmain .topmainimg .slide-img .topmain_sp {
    display: none;
  }
  /*お知らせ*/
  #sec_news .leftbox h2 {
    margin-bottom: 30px;
  }
  #sec_news .news {
    margin-bottom: 30px;
  }
  #sec_news .news li {
    padding: 40px 0 34px;
  }
  #sec_news .news li p a {
    margin-right: 15px;
  }
  #sec_news .news li .date {
    width: 90px;
    font-size: 14px;
  }
  #sec_news .news li .title {
    width: calc(100% - 90px);
  }
  #sec_news .rightbox .link01 {
    display: none;
  }
  /*診療時間*/
  #sec_about figure img {
    position: absolute;
    top: 50%;
    left: 50%;
  }
  #sec_about .timetable tr:nth-of-type(n+2) th {
    padding-left: 20px;
  }
  #sec_about .timetable tr:nth-of-type(n+2) th span:first-of-type {
    display: none;
  }
  #sec_about .div_topics01 dl {
	font-size: 14px;
  }
  /*メニュー*/
  #sec_topics {
	background: #fff;
	margin: 0;
	padding: 100px 0;
	top: 0;
	z-index: 10;
  }
  #sec_topics .topics div {
	width: calc(100% / 3 - 10px);
	height: 200px;
	margin-bottom: 15px;
  }
  #sec_topics .topics .w_100 {
	margin: auto;
  }
  #sec_topics .topics div a span {
	font-size: 18px;
  }
  #sec_topics .topics div a span span {
	font-size: 15px;
  }
  /*お問い合わせ*/
  #sec_contact {
    padding: 100px 0;
  }
  /*他*/
  #sec_other ul {
    display: -webkit-box;
    display: -ms-flexbox;
    display: flex;
  }
  #sec_other ul li {
    width: 50%;
  }
  #sec_other ul li a {
    font-size: 14px;
  }
  #sec_other ul li a span {
    font-size: 25px;
  }
}
@media (max-width: 679px) {
  header {
    position: relative;
  }
  .header_inner .header_logo .logo_w{
	display: none;
  }
  .header_inner .header_logo .logo{
	display: block;
  }
  .header_inner .header_logo a span{
	color: #325B9A;
  }
  .header_inner .header_logo a span::after{
	background: rgba(50, 91, 154, 0.7);
  }
  h2 span {
    font-size: 14px;
    padding-left: 70px;
  }
  h2 span::before {
    width: 60px;
  }
  #contentsmain .topmainimg .slider {
	margin-left: auto;
	margin-right: auto;
	position: relative;
	overflow: hidden;
	list-style: none;
	padding: 0;
	z-index: 1;
  }
  #contentsmain .topmainimg .swiper-slide {
	min-height: calc(2335 / 3000 * 85vw);
  }
  #contentsmain .topmainimg .slide-img .topmain_sp {
	display: none;
  }
  /*お知らせ*/
  #sec_news .leftbox .link01 {
    display: none;
  }
  #sec_news .news {
    margin-bottom: 30px;
  }
  #sec_news .news li {
    padding: 25px 0 15px;
  }
  #sec_news .news li p {
    margin-bottom: 10px;
  }
  #sec_news .news li p a {
    margin-right: 10px;
  }
  #sec_news .news li .date, #sec_news .news li .title {
    width: 100%;
  }
  #sec_news .news li .title {
    font-size: 16px;
  }
  #sec_news .news li .title a {
    display: block;
    line-height: 1.6;
  }
  #sec_news .rightbox .link01 {
    margin-right: auto;
    margin-left: auto;
  }
  /*診療時間*/
  #sec_about figure h2 {
    margin-bottom: 20px;
  }
  #sec_about figure {
    height: 180px;
    margin-bottom: 15px;
  }
  #sec_about figure img {
    -o-object-fit: cover;
    font-family: 'object-fit: cover;';
    object-fit: cover;
    transform: none;
	position: absolute;
	top: 0;
  }
  #sec_about .timetable {
    line-height: 2;
    margin-bottom: 60px;
  }
  #sec_about .timetable th, #sec_about .timetable td {
	font-size: 12px;
	padding: 10px 2px;
  }
  #sec_about .timetable tr th:nth-of-type(n+2) {
    width: 40px;
  }
  #sec_about .timetable tr:nth-of-type(n+2) th {
    text-align: center;
    position: relative;
  }
  #sec_about .timetable tr:nth-of-type(n+2) th::before {
    content: "";
    width: 1px;
    height: 8px;
    background: #253752;
    margin: auto;
    position: absolute;
    top: 0;
    bottom: 0;
    left: 0;
    right: 0;
  }
  #sec_about .timetable tr:nth-of-type(n+2) th span {
    display: inline-block;
    text-align: right;
  }
  #sec_about .timetable tr:nth-of-type(n+2) th span:last-of-type {
    display: none;
  }
  #sec_about .div_topics01 .reserve {
    font-size: 20px;
  }
  #sec_about .div_topics01 .reserve span {
    font-size: 13px;
  }
  #sec_about .div_topics01 .reserve span:nth-of-type(1) {
    font-size: 15px;
  }
  #sec_about .div_topics01 dl {
	font-size: 12px;
	line-height: 1.4;
  }
  #sec_about .div_topics01 dd span {
	display: none;
  }
  /*メニュー*/
  #sec_topics {
	margin-top: 15px;
	margin-bottom: 15px;
  }
  #sec_topics .topics div {
	width: calc(100% / 3 - 2px);
	height: 150px;
	margin-bottom: 4px;
  }
  #sec_topics .topics .w_100 {
	width: 100%;
	height: 80px;
  }
  #sec_topics .topics div a span {
	line-height: 1.3;
  }
  #sec_topics .topics div a span span {
    font-size: 12px;
	line-height: 1.5;
	text-align: left;
	margin-top: 3px;
  }
  /*お問い合わせ*/
  #sec_contact {
    padding: 60px 0;
  }
  #sec_contact .link_tel {
    font-size: 24px;
    margin-bottom: 40px;
  }
  #sec_contact .link_tel img {
    width: 23px;
  }
  #sec_contact .link_contact {
    max-width: 300px;
    padding: 10px;
  }
  /*他*/
  #sec_other ul li a {
    font-size: 12px;
  }
  #sec_other ul li a span {
    font-size: 20px;
  }
}