/* Access page: align the legacy page-builder content with the LUANA school pages. */
body.postid-844 .p-entry__body #tcd-pb-wrap {
  color: #5a2525;
  font-family: "Zen Maru Gothic", "Noto Sans JP", sans-serif;
  font-size: 15px;
  line-height: 1.9;
}

body.postid-844 .p-entry__body #tcd-pb-wrap .tcd-pb-widget {
  color: inherit;
  font-family: inherit;
}

body.postid-844 .p-entry__body #tcd-pb-wrap .row1 .widget1 > h1:first-child {
  position: relative;
  margin: 0 0 36px !important;
  padding: 0 0 20px !important;
  color: #4f3826 !important;
  font-family: "Zen Maru Gothic", "Noto Sans JP", sans-serif !important;
  font-size: 30px !important;
  font-weight: 400 !important;
  line-height: 1.5 !important;
  letter-spacing: .08em !important;
  text-align: center !important;
}

body.postid-844 .p-entry__body #tcd-pb-wrap .row1 .widget1 > h1:first-child::after {
  position: absolute;
  right: 0;
  bottom: 0;
  left: 0;
  display: block;
  width: 72px;
  height: 2px;
  margin: auto;
  background: #c99754;
  content: "";
}

body.postid-844 .p-entry__body #tcd-pb-wrap .widget1 > p {
  margin: 0 0 28px;
  color: #5a2525;
  line-height: 1.9;
  text-align: center;
}

body.postid-844 .p-entry__body .ggmap {
  overflow: hidden;
  margin: 0 0 54px;
  border: 1px solid rgba(201, 151, 84, .55);
  border-radius: 18px;
  background: #fcfbf4;
  box-shadow: 0 10px 28px rgba(75, 54, 30, .08);
}

body.postid-844 .p-entry__body .ggmap iframe {
  display: block;
  width: 100%;
  border: 0;
}

body.postid-844 .p-entry__body #tcd-pb-wrap .widget2,
body.postid-844 .p-entry__body #tcd-pb-wrap .widget3,
body.postid-844 .p-entry__body #tcd-pb-wrap .widget4 {
  margin-top: 0;
  margin-bottom: 62px;
}

body.postid-844 .p-entry__body #tcd-pb-wrap h3.deco {
  position: relative;
  margin: 0 0 25px !important;
  padding: 5px 0 14px 22px !important;
  border: 0;
  border-bottom: 0;
  border-radius: 0;
  background: transparent;
  color: #4f3826;
  font-family: "Zen Maru Gothic", "Noto Sans JP", sans-serif;
  font-size: 21px;
  font-weight: 500;
  line-height: 1.65;
  letter-spacing: .05em;
}

body.postid-844 .p-entry__body #tcd-pb-wrap h3.deco::after {
  top: 8px;
  bottom: 14px;
  left: 0;
  width: 3px;
  height: auto;
  transform: none;
  background: #c99754;
}

body.postid-844 .p-entry__body #tcd-pb-wrap .widget2 > ul {
  box-sizing: border-box;
  margin: 0 0 32px;
  padding: 21px 26px 21px 50px;
  border-left: 3px solid #c99754;
  border-radius: 0 14px 14px 0;
  background: #fcfbf4;
  color: #5a2525;
}

body.postid-844 .p-entry__body #tcd-pb-wrap .widget2 > ul li {
  margin: 5px 0;
  padding-left: 3px;
}

body.postid-844 .p-entry__body #tcd-pb-wrap .widget2 > ul li::marker {
  color: #c99754;
}

body.postid-844 .p-entry__body .s_table {
  overflow: hidden;
  border: 1px solid rgba(201, 151, 84, .55);
  border-radius: 14px;
  background: #fff;
  box-shadow: 0 8px 24px rgba(75, 54, 30, .05);
}

body.postid-844 .p-entry__body table.cost {
  width: 100%;
  margin: 0;
  border: 0;
  border-collapse: collapse;
  color: #5a2525;
  font-family: "Zen Maru Gothic", "Noto Sans JP", sans-serif;
}

body.postid-844 .p-entry__body table.cost th,
body.postid-844 .p-entry__body table.cost td {
  padding: 15px 20px;
  border: 0;
  border-right: 1px solid rgba(201, 151, 84, .32);
  border-bottom: 1px solid rgba(201, 151, 84, .32);
  line-height: 1.75;
  vertical-align: middle;
}

body.postid-844 .p-entry__body table.cost tr:last-child th,
body.postid-844 .p-entry__body table.cost tr:last-child td {
  border-bottom: 0;
}

body.postid-844 .p-entry__body table.cost th {
  width: 28%;
  background: #f9f6e7;
  color: #4b361e;
  font-weight: 600;
  text-align: center;
}

body.postid-844 .p-entry__body table.cost td {
  width: 72%;
  border-right: 0;
  background: #fff;
  text-align: left;
}

