/* topimage */
.topimage-bg2 {
  position: relative;
  max-width: 100%;
  height: 416px;
  background: url("../images/Greetings_Mask.png") no-repeat center center;
  background-size: cover;
  z-index: 10;
}

@media (max-width: 480px) {
  .topimage-bg2 {
    margin-top: 20px;  
  }
}
.topimage-bg2::after {
  content: "";
  position: absolute;
  top: 0;
  right: 0;
  bottom: 0;
  left: 0;
  background-color: rgba(41, 119, 138, 0.35);
  z-index: 20;
}

.topimage-title1 {
  position: absolute;
  font-weight: 700;
  font-size: 44px;
  margin-top: 137px;
  margin-left: 65px;
  color: #ffffff;
  z-index: 30;
}

.topimage-title2 {
  position: absolute;
  font-weight: 500;
  font-size: 22px;
  margin-top: 199px;
  margin-left: 65px;
  color: #ffffff;
  z-index: 30;
}

/* 600px以下の時 */
@media screen and (max-width: 600px) {
  .topimage-bg2 {
    width: 100vw;
    height: 145px;
  }

  .topimage-title1 {
    font-size: 22px;
    margin-top: 49px;
    margin-left: 21px;
  }

  .topimage-title2 {
    font-size: 11px;
    margin-top: 80px;
    margin-left: 21px;
  }
}

.main {
  position: relative;
  width: 100%;
  height: auto;
  padding-bottom: 500px;
}

/* 上段見出し */
.midashi {
  position: absolute;
  width: 870px;
  left: 50%; /* 中央基準に変更 */
  top: 150px;
  transform: translateX(calc(-75%));
  font-family: "Noto Sans JP";
  font-size: 60px;
  line-height: 100px;
  z-index: 10;
  letter-spacing: 0.06em;
  color: #000000;
}

.midashi_text1 {
  font-weight: bold;
  font-size: inherit;
}

/* 名前・肩書き */
.text_haikei {
  font-family: "Noto Sans JP";
}

.text02 {
  position: absolute;
  left: 50%; /* 中央基準に変更 */
  top: 590px;
  transform: translateX(calc(-745%));
  font-weight: 500;
  font-size: 16px;
  line-height: 42px;
  letter-spacing: 0.08em;
  color: #000000;
  z-index: 5;
  margin: 0;
}

.text03 {
  position: absolute;
  left: 50%; /* 中央基準に変更 */
  top: 620px;
  transform: translateX(calc(-540%));
  font-weight: 700;
  font-size: 26px;
  line-height: 54px;
  letter-spacing: 0.06em;
  color: #000000;
  z-index: 5;
  margin: 0;
}

/* 写真 */
.images_syatyou {
  position: absolute;
  left: 50%; /* 中央基準に変更 */
  top: 87px;
  transform: translateX(calc(11%));
  border-radius: 1rem;
  z-index: 5;
}

.haikei_naname {
  position: relative;
  width: 100%;
  height: 1500px;
  top: 503px;
  background: rgba(185, 205, 212, 1);
  clip-path: polygon(0% 0%, 100% 20%, 100% 100%, 0% 100%);
}

.setumei {
  position: absolute;
  top: 310px;
  left: 50%;
  transform: translateX(-50%);
  font-family: "Noto Sans JP";
  font-size: 22px;
  line-height: 35px;
  letter-spacing: 0.06em;
  width: 90%;
  max-width: 3000px;
  text-align: left;
}

.article {
  padding: 0 113px 40px 113px;
}

.nanashi {
  position: relative;
  width: 1320px;
  height: 306px;
  left: 55px;
}

/* CTA section start*/

.cta-haikei {
  width: 82.5rem;
  height: auto;
  position: relative;
  margin: 0 auto;
}
.cta_ceogreetings {
  background-image: url("../images/cta-bg01.png");
  background-size: cover;
  background-repeat: no-repeat;
  padding: 4rem;
  border-radius: 16px;
  height: 306px;
  width: 1320px;
  z-index: 10;
  position: relative;
  top: 70rem;
  margin: 0 auto; /* 中央寄せ */
}

.cta-links_grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  grid-template-rows: 85px 85px;
  gap: 30px;
  position: relative;
  bottom: 0.5rem;
}

.cta-card {
  display: flex;
  border-radius: 12px;
  justify-content: space-between;
  align-items: center;
  padding: 34px 24px;
  background: #ffffff;
  box-shadow: 0px 4px 4px 0px rgba(0, 0, 0, 0.25);
  text-decoration: none;
  font-size: 24px;
  font-weight: bold;
}

.cta-card img {
  width: 66px;
}

/* 600px以下の時 */
@media screen and (max-width: 600px) {
  .midashi {
    position: absolute;
    width: 314px;
    left: 260px;
	top: 20px;
	font-size: 20px;
    line-height: 30px;
  }

  .text02 {
    position: absolute;
    left: 25px;
    top: 360px;
    font-weight: 500;
    font-size: 8px;
    line-height: 16px;
    letter-spacing: 0.08em;
    color: #000000;
    z-index: 100;
    transform: none;
  }

  .text03 {
    position: absolute;
    left: 25px;
    top: 375px;
    font-weight: 700;
    font-size: 12px;
    line-height: 20px;
    letter-spacing: 0.06em;
    color: #000000;
    z-index: 100;
    transform: none;
  }

  .images_syatyou {
    position: absolute;
    left: 70px;
    top: 100px;
    width: 277px;
    height: 299px;
  }

  .haikei_naname {
    position: relative;
    width: 100%;
    height: 80rem;
    top: 322px;
    clip-path: polygon(0% 0%, 100% 7%, 100% 100%, 0% 100%);
  }

  .setumei {
    position: absolute;
    top: 100px;
    font-family: "Noto Sans JP";
    font-size: 12px;
    line-height: 23px;
    letter-spacing: 0.06em;
	 width: 80%;
  }

  .article {
    padding: 0 15px 30px 15px;
  }

  .nanashi {
    position: relative;
    width: 1320px;
    height: 306px;
    left: 55px;
  }
  .cta_ceogreetings {
    padding: 2.5rem 1rem 1rem 4.25rem;
    border-radius: 16px;
    height: 25rem;
    width: 22.56rem;
    position: relative;
    top: 53rem;
  }
  .cta-haikei {
    width: 23.2rem;
    height: 25.7rem;
  }

  .cta-links_grid {
    display: flex;
    flex-direction: column;
    gap: 20px;
  }

  .cta-card {
    font-size: 14px;
    width: 20rem;
    height: 3.75rem;
    position: relative;
    right: 3rem;
  }

  .cta-card img {
    width: 2.2rem;
  }

  .main {
    padding-bottom: 300px;
  }
}

/* CTA section end */

/* 1400px以上の時 */
@media screen and (max-width: 600px) {
	.setumei{
		top:310px;
		line-height:40px;
	}
}