/* ==========================================================
   茶話本舗デイサービス 公式サイト スタイルシート
   ========================================================== */

:root {
  --color-bg: #ffffff;
  --color-beige: #faf5ea;
  --color-beige-deep: #f0e6d2;
  --color-green: #eaf3e6;
  --color-green-deep: #7fae7a;
  --color-orange: #e8935c;
  --color-orange-deep: #d97a3f;
  --color-text: #3a352e;
  --color-text-light: #6b6459;
  --color-white: #ffffff;
  --font-base: 'Noto Sans JP', -apple-system, BlinkMacSystemFont, "Hiragino Kaku Gothic ProN", "Yu Gothic", sans-serif;
  --radius: 16px;
  --shadow-soft: 0 6px 20px rgba(90, 70, 40, 0.08);
  --header-height: 84px;
}

* { box-sizing: border-box; }

html {
  scroll-behavior: smooth;
  scroll-padding-top: var(--header-height);
}

body {
  margin: 0;
  font-family: var(--font-base);
  color: var(--color-text);
  background: var(--color-bg);
  font-size: 17px;
  line-height: 1.8;
  -webkit-font-smoothing: antialiased;
}

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

a { color: inherit; text-decoration: none; }

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

.skip-link {
  position: absolute;
  left: -999px;
  top: 0;
  background: var(--color-green-deep);
  color: #fff;
  padding: 8px 16px;
  z-index: 2000;
}
.skip-link:focus { left: 8px; top: 8px; }

/* ---------- Header ---------- */
.site-header {
  position: sticky;
  top: 0;
  z-index: 1000;
  background: rgba(255, 255, 255, 0.97);
  box-shadow: 0 2px 10px rgba(0,0,0,0.06);
  height: var(--header-height);
}

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

.logo { display: flex; flex-direction: column; line-height: 1.3; }
.logo-main { font-size: 1.25rem; font-weight: 900; color: var(--color-green-deep); }
.logo-sub { font-size: 0.7rem; color: var(--color-text-light); }

.global-nav {
  display: none;
}
.global-nav ul {
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 0;
  margin: 0;
  padding: 0;
}
.global-nav a {
  font-size: 1rem;
  font-weight: 500;
  white-space: nowrap;
}
.global-nav a:hover { color: var(--color-orange-deep); }

.site-header.nav-open .global-nav {
  display: block;
  position: absolute;
  top: var(--header-height);
  left: 0; right: 0;
  background: #fff;
  box-shadow: 0 8px 16px rgba(0,0,0,0.1);
  padding: 12px 20px 20px;
  max-height: calc(100vh - var(--header-height));
  overflow-y: auto;
}
.site-header.nav-open .global-nav a {
  display: block;
  padding: 14px 4px;
  border-bottom: 1px solid rgba(0,0,0,0.06);
}

.header-actions { display: flex; align-items: center; gap: 14px; }

.tel-btn {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  background: var(--color-orange);
  color: #fff;
  font-weight: 700;
  border-radius: 999px;
  padding: 10px 18px;
  box-shadow: var(--shadow-soft);
  transition: background 0.2s ease, transform 0.2s ease;
}
.tel-btn:hover { background: var(--color-orange-deep); transform: translateY(-1px); }
.tel-icon { font-size: 1.2em; }
.header-tel { font-size: 1.05rem; line-height: 1.2; flex-shrink: 0; white-space: nowrap; }
.header-tel small { display: block; font-weight: 500; font-size: 0.65rem; opacity: 0.9; white-space: nowrap; }
.global-nav ul { flex-shrink: 1; }

.menu-toggle {
  display: flex;
  flex-direction: column;
  justify-content: center;
  gap: 5px;
  width: 40px;
  height: 40px;
  background: none;
  border: none;
  cursor: pointer;
}
.menu-toggle span {
  display: block;
  width: 100%;
  height: 3px;
  background: var(--color-text);
  border-radius: 2px;
}

