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;
}

h1 {
  font-size: 3rem;
}

h2 {
  font-size: 2rem;
  font-weight: bold;
}

h3 {
  font-size: 1.5rem;
}

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

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

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

#service-canvas {
  width: 100%;
  height: 100%;
  display: block;
  /* z-index: -1; */
}

.service-title {
  margin-left: 5rem;
  font-size: 8rem;
  width: 80%;
}

.page-wrapper {
  display: flex;
  flex-direction: column;
  align-items: center;
  /* z-index: 10; */
}

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

.service-content {
  width: 70%;
  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-content.is-expand {
  /* width: 100%; */
  width: 90%;
}

.around {
  border: 0.5px solid #000000;
  border-radius: 10px;
}

.btn-arrow .mark,
mark {
  padding: 0;
}

.wp-block-image :where(figcaption) {
  margin: 0;
  margin-top: 2rem;
  padding-left: 0.8rem;
  font-size: 1.5rem;
}

.wp-block-image img {
  border-radius: 10px 10px 0 0;
}

.business-text {
  padding: 1rem 0.8rem;
}

.business-startup-caption :where(figcaption) {
  margin-top: 1rem;
}

.business-startup-text {
  padding-top: 0;
}

.business-subtitle,
.service-subtitle {
  font-weight: bold;
  opacity: 0;
}

.service-subtitle.is-visible,
.business-subtitle.is-visible {
  opacity: 1;
}

.service-subtitle:after {
  content: "|";
  animation: typingCursor .8s ease infinite;
}

.business-subtitle:after {
  content: "|";
  animation: typingCursor .8s ease infinite;
}


/*カーソル点滅アニメーションの定義*/
@keyframes blink {

  0%,
  100% {
    opacity: 1;
  }

  50% {
    opacity: 0;
  }
}

/* .is-layout-flex {
  opacity: 0;
  transform: translateY(20px);
}

.is-layout-flex.is-show {
  opacity: 1;
  transform: translateY(0);
  transition: opacity 3s ease, transform 3s ease;
} */
.business-column,
.service-column {
  opacity: 0;
  transform: translateY(20px);
}

.service-column.wp-block-columns,
.business-column.wp-block-columns {
  align-items: stretch;
}

.service-column.wp-block-columns>.wp-block-column,
.business-column.wp-block-columns>.wp-block-column {
  height: auto;
  display: grid;
  grid-template-rows: auto auto 1fr auto;
}

.business-column.is-show,
.service-column.is-show {
  opacity: 1;
  transform: translateY(0);
  transition: opacity 3s ease, transform 3s ease;
}

.around a {
  text-decoration: #42cceb underline;
  font-weight: bold;
}

.mark, mark {
    padding: 0;
}

.wp-block-columns{
  align-items: stretch;
}

.wp-block-column.around{
  display: flex;
  flex-direction: column;
}

.wp-block-column.around > p.has-text-align-center.has-medium-font-size {
  margin-top: auto;
}

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

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

  .vision-tech {
    font-size: 2.5rem;
  }
}

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

@media (max-width: 768px) {
  h1 {
    font-size: 2rem;
  }

  .service-title {
    font-size: 3.5rem;
    margin: 3rem 0;
  }

  .service-top {
    height: 60vh;
  }

  .service-content {
    width: 90%;
    padding: 2rem 1rem;
  }

  .service-content.is-expand {
    /* width: 100%; */
    width: 95%;
  }

  .post_content .s_table {
    overflow: unset !important;
    white-space: normal !important;
  }

  .around a {
  font-weight: normal;
}
}