/* ===========================================================
   みどり動物病院 (CRJ WEB 制作サンプル)
   =========================================================== */

/* Reset + Base */
*,
*::before,
*::after {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

:root {
  --bg: #f7f3ec;
  --bg-alt: #fff;
  --bg-deep: #ede4d0;
  --fg: #2a2a28;
  --fg-muted: #5c5c56;
  --fg-subtle: #8b8a82;
  --line: #ddd5c5;
  --accent: #6d8b64;
  --accent-deep: #4a6246;
  --accent-light: #a8b89e;
  --accent-gold: #d4a76a;
}

html {
  scroll-behavior: smooth;
}

body {
  background: var(--bg);
  color: var(--fg);
  font-family: 'Noto Sans JP', -apple-system, BlinkMacSystemFont, sans-serif;
  font-weight: 400;
  font-feature-settings: "palt";
  line-height: 1.9;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  overflow-x: hidden;
}

h1, h2, h3, h4 {
  font-family: 'Zen Maru Gothic', 'Noto Sans JP', sans-serif;
  font-weight: 500;
  letter-spacing: -0.01em;
  line-height: 1.45;
  color: var(--fg);
}

a {
  color: var(--accent-deep);
  text-decoration: none;
  transition: color 0.2s ease;
}

a:hover {
  color: var(--accent);
}

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

/* ===========================================================
   固定UI: サンプルバッジ + CRJ WEB に戻る
   =========================================================== */
.sample-badge {
  position: fixed;
  top: 16px;
  right: 16px;
  background: #1e1e1c;
  color: #fff;
  padding: 10px 18px;
  border-radius: 14px;
  font-family: 'Noto Sans JP', sans-serif;
  line-height: 1.3;
  z-index: 999;
  box-shadow: 0 10px 28px rgba(0, 0, 0, 0.25);
  pointer-events: none;
  min-width: 200px;
  text-align: left;
}

.sample-badge-top {
  display: flex;
  align-items: center;
  gap: 7px;
  font-size: 10px;
  letter-spacing: 0.14em;
  color: rgba(255, 255, 255, 0.75);
  font-weight: 500;
  margin-bottom: 3px;
}

.sample-badge-bottom {
  display: flex;
  align-items: baseline;
  gap: 6px;
  font-size: 12px;
  letter-spacing: 0.12em;
  font-weight: 600;
  color: #e04a30;
}

.sample-badge-bottom .plan-price {
  font-size: 10px;
  color: rgba(255, 255, 255, 0.55);
  font-weight: 500;
  letter-spacing: 0.05em;
}

.sample-badge .dot {
  display: inline-block;
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: #e04a30;
  flex-shrink: 0;
  animation: pulse 2s ease-in-out infinite;
}

@keyframes pulse {
  0%, 100% { opacity: 1; }
  50% { opacity: 0.4; }
}

.back-link {
  position: fixed;
  top: 16px;
  left: 16px;
  background: rgba(255, 255, 255, 0.96);
  color: var(--fg);
  padding: 8px 16px;
  border-radius: 100px;
  font-family: 'Noto Sans JP', sans-serif;
  font-size: 12px;
  font-weight: 500;
  z-index: 999;
  box-shadow: 0 6px 20px rgba(0, 0, 0, 0.12);
  border: 1px solid var(--line);
  display: inline-flex;
  align-items: center;
  gap: 6px;
  transition: transform 0.25s ease, color 0.2s ease;
}

.back-link:hover {
  transform: translateX(-3px);
  color: var(--accent-deep);
}

.back-link .arrow {
  display: inline-block;
  transition: transform 0.25s ease;
}

.back-link:hover .arrow {
  transform: translateX(-2px);
}

/* ===========================================================
   Header
   =========================================================== */
.site-header {
  position: sticky;
  top: 0;
  background: rgba(247, 243, 236, 0.94);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  border-bottom: 1px solid var(--line);
  z-index: 50;
  padding-top: 56px; /* サンプルバッジ・戻るリンクとの間隔 */
}

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

.clinic-logo {
  display: flex;
  align-items: center;
  gap: 12px;
}

.clinic-logo-icon {
  width: 42px;
  height: 42px;
  border-radius: 50%;
  background: var(--accent-deep);
  color: #fff;
  display: flex;
  align-items: center;
  justify-content: center;
  font-family: 'Zen Maru Gothic', sans-serif;
  font-weight: 500;
  font-size: 19px;
  line-height: 1;
}

.clinic-logo-text {
  font-family: 'Zen Maru Gothic', sans-serif;
  font-size: 18px;
  font-weight: 500;
  color: var(--fg);
  line-height: 1.1;
}

.clinic-logo-sub {
  display: block;
  font-family: 'Noto Sans JP', sans-serif;
  font-size: 10px;
  color: var(--fg-subtle);
  letter-spacing: 0.2em;
  margin-top: 2px;
}

.main-nav ul {
  display: flex;
  gap: 24px;
  list-style: none;
  font-size: 14px;
}

.main-nav a {
  color: var(--fg);
  font-weight: 500;
  font-family: 'Zen Maru Gothic', sans-serif;
}

.main-nav a:hover {
  color: var(--accent-deep);
}

.header-cta {
  background: var(--accent-deep);
  color: #fff;
  padding: 10px 22px;
  border-radius: 100px;
  font-size: 13px;
  font-weight: 500;
  font-family: 'Zen Maru Gothic', sans-serif;
  transition: background 0.25s ease, transform 0.25s ease;
}

.header-cta:hover {
  background: var(--accent);
  color: #fff;
  transform: translateY(-1px);
}

/* ===========================================================
   Hero
   =========================================================== */
.hero {
  position: relative;
  padding: 100px 24px 120px;
  overflow: hidden;
}

.hero-inner {
  max-width: 1120px;
  margin: 0 auto;
  display: grid;
  grid-template-columns: 1fr 1.1fr;
  gap: 56px;
  align-items: center;
  position: relative;
  z-index: 2;
}

.hero-content {
  max-width: 520px;
}

.hero-kicker {
  font-size: 12px;
  letter-spacing: 0.25em;
  color: var(--accent-deep);
  font-weight: 600;
  margin-bottom: 24px;
  display: inline-flex;
  align-items: center;
  gap: 12px;
}

.hero-kicker::before {
  content: "";
  width: 24px;
  height: 1px;
  background: var(--accent-deep);
}

.hero-title {
  font-size: clamp(32px, 4.8vw, 54px);
  font-weight: 500;
  line-height: 1.4;
  margin-bottom: 28px;
}

.hero-title .accent {
  color: var(--accent-deep);
  position: relative;
}

.hero-sub {
  font-size: 16px;
  color: var(--fg-muted);
  line-height: 2;
  margin-bottom: 40px;
}

.hero-ctas {
  display: flex;
  gap: 14px;
  flex-wrap: wrap;
}

.btn-primary {
  background: var(--accent-deep);
  color: #fff;
  padding: 14px 28px;
  border-radius: 100px;
  font-family: 'Zen Maru Gothic', sans-serif;
  font-weight: 500;
  font-size: 14px;
  transition: background 0.25s ease, transform 0.2s ease;
  display: inline-flex;
  align-items: center;
  gap: 8px;
}

.btn-primary:hover {
  background: var(--accent);
  color: #fff;
  transform: translateY(-2px);
}

.btn-secondary {
  background: #fff;
  color: var(--fg);
  padding: 14px 28px;
  border-radius: 100px;
  font-family: 'Zen Maru Gothic', sans-serif;
  font-weight: 500;
  font-size: 14px;
  border: 1px solid var(--line);
  transition: border-color 0.25s ease, color 0.25s ease, transform 0.2s ease;
  display: inline-flex;
  align-items: center;
  gap: 8px;
}

.btn-secondary:hover {
  border-color: var(--accent-deep);
  color: var(--accent-deep);
  transform: translateY(-2px);
}

/* ヒーロー画像エリア */
.hero-visual {
  position: relative;
  aspect-ratio: 5 / 4;
  border-radius: 32px;
  overflow: hidden;
  background: linear-gradient(135deg, #dce3d5 0%, #a8b89e 100%);
  box-shadow: 0 32px 72px -24px rgba(74, 98, 70, 0.35);
}

.hero-visual img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}

.hero-visual::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(135deg, rgba(74, 98, 70, 0) 40%, rgba(74, 98, 70, 0.18) 100%);
  pointer-events: none;
}

