@charset "UTF-8";
.top__bg {
  background: url("/wp-content/themes/credech/assets/img/bg.jpg") center/cover no-repeat;
}
.top__section-other:nth-child(1) {
  position: relative;
  height: 800px;
}
@media screen and (max-width: 1199px) {
  .top__section-other:nth-child(1) {
    height: 58.3819849875vw;
  }
}
@media screen and (max-width: 767px) {
  .top__section-other:nth-child(1) {
    height: 550px;
  }
}
.top__section-other:nth-child(1) .top__inner {
  width: unset;
  padding: 210px 120px 0;
}
@media screen and (max-width: 1199px) {
  .top__section-other:nth-child(1) .top__inner {
    width: 100%;
    padding: 14.1784820684vw 2rem 0;
  }
}
@media screen and (max-width: 767px) {
  .top__section-other:nth-child(1) .top__inner {
    padding: 70px 1rem;
  }
}
.top__section-other:nth-child(2) {
  margin-bottom: 160px;
  padding: 4rem 0;
  text-align: center;
  background: rgba(255, 255, 255, 0.6);
  border-top-right-radius: 200px;
}
@media screen and (max-width: 1199px) {
  .top__section-other:nth-child(2) {
    border-top-right-radius: 120px;
  }
}
@media screen and (max-width: 767px) {
  .top__section-other:nth-child(2) {
    margin-bottom: 80px;
    border-top-right-radius: 60px;
  }
}
.top__section {
  margin-bottom: 160px;
}
@media screen and (max-width: 767px) {
  .top__section {
    margin-bottom: 80px;
  }
}
.top__section:nth-child(3) {
  margin-bottom: 0;
  padding: 4rem 0;
  background: rgba(255, 255, 255, 0.6);
  border-top-left-radius: 200px;
}
@media screen and (max-width: 1199px) {
  .top__section:nth-child(3) {
    border-top-left-radius: 120px;
  }
}
@media screen and (max-width: 767px) {
  .top__section:nth-child(3) {
    border-top-left-radius: 60px;
  }
}
.top__section:nth-child(4) {
  padding: 4rem 0;
  background: rgba(18, 49, 93, 0.1);
}
.top__section:nth-child(4) .top__ttl {
  margin-bottom: 3rem;
  text-align: center;
}
.top__section:nth-child(4) .top__txt {
  text-align: center;
}
.top__section:nth-child(4) .top__btn {
  margin: 0 auto;
}
.top__inner {
  width: 1100px;
  margin: 0 auto;
}
@media screen and (max-width: 1199px) {
  .top__inner {
    width: 100%;
    padding: 0 2rem;
  }
}
@media screen and (max-width: 767px) {
  .top__inner {
    padding: 0 1rem;
  }
}
.top__medium-txt {
  font-family: "M PLUS 1p", "Hiragino Kaku Gothic ProN", Meiryo, sans-serif;
  font-size: 44px;
  color: #ffffff;
}
@media screen and (max-width: 1199px) {
  .top__medium-txt {
    font-size: 3.6697247706vw;
  }
}
@media screen and (max-width: 767px) {
  .top__medium-txt {
    font-size: 22px;
  }
}
.top__animated-copy {
  margin-bottom: 1.25rem;
  font-family: "Lato", sans-serif;
  font-size: 4rem;
  font-weight: bold;
  color: #ffffff;
  overflow: hidden; /* 子要素のはみ出しを隠す */
  white-space: nowrap; /* テキストが改行されないように */
}
@media screen and (max-width: 1199px) {
  .top__animated-copy {
    font-size: 5.3377814846vw;
  }
}
@media screen and (max-width: 767px) {
  .top__animated-copy {
    padding: 2.5rem 1.25rem 0;
    font-size: 2rem;
    line-height: 1.4;
  }
}
.top__animated-copy .char {
  display: inline-block; /* transformを適用するため */
  opacity: 0; /* 初期状態では透明 */
  transform: translateY(1em); /* 下にずらして隠す */
  transition: opacity 0.5s ease-out, transform 0.5s ease-out; /* アニメーションの設定 */
}
.top__animated-copy.is-animated .char {
  opacity: 1;
  transform: translateY(0); /* 元の位置に戻す */
}
.top__animated-small-txt, .top__medium-txt, .top__separator {
  display: inline-block;
  opacity: 0; /* JSでアニメーションさせるため初期状態を透明に */
}
.top__animated-small-txt {
  font-family: "M PLUS 1p", "Hiragino Kaku Gothic ProN", Meiryo, sans-serif;
  font-size: 2rem;
  color: #ffffff;
}
@media screen and (max-width: 1199px) {
  .top__animated-small-txt {
    font-size: 2.6688907423vw;
  }
}
@media screen and (max-width: 767px) {
  .top__animated-small-txt {
    font-size: 1rem;
  }
}
.top__copy-txt {
  font-family: "M PLUS 1p", "Hiragino Kaku Gothic ProN", Meiryo, sans-serif;
  font-size: 1rem;
  font-weight: 500;
  color: #ffffff;
}
@media screen and (max-width: 1199px) {
  .top__copy-txt {
    width: 60%;
  }
}
@media screen and (max-width: 767px) {
  .top__copy-txt {
    width: auto;
    font-size: 14px;
  }
}
@media screen and (max-width: 767px) {
  .top__word-group:nth-child(5) {
    margin-bottom: 1.25rem;
  }
}
@media screen and (max-width: 767px) {
  .top__word-group {
    display: block;
  }
}
.top__separator {
  margin: 0 1.5rem;
  font-size: 3rem;
  color: #ffffff;
}
@media screen and (max-width: 1199px) {
  .top__separator {
    font-size: 4.0033361134vw;
  }
}
@media screen and (max-width: 767px) {
  .top__separator {
    font-size: 2rem;
  }
}
.top__msg-txt {
  margin-bottom: 2.5rem;
  font-size: 2rem;
  font-weight: 500;
  color: #3e5e8c;
}
@media screen and (max-width: 1199px) {
  .top__msg-txt {
    font-size: 2.6688907423vw;
  }
}
@media screen and (max-width: 767px) {
  .top__msg-txt {
    font-size: 1.25rem;
  }
}
.top__msg-txt-other {
  margin-bottom: 1.5rem;
  font-size: 1.25rem;
  font-weight: 500;
  color: #3e5e8c;
}
.top__txt {
  font-size: 1rem;
  color: #333333;
}
@media screen and (max-width: 767px) {
  .top__txt {
    font-size: 14px;
  }
}
.top__small-txt {
  font-size: 14px;
}
.top__space {
  margin-bottom: 3rem;
}
@media screen and (max-width: 767px) {
  .top__space {
    margin-bottom: 2.5rem;
  }
}
.top__space-other {
  margin-bottom: 4.5rem;
}
.top__large-space {
  margin-bottom: 120px;
}
@media screen and (max-width: 767px) {
  .top__large-space {
    margin-bottom: 80px;
  }
}
@media screen and (max-width: 767px) {
  .top__sp-space {
    margin-bottom: 2.5rem;
  }
}
.top__img {
  max-width: 550px;
}
@media screen and (max-width: 767px) {
  .top__img {
    width: 100%;
  }
}
.top__img-other {
  width: 100%;
  border-radius: 1rem 1rem 0 0;
}
@media screen and (max-width: 767px) {
  .top__img-other {
    border-radius: 0.5rem 0.5rem 0 0;
  }
}
.top__sub-ttl {
  position: relative;
  margin-bottom: 1.25rem;
  padding-left: 1.5em;
  font-size: 18px;
  color: #ee7f23;
  letter-spacing: 0.01em;
}
@media screen and (max-width: 767px) {
  .top__sub-ttl {
    padding-left: 1em;
    font-size: 1rem;
  }
}
.top__sub-ttl::before {
  content: "";
  position: absolute;
  top: 50%;
  left: 0;
  transform: translateY(-50%);
  display: block;
  width: 10px;
  height: 10px;
  background: url("/wp-content/themes/credech/assets/img/dot.png") center/contain no-repeat;
}
@media screen and (max-width: 767px) {
  .top__sub-ttl::before {
    width: 6px;
    height: 6px;
  }
}
.top__ttl-other {
  font-family: "Lato", sans-serif;
  font-size: 2.5rem;
  color: #3e5e8c;
}
@media screen and (max-width: 767px) {
  .top__ttl-other {
    font-size: 2rem;
  }
}
.top__sub-ttl-other {
  margin-left: 0.5em;
  font-size: 1rem;
  font-weight: 400;
}
@media screen and (max-width: 767px) {
  .top__sub-ttl-other {
    display: block;
    margin-left: 0;
    padding-top: 0.5em;
    font-size: 14px;
  }
}
.top__sub-ttl-other::before {
  content: "/";
  margin-right: 0.5em;
}
@media screen and (max-width: 767px) {
  .top__sub-ttl-other::before {
    content: none;
  }
}
.top__flex {
  display: flex;
  align-items: flex-end;
  justify-content: space-between;
  gap: 1.25rem;
  margin-bottom: 3rem;
}
@media screen and (max-width: 767px) {
  .top__flex {
    display: block;
    margin-bottom: 2.5rem;
  }
}
.top__btn {
  position: relative;
  display: flex;
  justify-content: center;
  align-items: center;
  width: 320px;
  height: 4rem;
  font-size: 18px;
  color: #ffffff;
  background: #ee7f23;
  border-radius: 100vh;
  transition: background 0.3s;
}
@media screen and (max-width: 767px) {
  .top__btn {
    width: 100%;
    height: 50px;
  }
}
.top__btn:hover {
  background: #12315d;
}
.top__btn::before {
  content: "";
  position: absolute;
  top: 50%;
  right: 2rem;
  transform: translateY(-50%);
  display: block;
  width: 27px;
  height: 10px;
  background: url("/wp-content/themes/credech/assets/img/arrow-right.svg") center/contain no-repeat;
}
@media screen and (max-width: 1199px) {
  .top__btn::before {
    right: 1.25rem;
  }
}
@media screen and (max-width: 767px) {
  .top__btn::before {
    width: 1.25rem;
    height: 0.5rem;
  }
}
.top__heading {
  margin-bottom: 1.5rem;
  font-size: 1.25rem;
  font-weight: 500;
  line-height: 1.1;
}
@media screen and (max-width: 767px) {
  .top__heading {
    margin-bottom: 1rem;
    font-size: 18px;
  }
}
.top__link-container {
  display: flex;
  gap: 2rem;
}
@media screen and (max-width: 767px) {
  .top__link-container {
    display: block;
  }
}
.top__txt-content {
  position: absolute;
  z-index: 10;
  top: 348px;
  left: 0;
  padding: 0 1.25rem;
  color: #ffffff;
}
@media screen and (max-width: 1199px) {
  .top__txt-content {
    top: 67%;
  }
}
@media screen and (max-width: 767px) {
  .top__txt-content {
    top: 275px;
  }
}
@media screen and (max-width: 350px) {
  .top__txt-content {
    top: 65%;
  }
}
.top__link-card {
  flex: 1;
  display: block;
}
@media screen and (max-width: 767px) {
  .top__link-card {
    margin-bottom: 2.5rem;
  }
}
.top__link-card:hover .top__img-wrapper::before {
  transform: scale(1.1);
}
.top__img-wrapper {
  position: relative;
  width: 100%;
  height: 480px;
  border-radius: 1rem;
  padding: 0 1.25rem;
  overflow: hidden;
}
@media screen and (max-width: 767px) {
  .top__img-wrapper {
    height: 400px;
    border-radius: 0.5rem;
  }
}
.top__img-wrapper::before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background-size: cover;
  background-position: center;
  transition: transform 0.3s ease-in-out;
}
.top__img-wrapper--web-designer::before {
  background-image: url("/wp-content/themes/credech/assets/img/position01.jpg");
}
@media screen and (max-width: 767px) {
  .top__img-wrapper--web-designer::before {
    background-image: url("/wp-content/themes/credech/assets/img/sp/position01.jpg");
  }
}
.top__img-wrapper--creator::before {
  background-image: url("/wp-content/themes/credech/assets/img/position02.jpg");
}
@media screen and (max-width: 767px) {
  .top__img-wrapper--creator::before {
    background-image: url("/wp-content/themes/credech/assets/img/sp/position02.jpg");
  }
}
.top__img-wrapper--engineer::before {
  background-image: url("/wp-content/themes/credech/assets/img/position03.jpg");
}
@media screen and (max-width: 767px) {
  .top__img-wrapper--engineer::before {
    background-image: url("/wp-content/themes/credech/assets/img/sp/position03.jpg");
  }
}
.top__service-container {
  display: flex;
  gap: 2rem;
}
@media screen and (max-width: 767px) {
  .top__service-container {
    display: block;
  }
}
.top__service-content {
  display: flex;
  flex-direction: column;
  flex: 1;
}
@media screen and (max-width: 767px) {
  .top__service-content {
    margin-bottom: 2.5rem;
  }
}
@media screen and (max-width: 767px) {
  .top__service-content:last-child {
    margin-bottom: 0;
  }
}
.top__service-link {
  display: flex;
  flex-direction: column;
  flex: 1;
  width: 100%;
  color: #333333;
  transition: opacity 0.3s;
}
.top__service-link:hover {
  opacity: 0.8;
}
.top__service-txt-wrapper {
  flex-grow: 1;
  padding: 1.5rem 1.25rem;
  background: rgba(255, 255, 255, 0.6);
  border-radius: 0 0 1rem 1rem;
}
.top__service-ttl {
  margin-bottom: 1.5rem;
  font-size: 1.25rem;
  font-weight: 500;
  color: #3e5e8c;
  line-height: 1.1;
}
@media screen and (max-width: 767px) {
  .top__service-ttl {
    margin-bottom: 1rem;
    font-size: 18px;
  }
}
.top__flow-wrapper {
  max-width: 800px;
  margin: 0 auto;
}
.top__flow-step {
  position: relative;
  background: #fae9dc;
  padding: 25px;
  margin-bottom: 58px;
  border-radius: 1rem;
}
.top__flow-step::after {
  content: "";
  position: absolute;
  bottom: -36px;
  left: 50%;
  transform: translateX(-50%);
  border-left: 0.75rem solid transparent;
  border-right: 0.75rem solid transparent;
  border-top: 0.75rem solid #ee7f23;
}
.top__flow-step:last-child {
  margin-bottom: 0;
}
.top__flow-step:last-child::after {
  display: none;
}
.top__step-ttl-wrapper {
  display: flex;
  align-items: center;
  margin-bottom: 10px;
}
.top__step-ttl {
  font-size: 1.25rem;
  font-weight: 500;
  color: #3e5e8c;
  line-height: 1.1;
}
@media screen and (max-width: 767px) {
  .top__step-ttl {
    font-size: 18px;
  }
}
.top__step-num {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
  width: 28px;
  height: 28px;
  margin-right: 15px;
  font-weight: bold;
  font-size: 1rem;
  color: #ffffff;
  background: #ee7f23;
  border-radius: 50%;
}
.top__step-txt {
  padding-left: 45px;
  font-size: 14px;
}
.top__news-wrapper {
  max-width: 800px;
  margin: 0 auto 3rem;
  padding: 2.5rem;
  background: rgba(255, 255, 255, 0.6);
  border: 1px solid #ffffff;
  border-radius: 1rem;
}
@media screen and (max-width: 767px) {
  .top__news-wrapper {
    padding: 2.5rem 1rem;
  }
}
.top__news-item:first-child .top__news-link {
  padding-top: 0;
}
.top__news-item:last-child .top__news-link {
  padding-bottom: 0;
  border-bottom: none;
}
.top__news-link {
  display: block;
  padding: 2.5rem 1.25rem 2.5rem;
  border-bottom: 1px solid #2f71af;
  color: #333333;
}
@media screen and (max-width: 767px) {
  .top__news-link {
    padding: 2.5rem 0 2.5rem;
  }
}
.top__news-flex {
  display: flex;
  align-items: center;
  margin-bottom: 1.25rem;
}
.top__date {
  font-family: "Lato", sans-serif;
  font-size: 14px;
}
.top__tag {
  margin-left: 1em;
  padding: 2px 0.75rem;
  font-size: 0.75rem;
  color: #ffffff;
  background: #3783ca;
  border-radius: 50vh;
}
.top__tag--technology {
  background: #ee7f23;
}
.top__news-ttl {
  margin-bottom: 0.5em;
  font-size: 1rem;
  font-weight: 500;
}
.top__news-txt {
  font-size: 14px;
}
.top__voice-list-item {
  display: flex;
  gap: 1.5rem;
  max-width: 800px;
  width: 100%;
  margin: 0 auto 1.25rem;
  padding: 1.5rem;
  background: rgba(255, 255, 255, 0.4);
  border: 1px solid #ffffff;
  border-radius: 1rem;
}
@media screen and (max-width: 767px) {
  .top__voice-list-item {
    gap: 1.25rem;
    padding: 1.25rem;
    border-radius: 0.5rem;
  }
}
.top__voice-img-wrapper {
  flex-shrink: 0;
  width: 100px;
}
@media screen and (max-width: 767px) {
  .top__voice-img-wrapper {
    width: 60px;
  }
}
.top__voice-img {
  width: 100%;
}
@media screen and (max-width: 767px) {
  .top__voice-txt-wrapper {
    padding-top: 10px;
  }
}
.top__voice-ttl {
  margin-bottom: 1.25rem;
  font-size: 1.25rem;
  font-weight: 500;
  line-height: 1.1;
}
@media screen and (max-width: 767px) {
  .top__voice-ttl {
    font-size: 1rem;
  }
}
.top__voice-small-txt {
  font-size: 1rem;
  font-weight: 400;
  margin-left: 0.5em;
}
@media screen and (max-width: 767px) {
  .top__voice-small-txt {
    font-size: 0.75rem;
  }
}
@media screen and (max-width: 350px) {
  .top__voice-small-txt {
    display: block;
    margin-left: 0;
    padding-top: 0.5em;
  }
}
.top__entry-btn-wrapper {
  position: absolute;
  top: 60%;
  right: 10%;
  /* ボタン全体を円の中心でアニメーションさせるための設定 */
  transform-origin: center center;
  /* アニメーションの適用 */
  animation: float 4s ease-in-out infinite;
}
@media screen and (max-width: 1199px) {
  .top__entry-btn-wrapper {
    top: 50%;
  }
}
@media screen and (max-width: 767px) {
  .top__entry-btn-wrapper {
    top: 30%;
    right: 8%;
  }
}
.top__entry-btn {
  display: flex;
  justify-content: center;
  align-items: center;
  flex-direction: column;
  width: 180px;
  height: 180px;
  text-align: center;
  font-size: 1.25rem;
  font-weight: 500;
  color: #3e5e8c;
  line-height: 1.4;
  background: rgba(255, 255, 255, 0.6);
  border: 1px solid #ffffff;
  border-radius: 50%;
  box-shadow: 0 4px 10px rgba(0, 0, 0, 0.04);
  transition: background 0.3s;
}
.top__entry-btn:hover {
  background: rgba(255, 255, 255, 0.9);
}
@media screen and (max-width: 767px) {
  .top__entry-btn {
    width: 120px;
    height: 120px;
    font-size: 1rem;
  }
}

