/* Custom Stylesheet */
/**
 * Use this file to override Materialize files so you can update
 * the core Materialize files in the future
 *
 * Made By MaterializeCSS.com
 */

body {
  font-family: Roboto, 'Noto Sans JP', sans-serif;
}

p {
  line-height: 2rem;
}

.sidenav-trigger {
  color: #26a69a;
}

.parallax-container {
  position: relative; /* added by me */
  min-height: 400px;
  height: auto;
  color: rgba(255,255,255,.9);
  display: flex; /* added by me */
  align-items: center; /* added by me */
}
.parallax-container .section {
    width: 100%;
    position: relative; /* added by me */
    z-index: 2; /* added by me */
}

@media only screen and (max-width : 992px) {
  .parallax-container .section {
    position: relative;
    top: 0;
    z-index: 2; /* added by me */
  }
  #index-banner .section {
    top: 0;
  }
}

@media only screen and (max-width : 600px) {
  #index-banner .section {
    top: 0;
  }
}

.icon-block {
  padding: 0 15px;
}
.icon-block .material-icons {
  font-size: inherit;
}

footer.page-footer {
  margin: 0;
}

/* added by me */

.home-page .parallax-container {
  min-height: 600px;
}

.primary-overlay {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: rgba(0, 0, 0, 0.15);
  z-index: 1;
}

.card-image .card-title {
  position: relative;
  z-index: 2;
}

/* Rich Text Block */

.cms-rich-text h2 {
  font-size: 1.8rem;
  font-weight: 500;
  line-height: 1.3;
  margin: 1.8rem 0 0.6rem;
}
.cms-rich-text h3 {
  font-size: 1.5rem;
  font-weight: 500;
  line-height: 1.3;
  margin: 1.5rem 0 0.5rem;
}
.cms-rich-text h4 {
  font-size: 1.25rem;
  font-weight: 500;
  line-height: 1.3;
  margin: 1.2rem 0 0.4rem;
}
.cms-rich-text h5 {
  font-size: 1.1rem;
  font-weight: 500;
  line-height: 1.3;
  margin: 1rem 0 0.3rem;
}
.cms-rich-text ul,
.cms-rich-text ol {
  margin: 0.5rem 0 0.5rem 2rem;
  padding-left: 0;
}
.cms-rich-text ul li {
  list-style-type: disc;
  display: list-item;
  margin-bottom: 0.3rem;
}
.cms-rich-text ol li {
  list-style-type: decimal;
  display: list-item;
  margin-bottom: 0.3rem;
}
.cms-rich-text ul ul li { list-style-type: circle; }
.cms-rich-text ul ul ul li { list-style-type: square; }

/* StreamField blocks */

.cms-figure {
  text-align: center;
  margin: 1.5rem 0;
}
.cms-figure img {
  max-width: 100%;
  height: auto;
  border-radius: 2px;
}
.cms-figure figcaption {
  font-size: 0.85rem;
  margin-top: 0.5rem;
}

.cms-embed-container {
  margin: 1.5rem 0;
}
.cms-embed-container iframe {
  display: block;
  width: 100%;
  height: auto;
  aspect-ratio: 16 / 9;
  border: none;
}

.cms-table-wrapper {
  overflow-x: auto;
  margin: 1.5rem 0;
}