@import url('https://fonts.googleapis.com/css2?family=Noto+Sans+JP&family=Prompt&display=swap');
 
body, div,
h1, h2, h3, h4, h5, h6,
p, blockquote, pre, dl, dt, dd, ol, ul, li, hr,
fieldset, form, label, legend, th, td,
article, aside, figure, footer, header, hgroup, menu, nav, section,
summary, hgroup {
  margin: 0;
  padding: 0;
  border: 0;
}

@-webkit-viewport { width: device-width; }
@-moz-viewport { width: device-width; }
@-ms-viewport { width: device-width; }
@-o-viewport { width: device-width; }
@viewport { width: device-width; }

.nav-collapse ul {
  margin: 0;
  padding: 0;
  width: 100%;
  display: block;
  list-style: none;
}

.nav-collapse li {
  width: 100%;
  line-height: 35px;
  display: block;
}

.js .nav-collapse {
  clip: rect(0 0 0 0);
  max-height: 0;
  position: absolute;
  display: block;
  overflow: hidden;
  zoom: 1;
}

.nav-collapse.opened {
  max-height: 9999px;
}

.disable-pointer-events {
  pointer-events: none !important;
}

.nav-toggle {
  -webkit-tap-highlight-color: rgba(0,0,0,0);
  -webkit-touch-callout: none;
  -webkit-user-select: none;
  -moz-user-select: none;
  -ms-user-select: none;
  -o-user-select: none;
  user-select: none;
}

@media screen and (min-width: 40em) {
  .js .nav-collapse {
    position: relative;
  }
  .js .nav-collapse.closed {
    max-height: none;
  }
  .nav-toggle {
    display: none;
  }
}

body {
  -webkit-text-size-adjust: 100%;
  -ms-text-size-adjust: 100%;
  text-size-adjust: 100%;
  color: #444;
  background: #fff;
	font-size: 14px;
	font-family: 'Prompt', sans-serif;
	font-family: 'Noto Sans JP', sans-serif;
}

@media screen and (min-width: 40em) {
  body{
    background-color: #fff100;
  }
}

section {
  border-bottom: 1px solid #999;
  text-align: center;
  padding: 100px 0 0;
  width: 100%;
}

/* 見出し */
h1 {
  position: relative;
  z-index: 1;
  padding: 12px 20px;
  background: #fff100;
  color: #ffffff;
  border: 3px solid #ff00aa; /* ピンク縁取り */
  display: inline-block;
  font-weight: 900;
  margin: 2em 0 1em;
  box-shadow: 0 4px 8px rgba(0,0,0,0.2); /* ぷりっと浮かせる影 */
}

/* テープ部分 */
h1 {
  position: relative;
  z-index: 1;
  padding: 14px 22px;
  background: #fff100;
  color: #ffffff;
  border: 3px solid #fff;
  display: inline-block;
  font-weight: 800;
  margin: 2em 0 1em;
  box-shadow: 0 4px 8px rgba(0,0,0,0.2); /* ぷりっと浮かせる影 */
}

h1::before {
  left: -16px;
  transform: rotate(-6deg);
}

h1::after {
  right: -16px;
  transform: rotate(6deg);
}

h2 {
  background: #00bfff;
  color: #ffffff;
  padding: 10px 18px;
  border-radius: 14px;
  display: inline-block;
  border: 3px solid #fff100;
  font-weight: 700;
  margin: 1.5em 0 0.8em;
}

h3 {
  font-weight: 700;
  font-size: 1.2em;
  border-bottom: 4px solid #0090dd; /* 少し濃い水色に変更 */
  padding-bottom: 4px;              /* 下線との距離を広げる */
  display: inline-block;
  margin: 1.2em 0 0.6em;
}

@media screen and (min-width: 40em) {
    .main{
      position: relative;
      width: 70%;
      margin: auto;
      min-height: 100vh;
      background-color: #fff;
      box-shadow: 0 0 15px gray;
      z-index:0;
    }
  }

