@charset "UTF-8";
*, *::before, *::after {
  box-sizing: border-box;
  margin: 0;
  padding: 0; }

html {
  font-size: 15px; }

body {
  font-family: "Noto Sans JP", "ヒラギノ角ゴ ProN", "Hiragino Kaku Gothic ProN", sans-serif;
  background: #f7f4f1;
  color: #4a3f3a;
  line-height: 1.7;
  -webkit-font-smoothing: antialiased; }

#calendar-form-root {
  padding: 0 0 2rem 0; }
  @media only screen and (min-width: 768px) {
    #calendar-form-root {
      max-width: 1200px;
      margin: 0 auto; } }
  @media only screen and (max-width: 1200px) {
    #calendar-form-root {
      margin: 0 1rem; } }
  @media only screen and (max-width: 767px) {
    #calendar-form-root {
      margin: 0 .5rem; } }

.page {
  display: flex;
  flex-direction: column;
  min-height: 100vh; }

.inner {
  width: 100%;
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 24px; }

.site-header {
  background: #fff;
  border-bottom: 1px solid #e8ddd8;
  padding: 16px 0; }

.logo {
  font-family: "Noto Serif JP", "Georgia", serif;
  font-size: 1.5rem;
  font-weight: 600;
  letter-spacing: .2em;
  color: #c9a89a;
  text-transform: uppercase; }

.site-main {
  flex: 1;
  padding: 40px 0 64px; }

