/*
Theme Name: RUNRISE
Theme URI: https://www.runrise2022.com/
Author: CPRC WORKS
Author URI: https://cprcworks.com
Description: RUNRISE Original themes
Version: 1.0
*/

@charset "utf-8";
@import url('https://fonts.googleapis.com/css2?family=Anton&family=Lato:wght@400;700&display=swap');
@import url('https://fonts.googleapis.com/css2?family=Noto+Sans+JP:wght@400;700&display=swap');

body {
  font-family: 'Noto Sans JP', sans-serif;
}
h1,
h2,
h3,
h4,
h5 {
  font-family: 'Lato', sans-serif;
}
/* ロード画面 *************************/
#logo_loader {
  display: block;
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100vh;
  z-index: 1001;
  background-color: #333;
}
#logo_loader .f_logo {
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  margin: auto;
  width: 160px;
  height: 50px;
  text-align: center;
  color: #333;
  font-size: 30px;
}
#logo_loader .f_logo img {
  width: 100%;
  height: auto;
}
#logo_loader .f_logo:before {
  content: '';
  display: block;
  width: 100%;
  height: 110%;
  background-color: #333;
  position: absolute;
  top: 0;
  left: 100%;
  animation: loadLogo 1s;
}
@keyframes loadLogo {
  0% {
    left: 0;
  }
  50% {
    left: 0;
  }
  100% {
    left: 100%;
  }
}
#logo_loader.open {
  animation-name: slideOut;
  animation-fill-mode: forwards;
  animation-duration: 1s;
  animation-delay: 1s;
}

@keyframes slideOut {
  0% {
    transform: translateX(0%);
  }
  50% {
    transform: translateX(0%);
  }
  100% {
    transform: translateX(100%);
  }
}
/* ロード画面 *************************/
/*****スクロールアニメーション*/
.animation_up {
  opacity: 0;
  visibility: hidden;
  transition: 1s;
  transform: translateY(30px);
}
.animation_right {
  opacity: 0;
  visibility: hidden;
  transition: 1s;
  transform: translateX(-30px);
}
.animation_left {
  opacity: 0;
  visibility: hidden;
  transition: 1s;
  transform: translateX(30px);
}
/*アニメーション要素までスクロールした時のスタイル*/
.active {
  opacity: 1;
  visibility: visible;
  transform: translateY(0);
}
/*****横並びディレイ*/
.animation_up.second {
  transition-delay: 0.4s;
}
.animation_up.third {
  transition-delay: 0.6s;
}
.animation_up.fourth {
  transition-delay: 0.8s;
}
/*****スクロールアニメーション*/
/**HEADER******/
header {
  width: 100%;
  height: 80px;
  background-color: #000;
  position: fixed;
  top: 0;
  left: 0;
  z-index: 1000;
}

.header_container {
  position: relative;
}
.header_wrap {
  margin: 0 auto;
  width: 90%;
  height: 80px;
  max-width: 1300px;
  display: flex;
  justify-content: space-between;
  align-items: center;
}
.header_logo img {
  width: 180px;
  height: auto;
}
.header_nav ul {
  display: flex;
  justify-content: right;
  align-items: center;
  gap: 40px;
  color: #fff;
  font-family: 'Lato', sans-serif;
  font-size: 16px;
}
.header_nav ul li {
  width: 100%;
  height: 100%;
}
.header_nav ul li:last-of-type a {
  color: #000;
  background-color: #fff;
  padding: 8px 20px;
  border-radius: 30px;
  transition: 0.2s cubic-bezier(0.45, 0, 0.55, 1);
  overflow: hidden;
  position: relative;
  z-index: 1;
}
.header_nav ul li:last-of-type a::after {
  background: #777;
  position: absolute;
  top: 0;
  left: 0;
  content: '';
  width: 100%;
  height: 100%;
  transform: scale(0, 1);
  transform-origin: left top;
  transition: 0.2s cubic-bezier(0.45, 0, 0.55, 1);
  z-index: -1;
}
@media (hover: hover) {
  .header_nav ul li:hover {
    opacity: 0.5;
    transition: 0.2s cubic-bezier(0.45, 0, 0.55, 1);
  }
  .header_nav ul li:last-of-type a:hover {
    color: #fff;
  }
  .header_nav ul li:last-of-type a:hover::after {
    transform: scale(1, 1);
  }
}
.header_nav ul li > a {
  text-decoration: none;
  width: 100%;
  height: 100%;
  display: inline-block;
}
.sp_nav {
  display: none;
}
/**HERO******/
.hero {
  width: 100%;
  margin-top: 60px;
}
#top_video{
  width: 100%;
  height: calc(100vh - 60px);
  object-fit: cover;
}
/*intro*********/
.intro {
  width: 90%;
  max-width: 1300px;
  margin: 100px auto;
  position: relative;
  padding-top: 30px;
}
.intro img {
  position: absolute;
  top: 0;
  left: 50%;
  transform: translateX(-50%);
  opacity: 0.2;
  width: 200px;
  height: auto;
}
.intro h2 {
  font-size: 2rem;
  text-align: center;
  line-height: 1.8;
  font-weight: bold;
}
.intro p {
  margin-top: 20px;
  font-size: 1rem;
  text-align: center;
  line-height: 2.5;
  font-weight: bold;
}

