@charset "UTF-8";

#title {
  padding: 160px 0 80px;
}
#title .inner.flex {
  align-items: end;
  justify-content: space-between;
}
#title h1 {
  color: #000;
  font-size: 4.8rem;
  letter-spacing: .07em;
  display: flex;
  flex-direction: column;
  gap: 15px;
}
#title h1::after {
  content: attr(data-title);
  background-image: var(--Gradation01);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
  font-family: "Work Sans", sans-serif;
  font-size: 2.4rem;
  font-optical-sizing: auto;
  font-weight: 400;
  font-style: normal;
  letter-spacing: .05em;
  line-height: 1.2;
  -webkit-text-fill-color: transparent;
  text-fill-color: transparent;
  display: block;
}
#title #path {
  font-size: 1.4rem;
  font-weight: medium;
}
#title #path a {
  color: #808080;
  text-decoration: underline;
}
#title #path span {
  margin: 0 8px;
  color: var(--Primary);
  display: inline-block;
}
#title #path strong {
  color: #a5a5a5;
  font-weight: normal;
}
#main {
  height: 460px;
}
main {
  margin: 0 auto;
  padding: 80px 0 160px;
  width: 100%;
  max-width: 1240px;
}
main img {
  max-width: 100%;
}
main h2 {
  margin-bottom: 40px;
  font-size: 2.8rem; 
  letter-spacing: .07em;
  line-height: 1;
}
main > section {
  padding-top: 80px;
  /*margin-top: 80px;*/
}
main section.flex {
  padding-top: 180px;
  /*margin-top: 180px;*/
  align-items: start;
}
main section.flex h2 {
  width: 250px;
  font-size: 2.8rem;
  letter-spacing: .07em;
  display: flex;
  flex-direction: column-reverse;
  gap: 12px;
}
main section.flex h2::after { 
  content: attr(data-title);
  background-image: var(--Gradation01);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
  font-family: "Work Sans", sans-serif;
  font-size: 1.6rem;
  font-optical-sizing: auto;
  font-weight: 400;
  font-style: normal;
  letter-spacing: .05em;
  line-height: 1.2;
  -webkit-text-fill-color: transparent;
  text-fill-color: transparent;
  display: block;
}
main section.flex .inner {
  margin: 0;
  width: 990px;
}
@media screen and (max-width: 1280px) {
  main {
    width: calc(100% - 40px);
    margin: 0 20px;
  }
  main section.flex .inner {
    margin: 0;
    margin-left: 20px;
  }
}
@media screen and (max-width: 1000px) {
  main section.flex h2 {
    width: 200px;
    flex-shrink: 0;
  }
  main section.flex .inner {

  }
}
@media screen and (max-width: 767px) {
  #title {
    padding: 90px 0 30px;
  }
  #title .inner.flex {
    flex-direction: column;
    align-items: start;
  }
  #title h1 {
    margin-bottom: 30px;
    font-size: 2.8rem;
    gap: 0;
  }
  #title h1::after {
    font-size: 1.5rem;
  }
  #title #path {
    font-size: 1.2rem;
  }
  #main {
    height: 240px;
  }
  main {
    padding: 40px 0 80px; 
  }
  main h2 { 
    font-size: 2.4rem;
    margin-bottom: 20px;
  }
  main > section {
    padding-top: 40px;
    /*margin-top: 40px;*/
  }
  main section.flex {
    padding-top: 80px;
    /*margin-top: 80px;*/
    display: block;
  }
  main section.flex h2 {
    margin-bottom: 20px;
    width: 100%;
    font-size: 2.4rem;
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 10px;
  }
  main section.flex h2::after {
    font-size: 1.4rem;
  }
  main section.flex .inner {
    width: 100%;
    margin: 0;
  }
}

/* --------------------------------------------------
-------------------------------------------------- */