/* 社会福祉法人 つむぎ野会 採用サイト（デモ）
   書体: 見出し Yusei Magic／本文 Zen Maru Gothic
   色: 若葉 #8BC34A・桃 #F8BBD0・白。文字は濃い緑 #2E4A1E */

:root {
  --ink: #2E4A1E;
  --ink-soft: #4d6340;
  --leaf: #8BC34A;
  --leaf-deep: #5B8A27;
  --leaf-pale: #EEF6E4;
  --peach: #F8BBD0;
  --peach-deep: #E995B2;
  --pink-pale: #FDEEF3;
  --paper: #FFFFFF;
  --rule: #DCE8CF;
  --hand: "Yusei Magic", "Zen Maru Gothic", sans-serif;
  --body: "Zen Maru Gothic", "Hiragino Maru Gothic ProN", "Yu Gothic", sans-serif;
  --wrap: 1120px;
  --head-h: 76px;
}

*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-padding-top: calc(var(--head-h) + 12px); }
body {
  margin: 0;
  font-family: var(--body);
  font-size: 16px;
  line-height: 1.95;
  color: var(--ink);
  background: var(--paper);
  font-feature-settings: "palt" 0;
  overflow-wrap: anywhere;
  line-break: strict;
}
img { display: block; max-width: 100%; height: auto; }
a { color: inherit; }
p { margin: 0 0 1em; }
h1, h2, h3 { margin: 0; font-weight: 400; line-height: 1.5; }
ul, ol { margin: 0; padding: 0; list-style: none; }
.sprite { position: absolute; width: 0; height: 0; overflow: hidden; }
.wrap { width: min(100% - 40px, var(--wrap)); margin-inline: auto; }
.sr { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }
.nb { display: inline-block; }

