/*
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;
}
.moreBtn {
  display: block;
  width: 280px;
  margin: 10px auto;
  text-align: center;
  position: relative;
  background-color: #D2CFC6;
  padding: 5px 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-left: 5px solid #FFA800;
	background-color: #FFF5D9;
	padding-left: 10px;
	border-bottom: 1px solid #DCDCDC;
	padding-top: 5px;
	padding-bottom: 5px;
}
#main h3 {
	margin-top: 35px;
	margin-right: 0;
	margin-left: 0;
	margin-bottom: 8px;
	font-size: 21px;
	border-left: 7px solid #FFCB66;
	padding-left: 7px;
	padding-top: 3px;
	padding-bottom: 3px;
	border-bottom: 1px dotted #A8A8A8;
}
#main h4 {
  font-size: 18px;
  margin-top: 30px;
}
#main h5 {
	font-size: 16px;
}
.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: 250px;
}
.float_left {
  float: left;
  margin-right: 20px;
}
.float_text {
  float: none;
  margin-left: 20px;
}
.left_photo {
  width: 300px;
}
.author, .categories {
  display: none;
}
/*--------------------header--------------------*/
.header--center .global-nav .menu {
  width: 100%;
}
.site-branding__heading img {
  max-width: 350px;
}
#responsive-btn {
  right: 5px;
}
.menu > li {
  width: 25%;
}
.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;
  float: right;
}
.h-tel {
  font-size: 30px;
  color: #FF3300;
  font-weight: 600;
}
.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: #FFE598;
}
.h-time-2 {
  font-size: 14px;
  padding-left: 10px;
}
/*--------------------main--------------------*/
.page-header {
  background: url(https://www.yoshimotoiin.com/wp-content/uploads/2025/11/header-2.jpg);
  background-position: center center;
  background-attachment: scroll;
  background-size: 100% auto;
  background-repeat: no-repeat;
  color: #fff;
  text-shadow: 2px 2px 10px #1AB34A, -2px 2px 10px #1AB34A, 2px -2px 10px #1AB34A, -2px -2px 10px #1AB34A;
}
.gree {
	margin: 50px auto;
	font-size: 1.1em;
}
.gree2 {
	font-size: 1.1em;
	margin: 1.5em 0;
	padding-top: 10px;
	padding-right: 10px;
	padding-left: 10px;
	padding-bottom: 10px;
	background: #FFF5D9;
	border-radius: 15px;
	border: 2px dotted #FFD27B;
	text-align: center;
}
.side {
  background: #D8D8D8;
  padding: 20px;
  border-radius: 10px;
}
.oshirase {
  padding-top: 0.1em;
  padding-bottom: 0.1em;
  padding-left: 0.5em;
  font-size: 25px;
  font-weight: 600;
  background-color: #FFA900;
  border-radius: 7px;
  color: #FFFFFF;
  margin-bottom: 15px;
}
#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: #89D35C;
  color: #fff;
}
.info-table td {
  text-align: center;
  border: solid 1px #ccc;
  padding: 5px;
}
.dr_photo {
	width: 250px;
}
.dr_name {
  text-align: center !important;
  border-left: none !important;
  padding-left: 0 !important;
}
.dr_hist {
  width: 100%;
}
.hist_y {
	width: 6em;
	text-align:left;
}
.dr_hist td {
  padding: 5px;
  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: #ccc;
}
.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: #ccc;
  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: #ccc;
  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: #89D35C;
  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;
}
.kakomi_text{
	padding: 13px 0 0 0;
	color: #FFA900;
  	font-size: 1.0em;
	text-align:center;
}
th {
  font-weight: normal;
  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: #89D35C;
  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: #996600;
  text-align: center;
  color: #fff;
  /* [disabled]border: 1px solid #FF3300; */
  padding: 3px 0;
  border-radius: 50px;
  font-weight: 600;
}
.f-btn:hover {
  background-color: #7B5200;
  color: #FFFFFF;
  text-decoration: none;
}
.f-btn i {
  padding-right: 5px;
}
/*パターンAここまで*/
.f-menuArea {
  background-color: #FFFBF3;
}
.f-menu {
  list-style: none;
  padding: 0;
  margin: 15px 0;
  display: flex;
  justify-content: space-around;
  color: #FFC769;
}
.f-menu li i {
  padding-right: 5px;
}
.f-menu a {}
.f-menu a:hover {}
.copyright {
  text-align: center;
  color: #fff;
  background-color: #ff6600;
}
.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: 7em;
  }
  /*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: 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: #FF3300;
  }
  .ft-web {
    background-color: #FFA900;
  }
  .ft-access {
    background-color: #996600;
  }
  /*フッター*/
}
}
@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: 15px;
  }
  /**/
  .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;
  }
  .left_photo {
    width: 300px;
    text-align: center;
    margin: 0 auto 20px;
  }
  .dr_photo {
	width: 70%;
	margin-left: 15%;
	margin-right: 15%;
  }
  .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%;
  }
  /*フッター*/
}
