/* 料金シミュレーション（#yoyaku）。元の style.css とぶつからないよう、すべて .yk 配下・yk- 接頭辞 */
.yk {
  --yk-paper: #fffdf8; --yk-line: #e4dccd; --yk-ink: #2b2622; --yk-sub: #5c544d;
  --yk-gold: #f5ead2; --yk-shu: #f6e3da; --yk-shu-ink: #b8462a; --yk-ai: #2f5d7c; --yk-ai-soft: #e2ecf3;
  --yk-navy: #1B1464; --yk-green: #06c755; --yk-busy: #7b4fa0;
  background: #FAF6EA;
  color: var(--yk-ink);
  padding: 7rem 0 8rem;
  font-size: 1.5rem;
  line-height: 1.7;
  scroll-margin-top: 80px;
}
.yk *, .yk *::before, .yk *::after { box-sizing: border-box; }
.yk-head { text-align: center; padding: 0 1.6rem 3rem; }
.yk-en { margin: 0; font-size: 1.2rem; letter-spacing: .3em; color: #998C82; font-family: "Josefin Sans", sans-serif; }
.yk-head h2 { margin: .6rem 0 1rem; color: var(--yk-navy); }
.yk-head p { margin: 0; color: var(--yk-sub); }
.yk-wrap { max-width: 1120px; margin: 0 auto; padding: 0 1.6rem; display: grid; grid-template-columns: 1fr 360px; gap: 2.4rem; align-items: start; }
.yk-card { background: var(--yk-paper); border: 1px solid var(--yk-line); border-radius: 14px; padding: 2rem; margin-bottom: 1.6rem; }
.yk-step { display: flex; align-items: center; gap: 1rem; margin: 0 0 1.4rem; font-size: 1.7rem; letter-spacing: .05em; line-height: 1.4; font-weight: 700; }
.yk-step b { display: inline-grid; place-items: center; width: 2.8rem; height: 2.8rem; border-radius: 50%; background: var(--yk-navy); color: #fff; font-size: 1.4rem; flex: none; }

/* カレンダー */
.yk-cal-head { display: flex; justify-content: space-between; align-items: center; margin-bottom: .8rem; }
.yk-cal-head button { border: 1px solid var(--yk-line); background: #fff; border-radius: 8px; padding: .4rem 1.2rem; cursor: pointer; font: inherit; color: inherit; }
.yk-cal-head button:disabled { opacity: .35; cursor: default; }
.yk-month { font-size: 1.7rem; }
.yk-cal { display: grid; grid-template-columns: repeat(7, minmax(0, 1fr)); gap: .4rem; }
.yk-dow { text-align: center; font-size: 1.2rem; color: var(--yk-sub); padding: .2rem 0; }
.yk-dow.sun { color: var(--yk-shu-ink); } .yk-dow.sat { color: var(--yk-ai); }
.yk-day { border: 1px solid var(--yk-line); border-radius: 8px; min-height: 6.2rem; padding: .4rem .4rem .3rem; background: #fff; cursor: pointer;
  display: flex; flex-direction: column; justify-content: space-between; font: inherit; font-size: 1.3rem; color: inherit; position: relative; text-align: center; }
.yk-day.empty { border: none; background: none; cursor: default; }
.yk-day:disabled { cursor: not-allowed; }
.yk-day.past { opacity: .35; }
.yk-day .n { font-weight: 700; }
.yk-day.hol .n { color: var(--yk-shu-ink); }
.yk-day .h { font-size: .95rem; color: var(--yk-shu-ink); line-height: 1.1; }
.yk-day .p { font-size: 1.05rem; color: var(--yk-sub); line-height: 1.2; }
.yk-day.friSun { background: var(--yk-gold); }
.yk-day.premium { background: var(--yk-shu); }
.yk-day.season { box-shadow: inset 0 -3px 0 #e2a33b; }
.yk-day.busy::after { content: ""; position: absolute; top: 4px; right: 4px; width: 9px; height: 9px; border-radius: 50%; background: var(--yk-busy); }
.yk-day.full { background: #eee; color: #999; }
.yk-day.full .p { color: #999; font-weight: 700; }
.yk-day.sel { outline: 2px solid var(--yk-ink); outline-offset: -2px; }
.yk-day.in { outline: 2px dashed var(--yk-sub); outline-offset: -2px; }
.yk-day:focus-visible { outline: 3px solid var(--yk-ai); outline-offset: 1px; }
.yk-legend { display: flex; flex-wrap: wrap; gap: .6rem 1.4rem; margin-top: 1rem; font-size: 1.2rem; color: var(--yk-sub); }
.yk-legend i { display: inline-block; width: 1.2rem; height: 1.2rem; border-radius: 3px; margin-right: .4rem; vertical-align: -1px; border: 1px solid var(--yk-line); }
.yk-legend .lg-weekday { background: #fff; } .yk-legend .lg-frisun { background: var(--yk-gold); }
.yk-legend .lg-premium { background: var(--yk-shu); } .yk-legend .lg-season { background: #fff; box-shadow: inset 0 -3px 0 #e2a33b; }
.yk-legend .lg-full { background: #eee; }
.yk-legend .lg-semi, .yk-legend .lg-busy { border-radius: 50%; border: 0; width: 9px; height: 9px; } .yk-legend .lg-semi { background: #d08a2e; } .yk-legend .lg-busy { background: var(--yk-busy); }
.yk-note { font-size: 1.25rem; color: var(--yk-sub); margin: .8rem 0 0; }

/* 入力 */
.yk-row { display: flex; align-items: center; justify-content: space-between; gap: 1.2rem; padding: 1rem 0; border-bottom: 1px dashed var(--yk-line); }
.yk-row:last-child { border-bottom: none; }
.yk-lab small { display: block; color: var(--yk-sub); font-size: 1.2rem; }
.yk-stepper { display: flex; align-items: center; gap: .8rem; }
.yk-stepper button { width: 3.8rem; height: 3.8rem; border-radius: 50%; border: 1px solid var(--yk-line); background: #fff; font-size: 1.8rem; cursor: pointer; color: inherit; line-height: 1; }
.yk-stepper output { min-width: 2.2em; text-align: center; font-size: 1.8rem; font-weight: 700; }
.yk select { font: inherit; padding: .6rem 1rem; border-radius: 8px; border: 1px solid var(--yk-line); background: #fff; color: inherit; }
.yk-opt { display: flex; gap: 1rem; align-items: flex-start; padding: 1rem 0; border-bottom: 1px dashed var(--yk-line); cursor: pointer; }
.yk-opt:last-child { border-bottom: none; }
.yk-opt input { margin-top: .5rem; width: 1.8rem; height: 1.8rem; flex: none; }
.yk-opt small { display: block; color: var(--yk-sub); font-size: 1.2rem; }
.yk-price { margin-left: auto; white-space: nowrap; font-weight: 700; }

/* お見積り */
.yk-aside { position: sticky; top: 90px; }
.yk-sum h3 { font-size: 1.7rem; margin: 0 0 .4rem; font-weight: 700; letter-spacing: .05em; line-height: 1.5; }
.yk-when { font-size: 1.3rem; color: var(--yk-sub); margin-bottom: 1rem; }
.yk-lines { list-style: none; margin: 0; padding: 0; font-size: 1.35rem; }
.yk-lines li { display: flex; justify-content: space-between; gap: .8rem; padding: .5rem 0; border-bottom: 1px solid #f0eadf; }
.yk-lines li.night { font-weight: 700; border-bottom: none; padding-top: 1rem; }
.yk-lines li.night small { font-weight: 400; color: var(--yk-sub); }
.yk-lines li.sub { color: var(--yk-sub); padding-left: 1rem; }
.yk-total { display: flex; justify-content: space-between; align-items: baseline; margin-top: 1.2rem; padding-top: 1.2rem; border-top: 2px solid var(--yk-ink); }
.yk-total-num { font-size: 3rem; letter-spacing: .02em; }
.yk-total small { font-size: 1.2rem; color: var(--yk-sub); }
.yk-msg { background: var(--yk-ai-soft); color: var(--yk-ai); border-radius: 8px; padding: .8rem 1rem; font-size: 1.25rem; margin-top: 1rem; }
.yk-msg.warn { background: var(--yk-shu); color: var(--yk-shu-ink); }
.yk-linebtn { display: flex; justify-content: center; align-items: center; margin-top: 1.4rem; width: 100%; padding: 1.4rem; border-radius: 999px;
  background: var(--yk-green); color: #fff !important; font-size: 1.6rem; font-weight: 700; text-decoration: none; transition: opacity .3s; }
.yk-linebtn:hover { opacity: .85; }
.yk-fine { font-size: 1.15rem; color: var(--yk-sub); margin: .8rem 0 0; }

/* スマホ：合計を画面下に固定 */
.yk-bar { display: none; }
@media (max-width: 880px) {
  .yk-wrap { grid-template-columns: 1fr; }
  .yk-aside { position: static; }
  .yk-bar { display: flex; position: fixed; left: 0; right: 0; bottom: 0; z-index: 50; align-items: center; justify-content: space-between; gap: 1.2rem;
    padding: 1rem 1.6rem calc(1rem + env(safe-area-inset-bottom)); background: var(--yk-paper); border-top: 1px solid var(--yk-line); box-shadow: 0 -4px 16px rgba(0,0,0,.06); }
  .yk-bar small { display: block; color: var(--yk-sub); font-size: 1.2rem; }
  .yk-bar strong { font-size: 2.2rem; }
  .yk-bar a { background: var(--yk-navy); color: #fff; text-decoration: none; border-radius: 999px; padding: 1rem 1.8rem; font-size: 1.4rem; white-space: nowrap; }
}
@media (max-width: 520px) {
  .yk-card { padding: 1.6rem 1.2rem; }
  .yk-day { min-height: 5.2rem; padding: .3rem; }
  .yk-day .h { display: none; }
  .yk-day .p { font-size: 1rem; }
}

/* 2名様専用のプラン（月〜木・2名様のときだけ表示） */
.yk-pair { border: 1px solid var(--yk-line); border-radius: 12px; background: #fff; padding: 1.4rem 1.4rem .6rem; margin-bottom: 1.6rem; }
.yk-pair-lead { margin: 0 0 1rem; font-size: 1.3rem; color: var(--yk-sub); }
.yk-sub-title { margin: 1.2rem 0 .2rem; font-size: 1.3rem; font-weight: 700; }
.yk-plan input { accent-color: var(--yk-navy); }
.yk-opt small.yk-deal { color: var(--yk-shu-ink); font-weight: 700; }
.yk-opt.off { opacity: .45; }
.yk-opt[hidden], .yk-pair[hidden], .yk-relax[hidden] { display: none; }
/* リラクゼーション：受ける人数を選ぶ */
.yk-relax { margin-top: 1rem; border-top: 1px dashed var(--yk-line); }
.yk-sub-title small { margin-left: .8rem; font-weight: 400; color: var(--yk-sub); }
.yk-opt.yk-count { align-items: center; cursor: default; }
.yk-opt.yk-count select { margin-left: auto; flex: none; }
.yk-day.semi::after { content: ""; position: absolute; top: 4px; right: 4px; width: 9px; height: 9px; border-radius: 50%; background: #d08a2e; }
