main {
  width: 100%;
  position: relative;
}
/* img {
  opacity: 0 !important;
} */
/* -------- COMMON COMPONENTS -------- */
.section-title p {
  font-size: 24px;
  font-weight: bold;
  font-family: "Inter";
  color: #859a8e;
}
.big-title {
  font-size: 64px;
  color: #bbac95;
  font-family: "Poiret One";
}
.more-btn {
  width: 260px;
  height: 60px;
  display: flex;
  align-items: center;
  justify-content: center;
  position: relative;
  background-color: #bbac95;
  border-radius: 200px;
  box-shadow: 0 4px 4px rgba(0, 0, 0, 0.25);
  font-size: 20px;
  font-weight: bold;
  color: #ffffff;
}
.more-btn img {
  position: absolute;
  right: 23px;
  width: 20px;
  height: auto;
}
/* --- Floating btns --- */
.floating {
  position: fixed;
  top: 17px;
  right: 0;
  transition: opacity 0.3s ease;
  display: none;
  z-index: 999;
}
.floating.show {
  display: none;
}
.floating a {
  display: flex;
  width: 80px;
  height: 80px;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  font-size: 18px;
  color: #ffffff;
}
.floating a img {
  width: 30px;
}
.floating a:nth-of-type(1) {
  border-top-left-radius: 10px;
}
.floating a:nth-of-type(2) {
  border-bottom-left-radius: 10px;
}

@media (max-width: 768px) {
  .floating.show {
    display: block;
  }
}

/* -------- FV -------- */
.fv {
  width: 100%;
  position: relative;
  display: flex;
  flex-direction: column;
  align-items: center;
  padding-top: 51px;
}
.fv img {
  width: 100%;
}

@media (max-width: 1100px) {
  .fv {
    padding-top: 0;
  }
}
@media (max-width: 768px) {
  .fv img {
    max-width: 393px;
  }
}

/* -------- SLIDER -------- */
:root {
  --slider-max-width: 372px;
  --slider-gap: 37px;
  --dot-size: 8px;
  --dot-color: #d2d2d2;
  --dot-active-color: #afafaf;
}

.slider-container {
  width: 100%;
  max-width: 1440px;
  display: flex;
  justify-content: center;
}

.slider {
  position: relative;
  width: min(100%, calc(var(--slider-max-width) * 3.5 + var(--slider-gap) * 3));
  overflow: hidden;
  padding-block: 46px 60px;
  background: #fff;
  touch-action: pan-y;
  cursor: grab;
}

.slider.is-dragging {
  cursor: grabbing;
}

.slider-track {
  display: flex;
  gap: var(--slider-gap);
  transition: transform 0.6s cubic-bezier(0.25, 0.8, 0.25, 1);
  will-change: transform;
  padding: 18px;
}

.slide {
  flex: 0 0 auto;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  max-width: var(--slider-max-width);
}

.slide img {
  width: auto;
  height: auto;
  max-width: var(--slider-max-width);
  display: block;
  border-radius: 5px;
  box-shadow: 0 4px 4px rgba(0, 0, 0, 0.25);
}

.dots {
  position: absolute;
  bottom: 30px;
  left: 50%;
  transform: translateX(-50%);
  display: flex;
  gap: 8px;
}

.dot {
  width: var(--dot-size);
  height: var(--dot-size);
  border-radius: 50%;
  background: var(--dot-color);
  border: none;
  padding: 0;
  cursor: pointer;
  transition: transform 0.2s ease, background 0.2s ease;
}

.dot:focus-visible {
  outline: 2px solid #afafaf;
  outline-offset: 2px;
}

.dot.active {
  background: var(--dot-active-color);
  transform: scale(1.2);
}

.is-md-show {
  display: none !important;
}

@media (max-width: 768px) {
  .slide img {
    width: 280px;
  }
  .is-md-hide {
    display: none !important;
  }
  .is-md-show {
    display: block !important;
  }
  .dots {
    bottom: 20px;
  }
}
@media (max-width: 425px) {
  .slide img {
    width: 180px;
  }
}

/* -------- NEWS -------- */
.news {
  width: 100%;
  padding-block: 35px;
  font-family: "Inter";
  display: flex;
  flex-direction: column;
  align-items: center;
}

.news .section-title {
  margin-bottom: 13px;
}
.news-content {
  width: 100%;
  max-width: 1100px;
  margin-bottom: 20px;
}
.news-item {
  padding: 18px 20px;
  font-size: 20px;
  width: 100%;
  display: flex;
  align-items: center;
  gap: 43px;
}
.news-item p {
  color: #bbac95;
}
.news-item .title {
  width: 85%;
  max-width: 916px;
}
.news-item .title p {
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
  text-decoration: underline;
  color: #606060;
}

@media (max-width: 768px) {
  .news-item .title {
    width: 80%;
  }
}

