@charset "UTF-8";
/*----------------------------------------------------------
更新日：2026年07月03日
-------------------------------------------------------------*/
/*==============================
  操作パネル非表示
==============================*/
#wpadminbar {
  display: none !important;
}
/* 管理バー分の余白を消す */
html {
  margin-top: 0 !important;
}
/*==============================
  カラーテーマ
==============================*/ :root {
  --color-bg: rgba(12, 12, 30, 1);
  --color-main: #000;
  --color-accent: #78f8fa;
  --color-border: #f2f2f2;
  --color-bg-yellow: #f2e40c;
  --gradient-main: linear-gradient(145deg, #f10970 0%, #f86aba 50%, #78f8fa 100%);
  --gradient-sub: linear-gradient(60deg, #ff1510 0%, #f15031 40%, #ff7f1b 100%);
}
/*==============================
  基本設定
==============================*/
html {
  width: 100%;
  scroll-behavior: smooth;
}
body {
  overflow-x: hidden;
  display: flex;
  position: relative;
  flex-direction: column;
  min-height: 100vh;
  background: #fff;
  font-family: "Noto Sans JP", "Noto Sans Japanese", "Yu Gothic Medium", "游ゴシック Medium", YuGothic, "游ゴシック体", "Hiragino Kaku Gothic ProN", "ヒラギノ角ゴ ProN W3", sans-serif;
  line-height: 1.8;
  font-size: 18px;
  color: #333;
}
#wrap {
  flex-grow: 1;
  position: relative;
}
.container {
  width: 100%;
  max-width: 980px;
  margin: 0 auto;
}
.baseWidth {
  max-width: 980px;
  margin: 0 auto;
}
section {
  position: relative;
}
h1, h2, h3, h4, h5, h6 {
  line-height: 1.5;
}
.text-center {
  text-align: center;
  position: relative;
}
.fade-in {
  opacity: 0;
  transform: translateY(30px);
  transition: opacity 0.8s ease, transform 0.8s ease;
}
.fade-in.visible {
  opacity: 1;
  transform: translateY(0);
}

/* Tub用 */
@media only screen and (max-width: 960px) {
}
/* PC用 */
@media only screen and (min-width: 769px) {
  .spStyle{
    display: none;
  }
}
/* SP用 */
@media only screen and (max-width: 768px) {
  .pcStyle{
    display: none;
  }
}
/*----------------------------------------------------------
	共通パーツ
-------------------------------------------------------------*/
/*　共通見出し　*/
.sec-header {
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
  position: relative;
  width: 100%;
}
.sec-header .headicon {
  margin: 0;
  padding-bottom: 1.2em;
  width: 100%;
  border-bottom: 1px solid #000000;
}
.sec-header .headicon span {
  font-size: 1.2em;
  font-weight: 600;
  color: var(--color-main);
  letter-spacing: 0.02em;
  display: block;
}
.sec-header .headline1 {
  margin: 1.2em 0 0 0;
  line-height: 1.3;
}
.sec-header .headline1 p {
  margin: 0;
}
.sec-header .headline1 p span.bgC01 {
  font-size: 1.6em;
  font-weight: 700;
  letter-spacing: 0.05em;
  background: var(--gradient-main);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  display: inline-block;
}

/* Tub用 */
@media only screen and (max-width: 960px) {
  .sec-header .headicon span {
    font-size: 1em;
  }
  .sec-header .headline1 p span.bgC01 {
    font-size: 2em;
  }
}
/* SP用 */
@media only screen and (max-width: 768px) {
  .sec-header {
    margin-bottom: 3em;
    padding: 0 1em;
  }
  .sec-header .headicon {
    padding-bottom: 1em;
  }
  .sec-header .headicon span {
    font-size: 1em;
  }
  .sec-header .headline1 {
    margin: 1em 0 0 0;
  }
  .sec-header .headline1 p span.bgC01 {
    font-size: 1.4em;
  }
}
/*　グラデーション見出し　*/
.headline2 {
  text-align: center;
  font-size: 1.6em;
  font-weight: 600;
  letter-spacing: 0.05em;
  background: var(--gradient-main);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
}
/*　マーカーアニメーション　*/
.marker-anime {
  position: relative;
  display: inline-block;
}
.marker-anime::after {
  content: "";
  position: absolute;
  top: -0.5em;
  left: 0; 
  z-index: -1;
  width: 100%; 
  height: 0;  
  background-color: var(--color-accent);
  transition: height 0.6s cubic-bezier(0.25, 1, 0.5, 1);
}
.why-card:nth-child(1) .fade-in.visible .marker-anime::after {
  height: calc(100% + 1em);
  transition-delay: 0.4s; 
}
.why-card:nth-child(2) .fade-in.visible .marker-anime::after {
  height: calc(100% + 1em);
  transition-delay: 0.7s;
}
.why-card:nth-child(3) .fade-in.visible .marker-anime::after {
  height: calc(100% + 1em);
  transition-delay: 1.0s;
}

.marker-anime-h {
  position: relative;
  display: inline;
  background-image: linear-gradient(to top, var(--color-accent) 45%, transparent 45%);
  background-size: 0% 100%;
  background-repeat: no-repeat;
  background-position: left bottom;
  padding: 0.1em 0.5em; 
  box-decoration-break: clone;
  -webkit-box-decoration-break: clone;
  transition: background-size 0.6s cubic-bezier(0.25, 1, 0.5, 1);
}
.fade-in.visible .marker-anime-h {
  background-size: 100% 100%;
  transition-delay: 0.4s;
}
/*------------------------------------------
	#header&#menu
------------------------------------------*/
#header {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 70px;
  z-index: 999;
  background-color: transparent;
  backdrop-filter: blur(0px);
  -webkit-backdrop-filter: blur(0px);
  box-shadow: 0 0px 0px rgba(0, 0, 0, 0);
  transition: background-color 0.3s ease, backdrop-filter 0.3s ease, box-shadow 0.3s ease;
}
#header.scrolled {
  background-color: rgba(255, 255, 255, 0.5) !important;
  backdrop-filter: blur(8px);
  -webkit-backdrop-filter: blur(8px);
  box-shadow: 0 2px 10px rgba(0, 0, 0, 0.05);
}
#header .container {
  max-width: 980px;
  margin: 0 auto;
  position: relative;
  display: flex;
  align-items: center;
  justify-content: center;
}
.header-title {
  position: absolute;
  left: 1em;
  top: 50%;
  transform: translateY(-50%);
  z-index: 1000;
}
.header-title a {
  display: block;
  line-height: 1;
}
.header-title a img {
  height: 25px;
  width: auto;
  vertical-align: middle;
}
.btn-primary {
  background: var(--color-bg-yellow);
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.5em;
  padding: 0.6em 1.8em;
  transition: all 0.3s ease;
  font-weight: bold;
  font-size: 0.9rem;
  height: 70px;
}
.btn-primary:hover {
  opacity: 0.9;
  transform: translateY(-1px);
}
.btn-icon {
  width: 2em;
}
/* PC用 */
@media only screen and (min-width: 769px) {
  #hamburger-button {
    display: none;
  }
  .nav-menu {
    display: flex;
    flex-grow: 1;
    height: auto;
    width: auto;
  }
  .nav-menu-inner {
    display: flex;
    align-items: center;
    justify-content: space-between;
    width: 100%;
  }
  .nav-menu-inner a {
    color: var(--color-main);
    font-size: 0.875em;
    font-weight: 700;
    border-bottom: none;
    white-space: nowrap;
  }
  .nav-menu-inner a:hover {
    color: var(--color-accent);
    opacity: 1;
  }
  .nav-menu .contact-wrapper {
    padding: 0;
  }
}
/* SP用 */
@media only screen and (max-width: 768px) {
  .header-title {
    left: 0.5em;
    transition: all 0.3s ease;
  }
  .header.nav-open {
    background-color: #ffffff !important;
    backdrop-filter: none;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.05);
  }
  .header.nav-open .header-title {
    left: 50%;
    transform: translate(-50%, -50%);
  }
  #hamburger-button {
    display: grid;
    grid-template-rows: 1fr 1fr 1fr;
    align-items: center;
    width: 40px;
    height: 30px;
    border: none;
    background: transparent;
    cursor: pointer;
    position: absolute;
    right: 20px;
    top: 20px;
    transform: none;
    z-index: 10001;
  }
  #hamburger-button .bar {
    grid-column: 1;
    width: 100%;
    height: 2px;
    background-color: var(--color-main);
    border-radius: 2px;
    transition: all 0.4s ease;
    transform-origin: 50% 50%;
  }
  #hamburger-button .bar:nth-child(1) {
    grid-row: 1;
  }
  #hamburger-button .bar:nth-child(2) {
    grid-row: 2;
  }
  #hamburger-button .bar:nth-child(3) {
    grid-row: 3;
  }
  #hamburger-button.active .bar {
    background-color: var(--color-bg);
    grid-row: 2 !important;
  }
  #hamburger-button.active .bar:nth-child(1) {
    transform: rotate(45deg);
  }
  #hamburger-button.active .bar:nth-child(2) {
    opacity: 0;
  }
  #hamburger-button.active .bar:nth-child(3) {
    transform: rotate(-45deg);
  }
  .nav-menu {
    display: none;
    flex-direction: column;
    font-weight: bold;
    background: #fff;
    text-align: center;
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: auto;
    max-height: 80vh; 
    overflow-y: auto;
    box-shadow: 0 10px 20px rgba(0, 0, 0, 0.1);
    z-index: 9999 !important;
  }
  .nav-menu.active {
    display: flex;
  }
  .nav-menu a:hover {
    background: #f8fafc;
  }
  .nav-menu .contact-wrapper {
    padding: 1.5em;
  }
  .btn-icon {
    width: 2em;
    height: 2em;
  }
  .nav-menu .btn-primary {
    display: flex;
    gap: 0.5em;
    font-size: 1em;
  }
