/* CSS Document */

*,
*:before,
*:after {
  box-sizing: border-box;
  word-break: normal;
  overflow-wrap: anywhere;
  color: #333;
}
:root {
  --blue: #1e90ff;
  --white: #ffffff;
  --green: #5a7a39;
}
.green {
  color: #5a7a39;
}
.gray {
  background-color: #ebebeb;
}
body {
  font-family: "Lato", sans-serif;
  font-size: 15px;
  line-height: 1.8;
  letter-spacing: 0.8px;
  word-break: break-all;
}
a {
  text-decoration: none;
  color: var(--green);
}

img,
video,
object {
  display: block;
  max-width: 100%;
  height: auto;
  /*vertical-align: bottom;*/
  border: none;
}

ul,
li {
  list-style: none;
}

.text-bold {
  font-weight: bold;
}

.pc {
  display: block;
}

.sp {
  display: none;
}
p {
  word-wrap: keep-all !important;
}
#js-pageTop {
  font-size: 12px;
  font-weight: bold;
  display: block;
  padding: 10px;
  cursor: pointer;
  text-align: center;
  background-color: #ccc;
}

.hover-action-01 {
  display: block;
  -webkit-transition: all 0.3s;
  -moz-transition: all 0.3s;
  -ms-transition: all 0.3s;
  -o-transition: all 0.3s;
  transition: all 0.3s;
  -webkit-box-shadow: 0 2px 10px 0 rgba(0, 0, 0, 0.1);
  -moz-box-shadow: 0 2px 10px 0 rgba(0, 0, 0, 0.1);
  box-shadow: 0 2px 10px 0 rgba(0, 0, 0, 0.1);
}

.hover-action-01:hover {
  -webkit-transition: all 0.3s;
  -moz-transition: all 0.3s;
  -ms-transition: all 0.3s;
  -o-transition: all 0.3s;
  transition: all 0.3s;
  -webkit-transform: translate(0, -4px);
  -moz-transform: translate(0, -4px);
  -ms-transform: translate(0, -4px);
  -o-transform: translate(0, -4px);
  transform: translate(0, -4px);
  -webkit-box-shadow: 0 10px 20px 0 rgba(0, 0, 0, 0.12);
  -moz-box-shadow: 0 10px 20px 0 rgba(0, 0, 0, 0.12);
  box-shadow: 0 10px 20px 0 rgba(0, 0, 0, 0.12);
}
/*--------------------------------
 共に
---------------------------------*/
.p-10 {
  padding: 10px;
}
.p-b-10 {
  padding-bottom: 10px;
}
.p-15 {
  padding: 15px;
}
.p-20 {
  padding: 20px;
}
.p-b-20 {
  padding-bottom: 20px;
}
.p-t-20 {
  padding-top: 20px;
}
.p-t-30 {
  padding-top: 30px;
}
.p-b-30 {
  padding-bottom: 30px;
}
.p-t-b-15 {
  padding-top: 15px;
  padding-bottom: 15px;
}
.p-t-b-20 {
  padding-top: 20px;
  padding-bottom: 20px;
}
.p-t-b-30 {
  padding-top: 30px;
  padding-bottom: 30px;
}
.p-t-b-40 {
  padding-top: 40px;
  padding-bottom: 40px;
}
.p-t-70 {
  padding-top: 70px;
}
.p-t-b-70 {
  padding-top: 70px;
  padding-bottom: 70px;
}
.p-t-b-70t {
  padding-top: 70px;
  padding-bottom: 35px;
}
.p-t-b-70m {
  padding-top: 35px;
  padding-bottom: 35px;
}
.p-t-b-70b {
  padding-top: 35px;
  padding-bottom: 70px;
}
.m-t-b-40 {
  margin-top: 40px;
  margin-bottom: 40px;
}
.m-center {
  margin: auto;
  text-align: center;
}
.color-w {
  color: var(--white);
  text-shadow: 2px 2px 4px rgb(50, 50, 50);
}
h1 {
  font-size: 2em;
  color: #5a7a39;
  font-family: "Open sans", sans-serif;
}
h2 {
  font-size: 1.8em;
  font-family: "Open sans", sans-serif;
}
h3 {
  font-size: 1.5em;
  font-family: "Open sans", sans-serif;
}
h4 {
  font-size: 1.2em;
}
p {
  font-size: 16px;
}
.flex-row {
  flex-direction: row-reverse;
}
.logo-color {
  background-color: #5a7a39;
}
.wgreen {
  background-color: #f2faea;
}
.wgray {
  background-color: #ebebeb;
}
/*--------------------------------
 全体
---------------------------------*/
#wrapper {
  padding-top: 68px;
}

