@charset "UTF-8";

/* common */
body {
  font-family: "游ゴシック体", YuGothic, "游ゴシック Medium", "Yu Gothic Medium", "游ゴシック", "Yu Gothic", sans-serif;
  color: #333;
  font-size: 1rem;
  letter-spacing: .2rem;
  line-height: 2;
  margin: 0 auto;
  padding: 0;
  box-sizing: border-box;
  -webkit-box-sizing: border-box;
  width: 100%;
}

/* btn */
a {
  color: #333;
}

.btn a {
  color: #333;
  font-weight: 600;
  display: block;
  text-decoration: none;
  text-align: center;
  border: 1px solid #ddd;
  box-sizing: border-box;
  width: 100%;
  height: auto;
  padding: 1.5rem 1rem;
  transition: .4s ease-in;
}
.btn a:hover {
  background-color: #333;
  color: #fff;
  transition: .4s ease-in;
}

input[type="button"],
input[type="submit"] {
  width: 100%;
  background: #fff;
  border: 1px solid #ddd;
  color: #333;
  padding: 1.5rem 1rem;
  transition: .4s all;
}
input[type="button"]:hover,
input[type="submit"]:hover {
  background-color: #333;
  color: #fff;
  transition: .4s ease-in;
  cursor: pointer;
}

/* list */
ul {
  list-style: none;
  margin: 0;
  padding: 0;
}

/* highlight */
span.--red {
  color: #ff0000;
  /* display: inline-block; */
  font-weight: 600;
  text-decoration: underline;
}

