.image-section img {
  max-width: 100%;
  display: block;
  margin: 0 auto;
  transition: opacity 0.3s ease-in-out;
  opacity: 1;
}
.image-section {
  position: relative;
  display: flex;
  justify-content: center;
  align-items: center;
}
.image-section button {
  background-color: rgba(200, 100, 100, 0.6);
  color: white;
  padding: 10px 20px;
  border: none;
  border-radius: 5px;
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  cursor: pointer;
}
.profile-overlay {
  width: 300px;
  margin: 0.5rem auto 1rem;
  margin-bottom: 2rem;
}
.schedule-section-table {
  margin: 0 auto 0 auto;
  text-align: center;
  font-size: 1rem;
  line-height: 1.4;
  table-layout: fixed;
  border-collapse: collapse;
  border-spacing: 0;
  background-color: white;
}
.schedule-section-table th {
  text-align: center;
  font-size: 0.9rem;
  min-width: 2.6rem;
  max-width: 2.6rem;
}
.schedule-section-table td {
  text-align: center;
  padding: 0.1rem 0 0.1rem 0;
  background-color: white;
  box-sizing: border-box;
  min-width: 2.5rem;
  max-width: 2.5rem;
  border:1px solid #eeeeee;
}
.schedule-section-table thead tr th {
  position: sticky;
  top: 0;
  z-index: 2;
  background-color: #f0f0f0;
  padding:0;
  vertical-align:top;
  border-right:1px solid #eee;
}
.schedule-section-table thead tr th div.th-div-date {
  padding: 0.2em 0;
}
.schedule-section-table thead tr th div.th-div-sch {
  background-color:#fafafa;
  font-size:0.9em;
  line-height:1.2;
  padding:0.2em 0;
}
.schedule-section-table thead tr th:first-child {
  position: sticky;
  left: 0;
  z-index: 3;
  border-right: 1px solid #eee;
}
.schedule-section-table tbody tr th {
  position: sticky;
  left: 0;
  z-index: 1;
  background-color: #f6f6f6;
}
.schedule-section-table tbody tr th:first-child {
  min-width: 3.5rem;
  max-width: 3.5rem;
  z-index: 2;
}
.collapsible {
  background-color: #999;
  color: white;
  cursor: pointer;
  padding: 18px;
  width: 100%;
  text-align: left;
  outline: none;
  font-size: 15px;
  display: flex;
  align-items: center;
  justify-content: space-between;
}
.active, .collapsible:hover {
  background-color: #f8c8d8;
  color: gray;
}
.content {
  padding: 0 18px;
  display: none;
  overflow: hidden;
  background-color: #f2f2f2;
  font-family: 'メイリオ', sans-serif;
}
.content p {
  font-family: inherit;
}
.to-prof-detail {
  display: inline-block;
  color: rgb(54, 137, 220);
  cursor: pointer;
}
#raiten-container,
#area-container {
  margin-left: 25%;
  margin-bottom: 1em;
}
.schedule-wrap {
  margin: 0 auto 1rem;
}
#raiten-container,
#area-container,
.schedule-wrap {
  box-sizing:border-box;
  width:calc( 100% - 5rem ) ;
  max-width: 43rem;
  max-height: 42rem;
  overflow:auto;
}
@media (max-width: 780px) {
  #raiten-container,
  #area-container {
    margin: 0 auto 1rem;
  }
  #raiten-container,
  #area-container,
  .schedule-wrap {
    /* max-width: 23rem; */
    max-width: 24rem;
  }
}
.reserve-slot {
  display: inline-block;
  font-size: 0.8rem;
  line-height: 1.6rem;
  border-radius: 0.3rem;
  min-width: 1.7rem;
  color: #666666;
}
.reserve-slot.slot-ok {
  font-size: 1.1rem;
  border: 1px solid #aa4455;
  background-color: #ffcece;
  color: #992233;
}
.reserve-slot.slot-cannot {
  font-size: 1.1rem;
  border: 1px solid #c8c8c8;
  color: #666666;
  background-color: #efefef;
}
.over-date {
  font-size: 0.8rem !important;
}
.reserve-slot.slot-ng {
}
.reserve-slot.slot-tel {
  border: 1px solid #ccddee;
  color: #666699;
  background-color: #ddeeff;
}
.notes {
  font-size: 0.85rem;
  line-height: 1.4;
  padding: 0 ;
  /* margin: 0 auto 0.2rem; */
  margin: 0 auto 0.2rem auto;
  box-sizing:border-box;
  /* max-width:580px; */
  max-width: 41rem;
  width:calc( 100% - 1.5rem );
  display: flex;
  justify-content: end;
  align-items: center;
}
@media screen and (max-width: 780px) {
  /* 予約可能Notes */
  .notes {
    max-width: 24rem;
  }

  .cin-header-wrapper {
    position: unset;
  }

  .cin-content-wrapper {
    padding-top: 0;
  }
}
/*
.dt-rank-title {
  display: inline-block;
  font-size: 10px;
  line-height: 1;
  margin: 0;
  padding: 0;
  position: sticky;
  z-index: 100;
  white-space: nowrap;
  top: 0;
}
.schedule-wrap {
  position: relative;
}
.schedule-wrap .schedule-section-table thead th.dt-rank-0 { background-color: rgba(255, 200, 155, 1.0); }
.schedule-wrap .schedule-section-table thead th.dt-rank-1 { background-color: rgba(200, 230, 250, 1.0); }
.schedule-wrap .schedule-section-table thead th.dt-rank-2 { background-color: rgba(255, 245, 185, 1.0); }
.schedule-wrap .schedule-section-table thead th.dt-rank-3 { background-color: rgba(245, 245, 245, 1.0); }
.schedule-wrap .schedule-section-table tbody td.dt-rank-0 { background-color: rgba(255, 200, 155, 0.2); }
.schedule-wrap .schedule-section-table tbody td.dt-rank-1 { background-color: rgba(200, 230, 250, 0.2); }
.schedule-wrap .schedule-section-table tbody td.dt-rank-2 { background-color: rgba(255, 245, 185, 0.2); }
.schedule-wrap .schedule-section-table tbody td.dt-rank-3 { background-color: rgba(245, 245, 245, 0.2); }
*/
/* #area-container {
  width: 85%;
  max-width: 700px;
  margin: 0 auto;
  display: block;
  margin-bottom: 1em;
} */
#map {
  width: 100%;
  height: 300px;
}
.row-title {
  font-size: 0.7em;
}
.notify-btn {
  border: 1px solid #699b5f;
  color: #41583c;
  background-color: #bde4b4;
}
.notify-btn-on {
  color: red;
}
.down-level-1 {
  margin-left: 1em;
}
.down-level-2 {
  margin-left: 2em;
}
#raiten-container .form-value label {
  font-size: 1rem;
}
#area-container select {
  /* font-size: 1rem; */
  font-size: 18px;
  padding: 4px 6px;
  max-width: 500px;
  width: 400px;
}


