@charset "UTF-8";
/* font */
#mv {
  min-width: 1000px;
  font-family: "M PLUS Rounded 1c", sans-serif !important;
}

#mv .logo {
  background: #2b3c52;
  width: 9rem;
  position: absolute;
  top: 0;
  left: 0;
  padding: 2.5rem 2rem;
  opacity: 0;
}

#mv .mv-content {
  margin: 0 auto;
  width: calc(100% - 11rem);
}

#mv .mv-content .mv-img-wrapper {
  width: 100%;
}

#mv .mv-content .mv-img-wrapper img {
  width: 100%;
}

#mv .mv-news-wrapper {
  width: 37%;
  position: absolute;
  bottom: -1rem;
  background: white;
  padding: 3rem 2rem;
  left: 5rem;
  opacity: 0;
}

.mv-scroll {
  position: absolute;
  left: 1.4rem;
  bottom: 2rem;
}

.mv-scroll .scroll-text {
  color: #333;
  font-size: 12px;
  text-align: center;
  transform: rotate(90deg);
  margin-top: 2rem;
  font-family: "roboto";
  font-weight: 500;
  letter-spacing: 1px;
}

.mv-scroll .scroll-border {
  position: relative;
  top: 0;
  width: 1px;
  height: 50px;
  background-color: #d5d5d5;
  overflow: hidden;
  margin: auto;
}

.mv-scroll .scroll-border::before {
  content: "";
  display: block;
  position: absolute;
  width: 1px;
  height: 15px;
  top: 0;
  left: 0;
  right: 0;
  background: #333;
  animation: mvscrollbar 2.0s ease-in-out infinite;
  margin: auto;
}

@keyframes mvscrollbar {
  0% {
    -webkit-transform: translateY(-20px);
    transform: translateY(-20px);
  }
  100% {
    -webkit-transform: translateY(70px);
    transform: translateY(70px);
  }
}

/* top1-content */
.top1-content {
  position: relative;
  display: flex;
  justify-content: center;
  align-items: unset;
  font-family: "M PLUS Rounded 1c", sans-serif !important;
}

.top1-content .left {
  width: calc(50% - 5rem);
  margin-right: 5rem;
  position: relative;
}

.top1-content .left .img-wrapper {
  border-radius: 0 0 0 50px;
  display: block;
  overflow: hidden;
}

.top1-content .left .btn-wrapper {
  position: absolute;
  bottom: -15px;
  left: 0;
  width: 100%;
}

.top1-content .left .btn-wrapper a {
  width: 16rem;
}

.top1-content .right {
  display: flex;
  flex-direction: column;
  justify-content: flex-start;
}

.top1-content .right p {
  writing-mode: vertical-rl;
  font-size: 1.4rem;
  margin: 0 auto;
  letter-spacing: 3px;
  text-align: left;
  margin-top: 2rem;
}

.top1-content .right p span {
  display: block;
  margin-left: 1.5em;
}

.top1-content .right p span strong {
  color: #2c3e50;
  font-weight: 500;
}

.top1-content .right .scroll {
  position: relative;
  display: flex;
  justify-content: flex-end;
  margin-top: auto;
}

.top1-content .right .scroll-text {
  color: #2b3c52;
  font-size: 14px;
  text-align: center;
  margin-left: 2rem;
  letter-spacing: 1px;
}

.top1-content .right .scroll-border {
  position: relative;
  top: 10px;
  width: 8rem;
  height: 1px;
  overflow: hidden;
}

.top1-content .right .scroll-border::before {
  content: "";
  display: block;
  position: absolute;
  width: 40px;
  height: 1px;
  top: 0;
  left: 0;
  background: #e6e6e6;
  animation: scrollbar 2.0s ease-in-out infinite;
  margin: auto;
}

@keyframes scrollbar {
  0% {
    width: 0;
    left: 0;
  }
  30% {
    width: 100%;
  }
  100% {
    left: 100%;
  }
}

/* top2-content */
.top2-content ul {
  display: grid;
  grid-template-columns: repeat(3, 250px);
  /* grid-template-columns: 1fr 1fr 1fr; */
  column-gap: 6rem;
  justify-content: center;
  align-items: flex-start;
  margin-top: 2rem;
}

.top2-content ul li .img {
  width: 85%;
  margin: 0 auto;
}

