@charset "utf-8";

/* ---------------------------------------------------------------
レスポンシブ対応
--------------------------------------------------------------- */


@media only screen and (min-width: 48em) { /* PC 768px～ */
  .pc_n {
    display: none;
  }

  body {
    min-width: 1000px;
  }
	

	
	
}


@media only screen and (max-width: 47.938em) { /* SP ～767px */

  * {
    max-width: 100%;
    box-sizing: border-box;
  }

  body {
    background: #fff;
  }

  img {
    height: auto;
  }

  iframe {
    width: 100%;
  }

  table {
    width: 100%;
  }

  .sp_n {
    display: none;
  }
  
  #wrapper {
    width: 100%;
  }
  
  .imgl, .imgr {
    float: none;
    display: block;
    margin: 0 auto 20px !important;
    text-align: center;
  }


/* style.css　レスポンシブ対応 ----------------------------------------- */
  

/* ヘッダー周り */

  #header {
    background: none;
    height: auto;
  }

  #header h1 {
    height: auto;
    background: #dd8689;
    padding: 4px 10px;
  }

  #header-maincontents {
    width: 100%;
    height: auto;
    background: transparent;
  }

  #flash-area, #noflash { /* KV */
    width: 100%;
    height: auto;
    background: none;
  }

  #menu, #left-navi { /* Gナビ・サイドバー */
    display: none;
  }


/* SP ヘッダー ---------------------------------------------------- */

.s_header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 10px;
  }

  .s_header .item {
    width: 48% !important;
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    height: 45px;
    align-items: center;
    align-content: center;
    color: #fff;
    border-radius: 4px;
    background: #dd8689;
    text-decoration: none;
    border: 0;
    outline: none;
  }

  .s_header .item img {
    width: 20px;
  }

  .s_header .item span {
    display: block;
    text-align: center;
    line-height: 1;
    font-size: 13px;
    margin-left: 10px;
  }


