* {
  margin: 0;
  padding: 0;
}


body {
  background: #fffff8;
}

.top {
  height: 100vh;
  width: 100%;
  display: flex;
  align-items: center;
  justify-content: center;
  position: relative;
}
.top .image {
  position: absolute;
  top: 16vh;
  left: 0;
  height: 84vh;
  width: 95%;
  background: url("../en/zenses/img/top.jpg") no-repeat;
}
.top .title {
  z-index: 1;
  width: 70%;
  padding-top: 80px;
}
.top figure {
  display: inline-block;
}

.card {
  display: flex;
  flex-direction: column;
  align-items: center;
  padding: 30px 0;
}
.card article {
  width: 85%;
  height: 400px;
  margin-top: 30px;
  display: grid;
  justify-content: center;
  grid-template-columns: 1fr 1fr;
  gap: 50px;
}
.card figure {
  width: 550px;
  height: 400px;
  overflow: hidden;
}
.card .sp-on {
  display: none;
}
.card img {
  width: 100%;
  height: auto;
}
.card h2 {
  margin-top: 10px;
  font-size: 1.35rem;
  font-weight: bold;
  margin-bottom: 20px;
  margin-top: 50px;
  letter-spacing: 0.02rem;
}
.card p {
  color: #4f5150;
  font-size: 0.96rem;
  line-height: 1.75rem;
  text-align: justify;
  text-justify: inter-word;
}

.iltm {
  height: 100vh;
  width: 100%;
  display: flex;
  flex-direction: column;
  align-items: center;
  transition: background-color 0.7s ease-out;
  overflow: hidden;
  padding-top: 100px;
}
.iltm h2 {
  font-size: 3.2rem;
  margin-bottom: 20px;
}
.iltm article {
  display: table;
  width: 85%;
  margin: 30px auto 0;
}
.iltm p {
  display: table-cell;
  vertical-align: top;
  width: 70%;
  padding-right: 40px;
  color: #fff;
  font-size: 1rem;
  line-height: 1.75rem;
  text-align: justify;
  text-justify: inter-word;
}
.iltm figure {
  display: table-cell;
  vertical-align: top;
  width: 30%;
}
.iltm img {
  width: 100%;
}

.iltm.is-crossed {
  background: #000616;
}
.iltm.is-crossed h2 {
  color: #ffffff;
}

.service_list {
  min-height: 100vh;
  display: flex;
  align-items: center;
  background-color: #F2F2F2;
}
.service_list .wrapper {
  max-width: 100%;
  padding: 0 50px 20px;
  overflow: hidden;
}
.service_list ul {
  display: inline-flex;
  gap: 80px;
}
.service_list li {
  position: relative;
}
.service_list img {
  width: 450px;
  height: 380px;
}
.service_list h2 {
  position: absolute;
  bottom: 0px;
  right: 0%;
  font-size: 20px;
  font-weight: bold;
  color: #141414;
  background-color: rgba(255, 255, 255, 0.85);
  display: inline-block;
  padding: 12px;
  border-top: 1px solid #A28550;
  border-left: 1px solid #A28550;
}

.service_intro {
  padding: 60px 50px 10px;
  min-height: 150vh;
  background-color: #F2F2F2;
}
.service_intro article {
  position: relative;
  width: 100%;
  margin-bottom: 50px;
}
.service_intro .service_image {
  display: block;
  width: 60%;
  height: auto;
  transform-origin: left top;
  border: 3px solid #ffffff;
  box-sizing: border-box;
  margin-bottom: 0px;
}
.service_intro .service_text {
  position: relative;
  width: 55%;
  z-index: 2;
  background: rgba(0, 0, 0, 0.8);
  padding: 30px 30px 20px;
  color: #FFF;
  margin-left: auto;
}
.service_intro .service_text h2 {
  font-size: 1.4rem;
  font-weight: bold;
  margin-bottom: 10px;
  letter-spacing: 0.02rem;
}
.service_intro .service_text p {
  font-size: 1rem;
  line-height: 1.7rem;
  text-align: justify;
  text-justify: inter-word;
  margin-bottom: 10px;
  border-bottom: 1px dotted #fff;
  padding-bottom: 10px;
}

