@charset "UTF-8";

.btn a {
  padding: 1em 4.5em 1em 1.2em;
}

.main-header.is-fixed .main-logo {
  height: 3.6rem;
}

.news-box {
  background-color: #fff;
}

.cat-ttl:has(> a) {
  padding: 0;
}

.cat-ttl a {
  padding: 0.8rem 1rem 0.8rem 4rem;
  display: block;
}

.cat-ttl a:hover {
  opacity: 0.8;
}

.cat-ttl::before {
  width: 2.2rem;
  height: 2.2rem;
  left: 0.8rem;
}

.cat-list-item,
.tags .tag {
  min-width: 10.6rem;
}

.archive.category .cat-list-item a {
  border-radius: 0;
  padding: 0.2rem 1em;
}

.media-list-item .media-ttl {
  margin-top: 0;
}

.mv-ttl {
  top: 25%;
}

.mv-ttl .skew-marker {
  padding: 0 0.7em;
}

.mv-ttl .pc-only {
  display: none;
}

.mainSlider {
  height: calc(100svh - 5.6rem);
}

:where(.top) .news .post-list-item {
  padding: 1em 0 2em;
}

:where(.top) .news .post-list-item:first-of-type {
  padding-top: 0;
}

:where(.top) .news .post-list-item a {
  border-bottom: none;
  padding: 0 0 0 2rem;
  border-left: 2px solid #3ab077;
}

.cardSlider .card-list {
  flex-wrap: nowrap;
  gap: 0;
}

:where(.content) .contact {
  background: #f0f4f8;
}

:where(.content) .contact::before {
  background-position: center center;
}

.form-field.your_add .form-input .zip {
  flex-wrap: nowrap;
  align-items: center;
  justify-content: flex-start;
  gap: 0;
}

.form-field.your_add .form-input .zip>span {
  display: flex;
}

.form-field.your_add .form-input .zip>span.input {
  flex-basis: calc(50% - 2rem - 0.8rem);
}

.zip.input-2cols .wpcf7-form-control-wrap {
  -ms-flex-preferred-size: 100%;
  flex-basis: 100%;
}

.editor-area .wp-block-group:first-child {
  padding-top: 0;
}

.editor-area p {
  line-height: 2.2;
}

.point-box:first-child {
  padding-top: 0;
}

.flow-list-item {
  padding-top: 1em !important;
}

.flow-num {
  color: #3baf78;
  font-size: 3rem;
  font-weight: 600;
  margin-inline: 1em;
}

.editor-area sub {
  font-size: 0.75em;
  display: inline-block;
  vertical-align: middle;
}

.archive.works .cat-list,
.post-type-archive-works .cat-list {
  margin: 1.6rem auto 3.2rem;
}

.wp-block-table.is-style-contrast {
	border-right: none;
}
.wp-block-table.is-style-contrast table{
	border-right: 1px solid #ccc;
}

.wp-block-table::before {
  left: 0;
}

@media screen and (max-width: 360px) {
  .mv-ttl .skew-marker {
    padding: 0 0.5rem;
  }
}

@media screen and (min-width: 480px) {

  /* ------------------------------------- */
  /* contents */
  /* ------------------------------------- */
  .mv-ttl .pc-only {
    display: inline-block;
  }
}

@media screen and (min-width: 768px) {
  /* ------------------------------------- */
  /* contents */
  /* ------------------------------------- */

  .media-list-item:nth-of-type(odd) {
    flex-direction: row-reverse;
  }

  .media-list-item:nth-of-type(even) {
    flex-direction: row;
  }

  .media-list-item .media-content::after {
    clip-path: polygon(100% 0, 100% 0, 100% 100%, 0 100%);
    bottom: 0;
    right: auto;
    left: -40px;
  }

  .media-list-item:nth-of-type(even) .media-content::after {
    clip-path: polygon(0 0, 0 0, 100% 100%, 0 100%);
    left: auto;
    right: -40px;
  }

  :where(.top) .news .post-list {
    margin-top: 0;
  }

  .flow-num {
    margin-inline: 0;
  }

  .archive.works .cat-list,
  .post-type-archive-works .cat-list {
    margin: 0 auto;
  }
}

