@charset "utf-8";

.wrap {
  width: calc(100% - 40px);
  max-width: 900px;
  margin-inline: auto;
  padding: 30px 30px 20px;
  border: 1px solid #bfbfbf;
}

@media only screen and (max-width: 768px) {
  .header {
    padding: 20px;
  }
  .header_logo {
    position: static;
    transform: none;
    width: 120px;
  }
  .header_title {
    margin-top: 10px;
    font-size: 20px;
  }
  .wrap {
    max-width: 600px;
  }
}

/* reserve-list
================================= */
.reserve-cation_wrap {
  border: 2px solid #bfbfbf;
  padding: 20px;
  margin-bottom: 20px;
}
.reserve-cation {
  font-size: 16px;
  line-height: 1.7;
  display: -webkit-box;
  -webkit-line-clamp: 3;
  -webkit-box-orient: vertical;
  overflow: hidden;
}
.reserve-cation.is-open {
  display: block;
  -webkit-line-clamp: unset;
  -webkit-box-orient: unset;
}
.reserve-cation.is-ready {
  overflow: hidden;
  transition: height 0.45s ease;
  will-change: height;
}
.collapse-toggle {
  margin-top: 10px;
  display: block;
  width: 100%;
  max-width: 200px;
  padding-block: 6px;
  margin-inline: auto;
  background: none;
  border: 1px solid #bfbfbf;
  font-size: 14px;
  color: #1d569e;
  cursor: pointer;
}
@media (prefers-reduced-motion: reduce) {
  .reserve-cation.is-ready {
    transition: none;
  }
}

@media only screen and (max-width: 768px) {
  .reserve-cation_wrap {
    padding: 20px 10px;
  }
}

.reserve-title_wrap {
  margin-bottom: 20px;
  display: flex;
  justify-content: space-between;
  column-gap: 16px;
}
.reserve-title {
  font-size: 16px;
  font-weight: bold;
}
.reserve-text {
  font-size: 14px;
  line-height: 1.4;
  display: flex;
  flex-wrap: wrap;
  align-items: center;
}
.reserve-text_item {
  margin-left: 4px;
}
.reserve-text_icon {
  font-size: 16px;
  margin-right: 4px;
}
.reserve-text_icon.maru {
  color: red;
}
.reserve-text_icon.sankaku {
  font-size: 18px;
  color: green;
}
.reserve-text_icon.batsu {
  font-size: 18px;
  font-weight: bold;
}
.reserve-text_icon.tel {
  color: #1d75d3;
  font-weight: bold;
}
.reserve-list {
  width: 100%;
  border: 2px solid #bfbfbf;
  border-collapse: collapse;
  display: table;
}
.reserve-item {
  display: table-row;
  height: 50px;
  font-size: 16px;
  border-bottom: 2px solid #bfbfbf;
}
.reserve-item:nth-child(even) {
  background-color: #f2f2f2;
}
.reserve-item > div {
  display: table-cell;
  padding: 10px;
  text-align: center;
  vertical-align: middle;
  border-right: 2px solid #bfbfbf;
}
.reserve-item > div:last-child {
  border-right: none;
}
.reserve-status {
  font-size: 20px;
}
.status-circle {
  color: red;
}
.status-few {
  color: green;
  font-size: 30px;
}
.status-full {
  font-size: 30px;
}
.status-tel {
  color: #1d75d3;
}

.btn-reserve {
  display: block;
  font-size: 14px;
  line-height: 1;
  text-decoration: none;
  width: 80%;
  margin-inline: auto;
  padding: 8px 16px;
  background: red;
  border: 1px solid red;
  color: #fff;
  border-radius: 4px;
  transition: 0.4s;
}
.btn-reserve:hover {
  background: #fff;
  color: red;
  border: 1px solid red;
}
.tel-link {
  color: #333;
  pointer-events: none;
  text-decoration: none;
}

