/* ===========================================================
   GLOBAL BASE SETTINGS
   在宅リハビリ.jp 共通デザイン（ベージュ × 茶系統）
   =========================================================== */

* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

body {
  font-family: "Noto Sans JP", sans-serif;
  background: #f8f5f2;
  color: #4a3f35;
  line-height: 1.75;
}

a {
  color: #8c5e3c;
  text-decoration: none;
}
a:hover {
  opacity: 0.8;
}

/* ===========================================================
   LAYOUT
   =========================================================== */

.container {
  max-width: 900px;
  margin: auto;
  padding: 20px;
}

/* ===========================================================
   HEADER
   =========================================================== */

.header {
  background: #fff;
  border-bottom: 2px solid #e1d5c9;
  padding: 15px 20px;
}

.header h1 {
  font-size: 1.4em;
  color: #5e4a3c;
  font-weight: bold;
}

/* ===========================================================
   HERO SECTION（トップページ用）
   =========================================================== */

.hero {
  background: linear-gradient(135deg, #fdf9f3, #e6d9c8);
  padding: 50px 20px;
  text-align: center;
  border-radius: 12px;
  margin-top: 20px;
}

.hero h2 {
  font-size: 1.9em;
  margin-bottom: 10px;
  color: #5a463a;
}

.hero p {
  font-size: 1.2em;
  color: #6d5b50;
}

/* ===========================================================
   CTA BUTTONS
   =========================================================== */

.cta-buttons {
  margin-top: 25px;
}

.cta-buttons a,
.cta a,
button {
  display: inline-block;
  background: #8c5e3c;
  color: white;
  padding: 14px 26px;
  border-radius: 50px;
  margin: 5px;
  font-size: 1.05em;
  text-align: center;
}

.cta-buttons a.tel {
  background: #5e3c2f;
}

button {
  width: 100%;
  cursor: pointer;
  border: none;
}

button:hover,
.cta-buttons a:hover,
.cta a:hover {
  opacity: 0.9;
}

/* ===========================================================
   SECTIONS（各ページ共通）
   =========================================================== */

section {
  background: #fff;
  margin-top: 25px;
  padding: 30px 20px;
  border-radius: 12px;
  border: 1px solid #e8dfd6;
}

section h3,
h1,
h2 {
  color: #5e4a3c;
  margin-bottom: 12px;
}

section h3 {
  font-size: 1.6em;
  border-left: 6px solid #c4a27a;
  padding-left: 12px;
}

h1 {
  font-size: 1.8em;
  border-left: 6px solid #c4a27a;
  padding-left: 12px;
}

/* ===========================================================
   LISTS
   =========================================================== */

ul.check {
  list-style: none;
  padding-left: 0;
}

ul.check li {
  padding-left: 1.5em;
  margin: 8px 0;
  background: url('/img/check.png') no-repeat left center;
  background-size: 1.1em;
}

/* ===========================================================
   FORM (contact.html)
   =========================================================== */

label {
  display: block;
  margin-top: 15px;
  font-weight: bold;
}

input,
textarea,
select {
  width: 100%;
  padding: 12px;
  border: 1px solid #c9b8a6;
  border-radius: 6px;
  font-size: 1em;
  margin-top: 5px;
  background: #faf8f6;
}

textarea {
  height: 150px;
}

/* ===========================================================
   MAP（Google Map埋め込み）
   =========================================================== */

.map {
  width: 100%;
  border-radius: 8px;
  margin-top: 15px;
}

/* ===========================================================
   FOOTER
   =========================================================== */

footer {
  text-align: center;
  background: #5e4a3c;
  color: white;
  padding: 20px;
  margin-top: 40px;
  font-size: 0.9em;
}

/* ===========================================================
   RESPONSIVE（スマホ最適化）
   =========================================================== */

@media (max-width: 600px) {
  h1 { font-size: 1.5em; }
  .hero h2 { font-size: 1.5em; }
  .hero p { font-size: 1em; }
  section { padding: 20px 15px; }
  button, .cta-buttons a { padding: 12px 20px; font-size: 1em; }
}
/* ===========================================================
   NAVIGATION MENU（共通ヘッダー）
   =========================================================== */

.nav-container {
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
}

.site-title a {
  font-size: 1.3em;
  font-weight: bold;
  color: #5e4a3c;
}

.nav ul {
  list-style: none;
  padding-left: 0;
  margin-top: 10px;
}

.nav ul li {
  display: inline-block;
  margin: 0 10px;
}

.nav ul li a {
  color: #8c5e3c;
  font-weight: bold;
  padding: 6px 10px;
}

.nav ul li a:hover {
  opacity: 0.7;
}

/* スマホ（横幅600px以下） */
@media (max-width: 600px) {
  .nav ul li {
    display: block;
    margin: 6px 0;
  }
}
