/*ここからタイプライター*/
.ityped-cursor {
  font-size: 1em;
  opacity: 1;
  -webkit-animation: blink 0.3s infinite;
  -moz-animation: blink 0.3s infinite;
  animation: blink 0.3s infinite;
  animation-direction: alternate;
  color: #fff;
}
@keyframes blink {
  100% {
    opacity: 0;
  }
}
@-webkit-keyframes blink {
  100% {
    opacity: 0;
  }
}
@-moz-keyframes blink {
  100% {
    opacity: 0;
  }
}
/*ここまでタイプライター*/
div#detail_hed {
  width: calc(95% - 20px);
  /*border: 10px solid currentColor;*/
  padding: 60px 0;
  display: flex;
  max-width: calc(1200px - 20px);
  margin: auto;
}
#detail_hed h2 {
  margin: auto auto auto 5%;
  font-size: 3rem;
  width: auto;
  letter-spacing: 0.1em;
}
#detail_hed h2 span {
  font-size: 1.6rem;
  vertical-align: middle;
  margin: 0 0 0 2em;
  font-weight: 600;
  display: inline;
}
/*▼▼▼▼▼▼▼▼▼▼▼▼▼▼▼▼▼▼▼▼▼▼
480-メディアクエリー-480
▼▼▼▼▼▼▼▼▼▼▼▼▼▼▼▼▼▼▼▼▼▼*/
@media screen and (max-width: 480px) {
  #detail_hed h2 {
    margin: auto auto auto 5%;
    font-size: 2rem;
  }
  #detail_hed h2 span {
    margin: 0 0 0 0;
    display: block;
  }
}
/*■■■■■■■■■■■■■■■■■■■■■■
リクルートページ
■■■■■■■■■■■■■■■■■■■■■■*/
section#recruitwrap {
  margin: 50px auto;
}
#recruitwrap h3 {
  font-size: 2rem;
  line-height: 2;
  width: 85%;
  margin: auto;
}
div#bosyuchu {
  width: calc(90% - 100px);
  margin: 50px auto;
  background: #f8f8f4;
  text-align: center;
  padding: 50px;
}
#bosyuchu h4 {
  text-align: center;
  display: inline-block;
  margin: auto;
  border: solid 1px currentColor;
  padding: 5px 15px;
}
#bosyuchu h5 {
  border-bottom: dotted 1px currentColor;
  width: 100%;
  margin: 50px auto 20px;
}
#recruitwrap ul li {
  width: calc(29.333333% - 2px);
  margin: 1%;
  border: solid 1px currentColor;
  padding: 1%;
}
#recruitwrap ul {
  width: 100%;
  margin: auto;
}
#bosyuchu p.eng {
  font-size: 1.3rem;
  line-height: 1.5;
}
#bosyuchu ul li p {
  font-size: 1.5rem;
  line-height: 1.9rem;
}
#bosyuchu p.bosyu_info {
  color: #b20404;
  font-size: 1.3rem;
  font-weight: 500;
  margin: 5px 0 0 0;
}
/*職種*/
.workcate li.workbox {
  width: 29.33333%;
  font-size: 1.3rem;
  line-height: 1.4;
  margin: 2%;
  border-bottom: 3px solid currentColor;
  padding: 0 0 2% 0;
  transition: 0.3s;
}
.workcate .workphoto {
  height: 200px;
  background-size: cover;
  background-position: center center;
  filter: grayscale(100%);
}
.workcate .workbox p {
  font-size: 1.4rem;
  line-height: 1.3;
  margin: 0;
}
.workcate .workbox p.eng {
  font-size: 1.7rem;
  font-weight: 600;
  margin: 0 0 12px 0;
}
.workcate .workbox p.workcopy {
  font-weight: 500;
  margin: 8px 0 8px 0;
}
.copywrap li {
  margin: 0 0 6px 0;
}
.workbox .bosyutyu {
  color: #8e1717;
  border: solid 1px currentColor;
  padding: 0 0.3em;
  display: inline-block;
}
.workbox a:hover {
  color: #9a2626;
}
li.workbox:hover {
  border-bottom: 3px solid #9a2626;
}
/*インタビュー*/
.staff {
  width: 20%;
}
.staff img {
  width: 100%;
}
.staff_naka {
  width: calc(70% - 1px);
  margin: 0 0 0 5%;
  padding: 0 0 0 5%;
  border-left: solid 1px currentColor;
}
.interview {
  border: solid 3px currentColor;
  padding: 3%;
  margin: 25px 0;
}
.interview p {
  line-height: 2;
}
.staff_naka p.futomoji {
  font-weight: 500;
  border-bottom: dotted 1px currentColor;
}
.staff_naka p.normal {
  margin: 8px 0 20px;
}
.staff_naka p.normal:last-child {
  margin: 8px 0 0;
}
p.staff_name {
  font-size: 1.5rem;
  font-weight: 600;
  margin: 0 0 12px 0;
}
/*▼▼▼▼▼▼▼▼▼▼▼▼▼▼▼▼▼▼▼▼▼▼
600-メディアクエリー-600
▼▼▼▼▼▼▼▼▼▼▼▼▼▼▼▼▼▼▼▼▼▼*/
@media screen and (max-width: 600px) {
  #recruitwrap ul li {
    width: calc(46% - 2px);
  }
  .workcate li.workbox {
    width: 46%;
  }
  /*インタビュー*/
  .staff {
    width: 90%;
    margin: auto;

    display: flex;

    -ms-flex-wrap: wrap;
    flex-wrap: wrap;
  }
  .staff div {
    width: 55%;
    margin: auto;
  }
  .staff img {
    width: 40%;
    margin: 0 0 0 5%;
    display: block;
  }
  .staff_naka {
    width: 90%;
    margin: 3% auto 2%;
    padding: 0 0 0 0;
    border-left: none;
  }
}
/*▼▼▼▼▼▼▼▼▼▼▼▼▼▼▼▼▼▼▼▼▼▼
480-メディアクエリー-480
▼▼▼▼▼▼▼▼▼▼▼▼▼▼▼▼▼▼▼▼▼▼*/
@media screen and (max-width: 480px) {
  div#bosyuchu {
    width: calc(100% - 50px);
    margin: 50px auto;
    background: #f8f8f4;
    text-align: center;
    padding: 20px;
  }
  #recruitwrap ul li {
    width: calc(92% - 2px);
    padding: 4%;
  }
  .workcate li.workbox {
    width: 96%;
  }
  /*インタビュー*/
  .staff div {
    width: 100%;
    margin: auto;
  }
  .staff img {
    width: 70%;
    margin: auto;
    display: block;
  }
}
/*■■■■■■■■■■■■■■■■■■■■■■
各職種ページ
■■■■■■■■■■■■■■■■■■■■■■■*/
.discri_photo {
  width: 45%;
  margin: 0 0 0 5%;
  background-size: cover;
  background-position: center center;
}
.detailcopy {
  width: 50% !important;
}
.worktext {
  width: 50%;
  margin: 0 5% 0 0;
}
.workdetailphoto {
  width: 45%;
  background-size: cover;
  background-position: center center;
}
.workplace {
  background: #f5f5f1;
  margin: 12px 0 0;
  padding: 3%;
  width: 94%;
}
.worktext p {
  text-align: justify;
}
.worktext h6 {
  text-align: center;
  font-size: 1.5rem;
  border-bottom: dotted 1px currentColor;
  margin: 0 0 12px;
}
.workplace li {
  width: calc(46% - 2px);
  font-size: 1.5rem;
  text-align: center;
  margin: 1%;
  padding: 1%;
  border: solid 1px #808080;
}
.workplace li span.bosyutyu {
  display: block;
  line-height: 1.5;
  color: #b10000;
  margin: 0 0 8px 0;
}
.workplace li span.notbosyu {
  display: block;
  line-height: 1.5;
  color: currentColor;
  font-size: 1.4rem;
  margin: 0 0 4px 0;
}
.bosyutyu a {
  border: solid 1px currentColor;
  padding: 0.3em 0.5em;
  margin: 0.2em auto;
  width: max-content;
  display: block;
  border-radius: 0.5em;
  line-height: 1;
  font-size: 1.3rem;
  background: rgba(0, 0, 0, 0);
  color: #b10000;
}
.bosyutyu a:hover {
  background: rgba(0, 0, 0, 0);
  color: #b10000;
  background: #b10000;
  color: #FFF;
}
.modal {
  display: none;
  padding: 30px;
  border-radius: 7px;
}
.modal p {
  font-size: 1.4rem;
}
a.backbtn {
  display: block;
  margin: 50px auto;
  width: max-content;
  border: solid 2px currentColor;
  padding: 0.4em 1em;
  border-radius: 1em;
}
a.backbtn:hover {
  color: #841313;
  padding: 0.4em 3em;
}
.midashi {
  font-size: 2rem;
  font-weight: 700;
  display: block;
  margin: 0;
  line-height: 1.5;
}
.workplace ul li p {
  font-weight: 700;
  line-height: 1.8;
  text-align: center;
}
.workplace ul li p a {
  display: inline-block;
  line-height: 1.4;
  margin: 0 0.5em;
}
.workplace ul li p a:hover {
  color: #920808;
}
.midashi:nth-of-type(2) {
  margin: 0.7em 0 0 0;
}
.management_detail li {
  width: calc(42% - 2px);
  margin: 1%;
  border: solid 1px #CCC;
  padding: 3%;
}
.management_detail li .worktext {
  width: 100%;
}
.management_detail h3 {
  margin: 0 0 18px 0;
  font-size: 2.5rem;
}
.management_detail h4 {
  margin: 0 0 6px 0;
  line-height: 1.6;
  font-size: 2rem;
}
section#management {
  margin: 0 auto;
  padding: 0;
}
p.num.eng {
  width: calc(8% - 2px);
  display: block;
  /* background: #CCC; */
  padding: 2%;
  font-size: 2.5rem;
  font-weight: 700;
  border: solid 1px #AAA;
  border-right: none;
}
.flow .text {
  width: calc(82% - 2px);
  border: solid 1px #AAA;
  padding: 3%;
}
.flow li {
  margin: 0 0 30px 0;
  background: #FFF;
}
p.flow_title {
  font-size: 1.7rem;
  font-weight: 700;
}
p.flow_copy {
  line-height: 2;
}
.flow li a {
  border: solid 2px currentColor;
  width: 100%;
  text-align: center;
  padding: 2%;
  font-weight: 700;
  font-size: 1.8rem;
}
.flow li a:hover {
  color: #760d0d;
  background: #f7d4d4;
}
/*▼▼▼▼▼▼▼▼▼▼▼▼▼▼▼▼▼▼▼▼▼▼
900-メディアクエリー-900
▼▼▼▼▼▼▼▼▼▼▼▼▼▼▼▼▼▼▼▼▼▼*/
@media screen and (max-width: 900px) {
  .detailpagewrap.flexwrap {
    flex-direction: column-reverse;
  }
  .detailcopy {
    width: 85% !important;
    text-align: justify;
  }
  .discri_photo {
    width: 100%;
    margin: 0 0 30px 0;
    background-size: cover;
    background-position: center center;
    height: 250px;
  }
}
/*▼▼▼▼▼▼▼▼▼▼▼▼▼▼▼▼▼▼▼▼▼▼
600-メディアクエリー-600
▼▼▼▼▼▼▼▼▼▼▼▼▼▼▼▼▼▼▼▼▼▼*/
@media screen and (max-width: 600px) {
  .worktext {
    width: 100%;
    margin: 0 0 0 0;
  }
  .worktext p {
    line-height: 2;
  }
  .workdetailphoto {
    width: 100%;
    background-size: cover;
    background-position: center center;
    height: 250px;
  }
  section#management {
    margin: 100px auto 0;
    padding: 0;
  }
  .management_detail li {
    width: calc(90% - 2px);
    margin: 1%;
    border: solid 1px #CCC;
    padding: 8%;
  }
  p.num.eng {
    width: calc(90% - 2px);
    display: block;
    /* background: #CCC; */
    padding: 5% 5% 3%;
    font-size: 2.3rem;
    font-weight: 700;
    border: solid 1px #AAA;
    border-bottom: none;
    line-height: 1.6;
  }
  p.flow_title {
    font-size: 1.5rem;
    font-weight: 700;
    line-height: 1.4;
    margin: 0 0 8px 0;
  }
  p.flow_copy {
    line-height: 2;
    font-size: 1.3rem;
  }
  .flow .text {
    width: calc(88% - 2px);
    border: solid 1px #AAA;
    padding: 6%;
  }
}
/*▼▼▼▼▼▼▼▼▼▼▼▼▼▼▼▼▼▼▼▼▼▼
480-メディアクエリー-480
▼▼▼▼▼▼▼▼▼▼▼▼▼▼▼▼▼▼▼▼▼▼*/
@media screen and (max-width: 480px) {
  .detailcopy br {
    display: none;
  }
  .detailcopy {
    width: 90% !important;
    font-size: 1.6rem !important;
  }
  .workplace li {
    width: calc(100% - 2px);
  }
  a.backbtn {
    display: block;
    margin: 50px auto;
    width: max-content;
    border: solid 2px currentColor;
    padding: 0.4em 1em;
    border-radius: 1em;
  }
  a.backbtn:hover {
    color: #841313;
    padding: 0.4em 1em;
  }
}
/*■■■■■■■■■■■■■■■■■■■■■■
アバウト用
■■■■■■■■■■■■■■■■■■■■■■■*/
#mission h3 {
  margin: 0;
}
div#mission {
  margin: 4em 0;
}
#mission h6 {
  font-size: 120%;
}
span#jp {
  font-size: 1.6rem;
  font-weight: 700;
  vertical-align: middle;
  margin: 0 0 0 1em;
}
#message.allsection h5 {
  font-size: 1.7rem;
  margin: 0 0 16px 0;
}
/*概要と歴史部分*/
ul.infobox {
  width: 100%;
  padding: 0 0 55px;
}
.infobox .info_hed {
  width: 20%;
  font-weight: 700;
  font-size: 1.5rem;
}
.infobox li {
  border-bottom: dotted 1px currentColor;
  padding: 0 0 1em;
  margin: 1em 0 0;
}
.infobox .info_detail {
  font-size: 1.5rem;
  font-weight: 700;
  width: 80%;
}
.info_detail h5 {
  font-size: 1.5rem;
  margin: 0;
  line-height: 2.5;
  border-top: solid 1px currentColor;
  padding: 1em 0 0 0;
}
.info_detail h5:first-child {
  padding: 0 0 0 0;
  border: none;
}
.info_detail h6 {
  font-size: 1.4rem;
  display: inline-block;
  border-bottom: solid 1px currentColor;
  margin: 10px 0 0 0;
}
.info_detail p {
  font-weight: 300;
  line-height: 1.8;
}
.info_detail .futomoji {
  font-weight: 600;
}
.info_detail div {
  margin: 0.7em 0 0.7em;
}
div#map {
  height: 500px;
  border: solid 1px #ccc;
}
#map h6.eng {
  font-size: 2.0rem;
}
#access p span {
  font-size: 1.6rem;
  margin: 0 0.5em 0 0px;
}
div#maptext {
  border: solid 1px #ccc;
  border-top: none;
  padding: 2% 3% 2%;
  background: #FFF;
}
.mapunder {
  border-top: solid 1px #CCC;
  padding: 14px 0 0;
}
.mapunder p {
  line-height: 1.8;
}
.mapunder a {
    border-bottom: solid 1px #CCC;
    padding: 0 0.1em;
}

