/* ============================
   ページヒーロー
============================ */
.page-hero {
  background: linear-gradient(to bottom right, #4F9DA6, #7CBAC4);
  color: #fff;
  text-align: center;
  padding: 80px 20px;
  margin-top: 70px;
}
.page-hero h1 {
  font-size: 2rem;
  letter-spacing: 0.1em;
}
.page-hero p {
  font-size: 1rem;
  opacity: 0.9;
}

/* ============================
   ベース
============================ */
body {
  margin: 0;
  font-family: "Noto Sans JP", system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  color: #444;
  background-color: #F7F4E9;
  line-height: 1.7;
}
a {
  color: inherit;
  text-decoration: none;
}
img {
  max-width: 100%;
  display: block;
}
.container {
  width: 90%;
  max-width: 1100px;
  margin: 0 auto;
}

/* ============================
   ヘッダー
============================ */
header {
  background-color: rgba(247, 244, 233, 0.95);
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 100;
  backdrop-filter: blur(6px);
  border-bottom: 1px solid #e0dccf;
}
.logomark img {
  width: 200px;
  height: auto;
}
.header-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 10px 5%;
}
nav ul {
  list-style: none;
  display: flex;
  gap: 18px;
  padding: 0;
  margin: 0;
  font-size: 0.9rem;
}
nav li a {
  padding: 4px 10px;
  border-radius: 999px;
}
nav li a:hover {
  background-color: #4F9DA6;
  color: #fff;
  transition: 0.2s;
}

/* ============================
   セクション
============================ */
section {
  padding: 60px 0;
}
.section-title {
  text-align: center;
  font-size: 1.4rem;
  margin-bottom: 30px;
  color: #2F4F4F;
}
.section-title span {
  font-size: 0.8rem;
  display: block;
  color: #7C8A8A;
  margin-bottom: 4px;
  letter-spacing: 0.12em;
  text-transform: uppercase;
}

/* ============================
   お問い合わせ準備中ボックス
============================ */
.philosophy-box {
  background-color: #FFF9EC;
  border-radius: 18px;
  padding: 24px 20px;
  border: 1px solid #f0e4c5;
  position: relative;
  overflow: hidden;

  width: 85%;        /* 少し幅を狭くする */
  margin-left: auto; /* 右寄せ */
  margin-right: 0;
}
.philosophy-box::before {
  position: absolute;
  font-size: 2.4rem;
  right: 16px;
  top: 10px;
  opacity: 0.15;
  color: #4F9DA6;
}
.philosophy-main {
  font-size: 1.05rem;
  margin-bottom: 10px;
  color: #2F4F4F;
  font-weight: 600;
}
.philosophy-sub {
  font-size: 0.9rem;
  color: #666;
}

/* ============================
   フッター
============================ */
footer {
  background-color: #2F4F4F;
  color: #f7f4e9;
  padding: 30px 0 18px;
  font-size: 0.85rem;
}
.footer-bottom {
  text-align: center;
  margin-top: 18px;
  font-size: 0.75rem;
  color: #dcd7c7;
}
.business-lead {
  max-width: 800px;
  margin: 0 auto 40px;
  text-align: center;
  font-size: 1rem;
  color: #555;
  line-height: 1.8;
}

/* ============================
   レスポンシブ
============================ */
/* レスポンシブ */
@media (max-width: 640px) {

  /* ヘッダーは縦並びにするが、ヒーローを押し下げないように調整 */
  .header-inner {
    flex-direction: column;
    align-items: flex-start;
    gap: 4px;
  }

  nav ul {
    flex-wrap: wrap;
    justify-content: flex-start;
    gap: 8px;
  }

  /* ヒーローエリアの高さ問題を解決 */
  .hero {
    height: auto;
    min-height: 100vh;
  }

  .hero-title {
    font-size: 1.6rem;
    line-height: 1.3;
  }

  .hero-text {
    top: 50%;
    transform: translate(-50%, -50%);
  }

  /* セクションの余白は少し控えめに */
  section {
    padding: 32px 0;
  }
}