.container {
  max-width: 1200px;
  height: auto;
  margin: auto;
}
/*
#work button {
  bottom: 20px;
  right: 30px;
  z-index: 99;
  font-size: 18px;
  border: none;
  outline: none;
  cursor: pointer;
  padding: 15px 20px;
  border-radius: 15px;
  border: 2px solid var(--green);
  display: inline-block; hoặc block 
}
*/
#work .btn {
  bottom: 20px;
  right: 30px;
  z-index: 99;
  font-size: 18px;
  border: 2px solid var(--green);
  border-radius: 15px;
  padding: 10px 20px;
  margin-top: 20px;
  text-decoration: none;
  color: var(--green);
  display: inline-block;
}

#work .btn:hover {
  background-color: var(--green);
  color: #fff;
}

button {
  padding: 10px 40px;
  margin-top: 20px;
  border-radius: 15px;
  border-color: var(--green);
}
button :hover {
  background-color: var(--green);
  color: #fff;
}
.about-text {
  max-width: 70%;
}
.section {
  padding: 50px 0;
}

.section:nth-of-type(odd) {
  background-color: #f7f7f7;
}

.section .inner {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 40px;
}

.section-title-area {
  text-align: center;
  justify-content: space-around;
}

.section-title {
  font-family: "Open sans", sans-serif;
  font-size: 32px;
  font-weight: normal;
  line-height: 1;
  margin-bottom: 15px;
  letter-spacing: 0.05em;
}

.section-image a {
  display: block;
}

#about .inner,
#skill .inner {
  max-width: 1080px;
}

/*--------------------------------
ヘッダー
---------------------------------*/
#header {
  display: flex;
  align-items: center;
  justify-content: space-around;
  height: 86vh;
  max-width: 1080px;
  gap: 20px;
}
.header {
  background-color: #f2faea;
}
.W-1080 {
  max-width: 1080px;
}
#header .kv-text {
  margin-bottom: 30px;
  padding-left: 30px;
  text-align: center;
  max-width: 45%;
  align-items: center;
  text-align: left;
}

.kv-slide {
  max-width: 35%;
}
#header .kv-title {
  font-size: 70px;
  line-height: 1;
  font-weight: 700;
  letter-spacing: 0.1em;
  text-align: left;
}

#header .kv-desc {
  font-size: 30px;
  margin-top: 5px;
  text-align: center;
  letter-spacing: 0.1em;
  text-align: left;
}

/*--------------------------------
 グローバルナビ
---------------------------------*/

#gnav,
#mnav {
  background-color: #fff;
  -webkit-box-shadow: 0 3px 3px -3px rgba(0, 0, 0, 0.2);
  -moz-box-shadow: 0 3px 3px -3px rgba(0, 0, 0, 0.2);
  box-shadow: 0 3px 3px -3px rgba(0, 0, 0, 0.2);
}

#gnav,
#mnav {
  position: fixed;
  z-index: 100;
  top: 0;
  left: 0;
  width: 100%;
}

#gnav .sund-logo {
  max-width: 1200px;
  height: auto;
  display: flex;
  justify-content: space-between;
  text-align: center;
  align-items: center;
  padding: 5px;
  margin: auto;
}

.flex {
  display: flex;
}
.center {
  align-items: center;
  margin: auto;
}
#gnav .head-logo {
  max-width: 520px;
  height: 60px;
}
.contact-list-pc {
  justify-content: flex-end;
}
.contact-list-pc ul {
  padding: 0 20px;
  gap: 15px;
}
.contact-list-pc ul li a {
  font-size: 20px;
}
.contact-list-pc ul .icon {
  width: 25px;
}
#gnav .menu-list {
  max-width: 1200px;
  text-align: center;
  margin: auto;
  padding-bottom: 5px;
}
#gnav .menu-list ul {
  display: flex;
  flex-wrap: wrap;
  justify-content: left;
}

