@charset "UTF-8";
/* CSS Document */
/*
VARIABLES
================================================ */ 
/*
GENERAL STYLING
================================================ */
html {
  font-size: 62.5%;
}
body {
  height: 100vh;
  font-size: 1.6rem;
  color: var(--black);
  font-family: var(--NotoSans-font);
  text-size-adjust: none;
  -webkit-text-size-adjust: 100%;
}
section {
  position: relative;
  max-width: 2000px;
  margin: 2em auto;
}
aside {
  margin-bottom: 1em;
  padding: 1em;
  background: var(--light-green);
  border-radius: 8px;
}
img {
  max-width: 100%;
}
a {
  text-decoration: none;
  color: inherit;
}
aside a {
  display: inline-block;
  width: 100%;
  height: 100%;
  text-decoration: none;
  color: #000;
  line-height: 2em;
  padding-left: 1em;
}
#message h1 {
  padding: 60px 4% 0;
}
#message h2 {
  line-height: 1.5em;
}
#message h3 {
  padding-top: 0.2em;
}
#message section {
  padding: 60px 4% 0;
}
#message p {
  text-align: justify; /* テキストを両端揃えにする */
  word-break: break-all; /* 日本語で単語の途中で改行させる */
}
.message-flex-item:nth-child(1) p{
    margin-top: 0;
}

#keyWrap.thick.kwAbout {
  background-image: url("../images/guide/message/massage-top-bg.jpg");
  background-position: center;
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
}
#keyWrap.thick {
  color: #fff;
  width: 100%;
  height: 50vh;
  display: block;
  background-size: cover;
  background-position: 20% center;
  background-attachment: scroll;
}
.principal {}
.principal figure {
  background-image: url("../images/guide/message/2025principal.jpg");
  background-repeat: no-repeat;
  background-size: cover;
  background-position: center top;
  aspect-ratio: 3 / 4;
  width: 100%;
  height: 100%;
  border: none;
	border-radius: 8px;
}
.Schoolmission figure {
  background-image: url("../images/guide/message/noringd.jpg");
  background-repeat: no-repeat;
  background-size: cover;
  aspect-ratio: 3 / 4;
  width: 100%;
  height: 100%;
  border: none;
}
#message .item {
  font-weight: 500;
}
#message .item-1 {
  padding-left: 1em;
  text-indent: -1em;
}
#message .item-2 {
  
  padding-left: 2em;
  text-indent: -1em;
}

/* タブレット以上：2列 */
@media (min-width: 640px) {
.principal figure {
	aspect-ratio: 4 / 3 ;
	}
}
/* デスクトップ以上：3列 */
@media (min-width: 1024px) {
  .message-flex{
	  display: flex;
	  column-gap: 20px;
  }
.message-flex-item:nth-child(1) {
    flex: 1;
}

.message-flex-item:nth-child(2) {
    flex: 0 0 40%;
}}