header {
  display: flex;
  justify-content: space-between;
  background-color: var(--white);
  width: 100%;
  height: 120px;
}

body {
	overflow-Y: hidden;
}

.left {
  padding-block: 45px;
  padding-inline: 65px;
}

.left img {
  width: 373px;
  height: 29px;
}

.right {
  display: flex;
}

.company {
  height: 120px;
  background-color: var(--primary-teal);
  gap: 24px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding-inline: 38px;
}

.school {
    height: 120px;
    background-color: var(--primary-coral);
    gap: 24px;
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding-inline: 38px;
}

.company:hover {
  background-color: #eae4d9; /* 背景を薄いベージュに変更 */
  color: var(--primary-teal); /* 文字色を元の背景色に */
}

.school:hover {
  background-color: #eae4d9; /* 背景を薄いベージュに変更 */
  color: var(--primary-coral); /* 文字色を元の背景色に */
}

/* SVGアイコンなどを含む場合は、子要素にも色を反映 */
.company:hover svg,
.school:hover svg {
  color: inherit;
  fill: currentColor;
}

.company,
.school {
  transition: all 0.3s ease;
}


.school img:nth-child(2) {
    margin-top: 8px;
}

main {
  width: 100%;
  height: fit-content;
}

.hero {
  background-image: url('./assets/image/Hero/backgrount.png');
  background-repeat: no-repeat;
  background-position: center;
  background-size: cover;
  width: 100%;
  height: 700px;
  display: flex;
  flex-direction: column;
}

.hero img:nth-child(1) {
  width: 700px;
  height: 60px;
  margin-left: 84px;
  margin-top: 210px;
}

.hero img:nth-child(2) {
  width: 700px;
  height: 154px;
  margin-left: 64px;
  margin-top: 30px;
}
.section1 {
  display: flex;

}

.green-text {
  color: var(--primary-green);
  font-weight: bold;
  font-size: 35px;
  margin-left: -20px;
}

.hero p {
  width: fit-content;
  height: 154px;
  color: #434343;
  font-size: 25px;
  justify-content: center;
  margin-left: 84px;
  margin-top: 30px;
}

.section1 div:nth-child(1) {
  width: 50%;
  height: 400px;
  padding-top: 80px;
  padding-inline: 18px;
  padding-bottom: 60px;
  background-image: url('./assets/image/section/banner1.png');
  background-repeat: no-repeat;
  background-position: center;
  background-size: cover;
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;

}

.section1 div:nth-child(2) {
  width: 50%;
  height: 400px;
  padding-top: 80px;
  padding-inline: 91px;
  padding-bottom: 60px;
  background-image: url('./assets/image/section/banner2.png');
  background-repeat: no-repeat;
  background-position: center;
  background-size: cover;
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
}

.section1 div:nth-child(1) p {
  font-size: 20px;
  text-align: center;
  margin-top: 13px;
  margin-bottom: 32px;
}

/* 共通ボタンスタイル */
.section1 button {
  display: flex;
  padding-block: 10px;
  padding-inline: 32px;
  background-color: var(--white);
  border-radius: 5px;
  justify-content: center;
  align-items: center;
  border: none;
  cursor: pointer;
  transition: all 0.3s ease; /* ホバー時のアニメーション */
}

/* ボタン内の画像共通 */
.section1 button img {
  width: fit-content;
  height: fit-content;
  transition: all 0.3s ease; /* ホバー時のアニメーション */
}

/* ボタン内の文字共通 */
.section1 button p {
  font-size: 25px;
  font-weight: bold;
  margin: 10px;
  transition: all 0.3s ease; /* ホバー時のアニメーション */
}

/* ボタン下の説明テキスト */
.section1 div:nth-child(2) p {
  font-size: 20px;
  text-align: center;

  margin-bottom: 32px;
}

/* 1つ目のボタン（ティール系） */
.section1 div:nth-child(1) button p {
  color: var(--primary-teal);
  margin:0;
}

/* 1つ目ボタン hover */
.section1 div:nth-child(1) button:hover {
  background-color: var(--primary-teal); /* 背景色を文字色に */
}
.section1 div:nth-child(1) button:hover p {
  color: var(--white); /* 文字色を白に */
  
}
.section1 div:nth-child(1) button:hover img {
  filter: brightness(0) invert(1); /* アイコンを白に反転 */
}

/* 2つ目のボタン（コーラル系） */
.section1 div:nth-child(2) button p {
  color: var(--primary-coral);
  margin: 0;
}