#blobCanvas {
  filter: blur(80px);
  opacity: 0.5;
  display: block;
  width: 100%;
  height: 100%;
  position: fixed;
  top: 0;
  left: 0;
  z-index: -1;
}

@keyframes float {
  0% {
    /* 動きの開始位置 (少し上に移動) */
    transform: translateY(-5px);
    border-radius: 50%;
  }
  50% {
    /* 中間位置 (基準点に戻る) */
    transform: translateY(5px);
    border-radius: 50%;
  }
  100% {
    /* 動きの終了位置 (開始位置と同じ) */
    transform: translateY(-5px);
    border-radius: 50%;
  }
}
.header {
  position: absolute;
  top: 0;
}
.header__container {
  background: none;
  backdrop-filter: none;
  border-bottom: none;
}
.header__logo img {
  display: none;
}
.header__logo a {
  display: block;
  width: 180px;
  height: 45px;
  background: url("/wp-content/themes/credech/assets/img/logo-white.svg") center/contain no-repeat;
}
@media screen and (max-width: 767px) {
  .header__logo a {
    width: 140px;
    height: 35px;
  }
}
.header__menu-txt {
  color: #ffffff;
}
@media screen and (max-width: 767px) {
  .header__menu-txt {
    color: #333333;
  }
}
.header__menu-txt:hover {
  color: #ffffff;
}
@media screen and (max-width: 767px) {
  .header__menu-txt:hover {
    color: #ee7f23;
  }
}
.header__menu-btn.active .header__menu-btn-line::before, .header__menu-btn.active .header__menu-btn-line::after {
  background: #1c304d;
}
.header__menu-btn-line, .header__menu-btn-line::before, .header__menu-btn-line::after {
  background: #ffffff;
}

