@charset "UTF-8";

/* =========================================================
   form.css
========================================================= */

/* ---------------------------------
   Base
--------------------------------- */
#shop-reserve-form {
  max-width: 780px;
  margin: 0 auto;
  color: #333;
  line-height: 1.7;
}

#shop-reserve-form * {
  box-sizing: border-box;
}

/* ---------------------------------
   Section / Field
--------------------------------- */
.reserve-store-box{
  padding:14px 16px;
  border:1px solid var(--hm-line);
  border-radius:12px;
  background:#fff;
}
.reserve-flow-box{
  border:1px solid var(--hm-line);
  border-radius:14px;
  background:var(--hm-bg);
  padding:16px;
}
#shop-reserve-form input[readonly]{
  background:#fff;
  color:var(--hm-ink);
  font-weight:700;
  border:1px solid var(--hm-line);
}
.reserve-flow-box__divider{
  height:1px;
  margin:14px 0;
  background:var(--hm-line);
}
.reserve-store-box__label{
  display:block;
  margin-bottom:6px;
  font-size:12px;
  font-weight:700;
  color:var(--hm-muted);
}

.reserve-store-box__name{
  font-size:16px;
  font-weight:700;
  color:var(--hm-ink);
}

#shop-reserve-form .form-section+.form-section {
  margin-top: 40px;
}

#shop-reserve-form .form-section__title {
  margin: 0 0 20px;
  padding-bottom: 10px;
  border-bottom: 2px solid #e5e7eb;
  font-size: 22px;
  font-weight: 700;
  line-height: 1.4;
}

#shop-reserve-form .form-field+.form-field {
  margin-top: 24px;
}

#shop-reserve-form fieldset.form-field {
  margin: 0;
  padding: 0;
  border: 0;
}

#shop-reserve-form label,
#shop-reserve-form legend {
  display: block;
  margin-bottom: 8px;
  font-weight: 700;
  line-height: 1.5;
}

#shop-reserve-form .form-note {
  margin-left: 6px;
  font-size: 13px;
  font-weight: 400;
  color: #666;
}

.required {
    margin-right: 8px;
    font-size: 12px;
    color: #fff;
    background: #e60023;
    padding: 2px 6px;
    border-radius: 4px;
}

/* ---------------------------------
   Input
--------------------------------- */
#shop-reserve-form input[type="text"],
#shop-reserve-form input[type="email"],
#shop-reserve-form input[type="tel"],
#shop-reserve-form select,
#shop-reserve-form textarea {
  width: 100%;
  min-width: 0;
  padding: 12px 14px;
  border: 1px solid #cfd4dc;
  border-radius: 8px;
  background: #fff;
  font-size: 16px;
  line-height: 1.5;
  appearance: none;
}

#shop-reserve-form input[readonly] {
  background: #f7f7f7;
  color: #555;
}

#shop-reserve-form textarea {
  resize: vertical;
}

/* ---------------------------------
   Layout
--------------------------------- */
.form-grid-2 {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 12px;
}

.form-col {
  min-width: 0;
}

.form-col input {
  width: 100%;
}

.form-birth {
  display: grid;
  grid-template-columns: 1fr 1fr 1fr;
  gap: 10px;
}

.form-birth select {
  width: 100%;
}

.name-kana {
  margin-top: 10px;
}

/* ---------------------------------
   Check Buttons
--------------------------------- */
.form-check-buttons {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 10px;
}

.check-button {
  display: block;
  cursor: pointer;
}

.check-button input {
  position: absolute;
  opacity: 0;
  pointer-events: none;
}

.check-button span {
  display: flex;
  align-items: center;
  justify-content: center;
  min-height: 48px;
  padding: 12px 14px;
  border: 1px solid #cfd4dc;
  border-radius: 10px;
  background: #fff;
  font-weight: 700;
  line-height: 1.4;
  text-align: center;
  transition: 0.2s ease;
}

.check-button input:checked+span {
  border-color: #2f6fed;
  background: #eef4ff;
  color: #2f6fed;
}

.check-button input:focus-visible+span {
  outline: 2px solid #2f6fed;
  outline-offset: 2px;
}