.mapunder a:hover {
    opacity: 0.7;
}
/*▼▼▼▼▼▼▼▼▼▼▼▼▼▼▼▼▼▼▼▼▼▼
600-メディアクエリー-600
▼▼▼▼▼▼▼▼▼▼▼▼▼▼▼▼▼▼▼▼▼▼*/
@media screen and (max-width: 600px) {
  #message.allsection h5 {
    font-size: 1.6rem;
    margin: 0 0 16px 0;
  }
  .infobox .info_hed {
    width: 100%;
    font-weight: 700;
    font-size: 1.5rem;
  }
  .infobox .info_detail {
    font-size: 1.5rem;
    font-weight: 700;
    width: 100%;
  }
  div#map {
    height: 400px;
  }
  #map h6.eng {
    font-size: 1.8rem;
  }
}
/*▼▼▼▼▼▼▼▼▼▼▼▼▼▼▼▼▼▼▼▼▼▼
480-メディアクエリー-480
▼▼▼▼▼▼▼▼▼▼▼▼▼▼▼▼▼▼▼▼▼▼*/
@media screen and (max-width: 480px) {
  #message.allsection h5 {
    font-size: 1.5rem;
    margin: 0 0 16px 0;
    text-align: justify;
  }
  #message.allsection h6 {
    text-align: justify;
    font-size: 110%;
    line-height: 1.8;
  }
  #message h5 br, #message h6 br {
    display: none;
  }
  div#mission h3 span {
    display: block;
    margin: 0px 0 16px;
  }
  div#map {
    height: 100vw;
  }
  #map h6.eng {
    font-size: 1.5rem;
  }
}
/*■■■■■■■■■■■■■■■■■■■■■■
ビジネス用
■■■■■■■■■■■■■■■■■■■■■■■*/
.formlist {
  width: 100%;
}
.formlist li {
  width: 18%;
  margin: 1%;
  position: relative;
  text-align: center;
  transition: 0.3s;
}
.formlist li button {
  border: none;
  background: none;
  width: 100%;
  border: solid 2px #CCC;
  padding: 20px;
  cursor: pointer;
  transition: 0.3s;
  height: 100%;
}
.formlist li button:hover {
  border: 2px solid currentColor;
  color: #931111;
}
.formlist li:hover > p {
  color: #931111;
}
.formlist li p {
  font-size: 1.3rem;
  margin: 0;
  position: absolute;
  font-weight: 600;
  width: 90%;
  z-index: -10;
  line-height: 120%;
  top: 50%;
  left: 50%;
  text-align: center;
  -webkit-transform: translate(-50%, -50%);
  -moz-transform: translate(-50%, -50%);
  -ms-transform: translate(-50%, -50%);
  -o-transform: translate(-50%, -50%);
}
/*取り組み*/
.activitytext h6 {
  font-size: 2rem;
  line-height: 1;
  background: #FFF;
  display: inline-block;
  padding: 0.5em 0.8em 0.3em;
}
.activitytext h5 {
  font-size: 1.7rem;
  margin: 1em 0 8px 0;
}
.activitytext {
  width: 55%;
  margin: auto;
}
.activityphoto {
  width: 35%;
  margin: 0 0 0 0;
}
.activityphoto div {
  width: 100%;
  background-size: cover;
  background-position: center center;
  margin: 5%;
  min-height: 240px;
}
li.flexwrap.revers {
  flex-direction: row-reverse;
}
.revers .activityphoto {
  margin: 0 0 0 0;
}
.active_detail li {
  /* border-bottom: dotted 1px currentColor; */
  margin: 0 0 2%;
  padding: 5%;
  background: #f5f5f5;
}
/*▼▼▼▼▼▼▼▼▼▼▼▼▼▼▼▼▼▼▼▼▼▼
600-メディアクエリー-600
▼▼▼▼▼▼▼▼▼▼▼▼▼▼▼▼▼▼▼▼▼▼*/
@media screen and (max-width: 600px) {
  .formlist li {
    width: 23%;
  }
  .activitytext {
    width: 100%;
    margin: auto;
  }
  .activityphoto {
    width: 100%;
    margin: 0 0 0 0;
  }
}
/*▼▼▼▼▼▼▼▼▼▼▼▼▼▼▼▼▼▼▼▼▼▼
480-メディアクエリー-480
▼▼▼▼▼▼▼▼▼▼▼▼▼▼▼▼▼▼▼▼▼▼*/
@media screen and (max-width: 480px) {
  .formlist li {
    width: 31.3%;
  }
  .allsection .activitytext p {
    font-size: 1.4rem;
    line-height: 2;
  }
}

