/* ========================================
   Menu Page Styles
   ======================================== */

/* ----------------------------------------
   Category Section
   ---------------------------------------- */
.l-section--menu-category {
  padding: 45px 0;
  background-color: #fff;
}

.l-menu-categories {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 15px;
  margin-bottom: 20px;
}

.c-menu-category-btn {
  font-family: 'Shippori Mincho', serif;
  font-size: 24px;
  font-weight: 500;
  color: #fff;
  background-color: #2a9cae;
  border: none;
  padding: 15px;
  width: 100%;
  height: 67px;
  cursor: pointer;
  transition: background-color 0.3s;
  letter-spacing: 2.4px;
  box-sizing: border-box;
  text-align: center;
  text-decoration: none;
  display: flex;
  align-items: center;
  justify-content: center;
}

.c-menu-category-btn:hover {
  background-color: #238a9a;
}

.c-menu-category-btn--active {
  background-color: #2a9cae;
}

.l-menu-subcategories {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 15px;
}

.c-menu-subcategory-btn {
  font-family: 'Shippori Mincho', serif;
  font-size: 15px;
  font-weight: 500;
  color: #333;
  background-color: #f2f9fb;
  border: none;
  padding: 20px;
  width: 100%;
  height: 65px;
  border-radius: 27px;
  cursor: pointer;
  transition: background-color 0.3s, color 0.3s;
  letter-spacing: 1.5px;
  box-sizing: border-box;
  display: flex;
  align-items: center;
  justify-content: center;
  text-align: center;
  text-decoration: none;
}

.c-menu-subcategory-btn:hover {
  background-color: #e6f4f7;
}

.c-menu-subcategory-btn--active {
  color: #333;
  background-color: #f2f9fb;
}

/* ----------------------------------------
   Menu Grid Section
   ---------------------------------------- */
.l-section--menu-grid {
  padding: 110px 0 70px;
  background-color: #fff;
}

.l-menu-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 40px 13px;
  margin-bottom: 0;
}

.c-menu-item {
  background-color: #f9f8f5;
  display: flex;
  flex-direction: column;
  align-items: center;
  padding-bottom: 20px;
  width: 100%;
  max-width: 280px;
  margin: 0 auto;
}

.c-menu-item__image {
  width: 100%;
  height: 180px;
  overflow: hidden;
  display: flex;
  align-items: center;
  justify-content: center;
}

.c-menu-item__img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}

.c-menu-item__title {
  font-family: 'Noto Sans JP', sans-serif;
  font-size: 18px;
  font-weight: 700;
  color: var(--col-main);
  text-align: center;
  margin: 20px 0 30px 0;
  letter-spacing: 1.8px;
  line-height: 28px;
  min-height: 40px;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 0 10px;
}

.c-btn--menu-detail {
  background-color: #fff;
  color: #333;
  border: 1px solid var(--col-main);
  border-radius: 4px;
  font-family: 'Noto Sans JP', sans-serif;
  font-size: 14px;
  font-weight: 400;
  letter-spacing: 1.4px;
  padding: 10px 40px;
  margin-top: auto;
  display: inline-flex;
  align-items: center;
  gap: 8px;
  max-width: 228px;
  width: 90%;
  height: 50px;
  justify-content: center;
  transition: background-color 0.3s, transform 0.3s;
  text-decoration: none;
}

.c-btn--menu-detail:hover {
  background-color: #f8f9fa;
  transform: translateY(-2px);
  box-shadow: 0 4px 8px rgba(84, 183, 198, 0.3);
}

.c-btn--menu-detail .c-btn__arrow {
  border-top-color: #333;
  border-right-color: #333;
}

/* ----------------------------------------
   Responsive
   ---------------------------------------- */
@media (max-width: 1200px) {
  .l-menu-grid {
    grid-template-columns: repeat(3, 1fr);
    gap: 40px 20px;
  }
}