/* ---------------------------------
   Error
--------------------------------- */
.form-error-message {
  margin: 6px 0 0;
  color: #d93025;
  font-size: 13px;
  line-height: 1.5;
}

.is-error {
  border-color: #d93025 !important;
  background: #fff8f8;
}

.is-error-group {
  padding: 10px;
  border-radius: 10px;
  background: #fff8f8;
}

/* ---------------------------------
   Consent
--------------------------------- */
.form-consent {
  margin-top: 30px;
}

.consent-check {
  display: flex;
  align-items: flex-start;
  gap: 10px;
  cursor: pointer;
  font-size: 14px;
  line-height: 1.6;
}

.consent-check input {
  margin-top: 3px;
}

.consent-check a {
  text-decoration: underline;
}

/* ---------------------------------
   Actions
--------------------------------- */
#shop-reserve-form .form-actions {
  margin-top: 40px;
}

#shop-reserve-form .form-actions button{
  display:inline-flex;
  align-items:center;
  justify-content:center;

  width:100%;
  min-height:56px;

  padding:14px 20px;

  border:0;
  border-radius:9999px;

  background:linear-gradient(
    135deg,
    #3F7AE0,
    #3568C8
  );

  color:#fff;
  font-size:16px;
  font-weight:700;

  cursor:pointer;

  transition:
    transform .12s ease,
    box-shadow .18s ease,
    opacity .2s ease;
}

#shop-reserve-form .form-actions button:hover{
  transform:translateY(-1px);
  box-shadow:0 10px 18px rgba(0,0,0,.12);
}

#shop-reserve-form .form-actions button:focus-visible,
#shop-reserve-form input:focus-visible,
#shop-reserve-form select:focus-visible,
#shop-reserve-form textarea:focus-visible {
  outline: 2px solid #2f6fed;
  outline-offset: 2px;
}

/* ---------------------------------
   Reserve Slots
--------------------------------- */
.reserve-slots {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 6px;
}

.reserve-box {
  background: var(--hm-bg);
  border: 1px solid var(--hm-line);
  border-radius: var(--hm-r);
  padding: 20px;
}

.reserve-lead {
  margin: 0 0 14px;
  color: #5f514b;
  line-height: 1.8;
  font-size: 15px;
}



.reserve-calendar-wrap::-webkit-scrollbar {
  height: 8px;
}

.reserve-calendar-wrap::-webkit-scrollbar-thumb {
  background: #d9cec8;
  border-radius: 999px;
}

.reserve-cell--corner,
.reserve-cell--head,
.reserve-cell--time {
  display: flex;
  align-items: center;
  justify-content: center;
  min-height: 44px;
  color: #6b5d57;
  font-size: 14px;
}

.reserve-cell--head,
.reserve-cell--time {
  font-weight: 700;
}

.reserve-summary {
  background: #fff;
  border: 1px solid var(--hm-line);
  border-radius: var(--hm-r);
  padding: 14px;
}

.reserve-summary__item+.reserve-summary__item {
  margin-top: 10px;
}

.reserve-summary__label {
  display: inline-block;
  min-width: 72px;
  font-size: 13px;
  font-weight: 700;
  color: #7b6f69;
}

.reserve-summary__value {
  color: #4f433e;
  font-size: 14px;
}

.reserve-reset {
  margin-top: 12px;
}

.reserve-reset button{
  appearance:none;
  border:1px solid var(--hm-cta);
  background:#fff;
  color:var(--hm-cta);
  border-radius:999px;
  padding:10px 16px;
  font-size:13px;
  line-height:1;
  font-weight:600;
  cursor:pointer;
  margin-top:14px;
  text-align:center;

  transition:
    background .18s ease,
    color .18s ease,
    border-color .18s ease,
    transform .12s ease,
    box-shadow .18s ease;
}

/* hover */
.reserve-reset button:hover{
  background:var(--hm-cta);
  color:#fff;
  border-color:var(--hm-cta);
  box-shadow:0 6px 14px rgba(0,0,0,.08);
  transform:translateY(-1px);
}