/* ヒーロー背景の柔らかい葉っぱ模様 */
.hero::before {
  content: "";
  position: absolute;
  top: -80px;
  right: -60px;
  width: 400px;
  height: 400px;
  background: radial-gradient(circle, rgba(168, 184, 158, 0.15) 0%, transparent 70%);
  z-index: 0;
  pointer-events: none;
}

.hero::after {
  content: "";
  position: absolute;
  bottom: -120px;
  left: -80px;
  width: 360px;
  height: 360px;
  background: radial-gradient(circle, rgba(212, 167, 106, 0.12) 0%, transparent 70%);
  z-index: 0;
  pointer-events: none;
}

/* ===========================================================
   Section 共通
   =========================================================== */
.section {
  max-width: 1120px;
  margin: 0 auto;
  padding: 100px 24px;
}

.section-kicker {
  font-size: 11px;
  letter-spacing: 0.25em;
  color: var(--accent-deep);
  font-weight: 600;
  margin-bottom: 16px;
  display: inline-flex;
  align-items: center;
  gap: 12px;
}

.section-kicker::before {
  content: "";
  width: 24px;
  height: 1px;
  background: var(--accent-deep);
}

.section-title {
  font-size: clamp(26px, 3.4vw, 38px);
  font-weight: 500;
  line-height: 1.45;
  margin-bottom: 44px;
}