/* タイトルスライダー */
.loop_wrap {
  display: flex;
  width: 100%;
  height: 250px;
  /* overflow: hidden; */
  opacity: 0.1;
  margin: 0 auto;
  position: absolute;
  top: 10px;
}
.loop_wrap img {
  width: auto;
  height: 100%;
}
.loop_wrap img:first-child {
  animation: slide1 90s -45s linear infinite;
}
.loop_wrap img:last-child {
  animation: slide2 90s linear infinite;
}

@keyframes slide1 {
  0% {
    transform: translateX(100%);
  }
  to {
    transform: translateX(-100%);
  }
}

@keyframes slide2 {
  0% {
    transform: translateX(0);
  }
  to {
    transform: translateX(-200%);
  }
}
/* END タイトルスライダー */
/*service******/
.service_container {
  width: 100%;
  /* max-width: 1300px; */
  height: auto;
  margin: 0 auto;
  position: relative;
  overflow: hidden;
}
.contents_title {
  font-size: 2.5rem;
  text-align: center;
  font-weight: bold;
  color: rgb(36, 122, 184);
}
.strength_container h3,
.service_container h3 {
  font-size: 1.3rem;
  text-align: center;
  margin: 10px 0;
}
.title_text {
  font-weight: bold;
  margin-top: 100px;
}

.works_figure {
  margin: 100px auto;
  position: relative;
  width: 700px;
  height: 645px;
}
.center_logoArea {
  position: absolute;
  top: 25%;
  left: 50%;
  transform: translateX(-50%);
  width: 500px;
  height: 500px;
}
.center_logoArea img {
  position: absolute;
  top: 40%;
  left: 50%;
  transform: translate(-50%, -50%);
  width: 100%;
  height: auto;
}
.youtube_direction {
  margin: 0 auto;
  width: 250px;
  height: 250px;
  border-radius: 50%;
  background-color: #1c2a53;
  position: relative;
}
.goods_production_figure img,
.web_design_figure img,
.youtube_direction img {
  position: absolute;
  top: 50%;
  left: 50%;
  width: 30%;
  height: auto;
  transform: translate(-50%, -50%);
  opacity: 0.2;
  z-index: 1;
}
.web_design_figure {
  position: absolute;
  left: 0%;
  bottom: 0;
  width: 250px;
  height: 250px;
  border-radius: 50%;
  background-color: #1c2a53;
}
.goods_production_figure {
  position: absolute;
  right: 0;
  bottom: 0;
  width: 250px;
  height: 250px;
  border-radius: 50%;
  background-color: #1c2a53;
}
.contents_center {
  width: 100%;
  height: auto;
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  z-index: 10;
}
.works_figure h4 {
  text-align: center;
  font-size: 1.2rem;
  font-weight: bold;
  color: #fff;
  margin: 10px 0;
}
.works_figure p {
  text-align: center;
  font-size: 0.8rem;
  color: #fff;
}
.works_figure .btn {
  background-color: rgb(219, 219, 219);
  margin: 30px auto 0;
  width: 100px;
  height: auto;
  border-radius: 5px;
}
.works_figure .btn a::after {
  content: '>';
  margin-left: 7px;
}
.works_figure .btn a {
  width: 100%;
  height: auto;
  padding: 5px 0;
  font-size: 1rem;
  text-align: center;
  display: block;
  position: relative;
}
@media (hover: hover) {
  .works_figure .btn a:hover {
    background-color: #fff;
    border-radius: 5px;
    -webkit-transition: all 0.3s ease;
    transition: all 0.3s ease;
  }
}
/*strength******/
.strength_container {
  width: 100%;
  height: auto;
  margin: 0 auto;
  position: relative;
  overflow: hidden;
}
.strength_contents {
  margin: 150px 0 0;
  width: 100%;
  height: auto;
  background-image: url(images/strength.jpg);
  background-position: center;
  background-repeat: no-repeat;
  background-size: cover;
  padding: 50px;
}
.strength_contents h2 {
  margin: 0 auto 50px;
  padding: 20px 10px;
  width: 400px;
  font-size: 1rem;
  text-align: center;
  color: #fff;
  background-color: #1c2a53;
}
.strength_contents p {
  font-size: 1rem;
  color: #fff;
  line-height: 2;
  text-align: center;
}
.strength_contents .btn {
  background-color: rgb(219, 219, 219);
  margin: 50px auto 0;
  width: 150px;
  height: auto;
  border-radius: 5px;
}
.strength_contents .btn a {
  width: 100%;
  height: auto;
  padding: 10px 0;
  font-size: 1rem;
  text-align: center;
  display: block;
  position: relative;
}
@media (hover: hover) {
  .strength_contents .btn a:hover {
    background-color: #fff;
    border-radius: 5px;
    -webkit-transition: all 0.3s ease;
    transition: all 0.3s ease;
  }
}
/*footer*********/
.footer {
	width: 100%;
	height: auto;
	position: relative;
}
.footer_container {
  width: 100%;
  height: auto;
  padding: 50px 0 50px;
  background-color: #000;
  position: absolute;
}
#page_top > a {
  width: 150px;
  height: auto;
  position: fixed;
  display: flex;
  color: #888;
  right: -30px;
  bottom: 80px;
  transform: rotate(90deg);
  font-size: 0.8rem;
  cursor: pointer;
  z-index: 10;
  font-family: 'Lato', sans-serif;
}
#page_top > a img {
  width: 50px;
  height: auto;
}
.footer_contents {
  width: 100%;
  height: auto;
  margin: 0 auto;
  text-align: center;
  color: #888;
  position: relative;
}
.footer_contents > img {
  display: block;
  width: 100px;
  margin: 0 auto 20px;
}
.footer_contents h2 {
  font-size: 0.7rem;
  font-weight: bold;
  margin-bottom: 15px;
}
.footer_contents p {
  font-size: 0.7rem;
}
.footer_contents a {
  font-size: 0.5rem;
  text-decoration: none;
  color: #888;
  position: absolute;
  bottom: 0;
  left: 70%;
}
.footer_contents a::after {
  content: '>';
  margin-left: 7px;
}
.footer_contents p:last-of-type {
  font-size: 0.5rem;
  margin-top: 40px;
}
br.sp {
  display: none;
}

