@charset "utf-8";

/* common */
body {
  margin: 0;
  background: #eee;
  font-family: 'Kosugi Maru', sans-serif;
  font-size: 1.2rem;
}
.container {
  width: calc(100% - 32px);
  margin: 0 auto;
  /* max-width: 800px; */
  text-align: center;
  /* border: 2px solid red; */
}
h1, h2, h3 {
  margin: 0;
  padding: 0;
  font-weight: normal;
  line-height: 1;
}
h1 {
  font-size: 2.4rem;
  color: #6b0251;
  font-weight: bold;
}
h2 {
  font-size: 2rem;
  padding-top: 24px;
}
h3 {
  font-size: 1.6rem;
  padding-top: 24px;
}
a {
  text-decoration: none;
  color: inherit;
}
a:hover {
  opacity: 0.5;
}
img {
  vertical-align: bottom;
}
p {
  margin: 0;
  line-height: 1.1;
  text-align: left;
}
ol, ul {
  list-style: none;
  margin: 0;
  padding: 0;
  line-height: 1.1;
}
cite {
  font-size: 1rem;
  vertical-align: middle;
  text-decoration: underline;
}
.animate {
  opacity: 0;
  transform: translateY(40px);
  transition: opacity .3s, transform .3s;
}
.animate.appear {
  opacity: 1;
  transform: none;
}

/* header */
header {
  background-color: #ffff44;
  padding: 10px 0;
  position: fixed;
  top: 0;
  width: 100%;
  z-index: 100;
  transition: background-color .3s, box-shadow .3s;
}
header.scrolled {
  background-color: rgba(255, 255, 90, 0.95);
  box-shadow: 0 0 4px rgba(90, 90, 0, .3);
}
header .container {
  display: flex;
  justify-content: space-between;
  align-items: center;
}
header h1 img {
  width: 240px;
  height: 47px;
}
header #open {
  margin-left: auto;
  opacity: 1;
  pointer-events: auto;
  transition: opacity .6s;
}
header #open i {
  font-size: 32px;
  cursor: pointer;
}
header #open.hide {
  opacity: 0;
  pointer-events: none;
}
header .overlay {
  position: fixed;
  top: 67px;
  bottom: 0;
  right: 0;
  left: 0;
  text-align: center;
  background: rgba(255, 255, 255, 0.95);
  padding: 8px;
  opacity: 0;
  pointer-events: none;
  transition: opacity .6s;
}
header .overlay.show {
  opacity: 1;
  pointer-events: auto;
}
header .overlay #close {
  position: absolute;
  top: -60px;
  right: 12px;
  cursor: pointer;
}
header .overlay #close i {
  font-size: 32px;
}
header .overlay ul {
  list-style-type: none;
  margin: 0;
  padding: 0;
  font-size: 24px;
}
header .overlay li {
  margin-top: 16px;
  line-height: 1.1;
  opacity: 0;
  transform: translateY(16px);
  transition: opacity .3s, transform .3s;
}
header .overlay.show li {
  opacity: 1;
  transform: none;
}
header .overlay.show li:nth-child(1) {
  transition-delay: .1s;
}
header .overlay.show li:nth-child(2) {
  transition-delay: .2s;
}
header .overlay.show li:nth-child(3) {
  transition-delay: .3s;
}
header .overlay.show li:nth-child(4) {
  transition-delay: .4s;
}
/* header .overlay.show li:nth-child(5) {
  transition-delay: .5s;
}
header .overlay.show li:nth-child(6) {
  transition-delay: .6s;
}
header .overlay.show li:nth-child(7) {
  transition-delay: .7s;
}
header .overlay.show li:nth-child(8) {
  transition-delay: .8s;
}
header .overlay.show li:nth-child(9) {
  transition-delay: .9s;
}
header .overlay.show li:nth-child(10) {
  transition-delay: 1.0s;
}
header .overlay.show li:nth-child(11) {
  transition-delay: 1.1s;
}
header .overlay.show li:nth-child(12) {
  transition-delay: 1.2s;
} */
header .overlay li .submenu {
  font-size: 18px;
  background: rgba(253, 252, 174, 0.95);
  border-radius: 8px;
  padding: 8px;
  /* margin: 8px; */
}
header .overlay li .to_home {
  background: #002a9e;
  color: #fff;
  border-radius: 8px;
  padding: 8px;
  line-height: 1.6;
}