/* active */
.reserve-reset button:active{
  transform:translateY(0);
  box-shadow:none;
}

/* focus */
.reserve-reset button:focus-visible{
  outline:2px solid var(--hm-cta);
  outline-offset:2px;
}
.reserve-reset button::before{
  content:"↺";
  margin-right:6px;
  font-size:14px;
}
/* ---------------------------------
   Reserve Navigation
--------------------------------- */
.reserve-nav {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 10px;
  margin-bottom: 12px;
}

.reserve-nav__btn {
  appearance: none;
  border: 1px solid #ddcfc7;
  background: #fff;
  color: #6a5a53;
  border-radius: 999px;
  padding: 10px 14px;
  font-size: 13px;
  line-height: 1;
  white-space: nowrap;
}

.reserve-nav__label {
  flex: 1;
  text-align: center;
  font-weight: 700;
  color: #5f514b;
  font-size: 14px;
}

/* ---------------------------------
   Reserve Column Layout
--------------------------------- */
.reserve-columns {
  display: grid;
  gap: 10px;
  min-width: 760px;
}

.reserve-daycol {
  background: #fff;
  border: 1px solid var(--hm-line);
  border-radius: var(--hm-r);
  padding: 10px;
  box-shadow: var(--hm-sh);
}

/* 共通 */
.reserve-daycol__head{
  text-align:center;
  font-weight:700;
  font-size:14px;
  margin-bottom:10px;
  padding-bottom:8px;
  border-bottom:1px solid var(--hm-line);
  border-radius:6px;
}

/* 平日 */
.reserve-daycol__head{
  background:var(--hm-alt);
  color:var(--hm-sub);
}

/* 土曜 */
.reserve-daycol__head.is-sat{
  background:#EAF3FA;
  color:#2F6FA3;
}

/* 日曜 */
.reserve-daycol__head.is-sun{
  background:#FDECEC;
  color:#C23B3B;
}

.reserve-daycol__body {
  display: grid;
  gap: 8px;
}

/* ---------------------------------
   Reserve Button
--------------------------------- */
.reserve-slot{
  border:1px solid var(--hm-line);
  background:#fff;
  color:var(--hm-ink);

  border-radius:8px;
  min-height:42px;

  font-weight:600;

  transition:
    transform .15s ease,
    box-shadow .15s ease,
    background .15s ease;
}

.reserve-slot:hover{
  transform:translateY(-2px);
  box-shadow:0 6px 14px rgba(0,0,0,.08);
  background:var(--hm-alt);
}

.reserve-slot:disabled {
  background: #F3F4F6;
  color: var(--hm-muted);
  opacity: .7;
  cursor: not-allowed;
}

.reserve-slot.selected1,
.reserve-slot.selected2 {
  color: #fff;
  font-weight: 700;
  transform: translateY(-2px);
  box-shadow: 0 8px 16px rgba(0, 0, 0, 0.1);
}

.reserve-slot.selected1{
  background:var(--hm-main);
  border-color:var(--hm-main);
  color:#fff;
}

.reserve-slot.selected2{
  background:var(--hm-cta);
  border-color:var(--hm-cta);
  color:#fff;
}

.reserve-slot::after {
  background: rgba(255, 255, 255, .95);
  color: var(--hm-ink);
}

.reserve-slot.selected1::after,
.reserve-slot.selected2::after {
  content: attr(data-order);
  position: absolute;
  top: 5px;
  right: 6px;
  width: 18px;
  height: 18px;
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.96);
  color: #4f433e;
  font-size: 11px;
  font-weight: 700;
  display: flex;
  align-items: center;
  justify-content: center;
}

/* ---------------------------------
   Sticky Summary
--------------------------------- */
.reserve-sticky-summary {
  position: fixed;
  left: 0;
  right: 0;
  bottom: 0;
  z-index: 50;
  padding: 10px 12px calc(10px + env(safe-area-inset-bottom));
  opacity: 0;
  visibility: hidden;
  transform: translateY(16px);
  transition:
    opacity 0.28s ease,
    transform 0.28s ease,
    visibility 0.28s ease;
  pointer-events: none;
  backdrop-filter: blur(6px);
}