.section-lead {
  font-size: 15px;
  color: var(--fg-muted);
  line-height: 2;
  max-width: 680px;
  margin-bottom: 40px;
}

/* ===========================================================
   About
   =========================================================== */
.about {
  background: #fff;
  border-radius: 28px;
  padding: 72px 56px;
  display: grid;
  grid-template-columns: 1fr 1.3fr;
  gap: 56px;
  align-items: center;
  box-shadow: 0 40px 80px -40px rgba(74, 98, 70, 0.12);
}

.about-title {
  font-size: clamp(24px, 2.8vw, 32px);
  line-height: 1.5;
  max-width: 360px;
}

.about-text p {
  margin-bottom: 22px;
  font-size: 15px;
  line-height: 2;
  color: var(--fg-muted);
}

.about-text p:last-child {
  margin-bottom: 0;
}

.about-text p strong {
  color: var(--fg);
  font-weight: 500;
}

.about-signature {
  margin-top: 32px;
  font-size: 13px;
  color: var(--accent-deep);
  font-family: 'Zen Maru Gothic', sans-serif;
}

/* ===========================================================
   Services (診療案内)
   =========================================================== */
.services-grid {
  display: grid;
  grid-template-columns: 1.2fr 1fr;
  gap: 40px;
  align-items: start;
}

.hours-card {
  background: #fff;
  border-radius: 20px;
  padding: 36px 40px;
  box-shadow: 0 24px 48px -32px rgba(74, 98, 70, 0.15);
}

.hours-card-title {
  font-size: 17px;
  font-weight: 500;
  margin-bottom: 24px;
  padding-bottom: 16px;
  border-bottom: 1px solid var(--line);
  font-family: 'Zen Maru Gothic', sans-serif;
  display: flex;
  align-items: center;
  gap: 10px;
}

.hours-table {
  width: 100%;
  border-collapse: collapse;
}

.hours-table th,
.hours-table td {
  padding: 14px 4px;
  font-size: 14px;
  text-align: center;
  border-bottom: 1px solid var(--line);
  font-family: 'Noto Sans JP', sans-serif;
}

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

.hours-table th:first-child {
  text-align: left;
  padding-left: 8px;
  color: var(--fg-muted);
  font-weight: 500;
}

.hours-table thead th {
  font-weight: 500;
  color: var(--fg-muted);
  font-size: 13px;
}

.hours-table .holiday {
  color: var(--accent-gold);
  font-weight: 600;
}

.hours-table .closed {
  color: var(--fg-subtle);
  font-size: 15px;
}

.hours-table .open {
  color: var(--accent-deep);
  font-weight: 500;
  font-size: 16px;
}

.hours-note {
  margin-top: 20px;
  font-size: 12px;
  color: var(--fg-muted);
  line-height: 1.85;
  padding-left: 14px;
  border-left: 2px solid var(--accent-light);
}

.services-list {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(0, 1fr);
  gap: 10px;
}

.service-item {
  background: #fff;
  padding: 16px 18px;
  border-radius: 14px;
  display: flex;
  align-items: center;
  gap: 12px;
  font-size: 13px;
  border: 1px solid transparent;
  transition: border-color 0.2s ease, transform 0.2s ease;
}

.service-item:hover {
  border-color: var(--accent-light);
  transform: translateY(-2px);
}

.service-icon {
  width: 34px;
  height: 34px;
  border-radius: 50%;
  background: var(--bg-deep);
  color: var(--accent-deep);
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
}

.service-icon svg {
  width: 16px;
  height: 16px;
}

.service-name {
  font-weight: 500;
  color: var(--fg);
  font-family: 'Zen Maru Gothic', sans-serif;
}

/* ===========================================================
   Staff
   =========================================================== */
.staff-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
  gap: 24px;
}

.staff-card {
  background: #fff;
  border-radius: 20px;
  padding: 32px 24px;
  text-align: center;
  border: 1px solid transparent;
  transition: border-color 0.3s ease, transform 0.3s ease;
}

.staff-card:hover {
  border-color: var(--accent-light);
  transform: translateY(-4px);
}

.staff-avatar {
  width: 96px;
  height: 96px;
  border-radius: 50%;
  margin: 0 auto 18px;
  background: var(--accent-light);
  display: flex;
  align-items: center;
  justify-content: center;
  color: #fff;
  font-family: 'Zen Maru Gothic', sans-serif;
  font-size: 30px;
  font-weight: 500;
  position: relative;
  overflow: hidden;
}

