/****************************************
* Body
****************************************/

body {
  background-color: #ffffff;
  background-repeat: no-repeat;
  background-size: contain;
}

hr {
  border: none;
  border-top: 1px solid #cccccc;
}

hr.alt {
  border: none;
  border-top: 1px solid #cccccc;
}

/****************************************
* Typography
****************************************/

h1 {
  color: #000000;
  font: normal 900 45px/1.3em 'Noto Sans', sans-serif;
  text-transform: uppercase;
  text-shadow: none;
  letter-spacing: 0px;
}

h2 {
  color: #8898be;
  font: normal bold 20px/1.4em 'Noto Sans Jp', sans-serif;
  text-transform: none;
  letter-spacing: 0px;
}

h3 {
  color: #225182;
  font: normal 700 25px/1.2em 'Noto Sans Jp', sans-serif;
  text-transform: uppercase;
  letter-spacing: 0px;
}

h4 {
  color: #225182;
  font: normal 500 18px/1.5em 'Noto Sans Jp', sans-serif;
  text-transform: none;
  letter-spacing: 0px;
}

h5 {
  color: #646464;
  font: normal normal 22px/1.2em 'Noto Sans Jp', sans-serif;
  text-transform: none;
  letter-spacing: 0px;
}

p,
li,
label,
legend {
  color: #585858;
  font: normal normal 17px/1.5em 'Noto Sans Jp', sans-serif;
  text-transform: none;
}

a {
  color: #be442a;
  font-weight: bold;
  text-decoration: none;
}

p > a {
  font-weight: 700;
}

a:focus,
a:hover {
  color: #86301E;
  text-decoration: none;
}

nav a,
a[href^="tel"] {
  text-decoration: none;
}

ol {
  margin-left: 1rem;
}

s {
  color: #666666;
}

.discount-title {
  color: #ff0000;
  font-size: 15px;
  font-weight: 600;
}

* + img,
h3 + h2,
ol + h2,
ol + h3,
ol + h4,
ol + h5,
ul + h2,
ul + h3,
ul + h4,
ul + h5,
p + h2,
p + h3,
p + h4,
p + h5,
p + ol,
p + ul,
content + h2,
content + h3,
content + h4,
content + .packages,
.main-content-box + .packages {
  margin-top: 2rem;
}

h1 + h2,
h1 + p,
h1 + hr,
h1 + content,
h2 + h3,
h2 + hr,
h2 + p,
h2 + ul,
h2 + ol,
h3 + h2,
h3 + h4,
h3 + p,
h3 + ul,
h3 + ol,
h3 + .bulleted,
h3 + .course-widget,
h4 + p,
h4 + li,
hr + h2,
p + p,
p + ul,
p + ol,
p + .button,
a + img,
img + img,
input + label,
.small + .small,
.button + .button,
.bulleted + .register-now {
  margin-top: 1rem;
}

.about + .staff-section .grid {
  padding-top: 0;
}

.sidebar-box + content {
  margin-top: 2rem;
  display: block;
}

ul + p,
ol + p {
  margin-top: 1rem;
}

content {
  display: block;
}

content > p > img {
  margin-top: 2rem;
}

.bulleted li:before {
  content: '';
  display: block;
  position: absolute;
  left: 0;
  top: 0.7em;
  width: 0;
  height: 0;
  padding: 2px;
  background-color: #888888;
  border-radius: 100%;
}

ol {
  list-style: decimal;
}

.bulleted ol > li {
  padding-left: .25rem;
}

.bulleted ol > li:before {
  padding: 0;
}

/****************************************
* Ribbon
****************************************/

.ribbon {
  background: #225182;
  text-align: center;
}

.ribbon h1,
.ribbon h2,
.ribbon h3,
.ribbon h4,
.ribbon h5,
.ribbon h6 {
  color: #ffffff;
  font-weight: bold;
  font-size: 30px;
  font-family: 'Noto Sans Jp', sans-serif;
  line-height: 1em;
  text-transform: uppercase;
  letter-spacing: 2px;
  text-shadow: none;
}

.ribbon p {
  color: #ffffff;
}