/* ---------- ヘッダー ---------- */
.head {
  position: sticky; top: 0; z-index: 50;
  background: rgba(255,255,255,.97);
  border-bottom: 1px solid var(--rule);
}
.head__in {
  width: min(100% - 32px, 1280px); margin-inline: auto;
  height: var(--head-h);
  display: flex; align-items: center; gap: 18px;
}
.brand { display: flex; align-items: center; text-decoration: none; flex: none; }
.logo { display: block; height: 50px; width: auto; overflow: visible; }
.logo__mark .spool { fill: none; stroke: var(--leaf); stroke-width: 2.2; stroke-linecap: round; stroke-linejoin: round; }
.logo__mark .spool-in { fill: var(--leaf-pale); }
.logo__mark .wind { fill: none; stroke: var(--leaf); stroke-width: 1.6; stroke-linecap: round; }
.logo__mark .yarn { fill: none; stroke: var(--leaf-deep); stroke-width: 3; stroke-linecap: round; stroke-linejoin: round; }
.logo__pre { font-family: var(--body); font-weight: 700; font-size: 10.5px; fill: var(--ink-soft); letter-spacing: .12em; }
.logo__name { font-family: var(--hand); font-size: 25px; fill: var(--ink); }
.logo__sub { font-family: var(--body); font-weight: 700; font-size: 10.5px; fill: var(--ink); letter-spacing: .08em; }
.logo__subbg { fill: var(--pink-pale); stroke: var(--peach); stroke-width: 1; }
.demo {
  font: 700 10px/1 var(--body); letter-spacing: .12em; color: #7c8b72;
  border: 1px solid #c9d6bd; padding: 3px 5px 2px; margin-left: -6px; flex: none;
}
.gnav { margin-left: auto; display: flex; align-items: center; gap: 6px; }
.gnav ul { display: flex; gap: 2px; }
.gnav li a {
  display: block; position: relative; padding: 8px 11px; text-decoration: none;
  font-weight: 700; font-size: 14.5px; letter-spacing: .02em; line-height: 1.4;
}
.gnav li a::after {
  content: ""; position: absolute; left: 11px; right: 11px; bottom: 1px; height: 6px;
  background: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 60 6' preserveAspectRatio='none'%3E%3Cpath d='M1 4C10 1.5 18 5 28 3.2S48 1.4 59 3.6' fill='none' stroke='%238BC34A' stroke-width='2.2' stroke-linecap='round'/%3E%3C/svg%3E") center/100% 100% no-repeat;
  transform: scaleX(0); transform-origin: left; transition: transform .3s ease;
}
.gnav li a:hover::after, .gnav li a[aria-current="page"]::after { transform: scaleX(1); }
.gnav li a[aria-current="page"] { color: var(--leaf-deep); }
.btn-entry {
  display: inline-flex; align-items: center; justify-content: center; flex: none;
  min-height: 46px; padding: 0 20px; background: var(--peach); color: var(--ink);
  font-weight: 700; font-size: 15px; text-decoration: none; letter-spacing: .06em;
  border: 2px solid var(--peach); transition: background .2s;
}
.btn-entry:hover { background: #fff; }
.gnav .gnav__btn { display: none; }
.menu {
  display: none; margin-left: auto; width: 52px; height: 52px; padding: 0;
  border: 0; background: none; color: var(--ink); cursor: pointer; font: inherit;
}
.menu__bars, .menu__bars::before, .menu__bars::after {
  display: block; width: 24px; height: 2px; background: currentColor; margin-inline: auto; position: relative;
  transition: transform .25s, opacity .25s;
}
.menu__bars::before, .menu__bars::after { content: ""; position: absolute; left: 0; }
.menu__bars::before { top: -7px; }
.menu__bars::after { top: 7px; }
.menu__label { display: block; font-size: 10px; font-weight: 700; letter-spacing: .1em; margin-top: 10px; line-height: 1; }

@media (max-width: 1100px) {
  .gnav li a { padding: 8px 8px; font-size: 13.5px; }
  .gnav li a::after { left: 8px; right: 8px; }
}
@media (max-width: 980px) {
  :root { --head-h: 64px; }
  .logo { height: 42px; }
  .menu { display: block; }
  .head__in > .btn-entry { margin-left: auto; min-height: 42px; padding: 0 12px; font-size: 14px; }
  .menu { margin-left: 4px; }
  .gnav {
    position: fixed; left: 0; right: 0; top: var(--head-h); bottom: 0;
    background: #fff; flex-direction: column; align-items: stretch; gap: 0;
    padding: 12px 24px 40px; margin: 0; overflow-y: auto;
    opacity: 0; visibility: hidden; transform: translateY(-8px);
    transition: opacity .25s, transform .25s, visibility .25s;
  }
  .gnav ul { flex-direction: column; gap: 0; }
  .gnav li a { padding: 16px 4px; font-size: 17px; border-bottom: 1px dashed var(--rule); }
  .gnav li a::after { left: 4px; right: auto; width: 120px; bottom: 8px; }
  .gnav .gnav__btn { display: flex; margin-top: 24px; min-height: 54px; }
  .is-menu .gnav { opacity: 1; visibility: visible; transform: none; }
  .is-menu .menu__bars { background: transparent; }
  .is-menu .menu__bars::before { transform: translateY(7px) rotate(45deg); }
  .is-menu .menu__bars::after { transform: translateY(-7px) rotate(-45deg); }
}
@media (max-width: 400px) {
  .logo { height: 36px; }
  .demo { font-size: 9px; padding: 2px 4px; margin-left: -8px; }
  .head__in { gap: 12px; width: calc(100% - 20px); }
  .head__in > .btn-entry { padding: 0 9px; font-size: 13px; letter-spacing: .02em; }
  .menu { width: 44px; }
}

/* ---------- ボタン ---------- */
.btn {
  display: inline-flex; align-items: center; gap: 12px; justify-content: center;
  min-height: 54px; padding: 0 26px; text-decoration: none;
  font-weight: 700; font-size: 16px; letter-spacing: .04em; line-height: 1.4;
  border: 2px solid var(--leaf); background: #fff; color: var(--ink);
  transition: background .2s, color .2s, border-color .2s;
}
.btn:hover { background: var(--leaf-pale); }
.btn--pink { background: var(--peach); border-color: var(--peach); }
.btn--pink:hover { background: #fff; }
.btn--white { background: #fff; border-color: #fff; color: var(--ink); }
.btn--white:hover { background: var(--pink-pale); }
.btn--ghost { background: transparent; border-color: #fff; color: #fff; }
.btn--ghost:hover { background: rgba(255,255,255,.12); }
.btn .arw { display: inline-block; transition: transform .2s; }
.btn:hover .arw { transform: translateX(4px); }
.more { margin-top: 28px; }
.more--r { text-align: right; }
.textlink {
  font-weight: 700; text-decoration: none; border-bottom: 2px solid var(--leaf); padding-bottom: 2px;
}
.textlink:hover { color: var(--leaf-deep); }

/* ---------- 見出しと手書きの線 ---------- */
.sec { padding: 96px 0; }
.sec--tight { padding: 56px 0; }
.sec--pink { background: var(--pink-pale); }
.sec--leafpale { background: var(--leaf-pale); }
.ttl {
  font-family: var(--hand); font-size: clamp(27px, 3.4vw, 38px); letter-spacing: .04em;
  display: inline-block; position: relative; padding-bottom: 14px; margin-bottom: 28px;
}
.ttl { justify-self: start; width: fit-content; max-width: 100%; }
.ttl--s { font-size: clamp(22px, 2.6vw, 28px); margin-bottom: 20px; }
.ttl .pen {
  position: absolute; left: -4px; right: -4px; bottom: 0; height: 12px; width: calc(100% + 8px);
  overflow: visible;
}
.pen path { fill: none; stroke: var(--leaf); stroke-width: 3; stroke-linecap: round; }
.lead { font-size: 17px; }
.small { font-size: 14px; color: var(--ink-soft); }

/* ---------- 付せん（角を丸めない四角・右上だけ折る） ---------- */
.fusen {
  position: relative; background: var(--pink-pale);
  clip-path: polygon(0 0, calc(100% - 22px) 0, 100% 22px, 100% 100%, 0 100%);
  padding: 22px 24px 24px;
}
.fusen::after {
  content: ""; position: absolute; top: 0; right: 0; width: 22px; height: 22px;
  background: linear-gradient(225deg, transparent 50%, var(--peach) 50%);
}
.fusen-wrap { filter: drop-shadow(0 3px 0 rgba(46,74,30,.08)); }

/* ---------- 最初の画面（写真6枚のタイル） ---------- */
.hero { position: relative; padding: 6px 0 0; }
.tiles {
  display: grid; gap: 6px; background: #fff;
  grid-template-columns: 1fr 1.36fr 1fr;
  grid-template-rows: repeat(2, clamp(250px, calc((100svh - var(--head-h) - 18px) / 2), 400px));
  grid-template-areas: "tea c walk" "meal c note";
}
.tile { margin: 0; overflow: hidden; position: relative; background: var(--leaf-pale); }
.tile img { width: 100%; height: 100%; object-fit: cover; }
.tile--tea { grid-area: tea; }
.tile--meal { grid-area: meal; }
.tile--walk { grid-area: walk; }
.tile--note { grid-area: note; }
.tile--tea img { object-position: 50% 60%; }
.tile--walk img { object-position: 50% 70%; }
.hero__c {
  grid-area: c; position: relative; background: #fff;
  display: flex; flex-direction: column; justify-content: center; align-items: flex-start;
  padding: 40px clamp(28px, 3.4vw, 56px);
}
.mini { position: absolute; margin: 0; width: clamp(110px, 11vw, 158px); aspect-ratio: 1; overflow: hidden; }
.mini img { width: 100%; height: 100%; object-fit: cover; }
.mini--laundry { top: 22px; left: 26px; }
.mini--training { bottom: 22px; right: 26px; }
.hero__title {
  font-family: var(--hand); font-size: clamp(30px, 2.95vw, 43px); line-height: 1.55; letter-spacing: .03em;
  margin: 70px 0 18px;
}
.hero__title span { display: block; }
.hero__title .mk { display: inline; position: relative; white-space: nowrap; }
.hero__title .mk svg { position: absolute; left: -2px; right: -2px; bottom: -4px; width: calc(100% + 4px); height: 12px; overflow: visible; }
.hero__lead { font-size: 15.5px; max-width: 30em; margin-bottom: 22px; }
.hero__btns { display: flex; flex-wrap: wrap; gap: 10px 12px; margin-bottom: 64px; }
.hero__btns .btn { min-height: 50px; padding: 0 20px; font-size: 15px; }
.tag-visit {
  position: absolute; right: clamp(20px, 4vw, 56px); bottom: -26px; z-index: 3;
  display: block; text-decoration: none; transform: rotate(-3deg);
}
.tag-visit .fusen-wrap, .tag-visit .fusen { display: block; }
.tag-visit .fusen { background: var(--peach); padding: 14px 40px 14px 20px; line-height: 1.5; }
.tag-visit .fusen::after { background: linear-gradient(225deg, transparent 50%, var(--peach-deep) 50%); }
.tag-visit b { font-family: var(--hand); font-weight: 400; font-size: 20px; display: block; }
.tag-visit .fusen > span { font-size: 14px; font-weight: 700; }
.tag-visit:hover .fusen { background: #fbd0de; }

@media (max-width: 900px) {
  .tiles {
    grid-template-columns: 1fr 1fr;
    grid-template-rows: 46vw auto 46vw;
    grid-template-areas: "tea walk" "c c" "meal note";
  }
  .hero__c { padding: 26px 20px 28px; }
  .mini { position: static; width: 100%; aspect-ratio: auto; height: 100%; }
  .hero__c { display: grid; grid-template-columns: 1fr 96px; grid-template-areas: "t m1" "t m2" "l l" "b b"; column-gap: 14px; row-gap: 8px; align-items: stretch; }
  .hero__title { grid-area: t; margin: 0; font-size: clamp(25px, 6.6vw, 40px); align-self: center; }
  .mini--laundry { grid-area: m1; height: 96px; }
  .mini--training { grid-area: m2; height: 96px; }
  .hero__lead { grid-area: l; margin: 10px 0 6px; font-size: 15px; }
  .hero__btns { grid-area: b; margin-bottom: 0; }
  .hero__btns .btn { flex: 1 1 100%; }
  .tag-visit { bottom: -22px; right: 16px; }
}
@media (min-width: 600px) and (max-width: 900px) {
  .tiles { grid-template-rows: 34vw auto 34vw; }
  .hero__c { grid-template-columns: 1fr 140px; padding: 34px 36px 36px; }
  .mini--laundry, .mini--training { height: 120px; }
  .hero__btns .btn { flex: 0 1 auto; }
}

/* ---------- お知らせ（細い帯） ---------- */
.news { padding: 64px 0 40px; }
.news__in { display: grid; grid-template-columns: 150px 1fr; gap: 10px 32px; align-items: start; border-top: 2px solid var(--ink); border-bottom: 1px solid var(--rule); padding: 20px 0 12px; }
.news__h { font-family: var(--hand); font-size: 22px; line-height: 1.6; }
.news__list li { display: grid; grid-template-columns: 7.4em 1fr; gap: 0 18px; padding: 8px 0; border-bottom: 1px dashed var(--rule); font-size: 15px; line-height: 1.75; }
.news__list li:last-child { border-bottom: 0; }
.news__list time { font-weight: 700; color: var(--leaf-deep); letter-spacing: .04em; }
.news__more { grid-column: 2; text-align: right; font-size: 14px; padding-top: 4px; }
@media (max-width: 700px) {
  .news__in { grid-template-columns: 1fr; }
  .news__list li { grid-template-columns: 1fr; }
  .news__more { grid-column: 1; }
}

/* ---------- 資格のこと ---------- */
.shikaku__top { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1.3fr); gap: 20px 56px; align-items: end; margin-bottom: 26px; }
.shikaku__top .ttl { margin-bottom: 0; }
.shikaku__top p { margin: 0; }
.afterfig { max-width: 46em; margin-top: 30px; }
@media (max-width: 760px) { .shikaku__top { grid-template-columns: 1fr; } }

/* ---------- 図: 資格の道のり（1本の糸と結び目） ---------- */
.dg { margin: 0; }
.road-box { background: #fff; border: 1px solid var(--rule); padding: 30px clamp(16px, 3vw, 40px) 22px; position: relative; }
.road { position: relative; }
.road__ol { display: grid; grid-template-columns: repeat(5, 1fr); grid-template-rows: 110px 44px 110px; }
.road__thread {
  position: absolute; left: 0; right: 0; top: 110px; height: 44px; width: 100%; overflow: visible;
  transform-origin: left center;
}
.road__thread path, .road__thread--v path { fill: none; stroke: var(--leaf); stroke-width: 3.2; stroke-linecap: round; }
.road__thread--v { display: none; }
.road li { position: relative; grid-row: 1 / 4; display: grid; grid-template-rows: 110px 44px 110px; justify-items: center; text-align: center; }
.knot { grid-row: 2; align-self: center; width: 22px; height: 22px; border-radius: 50%; background: var(--peach); border: 3px solid #fff; box-shadow: 0 0 0 2px var(--peach-deep); position: relative; z-index: 1; }
.road__txt { line-height: 1.55; font-size: 14.5px; padding: 0 4px; }
.road__txt b { display: block; font-size: 16px; }
.road__txt small { display: block; font-size: 13.5px; color: var(--ink-soft); }
.road li.up .road__txt { grid-row: 1; align-self: end; padding-bottom: 6px; }
.road li.dn .road__txt { grid-row: 3; align-self: start; padding-top: 6px; }
.road li.goal .knot { width: 38px; height: 38px; background: var(--peach-deep); box-shadow: 0 0 0 2px var(--peach-deep); }
.road li.goal b { font-family: var(--hand); font-weight: 400; font-size: 19px; }
.road li.dn::before, .road li.up::before { content: ""; position: absolute; left: 50%; width: 0; border-left: 1.5px dashed var(--leaf); }
.road li.up::before { top: 96px; height: 26px; }
.road li.dn::before { top: 142px; height: 22px; }
.road li.goal::before { display: none; }
.dg__note { font-size: 13.5px; color: var(--ink-soft); margin: 14px 0 0; text-align: center; }
.road-box--l .road__ol { grid-template-rows: 130px 50px 130px; }
.road-box--l .road li { grid-template-rows: 130px 50px 130px; }
.road-box--l .road__thread { top: 130px; height: 50px; }
.road-box--l .road li.up::before { top: 114px; height: 30px; }
.road-box--l .road li.dn::before { top: 166px; height: 26px; }
.road-box--l .road__txt { font-size: 15.5px; }
.road-box--l .road__txt b { font-size: 17.5px; }
@media (max-width: 760px) {
  .road__ol, .road-box--l .road__ol { grid-template-columns: 1fr; grid-template-rows: none; padding-left: 0; }
  .road__thread { display: none; }
  .road__thread--v { display: block; position: absolute; left: 0; top: 10px; bottom: 10px; width: 40px; height: calc(100% - 20px); transform-origin: center top; }
  .road li, .road-box--l .road li { grid-row: auto; grid-template-rows: none; grid-template-columns: 40px 1fr; justify-items: start; text-align: left; padding: 12px 0; align-items: center; }
  .knot { grid-row: 1; grid-column: 1; justify-self: center; }
  .road li.up .road__txt, .road li.dn .road__txt { grid-row: 1; grid-column: 2; align-self: center; padding: 0 0 0 12px; }
  .road li.dn .road__txt { padding-left: 28px; }
  .road li::before { display: none; }
  .road li.goal .knot { width: 32px; height: 32px; }
}

/* ---------- 図: 日勤の1日（時間の線と付せん） ---------- */
.day-fig { position: relative; }
.day { position: relative; display: grid; grid-template-columns: repeat(9, minmax(0, 1fr)); grid-template-rows: auto 40px auto; }
.day::before { content: ""; grid-row: 2; grid-column: 1 / -1; align-self: center; height: 3px; background: var(--leaf); transform-origin: left; border-radius: 2px; }
.day li { grid-row: 1; display: flex; flex-direction: column; justify-content: flex-end; position: relative; padding-bottom: 8px; }
.day li:nth-child(1) { grid-column: 1; }
.day li:nth-child(2) { grid-column: 2; }
.day li:nth-child(3) { grid-column: 3; }
.day li:nth-child(4) { grid-column: 4; }
.day li:nth-child(5) { grid-column: 5; }
.day li:nth-child(6) { grid-column: 6; }
.day li:nth-child(7) { grid-column: 7; }
.day li:nth-child(8) { grid-column: 8; }
.day li:nth-child(9) { grid-column: 9; }
.day li:nth-child(even) { grid-row: 3; justify-content: flex-start; padding: 8px 0 0; }
.day li::after { content: ""; position: absolute; left: calc(50% - 7px); width: 14px; height: 14px; border-radius: 50%; background: #fff; border: 3px solid var(--leaf); }
.day li:nth-child(odd)::after { bottom: -27px; }
.day li:nth-child(even)::after { top: -27px; }
.day__note { width: 210px; margin-left: calc(50% - 105px); padding: 12px 14px 14px; font-size: 14px; line-height: 1.6; background: #fff; }
.day__note.fusen { clip-path: polygon(0 0, calc(100% - 14px) 0, 100% 14px, 100% 100%, 0 100%); }
.day__note.fusen::after { width: 14px; height: 14px; }
.day li:first-child .day__note { margin-left: 0; }
.day li:last-child .day__note { margin-left: auto; margin-right: 0; width: 150px; }
.day li:nth-last-child(2) .day__note { width: 190px; margin-left: calc(50% - 95px); }
.day time { display: block; font-weight: 700; font-size: 19px; color: var(--leaf-deep); letter-spacing: .03em; line-height: 1.3; margin-bottom: 4px; }
.day__note { background: var(--pink-pale); }
.sec--pink .day__note { background: #fff; }
@media (max-width: 1100px) and (min-width: 901px) {
  .day__note { width: 170px; margin-left: calc(50% - 85px); font-size: 13px; }
  .day li:nth-last-child(2) .day__note { width: 160px; margin-left: calc(50% - 80px); }
  .day li:last-child .day__note { width: 118px; }
}
@media (max-width: 900px) {
  .day { grid-template-columns: 1fr; grid-template-rows: none; padding-left: 34px; }
  .day::before { position: absolute; left: 11px; top: 8px; bottom: 8px; width: 3px; height: auto; grid-row: auto; transform-origin: top; }
  .day li, .day li:nth-child(n) { grid-row: auto; grid-column: 1; padding: 0 0 10px; }
  .day li::after, .day li:nth-child(odd)::after, .day li:nth-child(even)::after { left: -30px; top: 16px; bottom: auto; }
  .day__note, .day li:first-child .day__note, .day li:last-child .day__note, .day li:nth-last-child(2) .day__note { width: auto; margin: 0; display: grid; grid-template-columns: 4.2em 1fr; gap: 10px; align-items: baseline; font-size: 15px; }
  .day time { font-size: 17px; margin: 0; }
}
.figcap { margin-top: 24px; }

/* ---------- シフトの付せん4枚 ---------- */
.notes4 { display: grid; grid-template-columns: repeat(4, 1fr); gap: 20px; margin: 10px 0 30px; }
.notes4 li:nth-child(1) { transform: rotate(-1.6deg); }
.notes4 li:nth-child(2) { transform: rotate(1.1deg) translateY(10px); }
.notes4 li:nth-child(3) { transform: rotate(-.8deg); }
.notes4 li:nth-child(4) { transform: rotate(1.8deg) translateY(8px); }
.notes4 .fusen { height: 100%; min-height: 168px; padding-top: 26px; }
.notes4 .fusen::before { content: ""; position: absolute; top: 0; left: 50%; width: 64px; height: 16px; margin-left: -32px; background: rgba(139,195,74,.55); }
.notes4 b { display: block; font-family: var(--hand); font-weight: 400; font-size: 24px; line-height: 1.4; }
.notes4 .t { display: block; font-weight: 700; font-size: 21px; color: var(--leaf-deep); letter-spacing: .02em; margin-bottom: 8px; line-height: 1.4; }
.notes4 .night .fusen { background: #E6EDDF; }
.notes4 .night .fusen::after { background: linear-gradient(225deg, transparent 50%, #b9c9a8 50%); }
.notes4 p { margin: 0; font-size: 15px; line-height: 1.7; }
@media (max-width: 900px) { .notes4 { grid-template-columns: 1fr 1fr; gap: 26px 18px; } }
@media (max-width: 420px) { .notes4 b { font-size: 21px; } .notes4 .t { font-size: 18px; } .notes4 .fusen { padding: 24px 16px 18px; } }

/* ---------- 働く場所（2つの大きな札） ---------- */
.places { display: grid; grid-template-columns: 1.15fr 1fr; gap: 40px; align-items: start; }
.place { display: block; text-decoration: none; position: relative; }
.place:nth-child(2) { margin-top: 90px; }
.place__ph { overflow: hidden; aspect-ratio: 16 / 10; }
.place__ph img { width: 100%; height: 100%; object-fit: cover; transition: transform .6s ease; }
.place:hover .place__ph img { transform: scale(1.04); }
.place__txt { position: relative; margin: -46px 0 0 28px; background: #fff; padding: 22px 26px 22px; border-left: 4px solid var(--leaf); box-shadow: 0 2px 0 var(--rule); }
.place__txt h3 { font-family: var(--hand); font-size: 23px; margin-bottom: 6px; }
.place__txt p { margin: 0 0 8px; font-size: 15px; }
.place__go { font-weight: 700; font-size: 22px; line-height: 1; color: var(--leaf-deep); }
.place__go .arw { display: inline-block; transition: transform .2s; }
.place:hover .place__go .arw { transform: translateX(5px); }
@media (max-width: 760px) {
  .places { grid-template-columns: 1fr; gap: 34px; }
  .place:nth-child(2) { margin-top: 0; }
  .place__txt { margin: -30px 0 0 14px; padding: 18px 18px; }
}

/* ---------- 施設長から ---------- */
.director { display: grid; grid-template-columns: minmax(0, 1.25fr) minmax(0, 1fr); gap: 56px; align-items: center; }
.director__txt p { font-size: 16.5px; }
.director__name { margin-top: 18px; padding-top: 14px; border-top: 1px dashed var(--leaf); font-size: 14.5px; font-weight: 700; }
.director__ph { margin: 0; position: relative; }
.director__ph img { width: 100%; aspect-ratio: 4 / 5; object-fit: cover; object-position: 50% 30%; }
.director__ph::before { content: ""; position: absolute; inset: 18px -18px -18px 18px; border: 2px solid var(--peach); z-index: -1; }
@media (max-width: 760px) {
  .director { grid-template-columns: 1fr; gap: 34px; }
  .director__ph { order: -1; width: 78%; margin-left: auto; margin-right: 18px; }
}

/* ---------- 先輩の話（付せんの札・テープどめ） ---------- */
.senpai2 { display: grid; grid-template-columns: 1fr 1fr; gap: 36px; }
.sp { display: block; text-decoration: none; position: relative; }
.sp:nth-child(1) { transform: rotate(-1deg); }
.sp:nth-child(2) { transform: rotate(.9deg); margin-top: 26px; }
.sp .fusen { padding: 18px 18px 24px; height: 100%; }
.sp__ph { overflow: hidden; aspect-ratio: 4 / 3; margin-bottom: 16px; }
.sp__ph img { width: 100%; height: 100%; object-fit: cover; }
.sp__tape { position: absolute; top: -12px; left: 32px; width: 92px; height: 24px; background: rgba(139,195,74,.5); transform: rotate(-5deg); z-index: 2; }
.sp__who { font-weight: 700; font-size: 15px; color: var(--leaf-deep); margin-bottom: 2px; }
.sp__prev { font-size: 14px; margin-bottom: 10px; color: var(--ink-soft); }
.sp__say { font-family: var(--hand); font-size: 19px; line-height: 1.75; margin: 0; }
.sp:hover .fusen { background: #fbe2ea; }
@media (max-width: 760px) {
  .senpai2 { grid-template-columns: 1fr; gap: 30px; }
  .sp:nth-child(2) { margin-top: 0; }
}

/* ---------- 若葉の帯（全ページ共通） ---------- */
.band { background: var(--leaf-deep); color: #fff; padding: 84px 0 90px; position: relative; overflow: hidden; }
.band::before {
  content: ""; position: absolute; left: 0; right: 0; top: 18px; height: 10px;
  background: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 40 10'%3E%3Cpath d='M0 5c5-4 10-4 15 0s10 4 15 0 10-4 15 0' fill='none' stroke='%23A7D46F' stroke-width='1.6' stroke-dasharray='4 4'/%3E%3C/svg%3E") repeat-x 0 0 / 40px 10px;
}
.band__in { text-align: center; }
.band__ttl { font-family: var(--hand); font-size: clamp(28px, 4.2vw, 46px); line-height: 1.5; margin-bottom: 18px; }
.band p { font-size: 16.5px; max-width: 40em; margin: 0 auto 28px; }
.band__btns { display: flex; flex-wrap: wrap; justify-content: center; gap: 12px; }
.band .btn { min-width: 240px; }
.band__yarn { position: absolute; right: -30px; bottom: -40px; width: 220px; height: 220px; opacity: .25; }
.band__yarn path, .band__yarn circle { fill: none; stroke: #CFE8B0; stroke-width: 2; }

/* ---------- フッター ---------- */
.foot { background: #fff; padding: 56px 0 28px; border-top: 1px solid var(--rule); font-size: 14px; }
.foot__in { display: grid; grid-template-columns: auto 1fr; gap: 26px 60px; align-items: start; }
.foot .logo { height: 54px; }
.foot__addr { margin: 14px 0 0; line-height: 1.9; }
.foot__nav { display: flex; flex-wrap: wrap; gap: 6px 26px; justify-content: flex-end; padding-top: 8px; }
.foot__nav a { text-decoration: none; font-weight: 700; }
.foot__nav a:hover { color: var(--leaf-deep); text-decoration: underline; text-decoration-color: var(--leaf); text-underline-offset: 5px; }
.foot__copy { grid-column: 1 / -1; margin: 26px 0 0; padding-top: 18px; border-top: 1px dashed var(--rule); font-size: 12.5px; color: var(--ink-soft); }
@media (max-width: 760px) {
  .foot__in { grid-template-columns: 1fr; }
  .foot__nav { justify-content: flex-start; flex-direction: column; gap: 10px; }
}

/* ---------- 下層ページの頭 ---------- */
.phead { padding: 46px 0 0; }
.phead__ttl { font-family: var(--hand); font-size: clamp(32px, 5vw, 54px); letter-spacing: .04em; position: relative; display: inline-block; padding-bottom: 14px; margin-bottom: 26px; }
.phead__ttl .pen { position: absolute; left: -4px; bottom: 0; width: calc(100% + 8px); height: 14px; overflow: visible; }
.phead__ph { margin: 0; overflow: hidden; height: clamp(220px, 34vw, 440px); }
.phead__ph img { width: 100%; height: 100%; object-fit: cover; }
.phead__lead { font-size: 17px; max-width: 40em; margin: 28px 0 0; }
.crumb { font-size: 13px; margin-bottom: 18px; color: var(--ink-soft); }
.crumb a { text-decoration: none; border-bottom: 1px solid var(--leaf); }
.phead--plain { padding-bottom: 10px; }

/* ---------- 3か月の段 ---------- */
.steps3 { border-top: 2px solid var(--ink); }
.steps3 li { display: grid; grid-template-columns: 9em 1fr; gap: 6px 30px; padding: 22px 0; border-bottom: 1px dashed var(--leaf); align-items: baseline; }
.steps3 b { font-family: var(--hand); font-weight: 400; font-size: 24px; color: var(--leaf-deep); }
.steps3 p { margin: 0; }
.after3 { margin-top: 22px; padding: 16px 20px; background: var(--leaf-pale); border-left: 4px solid var(--leaf); }
@media (max-width: 600px) { .steps3 li { grid-template-columns: 1fr; } }

/* ---------- 表 ---------- */
.tbl { width: 100%; border-collapse: collapse; font-size: 15.5px; line-height: 1.75; }
.tbl th, .tbl td { text-align: left; vertical-align: top; padding: 15px 18px; border-bottom: 1px solid var(--rule); }
.tbl thead th { background: var(--ink); color: #fff; font-weight: 700; font-size: 14px; border-bottom: 0; }
.tbl tbody th { width: 30%; font-weight: 700; background: var(--leaf-pale); }
.tbl--key tbody th { width: 22%; }
.tbl-note { font-size: 13.5px; color: var(--ink-soft); margin-top: 12px; }
@media (max-width: 640px) {
  .tbl--stack thead { display: none; }
  .tbl--stack tr { display: block; border-bottom: 1px solid var(--rule); padding: 12px 0; }
  .tbl--stack th, .tbl--stack td { display: block; width: auto; border: 0; padding: 3px 4px; }
  .tbl--stack tbody th { background: none; color: var(--leaf-deep); }
  .tbl--stack td[data-h]::before { content: attr(data-h) "："; font-weight: 700; font-size: 13px; color: var(--ink-soft); }
  .tbl--key th, .tbl--key td { padding: 12px 12px; font-size: 14.5px; }
  .tbl--key tbody th { width: 34%; }
}

/* ---------- 2列（文と写真） ---------- */
.split { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: 52px; align-items: start; }
.split--r .split__ph { order: 2; }
.split__ph { margin: 0; }
.split__ph img { width: 100%; aspect-ratio: 4 / 3; object-fit: cover; }
.split__ph--tall img { aspect-ratio: 4 / 5; }
@media (max-width: 760px) { .split { grid-template-columns: 1fr; gap: 26px; } .split--r .split__ph { order: 0; } }

.prev { display: grid; grid-template-columns: 1.1fr 1fr; gap: 40px; align-items: center; }
.prev blockquote { margin: 0; }
.prev__big { font-family: var(--hand); font-size: clamp(20px, 2.4vw, 26px); line-height: 1.8; }
@media (max-width: 760px) { .prev { grid-template-columns: 1fr; gap: 10px; } }

.photos2 { display: grid; grid-template-columns: 1fr 1fr; gap: 22px; }
.photos2 figure { margin: 0; }
.photos2 img { width: 100%; aspect-ratio: 4 / 3; object-fit: cover; }
.photos2 figcaption { font-size: 14.5px; padding: 12px 2px 0; border-top: 3px solid var(--leaf); margin-top: 10px; }
@media (max-width: 600px) { .photos2 { grid-template-columns: 1fr; } }

/* ---------- 図: 4つのシフトの帯 ---------- */
.sc-box { background: #fff; border: 1px solid var(--rule); padding: 28px clamp(14px, 3vw, 36px) 22px; }
.sc { --hrs: 34; position: relative; }
.sc__axis, .sc__row { display: grid; grid-template-columns: 170px 1fr; gap: 16px; align-items: center; }
.sc__ticks { position: relative; height: 26px; }
.sc__ticks span { position: absolute; bottom: 4px; font-size: 13px; font-weight: 700; color: var(--ink-soft); transform: translateX(-50%); line-height: 1; }
.sc__ticks span.unit { transform: none; right: 0; font-weight: 400; }
.sc__track { position: relative; height: 46px; background: repeating-linear-gradient(90deg, transparent 0 calc(300% / var(--hrs) - 1px), #E3EBDA calc(300% / var(--hrs) - 1px) calc(300% / var(--hrs))); border-bottom: 1px solid var(--rule); }
.sc__next { position: absolute; top: 0; bottom: 0; left: calc(24 / var(--hrs) * 100%); right: 0; background: rgba(248,187,208,.18); border-left: 2px dashed var(--peach-deep); }
.sc__nextlbl { position: absolute; top: -26px; left: calc(24 / var(--hrs) * 100%); right: 0; text-align: center; font-size: 13px; font-weight: 700; color: #b8577c; }
.sc__rows { position: relative; }
.sc__name { margin: 0; line-height: 1.4; }
.sc__name b { font-family: var(--hand); font-weight: 400; font-size: 21px; margin-right: 8px; }
.sc__name span { font-weight: 700; font-size: 14.5px; white-space: nowrap; }
.sc__bar {
  position: absolute; top: 8px; bottom: 8px;
  left: calc(var(--s) / var(--hrs) * 100%); width: calc((var(--e) - var(--s)) / var(--hrs) * 100%);
  background: var(--leaf); transform-origin: left center;
  display: flex; align-items: center; justify-content: center; overflow: hidden;
}
.sc__bar--day { background: #6FA233; }
.sc__bar--late { background: var(--peach); }
.sc__bar--night { background: var(--ink); color: #fff; font-size: 12.5px; font-weight: 700; white-space: nowrap; }
.sc__note { font-size: 14px; color: var(--ink-soft); margin: 16px 0 0; text-align: right; }
@media (max-width: 760px) {
  .sc__axis, .sc__row { grid-template-columns: 1fr; gap: 4px; }
  .sc__axis > :first-child { display: none; }
  .sc__row { margin-top: 12px; }
  .sc__track { height: 38px; }
  .sc__bar { top: 6px; bottom: 6px; }
  .sc__bar--night { font-size: 11px; }
  .sc__ticks span { font-size: 11px; }
  .sc__note { text-align: left; }
  .sc__nextlbl { font-size: 11px; }
}

/* ---------- 夜の廊下の絵 ---------- */
.night-art { margin: 0; background: var(--ink); aspect-ratio: 4 / 3; overflow: hidden; }
.night-art svg { width: 100%; height: 100%; display: block; }
.night-art .lamp { fill: var(--peach); }

/* ---------- 事業所 ---------- */
.home { scroll-margin-top: calc(var(--head-h) + 20px); }
.home__tag { display: inline-block; font-size: 13px; font-weight: 700; letter-spacing: .1em; background: var(--peach); padding: 2px 10px; margin-bottom: 14px; }

/* ---------- 先輩の話のページ ---------- */
.person { scroll-margin-top: calc(var(--head-h) + 20px); }
.person__head { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: 44px; align-items: end; margin-bottom: 40px; }
.person__ph { margin: 0; position: relative; }
.person__ph img { width: 100%; aspect-ratio: 4 / 3; object-fit: cover; }
.person__card { transform: rotate(-1.2deg); max-width: 30em; }
.person__card .fusen { padding: 26px 30px; }
.person__card .y { font-family: var(--hand); font-size: 30px; line-height: 1.4; display: block; }
.person__card .role { font-weight: 700; display: block; margin: 4px 0 6px; }
.person__card .pv { font-size: 14px; color: var(--ink-soft); display: block; }
.qa { max-width: 44em; }
.qa dt { font-family: var(--hand); font-size: 22px; line-height: 1.6; margin: 34px 0 10px; padding-left: 40px; position: relative; }
.qa dt::before { content: "Q"; position: absolute; left: 0; top: 2px; width: 28px; height: 28px; background: var(--leaf); color: #fff; font: 700 16px/28px var(--body); text-align: center; }
.qa dd { margin: 0; padding-left: 40px; }
.qa dd p:last-child { margin-bottom: 0; }
.person + .person { border-top: 1px dashed var(--leaf); }
@media (max-width: 760px) {
  .person__head { grid-template-columns: 1fr; gap: 0; }
  .person__card { margin: -34px 12px 0 22px; position: relative; }
  .qa dt { font-size: 20px; }
  .qa dd { padding-left: 0; }
}

/* ---------- 見学・募集要項 ---------- */
.visit { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1.15fr); gap: 56px; align-items: start; }
.visit__txt { position: sticky; top: calc(var(--head-h) + 24px); }
.form-box { background: var(--pink-pale); padding: 32px clamp(18px, 3vw, 36px); }
.form-box--leaf { background: var(--leaf-pale); }
.fld { margin-bottom: 20px; }
.fld > label, .fld > .lbl { display: block; font-weight: 700; font-size: 15px; margin-bottom: 6px; }
.req { display: inline-block; font-size: 11.5px; background: var(--ink); color: #fff; padding: 0 7px; margin-left: 8px; line-height: 1.7; vertical-align: 2px; }
.fld input[type="text"], .fld input[type="tel"], .fld input[type="email"], .fld input[type="date"], .fld textarea, .fld select {
  width: 100%; font: inherit; font-size: 16px; color: var(--ink); background: #fff;
  border: 1.5px solid #c6d5b6; border-radius: 0; padding: 11px 13px; min-height: 50px;
}
.fld textarea { min-height: 120px; resize: vertical; }
.fld input:focus, .fld textarea:focus, .fld select:focus { outline: 3px solid var(--leaf); outline-offset: 0; border-color: var(--leaf-deep); }
.fld__row { display: grid; grid-template-columns: 1fr 1fr; gap: 10px; }
.fld__sub { font-size: 13px; color: var(--ink-soft); display: block; margin-bottom: 4px; }
.chips { display: flex; flex-wrap: wrap; gap: 8px; border: 0; margin: 0; padding: 0; }
.chips legend { font-weight: 700; font-size: 15px; margin-bottom: 6px; padding: 0; }
.chips label { position: relative; }
.chips input { position: absolute; opacity: 0; inset: 0; width: 100%; height: 100%; margin: 0; cursor: pointer; }
.chips span { display: inline-flex; align-items: center; min-height: 44px; padding: 0 16px; background: #fff; border: 1.5px solid #c6d5b6; font-size: 15px; font-weight: 700; }
.chips input:checked + span { background: var(--ink); color: #fff; border-color: var(--ink); }
.chips input:focus-visible + span { outline: 3px solid var(--leaf); }
.agree label { display: flex; gap: 10px; align-items: flex-start; font-weight: 700; font-size: 15px; }
.agree input { width: 22px; height: 22px; margin: 3px 0 0; accent-color: var(--leaf-deep); flex: none; }
.form .btn { width: 100%; min-height: 58px; font-size: 17px; cursor: pointer; font-family: inherit; }
.form__after { font-size: 14px; margin: 12px 0 0; text-align: center; }
.form.is-checked :invalid { border-color: #c0392b; }
@media (max-width: 860px) {
  .visit { grid-template-columns: 1fr; gap: 26px; }
  .visit__txt { position: static; }
}
@media (max-width: 420px) { .fld__row { grid-template-columns: 1fr; } }

.line-box { margin-top: 34px; border: 2px dashed var(--leaf); padding: 24px 26px; display: grid; grid-template-columns: 1fr auto; gap: 14px 30px; align-items: center; background: #fff; }
.line-box p { margin: 0; }
.line-box .btn { background: var(--ink); color: #fff; border-color: var(--ink); }
.line-box .btn:hover { background: #3f6229; }
.line-box small { grid-column: 1 / -1; font-size: 13.5px; color: var(--ink-soft); }
@media (max-width: 700px) { .line-box { grid-template-columns: 1fr; } }

/* 図: 応募から入るまで（5つの丸） */
.flow5 { display: grid; grid-template-columns: repeat(5, 1fr); gap: 0; position: relative; counter-reset: f; }
.flow5::before { content: ""; position: absolute; left: 10%; right: 10%; top: 44px; height: 3px; background: var(--leaf); transform-origin: left; }
.flow5 li { text-align: center; padding: 0 8px; position: relative; }
.flow5 .c { width: 88px; height: 88px; border-radius: 50%; background: #fff; border: 3px solid var(--leaf); margin: 0 auto 14px; display: grid; place-items: center; position: relative; z-index: 1; }
.flow5 .c b { font-family: var(--hand); font-weight: 400; font-size: 30px; color: var(--leaf-deep); line-height: 1; }
.flow5 li:last-child .c { background: var(--peach); border-color: var(--peach-deep); }
.flow5 strong { display: block; font-size: 17px; line-height: 1.5; }
.flow5 small { display: block; font-size: 13.5px; color: var(--ink-soft); line-height: 1.6; }
.flow5-note { text-align: center; margin: 26px 0 0; font-size: 15px; }
.flow5-note span { background: linear-gradient(transparent 60%, var(--pink-pale) 60%); padding: 0 4px; }
@media (max-width: 760px) {
  .flow5 { grid-template-columns: 1fr; gap: 12px; }
  .flow5::before { left: 33px; right: auto; top: 30px; bottom: 30px; width: 3px; height: auto; transform-origin: top; }
  .flow5 li { display: grid; grid-template-columns: 68px 1fr; gap: 16px; text-align: left; align-items: center; padding: 0; }
  .flow5 .c { width: 68px; height: 68px; margin: 0; }
  .flow5 .c b { font-size: 24px; }
  .flow5 li > div { grid-column: 2; }
  .flow5-note { text-align: left; }
}

.faq { border-top: 2px solid var(--ink); }
.faq div { padding: 20px 0; border-bottom: 1px dashed var(--leaf); }
.faq dt { font-weight: 700; font-size: 16.5px; margin-bottom: 6px; display: flex; gap: 12px; }
.faq dd { margin: 0; display: flex; gap: 12px; }
.faq dt::before, .faq dd::before { flex: none; width: 28px; height: 28px; font: 700 15px/28px var(--body); text-align: center; margin-top: 2px; }
.faq dt::before { content: "Q"; background: var(--leaf); color: #fff; }
.faq dd::before { content: "A"; background: var(--peach); color: var(--ink); }
.faq .faq__a-text { display: block; }

.sec-anchor { scroll-margin-top: calc(var(--head-h) + 20px); }

/* ---------- 動き（JSがクラスを付けたときだけ隠す） ---------- */
@keyframes tileIn { from { opacity: 0; transform: scale(1.04); } to { opacity: 1; transform: none; } }
@keyframes riseIn { from { opacity: 0; transform: translateY(14px); } to { opacity: 1; transform: none; } }
@keyframes penIn { from { transform: scaleX(0); } to { transform: scaleX(1); } }
@keyframes tagIn { from { opacity: 0; transform: rotate(-3deg) translateY(-14px); } to { opacity: 1; transform: rotate(-3deg); } }
@keyframes lampBlink { 0%, 100% { opacity: 1; } 50% { opacity: .55; } }

html.js .tiles .tile img { animation: tileIn 1s ease both; animation-delay: var(--d, 0s); }
html.js .hero__c .mini { animation: riseIn .8s ease both; animation-delay: var(--d, .2s); }
html.js .hero__title span { animation: riseIn .8s ease both; }
html.js .hero__title span:nth-child(2) { animation-delay: .12s; }
html.js .hero__title span:nth-child(3) { animation-delay: .24s; }
html.js .hero__lead, html.js .hero__btns { animation: riseIn .8s .36s ease both; }
html.js .hero__title .mk svg { transform-origin: left; animation: penIn .7s .7s ease both; }
html.js .tag-visit { animation: tagIn .7s .8s ease both; }
html.js .phead__ph img { animation: tileIn 1.1s ease both; }
html.js .phead__ttl .pen { transform-origin: left; animation: penIn .7s .3s ease both; }

html.js .fade { opacity: 0; transform: translateY(18px); transition: opacity .8s ease, transform .8s ease; }
html.js .fade.is-in { opacity: 1; transform: none; }
html.js .ttl .pen { transform: scaleX(0); transform-origin: left; transition: transform .7s .15s ease; }
html.js .ttl.is-in .pen { transform: scaleX(1); }

html.js .road__thread, html.js .road__thread--v { transition: transform 1.3s ease; }
html.js .road__thread { transform: scaleX(0); }
html.js .road__thread--v { transform: scaleY(0); }
html.js .road li { opacity: 0; transform: translateY(8px); transition: opacity .5s ease, transform .5s ease; }
html.js .dg.is-in .road__thread { transform: scaleX(1); }
html.js .dg.is-in .road__thread--v { transform: scaleY(1); }
html.js .dg.is-in .road li { opacity: 1; transform: none; }
.road li:nth-child(2) { transition-delay: .25s; }
.road li:nth-child(3) { transition-delay: .5s; }
.road li:nth-child(4) { transition-delay: .75s; }
.road li:nth-child(5) { transition-delay: 1s; }
.road li:nth-child(6) { transition-delay: 1.25s; }

html.js .day::before { transform: scaleX(0); transition: transform 1.2s ease; }
html.js .dg.is-in .day::before { transform: scaleX(1); }
html.js .day li { opacity: 0; transition: opacity .5s ease; }
html.js .dg.is-in .day li { opacity: 1; }
.day li:nth-child(3) { transition-delay: .1s; } .day li:nth-child(4) { transition-delay: .2s; } .day li:nth-child(5) { transition-delay: .3s; }
.day li:nth-child(6) { transition-delay: .4s; } .day li:nth-child(7) { transition-delay: .5s; } .day li:nth-child(8) { transition-delay: .6s; }
.day li:nth-child(9) { transition-delay: .7s; } .day li:nth-child(10) { transition-delay: .8s; }
@media (max-width: 900px) {
  html.js .day::before { transform: scaleY(0); }
  html.js .dg.is-in .day::before { transform: scaleY(1); }
}

html.js .sc__bar { transform: scaleX(0); transition: transform .9s ease; }
html.js .dg.is-in .sc__bar { transform: scaleX(1); }
.sc__row:nth-child(2) .sc__bar { transition-delay: .15s; }
.sc__row:nth-child(3) .sc__bar { transition-delay: .3s; }
.sc__row:nth-child(4) .sc__bar { transition-delay: .45s; }

html.js .flow5::before { transform: scaleX(0); transition: transform 1.1s ease; }
html.js .dg.is-in .flow5::before { transform: scaleX(1); }
html.js .flow5 li { opacity: 0; transform: translateY(10px); transition: opacity .5s ease, transform .5s ease; }
html.js .dg.is-in .flow5 li { opacity: 1; transform: none; }
.flow5 li:nth-child(2) { transition-delay: .2s; } .flow5 li:nth-child(3) { transition-delay: .4s; }
.flow5 li:nth-child(4) { transition-delay: .6s; } .flow5 li:nth-child(5) { transition-delay: .8s; }
@media (max-width: 760px) {
  html.js .flow5::before { transform: scaleY(0); }
  html.js .dg.is-in .flow5::before { transform: scaleY(1); }
}

html.js .notes4 li .fusen-wrap { opacity: 0; transform: translateY(-16px); transition: opacity .5s ease, transform .5s ease; }
html.js .notes4.is-in li .fusen-wrap { opacity: 1; transform: none; }
.notes4 li:nth-child(2) .fusen-wrap { transition-delay: .12s; }
.notes4 li:nth-child(3) .fusen-wrap { transition-delay: .24s; }
.notes4 li:nth-child(4) .fusen-wrap { transition-delay: .36s; }

html.js .night-art .lamp { animation: lampBlink 3.2s ease-in-out infinite; }
html.js .night-art .lamp:nth-of-type(2) { animation-delay: .6s; }
html.js .night-art .lamp:nth-of-type(3) { animation-delay: 1.2s; }

@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { animation: none !important; transition: none !important; }
}
