@charset "UTF-8";

/* ============================================
   School Page
   s-school-*
   Theme: "The Sunny Classroom" (Bright, Friendly, Clean)
   ============================================ */

/* Variables */
:root {
  --school-text: #444;
  --school-primary: #d86d7e; /* 優しい撫子色 */
  --school-base: #fdfbf7; /* 温かみのあるオフホワイト */
  --school-navy: #2b4e6a; /* 信頼のネイビー */
  --school-border: #eee;
}

/* --------------------------------------------
   Common
   -------------------------------------------- */
.s-school-scope {
  font-family: "Noto Serif JP", "Helvetica Neue", sans-serif;
  color: var(--school-text);
  line-height: 1.8;
}

.s-school-scope .l-container {
  max-width: 960px;
  margin: 0 auto;
  padding: 0 20px;
}

/* --------------------------------------------
   1. Hero
   -------------------------------------------- */
.s-school-hero {
  background-color: var(--school-base);
  padding: 6rem 0 4rem;
  text-align: center;
  border-bottom: 1px solid var(--school-border);
}

.s-school-hero__title {
  font-size: 2.2rem;
  color: var(--school-text);
  margin-bottom: 1rem;
  font-weight: bold;
  letter-spacing: 0.1em;
}

.s-school-hero__sub {
  font-size: 1.1rem;
  color: var(--school-primary);
  font-weight: bold;
  margin-bottom: 2rem;
  display: block;
}

.s-school-hero__lead {
  font-size: 1rem;
  color: #666;
  line-height: 2;
  max-width: 700px;
  margin: 0 auto;
}

/* --------------------------------------------
   2. Notice Board (Schedule)
   -------------------------------------------- */
.s-school-notice {
  padding: 4rem 0;
  background: #fff;
}

.s-school-notice__board {
  background: #fff;
  border: 2px solid var(--school-primary);
  border-radius: 12px;
  padding: 2.5rem;
  max-width: 800px;
  margin: 0 auto;
  box-shadow: 0 4px 15px rgba(216, 109, 126, 0.1);
  position: relative;
}

.s-school-notice__board::before {
  content: "生徒募集中";
  position: absolute;
  top: -15px;
  left: 50%;
  transform: translateX(-50%);
  background: var(--school-primary);
  color: #fff;
  padding: 0.4rem 1.5rem;
  border-radius: 20px;
  font-weight: bold;
  font-size: 0.9rem;
  box-shadow: 0 2px 5px rgba(0, 0, 0, 0.1);
}

.s-school-notice__title {
  text-align: center;
  font-size: 1.4rem;
  margin-bottom: 2rem;
  color: var(--school-text);
  border-bottom: 1px dashed #ddd;
  padding-bottom: 1rem;
}

.s-school-notice__grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 2rem;
}

@media (max-width: 600px) {
  .s-school-notice__grid {
    grid-template-columns: 1fr;
  }
}

.s-school-notice__item {
  background: var(--school-base);
  padding: 1.5rem;
  border-radius: 8px;
  text-align: center;
}

.s-school-notice__label {
  font-size: 0.9rem;
  color: #888;
  margin-bottom: 0.5rem;
  display: block;
}

.s-school-notice__date {
  font-size: 1.6rem;
  font-weight: bold;
  color: var(--school-text);
  margin-bottom: 0.5rem;
}

.s-school-notice__time {
  font-size: 1rem;
  color: #555;
}

.s-school-notice__status {
  margin-top: 1rem;
  color: var(--school-primary);
  font-weight: bold;
  font-size: 0.9rem;
}

/* --------------------------------------------
   3. Merits List
   -------------------------------------------- */
.s-school-merit {
  padding: 4rem 0 6rem;
  background-color: var(--school-base);
}

.s-school-merit__box {
  max-width: 860px;
  margin: 0 auto;
  background: #fff;
  border-radius: 8px;
  padding: 3rem;
  box-shadow: 0 5px 20px rgba(0, 0, 0, 0.05);
}

.s-school-merit__head {
  text-align: center;
  font-size: 1.5rem;
  color: var(--school-navy);
  margin-bottom: 2.5rem;
  font-weight: bold;
}

.s-school-merit__head span {
  border-bottom: 3px solid var(--school-primary);
  padding-bottom: 5px;
}

.s-school-merit__list {
  list-style: none;
  padding: 0;
  margin: 0;
  display: grid;
  gap: 1.5rem;
}