.ribbon a {
  font-weight: bold;
  color: #E95334;
  text-decoration: none;
}

.ribbon a:hover {
  color: #be442a;
  text-decoration: none;
}


.ribbon .button:hover {
  background-color: #ffffff;
}

.ribbon content > :last-child {
  margin-bottom: 0;
}

@media (min-width: 768px) {
  .ribbon .grid {
    max-width: 1400px;
  }
}

/****************************************
* Main content
****************************************/

.main-content {
  background: #ffffff ;
}

@media (min-width: 800px) {
  .main-content .grid {
    grid-template-columns: 1fr 1fr;
  }
}


.main-content-box + .main-content-box {
  margin-top: 2rem;
}

/****************************************
* Collage Gallery
****************************************/

.collage-gallery {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 1rem;
}

.collage-gallery img {
  border-radius: 10px;
}

.collage-gallery img:first-child {
  grid-column: span 2;
}

@media (min-width: 800px) and (max-width: 1599.98px) {
  .collage-gallery {
    grid-template-columns: 1fr;
  }

  .collage-gallery img:first-child {
    grid-column: span 1;
  }
} 

.collage-gallery img + img {
  margin: 0;
}

/****************************************
* Sidebar
****************************************/

.sidebar-box {
  margin: 0 auto;
  padding: 2rem;
  box-shadow: none;
  background: #ffffff ;
  border: 1px solid #e1e1e1;
  border-radius: 4px;
}



.sidebar-box p,
.sidebar-box li,
.sidebar-box label,
.sidebar-box legend {
  color: #585858;
  font-size: 17px;
}

.sidebar-box a:not(.button) {
  color: #e95334;
}

.sidebar-box a:not(.button):hover {
  color: #be442a;
}


.sidebar-box + .sidebar-box,
.sidebar-box + .course-widget-packages,
.sidebar-box + .course-widget-service,
.course-widget-packages + .sidebar-box,
.course-widget-packages + content {
  margin-top: 2rem;
}

.sidebar-box.no-shadow {
  box-shadow: none;
  padding: 0;
}

/****************************************
* Facebook
****************************************/

section.facebook {
  background-color: #fafafa;
}

@media (min-width: 800px) {
  section.facebook .grid {
    grid-template-columns: 1fr 1fr;
  }
}

section.facebook p.links a:first-of-type {
  display: inline-block;
  margin-right: 2rem;
}

section.facebook img.post {
  max-height: 350px;
}

section.facebook a {
  display: block;
  word-wrap: anywhere;
}

.fb-like {
  display: block;
  margin-top: 1rem;
  margin-bottom: 1rem;
}

/****************************************
* Two column packages
****************************************/

.full-width-packages .title {
  padding-bottom: 0;
}

.full-width-packages .packages {
  padding-top: 0;
  grid-template-columns: 1fr;
}

@media (min-width: 800px) {
  .full-width-packages .packages {
    grid-template-columns: 1fr 1fr;
  }
}

/****************************************
* Rules and resources
****************************************/

@media (min-width: 900px) {
  .rules .grid {
    grid-template-columns: 2fr 1fr;
  }
}

/****************************************
* About
****************************************/

.about .grid {
  grid-template-columns: 1fr;
}

@media (min-width: 900px) {
  .about .grid {
    grid-template-columns: 2fr 1fr;
  }
}

/****************************************
* FAQs
****************************************/

.main-content > .title {
  padding-bottom: 0;
}

.faqs.grid {
  padding-top: 0;
}

@media (max-width: 799px) {
  .faqs.grid {
    grid-gap: 0;
  }
}

@media (min-width: 800px) {
  .faqs.grid {
    grid-template-columns: 1fr 1fr;
  }
}

/****************************************
* Accordion
****************************************/

details {
  position: relative;
  list-style-type: '\f13a';
}

details:not([open]) + details {
  border-top: 1px solid #cccccc;
}

details summary {
  padding: 1rem 50px 1rem 0;
  cursor: pointer;
  list-style: none;
}

/* Safari compatibility */
details summary::-webkit-details-marker {
  display: none;
}

