@charset "UTF-8";

/* 印刷用 */
@media only print{
  /*
    A4 847 * 595 px
    A3 1191 * 842 px
    B5 729 * 516 px
  */
  body{
    width: 1140px;
    overflow: hidden;
    /*zoom: 0.9;*/
  }
  .container{
    width: 100%;
  }
  .tb{
    display: none;
  }
  .sp{
    display: none;
  }
  
  /* 固定ヘッダーを使用している場合など */
  header .hdr1{
    position: static !important;
  }
  /* animate のフェードインを可視化 */
  [data-animate]{
    opacity:1 !important;
  }
}

@media only screen and (max-width:1220px){
  .container{
    width: 100%;
  }
  .gnav > ul > li,
  footer .ftr_links li{
    width: 100%;
  }
  .gnav li a,
  footer .ftr_links li{
    padding: 0 22px;
  }
  .gnav > ul > li:nth-child(5) a {
    padding-right: 0;
  }
  .gnav > ul > li:first-child a {
    padding-left: 0;
  }
}

@media only screen and (max-width:1023px){
  .contact_form th {
    width: 250px;
  }
  .contact_form td .wpcf7-text{
    width: 100%;
  }
  .contact_form td [name="zipcode"]{
    width: 150px;
  }
  
  .gnav li a, 
  footer .ftr_links li {
    padding: 0 10px;
  }
  footer {
    margin-top: 0px;
  }
  footer .ftr1 .container:after {
    width: 48%;
	padding-top: 30%;	
  }
  footer .ftr_links li:first-child {
    padding-left: 0;
  }
  footer .ftr_links li:nth-child(5) {
    padding-right: 0;
  }
  

  /* **********************************
   *  Home
   * ********************************* */
  .pg_home .section#sec1 .large {
    font-size: 24px;
  }
  .cmn_4 .item {
    width: 50%;
  }
  .pg_home .section#sec3 .caution {
    position: inherit;
    right: 0;
  }
  .pg_home .section#sec4 .cmn_4{
    max-width: 700px;
    margin: 50px auto 0;
  }
  .pg_home .section#sec4 .cmn_4 .item {
    margin-bottom: 30px;
  }
  

  /* **********************************
   *  はじめての方へ
   * ********************************* */
  .pg_header .container {
    height: 30vw;
  }
  .large.center {
    font-size: 18px;
  }
  .pg_guide .section#sec2 .flex{
    justify-content: center;
  }
  .pg_guide .section#sec2 .history {
    width: 100%;
    order: 2;
  }
  .pg_guide .section#sec2 .img {
    width: 50%;
    order: 1;
    margin-bottom: 20px;
  }

  /* **********************************
   *  診療案内
   * ********************************* */
  .pg_treatment .cmn_4 .item {
    margin-bottom: 20px;
  }
  .pg_treatment .section#sec1 li a {
    padding: 15px;
  }
  .rule_1 .txt.pr130 {
    padding-right: 0;
  }
  .rule_1 .txt {
    width: 100%;
    padding-right: 0;
  }  
  .rule_1 {
    justify-content: center;
  }
  .rule_1 .img {
    width: 50%;
    margin-top: 30px;
  }
  .pg_treatment .section#sec4 li {
    white-space: inherit;
  }

  /* **********************************
   *  クリニック通信
   * ********************************* */
  .pagination .nav-posts .page-archive a {
    padding: 9px 99px;
  }
  .pagination .nav-posts .page-next, 
  .pagination .nav-posts .page-prev {
    min-width: 180px;
  }
  

  /* **********************************
   *  病院概要
   * ********************************* */
  .pg_about .section#sec1 th {
    width: 160px;
  }
  .pg_about .section#sec2 .cmn_2{
    margin: 0;
  }
  .pg_about .section#sec2 .cmn_2 .item {
    width: 100%;
    padding: 0;
  }
  .pg_about .section#sec2 .cmn_2 .item + .item{
    margin-top: 30px;
  }
}

