* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}
body {
  font-family: "Roboto", sans-serif;
  color: #0a0a0a;
}
.body-wrap {
  overflow: hidden;
}
a {
  text-decoration: none;
  color: inherit;
}
li {
  list-style: none;
}
span.inline {
  display: inline-block;
}
h1,
h2,
h3,
h4,
p {
  line-height: 1.7;
  letter-spacing: 1.2px;
}
a {
  letter-spacing: 1.2px;
}
/*header*/
header {
  width: 100%;
  position: fixed;
  top: 0;
  z-index: 99;
  background-color: #fff;
}
.header-inner {
  width: 90%;
  margin: 0 auto;
  height: 80px;
  display: flex;
  justify-content: space-between;
  align-items: center;
  position: relative;
}
.header-logo img {
  width: 200px;
}
.header-nav ul {
  display: flex;
  align-items: center;
}
.header-nav li:not(:first-of-type) {
  margin-left: 1.5rem;
}
.header-nav a {
  text-transform: uppercase;
  font-size: 1.1rem;
  font-weight: bold;
  position: relative;
}
.header-nav a::after {
  position: absolute;
  bottom: 0;
  left: 0;
  content: "";
  background-color: #c10f19;
  height: 2px;
  width: 100%;
  transition: transform 0.3s ease-in;
  transform: scale(0);
  transform-origin: right;
}
.header-nav a:hover::after {
  transform: scale(1);
  transform-origin: left;
}

/*==================================================
5-2-1 3本線が×に
===================================*/
/*ボタン外側※レイアウトによってpositionや形状は適宜変更してください*/
.openbtn {
  /*ボタン内側の基点となるためrelativeを指定。
追従するナビゲーションの場合はfixed＋top、rightといった位置をセットで指定*/
  position: absolute;
  top: 0;
  right: 0;
  background: #c10f19;
  cursor: pointer;
  width: 70px;
  height: 70px;
  display: none;
}

/*ボタン内側*/
.openbtn span {
  display: inline-block;
  transition: all 0.4s; /*アニメーションの設定*/
  position: absolute;
  left: 50%;
  transform: translateX(-50%);
  height: 3px;
  background: #fff;
  width: 50%;
}

.openbtn span:nth-of-type(1) {
  top: 25px;
}

.openbtn span:nth-of-type(2) {
  top: 35px;
}

.openbtn span:nth-of-type(3) {
  top: 45px;
}

/*activeクラスが付与されると線が回転して×に*/

.openbtn.active span:nth-of-type(1) {
  top: 29.5px;
  left: 18px;
  transform: translateY(6px) rotate(-45deg);
}

.openbtn.active span:nth-of-type(2) {
  opacity: 0; /*真ん中の線は透過*/
}

.openbtn.active span:nth-of-type(3) {
  top: 41.5px;
  left: 18px;
  transform: translateY(-6px) rotate(45deg);
}
/*fv*/
.fv {
  height: 100vh;
  width: 100%;
  position: relative;
}

#particles-js {
  position: fixed; /*描画固定*/
  z-index: -1; /*描画を一番下に*/
  width: 100%;
  height: 100%;
  top: 0;
  background-color: #fff; /*背景色*/
}

#wrapper {
  position: relative; /*描画を#particles-jsよりも上にするためposition:relative;を指定*/
  z-index: 1; /*z-indexの数字を大きくすることで描画を#particles-jsよりも上に*/
  width: 100%;
  height: 100%;
  display: flex;
  align-items: center;
  justify-content: center;
}
/*タイピングアニメーション*/
.typed::after {
  content: "|";
  animation: blink 0.7s infinite;
  color: #0a0a0a;
}
.typed {
  font-size: 2.5rem;
  text-align: center;
}
.pc-none {
  display: none;
}
@keyframes blink {
  50% {
    opacity: 0;
  }
}

/*main共通*/
section {
  padding: 4rem 0;
}
.section-title-anime {
  width: fit-content;
  margin: 0 auto;
}
.section-titlewrap {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
}
.section-title {
  font-size: 1.2rem;
  line-height: 1;
}
.section-title-en {
  text-transform: uppercase;
  font-size: 4rem;
  font-style: italic;
  font-weight: 900;
  line-height: 1.3;
}

/*about*/
.about-contents {
  margin: 2rem auto 0;
  width: 95%;
  max-width: 1000px;
}
.about-contents p {
  line-height: 2.5;
  font-size: 1.2rem;
  text-align: center;
}

.mt {
  margin-top: 2rem;
}

/*business*/
.business-contents {
  margin-top: 4rem;
}

.business-item {
  display: flex;
}
.business-item:nth-of-type(even) {
  flex-direction: row-reverse;
}
.business-item-textwrap {
  padding: 3rem 4rem;
  width: 50%;
}
.business-item-title {
  font-size: 1.7rem;
}
.business-item-textwrap p {
  margin-top: 2rem;
  line-height: 2;
}
.business-item-img {
  width: 50%;
  height: 350px;
}
.business-item-img img {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: cover;
}

