/* =====================================================
   太陽とひまわり訪問看護 — 共通スタイル
   テーマ:太陽とひまわり(温かい配色)
   モバイルファースト / レスポンシブ
   ===================================================== */

/* ---------- カラー変数 ---------- */
:root {
  --sunflower: #FFC93C;      /* メイン:ひまわりイエロー */
  --sunflower-dark: #F5B301; /* 濃いイエロー */
  --orange: #FF9F1C;         /* サブ:オレンジ */
  --orange-dark: #F57C00;
  --green: #5FAD56;          /* アクセント:グリーン */
  --green-dark: #4A8C43;
  --base: #ffffff;           /* ベース:白 */
  --cream: #FFF8E7;          /* やわらかいクリーム */
  --text: #333333;
  --text-light: #5a5a5a;
  --shadow: rgba(0, 0, 0, 0.08);
  --radius: 14px;
}

/* ---------- リセット・基本 ---------- */
* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  font-family: 'Noto Sans JP', 'Hiragino Kaku Gothic ProN', 'Meiryo', sans-serif;
  font-size: 16px;          /* 高齢者にも読みやすい基本サイズ */
  line-height: 1.8;
  color: var(--text);
  background-color: var(--base);
  -webkit-font-smoothing: antialiased;
  padding-bottom: 72px;      /* モバイル固定電話ボタン分の余白 */
}

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

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

a:hover {
  text-decoration: underline;
}

/* ---------- 共通コンテナ ---------- */
.container {
  width: 100%;
  max-width: 1080px;
  margin: 0 auto;
  padding: 0 20px;
}

/* ---------- ヘッダー ---------- */
.site-header {
  background-color: var(--base);
  box-shadow: 0 2px 8px var(--shadow);
  position: sticky;
  top: 0;
  z-index: 100;
}

.header-inner {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 8px;
  padding: 12px 20px;
  max-width: 1080px;
  margin: 0 auto;
}

.site-logo {
  display: flex;
  align-items: center;
  gap: 8px;
  font-size: 1.2rem;
  font-weight: 700;
  color: var(--text);
  line-height: 1.3;
}

.site-logo:hover {
  text-decoration: none;
}

.site-logo .sun-icon {
  font-size: 1.5rem;
}

.header-tel {
  display: flex;
  align-items: center;
  gap: 6px;
  font-size: 1.15rem;
  font-weight: 700;
  color: var(--orange-dark);
  white-space: nowrap;
}

.header-tel:hover {
  text-decoration: none;
}

/* ---------- ナビゲーション ---------- */
.main-nav {
  width: 100%;
  background-color: var(--sunflower);
}

.nav-list {
  display: flex;
  list-style: none;
  max-width: 1080px;
  margin: 0 auto;
}

.nav-list li {
  flex: 1;
}

.nav-list a {
  display: block;
  text-align: center;
  padding: 12px 8px;
  font-weight: 700;
  font-size: 1rem;
  color: var(--text);
  border-right: 1px solid rgba(255, 255, 255, 0.5);
}

.nav-list li:last-child a {
  border-right: none;
}

.nav-list a:hover,
.nav-list a.active {
  background-color: var(--orange);
  color: #fff;
  text-decoration: none;
}

/* ---------- メインビジュアル ---------- */
.hero {
  position: relative;
  background:
    radial-gradient(circle at 80% 24%, rgba(255, 255, 255, 0.55) 0%, rgba(255, 255, 255, 0) 42%),
    linear-gradient(135deg, var(--sunflower) 0%, var(--orange) 100%);
  color: #fff;
  text-align: center;
  padding: 72px 20px 84px;
  overflow: hidden;
}

/* 装飾モチーフ（太陽・ひまわり・ハート）をSVGで配置するレイヤー */
.hero-decor {
  position: absolute;
  inset: 0;
  overflow: hidden;
  pointer-events: none;
  z-index: 0;
}

.hero-decor .motif {
  position: absolute;
  display: block;
}

.motif-sun {
  width: 220px;
  height: 220px;
  top: -48px;
  right: -46px;
  color: rgba(255, 255, 255, 0.9);
}

.motif-flower {
  color: rgba(255, 255, 255, 0.4);
}

.motif-flower-1 {
  width: 130px;
  height: 130px;
  bottom: -28px;
  left: -22px;
}

