/*==============================================================
HOME
==============================================================*/
/*fv*/
.fv {
}

.fv-cont {
  padding: 10px;
}

.fv-item {
  display: flex;
  gap: 16px;

  @media screen and (max-width: 991px) {
    flex-direction: column;
    gap: 8px;
  }
}

.fv-item img {
  border-radius: 10px;
  box-shadow: 0 2px 4px rgba(0, 0, 0, 0.2);
}

.fv-item-left {
  position: relative;
  z-index: 0;
  flex: 3;
  width: 100%;
  align-self: stretch;
}

.fv-item-left-img {
  height: 100%;

  @media screen and (max-width: 768px) {
    flex-direction: column;
    height: 300px;
  }
}

.fv-item-left-img img {
  width: 100%;
  max-width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}

.fv-item-left-txt-cont {
  position: absolute;
  bottom: 6%;
  left: 4%;
}

.fv .ftr-copy {
  font-size: clamp(2.5rem, -0.8333rem + 6.9444vw, 7.5rem);
  line-height: 1.1;
  border-bottom: 1px solid #fff;
  padding-bottom: 12px;
  margin-bottom: 12px;
  text-shadow: 0 2px 4px rgba(0, 0, 0, 0.5);
}

.fv-catch-sub {
  color: #fff;
  font-family: "shippori-antique-b1", sans-serif;
  font-weight: 500;
  text-shadow: 0 2px 4px rgba(0, 0, 0, 0.5);
  font-size: clamp(0.8125rem, 0.6875rem + 0.2604vw, 1rem);
}

.fv-item-right {
  flex: 1;
  display: flex;
  flex-direction: column;
  gap: 16px;

  @media screen and (max-width: 991px) {
    flex-direction: row;
    gap: 8px;
  }
}

.fv-about::after {
  background-image: url("../assets/img/home/top-fv-right-01.jpg");
}

.fv-service::after {
  background-image: url("../assets/img/home/top-fv-right-02.jpg");
}

.fv-about,
.fv-service {
  position: relative;
  display: block;
  width: 100%;
  aspect-ratio: 1 / 1;
  padding: 10px;
  border-radius: 10px;
  overflow: hidden;

  @media screen and (max-width: 991px) {
    padding: 4px;
  }
}

.fv-about:hover,
.fv-service:hover {
  background-size: 110%;
}

.fv-about::after,
.fv-service::after {
  content: "";
  position: absolute;
  inset: 0;
  background-size: cover;
  background-position: center;
  border-radius: 10px;
  transition: transform 0.4s ease;
  z-index: -1;
}

.fv-about:hover::after,
.fv-service:hover::after {
  transform: scale(1.05);
}
.fv-about::before,
.fv-service::before {
  content: "";
  position: absolute;
  inset: 0;
  background: rgba(0, 0, 0, 0.4);
  transition: background 0.4s ease;
  border-radius: 10px;
  z-index: 0;
}
.fv-about:hover::before,
.fv-service:hover::before {
  background: rgba(0, 0, 0, 0);
}

.fv-right-cont {
  position: relative;
  z-index: 1;
}

.fv-right-cont {
  display: flex;
  align-items: flex-end;
  justify-content: flex-end;
  padding: 10px;
  border: 1px solid #fff;
  height: 100%;
  border-radius: 10px;
}

.fv-page-txt {
  border-top: 1px solid #fff;
  padding-top: 8px;
  color: #fff;
}

.mission .cont {
  padding: 80px 32px 24px;

  @media screen and (max-width: 991px) {
    padding: 40px 16px 16px;
  }
}

.mission .box {
  max-width: 1200px;
}

.mission .item {
  text-align: center;
  display: flex;
  flex-direction: column;
  gap: 32px;
}

.home-common-ttl-cont {
  display: flex;
  flex-direction: column;
}

.mission-img {
  @media screen and (max-width: 991px) {
    height: 200px;
  }
}

.home-common-ttl {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  width: 100%;
}

.home-common-ttl::before,
.home-common-ttl::after {
  content: "";
  height: 1px;
  background: #000;
}

.home-common-ttl::before {
  width: 60px;
}

.home-common-ttl::after {
  width: 60px;
}

.home-common-ttl-en {
  font-size: clamp(3rem, 1.3333rem + 3.4722vw, 5.5rem);
  line-height: 1;
  color: #149737;
}

.mission-item-txt-ttl {
  font-size: clamp(1.75rem, 0.25rem + 3.125vw, 4rem);
  margin-bottom: 16px;
}

.mission-item-txt-des {
  line-height: 1.8;

  @media screen and (max-width: 991px) {
    text-align: left;
  }
}

