/* ==== 部品（全サイト共通）====
   色・書体・角・線は、デザインの style.css で変数を決める。
   ここは並び方と、見やすさの土台だけ。 */
:root {
  /* 形と書体（デザインの style.css で上書きする） */
  --radius: 8px; --radius-lg: 12px; --btn-radius: 8px; --btn-border: 0; --shadow: none;
  --font-body: sans-serif; --font-head: sans-serif; --font-en: sans-serif;
  --wrap: 1040px;
  --on-photo: #fff; --photo-shade: #0e0f10;
}
/* 色の土台（デザインの style.css が、4つの系統ごとに自分の色で上書きする。ここは上書きがないときの予備） */
:root {
  --bg: #f6f6f4; --surface: #fff; --soft: #e9e9e5; --soft-2: #dcdcd7; --rule: #d3d3ce;
  --ink: #262626; --muted: #555; --accent: #3a3a3a; --accent-ink: #fff; --sub-ink: #262626;
  --focus: #1a5fb4; --ribbon-bg: #262626; --ribbon-ink: #fff;
  --closed-bg: #3a3a3a; --closed-ink: #fff; --sun: #a3392e; --sat: #2f5c94;
  --ok: #2b6a3a; --few: #8a5200; --avail-line: #e0e0dc; --map-bg: #ececea;
  --footer-bg: #262626; --footer-ink: #f6f6f4; --header-bg: #fff;
  --ph-before: #e3e3df; --ph-after: #d6d6d1;
  --insta-ph-1: #e3e3df; --insta-ph-2: #d9d9d4; --insta-ph-3: #ecece8;
}
*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; }
body { --line: 1px solid var(--rule); --cal-line: 1px solid var(--rule); margin: 0; font-family: var(--font-body); font-size: 1rem; line-height: 1.85; color: var(--ink); background: var(--bg); overflow-x: clip; }
img { display: block; max-width: 100%; height: auto; }
a { color: inherit; }
:focus-visible { outline: 3px solid var(--focus); outline-offset: 3px; }
[hidden] { display: none !important; }
.vh { position: absolute !important; width: 1px; height: 1px; padding: 0; margin: -1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; border: 0; }
h1, h2, h3 { margin: 0; font-family: var(--font-head); line-height: 1.45; }
h2 { font-size: clamp(1.6rem, 5.4vw, 2.25rem); }
h3 { font-size: 1.15rem; }
p { margin: 0 0 1em; }

/* 制作サンプルの帯 */
.sample-ribbon { margin: 0; padding: .5rem 1rem; text-align: center; font-size: 1rem; line-height: 1.5; background: var(--ribbon-bg); color: var(--ribbon-ink); }

/* 段の共通 */
.p-wrap { width: min(100% - 2.5rem, var(--wrap)); margin-inline: auto; }
.p-section { padding-block: clamp(3.5rem, 10vw, 6.5rem); }
.p-head { margin-bottom: 2rem; }
.p-eyebrow { margin: 0 0 .25rem; font-family: var(--font-en); font-size: 1rem; letter-spacing: .14em; color: var(--muted); }
.p-lead { margin-top: .75rem; }
.p-note, .p-small { font-size: 1rem; color: var(--muted); }
.p-note { margin-top: 1rem; }

/* ヘッダー */
.p-header { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: .5rem 1.5rem; padding: .75rem 1.25rem; background: var(--header-bg); border-bottom: var(--line); }
.p-brand { display: flex; flex-direction: column; line-height: 1.3; text-decoration: none; }
.p-brand small { font-size: .875rem; color: var(--muted); }
.p-brand strong { font-family: var(--font-head); font-size: 1.25rem; }
.p-nav { display: flex; flex-wrap: wrap; align-items: center; gap: .25rem 1rem; }
.p-nav a { display: inline-flex; align-items: center; min-height: 44px; padding: 0 .1rem; text-decoration: none; }
.p-nav a:hover { text-decoration: underline; text-underline-offset: .3em; }
.p-nav .p-nav-reserve { padding: 0 1.1rem; background: var(--accent); color: var(--accent-ink); border-radius: var(--btn-radius); border: var(--btn-border); }
.p-nav .p-nav-reserve:hover { text-decoration: none; }