p {
  width: 90%;
  margin: 0 auto;
  padding-bottom: 10px;
}

img {
  width: 100%;
  height: auto;
  }

@media screen and (max-width: 90em) {
  .resizeimage img {
    width: 100%;
    }

  .resizebanner img {
    width: auto;
    max-width: 100%;
    height: auto;
  }
}
  
@media screen and (min-width: 40em) {
  img {
  width: auto;
  }
}

a {
	color: #00bfff;
	text-decoration: none;
	transition: .3s;
  }
a:hover {
	color:#5bd6ff;
}
img.link:hover {
	opacity: 0.6;
	transition: .3s;
}
img.illust {
	width: 100px;
	height: 100px;
	object-fit: cover;
  }
img.illust:hover {
	opacity: 0.6;
	transition: .3s;
}
table {
	border: 0;
	margin: 1rem auto;
	text-align: left;
	border-collapse: collapse;
}
th {
	padding: 0.5rem 1.5rem;
	text-align: center;
	border: solid 1px #fff;
	background-color: #f6f7f8;
}
td {
	padding: 0.5rem;
}

.time {
  border-collapse: collapse;
  width: 80%;
  background-color: #fff;
}

.time th, .time td {
  border: 1px solid #000;
  padding: 10px;
  text-align: center;
}

.time th {
  color: #fff;
  background-color: #5bd6ff;
}

.invite {
  border-collapse: collapse;
  width: 80%;
  background-color: #fff;
  text-align: center;
  font-size: 1.5em;
  table-layout: fixed;
  width: 80%;
  margin: 0 auto;
}

.invite td {
  border: 1px solid #5bd6ff;
  width: calc(80% / 3);
  height: 30px;
  padding: 15px;
  transition: background-color 0.5s ease;
}

.invite td:hover {
  background-color: #5bd6ff;
}

header {
  background: #fff;
  position: fixed;
  z-index: 3;
  width: 100%;
  left: 0;
  top: 0;
}

.logo {
  line-height: 20px;
  padding: 10px 0px 0px 20px;
  float: left;
}

.mask {
  -webkit-transition: opacity 300ms;
  -moz-transition: opacity 300ms;
  transition: opacity 300ms;
  background: rgba(0,0,0, .5);
  visibility: hidden;
  position: fixed;
  opacity: 0;
  z-index: 2;
  bottom: 0;
  right: 0;
  left: 0;
  top: 0;
}

.android .mask {
  -webkit-transition: none;
  transition: none;
}

.js-nav-active .mask {
  visibility: visible;
  opacity: 1;
}

@media screen and (min-width: 40em) {
  .mask {
    display: none !important;
    opacity: 0 !important;
  }
}


/* ------------------------------------------
  NAVIGATION STYLES
--------------------------------------------- */

.fixed {
  position: fixed;
  width: 100%;
  left: 0;
  top: 0;
}

.nav-collapse,
.nav-collapse * {
  -webkit-box-sizing: border-box;
  -moz-box-sizing: border-box;
  box-sizing: border-box;
}

.nav-collapse,
.nav-collapse ul {
  list-style: none;
  width: 100%;
  float: left;
}

@media screen and (min-width: 40em) {
  .nav-collapse {
    float: right;
    width: auto;
  }
}

.nav-collapse li {
  float: left;
  width: 100%;
}

@media screen and (min-width: 40em) {
  .nav-collapse li {
    width: auto;
  }
}

.nav-collapse a {
  -webkit-tap-highlight-color: rgba(0,0,0,0);
  border-top: 1px solid #444;
  text-decoration: none;
  background: #fff;
  padding: 0.7em 1em;
  color: #444;
  width: 100%;
  float: left;
}

.nav-collapse a:active,
.nav-collapse .active a {
  background: #eee;
}

@media screen and (min-width: 40em) {
  .nav-collapse a {
    border-left: 1px dashed #ddd;
    padding: 1.02em 2em;
    text-align: center;
    border-top: 0;
    float: left;
    margin: 0;
  }
}

