/*
Theme Name: comvaceーリニューアル
Description: comvaceの公式HPーリニューアルver
Author: shuto
*/
/*-------------------------基本情報-------------------------*/
* {
  font-family: "ヒラギノ角ゴ Pro", "Hiragino Kaku Gothic Pro", "Hiragino Kaku Gothic ProN", "游ゴシック体", YuGothic, "游ゴシック", "Yu Gothic", "メイリオ", "Meiryo", "Hiragino Sans", sans-serif;
  color: #707070;
  box-sizing: border-box;
}
.main {
  width: 100%;
  overflow-x: hidden;
}
html {
  scroll-behavior: smooth;
}
h1 {
  font-size: 24px;
}
h2 {
  font-size: 22px;
}
h3 {
  font-size: 20px;
}
h4 {
  font-size: 18px;
}
h5 {
  font-size: 16px;
}
h6 {
  font-size: 16px;
}
p {
  font-size: 16px;
}
li {
  list-style: none;
}
@media screen and (max-width:830px){
  h1 {
    font-size: 22px;
  }
  h2 {
    font-size: 20px;
  }
  h3 {
    font-size: 18px;
  }
  h4 {
    font-size: 16px;
  }
}
@media screen and (max-width:550px){
  h1 {
    font-size: 20px;
  }
  h2 {
    font-size: 16px;
  }
  h3 {
    font-size: 16px;
  }
}
/*-------------------------リンク関係-------------------------*/
a {
  text-decoration: none;
  color: #707070;
}
a:link {
  color: #707070;
}
a:visited {
  color: #707070;
}
a:hover {
  color: rgba(112, 112, 112, 0.8);
  text-decoration: underline;
}