.nav-menu-inner {
    display: flex;
    flex-direction: column;
    width: 100%;
  }
  .nav-menu-inner a {
    display: block;
    padding: 1.2em;
    color: #111 !important;
    border-bottom: 1px solid var(--color-border);
  }
}
/*----------------------------------------------------------
	#keyv
-------------------------------------------------------------*/
#keyv {
  position: relative;
  width: 100%;
  height: 80vh;
  display: flex;
  align-items: center;
  justify-content: flex-start;
  overflow: hidden;
  z-index: 1;
}
#keyvimg {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  z-index: 1;
}
#keyvimg img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center;
}
#keyv .mainTxt {
  position: relative;
  z-index: 2;
  width: 100%;
  margin: 0 auto;
  box-sizing: border-box;
  color: var(--color-main);
}
.mainTxt_img {
  margin-bottom: 0.5em;
}
.mainTxt_img img {
  width: 28em;
  height: auto;
}
#keyv .name {
  font-size: 3.6em;
  font-weight: 400;
  line-height: 1.2;
  margin: 0 0 15px 0;
  letter-spacing: 0.2em;
  color: var(--color-main);
  text-shadow: 0 2px 8px rgba(255, 255, 255, 0.6);
}
#keyv .name span {
  font-size: 90%;
  font-weight: 500;
  letter-spacing: 0.1em;
}
#keyv .subCopy {
  font-size: 1.5em;
  line-height: 1.6;
  margin: 0 0 1em 0;
  font-weight: 500;
  letter-spacing: 0.05em;
  text-shadow: 0 2px 8px rgba(255, 255, 255, 0.6);
}
.keyvBtn {
  text-align: left;
}
.keyvBtn a {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 0.3em 3em;
  font-size: 1em;
  font-weight: 500;
  color: #fff;
  border-radius: 50px;
  background: var(--gradient-main);
  box-shadow: 0 4px 15px rgba(230, 0, 126, 0.3);
  transition: transform 0.3s ease, box-shadow 0.3s ease;
}
.keyvBtn a:hover {
  transform: translateY(-2px);
  box-shadow: 0 6px 20px rgba(230, 0, 126, 0.5);
  opacity: 1;
}

