/*
Theme Name: ラピス株式会社
Description: Habakiri の子テーマです
Template: habakiri
*/
body {
  font-size: 16px;
  line-height: 1.7;
}
.sp {
  display: none;
}
.cl_rd {
  color: red;
}
.cl_bl {
  color: blue;
}
.cl_gr {
  color: green;
}
.cl_gr2 {
  color: green;
  font-size:20px;
}
.moreBtn {
  display: block;
  width: 290px;
  margin: 10px auto;
  text-align: center;
  position: relative;
  background: #F4C56B;
  padding: 10px 5px;
  border-radius: 30px;
  color: #fff;
}
.moreBtn:after {
  content: '\f054';
  font-family: "Font Awesome 5 Free";
  display: block;
  font-weight: 900;
  position: absolute;
  top: 50%;
  right: 10px;
  transform: translateY(-50%);
  -webkit-transform: translateY(-50%);
  color: #fff;
}
.moreBtn:hover {
  opacity: 0.7;
  text-decoration: none;
  transition: all .5s;
  color: #fff;
}
h1 {
  font-size: 25px; /*投稿したページのタイトル*/
}
#main h2 {
  font-size: 25px;
  line-height: 1.5;
  font-weight: bold;
  margin-bottom: 30px;
  margin-top: 50px;
  border-top: 4px solid #5f9133;
  background-image: -webkit-linear-gradient(270deg, rgba(255, 255, 255, 1.00) 0%, rgba(244, 244, 244, 1.00) 99.52%);
  background-image: -moz-linear-gradient(270deg, rgba(255, 255, 255, 1.00) 0%, rgba(244, 244, 244, 1.00) 99.52%);
  background-image: -o-linear-gradient(270deg, rgba(255, 255, 255, 1.00) 0%, rgba(244, 244, 244, 1.00) 99.52%);
  background-image: linear-gradient(180deg, rgba(255, 255, 255, 1.00) 0%, rgba(244, 244, 244, 1.00) 99.52%);
  border-bottom: 1px solid #E7E7E7;
  padding-top: 10px;
  padding-right: 10px;
  padding-bottom: 10px;
  padding-left: 10px;
}
#main h3 {
  margin: 20px 0 10px;
  font-size: 21px;
  border-left: 8px solid #F4B33A;
  padding-left: 5px;
}
#main h4 {
  font-size: 18px;
  margin-top: 30px;
}
.box-1 {
  margin-bottom: 50px;
}
.box-2 {
  margin-bottom: 50px;
  overflow: hidden
}
.box-oshirase {
  margin-top: 0px;
  margin-bottom: 50px;
  overflow: hidden
}
.flexArea {
  display: flex;
}
.float_right {
  float: right;
  margin-left: 20px;
}
.right_photo {
  width: 300px;
}
.right_photo2 {
  width: 400px;
}
.float_left {
  float: left;
  margin-right: 20px;
}
.left_photo {
  width: 300px;
}
.author, .categories {
  display: none;
}
/*--------------------header--------------------*/
.header--center .global-nav .menu {
  width: 100%;
}
.site-branding__heading img {
	max-width: 380px;
	padding-top: 15px;
}
#responsive-btn {
  right: 5px;
}
.menu > li {
   width: 25%;
 /* width: 20%;*/
}
.menu > li a:hover img {
  opacity: 0.75;
  filter: alpha(opacity=75);
  -ms-filter: "alpha( opacity=80 )";
}
.h-info {
  list-style: none;
  margin: 0 auto 0 0;
  padding: 8px 0;
}
.h-tel {
  font-size: 35px;
  color: #ff6600;
  font-weight: 500;
}
.h-info table {
  border: none;
  line-height: 1.0em;
}
.h-time-1 {
  font-size: 15px;
  font-weight: bold;
  border-radius: 5px;
  text-align: center;
  padding: 5px;
  background-color: #FFEBC7;
}
.h-time-2 {
  font-size: 14px;
  padding-left: 10px;
}
/*--------------------main--------------------*/
.page-header {
  background: url(https://nakajima-geka.jp/wp-content/uploads/2025/11/header.jpg);
  background-position: center center;
  background-attachment: scroll;
  background-size: 100% auto;
  background-repeat: no-repeat;
  color: #fff;
  text-shadow: 2px 2px 10px #528822, -2px 2px 10px #528822, 2px -2px 10px #528822, -2px -2px 10px #528822;
}
.gree {
  margin: 50px auto;
  /*font-size: 1.1em;*/
  font-size: 1.25em;
}
.side {
  margin: 0px;
}
.side h5 {
  background-color: #8FC360;
  padding-top: 8px;
  padding-right: 8px;
  padding-bottom: 8px;
  padding-left: 8px;
  border-radius: 100vh;
  text-align: center;
  color: #FFFFFF;
  font-size: 1.1em;
  margin-top: 0px;
}
.oshirase {
  padding-top: 0.1em;
  padding-bottom: 0.1em;
  padding-left: 0.5em;
  font-size: 25px;
  font-weight: 600;
  background-color: #FFAF59;
  border-radius: 7px;
  color: #FFFFFF;
}
#news ul {
  list-style: none;
  padding: 0;
  margin: 30px auto;
}
#news ul li {
  border-bottom: 1px solid #ccc;
  padding-bottom: 20px;
  margin-bottom: 20px;
}
#news ul li a {
  display: flex;
  align-items: center;
  position: relative;
  transition: all .5s;
  color: #333;
}
#news ul li :after {
  content: '\f054';
  font-family: "Font Awesome 5 Free";
  display: block;
  font-weight: 900;
  position: absolute;
  top: 50%;
  right: 5px;
  transform: translateY(-50%);
  -webkit-transform: translateY(-50%);
  color: #333;
}
.news-time {
  margin-bottom: 0;
}
.news-title {
  margin: 0 0 0 10px;
}
.info-table {
  width: 100%;
}
.info-table th {
  text-align: center;
  border: solid 1px #ccc;
  padding: 5px;
  background-color: #F4B33A;
  color: #fff;
}
.info-table td {
  text-align: center;
  border: solid 1px #ccc;
  padding: 5px;
}
.dr_photo {
  width: 280px;
}
.dr_name {
  text-align: center !important;
  border-left: none !important;
  padding-left: 0 !important;
}
.dr_hist {
  width: 100%;
}
.hist_y {
  width: 10%;
}
.dr_hist td {
  padding: 10px;
  vertical-align: top;
}
.staff_area {
  margin-bottom: 50px;
  align-items: center;
}
.staff_photo {
  width: 30%;
  margin-right: 20px;
  margin-bottom: 0;
}
.staff_text {
  width: 70%;
  background: #ccc;
  border-radius: 10px;
  padding: 20px;
}
.staff_name {
  font-size: 25px;
  border-bottom: dotted 1px #666;
  margin-bottom: 20px;
}
.factable {
  width: 100%;
}
.factable td {
  width: 50%;
  vertical-align: bottom;
}
.factable2 {
  width: 100%;
}
.factable2 td {
  width: 33%;
  vertical-align: bottom;
}
.fac-img {
  margin: 0 10px 10px;
}
.fac-cap {
  text-align: center;
}
.tate {
  width: 66.666%;
  text-align: center;
  margin: 0 auto;
}
.tate2 {
  width: 90%;
  text-align: center;
  margin: 0 auto;
}
.price {
  width: 100%;
}
.price th {
  padding: 10px;
  border: solid 1px #999;
  text-align: center;
  background-color: #EEEEEE;
}
.price .tabletitle {
  width: 20%;
  background: transparent;
}
.price td {
  width: 40%;
  padding: 10px;
  border: solid 1px #999;
  text-align: center;
}
.col2 {
  width: 100%;
}
.col2 th {
  width: 50%;
  padding: 10px;
  background-color: #EEEEEE;
  border: solid 1px #999;
}
.col2 td {
  width: 50%;
  padding: 10px;
  border: solid 1px #999;
  text-align: center;
}
.col3 {
  width: 100%;
}
.col3 th {
  width: 33.33333%;
  padding: 10px;
  background-color: #EEEEEE;
  border: solid 1px #999;
  text-align: center;
}
.col3 td {
  width: 33.33333%;
  padding: 10px;
  border: solid 1px #999;
}
.accessTable {
  width: 100%;
}
.accessTable th {
  background-color: #F4B33A;
  border-bottom: solid 1px #fff;
  text-align: center;
  padding-left: 30px;
  padding-right: 30px;
  color: #fff;
}
.accessTable td {
  border-bottom: solid 1px #ccc;
  padding: 10px 10px;
}
.accessTable tr:first-child {
  border-top: solid 1px #ccc;
}
.map_img {
  width: 80%;
  margin: 0 auto;
  text-align: center;
}
/*--------------------footer--------------------*/
/*パターンA*/
#f-infoArea-A {
  display: flex;
  justify-content: space-between;
  margin: 40px 0;
}
.f-info .info {
  width: 40%;
  display: block;
  padding: 0 20px;
}
#f-infoArea-A .f-logo {
  font-size: 18px;
  font-weight: bold;
  margin: 0 auto 5px;
}
#f-infoArea-A .map {
  width: 60%;
  padding: 0 20px;
}
.googlemaps {
  height: 0;
  overflow: hidden;
  padding-bottom: 55%;
  position: relative;
}
.googlemaps iframe {
  position: absolute;
  left: 0;
  top: 0;
  height: 100%;
  width: 100%;
}
#f-infoArea-A .f-address {
  margin-bottom: 20px;
}
#f-infoArea-A table {
  width: 100%;
  margin-top: 20px;
}
#f-infoArea-A table th {
	background-color: #8FC360;
	color: #fff;
	text-align: center;
	padding: 5px;
}
#f-infoArea-A table td {
  text-align: center;
  padding: 5px;
  border-bottom: solid 1px #ccc;
}
.f-btn {
  display: block;
  width: 250px;
  margin: 10px auto 0;
  background-color: #FF6600;
  text-align: center;
  color: #fff;
  border: 1px solid #FF6600;
  padding: 3px 0;
  border-radius: 50px;
}
.f-btn:hover {
  background-color: #FFF9CA;
  color: #FF6600;
  text-decoration: none;
}
.f-btn i {
  padding-right: 5px;
}
/*パターンAここまで*/
.f-menuArea {
  background-color: #F2F1EE;
}
.f-menu {
  list-style: none;
  padding: 0;
  margin: 15px 0;
  display: flex;
  justify-content: space-around;
  color: #8fc360;
}
.f-menu li i {
  padding-right: 5px;
}
.f-menu a {}
.f-menu a:hover {}
.copyright {
  text-align: center;
  color: #fff;
  background-color: #436624;
}
.copyright a {
  color: #FFFFFF;
}
.copyright a:hover {
  color: #FFFFFF;
}
#footerFloatingMenu {
  display: none;
}
/*--------------------RWD(ここから)--------------------*/
@media screen and (max-width:1200px) {
  .f-schedule {
    width: 55%;
  }
  .clinicLogo {
    width: 35%;
  }
}
@media screen and (max-width:991px) {
  #responsive-btn {
    display: block;
    position: absolute;
    top: 20px;
    bottom: auto;
    right: 0;
    height: 45px;
    width: 45px;
    font-size: 20px;
    line-height: 13px;
  }
  #responsive-btn:after {
    content: 'menu';
    position: absolute;
    bottom: 3px;
    left: 50%;
    transform: translateX(-50%);
    -webkit-transform: translateX(-50%);
    font-size: 10px;
  }
  /*header*/
  .site-branding__heading img {
    max-width: 320px;
  }
  .topnav2, .topnav3 {
    display: none;
  }
  .menu > li {
    width: 100%;
  }
  .h-info {
    display: none;
  }
  /*トップ*/
  /**/
  .staff_photo {
    width: 40%;
  }
  .staff_text {
    width: 60%;
  }
  .hist_y {
    width: 15%;
  }
  /*footer*/
  /*パターンA*/
  #f-infoArea-A {
    display: block;
  }
  #f-infoArea-A .info {
    width: 100%;
    margin-bottom: 50px;
  }
  #f-infoArea-A .map {
    width: 80%;
    padding: 0 30px;
    margin: 0 auto;
  }
  /*パターンAここまで*/
  /*フロート*/
  #footerFloatingMenu {
    display: block;
    position: fixed;
    bottom: 0;
    width: 100%;
    height: 50px;
    z-index: 99999998;
    border-top: 1px solid #fff;
  }
  #footerFloatingMenu ul {
    margin: 0;
    padding: 0;
    list-style: none;
  }
  #footerFloatingMenu ul li {
    float: left;
    /*width: 33.3333333%;*/
    width: 50%;
    text-align: center;
    line-height: 50px;
    box-sizing: border-box;
    border-right: 1px solid #fff;
    font-weight: bold;
  }
  #footerFloatingMenu ul li:last-child {
    border-right: none;
  }
  #footerFloatingMenu ul li i {
    padding-right: 5px;
  }
  #footerFloatingMenu a {
    color: #fff;
  }
  #footerFloatingMenu i {
    color: #fff;
  }
  .copyright {
    padding: 10px 0 60px;
  }
  .ft-tel {
	background-color: #FF6600;
  }
  .ft-web {
    background-color: #999;
  }
  .ft-access {
	background-color: #FFB833;
  }
  /*フッター*/
}
}
@media screen and (max-width:768px) {
  /*トップ*/
  /*フッター*/
  #f-infoArea-B {
    display: block;
    margin: 0;
  }
  #f-infoArea-B .clinicLogo {
    width: 54%;
    margin: 0 auto 30px;
  }
  #f-infoArea-B .f-schedule {
    width: 100%;
  }
  .googlemap-B {
    padding-bottom: 20%;
  }
}
@media screen and (max-width:600px) {
  .pc {
    display: none;
  }
  .sp {
    display: block;
  }
  #main h2 {
    margin-top: 30px;
  }
  /*header*/
  .site-branding__heading img {
    max-width: 300px;
  }
  /*トップ*/
  #news ul li a {
    display: block;
  }
  .gree {
    padding: 0px 10px 0px 10px;
	font-size: 1.13em;
  }
  /**/
  .staff_area {
    display: block;
  }
  .staff_photo {
    width: 300px;
    margin: 0 auto 20px;
  }
  .staff_text {
    width: 100%;
  }
  .factable td {
    width: 100%;
    display: block;
  }
  .factable2 td {
    width: 100%;
    display: block;
  }
  .fac-img {
    width: 300px;
    margin: 0 auto;
  }
  .tate {
    width: 200px;
  }
  .tate2 {
    width: 200px;
  }
  /*診療時間*/
  /*フッター*/
  /*パターンA*/
  .f-info .info {
    padding: 0;
  }
  #f-infoArea-A .map {
    width: 100%;
    padding: 0px;
  }
}
@media screen and (max-width:480px) {
  body {
    line-height: 1.5;
  }
  /*header*/
  .site-branding__heading img {
    max-width: 230px;
  }
  /*トップ*/
  /*クリニック紹介*/
  .float_right {
    float: none;
    margin-left: 0;
  }
  .float_left {
    float: none;
    margin-right: 0;
  }
  .right_photo {
    width: 300px;
    text-align: center;
    margin: 0 auto 20px;
  }
  .right_photo2 {
    width: 300px;
    text-align: center;
    margin: 0 auto 20px;
  }
  .left_photo {
    width: 300px;
    text-align: center;
    margin: 0 auto 20px;
  }
  .dr_photo {
    width: auto;
  }
  .dr_hist td {
    display: block;
  }
  .staff_photo {
    width: auto;
  }
  .fac-img {
    width: auto;
  }
  .tate {
    width: 66.666%;
  }
  .tate2 {
    width: 66.666%;
  }
  /*診療時間*/
  .accessTable th {
    border-bottom: none;
    display: block;
    width: 100%;
  }
  .accessTable td {
    border-bottom: none;
    border-left: solid 1px #ccc;
    border-right: solid 1px #ccc;
    display: block;
    width: 100%;
  }
  .accessTable tr:last-child td {
    border-bottom: solid 1px #ccc;
  }
  .map_img {
    width: 100%;
  }
  /*フッター*/
}
