/*========================================================
フロントページ
=========================================================*/
/* ファーストビュー fv 
===========================*/
/* 背景 */
.ws_fv {
  height: 100vh;
}

.ws_fv_wrapper {
  position: relative;
  background-image: url(../images/bg-fv.webp);
  background-position: center;
  background-size: cover;
  width: 100%;
  height: 100%;
}

/* スライド */
.ws_fv_slide {
  margin-top: 0;
  overflow: hidden;
}

.ws_fv_slide img {
  max-width: 1400px;
  position: absolute;
  height: 70vh;
  bottom: max(120px, 5vw);
  left: 0;
  opacity: 0;
  animation: fadeSlide 12s infinite;
  object-fit: cover;
}

.ws_fv_slide img:nth-child(1) {
  animation-delay: 0s;
}
.ws_fv_slide img:nth-child(2) {
  animation-delay: 3s;
}
.ws_fv_slide img:nth-child(3) {
  animation-delay: 6s;
}
.ws_fv_slide img:nth-child(4) {
  animation-delay: 9s;
}

/* フェードイン・アウトのアニメーション */
@keyframes fadeSlide {
  0% {
    opacity: 0;
  }
  5% {
    opacity: 0.8;
  }
  10% {
    opacity: 1;
  }
  28% {
    opacity: 1;
  }
  32% {
    opacity: 0.8;
  }
  40% {
    opacity: 0;
  }
  100% {
    opacity: 0;
  }
}

.ws_fv_right {
  width: 40vw;
}

/* fv上部ボタン */
.ws_fv_btn_container {
  position: absolute;
  width: 19vw;
  min-width: 260px;
  top: clamp(170px, 20vh, 287px);
  right: 3.8vw;
}

.ws_fv_btn_container figure {
  width: clamp(160px, 12vw, 240px);
}

.ws_fv_btn_container figure a {
  transition: all 0.3s;
}

.ws_fv_btn_container figure a:hover {
  transform: translateX(1em);
  opacity: 0.8;
}

.ws_fv_btn_container figure:nth-of-type(1) {
  margin-left: auto;
}

.ws_fv_btn_container figure:nth-of-type(2) {
  margin: 0 auto;
}

/* タイプライター風テキスト */
.ws_fv_text {
  white-space: pre;
  position: absolute;
  top: 50vh;
  left: 53vw;
  font-size: clamp(2rem, 1.141rem + 1.76vw, 3.25rem);
}

@media screen and (max-width: 1000px) and (min-width: 782px) {
  .ws_fv_text {
    left: 40vw;
  }
}

.ws_fv_line {
  display: block;
  position: relative;
  min-height: 1.5em;
}

/* テキストのカーソル */
.ws_fv_cursor {
  display: inline-block;
  width: 2px;
  height: 1em;
  margin-left: 2px;
  background: currentColor;
  vertical-align: -0.1em;
  animation: blink 1.2s steps(2, start) infinite; /* 点滅調整 */
}

@keyframes blink {
  to {
    opacity: 0;
  }
}

.ws_fv_char {
  display: inline-block;
  transform-origin: left bottom;
}

/* フィールドイベントボタン */
.ws_fv_btn_field {
  position: absolute;
  top: 75vh;
  left: 53vw;
  cursor: pointer;
  transition: scale 0.3s;
  width: 15vw;
  min-width: 200px;
}

.ws_fv_btn_field:hover {
  scale: 1.1;
}

/* スクロール 
===========================*/
.ws_scroll_container {
  position: absolute;
  display: inline-block;
  text-align: center;
  left: 50%;
  transform: translateX(-50%);
  bottom: 70px;
}

.ws_scroll {
  position: absolute;
  right: 50%;
}

/* 線のアニメーション部分 */
.ws_scroll::before {
  animation: scroll 2s infinite;
  background-color: #707070;
  content: "";
  height: 60px;
  left: -2px;
  margin: auto;
  position: absolute;
  right: 0;
  width: 4px;
  z-index: 1;
}

.ws_scroll::after {
  background-color: #cbcbcb;
  content: "";
  height: 60px;
  left: -2px;
  margin: auto;
  position: absolute;
  right: 0;
  width: 4px;
}

/* スクロールアニメーション */
@keyframes scroll {
  0% {
    transform: scale(1, 0);
    transform-origin: 0 0;
  }
  50% {
    transform: scale(1, 1);
    transform-origin: 0 0;
  }
  51% {
    transform: scale(1, 1);
    transform-origin: 0 100%;
  }
  100% {
    transform: scale(1, 0);
    transform-origin: 0 100%;
  }
}

/* 私たちについて */
.ws_top_about {
  background-position: center;
  position: relative;
}

.ws_top_about::before,
.ws_top_about::after {
  content: "";
  position: absolute;
  width: 35%;
  height: 100%;
  background: var(--wp--preset--color--main);
}

.ws_top_about::before {
  top: 0;
  right: 0;
  clip-path: polygon(100% 0, 100% 100%, 0 100%);
}

.ws_top_about::after {
  top: 0;
  left: 0;
  clip-path: polygon(0 0, 100% 0, 0 100%);
}

.ws_top_about_inner {
  position: relative;
  z-index: 1;
}

.ws_top_about_text {
  width: 48vw;
}

.ws_top_about_wrapper {
  display: flex;
  justify-content: space-between;
  align-items: end;
}

/* テキストスクロール */
.ws_top_text_scroll_wrapper {
  width: 100%;
  display: flex;
  overflow: hidden;
  gap: 1em;
}

.ws_top_text_scroll {
  flex-shrink: 0;
  width: auto;
  height: auto;
  display: inline-block;
  text-wrap: nowrap;
  white-space: nowrap;
  font-size: clamp(3.75rem, 2.635rem + 4.58vw, 8.125rem);
  font-weight: 700;
  color: #cfcfcf;
}

.ws_top_text_scroll:first-of-type {
  animation: anim--first 8s infinite linear 0.4s both;
}