/* ---------- Hero ---------- */
.hero {
  position: relative;
  min-height: 560px;
  display: flex;
  align-items: center;
  overflow: hidden;
  background: linear-gradient(135deg, var(--color-green) 0%, var(--color-beige) 100%);
}
.hero-bg {
  position: absolute;
  inset: 0;
  z-index: 0;
}
.hero-bg img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  opacity: 0.35;
}
.hero-content {
  position: relative;
  z-index: 1;
  max-width: 780px;
  margin: 0 auto;
  padding: 60px 24px;
  text-align: center;
}
.hero-badge {
  display: inline-block;
  background: var(--color-green-deep);
  color: #fff;
  font-size: 0.85rem;
  font-weight: 700;
  padding: 6px 16px;
  border-radius: 999px;
  margin-bottom: 18px;
}
.hero h1 {
  font-size: clamp(1.7rem, 4.2vw, 2.6rem);
  font-weight: 900;
  margin: 0 0 12px;
  color: var(--color-text);
}
.hero-sub {
  font-size: 1.2rem;
  font-weight: 700;
  color: var(--color-orange-deep);
  margin: 0 0 26px;
}
.hero-flags {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  justify-content: center;
  margin-bottom: 30px;
}
.flag {
  font-weight: 700;
  font-size: 0.9rem;
  padding: 8px 14px;
  border-radius: 8px;
}
.flag-orange { background: var(--color-orange); color: #fff; }
.flag-green { background: var(--color-green-deep); color: #fff; }
.flag-beige { background: var(--color-beige-deep); color: var(--color-text); }
.flag-inline {
  display: inline-block;
  background: var(--color-orange);
  color: #fff;
  padding: 6px 16px;
  border-radius: 8px;
  font-weight: 700;
  font-size: 1rem;
}

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

.btn {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  font-weight: 700;
  font-size: 1.05rem;
  padding: 16px 30px;
  border-radius: 999px;
  border: none;
  cursor: pointer;
}
.btn-call {
  background: var(--color-orange);
  color: #fff;
  box-shadow: var(--shadow-soft);
}
.btn-call:hover { background: var(--color-orange-deep); }
.btn-call.small { padding: 12px 22px; font-size: 0.95rem; }
.btn-call.large { font-size: 1.5rem; padding: 20px 40px; }
.btn-outline {
  background: #fff;
  color: var(--color-green-deep);
  border: 2px solid var(--color-green-deep);
}
.btn-outline:hover { background: var(--color-green); }
.btn-submit {
  background: var(--color-green-deep);
  color: #fff;
  width: 100%;
  justify-content: center;
  font-size: 1.1rem;
  padding: 16px;
}
.btn-submit:hover { background: #6a9666; }

/* ---------- Section common ---------- */
.section { padding: 72px 0; }
.section-beige { background: var(--color-beige); }
.section-green { background: var(--color-green); }
.section-contact { background: var(--color-beige); }

.eyebrow {
  text-align: center;
  letter-spacing: 0.15em;
  font-weight: 700;
  color: var(--color-orange-deep);
  font-size: 0.85rem;
  margin: 0 0 8px;
}
h2 {
  text-align: center;
  font-size: clamp(1.5rem, 3vw, 2rem);
  font-weight: 900;
  margin: 0 0 20px;
  color: var(--color-text);
}
h2::after {
  content: "";
  display: block;
  width: 56px;
  height: 4px;
  background: var(--color-green-deep);
  margin: 14px auto 0;
  border-radius: 2px;
}
.lead {
  text-align: center;
  font-size: 1.1rem;
  max-width: 720px;
  margin: 0 auto 40px;
}
.note {
  font-size: 0.9rem;
  color: var(--color-text-light);
  margin-top: 16px;
}

/* ---------- About ---------- */
.about-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 40px;
  align-items: center;
  margin-bottom: 48px;
}
.about-photo-gallery {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 14px;
}
.about-photo-gallery img {
  border-radius: var(--radius);
  box-shadow: var(--shadow-soft);
  aspect-ratio: 4/3;
  object-fit: cover;
}
.check-list { list-style: none; margin: 0; padding: 0; }
.check-list li {
  position: relative;
  padding-left: 32px;
  margin-bottom: 16px;
  font-size: 1.05rem;
}
.check-list li::before {
  content: "✓";
  position: absolute;
  left: 0;
  top: 0;
  color: var(--color-green-deep);
  font-weight: 900;
  font-size: 1.2rem;
}

.feature-cards {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 20px;
}
.feature-card {
  background: #fff;
  border-radius: var(--radius);
  padding: 24px 20px;
  box-shadow: var(--shadow-soft);
  text-align: center;
}
.feature-title {
  font-weight: 700;
  color: var(--color-green-deep);
  font-size: 1.1rem;
  margin: 0 0 8px;
}
.feature-card p:last-child { margin: 0; font-size: 0.95rem; color: var(--color-text-light); }

/* ---------- Service cards ---------- */
.service-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 28px;
}
.service-card {
  background: #fff;
  border-radius: var(--radius);
  overflow: hidden;
  box-shadow: var(--shadow-soft);
}
.service-card img { aspect-ratio: 4/3; object-fit: cover; }
.service-card h3 { margin: 18px 20px 8px; font-size: 1.15rem; }
.service-card p { margin: 0 20px 20px; color: var(--color-text-light); font-size: 0.95rem; }
.service-card-noimg h3 { margin-top: 26px; }

/* ---------- Stay section ---------- */
.stay-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 40px;
  align-items: center;
}
.stay-photo img { border-radius: var(--radius); box-shadow: var(--shadow-soft); }
.stay-grid-noimg {
  grid-template-columns: 1fr;
  max-width: 640px;
  margin: 0 auto;
  text-align: center;
}
.stay-grid-noimg .stay-list { text-align: left; max-width: 460px; margin-left: auto; margin-right: auto; }
.stay-list { list-style: none; margin: 0 0 20px; padding: 0; }
.stay-list li {
  display: flex;
  gap: 14px;
  padding: 14px 0;
  border-bottom: 1px solid rgba(0,0,0,0.08);
  font-size: 1.05rem;
}
.stay-label {
  flex: 0 0 130px;
  font-weight: 700;
  color: var(--color-green-deep);
}

