/* 幅広・全幅ブロック以外にデフォルトコンテンツ幅を指定 */
.entry-content>*:not(.alignwide):not(.alignfull) {
  max-width: var(--wp--style--global--content-size);
  width: 90%;
}

/* 幅広ブロックに幅広コンテンツ幅を指定 */
.entry-content>*.alignwide {
  max-width: var(--wp--style--global--wide-size);
}

@media (max-width: 800px) {

  .entry-content>*:not(.alignwide):not(.alignfull),
  .entry-content>*.alignwide {
    max-width: 90%;
  }
}

/* 全幅ブロックを除いて左右にオートマージンを付与する */
.entry-content>*:not(.alignfull) {
  margin-right: auto;
  margin-left: auto;
}

.entry-content {
  overflow-y: hidden;
  margin-bottom: 60px;
}

/* 共通 */
.editor-styles-wrapper {
  padding-left: var(--wp--custom--gutter);
  padding-right: var(--wp--custom--gutter);
}


.wp-block-heading.is-style-underline-title {
  font-size: 3.2rem;
  text-align: center;
  position: relative;
  padding-bottom: 18px;
  margin-bottom: 50px;
}

.wp-block-heading.is-style-underline-title::before {
  content: "";
  background: var(--wp--preset--color--primary);
  width: 45px;
  height: 6px;
  border-radius: 50px;
  position: absolute;
  bottom: 0;
  left: 50%;
  transform: translateX(-50%);
}

.is-style-light-underline-title {
  border-bottom: 1px solid var(--wp--preset--color--primary);
  font-size: 2rem;
  padding-bottom: 15px;
  margin-bottom: 30px;
}


.wp-block-flexible-table-block-table.wp-block-flexible-table-block-table.works-detail>table tr th,
.wp-block-flexible-table-block-table.wp-block-flexible-table-block-table.works-detail>table tr td {
  font-size: 1.5rem;
  line-height: 1.7;
  padding: 15px 25px;
  border: 1px solid #D8D8D8;
  border-width: 1px 0;
  vertical-align: middle;
}

.wp-block-flexible-table-block-table.wp-block-flexible-table-block-table.works-detail>table tr th {
  width: 30%;
  background: var(--wp--preset--color--bg-grey);
  text-align: left;
}


.recruit-job-single-ttl {
  border-bottom: 1px solid var(--wp--preset--color--border);
  font-size: 2.5rem;
  padding: 0 15px 20px 0;
  margin-bottom: 20px;
}

@media (max-width: 800px) {

  .jobdescription-meta-block,
  .job-meta-block {
    display: grid !important;
    gap: 20px;
  }

  .job-meta-block .wp-block-group {
    order: 2;
  }

  .job-meta-block .wp-block-post-featured-image {
    order: 1
  }
}

.staff-h1-title {
  border-bottom: 1px solid var(--wp--preset--color--border);
  font-size: 2.5rem;
  padding-bottom: 20px;
  margin-bottom: 20px;
}

.staff-department .term-item {
  display: inline-block;
  background-color: var(--wp--preset--color--primary);
  color: #fff;
  border-radius: 6px;
  padding: 8px 10px;
  margin-bottom: 15px;
}

.staff-department .term-item+.term-item {
  margin-left: 10px;
}

.staff-department,
.staff-year {
  font-family: var(--font_jp);
  font-size: 1.5rem;
  line-height: 1.5;
}

.recruit-flow .recruit-flow-item {
  position: relative;
  width: 100%;
}

.recruit-flow .recruit-flow-item:not(:last-child)::before {
  content: "";
  border-left: 1px solid #000;
  position: absolute;
  top: 42px;
  bottom: 6px;
  left: 32px;
  height: calc(100% - 30px);
}

.recruit-flow .flow-num {
  font-family: var(--font_en);
  font-weight: bold;
  text-align: center;
  font-size: 2rem;
  line-height: 1;
  letter-spacing: 0.05em;
  margin-top: 12px;
}

.recruit-flow .flow-desc::before {
  content: "";
  width: 63px;
  border-bottom: 1px dashed var(--wp--preset--color--primary);
  position: absolute;
  top: 22px;
  left: -63px;
  z-index: 0;
}

.recruit-flow .flow-desc::after {
  content: "";
  background-color: var(--wp--preset--color--primary);
  width: 9px;
  height: 9px;
  border-radius: 50%;
  position: absolute;
  top: 18px;
  left: -71px;
  z-index: 0;
}

@media (max-width: 800px) {
  .entry-content .wp-block-group.alignfull.has-bg-grey-background-color>.wp-block-group {
    width: 90%;
  }

  .recruit-flow .recruit-flow-item {
    grid-template-columns: 55px 1fr;
    gap: 40px;
  }

  .recruit-flow>li:not(:last-child)::before {
    left: 27px;
  }

  .recruit-flow .flow-desc {
    padding: 25px !important;
  }

  .recruit-flow .flow-desc::before {
    width: 27px;
    top: 19px;
    left: -27px;
  }

  .recruit-flow .flow-desc::after {
    top: 15px;
    left: -35px;
  }

  .recruit-flow .flow-num {
    font-size: 1.6rem;
  }

  .recruit-flow .flow-ttl {
    font-size: 1.8rem;
    margin-bottom: 10px;
  }
}

.postdata .wp-block-tiptip-hyperlink-group-block {
  display: inline-block;
  text-decoration: none;
}

.btn-line {
  display: inline-flex;
  align-items: center;
  gap: 18px;
  font-family: var(--font_jp);
  font-size: 2rem;
  line-height: 1.5;
  transition: color 0.3s;
}

.wp-block-tiptip-hyperlink-group-block:focus-visible .btn-line {
  color: #06C755;
}

@media (any-hover: hover) {
  .wp-block-tiptip-hyperlink-group-block:hover .btn-line {
    color: #06C755;
  }
}


.wp-block-flexible-table-block-table.wp-block-flexible-table-block-table.jobdescription-table>table tr th,
.wp-block-flexible-table-block-table.wp-block-flexible-table-block-table.jobdescription-table>table tr td {
  font-size: 1.5rem;
  line-height: 1.7;
  text-align: left;
  padding: 12px 20px;
  vertical-align: middle;
}


.wp-block-flexible-table-block-table.wp-block-flexible-table-block-table.jobdescription-table>table tr:first-child th {
  border-top: 1px solid var(--wp--preset--color--my-blue);
  border-bottom: 1px solid #fff;
}

.wp-block-flexible-table-block-table.wp-block-flexible-table-block-table.jobdescription-table>table tr:not(:first-child) th {
  border-bottom: 1px solid #fff;
}

.wp-block-flexible-table-block-table.wp-block-flexible-table-block-table.jobdescription-table>table tr:last-child th {
  border-bottom: 1px solid var(--wp--preset--color--my-blue);
}

.wp-block-flexible-table-block-table.wp-block-flexible-table-block-table.jobdescription-table>table tr th {
  width: 30%;
  border: 1px solid var(--wp--preset--color--my-blue);
  background-color: var(--wp--preset--color--my-blue);
  color: #fff;
}

.wp-block-flexible-table-block-table.wp-block-flexible-table-block-table.jobdescription-table>table tr td {
  background-color: #fff;
  border: 1px solid #ddd;
}
