/*
----------------------------------------

block-image-text-button

----------------------------------------
*/

.block-image-text-button {
  position: relative;
  --color-black: #211d1a;
  --line-height: 1.75;
  --letter-spacing: 0.1em;
}

.block-image-text-button .list {
  display: flex;
  flex-direction: column;
  gap: clamp(48px, calc(100vw * 70 / 1440), 70px);
  width: min(100%, 760px);
  margin-inline: auto;
}

.block-image-text-button .item {
  display: flex;
  gap: clamp(32px, calc(100vw * 70 / 1440), 70px);
}

.block-image-text-button .item:nth-child(even) {
  flex-direction: row-reverse;
}

.block-image-text-button .item .image {
  width: clamp(240px, calc(100vw * 254 / 1440), 254px);
  flex-shrink: 0;
}

.block-image-text-button .item .image img {
  width: 100%;
  height: auto;
  -o-object-fit: contain;
  object-fit: contain;
}

.block-image-text-button .item .content {
  flex: 1;
  align-self: flex-end;
}

.block-image-text-button .item .title {
  font-family: var(--font-heisei-mincho-std);
  font-weight: 500;
  font-size: clamp(20px, calc(100vw * 24 / 1440), 24px);
  line-height: var(--line-height);
  letter-spacing: var(--letter-spacing);
  color: var(--color-black);
}

.block-image-text-button .item .text {
  margin-top: clamp(12px, calc(100vw * 16 / 1440), 16px);
}

.block-image-text-button .item .text * {
  font-family: var(--font-heisei-mincho-std);
  font-weight: 500;
  font-size: clamp(12px, calc(100vw * 14 / 1440), 14px);
  line-height: var(--line-height);
  letter-spacing: var(--letter-spacing);
  color: var(--color-black);
}

.block-image-text-button .item .block-button {
  margin-top: clamp(24px, calc(100vw * 30 / 1440), 30px);
  min-width: initial;
  width: min(100%, 350px);
  padding-inline: 20px;
}

@media screen and (max-width: 750px) {
  .block-image-text-button .item,
  .block-image-text-button .item:nth-child(even) {
    flex-direction: column;
    gap: 20px;
  }

  .block-image-text-button .item .image {
    width: min(60%, 440px);
    margin-inline: auto;
  }

  .block-image-text-button .item .content {
    align-self: flex-start;
  }

  .block-image-text-button .item .title {
    font-size: clamp(20px, calc(100vw * 32 / 750), 32px);
  }

  .block-image-text-button .item .text {
    margin-top: clamp(16px, calc(100vw * 20 / 750), 20px);
  }

  .block-image-text-button .item .text * {
    font-size: clamp(14px, calc(100vw * 26 / 750), 26px);
  }

  .block-image-text-button .item .block-button {
    margin-top: clamp(20px, calc(100vw * 40 / 750), 40px);
  }
}