.ws_top_text_scroll:nth-of-type(2) {
  animation: anim--second 8s infinite linear 0.4s both;
}

/* トップページの実績 */
.ws_top_achievements .ws_page_section_title_wrapper {
  left: 50%;
  transform: translateX(-50%);
}

.ws_top_achievements_container {
  width: 73.5vw;
  margin: 0 auto;
}

.ws_top_achievements_wrapper {
  gap: 6.25vw;
}
.ws_top_achievements_item {
  width: calc(61% / 3);
  height: 310px;
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow: 0.8em 0.8em 0 var(--wp--preset--color--accent);
}

.ws_top_achievements_item_container {
  width: 16vw;
}

.ws_top_achievements_text_wrapper {
  display: flex;
  flex-direction: column;
}

.ws_top_achievements_item_text {
  font-size: var(--wp--preset--font-size--fsz-24);
  font-weight: 700;
}

.ws_top_achievements_item_text:last-of-type {
  text-align: right;
}

.ws_top_achievements_item_num {
  font-size: clamp(1.75rem, 0.603rem + 4.71vw, 6.25rem);
  font-style: italic;
  font-weight: 700;
  margin-top: var(--wp--preset--spacing--space-16);
  margin-bottom: var(--wp--preset--spacing--space-16);
  text-align: center;
  line-height: 1;
}

@keyframes anim--first {
  0% {
    transform: translateX(0%);
  }

  100% {
    transform: translateX(-100%);
  }
}

@keyframes anim--second {
  0% {
    transform: translateX(0%);
  }

  100% {
    transform: translateX(-100%);
  }
}

/* ロゴスライダー */
.ws_logo_slider {
  overflow: hidden;
  width: 100%;
  margin: 0 auto;
}

.ws_logo_slider_track {
  display: flex;
  align-items: center;
  gap: var(--wp--preset--spacing--space-40);
  width: max-content;
  animation: slide-left 20s linear infinite;
  overflow: hidden;
}

.ws_logo_slide {
  flex: 0 0 auto;
  box-sizing: border-box;
  overflow-x: hidden;
  display: flex;
  align-items: center;
  justify-content: center;
  margin-top: 0 !important;
}

.ws_logo_slide img {
  display: block;
  width: 480px;
  max-width: 300px;
  height: 148px;
  object-position: center;
  object-fit: contain;
}

/* アニメーション */
@keyframes slide-left {
  0% {
    transform: translateX(0);
  }
  100% {
    transform: translateX(-50%);
  }
}

/* トップページ 選ばれる理由 */
.ws_top_reason .ws_page_section_title_wrapper {
  left: 50%;
  transform: translateX(-50%);
}

.ws_top_reason_item {
  display: flex;
  justify-content: space-between;
  min-height: 118px;
  align-items: stretch;
  margin-bottom: var(--wp--preset--spacing--space-32);
}

.ws_top_reason_item_arrow {
  display: flex;
  align-items: center;
  justify-content: center;
}

.ws_top_reason_item_arrow img {
  width: 20px;
  height: 40px;
  object-position: center;
}

.ws_top_reason_item_left,
.ws_top_reason_item_right {
  padding: 1.5em;
  display: flex;
  align-items: center;
}

.ws_top_reason_item_left {
  border: solid 2px var(--wp--preset--color--main);
  width: 31.25vw;
  border-radius: 24px;
}

.ws_top_reason_item_right {
  padding: 1.5em;
  width: 41.2vw;
  border: solid 4px var(--wp--preset--color--accent);
}

/* トップページ 事業内容 */
.ws_top_business .ws_page_section_title_wrapper {
  left: 50%;
  transform: translateX(-50%);
}

.ws_top_business_wrapper {
  gap: 1.8vw;
  align-items: stretch;
}

.ws_top_business_item {
  width: calc(88.2vw / 3);
}

.ws_top_business_item_container {
  width: 21.7vw;
  margin: var(--wp--preset--spacing--space-24) auto;
  padding-bottom: var(--wp--preset--spacing--space-40);
}

.ws_top_business_item figure img {
  width: 100%;
  max-height: 290px;
  object-fit: cover;
  object-position: center;
}

/* トップページ 事業内容 */
.ws_top_service_item_wrapper-top {
  display: flex;
  justify-content: center;
  gap: var(--wp--preset--spacing--space-40);
}

.ws_top_service_item_lg {
  width: 20.8vw;
  min-width: 280px;
  display: inline-block;
  border-radius: 8px;
  background-color: var(--wp--preset--color--white);
  padding: var(--wp--preset--spacing--space-32);
}

.ws_top_service_item_lg figure,
.ws_top_service_item figure {
  overflow: hidden;
  text-align: center;
}

.ws_top_service_item_lg img,
.ws_top_service_item figure img {
  width: 100%;
  height: 200px;
  object-fit: contain;
  object-position: center;
  transition: all 0.3s;
}

.ws_top_service_item_lg a:hover img,
.ws_top_service_item a:hover img {
  scale: calc(1.2);
  filter: brightness(0.8);
}

.ws_top_service_item_wrapper-bottom {
  justify-content: center;
}

.ws_top_service_item {
  width: calc(76% / 4);
  display: inline-block;
  background-color: var(--wp--preset--color--white);
  padding: var(--wp--preset--spacing--space-24)
    var(--wp--preset--spacing--space-16);
  border-right: solid 2px var(--wp--preset--color--blue-light);
}

.ws_top_service_item_title a {
  transition: color 0.3s;
  position: relative;
}

.ws_top_service_item_title a:after {
  position: absolute;
  left: 0;
  content: "";
  width: 100%;
  height: 2px;
  background: var(--wp--preset--color--accent);
  bottom: -0.2em;
  transform: scale(0, 1);
  transform-origin: right top;
  transition: transform 0.3s;
}

.ws_top_service_item_title a:hover::after {
  transform: scale(1, 1);
  transform-origin: left top;
}

