.h2-ttl {
  font-weight: bold;
}

.lv-treatment {
  margin-bottom: 0 !important;
}

.lv-treatment .lv-title {
  color: #fff;
  font-size: 1.428571429rem;
  text-shadow: 0 0 8px rgba(0, 0, 0, 0.15)
}

.treatment_time_box {
  padding: 30px 20px;
}

.wave-block {
  padding-bottom: 0;
}

:root {
  --treatment-theme-color: #03a9f4;
  /* Default to whitening blue */
}

/* Page specific theme overrides */
body.page-general {
  --treatment-theme-color: #7cb342;
}

/* Natural Green */
body.page-pediatric {
  --treatment-theme-color: #fdd835;
}

/* Yellow */
body.page-preventive {
  --treatment-theme-color: #00bcd4;
}

/* Cyan */
body.page-cosmetic {
  --treatment-theme-color: #e91e63;
}

/* Pink */
body.page-implant {
  --treatment-theme-color: #5d4037;
}

/* Brown */
body.page-denture {
  --treatment-theme-color: #8d6e63;
}

/* Light Brown */
body.page-oral-surgery {
  --treatment-theme-color: #546e7a;
}

/* Blue Grey */
body.page-home-visit {
  --treatment-theme-color: #ff7043;
}

/* Deep Orange */
body.page-root-canal {
  --treatment-theme-color: #7e57c2;
}

/* Deep Purple */
body.page-periodontal {
  --treatment-theme-color: #26a69a;
}

/* Teal */


.lv.lv-whitening .lv-inner {
  background: url(../images/lv/lv-whitening.png) no-repeat top center/110%;
  box-sizing: border-box;
}

.lv.lv-general .lv-inner {
  background: url(../images/lv/lv-general.png) no-repeat top center/110%;
  box-sizing: border-box;
}

.lv.lv-pediatric .lv-inner {
  background: url(../images/lv/lv-pediatric.png) no-repeat top center/100%;
  box-sizing: border-box;
}

.lv.lv-preventive .lv-inner {
  background: url(../images/lv/lv-preventive.png) no-repeat top center/120%;
  box-sizing: border-box;
}

.lv.lv-cosmetic .lv-inner {
  background: url(../images/lv/lv-cosmetic.png) no-repeat top center/110%;
  box-sizing: border-box;
}

.lv.lv-implant .lv-inner {
  background: url(../images/lv/lv-implant.png) no-repeat top center/100%;
  box-sizing: border-box;
}

.lv.lv-denture .lv-inner {
  background: url(../images/lv/lv-denture.png) no-repeat top center/100%;
  box-sizing: border-box;
}

.lv.lv-oral-surgery .lv-inner {
  background: url(../images/lv/lv-oral-surgery.png) no-repeat top center/120%;
  box-sizing: border-box;
}

.lv.lv-home-visit .lv-inner {
  background: url(../images/lv/lv-home-visit.png) no-repeat top center/100%;
  box-sizing: border-box;
}

.lv.lv-root-canal .lv-inner {
  background: url(../images/lv/lv-root-canal.png) no-repeat top center/120%;
  box-sizing: border-box;
}

.lv.lv-periodontal .lv-inner {
  background: url(../images/lv/lv-periodontal.png) no-repeat top center/110%;
  box-sizing: border-box;
}

.lv.lv-surgey .lv-inner {
  background: url(../images/lv/lv-surgey.png) no-repeat top center/110%;
  box-sizing: border-box;
}

.treatment-icon {
  text-align: center;
  margin-bottom: 20px;
}

.treatment-icon img {
  width: 100px !important;
  height: 100px !important;
  object-fit: contain !important;
  border-radius: 50% !important;
  background-color: #fff !important;
  padding: 10px !important;
  box-shadow: 0 4px 10px rgba(0, 0, 0, 0.1) !important;
  box-sizing: border-box !important;
}

.treatment_time_box .txt18 {
  margin-bottom: 20px !important;
}

.treatment_time_box .txt18:last-child {
  margin-bottom: 0 !important;
}

.treatment-icon {
  text-align: center;
  margin-bottom: 15px;
}

