/*
Theme Name:serum child
Theme URI:
Description:WordPressテーマ「serum」の自作子テーマです。
Template:serum_tcd096
Author:
Author URI:https://tcd-theme.com/
Version:1.0
*/

.wp-block-heading{color:#07abce;}

/* ===== CTA Section ===== */
.handa-cta-section {
  text-align: center;
  font-family: "Noto Sans JP", "Hiragino Kaku Gothic ProN", Meiryo, sans-serif;
  box-sizing: border-box;
  background: none;
}

.handa-cta-inner {
  max-width: 1000px;
  margin: 0 auto;
}

.handa-cta-title {
  font-size: 1.8rem !important;
  font-weight: 700 !important;
  color: #3c6461 !important;
  margin: 0 0 0.5rem !important;
  line-height: 1.4 !important;
  padding: 0 !important;
  border: none !important;
  background: none !important;
}

.handa-cta-sub {
  font-size: 13px !important;
  color: #555 !important;
  margin: 0 0 1.8rem !important;
  line-height: 1.6 !important;
  padding: 0 !important;
}

/* ボタン */
.handa-cta-buttons {
  display: flex !important;
  justify-content: center !important;
  gap: 16px !important;
  flex-wrap: wrap !important;
  margin-bottom: 40px !important;
}

.handa-cta-btn {
  display: inline-block !important;
  padding: 16px 36px !important;
  font-size: 17px !important;
  font-weight: 700 !important;
  text-decoration: none !important;
  color: #fff !important;
  border-radius: 4px !important;
  min-width: 240px !important;
  text-align: center !important;
  background: #07abce !important;
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.12) !important;
  transition: transform 0.2s, opacity 0.2s !important;
  border: none !important;
}

.handa-cta-btn:hover {
  transform: translateY(-2px) !important;
  opacity: 0.9 !important;
  color: #fff !important;
}

/* カード外枠 */
.handa-tc-outer {
  background: #fff !important;
  border-radius: 16px !important;
  box-shadow: 0 2px 16px rgba(0, 0, 0, 0.07) !important;
  overflow: hidden !important;
  text-align: left !important;
}

.handa-tc-wrap {
  display: flex !important;
  flex-wrap: wrap !important;
}

/* 左カラム：診療時間 */
.handa-tc-left {
  flex: 1 1 50% !important;
  padding: 2rem 1rem !important;
  border-right: 1px solid #e0e0e0 !important;
  box-sizing: border-box !important;
  min-width: 280px !important;
}

/* 診療時間テーブル */
.handa-tc-table {
  width: 100% !important;
  border-collapse: collapse !important;
  font-size: 13px !important;
  margin-bottom: 1rem !important;
  color: #3c3c3c !important;
  table-layout: fixed !important;
}

.handa-tc-table th {
  background: #07abce !important;
  color: #fff !important;
  padding: 8px 4px !important;
  text-align: center !important;
  font-weight: 700 !important;
  font-size: 13px !important;
  border: none !important;
  white-space: nowrap !important;
}

.handa-tc-table th:first-child {
  text-align: left !important;
  padding-left: 10px !important;
  width: 30% !important;
}

.handa-tc-table td {
  padding: 8px 4px !important;
  text-align: center !important;
  border-top: none !important;
  border-left: none !important;
  border-right: none !important;
  border-bottom: 1px solid #eef0f3 !important;
  color: #3c3c3c !important;
  font-size: 13px !important;
  white-space: nowrap !important;
  background: #fff !important;
}

.handa-tc-table td:first-child {
  text-align: left !important;
  padding-left: 10px !important;
}

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

.handa-tc-on {
  color: #07abce !important;
  font-size: 14px !important;
}

.handa-tc-off {
  color: #bbb !important;
  font-size: 14px !important;
}

.handa-tc-note {
  font-size: 12px !important;
  color: #666 !important;
  margin-top: 0.5rem !important;
  line-height: 1.6 !important;
  padding: 0 !important;
}

/* 右カラム：地図・住所 */
.handa-tc-right {
  flex: 1 1 50% !important;
  padding: 2rem !important;
  box-sizing: border-box !important;
  min-width: 240px !important;
  display: flex !important;
  flex-direction: column !important;
}

.handa-tc-map {
  width: 100% !important;
  height: 180px !important;
  border: none !important;
  border-radius: 8px !important;
  display: block !important;
  margin-bottom: 0.8rem !important;
}

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

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

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

/* レスポンシブ */
@media (max-width: 768px) {
  .handa-tc-left {
    border-right: none !important;
    border-bottom: 1px solid #e0e0e0 !important;
    flex: 1 1 100% !important;
  }
  .handa-tc-right {
    flex: 1 1 100% !important;
  }
  .handa-cta-buttons {
    flex-direction: column !important;
    align-items: center !important;
  }
}


/*　資料ページCTA */
/* セクション全体 */
.cta-section {
  margin: 60px 0 0;
  padding: 50px 30px;
  background-color: #f7fbfd;
  text-align: center;
}

/* 見出し */
.cta-section__title {
  font-size: 26px;
  color: #333;
  margin-bottom: 20px;
  padding-bottom: 15px;
  border-bottom: 2px solid #07abce;
  display: inline-block;
}

/* 本文テキスト */
.cta-section__text {
  font-size: 15px;
  color: #555;
  line-height: 1.8;
  margin-bottom: 10px;
}

/* 注記テキスト */
.cta-section__note {
  font-size: 13px;
  color: #777;
  margin-bottom: 30px;
}

.cta-section__note a {
  color: #07abce;
}

/* ボタン群のラッパー */
.cta-buttons {
  display: flex;
  flex-direction: row;
  gap: 16px;
  justify-content: center;
  align-items: center;
  flex-wrap: wrap;
  margin-top: 30px;
}

/* ボタン共通 */
.cta-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  padding: 1.2rem 2rem;
  width: 260px;
  box-sizing: border-box;
  color: #fff;
  font-size: 16px;
  font-weight: 600;
  text-decoration: none;
  border: none;
  cursor: pointer;
  transition: opacity 0.2s;
color: #fff !important;}

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

/* 電話ボタン */
.cta-btn--tel {
  background-color: #07abce;
}

/* WEB予約ボタン */
.cta-btn--reserve {
  background-color: #f4a8b5;
}

/* 相談・お問い合わせボタン */
.cta-btn--contact {
  background-color: #595757;
}

/* スマホ対応 */
@media (max-width: 640px) {
  .cta-btn {
    width: 100%;
    max-width: 320px;
  }

  .cta-section__title {
    font-size: 20px;
  }
}
