/* topページ全般 */
.mtd-top {
  color: var(--mtd-text);
  font-family: 'Noto Sans JP', 'Noto Sans', "Hiragino Kaku Gothic ProN", "Yu Gothic", Meiryo, sans-serif;
  font-weight: 500;
  letter-spacing: 0.14em;
}
.p-page-header{
	margin-bottom:0;
}
.mtd-heading {
  margin-bottom: 34px;
}

.mtd-heading--center {
  text-align: center;
}

.mtd-lead {
  margin-bottom: 52px;
  font-size: clamp(1.125rem, 1.071rem + 0.27vw, 1.313rem);
  font-weight: 500;
  letter-spacing: 0.3em;
  line-height: 2.14;
  text-align: center;
}
.mtd-lead span {
display:inline-block;
		}
.mtd-heading__title {
  color: var(--mtd-blue);
  font-size: 32px;
  font-weight: 900;
  letter-spacing: 0.3em;
  line-height: 1.7;
  margin: 0;
}

.mtd-heading__sub {
  color: var(--mtd-green);
  font-size: 18px;
  font-weight: 900;
  letter-spacing: 0.3em;
  line-height: 1.7;
}

/*MVエリア */
.mtd-hero {
  position: relative;
  min-height: clamp(520px, 57vw, 730px);
  background-image: linear-gradient(90deg, rgba(38, 36, 98, 0.74), rgba(113, 207, 70, 0.74)), url("../img/hero-bg.webp");
  background-position: center;
  background-size: cover;
}

.mtd-hero::before,
.mtd-hero::after {
  position: absolute;
  content: "";
  pointer-events: none;
}

.mtd-hero::before {
  inset: 0;
  background:
    linear-gradient(90deg, rgba(255, 255, 255, 0.08) 1px, transparent 1px),
    linear-gradient(0deg, rgba(255, 255, 255, 0.08) 1px, transparent 1px);
  background-size: 72px 72px;
  opacity: 0.26;
}

.mtd-hero__inner {
  position: relative;
  z-index: 1;
  display: grid;
  grid-template-columns: auto 1fr;
  align-items: center;
  width: min(100%, 1248px);
  min-height: inherit;
  margin: 0 auto;
  padding: 72px 24px 54px;
}

.mtd-hero__copy {
  color: #fff;
  text-shadow: 0 10px 26px rgba(0, 0, 0, 0.28);
  margin-top: min(10.68vw, 78px);
  font-family: 'Noto Sans', sans-serif;
  font-size: clamp(1.875rem, 1.261rem + 3.07vw, 3.563rem);
  font-weight: 900;
  line-height: 1.26;
  letter-spacing: 0.14em;
opacity: 0;
  transform: translateY(30px);
  animation: mvFadeIn 0.8s ease forwards;
  animation-delay: 1.0s;
}

.mtd-hero__subcopy {
  display: block;
  margin-top: 22px;
  font-family: 'noto sans jp', sans-serif;
  font-size: clamp(1.125rem, 0.92rem + 1.02vw, 1.688rem);
  font-weight: 700;
  line-height: 1.36;
  letter-spacing: 0.1em
	  opacity: 0;
  transform: translateY(30px);
  animation: mvFadeIn 0.8s ease forwards;
  animation-delay: 1.3s;
}

.mtd-hero__cards {
  position: absolute;
  top: 0;
  right: 0;
  width: min(38vw, 520px);
  height: 100%;
	opacity: 0;
  transform: translateY(30px);
  animation: mvFadeIn 0.8s ease forwards;
  animation-delay: 1.6s;
}

@media (max-width: 767px) {
  .mtd-hero__cards {
    width: 64vw;
  }
}

.mtd-hero__cards img {
  position: absolute;
  display: block;
  object-fit: cover;
  border-radius: 18px;
}

.mtd-hero__cards img:nth-child(1) {
  top: min(16.44vw, 120px);
  left: -6%;
  width: 60%;
  z-index: 1;
}

.mtd-hero__cards img:nth-child(2) {
  top: 38%;
  right: 2%;
  width: 80%;
}

.mtd-hero__cards img:nth-child(3) {
  bottom: 30px;
  left: 6%;
  width: 56%;
}