.progress {
  display: flex;
  align-items: center;
  gap: 6px;
  font-size: .8rem;
  color: #b0a09a;
  margin-bottom: 32px; }
  .progress-step {
    letter-spacing: .05em; }
    .progress-step.active {
      color: #c9a89a;
      font-weight: 600; }
  .progress-sep {
    color: #d0c8c4; }

.page-title {
  font-family: "Noto Serif JP", "Georgia", serif;
  font-size: 1.5rem;
  font-weight: 500;
  letter-spacing: .08em;
  color: #4a3f3a;
  margin-bottom: 24px; }

.notice {
  background: #fff;
  border: 1px solid #e8ddd8;
  border-radius: 6px;
  padding: 20px 24px;
  margin-bottom: 1rem;
  font-size: .875rem;
  color: #6a5f5a; }
  .notice-list {
    list-style: none;
    display: flex;
    flex-direction: column;
    gap: 6px;
    margin-bottom: 14px; }
    .notice-list li::before {
      content: '・';
      color: #c9a89a; }
  .notice-note {
    border-top: 1px solid #e8ddd8;
    padding-top: 12px;
    color: #8a7a74;
    font-size: .825rem; }
    .notice-note.announce {
      margin: 1rem; }

.loading {
  text-align: center;
  padding: 64px 0;
  color: #b0a09a;
  font-size: .9rem;
  letter-spacing: .1em; }

.calendar-nav {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 12px; }
  .calendar-nav.bottom {
    margin-top: 12px;
    margin-bottom: 0; }

.nav-week {
  font-size: .875rem;
  color: #8a7a74;
  letter-spacing: .05em; }

.nav-btn {
  background: none;
  border: 1px solid #c9a89a;
  color: #c9a89a;
  font-size: .8rem;
  padding: 6px 14px;
  border-radius: 20px;
  cursor: pointer;
  letter-spacing: .05em;
  transition: background .2s, color .2s; }
  .nav-btn:hover {
    background: #c9a89a;
    color: #fff; }

.nav-placeholder {
  width: 90px; }

.calendar-wrap {
  display: flex;
  background: #fff;
  border: 1px solid #e8ddd8;
  border-radius: 8px;
  overflow: hidden; }

.time-col {
  flex-shrink: 0;
  width: 64px;
  border-right: 1px solid #e8ddd8; }

.time-col-header {
  height: 48px;
  border-bottom: 1px solid #e8ddd8; }

.time-slot-label {
  height: 32px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: .7rem;
  color: #b0a09a;
  border-bottom: 1px solid #f0ece9; }
  .time-slot-label:has(+ .time-col-footer) {
    border-bottom: none; }

.time-col-footer {
  height: 48px;
  border-top: 1px solid #e8ddd8; }

.day-cols {
  display: flex;
  flex: 1;
  overflow-x: auto; }

.day-col {
  flex: 1 0 46px;
  min-width: 46px;
  border-left: 1px solid #e8ddd8;
  display: flex;
  flex-direction: column; }
  .day-col .slot {
    flex-shrink: 0; }
  .day-col:first-child {
    border-left: none; }
  .day-col.sat .day-header, .day-col.sat .day-footer {
    background: #f5f8ff; }
  .day-col.sat .day-num, .day-col.sat .footer-num {
    color: #7a8ac9; }
  .day-col.sat .slot {
    background: #f5f8ff; }
  .day-col.sat .slot:has(input:checked) {
    background: #c9a89a; }
  .day-col.sun .day-header, .day-col.sun .day-footer, .day-col.holiday .day-header, .day-col.holiday .day-footer {
    background: #fff5f5; }
  .day-col.sun .day-num, .day-col.sun .footer-num, .day-col.holiday .day-num, .day-col.holiday .footer-num {
    color: #c97a7a; }
  .day-col.sun .slot, .day-col.holiday .slot {
    background: #fff5f5; }
  .day-col.sun .slot:has(input:checked), .day-col.holiday .slot:has(input:checked) {
    background: #c9a89a; }
  .day-col.closed {
    background: #f8f6f5; }
    .day-col.closed .day-header {
      background: #f0ece9; }
    .day-col.closed .day-num, .day-col.closed .day-week {
      color: #c0b8b4; }

.day-header, .day-footer {
  height: 48px;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  font-size: .7rem;
  background: #faf8f7;
  gap: 1px; }

.day-header {
  border-bottom: 1px solid #e8ddd8; }

.day-footer {
  border-top: 1px solid #e8ddd8;
  margin-top: auto;
  flex-shrink: 0; }

.day-month {
  display: none; }

.day-num {
  font-weight: 600;
  font-size: .95rem;
  color: #4a3f3a; }

.day-week {
  font-size: .7rem;
  color: #8a7a74; }

.footer-num {
  font-weight: 600;
  font-size: .95rem;
  color: #4a3f3a; }

.footer-week {
  font-size: .7rem;
  color: #8a7a74; }

.slot {
  height: 32px;
  display: flex;
  align-items: center;
  justify-content: center;
  border-bottom: 1px solid #f0ece9;
  cursor: default; }
  .slot:has(+ .day-footer) {
    border-bottom: none; }
  .slot.available {
    cursor: pointer; }
    .slot.available:hover {
      background: #fdf0ed; }
  .slot:has(input:checked) {
    background: #c9a89a; }
    .slot:has(input:checked) .slot-mark {
      border-color: #fff;
      background: #fff; }
  .slot label {
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    width: 100%;
    height: 100%; }
  .slot input[type=radio] {
    display: none; }

.slot-mark {
  width: 14px;
  height: 14px;
  border-radius: 50%;
  border: 2px solid #c9a89a;
  background: transparent;
  transition: background .15s, border-color .15s; }
  .slot.available .slot-mark {
    background: #fdf0ed; }
  .slot.available:hover .slot-mark {
    background: #c9a89a; }

.unavailable-mark {
  width: 12px;
  height: 2px;
  background: #e0d8d4;
  border-radius: 1px; }

.action-area {
  display: block;
  padding: 16px 0 32px; }

.selected-info {
  font-size: .875rem;
  color: transparent;
  text-align: center; }
  .selected-info.visible {
    color: #8a7a74; }
  .selected-info strong {
    color: #c9a89a;
    font-weight: 600; }

.selected-text {
  margin: 0; }

.submit-wrap {
  text-align: center;
  padding-top: 32px; }

.btn-next {
  display: inline-block;
  padding: 14px 48px;
  border-radius: 28px;
  font-family: inherit;
  font-size: .95rem;
  letter-spacing: .1em;
  cursor: pointer;
  background: #c9a89a;
  color: #fff;
  border: none;
  transition: opacity .2s; }
  .btn-next.disabled {
    opacity: .4;
    cursor: default;
    pointer-events: none; }
  .btn-next.ready {
    opacity: 1; }
  .btn-next.ready:hover {
    opacity: .85; }

.btn-back {
  background: none;
  border: 1px solid #c0b8b4;
  color: #8a7a74;
  padding: 10px 24px;
  border-radius: 20px;
  font-size: .85rem;
  cursor: pointer;
  letter-spacing: .05em;
  transition: border-color .2s, color .2s; }
  .btn-back:hover {
    border-color: #8a7a74;
    color: #4a3f3a; }

.btn-submit {
  position: relative;
  background: #c9a89a;
  color: #fff;
  border: none;
  border-radius: 24px;
  font-family: inherit;
  font-size: .9rem;
  letter-spacing: .1em;
  padding: 14px 48px;
  cursor: pointer;
  transition: opacity .2s; }
  .btn-submit:hover {
    opacity: .85; }
  .btn-submit.sending {
    opacity: .6;
    cursor: default;
    pointer-events: none; }

.btn-label.hide {
  visibility: hidden; }

.btn-sending {
  position: absolute;
  inset: 0;
  display: flex;
  align-items: center;
  justify-content: center;
  visibility: hidden; }
  .btn-sending.show {
    visibility: visible; }

.screen {
  display: none; }

.screen.active {
  display: block; }

.form {
  display: flex;
  flex-direction: column;
  gap: 20px; }

.form-row {
  display: flex;
  align-items: flex-start;
  gap: 20px; }

.form-label {
  flex-shrink: 0;
  width: 160px;
  padding-top: 10px;
  font-size: .875rem;
  color: #6a5f5a; }

.required {
  display: inline-block;
  margin-left: 6px;
  font-size: .7rem;
  background: #c9a89a;
  color: #fff;
  padding: 1px 6px;
  border-radius: 3px;
  letter-spacing: .05em;
  vertical-align: middle; }

.form-input {
  flex: 1; }
  .form-input input {
    width: 100%;
    padding: 10px 14px;
    border: 1px solid #e0d8d4;
    border-radius: 6px;
    font-size: .9rem;
    background: #fff;
    color: #4a3f3a;
    outline: none;
    transition: border-color .2s;
    font-family: inherit; }
    .form-input input:focus {
      border-color: #c9a89a; }

.form-error {
  margin-top: 6px;
  font-size: .8rem;
  color: #c97a7a; }

.form-actions {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-top: 12px; }

.confirm-table {
  width: 100%;
  border-collapse: collapse;
  background: #fff;
  border: 1px solid #e8ddd8;
  border-radius: 8px;
  overflow: hidden;
  margin-bottom: 24px;
  font-size: .9rem; }
  .confirm-table th, .confirm-table td {
    padding: 14px 20px;
    border-bottom: 1px solid #f0ece9;
    text-align: left; }
  .confirm-table th {
    width: 160px;
    background: #faf8f7;
    color: #8a7a74;
    font-weight: 500;
    font-size: .85rem; }
  .confirm-table tr:last-child th,
  .confirm-table tr:last-child td {
    border-bottom: none; }

.confirm-note {
  font-size: .85rem;
  color: #8a7a74;
  margin-bottom: 24px;
  text-align: center; }

.complete-box {
  background: #fff;
  border: 1px solid #e8ddd8;
  border-radius: 8px;
  padding: 40px 32px;
  text-align: center;
  display: flex;
  flex-direction: column;
  gap: 14px;
  font-size: .9rem;
  color: #6a5f5a; }

.complete-date {
  margin-top: 8px;
  font-size: .95rem;
  color: #4a3f3a; }
  .complete-date strong {
    color: #c9a89a;
    font-weight: 600; }

.site-footer {
  background: #fff;
  border-top: 1px solid #e8ddd8;
  padding: 20px 0;
  font-size: .775rem;
  color: #b0a09a;
  text-align: center; }

@media only screen and (max-width: 767px) {
  .inner {
    padding: 0 12px; }
  .site-main {
    padding: 24px 0 48px; }
  .form-row {
    flex-direction: column;
    gap: 6px; }
  .form-label {
    width: 100%;
    padding-top: 0; }
  .form-actions {
    flex-direction: column-reverse;
    gap: 10px; }
  .btn-back, .btn-submit {
    width: 100%;
    text-align: center; }
  .confirm-table th {
    width: 90px;
    font-size: .8rem; }
  .confirm-table td {
    font-size: .85rem; }
  .calendar-wrap {
    overflow-x: visible; }
  .time-col {
    width: 40px; }
  .time-col-header {
    height: 52px; }
  .time-slot-label {
    height: 40px;
    font-size: .65rem; }
  .day-col {
    flex: 1 0 0;
    min-width: 0; }
  .day-header {
    height: 52px; }
  .day-footer {
    height: 52px; }
  .time-col-footer {
    height: 52px; }
  .day-num {
    font-size: .85rem; }
  .day-week {
    font-size: .65rem; }
  .slot {
    height: 40px; }
  .slot-mark {
    width: 16px;
    height: 16px; }
  .unavailable-mark {
    width: 14px;
    height: 2px; }
  .nav-btn {
    font-size: .75rem;
    padding: 6px 12px; }
  .nav-week {
    font-size: .8rem; }
  .btn-next {
    width: 100%;
    padding: 14px 0; } }

@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after {
    animation: none !important;
    transition: none !important; } }
