/* 代表挨拶ページ専用スタイル */
.p-greeting #maincontents {
  overflow: hidden;
  color: #384355;
}

.p-greeting .page-visual {
  padding: 78px 20px 74px;
  background: #f6f8fb url("../images/page_img.jpg") center / cover no-repeat;
}

.p-greeting .page-visual .page-ttl .ttljp {
  color: #2b426e;
  letter-spacing: .08em;
}

.p-greeting .page-visual .page-ttl .ttlen {
  color: #7d97bb;
  font-size: 15px;
  font-weight: 700;
  letter-spacing: .22em;
}

.p-greeting .crumb_list {
  padding: 16px 0;
}

.p-greeting .greeting-intro {
  padding: 84px 0 92px;
  background: #fff;
}

.p-greeting .greeting-heading {
  margin: 0 auto 58px;
  text-align: center;
}

.p-greeting .greeting-heading__en,
.p-greeting .greeting-section__label {
  display: block;
  color: #7d97bb;
  font-size: 14px;
  font-weight: 700;
  letter-spacing: .2em;
  line-height: 1.4;
}

.p-greeting .greeting-heading__jp {
  position: relative;
  display: block;
  padding-bottom: 28px;
  color: #384355;
  font-size: 32px;
  font-weight: 700;
  letter-spacing: .04em;
  line-height: 1.55;
}

.p-greeting .greeting-heading__jp::after {
  position: absolute;
  right: 0;
  bottom: 0;
  left: 0;
  width: 82px;
  height: 3px;
  margin: 0 auto;
  background: #ffc174;
  content: "";
}

.p-greeting .greeting-intro__content {
  position: relative;
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(280px, 360px);
  gap: clamp(42px, 7vw, 96px);
  align-items: center;
  max-width: 1040px;
  margin: 0 auto;
  padding: 54px clamp(28px, 5vw, 74px) 56px;
  border: 1px solid #e2e8f0;
  background: #fff;
  box-shadow: 0 14px 34px rgba(43, 66, 110, .06);
}

.p-greeting .greeting-intro__copy {
  position: relative;
  padding: 8px 0 8px 34px;
}

.p-greeting .greeting-intro__copy p,
.p-greeting .greeting-section__body p,
.p-greeting .greeting-section__narrow > p,
.p-greeting .greeting-future__content p {
  margin: 0;
  color: #384355;
  font-size: 16px;
  line-height: 2.05;
}

.p-greeting .greeting-intro__copy > .greeting-heading {
  margin: 0 0 32px;
  text-align: left;
}

.p-greeting .greeting-intro__copy > .greeting-heading .greeting-heading__en {
  font-size: 12px;
}

.p-greeting .greeting-intro__copy > .greeting-heading .greeting-heading__jp {
  padding-bottom: 22px;
  font-size: 25px;
  line-height: 1.55;
}

.p-greeting .greeting-intro__copy > .greeting-heading .greeting-heading__jp::after {
  right: auto;
  margin: 0;
}

.p-greeting .greeting-intro__portrait {
  position: relative;
  margin: 0;
  padding: 18px 18px 20px;
  border: 1px solid #eadfce;
  background: #fffdfa;
  box-shadow: 0 12px 28px rgba(43, 66, 110, .07);
}

.p-greeting .greeting-intro__portrait > img {
  display: block;
  width: 100%;
  height: auto;
}

.p-greeting .greeting-intro__portrait figcaption {
  position: relative;
  padding: 16px 6px 0;
  color: #384355;
  font-size: 13px;
  line-height: 1.7;
  text-align: center;
}

.p-greeting .greeting-intro__portrait figcaption > img {
  display: block;
  width: 150px;
  height: auto;
  margin: 6px auto 0;
}

.p-greeting .greeting-section {
  padding: 92px 0;
}

.p-greeting .greeting-section--history {
  background: #f5f8fc;
}

.p-greeting .greeting-section--history .greeting-section__body {
  max-width: 900px;
  margin: 0 auto;
}

.p-greeting .greeting-section--history .greeting-section__body > p:not(.greeting-section__label) {
  margin: 0 0 18px;
}

.p-greeting .greeting-section--history .greeting-section__body > p:last-child {
  margin-bottom: 0;
}

.p-greeting .greeting-section__label {
  margin-bottom: 12px;
}

