@charset "utf-8";

/* common */
body {
  margin: 0;
  background: #fee;
  font-family: 'Kosugi Maru', sans-serif;
  font-size: 1.2rem;
}
.container {
  width: calc(100% - 32px);
  margin: 0 auto;
  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;
}
h2 {
  font-size: 1.6rem;
}
p {
  margin: 0;
  padding: 0;
  line-height: 1.1;
  text-align: left;
}
a {
  text-decoration: underline;
  color: inherit;
}
a:hover {
  opacity: .5;
}
img {
  vertical-align: bottom;
}
ol, ul {
  list-style: none;
  margin: 0;
  padding: 0;
  line-height: 1.1;
}
cite {
  font-size: 1rem;
  text-decoration: underline;
  /* text-align: right;
  display: block; */
}
p.refer {
  font-size: 1rem;
  width: 95%;
  display: flex;
  justify-content: flex-end;
  /* text-align: right; */
  margin-left: auto;
}
p.refer cite {
  flex: 2;
}
.center {
  text-align: center;
}

/* header */
header {
  background-color: rgba(247, 243, 236, 1);
  padding: 10px 0;
  position: fixed;
  top: 0;
  width: 100%;
  z-index: 100;
  transition: background-color .3s, box-shadow .3s;
}
header.scrolled {
  background-color: rgba(247, 243, 236, 0.9);
  box-shadow: 0 0 4px rgba(90, 90, 0, .7);
}
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: 1.4rem;
}
header .overlay li {
  margin-top: 10px;
  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: .15s;
}
header .overlay.show li:nth-child(3) {
  transition-delay: .2s;
}
header .overlay.show li:nth-child(4) {
  transition-delay: .25s;
}
header .overlay.show li:nth-child(5) {
  transition-delay: .3s;
}
header .overlay.show li:nth-child(6) {
  transition-delay: .35s;
}
header .overlay.show li:nth-child(7) {
  transition-delay: .4s;
}
header .overlay.show li:nth-child(8) {
  transition-delay: .45s;
}
header .overlay.show li:nth-child(9) {
  transition-delay: .5s;
}
header .overlay.show li:nth-child(10) {
  transition-delay: .55s;
}
/* header .overlay.show li:nth-child(11) {
  transition-delay: .6s;
}
header .overlay.show li:nth-child(12) {
  transition-delay: .65s;
}
header .overlay.show li:nth-child(13) {
  transition-delay: .7s;
}
header .overlay.show li:nth-child(14) {
  transition-delay: .75s;
} */
header .overlay li ul.beforevote {
  font-size: 1rem;
  display: flex;
  justify-content: center;
  flex-wrap: wrap;
  gap: 4px;
}
header .overlay li ul.beforevote li {
  flex-basis: 48%;
  background: #30eefc;
  border-radius: 8px;
  padding: 2px;
  margin-top: 0;
}
header .overlay li ul.beforevote .to_vote {
  font-size: 0.8rem;
  color: #000;
  line-height: 1;
  padding-top: 4px;
}
header .overlay li ul.beforevote li div {
  display: flex;
  justify-content: center;
  gap: 4px;
}
header .overlay.show li.li_home {
  background: #002a9e;
  border-radius: 8px;
}
header .overlay li .to_home {
  color: #fff;
  padding: 10px;
  line-height: 1.6;
}

/* hero */
#hero {
  background: rgb(247, 243, 236) url(../img/202304a-3.jpg) repeat-x center center / cover;
  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: rgb(247, 243, 236);
  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 cite 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 cite a:active {
  box-shadow: 1px 1px #7a0000;
  transform: translate(3px, 3px);
}
#hero cite a.aichi {
  background: rgb(255, 100, 28);
  color: #fff;
}
#hero cite a.oguchi {
  background: #002a9e;
  color: #fff;
}

/* main */
main {
  margin: 16px auto;
  overflow: hidden;
}
main > section {
  background: rgb(249, 214, 226) url(../img/202304a-4.jpg) repeat-x center center / cover;
  padding: 91px 8px 36px;
  text-align: center;
}
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;
  max-width: 400px;
  list-style: decimal;
  list-style-position: inside;
}
main ol li {
  padding-bottom: 5px;
}
main ol li:last-child {
  padding-bottom: 0;
}
main p {
  margin-top: 16px;
  line-height: 1.1;
}
main #conclusion p:nth-of-type(2) {
  margin-top: 32px;
}
main #result h2 {
  margin-top: 32px;
  font-size: 1.8rem;
}
main #internet2 ul {
  background: rgba(253, 174, 217, 0.7);
  width: 90%;
  padding: 10px;
  margin: 10px auto;
  border-radius: 10px;
  max-width: 400px;
  list-style: disc;
  list-style-position: inside;
  text-align: left;
}
main ul li {
  padding-bottom: 5px;
}
main img {
  margin-top: 16px;
}
/* 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; */
}

/* mini screen */
@media (max-width:300px) {
  body {
    font-size: 1rem;
  }
  h1 {
    font-size: 2rem;
  }
  h2 {
    font-size: 1.2rem;
  }
  header h1 img {
    width: 200px;
    height: 40px;
  }
  header .overlay ul {
    font-size: 1.2rem;
  }
  header .overlay li ul.beforevote {
    gap: 2px;
  }
  header .overlay li ul.beforevote li, header .overlay li .to_home {
    line-height: 1;
    padding: 2px;
  }
  #hero img {
    width: 200px;
    border-radius: 16px;
    padding: 12px;
    margin: 8px;
  }
  #hero cite a {
    width: 200px;
    padding: 12px;
    margin: 8px auto;
    line-height: 1.1;
    font-size: 1.1rem;
  }
  main > section {
    padding: 91px 4px 36px;
  }
  main section img {
    max-width: 240px;
  }
}

/* middle screen */
@media (min-width:600px) {
  body {
    background: rgb(249, 214, 226);
  }
  header .overlay li ul.beforevote li {
    max-width: 300px;
  }
  #hero {
    background: rgb(247, 243, 236) url(../img/202304a-3-1.jpg) no-repeat center center / cover;
  }
  main > section {
    background: rgb(249, 214, 226) url(../img/202304a-4-1.jpg) no-repeat center center / cover;
  }
  #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;
  }
}