/* =======================================================
* #sub_main
* ======================================================= */
#sub_main .sub_bg.recruit {
  background: url(../images/bg_recruit.jpg) no-repeat center/cover;
}


/* =======================================================
* saiyo
* ======================================================= */
#saiyo .saiyo_ttl {
  -webkit-writing-mode: vertical-rl;
  -ms-writing-mode: tb-rl;
  writing-mode: vertical-rl;
  line-height: 1.7;
  font-family: ten-mincho, serif;
  font-size: 2.6rem;
  margin: 0 auto;
}

#saiyo .saiyo_logo {
  position: absolute;
  top: 40%;
  left: 50%;
  transform: translate(-50%, -50%);
  max-width: 220px;
  opacity: 0.3;
  z-index: -1;
}

/* bgArea */
.bgArea h2:before {
  background: #fff;
}

.bgArea {
  margin-top: 60px;
  background: url(../images/bg_message.jpg) no-repeat center/cover;
  position: relative;
  z-index: 1;
  background-attachment: fixed;
}

.bgArea::after {
  position: absolute;
  content: "";
  width: 100%;
  height: 100%;
  top: 0;
  left: 0;
  background: rgba(1, 1, 1, 0.6);
  z-index: -1;
}

.bgArea .wrap {
  padding: 100px;
  box-sizing: border-box;
  color: #fff;
  line-height: 2;
}

.bgArea .wrap p {
  margin-bottom: 15px;
}

.bgArea .wrap p span {
  background: rgba(255, 255, 255, 0.9);
  color: #222;
  padding: 5px;
  margin: 0 3px;
}

@media screen and (max-width:768px) {
  #saiyo .flex {
    display: block;
  }

  #saiyo .flex div {
    font-size: 2.2rem;
    margin: 0 auto;
  }

  #saiyo .flex div img {
    width: 40px;
    margin-top: 10px;
  }

  .bgArea {
    background-attachment: unset;
    background-position: center left 15%;
  }

  .bgArea .wrap {
    padding: 50px 20px;
  }
}



/* =======================================================
* overview
* ======================================================= */
#overview table {
  width: 100%;
  margin: 30px auto 80px;
}

#overview table,
#overview td,
#overview th {
  border: 1px solid #ddd;
  border-collapse: collapse;
}

#overview th,
#overview td {
  padding: 15px;
  background-color: #fff;
}

#overview th {
  text-align: center;
  vertical-align: middle;
  width: 25%;
  background-color: var(--color-green);
  color: #fff;
}

#overview td ul {
  padding-left: 20px;
}

#overview td ul li {
  list-style: circle;
}

@media screen and (max-width:768px) {
  #overview table {
    width: 100%;
    margin: 20px auto 30px;
    font-size: 1.4rem;
  }

  #overview th {
    white-space: nowrap;
    width: 60px;
  }

  #overview th span {
    writing-mode: vertical-rl;
  }
}


/* =======================================================
* flow
* ======================================================= */
#flow ul {
  display: grid;
  gap: 20px;
  grid-template-columns: 1fr 1fr 1fr 1fr 1fr;
  text-align: center;
  margin-bottom: 30px;
}

#flow ul li {
  background: rgba(255, 255, 255, 0.4);
  padding: 20px 10px 10px;
  box-sizing: border-box;
  border: 1px solid #fff;
  border-radius: 8px;
  position: relative;
}

#flow ul li:not(:last-child)::after {
  position: absolute;
  content: ">>>";
  top: 40%;
  right: -30px;
  color: var(--color-accent);
  z-index: 1;
  font-weight: bold;
}

#flow ul li .flow_step {
  text-transform: uppercase;
  font-family: 'Lato', sans-serif;
  color: var(--color-accent);
  margin-bottom: 20px;
}

#flow ul li img {
  height: 100px;
  object-fit: contain;
  margin-bottom: 20px;
}

#flow .caption {
  text-align: right;
}

@media screen and (max-width:768px) {
  #flow ul {
    display: block;
  }

  #flow ul li {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    align-items: center;
    width: 90%;
    margin: 0 auto 20px;
    padding: 5px 5px 0;
    font-size: 1.4rem;
  }

  #flow ul li div {
    margin: 0 5px;
  }

  #flow ul li:not(:last-child)::after {
    top: auto;
    bottom: -25px;
    right: 45%;
    transform: rotate(90deg);
    content: ">>";
  }

  #flow ul li .flow_step {
    margin-bottom: 0;
    font-size: 1.2rem;
  }

  #flow ul li img {
    height: 50px;
    margin-bottom: 0;
  }

  #flow .caption {
    text-align: left;
  }
}

/* =======================================================
* entry
* ======================================================= */
#entry .entry_attention {
  color: var(--color-accent);
  padding-left: 20px;
  box-sizing: border-box;
  font-size: 13px;
}

#entry .entry_attention li {
  list-style: disc;
}