.top2-content ul li h3 {
  font-family: "M PLUS Rounded 1c", sans-serif !important;
  margin-top: 1.5rem;
  font-size: 1.2rem;
  font-weight: 400;
  letter-spacing: 2px;
}

.top2-content ul li .bar {
  width: 3rem;
  background: #334961;
  height: 3px;
  display: block;
  margin: 1rem auto;
}

.top2-content ul li p {
  font-size: 1rem;
  line-height: 1.7;
}

.top2-content .btn-wrapper {
  margin-top: 4rem;
}

.top2-content .btn-wrapper a {
  width: 16rem;
}

/* top3-content */
.top3-content {
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.top3-content .img {
  width: 51%;
  display: flex;
}

.top3-content .txt {
  width: calc(49% - 5rem);
  text-align: left;
  margin-top: 3rem;
}

.top3-content .txt h3 {
  color: #006d97;
  font-weight: 500;
  margin: 2.5rem 0 2rem;
  font-size: 1.3rem;
  line-height: 1.8;
  letter-spacing: 2px;
}

.top3-content .txt p {
  line-height: 1.8;
  letter-spacing: 1px;
  margin-right: 3.5rem;
}

.top3-content .txt .btn-wrapper {
  margin-top: 4rem;
}

.top3-content .txt .btn-wrapper a {
  width: 10rem;
}

/* top4-content */
.top4-content {
  display: flex;
  flex-direction: row-reverse;
  align-items: center;
  justify-content: space-between;
}

.top4-content .img {
  width: 51%;
  display: flex;
}

.top4-content .txt {
  width: calc(49% - 5rem);
  text-align: left;
  margin-left: 3rem;
}

.top4-content .txt h3 {
  color: #006d97;
  font-weight: 500;
  margin: 2.5rem 0 2rem;
  font-size: 1.3rem;
  line-height: 1.8;
  letter-spacing: 2px;
}

.top4-content .txt p {
  line-height: 1.8;
  letter-spacing: 1px;
  margin-right: 3.5rem;
}

.top4-content .txt .btn-wrapper {
  margin-top: 4rem;
}

.top4-content .txt .btn-wrapper a {
  width: 10rem;
}

/* banner */
.banner ul {
  display: flex;
  align-items: center;
  justify-content: center;
}

.banner ul li {
  position: relative;
  width: 50%;
}

.banner ul li.company a {
  background: #40566b;
}

.banner ul li.company a::before {
  background: #2b3c52;
}

.banner ul li.personal a {
  background: #4f6d6c;
}

.banner ul li.personal a::before {
  background: #415b5a;
}

.banner ul li::after {
  position: absolute;
  content: '';
  width: 100%;
  height: 3px;
  background: white;
  bottom: 5px;
  left: 0;
}

.banner ul li a {
  padding: 4rem 0;
  color: white;
  position: relative;
}

.banner ul li a::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  transform: scaleX(0);
  transform-origin: right;
  transition: transform 0.7s cubic-bezier(0.19, 1, 0.22, 1);
  background: white;
}

.banner ul li a:hover::before {
  transform: scaleX(1);
  transform-origin: left;
}

.banner ul li .img {
  position: relative;
  z-index: 3;
  width: 6rem;
  margin: 0 auto;
}

.banner ul li strong {
  position: relative;
  z-index: 3;
  font-size: 1.7rem;
  font-weight: 500;
  margin-top: 1rem;
  display: block;
  letter-spacing: 3px;
  font-family: "M PLUS Rounded 1c", sans-serif !important;
}

/* top5-content */
.top5-content {
  width: 90%;
  margin: 4rem auto;
}

.top5-content .btn-wrapper {
  margin-top: 3rem;
}

.top5-content .btn-wrapper a {
  width: 10rem;
}

.header-fixed-logo {
  position: fixed;
  /* 画面に固定 */
  top: 0;
  left: 0;
  background-color: #2c3e50;
  transform: translateY(-100%);
  /* 上に隠す */
  opacity: 0;
  transition: all 0.3s;
  padding: 1.5rem 2rem;
  width: 6rem;
  z-index: 5;
}

.header-fixed-logo.active {
  transform: translateY(0);
  /* 元の位置に戻す */
  opacity: 1;
}

