@charset "utf-8";
/* CSS Document */
/* #menu_btn {
  display: none;
} */
@media all and (max-width: 768px){
  #about .sp_column2 {
    --wp-column-gap: auto;
    --wp-column-mt: auto;
  }
}
@media all and (max-width: 959px){
  #main_visual {
    padding: 0;
  }
  #main_visual .p-mainVisual__inner {
    margin: 0 4vw;
    overflow: unset;
    /* padding-top: 43vh; */
  }
  #main_visual .p-mainVisual__slide {
    overflow: unset;
  }
  #main_visual .p-mainVisual__imgLayer {
    border-radius: 15px;
    overflow: hidden;
    height: 30vh;
    top: 45vh;
  }
  #main_visual .p-mainVisual__textLayer {
    height: 60%;
    top: -95%;
    padding: 0;
    height: 37vh;
    top: 70px;
  }
  #main_visual .p-mainVisual__textLayer .p-mainVisual__slideTitle {
    font-size: 6vw;
    letter-spacing: 3px;
    text-align: left;
  }
  #main_visual .p-mainVisual__textLayer .p-mainVisual__slideTitle em b {
    font-size: 122%;
    top: 1px;
  }
  #main_visual .p-mainVisual__textLayer .p-mainVisual__slideTitle em {
    border-radius: 10px;
  }
  #main_visual .p-mainVisual__textLayer .p-mainVisual__slideText {
    font-size: 3.2vw;
    line-height: 1.7;
    margin: 1em 0 0 0;
    width: 100%;
    text-align: left;
    letter-spacing: 0;
  }
  #main_visual .mv-network-canvas {
    left: 5vw;
    height: 50vh !important;
    top: 10vh;
  }
  .top #content {
    /* margin-bottom: 0;
    padding-top: 0; */
  }
  .post_content div.has-background div.has-background {
    padding: 0;
  }
  .post_content > .wp-block-group {
    padding: 3em 0;
    margin-bottom: 0 !important;
  }
  /* .post_content .alignfull > div {
    padding-left: 4vw;
    padding-right: 4vw;
  } */
  /* .post_content h2 {
    margin-bottom: 0;
  }
  .post_content h2 + p {
    margin-top: 0;
  } */
  .post_content .p-postListWrap {
    margin-bottom: 0;
  }
  #service h3.is-style-section_ttl {
    margin: 1.5em 0 1em !important;
  }
  h2.p-postList__title {
    text-align: left;
  }
  /* .post_content h3.is-style-section_ttl::after {
		content: "";
		display: block;
		width: 50px;
		height: 2px;
		background: #e086c1;
		margin: 0.7em auto 0.5em;
	} */
  .l-mainContent__inner>.post_content {
    margin-bottom: 0;
  }
  .post_content #about .swell-block-columns figure {
    width: 80%;
    margin: auto;
  }
  .post_content #about .swell-block-columns p {
    line-height: 1.7;
  }
  .post_content #about h4 {
    line-height: 1.6;
  }
  .post_content #about h4 em {
    padding: 0 10%;
  }
  .post_content #job .wp-block-media-text, .post_content #feat .wp-block-media-text {
    padding: 4vw;
  }
  .post_content #feat .wp-block-media-text h3 {
    text-align: center;
  }
  .post_content #job {
    padding-bottom: 4vw !important;
  }
  /* .post_content .swell-block-columns .swell-block-column {
    margin: 0 0 0 4vw;
    width: calc(var(--clmn-w) - 4vw);
  } */
  .post_content #career p + .swell-block-columns .swell-block-column::after {
    display: none;
  }
  .top-page .top-service > div {
    position: relative;
    background: url(../../../../uploads/bg_service.png) no-repeat center;
    background-size: 100%;
    padding: 5% 0 10%;
    margin: -15% 0 1em !important;
    background: none;
  }
  .top-page h3.top-service__text {
    position: relative;
    width: unset;
    text-align: left;
    height: unset;
    font-size: 3.5vw;
    display: block;
  }
  .top-page .top-service .ttl {
    margin-bottom: -1em !important;
  }
  .top-page .service-list {
    margin: 2rem 2vw 0 0;
  }
  .top-page .strength-tabs .c-tabList__button {
    min-height: 10rem;
    padding: 0.9rem 0.7rem;
    font-size: 0.8rem;
  }
  .top-page .strength-tabs .strength-tab-columns > .swell-block-columns__inner {
    gap: 2rem;
  }
  .top-page .strength-tab-title { 
    font-size: 1.85rem; 
  }
  .top-page .strength-tabs .c-tabList {
    gap: 0.5rem;
    overflow-x: auto;
    overscroll-behavior-inline: contain;
    scroll-snap-type: x mandatory;
    scrollbar-width: thin;
  }
  .top-page .strength-tabs .c-tabList__item {
    flex: 0 0 10rem;
    scroll-snap-align: start;
  }
  .top-page .strength-tabs .c-tabList__button {
    min-height: 8rem;
    font-size: 3.3vw;
    border-radius: 0.5rem 0.5rem 0 0;
  }
  .top-page .top-numbers.image .top-numbers__list .top-numbers__item {
    flex: 0 0 10rem !important;
    width: 10rem !important;
  }
}
@media all and (max-width: 767px) {
  .post_content .is-stacked-on-mobile>.wp-block-media-text__content {
    padding: 1.25em 0 0 !important;
  }
  .post_content #career .swell-block-column p.date {
    top: -20px;
    left: -12px;
  }
  .note {
    text-align: left !important;
    line-height: 1.3;
    color: unset;
  }
    .top-page > section { width: min(calc(100% - 2rem), var(--top-wrap)); }
  .top-page .top-mv { width: calc(100% - 1rem); }
  .top-page .top-mv__image img { height: 21rem; }

  .top-page .top-numbers { 
    padding-block: 1.1rem;
    padding: 6em 0 2em !important;
  }
  .top-page .top-numbers__list > .swell-block-columns__inner {
    display: grid;
    grid-template-columns: repeat(5, minmax(0, 1fr));
    gap: 0.2rem;
  }
  .top-page .top-numbers__item p { font-size: 0.7rem; }
  .top-page .top-numbers__item h3 { font-size: 8vw; }
  .top-page .top-numbers__item sup {
    margin-left: 0.3em;
    font-size: 0.7rem;
    top: -3px;
  }

  .top-page .top-about { padding-block: 4rem 4.5rem; }
  .top-page .top-about__body { margin-top: 2rem; }
  .top-page .top-about__body > .swell-block-columns__inner {
    display: grid;
    grid-template-columns: 1fr;
    gap: 1.5rem;
  }
  .top-page .top-about__image img { aspect-ratio: 1.6; }
  .top-page .top-about__text-col p { font-size: 0.9rem; }

  .top-page .top-service { 
    padding: 0 20vw 0 4vw !important;
  }
  .top-page .service-list > .swell-block-columns__inner {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 1rem;
  }
  .top-page .service-card {
    margin-bottom: 4vw;
  }
  .top-page .service-card h3 {
    margin: 0 4vw 0.5em;
    font-size: 4.5vw;
  }
  .top-page .service-card p {
    font-size: 0.95rem;
    margin: 0 4v;
  }
  .top-page .top-service__text { margin-top: 2.5rem; font-size: 0.9rem; }

  .top-page .top-strength { padding-top: 4rem; }
  .top-page .strength-tabs { 
    margin-top: 2rem;
    /* left: calc(50% - 50vw + var(--swl-scrollbar_width, 0) / 2);
    width: calc(100vw - var(--swl-scrollbar_width, 0)); */
  }
  .top-page .strength-tabs .c-tabBody { padding-block: 3rem; }
  .top-page .strength-tabs .strength-tab-columns > .swell-block-columns__inner {
    grid-template-columns: 1fr;
    gap: 2rem;
  }
  .top-page .strength-tab-title { margin-bottom: 1.5rem; font-size: 5vw; }
  .top-page .strength-tab-text p:not(.strength-tab-number) {
    font-size: 0.9rem;
    line-height: 1.9;
  }

  .top-page .top-security { margin-block: 4rem; padding: 2.5rem 1.25rem; }
  .top-page .top-security > h2 { font-size: 1.3rem; }
  .top-page .top-security > p:not(.section-heading__en) { font-size: 0.85rem; }
  .top-page .security-box { padding: 1.5rem; }
  .top-page .security-box > .swell-block-columns__inner {
    grid-template-columns: 1fr;
    gap: 1.5rem;
  }
  .top-page .security-box__text ul { 
    grid-template-columns: 1fr;
    gap: 0;
  }

  .top-page .top-recruit {
    /* margin-top: 4rem; */
  }
  .top-page .top-recruit .wp-block-group__inner-container {
    margin-left: -5%;
  }
  .top-page .top-recruit__inner > .swell-block-columns__inner {
    grid-template-columns: 1fr 1fr;
    column-gap: 7%;
  }
  .top-page .top-recruit__content {
    grid-column: 1 / -1;
    grid-row: 2;
    min-height: 21rem;
    padding: 3rem 1.5rem;
  }
  .top-page .top-recruit__content h2 { 
    font-size: 12vw;
    line-height: 1;
   }
  .top-page .top-recruit__image figure {
    height: 300px;
  }
  .top-page .top-recruit__image img {
    object-position: bottom;
    min-height: unset;
  }

  .top-page .service-list > .swell-block-columns__inner {
    display: block;
  }
  #main_visual::before {
    height: 80%;
  }
  .top-page .strength-tab-columns .swell-block-column {
    width: unset;
  }
  .top-page .top-security {
    padding: 6vw !important;
  }
  .top-page .security-box .swell-block-column:first-child {
    border-right: none;
    padding-right: 0;
  }
  .post_content .top-news .wp-block-group.ttl {
    margin-bottom: 0;
  }

  .post_content > .wp-block-group, .post_content > main > .wp-block-group__inner-container > * {
      padding-top: 2.5em;
      padding-bottom: 2.5em;
      margin-bottom: 0;
  }
  /* .post_content > main > .wp-block-group__inner-container > * + section, .post_content > main > .wp-block-group__inner-container > * + div {
    padding-top: 0;
  } */
  #main_visual .p-mainVisual__textLayer .p-mainVisual__slideText {
    font-size: 1.6vh;
  }
}