/* ボタン */
.p-btn { display: inline-flex; align-items: center; justify-content: center; min-height: 48px; padding: .75rem 1.5rem; font-weight: 700; line-height: 1.4; text-align: center; text-decoration: none; background: var(--accent); color: var(--accent-ink); border: var(--btn-border); border-radius: var(--btn-radius); box-shadow: var(--shadow); transition: transform .25s ease; }
.p-btn:hover { transform: translateY(-2px); }
.p-btn-sub { background: transparent; color: var(--sub-ink); border: 2px solid currentColor; box-shadow: none; }

/* メニュー */
.p-menu-list { display: grid; gap: var(--menu-gap, 1rem); margin: 0; padding: 0; list-style: none; }
.p-menu-item { display: flex; flex-wrap: wrap; align-items: flex-end; justify-content: space-between; gap: .5rem 1rem; padding: 1.25rem 1.35rem; background: var(--surface); border: var(--line); border-radius: var(--radius); }
.p-menu-text p { margin: .25rem 0 0; color: var(--muted); }
.p-menu-price { margin: 0; font-family: var(--font-head); font-size: 1.5rem; font-weight: 700; white-space: nowrap; }
.p-menu-price span { font-size: 1rem; }
@media (min-width: 760px) { .p-menu-list { grid-template-columns: 1fr 1fr; } }

/* ビフォーアフター（写真をのせる場所） */
.p-ba-grid { display: grid; grid-template-columns: 1fr 1fr; gap: .75rem; max-width: 760px; }
.p-ph { display: flex; flex-direction: column; justify-content: space-between; aspect-ratio: 4 / 5; padding: 1rem; border: var(--line); border-radius: var(--radius); }
.p-ph b { font-family: var(--font-en); letter-spacing: .12em; }
.p-ph-before { background: var(--ph-before); }
.p-ph-after { background: var(--ph-after); }

/* 今月の休業日 */
.p-cal-box { max-width: 520px; }
.p-cal { width: 100%; border-collapse: collapse; table-layout: fixed; text-align: center; background: var(--surface); }
.p-cal th, .p-cal td { padding: .5rem 0; border: var(--cal-line); }
.p-cal .is-sun { color: var(--sun); }
.p-cal .is-sat { color: var(--sat); }
.p-cal td.is-closed { background: var(--closed-bg); color: var(--closed-ink); font-weight: 700; }
.p-cal-legend { display: flex; align-items: center; gap: .5rem; margin-top: .75rem; }
.p-swatch { width: 1.1rem; height: 1.1rem; background: var(--closed-bg); border-radius: 3px; }

/* ご予約 */
.p-reserve-grid { display: grid; gap: 1.25rem; }
.p-reserve-card { min-width: 0; padding: clamp(1.1rem, 4vw, 2rem); background: var(--surface); border: var(--line); border-radius: var(--radius-lg); }
.p-reserve-card h3 { font-size: 1.35rem; margin-bottom: .5rem; }
.p-reserve-num { margin: 0; font-family: var(--font-en); font-size: 1.25rem; color: var(--muted); }
.p-message { padding: 1rem 1.1rem; background: var(--bg); border-left: 4px solid var(--accent); border-radius: 4px; }
@media (min-width: 880px) { .p-reserve-grid { grid-template-columns: 1fr 1fr; align-items: start; } }