/* Tub用 */
@media only screen and (max-width: 960px) {
  #keyv {
    height: 45vw;
  }
  #keyv .name {
    font-size: 4.5vw;
  }
  #keyv .subCopy {
    font-size: 1.8vw;
  }
  .mainTxt_img img {
    width: 35vw;
  }
}

/* SP用 */
@media only screen and (max-width: 768px) {
  #keyv {
    height: auto;
    padding: 8em 0 6em 0;
    align-items: center;
  }
  #keyv .mainTxt {
    padding: 0 5%;
    text-align: center;
  }
  .mainTxt_img {
    text-align: center;
    margin-bottom: 10px;
  }
  .mainTxt_img img {
    width: 60vw;
  }
  #keyv .name {
    font-size: 1.4em;
    font-weight: 500;
    margin-bottom: 0.5em;
  }
  #keyv .subCopy {
    font-size: 0.875em;
    margin-bottom: 1em;
  }
  .keyvBtn {
    text-align: center;
  }
  .keyvBtn a {
    font-size: 0.875em;
    padding: 0.5em 2em;
  }
}
/*------------------------------------------
	.breadcrumbs
------------------------------------------*/
.breadcrumbs, .breadcrumbs a {
  white-space: nowrap;
  color: var(--color-main);
}
.breadcrumbs .current-item {
  color: var(--color-main);
}
.breadcrumbs {
  width: 100%;
  max-width: 980px;
  margin: 0 auto;
  position: relative;
  z-index: 3;
  top:0;
  padding: 1em 0;
  font-size: 0.75em;
  background: none;
}

.breadcrumbs > span + span:before {
  content: "\0bb";
  margin: 0 0.5em;
}
.breadcrumbs a {
  border-bottom: 1px solid;
}
.breadcrumbs a:hover {
  border-bottom: 0;
}
@media only screen and (max-width: 1200px) {
  .breadcrumbs {
    padding-left: 2em;
    padding-right: 2em;
  }
}

/* Tub用 */
@media only screen and (max-width: 960px) {
  .breadcrumbs {
    font-size: 0.6em;
  }
}

/* SP用 */
@media only screen and (max-width: 768px) {
  .breadcrumbs {
    padding-left: 1em;
    padding-right: 1em;
  }
}
/*------------------------------------------
	なぜ、AIによる安全管理？
------------------------------------------*/
#why-ai {
  padding: 5em 0 0;
}
.why-card-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 80px;
  margin-top: 3em;
}
.why-card {
  position: relative;
  border-radius: 20px;
  padding: 0;
  box-sizing: border-box;
  overflow: visible;
}
.why-card::before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: var(--color-accent);
  border-radius: 20px;
  z-index: 1;
  transform: rotate(-4.5deg);
  transform-origin: center center;
  transition: transform 0.3s cubic-bezier(0.25, 1, 0.5, 1);
}
.why-card:hover::before {
  transform: rotate(0deg);
}
.why-card-inner {
  position: relative;
  z-index: 2;
  background:var(--color-border);
  border-radius: 20px;
  padding: 40px 20px 30px 20px;
  height: 100%;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  align-items: center;
  min-height: 460px;
}
.why-card .card-title {
  writing-mode: vertical-rl;
  text-orientation: upright;
  font-size: 1.6em;
  font-weight: 700;
  color: var(--color-main);
  line-height: 1.4;
  margin: 0 auto;
  letter-spacing: 0.1em;
  display: inline-block;
}
.card-illustration {
  width: 100%;
  display: flex;
  justify-content: center;
  align-items: flex-end;
}
.card-illustration img {
  max-width: 90%;
  height: auto;
}
.why-ai-summary {
  position: relative;
  width: 100vw; 
  margin-left: calc(50% - 50vw);
  background: var(--gradient-main);
  clip-path: polygon(0 0, 50% 6em, 100% 0, 100% 100%, 0 100%);
  padding: 8em 0 2em; 
  text-align: center;
}
.why-ai-summary p {
  font-size: 1.6em;
  font-weight: 700;
  color: #ffffff;
  line-height: 1.8;
  letter-spacing: 0.1em;
  margin: 0;
  text-shadow: 0 2px 4px rgba(0, 0, 0, 0.15);
}