/* closed-message */
.closed-msg {
  background-color: #fff;
  border: 1px solid #ddd;
  margin-bottom: 8rem;
  padding: 3rem;
}
.closed-ttl {
  font-size: 1.6rem;
  font-weight: 600;
  position: relative;
}
.closed-ttl::before {
  content: "";
  width: 10px;
  height: 10px;
  background: linear-gradient(135deg, #1a3a2a, #4a8a6a);
  border-radius: 2px;
  display: inline-block;
  margin-bottom: .05rem;
  margin-right: 1.25rem;
  opacity: .9;
  transform: rotate(45deg);
}
.closed-txt {
  margin-bottom: 2.5rem;
}

/* header.php */
.form-container {
  max-width: calc(100% - 30%);
  margin: 10rem auto 0;
  width: 100%;
}
.form-container > h1 {
  margin-bottom: 3rem;
  margin-top: 0;
  position: relative;
}
.form-container > h1::before {
  content: "";
  background: url(/img/logo-green.png) no-repeat center center / contain;
  width: 500px;
  height: 500px;
  opacity: .3;
  display: block;
  position: absolute;
  left: -20rem;
  top: -15rem;
  z-index: -1;
}
.form-container h2 {
  background: #F5F4F3;
  border-bottom: 4px solid #ECEBE8;
  border-left: 4px solid #1a3a2a;
  font-size: 1.4rem;
  padding: .5rem 1.5rem;
  margin-top: 0;
  margin-bottom: 2rem;
}
.form-box {
  margin-bottom: 5rem;
}
.form-box ul {
  width: 100%;
  height: 100%;
}
.form-box ul li {
  margin-bottom: 2.5rem;
}
.form-box ul li:last-child {
  margin-bottom: 0;
}
.form-box ul li h3 span {
  background-color: #DEF0EA;
  border-radius: 50%;
  color: #1a3a2a;
  font-size: 1rem;
  width: 50px;
  height: 50px;
  display: inline-block;
  margin-right: 1.5rem;
  text-align: center;
  vertical-align: middle;
  line-height: 50px;
}
.form-box ul li p {
  max-width: calc(100% - 5rem);
  width: 100%;
  margin-left: auto;
}
.form-note {
  background-color: #F1F9F6;
  padding: 1.5rem 3rem;
  margin-bottom: 8rem;
}
.form-note > h3 {
  color: #ff0000;
  font-weight: 600;
}
.form-note ul {
  list-style: none;
  padding: 0;
  margin: 0 0 1rem 0;
}
.form-note ul li {
  position: relative;
  padding: 0.25rem 0 0.25rem 2rem;
}
.form-note ul li::before {
  content: "";
  position: absolute;
  left: 0.5rem;
  top: 50%;
  transform: translate(-50%, -50%);
  width: 8px;
  height: 8px;
  border-radius: 50%;
  border: 1.5px solid transparent;
  background: linear-gradient(white, white) padding-box,
              linear-gradient(135deg, #1a3a2a, #4a8a6a) border-box;
  animation: dot-pulse 2s ease-in-out infinite;
}
.form-note ul li::after {
  content: "";
  position: absolute;
  left: 0.5rem;
  top: 50%;
  transform: translate(-50%, -50%);
  width: 13px;
  height: 13px;
  border-radius: 50%;
  border: .75px solid rgba(26, 58, 42, 0.3);
  animation: ring-pulse 2s ease-in-out infinite;
}
@keyframes dot-pulse {
  0%, 100% { opacity: 1; }
  50%       { opacity: 0.3; }
}
@keyframes ring-pulse {
  0%, 100% { opacity: 0.3; transform: translate(-50%, -50%) scale(1); }
  50%       { opacity: 1;   transform: translate(-50%, -50%) scale(1.3); }
}
.form-note div span {
  display: block;
  font-size: .8rem;
  margin-left: 2rem;
}

/* form.php */
input,
textarea {
  border: 1px solid #333;
  box-sizing: border-box;
  padding: .75rem;
}
input[type="number"] {
  margin-bottom: .5rem;
}
input[type="checkbox"] {
  width: 20px;
  height: 20px;
  margin-right: .5rem;
  margin-bottom: .4rem;
  vertical-align: middle;
}
input[name="name"],
input[name="kananame"],
input[name="tel"],
input[name="email"],
input[name="email2"],
input[name="kananame"],
textarea {
  width: 100%;
}
span.required {
  background: #ff0000;
  color: #fff;
  padding: .25rem .5rem;
  font-size: .8rem;
  border-radius: 3px;
  margin-left: 1rem;
}
.form-content.has-error {
  border-left: 2px solid #c0392b;
  padding-left: 3rem;
  border-radius: 0 4px 4px 0;
}
.form-content.has-error .form-txt {
  color: #c0392b;
}
.form-content.has-error input,
.form-content.has-error select,
.form-content.has-error textarea {
  border-color: #c0392b;
}

.form-content {
  margin-bottom: 4rem;
}
p.form-txt {
  border-bottom: 1px solid #ddd;
  font-weight: 600;
  padding-bottom: .5rem;
  position: relative;
}
p.form-txt::before {
  content: "";
  width: 10px;
  height: 10px;
  background: linear-gradient(135deg, #1a3a2a, #4a8a6a);
  border-radius: 2px;
  display: inline-block;
  margin-bottom: .05rem;
  margin-right: 1.25rem;
  opacity: .9;
  transform: rotate(45deg);
}

.store-card {
  border: 1px solid #333;
  padding: 16px 20px;
  background: #f6f6f6;
}
.store-card__name {
  font-size: 16px;
  font-weight: 600;
  margin-bottom: 12px;
}
.store-card__info {
  list-style: none;
  padding: 0;
  margin: 0 0 12px;
  display: flex;
  flex-direction: column;
  gap: 6px;
}
.store-card__info li {
  display: flex;
  gap: 16px;
  font-size: 14px;
  color: #444;
}
.store-card__label {
  color: #888;
  min-width: 64px;
  flex-shrink: 0;
}
.store-card__label:first-child {
  width: 5rem;
}
.store-card__info a {
  color: #1a3a2a;
  text-decoration: none;
}
.store-card__info a:hover {
  text-decoration: underline;
}

ul.form-detail li {
  display: flex;
  align-items: center;
  line-height: 1.4;
  margin-bottom: .5rem;
  margin-top: .5rem;
}
ul.form-detail li p:nth-child(1) {
  background-color: #5E706B;
  border-radius: 32px;
  color: #fff;
  font-size: .9rem;
  padding: .25rem 1rem;
  display: inline;
  margin-right: 1rem;
  margin: 0 1rem 0 0;
}
ul.form-detail li p:nth-child(2) {
  font-size: .9rem;
  margin: 0;
}
p.form-total {
  border-bottom: 1px dashed #ddd;
  display: inline-block;
  margin: 0;
}
p.form-total span {
  color: #ff0000;
  font-size: 1.6rem;
  font-weight: 600;
}

.time-section {
  margin-bottom: 1.5rem;
}
.time-label {
  font-size: 13px;
  color: #666;
  font-weight: 500;
  margin-bottom: 8px;
}
.time-grid {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
}
.time-btn {
  font-size: 14px;
  border: 1px solid #ccc;
  border-radius: 2px;
  background: #fff;
  color: #333;
  cursor: pointer;
  min-width: 85px;
  max-width: 85px;
  padding: 8px 14px;
  transition: background 0.15s, border-color 0.15s;
}
.time-btn:hover {
  background: #333;
  color: #fff;
}
.time-btn.selected {
  background: #333;
  border-color: #333;
  color: #fff;
  font-weight: 500;
}
.selected-display {
  margin-top: 1rem;
  font-size: 14px;
  color: #666;
}
.selected-display span {
  font-weight: 500;
  color: #333;
}

.form-menu {
  display: flex;
  flex-direction: column;
  gap: 16px;
}
.form-menu__group {
  font-size: 13px;
  color: #666;
  font-weight: 500;
  margin-bottom: 8px;
}
.form-menu__item {
  border: 1px solid #ddd;
  transition: all .3s ease;
  background: #fff;
}
.form-menu__label {
  display: flex;
  align-items: center;
  gap: 20px;
  padding: 8px 14px;
  cursor: pointer;
}
.form-menu__checkbox {
  display: none;
}
.form-menu__checkmark {
  width: 16px;
  height: 16px;
  border: 1px solid #999;
  position: relative;
  flex-shrink: 0;
  transition: all .3s;
}
.form-menu__body {
  flex: 1;
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 20px;
}
.form-menu__name {
  font-size: 14px;
  font-weight: 500;
}
.form-menu__price {
  color: #666;
  white-space: nowrap;
}
.form-menu__count {
  display: none;
  padding: 0 20px 20px;
}
.form-menu__count-label {
  display: flex;
  align-items: center;
  gap: 12px;
}
.form-menu__count-text {
  font-size: 14px;
  margin-bottom: .5rem;
}
.form-menu__count-input {
  width: 55px;
  height: 30px;
  padding: 0 10px;
  border: 1px solid #ccc;
  text-align: center;
  font-size: 14px;
}
.form-menu__item:hover {
  border-color: #1a3a2a;
}
.form-menu__item:has(.form-menu__checkbox:checked) {
  border-color: #1a3a2a;
  background: #faf8f3;
}
.form-menu__item:has(.form-menu__checkbox:checked) .form-menu__count {
  display: block;
}
.form-menu__item:has(.form-menu__checkbox:checked) .form-menu__checkmark {
  border-color: #1a3a2a;
  background: #1a3a2a;
}
.form-menu__item:has(.form-menu__checkbox:checked) .form-menu__checkmark::after {
  content: "";
  position: absolute;
  top: 3px;
  left: 5px;
  width: 2px;
  height: 6px;
  border: solid #fff;
  border-width: 0 2px 2px 0;
  transform: rotate(45deg);
}
.form-menu__item.is-disabled {
  opacity: 0.4;
  pointer-events: none;
}

.form-num .child-age-row {
  display: block;
}

.form-radio input[type="radio"] {
  display: none;
}
.form-radio {
  display: flex;
  gap: 8px;
  flex-wrap: wrap;
}
.form-radio input[type="radio"] {
  display: none;
}
.form-radio label {
  padding: 8px 14px;
  font-size: 14px;
  cursor: pointer;
  color: #333;
  border: 1px solid #ccc;
  border-radius: 2px;
  background: #fff;
  line-height: 1.2;
  transition: background 0.2s, border-color 0.2s, color 0.2s;
}
.form-radio label:hover {
  border-color: #999;
}
.form-radio input[type="radio"]:checked + label {
  background: #333;
  border-color: #333;
  color: #fff;
  font-weight: 500;
}
.form-radio__group-label {
  font-size: 13px;
  color: #666;
  font-weight: 500;
  margin-bottom: 8px;
  width: 100%;
}

.form-content.policy {
  text-align: center;
}
.form-content.policy a {
  color: #555;
  transition: .4s ease-in;
}
.form-content.policy a:hover {
  color: #333;
}

.form-deposit {
  margin-top: 2rem;
}
.form-deposit ol {
  counter-reset: deposit;
  list-style: none;
  padding: 0;
  margin: 2rem 0 0;
}
.form-deposit ol li {
  counter-increment: deposit;
  display: flex;
  align-items: flex-start;
  gap: 1.5rem;
  position: relative;
  padding-bottom: 1.5rem;
}
.form-deposit ol li:not(:last-child)::after {
  content: "";
  position: absolute;
  left: 24px;
  top: 45px;
  width: 1px;
  height: calc(100% - 20px);
  background: #d8d8d8;
}
.form-deposit ol li::before {
  content: counter(deposit, decimal-leading-zero);
  flex-shrink: 0;
  width: 45px;
  height: 45px;
  border-radius: 50%;
  background: #DEF0EA;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1rem;
  font-weight: 600;
  color: #38574E;
}
.form-deposit ol li:last-child {
  padding-bottom: 0;
}
.cancel-table {
  width: 100%;
  border-collapse: collapse;
  margin-top: 0.5rem;
}
.cancel-table th,
.cancel-table td {
  border: 1px solid #ccc;
  padding: 0.5rem 0.75rem;
  font-size: 0.9rem;
  text-align: left;
}
.cancel-table thead th {
  background-color: #f5f5f5;
}

/* footer.php */
p.copyright {
  margin-top: 8rem;
  font-size: .9rem;
  text-align: center;
}

/* confirm.php */
.form-notice {
  margin-bottom: 2.5rem;
  text-align: center;
}
.form-notice p {
  margin: 0;
  line-height: 1.8;
}

/* mail.php */
.form-info {
  margin-bottom: 5rem;
}
.form-info h3 {
  margin-top: 0;
  margin-bottom: 1.5rem;
  position: relative;
}
.form-info h3::before {
  content: "";
  width: 10px;
  height: 10px;
  background: linear-gradient(135deg, #1a3a2a, #4a8a6a);
  border-radius: 2px;
  display: inline-block;
  margin-bottom: .05rem;
  margin-right: 1.25rem;
  opacity: .9;
  transform: rotate(45deg);
}
.btn.back {
  margin-bottom: 10rem;
}

/* kessai/index.php */
table.reserve-table {
  margin: 0 auto;
}
table.reserve-table th,
table.reserve-table td {
  padding: 1rem;
}
table.reserve-table th {
  background: rgba(89, 140, 84, 0.3);
}
table.reserve-table h1:before {
  content: "";
  background: url(/img/logo-green.png) no-repeat center center / contain;
  width: 500px;
  height: 500px;
  opacity: .3;
  display: block;
  position: absolute;
  left: -5rem;
  top: -10rem;
  z-index: -1;
}

.number input {
  width: 20%;
}
.mail input {
  width: 100%;
}
.hidden-contents {
  padding: 0;
  border: 0;
}
.kessai form {
  width: 100%;
}

.modal__wrap {
  position: relative;
  z-index: 999;
}
.modal {
  display: none;
  height: 100vh;
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
}
.modal__bg {
  background: rgba(0,0,0,0.8);
  height: 100vh;
  position: absolute;
  width: 100%;
}
.modal__content {
  background: #fff;
  left: 50%;
  padding: 40px;
  position: absolute;
  top: 50%;
  transform: translate(-50%,-50%);
  width: 60%;
}

/* responsive */
/* tab */
@media screen and (max-width:1024px) {
  .form-container {
    max-width: calc(100% - 20%);
    margin: 8rem auto 0;
    width: 100%;
  }
}

@media screen and (max-width:780px) {
  .form-container > h1 {
    font-size: 1.8rem;
    margin-bottom: 2rem;
  }
  .form-container > h1::before {
    width: 425px;
    height: 425px;
    left: -10rem;
    top: -15rem;
  }
  .form-container h2 {
    font-size: 1.2rem;
  }
}

/* sp */
@media (max-width: 600px) {
  .btn a,
  input[type="button"],
  input[type="submit"] {
    padding: 1.25rem 1rem;
  }

  .store-card__info li {
    flex-direction: column;
    gap: 2px;
  }

  .form-container {
    max-width: calc(100% - 10%);
    margin: 6rem auto 0;
  }
  .form-container > h1 {
    font-size: 1.6rem;
  }
  .form-container > h1::before {
    width: 385px;
    height: 385px;
    top: -12rem;
  }

  .form-box ul li h3 span {
    font-size: .9rem;
    width: 45px;
    height: 45px;
    line-height: 45px;
    margin-right: 1rem;
  }
  .form-box ul li p {
    max-width: 100%;
  }

  .form-note {
    padding: 1rem 2rem;
    margin-bottom: 6rem;
  }
  span.--red {
    font-size: .9rem;
  }

  .form-content.has-error {
    padding-right: 2rem;
  }

  table.reserve-table table {
    width: 100%;
  }
  table.reserve-table th,
  table.reserve-table td {
    display: block;
    font-size: .9rem;
  }

  .form-deposit ol li {
    flex-direction: column;
  }

  .form-deposit ol li:not(:last-child)::after {
    content: none;
  }

  .form-menu__label {
    gap: 14px;
  }
  .form-menu__body {
    gap: 6px;
  }
  .form-menu__price {
    font-size: 14px;
  }
  .form-menu__count-label {
    flex-wrap: wrap;
  }
  .form-menu__count-input {
    width: 60px;
  }
}

@media screen and (max-width:425px) {
  .form-content {
    margin-bottom: 3rem;
  }

  .form-box {
    margin-bottom: 3rem;
  }

  .form-note {
    padding: 1rem;
    margin-bottom: 4rem;
  }

  .form-info {
    margin-bottom: 3rem;
  }

  .submit-btn.confirm {
    line-height: 4;
  }
  .btn.back {
    margin-bottom: 8rem;
  }
}