html,
body {
  height: 100%;
  margin: 0;
  padding: 0;
  /* overflow: hidden; */
}

body {
  font-family: Futura, "Yu Gothic", "YuGothic", Avenir, sans-serif;
  background-color: #00172C;
  color: white;
}

p {
    font-size: 1rem;
}
h2 {
  font-size: 2rem;
}
h3 {
  font-size: 1.5rem;
}

.service-system-top {
  width: 100%;
  height: 50vh;
}

.bg-gradation{
  position: fixed;
  inset: 0;
  z-index: -2;
  pointer-events: none;
}

.bg-canvas {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100vh;
  z-index: 0;
  pointer-events: none;
  z-index: -1;
}


#service-system-canvas {
  width: 100%;
  height: 100%;
  display: block;
}

.service-title{
    /* margin-left: 5rem; */
    font-size: 8rem;
}

.service-system-subtitle {
  font-size: 4rem;
}

.subtitle-content{
  font-size: 1.5rem;
}

.service-system-title-wrapper {
  margin-left: 5rem;
  width: 80%;
}

.page-wrapper {
  display: flex;
  flex-direction: column;
  align-items: center;
}

.service-system-content-wrapper {
  width: 100%;
  display: flex;
  justify-content: center;
  margin: 3rem 0;
}

.service-system-content {
  width: 70%;
  /* margin: 0 auto; */
  background: #fff;
  color: black;
  padding: 4rem;
  border-radius: 12px;
  box-shadow: 0 4px 12px rgba(0,0,0,0.08);
  transition: width 1.2s ease; /* ★追加 */
}

/* .service-system-img {
  width: 80%;
} */

.back {
  text-align: center;
  text-decoration: #42CCEB underline;
  padding-top: 2rem;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 0.5rem;
}

.back a {
  color: black;
}

.dli-caret-left {
  display: inline-block;
  vertical-align: middle;
  color: #42CCEB;
  line-height: 1;
  width: 0;
  height: 0;
  border-style: solid;
  border-color: transparent;
  border-width: 0.375em 0.64952em;
  border-right-color: currentColor;
  border-left: 0;
}

/* タイピング開始と同時に付けるクラス */
.service-system-content.is-expand {
  width: 90%;
}

.service-system-tech{
  margin-bottom: 3rem;
  white-space: pre-wrap;
  font-weight: bold;
  font-size: 3rem;
  opacity: 0;
}

/*文字の後ろにカーソルを追加*/
.service-system-tech::after {
  content: "|";
  animation: blink 1s infinite; /*カーソル点滅アニメーション*/
}

/*カーソル点滅アニメーションの定義*/
@keyframes blink {
  0%, 100% {
    opacity: 1;
  }
  50% {
    opacity: 0;
  }    
}

.wp-block-media-text>.wp-block-media-text__content {
  padding-right: 0;
}
element.style {
  grid-template-columns: 50% auto;
}

.service-system-block {
  opacity: 0;
  transform: translateY(20px);
}

/* タイピング完了後に付与するクラス */
.service-system-block.is-show {
  opacity: 1;
  transform: translateY(0);
  transition: opacity 3s ease, transform 3s ease;
}


/* ========================　レスポンシブ　========================= */

/* ========================　タブレット　========================= */
@media (min-width: 768px) and (max-width: 1024px) {
  .service-system-title-wrapper{
    margin: 0;
  }
 .service-system-top {
  height: 60vh;
 }
}

/* ========================　スマホ　========================= */

@media (max-width: 768px) {
  .subtitle-content {
    font-size: 1rem;
  }
  .service-title {
    font-size: 4rem;
  }
  .service-system-top {
    height: 60vh;
 }
  .service-system-subtitle {
    font-size: 2rem;
  }
  .service-system-tech {
    font-size: 2rem;
  }
  .service-system-title-wrapper {
    margin: 0;
  }
  .service-system-content {
    width: 90%;
    padding: 2rem 1rem;
  }
  .service-system-content.is-expand {
  width: 95%;
}
}