@charset "utf-8";
*{
  background-color: #333333;
  color: #fff;
}
a, a:hover {
  text-decoration: none;
}
body{
  font-family: "DotGothic16", sans-serif;

}

header{
  text-align: center;
  margin: auto;
}

/* サイドテキスト */
.side-text {
  position: fixed;
  top: 50%;
  right: -30px;

  transform: translateY(-50%) rotate(90deg);
  transform-origin: center;
  background-color: transparent;
  font-size: 14px;
  letter-spacing: 0.2em;
  white-space: nowrap;
  z-index: 1000;
}
.side-text2 {
  position: fixed;
  top: 50%;
  left: -30px;
  background-color: transparent;
  transform: translateY(-50%) rotate(90deg);
  white-space: nowrap;
  letter-spacing: 0.1em;
}


.main_top{
  width: 80%;
  margin: auto;
  margin-top: 5%;
}
.main_img {
  width: 50%;
  position: absolute;
  left: 50%;
  transform: translateX(-50%);
  padding-top: 5%;
  background-color: transparent;
  opacity: 0.8; /* 画像の透明度を50%にする */
    z-index: 2;
}
#typewriter::after {
  content: "|";
  animation: blink 0.7s infinite;
}
@keyframes blink {
  0%, 100% { opacity: 1; }
  50% { opacity: 0; }
}
/* 高さ確保用と表示用で、文字設定を必ず揃える */
#typewriter-space,
#typewriter {
  margin: 0;

  font-family:
    "SFMono-Regular",
    Consolas,
    "Liberation Mono",
    monospace;

  font-size: 15px;
  line-height: 1.7;
  letter-spacing: 0.03em;

  white-space: pre-wrap;
  overflow-wrap: anywhere;

  color: #5b5a5a;
}
/* 全文を配置して高さだけ確保する */
#typewriter-space {
  visibility: hidden;
  pointer-events: none;
  user-select: none;
}
/* 高さ確保用の要素に重ねる */
#typewriter {
  position: absolute;
  inset: 0;
}
.main_poster_back {
  position: relative;
  width: 100%;
}
.main_poster_back p{
  color: #5b5a5a;
}

.hint{
  display: block;
  width: max-content;
  color: #000;
  text-align: center;
  background-color: #ffffff44;
  border: 1px solid #ffffff66;
  padding: 8px 14px;
  margin-left: auto;
  margin-right: 0px;
  border-radius: 10px;
  cursor: pointer;
  font-family: inherit;
  font-size: 16px;
  transition: background-color 0.2s ease, color 0.2s ease;
}
.hint:hover,
.hint:focus-visible {
  color: #333;
  background-color: #fff;
}
.hint:disabled {
  cursor: wait;
  opacity: 0.65;
}

/* Zig WebAssemblyの実行結果 */
.code-dialog {
  width: min(92vw, 850px);
  max-width: none;
  max-height: 90vh;
  padding: 0;
  overflow: hidden;
  border: 1px solid #707070;
  border-radius: 16px;
  background: #333333;
  box-shadow: 0 20px 80px #000c;
}
.code-dialog::backdrop {
  background: #000b;
  backdrop-filter: blur(4px);
}
.code-dialog-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 16px 20px;
  border-bottom: 1px solid #454545;
  background: #333333;
}
.code-dialog-header div,
.code-dialog-header h2,
.code-dialog-header p {
  margin: 0;
  background: transparent;
}
.code-dialog-header h2 {
  font-size: 22px;
  text-align: left;
}
.code-dialog-label {
  color: #d0d0d0;
  font-family: "SFMono-Regular", Consolas, "Liberation Mono", monospace;
  font-size: 11px;
  letter-spacing: 0.14em;
}
.code-dialog-close {
  width: 40px;
  height: 40px;
  border: 0;
  border-radius: 50%;
  color: #fff;
  background: #3d3d3d;
  cursor: pointer;
  font-size: 28px;
  line-height: 1;
}
.code-dialog-close:hover,
.code-dialog-close:focus-visible {
  background: #5a5a5a;
}
.compile-stage,
.output-stage {
  background: #333333;
}
.compile-stage[hidden],
.output-stage[hidden] {
  display: none;
}
.compile-status,
.code-output-status {
  margin: 0;
  padding: 14px 20px;
  color: #fff;
  background: #333333;
  font-family: "SFMono-Regular", Consolas, "Liberation Mono", monospace;
  font-size: 13px;
}
.compile-source {
  box-sizing: border-box;
  width: 100%;
  height: min(48vh, 430px);
  margin: 0;
  padding: 18px 20px;
  overflow: auto;
  color: #fff;
  background: #333333;
  font-family: "SFMono-Regular", Consolas, "Liberation Mono", monospace;
  font-size: 12px;
  line-height: 1.45;
  white-space: pre;
}
.compile-progress {
  height: 3px;
  background: #5a5a5a;
}
.compile-progress span {
  display: block;
  width: 0;
  height: 100%;
  background: #fff;
  transition: width 0.08s linear;
}
.compile-log {
  min-height: 62px;
  margin: 0;
  padding: 12px 20px 16px;
  color: #d0d0d0;
  background: #333333;
  font-family: "SFMono-Regular", Consolas, "Liberation Mono", monospace;
  font-size: 12px;
  line-height: 1.4;
  white-space: pre-wrap;
}
.code-output {
  box-sizing: border-box;
  width: 100%;
  min-height: 380px;
  max-height: calc(90vh - 90px);
  margin: 0;
  padding: 24px;
  overflow: auto;
  color: #fff;
  background: #333333;
  font-family: "SFMono-Regular", Consolas, "Liberation Mono", monospace;
  font-size: clamp(8px, 1.45vw, 14px);
  line-height: 1.15;
  white-space: pre;
}

