:root {
  --contact-text: #333333;
  --contact-sub: #666666;
  --contact-border: #d7d2cb;
  --contact-bg: #f5f1ec;
  --contact-panel: #ffffff;
  --contact-accent: #cfa0a0;
  --contact-accent-dark: #bd8d8d;
  --contact-muted: #c7c7c7;
  --contact-sat: #bfe6fb;
  --contact-sun: #f6d0d4;
  --contact-selected: #c97979;
}

.contact-page .contact-shell {
  color: var(--contact-text);
}

.gurei{
  background: #ccc !important;
}
.contact-page .privacy-box {
  width: 100%;
  height: 250px;
  box-sizing: border-box;
  margin: 18px 0 16px;
  padding: 18px 20px;
  border: 1px solid #d7d2cb;
  border-radius: 6px;
  background: #faf8f5;
  overflow-y: auto;
  font-size: 13px;
  line-height: 1.9;
  color: #333;
}

.contact-page .privacy-box h3 {
  margin: 18px 0 6px;
  font-size: 14px;
  font-weight: 700;
}

.contact-page .privacy-box p {
  margin: 0 0 10px;
}

@media (max-width: 640px) {
  .contact-page .privacy-box {
    height: 240px;
    padding: 14px;
    font-size: 12px;
  }
}

.contact-page .contact-kv {
  padding: 34px 16px 30px;
  background: #f0ece7;
  text-align: center;
}

.contact-page .contact-kv-en {
  margin: 0;
  letter-spacing: 0.16em;
  font-size: 13px;
}

.contact-page .contact-kv-ja {
  margin: 8px 0 0;
  font-size: 30px;
  line-height: 1.4;
}

.contact-page .contact-container {
  width: min(100%, 1080px);
  margin: 0 auto;
  padding: 42px 16px 80px;
}

.contact-page .contact-panel {
  background: var(--contact-panel);
  border: 1px solid #ece6df;
  box-shadow: 0 10px 24px rgba(0, 0, 0, 0.04);
}

.contact-page .contact-panel + .contact-panel,
.contact-page .contact-choice-grid {
  margin-top: 28px;
}

.contact-page .contact-panel-intro,
.contact-page .contact-panel-form {
  padding: 28px;
}

.contact-page .contact-lead,
.contact-page .contact-note,
.contact-page .contact-form-note,
.contact-page .contact-back-link {
  color: var(--contact-sub);
  line-height: 1.9;
}

.contact-page .contact-back-link a {
  color: inherit;
  text-decoration: underline;
}

.contact-page .contact-tel-box {
  margin-top: 18px;
  border-top: 1px solid #ebe4dd;
  padding-top: 18px;
}

.contact-page .contact-tel-cap {
  margin: 0;
  padding: 10px 14px;
  background: #f1ece7;
  font-weight: 700;
}

.contact-page .contact-tel-main {
  margin: 14px 0 0;
  font-size: 34px;
  line-height: 1.2;
  font-weight: 700;
}

.contact-page .contact-tel-main span {
  display: inline-block;
  margin-right: 10px;
  font-size: 18px;
}

.contact-page .contact-choice-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 18px;
}

.contact-page .contact-choice-card {
  display: flex;
  flex-direction: column;
  gap: 10px;
  padding: 26px 24px;
  background: #fff;
  border: 1px solid #e7e0d8;
  text-decoration: none;
  color: var(--contact-text);
  transition: transform 0.2s ease, box-shadow 0.2s ease;
}

.contact-page .contact-choice-card:hover {
  transform: translateY(-2px);
  box-shadow: 0 8px 20px rgba(0,0,0,.06);
}

.contact-page .contact-choice-label {
  font-size: 12px;
  letter-spacing: 0.14em;
  color: #8a7c71;
}

.contact-page .contact-choice-card strong {
  font-size: 28px;
  line-height: 1.4;
}

.contact-page .contact-choice-card em {
  font-style: normal;
  color: var(--contact-sub);
}

.contact-page .contact-choice-card.is-reserve {
  border-left: 6px solid var(--contact-accent);
}

.contact-page .contact-choice-card.is-request {
  border-left: 6px solid #bcbcbc;
}

.contact-page .contact-form {
  margin: 0;
}

.contact-page .contact-row {
  margin-top: 24px;
}

.contact-page .contact-label {
  display: block;
  margin-bottom: 10px;
  padding-bottom: 8px;
  border-bottom: 1px solid var(--contact-border);
  font-weight: 700;
}

.contact-page .contact-req {
  color: #d44;
}

.contact-page input[type="text"],
.contact-page input[type="email"],
.contact-page select,
.contact-page textarea,
.contact-page .contact-calendar-input {
  width: 90%;
  min-height: 48px;
  padding: 12px 14px;
  border: 1px solid #d7d1cb;
  border-radius: 6px;
  background: #fff;
  font-size: 16px;
}

.contact-page textarea {
  min-height: 160px;
  resize: vertical;
}

.contact-page input:focus,
.contact-page select:focus,
.contact-page textarea:focus,
.contact-page .contact-calendar-input:focus {
  outline: none;
  border-color: var(--contact-accent-dark);
  box-shadow: 0 0 0 3px rgba(207, 160, 160, 0.18);
}

.contact-page .contact-inline-options,
.contact-page .contact-check-grid {
  display: flex;
  flex-wrap: wrap;
  gap: 12px 18px;
}

.contact-page .contact-inline-options label,
.contact-page .contact-check-grid label {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  line-height: 1.7;
}

.contact-page .contact-check-grid label {
  min-width: 190px;
}

.contact-page .contact-calendar-pick {
  display: grid;
  grid-template-columns: 1fr auto;
  gap: 10px;
  align-items: center;
}

