body {
  font-family: sans-serif;
  margin: 0;
  padding: 0px;
  background: #f7f7f7;
  color: #333;
}

/* ヘッダー全体を固定表示 */
header {
  position: fixed;
  justify-content: space-between;
  top: 0;
  width: 100%;
  z-index: 1000;
  background-color: #f1f2f5;
  color: rgb(27, 26, 26);
  
  box-shadow: 0 2px 5px rgba(0, 0, 0, 0.1);
  
  padding: 0;  /* padding: 0rem 0; → 完全にゼロ */
}


/* ヘッダー内部を横並びに */
.header-inner {
  max-width: 1000px;
  margin: 0 auto;
  padding: 0 0rem;
  display: flex;
  align-items: center;
  justify-content: space-between;
  flex-wrap: wrap;
  position: relative;
}

.site-header {
  background-color: #ffffff;         /* 背景色：白 */
  padding: 20px 40px;                /* 上下左右の余白 */
  display: flex;                     /* 横並びにする */
  justify-content: space-between;   /* 左右に分ける */
  align-items: center;              /* 高さ方向中央揃え */
  border-bottom: 1px solid #ccc;    /* 下線（任意） */
  box-shadow: 0 2px 4px rgba(0, 0, 0, 0.05); /* 薄い影 */
  position: relative;               /* 固定・レイヤー指定に使う場合に備えて */
  z-index: 1000;
}

/* ロゴ */
.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(30, 29, 29);
  position: absolute;
  right: 1rem;
  top: 1.2rem;
  cursor: pointer;
}

/* ナビゲーション全体 */
.nav-menu-wrapper {
  transition: max-height 0.3s ease;
}

/* タイトル＋ハンバーガー */
* ヘッダー全体の高さ調整 */
.header-content {
  padding: 4px 12px;  /* 上下をさらに縮小 */
}

.header-content h1 {
  margin: 0;
  font-size: 1.6rem;
  
  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 {
  width: 100%;
  height: auto;
  margin-top: 70px;
}

/* スマホ用画像は初期状態で非表示 */
.hero-sp {
  display: none;
  margin-top: 100px;
}

/* 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(7, 7, 7);
  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 {
  text-align: left;
}

.title-box h1 {
  margin: 0;
  font-family: 'M PLUS Rounded 1c', sans-serif;
  font-weight: 700;
  font-size: 1.5rem;
  color: #101010;
}


.title-box .subtitle {
  font-size: 0.9rem;
  margin-top: 4px;
  color: #121111;
}




/* ===== 料金セクション ===== */
.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;
}

.fixed-footer-buttons {
  position: fixed;
  bottom: 0;
  left: 0;
  width: 100%;
  background-color: white;
  display: flex;
  justify-content: space-around;
  border-top: 1px solid #ccc;
  z-index: 1000;
  box-shadow: 0 -2px 6px rgba(0, 0, 0, 0.1);
}

.footer-btn {
  flex: 1;
  text-align: center;
  padding: 1rem 0;
  font-size: 1.1rem;
  font-weight: bold;
  text-decoration: none;
  color: white;
}

.footer-btn.phone {
  background-color: #3aafa9;
}

.footer-btn.phone:hover {
  background-color: #2b8c89;
}

.footer-btn.line {
  background-color: #00c300;
}

.footer-btn.line:hover {
  background-color: #009e00;
}
h1 {
  text-align: center;
  margin-bottom: 30px;
}

.office-section {
  max-width: 900px;
  margin: 0 auto;
  background: #fff;
  padding: 20px;
  border-radius: 12px;
  box-shadow: 0 4px 10px rgba(0,0,0,0.1);
}

.office-container {
  display: flex;
  flex-wrap: wrap;
  gap: 20px;
}

.map {
  flex: 1 1 300px;
  min-width: 280px;
}

.office-info {
  flex: 1 1 300px;
  min-width: 280px;
}

.office-info h2 {
  margin-top: 0;
  color: #0066cc;
}

.office-info p {
  margin: 10px 0;
}

a {
  color: #0066cc;
  text-decoration: none;
}
a:hover {
  text-decoration: underline;
}



.message-box {
  margin-top: -300px;
  max-width: 800px;
  margin: 0 auto;
  background: #fff;
  padding: 30px;
  border-radius: 12px;
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.08);
  line-height: 1.8;
}

.message-box h1 {
  color: #0077cc;
  font-size: 1.5em;
  margin-bottom: 20px;
}

