/* ============================================
   精神科特化訪問看護ステーション白樺
   共通スタイルシート
   ============================================ */

:root {
  --gold: #c9a85c;
  --gold-dark: #b3924a;
  --gold-light: #f3ead3;
  --green: #4a7c59;
  --green-dark: #3a6247;
  --line-green: #06c755;
  --cream: #faf8f2;
  --white: #ffffff;
  --text: #3c3a35;
  --text-light: #7a766e;
  --border: #e8e2d4;
}

* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  font-family: "Hiragino Kaku Gothic ProN", "Hiragino Sans", "Yu Gothic", "Meiryo", sans-serif;
  color: var(--text);
  background: var(--white);
  line-height: 1.9;
  letter-spacing: 0.04em;
}

img {
  max-width: 100%;
  height: auto;
}

a {
  color: var(--green);
  text-decoration: none;
}

/* ---------- ヘッダー ---------- */
.top-bar {
  background: var(--gold);
  color: var(--white);
  font-size: 0.8rem;
  padding: 6px 20px;
}

.site-header {
  background: var(--white);
  position: sticky;
  top: 0;
  z-index: 100;
  box-shadow: 0 1px 8px rgba(0, 0, 0, 0.06);
}

.header-inner {
  max-width: 1180px;
  margin: 0 auto;
  padding: 14px 20px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
}

.brand {
  display: flex;
  align-items: center;
  gap: 12px;
  color: var(--text);
}

.brand-logo {
  width: 52px;
  height: 52px;
  flex-shrink: 0;
  object-fit: contain;
  border-radius: 8px;
}

.brand-text {
  display: flex;
  flex-direction: column;
  line-height: 1.4;
}

.brand-sub {
  font-size: 0.68rem;
  color: var(--green);
  letter-spacing: 0.12em;
}

.brand-name {
  font-size: 0.95rem;
  font-weight: 700;
  white-space: nowrap;
}

@media (max-width: 1180px) {
  .brand-name {
    font-size: 0.85rem;
    white-space: normal;
  }
}

.global-nav ul {
  display: flex;
  list-style: none;
  gap: 4px;
  align-items: center;
}

.global-nav a {
  display: block;
  padding: 8px 12px;
  color: var(--text);
  font-size: 0.88rem;
  font-weight: 600;
  border-radius: 6px;
  text-align: center;
  white-space: nowrap;
  transition: background 0.2s, color 0.2s;
}

.global-nav a small {
  display: block;
  font-size: 0.62rem;
  color: var(--gold-dark);
  font-weight: 400;
  letter-spacing: 0.1em;
}

.global-nav a:hover,
.global-nav a.current {
  background: var(--gold-light);
}

.nav-cta {
  background: var(--gold);
  color: var(--white) !important;
  border-radius: 999px;
  padding: 10px 22px !important;
}

.nav-cta:hover {
  background: var(--gold-dark) !important;
}

.nav-cta small {
  color: rgba(255, 255, 255, 0.85) !important;
}

/* ハンバーガー（スマホ用） */
.nav-toggle {
  display: none;
  background: none;
  border: none;
  cursor: pointer;
  padding: 8px;
}

.nav-toggle span {
  display: block;
  width: 26px;
  height: 3px;
  background: var(--gold-dark);
  margin: 5px 0;
  border-radius: 2px;
  transition: 0.3s;
}

/* ---------- ヒーロー ---------- */
.hero {
  position: relative;
  background:
    linear-gradient(rgba(40, 45, 35, 0.35), rgba(40, 45, 35, 0.35)),
    url("../images/hero2.jpg") center 30% / cover no-repeat;
  padding: 130px 20px 150px;
  text-align: center;
  overflow: hidden;
}

.hero-catch {
  font-size: clamp(1.6rem, 4.2vw, 2.6rem);
  font-weight: 700;
  color: var(--white);
  line-height: 1.7;
  margin-bottom: 18px;
  text-shadow: 0 2px 12px rgba(0, 0, 0, 0.45);
}

.hero-catch .accent {
  color: var(--white);
}

.hero-lead {
  color: rgba(255, 255, 255, 0.95);
  font-size: 1rem;
  margin-bottom: 36px;
  text-shadow: 0 1px 8px rgba(0, 0, 0, 0.5);
}

.hero-buttons {
  display: flex;
  gap: 14px;
  justify-content: center;
  flex-wrap: wrap;
}