.contact-page .contact-calendar-input {
  background: #faf8f5;
  cursor: pointer;
}

.contact-page .contact-calendar-open,
.contact-page .contact-btn,
.contact-page .contact-cal-nav {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 48px;
  padding: 0 22px;
  border: 0;
  border-radius: 6px;
  font-size: 15px;
  font-weight: 700;
  cursor: pointer;
  text-decoration: none;
}

.contact-page .contact-calendar-open.is-main,
.contact-page .contact-btn.is-next,
.contact-page .contact-cal-nav.is-next {
  background: var(--contact-accent);
  color: #111;
}

.contact-page .contact-calendar-open.is-sub,
.contact-page .contact-btn.is-back,
.contact-page .contact-cal-nav.is-prev {
  background: var(--contact-muted);
  color: #111;
}

.contact-page .contact-btns {
  display: flex;
  justify-content: center;
  gap: 14px;
  flex-wrap: wrap;
  margin-top: 32px;
}

.contact-page .contact-thanks {
  text-align: center;
  font-size: 20px;
  line-height: 2;
  margin: 0;
  padding: 12px 0;
}

.contact-page .contact-confirm-head {
  margin-bottom: 22px;
  padding: 14px 18px;
  background: #f4f1ed;
  border-left: 5px solid var(--contact-accent);
  font-size: 22px;
  font-weight: 700;
}

.contact-page .contact-confirm-table {
  width: 100%;
  border-collapse: collapse;
}

.contact-page .contact-confirm-table th,
.contact-page .contact-confirm-table td {
  border: 1px solid #e4ddd6;
  padding: 14px;
  vertical-align: top;
}

.contact-page .contact-confirm-table th {
  width: 28%;
  background: #f7f3ef;
  text-align: left;
}

.contact-page .contact-error {
  margin-top: 14px;
  color: #c33;
  text-align: center;
}

.contact-page .contact-cal-popup {
  position: fixed;
  inset: 0;
  display: none;
  align-items: center;
  justify-content: center;
  padding: 24px;
  background: rgba(243, 240, 236, 0.94);
  z-index: 9999;
}

.contact-page .contact-cal-popup.is-open {
  display: flex;
}

.contact-page .contact-cal-modal {
  position: relative;
  width: min(1180px, 100%);
  max-height: 92vh;
  padding: 32px 24px 24px;
  background: #f2f0ee;
  overflow: auto;
}

.contact-page .contact-cal-close {
  position: absolute;
  right: 12px;
  bottom: 12px;
  width: 48px;
  height: 48px;
  border: 0;
  background: #919191;
  color: #fff;
  font-size: 32px;
  line-height: 1;
  cursor: pointer;
}

.contact-page .contact-cal-target {
  margin: 0 0 16px;
  text-align: center;
  color: var(--contact-sub);
}

.contact-page .contact-cal-actions {
  display: flex;
  justify-content: center;
  gap: 14px;
}

.contact-page .contact-cal-actions-top {
  margin-bottom: 18px;
}

.contact-page .contact-cal-actions-bottom {
  margin-top: 18px;
}

.contact-page .contact-cal-nav {
  min-width: 180px;
}

.contact-page .contact-cal-nav:disabled {
  opacity: .45;
  cursor: not-allowed;
}

.contact-page .contact-cal-grid {
  display: flex;
  gap: 10px;
  overflow-x: auto;
  padding: 12px 4px 8px;
}

.contact-page .contact-cal-day {
  flex: 0 0 94px;
  border: 1px solid #cfc8c0;
  background: #fff;
}

.contact-page .contact-cal-day-head {
  padding: 10px 6px 8px;
  text-align: center;
  font-size: 18px;
  font-weight: 700;
}

.contact-page .contact-cal-time-list {
  display: grid;
  gap: 6px;
  padding: 0 10px 12px;
}

.contact-page .contact-cal-time {
  min-height: 32px;
  border: 0;
  background: transparent;
  font-size: 16px;
  cursor: pointer;
}

.contact-page .contact-cal-time.is-sat {
  background: var(--contact-sat);
}

.contact-page .contact-cal-time.is-sun {
  background: var(--contact-sun);
}

.contact-page .contact-cal-time.is-disabled {
  background: transparent;
  color: #888;
  cursor: not-allowed;
}

.contact-page .contact-cal-time.is-selected {
  background: var(--contact-selected) !important;
  color: #fff;
}

@media (max-width: 900px) {
  .contact-page .contact-choice-grid {
    grid-template-columns: 1fr;
  }

  .contact-page .contact-panel-intro,
  .contact-page .contact-panel-form {
    padding: 22px 16px;
  }

  .contact-page .contact-calendar-pick {
    grid-template-columns: 1fr;
  }

  .contact-page .contact-cal-nav {
    min-width: 140px;
  }
}

@media (max-width: 640px) {
  .contact-page .contact-container {
    padding: 28px 12px 56px;
  }

  .contact-page .contact-kv-ja {
    font-size: 24px;
  }

  .contact-page .contact-tel-main {
    font-size: 28px;
  }

  .contact-page .contact-inline-options,
  .contact-page .contact-check-grid {
    flex-direction: column;
    gap: 10px;
  }

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

  .contact-page .contact-confirm-table tr {
    margin-bottom: 10px;
  }

  .contact-page .contact-cal-popup {
    padding: 10px;
  }

  .contact-page .contact-cal-modal {
    padding: 18px 12px 72px;
  }

  .contact-page .contact-cal-actions {
    gap: 10px;
  }

  .contact-page .contact-cal-nav {
    width: calc(50% - 5px);
    min-width: 0;
  }

  .contact-page .contact-cal-day {
    flex-basis: 110px;
  }
}