.nav-collapse ul ul a {
  background: #444;
  padding-left: 2em;
}

@media screen and (min-width: 40em) {
  .nav-collapse ul ul a {
    display: none;
  }
}


/* ------------------------------------------
  NAV TOGGLE STYLES
--------------------------------------------- */

@font-face {
  font-family: "responsivenav";
  src:url("../icons/responsivenav.eot");
  src:url("../icons/responsivenav.eot?#iefix") format("embedded-opentype"),
    url("../icons/responsivenav.ttf") format("truetype"),
    url("../icons/responsivenav.woff") format("woff"),
    url("../icons/responsivenav.svg#responsivenav") format("svg");
  font-weight: normal;
  font-style: normal;
}

.nav-toggle {
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  text-decoration: none;
  text-indent: -300px;
  position: relative;
  overflow: hidden;
  width: 60px;
  height: 55px;
  float: right;
}

.nav-toggle:before {
  color: #444; /* Edit this to change the icon color */
  font: normal 28px/55px "responsivenav"; /* Edit font-size (28px) to change the icon size */
  text-transform: none;
  text-align: center;
  position: absolute;
  content: "\2261"; /* Hamburger icon */
  text-indent: 0;
  speak: none;
  width: 100%;
  left: 0;
  top: 0;
}

.nav-toggle.active:before {
  font-size: 24px;
  content: "\78"; /* Close icon */
}

#index,
#i_index {
	margin: 2rem auto 0 auto;
	border-top-style: none;
	border-right-style: none;
	border-bottom-style: none;
	border-left-style: none;
}

#about,
#circle,
#bgm,
#howinvite,
#qanda,
#link,
#mail,
#i_normal,
#i_circle,
#i_cosplay,
#i_itasya,
#i_booth,
#i_bgm,
#i_air,
#i_sponsor,
#i_ad {
	border-top-style: none;
	border-right-style: none;
	border-bottom-style: none;
	border-left-style: none;
}

footer {
	position: relative;
	margin: 5rem auto 0 auto;
	padding-bottom: 1rem;
	text-align: center;
}

.right-align {
  text-align: right;
}

