@charset "utf-8";
@media screen and (min-width:769px) {
  .pc_n {
    display: none !important;
  }
  #pagebottom {
    display: none;
  }
  #drawer {
    display: none;
  }
  .Header-button {
    display: none;
  }
  .tit_02 span {
    display: none;
  }
  .tit_03 span {
    display: none;
  }
  .gv_galleryWrap {
    min-height: 690px;
  }
  .gv_gallery {
    min-height: 680px;
  }
  #header #logo #telephones .tel_num {
    display: none;
  }
  a[href^="tel:"] {
    pointer-events: none;
  }
}
@media screen and (max-width:768px) {
  .sp_n {
    display: none !important;
  }
  .h_auto_sp {
    height: auto !important;
  }
  .w_100_sp {
    width: 100% !important;
  }
  .mb0_sp {
    margin-bottom: 0 !important;
  }
  .mb10_sp {
    margin-bottom: 10px !important;
  }
  .pl0_sp {
    padding-left: 0 !important;
  }
  .fl_n_sp {
    float: none !important;
  }
  .ta_c_sp {
    text-align: center !important;
  }
  *, *::after, *::before {
    max-width: 100%;
    box-sizing: inherit;
  }
  #wrapper {
    width: 100%;
  }
  body {
    background: none;
    box-sizing: border-box;
  }
  h4 {
    height: auto;
  }
  /* -------------------------------------------------
header
---------------------------------------------------- */
  h1 {
    font-size: 10px;
    height: auto;
    margin-right: 70px;
    width: auto;
  }
  #header {
    padding-right: 10px;
    padding-left: 10px;
  }
  #headerleft {
    width: auto;
    height: auto;
    float: none;
    margin-right: 70px;
    margin-bottom: 10px;
  }
  #headerleft h2 {
    height: auto;
    width: auto;
  }
  #headerleft img {
    height: auto;
  }
  #headerright {
    float: none;
    width: auto;
    margin-bottom: 20px;
  }
  #font_change {
    display: none;
  }
  #contact {
    text-align: center !important;
    margin: 0 auto;
  }
  #contact .tel {
    font-size: 22px;
    display: inline-block;
  }
  /* -------------------------------------------------
nav drawer
---------------------------------------------------- */
  .Header-button {
    position: absolute !important;
    top: 20px;
    right: 10px;
  }
  .Nav-listBox .Nav-listBoxIn a {
    padding: 10px 2px;
  }
  .Nav-listBox .Nav-bn .bn-reserve {
    background: #fff;
  }
  #drawer {
    z-index: 9999;
  }
  .Nav-list .btn_banner {
    margin-right: -10px;
    margin-left: -10px;
    padding: 10px;
  }
  .Nav-list .btn_banner > ul > li:not(:first-child) {
    margin-top: 10px;
  }
  .Nav-item.btn_banner .Nav-link {
    padding: 0;
  }
  .Nav-list .btn_banner .Nav-link::after {
    display: none;
  }
  #gnav {
    display: none;
  }
  /* -------------------------------------------------
keyvisual
---------------------------------------------------- */
  #main {
    clear: both;
    width: 100%;
    height: auto;
    min-height: 25vw;
    background-size: auto 100%;
    background-repeat: no-repeat;
    background-position: center center;
  }
  .main_txt {
    padding: 0;
    text-align: center;
    font-size: 23px;
    position: absolute;
    top: 50%;
    left: 0;
    transform: translateY(-50%);
    display: block;
  }
  .main_txt::before {
    content: none;
    display: none;
  }
  /* -------------------------------------------------
index_keyvisual
---------------------------------------------------- */
  #main_index {
    clear: both;
    width: 100%;
    height: 50vw;
    /*background-size: contain;
  background-repeat: no-repeat;
  background-position: center center;*/
  }
  /*.keyvisual_credit{
	position: relative;
	width: 100%;
	border: 3px solid #79C8EC;
	background-color: #fff;
	padding: 10px;
	margin: 0 3% 0;
}
.keyvisual_credit p{
	font-size: 100%;
	font-weight: bold;
}
.keyvisual_credit p span{
	color: red;
}
.keyvisual_credit img{
	width: 100%;
}*/
  .keyvisual p {
  position: absolute; /*絶対配置*/
  bottom: .5rem;
  right: 1rem;
  z-index: 100;
}
  .btn_credit {
    margin: 0 auto 10px;
    padding: 0;
    float: none;
    width: 100%;
  }
	
