/* =========================
   Reservation Form Layout
========================= */
main.container{
  max-width: 980px;
  padding: 48px 20px 80px;
}

main.container > form{
  background: #fff;
  border: 1px solid #e6e0d8;
  border-radius: 28px;
  padding: 56px 56px 40px;
  box-shadow: 0 0 0 1px rgba(255,255,255,.6) inset;
}

body{
  color: #3f3a35;
  font-family: 'EB Garamond', serif;
  letter-spacing: .1em;
}

/* =========================
   Step
========================= */
.text-center > .list-group{
  justify-content: center;
  gap: 12px;
  margin: 0 0 32px;
  padding: 0;
  background: transparent;
}

.list-group-horizontal-sm .list-group-item{
  flex: 0 1 auto;
  border: 1px solid #ddd5cb;
  padding: 12px 22px;
  background: #fff;
  color: #8b8175;
  font-size: 14px;
  letter-spacing: .08em;
}

.list-group-item-primary{
  background: #314238 !important;
  border-color: #314238 !important;
  color: #fff !important;
}

.list-group-item-light{
  background: #fff !important;
  color: #8b8175 !important;
}

/* =========================
   Reservation summary
========================= */
.table-responsive{
  margin: 0 0 36px !important;
}

.table{
  margin: 0;
  border: none;
  background: #faf8f5;
  border-radius: 18px;
  overflow: hidden;
}

.table thead th{
  border: none;
  background: transparent;
  color: #6f665d;
  font-size: 13px;
  font-weight: 500;
  letter-spacing: .08em;
  padding: 18px 24px 6px;
}

.table tbody td{
  border: none;
  background: transparent !important;
  padding: 0 24px 22px;
}

.table h3{
  margin: 0;
  font-size: 26px;
  line-height: 1.5;
  font-weight: 500;
  color: #2f2a25;
}

/* =========================
   Head message
========================= */
.alert{
  margin: 0 0 28px !important;
  padding: 0;
  border: 0;
  background: transparent;
  color: #6a6259;
  font-size: 14px;
  line-height: 1.9;
}

/* =========================
   Form fields
========================= */
.form-group{
  margin-bottom: 28px;
}

label,
.col-form-label{
  display: block;
  margin-bottom: 10px;
  color: #2f2a25;
  font-size: 15px;
  line-height: 1.8;
  font-weight: 500;
}

.require{
  margin-left: 4px;
  color: #7a6f63;
  font-weight: 400;
}

.form-control,
.custom_field_input,
.custom_field_select,
.input-pref,
.input-city,
.input-town,
textarea{
  width: 100%;
  min-height: 56px;
  padding: 14px 16px;
  border: 1px solid #d7d1c7;
  border-radius: 8px;
  background: #fff;
  color: #2f2a25;
  font-size: 16px;
  line-height: 1.5;
  box-shadow: none;
}

.form-control:focus,
.custom_field_input:focus,
.custom_field_select:focus,
.input-pref:focus,
.input-city:focus,
.input-town:focus,
textarea:focus{
  border-color: #8c8071;
  outline: none;
  box-shadow: 0 0 0 3px rgba(140,128,113,.12);
}

small.form-text.text-muted{
  margin-top: 8px;
  color: #8b8175 !important;
  font-size: 12px;
  line-height: 1.6;
  letter-spacing: .05em;
}

/* =========================
   Zip search row
========================= */
.form-inline{
  display: flex;
  align-items: center;
  gap: 12px;
  flex-wrap: wrap;
}

.input-zip{
  width: 240px !important;
  max-width: 100%;
}

.search-btn.btn{
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 56px;
  padding: 0 28px;
  border: 1px solid #d7d1c7;
  border-radius: 999px;
  background: #fff;
  color: #5b534b;
  font-size: 15px;
  text-decoration: none;
  transition: .25s ease;
}

.search-btn.btn:hover{
  background: #f7f4ef;
  color: #2f2a25;
  text-decoration: none;
}

/* =========================
   Address section
========================= */
.form-group.row{
  display: grid;
  grid-template-columns: 120px minmax(0, 1fr);
  align-items: center;
  gap: 14px;
  margin-left: 0;
  margin-right: 0;
}