@media screen and (max-width: 991px) {
  .mtd-hero__cards img:nth-child(3) {
    width: 44%;
    left: 30%;
  }
}

@media (max-width: 767px) {
  .mtd-hero__cards img:nth-child(1) {
    left: 6%;
    top: 20px;
    width: 40%;
  }

  .mtd-hero__cards img:nth-child(2) {
    top: 9%;
    right: 2%;
    width: 60%;
  }
}

@media (max-width:425px) {
  .mtd-hero__cards img:nth-child(1) {
    width: 56%;
  }

  .mtd-hero__cards img:nth-child(2) {
    top: 17%;
    right: 4%;
    width: 70%;
  }

  .mtd-hero__cards img:nth-child(3) {
    width: 60%;
  }
}

.hero__illusts {
  position: absolute;
  inset: 0;
  z-index: 1;
  pointer-events: none;
  max-width: 1200px;
  margin: 0 auto;
}

.hero__illust {
  position: absolute;
  display: block;
  height: auto;
}

.hero__illust--drone {
  width: clamp(100px, 26.69vw, 202px);
  top: 18%;
  left: 2%;
	opacity: 0;
    transform: translateY(30px);
    animation: mvFadeIn 0.8s ease forwards;
    animation-delay: 1.0s;
}

.hero__illust--excavator {
  width: clamp(100px, 26.76vw, 136px);
  left: 7%;
  bottom: 4%;
	opacity: 0;
    transform: translateY(30px);
    animation: mvFadeIn 0.8s ease forwards;
    animation-delay: 1.0s;
}

@media screen and (max-width: 1024px) {
  .hero__illust--excavator {
    width: min(23.4vw, 112px);
  }
}

.hero__illust--house {
  width: clamp(96px, 27.9vw, 165px);
  left: 36%;
  bottom: 13%;
	opacity: 0;
    transform: translateY(30px);
    animation: mvFadeIn 0.8s ease forwards;
    animation-delay: 1.0s;
}