@media only screen and (max-width: 980px) {
  .top {
    height: 480px;
    width: 100%;
  }
  .top .image {
    position: absolute;
    top: 70px;
    left: 0;
    height: 410px;
    width: 95%;
    background-size: 762px 509px;
  }
  .top .title {
    z-index: 1;
    width: 65%;
    padding-top: 80px;
  }

  .card {
    padding: 30px 0 0;
  }
  .card article {
    width: 90%;
    height: 400px;
    margin-top: 30px;
    gap: 30px;
  }
  .card figure {
    width: 400px;
    height: auto;
    overflow: hidden;
  }
  .card h2 {
    font-size: 1.35rem;
    line-height: 2rem;
    margin-bottom: 15px;
    margin-top: 30px;
  }
  .card p {
    font-size: 1.05rem;
    line-height: 1.75rem;
  }

  .iltm {
    height: auto;
    width: 100%;
    padding: 100px 0 50px;
  }
  .iltm h2 {
    font-size: 2.5rem;
    margin-bottom: 15px;
  }
  .iltm article {
    width: 85%;
    margin: 30px auto 0;
  }
  .iltm p {
    width: 60%;
    padding-right: 40px;
    font-size: 1.05rem;
    line-height: 1.75rem;
  }
  .iltm figure {
    width: 40%;
    vertical-align: middle;
  }

  .service_list {
    min-height: 0vh;
  }
  .service_list .wrapper {
    padding: 80px 30px 110px;
  }
  .service_list ul {
    display: inline-flex;
    gap: 60px;
  }
  .service_list li {
    position: relative;
  }
  .service_list img {
    width: 400px;
    height: 340px;
  }
  .service_list h2 {
    font-size: 1.2rem;
  }

  .service_intro {
    padding: 60px 50px 10px;
    min-height: 0vh;
  }
  .service_intro article {
    margin-bottom: 30px;
  }
  .service_intro .service_image {
    width: 85%;
  }
  .service_intro .service_text {
    position: relative;
    width: 70%;
    z-index: 2;
    background: rgba(0, 0, 0, 0.8);
    padding: 20px 15px 20px;
  }
  .service_intro .service_text h2 {
    font-size: 1.5rem;
    font-weight: bold;
    margin-bottom: 10px;
  }
  .service_intro .service_text p {
    font-size: 1.05rem;
    line-height: 1.75rem;
    margin-bottom: 10px;
    border-bottom: 1px dotted #fff;
    padding-bottom: 10px;
  }
}
@media only screen and (max-width: 680px) {
  .top {
    height: 280px;
    width: 100%;
  }
  .top .image {
    position: absolute;
    top: 10px;
    left: 0;
    height: 270px;
    width: 95%;
    background-size: 420px 315px;
  }
  .top .title {
    z-index: 1;
    width: 80%;
    padding-top: 20px;
  }

  .card {
    display: block;
    padding: 0px 0 30px;
  }
  .card article {
    width: 90%;
    height: auto;
    margin: 0px auto;
    display: block;
    justify-content: center;
    grid-template-columns: 0fr 0fr;
    gap: 0px;
  }
  .card figure {
    display: none;
  }
  .card .sp-on {
    display: block;
    margin-top: 50px;
    margin-bottom: 30px;
  }
  .card img {
    width: 100%;
    height: auto;
  }
  .card h2 {
    margin-top: 10px;
    font-size: 1.4rem;
    line-height: 2rem;
    margin-bottom: 15px;
    margin-top: 30px;
  }
  .card p {
    font-size: 1.3rem;
    line-height: 1.85rem;
  }

  .iltm {
    height: auto;
    width: 100%;
    padding: 80px 0 50px;
  }
  .iltm h2 {
    font-size: 2rem;
    margin-bottom: 15px;
  }
  .iltm article {
    width: 90%;
    margin: 30px auto 0;
  }
  .iltm p {
    width: 100%;
    padding-right: 0px;
    font-size: 1.3rem;
    line-height: 1.85rem;
    display: block;
  }
  .iltm figure {
    width: 80%;
    margin: 20px auto 0;
    vertical-align: middle;
    display: block;
  }

  .service_list {
    min-height: 0vh;
  }
  .service_list .wrapper {
    padding: 60px 20px 40px;
  }
  .service_list ul {
    gap: 30px;
  }
  .service_list img {
    width: 320px;
    height: auto;
  }
  .service_list h2 {
    position: relative;
    bottom: auto;
    right: auto;
    font-size: 1.6rem;
    background-color: rgba(255, 255, 255, 0);
    display: inline-block;
    padding: 0px 5px;
    border-top: 0px solid #A28550;
    border-left: 0px solid #A28550;
    margin-top: 15px;
  }

  .service_intro {
    padding: 30px 20px 10px;
    min-height: 0vh;
  }
  .service_intro article {
    margin-bottom: 20px;
  }
  .service_intro .service_image {
    width: 95%;
  }
  .service_intro .service_text {
    position: relative;
    width: 88%;
    z-index: 2;
    background: rgba(0, 0, 0, 0.8);
    padding: 20px 10px 20px;
  }
  .service_intro .service_text h2 {
    font-size: 1.6rem;
    font-weight: bold;
    margin-bottom: 10px;
  }
  .service_intro .service_text p {
    font-size: 1.3rem;
    line-height: 1.85rem;
  }
}
@media only screen and (max-width: 380px) {
  .top {
    height: 250px;
    width: 100%;
  }
  .top .image {
    position: absolute;
    top: 5px;
    left: 0;
    height: 245px;
    width: 96%;
    background-size: 380px 285px;
  }
  .top .title {
    z-index: 1;
    width: 80%;
    padding-top: 20px;
  }

  .card {
    padding: 0px 0 30px;
  }
  .card article {
    width: 90%;
  }
  .card .sp-on {
    display: block;
    margin-top: 50px;
    margin-bottom: 30px;
  }
  .card h2 {
    margin-top: 10px;
    font-size: 1.4rem;
    line-height: 2rem;
    margin-bottom: 15px;
    margin-top: 30px;
  }
  .card p {
    font-size: 1.12rem;
    line-height: 1.75rem;
  }

  .iltm {
    height: auto;
    width: 100%;
    padding: 80px 0 50px;
  }
  .iltm h2 {
    font-size: 1.8rem;
    margin-bottom: 15px;
  }
  .iltm article {
    width: 90%;
    margin: 15px auto 0;
  }
  .iltm p {
    font-size: 1.12rem;
    line-height: 1.75rem;
  }
  .iltm figure {
    width: 80%;
  }

  .service_list {
    min-height: 0vh;
  }
  .service_list .wrapper {
    padding: 60px 15px 30px;
  }
  .service_list ul {
    gap: 20px;
  }
  .service_list img {
    width: 270px;
    height: auto;
  }
  .service_list h2 {
    right: auto;
    font-size: 1.4rem;
    margin-top: 10px;
  }

  .service_intro {
    padding: 30px 20px 10px;
  }
  .service_intro article {
    margin-bottom: 20px;
  }
  .service_intro .service_text {
    width: 88%;
    background: rgba(0, 0, 0, 0.8);
    padding: 20px 10px 20px;
  }
  .service_intro .service_text h2 {
    font-size: 1.5rem;
    margin-bottom: 10px;
  }
  .service_intro .service_text p {
    font-size: 1.12rem;
    line-height: 1.75rem;
  }
}
