@charset "utf-8";

/* ==========================================================================
   症例コラム共通レイアウト（粉瘤・ニキビ・脂肪腫など）
   ========================================================================== */

/* --- 全体コンテナ --- */
.article-container {
   max-width: 860px;
    margin: 0 auto;
    padding-bottom: 120px;
    background: #fff;
    line-height: 1.8;
}


/* --- 大見出し（ページタイトル） --- */
.article-main-title {
    font-size: 3.2rem;
    font-weight: 800;
    line-height: 1.4;
    color: #4e4335;
    margin: 50px 24px 30px;
    padding-bottom: 15px;
    border-bottom: 2px solid #d2c7b2;
letter-spacing: 0.05em;
}

/* --- 中見出し（各セクションのタイトル） --- */
.article-h2 {
    display: flex;
    align-items: center;
    padding: 0 28px;
    min-height: 72px;
    margin: 110px 0 50px;
    background: rgba(210, 199, 178, 0.25);
    border-left: 10px solid #d2c7b2;
    font-size: 1.65rem;
    font-weight: 700;
    color: #4e4335;
    letter-spacing: 0.02em;
    scroll-margin-top: 100px;
}

/* --- 導入文（リード文）エリア --- */
.article-local-lead {
    margin: 60px auto 80px;
    padding: 32px 36px;
    background: #fff;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.04);
}

.lead-title {
    font-size: 1.35rem;
    font-weight: 700;
    margin-bottom: 20px;
    color: #5f5242;
}

.lead-text {
    font-size: 1.3rem;
    line-height: 2.2;
    color: #333;
}

/* --- 本文テキスト・リスト装飾 --- */
.article-body {
    padding: 0 24px;
    font-size: 1.5rem;
    line-height: 1.65;
    color: #333;
    letter-spacing: 0.03em;
}

.article-body p {
    margin-bottom: 1.2em;
}

.article-body ul {
    list-style: none;
    margin: 0.8em 0 1.2em;
    padding-left: 0.5em;
}

.article-body li {
    position: relative;
    padding-left: 1.5em;
    margin-bottom: 0.8em;
    line-height: 1.7;
}

/* リストのひし形マーク */
.article-body li::before {
    content: '';
    position: absolute;
    left: 0;
    top: 0.6em;
    width: 8px;
    height: 8px;
    background: #d2c7b2;
    transform: rotate(45deg);
}

.article-body h3 {
    font-size: 1.55rem;
    font-weight: 700;
    margin: 3em 0 1.2em;
    color: #a68d71;
}

/* --- 予約・お問い合わせ（CTA）エリア --- */
.article-cta {
    background: #f6f2ec;
    padding: 30px;
    margin: 70px auto;
    max-width: 820px;
    text-align: center;
    border-radius: 12px;
}

.article-cta p strong {
    font-size: 1.3rem;
    color: #4e4335;
}

.article-cta .cta-button {
    display: block;
    width: fit-content;
    margin: 20px auto 0;
    padding: 18px 40px;
    background: #8a7358;
    color: #fff !important;
    font-weight: 700;
    font-size: 1.25rem;
    line-height: 1;
    border-radius: 50px;
    text-decoration: none;
    text-align: center;
    box-sizing: border-box;
}

.article-cta .cta-button {
    transition: all 0.3s ease;
}

.article-cta .cta-button:hover {
    background: #6d5a44;
    transform: translateY(-3px);
    box-shadow: 0 6px 15px rgba(0,0,0,0.15); 
    text-decoration: none;
}

/* --- 目次（Table of Contents） --- */
.article-contents-box {
    margin: 40px auto;
    padding: 0;
    max-width: 760px;
    background: #fff;
    border: 1px solid #d2c7b2;
    border-radius: 8px;
    overflow: hidden;
}

.contents-header {
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 20px;
    cursor: pointer;
    user-select: none;
}

.toc-icon {
    margin-right: 12px;
    display: flex;
    align-items: center;
}

.toc-icon svg {
    stroke: #8a7358;
}

.contents-title {
    font-weight: 700;
    font-size: 1.4rem;
    color: #4e4335;
    margin: 0;
    text-align: center;
}

#toc_btn_text {
    color: #8a7358;
    font-size: 0.95em;
    text-decoration: underline;
}

.contents-list {
    list-style: none;
    margin: 0;
    padding: 0 30px 0 45px;
    border-top: 1px solid transparent;
    text-align: left;
    max-height: 0;
    overflow: hidden;
    opacity: 0;
    transition: max-height 0.5s ease-in-out, padding 0.5s ease-in-out, opacity 0.3s;
}