/* 空き状況のイメージ（予約ページの画面の見本） */
.p-avail { margin: 1.25rem 0; padding: .9rem .6rem .5rem; background: var(--bg); border: var(--line); border-radius: var(--radius); }
.p-avail-title { margin-bottom: .5rem; font-weight: 700; }
.p-avail-table { width: 100%; border-collapse: collapse; table-layout: fixed; text-align: center; line-height: 1.25; }
.p-avail-table th, .p-avail-table td { padding: .45rem 0; border-bottom: 1px solid var(--avail-line); }
.p-avail-table thead th:first-child { width: 2.9em; }
.p-avail-table th[scope="row"] { text-align: left; font-weight: 700; padding-left: .2rem; }
.p-avail-table td { font-weight: 700; }
.p-avail .is-ok { color: var(--ok); }
.p-avail .is-few { color: var(--few); }
.p-avail .is-full, .p-avail .is-off { color: var(--muted); font-weight: 400; }
.p-avail-legend { margin: .6rem 0 0; }
.p-avail .p-note { margin: 0; }
/* スマホでは、カードの内側の余白を少し使って、1列を広くする（2026-11-29 追加） */
@media (max-width: 480px) {
  .p-avail { margin-inline: -.6rem; padding-inline: .35rem; }
  .p-avail-table thead th:first-child { width: 2.6em; }
}

/* Instagram（インスタ風の写真の並び） */
.p-insta-feed { max-width: 720px; background: var(--surface); border: var(--line); border-radius: var(--radius-lg); overflow: hidden; }
.p-insta-bar { display: flex; align-items: center; gap: .6rem; margin: 0; padding: .75rem 1rem; font-weight: 700; border-bottom: var(--line); }
.p-insta-icon { position: relative; flex: none; width: 1.6rem; height: 1.6rem; border: 2px solid currentColor; border-radius: 30%; }
.p-insta-icon::before { content: ""; position: absolute; inset: 26%; border: 2px solid currentColor; border-radius: 50%; }
.p-insta-icon::after { content: ""; position: absolute; top: 12%; right: 12%; width: 3px; height: 3px; background: currentColor; border-radius: 50%; }
.p-insta-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 3px; }
.p-insta-grid img { width: 100%; aspect-ratio: 1; object-fit: cover; }
.p-insta-action { margin: 1.5rem 0 0; }
.p-btn-insta { min-height: 60px; min-width: min(100%, 320px); padding-inline: 2rem; font-size: 1.15rem; }

/* アクセス */
.p-access-grid { display: grid; gap: 1.5rem; }
.p-access-name { margin: .5rem 0 .75rem; }
.p-map { display: flex; flex-direction: column; align-items: center; justify-content: center; min-height: 260px; padding: 1rem; text-align: center; background: var(--map-bg); border: var(--line); border-radius: var(--radius); }
@media (min-width: 880px) { .p-access-grid { grid-template-columns: 1fr 1.2fr; align-items: center; } }

/* フッター */
.p-footer { padding: 2.5rem 1.25rem; text-align: center; background: var(--footer-bg); color: var(--footer-ink); }
.p-footer p { margin: 0 0 .35rem; }
.p-footer .p-small { color: inherit; opacity: .85; }
.p-footer-name { font-family: var(--font-head); font-size: 1.2rem; font-weight: 700; }

/* 動きが苦手な人の設定では、動きを止める */
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { animation: none !important; transition: none !important; }
}

/* Instagram の升目：写真がまだないときの「写真：〇〇」の枠（2026-11-29 追加） */
.p-insta-ph { display: flex; align-items: center; justify-content: center; aspect-ratio: 1; padding: .4rem; text-align: center; font-size: 1rem; line-height: 1.4; color: var(--ink); background: var(--insta-ph-1); }
.p-insta-ph:nth-child(3n+2) { background: var(--insta-ph-2); }
.p-insta-ph:nth-child(3n) { background: var(--insta-ph-3); }

