@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%);
}

/* セクションの余白 */
.admission,
.admission-flow,
.daily-life,
.meal-recreation,
.family-connection{
  width: 95%;
  max-width: 900px;
  margin: 0 auto;
  padding: 2.5rem 0.5rem;
}
.family-connection {
  margin: 0 auto 120px;
}

h2 {
  font-size: 1.3em;
  font-weight: 600;
  color: #2f3e3e;
  border-left: 4px solid var(--page_color);
  padding-left: 0.6em;
  margin-bottom: 1.5rem;
}

h3 {
  font-size: 1.1em;
  font-weight: 600;
  color: #4a4a4a;
  margin-top: 1.5em;
  margin-bottom: 0.5rem;
  padding-bottom: 3px;
  border-bottom: 1px solid var(--page_color);
}

.intro {
  font-size: 1em;
  line-height: 1.9;
  margin: 1.5em 1.2em 3.5em;
  text-align: justify;
}
.intro span{
  background: linear-gradient(transparent 70%, #ffd9bf 70% 88%, transparent 88%);
}

ul {
  list-style-type: disc;
  padding-left: 1em;
}

li {
  margin-bottom: 0.4em;
}

/* テーブル共通 */
table {
  width: 100%;
  border-collapse: collapse;
  margin: 1.2em 0;
  font-size: 0.95em;
}
table tr:first-of-type th{
  background: var(--accent_pink);
  color: #fff;
}
th, td {
  border: 1px solid #ddd;
  padding: 0.8em;
  text-align: left;
  vertical-align: top;
}

th {
  background-color: #f6f6f6;
  font-weight: 600;
  color: #333;
}

td {
  background-color: #fff;
}

p > strong {
  color: #2f3e3e;
}
p > .small{
  font-size: 90%;
}

section p:has(> span),
section p:has(> a[href]) {
  margin-top: 1em;
}

.admission-flow ul{
  padding: 0;
  margin: 0 auto 50px;
  position: relative;
  z-index: 0;
}
.admission-flow ul::before{
  content: '';
  width: 2px;
  height: 100%;
  background: var(--page_color);
  position: absolute;
  top: 0;
  left: 20px;
  z-index: -1;
}
.admission-flow ul li{
  margin-bottom: 25px;
}
.admission-flow ul li .num{
  font-size: 116%;
  letter-spacing: 1px;
  color: #fff;
  padding: 10px;
  margin-bottom: 10px;
  background: var(--accent_pink);
}
.admission-flow ul li .text{
  padding: 0 0 0 50px;
}
.admission-flow ul li a{
  color: #4b5e52;
  text-decoration: underline;
}
.admission-flow > a{
  display: block;
  font-weight: 600;
  color: #4b5e52;
  background: #f0f5f3;
  padding: 0.8em 1em;
  border-radius: 4px;
  margin-top: 1.2em;
  text-align: center;
  border: 2px solid #4b5e52;
  border-radius: 5px;
}

/* スケジュールリスト全体 */
.daily-life .schedule {
  list-style: none;
  padding: 0;
  margin: 2em auto;
  max-width: 500px;
}
.daily-life .schedule li {
  position: relative;
  padding: 0.7em 1em;
  background: var(--main_thin);
  border-radius: 8px;
  text-align: center;
  font-size: 108%;
  box-shadow: 0 1px 3px rgba(0,0,0,0.05);
}
.daily-life .schedule li::after {
  content: "▼";
  position: absolute;
  bottom: -1.5em;
  left: 50%;
  transform: translateX(-50%);
  font-size: 0.8em;
  color: var(--page_color);
}
.daily-life .schedule li:last-child::after {
  content: none;
}
.daily-life .schedule li + li {
  margin-top: 1.5em;
}
.daily-life .free-time{
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  align-items: stretch;
  padding: 0;
}
.daily-life .free-time li{
  width: 45%;
  text-align: center;
  margin-bottom: 2rem;
}
.daily-life .free-time li img{
  display: block;
  width: 30%;
  height: auto;
  margin: 0 auto 10px;
}

.meal-recreation .title-box{
  position: relative;
  margin-bottom: 1.5rem;
}
.meal-recreation .title-box img{
  display: block;
  width: 100%;
  height: auto;
}
.meal-recreation h3{
  background: var(--page_color);
  color: #fff;
  font-weight: normal;
  width: fit-content;
  padding: 7px 20px;
  letter-spacing: 1px;
  position: absolute;
  top: 0;
  left: 0;
  margin: 0;
}
.meal-recreation ul{
  padding: 0;
  margin-bottom: 3rem;
}
.meal-recreation li{
  border-bottom: 1px dashed var(--page_color);
  padding: 0 10px 5px;
  margin-bottom: 5px;
  letter-spacing: 1px;
}

tbody tr:nth-child(even) td {
  background-color: #fafafa;
}
.meal-recreation .message{
  font-size: 130%;
  letter-spacing: 1px;
  line-height: 2;
  display: inline;
  background: linear-gradient(transparent 80%, #ffc8a3 80% 100%, transparent 100%);
  margin: 0 auto;
}

.family-connection .img-box{
  width: 100%;
  height: auto;
  aspect-ratio: 16/9;
  background: #f7f7f7;
  margin: 0 auto 20px;
  overflow: hidden;
  position: relative;
  z-index: 0;
}
.family-connection .img-box img{
  display: block;
  width: 100%;
  height: auto;
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
}
.family-connection .text-box {
  font-size: 116%;
  letter-spacing: 1px;
  line-height: 2;
}
.family-connection .text-box p span {
  background: linear-gradient(transparent 80%, #ffc8a3 80% 100%, transparent 100%);
}