.contents-list.open {
    max-height: 500px;
    padding: 20px 30px 30px 45px;
    border-top: 1px solid #d2c7b2;
    opacity: 1;
}

.contents-list li {
    margin-bottom: 0;
    line-height: 2.2;
    font-size: 1.2rem;
}

.contents-list a {
    color: #8a7358;
    text-decoration: none;
    display: inline-block;
    transition: all 0.3s ease;
    position: relative;
}

.contents-list a:hover {
    color: #4e4335;
    transform: translateX(5px);
    text-decoration: underline;
}

/* --- イラスト・症例写真 --- */
.article-illustration {
    text-align: center;
    margin: 40px auto;
    width: 100%;
    max-width: 800px;
}

.article-illustration img {
    width: 100%;
    height: auto;
    display: block;
    margin: 0 auto;
}

/* --- ドクター解説セクション（動画エリア含む） --- */
.doctor-title {
    text-align: center;
    font-size: 1.7rem;
    font-weight: 700;
    color: #4e4335;
    margin-bottom: 32px;
    letter-spacing: 0.05em;
}

.doctor-title::after {
    content: '';
    display: block;
    width: 50px;
    height: 3px;
    background: #d2c7b2;
    margin: 10px auto 0;
}

.doctor-video-container {
    display: flex;
    gap: 20px;
    width: 100%;
    margin-bottom: 25px;
}

.doctor-video {
    flex: 1;
}

.doctor-video iframe {
    width: 100%;
    aspect-ratio: 16 / 9;
    border-radius: 6px;
    border: none;
}

.doctor-box {
    display: flex;
    flex-direction: column;
    align-items: center;
}

.doctor-text {
    width: 100%;
    text-align: center;
}

.video-label {
    font-size: 0.95rem;
    font-weight: 700;
    margin-bottom: 12px;
    color: #8a7358;
    text-align: center;
    width: 100%;
    display: block;
}

/* YouTubeチャンネル登録ボタン風 */
.yt-sub-wrapper {
  text-align: center;
}

.article-body .emergency-notice {
  margin-bottom: 24px;
}

.doctor-text-footer {
  text-align: center;
}

.yt-sub-button {
 display: flex;
  align-items: center;
  justify-content: center;
  width: 100%; 
  max-width: 360px;
  height: 56px;
  margin: 20px auto;
  padding: 0 24px;
  background: rgb(120, 114, 88);
  color: #fff !important;
  font-size: 1.3rem;
  font-weight: 600;
  text-decoration: none !important;
  border-radius: 50px;
  box-sizing: border-box;
  line-height: 1;
}

.yt-sub-button:hover {
  opacity: 0.8;
}

/* --- Q&A（よくある質問） --- */
.faq-box {
    background: #faf8f5;
    padding: 20px;
    margin: 20px auto;
    max-width: 760px;
    border-radius: 10px;
}

.faq-box .q { font-weight: 700; }
.faq-box .a { margin-top: 8px; }

/* --- 他疾患との比較リスト・関連記事 --- */
.comparison-list {
    max-width: 760px;
    margin: 30px auto;
}

.comparison-list dt {
    font-weight: 700;
    color: #8a7358;
    font-size: 1.4rem;
}

.comparison-list dd {
    margin: 0 0 25px;
    padding-bottom: 15px;
    border-bottom: 1px dashed #eee;
}

.related-article {
    max-width: 760px;
    margin: 40px auto 0;
    padding-left: 12px;
    border-left: 2px solid #f3edd6;
}

.related-title {
    display: block;
    font-size: 1.3rem;
    color: #999;
}

/* --- 監修・出典情報 --- */
.article-reference {
    max-width: 760px;
    margin: 80px auto 15px;
    padding-top: 20px;
    border-top: 1px solid #ddd;
}

.reference-link {
    font-size: 1.1rem;
    color: #777;
    line-height: 1.8;
}

.reference-link a {
    color: #8a7358;
    text-decoration: underline;
}

.supervised {
    max-width: 760px;
    margin: 0 auto 20px;
    font-size: 1.05rem;
    color: #555;
    font-weight: 500;
}

/* --- その他共通設定 --- */
html {
    scroll-behavior: smooth;
    scroll-padding-top: 100px;
}

/* --- FVの上のテキスト文字設定 --- */
.fv_img {
  position: relative;
  width: 100%;
  overflow: hidden;
}


#page_view .fv_img img {
   width: 100%;
  min-height: 320px;   /* ← page.cssに合わせる */
  object-fit: cover;
  display: block;
}

