@charset "UTF-8";
/* ══════════════════════════════════════════
   00-tokens  色・大きさ・書体のきまり。ここを直すと、サイト全体の見た目が変わります。
   ══════════════════════════════════════════ */

:root {
  --paper: #F7F1E3;
  --paper-2: #EFE6D2;
  --ink: #1D2B23;
  --ink-2: #46564C;
  --line: rgba(29,43,35,.16);
  --green: #2F5E45;
  --green-2: #4F8A5E;
  --green-t: #35694A;
  --mint: #CFE0BE;
  --sun: #F2A93B;
  --sun-2: #E58F1A;
  --clay: #C2452D;
  --peach: #F4C3A0;
  --hv: #FCE8B0;
  --hv-2: #FFF3D2;
  --cream: #FFF8EA;
  --f-serif: "Shippori Mincho B1", "Noto Serif CJK JP", "Hiragino Mincho ProN", "Yu Mincho", serif;
  --f-sans: "Zen Kaku Gothic New", "Noto Sans CJK JP", "Hiragino Kaku Gothic ProN", "Meiryo", sans-serif;
  --f-latin: "Instrument Serif", "Noto Serif CJK JP", Georgia, serif;
  --pad: clamp(20px, 5vw, 72px);
  --max: 1360px;
  --sec: clamp(88px, 12vw, 176px);
  --hdr: 76px;
  --ease: cubic-bezier(.22,.8,.2,1);
  --ease-io: cubic-bezier(.7,0,.2,1);
}

html[data-size="small"] {
  font-size: 14px;
}

html[data-size="large"] {
  font-size: 19px;
}

@media (max-width: 780px) {
  :root {
    --hdr: 64px;
  }
}
/* ══════════════════════════════════════════
   01-base  基本のスタイル：リセット、本文、リンク、見出しの共通部分、スクロールで現れる動き。
   ══════════════════════════════════════════ */

html {
  font-size: 16px;
}

*,
*::before,
*::after {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

html {
  scroll-behavior: smooth;
  scroll-padding-top: calc(var(--hdr) + 12px);
  -webkit-text-size-adjust: 100%;
}

body {
  font-family: var(--f-sans);
  font-weight: 500;
  font-size: 1rem;
  line-height: 1.95;
  color: var(--ink);
  background: var(--paper);
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
  overflow-x: clip;
}

body::before {
  content: "";
  position: fixed;
  inset: 0;
  z-index: 90;
  pointer-events: none;
  opacity: .5;
  mix-blend-mode: multiply;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='220' height='220'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='.8' numOctaves='2' stitchTiles='stitch'/%3E%3CfeColorMatrix values='0 0 0 0 .35  0 0 0 0 .28  0 0 0 0 .18  0 0 0 .1 0'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23n)'/%3E%3C/svg%3E");
}

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

a {
  color: inherit;
  text-decoration-thickness: 1px;
  text-underline-offset: .22em;
}

ul,
ol {
  list-style: none;
}

button {
  font: inherit;
  color: inherit;
  background: none;
  border: 0;
  cursor: pointer;
}

:focus-visible {
  outline: 3px solid var(--sun-2);
  outline-offset: 3px;
  border-radius: 4px;
}

::selection {
  background: var(--sun);
  color: var(--ink);
}

.wrap {
  width: 100%;
  max-width: calc(var(--max) + var(--pad) * 2);
  margin: 0 auto;
  padding-inline: var(--pad);
}

.skip {
  position: fixed;
  left: 12px;
  top: -80px;
  z-index: 300;
  background: var(--ink);
  color: #fff;
  padding: 10px 16px;
  border-radius: 8px;
  transition: top .2s;
}

.skip:focus {
  top: 12px;
}

.pc {
  display: inline;
}

.sr {
  position: absolute;
  width: 1px;
  height: 1px;
  overflow: hidden;
  clip: rect(0 0 0 0);
  white-space: nowrap;
}

.progress {
  position: fixed;
  left: 0;
  top: 0;
  right: 0;
  height: 3px;
  z-index: 120;
}

.progress i {
  display: block;
  height: 100%;
  width: 100%;
  background: var(--sun-2);
  transform: scaleX(0);
  transform-origin: 0 50%;
}

body.menu-open {
  overflow: hidden;
}

.sec {
  padding-block: var(--sec);
  position: relative;
}

.kicker {
  font: italic 400 1.35rem/1 var(--f-latin);
  color: var(--green-t);
  letter-spacing: .04em;
}

.kicker::before {
  content: "";
  display: inline-block;
  width: 28px;
  height: 1.5px;
  background: currentColor;
  vertical-align: middle;
  margin-right: 12px;
  transform: translateY(-2px);
}

.sec-h {
  display: flex;
  flex-direction: column;
  gap: 14px;
  margin-bottom: clamp(40px, 6vw, 80px);
}

.sec-h h2 {
  font-family: var(--f-serif);
  font-weight: 800;
  font-size: clamp(2.4rem, 6vw, 5rem);
  line-height: 1.15;
  letter-spacing: .05em;
}

.sec-h.inv h2,
.sec-h.inv .kicker {
  color: var(--paper);
}

.sec-h.inv .kicker {
  color: var(--sun);
}

.js [data-reveal] {
  opacity: 0;
  transform: translateY(32px);
  transition: opacity 1s var(--ease), transform 1s var(--ease);
}

.js [data-reveal].in {
  opacity: 1;
  transform: none;
}

@keyframes spin {
  to {
    transform: rotate(360deg);
  }
}

.ln {
  display: block;
  overflow: hidden;
  padding-bottom: .12em;
  margin-bottom: -.12em;
}

.ln-i {
  display: inline-block;
}

.js .ch {
  display: inline-block;
  transform: translateY(105%) rotate(4deg);
  opacity: 0;
  transition: transform 1.1s var(--ease), opacity .6s;
  transition-delay: calc(var(--i) * 38ms + 250ms);
}

.js .is-ready .ch {
  transform: none;
  opacity: 1;
}

@media (max-width: 780px) {
  .pc {
    display: none;
  }
}

@media (prefers-reduced-motion: reduce) {
  html {
    scroll-behavior: auto;
  }

  *,
  *::before,
  *::after {
    animation: none !important;
    transition-duration: 1ms !important;
    transition-delay: 0s !important;
  }

  .js [data-reveal],
  .js .ch {
    opacity: 1 !important;
    transform: none !important;
  }
}

body.sheet-open {
  overflow: hidden;
}

/* ── 小さな矢印アイコン（HTMLにコードを書かず、ここで形を決めています） ── */
.ar,
.chev {
  display: inline-block;
  flex: none;
  background-color: currentColor;      /* 文字と同じ色になります */
  -webkit-mask: var(--icon) center / contain no-repeat;
  mask: var(--icon) center / contain no-repeat;
}

.ar {
  --icon: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'%3E%3Cpath d='M5 12h13M13 6l6 6-6 6' fill='none' stroke='%23000' stroke-width='1.6' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E");
}

.ar-ext {
  --icon: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'%3E%3Cpath d='M7 17 17 7M9 7h8v8' fill='none' stroke='%23000' stroke-width='1.6' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E");
}

.chev {
  --icon: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'%3E%3Cpath d='m6 9 6 6 6-6' fill='none' stroke='%23000' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E");
}
/* ══════════════════════════════════════════
   02-buttons  ボタン。
   ══════════════════════════════════════════ */

.btn {
  position: relative;
  display: inline-flex;
  align-items: center;
  gap: 14px;
  height: 60px;
  padding: 0 30px;
  border-radius: 999px;
  text-decoration: none;
  font-weight: 700;
  letter-spacing: .06em;
  overflow: hidden;
  isolation: isolate;
  transition: color .4s, border-color .4s, transform .4s var(--ease);
}

.btn::before {
  content: "";
  position: absolute;
  inset: 0;
  z-index: -1;
  border-radius: inherit;
  transform: translateY(101%);
  transition: transform .5s var(--ease);
}

.btn:hover::before {
  transform: none;
}

.btn .ar {
  width: 20px;
  height: 20px;
  transition: transform .4s var(--ease);
}

.btn:hover .ar {
  transform: translateX(5px);
}

.btn-ink {
  background: var(--ink);
  color: var(--paper);
}

.btn-ink::before {
  background: var(--sun);
}

.btn-ink:hover {
  color: var(--ink);
}

.btn-sun {
  background: var(--sun);
  color: var(--ink);
}

.btn-sun::before {
  background: var(--paper);
}

.btn-line {
  border: 1.5px solid currentColor;
}

.btn-line::before {
  background: var(--hv);
}

.btn-line:hover {
  color: var(--ink);
  border-color: var(--ink);
}

.btn-s {
  height: 44px;
  padding: 0 22px;
  font-size: .9rem;
}

.mag {
  will-change: transform;
}

@media (max-width: 780px) {
  .btn {
    height: 56px;
    padding: 0 26px;
  }
}
/* ══════════════════════════════════════════
   03-header  ヘッダー：ロゴ、パソコンの電話の窓口一覧、メニューボタン。
   ══════════════════════════════════════════ */

.hdr {
  position: fixed;
  inset: 0 0 auto 0;
  z-index: 110;
  height: var(--hdr);
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding-inline: var(--pad);
  transition: transform .5s var(--ease), background .3s, box-shadow .3s;
}

.hdr.solid {
  background: rgba(29,43,35,.95);
  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);
  box-shadow: 0 6px 20px -12px rgba(29,43,35,.6);
  color: var(--paper);
}

.hdr.solid .brand-t b,
.hdr.solid .brand-t small,
.hdr.solid .hdr-tel {
  color: var(--paper);
}

.hdr.solid .brand-t small,
.hdr.solid .hdr-tel-l {
  color: rgba(247,241,227,.75);
}

.hdr.solid .menu-btn {
  color: var(--paper);
  border-color: rgba(247,241,227,.6);
}

.hdr.solid .menu-btn:hover {
  background: var(--paper);
  color: var(--ink);
  border-color: var(--paper);
}


body.menu-open .hdr {
  transform: none;
  background: transparent;
  box-shadow: none;
  backdrop-filter: none;
  -webkit-backdrop-filter: none;
}

.brand {
  display: flex;
  align-items: center;
  gap: 12px;
  text-decoration: none;
  min-height: 44px;
}

.sunmark {
  width: 40px;
  height: 40px;
  flex: none;
  object-fit: contain;
  transition: transform .4s var(--ease);
}

.brand:hover .sunmark {
  transform: scale(1.06);
}

.brand-t {
  display: flex;
  flex-direction: column;
  line-height: 1.35;
}

.brand-t b {
  font-family: var(--f-serif);
  font-weight: 700;
  font-size: 1.05rem;
  letter-spacing: .06em;
}

.brand-t small {
  font-size: .72rem;
  color: var(--ink-2);
  letter-spacing: .06em;
}

body.menu-open .brand-t b,
body.menu-open .brand-t small {
  color: var(--paper);
}

.hdr-r {
  display: flex;
  align-items: center;
  gap: 22px;
}

.hdr-tel {
  display: flex;
  flex-direction: column;
  align-items: flex-end;
  text-decoration: none;
  line-height: 1.3;
  font-family: var(--f-serif);
  font-weight: 700;
  letter-spacing: .06em;
  cursor: pointer;
  gap: 2px;
  min-height: 44px;
  justify-content: center;
}

.hdr-tel-l {
  font: 500 .68rem/1.3 var(--f-sans);
  letter-spacing: .14em;
  color: var(--ink-2);
}

.hdr-tel .tv {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  font-size: 1.05rem;
}