details::before {
  content: '\f13a';
  position: absolute;
  top: 20px;
  right: 10px;
  font: bold normal 36px/0.5em 'Font Awesome 6 Pro';
  color: #be442a;
  transition: all 0.5s;
  pointer-events: none;
}

details:hover::before {
  color: #86301E;
}

details[open]::before {
  transform: rotate(180deg);
}

details > div {
  background-color: #ffffff;
  padding: 1rem;
}

/****************************************
* Packages
****************************************/

ul.packages > li {
  padding-top: 2rem;
  margin-top: 2rem;
  border-top: 1px solid #cccccc;
}

ul.packages > li:first-child {
  margin-top: 0;
}

.register-now {
  display: flex;
  align-items: center;
  gap: 1rem;
  flex-wrap: wrap;
  font-size: 0;
}

.register-now > .button {
  display: inline-block;
}

.register-now > p.price {
  display: inline-block;
  margin: 0;
  color: #000000;
}

/* Variations */

.packages-bordered > li + li {
  padding-top: 2rem;
  margin-top: 2rem;
  border-top: 1px solid #cccccc;
}

.packages-two-column {
  display: flex;
  flex-direction: row;
  flex-wrap: wrap;
  margin-right: -1rem;
  margin-left: -1rem;
}

.packages-two-column > li {
  width: 50%;
  margin-bottom: 2rem;
  padding: 0 1rem;
}

ul.packages {
  margin-left: 0;
}

ul.packages > li {
  margin: 0 0 2rem 0;
}

ul.packages > li::before {
  display: none;
}

.bulleted > ul.packages {
  padding: 0;
}

/****************************************
* Instructors / Associations
****************************************/

ul.instructors,
ul.associations {
  padding: 0;
  list-style: none;
}

.bulleted ul.instructors li:before,
.bulleted ul.associations li:before {
  display: none;
}

ul.instructors > li,
ul.associations > li {
  margin: 0;
  padding: 1.5rem 0;
  border-bottom: 1px solid #cccccc;
  font-size: 0;
}

ul.instructors > li:last-of-type,
ul.associations > li:last-of-type {
  padding-bottom: 0;
  border-bottom: none;
}

ul.instructors > li .wrapper,
ul.instructors > li .image-wrapper,
ul.associations > li .wrapper,
ul.associations > li .image-wrapper {
  display: inline-block;
  vertical-align: top;
}

ul.instructors > li .image-wrapper,
ul.associations > li .image-wrapper {
  padding-right: 1.5rem;
  width: 33.3333%;
}

ul.instructors > li .wrapper,
ul.associations > li .wrapper {
  padding-left: 1.5rem;
  width: 66.666%;
}

ul.instructors > li .wrapper > :last-child,
ul.associations > li .wrapper > :last-child {
  margin-bottom: 0;
}

/****************************************
* Testimonials
****************************************/

.testimonials .grid {
  grid-template-columns: 1fr;
}

@media (min-width: 1140px) {
  .testimonials .grid {
    grid-template-columns: 2fr 1fr;
  }
}

/****************************************
* Staff
****************************************/

.staff-grid {
  display: grid;
  gap: 1rem;
  margin-top: 2rem;
}

@media(min-width: 576px) {
  .staff-grid {
    grid-template-columns: 1fr 1fr;
  }
}

@media(min-width: 768px) {
  .staff-grid {
    grid-template-columns: repeat(3, 1fr);
  }
}

@media(min-width: 1140px) {
  .staff-grid {
    grid-template-columns: repeat(4, 1fr);
  }
}

@media(min-width: 1400px) {
  .staff-grid {
    grid-template-columns: repeat(5, 1fr);
  }
}

.staff-grid .staff {
  display: flex;
  flex-direction: column;
  border-radius: 10px;
  background-color: #F2F2F2;
  overflow: hidden;
}

.staff-grid .staff .image-wrapper {
  overflow: hidden;
}

.staff-grid .staff img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.staff-grid .staff .details {
  padding: 1rem;
}

.staff-grid .staff h3 + p {
  margin-top: 0.25rem;
}

.staff-grid .staff h3,
.staff-grid .staff p {
  text-align: center;
}