@media (max-width: 1200px) {
  .l-menu-categories {
    grid-template-columns: repeat(2, 1fr);
    gap: 20px;
  }

  .l-menu-subcategories {
    grid-template-columns: repeat(2, 1fr);
    gap: 20px;
  }

  .c-menu-category-btn {
    font-size: 20px;
    padding: 18px 30px;
  }

  .c-menu-subcategory-btn {
    font-size: 14px;
    padding: 18px 25px;
  }
}

@media (max-width: 768px) {
  .l-section--menu-category {
    padding: 40px 0;
  }

  .l-menu-categories {
    grid-template-columns: repeat(2, 1fr);
    gap: 15px;
  }

  .c-menu-category-btn {
    min-width: auto;
    font-size: 18px;
    padding: 15px 30px;
    height: 60px;
  }

  .l-menu-subcategories {
    grid-template-columns: repeat(2, 1fr);
    gap: 15px;
  }

  .c-menu-subcategory-btn {
    min-width: auto;
    font-size: 14px;
    padding: 15px 25px;
    height: 55px;
  }

  .l-menu-grid {
    grid-template-columns: repeat(2, 1fr);
    gap: 30px 15px;
  }

  .c-menu-item__image {
    height: 160px;
  }
}

@media (max-width: 480px) {
  .l-menu-grid {
    grid-template-columns: 1fr;
    gap: 30px;
  }

  .l-menu-categories {
    grid-template-columns: 1fr;
    gap: 15px;
  }

  .c-menu-category-btn {
    width: 100%;
    min-width: auto;
  }

  .l-menu-subcategories {
    grid-template-columns: 1fr;
    gap: 15px;
  }

  .c-menu-subcategory-btn {
    width: 100%;
    min-width: auto;
  }
}

/* ========================================
   Treatment Detail Page Styles
   ======================================== */

/* ----------------------------------------
   Treatment Hero Section
   ---------------------------------------- */
.l-treatment-hero {
  overflow: visible;
  display: flex;
  align-items: center;
  background: url(../images/low-hero.jpg) no-repeat center/cover;
  padding: 70px 0 234px;
  position: relative;
}

.l-treatment-hero__content {
  position: relative;
  z-index: 2;
  text-align: center;
  width: 100%;
}

.c-heading--treatment-hero {
  font-family: 'Shippori Mincho', serif;
  font-size: 40px;
  font-weight: 500;
  color: var(--col-main);
  letter-spacing: 4px;
  margin: 0 0 20px 0;
}

.c-heading--treatment-hero__underline {
  width: 100%;
  max-width: 304px;
  height: 1px;
  background-color: #A6E0ED;
  margin: 0 auto 40px;
}

.c-text--treatment-hero {
  font-family: 'Noto Sans JP', sans-serif;
  font-size: 16px;
  font-weight: 400;
  line-height: 40px;
  letter-spacing: 1.6px;
  color: #333;
  text-align: center;
  margin: 0;
}

/* ----------------------------------------
   Main Visual Image
   ---------------------------------------- */
.l-treatment-main-visual {
  position: absolute;
  left: 50%;
  bottom: -128px;
  transform: translateX(-50%);
  width: 474px;
  aspect-ratio: 474 / 323;
  z-index: 10;
  overflow: hidden;
}

.l-treatment-main-visual__img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}

/* ----------------------------------------
   Treatment Features Section
   ---------------------------------------- */
.l-section--treatment-features {
  padding: 165px 0 60px;
  background-color: var(--col-main);
  min-height: 508px;
}

.l-treatment-features__content {
  position: relative;
  display: flex;
  flex-direction: column;
  justify-content: flex-start;
}

.c-heading--treatment-features {
  font-family: 'Shippori Mincho', serif;
  font-size: 30px;
  font-weight: 600;
  color: #fff;
  text-align: center;
  margin: 0 auto 30px;
  letter-spacing: 0;
}

.l-treatment-features-list {
  display: flex;
  flex-direction: column;
  gap: 0;
  max-width: 933px;
  width: 100%;
  margin: 0 auto;
}

