@charset "UTF-8";



/*--------------------
hero
---------------------*/
.hero {
  margin: 0 0 100px;
  position: relative;
  align-items: center;
  height: calc(100vh - 78px);
}

.hero-img {
  width: 100%;
  height: 100%;
  position: relative;
}

.hero-img img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  filter: brightness(0.85) contrast(0.9) saturate(0.9);
}

.section-title {
  text-align: center;
  position: absolute;
  top: 50%;
  right: 50%;
  transform: translateY(-50%) translateX(50%);
  z-index: 101;
}

.section-title span {
  background: linear-gradient(180deg, #f2b7d6, #9ad7ff);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
}

.section-title__img {
  position: absolute;
}

.one {
  width: clamp(35px, 2.394vw, 45px);
  bottom: -40px;
  left: clamp(-60px, -3.191vw, -20px);
  rotate: -15deg;
}

.two {
  width: clamp(45px, 2.926vw, 55px);
  bottom: 50%;
  left: clamp(-100px, -5.319vw, -50px);
  transform: translateY(50%);
  rotate: 15deg;
}

.three {
  width: clamp(35px, 2.394vw, 45px);
  top: -40px;
  left: clamp(-40px, -2.191vw, -5px);
  rotate: -15deg;
}

/*------------------------
scroll
----------------------------*/
.scroll {
  position: absolute;
  bottom: 25px;
  left: 10.638vw;
}

.scroll-text {
  font-size: 1.8rem;
  font-family: "Crimson Text", serif;
  color: #fff;
  text-align: center;
  transform: rotate(90deg);
}

.scroll-border {
  position: relative;
  top: 25px;
  width: 1px;
  height: 90px;
  background: #fff;
  margin: auto;
  overflow: hidden;
}

.scroll-border::before {
  position: absolute;
  content: "";
  display: block;
  width: 1px;
  height: 90px;
  top: 0;
  left: 0;
  right: 0;
  background: #000;
  animation: scrollbar 2s ease-in-out infinite;
  margin: auto;
}

@keyframes scrollbar {
  0% {
    height: 0;
    top: 0;
  }

  30% {
    height: 100%;
  }

  100% {
    top: 100%;
  }
}

/*------------------------
case container
----------------------------*/
.case-wrapper {
  display: flex;
  margin-bottom: 50px;
}

.case-left {
  width: 50%;
  padding: 20px;
}

.case-right {
  width: 50%;
  padding: 20px;
}

.case-right__wrapper {
  position: sticky;
  top: 50px;
  left: 0;
}

.case-inner {
  border-top: 1px solid #33333357;
  margin-block: 50px;
}

.case-right__wrapper>.case-inner:last-child {
  border-bottom: 1px solid #33333357;
  padding-bottom: 50px;
}

.case-img {
  width: 60%;
  margin-inline: auto;
  margin-block: 50px;
}

.case-img img {
  width: 100%;
  border: 1px solid #33333357;
  border-radius: 10px;
}

.case-wrapper img {
  width: 100%;
}

.case-section__title {
  margin-top: 50px;
  margin-bottom: 10px
}

.case-section__title h2 {
  font-size: clamp(2rem, 2.128vw, 4rem);
}

.case-cotnent__img img {
  border: 1px solid #33333357;
  border-radius: 10px;
  margin-top: 20px;
}

.case-section__text a {
  border-bottom: 1px solid #33333357;
  display: inline-block;
  transition: 0.3s ease;
}

.case-section__text a:hover {
  transform: scale(1.03);
  opacity: 0.5;
}

/*================
=================*/
@media (max-width: 899px) {
  .case-wrapper {
    flex-direction: column;
  }

  .case-left {
    order: 1;
    width: 100%;
  }

  .case-right {
    width: 100%;
  }

  .case-img {
    width: 100%;
    margin-block: 0;
    padding-inline: 20px;
  }

  .case-section__title {
    position: relative;
    margin-left: 15px;
  }

  .case-section__title::before {
    content: "";
    width: 5px;
    height: 80%;
    border-radius: 100px;
    background: #333;
    display: inline-block;
    position: absolute;
    left: -15px;
    top: 50%;
    transform: translateY(-50%);
  }
}

/*---------------------
contact
----------------------*/
.contact {
  width: 100%;
  padding: 80px 5%;
  border-radius: 40% 40% 0 0;
  background: linear-gradient(180deg, #ffd7e6, #d8ecff);
  display: flex;
  justify-content: center;
  align-items: center;
  margin-top: clamp(10px, 2.66vw, 50px);
}

.contact-title img {
  width: 80px;
}

.contact-title {
  text-align: center;
  flex: 1;
}

.contact-text {
  flex: 1.2;
}

.c-text {
  margin-bottom: 40px;
  margin-left: 20px;
}

.link {
  background: #fff;
  border-radius: 40px;
  padding: 18px 49px;
  display: flex;
  align-items: center;
  gap: 40px;
  margin-bottom: 20px;
  width: 600px;
  z-index: 0;
  overflow: hidden;
  position: relative;
}

.link::before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  width: 0;
  height: 100%;
  background: #d7c1d0;
  transition: width 0.3s ease;
  z-index: -1;
}

.link:hover::before {
  width: 100%;
}

.link span {
  margin: 0 0 5px;
}

.link img {
  width: 40px;
}

.tel img {
  width: 40px;
}

.tel {
  background: #fff;
  border-radius: 40px;
  padding: 18px 49px;
  display: flex;
  align-items: center;
  gap: 44px;
  margin-bottom: 20px;
  width: 600px;
  position: relative;
  overflow: hidden;
  z-index: 0;
}

.tel::before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  width: 0;
  height: 100%;
  background: #c8d3e7;
  transition: width 0.4s ease;
  z-index: -1;
}