/* Tub用 */
@media only screen and (max-width: 960px) {
  .why-card-grid {
    gap: 20px;
  }
  .why-card .card-title {
    font-size: 1.5rem;
  }
}

/* SP用 */
@media only screen and (max-width: 768px) {
  .why-ai-summary {
    margin-top: -2em;
    clip-path: polygon(0 0, 50% 3em, 100% 0, 100% 100%, 50% 100%, 0 100%);
    padding: 6em 0 3em;
  }
  .why-ai-summary p {
    font-size: 1em;
    letter-spacing: 0.05em;
    text-align: center;
  }
  #why-ai {
    padding: 0;
  }
  .why-card-grid {
    grid-template-columns: 1fr;
    gap: 40px;
  }
  .why-card {
    width: 80%;
    margin: 0 auto;
  }
  .why-card::before {
    transform: rotate(4.5deg); /* スマホ時も背景レイヤーだけ回転 */
  }
  .why-card:hover::before {
    transform: rotate(0deg);
  }
  .why-card-inner {
    min-height: auto;
    padding: 40px 20px;
  }
  .why-card .card-title {
    font-size: 1.4em;
    margin-bottom: 30px;
  }
  .card-illustration img {
    max-width: 60%;
    margin-top: 20px;
  }
}
/*------------------------------------------
	ネクストシステムがお手伝いします
------------------------------------------*/
#products {
  position: relative;
  overflow: hidden;
  padding: 6em 0;
  z-index: 1;
}
.video-background-wrap {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  z-index: 1;
  pointer-events: none;
}
.bg-video {
  width: 100%;
  height: 100%;
  object-fit: cover;
}
#products .baseWidth {
  position: relative;
  z-index: 5;
}
.large-board {
  position: relative;
  border-radius: 32px;
  padding: 40px;
  box-sizing: border-box;
  background: rgba(255, 255, 255, 0.12);
  border: 1px solid rgba(255, 255, 255, 0.4);
  box-shadow:
    0 30px 70px rgba(0, 0, 0, 0.05), 0 0 40px 10px rgba(255, 255, 255, 0.25);
  overflow: hidden;
  margin: 3em auto 0;
}
.large-board::after {
  content: '';
  position: absolute;
  inset: 0;
  z-index: -1;
  backdrop-filter: blur(20px) saturate(130%);
  -webkit-backdrop-filter: blur(20px) saturate(130%);
}
.large-board > *, .product-grid-top > *, .product-list-bottom > * {
  position: relative;
  z-index: 10 !important;
  opacity: 1 !important;
}
.product-grid-top {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 30px;
  margin-bottom: 30px;
}
.product-card-lg.inner-box {
  position: relative;
  border-radius: 20px;
  padding: 1em;
  display: flex;
  justify-content: space-between;
  align-items: end;
  background: linear-gradient(135deg, rgba(255, 255, 255, 0.45) 0%, rgba(240, 245, 255, 0.15) 60%, rgba(200, 220, 255, 0.25) 100%) !important;
  border: 1px solid rgba(255, 255, 255, 0.6);
  box-shadow:
    inset 0 0 20px rgba(255, 255, 255, 0.5), 0 2px 4px rgba(0, 0, 0, 0.15);
  overflow: hidden;
}
.product-card-lg.inner-box::after {
  content: '';
  position: absolute;
  inset: 0;
  z-index: -1;
  backdrop-filter: blur(8px);
  -webkit-backdrop-filter: blur(8px);
  border-radius: 24px;
}
.product-list-bottom {
  display: flex;
  flex-direction: column;
  gap: 28px;
}
.product-row-item.inner-box-row {
  position: relative;
  border-radius: 20px;
  padding: 1em 2em;
  display: flex;
  justify-content: space-between;
  align-items: center;
  background: linear-gradient(90deg, rgba(255, 255, 255, 0.55) 0%, rgba(255, 255, 255, 0.2) 40%, rgba(240, 245, 255, 0.1) 70%, rgba(220, 235, 255, 0.25) 100%) !important;
  border: 1px solid rgba(255, 255, 255, 0.5);
  box-shadow:
    inset 0 0 15px rgba(255, 255, 255, 0.4), 0 2px 4px rgba(0, 0, 0, 0.15);
  overflow: hidden;
}
.product-row-item.inner-box-row::after {
  content: '';
  position: absolute;
  inset: 0;
  z-index: -1;
  border-radius: 20px;
  backdrop-filter: blur(5px);
  -webkit-backdrop-filter: blur(5px);
}
.product-catch {
  font-size: 1em;
  font-weight: 600;
  color: var(--color-main);
  margin-bottom: 1em;
}
.product-logo-title {
  width: 90%;
  margin-bottom: 1em;
}
.product-thumbnails {
  display: flex;
  gap: 15px;
}
.product-thumbnails img {
  width: 5em;
  height: 5em;
  object-fit: cover;
}
.arrow-btn-circle {
  width: 3em;
  height: 3em;
  border: 1px solid rgba(0, 0, 0, 0.2);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  color: #f10970;
  font-size: 1em;
  transition: all 0.3s ease;
  flex-shrink: 0;
}
.arrow-btn-circle:hover {
  background-color: var(--color-bg-yellow);
  color: var(--color-main);
  border-color: var(--color-main);
}
.row-left-content {
  display: flex;
  align-items: center;
  gap: 20px;
}
.row-icon {
  width: 4em;
  display: flex;
  align-items: center;
  justify-content: center;
}
.row-icon img {
  max-width: 100%;
  height: auto;
}
.row-catch {
  font-size: 1em;
  font-weight: 600;
  color: var(--color-main);
}
.row-title {
  font-size: 1.6em;
  font-weight: 700;
  color: var(--color-main);
  margin: 0;
}
/* SP用 */
@media only screen and (max-width: 768px) {
  #products {
  padding: 4em 0 0;
}
  .large-board {
    margin: 3em 1em;
    padding: 1em;
    border-radius: 5px;
}
  .product-grid-top {
    grid-template-columns: 1fr;
    gap: 20px;
    margin-bottom:20px;
  }
  .product-logo-title {
    width: 70%;
  }
  .product-card-lg.inner-box {
  border-radius: 10px;
}
  .product-card-lg.inner-box::after {
  border-radius: 10px;
}
  .product-catch {
  font-size: 0.875em;
}
  .row-icon {
  width: 3em;
}
  .row-catch{
    font-size: 0.875em;
  }
  .row-title {
    font-size: 1em;
  }
  .product-list-bottom {
    gap:20px;
  }
  .product-row-item {
    border-radius: 10px;
    flex-direction: row;
    align-items: flex-start;
  }
  .row-left-content {
    flex-direction: row;
    align-items: center;
    gap: 1em;
  }
  .product-row-item.inner-box-row {
    padding: 1em;
    border-radius: 10px;
  }
   .product-row-item.inner-box-row::after {
    border-radius: 10px;
  }
  .product-row-item .arrow-btn-circle {
    align-self: flex-end;
  }

  .arrow-btn-circle {
  width: 2em;
  height: 2em;
  position: absolute;
  bottom: 1em;
   right: 1em;
}
}
/*------------------------------------------
	どうしてネクストシステムが選ばれるのか？
------------------------------------------*/
#feature {
  padding: 5em 0 0;
}
.rationale {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 40px;
  margin-top: 5em;
  align-items: flex-start;
}
.boxRati {
  position: relative;
  width: 90%; 
  margin-bottom: 50px;
  margin-left: auto;
  margin-right: auto;
}