#gnav .menu-list ul li {
  font-family: PoppinsVN, sans-serif;
  font-size: 16px;
  padding: 0 12px;
  letter-spacing: 0.05em;
}

#gnav .menu-list ul li a {
  position: relative;
  display: inline-block;
  padding: 5px 0;
  -webkit-transition: 0.3s;
  -moz-transition: 0.3s;
  -ms-transition: 0.3s;
  -o-transition: 0.3s;
  transition: 0.3s;
  color: #464545;
}

#gnav .menu-list ul li a:hover {
  opacity: 1;
}

#gnav .menu-list ul li a::after {
  position: absolute;
  bottom: 0;
  left: 50%;
  width: 0;
  height: 3px;
  content: "";
  transition: 0.3s;
  -webkit-transform: translateX(-50%);
  transform: translateX(-50%);
  background-color: #464545;
}

#gnav .menu-list ul li a:hover::after {
  width: 100%;
}

/*---sp---*/
#mnav .sund-logo {
  height: auto;
  text-align: center;
  margin: auto;
  padding-left: 20px;
}

#mnav .head-logo {
  max-width: 80%;
  height: 100%;
}
.mobile-container {
  max-width: 480px;
  margin: auto;
  height: 500px;
  color: white;
  border-radius: 10px;
}

.topnav {
  overflow: hidden;
  background-color: #ffffff;
  position: relative;
}

.topnav #myLinks {
  padding-left: 20px;
}
.menu-link-sp ul li {
  padding-bottom: 10px;
}
.topnav a {
  color: #5a7a39;
  padding: 14px;
  text-decoration: none;
  font-size: 16px;
}

.topnav a.icon {
  display: block;
  position: absolute;
  right: 20px;
  top: 20px;
}

.topnav a:hover {
  color: rgb(230, 158, 3);
}

.topnav a.active {
  color: #04aa6d;
}
.contact-list-sp {
  box-sizing: border-box;
  width: 100%;
  height: auto;
}
.contact-list-sp ul {
  display: flex;
  margin: auto;
  justify-content: center;
  gap: 10px;
  padding-bottom: 30px;
}
.contact-list-sp p a {
  font-size: 24px;
  padding: 10px auto;
}

.contact-list-sp .icon {
  width: 30px;
}
/*--index about--*/

.about-text,
.work-text {
  width: 85%;
  height: auto;
  margin: auto;
  text-align: left;
  gap: 30px;
  align-items: center;
  justify-content: space-between;
}

.work-text img {
  width: 48%;
  height: auto;
}

.strong,
.forren-strong {
  max-width: 90%;
  display: grid;
  grid-template-columns: 1fr 1fr 1fr;
  gap: 40px;
  justify-content: center;
  margin: auto;
  text-align: center;
}
#boutus .strong img,
#contents .resolve img {
  max-height: 200px;
  width: auto;
}
/*--------------------------------
 Card
---------------------------------*/
.card-wrapper {
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
}

.card-image img {
  width: 100%;
}

.card-caption {
  text-align: center;
}

.card-caption-title {
  font-size: 12px;
  font-weight: bold;
  margin-top: 8px;
}

.card-caption-info {
  font-size: 10px;
}

.card-caption-url {
  font-size: 10px;
}

.card img.fadein {
  -webkit-transition: 1.5s;
  -moz-transition: 1.5s;
  -ms-transition: 1.5s;
  -o-transition: 1.5s;
  transition: 1.5s;
  opacity: 0;
}

.card img.fadein.lazyloaded {
  opacity: 1;
}

/*--------------------------------
 WORKS
---------------------------------*/

#works .card {
  flex-basis: 31%;
  margin-bottom: 60px;
}

#works .card-wrapper::after {
  display: block;
  flex-basis: 31%;
  content: "";
}

#works .card:nth-child(3n + 1):nth-last-child(-n + 3),
#works .card:nth-child(3n + 1):nth-last-child(-n + 3) ~ div {
  margin-bottom: 0;
}

/*--------------------------------
 ABOUT
---------------------------------*/

#about .section-body {
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
}