.c-treatment-feature-item {
  background-color: #f2f9fb;
  padding: 25px 30px;
  display: flex;
  align-items: center;
  gap: 20px;
  position: relative;
  width: 100%;
  min-height: 70px;
}

.c-treatment-feature-item:not(:last-child) {
  border-bottom: 1px dashed var(--col-main);
}

.c-treatment-feature-item__label {
  display: flex;
  align-items: center;
  gap: 10px;
  font-family: 'Noto Sans JP', sans-serif;
  font-size: 17px;
  font-weight: 500;
  color: var(--col-main);
  letter-spacing: 2.38px;
  flex-shrink: 0;
  padding-right: 45px;
  border-right: 1px solid var(--col-main);
}

.c-treatment-feature-item__number {
  font-family: 'Montserrat', sans-serif;
  font-size: 24px;
  font-weight: 500;
  color: #2a9cae;
  letter-spacing: 3.36px;
  flex-shrink: 0;
  line-height: 29px;
  width: 29px;
}

.c-treatment-feature-item__text {
  font-family: 'Noto Sans JP', sans-serif;
  font-size: 16px;
  font-weight: 400;
  line-height: 30px;
  color: #333;
  margin: 0;
  flex: 1;
}

/* ----------------------------------------
   Treatment Overview Section
   ---------------------------------------- */
.l-section--treatment-overview {
  padding: 60px 0;
  background-color: #f9f8f5;
}

.c-heading--treatment-overview {
  font-family: 'Shippori Mincho', serif;
  font-size: 30px;
  font-weight: 600;
  color: #333;
  text-align: center;
  margin-bottom: 30px;
  letter-spacing: 0;
}

.l-treatment-overview-table {
  width: 100%;
  background-color: #fff;
}

.c-treatment-overview-table__row {
  display: grid;
  grid-template-columns: 191px 1fr;
}

.c-treatment-overview-table__header {
  font-family: 'Shippori Mincho', serif;
  font-size: 18px;
  font-weight: 600;
  color: #fff;
  background-color: #2a9cae;
  border-bottom: 1px solid #fff;
  padding: 20px;
  text-align: left;
  line-height: 26px;
}

.c-treatment-overview-table__row:last-child .c-treatment-overview-table__header {
  border-bottom: none;
}

.c-treatment-overview-table__cell {
  font-family: 'Noto Sans JP', sans-serif;
  font-size: 18px;
  font-weight: 400;
  color: #333;
  border-bottom: 1px solid #ccc;
  border-right: 1px solid #ccc;
  padding: 20px;
  line-height: 26px;
}

.c-treatment-overview-table__row:first-child .c-treatment-overview-table__cell {
  border-top: 1px solid #ccc;
}

/* ----------------------------------------
   Treatment Price Section
   ---------------------------------------- */
.l-section--treatment-price {
  padding: 60px 0;
  background-color: #fff;
}

.c-heading--treatment-price {
  font-family: 'Shippori Mincho', serif;
  font-size: 30px;
  font-weight: 600;
  color: #333;
  text-align: center;
  margin-bottom: 15px;
  letter-spacing: 0;
}

.c-text--treatment-price-note {
  font-family: 'Noto Sans JP', 'Inter', sans-serif;
  font-size: 14px;
  font-weight: 400;
  color: #666;
  text-align: center;
  margin-bottom: 30px;
}

.l-treatment-price-table {
  width: 100%;
}

.c-treatment-price-table__header {
  display: grid;
  grid-template-columns: 1fr 1fr;
  background-color: #2a9cae;
}

.c-treatment-price-table__header-item {
  font-family: 'Shippori Mincho', serif;
  font-size: 18px;
  font-weight: 600;
  color: #fff;
  text-align: center;
  padding: 20px;
  border-right: 1px solid rgba(255, 255, 255, 0.3);
  line-height: 1;
}

.c-treatment-price-table__header-item:last-child {
  border-right: none;
}

.c-treatment-price-table__row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  border-bottom: 1px solid #e0e0e0;
  background-color: #fff;
}