/* ---------- Timeline (daily flow) ---------- */
.timeline {
  list-style: none;
  margin: 0 auto;
  padding: 0;
  max-width: 600px;
  position: relative;
}
.timeline::before {
  content: "";
  position: absolute;
  left: 90px;
  top: 8px;
  bottom: 8px;
  width: 2px;
  background: var(--color-green-deep);
  opacity: 0.4;
}
.timeline li {
  display: flex;
  align-items: baseline;
  gap: 24px;
  padding: 12px 0;
  position: relative;
}
.timeline .time {
  flex: 0 0 70px;
  text-align: right;
  font-weight: 700;
  color: var(--color-orange-deep);
}
.timeline .event {
  background: #fff;
  border-radius: 10px;
  padding: 10px 18px;
  box-shadow: var(--shadow-soft);
  flex: 1;
}

/* ---------- Steps (usage flow) ---------- */
.steps {
  list-style: none;
  margin: 0 auto;
  padding: 0;
  max-width: 700px;
  counter-reset: step;
}
.steps li {
  display: flex;
  gap: 20px;
  align-items: flex-start;
  margin-bottom: 26px;
}
.step-num {
  flex: 0 0 44px;
  height: 44px;
  border-radius: 50%;
  background: var(--color-green-deep);
  color: #fff;
  display: flex;
  align-items: center;
  justify-content: center;
  font-weight: 900;
  font-size: 1.1rem;
}
.step-body { padding-top: 6px; }

/* ---------- Price table ---------- */
.price-table, .info-table {
  width: 100%;
  border-collapse: collapse;
  background: #fff;
  border-radius: var(--radius);
  overflow: hidden;
  box-shadow: var(--shadow-soft);
}
.price-table th, .price-table td,
.info-table th, .info-table td {
  padding: 16px 20px;
  text-align: left;
  border-bottom: 1px solid rgba(0,0,0,0.06);
  font-size: 1rem;
}
.price-table thead th {
  background: var(--color-green-deep);
  color: #fff;
}
.info-table th {
  width: 200px;
  background: var(--color-beige);
  color: var(--color-text);
}

/* ---------- Area tags ---------- */
.area-tags {
  display: flex;
  flex-wrap: wrap;
  gap: 14px;
  justify-content: center;
  margin-bottom: 24px;
}
.area-tag {
  background: #fff;
  border: 2px solid var(--color-green-deep);
  color: var(--color-green-deep);
  font-weight: 700;
  padding: 10px 22px;
  border-radius: 999px;
}

/* ---------- Access ---------- */
.access-address {
  text-align: center;
  font-size: 1.2rem;
  font-weight: 700;
  margin-bottom: 24px;
}
.map-wrap {
  border-radius: var(--radius);
  overflow: hidden;
  box-shadow: var(--shadow-soft);
  margin-bottom: 32px;
}
.access-info-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 24px;
}
.access-info-card {
  background: #fff;
  border-radius: var(--radius);
  padding: 24px;
  box-shadow: var(--shadow-soft);
}
.access-info-card h3 { margin-top: 0; color: var(--color-green-deep); }

