#staff {
    padding: 80px 0 0;
}

#staff .inner--base h2.wp-block-heading {
    position: relative;
}

#staff h2.staffTitle {
    font-size: 3rem;
}

#staff h2 {
    font-size: 2rem;
    letter-spacing: 0.3em;
    text-indent: 0.3em;
    line-height: 2em;
    padding-bottom: 12px;
    margin-bottom: 40px;
    position: relative;
}

#staff h2:after {
    content: "";
    width: 30px;
    height: 3px;
    background: #707070;
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    margin: auto;
}

#staff .txt,#charm .txt,#staffApply .txt,#jinzai .txt {
    font-size: 1.6rem;
    line-height: 2.3em;
}

#charm .txtTitle{
    font-size: 1.8rem;
    font-weight: bold;
    color: #29B3DD;
    margin-top: 20px;
}

#staff .txtSize1-6{
    font-size: 1.6em;
    font-weight: bold;
    color: #29B3DD;
    margin-bottom: 30px;
}

#job table {
  width: 100%;
  border-collapse: collapse;
  font-size: 1.6rem;
}

#job th,
#job td {
  border: 1px solid #ccc;
  padding: 12px;
  text-align: left;
}

#job th {
  background-color: #FFF99D;
}

.staffTitle {
  display: table;
    width: 100%;
    border-spacing: 0;
    margin: 0 0 20px;
    line-height: 2em;
}

.staffTitleCell {
  display: table-cell;
  vertical-align: middle;
  white-space: nowrap;
}

.staff-heading {
  font-size: 1.6em;
  display: inline-block;
  border-bottom: 2px solid #3399cc;
  padding-bottom: 5px;
  margin: 0;
}

.staffTitleLine {
  display: table-cell;
  vertical-align: middle;
  border-bottom: 2px solid #ccc;
  width: 100%;
}

#staff-content p {
  font-size: 1rem;
  margin-bottom: 15px;
  line-height: 1.7;
}

#staff-content ul {
  list-style: none;
  padding-left: 0;
  margin-bottom: 20px;
}

#staff-content li {
  margin-bottom: 10px;
  padding-left: 1em;
  text-indent: -1em;
}

.staffShadow{
    margin-top: 100px;
}

#staffApply .staffShadow {
  position: relative;
}

.recruit-flow {
  background: #f5f8fc;
  padding: 40px 20px;
  border-radius: 12px;
  margin: 60px 0;
  position: relative;
}

.recruit-flow-title {
  font-size: 1.5em;
  margin-bottom: 30px;
  border-left: 5px solid #3399cc;
  padding-left: 10px;
  color: #3399cc;
}

.recruit-flow-container {
  display: flex;
  gap: 40px;
  align-items: flex-start;
  margin-top: 50px;
  flex-wrap: wrap; /* スマホ対応 */
}

.recruit-flow-steps {
  flex: 1;
  list-style: none;
  padding: 0;
  margin: 0;
  position: relative;
}

.recruit-flow-steps::before {
  content: '';
  position: absolute;
  left: 30px;
  top: 0;
  bottom: 0;
  width: 2px;
  background-color: #ccc;
}

.recruit-flow-steps li {
  position: relative;
  margin-bottom: 60px;
  padding-left: 80px;
  display: flex;
  align-items: center;
}

.recruit-flow-steps li:last-child {
  margin-bottom: 20px;
}

.step-number {
  position: absolute;
  left: 0;
  width: 60px;
  height: 60px;
  line-height: 60px;
  text-align: center;
  background-color: #29B3DD;
  color: #fff;
  font-weight: bold;
  border-radius: 50%;
  font-size: 0.9em;
  z-index: 1;
  top: 50%;
  transform: translateY(-50%);
}

.step-desc {
  font-size: 1.6rem;
  line-height: 1.6;
  margin: 0;
  text-align: left;
}

.recruit-flow-image {
  flex: 0 0 330px;
  max-width: 100%;
}

.recruit-flow-image img {
  width: 100%;
  height: auto;
  border-radius: 8px;
  box-shadow: 0 4px 12px rgba(0,0,0,0.1);
}

.staff-nav ul {
  list-style: none;
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  gap: 15px;
  padding: 0;
  margin: 0;
}

.staff-nav li a {
  display: inline-flex; /* ← アイコンとテキストを横並びに */
  align-items: center;
  gap: 8px;
  padding: 10px 20px;
  color: #303030;
  text-decoration: none;
  border-radius: 6px;
  font-weight: bold;
  transition: background-color 0.3s;
  font-size: 1.6rem;
  position: relative;
}

.staff-nav li a::before {
  content: "＞";
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 20px;
    height: 20px;
    font-size: 0.8em;
    border-radius: 50%;
    background-color: #29B3DD;
    color: #fff;
    font-weight: bold;
}

.popup{
    background-color: #fafafa;
    padding: 15px 30px;
}

.staff-nav li a:hover {
    background-color: #29B3DD;
    color: #fff;
}

.staff-nav li a:hover::before {
    background-color: #fff;
    color: #29B3DD;
}

.highlight-underline {
  font-size: 1.8rem;
  background-image: linear-gradient(to bottom, transparent 75%, #FFF700 75%);
  background-repeat: repeat-x;
  background-size: 100% 100%;
}

@media screen and (max-width: 740px) {
    #staff h2.staffTitle{
      font-size: 2.5rem;
    }
    .staff-nav li a{
      font-size: 1.7rem;
    }
}