@media screen and (max-width: 1050px) {
  #top_video{
    width: 100%;
    height: auto;
    object-fit: cover;
    aspect-ratio: 5 / 4;
    overflow: hidden;
  }
}
@media screen and (max-width: 768px) {
  .header_nav {
    display: none;
  }
  /*ハンバーガーメニュー*/
  .hamburger {
    display: block;
    position: fixed;
    top: 15px;
    right: 50px;
    width: 70px;
    height: 70px;
    cursor: pointer;
    text-align: center;
    z-index: 999;
  }
  .hamburger span {
    display: block;
    position: absolute;
    width: 30px;
    height: 2px;
    right: 0;
    background: #fff;
    -webkit-transition: 0.5s ease-in-out;
    -moz-transition: 0.5s ease-in-out;
    transition: 0.5s ease-in-out;
  }
  .hamburger span:nth-child(1) {
    top: 15px;
  }
  .hamburger span:nth-child(2) {
    top: 25px;
  }
  .hamburger span:nth-child(3) {
    top: 35px;
  }
  .hamburger.active {
    position: fixed;
    z-index: 9999;
  }
  /* Xボタン */
  .hamburger.active span:nth-child(1) {
    width: 30px;
    top: 30px;
    right: 0;
    background: #fff;
    -webkit-transform: rotate(-45deg);
    -moz-transform: rotate(-45deg);
    transform: rotate(-45deg);
  }

  .hamburger.active span:nth-child(2) {
    display: none;
    -webkit-transition: 0.5s ease-in-out;
    -moz-transition: 0.5s ease-in-out;
    transition: 0.5s ease-in-out;
  }
  .hamburger.active span:nth-child(3) {
    width: 30px;
    top: 30px;
    right: 0;
    background: #fff;
    -webkit-transform: rotate(45deg);
    -moz-transform: rotate(45deg);
    transform: rotate(45deg);
  }
  /* Xボタン */
  /*ナビレイアウト****/
  .sp_nav_container {
    position: fixed;
    background-color: #111;
    top: 0;
    left: 0;
    width: 100%;
    height: 100vh;
    visibility: hidden;
    opacity: 0;
    transition: opacity 0.6s ease, visibility 0.6s ease;
    z-index: 999;
  }
  .sp_nav {
    display: block;
    width: 100%;
    height: 100vh;
    text-align: center;
    overflow: scroll;
    margin: 50px 0;
  }
  .sp_nav img {
    display: block;
    width: 200px;
    height: auto;
    margin: 30px auto;
  }
  .sp_nav ul a {
    text-decoration: none;
  }
  .sp_nav ul li {
    color: #fff;
	 font-size: 1.5rem;
    background-color: #111;
    -webkit-transition: all 0.3s ease;
    -moz-transition: all 0.3s ease;
    -o-transition: all 0.3s ease;
    transition: all 0.3s ease;
    margin: 30px 0;
  }
  .sp_nav ul li:hover {
    background-color: #555;
    transition: 0.3s;
    color: #fff;
  }

  /*このクラスを、jQueryで付与・削除する */
  html.fixed {
    height: 100%;
    overflow: hidden;
  }
  .sp_nav_container.active {
    opacity: 1;
    visibility: visible;
  }
  .hero h2 {
    font-size: 2rem;
  }
  .intro h2 {
    font-size: 1.5rem;
  }
  .intro p {
    font-size: 0.8rem;
    line-height: 1.8;
  }
  .works_figure {
    margin: 100px auto;
    position: relative;
    width: 410px;
    height: 380px;
  }
  .center_logoArea {
    position: absolute;
    top: 25%;
    left: 50%;
    transform: translateX(-50%);
    width: 300px;
    height: 300px;
  }
  .center_logoArea img {
    position: absolute;
    top: 40%;
    left: 50%;
    transform: translate(-50%, -50%);
    width: 100%;
    height: auto;
  }
  .youtube_direction {
    margin: 0 auto;
    width: 150px;
    height: 150px;
    border-radius: 50%;
    background-color: #1c2a53;
    position: relative;
  }
  .goods_production_figure img,
  .web_design_figure img,
  .youtube_direction img {
    position: absolute;
    top: 50%;
    left: 50%;
    width: 30%;
    height: auto;
    transform: translate(-50%, -50%);
    opacity: 0.2;
    z-index: 1;
  }
  .web_design_figure {
    position: absolute;
    left: 0%;
    bottom: 0;
    width: 150px;
    height: 150px;
    border-radius: 50%;
    background-color: #1c2a53;
  }
  .goods_production_figure {
    position: absolute;
    right: 0;
    bottom: 0;
    width: 150px;
    height: 150px;
    border-radius: 50%;
    background-color: #1c2a53;
  }
  .works_figure h4 {
    text-align: center;
    font-size: 0.8rem;
    font-weight: bold;
    color: #fff;
    margin: 15px 0 5px;
  }
  .works_figure p {
    text-align: center;
    font-size: 0.8rem;
    color: #fff;
  }
  .works_figure .btn {
    margin: 10px auto 0;
    width: 80px;
  }
  .works_figure .btn a {
    font-size: 0.8rem;
  }
  .strength_contents p {
    font-size: 0.8rem;
  }
  br.tb {
    display: block;
  }
}