/* 2つ目ボタン hover */
.section1 div:nth-child(2) button:hover {
  background-color: var(--primary-coral); /* 背景色を文字色に */
}
.section1 div:nth-child(2) button:hover p {
  color: var(--white); /* 文字色を白に */
  margin: 0;
}
.section1 div:nth-child(2) button:hover img {
  filter: brightness(0) invert(1); /* アイコンを白に反転 */
}


footer {
  background-color: var(--primary-green);
  width: 100%;
  display: flex;
  flex-direction: column;
  align-items: center;

}

footer img {
	width: 60%;
    height: auto;
    margin-top: 30px;
}

footer p {
  font-size: 25px;
  font-weight:400;           /* medium weight */
  letter-spacing: 1px;        /* spacing between letters */
  text-align: center;
  font-family: "Averia Serif Libre", serif;
  line-height: 1.5;
  margin: 0;
}

.address {
  display: flex;
  flex-direction: column;
  margin-top: 32px;
  margin-bottom: 40px;
}

.footer-text {
  font-size: 12px;
  margin-bottom: 32px;
}

.response {
  display: none;
}

main{
  overflow-x: hidden;
}

.response-475 {
  display: none;
}

body {
  overflow: hidden;
}



/* ----------Header-------------- */

@media(max-width: 1920px) {
      .section1 img {
        width: 70%;
        height: auto;
    }
}


@media(max-width: 1440px) {
  .left {
      padding-block: 45px;
      padding-inline: 41px;
  }

  .company {
      gap: 12px;
      padding-inline: 19px;

  }

  .school {
      gap: 12px;
      padding-inline: 19px;

  }
}


@media(max-width: 1024px) {

  .left {
      padding-block: 40px;
      padding-inline: 24px;
  }
  
  footer img {
	width: 80%;
}

  .left img {
      width: 250px;
      height: 20px;
  }

  .company {
      gap: 4px;
      height: 100px;
      padding-inline: 10px;

  }

  .school {
      gap: 4px;
      height: 100px;
      padding-inline: 10px;
  }

  header{

      height: 100px;
  }

  
}


@media(max-width: 768px) {
  .right {
      display: none;
  }
  
    footer img {
	width: 100%;
}

  .response {
      display: flex;
      width: 100%;
  }

  .res-company {
      width: 50%;
      background-color: var(--primary-teal);
      gap: 12px;
      display: flex;
      align-items: center;
      justify-content: space-between;
      padding-inline: 10px;
      padding-block: 20px;
  }

  .res-school {
      width: 50%;
      background-color: var(--primary-coral);
      gap: 8px;
      display: flex;
      align-items: center;
      justify-content: space-between;
      padding-block: 20px;
      padding-inline: 10px;
  }
     
}


@media(max-width: 475px) {
  .response {
      display: none;
  }
  .response-475{
      display: flex;
  }
  .response-475 .res-company, .res-school  {
      display: flex;
      flex-direction: column;
  }

}

/* ---------Main------------------ */

@media(max-width: 1440px) {
  .hero img:nth-child(1) {
      margin-left: 50px;
  }
  .hero p {
      margin-left: 50px;
  }

  .section1 div:nth-child(1) {
      padding-inline: 5px;
      padding-top: 40px;
      padding-bottom: 40px;
  }

  .section1 img {
      width: 70%;
      height: auto;
  }
  .section1 div:nth-child(2) {
      padding-inline: 5px;
      padding-top: 40px;
      padding-bottom: 40px;

  }

  .section1 button {
      padding-inline: 20px;

  }
  .section1 div:nth-child(1) button p {
      font-size: 20px;
  }   
  .section1 div:nth-child(2) button p {
      font-size: 20px;

  }
}


@media(max-width: 1024px) {
  .hero img:nth-child(1) {
      margin-left: 10px;
      width: 313px;
      height: 27px;
  }
  .hero p {
      margin-left: 10px;
      font-size: 20px;

  }
  .green-text {
      font-size: 23px;
  }
  .hero {
      height: 500px;
  }
}


@media(max-width: 768px) {

  .section1 {
      display: block;
      text-align: center;
     
  }

  .section1 div:nth-child(1), .section1 div:nth-child(2) {
      width: 100%;
      padding-block: 39px;
      height: 294px;
  }

  .section1 div:nth-child(1) button p {
      font-size: 16px;
  }
  .section1 div:nth-child(2) button p {
      font-size: 16px;
  }

}


@media(max-width: 475px) {
  .hero img:nth-child(1) {
      margin-top: 237px;
  }
}

/*   --------------footer----------- */

@media(max-width: 1440px) {
  footer button img {
      width: 100%;

    }

    footer button {
      padding-inline: 30px;
      padding-block: 25px;
    }


}
@media(max-width: 960px) {
 
}
@media(max-width: 768px) {
 
}
@media(max-width: 475px) {

}


/* ---------company---------- */