@charset "utf-8";
/*
Theme Name: CURE child
Theme URI:https://tcd-theme.com/tcd082
Description:WordPressテーマ「CURE」の子テーマ
Template:cure_tcd082
Author:TCD
Author URI:https://tcd-theme.com/
Version:1.0
*/

/*
  ここから下にCSSを追記してください。
*/
body{color:#3c3c3c;}
a{color:#3c3c3c;!important}

#service_list .desc{color:#3c3c3c;!important}

/*トップページの診療時間・アクセス*/
/* =====================
   診療時間＋マップ
   外観 → カスタマイズ → 追加CSS に貼り付けてください
===================== */

.tc-outer {
  margin: 60px 0 !important;
  box-sizing: border-box !important;
}

.tc-wrap {
  overflow: hidden !important;
  border-radius: 8px !important;
  box-shadow: 0 2px 16px rgba(0,0,0,0.08) !important;
  font-family: 'Noto Sans JP', 'Hiragino Kaku Gothic ProN', 'Meiryo', sans-serif !important;
  font-size: 14px !important;
  color: #3c3c3c !important;
  line-height: 1.6 !important;
  box-sizing: border-box !important;
}

.tc-wrap::after {
  content: "" !important;
  display: table !important;
  clear: both !important;
}

/* 左パネル */
.tc-left {
  float: left !important;
  width: 50% !important;
  padding: 2.2rem 2rem 2rem !important;
  border-right: 1px solid #e0e0e0 !important;
  box-sizing: border-box !important;
  background: #fff !important;
}

/* テーブル */
.tc-table {
  width: 100% !important;
  border-collapse: collapse !important;
  border-spacing: 0 !important;
  margin: 0 0 1.6rem !important;
  background: transparent !important;
  table-layout: auto !important;
}

.tc-table th {
  font-size: 13px !important;
  font-weight: 500 !important;
  color: #3c3c3c !important;
  padding: 0 4px 0.8rem !important;
  text-align: center !important;
  vertical-align: middle !important;
  background: transparent !important;
  border: none !important;
  border-bottom: 1px solid #dde1e7 !important;
}

.tc-table th:first-child {
  text-align: left !important;
  font-size: 14px !important;
  width: 130px !important;
  padding-left: 0 !important;
  white-space: nowrap !important;
}

.tc-table tbody tr {
  border-bottom: 1px solid #eef0f3 !important;
  background: transparent !important;
}

.tc-table tbody tr:last-child {
  border-bottom: none !important;
}

.tc-table td {
  padding: 0.9rem 4px !important;
  text-align: center !important;
  vertical-align: middle !important;
  background: transparent !important;
  border: none !important;
  border-bottom: 1px solid #eef0f3 !important;
  color: #3c3c3c !important;
}

.tc-table tbody tr:last-child td {
  border-bottom: none !important;
}

.tc-table td:first-child {
  text-align: left !important;
  font-size: 14px !important;
  padding-left: 0 !important;
  white-space: nowrap !important;
}

/* ● と - */
.tc-on,
.tc-off {
  color: #3c6461 !important;
  font-size: 16px !important;
  line-height: 1 !important;
}

/* 凡例 */
.tc-legend {
  display: flex !important;
  align-items: center !important;
  flex-wrap: wrap !important;
  gap: 1.2rem !important;
  margin-bottom: 0.6rem !important;
  font-size: 13px !important;
  color: #3c3c3c !important;
}

.tc-legend-item {
  display: inline-flex !important;
  align-items: center !important;
  gap: 4px !important;
}

/* テキスト */
.tc-note {
  font-size: 12px !important;
  color: #3c3c3c !important;
  margin: 0 0 1rem !important;
  line-height: 1.7 !important;
  padding: 0 !important;
}

.tc-info {
  font-size: 13px !important;
  color: #3c3c3c !important;
  line-height: 2 !important;
  margin: 0 0 0.2rem !important;
  padding: 0 !important;
}

.tc-info-last {
  font-size: 13px !important;
  color: #3c3c3c !important;
  line-height: 2 !important;
  margin: 0 0 1.4rem !important;
  padding: 0 !important;
}

/* バッジ */
.tc-badges {
  display: flex !important;
  flex-wrap: wrap !important;
  gap: 8px !important;
}

.tc-badge {
  display: inline-block !important;
  padding: 0.45rem 1rem !important;
  border: 1.5px solid #3c6461 !important;
  border-radius: 4px !important;
  color: #3c6461 !important;
  font-size: 13px !important;
  font-weight: 500 !important;
  background: #fff !important;
  letter-spacing: 0.04em !important;
  box-sizing: border-box !important;
}

/* 右パネル（マップ） */
.tc-right {
  float: left !important;
  width: 50% !important;
  box-sizing: border-box !important;
  background: #fff !important;
}

.tc-map-wrap {
  position: relative !important;
  min-height: 320px !important;
  height: 100% !important;
  overflow: hidden !important;
}

.tc-map-wrap iframe {
  position: absolute !important;
  top: 0 !important;
  left: 0 !important;
  width: 100% !important;
  height: 100% !important;
  border: none !important;
  display: block !important;
  min-height: 320px !important;
}

.tc-map-footer {
  padding: 1rem 1.4rem !important;
  border-top: 1px solid #e0e0e0 !important;
  background: #fff !important;
  box-sizing: border-box !important;
}

.tc-address {
  font-size: 13px !important;
  color: #3c3c3c !important;
  line-height: 1.7 !important;
  margin: 0 0 0.5rem !important;
  padding: 0 !important;
}

.tc-map-link {
  display: inline-flex !important;
  align-items: center !important;
  gap: 4px !important;
  font-size: 13px !important;
  color: #3c6461 !important;
  text-decoration: none !important;
}

.tc-map-link:hover {
  text-decoration: underline !important;
}

.tc-map-link svg {
  width: 13px !important;
  height: 13px !important;
  display: inline-block !important;
  flex-shrink: 0 !important;
}

/* レスポンシブ */
@media (max-width: 767px) {
  .tc-left {
    float: none !important;
    width: 100% !important;
    border-right: none !important;
    border-bottom: 1px solid #e0e0e0 !important;
  }
  .tc-right {
    float: none !important;
    width: 100% !important;
  }
  .tc-map-wrap {
    min-height: 220px !important;
  }
}

/* =====================
   CTA セクション
   外観 → カスタマイズ → 追加CSS に貼り付けてください
===================== */

.cta-section {
  text-align: center !important;
  padding: 3rem 1.5rem !important;
  box-sizing: border-box !important;
}

.cta-title {
  font-size: 2rem !important;
  font-weight: 700 !important;
  color: #3c6461 !important;
  margin: 0 0 0.4rem !important;
  padding: 0 !important;
  line-height: 1.4 !important;
}

.cta-sub {
  font-size: 14px !important;
  color: #3c3c3c !important;
  margin: 0 0 1.8rem !important;
  padding: 0 !important;
  line-height: 1.6 !important;
}

.cta-contact-label {
  font-size: 12px !important;
  color: #3c3c3c !important;
  margin: 0 0 0.5rem !important;
  padding: 0 !important;
  text-align: left !important;
  display: inline-block !important;
}

.cta-buttons {
  display: flex !important;
  justify-content: center !important;
  align-items: flex-end !important;
  flex-wrap: wrap !important;
  gap: 1rem !important;
}

.cta-btn {
  display: inline-flex !important;
  align-items: center !important;
  justify-content: center !important;
  padding: 1.2rem 3rem !important;
  background: #595757 !important;
  color: #fff !important;
  border-radius: 4px !important;
  text-decoration: none !important;
  width: 300px !important;
  box-sizing: border-box !important;
  transition: opacity 0.2s !important;
  border: none !important;
}

.cta-btn:hover {
  opacity: 0.85 !important;
  color: #fff !important;
  text-decoration: none !important;
}

.cta-btn-wrap {
  display: flex !important;
  flex-direction: column !important;
  align-items: flex-start !important;
}

@media (max-width: 600px) {
  .cta-title {
    font-size: 1.4rem !important;
  }
  .cta-btn {
    width: 100% !important;
  }
  .cta-buttons {
    flex-direction: column !important;
    align-items: stretch !important;
  }
}

/* =====================
   画像無限スライダー
   外観 → カスタマイズ → 追加CSS に貼り付けてください
===================== */

.slider-outer {
  overflow: hidden !important;
  width: 100% !important;
  box-sizing: border-box !important;
}

.slider-track {
  display: flex !important;
  width: max-content !important;
  animation: tc-slide 20s linear infinite !important;
}

.slider-track:hover {
  animation-play-state: paused !important;
}

.slider-item {
  flex-shrink: 0 !important;
  width: 340px !important;
  height: 240px !important;
  margin-right: 16px !important;
  overflow: hidden !important;
  border-radius: 6px !important;
}

.slider-item img {
  width: 100% !important;
  height: 100% !important;
  object-fit: cover !important;
  display: block !important;
}

@keyframes tc-slide {
  0%   { transform: translateX(0); }
  100% { transform: translateX(-50%); }
}

@media (max-width: 767px) {
  .slider-item {
    width: 260px !important;
    height: 180px !important;
  }
}

/* =====================
   見出しデザイン
===================== */
.headline,.title{font-family:var(--tcd-font-type2) !important;font-weight: 500 !important;}

h2.catch,h2.styled_h2,.post_content h2 {
	font-family:var(--tcd-font-type2) !important;
  font-size: 32px !important;
  font-weight: 500 !important;
  text-align: center !important;
  line-height: 48px !important;
  letter-spacing: 0.08em!important;
  padding-top: 41px!important;
  padding-bottom: 0!important;
margin-top: 60px!important;
  margin-bottom: 40px!important;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='18' height='17' viewBox='0 0 18 17' fill='none'%3E%3Crect width='8' height='8' transform='matrix(1 0 0 -1 0.0615234 8)' fill='%238fc31f'/%3E%3Crect width='8' height='8' transform='matrix(1 0 0 -1 9.93848 17)' fill='%23979F93'/%3E%3C/svg%3E");
  background-size: 17px!important;
  background-repeat: no-repeat!important;
  background-position: center top!important;
	border:none!important;
}

h3.top_headline.rich_font_1,h3.styled_h3,.post_content h3 {
	font-family:var(--tcd-font-type2) !important;
  font-weight: 500 !important;
  color: #333333 !important;
  text-align: center !important;
  line-height: 27px !important;
  letter-spacing: 0.08em !important;
  border-top: 1px solid #646c60 !important;
  border-bottom: 1px solid #646c60 !important;
  border-left: none !important;
  border-right: none !important;
  padding: 19px 10px !important;
  margin-top: 60px !important;
  margin-bottom: 40px !important;
  display: flex !important;
  align-items: center !important;
  justify-content: center !important;
  background: transparent !important;
}

h4 {
	font-family:var(--tcd-font-type2) !important;
  font-weight: 500 !important;
  letter-spacing: 0.08em !important;
  line-height: 1.5 !important;
  padding: 0 0 1.2rem 2rem !important;
  position: relative !important;
  border-bottom: 1px solid rgb(151, 159, 147) !important;
  margin: 0 0 0.8rem !important;
}

h4::before {
  content: "" !important;
  display: block !important;
  position: absolute !important;
top: 0.3rem !important;
	left: 0.2rem !important;
  width: 1.2rem !important;
  aspect-ratio: 1 / 1 !important;
  background:#8fc31f!important;
  z-index: 1 !important;
}

/* リスト全体（ul）*/
ul {
  list-style: none;
  margin: 15px 0 0;
  padding: 0;
}

/* 各リスト項目（li）*/


.post_content ul {
  list-style: none;
  margin-left: 0;
  margin-top: 15px;
  padding: 0;
}

.post_content ul > li {
  list-style: none;
  position: relative;
  line-height: 1.4;
  box-sizing: border-box;
  border-bottom: 1px solid rgb(210, 209, 208);
  padding: 0 0.5em 1em 2em;  /* 5.5% → 2em（固定）に変更 */
  margin-bottom: 1.2em;
}

.post_content ul > li::before {
  content: "●";
  color:#c8db9f;
  position: absolute;
  display: block;
  left: 0.3em;               /* 2.8% → 0.3em（固定）に変更 */
  top: 0;
}


/* ===== 表のデザイン ===== */

/* テーブル全体 */
.post_content table,
.s_table table {
  border-collapse: collapse;
  border-spacing: 0;
  width: 100%;
  line-height: 1.5;
}

/* ヘッダー行 (thead th) */
.post_content table thead th,
.s_table table thead th {
  background-color: #535353;
    color: #ffffff;
  font-weight: 500;
  text-align: center;
  padding: 13px 20px;
  border: none;
}

/* データ行 */
.post_content table tbody tr,
.s_table table tbody tr {
  border-bottom: 1px solid rgb(210, 209, 208);
}

/* データ行の最終行 */
.post_content table tbody tr:last-child,
.s_table table tbody tr:last-child {
  border-bottom: 1px solid rgb(210, 209, 208);
}

/* データ行の左列（項目列） — 現在の表は td のみなので :first-child で指定 */
.post_content table tbody td:first-child,
.s_table table tbody td:first-child {
  background-color: #F2F3F1;
  color: #333333;
  font-weight: 500;
  text-align: center;
  padding: 18px 22px 16px;
  border: none;
}

/* データ行の右列（金額列） */
.post_content table tbody td:last-child,
.s_table table tbody td:last-child {
  background-color: transparent;
  color: #333333;
  font-weight: 400;
  text-align: center;
  padding: 18px 24px 16px;
  border: none;
}