@media (max-width: 650px) {
  .news .section-title {
    margin-bottom: 26px;
  }
  .news-content {
    margin-bottom: 26px;
  }
  .news-item {
    flex-direction: column;
    align-items: start;
    gap: 6px;
    font-size: 18px;
    padding-inline: 16px;
    padding-block: 1px 11px;
  }
  .news-item .title {
    width: 100%;
  }
}

/* -------- MENU -------- */
.menu {
  width: 100%;
  background-color: #fbfbfb;
  padding-block: 25px 55px;
  padding-inline: 16px;
  display: flex;
  flex-direction: column;
  align-items: center;
}
.big-title {
  font-size: 64px;
  color: #bbac95;
  font-family: "Poiret One";
}
.menu .big-title {
  margin-bottom: 12px;
}
.menu .section-title {
  margin-bottom: 34px;
}
.menu-content {
  width: 100%;
  max-width: 940px;
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 20px;
}
.menu-item {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding-inline: 15px 26px;
  padding-block: 5px;
  background-color: #ffffff;
  border-radius: 5px;
  box-shadow: 0 4px 4px rgba(0, 0, 0, 0.25);
}
.menu-item .img-txt {
  display: flex;
  align-items: center;
  gap: 20px;
}
.menu-item img {
  width: 100px;
}
.menu-item p {
  font-size: 22px;
  font-weight: bold;
  color: #859a8e;
}
.menu-item span {
  width: 30px;
  height: 30px;
  display: flex;
  align-items: center;
  justify-content: center;
  background-color: #bbac95;
  color: #ffffff;
  font-size: 14px;
  border-radius: 50%;
}

@media (max-width: 768px) {
  .menu {
    padding-block: 25px 53px;
  }
  .menu .section-title {
    margin-bottom: 36px;
  }
  .menu-item p {
    font-size: 18px;
  }
  .menu-content {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 15px;
  }
  .menu-item {
    width: 360px;
  }
  .menu-item .img-txt {
    gap: 16px;
  }
}

/* -------- TROUBLE -------- */
.trouble {
  width: 100%;
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding-block: 56px 98px;
  padding-inline: 49px;
}
.trouble-img {
  width: 100%;
  max-width: 500px;
  position: relative;
}
.trouble-img img {
  width: 100%;
}
.trouble-img::before {
  content: "";
  position: absolute;
  top: 41px;
  left: 22px;
  width: 100%;
  max-width: 500px;
  height: 100%;
  max-height: 547px;
  background-color: #f3e9e3;
  z-index: -1;
}
.trouble-txt {
  width: 100%;
  max-width: 740px;
}
.trouble-txt .title-box {
  display: flex;
  align-items: baseline;
  gap: 10px;
  margin-bottom: 41px;
}
.trouble-menu {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 20px;
}

.trouble-menu .item {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding-inline: 15px 22px;
  padding-block: 15px;
  background-color: #ce9783;
  border-radius: 5px;
  box-shadow: 0 4px 4px rgba(0, 0, 0, 0.25);
}
.trouble-menu .item .img-txt {
  display: flex;
  align-items: center;
  gap: 19px;
}
.trouble-menu .item img {
  width: 80px;
}
.trouble-menu .item p {
  font-size: 22px;
  font-weight: bold;
  color: #ffffff;
  line-height: 1.3;
}
.trouble span {
  width: 30px;
  height: 30px;
  display: flex;
  align-items: center;
  justify-content: center;
  background-color: #ffffff;
  color: #ce9783;
  font-size: 14px;
  border-radius: 50%;
}
.trouble-last-menu {
  width: 100%;
  position: relative;
  display: flex;
  align-items: center;
  justify-content: center;
  padding-block: 40px;
  background-color: #ce9783;
  border-radius: 5px;
  box-shadow: 0 4px 4px rgba(0, 0, 0, 0.25);
  margin-top: 20px;
  color: #ffffff;
  font-size: 26px;
  font-weight: bold;
}
.trouble-last-menu span {
  position: absolute;
  right: 22px;
}

@media (max-width: 1300px) {
  .trouble {
    padding-inline: 0;
  }
}
@media (max-width: 1024px) {
  .trouble {
    flex-direction: column;
    padding-inline: 16px;
    gap: 70px;
  }
}
@media (max-width: 768px) {
  .trouble {
    gap: 0;
    padding: 0;
  }
  .trouble-img::before {
    display: none;
  }
  .title-box {
    position: absolute;
    top: 60px;
    right: 2px;
  }
  .big-title {
    margin-bottom: 6px;
  }
  .trouble-txt {
    padding: 31px 16px;
  }
  .trouble-menu {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 15px;
  }
  .trouble-menu .item {
    width: 100%;
    max-width: 360px;
  }
  .trouble-last-menu {
    max-width: 360px;
    margin: auto;
    margin-top: 15px;
  }
  .trouble-menu .item .img-txt {
    gap: 16px;
  }
  .trouble-menu .item p {
    font-size: 18px;
  }
}
/* -------- BANNER -------- */
.banner {
  width: 100%;
  height: 360px;
  background: url("../img/top/banner.png") no-repeat center / cover;
}
.banner .banner-container {
  width: 100%;
  height: 100%;
  position: relative;
  display: flex;
  align-items: center;
}
.banner p {
  position: absolute;
  left: 63px;
  bottom: 36px;
  font-size: 36px;
  font-family: "Zen Old Mincho";
  color: rgba(255, 255, 255, 0.7);
}
.banner h1 {
  position: absolute;
  right: 110px;
  font-size: 96px;
  font-family: "Zen Old Mincho";
  font-weight: bold;
  color: rgba(255, 255, 255, 0.9);
  line-height: 1.2;

  span {
    font-size: 60px;
    font-family: "Zen Old Mincho";
    padding-left: 118px;
  }
}

