/* front-page.css */
@charset "UTF-8";

/* Google Fonts */
@import url("https://fonts.googleapis.com/css2?family=Noto+Sans+JP:wght@400;500;700;900&display=swap");
@import url("https://fonts.googleapis.com/css2?family=Inter:wght@400;700;800&display=swap");

.header-scroll__link,
.header-scroll__link:link,
.header-scroll__link:visited {
  transition: opacity 0.3s ease-in-out;
  transition-property: opacity;
}

body.home,
body.front-page,
body.page-template-front-page {
  overflow-x: hidden;
}

@media screen and (max-width: 768px) {
  html {
    height: 100%;
    overflow: hidden;
  }

  body.home {
    height: 100vh;
    overflow: hidden;
    margin: 0;
    padding: 0;
  }

  body.home .fl_header {
    height: 100%;
    overflow: hidden;
  }

  body.home .globalnav-wrap,
  body.home .overlay {
    height: 100vh;
  }

  @supports (height: 100svh) {
    body.home {
      height: 100svh;
    }

    body.home .globalnav-wrap,
    body.home .overlay {
      height: 100svh;
    }
  }
}

/* Mission Section */
.mission-section {
  background-color: #f4f4f4;
  padding: 80px 0 120px;
}

.mission-container {
  max-width: 1280px;
  margin: 0 auto;
  padding: 0 20px;
}

/* Mission Header */
.mission-header {
  display: flex;
  flex-direction: column;
  gap: 14px;
  margin-bottom: 80px;
}

.mission-header__subtitle {
  font-family: "Noto Sans JP", sans-serif;
  font-weight: 700;
  font-size: 20px;
  line-height: 1.25;
  letter-spacing: 0.1em;
  color: #000000;
}

.mission-header__title {
  font-family: "Noto Sans JP", sans-serif;
  font-weight: 900;
  font-size: 80px;
  line-height: 1;
  letter-spacing: 0.1em;
  color: #ffffff;
  -webkit-text-stroke: 2px #000000;
  paint-order: stroke fill;
}

.mission-item__header {
  display: flex;
  flex-direction: column;
  gap: 32px;
  margin-bottom: 32px;
}

.mission-item__key {
  font-family: "Climate Crisis", cursive;
  font-weight: 400;
  font-size: 35px;
  line-height: 1.29;
  letter-spacing: 0.1em;
  color: #369cdf;
}

.mission-item__title {
  font-family: "Noto Sans JP", sans-serif;
  font-weight: 700;
  font-size: 45px;
  line-height: 1.29;
  letter-spacing: 0.1em;
  color: #000000;
}

.mission-item__text {
  font-family: "Noto Sans JP", sans-serif;
  font-weight: 500;
  font-size: 16px;
  line-height: 2.31;
  letter-spacing: 0.1em;
  color: #000000;
}

.mission-item__01,
.mission-item__02,
.mission-item__03 {
  display: flex;
  flex-direction: row;
  gap: 36px;
  margin-bottom: 80px;
}

.mission-item__images,
.mission-item__contents {
  width: 50%;
}

.mission-item__02 {
  /* 2段落目逆配置 */
  flex-direction: row-reverse;
}

.mission-item__image-square01 {
  /* 長方形(01) */
  width: 100%;
  height: 300px;
  background-color: #828282;
  border-radius: 16px;
  margin-bottom: 20px;
}

.mission-item__image-square02 {
  /* 正方形(02) */
  width: 50%;
  height: 300px;
  background-color: #828282;
  border-radius: 16px;
  margin-bottom: 20px;
}

.right {
  /* 画像の右寄せ */
  margin-left: auto;
}

.left {
  /* 画像の左寄せ */
  margin-right: auto;
}

/* 日下さん・恐竜の配置 */
.mission-item__image-square02 {
  position: relative;
}

.mission-item__image-square02 img {
  position: absolute;
  left: -30%;
  bottom: 0;
}

/* Vision Section */
.vision-section {
  background-color: #369cdf;
  padding: 58px 370px;
}

.vision-container {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 22px;
  max-width: 540px;
  margin: 0 auto;
}

.vision-header {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 5px;
}

.vision-header__title {
  font-family: "Noto Sans JP", sans-serif;
  font-weight: 700;
  font-size: 18px;
  line-height: 1;
  letter-spacing: 0.1em;
  color: #271f8c;
  text-align: center;
}

.vision-header__subtitle {
  font-family: "Climate Crisis", cursive;
  font-weight: 400;
  font-size: 35px;
  line-height: 1.2;
  letter-spacing: 0.1em;
  color: #ffffff;
  text-align: center;
}

.vision-text {
  font-family: "Noto Sans JP", sans-serif;
  font-weight: 500;
  font-size: 16px;
  line-height: 2.31;
  letter-spacing: 0.1em;
  color: #ffffff;
}


/* FOOTER */
.fl_footer {
  display: none;
}


/* Responsive Design */
@media screen and (max-width: 1200px) {
  .mission-cta {
    gap: 100px;
  }

  .vision-section {
    padding: 58px 100px;
  }
}

@media screen and (max-width: 768px) {
  .header-scroll {
    padding: 0;
  }

  .header-nav__list {
    width: 100%; 
  }

  .header-nav {
    position: relative;
    bottom: auto;
    right: auto;
    left: auto;
    transform: none;
    margin: 24px auto 0;
    width: 80%;
    max-width: 345px;
  }

  .header-scroll__image img {
    height: calc(100vh - 120px);
  }

  @supports (height: 100svh) {
    .header-scroll__image img {
      height: calc(100svh - 120px);
    }
  }

  .mission-header__title {
    font-size: 50px;
  }

  .mission-content,
  .mission-item__01,
  .mission-item__02,
  .mission-item__03 {
    display: block;
  }

  .mission-item__images,
  .mission-item__contents {
    width: 100%;
  }

  .mission-item__title {
    font-size: 32px;
  }

  .mission-item__key {
    font-size: 28px;
  }

  .vision-section {
    padding: 40px 20px;
  }

  .vision-header__subtitle {
    font-size: 28px;
  }
}

@media screen and (max-width: 500px) {
  .mission-section {
    padding: 40px 0 60px;
  }

  .mission-header {
    margin-bottom: 40px;
  }

  .mission-header__subtitle {
    font-size: 16px;
  }

  .mission-header__title {
    font-size: 36px;
  }

  .mission-item__key {
    font-size: 24px;
  }

  .mission-item__title {
    font-size: 24px;
  }

  .mission-item__text {
    font-size: 14px;
  }
}
@media screen and (max-width: 415px) { 
  .header-nav__circle::after {
      width: 162%;
  }
}