@charset "utf-8";

.p-head {
  border-bottom: 1px solid #b5b5b5;
  padding-bottom: 32px;
}

.p-head__heading-inner {
  display: flex;
  align-items: center;
  gap: 26px;
  position: relative;
  top: 8px;

  @media (width < 1120px) {
    gap: 14px;
  }

  img {
    flex-shrink: 0;
    width: 92px;
    aspect-ratio: 85/95;
    aspect-ratio: 1;
    object-fit: contain;
    margin-left: -5px;

    @media (width < 1120px) {
      width: 60px;
    }
  }

  .p-head__heading-ja {
    @media (width < 768px) {
      font-size: 22px;
    }
  }
}

.p-head__heading-en {
  font-family: var(--font-noto-sans);
  color: var(--color-gold);
  font-weight: 500;
  line-height: calc(30 / 14);
  letter-spacing: 0.03em;
  text-transform: uppercase;
}

.p-head__flex {
  margin-top: 8px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;

  @media (width < 768px) {
    flex-direction: column;
    align-items: start;
  }
}

.p-head__heading-ja {
  font-size: 31px;
  font-weight: 700;
  line-height: calc(46 / 31);
  flex-shrink: 0;

  @media (width < 1120px) {
    font-size: 26px;
  }
}

.p-head__text {
  max-width: 453px;

  @media (width < 768px) {
    max-width: 100%;
  }

  p {
    display: inline-block;
  }
}