.p-greeting .greeting-section__title {
  position: relative;
  margin: 0 0 28px;
  padding-bottom: 18px;
  color: #2b426e;
  font-size: 30px;
  font-weight: 700;
  letter-spacing: .05em;
  line-height: 1.45;
}

.p-greeting .greeting-section__title::after {
  position: absolute;
  bottom: 0;
  left: 0;
  width: 66px;
  height: 3px;
  background: #ffc174;
  content: "";
}

.p-greeting .greeting-section--values {
  background: #fff;
}

.p-greeting .greeting-section__narrow {
  max-width: 900px;
  margin: 0 auto;
}

.p-greeting .greeting-values-list {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 14px;
  margin: 8px 0 38px;
  padding: 0;
  list-style: none;
}

.p-greeting .greeting-values-list li {
  position: relative;
  min-height: 116px;
  padding: 28px 15px 18px;
  border-top: 3px solid #a9c5e5;
  background: #f7f9fc;
  color: #2b426e;
  line-height: 1.5;
  text-align: center;
}

.p-greeting .greeting-values-list li:nth-child(2n) {
  border-top-color: #ffc174;
}

.p-greeting .greeting-value__number {
  display: block;
  margin-bottom: 10px;
  color: #7d97bb;
  font-size: 12px;
  font-weight: 700;
  letter-spacing: .18em;
}

.p-greeting .greeting-values-list strong {
  display: block;
  font-size: 16px;
  font-weight: 700;
}

.p-greeting .greeting-section--future {
  padding: 78px 0 88px;
  background: #eef3f9;
}

.p-greeting .greeting-future__content {
  max-width: 900px;
  margin: 0 auto;
}

.p-greeting .greeting-future__mark {
  display: block;
  margin: -4px 0 24px;
  color: #9aacc7;
  font-family: Georgia, "Times New Roman", serif;
  font-size: clamp(34px, 4vw, 48px);
  letter-spacing: .08em;
  text-align: left;
  white-space: nowrap;
}

@media only screen and (max-width: 767px) {
  .p-greeting .page-visual {
    padding: 42px 10px 38px;
  }

  .p-greeting .page-visual .page-ttl .ttljp {
    font-size: 27px;
  }

  .p-greeting .page-visual .page-ttl .ttlen {
    font-size: 12px;
    letter-spacing: .16em;
  }

  .p-greeting .greeting-intro,
  .p-greeting .greeting-section {
    padding: 58px 0 64px;
  }

  .p-greeting .greeting-heading {
    margin-bottom: 38px;
  }

  .p-greeting .greeting-heading__en,
  .p-greeting .greeting-section__label {
    font-size: 11px;
  }

  .p-greeting .greeting-heading__jp {
    padding-bottom: 20px;
    font-size: 22px;
    line-height: 1.6;
  }

  .p-greeting .greeting-heading__jp::after {
    width: 60px;
    height: 2px;
  }

  .p-greeting .greeting-intro__content {
    display: block;
  }

  .p-greeting .greeting-intro__content {
    padding: 36px 24px 38px;
  }

  .p-greeting .greeting-intro__copy {
    padding: 4px 0 4px 25px;
  }

  .p-greeting .greeting-intro__copy > .greeting-heading {
    margin-bottom: 25px;
  }

  .p-greeting .greeting-intro__copy > .greeting-heading .greeting-heading__jp {
    padding-bottom: 17px;
    font-size: 21px;
  }

  .p-greeting .greeting-intro__copy p,
  .p-greeting .greeting-section__body p,
  .p-greeting .greeting-section__narrow > p,
  .p-greeting .greeting-future__content p {
    font-size: 15px;
    line-height: 1.95;
  }

  .p-greeting .greeting-intro__portrait {
    width: min(82%, 320px);
    margin: 42px auto 0;
  }

  .p-greeting .greeting-section__title {
    margin-bottom: 22px;
    font-size: 24px;
  }

  .p-greeting .greeting-values-list {
    grid-template-columns: repeat(2, 1fr);
    gap: 12px;
    margin: 4px 0 28px;
  }

  .p-greeting .greeting-values-list li {
    min-height: 98px;
    padding: 22px 8px 13px;
  }

  .p-greeting .greeting-values-list strong {
    font-size: 13px;
  }

  .p-greeting .greeting-section--future {
    padding: 56px 0 62px;
  }

  .p-greeting .greeting-future__content {
    display: block;
  }

  .p-greeting .greeting-future__mark {
    margin: -2px 0 22px;
    font-size: 31px;
    text-align: left;
  }

}
