/* Mobile-First Responsive Styles */

/* 1. Reset and base */
*,
*::before,
*::after {
  box-sizing: border-box;
}

html,
body {
  margin: 0;
  padding: 0;
  height: auto;
  min-height: 100%;
  overflow-x: hidden;
  overflow-y: auto;
  font-family: 'Noto Sans JP', sans-serif !important;
}

body {
  background-size: cover;
  background-position: center;
  /* Safe-area for notched devices */
  padding-top: env(safe-area-inset-top);
  padding-bottom: env(safe-area-inset-bottom);
}

body {
  background: #fff6c7;
}

main {
  width: 100%;
  max-width: 430px;
  margin: 0 auto;
  min-height: 70vh;
  background: #fff6c7;
}

.nav__left,
.nav__right {
  display: none;
}

figure {
  margin: 0;
}

figure img {
  width: 100%;
  height: auto;
  display: block;
  /* box-shadow: 0 8px 24px rgba(0, 0, 0, 0.12); */
}

figcaption {
  margin-top: 10px;
  font-size: 0.95rem;
  color: #555;
}

@media(min-width:720px) {
  h1 {
    font-size: 1.5rem;
  }
}

/* 2. Page layout */
.page-content {
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  padding-top: 0px;
  width: 100%;
  margin: 0 auto;
  max-width: 430px;
}

.page-container {
  width: 100%;
  border-radius: 20px;
  border: solid 10px var(--color-sub3);
  overflow: hidden;
}

.content-holder {
  padding: 10px;
  width: 96%;
  text-align: center;
  background: #fff;
  border-radius: 8px;
  border: solid 2px var(--color-sub3);
  margin-top: 10px;
  margin-bottom: 10px;
}


/* 3. Utility */
img,
video {
  max-width: 100%;
  height: auto;
}

/* 4. Allow vertical scroll */
html,
body {
  overflow: auto;
}

/* 5. Media Queries for wider screens */
@media (min-width: 576px) {
  .page-content {
    max-width: 540px;
  }
}

@media (min-width: 768px) {
  .page-content {
    max-width: 720px;
  }
}

@media (min-width: 992px) {
  .page-content {
    max-width: 960px;
  }
}

hr {
  margin: 15px 0;
}

.fontNotoSerif {
  font-family: 'Noto Serif JP', serif !important;
}



ul {
    margin: 0;
    padding: 0;
    font-size: 12px;
    list-style: none;
    -webkit-font-feature-settings: 'palt' 1;
    font-feature-settings: 'palt' 1;
    color: #555;
}

ul.caution {
    margin: 20px 0 0 0;
    padding: 0;
    list-style: none;
    font-size: 12px;
    -webkit-font-feature-settings: 'palt' 1;
    font-feature-settings: 'palt' 1;
}

ul.caution li {
    position: relative;
    padding: 0 0 0 1.1em;
}

ul.caution li::after {
    position: absolute;
    display: block;
    content: "※";
    top: 0;
    left: 0;
}

ul.caution li {
    list-style: none;
}
