/* ==========================================================================
   介護タクシーさくら - 共通スタイル
   デザイントークン
   Color:
     --cream      #FFFBF3  背景（あたたかいクリーム）
     --pink       #FF8FA3  プライマリ（さくらピンク）
     --pink-deep  #E8637C  ピンク濃色（ホバー・強調）
     --peach      #FFDCC2  セカンダリ（やわらかい桃色）
     --green      #7FC9A0  アクセント（安心・自然グリーン）
     --ink        #4A423C  本文色（あたたかい墨色）
     --ink-soft   #8C8179  補助テキスト
     --white      #FFFFFF
   Type:
     Display: 'Zen Maru Gothic'（丸みのある見出し）
     Body:    'Zen Kaku Gothic New'（読みやすい本文）
   ========================================================================== */

@import url('https://fonts.googleapis.com/css2?family=Zen+Maru+Gothic:wght@400;500;700;900&family=Zen+Kaku+Gothic+New:wght@400;500;700&display=swap');

* { box-sizing: border-box; margin: 0; padding: 0; }

:root {
  --cream: #FFFBF3;
  --pink: #FF8FA3;
  --pink-deep: #E8637C;
  --peach: #FFDCC2;
  --green: #7FC9A0;
  --green-deep: #56A67D;
  --ink: #4A423C;
  --ink-soft: #8C8179;
  --white: #FFFFFF;
  --radius-lg: 32px;
  --radius-md: 20px;
  --radius-sm: 12px;
  --shadow: 0 8px 24px rgba(232, 99, 124, 0.12);
}

html { scroll-behavior: smooth; }

body {
  font-family: 'Zen Kaku Gothic New', sans-serif;
  background: var(--cream);
  color: var(--ink);
  line-height: 1.85;
  font-size: 16px;
  overflow-x: hidden;
}

h1, h2, h3, h4 {
  font-family: 'Zen Maru Gothic', sans-serif;
  color: var(--ink);
  line-height: 1.5;
}

a { color: inherit; text-decoration: none; }
img { max-width: 100%; display: block; }
button { font-family: inherit; cursor: pointer; border: none; }

.container {
  max-width: 1080px;
  margin: 0 auto;
  padding: 0 24px;
}

/* ---------- ヘッダー ---------- */
.site-header {
  position: sticky;
  top: 0;
  z-index: 100;
  background: rgba(255, 251, 243, 0.92);
  backdrop-filter: blur(8px);
  border-bottom: 1px solid rgba(74, 66, 60, 0.08);
}

.header-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 14px 24px;
  max-width: 1080px;
  margin: 0 auto;
  gap: 16px;
}

.logo {
  display: flex;
  align-items: center;
  gap: 10px;
  font-family: 'Zen Maru Gothic', sans-serif;
  font-weight: 900;
  font-size: 1.25rem;
  color: var(--pink-deep);
  flex-shrink: 0;
}

.logo svg { width: 42px; height: 42px; flex-shrink: 0; }

.logo-text { display: flex; flex-direction: column; line-height: 1.2; }
.logo-sub {
  font-size: 0.68rem;
  font-weight: 700;
  color: var(--ink-soft);
  letter-spacing: 0.05em;
}
.logo-main { font-size: 1.25rem; font-weight: 900; color: var(--pink-deep); }

.nav-links {
  display: flex;
  gap: 4px;
  flex-wrap: wrap;
  font-size: 0.92rem;
  font-weight: 500;
}

.nav-links a {
  padding: 8px 14px;
  border-radius: 999px;
  transition: background 0.2s, color 0.2s;
  white-space: nowrap;
}

.nav-links a:hover, .nav-links a.active {
  background: var(--pink);
  color: var(--white);
}

.header-cta {
  display: flex;
  align-items: center;
  gap: 8px;
  background: var(--pink-deep);
  color: var(--white);
  padding: 10px 18px;
  border-radius: 999px;
  font-weight: 700;
  font-size: 0.95rem;
  white-space: nowrap;
  box-shadow: var(--shadow);
}

.header-cta:hover { background: var(--ink); }

/* ---------- ハンバーガーメニュー（モバイル） ---------- */
.menu-toggle {
  display: none;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  gap: 5px;
  width: 44px;
  height: 44px;
  background: transparent;
  border-radius: 999px;
  flex-shrink: 0;
}

.menu-toggle span {
  display: block;
  width: 24px;
  height: 3px;
  border-radius: 2px;
  background: var(--ink);
  transition: transform 0.25s, opacity 0.25s;
}

