@charset "UTF-8";
/* [Cocoon Child header] */
#toc .toc-list li li, .toc .toc-list li li { display: none !important; }
#toc, .toc { max-height: 350px; overflow-y: auto; scroll-behavior: smooth; border: 1px solid #dde4f0; background: #f8faff; }
.single-condition .entry-content h2 { font-size: 1.3em; margin-top: 1.8em; margin-bottom: 0.6em; padding: 0.5em 0.8em; border-left: 4px solid #4a90d9; background: #f5f8fd; line-height: 1.4; }
.single-condition .entry-content p { line-height: 1.9; margin-bottom: 1.2em; }
.single-condition .entry-content ul li { padding: 0.4em 0; line-height: 1.7; }
.single-condition .cta-box { border: 2px solid #4a90d9; border-radius: 8px; text-align: center; margin: 2em 0; }
.single-condition .entry-content h3 { font-size: 1.1em; color: #444; margin-top: 1.2em; }
.single-condition .voice-card { border-left: 3px solid #4a90d9; padding-left: 12px !important; margin-bottom: 12px; }
@media screen and (max-width: 768px) { .single-condition .entry-content h2 { font-size: 1.15em; padding: 0.4em 0.6em; } #toc, .toc { max-height: 200px; } }

/* ホームページ レビューカード */
.reviews-section .review-card { background: #fff; border-radius: 8px; box-shadow: 0 2px 8px rgba(0,0,0,0.1); padding: 16px; margin-bottom: 12px; border-left: 4px solid #fbbc04; }
.reviews-section .review-card p:first-child { color: #fbbc04; margin-bottom: 6px; }
.wp-block-cover .wp-block-heading { text-shadow: 1px 1px 4px rgba(0,0,0,0.8); }
.wp-block-image figcaption { font-size: 0.82em; color: #555; text-align: center; margin-top: 4px; }

/* CTAボタン色分け */
.wp-block-button a[href*="lin.ee"], .wp-block-button a[href*="line.me"] { background-color: #06C755 !important; border-color: #06C755 !important; color: #fff !important; }
.wp-block-button a[href*="coubic.com"] { background-color: #2071c5 !important; border-color: #2071c5 !important; color: #fff !important; }
.wp-block-button a[href^="tel:"] { background-color: #555 !important; border-color: #555 !important; color: #fff !important; }

/* ===== 患者写真スライダー（自動） ===== */
.patient-slider {
  overflow: hidden;
  position: relative;
  margin: 1em 0 0.5em;
  border-radius: 10px;
  background: #eee;
  touch-action: pan-y;
}
.patient-slider-track {
  display: flex;
  will-change: transform;
  transition: transform 0.5s cubic-bezier(0.25, 0.46, 0.45, 0.94);
}
.patient-slider-track img {
  flex: 0 0 100%;
  width: 100%;
  height: 260px;
  object-fit: cover;
  border-radius: 10px;
  display: block;
}
.patient-slider-dots {
  display: flex;
  justify-content: center;
  gap: 7px;
  padding: 8px 0 4px;
  margin-bottom: 1em;
}
.patient-slider-dots span {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: #ccc;
  cursor: pointer;
  transition: background 0.3s;
  flex-shrink: 0;
}
.patient-slider-dots span.ps-active {
  background: #4a90d9;
  transform: scale(1.2);
}
@media screen and (min-width: 769px) {
  .patient-slider-track img { height: 320px; }
}

/* バッジセクション */
.badge-section .wp-block-image img { max-height: 120px; width: auto; object-fit: contain; }

/* ===== ヘッダー連絡先バー ===== */
#header-in { position: relative; }
.ichiru-header-contact {
  position: absolute; right: 0; top: 50%; transform: translateY(-50%);
  display: flex; flex-direction: column; align-items: flex-end; gap: 4px; z-index: 200; line-height: 1.3;
}
.ichiru-header-contact .ichiru-tel { font-size: 1.1em; font-weight: bold; color: #333; text-decoration: none; white-space: nowrap; letter-spacing: 0.02em; }
.ichiru-header-contact .ichiru-tel:hover { color: #2071c5; }
.ichiru-header-contact .ichiru-hours { font-size: 0.72em; color: #666; white-space: nowrap; text-align: right; }
.ichiru-header-contact .ichiru-booking-btn { background: #06C755; color: #fff !important; padding: 5px 12px; border-radius: 4px; font-size: 0.78em; text-decoration: none !important; white-space: nowrap; font-weight: bold; display: inline-block; margin-top: 2px; }
.ichiru-header-contact .ichiru-booking-btn:hover { background: #05a847; }
@media screen and (max-width: 834px) {
  .ichiru-header-contact { position: static; transform: none; flex-direction: row; flex-wrap: wrap; justify-content: center; align-items: center; gap: 6px 12px; padding: 6px 10px; background: #f0f4ff; border-bottom: 1px solid #d0d8ee; }
  .ichiru-header-contact .ichiru-hours { display: none; }
  .ichiru-header-contact .ichiru-tel { font-size: 0.92em; }
  .ichiru-header-contact .ichiru-booking-btn { font-size: 0.82em; padding: 4px 10px; }
}


/* ── 症状タグ グリッド表示 ──────────────────────────────────── */
.ichiru-condition-grid {
  display: flex;
  flex-direction: column;
  gap: 24px;
  margin: 24px 0;
}
.ichiru-condition-cat-title {
  font-size: 14px;
  font-weight: 700;
  color: #555;
  border-left: 3px solid #e8734a;
  padding-left: 8px;
  margin: 0 0 10px;
}
.ichiru-condition-tags {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
}
.ichiru-condition-tag {
  display: inline-block;
  padding: 6px 14px;
  border: 1px solid #e8734a;
  border-radius: 20px;
  color: #e8734a;
  font-size: 13px;
  text-decoration: none;
  white-space: nowrap;
  transition: background 0.2s, color 0.2s;
}
.ichiru-condition-tag:hover {
  background: #e8734a;
  color: #fff;
}
.ichiru-condition-all {
  text-align: center;
  margin-top: 20px;
}
.ichiru-condition-all a {
  display: inline-block;
  padding: 10px 28px;
  background: #f5f5f5;
  border: 1px solid #ccc;
  border-radius: 4px;
  color: #555;
  font-size: 14px;
  text-decoration: none;
}
.ichiru-condition-all a:hover {
  background: #eee;
}
/* ===== ブログ感要素の非表示 ===== */
/* フロントページの入稿日・著者・パンくず */
.home .entry-header,
.home .byline,
.home .entry-date,
.home time.entry-date,
.home .post-date,
.home .breadcrumb,
.home .entry-meta { display: none !important; }

/* サイドバーのWordPress標準ウィジェット */
.sidebar .widget_recent_entries,
.sidebar .widget_categories,
.sidebar .widget_archive,
.sidebar .widget_recent_comments,
.sidebar .widget_meta,
.sidebar .widget_search,
.sidebar .wp-block-latest-posts,
.sidebar .wp-block-categories,
.sidebar .wp-block-archives,
.sidebar .wp-block-search { display: none !important; }

/* フッター著者フォロー・著者ボックス */
.home .author-box,
.home .author-widget,
.home [class*="author-follow"],
footer [class*="author"] { display: none !important; }

/* フローティングCTA位置調整（本文に被らないよう） */
#floating-cta, .floating-cta, #ez-toc-container,
.navi-footer-in, .footer-bottom { font-size: inherit; }

/* スマホのフローティングボタン群をコンパクトに */
@media screen and (max-width: 834px) {
  #ez-toc-container { display: none !important; }
}

/* ===== LP sections ===== */

/* 悩みリスト */
.ichiru-worry-list {
  list-style: none;
  padding: 0;
  margin: 1em 0 1.5em;
}
.ichiru-worry-list li {
  padding: 10px 14px 10px 38px;
  margin-bottom: 8px;
  background: #fff8f5;
  border-left: 4px solid #e05a3a;
  border-radius: 0 6px 6px 0;
  font-size: 0.95em;
  line-height: 1.6;
  position: relative;
}
.ichiru-worry-list li::before {
  content: "✗";
  position: absolute;
  left: 12px;
  color: #e05a3a;
  font-weight: bold;
}

/* 中間CTA */
.ichiru-cta-mid {
  background: #fff8e8;
  border: 2px solid #f5a623;
  border-radius: 10px;
  padding: 20px 16px;
  text-align: center;
  margin: 1.5em 0;
}
.ichiru-cta-mid__lead {
  font-size: 0.9em;
  color: #888;
  margin: 0 0 12px;
}
.ichiru-cta-mid__btns {
  display: flex;
  flex-direction: column;
  gap: 10px;
  align-items: center;
}
@media screen and (min-width: 600px) {
  .ichiru-cta-mid__btns { flex-direction: row; justify-content: center; }
}

/* 汎用ボタン */
.ichiru-btn {
  display: inline-block;
  padding: 12px 24px;
  border-radius: 6px;
  font-size: 1em;
  font-weight: bold;
  text-decoration: none;
  text-align: center;
  min-width: 200px;
}
.ichiru-btn--line {
  background: #06c755;
  color: #fff !important;
}
.ichiru-btn--net {
  background: #4a90d9;
  color: #fff !important;
}
.ichiru-btn--map {
  background: #555;
  color: #fff !important;
  min-width: auto;
  padding: 10px 20px;
}

/* 症状カテゴリ */
.ichiru-condition-category {
  display: flex;
  flex-direction: column;
  gap: 10px;
  margin: 1em 0 1.4em;
}
@media screen and (min-width: 769px) {
  .ichiru-condition-category { flex-direction: row; }
}
.ichiru-condition-category__group {
  flex: 1;
  background: #f0f4ff;
  border-radius: 8px;
  padding: 14px 16px;
  border-top: 3px solid #4a90d9;
}
.ichiru-condition-category__title {
  font-size: 0.95em;
  font-weight: bold;
  color: #2a4a80;
  margin: 0 0 6px;
}
.ichiru-condition-category__desc {
  font-size: 0.83em;
  color: #555;
  margin: 0;
  line-height: 1.6;
}

/* 選ばれる3つの理由 */
.ichiru-reasons {
  display: flex;
  flex-direction: column;
  gap: 16px;
  margin: 1em 0 1.5em;
}
@media screen and (min-width: 769px) {
  .ichiru-reasons { flex-direction: row; }
}
.ichiru-reason {
  flex: 1;
  background: #fff;
  border: 1px solid #dde5f5;
  border-radius: 10px;
  padding: 18px 16px 16px;
  box-shadow: 0 2px 8px rgba(0,0,0,0.05);
}
.ichiru-reason__num {
  font-size: 2em;
  font-weight: bold;
  color: #c0d0ee;
  line-height: 1;
  margin-bottom: 8px;
}
.ichiru-reason__title {
  font-size: 0.97em;
  font-weight: bold;
  color: #1a3060;
  margin: 0 0 8px;
}
.ichiru-reason__body {
  font-size: 0.87em;
  color: #555;
  line-height: 1.7;
  margin: 0;
}

/* 施術の流れ（テキスト） */
.ichiru-flow {
  margin: 1em 0 1.5em;
  display: flex;
  flex-direction: column;
  gap: 12px;
}
.ichiru-flow__step {
  display: flex;
  gap: 14px;
  align-items: flex-start;
  background: #fafbff;
  border-radius: 8px;
  padding: 14px 16px;
  border-left: 4px solid #4a90d9;
}
.ichiru-flow__step-num {
  font-size: 1.6em;
  font-weight: bold;
  color: #4a90d9;
  flex-shrink: 0;
  line-height: 1.2;
  min-width: 36px;
}
.ichiru-flow__step-body h3 {
  font-size: 0.97em;
  font-weight: bold;
  margin: 0 0 5px;
  color: #1a2a50;
}
.ichiru-flow__step-body p {
  font-size: 0.87em;
  color: #555;
  line-height: 1.7;
  margin: 0;
}

/* 施術写真（小さめ横並び） */
.ichiru-flow-photos {
  margin: 1em 0 1.5em;
}
.ichiru-flow-photos__row {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 6px;
}
@media screen and (min-width: 769px) {
  .ichiru-flow-photos__row { grid-template-columns: repeat(6, 1fr); gap: 8px; }
}
.ichiru-flow-photos__row img {
  width: 100%;
  aspect-ratio: 4/3;
  object-fit: cover;
  border-radius: 6px;
  display: block;
}

/* 院情報テーブル */
.ichiru-clinic-info {
  margin: 1em 0 1.5em;
}
.ichiru-info-table {
  width: 100%;
  border-collapse: collapse;
  font-size: 0.9em;
}
.ichiru-info-table th,
.ichiru-info-table td {
  padding: 10px 12px;
  border-bottom: 1px solid #e0e8f5;
  text-align: left;
  vertical-align: top;
}
.ichiru-info-table th {
  background: #f0f4ff;
  color: #2a4a80;
  font-weight: bold;
  width: 6em;
  white-space: nowrap;
}
.ichiru-info-table a {
  color: #2071c5;
}
.ichiru-info-map-link {
  margin-top: 12px;
  text-align: center;
}

/* ===== LP完全化: WordPress感を完全除去 ===== */

/* 1. H1「ホーム」・記事ヘッダー全体（タイトル・日付・パンくず含む） */
.home .article-header,
.front-top-page .article-header,
.home .entry-header,
.home .entry-title,
.home h1.page-title { display: none !important; }

/* 2. 投稿日・更新日 */
.home time,
.home .entry-date,
.home .date,
.home .post-date,
.home .updated,
.front-top-page time { display: none !important; }

/* 3. 目次 (Cocoon内蔵TOC) */
.home #toc,
.front-top-page #toc,
.home .toc,
.front-top-page .toc,
.home [class*="ez-toc"] { display: none !important; }

/* 4. サイドバー全体・スクロールサイドバー */
.home #sidebar,
.front-top-page #sidebar,
.home .sidebar,
.front-top-page .sidebar,
#sidebar.sidebar { display: none !important; }

/* 5. SNSフォローボタン（著者フォロー）・著者情報 */
.home .sns-follow,
.front-top-page .sns-follow,
.home .author-info,
.front-top-page .author-info,
.home .author-box,
.home .sns-follow-message,
.home .follow-button { display: none !important; }

/* 6. サイドバーが消えた分コンテンツを全幅に */
.home .content-in,
.front-top-page .content-in {
  display: block !important;
}
.home #main,
.front-top-page #main {
  width: 100% !important;
  max-width: 100% !important;
  margin: 0 auto !important;
}

/* 7. 記事メタ情報（投稿者・カテゴリ表示）*/
.home .post-categories,
.home .post-tags,
.home .entry-meta,
.home .entry-content + .related-entry-header,
.front-top-page .entry-meta { display: none !important; }

/* 8. フッター著者 */
.home .author-box-info,
.home [class*="author-follow"] { display: none !important; }

/* ── 症状ページ（.single-condition）: ブログ感を除去 ──────── */
.single-condition .date-tags,
.single-condition .author-info,
.single-condition .sns-follow {
  display: none !important;
}