.form-group.row .col-sm-2,
.form-group.row .col-sm-8{
  max-width: none;
  flex: none;
  padding: 0;
}

.input-pref{
  max-width: 240px;
}

/* =========================
   Optional sections
========================= */
.mt-5.alert{
  margin-top: 48px !important;
  padding-top: 32px;
  border-top: 1px solid #ece6de;
}

.border.p-3.m-3{
  margin: 40px 0 0 !important;
  padding: 20px 24px !important;
  border: 1px solid #e5dfd7 !important;
  border-radius: 14px;
  background: #fbfaf8;
}

.border.p-3.m-3 p{
  margin: 0;
  font-size: 12px !important;
  line-height: 1.9;
  color: #6e665e;
}

.border.p-3.m-3 a{
  color: #4b5d52;
  text-decoration: underline;
  text-underline-offset: 3px;
}

/* =========================
   Bottom buttons
========================= */
p.text-center{
  display: flex;
  justify-content: center;
  gap: 24px;
  margin: 40px 0 0;
}

p.text-center .btn,
p.text-center input[type="submit"]{
  min-width: 220px;
  min-height: 64px;
  padding: 0 32px;
  border-radius: 999px;
  font-size: 16px !important;
  letter-spacing: .08em;
  transition: .25s ease;
}

p.text-center .btn-light{
  display: inline-flex;
  align-items: center;
  justify-content: center;

  min-width: 220px;
  height: 64px;

  padding: 0 32px; 
  
  border: 1px solid #d9d2c8;
  background: #fff;
  color: #5d554d;

  font-size: 16px;
  line-height: 1; 
  letter-spacing: .08em;

  border-radius: 999px;
}

p.text-center .btn-light:hover{
  background: #f5f1ec;
}
p.text-center .btn-outline-secondary{
  border: 1px solid #314238;
  background: #314238;
  color: #fff;
}

p.text-center .btn-outline-secondary:hover{
  opacity: .92;
  color: #fff;
  background: #314238;
}

/* =========================
   Responsive
========================= */
@media (max-width: 767px){
  main.container{
    padding: 24px 16px 56px;
  }

  main.container > form{
    padding: 32px 20px 28px;
    border-radius: 20px;
  }

  .text-center > .list-group{
    gap: 8px;
    margin-bottom: 24px;
  }

  .list-group-horizontal-sm .list-group-item{
    width: 100%;
    text-align: center;
    font-size: 12px;
    padding: 10px 14px;
  }

  .table h3{
    font-size: 20px;
  }

  .form-group.row{
    grid-template-columns: 1fr;
    gap: 8px;
  }

  .input-pref{
    max-width: 100%;
  }

  .input-zip{
    width: 100% !important;
  }

  .search-btn.btn{
    width: 100%;
  }

  p.text-center{
    flex-direction: column-reverse;
    gap: 12px;
  }

  p.text-center .btn,
  p.text-center input[type="submit"]{
    width: 100%;
    min-width: 0;
    min-height: 56px;
  }
}
/* =========================
   Confirm Page Layout
========================= */
main.container{
  max-width: 980px;
  padding: 48px 20px 80px;
}

main.container > form{
  background: #fff;
  border: 1px solid #e6e0d8;
  border-radius: 28px;
  padding: 56px 56px 48px;
}

body{
  color: #3f3a35;
  font-family:
    "Hiragino Mincho ProN",
    "Yu Mincho",
    "YuMincho",
    serif;
}

/* =========================
   Step
========================= */
.text-center > .list-group{
  justify-content: center;
  gap: 14px;
  margin: 0 0 40px;
  padding: 0;
  background: transparent;
}

.list-group-horizontal-sm .list-group-item{
  flex: 0 1 auto;
  min-width: 190px;
  padding: 16px 24px;
  border: 1px solid #ddd5cb;
  border-radius: 2px !important;
  background: #fff;
  color: #8a7f73;
  font-size: 14px;
  line-height: 1.4;
  letter-spacing: .08em;
  text-align: center;
}

.list-group-item-primary{
  background: #314238 !important;
  border-color: #314238 !important;
  color: #fff !important;
}

.list-group-item-light{
  background: #fff !important;
  color: #8a7f73 !important;
}

/* =========================
   Reservation Summary
========================= */
.table-responsive.mt-3{
  margin-top: 0 !important;
  margin-bottom: 44px;
}