.treatment-icon img {
  width: 80px !important;
  height: 80px !important;
  object-fit: contain !important;
  border-radius: 50% !important;
  background-color: #fff !important;
  padding: 8px !important;
  box-shadow: 0 4px 8px rgba(0, 0, 0, 0.1) !important;
  box-sizing: border-box !important;
}

/* --- Added Mobile Styles --- */

/* Utility classes */
.u-mt-20 {
  margin-top: 20px !important;
}

.u-mt-40 {
  margin-top: 30px !important;
  /* Smaller on SP */
}

.u-mb-10 {
  margin-bottom: 10px !important;
}

.u-mb-20 {
  margin-bottom: 15px !important;
}

.u-mb-30 {
  margin-bottom: 20px !important;
}

.u-mb-40 {
  margin-bottom: 30px !important;
}

.f-14 {
  font-size: 1.2rem !important;
}

.f-18 {
  font-size: 1.5rem !important;
}

/* Feature List */
.feature-list {
  display: flex;
  flex-direction: column;
  gap: 20px;
}

.feature-item {
  background: #fff;
  padding: 20px;
  border-radius: 10px;
  box-shadow: 0 3px 10px rgba(0, 0, 0, 0.05);
  border: 1px solid #edf2f7;
  position: relative;
  overflow: hidden;
}

.feature-item::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 4px;
  background-color: var(--treatment-theme-color);
}

.feature-title {
  font-size: 1.6rem;
  color: var(--treatment-theme-color);
  margin-bottom: 10px;
  font-weight: bold;
}

/* Comparison Table (Mobile) */
.scroll-table {
  overflow-x: auto;
  width: 100%;
  -webkit-overflow-scrolling: touch;
  margin-bottom: 20px;
}

.comparison-table {
  width: 100%;
  border-collapse: collapse;
  min-width: 600px;
  /* Force scroll */
}

.comparison-table th,
.comparison-table td {
  border: 1px solid #ddd;
  padding: 10px;
  vertical-align: middle;
  font-size: 1.4rem;
}

.comparison-table th {
  background-color: #f0f8ff;
  color: #333;
  font-weight: bold;
  text-align: center;
  white-space: nowrap;
}

.comparison-table td strong {
  color: #e57373;
  font-weight: bold;
}

/* Whitening Flow */
.flow-list {
  list-style: none;
  padding: 0;
  margin: 0;
}

.flow-item {
  display: flex;
  flex-direction: row;
  margin-bottom: 40px;
  align-items: flex-start;
  gap: 30px;
}

.flow-item:last-child {
  margin-bottom: 0;
}

.flow-img {
  flex: 0 0 300px;
  margin: 0;
}

.flow-img img {
  width: 100%;
  height: auto;
  border-radius: 10px;
}

.flow-content {
  flex: 1;
}

.flow-title {
  font-size: 1.285714286rem ;
  font-weight: bold;
  margin-bottom: 15px;
  color: #5D749F;
  border-bottom: 2px solid #5D749F;
  /* Theme color underline */
  padding-bottom: 10px;
}

/* .flow-step */
.flow-step {
  color: #5D749F;
  /* Theme Color */
  font-size: 1.2rem;
  margin-right: 10px;
  font-family: 'Zen Maru Gothic', sans-serif;
}

@media all and (max-width: 768px) {
  .flow-item {
    flex-direction: column;
    gap: 15px;
  }

  .flow-img {
    flex: 0 0 auto;
    width: 100%;
  }
}

/* Advanced Section */
.advanced-section {
  background-color: #fbfbfb;
  padding: 20px;
  border-radius: 15px;
}

.advanced-item {
  margin-bottom: 40px;
}

.advanced-head {
  display: block;
  /* Stack on mobile */
  margin-bottom: 20px;
}

.advanced-head h3 {
  font-size: 1.6rem;
  color: var(--color_blue);
  font-weight: bold;
  margin-bottom: 15px;
  line-height: 1.4;
}

.advanced-img {
  width: 100%;
  margin: 0;
}

