@import url('https://fonts.googleapis.com/css2?family=Noto+Sans+JP:wght@300;400;500;700&family=Noto+Serif+JP:wght@400;500&display=swap');

/* =============================================
   IPCL JAPAN — 記事共通スタイル
   article.css
   ============================================= */

/* ----- Reset ----- */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }

/* ----- Variables ----- */
:root {
  --teal:      #1399a9;
  --teal-l:    #e8f6f8;
  --teal-m:    #b3dde3;
  --white:     #ffffff;
  --offwhite:  #f8fbfc;
  --g100:      #f0f3f4;
  --g200:      #dde4e6;
  --text:      #263238;   /* より濃いメインテキスト */
  --text-l:    #546e7a;   /* サブテキスト（以前より濃く） */
  --r:         8px;
  --r-sm:      4px;
  --maxw:      740px;
}

/* ----- Base ----- */
html { scroll-behavior: smooth; }

body {
  font-family: 'Noto Sans JP', sans-serif;
  background: var(--offwhite);
  color: var(--text);
  line-height: 2.0;
  font-size: 17px;   /* 15px → 17px */
}

/* =============================================
   Layout
   ============================================= */
.wrap {
  max-width:800px;
  margin: 0 auto;
  padding: 0 0 40px;
}

/* =============================================
   Eyebrow / Title / Lead
   ============================================= */
.eyebrow {
  padding: 36px 0 0;
  display: flex;
  align-items: center;
  gap: 10px;
  flex-wrap: wrap;
}

.cat-tag {
  display: inline-block;
  font-size: 12px;
  font-weight: 700;
  letter-spacing: .1em;
  color: var(--teal);
  background: var(--teal-l);
  border: 1px solid var(--teal-m);
  border-radius: 999px;
  padding: 4px 14px;
}

h1.article-title {
  font-family: 'Noto Serif JP', serif;
  font-size: clamp(24px, 4vw, 34px);   /* 大きく */
  font-weight: 500;
  line-height: 1.5;
  color: var(--text);
  margin: 18px 0 10px;
text-align: left;
}

.lead {
      font-size: 14px;
    color: var(--text-l);
    line-height: 2.0;
    margin-bottom: 10px;
}

/* 関連リンク前リード文 */
.rel-lead {
  font-size: 15px;
  color: var(--text-l);
  margin-bottom: 10px;
}

/* =============================================
   Related links
   ============================================= */
.rel-links {
  display: flex;
  flex-direction: column;
  gap: 8px;
  margin-bottom: 40px;
}

