@charset "utf-8";
html {
  font-size: 100%;
}

* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

a {
  text-decoration: none;
  color: rgb(104, 104, 223);
}

img {
  border: none;

}

ul, li {
  list-style: none;
  padding: 0;
  margin: 0;
}

h1,h2,h3 {
  margin: 0;
}

body {
  margin: 0;
  padding: 0;
  background-color: #ffffff;
  font-size: 16px;
  line-height: 1.7;
  font-family: "メイリオ", "Meiryo", "ヒラギノ角ゴ Pro W3", "Hiragino Kaku Gothic Pro", "MS Ｐゴシック", "MS PGothic", sans-serif;
}

#info, section, .life, .study, #contentsMenu {
  width: 1166px;
  margin-left: auto;
  margin-right: auto;
}

/*ここからヘッダー*/
header {
  z-index: 1;
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  display: flex;
  justify-content: space-between;
  padding: 10px 16%;
  align-items: center;
}

header img {
  margin-left: 40px;
}

#gnavi {
  margin-left: auto;
}

#gnavi ul {
  display: flex;
}

#gnavi li {
  margin-left: 50px;
  font-size: 24px;
  color: #ffffff;
}

#gnavi li a {
  color: #ffffff;
  text-decoration: none;
}

#gnavi img {
  width: 40px;
  height: 40px;
}
/*ここまでヘッダー*/

/*ここからメイン*/
main {
  overflow: hidden;
  padding-top: 0;
}

.photo {
  position: relative;/*相対配置*/
}

#mainPhoto {
  width: 100%;
  height: 700px;
  margin: 0;
  padding: 0;
  overflow: hidden;
  background-size: cover;
  background-position: center;
  background-image: url(../../images/mainphoto.jpg);
  background-repeat: no-repeat;
}

#slogan {
  position: absolute;/*絶対配置*/
  color: #ffffff;
  text-align: center;
  font-size: 250%;
  font-family: "Noto Serif JP";
  letter-spacing: 4px;
  line-height: 2.1;
  top: 150px;
  right: 300px;
}

#info {
  margin-top: 150px;
  display: flex;
  justify-content: space-between;
}

#info_left {
  width: 60%;
  background-image: url(../../images/info.png);
  background-repeat: no-repeat;
  position: relative;
}

#info_left table {
  position: absolute;
  color: #ffffff;
  font-size: 100%;
  top: 95px;
  left: 71px;
  margin: 0;
}

#info_left th {
  font-weight: normal;
  text-align: left;
  padding-right: 38px;
}

#calendar {
  width: 420px;
  height: 380px;
  overflow: hidden;
  border: 0;
  flex-shrink: 0;
}

#calendar iframe {
  width: 100%;
  height: 100%;
  border: 0;
  box-shadow: none;
  display: block;
}

section {
  clear: both;
  overflow: hidden;
}

#text h2 {
  font-size: 250%;
  margin-top: 150px;
  text-align: center;
}

#text h3 {
  font-size: 200%;
  margin-top: 50px;
  text-align: center;
}

#text p {
  font-size: 20px;
  margin-top: 50px;
  text-align: center;
}

.life, .study {
  margin-top: 100px;
  display: flex;
}

.lifeimg {
  width: 40%;
  margin: 0 0 0 125px;
  padding: 0;
  overflow: hidden;
  position: relative;
}

.lifeText {
  width: 60%;
  margin: 0 0 0 150px;
  padding: 35px 0 0 0;
}

.lifeText h2 {
  margin: 0;
  padding: 0;
  font-size: 150%;
  line-height: 2.5;
}

.lifeText p {
  margin: 10px 0 0;
  padding: 0;
}

.studyText {
  width: 60%;
  margin: 0 0 0 20px;
  padding: 0;
}

.studyText h2 {
  margin: 0;
  padding: 0;
  font-size: 150%;
  line-height: 2.5;
}

.studyText p {
  margin: 10px 0 0;
  padding: 0;
}

.studyText dt {
  font-size: 125%;
  line-height: 1.7;
  padding-left: 25px;
}

.studyText dd {
  padding-left: 53px;
}

.studyimg {
  width: 40%;
  margin: 55px 0 0 70px;
  padding: 0;
  overflow: hidden;
  position: relative;
}

#contentsMenu {
  margin-top: 150px;
  margin-bottom: 100px;
}

#contentsMenu {
  display: flex;
  justify-content: space-around;
}

#contentsMenu h3 {
  margin-top: 21px;
  text-align: center;
}
/*ここまでメイン*/

/*ここからフッター*/
#copyRight {
  margin-top: 0;
  padding: 22px 0 22px 0;
  background-image: url(../images/footer.png);
  background-repeat: repeat-x;
  color: #ffffff;
  text-align: center;
}
/*ここまでフッター*/