.boxRati::before {
  content: none !important;
}
.boxRati:nth-child(2) { margin-top: 90px; }
.boxRati:nth-child(4) { margin-top: 90px; }
.boxRati:nth-child(3) { margin-top: -40px; }
.boxRati dl dt {
  position: absolute;
  top: -15px; 
  left: -5.5%;
  background-color: #C0BEBE;
  color: #000000;
  font-size: 1em;
  font-weight: 700;
  font-family: 'Helvetica Neue', Arial, sans-serif;
  padding: 12px 28px;
  border-radius: 12px; 
  width: auto;
  margin: 0;
  box-shadow: 0 4px 10px rgba(0, 0, 0, 0.02);
  transform: rotate(0deg); 
  transform-style: preserve-3d;
  z-index: 5;
}
.boxRati dl dt::before {
  content: "";
  position: absolute;
  inset: 0;
  background-color: var(--color-accent);
  border-radius: 12px;
  z-index: 0;
  transform: translate(0px, 1px) rotate(-4.5deg) translateZ(-1px);  
  transform-origin: center center;
  transition: transform 0.3s cubic-bezier(0.25, 1, 0.5, 1);
}

.boxRati:hover dl dt::before {
  transform: translate(0, 0) rotate(0deg) translateZ(-1px);
}
.boxRati dl {
  position: relative;
  z-index: 2;
  background-color: var(--color-border); 
  border-radius: 20px;
  padding: 4em 3em; 
  display: flex;
  flex-direction: column;
  align-items: center;
  min-height: 400px;
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.02);
  margin: 0;
}
.title-target{
  font-size: 1.6em;
  font-weight: 700;
  margin-bottom: 1em;
}
.pic{
  width: 4em;
}
.text-target{
  font-size: 1em;
  font-weight: 600;
  margin-top: 1.5em;
}
/* PC用 */
@media only screen and (max-width: 960px) {
  .rationale {
    gap: 30px 20px;
  }
  .boxRati { width: 85%; }
  .boxRati dl dt { left: -18%; }
  .rationale { gap: 30px 20px; }
  .boxRati dl { padding: 70px 20px 35px 20px; min-height: 380px; }
}