.c-treatment-price-table__row:nth-child(2n+3) {
  background-color: #f9f8f5;
}

.c-treatment-price-table__row:last-child {
  border-bottom: none;
}

.c-treatment-price-table__cell {
  font-family: 'Noto Sans JP', sans-serif;
  font-size: 16px;
  font-weight: 400;
  color: #333;
  padding: 20px 50px;
  line-height: 30px;
  border-right: 1px solid #e0e0e0;
}

.c-treatment-price-table__cell:last-child {
  border-right: none;
}

.c-treatment-price-table__cell--price {
  font-family: 'Montserrat', 'Noto Sans JP', sans-serif;
  font-size: 18px;
  font-weight: 400;
  text-align: center;
}

.c-text--treatment-price-course {
  font-family: 'Noto Sans JP', 'Inter', sans-serif;
  font-size: 14px;
  font-weight: 400;
  color: #333;
  text-align: right;
  max-width: 1160px;
  margin: 0 auto 30px;
  padding-right: 20px;
}

.l-treatment-price-notes {
  max-width: 1160px;
  margin: 30px auto 0;
  background-color: #f2f9fb;
  border: 1px solid #2a9cae;
  padding: 20px 30px;
  display: flex;
  flex-direction: column;
  gap: 10px;
}

.c-text--treatment-price-note-item {
  font-family: 'Noto Sans JP', 'Inter', sans-serif;
  font-size: 14px;
  font-weight: 400;
  color: #333;
  margin: 0;
}

/* ----------------------------------------
   Treatment Detail Responsive
   ---------------------------------------- */
@media (max-width: 768px) {
  .l-treatment-hero {
    padding: 40px 0 150px;
  }

  .c-heading--treatment-hero {
    font-size: 28px;
    letter-spacing: 2.8px;
  }

  .c-text--treatment-hero {
    font-size: 14px;
    line-height: 30px;
  }

  .c-heading--treatment-features,
  .c-heading--treatment-overview {
    font-size: 24px;
    margin-bottom: 20px;
  }

  .l-treatment-main-visual {
    width: 350px;
  }

  .l-section--treatment-features {
    padding-bottom: 40px;
    min-height: auto;
  }

  .l-section--treatment-overview {
    padding: 40px 0;
  }

  .l-section--treatment-price {
    padding: 40px 0;
  }

  .l-treatment-features-wrapper {
    padding-left: 20px;
    padding-right: 20px;
  }

  .c-treatment-feature-item {
    flex-direction: column;
    align-items: flex-start;
    gap: 10px;
    padding: 20px;
  }

  .c-treatment-feature-item__label {
    padding-right: 0;
    border-right: none;
  }

  .c-treatment-overview-table__row {
    grid-template-columns: 1fr;
  }

  .c-treatment-overview-table__header {
    border: none;
  }

  .c-treatment-overview-table__cell {
    border-bottom: none;
    border-left: 1px solid #ccc;
  }

  .c-treatment-overview-table__row:first-child .c-treatment-overview-table__cell {
    border-top: none;
  }

  .c-treatment-overview-table__row:last-child .c-treatment-overview-table__cell {
    border-bottom: 1px solid #ccc;
  }
}

@media (max-width: 480px) {
  .l-treatment-hero {
    padding: 30px 0 100px;
  }

  .c-heading--treatment-hero {
    font-size: 24px;
    letter-spacing: 2.4px;
  }

  .l-treatment-main-visual {
    width: 250px;
    bottom: -80px;
  }

  .l-section--treatment-features {
    padding: 100px 0 30px;
  }

  .l-section--treatment-overview {
    padding: 30px 0;
  }

  .l-section--treatment-price {
    padding: 30px 0;
  }

  .c-treatment-feature-item {
    padding: 15px;
  }

  .c-treatment-overview-table__cell,
  .c-treatment-price-table__cell {
    padding: 15px;
    font-size: 14px;
  }

  .c-text--treatment-price-course {
    text-align: left;
  }
}