/*
  モバイル版  320px ～ 799px
  PC版        800px ～ 3840px
*/
/* 共通設定 */
h1 {
  font-size: 2.8rem;
}

h2 {
  font-size: 2.4rem;
}

.message {
  font-size: 2.1rem;
}

.describe {
  font-size: 1.3rem;
}

#title_name,
.staff_list {
  font-size: 1rem;
}

.prototype_name,
.service_name,
.recruit_list,
.company_list {
  font-size: 1.3rem;
}

.news_list {
  font-size: 1.1rem;
}

.news-date {
  font-size: 1rem;
}

header {
  background: url(/img/top/mobile/fv_bg.png);
  background-size: 100%;
  background-attachment: local;
  background-repeat: no-repeat;
  width: 100%;
  padding-top: 65.2%;
  overflow: hidden;
}

.header_contents {
  width: 80%;
  min-width: 260px;
  margin: auto;
  margin-top: -50%;
  padding-bottom: 35%;
}

h1 {
  width: 100%;
}

h1 img {
  width: 100%;
}

#title_name {
  letter-spacing: .06rem;
  margin-top: 10%;
  line-height: 1.8;
}

.block {
  width: 100%;
  position: relative;
  overflow: hidden;
}

.left_block,
.right_block {
  float: none;
  width: 100%;
  overflow: hidden;
  position: relative;
}

.title {
  margin-left: 8vw;
  margin-top: 5%;
  margin-bottom: 5%;
}

.title_jp {
  border-left: 0.7rem solid #000;
  padding-top: 9%;
  height: 1.2rem;
  padding-left: 1.4vw;
  margin: 0;
  font-weight: normal;
  letter-spacing: .4vw;
  text-shadow: 0 0 1px #777;
}

h2 {
  min-height: 0vw;
  margin: 0;
  margin-left: 3vw;
  margin-top: 0.5vw;
  letter-spacing: 0.3vw;
  font-weight: normal;
  text-shadow: 0 0 1px #000;
}

.more {
  background-color: #FFF;
  border: .8vw solid #000;
  display: block;
  float: right;
  font-size: 1.3rem;
  font-weight: bold;
  letter-spacing: 1px;
  padding: 4% 6.5% 4% 10%;
  margin-right: 5%;
}

.more::after {
  content: "　　▶";
  font-family: "Noto Sans JP";
}

/* プロトタイプ */
#prototype {
  background: url(/img/top/mobile/prototype_bg.png);
  background-size: 100%;
  background-attachment: local;
  background-repeat: no-repeat;
  margin-top: -10%;
}

.prototype-image {
  display: none;
}

.prototype_list {
  list-style: none;
  padding: 0;
  width: 90%;
  margin: auto;
  margin-top: 25%;
}

.prototype_list a {
  display: flex;
  justify-content: space-between;
}

.prototype_list li {
  margin: 9% 0;
}

.prototype_thumbnail {
  width: 25%;
  height: 14.5vw;
}

.prototype_name {
  width: 65%;
  align-self: center;
  display: flex;
  justify-content: space-between;
}

.prototype_name::after {
  content: "▶";
  width: 20%;
}

/* リクルート */
#recruit {
  background: url(/img/top/mobile/recruit_bg.png);
  background-size: 100%;
  background-attachment: local;
  margin-top: 15%;
  background-repeat: no-repeat;
}

#slideshow {
  display: none;
  width: 90%;
  height: 60vw;
  min-height: 160px;
  margin: 5% 0;
}

.fadein {
  animation: fadeIn 0.5s;
}

.fadeout {
  animation: fadeOut 0.5s;
}

@keyframes fadeIn {

  /*animetion-nameで設定した値を書く*/
  0% {
    opacity: 0.5
  }

  /*アニメーション開始時は不透明度50%*/
  100% {
    opacity: 1
  }

  /*アニメーション終了時は不透明度100%*/
}

@keyframes fadeOut {

  /*animetion-nameで設定した値を書く*/
  0% {
    opacity: 1
  }

  100% {
    opacity: 0.5
  }
}

.recruit-image {
  width: 100%;
  height: 100%;
  box-shadow: 2px 2px 3px lightgray;
}

.recruit_list {
  list-style: none;
  padding: 0;
  width: 70%;
  margin: auto;
  margin: 5% auto;
  display: flex;
  flex-direction: column;
}

