@charset "UTF-8";

  .p_greeting__header-text {
    background: url(/assets/bg_greeting-sp.jpg);
    background-size: cover;
    aspect-ratio: 780 / 503;
    position: relative;
  }
  @media screen and (min-width: 1025px) {
    .p_greeting__header-text {
      background: url(/assets/bg_greeting-pc.jpg);
      background-size: cover;
      aspect-ratio: 1240 / 440;
    }
  }
  .p_greeting__header-text:before{
    content: "";
    width: 100%;
    height: 20px;
    background: rgba(255,255,255,.4);
    display: block;
    top: 0;
    left: 0;
    right: 0;
    position: absolute;
  }
  @media screen and (min-width: 1025px) {
    .p_greeting__header-text:before{
      height: 15px;
    }
  }

  .p_greeting__header-text:after{
    content: "";
    width: 100%;
    height: 20px;
    background: rgba(255,255,255,.4);
    display: block;
    bottom: 0;
    left: 0;
    right: 0;
    margin-top: auto;
    position: absolute;
  }
  @media screen and (min-width: 1025px) {
    .p_greeting__header-text:after{
      height: 15px;
    }
  }

  .p_greeting__header-text-inner {
    position: absolute;
    top: -4.5%;
    bottom: 0;
    left: 3%;
    margin: auto 0;
    width: 80%;
    height: fit-content;
    font-weight: 500;
  }
  @media screen and (min-width: 1025px) {
    .p_greeting__header-text-inner {
      width: min(26%,300px);
      top: auto;
      bottom: 18%;
      left: min(7%,90px);
      display: flex;
      flex-wrap: wrap;
    }
  }

  .p_greeting__header-text-inner:after {
    content: "";
    width: 40%;
    height: 1px;
    background: #fff;
    left: 0;
    bottom: 0;
    right: 0;
    display: block;
    margin-top: 5px;
    position: absolute;
  }
  @media screen and (min-width: 1025px) {
    .p_greeting__header-text-inner:after {
      bottom: -8px;
      width: 100%;
      max-width: 300px;
    }
  }
  .p_greeting__header-text span {
    display: flex;
    flex-wrap: wrap;
    width: 50%;
  }
  .p_greeting__header-text .p_greeting__header-text-line01 {
    width: 100%;
    font-size: 2.5vw;
    letter-spacing: .05em;
  }
  @media screen and (min-width: 1025px) {
    .p_greeting__header-text .p_greeting__header-text-line01 {
      font-size: min(1.3cqw,1.6rem);
    }
  }

  .p_greeting__header-text .p_greeting__header-text-line02 {
    width: 100%;
    font-size: 5vw;
    letter-spacing: .05em;
    line-height: 1.5;
  }
  @media screen and (min-width: 1025px) {
    .p_greeting__header-text .p_greeting__header-text-line02 {
      width: fit-content;
      font-size: min(2.6cqw,3.2rem);
      letter-spacing: .14em;
    }
  }

  .p_greeting__header-text .p_greeting__header-text-line03 {
    width: 100%;
    font-size: 2.1vw;
    letter-spacing: .2em;
    color: #005BC7;
  }
  @media screen and (min-width: 1025px) {
    .p_greeting__header-text .p_greeting__header-text-line03 {
      width: fit-content;
      font-size: 1.4rem;
      font-size: min(1.0cqw,1.4rem);
    letter-spacing: 0.075em;
      margin-top: auto;
      margin-left: min(1%,14px);
    }
  }