/* drawer ---------------------------------------------------- */
  
  html {
    overflow-y: scroll;
  }

  .Drawer {
    position: fixed;
    z-index: 11;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
  }

  .Drawer-backdrop {
    position: absolute;
    z-index: -1;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(0, 0, 0, 0.5);
  }

  .Drawer-nav {
    position: absolute;
    top: 0;
    right: 0;
    height: 100%;
    width: 80%;
    background: #fdf9f3;
  }

  .Nav {
    overflow: auto;
    -webkit-overflow-scrolling: touch;
  }

  .Drawer[aria-expanded] {
    transition-property: visibility;
    transition-duration: 0.25s;
  }

  .Drawer[aria-expanded] .Drawer-backdrop {
    transition-property: opacity;
    transition-duration: 0.25s;
    transition-timing-function: linear;
  }

  .Drawer[aria-expanded] .Drawer-nav {
    transition-property: transform;
    transition-duration: 0.25s;
    transition-timing-function: ease;
  }

  /* 開いているとき */
  .Drawer[aria-expanded="true"] {
    visibility: visible;
    transition-duration: 0s;
  }

  .Drawer[aria-expanded="true"] .Drawer-backdrop {
    opacity: 1;
  }

  .Drawer[aria-expanded="true"] .Drawer-nav {
    transform: translateX(0);
  }

  /* 閉じているとき */
  .Drawer[aria-expanded="false"] {
    visibility: hidden;
  }

  .Drawer[aria-expanded="false"] .Drawer-backdrop {
    opacity: 0;
  }

  .Drawer[aria-expanded="false"] .Drawer-nav {
    transform: translateX(100%);
  }

  .Nav-button {
    position: absolute;
    top: 0;
    right: 0;
    z-index: 1;
    width: 30%;
    height: 100px;
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    align-content: center;
    justify-content: center;
    border: 0;
    padding: 0;
    color: #fff;
    background: #dd8689;
    opacity: 0;
    transition-property: opacity;
    transition-duration: 0.25s;
    transition-timing-function: linear;
    outline: none;
  }

  .Nav-button img {
    width: 20px;
    display: block;
  }

  .Nav-button span {
    margin-top: 5px;
    display: block;
    width: 100%;
    line-height: 1;
    font-size: 10px;
  }

  .Drawer[aria-expanded="true"] .Nav-button {
    opacity: 1;
  }

  .Nav-list {
    margin: 100px 0 0;
    padding: 0 10px;
    text-align: left;
    list-style-type: none;
  }

  .Nav-item {
    margin: 0;
    border-width: 0 0 1px;
    border-style: solid;
    border-color: #f2e9de;
  }

  .Nav-item.bdb0 {
    border-bottom: 0;
  }

  .Nav-item:first-child {
    border-top-width: 1px;
  }

  .Nav-link {
    display: block;
    position: relative;
    padding: 1rem;
    line-height: 1.2;
    text-decoration: none;
    font-weight: bold;
    color: #dd8689;
  }
  .Nav-link:active {
    padding: 1rem;
    margin: 0;
  }
  a.Nav-link {
    color: #dd8689;
  }

  a.Nav-link:after {
    content: "";
    position: absolute;
    right: 10px;
    width: 6px;
    height: 6px;
    border-width: 1px 1px 0 0;
    border-style: solid;
    border-color: #dd8689;
    transform: rotate(45deg);
    top: calc(50% - 4px);
  }

  span.Nav-link {
    text-align: center;
    padding: 1.2rem 0;
  }

  .Nav-link:before {
    color: #f9f15c;
  }

  .Nav-listBoxIn {
    position: absolute;
    width: 70%;
    height: 100px;
    background: #fff;
    top: -100px;
    left: 0;
    border-right: 1px solid rgba(0, 0, 0, 0.1);
  }
  .Nav-listBoxIn::after {
    content: "";
    display: block;
    position: absolute;
    height: 1px;
    bottom: 0;
    left: 0;
    width: 100%;
    background: rgba(0, 0, 0, 0.1);
  }

  .Nav-listBoxIn a {
    display: flex;
    width: 100%;
    height: 100%;
    padding: 10px;
    align-items: center;
    text-align: center;
  }

  .Nav-listBox {
    position: relative;
    background: #fff;
  }

  .sub_menu {
    max-width: none;
    margin-right: -10px;
    margin-left: -10px;
    padding: 10px 15px;
    text-align: center;
    background: #fdf9f3;
  }

  .sub_menu > a {
    display: block;
    width: 100%;
    text-align: left;
  }

  .sub_menu > a img {
    width: 50%;
    margin: 0 auto 10px;
  }

  .Nav-list {
    height: 100%;
    overflow-y: auto;
  }

  .Nav-listIn {
    margin: 0 auto;
    list-style: none;
    padding-left: 2rem;
    text-align: left;
  }

  .Nav-listIn .Nav-link {
    position: relative;
    padding: 1rem 1rem 1rem 0;
    color: #dd8689;
    font-weight: normal;
  }

  .Nav-listIn .Nav-item:first-of-type {
    border-top: 0;
  }
  .Nav-listIn .Nav-item:last-of-type {
    border-bottom: 0;
  }

  .Nav-bn { /*  サブナビ */
    max-width: none;
    margin: 10px -10px;
    border: 0;
    padding: 1em;
    background: #ffefef;
  }
  .Nav-bn > div {
    font-weight: bold;
    text-align: center;
    padding: 10px;
    font-size: 18px;
  }
  .Nav-bn ul {
    list-style: none;
    margin: 0;
    padding: 0;
  }
  .Nav-bn ul li {
    border-bottom: 1px solid #f2e9de;
  }
  .Nav-bn a {
    display: flex;
    justify-content: center;
    font-weight: bold;
    padding: 10px;
    border-radius: 4px;
    background: #fff;
    text-decoration: none;
    color: #666;
    position: relative;
  }
  .Nav-bn a::after {
    content: "";
    position: absolute;
    right: 10px;
    width: 6px;
    height: 6px;
    border-width: 1px 1px 0 0;
    border-style: solid;
    border-color: #dd8689;
    transform: rotate(45deg);
    top: calc(50% - 4px);
  }

  .bnr li {
    text-align: center;
  }

  .Drawer.close { /* アンカー対策 */
    display: none;
  }