.recruit_list li {
  font-weight: 700;
  display: flex;
  justify-content: space-between;
}

.requirements {
  list-style: none;
  padding: 0;
  width: 64%;
}

.requirements li {
  margin-bottom: 25%;
  margin-left: 3%;
  font-weight: 500;
}

.requirements li a {
  margin-bottom: 2vw;
  width: 100%;
  font-weight: 500;
  display: flex;
  justify-content: space-between;
}

.recruit_list a {
  display: flex;
  justify-content: space-between;
  width: 100%;
}

.recruit_list li:not(.list_title)::after {
  content: "▶";
}

.staff_list {
  list-style: none;
  padding: 0;
  width: 95%;
  margin: auto;
  margin-top: 10%;
  margin-bottom: 12%;
  display: flex;
  flex-wrap: wrap;
  justify-content: space-around;
}

.staff_list li {
  margin: 0;
  width: 43%;
  padding: 2%;
  margin-bottom: 5%;
  text-align: center;
  letter-spacing: .1vw;
}

.staff_list img {
  width: 100%;
  margin-bottom: 5%;
  box-shadow: 2px 2px 3px lightgray;
}

.message {
  letter-spacing: 0.5vw;
  text-align: center;
  margin: 5% 0;
}

/* サービス */
#service {
  background: url(/img/top/mobile/service_bg.png) 10% 60%;
  background-size: 100%;
  background-attachment: local;
  background-repeat: no-repeat;
  margin-top: 15%;
}

#service .describe {
  letter-spacing: .5vw;
  line-height: 2;
  width: 70%;
  margin: auto;
  margin-top: 7%;
  margin-bottom: 5%;
}

.service_list {
  list-style: none;
  padding: 0;
  width: 85%;
  margin: auto;
  margin-bottom: 12%;
}

.service_list a {
  margin-top: 10%;
  display: flex;
  justify-content: space-between;
}

.service_thumbnail {
  width: 28%;
  height: 15vw;
}

.service_name {
  width: 65%;
  align-self: center;
  display: flex;
  justify-content: space-between;
}

.service_name::after {
  content: "▶";
}

/* Edge */
@supports (-ms-ime-align: auto) {
  .more::after {
    content: "　　▶";
    font-family: "Noto Sans JP";
  }
}

/* NEWS */
#news {
  background: url(/img/top/mobile/news_bg.png);
  background-size: 100%;
  background-attachment: local;
  background-repeat: no-repeat;
  margin-top: 20%;
  padding-top: 11%;
  padding-bottom: 24%;
}

.news_list {
  list-style: none;
  padding: 0;
  width: 88%;
  margin: auto;
  margin-top: -7%;
  margin-bottom: 10%;
}

.news_list a {
  margin: 10% 0;
  display: flex;
  justify-content: space-between;
  align-content: center;
}

.news_list li img {
  width: 18%;
  height: 15.84vw;
  object-fit: cover;
  font-family: 'object-fit: cover;';
}

.news_content {
  width: 60vw;
  align-self: center;
}

.news_content a {
  display: inline;
}

a .news_content a::after {
  content: "";
}

.news-date {
  color: gray;
  margin-bottom: 0.1vw;
}

.news_content {
  line-height: 1.6;
}

.news_list a::after {
  content: "▶";
  align-self: center;
}

/* Edge */
@supports (-ms-ime-align: auto) {
  .news_content {
    align-self: center;
  }
}

/* Company */
#company {
  background: url(/img/top/mobile/company_bg.png) 0 45%;
  background-size: 100%;
  background-attachment: local;
  background-repeat: no-repeat;
  display: flex;
  flex-direction: column;
  margin: 10% 0;
  padding-bottom: 10%;
}

#company .title {
  margin-left: 15%;
}

#company .title_jp {
  padding-top: 13%;
}

#company .describe {
  line-height: 2;
  letter-spacing: .8vw;
  margin-top: 2%;
  margin-left: 17%;
  width: 75%;
}

.company_list {
  list-style: none;
  padding: 0;
  width: 66vw;
  margin: auto;
  margin-top: 0vw;
  display: flex;
  flex-direction: column;
}

.company_list li {
  margin: 5% 0;
}

.company_list a {
  display: flex;
  justify-content: space-between;
}

.company_list a::after {
  content: "▶";
}