@charset "UTF-8";
/* ===========================================================
  生活習慣病のページ（menu/lifestyle.html・hypertension.html・diabetes.html・dyslipidemia.html）
  2026-11-30 メディカ追加。この4ページだけが読み込む
=========================================================== */
.lsSec { margin: min(8vw, 100px) 0 0; }
.lsSec .hA { margin-bottom: min(4vw, 50px); }
.lsEn { display: block; font-family: var(--ff-en); font-weight: 700; color: var(--c-blue); font-size: 0.8em; letter-spacing: 0.12em; text-transform: uppercase; line-height: 1.4; }

/* 導入（文＋写真） */
.lsIntro { display: flex; align-items: center; gap: 50px; }
.lsIntroText { flex: 1; }
.lsIntroImg { width: 42%; flex-shrink: 0; position: relative; isolation: isolate; }
.lsIntroImg img { width: 100%; display: block; border-radius: 24px; aspect-ratio: 3 / 2; object-fit: cover; }
.lsIntroImg::before { content: ""; position: absolute; right: -16px; bottom: -16px; width: 70%; height: 70%; border-radius: 24px; background: var(--c-blue-light); z-index: -1; }
.lsLead { font-size: 1.35em; font-weight: 700; line-height: 1.6; color: var(--c-blue-strong); margin-bottom: 0.9em; }
.lsLead em { font-style: normal; background: linear-gradient(transparent 62%, #ffe0e6 62%); }

/* このような方はご相談ください */
.lsCheck { position: relative; background: #fffaeb; border-radius: 24px; padding: 56px 44px 40px; margin-top: 70px; }
.lsCheckTtl { position: absolute; top: 0; left: 50%; transform: translate(-50%, -50%); margin: 0; padding: 10px 36px; border-radius: 999px; background: var(--c-pink-strong); color: #fff; font-weight: 700; font-size: 1.1em; white-space: nowrap; box-shadow: 0 4px 10px rgba(251, 131, 154, 0.3); }
#mainContent .lsCheck ul { display: grid; grid-template-columns: 1fr 1fr; gap: 14px 20px; margin: 0; padding: 0; list-style: none; }
#mainContent .lsCheck li { position: relative; margin: 0; padding: 14px 18px 14px 52px; background: #fff; border-radius: 12px; line-height: 1.6; }
#mainContent .lsCheck li::before { content: "check_circle"; position: absolute; left: 16px; top: 50%; transform: translateY(-50%); font-family: var(--ff-symbol); font-size: 26px; line-height: 1; color: var(--c-pink-strong); font-variation-settings: "FILL" 1; }
.lsCheckNote { text-align: center; margin: 24px 0 0; font-weight: 700; color: #555; }

/* 病気ごとのご案内（写真つきのカード） */
.lsCards { display: grid; grid-template-columns: repeat(3, 1fr); gap: 30px; }
#mainContent a.lsCard { display: flex; flex-direction: column; overflow: hidden; background: #fff; border-radius: 20px; box-shadow: 0 6px 24px rgba(16, 131, 193, 0.13); color: #333; text-decoration: none; transition: transform 0.25s, box-shadow 0.25s; }
#mainContent a.lsCard:hover { transform: translateY(-5px); box-shadow: 0 12px 32px rgba(16, 131, 193, 0.22); }
.lsCardImg { margin: 0; aspect-ratio: 3 / 2; overflow: hidden; }
.lsCardImg img { width: 100%; height: 100%; display: block; object-fit: cover; transition: transform 0.5s; }
#mainContent a.lsCard:hover .lsCardImg img { transform: scale(1.06); }
.lsCardBody { flex: 1; display: flex; flex-direction: column; padding: 22px 26px 24px; border-top: 4px solid var(--c-blue); }
.lsCardTtl { margin: 2px 0 10px; font-size: 1.3em; font-weight: 700; line-height: 1.45; }
.lsCardTxt { flex: 1; margin: 0 0 16px; font-size: 0.95em; line-height: 1.75; }
.lsCardMore { align-self: flex-end; display: inline-flex; align-items: center; gap: 6px; padding: 6px 18px; border-radius: 999px; background: var(--c-blue-light); color: var(--c-blue-strong); font-size: 0.9em; font-weight: 700; }
.lsCardMore::after { content: "arrow_forward"; font-family: var(--ff-symbol); font-size: 18px; line-height: 1; }

/* 当院の特徴（写真と文を交互に） */
.lsBand { background: var(--c-blue-light); border-radius: min(5vw, 50px); padding: min(7vw, 80px) min(4vw, 50px); }
.lsBand .hA { margin-top: 0; }
.lsFeature { background: #fff; border-radius: 24px; padding: 44px; margin-top: 50px; }
.lsFeature:first-of-type { margin-top: 0; }
.lsFeatureRow { display: flex; align-items: center; gap: 50px; }
.lsFeature:nth-of-type(even) .lsFeatureRow { flex-direction: row-reverse; }
.lsFeatureImg { position: relative; width: 40%; flex-shrink: 0; }
.lsFeatureImg img { width: 100%; display: block; border-radius: 18px; aspect-ratio: 3 / 2; object-fit: cover; }
.lsNum { position: absolute; top: -26px; left: -20px; width: 86px; height: 86px; border-radius: 50%; background: var(--c-blue); color: #fff; display: flex; flex-direction: column; align-items: center; justify-content: center; line-height: 1; box-shadow: 0 6px 14px rgba(16, 131, 193, 0.3); }
.lsFeature:nth-of-type(even) .lsNum { left: auto; right: -20px; background: var(--c-pink-strong); box-shadow: 0 6px 14px rgba(251, 131, 154, 0.35); }
.lsNum small { font-family: var(--ff-en); font-size: 11px; font-weight: 700; letter-spacing: 0.12em; }
.lsNum b { font-family: 'Montserrat', var(--ff-en); font-size: 32px; font-weight: 700; margin-top: 2px; }
.lsFeatureBody { flex: 1; }
#mainContent .lsFeatureBody h3 { margin: 0 0 16px; padding: 0 0 14px; font-size: 1.4em; font-weight: 700; line-height: 1.5; color: var(--c-blue-strong); border-bottom: 2px dotted #bce2e8; }
.lsFeatureBody p:last-child { margin-bottom: 0; }
.lsFeatureExtra { margin-top: 30px; }
.lsFeatureExtra .tblA { margin-bottom: 10px; }
.lsTags { display: flex; flex-wrap: wrap; gap: 8px; margin: 14px 0 0; padding: 0; list-style: none; }
#mainContent .lsTags li { margin: 0; padding: 4px 14px; border-radius: 999px; background: var(--c-blue-light); color: var(--c-blue-strong); font-size: 0.85em; font-weight: 700; }
#mainContent .lsTags li::before { content: none; }

/* 診療の流れ（横に並ぶ4つの手順） */
#mainContent .lsFlow { display: grid; grid-template-columns: repeat(4, 1fr); gap: 36px; margin: 0; padding: 0; list-style: none; counter-reset: lsflow; }
#mainContent .lsFlow > li { position: relative; margin: 0; padding: 30px 22px 26px; background: #fff; border: 2px solid var(--c-blue-light); border-radius: 20px; text-align: center; counter-increment: lsflow; }
#mainContent .lsFlow > li::before { content: none; }
#mainContent .lsFlow > li:not(:last-child)::after { content: ""; position: absolute; top: 50%; right: -27px; transform: translateY(-50%); border: 10px solid transparent; border-left: 14px solid var(--c-pink); }
.lsFlowNum { width: 72px; height: 72px; margin: 0 auto 14px; border-radius: 50%; background: var(--c-blue); color: #fff; display: flex; flex-direction: column; align-items: center; justify-content: center; line-height: 1; font-family: 'Montserrat', var(--ff-en); font-weight: 700; font-size: 26px; }
.lsFlowNum small { font-family: var(--ff-en); font-size: 10px; letter-spacing: 0.12em; margin-bottom: 3px; }
#mainContent .lsFlow > li:nth-child(even) .lsFlowNum { background: var(--c-pink-strong); }
.lsFlowTtl { display: block; margin: 4px 0 10px; font-size: 1.12em; font-weight: 700; line-height: 1.5; color: var(--c-blue-strong); }
.lsFlowTxt { margin: 0; font-size: 0.92em; line-height: 1.7; text-align: left; }

/* よくあるご質問 */
.lsFaq { margin: 0; }
.lsFaqItem { margin-top: 22px; border-radius: 18px; overflow: hidden; box-shadow: 0 4px 18px rgba(16, 131, 193, 0.1); }
.lsFaqItem:first-child { margin-top: 0; }
.lsFaq dt, .lsFaq dd { position: relative; margin: 0; padding: 20px 28px 20px 84px; line-height: 1.75; }
.lsFaq dt { background: var(--c-blue-light); color: var(--c-blue-strong); font-weight: 700; font-size: 1.08em; }
.lsFaq dd { background: #fff; }
.lsFaq dt::before, .lsFaq dd::before { position: absolute; left: 24px; top: 16px; width: 40px; height: 40px; border-radius: 50%; text-align: center; line-height: 40px; font-family: var(--ff-en); font-weight: 700; font-size: 19px; color: #fff; }
.lsFaq dt::before { content: "Q"; background: var(--c-blue); }
.lsFaq dd::before { content: "A"; background: var(--c-pink-strong); }

/* 治療（カード） */
.lsTreat { display: grid; grid-template-columns: repeat(3, 1fr); gap: 24px; }
.lsTreat.col2 { grid-template-columns: repeat(2, 1fr); }
.lsTreatItem { position: relative; padding: 30px 26px 26px; background: #fff; border-radius: 20px; box-shadow: 0 4px 18px rgba(16, 131, 193, 0.1); border-top: 5px solid var(--c-blue); }
.lsTreatItem:nth-child(even) { border-top-color: var(--c-pink); }
#mainContent .lsTreatItem h4 { margin: 0 0 12px; font-size: 1.18em; font-weight: 700; line-height: 1.5; color: var(--c-blue-strong); }
.lsTreatItem p:last-child { margin-bottom: 0; }
.lsNoteBox { margin-top: 24px; padding: 18px 24px; border-left: 5px solid var(--c-blue); background: var(--c-blue-light); border-radius: 0 14px 14px 0; }
.lsNoteBox p:last-child { margin-bottom: 0; }

/* 基準の表（tblA の上の見出し） */
.lsTblCap { margin: 0 0 10px; font-weight: 700; color: var(--c-blue-strong); }

/* ご予約・お問い合わせ */
.lsCta { position: relative; overflow: hidden; margin-top: min(8vw, 100px); padding: 56px 40px 48px; border-radius: 30px; background: linear-gradient(135deg, var(--c-blue) 0%, var(--c-blue-strong) 100%); color: #fff; text-align: center; }
.lsCta::before, .lsCta::after { content: ""; position: absolute; border-radius: 50%; background: rgba(255, 255, 255, 0.08); }
.lsCta::before { width: 280px; height: 280px; top: -120px; left: -80px; }
.lsCta::after { width: 220px; height: 220px; bottom: -110px; right: -60px; }
.lsCta > * { position: relative; z-index: 1; }
.lsCtaEn { display: block; font-family: var(--ff-en); font-weight: 700; letter-spacing: 0.15em; font-size: 0.85em; opacity: 0.85; }
#mainContent .lsCtaTtl { margin: 4px 0 12px; font-size: 1.7em; font-weight: 700; color: #fff; }
.lsCta p { color: #fff; }
.lsCtaBtns { display: flex; justify-content: center; flex-wrap: wrap; gap: 20px; margin: 28px 0 24px; }
#mainContent .lsCtaBtns a { display: inline-flex; align-items: center; justify-content: center; gap: 10px; min-width: 300px; padding: 18px 32px; border-radius: 999px; font-size: 1.2em; font-weight: 700; text-decoration: none; transition: transform 0.2s, box-shadow 0.2s; box-shadow: 0 6px 16px rgba(0, 0, 0, 0.15); }
#mainContent .lsCtaBtns a:hover { transform: translateY(-3px); box-shadow: 0 10px 22px rgba(0, 0, 0, 0.2); }
#mainContent .lsCtaBtns a .lsIco { font-family: var(--ff-symbol); font-size: 26px; font-weight: 400; line-height: 1; font-variation-settings: "FILL" 1; }
#mainContent a.lsBtnTel { background: #fff; color: var(--c-blue-strong); font-family: var(--ff-en); font-size: 1.45em; letter-spacing: 0.03em; }
#mainContent a.lsBtnWeb { background: var(--c-pink-strong); color: #fff; }
.lsCtaHours { display: inline-block; margin: 0; padding: 12px 28px; border-radius: 14px; background: rgba(255, 255, 255, 0.15); font-size: 0.95em; line-height: 1.7; }
.lsNw { display: inline-block; white-space: nowrap; }
.lsCtaBring { margin: 14px 0 0; font-size: 0.92em; opacity: 0.95; }

/* 関連ページ */
.lsRelated { display: grid; grid-template-columns: 1fr 1fr; gap: 24px; margin-top: 40px; }
#mainContent a.lsRelatedItem { display: flex; align-items: center; gap: 18px; padding: 22px 26px; border: 2px solid var(--c-blue-light); border-radius: 18px; background: #fff; color: #333; text-decoration: none; transition: border-color 0.2s, background 0.2s; }
#mainContent a.lsRelatedItem:hover { border-color: var(--c-blue); background: #f7fcff; }
.lsRelatedItem img { width: 110px; height: 80px; flex-shrink: 0; border-radius: 12px; object-fit: cover; }
.lsRelatedItem b { display: block; color: var(--c-blue-strong); font-size: 1.08em; }
.lsRelatedItem small { display: block; margin-top: 4px; line-height: 1.6; }
.lsRelatedItem::after { content: "arrow_forward"; margin-left: auto; font-family: var(--ff-symbol); font-size: 24px; color: var(--c-blue); }

/* スマートフォン */
@media (max-width: 767px) {
  .lsIntro { flex-direction: column-reverse; gap: 30px; }
  .lsIntroImg { width: 92%; align-self: flex-start; }
  .lsIntroImg::before { right: -12px; bottom: -12px; }
  .lsLead { font-size: 1.15em; }
  .lsCheck { padding: 44px 16px 24px; margin-top: 56px; border-radius: 18px; }
  .lsCheckTtl { font-size: 1em; padding: 8px 22px; }
  #mainContent .lsCheck ul { grid-template-columns: 1fr; gap: 10px; }
  #mainContent .lsCheck li { padding: 12px 14px 12px 46px; }
  #mainContent .lsCheck li::before { left: 13px; font-size: 24px; }
  .lsCards { grid-template-columns: 1fr; gap: 20px; }
  .lsBand { border-radius: 24px; padding: 40px 14px; }
  .lsFeature { padding: 36px 18px 24px; margin-top: 40px; border-radius: 18px; }
  .lsFeatureRow, .lsFeature:nth-of-type(even) .lsFeatureRow { flex-direction: column; gap: 22px; }
  .lsFeatureImg { width: 100%; }
  .lsNum, .lsFeature:nth-of-type(even) .lsNum { width: 66px; height: 66px; top: -22px; left: -8px; right: auto; }
  .lsNum b { font-size: 24px; }
  #mainContent .lsFeatureBody h3 { font-size: 1.2em; }
  #mainContent .lsFlow { grid-template-columns: 1fr; gap: 30px; }
  #mainContent .lsFlow > li:not(:last-child)::after { top: auto; right: auto; bottom: -24px; left: 50%; transform: translateX(-50%); border: 12px solid transparent; border-top: 12px solid var(--c-pink); border-bottom: none; }
  .lsFaq dt, .lsFaq dd { padding: 16px 16px 16px 62px; }
  .lsFaq dt::before, .lsFaq dd::before { left: 14px; top: 14px; width: 34px; height: 34px; line-height: 34px; font-size: 16px; }
  .lsTreat, .lsTreat.col2 { grid-template-columns: 1fr; gap: 18px; }
  .lsCta { padding: 44px 18px 36px; border-radius: 22px; }
  #mainContent .lsCtaTtl { font-size: 1.35em; }
  #mainContent .lsCtaBtns a { min-width: 0; width: 100%; }
  .lsCtaHours { padding: 12px 14px; font-size: 0.9em; }
  .lsRelated { grid-template-columns: 1fr; gap: 14px; }
  .lsRelatedItem img { width: 84px; height: 64px; }
}

/* ---- AGA・ED ページ用（2026-11-30） ---- */
#mainContent .lsFlow.lsFlow3 { grid-template-columns: repeat(3, 1fr); }
.lsSubTtl { margin: 0 0 16px; padding-left: 14px; border-left: 5px solid var(--c-pink); font-weight: 700; font-size: 1.12em; color: var(--c-blue-strong); }
.lsFlow + .lsSubTtl { margin-top: 40px; }
.lsFlow + .tblA { margin-top: 36px; }
.lsRisk { margin: 28px 0; padding: 26px 30px 20px; background: #fff; border: 2px solid var(--c-blue-light); border-radius: 18px; }
.lsRisk.lsRiskPink { border-color: #ffd3dc; background: #fffafb; }
#mainContent .lsRisk h3 { margin: 0 0 14px; font-size: 1.12em; font-weight: 700; line-height: 1.5; color: var(--c-blue-strong); }
.lsRisk.lsRiskPink h3 { color: var(--c-pink-strong) !important; }
.lsRisk ul.listDot { margin-bottom: 0; }
.lsIntro .lsTags a { color: inherit; text-decoration: none; }
@media (max-width: 767px) {
  #mainContent .lsFlow.lsFlow3 { grid-template-columns: 1fr; }
  .lsRisk { padding: 20px 18px 14px; }
}

/* 処方の流れ：来院とオンラインを枠で分ける（2026-11-30） */
.lsFlowBox { position: relative; margin: 0 0 36px; padding: 52px 32px 32px; background: #fff; border: 3px solid var(--c-blue); border-radius: 24px; }
.lsFlowBoxTtl { position: absolute; top: -20px; left: 28px; margin: 0; padding: 8px 26px; border-radius: 999px; background: var(--c-blue); color: #fff; font-weight: 700; font-size: 1.1em; line-height: 1.4; }
.lsFlowBoxTtl small { margin-right: 10px; font-family: var(--ff-en); font-size: 0.75em; letter-spacing: 0.1em; opacity: 0.9; }
#mainContent .lsFlowBox .lsFlow > li { border-color: var(--c-blue-light); background: #f7fcff; }
#mainContent .lsFlowBox .lsFlow > li .lsFlowNum { background: var(--c-blue); }
#mainContent .lsFlowBox .lsFlow > li:not(:last-child)::after { border-left-color: var(--c-blue); }
.lsFlowBoxOnline { border-color: var(--c-pink); background: #fffafb; }
.lsFlowBoxOnline .lsFlowBoxTtl { background: var(--c-pink-strong); }
#mainContent .lsFlowBoxOnline .lsFlow > li { border-color: #ffd3dc; background: #fff; }
#mainContent .lsFlowBoxOnline .lsFlow > li .lsFlowNum { background: var(--c-pink-strong); }
#mainContent .lsFlowBoxOnline .lsFlow > li:not(:last-child)::after { border-left-color: var(--c-pink-strong); }
.lsFlowBox + .lsFlowBox { margin-top: 56px; }
.lsFlowTxt a { color: var(--c-blue-strong); text-decoration: underline; font-weight: 700; }
@media (max-width: 767px) {
  .lsFlowBox { padding: 44px 14px 20px; border-radius: 18px; }
  .lsFlowBoxTtl { left: 14px; padding: 6px 18px; font-size: 1em; }
  #mainContent .lsFlowBox .lsFlow > li:not(:last-child)::after { border-left-color: transparent; border-top-color: var(--c-blue); }
  #mainContent .lsFlowBoxOnline .lsFlow > li:not(:last-child)::after { border-left-color: transparent; border-top-color: var(--c-pink-strong); }
}
.hA + .lsFlowBox { margin-top: 44px; }