.motif-flower-2 {
  width: 78px;
  height: 78px;
  top: 28px;
  left: 46px;
  color: rgba(255, 255, 255, 0.32);
}

.motif-heart {
  width: 56px;
  height: 56px;
  bottom: 34px;
  right: 40px;
  color: rgba(255, 255, 255, 0.34);
}

.hero-inner {
  position: relative;
  z-index: 1;
  max-width: 820px;
  margin: 0 auto;
}

.hero-catch {
  font-size: 2rem;
  font-weight: 700;
  line-height: 1.55;
  letter-spacing: 0.02em;
  text-shadow: 0 2px 8px rgba(0, 0, 0, 0.18);
  margin-bottom: 14px;
}

.hero-sub {
  font-size: 1.1rem;
  margin-bottom: 28px;
  text-shadow: 0 1px 4px rgba(0, 0, 0, 0.14);
}

/* 募集中バナー */
.recruit-banner {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  background-color: var(--green);
  color: #fff;
  font-size: 1.15rem;
  font-weight: 700;
  padding: 14px 28px;
  border-radius: 40px;
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.2);
  position: relative;
  z-index: 1;
}

.recruit-banner:hover {
  background-color: var(--green-dark);
  text-decoration: none;
  color: #fff;
}

.recruit-banner .pulse {
  width: 10px;
  height: 10px;
  border-radius: 50%;
  background: #fff;
  animation: pulse 1.4s infinite;
}

@keyframes pulse {
  0%   { box-shadow: 0 0 0 0 rgba(255, 255, 255, 0.7); }
  70%  { box-shadow: 0 0 0 10px rgba(255, 255, 255, 0); }
  100% { box-shadow: 0 0 0 0 rgba(255, 255, 255, 0); }
}

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

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

.section-title {
  text-align: center;
  font-size: 1.5rem;
  font-weight: 700;
  margin-bottom: 8px;
  color: var(--text);
}

.section-title::after {
  content: "";
  display: block;
  width: 60px;
  height: 4px;
  background-color: var(--sunflower);
  border-radius: 2px;
  margin: 10px auto 0;
}

.section-lead {
  text-align: center;
  font-size: 1rem;
  color: var(--text-light);
  margin-bottom: 32px;
}

.section-body {
  max-width: 760px;
  margin: 0 auto;
  font-size: 1.05rem;
}

.section-body p {
  margin-bottom: 16px;
}

/* ---------- サービスカード ---------- */
.card-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 20px;
  margin-top: 8px;
}

.service-card {
  background-color: var(--base);
  border: 2px solid var(--cream);
  border-radius: var(--radius);
  padding: 24px 20px;
  text-align: center;
  box-shadow: 0 3px 10px var(--shadow);
  transition: transform 0.2s ease, box-shadow 0.2s ease;
}

.service-card:hover {
  transform: translateY(-4px);
  box-shadow: 0 8px 20px var(--shadow);
}

.service-card .icon {
  font-size: 2.6rem;
  display: block;
  margin-bottom: 12px;
}

.service-card h3 {
  font-size: 1.15rem;
  font-weight: 700;
  margin-bottom: 8px;
  color: var(--orange-dark);
}

.service-card p {
  font-size: 0.98rem;
  color: var(--text-light);
}

/* ---------- 対応エリア ---------- */
.area-box {
  max-width: 720px;
  margin: 0 auto;
  background-color: var(--base);
  border: 2px dashed var(--green);
  border-radius: var(--radius);
  padding: 28px 24px;
  text-align: center;
  font-size: 1.15rem;
  line-height: 1.9;
}

.area-box strong {
  color: var(--green-dark);
  font-size: 1.25rem;
}

/* ---------- アクセス / 地図 ---------- */
.access-info {
  max-width: 760px;
  margin: 0 auto 24px;
  text-align: center;
  font-size: 1.05rem;
}

.access-info dl {
  display: inline-block;
  text-align: left;
}

.access-info dt {
  font-weight: 700;
  color: var(--orange-dark);
  margin-top: 12px;
}

.map-wrap {
  max-width: 900px;
  margin: 0 auto;
  border-radius: var(--radius);
  overflow: hidden;
  box-shadow: 0 4px 14px var(--shadow);
  line-height: 0;
}