/* 一番上の見せ方（?t=1〜3 のときだけ出る。2026-11-29 追加） */
.p-top { padding-block: clamp(2.5rem, 8vw, 4.5rem); background: var(--surface); border-bottom: var(--line); }
.p-top-big { font-size: clamp(1.8rem, 7vw, 3rem); line-height: 1.5; margin-bottom: 1rem; }
.p-top-text { max-width: 38em; }
.p-top-prices { display: grid; gap: 0; max-width: 560px; margin: 1.25rem 0 0; padding: 0; list-style: none; border-top: var(--line); }
.p-top-prices li { display: flex; justify-content: space-between; align-items: baseline; gap: 1rem; padding: .8rem 0; border-bottom: var(--line); }
.p-top-prices strong { font-family: var(--font-head); font-size: 1.4rem; white-space: nowrap; }
.p-top-prices small { font-size: 1rem; }
.p-top-price .p-btn { margin-top: .5rem; }
.p-top-buttons { display: grid; gap: .75rem; max-width: 560px; margin-top: 1.25rem; }
.p-top-buttons .p-btn { min-height: 60px; font-size: 1.1rem; }
@media (min-width: 760px) { .p-top-buttons { grid-template-columns: 1fr 1fr; max-width: 760px; } }

/* ペットホテル：お泊まりのご案内・空室カレンダー（2026-11-29 追加） */
.p-hotel-times { display: grid; grid-template-columns: 1fr 1fr; gap: .75rem; max-width: 560px; margin: 0 0 1.5rem; }
.p-hotel-times div { padding: 1rem; background: var(--surface); border: var(--line); border-radius: var(--radius); }
.p-hotel-times dt { color: var(--muted); }
.p-hotel-times dd { margin: 0; font-family: var(--font-head); font-size: 1.4rem; font-weight: 700; }
.p-hotel-lists { display: grid; gap: 1rem; }
.p-hotel-box { padding: 1.1rem 1.25rem; background: var(--surface); border: var(--line); border-radius: var(--radius); }
.p-hotel-box h3 { margin-bottom: .4rem; }
.p-hotel-box ul { margin: 0; padding-left: 1.2rem; }
@media (min-width: 760px) { .p-hotel-lists { grid-template-columns: 1fr 1fr; } }
.p-vac td { padding: .35rem 0; vertical-align: top; line-height: 1.3; }
.p-vac-day, .p-vac-mark { display: block; }
.p-vac-mark { font-weight: 700; }
.p-vac .is-ok .p-vac-mark { color: var(--ok); }
.p-vac .is-few .p-vac-mark { color: var(--few); }
.p-vac .is-full, .p-vac .is-off { color: var(--muted); }
.p-vac .is-full .p-vac-mark, .p-vac .is-off .p-vac-mark { font-weight: 400; }

/* スクロールで出る動き（body に rv-auto があるデザインだけ。出方は各デザインの変数で変える。2026-11-29 追加） */
.rv-on .rv-item { opacity: 0; transform: var(--rv-from, translateY(24px)); transition: opacity var(--rv-dur, .8s) ease calc(var(--rv-i, 0) * var(--rv-step, 90ms)), transform var(--rv-dur, .8s) var(--rv-ease, cubic-bezier(.2, .7, .2, 1)) calc(var(--rv-i, 0) * var(--rv-step, 90ms)); }
.rv-on .rv-item.rv-in { opacity: 1; transform: none; }
/* 横から入ってくる動きで、画面の横がはみ出さないように（clip はスクロールの枠を作らないので、sticky もそのまま動く） */
.rv-on main > * { overflow-x: clip; }
@media (prefers-reduced-motion: reduce) {
  .rv-on .rv-item { opacity: 1; transform: none; transition: none; }
}

/* 動物取扱業の表示（サロンとホテル。2026-11-29 追加） */
.p-dealer { margin-top: 1.25rem; padding: 1rem 1.1rem; background: var(--surface); border: var(--line); border-radius: var(--radius); }
.p-dealer-title { margin: 0 0 .5rem; font-weight: 700; }
.p-dealer dl { margin: 0; }
.p-dealer dl div { display: grid; grid-template-columns: 8.5em 1fr; gap: .5rem; padding: .2rem 0; border-top: 1px solid var(--rule); }
.p-dealer dt { color: var(--muted); }
.p-dealer dd { margin: 0; }
.p-dealer .p-note { margin: .5rem 0 0; }
@media (max-width: 400px) { .p-dealer dl div { grid-template-columns: 1fr; gap: 0; } }