/*news*/
.news-wrap {
  display: flex;
  width: 95%;
  margin: 0 auto;
  max-width: 1200px;
}
.news-left {
  width: 30%;
}

.news-left .section-title-anime {
  margin: 0;
}
.more-wrap {
  margin-top: 3rem;
}
.more-wrap a {
  background-color: #0a0a0a;
  color: #fff;
  padding: 1rem;
  width: fit-content;
  display: flex;
  align-items: center;
  border: 1px solid #000;
  transition: background-color 0.2s ease, color 0.2s ease !important;
}
.more-wrap a:hover {
  background-color: #fff;
  color: #000;
}
.more-wrap svg {
  width: 20px;
  height: auto;
  margin-left: 1rem;
}
.more-wrap a path {
  transition: fill 0.2s ease;
}
.more-wrap a:hover path {
  fill: #000;
}

.news-contents {
  width: 70%;
}

.news-title {
  align-items: flex-start;
}

.news-des {
  display: flex;
  align-items: center;
}
.news-genre {
  display: flex;
  align-items: center;
}
.news-genre li {
  color: #fff;
  background-color: #0a0a0a;
  padding: 0.25rem 0.5rem;
  font-size: 0.9rem;
}
.news-genre li + li {
  margin-left: 0.5rem;
}
.news-date {
  margin-left: 1.5rem;
}
.news-lists h3 {
  margin-top: 1rem;
  font-size: 1.05rem;
}
.news-lists a {
  border-top: 1px solid #0a0a0a;
  display: block;
  padding: 1.5rem 0;
}
.news-lists li:last-of-type a {
  border-bottom: 1px solid #0a0a0a;
}

/*recruit*/
.recruit {
  display: flex;
  height: 700px;
}
.recruit-bg {
  width: calc(100% - 550px);
  height: 100%;
}
.recruit-bg img {
  display: block;
  object-fit: cover;
  width: 100%;
  height: 100%;
}
.recruit-textwrap {
  width: 550px;
  height: 100%;
  padding: 4rem;
}
.recruit-textwrap .section-title-anime {
  margin: 0;
}

.recruit-title {
  align-items: flex-start;
}
.recruit-text {
  margin-top: 2rem;
  line-height: 2;
}

/*company*/
.company-contents {
  width: 95%;
  margin: 4rem auto 0;
  max-width: 800px;
  border-collapse: collapse;
}
.company-contents tr {
  border-top: 1px solid #bdbdbd;
}
.company-contents tr:last-of-type {
  border-bottom: 1px solid #bdbdbd;
}
.company-contents th {
  width: 200px;
  text-align: left;
  padding: 1.5rem;
  vertical-align: top;
}
.company-contents td {
  text-align: left;
  padding: 1.5rem;
  line-height: 1.7;
}

/*contact*/
.contact {
  background-color: #d9d9d9;
}

.contact-contents {
  display: flex;
  justify-content: center;
  margin-top: 4rem;
}

.contact-btn {
  padding: 1.5rem 4rem;
  margin: 0 1rem;
  display: block;
  font-weight: 600;
  background-color: #fff;
  font-size: 1.1rem;
  display: flex;
  align-items: center;
  justify-content: center;
}

.contact-btn.mail-btn {
  border: 2px solid #0a0a0a;
  color: #0a0a0a;
  transition: background-color 0.2s ease, color 0.2s ease !important;
}
.contact-btn.mail-btn #mail_icon .st0 {
  transition: fill 0.2s ease;
}
.contact-btn.mail-btn:hover {
  background-color: #000;
  color: #fff;
}
.contact-btn.mail-btn:hover #mail_icon .st0 {
  fill: #fff !important;
}
#mail_icon {
  display: block;
  width: 30px !important;
  margin-right: 1rem;
  height: auto !important;
}

.contact-btn.form-btn {
  background-color: #0a0a0a;
  border: 2px solid #0a0a0a;
  color: #fff;
  transition: background-color 0.2s ease, color 0.2s ease !important;
}
.contact-btn.mail-btn:hover #form_icon .st0 {
  fill: #000 !important;
}
.contact-btn.form-btn:hover {
  background-color: #fff;
  color: #000;
}
.contact-btn.form-btn:hover .st0 {
  fill: #000 !important;
}
#form_icon {
  display: block;
  width: 30px !important;
  height: auto !important;
  margin-right: 1rem;
}

/*footer*/
footer {
  background-color: #0a0a0a;
  padding: 4rem 0;
}
.footer-inner {
  width: 90%;
  max-width: 1000px;
  margin: 0 auto;
  display: flex;
  justify-content: space-between;
  align-items: flex-start;
}
.footer-logo {
  display: block;
  width: 250px;
}
.footer-nav {
  color: #fff;
}

.footer-nav li + li {
  margin-top: 0.5rem;
}

.copyright {
  color: #fff;
  text-align: center;
  margin-top: 3rem;
}

/*アニメーション*/
/*全共通*/

