@charset "utf-8";

/* ------------------------------
 DXコンサルティング (PC)
------------------------------ */
.dx-flow {
	position: relative;
}
.dx-flow:not(:last-child) {
	margin-bottom: 130px;
}
.dx-flow:not(:last-child)::after {
	content: "";
	position: absolute;
	width: 120px;
	height: 40px;
 	bottom: -90px;
	left: 50%;
	transform: translateX(-50%);
	background: url(/assets/images/common/arrow.svg) no-repeat;
}
.dx-flow h3 {
	position: relative;
	padding-left: 55px;
}
.dx-flow h3 span {
	position: absolute;
	width: 48px;
	height: 48px;
	top: -7px;
	left: 0;
	font-size: 1.4rem;
	padding: 15px;
	margin-right: 0;
	margin-bottom: 0;
}
@media screen and (min-width: 768px) {
	.problem::after {
		bottom: -20px;
	}
	.problem .inBox.column {
		height: 420px;
	}
	.problem .inBox .bgBox {
		height: 162px;
	}
	.problem figure {
		position: relative;
		top: -85px;
	}
	.problem figure img {
		width: 532px;
		height: auto;
	}

	.dx-flow {
		display: flex;
		justify-content: space-between;
	}
	.dx-flow .inBox {
		width: 350px;
	}
}
/* ------------------------------
 DXコンサルティング (SP)
------------------------------ */
@media  screen and (max-width: 767px) {
	.label-group h3 {
		margin-bottom: 25px;
		padding-left: 50px;
	}

	.dx-flow h3 span {
		width: 42px;
		height: 42px;
		padding: 12px;
	}
	.dx-flow:not(:last-child) {
		margin-bottom: 80px;
	}
	.dx-flow:not(:last-child)::after {
		width: 60px;
		height: 20px;
		 bottom: -50px;
		left: 50%;
	}
}