.message-box p {
  margin-bottom: 15px;
  font-size: 1.05em;
  
}

.highlight-box {
  background: #e6f3ff;
  border-left: 6px solid #0077cc;
  padding: 15px;
  margin-top: 25px;
  border-radius: 8px;
}

.highlight-box p {
  margin: 0;
  font-weight: bold;
}
.contact-banner {
  background: #f5f9fb;
  color: #fff;
  text-align: center;
  padding: 30px 20px;
  border-radius: 12px;
  margin-top: 40px;
}

.contact-banner h3 {
  font-size: 1.4em;
  margin-bottom: 20px;
  color: #333;
}

.contact-buttons {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 20px;
  margin-bottom: 15px;
}

.contact-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 14px 24px;
  font-size: 1.1em;
  font-weight: bold;
  text-decoration: none;
  border-radius: 8px;
  min-width: 200px;
  transition: 0.3s ease;
  color: #fff;
}

.phone-btn {
  background-color: #28a745;
}
.phone-btn:hover {
  background-color: #218838;
}

.line-btn {
  background-color: #00c300;
}
.line-btn:hover {
  background-color: #009e00;
}

.small-note {
  font-size: 0.9em;
  opacity: 0.9;
  margin-top: 10px;
  color: #333;
}

.mission-section {
  max-width: 900px;
  margin: 50px auto;
  padding: 30px 20px;
  background: #fff9f9;
  border-radius: 12px;
  box-shadow: 0 4px 12px rgba(233, 75, 75, 0.3);
  color: #b33a3a;
  font-weight: 600;
  font-size: 1.1em;
}

.mission-section h2 {
  text-align: center;
  color: #d32f2f;
  margin-bottom: 30px;
  font-size: 2em;
}

.mission-container {
  display: flex;
  gap: 30px;
  align-items: flex-start;
  flex-wrap: wrap;
}

.mission-image {
  flex: 1 1 300px;
  max-height: 350px;
  border-radius: 12px;
  overflow: hidden;
  box-shadow: 0 4px 8px rgba(211, 47, 47, 0.2);
}

.mission-image img {
  width: 100%;
  height: auto;
  display: block;
  object-fit: cover;
  border-radius: 12px;
}

.mission-text {
  flex: 2 1 500px;
  line-height: 1.7;
}

.mission-text p {
  margin-bottom: 18px;
}
.representative {
  margin-top: 30px;
  font-weight: 700;
  font-size: 1.2em;
  color: #a12b2b;
  text-align: right;
  font-style: italic;
}

.psychiatric-transport {
  max-width: 850px;
  margin: 60px auto;
  padding: 30px 25px;
  background-color: #f9f9ff;
  border-left: 8px solid #607d8b;
  border-radius: 12px;
  font-family: "Hiragino Kaku Gothic ProN", Meiryo, sans-serif;
  color: #333;
}

.psychiatric-transport h2 {
  color: #37474f;
  font-size: 1.8em;
  margin-bottom: 10px;
  border-bottom: 2px solid #90a4ae;
  padding-bottom: 5px;
}

.psychiatric-transport .intro {
  font-size: 1.2em;
  font-weight: bold;
  margin-bottom: 20px;
}

.psy-content p {
  margin-bottom: 18px;
  line-height: 1.7;
}

.psy-content strong {
  color: #455a64;
}

.note {
  font-size: 0.95em;
  color: #777;
  margin-top: 10px;
}

.contact-options {
  margin-top: 35px;
  display: flex;
  flex-direction: column;
  gap: 25px;
}

.line-contact, .phone-contact {
  background: #e3f2fd;
  padding: 20px;
  border-radius: 10px;
  border-left: 6px solid #42a5f5;
}

.line-button, .phone-button {
  display: inline-block;
  margin-top: 10px;
  background-color: #42a5f5;
  color: white;
  padding: 10px 18px;
  border-radius: 6px;
  text-decoration: none;
  font-weight: bold;
}

.line-button:hover, .phone-button:hover {
  background-color: #1e88e5;
}

.free {
  margin-top: 8px;
  font-size: 0.95em;
  color: #444;
}

.logo-title-wrapper {
  display: flex;
  align-items: center;
  gap: 10px; /* ロゴとテキストの間隔 */
}

.logo {
  width: 100px;   /* ロゴサイズは適宜調整 */
  height: auto;
}

.title-text h1 {
  margin: 0;
  font-size: 18px;
  line-height: 1.5;  /* 行間を詰める */
}