@media screen and (max-width: 767px) {
  .hero__illust--house {
    bottom: 21%;
  }
}
@keyframes mvFadeIn {
	from {
    opacity: 0;
    transform: translateY(30px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

/* going!100 */
.mtd-going {
  position: relative;
  background: linear-gradient(90deg, rgba(237, 242, 255, 0.8), rgba(244, 255, 238, 0.8)), url(../img/mtd-going-bg.webp) center/cover;
}

.mtd-going::before {
  position: absolute;
  inset: 0;
  background: linear-gradient(135deg, rgba(26, 89, 153, 0.08), rgba(107, 216, 66, 0.12));
  content: "";
}

.mtd-going .mtd-section__inner {
  position: relative;
}

.mtd-heading .mtd-going__title {
  margin: 0 auto;
  width: clamp(240px, 11.357rem + 18.21vw, 444px);
}

.mtd-heading .mtd-going__sub-title {
  margin: 4px 0 0;
  color: var(--mtd-blue);
  font-size: 15px;
  font-weight: 900;
    line-height: 1.6;
}
.mtd-heading .mtd-going__sub-title span{
	display:inline-block;
}

.mtd-going__photos {
  display: grid;
  grid-template-columns: 1fr 1fr;
  max-width: 1000px;
  margin: 0 auto 42px;
}

.mtd-going__photos img {
  aspect-ratio: 5 / 3;
  object-fit: cover;
}

.mtd-going .mtd-section-label {
  margin-bottom: 34px;
  max-width: 1000px;
  margin-inline: auto;
}

.mtd-section-label::before,
.mtd-section-label::after {
  content: "";
  display: block;
  height: 1px;
  background-color: currentColor;
}

.mtd-going__link-list {
  font-size: clamp(1.125rem, 0.982rem + 0.71vw, 1.625rem);
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 16px 120px;
  max-width: 720px;
  list-style: none;
  justify-items: start;
  width: fit-content;
  margin: 0 auto 52px;
	color:var(--mtd-blue);
}

@media (max-width: 767px) {
  .mtd-going__link-list {
    grid-template-columns: 1fr;
  }
}
.mtd-going__link-list li{
	display:flex;
	align-items:center;
}
.mtd-going__link-list li::before,
.mtd-text-links li::before {
display:inline-block;
  width: 30px;
  height: 30px;
  margin-right: 8px;
  content: "";
}

.mtd-going__link-list li:nth-child(1)::before {
  background: url("../img/going__link-icon1.svg") center/contain no-repeat;
}

.mtd-going__link-list li:nth-child(2)::before {
  background: url("../img/going__link-icon2.svg") center/contain no-repeat;
}

.mtd-going__link-list li:nth-child(3)::before {
  background: url("../img/going__link-icon3.svg") center/contain no-repeat;
}

.mtd-going__link-list li:nth-child(4)::before {
  background: url("../img/going__link-icon4.svg") center/contain no-repeat;
}

.mtd-project {
  background: var(--mtd-bg);
}

.mtd-project .mtd-heading {
  margin-bottom: 90px;
}

/* 松田建設のしごと Project */
.mtd-project__body {
  display: grid;
  grid-template-columns: minmax(360px, 620px) 1fr;
  column-gap: 5.19%;
  align-items: start;
  margin-bottom: 80px;
max-width: 86vw;
}
@media screen and (min-width: 1441px) {
	.mtd-project__body{
		grid-template-columns: 1fr 1fr;
		margin-bottom: 120px;
	}
}
.mtd-project__image {
  margin-left: -40px;
  position: relative;
  aspect-ratio: 620 / 535;
	object-fit:cover;
}

.mtd-project__image img {
  width: 100%;
  height: auto;
  border-radius: 0 6% 6% 0;
  display: block;
    object-fit: cover;
}

.mtd-project__image::before {
  position: absolute;
  left: calc(50% - 30px);
  top: -20%;
  width: 37%;
  aspect-ratio: 5 / 3;
  background: url(../img/project__illust1.svg) center/contain no-repeat;
  content: "";
}

.mtd-project__image::after {
  position: absolute;
  left: -36px;
  bottom: -34px;
  width: 74%;
  height: 20%;
  background: linear-gradient(90deg, var(--mtd-blue) 0, var(--mtd-blue) 50%, var(--mtd-green) 100%);
  opacity: 0.74;
  content: "";
}

@media screen and (max-width: 991px) {
  .mtd-project__image::before {
    left: 10%;
  }
}

.mtd-project__text-block {
  max-width: 560px;
  padding-top: clamp(20px, calc(80px - 5vw), 60px);
  display: flex;
  flex-direction: column;
  height: 100%;
}

.mtd-project__title {
  margin: 0 0 22px;
  color: var(--mtd-blue);
  font-size: clamp(22px, 1.232rem + 0.71vw, 30px);
  font-weight: 400;
  line-height: 1.4;
  letter-spacing: 0.08em;
}
.mtd-project__title span{
	display:inline-block;
}

.mtd-project__text {
  font-size: clamp(15px, 0.849rem + 0.38vw, 19px);
  line-height: 2.1;
  letter-spacing: 0.054em;
  margin-bottom: 38px;
	  span {
		  display:inline-block;
	}
}
@media screen and (min-width: 1441px) {
	.mtd-project__text-block {
		max-width: 960px;
	}
	.mtd-project__title{
		font-size: 1.5vw;
	}
	.mtd-project__text{
		font-size: 0.8vw;
	}
}
@media screen and (max-width:767px) {
  .mtd-project__text {
    letter-spacing: 0.03em;
  }
}

.mtd-project__list {
  display: inline grid;
  gap: 20px;
  padding: 0;
  list-style: none;
}

li.mtd-project__list-item {
  display: inline grid;
  grid-template-columns: 30px 1fr;
  gap: 8px;
  align-items: center;
font-size: clamp(21px, 1.202rem + 0.47vw, 26px);
  color: var(--mtd-blue);
  letter-spacing: 0.1em;
}

.mtd-project__list-item::before {
  content: "";
  display: inline-block;
  width: 1em;
  height: 1em;
font-size:clamp(21px, 1.202rem + 0.47vw, 26px);
}

.mtd-project__list-item:nth-child(1)::before {
  background: url(../img/project__link-icon1.svg) center/contain no-repeat;
}

.mtd-project__list-item:nth-child(2)::before {
  background: url(../img/project__link-icon2.svg) center/contain no-repeat;
}

.mtd-project__list-item:nth-child(3)::before {
  background: url(../img/project__link-icon3.svg) center/contain no-repeat;
}

.mtd-project__text-block .mtd-btn {
  margin: auto 0 0 auto;
}

@media screen and (max-width:767px) {
  .mtd-project__text-block .mtd-btn {
    margin: 54px auto 0 auto;
  }
}

.mtd-project .mtd-section-label {
  color: #CCCCCC;
  margin-bottom: 26px;
  margin-inline: 0 auto;
  grid-template-columns: auto 1fr;
  width: 100%;
}

.mtd-project .mtd-section-label::before {
  display: none;
}

.swiper.mtd-project__works-list {
  margin: 0 calc(50% - 50vw) 16px;
}

.mtd-project__works-list .swiper-wrapper {
  transition-timing-function: linear;
}

.swiper.mtd-project__works-list .swiper-slide img {
  border-radius: 30px;
}
@media screen and (min-width: 1441px) {
	.mtd-project__list{
		gap: 28%;
	}
	li.mtd-project__list-item{
		gap: 2%;
		font-size: 1.2vw;
	}
	.mtd-project__list-item::before{
    font-size: 1.2vw;
	}
}

@media screen and (max-width: 767px) {
  .mtd-project__works-list {
    grid-template-columns: 1fr;
  }

  .mtd-project__works-list {
    margin-top: 42px;
  }
}

.mtd-project__works-caption {
  font-size: 14px;
  letter-spacing: 0.3em;
  text-align: center;
}

/* データでみる松田建設 */
.mtd-data {
  background: var(--mtd-bg);
  position: relative;
}

/* .mtd-data::after {
  position: absolute;
  right: -7%;
  bottom: 3%;
  width: 42vw;
  height: auto;
  background: linear-gradient(90deg, var(--mtd-blue), var(--mtd-green));
  opacity: 0.74;
  content: "";
  display: block;
aspect-ratio: 390 / 143;
}
@media screen and (max-width: 767px) {
	.mtd-data::after {
	bottom: 10%;
	}
} */

.mtd-data .mtd-section__inner {
  padding-bottom: 120px;
}

.mtd-data__intro {
  margin-bottom: 60px;
  color: var(--mtd-blue);
  font-size: 17px;
  letter-spacing: 0.05em;
  text-align: center;
	line-height:1.6;
}
.mtd-data__intro span{
	display:inline-block;
}

.mtd-data__grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 360px));
  justify-content: center;
  gap: 80px 60px;
  margin-bottom: 60px;
  position: relative;
}

