@charset "UTF-8";
/* 2026-09-11: PowerPoint correction notes; loaded after the original styles. */
body { min-width: 0; font-size: 16px; }
main, #about-container { color: #333; }
#about-container { background: #f1f4f6 !important; }
#cat, #about { font-size: 18px; }
#cat h2, #about h2 { font-size: clamp(24px, 2.4vw, 36px); line-height: 1.5; }
#cat h3 { font-size: clamp(20px, 1.8vw, 26px); line-height: 1.6; }
#about h3 { font-size: clamp(19px, 1.7vw, 25px); line-height: 1.7; margin-top: 22px; }
#about { padding: 36px 0; }
#cat ul#ans > li { width: 32%; max-width: none; padding: 18px; }
#cat ul#ans li ol li { font-size: 16px; line-height: 1.8; }
footer { font-size: 14px; line-height: 1.8; }
.google-maps iframe { margin: 0 !important; width: 100% !important; max-width: 100% !important; }

/* Plain opaque panels: no clinic photograph behind treatment text. */
.treatment-page main {
  background: #fff;
  width: 100%;
  margin: 0 auto !important;
  font-size: 18px;
  line-height: 1.85;
  overflow: visible;
}
.treatment-page article { width: 100%; overflow: visible; }
.treatment-page .pan, .treatment-page .g-box {
  width: calc(100% - 48px);
  max-width: 1120px;
}
.treatment-page .pan { margin: 18px auto !important; font-size: 14px; }
.treatment-page .g-box {
  margin: 0 auto 28px !important;
  padding: 32px 48px;
  background: #f0f2f4;
}
.g-box h2 { font-size: clamp(24px, 2.2vw, 32px); line-height: 1.5; margin-bottom: 18px; overflow-wrap: anywhere; }
.g-box h4.re { font-size: 20px; line-height: 1.7; }
.g-box h5 { font-size: clamp(21px, 1.9vw, 27px); padding: 12px 16px; margin: 28px 0 20px; line-height: 1.6; }
.g-box h3.re, .g-box h3.bl { font-size: 27px; line-height: 1.5; }
.type1-1 > p, .type2-1-1 > p, .type2-3 > p, .type2-5 > p { text-align: left; margin: 12px 0; }
.intro-figure { text-align: center; margin: 16px auto; }
.intro-figure > img { width: auto; max-width: 100%; height: auto; display: block; margin: 0 auto; }
.intro-figure > img[src$="type1.jpg"] { width: 560px; }
.intro-figure > img[src$="type2.png"] { width: 360px; }
.intro-figure > img[src$="type3.png"] { width: 290px; }
.g-box img { height: auto; max-height: none; object-fit: contain; vertical-align: middle; }
.type3-1-1 { width: 100%; }
.type3-1-2 h4 { margin: 20px 0 12px; font-size: 20px; text-align: left; }
.type2-1-2 { margin: 20px 0; padding: 20px; }
.type2-1-2 p { text-align: left; }

