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

body,#global_menu > ul > li > a{color:#444;}
.index_carousel .title a{color:#444;}
strong{color:#17b0c4;}
.wp-block-heading{color:#17b0c4;}
h2{font-family: var(--tcd-font-type2);color:#17b0c4;}
.post_content h2{color:#17b0c4;}
.post_content h3{color:#17b0c4;}
 #global_menu > ul > li.current-menu-parent > a, #global_menu > ul > li.current-menu-ancestor > a,#global_menu > ul > li.current-menu-item > a{color:#fff!important;font-weight: 600 !important;border-bottom: #fff 3px solid;}

#global_menu > ul > li > a:hover{color:#fff!important;border-bottom: #fff 2px solid;}
.cb_box_content .headline{ color: #17b0c4;}
.post_content th{background: #17b0c4;font-weight: normal;color: #fff;}
.post_content .pc-notice{background: #EAF9FB;padding: 16px 20px; margin: 20px 0;font-size: 14px; line-height: 1.9;}
.q_frame2{border-color:#17b0c4!important;}
#footer {border-top: 1px solid #ddd;background: #17b0c4;color: #fff;}
.footer_menu li a {color:#fff;}
#footer_sns{display:none;}
/* ---- ヘッダー---- */
#header_logo{
    background: #17b0c4;
}
#global_menu > ul {
    background: #17b0c4;
}
#global_menu > ul > li > a {
    color: #ffffff;
}
#drawer_menu_button span{background: #fff!important;}

@media(max-width: 1221px) {
#header {background: #17b0c4;}
}
/* ---- アプローチリスト---- */
.approach-li {
  list-style: none;
  padding: 0;
}
ul.approach-li {
  margin: 10px 0 10px;
	margin-left: 0.3em!important;

}
.approach-li li {
  list-style: none;
  padding: 12px 14px 12px 38px;
  border-bottom: 1px solid rgb(239, 239, 239);
  line-height: 1.7;
  position: relative;	
    font-size: 15px;
}
.approach-li li:first-child {
  border-top: 1px solid rgb(239, 239, 239);
}
.approach-li li::before {
  content: "";
  position: absolute;
  left: 14px;
  top: 50%;                    
  transform: translateY(-50%); 
  width: 10px;
  height: 2px;
  background: rgb(7, 171, 206);
}

/* 新規: approach-subtitle（中見出し） */
.approach-subtitle { font-size: 18px!important; font-weight: 700; color: #17b0c4; margin: 20px 10px 10px!important; padding: 0; line-height: 1.5; }
.approach-subtitle:first-of-type { margin-top: 0; }

/* ---- 症状リスト---- */

.shojo-li {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 8px 24px;
  margin: 0 0 16px;
  padding: 0;
  list-style: none;
margin-left: 0.3em!important;
}
.shojo-li li {
  list-style: none;
  display: flex;
align-items: center !important;
	gap: 8px;
    margin: 4px 0;
	line-height: 1.8 !important;
}
.shojo-li li::before {
  content: "";
  display: block;
  width: 18px;
  height: 18px;
  min-width: 18px;
  border: 2px solid rgb(7, 171, 206);
  border-radius: 3px;
  margin-top: 0 !important;
  position: static !important;
  transform: none !important;  box-sizing: border-box;
}
/* ---- 疾患リスト---- */

.shikkan-li {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 10px;
  margin-bottom: 16px;
  padding: 0;
  list-style: none;
    margin-left: 0!important;
}
.shikkan-li li {
  background: #EAF9FB;
  border-radius: 4px;
  padding: 14px 16px;
  font-size: 14px;
  font-weight: 600;
  color: #17b0c4;
  list-style: none;
	  display: flex;
  align-items: center;
}
/* ---- モバイル対応 ---- */
@media (max-width: 768px) {.shikkan-li li {font-size:13px;}}

/* ---- モバイル対応 ---- */
@media (max-width: 768px) {
  .post_content ol.pc-steps li {
    font-size: 14px;
  }
  .post_content ol.pc-steps li {
    padding-left: 44px;
  }
  .post_content .pc-table th,
  .post_content .pc-table td {
    padding: 8px 12px;
    font-size: 13px;
  }
  .post_content .pc-notice {
    font-size: 13px;
    padding: 14px 16px;
  }
}
/* =====================
   流れ（ステップ）
   ===================== */
.first-steps {
  list-style: none;
  margin: 1.5em 0 2em;
  padding: 0;
  counter-reset: step;
	margin-left: 0.3em!important;
}

.first-steps > li {
  display: flex;
  align-items: flex-start;
  gap: 16px;
  margin-bottom: 1.6em;
  counter-increment: step;
}

/* 番号丸：display:flex は ::before で未サポートのブラウザがあるので
   line-height で中央揃えを保証する */
.first-steps > li::before {
  content: counter(step);
  flex-shrink: 0;
  width: 36px;
  height: 36px;
  line-height: 36px;
  border-radius: 50%;
  background: #17b0c4;
  color: #fff;
  text-align: center;
  font-weight: 700;
  font-size: 16px;
  margin-top: 1px;
}

/* ★ ラッパー：タイトルと説明を縦に積む */
.first-steps__body {
  flex: 1;
  min-width: 0; /* 長いテキストのはみ出し防止 */
}

.first-steps__title {
  font-weight: 600;
  font-size: 16px;
  line-height: 1.5;
  margin: 0 0 4px;
    color: #17b0c4;
}

.first-steps__desc {
  font-size: 14px;
  line-height: 1.8;
  margin: 0;
}

/* ===== pc-listの表 ===== */
.post_content ul.pc-list li {
    color: #444;
    line-height: 1.8;
    padding: 10px 8px 10px 24px;
    position: relative;
    border-bottom: 1px solid #f0f0f0;
}
.post_content ul.pc-list li::before {
    content: "";
    position: absolute;
    left: 6px;
    top: 50%;
    transform: translateY(-50%);
    width: 6px;
    height: 6px;
    border-radius: 50%;
    background: #07ABCE;
}

/* ---- ul リスト ---- */
.post_content ul.pc-list {
  list-style: none;
  padding: 0;
  margin: 0 0 24px;
}
.post_content ul.pc-list li:first-child {
  border-top: 1px solid #f0f0f0;
}

/* ===== s_tableの表 ===== */
.s_table table {
  border-collapse: collapse;
  border-spacing: 0;
  width: 100%;
  line-height: 1.5;
}

.s_table table th {
  background-color: #17b0c4;
  color: #ffffff;
  font-weight: 500;
  text-align: center;
  padding: 13px 20px;
  border: none;
}

.s_table table tbody tr {
  border-bottom: 1px solid #c9d6d8;
}

.s_table table tbody td:first-child {
  background-color: #EAF9FB;
  color: #333333;
  font-weight: 500;
  text-align: center;
  padding: 18px 22px 16px;
  border: none;
}

.s_table table tbody td:not(:first-child) {
  background-color: transparent;
  color: #333333;
  font-weight: 400;
  padding: 18px 24px 16px;
  border: none;
}



/* ===== 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-flex !important;
  align-items: center !important;
  justify-content: center !important;
  gap: 8px !important;
	height: 56px;
	min-height: 56px
	padding: 0.4rem 2rem !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: #17b0c4 !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-cta-btn svg {
  flex-shrink: 0;
  fill: currentColor;
}
@media (max-width: 600px) {
  .handa-cta-title { font-size: 1.4rem !important; }
  .handa-cta-buttons {
    flex-direction: column !important;
    align-items: stretch !important;
    gap: 8px !important;
  }
  .handa-cta-btn {
    width: 100% !important;
    max-width: 100% !important;
    min-height: 56px !important;
    height: 56px !important;
    padding: 0 1.5rem !important;
    font-size: 15px !important;
    white-space: nowrap !important;
    box-sizing: border-box !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 {
    color: #17b0c4 !important;
    padding: 8px 4px !important;
    text-align: center !important;
    font-weight: 700 !important;
    font-size: 13px !important;
    border-bottom: 1px solid #17b0c4 !important;
    border-top: none !important;
    border-left: none !important;
    border-right: none !important;
    white-space: nowrap !important;
	background:#fff!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: #17b0c4 !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;
}

.handa-tc-right {
  padding: 0 !important;
  overflow: hidden !important;
}
.handa-tc-right > p:first-child {
  flex: 1 1 0% !important;
  margin: 0 !important;
  padding: 0 !important;
  display: block !important;
  width: 100% !important;
  overflow: hidden !important;
  min-height: 0 !important;
}
.handa-tc-right > p:first-child iframe {
  display: block !important;
  width: 100% !important;
  height: 100% !important;
  border: 0 !important;
}
.handa-tc-address-text {
  display: block !important;
  padding: 16px 20px !important;
  margin: 0 !important;
  font-size: 14px !important;
  line-height: 1.6 !important;
  flex-shrink: 0 !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 {
  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;
  }
}