#about .section-image {
  flex-basis: 20%;
  margin: 0 auto;
}

#about .section-image a {
  display: block;
  border-radius: 50%;
}

#about .section-image img {
  margin: 0 auto;
  border-radius: 50%;
  box-shadow: 0 0 25px 0 #d9d9d9;
}

#about .section-desc {
  flex-basis: 62%;
}

/*--------------------------------
 forrent
---------------------------------*/
/*--- kv --*/
.forent {
  margin: auto;
}
#header-sb {
  margin: auto;
  padding-top: 95px;
  padding-bottom: 70px;
}
.problem {
  background-image: url("img/forrent/bacground01.svg");
  background-repeat: no-repeat;
}
.resolve .container {
  gap: 40px;
  justify-content: center;
}
/* Slide  02*/
.slide-title {
  text-align: right;
  color: var(--green);
  margin-bottom: 30px;
}
.plant-slider {
  max-width: 100%;
  width: calc(280px * 4 + 10px * 3); /* 4 slide + 3 khoảng cách */
  margin: auto;
  overflow: hidden;
  position: relative;
  padding: 20px 0;
}

.slider-wrapper {
  display: flex;
  gap: 10px;
  transition: transform 0.6s ease-in-out;
}

.slide img {
  max-height: 280px; /* hoặc giá trị bạn muốn */
  width: auto;
  object-fit: contain;
  display: block;
  padding: 10px;
}

.slide .description {
  display: none;
  background: #fff;
  margin-top: 10px;
  box-shadow: 0 3px 10px rgba(0, 0, 0, 0.1);
  color: #1d1d1d;
  padding: 10px;
  border-radius: 15px;
}
.slide .description h3 {
  color: var(--green);
  line-height: normal;
  font-size: 16px;
}
.slide .description p {
  font-size: 12px;
}

.slide.active .description {
  display: block;
}
.slide.active {
  transform: translateY(-30px) scale(1.7);
  opacity: 1;
  z-index: 2;
}
.slide {
  flex: 0 0 280px;
  display: flex;
  flex-direction: column;
  align-items: center;
  padding: 20px; /* khoảng cách bên trong */
  box-sizing: border-box;
  transition: transform 0.6s ease, opacity 0.6s ease;
  opacity: 0.6;
  transform: translateY(0) scale(1);
  margin-top: 20px;
}

.slide.active {
  transform: translateY(-30px) scale(1.2); /* lớn hơn, cao hơn */
  opacity: 1;
  z-index: 2;
  padding-left: 20px;
}

/* Slide  end 02*/
.plant-cost-cover {
  
  margin: auto;
}
.tree-cost{
  margin-top: 30px;
  margin-bottom:30px ;
}
.tree-cost-top {
  background-color: #f2faea;
  padding: 25px;
}
.tree-cost-body {
  display: flex;
  gap: 60px;
  padding: 15px 25px;
  flex-wrap: wrap;
 justify-content: flex-start;

}
.tree-cost-body .list{
  width: 240px;
  height: auto;
  }
.tree-cost-body .list img{
width: 240px;
height: 260px;
}

/* Slide  end 02
.plant-cost-cover {
  max-width: 980px;
  display: grid;
  grid-template-columns: 1fr 1fr 1fr;
  gap: 25px;
  margin: auto;
}

.tree-cost-top {
  background-color: #f2faea;
  padding: 25px;
  border: 1px solid #ccc;
}
.tree-cost-body {
  padding: 15px 25px;
  border: 1px solid #ccc;
}
.tree-cost-body p {
  border-bottom: 1px solid #ccc;

*/
/*-------- takecare---------*/
.tak-strong {
  display: flex;
  gap: 20px;
}
.tak-strong-img,
.tak-strong-text {
  max-width: 50%;
}
.tak-strong-text p {
  padding: 10px 20px;
  margin-top: 15px;
  margin-bottom: 15px;
}
.care-cost-img {
  background-image: url(img/takecare/tak-02.jpg);
}
table {
  border-collapse: collapse;
  max-width: 100%;
  margin: auto;
}