.reserve-sticky-summary.is-visible {
  opacity: 1;
  visibility: visible;
  transform: translateY(0);
  pointer-events: auto;
}

.reserve-sticky-summary__inner {
  background: rgba(255, 255, 255, .96);
  border: 1px solid var(--hm-line);
  border-radius: 12px;
  box-shadow: var(--hm-sh);
  padding:14px 14px 12px;
}
@media (min-width: 768px) {
  .reserve-sticky-summary {
    display: none;
  }
}
.reserve-sticky-summary__rows {
  display: grid;
  gap: 6px;
  margin-bottom: 10px;
}

.reserve-sticky-summary__item {
  display: flex;
  gap: 10px;
  align-items: flex-start;
  font-size: 13px;
  color: #5f514b;
}

.reserve-sticky-summary__label{
  flex:0 0 60px;
  font-weight:700;
  color:var(--hm-sub);
}

.reserve-sticky-summary__value {
  font-weight: 500;
  min-width: 0;
  color:var(--hm-ink);
}

.reserve-sticky-summary__reset{
  width:100%;
  appearance:none;

  border:1px solid var(--hm-cta);
  background:#fff;
  color:var(--hm-cta);

  border-radius:999px;
  padding:12px 16px;

  font-size:14px;
  font-weight:600;
  line-height:1;

  cursor:pointer;

  transition:
    background .18s ease,
    color .18s ease,
    border-color .18s ease,
    transform .12s ease,
    box-shadow .18s ease;
}

/* hover */
.reserve-sticky-summary__reset:hover{
  background:var(--hm-cta);
  color:#fff;
  border-color:var(--hm-cta);
  box-shadow:0 6px 14px rgba(0,0,0,.08);
  transform:translateY(-1px);
}

/* active */
.reserve-sticky-summary__reset:active{
  transform:translateY(0);
  box-shadow:none;
}

/* focus */
.reserve-sticky-summary__reset:focus-visible{
  outline:2px solid var(--hm-cta);
  outline-offset:2px;
}

/* ---------------------------------
   Responsive
--------------------------------- */
@media (max-width: 767px) {
  #shop-reserve-form .form-section+.form-section {
    margin-top: 32px;
  }

  #shop-reserve-form .form-section__title {
    margin-bottom: 16px;
    font-size: 20px;
  }

  #shop-reserve-form .form-field+.form-field {
    margin-top: 20px;
  }

  .form-grid-2 {
    grid-template-columns: 1fr 1fr;
    gap: 10px;
  }

  #shop-reserve-form input[type="text"],
  #shop-reserve-form input[type="email"],
  #shop-reserve-form input[type="tel"],
  #shop-reserve-form select,
  #shop-reserve-form textarea {
    padding: 11px 12px;
    font-size: 16px;
  }

  .form-check-buttons {
    grid-template-columns: 1fr 1fr;
  }

  .check-button span {
    min-height: 46px;
    padding: 11px 10px;
    font-size: 14px;
  }

  #shop-reserve-form .form-actions {
    margin-top: 32px;
  }

  .reserve-box {
    padding: 16px;
    padding-bottom: 90px;
    border-radius: 14px;
  }

  .reserve-cell--head,
  .reserve-cell--time {
    min-height: 40px;
    font-size: 13px;
  }

  .reserve-nav {
    gap: 8px;
  }

  .reserve-nav__btn {
    padding: 10px 12px;
    font-size: 12px;
  }

  .reserve-nav__label {
    font-size: 13px;
  }

  .reserve-columns {
    min-width: 840px;
    gap: 8px;
  }

  .reserve-daycol {
    padding: 8px;
    border-radius: 14px;
  }

  .reserve-daycol__head {
    font-size: 13px;
  }

  .reserve-slot {
    min-height: 40px;
    font-size: 13px;
  }
}


.reserve-slot.selected1,
.reserve-slot.selected2 {
  transform: translateY(-2px) scale(1.03);
}


.reserve-calendar{
  transition:transform .3s ease;
}