/* 数字の帯：右から左へ流れる無限ループ */
.top-page .top-numbers__list {
  width: 100%;
  max-width: none;
  overflow: hidden;
}
.top-page .top-numbers__list > .swell-block-columns__inner {
  display: flex !important;
  flex-wrap: nowrap !important;
  width: max-content;
  max-width: none;
  gap: clamp(2rem, 4vw, 4rem);
  margin: 0;
  animation: top-numbers-scroll var(--numbers-duration, 24s) linear infinite;
  will-change: transform;
}
.top-page .top-numbers__list .top-numbers__item {
  flex: 0 0 16.5rem !important;
  width: 10.5rem !important;
  max-width: none;
  margin: 0 !important;
}
@keyframes top-numbers-scroll {
  from { transform: translate3d(0, 0, 0); }
  to { transform: translate3d(calc(-1 * var(--numbers-distance, 0px)), 0, 0); }
}
@media (max-width: 47.99rem) {
  .top-page .top-numbers__list .top-numbers__item {
    flex-basis: 8.5rem !important;
    width: 8.5rem !important;
  }
}
@media (prefers-reduced-motion: reduce) {
  .top-page .top-numbers__list > .swell-block-columns__inner {
    animation: none;
    will-change: auto;
  }
  .top-page .top-numbers__list { overflow-x: auto; }
}

@media all and (min-width: 768px) and (max-width: 960px) {
  #about h3 {
    font-size: 3vw;
  }
  #about .is-style-broken.has-media-on-the-right .wp-block-media-text__content {
    margin-right: -8em !important;
  }
  #about figure.wp-block-media-text__media {
    margin-right: calc(50% - 40vw) !important;
    border-radius: 30px 0 0 30px;
    overflow: hidden;
  }
}