/* ==== デザイン：hotel-day ==== */
/* hotel-day：ペットホテル × やさしい・ナチュラル「1日の過ごし方のタイムライン」
   技術：SVG の線が描かれていく（stroke-dasharray と stroke-dashoffset、IntersectionObserver）
   書体：Kiwi Maru ＋ 英字は Fraunces の斜体
   角：やわらかい角丸（18px）、写真は葉っぱのような形／線：タイムラインの1本の線と点
   色：下の「色」のところで、4つの系統ごとに決める（c なしは c=2） */
/* ==== 色（ここから） ==== */
/* 色は ?c= で4つの系統から（0 暖かい色／1 涼しい色／2 緑・自然の色／3 白黒・モノトーン）。このデザインだけの色。蛍光色は使わない */
/* c=0 暖かい色 */
:root[data-c="0"] .site-hotel-day {
  --bg: #f6eee6;
  --surface: #fbf8f5;
  --soft: #e7ded6;
  --soft-2: #ded5cd;
  --rule: #d0c7bf;
  --ink: #3a2a22;
  --muted: #695b53;
  --accent: #a14b2f;
  --accent-ink: #ffffff;
  --sub-ink: #9b492e;
  --focus: #1a5fb4;
  --ribbon-bg: #3a2a22;
  --ribbon-ink: #f6eee6;
  --closed-bg: #a14b2f;
  --closed-ink: #ffffff;
  --sun: #a3392e;
  --sat: #2f5c94;
  --ok: #286437;
  --few: #824d00;
  --avail-line: #d0c7bf;
  --map-bg: #e7ded6;
  --footer-bg: #3a2a22;
  --footer-ink: #f6eee6;
  --header-bg: #fbf8f5;
  --ph-before: #e7ded6;
  --ph-after: #ded5cd;
  --insta-ph-1: #e7ded6;
  --insta-ph-2: #ded5cd;
  --insta-ph-3: #eee6de;
  color-scheme: light;
}
/* c=1 涼しい色 */
:root[data-c="1"] .site-hotel-day {
  --bg: #eff4f5;
  --surface: #f9fbfb;
  --soft: #dee4e6;
  --soft-2: #d4dadc;
  --rule: #c5cdcf;
  --ink: #1e2f38;
  --muted: #526067;
  --accent: #36607a;
  --accent-ink: #ffffff;
  --sub-ink: #36607a;
  --focus: #1a5fb4;
  --ribbon-bg: #1e2f38;
  --ribbon-ink: #eff4f5;
  --closed-bg: #36607a;
  --closed-ink: #ffffff;
  --sun: #a3392e;
  --sat: #2f5c94;
  --ok: #2b6a3a;
  --few: #8a5200;
  --avail-line: #c5cdcf;
  --map-bg: #dee4e6;
  --footer-bg: #1e2f38;
  --footer-ink: #eff4f5;
  --header-bg: #f9fbfb;
  --ph-before: #dee4e6;
  --ph-after: #d4dadc;
  --insta-ph-1: #dee4e6;
  --insta-ph-2: #d4dadc;
  --insta-ph-3: #e7eced;
  color-scheme: light;
}
/* c=2 緑・自然の色（c なしのときもこの色） */
.site-hotel-day, :root[data-c="2"] .site-hotel-day {
  --bg: #f2eee4;
  --surface: #faf8f4;
  --soft: #e2dfd5;
  --soft-2: #d8d6cc;
  --rule: #cbcabf;
  --ink: #2d3829;
  --muted: #555e50;
  --accent: #3e5937;
  --accent-ink: #ffffff;
  --sub-ink: #3e5937;
  --focus: #1a5fb4;
  --ribbon-bg: #2d3829;
  --ribbon-ink: #f2eee4;
  --closed-bg: #3e5937;
  --closed-ink: #ffffff;
  --sun: #a3392e;
  --sat: #2f5c94;
  --ok: #286437;
  --few: #824d00;
  --avail-line: #cbcabf;
  --map-bg: #e2dfd5;
  --footer-bg: #2d3829;
  --footer-ink: #f2eee4;
  --header-bg: #faf8f4;
  --ph-before: #e2dfd5;
  --ph-after: #d8d6cc;
  --insta-ph-1: #e2dfd5;
  --insta-ph-2: #d8d6cc;
  --insta-ph-3: #eae7dd;
  color-scheme: light;
}
/* c=3 白黒・モノトーン */
:root[data-c="3"] .site-hotel-day {
  --bg: #f5f5f3;
  --surface: #fbfbfa;
  --soft: #e5e5e3;
  --soft-2: #dbdbd9;
  --rule: #cccccb;
  --ink: #2a2a2a;
  --muted: #60605f;
  --accent: #3d3d3d;
  --accent-ink: #ffffff;
  --sub-ink: #3d3d3d;
  --focus: #1a5fb4;
  --ribbon-bg: #2a2a2a;
  --ribbon-ink: #f5f5f3;
  --closed-bg: #3d3d3d;
  --closed-ink: #ffffff;
  --sun: #a3392e;
  --sat: #2f5c94;
  --ok: #2b6a3a;
  --few: #8a5200;
  --avail-line: #cccccb;
  --map-bg: #e5e5e3;
  --footer-bg: #2a2a2a;
  --footer-ink: #f5f5f3;
  --header-bg: #fbfbfa;
  --ph-before: #e5e5e3;
  --ph-after: #dbdbd9;
  --insta-ph-1: #e5e5e3;
  --insta-ph-2: #dbdbd9;
  --insta-ph-3: #ededeb;
  color-scheme: light;
}
/* ==== 色（ここまで） ==== */
.site-hotel-day {
  --radius: 18px; --radius-lg: 22px; --btn-radius: 18px;
  --font-body: "Kiwi Maru", serif; --font-head: "Kiwi Maru", serif; --font-en: "Fraunces", serif;
}
.site-hotel-day h1, .site-hotel-day h2, .site-hotel-day h3 { font-weight: 500; }
.site-hotel-day .p-eyebrow { font-style: italic; font-size: 1.15rem; letter-spacing: .04em; }
.site-hotel-day .p-menu-price { font-weight: 500; }

