/* 経営理念・経営指針ページ */

.philosophy-page {
  background: #fff;
}

/* =============================================
   ヒーロー
   ============================================= */
.philo-hero {
  position: relative;
  min-height: 430px;
  overflow: hidden;
  display: grid;
  align-items: center;
  background: #fff;
}

.philo-hero__bg {
  position: absolute;
  inset: 0;
  background: url("https://images.unsplash.com/photo-1513519245088-0e12902e5a38?auto=format&fit=crop&w=1600&q=84") center right / cover;
}

.philo-hero__overlay {
  position: absolute;
  inset: 0;
  background:
    linear-gradient(90deg, rgba(255,255,255,1) 0%, rgba(255,255,255,0.94) 36%, rgba(255,255,255,0.52) 62%, rgba(255,255,255,0.12) 100%),
    linear-gradient(180deg, rgba(255,255,255,0.96) 0%, rgba(255,255,255,0) 34%);
}

.philo-hero__leaf {
  position: absolute;
  top: 52px;
  left: 0;
  width: 130px;
  opacity: 0.75;
  z-index: 2;
  pointer-events: none;
}

.philo-hero__inner {
  position: relative;
  z-index: 3;
  max-width: var(--max);
  width: 100%;
  margin: 0 auto;
  padding: 76px 34px;
}

.philo-hero h1 {
  font-size: clamp(2.35rem, 5vw, 3.7rem);
  font-weight: 500;
  line-height: 1.25;
  letter-spacing: 0.18em;
  margin-bottom: 16px;
}

.philo-hero__lead {
  color: var(--green-dark);
  font-size: 1.08rem;
  letter-spacing: 0.08em;
  margin-bottom: 24px;
}

.philo-hero__inner p:not(.philo-hero__lead) {
  font-family: var(--sans);
  font-size: 0.9rem;
  font-weight: 500;
  line-height: 2.05;
  color: #44443e;
}

/* =============================================
   共通セクション
   ============================================= */
.philo-section {
  position: relative;
  overflow: hidden;
}

.philo-section--rinen {
  background: #fdfcf9;
  border-top: 1px solid #e8e0d2;
  border-bottom: 1px solid #e8e0d2;
}

.philo-section--shishin {
  background: #fff;
}

.philo-section__inner {
  max-width: 760px;
  margin: 0 auto;
  padding: 80px 34px;
  text-align: center;
  position: relative;
  z-index: 1;
}

/* =============================================
   経営理念 背景装飾
   ============================================= */
.philo-section--rinen .philo-section__bg {
  position: absolute;
  inset: 0;
  background:
    url("https://images.unsplash.com/photo-1486406146926-c627a92ad1ab?auto=format&fit=crop&w=900&q=72")
    left center / 44% auto no-repeat;
  opacity: 0.10;
}

/* =============================================
   セクションラベル（経営理念 / 経営指針）
   ============================================= */
.philo-label {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 10px;
  margin-bottom: 36px;
}

.philo-label__text {
  font-family: var(--serif);
  font-size: 1.02rem;
  font-weight: 500;
  letter-spacing: 0.42em;
  color: #3a3a34;
  /* 左右に金線 */
  display: flex;
  align-items: center;
  gap: 18px;
}

.philo-label__text::before,
.philo-label__text::after {
  content: "";
  display: block;
  width: 54px;
  height: 1px;
  background: var(--gold);
}

.philo-label__diamond {
  color: var(--gold-dark);
  font-size: 0.6rem;
  letter-spacing: 0;
  line-height: 1;
}

/* =============================================
   メイン見出し
   ============================================= */
.philo-headline {
  font-family: var(--serif);
  font-size: clamp(2.2rem, 5.5vw, 3.8rem);
  font-weight: 600;
  letter-spacing: 0.28em;
  line-height: 1.3;
  color: var(--green-dark);
  margin-bottom: 14px;
}

.philo-headline__ruby {
  font-family: var(--sans);
  font-size: 0.9rem;
  font-weight: 500;
  letter-spacing: 0.08em;
  color: #7a7a72;
  margin-bottom: 46px;
}

/* =============================================
   本文
   ============================================= */
.philo-body {
  text-align: center;
}

.philo-body p {
  font-family: var(--sans);
  font-size: clamp(0.9rem, 1.6vw, 1.02rem);
  font-weight: 500;
  line-height: 2.2;
  color: #3a3a34;
  letter-spacing: 0.05em;
  margin-bottom: 1.4em;
}

.philo-body p:last-child {
  margin-bottom: 0;
}

/* 経営指針の本文は左寄せで読みやすく */
.philo-body--wide {
  max-width: 620px;
  margin: 0 auto 52px;
  text-align: left;
}

/* =============================================
   6つの価値観アイコン
   ============================================= */
.philo-values {
  display: grid;
  grid-template-columns: repeat(6, 1fr);
  gap: 18px;
  max-width: 700px;
  margin: 0 auto;
  border-top: 1px solid #e8e0d2;
  padding-top: 48px;
}

.philo-value {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 10px;
}

.philo-value__icon {
  width: 60px;
  height: 60px;
  display: grid;
  place-items: center;
  border: 1.5px solid #c9b87c;
  border-radius: 50%;
  color: var(--green-dark);
  transition: background 0.2s;
}

.philo-value__icon svg {
  width: 32px;
  height: 32px;
}

.philo-value:hover .philo-value__icon {
  background: #f5f1e6;
}

.philo-value p {
  font-family: var(--sans);
  font-size: 0.72rem;
  font-weight: 600;
  letter-spacing: 0.04em;
  color: #3a3a34;
  text-align: center;
  line-height: 1.5;
}

/* =============================================
   「会社概要に戻る」リンク
   ============================================= */
.philo-back {
  text-align: center;
  padding: 36px 34px 52px;
  border-top: 1px solid #e8e0d2;
}

.philo-back a {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-family: var(--sans);
  font-size: 0.84rem;
  font-weight: 600;
  letter-spacing: 0.1em;
  color: var(--green-dark);
  text-decoration: none;
  transition: opacity 0.2s;
}

.philo-back a:hover {
  opacity: 0.7;
}

/* =============================================
   レスポンシブ
   ============================================= */
@media (max-width: 900px) {
  .philo-values {
    grid-template-columns: repeat(3, 1fr);
    gap: 24px;
  }
}

@media (max-width: 640px) {
  .philo-hero__inner {
    padding: 72px 20px;
  }

  .philo-hero__leaf {
    width: 100px;
    top: 30px;
  }

  .philo-section__inner {
    padding: 56px 20px;
  }

  .philo-headline {
    letter-spacing: 0.16em;
  }

  .philo-label__text {
    letter-spacing: 0.28em;
  }

  .philo-label__text::before,
  .philo-label__text::after {
    width: 32px;
  }

  .philo-body--wide {
    text-align: center;
  }

  .philo-values {
    grid-template-columns: repeat(2, 1fr);
    gap: 20px;
  }

  .philo-back {
    padding: 28px 20px 44px;
  }
}
