/* ============================================
   YUIMARU LIFE訪問看護ステーション
   Design: 暖かいイラスト系 / オレンジ×ブルー＋グリーン（ロゴ準拠）
   ============================================ */

:root {
  --orange-50: #fff7ea;
  --orange-100: #ffedd0;
  --orange-300: #fbc56b;
  --orange-500: #f5a200;
  --orange-600: #e08900;
  --brown-800: #7a5220;
  --blue-50: #eef6fc;
  --blue-100: #d9ebf8;
  --blue-300: #8fc0e4;
  --blue-500: #2e7cc0;
  --blue-600: #23649c;
  --green-50: #f0f8ea;
  --green-300: #a5d488;
  --green-500: #5fae3e;
  --green-600: #4c9130;
  --pink-100: #fdeff1;
  --pink-500: #f27a8a;
  --cream: #fffaf0;
  --ivory: #fffdf8;
  --text: #4a4038;
  --text-sub: #8a7d70;
  --line: #f0e3cd;
  --shadow-soft: 0 14px 36px rgba(224, 137, 0, 0.12);
  --shadow-light: 0 8px 22px rgba(224, 137, 0, 0.09);
  --radius: 10px;
  --font: 'Zen Maru Gothic', 'Hiragino Maru Gothic ProN', 'Hiragino Sans', 'Yu Gothic UI', 'Meiryo', sans-serif;
  --ease: cubic-bezier(.2, .8, .2, 1);
}

*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  margin: 0;
  font-family: var(--font);
  color: var(--text);
  line-height: 1.85;
  background: var(--ivory);
  overflow-x: hidden;
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
}
img { max-width: 100%; height: auto; display: block; }
a { color: inherit; text-decoration: none; }
p { margin: 0 0 1em; }
strong { font-weight: 900; color: var(--blue-600); }

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

/* ============ Header ============ */
.site-header {
  position: sticky;
  top: 0;
  z-index: 100;
  background: rgba(255, 253, 248, 0.95);
  border-top: 4px solid var(--orange-500);
  border-bottom: 1px solid var(--line);
  -webkit-backdrop-filter: blur(14px);
          backdrop-filter: blur(14px);
}
.header-top {
  max-width: 1240px;
  margin: 0 auto;
  padding: 10px 24px 8px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
}
.logo {
  display: flex;
  align-items: center;
  gap: 10px;
  margin-right: auto;
}
.logo .logo-mark { height: 60px; width: auto; flex-shrink: 0; }
.logo .logo-text {
  display: flex;
  flex-direction: column;
  line-height: 1.25;
}
.logo .logo-text .en {
  color: var(--blue-600);
  font-size: 21px;
  font-weight: 900;
  letter-spacing: .04em;
}
.logo .logo-text .ja {
  color: var(--green-600);
  font-size: 12.5px;
  font-weight: 700;
  letter-spacing: .18em;
}
.header-tel { text-align: right; line-height: 1.4; }
.header-tel .num {
  display: block;
  color: var(--blue-600);
  font-size: 24px;
  font-weight: 900;
  letter-spacing: .02em;
}
.header-tel .hours {
  display: block;
  color: var(--text-sub);
  font-size: 11.5px;
}
.nav-toggle { display: none; }

.header-nav {
  border-top: 1px dashed var(--line);
}
.header-nav ul {
  max-width: 1240px;
  margin: 0 auto;
  padding: 0 16px;
  list-style: none;
  display: flex;
  justify-content: center;
  flex-wrap: wrap;
}
.header-nav li { position: relative; }
.header-nav a {
  display: block;
  padding: 10px 14px;
  font-size: 14.5px;
  font-weight: 700;
  border-radius: 8px;
  transition: color .2s var(--ease), background .2s var(--ease);
}
.header-nav a:hover { color: var(--orange-600); background: var(--orange-50); }
.header-nav a.cta {
  background: var(--orange-500);
  color: #fff;
  margin-left: 6px;
}
.header-nav a.cta:hover { background: var(--orange-600); }
.nav-tel { display: none; }

/* ============ Hero ============ */
.hero {
  position: relative;
  background: linear-gradient(180deg, var(--cream), var(--ivory));
  overflow: hidden;
}
.home-hero {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(0, 1.15fr);
  align-items: center;
  max-width: 1240px;
  margin: 0 auto;
  padding: 34px 24px 40px;
  gap: 28px;
}
.hero-art img {
  border-radius: 18px;
  box-shadow: var(--shadow-soft);
}
.hero-copy { padding: 8px 0; }
.hero-identity { margin-bottom: 14px; }
.brand-line {
  color: var(--green-600);
  font-weight: 900;
  font-size: 15px;
  letter-spacing: .06em;
  margin-bottom: 6px;
}
.area-pill {
  display: inline-block;
  background: var(--blue-50);
  color: var(--blue-600);
  border: 1px solid var(--blue-100);
  border-radius: 999px;
  padding: 4px 16px;
  font-size: 13px;
  font-weight: 700;
}
.hero-copy h1 {
  margin: 0 0 16px;
  font-size: clamp(26px, 3.4vw, 40px);
  font-weight: 900;
  line-height: 1.5;
  color: var(--text);
}
.hero-copy h1 .accent { color: var(--orange-600); }
.hero-copy .sub {
  color: var(--text-sub);
  font-size: 15.5px;
  margin-bottom: 22px;
}
.hero-badges {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin-bottom: 22px;
}
.hero-badges span {
  background: #fff;
  border: 1.5px solid var(--orange-300);
  color: var(--brown-800);
  border-radius: 999px;
  padding: 5px 14px;
  font-size: 13px;
  font-weight: 700;
}