.btn_credit a {
 display: block;
  /*background-color: #1E4DAE;*/
  border:2px solid #ef8593;
  /*background:#ef8593 url("../img/btn_credit.png") top left no-repeat;*/
background:#ef8593;
  border-radius: 5px;
  display: block;
  color: #fff;
  padding: 10px 10px 10px 10px;
  text-decoration: none;
  text-align: left;
  position: relative;
	text-shadow: 
    #ef8593 2px 0px 0px, #ef8593 -2px 0px 0px,
    #ef8593 0px -2px 0px, #ef8593 0px 2px 0px,
    #ef8593 2px 2px 0px, #ef8593 -2px 2px 0px,
    #ef8593 2px -2px 0px, #ef8593 -2px -2px 0px,
    #ef8593 1px 2px 0px, #ef8593 -1px 2px 0px,
    #ef8593 1px -2px 0px, #ef8593 -1px -2px 0px,
    #ef8593 2px 1px 0px, #ef8593 -2px 1px 0px,
    #ef8593 2px -1px 0px, #ef8593 -2px -1px 0px,
    #ef8593 1px 1px 0px, #ef8593 -1px 1px 0px,
    #ef8593 1px -1px 0px, #ef8593 -1px -1px 0px;
}
.btn_credit a::before {
  content: none;
}	
.btn_credit02 a {
    display: block;
    }
    .btn_credit02 a .box{
        width: 100%;
    }    
    .btn_credit02 a img{
        width: 50%;
        margin: 0 auto;
        display: block;
        
    }  
    
    
  .main_index_txt {
    padding: 0;
    text-align: center;
    font-size: 24px;
    position: absolute;
    top: 50%;
    left: 0;
    transform: translateY(-50%);
    display: block;
  }
  .main_index_txt::before {
    content: none;
    display: none;
  }
  .main_index_timetable_sp {
    text-align: center;
  }
  .main_index_timetable_sp img {
    max-width: 90%;
  }
  /* -------------------------------------------------
leftblock
---------------------------------------------------- */
  #leftblock {
    display: none;
  }
  /* -------------------------------------------------
rightblock
---------------------------------------------------- */
  #rightblock {
    padding-left: 10px;
    padding-right: 10px;
  }
  #bannerArea {
    width: auto;
    height: auto;
    margin: 10px 10px;
    display: flex;
    justify-content: center;
    flex-wrap: wrap;
  }
  #bannerArea li {
    float: none;
    width: 230px;
    margin-right: 10px;
    margin-left: 10px;
    margin-bottom: 10px;
  }
  .list_area ul.list_L {
    float: none;
  }
  .list_area ul.list_R {
    float: none;
  }
  /* -------------------------------------------------
footer
---------------------------------------------------- */
  #footer {
    padding-bottom: 90px;
  }
  #footerlink {
    padding-left: 10px;
    padding-right: 10px;
  }
  #pagebottom {
    position: fixed;
    display: flex;
    justify-content: space-between;
    left: 0;
    bottom: 0;
    z-index: 10;
    width: 100%;
    height: 90px;
    transition: transform .8s ease;
    background: #fffce1;
    padding: .5em;
    transform: translateY(100%);
    box-sizing: border-box;
  }
  #pagebottom.show {
    transform: translateY(0);
  }
  #pagebottom .item {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 100%;
    height: 100%;
    text-align: center;
    border-radius: 4px;
  }
  #pagebottom .item img {
    max-height: 100%;
  }
  #pagebottom .item_tel {
    width: 89%;
    text-decoration: none;
  }
  #pagebottom .item_pagetop {
    width: 10%;
  }
  #pagebottom .item_tel .tel {
    font-family: "Yu Gothic", "游ゴシック", "Hiragino Kaku Gothic ProN", "Hiragino Sans", Meiryo, sans-serif;
    display: block;
    position: relative;
    font-size: 25px;
    font-weight: bold;
    letter-spacing: .08em;
    line-height: 1;
    color: #fff;
    padding: 2px 5px 2px 38px;
  }
  #pagebottom .item_tel .tel::before {
    display: flex;
    align-items: center;
    justify-content: center;
    font-family: 'fontello';
    content: '\e800';
    line-height: .8;
    color: #339ecc;
    background: #fff;
    font-size: .65em;
    position: absolute;
    left: 4px;
    top: 50%;
    transform: translateY(-50%);
    padding: 3px;
    border-radius: 50px;
    height: 26px;
    width: 26px;
  }
  .item_tel {
    background-size: auto auto;
    background-color: rgba(48, 168, 220, 1);
    background-image: repeating-linear-gradient(135deg, transparent, transparent 3px, rgba(73, 186, 252, 1) 3px, rgba(73, 186, 252, 1) 4px);
  }
  .item_pagetop {
    background: #cdda58;
  }
  .item_pagetop svg {
    width: 60%;
    margin: 0 auto;
    fill: #fff;
  }
  ul.footerlink {
    display: none;
  }
  /* -------------------------------------------------
main_contents
---------------------------------------------------- */
  p.imgleft, p.img {
    margin: 0 auto 10px;
    float: none;
  }
  /* -------------------------------------------------
pagetop
---------------------------------------------------- */
  p.pagetop {
    display: none;
  }
  /* -------------------------------------------------
summary
---------------------------------------------------- */
  #summary {
    width: 100%;
  }
  #summary dl.summarytext, #summary dl.summarytext dt, #summary dl.summarytext dd {
    float: none;
    width: auto;
  }
  #summary .timetable {
    width: 100%;
  }
  #mapArea, p#gmap {
    height: auto;
    width: auto;
    background: transparent;
  }
  p#gmap iframe {
    height: 300px;
    width: 768px;
  }
  /* -------------------------------------------------
staff
---------------------------------------------------- */
  #greeting {
    background: #e9f6fe;
    min-height: 0;
    width: auto;
    padding: 10px;
    margin-top: 58vw;
    position: relative;
  }
  #greeting::after {
    content: "";
    display: block;
    background: url(../img/doctorbg02.jpg) no-repeat right top 26% / auto 240%;
    height: 50vw;
    width: 70%;
    position: absolute;
    top: -54vw;
    left: 15%;
  }
  #greeting p {
    width: auto;
    margin: 0 0 20px;
  }
  /* -------------------------------------------------
clinic
---------------------------------------------------- */
  #outerImageContainer {
    height: auto !important;
  }
  ul.lightbox {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    width: auto;
    margin: 0 10px;
    height: auto;
  }
  ul.lightbox li {
    height: auto;
    margin: 0 0 20px 0;
  }
  ul.lightbox img {
    height: auto;
  }
  #hoverNav {
    overflow: hidden;
  }
  /* -------------------------------------------------
access
---------------------------------------------------- */
  #access #rightblock table {
    width: 100%;
  }
  #access #rightblock p#map {
    width: calc(100% - 20px);
    margin-left: 10px;
    margin-right: 10px;
  }
  /* -------------------------------------------------
lens
---------------------------------------------------- */
  #lens #rightblock table {
    width: 100%;
  }
  #lens #rightblock table th#type {
    width: 30%;
  }
  #lens #rightblock table th:not(#type), #lens #rightblock table td:not(#type) {
    display: block;
    width: 100%;
    margin: 0;
    border-left: none;
    border-right: none;
    border-bottom: none;
  }
  #lens #rightblock table tr:first-of-type th:nth-child(2) {
    border-top: none;
  }
  #lens #rightblock table tr:first-of-type th:nth-child(3):not(#type) {
    display: none;
  }
  /*  slickスライダー  */
  .slick-slider .slick-track, .slick-slider .slick-list.slick-slider .slick-track, .slick-slider .slick-list {
    max-width: none;
  }
  /*  スライダープロ  */
  .slider-pro .sp-thumbnails {
    max-width: none;
  }
}