:root {
  --girl-size: min(45vmin, 500px);
}
* {
  box-sizing: border-box;
}
html {
  font-size: 16px;
}
body {
  font-family: sans-serif;
  background: linear-gradient(to right, #3c2a19, #604328, #3c2a19);
  color: white;
  margin: 0;
}
.slide-bg {
  opacity: 0.5;
  width: 100dvw;
  height: 100dvh;
  position: fixed;
  z-index: -1;
  background-image: url('/2024/img/dungeon-bg.webp');
  background-size: cover;
}
strong {
  color: #47000c;
}
img {
  vertical-align: middle;
}
header {
  display: flex;
  flex-direction: column;
  align-items: stretch;
}
header .main-visual {
  width: 100%;
  height: 400px;
  display: block;
  object-fit: cover;
}
header .event-title {
  background: #ff000033;
  font-size: 200%;
  font-weight: bold;
  padding: 20px 0;
  text-align: center;
}
header .introduction {
  margin: 50px auto;
  background: #ff000022;
  border-radius: 15px;
  padding: 20px;
  text-shadow: 0 0 3px black;
  text-align: center;
  font-size: 120%;
  font-weight: 800;
}
.main-nav {
  color: white;
  padding: 10px 0;
  text-align: center;
  max-width: 1000px;
  margin: 0 auto;
}
.main-nav ul {
  display: grid;
  justify-content: center;
  grid-template-columns: repeat(2, minmax(150px, 1fr));
  gap: 4px;
  padding: 0 10px;
}
@media screen and (width < 1000px) {
  .main-nav ul {
    grid-template-columns: repeat(2, minmax(150px, 1fr));
  }
}
@media screen and (width < 600px) {
  .main-nav ul {
    grid-template-columns: repeat(auto-fit, minmax(150px, 1fr));
  }
}
.main-nav li {
  height: 40px;
  list-style-type: none;
  background: #912323ee;
  border-bottom: 5px solid rgba(104, 25, 25, 0.93333333);
}
.main-nav li:hover {
  background-color: rgba(104, 25, 25, 0.93333333);
}
.main-nav a {
  display: block;
  color: white;
  text-decoration: none;
  padding: 0 10px;
  font-size: 120%;
  line-height: 40px;
  font-weight: bold;
}
.main-nav a.active {
  background-color: rgba(104, 25, 25, 0.93333333);
}
.section-container {
  max-width: 1000px;
  color: black;
  background: #f6cfc0a1;
  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(20px);
  margin: 120px auto;
}
.section-container h2 {
  font-family: ab-yamabiko-b, sans-serif;
  font-style: normal;
  position: sticky;
  z-index: 100;
  font-weight: bold;
  padding: 20px 30px;
  top: 0;
  background-color: #8d1212;
  font-size: 45px;
  line-height: 1;
  display: flex;
  justify-content: center;
  align-items: center;
  border-bottom: 2px solid #6f1616;
}
.section-container h2::after {
  position: absolute;
  z-index: -1;
  left: 0;
  right: 0;
  top: 0;
  bottom: 0;
  content: '';
  background-image: url('/2024/img/dungeon-bg.webp');
  background-size: cover;
  opacity: 0.3;
}
.section-container h2 .gradient-text {
  background: linear-gradient(to bottom, #faff5e 30%, #ca86fd);
  position: relative;
  -webkit-background-clip: text;
  background-clip: text;
  -webkit-text-fill-color: transparent;
}
.section-container section {
  max-width: 1000px;
  margin: 0 auto;
  padding: 0 15px 20px 15px;
  position: relative;
}
.section-container .intro {
  position: relative;
  margin: 30px auto;
  padding: 10px 10px;
  text-align: center;
  border-radius: 30px;
  max-width: 1000px;
  background-color: #302947a7;
  color: white;
  font-weight: bolder;
  font-size: 120%;
}
.section-container .intro a {
  color: inherit;
}
.section-container .logo {
  display: block;
  margin: 0 auto;
  max-width: 400px;
}
.section-container .logo.lg {
  max-width: 90%;
}
.section-container .lead {
  font-size: 120%;
  font-weight: bolder;
}
dl dd {
  padding-left: 3em;
}
dl.abstract {
  display: grid;
  gap: 35px 20px;
  margin: 0;
  grid-template-columns: auto auto;
  justify-content: center;
  font-size: 150%;
}
@media screen and (width < 600px) {
  dl.abstract {
    grid-template-columns: auto;
  }
}
dl.abstract dt {
  min-height: 3em;
  font-weight: bold;
  background: linear-gradient(to bottom, #000000, #c52b8a);
  color: white;
  border-radius: 5px;
  display: flex;
  padding: 0px 20px;
  align-items: center;
  justify-content: center;
}
dl.abstract dd {
  padding: 0;
  margin: 0;
}
.cast .main {
  max-width: 650px;
  margin: 0 auto;
}
.cast .sub {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  gap: 20px;
  justify-content: space-around;
}
.cast .mini {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
  gap: 20px;
  justify-content: space-around;
}
@media screen and (width < 1000px) and (width > 600px) {
  .cast .mini {
    grid-template-columns: repeat(2, minmax(150px, 1fr));
  }
}
.cast .role {
  font-size: 90%;
  text-align: center;
  margin-top: 30px;
}
.cast .name {
  font-family: ab-yamabiko-b, sans-serif;
  font-style: normal;
  background: linear-gradient(to bottom, #3c2a19, #000000);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
  font-weight: bolder;
  font-size: 220%;
  margin-bottom: 10px;
  line-height: 1;
  text-align: center;
}
.cast img.face {
  border-radius: 50%;
  display: block;
  width: 160px;
  height: 160px;
  margin: 15px auto;
  filter: drop-shadow(0 0 10px #00000088);
}
.cast img.face.lg {
  border-radius: 0;
  box-shadow: none;
  width: 100%;
  max-width: 350px;
  height: auto;
}
.cast .comment {
  background-color: rgba(0, 0, 0, 0.7);
  color: white;
  padding: 1em;
  border: 4px double white;
  border-radius: 10px;
}
.cast .desc {
  padding: 0.5em;
}
ul.goods {
  padding: 0;
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  justify-content: space-around;
  gap: 10px;
}
ul.goods li {
  padding: 10px;
  list-style: none;
  border: 1px solid #00000055;
  border-radius: 10px;
  display: grid;
  grid-template-columns: 50% 50%;
  grid-template-areas: 'img img' 'name name' 'desc desc' 'price link';
  gap: 3px;
  align-items: center;
}
ul.goods li img.goods-image {
  grid-area: img;
  width: 100%;
  aspect-ratio: 1/1;
  object-fit: contain;
}
ul.goods li .goods-name {
  grid-area: name;
  text-align: center;
  height: 2lh;
  font-size: 130%;
  font-weight: bold;
}
ul.goods li .goods-desc {
  grid-area: desc;
  text-align: center;
}
ul.goods li .goods-price {
  grid-area: price;
  text-align: left;
}
ul.goods li .goods-link {
  grid-area: link;
  text-align: center;
}
ul.social-links {
  padding: 10px;
  list-style-type: none;
  display: flex;
  flex-flow: row wrap;
  justify-content: center;
  gap: 5px;
}
ul.social-links a {
  height: 28px;
  line-height: 28px;
  font-weight: bold;
  color: white;
  text-decoration: none;
  padding: 0 10px;
  display: block;
  border-radius: 5px;
}
ul.social-links .icon {
  max-width: 20px;
  max-height: 20px;
  margin-right: 5px;
}
ul.social-links a.social-x {
  background: black;
}
ul.social-links a.social-fb {
  background: #1877f2;
}
ul.social-links a.social-line {
  background: #00c300;
}
.twitter-widgets {
  display: flex;
  flex-flow: row wrap;
  justify-content: space-around;
  gap: 10px;
}
.twitter-widgets > div {
  width: 400px;
  max-width: 100%;
}
.twitter-widgets .name {
  font-weight: bold;
}
address {
  font-weight: bold;
  font-style: normal;
  text-align: center;
  margin-top: 3em;
  margin-bottom: var(--girl-size);
}
.corner-form {
  accent-color: purple;
}
.corner-form dl.fields {
  display: grid;
  gap: 15px 10px;
  grid-template-columns: auto 1fr;
}
.corner-form dl.fields dt {
  font-weight: bold;
}
.corner-form dl.fields dd {
  padding: 0;
}
.corner-form input[type='text'],
.corner-form select {
  width: 100%;
  max-width: 500px;
  height: 30px;
  margin: 0;
}
.corner-form input[type='text']::placeholder,
.corner-form select::placeholder {
  color: #8777bb;
}
.corner-form input[type='checkbox'] {
  transform: scale(1.5);
  margin-right: 10px;
}
.corner-form input[type='file'] {
  display: none;
}
.corner-form textarea {
  margin: 0;
  display: block;
  width: 100%;
  min-height: 10em;
  resize: vertical;
}
.corner-form .file-list {
  list-style: none;
  margin: 0;
  padding: 0;
}
.corner-form .file-list li {
  display: flex;
  background: #00000011;
  margin-bottom: 10px;
  padding: 5px;
}
.corner-form .file-list li .file-info {
  flex-grow: 1;
}
.corner-form .buttons {
  display: flex;
  flex-flow: row wrap;
  gap: 10px;
}
.corner-form .hint {
  font-size: 80%;
}
.corner-form .errors {
  border: 1px solid brown;
  color: brown;
}
.corner-form .thankyou {
  padding: 1.5em;
  background-color: #ffff0033;
  border-radius: 5px;
}
.new {
  display: inline-block;
  background: purple;
  color: white;
  padding: 2px 15px;
  border-radius: 15px;
  font-size: 80%;
  font-weight: bold;
  margin-right: 15px;
}
.text-center {
  text-align: center;
}
.btn {
  display: inline-block;
  background-color: #000000;
  color: white;
  text-decoration: none;
  padding: 10px;
  border: 1px solid #000000;
}
.btn:hover {
  background-color: #000000;
}
.btn:active {
  background-color: #000000;
}
.btn[disabled] {
  pointer-events: none;
  opacity: 0.5;
}
.btn.btn-small {
  padding: 4px;
}
.btn.huge {
  font-size: 180%;
  padding: 15px 30px;
}
.alert {
  font-size: 120%;
  color: black;
  max-width: 1000px;
  margin: 30px auto;
  padding: 20px;
  background-color: #88cbff55;
}
.alert.important {
  background-color: #ff888855;
}
.hidden {
  display: none;
}
hr {
  border-top: 3px dotted #77bb77;
  border-bottom: none;
}
fieldset {
  border: none;
  padding: 0;
  margin: 0;
}
