/*Suken AIナビでできること*/
#nav-wrapper {
 height: 75px;
}

#about .lead {
  text-align: center;
  font-size: 3rem;
  font-weight: bold;
  margin-top: 6rem;
}
#about #login {
  margin: 1rem 1rem 10rem;
}
#about #login p {
  font-size: 2.4rem;
  font-weight: bold;
  margin: 5rem 2rem 2rem;
  padding: .5rem .5rem .5rem;
  border-bottom: 3px solid #0c99f1;
}
#about #login dl {
  margin: 5rem 0;
  font-size: 1.4rem;
  padding: 2.4rem 4rem;
  background: #0081CC;
  border-radius: 2rem;
  position: relative;
  margin-left: 70px;
  filter: drop-shadow(0 0px 7px rgba(173, 216, 230, 0.8));
  font-weight: bold;
  color: #ffffff;
}
#about #login dl::before {
  position: absolute;
  text-align: center;
  font-size: 2rem;
  top: -10px;
  left: -80px;
  width: 100px;
  height: 100px;
  z-index: 100;
  color: #0081CC;
  border-radius: 50px;
  line-height: 100px;
  content: "POINT";
  background: linear-gradient(to top, #ffef7c 0%, #ffd715 100%);
}
#about #login dl::after {
  content: "";
  position: absolute;
  bottom: 100%;
  left: 77%;
  margin-left: -25px;
  border: 25px solid transparent;
  border-top-color: #0081CC;
  transform: rotate(180deg);
}
#about #login dl dt {
  font-size: 2rem;
  border-bottom: 2px dotted #a3c6fd;
  padding: 0 0 1rem 0;
}
#about #login dl dd {
  font-size: 2rem;
  padding: 1.5rem 0 0 0;
}
#about #login .image {
  margin: 0 auto;
  text-align: center;
}
#about .detail_box {
  position: relative;
  max-width: 1084px;
  padding: 4rem 4rem 6rem 4rem;
  margin: 1rem 1rem 10rem;
  background: #ffffff;
  border-radius: 30px;
  filter: drop-shadow(0 2px 50px rgba(0, 0, 0, 0.2));
}
#about .detail_box h2 {
  position: absolute;
  text-align: center;
  font-size: 3rem;
  top: -10px;
  left: -10px;
  width: 100px;
  height: 100px;
  z-index: 100;
  color: #fff;
  border-radius: 50px;
  line-height: 100px;
}
#about .detail_box .movie {
  margin: 0 auto 2rem;
  text-align: center;
}
#about .detail_box .movie a {
  margin: 0 auto;
}
#about .detail_box .movie img {
  margin: 0 auto 2rem;
  filter: drop-shadow(0 2px 5px rgba(0, 0, 0, 0.2));
}
#about .detail_box h3 {
  text-align: center;
  font-size: 3rem;
  padding: 4rem 0 1rem;
  line-height: 120%;
  margin-top: 3rem;
  text-shadow: 0 0 10px #fff, 0 0 5px #fff;
}
#about .detail_box h3.not_mt {
  margin-top: 0;
}
#about .detail_box h3.num01 {
  background: url("/software/suken-ainavi/assets/img/about/num_01.png");
  background-repeat: no-repeat;
  background-position: center top;
  background-size: 80px;
}
#about .detail_box h3.num02 {
  background: url("/software/suken-ainavi/assets/img/about/num_02.png");
  background-repeat: no-repeat;
  background-position: center top;
  background-size: 80px;
}
#about .detail_box h3.num03 {
  background: url("/software/suken-ainavi/assets/img/about/num_03.png");
  background-repeat: no-repeat;
  background-position: center top;
  background-size: 80px;
}
#about .detail_box .sub_text {
  font-weight: bold;
  margin-bottom: 2rem;
}
#about .detail_box h3 .sub_text {
  display: block;
  font-size: 1.6rem;
}
#about .detail_box p {
  text-align: center;
  font-size: 1.6rem;
}
#about .detail_box p span {
  text-align: center;
  font-weight: bold;
}
#about .detail_box .flex_box {
  display: flex;
  justify-content: center;
  gap: 20px;
}
#about .detail_box .box {
  display: block;
  flex: 1;
}
#about .detail_box .box.flex02 {
  flex: 2;
}
#about .detail_box .step {
  display: flex;
  justify-content: center;
  gap: 20px;
}
#about .detail_box .step dl {
  margin: 2rem 0 2rem;
  width: 100%;
  flex: 1;
}
#about .detail_box .step dl.flex02 {
  flex: 2;
}
#about .detail_box .step dl dt, #about .detail_box .step dl h5 {
  border-radius: 2rem;
  font-size: 1.6rem;
  color: #fff;
  text-align: center;
  font-weight: bold;
  padding: .5rem 0 .25rem;
  margin: .5rem 0 1rem;
  min-height: 35px;
}
#about .detail_box .step dl dd {
  text-align: center;
  font-size: 1.4rem;
}
#about .detail_box .flex_box {
  display: flex;
  gap: 20px;
}
#about .detail_box figure.arrow_right, #about .detail_box figure.arrow_bottom {
  position: relative;
}
#about .detail_box figure.arrow_bottom {
  padding-bottom: 30px;
}
#about .detail_box figure.arrow_right::after, #about .detail_box figure.arrow_bottom::after {
  width: 0;
  height: 0;
  content: "";
  border-left: 20px solid transparent;
  border-right: 20px solid transparent;
  border-top: 20px solid #585858;
  position: absolute;
}
#about .detail_box figure.arrow_right::after {
  top: 50%;
  right: -30px;
  margin-top: -30px;
  transform: rotate(270deg);
}
#about .detail_box figure.arrow_bottom::after {
  bottom: 0px;
  right: 50%;
  margin-right: -20px;
  transform: rotate(0deg);
}
#about .detail_box .point {
  padding: 3rem 3rem 2.5rem;
  margin: 3rem auto 0;
  text-align: left;
  border-radius: 10px;
  max-width: 660px;
  border: 2px solid #ebebeb;
  position: relative;
}
#about .detail_box .point h4 {
  position: absolute;
  text-align: center;
  font-size: 2rem;
  padding-top: .5rem;
  letter-spacing: .2rem;
  top: -20px;
  left: -10px;
  width: 100px;
  z-index: 100;
  color: #fff;
  border-radius: 30px;
}
#about #sugaku .point {
  border-color: #0081CC;
}
#about #rika .point {
  border-color: #77c730;
}
#about #eigo .point {
  border-color: #f08300;
}
#about #kokugo .point {
  border-color: #9d389a;
}
#about #shakai .point {
  border-color: #e74291;
}
#about #joho .point {
  border-color: #808788;
}
#about .detail_box .point p {
  font-size: 1.6rem;
  text-align: left;
}
#about .sub_nav {
  padding: 2rem 0;
}
#about .sub_nav ul {
  display: flex;
  list-style: none;
  margin: 0;
  padding: 0;
  justify-content: center;
  gap: 10px;
  font-size: 2rem;
}
#about .sub_nav.is-fixed ul {
  background: rgba(255, 255, 255, 0.7);
  max-width: 860px;
  margin: 0 auto;
  padding: 10px;
  border-radius: .5rem;
  filter: drop-shadow(0 2px 5px rgba(0, 0, 0, 0.2));
}
#about .sub_nav ul li {}
#about .sub_nav ul li a {
  text-decoration: none;
  color: #fff !important;
  display: block;
  padding: 10px 15px;
  font-weight: bold;
  border-radius: .5rem;
  line-height: 100%;
  padding: 1rem 4.5rem .5rem 4.5rem;
  position: relative;
}
/* 擬似要素で矢印を作成 */
#about .sub_nav ul li a::after {
  content: '';
  position: absolute;
  top: 50%;
  right: 15px;
  width: 8px;
  height: 8px;
  border-right: 2px solid #fff;
  border-bottom: 2px solid #fff;
  transform: translateY(-70%) rotate(45deg);
  transition: transform 0.3s;
}
/* ホバー時に矢印を動かす（お好みで） */
#about .sub_nav ul li a:hover::after {
  transform: translateY(-30%) rotate(45deg);
}
#about .detail_box p.attention {
  font-size: 1.2rem;
  text-align: left;
 text-indent: -1rem;
 padding-left: 1rem;
}
#about .detail_box p.attention.right {
  text-align: right;
}
/* ナビの基本スタイル */
.sub_nav {
  width: 100%;
  z-index: 1000;
  transition: all 0.4s ease;
}
/* 固定時のクラス（jQueryで制御） */
.sub_nav.is-fixed {
  position: fixed;
  top: 75px;
  left: 0;
  /* 上からスライドダウンさせるアニメーション */
  animation: slideDown 0.5s ease-out forwards;
}
/* スライドダウンのアニメーション定義 */
@keyframes slideDown {
  from {
    transform: translateY(-100%); /* 自分の高さ分、上に隠す */
    opacity: 0;
  }
  to {
    transform: translateY(0); /* 元の位置に戻す */
    opacity: 1;
  }
}