.map-wrap iframe {
  width: 100%;
  height: 340px;
  border: 0;
}

/* ---------- お問い合わせ誘導 ---------- */
.cta-section {
  background: linear-gradient(135deg, var(--green) 0%, var(--green-dark) 100%);
  color: #fff;
  text-align: center;
  padding: 48px 20px;
}

.cta-section h2 {
  font-size: 1.5rem;
  margin-bottom: 16px;
}

.cta-section .cta-tel {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-size: 2rem;
  font-weight: 700;
  color: #fff;
  margin-bottom: 8px;
}

.cta-section .cta-tel:hover {
  text-decoration: none;
}

.cta-section .cta-note {
  font-size: 0.98rem;
  margin-bottom: 24px;
  opacity: 0.95;
}

/* ---------- ボタン共通 ---------- */
.btn {
  display: inline-block;
  font-weight: 700;
  font-size: 1.1rem;
  padding: 16px 40px;
  border-radius: 40px;
  text-align: center;
  transition: transform 0.15s ease, box-shadow 0.15s ease;
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.18);
}

.btn:hover {
  transform: translateY(-2px);
  text-decoration: none;
}

.btn-primary {
  background-color: var(--sunflower);
  color: var(--text);
}

.btn-primary:hover {
  background-color: var(--sunflower-dark);
  color: var(--text);
}

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

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

.btn-orange {
  background-color: var(--orange);
  color: #fff;
}

.btn-orange:hover {
  background-color: var(--orange-dark);
  color: #fff;
}

/* ---------- 電話でのお問い合わせ(contactページ) ---------- */
.tel-hero {
  text-align: center;
  padding: 48px 20px;
  background-color: var(--cream);
}

.tel-hero .tel-label {
  font-size: 1.2rem;
  font-weight: 700;
  color: var(--orange-dark);
  margin-bottom: 8px;
}

.tel-hero .big-tel {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  font-size: 2.8rem;
  font-weight: 700;
  color: var(--orange-dark);
  line-height: 1.2;
  margin: 8px 0;
}

.tel-hero .big-tel:hover {
  text-decoration: none;
}

.tel-hero .tel-hours {
  font-size: 1.05rem;
  color: var(--text-light);
  margin-top: 8px;
}

.tel-hero .tap-note {
  display: inline-block;
  margin-top: 16px;
  background-color: var(--green);
  color: #fff;
  font-weight: 700;
  padding: 10px 20px;
  border-radius: 30px;
  font-size: 1rem;
}

.tel-hero .target-note {
  max-width: 640px;
  margin: 24px auto 0;
  font-size: 1.05rem;
  line-height: 1.9;
}

/* ---------- 募集ページ:チェックリスト ---------- */
.check-list {
  max-width: 720px;
  margin: 0 auto;
  list-style: none;
}

.check-list li {
  display: flex;
  align-items: flex-start;
  gap: 12px;
  background-color: var(--base);
  border-left: 5px solid var(--green);
  border-radius: 8px;
  padding: 16px 18px;
  margin-bottom: 14px;
  font-size: 1.08rem;
  box-shadow: 0 2px 8px var(--shadow);
}

.check-list li::before {
  content: "✓";
  color: var(--green-dark);
  font-weight: 700;
  font-size: 1.3rem;
  flex-shrink: 0;
  line-height: 1.5;
}

/* ---------- ご利用の流れ(ステップ) ---------- */
.step-list {
  max-width: 760px;
  margin: 0 auto;
  list-style: none;
  counter-reset: step;
}

.step-list li {
  position: relative;
  background-color: var(--base);
  border: 2px solid var(--cream);
  border-radius: var(--radius);
  padding: 22px 20px 22px 76px;
  margin-bottom: 20px;
  box-shadow: 0 3px 10px var(--shadow);
}

.step-list li::before {
  counter-increment: step;
  content: counter(step);
  position: absolute;
  left: 18px;
  top: 50%;
  transform: translateY(-50%);
  width: 44px;
  height: 44px;
  background-color: var(--sunflower);
  color: var(--text);
  font-weight: 700;
  font-size: 1.4rem;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
}

.step-list li:not(:last-child)::after {
  content: "▼";
  position: absolute;
  left: 32px;
  bottom: -18px;
  color: var(--orange);
  font-size: 1rem;
}

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

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

