body {
  font-family: 'Hiragino Kaku Gothic ProN', sans-serif;
  line-height: 1.6;
  margin: 0;
  padding: 0;
  background-color: #f9f9f9;
  color: #333;
}

/* ヘッダー全体を固定表示 */
header {
  position: fixed;
  top: 0;
  width: 100%;
  z-index: 1000;
  background-color: #def2f1;
  color: rgb(27, 26, 26);
  padding: 1rem 0;
  box-shadow: 0 2px 5px rgba(0, 0, 0, 0.1);
}


/* ヘッダー内部を横並びに */
.header-inner {
  max-width: 1000px;
  margin: 0 auto;
  padding: 0 1rem;
  display: flex;
  align-items: center;
  justify-content: space-between;
  flex-wrap: wrap;
  position: relative;
}

/* ロゴ */
.logo img {
  height: 100px;
  width: auto;
}

/* タイトル */
header h1 {
  margin: 0;
  font-size: 1.8rem;
  text-align: center;
}
/* ハンバーガーボタン */
.menu-toggle {
  display: none;
  background: none;
  border: none;
  font-size: 2rem;
  color: rgb(19, 18, 18);
  position: absolute;
  right: 1rem;
  top: 1.2rem;
  cursor: pointer;
}

/* ナビゲーション全体 */
.nav-menu-wrapper {
  transition: max-height 0.3s ease;
}

/* タイトル＋ハンバーガー */
.header-content {
  flex-grow: 1;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 1rem;
  flex-direction: row; /* ← これはそのままでOK */
}

.header-content h1 {
  margin: 0;
  font-size: 1.6rem;
  color: rgb(50, 47, 47);
  text-align: center;
}

/* メニュー切り替えボタン */
.menu-toggle {
  display: none;
  background: none;
  border: none;
  font-size: 2rem;
  color: rgb(243, 109, 109);
  cursor: pointer;
}

/* ナビゲーションメニュー */
.nav-menu-wrapper {
  width: 100%;
  transition: max-height 0.3s ease;
}
/* ナビゲーション */
nav {
  margin-top: 1rem;
  text-align: center;
}

/* メニュー本体 */
.nav-menu {
  list-style: none;
  padding: 0;
  margin: 0;
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 1rem;
}

.nav-menu li {
  display: inline-block;
 
}



.nav-menu a:hover {
  background-color: #3aafa9;
}

/* メインコンテンツ（ヘッダーの高さ分だけ余白追加） */
main {
  padding: 7rem 1rem 2rem;
  max-width: 800px;
  margin: 0 auto;
}

section {
  
  margin-bottom: 2rem;
}

h2 {
  color: #205050;
  border-left: 5px solid #3aafa9;
  padding-left: 0.5rem;
  font-size: 1.2rem;
}

ul, ol {
  margin-left: 1.5rem;
}

ul li, ol li {
  margin-bottom: 0.5rem;
}

footer {
  background-color: #def2f1;
  text-align: center;
  padding: 1rem;
  font-size: 0.9rem;
  color: #555;
}
/* ===== ヒーローイメージエリア ===== */
.hero {
  margin-top: 7rem; /* 固定ヘッダー分の余白 */
  width: 100%;
  overflow: hidden;
}

.hero img {
  width: 100%;
  height: auto;
  display: block;
  object-fit: cover;
  max-height: 400px;
}
/* PC用横並びメニュー */
.nav-menu {
  list-style: none;
  padding: 0;
  margin: 1rem 0 0;
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 1rem;
}

.nav-menu li {
  display: inline-block;
}

.nav-menu a {
  color: rgb(53, 47, 47);
  text-decoration: none;
  font-weight: bold;
  padding: 0.5rem 0.75rem;
  border-radius: 6px;
  transition: background-color 0.3s;
}

.nav-menu a:hover {
  background-color: #3aafa9;
}
/* タイトルとサブタイトルのスタイル */
.title-box {
  display: flex;
  flex-direction: column; /* ← タイトルとサブタイトルを縦に並べる */
  align-items: center;
  color: rgb(41, 37, 37);
}
.title-box h1 {
  font-family: 'M PLUS Rounded 1c', sans-serif;
  font-weight: 700;
  font-size: 1.8rem;
  color: rgb(62, 54, 54);
  margin: 0;
}



.subtitle {
  margin: 0;
  font-size: 0.9rem;
  opacity: 0.85;
  letter-spacing: 0.05em;
}
/* ===== 料金セクション ===== */
.price-section {
  padding: 3rem 1rem;
  background-color: #fefefe;
  color: #333;
  text-align: center;
}

.price-section h2 {
  font-size: 2rem;
  margin-bottom: 1.5rem;
  color: #3aafa9;
}

.price-box {
  font-size: 1.2rem;
  margin-bottom: 2rem;
}

.price-box p {
  margin: 0.5rem 0;
}

.price-notes h3 {
  font-size: 1.2rem;
  color: #555;
  margin-bottom: 0.5rem;
}

.price-notes ul {
  list-style-type: disc;
  margin: 0 auto;
  padding-left: 1.5rem;
  max-width: 500px;
  text-align: left;
}

.safety-grid {
  display: flex;
  flex-wrap: wrap;
  gap: 1.5rem;
  justify-content: center;
}

.safety-box {
  flex: 1 1 300px;
  background-color: #ffffff;
  border: 2px solid #3aafa9;
  border-radius: 12px;
  padding: 1.5rem;
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.05);
  transition: transform 0.3s ease;
}

.safety-box:hover {
  transform: translateY(-5px);
}

.safety-box h3 {
  font-size: 1.1rem;
  color: #3aafa9;
  margin-bottom: 0.5rem;
}

.safety-box p {
  font-size: 1rem;
  color: #333;
  line-height: 1.6;
}

.nurse-banner {
  display: inline-block;
  margin-top: 1rem;
  padding: 0.75rem 1.5rem;
  background-color: #3aafa9;
  color: white;
  font-weight: bold;
  text-decoration: none;
  border-radius: 8px;
  transition: background-color 0.3s ease;
  text-align: center;
}

.nurse-banner:hover {
  background-color: #2b8c89;
}

/* スマホ用メニュー切り替え */
@media (max-width: 768px) {
  .menu-toggle {
    display: block;
    position: absolute;
    right: 1rem;
    top: 1rem;
  }

  .header-content {
    justify-content: center;
  }

  .nav-menu-wrapper {
    overflow: hidden;
    max-height: 0;
  }

  .nav-menu-wrapper.open {
    max-height: 500px;
  }

  .nav-menu {
    flex-direction: column;
    align-items: center;
    gap: 0;
  }

  .nav-menu li {
    width: 100%;
    text-align: center;
    border-top: 1px solid #3aafa9;
  }

  .nav-menu a {
    display: block;
    padding: 1rem;
    width: 100%;
  }
  .title-box{
    margin-top: 50px;
    margin-right: 0px;

  }
}