.tel:hover::before {
  width: 100%;
}

.tel span {
  margin: 0 0 5px;
}

.link-arrow {
  position: relative;
}

.link-arrow::after {
  content: "";
  position: absolute;
  top: 50%;
  right: -70px;
  transform: translateY(-50%) skewX(45deg);
  width: 70px;
  height: 4px;
  border-bottom: 1px solid #222;
  border-right: 1px solid #222;
  transition: 0.4s ease, border-color 0.4s ease;
  display: inline-block;
  z-index: 1;
}

/*-------------------
footer
--------------------*/
#footer {
  background: #c1d7e7;
  /* height: 600px; */
}

.logo img {
  width: 50px;
}

.logo {
  display: flex;
  font-size: 1rem;
  gap: 20px;
  padding: 30px;
}

.logo h1 {
  margin: 10px 0 0 0;
}

.footer-text-wrapper {
  width: 400px;
  margin: 0 auto;
}

.footer-text {
  text-align: left;
  margin-left: 30px;
}

.footer-text2 {
  text-align: right;
  margin-right: 30px
}

.right {
  border-right: none;
  width: 333px;
  height: 100%;
  margin: 40px auto 0;
  border-top: 1px dashed #222;
  text-align: center;
}

.right p {
  border-bottom: 1px dashed #222;
  padding: 30px 0;
}

.right a:hover {
  color: #ffffff;
  transition: 0.25s ease;
  border-color: #222;
}

.sns img {
  width: 30px;
  height: 30px;
}

.sns {
  display: none;
  justify-content: center;
  gap: 15px;
  margin: 30px 0;
}

/*-------------------
back to tpo
--------------------*/
.btn {
  z-index: 100;
  position: fixed;
  right: 30px;
  bottom: 20px;
}

.btn a {
  display: inline-block;
  position: relative;
  width: 100%;
  height: 100%;
}

.btn a::before {
  position: absolute;
  width: 10px;
  height: 10px;
  transform: rotate(-45deg);
  border-top: solid 1px #222;
  border-right: solid 1px #222;
  content: "";
  transform: rotate(-45deg) translateY(-40%);
  top: 50%;
  right: 110px;
}

/*========================
==========================*/

@media (max-width: 768px) {

  /*------------------
    contact
    -------------------*/
  .contact {
    flex-direction: column;
  }

  .c-text {
    text-align: center;
    padding: 20px 0 0;
  }
}

@media (max-width: 599px) {

  /*-----------------
    contact
    ----------------*/
  .link {
    width: 500px;
    margin: 0 auto 20px;
  }

  .tel {
    width: 500px;
    margin: 0 auto 20px;
  }
}

@media (max-width: 499px) {
  h1 {
    /* font-size: 2.8rem; */
  }

  h2 {
    font-size: 2.8rem;
  }

  .footer-text-wrapper {
    width: 100%;
    text-align: center;
  }

  .footer-text-wrapper>div {
    text-align: center;
    margin: 0;
  }

  /*-------------------
    contact
    -------------------*/
  .contact {
    border-radius: 100px 100px 0 0;
    background: linear-gradient(180deg, #ffd7e6, #d8ecff);
  }

  .link {
    flex-direction: column;
    width: 310px;
    height: 200px;
    position: relative;
  }

  .link-arrow::after {
    content: "";
    position: absolute;
    top: -10px;
    right: -33px;
    transform: translateY(-50%) skewX(45deg);
    width: 70px;
    height: 4px;
    border-bottom: 1px solid #222;
    border-right: 1px solid #222;
    transition: 0.4s ease, border-color 0.4s ease;
    display: inline-block;
    z-index: 1;
  }

  .tel {
    flex-direction: column;
    width: 310px;
    height: 160px;
  }
}

/*=========================
=========================*/