@charset "UTF-8";

.photo-placeholder {
  background: #d8dce8;
  display: flex;
  align-items: center;
  justify-content: center;
  color: #999;
  font-size: 12px;
  width: 100%;
  aspect-ratio: 4/3;
}

.photo-placeholder.food-wide {
  aspect-ratio: 16/6;
}

.schoollife-section-title {
  text-align: center;
  font-size: 34px;
  font-weight: 400;
  color: var(--accent);
  letter-spacing: 0.08em;
  padding: 60px 20px 40px;
}
.schoollife-title-leaf {
  text-align: center;
  margin-top: -20px;
  margin-bottom: 90px;
}
.schoollife-title-leaf img {
  width: 160px;
  height: auto;
}

/* 1日の流れ */
.schoollife-daily {
  background: #fff;
  padding-bottom: 0;
}

.daily-cols {
  max-width: 900px;
  margin: 0 auto;
  padding: 0 40px 60px;
}

.daily-table {
  width: 100%;
  border-collapse: separate;
  table-layout: fixed;
  display: table;
  border-spacing: 15px;
}

.daily-table td {
  vertical-align: top;
  padding: 25px 32px;
  width: calc((100% - 96px) / 2);
}

.daily-table th.daily-time {
  width: 96px;
  text-align: left;
  padding: 25px 18px;
  font-size: 22px;
  color: var(--accent);
  font-weight: 700;
  vertical-align: top;
  border-radius: 35px 0 0 35px;
}

.daily-table th.daily-time-header {
  width: 96px;
  background: transparent;
}

.daily-col {
  border-radius: 4px;
  overflow: hidden;
  padding-bottom: 20px;
}

.sl-col-green {
  background: var(--green);
}

.sl-col-accent {
  background: var(--accent);
}

.sl-col-green2 {
  background: var(--green2);
}
.daily-col-title {
  color: #fff;
  font-weight: 700;
  text-align: center;
  padding: 14px;
  font-size: 18px;
  letter-spacing: 0.1em;
  margin-bottom: 0;
  border-radius: 15px 15px 0 0;
  text-shadow: #555 1px 1px 0px, #555 -1px 1px 0px, #555 -1px -1px 0px, #555 1px -1px 0px;
}

.daily-item {
  padding: 20px 16px;
  color: #fff;
  font-size: 18px;
}
th.class-green {
  background: url(../images/glass_green.png) center/cover repeat;
}
th.class-white {
  background: url(../images/glass_purple.png) center/cover repeat;
}
td.class-green {
  background: var(--green-dark);
}
td.class-white {
  background: var(--accent);
}
.daily-time {
  flex-shrink: 0;
  font-size: 18px;
  opacity: 0.8;
  padding-top: 2px;
  background: var(--accent-bg);
}

.daily-item strong {
  display: block;
  font-size: 18px;
  font-weight: 500;
  margin-bottom: 4px;
}

.daily-item p {
  font-size: 18px;
  opacity: 0.85;
  line-height: 1.6;
}

@media (max-width: 768px) {
  .daily-cols {
    padding: 0 10px 50px;
    width: 100%;
  }
  .daily-table,
  .daily-table tr {
    margin-inline: auto;
    border-spacing: 7px;
  }
  .daily-table th.daily-time-header {
    width: 50px;
  }
  .daily-col-title {
    font-size: 16px;
  }
  .daily-table td {
    vertical-align: top;
    padding: 15px 12px;
    width: calc((100% - 50px) / 2);
  }
  .daily-table th.daily-time {
    width: 50px;
    text-align: left;
    padding: 10px 8px;
    font-size: 13px;
    border-radius: 15px 0 0 15px;
  }
  .daily-item p {
    font-size: 14px;
    opacity: 0.85;
    line-height: 1.6;
  }
}

/* 年間行事 */
.schoollife-events {
  background: #eceaf2;
  padding: 0 40px 60px;
}

.events-grid {
  max-width: 1080px;
  background: #fff;
  padding: 40px;
  margin: 0 auto 16px;
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 60px;
}

.events-column {
  display: flex;
  flex-direction: column;
  gap: 0;
}

.event-row {
  display: flex;
  align-items: center;
  gap: 16px;
  padding: 14px 0;
  border-bottom: 1px solid rgba(0, 0, 0, 0.1);
  font-size: 16px;
  color: #555;
  line-height: 1.5;
}

.event-month {
  width: 56px;
  flex-shrink: 0;
  color: var(--accent);
  font-weight: 500;
}

.event-name {
  flex: 1;
}

.event-photo-sm {
  width: 190px;
  height: 120px;
  background: #d0ccdd;
  flex-shrink: 0;
  border-radius: 2px;
}
.event-photo-sm img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.events-note {
  text-align: center;
  font-size: 12px;
  color: #888;
  letter-spacing: 0.04em;
  max-width: 1200px;
  margin: 0 auto;
}

@media (max-width: 768px) {
  .events-grid {
    grid-template-columns: 1fr;
    gap: 0;
  }
  .schoollife-events {
    padding: 0 20px 50px;
  }
}
@media (max-width: 480px) {
  .events-grid {
    padding: 10px;
  }
  .schoollife-events {
    padding: 0 5px 30px;
  }
  .event-photo-sm {
    width: 120px;
    height: 45px;
    background: #d0ccdd;
    flex-shrink: 0;
    border-radius: 2px;
  }
}