.ws_top_service_item_title a:hover {
  color: var(--wp--preset--color--accent);
}

/* トップページ お知らせ */
.ws_top_news {
  position: relative;
}

.ws_top_news::after {
  content: "";
  position: absolute;
  width: 55%;
  height: 100%;
  background: var(--wp--preset--color--main);
  top: 0;
  right: 0;
  clip-path: polygon(100% 0, 100% 100%, 0 100%);
  z-index: -1;
}

.ws_top_news .ws_page_section_title_wrapper {
  left: 50%;
  transform: translateX(-50%);
}

/* トップページ 企業情報 */
.ws_top_company {
  background-position: center;
}

.ws_top_company_wrapper {
  display: flex;
  justify-content: space-between;
  align-items: flex-end;
}

.ws_top_company_text {
  width: 46.9vw;
}

/* トップページ 採用情報 */
.ws_top_recruit {
  position: relative;
}

.ws_top_recruit::after {
  position: absolute;
  content: "";
  top: 0;
  left: 0;
  clip-path: polygon(0 0, 100% 0, 0 100%);
  z-index: -1;
  background-color: var(--wp--preset--color--blue-light);
  width: 45vw;
  height: 100%;
}

.ws_top_recruit .ws_page_section_title_wrapper {
  left: 50%;
  transform: translateX(-50%);
}

.ws_top_recruit_wrapper {
  display: flex;
  align-items: center;
  justify-content: center;
  margin-left: 4vw;
}

.ws_top_recruit_text {
  width: 41.7vw;
  flex-shrink: 0;
  padding: var(--wp--preset--spacing--space-120) 6vw
    var(--wp--preset--spacing--space-120) 2vw;
}

.ws_top_recruit_img {
  width: 41.7vw;
  flex-shrink: 0;
  position: relative;
  left: -4vw;
  z-index: 1;
}