/*-------------------------ヘッダー-------------------------*/
header {
  position: fixed;
  z-index: 9999;
  width: 100%;
  height: 80px;
  top: 36px;
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 0 60px 0 40px;
}
.header-logo img {
  height: 76px;
}
.logo-top {
  display: none;
}
.home .logo-top {
  display: inline;
}
.home .logo-else {
  display: none;
}
@media screen and (max-width:850px){
  header {
    top: 20px;
    height: 60px;
    padding: 0 20px;
  }
  .header-logo img {
    height: 60px;
  }
}
/*-------------------------ハンバーガー-------------------------*/
.hamburger {
  width: 80px;
  height: 80px;
  cursor: pointer;
  position: relative;
  z-index: 3333;
  -webkit-transition: 0.3s ease-in-out;
  -moz-transition: 0.3s ease-in-out;
  transition: 0.3s ease-in-out;
}
.hamburger span {
  display: block;
  position: absolute;
  height: 2px;
  right: 0;
  background: rgb(0, 0, 0);
  -webkit-transition: 0.3s ease-in-out;
  -moz-transition: 0.3s ease-in-out;
  transition: 0.3s ease-in-out;
  animation: fadein 3s forwards;
}
.home .hamburger span {
  background: rgb(255, 255, 255);
}
.hamburger span:nth-child(1) {
  top: 27px;
  width: 80px;
}
.hamburger span:nth-child(2) {
  top: 39px;
  width: 60px;
}
.hamburger span:nth-child(3) {
  top: 51px;
  width: 40px;
}
/* ナビ開いてる時のボタン */
.hamburger.active {
  background: linear-gradient(90deg, #B92950, #9C2B45, #7D2A39);
}
.hamburger.active span:nth-child(1) {
  top: 40px;
  left: 0;
  -webkit-transform: rotate(-45deg);
  -moz-transform: rotate(-45deg);
  transform: rotate(-45deg);
}
.hamburger.active span:nth-child(2) {
  top: 40px;
  left: 10px;
  -webkit-transform: rotate(45deg);
  -moz-transform: rotate(45deg);
  transform: rotate(45deg);
}
.hamburger.active span:nth-child(3) {
  top: 40px;
  left: 20px;
  -webkit-transform: rotate(45deg);
  -moz-transform: rotate(45deg);
  transform: rotate(45deg);
}
nav.globalMenuSp {
  position: fixed;
  z-index: 1500;
  top: 0;
  left: 0;
  color: #fff;
  background: rgba(0,0,0,0.7);
  text-align: center;
  width: 100%;
  height: 100%;
  display: none;
}
nav.globalMenuSp ul li a {
  transition: .4s all;
}
nav.globalMenuSp ul li:last-child {
  padding-bottom: 0;
}
nav.globalMenuSp ul li a {
  display: block;
  color: #fff;
  padding: 2em 0;
  text-decoration: none;
}
nav.globalMenuSp ul li:hover a {
  background :#ddd;
  color: #707070;
}
@media screen and (max-width:850px){
  .hamburger {
    width: 60px;
    height: 60px;
  }
  .hamburger span {
    height: 1px;
  }
  .hamburger span:nth-child(1) {
    top: 18px;
    width: 60px;
  }
  .hamburger span:nth-child(2) {
    top: 30px;
    width: 40px;
  }
  .hamburger span:nth-child(3) {
    top: 42px;
    width: 20px;
  }
  .hamburger.active span:nth-child(1) {
    top: 30px;
  }
  .hamburger.active span:nth-child(2) {
    top: 30px;
  }
  .hamburger.active span:nth-child(3) {
    top: 30px;
  }
}

/*-------------------------TOP-------------------------*/
/*-------------------------TOP動画調整-------------------------*/
.top {
  width: 100vw;
  height: 100vh;
  position: relative;
  margin-bottom: 170px;
  overflow: hidden;
}
.video,.video-sp {
  width: 100vw;
  height: 100vh;
}
.video video,.video-sp video,.video img,.video-sp img {
  position: absolute;
  width: 100vw;
  height: 100vh;
  object-fit: cover;
  opacity: 0.9;
}
@media screen and (min-width:601px){
  .video-sp {
    display: none;
  }
}
@media screen and (max-width:850px){
  .top {
    margin-bottom: 80px;
  }
}
@media screen and (max-width:600px){
  .video {
    display: none;
  }
}
/*-------------------------TOPのTEXT-------------------------*/
.video-text {
  position: absolute;
  bottom: 50%;
  left: 12%;
  transform: translateY(50%);
  -webkit-transform: translateY(50%);
  -moz-transform: translateY(50%);
  -ms-transform: translateY(50%);
  -o-transform: translateY(50%);
}
.video-text * {
  color: rgb(255, 255, 255);
  font-weight: bold;
}
.video-text br {
  display: none;
}
.v-tx1 {
  font-size: 24px;
  margin-left: 4px;
}
.v-tx2 {
  font-size: 48px;
  margin-top: 12px;
}
.v-tx3 {
  font-size: 48px;
  margin: 40px 0 0 4px;
  letter-spacing: 2px;
}
.v-tx3 span {
  font-family: "Helvetica";
}
.video-text::after {
  content: "";
  width: 100%;
  height: 4px;
  background-color: rgb(255, 255, 255);
  position: absolute;
  bottom: 68px;
  animation: fadein 3s forwards;
  -webkit-animation: fadein 3s forwards;
  opacity: 0;
}
@keyframes fadein {
  0% {
    opacity: 0;
    width: 0;
  }
  100% {
    opacity: 1;
  }
}
.video-button {
  position: absolute;
  bottom: 25%;
  left: 12%;
  display: flex;
  text-align: center;
}
.video-button a {
  width: 320px;
  padding: 20px 0;
  font-size: 16px;
  font-weight: bold;
  letter-spacing: 2px;
  border-radius: 32px;
}
.video-button a:nth-child(1) {
  color: #000;
  background-color: #F7F7F7;
}
.video-button a:nth-child(2) {
  color: #fff;
  background: linear-gradient(90deg, #B92950, #9C2B45, #7D2A39);
  margin-left: 20px;
}
@media screen and (max-width:850px){
  .video-text {
    white-space: nowrap;
    left: 50%;
    transform: translate(-50%, 25%);
    -webkit-transform: translate(-50%, 25%);
    -moz-transform: translate(-50%, 25%);
    -ms-transform: translate(-50%, 25%);
    -o-transform: translate(-50%, 25%);
  }
  .video-text br {
    display: block;
  }
  .v-tx1 {
    font-size: 20px;
    line-height: 1.5;
  }
  .v-tx2 {
    font-size: 40px;
    line-height: 1.25;
    letter-spacing: -2px;
    margin-top: 20px;
  }
  .v-tx3 {
    font-size: 24px;
    letter-spacing: 1px;
  }
  .video-text::after {
    bottom: 44px;
    animation: fadein 4s forwards;
    -webkit-animation: fadein 4s forwards;
  }
  .video-button {
    flex-direction: column;
    bottom: 12%;
    left: 50%;
    transform: translateX(-50%);
    -webkit-transform: translateX(-50%);
    -moz-transform: translateX(-50%);
    -ms-transform: translateX(-50%);
    -o-transform: translateX(-50%);
  }
  .video-button a:nth-child(2) {
    margin-left: 0;
    margin-top: 20px;
  }
}
/*-------------------------TOPの矢印-------------------------*/
.scrolldown {
  position: absolute;
  left: 50%;
  bottom: 40px;
  display: none;
}
.scrolldown span {
  position: relative;
  font-size: 0.5rem;
  letter-spacing: 8px;
  font-weight: bold;
  writing-mode: vertical-rl;
}
.scrolldown::before {
  content: '';
  position: absolute;
  bottom: 0;
  left: -4px;
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background-color: #fff;
  animation: circlemove 1.6s ease-in-out infinite,cirlemovehide 1.6s ease-out infinite;
}
.scrolldown:after {
  content: '';
  position: absolute;
  bottom: -40px;
  left: -1px;
  width: 2px;
  height: 40px;
  background-color: #fff;
}
@keyframes circlemove {
  0% {bottom: 0px;}
  100% {bottom: -50px;}
}
@keyframes cirlemovehide {
  0% {opacity: 0;}
  50% {opacity: 1;}
  80% {opacity: 0.9;}
  100% {opacity: 0;}
}

/*-------------------------top-page共通title-------------------------*/
.top-page-title {
  text-align: center;
}
.top-page-title p {
  font-size: 42px;
  font-weight: bold;
  letter-spacing: 0.05em;
  position: relative;
}
.top-page-title p::after {
  content: "";
  width: 100px;
  height: 1px;
  background-color: #707070;
  position: absolute;
  bottom: -20px;
  left: 50%;
  transform: translateX(-50%);
  -webkit-transform: translateX(-50%);
  -ms-transform: translateX(-50%);
}
@media screen and (max-width:850px){
  .top-page-title p {
    font-size: 32px;
  }
}

/*-------------------------mission-text-------------------------*/
.mission {
  max-width: 800px;
  margin: auto;
  margin-top: 86px;
  text-align: center;
  margin-bottom: 135px;
}
.mission p {
  line-height: 1.5;
  letter-spacing: 0.05em;
}
@media screen and (max-width:850px){
  .mission {
    max-width: none;
    width: 85%;
    margin-top: 60px;
    margin-bottom: 100px;
    text-align: start;
  }
}

/*-------------------------message-------------------------*/
.message {
  width: 100%;
  background-color: #F8F8F8;
  margin-bottom: 130px;
  padding-bottom: 100px;
}
.message-title {
  max-width: 1200px;
  margin: 0 auto;
  display: flex;
  align-items: center;
  padding: 80px 0 0 40px;
  position: relative;
}
.message-title::after {
  content: "";
  display: inline-block;
  background-image: url(img/back-logo2.png);
  position: absolute;
  top: 20px;
  right: -290px;
  aspect-ratio: 600 / 375;
  width: 600px;
  background-size: contain;
  background-repeat: no-repeat;
  z-index: -1;
}
.message-title p:first-child {
  font-size: 42px;
  font-weight: bold;
  letter-spacing: 0.05em;
  padding-bottom: 12px;
}
.message-title p:last-child {
  font-size: 24px;
  font-weight: bold;
  letter-spacing: 0.05em;
}
.message-title p:last-child::before {
  content: "";
  display: inline-block;
  width: 60px;
  height: 1px;
  margin: 0 20px;
  background-color: #000;
  vertical-align: super;
}
.message-text {
  background-color: rgb(255, 255, 255);
  border-radius: 52px;
  max-width: 1200px;
  margin: 20px auto 0;
  padding: 120px 0;
  text-align: center;
}
.message-text-img {
  max-width: 800px;
}
.message-text-img-sp {
  display: none;
}
@media screen and (max-width:850px){
  .message-title {
    flex-direction: column;
    padding: 60px 0 0 0;
  }
  .message-title::after {
    top: 20px;
    right: -180px;
    aspect-ratio: 600 / 375;
    width: 450px;
  }
  .message-title p:first-child {
    font-size: 32px;
    padding-bottom: 8px;
  }
  .message-title p:last-child {
    font-size: 16px;
  }
  .message-title p:last-child::before {
    display: none;
  }
  .message-text {
    border-radius: unset;
    margin: 40px auto 0;
    padding: 60px 0;
    -webkit-border-radius: unset;
    -moz-border-radius: unset;
    -ms-border-radius: unset;
    -o-border-radius: unset;
  }
  .message-text-img {
    display: none;
  }
  .message-text-img-sp {
    display: inline;
    width: 80%;
    min-width: 350px;
  }
}

/*-------------------------service-------------------------*/
.service-box {
  width: 100%;
  max-width: 1200px;
  margin: auto;
  margin-top: 130px;
  margin-bottom: 220px;
  display: flex;
  align-items: center;
  justify-content: space-between;
}
.service-img {
  flex-basis: 55%;
}
.service-img img {
  width: 100%;
}
.service-container {
  flex-basis: 40%;
}
.top-service-title {
  width: 340px;
  margin-bottom: 20px;
}
.top-service-title img {
  width: 100%;
}
.top-service-button {
  width: 320px;
  padding: 20px 0;
  font-size: 16px;
  font-weight: bold;
  letter-spacing: 2px;
  border-radius: 32px;
  background-color: #F7F7F7;
  display: block;
  text-align: center;
  color: #000!important;
  margin: 40px auto 0;
}
@media screen and (max-width:850px){
  .service-box {
    margin-top: 20px;
    margin-bottom: 150px;
    flex-direction: column;
  }
  .service-container {
    margin-top: 40px;
  }
}

/*-------------------------フッター-------------------------*/
/*-------------------------フッター（左）-------------------------*/
footer {
  background-color: #434343;
}
footer * {
  color: rgb(255, 255, 255);
  font-weight: bold;
  letter-spacing: 0.05em;
}
.footer-top {
  padding: 50px 0;
  display: flex;
  justify-content: space-between;
  width: 90%;
  max-width: 1212px;
  margin: auto;
}
.footer-name p {
  font-size: 42px;
  margin-bottom: 15px;
}
.footer-address {
  margin-bottom: 25px;
  margin-left: 35px;
}
.footer-address p {
  font-family: "游ゴシック体", YuGothic, "游ゴシック", "Yu Gothic";
  font-size: 24px;
  line-height: 1.7;
}
.footer-tel p {
  font-family: "游ゴシック体", YuGothic, "游ゴシック", "Yu Gothic";
  margin-left: 35px;
  margin-bottom: 25px;
  font-size: 24px;
}
.footer-mail p {
  font-family: "游ゴシック体", YuGothic, "游ゴシック", "Yu Gothic";
  margin-left: 35px;
  font-size: 24px;
  margin-bottom: 35px;
}
.footer-sns {
  font-size: 50px;
  margin-left: 45px;
}
@media screen and (max-width:950px){
  .footer-top {
    flex-direction: column;
    align-items: center;
  }
  .footer-left {
    margin-bottom: 50px;
  }
}
@media screen and (max-width:600px){
  .footer-address {
    margin-left: 0;
  }
  .footer-tel p {
    margin-left: 0;
  }
  .footer-mail p {
    margin-left: 0;
  }
}
/*-------------------------フッター（右）-------------------------*/
.footer-right {
  width: 100%;
  max-width: 506px;
}
.footer-right a {
  text-decoration: none;
}
.footer-container {
  width: 100%;
  border: solid 1px rgb(255, 255, 255);
  margin-bottom: 10px;
  cursor: pointer;
  -webkit-transition: 0.3s ease-in-out;
  -moz-transition: 0.3s ease-in-out;
  transition: 0.3s ease-in-out;
}
.footer-container:hover {
  background-color: rgb(255, 255, 255);
}
.footer-container:hover .footer-c-name p {
  color: rgb(0, 0, 0);
}
.footer-c-name p,.footer-service p {
  font-size: 24px;
}
/*-------------------------フッター（右の下）-------------------------*/
.footer-c-name {
  line-height: 56px;
  text-align: center;
}
.footer-r-bottom {
  display: flex;
}
.f-r-b-left {
  width: 340px;
  margin-right: 10px;
}
.f-r-b-right {
  width: 156px;
}
.footer-contact {
  text-align: center;
  height: 124px;
}
.footer-contact img {
  width: 78px;
  margin-top: 20px;
  margin-bottom: 12px;
}
.footer-contact p {
  font-size: 24px;
}
.footer-container:hover .footer-contact img {
  -webkit-filter: invert(100%);
  -moz-filter: invert(100%);
  -o-filter: invert(100%);
  filter: invert(100%);
}
.footer-container:hover .footer-contact p {
  color: rgb(0, 0, 0);
}
/*-------------------------フッター（個人情報、コピー）-------------------------*/
.footer-fin {
  text-align: right;
}
.footer-fin a {
  color: rgb(255, 255, 255);
}
.footer-fin a:hover {
  text-decoration: underline;
}
.footer-fin p:first-child {
  font-size: 16px;
  margin: 20px 0;
}
.footer-fin p:last-child {
  font-size: 20px;
}
.footer-bottom {
  text-align: center;
  background-color: rgb(255, 255, 255);
  padding: 40px 0;
}
.footer-bottom img {
  width: 143px;
}
@media screen and (max-width:350px){
  .footer-fin p:last-child {
    font-size: 18px;
  }
}

/*-------------------------sub-page共通-------------------------*/
.sub-page {
  margin-top: 300px;
  background-color: #F7F7F7;
  width: 100%;
  background: linear-gradient(90deg,rgb(255, 255, 255) 0%,rgb(255, 255, 255) 14%,#F7F7F7 100px,#F7F7F7 100%);
  position: relative;
  height: 100%;
  margin-bottom: 160px;
}
.comvace {
  background-color: #383838;
  position: absolute;
  top: -70px;
  width: 300px;
  height: -webkit-calc(100% + 60px);
  height: calc(100% + 15px);
}
.comvace img {
  position: absolute;
  top: 44px;
  left: -221px;
}
.sub-page-title {
  text-align: center;
  font-weight: bold;
  position: relative;
}
.sub-page-title p:first-child {
  font-size: 60px;
  letter-spacing: 0.05em;
  padding-top: 32px;
  padding-bottom: 10px;
}
.sub-page-title p:last-child {
  font-size: 20px;
  letter-spacing: 0.1em;
}
@media screen and (min-width:1500px){
  .comvace {
    width: 500px;
  }
}
@media screen and (max-width:830px){
  .comvace {
    width: 200px;
  }
}
@media screen and (max-width:650px){
  .comvace {
    width: 100px;
  }
}
@media screen and (max-width:500px){
  .comvace {
    width: 100px;
  }
  .sub-page-title p:first-child {
    text-shadow:3px 0 0 rgb(0, 0, 0),0 3px 0 rgb(0, 0, 0),-3px 0 0 rgb(0, 0, 0),0 -3px 0 rgb(0, 0, 0);
    color: rgb(255, 255, 255);
    font-size: 70px;
  }
  .smooth span {
    color: rgb(255, 255, 255);
  }
  .sub-page-title p:last-child {
    color: rgb(0, 0, 0);
    background: rgb(255, 255, 255);
    display: inline;
    border-radius: 10px;
    padding: 0 10px;
  }
  .sub-page {
    margin-top: 150px;
  }
}
@media screen and (max-width:350px){
  .sub-page-title p:first-child {
    font-size: 60px;
  }
}

/*-------------------------会社概要ページ-------------------------*/
.company-box * {
  font-weight: bold;
  letter-spacing: 0.05em;
  font-family: "游ゴシック体", YuGothic, "游ゴシック", "Yu Gothic";
}
.company-box {
  padding-top: 130px;
  padding-bottom: 110px;
  background-color: rgb(255, 255, 255);
  width: 100%;
  max-width: 1000px;
  margin: auto;
  margin-top: 110px;
  margin-bottom: 120px;
  position: relative;
}
.company-li {
  width: 90%;
  max-width: 680px;
  margin: auto;
  border-bottom: 1px solid;
  padding-bottom: 30px;
  display: flex;
  margin-bottom: 40px;
}
.company-left {
  flex-basis: 41.7%;
  padding-left: 55px;
}
.company-right {
  flex-basis: 58.3%;
  line-height: 1.5;
}
.company-end {
  margin-bottom: 0;
}
.company-right i {
  margin-left: 30px;
}
@media screen and (max-width:500px){
  .company-li {
    flex-direction: column;
    align-items: center;
  }
  .company-left {
    padding-left: 0;
    margin-bottom: 10px;
  }
}

/*-------------------------お問い合わせボタン-------------------------*/
.contact-button {
  width: 90%;
  max-width: 400px;
  margin: auto;
  margin-bottom: 350px;
}
.post-link {
  width: 100%;
  height: 60px;
  text-align: center;
  position: relative;
  -webkit-perspective: 7000px;
  perspective: 7000px;
}
.post-link p {
  display: block;
  position: absolute;
  width: 100%;
  height: 60px;
  border: 1px solid #434343;
  background-color: #434343;
  color: rgb(255, 255, 255);
  font-size: 20px;
  font-weight: bold;
  letter-spacing: 0.05em;
  font-family: "游ゴシック体", YuGothic, "游ゴシック", "Yu Gothic";
  text-align: center;
  line-height: 58px;
  -webkit-box-sizing: border-box;
  -moz-box-sizing: border-box;
  box-sizing: border-box;
  -webkit-transition: all .3s;
  transition: all .3s;
  pointer-events: none;
}
.post-link p:nth-child(1) {
  background-color: rgb(255, 255, 255);
  color: #434343;
  -webkit-transform: rotateX(90deg);
  -moz-transform: rotateX(90deg);
  transform: rotateX(90deg);
  -webkit-transform-origin: 50% 50% -30px;
  -moz-transform-origin: 50% 50% -30px;
  transform-origin: 50% 50% -30px;
}
.post-link p:nth-child(2) {
  -webkit-transform: rotateX(0deg);
  -moz-transform: rotateX(0deg);
  transform: rotateX(0deg);
  -webkit-transform-origin: 50% 50% -30px;
  -moz-transform-origin: 50% 50% -30px;
  transform-origin: 50% 50% -30px;
}
.post-link:hover p:nth-child(1) {
  -webkit-transform: rotateX(0deg);
  -moz-transform: rotateX(0deg);
  transform: rotateX(0deg);
}
.post-link:hover p:nth-child(2) {
  background-color: #434343;
  -webkit-transform: rotateX(-90deg);
  -moz-transform: rotateX(-90deg);
  transform: rotateX(-90deg);
}

/*-------------------------serviceページ-------------------------*/
.service-link {
  width: 90%;
  max-width: 1060px;
  margin: 100px auto 145px;
  display: flex;
  justify-content: space-between;
  flex-wrap: wrap;
}
.service-link a {
  width: 100%;
  max-width: 500px;
  height: 128px;
  margin-bottom: 40px;
}
.service-button {
  width: 100%;
  height: 128px;
  background-color: rgb(255, 255, 255);
  line-height: 1.65;
  text-align: center;
  position: relative;
  border: 3px solid rgb(255, 255, 255);
  -webkit-transition: 0.2s ease-in-out;
  -moz-transition: 0.2s ease-in-out;
  transition: 0.2s ease-in-out;
}
.service-button:hover {
  border: 3px solid red;
}
.service-button p {
  font-weight: bold;
  font-size: 20px;
  width: 100%;
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  -webkit-transform: translate(-50%, -50%);
  -ms-transform: translate(-50%, -50%);
}
@media screen and (max-width:1150px){
  .service-link {
    flex-direction: column;
    align-items: center;
  }
}
@media screen and (max-width:500px){
  .service-button {
    text-align: left;
  }
  .service-button p {
    padding-left: 20px;
  }
}
@media screen and (max-width:450px){
  .service-button {
    height: 100px;
  }
  .service-link a {
    height: 100px;
  }
}
@media screen and (max-width:414px){
  .service-button p {
    font-size: 18px;
  }
}
/*-------------------------サービスリンク 動く矢印-------------------------*/
.arrow {
  position: relative;
  width: 100%;
  height: 100%;
  -webkit-animation: move 1s infinite;
  animation: move 1s infinite;
}
.arrow::before {
  content: "";
  display: block;
  position: absolute;
  top: 55%;
  right: 37px;
  transform: translateY(-55%);
  -webkit-transform: translateY(-55%);
  -ms-transform: translateY(-55%);
  width: 40px;
  height: 2px;
  background: #707070;
}
.arrow::after {
  content: "";
  display: block;
  position: absolute;
  top: 51px;
  right: 30px;
  width: 10px;
  height: 10px;
  border: 2px solid;
  border-color: transparent transparent #707070 transparent;
  transform: rotate(45deg);
}
@media screen and (max-width:450px){
  .arrow::before {
    right: 25px;
    width: 20px;
    height: 1px;
  }
  .arrow::after {
    top: 44px;
    right: 21px;
    width: 5px;
    height: 5px;
    border: 1px solid;
    border-color: transparent transparent #707070 transparent;
  }
}
@media screen and (max-width:360px){
  .arrow {
    display: none;
  }
}
@-webkit-keyframes move {
  0% {
    -webkit-transform: translate(0, 0);
  }
  20% {
    -webkit-transform: translate(10px, 0);
  }
  40% {
    -webkit-transform: translate(0, 0);
  }
}
@keyframes move {
  0% {
    transform: translate(0, 0);
  }
  20% {
    transform: translate(10px, 0);
  }
  40% {
    transform: translate(0, 0);
  }
}
/*-------------------------サービス下層-------------------------*/
.service-title {
  width: 90%;
  max-width: 1000px;
  margin: 0 auto 50px;
  border-left: 3px solid;
  line-height: 63px;
  padding-left: 30px;
}
.service-title p {
  font-size: 24px;
  font-weight: bold;
  letter-spacing: 0.05em;
}
.contents-text {
  width: 90%;
  max-width: 950px;
  margin: 0 auto 150px;
}
.contents-text p {
  line-height: 1.65;
  letter-spacing: 0.05em;
  font-size: 20px;
  font-weight: bold;
  font-family: "Helvetica";
}
@media screen and (max-width:850px){
  .service-title p {
    line-height: 35px;
  }
}
@media screen and (max-width:470px){
  .service-title {
    line-height: 25px;
    padding-left: 15px;
  }
  .service-title p {
    font-size: 20px;
  }
}

/*-------------------------お問い合わせページ-------------------------*/
/*-------------------------お問い合わせフォーム-------------------------*/
.contact-box * {
  font-weight: bold;
  letter-spacing: 0.05em;
  font-family: "游ゴシック体", YuGothic, "游ゴシック", "Yu Gothic";
}
.contact-box {
  padding-top: 45px;
  padding-bottom: 80px;
  background-color: rgb(255, 255, 255);
  width: 100%;
  max-width: 1000px;
  margin: auto;
  margin-top: 110px;
  margin-bottom: 120px;
  position: relative;
}
.contact-form {
  width: 95%;
  max-width: 800px;
  margin: auto;
}
.contact-form table {
  width: 100%;
  border-bottom: 1px solid #707070;
}
.contact-form th {
  width: 25%;
  text-align: left;
  padding-left: 30px;
  font-size: 16px;
}
.contact-form td {
  width: 75%;
}
.contact-form input {
  width: 100%;
  vertical-align: baseline;
  font-size: 20px;
  margin-bottom: 20px;
  background-color: #F5F5F5;
  border-radius: 10px;
  border: none;
  line-height: 50px;
}
textarea {
  width: 100%;
  vertical-align: -223px;
  font-size: 18px;
  margin-bottom: 40px;
  background-color: #F5F5F5;
  border-radius: 10px;
  border: none;
  height: 200px;
}
@media screen and (max-width: 830px){
  .contact-form th {
    display: block;
    width: 100%;
    margin-bottom: 20px;
  }
  .contact-form td {
    display: block;
    width: 100%;
  }
}
/*-------------------------送信ボタン-------------------------*/
.send-button {
  background-color: #969696;
  width: 300px;
  height: 60px;
  margin: auto;
  margin-top: 40px;
  text-align: center;
  border-radius: 10px;
  -webkit-transition: 0.5s all;
  -moz-transition: 0.5s all;
  transition: 0.5s all;
}
.send-button input {
  width: 100%;
  border: none;
  background: none;
  cursor: pointer;
  color: rgb(255, 255, 255);
  font-size: 20px;
  height: 100%;
  text-indent: 0.2em;
  letter-spacing: 0.2em;
  -webkit-transition: 0.5s all;
  -moz-transition: 0.5s all;
  transition: 0.5s all;
}
.send-button input:hover {
  text-indent: 0.6em;
  letter-spacing: 0.6em;
}
.send-button:hover {
  opacity: 0.8;
}
/*-------------------------wp-style（書き換え）-------------------------*/
/*-------------------------（お問い合わせフォーム）-------------------------*/
span.wpcf7-not-valid-tip {
  position: absolute;
  top: 35px;
  left: -170px;
}
@media screen and (max-width: 830px){
  span.wpcf7-not-valid-tip {
    top: -40px;
    left: 50px;
  }
}

/*-------------------------サンクスページ-------------------------*/
.thanks-title {
  text-align: center;
  margin-bottom: 70px;
}
.thanks-br {
  display: none;
}
.thanks-text {
  line-height: 1.65;
  width: 90%;
  max-width: 650px;
  margin: auto;
}
.thanks-text p:first-child{
  margin-bottom: 27px;
}
.thanks-back{
  width: 90%;
  margin: auto;
  text-align: right;
  margin-top: 60px;
}
@media screen and (max-width: 600px){
  .thanks-br {
    display: block;
  }
}

/*-------------------------個人情報保護ページ-------------------------*/
.privacy-box{
  padding-top: 80px;
  padding-bottom: 85px;
  background-color: rgb(255, 255, 255);
  width: 100%;
  max-width: 1000px;
  margin: auto;
  margin-top: 110px;
  margin-bottom: 120px;
  position: relative;
}
.privacy-text{
  line-height: 2;
  width: 90%;
  max-width: 580px;
  margin: auto;
}
.privacy-text p{
  font-weight: bold;
  letter-spacing: 0.03em;
  font-family: "游ゴシック体", YuGothic, "游ゴシック", "Yu Gothic";
}
.margin{
  margin-top: 30px;
}

/*-------------------------js要員-------------------------*/
.j-fade,.company-li,.margin,.privacy-box{
  opacity : 0;
  transform : translate(0, 50px);
  transition:all 1.5s;
}

.j-fade.scrollin,.company-li.scrollin,.margin.scrollin,.privacy-box.scrollin{
  opacity : 1;
  transform : translateY(0);
}
