/* ============================= */
/* 理念ページ用スタイル */
/* ============================= */

/* 全体のフォント設定*/
.philosophy-main {
  font-size: 2rem;
  color: #222;
  line-height: 1.8;
  margin-bottom: 2rem;
  font-family: 'Shippori Mincho B1', 'Noto Serif JP', serif; /* ←追加 */
}


/* ヒーローセクション（冒頭のキャッチコピー） */
.philosophy-hero {
  background-color: #fff;
  padding: 4rem 1rem;
  text-align: center;
}

/* 英語タイトル（Our Philosophy） */
.philosophy-en {
  color: #d87b00;
  font-family: 'Noto Serif JP', serif;
  font-size: 1rem;
  letter-spacing: 2px;
  font-weight: 500;
  margin-bottom: 1rem;
}

/* メインタイトル */
.philosophy-main {
  font-size: 1.8rem;
  color: #222;
  line-height: 1.8;
  margin-bottom: 2rem;
  font-family: 'Noto Sans JP', sans-serif;
}

/* 理念文の段落 */
.philosophy-text p {
  font-size: 1.05rem;
  color: #444;
  line-height: 2;
  max-width: 800px;
  margin: 0 auto 1.5rem;
  font-family: 'Noto Sans JP', sans-serif;
}

/* 行動指針セクション */
.philosophy-guidelines {
  background-color: #fafafa;
  padding: 4rem 1rem;
  text-align: center;
}

/* 行動指針：英語見出し */
.guidelines-title {
  font-size: 0.9rem;
  color: #d87b00;
  font-weight: bold;
  letter-spacing: 1px;
}

/* 行動指針：日本語見出し */
.guidelines-ja {
  font-size: 1.4rem;
  color: #222;
  font-weight: bold;
  margin-bottom: 2.5rem;
}

/* 行動指針：全体のラップ */
.guidelines-items {
  display: flex;
  flex-direction: column;
  gap: 0;
  max-width: 1000px;
  margin: 0 auto;
}

/* 各行動指針ブロック */
.guideline-block {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 2rem;
  background: #fff;
  border-radius: 0;
  box-shadow: none;
  padding: 2rem 0;
  flex-direction: row;
  border-bottom: 1px solid #e0e0e0;
}

/* 最後のブロックのみ下線を消す */
.guideline-block:last-child {
  border-bottom: none;
}

/* ブロック反転（画像右・テキスト左） */
.guideline-block.right {
  flex-direction: row-reverse;
}

/* 行動指針：画像 */
.guideline-block img {
  width: 48%;
  height: auto;
  border-radius: 0;
  object-fit: cover;
}

/* 行動指針：テキスト部分 */
.guideline-content {
  width: 48%;
  padding: 0 2rem; /* 左右に余白を追加 */
  box-sizing: border-box; /* paddingを含めた幅計算に */
}

/* テキスト見出し */
.guideline-content h4 {
  font-size: 1.15rem;
  color: #d87b00;
  font-weight: bold;
  margin-bottom: 1rem;
}

/* テキスト本文 */
.guideline-content p {
  font-size: 0.95rem;
  color: #444;
  line-height: 1.8;
}

/* ボタンラップ */
.guidelines-link {
  margin-top: 3rem;
}

/* ボタンスタイル */
.guidelines-link .btn {
  display: inline-block;
  padding: 0.75rem 2rem;
  background: #ef7a00;
  color: white;
  font-weight: bold;
  text-decoration: none;
  border-radius: 4px;
  transition: background 0.3s ease;
}

/* ボタンホバー時 */
.guidelines-link .btn:hover {
  background: #d35b00;
}

/* スマホ対応（768px以下） */
@media screen and (max-width: 768px) {
  .guideline-block, .guideline-block.right {
    flex-direction: column !important;
  }

  .guideline-block img,
  .guideline-content {
    width: 100%;
  }

  .guideline-content {
    padding: 0; /* モバイルでは余白をなくす */
  }
}