th,
td {
  padding: 8px 25px;
  text-align: left;
  border-bottom: 1px solid #ddd;
}
table .stt {
  max-width: 40%;
}
/*-------- takecare end---------*/
/*-------- landscapedesign star---------*/
.lan-flex-r {
  display: flex;
  gap: 40px;
  margin: auto;
}
.lan-tex {
  max-width: 980px;
  margin: auto;
}

.abou-ser {
  display: grid;
  grid-template-columns: 1fr 1fr 1fr;
  gap: 30px;
  margin: auto;
}
.abou-ser-sb {
  display: grid;
  grid-template-columns: 380px 380px;
  gap: 30px;
  justify-content: center;
}

.abou-serv {
  width: auto;
  align-items: center;
  border-radius: 60px;
  display: flex;
  justify-content: center; /* căn giữa ngang */
  align-items: center; /* căn giữa dọc */
  /* Tùy chọn: thêm lớp nền tối nhẹ để làm rõ chữ */
  position: relative;
  padding: 30px;
  text-align: center;
}
.abou-serv-01 {
  background-color: #c8d9e6;
}
.abou-serv-02 {
  background-color: #567c8d;
}
.abou-serv-03 {
  background-color: #2f4156;
}
.abou-serv a {
  color: rgb(255, 219, 188);
  font-size: 20px;
  text-decoration: none;
  font-weight: bold;
  position: relative;
  z-index: 1;
}
.abou-serv:hover {
  transform: scale(1.02);
  transition: 0.3s;
  cursor: pointer;
}
.abou-serv::before {
  content: "";
  position: absolute;
  inset: 0;
  background-color: rgba(0, 0, 0, 0.3); /* tối mờ hình ảnh để chữ rõ hơn */
  z-index: 0;
  border-radius: 60px;
}

/*
.ser-blog {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 40px;
}
  */
.ser-img {
  display: grid;
  grid-template-columns: 1fr 1fr 1fr;
  gap: 40px;
  padding: 30px 40px;
}
.header-sub-01 {
  background-image: url("/img/landscapedesign/la-ser-01.jpg");
  background-position: center; /* Center the image */
  background-size: cover;
  position: relative;
  overflow: hidden;
}
.header-sub-02 {
  background-image: url("/img/landscapedesign/de-01.jpg");
  background-position: center; /* Center the image */
  background-size: cover;
  position: relative;
  overflow: hidden;
}
.header-sub-03 {
  background-image: url("/img/landscapedesign/qo-01.jpg");
  background-position: center; /* Center the image */
  background-size: cover;
  position: relative;
  overflow: hidden;
}
/*-------- landscapedesign end---------*/
/*--------------------------------
 FEATURE
---------------------------------*/
/*--------------------------------
 CONTACT
---------------------------------*/

#contact .footer-nav ul,
#contact .contact-list-footer {
  display: flex;
  flex-wrap: wrap;
  margin: auto;
  max-width: 1200px;
  align-items: center;
  justify-content: center;
  gap: 30px;
}

#contact .footer-nav li a {
  color: #333;
}
.section-intro {
  width: 400px;
  text-align: left;
}
/*--------------------------------
 Footer
---------------------------------*/
/*-----footer test-------*/
.inner-footer .-row{
  display: flex;
  flex-wrap: wrap;
  margin: auto;
  max-width: 1200px;
  justify-content: center;
  gap: 30px;
  font-size: 18px;

}
.menuLv3{
  margin-left: 15px;
  font-size: 15px;
}
/*-----footer end test-------*/
#footer {
  background-color: #1d1d1d;
}

#footer .inner {
  padding: 30px;
}

#footer .copyright {
  font-size: 14px;
  text-align: center;
  color: #8c8c8c;
}
.footer-logo {
  max-height: 40px;
  width: auto;
  margin: auto;
}

/*page top button*/
#myBtn {
  display: none;
  position: fixed;
  bottom: 20px;
  right: 30px;
  z-index: 99;
  font-size: 18px;
  border: none;
  outline: none;
  background-color: rgb(253, 138, 7);
  color: white;
  cursor: pointer;
  padding: 10px 20px;
  border-radius: 4px;
}

#myBtn:hover {
  background-color: #78ba62;
}
/*-------------------------media Queries 767---------------------------*/
/*------------------------hieu ung fade up----------------------------*/