/* FORM */
input[type=text], textarea{
  border:1px solid #f6f7f8;
  padding: 7px;
  margin: 2px 0;
  background: #fff;
  border-radius: 4px;
  outline: none;
  border-radius: 8px;
  transition: 0.3s;
  width: 100%;
  box-sizing: border-box;

}
input[type=text]:focus {
border-color: dodgerBlue;
box-shadow: 0 0 8px 0 #d3edfb;
}
textarea:focus {
border-color: dodgerBlue;
box-shadow: 0 0 8px 0 #d3edfb;
}
.dropdown{
  border:1px solid #777;
  padding: 7px;
  background: #fff;
  border-radius: 3px;
}
input[type=radio], input[type=checkbox] {
display: none;
}
.radio, .checkbox {
box-sizing: border-box;
-webkit-transition: background-color 0.2s linear;
transition: background-color 0.2s linear;
position: relative;
display: inline-block;
margin: 2px 5px 2px 0;
padding: 6px 15px 6px 35px;
border-radius: 8px;
background-color: #f6f7f8;
vertical-align: middle;
cursor: pointer;
}
.radio:hover, .checkbox:hover {
background-color: #d3edfb;
}
.radio:hover:after, .checkbox:hover:after {
border-color: #00bfff;
}
.radio:after, .checkbox:after {
-webkit-transition: border-color 0.2s linear;
transition: border-color 0.2s linear;
position: absolute;
top: 50%;
left: 15px;
display: block;
margin-top: -10px;
width: 16px;
height: 16px;
border: 2px solid #bbb;
border-radius: 6px;
content: '';
}
.radio:before {
-webkit-transition: opacity 0.2s linear;
transition: opacity 0.2s linear;
position: absolute;
top: 50%;
left: 21px;
display: block;
margin-top: -5px;
width: 7px;
height: 7px;
border-radius: 50%;
background-color: #00bfff;
content: '';
opacity: 0;
}
input[type=radio]:checked + .radio:before {
opacity: 1;
}
.checkbox:before {
-webkit-transition: opacity 0.2s linear;
transition: opacity 0.2s linear;
position: absolute;
top: 50%;
left: 21px;
display: block;
margin-top: -7px;
width: 5px;
height: 9px;
border-right: 3px solid #53b300;
border-bottom: 3px solid #53b300;
content: '';
opacity: 0;
-webkit-transform: rotate(45deg);
-ms-transform: rotate(45deg);
transform: rotate(45deg);
}
input[type=checkbox]:checked + .checkbox:before {
opacity: 1;
}
.save {
position: relative;
text-align: center;
display: inline-block;
margin: 1rem auto;
width: 100%;
max-width: 200px;
box-sizing: border-box;
padding: 10px;
background: linear-gradient(135deg, #f6f7f8,  #00bfff);
color: #fff;
font-weight: bold;
border-radius: 8px;
transition: 0.3s;
border: 2px solid #00bfff;
background: #fff;
color: #00bfff;
}
.saveclick:hover {
background: #00bfff;
color: #fff;
}
.save.border:active, .saveclick:focus {
top: 2px;
}

/* PAGETOP BUTTON */
/* 親：登場・退場だけ */
#pagetop {
  position: fixed;
  bottom: 30px;
  right: 30px;
  width: 55px;
  height: 55px;
  border-radius: 50%;
  background: #fff100;
  color: #ff00aa;
  border: 3px solid #ff00aa;
  cursor: pointer;
  font-size: 22px;
  font-weight: bold;
  opacity: 0;
  pointer-events: none;
  transform: scale(0.6);
  transition: box-shadow 0.25s ease;
  z-index: 9999;

  box-shadow:
    0 3px 0 #ff00aa,
    0 6px 12px rgba(0,0,0,0.2);
}

/* ✅ 子：HTMLを変えずに作る */
#pagetop > * {
  display: inline-block;
  transform: scale(1);
}

/* ✅ 登場 */
@keyframes purunIn {
  0%   { transform: scale(0.6); opacity: 0; }
  40%  { transform: scale(1.15, 0.85); opacity: 1; }
  60%  { transform: scale(0.9, 1.1); }
  80%  { transform: scale(1.05, 0.95); }
  100% { transform: scale(1); opacity: 1; }
}

#pagetop.show {
  pointer-events: auto;
  animation: purunIn 0.45s cubic-bezier(.34,1.56,.64,1) forwards;
}

/* ✅ 退場 */
@keyframes purunOut {
  0%   { transform: scale(1); opacity: 1; }
  20%  { transform: scale(1.1, 0.9); }
  40%  { transform: scale(0.85, 1.15); }
  60%  { transform: scale(1.05, 0.95); opacity: 0.6; }
  100% { transform: scale(0.6); opacity: 0; }
}

#pagetop.hide {
  pointer-events: none;
  animation: purunOut 0.45s cubic-bezier(.34,1.56,.64,1) forwards;
}

/* ✅ hover：子だけぷるぷる */
@keyframes purupuru {
  0%   { transform: scale(1); }
  20%  { transform: scale(1.12, 0.88); }
  40%  { transform: scale(0.92, 1.08); }
  60%  { transform: scale(1.06, 0.94); }
  80%  { transform: scale(0.98, 1.02); }
  100% { transform: scale(1); }
}

#pagetop:hover > * {
  animation: purupuru 0.5s ease-out;
}

/* ✅ click：子だけぽよん */
@keyframes poyon {
  0%   { transform: scale(1); }
  30%  { transform: scale(0.85, 1.15); }
  60%  { transform: scale(1.15, 0.85); }
  100% { transform: scale(1); }
}

#pagetop:active > * {
  animation: poyon 0.35s cubic-bezier(.34,1.56,.64,1);
}