/* ---------- ボタン ---------- */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  padding: 14px 34px;
  border-radius: 999px;
  font-weight: 700;
  font-size: 0.98rem;
  transition: opacity 0.2s, transform 0.2s;
}

.btn:hover {
  opacity: 0.85;
  transform: translateY(-2px);
}

.btn-gold {
  background: var(--gold);
  color: var(--white);
}

.btn-green {
  background: var(--green);
  color: var(--white);
}

.btn-line {
  background: var(--line-green);
  color: var(--white);
}

.btn-outline {
  border: 2px solid var(--gold);
  color: var(--gold-dark);
  background: var(--white);
}

/* ---------- セクション共通 ---------- */
.section {
  padding: 80px 20px;
}

.section-alt {
  background: var(--cream);
}

.container {
  max-width: 1080px;
  margin: 0 auto;
}

.container-narrow {
  max-width: 820px;
  margin: 0 auto;
}

.section-title {
  text-align: center;
  margin-bottom: 48px;
}

.section-title .en {
  display: block;
  color: var(--gold);
  font-size: 0.8rem;
  letter-spacing: 0.25em;
  text-transform: uppercase;
  margin-bottom: 6px;
}

.section-title h2 {
  font-size: clamp(1.4rem, 3vw, 1.9rem);
  font-weight: 700;
}

.section-title h2::after {
  content: "";
  display: block;
  width: 48px;
  height: 3px;
  background: var(--gold);
  margin: 14px auto 0;
  border-radius: 2px;
}

/* ---------- カード ---------- */
.card-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
  gap: 24px;
}

.card {
  background: var(--white);
  border: 1px solid var(--border);
  border-radius: 14px;
  padding: 32px 26px;
  text-align: center;
  box-shadow: 0 2px 10px rgba(0, 0, 0, 0.04);
}

.card .card-icon {
  font-size: 2.2rem;
  margin-bottom: 12px;
}

.card h3 {
  font-size: 1.1rem;
  margin-bottom: 10px;
  color: var(--green-dark);
}

.card p {
  font-size: 0.92rem;
  color: var(--text-light);
  text-align: left;
}

/* ---------- ステップ ---------- */
.steps {
  counter-reset: step;
  display: grid;
  gap: 20px;
}

.step {
  background: var(--white);
  border: 1px solid var(--border);
  border-radius: 14px;
  padding: 26px 26px 26px 90px;
  position: relative;
}

.step::before {
  counter-increment: step;
  content: counter(step, decimal-leading-zero);
  position: absolute;
  left: 24px;
  top: 50%;
  transform: translateY(-50%);
  font-size: 1.6rem;
  font-weight: 700;
  color: var(--gold);
  border-right: 2px solid var(--gold-light);
  padding-right: 18px;
}

.step h3 {
  font-size: 1.05rem;
  color: var(--green-dark);
  margin-bottom: 4px;
}

.step p {
  font-size: 0.92rem;
  color: var(--text-light);
}

/* ---------- テーブル（会社概要など） ---------- */
.info-table {
  width: 100%;
  border-collapse: collapse;
  background: var(--white);
  border: 1px solid var(--border);
  border-radius: 14px;
  overflow: hidden;
}

.info-table th,
.info-table td {
  padding: 18px 22px;
  border-bottom: 1px solid var(--border);
  text-align: left;
  vertical-align: top;
  font-size: 0.95rem;
}

.info-table tr:last-child th,
.info-table tr:last-child td {
  border-bottom: none;
}

.info-table th {
  background: var(--gold-light);
  width: 30%;
  font-weight: 700;
  white-space: nowrap;
}

/* ---------- お問い合わせカード ---------- */
.contact-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 24px;
}

.contact-card {
  background: var(--white);
  border: 1px solid var(--border);
  border-radius: 16px;
  padding: 36px 28px;
  text-align: center;
  box-shadow: 0 2px 12px rgba(0, 0, 0, 0.05);
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 14px;
}

.contact-card .icon {
  font-size: 2.6rem;
}

.contact-card h3 {
  font-size: 1.15rem;
  color: var(--green-dark);
}

.contact-card p {
  font-size: 0.88rem;
  color: var(--text-light);
  flex-grow: 1;
}