.s-school-merit__item {
  display: flex;
  align-items: flex-start;
  gap: 1rem;
  font-size: 1.05rem;
  color: #555;
  line-height: 1.8;
}

.s-school-merit__icon {
  flex-shrink: 0;
  width: 24px;
  height: 24px;
  background: var(--school-primary);
  color: #fff;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 0.8rem;
  margin-top: 3px;
}

/* --------------------------------------------
   4. Curriculum (Ippitsusen)
   -------------------------------------------- */
.s-school-ippitsu {
  padding: 6rem 0;
  background: #fff;
}

.s-school-ippitsu__container {
  display: flex;
  align-items: center;
  gap: 4rem;
}

@media (max-width: 768px) {
  .s-school-ippitsu__container {
    flex-direction: column;
  }
}

.s-school-ippitsu__img {
  flex: 1;
  border-radius: 8px;
  box-shadow: 0 5px 20px rgba(0, 0, 0, 0.08);
  overflow: hidden;
}

.s-school-ippitsu__img img {
  width: 100%;
  height: auto;
  display: block;
}

.s-school-ippitsu__text {
  flex: 1;
}

.s-school-sec-header {
  font-size: 1.6rem;
  margin-bottom: 1.5rem;
  color: var(--school-text);
  border-left: 5px solid var(--school-primary);
  padding-left: 1rem;
  line-height: 1.4;
}

.s-school-body-text {
  margin-bottom: 1.5rem;
  color: #555;
  text-align: justify;
}

/* --------------------------------------------
   5. Video Lesson (Vertical Optimized)
   -------------------------------------------- */
.s-school-video {
  padding: 6rem 0;
  background-color: var(--school-base);
}

.s-school-video__head {
  text-align: center;
  margin-bottom: 3rem;
}

.s-school-video__head h3 {
  font-size: 1.6rem;
  margin-bottom: 0.5rem;
}

.s-school-video__head p {
  font-size: 0.95rem;
  color: #777;
}

.s-school-video__grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 2rem;
  max-width: 800px;
  margin: 0 auto;
}

@media (max-width: 600px) {
  .s-school-video__grid {
    grid-template-columns: 1fr;
  }
}

.s-school-video__card {
  background: #fff;
  padding: 1rem;
  border-radius: 8px;
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.05);
  display: flex;
  flex-direction: column;
  align-items: center;
}

.s-school-video__wrapper {
  width: 100%;
  max-width: 320px;
  border-radius: 4px;
  overflow: hidden;
  position: relative;
  aspect-ratio: 3 / 4;
  background: #000;
}

.s-school-video__wrapper video {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.s-school-video__caption {
  margin-top: 1rem;
  text-align: left;
  width: 100%;
  max-width: 320px;
}

.s-school-video__title {
  font-size: 1.1rem;
  font-weight: bold;
  color: var(--school-navy);
  margin-bottom: 0.5rem;
  display: block;
}

.s-school-video__desc {
  font-size: 0.9rem;
  color: #666;
  line-height: 1.6;
}

/* --------------------------------------------
   6. Details & CTA
   -------------------------------------------- */
.s-school-details {
  padding: 6rem 0;
  background: #fff;
}

.s-school-details__grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 4rem;
}

@media (max-width: 768px) {
  .s-school-details__grid {
    grid-template-columns: 1fr;
    gap: 3rem;
  }
}

.s-school-details__title {
  font-size: 1.2rem;
  border-bottom: 2px solid var(--school-primary);
  padding-bottom: 0.5rem;
  margin-bottom: 1.5rem;
  color: var(--school-text);
}

.s-school-table {
  width: 100%;
  border-collapse: collapse;
}

.s-school-table th,
.s-school-table td {
  padding: 1rem 0;
  border-bottom: 1px solid #eee;
  text-align: left;
  font-size: 0.95rem;
}

.s-school-table th {
  width: 30%;
  color: var(--school-text);
  font-weight: bold;
}

.s-school-table td {
  color: #666;
}

.s-school-cta {
  padding: 6rem 0;
  background: #fff;
  text-align: center;
  border-top: 1px solid #eee;
}

.s-school-cta__btn {
  display: inline-block;
  background-color: var(--school-navy);
  color: #fff;
  padding: 1.2rem 4rem;
  border-radius: 50px;
  font-size: 1.1rem;
  text-decoration: none;
  font-weight: bold;
  transition: background 0.3s;
  box-shadow: 0 4px 10px rgba(43, 78, 106, 0.2);
}

.s-school-cta__btn:hover {
  background-color: #1f3a50;
  transform: translateY(-2px);
}
