@charset "UTF-8";

:root {
  /* けんけつちゃん サイズ */
  --bloodSize: 120px;

  /* 画像 幅 */
  --imgWidth: 35%;
}

/* 全体 */
p {
  /* text-align: justify; */
}
div:has(.flexBox) {
  margin-top: 2rem;
}
.flexBox {
  display: flex;
  justify-content: space-between;
  gap: 2rem;
}
.flexBox:nth-of-type(2) {
  margin-top: 1em;
}
.flexBox p {
  width: 65%;
  margin: 0;
}
.flexBox.ken {
  gap: 1.5rem;
}
.flexBox p:has(span.chu) {
  width: 100%;
  margin: 0;
}
.flexBox .imageBox {
  width: var(--imgWidth);
}

/* 1段目 */
.flexBox:nth-of-type(1) .imageBox {
  display: flex;
  justify-content: center;
  align-items: center;
  gap: 3rem;

  img {
    display: block;
  }
}
.flexBox:nth-of-type(1) .imageBox div:nth-of-type(2) {
  width: var(--bloodSize);
  height: var(--bloodSize);

  img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: center center;
  }
}

/* 2段目 */
.flexBox:nth-of-type(2) .imageBox {
  width: var(--imgWidth);
  height: 250px;

  img {
    width: 100%;
    height: 100%;
    object-fit: cover;
  }
}

/* p */
p
p span.indent {
  margin-left: -0.4em;
}
p span:not(.indent) {
  display: inline-block;
}

.chu {
  font-size: 0.85em;
}


/* ------------------------------------------- */


/* スマホ版 */
@media screen and (max-width: 679px) and (min-width: 0px) {
  /* 全体 */
  div:has(.flexBox) {
    margin-top: 0;
  }
  .flexBox {
    flex-direction: column;
    gap: 0;
  }
  .flexBox p {
    width: 100%;
  }
  .flexBox .imageBox {
    width: 100%;
  }
  .flexBox.ken {
    gap: 0;
  }

  /* 2段目 */
  .flexBox:nth-of-type(2) .imageBox {
    width: 100%;
  }

  /* p */
  p span:nth-of-type(2) {
    margin-top: 1em;
  }

  /* h4 */
  h4 {
    margin-top: 1.5em !important;
  }
}