header.is-fixed-header {
  position: fixed;
  top: 0;
  /* アニメーション用のクラス（隠して上へずらす）を同時に適用する */
  animation: slideInFromTop 0.5s cubic-bezier(0.25, 0.46, 0.45, 0.94) forwards;
}
header.is-fixed-header .header__container {
  background: rgba(255, 255, 255, 0.5);
  backdrop-filter: blur(80px);
  border-bottom: 1px solid #ffffff;
}
header.is-fixed-header .header__logo img {
  display: block;
}
header.is-fixed-header .header__logo a {
  display: block;
  width: auto;
  height: auto;
  background: none;
}
header.is-fixed-header .header__menu-txt {
  color: #333333;
}
header.is-fixed-header .header__menu-txt:hover {
  color: #ee7f23;
}
header.is-fixed-header .header__menu-btn-line, header.is-fixed-header .header__menu-btn-line::before, header.is-fixed-header .header__menu-btn-line::after {
  background: #1c304d;
}
header.is-fixed-header-leaving {
  /* 固定解除時にふわっと消えるアニメーション */
  animation: slideOutToTop 0.5s cubic-bezier(0.25, 0.46, 0.45, 0.94) forwards;
}

/* アニメーションの定義 */
@keyframes slideInFromTop {
  0% {
    opacity: 0;
    transform: translateY(-20px);
  }
  100% {
    opacity: 1;
    transform: translateY(0);
  }
}
@keyframes slideOutToTop {
  0% {
    opacity: 1;
    transform: translateY(0);
    position: fixed; /* 0%で固定を維持 */
  }
  100% {
    opacity: 0;
    transform: translateY(-20px);
    position: fixed; /* 100%で固定を維持 (非表示後JSでposition:absoluteに戻す) */
  }
}

/*# sourceMappingURL=top.css.map */
