.p-slogan {
  border-bottom: 1px solid var(--color-bg_C);
}
@media only screen and (max-width: 980px) {
  .p-slogan {
    margin-bottom: 24px;
    padding-bottom: 28px;
  }
}
@media print, screen and (min-width: 981px) {
  .p-slogan {
    margin-bottom: 92px;
    padding-bottom: 32px;
  }
}
.p-slogan p {
  font-weight: 400;
  text-align: center;
}
@media only screen and (max-width: 980px) {
  .p-slogan p {
    font-size: 1.5rem;
    letter-spacing: 0.05em;
    line-height: 1.3;
  }
}
@media print, screen and (min-width: 981px) {
  .p-slogan p {
    font-size: 2.375rem;
    letter-spacing: 0.15em;
    line-height: 1.4;
  }
}
.p-slogan p strong {
  font-weight: 400;
}
@media only screen and (max-width: 980px) {
  .p-slogan p strong {
    font-size: 2rem;
  }
}
@media print, screen and (min-width: 981px) {
  .p-slogan p strong {
    font-size: 3rem;
  }
}

.p-philosophy {
  display: -ms-grid;
  display: grid;
}
@media print, screen and (min-width: 981px) {
  .p-philosophy {
    gap: 60px;
    -ms-grid-columns: 367px 60px 1fr;
    grid-template-columns: 367px 1fr;
  }
}
@media only screen and (max-width: 980px) {
  .p-philosophy {
    margin-bottom: 80px;
  }
}
@media print, screen and (min-width: 981px) {
  .p-philosophy {
    margin-bottom: 190px;
  }
}

@media only screen and (max-width: 980px) {
  .p-philosophy-image {
    margin: 0 auto 40px;
    width: 230px;
  }
}
@media print, screen and (min-width: 981px) {
  .p-philosophy-image {
    width: 367px;
  }
}
.p-philosophy-image img {
  height: auto;
  width: 100%;
}

@media only screen and (max-width: 980px) {
  .p-philosophy-detail {
    padding-top: 4px;
  }
}
.p-philosophy-detail h3 {
  color: var(--color-deepblue);
}
@media only screen and (max-width: 980px) {
  .p-philosophy-detail h3 {
    margin-block: 0 8px;
    text-align: center;
  }
}
@media print, screen and (min-width: 981px) {
  .p-philosophy-detail h3 {
    margin-block: 0 4px;
  }
}
@media only screen and (max-width: 980px) {
  .p-philosophy-detail h3:not(:first-child) {
    margin-top: 32px;
  }
}
@media print, screen and (min-width: 981px) {
  .p-philosophy-detail h3:not(:first-child) {
    margin-top: 40px;
  }
}
@media only screen and (max-width: 980px) {
  .p-philosophy-detail p {
    font-size: 1.25rem;
    line-height: 1.5;
    text-align: center;
  }
}
@media print, screen and (min-width: 981px) {
  .p-philosophy-detail p {
    font-size: 1.75rem;
    line-height: 1.6;
  }
}