/* ============ Buttons ============ */
.btn {
  display: inline-block;
  background: var(--orange-500);
  color: #fff;
  font-weight: 900;
  font-size: 16px;
  padding: 14px 38px;
  border-radius: 999px;
  box-shadow: var(--shadow-light);
  transition: transform .2s var(--ease), background .2s var(--ease);
}
.btn:hover { background: var(--orange-600); transform: translateY(-2px); }
.btn.blue { background: var(--blue-500); }
.btn.blue:hover { background: var(--blue-600); }
.btn.outline {
  background: #fff;
  color: var(--orange-600);
  border: 2px solid var(--orange-500);
}
.btn.outline:hover { background: var(--orange-50); }

/* ============ Sections ============ */
main section { padding: 64px 0; }
.section-head { text-align: center; margin-bottom: 40px; }
.section-head .en {
  display: block;
  color: var(--orange-500);
  font-size: 13px;
  font-weight: 900;
  letter-spacing: .22em;
  text-transform: uppercase;
  margin-bottom: 6px;
}
.section-head h2 {
  margin: 0;
  font-size: clamp(23px, 3vw, 32px);
  font-weight: 900;
  line-height: 1.5;
}
.section-head .lede {
  color: var(--text-sub);
  font-size: 15px;
  margin-top: 12px;
}
.bg-cream { background: var(--cream); }
.bg-blue { background: var(--blue-50); }
.bg-green { background: var(--green-50); }

/* ============ Cards ============ */
.card-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 22px;
}
.card-grid.cols-2 { grid-template-columns: repeat(2, 1fr); }
.card {
  background: #fff;
  border: 1px solid var(--line);
  border-radius: 16px;
  box-shadow: var(--shadow-light);
  overflow: hidden;
  display: flex;
  flex-direction: column;
}
.card .card-art { aspect-ratio: 4 / 3; overflow: hidden; }
.card .card-art img { width: 100%; height: 100%; object-fit: cover; }
.card .card-body { padding: 20px 22px 24px; flex: 1; }
.card h3 {
  margin: 0 0 8px;
  font-size: 18px;
  font-weight: 900;
  color: var(--blue-600);
}
.card p { font-size: 14px; color: var(--text-sub); margin: 0; }

/* ============ Strength (3つの安心) ============ */
.strength-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 22px;
}
.strength {
  background: #fff;
  border-radius: 16px;
  border-top: 5px solid var(--orange-500);
  box-shadow: var(--shadow-light);
  padding: 26px 24px;
  text-align: center;
}
.strength:nth-child(2) { border-top-color: var(--blue-500); }
.strength:nth-child(3) { border-top-color: var(--green-500); }
.strength .num {
  display: inline-block;
  color: var(--orange-500);
  font-size: 30px;
  font-weight: 900;
  line-height: 1;
  margin-bottom: 8px;
}
.strength:nth-child(2) .num { color: var(--blue-500); }
.strength:nth-child(3) .num { color: var(--green-500); }
.strength h3 { margin: 0 0 10px; font-size: 18.5px; font-weight: 900; }
.strength p { font-size: 14px; color: var(--text-sub); margin: 0; }

/* ============ Split (image + text) ============ */
.split {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 40px;
  align-items: center;
}
.split.reverse .split-art { order: 2; }
.split-art img {
  border-radius: 18px;
  box-shadow: var(--shadow-soft);
}
.split-body h2 {
  font-size: clamp(22px, 2.6vw, 29px);
  font-weight: 900;
  line-height: 1.55;
  margin: 0 0 16px;
}
.split-body p { font-size: 15px; }
.split-body .emphasis {
  display: inline-block;
  font-size: 19px;
  font-weight: 900;
  color: var(--brown-800);
  letter-spacing: .03em;
  padding: 4px 2px 14px;
  background: radial-gradient(circle at 4px 4px, var(--orange-300) 3px, transparent 3.6px) left bottom / 18px 8px repeat-x;
  transform: rotate(-.6deg);
}

/* ============ Flow steps ============ */
.flow-list { display: grid; gap: 22px; max-width: 860px; margin: 0 auto; }
.flow-step {
  display: grid;
  grid-template-columns: 190px 1fr;
  gap: 0;
  background: #fff;
  border: 1px solid var(--line);
  border-radius: 16px;
  box-shadow: var(--shadow-light);
  overflow: hidden;
}
.flow-step .step-art { height: 100%; }
.flow-step .step-art img { width: 100%; height: 100%; object-fit: cover; }
.flow-step .step-body { padding: 20px 26px; }
.flow-step .step-label {
  display: inline-block;
  background: var(--blue-500);
  color: #fff;
  font-size: 12px;
  font-weight: 900;
  letter-spacing: .1em;
  border-radius: 999px;
  padding: 2px 14px;
  margin-bottom: 8px;
}
.flow-step h3 { margin: 0 0 6px; font-size: 18px; font-weight: 900; color: var(--blue-600); }
.flow-step p { font-size: 14px; color: var(--text-sub); margin: 0; }

