/* 共通スタイル */
.wrapper {
  max-width: 1100px;
  margin: 0 auto;
  padding: 60px 20px;
  box-sizing: border-box;
}

h1 {
  font-size: 32px;
  font-weight: bold;
  text-align: center;
  margin-bottom: 15px;
  color: #5A7D5A;
}

h2 {
  font-size: 22px;
  font-weight: bold;
  color: #5A7D5A;
  margin-top: 40px;
  padding-bottom: 5px;
  border-bottom: 2px solid #E57373;
  display: inline-block;
}

/* プロフィールセクション */
.profile-section {
  display: flex;
  flex-wrap: wrap;
  align-items: flex-start;
  justify-content: center;
  gap: 40px;
}

.profile-img {
  width: 220px;
  height: 220px;
  border-radius: 50%;
  object-fit: cover;
  border: 4px solid #A8D5BA;
  box-shadow: 0 6px 12px rgba(0, 0, 0, 0.2);
}

.profile-info {
  flex: 1;
  display: flex;
  flex-direction: column;
  gap: 30px;
}

.profile-row {
  display: flex;
  gap: 30px;
}

.profile-label {
  font-weight: bold;
  color: #5A7D5A;
  width: 80px;
  text-align: left;
}

.profile-value {
  color: #333;
}

.timeline {
  margin-top: 10px;
}

.timeline-item {
  position: relative;
  background: #fff;
  padding: 10px 15px 10px 30px;
  margin-bottom: 10px;
  border-radius: 8px;
  box-shadow: 0 4px 6px rgba(0,0,0,0.1);
}

.timeline-item::before {
  content: "📌";
  position: absolute;
  left: 10px;
  top: 12px;
}

/* セクション */
.section-box {
  margin-top: 60px;
}

.section-pair {
  display: flex;
  justify-content: space-between;
  gap: 40px;
  flex-wrap: wrap;
}

.section-half {
  flex: 1;
  min-width: 300px;
}

.section-half h2 {
  margin-bottom: 10px;
}

.section-half p,
.section-half li {
  font-size: 16px;
  line-height: 1.8;
}

/* お問い合わせ */
.contact {
  margin-top: 60px;
  text-align: center;
}

.btn {
  display: inline-block;
  margin-top: 20px;
  padding: 14px 30px;
  background: #E57373;
  color: white;
  border-radius: 30px;
  font-size: 16px;
  font-weight: bold;
  text-decoration: none;
  transition: 0.3s;
  box-shadow: 0 4px 6px rgba(0,0,0,0.15);
}

.btn:hover {
  background: #d85c5c;
  transform: scale(1.05);
}

.compact {
  margin-top: 0.5em;
  margin-bottom: 0.5em;
  line-height: 1.6;
}

/* セクションに全体装飾（背景・余白・角丸・影） */
.section-decorated {
  background: #fffbea;
  padding: 40px 24px;
  margin: 40px auto;
  border-radius: 16px;
  box-shadow: 0 4px 10px rgba(0, 0, 0, 0.05);
  max-width: 1000px;
  box-sizing: border-box;
}

/* 見出しに余白と中央揃え */
.section-decorated h2 {
  text-align: center;
  margin-bottom: 20px;
}

/* 左右に分けるセクション用 */
.section-pair {
  display: flex;
  flex-wrap: wrap;
  gap: 40px;
  justify-content: space-between;
}

.section-half {
  flex: 1 1 45%;
  box-sizing: border-box;
}

/* レスポンシブ対応 */
@media (max-width: 768px) {
  .profile-section {
    flex-direction: column;
    align-items: center;
  }

  .profile-row {
    flex-direction: column;
    align-items: flex-start;
  }

  .profile-label {
    width: auto;
  }

  .section-pair {
    flex-direction: column;
  }

  .section-half {
    width: 100%;
  }

}
