@charset "utf-8";
/* CSS Document */

/* ===== PHILOSOPHYセクション ===== */
#philosophy {
  background-color: #fff;
  padding: 120px 20px;
}

.abox {
  display: flex;
  justify-content: space-between;
  align-items: center;
  max-width: 1120px;
  margin: 0 auto 80px;
  gap: 40px;
  flex-wrap: wrap;
}

.abox.reverse {
  flex-direction: row-reverse;
}

.abox_left,
.abox_right {
  padding: 0 10px; /* 左右に20pxの余白を追加 */
}

.abox_right h2 {
  text-align: left; /* タイトルを左寄せ */
}


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

.abox_left img {
  width: 100%;
  height: auto;
  border-radius: 8px;
}

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

.abox_right h2 {
  font-size: 28px;
  margin-bottom: 20px;
  color: #333;
}

.abox_right h2 span {
  display: block;
  font-size: 16px;
  color: #777;
  margin-top: 8px;
}

.abox_right p {
  font-size: 16px;
  line-height: 1.8;
  color: #555;
  margin-bottom: 12px;
}

.abox_right .btn {
  display: inline-block;
  margin-top: 20px;
  background-color: #007acc;
  color: #fff;
  text-decoration: none;
  padding: 12px 24px;
  border-radius: 4px;
  font-weight: bold;
}

/* ===== 活動理念ボタン ===== */
.philosophy-btn-wrapper {
  text-align: center;
  margin-top: 40px;
}

.philosophy-btn {
  display: inline-block;
  background-color: #007acc;
  color: #fff;
  text-decoration: none;
  padding: 12px 24px;
  border-radius: 4px;
  font-weight: bold;
  transition: background-color 0.3s ease;
}

.philosophy-btn:hover {
  background-color: #005f99;
}


/* ===== レスポンシブ対応 ===== */
@media screen and (max-width: 767px) {
  .abox {
    flex-direction: column;
    text-align: center;
  }

  .abox.reverse {
    flex-direction: column;
  }

  .abox_right h2 {
	font-size: 1.375rem;/* 約22px（基準16pxの場合） */
  }
  .abox_right p {
    text-align: left;
  }
}