/* ============ Table (事業所概要 等) ============ */
.info-table {
  width: 100%;
  border-collapse: collapse;
  background: #fff;
  border-radius: 14px;
  overflow: hidden;
  box-shadow: var(--shadow-light);
}
.info-table th, .info-table td {
  padding: 15px 20px;
  border-bottom: 1px solid var(--line);
  font-size: 14.5px;
  text-align: left;
  vertical-align: top;
}
.info-table th {
  width: 30%;
  background: var(--orange-50);
  color: var(--brown-800);
  font-weight: 900;
  white-space: nowrap;
}
.info-table tr:last-child th, .info-table tr:last-child td { border-bottom: none; }

/* ============ FAQ ============ */
.faq-list { max-width: 860px; margin: 0 auto; display: grid; gap: 14px; }
.faq-item {
  background: #fff;
  border: 1px solid var(--line);
  border-radius: 14px;
  box-shadow: var(--shadow-light);
  overflow: hidden;
}
.faq-item summary {
  list-style: none;
  cursor: pointer;
  padding: 18px 22px;
  font-weight: 900;
  font-size: 15.5px;
  color: var(--blue-600);
  display: flex;
  gap: 12px;
  align-items: baseline;
}
.faq-item summary::-webkit-details-marker { display: none; }
.faq-item summary::before {
  content: "Q";
  color: var(--orange-500);
  font-size: 19px;
  font-weight: 900;
  flex-shrink: 0;
}
.faq-item .faq-a {
  padding: 0 22px 20px 53px;
  font-size: 14.5px;
  color: var(--text-sub);
}

/* ============ CTA band ============ */
.cta-band {
  position: relative;
  background: var(--orange-50);
  background-size: cover;
  background-position: center;
  text-align: center;
  padding: 70px 24px;
}
.cta-band .inner {
  position: relative;
  max-width: 720px;
  margin: 0 auto;
  background: rgba(255, 253, 248, 0.92);
  border-radius: 20px;
  padding: 36px 28px;
  box-shadow: var(--shadow-soft);
}
.cta-band h2 { margin: 0 0 10px; font-size: clamp(21px, 2.6vw, 28px); font-weight: 900; }
.cta-band p { color: var(--text-sub); font-size: 14.5px; }
.cta-band .tel {
  display: block;
  color: var(--blue-600);
  font-size: clamp(28px, 4vw, 38px);
  font-weight: 900;
  line-height: 1.3;
  margin: 10px 0 2px;
}
.cta-band .tel-note { font-size: 12.5px; color: var(--text-sub); margin-bottom: 18px; }

/* ============ News ============ */
.news-list {
  max-width: 860px;
  margin: 0 auto;
  list-style: none;
  padding: 0;
  background: #fff;
  border: 1px solid var(--line);
  border-radius: 14px;
  box-shadow: var(--shadow-light);
}
.news-list li {
  display: flex;
  gap: 18px;
  align-items: baseline;
  padding: 15px 22px;
  border-bottom: 1px dashed var(--line);
  font-size: 14.5px;
}
.news-list li:last-child { border-bottom: none; }
.news-list time { color: var(--text-sub); font-size: 13px; white-space: nowrap; }
.news-list .tag {
  background: var(--green-50);
  color: var(--green-600);
  border-radius: 999px;
  font-size: 11.5px;
  font-weight: 900;
  padding: 1px 12px;
  white-space: nowrap;
}

/* ============ Staff ============ */
.staff-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 22px;
}
.staff-card {
  background: #fff;
  border: 1px solid var(--line);
  border-radius: 16px;
  box-shadow: var(--shadow-light);
  overflow: hidden;
  text-align: center;
}
.staff-card .staff-photo { aspect-ratio: 1 / 1; overflow: hidden; background: var(--blue-50); }
.staff-card .staff-photo img { width: 100%; height: 100%; object-fit: cover; }
.staff-card .staff-body { padding: 18px 20px 22px; }
.staff-card .role {
  display: inline-block;
  background: var(--orange-50);
  color: var(--orange-600);
  font-size: 12px;
  font-weight: 900;
  border-radius: 999px;
  padding: 2px 14px;
  margin-bottom: 8px;
}
.staff-card h3 { margin: 0 0 8px; font-size: 18px; font-weight: 900; }
.staff-card p { font-size: 13.5px; color: var(--text-sub); text-align: left; margin: 0; }