/* SP用 */
@media only screen and (max-width: 768px) {
  #feature {
  padding: 3em 0 0;
}
  .rationale {
    grid-template-columns: 1fr;
    gap: 45px;
    margin-top: 3.5em;
  }
  .boxRati {
    width: 92%;
    margin-left: auto !important;
    margin-right: auto !important;
  }
  .boxRati:nth-child(1), .boxRati:nth-child(2), .boxRati:nth-child(3), .boxRati:nth-child(4) {
    margin-top: 0 !important;
    margin-bottom: 10px;
  }
  .boxRati dl {
    min-height: auto;
    padding: 70px 20px 35px 20px;
  }
  .boxRati dl dt {
    font-size: 0.9em;
    padding: 10px 22px;
    left: 20px;
  }
  .boxRati dl dt::before {
    transform: translate(-6px, 5px) translateZ(-1px);
  }
  .boxRati:hover dl dt::before {
    transform: translate(0, 0) translateZ(-1px);
  }
  .title-target{
  font-size: 1.4em;
}
  .text-target{
  font-size: 0.875em;
  margin-top: 1.5em;
}
}
/*------------------------------------------
	様々な業種での、豊富な実績
------------------------------------------*/
#cases {
  padding: 3em 0 5em;
}
.sec-arrow {
  display: flex;
  flex-direction: column; 
  justify-content: center;
  align-items: center;
  gap: -8px;               
  margin: 3em auto;
  position: relative;
}

.sec-arrow span {
  display: block;
  width: 3em;            
  height: 1.5em;
  background: var(--gradient-main);
  clip-path: polygon(0 0, 50% 100%, 100% 0, 85% 0, 50% 70%, 15% 0);
  animation: arrow-flash-stream 3s infinite;
  opacity: 0;
  margin-top: -5px; 
}
.sec-arrow span:first-child {
  margin-top: 0;
}
.sec-arrow span:nth-child(1) {
  animation-delay: 0s;
}
.sec-arrow span:nth-child(2) {
  animation-delay: 0.15s;
}
.sec-arrow span:nth-child(3) {
  animation-delay: 0.3s;
}
.sec-arrow span:nth-child(4) {
  animation-delay: 0.45s;
}
@keyframes arrow-flash-stream {
  0% {opacity: 0;}
  20% {opacity: 1;}
  70% {opacity: 1;}
  80% {opacity: 0;}
  100% {opacity: 0;}
}
#cases .cases-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 40px; 
}
#cases .case-card {
  background-color: #fff;
  color:var(--color-main);
  display: flex;
  flex-direction: column;
  overflow: hidden;
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.1);
  padding: 1.5em;
  z-index: 1;
}
#cases .case-img-wrapper {
  position: relative;
  width: 100%;
  height: auto;
  overflow: hidden;
}
#cases .case-img-wrapper img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}
#cases .case-badge {
  position: absolute;
  top: 0;
  left: 0;
  z-index: 2;
  background: var(--color-accent);
  font-size: 0.875em;
  font-weight: 700;
  padding: 0.4em 2em;
  letter-spacing: 0.1em;
}
#cases .case-body {
  padding: 1.5em 0;
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  flex-grow: 1;
}
#cases .case-product-name {
  font-size: 1.2em;
  font-weight: 600;
  margin-bottom: 1em;
  position: relative;
  display: inline;
  background-image: linear-gradient(to top, var(--color-accent) 45%, transparent 45%);
  background-size: 100% 100%;
  background-repeat: no-repeat;
  background-position: left bottom;
  padding: 0.1em 0.5em; 
  box-decoration-break: clone;
  -webkit-box-decoration-break: clone;
  letter-spacing: 0.02em;
}

#cases .case-text {
  font-size: 1em;
  font-weight: 600; 
  line-height: 1.7;
  margin: 0;
  text-align: justify;
}

/* Tub用 */
@media only screen and (max-width: 960px) {
  #cases .cases-grid {
    gap: 30px 20px;
  }
  #cases .case-body {
    padding: 25px 20px 30px 20px;
  }
  #cases .case-product-name {
    font-size: 1em;
    padding: 5px 15px;
  }
}

/* SP用 */
@media only screen and (max-width: 768px) {
  #cases {
    padding: 3em 0;
  }
  #cases .cases-grid {
    grid-template-columns: 1fr;
    gap: 35px;
  }
  #cases .case-card {
    margin: 0 1em;
  }
  #cases .case-badge {
    font-size: 0.85rem;
    padding: 8px 18px;
  }
  #cases .case-body {
    padding: 20px 0 0 0;
  }
  #cases .case-text {
    font-size: 0.875em;
  }
  .sec-arrow {             
  margin: 2em auto;
}
}
/*------------------------------------------
	実現する、従業員の安全と企業の信頼
------------------------------------------*/
#benefits {
  background: var(--gradient-main);
  padding: 9em 0 6em 0;
  color: #ffffff;
  clip-path: polygon(0 0, 50% 6em, 100% 0, 100% 100%, 0 100%);
  position: relative;
  z-index: 0;
  margin-top: -8em;
}
#benefits .headline1 {
  text-align: center;
  margin-bottom: 5em;
}
#benefits .headline1 span.bgC02 {
  font-size: 1.6em;
  font-weight: 700;
  letter-spacing: 0.05em;
  text-shadow: 0 2px 8px rgba(0, 0, 0, 0.15);
}

.benefits-card-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 50px;
  max-width: 980px;
  margin: 0 auto;
}

.benefits-card {
  position: relative;
  display: flex;
  flex-direction: column;
  transform-style: preserve-3d;
}

.benefits-card::before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 440px; 
  background: var(--color-accent); 
  border-radius: 24px;
  transform: rotate(-4deg) translateZ(-1px);
  transform-origin: center center;
  z-index: 0;
  transition: transform 0.3s cubic-bezier(0.25, 1, 0.5, 1);
}