/* 食について */
.schoollife-food {
  background: #fff;
  padding: 0 40px 60px;
}

.food-inner {
  max-width: 1000px;
  margin: 0 auto;
}

.food-intro {
  font-size: 14px;
  color: #666;
  line-height: 2.0;
  letter-spacing: 0.06em;
  margin-bottom: 24px;
}

.food-main-photo {
  margin-bottom: 20px;
}

.food-sub-photos {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 16px;
}

.food-sub-item {
  background: var(--green-dark);
  padding: 20px;;
}
.food-sub-item h3 {
  font-size: 17px;
  font-weight: 400;
  color: #fff;
  margin-bottom: 8px;
  margin-top: 10px;
  letter-spacing: 0.06em;
}
.food-caption {
  font-size: 15px;
  color: #fff;
  margin-top: 6px;
  line-height: 1.5;
  text-align: justify;
}

@media (max-width: 768px) {
  .food-sub-photos {
    grid-template-columns: 1fr;
  }
  .schoollife-food {
    padding: 0 20px 50px;
  }
}
@media (max-width: 480px) {
  .food-sub-item img {
    width: 100%;
    height: auto;
  }
}
/* 校外学習 */
.schoollife-fieldtrip {
  background: #fff;
  padding: 0 40px 60px;
}

.fieldtrip-inner {
  max-width: 1080px;
  margin: 0 auto;
}

.fieldtrip-intro {
  font-size: 14px;
  color: #666;
  line-height: 2.0;
  letter-spacing: 0.06em;
  margin-bottom: 24px;
}

.fieldtrip-photos {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 40px;
}

.fieldtrip-caption {
  font-size: 12px;
  color: #888;
  margin-top: 6px;
}

@media (max-width: 768px) {
  .fieldtrip-photos {
    grid-template-columns: 1fr;
  }
  .schoollife-fieldtrip {
    padding: 0 20px 50px;
  }
}

/* 営いごと */
.schoollife-totonoe {
  background: var(--green2);
  padding: 60px 40px 80px;
}
.schoollife-totonoe h2 {
  color: #fff;
  letter-spacing: 0.08em;
  margin-bottom: 16px;
}
.schoollife-totonoe p.section-heading-en {
  color: #fff;
  letter-spacing: 0.08em;
  margin-bottom: 16px;
}
.totonoe-intro {
  max-width: 800px;
  margin: 0 auto 40px;
  font-size: 16px;
  color: #fff;
  line-height: 2.0;
  letter-spacing: 0.06em;
  text-align: center;
}

.totonoe-grid {
  max-width: 1080px;
  margin: 0 auto;
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 40px;
}

.totonoe-card {
  border-radius: 4px;
  overflow: hidden;
  width: 100%;
  min-height: 250px;
  display: flex;
}
.totonoe-side {
  content: " ";
  width: 60px;
  height: auto;
  background: url('../images/side_green.png') center/cover no-repeat;
}
.totonoe-cont {
  background-color: #fff;
  width: 100%;
  padding: 40px 40px 30px 30px;
	clip-path: polygon(0 0, 90% 0, 100% 20%, 100% 80%, 90% 100%, 0 100%);
  -webkit-clip-path: polygon(0 0, 90% 0, 100% 20%, 100% 80%, 90% 100%, 0 100%);
}

.totonoe-card h3 {
  font-size: 26px;
  font-weight: 500;
  color: var(--green-dark);
  margin-bottom: 12px;
  letter-spacing: 0.1em;
}

.totonoe-card p {
  font-size: 16px;
  color: #666;
  line-height: 1.9;
}
.totonoe-data-row {
  display: flex;
  margin: 10px 0;
  width: 100%;
}
.totonoe-data-row dt {
  font-size: 18px;
  color: var(--green-dark);
  flex-shrink: 0;
  width: 100px;
  line-height: 1.5;
  border-top: var(--green2) 3px solid;
  padding-top: 10px;
}
.totonoe-data-row dd {
  width: calc(100% - 100px); 
  font-size: 16px;
  color: #555;  
  margin: 0;
  margin-top: 1px;
  line-height: 1.5;
  border-top: #aaa 1px solid;
  padding-top: 12px;
}
@media (max-width: 768px) {
  .totonoe-grid {
    grid-template-columns: 1fr;
  }
  .schoollife-totonoe {
    padding: 40px 20px 60px;
  }
}
@media (max-width: 480px) {
  .totonoe-card {
    width: 100%;
    height: auto;
  }
  .totonoe-side {
    width: 30px;
  }
  .totonoe-card h3 {
    font-size: 20px;
  }
  .totonoe-cont {
    padding: 20px 20px 20px 20px;
    clip-path: polygon(0 0, 90% 0, 100% 10%, 100% 90%, 90% 100%, 0 100%);
    -webkit-clip-path: polygon(0 0, 90% 0, 100% 10%, 100% 90%, 90% 100%, 0 100%);
  }
  .totonoe-data-row dt {
    font-size: 16px;
    width: 80px;
    padding-top: 8px;
  }
  .totonoe-data-row dd {
    width: calc(100% - 80px); 
    font-size: 15px;
    padding-top: 10px;
  }
}
