#company #company_1 a {
  text-decoration: underline;
}

main {
  padding: 0;
}
.main h1 {
  text-align: center;
  position: relative;
  z-index: 3;
  transition-duration: 5s;
  padding: 0;
}
.main h1 .ruby {
  font-size: 24px;
}
/* .content, #map {
	display:flex;
	padding:6em 0;
} */
.content:nth-child(odd) {
  flex-direction: row-reverse;
}
td + br {
  display: none;
}
br.hide {
  display: none;
}
.content img {
  width: 100%;
  transform: scale(1.1);
  transition-duration: 1s; /*変化に掛かる時間*/
  vertical-align: middle;
}
.content img:hover {
  width: 100%;
  /* transform: scale(1.2); */
  /*画像の拡大率*/
  transition-duration: 1s;
  /*変化に掛かる時間*/
}
.content .imgc {
  display: block;
  overflow: hidden;
  width: 100%;
  /* -webkit-filter: grayscale(1); */
  /* Webkit */
  /* filter: gray; */
  /* IE6-9 */
  /* filter: grayscale(1); */
  /* W3C */
  z-index: 3;
  position: relative;
  /* transition-duration: 1s; */
  box-shadow: 2px 2px 5px;
}
.content .imgc:hover {
  /* -webkit-filter: grayscale(0); */
  /* Webkit */
  /* filter: none; */
  /* IE6-9 */
  /* filter: grayscale(0);  */
  /* W3C */
  /* transition-duration: 1s; */
  /*変化に掛かる時間*/
}
.sp {
  display: none;
}
.content .textc {
  padding: 1.5rem;
  width: 55%;
  position: relative;
  z-index: 3;
  margin: 0 auto;
}
th {
  vertical-align: top;
  text-align: right;
}
td {
  padding-left: 1em;
}
/* .main .content {
	padding:50px 70px 8rem 70px;
	max-width:1200px;
	margin:auto;
} */
/**hurihuri**/
.zukei {
  font-size: 5rem;
  display: block;
  transform-origin: center;
  animation: wave 700ms ease-in-out infinite;
  position: absolute;
  z-index: 0;
}

@keyframes wave {
  0% {
    transform: rotate(30deg);
  }
  50% {
    transform: rotate(0deg);
  }
  100% {
    transform: rotate(30deg);
  }
}

/* 企業理念div */
.philosophy_div {
  text-align: center;
  margin: 30px 30px 0px 30px;
}

/* スローガン */
img #img_slogan {
  width: 100%;
  height: 100%;
  margin: 30px;
}

/* 企業理念テキストdiv */
.corporate_philosophy {
  margin-top: 50px;
  margin-bottom: 0px;
}

/* 企業理念テキスト */
#philosophy_text {
  font-size: 16px;
  font-weight: 700;
}

/*******huwahuwa********/
.zukei1 {
  font-size: 5rem;
  display: block;
  transform-origin: center;
  position: fixed;
  z-index: -5;
  width: 25%;
  opacity: 0.5;
  animation: move1 45s infinite alternate linear;
  -ms-animation: move1 45s infinite alternate linear;
  -webkit-animation: move1 45s infinite alternate linear;
  -moz-animation: move1 45s infinite alternate linear;
}
@keyframes move1 {
  0% {
    top: 10vh;
    left: 0vw;
  }
  50% {
    top: 50vh;
    left: 40vw;
  }
  100% {
    top: 65vh;
    left: 75vw;
  }
}