@media screen and (max-width: 768px) {
  .reserve-title_wrap {
    margin-bottom: 20px;
    flex-direction: column;
    row-gap: 14px;
  }
  .reserve-list {
    border: none;
  }
  .reserve-item {
    display: grid;
    border: 1px solid #ccc;
    margin-bottom: 12px;
    border-radius: 6px;
    overflow: hidden;
    height: auto;
    grid-template-columns: auto 1fr;
    grid-template-areas:
      "title  title"
      "date   time"
      "status action";
    row-gap: 12px;
    padding: 14px 12px;
  }

  .reserve-title {
    grid-area: title;
  }
  .reserve-date {
    grid-area: date;
  }
  .reserve-time {
    grid-area: time;
  }

  .reserve-status {
    grid-area: status;
    font-size: 18px;
    display: flex;
    align-items: center;
  }

  .reserve-action {
    grid-area: action;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
  }
  .reserve-item > div {
    display: flex;
    border: none;
    padding: 0;
    text-align: left;
  }
  .reserve-item .reserve-date {
    width: 100%;
    flex-shrink: 0;
  }

  .reserve-item .btn-reserve {
    text-align: center;
    width: 100%;
    max-width: 320px;
    margin-left: 0;
    padding: 10px 14px;
    font-size: 16px;
  }
  .tel-link {
    pointer-events: all;
    text-align: center;
    display: block;
    width: 100%;
    max-width: 320px;
    margin-left: 0;
    padding: 10px 14px;
    border-radius: 4px;
    background: #1d75d3;
    color: #fff;
    text-decoration: none;
  }
}

/* field
============================== */
.field {
  position: relative;
  margin-bottom: 20px;
}
.label {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 10px;
  margin-bottom: 12px;
}
.field.sp_margin .label {
  margin-bottom: 16px;
}
.label b {
  font-size: 16px;
  font-weight: bold;
  flex-shrink: 0;
}
.seg {
  border: 1px solid #bfbfbf;
  background-color: #f2f2f2;
  border-radius: 6px;
  padding: 6px 16px;
  margin: 8px 0;
  font-size: 16px;
  line-height: 1.7;
}
.copy {
  margin-top: 60px;
  text-align: center;
  font-size: 10px;
  letter-spacing: 0.1em;
  line-height: 1.5;
  color: #333;
}

/* thanks_contents
============================== */
.thanks_contents {
  margin-top: 80px;
}
.thanks_contents + .thanks_contents {
  margin-top: 100px;
}
.thanks_title {
  text-align: center;
  font-size: 24px;
  letter-spacing: 0.05em;
  line-height: 1.5;
}
.thanks_lead {
  text-align: center;
  margin-top: 30px;
  font-size: 18px;
  letter-spacing: 0.03em;
  line-height: 1.7;
}
.thanks_btn {
  position: relative;
  width: 90%;
  margin-inline: auto;
  margin-top: 20px;
  display: block;
  text-decoration: none;
  text-align: center;
  font-size: 28px;
  letter-spacing: 0.08em;
  line-height: 1.4;
  padding-block: 20px;
  color: #fff;
  font-weight: 100;
  border-radius: 8px;
  transition: all 0.4s;
}
.thanks_btn::after {
  content: "";
  position: absolute;
  top: 50%;
  right: 50px;
  transform: translateY(-50%);
  background: url(../../images/ico_arrow.svg) no-repeat center center / contain;
  width: 56px;
  height: 14px;
  transition: all 0.4s;
}
.limited .thanks_btn {
  background-color: #1d695b;
}
.reserve .thanks_btn {
  background-color: #97885c;
}
.thanks_btn:hover {
  opacity: 0.8;
}
.thanks_btn:hover::after {
  right: 40px;
}
.thanks_btn .en {
  display: block;
  font-size: 20px;
}
.top_link {
  text-align: center;
  display: block;
  margin-top: 80px;
  font-size: 20px;
  letter-spacing: 0.04em;
  line-height: 1.5;
  color: #558ed5;
  transition: all 0.4s;
}
.top_link:hover {
  opacity: 0.8;
}
.copy {
  text-align: center;
  margin-top: 60px;
  font-size: 10px;
  letter-spacing: 0.1em;
  line-height: 1.5;
  color: #333;
}

@media only screen and (max-width: 768px) {
  .thanks_title {
    font-size: 18px;
  }
  .thanks_contents {
    margin-top: 40px;
  }
  .thanks_contents + .thanks_contents {
    margin-top: 60px;
  }
  .thanks_lead {
    margin-top: 30px;
    font-size: 14px;
  }
  .thanks_btn {
    width: 100%;
    max-width: 500px;
    margin-inline: auto;
    margin-top: 20px;
    font-size: 20px;
    padding-block: 20px;
  }
  .thanks_btn::after {
    right: 20px;
    transform: translateY(0%);
    width: 40px;
  }
  .thanks_btn:hover::after {
    right: 10px;
  }
  .thanks_btn .en {
    font-size: 14px;
  }
  .top_link {
    margin-top: 40px;
    font-size: 16px;
  }
}
