@charset "utf-8";
/* CSS Document */
@import url("layout.css");
/************************************************************ mainimg*/
/* ------------------------------ mainimg*/
#mainimg {
  position: relative;
  text-align: right;
}
#mainimg .slider_wrap {
  margin: 0 auto;
}
#mainimg .slider_wrap .bx-wrapper {
  margin: 0 auto; /*画像を真ん中に*/
}
/**/
#mainimg .slider_wrap .slider li {
  height: 522px;
}
#mainimg .slider_wrap .slider li img {
  position: relative;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  -webkit-transform: translate(-50%, -50%);
}
#mainimg .slider_wrap .slider li span {
  position: absolute;
  top: 55%;
  right: 20px;
}
#mainimg .slider_wrap .slider li span em {
  background-repeat: repeat-x;
  background-size: 200% 2em;
  background-position: 0;
  transition: all 2s ease;
  font-size: 2.6rem;
  font-weight: 500;
  font-style: normal;
  color: var(--base);
  background-color: rgba(255, 255, 255, 0.8);
  line-height: 1.6em;
}
/* ---------- controls*/
#mainimg .bx-wrapper .bx-controls-direction {
  position: absolute;
  z-index: -10;
  display: none;
}
/* ---------- pager*/
#mainimg .bx-wrapper .bx-pager, #mainimg .bx-wrapper .bx-controls-auto {
  position: absolute;
  bottom: 140px;
  width: 100%;
}
#mainimg .bx-wrapper .bx-pager.bx-default-pager a {
  background: var(--sub);
  width: 8px;
  height: 8px;
  -moz-border-radius: 8px;
  -webkit-border-radius: 8px;
  border-radius: 8px;
}
#mainimg .bx-wrapper .bx-pager.bx-default-pager a:hover, #mainimg .bx-wrapper .bx-pager.bx-default-pager a.active, #mainimg .bx-wrapper .bx-pager.bx-default-pager a:focus {
  background: var(--base);
}
/* ------------------------------ visit_area*/
#visit_area {
  width: 100%;
  max-width: 1040px;
  position: absolute;
  z-index: 10;
  left: 0;
  right: 0;
  margin: auto;
  top: 80%;
}
#visit_area .inner {
  display: -webkit-flex;
  display: flex;
  -webkit-justify-content: space-between;
  justify-content: space-between;
}
/* ---------- 共通*/
#visit_area .box {
  margin: 0 20px;
}
/* ---------- 診療時間*/
#visit_area .box:first-of-type {
  width: 100%;
  max-width: 500px;
  padding: 30px 20px 20px 30px;
  border-radius: 10px;
  background-color: #fff;
}
#visit_area .box:first-of-type img {
  margin: 0 0 10px 0;
}
#visit_area .box:first-of-type p {
  text-align: right;
  font-size: 1.2rem;
  font-weight: 600;
  line-height: 1.6em;
  margin: 0 20px 10px 0;
}
#visit_area .box:first-of-type p span {
  color: var(--pi);
}
/* ---------- ボタン*/
#visit_area .box:last-of-type {}
#visit_area .box:last-of-type ul {
  width: 100%;
  max-width: 460px;
  list-style: none;
  display: -webkit-flex;
  display: flex;
  -webkit-justify-content: flex-start;
  justify-content: flex-start;
  -webkit-flex-wrap: wrap;
  flex-wrap: wrap;
}
#visit_area .box:last-of-type ul li {
  list-style: none;
  background-color: #fff;
  border-radius: 5px;
  width: 50%;
  text-align: center;
}
#visit_area .box:last-of-type ul li:first-child {
  width: 100%;
  margin: 0 0 15px 0;
}
#visit_area .box:last-of-type ul li a {
  list-style: none;
}
#visit_area .box:last-of-type ul li a img {}
/************************************************************ container*/
#container {}
/************************************************************ main*/
#main {
  padding: 200px 0 0 0;
}
/* ------------------------------ primary_area*/
#primary_area {
  width: 100%;
  position: relative;
  padding: 60px 0;
  background-image: url("../img/primary_area_top.png"), url("../img/primary_area_bottom.png");
  background-repeat: repeat-x, repeat-x;
  background-position: top, bottom;
  background-color: var(--thin);
  overflow: hidden;
}
#primary_area::after {
  position: absolute;
  content: url("../img/primary_area_bg.png");
  bottom: 0;
  z-index: 1;
}
#primary_area .wrap {
  width: 100%;
  max-width: 1040px;
  margin: 0 auto;
  display: -webkit-flex;
  display: flex;
  -webkit-justify-content: center;
  justify-content: center;
}
/* ---------- 共通*/
#primary_area .inner {
  height: calc(100% - 20px);
  position: relative;
  margin: 10px;
  padding: 50px 30px 0 30px;
  background-color: #fff;
  border-radius: 19px;
  filter: drop-shadow(0px 0px 4px rgba(0, 0, 0, 0.1));
  z-index: 10;
}
#primary_area .inner h2 {
  position: absolute;
  content: "";
  left: 0;
  right: 0;
  top: -30px;
  margin: auto;
  text-align: center;
  z-index: 10;
}
#primary_area .inner h2 img {
  width: 200px;
  height: auto;
  filter: drop-shadow(0px 0px 4px rgba(0, 0, 0, 0.1));
}
/* ---------- 導入*/
#primary_area .inner .intro {
  margin: 0 0 20px 0;
}
#primary_area .inner .intro ul {
  display: -webkit-flex;
  display: flex;
  -webkit-align-items: center;
  align-items: center;
  list-style: none;
}
#primary_area .inner .intro ul li {}
#primary_area .inner .intro ul li:first-child {
  margin: 0 20px 0 0;
}
#primary_area .inner .intro ul li:nth-child(2) {
  font-size: 1.3rem;
  font-weight: 600;
  line-height: 1.8em;
  -webkit-flex-basis: 260px;
  flex-basis: 260px;
}
/* ---------- リンク*/
#primary_area .inner .menu {
  display: -webkit-flex;
  display: flex;
}
#primary_area .inner .menu ul {
  margin: 0 10px 40px 10px;
  width: calc(50% - 20px);
  list-style: none;
}
#primary_area .inner .menu ul li {
  font-size: 1.4rem;
  font-weight: 600;
  line-height: 1.5em;
  padding: 8px 0;
}
@media screen and (min-width: 1260px) {
  #primary_area .inner .menu ul li {
    font-size: 1.5rem;
  }
}
#primary_area .inner .menu ul li a {
  display: block;
  position: relative;
  padding: 0 18px 0 0;
}
#primary_area .inner .menu ul li a::before {
  position: absolute;
  content: "";
  width: 14px;
  height: 14px;
  top: calc(50% - 7px);
  right: 0;
  -webkit-border-radius: 50%;
  border-radius: 50%;
  background: var(--accent);
}
#primary_area .inner .menu ul li a::after {
  position: absolute;
  content: "";
  top: calc(50% - 2px);
  right: 5px;
  width: 5px;
  height: 5px;
  border-top: 2px solid #fff;
  border-right: 2px solid #fff;
  -webkit-transform: rotate(45deg);
  transform: rotate(45deg);
}
/* ---------- more*/
#primary_area .inner .more {
  position: absolute;
  right: 40px;
  bottom: 40px;
  text-align: right;
}
#primary_area .inner .more img {
  filter: drop-shadow(0px 0px 4px rgba(0, 0, 0, 0.1));
}
/* ---------- 産科*/
#primary_area .ob {
  width: 100%;
  max-width: 500px;
  margin: 0 10px;
  background-color: rgba(211, 144, 171, 0.2);
  border-radius: 27px;
}
#primary_area .ob .inner .menu ul li {
  border-bottom: 1px dashed var(--ob);
}
#primary_area .ob .inner .menu ul li a::before {
  background: var(--ob);
}
/* ---------- 婦人科*/
#primary_area .gyn {
  width: 100%;
  max-width: 500px;
  margin: 0 10px;
  background-color: rgba(159, 151, 201, 0.2);
  border-radius: 27px;
}
#primary_area .gyn .inner .menu ul li {
  border-bottom: 1px dashed var(--gyn);
}
#primary_area .gyn .inner .menu ul li a::before {
  background: var(--gyn);
}
/* ------------------------------ gallary1*/
#gallary1 {
  width: calc(100% - 40px);
  max-width: 1300px;
  margin: 0 auto;
  padding: 40px 0;
  overflow: hidden;
}
/**/
#gallary1 .bx-wrapper {
  margin: 0 auto;
  padding: 0;
  position: relative;
  max-width: 100% !important;
}
#gallary1 .bx-viewport {
  margin: 0 auto;
  background: transparent !important;
  border: 0;
  overflow: visible !important;
}
/**/
#gallary1 ul.banner_wrap {
  margin: 0 auto;
  margin-left: 50%;
  padding: 0;
  list-style: none;
}
#gallary1 ul.banner_wrap li {
  margin-left: -120px !important; /* 320 / 2 */
  margin-right: 140px !important; /* 320 / 2 + 20 */
}
/* ---------- controls */
#gallary1 .bx-controls-direction {
  display: -webkit-flex;
  display: flex;
  padding: 20px 0 0 10px;
  width: 50%;
}
#gallary1 .bx-wrapper .bx-prev {
  background-image: url("../img/arrow_prev.png");
  background-repeat: no-repeat;
  width: 9px;
  height: 12px;
  padding: 0 10px;
  display: block;
  left: 6px;
}
#gallary1 .bx-wrapper .bx-next {
  background-image: url("../img/arrow_next.png");
  background-repeat: no-repeat;
  width: 9px;
  height: 12px;
  padding: 0 10px;
  display: block;
  right: -6px;
}
/* ---------- pager*/
#gallary1 .bx-wrapper .bx-pager.bx-default-pager a {
  background: var(--sub);
  width: 8px;
  height: 8px;
  -moz-border-radius: 8px;
  -webkit-border-radius: 8px;
  border-radius: 8px;
}
#gallary1 .bx-wrapper .bx-pager.bx-default-pager a:hover, #gallary1 .bx-wrapper .bx-pager.bx-default-pager a.active, #gallary1 .bx-wrapper .bx-pager.bx-default-pager a:focus {
  background: var(--base);
}
/* ------------------------------ news*/
#news {
  width: 100%;
  position: relative;
  padding: 40px 0;
  background-image: url("../img/news_area_top.png"), url("../img/news_area_bottom.png");
  background-repeat: repeat-x, repeat-x;
  background-position: top, bottom;
  background-color: #fff;
}
#news .inner {
  width: 100%;
  max-width: 960px;
  margin: 0 auto;
  padding: 0 0 20px 0;
}
/* ---------- 共通*/
#news article {
  margin: 20px 0;
}
#news article a {
  display: block;
  display: -webkit-flex;
  display: flex;
  -webkit-align-items: flex-start;
  align-items: flex-start;
  -webkit-flex-direction: column-reverse;
  flex-direction: column-reverse;
  border-radius: 7px;
  padding: 10px 20px;
  transition: .4s;
}
#news article a h3 {
  font-weight: 600;
}
#news article a .day {
  font-size: 1.5rem;
  font-weight: 600;
}
#news .more {
  text-align: right;
}
/* ---------- 重要なニュース*/
#news .important {
  margin: 0 0 40px 0;
}
#news .important article a {
  background-color: rgba(211, 144, 171, 0.15);
  border: none;
}
#news .important article a:hover {
  background-color: rgba(211, 144, 171, 0);
}
#news .important article a h3 {
  color: var(--pi);
}
#news .important article a .day {
  color: var(--pi);
}
/* ---------- ニュース*/
#news h2 {}
#news .news_wrap article a {
  background-color: rgba(245, 241, 238, 0.7);
  border: none;
}
#news .news_wrap article a:hover {
  background-color: rgba(245, 241, 238, 0);
}
#news .news_wrap article a .day {
  color: var(--base);
}
/**/
#news .more {}
/* ------------------------------ gallary2*/
#gallary2 {
  width: calc(100% - 40px);
  max-width: 1300px;
  margin: 0 auto;
  padding: 40px 0;
  overflow: hidden;
}
/**/
#gallary2 .bx-wrapper {
  margin: 0 auto;
  padding: 0;
  position: relative;
  max-width: 100% !important;
}
#gallary2 .bx-viewport {
  margin: 0 auto;
  background: transparent !important;
  border: 0;
  overflow: visible !important;
}
/**/
#gallary2 ul.link_wrap {
  margin: 0 auto;
  margin-left: 50%;
  padding: 0;
  list-style: none;
}
#gallary2 ul.link_wrap li {
  margin-left: -120px !important; /* 320 / 2 */
  margin-right: 140px !important; /* 320 / 2 + 20 */
}
/* ---------- controls */
#gallary2 .bx-controls-direction {
  display: -webkit-flex;
  display: flex;
  padding: 20px 0 0 10px;
  width: 50%;
}
#gallary2 .bx-wrapper .bx-prev {
  background-image: url("../img/arrow_prev.png");
  background-repeat: no-repeat;
  width: 9px;
  height: 12px;
  padding: 0 10px;
  display: block;
  left: 0;
}
#gallary2 .bx-wrapper .bx-next {
  background-image: url("../img/arrow_next.png");
  background-repeat: no-repeat;
  width: 9px;
  height: 12px;
  padding: 0 10px;
  display: block;
  right: -10px;
}
/* ---------- pager*/
#gallary2 .bx-wrapper .bx-pager.bx-default-pager a {
  background: var(--sub);
  width: 8px;
  height: 8px;
  -moz-border-radius: 8px;
  -webkit-border-radius: 8px;
  border-radius: 8px;
}
#gallary2 .bx-wrapper .bx-pager.bx-default-pager a:hover, #gallary2 .bx-wrapper .bx-pager.bx-default-pager a.active, #gallary2 .bx-wrapper .bx-pager.bx-default-pager a:focus {
  background: var(--base);
}
/* ------------------------------ pickup*/
#pickup {}
#pickup .inner {
  width: 100%;
  max-width: 1120px;
  margin: 0 auto;
  padding: 30px 0 10px 0;
}
/**/
#pickup ul {
  margin: 20px 0;
  display: -webkit-flex;
  display: flex;
  list-style: none;
}
#pickup ul li {
  width: 50%;
  display: -webkit-flex;
  display: flex;
  list-style: none;
}
#pickup ul li a {}
#pickup ul li a img {
  min-width: 297px;
}
/* ---------- テキスト*/
#pickup ul li p {
  width: 240px;
  margin: 0 20px 0 10px;
  font-size: 1.4rem;
  font-weight: 600;
  line-height: 1.8em;
}
/* ------------------------------ facility*/
#facility {
  width: 100%;
  margin: 0 0 2px 0;
  background-image: url("../img/facility_area_bg.jpg");
  background-repeat: repeat-x;
}
#facility .inner {
  width: 100%;
  max-width: 1040px;
  margin: 0 auto;
  padding: 30px 0 15px 0;
}
/**/
#facility ul {
  display: -webkit-flex;
  display: flex;
  -webkit-justify-content: center;
  justify-content: center;
  -webkit-align-items: center;
  align-items: center;
  list-style: none;
}
#facility ul li {
  margin: 0 40px;
}
#facility ul li a {}
#facility ul li a img {}
/**/