.title-text .subtitle {
  font-size: 0.9rem;
  color: #555;
  margin: 0;
}
.catch-copy-wrapper {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 10px;
  margin: 1.5rem 0;
  padding: 0 1rem;
}

.catch-copy {
  background-color: #4705ec;
  color: white;
  font-weight: bold;
  font-size: 1.2rem;
  padding: 0.8rem 2rem;
  transform: skew(-20deg);
  display: inline-block;
  max-width: 100%;
  box-sizing: border-box;
  text-align: center;
}

.catch-copy span {
  display: inline-block;
  transform: skew(20deg); /* 文字を水平に補正 */
  white-space: normal;
}



.header-message {
  background-color: #b30000;
  color: #fff;
  text-align: center;
  padding: 8px 12px;
  font-weight: bold;
  font-size: 1rem;
  letter-spacing: 0.03em;
  line-height: 1.5;
 
}


/* PC用だけに表示する要素 */
.pc-only {
  display: none;
}

@media screen and (min-width: 769px) {
  .pc-only {
    display: flex;
    align-items: center;
    gap: 10px;
    margin-left: auto;
    padding-right: 20px;
  }

  .header-contact-icons .icon img {
    width: 28px;
    height: 28px;
    transition: opacity 0.2s ease;
  }

  .header-contact-icons .icon img:hover {
    opacity: 0.7;
  }
}

/* 既存の固定フッターボタンはスマホだけ表示 */
@media screen and (min-width: 768px) {
  .fixed-footer-buttons {
    display: none;
  }
}


@media screen and (max-width: 768px) {
  header {
    padding-top: 0 !important;
    padding-bottom: 0 !important;
    margin-top: 0 !important;
  }

  .header-content {
    padding: 0 !important;
    margin: 0 !important;
  }

  .title-box {
    margin: 0 !important;
    padding: 0 !important;
  }

  .title-text {
    margin: 0 !important;
    padding: 0 !important;
  }

  .title-text h1,
  .title-text .subtitle {
    margin: 0 !important;
    padding: 0 !important;
  }

  .logo {
    margin: 0 !important;
    padding: 0 !important;
  }
}


/* スマホで縦並び3行に */
@media screen and (max-width: 768px) {
  
  
  .sp-only {
    display: block;
    text-align: center;
    font-weight: bold;
    color: #b30000;
    margin-top: 8px;
    font-size: 0.9rem;
  }
  
  .title-text h1,
  .title-text .subtitle {
    width: 100%;
    text-align: center;
    margin: 0;
  }
}




/* スマホでは非表示に */
@media screen and (max-width: 768px) {
  .header-message {
    display: none;
  }
}
@media screen and (max-width: 768px) {
  header {
    padding-top: 6px;   /* もともとより減らす */
    padding-bottom: 6px;
  }
  .header-content {
    padding: 4px 12px;  /* 余白を少なく */
  }
 
  .title-text h1 {
    font-size: 1.2rem;  /* フォントサイズ少し小さめに */
    margin-bottom: 2px; /* 行間を狭く */
  }
  .title-text .subtitle {
    font-size: 0.85rem;
    margin-bottom: 0;
  }
  .menu-toggle {
    padding: 4px;       /* ハンバーガーメニューのパディングも小さく */
  }
}





/* モバイル対応 */
@media (max-width: 768px) {
  .office-container {
    flex-direction: column;
  }

  .map iframe {
    height: 250px;
  }
}



/* スマホ用メニュー切り替え */
@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;

  }


 .hero-pc {
    display: none;
  }

  .hero-sp {
    margin-top: 270px;
    margin-bottom: -100px;
    display: block;
  }


  .office-container {
    flex-direction: column;
  }

  .map iframe {
    height: 250px;
  }


/* ロゴ画像のサイズ調整例 */
.logo {
  width: 80px;  /* お好みで調整 */
  height: auto;
}





/* スマホ向け調整 */
@media screen and (max-width: 600px) {
  .footer-btn {
    font-size: 1rem;
    padding: 0.9rem 0;
  }

}
 .catch-copy {
  
    font-size: 1rem;
    padding: 0.6rem 1rem;
  }

  .catch-copy span {
    white-space: normal; /* スマホは折り返しを許可 */
  }
  .catch-copy-wrapper{margin-top: 120px;}

  main {
  
  margin-top: -120px;
  
}
.hero {
  width: 100%;
  height: auto;
  margin-top: 96px;
}

}