/* 共通クラス */

/* これ以下をWordPressの同名のファイルにコピー */

/* 共通クラス */
.text-center {
  text-align: center;
}

.c-table {
  border-left: 1px solid #707070;
  border-right: 1px solid #707070;
  border-bottom: 1px solid #707070;
  font-size: 14px;
  font-weight: bold;
  background-color: white;
}
.c-table tr {
  border-top: 1px solid #707070;
}
.c-table td {
  background-color: white;
  border: inherit;
}
.c-table td:first-child {
  background-color: #f0f0f0;
  width: 121px;
}

.c-button {
  position: relative;
  width: 100%;
  padding: 8px 0;
  max-width: 493px;
  font-size: 14px;
  color: #2c2c2c;
  margin: auto;
  margin-bottom: 66px;
  background-color: #fff;
  border: 1px solid #707070;
  border-radius: 38px;
}

.c-button--arrow::after {
  content: '';
  position: absolute;
  top: 12px;
  right: 28px;
  border-top: 7px solid transparent;
  border-bottom: 7px solid transparent;
  border-left: 12px solid #707070;
}
.black-button {
  position: relative;
  width: 100%;
  max-width: 493px;
  padding: 13px 0;
  font-size: 20px;
  color: #f5f8fa;
  border: 1px solid #707070;
  border-radius: 38px;
  background: linear-gradient(to left, #000, #545454);
}
.black-button--arrow::after {
  content: '';
  position: absolute;
  top: 23px;
  right: 24px;
  border-top: 6px solid transparent;
  border-bottom: 6px solid transparent;
  border-left: 12px solid #f5f8fa;
}

/********************************************************   */

/* pc */
@media screen and (min-width: 641px) {
  .sp-only {
    display: none;
  }

/*   .content-body {
    padding-right: 30px;
    padding-left: 30px;
  } */

  .padding-right-zero-pc {
    padding-right: 0px;
  }
}

/********************************************************   */

/* sp */
@media screen and (max-width: 640px) {
  .pc-only {
    display: none;
  }
  .content-body {
    padding: 0 20px;
    text-align: center;
  }
  .content-body-sponly {
    padding-right: 20px;
    padding-left: 20px;
  }

  .c-button {
    font-size: 12px;
  }
  .c-button--arrow::after {
    content: '';
    position: absolute;
    top: 14px;
    right: 16px;
    border-top: 3px solid transparent;
    border-bottom: 3px solid transparent;
    border-left: 8px solid #707070;
  }
  .black-button {
    max-width: 330px;
    font-size: 14px;
    padding: 8px 0;
  }
  .black-button--arrow::after {
    top: 12px;
    right: 12px;
    border-top: 6px solid transparent;
    border-bottom: 6px solid transparent;
    border-left: 10px solid #f5f8fa;
  }
}

/********************************************************   */
/* コラム一覧 > CSSの上書き */

.ect-3-columns {
  justify-content: start;
}
.ect-3-columns .entry-card-wrap {
  margin-bottom: 50px;
  padding: 12px;
}
.entry-card-thumb > span.cat-label {
  display: none;
}

.x-entry-card-snippet {
  max-height: 3.9em !important;
  margin-top: 12px;
}
.x-entry-card-meta {
  bottom: initial;
}
.x-e-card-info {
  justify-content: flex-start;
}
.x-post-date,
.x-post-update {
  margin-bottom: 3px;
}
.x-post-date::before,
.x-post-update::before {
  background-color: #2c2c2c;
  color: white;
  padding: 2px 5px;
  margin-right: 6px;
  margin-bottom: 3px;
}
.x-post-date::before {
  content: '公開日';
}
.x-post-update::before {
  content: '更新日';
}

@media screen and (max-width: 640px) {
  .ect-3-columns .entry-card-wrap {
    margin-bottom: 24px;
  }
  .no-sp-snippet .entry-card-snippet {
    display: block !important;
  }

  .x-entry-flex {
    display: flex;
  }
  .x-entry-card-content {
    padding-left: 16px;
    padding-bottom: 6px;
    flex-shrink: 100;
  }
  .e-card-thumb {
    width: 120px !important;
  }
  .x-entry-card-title {
    padding-bottom: 4px;
    border-bottom: 1px solid #707070;
  }
  .x-entry-card-snippet {
    max-height: 3.8em !important;
    margin-top: 6px;
  }
  .x-entry-card-meta {
    position: relative;
  }
  .x-e-card-info {
    flex-wrap: nowrap;
    position: absolute;
    left: 0;
  }
  .x-post-date {
    padding-right: 12px;
  }
}

/* 脱毛コラム一覧 > ページネーション */
.c-pagination {
  position: relative;
  width: 100%;
  max-width: 500px;
  margin: 32px auto 0;
  padding: 4px 32px;
  display: flex;
  justify-content: center;
  align-items: center;
  border: 1px solid #707070;
  border-radius: 38px;
}
.c-pagination:empty,
.c-pagination:blank {
  display: none;
}
.c-pagination > .prev {
  position: absolute;
  top: 10px;
  left: 30px;
  margin: 0 !important;
}
.c-pagination > .next {
  position: absolute;
  top: 10px;
  right: 30px;
  margin: 0 !important;
}
.c-pagination-next {
  display: block;
  border-top: 7px solid transparent;
  border-bottom: 7px solid transparent;
  border-left: 12px solid #707070;
}
.c-pagination-prev {
  display: block;
  border-top: 7px solid transparent;
  border-bottom: 7px solid transparent;
  border-right: 12px solid #707070;
}
.c-pagination > a {
  color: #2c2c2c;
  margin: 0 20px;
  text-decoration: underline;
}
.c-pagination .current {
  color: #707070;
  text-decoration: none;
}

@media screen and (max-width: 640px) {
  .c-pagination {
    margin: 20px auto 0;
    padding: 4px 24px;
  }
  .c-pagination > .prev {
    left: 15px;
  }
  .c-pagination > .next {
    right: 15px;
  }
}

/* 院詳細ページ */

.c-button a {
  text-decoration: none;
  color: black;
}
.clinicdetail-subtitle {
  padding: 30px 0 12px 14px;
  font-size: 20px;
  font-weight: bold;
  border-bottom: 1px solid #707070;
}

.clinicdetail-parts1 {
  margin-bottom: 1rem;
  padding: 0;
  display: flex;
}
.clinicdetail-parts1-img {
  width: 50%;
}
.clinicdetail-parts1-img > img {
  width: 100%;
}
.clinicdetail-parts1-desc {
  /* 何かあったら真っ先に消すmargin */
  margin: 4% 0;
  padding-left: 36px;
  color: #707070;
  width: 50%;
}

.chairperson-introduction {
  background-color: black;
  color: white;
  font-size: 17px;
  height: 40px;
  display: flex;
  align-items: center;
  padding-left: 30px;
}

@media screen and (max-width: 640px) {
  .clinicdetail-subtitle {
    padding: 24px 0 10px 0;
    text-align: left;
    font-size: 16px;
    font-weight: bold;
    border-bottom: 1px solid #707070;
  }
  .clinicdetail-parts1 {
    flex-wrap: wrap;
    text-align: left;
    padding: 0 20px 0 20px;
  }

  .clinicdetail-parts1-img {
    width: 100%;
    padding: 0;
  }
  .clinicdetail-parts1-desc {
    width: 100%;
    padding: 0;
  }
}

.clinicdetail-parts2-position {
  margin-right: 1em;
  font-size: 16px;
  display: flex;
  align-items: center;
}
.clinicdetail-parts2-name {
  margin-top: 20px;
  font-size: 30px;
  display: flex;
  font-weight: bold;
}
.clinicdetail-parts2-career {
  font-size: 14px;
  margin: 10px 0 60px 0;
}
.clinicdetail-parts2-career dl{
  display: flex;
  justify-content: flex-start;
  gap: 1em;
  margin-bottom: .5em;
}
.clinicdetail-parts2-career dt{
  white-space: nowrap;
}
.clinicdetail-parts2-career dd{
  margin-left: 0;
}
@media screen and (max-width: 640px) {
  .clinicdetail-parts2-career {
    font-size: 12px;
    text-align: left;
    margin: 20px;
  }
  .clinicdetail-parts2-name {
    font-size: 24px;
    margin-top: 30px;
  }
}

.clinicdetail-parts3-table td {
  min-height: 64px;
  padding: 20px 32px;
}

@media screen and (max-width: 640px) {
  .clinicdetail-parts3-table td {
    text-align: left;
    padding: 8px 15px;
  }
  .clinicdetail-parts3-table td:first-child {
    width: 90px;
  }
}
.clinicdetail-gmap {
  margin: 55px 0 32px 0;
}
.clinicdetail-gmap-link {
  justify-content: center;
  display: flex;
}

.clinicdetail-parking {
  width: 80%;
  padding: 2%;
}

.clinicdetail-parking-box {
  display: flex;
  gap:2%;
  width: 100%;
}

@media screen and (max-width: 640px) {
  .clinicdetail-gmap {
    margin: 40px 0 20px 0;
  }

  .clinicdetail-parking {
    width: 100%;
    text-align: left;
  }

  .clinicdetail-parking-box {
    display: block;
    width: 100%;
  }
}
.clinicdetail-parts4-list {
  display: flex;
  padding-top: 28px;
  justify-content: space-around;
}
.clinicdetail-parts4-list div {
  padding: 0 4px 68px 4px;
  font-size: 13px;
  font-weight: bold;
}

.directions-image {
  width: 150px;
}
.directions-text {
  text-align: left;
}
@media screen and (max-width: 640px) {
  .clinicdetail-parts4-list {
    flex-wrap: wrap;
  }
  .clinicdetail-parts4-list div {
    padding: 0 4px 20px 4px;
    font-size: 13px;
    font-weight: bold;
  }
  .clinicdetail-parts4-list-part {
    width: 50%;
  }
}
.clinicdetail-bottom {
  background-color: #e3e3e3;
  padding-bottom: 4%;
}
.clinicdetail-bottom img {
  max-width: 100%;
}
.clinicdetail-bottom-parts {
  text-align: center;
  padding: 2% 0;
}
.clinicdetail-bottom-parts-part-1 {
  margin-right: 3%;
}
.clinicdetail-bottom-link {
  justify-content: center;
  display: flex;
}
.d-button {
  position: relative;
  width: 100%;
  padding: 8px 0;
  max-width: 493px;
  font-size: 14px;
  color: #2c2c2c;
  margin: auto;
  background-color: #fff;
  border: 1px solid #707070;
  border-radius: 38px;
}
@media screen and (max-width: 640px) {
  .clinicdetail-bottom-topimage {
    display: none;
  }
  .clinicdetail-bottom-parts-part-1 {
    margin: 4% 0;
  }
  .d-button {
    width: 90%;
  }
}

/*クリニック道順*/
.col_3{
	width: 100%;
	display: flex;
	display: -ms-flexbox; /* IE10 */
	flex-wrap: wrap;
	-ms-flex-wrap: wrap; /* IE10 */
}
.col_3 > div{
	width: 33.33333%;
	padding: 10px;
}

@media screen and (min-width: 960px) {
	.col_3 {
	  font-size:11pt;
	  line-height:1.4em;
	  margin-bottom:20px;
	}
}

@media screen and (max-width: 960px) {
	.col_3 > div{
		width: 50%;
	}
}
@media screen and (max-width: 480px) {
	.col_3 > div{
		width: 100%;
		text-align:left;
		line-height:1.4em;

	}
	.col_3 img{
	  width:100%;
	}
}