/* ---------- Contact ---------- */
.contact-grid {
  display: grid;
  grid-template-columns: 1fr 1.4fr;
  gap: 40px;
  align-items: flex-start;
}
.contact-direct {
  background: #fff;
  border-radius: var(--radius);
  padding: 32px 24px;
  text-align: center;
  box-shadow: var(--shadow-soft);
}
.contact-direct h3 { margin-top: 0; }
.contact-direct .btn-call.large { width: 100%; justify-content: center; margin: 18px 0; }
.fax { font-weight: 700; margin-top: 8px; }

.contact-form-wrap {
  background: #fff;
  border-radius: var(--radius);
  padding: 32px 28px;
  box-shadow: var(--shadow-soft);
}
.contact-form-wrap h3 { margin-top: 0; }
.form-row { margin-bottom: 22px; }
.form-row label, .group-label {
  display: block;
  font-weight: 700;
  margin-bottom: 8px;
}
.required {
  background: var(--color-orange);
  color: #fff;
  font-size: 0.7rem;
  font-weight: 700;
  padding: 2px 8px;
  border-radius: 4px;
  margin-left: 8px;
  vertical-align: middle;
}
input[type="text"], input[type="tel"], input[type="email"], textarea {
  width: 100%;
  padding: 14px 16px;
  border: 1px solid rgba(0,0,0,0.15);
  border-radius: 10px;
  font-size: 1rem;
  font-family: inherit;
}
input:focus, textarea:focus {
  outline: 2px solid var(--color-green-deep);
  outline-offset: 1px;
}
.radio-group {
  display: flex;
  flex-wrap: wrap;
  gap: 18px;
}
.radio-group label {
  display: flex;
  align-items: center;
  gap: 8px;
  font-weight: 500;
}
.radio-group input { width: auto; }

.form-success {
  background: var(--color-green);
  border: 2px solid var(--color-green-deep);
  border-radius: var(--radius);
  padding: 32px 28px;
  text-align: center;
  font-size: 1.1rem;
  font-weight: 700;
  color: var(--color-text);
}

/* ---------- Footer ---------- */
.site-footer {
  background: #3a352e;
  color: #eee9de;
  padding: 40px 0 90px;
  text-align: center;
  font-size: 0.9rem;
}
.footer-logo { font-size: 1.2rem; font-weight: 900; margin-bottom: 6px; }
.footer-inner p { margin: 4px 0; }
.copyright { margin-top: 16px; opacity: 0.7; font-size: 0.8rem; }

/* ---------- Fixed call bar (mobile) ---------- */
.fixed-call-bar {
  display: none;
  position: fixed;
  left: 0; right: 0; bottom: 0;
  z-index: 1500;
  background: var(--color-orange);
  box-shadow: 0 -4px 14px rgba(0,0,0,0.15);
}
.fixed-call-bar a {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  color: #fff;
  font-weight: 700;
  font-size: 1.05rem;
  padding: 16px;
}

/* ==========================================================
   Responsive
   ========================================================== */
@media (max-width: 900px) {
  .about-grid, .stay-grid, .contact-grid, .access-info-grid {
    grid-template-columns: 1fr;
  }
  .feature-cards, .service-grid {
    grid-template-columns: repeat(2, 1fr);
  }
}

@media (max-width: 768px) {
  .header-tel .tel-text small { display: none; }
  .header-tel { padding: 10px 14px; font-size: 0; }
  .header-tel .tel-icon { font-size: 1.4rem; }

  .fixed-call-bar { display: block; }
  body { padding-bottom: 58px; }

  .feature-cards, .service-grid {
    grid-template-columns: 1fr;
  }
  .hero { min-height: auto; }
  .hero-content { padding: 44px 20px; }
}

@media (max-width: 480px) {
  body { font-size: 16px; }
  .btn-call.large { font-size: 1.2rem; padding: 16px 24px; }
}

/* 見出し内の任意改行（意味の切れ目で改行し、単語の途中で折り返さないようにする） */
.br-mobile { display: none; }
@media (max-width: 480px) {
  .br-mobile { display: inline; }
}

/* 本文中の単語が途中で改行されるのを防ぐ */
.nowrap { white-space: nowrap; }
