@charset "utf-8";
.mainvisual{
  margin: 0 auto;
  padding-bottom: 30px;
}
.mainvisual h1{
  width: fit-content;
  font-size: 130%;
  letter-spacing: 1px;
  line-height: 1.7;
  font-weight: normal;
  color: #fff;
  padding: 20px 10px;
  position: relative;
  z-index: 0;
}
.mainvisual h1::before{
  content: '';
  width: 120%;
  height: 100%;
  background: var(--page_color);
  position: absolute;
  top: 0%;
  right: 100%;
  z-index: -1;
  transition: all 0.5s ease-in-out;
}
.mainvisual.active h1::before{
  right: -10%;
}
.mainvisual .img-box{
  height: 30vh;
  width: 100%;
  overflow: hidden;
  position: relative;
}
.mainvisual .img-box img{
  display: block;
  width: 100%;
  height: auto;
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
}

.page-lead{
  padding: 0rem 1rem 5rem;
  letter-spacing: 1px;
  line-height: 2;
  text-align: justify;
}
.page-lead span{
  background: linear-gradient(transparent 70%, #f1f7d0 70% 88%, transparent 88%);
}
.section{
  margin: 0 auto 60px;
}
.section .ttl02{
  font-weight: normal;
  border-bottom: 1px solid var(--page_color);
  padding: 0 10px 5px;
  margin-bottom: 2rem;
}
.life-schedule-table ul{
  width: 90%;
  margin: 0 auto;
  position: relative;
  z-index: 0;
}
.life-schedule-table ul::before{
  content: '';
  width: 2px;
  height: 100%;
  background: var(--page_color);
  position: absolute;
  top: 0;
  left: 5%;
  margin: auto;
  z-index: -1;
}
.life-schedule-table ul li{
  width: fit-content;
  margin: 0 0 20px;
  padding: 8px 30px 10px;
  background: var(--accent_pink);
  color: #fff;
  font-size: 116%;
  letter-spacing: 1px;
}
.life-schedule-table .note{
  font-size: 90%;
  padding: 0 10px;
}

.life-item:nth-of-type(even){
  background: #f7f7f7;
  padding: 40px 0 35px;
  margin: 40px auto;
}
.life-item h3{
  font-size: 130%;
  letter-spacing: 1px;
  padding: 5px 15px;
  margin-bottom: 0.7rem;
  color: #fff;
  width: fit-content;
  font-weight: normal;
  position: relative;
  z-index: 0;
}
.life-item h3::before{
  content: '';
  height: 100%;
  width: 100%;
  background: var(--accent_pink);
  position: absolute;
  top: 0;
  right: 100%;
  z-index: -1;
  transition: 0.3s;
}
.life-item.active h3::before{
  right: 0%;
}
.life-item p{
  padding: 0 20px;
  letter-spacing: 1px;
  line-height: 1.8;
  margin-bottom: 0.5rem;
  text-align: justify;
}
.life-item p.exam{
  font-size: 95%;
  margin-top: -0.5rem;
}
.life-item ul{
  padding: 0 20px;
  margin: 1rem 0;
}
.life-item ul li{
  margin-bottom: 0.5rem;
}
.life-item .small{
  font-size: 80%;
}