@charset "UTF-8";

/* font */
.zen-kaku-gothic-new-light {
  font-family: "Zen Kaku Gothic New", sans-serif;
  font-weight: 300;
  font-style: normal;
}
.zen-kaku-gothic-new-regular {
  font-family: "Zen Kaku Gothic New", sans-serif;
  font-weight: 400;
  font-style: normal;
}
.zen-kaku-gothic-new-medium {
  font-family: "Zen Kaku Gothic New", sans-serif;
  font-weight: 500;
  font-style: normal;
}
.zen-kaku-gothic-new-bold {
  font-family: "Zen Kaku Gothic New", sans-serif;
  font-weight: 700;
  font-style: normal;
}
.zen-kaku-gothic-new-black {
  font-family: "Zen Kaku Gothic New", sans-serif;
  font-weight: 900;
  font-style: normal;
}


/* body */
body {
  color: #333; ;
  letter-spacing: 0.2em;
  font-size: 16px;
  background-color: #f9f9f9;
} 

  /* 画面幅が小さい場合のフォントサイズ調整 */
  @media (max-width: 768px) {
    body {
      font-size: 13px;
    }
    h3 {
      font-size: 20px;
    }
    h4 {
      font-size: 18px;
    }
    h5 {
      font-size: 16px;
    }
    h6 {
      font-size: 14px;
    }
  }



/* header */
.header {
  margin-bottom: 80px;
}
.navbar-toggler {
  border: none; /* 枠線を削除 */
  outline: none; /* アウトラインを削除 */
}
.navbar-toggler:focus {
  box-shadow: none; /* フォーカス時の影を削除 */
}

@media (max-width: 800px) {
  .navbar img {
    max-width: 100px; /* ロゴをさらに小さく */
    height: auto;
  }
}


/* contact_btn */
.btn-orange {
  position: fixed;
  bottom: 20px;
  right: 20px;
  background-color: #ff6600;
  color: white;
  padding: 10px 20px;
  border-radius: 50px;
  box-shadow: 0px 4px 6px rgba(0, 0, 0, 0.1);
  text-decoration: none;
  z-index: 1000;
}

.btn-orange:hover {
  background-color: #e65c00;
  text-decoration: none;
  color: white;
}
@keyframes bounce {
  0%, 20%, 50%, 80%, 100% {
      transform: translateY(0);
  }
  40% {
      transform: translateY(-10px);
  }
  60% {
      transform: translateY(-5px);
  }
}


.btn-orange {
  animation: bounce 2s infinite; /* アニメーションが繰り返し動く */
}





/* avantis-main */
#avantis .company-profile {
  margin-top: 150px;
  margin-bottom: 120px;
}
.heading {
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
}
.custom-border {
  border: 2px solid #023885; /* 枠線の色を変更*/
  box-shadow: 0 0 10px rgba(0, 123, 255, 0.5); /* 円光 */
}
.card {
  border: none; /* カードの枠線を削除 */
}
.card-group {
  border: none; /* カードの枠線を削除 */
}
.details-heading {
  position: relative; /* 擬似要素のために相対位置を設定 */
  display: inline-block; /* テキストの幅に合わせて擬似要素を調整 */
  padding-right: 30px; /* テキストと線の間にスペースを確保 */
}
.details-heading::after {
  content: "";
  position: absolute;
  top: 50%; /* テキストの中央に線を配置 */
  left: 100%; /* h3の右端から開始 */
  width: 50%; /* 線の長さ */
  height: 2px; /* 線の太さ */
  background-color: #023885; /* 線の色 */
  transform: translateY(-50%); /* 垂直方向に中央揃え */
}
a img {
  transition: transform 0.3s ease, box-shadow 0.3s ease;
}
a:hover img {
  transform: translateY(-5px);
  box-shadow: 0 8px 15px rgba(0, 0, 0, 0.3);
}


