/* ============================================================
   message/index.php
   ============================================================ */

.aboutas-section {
  background: #f6f9ff;
}


.msg-page-title {
  font-size: clamp(2rem, 4vw, 3rem);
  font-weight: 700;
  color: #070f21;
  line-height: 1.3;
  margin: 12px 0 16px;
}

.msg-page-subtitle {
  font-size: 1.4rem;
  font-weight: bold;
  color: var(--black);
  margin: 0;
}

/* ── Sections ── */
.msg-section {
  padding: 88px 0;
  background: #fff;
}

/* ── Large quote ── */
.msg-main-quote {
  font-family: "Shippori Mincho", serif;
  font-size: clamp(1.8rem, 3.5vw, 3.2rem);
  font-weight: 700;
  color: var(--navy);
  line-height: 1.75;
  text-align: center;
  margin: 0 0 72px;
}

/* ── Body text ── */
.msg-body {
  font-size: 15px;
  line-height: 2.3;
  color: var(--text);
}

.msg-body p+p {
  margin-top: 1.4em;
}

/* ── Photo wrap (reveal animation) ── */
.msg-photo-wrap {
  position: relative;
  overflow: hidden;
}

.msg-photo-wrap::after {
  content: '';
  position: absolute;
  inset: 0;
  background: var(--yellow);
  transform: translateX(0);
  transition: transform 0.8s cubic-bezier(0.77, 0, 0.175, 1);
  z-index: 1;
}

.fu.show .msg-photo-wrap::after {
  transform: translateX(101%);
}

.msg-photo-wrap img {
  opacity: 0;
  transition: opacity 0.6s ease 0.4s;
}

.fu.show .msg-photo-wrap img {
  opacity: 1;
}

.msg-photo-wrap--02 {
  width: 100%;
  max-width: 360px;
}

/* ── Photo ── */
.msg-photo {
  width: 100%;
  height: 100%;
  min-height: 320px;
  object-fit: cover;
  display: block;
}

.msg-photo02 {
  width: 100%;
}

.msg-photo-label {
  display: flex;
  align-items: center;
  justify-content: center;
  background: #d5dae6;
  min-height: 320px;
  font-size: 14px;
  color: var(--muted);
}

/* ── Course heading ── */
.msg-course-heading {
  font-size: clamp(1.2rem, 2.2vw, 1.7rem);
  font-weight: 700;
  color: var(--navy);
  line-height: 1.5;
  margin-bottom: 28px;
}

/* ── Responsive ── */
@media (max-width: 767px) {
  .msg-section {
    padding: 48px 0;
  }

  .msg-main-quote {
    margin-bottom: 40px;
  }

  .msg-photo {
    min-height: 220px;
  }

  .msg-photo-label {
    min-height: 220px;
  }
}