.zukei2 {
  font-size: 5rem;
  display: block;
  transform-origin: center;
  position: fixed;
  z-index: -5;
  width: 25%;
  opacity: 0.5;
  animation: move2 45s infinite alternate linear;
  -ms-animation: move2 45s infinite alternate linear;
  -webkit-animation: move2 45s infinite alternate linear;
  -moz-animation: move2 45s infinite alternate linear;
}
@keyframes move2 {
  0% {
    top: 10vh;
    left: 75vw;
  }
  50% {
    top: 50vh;
    left: 0vw;
  }
  100% {
    top: 20vh;
    left: 75vw;
  }
}
.zukei3 {
  font-size: 5rem;
  display: block;
  transform-origin: center;
  position: fixed;
  z-index: -5;
  width: 15%;
  opacity: 0.5;
  animation: move3 45s infinite alternate linear;
  -ms-animation: move3 45s infinite alternate linear;
  -webkit-animation: move3 45s infinite alternate linear;
  -moz-animation: move3 45s infinite alternate linear;
}
@keyframes move3 {
  0% {
    top: 120vh;
    left: 0vw;
  }
  50% {
    top: 60vh;
    left: 85vw;
  }
  100% {
    top: 30vh;
    left: 0vw;
  }
}
.zukei4 {
  font-size: 5rem;
  display: block;
  transform-origin: center;
  position: fixed;
  z-index: -5;
  width: 15%;
  opacity: 0.5;
  animation: move4 45s infinite alternate linear;
  -ms-animation: move4 45s infinite alternate linear;
  -webkit-animation: move4 45s infinite alternate linear;
  -moz-animation: move4 45s infinite alternate linear;
}
@keyframes move4 {
  0% {
    top: -20vh;
    left: 30vw;
  }
  50% {
    top: 60vh;
    left: 85vw;
  }
  100% {
    top: 70vh;
    left: 0vw;
  }
}

/*******************フェードイン***********************/
.imgc,
.main_header,
.map {
  opacity: 0;
  transform: translate(0, 60px);
  -webkit-transform: translate(0, 60px);
  transition-duration: 1s; /*変化に掛かる時間*/
}
.textc {
  opacity: 0;
  transform: translate(0, 0px);
  -webkit-transform: translate(0, 0px);
  transition-duration: 1s; /*変化に掛かる時間*/
}
.imgc_mv,
.mainheader_mv,
.map_mv {
  opacity: 1;
  transform: translate(0, 0);
  -webkit-transform: translate(0, 0);
  transition-duration: 1s; /*変化に掛かる時間*/
}
.textc_mv {
  opacity: 1;
  transform: translate(0, 0);
  -webkit-transform: translate(-60, 0);
  transition-duration: 1s; /*変化に掛かる時間*/
  /* transition-delay:1s; */
}

#map {
  width: 100%;
  height: auto;
  -webkit-filter: grayscale(1); /* Webkit */
  filter: gray; /* IE6-9 */
  filter: grayscale(1); /* W3C */
}
#map_g {
  width: 100vw;
  height: 300px;
}
/*************************responsive******************/
@media screen and (max-width: 1000px) {
  #mainheader {
    height: 90vh;
    background-image: url("../images/toph_sp.png");
  }
  /*#mainheader h1{
			font-size:5em;
		}
		#mainheader h3{
			font-size:3em;
		}*/
  .textc {
    opacity: 1;
  }
  .content {
    display: block;
    padding-bottom: 1.5rem;
  }
  .content .imgc {
    width: 100%;
    margin: auto;
  }
  .content .textc {
    width: 100%;
    margin: auto;
    padding-top: 50px;
    padding-bottom: 0;
  }
  .content .textc h2 {
    padding: 1rem 0;
  }
}
@media screen and (max-width: 600px) {
  #mainheader h1 {
    font-size: 2rem;
  }
  #mainheader h3 {
    font-size: 1.5rem;
  }
  table,
  tr,
  th {
    display: block;
  }
  th {
    text-align: left;
  }
  tr {
    margin-bottom: 1em;
  }
  br.hide {
    display: inline;
  }
  td {
    padding-left: 0.5em;
  }

  /*企業理念div*/
  #philosophy_sp {
    text-align: center;
    margin: 30px 5px 0px 5px;
  }
  /*企業理念div*/
  #img_slogan {
    width: 90%;
    height: 90%;
  }

  /* 企業理念テキスト改行 */
  span {
    display: inline-block;
  }
}