.table.table-striped{
  margin: 0;
  border: none;
  border-radius: 20px;
  overflow: hidden;
  background: #faf8f5;
}

.table.table-striped thead th{
  padding: 18px 28px 12px;
  border: none;
  background: #eef1f3;
  color: #6d655d;
  font-size: 13px;
  font-weight: 500;
  letter-spacing: .08em;
}

.table.table-striped tbody td{
  padding: 18px 28px 26px;
  border: none;
  background: #faf8f5 !important;
}

.table.table-striped h3{
  margin: 0;
  color: #2f2a25;
  font-size: 28px;
  line-height: 1.45;
  font-weight: 500;
  letter-spacing: .03em;
}

/* =========================
   Section heading
========================= */
.alert.alert-info{
  margin: 0 0 18px !important;
  padding: 0 0 14px;
  border: none;
  border-bottom: 1px solid #e7e0d8;
  border-radius: 0;
  background: transparent;
  color: #6a6056;
  font-size: 15px;
  line-height: 1.8;
  letter-spacing: .08em;
}

/* =========================
   Confirm Table
========================= */
.table.input-confirm-table{
  width: 100%;
  margin: 0;
  border: none;
  border-collapse: separate;
  border-spacing: 0;
  background: #fbfaf8;
  border-radius: 20px;
  overflow: hidden;
}

.table.input-confirm-table th,
.table.input-confirm-table td{
  padding: 18px 18px;
  border-top: 1px solid #e8e1d9;
  border-bottom: none;
  vertical-align: top;
  background: transparent;
}

.table.input-confirm-table tbody tr:first-child th,
.table.input-confirm-table tbody tr:first-child td{
  border-top: none;
}

.table.input-confirm-table th{
  width: 30%;
  min-width: 180px;
  color: #2f2a25;
  font-size: 15px;
  line-height: 1.8;
  font-weight: 600;
  white-space: normal !important;
}

.table.input-confirm-table td{
  color: #4b443d;
  font-size: 15px;
  line-height: 1.9;
  word-break: break-word;
}

/* ?o???Z???a?s?c?R?E?c?|?E?¢?a???E */
.table.input-confirm-table td:empty::before{
  content: "?\";
  color: #b2a79a;
}

/* =========================
   Note
========================= */
p.alert.alert-secondary{
  margin: 36px 0 0 !important;
  padding: 22px 24px !important;
  border: 1px solid #e5dfd7;
  border-radius: 14px;
  background: #fbfaf8;
  color: #6a6259;
  font-size: 13px !important;
  line-height: 2;
}

/* =========================
   Bottom buttons
========================= */
div.text-center:last-of-type{
  display: flex;
  justify-content: center;
  gap: 24px;
  margin-top: 36px;
}

div.text-center:last-of-type .btn,
div.text-center:last-of-type input[type="submit"]{
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-width: 220px;
  height: 64px;
  padding: 0 32px;
  border-radius: 999px;
  font-size: 16px !important;
  line-height: 1;
  letter-spacing: .08em;
  transition: .25s ease;
  box-shadow: none;
}

/* ?s?e */
div.text-center:last-of-type .btn-light{
  border: 1px solid #d9d2c8;
  background: #fff;
  color: #5d554d;
}

div.text-center:last-of-type .btn-light:hover{
  background: #f5f1ec;
  color: #5d554d;
}

/* ?2?\?n?m?e */
div.text-center:last-of-type .btn-outline-secondary{
  border: 1px solid #314238;
  background: #314238;
  color: #fff;
}

div.text-center:last-of-type .btn-outline-secondary:hover{
  background: #2c3b33;
  border-color: #2c3b33;
  color: #fff;
}

/* =========================
   Remove unnecessary spacing
========================= */
.mr-1,
.ml-1{
  margin: 0 !important;
}