@media screen and (max-width: 550px) {
  .header_logo img {
    width: 100px;
    height: auto;
  }
  .hamburger {
    top: 11px;
    right: 23px;
  }
  .hero {
    margin-top: -20px;
  }
  #top_video {
    margin-top: 80px;
    width: 100%;
    height: auto;
    object-fit: cover;
  }
  .hero h2 {
    font-size: 1.2rem;
  }
  .intro {
    margin: 100px auto;
  }
  .intro h2 {
    font-size: 1rem;
  }
  .loop_wrap {
    height: 150px;
    top: 50px;
  }
  .contents_title {
    font-size: 1.5rem;
  }
  .youtube_direction,
  .web_design_figure,
  .goods_production_figure {
    position: inherit;
    margin: 20px auto 50px;
    width: 200px;
    height: 200px;
  }
  .center_logoArea {
    display: none;
  }
  .works_figure {
    margin: 50px auto;
    width: 100vw;
    height: auto;
    background-image: url(images/service_back_sp.png);
    background-size: contain;
    background-position: center;
    background-repeat: no-repeat;
  }
  .works_figure .btn {
    margin: 20px auto 0;
    width: 100px;
  }
  .works_figure h4 {
    text-align: center;
    font-size: 1rem;
    font-weight: bold;
    color: #fff;
    margin: 15px 0 5px;
  }
  .works_figure p {
    text-align: center;
    font-size: 1rem;
    color: #fff;
  }
  .strength_contents h2 {
    width: 100%;
    padding: 10px 10px;
    font-size: 1rem;
    line-height: 1.8;
  }
  #page_top > a {
    right: -55px;
    bottom: 40px;
  }
  br.sp {
    display: block;
  }
  .footer_contents a {
    bottom: 25px;
    left: 50%;
    transform: translateX(-50%);
  }
}