.about {
  .box {
    max-width: 1420px;
  }

  .item {
    display: flex;

    @media screen and (max-width: 991px) {
      flex-direction: column;
      gap: 24px;
    }
  }
}
.about .item-left {
  flex: 1;
  display: flex;
  flex-direction: column;
  gap: 32px;
  padding-right: 2rem;

  @media screen and (max-width: 991px) {
    padding-right: 0;
  }
}

.about .home-common-ttl {
  justify-content: flex-start;

  @media screen and (max-width: 991px) {
    justify-content: center;
  }
}

.about .home-common-ttl-en {
  @media screen and (max-width: 991px) {
    justify-content: center;
    display: flex;
  }
}

.about .home-common-ttl::before {
  display: none;

  @media screen and (max-width: 991px) {
    display: block;
  }
}

.about .home-common-ttl::after {
  width: 25%;

  @media screen and (max-width: 991px) {
    width: 60px;
  }
}

.about-item-txt {
  display: flex;
  flex-direction: column;
  gap: 32px;
  padding-right: 40px;

  @media screen and (max-width: 991px) {
    padding-right: 0;
  }
}

p.about-item-txt-des {
  line-height: 1.8;
}

.about-item-txt-ttl {
  font-size: clamp(2rem, 1.3333rem + 1.3889vw, 3rem);
  padding-left: 2rem;

  @media screen and (max-width: 991px) {
    padding-left: 0;
    text-align: center;
  }
}

.about-item-txt-ttl span {
  padding-left: 2rem;
}

.about .item-right {
  flex: 1.2;
}

.about-img {
  padding-right: 1.5rem;
  position: relative;
}

.about-img::after {
  content: "";
  position: absolute;
  top: 0;
  right: 0;
  height: 100%;
  width: 8px;
  border-radius: 50px;
  background: #149737;
}

.about-img img {
  border-radius: 10px;
  box-shadow: 0 2px 4px rgba(0, 0, 0, 0.2);
}

.common-btn {
  display: inline-flex;
  justify-content: flex-end;
  transition: color 0.3s ease;
}

.common-btn-txt-cont {
  display: flex;
  gap: 8px;
}

.common-btn-txt {
  position: relative;
  padding-bottom: 8px;
  height: fit-content;
}

.common-btn-txt::before {
  content: "";
  position: absolute;
  width: 130%;
  bottom: 0;
  left: 0;
  border-bottom: 1px solid #333;
  transition: border-color 0.3s ease;
}

.common-btn-arrow {
  transition: transform 0.3s ease;
}

.common-btn:hover {
  color: #008000;
}

.common-btn:hover .common-btn-txt::before {
  border-color: #008000;
}

.common-btn:hover .common-btn-arrow {
  transform: translateX(6px);
}

.service {
  display: flex;
  flex-direction: column;
  gap: 40px;

  .box {
    max-width: 1420px;
  }
}

.service .cont {
  padding: 80px 32px 0;

  @media screen and (max-width: 991px) {
    padding: 40px 16px 0;
  }
}

.service .item {
  display: flex;
  justify-content: space-between;

  @media screen and (max-width: 991px) {
    flex-direction: column;
    gap: 24px;
  }
}

.service .item-left {
  flex: 1;
}

.service .item-right {
  display: flex;
  flex-direction: column;
  gap: 19px;
  justify-content: flex-end;
  flex: 1.3;
}

.item-right-ttl-cont {
  display: flex;
  justify-content: space-between;
  align-items: flex-end;
  gap: 32px;

  @media screen and (max-width: 991px) {
    flex-direction: column;
    justify-content: center;
    align-items: center;
    gap: 16px;
  }
}

.service-item-txt-ttl {
  font-size: clamp(2rem, 1.3333rem + 1.3889vw, 3rem);

  @media screen and (max-width: 991px) {
    text-align: center;
  }
}

.service-img-cont {
  background: #000;
  padding: 16px;
  display: flex;
  gap: 16px;

  @media screen and (max-width: 991px) {
    flex-direction: column;
    gap: 8px;
  }
}

.service-img-left {
  flex: 1;
}

.service-img-right {
  width: 51.3%;
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 16px;

  @media screen and (max-width: 991px) {
    width: 100%;
    gap: 8px;
  }
}

.service-img img {
  width: 100%;
  max-width: 100%;
  display: block;
  object-fit: cover;
  border-radius: 10px;
}

.service-item-txt-des {
  line-height: 1.8;
}

.fv-item-left-txt-cont {
  overflow: hidden;
}

.ftr-copy {
  clip-path: inset(0 100% 0 0);
  animation: slideReveal 1s cubic-bezier(0.77, 0, 0.175, 1) 0.5s forwards;
}

.fv-catch-sub {
  clip-path: inset(0 100% 0 0);
  animation: slideReveal 1s cubic-bezier(0.77, 0, 0.175, 1) 0.7s forwards;
}

@keyframes slideReveal {
  to {
    clip-path: inset(0 0% 0 0);
  }
}