/*■■■■■■■■■■■■■■■■■■■■■■
インフォ用
■■■■■■■■■■■■■■■■■■■■■■■*/
section#info {
    margin: 50px auto 100px;
    padding: 100px 0 100px;
}
#info ul li a {
	position: relative;
	display: inline-block;
	text-decoration: none;
	line-height: 1.4;
	font-size: 1.4rem;
}
#info ul li a::after {
	position: absolute;
	bottom: -4px;
	left: 0;
	content: '';
	width: 100%;
	height: 1px;
	background: #888;
	transform: scale(0, 1);
	transform-origin: left top;
	transition: transform .4s;
}
#info ul li a:hover::after {
	transform: scale(1, 1);
}
#info ul li {
	margin: 1.5em auto;
}
#info ul {
	width: 80%;
	margin: auto;
}
.icon {
    display: inline-block;
    border: solid 1px #a0a0a0;
    line-height: 1.5;
    padding: 0.2em 0.4em 0;
    font-size: 1.2rem;
    margin: 0 1em 0 0;
}
/*▼▼▼▼▼▼▼▼▼▼▼▼▼▼▼▼▼▼▼▼▼▼
600-メディアクエリー-600
▼▼▼▼▼▼▼▼▼▼▼▼▼▼▼▼▼▼▼▼▼▼*/
@media screen and (max-width: 600px) {
    #info ul {
	width: 90%;
	margin: 50px auto;
}
    #info ul li a {
	line-height: 1.5;
	font-size: 1.4rem;
}
}
/*▼▼▼▼▼▼▼▼▼▼▼▼▼▼▼▼▼▼▼▼▼▼
480-メディアクエリー-480
▼▼▼▼▼▼▼▼▼▼▼▼▼▼▼▼▼▼▼▼▼▼*/
@media screen and (max-width: 480px) {
}