@charset "utf-8";

/*=================================================================================================================================*/
/** 個別指定 for スマートフォン
/*=================================================================================================================================*/

/*---------------------------------------------
 ** 740px
---------------------------------------------*/
@media screen and (max-width: 767px) {
  .only_sp_none {
    display: none !important;
  }

  @keyframes header {
    0% {
      opacity: 0;
      -webkit-transform: translateY(0px);
      transform: translateY(0px);
    }

    100% {
      opacity: 1;
      -webkit-transform: translateY(0);
      transform: translateY(0);
    }
  }

  @-webkit-keyframes header {
    0% {
      opacity: 0;
      -webkit-transform: translateY(0px);
      transform: translateY(0px);
    }

    100% {
      opacity: 1;
      -webkit-transform: translateY(0);
      transform: translateY(0);
    }
  }
  .logo,
  .tel_sp,
  .navBtn {
    -webkit-animation: header 1s ease 0.2s;
    -moz-animation: header 1s ease 0.2s;
    animation: header 1s ease 0.2s;
    -webkit-animation-fill-mode: both;
    -moz-animation-fill-mode: both;
    animation-fill-mode: both;
  }
  .header_L {
    transform: translateY(0) !important;
  }
  /*---------------------------------------------
	html
---------------------------------------------*/
  body {
    font-size: 1.6rem;
    margin-top: 62px;
  }
  html {
    scroll-behavior: smooth;
    font-size: calc(100vw / 44);
  }

  /*画像*/
  img {
    max-width: 100%;
    height: auto;
  }
  p {
    text-align: justify;
  }
  h4 {
    padding: 0rem 0 2.6rem;
  }

  /*---------------------------------------------
 **  カラム
---------------------------------------------*/
  #main {
    width: 90%;
    padding: 0rem 0 2rem;
  }

  #top #main {
    width: 100%;
  }

  /*---------------------------------------------
 ** h2
---------------------------------------------*/
  h2 {
    font-size: 2.4rem;
    font-feature-settings: "palt";
  }
  /*---------------------------------------------
 ** h3
---------------------------------------------*/

  h3 {
    font-size: 2.1rem;
  }

  /*---------------------------------------------
 ** ヘッダー記述
---------------------------------------------*/

  .header_wrapper {
    height: 62px;
    padding: 6px 0 0 3%;
    border-bottom: 2px solid #eaedf4;
    box-sizing: border-box; /*通常の記述*/
    -webkit-box-sizing: border-box; /*Google ChromeやSafariの機能を利用*/
    -moz-box-sizing: border-box; /*Firefoxの機能を利用*/
  }
  /* パンクズリスト */
  #breadcrumb {
    width: 100%;
    margin: 0rem 5% 4rem 0;
    padding: 2% 0 0 0;
  }

  /* ロゴ */
  .logo {
    max-width: 180px;
  }
  #footer .logo {
    max-width: 186px;
  }

  /* PC用 TEL 非表示 */
  .tel {
    display: none;
  }

  #footer .tel {
    display: block;
    text-align:center;
  }

  #footer .tel-ptn-01 a {
    font-size:3.8rem;
    text-decoration:none !important;
    
    display:inline-block;
  }

  #footer .tel-ptn-01 .icon_tel::before {
    background: url(/img/common/icon-tel-02.png) 0 0 no-repeat;
    background-size: contain;
    top: 5px;
    width: 19px;
    height: 30px;
    content: "";
    display: inline-block;
    margin-right: 0.5rem;
    position: relative;
    left: -3px;
  }

  /* スマホ TEL アイコン */
  .tel_sp {
    width: 20px;
    height: 31px;
    background: url(/img/common/icon-tel-02.png) center top no-repeat;
    background-size: cover;
    position: absolute;
    top: 2px;
    right: 72px;
    text-indent: -999em;
  }
  .tel_sp a {
    width: 100%;
    height: 100%;
    display: block;
    position: relative;
  }
  .tel_sp a:after {
    width: 30px;
    font-size: 10px;
    position: absolute;
    top: 31px;
    left: 1px;
    content: "TEL";
    display: block;
    color: #f29601;
    z-index: 999;
    text-indent: 0;
  }

  /* メイン画像 */
  .main_h1_wrapper {
    padding: 0 5%;
  }
  /* TOP メイン文言 */
  .main-top-p {
    margin-top: 100px;
  }
  #top .main_h1_wrapper {
    left: 3%;
    padding: 0 3%;
  }

  .sub-menu {
    padding: 0 12% 0 7%;
    background: #f4fafd;
  }
  .sub-menu li {
    border-bottom: 1px dashed #ccc;
  }
  .sub-menu li:last-of-type {
    border: none;
  }
  .sub-menu li a {
    padding: 0.8em 1em 0.7em 2em;
    font-size: 12px;
  }
  .sub-menu li a:after {
    position: absolute;
    top: 9px;
    left: 5px;
    color: #006cbb;
    font-weight: bold;
  }
  .sub-menu li:nth-of-type(1) a:after {
    content: "01. ";
  }
  .sub-menu li:nth-of-type(2) a:after {
    content: "02. ";
  }
  .sub-menu li:nth-of-type(3) a:after {
    content: "03. ";
  }
  .sub-menu li:nth-of-type(4) a:after {
    content: "04. ";
  }
  .sub-menu li:nth-of-type(5) a:after {
    content: "05. ";
  }
  .sub-menu li:nth-of-type(6) a:after {
    content: "06. ";
  }
  .sub-menu li:nth-of-type(7) a:after {
    content: "07. ";
  }
  .sub-menu li:nth-of-type(8) a:after {
    content: "08. ";
  }
  .sub-menu li:nth-of-type(9) a:after {
    content: "09. ";
  }
  .sub-menu li:nth-of-type(10) a:after {
    content: "10. ";
  }

  #nav01 {
    border-bottom: none;
  }

  .sub-menu li a:before {
    display: none;
  }

  .sub-menu {
    border-top: 1px solid #dcdddd;
    /* border-bottom: 1px solid #dcdddd; */
  }
  .sub-menu li:last-of-type {
    border-bottom: none;
    border-top: none;
  }

  /*---------------------------------------------
 ** フッター記述
---------------------------------------------*/
  footer {
    margin-bottom: 12rem;
  }
  .footer_wrapper {
    margin: 0;
    padding-bottom: 10px;
  }

  /* フッターナビ */
  #footer nav ul {
    background: #f6f6f6;
    display: flex;
    flex-wrap: wrap;
    justify-content: space-between;
    padding: 1px 0 1px 0;
  }
  #footer nav li {
    width: 49.3%;
    margin: 1px;
  }
  #footer nav a {
    width: 100%;
    background: #fff;
    padding: 10px 0;
    text-align: center;
    text-decoration: none;
    display: block;
    position: relative;
  }
  #footer nav a:after {
    width: 10px;
    height: 10px;
    position: absolute;
    top: 15px;
    right: 11px;
    background-size: 100%;
    content: "";
  }

  /* 診療時間 */
  .time_table th {
    font-size: 1.4rem;
    padding: 0.1rem 0.4rem 0.5rem;
  }
  .time_table td,
  tr.time_tr_shyujutsu td {
    font-size: 1.4rem;
    padding: 0.4rem 0.3rem;
  }
  /* MAP */
  .map {
    height: 300px;
  }
  /* 住所 */
  .txt-address {
    margin: 0 0 10px;
  }

  /*---------------------------------------------
 **  スマホナビ（
---------------------------------------------*/
  #nav03 ul {
    padding: 0px 5% 0 7%;
    background: #f6f6f6;
  }
  #nav03 ul li {
    border-bottom: 1px dashed #ccc;
  }
  #nav03 ul li:last-of-type {
    border: none;
  }
  #nav03 ul li a {
    padding: 0.8em 1em 0.7em 2em;
    font-size: 12px;
  }
  #nav03 ul li a:after {
    position: absolute;
    top: 7px;
    left: 5px;
    content: "≫";
    color: #0059b2;
  }
  #nav03 ul li:last-of-type a:after {
    content: "≫";
  }
  #nav03 {
    border-bottom: none !important;
  }

  #nav03 ul li a:before {
    display: none;
  }

  #nav03 ul {
    border-top: 1px solid #dcdddd;
    border-bottom: 1px solid #dcdddd;
  }

  .navBtn {
    width: 54px;
    height: 62px !important;
    background: #006cbb;
    top: 0px !important;
    right: 0px !important;
    padding: 24px 16px 0px 20px !important;
    box-sizing: border-box; /*通常の記述*/
    -webkit-box-sizing: border-box; /*Google ChromeやSafariの機能を利用*/
    -moz-box-sizing: border-box; /*Firefoxの機能を利用*/
    display: flex;
  }

  /*=================================================================================================================================*/
  /**  TOPコンテンツ	*/
  /*=================================================================================================================================*/

  .news_L {
    flex-basis: 65px;
    min-height: 85px;
    padding-top: 18px;
    text-align: center;
  }
  .news_L p {
    text-align: center;
  }


  .news_R {
    width: 73% !important;
    font-size: 1.5rem;
  }
  .news_wrapper {
    padding: 2rem 0 2.1rem;
  }

  .slick-next,
  .slick-prev {
    z-index: 999;
  }
  .slick-next {
    right: -10px !important;
  }
  .slick-prev {
    left: -13px !important;
  }
  button.slick-prev,
  button.slick-next {
    width: 23px !important;
    border: unset;
  }

  /* 院長紹介 */
  .bg-top-doctor-01 {
    background: url(/img/top/bg-top-sec-doctor-01.jpg) no-repeat;
    background-position: -1010px 0px;
    padding-bottom: 30px;
  }
  .top-doctor-name {
    padding: 3rem 0 4rem;
  }
  .top-doctor-name-01 {
    margin-right: 0rem;
    display: block;
    line-height: 1;
  }
  .top-doctor-name-02 {
    line-height: 1.5;
  }
  .top-doctor-name-txt-right {
    text-align: right;
  }
  .bg-top-doctor-01 {
    background: url(/img/top/bg-top-sec-doctor-01.jpg) no-repeat;
    background-position: -30px 0px;
    background-size: 578px;
  }

  /*---------------------------------------------
  **  当院の診療内容
  ---------------------------------------------*/
  a.top-treat-btn {
    margin-top: -3rem !important;
  }

  /*=================================================================================================================================*/
  /**  内部ページ	*/
  /*=================================================================================================================================*/

  .main_img {
    background-size: cover;
    position: relative;
    height: 150px;
    display: flex;
    justify-content: center;
    align-items: center;
    background-position: 30% 0 !important;
  }
  #top .main_img {
    display: block;
    height: 100%;
  }
  /* スライドショー位置調整 */
  .main_img_slide_01 {
    background-size: 280% !important;
    background-position: 72% 30% !important;
  }
  .main_img_slide_02 {
    background-size: 280% !important;
    background-position: 44% 30% !important;
  }
  .main_img_slide_03 {
    background-size: 280% !important;
    background-position: 86% 30% !important;
  }
  .main_img_slide_04 {
    background-size: 280% !important;
    background-position: 63% 30% !important;
  }
  .main_img_slide_05 {
    background-size: 280% !important;
    background-position: 57% 30% !important;
  }
  .main_img_slide_06 {
    background-size: 280% !important;
    background-position: 65% 30% !important;
  }
  .main_img_slide_07 {
    background-size: 280% !important;
    background-position: 71% 30% !important;
  }

  .slideshow {
    width: 100%;
    position: relative;
    left: 0;
  }
  

  /*---------------------------------------------
 **  緑内障
---------------------------------------------*/
  .is-position-unset {
    position: unset;
  }

  /*---------------------------------------------
 **  common.css 打ち消し
---------------------------------------------*/
  /* .p-LR_4per{
  padding-left: unset;
  padding-right: unset;
} */

  @media (max-width: 767px) {
    .txt-left-sp{
      text-align: left;
    }
  }

  .ttl-lens-01{
    font-size: 3.2vw;
    font-weight: bold;
    left: 42px;
  }
  .is-ico-question{
      width: 30px;
      height: 50px;
  }
} /*■■ ここまで ■■*/