/* 来店 or デリバリー */
#raiten-btns-div {
  border: none;
  display: flex;
}

#raiten-btns-div label {
  display: flex;
  align-items: center;
  gap: 0 .5em;
  position: relative;
  max-width: 200px;
  width: 165px;
  margin-bottom: .4em;
  padding: .5em .7em;
  border: 3px solid #a7a7a7;
  border-radius: 3px;
  background-color: #fff;
  cursor: pointer;
}

#raiten-btns-div label:has(:checked) {
  /* background-color: #2589d0;
  color: #fff; */
  background-color: #fff;
  color: #333;
  border: 3px solid #FF6374;
}

#raiten-btns-div label::before,
#raiten-btns-div label:has(:checked)::after {
  border-radius: 50%;
  content: '';
}

#raiten-btns-div label::before {
  width: 14px;
  height: 14px;
  background-color: #fff;
  border: 3px solid #a7a7a7;
}

#raiten-btns-div label:has(:checked)::before {
  background-color: #fff;
  border: 4px solid #FF6374;
}

/* #raiten-btns-div label:has(:checked)::after {
  position: absolute;
  top: 50%;
  left: calc(7px + .7em);
  transform: translate(-50%, -50%);
  width: 7px;
  height: 7px;
  background-color: #FF6374;
} */

#raiten-btns-div input {
  display: none;
}

@media (max-width: 780px) {
  #raiten-btns-div label {
    max-width: 50%;
    width: 50%;
  }

  #area-container select {
    max-width: 100%;
    width: 100%;
    font-size: 4.3vw;
    padding: 2% 3%;
  }
}
