@charset "utf-8";

/* common */
body {
  font-family: 'Kosugi Maru', sans-serif;
  margin: 0;
  padding: 0;
}
.container {
  width: calc(100% - 32px);
  margin: 0 auto;
  /* outline: 2px solid red; */
  padding: 0;
}
h1, h2, h3 {
  margin: 0;
  font-weight: normal;
  line-height: 1.1;
  padding-top: 8px;
  padding-bottom: 16px;
}
h1 {
  font-size: 2.6rem;
}
h2 {
  font-size: 2.2rem;
}
h3 {
  font-size: 1.4rem;
  padding-top: 16px;
  padding-bottom: 8px;
}
p, ul, ol {
  margin: 0;
  font-size: 1.1rem;
  line-height: 1.6;
  padding-bottom: 6px;
}
a {
  text-decoration: none;
  color: inherit;
  cursor: pointer;
}
p a {
  text-decoration: underline;
}
p.small {
  font-size: 0.8rem;
}
li {
  list-style-type: none;
  text-align: left;
}
.center {
  text-align: center;
}
.right {
  text-align: right;
}
.center li {
  text-align: center;
}
img {
  vertical-align: bottom;
}
.back1 {
  background-color: rgba(255, 255, 255, 0.9);
  border-radius: 8px;
}
.minonly {
  display: block;
}
p.minonly {
  text-align: center;
}
.midonly {
  display: none;
}
.wavy {
  text-decoration: underline wavy #333;
}
img.new1 {
  width: 10px;
  vertical-align: middle;
  padding: 0;
}
.new2 {
  color: #f00;
  text-decoration: underline wavy;
}
.new3 {
  display: inline-block;
  color: #000;
  text-decoration: none;
  font-size: 12px;
}
.red {
  color: #e00;
}
.underline {
  text-decoration: underline;
}

/* header */
header {
  margin: 0 auto;
  /* background: #0224bb; */
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 60px;
  z-index: 100;
  pointer-events: none;
}
header.container {
  position: relative;
  display: flex;
  align-items: center;
  justify-content: space-between;
}
header nav {
  pointer-events: auto;
}
header nav .nav_toggle {
  display: block;
  position: absolute;
  left: 16px;
  top: 8px;
  font-size: 1.4rem;
  font-weight: bold;
}
header nav .nav_toggle p {
  font-size: 14px;
}
header nav .toggle1 {
  font-size: 20px;
}
header .nav_list {
  position: absolute;
  top: 100%;
  left: 0;
  right: 0;
  z-index: 10;
  background-color: #fffacd;
  visibility: hidden;
  opacity: 0;
  transform: translateY(-100%);
  transition: transform 0.3s ease-out, opacity 0.3s ease-out;
  padding: 10px;
}
header .nav_list.active {
  visibility: visible;
  opacity: 1;
  transform: translateY(0);
  transition: transform 0.3s ease-out, opacity 0.3s ease-out;
}
header .nav_list img.new1 {
  width: 20px;
}
header .nav_item a {
  display: block;
  padding: 5px;
  margin: 5px 0;
  font-size: 1.5rem;
  line-height: 1.1;
  border: #0000cd solid 2px;
  border-radius: 4px;
}
header .nav_item a.to_home {
  border: #cd00cd solid 2px;
}
header .nav_item a.to_2023 {
  border: #00cd00 solid 2px;
}
header .nav_item a:hover {
  background: #fee;
}

/* main */
main {
  background-color: #191970;
  background-image: url(img/bg03h.png);
  /* background-blend-mode: hard-light; */
  background-position: center top;
  background-repeat: repeat-y;
  background-size: 100%;
}
main > section {
  padding: 60px 10px 20px;
  /* padding-bottom: 20px; */
  text-align: center;
  min-height: 100vh;
  max-width: 800px;
  /* background-color: #191970; */
  background-image: url(img/bg02v.png);
  background-blend-mode: hard-light;
  background-position: center center;
  background-repeat: no-repeat space;
  background-size: cover;
  /* padding-top: 100px; */
  margin: 0 auto;
}
main p {
  text-align: left;
  width: 300px;
  margin: 0 auto;
}
main ul, main ol {
  width: 300px;
  list-style-position: inside;
  text-align: left;
  margin: 0 auto;
}
main img {
  width: 300px;
  padding: 8px;
}
/* main img.imgwide {
  width: 600px;
} */
main .container div.fbox {
  display: block;
  /* justify-content: center;
  align-items: center;
  gap: 20px; */
  /* width: calc(100% - 16px); */
}
main .container div.fbox > p {
  text-align: center;
}
main .container div.updates {
  display: flex;
  width: 80%;
  background-color: rgba(200, 255, 255, 0.8);
  font-weight: bold;
  border-radius: 20px;
  padding: 8px;
  margin: 8px auto;
  border: #fff 4px solid;
}
main .container div.updates p {
  padding: 0;
  margin: 0;
  width: 100%;
}
main .container div.updates p.update1 {
  /* background-color: #f00; */
  /* color: #FFF; */
  /* border-radius: 10px; */
  width: 90px;
  text-align: right;
}
main .container p.topro {
  text-align: center;
  background-color: rgba(255, 200, 255, 0.8);
  font-weight: bold;
  border-radius: 20px;
  padding: 8px;
  margin: 8px auto;
}
main #hero {
  background-image: url(img/bg01v.png);
  background-blend-mode: hard-light;
  background-position: center center;
  background-repeat: no-repeat space;
  background-size: cover;
  padding-top: 120px;
}
main #hero p img {
  text-align: center;
  background: #fff;
  border: 2px solid #333;
}
main #hero p img.new1 {
  background: none;
  border: 0;
}
main section > .container {
  background-color: rgba(255, 255, 255, 0.9);
  padding: 8px;
  margin-bottom: 30px;
  width: 100%;
  border-radius: 4px;
}
ul.marker {
  margin-top: 12px;
}
.marker li {
  list-style-type: square;
}
main #stall ul.center, main #raffle ul.center, main p.flyer {
  background-color: rgba(255, 255, 200, 0.8);
  font-weight: bold;
  border-radius: 8px;
  padding: 8px;
  margin: 8px auto;
  text-align: center;
}
main > section#finish {
  min-height: 200px;
  background-image: none;
  position: absolute;
  top: 50px;
  right: 0;
  left: 0;
  z-index: 100;
}
main section#finish > .container {
  background-color: rgba(255, 255, 125, 0.9);
  color: rgb(185, 0, 0);
  font-weight: bold;
}
main section#finish p {
  text-align: center;
  color: #000;
  font-size: 2rem;
}
main section#program li {
  background-color: rgba(255,255,200,0.8);
  border-radius: 8px;
  border: 4px solid rgba(200,200,180,0.8);
  margin-bottom: 4px;
}
main section#program div.sub {
  background-color: rgba(255,200,200,0.8);
  border-radius: 4px;
  font-size: 16px;
  font-weight: bold;
  /* text-decoration: underline; */
}
main section#program li.nolist {
  background-color: transparent;
  border: none;
}