/* 一番上 */
.dy-hero { padding-block: clamp(2rem, 6vw, 4.5rem); }
.dy-hero-grid { display: grid; gap: 2rem; align-items: center; }
.dy-en { margin: 0 0 .25rem; font-family: var(--font-en); font-style: italic; font-size: 1.25rem; color: var(--muted); }
.dy-hero h1 { margin-bottom: 1rem; font-size: clamp(2rem, 8.5vw, 3.2rem); line-height: 1.45; }
.dy-hero-photo { width: 100%; aspect-ratio: 4 / 5; object-fit: cover; border-radius: 160px 18px 160px 18px; }

/* タイムライン */
.dy-timeline { position: relative; max-width: 760px; }
.dy-line { position: absolute; left: 3.35rem; top: .6rem; bottom: .6rem; width: 4px; height: calc(100% - 1.2rem); overflow: visible; }
.dy-line line { stroke: var(--accent); stroke-width: 2; stroke-dasharray: 1; stroke-dashoffset: 0; }
.dy-list { margin: 0; padding: 0; list-style: none; }
.dy-item { position: relative; display: grid; grid-template-columns: 3rem 1fr; gap: 1.25rem; padding-bottom: 1.75rem; }
.dy-item::before { content: ""; position: absolute; left: 3.05rem; top: .55rem; width: 14px; height: 14px; background: var(--bg); border: 2px solid var(--accent); border-radius: 50%; }
.dy-time { margin: 0; font-family: var(--font-en); font-style: italic; font-size: 1.05rem; color: var(--muted); text-align: right; padding-right: .2rem; }
.dy-item > div { padding-left: .9rem; }
.dy-item h3 { margin-bottom: .2rem; font-size: 1.2rem; }
.dy-item p { margin: 0; }
.dy-item img { width: min(100%, 360px); aspect-ratio: 3 / 2; margin-top: .75rem; object-fit: cover; border-radius: var(--radius-lg); }