.fv_img .fv-title {
  position: relative;
  z-index: 10;
  margin: 0;
  width: 100%;
  text-align: center;
  color: #fff;
  text-shadow: 0 0 10px rgba(0,0,0,0.5);
  font-weight: bold;
  line-height: 1.2;
  font-size: 32px;
  padding: 0 20px;
  box-sizing: border-box;
}

.fv-title span {
  display: block;
  font-size: 18px;
  letter-spacing: 0.15em;
  margin-bottom: 4px;
}

#page_view {
  #page_view {
    padding: 0 20px;
  }

  .fv_img .fv-title {
    font-size: 24px;
  }

  .fv-title span {
    font-size: 14px;
  }
}

/* --- ドクターの紹介（Web・スマホ統合版） --- */

.doctor-profile-article {
    margin-top: 80px;
    padding: 40px;
    background: #faf7f2;
}

.doctor-profile-inner {
    display: flex;
    gap: 40px;
    align-items: flex-start;
}

.doctor-photo {
    flex: 0 0 240px;
    margin: 0;
}

.doctor-photo img {
    width: 100%;
    height: auto;
    border-radius: 8px;
    display: block;
}

.doctor-info {
    flex: 1;
}

.doctor-position {
    font-size: 14px;
    color: #666;
    margin-bottom: 4px;
}

.doctor-name {
    font-size: 24px;
    font-weight: bold;
    margin: 0 0 16px;
    color: #4e4335;
}

.doctor-message {
    line-height: 1.8;
}

.doctor-supervised {
     margin-top: 10px;
    font-size: 13px;
    color: #666;
}

html, body {
    overflow-x: hidden;
    width: 100%;
    margin: 0;
    padding: 0;
}

@media (max-width: 768px) {
    html body #page_view.about .page-ttl_sub_custom {
        display: none;
    }
    
    html body .article-container {
        width: 100%; 
        padding-left: 15px;
        padding-right: 15px;
        box-sizing: border-box;
    }

    html body .article-container .article-main-title {
        font-size: 1.6rem;
        margin: 30px 0 20px;
        padding-bottom: 10px;
        text-align: center;
    }

    html body .article-container .article-h2 {
        font-size: 1.6rem !important;
        line-height: 1.4 !important;
    }

    html body .article-container .article-contents-box {
        margin: 30px auto;
        height: auto !important;
        max-height: none !important;
        overflow: hidden !important;
        padding-bottom: 0 !important;
    }

    html body .article-contents-box ul.contents-list {
        display: none;
        height: auto !important;
    }

    html body .article-contents-box ul.contents-list.open {
        display: block !important;
        height: auto !important;
        visibility: visible !important;
        padding: 10px 15px 20px !important;
    }

    html body .article-contents-box ul.contents-list li {
        font-size: 16px;
        line-height: 1.8;
        height: auto !important;
        margin-bottom: 5px !important;
    }

    html body .article-contents-box ul.contents-list li a {
        display: inline-block;
        padding: 4px 0;
        font-size: 16px;
        height: auto !important;
        line-height: 1.4 !important;
    }

    html body .article-container .article-local-lead {
        margin: 40px auto;
        padding: 24px 20px;
    }

    html body .article-local-lead .lead-text {
        font-size: 16px;
        line-height: 1.8;
        display: block;
    }

    html body .article-body p, 
    html body .article-body li {
        font-size: 16px;
        line-height: 1.7;
        margin-bottom: 1.5em;
    }

    html body .article-body h3,
    html body .article-h3 {
        font-size: 1.5rem !important;
        line-height: 1.5 !important;
        margin: 2em 0 0.8em !important;
    }

    html body .article-cta {
        padding: 24px 16px !important;
        box-sizing: border-box !important;
    }

    html body .article-cta .cta-button {
        display: block !important;
        width: 100% !important;
        max-width: 100% !important;
        padding: 16px 10px !important;
        font-size: 16px !important;
        font-weight: 600 !important;
        line-height: 1.2 !important;
        text-align: center !important;
        border-radius: 50px !important;
        background-color: #8a7358 !important;
        box-sizing: border-box !important;
    }

    html body .doctor-supervised {
        font-size: 0.9rem;
        margin-top: 20px;
        text-align: center;
    }

    .article-container .article-body h3,
    .article-container h3.article-h3 {
        font-size: 21px !important;
    }

    .doctor-video-container {
        display: flex;
        flex-direction: column;
        gap: 20px;           
    }

    .doctor-video {
        width: 100%;        
    }

    .doctor-video iframe {
        width: 100%;          
        aspect-ratio: 16 / 9; 
        height: auto;    
    }
	
	 .doctor-profile-inner {
        flex-direction: column;
        align-items: center;
        text-align: center;
        gap: 20px;
    }

    .doctor-photo {
        flex: 0 0 auto;
        width: 180px;
    }

    .doctor-info {
        text-align: left;
    }
}