.advanced-img img {
  width: 100%;
  height: auto;
  border-radius: 8px;
}

.advanced-list {
  padding-left: 0;
  list-style: none;
}

.advanced-list li {
  margin-bottom: 20px;
  line-height: 1.8;
  position: relative;
  padding-left: 1.5em;
  list-style: none;
}

.advanced-list li:last-child {
  margin-bottom: 0;
}

.advanced-list li::before {
  content: '⚪︎';
  position: absolute;
  left: 0;
  top: 0px;
  color: #5D749F;
  font-weight: bold;
}

.advanced-list li h4 {
  color: #5D749F;
  font-weight: bold;
  margin-bottom: 5px;
  line-height: 1.2;
  font-size: 1.2rem;
}

.advanced-list li strong {
  color: var(--color_blue);
}

/* Prevention Box */
.prevention-box dl {
  background: #fff;
  padding: 15px;
  border-radius: 10px;
  box-shadow: 0 2px 5px rgba(0, 0, 0, 0.05);
}

.prevention-box dt {
  color: var(--treatment-theme-color);
  font-weight: bold;
  display: inline-block;
  border-bottom: 2px solid var(--treatment-theme-color);
  padding-bottom: 2px;
  font-size: 1.5rem;
}

/* =========================================
   COSMETIC DENTISTRY SPECIFIC STYLES
   ========================================= */

/* Feature List (Cosmetic) */
.cosmetic-features {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 15px;
  margin-top: 40px;
}

.cosmetic-feature-item {
  flex: 0 0 calc(100% - 0px);
  /* 2 column on PC */
  background: #fff;
  border-radius: 15px;
  padding: 20px;
  box-shadow: 0 5px 15px rgba(0, 0, 0, 0.05);
  border: 1px solid #edf2f7;
  box-sizing: border-box;
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
}

.cosmetic-feature-header {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  margin-bottom: 20px;
  width: 100%;
}

.cosmetic-feature-num {
  background-color: var(--treatment-theme-color);
  color: #fff;
  width: 36px;
  height: 36px;
  line-height: 36px;
  border-radius: 50%;
  font-size: 1.2rem;
  font-weight: bold;
  flex-shrink: 0;
}

.cosmetic-feature-title {
  font-size: 1.3rem;
  color: var(--treatment-theme-color);
  font-weight: bold;
  margin: 0;
  text-align: left;
}

.cosmetic-feature-desc {
  font-size: 1.0rem;
  line-height: 1.8;
  text-align: left;
  width: 100%;
}

/* Habits List */
.habits-list {
  display: flex;
  flex-direction: column;
  gap: 40px;
}

.habit-item {
  display: block;
  /* Stack */
  background: transparent;
  padding: 0;
  border: none;
}

.habit-img {
  width: 100%;
  margin: 0 0 20px 0;
}

.habit-img img {
  width: 100%;
  height: auto;
  border-radius: 15px;
}

.habit-title {
  font-size: 1.8rem;
  color: #0d47a1;
  margin-bottom: 5px;
  font-weight: bold;
  text-align: left;
  border: none;
  padding: 0;
}

.habit-item p {
  font-size: 1.4rem;
  line-height: 1.6;
}

.keep-white-box {
  margin-top: 30px;
  padding: 15px;
  background-color: #FDFBF4;
  /* Light yellow background */
  border: 2px solid #fbc02d;
  border-radius: 10px;
}

.keep-white-box:first-child {
  margin-top: 0;
}

.keep-white-title {
  font-size: 1.428571429rem;
  color: #fbc02d;
  text-align: center;
  margin-bottom: 10px;
  font-weight: bold;
}

.keep-white-title.keep-white-titleLeft {
  text-align: left;
}

/* Material Menu (Cosmetic) */
.cosmetic-materials {
  display: flex;
  flex-direction: column;
  gap: 60px;
}

.material-category {
  background: #fff;
  // border-radius: 15px;
  overflow: hidden;
  /* border: 1px solid #ddd; */
  /* Remove generic border, use distinct styling for items */
}

