/* =========================================================
   たかはな介護タクシー  スタイルシート
   配色：明るいグリーン＋やさしいブルー
   方針：お年寄り・ご家族が見やすいよう大きめ文字＆高コントラスト
   ========================================================= */

/* ---- カラー・変数 ---- */
:root {
  --green:        #4caf7d;   /* メインの明るいグリーン */
  --green-dark:   #2f8f5f;
  --green-light:  #e7f6ee;
  --blue:         #3a9bd4;   /* やさしいブルー */
  --blue-dark:    #2b7cae;
  --blue-light:   #e8f4fb;
  --ink:          #2c3a34;   /* 文字色（真っ黒より柔らかく） */
  --ink-soft:     #5a6a63;
  --bg:           #ffffff;
  --bg-tint:      #f3faf6;
  --line:         #dce7e1;
  --shadow:       0 6px 24px rgba(47,143,95,.10);
  --radius:       18px;
}

/* ---- リセット・ベース ---- */
* { box-sizing: border-box; margin: 0; padding: 0; }

html { scroll-behavior: smooth; scroll-padding-top: 90px; }

body {
  font-family: "Noto Sans JP", "Hiragino Kaku Gothic ProN", "Meiryo", sans-serif;
  color: var(--ink);
  background: var(--bg);
  line-height: 1.9;
  font-size: 18px;            /* 大きめの基本サイズ */
  -webkit-font-smoothing: antialiased;
  word-break: break-word;
}

img { max-width: 100%; display: block; }
a { color: var(--blue-dark); }

.container { width: min(1040px, 90%); margin-inline: auto; }

/* =========================================================
   ヘッダー
   ========================================================= */
.site-header {
  position: sticky; top: 0; z-index: 100;
  background: rgba(255,255,255,.96);
  backdrop-filter: blur(6px);
  border-bottom: 1px solid var(--line);
}
.header-inner {
  width: min(1160px, 94%); margin-inline: auto;
  display: flex; align-items: center; justify-content: space-between;
  gap: 16px; min-height: 74px;
}
.logo { display: flex; align-items: center; gap: 10px; text-decoration: none; color: var(--ink); }
.logo-mark { font-size: 30px; }
.logo-text { display: flex; flex-direction: column; line-height: 1.3; }
.logo-name { font-family: "Kosugi Maru", sans-serif; font-weight: 700; font-size: 20px; color: var(--green-dark); }
.logo-sub  { font-size: 12px; color: var(--ink-soft); }

.site-nav ul { list-style: none; display: flex; gap: 4px; align-items: center; }
.site-nav a {
  display: block; padding: 10px 14px; text-decoration: none;
  color: var(--ink); font-weight: 500; border-radius: 10px; font-size: 16px;
  transition: background .2s, color .2s;
}
.site-nav a:hover { background: var(--green-light); color: var(--green-dark); }
.nav-cta {
  background: var(--green); color: #fff !important;
  padding: 10px 20px !important; box-shadow: var(--shadow);
}
.nav-cta:hover { background: var(--green-dark) !important; }

/* ハンバーガー（スマホ用） */
.nav-toggle {
  display: none; flex-direction: column; gap: 6px;
  background: none; border: none; cursor: pointer; padding: 8px;
}
.nav-toggle span { width: 28px; height: 3px; background: var(--green-dark); border-radius: 3px; transition: .3s; }
.nav-toggle[aria-expanded="true"] span:nth-child(1) { transform: translateY(9px) rotate(45deg); }
.nav-toggle[aria-expanded="true"] span:nth-child(2) { opacity: 0; }
.nav-toggle[aria-expanded="true"] span:nth-child(3) { transform: translateY(-9px) rotate(-45deg); }

/* =========================================================
   ヒーロー
   ========================================================= */
.hero {
  position: relative;
  background:
    radial-gradient(1200px 500px at 80% -10%, rgba(58,155,212,.28), transparent 60%),
    linear-gradient(135deg, var(--green-light) 0%, var(--blue-light) 100%);
  padding: 84px 0 140px;
  overflow: hidden;
}
.hero-inner { width: min(1040px, 90%); margin-inline: auto; text-align: center; }
.hero-lead {
  display: inline-block; background: #fff; color: var(--green-dark);
  font-weight: 700; padding: 8px 22px; border-radius: 999px;
  box-shadow: var(--shadow); font-size: 17px; margin-bottom: 24px;
}
.hero-copy {
  font-family: "Kosugi Maru", sans-serif;
  font-size: clamp(2.4rem, 7vw, 4.4rem);
  line-height: 1.35; color: var(--green-dark);
  text-shadow: 0 2px 0 #fff;
  margin-bottom: 26px;
}
.hero-text { font-size: 19px; color: var(--ink); margin-bottom: 36px; }
.hero-btns { display: flex; gap: 16px; justify-content: center; flex-wrap: wrap; }