/* --- 当院が選ばれる4つの理由 セクション --- */
.article-container {
    max-width: 860px;
    margin: 0 auto;
    padding-bottom: 120px;
    background: #fff;
    line-height: 1.8;
}

.article-main-title {
    font-size: 2.1rem;
    font-weight: 700;
    line-height: 1.4;
    color: #4e4335;
    margin: 50px 24px 30px;
    padding-bottom: 15px;
    border-bottom: 2px solid #d2c7b2;
}

.article-h2 {
    display: flex;
    align-items: center;
    padding: 0 28px;
    min-height: 72px;
    margin: 110px 0 50px;
    background: rgba(210, 199, 178, 0.25);
    border-left: 10px solid #d2c7b2;
    font-size: 1.65rem;
    font-weight: 700;
    color: #4e4335;
    letter-spacing: 0.02em;
    scroll-margin-top: 100px;
}

.article-local-lead {
    margin: 60px auto 80px;
    padding: 32px 36px;
    background: #fff;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.04);
}

.lead-title {
    font-size: 1.35rem;
    font-weight: 700;
    margin-bottom: 20px;
    color: #5f5242;
}

.lead-text {
    font-size: 1.3rem;
    line-height: 2.2;
    color: #333;
}

.article-body {
    padding: 0 24px;
    font-size: 1.5rem;
    line-height: 1.65;
    color: #333;
    letter-spacing: 0.03em;
}

.article-body p {
    margin-bottom: 1.2em;
}

.article-body ul {
    list-style: none;
    margin: 0.8em 0 1.2em;
    padding-left: 0.5em;
}

.article-body li {
    position: relative;
    padding-left: 1.5em;
    margin-bottom: 0.8em;
    line-height: 1.7;
}

.article-body li::before {
    content: '';
    position: absolute;
    left: 0;
    top: 0.6em;
    width: 8px;
    height: 8px;
    background: #d2c7b2;
    transform: rotate(45deg);
}

.article-body h3 {
    font-size: 1.55rem;
    font-weight: 700;
    margin: 3em 0 1.2em;
    color: #a68d71;
}


html body .reason-section {
    padding: 10px 24px 60px;
    background-color: #fff;
    width: 100%;
    display: block;
}

html body .reason-main-title {
    margin-top: 0;
    font-size: 2.6rem;
    font-weight: 700;
    color: rgb(120, 114, 88);
    margin-bottom: 5px;
    line-height: 1.3;
    margin-left: auto;
    margin-right: auto;
    text-align: center;
    display: block;
    width: 100%;
}

html body .reason-sub-title {
    font-size: 1.2rem;
    color: rgb(120, 114, 88);
    margin-bottom: 40px;
    letter-spacing: 0.1em;
    margin-left: auto;
    margin-right: auto;
    text-align: center;
    display: block;
    width: 100%;
}

html body .reason-grid {
    display: flex;
    justify-content: center;
    gap: 20px;
    max-width: 1000px;
    margin: 0 auto;
}

html body .reason-card {
    background: #fff;
    flex: 1;
    padding: 30px 15px;
    border-radius: 12px;
    box-shadow: 0 4px 15px rgba(120, 114, 88, 0.1);
    display: flex;
    flex-direction: column;
    align-items: center;
    box-sizing: border-box;
    border: 1px solid rgba(120, 114, 88, 0.2);
}

html body .reason-icon img {
    width: 60px;
    height: auto;
    margin-bottom: 20px;
}

html body .reason-text {
    font-size: 1.4rem;
    font-weight: 700;
    line-height: 1.6;
    color: #4e4335;
    margin: 0;
}

html body .highlight {
    color: rgb(120, 114, 88);
    font-weight: bold;
}

@media (max-width: 768px) {
    html body .article-container {
        width: 100%;
        padding-left: 15px;
        padding-right: 15px;
        box-sizing: border-box;
    }

    html body .reason-section {
        padding: 10px 10px 40px;
    }

    html body .reason-main-title {
        font-size: 2.2rem;
    }

    html body .reason-grid {
        flex-wrap: wrap;
        gap: 10px;
    }

    html body .reason-card {
        flex: none;
        width: calc(50% - 5px);
        padding: 20px 10px;
    }

    html body .reason-text {
        font-size: 1.2rem;
    }
}