/* 線がのびていく・点と文がふわっと出る */
.dy-motion .dy-line line { stroke-dashoffset: 1; }
.dy-motion .dy-timeline.is-in .dy-line line { stroke-dashoffset: 0; transition: stroke-dashoffset 2.8s ease-out; }
.dy-motion .dy-item { opacity: 0; transform: translateY(14px); }
.dy-motion .dy-item.is-in { opacity: 1; transform: none; transition: opacity .8s ease, transform .8s ease; }

@media (min-width: 880px) {
  .dy-hero-grid { grid-template-columns: 1fr 1fr; gap: 3.5rem; }
}
@media (prefers-reduced-motion: reduce) {
  .dy-motion .dy-line line { stroke-dashoffset: 0; }
  .dy-motion .dy-item { opacity: 1; transform: none; }
}

/* ==== 動き（2026-11-29 追加）：葉っぱがゆれて、左から順に ==== */
.site-hotel-day { --rv-from: translateX(-28px); --rv-dur: .9s; --rv-step: 110ms; --rv-ease: cubic-bezier(.2, .8, .3, 1); }
.dy-hero { position: relative; overflow: hidden; }
.dy-hero h1 span { display: block; }
.dy-leaf { position: absolute; z-index: 0; width: 46px; height: 46px; background: var(--accent); opacity: .18; border-radius: 0 100% 0 100%; pointer-events: none; }
.dy-leaf-1 { top: 8%; right: 6%; }
.dy-leaf-2 { top: 46%; left: -10px; width: 34px; height: 34px; }
.dy-leaf-3 { bottom: 6%; right: 38%; width: 28px; height: 28px; }
.dy-hero-grid { position: relative; z-index: 1; }
@media (prefers-reduced-motion: no-preference) {
  .dy-leaf { animation: dy-sway 9s ease-in-out infinite alternate; }
  .dy-leaf-2 { animation-duration: 12s; animation-delay: -4s; }
  .dy-leaf-3 { animation-duration: 10s; animation-delay: -2s; }
  .dy-en, .dy-hero h1 span, .dy-hero-grid > div > p:not(.dy-en), .dy-hero .p-btn { animation: dy-in .9s cubic-bezier(.2, .8, .3, 1) both; }
  .dy-hero h1 span:nth-child(1) { animation-delay: .12s; }
  .dy-hero h1 span:nth-child(2) { animation-delay: .24s; }
  .dy-hero-grid > div > p:not(.dy-en) { animation-delay: .36s; }
  .dy-hero .p-btn { animation-delay: .48s; }
  .dy-hero-photo { animation: dy-grow 1.4s cubic-bezier(.2, .8, .3, 1) .1s both; }
  /* タイムラインの写真は、少し寄りながら出る */
  .dy-motion .dy-item img { transform: scale(.9); opacity: 0; transition: transform 1.2s cubic-bezier(.2, .8, .3, 1) .2s, opacity 1s ease .2s; }
  .dy-motion .dy-item.is-in img { transform: none; opacity: 1; }
  .dy-motion .dy-item .dy-time { transform: translateX(-16px); transition: transform .8s ease; }
  .dy-motion .dy-item.is-in .dy-time { transform: none; }
}
@keyframes dy-sway { from { transform: translate(0, 0) rotate(-8deg); } to { transform: translate(-14px, 18px) rotate(14deg); } }
@keyframes dy-in { from { opacity: 0; transform: translateX(-24px); } to { opacity: 1; transform: none; } }
@keyframes dy-grow { from { opacity: 0; transform: scale(.9) rotate(-2deg); } to { opacity: 1; transform: none; } }