.material-cat-title {
  font-size: 1.8rem;
  color: #333;
  font-weight: bold;
  margin-bottom: 30px;
  text-align: center;
  background: #f4f4f4;
  padding: 15px;
  border-radius: 10px;
}

.material-list {
  display: flex;
  flex-direction: column;
  gap: 20px;
}

.material-item {
  border: 1px solid #D7E1F4;
  border-radius: 10px;
  overflow: hidden;
  background: #fff;
}

.material-header {
  background-color: #D7E1F4;
  display: flex;
  align-items: flex-start;
  padding: 10px 15px;
  border-bottom: 1px solid #D7E1F4;
}

.material-name {
  font-size: 1.285714286rem;
  font-weight: bold;
  color: #5D749F;
  display: flex;
  align-items: center;
  gap: 10px;
  margin-right: 10px;
}

/* .material-name::before {
  content: '';
  display: inline-block;
  width: 8px;
  height: 8px;
  background-color: var(--treatment-theme-color);
  border-radius: 50%;
} */

.material-type {
  background-color: #314874;
  font-size: 0.9rem;
  padding: 3px 15px;
  border-radius: 20px;
  color: #fff;
  margin-top: 5px;
  white-space: nowrap;
  display: inline-block;
  font-weight: bold;
  margin-left: auto;
}

.material-body {
  padding: 20px;
  display: flex;
  flex-wrap: wrap;
  gap: 0px;
  align-items: flex-start;
}

.material-desc {
  width: 100%;
  order: 2;
  font-size: 1.0rem;
  line-height: 1.8;
}

.material-img {
  order: 1;
  width: 100%;
  margin-bottom: 12px;
}

.material-img img {
  width: 100%;
  height: auto;
  border-radius: 8px;
  border: 1px solid #eee;
}

.cosmetic-step-item {
  /* Adjust for mobile spacing */
}

/* Steps Mobile - Stacked Layout */
.cosmetic-step-item {
  grid-template-columns: 1fr;
  gap: 20px;
  position: relative;
  border-bottom: 1px dashed #314874;
  padding-bottom: 20px;
  margin-bottom: 30px;
}

.cosmetic-step-item:last-of-type {
  margin-bottom: 0;
  border-bottom: none;
  padding-bottom: 0;
}

.step-img {
  width: 100%;
  margin-bottom: 10px;
}

.step-img img {
  width: 100%;
  height: auto;
  border-radius: 10px;
  border: 1px solid #eee;
}