@media screen and (min-width: 960px) {
  .mainSlider {
    height: 72rem;
  }

  .mv-ttl {
    top: 32%;
  }

  .media-list-item .media-content {
    padding: 5rem;
  }

  :where(.top) .company::after {
    max-width: calc(100vw - ((100% - 100rem) / 2));
    max-height: calc(100% - 15.2rem);
  }

  :where(.top) .strength .box {
    padding: 4em 3.5em;
  }

  :where(.top) .recruit {
    margin-bottom: 8rem;
  }

  :where(.top) .news .inner {
    -webkit-column-gap: clamp(8rem, -4rem + 12.5vw, 12rem);
    -moz-column-gap: clamp(8rem, -4rem + 12.5vw, 12rem);
    column-gap: clamp(8rem, -4rem + 12.5vw, 12rem);
  }
}

@media screen and (min-width: 1025px) {

  /* ------------------------------------- */
  /* contents */
  /* ------------------------------------- */
  .content {
    padding: 7.2rem 0 0;
  }

  .main-header.is-fixed .main-logo {
    height: 5.2rem;
  }

  .main-header.is-fixed .main-logo img {
    height: 5.2rem;
  }

  .nav-menu-item:has(.icon_mail)>a {
    padding: 0.65em 1.5em;
  }

  .news-box {
    padding: 1.6rem 3.5rem;
  }

  .news-box .button-next {
    right: 2rem;
  }

  .news-box .button-prev {
    right: 6rem;
  }

  :where(.top) .company::after {
    width: 94%;
    max-width: calc(100vw - ((100% - 100rem) / 2));
    max-height: calc(100% - 15.2rem);
  }

  :where(.top) .company .inner {
    grid-template-columns: calc(50% - 4rem) auto;
    -webkit-column-gap: 8rem;
    -moz-column-gap: 8rem;
    column-gap: 8rem;
  }

  :where(.top) .company .lead {
    max-width: inherit;
  }

  :where(.top) .strength .img {
    width: 60%;
    margin: 0 auto 0 0;
  }

  :where(.top) .strength .box {
    width: 60%;
    max-width: 62rem;
    padding: 4em 3.5em;
    margin: 0 0 0 auto;
    position: absolute;
    top: 50%;
    right: 0;
    -webkit-transform: translateY(-50%);
    transform: translateY(-50%);
    z-index: 2;
  }

  :where(.top) .recruit {
    margin-bottom: 10vw;
    overflow: visible;
  }

  :where(.top) .recruit::after {
    width: 94%;
    max-width: calc(100vw - ((100% - 100rem) / 2));
    max-height: calc(100% - 15.2rem);
  }

  :where(.top) .recruit .inner {
    grid-template-columns: calc(50% - 4rem) auto;
    -webkit-column-gap: 8rem;
    -moz-column-gap: 8rem;
    column-gap: 8rem;
    position: static;
  }

  :where(.top) .recruit .img {
    -webkit-transform: translateX(0);
    transform: translateX(0);
    position: absolute;
    top: clamp(4rem, 2.184rem + 5.674vw, 8rem);
    right: 0;
    width: calc(50% - 4rem);
  }

  :where(.content) .contact .tel-link {
    margin: 2rem auto;
  }
}

@media screen and (min-width: 1280px) {}

@media screen and (min-width: 1400px) {
  :where(.top) .recruit {
    margin-bottom: 8rem;
  }

  :where(.top) .recruit .inner {
    position: relative;
  }

  :where(.top) .recruit .img {
    top: 0;
    width: 100%;
  }
}

@media (orientation: landscape) and (max-width: 767px) {
  /* デバイスが横向き、画面の横幅が 767px 以下の場合の記述 */
}

.label__grid {
  position: absolute;
  bottom: 0;
  left: 0;
  display: flex;
}
.card-thumb .label {
  position: unset;
  bottom: unset;
  left: unset;
  margin-right: 1px;
}
.work-single iframe {
  aspect-ratio: 16 / 9;
  margin-top: 80px;
}
@media only screen and (max-width: 768px) {
  .gallery .swiper-container {
    padding: 0;
  }
  .card-thumb .label {
    font-size: 1.1rem;
    padding: 2px 8px;
  }
  .work-single iframe {
    aspect-ratio: 16 / 10;
    margin-top: 60px;
  }
}