.hdr-tel .chev {
  width: 16px;
  height: 16px;
  transition: transform .4s var(--ease);
}

.hdr-tel[aria-expanded="true"] .chev {
  transform: rotate(180deg);
}

.tel-wrap {
  position: relative;
}

.tel-pop {
  position: absolute;
  right: 0;
  top: calc(100% + 14px);
  width: min(470px, 92vw);
  padding: 20px 22px 8px;
  background: var(--paper);
  color: var(--ink);
  border: 1.5px solid var(--ink);
  border-radius: 22px;
  box-shadow: 0 28px 50px -22px rgba(29,43,35,.55);
  opacity: 0;
  visibility: hidden;
  transform: translateY(-8px);
  transition: opacity .3s, transform .45s var(--ease), visibility 0s .3s;
}

.tel-pop.open {
  opacity: 1;
  visibility: visible;
  transform: none;
  transition-delay: 0s;
}

.tp-h {
  font-family: var(--f-serif);
  font-weight: 800;
  font-size: 1.2rem;
  letter-spacing: .05em;
}

.tp-s {
  font-size: .82rem;
  color: var(--ink-2);
  margin: 2px 0 12px;
  line-height: 1.7;
}

.tp-row {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 14px;
  padding: 14px 0;
  border-top: 1px solid var(--line);
}

.tp-t {
  display: flex;
  flex-direction: column;
  gap: 2px;
  min-width: 0;
}

.tp-t small {
  font-size: .78rem;
  font-weight: 700;
  color: var(--ink-2);
  line-height: 1.5;
}

.tp-num {
  font-family: var(--f-serif);
  font-weight: 800;
  font-size: 1.6rem;
  letter-spacing: .03em;
  text-decoration: none;
  line-height: 1.25;
}

.tp-num:hover {
  color: var(--green-t);
}

.tp-t em {
  font-style: normal;
  font-size: .74rem;
  color: var(--ink-2);
}

.cp {
  flex: none;
  min-width: 96px;
  height: 44px;
  padding: 0 14px;
  border: 1.5px solid var(--ink);
  border-radius: 999px;
  font-size: .82rem;
  font-weight: 700;
  transition: background .25s, color .25s, border-color .25s;
}

.cp:hover {
  background: var(--hv);
  color: var(--ink);
}

.cp.done {
  background: var(--green);
  color: #fff;
  border-color: var(--green);
}

@media (max-width: 780px) {
  .tel-wrap {
    display: none;
  }
}

body.menu-open .hdr-tel {
  color: var(--paper);
}

body.menu-open .hdr-tel-l {
  color: rgba(247,241,227,.7);
}

.menu-btn {
  display: flex;
  align-items: center;
  gap: 12px;
  height: 48px;
  padding: 0 20px;
  border: 1.5px solid var(--ink);
  border-radius: 999px;
  font: 700 .78rem/1 var(--f-sans);
  letter-spacing: .18em;
  transition: background .3s, color .3s, border-color .3s;
}

.menu-btn:hover {
  background: var(--hv);
  color: var(--ink);
  border-color: var(--ink);
}

.menu-btn-t {
  display: grid;
}

.menu-btn-t > span {
  grid-area: 1 / 1;
  transition: opacity .3s, transform .5s var(--ease);
}

.t-c {
  opacity: 0;
  transform: translateY(60%);
}

body.menu-open .t-c {
  opacity: 1;
  transform: none;
}

body.menu-open .t-m {
  opacity: 0;
  transform: translateY(-60%);
}

.menu-btn-i {
  position: relative;
  width: 22px;
  height: 8px;
}

.menu-btn-i i {
  position: absolute;
  left: 0;
  right: 0;
  height: 1.5px;
  background: currentColor;
  transition: transform .5s var(--ease), top .5s var(--ease);
}

.menu-btn-i i:first-child {
  top: 0;
}

.menu-btn-i i:last-child {
  top: 7px;
}

body.menu-open .menu-btn {
  color: var(--paper);
  border-color: rgba(247,241,227,.6);
}

body.menu-open .menu-btn:hover {
  background: var(--paper);
  color: var(--ink);
}

body.menu-open .menu-btn-i i:first-child {
  top: 3.5px;
  transform: rotate(45deg);
}

body.menu-open .menu-btn-i i:last-child {
  top: 3.5px;
  transform: rotate(-45deg);
}

@media (max-width: 780px) {
  .hdr-tel {
    display: none;
  }

  .brand-t small {
    display: none;
  }

  .brand-t b {
    font-size: .86rem;
    white-space: nowrap;
    letter-spacing: .02em;
  }

  .brand {
    gap: 8px;
  }

  .sunmark {
    width: 34px;
    height: 34px;
  }

  .menu-btn {
    height: 44px;
    padding: 0 16px;
    gap: 10px;
  }
}
/* ══════════════════════════════════════════
   04-menu  全画面メニュー。
   ══════════════════════════════════════════ */

.menu {
  position: fixed;
  inset: 0;
  z-index: 105;
  background: var(--green);
  color: var(--paper);
  clip-path: circle(0 at calc(100% - 64px) 38px);
  visibility: hidden;
  transition: clip-path .9s var(--ease-io), visibility 0s .9s;
  overflow-y: auto;
}

body.menu-open .menu {
  clip-path: circle(160% at calc(100% - 64px) 38px);
  visibility: visible;
  transition: clip-path .9s var(--ease-io), visibility 0s;
}

.menu-in {
  min-height: 100%;
  display: grid;
  grid-template-columns: 1.5fr 1fr;
  gap: 6vw;
  align-items: center;
  padding: calc(var(--hdr) + 24px) var(--pad) 48px;
  max-width: calc(var(--max) + var(--pad) * 2);
  margin: 0 auto;
}

.menu-list li {
  overflow: hidden;
  border-bottom: 1px solid rgba(247,241,227,.18);
}

.menu-list a {
  display: grid;
  grid-template-columns: 3.2em 1fr auto;
  align-items: baseline;
  gap: 12px;
  padding: .4em 0;
  text-decoration: none;
  transform: translateY(110%);
  transition: transform .8s var(--ease), color .3s;
}

body.menu-open .menu-list a {
  transform: none;
}

.menu-list li:nth-child(1) a {
  transition-delay: .25s, 0s;
}

.menu-list li:nth-child(2) a {
  transition-delay: .30s, 0s;
}

.menu-list li:nth-child(3) a {
  transition-delay: .35s, 0s;
}

.menu-list li:nth-child(4) a {
  transition-delay: .40s, 0s;
}

.menu-list li:nth-child(5) a {
  transition-delay: .45s, 0s;
}

.menu-list li:nth-child(6) a {
  transition-delay: .50s, 0s;
}

.menu-list li:nth-child(7) a {
  transition-delay: .55s, 0s;
}

.menu-list li:nth-child(8) a {
  transition-delay: .60s, 0s;
}

.menu-list li:nth-child(9) a {
  transition-delay: .65s, 0s;
}

.mn {
  font: 700 .95rem/1 var(--f-serif);
  font-style: normal;
  letter-spacing: .1em;
  color: var(--sun);
}

.mj {
  font-family: var(--f-serif);
  font-weight: 700;
  font-size: clamp(1.5rem, min(3.6vw, 5.2vh), 2.8rem);
  line-height: 1.3;
  letter-spacing: .06em;
}

.me {
  font: italic 400 1.15rem/1 var(--f-latin);
  color: rgba(247,241,227,.6);
}

.menu-list a:hover .mj {
  color: var(--sun);
}

.menu-side {
  display: flex;
  flex-direction: column;
  gap: 14px;
  align-items: flex-start;
  opacity: 0;
  transform: translateY(20px);
  transition: opacity .8s .6s, transform .8s var(--ease) .6s;
}

body.menu-open .menu-side {
  opacity: 1;
  transform: none;
}

.menu-k {
  font: 400 1.05rem/1 var(--f-latin);
  font-style: italic;
  color: rgba(247,241,227,.6);
  margin-top: 18px;
}

.menu-k:first-child {
  margin-top: 0;
}

.menu-mail {
  display: inline-flex;
  align-items: center;
  min-height: 44px;
  font-family: var(--f-serif);
  font-weight: 700;
  font-size: clamp(1.05rem, 2vw, 1.4rem);
  word-break: break-all;
}

.menu-tels {
  display: grid;
  width: 100%;
}

.menu-tels a {
  display: flex;
  flex-direction: column;
  gap: 1px;
  padding: 9px 0;
  border-bottom: 1px solid rgba(247,241,227,.2);
  text-decoration: none;
}

.menu-tels small {
  font-size: .74rem;
  color: rgba(247,241,227,.78);
  line-height: 1.5;
}

.menu-tels b {
  font-family: var(--f-serif);
  font-weight: 800;
  font-size: clamp(1.25rem, 2vw, 1.6rem);
  letter-spacing: .04em;
}

.menu-side a:hover {
  color: var(--sun);
}

.fs {
  display: flex;
  gap: 8px;
}

.fs button {
  width: 48px;
  height: 48px;
  border-radius: 50%;
  border: 1.5px solid rgba(247,241,227,.5);
  font-weight: 700;
  transition: background .2s, color .2s;
}

.fs button:hover,
.fs button[aria-pressed="true"] {
  background: var(--paper);
  color: var(--ink);
  border-color: var(--paper);
}

@media (max-width: 1100px) {
  .menu-in {
    grid-template-columns: 1fr;
    gap: 40px;
    align-items: start;
  }
}

@media (max-width: 780px) {
  .menu-list a {
    grid-template-columns: 2.4em 1fr;
  }

  .me {
    display: none;
  }
}
/* ══════════════════════════════════════════
   05-photo  写真の枠。写真が届くまでは、仮の絵を表示します。
   ══════════════════════════════════════════ */

.ph {
  position: relative;
  display: block;
  margin: 0;
  overflow: hidden;
  border-radius: 20px;
  background: var(--mint);
}

.ph-ill {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.ph-img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  opacity: 0;
  transition: opacity .8s;
}

.ph.has-photo .ph-img {
  opacity: 1;
}

.r-p {
  aspect-ratio: 3 / 4;
}

.r-l {
  aspect-ratio: 4 / 3;
}

.r-s {
  aspect-ratio: 1;
}

.r-w {
  aspect-ratio: 21 / 9;
}

/* about枠：ロゴを透過のまま全体表示 */
.ph[data-slot="about"] {
  aspect-ratio: auto;
  overflow: visible;
  border-radius: 0;
  background: transparent;
  box-shadow: none;
}

.ph[data-slot="about"] .ph-ill {
  position: static;
  display: block;
  width: 180px;
  max-width: 100%;
  height: auto;
  margin: 0 auto;
  object-fit: contain;
}

/* ══════════════════════════════════════════
   06-hero  トップの最初の画面：見出し、写真のコラージュ、丘と太陽。
   ══════════════════════════════════════════ */