body.postid-844 .p-entry__body .su-image-carousel {
  margin: 0 0 22px;
}

body.postid-844 .p-entry__body .su-image-carousel-item-content {
  overflow: hidden;
  border: 1px solid rgba(201, 151, 84, .45);
  border-radius: 14px;
  background: #fcfbf4;
  box-shadow: 0 8px 22px rgba(75, 54, 30, .07);
}

body.postid-844 .p-entry__body .su-image-carousel-item-content img {
  transition: transform .35s ease, opacity .35s ease;
}

body.postid-844 .p-entry__body .su-image-carousel-item-content a:hover img,
body.postid-844 .p-entry__body .su-image-carousel-item-content a:focus-visible img {
  opacity: .9;
  transform: scale(1.025);
}

body.postid-844 .p-entry__body .su-image-carousel .flickity-button {
  border: 1px solid #c99754;
  background: rgba(255, 255, 255, .94);
  color: #c99754;
  box-shadow: 0 4px 14px rgba(75, 54, 30, .12);
}

body.postid-844 .p-entry__body .su-image-carousel .flickity-button:hover,
body.postid-844 .p-entry__body .su-image-carousel .flickity-button:focus-visible {
  background: #c99754;
  color: #fff;
}

body.postid-844 .p-entry__body .su-image-carousel .flickity-page-dots .dot {
  background: rgba(201, 151, 84, .4);
}

body.postid-844 .p-entry__body .su-image-carousel .flickity-page-dots .dot.is-selected {
  background: #c99754;
}

body.postid-844 .p-entry__body #tcd-pb-wrap .widget4 > p:last-child {
  margin: 20px 0 0;
  color: #8a6a4a;
  font-size: 13px;
  text-align: center;
}

@media (max-width: 1024px) {
  body.postid-844 .p-entry__body .s_table > .s_table {
    margin-bottom: 0 !important;
    border: 0 !important;
    border-radius: 0 !important;
    box-shadow: none !important;
  }

  body.postid-844 .p-entry__body .s_table,
  body.postid-844 .p-entry__body table.cost,
  body.postid-844 .p-entry__body table.cost th,
  body.postid-844 .p-entry__body table.cost td {
    white-space: normal !important;
  }

  body.postid-844 .p-entry__body table.cost td {
    overflow-wrap: anywhere;
  }
}

@media (max-width: 767px) {
  body.postid-844 .p-entry__body #tcd-pb-wrap {
    font-size: 14px;
    line-height: 1.85;
  }

  body.postid-844 .p-entry__body #tcd-pb-wrap .row1 .widget1 > h1:first-child {
    margin-bottom: 28px !important;
    padding-bottom: 16px !important;
    font-size: 25px !important;
  }

  body.postid-844 .p-entry__body #tcd-pb-wrap .widget1 > p {
    margin-bottom: 22px;
    text-align: left;
  }

  body.postid-844 .p-entry__body .ggmap {
    margin-bottom: 42px;
    border-radius: 12px;
  }

  body.postid-844 .p-entry__body #tcd-pb-wrap .widget2,
  body.postid-844 .p-entry__body #tcd-pb-wrap .widget3,
  body.postid-844 .p-entry__body #tcd-pb-wrap .widget4 {
    margin-bottom: 48px;
  }

  body.postid-844 .p-entry__body #tcd-pb-wrap h3.deco {
    margin-bottom: 20px !important;
    padding: 4px 0 12px 17px !important;
    font-size: 18px;
    line-height: 1.65;
  }

  body.postid-844 .p-entry__body #tcd-pb-wrap h3.deco::after {
    top: 7px;
    bottom: 12px;
    width: 2px;
  }

  body.postid-844 .p-entry__body #tcd-pb-wrap .widget2 > ul {
    padding: 17px 16px 17px 35px;
    border-radius: 0 10px 10px 0;
  }

  body.postid-844 .p-entry__body .s_table {
    border-radius: 10px;
  }

  body.postid-844 .p-entry__body table.cost,
  body.postid-844 .p-entry__body table.cost tbody,
  body.postid-844 .p-entry__body table.cost tr,
  body.postid-844 .p-entry__body table.cost th,
  body.postid-844 .p-entry__body table.cost td {
    display: block;
    width: 100% !important;
    box-sizing: border-box;
  }

  body.postid-844 .p-entry__body table.cost th,
  body.postid-844 .p-entry__body table.cost td {
    padding: 12px 15px;
    border-right: 0;
    text-align: left;
  }

  body.postid-844 .p-entry__body table.cost td {
    border-bottom: 1px solid rgba(201, 151, 84, .32);
  }

  body.postid-844 .p-entry__body table.cost tr:last-child td {
    border-bottom: 0;
  }

  body.postid-844 .p-entry__body .su-image-carousel-item-content {
    border-radius: 10px;
  }
}
