@charset "utf-8";
/* CSS Document */


/* =========================================
   PAGE TITLE
========================================= */

.pageTitle__inner {
  width: 420px;
}

@media screen and (max-width: 767px) {
  .pageTitle__inner {
    width: 340px;
    max-width: calc(100% - 40px);
  }
}

@media screen and (max-width: 430px) {
  .pageTitle__inner {
    width: 320px;
  }
}


/* =========================================
   GREETING
========================================= */

.greeting {
  width: calc(100% - 80px);
  max-width: 1200px;
  margin: 0 auto;
  padding: 100px 0;
}

.greeting__inner {
  display: grid;
  grid-template-columns: minmax(0, 5fr) minmax(0, 6.2fr);
  gap: clamp(40px, 6.7vw, 80px);
  align-items: center;
}

.greeting__image {
  min-width: 0;
}

.greeting__image img {
  display: block;
  width: 100%;
  height: auto;
}

/* -------------------------
   テキスト
------------------------- */

.greeting__heading h2 {
  margin: 0;
  font-size: 36px;
  font-weight: 700;
  line-height: 1.4;
  letter-spacing: 0.04em;
  color: #333;
}

.greeting__heading p {
  margin: 10px 0 0;
  font-size: 16px;
  line-height: 1;
  letter-spacing: 0.04em;
  color: #be0011;
}

.greeting__body {
  margin-top: 60px;
}

.greeting__body p {
  margin: 0;
  font-size: 18px;
  line-height: 2;
  letter-spacing: 0.04em;
  color: #333;
}

.greeting__body p + p {
  margin-top: 36px;
}

.greeting__name {
  margin: 40px 0 0;
  font-size: 18px;
  line-height: 1.6;
  text-align: right;
  color: #333;
}

/* =========================================
   SP
========================================= */

@media screen and (max-width: 767px) {

  .greeting {
    width: calc(100% - 40px);
    padding: 60px 20px;
  }

  .greeting__inner {
    display: flex;
    flex-direction: column;
    gap: 40px;
    max-width: none;
  }

  /* テキストを上、写真を下へ */
  .greeting__content {
    order: 1;
    width: 100%;
  }

  .greeting__image {
    order: 2;
    width: 100%;
  }

  .greeting__heading {
    text-align: center;
  }

  .greeting__heading h2 {
    font-size: 28px;
  }

  .greeting__heading p {
    margin-top: 8px;
    font-size: 14px;
  }

  .greeting__body {
    margin-top: 40px;
  }

  .greeting__body p {
    font-size: 16px;
    line-height: 1.9;
  }

  .greeting__body p + p {
    margin-top: 28px;
  }

  .greeting__name {
    margin-top: 30px;
    font-size: 16px;
  }
}