.hero {
  position: relative;
  min-height: 100svh;
  display: flex;
  align-items: flex-end;
  overflow: hidden;
  background: linear-gradient(180deg, #FBEFD6 0%, #F7F1E3 55%);
  padding-top: calc(var(--hdr) + 28px);
}

.hero-bg {
  position: absolute;
  inset: 0;
  pointer-events: none;
}

.sun {
  position: absolute;
  right: -6vw;
  top: 9vh;
  width: min(46vw, 640px);
  aspect-ratio: 1;
  will-change: transform;
}

.sun-core {
  position: absolute;
  inset: 16%;
  border-radius: 50%;
  background: var(--sun);
}

.sun-core::after {
  content: "";
  position: absolute;
  inset: 0;
  border-radius: 50%;
  background-image: radial-gradient(var(--sun-2) 1.6px, transparent 2px);
  background-size: 11px 11px;
  -webkit-mask-image: linear-gradient(115deg, transparent 35%, #000 90%);
  mask-image: linear-gradient(115deg, transparent 35%, #000 90%);
  opacity: .55;
}

.sun-ring {
  position: absolute;
  border-radius: 50%;
  border: 1.5px solid rgba(229,143,26,.45);
}

.sun-ring.r1 {
  inset: 6%;
}

.sun-ring.r2 {
  inset: -6%;
  border-style: dashed;
  border-color: rgba(229,143,26,.3);
  animation: spin 90s linear infinite;
}

.bird {
  position: absolute;
  width: 34px;
  opacity: .55;
  animation: fly 70s linear infinite;
}

.bird.b1 {
  top: 24vh;
  left: -60px;
}

@keyframes fly {
  to {
    transform: translate3d(calc(100vw + 160px), -40px, 0);
  }
}

.hill {
  object-fit: cover;               /* 丘の画像は、右下をそろえて、枠いっぱいに表示する */
  object-position: right bottom;
  position: absolute;
  left: 0;
  width: 100%;
  bottom: -100px;
  height: calc(52vh + 100px);
  min-height: 400px;
  will-change: transform;
}

.hill.h3 {
  height: calc(62vh + 100px);
}

.hill.h2 {
  height: calc(52vh + 100px);
}

.hill.h1 {
  height: calc(42vh + 100px);
}

.hill.h0 {
  height: calc(32vh + 100px);
}

.hero-in {
  position: relative;
  z-index: 2;
  padding-bottom: clamp(150px, 24vh, 250px);
}

.hero-k {
  display: flex;
  align-items: center;
  gap: 12px;
  font-size: .86rem;
  font-weight: 700;
  letter-spacing: .1em;
  color: var(--green);
  margin-bottom: clamp(18px, 3vw, 32px);
}

.hero-k .dot {
  width: 9px;
  height: 9px;
  border-radius: 50%;
  background: var(--sun-2);
  animation: pulse 2.4s ease-in-out infinite;
}

@keyframes pulse {
  0%,100% {
    box-shadow: 0 0 0 0 rgba(229,143,26,.5);
  }
  50% {
    box-shadow: 0 0 0 9px rgba(229,143,26,0);
  }
}

.hero-h {
  font-family: var(--f-serif);
  font-weight: 800;
  font-size: clamp(2rem, min(4.6vw, 9vh), 5.4rem);
  line-height: 1.26;
  letter-spacing: .02em;
}

.hero-foot {
  display: flex;
  flex-wrap: wrap;
  align-items: flex-end;
  gap: 28px 56px;
  margin-top: clamp(24px, 4vw, 48px);
}

.hero-lead {
  max-width: 30em;
  font-size: clamp(.95rem, 1.2vw, 1.08rem);
  color: var(--ink);
}

.hero-cta {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
}

.scroll-cue {
  position: absolute;
  z-index: 3;
  right: calc(var(--pad) - 6px);
  bottom: 24px;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 10px;
  color: var(--paper);
  text-decoration: none;
  font: italic 400 1.05rem/1 var(--f-latin);
  writing-mode: vertical-rl;
}

.scroll-cue i {
  width: 1.5px;
  height: 56px;
  background: rgba(247,241,227,.35);
  position: relative;
  overflow: hidden;
}

.scroll-cue i::after {
  content: "";
  position: absolute;
  left: 0;
  top: 0;
  width: 100%;
  height: 40%;
  background: var(--paper);
  animation: drip 2.2s var(--ease-io) infinite;
}

@keyframes drip {
  0% {
    transform: translateY(-100%);
  }
  100% {
    transform: translateY(260%);
  }
}

@media (max-width: 780px) {
  .hero-in {
    padding-bottom: 36vh;
  }

  .hero-h {
    font-size: clamp(1.7rem, 7.7vw, 2.6rem);
  }

  .hero-h .ln-i {
    white-space: nowrap;
  }

  .hero-k {
    font-size: .76rem;
    letter-spacing: .04em;
  }

  .sun {
    width: 62vw;
    right: -14vw;
    top: 12vh;
  }

  .hill.h3 {
    height: calc(46vh + 100px);
  }

  .hill.h2 {
    height: calc(38vh + 100px);
  }

  .hill.h1 {
    height: calc(30vh + 100px);
  }

  .hill.h0 {
    height: calc(22vh + 100px);
  }

  .scroll-cue {
    display: none;
  }
}

@media (prefers-reduced-motion: reduce) {
  .bird {
    display: none;
  }
}

.collage {
  position: absolute;
  z-index: 2;
  right: var(--pad);
  top: calc(var(--hdr) + 40px);
  width: min(32vw, 470px);
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 14px;
  align-items: start;
}

.collage .col {
  display: grid;
  gap: 14px;
}

.collage .c2 {
  margin-top: 58px;
}

.tile .ph {
  box-shadow: 0 18px 30px -18px rgba(29,43,35,.45);
}

.tile .tp {
  will-change: transform;
}

.js .tile {
  opacity: 0;
  transform: translateY(46px) scale(.96);
  transition: opacity 1s var(--ease), transform 1.2s var(--ease);
  transition-delay: calc(var(--d) * 120ms + 450ms);
}

.js .hero.ready .tile {
  opacity: 1;
  transform: none;
}

.tile.badge {
  position: absolute;
  right: -20px;
  bottom: -46px;
  width: clamp(84px, 8vw, 118px);
}

.tile.badge .ph {
  border-radius: 50%;
  border: 6px solid var(--paper);
  box-shadow: none;
}

@media (max-width: 1100px) {
  .collage {
    position: relative;
    right: auto;
    top: auto;
    width: min(100%, 520px);
    margin: 8px var(--pad) 0 auto;
  }

  .hero {
    flex-direction: column;
    align-items: stretch;
    justify-content: flex-end;
  }

  .hero-in {
    padding-bottom: clamp(60px, 10vh, 120px);
  }

  .collage {
    order: 2;
    margin: 0 auto 0 var(--pad);
  }

  .hero-in {
    order: 1;
  }

  .hero-h {
    font-size: clamp(1.8rem, 6.6vw, 4.2rem);
  }

  .tile.badge {
    left: auto;
    right: -10px;
    bottom: -22px;
  }
}

@media (max-width: 780px) {
  .collage {
    width: calc(100% - var(--pad) * 2);
    margin: 0 var(--pad);
    gap: 10px;
    padding-bottom: 36px;
  }

  .collage .col {
    gap: 10px;
  }

  .collage .c2 {
    margin-top: 28px;
  }

  .tile.badge {
    width: 82px;
    right: -4px;
    bottom: 6px;
  }
}

@media (prefers-reduced-motion: reduce) {
  .js .tile {
    opacity: 1 !important;
    transform: none !important;
  }
}

.hero::after {
  content: "";
  position: absolute;
  left: 0;
  right: 0;
  bottom: -1px;
  height: clamp(26px, 4.4vw, 62px);
  z-index: 3;
  pointer-events: none;
  background: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 1440 60' preserveAspectRatio='none'%3E%3Cpath d='M0 38 C240 4 480 4 720 24 S1200 46 1440 12 V60 H0Z' fill='%23F7F1E3'/%3E%3C/svg%3E") bottom / 100% 100% no-repeat;
}

.scroll-cue {
  z-index: 4;
  bottom: clamp(34px, 5vw, 72px);
}
/* ══════════════════════════════════════════
   07-news  お知らせ（トップの3件と、お知らせページ）。
   ══════════════════════════════════════════ */

.js .news-i[data-reveal]:nth-child(2) {
  transition-delay: .08s;
}

.js .news-i[data-reveal]:nth-child(3) {
  transition-delay: .16s;
}

.news-g {
  display: block;
}

.news-l {
  border-top: 1.5px solid var(--ink);
}

.news-i {
  display: grid;
  grid-template-columns: 11.5em 1fr;
  gap: 12px 32px;
  padding: 28px 0;
  border-bottom: 1px solid var(--line);
}

.news-m {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 10px;
}

.news-m time {
  font: 700 1.5rem/1 var(--f-serif);
  font-style: normal;
  letter-spacing: .04em;
}

.news-m time.nd {
  color: var(--ink-2);
}

.tag {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  height: 28px;
  padding: 0 14px;
  border-radius: 999px;
  font: 700 .76rem/1 var(--f-sans);
  letter-spacing: .08em;
}

.tag.info {
  background: var(--green);
  color: #fff;
}

.tag.alert {
  background: var(--clay);
  color: #fff;
}

.tag.alert::before {
  content: "";
  width: 7px;
  height: 7px;
  border-radius: 50%;
  background: #fff;
  animation: pulse2 1.8s ease-in-out infinite;
}

@keyframes pulse2 {
  50% {
    opacity: .3;
  }
}

.news-b h3 {
  font-family: var(--f-serif);
  font-weight: 700;
  font-size: clamp(1.15rem, 1.8vw, 1.5rem);
  line-height: 1.6;
  letter-spacing: .03em;
}

.news-i.alert .news-b h3 {
  color: #9C3320;
}

.news-b p {
  margin-top: 6px;
  font-size: .95rem;
  color: var(--ink-2);
}

.inl {
  font-weight: 700;
  color: var(--green);
}

@media (max-width: 1100px) {
  .news-g {
    grid-template-columns: 1fr;
    gap: 28px;
  }
}

@media (max-width: 780px) {
  .news-i {
    grid-template-columns: 1fr;
    gap: 10px;
  }

  .news-m {
    flex-direction: row;
    align-items: center;
    gap: 14px;
  }
}

/* ══════════════════════════════════════════
   08-guide  かがやきができること（状況から事業へ）と、スタンプの動き。
   ══════════════════════════════════════════ */

.wr-g {
  display: block;
}

.worry .sec-h {
  position: static;
}

.wr-lead {
  font-size: .98rem;
  color: var(--ink-2);
  max-width: 36em;
  margin-top: 4px;
}

.wr-l {
  border-top: 1.5px solid var(--ink);
}

.wr {
  position: relative;
  display: grid;
  grid-template-columns: 3em minmax(0, 1fr) clamp(104px, 13vw, 176px);
  gap: 8px clamp(14px, 2vw, 28px);
  align-items: center;
  padding: 24px 10px;
  border-bottom: 1px solid var(--line);
  overflow: hidden;
  isolation: isolate;
  transition: padding .55s var(--ease);
}

.wr::before {
  content: "";
  position: absolute;
  inset: 0;
  z-index: -1;
  background: linear-gradient(90deg, #FCE8B0 0%, #FFF3D2 100%);
  transform: scaleX(0);
  transform-origin: 0 50%;
  transition: transform .65s var(--ease);
}

.wr::after {
  content: "";
  position: absolute;
  left: 0;
  top: 16%;
  bottom: 16%;
  width: 6px;
  border-radius: 0 6px 6px 0;
  background: var(--sun-2);
  transform: scaleY(0);
  transition: transform .5s var(--ease) .1s;
}

.wr:hover::before,
.wr:focus-within::before {
  transform: none;
}

.wr:hover::after,
.wr:focus-within::after {
  transform: none;
}

.wr:hover,
.wr:focus-within {
  padding-left: 28px;
}

.wr-n {
  font: 700 1.6rem/1 var(--f-serif);
  font-style: normal;
  color: var(--green-t);
  transition: color .3s, transform .5s var(--ease);
}

.wr:hover .wr-n,
.wr:focus-within .wr-n {
  color: var(--sun-2);
  transform: scale(1.18);
}

.wr h3 {
  font-family: var(--f-serif);
  font-weight: 800;
  font-size: clamp(1.2rem, 2.3vw, 1.9rem);
  line-height: 1.5;
  letter-spacing: .04em;
}

.wr-a {
  text-decoration: none;
  background: linear-gradient(var(--sun), var(--sun)) 0 92% / 0 .28em no-repeat;
  transition: background-size .6s var(--ease);
}

.wr:hover .wr-a,
.wr:focus-within .wr-a {
  background-size: 100% .28em;
}

.wr-a::after {
  content: "";
  position: absolute;
  inset: 0;
  z-index: 1;
}

.wr-c {
  position: relative;
  z-index: 2;
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 4px 8px;
  margin-top: 8px;
}

.wr-k {
  font-size: .76rem;
  letter-spacing: .08em;
  color: var(--ink-2);
  margin-right: 6px;
}

.chip {
  display: inline-flex;
  align-items: center;
  min-height: 44px;
  padding: 0 16px;
  border: 1.5px solid currentColor;
  border-radius: 999px;
  font-size: .88rem;
  font-weight: 700;
  text-decoration: none;
  background: rgba(255,255,255,.5);
  transition: background .3s, color .3s, border-color .3s;
}

.chip:hover {
  background: var(--sun);
  color: var(--ink);
  border-color: var(--ink);
}

.wr-i {
  position: relative;
}

.wr-i .ph {
  border-radius: 16px;
  transform: rotate(-3deg);
  transition: transform .6s var(--ease);
}

.wr:hover .wr-i .ph,
.wr:focus-within .wr-i .ph {
  transform: rotate(2deg) scale(1.06);
}

@media (max-width: 1100px) {
  .wr-g {
    grid-template-columns: 1fr;
    gap: 32px;
  }

  .worry .sec-h {
    position: static;
  }
}

@media (max-width: 780px) {
  .wr {
    grid-template-columns: 2.2em minmax(0, 1fr) 88px;
    padding: 20px 4px;
  }

  .wr-k {
    display: none;
  }

  .wr-i .ph {
    border-radius: 12px;
  }
}

.wr-stamp {
  position: absolute;
  right: -8px;
  bottom: -16px;
  z-index: 3;
  width: 92px;
  height: 92px;
  pointer-events: none;
  opacity: 0;
  transform: scale(2.6) rotate(-28deg);
  transform-origin: 50% 50%;
}

.wr-stamp img {
  width: 100%;
  height: 100%;
  display: block;
}

.wr-stamp::before {
  content: "";
  position: absolute;
  inset: 4%;
  border-radius: 50%;
  border: 3px solid rgba(210,69,43,.55);
  opacity: 0;
  transform: scale(.7);
}

.wr:hover .wr-stamp,
.wr:focus-within .wr-stamp,
.wr.stamped .wr-stamp {
  animation: stamp-pop .62s cubic-bezier(.2,.8,.2,1) both;
}

.wr:hover .wr-stamp::before,
.wr:focus-within .wr-stamp::before,
.wr.stamped .wr-stamp::before {
  animation: stamp-ring .75s .24s ease-out both;
}

@keyframes stamp-pop {
  0% {
    opacity: 0;
    transform: scale(2.6) rotate(-28deg);
  }
  40% {
    opacity: 1;
    transform: scale(.84) rotate(-8deg);
  }
  60% {
    transform: scale(1.08) rotate(-14deg);
  }
  80% {
    transform: scale(.98) rotate(-11deg);
  }
  100% {
    opacity: 1;
    transform: scale(1) rotate(-12deg);
  }
}

@keyframes stamp-ring {
  0% {
    opacity: .85;
    transform: scale(.7);
  }
  100% {
    opacity: 0;
    transform: scale(1.9);
  }
}

.wr:hover .wr-b,
.wr:focus-within .wr-b {
  animation: row-press .5s .22s cubic-bezier(.3,.7,.4,1) both;
}

@keyframes row-press {
  0% {
    transform: none;
  }
  35% {
    transform: translateY(2px);
  }
  100% {
    transform: none;
  }
}

@media (prefers-reduced-motion: reduce) {
  .wr:hover .wr-stamp,
  .wr:focus-within .wr-stamp,
  .wr.stamped .wr-stamp {
    animation: none !important;
    opacity: 1 !important;
    transform: rotate(-12deg) !important;
  }

  .wr-stamp::before,
  .wr:hover .wr-b {
    display: none;
    animation: none !important;
  }
}

/* ── 「できること」の一文 ── */
.wr-d {
  margin-top: 6px;
  font-size: .98rem;
  line-height: 1.8;
  color: var(--ink);
  max-width: 40em;
}

/* ── 迷ったときの入口（相談の電話・メール） ── */
.wr-cta {
  display: flex;
  align-items: center;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 20px 32px;
  margin-top: clamp(28px, 4vw, 48px);
  padding: clamp(24px, 3vw, 36px) clamp(24px, 3vw, 40px);
  background: var(--paper-2);
  border-radius: 24px;
}

#worry-h {
  word-break: keep-all;          /* 「かがやきが／できること」の切れ目でだけ、折り返す */
}

.wr-cta-t {
  word-break: keep-all;
  text-wrap: balance;
  font-family: var(--f-serif);
  font-weight: 800;
  font-size: clamp(1.25rem, 2.2vw, 1.75rem);
  letter-spacing: .05em;
  line-height: 1.5;
}

.wr-cta-b {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
}

@media (max-width: 780px) {
  .wr-d {
    font-size: .92rem;
  }

  .wr-cta-b .btn {
    flex: 1 1 100%;
    justify-content: center;
  }
}
/* ══════════════════════════════════════════
   09-about  法人概要。
   ══════════════════════════════════════════ */

.about {
  background: var(--paper);
}

.statement {
  font-family: var(--f-serif);
  font-weight: 800;
  font-size: clamp(1.9rem, 5.2vw, 4.6rem);
  line-height: 1.55;
  letter-spacing: .03em;
  max-width: 17em;
  margin-bottom: clamp(56px, 8vw, 110px);
}

.statement .phr {
  display: inline-block;
  white-space: nowrap;
}

.js .statement .w {
  color: rgba(29,43,35,.16);
  transition: color .35s;
}

.js .statement .w.on {
  color: var(--ink);
}

.statement .w:nth-child(n+17):nth-child(-n+19) {
  text-decoration: none;
}

.about .wrap {
  position: relative;
}

.vt {
  position: absolute;
  right: var(--pad);
  top: 8px;
  writing-mode: vertical-rl;
  font-family: var(--f-serif);
  font-weight: 700;
  font-size: 1rem;
  letter-spacing: .5em;
  color: var(--green-2);
  display: flex;
  align-items: center;
  gap: 18px;
}

.vt i {
  width: 1px;
  height: 64px;
  background: currentColor;
  opacity: .5;
}

.vt {
  font-feature-settings: "vert";
}

@media (max-width: 1100px) {
  .vt {
    display: none;
  }
}

.about-g {
  display: grid;
  grid-template-columns: 1fr 1.2fr;
  gap: clamp(32px, 6vw, 96px);
  align-items: start;
}

.facts {
  border-top: 1.5px solid var(--ink);
}

.facts > div {
  display: grid;
  grid-template-columns: 7em 1fr;
  gap: 16px;
  padding: 18px 0;
  border-bottom: 1px solid var(--line);
}

.facts dt {
  font-size: .85rem;
  color: var(--ink-2);
  letter-spacing: .1em;
}

.facts dd {
  font-family: var(--f-serif);
  font-weight: 700;
  font-size: 1.2rem;
  letter-spacing: .04em;
}

.member {
  background: var(--paper-2);
  border-radius: 28px;
  padding: clamp(28px, 4vw, 52px);
}

.member h3 {
  font-family: var(--f-serif);
  font-weight: 800;
  font-size: clamp(1.4rem, 2.4vw, 1.9rem);
  letter-spacing: .05em;
  line-height: 1.5;
  margin-bottom: 8px;
}

.member > p {
  color: var(--ink-2);
  font-size: .95rem;
}

.fees {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 0 28px;
  margin: 24px 0 30px;
}

.fee {
  display: flex;
  justify-content: space-between;
  align-items: baseline;
  gap: 10px;
  padding: 16px 0;
  border-bottom: 1px solid var(--line);
}

.fee dt {
  font-weight: 700;
}

.fee dt small {
  display: block;
  font-size: .74rem;
  font-weight: 500;
  color: var(--ink-2);
  letter-spacing: .1em;
}

.fee dd {
  font: 700 2rem/1 var(--f-serif);
  font-style: normal;
}

.fee dd i {
  font-style: normal;
  font-size: 1rem;
  margin-right: 2px;
  color: var(--ink-2);
}

@media (max-width: 1100px) {
  .about-g {
    grid-template-columns: 1fr;
  }
}

@media (max-width: 780px) {
  .statement {
    font-size: clamp(1.4rem, 6.6vw, 2.2rem);
  }

  .fees {
    grid-template-columns: 1fr;
  }

  .facts > div {
    grid-template-columns: 5.2em 1fr;
  }

  .facts dd {
    font-size: 1.02rem;
  }
}

@media (prefers-reduced-motion: reduce) {
  .js .statement .w {
    color: var(--ink);
  }
}

@media (max-width: 400px) {
  .statement .phr {
    white-space: normal;
  }
}

.about-l {
  display: grid;
  gap: 28px;
}
/* ══════════════════════════════════════════
   10-scenes  ひなたやまの風景（写真の流れる帯）。
   ══════════════════════════════════════════ */

.scenes {
  padding-bottom: calc(var(--sec) * .8);
  overflow: hidden;
}

.strip {
  overflow: hidden;
}

.strip-t {
  display: flex;
  width: max-content;
  animation: strip 80s linear infinite;
  padding-top: 8px;
}

.strip:hover .strip-t {
  animation-play-state: paused;
}

.strip-g {
  display: flex;
}

.sc {
  flex: none;
  width: clamp(240px, 26vw, 380px);
  margin: 0 22px 0 0;
}

.sc:nth-child(even) {
  margin-top: 40px;
}

.sc .ph {
  box-shadow: 0 18px 30px -20px rgba(29,43,35,.45);
}

.sc-c {
  margin-top: 12px;
  font-weight: 700;
  letter-spacing: .06em;
  line-height: 1.5;
}

.sc-c small {
  display: block;
  font-size: .78rem;
  font-weight: 500;
  color: var(--ink-2);
  letter-spacing: .04em;
}

@keyframes strip {
  to {
    transform: translateX(-50%);
  }
}

@media (max-width: 780px) {
  .sc {
    width: 62vw;
  }
}

@media (prefers-reduced-motion: reduce) {
  .strip {
    overflow-x: auto;
  }

  .strip-t {
    animation: none;
  }

  .strip-g[aria-hidden="true"] {
    display: none;
  }
}
/* ══════════════════════════════════════════
   11-services  事業紹介（相談・福祉・療育・地域の横スクロール）。
   ══════════════════════════════════════════ */

.journey {
  position: relative;
  background: var(--paper);
  --jbg: #FBE6CB;
}

.journey-pin {
  position: relative;
  background: var(--jbg);
  transition: background-color .15s linear;
}

.journey-top {
  position: relative;
  z-index: 4;
  display: grid;
  grid-template-columns: auto 1fr auto;
  gap: 24px 56px;
  align-items: end;
  padding-top: clamp(72px, 9vw, 120px);
  padding-bottom: 24px;
}

.journey-top .sec-h {
  margin-bottom: 0;
}

.journey-sub {
  color: var(--ink);
  font-size: .98rem;
  max-width: 26em;
}

.jd-wrap {
  display: flex;
  gap: 8px;
}

.jd {
  position: relative;
  min-width: 56px;
  height: 56px;
  padding: 0 18px;
  border-radius: 999px;
  border: 1.5px solid rgba(29,43,35,.5);
  font: 800 .98rem/1 var(--f-serif);
  transition: background .3s, color .3s, border-color .3s;
}

.jd:hover {
  background: var(--hv);
}

.jd.on {
  background: var(--ink);
  color: var(--paper);
  border-color: var(--ink);
}

.journey-sky {
  position: absolute;
  inset: 0;
  z-index: 1;
  pointer-events: none;
  overflow: hidden;
  display: none;
}

.jsun {
  position: absolute;
  left: 0;
  top: 0;
  width: min(22vw, 310px);
  aspect-ratio: 1;
  border-radius: 50%;
  background: var(--jsun, #F2A93B);
  will-change: transform;
}

.jsun::after {
  content: "";
  position: absolute;
  inset: 0;
  border-radius: 50%;
  background-image: radial-gradient(rgba(255,255,255,.4) 1.6px, transparent 2px);
  background-size: 11px 11px;
  -webkit-mask-image: linear-gradient(135deg, #000 10%, transparent 60%);
  mask-image: linear-gradient(135deg, #000 10%, transparent 60%);
}

.journey-hill {
  position: absolute;
  left: 0;
  bottom: 0;
  width: 100%;
  height: 22vh;
  z-index: 2;
  display: none;
  pointer-events: none;
}

.journey-track {
  position: relative;
  z-index: 3;
}

.jp {
  position: relative;
  display: grid;
  grid-template-columns: minmax(0, 5fr) minmax(0, 7fr);
  gap: 5vw;
  align-items: end;
  padding: clamp(48px, 7vw, 88px) var(--pad);
  max-width: calc(var(--max) + var(--pad) * 2);
  margin: 0 auto;
}

.jp[data-i="0"] {
  --pbg: #FBE6CB;
}

.jp[data-i="1"] {
  --pbg: #FAEBB8;
}

.jp[data-i="2"] {
  --pbg: #DDEBD4;
}

.jp[data-i="3"] {
  --pbg: #F5C6A5;
}

.jp-time {
  font-family: var(--f-serif);
  font-weight: 800;
  line-height: .8;
  user-select: none;
}

.jp-time span {
  display: block;
  font-size: clamp(5rem, 15vw, 12rem);
  color: transparent;
  -webkit-text-stroke: 2px rgba(29,43,35,.55);
  letter-spacing: 0;
}

.jp-k {
  font-size: .9rem;
  letter-spacing: .14em;
  color: var(--ink);
  margin-bottom: 10px;
}

.jp-k b {
  font: 700 1.6rem/1 var(--f-sans);
  font-style: normal;
  letter-spacing: .04em;
}

.jp-body h3 {
  font-family: var(--f-serif);
  font-weight: 800;
  font-size: clamp(1.9rem, 3.6vw, 3.2rem);
  line-height: 1.3;
  letter-spacing: .05em;
  margin-bottom: 14px;
}

.jp-lead {
  font-size: .95rem;
  color: var(--ink);
  max-width: 44em;
  margin-bottom: 26px;
  text-wrap: pretty;
}

.jp-list {
  border-top: 1.5px solid var(--ink);
}

.jp-list.many {
  display: grid;
  grid-template-columns: 1fr 1fr;
  column-gap: 28px;
}

.it {
  position: relative;
  display: grid;
  grid-template-columns: 1fr auto;
  grid-template-areas: "n go" "s go";
  align-items: center;
  column-gap: 16px;
  padding: 14px 4px 14px 2px;
  border-bottom: 1px solid rgba(29,43,35,.28);
  text-decoration: none;
  overflow: hidden;
  isolation: isolate;
  transition: padding .5s var(--ease);
}

.it::before {
  content: "";
  position: absolute;
  inset: 0;
  z-index: -1;
  background: rgba(255,251,240,.78);
  transform: scaleX(0);
  transform-origin: 0 50%;
  transition: transform .6s var(--ease);
}

.it::after {
  content: "";
  position: absolute;
  left: 0;
  top: 18%;
  bottom: 18%;
  width: 5px;
  border-radius: 0 5px 5px 0;
  background: var(--sun-2);
  transform: scaleY(0);
  transition: transform .5s var(--ease) .1s;
}

.it:hover::after,
.it:focus-visible::after {
  transform: none;
}

.it:hover::before,
.it:focus-visible::before {
  transform: none;
}

.it:hover,
.it:focus-visible {
  padding-inline: 22px 14px;
}

.it-n {
  grid-area: n;
  font-family: var(--f-serif);
  font-weight: 700;
  font-size: clamp(1.1rem, 1.8vw, 1.5rem);
  line-height: 1.5;
  letter-spacing: .04em;
}

.it-sub {
  grid-area: s;
  font-size: .8rem;
  letter-spacing: .04em;
  line-height: 1.5;
  opacity: .82;
}

.it-go {
  grid-area: go;
  display: grid;
  place-items: center;
  width: 40px;
  height: 40px;
  border-radius: 50%;
  border: 1.5px solid currentColor;
  transition: background .4s, color .4s, transform .5s var(--ease);
}

.it:hover .it-go {
  background: var(--sun);
  color: var(--ink);
  border-color: var(--sun);
  transform: rotate(-45deg);
}

.it-go .ar {
  width: 18px;
  height: 18px;
}

.journey.is-pinned {
  height: calc(var(--n) * 100vh);
}

.journey.is-pinned .journey-pin {
  position: sticky;
  top: 0;
  height: 100vh;
  overflow: hidden;
}

.journey.is-pinned .journey-top {
  padding-top: calc(var(--hdr) + 26px);
  padding-bottom: 0;
}

.journey.is-pinned .journey-top .sec-h h2 {
  font-size: clamp(1.8rem, 3.4vw, 3rem);
}

.journey.is-pinned .journey-top .sec-h {
  gap: 6px;
}

.journey.is-pinned .journey-sky,
.journey.is-pinned .journey-hill {
  display: block;
}

.journey.is-pinned .journey-track {
  position: absolute;
  left: 0;
  right: auto;
  top: 0;
  bottom: 0;
  width: calc(var(--n) * 100vw);
  display: flex;
  will-change: transform;
}

.journey.is-pinned .jp {
  flex: 0 0 100vw;
  width: 100vw;
  max-width: none;
  margin: 0;
  height: 100vh;
  padding: calc(var(--hdr) + 150px) max(var(--pad), calc((100vw - var(--max)) / 2)) 20vh;
  align-items: end;
  background: transparent;
}

.journey.is-pinned .jp-time span {
  font-size: clamp(6rem, 22vh, 14rem);
}

.journey.is-pinned .jp-body h3 {
  font-size: clamp(1.7rem, 3.2vw, 2.7rem);
  margin-bottom: 8px;
}

.journey.is-pinned .jp-lead {
  margin-bottom: 14px;
  font-size: .88rem;
  line-height: 1.8;
}

.journey.is-pinned .it {
  padding-block: 8px;
}

.journey.is-pinned .jp-k {
  margin-bottom: 4px;
}

.journey:not(.is-pinned) .journey-top {
  grid-template-columns: 1fr;
}

.journey:not(.is-pinned) .journey-pin {
  background: var(--paper);
}

.journey:not(.is-pinned) .jd-wrap {
  display: none;
}

.journey:not(.is-pinned) .jp {
  background: var(--pbg);
  max-width: none;
  margin: 0;
  grid-template-columns: 1fr;
  gap: 12px;
  align-items: start;
  padding-block: 64px;
  padding-inline: var(--pad);
}

.journey:not(.is-pinned) .jp-time span {
  font-size: 4.6rem;
  margin-bottom: 4px;
}

@media (max-width: 780px) {
  .jp-list.many {
    grid-template-columns: 1fr;
  }
}

/* 「子どもの療育（障害児通所支援）」の、括弧の部分（正式名称）を小さく */
.jp-body h3 small {
  display: block;
  margin-top: 4px;
  font-family: var(--f-sans);
  font-weight: 500;
  font-size: .46em;
  letter-spacing: .08em;
  line-height: 1.5;
}
/* ══════════════════════════════════════════
   12-results  各種実績。
   ══════════════════════════════════════════ */

.results {
  background: var(--green);
  color: var(--paper);
  overflow: hidden;
}

.results::before {
  content: "";
  position: absolute;
  right: -8vw;
  top: -10vw;
  width: 40vw;
  aspect-ratio: 1;
  border-radius: 50%;
  background: radial-gradient(rgba(242,169,59,.5) 1.6px, transparent 2px) 0 0/12px 12px;
  opacity: .6;
  -webkit-mask-image: radial-gradient(circle, #000 30%, transparent 70%);
  mask-image: radial-gradient(circle, #000 30%, transparent 70%);
}

.res-g {
  position: relative;
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: clamp(28px, 4vw, 64px);
}

.res {
  border-top: 1.5px solid var(--paper);
  padding-top: 24px;
}

.res h3 {
  font-family: var(--f-serif);
  font-weight: 800;
  font-size: clamp(1.4rem, 2.2vw, 1.9rem);
  letter-spacing: .05em;
}

.rsub {
  font-size: .9rem;
  color: rgba(247,241,227,.78);
  margin: 4px 0 24px;
}

.rr {
  display: grid;
  grid-template-columns: 7.2em 1fr 4.2em;
  gap: 14px;
  align-items: center;
  padding: 11px 0;
  border-bottom: 1px solid rgba(247,241,227,.22);
}

.ry {
  font: 700 1.15rem/1 var(--f-serif);
  font-style: normal;
  letter-spacing: .04em;
  color: rgba(247,241,227,.85);
  white-space: nowrap;
}

.rb {
  height: 10px;
  border-radius: 999px;
  background: rgba(247,241,227,.14);
  overflow: hidden;
}

.rb i {
  display: block;
  height: 100%;
  width: calc(var(--w) * 100%);
  border-radius: inherit;
  background: var(--sun);
  transform: scaleX(0);
  transform-origin: 0 50%;
  transition: transform 1.4s var(--ease) .2s;
}

.res.in .rb i {
  transform: none;
}

.rv {
  text-align: right;
  white-space: nowrap;
}

.rv b {
  font: 800 2.5rem/1 var(--f-serif);
  font-style: normal;
}

.rv small {
  font-size: .8rem;
  margin-left: 2px;
}

.rnote {
  margin-top: 18px;
  font-size: .9rem;
  color: #FFD27F;
  font-weight: 700;
}

@media (max-width: 1100px) {
  .res-g {
    grid-template-columns: 1fr 1fr;
  }
}

@media (max-width: 780px) {
  .res-g {
    grid-template-columns: 1fr;
  }

  .rr {
    grid-template-columns: 6.4em 1fr 3.8em;
  }
}
/* ══════════════════════════════════════════
   13-info  情報公開。
   ══════════════════════════════════════════ */

.doc-g {
  display: grid;
  gap: 0;
}

.docg {
  display: grid;
  grid-template-columns: minmax(240px, 1fr) 2fr;
  gap: 24px clamp(24px, 5vw, 80px);
  padding: 32px 0 40px;
  border-top: 1.5px solid var(--ink);
}

.docg:last-child {
  border-bottom: 1.5px solid var(--ink);
}

.docg h3 {
  display: flex;
  align-items: baseline;
  gap: 16px;
  font-family: var(--f-serif);
  font-weight: 800;
  font-size: clamp(1.4rem, 2.4vw, 2rem);
  letter-spacing: .05em;
  line-height: 1.4;
}

.docg-n {
  font: 700 1.4rem/1 var(--f-serif);
  font-style: normal;
  color: var(--green-t);
}

.doc {
  position: relative;
  display: grid;
  grid-template-columns: 1fr auto auto;
  align-items: center;
  gap: 18px;
  padding: 20px 6px;
  border-bottom: 1px solid var(--line);
  text-decoration: none;
  overflow: hidden;
  isolation: isolate;
  transition: padding .5s var(--ease), color .3s;
}

.docg li:last-child .doc {
  border-bottom: 0;
}

.doc::before {
  content: "";
  position: absolute;
  inset: 0;
  z-index: -1;
  background: linear-gradient(90deg, var(--hv), var(--hv-2));
  transform: scaleX(0);
  transform-origin: 0 50%;
  transition: transform .6s var(--ease);
}

.doc::after {
  content: "";
  position: absolute;
  left: 0;
  top: 18%;
  bottom: 18%;
  width: 5px;
  border-radius: 0 5px 5px 0;
  background: var(--sun-2);
  transform: scaleY(0);
  transition: transform .5s var(--ease) .1s;
}

.doc:hover::after,
.doc:focus-visible::after {
  transform: none;
}

.doc:hover::before,
.doc:focus-visible::before {
  transform: none;
}

.doc:hover,
.doc:focus-visible {
  padding-inline: 24px 16px;
}

.doc-n {
  font-family: var(--f-serif);
  font-weight: 700;
  font-size: clamp(1.1rem, 1.7vw, 1.4rem);
  letter-spacing: .04em;
}

.doc-t {
  font: 400 .95rem/1 var(--f-latin);
  letter-spacing: .12em;
  border: 1px solid currentColor;
  border-radius: 4px;
  padding: 3px 8px;
  opacity: .7;
}

.doc-go {
  display: grid;
  place-items: center;
  width: 40px;
  height: 40px;
  border-radius: 50%;
  border: 1.5px solid currentColor;
  transition: background .4s, color .4s;
}

.doc:hover .doc-go {
  background: var(--sun);
  color: var(--ink);
  border-color: var(--sun);
}

.doc .ar {
  width: 18px;
  height: 18px;
}

@media (max-width: 1100px) {
  .docg {
    grid-template-columns: 1fr;
  }
}

@media (max-width: 780px) {
  .docg {
    grid-template-columns: 1fr;
  }
}
/* ══════════════════════════════════════════
   14-access  アクセス。
   ══════════════════════════════════════════ */

.access {
  background: var(--paper-2);
}

.acc-g {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: clamp(20px, 2.4vw, 36px);
}

.acc {
  display: flex;
  flex-direction: column;
  background: var(--paper);
  border-radius: 28px;
  overflow: hidden;
  box-shadow: 0 1px 0 var(--line);
}

.acc-map {
  aspect-ratio: 16 / 10;
  background: var(--mint) radial-gradient(rgba(47,94,69,.28) 1.4px, transparent 1.8px) 0 0 / 12px 12px;
  overflow: hidden;
}

.acc-map iframe {
  width: 100%;
  height: 100%;
  border: 0;
  display: block;
  filter: grayscale(.9) contrast(.95);
  transition: filter .6s;
}

.acc:hover .acc-map iframe {
  filter: none;
}

.acc-b {
  padding: 28px 28px 32px;
  display: flex;
  flex-direction: column;
  gap: 12px;
  flex: 1;
}

.acc-no {
  display: flex;
  align-items: baseline;
  gap: 12px;
  font: 700 1.6rem/1 var(--f-serif);
  font-style: normal;
  color: var(--green-t);
}

.acc-no span {
  font: 700 .8rem/1 var(--f-sans);
  letter-spacing: .14em;
  color: var(--ink-2);
}

.acc h3 {
  font-family: var(--f-serif);
  font-weight: 800;
  font-size: 1.35rem;
  letter-spacing: .04em;
  line-height: 1.5;
}

.acc-tels li {
  padding: 8px 0;
  border-top: 1px solid var(--line);
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 4px;
}

.atel {
  display: inline-flex;
  align-items: center;
  min-height: 44px;
  font-family: var(--f-serif);
  font-weight: 800;
  font-size: 1.7rem;
  line-height: 1.2;
  letter-spacing: .03em;
  text-decoration: none;
  transition: color .3s;
}

.atel:hover {
  color: var(--green-2);
}

.acc-tels li > span {
  font-size: .84rem;
  color: var(--ink-2);
  line-height: 1.7;
}

.acc-dl {
  margin-top: auto;
  padding-top: 14px;
  border-top: 1px solid var(--line);
  display: grid;
  gap: 8px;
  font-size: .9rem;
}

.acc-dl > div {
  display: grid;
  grid-template-columns: 5.5em 1fr;
  gap: 10px;
}

.acc-dl dt {
  color: var(--ink-2);
  font-size: .8rem;
  letter-spacing: .1em;
  padding-top: .1em;
}

.acc-dl dd {
  font-weight: 700;
}

.maplink {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  margin-top: 4px;
  min-height: 44px;
  font-size: .88rem;
  font-weight: 700;
  color: var(--green);
  text-decoration: none;
  border-bottom: 1.5px solid currentColor;
  width: fit-content;
  padding-bottom: 2px;
}

.maplink .ar {
  width: 16px;
  height: 16px;
  transition: transform .4s var(--ease);
}

.maplink:hover .ar {
  transform: translate(3px,-3px);
}

@media (max-width: 1100px) {
  .acc-g {
    grid-template-columns: 1fr 1fr;
  }
}

@media (max-width: 780px) {
  .acc-g {
    grid-template-columns: 1fr;
  }
}
/* ══════════════════════════════════════════
   15-footer  フッター：お問い合わせ、電話番号、サイトマップ、右下の「トップへ」。
   ══════════════════════════════════════════ */

.hills-sep {
  background: var(--paper-2);
  line-height: 0;
  margin-top: -1px;
}

.hills-sep img {
  width: 100%;
  height: clamp(60px, 9vw, 120px);
  display: block;
}

.ftr {
  position: relative;
  background: var(--ink);
  color: var(--paper);
  overflow: hidden;
  padding-top: clamp(48px, 7vw, 90px);
}

.ftr-cta {
  max-width: calc(var(--max) + var(--pad) * 2);
  margin: 0 auto;
  padding-inline: var(--pad);
}

.ftr-cta .kicker {
  color: var(--sun);
}

.ftr-h {
  font-family: var(--f-serif);
  font-weight: 800;
  font-size: clamp(2.2rem, 6.2vw, 5.4rem);
  line-height: 1.3;
  letter-spacing: .04em;
  margin: 16px 0 36px;
}

.ring {
  position: absolute;
  right: var(--pad);
  top: 0;
  width: clamp(130px, 14vw, 190px);
  aspect-ratio: 1;
  display: grid;
  place-items: center;
  border-radius: 50%;
  color: var(--paper);
  text-decoration: none;
}

.ring .ring-t {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  animation: spin 26s linear infinite;
}

.ring-c {
  display: grid;
  place-items: center;
  width: 42%;
  aspect-ratio: 1;
  border-radius: 50%;
  background: var(--sun);
  color: var(--ink);
  transition: transform .5s var(--ease);
}

.ring-c .ar {
  width: 30%;
  height: 30%;
  transform: rotate(-45deg);
}

.ring:hover .ring-t {
  animation-play-state: paused;
}

.ring:hover .ring-c {
  transform: scale(1.12) rotate(45deg);
}

.ftr-cta {
  position: relative;
}

@media (max-width: 780px) {
  .ring {
    position: relative;
    right: auto;
    top: auto;
    margin: 0 0 20px;
    width: 120px;
  }
}

.ftr-btns {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
}

.ftr .btn-line {
  color: var(--paper);
}

.ftr .btn-line::before {
  background: var(--paper);
}

.ftr .btn-line:hover {
  color: var(--ink);
  border-color: var(--paper);
}

.ftr-copy {
  position: relative;
  text-align: center;
  font-size: .78rem;
  letter-spacing: .08em;
  padding: 18px var(--pad) 28px;
  color: rgba(247,241,227,.7);
  background: var(--ink);
}

@media (max-width: 780px) {
  .ftr-copy {
    padding-bottom: calc(28px + 92px + 60px + env(safe-area-inset-bottom, 0px));
  }
}

.ring-c {
  position: relative;
  overflow: hidden;
}

.ring-c img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.ring-c.has-img {
  background: transparent;
}

.ring-c.has-img .ar {
  display: none;
}

.ring:hover .ring-c.has-img {
  transform: scale(1.08) rotate(0deg);
}

.ring-c.has-img {
  width: 52%;
  border: 3px solid var(--paper);
}

.ftr-tel {
  margin-top: clamp(40px, 5vw, 72px);
}

.ftr-tel-k {
  font-size: .84rem;
  letter-spacing: .14em;
  color: rgba(247,241,227,.75);
  margin-bottom: 10px;
}

.ftr-tels {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  border-top: 1px solid rgba(247,241,227,.28);
}

.ftr-tels a {
  display: flex;
  flex-direction: column;
  gap: 4px;
  padding: 18px 16px 18px 0;
  text-decoration: none;
  height: 100%;
}

.ftr-tels li + li a {
  padding-left: 20px;
  border-left: 1px solid rgba(247,241,227,.2);
}

.ftr-tels small {
  font-size: .76rem;
  line-height: 1.6;
  color: rgba(247,241,227,.8);
}

.ftr-tels b {
  font-family: var(--f-serif);
  font-weight: 800;
  font-size: clamp(1.25rem, 1.9vw, 1.75rem);
  letter-spacing: .03em;
  transition: color .3s;
}

.ftr-tels a:hover b {
  color: var(--sun);
}

@media (max-width: 1100px) {
  .ftr-tels {
    grid-template-columns: 1fr 1fr;
  }

  .ftr-tels li:nth-child(3) a {
    padding-left: 0;
    border-left: 0;
  }

  .ftr-tels li:nth-child(n+3) a {
    border-top: 1px solid rgba(247,241,227,.2);
  }
}

@media (max-width: 780px) {
  .ftr-tels {
    grid-template-columns: 1fr;
  }

  .ftr-tels li + li a,
  .ftr-tels li:nth-child(3) a {
    padding-left: 0;
    border-left: 0;
    border-top: 1px solid rgba(247,241,227,.2);
  }
}

.fab {
  position: fixed;
  z-index: 99;
  right: clamp(16px, 2.4vw, 34px);
  bottom: clamp(18px, 2.4vw, 34px);
  display: grid;
  place-items: center;
  width: 58px;
  height: 58px;
  border-radius: 50%;
  background: var(--sun);
  color: var(--ink);
  border: 1.5px solid var(--ink);
  box-shadow: 0 12px 22px -12px rgba(29,43,35,.6);
  opacity: 0;
  visibility: hidden;
  transform: translateY(18px) scale(.9);
  transition: opacity .35s, transform .55s var(--ease), visibility 0s .35s, background .3s;
}

.fab.show {
  opacity: 1;
  visibility: visible;
  transform: none;
  transition-delay: 0s;
}

.fab:hover {
  background: #FFC45A;
  transform: translateY(-4px);
}

.fab .ar {
  width: 24px;
  height: 24px;
  transform: rotate(-90deg);
}

body.menu-open .fab,
body.sheet-open .fab {
  opacity: 0;
  visibility: hidden;
}

@media (max-width: 780px) {
  .fab {
    width: 50px;
    height: 50px;
    right: 16px;
    bottom: calc(12px + 66px + 14px + env(safe-area-inset-bottom, 0px));
  }
}

.ftr-map {
  max-width: calc(var(--max) + var(--pad) * 2);
  margin: clamp(56px, 8vw, 110px) auto 0;
  padding: clamp(36px, 5vw, 64px) var(--pad) 0;
  border-top: 1px solid rgba(247,241,227,.28);
}

.map-top {
  display: flex;
  align-items: baseline;
  flex-wrap: wrap;
  gap: 8px 24px;
  margin-bottom: clamp(28px, 4vw, 52px);
}

.ftr .map-top .kicker {
  color: var(--sun);
}

.map-title {
  font-family: var(--f-serif);
  font-weight: 800;
  font-size: clamp(1.6rem, 3vw, 2.4rem);
  letter-spacing: .06em;
  line-height: 1.3;
}

.map-cols {
  display: grid;
  grid-template-columns: 1fr 1.35fr 1.05fr 1fr;
  gap: clamp(24px, 3.4vw, 56px);
  align-items: start;
}

.map-g > summary {
  list-style: none;
  cursor: default;
}

.map-g > summary::-webkit-details-marker {
  display: none;
}

.map-h {
  display: flex;
  align-items: baseline;
  gap: 12px;
  padding-bottom: 14px;
  border-bottom: 1.5px solid var(--paper);
  pointer-events: none;
}

.map-n {
  font: 700 1.5rem/1 var(--f-serif);
  font-style: normal;
  color: var(--sun);
}

.map-t {
  font-family: var(--f-serif);
  font-weight: 800;
  font-size: clamp(1.05rem, 1.5vw, 1.3rem);
  letter-spacing: .05em;
  line-height: 1.5;
}

.map-g ul {
  display: block;
}

.mp-a {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  min-height: 48px;
  padding: 6px 4px;
  border-bottom: 1px solid rgba(247,241,227,.16);
  text-decoration: none;
  font-size: .98rem;
  font-weight: 500;
  line-height: 1.55;
  color: var(--paper);
  transition: color .3s, padding .45s var(--ease), background .3s;
}

.mp-a .ar {
  flex: none;
  width: 18px;
  height: 18px;
  opacity: 0;
  transform: translateX(-8px);
  transition: opacity .3s, transform .45s var(--ease);
}

.mp-a:hover,
.mp-a:focus-visible {
  color: var(--sun);
  padding-left: 12px;
  background: linear-gradient(90deg, rgba(242,169,59,.14), transparent);
}

.mp-a:hover .ar,
.mp-a:focus-visible .ar {
  opacity: 1;
  transform: none;
}

@media (max-width: 1100px) {
  .map-cols {
    grid-template-columns: 1fr 1fr;
    row-gap: 40px;
  }
}

@media (max-width: 780px) {
  .map-cols {
    grid-template-columns: 1fr;
    row-gap: 0;
  }

  .map-g {
    border-bottom: 1px solid rgba(247,241,227,.28);
  }

  .map-h {
    position: relative;
    pointer-events: auto;
    cursor: pointer;
    min-height: 60px;
    align-items: center;
    padding: 8px 4px;
    border-bottom: 0;
  }

  .map-h::after {
    content: "";
    margin-left: auto;
    width: 12px;
    height: 12px;
    border-right: 2px solid var(--paper);
    border-bottom: 2px solid var(--paper);
    transform: rotate(45deg) translateY(-3px);
    transition: transform .4s var(--ease);
  }

  .map-g[open] > .map-h::after {
    transform: rotate(-135deg) translateY(-3px);
  }

  .map-g[open] ul {
    padding-bottom: 12px;
  }

  .mp-a .ar {
    opacity: .55;
    transform: none;
  }
}

.map-t small {
  display: block;
  margin-top: 2px;
  font-family: var(--f-sans);
  font-weight: 500;
  font-size: .76em;
  letter-spacing: .08em;
  color: rgba(247,241,227,.78);
}

.map-t {
  word-break: keep-all;
  overflow-wrap: anywhere;
}

.ftr-map {
  padding-bottom: clamp(36px, 5vw, 64px);
}
/* ══════════════════════════════════════════
   16-page  下層ページ：事業の詳細・その他の事業・お知らせの各ページ。
   ══════════════════════════════════════════ */

.phero {
  position: relative;
  overflow: hidden;
  background: linear-gradient(180deg, #FBEFD6, #F7F1E3 80%);
  padding: calc(var(--hdr) + clamp(48px, 8vw, 110px)) 0 clamp(120px, 14vw, 200px);
}

.phero-bg {
  position: absolute;
  inset: 0;
  pointer-events: none;
}

.psun {
  position: absolute;
  right: 6vw;
  top: 14%;
  width: min(26vw, 340px);
  aspect-ratio: 1;
  border-radius: 50%;
  background: var(--sun);
}

.psun::after {
  content: "";
  position: absolute;
  inset: -9%;
  border-radius: 50%;
  border: 1.5px dashed rgba(229,143,26,.45);
}

.phero-bg img {
  position: absolute;
  left: 0;
  bottom: 0;
  width: 100%;
  height: clamp(110px, 16vw, 220px);
}

.phero-in {
  position: relative;
  z-index: 1;
}

.crumb {
  display: flex;
  gap: 10px;
  font-size: .85rem;
  letter-spacing: .08em;
  margin-bottom: 28px;
  color: var(--ink-2);
}

.crumb a {
  color: var(--green);
  font-weight: 700;
}

.phero-h {
  font-family: var(--f-serif);
  font-weight: 800;
  font-size: clamp(2.8rem, 9vw, 8rem);
  line-height: 1.15;
  letter-spacing: .04em;
}

.phero-en {
  font: italic 400 clamp(1.4rem, 2.6vw, 2.2rem)/1.2 var(--f-latin);
  color: var(--green-t);
  margin: 6px 0 20px;
}

.phero-lead {
  max-width: 32em;
}

.detail {
  display: grid;
  grid-template-columns: 270px minmax(0, 1fr);
  gap: clamp(32px, 6vw, 96px);
  align-items: start;
  padding-block: clamp(48px, 7vw, 96px) var(--sec);
}

.toc {
  position: sticky;
  top: calc(var(--hdr) + 16px);
  align-self: start;
  max-height: calc(100vh - var(--hdr) - 32px);
  overflow-y: auto;
}

.toc-c {
  font-weight: 700;
  font-size: .82rem;
  letter-spacing: .1em;
  margin: 22px 0 6px;
  padding-left: 14px;
  position: relative;
}

.toc-c:first-child {
  margin-top: 0;
}

.toc-c::before {
  content: "";
  position: absolute;
  left: 0;
  top: .5em;
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: var(--cat, var(--green-2));
}

.toc-c.c-soudan,
.cat.c-soudan,
.svc.c-soudan {
  --cat: #4F8A5E;
}

.toc-c.c-fukushi,
.cat.c-fukushi,
.svc.c-fukushi {
  --cat: #3F7DA0;
}

.toc-c.c-jido,
.cat.c-jido,
.svc.c-jido {
  --cat: #C9741C;
}

.toc-c.c-other,
.cat.c-other,
.svc.c-other {
  --cat: #B5566E;
}

.toc a {
  display: flex;
  gap: 12px;
  padding: 7px 0 7px 14px;
  text-decoration: none;
  font-size: .92rem;
  line-height: 1.5;
  border-left: 1.5px solid var(--line);
  transition: color .3s, border-color .3s, padding .4s var(--ease);
}

.toc a span {
  font: 700 1.05rem/1.4 var(--f-sans);
  font-style: normal;
  color: var(--ink-2);
}

.toc a:hover {
  padding-left: 20px;
}

.toc a.on {
  border-left-color: var(--ink);
  font-weight: 700;
  padding-left: 20px;
}

.cat {
  margin: clamp(56px, 8vw, 110px) 0 28px;
  padding-top: 28px;
  border-top: 1.5px solid var(--ink);
}

.cat:first-child {
  margin-top: 0;
}

.cat .kicker {
  color: var(--cat);
  font-family: var(--f-serif);
  font-style: normal;
  font-weight: 800;
  font-size: clamp(1.3rem, 2.2vw, 1.8rem);
  letter-spacing: .06em;
}

.cat-d {
  margin-top: 6px;
  color: var(--ink-2);
  max-width: 36em;
}

.svc {
  padding: clamp(28px, 4vw, 52px) 0 clamp(40px, 6vw, 72px);
  border-bottom: 1px solid var(--line);
}

.svc-h {
  display: flex;
  align-items: baseline;
  gap: clamp(14px, 2vw, 28px);
  margin-bottom: 20px;
}

.svc-no {
  font: 800 clamp(2.4rem, 5vw, 4.4rem)/1 var(--f-serif);
  font-style: normal;
  color: var(--cat);
}

.svc-h h3 {
  font-family: var(--f-serif);
  font-weight: 800;
  font-size: clamp(1.7rem, 3.6vw, 3rem);
  line-height: 1.35;
  letter-spacing: .04em;
}

.spec {
  display: grid;
  grid-template-columns: 11em minmax(0, 1fr);
  gap: 8px 32px;
  padding: 24px 0;
  border-top: 1px solid var(--line);
}

.spec-t {
  font-size: .88rem;
  font-weight: 700;
  letter-spacing: .1em;
  color: var(--cat);
  padding-top: .35em;
}

.spec-b p {
  margin-bottom: .6em;
}

.spec-b p:last-child {
  margin-bottom: 0;
}

.hours-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 0 32px;
}

.hours-item {
  padding: 10px 0;
  border-bottom: 1px dotted var(--line);
}

.hours-label {
  font-size: .78rem;
  color: var(--ink-2);
  letter-spacing: .1em;
}

.hours-value {
  font-weight: 700;
}

.hours-value p {
  font-weight: 500;
  font-size: .86rem;
  color: var(--ink-2);
  margin: 4px 0 0;
  line-height: 1.7;
}

.hours-value a {
  color: var(--green);
  font-family: var(--f-serif);
  font-weight: 800;
  font-size: 1.2rem;
  letter-spacing: .03em;
}

.pamphlet-btn {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  padding: 12px 26px;
  border-radius: 999px;
  border: 1.5px solid var(--ink);
  text-decoration: none;
  font-weight: 700;
  transition: background .3s, color .3s;
}

.pamphlet-btn:hover {
  background: var(--hv);
  color: var(--ink);
}

.accordion-trigger {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  width: 100%;
  padding: 14px 0;
  border-bottom: 1.5px solid var(--ink);
  font-weight: 700;
  text-align: left;
}

.accordion-trigger .arrow {
  display: inline-block;
  transition: transform .4s var(--ease);
  font-size: .8rem;
}

.accordion-trigger .arrow.open {
  transform: rotate(180deg);
}

.accordion-body {
  max-height: 0;
  overflow: hidden;
  transition: max-height .6s var(--ease);
}

.accordion-body.open {
  max-height: 6000px;
}

.bonus-item {
  padding: 18px 0 18px 22px;
  border-bottom: 1px dotted var(--line);
  position: relative;
}

.bonus-item::before {
  content: "";
  position: absolute;
  left: 0;
  top: 1.65em;
  width: 9px;
  height: 9px;
  border-radius: 50%;
  background: var(--sun);
}

.bonus-title {
  font-weight: 800;
  margin-bottom: 4px;
}

.bonus-item p {
  font-size: .9rem;
  color: var(--ink-2);
  line-height: 1.9;
}

.bonus-item .training {
  font-size: .8rem;
  font-weight: 700;
  color: var(--ink);
}

/* 「研修名：○○」のような、小さな補足の行 */
.training-note {
  margin-top: 8px;
  font-weight: 700;
}

@media (max-width: 1100px) {
  .detail {
    grid-template-columns: 1fr;
  }

  .toc {
    position: sticky;
    top: var(--hdr);
    z-index: 20;
    max-height: none;
    margin-inline: calc(var(--pad) * -1);
    padding: 8px var(--pad);
    background: rgba(247,241,227,.94);
    backdrop-filter: blur(8px);
    -webkit-backdrop-filter: blur(8px);
    border-bottom: 1px solid var(--line);
    overflow-x: auto;
    overflow-y: hidden;
  }

  .toc-in {
    display: flex;
    gap: 8px;
    align-items: center;
    width: max-content;
  }

  .toc ol {
    display: flex;
    gap: 6px;
  }

  .toc-c {
    display: none;
  }

  .toc a {
    border: 1px solid var(--line);
    border-radius: 999px;
    padding: 6px 14px;
    white-space: nowrap;
    font-size: .85rem;
  }

  .toc a:hover {
    padding-left: 14px;
    background: var(--hv);
    color: var(--ink);
    border-color: var(--ink);
  }

  .toc a.on {
    padding-left: 14px;
    background: var(--ink);
    color: var(--paper);
    border-color: var(--ink);
  }

  .toc a.on span {
    color: var(--sun);
  }

  .svc,
  .cat {
    scroll-margin-top: calc(var(--hdr) + 60px);
  }
}

@media (max-width: 780px) {
  .spec {
    grid-template-columns: 1fr;
    gap: 4px;
  }

  .hours-grid {
    grid-template-columns: 1fr;
  }

  .psun {
    width: 38vw;
    top: 10%;
    right: 5vw;
  }
}

.svc-ph {
  margin: 4px 0 8px;
  border-radius: 22px;
}
/* ══════════════════════════════════════════
   17-tabbar  スマホの下部バーと、電話番号の一覧。
   ══════════════════════════════════════════ */

.tabbar,
.sheet {
  display: none;
}

@media (max-width: 780px) {
  .tabbar {
    display: grid;
    grid-template-columns: repeat(5, 1fr);
    align-items: end;
    position: fixed;
    z-index: 100;
    left: 12px;
    right: 12px;
    bottom: calc(12px + env(safe-area-inset-bottom, 0px));
    height: 66px;
    background: rgba(247,241,227,.92);
    -webkit-backdrop-filter: blur(14px);
    backdrop-filter: blur(14px);
    border: 1.5px solid var(--ink);
    border-radius: 26px;
    box-shadow: 0 14px 28px -12px rgba(29,43,35,.5);
    transition: transform .5s var(--ease);
  }

  body.menu-open .tabbar,
  body.sheet-open .tabbar {
    transform: translateY(160%);
  }

  .tb {
    position: relative;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 4px;
    height: 100%;
    min-height: 44px;
    padding-top: 2px;
    color: var(--ink-2);
    text-decoration: none;
    font: 700 .7rem/1 var(--f-sans);
    letter-spacing: .04em;
    -webkit-tap-highlight-color: transparent;
    transition: color .3s, transform .3s var(--ease);
  }

  .tb img {
    width: 24px;
    height: 24px;
    opacity: .78;
    transition: transform .4s var(--ease);
  }

  .tb:active {
    transform: scale(.9);
  }

  .tb.on {
    color: var(--ink);
  }

  .tb.on img {
    opacity: 1;
    transform: translateY(-2px);
  }

  .tb.on::before {
    content: "";
    position: absolute;
    top: 7px;
    width: 5px;
    height: 5px;
    border-radius: 50%;
    background: var(--sun-2);
  }

  .tb.on img {
    margin-top: 6px;
  }

  .tb-call {
    color: var(--ink);
  }

  .tb-c {
    display: grid;
    place-items: center;
    width: 56px;
    height: 56px;
    margin-top: -26px;
    border-radius: 50%;
    background: var(--sun);
    color: var(--ink);
    border: 1.5px solid var(--ink);
    box-shadow: 0 8px 16px -8px rgba(29,43,35,.6);
    transition: transform .4s var(--ease);
    font-style: normal;
  }

  .tb-c img {
    width: 26px;
    height: 26px;
    opacity: 1;
  }

  .tb-call:active .tb-c {
    transform: scale(.92);
  }

  .sheet {
    display: block;
    position: fixed;
    inset: 0;
    z-index: 130;
    visibility: hidden;
    pointer-events: none;
    transition: visibility 0s .5s;
  }

  .sheet.open {
    visibility: visible;
    pointer-events: auto;
    transition: visibility 0s;
  }

  .sheet-bg {
    position: absolute;
    inset: 0;
    background: rgba(29,43,35,.55);
    opacity: 0;
    transition: opacity .45s;
  }

  .sheet.open .sheet-bg {
    opacity: 1;
  }

  .sheet-p {
    position: absolute;
    left: 0;
    right: 0;
    bottom: 0;
    max-height: 88vh;
    overflow-y: auto;
    overscroll-behavior: contain;
    background: var(--paper);
    border-radius: 28px 28px 0 0;
    padding: 22px var(--pad) calc(24px + env(safe-area-inset-bottom, 0px));
    transform: translateY(102%);
    transition: transform .55s var(--ease);
    box-shadow: 0 -20px 40px -20px rgba(29,43,35,.4);
  }

  .sheet.open .sheet-p {
    transform: none;
  }

  .sheet-grab {
    display: block;
    width: 44px;
    height: 5px;
    border-radius: 3px;
    background: var(--line);
    margin: -8px auto 14px;
  }

  .sheet-x {
    position: absolute;
    right: 14px;
    top: 14px;
    display: grid;
    place-items: center;
    width: 44px;
    height: 44px;
    border-radius: 50%;
    border: 1.5px solid var(--ink);
  }

  .sheet-x img {
    width: 20px;
    height: 20px;
  }

  .sheet-p h2 {
    font-family: var(--f-serif);
    font-weight: 800;
    font-size: 1.7rem;
    letter-spacing: .05em;
    line-height: 1.3;
    margin: 10px 0 6px;
  }

  .sheet-s {
    font-size: .9rem;
    color: var(--ink-2);
    margin-bottom: 14px;
  }

  .sh-l {
    border-top: 1.5px solid var(--ink);
  }

  .sh-row {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 14px;
    min-height: 76px;
    padding: 12px 4px;
    border-bottom: 1px solid var(--line);
    text-decoration: none;
  }

  .sh-row:active {
    background: var(--paper-2);
  }

  .sh-t {
    display: flex;
    flex-direction: column;
    gap: 3px;
    min-width: 0;
  }

  .sh-t small {
    font-size: .8rem;
    font-weight: 700;
    color: var(--ink-2);
    line-height: 1.5;
  }

  .sh-t b {
    font-family: var(--f-serif);
    font-weight: 800;
    font-size: 1.7rem;
    letter-spacing: .03em;
    line-height: 1.2;
  }

  .sh-t em {
    font-style: normal;
    font-size: .76rem;
    color: var(--ink-2);
  }

  .sh-i {
    flex: none;
    display: grid;
    place-items: center;
    width: 48px;
    height: 48px;
    border-radius: 50%;
    background: var(--sun);
    border: 1.5px solid var(--ink);
  }

  .sh-i img {
    width: 22px;
    height: 22px;
  }

  .sheet-close {
    width: 100%;
    justify-content: center;
    margin-top: 20px;
  }
}

@media (prefers-reduced-motion: reduce) {
  .tabbar,
  .sheet-p,
  .sheet-bg {
    transition-duration: 1ms !important;
  }
}

/* ══════════════════════════════════════════
   18-crowdfunding  クラウドファンディングのウィンドウ（お知らせのリンクから開く）
   ══════════════════════════════════════════ */

body.cf-open {
  overflow: hidden;
}

.cf-dlg {
  width: min(880px, calc(100% - 32px));
  max-height: calc(100dvh - 48px);
  margin: auto;
  padding: 0;
  border: 1.5px solid var(--ink);
  border-radius: 28px;
  background: var(--paper);
  color: var(--ink);
  box-shadow: 0 30px 60px -30px rgba(29,43,35,.6);
  overflow-y: auto;
  overscroll-behavior: contain;
}

.cf-dlg::backdrop {
  background: rgba(29,43,35,.55);
}

.cf-dlg[open] {
  animation: cf-in .45s var(--ease);
}

@keyframes cf-in {
  from { opacity: 0; transform: translateY(24px); }
}

.cf-p {
  position: relative;
  padding: clamp(28px, 5vw, 56px);
}

.cf-x {
  position: sticky;
  top: 0;
  float: right;
  display: grid;
  place-items: center;
  width: 44px;
  height: 44px;
  margin: -8px -8px 0 12px;
  border-radius: 50%;
  border: 1.5px solid var(--ink);
  background: var(--paper);
  z-index: 1;
}

.cf-x img {
  width: 20px;
  height: 20px;
}

.cf-p h2 {
  font-family: var(--f-serif);
  font-weight: 800;
  font-size: clamp(1.6rem, 3.6vw, 2.4rem);
  line-height: 1.3;
  margin: 8px 0 24px;
}

.cf-intro {
  padding: 24px clamp(18px, 3vw, 32px);
  border-radius: 20px;
  background: var(--paper-2);
  line-height: 1.9;
}

.cf-intro h3 {
  font-family: var(--f-serif);
  font-size: 1.15rem;
  margin: 0 0 6px;
}

.cf-intro h3 + p {
  margin-top: 0;
}

.cf-intro p + h3 {
  margin-top: 22px;
}

.cf-intro p {
  margin: 4px 0;
}

.cf-lh {
  font-family: var(--f-serif);
  font-size: clamp(1.3rem, 2.6vw, 1.7rem);
  margin: 40px 0 8px;
  padding-bottom: 10px;
  border-bottom: 1.5px solid var(--ink);
}

.cf-g {
  padding: 24px 0;
  border-bottom: 1px solid var(--line);
}

.cf-amt {
  display: flex;
  align-items: center;
  gap: 12px;
  margin: 0;
  font-family: var(--f-serif);
  font-size: 1.35rem;
}

.cf-amt img {
  width: 56px;
  height: auto;
}

.cf-note {
  margin: 8px 0 14px;
  font-size: .85rem;
  color: var(--ink-2);
  line-height: 1.7;
}

.cf-names {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin: 0;
  padding: 0;
  list-style: none;
}

.cf-names li {
  padding: 6px 14px;
  border-radius: 999px;
  background: var(--cream);
  border: 1px solid var(--line);
  font-size: .92rem;
  line-height: 1.5;
}

.cf-close {
  display: flex;
  width: fit-content;
  margin: 32px auto 0;
}

@media (max-width: 780px) {
  .cf-dlg {
    width: 100%;
    max-width: none;
    max-height: 92dvh;
    margin: auto 0 0;
    border-radius: 28px 28px 0 0;
    border-width: 1.5px 0 0;
  }

  .cf-names li {
    font-size: .86rem;
    padding: 5px 12px;
  }
}

@media (prefers-reduced-motion: reduce) {
  .cf-dlg[open] {
    animation: none;
  }
}