.rel-link {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  font-size: 14px;
  font-weight: 500;
  color: var(--teal);
  text-decoration: none;
  background: var(--teal-l);
  border: 1px solid var(--teal-m);
  border-radius: var(--r-sm);
  padding: 3px 16px;
  width: fit-content;
}
.rel-link::before { content: '→'; font-size: 13px; }
.rel-link:hover { background: #d0edf1; }

/* =============================================
   TOC
   ============================================= */
.toc {
  background: var(--white);
  border: 1px solid var(--g200);
  border-radius: var(--r);
  padding: 10px 20px;
  margin-bottom: 48px;
}

.toc-ttl {
  font-size: 13px;
  font-weight: 700;
  letter-spacing: .1em;
  color: var(--text-l);
  margin-bottom: 14px;
}

.toc ol {
  padding-left: 22px;
  display: flex;
  flex-direction: column;
  gap: 5px;
}

.toc li { font-size: 15px; }
.toc a { color: var(--teal); text-decoration: none; }
.toc a:hover { text-decoration: underline; }

/* =============================================
   Article body — Headings
   ============================================= */
.post_content h2 {
  font-family: 'Noto Serif JP', serif;
  font-size: 22px;   /* 20px → 22px */
  font-weight: 700;
  color: var(--text);
  margin: 56px 0 20px;
  padding: 20px 22px;
  background: var(--teal-l);
  border-left: 5px solid var(--teal);
  border-radius: 0 var(--r) var(--r) 0;
  line-height: 1.5;
	text-align: left;
}
.post_content h2:first-child { margin-top: 0; }

.post_content h3 {
  font-family: 'Noto Serif JP', serif;
  font-size: 19px;   /* 17px → 19px */
  font-weight: 700;
  color: var(--text);
  margin: 40px 0 16px;
  padding-bottom: 10px;
  border-bottom: 2px solid var(--g200);
}

/* =============================================
   Article body — Paragraph / Image
   ============================================= */
.post_content article.wrap p {
  margin-bottom: 20px;
  font-size: 17px;
  line-height: 2.0;
  color: var(--text);
}

.article-img {
  width: 100%;
  height: auto;
  display: block;
  border-radius: var(--r);
  margin-bottom: 26px;
}

/* =============================================
   Table title label
   ============================================= */
.tbl-title {
  font-weight: 700;
  font-size: 15px;
  color: var(--text);
  margin: 30px 0 10px;
}

/* =============================================
   Highlight box  （toha: 特徴強調）
   ============================================= */
.hl-box {
  background: var(--teal-l);
  border: 1px solid var(--teal-m);
  border-radius: var(--r);
  padding: 18px 22px;
  margin: 22px 0 26px;
  font-size: 16px;
  font-weight: 500;
  line-height: 1.9;
  color: var(--text);
}

/* =============================================
   Compare table  （toha・vs_icl）
   ============================================= */
.tbl-wrap {
  overflow-x: auto;
  margin: 0 0 30px;
  border-radius: var(--r);
  border: 1px solid var(--g200);
}

.cmp-tbl {
  width: 100%;
  border-collapse: collapse;
  font-size: 14px;
  min-width: 540px;
}
.cmp-tbl th {
  background: var(--teal);
  color: #fff;
  padding: 12px 14px;
  font-weight: 500;
  text-align: center;
  border-right: 1px solid rgba(255,255,255,.2);
  white-space: nowrap;
}
.post_content table.cmp-tbl{
	margin-bottom:0;
} 
.post_content .cmp-tbl th:first-child { background: #0f7d8b; text-align: left; }
.post_content .cmp-tbl td {
  padding: 10px 15px !important;
  border-bottom: 1px solid var(--g200);
  border-right: 1px solid var(--g200);
  text-align: left;
  vertical-align: middle;
  line-height: 1.7;
  font-size: 14px;
  color: var(--text);
}
.cmp-tbl td:first-child {
  background: var(--g100);
  font-weight: 600;
  text-align: left;
  white-space: nowrap;
  color: var(--text);
}
.cmp-tbl tr:last-child td { border-bottom: none; }
.cmp-tbl tr:nth-child(even) td:not(:first-child) { background: #fafcfc; }
.col-ipcl { background: #edf9fb !important; }

/* =============================================
   Clinic table  （cost）
   ============================================= */
.clinic-tbl {
  width: 100%;
  border-collapse: collapse;
  font-size: 14px;
  min-width: 480px;
}
.clinic-tbl th {
  background: var(--teal);
  color: #fff;
  padding: 12px 14px;
  font-weight: 500;
  text-align: center;
  border-right: 1px solid rgba(255,255,255,.2);
  white-space: nowrap;
}
.clinic-tbl th:first-child { text-align: left; }
.clinic-tbl td {
  padding: 12px 14px;
  border-bottom: 1px solid var(--g200);
  border-right: 1px solid var(--g200);
  text-align: center;
  vertical-align: middle;
  line-height: 1.6;
  font-size: 14px;
  color: var(--text);
}
.clinic-tbl td:first-child {
  text-align: left;
  font-weight: 600;
  background: var(--g100);
  white-space: nowrap;
}
.clinic-tbl tr:last-child td { border-bottom: none; }

/* =============================================
   Bullet box  （toha・cost・vs_icl 共通）
   ============================================= */
.bul-box {
  border: 1px solid var(--g200);
  border-radius: var(--r);
  overflow: hidden;
  margin: 16px 0 24px;
	background: #fff;
}
.bul-box-ttl {
  background: var(--teal);
  color: #fff;
  font-size: 14px;
  font-weight: 700;
  padding: 11px 18px;
  letter-spacing: .05em;
}
.bul-box ul {
  padding: 16px 18px 16px 38px;
  display: flex;
  flex-direction: column;
  gap: 10px;
  background: var(--white);
  list-style: disc;
}
.bul-box li {
  font-size: 16px;
  line-height: 1.8;
  color: var(--text);
}

/* =============================================
   Step box  （toha）
   ============================================= */
.step-box {
  border: 1px solid var(--g200);
  border-radius: var(--r);
  overflow: hidden;
  margin: 16px 0 30px;
}
.step-item {
  padding: 18px 22px;
  border-bottom: 1px solid var(--g200);
  display: flex;
  gap: 16px;
  align-items: flex-start;
  background: var(--white);
}
.step-item:last-child { border-bottom: none; }
.step-num {
  flex-shrink: 0;
  width: 30px;
  height: 30px;
  background: var(--teal);
  color: #fff;
  border-radius: 50%;
  font-size: 13px;
  font-weight: 700;
  display: flex;
  align-items: center;
  justify-content: center;
  margin-top: 2px;
}
.step-ttl {
  font-weight: 700;
  font-size: 16px;
  margin-bottom: 6px;
  color: var(--text);
}
.step-desc {
  font-size: 15px;
  color: var(--text-l);
  line-height: 1.9;
}

/* =============================================
   Price box  （cost）
   ============================================= */
.price-box {
  border: 1px solid var(--teal-m);
  border-radius: var(--r);
  overflow: hidden;
  margin: 16px 0 26px;
}
.price-box-ttl {
  background: var(--teal);
  color: #fff;
  font-size: 14px;
  font-weight: 700;
  padding: 11px 20px;
  letter-spacing: .05em;
}
.price-row {
  display: flex;
  align-items: baseline;
  gap: 16px;
  padding: 16px 22px;
  border-bottom: 1px solid var(--g200);
  background: var(--white);
}
.price-row:last-child { border-bottom: none; }
.price-label {
  font-size: 15px;
  font-weight: 600;
  color: var(--text);
  white-space: nowrap;
  min-width: 148px;
}
.price-val {
  font-size: 20px;
  font-weight: 700;
  color: var(--teal);
  font-family: 'Noto Serif JP', serif;
}

/* =============================================
   Rec box  （vs_icl: おすすめ紹介）
   ============================================= */
.rec-box {
  border: 1px solid var(--g200);
  border-radius: var(--r);
  background: var(--white);
  padding: 18px 22px;
  margin: 16px 0 26px;
  font-size: 16px;
  line-height: 2.1;
  color: var(--text);
}

/* =============================================
   Merit / Demerit label  （vs_icl）
   ============================================= */
.merit-label {
  font-weight: 700;
  font-size: 16px;
  color: var(--text);
  margin: 22px 0 8px;
}

/* =============================================
   Who box  （vs_icl: まとめ おすすめ）
   ============================================= */
.who-ttl {
  font-weight: 700;
  font-size: 16px;
  color: var(--text);
  margin: 26px 0 10px;
}
.who-box {
  border: 1px solid var(--g200);
  border-radius: var(--r);
  overflow: hidden;
  margin: 0 0 16px;
	background:#fff;
}
.who-box ul {
  padding: 16px 18px 16px 38px;
  display: flex;
  flex-direction: column;
  gap: 8px;
  background: var(--white);
  list-style: disc;
}
.who-box li {
  font-size: 16px;
  line-height: 1.8;
  color: var(--text);
}

/* =============================================
   Closing note  （vs_icl）
   ============================================= */
.closing {
  margin-top: 28px;
  padding: 22px 24px;
  background: var(--g100);
  border-radius: var(--r);
  font-size: 16px;
  line-height: 2.0;
  color: var(--text-l);
}

/* =============================================
   Ref links  （toha）
   ============================================= */
.ref-list {
  margin: 18px 0 26px;
  display: flex;
  flex-direction: column;
  gap: 8px;
}
.ref-link {
  font-size: 15px;
  display: inline-flex;
  align-items: center;
  gap: 6px;
  color: var(--teal);
  text-decoration: none;
  font-weight: 500;
}
.ref-link:hover { text-decoration: underline; }
.ref-link::before { content: '🔗'; font-size: 12px; }

/* =============================================
   Responsive
   ============================================= */
@media (max-width: 640px) {
  .wrap    { padding: 0; }
  body     { font-size: 16px; }
  .body h2 { font-size: 19px; padding: 16px 18px; }
  .body h3 { font-size: 17px; }
  .body p  { font-size: 16px; }
  .bul-box li, .who-box li { font-size: 15px; }
  .cmp-tbl, .clinic-tbl { font-size: 13px; }
  .price-label { min-width: 110px; }
  .article-title { font-size: 26px; }
}

/* CTA スタイル */
.cta-clinic-list {
  background-color: #f0f7ff;
  border: 2px solid #1a73e8;
  border-radius: 12px;
  padding: 32px 24px;
  text-align: center;
  margin: 48px 0;
}

.cta-clinic-list__text {
  font-size: 1.1rem;
  font-weight: bold;
  color: #333;
  margin-bottom: 16px;
}

a.cta-clinic-list__btn {
  display: inline-block;
  background-color: #1a73e8;
  color: #fff;
  font-size: 1rem;
  font-weight: bold;
  padding: 14px 32px;
  border-radius: 8px;
  text-decoration: none;
  transition: background-color 0.2s ease;
}

a.cta-clinic-list__btn :hover {
  background-color: #1558b0;
}
#single_service{
	padding: 0 0 100px 0;
}
#single_service #category_sort_button{
	margin: 40px 0 0 0;
}
.post_content .s_table table {
    margin-bottom: 0;
}
@media screen and (max-width: 800px) {
.post_content .s_table{
    margin-bottom: 0;
}
}
.post_content article.wrap .tbl-wrap p{
	margin-bottom: 0;
}