@charset "UTF-8";
/* ------------------------------ */
/* 固定ページ：ごあいさつ・校歌・校章 */
/* ------------------------------ */
.page_principal p + p {
  margin-top: 1em;
}
.page_principal .greetings .img {
  width: 100%;
}
.page_principal .greetings .img img {
  height: auto;
  width: 100%;
}
.page_principal .greetings .txt {
  margin-top: 30px;
  width: 100%;
}
@media (min-width: 768px) {
  .page_principal .greetings .txt {
    margin-top: 0;
  }
}
.page_principal .greetings .txt p:last-child {
  margin-top: 3em;
  text-align: right;
}
@media (min-width: 768px) {
  .page_principal .greetings {
    display: grid;
    grid-template-columns: 56.45% 39.54%;
    justify-content: space-between;
  }
}
.page_principal .song .lyrics {
  display: grid;
  gap: 50px;
  grid-template: "first" auto "second" auto "third" auto/auto;
  justify-content: center;
}
.page_principal .song .lyrics p {
  -ms-writing-mode: tb-rl;
  -webkit-writing-mode: vertical-rl;
  letter-spacing: 7px;
  line-height: 2.6;
  margin-top: 0;
  text-orientation: upright;
  writing-mode: vertical-rl;
}
.page_principal .song .lyrics .first {
  grid-area: first;
}
.page_principal .song .lyrics .second {
  grid-area: second;
}
.page_principal .song .lyrics .third {
  grid-area: third;
}
@media (min-width: 512px) {
  .page_principal .song .lyrics {
    grid-template: "second first" auto "third third" auto/auto auto;
  }
}
@media (min-width: 768px) {
  .page_principal .song .lyrics {
    gap: 52px;
    grid-template: "third second first" auto/auto auto auto;
    justify-content: start;
  }
  .page_principal .song .lyrics p {
    line-height: 2.2;
  }
}
@media (min-width: 880px) {
  .page_principal .song .lyrics {
    gap: 54px;
  }
  .page_principal .song .lyrics p {
    line-height: 2.4;
  }
}
@media (min-width: 992px) {
  .page_principal .song .lyrics {
    gap: 56px;
  }
  .page_principal .song .lyrics p {
    line-height: 2.6;
  }
}
.page_principal .song .img {
  margin-top: -13%;
  position: relative;
  text-align: right;
  z-index: -1;
}
.page_principal .song .img img {
  height: auto;
  width: clamp(280px, 80%, 710px);
}
@media (min-width: 768px) {
  .page_principal .emblem {
    display: grid;
    gap: 20px;
    grid-template-columns: min(35vw, 400px) 1fr;
    justify-content: space-between;
  }
}
.page_principal .emblem .img {
  text-align: center;
}
.page_principal .emblem .origin {
  margin-top: 30px;
}
@media (min-width: 768px) {
  .page_principal .emblem .origin {
    margin-top: 0;
  }
}
.page_principal .emblem .origin dl {
  align-items: center;
  display: grid;
  font-size: 16px;
  gap: 20px;
  grid-template-columns: auto auto;
  list-style: none;
}
@media (min-width: 768px) {
  .page_principal .emblem .origin dl {
    grid-template-columns: auto 1fr;
  }
}
.page_principal .emblem .origin dt {
  font-weight: normal;
  justify-self: end;
}
.page_principal .emblem .origin dd {
  align-items: center;
  display: grid;
  gap: 20px;
  grid-template-columns: clamp(20px, 6vw, 70px) auto;
  justify-self: start;
}
.page_principal .emblem .origin dd:before {
  background: rgba(153, 150, 145, 0.4);
  content: "";
  display: inline-block;
  height: 1px;
  width: 100%;
}
.page_principal .vedruna,
.page_principal .opening {
  background: #FAF8F5;
}
.page_principal .vedruna .box,
.page_principal .opening .box {
  align-items: center;
  display: grid;
  font-size: 16px;
  font-weight: 300;
  gap: min(4vw, 40px);
  margin: 0 auto;
  max-width: 1000px;
  padding: 30px 20px;
}
.page_principal .vedruna .box .img,
.page_principal .opening .box .img {
  margin: 0 auto;
  text-align: center;
}
.page_principal .vedruna .box .img .caption,
.page_principal .opening .box .img .caption {
  line-height: 1.5;
  margin-top: 0.5em;
}
.page_principal .vedruna .box .img .caption span,
.page_principal .opening .box .img .caption span {
  white-space: nowrap;
}
@media (min-width: 768px) {
  .page_principal .vedruna .box {
    grid-template-columns: auto 1fr;
  }
  .page_principal .vedruna .box .img .caption span {
    display: block;
  }
}
.page_principal .opening {
  margin-top: 20px;
}
@media (min-width: 768px) {
  .page_principal .opening .box {
    grid-template-columns: 1fr auto;
  }
}
.page_principal .sister_school {
  overflow: hidden;
}
.page_principal .sister_school img {
  grid-area: img;
  width: 100%;
}
.page_principal .sister_school .msg {
  font-size: 16px;
  font-weight: 500;
  grid-area: msg;
  padding: 30px 0;
  white-space: nowrap;
}
.page_principal .sister_school .dtl {
  font-size: 14px !important;
  grid-area: dtl;
}
@media (min-width: 768px) {
  .page_principal .sister_school img {
    float: right;
    margin: 0 0 1em min(4vw, 40px);
    width: 75%;
  }
}
.page_principal .audio {
  display: flex;
  justify-content: center;
  margin-top: 20px;
}