.btn {
  display: inline-flex; align-items: center; justify-content: center;
  padding: 16px 34px; border-radius: 999px; font-weight: 700;
  text-decoration: none; font-size: 18px; transition: transform .15s, box-shadow .2s, background .2s;
}
.btn-primary { background: var(--green); color: #fff; box-shadow: var(--shadow); }
.btn-primary:hover { background: var(--green-dark); transform: translateY(-2px); }
.btn-outline { background: #fff; color: var(--green-dark); border: 2px solid var(--green); }
.btn-outline:hover { background: var(--green-light); transform: translateY(-2px); }

.hero-wave { position: absolute; left: 0; right: 0; bottom: -1px; line-height: 0; }
.hero-wave svg { width: 100%; height: 90px; }
.hero-wave path { fill: #fff; }

/* =========================================================
   セクション共通
   ========================================================= */
.section { padding: 80px 0; }
.section-tint { background: var(--bg-tint); }

.section-title { text-align: center; margin-bottom: 46px; }
.section-title .ja {
  display: block; font-family: "Kosugi Maru", sans-serif;
  font-size: clamp(1.7rem, 4vw, 2.3rem); color: var(--green-dark); font-weight: 700;
}
.section-title .en {
  display: block; font-size: 14px; letter-spacing: .2em; text-transform: uppercase;
  color: var(--blue); margin-top: 6px; font-weight: 700;
}
.section-title-light .ja { color: #fff; }
.section-title-light .en { color: rgba(255,255,255,.85); }

.sub-title {
  font-size: 20px; color: var(--green-dark); font-weight: 700;
  margin: 28px 0 14px; padding-left: 14px; border-left: 6px solid var(--green);
}

/* =========================================================
   ごあいさつ
   ========================================================= */
.greeting-box {
  max-width: 820px; margin-inline: auto;
  background: linear-gradient(180deg, #fff, var(--green-light));
  padding: 44px; border-radius: var(--radius); box-shadow: var(--shadow);
}
.greeting-box p { margin-bottom: 20px; }
.greeting-closing {
  font-size: 20px; text-align: center; margin-top: 8px;
  padding-top: 22px; border-top: 2px dashed var(--green);
}
.greeting-closing strong { color: var(--green-dark); }

/* =========================================================
   カード / サービス
   ========================================================= */
.card {
  background: #fff; border-radius: var(--radius); box-shadow: var(--shadow);
  padding: 40px; margin-bottom: 32px; border: 1px solid var(--line);
}
.card-title {
  display: flex; align-items: center; gap: 14px;
  font-family: "Kosugi Maru", sans-serif; font-size: 26px; color: var(--green-dark);
  margin-bottom: 18px;
}
.badge {
  display: inline-flex; align-items: center; justify-content: center;
  width: 44px; height: 44px; border-radius: 50%;
  background: var(--green); color: #fff; font-size: 18px; flex-shrink: 0;
}

.note { color: var(--ink-soft); font-size: 15.5px; margin: 10px 0; }
.lead-text {
  background: var(--blue-light); border-radius: 12px; padding: 18px 22px;
  margin-top: 20px; font-weight: 500;
}
.text-link { color: var(--blue-dark); font-weight: 700; text-decoration: underline; }

/* リスト各種 */
.check-list { list-style: none; }
.check-list li { position: relative; padding-left: 34px; margin-bottom: 12px; }
.check-list li::before {
  content: "✓"; position: absolute; left: 0; top: 0;
  width: 24px; height: 24px; background: var(--green); color: #fff;
  border-radius: 50%; display: flex; align-items: center; justify-content: center;
  font-size: 15px; font-weight: 700;
}
.example-list { list-style: none; }
.example-list li {
  position: relative; padding: 12px 12px 12px 40px; margin-bottom: 8px;
  background: var(--green-light); border-radius: 10px;
}
.example-list li::before { content: "🚕"; position: absolute; left: 12px; }

.tag-list { list-style: none; display: flex; flex-wrap: wrap; gap: 10px; }
.tag-list li {
  background: var(--blue-light); color: var(--blue-dark); font-weight: 500;
  padding: 10px 16px; border-radius: 999px; font-size: 16px;
  border: 1px solid #cfe6f5;
}

/* フロー（組み合わせ例） */
.example-caption { font-weight: 700; color: var(--green-dark); margin: 24px 0 12px; font-size: 18px; }
.flow-table { display: flex; flex-wrap: wrap; gap: 12px; align-items: stretch; }
.flow-step {
  flex: 1 1 190px; background: #fff; border: 2px solid var(--line);
  border-radius: 14px; padding: 16px; text-align: center; position: relative;
}
.flow-step:not(:last-child)::after {
  content: "→"; position: absolute; right: -14px; top: 50%; transform: translateY(-50%);
  color: var(--green); font-weight: 700; font-size: 20px; z-index: 1;
}
.flow-move { font-weight: 700; margin-bottom: 8px; }
.flow-type { display: inline-block; font-size: 13px; padding: 3px 12px; border-radius: 999px; color: #fff; margin-bottom: 8px; }
.type-taxi { background: var(--green); }
.type-rescue { background: var(--blue); }
.flow-fee { font-size: 14px; color: var(--ink-soft); }

/* =========================================================
   料金テーブル
   ========================================================= */
.price-heading {
  font-family: "Kosugi Maru", sans-serif; font-size: 24px; color: var(--green-dark);
  margin: 30px 0 16px; text-align: center;
}
.table-wrap { overflow-x: auto; }
.price-table {
  width: 100%; border-collapse: collapse; background: #fff;
  border-radius: var(--radius); overflow: hidden; box-shadow: var(--shadow);
  min-width: 480px;
}
.price-table th, .price-table td {
  padding: 16px 18px; border-bottom: 1px solid var(--line); text-align: left; vertical-align: middle;
}
.price-table th {
  background: var(--green-light); color: var(--green-dark); font-weight: 700; white-space: nowrap;
}
.price-table .price { text-align: right; font-weight: 700; white-space: nowrap; font-size: 19px; }
.price-free { color: var(--green-dark); }
.price-table tr:last-child th, .price-table tr:last-child td { border-bottom: none; }

/* =========================================================
   ご利用案内 ステップ
   ========================================================= */
.guide-lead { text-align: center; max-width: 760px; margin: 0 auto 44px; font-size: 19px; }
.guide-lead strong { color: var(--green-dark); }
.steps { list-style: none; display: grid; gap: 20px; max-width: 820px; margin-inline: auto; }
.step {
  display: flex; gap: 22px; align-items: flex-start;
  background: #fff; border-radius: var(--radius); padding: 26px 28px;
  box-shadow: var(--shadow); border: 1px solid var(--line);
}
.step-num {
  flex-shrink: 0; width: 54px; height: 54px; border-radius: 50%;
  background: linear-gradient(135deg, var(--green), var(--blue));
  color: #fff; font-size: 26px; font-weight: 700;
  display: flex; align-items: center; justify-content: center;
  font-family: "Kosugi Maru", sans-serif;
}
.step-body h3 { font-size: 20px; color: var(--green-dark); margin-bottom: 4px; }

/* =========================================================
   スタッフ紹介
   ========================================================= */
.staff-card {
  display: grid; grid-template-columns: 240px 1fr; gap: 40px;
  background: #fff; border-radius: var(--radius); box-shadow: var(--shadow);
  padding: 44px; border: 1px solid var(--line);
}
.staff-photo {
  background: var(--green-light); border-radius: var(--radius);
  display: flex; flex-direction: column; align-items: center; justify-content: center;
  color: var(--green-dark); aspect-ratio: 3/4; position: sticky; top: 100px; align-self: start;
}
.staff-photo span { font-size: 80px; }
.staff-name { font-family: "Kosugi Maru", sans-serif; font-size: 28px; color: var(--green-dark); margin-bottom: 8px; }
.staff-name span { font-size: 15px; color: var(--ink-soft); }
.staff-h {
  font-size: 19px; color: var(--blue-dark); margin: 24px 0 10px;
  padding-bottom: 6px; border-bottom: 2px solid var(--blue-light);
}
.staff-info p { margin-bottom: 12px; }
.career-list, .qual-list { list-style: none; display: flex; flex-wrap: wrap; gap: 10px; }
.career-list li, .qual-list li {
  background: var(--green-light); color: var(--green-dark); font-weight: 500;
  padding: 8px 16px; border-radius: 999px; font-size: 15.5px;
}
.qual-list li { background: var(--blue-light); color: var(--blue-dark); }

/* =========================================================
   お問い合わせ CTA
   ========================================================= */
.section-cta {
  background: linear-gradient(135deg, var(--green) 0%, var(--blue) 100%);
  color: #fff;
}
.cta-lead { text-align: center; font-size: 20px; margin-bottom: 40px; }
.contact-cards { display: flex; gap: 24px; justify-content: center; flex-wrap: wrap; }
.contact-card {
  background: #fff; color: var(--ink); border-radius: var(--radius);
  padding: 34px 40px; text-align: center; text-decoration: none;
  box-shadow: 0 10px 30px rgba(0,0,0,.15); min-width: 280px;
  display: flex; flex-direction: column; align-items: center; gap: 6px;
  transition: transform .15s;
}
a.contact-card:hover { transform: translateY(-4px); }
.contact-icon { font-size: 44px; }
.contact-label { font-weight: 700; color: var(--green-dark); font-size: 18px; }
.contact-value { font-size: 30px; font-weight: 700; font-family: "Kosugi Maru", sans-serif; color: var(--ink); }
.contact-note { font-size: 14px; color: var(--ink-soft); }
.qr-placeholder {
  width: 140px; height: 140px; border: 3px dashed var(--green);
  border-radius: 14px; display: flex; align-items: center; justify-content: center;
  color: var(--green-dark); font-size: 14px; margin: 6px 0; text-align: center; line-height: 1.5;
}

/* =========================================================
   アクセス
   ========================================================= */
.access-grid { display: grid; grid-template-columns: 1fr 1.2fr; gap: 32px; align-items: stretch; }
.access-info {
  background: #fff; border-radius: var(--radius); padding: 34px;
  box-shadow: var(--shadow); border: 1px solid var(--line);
}
.access-info dl { display: grid; grid-template-columns: auto 1fr; gap: 0; }
.access-info dt {
  font-weight: 700; color: var(--green-dark); padding: 14px 0;
  border-bottom: 1px solid var(--line); white-space: nowrap; padding-right: 18px;
}
.access-info dd { padding: 14px 0; border-bottom: 1px solid var(--line); }
.access-map { border-radius: var(--radius); overflow: hidden; box-shadow: var(--shadow); min-height: 360px; }
.access-map iframe { width: 100%; height: 100%; min-height: 360px; border: 0; }

/* =========================================================
   フッター
   ========================================================= */
.site-footer { background: var(--ink); color: #fff; padding: 40px 0; text-align: center; }
.footer-name { font-family: "Kosugi Maru", sans-serif; font-size: 22px; margin-bottom: 6px; }
.footer-address { color: #b9c7c0; margin-bottom: 16px; }
.footer-copy { font-size: 14px; color: #8fa199; }

/* =========================================================
   追従ボタン（スマホのみ表示）
   ========================================================= */
.floating-bar { display: none; }

/* =========================================================
   レスポンシブ
   ========================================================= */
@media (max-width: 860px) {
  .staff-card { grid-template-columns: 1fr; }
  .staff-photo { position: static; max-width: 220px; margin-inline: auto; aspect-ratio: 3/4; }
  .access-grid { grid-template-columns: 1fr; }
}

@media (max-width: 720px) {
  body { font-size: 17px; }

  /* ナビをスライドメニューに */
  .nav-toggle { display: flex; }
  .site-nav {
    position: fixed; top: 74px; right: 0; width: min(78%, 300px); height: calc(100vh - 74px);
    background: #fff; box-shadow: -6px 0 24px rgba(0,0,0,.12);
    transform: translateX(100%); transition: transform .3s; padding: 20px;
    overflow-y: auto;
  }
  .site-nav.open { transform: translateX(0); }
  .site-nav ul { flex-direction: column; gap: 4px; align-items: stretch; }
  .site-nav a { padding: 16px; border-radius: 12px; font-size: 18px; }
  .nav-cta { text-align: center; }

  .section { padding: 56px 0; }
  .card, .greeting-box, .access-info { padding: 26px; }
  .hero { padding: 60px 0 120px; }

  .flow-step:not(:last-child)::after { content: "↓"; right: 50%; top: auto; bottom: -18px; transform: translateX(50%); }

  /* 下部追従ボタン */
  .floating-bar {
    display: flex; position: fixed; bottom: 0; left: 0; right: 0; z-index: 90;
    box-shadow: 0 -4px 16px rgba(0,0,0,.12);
  }
  .float-btn {
    flex: 1; text-align: center; padding: 16px 8px; color: #fff;
    text-decoration: none; font-weight: 700; font-size: 16px;
  }
  .float-tel { background: var(--green); }
  .float-line { background: #06c755; }
  body { padding-bottom: 60px; } /* 追従ボタン分の余白 */
}

/* スマホでのみ改行させる用 */
.sp-only { display: none; }
@media (max-width: 480px) { .sp-only { display: inline; } }

/* アニメーション（スクロールで表示） */
.reveal { opacity: 0; transform: translateY(24px); transition: opacity .6s ease, transform .6s ease; }
.reveal.visible { opacity: 1; transform: translateY(0); }
@media (prefers-reduced-motion: reduce) {
  .reveal { opacity: 1; transform: none; transition: none; }
  html { scroll-behavior: auto; }
}