.menu-toggle.active span:nth-child(1) { transform: translateY(8px) rotate(45deg); }
.menu-toggle.active span:nth-child(2) { opacity: 0; }
.menu-toggle.active span:nth-child(3) { transform: translateY(-8px) rotate(-45deg); }

.mobile-nav {
  display: none;
  flex-direction: column;
  background: var(--white);
  border-top: 1px solid rgba(74, 66, 60, 0.08);
  padding: 8px 24px 20px;
}

.mobile-nav a {
  padding: 14px 4px;
  border-bottom: 1px solid rgba(74, 66, 60, 0.06);
  font-weight: 500;
  font-size: 0.95rem;
}

.mobile-nav a.active { color: var(--pink-deep); font-weight: 700; }

.mobile-nav-cta {
  display: block;
  margin-top: 14px;
  background: var(--pink-deep);
  color: var(--white) !important;
  text-align: center;
  border-radius: 999px;
  padding: 14px !important;
  font-weight: 700;
  border-bottom: none !important;
}

.mobile-nav.open { display: flex; }

@media (max-width: 860px) {
  .nav-links { display: none; }
  .menu-toggle { display: flex; }
  .header-cta { display: none; }
}

@media (min-width: 861px) {
  .mobile-nav, .menu-toggle { display: none !important; }

  .header-inner {
    flex-wrap: wrap;
    row-gap: 8px;
  }
  .nav-links {
    order: 3;
    flex-basis: 100%;
    flex-wrap: nowrap;
    justify-content: center;
  }
}

/* ---------- お知らせバー ---------- */
.info-bar {
  background: var(--peach);
  padding: 10px 0;
  text-align: center;
  font-size: 0.85rem;
}

/* ---------- ヒーロー ---------- */
.hero {
  position: relative;
  padding: 64px 24px 96px;
  overflow: hidden;
}

.hero::before {
  content: '';
  position: absolute;
  top: -120px;
  right: -160px;
  width: 480px;
  height: 480px;
  background: var(--peach);
  border-radius: 50%;
  opacity: 0.6;
  z-index: 0;
}

.hero-inner {
  position: relative;
  z-index: 1;
  max-width: 1080px;
  margin: 0 auto;
  display: grid;
  grid-template-columns: 1.1fr 1fr;
  gap: 48px;
  align-items: center;
}

.hero-eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  background: var(--white);
  color: var(--pink-deep);
  padding: 6px 16px;
  border-radius: 999px;
  font-weight: 700;
  font-size: 0.85rem;
  margin-bottom: 20px;
  box-shadow: var(--shadow);
}

.hero h1 {
  font-size: clamp(2rem, 4.2vw, 2.9rem);
  font-weight: 900;
  margin-bottom: 20px;
}

.hero h1 span { color: var(--pink-deep); }

.hero p {
  color: var(--ink-soft);
  font-size: 1.05rem;
  margin-bottom: 28px;
  max-width: 520px;
}

.hero-actions { display: flex; gap: 14px; flex-wrap: wrap; }

.btn-primary, .btn-secondary {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  padding: 16px 28px;
  border-radius: 999px;
  font-weight: 700;
  font-size: 1rem;
  transition: transform 0.15s, box-shadow 0.15s;
}

.btn-primary {
  background: var(--pink-deep);
  color: var(--white);
  box-shadow: 0 10px 28px rgba(232, 99, 124, 0.28);
}

.btn-primary:hover { transform: translateY(-2px); }

.btn-secondary {
  background: var(--white);
  color: var(--ink);
  border: 2px solid rgba(74,66,60,0.1);
}

.btn-secondary:hover { border-color: var(--pink); transform: translateY(-2px); }

.hero-tel { font-size: 0.8rem; color: var(--ink-soft); margin-top: 12px; }
.hero-tel strong { color: var(--pink-deep); font-size: 1.1rem; }

.hero-art { display: flex; justify-content: center; }
.hero-art svg { width: 100%; max-width: 380px; }

.hero-photo { display: flex; justify-content: center; }
.hero-photo img {
  width: 100%;
  max-width: 420px;
  aspect-ratio: 1 / 1;
  object-fit: cover;
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow);
}

@media (max-width: 860px) {
  .hero-inner { grid-template-columns: 1fr; }
  .hero-art { order: -1; max-width: 280px; margin: 0 auto; }
  .hero-photo { order: -1; max-width: 320px; margin: 0 auto; }
}

/* ---------- セクション共通 ---------- */
section { padding: 72px 0; }

.section-head { text-align: center; max-width: 640px; margin: 0 auto 48px; }