/* スケジュール */
.schedule top-news{
  color: #912e2e;
  font-size: 10px;
}
.line {
  border: none;
  text-decoration: line-through;
}
main h2{
  font-size: 50px;
  text-align: center;
  margin: auto;
  margin-top: 5%;
  margin-bottom: 5%;
}
.schedule_ul{
  display: flex;
  padding: 0;
}
.schedule_ul li{
  width: 20%;
  list-style: none;
  text-align: center;
  flex: 1;
}
.schedule_ul img{
  width: 30%;
  opacity: 0.5; /* 画像の透明度を50%にする */
  margin-top: 50%;
}
ul.menu li.schedule_li {
  flex: 2;                    /* 真ん中だけ広くする（2倍の幅） */
}
.schedule{
  margin: auto;
  text-align: center;
  margin-top: 5%;
  background-color: #fff;
  border-radius: 10px;
  padding-top: 5%;
  padding-bottom: 10%;
}
.schedule h3{
  font-size: 30px;
  padding-top: 3%;
  background-color: transparent;
  color: #000;
}
.schedule p{
  font-size: 17px;
  background-color: transparent;
  color: #000;
  margin: 0;
}
.schedule a{
  font-size: 17px;
  background-color: transparent;
  color: #000;
}

/* teck laboって何 */
.imi_ul{
  width: 80%;
  display: flex;
  padding: 0;
  margin: auto;
  margin-top: 10%;
  margin-bottom: 10%;
  border-bottom: 2px dashed #fff;
  padding-bottom: 5%;
}
.imi_ul li{
  list-style: none;
  margin: auto;
}
.imi_li h2{
  text-align: left;
  background-color: transparent;
  font-size: 40px;
  margin-top: 10%;
}
.imi_li2 {
  width: 40%;
  background-color: #fff;
  border-radius: 20px;
}
.imi_li2 p{
  color: #000;
  text-align: left;
  background-color: transparent;
  padding: 5% 5%;
}

/* 展示内容 */
.tenji_ul{
  width: 80%;
  display: flex;
  margin: auto;
  margin-bottom: 20%;
  /* border-bottom: 2px dashed #fff;
  padding-bottom: 10%; */
}
.tenji_ul li{
  width: 60%;
  list-style: none;
}
.tenji_li img{
  width: 80%;
}
.tenji_li2 h2{
    text-align: left;
}
.tenji_li2 p{
  margin-top: 5%;
  margin-bottom: 5%;
}
.tenji_li2 a{
  color: #000;
  background-color: #fff;
  border-radius: 10px;
  text-align: center;
  margin-top: 20px;
  padding: 10px 20px;
  font-size: 20px;
}

/* Mimocのこれまで */
.mimoc p{
  width: 60%;
  margin: auto;
  line-height: 40px;
  margin-bottom: 10%;
}

/* FOOTER */
footer{
  margin: auto;
  text-align: center;
  margin-bottom: 4%;
}
.site-menu ul{
  display: flex;
  justify-content: center;
  list-style: none;
  padding: 0;
}
.footer-menu li{
  list-style: none;
  padding: 30px 30px;
  font-size: 20px;
}
.footer img{
  width: 10%;
}


@media (max-width: 768px) {
  /* サイドテキスト */
  .side-text {
    display: none;
  }
  .main_top {
    width: 92%;
  }
  .code-output {
    min-height: 300px;
    padding: 14px;
  }
}