.mtd-data__grid img {
  width: 100%;
}

/* .mtd-data__grid::after {
  content: "";
  background: url(../img/data-illust1.svg) center/contain no-repeat;
  width: clamp(120px, 19.44vw, 280px);
  aspect-ratio: 280 / 183;
  position: absolute;
  top: 28%;
  right: -9%;
} */

/* 働く仲間 Team */
.mtd-team {
  position: relative;
  min-height: 700px;
  background-color: var(--mtd-bg);
  overflow: visible;
  border-bottom: 70px solid var(--mtd-bg);
}

.mtd-team::before,
.mtd-team::after {
  position: absolute;
  content: "";
  pointer-events: none;
}

.mtd-team::before {
  content: "";
  background: url(../img/team-illust1.svg) center/contain no-repeat;
  width: 230px;
  height: 192px;
  top: -150px;
  left: 200px;
  z-index: 1;
}
@media screen and (max-width:767px ){
	.mtd-team::before {
	width: 190px;
    height: 192px;
    top: -160px;
    left: 30px;
    z-index: 1;
	}
}

.mtd-team::after {
  left: 0;
  bottom: 0;
  width: 26%;
  height: 118px;
  background: linear-gradient(90deg, var(--mtd-blue), var(--mtd-green));
  opacity: 0.72;
}

.mtd-team__photos {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  grid-template-rows: 1fr 1fr;
  position: absolute;
  inset: 0;

}
@media screen and (max-width:767px) {
	.mtd-team__photos {
		  grid-template-columns: 1fr;
		height: 700px;
		}
	}
.mtd-team__photos img {
  height: 100%;
  min-height: 0;
  object-fit: cover;
	object-position: center;
}