.staff-grid .staff p + .button {
  display: block;
  margin: 1rem auto 0 auto;
  padding: .75rem;
}

.staff-grid .staff .bio {
  display: none;
}

.staff.overlay .wrapper {
  max-width: 800px;
}

.staff.overlay .grid {
  gap: 0;
  padding: 0;
}

.staff.overlay .grid > div:first-of-type {
  display: none;
}

@media (min-width: 576px) {
  .staff.overlay .grid > div:first-of-type {
    display: unset;
  }

  .staff.overlay .grid {
    grid-template-columns: 200px 1fr;
    gap: 2rem;
  }
}

@media (min-width: 1140px) {
  .staff.overlay .grid {
    grid-template-columns: auto 1fr;
  }
}

.staff.overlay h3 + p {
  margin: 0 0 1rem 0;
  font-weight: bold;
}

.staff.overlay h3,
.staff.overlay p {
  color: #000000;
}

/****************************************
* Attribution
****************************************/

.attribution {
  background: rgba(255,255,255,.2);
  padding: .5rem .5rem calc(.5rem + env(safe-area-inset-bottom));
}

.attribution a,
.attribution p {
  margin: 0;
  font: normal normal 12px/1.5em 'Noto Sans Jp', sans-serif;
  text-align: center;
  color: #FFFFFF;
}

.attribution a {
  color: inherit;
  text-decoration: none;
}

.attribution a:focus,
.attribution a:hover {
  text-decoration: underline;
}

/******************************
* Buttons
*******************************/

.button,
input[type='submit'] {
  display: block;
  margin: 0px;
  padding: 1rem 1.5rem;
  border-radius: 4px;
  background: #dc3a18;
  width: auto;
  height: auto;
  color: #ffffff;
  font: normal normal 15px/1em 'Noto Sans Jp', sans-serif;
  text-transform: uppercase;
  letter-spacing: 2px;
}

.button:focus,
.button:hover,
input[type='submit']:focus,
input[type='submit']:hover {
  background: #be442a;
  color: #ffffff;
}

svg {
  fill: #E95334;
}

a:focus svg,
a:hover svg {
  fill: #be442a;
}

/****************************************
* Forms
****************************************/

label {
  display: block;
}

label.invalid {
  color: #dd0000;
}

input[type="text"],
input[type="tel"],
input[type="email"],
input[type="date"],
input[type="number"],
select,
textarea {
  border: 1px solid #176533;
  border-radius: 0px;
  background-color: rgba(255,255,255,.2);
  padding: 3px 6px;
  width: 100%;
  height: 34px;
  font: normal normal 17px/1.5em 'Noto Sans Jp', sans-serif;
  color: #ffffff;
  text-transform: none;
}

input[type="submit"] {
  border-radius: 4px;
}

textarea {
  resize: vertical;
  min-height: 80px;
  max-height: 200px;
}

input:focus,
select:focus,
textarea:focus {
  outline: 1px solid #176533;
  background-color: rgba(255,255,255,.1);
}

input.invalid,
select.invalid,
textarea.invalid {
  border: 1px solid #dd0000;
}

input[type='radio'] + label,
input[type='checkbox'] + label {
  line-height: 0.25em;
  cursor: pointer;
}

input[type='radio'].invalid:not(:checked) + label:before,
input[type='radio'].invalid ~ input[type='radio']:not(:checked) + label:before,
input[type='checkbox'].invalid ~ input[type='radio']:not(:checked) + label:before,
input[type='checkbox'].invalid:not(:checked) + label:before {
  border-color: #dd0000;
}

input[type="file"] {
  display: none !important;
}

.upload-button {
  padding: .75rem 1rem;
  text-transform: none;
  letter-spacing: 1px;
}

/****************************************
* Misc
****************************************/

.des-wrapper .des-create-modify {
  padding-top: 50px;
}

.inner-grid [class*='col']:first-of-type {
  padding-left: 0;
}

.inner-grid [class*='col']:last-of-type {
  padding-right: 0;
}

iframe {
  width: 100%;
  height: 100%;
  margin-bottom: 1rem;
}

.no-padding {
  padding: 0 !important;
}