/* footer */
footer {
  margin: 10px auto 15px;
  text-align: center;
}
footer.small {
  font-size: 16px;
  color: #999;
}

/* gotop */
.gotop {
  display: block;
  width: 60px;
  height: 80px;
  padding-top: 10px;
  box-sizing: border-box;
  background: #FFF;
  text-align: center;
  color: #333;
  opacity: 0.7;
  position: fixed;
  bottom: 15px;
  right: 15px;
  z-index: 100;
  border-radius: 30%;
}
.gotop::before {
  content: "";
  position: absolute;
  right: 0;
  left: 0;
  display: block;
  margin: auto;
}
.gotop:hover {
  opacity: 1;
}
.gotop .bi-arrow-up-circle {
  font-size: 40px;
  font-weight: bold;
}
.gotop.off {
  display: none;
}
.gotop p {
  font-size: 14px;
  font-weight: bold;
}

/* extra mini screen*/
@media (max-width: 340px) {
  h1 {
    font-size: 2.4rem;
  }
  h2 {
    font-size: 2.0rem;
  }
  h3 {
    font-size: 1.2rem;
  }
  p, ul, ol {
    font-size: 1.0rem;
  }
  p.small {
    font-size: 0.7rem;
  }
  main p, main ul, main ol, main img {
    width: 200px;
    /* margin: 0; */
  }
  p.minonly iframe {
    width: 200px;
  }
}

/* middle screen */
@media (min-width: 400px) {
  img.new1 {
    width: 30px;
  }
  header .nav_list {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
  }
  header .nav_item a {
    margin: 0;
  }
}

/* large screen */
@media (min-width: 600px) {
  h1 {
    font-size: 3rem;
  }
  h2 {
    font-size: 2.4rem;
  }
  h3 {
    font-size: 1.8rem;
    padding-top: 16px;
    padding-bottom: 8px;
  }
  p, ul, ol {
    margin: 0;
    font-size: 1.2rem;
    line-height: 1.6;
  }
  .minonly {
    display: none;
  }
  .midonly {
    display: block;
  }
  main > section {
    background-image: url(img/bg02h.png);
  }
  main p {
    width: 300px;
  }
  main ul, main ol {
    width: 450px;
  }
  p.midonly iframe {
    width: 220px;
  }
  main img.imgwide {
    width: 560px;
  }
  main #program img,  main #raffle img {
    width: 400px;
    padding: 8px;
  }
  main #program img.new1,  main #raffle img.new1 {
    width: 30px;
    padding: 0;
  }
  main .container div.fbox {
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 20px;
  }
  main .container div.fbox > p {
    margin: 0;
    text-align: right;
  }
  main #hero {
    background-image: url(img/bg01h.png);
    padding-top: 180px;
  }
  main #stall ul.center {
    display: flex;
    justify-content: center;
    flex-wrap: wrap;
    gap: 12px;
    padding: 12px;
  }
  main>section#finish {
    top: 100px;
  }
}

/* large screen2 */
@media (min-width: 700px) {
  p.midonly iframe {
    width: 280px;
  }
}

/* full screen */
@media (min-width: 900px) {
  header nav .nav_list {
    display: flex;
    justify-content: center;
    gap: 6px;
    width: 100%;
  }
  main #hero div.fbox div p.right, main #bonodori div.fbox div p.right {
    text-align: center;
  }
  main p, main ul, main ol {
    width: 450px;
  }
  p.midonly iframe {
    width: 280px;
  }
  main img.imgwide {
    width: 600px;
  }
}