/* hero */
#hero {
  background: #7fc7ef url(../img/20230205a-3.jpg) repeat-x center bottom / 400px;
  padding: 91px 0 36px;
  text-align: center;
}
#hero h1 {
  margin-bottom: 16px;
}
#hero p {
  margin-top: 8px;
  text-align: center;
}
#hero img {
  width: 240px;
  background: #ffff44;
  border-radius: 16px;
  padding: 16px;
  margin: 8px;
  animation: poyon 6s infinite;
}
@keyframes poyon {
  0%   { transform: scale(1.0, 1.0) translate(0%, 0%); }
  15%  { transform: scale(0.9, 0.9) translate(0%, 5%); }
  30%  { transform: scale(1.3, 0.8) translate(0%, 10%); }
  50%  { transform: scale(0.8, 1.3) translate(0%, -10%); }
  70%  { transform: scale(1.1, 0.9) translate(0%, 5%); }
  100% { transform: scale(1.0, 1.0) translate(0%, 0%); }
}
/* #hero ol, #hero .container > div {
  text-align: center;
  width: 300px;
  margin: 18px auto;
}
#hero a {
  display: block;
  width: 260px;
  text-align: center;
  padding: 12px;
  border-radius: 20px;
  margin: 8px auto;
  line-height: 1.1;
  font-size: 1.4rem;
  box-shadow: 4px 4px #7a0000;
}
#hero a:active {
  box-shadow: 1px 1px #7a0000;
  transform: translate(3px, 3px);
}
#hero a.aichi {
  background: rgb(255, 100, 28);
  color: #fff;
}
#hero a.btn {
  background: #002a9e;
  color: #fff;
}
#hero .print a {
  background: #009e28;
  color: #fff;
}
#hero a.a1 {
  width: 100%;
  padding: 0;
  border-radius: 0;
  margin: 0;
  line-height: 1;
  box-shadow: none;
}
#hero a.a1:active {
  box-shadow: none;
  transform: translate(0, 0);
} */

/* main */
main {
  margin: 16px auto;
  overflow: hidden;
}
main section.nakaoguchi {
  text-align: center;
  margin-bottom: 40px;
  padding-bottom: 40px;
  background: #7fc7ef;
}
main section img {
  height: 160px;
  max-width: 300px;
  border-radius: 8px;
}
main ol {
  background: rgba(253, 252, 174, 0.7);
  width: 90%;
  padding: 10px;
  margin: 10px auto;
  border-radius: 10px;
}
main ol li {
  padding-bottom: 5px;
}
main ol li:last-child {
  padding-bottom: 0;
}
main p {
  margin-top: 16px;
  line-height: 1.1;
}
main h2 {
  margin-bottom: 16px;
  /* margin-top: 16px; */
}
main section.after {
  text-align: center;
  margin-bottom: 4px;
  padding-top: 24px;
  padding-bottom: 40px;
  background: #ef7faa;
}
main section.after a {
  text-decoration: underline;
}

/* footer */
footer {
  margin-bottom: 36px;
}
footer a {
  display: block;
  font-size: 14px;
  padding-top: 10px;
  text-align: center;
  color: #000;
}
footer small {
  display: block;
  font-size: 10px;
  padding-top: 24px;
  text-align: center;
  color: #aaa;
}

/* up_arrow */
#up_arrow {
  position: fixed;
  bottom: 16px;
  right: 16px;
  opacity: 0;
  transition: opacity .3s;
  font-size: 16px;
  background-color: #6b0251;
  color: #fff;
  border-radius: 8px;
  text-align: center;
  width: 50px;
  height: 50px;
}
#up_arrow.scrolled {
  opacity: 1;
}
#up_arrow i {
  font-size: 32px;
  color: #6b0251;
  background-color: #fff;
  border-radius: 50%;
  border: 0;
  /* padding: -24px;
  margin: -24px; */
}

/* middle screen */
@media (min-width:600px) {
  #hero img#vote2 {
    width: 360px;
    /* height: 106px; */
    padding: 24px;
    margin: 16px;
  }
  main section img {
    height: 240px;
    max-width: 600px;
  }
  main .basic ol {
    width: 480px;
    display: flex;
    flex-flow: row wrap;
    justify-content: space-between;
  }
  main .basic ol li {
    width: 200px;
  }
  br.minonly {
    display: none;
  }
}
/* large screen */
@media (min-width:800px) {
  #hero .container, main .container {
    max-width: 800px;
  }
  #hero img#vote2 {
    width: 400px;
    padding: 48px;
    margin: 24px;
  }
  br.midmin {
    display: none;
  }
}