/* shinnboshi-main */
#shinnboshi .cram-school {
  margin-top: 150px;
  margin-bottom: 120px;
}
.feature {
  position: relative;
  display: inline-block;
  padding: 0 30px;
  margin-bottom: 36px;
}
.feature:before {
  position: absolute;
  left: 0;
  top: 0;
  content: "";
  width: 2px;
  height: 100%;
  background: #eca412;
  border-radius: 3px;
  transform: rotate(-35deg);
}
.feature:after {
  position: absolute;
  content: "";
  right: 0;
  top: 0;
  width: 2px;
  height: 100%;
  background: #eca412;
  border-radius: 3px;
  transform: rotate(35deg);
}
.card {
  height: 100%; /* カードを同じ高さに */
  display: flex;
  flex-direction: column;
  justify-content: center;
}
.card-body {
  flex-grow: 1; /* カードの高さを均等にする */
  display: flex;
  flex-direction: column;
  justify-content: center;
}
.content {
  position: relative;
  display: inline-block;
  padding: 0 30px;
  margin-bottom: 36px;
}
.content:before {
  position: absolute;
  left: 0;
  top: 0;
  content: "";
  width: 2px;
  height: 80%;
  background: #eca412;
  border-radius: 3px;
  transform: rotate(-35deg);
}
.content:after {
  position: absolute;
  content: "";
  right: 0;
  top: 0;
  width: 2px;
  height: 80%;
  background: #eca412;
  border-radius: 3px;
  transform: rotate(35deg);
}
.position-relative {
  position: relative;
}
.card-title2 {
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  color: white; /* 見出しの文字色を白に設定 */
  background-color: #eca3128f; /* 見出しの背景 */
  padding: 10px;
  border-radius: 5px;
  font-weight: bold;
  text-align: center;
  z-index: 1; /* 画像よりも前面に表示 */
  width: 100%; /* 見出しの幅を画像に合わせる */
}
.img-fluid {
  width: 100%;
  height: auto;
  border-radius: 5px; /* 画像の角を丸くする */
}
.merit_header {
  color: #023885;
}


.fade-in-up {
  opacity: 0;
  transform: translateY(50px);
  transition: opacity 0.8s ease-out, transform 0.8s ease-out;
}
.fade-in-up.show {
  opacity: 1;
  transform: translateY(0);
}


/* @keyframes fadeInLeft {
  0% {
    opacity: 0;
    transform: translateX(-100%);
  }
  100% {
    opacity: 1;
    transform: translateX(0);
  }
}

@keyframes fadeInRight {
  0% {
    opacity: 0;
    transform: translateX(100%);
  }
  100% {
    opacity: 1;
    transform: translateX(0);
  }
}

.fade-in-left {
  opacity: 0;
  transform: translateX(-100%);
  transition: opacity 1s ease-out, transform 1s ease-out;
}
.fade-in-right {
  opacity: 0;
  transform: translateX(100%);
  transition: opacity 1s ease-out, transform 1s ease-out;
}
.fade-in-left.visible,
.fade-in-right.visible {
  opacity: 1;
  transform: translateX(0);
} */

@keyframes blink {
  0%, 100% {
      opacity: 1;
  }
  50% {
      opacity: 0.3;
  }
}

.blink-button {
  opacity: 1; /* 初期状態は表示 */
}

.blink {
  animation: blink 1.5s ease-in-out 3; /* 点滅アニメーション */
}



span {
  color: #dc3545;
}


/* keitai-main */
#dokodemo .consulting {
  margin-top: 150px;
  margin-bottom: 150px;
}
#dokodemo .consulting-menu {
  margin-bottom: 50px;
}

/* コンテナ設定 */
.circle-container {
  display: flex;
  justify-content: center;
  align-items: center;
  width: 100%;
  max-width: 1000px;
  margin: 0 auto;
}
.circle {
  display: flex;
  justify-content: center;
  align-items: center;
  width: 15vw;
  height: 15vw;
  border-radius: 50%;
  background-color: #023885;
  color: white;
  font-size: 1.5vw;
  text-align: center;
  opacity: 0;
  transform: translateY(20px);
}


.fade-in {
  animation: floatUp 2s ease forwards;
}

@keyframes floatUp {
  0% {
    opacity: 0;
    transform: translateY(20px);
  }
  100% {
    opacity: 1;
    transform: translateY(0);
  }
}
@media (max-width: 768px) {
  .circle {
    width: 30vw;
    height: 30vw;
    font-size: 3vw;
  }
}

.service-header {
  color: #023885;
}
.custom-img-size {
  max-width: 80%; 
  height: auto;
  padding-right: 0;
}


/* jinzai-main */
#jinzai .human-resources {
  margin-top: 150px;
  margin-bottom: 150px;
}


/* contact */
.contact-header {
  padding-top: 50px;
  padding-bottom: 30px;
}
.contact-text {
  padding-bottom: 30px;
}

.text-danger {
  color: #dc3545; 
}

.required-field::after {
  content: " *";
  color: #dc3545;
}


/* privacy-policy */
#privacy-page .privacy-policy {
  margin: 50px;
}
.privacy-policy {
  padding: 50px;
  background-color: #f8f9fa;
  box-shadow: 0px 0px 20px rgba(0, 0, 0, 0.1); 
  border-radius: 10px; 
}


/* footer */
.footer .container {
  max-width: 1000px;
}
@media (max-width: 440px) {
  .footer_logo {
    max-width: 80px !important; /* 強制的にロゴの幅を小さくする */
  }
}