.fade-up {
  opacity: 0;
  transform: translateY(30px);
  transition: opacity 0.8s ease, transform 0.8s ease;
}

.fade-up.show {
  opacity: 1;
  transform: translateY(0);
}
/*------------------------hieu ung fade up end----------------------------*/
@media screen and (max-width: 962px) {
  body {
    font-size: 13px;
    line-height: 1.7;
  }

  .pc {
    display: none;
  }

  .sp {
    display: block;
  }
  /* Mobile menu start doing*/
  .l-menu-button {
    top: 3.1rem;
    right: 4rem;
  }
  .l-menu-button {
    opacity: 0;
    position: fixed;
    top: 3.8rem;
    right: 9.6rem;
    width: 2.5rem;
    height: 2.5rem;
    z-index: 101;
  }

  /* Ẩn menu mặc định */
  #myLinks {
    max-height: 0;
    overflow: hidden;
    transition: max-height 0.4s ease;
  }

  /* Khi mở menu */
  #myLinks.active {
    max-height: 500px; /* đủ lớn để chứa menu, chỉnh số px tùy */
  }

  /* Cho dễ bấm trên mobile */
  #menuToggle {
    cursor: pointer;
    font-size: 22px;
    padding: 10px;
  }

  button,
  [type="button"],
  [type="reset"],
  [type="submit"] {
    cursor: pointer;
    -webkit-appearance: none;
    appearance: none;
  }
  button,
  select {
    text-transform: none;
  }
  button,
  input {
    overflow: visible;
  }
  button,
  input,
  optgroup,
  select,
  textarea {
    -webkit-appearance: none;
    appearance: none;
    vertical-align: middle;
    color: inherit;
    font: inherit;
    border: 0;
    background: transparent;
    padding: 0;
    margin: 0;
    outline: 0;
    border-radius: 0;
    text-align: inherit;
  }
  /* Mobile menu end*/
  .hover-action-01 {
    -webkit-transition: none;
    -moz-transition: none;
    -ms-transition: none;
    -o-transition: none;
    transition: none;
  }

  .hover-action-01:hover {
    -webkit-transition: none;
    -moz-transition: none;
    -ms-transition: none;
    -o-transition: none;
    transition: none;
    -webkit-transform: none;
    -moz-transform: none;
    -ms-transform: none;
    -o-transform: none;
    transform: none;
  }

  #wrapper {
    padding-top: 82px;
  }

  #header {
    height: auto;
    flex-direction: column-reverse;
    padding: 20px;
    height: auto;
  }
  #header .kv-text {
    padding-top: 35px;
  }
  #header .kv-title {
    font-size: 40px;
    letter-spacing: 0.1em;
  }
  #header-sb {
    padding-top: 70px;
  }
  #header .kv-desc {
    font-size: 20px;
  }
  .work-text img,
  .tak-strong-img,
  .tak-strong-text,
  .about-text,
  .work-text,
  .kv-slide {
    max-width: 100%;
    width: 100%;
  }

  .container {
    padding: 20px;
    max-width: 100%;
    width: 100%;
  }

  .ser-img,
  .strong,
  .flex,
  .plant-cost-cover,
  .tak-strong {
    display: inline;
    max-width: 100%;
    width: 100%;
  }

  .sp-pa-bot-20 {
    padding-bottom: 20px;
  }
  th,
  td {
    padding: 8px 10px;
    min-width: 270px;
  }
  .stt {
    min-width: 50px;
  }
  #boutus .about-text {
    max-width: 100%;
  }
  .p-t-b-70t {
    padding-top: 30px;
    padding-bottom: 15px;
  }
  .ser-img img,
  .p-t-b-70m {
    padding-top: 15px;
    padding-bottom: 15px;
  }
  .p-t-b-70b {
    padding-top: 15px;
    padding-bottom: 30px;
  }
  .p-b-10 {
    padding: 10px;
  }

  #decor .tak-strong,
  .work-text {
    display: grid;
  }
  .item-1 {
    order: 1;
  }
  .item-2 {
    order: 2;
  }
  .item-3 {
    order: 3;
  }
  .abou-ser-sb,
  .abou-ser {
    grid-template-columns: 1fr;
  }
  .abou-serv {
    height: 110px;
  }
}