.section-eyebrow {
  color: var(--green-deep);
  font-weight: 700;
  font-size: 0.85rem;
  letter-spacing: 0.05em;
  margin-bottom: 8px;
  display: block;
}

.section-head h2 {
  font-size: clamp(1.5rem, 3vw, 2rem);
  font-weight: 900;
}

.section-head p { color: var(--ink-soft); margin-top: 12px; }

/* ---------- サービスカード ---------- */
.card-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
}

.card-grid--2 { grid-template-columns: repeat(2, 1fr); }
.card-grid--4 { grid-template-columns: repeat(4, 1fr); }

.service-card {
  background: var(--white);
  border-radius: var(--radius-lg);
  padding: 32px 26px;
  box-shadow: var(--shadow);
  transition: transform 0.2s;
}

.service-card:hover { transform: translateY(-6px); }

.service-card .icon-wrap {
  width: 64px; height: 64px;
  border-radius: 20px;
  background: var(--peach);
  display: flex; align-items: center; justify-content: center;
  margin-bottom: 18px;
}

.service-card .icon-wrap svg { width: 34px; height: 34px; }

.service-card .card-photo {
  border-radius: var(--radius-md);
  overflow: hidden;
  aspect-ratio: 4 / 3;
  margin-bottom: 18px;
}
.service-card .card-photo img { width: 100%; height: 100%; object-fit: cover; }

.service-card h3 { font-size: 1.1rem; margin-bottom: 10px; }
.service-card p { color: var(--ink-soft); font-size: 0.92rem; }

@media (max-width: 860px) {
  .card-grid { grid-template-columns: 1fr; }
}

/* ---------- FAQ ---------- */
.faq-list { display: flex; flex-direction: column; gap: 14px; }
.faq-item {
  background: var(--white);
  border-radius: var(--radius-md);
  box-shadow: var(--shadow);
  overflow: hidden;
}
.faq-item summary {
  list-style: none;
  cursor: pointer;
  padding: 20px 24px;
  font-family: 'Zen Maru Gothic', sans-serif;
  font-weight: 700;
  font-size: 1rem;
  color: var(--ink);
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
}
.faq-item summary::-webkit-details-marker { display: none; }
.faq-item summary::after {
  content: '+';
  font-weight: 400;
  font-size: 1.5rem;
  line-height: 1;
  color: var(--pink-deep);
  flex-shrink: 0;
  transition: transform 0.25s;
}
.faq-item[open] summary::after { transform: rotate(45deg); }
.faq-item p {
  padding: 0 24px 22px;
  color: var(--ink-soft);
  font-size: 0.92rem;
}

/* ---------- さくらの約束 ---------- */
.promise-grid {
  display: grid;
  grid-template-columns: repeat(5, 1fr);
  gap: 20px;
}

.promise-item {
  background: var(--white);
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow);
  padding: 28px 18px;
  text-align: center;
  transition: transform 0.2s;
}
.promise-item:hover { transform: translateY(-6px); }

.promise-mark {
  width: 56px; height: 56px;
  border-radius: 50%;
  background: var(--peach);
  display: flex; align-items: center; justify-content: center;
  margin: 0 auto 14px;
}
.promise-mark svg { width: 28px; height: 28px; }
.promise-item p { font-weight: 700; font-size: 0.95rem; color: var(--ink); }

@media (max-width: 960px) {
  .promise-grid { grid-template-columns: repeat(3, 1fr); }
}
@media (max-width: 640px) {
  .promise-grid { grid-template-columns: repeat(2, 1fr); }
}

/* ---------- 選ばれる理由 ---------- */
.reason-grid {
  display: grid;
  grid-template-columns: repeat(6, 1fr);
  gap: 18px;
}

.reason-item {
  background: var(--white);
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow);
  padding: 26px 16px;
  text-align: center;
  transition: transform 0.2s;
}
.reason-item:hover { transform: translateY(-6px); }

.reason-mark { font-size: 1.7rem; display: block; margin-bottom: 10px; }
.reason-item p { font-weight: 700; font-size: 0.9rem; color: var(--ink); }

@media (max-width: 960px) {
  .reason-grid { grid-template-columns: repeat(3, 1fr); }
}
@media (max-width: 560px) {
  .reason-grid { grid-template-columns: repeat(2, 1fr); }
}