/* =========================
   Responsive
========================= */
@media (max-width: 767px){
  main.container{
    padding: 24px 16px 56px;
  }

  main.container > form{
    padding: 32px 20px 28px;
    border-radius: 20px;
  }

  .text-center > .list-group{
    gap: 8px;
    margin-bottom: 28px;
  }

  .list-group-horizontal-sm .list-group-item{
    min-width: 0;
    width: 100%;
    padding: 12px 12px;
    font-size: 12px;
  }

  .table.table-striped thead th{
    padding: 14px 18px 10px;
  }

  .table.table-striped tbody td{
    padding: 16px 18px 18px;
  }

  .table.table-striped h3{
    font-size: 22px;
  }

  .table.input-confirm-table,
  .table.input-confirm-table tbody,
  .table.input-confirm-table tr,
  .table.input-confirm-table th,
  .table.input-confirm-table td{
    display: block;
    width: 100%;
  }

  .table.input-confirm-table tr{
    padding: 14px 0;
    border-top: 1px solid #e8e1d9;
  }

  .table.input-confirm-table tbody tr:first-child{
    border-top: none;
  }

  .table.input-confirm-table th,
  .table.input-confirm-table td{
    border: none;
    padding: 0;
  }

  .table.input-confirm-table th{
    margin-bottom: 6px;
    min-width: 0;
    font-size: 13px;
    color: #6b6259;
  }

  .table.input-confirm-table td{
    font-size: 15px;
    line-height: 1.9;
  }

  p.alert.alert-secondary{
    margin-top: 28px !important;
    padding: 18px 16px !important;
    font-size: 12px !important;
    line-height: 1.9;
  }

  div.text-center:last-of-type{
    flex-direction: column-reverse;
    gap: 12px;
  }

  div.text-center:last-of-type .btn,
  div.text-center:last-of-type input[type="submit"]{
    width: 100%;
    min-width: 0;
    height: 56px;
  }
}
.table.input-confirm-table{
  background: #fff; 
}

.table.input-confirm-table th,
.table.input-confirm-table td{
  background: #fff;
}
.table.table-striped{
  background: #faf8f5;
}

.table.table-striped thead th{
  background: transparent;
}

.table .thead-light th{
  background: transparent !important;
}


.table td.table-light{
  background: transparent !important;
}

.table{
  background: #faf8f5;
  border-radius: 20px;
  overflow: hidden;
}
/* =========================
   Custom Field Section
========================= */
.table{
  border-collapse: separate;
  border-spacing: 0;
}

.table th,
.table td{
  border: none;
  background: transparent;
  padding: 22px 0;
  vertical-align: top;
}

/* 行の区切り */
.table tr{
  border-bottom: 1px solid #e8e1d9;
}

.table tr:last-child{
  border-bottom: none;
}
.table th{
  width: 28%;
  min-width: 180px;

  font-size: 14px;
  line-height: 1.8;
  font-weight: 500;
  color: #2f2a25;

  padding-right: 24px;
}
.table td{
  width: 72%;
  font-size: 15px;
  line-height: 1.9;
  color: #4b443d;
}
.table td p{
  margin: 0;
}

.table td p + p{
  margin-top: 10px;
}
.custom_field_input,
.cstom_field_select,
.custom_field_textarea{
  width: 100%;
  min-height: 52px;
  padding: 12px 14px;

  border: 1px solid #d7d1c7;
  border-radius: 8px;
  background: #fff;

  font-size: 15px;
  line-height: 1.5;
  color: #2f2a25;

  appearance: none;
}