/* ---------- 情報ボックス(料金など) ---------- */
.info-box {
  max-width: 720px;
  margin: 0 auto;
  background-color: var(--cream);
  border-radius: var(--radius);
  padding: 24px 22px;
  font-size: 1.05rem;
  line-height: 1.9;
  border-top: 5px solid var(--orange);
}

/* ---------- フッター ---------- */
.site-footer {
  background-color: var(--text);
  color: #eee;
  padding: 36px 20px 24px;
  font-size: 0.95rem;
}

.footer-inner {
  max-width: 1080px;
  margin: 0 auto;
  display: grid;
  gap: 24px;
}

.footer-info h3 {
  font-size: 1.15rem;
  margin-bottom: 10px;
  color: var(--sunflower);
}

.footer-info p {
  margin-bottom: 4px;
  line-height: 1.7;
}

.footer-info a {
  color: var(--sunflower);
}

.footer-nav ul {
  list-style: none;
  display: flex;
  flex-wrap: wrap;
  gap: 16px;
}

.footer-nav a {
  color: #eee;
}

.footer-nav a:hover {
  color: var(--sunflower);
}

.footer-copy {
  text-align: center;
  margin-top: 24px;
  padding-top: 16px;
  border-top: 1px solid rgba(255, 255, 255, 0.15);
  font-size: 0.85rem;
  color: #bbb;
}

/* ---------- モバイル固定「電話をかける」ボタン ---------- */
.fixed-call {
  position: fixed;
  left: 0;
  right: 0;
  bottom: 0;
  z-index: 200;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  background-color: var(--green);
  color: #fff;
  font-size: 1.2rem;
  font-weight: 700;
  padding: 16px;
  box-shadow: 0 -2px 10px rgba(0, 0, 0, 0.2);
}

.fixed-call:hover {
  color: #fff;
  text-decoration: none;
  background-color: var(--green-dark);
}

/* ---------- ページ小見出しヒーロー(下層ページ用) ---------- */
.page-hero {
  background: linear-gradient(135deg, var(--sunflower) 0%, var(--orange) 100%);
  color: #fff;
  text-align: center;
  padding: 40px 20px;
}

.page-hero h1 {
  font-size: 1.8rem;
  text-shadow: 0 2px 6px rgba(0, 0, 0, 0.15);
}

.page-hero p {
  margin-top: 8px;
  font-size: 1.05rem;
}

/* 募集ヒーロー(大きく打ち出す) */
.recruit-hero {
  background:
    radial-gradient(circle at 18% 22%, rgba(255, 255, 255, 0.5) 0%, rgba(255, 255, 255, 0) 40%),
    linear-gradient(135deg, var(--orange) 0%, var(--sunflower) 100%);
  color: #fff;
  text-align: center;
  padding: 56px 20px;
  position: relative;
  overflow: hidden;
}

.recruit-hero .badge {
  display: inline-block;
  background: #fff;
  color: var(--orange-dark);
  font-weight: 700;
  padding: 6px 20px;
  border-radius: 30px;
  font-size: 1rem;
  margin-bottom: 16px;
  position: relative;
  z-index: 1;
}

.recruit-hero h1 {
  font-size: 2.2rem;
  line-height: 1.5;
  text-shadow: 0 2px 8px rgba(0, 0, 0, 0.18);
  position: relative;
  z-index: 1;
}

.recruit-hero p {
  margin-top: 14px;
  font-size: 1.1rem;
  position: relative;
  z-index: 1;
}

/* ---------- レスポンシブ:タブレット以上 ---------- */
@media (min-width: 600px) {
  .card-grid {
    grid-template-columns: repeat(2, 1fr);
  }
}

@media (min-width: 768px) {
  body {
    padding-bottom: 0;        /* PCでは固定電話ボタン非表示 */
  }

  .fixed-call {
    display: none;
  }

  .hero-catch {
    font-size: 2.7rem;
  }

  .hero-sub {
    font-size: 1.2rem;
  }

  .section-title {
    font-size: 1.8rem;
  }

  .card-grid {
    grid-template-columns: repeat(3, 1fr);
  }

  .footer-inner {
    grid-template-columns: 2fr 1fr;
    align-items: start;
  }
}

@media (min-width: 900px) {
  .recruit-hero h1 {
    font-size: 2.6rem;
  }
}