/* ---------- Googleクチコミ ---------- */
.review-card {
  background: var(--white);
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow);
  padding: 40px;
  max-width: 460px;
  margin: 0 auto;
  text-align: center;
}
.review-google-icon { width: 30px; height: 30px; margin: 0 auto 14px; }
.review-stars { color: #FBBC04; font-size: 1.6rem; letter-spacing: 4px; margin-bottom: 10px; }
.review-score { margin-bottom: 22px; }
.review-score strong { font-size: 1.7rem; color: var(--ink); margin-right: 8px; font-family: 'Zen Maru Gothic', sans-serif; }
.review-score span { color: var(--ink-soft); font-size: 0.9rem; }

/* ---------- 帯セクション（安心感訴求） ---------- */
.band {
  background: linear-gradient(135deg, var(--pink) 0%, var(--pink-deep) 100%);
  color: var(--white);
  border-radius: var(--radius-lg);
  padding: 48px;
  display: grid;
  grid-template-columns: 1fr auto;
  gap: 24px;
  align-items: center;
}

.band h3 { color: var(--white); font-size: 1.4rem; margin-bottom: 8px; }
.band p { color: rgba(255,255,255,0.9); }

.band .btn-secondary { background: var(--white); color: var(--pink-deep); border: none; }

@media (max-width: 700px) {
  .band { grid-template-columns: 1fr; text-align: center; padding: 36px 24px; }
}

/* ---------- ニュース ---------- */
.news-list { background: var(--white); border-radius: var(--radius-lg); box-shadow: var(--shadow); overflow: hidden; }

.news-item {
  display: flex; gap: 20px; align-items: baseline;
  padding: 20px 28px;
  border-bottom: 1px solid rgba(74,66,60,0.06);
}

.news-item:last-child { border-bottom: none; }
.news-item time { color: var(--pink-deep); font-weight: 700; font-size: 0.88rem; flex-shrink: 0; }
.news-item span { color: var(--ink); font-size: 0.95rem; }

/* ---------- パンくず ---------- */
.page-hero {
  padding: 48px 24px 40px;
  text-align: center;
}
.page-hero h1 { font-size: clamp(1.7rem, 3.5vw, 2.3rem); }
.page-hero p { color: var(--ink-soft); margin-top: 10px; }

/* ---------- 資格・箇条書きピル ---------- */
.pill-list { display: flex; flex-wrap: wrap; gap: 10px; }
.pill {
  background: var(--white);
  border: 1px solid rgba(74,66,60,0.1);
  padding: 10px 18px;
  border-radius: 999px;
  font-size: 0.88rem;
  display: flex; align-items: center; gap: 8px;
}
.pill svg { width: 16px; height: 16px; flex-shrink: 0; color: var(--green-deep); }

/* ---------- テーブル（料金） ---------- */
.price-table {
  width: 100%;
  border-collapse: collapse;
  background: var(--white);
  border-radius: var(--radius-lg);
  overflow: hidden;
  box-shadow: var(--shadow);
}
.price-table th, .price-table td {
  padding: 16px 20px;
  text-align: left;
  border-bottom: 1px solid rgba(74,66,60,0.07);
  font-size: 0.95rem;
}
.price-table thead th {
  background: var(--peach);
  font-family: 'Zen Maru Gothic', sans-serif;
  font-weight: 700;
  color: var(--ink);
}
.price-table tr:last-child td { border-bottom: none; }
.price-table td strong { color: var(--pink-deep); font-size: 1.05rem; }

.note-box {
  background: var(--white);
  border-left: 6px solid var(--green);
  border-radius: var(--radius-sm);
  padding: 20px 24px;
  font-size: 0.92rem;
  color: var(--ink-soft);
  margin-top: 20px;
}

/* ---------- 画像フレーム ---------- */
.photo-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 16px;
}
.photo-grid img {
  border-radius: var(--radius-md);
  aspect-ratio: 4/3;
  object-fit: cover;
  box-shadow: var(--shadow);
}
@media (max-width: 700px) { .photo-grid { grid-template-columns: 1fr 1fr; } }

/* ---------- 長距離移動：写真＋説明 ---------- */
.long-distance-photo-row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 32px;
  align-items: center;
  margin-top: 32px;
}
.long-distance-photo-row .photo-frame {
  position: relative;
  border-radius: var(--radius-md);
  overflow: hidden;
  box-shadow: var(--shadow);
  aspect-ratio: 4 / 3;
  background: var(--white);
}
.long-distance-photo-row .photo-frame img { width: 100%; height: 100%; object-fit: contain; display: block; }
@media (max-width: 700px) {
  .long-distance-photo-row { grid-template-columns: 1fr; }
}