.mtd-team__panel {
  position: relative;
  z-index: 1;
  width: min(100%, 1000px);
  margin: 0 auto;
  padding: clamp(24px, 5.1vw, 52px) clamp(38px, 10.5vw, 106px);
  border-radius: 30px;
  background: rgba(255, 255, 255, 0.75);
}


.mtd-team__panel-text {
  font-size: clamp(0.875rem, 0.831rem + 0.19vw, 1rem);
  line-height: 2;
  text-align: center;
}
.mtd-team__panel-text span {
display:inline-block;
}

.mtd-team__panel .mtd-section-label {
  color: #CCCCCC;
  margin-bottom: 26px;
  margin-inline: 0 auto;
  grid-template-columns: 1fr auto;
  max-width: 422px;
}

.mtd-team__panel .mtd-section-label::after {
  display: none;
}

.mtd-team__list {
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  gap: 24px;
  margin-bottom: 34px;
}

.mtd-team__list-item {
  display: flex;
  flex: 0 0 auto;
  align-items: center;
  gap: 10px;
  font-size: clamp(16px, 0.78rem + 0.94vw, 26px);
  color: var(--mtd-blue);
  white-space: nowrap;
}

.mtd-team__list-item::before {
  content: "";
  flex-shrink: 0;
  width: clamp(28px, 3vw, 34px);
  height: clamp(28px, 3vw, 34px);
}

.mtd-team__list-item:nth-child(1)::before {
  background: url(../img/team__link-icon1.svg) center/contain no-repeat;
}

.mtd-team__list-item:nth-child(2)::before {
  background: url(../img/team__link-icon2.svg) center/contain no-repeat;
}

.mtd-team__list-item:nth-child(3)::before {
  background: url(../img/team__link-icon3.svg) center/contain no-repeat;
}

@media screen and (max-width:767px) {
  .mtd-team__panel {
    padding: 42px 20px;
  }

  .mtd-team__list {
    flex-direction: column;
    gap: 14px;
  }
}

/* ctaエリア */
.mtd-cta {
  position: relative;
  padding: 88px 24px;
  background: linear-gradient(90deg, rgba(38, 36, 98, 0.8), rgba(113, 207, 70, 0.8)), url(../img/cta-bg.jpg) center/cover no-repeat;
}

.mtd-cta__inner {
  width: min(100%, 820px);
  margin: 0 auto;
  text-align: center;
}

.mtd-cta__copy {
  margin: 0 0 74px;
  color: #fff;
  font-size: clamp(20px, 1.089rem + 0.8vw, 29px);
  font-weight: 700;
  line-height: 1.7;
  letter-spacing: 0.25em;
}

.mtd-cta__buttons {
  display: flex;
  justify-content: center;
  gap: 26px;
}

.mtd-cta__buttons a {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-width: 400px;
  min-height: 120px;
}

.mtd-cta__buttons a:nth-child(1) {
  background: url(../img/cta-btn1.jpg) center/contain no-repeat;
}

.mtd-cta__buttons a:nth-child(2) {
  background: url(../img/cta-btn2.jpg) center/contain no-repeat;
}

@media screen and (max-width: 991px) {
  .mtd-section {
    padding: 72px 20px;
  }

  .mtd-hero__inner,
  .mtd-project__body {
    grid-template-columns: 1fr;
  }

  .mtd-hero__inner {
    gap: 24px;
    padding-top: 54px;
  }

  .mtd-hero__cards {
    min-height: 260px;
  }

  .mtd-project__text {
    max-width: 720px;
  }
.mtd-project__text span {
    display: inline-block;
}
  .mtd-data__grid {
    gap: 26px;
  }
}

@media screen and (max-width: 767px) {
  .mtd-section {
    padding: 58px 18px;
  }

  .mtd-heading {
    margin-bottom: 24px;
  }

  .mtd-heading h2 {
    font-size: 23px;
  }

  .mtd-lead {
    font-size: 14px;
    line-height: 2;
	letter-spacing: 0.15em;
  }

  .mtd-hero {
    min-height: 620px;
  }

  .mtd-hero__inner {
    min-height: 620px;
    padding-inline: 18px;
  }

  .mtd-cta {
    padding: 64px 18px;
  }

  .mtd-cta__buttons {
    flex-direction: column;
    gap: 14px;
  }

  .mtd-cta__buttons a {
    width: 100%;
    min-width: 0;
  }
}