/* サービスの概要：AI活用・DXの2サービス */
.dx-services .dx-service + .dx-service { margin-top: 80px; }
.dx-services .dx-service-title {
  border-left: 6px solid currentColor;
  padding: 12px 20px;
  margin-bottom: 30px;
  background: #f7f4ea;
  color: #506499;
  font-size: 2.8rem;
}
#ai-consulting-title { color: #486b59; }
.ai-service-lead { font-size: 2.4rem; font-weight: bold; line-height: 1.6; margin-bottom: 30px; }
.ai-steps .ai-step-title { position: relative; font-size: 2.4rem; color: #44433d; margin-bottom: 22px; }
.ai-step-details { position: relative; min-height: 150px; }
.ai-step-support { margin-right: 215px; }
.ai-step-support h5 { font-size: 1.8rem; font-weight: bold; color: #486b59; margin-bottom: 10px; }
.ai-step-support { border-top: 1px solid #d9d6cb; padding-top: 20px; }
.ai-step-graphic { display: block; width: 180px; height: auto; position: absolute; top: 0; right: 0; }
.ai-academy {
  display: flex;
  align-items: center;
  gap: 30px;
  margin-top: 25px;
  padding: 30px 35px;
  border: 1px solid #709682;
  border-radius: 20px;
  background: #f0f5f1;
}
.ai-academy > div { flex: 1; min-width: 0; }
.ai-academy-label { font-weight: bold; color: #486b59; margin-bottom: 4px; }
.ai-academy h5 { font-size: 2.4rem; margin-bottom: 15px; }
.ai-academy p + p { margin-top: 8px; }
.ai-academy-badges { display: flex; flex-wrap: wrap; gap: 8px; margin-top: 18px; }
.contents .ai-academy-badges li {
  margin: 0 !important;
  padding: 5px 12px;
  border: 1px solid #709682;
  border-radius: 999px;
  background: #fff;
  color: #486b59;
  font-size: 1.4rem;
  font-weight: bold;
  line-height: 1.4;
  text-indent: 0;
}
.contents .ai-academy-badges li::before { display: none; }
.contents .ai-academy-link {
  display: inline-block;
  flex-shrink: 0;
  padding: 15px 28px;
  border-radius: 30px;
  background: #506499;
  color: #fff;
  font-weight: bold;
  text-align: center;
  text-decoration: none;
}
.contents .ai-academy-link:hover { background: #3d507f; color: #fff; }
.contents .ai-academy-link:focus-visible { outline: 3px solid #506499; outline-offset: 4px; }
.ai-visually-hidden { position: absolute; width: 1px; height: 1px; padding: 0; margin: -1px; overflow: hidden; clip-path: inset(50%); white-space: nowrap; }
.ai-service-note { margin-top: 25px; padding: 25px 35px; }
.ai-service-note .bold { font-size: 3.2rem; color: #506499; }
@media screen and (max-width: 767px) {
  .dx-services .dx-service + .dx-service { margin-top: 50px; }
  .dx-services .dx-service-title { font-size: 2.2rem; padding: 10px 15px; }
  .ai-service-lead { font-size: 2rem; }
  .ai-service-note .bold { font-size: 2.2rem; }
  .ai-steps .ai-step-title { font-size: 2rem; padding-left: 50px; min-height: 56px; margin-bottom: 20px; }
  .ai-step-details { min-height: 0; }
  .ai-step-support { margin-right: 0; }
  .ai-step-graphic { position: static; width: 140px; margin: 15px auto 20px; }
  .ai-academy, .ai-service-note { padding: 25px 20px; border-radius: 15px; }
  .ai-academy { display: block; }
  .ai-academy h5 { font-size: 2rem; }
  .contents .ai-academy-link { display: block; margin-top: 20px; }
}
/* ページ内の2サービスへ移動する縦書きタブ */
.dx-floating-nav {
  position: fixed;
  top: 112px;
  right: 0;
  bottom: calc(96px + env(safe-area-inset-bottom, 0px));
  z-index: 450;
  display: flex;
  flex-direction: column;
  align-items: flex-end;
  justify-content: center;
  gap: 8px;
  pointer-events: none;
}
.dx-floating-nav .dx-floating-nav-link {
  display: flex;
  align-items: center;
  justify-content: center;
  --dx-tab-width: 48px;
  --dx-tab-grow: 20px;
  width: var(--dx-tab-width);
  height: 224px;
  flex: 0 0 auto;
  padding: 16px 8px;
  border-radius: 10px 0 0 10px;
  color: #fff;
  text-decoration: none;
  font-size: 1.5rem;
  font-weight: 600;
  line-height: 1.4;
  letter-spacing: .06em;
  box-shadow: -2px 2px 8px rgba(0, 0, 0, .12);
  pointer-events: auto;
  transition: width .2s ease, margin-left .2s ease, box-shadow .2s ease;
}
.dx-floating-nav-ai { background: #486b59; }
.dx-floating-nav-dx { background: #506499; }
.dx-floating-nav-text {
  writing-mode: vertical-rl;
  text-orientation: upright;
  white-space: nowrap;
}
.dx-floating-nav-latin {
  text-combine-upright: all;
  letter-spacing: 0;
}
.dx-floating-nav .dx-floating-nav-link:hover {
  color: #fff;
  text-decoration: none;
  box-shadow: inset 4px 0 #ffcc00, -2px 2px 8px rgba(0, 0, 0, .12);
}
.dx-floating-nav .dx-floating-nav-link:focus-visible {
  outline: 3px solid #ffcc00;
  outline-offset: -5px;
}
.dx-services .dx-service-title { scroll-margin-top: 116px; }
.page-open-slidemenu .dx-floating-nav { visibility: hidden; }
@media screen and (max-width: 767px) {
  .dx-floating-nav { top: 76px; bottom: calc(80px + env(safe-area-inset-bottom, 0px)); gap: 6px; }
  .dx-floating-nav .dx-floating-nav-link { --dx-tab-width: 24px; --dx-tab-grow: 16px; height: 194px; padding: 12px 2px; font-size: 1.4rem; line-height: 1.2; letter-spacing: .04em; border-radius: 6px 0 0 6px; }
  .dx-page > .inBlock:not(.wide) { width: auto; margin-left: 5%; margin-right: 32px; }
  .dx-page > .wide.bg { padding-right: 32px; }
  .dx-services .dx-service-title { scroll-margin-top: 80px; }
}
@media screen and (min-width: 768px) and (max-height: 680px), screen and (max-width: 767px) and (max-height: 550px) {
  .dx-floating-nav { flex-direction: row; align-items: center; gap: 3px; }
  .dx-floating-nav .dx-floating-nav-link { --dx-tab-width: 44px; height: 194px; padding: 10px 6px; font-size: 1.3rem; letter-spacing: 0; }
}
@media screen and (max-width: 767px) and (max-height: 550px) {
  .dx-floating-nav .dx-floating-nav-link { --dx-tab-width: 24px; --dx-tab-grow: 16px; padding-left: 2px; padding-right: 2px; }
  .dx-page > .inBlock:not(.wide) { margin-right: 59px; }
  .dx-page > .wide.bg { padding-right: 59px; }
}
@media screen and (max-height: 380px) {
  .dx-floating-nav { top: 104px; bottom: 64px; }
  .dx-floating-nav .dx-floating-nav-link { height: 144px; font-size: 1.1rem; padding-top: 6px; padding-bottom: 6px; }
}
@media screen and (max-width: 767px) {
  .dx-floating-nav .dx-floating-nav-link:hover { box-shadow: inset 2px 0 #ffcc00, -2px 2px 8px rgba(0, 0, 0, .12); }
  .dx-floating-nav .dx-floating-nav-link:focus-visible { outline-width: 2px; outline-offset: -2px; }
}
/* 幅の増分を左の余白で相殺し、隣のタブの位置を保つ */
@media (hover: hover) {
  .dx-floating-nav .dx-floating-nav-link:hover {
    width: calc(var(--dx-tab-width) + var(--dx-tab-grow));
    margin-left: calc(-1 * var(--dx-tab-grow));
  }
}
.dx-floating-nav .dx-floating-nav-link:focus-visible {
  width: calc(var(--dx-tab-width) + var(--dx-tab-grow));
  margin-left: calc(-1 * var(--dx-tab-grow));
}
@media (prefers-reduced-motion: reduce) {
  .dx-floating-nav .dx-floating-nav-link { transition: none; }
}
@media print {
  .dx-floating-nav { display: none; }
}
