.np-nav {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 1rem;
  margin: 3rem 0;
}

.np-card {
  display: block;
  font-family: "Quicksand", sans-serif;
  padding: 1.2rem 1.4rem;
  border: 0.1em solid #ddd;
  border-radius: 0.5em;
  text-decoration: none;
  color: inherit;
  transition: all 0.2s ease;
  background: #fff;
}

.np-card:hover {
  border-color: #666;
  transform: translateY(-2px);
}

.np-label {
  display: block;
  font-size: 0.75rem;
  letter-spacing: 0.1em;
  color: #888;
  margin-bottom: 0.4rem;
}

.np-title {
  font-size: 1rem;
  font-family: "Quicksand", sans-serif;
  font-weight: 600;
  line-height: 1.4;
}

/* 方向ごとの微調整 */
.np-prev {
  text-align: left;
}

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

.Godot {
  display: flex;
}

.Godot-text {
  background-color: #eaf4fc;
  margin: 0.5em;
  padding: 0.5em;
  border-radius: 1em; 
}
.accordion details {
  border: 1px solid #ddd;
  margin-bottom: 5px;
}

.accordion summary {
  padding: 10px;
  background-color: #f5f5f5;
  cursor: pointer;
}

.accordion .content {
  padding: 10px;
}

.articleBox {
  background-color: #f3f3f3;
  padding: 0.66em;
  border-radius: 0.5em
}

.boxTitle, .boxSection {
  margin: 0;
  padding: 0.2em;
}
/* 旧式 */
section{
  font-family: "Klee One", sans-serif
}

h3, .articleCategory{
  border-bottom: solid 0.1em  #e83929;
  display: inline;
}


h2, .articleScene {
  font-size: 1.8em;
  font-weight: bold;
  color: #333;
  border-top: 3px solid #c9171e;  /* 上に青い線 */
  border-bottom: 3px solid #c9171e;  /* 下に青い線 */
}

/* 新版 */
article img,  article section img, video{
  width: 100%;
  max-width: 100%;
  height: auto;
  margin: 0 0.2em 0 1em;
}
/* 基本スタイル */
main {
  display: flex;
  font-family: "Klee One", sans-serif;
  margin: 0 5em;
  gap: 2em; /* article と aside の間 */
}

/* 背景色で視認性向上 */
article {
  padding: 1em;
  flex: 2;
}

aside {
  padding: 1em;
  flex: 1;
  margin-top: 10em;
}
/* ここから */
main{
  font-family: "Klee One", sans-serif
}

pre {
  border-bottom: solid 0.3em  #e83929;
  border: 0.2em;
}

h1 {
  font-size: 1.8em;
  font-weight: 600;
}

a {
  text-decoration: none;
  color: #9e2a2f;
}

ul li {
  padding-top: 1em;
  padding-bottom: 1em;
}

.Err{
  color: #F08080;
  font-weight: bold;
  background-color: #F5F5F5;
  padding: 2em;
  border-radius: 2em;
}

.me{
   display: flex;
}

.me-img, .chatGPT-img, .Godot-img {
  width: 5vw;
  max-width: 100%;
  height: 5vw;
  margin: 0.5em;
  border-radius: 1em;
}

.me-text {
  background-color: #eaf4fc;
  margin: 0.5em;
  padding: 0.5em;
  border-radius: 1em;
}

.chatGPT{
  display: flex;
}

.chatGPT-text{
  background-color: #fdeff2;
  margin: 0.5em;
  padding:0.5em;
  border-radius: 1em;
}

.articleCategory{
  border-bottom: solid 0.1em  #e83929;
  display: inline;
}


.articleScene {
  font-size: 1.6em;
  font-weight: bold;
  color: #333;
  border-top: 3px solid #c9171e;  /* 上に青い線 */
  border-bottom: 3px solid #c9171e;  /* 下に青い線 */
}

.category {
  font-family: "Klee One", serif;
  font-size: 1.5em;
  text-decoration-line: underline;
}



.section {
  font-size: 1em;
}

.marker-text {
  text-decoration: underline;
}



/* レスポンシブ：700px以下で縦並び */
@media (max-width: 700px) {
  main {
    flex-direction: column;
  }
  aside {
    margin-top: 2em;
  }
}