.benefits-card:hover::before {
  transform: rotate(0deg) translateZ(-1px);
}
.benefits-card-inner {
  position: relative;
  z-index: 2; 
  height: 440px;
  border-radius: 24px;
  overflow: hidden;
  box-sizing: border-box;
  box-shadow: 0 15px 35px rgba(0, 0, 0, 0.1);
}
.card-bg01 { background: url('/safety-management-dx/asset/img/benefits_img01.png') no-repeat center/cover; }
.card-bg02 { background: url('/safety-management-dx/asset/img/benefits_img02.png') no-repeat center/cover; }
.card-bg03 { background: url('/safety-management-dx/asset/img/benefits_img03.png') no-repeat center/cover; }

.card-overlay {
  width: 100%;
  height: 100%;
  background: rgba(0, 15, 35, 0.45);
  padding: 3em;
  box-sizing: border-box;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: flex-start;
}
.card-overlay .arrow {
  content: ""; 
  display: block;
  width: 2em;
  height: 2em;
  opacity: 0.9;
  margin-bottom: 1em; 
  background-repeat: no-repeat;
  background-position: center;
  background-size: contain;
  background-image: url("data:image/svg+xml;charset=utf8,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'%3E%3Cpath fill='%23ffffff' d='M11.7,19.5l-9-12A2,2,0,0,1,3.2,4.3a2,2,0,0,1,1-.3h17a2,2,0,0,1,1,.3,2,2,0,0,1,.4,3.2l-9,12A2,2,0,0,1,11.7,19.5Z'/%3E%3C/svg%3E");
}
.benefit-title {
  writing-mode: vertical-rl;
  text-orientation: upright;
  font-size: 1.6em;
  font-weight: 700;
  letter-spacing: 0.2em;
  margin: 0;
  text-shadow: 0 2px 10px rgba(0, 0, 0, 0.3);
}
.benefit-icon {
  width: 4em;
  display: flex;
  justify-content: center;
  align-items: center;
  margin-top: auto;
}
.benefit-icon img {
  object-fit: contain;
}
.benefit-desc {
  font-size: 1em;
  font-weight: 600;
  line-height: 1.6;
  margin-top: 25px;
  padding: 0 5px;
  text-align: left; 
}
/* Tub用 */
@media only screen and (max-width: 960px) {
  #benefits .headline1 span.bgC02 { font-size: 1.2em; }
  .benefits-card-grid { gap: 30px; padding: 0 20px; }
  .benefit-title { font-size: 1.2em; }
  .benefits-card-inner, .benefits-card::before { height: 380px; }
}
/* SP用 */
@media only screen and (max-width: 768px) {
  #benefits {
  padding: 6em 0 3em 0;
  clip-path: polygon(0 0, 50% 3em, 100% 0, 100% 100%, 0 100%);
  margin-top: -4em;
}
  #benefits .headline1 {
  text-align: center;
  margin: 0;
}
  .benefits-card-grid {
  grid-template-columns: 1fr; 
  gap: 40px;
  }
  .benefits-card {
  width: 80%;
  margin: 0 auto;
}
  .card-overlay{
    padding: 2em;
  }
  .benefits-card-inner, .benefits-card::before {
    height: 16em;
  }
  
  .benefits-card::before {
    transform: rotate(4.5deg) translateZ(-1px);
  }
  .benefits-card:hover::before {
    transform: rotate(0deg) translateZ(-1px);
  }
  .benefit-icon{
    width: 2em;
  }
  
  .benefit-desc {
    font-size: 0.875em;
    margin-top: 1em;
    margin-bottom: 1.2em;
  }
}
/*------------------------------------------
	ネクストシステム安全管理DXを導入するには？
------------------------------------------*/
#flow {
  padding: 5em 0;
}
.flow-tab-container {
  display: flex;
  gap: 40px;
  margin-top: 3em;
  align-items: flex-start;
}
.flow-tabs {
  width: 20%;
  flex-shrink: 0;
  list-style: none;
  padding: 0;
  margin: 0;
  border-top: 1px solid var(--color-main);
}

.flow-tabs li {
  position: relative;
  border-bottom: 1px solid var(--color-main);
  margin-bottom: 0;
  padding: 0.8em 0; 
}

.flow-tabs li a {
  display: block;
  padding: 0.5em 1em; 
  font-size: 1em;
  font-weight: 700;
  color: var(--color-main);
  text-decoration: none;  
  background-color: transparent;
  border-radius: 5px; 
  transition: background-color 0.2s ease, color 0.2s ease;
}