@media (max-width: 900px) {
  #about .sub_nav ul li a {
    padding: 1rem 3rem .5rem 2rem;
  }
}
@media (max-width: 767px) {
 #nav-wrapper {
 height: 45px;
}
  #about .lead {
    margin-top: 3rem;
    font-size: 2rem;
  }
  #about #login dl {
    margin-left: 0px;
  }
  #about #login dl::before {
    width: 70px;
    height: 70px;
    line-height: 70px;
    left: -10px;
    top: -50px;
  }
 #about #login dl::after {
  left: 50%;
}
  #about #login p {
    font-size: 1.6rem;
   margin: 5rem 0 2rem;
  padding: .5rem .5rem .5rem;
  }
  #about #login dl::before {
    font-size: 1.6rem;
  }
  #about #login dl dt {
    font-size: 1.4rem;
    border-bottom: 2px dotted #cccccc;
    padding: 0 0 1rem 0;
  }
  #about #login dl dd {
    font-size: 1.4rem;
    padding: 1.5rem 0 0 0;
  }
  #about .detail_box h2 {
    position: absolute;
    text-align: center;
    font-size: 2rem;
    top: -10px;
    left: -10px;
    width: 70px;
    height: 70px;
    z-index: 100;
    color: #fff;
    border-radius: 50px;
    line-height: 70px;
  }
  #about .detail_box h3 {
    font-size: 2.6rem;
  }
  #about .detail_box p {
    text-align: center;
    font-size: 1.4rem;
  }
  #about .detail_box p.attention.right {
  text-align: left;
  }
  #about {
    margin: 0 2rem;
  }
  #about .detail_box {
    padding: 3rem 3rem;
    margin: 1rem 1rem 10rem;
  }
  #about .detail_box .point h4 {
    font-size: 1.6rem;
    width: 80px;
  }
  #about .detail_box .step {
    display: block;
  }
  #about .detail_box .flex_box {
    display: block;
  }
  #about .detail_box .point {
    padding: 2rem 2rem 1.5rem 2rem;
  }
  #about .detail_box .point p {
    font-size: 1.4rem;
  }
  #about .detail_box .movie img {
    width: 100%;
    height: auto;
  }
  #about .sub_nav {
    padding: 1rem 0;
  }
  #about .sub_nav.is-fixed {
    top: 50px;
  }
  #about .sub_nav.is-fixed ul {
    max-width: 460px;
  }
  #about .sub_nav ul {
    gap: 5px;
  }
  #about .sub_nav ul li a {
    font-size: 1.6rem;
    padding: .5rem 2.4rem .25rem 1rem;
  }
  #about .sub_nav ul li a::after {
    right: 10px;
    width: 4px;
    height: 4px;
  }
  #about .sub_nav.is-fixed ul {
    padding: 10px 5px;
  }
  #about .detail_box figure.arrow_right {
    padding-bottom: 30px;
  }
  #about .detail_box figure.arrow_right::after {
    top: inherit;
    bottom: 0px;
    right: 50%;
    margin-right: -20px;
    transform: rotate(0deg);
  }
}
@media (max-width: 520px) {
  #about .sub_nav ul li a {
    font-size: 1.2rem;
    padding: 1rem 1.5rem .75rem 1rem;
  }
  #about .sub_nav ul {
    gap: 3px;
  }
  #about .sub_nav.is-fixed ul {
    max-width: 340px;
  }
  #about .sub_nav ul li a::after {
    right: 6px;
  }
}