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

　★★★★★★★★★★ トップページ ★★★★★★★★★★
　tecno-juso > index.php

==========================================================================================*/
/*------------------------------------------------------------------------------------------
　★★★★★ トップページ - MV（.mv）★★★★★
------------------------------------------------------------------------------------------*/
.mv {
  position: relative;
  padding: 0;
}
.mv__slider {
  width: 100%;
}
.mv__slider .swiper-slide img {
  width: 100%;
  height: auto;
  display: block;
}
.mv__slider .swiper, .mv__slider .swiper-wrapper, .mv__slider .swiper-slide {
  height: auto !important;
}
.mv__text {
  position: absolute;
  top: 50%;
  left: 8%;
  transform: translateY(-50%);
  z-index: 10;
  max-width: 480px;
}
.mv__catch {
  font-size: 1.125rem; /* 18px */
  color: var(--color-green-dark);
  margin-bottom: 12px;
}
.mv__title {
  font-family: 'Noto Serif JP', serif;
  font-size: clamp(1.6rem, 3vw, 2rem);
  letter-spacing: 0.2rem;
  line-height: 1.5;
  margin-bottom: 24px;
}
.mv__title span {
  font-size: clamp(2rem, 4vw, 4rem);
  color: var(--color-green-dark);
}
.mv__desc {
  font-size: 1.125rem; /* 18px */
  letter-spacing: 0.2rem;
  line-height: 2;
  margin-bottom: 32px;
}
/*========== ボタン ==========*/
.btn--mv {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 14px 32px;
  border-radius: 4px;
  background-color: var(--color-green-dark);
  color: #fff !important;
  transition: opacity 0.3s;
  position: relative;
  padding-right: 48px;
}
.btn--mv::after {
  content: '›';
  font-size: 1.4rem;
  position: absolute;
  right: 20px;
  top: 50%;
  transform: translateY(-50%);
}
.btn--mv:hover {
  opacity: 0.8;
  color: #fff !important;
}
/******************** SP：スマホ〜AirPad Air（〜820px）********************/
@media screen and (max-width: 820px) {
  .mv__catch, .mv__desc {
    font-size: 1rem; /* 16px */
  }
}
/******************** SP：スマホ（〜767px）********************/
@media screen and (max-width: 767px) {
  .mv__text {
    position: absolute;
    top: 48%;
    left: 50%;
    transform: translate(-50%, -50%);
    max-width: 85%;
    width: 85%;
    text-align: center;
    background-color: rgba(255, 255, 255, 0.75);
    padding: 32px;
    border-radius: 16px;
  }
  .mv__catch, .mv__desc {
    font-size: 0.875rem; /* 14px */
    letter-spacing: 0;
  }
  .mv__title {
    font-size: 1.5rem; /* 24px */
    letter-spacing: 0;
  }
  .mv__title span {
    font-size: 2.5rem; /* 40px */
  }
  /*========== ボタン ==========*/
  .btn--mv {
    width: 100%;
    justify-content: center;
    padding: 14px 48px 14px 32px;
  }
}
/*------------------------------------------------------------------------------------------
　★★★★★ トップページ - section：選ばれる理由（.reason）★★★★★
------------------------------------------------------------------------------------------*/
.reason__cards {
  display: flex;
  gap: 32px;
}
.reason__card {
  flex: 1;
  text-align: center;
  padding: 40px 24px;
  border: 1.5px solid var(--color-brown);
  border-radius: 20px;
}
.reason__card img {
  height: 64px;
  width: auto;
  margin: 0 auto 20px;
}
.reason__card-title {
  margin-bottom: 12px;
  color: var(--color-brown);
}
/******************** SP：スマホ〜AirPad Air（〜820px）********************/
@media screen and (max-width: 820px) {
  .reason__cards {
    flex-direction: column;
    gap: 16px;
  }
  .reason__card {
    display: flex;
    flex-direction: row;
    align-items: center;
    gap: 20px;
    padding: 24px 20px;
    text-align: left;
    max-width: 380px;
    margin: 0 auto;
    width: 100%;
  }
  .reason__card img {
    height: 80px;
    flex-shrink: 0;
    margin: 0;
  }
  .reason__card__body {
    flex: 1;
    min-width: 0;
  }
  .reason__card:nth-child(even) {
    flex-direction: row-reverse;
    text-align: right;
  }
  .reason__card-title {
    text-align: center;
    margin-bottom: 8px;
  }
  .reason__card-text {
    text-align: center;
  }
}
/******************** SP：スマホ（〜767px）********************/
@media screen and (max-width: 767px) {
  .reason__card {
    gap: 18px;
    padding: 20px 18px;
  }
  .reason__card-title {
    font-size: 1.125rem; /* 18px */
  }
  .reason__card-text {
    font-size: 0.9375rem; /* 15px */
  }
}
/*------------------------------------------------------------------------------------------
　★★★★★ トップページ - section：施工事例（.works）★★★★★
------------------------------------------------------------------------------------------*/
.works__grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 16px;
  margin-bottom: 60px;
}
.works__item {
  position: relative;
  border-radius: 10px;
}
.works__item-label {
  position: absolute;
  bottom: -20px;
  left: 50%;
  transform: translateX(-50%);
  background-color: var(--color-base1);
  color: var(--color-brown);
  padding: 4px 16px;
  border: 1px solid var(--color-brown);
  border-radius: 10px;
  white-space: nowrap;
}
.works__btns {
  display: flex;
  justify-content: center;
  gap: 24px;
}
/******************** SP：スマホ〜AirPad Air（〜820px）********************/
@media screen and (max-width: 820px) {
  .works__grid {
    grid-template-columns: repeat(2, 1fr);
    gap: 40px;
  }
}
/******************** SP：スマホ（〜767px）********************/
@media screen and (max-width: 767px) {
  .works__grid {
    gap: 20px;
    margin-bottom: 50px;
  }
  .works__item-label {
    bottom: -10px;
    font-size: 0.875rem; /* 14px */
  }
  .works__btns {
    flex-direction: column;
    align-items: center;
  }
}
/*--------------------------------------------------------------------------------
　★★★★★ トップページ - section：私たちについて（.about）★★★★★
--------------------------------------------------------------------------------*/
.about {
  background-color: var(--color-base1);
}
.about__inner {
  display: flex;
  align-items: center;
  gap: 80px;
}
.about__left {
  flex: 5;
}
.about__left .section-title {
  text-align: left;
  margin-bottom: 24px;
}
.about__left .section-title__en::before {
  margin: 0 0 12px;
}
.about__desc {
  line-height: 2;
  margin-bottom: 32px;
}
.about__image {
  flex: 2;
  border: 4px solid #fff;
  border-radius: 999px;
  overflow: hidden;
  margin-right: 80px;
}
/******************** SP：スマホ〜AirPad Air（〜820px）********************/
@media screen and (max-width: 820px) {
  .about__inner {
    flex-direction: column;
    gap: 30px;
  }
  .about__left {
    display: contents;
  }
  .about__left .section-title {
    text-align: center;
    order: 1;
  }
  .about__left .section-title__en::before {
    margin: 0 auto 12px;
  }
  .about__image {
    order: 2;
    width: 200px;
    margin: 0 auto;
  }
  .about__desc {
    order: 3;
    text-align: center;
    margin-bottom: 0;
  }
  .about__left .btn--outline {
    order: 4;
    display: block;
    text-align: center;
    margin: 0 auto;
  }
}
/******************** SP：スマホ（〜767px）********************/
@media screen and (max-width: 767px) {
  .about__desc {
    text-align: left;
  }
}
/*------------------------------------------------------------------------------------------
　★★★★★ トップページ - section：サービス（.service）★★★★★
------------------------------------------------------------------------------------------*/
.service__list {
  display: flex;
  flex-direction: column;
  gap: 40px;
}
.service__item {
  display: flex;
  align-items: center;
  background-color: var(--color-base2);
  border-radius: 20px;
  overflow: hidden;
  position: relative;
}
.service__item:nth-child(even) {
  flex-direction: row-reverse;
}
.service__item::after {
  content: '';
  position: absolute;
  bottom: 20px;
  right: 20px;
  width: 120px;
  height: 120px;
  background-image: url('../images/top/leaf_right.webp');
  background-size: contain;
  background-repeat: no-repeat;
  background-position: bottom right;
}
.service__item:nth-child(even)::after {
  right: auto;
  left: 20px;
  background-image: url('../images/top/leaf_left.webp');
  background-position: bottom left;
}
.service__image {
  flex: 1;
  border: 8px solid var(--color-base2);
}
.service__image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}
.service__text {
  flex: 1;
  padding: 40px;
}
.service__title {
  margin-bottom: 16px;
  color: var(--color-brown);
  text-align: center;
}
.service__desc {
  line-height: 2;
  margin-bottom: 32px;
}
.service__text .btn--outline {
  display: block;
  width: fit-content;
  margin: 0 auto;
}
/******************** SP：スマホ／TB：タブレット（〜1024px）********************/
@media screen and (max-width: 1024px) {
  .service__item::after {
    width: 100px;
    height: 100px;
  }
}
/******************** SP：スマホ〜AirPad Air（〜820px）********************/
@media screen and (max-width: 820px) {
  .service__item {
    flex-direction: column !important;
  }
  .service__image {
    width: 100%;
  }
  .service__text {
    width: 100%;
    text-align: center;
  }
	.service__desc{
		text-align: left;
	}
}
/******************** SP：スマホ（〜767px）********************/
@media screen and (max-width: 767px) {
	.service__text {
		padding: 30px 30px 38px;
	}
}