.flow-tabs li.active {
  background-color: transparent; 
}
.flow-tabs li.active a {
  background-color: var(--color-border); 
}
.flow-tabs li.active::after {
  content: "";
  position: absolute;
  right: 0.5em;
  top: 50%;
  transform: translateY(-50%);
  width: 1em;
  height: 1em;
  background-repeat: no-repeat;
  background-position: center;
  background-size: contain;
  background-image: url("data:image/svg+xml;charset=utf8,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'%3E%3Cpath fill='%23000000' d='M19.5,10.3l-12-9A2,2,0,0,0,4.3,2.5a2,2,0,0,0-.3,1v17a2,2,0,0,0,.3,1,2,2,0,0,0,3.2.4l12-9A2,2,0,0,0,19.5,10.3Z'/%3E%3C/svg%3E");
  z-index: 3; 
  pointer-events: none;
}
.flow-tab-contents {
  flex-grow: 1;
  background-color: var(--color-border); 
  border-radius: 12px;
  overflow: hidden;
  box-sizing: border-box;
}
.tabBox {
  width: 100%;
}
.flow-visual-banner {
  position: relative;
  width: 100%;
  height: 200px;
  overflow: hidden;
}
.flow-visual-banner .banner-bg {
  width: 100%;
  height: 100%;
  object-fit: cover;
}
.flow-visual-banner .banner-text {
  position: absolute;
  left: 40px;
  top: 50%;
  transform: translateY(-50%);
  z-index: 2;
}
.flow-visual-banner .banner-text h3 {
  font-size: 1.8rem;
  font-weight: 700;
  color: #ffffff;
  line-height: 1.3;
  margin: 0;
}
.flow-detail-body {
  padding: 40px;
  box-sizing: border-box;
}
.flow-lead-txt {
  font-size: 1em;
  font-weight: 700;
  line-height: 1.6;
  color: #000000;
  margin: 0 0 25px 0;
}
.flow-btn-wrap {
  margin-bottom: 30px;
}
.flow-yellow-btn {
  display: inline-block;
  background-color: #ebd813;
  color: var(--color-main);
  font-weight: 700;
  font-size: 0.875em;
  padding: 10px 40px;
  text-decoration: none;
  box-sizing: border-box;
}
.flow-yellow-btn:hover {
  opacity: 0.9;
}
.flow-item-list {
  display: flex;
  flex-direction: column;
  gap: 30px;
}
.flow-item {
  display: flex;
  align-items: flex-start;
  gap: 20px;
}
.flow-icon {
  width: 6em;
  height: 6em;
  background: #ffffff;
  border-radius: 16px;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
  box-shadow: 0 4px 10px rgba(0, 0, 0, 0.03);
}
.flow-icon img {
  max-width: 70%;
  height: auto;
}
.flow-txt {
  color: var(--color-main);
}
.flow-txt h4 {
  font-size: 1.2em;
  font-weight: 600;
  margin: 0 0 8px 0;
}
.flow-txt p {
  font-size: 0.875em;
  line-height: 1.5;
  margin: 0;
}
/* SP用 */
@media only screen and (max-width: 768px) {
  #flow {
  padding: 3em 0;
}
  .flow-tab-container {
    margin: 0 1em;
    flex-direction: column; 
    gap: 20px;
  }
  .flow-tabs {
    width: 100%;
    display: flex; /* 横並びのタブに変更 */
    border-top: none;
    border-bottom: 1px solid #333333;
  }

  .flow-tabs li {
    flex: 1;
    border-bottom: none;
    line-height: 1.5;
    font-size: 0.875em;
  }
  .flow-tabs li a {
    padding:   1em 0 2em;
    text-align: center;
  }
  .flow-tabs li.active::after {
    content: ""; 
    position: absolute;
    left: 50%;             
    bottom: 25px;     
    top: auto;         
    transform: translateX(-50%) rotate(90deg);
    width: 1em;
    height: 1em;
    background-repeat: no-repeat;
    background-position: center;
    background-size: contain;
    background-image: url("data:image/svg+xml;charset=utf8,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'%3E%3Cpath fill='%23000000' d='M19.5,10.3l-12-9A2,2,0,0,0,4.3,2.5a2,2,0,0,0-.3,1v17a2,2,0,0,0,.3,1,2,2,0,0,0,3.2.4l12-9A2,2,0,0,0,19.5,10.3Z'/%3E%3C/svg%3E");
    z-index: 3; 
    pointer-events: none;
  }
  .flow-detail-body {
    padding: 25px 20px;
  }
  .flow-visual-banner {
    height: 140px;
  }
  .flow-visual-banner .banner-text {
    left: 20px;
  }
  .flow-visual-banner .banner-text h3 {
    font-size: 1.2em;
  }
  .flow-item {
    gap: 15px;
  }
  .flow-icon {
    width: 70px;
    height: 70px;
  }
}
/*------------------------------------------
	お問い合わせフォーム
------------------------------------------*/
#contact {
  padding: 5em 0;
}

.contact-txt{
  padding: 3em 0;
  font-size: 1em;
  font-weight: 600;
  text-align: center;
}
/* SP用 */
@media only screen and (max-width: 768px) {
  #contact {
    padding: 3em 1em;
  }
  .contact-txt{
  padding: 3em 0;
  font-size: 1em;
  font-weight: 600;
  text-align: center;
}
  .contact-txt{
    padding: 0;
    text-align: left;
  }
}
/*------------------------------------------
	thanksページ
------------------------------------------*/
#contactSec {
    background-color: #f3f4f7;
}
#contactSec.sec.thanks {
    margin-top: 70px;
    padding-bottom: 10em;
}
#contactSec.thanks .contactInner {
    padding: 6% 4% 6%;
}
#contactSec .contactInner {
    background-color: #fff;
    padding: 0 4% 3%;
    border-radius: 10px;
    margin-top: 2em;
}
#contactSec .txt {
    margin: 2em auto;
    text-align: center;
}
#contactSec .backBox {
    margin-top: 5%;
}
}