/* 事業所サイト（soraize）の見た目。スマホを基本にして、広い画面で広げる。 */
:root {
  --sky: #bee2f7;
  --sky-pale: #e6f4fc;
  --navy: #1d4e78;
  --blue: #1b78b8;
  --text: #26445a;
  --sub: #3a566e;
  --line: #cfe3f3;
  --sun: #ffb44d;
  --sun-bg: #fff1c9;
  --pink: #ff8fab;
  --pink-bg: #ffe6ec;
  --mint: #4fc79a;
  --mint-bg: #dcf5ea;
  --warn-bg: #fff3c4;
  --warn-text: #5a4300;
  --err: #a31d1d;
  --font: 'Hiragino Maru Gothic ProN', 'Hiragino Sans', 'Yu Gothic UI', 'Yu Gothic', 'BIZ UDPGothic', Meiryo, sans-serif;
  --head-h: 64px;
}
* { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-padding-top: calc(var(--head-h) + 12px); }
body {
  margin: 0; background: #fff; color: var(--text); font-family: var(--font);
  font-size: 17px; line-height: 1.9; letter-spacing: 0.03em; padding-bottom: 76px;
}
body.nav-open { overflow: hidden; }
img, svg { max-width: 100%; }
a { color: var(--navy); }
a:hover { color: var(--blue); }
:focus-visible { outline: 3px solid var(--blue); outline-offset: 3px; }
.skip { position: absolute; left: -999px; top: 0; background: #fff; padding: 8px 16px; z-index: 100; }
.skip:focus { left: 8px; top: 8px; }
.wrap { width: 100%; max-width: 1040px; margin: 0 auto; padding: 0 20px; }
.todo { background: var(--warn-bg); color: var(--warn-text); padding: 0 6px; border-radius: 6px; font-weight: 700; }
ruby rt { font-size: 0.55em; letter-spacing: 0; }

/* ===== ヘッダー（画面の上に固定） ===== */
.head {
  position: fixed; top: 0; left: 0; right: 0; z-index: 60; height: var(--head-h);
  background: var(--sky); box-shadow: 0 2px 10px rgba(29, 78, 120, 0.12);
}
.head-in { height: 100%; display: flex; align-items: center; justify-content: space-between; }
.brand { display: flex; align-items: center; gap: 10px; text-decoration: none; color: var(--navy); font-weight: 700; min-width: 0; }
.brand-mark { flex-shrink: 0; }
.brand-text { display: flex; flex-direction: column; line-height: 1.3; min-width: 0; }
.brand-small { font-size: 12px; font-weight: 500; }
.brand-name { font-size: 17px; letter-spacing: 0.04em; }
.menu-btn {
  min-width: 56px; min-height: 44px; padding: 0 14px; border: 2px solid var(--navy); border-radius: 12px;
  background: #fff; color: var(--navy); font: inherit; font-weight: 700; font-size: 14px; cursor: pointer;
}
.nav { display: none; }
.nav ul { list-style: none; margin: 0; padding: 0; }
.nav a { display: block; padding: 15px 20px; text-decoration: none; color: var(--navy); font-weight: 700; border-bottom: 1px solid rgba(255, 255, 255, 0.7); }
.nav a[aria-current='page'] { box-shadow: inset 5px 0 0 var(--sun); background: rgba(255, 255, 255, 0.45); }
.nav.is-open {
  display: block; position: fixed; left: 0; right: 0; top: var(--head-h); bottom: 0; overflow-y: auto;
  background: var(--sky);
}

/* ===== スマホで常に押せる「見学・お問い合わせ」ボタン ===== */
.fab-bar {
  position: fixed; left: 0; right: 0; bottom: 0; z-index: 55; padding: 10px 16px calc(10px + env(safe-area-inset-bottom));
  background: rgba(255, 255, 255, 0.96); box-shadow: 0 -4px 14px rgba(29, 78, 120, 0.14);
}
.fab-bar .btn { width: 100%; min-height: 52px; }

/* ===== ボタン ===== */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 8px; min-height: 52px; padding: 10px 30px;
  border: 0; border-radius: 999px; background: var(--sun); color: #3b2a00; font: inherit; font-size: 17px; font-weight: 700;
  text-decoration: none; cursor: pointer; box-shadow: 0 4px 0 #e08f1f;
}
.btn:hover { color: #3b2a00; background: #ffc069; }
.btn-blue { background: var(--blue); color: #fff; box-shadow: 0 4px 0 #14587f; }
.btn-blue:hover { background: var(--navy); color: #fff; }
.btn-line { background: #fff; color: var(--navy); box-shadow: inset 0 0 0 2px var(--navy); }
.btn-line:hover { background: var(--sky-pale); color: var(--navy); }
.btn[disabled] { opacity: 0.6; cursor: wait; }
.actions { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 24px; }

/* ===== ヒーロー（ページの最初） ===== */
.hero { position: relative; overflow: hidden; background: linear-gradient(180deg, var(--sky) 0%, var(--sky-pale) 100%); padding-top: var(--head-h); }
.hero-art { position: absolute; left: 0; right: 0; bottom: 0; width: 100%; height: 210px; pointer-events: none; }
.hero-page .hero-art { display: none; }
.hero-in { position: relative; padding: 34px 20px 230px; max-width: 1040px; margin: 0 auto; }
.badge-row { display: flex; flex-wrap: wrap; gap: 8px; margin: 0 0 18px; padding: 0; list-style: none; }
.badge { display: inline-block; padding: 4px 14px; border-radius: 999px; background: #fff; color: var(--navy); font-size: 14px; font-weight: 700; box-shadow: inset 0 0 0 2px var(--navy); }
.badge-sun { background: var(--sun-bg); box-shadow: inset 0 0 0 2px var(--sun); }
.hero h1 { margin: 0 0 14px; font-size: clamp(30px, 8vw, 54px); line-height: 1.45; letter-spacing: 0.04em; color: var(--navy); }
.hero .sub { margin: 0 0 8px; font-size: clamp(18px, 4.6vw, 26px); font-weight: 700; color: var(--blue); line-height: 1.7; }
.hero .sub2 { margin: 0 0 20px; font-size: clamp(16px, 4vw, 20px); font-weight: 700; color: var(--text); }
.hero .note { margin: 0 0 22px; font-size: 15px; }
.hero-page .hero-in { padding: 26px 20px 44px; }
.hero-page h1 { font-size: clamp(28px, 7vw, 42px); margin-bottom: 10px; }
.hero-page .lead { margin: 0; font-size: 17px; max-width: 640px; }
.sticker {
  position: absolute; right: 14px; top: calc(var(--head-h) + 12px); width: 92px; height: 92px; border-radius: 50%; background: var(--pink);
  color: #fff; display: flex; align-items: center; justify-content: center; text-align: center; font-weight: 700; font-size: 17px;
  line-height: 1.25; transform: rotate(10deg); box-shadow: 0 4px 0 #e06684; z-index: 1;
}
.wave { display: block; width: 100%; height: 40px; margin-top: -1px; background: var(--sky-pale); }
.wave path { fill: #fff; }
.wave-pale path { fill: var(--sky-pale); }

@keyframes sway { 0%, 100% { transform: translateY(0) rotate(0deg); } 50% { transform: translateY(-8px) rotate(2deg); } }
@keyframes pop { 0%, 100% { transform: scale(1); } 50% { transform: scale(1.12); } }
.sway { animation: sway 5s ease-in-out infinite; transform-box: fill-box; transform-origin: center; }
.sway.d2 { animation-duration: 6.5s; animation-delay: -1.5s; }
.sway.d3 { animation-duration: 4.2s; animation-delay: -2.5s; }
.pop { animation: pop 3.2s ease-in-out infinite; transform-box: fill-box; transform-origin: center; }
@media (prefers-reduced-motion: reduce) {
  .sway, .pop { animation: none; }
  html { scroll-behavior: auto; }
}

/* ===== 本文 ===== */
main { display: block; }
.sec { padding: 44px 0; }
.sec-pale { background: var(--sky-pale); }
.sec-sun { background: var(--sun-bg); }
.sec h2 { margin: 0 0 8px; font-size: clamp(24px, 6vw, 32px); line-height: 1.5; color: var(--navy); letter-spacing: 0.05em; }
.sec h2::after { content: ''; display: block; width: 72px; height: 6px; margin-top: 8px; border-radius: 3px; background: linear-gradient(90deg, var(--blue) 0 33%, var(--sun) 33% 66%, var(--pink) 66% 100%); }
.sec h3 { margin: 28px 0 6px; font-size: 21px; line-height: 1.6; color: var(--navy); }
.sec p { margin: 0 0 14px; }
.lead-text { font-size: 18px; max-width: 720px; }
.small { font-size: 15px; color: var(--sub); }
ul.dots { margin: 0 0 14px; padding-left: 1.3em; }
ul.dots li { margin-bottom: 6px; }

.cards { display: grid; gap: 16px; margin-top: 22px; padding: 0; list-style: none; }
.card { background: #fff; border-radius: 22px; padding: 22px 20px; box-shadow: 0 0 0 2px var(--line); position: relative; }
.card h3 { margin: 10px 0 6px; font-size: 20px; }
.card p { margin: 0; font-size: 16px; }
.card-link { text-decoration: none; color: var(--text); display: block; height: 100%; }
.card-link:hover { box-shadow: 0 0 0 3px var(--sun); color: var(--text); }
.card-link .more { display: inline-block; margin-top: 10px; font-weight: 700; color: var(--blue); }
.bubble { width: 56px; height: 56px; border-radius: 50%; display: flex; align-items: center; justify-content: center; font-size: 26px; font-weight: 700; color: var(--navy); }
.bubble-blue { background: var(--sky); }
.bubble-sun { background: var(--sun-bg); }
.bubble-pink { background: var(--pink-bg); }
.bubble-mint { background: var(--mint-bg); }

.photo-slot {
  min-height: 190px; border-radius: 22px; border: 3px dashed #7cc6ee; background: #fff; display: flex; align-items: center;
  justify-content: center; text-align: center; padding: 16px; color: var(--sub); font-size: 15px; font-weight: 700;
}
.photo-slot small { display: block; font-weight: 500; }

.kids { background: var(--mint-bg); border-radius: 26px; padding: 24px 20px; margin-top: 8px; }
.kids h2::after { display: none; }
.kids p { font-size: 19px; }

.steps { list-style: none; margin: 22px 0 0; padding: 0; display: grid; gap: 14px; counter-reset: s; }
.steps li { position: relative; background: #fff; border-radius: 20px; padding: 16px 16px 16px 76px; box-shadow: 0 0 0 2px var(--line); }
.steps li::before {
  counter-increment: s; content: counter(s); position: absolute; left: 16px; top: 16px; width: 44px; height: 44px; border-radius: 50%;
  background: #fff; box-shadow: inset 0 0 0 4px var(--blue); color: var(--blue); font-weight: 700; font-size: 20px;
  display: flex; align-items: center; justify-content: center;
}
.steps b { display: block; font-size: 19px; color: var(--navy); }
.steps span { font-size: 16px; }

.timeline { list-style: none; margin: 20px 0 0; padding: 0; }
.timeline li { position: relative; display: grid; grid-template-columns: 96px 1fr; gap: 6px 14px; padding: 0 0 22px 28px; border-left: 4px solid var(--sky); margin-left: 10px; }
.timeline li::before { content: ''; position: absolute; left: -12px; top: 4px; width: 20px; height: 20px; border-radius: 50%; background: var(--sun); box-shadow: 0 0 0 4px #fff; }
.timeline li:last-child { border-left-color: transparent; padding-bottom: 0; }
.tl-time { font-weight: 700; color: var(--blue); font-size: 16px; }
.tl-body b { display: block; font-size: 18px; color: var(--navy); }
.tl-body span { font-size: 16px; }
.tabs-note { display: inline-block; margin: 0 0 6px; padding: 2px 14px; border-radius: 999px; background: var(--pink-bg); font-weight: 700; color: var(--navy); font-size: 14px; }

table.t { width: 100%; border-collapse: collapse; background: #fff; border-radius: 16px; overflow: hidden; font-size: 16px; }
table.t th, table.t td { padding: 12px 14px; border-bottom: 1px solid var(--line); text-align: left; vertical-align: top; }
table.t th { background: var(--sky-pale); color: var(--navy); white-space: nowrap; }
table.t tr:last-child td, table.t tr:last-child th { border-bottom: 0; }
.table-scroll { overflow-x: auto; border-radius: 16px; box-shadow: 0 0 0 2px var(--line); }
.table-scroll table.t { min-width: 640px; }
table.matrix td, table.matrix th { text-align: center; }
table.matrix td:first-child, table.matrix th:first-child { text-align: left; }
.mk { color: var(--blue); font-weight: 700; font-size: 20px; }

dl.info { margin: 0; display: grid; gap: 0; background: #fff; border-radius: 18px; box-shadow: 0 0 0 2px var(--line); overflow: hidden; }
dl.info div { display: grid; grid-template-columns: 1fr; padding: 12px 16px; border-bottom: 1px solid var(--line); }
dl.info div:last-child { border-bottom: 0; }
dl.info dt { font-weight: 700; color: var(--navy); font-size: 15px; }
dl.info dd { margin: 0; }

.fees { display: grid; gap: 12px; margin: 16px 0; }
.fee { background: #fff; border-radius: 20px; padding: 14px 18px; box-shadow: 0 0 0 2px var(--line); }
.fee .yen { font-size: 28px; font-weight: 700; color: var(--blue); line-height: 1.4; }
.fee .who { font-size: 15px; }

details.faq { background: #fff; border-radius: 18px; box-shadow: 0 0 0 2px var(--line); margin-bottom: 12px; }
details.faq summary { cursor: pointer; list-style: none; padding: 16px 52px 16px 18px; font-weight: 700; color: var(--navy); position: relative; min-height: 52px; }
details.faq summary::-webkit-details-marker { display: none; }
details.faq summary::before { content: 'Q'; display: inline-flex; width: 28px; height: 28px; margin-right: 10px; border-radius: 50%; background: var(--blue); color: #fff; align-items: center; justify-content: center; font-size: 15px; }
details.faq summary::after { content: '＋'; position: absolute; right: 18px; top: 14px; font-size: 22px; color: var(--blue); }
details.faq[open] summary::after { content: '－'; }
details.faq .ans { padding: 0 18px 18px 56px; margin: 0; }

.callout { background: var(--sun-bg); border-radius: 22px; padding: 22px 20px; margin: 22px 0; }
.callout h3 { margin-top: 0; }
.cta { background: var(--sky); border-radius: 28px; padding: 30px 22px; text-align: center; }
.cta h2 { text-align: center; }
.cta h2::after { margin-left: auto; margin-right: auto; }

/* ===== フォーム ===== */
.form { display: grid; gap: 22px; }
.group { margin: 0; padding: 18px 18px 22px; min-width: 0; border: 2px solid var(--line); border-radius: 22px; background: #fff; }
.group legend { padding: 0 12px; margin-left: -4px; font-size: 19px; font-weight: 700; color: var(--navy); }
.grid2 { display: grid; gap: 20px; }
.field label, .field .field-label { display: block; font-weight: 700; color: var(--navy); margin-bottom: 6px; }
.req, .opt { margin-left: 8px; font-size: 12px; font-weight: 700; padding: 1px 8px; border-radius: 999px; }
.req { background: var(--blue); color: #fff; }
.opt { background: var(--sky-pale); color: var(--sub); }
input[type='text'], input[type='email'], input[type='tel'], select, textarea {
  width: 100%; min-height: 50px; padding: 10px 14px; font: inherit; font-size: 17px; color: var(--text);
  background: #fff; border: 2px solid #9cc4e0; border-radius: 14px;
}
textarea { min-height: 180px; resize: vertical; line-height: 1.7; }
[aria-invalid='true'] { border-color: var(--err) !important; }
.hint { margin: 6px 0 0; font-size: 14px; color: var(--sub); }
.err { margin: 6px 0 0; font-size: 15px; font-weight: 700; color: var(--err); }
.chips { display: flex; flex-wrap: wrap; gap: 10px; }
.chip { position: relative; display: block; margin: 0; }
.chip input { position: absolute; opacity: 0; inset: 0; width: 100%; height: 100%; margin: 0; cursor: pointer; }
.chip span { display: flex; align-items: center; min-height: 50px; padding: 8px 20px; border-radius: 999px; border: 2px solid #9cc4e0; background: #fff; color: var(--navy); font-weight: 700; }
.chip input:checked + span { background: var(--blue); border-color: var(--blue); color: #fff; }
.chip input:focus-visible + span { outline: 3px solid var(--blue); outline-offset: 3px; }
.check { display: flex; gap: 12px; align-items: flex-start; }
.check input { width: 26px; height: 26px; margin: 3px 0 0; flex-shrink: 0; accent-color: var(--blue); }
.check label { margin: 0; font-weight: 500; color: var(--text); }
.send { background: var(--sky-pale); border-radius: 22px; padding: 22px 18px 24px; display: grid; gap: 16px; }
.send .btn { width: 100%; min-height: 58px; font-size: 18px; }
.status { margin: 0; padding: 14px 18px; border-radius: 14px; font-weight: 700; }
.status:empty { display: none; }
.status.is-error { background: #fde8e8; color: var(--err); }
.trap { position: absolute; left: -9999px; width: 1px; height: 1px; overflow: hidden; }
.flow-mini { margin: 0 0 24px; }

/* ===== フッター ===== */
.foot { background: var(--navy); color: #fff; padding: 36px 0 30px; margin-top: 0; }
.foot a { color: #fff; }
.foot-grid { display: grid; gap: 22px; }
.foot h2 { margin: 0 0 8px; font-size: 16px; color: var(--sun); letter-spacing: 0.06em; }
.foot ul { list-style: none; margin: 0; padding: 0; }
.foot li a { display: inline-block; padding: 6px 0; font-size: 16px; }
.foot .org { font-size: 15px; line-height: 1.8; }
.foot .copy { margin: 24px 0 0; font-size: 13px; opacity: 0.85; }

/* ===== 広い画面 ===== */
@media (min-width: 640px) {
  .wrap, .hero-in { padding-left: 32px; padding-right: 32px; }
  .cards.c2, .cards.c3 { grid-template-columns: repeat(2, 1fr); }
  .grid2 { grid-template-columns: 1fr 1fr; gap: 22px 24px; }
  .field-wide { grid-column: 1 / -1; }
  .group { padding: 22px 28px 28px; }
  .send { padding: 28px 32px 30px; justify-items: center; }
  .send .field { justify-self: stretch; }
  .send .btn { width: auto; min-width: 340px; }
  .fees { grid-template-columns: repeat(3, 1fr); }
  dl.info div { grid-template-columns: 200px 1fr; gap: 16px; }
  .foot-grid { grid-template-columns: 1.4fr 1fr 1fr; }
  .sticker { width: 112px; height: 112px; font-size: 20px; right: 28px; top: calc(var(--head-h) + 20px); }
  .timeline li { grid-template-columns: 130px 1fr; }
}
@media (min-width: 960px) {
  :root { --head-h: 80px; }
  body { padding-bottom: 0; font-size: 18px; }
  .menu-btn { display: none; }
  .nav, .nav.is-open { display: block; position: static; background: none; overflow: visible; }
  .nav ul { display: flex; gap: 4px; }
  .nav a { padding: 10px 14px; border-bottom: 0; font-size: 15px; border-radius: 12px; }
  .nav a[aria-current='page'] { box-shadow: inset 0 -4px 0 var(--sun); background: none; border-radius: 0; }
  .nav a:hover { background: rgba(255, 255, 255, 0.55); }
  .fab-bar { display: none; }
  .cards.c3 { grid-template-columns: repeat(3, 1fr); }
  .cards.c4 { grid-template-columns: repeat(4, 1fr); }
  .hero-in { padding-top: 56px; padding-bottom: 90px; }
  .hero-page .hero-in { padding-top: 40px; padding-bottom: 70px; }
  .sec { padding: 64px 0; }
  .split { display: grid; grid-template-columns: 1.1fr 1fr; gap: 36px; align-items: center; }
  .steps.row { grid-template-columns: repeat(4, 1fr); }
  .steps.row li { padding: 70px 14px 16px; text-align: center; }
  .steps.row li::before { left: 50%; transform: translateX(-50%); top: 14px; }
}

.hero-actions { display: flex; flex-wrap: wrap; gap: 12px; margin: 0; }
.hero-actions .btn { min-width: 0; }
@media (max-width: 639px) { .hero-actions .btn { width: 100%; } }
.wave-spacer { height: 0; }

/* 広い画面: 飛行機雲とダンサーは、右側に置いて、文字の上を通らないようにする */
@media (min-width: 640px) {
  .hero-page .hero-art { display: block; left: auto; width: 46%; height: calc(100% - var(--head-h)); }
  .hero-page .hero-in { padding-bottom: 56px; }
}
@media (min-width: 960px) {
  .hero:not(.hero-page) .hero-art { left: auto; width: 56%; height: calc(100% - var(--head-h)); top: var(--head-h); }
  .hero:not(.hero-page) .hero-in { padding-bottom: 96px; }
  .hero:not(.hero-page) .hero-in > * { max-width: 560px; }
}
@media (min-width: 640px) {
  .hero-art { -webkit-mask-image: linear-gradient(to right, transparent 0, #000 24%); mask-image: linear-gradient(to right, transparent 0, #000 24%); }
}

/* 一日の流れ: 順番の数字の列を狭くする */
.timeline li { grid-template-columns: 30px 1fr; }
.tl-time { text-align: center; }