.staff-avatar.lead {
  background: var(--accent-deep);
}

.staff-avatar.sub-lead {
  background: linear-gradient(135deg, var(--accent) 0%, var(--accent-deep) 100%);
}

.staff-avatar::before {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(135deg, rgba(255, 255, 255, 0.1) 0%, rgba(0, 0, 0, 0.1) 100%);
}

.staff-avatar span {
  position: relative;
  z-index: 1;
}

.staff-role {
  font-size: 11px;
  letter-spacing: 0.2em;
  color: var(--accent-deep);
  font-weight: 600;
  margin-bottom: 6px;
  font-family: 'Noto Sans JP', sans-serif;
}

.staff-name {
  font-size: 19px;
  font-weight: 500;
  margin-bottom: 4px;
  font-family: 'Zen Maru Gothic', sans-serif;
}

.staff-name-en {
  display: block;
  font-size: 11px;
  color: var(--fg-subtle);
  letter-spacing: 0.08em;
  margin-top: 2px;
  font-family: 'Noto Sans JP', sans-serif;
  font-weight: 400;
}

.staff-title {
  font-size: 11px;
  color: var(--fg-muted);
  letter-spacing: 0.05em;
  padding-bottom: 16px;
  border-bottom: 1px dashed var(--line);
  margin-bottom: 16px;
}

.staff-desc {
  font-size: 13px;
  color: var(--fg-muted);
  line-height: 1.85;
  text-align: left;
}

.staff-note {
  margin-top: 32px;
  font-size: 11px;
  color: var(--fg-subtle);
  text-align: center;
  letter-spacing: 0.02em;
}

/* ===========================================================
   Facility (院内設備)
   =========================================================== */
.facility-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
  gap: 24px;
}

.facility-card {
  background: #fff;
  border-radius: 20px;
  overflow: hidden;
  transition: transform 0.3s ease;
}

.facility-card:hover {
  transform: translateY(-6px);
}

.facility-img {
  aspect-ratio: 4 / 3;
  width: 100%;
  position: relative;
  display: flex;
  align-items: center;
  justify-content: center;
  color: rgba(255, 255, 255, 0.85);
}

.facility-img svg {
  width: 52px;
  height: 52px;
  stroke-width: 1.5;
  position: relative;
  z-index: 1;
}