.reserve-columns{
  display:grid;
  gap:10px;
  min-width:max-content;
}

.reserve-nav{
  display:flex;
  align-items:center;
  justify-content:space-between;
  gap:10px;
  margin-bottom:12px;
}

.reserve-nav__btn{
  appearance:none;
  border:1px solid var(--hm-line);
  background:#fff;
  color:var(--hm-ink);
  border-radius:999px;
  padding:10px 14px;
  font-size:13px;
  line-height:1;
}

.reserve-nav__btn:disabled{
  opacity:.45;
  cursor:not-allowed;
}

.reserve-nav__label{
  flex:1;
  text-align:center;
  font-weight:700;
  color:var(--hm-sub);
  font-size:14px;
}



@media (max-width: 767px){
  .reserve-nav{
    display:none;
  }

  .reserve-calendar-window{
    overflow:visible;
  }

  .reserve-calendar-wrap{
    overflow-x:auto;
    -webkit-overflow-scrolling:touch;
    padding-bottom:6px;
  }

  .reserve-calendar{
    transform:none !important;
  }
}
.reserve-calendar-window{
  overflow:hidden;
  width:100%;
}
.reserve-calendar-wrap{
  position:relative;
}


.reserve-calendar{
  width:max-content;
  transition:transform .3s ease;
}

.reserve-columns{
  display:grid;
  grid-auto-flow:column;
  grid-auto-columns:96px;
  gap:10px;
  width:max-content;
}
.reserve-calendar-window{
  width:100%;
}

.reserve-calendar{
  width:max-content;
  transition:transform .3s ease;
}


.reserve-calendar-window{
  position:relative;
}
.reserve-calendar-window::after{
  content:"";
  position:absolute;
  top:0;
  right:0;
  width:40px;
  height:100%;
  background:linear-gradient(to right, rgba(255,255,255,0), #fff);
  pointer-events:none;
}
@media (min-width:768px){
  .reserve-calendar-window::after{
    display:none;
  }
}
.reserve-columns{
  display:grid;
  grid-auto-flow:column;
  grid-auto-columns:96px;
  gap:10px;
  width:max-content;
}

@media (min-width: 768px){
  .reserve-calendar-window{
    max-width:742px;
    overflow:hidden;
  }

  .reserve-calendar-wrap{
    overflow:hidden;
  }
}

@media (max-width: 767px){
  .reserve-nav{
    display:none;
  }

  .reserve-calendar-window{
    overflow:visible;
  }

  .reserve-calendar-wrap{
    overflow-x:auto;
    overflow-y:visible;
    -webkit-overflow-scrolling:touch;
    padding-bottom:6px;
  }

  .reserve-calendar{
    width:max-content;
    transform:none !important;
  }

  .reserve-columns{
    gap:0px;
    grid-auto-columns: 68px;
  }
}

.reserve-scroll-hint{
  position:absolute;
  right:20px;
  top:50%;
  transform:translateY(-60%);
  width:36px;
  height:36px;
  pointer-events:none;
  opacity:.85;
}

.reserve-scroll-hint span{
  display:block;
  width:100%;
  height:100%;
  position:relative;
}

.reserve-scroll-hint span::before,
.reserve-scroll-hint span::after{
  content:"";
  position:absolute;
  width:12px;
  height:12px;
  border-top:3px solid #999;
  border-right:3px solid #999;
  transform:rotate(45deg);
  opacity:0;
  right:0;
  top:50%;
  margin-top:-6px;
}

.reserve-scroll-hint span::before{
  animation:scrollArrow 1.2s infinite;
}

.reserve-scroll-hint span::after{
  animation:scrollArrow 1.2s infinite .4s;
}

@keyframes scrollArrow{
  0%{
    opacity:0;
    transform:translateX(0) rotate(45deg);
  }
  40%{
    opacity:1;
  }
  100%{
    opacity:0;
    transform:translateX(12px) rotate(45deg);
  }
}

@media (min-width:768px){
  .reserve-scroll-hint{
    display:none;
  }
}
.c-widget__title.-footer::before {
    z-index: 0;
}