.no-margin {
  margin: 0 !important;
}

.anchor {
  margin-top: -125px;
  margin-bottom: 125px;
  display: block;
}

.inline {
  display: inline-block;
}

/****************************************
* Overlay
****************************************/

button[data-overlay] {
  padding: 0;
}

button[data-overlay] p {
  margin-top: .5rem;
  font-size: 12px;
  color: #000000;
}

.overlay {
  position: fixed;
  top: 0;
  right: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background-color: rgba(0, 0, 0, .8);
  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);
  z-index: 999;
  overflow: auto;
}

.overlay > .wrapper {
  position: absolute;
  top: 50%;
  left: 0;
  right: 0;
  transform: translateY(-50%);
  margin: auto;
  border-radius: 5px;
  background-color: #ffffff;
  width: calc(100% - 2rem);
  max-width: 700px;
  max-height: 85vh;
  padding: 2rem;
  overflow-y: scroll;
}

#register .overlay > .wrapper {
  max-width: 528px;
}

.overlay .close-overlay {
  position: absolute;
  top: 0;
  right: 18px;
  margin: 0;
  background-color: transparent;
  padding: 0;
  font-size: 30px;
  color: #000000;
  cursor: pointer;
}

.overlay .close-overlay:focus,
.overlay .close-overlay:hover {
  color: #DD0000;
}

.overlay img {
  margin: 0 auto 1rem auto;
}

.overlay content + .button {
  margin-top: 1rem;
}

/****************************************
* Featured packages group
****************************************/

.featured-packages-group {
  margin-top: 2rem;
}

.featured-packages-group h3 {
  margin-bottom: .25rem;
}

.featured-packages-group + .featured-packages-group {
  margin-top: 2rem;
  padding-top: 2rem;
}

.featured-packages-group + .featured-packages-group {
  border-top: 1px solid #cccccc;
}

.featured-packages-group .button {
  display: inline-block;
}

/****************************************
* Reviews
****************************************/

.reviews {
  background-color: #efefef;
}

.reviews .grid {
  gap: 1rem;
  text-align: center;
}

.reviews .sidebar-box + .sidebar-box {
  margin: 0;
}

.reviews .stars {
  display: flex;
  justify-content: center;
  align-items: center;
  gap: .25rem;
  margin-bottom: 1rem;
  color: #eab436;
}

.reviews .small {
  font-size: 14px;
  font-weight: bold;
  color: #225182;
}

@media (min-width: 768px) {
  .reviews .grid {
    grid-template-columns: 1fr 1fr;
  }
}

@media (min-width: 1400px) {
  .reviews .grid {
    grid-template-columns: repeat(4, 1fr);
  }
}

/****************************************
* Horizontal scroll container
****************************************/

.scroll-master {
  position: relative;
  margin: 0 auto;
  max-width: 1400px;
  padding: 2rem 3rem;
}

.scroll-container {
  display: flex;
  gap: 1rem;
  padding: 0 1rem;
  overflow-x: scroll;
  scroll-behavior: smooth;
  scroll-snap-type: x mandatory;
  scrollbar-width: none;
}

.scroll-container::-webkit-scrollbar {
  display: none;
}

.scroll-container .control {
  display: flex;
  justify-content: center;
  align-items: center;
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  z-index: 1;
  width: 30px;
  height: 30px;
  border-radius: 50%;
  background-color: #dc3a18;
  padding: 0;
  font-size: 12px;
  color: #ffffff;
}

.scroll-container .control:hover {
  background-color: #be442a;
}

.scroll-container .control.disabled {
  pointer-events: none;
  opacity: .2;
}

.scroll-container .control.prev {
  left: .5rem;
}

.scroll-container .control.next {
  right: .5rem;
}

.scroll-item {
  flex: 0 0 300px;
  margin: 0;
  scroll-snap-align: start;
}

@media(min-width: 1140px) {
  .scroll-item {
    flex: 0 0 400px;
  }
}

/****************************************
* License Steps
****************************************/

.license-steps {
  background-color: #efefef;
}

.license-steps > .grid {
  grid-gap: 0;
}