/* Grid widths follow the content box, with modest fixed padding. */
.flexbox2-white, .flexbox3-white, .flexbox2-merit-demerit,
.flexbox3-case, .flexbox2-case { display: grid; gap: 20px; align-items: start; margin: 20px 0; }
.flexbox2-white, .flexbox2-merit-demerit, .flexbox2-case { grid-template-columns: repeat(2, minmax(0, 1fr)); }
.flexbox3-white, .flexbox3-case { grid-template-columns: repeat(3, minmax(0, 1fr)); }
.flexbox2-white:after, .flexbox3-white:after, .flexbox2-merit-demerit:after,
.flexbox3-case:after, .flexbox2-case:after { display: none; }
.flexbox2-white .box, .flexbox3-white .box,
.flexbox2-merit-demerit .box-merit, .flexbox2-merit-demerit .box-demerit,
.flexbox3-case .box, .flexbox2-case .box {
  width: 100%; max-width: none; min-width: 0; margin: 0; padding: 20px;
  font-size: inherit !important; overflow: visible;
}
.flexbox2-white, .flexbox3-white, .flexbox2-merit-demerit { align-items: stretch; }
.flexbox2-merit-demerit .box-merit, .flexbox2-merit-demerit .box-demerit { background-image: none; }
.benefit-heading { font-size: 22px; font-weight: 600; color: #324860; margin: 0 0 10px; }
.flexbox3-white .box > img { width: 100%; max-width: 340px; }
.flexbox3-case .box, .flexbox2-case .box { padding: 0; }
.flexbox3-case .box img, .flexbox2-case .box img { width: 100%; margin: 0 auto 10px; }
.flexbox3-case .box p, .flexbox2-case .box p { font-size: 17px; line-height: 1.75; }

/* Real bullets maintain a shared left edge and a hanging indent. */
ul.li-dot, ul.li-dot-no { display: block; margin: 14px 0 0; padding-left: 1.35em; list-style: disc; text-align: left; }
ul.li-dot li, ul.li-dot li.txt-c, ul.li-dot-no li {
  display: list-item; list-style: disc; overflow: visible; background: none;
  padding: 0 0 0 .15em; margin: 7px 0; text-align: left;
}
ul.li-re, ul.li-bl, ul.li-re-big { width: auto; max-width: none; margin: 14px 0 0; }
ul.li-re li, ul.li-bl li, ul.li-re-big li {
  position: relative; padding: 0 0 0 1.55em; margin: 8px 0;
  background: none; font-size: inherit; text-align: left;
}
ul.li-re li:before, ul.li-bl li:before, ul.li-re-big li:before {
  content: "✓"; position: absolute; left: 0; top: 0; color: #b22d00; font-weight: 700;
}
ul.li-bl li:before { color: #2556a2; }
.point { margin: 20px 0; }
.point h4 { margin-bottom: 8px; }
.center-box img { margin: 0 auto; }
.case { padding: 24px 0; }
.type1-4 h3 { font-size: 25px; margin-bottom: 12px; }
.type1-4 h4 { font-size: 21px; margin: 16px 0 8px; }
.case p { overflow-wrap: anywhere; }

/* Use intrinsic image proportions; never force a fixed image height. */
.clinical-figure { width: min(100%, var(--figure-width)); margin: 20px auto; text-align: left; }
.figure-scroll { max-width: 100%; overflow-x: auto; overscroll-behavior-x: contain; -webkit-overflow-scrolling: touch; }
.figure-scroll > img { display: block; width: 100%; max-width: none; height: auto; margin: 0; padding: 0; }
.clinical-figure figcaption { display: none; }
.figure-scroll:focus-visible { outline: 2px solid #2556a2; outline-offset: 3px; }
.type1-4 .clinical-figure { margin-inline: auto; }
.type2-4 {
  display: grid; grid-template-columns: 210px minmax(0, 1fr); gap: 24px;
  align-items: start; padding: 20px 0; border-bottom: 1px solid #d5dce1; overflow: visible;
}
.type2-4 > img { float: none; width: 210px; max-width: 100%; height: auto; padding: 0; }
.type2-4 .step-copy { min-width: 0; }
.type2-4 h3 { margin: 0 0 8px; font-size: 28px; line-height: 1.4; }
.type2-4 ul { margin-top: 8px; }
.price h3 { margin: 24px 0 12px; font-size: 23px; line-height: 1.5; }
.res-table { max-width: none; margin-bottom: 0; font-size: 17px; line-height: 1.7; }
.res-table th, .res-table td { padding: 14px 16px; overflow-wrap: anywhere; vertical-align: middle; }
.res-table th { width: 55%; background: #dce2e7; }
.res-table td { background: #fff; }

/* 2026-09-11 revision 2: content-specific widths and balanced desktop alignment. */
/* Center the text group; retain left alignment inside multi-line explanations. */
.intro-section .type1-1 > p,
.intro-section .type2-1-1 > p {
  width: fit-content;
  max-width: 100%;
  margin: 18px auto 24px;
  text-align: left;
}
.intro-section .intro-list {
  width: fit-content;
  max-width: 100%;
  margin: 18px auto 8px;
}
.intro-section .intro-figure { margin: 16px auto 20px; }
.page-type1 .intro-figure > img[src$="type1.jpg"] { width: 520px; }

/* Compact paired cards, with room between the text and the card edge. */
.flexbox2-white {
  width: 100%;
  max-width: 860px;
  margin: 24px auto 8px;
  gap: 24px;
}
.page-type1 .intro-section .flexbox2-white { max-width: 720px; }
.flexbox2-white .box { padding: 26px 32px; }
.flexbox2-white .box h3 { margin-bottom: 14px; }
.flexbox2-white ul { margin-top: 0; }
.page-type2 .type1-1 > ul.li-dot { max-width: 860px; margin: 20px auto 0; }
.page-type1 ul.li-re-big { width: fit-content; max-width: 100%; margin: 18px auto 24px; }

/* A centered reading column for longer explanatory paragraphs. */
.page-type1 .type1-1 > p { width: fit-content; max-width: 100%; margin: 16px auto 20px; text-align: left; }
.point {
  width: 100%;
  max-width: 900px;
  margin: 20px auto;
  padding: 24px 28px;
  background: #fff;
}
.point h4 { margin-bottom: 12px; }
.flexbox2-merit-demerit { width: 100%; max-width: 960px; margin: 20px auto; gap: 24px; }
.flexbox2-merit-demerit .box-merit,
.flexbox2-merit-demerit .box-demerit { padding: 26px 32px; }
.benefit-heading { line-height: 1.6; margin-bottom: 14px; }

/* Match the case title, full-width comparison and fee description in one column. */
.page-type1 .case { width: 100%; max-width: 840px; margin: 0 auto; padding: 28px 0; }
.page-type1 .case .clinical-figure { width: 100%; margin: 18px auto; }
.page-type1 .case h3 { margin-bottom: 14px; }
.page-type1 .case h4 { margin-top: 20px; }
.page-type1 .case p { line-height: 1.85; }

/* Prices stay close to their corresponding treatment labels. */
.price { width: 100%; max-width: 780px; margin: 28px auto 0; }
.price h3 { margin: 0 0 14px; }
.res-table { width: 100%; table-layout: fixed; }
.res-table th { width: 56%; }
.res-table th, .res-table td { padding: 14px 20px; }

/* Apply the same visual center to the other treatment pages. */
.type2-1-2 { max-width: 900px; margin: 24px auto; padding: 24px 28px; }
.type2-1-2 p { width: fit-content; max-width: 100%; margin: 0 auto 18px; }
.type2-3 > p, .type2-5 > p { width: fit-content; max-width: min(100%, 900px); margin: 16px auto; text-align: left; }
.type2-3 > p { max-width: 100%; }
.type3-1-1 > ul.li-dot { width: fit-content; max-width: 100%; margin: 18px auto; }
.type3-1-2 h4 { width: fit-content; max-width: 100%; margin: 24px auto 14px; }
.type2-4 { max-width: 900px; margin: 0 auto; gap: 32px; }
.flexbox3-case, .flexbox2-case { max-width: 960px; margin: 20px auto; gap: 28px; }

@media (max-width: 1000px) {
  body { padding-bottom: 100px !important; }
  #cat ul#ans > li { width: 100%; max-width: 620px; }
}
@media (max-width: 840px) {
  .flexbox3-white { grid-template-columns: 1fr; }
  .flexbox3-case { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}
@media (max-width: 767px) {
  /* Retain the original root rem scale used by the image navigation. */
  #header h1 .h1 { max-width: calc(100% - 68px); margin: 8px; }
  .spmenu { width: 40px; height: 40px; right: 12px; top: 16px; }
  #sp_drw { padding: 20px; }
  #sp_drw .sp_nav dt img { width: 250px; max-width: calc(100% - 55px); }
  #sp_drw .sp_nav dt span { font-size: 14px; line-height: 1.6; }
  #sp_drw .sp_nav dd ul li { font-size: 18px; line-height: 1.5; }
  #sp_drw p { font-size: 12px; }
  #ftnav { padding: 10px 8px calc(10px + env(safe-area-inset-bottom)) !important; }
  #ftnav ul li a { padding: 16px 5px; border-radius: 5px; }
  #cat, #about { font-size: 16px; }
  #cat { width: calc(100% - 28px); padding: 24px 0; }
  #cat > ul { width: 100%; gap: 12px; flex-direction: column; align-items: center; }
  #cat > ul > li { float: none; width: 100%; text-align: center; }
  #cat > ul > li > a > img { width: 100%; max-width: 360px; }
  #cat ul#ans { width: 100%; }
  #cat ul#ans > li { padding: 18px; text-align: left; }
  #cat h3 { margin: 20px 0; }
  #about { width: calc(100% - 28px) !important; padding: 28px 0; }
  #important { display: inline-block; vertical-align: middle; margin-left: 6px; padding: 1px 7px; font-size: 13px; }
  .treatment-page main { font-size: 16px; line-height: 1.85; }
  .treatment-page .pan, .treatment-page .g-box { width: calc(100% - 24px); }
  .treatment-page .pan { margin: 12px auto !important; }
  .treatment-page .g-box { padding: 22px 16px; margin-bottom: 20px !important; }
  .g-box h2 { font-size: 23px; margin-bottom: 16px; }
  .g-box h4.re { font-size: 18px; text-align: left; }
  .g-box h5 { font-size: 21px; margin: 24px 0 16px; }
  .g-box h3.re, .g-box h3.bl { font-size: 24px; }
  .g-box br.sp { display: none; }
  .g-box br.pc { display: none; }
  .flexbox2-white, .flexbox2-merit-demerit, .flexbox3-case, .flexbox2-case { grid-template-columns: 1fr; gap: 20px; }
  .flexbox2-white .box, .flexbox3-white .box,
  .flexbox2-merit-demerit .box-merit, .flexbox2-merit-demerit .box-demerit { padding: 16px; }
  .flexbox3-case .box, .flexbox2-case .box { max-width: 520px; margin-inline: auto; }
  .type2-1-2 { padding: 16px; }
  .type3-1-2 h4 { font-size: 18px; }
  .type2-4 { grid-template-columns: 1fr; gap: 14px; padding: 22px 0; }
  .type2-4 > img { width: 210px; margin-inline: auto; }
  .type2-4 h3 { font-size: 25px; }
  .type1-4 h3 { font-size: 23px; }
  .type1-4 h4, .price h3 { font-size: 20px; }
  .res-table { font-size: 16px; }
  .res-table th, .res-table td { padding: 12px 10px; }
  .res-table th { width: 49%; }
}
@media (max-width: 640px) {
  .figure-scroll > img { min-width: 600px; }
  .clinical-figure figcaption { display: block; margin-top: 8px; font-size: 14px; color: #4b5661; line-height: 1.6; }
}

@media (min-width: 768px) and (max-width: 1024px) {
  .treatment-page .g-box { padding-inline: 32px; }
  .flexbox2-white .box,
  .flexbox2-merit-demerit .box-merit,
  .flexbox2-merit-demerit .box-demerit { padding: 22px 24px; }
}
@media (max-width: 767px) {
  .intro-section .type1-1 > p,
  .intro-section .type2-1-1 > p,
  .page-type1 .type1-1 > p,
  .type2-3 > p, .type2-5 > p { width: 100%; max-width: 100%; margin: 16px auto; }
  .point { padding: 20px; margin: 16px auto; }
  .flexbox2-white, .flexbox2-merit-demerit { margin: 20px auto; }
  .flexbox2-white .box,
  .flexbox2-merit-demerit .box-merit,
  .flexbox2-merit-demerit .box-demerit { padding: 20px; }
  .type2-1-2 { padding: 18px; }
  .type2-4 { gap: 14px; }
  .price { margin-top: 24px; }
  .res-table th { width: 49%; }
  .res-table th, .res-table td { padding: 12px 10px; }
  .page-type1 .case { padding: 24px 0; }
}