.contact-tel-number {
  font-size: 1.7rem;
  font-weight: 700;
  color: var(--gold-dark);
  letter-spacing: 0.05em;
}

.contact-note {
  font-size: 0.8rem;
  color: var(--text-light);
}

/* ---------- CTA帯 ---------- */
.cta-band {
  background: linear-gradient(135deg, var(--gold) 0%, var(--gold-dark) 100%);
  color: var(--white);
  text-align: center;
  padding: 64px 20px;
}

.cta-band h2 {
  font-size: clamp(1.3rem, 3vw, 1.7rem);
  margin-bottom: 12px;
}

.cta-band p {
  margin-bottom: 28px;
  opacity: 0.95;
  font-size: 0.95rem;
}

.cta-band .btn-outline {
  border-color: var(--white);
  color: var(--gold-dark);
}

/* ---------- 仮データの目印 ---------- */
.placeholder {
  background: #fff3cd;
  border: 1px dashed #d4a017;
  border-radius: 4px;
  padding: 0 6px;
  color: #8a6d00;
}

.placeholder-note {
  background: #fff8e1;
  border-left: 4px solid var(--gold);
  padding: 14px 18px;
  font-size: 0.85rem;
  color: #8a6d00;
  border-radius: 0 8px 8px 0;
  margin-bottom: 32px;
}

/* ---------- 地図プレースホルダー ---------- */
.map-placeholder {
  background: var(--gold-light);
  border: 2px dashed var(--gold);
  border-radius: 14px;
  height: 320px;
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--gold-dark);
  font-weight: 700;
  text-align: center;
  padding: 20px;
}

/* ---------- フッター ---------- */
.site-footer {
  background: var(--green-dark);
  color: rgba(255, 255, 255, 0.9);
  padding: 56px 20px 24px;
}

.footer-inner {
  max-width: 1080px;
  margin: 0 auto;
  display: grid;
  grid-template-columns: 1.4fr 1fr 1fr;
  gap: 36px;
}

.footer-brand h3 {
  font-size: 1.05rem;
  margin-bottom: 10px;
}

.footer-brand p {
  font-size: 0.85rem;
  opacity: 0.85;
}

.site-footer h4 {
  font-size: 0.9rem;
  margin-bottom: 12px;
  color: var(--gold);
  letter-spacing: 0.1em;
}

.site-footer ul {
  list-style: none;
}

.site-footer ul li {
  margin-bottom: 8px;
}

.site-footer a {
  color: rgba(255, 255, 255, 0.85);
  font-size: 0.88rem;
}

.site-footer a:hover {
  color: var(--gold);
}

.footer-line-btn {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  background: var(--line-green);
  color: var(--white) !important;
  padding: 10px 20px;
  border-radius: 999px;
  font-weight: 700;
  margin-top: 6px;
}

.copyright {
  text-align: center;
  font-size: 0.78rem;
  opacity: 0.6;
  margin-top: 44px;
  padding-top: 20px;
  border-top: 1px solid rgba(255, 255, 255, 0.15);
}

/* ---------- ページタイトル（下層ページ） ---------- */
.page-title {
  background:
    linear-gradient(rgba(255, 255, 255, 0.55), rgba(255, 255, 255, 0.55)),
    url("../images/hero1.jpg") center / cover no-repeat;
  text-align: center;
  padding: 72px 20px;
}

.page-title .en {
  display: block;
  color: var(--gold);
  font-size: 0.8rem;
  letter-spacing: 0.25em;
  text-transform: uppercase;
  margin-bottom: 4px;
}

.page-title h1 {
  font-size: clamp(1.5rem, 3.4vw, 2rem);
}

/* ---------- レスポンシブ ---------- */
@media (max-width: 900px) {
  .nav-toggle {
    display: block;
  }

  .global-nav {
    display: none;
    position: absolute;
    top: 100%;
    left: 0;
    right: 0;
    background: var(--white);
    box-shadow: 0 8px 16px rgba(0, 0, 0, 0.08);
  }

  .global-nav.open {
    display: block;
  }

  .global-nav ul {
    flex-direction: column;
    align-items: stretch;
    padding: 12px 16px 20px;
  }

  .global-nav a {
    text-align: left;
  }

  .nav-cta {
    text-align: center !important;
  }

  .footer-inner {
    grid-template-columns: 1fr;
  }

  .info-table th {
    width: 36%;
  }
}