/* メインコンテンツ ---------------------------------------------------- */

  #contents {
    background: none;
  }

  #maincontents {
    float: none;
    width: 100%;
  }

  #maincontents-pad {
    margin: 0;
  }

  #maincontents .paragraph-normal {
    padding: 10px;
    width: 100%;
  }

  #maincontents .section-title {
    height: auto;
    width: 100%;
    background-position: center bottom;
    background-size: 100% auto;
    text-indent: 0;
    line-height: 1.6;
    padding: 0 0 14px 34px;
    margin: 20px 0;
  }

  .float-l, .float-r {
    float: none;
  }

  .float-l img, .float-r img {
    display: block;
    margin: auto;
    padding: 4px 0;
  }

  #maincontents .section-tbline {
    width: 100%;
    height: auto;
    line-height: 1.4;
    padding: 4px 0;
  }


/* 医院概要 ---------------------------------------------------- */

  .float-l.aboutwidth, .float-l {
    float: none;
    margin: 0;
  }

  .aboutwidth {
    width: 100%;
  }

  #maparea {
    width: 100%;
    height: 301px;
    background: none;
    margin: 20px 0 0;
  }

  #maparea .border-1 {
    width: 93% !important;
    height: 240px !important;
    margin: 0;
  }

  .table-lbline-timetbl table tr .tdata {
    padding: 3px 0;
  }


/*  フッター ---------------------------------------------------- */

  #footer, #footer-contents {
    background: none;
    height: auto;
  }

  .mag-top-bottom-tall {
    margin: 10px;
  }

  #footer-menu, #footer-sign-block {
    display: none;
    height: auto;
  }

  #footer-copyright {
    height: auto;
    background: #dd8689;
    line-height: 1.2;
    padding: 4px;
  }


/* 院長ご挨拶 ---------------------------------------------------- */

  .pad-left-middle {
    margin: 10px 0;
  }
	
　　
	
	#maincontents .table-lblinef table tr td,#maincontents .table-lbline table tr td{
	border-bottom-width: 1px;
	border-bottom-style: solid;
	border-bottom-color: #F0CBCB;
	padding:6px 8px;
	border-top-width: 1px;
	border-top-style: solid;
	border-top-color: #F0CBCB;
	border-right-width: 1px;
	border-right-style: solid;
	border-right-color: #E7A1A3;
	border-left-width: 1px;
	border-left-style: solid;
	border-left-color: #E7A1A3;
}
	#maincontents .table-lbline table tr td.left_td {
	width: 25%;
}
	


/* 院内のご紹介 ---------------------------------------------------- */

  .paragraph-normal > .table-lbline {
    width: 100% !important;
    margin: 0 !important;
  }
  .viewport {
    width: 290px;
    max-width: 290px;
    overflow: hidden;
    margin: 0 auto;
  }

  .flipsnap {
    width: 1740px !important;
    max-width: 1740px !important;
  }

  .item {
    float: left !important;
    width: 290px !important;
    max-width: 290px !important;
    cursor: pointer;
    overflow: hidden;
    margin: 0 0 10px;
  }

  .comment {
    text-align: center;
  }


/* 診療時間・アクセス ---------------------------------------------------- */

  #map_canvas { /* Gマップ */
    height: 300px !important;
  }

  #map_canvas iframe {
    height: 100%;
  }


/* 在宅医療のご案内 ---------------------------------------------------- */

  .question {
    width: 100%;
  }

  .faqblock {
   width: 100%; 
  }

  #maincontents .section-tbline592 {
    width: 100%;
    height: auto;
    line-height: 1.2;
    padding: 4px 0;
  }

  #maincontents .table-lblinef table tr th,
  #maincontents .table-lblinef table tr td {
    padding: 2px;
  }
  
  .mag-bottom-middle table img {
    width: 30px;
    max-width: 30px;
  }

  .question {
    padding: 0 0 0 10px;
    margin: 0;
    line-height: 1.4;
  }
  
  .answer {
    padding: 0 0 0 10px;
  }


/* 予防接種 ---------------------------------------------------- */

  #maincontents .table-lbline {
    width: 94%;
    margin: 0 10px;
  }

  .timetable-time {
    white-space: normal;
  }

  .section-tbline.mag-bottom-middle {
    width: 94% !important;
    margin: 10px auto;
  }

  .section-belt {
    height: auto !important;
  }
	
	
	
	
	
}