/* ============ Footer ============ */
.site-footer {
  background: var(--blue-600);
  color: #eaf3fb;
  padding: 48px 0 0;
  font-size: 14px;
}
.footer-grid {
  display: grid;
  grid-template-columns: 1.3fr 1fr 1fr;
  gap: 36px;
  padding-bottom: 36px;
}
.footer-brand .name { font-size: 17px; font-weight: 900; color: #fff; margin-bottom: 8px; }
.footer-brand p { font-size: 13px; color: #c7dcee; margin: 0 0 4px; }
.site-footer h4 {
  margin: 0 0 12px;
  color: #fff;
  font-size: 14px;
  font-weight: 900;
  letter-spacing: .08em;
}
.site-footer ul { list-style: none; padding: 0; margin: 0; }
.site-footer ul li { margin-bottom: 8px; }
.site-footer ul a { color: #c7dcee; transition: color .2s; }
.site-footer ul a:hover { color: #fff; }
.footer-bottom {
  border-top: 1px solid rgba(255,255,255,.18);
  text-align: center;
  padding: 16px 24px;
  font-size: 12px;
  color: #a9c6de;
}
.credit-line {
  margin: 0;
  padding: 0 24px 16px;
  text-align: center;
  font-size: 11px;
  color: #a9c6de;
  opacity: .65;
}
.credit-line a { color: inherit; }
.credit-line a:hover { color: #fff; }

/* ============ Page hero (下層) ============ */
.page-hero {
  background: linear-gradient(180deg, var(--orange-50), var(--ivory));
  text-align: center;
  padding: 52px 24px 44px;
  border-bottom: 1px solid var(--line);
}
.page-hero .en {
  display: block;
  color: var(--orange-500);
  font-size: 13px;
  font-weight: 900;
  letter-spacing: .22em;
  text-transform: uppercase;
  margin-bottom: 6px;
}
.page-hero h1 { margin: 0; font-size: clamp(25px, 3.4vw, 36px); font-weight: 900; }
.page-hero .lede { color: var(--text-sub); font-size: 14.5px; margin: 12px auto 0; max-width: 640px; }

/* ============ Misc ============ */
.note-box {
  background: var(--blue-50);
  border: 1px solid var(--blue-100);
  border-radius: 12px;
  padding: 16px 20px;
  font-size: 13.5px;
  color: var(--blue-600);
}
.center { text-align: center; }
.mt-40 { margin-top: 40px; }
.check-list { list-style: none; padding: 0; margin: 0 0 1em; }
.check-list li {
  position: relative;
  padding-left: 26px;
  margin-bottom: 8px;
  font-size: 14.5px;
}
.check-list li::before {
  content: "";
  position: absolute;
  left: 2px;
  top: .62em;
  width: 12px;
  height: 7px;
  border-left: 3px solid var(--green-500);
  border-bottom: 3px solid var(--green-500);
  transform: rotate(-45deg);
}

/* ============ Motion ============ */
.fade-up {
  opacity: 0;
  transform: translateY(22px);
  transition: opacity .7s var(--ease), transform .7s var(--ease);
}
.fade-up.is-visible { opacity: 1; transform: none; }
@media (prefers-reduced-motion: reduce) {
  .fade-up { opacity: 1; transform: none; transition: none; }
}

/* ============ Mobile ============ */
@media (max-width: 960px) {
  .card-grid, .strength-grid, .staff-grid { grid-template-columns: repeat(2, 1fr); }
  .footer-grid { grid-template-columns: 1fr 1fr; }
}

@media (max-width: 760px) {
  main section { padding: 46px 0; }

  .header-top { padding: 10px 16px; }
  .logo .logo-mark { height: 46px; }
  .logo .logo-text .en { font-size: 16px; }
  .logo .logo-text .ja { font-size: 10.5px; letter-spacing: .12em; }
  .header-tel { display: none; }

  .nav-toggle {
    position: relative;
    display: inline-block;
    width: 46px;
    height: 46px;
    background: var(--orange-50);
    border: 1px solid var(--orange-300);
    border-radius: 10px;
    cursor: pointer;
    padding: 0;
  }
  .nav-toggle__bar {
    position: absolute;
    left: 11px;
    right: 11px;
    top: 50%;
    height: 3px;
    margin-top: -1.5px;
    border-radius: 2px;
    background: var(--orange-600);
    transition: transform .28s var(--ease), opacity .2s var(--ease);
  }
  .nav-toggle__bar:nth-child(1) { transform: translateY(-7px); }
  .nav-toggle__bar:nth-child(3) { transform: translateY(7px); }
  .nav-toggle[aria-expanded="true"] .nav-toggle__bar:nth-child(1) { transform: rotate(45deg); }
  .nav-toggle[aria-expanded="true"] .nav-toggle__bar:nth-child(2) { opacity: 0; transform: scaleX(.4); }
  .nav-toggle[aria-expanded="true"] .nav-toggle__bar:nth-child(3) { transform: rotate(-45deg); }

  .header-nav { display: none; border-top: none; }
  .header-nav[data-open="true"] {
    display: block;
    background: var(--cream);
    border-top: 1px solid var(--line);
    max-height: calc(100vh - 70px);
    overflow-y: auto;
    box-shadow: 0 18px 30px rgba(0, 0, 0, .12);
    animation: nav-drop .28s var(--ease);
  }
  @keyframes nav-drop {
    from { opacity: 0; transform: translateY(-10px); }
    to { opacity: 1; transform: none; }
  }
  .header-nav ul { flex-direction: column; padding: 8px 20px 20px; }
  .header-nav li + li a { border-top: 1px dashed var(--line); }
  .header-nav a {
    position: relative;
    padding: 15px 8px 15px 18px;
    border-radius: 0;
    font-size: 15.5px;
  }
  .header-nav a::before {
    content: "";
    position: absolute;
    left: 2px;
    top: 50%;
    width: 7px;
    height: 7px;
    margin-top: -3.5px;
    border-radius: 50% 42% 55% 45%;
    background: var(--orange-300);
  }
  .header-nav li:nth-child(3n+2) a::before { background: var(--blue-300); }
  .header-nav li:nth-child(3n) a::before { background: var(--green-300); }
  .header-nav a.cta {
    border-radius: 999px;
    text-align: center;
    margin: 16px 0 0;
    padding: 15px 8px;
    border-top: none !important;
  }
  .header-nav a.cta::before { display: none; }
  .nav-tel { display: block !important; }
  .nav-tel a {
    display: flex !important;
    flex-direction: column;
    align-items: center;
    gap: 2px;
    margin-top: 10px;
    padding: 12px 8px !important;
    background: #fff;
    border: 1.5px solid var(--blue-100);
    border-radius: 14px !important;
    border-top: none !important;
  }
  .nav-tel a::before { display: none !important; }
  .nav-tel b { color: var(--blue-600); font-size: 20px; font-weight: 900; letter-spacing: .02em; }
  .nav-tel span { font-size: 11px; color: var(--text-sub); }

  .home-hero { grid-template-columns: 1fr; padding: 22px 20px 34px; gap: 20px; }
  .hero-art { order: -1; }
  .split, .split.reverse { grid-template-columns: 1fr; gap: 22px; }
  .split.reverse .split-art { order: 0; }

  .flow-step { grid-template-columns: 1fr; }
  .flow-step .step-art { height: 170px; }

  .info-table th { width: 34%; white-space: normal; }
  .info-table th, .info-table td { padding: 12px 14px; font-size: 13.5px; }

  .card-grid.cols-2, .staff-grid { grid-template-columns: 1fr; }

  /* 提供サービスは2列 */
  .card-grid { grid-template-columns: repeat(2, 1fr); gap: 12px; }
  .card .card-body { padding: 12px 12px 15px; }
  .card h3 { font-size: 14px; margin-bottom: 5px; }
  .card p { font-size: 11.5px; line-height: 1.65; }

  /* 「安心」カードは横スワイプ */
  .strength-grid {
    display: flex;
    overflow-x: auto;
    scroll-snap-type: x mandatory;
    gap: 14px;
    margin: 0 -20px;
    padding: 6px 20px 14px;
    -webkit-overflow-scrolling: touch;
    scrollbar-width: none;
  }
  .strength-grid::-webkit-scrollbar { display: none; }
  .strength { flex: 0 0 82%; scroll-snap-align: center; }
  .strength h3 br { display: none; }
  .footer-grid { grid-template-columns: 1fr; gap: 26px; }

  body { padding-bottom: 64px; } /* fixed bar分 */
  .mobile-cta-bar {
    position: fixed;
    left: 0; right: 0; bottom: 0;
    z-index: 90;
    display: grid;
    grid-template-columns: 1fr 1fr;
    box-shadow: 0 -6px 18px rgba(0,0,0,.12);
  }
  .mobile-cta-bar a {
    display: block;
    text-align: center;
    padding: 15px 8px;
    font-size: 15px;
    font-weight: 900;
    color: #fff;
  }
  .mobile-cta-bar .tel-link { background: var(--blue-500); }
  .mobile-cta-bar .form-link { background: var(--orange-500); }
}
@media (min-width: 761px) {
  .mobile-cta-bar { display: none; }
}

/* ============================================
   手作り感チューニング（傾き・ブロブ・時間差アニメ）
   ============================================ */

/* --- 見出しのマーカー・手描きドット --- */
.marker {
  background: linear-gradient(transparent 60%, var(--orange-100) 60%, var(--orange-100) 92%, transparent 92%);
  padding: 0 .08em;
}
.section-head h2::after {
  content: "";
  display: block;
  width: 72px;
  height: 8px;
  margin: 14px auto 0;
  background: radial-gradient(circle at 4px 4px, var(--orange-300) 3px, transparent 3.6px) 0 0 / 18px 8px repeat-x;
}
.section-head:nth-of-type(odd) h2::after { background-image: radial-gradient(circle at 4px 4px, var(--blue-300) 3px, transparent 3.6px); }

/* --- セクションのゆるいカーブつなぎ --- */
main .bg-cream, main .bg-blue, main .bg-green { position: relative; margin-top: 34px; }
main .bg-cream::before, main .bg-blue::before, main .bg-green::before {
  content: "";
  position: absolute;
  top: -34px;
  left: -4%;
  width: 108%;
  height: 36px;
  border-radius: 50% 50% 0 0 / 100% 100% 0 0;
}
main .bg-cream::before { background: var(--cream); }
main .bg-blue::before { background: var(--blue-50); }
main .bg-green::before { background: var(--green-50); }

/* --- 画像をブロブ形に・ヒーローはゆっくり浮遊 --- */
.hero-art img {
  border-radius: 38% 62% 55% 45% / 48% 42% 58% 52%;
  animation: yui-float 7s ease-in-out infinite;
}
.split-art img { border-radius: 34% 66% 58% 42% / 50% 40% 60% 50%; }
.split.reverse .split-art img { border-radius: 62% 38% 44% 56% / 42% 56% 44% 58%; }
@keyframes yui-float {
  0%, 100% { transform: translateY(0) rotate(-.5deg); }
  50% { transform: translateY(-10px) rotate(.5deg); }
}
@media (prefers-reduced-motion: reduce) { .hero-art img { animation: none; } }

/* --- ヒーロー背景のにじみ --- */
.home-hero { position: relative; }
.home-hero::before, .home-hero::after {
  content: "";
  position: absolute;
  border-radius: 50%;
  filter: blur(2px);
  z-index: 0;
  pointer-events: none;
}
.home-hero::before {
  width: 240px; height: 240px;
  left: -70px; top: 46px;
  background: radial-gradient(circle, rgba(245,162,0,.14), transparent 68%);
}
.home-hero::after {
  width: 320px; height: 320px;
  right: -90px; bottom: -60px;
  background: radial-gradient(circle, rgba(46,124,192,.12), transparent 68%);
}
.home-hero > * { position: relative; z-index: 1; }

/* --- 3つの安心：付箋風・傾き・段差 --- */
.strength {
  border-top: none;
  border: 2px dashed var(--orange-100);
  border-radius: 24px 20px 26px 18px;
  padding: 28px 26px 26px;
  position: relative;
  --tilt: -1.4deg;
  --lift: 0px;
  background:
    radial-gradient(circle at 88% 8%, var(--orange-50) 0 44px, transparent 45px) #fff;
  transition: transform .35s var(--ease), box-shadow .35s var(--ease);
}
.strength:nth-child(2) {
  --tilt: 1deg; --lift: 16px;
  border-color: var(--blue-100);
  border-radius: 20px 26px 18px 24px;
  background: radial-gradient(circle at 12% 92%, var(--blue-50) 0 44px, transparent 45px) #fff;
}
.strength:nth-child(3) {
  --tilt: -.6deg;
  border-color: var(--green-300);
  border-radius: 26px 18px 24px 20px;
  background: radial-gradient(circle at 90% 90%, var(--green-50) 0 44px, transparent 45px) #fff;
}
.strength:hover {
  transform: translateY(calc(var(--lift) - 8px)) rotate(0deg);
  box-shadow: var(--shadow-soft);
}
.strength h3 { font-size: 19.5px; line-height: 1.6; }
.strength p { text-align: left; }

/* --- カードの表情（ホバーで持ち上がる・画像ズーム） --- */
.card { transition: transform .35s var(--ease), box-shadow .35s var(--ease); }
.card:nth-child(odd) { border-radius: 20px 16px 18px 14px; }
.card:nth-child(even) { border-radius: 14px 20px 14px 20px; }
.card .card-art img { transition: transform .6s var(--ease); }
.card:hover { transform: translateY(-7px) rotate(-.4deg); box-shadow: var(--shadow-soft); }
.card:nth-child(even):hover { transform: translateY(-7px) rotate(.4deg); }
.card:hover .card-art img { transform: scale(1.06); }

.staff-card { transition: transform .35s var(--ease), box-shadow .35s var(--ease); }
.staff-card:nth-child(1) { transform: rotate(-.7deg); }
.staff-card:nth-child(3) { transform: rotate(.7deg); }
.staff-card:hover { transform: translateY(-6px) rotate(0); box-shadow: var(--shadow-soft); }

.flow-step { transition: transform .35s var(--ease), box-shadow .35s var(--ease); }
.flow-step:nth-child(even) { transform: rotate(.35deg); }
.flow-step:nth-child(odd) { transform: rotate(-.35deg); }
.flow-step:hover { transform: translateY(-4px) rotate(0); box-shadow: var(--shadow-soft); }
.flow-step .step-label { transform: rotate(-2deg); }

.faq-item summary { transition: background .25s var(--ease); }
.faq-item summary:hover { background: var(--orange-50); }
.faq-item[open] summary { background: var(--blue-50); }

/* --- 時間差アニメーション（stagger） --- */
.stagger > * {
  opacity: 0;
  transform: translateY(26px) rotate(var(--tilt, 0deg)) scale(.985);
  transition: opacity .6s var(--ease), transform .6s var(--ease);
}
.stagger.is-visible > * {
  opacity: 1;
  transform: translateY(var(--lift, 0px)) rotate(var(--tilt, 0deg)) scale(1);
}
.stagger.is-visible > :hover { transition-delay: 0s !important; }
.stagger > :nth-child(1) { transition-delay: .05s; }
.stagger > :nth-child(2) { transition-delay: .17s; }
.stagger > :nth-child(3) { transition-delay: .29s; }
.stagger > :nth-child(4) { transition-delay: .41s; }
.stagger > :nth-child(5) { transition-delay: .53s; }
.stagger > :nth-child(6) { transition-delay: .65s; }
.stagger > :nth-child(n+7) { transition-delay: .75s; }
@media (prefers-reduced-motion: reduce) {
  .stagger > * { opacity: 1; transform: none; transition: none; }
}

/* --- ボタンの押し心地 --- */
.btn:active { transform: translateY(1px) scale(.98); }

/* --- パノラマ型ファーストビュー --- */
.home-hero-panorama {
  position: relative;
  overflow: hidden;
  min-height: min(86vh, 840px);
  padding: 64px 24px 340px;
  text-align: center;
  background: linear-gradient(180deg, #fdf6e7 0%, #f3f7f3 55%, #eaf4fb 100%);
}
.panorama-art {
  position: absolute;
  left: 50%;
  bottom: -2px;
  transform: translateX(-50%);
  width: 100%;
  min-width: 1280px;
  height: 100%;
  object-fit: cover;
  object-position: center bottom;
  z-index: 0;
  pointer-events: none;
}
/* 空のレイヤー（雲・花びら） */
.hero-sky {
  position: absolute;
  inset: 0;
  z-index: 1;
  overflow: hidden;
  pointer-events: none;
}
.hero-cloud {
  position: absolute;
  border-radius: 50%;
  background: radial-gradient(closest-side, rgba(255, 255, 255, .8), rgba(255, 255, 255, 0));
  animation: cloud-drift linear infinite;
}
.hero-cloud.c1 { width: 280px; height: 84px; top: 10%; animation-duration: 85s; }
.hero-cloud.c2 { width: 190px; height: 60px; top: 26%; animation-duration: 62s; animation-delay: -28s; }
.hero-cloud.c3 { width: 360px; height: 104px; top: 4%; animation-duration: 105s; animation-delay: -66s; }
@keyframes cloud-drift {
  from { transform: translateX(-420px); }
  to { transform: translateX(calc(100vw + 420px)); }
}
.hero-petal {
  position: absolute;
  top: -24px;
  width: 13px;
  height: 11px;
  opacity: 0;
  animation: petal-fall linear infinite;
}
.hero-petal::before {
  content: "";
  display: block;
  width: 100%;
  height: 100%;
  background: #f6b6c3;
  border-radius: 62% 38% 55% 45% / 48% 62% 38% 52%;
  animation: petal-spin 2.6s ease-in-out infinite alternate;
}
.hero-petal.p1 { left: 4%;  animation-duration: 13s; animation-delay: 1s; }
.hero-petal.p2 { left: 14%; animation-duration: 17s; animation-delay: 6s; width: 10px; height: 9px; }
.hero-petal.p3 { left: 26%; animation-duration: 14s; animation-delay: 3.5s; }
.hero-petal.p4 { left: 58%; animation-duration: 16s; animation-delay: 0s; }
.hero-petal.p5 { left: 76%; animation-duration: 12s; animation-delay: 7.5s; width: 10px; height: 9px; }
.hero-petal.p6 { left: 88%; animation-duration: 18s; animation-delay: 4s; }
/* 風に乗って右へ流されながら落ちる（フォールバック） */
@keyframes petal-fall {
  0%   { transform: translate(0, 0); opacity: 0; }
  7%   { opacity: .7; }
  30%  { transform: translate(90px, 24vh); }
  50%  { transform: translate(30px, 42vh); }
  75%  { transform: translate(150px, 63vh); opacity: .55; }
  100% { transform: translate(80px, 84vh); opacity: 0; }
}
@keyframes petal-spin {
  from { transform: rotate(-40deg) scaleY(1); }
  to { transform: rotate(200deg) scaleY(.72); }
}
/* モーションパス対応ブラウザでは、S字の風の軌道に乗せる */
@supports (offset-path: path('M0 0 L1 1')) {
  .hero-petal {
    offset-path: path('M 0 0 C 90 90, -30 190, 60 300 C 150 410, 10 520, 110 640 C 200 740, 90 800, 160 880');
    offset-rotate: 0deg;
    animation-name: petal-drift;
  }
  .hero-petal.p2, .hero-petal.p5 {
    offset-path: path('M 0 0 C -60 100, 110 200, 20 320 C -60 430, 130 540, 40 660 C -30 760, 110 820, 60 900');
  }
  .hero-petal.p3, .hero-petal.p6 {
    offset-path: path('M 0 0 C 130 70, 30 180, 120 290 C 210 400, 70 520, 170 630 C 260 730, 140 810, 210 880');
  }
  @keyframes petal-drift {
    0%   { offset-distance: 0%; opacity: 0; }
    7%   { opacity: .7; }
    80%  { opacity: .55; }
    100% { offset-distance: 100%; opacity: 0; }
  }
}
/* 空をスーッと走る風の筋 */
.wind-line {
  position: absolute;
  width: 240px;
  height: 3px;
  border-radius: 999px;
  background: linear-gradient(90deg, transparent, rgba(255, 255, 255, .8) 45%, rgba(255, 255, 255, .35) 70%, transparent);
  opacity: 0;
  animation: wind-swoosh ease-in-out infinite;
}
.wind-line.w1 { top: 16%; left: -6%; animation-duration: 11s; animation-delay: 2s; }
.wind-line.w2 { top: 32%; left: 4%;  animation-duration: 13s; animation-delay: 7s; width: 170px; }
.wind-line.w3 { top: 9%;  left: 22%; animation-duration: 15s; animation-delay: 11s; width: 300px; }
@keyframes wind-swoosh {
  0%   { transform: translateX(0) rotate(-7deg) scaleX(.4); opacity: 0; }
  4%   { opacity: .75; }
  16%  { transform: translateX(58vw) rotate(-4deg) scaleX(1.15); opacity: .5; }
  24%  { transform: translateX(86vw) rotate(-6deg) scaleX(.6); opacity: 0; }
  100% { transform: translateX(86vw) rotate(-6deg) scaleX(.6); opacity: 0; }
}
/* 紙が風にそよぐような揺れ */
.cta-koe { display: inline-block; animation: koe-sway 4.5s ease-in-out infinite; transform-origin: 50% 100%; }
@keyframes koe-sway {
  0%, 100% { transform: rotate(-1.2deg); }
  50% { transform: rotate(1.2deg); }
}
@media (prefers-reduced-motion: reduce) {
  .hero-cloud, .hero-petal, .wind-line { animation: none; display: none; }
  .cta-koe { animation: none; }
}

/* コピーの登場アニメーション */
@keyframes hero-in {
  from { opacity: 0; transform: translateY(26px); }
  to { opacity: 1; transform: none; }
}
.panorama-copy > * { animation: hero-in .8s var(--ease) both; }
.panorama-copy > :nth-child(1) { animation-delay: .15s; }
.panorama-copy > :nth-child(2) { animation-delay: .3s; }
.panorama-copy > :nth-child(3) { animation-delay: .5s; }
.panorama-copy > :nth-child(4) { animation-delay: .7s; }
@keyframes art-in {
  from { opacity: 0; transform: translateX(-50%) translateY(18px); }
  to { opacity: 1; transform: translateX(-50%); }
}
.panorama-art { animation: art-in 1.1s ease both; }
@media (prefers-reduced-motion: reduce) {
  .panorama-copy > *, .panorama-art { animation: none; }
}

.panorama-copy {
  position: relative;
  z-index: 2;
  max-width: 860px;
  margin: 0 auto;
  padding: 24px 12px;
  background: radial-gradient(closest-side, rgba(255, 252, 245, .82), rgba(255, 252, 245, .45) 62%, transparent);
}
.panorama-copy .brand-line {
  color: var(--green-600);
  font-weight: 900;
  font-size: clamp(16px, 1.9vw, 21px);
  letter-spacing: .08em;
  margin-bottom: 14px;
}
.panorama-copy h1 {
  margin: 0 0 18px;
  font-size: clamp(27px, 4.2vw, 46px);
  font-weight: 900;
  line-height: 1.55;
  color: var(--text);
}
.panorama-copy h1 .accent { color: var(--orange-600); }
.panorama-copy .sub {
  color: #6d6155;
  font-size: 16px;
  margin-bottom: 22px;
}
.panorama-copy .hero-actions {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 10px;
}
.cta-koe {
  font-size: 14.5px;
  font-weight: 900;
  color: var(--orange-600);
  letter-spacing: .08em;
  margin: 0;
}
@media (max-width: 760px) {
  .home-hero-panorama { min-height: 92vh; padding: 34px 18px 46vh; }
  .panorama-art { min-width: 100%; }
  .panorama-copy { padding: 12px 4px; }
  .panorama-copy .sub { font-size: 14px; }
  .pc-only { display: none; }
  .panorama-copy .brand-line { font-size: 12.5px; letter-spacing: 0; white-space: nowrap; }
  .cta-band { background-image: url('../assets/img/cta-bg-sm.webp') !important; }
}

/* --- 対応エリアのイメージマップ --- */
.area-map {
  position: relative;
  max-width: 780px;
  margin: 0 auto;
}
.area-map > img {
  width: 100%;
  border-radius: 36% 64% 55% 45% / 48% 44% 56% 52%;
  box-shadow: var(--shadow-soft);
}
.map-ring {
  position: absolute;
  left: 50%;
  top: 47%;
  width: 62%;
  aspect-ratio: 1 / 0.92;
  transform: translate(-50%, -50%) rotate(-3deg);
  border: 3px dashed var(--orange-500);
  border-radius: 52% 48% 46% 54% / 48% 54% 46% 52%;
  background: rgba(245, 162, 0, .07);
  pointer-events: none;
}
.map-pin {
  position: absolute;
  left: 50%;
  top: 47%;
  transform: translate(-50%, -50%);
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
  background: #fff;
  border: 2px solid var(--orange-500);
  border-radius: 14px 12px 14px 12px;
  box-shadow: var(--shadow-light);
  padding: 8px 14px;
  line-height: 1.35;
}
.map-pin::after {
  content: "";
  position: absolute;
  bottom: -9px;
  left: 50%;
  transform: translateX(-50%) rotate(45deg);
  width: 14px;
  height: 14px;
  background: #fff;
  border-right: 2px solid var(--orange-500);
  border-bottom: 2px solid var(--orange-500);
}
.map-pin b { color: var(--blue-600); font-size: 14px; font-weight: 900; }
.map-pin i { font-style: normal; color: var(--text-sub); font-size: 10.5px; font-weight: 700; }
.map-town {
  position: absolute;
  transform: translate(-50%, -50%);
  background: rgba(255, 253, 246, .95);
  border: 1.5px solid var(--blue-100);
  color: var(--blue-600);
  font-size: 13px;
  font-weight: 900;
  border-radius: 999px;
  padding: 3px 14px;
  box-shadow: var(--shadow-light);
  white-space: nowrap;
}
.map-town.t-chuo { left: 38%; top: 26%; }
.map-town.t-osugi { left: 63%; top: 19%; transform: translate(-50%,-50%) rotate(2deg); }
.map-town.t-komatsugawa { left: 17%; top: 30%; transform: translate(-50%,-50%) rotate(-3deg); }
.map-town.t-higashikomatsugawa { left: 27%; top: 54%; }
.map-town.t-funabori { left: 38%; top: 80%; transform: translate(-50%,-50%) rotate(-2deg); }
.map-town.t-nishiichinoe { left: 68%; top: 58%; }
.map-town.t-ichinoe { left: 80%; top: 76%; transform: translate(-50%,-50%) rotate(2deg); }
.area-map figcaption {
  text-align: center;
  color: var(--text-sub);
  font-size: 13px;
  margin-top: 14px;
}
@media (max-width: 760px) {
  .map-pin { padding: 6px 10px; }
  .map-pin b { font-size: 12px; }
  .map-pin i { font-size: 9px; }
  .map-town { font-size: 11px; padding: 2px 10px; }
}

/* --- モバイルでは傾き・段差を控えめに --- */
@media (max-width: 760px) {
  .strength { --lift: 0px; --tilt: -.8deg; }
  .strength:nth-child(2) { --tilt: .6deg; }
  .home-hero::before, .home-hero::after { display: none; }
  .hero-art img { border-radius: 42% 58% 52% 48% / 50% 46% 54% 50%; }
}