/* focus */
.custom_field_input:focus,
.cstom_field_select:focus,
.custom_field_textarea:focus{
  border-color: #8c8071;
  outline: none;
  box-shadow: 0 0 0 3px rgba(140,128,113,.12);
}
.cstom_field_select{
  background-image:
    linear-gradient(45deg, transparent 50%, #8c8071 50%),
    linear-gradient(135deg, #8c8071 50%, transparent 50%);
  background-position:
    calc(100% - 20px) calc(50% - 3px),
    calc(100% - 14px) calc(50% - 3px);
  background-size: 6px 6px;
  background-repeat: no-repeat;
}
.custom_field_textarea{
  min-height: 120px;
  resize: vertical;
}
.custom_field_radio{
  margin-right: 6px;
}

.custom_field_radio + label{
  margin-right: 20px;
  font-size: 14px;
  color: #4b443d;
  cursor: pointer;
}
.table td p:first-child{
  font-size: 13px;
  color: #7a6f63;
  line-height: 1.8;
}

.table tbody{
}


.table tbody th,
.table tbody td{
  background: #fff !important;
}

.custom_field_radio{
  margin: 0;
}


.custom_field_radio + label{
  display: inline-flex;
  align-items: center;
  gap: 8px;

  margin-right: 24px;
  font-size: 14px;
  line-height: 1;
  color: #4b443d;
  cursor: pointer;
}

.custom_field_radio{
  position: relative;
  top: 1px;
}
/* =========================
   Complete Page
========================= */
.table.mb-5 th,
.table.mb-5 td{
  padding: 20px 24px;
  border: none;
  vertical-align: middle;
}

.badge-light.pb-3{
  padding: 0 !important;
  margin: 0 0 36px;
  background: #fff !important;
  border: 1px solid #e5dfd7;
  border-radius: 18px;
  overflow: hidden;
}

.badge-light.pb-3 .table th,
.badge-light.pb-3 .table td{
  padding: 18px 22px;
  border: none;
  border-top: 1px solid #ece5dc;
  background: #fff !important;
  vertical-align: top;
}

.badge-light.pb-3 .table tr:first-child th,
.badge-light.pb-3 .table tr:first-child td{
  border-top: none;
}

p.text-center.mt-5 .btn,
p.text-center.mt-5 a.btn{
  display: inline-flex;
  align-items: center;
  justify-content: center;

  min-width: 220px;
  height: 64px;
  padding: 0 32px;

  border-radius: 999px;
  border: 1px solid #314238;
  background: #314238;
  color: #fff;

  font-size: 16px !important;
  line-height: 1;
  letter-spacing: .08em;
  text-decoration: none;
  transition: .25s ease;
}
/* =========================
   SHOWCASE SP対応
========================= */
@media (max-width: 767px){

  .row.border.m-1{
    display: flex;
    flex-direction: column-reverse; /* ←重要 */
    gap: 12px;
    padding: 20px 16px;
  }

  .row.border.m-1 .col-6{
    width: 100%;
    max-width: 100%;
    flex: none;
  }

  .row.border.m-1 .btn,
  .row.border.m-1 input[type="submit"]{
    width: 100%;
    min-width: 0;
    height: 56px;
  }
 .row.border.m-1 .col-6{
    margin: 0 !important;
    padding: 0;
  }

  .row.border.m-1{
    gap: 16px; 
    padding: 20px 16px;
  }
}
/* =========================
   郵便番号欄
========================= */
.form-group .form-inline{
  display: flex;
  align-items: center;
  gap: 10px;
  flex-wrap: nowrap;
}

.form-group .form-inline .input-zip{
  width: auto !important;   /* inline style="width:60%" を上書き */
  flex: 1 1 auto;
  min-width: 0;
}

.form-group .form-inline .search-btn{
  flex: 0 0 auto;
  min-height: 48px;
  padding: 0 16px;

  border: 1px solid #d9d2c8;
  border-radius: 999px;
  background: #fff;
  color: #7a6f63;

  font-size: 13px;
  line-height: 1;
  letter-spacing: .06em;
  text-decoration: none;

  box-shadow: none;
  transition: .2s ease;
}

.form-group .form-inline .search-btn:hover{
  background: #f5f1ec;
  color: #5d554d;
  text-decoration: none;
}

/* Bootstrapの primary 感を消す */
.form-group .form-inline .btn.btn-primary.search-btn{
  border-color: #d9d2c8;
  background: #fff;
  color: #7a6f63;
}

/* SP */
@media (max-width: 767px){
  .form-group .form-inline{
    gap: 8px;
  }

  .form-group .form-inline .input-zip{
    min-width: 0;
  }

  .form-group .form-inline .search-btn{
    min-height: 44px;
    padding: 0 12px;
    font-size: 12px;
    white-space: nowrap;
  }
}
@media (max-width: 767px){
  .form-group .form-inline{
    display: flex;
    align-items: center;
    gap: 8px;
    flex-wrap: nowrap;
  }

  .form-group .form-inline .input-zip{
    width: auto !important;
    flex: 1 1 0;
    min-width: 120px;
  }

  .form-group .form-inline .search-btn{
    flex: 0 0 124px;
    min-width: 124px;
    max-width: 124px;
    min-height: 44px;
    padding: 0 10px;
    font-size: 12px;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
  }
}