.step-number-box {
  position: relative;
  background: linear-gradient(135deg, #314874 0%, #314874 100%);
  color: #fff;
  padding: 5px 25px;
  border-radius: 10px;
  display: inline-block;
}

.step-label {
  font-size: 0.9rem;
  font-weight: 600;
  letter-spacing: 0.05em;
  color: #fff;
}

.step-num {
  font-size: 2rem;
  font-weight: 700;
  margin-right: 5px;
  line-height: 1;
  color: #fff;
}

.step-content {
  padding-top: 10px;
}

.step-title {
  font-size: 1.285714286rem;
  font-weight: 700;
  color: #314874;
  margin-bottom: 10px;
  line-height: 1.5;
}

.step-txt p {
  line-height: 1.8;
  color: #555;
}

/* ツァツァ改修 */

.section {
  position: relative;
  padding: 10px 0 10px;
}

.section.white-type-bg {
  background-color: #fff;
}

.section.gray-type-bg {
  background-color: #f5f4f1;
}

.t-stepbox {
  counter-reset: step;
}

.t-stepbox-list {
  counter-increment: step;
  background-color: #D7E1F4;
  margin-bottom: 40px;
  position: relative;
  padding: 25px;
  border-radius: 10px;
}

.t-stepbox-list:last-child {
  margin-bottom: 0;
}

/* :before に番号を表示 */
.t-stepbox-list::before {
  content: counter(step);
  position: absolute;
  left: 20px;
  top: 0;
  color: rgba(255, 255, 255, 0.3);
  font-size: 7rem;
  font-weight: 900;
  line-height: 1;
}

.t-stepbox-list::after {
  content: '';
  position: absolute;
  left: 50px;
  bottom: -40px;
  height: 40px;
  width: 1px;
  border: 1px dashed #ccc;
}

.t-stepbox-list:last-child::after {
  display: none;
}

.col03-layout-box {
  display: flex;
  flex-wrap: wrap;
  gap: 4%;
  margin-bottom: 40px;
}

.col03-layout-box:last-child {
  margin-bottom: 0;
}

.col03-layout-type {
  width: 48%;
}

.col03-layout-type .thum {
  margin-bottom: 15px;
}

/*merit*/
.t-merit-list {
  border-top: 1px solid #ddd;
}

.t-merit-item {
  display: flex;
  align-items: flex-start;
  padding: 20px 0;
  border-bottom: 1px solid #ddd;
  gap: 20px;
}

/* 左ラベル */
.t-merit-label {
  min-width: 110px;
  padding-left: 12px;
  font-weight: bold;
  line-height: 1.4;
}

.t-merit-label span {
  font-size: 0.9em;
  font-weight: normal;
}

/* 右テキスト */
.t-merit-text {
  line-height: 1.8;
  color: #333;
}

/* メリット */
.is-merit .t-merit-label {
  color: #1e88e5;
  border-left: 4px solid #1e88e5;
  border-right: 4px solid #1e88e5;
}

/* デメリット */
.is-demerit .t-merit-label {
  color: #e53935;
  border-left: 4px solid #e53935;
  border-right: 4px solid #e53935;
}

/* 診療案内 */
.illust-ico-birdr,
.illust-ico-birdl,
.illust-ico-pianor,
.illust-ico-pachil,
.illust-ico-pachir,
.illust-ico-treel,
.illust-ico-bicycler,
.illust-ico-walkr,
.illust-ico-duckr,
.illust-ico-houser,
.illust-ico-sunnyl,
.illust-ico-treewomanr,
.illust-ico-pachildhar,
.illust-ico-rainr,
.illust-ico-womendogr,
.illust-ico-womendogl,
.illust-ico-twowor,
.illust-ico-ameduckr,
.illust-ico-sunnytreer,
.illust-ico-rainbr,
.illust-ico-treebycr {
  position: relative;
}

.illust-ico-birdr:after {
  content: "";
  position: absolute;
  right: -50px;
  top: -80px;
  width: 82px;
  height: 68px;
  background: url(../images/top/top-illust11.png) 0% 0% / 100% no-repeat;
}

.illust-ico-birdl:after {
  content: "";
  position: absolute;
  left: -60px;
  bottom: -90px;
  width: 60px;
  height: 58px;
  background: url(../images/top/top-illust02.png) 0% 0% / 100% no-repeat;
}

.illust-ico-pianor:after {
  content: "";
  position: absolute;
  right: -70px;
  bottom: -130px;
  width: 60px;
  height: 160px;
  z-index: 1;
  background: url(../images/top/top-illust03.png) 0% 0% / 100% no-repeat;
}

.illust-ico-pachil:after {
  content: "";
  position: absolute;
  left: -60px;
  bottom: -30px;
  width: 40px;
  height: 78px;
  background: url(../images/top/top-illust05.png) 0% 0% / 100% no-repeat;
}

.illust-ico-pachir:after {
  content: "";
  position: absolute;
  right: -60px;
  bottom: -30px;
  width: 50px;
  height: 88px;
  background: url(../images/top/top-illust05.png) 0% 0% / 100% no-repeat;
}

.illust-ico-treel:after {
  content: "";
  position: absolute;
  left: -23px;
  bottom: -10px;
  width: 30px;
  height: 78px;
  background: url(../images/top/top-illust17.png) 0% 0% / 100% no-repeat;
}

.illust-ico-bicycler:after {
  content: "";
  position: absolute;
  right: -50px;
  top: -30px;
  width: 60px;
  height: 58px;
  background: url(../images/top/top-illust09.png) 0% 0% / 100% no-repeat;
}

.illust-ico-walkr:after {
  content: "";
  position: absolute;
  right: -40px;
  top: -30px;
  width: 46px;
  height: 78px;
  background: url(../images/top/top-illust07.png) 0% 0% / 100% no-repeat;
}

.illust-ico-duckr:after {
  content: "";
  position: absolute;
  right: -90px;
  top: -40px;
  width: 40px;
  height: 58px;
  background: url(../images/top/top-illust20.png) 0% 0% / 100% no-repeat;
}

.layout_about.mb-20 {
  margin-bottom: 20px;
}

.illust-ico-birdr.preventive-illust01:after {
  right: -40px;
  top: -20px;
  width: 80px;
  height: 68px;
}

.illust-ico-houser:after {
  content: "";
  position: absolute;
  right: -160px;
  top: -50px;
  width: 110px;
  height: 48px;
  background: url(../images/top/top-illust21.png) 0% 0% / 100% no-repeat;
}

.illust-ico-sunnyl:after {
  content: "";
  position: absolute;
  left: -50px;
  top: 0px;
  width: 40px;
  height: 38px;
  background: url(../images/top/top-illust16.png) 0% 0% / 100% no-repeat;
}

.illust-ico-treewomanr:after {
  content: "";
  position: absolute;
  right: -120px;
  top: -60px;
  width: 100px;
  height: 148px;
  background: url(../images/top/top-illust22.png) 0% 0% / 100% no-repeat;
}

.illust-ico-pachildhar:after {
  content: "";
  position: absolute;
  right: -120px;
  top: -60px;
  width: 100px;
  height: 148px;
  background: url(../images/top/top-illust23.png) 0% 0% / 100% no-repeat;
}

.illust-ico-rainr:after {
  content: "";
  position: absolute;
  right: -120px;
  top: -60px;
  width: 100px;
  height: 148px;
  background: url(../images/top/top-illust14.png) 0% 0% / 100% no-repeat;
}

.illust-ico-womendogr:after {
  content: "";
  position: absolute;
  right: -60px;
  top: -30px;
  width: 80px;
  height: 81px;
  background: url(../images/top/top-illust13.png) 0% 0% / 100% no-repeat;
}

.illust-ico-womendogl:after {
  content: "";
  position: absolute;
  left: -160px;
  top: -50px;
  width: 130px;
  height: 148px;
  background: url(../images/top/top-illust13.png) 0% 0% / 100% no-repeat;
}

.illust-ico-twowor:after {
  content: "";
  position: absolute;
  right: -50px;
  top: -40px;
  width: 50px;
  height: 78px;
  background: url(../images/top/top-illust08.png) 0% 0% / 100% no-repeat;
}

.illust-ico-ameduckr:after {
  content: "";
  position: absolute;
  right: -90px;
  top: -30px;
  width: 60px;
  height: 58px;
  background: url(../images/top/top-illust24.png) 0% 0% / 100% no-repeat;
}

.illust-ico-sunnytreer:after {
  content: "";
  position: absolute;
  right: -140px;
  top: -50px;
  width: 120px;
  height: 118px;
  background: url(../images/top/top-illust26.png) 0% 0% / 100% no-repeat;
}

.illust-ico-rainbr:after {
  content: "";
  position: absolute;
  right: -40px;
  top: -40px;
  width: 100px;
  height: 98px;
  background: url(../images/top/top-illust25.png) 0% 0% / 100% no-repeat;
}

.illust-ico-treebycr:after {
  content: "";
  position: absolute;
  right: -140px;
  top: -30px;
  width: 60px;
  height: 77px;
  background: url(../images/top/top-illust27.png) 0% 0% / 100% no-repeat;
}

.ov-hid {
  overflow: hidden;
}

img.fl-r {
  float: right;
  margin-left: 20px;
  margin-bottom: 20px;
  max-width: 45%;
}

img.fl-l {
  float: left;
  margin-right: 20px;
  margin-bottom: 20px;
  max-width: 45%;
}

.price-table01.ve-a-t td {
  vertical-align: top;
}

.col02-layout-type.type02 .thum {
  order: 2;
}

.col02-layout-type.type02 .info {
  order: 1;
  margin-left: 0;
}

.sp-price-table01 {
  min-width: 600px;
  overflow: auto;
}