/*===========================================
事業内容  page-business 
===========================================*/
.ws_business_top {
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.ws_business_top_text {
  width: 42vw;
}

.ws_business_top_img {
  width: 36vw;
}

.ws_business_item {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: var(--wp--preset--spacing--space-64);
}

.ws_business_item_left {
  width: 54vw;
}

.ws_business_item_title_wrapper {
  display: flex;
  align-items: center;
  gap: var(--wp--preset--spacing--space-24);
}

.ws_business_item_title {
  text-decoration: underline;
  text-decoration-thickness: 4px;
  text-underline-offset: 6px;
  text-decoration-color: var(--wp--preset--color--main);
  font-size: var(--wp--preset--font-size--fsz-24);
  font-weight: 700;
}

.ws_business_item_title span {
  color: var(--wp--preset--color--accent);
}

.ws_business_item_title_num {
  font-size: clamp(1.5rem, 0.926rem + 2.35vw, 3.75rem);
  color: var(--wp--preset--color--main);
  font-weight: 700;
}

.ws_business_item_img {
  width: 19vw;
}

.ws_business_point_wrapper {
  grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
  row-gap: var(--wp--preset--spacing--space-32);
}

.ws_business_point_item {
  padding: var(--wp--preset--spacing--space-24);
  position: relative;
}

.ws_business_point_item::after {
  content: "";
  position: absolute;
  width: 4px;
  height: 80%;
  top: 50%;
  transform: translateY(-50%);
  right: 0;
  background-color: var(--wp--preset--color--blue-light);
}

.ws_business_point_item:last-of-type::after {
  display: none;
}

.ws_business_point_num {
  background-color: var(--wp--preset--color--accent);
  color: var(--wp--preset--color--white);
  font-size: var(--wp--preset--font-size--fsz-24);
  font-weight: 700;
  padding: 0.5em 1.2em;
  clip-path: polygon(25% 0%, 100% 0%, 75% 100%, 0% 100%);
  line-height: 1;
  white-space: nowrap;
  display: inline-block;
}

.ws_business_point_img {
  width: clamp(40px, 4vw, 100px);
  text-align: right;
  margin-left: auto;
}

.ws_business_point_title {
  font-size: var(--wp--preset--font-size--fsz-24);
  font-weight: 700;
}

.ws_business_flow_item_wrapper {
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  row-gap: 2em;
  column-gap: var(--wp--preset--spacing--space-24);
}

.ws_business_flow_item {
  position: relative;
  padding: var(--wp--preset--spacing--space-32)
    var(--wp--preset--spacing--space-24) var(--wp--preset--spacing--space-24);
  border: 2px solid var(--wp--preset--color--main);
  border-radius: 32px;
}

.ws_business_flow_item_num {
  position: absolute;
  width: 2.6em;
  height: 2.6em;
  display: flex;
  align-items: center;
  justify-content: center;
  border-radius: 50%;
  border: solid 2px var(--wp--preset--color--main);
  background-color: var(--wp--preset--color--blue-light);
  top: -1.3em;
  left: 0;
  font-size: var(--wp--preset--font-size--fsz-24);
  font-weight: 700;
  line-height: 1;
  color: var(--wp--preset--color--main);
}

.ws_business_flow_title {
  font-size: var(--wp--preset--font-size--fsz-24);
  font-weight: 700;
  text-align: center;
}

.ws_business_flow_item_img {
  width: clamp(60px, 7.3vw, 180px);
  text-align: center;
}

.ws_business_insurance {
  text-align: center;
}

.ws_business_insurance a {
  transition: opacity 0.3s;
}

.ws_business_insurance a:hover {
  opacity: 0.7;
}

/*===========================================
 SESの参画実績 page-ses 
===========================================*/
.ws_ses_item {
  border: 2px solid var(--wp--preset--color--blue-light);
}

.ws_ses_item_row {
  display: flex;
  align-items: stretch;
}

.ws_ses_item_heading {
  background-color: var(--wp--preset--color--blue-light);
  color: var(--wp--preset--color--main);
  font-size: var(--wp--preset--font-size--fsz-24);
  font-weight: 700;
  text-align: center;
  border-bottom: 2px solid var(--wp--preset--color--white);
  width: 16vw;
  display: flex;
  align-items: center;
  justify-content: center;
}

.ws_ses_item_text {
  width: 84vw;
  padding: 0.5em 1em;
  border-bottom: 2px solid var(--wp--preset--color--blue-light);
}

.ws_ses_item_heading-last,
.ws_ses_item_text-last {
  border: none;
}

/*===========================================
 選ばれる理由 page-reason 
===========================================*/
.ws_reason_title-sub span {
  color: var(--wp--preset--color--accent);
}

.ws_reason_item {
  display: flex;
  align-items: center;
  justify-content: space-between;
  position: relative;
}

.ws_reason_item_num-right,
.ws_reason_item_num-left {
  position: absolute;
  font-weight: 700;
  font-size: clamp(7.5rem, 5.588rem + 7.84vw, 15rem);
  color: #dde4f7;
  top: 50%;
  transform: translateY(-50%);
  z-index: -1;
  line-height: 1;
}

.ws_reason_item_num-right {
  right: 0;
}

.ws_reason_item_num-left {
  left: 0;
}

.ws_reason_item_content {
  width: 40vw;
}

.ws_reason_item_img {
  width: 31.25vw;
}

.ws_reason_item_title {
  font-weight: 700;
  font-size: var(--wp--preset--font-size--fsz-32);
}

.ws_reason_item_title span {
  color: var(--wp--preset--color--accent);
}

/*===========================================
 お客様の声 page-voice 
===========================================*/
.ws_reason_voice {
  position: relative;
  z-index: -2;
}

.ws_reason_voice::after {
  content: "";
  position: absolute;
  background-color: var(--wp--preset--color--main);
  top: 0;
  right: 0;
  clip-path: polygon(100% 0, 100% 100%, 0 100%);
  height: 100%;
  width: 73vw;
  z-index: -1;
}

.ws_reason_voice_container,
.ws_reason_voice_container-reverse {
  display: flex;
  align-items: center;
  justify-content: space-between;
  width: 65.6vw;
  position: relative;
  margin-bottom: 3vw;
  padding: var(--wp--preset--spacing--space-40);
  background-color: var(--wp--preset--color--white);
  border-radius: 32px;
}

.ws_reason_voice_container-reverse {
  margin-left: auto;
}

.ws_reason_voice_container::after,
.ws_reason_voice_container-reverse::after {
  content: "";
  position: absolute;
  background-color: var(--wp--preset--color--white);
  width: 4vw;
  height: 2vw;
  clip-path: polygon(100% 0, 0 0, 50% 100%);
  bottom: -2vw;
}

.ws_reason_voice_container::after {
  left: 8vw;
}

.ws_reason_voice_container-reverse::after {
  right: 8vw;
}

.ws_reason_voice_img {
  width: 13.5vw;
}

.ws_reason_voice_text {
  width: 43.8vw;
}

.ws_reason_voice_detail {
  box-shadow: 24px 24px 0 var(--wp--preset--color--accent);
}

.ws_reason_voice_detail span {
  color: var(--wp--preset--color--accent);
}

/*===========================================
 品質マネジメントガイド page-qmg 
===========================================*/
.ws_qmg_title-sub span {
  color: var(--wp--preset--color--accent);
}

.ws_qmg_item {
  display: flex;
  align-items: center;
  justify-content: space-between;
  position: relative;
  background-color: rgb(221, 228, 247, 0.6);
  padding: var(--wp--preset--spacing--space-48)
    var(--wp--preset--spacing--space-40) var(--wp--preset--spacing--space-40);
  border-radius: 32px;
  margin-bottom: var(--wp--preset--spacing--space-80);
}

.ws_qmg_item_num {
  position: absolute;
  background-color: var(--wp--preset--color--accent);
  color: var(--wp--preset--color--white);
  font-size: var(--wp--preset--font-size--fsz-32);
  position: absolute;
  top: -1em;
  left: 2vw;
  font-weight: 700;
  padding: 0.5em 1.2em;
  clip-path: polygon(25% 0%, 100% 0%, 75% 100%, 0% 100%);
  line-height: 1;
}

.ws_qmg_item_text {
  width: 43vw;
}

.ws_amg_item_img {
  width: 21vw;
}

.ws_qmg_item_text-heading {
  font-size: var(--wp--preset--font-size--fsz-24);
  color: var(--wp--preset--color--main);
  font-weight: 700;
  margin-bottom: var(--wp--preset--spacing--space-24);
}

.ws_qmg_icon {
  width: clamp(60px, 6vw, 120px);
  margin-left: auto;
}

/*===========================================
 製品・サービス page-service 
===========================================*/
.ws_service_inner,
.ws_service_handling {
  position: relative;
}

.ws_service_inner::before {
  position: absolute;
  content: "";
  height: 50%;
  width: 100%;
  background-color: var(--wp--preset--color--blue-light);
  top: 0;
  left: 0;
  clip-path: polygon(0 0, 100% 0, 0 100%);
  z-index: -1;
}

.ws_service_handling::before {
  position: absolute;
  content: "";
  height: 100%;
  width: 100%;
  background-color: var(--wp--preset--color--blue-light);
  top: 0;
  right: -10.4vw;
  clip-path: polygon(100% 0, 100% 100%, 0 100%);
  z-index: -1;
}

.ws_service_in-house_item,
.ws_service_item {
  box-shadow: 3px 3px 6px var(--wp--preset--color--main);
}

.ws_service_in-house_item_top,
.ws_service_item_container {
  display: flex;
  justify-content: space-between;
  align-items: center;
}

.ws_service_in-house_item_img,
.ws_service_item_img {
  width: 19.8vw;
}

.ws_service_in-house_item_img img,
.ws_service_item_img img {
  object-fit: cover;
  object-position: center;
}

.ws_service_in-house_item_title {
  width: 52.1vw;
}

.ws_service_item_container {
  gap: var(--wp--preset--spacing--space-32);
}

.ws_service_item_title {
  width: 26vw;
}

.ws_service_item_left {
  display: flex;
  align-items: center;
  gap: var(--wp--preset--spacing--space-32);
}

/*===========================================
 JUST.DBの実績  
===========================================*/
.ws_db_item_wrapper {
  gap: 6.25vw;
  justify-content: space-between;
}
.ws_db_item {
  width: 25vw;
  display: flex;
  align-items: center;
  justify-content: center;
  background-color: rgb(221, 228, 247, 0.6);
  position: relative;
  border-radius: 32px;
  padding: var(--wp--preset--spacing--space-40) 0;
}

.ws_db_item_title {
  position: absolute;
  top: -25%;
  transform: translateY(25%);
  left: 2vw;
  font-style: var(--wp--preset--font-size--fsz-24);
  font-weight: 700;
  color: var(--wp--preset--color--white);
  padding: 0.6em 1.8em;
  background-color: var(--wp--preset--color--accent);
  clip-path: polygon(25% 0%, 100% 0%, 75% 100%, 0% 100%);
}

.ws_db_item_container {
  display: flex;
  gap: var(--wp--preset--spacing--space-16);
  align-items: end;
}

.ws_db_item_num {
  font-size: clamp(2rem, 1.235rem + 3.14vw, 5rem);
  font-weight: 700;
  color: var(--wp--preset--color--main);
}

.ws_db_grid p {
  padding: 0.5em 0;
}

.ws_db_item_title-single {
  display: inline-block;
  font-style: var(--wp--preset--font-size--fsz-24);
  font-weight: 700;
  color: var(--wp--preset--color--white);
  padding: 0.6em 1.8em;
  background-color: var(--wp--preset--color--accent);
  clip-path: polygon(25% 0%, 100% 0%, 75% 100%, 0% 100%);
}

.ws_db_point_title {
  display: flex;
  gap: var(--wp--preset--spacing--space-16);
}

.ws_db_title_sub {
  text-decoration: underline;
  text-decoration-thickness: 4px;
  text-underline-offset: 6px;
  text-decoration-color: var(--wp--preset--color--accent);
}

.ws_db_logo_wrapper {
  display: grid;
  grid-template-columns: repeat(6, 1fr);
  grid-template-rows: repeat(2, 120px);
}

.ws_db_logo_wrapper figure {
  margin-top: 0;
  display: flex;
  align-items: center;
  justify-content: center;
}

.ws_db_logo_wrapper figure img {
  object-fit: contain;
  max-width: 90%;
  max-height: 100%;
}

.ws_db_logo_wrapper figure:first-of-type {
  grid-column-start: 1;
  grid-column-end: 3;
  grid-row-start: 1;
  grid-row-end: 2;
}

.ws_db_logo_wrapper figure:nth-of-type(2) {
  grid-column-start: 3;
  grid-column-end: 5;
  grid-row-start: 1;
  grid-row-end: 2;
}

.ws_db_logo_wrapper figure:nth-of-type(3) {
  grid-column-start: 5;
  grid-column-end: 7;
  grid-row-start: 1;
  grid-row-end: 2;
}

.ws_db_logo_wrapper figure:nth-of-type(4) {
  grid-column-start: 2;
  grid-column-end: 4;
  grid-row-start: 2;
  grid-row-end: 3;
}

.ws_db_logo_wrapper figure:nth-of-type(5) {
  grid-column-start: 4;
  grid-column-end: 6;
  grid-row-start: 2;
  grid-row-end: 3;
}

.ws_db_logo_lg img {
  width: 70%;
}

/* 構築先企業 */
.ws_db_case_heading_wrapper {
  display: flex;
  justify-content: space-between;
  align-items: center;
}

.ws_db_case_title_wrapper {
  width: 41.7vw;
  display: flex;
  align-items: center;
  gap: var(--wp--preset--spacing--space-24);
}

.ws_db_case_title_num {
  font-size: clamp(1.5rem, 0.926rem + 2.35vw, 3.75rem);
  color: var(--wp--preset--color--accent);
  font-weight: 700;
}

.ws_db_case_img_container {
  width: 30.2vw;
}

.ws_db_case_img_text {
  margin-left: 8vw !important;
}

.ws_db_case_item_container {
  position: relative;
}

.ws_db_case_item_text-blue,
.ws_db_case_item_text-red {
  padding: var(--wp--preset--spacing--space-48)
    var(--wp--preset--spacing--space-40);
  border-radius: 24px;
}

.ws_db_case_item_text-blue {
  border: solid 2px var(--wp--preset--color--main);
}

.ws_db_case_item_text-red {
  border: solid 4px var(--wp--preset--color--accent);
}

.ws_db_case_item_tag-blue,
.ws_db_case_item_tag-red {
  position: absolute;
  top: -1.5em;
  left: 2vw;
  display: inline-block;
  color: var(--wp--preset--color--white);
  font-size: var(--wp--preset--font-size--fsz-24);
  font-weight: 700;
  padding: 0.6em;
}

.ws_db_case_item_tag-blue {
  background-color: var(--wp--preset--color--main);
}

.ws_db_case_item_tag-red {
  background-color: var(--wp--preset--color--accent);
}

.ws_db_case_arrow {
  transform: rotate(90deg);
  width: 1.6vw;
  min-width: 1em;
}

/*===========================================
 WebPerformerの導入実績 page-wp 
===========================================*/
.ws_wp_top_text span {
  font-weight: 700;
  font-size: var(--wp--preset--font-size--fsz-24);
  color: var(--wp--preset--color--accent);
}

.ws_wp_item_title-accent {
  font-style: var(--wp--preset--font-size--fsz-24);
  font-weight: 700;
  color: var(--wp--preset--color--white);
  padding: 0.6em 2em;
  background-color: var(--wp--preset--color--accent);
  clip-path: polygon(25% 0%, 100% 0%, 75% 100%, 0% 100%);
  display: inline-block;
  margin-bottom: var(--wp--preset--font-size--fsz-24);
}

.ws_wp_item_wrapper {
  display: flex;
  gap: 2vw;
  align-items: stretch;
  margin-bottom: var(--wp--preset--spacing--space-56);
}

.ws_wp_item {
  width: 25vw;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: var(--wp--preset--spacing--space-24);
  border: solid 2px var(--wp--preset--color--main);
  border-radius: 24px;
  padding: var(--wp--preset--font-size--fsz-24);
}

.ws_wp_item_title {
  font-size: var(--wp--preset--font-size--fsz-24);
  font-weight: 700;
  text-align: center;
}

.ws_wp_item_img {
  width: clamp(60px, 5vw, 140px);
}

.ws_wp_item_text span {
  font-weight: 700;
  color: var(--wp--preset--color--accent);
}

.ws_wp_middle_text {
  box-shadow: 24px 24px 0 var(--wp--preset--color--accent);
}

.ws_wp_cta_middle_text {
  position: inherit;
  z-index: 1;
}

.ws_wp_case_item_img {
  width: 35vw;
  width: 600px;
}

/*===========================================
 私たちについて page-about 
===========================================*/
.ws_about a {
  transition: opacity 0.3s;
}

.ws_about a:hover {
  opacity: 0.7;
}

.ws_about_item_title_wrapper {
  display: flex;
  align-items: flex-end;
  gap: 8px;
  margin-bottom: var(--wp--preset--spacing--space-24);
}

.ws_about_item_title_img {
  width: 2em;
}

.ws_about_item_title {
  font-size: var(--wp--preset--font-size--fsz-24);
  font-weight: 700;
}

.ws_about_vision_wrapper {
  display: flex;
  justify-content: space-between;
  align-items: center;
}

.ws_about_vision_img {
  width: 34.9vw;
  max-width: 800px;
  box-shadow: 3px 3px 8px var(--wp--preset--color--black);
}

.ws_about_vision_text {
  width: 40vw;
}

.ws_about_greeting_wrapper {
  width: 80%;
  margin-left: auto;
  margin-right: auto;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 2em;
}

.ws_about_greeting_img {
  width: 31.2vw;
  text-align: center;
}

.ws_about_greeting_img img {
  max-height: 400px;
  object-fit: contain;
}

.ws_about_greeting_right {
  width: 42vw;
}

.ws_about_font {
  font-family: serif;
}

.ws_csr_inner {
  width: 92%;
  margin: var(--wp--preset--spacing--space-80) auto;
}

.ws_csr_item_wrapper {
  grid-template-columns: repeat(2, 1fr);
  gap: var(--wp--preset--spacing--space-48);
}

.ws_csr_item {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: var(--wp--preset--spacing--space-24);
  padding: var(--wp--preset--spacing--space-32);
  border-radius: 24px;
  border: solid 1px var(--wp--preset--color--blue-light);
  box-shadow: 3px 6px var(--wp--preset--color--blue-light);
}

.ws_csr_item_title {
  font-size: var(--wp--preset--font-size--fsz-24);
  font-weight: 700;
}

.ws_csr_item_img {
  text-align: center;
}

.ws_csr_item_img img,
.ws_csr_item_img_wrapper figure img {
  height: 6.25vw;
  min-height: 80px;
  object-fit: contain;
}

.ws_csr_item_text {
  text-align: left;
}

.ws_scr_area_item {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: var(--wp--preset--spacing--space-40);
  border-radius: 24px;
  border: solid 1px var(--wp--preset--color--blue-light);
  box-shadow: 3px 6px var(--wp--preset--color--blue-light);
  margin-bottom: var(--wp--preset--spacing--space-48);
}

.ws_scr_area_item_img {
  width: 20vw;
  display: flex;
  align-items: center;
  justify-content: center;
}

.ws_csr_area_item_right {
  width: 45vw;
}

.ws_scr_area_item_title {
  font-size: var(--wp--preset--font-size--fsz-24);
  font-weight: 700;
  margin-bottom: var(--wp--preset--spacing--space-24);
}

.ws_scr_area_item_text {
  margin-bottom: var(--wp--preset--font-size--fsz-32);
}

.ws_csr_area_item_link {
  font-size: var(--wp--preset--font-size--fsz-18);
}

.ws_csr_area_item_link a {
  font-weight: 700;
  color: var(--wp--preset--color--main);
}

.ws_about_security_wrapper {
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.ws_about_security_text {
  width: 46vw;
}

.ws_about_security_img {
  width: 25vw;
  max-width: 600px;
}

.ws_about_security_link a {
  font-weight: 700;
  color: var(--wp--preset--color--main);
}

/*===========================================
 企業情報 company
===========================================*/
/* 会社沿革
_____________ */

.company_history_date {
  display: inline-block;
  text-align: center;
  width: 100%;
  height: 3.5em;
  padding: 1em 0;
}

.company_history_p {
  display: inline-block;
  width: 100%;
  height: 3.5em;
  padding: 1em 0;
}

/* 事業所案内
______________ */
.office_information_wrapper {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 40px;
  margin-top: 40px;
}

.company_map {
  width: 100%;
  height: 27vh;
}

.company_map_2 {
  width: 100%;
  height: 24vh;
}

.office_dropshadow {
  background: #fff;
  border-radius: 8px;
  box-shadow: 3px 3px 7px #1a40ab;
}

/* 背景に三角形追加 */
.ws_company_office {
  position: relative;
  z-index: -0;
}

.ws_company_office::after {
  content: "";
  position: absolute;
  background-color: var(--wp--preset--color--main);
  top: 0;
  right: 0;
  clip-path: polygon(100% 0, 100% 100%, 0 100%);
  height: 100%;
  width: 73vw;
  z-index: -1;
}

.ws_company_link a {
  transition: opacity 0.3s;
}

.ws_company_link a:hover {
  opacity: 0.7;
}

/*===========================================
 お知らせ（お知らせ一覧） news 
===========================================*/
.ws_field-event_text_link {
  color: var(--wp--preset--color--accent);
}

/*===========================================
 お知らせ、イベント情報の個別ページの共通項目 
===========================================*/
.ws_blog_inner {
  width: 70%;
  margin: 0 auto var(--wp--preset--spacing--space-100);
}

.ws_blog_title {
  font-size: var(--wp--preset--font-size--fsz-32);
  color: var(--wp--preset--color--accent);
  font-weight: 700;
  margin-top: var(--wp--preset--spacing--space-24);
  margin-bottom: var(--wp--preset--spacing--space-64);
}

.ws_blog_thumbnail {
  width: 35vw;
  margin: 0 auto var(--wp--preset--spacing--space-64);
}

.ws_blog_thumbnail img {
  object-fit: contain !important;
  object-position: center;
}

.ws_blog_num {
  margin-top: var(--wp--preset--spacing--space-48);
  padding-top: var(--wp--preset--spacing--space-48);
}

.ws_blog_num a {
  transition: color 0.3s;
}

.ws_blog_num a:hover {
  color: var(--wp--preset--color--accent);
}

/*===========================================
 ワードシステムフィールドイベント情報 
===========================================*/
.ws_event_title_wrapper,
.ws_ppi_title_wrapper {
  padding: 0 2.8em 0.5em 0.5em;
}

.ws_field_event_inner .gallery {
  display: flex;
  justify-content: space-between;
}

/*===========================================
 方針等 
===========================================*/
.ws_page_mark {
  text-align: right;
}

/* レスポンシブ
 ==============================================*/
@media screen and (max-width: 781.5px) {
  /*ファーストビュー*/
  .ws_fv {
    height: calc(100vh - 60px);
  }

  .ws_fv_wrapper {
    position: relative;
    background-position: center;
    background-size: contain;
    background-repeat: no-repeat;
  }

  /* スライド */
  .ws_fv_slide img {
    top: inherit;
    top: 212px;
    height: 70vw;
    min-height: inherit;
  }

  /* fv上部ボタン */
  .ws_fv_btn_container {
    width: 56vw;
    top: inherit;
    bottom: 235px;
  }

  .ws_fv_btn_container figure {
    width: clamp(160px, 43vw, 240px);
  }

  /* タイプライター風テキスト */
  .ws_fv_text {
    top: 90px;
    left: 4vw;
    font-size: clamp(1.5rem, 1.001rem + 2.05vw, 2rem);
  }

  /* fv下部ボタン */
  .ws_fv_btn_field {
    top: inherit;
    bottom: 120px;
    right: 4vw;
    left: inherit;
    width: clamp(180px, 39vw, 240px);
  }

  /* スクロール  */
  .ws_scroll_container {
    bottom: 60px;
  }

  .ws_scroll::before,
  .ws_scroll::after {
    height: 30px;
  }

  /* トップページ 私たちについて */
  .ws_top_about {
    background-position: center;
    position: relative;
  }

  .ws_top_about::before,
  .ws_top_about::after {
    display: none;
  }

  .ws_top_about_text {
    width: 100%;
  }

  .ws_top_about_wrapper {
    flex-direction: column;
    gap: var(--wp--preset--spacing--space-32);
  }

  /* トップページ 実績 */
  .ws_top_achievements_wrapper {
    justify-content: center;
  }

  .ws_top_achievements_item {
    height: auto;
    padding: 0.5em;
    max-width: 320px;
  }

  .ws_top_achievements_item_container {
    width: 80vw;
    gap: 0.5em;
  }

  /* トップページ ロゴスライダー */
  .ws_logo_slide img {
    height: 80px;
    max-width: 120px;
  }

  /* トップページ 事業内容 */
  .ws_top_reason_item {
    flex-direction: column;
    align-items: center;
    margin-bottom: 2.5em;
  }

  .ws_top_reason_item_left,
  .ws_top_reason_item_right {
    width: 100%;
    padding: 1em;
  }

  .ws_top_reason_item_arrow {
    transform: rotate(90deg);
  }

  /* トップページ サービス */
  .ws_top_business_wrapper {
    gap: 2em;
    justify-content: center;
  }

  .ws_top_business_item {
    max-width: 500px;
  }

  .ws_top_business_item_container {
    width: 80%;
  }

  /* トップページ 製品・サービス */
  .ws_top_service_item_wrapper-top {
    flex-direction: column;
    align-items: center;
  }

  .ws_top_service_item_lg,
  .ws_top_service_item {
    width: 100%;
    max-width: 400px;
    min-width: inherit;
  }

  /* トップページ 企業情報 */
  .ws_top_company_wrapper {
    flex-direction: column;
  }

  .ws_top_company_text {
    width: 100%;
  }

  /* トップページ 採用情報 */
  .ws_top_recruit_wrapper {
    flex-direction: column;
    margin-left: 0;
  }

  .ws_top_recruit_text {
    width: 100%;
    padding: var(--wp--preset--spacing--space-40)
      var(--wp--preset--spacing--space-24);
  }

  .ws_top_recruit_img {
    width: 100%;
    left: inherit;
  }

  /* 事業内容  page-business-sp */
  .ws_business_top {
    flex-direction: column;
    gap: var(--wp--preset--spacing--space-24);
  }

  .ws_business_top_text {
    width: 100%;
  }

  .ws_business_top_img {
    width: 100%;
    max-width: 400px;
  }

  .ws_business_item {
    flex-direction: column;
    gap: var(--wp--preset--spacing--space-24);
  }

  .ws_business_item_left {
    width: 100%;
  }

  .ws_business_item_title_wrapper {
    flex-direction: column;
    align-items: flex-start;
    gap: 0;
  }

  .ws_business_item_img {
    width: 100%;
    max-width: 400px;
  }

  .ws_business_point_item::after {
    display: none;
  }

  /* SESの参画実績 page-ses */
  .ws_ses_item_row {
    flex-direction: column;
  }

  .ws_ses_item_heading {
    padding: 0.5em;
    width: 100%;
    border-bottom: none;
  }

  .ws_ses_item_text {
    width: 100%;
    padding: 0.5em;
    border-bottom: none;
  }

  /* 選ばれる理由 page-reason-sp */
  .ws_reason_item {
    flex-direction: column;
    gap: var(--wp--preset--spacing--space-32);
  }

  .ws_reason_item_reverse {
    flex-direction: column-reverse;
  }

  .ws_reason_item_content {
    width: 100%;
  }

  .ws_reason_item_img {
    width: 100%;
    max-width: 400px;
    text-align: center;
  }

  .ws_reason_item_num-right,
  .ws_reason_item_num-left {
    top: inherit;
    transform: none;
  }

  /* お客様の声 page-voice */
  .ws_reason_voice_container,
  .ws_reason_voice_container-reverse {
    width: 100%;
    flex-direction: column;
    margin-bottom: 7vw;
  }

  .ws_reason_voice_container::after,
  .ws_reason_voice_container-reverse::after {
    width: 8vw;
    max-width: 80px;
    height: 4vw;
    bottom: -4vw;
  }

  .ws_reason_voice_img {
    width: 100%;
    max-width: 320px;
  }

  .ws_reason_voice_text {
    width: 100%;
  }

  .ws_reason_voice_detail {
    box-shadow: 12px 12px 0 var(--wp--preset--color--accent);
  }

  /* 品質マネジメント page-qmn */
  .ws_page_title_qmg {
    max-width: 70%;
  }

  .ws_qmg_item {
    flex-direction: column;
    gap: var(--wp--preset--spacing--space-24);
  }

  .ws_qmg_item_text {
    width: 100%;
  }

  .ws_amg_item_img {
    width: 100%;
    max-width: 400px;
  }

  /* 製品・サービス */
  .ws_service_in-house_item_top,
  .ws_service_item_container {
    flex-direction: column;
  }

  .ws_service_in-house_item_img,
  .ws_service_item_img {
    width: 100%;
    max-width: 400px;
  }

  .ws_service_in-house_item_title,
  .ws_service_item_title {
    width: 100%;
  }

  .ws_service_item_left {
    flex-direction: column;
  }

  /* JUST.DBの導入実績 */
  .ws_db_item_wrapper {
    justify-content: center;
    gap: 3.5em;
  }
  .ws_db_item {
    max-width: 320px;
  }

  .ws_db_point_title {
    display: block;
  }

  .ws_db_item_title,
  .ws_db_item_title-single {
    padding: 0.5em 2em;
  }

  .ws_db_logo_wrapper {
    grid-template-columns: repeat(2, 1fr);
    grid-auto-rows: 80px;
    grid-template-rows: unset;
  }

  .ws_db_logo_wrapper figure:first-of-type,
  .ws_db_logo_wrapper figure:nth-of-type(2),
  .ws_db_logo_wrapper figure:nth-of-type(3),
  .ws_db_logo_wrapper figure:nth-of-type(4),
  .ws_db_logo_wrapper figure:nth-of-type(5) {
    grid-column-start: unset !important;
    grid-column-end: unset !important;
    grid-row-start: unset !important;
    grid-row-end: unset !important;
  }

  .ws_db_cas_title_wrapper {
    display: block;
  }

  .ws_db_case_heading_wrapper {
    flex-direction: column;
    gap: var(--wp--preset--spacing--space-24);
  }

  .ws_db_case_title_wrapper {
    width: 100%;
    flex-direction: column;
    align-items: flex-start;
  }

  .ws_db_case_img_container {
    width: 100%;
    align-items: center;
  }

  .ws_db_case_img {
    text-align: center;
    max-width: 400px;
  }

  /* WebPerformerの導入実績 page-wp */
  .ws_wp_item_wrapper {
    flex-direction: column;
    align-items: center;
    gap: 4vw;
  }

  .ws_wp_item {
    width: 100%;
    max-width: 400px;
  }

  .ws_wp_case_item_img img {
    width: 100%;
    max-width: 600px;
    object-fit: contain;
    object-position: center;
  }

  /* 私たちについて page-about */
  .ws_about_vision_wrapper {
    flex-direction: column;
    gap: 2em;
  }

  .ws_about_vision_img {
    width: 100%;
  }

  .ws_about_vision_text {
    width: 100%;
  }

  .ws_about_greeting_wrapper {
    flex-direction: column;
    width: 100%;
  }

  .ws_about_greeting_img {
    width: 80%;
  }

  .ws_about_greeting_img img {
    max-height: 300px;
  }

  .ws_about_greeting_right {
    width: 100%;
  }

  .ws_csr_item_wrapper {
    grid-template-columns: 1fr;
  }

  .ws_scr_area_item {
    flex-direction: column-reverse;
    gap: 2em;
  }

  .ws_scr_area_item_img {
    width: 100%;
    max-width: 400px;
  }

  .ws_csr_area_item_right {
    width: 100%;
  }

  .ws_about_security_wrapper {
    flex-direction: column;
    gap: 2em;
  }

  .ws_about_security_text {
    width: 100%;
  }

  .ws_about_security_img {
    width: 100%;
    max-height: 320px;
  }

  /* 会社沿革*/
  .company_history_p {
    padding: 0;
  }

  /* 事業所案内*/
  .office_information_wrapper {
    flex-direction: column;
    gap: 20px;
  }

  .company_map,
  .company_map_2 {
    max-width: 320px;
    max-height: 200px;
  }

  .company_tel,.company_address{
    white-space: nowrap;
  }

  .company_address_lg span {
    display: inline-block;
    white-space: nowrap;
  } 

  /* お知らせ、イベント情報の個別ページの共通項目  */
  .ws_blog_inner {
    width: 80%;
  }

  .ws_blog_thumbnail {
    width: 70vw;
    max-height: 480px;
  }

  /* イベント情報 */
  .ws_field_event_inner .gallery {
    flex-direction: column;
    align-items: center;
    gap: 2em;
  }
}