@media screen and (max-width: 768px) {
  body {
    min-width: unset;
    width: 100%;
  }
  #mv {
    min-width: unset;
  }
  #mv .logo {
    display: none;
  }
  #mv .mv-content {
    width: 100%;
  }
  #mv .mv-content .mv-img-wrapper {
    width: 100%;
  }
  #mv .mv-content .mv-img-wrapper img {
    width: 100%;
  }
  #mv .mv-news-wrapper {
    width: calc(90% - 4rem);
    bottom: -2rem;
    padding: 0 2rem;
    left: 0;
  }
  /* top1-content */
  .top1-content {
    flex-direction: column-reverse;
  }
  .top1-content .left {
    width: 100%;
    margin: 0;
  }
  .top1-content .left .img-wrapper {
    margin-top: 2rem;
  }
  .top1-content .left .btn-wrapper {
    position: static;
    margin-top: 2rem;
  }
  .top1-content .left .btn-wrapper a {
    width: 12rem;
  }
  .top1-content .right p {
    font-size: 1rem;
  }
  .top1-content .right p span {
    margin-left: 1em;
  }
  .top1-content .right p span:last-of-type {
    margin-left: 0;
  }
  .top1-content .right .scroll-text {
    margin-left: 1rem;
  }
  .top1-content .right .scroll-border {
    width: 4rem;
  }
  /* top2-content */
  .top2-content ul {
    grid-template-columns: repeat(1, 100%);
    margin-top: 3rem;
  }
  .top2-content ul li {
    margin-bottom: 3rem;
  }
  .top2-content ul li .img {
    width: 85%;
    margin: 0 auto;
  }
  .top2-content ul li h3 {
    font-size: 1.4rem;
  }
  .top2-content ul li .bar {
    width: 3rem;
    background: #334961;
    height: 3px;
    display: block;
    margin: 1rem auto;
  }
  .top2-content ul li p {
    font-size: 1rem;
    line-height: 1.7;
  }
  .top2-content .btn-wrapper {
    margin-top: 1rem;
  }
  .top2-content .btn-wrapper a {
    width: 12rem;
  }
  /* top3-content */
  .top3-content {
    flex-direction: column;
  }
  .top3-content .img {
    width: 100%;
  }
  .top3-content .txt {
    width: 100%;
    text-align: center;
  }
  .top3-content .txt h3 {
    font-size: 1.1rem;
    letter-spacing: 0px;
  }
  .top3-content .txt p {
    margin-right: 0;
    text-align: left;
  }
  .top3-content .txt .btn-wrapper {
    margin-top: 2rem;
  }
  .top3-content .txt .btn-wrapper a {
    width: 12rem;
  }
  /* top4-content */
  .top4-content {
    flex-direction: column;
  }
  .top4-content .img {
    width: 100%;
  }
  .top4-content .txt {
    width: 100%;
    text-align: center;
    margin-left: 0;
  }
  .top4-content .txt h3 {
    font-size: 1.1rem;
    letter-spacing: 0px;
  }
  .top4-content .txt p {
    margin-right: 0;
    text-align: left;
  }
  .top4-content .txt .btn-wrapper {
    margin-top: 2rem;
  }
  .top4-content .txt .btn-wrapper a {
    width: 12rem;
  }
  /* banner */
  .banner ul {
    flex-direction: column;
  }
  .banner ul li {
    width: 100%;
    margin-bottom: 1rem;
  }
  .banner ul li::after {
    position: absolute;
    content: '';
    width: 100%;
    height: 3px;
    background: white;
    bottom: 5px;
    left: 0;
  }
  .banner ul li a {
    padding: 1.5rem 1rem;
    display: flex;
    align-items: center;
    justify-content: flex-start;
  }
  .banner ul li .img {
    width: 3.5rem;
    margin: 0;
    margin-right: 1rem;
  }
  .banner ul li strong {
    font-size: 1.2rem;
    margin-top: 0;
  }
  /* top5-content */
  .top5-content {
    width: 100%;
    margin: 4rem auto;
  }
  .top5-content .btn-wrapper {
    margin-top: 3rem;
  }
  .top5-content .btn-wrapper a {
    width: 12rem;
  }
  .mv-scroll {
    display: none;
  }
  .header-fixed-logo {
    display: none;
  }
}