/* ---------- プロフィールカード ---------- */
.profile-card {
  background: var(--white);
  border-radius: var(--radius-lg);
  padding: 36px;
  box-shadow: var(--shadow);
  display: grid;
  grid-template-columns: 200px 1fr;
  gap: 32px;
  align-items: start;
}
.profile-card img { border-radius: var(--radius-md); }
@media (max-width: 700px) { .profile-card { grid-template-columns: 1fr; } .profile-card img { max-width: 180px; margin: 0 auto; } }

/* ---------- お問い合わせフォーム／連絡先 ---------- */
.contact-wrap {
  background: var(--white);
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow);
  padding: 48px;
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 40px;
}

.contact-info dt { font-weight: 700; color: var(--pink-deep); font-size: 0.85rem; margin-top: 18px; }
.contact-info dt:first-child { margin-top: 0; }
.contact-info dd { color: var(--ink); margin-top: 2px; }

.form-field { margin-bottom: 16px; }
.form-field label { display: block; font-size: 0.85rem; font-weight: 700; margin-bottom: 6px; color: var(--ink-soft); }
.form-field input, .form-field textarea, .form-field select {
  width: 100%;
  padding: 12px 16px;
  border-radius: var(--radius-sm);
  border: 1.5px solid rgba(74,66,60,0.15);
  font-family: inherit;
  font-size: 16px;
  background: var(--cream);
  color: var(--ink);
}
.form-field input:focus, .form-field textarea:focus, .form-field select:focus { outline: 2px solid var(--pink); border-color: transparent; }

@media (max-width: 800px) { .contact-wrap { grid-template-columns: 1fr; padding: 28px; } }

/* ---------- 料金シミュレーター ---------- */
.simulator-card {
  background: var(--white);
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow);
  padding: 40px;
}

.simulator-head { text-align: center; max-width: 640px; margin: 0 auto 32px; }

.simulator-body {
  display: grid;
  grid-template-columns: 1.15fr 1fr;
  gap: 40px;
  align-items: start;
}

.checkbox-label {
  display: flex;
  align-items: center;
  gap: 8px;
  font-size: 0.88rem;
  color: var(--ink);
  cursor: pointer;
  padding: 4px 0;
}
.checkbox-label input[type="checkbox"] {
  width: 17px;
  height: 17px;
  accent-color: var(--pink-deep);
  flex-shrink: 0;
}

.checkbox-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 4px 16px;
}

.simulator-result {
  background: var(--cream);
  border-radius: var(--radius-md);
  padding: 28px;
  display: flex;
  flex-direction: column;
  gap: 14px;
}

.result-label { font-size: 0.85rem; font-weight: 700; color: var(--ink-soft); }

.result-amount {
  font-family: 'Zen Maru Gothic', sans-serif;
  font-size: 2.4rem;
  font-weight: 900;
  color: var(--pink-deep);
  line-height: 1.1;
}

.result-breakdown {
  display: grid;
  grid-template-columns: 1fr auto;
  gap: 8px 12px;
  font-size: 0.85rem;
  border-top: 1px solid rgba(74, 66, 60, 0.1);
  padding-top: 14px;
}
.result-breakdown dt { color: var(--ink-soft); }
.result-breakdown dd { font-weight: 700; text-align: right; }

.sim-disclaimer { font-size: 0.75rem; color: var(--ink-soft); line-height: 1.6; }

@media (max-width: 860px) {
  .simulator-card { padding: 28px 24px; }
  .simulator-body { grid-template-columns: 1fr; }
}
@media (max-width: 480px) {
  .checkbox-grid { grid-template-columns: 1fr; }
}

/* ---------- フッター ---------- */
.site-footer {
  background: var(--ink);
  color: rgba(255,255,255,0.75);
  padding: 48px 0 28px;
  font-size: 0.85rem;
}
.footer-inner {
  display: flex; justify-content: space-between; flex-wrap: wrap; gap: 24px;
  margin-bottom: 28px;
}
.footer-logo { display: flex; align-items: center; gap: 10px; color: var(--white); font-family: 'Zen Maru Gothic'; font-weight: 900; }
.footer-links { display: flex; gap: 20px; flex-wrap: wrap; }
.footer-bottom { border-top: 1px solid rgba(255,255,255,0.12); padding-top: 20px; text-align: center; font-size: 0.78rem; color: rgba(255,255,255,0.5); }

/* ---------- focus visible ---------- */
a:focus-visible, button:focus-visible, input:focus-visible, textarea:focus-visible {
  outline: 3px solid var(--green);
  outline-offset: 2px;
}

@media (prefers-reduced-motion: reduce) {
  * { transition: none !important; }
}