.bgextend {
  animation-name: bgextendAnimeBase;
  animation-duration: 1s;
  animation-fill-mode: forwards;
  position: relative;
  overflow: hidden; /*　はみ出た色要素を隠す　*/
  opacity: 0;
}

@keyframes bgextendAnimeBase {
  from {
    opacity: 0;
  }

  to {
    opacity: 1;
  }
}

/*中の要素*/
.bgappear {
  animation-name: bgextendAnimeSecond;
  animation-duration: 1s;
  animation-delay: 0.6s;
  animation-fill-mode: forwards;
  opacity: 0;
}

@keyframes bgextendAnimeSecond {
  0% {
    opacity: 0;
  }
  100% {
    opacity: 1;
  }
}

/*左から右*/
.bgLRextend::before {
  animation-name: bgLRextendAnime;
  animation-duration: 1s;
  animation-fill-mode: forwards;
  content: "";
  position: absolute;
  width: 100%;
  height: 100%;
  background-color: #0a0a0a; /*伸びる背景色の設定*/
}
@keyframes bgLRextendAnime {
  0% {
    transform-origin: left;
    transform: scaleX(0);
  }
  50% {
    transform-origin: left;
    transform: scaleX(1);
  }
  50.001% {
    transform-origin: right;
  }
  100% {
    transform-origin: right;
    transform: scaleX(0);
  }
}

/* スクロールをしたら出現する要素にはじめに透過0を指定　*/
.bgappearTrigger,
.bgLRextendTrigger {
  opacity: 0;
}

/*u-fv*/
.u-fv {
  height: 300px;
  display: flex;
  align-items: flex-end;
  justify-content: center;
}

/*u-news*/
.u-news .news-wrap {
  width: 90%;
  margin: 0 auto;
  max-width: 900px;
  margin-top: 1rem;
  padding-bottom: 4rem;
}
.u-news .news-contents {
  width: 100%;
}

.u-news-single {
  margin-top: 8rem;
}
.u-news-single-contents {
  width: 90%;
  max-width: 1000px;
  margin: 0 auto;
}
.u-news-title {
  border-bottom: 1px solid #000;
  text-align: left;
  font-size: 1.5rem;
  padding-bottom: 0.5rem;
}

.u-news-single .section-title-anime,
.u-news-title {
  width: 100%;
}

.u-news-single-contents .news-des {
  margin-top: 2rem;
}

.news-single-textwrap {
  margin-top: 2rem;
}

.page-nav {
  display: flex;
  justify-content: center;
  margin-top: 2rem;
}
.current {
  background-color: #000;
  color: #fff;
}
.wp-pagenavi a,
.wp-pagenavi span {
  padding: 0.3rem 0.6rem !important;
  display: inline-block;
}

/*contact*/
/*ContactForm7カスタマイズ*/
table.CF7_table {
  width: 80%;
  margin: 0 auto;
  border: 3px solid #e5e5e5;
}

table.CF7_table tr {
  border-top: 1px solid #e5e5e5;
}

.single .entry-content table.CF7_table,
.page .entry-content table.CF7_table {
  display: table;
}

/*入力欄*/
.CF7_table input,
.CF7_table textarea {
  border: 1px solid #d8d8d8;
}

.CF7_table ::placeholder {
  color: #797979;
}

/*「必須」文字*/
.CF7_req {
  font-size: 0.9em;
  padding: 5px;
  background: #c10f19; /*オレンジ*/
  color: #fff;

  margin-right: 1em;
}

/*「任意」文字*/
.CF7_unreq {
  font-size: 0.9em;
  padding: 5px;
  background: #bdbdbd; /*グレー*/
  color: #fff;

  margin-right: 1em;
}

.CF7_table td,
.CF7_table th {
  padding: 1rem;
  text-align: left;
}
.CF7_table th{
  vertical-align: top;
  padding-top: 1.6rem;
}

input[type="text"],
input[type="email"],
input[type="tel"],
textarea {
  width: 100%;
  padding: 1rem;
}
/* タイトル列 */
@media screen and (min-width: 768px) {
  .CF7_table th {
    width: 30%; /*横幅*/
    background-color: #d9d9d9; /*ブルーグレー*/
  }
}

/* レスポンシブ */
@media screen and (max-width: 768px) {
  table.CF7_table {
    width: 95%;
  }
  .CF7_table tr,
  .CF7_table td,
  .CF7_table th {
    display: block;
    width: 100%;
    line-height: 2.5em;
  }
  .CF7_table th {
    background-color: #d9d9d9;
  }
}

/* 「送信する」ボタン */
.wpcf7 input.wpcf7-submit {
  background-color: #000; /* オレンジ*/
  border: 0;
  color: #fff;
  font-size: 1.2em;
  font-weight: bold;
  margin: 0 auto;
  padding: 1rem 3rem;
	cursor:pointer;
}

.CF7_btn {
  text-align: center;
  margin-top: 20px;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  text-align: center;
	cursor:pointer;
}
.wpcf7-response-output{
  max-width: 800px;
  margin: 1rem auto 0!important;
}

.wpcf7-spinner {
  width: 0;
  margin: 0;
}