@media only screen and (max-width:767px){
  
  body{
    font-size: 14px;
    padding-bottom: 60px;
  }
  header {
    padding: 15px 0;
  }
  header .hdr1{
    margin-bottom: 0;
    flex-wrap: wrap;
  }
  header .hdr1 .hdr_logo{
    float: none;
    width: 100%;
    text-align: center;
    margin: 5px 0;
  }
  header .hdr1 .hdr_contact{
    display: none;
  }
  
  .footer_fix{
    display: block;
  }
  footer .ftr1 .container {
    padding: 20px 10px 10px;
  }
  footer .ftr1 a.l_1, 
  footer .ftr1 a.l_2{
    display: none;
  }
  footer .ftr1 p {
    margin-bottom: 0;
  }
  footer .ftr1 .container:after {
    display: none;
/*    width: 50%;
    margin-left: auto;
    position: inherit;*/
  }
  footer .ftr2 iframe{
    height: 300px;
  }
  footer .ftr3 .ftr_links{
    display: none;
  }
  footer .ftr3 {
    padding: 0 0 15px;
  }
  footer .copy {
    font-size: 12px;
    padding: 15px 0 0;
  } 
  
  .gnav{
    position: fixed;
    top: 0;
    bottom: 0;
    left: 0;
    right: 0;
    background: #FFF;
    padding: 0;
    z-index: 99999;
    overflow-y: scroll;

    /*transition: all 0.2s;*/
    transform: translateX(100%);
    padding: 15px;
  }
  .gnav.active{
    transform: translateX(0%);
  }
  .gnav > ul{
    display: block;
  }
  .gnav > ul > li{
    width: 100%;
    font-size: 16px;
    padding: 10px 0;
    border: 0;
    border-bottom: 1px dashed #CCC;
  }
  .gnav > ul > li + li,
  .gnav > ul > li:first-child,
  .gnav > ul > li:last-child{
    border-left: 0;
    border-right: 0;
  }  
  .gnav > ul > li#menu-item-104{
    display: block;
  }
  .gnav > ul > li a{
    padding: 10px 0;
  }
  .gnav .children, .gnav .sub-menu{
    display: block;
    position: static;
    background: #EEE;
  }
  
  .breadcrumb{
    font-size: 12px;
  }
  
  .post_items{
    
  }
  .post_items .item{
    flex-wrap: wrap;
  }
  .post_items .item .date {
    border-right: 0;
  }
  .post_items .item .title{
    width: 100%;
    padding-left: 0;
  }
  .post_items .item:after {
    right: 10px;
  }
  .post_items .item.single_item .title{
    font-size: 16px;
  }
  .pagination .nav-posts .page-next,
  .pagination .nav-posts .page-prev{
    min-width: 100px;
  }
  .pagination .nav-posts .page-next a, 
  .pagination .nav-posts .page-prev a,
  .pagination .nav-posts .page-archive a{
    padding: 10px 10px;
    font-size: 11px;
  }
  
  .contact_info{
    padding: 10px;
  }
  .contact_info .box1{
    font-size: 13px;
  }
  .contact_info .box2{
    margin-top: 10px;
  }
  .contact_info .box2 .icon{
    font-size: 15px;
  }
  .contact_info .box2 .tel{
    font-size: 24px;
  }
  .contact_info .box2 .txt{
    width: 100%;
    margin: 10px 0 0 0;
  }
  
  .contact_form th,
  .contact_form td{
    display: block;
    width: 100%;
    padding: 10px 10px;
  }
  .contact_form th{
    /*padding-bottom: 5px;*/
  }
  .contact_form td{
    /*padding-top: 0;*/
  }
  .contact_form td [name="zipcode"]{
    width: 100px;
  }
  .contact_form dl.date dt{
    width: 100%;
  }
  .contact_form dl.date dt.wide{
    width: 100%;
  }
  
  .contact_form td .wpcf7-text,
  .contact_form td .wpcf7-textarea,
  .contact_form td .wpcf7-select{
    width: 100%;
  }
  
  .contact_form_btns input[type="submit"], 
  .contact_form_btns input[type="button"]{
    width: 35%;
  }
  
  
  /* サイトマップ */
  .sitemap_items .item{
    width: 100%;
    margin-bottom: 15px;
  }
  .sitemap_items .item h4 a{
    padding: 10px 10px;
  }
  
  /* プライバシーポリシー */
  .privacy_tt{
    font-size: 18px;
  }
  .privacy_tt br{
    display: inline;
  }
  .privacy_items .item h4{
    font-size: 15px;
  }
    
  /* スクロール テーブル */
  .js-scrollable{
    overflow-x: auto;
  }
  .js-scrollable table{
    min-width: 748px;
  }
  

  /* **********************************
   *  Home
   * ********************************* */
  .section {
    padding: 50px 0;
  }
  .pg_home .section#sec1 .large {
    font-size: 18px;
  }
  .pg_home .section#sec2 {
    padding: 50px 0 30px;
  }
  .cmn_2 {
    margin: 0;
  }
  .cmn_2 .item {
    width: 100%;
    padding: 0;
  }
  .tt1 span {
    font-size: 16px;
    padding: 0 20px 5px;
  }
  .pg_home .section#sec2 .cmn_2 .item {
    margin-bottom: 15px;
  }
  .tt2 {
    font-size: 18px;
  }
  .tt2:before {
    width: 48px;
    height: 50px;
    margin-right: 25px;
  }
  .tt2:after {
    width: 34px;
    height: 36px;
    margin-left: 20px;
  }
  .cmn_4 {
    margin: 0 -5px;
  }
  .cmn_4 .item{
    padding: 0 5px;
  }
  .pg_home .section#sec4 .cmn_4{
    max-width: 450px;
  }  
  .pg_home .section#sec4 .cmn_4 .item h4 {
    padding: 5px;
  }  
  .pg_home .section {
    padding: 50px 0 80px;
  }
  .pg_home .section#sec3 .tt1 span {
    padding: 2px 10px 0;
  }

  /* **********************************
   *  はじめての方へ
   * ********************************* */
  .pg_header .container {
    height: 35vw;
  }
  .large.center {
    font-size: 16px;
  }
  .pg_guide .section#sec2 .history h3 {
    margin-bottom: 15px;
  }
  .pg_guide .section#sec2 .history dt {
    width: 90px;
  }
  .pg_guide .section#sec2 .history dd {
    width: calc(100% - 90px);
    padding-left: 20px;
  }
  .rule_1 .flex{
    justify-content: center;
  }
  .rule_1 .txt {
    width: 100%;
    padding-right: 0;
  }
  .rule_1 .img {
    width: 50%;
    margin-top: 20px;
  }
  .cmn_3 {
    margin: 0 -5px;
  }
  .cmn_3 .item {
    width: 50%;
    padding: 0 5px;
    margin-bottom: 15px;
  }

  /* **********************************
   *  診療案内
   * ********************************* */
  .pg_treatment .cmn_4 .item {
    font-size: 12px;
  }
  .pg_treatment .section#sec1 li a {
    padding: 8px 0;
  }
  .pg_treatment .section#sec1 li a:after {
    right: 4px;
  }
  .pg_treatment .section#sec4 table {
    font-size: 13px;
  }
  .pg_treatment .section#sec4 th {
    font-size: 14px;
  }
  .pg_treatment .tt1 {
    margin-bottom: 30px;
    padding: 11px 0 1px 50px;
  }

  /* **********************************
   *  クリニック通信
   * ********************************* */
  .commu_items .item .title {
    width: 100%;
    font-size: 16px;
  }
  .commu_items .item a{
    padding-left: 10px;
    flex-wrap: wrap;
  }
  .commu_items .item .read {
    margin: 10px auto 0;
  }

  .post_items .item.single_item {
    padding: 20px 10px 10px;
  }
  .post_content {
    font-size: 14px;
  }
  .pagination {
    margin-top: 40px;
  } 
  .pg_communication .pagination {
    margin-top: 50px;
  }
  .pagination .nav-posts .page-prev a:after {
    right: 6px;
  }
  .pagination .nav-posts .page-next a:before {
    left: 6px;
  }

  /* **********************************
   *  病院概要
   * ********************************* */
  .pg_about .section#sec1 table,
  .pg_about .section#sec1 tbody,
  .pg_about .section#sec1 tr,
  .pg_about .section#sec1 th, 
  .pg_about .section#sec1 td {
    width: 100%;
    display: block;
  }
  .pg_about .section#sec1 th, 
  .pg_about .section#sec1 td {
    padding: 10px 20px;
  }
  .pg_about .section#sec3 iframe{
    height: 300px;
  }
  

  /* **********************************
   *  ご予約について
   * ********************************* */
  .pg_reservation .large.center {
    font-size: 16px;
  }
  .pg_reservation .rule_1 .txt {
    width: 100%;
    padding-right: 0;
  }
  .pg_reservation .rule_1 .txt .tt1 {
    margin-bottom: 25px;
  }
  .pg_reservation .rule_1 .img {
    width: 100%;
  }
  
  /* **********************************
   *  お知らせ
   * ********************************* */
  .pg_news .post_items .item.single_item {
    padding: 25px 10px 10px;
  }
  .pg_news.single .pagination {
    margin-top: 40px;
  }
  
  /* 検索フォーム */
  .pg_404 a{
    margin: 50px auto 0;
  }
}

@media only screen and (max-width:359px){
  .footer_fix ul{
    font-size: 12px;
  }
}