.license-steps content {
  display: grid;
  grid-gap: 2rem;
}

.license-steps .license-step {
  position: relative;
  display: grid;
  grid-template-columns: 50px 1fr;
  grid-gap: 1rem;
}

.license-steps h4 {
  height: 100%;
  padding: 1rem;
  border-radius: 10px;
  line-height: 100%;
  background-color: #225182;
  color: #ffffff;
  font-size: 26px;
  text-align: center;
  vertical-align: middle;
}

.license-steps h5 + ul {
  margin-top: .5rem;
}

@media(min-width: 1400px) {
  .license-steps content {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
  }
}

/****************************************
* Application
****************************************/

.application {
  background-color: #e8e8e8;
}

p.invalid,
span.invalid,
label.invalid,
legend.invalid {
  color: #DD0000;
  border: 1px dashed #DD0000;
  padding: .25rem;
}

p.invalid::before,
p.invalid::before,
span.invalid::before,
span.invalid::before,
label.invalid::before,
legend.invalid::before,
label.invalid::after,
legend.invalid::after {
  content: '*';
}

input.invalid,
textarea.invalid,
select.invalid,
[type="radio"].invalid + label:before,
[type="checkbox"].invalid + label:before,
input[type="file"].invalid + button {
  outline: 1px solid #DD0000;
}

.honey-wrapper {
  position: absolute !important;
  top: -9999px !important;
  left: -9999px !important;
}

.application.sidebar-box {
  padding: 0;
}

.application .error-message {
  margin-bottom: 1rem;
  color: #dd0000;
}

.application form .grid {
  margin: 0;
  padding: 0;
}

.application .flex {
  flex-wrap: wrap;
}

.application .grid[class*="col-"] {
  width: 100%;
  padding: 0;
}

.application .grid[class*="col-"] input,
.application .grid[class*="col-"] fieldset,
.application .grid[class*="col-"] textarea {
  margin: 0;
}

.application label {
  margin-bottom: 4px;
}

.application input:not([type="submit"]),
.application textarea {
  width: 100%;
  background-color: #ffffff;
  color: #000000;
}

.application input[type="text"],
.application input[type="date"],
.application input[type="email"],
.application input[type="tel"],
.application input[type="number"] {
  height: 34px;
}

.application input + fieldset,
.application .grid + label,
.application input + .grid {
  margin-top: 1rem;
}

.application h2 {
  margin-bottom: 1rem;
}

.application fieldset input[type="radio"] {
  width: auto;
}

.application fieldset label {
  display: inline-block;
  margin: .5rem .5rem 0 0;
}

.application .grid.col-2 {
  grid-template-columns: 1fr 1fr;
}

.application .gap-0 {
  gap: 0;
}

.application .gap-1 {
  gap: 1rem;
}

.application .gap-2 {
  gap: 2rem;
}

.application .flex-column {
  display: flex;
  flex-direction: column;
}

.application .flex-grow {
  flex-grow: 1;
}

.application hr {
  margin: 2rem 0;
}

.application [type="submit"] {
  margin: 1rem 0 0 auto;
}

.clone {
  position: relative;
}

.clone + .clone {
  margin-top: 1rem;
  border-top: 1px solid #dadada;
  padding-top: 1rem;
}

.add-clone {
  margin-top: 1rem;
  padding: .5rem .75rem;
  font-size: 14px;
  text-transform: none;
  line-height: 1em;
  letter-spacing: 1px;
}

.remove-clone {
  position: absolute;
  top: .5rem;
  right: 0;
  border: none;
  background-color: #b3b3b3;
  border-radius: 50%;
  width: 30px;
  height: 30px;
  padding: 0;
  color: #ffffff;
  font-size: 18px;
  letter-spacing: 1px;
}

.remove-clone i {
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
}

@media(min-width: 768px) {
  .application .col-2--tablet {
    grid-template-columns: 1fr 1fr;
  }

  .application .gap-2--tablet {
    gap: 2rem;
  }
}

@media(min-width: 1140px) {
  .application .col-2--desktop {
    grid-template-columns: 1fr 1fr;
  }

  .application .gap-4--desktop {
    gap: 4rem;
  }
}