@charset "UTF-8";

.p-detail__basic .content .table,
.p-detail__basic .content .table-type2 {
  padding: 0;
  width: 100%;
}

.p-detail__gallery .gallery1 .swiper-slide img {
    aspect-ratio: 299/224;
}

.p-detail__basic .content > div:nth-child(2) > div:nth-child(1) {
  padding-bottom: 1.6rem;
}

.p-detail__basic .content .table-wrapper {
  width: 100%;
  padding: initial;
}

.p-detail__basic .table__wrap > div {
    width: 100%;
    padding: 2.4rem;
    padding-bottom: 0;
    padding-top: 0;
}


.p-detail__basic {
    margin-bottom: 6.4rem;
}

.p-detail__staff dl dt {
  padding-bottom: 0.8rem;
}

.p-detail__information ul.facility-list {
  display: grid;
  grid-template-columns: 1fr 1fr;
}


.map iframe {
  width: 100%;
  height: 400px;
}

.table__wrap.content h3 {
  font-size: 2.2rem;
  margin-bottom: 1.6rem;
}

.table {
  margin-bottom: 2.8rem;
}

.table-pc {
  display: block;
}

.table-sp {
  display: none !important;
}

.p-detail__basic--table .table {
  display: grid;
  grid-template-columns: 1fr 1fr 1fr;
}

.cell {
  display: grid;
  grid-template-columns: 1fr 1fr;
  min-height: 48px; 
}



.table .table__th {
  background: #e5f1e7;
}

.table .table__th,
.table .table__td {
  font-size: 1.6rem;
  text-align: center;
  padding: 1.2rem;
  display: grid;
  place-content: center;
}

.table .table__td {
  background: #fffbf4;
  /* display: flex; */
}

.p-detail__basic .content .table > div .cell:not(:last-child) {
  border-bottom: 1px solid white;
}


.table-type2 .cell_td > div .fee, .table-type3 .cell_td > div .fee {
    font-weight: bold;
    font-size: 1.8rem;
}

.table-type2 .cell_th,
.table-type2 .cell_td > div {
  display: grid;
  grid-template-columns: 1fr 1fr 1fr 1fr;
}

.table-type2 .cell_th > div {
  background: #e5f1e7;
  font-size: 1.6rem;
  text-align: center;
  padding: 1.2rem;
}

.table-type2 .cell_td > div div {
  background: #fffbf4;
  text-align: center;
  padding: 1.2rem 0rem;
  font-size: 1.6rem;
  display: grid;
  place-content: center;
}

.p-detail__basic .content .table-type3 {
  width: 100%;
  padding: 0;
}

.p-detail__basic .content .table-type3 .cell_th {
  display: grid;
  grid-template-columns: 1fr 1fr 1fr;
  padding-bottom: 0 !important;
}

.p-detail__basic .content .table-type3 .cell_th div {
  background: #e5f1e7;
  padding: 1.2rem;
  font-size: 1.6rem;
  text-align: center;
}

.p-detail__basic .content .table-type3 .cell_th > div:not(:last-child) {
  border-right: 1px solid white;
}

.table-type3 .cell_td > div {
  display: grid;
  grid-template-columns: 1fr 1fr 1fr;
}

.table-type3 .cell_td > div:not(:last-child) {
  border-bottom: 1px solid white;
}

.table-type3 .cell_td > div div:not(:last-child) {
  border-right: 1px solid white;
}

.table-type3 .cell_td > div div {
  text-align: center;
  padding: 1.2rem;
  font-size: 1.6rem;
  background: #fffbf4;
}

.p-detail__basic--table .table,
.table-type2,
.p-detail__basic .content .table-type3 {
  border-radius: 0.6rem;
  overflow: hidden;
}

.table-type2 .cell_th > div:not(:last-child) {
  border-right: 1px solid white;
}

.table-type2 .cell_td > div div:not(:last-child) {
  border-right: 1px solid white;
}

.table-type2 .cell_td > div:not(:last-child) {
  border-bottom: 1px solid white;
}

.p-detail__basic--table .table__wrap:nth-child(2) {
  padding-top: 4rem;
  padding-bottom: 4rem;
}

.p-detail__basic--table .table__wrap:nth-child(3) {
  padding-top: 0;
  padding-bottom: 4.8rem;
}

@media (max-width: 768px) {
  .table-pc {
    display: none !important;
  }

  .table-sp {
    display: block !important;
    margin-bottom: 3.2rem;
  }

  .p-detail__information {
    padding-top: 1rem;
}

  
.p-detail__basic .content tr {
    display: flex;
    flex-direction: column;
}

  .p-detail__basic .content {
    padding: 2rem;
  }

  .p-detail__basic .content > div:nth-child(2) dl dd {
    padding: 1.6rem 1rem;
    font-size: 1.5rem;
  }

  .p-detail__information ul li {
    font-size: 1.1rem;
  }

  .cell {
    display: flex;
    flex-direction: column;
    min-height: initial;
}

  .p-detail__basic .table__wrap > div {
    padding: 0;
}

  .table__wrap.content h3 {
    font-size: 2rem;
    margin-bottom: 1.2rem;
}

  .table-type3 .cell_td > div div {
    display: flex;
    align-items: center;
    justify-content: center;
  }

  .p-detail__basic .content .table-wrapper .table-type2 {
        min-width: 600px; 
    }

  .p-detail__basic .content .table-wrapper {
    overflow-x: auto;
    width: calc(100% - 0.3rem);
    margin: 0 auto 0.8rem;
}

  .table-wrapper::-webkit-scrollbar {
    height: 0.4rem;
  }

  .table-wrapper::-webkit-scrollbar-track {
    background: #eee;
  }

  .table-wrapper::-webkit-scrollbar-thumb {
    background: #999;
  }

  .p-detail__basic--table .table__wrap:nth-child(2) {
    padding-bottom: 3rem;
    padding-top: 2rem;
}

.p-detail__basic--table .table__wrap:nth-child(3) {
    padding-bottom: 3rem;
}

  .table-type2 .cell_th > div:not(:last-child) ,.table-type2 .cell_td > div div:not(:last-child),.p-detail__basic .content .table-type3 .cell_th > div:not(:last-child) ,.table-type3 .cell_td > div div:not(:last-child) {
    border-right: inherit;
}



.table-type2 .cell_td > div:not(:last-child), .table-type3 .cell_td > div:not(:last-child){border-bottom: initial;}


  .table-wrappe {
    overflow-x: auto;
    width: calc(100% - 0.3rem);
    margin: 0 auto 0.8rem;
  }
}