@media (max-width: 1200px) {
  .banner .banner-container {
    flex-direction: column;
    align-items: start;
    justify-content: center;
    width: fit-content;
    margin: auto;
    gap: 24px;
  }
  .banner p {
    position: unset;
    font-size: 20px;
  }
  .banner h1 {
    position: unset;
    font-size: 64px;
    color: #ffffff;

    span {
      font-size: 36px;
      padding-left: 35px;
    }
  }
}
@media (max-width: 650px) {
  .banner .banner-container {
    align-items: center;
  }
  .banner h1 {
    font-size: 50px;
  }
}

/* -------- DOCTOR -------- */
.doctor {
  width: 100%;
  background-color: #fbfbfb;
  padding-block: 55px 98px;
  padding-right: 69px;
  display: flex;
  justify-content: flex-end;
  gap: 130px;
}
.doctor .txt {
  width: 100%;
  max-width: 571px;
}
.doctor .txt .section-title {
  margin-bottom: 32px;
}
.doctor .txt .detail {
  font-family: "Zen Old Mincho";
  font-size: 20px;
  margin-bottom: 32px;
}
.doctor .doctor-info {
  font-size: 18px;

  span {
    font-size: 24px;
    margin-left: 8px;
  }
}
.doctor .doctor-info p:nth-of-type(1) {
  margin-bottom: 8px;
}
.doctor .img {
  width: 100%;
  max-width: 500px;
  height: fit-content;
  position: relative;
  z-index: 2;
}
.doctor .img::before {
  content: "";
  position: absolute;
  top: 41px;
  left: 22px;
  width: 100%;
  max-width: 500px;
  height: 100%;
  max-height: 547px;
  background-color: #f3e9e3;
  z-index: -1;
}
.doctor .img img {
  width: 100%;
}

@media (max-width: 1300px) {
  .doctor {
    gap: 39px;
    padding-inline: 26px;
  }
}
@media (max-width: 1024px) {
  .doctor .img {
    max-width: 350px;
  }
}
@media (max-width: 768px) {
  .doctor {
    flex-direction: column;
    align-items: center;
    padding-block: 50px;
  }
  .doctor .txt .detail {
    font-size: 16px;
    margin-bottom: 0;
  }
  .doctor .img {
    max-width: 315px;
  }
  .doctor .img::before {
    top: 27px;
    left: 14px;
  }
  .doctor .doctor-info {
    text-align: center;
    margin-top: 12px;
  }
  .doctor .doctor-info p:nth-of-type(1) {
    margin-bottom: 0;
  }
}
/* -------- FEATURE -------- */
.feature {
  width: 100%;
  display: flex;
  align-items: center;
  gap: 77px;
}
.feature .img {
  width: 100%;
  max-width: 660px;
  height: fit-content;
}
.feature .img img {
  width: 100%;
}
.feature .section-title {
  margin-bottom: 43px;
}
.feature .feature-content {
  display: flex;
  flex-direction: column;
  gap: 19px;
  margin-bottom: 46px;
}
.feature .feature-content .item {
  display: flex;
  font-size: 24px;
  font-family: "Zen Old Mincho";
}
.feature .feature-content .item img {
  width: 65px;
}
.feature .more-btn {
  width: 320px;
}

@media (max-width: 1200px) {
  .feature {
    gap: 30px;
  }
  .feature .img {
    max-width: 550px;
  }
}
@media (max-width: 1024px) {
  .feature {
    flex-direction: column;
    align-items: center;
    gap: 0;
  }
  .feature .txt {
    display: flex;
    flex-direction: column;
    align-items: center;
    padding-block: 31px 45px;
  }
}
@media (max-width: 768px) {
  .feature .section-title {
    position: absolute;
    right: 9px;
    margin: 0;
    font-size: 22px;
  }
  .feature .img {
    position: relative;
    display: flex;
    align-items: center;
  }
}
@media (max-width: 650px) {
  .feature .img {
    max-width: 100%;
  }
  .feature .feature-content {
    align-items: center;
    gap: 32px;
    margin-bottom: 41px;
  }
  .feature .feature-content .item {
    flex-direction: column;
    align-items: center;
    text-align: center;
    font-size: 20px;
  }
  .feature .feature-content .item img {
    width: 60px;
  }
}
