
:host{
  --green:#3b7225; --green-d:#2c5719; --green-l:#eaf3e3; --green-ll:#f5f9f1;
  --yellow:#ffe100; --yellow-l:#fff8c4;
  --blue:#3fbbe9; --lime:#a8d04a;
  --text:#333; --muted:#777; --line:#e3e3dc; --bg:#fff; --bg2:#f7f7f2;
  --red:#d55656;
  --font:"Zen Kaku Gothic New","Zen Kaku Gothic Antique",sans-serif;
  --pop:"Darumadrop One",sans-serif;
}
*{box-sizing:border-box}
:host{margin:0}
:host{font-family:var(--font);color:var(--text);background:var(--bg);line-height:1.8;-webkit-font-smoothing:antialiased}
a{color:inherit}
button{font-family:inherit}
img{max-width:100%;display:block}

/* header (SORACO site) */
.s-header{position:sticky;top:0;z-index:50;background:#fff;border-bottom:1px solid #eee}
.s-header__in{max-width:1200px;margin:0 auto;display:flex;align-items:center;justify-content:space-between;padding:10px 24px;gap:20px}
.s-header__logo img{height:54px;width:auto}
.s-gnav{display:flex;gap:4px;list-style:none;margin:0;padding:0}
.s-gnav a{display:block;padding:8px 14px;text-decoration:none;font-weight:700;font-size:15px;border-radius:999px;transition:.2s}
.s-gnav a:hover{background:var(--green-l);color:var(--green)}
.s-gnav a.is-cur{color:var(--green)}
.s-menu{display:none;background:none;border:0;font-size:26px;cursor:pointer;color:var(--green)}
@media (max-width:959px){.s-gnav{display:none}.s-menu{display:block}.s-header__logo img{height:40px}}

/* page hero */
.s-pagehero{position:relative;height:260px;overflow:hidden;background:var(--green)}
.s-pagehero img{width:100%;height:100%;object-fit:cover;object-position:center 60%;opacity:.55}
.s-pagehero__t{position:absolute;inset:0;display:flex;flex-direction:column;align-items:center;justify-content:center;color:#fff;text-align:center;text-shadow:0 2px 12px rgba(0,0,0,.35)}
.s-pagehero__en{font-family:var(--pop);font-size:52px;line-height:1;letter-spacing:.02em}
.s-pagehero__ja{font-weight:900;font-size:20px;margin-top:8px;letter-spacing:.1em}
@media (max-width:600px){.s-pagehero{height:180px}.s-pagehero__en{font-size:36px}.s-pagehero__ja{font-size:16px}}

.s-container{max-width:1000px;margin:0 auto;padding:0 20px}
.s-h2{text-align:center;color:var(--green);font-weight:900;font-size:28px;margin:0 0 6px;letter-spacing:.04em}
.s-h2small{display:block;font-family:var(--pop);color:var(--yellow);-webkit-text-stroke:0;font-size:18px;text-shadow:none;margin-bottom:-4px}
.s-btn{display:inline-flex;align-items:center;justify-content:center;gap:8px;border:0;cursor:pointer;font-weight:900;font-size:17px;border-radius:999px;padding:14px 38px;transition:.2s;text-decoration:none}
.s-btn--main{background:var(--green);color:#fff;box-shadow:0 4px 0 var(--green-d)}
.s-btn--main:hover{transform:translateY(2px);box-shadow:0 2px 0 var(--green-d)}
.s-btn--main:disabled{background:#bbb;box-shadow:0 4px 0 #999;cursor:not-allowed;transform:none}
.s-btn--yellow{background:var(--yellow);color:var(--text);box-shadow:0 4px 0 #d9bf00}
.s-btn--ghost{background:#fff;color:var(--green);border:2px solid var(--green)}

/* footer */
.s-footer{background:var(--green);color:#fff;margin-top:80px;padding:48px 20px 28px;text-align:center}
.s-footer img{height:56px;margin:0 auto 14px;width:auto}
.s-footer small{opacity:.8;font-size:12px}
.s-footer__links{display:flex;gap:22px;justify-content:center;flex-wrap:wrap;font-size:14px;margin:14px 0 24px}
.s-footer__links a{text-decoration:none}

@media(max-width:959px){.s-gnav.mobile-open{display:flex;position:absolute;top:100%;left:0;right:0;background:#fff;flex-direction:column;padding:12px 20px;border-bottom:1px solid #eee}}
.s-btn:focus-visible,button:focus-visible,input:focus-visible{outline:3px solid #e28a00;outline-offset:3px}.s-btn:disabled{opacity:.5;cursor:not-allowed}.mail-status{font-size:13px;color:#777}

:host{display:flow-root}.rv-intro{text-align:center;padding:44px 0 10px}
.rv-intro p{margin:6px 0;font-weight:700}
.rv-notes{display:inline-block;text-align:left;background:var(--yellow-l);border-radius:14px;padding:14px 22px;margin-top:14px;font-size:14px;font-weight:700}
.rv-notes span{display:block}

/* steps */
.rv-steps{display:flex;justify-content:center;gap:0;margin:34px auto 30px;max-width:640px;list-style:none;padding:0;counter-reset:st}
.rv-steps li{flex:1;text-align:center;position:relative;font-size:13px;font-weight:700;color:#aaa}
.rv-steps li::before{counter-increment:st;content:counter(st);display:flex;align-items:center;justify-content:center;width:38px;height:38px;margin:0 auto 6px;border-radius:50%;background:#e8e8e2;color:#fff;font-family:var(--pop);font-size:20px;position:relative;z-index:1}
.rv-steps li::after{content:"";position:absolute;top:19px;left:50%;width:100%;height:3px;background:#e8e8e2}
.rv-steps li:last-child::after{display:none}
.rv-steps li.is-done{color:var(--green)}
.rv-steps li.is-done::before{background:var(--green)}
.rv-steps li.is-done::after{background:var(--green)}
.rv-steps li.is-cur{color:var(--green)}
.rv-steps li.is-cur::before{background:var(--yellow);color:var(--text);box-shadow:0 0 0 4px #fff5a6}

.rv-card{background:#fff;border:2px solid var(--green-l);border-radius:22px;padding:30px 32px;margin-bottom:24px}
@media (max-width:600px){.rv-card{padding:20px 14px;border-radius:16px}}
.rv-card h3{margin:0 0 18px;color:var(--green);font-size:20px;font-weight:900;display:flex;align-items:center;gap:10px}
.rv-card h3 .n{font-family:var(--pop);background:var(--green);color:#fff;width:32px;height:32px;border-radius:50%;display:inline-flex;align-items:center;justify-content:center;font-size:17px;font-weight:400}

/* calendar */
.cal-head{display:flex;align-items:center;justify-content:space-between;margin-bottom:12px}
.cal-head b{font-size:22px;font-weight:900}
.cal-nav{background:var(--green-l);color:var(--green);border:0;border-radius:999px;padding:6px 16px;font-weight:900;cursor:pointer}
.cal-nav:disabled{opacity:.35;cursor:default}
.cal{display:grid;grid-template-columns:repeat(7,minmax(0,1fr));gap:6px;height:auto;max-height:none;align-content:start}
.cal .wd{text-align:center;font-size:13px;font-weight:900;padding:4px 0}
.cal .wd.sun{color:var(--red)} .cal .wd.sat{color:#2f7fc1}
.cal .d{aspect-ratio:1/0.92;border:0;border-radius:12px;background:var(--green-ll);display:flex;flex-direction:column;align-items:center;justify-content:center;gap:0;cursor:pointer;font-weight:700;font-size:16px;color:var(--text);transition:.15s;line-height:1.2;padding:0}
.cal .d .m{font-size:15px;font-weight:900;color:var(--green)}
.cal .d.few .m{color:#e28a00}
.cal .d.full .m,.cal .d.off .m,.cal .d.past .m{color:#aaa}
.cal .d:hover:not(:disabled){background:var(--yellow-l)}
.cal .d.sel{background:var(--yellow);box-shadow:0 0 0 3px var(--green) inset}
.cal .d:disabled{background:#f3f3f0;color:#bbb;cursor:default}
.cal .d.sun{color:var(--red)} .cal .d.sat{color:#2f7fc1}
.cal .d.today::after{content:attr(data-today-label);font-size:9px;color:var(--green);font-weight:900}
.cal .blank{visibility:hidden}
.cal-legend{display:flex;gap:16px;justify-content:center;font-size:13px;margin-top:12px;color:var(--muted);flex-wrap:wrap}
.cal-legend b{color:var(--green)}

/* slots */
.slots{display:grid;grid-template-columns:repeat(var(--n,3),1fr);gap:12px}
@media (max-width:760px){.slots{grid-template-columns:1fr 1fr}}
@media (max-width:420px){.slots{grid-template-columns:1fr}}
.pat-badge{display:inline-block;background:#fff3d6;color:#a86500;font-size:12px;font-weight:900;border-radius:999px;padding:1px 10px;margin-left:8px;vertical-align:2px}
.sched{display:inline-block;text-align:left;margin:6px 0}
.sched div{font-weight:700}
.sched small{color:var(--green);font-weight:900;margin-right:6px}
.slot{border:2px solid var(--line);background:#fff;border-radius:16px;padding:16px 10px;text-align:center;cursor:pointer;transition:.15s}
.slot .no{font-size:24px;font-weight:900;color:var(--green);line-height:1}
.slot .tm{font-size:20px;font-weight:900;margin:6px 0 2px}
.slot .rm{font-size:13px;font-weight:700;color:var(--muted)}
.slot .rm b{color:var(--green);font-size:16px}
.slot.few .rm b{color:#e28a00}
.slot:hover:not(:disabled){border-color:var(--green)}
.slot.sel{border-color:var(--green);background:var(--yellow-l);box-shadow:0 0 0 2px var(--green) inset}
.slot:disabled{opacity:.45;cursor:not-allowed;background:#f6f6f3}
.rv-empty{text-align:center;color:var(--muted);padding:20px;font-weight:700;background:var(--bg2);border-radius:14px}

/* people */
.ppl{display:grid;gap:10px}
.ppl-row{display:flex;align-items:center;justify-content:space-between;gap:12px;padding:12px 16px;background:var(--green-ll);border-radius:14px;flex-wrap:wrap}
.ppl-row .lb b{font-size:17px}
.ppl-row .lb small{display:block;color:var(--muted);font-size:12px;line-height:1.4}
.ppl-row .pr{font-weight:900;color:var(--green);margin-left:auto;margin-right:14px}
.stepper{display:flex;align-items:center;gap:0;background:#fff;border-radius:999px;border:2px solid var(--green)}
.stepper button{width:40px;height:40px;border:0;background:none;font-size:22px;font-weight:900;color:var(--green);cursor:pointer}
.stepper button:disabled{color:#ccc;cursor:default}
.stepper span{min-width:34px;text-align:center;font-size:19px;font-weight:900}
.ppl-total{display:flex;justify-content:space-between;align-items:baseline;border-top:2px dashed var(--green-l);margin-top:14px;padding-top:14px;font-weight:900}
.ppl-total .yen{font-size:26px;color:var(--green)}
.ppl-total small{display:block;font-size:12px;color:var(--muted);font-weight:700}
.rv-warn{color:var(--red);font-weight:700;font-size:14px;margin-top:8px}

/* form */
.fm{display:grid;grid-template-columns:200px 1fr;gap:0;border-top:1px solid var(--line)}
.fm>label,.fm>div{padding:14px 10px;border-bottom:1px solid var(--line)}
.fm>label{font-weight:900;display:flex;align-items:center;gap:8px;background:var(--green-ll)}
.req{background:var(--red);color:#fff;font-size:11px;border-radius:4px;padding:1px 6px;font-weight:700}
.opt{background:#bbb;color:#fff;font-size:11px;border-radius:4px;padding:1px 6px;font-weight:700}
.fm input,.fm textarea,.fm select{width:100%;font:inherit;font-size:16px;padding:10px 12px;border:1.5px solid #ccc;border-radius:10px;background:#fff}
.fm input:focus,.fm textarea:focus{outline:none;border-color:var(--green);box-shadow:0 0 0 3px var(--green-l)}
.fm .err{color:var(--red);font-size:13px;font-weight:700;margin-top:4px}
@media (max-width:700px){.fm{grid-template-columns:1fr}.fm>label{border-bottom:0;padding-bottom:6px}}
.agree{margin:20px 0 0;background:var(--bg2);border-radius:14px;padding:16px 18px;font-size:14px}
.agree ul{margin:0 0 10px;padding-left:1.2em}
.agree label{font-weight:900;display:flex;gap:8px;align-items:center;cursor:pointer;font-size:16px}
.agree input{width:20px;height:20px;accent-color:var(--green)}

.rv-actions{display:flex;justify-content:center;gap:14px;margin:26px 0 0;flex-wrap:wrap}

/* confirm */
.cf{width:100%;border-collapse:collapse}
.cf th,.cf td{padding:12px 10px;border-bottom:1px solid var(--line);text-align:left;vertical-align:top}
.cf th{width:200px;background:var(--green-ll);font-weight:900}
@media (max-width:600px){.cf th{width:110px;font-size:14px}}

/* done */
.done{text-align:center;padding:10px 0}
.done img{width:180px;margin:0 auto}
.done .no{display:inline-block;font-family:var(--pop);font-size:34px;letter-spacing:.06em;background:var(--yellow);border-radius:14px;padding:6px 22px;margin:8px 0 6px}
.done h3{justify-content:center}
.flow{display:grid;grid-template-columns:repeat(3,1fr);gap:12px;margin-top:22px;text-align:left}
.flow div{background:var(--green-ll);border-radius:14px;padding:14px;font-size:14px;font-weight:700}
.flow b{display:block;color:var(--green);font-family:var(--pop);font-size:20px;font-weight:400}
@media (max-width:600px){.flow{grid-template-columns:1fr}}

/* lookup */
.lookup-link{text-align:center;margin-top:10px;font-weight:700;font-size:14px}
.lookup-link a{color:var(--green)}
.modal{position:fixed;inset:0;background:rgba(0,0,0,.45);display:none;align-items:center;justify-content:center;z-index:100;padding:16px}
.modal.on{display:flex}
.modal__b{background:#fff;border-radius:20px;max-width:520px;width:100%;padding:26px;max-height:90vh;overflow:auto}
.modal__b h3{margin:0 0 14px;color:var(--green)}
.modal__b input{width:100%;font:inherit;font-size:16px;padding:10px 12px;border:1.5px solid #ccc;border-radius:10px;margin-bottom:10px}
.toast{position:fixed;left:50%;bottom:28px;transform:translateX(-50%);background:var(--text);color:#fff;padding:12px 22px;border-radius:999px;font-weight:700;display:none;z-index:200}

:host{display:block;min-width:0;font-size:16px;text-align:left}button,input,select,textarea{font:inherit}

/* Keep field names and required markers from squeezing each other. */
.fm{grid-template-columns:minmax(250px,280px) minmax(0,1fr)}.fm>label{flex-wrap:nowrap;min-width:0}.fm .field-label-text{white-space:nowrap}.fm .req,.fm .opt{flex-shrink:0;white-space:nowrap}.fm>div{min-width:0}
@media(max-width:700px){.fm{grid-template-columns:minmax(0,1fr)}}

/* A slow pulse guides the next action without moving the button or hiding its text. */
@keyframes soraco-ready-pulse{0%,100%{opacity:1}50%{opacity:.72}}
.s-btn.is-ready:not(:disabled){animation:soraco-ready-pulse 1.8s ease-in-out infinite}
@media(prefers-reduced-motion:reduce){.s-btn.is-ready:not(:disabled){animation:none;outline:3px solid #719e4a;outline-offset:4px}}
@media print{.s-btn.is-ready{animation:none}}

/* Keep completed-action labels readable while retaining the existing pulse speed. */
.s-btn--main.is-ready:not(:disabled){color:var(--yellow)}
.s-btn--yellow.is-ready:not(:disabled){color:var(--green-d)}

/* Six-week months must grow naturally before the availability legend. */
.cal-legend{position:static;clear:both;min-width:0;line-height:1.5;padding-top:4px}
.cal-legend>span{display:inline-flex;align-items:flex-start;gap:4px;min-width:0;overflow-wrap:anywhere}
.cal-legend b{flex-shrink:0}
@media(max-width:600px){
 .cal{grid-auto-rows:auto;gap:5px}
 .cal .d{aspect-ratio:auto;min-width:0;min-height:56px;padding:6px 0;font-size:14px;line-height:1.25;border-radius:8px}
 .cal .d .m{max-width:100%;font-size:12px;line-height:1.3;overflow-wrap:anywhere}
 .cal .d .m[data-calendar-mark="休"]{font-size:clamp(9px,2.5vw,12px);white-space:nowrap;overflow-wrap:normal}
 .cal .d.today::after{line-height:1.3}
 .cal-legend{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));column-gap:10px;row-gap:8px;justify-content:start;justify-items:start;margin-top:18px;font-size:12px}
 .cal-legend>span:last-child{grid-column:1/-1}
 .cal-head{gap:6px;flex-wrap:wrap}
 .cal-head b{font-size:clamp(16px,4.5vw,22px)}
 .cal-nav{font-size:12px;padding:6px 10px}
}

/* Keep the consent text in one wrapping text column beside its checkbox. */
.agree label{align-items:flex-start}
.agree input{flex:0 0 20px;margin:4px 0 0}
.agree-text{display:block;flex:1;min-width:0;line-height:1.7;overflow-wrap:anywhere}
.agree-text a{display:inline;white-space:normal;text-decoration:underline;text-underline-offset:3px}
@media(max-width:700px){
 .ppl-row{display:grid;grid-template-columns:minmax(0,1fr) auto;grid-template-areas:"label label" "price counter";gap:10px 12px;padding:12px;align-items:center}
 .ppl-row .lb{grid-area:label;min-width:0;overflow-wrap:anywhere}
 .ppl-row .pr{grid-area:price;margin:0;white-space:nowrap;font-size:18px}
 .ppl-row .stepper{grid-area:counter;justify-self:end;flex-shrink:0}
 .ppl-total{flex-direction:column;align-items:stretch;gap:8px}
 .ppl-total .yen{align-self:flex-end}
 .agree{padding:14px 12px}
 .agree label{gap:10px;font-size:15px}
 .agree-guides,.agree-policy{display:block}
}
@media(max-width:360px){.ppl-row .stepper button{width:36px;height:40px}.ppl-row .stepper span{min-width:28px}}