.facility-img.img-1 { background: linear-gradient(135deg, #a8b89e 0%, #6d8b64 100%); }
.facility-img.img-2 { background: linear-gradient(135deg, #c9d4b9 0%, #8fa585 100%); }
.facility-img.img-3 { background: linear-gradient(135deg, #d4a76a 0%, #a68043 100%); }
.facility-img.img-4 { background: linear-gradient(135deg, #b5c4aa 0%, #7d9572 100%); }

.facility-img::before {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(135deg, rgba(255, 255, 255, 0.1) 0%, rgba(0, 0, 0, 0.1) 100%);
}

.facility-body {
  padding: 24px 28px 28px;
}

.facility-title {
  font-size: 17px;
  font-weight: 500;
  margin-bottom: 10px;
  font-family: 'Zen Maru Gothic', sans-serif;
}

.facility-desc {
  font-size: 13px;
  color: var(--fg-muted);
  line-height: 1.9;
}

/* ===========================================================
   Access
   =========================================================== */
.access-wrap {
  display: grid;
  grid-template-columns: 1.3fr 1fr;
  gap: 32px;
  align-items: start;
}

.map-frame {
  background: #fff;
  border-radius: 20px;
  overflow: hidden;
  box-shadow: 0 24px 48px -32px rgba(74, 98, 70, 0.12);
}

.map-frame iframe {
  width: 100%;
  height: 440px;
  border: 0;
  display: block;
  filter: grayscale(0.1) contrast(0.98);
}

.access-info {
  background: #fff;
  border-radius: 20px;
  padding: 36px 32px;
  box-shadow: 0 24px 48px -32px rgba(74, 98, 70, 0.12);
}

.access-item {
  padding: 18px 0;
  border-bottom: 1px dashed var(--line);
}

.access-item:first-child {
  padding-top: 0;
}

.access-item:last-child {
  border-bottom: none;
  padding-bottom: 0;
}

.access-label {
  font-size: 10px;
  letter-spacing: 0.22em;
  color: var(--accent-deep);
  font-weight: 600;
  margin-bottom: 8px;
}

.access-value {
  font-size: 14px;
  color: var(--fg);
  line-height: 1.85;
}

/* ===========================================================
   First Visit (初診の方へ)
   =========================================================== */
.firstvisit-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 24px;
  margin-bottom: 32px;
}

.fv-card {
  background: #fff;
  border-radius: 20px;
  padding: 36px 28px 32px;
  position: relative;
  overflow: hidden;
}

.fv-card::before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 4px;
  background: linear-gradient(90deg, var(--accent-light) 0%, var(--accent-deep) 100%);
}

.fv-num {
  font-family: 'Zen Maru Gothic', sans-serif;
  font-size: 14px;
  letter-spacing: 0.25em;
  color: var(--accent-deep);
  font-weight: 600;
  margin-bottom: 8px;
}

.fv-num-big {
  display: block;
  font-size: 44px;
  line-height: 1;
  color: var(--accent-light);
  margin-bottom: 16px;
  font-weight: 500;
}

.fv-title {
  font-size: 17px;
  font-weight: 500;
  margin-bottom: 14px;
  font-family: 'Zen Maru Gothic', sans-serif;
}

.fv-desc {
  font-size: 13px;
  color: var(--fg-muted);
  line-height: 2;
}

.fv-desc ul {
  margin-top: 8px;
  padding-left: 16px;
}

.fv-desc li {
  list-style: disc;
  margin-bottom: 4px;
}

.firstvisit-fees {
  background: var(--bg-deep);
  border-radius: 16px;
  padding: 24px 32px;
  font-size: 13px;
  color: var(--fg-muted);
  line-height: 2;
  border-left: 4px solid var(--accent-gold);
}

.firstvisit-fees strong {
  color: var(--fg);
  font-weight: 500;
}

.firstvisit-fees .note {
  display: block;
  margin-top: 8px;
  font-size: 11px;
  color: var(--fg-subtle);
}

/* ===========================================================
   News
   =========================================================== */
.news-list {
  display: flex;
  flex-direction: column;
  gap: 14px;
}

.news-item {
  background: #fff;
  border-radius: 14px;
  padding: 22px 28px;
  display: grid;
  grid-template-columns: 110px 130px minmax(0, 1fr);
  gap: 24px;
  align-items: center;
  transition: border-color 0.2s ease, transform 0.2s ease;
  border: 1px solid transparent;
}

.news-item:hover {
  border-color: var(--accent-light);
  transform: translateX(4px);
}

.news-date {
  font-size: 12px;
  color: var(--fg-muted);
  letter-spacing: 0.05em;
  font-family: 'Noto Sans JP', sans-serif;
}

.news-cat {
  font-size: 10px;
  letter-spacing: 0.2em;
  background: var(--bg-deep);
  color: var(--accent-deep);
  padding: 5px 12px;
  border-radius: 100px;
  width: max-content;
  font-weight: 600;
  text-align: center;
}

.news-title {
  font-size: 14px;
  font-weight: 500;
  color: var(--fg);
  line-height: 1.7;
}

.news-foot {
  text-align: center;
  margin-top: 32px;
}

.news-more {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 12px 24px;
  border-radius: 100px;
  border: 1px solid var(--line);
  color: var(--fg);
  font-size: 13px;
  font-family: 'Zen Maru Gothic', sans-serif;
  font-weight: 500;
  transition: border-color 0.25s ease, color 0.25s ease;
}

.news-more:hover {
  border-color: var(--accent-deep);
  color: var(--accent-deep);
}

/* ===========================================================
   Contact
   =========================================================== */
.contact-grid {
  display: grid;
  grid-template-columns: 1fr 1.2fr;
  gap: 36px;
  align-items: start;
}

.contact-tel-card {
  background: linear-gradient(135deg, var(--accent-deep) 0%, var(--accent) 100%);
  color: #fff;
  border-radius: 20px;
  padding: 40px 36px;
  box-shadow: 0 24px 56px -24px rgba(74, 98, 70, 0.35);
}

.contact-tel-label {
  font-size: 11px;
  letter-spacing: 0.25em;
  opacity: 0.85;
  margin-bottom: 10px;
}

.contact-tel-num {
  font-family: 'Zen Maru Gothic', sans-serif;
  font-size: 34px;
  font-weight: 500;
  margin-bottom: 14px;
  letter-spacing: -0.01em;
  display: block;
  color: #fff;
}

.contact-tel-num:hover {
  color: #fff;
}

.contact-tel-hours {
  font-size: 13px;
  line-height: 1.9;
  opacity: 0.9;
  padding-top: 18px;
  border-top: 1px solid rgba(255, 255, 255, 0.18);
}

.contact-tel-note {
  font-size: 11px;
  margin-top: 12px;
  opacity: 0.75;
  letter-spacing: 0.05em;
}

.contact-form-wrap {
  background: #fff;
  border-radius: 20px;
  padding: 36px 32px;
  box-shadow: 0 24px 48px -32px rgba(74, 98, 70, 0.1);
}

.contact-form-title {
  font-size: 17px;
  font-weight: 500;
  margin-bottom: 24px;
  font-family: 'Zen Maru Gothic', sans-serif;
}

.contact-form {
  display: flex;
  flex-direction: column;
  gap: 18px;
}

.form-row {
  display: flex;
  flex-direction: column;
  gap: 6px;
}

.form-row label {
  font-size: 11px;
  letter-spacing: 0.15em;
  color: var(--accent-deep);
  font-weight: 600;
}

.form-row input,
.form-row select,
.form-row textarea {
  width: 100%;
  padding: 12px 16px;
  border: 1px solid var(--line);
  border-radius: 12px;
  background: var(--bg);
  font-family: inherit;
  font-size: 14px;
  color: var(--fg);
  transition: border-color 0.2s ease;
  -webkit-appearance: none;
  appearance: none;
}

.form-row input:focus,
.form-row select:focus,
.form-row textarea:focus {
  outline: none;
  border-color: var(--accent-deep);
  background: #fff;
}

.form-row textarea {
  min-height: 110px;
  resize: vertical;
}

.form-submit {
  background: var(--accent-deep);
  color: #fff;
  padding: 15px 28px;
  border-radius: 100px;
  font-family: 'Zen Maru Gothic', sans-serif;
  font-size: 14px;
  font-weight: 500;
  border: none;
  cursor: pointer;
  transition: background 0.25s ease, transform 0.2s ease;
  margin-top: 6px;
}

.form-submit:hover {
  background: var(--accent);
  transform: translateY(-2px);
}

.form-disclaimer {
  margin-top: 8px;
  font-size: 11px;
  color: var(--fg-subtle);
  line-height: 1.7;
}

/* ===========================================================
   About This Sample (CRJ WEB の営業セクション)
   みどり動物病院サイトの世界観とは切り離し、CRJ WEB の黒背景に
   =========================================================== */
.about-sample {
  background: #1e1e1c;
  color: #fff;
  padding: 100px 24px;
  margin-top: 80px;
}

.about-sample-inner {
  max-width: 1120px;
  margin: 0 auto;
}

.about-sample-kicker {
  font-family: 'Noto Sans JP', sans-serif;
  font-size: 11px;
  letter-spacing: 0.28em;
  color: #e04a30;
  font-weight: 600;
  margin-bottom: 20px;
  display: inline-flex;
  align-items: center;
  gap: 14px;
}

.about-sample-kicker::before {
  content: "";
  width: 28px;
  height: 1px;
  background: #e04a30;
}

.about-sample-title {
  font-family: 'Zen Maru Gothic', 'Noto Sans JP', sans-serif;
  font-size: clamp(24px, 3vw, 34px);
  font-weight: 500;
  line-height: 1.55;
  margin-bottom: 16px;
  color: #fff;
}

.about-sample-title .brand {
  color: #e04a30;
}

.about-sample-lead {
  font-size: 14px;
  color: rgba(255, 255, 255, 0.65);
  line-height: 1.95;
  max-width: 640px;
  margin-bottom: 48px;
}

.about-sample-grid {
  display: grid;
  grid-template-columns: 1fr 1.4fr;
  gap: 56px;
  padding: 40px 0;
  border-top: 1px solid rgba(255, 255, 255, 0.12);
  border-bottom: 1px solid rgba(255, 255, 255, 0.12);
  margin-bottom: 40px;
}

.about-sample-price-wrap {
  display: flex;
  flex-direction: column;
}

.about-sample-price-label {
  font-size: 11px;
  letter-spacing: 0.22em;
  color: #e04a30;
  font-weight: 600;
  margin-bottom: 10px;
}

.about-sample-price {
  font-family: 'Zen Maru Gothic', sans-serif;
  font-size: 48px;
  font-weight: 500;
  line-height: 1;
  color: #fff;
  letter-spacing: -0.02em;
  margin-bottom: 6px;
}

.about-sample-price .pre,
.about-sample-price .unit {
  font-size: 20px;
  color: rgba(255, 255, 255, 0.55);
}

.about-sample-tax {
  font-size: 11px;
  color: rgba(255, 255, 255, 0.45);
  letter-spacing: 0.1em;
  margin-bottom: 28px;
}

.about-sample-specs {
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 12px;
  padding-top: 24px;
  border-top: 1px solid rgba(255, 255, 255, 0.1);
}

.about-sample-specs li {
  display: grid;
  grid-template-columns: 100px minmax(0, 1fr);
  gap: 14px;
  font-size: 13px;
  color: rgba(255, 255, 255, 0.88);
}

.about-sample-specs .label {
  color: rgba(255, 255, 255, 0.45);
  font-size: 10px;
  letter-spacing: 0.2em;
  padding-top: 4px;
  font-weight: 600;
}

.about-sample-feat-title {
  font-size: 11px;
  letter-spacing: 0.22em;
  color: #e04a30;
  font-weight: 600;
  margin-bottom: 20px;
}

.about-sample-feat-list {
  list-style: none;
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(0, 1fr);
  gap: 14px 24px;
  font-size: 13px;
  color: rgba(255, 255, 255, 0.9);
  line-height: 1.7;
}

.about-sample-feat-list li {
  position: relative;
  padding-left: 24px;
}

.about-sample-feat-list li::before {
  content: "";
  position: absolute;
  left: 0;
  top: 3px;
  width: 16px;
  height: 16px;
  border-radius: 50%;
  background: #e04a30;
  background-image: url("data:image/svg+xml;charset=utf8,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 16 16'%3E%3Cpath d='M4 8.5l3 3 5-5.5' fill='none' stroke='white' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E");
  background-repeat: no-repeat;
  background-position: center;
}

.about-sample-cta {
  display: flex;
  gap: 14px;
  flex-wrap: wrap;
}

.about-sample-cta .btn-primary {
  background: #e04a30;
  color: #fff;
  padding: 15px 30px;
  border-radius: 100px;
  font-family: 'Noto Sans JP', sans-serif;
  font-weight: 500;
  font-size: 14px;
  letter-spacing: 0.02em;
  transition: background 0.25s ease, transform 0.2s ease;
  display: inline-flex;
  align-items: center;
  gap: 8px;
}

.about-sample-cta .btn-primary:hover {
  background: #c13d26;
  color: #fff;
  transform: translateY(-2px);
}

.about-sample-cta .btn-ghost {
  background: transparent;
  color: #fff;
  padding: 15px 30px;
  border-radius: 100px;
  border: 1px solid rgba(255, 255, 255, 0.2);
  font-family: 'Noto Sans JP', sans-serif;
  font-weight: 500;
  font-size: 14px;
  letter-spacing: 0.02em;
  transition: border-color 0.25s ease, color 0.25s ease, transform 0.2s ease;
}

.about-sample-cta .btn-ghost:hover {
  border-color: #fff;
  color: #fff;
  transform: translateY(-2px);
}

.about-sample-note {
  margin-top: 32px;
  font-size: 11px;
  color: rgba(255, 255, 255, 0.35);
  letter-spacing: 0.04em;
}

/* ===========================================================
   Footer
   =========================================================== */
.site-footer {
  background: #fff;
  padding: 60px 24px 36px;
  border-top: 1px solid var(--line);
  margin-top: 80px;
}

.footer-inner {
  max-width: 1120px;
  margin: 0 auto;
  display: grid;
  grid-template-columns: 1.3fr 1fr 1fr;
  gap: 40px;
}

.footer-about .footer-text {
  font-size: 13px;
  color: var(--fg-muted);
  line-height: 2;
  margin-top: 16px;
  max-width: 280px;
}

.footer-title {
  font-size: 11px;
  letter-spacing: 0.2em;
  color: var(--accent-deep);
  font-weight: 600;
  margin-bottom: 16px;
}

.footer-list {
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 10px;
}

.footer-list a {
  color: var(--fg-muted);
  font-size: 13px;
  transition: color 0.2s ease;
}

.footer-list a:hover {
  color: var(--accent-deep);
}

.footer-info {
  font-size: 12px;
  color: var(--fg-muted);
  line-height: 2;
}

.footer-bottom {
  max-width: 1120px;
  margin: 40px auto 0;
  padding-top: 24px;
  border-top: 1px solid var(--line);
  font-size: 11px;
  color: var(--fg-subtle);
  text-align: center;
  line-height: 1.9;
}

.footer-credit {
  display: block;
  margin-top: 8px;
  color: var(--fg-subtle);
}

.footer-credit a {
  color: var(--accent-deep);
  font-weight: 500;
}

/* ===========================================================
   Fade-up アニメーション
   =========================================================== */
.fade-up {
  opacity: 0;
  transform: translateY(28px);
  transition: opacity 0.9s ease-out, transform 0.9s ease-out;
}

.fade-up.in-view {
  opacity: 1;
  transform: translateY(0);
}

.stagger > .fade-up:nth-child(1) { transition-delay: 0s; }
.stagger > .fade-up:nth-child(2) { transition-delay: 0.1s; }
.stagger > .fade-up:nth-child(3) { transition-delay: 0.2s; }
.stagger > .fade-up:nth-child(4) { transition-delay: 0.3s; }
.stagger > .fade-up:nth-child(5) { transition-delay: 0.4s; }

/* ===========================================================
   Responsive (〜900px)
   =========================================================== */
@media (max-width: 900px) {
  .sample-badge {
    padding: 8px 14px;
    min-width: auto;
    top: 12px;
    right: 12px;
    border-radius: 12px;
  }

  .sample-badge-top {
    font-size: 9px;
    margin-bottom: 2px;
  }

  .sample-badge-bottom {
    font-size: 11px;
  }

  .sample-badge-bottom .plan-price {
    display: none;
  }

  .about-sample {
    padding: 60px 20px;
    margin-top: 40px;
  }

  .about-sample-grid {
    grid-template-columns: minmax(0, 1fr);
    gap: 40px;
    padding: 32px 0;
  }

  .about-sample-feat-list {
    grid-template-columns: minmax(0, 1fr);
  }

  .about-sample-price {
    font-size: 40px;
  }

  .back-link {
    font-size: 11px;
    padding: 6px 12px;
    top: 12px;
    left: 12px;
  }

  .site-header {
    padding-top: 52px;
  }

  .header-inner {
    padding: 14px 20px;
    flex-wrap: wrap;
    gap: 12px;
  }

  .main-nav {
    order: 3;
    width: 100%;
  }

  .main-nav ul {
    gap: 14px;
    font-size: 12px;
    overflow-x: auto;
    padding-bottom: 4px;
  }

  .header-cta {
    padding: 8px 18px;
    font-size: 12px;
  }

  .hero {
    padding: 60px 20px 80px;
  }

  .hero-inner {
    grid-template-columns: minmax(0, 1fr);
    gap: 32px;
  }

  .hero-title {
    font-size: 30px;
  }

  .hero-visual {
    aspect-ratio: 16 / 10;
    order: -1;
  }

  .section {
    padding: 60px 20px;
  }

  .section-title {
    margin-bottom: 32px;
  }

  .about {
    grid-template-columns: minmax(0, 1fr);
    padding: 40px 28px;
    gap: 28px;
    border-radius: 20px;
  }

  .services-grid {
    grid-template-columns: minmax(0, 1fr);
    gap: 24px;
  }

  .hours-card {
    padding: 28px 24px;
  }

  .hours-table th,
  .hours-table td {
    padding: 10px 2px;
    font-size: 13px;
  }

  .services-list {
    grid-template-columns: minmax(0, 1fr);
  }

  .facility-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 16px;
  }

  .access-wrap {
    grid-template-columns: minmax(0, 1fr);
  }

  .map-frame iframe {
    height: 320px;
  }

  .firstvisit-grid {
    grid-template-columns: minmax(0, 1fr);
    gap: 16px;
  }

  .news-item {
    grid-template-columns: minmax(0, 1fr);
    gap: 8px;
    padding: 18px 22px;
  }

  .news-cat {
    width: max-content;
  }

  .contact-grid {
    grid-template-columns: minmax(0, 1fr);
  }

  .contact-tel-num {
    font-size: 28px;
  }

  .footer-inner {
    grid-template-columns: minmax(0, 1fr);
    gap: 32px;
  }
}

@media (max-width: 520px) {
  .facility-grid {
    grid-template-columns: minmax(0, 1fr);
  }

  .staff-grid {
    grid-template-columns: minmax(0, 1fr) minmax(0, 1fr);
    gap: 14px;
  }

  .staff-card {
    padding: 24px 16px;
  }

  .staff-avatar {
    width: 72px;
    height: 72px;
    font-size: 22px;
  }

  .staff-name {
    font-size: 16px;
  }

  .staff-desc {
    font-size: 12px;
  }
}

/* ===========================================================
   日本語禁則処理:単語途中での改行を防ぐ(本文 + 見出し)
   =========================================================== */
p,
li,
dd,
h1,
h2,
h3,
h4,
.hero-title,
.hero-sub,
.section-title,
.section-lead,
.about-title,
.about-text p,
.philosophy-title,
.philosophy-text p,
.staff-name,
.staff-desc,
.facility-title,
.facility-desc,
.puppy-card-desc,
.breed-desc,
.process-title,
.process-desc,
.schedule-desc,
.safety-title,
.safety-desc,
.aftercare-desc,
.gallery-comment,
.journal-excerpt,
.rep-text p,
.fv-title,
.fv-desc,
.menu-note,
.owner-name,
.owner-text p,
.room-name,
.room-desc,
.aside-note,
.contact-lead {
  word-break: keep-all;
  overflow-wrap: break-word;
  line-break: strict;
}

/* ===========================================================
   320px 最狭 (iPhone SE第1世代) の安全マージン
   =========================================================== */
@media (max-width: 360px) {
  html, body {
    overflow-x: hidden;
    max-width: 100vw;
  }
  body > *, body > * > * {
    max-width: 100%;
    box-sizing: border-box;
  }
  h1, h2, h3, p, li {
    word-break: keep-all;
    overflow-wrap: break-word;
    max-width: 100%;
  }
}
