/* ==============================
   Aisatsu (Greeting) Page
============================== */

/* Greeting Section Styles */
.greeting-content {
  display: flex;
  align-items: center;
  margin-top: 30px;
  background-color: #f4f8fb8c;
  padding: 30px;
  border-radius: 8px;
  box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
}

/* Greeting Photo */
.greeting-photo {
  width: 220px;
  height: 220px;
  object-fit: cover;
  border-radius: 50%;
  box-shadow: 0 4px 12px rgba(61, 61, 61, 0.4);
  transition: transform 0.3s ease;
  margin: 0 auto;
}

/* Text blocks */
.affiliation {
  font-weight: 700;
  font-size: 1.6rem;
  margin-bottom: 0.25rem;
  color: #D93B4C;
}

.society-name {
  font-weight: 600;
  font-size: 1.4rem;
  color: #F86A53;
  border-left: 4px solid #F72C5B;
  padding-left: 12px;
  margin-bottom: 1rem;
}

.kaicho-greeting .row {
  display: flex;
  align-items: flex-start;
  flex-wrap: nowrap;
  gap: 2rem;
}

.greeting-message {
  font-size: 1.2rem;
  line-height: 1.7;
  padding: 2rem;
  margin-right: 1.5rem;
  text-align: justify;
}
/* Signature Block (Right Aligned) */
.greeting-signature {
  text-align: right;
  margin-top: 2rem;
  line-height: 1.8;
  font-weight: 500;
}

/* ==============================
   Responsive
============================== */

@media (max-width: 768px) {
  .kaicho-greeting .row {
    flex-direction: column;
    align-items: center;
  }

  .greeting-message {
    font-size: 1em;
    padding: 1.5rem;
  }

  .society-name {
    border-left: none;
    padding-left: 0;
  }

  .greeting-photo {
    width: 180px;
    height: 180px;
    margin-bottom: 1rem;
  }
}
